PageSourceSearch

https://www.vakkorama.com.tr/chunk-5XIKFTK3.js

js vakkorama.com.tr collected 2026-10-02 06:32:33 UTC 137,209 bytes, 12 lines download raw bytes

1import{a as ei,b as ti,c as ii}from"./chunk-W763ZAE3.js";import{a as ai}from"./chunk-SYO4YYDX.js";import{a as Ue,b as oi,c as ni}from"./chunk-XBNMLUQD.js";import{a as ri}from"./chunk-UUQWN7J4.js";import"./chunk-LN6MHNJN.js";import{d as Qt}from"./chunk-RF444A5G.js";import"./chunk-BT2BRYYU.js";import"./chunk-TKHPH6B2.js";import{a as Wt,b as qt}from"./chunk-HKU7QKUA.js";import"./chunk-ZRLW2RIS.js";import{a as Kt}from"./chunk-HB7KYS3U.js";import{a as Yt}from"./chunk-2GKVV6NE.js";import{e as Jt,f as Zt,g as Xt}from"./chunk-FCMTCDZC.js";import{a as ue,b as J}from"./chunk-PZWY7MR4.js";import{a as pe,b as me,c as K}from"./chunk-JZ3YYJIZ.js";import"./chunk-FAVG5PFZ.js";import"./chunk-RM5GSZI4.js";import{a as Ut}from"./chunk-I576T7DW.js";import{a as He}from"./chunk-KHEIZUAA.js";import"./chunk-HH2SYA2G.js";import{a as Gt}from"./chunk-3NCZZH5L.js";import"./chunk-EDBIAHVQ.js";import{e as At,g as Nt}from"./chunk-H4DJTTF3.js";import"./chunk-EIV6CLCN.js";import"./chunk-N3PTESFL.js";import"./chunk-BUJ7RQUZ.js";import"./chunk-V7BBMD3D.js";import{a as $t}from"./chunk-C4TG3BG4.js";import"./chunk-R2YBHMET.js";import{a as Ht}from"./chunk-PA4ZDJV4.js";import"./chunk-GO3KC6FP.js";import{a as ve,b as Ne,c as ne}from"./chunk-AEYSCNDJ.js";import{a as A}from"./chunk-E4LDUML6.js";import{Qb as Bt,S as R,Tb as jt}from"./chunk-UDDPE4LS.js";import"./chunk-FNFVYMMC.js";import{Aa as It,Ac as Be,Da as Et,Fc as je,Ma as Ft,Mb as Re,Oc as $,Pb as Rt,U as Fe,ba as se,fd as Ae,i as Mt,kb as Lt,m as Tt,oa as Q,q as Ie,ua as Le,v as de,w as Ee}from"./chunk-6H524ULK.js";import{n as Dt,u as ce,z as Te}from"./chunk-OYOQLOER.js";import{$ as Pe,Ac as V,Ad as h,Bc as _,Bd as zt,Ca as Ct,Cc as a,Db as D,Dc as l,Ec as u,Fb as E,G as Se,Ga as ut,Ha as L,Jb as n,Jd as Ot,K as we,Lc as C,Qa as b,Qc as v,Ra as y,Sa as xt,Sc as c,Ud as U,Va as St,Vb as le,W as T,Wb as g,Wc as oe,Xc as Y,Ya as wt,Yc as q,a as ee,ac as x,ad as Pt,bb as ie,cd as z,d as ae,e as kt,ea as bt,ed as gt,fc as G,fd as m,gb as Ve,gd as re,hd as k,id as Oe,jd as Vt,nd as I,od as ke,pd as De,sc as ze,ta as te,td as j,uc as d,ud as Me,va as yt,vc as he,w as vt,wc as s,yc as O,zc as P,zd as f}from"./chunk-DOGFQUBQ.js";import{a as _e}from"./chunk-2GKL4NPU.js";var mi=["mainCarousel"],ui=["galleryThumbs"];function gi(t,i){if(t&1){let e=C();a(0,"button",12),v("click",function(){b(e);let r=c(4);return y(r.galleryChangeSlide("prev"))}),l()}t&2&&_("disabled",!0)}function fi(t,i){if(t&1){let e=C();a(0,"div",13),v("click",function(){let r=b(e).$index,p=c(4);return y(p.galleryChangeSlide("",r))}),a(1,"picture"),u(2,"source",14)(3,"source",15)(4,"img",16),l()()}if(t&2){let e=i.$implicit,o=i.$index,r=c(4);z("active",o===r.galleryActiveIndex),n(2),_("srcset",r.generateThumbnailsImageUrl(e,"productGalleryThumbnail",o)+" 1x, "+r.generateThumbnailsImageUrl(e,"productGalleryThumbnailRetina",o)+" 2x"),n(),_("srcset",r.generateThumbnailsImageUrl(e,"productGalleryThumbnail",o)+" 1x, "+r.generateThumbnailsImageUrl(e,"productGalleryThumbnailRetina",o)+" 2x"),n(),_("src",I(r.generateThumbnailsImageUrl(e,"productGalleryThumbnail",o)),E)("alt",ke("Vakkorama gallery thumbnail - ",o+1))}}function _i(t,i){if(t&1){let e=C();a(0,"button",17),v("click",function(){b(e);let r=c(4);return y(r.galleryChangeSlide("next"))}),l()}}function hi(t,i){if(t&1&&(a(0,"div",7,0),d(2,gi,1,1,"button",8),a(3,"div",9),P(4,fi,5,8,"div",10,O),l(),d(6,_i,1,0,"button",11),l()),t&2){let e=c(3);n(2),s(e.galleryImages.length>e.galleryThumbsPerView?2:-1),n(2),V(e.galleryImages),n(2),s(e.galleryImages.length>e.galleryThumbsPerView?6:-1)}}function ki(t,i){if(t&1&&(a(0,"div",3),d(1,hi,7,2,"div",7),l()),t&2){let e=c(2);n(),s(e.galleryImages.length?1:-1)}}function vi(t,i){if(t&1){let e=C();a(0,"button",19),v("click",function(){b(e);let r=c(3);return y(r.startAR())}),u(1,"img",20),l()}}function bi(t,i){if(t&1){let e=C();a(0,"button",19),v("click",function(){b(e);let r=c(3);return y(r.startVTO())}),u(1,"img",21),l()}}function yi(t,i){if(t&1&&(a(0,"div",5),d(1,vi,2,0,"button",18),d(2,bi,2,0,"button",18),l()),t&2){let e=c(2);n(),s(e.displayAR?1:-1),n(),s(e.displayVTO?2:-1)}}function Ci(t,i){if(t&1&&u(0,"vakkorama-swiper",6,1),t&2){let e=c(2);_("id","r-"+e.productData.code)("selector","swiper")("type","gallery")("template","productDetailSwiper")("imageFormat","product")("selector2","s-"+e.productData.code)("swiperParams",e.swiperParameters)("badges",e.productData==null?null:e.productData.badges)("galleryImages",e.galleryImages)("zoomClass","red-zoom--style--overlay")("zoomUrl","fill")("productName",e.productData==null?null:e.productData.name)("productC
1ode",e.productData==null?null:e.productData.code)("similarProduct",e.hasSimilarReference(e.productData))}}function xi(t,i){if(t&1&&m(0),t&2){let e=c(2);k(" ",e.initGtm(e.productData)," ")}}function Si(t,i){if(t&1&&(a(0,"div",2),d(1,ki,2,1,"div",3),a(2,"div",4),d(3,yi,3,2,"div",5),d(4,Ci,2,14,"vakkorama-swiper",6),l()(),d(5,xi,1,1)),t&2){let e=c();n(),s(e.isMobile?-1:1),n(2),s(e.displayAR||e.displayVTO?3:-1),n(),s(e.galleryImages.length?4:-1),n(),s(e.gtmPushed?-1:5)}}var $e=class t extends Bt{constructor(e,o,r,p,S,w,W){super(e);this.events=o;this.renderer2=r;this.platform=p;this.windowRef=S;this.changeDetectorRef=w;this.ngMeta=W;this.isMobile=(this.windowRef.nativeWindow?.window?.innerWidth??0)<=768}events;renderer2;platform;windowRef;changeDetectorRef;ngMeta;productData;isMobile=!1;mainCarousel;galleryThumbs;gtmPushed=!1;product$=this.currentProductService.getProduct().pipe(we(Le),Pe(),yt(e=>{this.mainMediaContainer.next(e.images&&e.images.PRIMARY?e.images.PRIMARY:{})}));productImages$=this.product$.pipe(vt(e=>this.createImages(e)));galleryImages=[];imagesSubscription=new ee;galleryActiveIndex=0;galleryThumbsPerView=5;displayAR=!1;displayVTO=!1;swiperParameters={slidesPerView:1,centeredSlides:!0,loop:!0,allowTouchMove:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{768:{pagination:{enabled:!1}}}};initGtm(e){this.events.dispatch(this.createEmptyViewItemEvent()),this.events.dispatch(this.createViewItemEvent(e)),e.showFlixMedia&&this.pushFlixmediaEvent(),this.gtmPushed=!0}createViewItemEvent(e){let o=new Nt,r=[];if(e){o.event="view_item",o.currency="TRY",o.value=Number((Math.round(e.price?.value*100)/100).toFixed(2));let p=["","","","",""],S="Hay\u0131r";e.categories&&e.categories.length>0&&e?.categories?.forEach((w,W)=>{W<5&&w?.name&&(p[W]=w.name.toString().toUpperCase())}),e.variantOptions&&e.variantOptions.length>0&&e.variantOptions.forEach(w=>{w.stock.stockLevelStatus!=="outOfStock"&&(S="Evet")}),r.push({item_id:e.productsCodes?.id,item_brand:e.brand,item_name:e.name,item_category:p[0],item_category2:p[1],item_category3:p[2],item_category4:p[3],item_category5:p[4],item_variant:e.style,price:Number((Math.round(e.price?.value*100)/100).toFixed(2)),item_firstprice:e.firstStrikePrice&&e.firstStrikePrice.value>0?Number((Math.round(e.firstStrikePrice?.value*100)/100).toFixed(2)):void 0,item_sale:e.firstStrikePrice||e.secondStrikePrice?"Evet":"Hay\u0131r",item_season:e?.activeYearSeason,item_sku:e.productsCodes?.sku[0],item_size:"",item_stock:S,item_imagetype:ne("zoom",e.images.PRIMARY.product.url),item_colorID:e.productsCodes?.colorId,quantity:1,item_styleID:e.productsCodes?.styleId,item_colorName:e.productsCodes?.colorName?.toString().toUpperCase(),item_groupName:e?.materialGroupDetail?e?.materialGroupDetail:"",item_lifestyle:e?.lifestyle?e?.lifestyle:""})}return o.ecommerce={items:r},o}createEmptyViewItemEvent(){let e=new At;return e.ecommerce=null,e}pushFlixmediaEvent(){let e=this.windowRef.nativeWindow?.dataLayer;e&&Array.isArray(e)&&e.push({event:"flixmedia_pdp"})}hasSimilarReference(e){return e.referenceTypes?.some(o=>o.type==="SIMILAR")??!1}fillImages(e){let o=[];e.forEach(function(r){o.push(r.product.url)}),this.galleryImages=o,this.galleryImages.length&&this.#e(this.galleryImages[0]),this.changeDetectorRef.detectChanges()}createImages(e){return this.galleryImages=[],this.changeDetectorRef.detectChanges(),!e.images||!e.images[se.GALLERY]?[]:e.images[se.GALLERY]}generateThumbnailsImageUrl(e,o,r){return ne(o,e)}#e(e){this.ngMeta.updateTag({property:"og:image",content:ne("product",e)}),this.ngMeta.updateTag({property:"og:image:width",content:ve.mediaFormats?ve.mediaFormats.product.width:""}),this.ngMeta.updateTag({property:"og:image:height",content:ve.mediaFormats?ve.mediaFormats.product.height:""})}galleryChangeSlide(e,o=-1){o>-1?(this.mainCarousel.swiper.slideToLoop(o),this.galleryActiveIndex=o):e==="next"?this.mainCarousel.swiper.slideNext():e==="prev"&&this.mainCarousel.swiper.slidePrev()}initGalleryThumbs(){if(this.galleryImages.length>this.galleryThumbsPerView){let e=this.galleryThumbs.nativeElement,o=e?.querySelector(".gallery-slider-thumbs-wrapper"),r=e?.querySelectorAll(".gallery-slider-thumbs-item");this.renderer2.setStyle(o,"max-height",(r[0].clientHeight+20)*this.galleryThumbsPerView+"px")}}renderGalleryThumbs(){let e=this.galleryThumbs.nativeElement,o=e?.querySelector(".gallery-slider-thumbs-wrapper"),r=e?.querySelectorAll(".gallery-slider-thumbs-item"),p=e.querySelector(".gallery-slider-thumbs-prev"),S=e.querySelector(".gallery-slider-thumbs-prev");r?.forEach(w=>{this.renderer2.removeClass(w,"active")}),r[this.galleryActiveIndex]&&this.renderer2.addClass(r[this.galleryActiveIndex],"active"),o?.scrollTo({top:this.galleryActiveIndex===0?0:r[this.galleryActiveIndex]?.getBoundingClientRect().top,behavior:"smooth"}),this.galleryActiveIndex===0?p?.setAttribute("disabled","disabled"):p?.removeAttribute("disabled"),this.galleryActiveIndex===this.mainCarousel.swiper.slides.length-1?S?.setAttribute("disabled","disabled"):S?.removeAttribute("disabled")}startAR(){window.meshkraftAR.startAR(this.productData?.materialCode)}startVTO(){window.meshkraftVTO.startVTO(this.productData?.materialCode)}ngOnInit(){this.imagesSubscription=this.productImages$.subscribe(o=>this.fillImages(o));let e="";if(this.platform.ANDROID?e="android":this.platform.IOS&&(e="ios"),this.productData?.arVtoDeviceType&&this.productData?.arVtoSupportType&&(this.productData?.arVtoDeviceType==="all"||this.productData?.arVtoDeviceType===e||!e))switch(this.productData?.arVtoSupportType){case"ar":case"vto-on-ar":this.displayAR=!0;break;case"vto":this.displayVTO=!0;break;case"ar-vto":this.displayAR=!0,this.displayVTO=!0;break}if(this.displayAR){let o=this.windowRef.document.createElement("script");
1o.setAttribute("src","https://unpkg.com/meshkraft-viewer/dist/meshkraft-ar.min.js"),o.setAttribute("type","module"),o.setAttribute("data-meshkraft-key",A.meshkraftKey),this.windowRef.document.head.appendChild(o),o.addEventListener("load",r=>{window?.meshkraftAR?.init({token:A.meshkraftKey,config:{showBanner:!1}})})}if(this.displayVTO){let o=this.windowRef.document.createElement("script");o.setAttribute("src","https://unpkg.com/meshkraft-vto/dist/index.min.js"),o.setAttribute("type","module"),o.setAttribute("data-meshkraft-key",A.meshkraftKey),this.windowRef.document.head.appendChild(o),o.addEventListener("load",r=>{window?.meshkraftVTO?.init({token:A.meshkraftKey,config:{showAction:!1}})})}this.changeDetectorRef.detectChanges()}ngAfterViewInit(){this.isMobile||(this.initGalleryThumbs(),this.mainCarousel.swiper.on("realIndexChange",e=>{this.galleryActiveIndex=e.realIndex,this.renderGalleryThumbs()}))}ngOnChanges(e){for(let o in e)e[o].firstChange||(this.events.dispatch(this.createViewItemEvent(e[o].currentValue)),o==="productData"&&e[o].currentValue?.showFlixMedia&&this.pushFlixmediaEvent())}ngOnDestroy(){this.imagesSubscription&&this.imagesSubscription.unsubscribe()}static \u0275fac=function(o){return new(o||t)(g(R),g(Ft),g(le),g($t),g(Q),g(U),g(Tt))};static \u0275cmp=x({type:t,selectors:[["r-product-images"]],viewQuery:function(o,r){if(o&1&&oe(mi,5)(ui,5),o&2){let p;Y(p=q())&&(r.mainCarousel=p.first),Y(p=q())&&(r.galleryThumbs=p.first)}},inputs:{productData:"productData"},standalone:!1,features:[G,Ve],decls:1,vars:1,consts:[["galleryThumbs",""],["mainCarousel",""],[1,"row","product-image-container"],[1,"col-md-2"],[1,"col-md-10","col-sm-12","ml-0","px-0","product-image-wrapper"],[1,"ar-button-container"],[3,"id","selector","type","template","imageFormat","selector2","swiperParams","badges","galleryImages","zoomClass","zoomUrl","productName","productCode","similarProduct"],[1,"gallery-slider-thumbs"],["type","button",1,"gallery-slider-thumbs-prev","pz-icon-chevron-up",3,"disabled"],[1,"gallery-slider-thumbs-wrapper"],[1,"gallery-slider-thumbs-item",3,"active"],["type","button",1,"gallery-slider-thumbs-next","pz-icon-chevron-down"],["type","button",1,"gallery-slider-thumbs-prev","pz-icon-chevron-up",3,"click","disabled"],[1,"gallery-slider-thumbs-item",3,"click"],["media","(min-width:768px)",3,"srcset"],["media","(max-width:767px)",3,"srcset"],["loading","lazy",3,"src","alt"],["type","button",1,"gallery-slider-thumbs-next","pz-icon-chevron-down",3,"click"],["type","button"],["type","button",3,"click"],["src","/assets/img/3d.svg","alt","Vakkorama 3D"],["src","/assets/img/try-on.svg","alt","Vakkorama Virtual Try on"]],template:function(o,r){o&1&&d(0,Si,6,4),o&2&&s(r.productData?0:-1)},dependencies:[Xt],styles:[`@keyframes red-zoom-loader-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.red-zoom{pointer-events:none}.red-zoom__overlay,.red-zoom__error{position:absolute;left:var(--red-zoom-thumb-x, 0px);top:var(--red-zoom-thumb-y, 0px);width:var(--red-zoom-thumb-w, 0px);height:var(--red-zoom-thumb-h, 0px)}.red-zoom__lens{display:flex}.red-zoom__lens-body{position:relative;overflow:hidden;flex-grow:1}.red-zoom__lens-image{--red-zoom-lens-image-x: calc( var(--red-zoom-lens-image-base-x, 0px) + var(--red-zoom-lens-image-center-offset-x, 0px) );--red-zoom-lens-image-y: calc( var(--red-zoom-lens-image-base-y, 0px) + var(--red-zoom-lens-image-center-offset-y, 0px) );position:absolute;transform:translate(var(--red-zoom-lens-image-x)) translateY(var(--red-zoom-lens-image-y)) translateZ(0)}.red-zoom__frame{position:absolute;top:0;left:0;width:var(--red-zoom-frame-w, 0px);height:var(--red-zoom-frame-h, 0px);transform:translate(var(--red-zoom-frame-x, 0px)) translateY(var(--red-zoom-frame-y, 0px))}.red-zoom__frame-body{width:100%;height:100%;overflow:hidden}.red-zoom__frame-image{width:var(--red-zoom-thumb-w, 0px);height:var(--red-zoom-thumb-h, 0px);transform:translate(var(--red-zoom-frame-image-x, 0px)) translateY(var(--red-zoom-frame-image-y, 0px)) translateZ(0)}.red-zoom--style--overlay{visibility:hidden;transition:visibility 0s .5s}.red-zoom--style--overlay .red-zoom__overlay{opacity:0;transition:opacity .5s;z-index:1;background:#ffffff4d}.red-zoom--style--overlay .red-zoom__overlay:before{position:relative;display:block;content:"";border-width:2px;border-style:solid;border-color:#fff3;border-top-color:#fff;left:calc(50% - 20px);top:calc(50% - 20px);width:40px;height:40px;border-radius:100%;animation-name:red-zoom-loader-animation;animation-duration:.5s;animation-timing-function:linear;animation-iteration-count:infinite;animation-play-state:paused;opacity:0}
1.red-zoom--style--overlay .red-zoom__frame{display:none}.red-zoom--style--overlay .red-zoom__lens{position:absolute;left:var(--red-zoom-thumb-x);top:var(--red-zoom-thumb-y);width:var(--red-zoom-thumb-w);height:var(--red-zoom-thumb-h);overflow:hidden;z-index:1;opacity:0;transition:opacity .5s}.red-zoom--style--overlay .red-zoom__error{display:flex;justify-content:center;align-items:center;color:#fff;padding:32px;visibility:hidden;z-index:1;opacity:0;transition:visibility 0s .5s,opacity .5s}.red-zoom--style--overlay.red-zoom--status--error .red-zoom__frame,.red-zoom--style--overlay.red-zoom--status--error .red-zoom__lens{position:absolute;left:0;top:0;width:0;height:0;display:none}.red-zoom--style--overlay.red-zoom--status--error .red-zoom__overlay{background:#ff0000b3}.red-zoom--style--overlay.red-zoom--active{transition-delay:0s;visibility:visible}.red-zoom--style--overlay.red-zoom--active .red-zoom__overlay{opacity:1}.red-zoom--style--overlay.red-zoom--active.red-zoom--status--loading .red-zoom__overlay:before{opacity:1;animation-play-state:running}.red-zoom--style--overlay.red-zoom--active.red-zoom--status--loaded .red-zoom__lens,.red-zoom--style--overlay.red-zoom--active.red-zoom--status--loaded .red-zoom__frame{opacity:1}.red-zoom--style--overlay.red-zoom--active.red-zoom--status--error .red-zoom__error{visibility:visible;transition-delay:0s;opacity:1}.red-zoom--style--overlay.red-zoom--disabled{transition-delay:0s;visibility:hidden}.red-zoom--style--overlay.red-zoom--disabled .red-zoom__overlay,.red-zoom--style--overlay.red-zoom--disabled .red-zoom__frame,.red-zoom--style--overlay.red-zoom--disabled .red-zoom__lens,.red-zoom--style--overlay.red-zoom--disabled .red-zoom__error{transition-duration:0s!important;opacity:0!important}r-product-images{position:relative}r-product-images .product-image-wrapper{position:relative}r-product-images .product-image-wrapper .ar-button-container{display:flex;flex-direction:column;gap:35px;padding:13px;position:absolute;top:0;right:0;z-index:2}r-product-images .product-image-wrapper .ar-button-container button{padding:0;width:56px;background-color:transparent;border:none;outline:none;cursor:pointer}r-product-images .product-image-wrapper .ar-button-container button img{width:56px}r-product-images .gallery-slider-thumbs{position:relative;width:77px;text-align:center}r-product-images .gallery-slider-thumbs-wrapper{width:100%;overflow:hidden}r-product-images .gallery-slider-thumbs-item{width:100%;height:114px;border:2px solid transparent;cursor:pointer}r-product-images .gallery-slider-thumbs-item:nth-child(n+2){margin-top:20px}r-product-images .gallery-slider-thumbs-item.active{border-color:#5e22ee}r-product-images .gallery-slider-thumbs-item img{width:73px;height:110px}r-product-images .gallery-slider-thumbs-prev,r-product-images .gallery-slider-thumbs-next{left:50%;line-height:2.25rem;font-size:1.75rem;font-weight:600;color:#000;background-color:transparent;border:none;outline:none;cursor:pointer}r-product-images .gallery-slider-thumbs-prev:disabled,r-product-images .gallery-slider-thumbs-next:disabled{opacity:.5}r-product-images .product-image-container{padding-right:1.5rem}r-product-images .productDetailSwiper swiper-slide.srfv{min-height:550px}r-product-images .productDetailSwiper swiper-slide img:not(.product-badge){width:100%!important;height:auto!important}r-product-images .productDetailSwiper swiper-slide .similar-product-process .similar-product-icon{width:10px!important}r-product-images .productDetailSwiper swiper-slide .video-js{width:100%!important;height:auto!important}r-product-images .productDetailSwiper swiper-slide .video-js video{width:100%!important;height:auto!important;object-fit:contain!important}r-product-images .productDetailSwiper .swiper-button-prev:after,r-product-images .productDetailSwiper .swiper-button-next:after{line-height:2.25rem;font-size:1.75rem;color:#c8cdd1}.pdp-padding{padding-right:20px;padding-left:20px}@media(max-width:767.98px){r-product-images{margin-bottom:30px}r-product-images .product-image-container{padding-right:0}r-product-images .product-image-container .product-image-wrapper .ar-button-container button{width:40px}r-product-images .product-image-container .product-image-wrapper .ar-button-container button img{width:40px}r-product-images .productDetailSwiper{padding-bottom:1.5rem;padding-right:0!important}r-product-images .productDetailSwiper .swiper-wrapper{gap:0}r-product-images .productDetailSwiper swiper-slide:nth-child(1),r-product-images .productDetailSwiper swiper-slide:nth-child(2){width:100%!important}r-product-images .productDetailSwiper swiper-slide:nth-child(n+3){width:100%!important}r-product-images .productDetailSwiper swiper-slide{gap:0;width:100%}r-product-images .productDetailSwiper swiper-slide img:not(.product-badge){width:100%!important;height:auto!important;cursor:crosshair!important}r-product-images .productDetailSwiper swiper-slide img:hover{cursor:crosshair}r-product-images .productDetailSwiper swiper-slide:hover{cursor:crosshair}r-product-images .productDetailSwiper .swiper-pagination{top:unset;bottom:0}r-product-images .productDetailSwiper .swiper-pagination .swiper-pagination-bullet{margin:3px;width:8px;height:.25rem;background-color:#8a9298;border-radius:.5rem;transition:transform .2s linear}r-product-images .productDetailSwiper .swiper-pagination .swiper-pagination-bullet-active{background-color:#5e22ee}r-product-images .productSkeletonImages{padding-right:0}r-product-images .productSkeletonImages .swiper-wrapper{gap:5px;
1display:flex}r-product-images .productSkeletonImages .swiper-wrapper .swiper-slide{width:100%!important;min-height:50vh}r-product-images .productSkeletonImages .swiper-wrapper .swiper-slide:nth-child(2){display:none!important}.pdp-padding{padding:15px 0}}
2`],encapsulation:2,changeDetection:0})};var li=()=>({});function Vi(t,i){if(t&1&&u(0,"r-product-badges",1),t&2){let e=c(2);_("badges",e.getTextBadges(e.productData.badges))("type","text")}}function zi(t,i){if(t&1){let e=C();a(0,"a",5),v("click",function(r){b(e);let p=c(2);return y(p.goBrand(r,p.productData.brandUrl||""))}),m(1),l()}if(t&2){let e=c(2);ze("href",e.productData.brandUrl||null,E),n(),k(" ",e.productData==null?null:e.productData.brand," ")}}function Oi(t,i){if(t&1&&m(0),t&2){let e=c(2);k(" ",e.selectedVariantOption.name," ")}}function Di(t,i){if(t&1&&m(0),t&2){let e=c(2);k(" ",e.productData.name," ")}}function Mi(t,i){if(t&1&&(a(0,"div",8),f(1,"formatCurrency"),m(2),l()),t&2){let e=c(6);_("innerHTML",h(1,2,e.variantPrice==null||e.variantPrice.secondStrikePrice==null?null:e.variantPrice.secondStrikePrice.formattedValue),D),n(2),k(" ",e.variantPrice==null||e.variantPrice.secondStrikePrice==null?null:e.variantPrice.secondStrikePrice.formattedValue," ")}}function Ti(t,i){if(t&1&&(a(0,"div",8),f(1,"formatCurrency"),m(2),l()),t&2){let e=c(6);_("innerHTML",h(1,2,e.variantPrice==null||e.variantPrice.firstStrikePrice==null?null:e.variantPrice.firstStrikePrice.formattedValue),D),n(2),k(" ",e.variantPrice==null||e.variantPrice.firstStrikePrice==null?null:e.variantPrice.firstStrikePrice.formattedValue," ")}}function Ii(t,i){if(t&1&&(a(0,"div",7),f(1,"formatCurrency"),m(2),l(),d(3,Mi,3,4,"div",8),d(4,Ti,3,4,"div",8)),t&2){let e=c(5);z("no-discount",!(e.variantPrice!=null&&e.variantPrice.secondStrikePrice||e.variantPrice!=null&&e.variantPrice.firstStrikePrice)),_("innerHTML",h(1,6,e.variantPrice==null||e.variantPrice.price==null?null:e.variantPrice.price.formattedValue),D),n(2),k(" ",e.variantPrice==null||e.variantPrice.price==null?null:e.variantPrice.price.formattedValue," "),n(),s(e.variantPrice!=null&&e.variantPrice.secondStrikePrice?3:-1),n(),s(e.variantPrice!=null&&e.variantPrice.firstStrikePrice?4:-1)}}function Ei(t,i){if(t&1&&(a(0,"div",8),f(1,"formatCurrency"),m(2),l()),t&2){let e=c(6);_("innerHTML",h(1,2,e.productData.secondStrikePrice==null?null:e.productData.secondStrikePrice.formattedValue),D),n(2),k(" ",e.productData.secondStrikePrice==null?null:e.productData.secondStrikePrice.formattedValue," ")}}function Fi(t,i){if(t&1&&(a(0,"div",8),f(1,"formatCurrency"),m(2),l()),t&2){let e=c(6);_("innerHTML",h(1,2,e.productData.firstStrikePrice==null?null:e.productData.firstStrikePrice.formattedValue),D),n(2),k(" ",e.productData.firstStrikePrice==null?null:e.productData.firstStrikePrice.formattedValue," ")}}function Li(t,i){if(t&1&&(a(0,"div",7),f(1,"formatCurrency"),m(2),l(),d(3,Ei,3,4,"div",8),d(4,Fi,3,4,"div",8)),t&2){let e=c(5);z("no-discount",!(e.productData!=null&&e.productData.secondStrikePrice||e.productData!=null&&e.productData.firstStrikePrice)),_("innerHTML",h(1,6,e.productData.price==null?null:e.productData.price.formattedValue),D),n(2),k(" ",e.productData.price==null?null:e.productData.price.formattedValue," "),n(),s(e.productData!=null&&e.productData.secondStrikePrice?3:-1),n(),s(e.productData!=null&&e.productData.firstStrikePrice?4:-1)}}function Ri(t,i){if(t&1&&d(0,Ii,5,8)(1,Li,5,8),t&2){let e=c(4);s(e.variantPrice!=null&&e.variantPrice.price?0:1)}}function Bi(t,i){if(t&1&&(a(0,"div",6),d(1,Ri,2,1),f(2,"json"),f(3,"json"),f(4,"json"),f(5,"json"),l()),t&2){let e=c(3);n(),s(e.productData!=null&&e.productData.isStd||h(2,1,e.selectedVariantOption)===h(3,3,j(9,li))||!(e.productData!=null&&e.productData.isStd)&&h(4,5,e.selectedVariantOption)!==h(5,7,j(10,li))&&(e.selectedVariantOption!=null&&e.selectedVariantOption.isActive)||e.productData.salesRule==="1"?1:-1)}}function ji(t,i){if(t&1&&(a(0,"div",3),d(1,Bi,6,11,"div",6),l()),t&2){let e=c(2);n(),s(e.productData!=null&&e.productData.isActive?1:-1)}}function Ai(t,i){t&1&&(a(0,"div",3),u(1,"div",6),l())}function Ni(t,i){if(t&1&&(a(0,"div",4),m(1),l()),t&2){let e=c(2);n(),re(e.productData.promotionMessage)}}function Hi(t,i){if(t&1&&(a(0,"div",0),d(1,Vi,1,2,"r-product-badges",1),d(2,zi,2,2,"a",2),a(3,"h1"),d(4,Oi,1,1)(5,Di,1,1),l()(),d(6,ji,2,1,"div",3)(7,Ai,2,0,"div",3),d(8,Ni,2,1,"div",4)),t&2){let e,o=c();n(),s((e=o.getTextBadges(o.productData.badges))!=null&&e.length?1:-1),n(),s(o.productData.brand?2:-1),n(2),s(o.selectedVariantOption!=null&&o.selectedVariantOption.name?4:5),n(2),s(o.productData.salesRule==="1"||!(o.productData!=null&&o.productData.isStd)&&(o.selectedVariantOption==null||o.selectedVariantOption.stock==null?null:o.selectedVariantOption.stock.stockLevelStatus)!=="outOfStock"||o.productData!=null&&o.productData.isStd&&(o.productData==null||o.productData.stock==null?null:o.productData.stock.stockLevel)!==0?6:7),n(2),s(o.productData.promotionMessage?8:-1)}}var We=class t extends jt{constructor(e,o,r,p){super(r);this.productVariantCodeService=e;this.cdr=o;this.vakkoramaProductService=p}productVariantCodeService;cdr;vakkoramaProductService;router=L(de);productData;selectedVariantOption;productVariantCodeServiceSubscription;variantPrice;
2subject=new ae;product$=this.currentProductService.getProduct(["details","price"]);goBrand(e,o){e.preventDefault(),o&&this.router.navigateByUrl(o)}getTextBadges(e){return e?.filter(o=>o.badgePosition==="TEXT")||[]}ngOnDestroy(){this.productVariantCodeServiceSubscription&&this.productVariantCodeServiceSubscription.unsubscribe(),this.subject.next(!0),this.subject.complete()}ngOnInit(){this.vakkoramaProductService.currentvariantPricesAndDescription.pipe(te(this.subject)).subscribe(e=>{this.variantPrice=e,this.cdr.detectChanges()}),this.productVariantCodeServiceSubscription=this.productVariantCodeService.currentProductSelectedVariantOption.subscribe(e=>{this.selectedVariantOption=e,this.cdr.detectChanges()})}static \u0275fac=function(o){return new(o||t)(g(ue),g(U),g(R),g(J))};static \u0275cmp=x({type:t,selectors:[["r-product-summary"]],inputs:{productData:"productData"},standalone:!1,features:[G],decls:1,vars:1,consts:[[1,"product-title-container"],[3,"badges","type"],[1,"product-brand"],[1,"product-price-container"],[1,"product-promo-message"],[1,"product-brand",3,"click"],[1,"product-price"],[1,"price",3,"innerHTML"],[1,"old-price",3,"innerHTML"]],template:function(o,r){o&1&&d(0,Hi,9,5),o&2&&s(r.productData?0:-1)},dependencies:[Zt,Te,He],styles:[`.pr30pl15{padding:0 30px 0 15px}r-product-summary{color:#000}r-product-summary .product-item-badge-above{background-color:#e4e4e4;color:#555;padding:4px 8px;font-size:13px;line-height:100%;width:fit-content}r-product-summary .product-title-container .product-brand{margin-bottom:.25rem;text-transform:uppercase;text-decoration:none;line-height:1.75rem;letter-spacing:.1em;font-size:1rem;font-weight:600;color:#7a7a7a}r-product-summary .product-title-container h1{line-height:2.25rem;font-size:1.625rem;font-weight:700;font-family:RobotoMedium,sans-serif;color:#1b303f;letter-spacing:.1em}r-product-summary .product-title-container r-product-badges{position:initial;margin-bottom:4px}r-product-summary .product-title-container r-product-badges>div{display:flex}r-product-summary .product-title-container r-product-badges>div .badge__text{background-color:#e4e4e4;color:#555;padding:4px 8px;font-size:13px;line-height:100%;width:fit-content}r-product-summary .product-price-container .product-price{min-height:1.75rem}r-product-summary .product-price-container .price{display:inline;line-height:1.75rem;font-size:1rem;font-weight:600;color:#5e22ee}r-product-summary .product-price-container .price.no-discount{color:#1b303f}r-product-summary .product-price-container .old-price{display:inline;margin-left:.75rem;text-decoration:line-through;line-height:1.5rem;font-size:.938rem;font-weight:400;color:#8a9298}r-product-summary .product-promo-message{background-color:#5726e5;color:#fff;width:fit-content;padding:4px 8px;font-size:11px;margin-top:12px}@media(max-width:767.98px){r-product-summary .product-title-container{margin-top:2.5rem}r-product-summary .product-price-container{font-size:24px;font-weight:300}r-product-summary .product-price-container .product-price{min-height:2.25rem}r-product-summary .product-price-container .price{font-size:14px!important}r-product-summary .product-price-container .old-price{font-size:14px;margin-left:10px}r-product-summary .product-promo-message{margin-bottom:1rem}}
3`],encapsulation:2,changeDetection:0})};var Qe=class{"@context";"@type";url;inLanguage;breadcrumb;mainEntity},Ye=class{"@type";numberOfItems;itemListElement},be=class{"@type";position;item},ye=class{"@id";name},qe=class{"@type";offers},Ke=class{"@type";itemOffered},Je=class{"@type";name;description;category;color;material;sku;gtin13;brand;image;offers},Ze=class{"@type";name},Xe=class{"@type";contentUrl;caption},et=class{"@type";url;availability;itemCondition;price;priceCurrency};var $i=t=>({"selected-variant":t});function Wi(t,i){if(t&1&&(a(0,"span"),m(1),l()),t&2){let e=c(3);n(),k(" : ",e.getVariantOptionValue(e.variants.selected.variantOptionQualifiers)," ")}}function Gi(t,i){if(t&1&&(a(0,"li",5)(1,"a",6),f(2,"cxUrl"),u(3,"img",7),a(4,"span",8),m(5),l()()()),t&2){let e,o,r=i.$implicit,p=c(3);z("disabled",(r.stock==null?null:r.stock.stockLevelStatus)==="outOfStock"),_("ngClass",Me(17,$i,r.code===(p.variants.selected==null?null:p.variants.selected.code))),n(),_("routerLink",h(2,15,r.url)),n(2),_("src",I(p.getVariantThumbnailUrl(r.variantOptionQualifiers)),E)("title",I(p.getVariantOptionValue(r.variantOptionQualifiers)))("alt",I(p.getVariantOptionValue(r.variantOptionQualifiers)))("width",I((e=p.getImageSize("thumbnail"))==null?null:e.width))("height",I((o=p.getImageSize("thumbnail"))==null?null:o.height)),n(2),k(" ",p.getVariantOptionValue(r.variantOptionQualifiers)," ")}}function Qi(t,i){if(t&1&&(a(0,"div",0)(1,"div",1)(2,"div",2),m(3),d(4,Wi,2,1,"span"),l()(),a(5,"div",3)(6,"ul"),P(7,Gi,6,19,"li",4,O),l()()()),t&2){let e=c(2);n(3),k(" ",e.getVariantOptionName(e.variants.selected.variantOptionQualifiers)," "),n(),s(e.variants.selected?4:-1),n(3),V(e.variants==null?null:e.variants.options)}}function Yi(t,i){if(t&1&&d(0,Qi,9,2,"div",0),t&2){let e=c();s(e.productData.styleText&&e.productData.styleText!==""?0:-1)}}var tt=class t extends ti{productData;constructor(i,e,o){super(i,e,o)}getVariantThumbnailUrl(i){let e=i.find(o=>o.image);return e?ne("thumbnail",e.image?.url):""}getImageSize(i){return Ne(i)}getVariantOptionValue(i){return i?i[0].value:""}getVariantOptionName(i){return i?i[0].name:""}static \u0275fac=function(e){return new(e||t)(g(It),g(Ae),g(Re))};static \u0275cmp=x({type:t,selectors:[["r-product-style-selector"]],inputs:{productData:"productData"},standalone:!1,features:[G],decls:1,vars:1,consts:[[1,"product-styles"],[1,"style-header"],[1,"title"],[1,"style-container"],[3,"ngClass","disabled"],[3,"ngClass"],[3,"routerLink"],["loading","lazy",3,"src","title","alt","width","height"],[1,"product__variant--color"]],template:function(e,o){e&1&&d(0,Yi,1,1),e&2&&s(o.productData?0:-1)},dependencies:[Dt,Ee,je],styles:[`r-product-style-selector{display:block}r-product-style-selector .product-styles{text-transform:uppercase;color:#000}r-product-style-selector .product-styles .style-header{display:flex;justify-content:space-between!important;margin-bottom:2.25rem;line-height:1.25rem;letter-spacing:.1em;font-size:.813rem;font-weight:700;font-family:RobotoMedium,sans-serif;color:#1d1d1d}r-product-style-selector .product-styles .style-container ul{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.5rem;margin:0;padding:0;width:100%;text-align:center;list-style:none}r-product-style-selector .product-styles .style-container ul li{display:flex;align-items:center;flex-direction:column;width:64px;overflow:hidden}r-product-style-selector .product-styles .style-container ul li.selected-variant:not(.disabled) img{border-color:#5e22ee}r-product-style-selector .product-styles .style-container ul li.disabled{opacity:.3}r-product-style-selector .product-styles .style-container ul li a{text-decoration:none;color:#212529}r-product-style-selector .product-styles .style-container ul li a img{width:3.5rem;border:2px solid transparent;border-radius:.375rem}r-product-style-selector .product-styles .style-container ul li a .product__variant--color{display:flex;align-items:center;justify-content:center;text-transform:capitalize;text-align:center;line-height:1.25rem;font-size:.813rem;font-weight:700;font-family:RobotoMedium,sans-serif;color:#000}@media(max-width:767.98px){r-product-style-selector .product-styles .style-header{font-size:13px}}
4`],encapsulation:2,changeDetection:0})};function Ki(t,i){if(t&1){let e=C();a(0,"div",0),u(1,"div")(2,"h5",1),a(3,"button",2),v("click",function(){b(e);let r=c();return y(r.closeDialog())}),u(4,"i",3),l()()}if(t&2){let e=c();n(2),_("innerHTML",e.sizeChartHtmls.sizeChartHtmls[e.sizeChartHtmls.sizeChartHtmls.length-1].title,D)}}function Ji(t,i){if(t&1&&(a(0,"div",5),u(1,"div",6),l()),t&2){let e=c().$implicit,o=c();z("default",o.sizeChartHtmls.sizeChartHtmls.length==1),n(),_("innerHTML",e.html,D)}}function Zi(t,i){if(t&1&&d(0,Ji,2,3,"div",4),t&2){let e=i.$implicit;s(e.title&&e.html?0:-1)}}var Ce=class t{constructor(i,e){this.dialogRef=i;this.sizeChartHtmls=e.sizeChartHtmls}dialogRef;sizeChartHtmls;closeDialog(){this.dialogRef.close()}static \u0275fac=function(e){return new(e||t)(g(pe),g(me))};static \u0275cmp=x({type:t,selectors:[["r-product-size-modal"]],standalone:!1,decls:3,vars:1,consts:[[1,"modal-header"],["mat-dialog-title","",3,"innerHTML"],[1,"close",3,"click"],[1,"pz-button__icon","pz-icon-close"],[1,"modal-body",3,"default"],[1,"modal-body"],["mat-dialog-content","",3,"innerHTML"]],template:function(e,o){e&1&&(d(0,Ki,5,1,"div",0),P(1,Zi,1,1,null,null,O)),e&2&&(s(o.sizeChartHtmls.sizeChartHtmls?0:-1),n(),V(o.sizeChartHtmls.sizeChartHtmls))},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}.cdk-overlay-container{z-index:1000004}.mat-mdc-dialog-inner-container,.mat-mdc-dialog-surface{display:contents}.cdk-overlay-backdrop:not(.mat-datepicker-0-backdrop).cdk-overlay-backdrop-showing{background:#000;opacity:.5}.cdk-overlay-backdrop:not(.mat-datepicker-0-backdrop).top-modal+.cdk-global-overlay-wrapper{align-items:start!important;margin-top:20px}.cdk-global-overlay-wrapper:has(>.cdk-overlay-backdrop.top-modal:not(.mat-datepicker-0-backdrop)){align-items:start!important;margin-top:20px}@media(min-width:992px){.cdk-global-overlay-wrapper .small-modal{width:600px!important}}.cdk-global-overlay-wrapper .mat-mdc-dialog-container{padding:1.875rem;background:#fff;overflow-y:auto}.cdk-global-overlay-wrapper .mat-mdc-dialog-container .modal-header{position:relative;display:flex;align-items:center;padding:1rem}
4.cdk-global-overlay-wrapper .mat-mdc-dialog-container .modal-header .close{position:absolute;top:50%;right:0;line-height:1;font-size:1.188rem;height:1rem;background-color:#fff;border:none;outline:none;transform:translateY(-50%)}.cdk-global-overlay-wrapper .mat-mdc-dialog-container .modal-header .mat-mdc-dialog-title{margin:0;padding:0;color:inherit;font-family:inherit;line-height:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit}.cdk-global-overlay-wrapper .mat-mdc-dialog-content{padding:2rem;max-height:initial;color:inherit;font-family:inherit;line-height:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit}.mat-mdc-dialog-title:not(:empty):before{height:0!important}@media(max-width:767.98px){.cdk-overlay-container{z-index:1000004}.cdk-overlay-backdrop.top-modal+.cdk-global-overlay-wrapper{margin-top:0}.cdk-global-overlay-wrapper:has(>.cdk-overlay-backdrop.top-modal){margin-top:0}.cdk-global-overlay-wrapper .mobile-full-width{width:100vw!important;height:100%!important;max-width:100%!important}.cdk-global-overlay-wrapper .add-to-cart-mobile-full-width{max-width:100%!important}}.r-size-chart-modal{max-width:710px!important;padding:40px 0!important}.r-size-chart-modal mat-dialog-container{padding:1rem!important;height:inherit!important}.r-size-chart-modal mat-dialog-container r-product-size-modal{max-height:95vh;display:block}.r-size-chart-modal mat-dialog-container r-product-size-modal .modal-header{border:none!important;border-bottom:1px solid #dbdbdb!important;margin-bottom:1rem!important}.r-size-chart-modal mat-dialog-container r-product-size-modal .modal-header h5{flex:1 1 0%;font-size:1rem;line-height:1.75rem;font-weight:900;font-family:RobotoBold,sans-serif;color:#1d1d1d;-webkit-padding-end:1rem;padding-inline-end:1rem}.r-size-chart-modal mat-dialog-container r-product-size-modal .modal-header .close{position:relative!important;font-size:inherit!important;top:inherit!important;right:inherit!important}.r-size-chart-modal mat-dialog-container r-product-size-modal .modal-body{overflow:auto}.r-size-chart-modal mat-dialog-container r-product-size-modal .modal-body [mat-dialog-content] table{width:100%!important;border:none}.r-size-chart-modal mat-dialog-container r-product-size-modal .modal-body [mat-dialog-content] table tr>th,.r-size-chart-modal mat-dialog-container r-product-size-modal .modal-body [mat-dialog-content] table tr>td{color:#1d1d1d!important;white-space:nowrap!important;padding:.75rem!important;text-align:center!important;font-size:.813rem!important;line-height:1.25rem!important}.r-size-chart-modal mat-dialog-container r-product-size-modal .modal-body [mat-dialog-content] table tr>th{background-color:#f5f5f5!important}@media(max-width:767.98px){.r-size-chart-modal{max-width:90vw!important}.r-size-chart-modal mat-dialog-container{padding:.4rem!important}.r-size-chart-modal mat-dialog-container r-product-size-modal .modal-header h5{font-size:.938rem;line-height:1.25rem}.r-size-chart-modal mat-dialog-container r-product-size-modal .modal-body [mat-dialog-content] table tr>th,.r-size-chart-modal mat-dialog-container r-product-size-modal .modal-body [mat-dialog-content] table tr>td{color:#1d1d1d!important;white-space:nowrap!important;padding:.75rem!important;text-align:center!important;font-size:.688rem!important;line-height:1rem!important}}
5`],encapsulation:2,changeDetection:0})};var Xi=t=>({stockLevel:t});function eo(t,i){if(t&1&&(a(0,"span"),m(1),l()),t&2){let e=c(2);n(),Oe("",e.product==null?null:e.product.sizeText,": ",e.selectedSize)}}function to(t,i){if(t&1&&m(0),t&2){let e=c(2);k(" ",e.product==null?null:e.product.sizeText," ")}}function io(t,i){if(t&1&&(a(0,"span",3),m(1),f(2,"cxTranslate"),l()),t&2){let e=c(2);n(),k(" ",zt(2,1,"common.lowStockAlert",Me(4,Xi,e.stockLevelSig()))," ")}}function oo(t,i){t&1&&(a(0,"span",4),m(1),f(2,"cxTranslate"),l()),t&2&&(n(),k(" ",h(2,1,"productVariants.pleaseSelectSize")," "))}function no(t,i){if(t&1){let e=C();a(0,"div",7),v("click",function(){b(e);let r=c(2);return y(r.openSizeTableModal())}),a(1,"button"),m(2),f(3,"cxTranslate"),l()()}t&2&&(n(2),k(" ",h(3,1,"productVariants.sizeTableTitle")," "))}function ro(t,i){if(t&1&&(a(0,"a",10),m(1),l()),t&2){let e=c().$implicit,o=c(2);z("active",e.isSelected)("lowStockAlert",e.stock==null?null:e.stock.lowStockAlert)("out-of-stock",!e.isActive||(e.stock==null?null:e.stock.stockLevelStatus)==="outOfStock"||o.product.salesRule==="1"),_("href",e.url,E),n(),k(" ",o.getVariantOptionValue(e.variantOptionQualifiers)," ")}}function ao(t,i){if(t&1){let e=C();a(0,"button",11),v("click",function(){b(e);let r=c(),p=r.$implicit,S=r.$index,w=c(2);return y(w.selectSize(p,S,w.getVariantOptionValue(p.variantOptionQualifiers)))}),m(1),l()}if(t&2){let e=c(),o=e.$implicit,r=e.$index,p=c(2);z("active",p.selectedSizeIndex===r&&o.code===p.selectedVariantCode)("lowStockAlert",o.stock==null?null:o.stock.lowStockAlert)("out-of-stock",!o.isActive||(o.stock==null?null:o.stock.stockLevelStatus)==="outOfStock"||p.product.salesRule==="1"),n(),k(" ",p.getVariantOptionValue(o.variantOptionQualifiers)," ")}}function lo(t,i){if(t&1&&(a(0,"li"),d(1,ro,2,8,"a",8)(2,ao,2,7,"button",9),l()),t&2){let e=i.$implicit;n(),s(e.isRedirectEnabled?1:2)}}function co(t,i){if(t&1&&(a(0,"div",0)(1,"div",1)(2,"div",2),d(3,eo,2,2,"span")(4,to,1,1),d(5,io,3,6,"span",3),d(6,oo,3,3,"span",4),l(),d(7,no,4,3,"div",5),l(),a(8,"div",6)(9,"ul"),P(10,lo,3,1,"li",null,O),l()()()),t&2){let e=c();n(3),s(e.selectedSize?3:4),n(2),s(e.stockLevelSig()?5:-1),n(),s(e.selectSizeError?6:-1),n(),s(e.product.sizeChart?7:-1),n(3),V(e.product==null?null:e.product.variantOptions)}}function so(t,i){if(t&1&&m(0),t&2){let e=c(2);k(" ",e.selectOneSize(e.product==null?null:e.product.variantOptions)," ")}}function po(t,i){if(t&1&&d(0,so,1,1),t&2){let e=c();s(e.product!=null&&e.product.variantOptions&&(e.product==null?null:e.product.variantOptions.length)===1?0:-1)}}var it=class t extends ei{constructor(e,o,r,p,S,w,W){super(e,o);this.productVariantCodeService=r;this.dialog=p;this.cd=S;this.wProductService=w;this.vakkoramaProductService=W}productVariantCodeService;dialog;cd;wProductService;vakkoramaProductService;productData;selectedVariantCode=new wt;selectedSizeIndex;selectedSize;stockLevelSig=ie("");variantSubscription;selectSizeError=!0;sizeChartHtmls;
5subject=new ae;ngOnChanges(e){this.stockLevelSig.set(""),this.selectedSize="",this.selectedSizeIndex=void 0,e.product&&this.autoSelectIfSelected()}ngOnDestroy(){this.subject.next(!0),this.subject.complete()}ngOnInit(){this.productVariantCodeService.currentProductVariantError.pipe(te(this.subject)).subscribe(e=>{this.selectSizeError=e,this.cd.detectChanges()}),this.productVariantCodeService.currentProductVariantCode.pipe(te(this.subject)).subscribe(e=>{this.selectedVariantCode=e,this.cd.detectChanges()}),this.productVariantCodeService.getPlpSelectedVariantCode()?this.product.variantOptions.filter((e,o)=>{e.code===this.productVariantCodeService.getPlpSelectedVariantCode()&&this.selectSize(e,o,this.getVariantOptionValue(e.variantOptionQualifiers))}):this.autoSelectIfSelected()}autoSelectIfSelected(){if(!this.product?.variantOptions)return;let e=this.product.variantOptions.findIndex(o=>o.isSelected);if(e!==-1){let o=this.product.variantOptions[e];this.selectSize(o,e,this.getVariantOptionValue(o.variantOptionQualifiers))}}selectOneSize(e){e&&e.length>0&&this.productVariantCodeService.setSelectedVariantOption(e[0].code)}selectSize(e,o,r){this.vakkoramaProductService.getVariantPriceAndDescription(e.code).pipe(te(this.subject)).subscribe(p=>{p&&this.vakkoramaProductService.setVariantPricesAndDescription(p)}),this.stockLevelSig.set(e.stock?.lowStockAlert?e.stock.stockLevel:""),this.selectedSize=r,this.selectedSizeIndex=o,this.productVariantCodeService.setSelectedVariantOption(e),this.productVariantCodeService.setVariantCode(e.code),this.productVariantCodeService.setVariantError(!1),this.productVariantCodeService.setPlpSelectedVariantCode("")}getVariantOptionValue(e){return e?e[0].value:""}openSizeTableModal(){this.sizeChartHtmls&&this.sizeChartHtmls.sizeChartHtmls?this.dialog.open(Ce,{data:{sizeChartHtmls:this.sizeChartHtmls},hasBackdrop:!0,panelClass:"r-size-chart-modal"}):this.wProductService.getSizeTable(this.product.code).pipe(T(1)).subscribe(e=>{e.sizeChartHtmls&&(this.sizeChartHtmls=e,this.dialog.open(Ce,{data:{sizeChartHtmls:e},hasBackdrop:!0,panelClass:"r-size-chart-modal"}))})}static \u0275fac=function(o){return new(o||t)(g(Ae),g(Re),g(ue),g(K),g(U),g(J),g(J))};static \u0275cmp=x({type:t,selectors:[["r-product-size-selector"]],inputs:{productData:"productData",product:"product"},outputs:{selectedVariantCode:"selectedVariantCode"},standalone:!1,features:[G,Ve],decls:2,vars:1,consts:[[1,"product-sizes"],[1,"size-header"],[1,"title"],[1,"lowStockAlert"],[1,"form-error"],[1,"size-table"],[1,"size-container"],[1,"size-table",3,"click"],[3,"href","active","lowStockAlert","out-of-stock"],[3,"active","lowStockAlert","out-of-stock"],[3,"href"],[3,"click"]],template:function(o,r){o&1&&d(0,co,12,4,"div",0)(1,po,1,1),o&2&&s(r.product&&r.product.sizeText&&r.product.sizeText!==""?0:1)},dependencies:[$],styles:[`r-product-size-selector{display:block}r-product-size-selector .product-sizes{margin-bottom:1.75rem;text-transform:uppercase;color:#000}r-product-size-selector .product-sizes .size-header{display:flex;justify-content:space-between!important}r-product-size-selector .product-sizes .size-header .size-table button{padding:0;text-transform:uppercase;text-decoration:underline;line-height:1.25rem;font-size:.813rem;color:#1b303f;background:none;border:none;cursor:pointer}r-product-size-selector .product-sizes .size-header .title{line-height:1.25rem;letter-spacing:.1em;font-size:.813rem;font-weight:700;font-family:RobotoMedium,sans-serif;color:#1d1d1d}r-product-size-selector .product-sizes .size-header .title .lowStockAlert{font-size:12px;color:#fc6151;text-transform:initial;margin-left:10px;font-weight:400}r-product-size-selector .product-sizes .size-header .title .form-error{text-transform:none;font-weight:300;color:#880c24;margin-left:1rem;display:inline;font-size:13px;font-family:RobotoRegular,sans-serif}r-product-size-selector .product-sizes .size-container{margin-top:.5rem}r-product-size-selector .product-sizes .size-container ul{display:flex;flex-wrap:wrap;gap:.75rem .5rem;margin:0;padding:0;width:100%;list-style:none}r-product-size-selector .product-sizes .size-container ul li{display:flex;flex-direction:column;align-items:center}r-product-size-selector .product-sizes .size-container ul li button,r-product-size-selector .product-sizes .size-container ul li a{padding:0 .25rem;min-width:2.5rem;width:auto;min-height:2rem;height:2rem;line-height:1;letter-spacing:.05em;font-size:.813rem;font-weight:700;font-family:RobotoMedium,sans-serif;color:#1b303f;background-color:#fff;border:2px solid #C8CDD1;border-radius:.375rem;position:relative;display:flex;align-items:center;justify-content:center;text-decoration:none}r-product-size-selector .product-sizes .size-container ul li button.active,r-product-size-selector .product-sizes .size-container ul li a.active{color:#fff;background-color:#5e22ee;border-color:#5e22ee}r-product-size-selector .product-sizes .size-container ul li button:disabled,r-product-size-selector .product-sizes .size-container ul li a:disabled{opacity:.3}r-product-size-selector .product-sizes .size-container ul li button.out-of-stock,r-product-size-selector .product-sizes .size-container ul li a.out-of-stock{color:#e1e1e1}r-product-size-selector .product-sizes .size-container ul li button.out-of-stock.active,r-product-size-selector .product-sizes .size-container ul li a.out-of-stock.active{color:#000;background-color:#fff;border-color:#000}r-product-size-selector .product-sizes .size-container ul li button.lowStockAlert:after,r-product-size-selector .product-sizes .size-container ul li a.lowStockAlert:after{content:"";position:absolute;bottom:-12px;width:8px;height:8px;border-radius:50%;background-color:#fc6151}@media(max-width:767.98px){r-product-size-selector .product-sizes .size-container ul li button.lowStockAlert:after{bottom:-15px}}
6`],encapsulation:2,changeDetection:0})};function uo(t,i){if(t&1&&u(0,"r-product-style-selector",3),t&2){let e=c(2),o=c();_("variants",o.variants[o.variantType.STYLE])("productData",e)}}function go(t,i){if(t&1&&(a(0,"div",0),u(1,"r-product-size-selector",2),d(2,uo,1,2,"r-product-style-selector",3),l()),t&2){let e=c(),o=c();n(),_("product",e),n(),s(o.variants[o.variantType.STYLE]?2:-1)}}function fo(t,i){if(t&1&&u(0,"app-json-ld",1),t&2){let e=c(2);_("json",e.json)}}function _o(t,i){if(t&1&&(d(0,go,3,2,"div",0),d(1,fo,1,1,"app-json-ld",1)),t&2){let e=i,o=c();s(e.baseOptions!=null&&e.baseOptions.length?0:-1),n(),s(o.json?1:-1)}}var ot=class t extends ii{#e=L(R);#t=L(Q);#i=L(Be);productData;json;#o=new ee;constructor(i){super(i)}product$=this.#e.getProduct();ngOnInit(){super.ngOnInit(),this.setJsonLd()}setJsonLd(){this.#o.add(this.product$.pipe(we(Le),Pe()).subscribe(i=>{if(i){let e=Yt(this.#t.nativeWindow.location.pathname),o=e?"/"+e:"",r=new Qe;r["@context"]="https://schema.org",r["@type"]="WebPage",r.url=A.frontendUrl+i.url;let p={"":"tr-TR",en:"en"};r.inLanguage=p[e]??"tr-TR";let S=new Ye;if(S["@type"]="BreadcrumbList",i.categories){let H=new ye;H["@id"]=A.frontendUrl+o+"/",this.#i.translate("common.home").pi
6pe(T(1)).subscribe(X=>H.name=X);let M=new be;M["@type"]="ListItem",M.item=H,M.position=1;let F=[];F.push(M),S.numberOfItems=i.categories.length+1,S.itemListElement=F,i.categories.forEach((X,fe)=>{let mt=new ye;mt["@id"]=A.frontendUrl+o+X.url,mt.name=X.name;let xe=new be;xe["@type"]="ListItem",xe.item=mt,xe.position=fe+2,F.push(xe)})}r.breadcrumb=S;let w;i?.brand&&(w=new Ze,w["@type"]="Thing",w.name=i.brand);let W=[];if(i.images&&i.images[se.GALLERY]&&i.images[se.GALLERY].forEach((H,M)=>{let F=new Xe;F["@type"]="ImageObject",F.contentUrl=ne("zoom",H.product.url),F.caption=i.name+" - "+Number(M+1),W.push(F)}),i.stock.stockLevelStatus!=="outOfStock"){let H=[],M=new Je;M["@type"]="Product",M.name=i.name,M.description=this.removeTags(i.description),M.category=i.categories?i.categories[i.categories.length-1].name:"",M.color=i.productsCodes?.colorName,M.material=i.textComponent,M.sku=i.productsCodes.sku[0],M.gtin13=i.productsCodes.id,w&&(M.brand=w),M.image=W;let F=new et;F["@type"]="Offer",F.url=A.frontendUrl+i.url,F.availability=i.stock.stockLevelStatus==="outOfStock"?"https://schema.org/OutOfStock":"https://schema.org/InStock",F.itemCondition="https://schema.org/NewCondition",i?.price?.value&&i?.s
6alesRule!=="1"&&i?.salesRule!=="14"&&(F.price=Number((Math.round(i?.price?.value*100)/100).toFixed(2))),F.priceCurrency="TRY",M.offers=F,H.push(M);let X=new Ke;X["@type"]="Offer",X.itemOffered=H;let fe=new qe;fe["@type"]="WebPageElement",fe.offers=X,r.mainEntity=fe}this.json=JSON.stringify(r)}}))}removeTags(i){return i===null||i===""?i:i.replace(/(<([^>]+)>)/ig,"")}ngOnDestroy(){this.#o.unsubscribe()}static \u0275fac=function(e){return new(e||t)(g(R))};static \u0275cmp=x({type:t,selectors:[["r-product-container"]],inputs:{productData:"productData"},standalone:!1,features:[G],decls:2,vars:3,consts:[[1,"variant-section"],[3,"json"],[3,"product"],[3,"variants","productData"]],template:function(e,o){if(e&1&&(d(0,_o,2,2),f(1,"async")),e&2){let r;s((r=h(1,1,o.product$))?0:-1,r)}},dependencies:[qt,tt,it,ce],styles:[`.variant-section{margin:3.5rem 0 1.75rem}@media(max-width:767.98px){r-product-container .variant-section{margin:0}}
7`],encapsulation:2,changeDetection:0})};var ko=["map"],nt=class t{geoPoint;geoPointList;isCity;map;ngAfterViewInit(){if(this.geoPointList?.length){let i=window.google,e={lat:this.geoPointList[0].latitude,lng:this.geoPointList[0].longitude},o=this.isCity?9:7,r=new i.maps.Map(this.map.nativeElement,{zoom:o,center:e});this.geoPointList.forEach((p,S)=>{let w={url:"../../../../assets/img/pin.png",scaledSize:new i.maps.Size(40,50),origin:new i.maps.Point(0,0),anchor:new i.maps.Point(20,40)},W={position:{lat:p.latitude,lng:p.longitude},map:r,icon:w,draggable:!1};new i.maps.Marker(W)})}else if(this.geoPoint){let i=window.google,e={lat:this.geoPoint.latitude,lng:this.geoPoint.longitude},o=new i.maps.Map(this.map.nativeElement,{zoom:13,center:e}),r={url:"../../../../assets/img/pin.png",scaledSize:new i.maps.Size(40,50),origin:new i.maps.Point(0,0),anchor:new i.maps.Point(20,40)},p={position:e,map:o,icon:r,draggable:!1};new i.maps.Marker(p)}}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=x({type:t,selectors:[["google-map"]],viewQuery:function(e,o){if(e&1&&oe(ko,5),e&2){let r;Y(r=q())&&(o.map=r.first)}},inputs:{geoPoint:"geoPoint",geoPointList:"geoPointList",isCity:"isCity"},standalone:!1,decls:2,vars:0,consts:[["map",""],[1,"map"]],template:function(e,o){e&1&&u(0,"div",1,0)},styles:[".map[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})};function yo(t,i){if(t&1&&(a(0,"span",10),f(1,"formatCurrency"),m(2),l()),t&2){let e=c(2);_("innerHTML",h(1,2,e.data.secondStrikePrice==null?null:e.data.secondStrikePrice.formattedValue),D),n(2),k(" ",e.data.secondStrikePrice==null?null:e.data.secondStrikePrice.formattedValue," ")}}function Co(t,i){if(t&1&&(a(0,"span",10),f(1,"formatCurrency"),m(2),l()),t&2){let e=c(2);_("innerHTML",h(1,2,e.data.firstStrikePrice==null?null:e.data.firstStrikePrice.formattedValue),D),n(2),k(" ",e.data.firstStrikePrice==null?null:e.data.firstStrikePrice.formattedValue," ")}}function xo(t,i){t&1&&(a(0,"span",17),m(1),f(2,"cxTranslate"),l()),t&2&&(n(),k("",h(2,1,"modal.chooseSize"),":"))}function So(t,i){if(t&1){let e=C();a(0,"input",20),v("click",function(){let r=b(e).$implicit,p=c(3);return y(p.onSizeClick(r.code))}),l(),a(1,"label",21),m(2),l()}if(t&2){let e=i.$implicit,o=c(3);_("id","size"+e.code)("value",e.code)("checked",(o.data.variantOptions==null?null:o.data.variantOptions.length)===1||o.selectedVariant===e.code||e.isSelected),n(),_("for","size"+e.code),n(),k(" ",e==null?null:e.variantOptionQualifiers[0].value," ")}}function wo(t,i){if(t&1){let e=C();a(0,"button",22),v("click",function(){b(e);let r=c(3);return y(r.onControlClick())}),m(1),f(2,"cxTranslate"),l()}if(t&2){let e=c(3);z("disabled",!e.selectedVariant),n(),k(" ",h(2,3,"stores.check")," ")}}function Po(t,i){if(t&1&&(d(0,xo,3,3,"span",17),a(1,"div",18),P(2,So,3,5,null,null,O),l(),d(4,wo,3,5,"button",19)),t&2){let e=c(2);s(!e.firstSelectionDoneSig()&&!e.isSizeSelected&&(e.data==null||e.data.variantOptions==null?null:e.data.variantOptions.length)>1?0:-1),n(2),V(e.data.variantOptions),n(2),s(e.firstSelectionDoneSig()?-1:4)}}function Vo(t,i){if(t&1){let e=C();a(0,"button",23),v("click",function(){b(e);let r=c(2);return y(r.getLocation())}),m(1),f(2,"cxTranslate"),l()}t&2&&(n(),re(h(2,1,"modal.closetMe")))}function zo(t,i){if(t&1){let e=C();a(0,"v-custom-dropdown",24),f(1,"cxTranslate"),v("selected",function(r){b(e);let p=c(2);return y(p.selectCity(r))}),l()}if(t&2){let e=c(2);_("data",e.cities&&e.cities)("placeholder",h(1,2,"stores.selectCity"))}}function Oo(t,i){if(t&1){let e=C();a(0,"div",13)(1,"button",25),v("click",function(){b(e);let r=c(2);return y(r.changeActiveTab(0))}),m(2),f(3,"cxTranslate"),l(),a(4,"button",25),v("click",function(){b(e);let r=c(2);return y(r.changeActiveTab(1))}),m(5),f(6,"cxTranslate"),l()()}if(t&2){let e=c(2);n(),z("active",e.activeTabIndexSig()===0),n(),k(" ",h(3,6,"stores.list")," "),n(2),z("active",e.activeTabIndexSig()===1),n(),k(" ",h(6,8,"stores.map")," ")}}function Do(t,i){t&1&&(a(0,"div",14),u(1,"img",26),l())}function Mo(t,i){if(t&1&&(a(0,"a",37),m(1),f(2,"cxTranslate"),l()),t&2){let e=c().$implicit,o=c(3);_("href",ke("tel:+9",e.address.phone),E),n(),Oe("",h(2,4,"stores.call")," ",o.formatPhoneNumber(e.address.phone))}}function To(t,i){if(t&1){let e=C();a(0,"div",27)(1,"div",28),v("click",function(r){let p=b(e).$implicit;c(2);let S=Pt(6),w=c();return y(w.showStore(r,p,S))}),m(2),u(3,"i",29),l(),a(4,"div",30)(5,"div",31)(6,"span",32),u(7,"i",33),m(8),l(),a(9,"span",34),u(10,"i",35),m(11),f(12,"cxTranslate"),l()(),a(13,"div",36),d(14,Mo,3,6,"a",37),a(15,"button",38),v("click",function(){let r=b
7(e).$implicit,p=c(3);return y(p.showOnMap(r))}),m(16),f(17,"cxTranslate"),l()()()()}if(t&2){let e=i.$implicit,o=c(3);n(2),k(" ",e==null?null:e.displayName," "),n(6),k(" ",e.address.formattedAddress," "),n(3),Vt(" ",h(12,7,"stores.workingHours"),": ",e.openingHours==null||e.openingHours.weekDayOpeningList==null||e.openingHours.weekDayOpeningList[0]==null||e.openingHours.weekDayOpeningList[0].openingTime==null?null:e.openingHours.weekDayOpeningList[0].openingTime.formattedHour,",",e.openingHours==null||e.openingHours.weekDayOpeningList==null||e.openingHours.weekDayOpeningList[0]==null||e.openingHours.weekDayOpeningList[0].closingTime==null?null:e.openingHours.weekDayOpeningList[0].closingTime.formattedHour," "),n(3),s(o.formatPhoneNumber(e.address.phone)?14:-1),n(2),k(" ",h(17,9,"stores.showMap")," ")}}function Io(t,i){if(t&1&&(a(0,"div",15),P(1,To,18,11,"div",27,O),l()),t&2){let e=c(2);n(),V(e.storesFiltered==null?null:e.storesFiltered.pointOfServices)}}function Eo(t,i){t&1&&(a(0,"div",14),m(1),f(2,"cxTranslate"),l()),t&2&&(n(),k(" ",h(2,1,"stores.notFound"),". "))}function Fo(t,i){t&1&&(a(0,"div",14),m(1),f(2,"cxTranslate"),l()),t&2&&(n(),k(" ",h(2,1,"common.unexpectedErrorOccurred"),". "))}function Lo(t,i){if(t&1&&(a(0,"div",16),u(1,"google-map",39),l()),t&2){let e=c(2);n(),_("geoPointList",e.geoPointList)("isCity",e.isCity)}}function Ro(t,i){if(t&1&&(a(0,"a",44),m(1),l()),t&2){let e=c(4);_("href",ke("tel:+9",e.selectedStoreDetails.address.phone),E),n(),re(e.formatPhoneNumber(e.selectedStoreDetails.address.phone))}}function Bo(t,i){if(t&1&&(a(0,"div",41)(1,"span",42),m(2),l(),a(3,"span",43),m(4),l(),d(5,Ro,2,3,"a",44),a(6,"a",45),m(7),f(8,"cxTranslate"),l()()),t&2){let e=c(3);n(2),re(e.selectedStoreDetails.displayName),n(2),re(e.selectedStoreDetails.address.formattedAddress),n(),s(e.formatPhoneNumber(e.selectedStoreDetails.address.phone)?5:-1),n(),_("href",De("https://www.google.com/maps?q=",e.selectedStoreDetails.geoPoint==null?null:e.selectedStoreDetails.geoPoint.latitude,",",e.selectedStoreDetails.geoPoint==null?null:e.selectedStoreDetails.geoPoint.longitude),E),n(),k(" ",h(8,7,"stores.directions")," ")}}function jo(t,i){if(t&1&&(a(0,"div",16),u(1,"google-map",40),d(2,Bo,9,9,"div",41),l()),t&2){let e=c(2);n(),_("geoPoint",e.geoPoint),n(),s(e.selectedStoreDetails.displayName?2:-1)}}function Ao(t,i){if(t&1){let e=C();a(0,"div",1)(1,"button",2),v("click",function(){b(e);let r=c();return y(r.closeDialog())}),l(),a(2,"div",3),m(3),f(4,"cxTranslate"),l(),a(5,"div",4,0)(7,"div",5)(8,"div",6)(9,"div",7),m(10),l(),a(11,"div",8)(12,"span",9),f(13,"formatCurrency"),m(14),l(),d(15,yo,3,4,"span",10),d(16,Co,3,4,"span",10),l()(),d(17,Po,5,2),d(18,Vo,3,3,"button",11),d(19,zo,2,4,"v-custom-dropdown",12),d(20,Oo,7,10,"div",13),l(),d(21,Do,2,0,"div",14),d(22,Io,3,0,"div",15),d(23,Eo,3,3,"div",14),d(24,Fo,3,3,"div",14),l(),d(25,Lo,2,2,"div",16),d(26,jo,3,2,"div",16),l()}if(t&2){let e=c();n(3),k(" ",h(4,16,"productPage.availableStores")," "),n(7),k(" ",e.data.name," "),n(2),_("innerHTML",h(13,18,e.data.price==null?null:e.data.price.formattedValue),D),n(2),k(" ",e.data.price==null?null:e.data.price.formattedValue," "),n(),s(e.data!=null&&e.data.secondStrikePrice?15:-1),n(),s(e.data!=null&&e.data.firstStrikePrice?16:-1),n(),s(!(e.data==null||e.data.variantOptions==null)&&e.data.variantOptions.length&&!e.isStdProduct?17:-1),n(),s(e.isSizeSelected?18:-1),n(),s(e.isSizeSelected&&(!(e.storesFiltered==null||e.storesFiltered.pointOfServices==null)&&e.storesFiltered.pointOfServices.length)&&e.cities.length?19:-1),n(),s(!e.loading&&(!(e.storesFiltered==null||e.storesFiltered.pointOfServices==null)&&e.storesFiltered.pointOfServices.length)?20:-1),n(),s(e.loading?21:-1),n(),s(!(e.storesFiltered==null||e.storesFiltered.pointOfServices==null)&&e.storesFiltered.pointOfServices.length&&e.activeTabIndexSig()===0?22:-1),n(),s(!e.loading&&e.isSizeSelected&&!(!(e.storesFiltered==null||e.storesFiltered.pointOfServices==null)&&e.storesFiltered.pointOfServices.length)?23:-1),n(),s(!e.loading&&e.error?24:-1),n(),s(e.isSizeSelected&&(!(e.storesFiltered==null||e.storesFiltered.pointOfServices==null)&&e.storesFiltered.pointOfServices.length)&&!e.geoPoint&&e.geoPointList.length&&e.activeTabIndexSig()===1?25:-1),n(),s(e.isSizeSelected&&(!(e.storesFiltered==null||e.storesFiltered.pointOfServices==null)&&e.storesFiltered.pointOfServices.length)&&e.geoPoint&&e.activeTabIndexSig()===1?26:-1)}}var rt=class t{constructor(i,e,o,r,p,S,w,W){this.matDialogRef=i;this.data=e;this.storesService=o;this.changeDetectorRef=r;this.renderer2=p;this.document=S;this.sessionStorageService=w;this.reCaptchaService=W;if(this.sessionStorageService.getData("maps")!=="true"){let H=this.renderer2.createElement("script");
7H.setAttribute("src",`https://maps.googleapis.com/maps/api/js?key=${A.mapsKey}`),H.setAttribute("defer",""),this.renderer2.appendChild(this.document.head,H),this.sessionStorageService.saveData("maps","true")}A.recaptchaEnabled&&this.reCaptchaService.init()}matDialogRef;data;storesService;changeDetectorRef;renderer2;document;sessionStorageService;reCaptchaService;loading=!1;cities=[];stores={pointOfServices:[]};storesFiltered={pointOfServices:[]};isSizeSelected=!1;error=!1;selectedVariant="";geoPointList=[];geoPoint;isCity=!1;activeTabIndexSig=ie(0);selectedStoreSig=ie(!1);firstSelectionDoneSig=ie(!1);selectedStoreDetails;closeDialog(){this.matDialogRef.close()}selectSize(i){this.loading=!0,this.cities=[],this.geoPointList=[],this.isCity=!1,this.geoPoint=void 0,this.activeTabIndexSig.set(0),this.changeDetectorRef.detectChanges(),this.selectedVariant=i,this.reCaptchaService.execute("find_store").then(e=>{let o={captchaCode:e,sku:i};this.storesService.findStoresCar(o).pipe(T(1)).subscribe(r=>{if(this.stores=r,this.storesFiltered=_e({},this.stores),r?.pointOfServices?.length){let p=[],S;r.pointOfServices?.forEach(w=>{this.geoPointList.push(w?.geoPoint),S=w?.address?.city,p.indexOf(S?.code)==-1&&(p.push(S?.code),this.cities.push(S))})}this.isSizeSelected=!0,this.loading=!1,this.changeDetectorRef.detectChanges()},r=>{this.error=!0,this.loading=!1,this.changeDetectorRef.detectChanges()})})}getLocation(){this.loading=!0,oi().then(i=>{this.reCaptchaService.execute("find_store").then(e=>{let o={captchaCode:e,sku:this.selectedVariant,latitude:i.coords.latitude,longitude:i.coords.longitude};this.storesService.findStoresCar(o).pipe(T(1)).subscribe(r=>{this.stores.pointOfServices=r.pointOfServices,this.storesFiltered=_e({},this.stores),this.loading=!1,this.changeDetectorRef.detectChanges()})})})}selectCity(i){i.code==0?this.storesFiltered=_e({},this.stores):(this.storesFiltered.pointOfServices=_e({},this.stores).pointOfServices.filter(e=>e?.address?.city?.code==i.code),this.geoPointList=[],this.geoPoint=void 0,this.isCity=!0,this.changeDetectorRef.detectChanges(),this.geoPointList=this.storesFiltered.pointOfServices.map(e=>e?.geoPoint))}showStore(i,e,o){var r=i.target.closest(".modal-body__stores");r.classList.contains("show")?r.classList.remove("show"):(o.querySelectorAll(".modal-body__stores").forEach(function(p){p.classList.remove("show")}),r.classList.add("show"),this.geoPoint=void 0,this.changeDetectorRef.detectChanges())}showOnMap(i){this.selectedStoreSig.set(!0),this.geoPoint=i?.geoPoint,this.selectedStoreDetails=i,this.activeTabIndexSig.set(1)}changeActiveTab(i){this.selectedStoreSig.set(!1),this.activeTabIndexSig.set(i)}onSizeClick(i){this.selectedVariant=i,this.firstSelectionDoneSig()&&this.selectSize(i)}onControlClick(){this.selectedVariant&&(this.firstSelectionDoneSig.set(!0),this.selectSize(this.selectedVariant))}formatPhoneNumber(i){return i?"+9"+i.replace(/(\d{1})(\d{3})(\d{3})(\d{2})(\d{2})/,"$1 $2 $3 $4 $5"):""}get isStdProduct(){if(this.data?.isStd||!this.data?.variantOptions?.length)return!0;if(this.data.variantOptions.length===1){let i=this.data.variantOptions[0]?.variantOptionQualifiers?.[0]?.value?.toLowerCase();return!i||i==="std"||i==="standard"}return!1}ngOnInit(){let i;this.isStdProduct?i=this.data?.variantOptions?.[0]?.code||this.data?.code:this.data?.variantOptions?.length===1?i=this.data.variantOptions[0]?.code:this.data?.variantOptions?.length&&(i=this.data.variantOptions.find(e=>e.isSelected)?.code),i&&(this.selectedVariant=i,this.firstSelectionDoneSig.set(!0),Se(200).pipe(T(1)).subscribe(()=>this.selectSize(i)))}ngOnDestroy(){this.sessionStorageService.removeData("maps")}static \u0275fac=function(e){return new(e||t)(g(pe),g(me),g(ni),g(U),g(le),g(St),g(Ue),g(Gt))};static \u0275cmp=x({type:t,selectors:[["r-store-finder-modal"]],standalone:!1,decls:1,vars:1,consts:[["modalBody",""],[1,"modal-content"],[1,"close",3,"click"],[1,"modal-title"],[1,"modal-body"],[1,"modal-body__header"],[1,"modal-body__header__product"],[1,"modal-body__header__product__name"],[1,"modal-body__header__product__price"],[1,"price",3,"innerHTML"],[1,"old-price",3,"innerHTML"],[1,"submit"],["optionField","name",3,"data","placeholder"],[1,"modal-body__header__tabs"],[1,"modal-body__stores-not-found"],[1,"stores-list"],[1,"modal-body__stores__body__map"],[1,"size-title"],[1,"modal-body__header-variants"],["type","button",1,"submit",3,"disabled"],["type","radio","name","size",1,"size-radio",3,"click","id","value","checked"],[1,"size-radio-label",3,"for"],["type","button",1,"submit",3,"click"],[1,"submit",3,"click"],["optionField","name",3,"selected","data","placeholder"],["type","button",1,"modal-body__header__tabs__btn",3,"click"],["src","/assets/img/loading2.gif","width","40","alt","loading"],[1,"modal-body__stores"],[1,"modal-body__stores__title",3,"click"],[1,"pz-icon-plus","store"],[1,"modal-body__stores__body"],[1,"modal-body__stores__body__info"],[1,"information","text-uppercase"],[1,"pz-icon-marker"],[1,"information"],[1,"pz-icon-saat"],[1,"modal-body__stores__actions"],[1,"submit",3,"href"],["type","button",1,"submit","outline",3,"click"],[3,"geoPointList","isCity"],[3,"geoPoint"],[1,"modal-body__stores__body__map__details"],[1,"name"],[1,"adress"],[1,"number",3,"href"],["target","_blank",1,"direction",3,"href"]],template:function(e,o){e&1&&d(0,Ao,27,20,"div",1),e&2&&s(o.data?0:-1)},dependencies:[nt,ri,$,He],styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}.cdk-overlay-container{z-index:1000004}.mat-mdc-dialog-inner-container,.mat-mdc-dialog-surface{display:contents}.cdk-overlay-backdrop:not(.mat-datepicker-0-backdrop).cdk-overlay-backdrop-showing{background:#000;opacity:.5}.cdk-overlay-backdrop:not(.mat-datepicker-0-backdrop).top-modal+.cdk-global-overlay-wrapper{align-items:start!important;margin-top:20px}.cdk-global-overlay-wrapper:has(>.cdk-overlay-backdrop.top-modal:not(.mat-datepicker-0-backdrop)){align-items:start!important;margin-top:20px}@media(min-width:992px){.cdk-global-overlay-wrapper .small-modal{width:600px!important}}.cdk-global-overlay-wrapper .mat-mdc-dialog-container{padding:1.875rem;background:#fff;overflow-y:auto}.cdk-global-overlay-wrapper .mat-mdc-dialog-container .modal-header{position:relative;display:flex;align-items:center;padding:1rem}
7.cdk-global-overlay-wrapper .mat-mdc-dialog-container .modal-header .close{position:absolute;top:50%;right:0;line-height:1;font-size:1.188rem;height:1rem;background-color:#fff;border:none;outline:none;transform:translateY(-50%)}.cdk-global-overlay-wrapper .mat-mdc-dialog-container .modal-header .mat-mdc-dialog-title{margin:0;padding:0;color:inherit;font-family:inherit;line-height:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit}.cdk-global-overlay-wrapper .mat-mdc-dialog-content{padding:2rem;max-height:initial;color:inherit;font-family:inherit;line-height:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit}.mat-mdc-dialog-title:not(:empty):before{height:0!important}@media(max-width:767.98px){.cdk-overlay-container{z-index:1000004}.cdk-overlay-backdrop.top-modal+.cdk-global-overlay-wrapper{margin-top:0}.cdk-global-overlay-wrapper:has(>.cdk-overlay-backdrop.top-modal){margin-top:0}.cdk-global-overlay-wrapper .mobile-full-width{width:100vw!important;height:100%!important;max-width:100%!important}.cdk-global-overlay-wrapper .add-to-cart-mobile-full-width{max-width:100%!important}}form.vakkorama-input{width:100%}form.vakkorama-input .form-error{display:block;text-align:left;font-size:14px;color:#d72b01;padding:5px 0}form.vakkorama-input .form-group{margin-bottom:1rem}form.vakkorama-input .form-group input[type=text]:not(.not-uppercase){text-transform:uppercase}form.vakkorama-input .form-group input[type=text]#password{text-transform:inherit!important}form.vakkorama-input .form-group .group{width:100%;margin-top:2.5rem;position:relative}form.vakkorama-input .form-group input,form.vakkorama-input .form-group label{-webkit-transition:all .2s;transition:all .2s;font-size:14px;font-weight:400}form.vakkorama-input .form-group input[type=email],form.vakkorama-input .form-group input[type=password],form.vakkorama-input .form-group input[type=text],form.vakkorama-input .form-group input[type=tel],form.vakkorama-input .form-group input[type=date],form.vakkorama-input .form-group select{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;z-index:1;-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;width:100%;max-width:400px;color:#000;padding:10px 0;border:transparent;border-bottom:2px solid #d3d3d3;background-color:transparent}form.vakkorama-input .form-group input[type=email]::-webkit-date-and-time-value,form.vakkorama-input .form-group input[type=password]::-webkit-date-and-time-value,form.vakkorama-input .form-group input[type=text]::-webkit-date-and-time-value,form.vakkorama-input .form-group input[type=tel]::-webkit-date-and-time-value,form.vakkorama-input .form-group input[type=date]::-webkit-date-and-time-value,form.vakkorama-input .form-group select::-webkit-date-and-time-value{text-align:left}form.vakkorama-input .form-group input:focus{padding-left:0}form.vakkorama-input .form-group label{position:absolute;top:-.5rem;left:0;color:#707070;line-height:1;font-size:19px;text-transform:capitalize}form.vakkorama-input .form-group input:focus+label,form.vakkorama-input .form-group input:not(:placeholder-shown)+label{top:-1.2rem;color:#707070;font-size:.688rem;position:absolute;z-index:10;transition:all .3s}form.vakkorama-input .form-group .btn{height:56px;line-height:normal;margin:0;max-width:350px;padding:15px 10px;background-color:#000;color:#fff;text-align:center;border:0;width:100%;text-transform:uppercase;cursor:pointer;display:block;text-decoration:none}form.vakkorama-input .form-group .btn:not(:disabled):hover{background-color:#122001}form.vakkorama-input .form-group .btn.negative{border:2px solid #000;color:#000;font-size:17px;font-weight:600;background-color:#fff;line-height:.35;height:40px}form.vakkorama-input .form-group.flex{display:flex;gap:25px}form.vakkorama-input .agreement-group{display:flex;margin-bottom:1rem}form.vakkorama-input .agreement-group input[type=checkbox]{position:relative;width:0;height:auto;margin-right:2rem;border-style:none;-webkit-appearance:none;appearance:none;-moz-appearance:none;outline:none;box-sizing:border-box;padding:0;overflow:visible}form.vakkorama-input .agreement-group input[type=checkbox]:before{content:"";display:block;position:absolute;width:18px;height:18px;top:0;left:0;border:1px solid #111;border-radius:0;background-color:#fff}form.vakkorama-input .agreement-group input[type=checkbox]:checked:after{content:"";display:block;width:7px;height:16px;border:solid black;border-width:0 2px 2px 0;transform:rotate(45deg);position:absolute;top:0;left:6px}form.vakkorama-input .agreement-group label{margin-left:25px}.submit{display:flex;align-items:center;justify-content:center;padding:0 2.5rem;width:100%;height:3rem;line-height:1.5rem;text-transform:uppercase;text-decoration:none;font-size:.938rem;font-weight:600;color:#fff;background-color:#5e22ee;border:none;border-radius:.375rem;outline:none;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;font-family:RobotoRegular,sans-serif;letter-spacing:.3px}.submit:hover{background-color:#8452ff}.submit.disabled,.submit:disabled{background-color:#c8cdd1;cursor:not-allowed}.submit.outline{color:#5e22ee;background-color:#fff;border:2px solid #5E22EE}.submit.outline:hover{color:#fff;background-color:#5e22ee}.submit.bg-gray{background-color:#c8cdd1}.submit.no-validate{pointer-events:none;border-color:#c8cdd1;background-color:#c8cdd1;color:#fff;cursor:not-allowed;opacity:.5}.submit-border{display:flex;align-items:center;justify-content:center;padding:.75rem;width:11rem;line-height:1.25rem;text-transform:uppercase;text-decoration:none;font-size:.813rem;letter-spacing:.1em;font-weight:700;font-family:RobotoMedium,sans-serif;color:#1b303f;background-color:transparent;border:2px solid #1B303F;border-radius:.375rem;outline:none}.submit-border:hover{color:#5e22ee;border-color:#5e22ee}.submit-border:disabled{color:#c8cdd1;border-color:#c8cdd1;cursor:not-allowed}.submit-border.disabled{color:#c8cdd1;border-color:#c8cdd1;cursor:not-allowed}.submit.loading,.submit-border.loading{position:relative;background-color:#c8cdd1!important;border-color:transparent;opacity:.5;pointer-events:none;-webkit-user-select:none;user-select:none}.submit.loading:before,.submit-border.loading:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:inherit;z-index:2}.submit.loading:after,.submit-border.loading:after{content:"";box-sizing:border-box;position:absolute;top:50%;left:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;border-radius:50%;border:2px solid #5E22EE;border-top-color:transparent;animation:spinner 1s linear infinite;z-index:3}.checkbox{position:relative;display:inline-block;padding:0;width:16px;height:16px;vertical-align:middle;text-align:center;line-height:0!important;border:2px solid #C8CDD1;outline:0;-webkit-appearance:none;-moz-appearance:none;transition:all .2s ease-in-out!important;cursor:pointer}@media(hover:hover){.checkbox:hover{border-color:#5e22ee}}.checkbox:checked{background-color:#5e22ee;border-color:#5e22ee}
7.checkbox:checked:after{content:"";display:block;position:absolute;left:3px;width:6px;height:10px;border:solid #FFFFFF;border-width:0 2px 2px 0;transform:rotate(45deg)}.checkbox.round{border-radius:.25rem}.radio{display:inline-block!important;position:relative!important;padding:0!important;width:16px!important;height:16px!important;vertical-align:middle!important;line-height:0!important;text-align:center!important;border:2px solid #C8CDD1!important;border-radius:100%!important;outline:0!important;-webkit-appearance:none!important;-moz-appearance:none!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important;cursor:pointer!important}@media(hover:hover){.radio:hover{border-color:#5e22ee!important}}.radio:checked{border-color:#5e22ee!important}.radio:checked:before{content:""!important;display:block!important;position:absolute!important;margin:auto!important;width:8px!important;height:8px!important;line-height:17px!important;font-size:16px!important;background-color:#5e22ee!important;border-radius:100%!important;inset:0!important}.r-input{position:relative}.r-input label{position:absolute;left:0;line-height:1.25rem;text-transform:uppercase;font-size:.813rem;font-weight:400;color:#8a9298;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;letter-spacing:-.6px}.r-input label[for=birthdate]{top:-.6rem;line-height:1.25rem;font-size:.813rem}.r-input input{appearance:none;box-sizing:border-box;padding-inline-start:0;padding-inline-end:0;padding:1rem 0;width:100%;height:3rem;line-height:1.25rem;font-size:.813rem;color:#1b303f;background-color:transparent;border:transparent;border-bottom:2px solid #ECEEEF;border-radius:0;z-index:1;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;font-weight:400}.r-input input:hover,.r-input input:focus{border-color:#1b303f}.r-input input:hover~label,.r-input input:not(:placeholder-shown)~label,.r-input input:focus~label{top:-.6rem;line-height:1.25rem;font-size:.813rem}.select{width:100%;height:2.35rem;line-height:1.75rem;text-transform:uppercase;letter-spacing:.05rem;font-size:.875rem;color:#8a9298;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border:none;border-bottom:2px solid #EEEEEE}.select.plus-select{background:url(/assets/icons/plus.svg);appearance:none;background-repeat:no-repeat;background-size:15px;background-position:calc(100% + -0px);font-size:.938rem;line-height:1.5rem;color:#1b303f;font-weight:600}.r-input .form-error,.r-select .form-error{display:block;width:100%;line-height:1.25rem;font-size:.813rem;color:#d00404}.size-radio{visibility:hidden;position:absolute;left:-9999px}.size-radio-label{border:2px solid #C8CDD1;border-radius:.375rem;font-size:.813rem;font-weight:700;font-family:RobotoMedium,sans-serif;line-height:1;letter-spacing:.05em;color:#1b303f;padding:6px 0;cursor:pointer;width:2.5rem;height:2rem;text-align:center}.size-radio-label:hover{border-color:#8452ff;color:#8452ff}.size-radio-label.selected{background-color:#5e22ee;color:#fff;border-color:#5e22ee}.text{padding:1rem .75rem;width:100%;height:3rem;line-height:1.5rem;font-size:.813rem;color:#1b303f;border:2px solid #ECEEEF;border-radius:.375rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.text:focus{border-color:#1b303f}@media(max-width:767.98px){form.vakkorama-input .form-group input[type=email],form.vakkorama-input .form-group input[type=password],form.vakkorama-input .form-group input[type=text],form.vakkorama-input .form-group input[type=tel],form.vakkorama-input .form-group input[type=date],form.vakkorama-input .form-group select,form.vakkorama-input .form-group .btn{max-width:initial}form.vakkorama-input .form-group.flex{flex-direction:column;gap:0}}.cdk-overlay-container .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{background-color:#000000d9}.cdk-overlay-container .product-details-store-finder-modal{margin:0 auto;width:925px;height:100%;position:absolute!important;max-width:32rem!important;right:0}.cdk-overlay-container .product-details-store-finder-modal .mat-mdc-dialog-container{border-radius:unset}.cdk-overlay-container .product-details-store-finder-modal .modal-content{width:100%;height:100%;overflow-y:auto}.cdk-overlay-container .product-details-store-finder-modal .modal-content button.close{background:none;border:none}.cdk-overlay-container .product-details-store-finder-modal .modal-content .close{position:absolute;top:20px;right:10px;width:20px;height:20px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .close:before,.cdk-overlay-container .product-details-store-finder-modal .modal-content .close:after{content:"";display:block;position:absolute;top:8px;left:-3px;width:26px;height:2px;background-color:#000;border-radius:5px;transform:rotate(45deg)}.cdk-overlay-container .product-details-store-finder-modal .modal-content .close:after{transform:rotate(-45deg)}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal
7-title{height:60px;line-height:60px;text-transform:uppercase;background-color:#fff;font-size:1.188rem;font-weight:700;font-family:RobotoMedium,sans-serif;letter-spacing:.05em}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body{padding:20px 0}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header{margin-bottom:30px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header__product{display:none}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header .city-select{margin-top:24px;width:100%}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header-variants{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:1rem}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header-variants .size-radio-label{padding:0 .25rem;width:auto;line-height:2rem;white-space:nowrap;min-width:2.5rem}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header-variants input:checked+.size-radio-label{background:#5e22ee;color:#fff;border:2px solid #5E22EE}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header button.submit{margin:24px 0}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header span.size-title{font-size:.938rem;line-height:1.5rem;text-transform:uppercase;margin-bottom:.75rem;font-weight:900;font-family:RobotoMedium,sans-serif}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header__tabs{display:flex;align-items:center;gap:42px;margin:35px 0}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header__tabs__btn{font-size:16px;border:none;background:none;color:#888;font-weight:600;height:36px;text-transform:uppercase;padding:8px 22px;display:flex;align-items:center;justify-content:center}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header__tabs__btn.active{border:1px solid #4F18C6;color:#4f18c6;border-radius:6px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header__tabs__btn.active:hover{background-color:#4f18c6;color:#fff;cursor:pointer}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores{min-height:58px;display:flex;justify-content:center;border-top:1px solid #C4C4C4;flex-direction:column}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores.show{margin-bottom:19px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores.show .modal-body__stores__body{display:block;padding-left:13px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores.show .modal-body__stores__title{min-height:58px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores.show .pz-icon-plus.store:before{content:"\\f14e"}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__title{display:flex;align-items:center;justify-content:space-between;text-transform:uppercase;font-size:13px;font-weight:400;font-family:RobotoMedium,sans-serif;letter-spacing:.75px;cursor:pointer;color:#111;width:100%}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body{display:none}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__info{display:inline-block;width:100%;vertical-align:top;font-size:13px;font-weight:300;letter-spacing:.65px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__info-name{font-size:17px;line-height:1.75rem;font-weight:600;letter-spacing:.05em;color:#1b303f;display:flex;gap:10px;align-items:center;margin-top:1.25rem}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__info span.information{font-size:13px;font-weight:400;line-height:1.25rem;letter-spacing:.05em;
7color:#1d1d1d;display:flex;gap:10px;align-items:center;margin-bottom:19px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__info span.information i{color:#5e22ee;font-size:1.375rem;line-height:2rem}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__info span.information a{color:#1d1d1d}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__info p{margin:0;text-transform:uppercase}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__info__working-hours__row__col{display:inline-block;width:33%}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__map{height:427px;width:100%;position:relative}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__map__details{position:absolute;bottom:43px;width:214px;left:25px;padding:13px;background-color:#fff;font-size:11px;display:flex;flex-direction:column;gap:10px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__map__details .name{font-size:13px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__map__details .number{text-decoration:underline;color:#000;padding-left:10px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__map__details .adress{padding-left:10px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__map__details .direction{color:#4f18c6;text-decoration:underline;text-transform:uppercase;font-weight:600}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__actions{display:flex;align-items:center;justify-content:space-between;margin-top:13px;gap:23px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__actions .submit{height:44px;padding:0 1.5rem}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__actions a{color:#fff;font-size:12px;font-weight:600}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__actions button{font-weight:600;font-size:12px;color:#000;border-color:#000}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__actions button:hover{background-color:#000;color:#fff}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores-not-found{text-align:center}@media(max-width:767.98px){.cdk-overlay-container .product-details-store-finder-modal{margin:0;max-width:unset!important;width:100%;height:100%}.cdk-overlay-container .product-details-store-finder-modal .mat-mdc-dialog-container{padding:0 1rem}.cdk-overlay-container .product-details-store-finder-modal .modal-content{width:100%;position:relative}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-title{letter-spacing:.75px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body{padding:0}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header__product{display:none;margin:30px 0 10px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header__product__name{font-size:14px;letter-spacing:.75px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header__product__price .price{font-size:14px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header__product__price .old-price{margin-left:12px;font-size:13px;padding-left:12px;color:#d3d3d3;text-decoration:line-through}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header select.plus-select{margin-top:350px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__header-variants{margin-top:1rem}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal
7-body__header v-custom-dropdown .vakkorama-custom-dropdown__button{font-weight:900}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__title{padding:0 10px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__info{padding:0 10px;display:block;width:100%}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__info__working-hours__row:nth-child(n+2){margin-top:5px}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__map{position:relative!important;margin-top:10px;display:block;height:375px;top:0;left:0}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__body__map__details{display:none}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body__stores__actions{flex-direction:column}.cdk-overlay-container .product-details-store-finder-modal .modal-content .modal-body .stores-list{overflow:auto;margin-bottom:30px}}
8`],encapsulation:2,changeDetection:0})};function No(t,i){if(t&1&&u(0,"img",7),t&2){let e,o,r=c().$implicit,p=c(2);_("src",I(p.resolveAbsoluteUrl(r.icon.url)),E)("alt",I(r.code+" \u0130con"))("title",I(r.code+"\u0130con"))("width",I((e=p.getImageSize("icon"))==null?null:e.width))("height",I((o=p.getImageSize("icon"))==null?null:o.height))}}function Ho(t,i){if(t&1&&(xt(),a(0,"svg",10)(1,"g",11),u(2,"path",12),l()()),t&2){let e=c(2).$implicit;gt(e.code.toLowerCase())}}function Uo(t,i){if(t&1&&u(0,"i"),t&2){let e=c(2).$implicit;gt(De("pz-icon-",e.code.toLowerCase()," ",e.code.toLowerCase()))}}function $o(t,i){if(t&1&&d(0,Ho,3,2,":svg:svg",8)(1,Uo,1,4,"i",9),t&2){let e=c().$implicit;s(e.code.toLowerCase()==="twitter"?0:1)}}function Wo(t,i){if(t&1&&(a(0,"li")(1,"a",6),d(2,No,1,10,"img",7)(3,$o,2,1),l()()),t&2){let e=i.$implicit;n(),_("href",I(e.url),E),n(),s(e.icon&&e.icon.url?2:3)}}function Go(t,i){if(t&1){let e=C();a(0,"div",0)(1,"div",1),m(2),f(3,"cxTranslate"),a(4,"button",2),v("click",function(){b(e);let r=c();return y(r.closeDialog())}),u(5,"i",3),l()(),a(6,"ul"),P(7,Wo,4,3,"li",null,O),l(),a(9,"div",4),m(10),l(),a(11,"button",5),v("click",function(){b(e);let r=c();return y(r.copyLink())}),m(12),f(13,"cxTranslate"),l()()}if(t&2){let e=c();n(2),k(" ",h(3,3,"modal.share")," "),n(5),V(e.data==null?null:e.data.socialNetworkShareButtons),n(3),k(" ",e.productUrl," "),n(2),k(" ",h(13,5,e.linkCopied?"modal.copied2":"common.copy")," ")}}var at=class t{constructor(i,e,o){this.matDialogRef=i;this.data=e;this.config=o}matDialogRef;data;config;#e=L(Q);productUrl=this.#e.nativeWindow?.window?.location.href??"";linkCopied=!1;getImageSize=Ne;closeDialog(){this.matDialogRef.close()}copyLink(){this.#e.nativeWindow?.navigator.clipboard.writeText(this.productUrl),this.linkCopied=!0}resolveAbsoluteUrl(i){return typeof i!="string"?"":!i||i.startsWith("http")||i.startsWith("//")?i:this.getBaseUrl()+i}getBaseUrl(){return this.config.backend?.media?.baseUrl??this.config.backend?.occ?.baseUrl??""}static \u0275fac=function(e){return new(e||t)(g(pe),g(me),g(Fe))};static \u0275cmp=x({type:t,selectors:[["r-share-modal"]],standalone:!1,decls:1,vars:1,consts:[[1,"modal-content"],[1,"modal-title"],[1,"close",3,"click"],[1,"pz-icon-close"],[1,"product-link"],[1,"copy-link",3,"click"],["target","_blank","rel","nofollow noopener","referrerpolicy","no-referrer",3,"href"],[3,"src","alt","title","width","height"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","24px","height","24px","viewBox","0 0 24 24","version","1.1",3,"class"],[3,"class"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","24px","height","24px","viewBox","0 0 24 24","version","1.1"],["id","surface1"],["d","M 14.285156 10.171875 L 23.222656 0 L 21.105469 0 L 13.34375 8.832031 L 7.148438 0 L 0 0 L 9.371094 13.355469 L 0 24.019531 L 2.117188 24.019531 L 10.308594 14.691406 L 16.851562 24.019531 L 24 24.019531 M 2.878906 1.5625 L 6.132812 1.5625 L 21.101562 22.535156 L 17.851562 22.535156 ",2,"stroke","none","fill-rule","nonzero","fill-opacity","1"]],template:function(e,o){e&1&&d(0,Go,14,7,"div",0),e&2&&s(o.data?0:-1)},dependencies:[$],styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}.cdk-overlay-container{z-index:1000004}.mat-mdc-dialog-inner-container,.mat-mdc-dialog-surface{display:contents}.cdk-overlay-backdrop:not(.mat-datepicker-0-backdrop).cdk-overlay-backdrop-showing{background:#000;opacity:.5}.cdk-overlay-backdrop:not(.mat-datepicker-0-backdrop).top-modal+.cdk-global-overlay-wrapper{align-items:start!important;margin-top:20px}.cdk-global-overlay-wrapper:has(>.cdk-overlay-backdrop.top-modal:not(.mat-datepicker-0-backdrop)){align-items:start!important;margin-top:20px}@media(min-width:992px){.cdk-global-overlay-wrapper .small-modal{width:600px!important}}.cdk-global-overlay-wrapper .mat-mdc-dialog-container{padding:1.875rem;background:#fff;overflow-y:auto}.cdk-global-overlay-wrapper .mat-mdc-dialog-container .modal-header{position:relative;display:flex;align-items:center;padding:1rem}
8.cdk-global-overlay-wrapper .mat-mdc-dialog-container .modal-header .close{position:absolute;top:50%;right:0;line-height:1;font-size:1.188rem;height:1rem;background-color:#fff;border:none;outline:none;transform:translateY(-50%)}.cdk-global-overlay-wrapper .mat-mdc-dialog-container .modal-header .mat-mdc-dialog-title{margin:0;padding:0;color:inherit;font-family:inherit;line-height:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit}.cdk-global-overlay-wrapper .mat-mdc-dialog-content{padding:2rem;max-height:initial;color:inherit;font-family:inherit;line-height:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit}.mat-mdc-dialog-title:not(:empty):before{height:0!important}@media(max-width:767.98px){.cdk-overlay-container{z-index:1000004}.cdk-overlay-backdrop.top-modal+.cdk-global-overlay-wrapper{margin-top:0}.cdk-global-overlay-wrapper:has(>.cdk-overlay-backdrop.top-modal){margin-top:0}.cdk-global-overlay-wrapper .mobile-full-width{width:100vw!important;height:100%!important;max-width:100%!important}.cdk-global-overlay-wrapper .add-to-cart-mobile-full-width{max-width:100%!important}}.cdk-overlay-container .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{background-color:#000000d9}.cdk-overlay-container .product-share-modal{padding:1.25rem;max-width:unset!important;width:26.875rem!important;background-color:#fff;border-radius:0}.cdk-overlay-container .product-share-modal button{background:none;border:none}.cdk-overlay-container .product-share-modal .mat-mdc-dialog-container{padding:0;min-height:13.5rem}.cdk-overlay-container .product-share-modal .modal-content{padding:0;width:100%;position:relative}.cdk-overlay-container .product-share-modal .modal-content .close{position:absolute;top:auto;right:.5rem}.cdk-overlay-container .product-share-modal .modal-content .close i{line-height:1.75rem;font-size:1rem}.cdk-overlay-container .product-share-modal .modal-content .modal-title{display:flex;align-items:center;justify-content:center;width:100%;height:3.75rem;line-height:1.75rem;text-transform:uppercase;letter-spacing:.05em;font-size:1.188rem;font-weight:700;font-family:RobotoMedium,sans-serif;color:#444;border-bottom:2px solid #F5F6F8}.cdk-overlay-container .product-share-modal .modal-content ul{display:flex;justify-content:space-evenly;column-gap:2.75rem;margin-top:1.25rem;padding:0 1.5rem;list-style-type:none}.cdk-overlay-container .product-share-modal .modal-content ul li{display:flex;align-items:center;justify-content:center}.cdk-overlay-container .product-share-modal .modal-content ul li a{text-decoration:none}.cdk-overlay-container .product-share-modal .modal-content ul li a:hover i.mail{color:#52575b}.cdk-overlay-container .product-share-modal .modal-content ul li a:hover i.pinterest{color:#d00404}.cdk-overlay-container .product-share-modal .modal-content ul li a:hover i.facebook{color:#4267b2}.cdk-overlay-container .product-share-modal .modal-content ul li a:hover i.whatsapp{color:#1bd526}.cdk-overlay-container .product-share-modal .modal-content ul li a:hover .twitter path{f
8ill:#000}.cdk-overlay-container .product-share-modal .modal-content ul li a i{line-height:2.25rem;font-size:1.75rem;color:#8a9298}.cdk-overlay-container .product-share-modal .modal-content ul li a .twitter path{fill:#8a9298}.cdk-overlay-container .product-share-modal .modal-content .product-link{margin-top:.75rem;padding:.5rem 1rem;line-height:1rem;letter-spacing:.05em;font-size:.688rem;color:#1d1d1d;border:2px solid #F5F6F8}.cdk-overlay-container .product-share-modal .modal-content .copy-link{display:inline-block;position:absolute;padding:0;width:100%;text-align:center;font-size:.938rem;color:#000}.cdk-overlay-container .product-share-modal .modal-content .copy-link span{display:inline-block;margin-left:.5rem;letter-spacing:1.04px;text-transform:lowercase;color:#d2691e}@media(max-width:767.98px){.cdk-overlay-container .product-share-modal{max-width:unset!important;width:100%}.cdk-overlay-container .product-share-modal .modal-content{background-color:#f9fafa}.cdk-overlay-container .product-share-modal .modal-content .modal-title{background-color:#fff}.cdk-overlay-container .product-share-modal .modal-content ul{column-gap:2.25rem}.cdk-overlay-container .product-share-modal .modal-content ul li a i.mail{color:#52575b}.cdk-overlay-container .product-share-modal .modal-content ul li a i.pinterest{color:#d00404}.cdk-overlay-container .product-share-modal .modal-content ul li a i.facebook{color:#4267b2}.cdk-overlay-container .product-share-modal .modal-content ul li a i.whatsapp{color:#1bd526}.cdk-overlay-container .product-share-modal .modal-content .product-link{overflow-wrap:anywhere}.cdk-overlay-container .product-share-modal .modal-content .copy-link{background-color:#f9fafa}}
9`],encapsulation:2,changeDetection:0})};var lt=class t extends Ht{constructor(i,e){super(i,e)}getShareOptions(i){return this.get(this.occEndpointsService.buildUrl("shareSocialNetwork",{urlParams:{productCode:i}}))}static \u0275fac=function(e){return new(e||t)(ut(Mt),ut(Et))};static \u0275prov=Ct({token:t,factory:t.\u0275fac,providedIn:"root"})};var ct=class t{constructor(i,e,o){this.vakkoramaProductShareSerice=i;this.matDialog=e;this.currentProductService=o}vakkoramaProductShareSerice;matDialog;currentProductService;productData;productCode="";socialNetworkShareButtons;openShareModal(i){this.matDialog.open(at,{data:i,hasBackdrop:!0,panelClass:"product-share-modal"})}getShareButtons(){this.productCode&&this.socialNetworkShareButtons&&this.socialNetworkShareButtons.socialNetworkShareButtons?this.openShareModal(this.socialNetworkShareButtons):this.currentProductService.getProduct().pipe(T(1)).subscribe(i=>{i?.code&&(this.productCode=i.code,this.vakkoramaProductShareSerice.getShareOptions(this.productCode).pipe(T(1)).subscribe(e=>{this.socialNetworkShareButtons=e,this.openShareModal(e)}))})}static \u0275fac=function(e){return new(e||t)(g(lt),g(K),g(R))};static \u0275cmp=x({type:t,selectors:[["r-share"]],inputs:{productData:"productData"},standalone:!1,decls:2,vars:0,consts:[[1,"btn","btn-link","button-add","cx-action-link",3,"click"],[1,"pz-icon-share"]],template:function(e,o){e&1&&(a(0,"button",0),v("click",function(){return o.getShareButtons()}),u(1,"i",1),l())},styles:[`r-share{display:inline-block;padding:0}r-share button,r-share a{display:block;padding:0;background:none;border:none;outline:none;cursor:pointer}@media(max-width:767.98px){r-share.mobile{position:absolute;top:7px;right:65px;z-index:2}r-share.mobile button{padding:0;border:none}}
10`],encapsulation:2,changeDetection:0})};var si=()=>({}),qo=()=>({cxRoute:"login"});function Ko(t,i){if(t&1&&(a(0,"div",3),m(1),l()),t&2){let e=c(6);n(),k(" ",e.stockNotificationMessage," ")}}function Jo(t,i){if(t&1){let e=C();a(0,"button",6),f(1,"async"),v("click",function(){let r=b(e),p=c(7);return y(p.notifyWhenInStock(r,p.selectedVariantOption==null?null:p.selectedVariantOption.code))}),m(2),f(3,"cxTranslate"),u(4,"i",7),l()}if(t&2){let e=c(7);z("loading",h(1,3,e.isLoading$)),n(2),k(" ",h(3,5,"addToCartProduct.notifyWhenInStock")," ")}}function Zo(t,i){if(t&1&&(d(0,Jo,5,7,"button",5),f(1,"async")),t&2){let e,o=c(6);s((e=h(1,1,o.userId$))?0:-1,e)}}function Xo(t,i){t&1&&(a(0,"a",4),f(1,"cxUrl"),m(2),f(3,"cxTranslate"),u(4,"i",7),l()),t&2&&(_("routerLink",h(1,2,j(6,qo))),n(2),k(" ",h(3,4,"addToCartProduct.notifyWhenInStock")," "))}function en(t,i){if(t&1&&(d(0,Ko,2,1,"div",3),d(1,Zo,2,3),f(2,"async"),he(3,Xo,5,7,"a",4)),t&2){let e=c(5);s(e.stockNotificationMessage?0:-1),n(),s(h(2,2,e.isUserLoggedIn$)?1:3)}}function tn(t,i){t&1&&(a(0,"button",2),m(1),f(2,"cxTranslate"),l()),t&2&&(_("disabled",!0),n(),k(" ",h(2,2,"wishlist.outOfStock")," "))}function on(t,i){if(t&1&&(a(0,"div",1),f(1,"async"),d(2,en,4,4)(3,tn,3,4,"button",2),l()),t&2){let e=c(4);z("hidden",h(1,3,e.isLoading$)),n(2),s(e.product.isBackInStockAvailable&&e.product.isActive?2:3)}}function nn(t,i){if(t&1&&d(0,on,4,5,"div",0),t&2){let e=c(3);s(!(e.product!=null&&e.product.isStd)&&(e.selectedVariantOption&&(e.selectedVariantOption==null||e.selectedVariantOption.stock==null?null:e.selectedVariantOption.stock.stockLevelStatus)==="outOfStock"||(e.product.stock==null?null:e.product.stock.stockLevelStatus)==="outOfStock")||e.product!=null&&e.product.isStd&&(e.product==null||e.product.stock==null?null:e.product.stock.stockLevel)==0?0:-1)}}function rn(t,i){if(t&1&&(a(0,"div",1),f(1,"async"),a(2,"button",2),m(3),f(4,"cxTranslate"),l()()),t&2){let e=c(3);z("hidden",h(1,4,e.isLoading$)),n(2),_("disabled",!0),n(),k(" ",h(4,6,"wishlist.outOfStock")," ")}}function an(t,i){if(t&1&&(d(0,nn,1,1),f(1,"json"),f(2,"json"),f(3,"json"),f(4,"json"),he(5,rn,5,8,"div",0)),t&2){let e=c(2);s(e.product!=null&&e.product.isStd||h(1,1,e.selectedVariantOption)===h(2,3,j(9,si))||!(e.product!=null&&e.product.isStd)&&h(3,5,e.selectedVariantOption)!==h(4,7,j(10,si))&&(e.selectedVariantOption!=null&&e.selectedVariantOption.isActive)?0:5)}}function ln(t,i){if(t&1&&(a(0,"div",1),f(1,"async"),a(2,"button",2),m(3),f(4,"cxTranslate"),l()()),t&2){let e=c(2);z("hidden",h(1,4,e.isLoading$)),n(2),_("disabled",!0),n(),k(" ",h(4,6,"wishlist.outOfStock")," ")}}function cn(t,i){if(t&1&&d(0,an,6,11)(1,ln,5,8,"div",0),t&2){let e=c();s(e.product.isActive?0:1)}}var dt=class t{constructor(i,e,o,r,p,S){this.productVariantCodeService=i;this.cartService=e;this.changeDetectorRef=o;this.translationService=r;this.matDialog=p;this.router=S}productVariantCodeService;cartService;changeDetectorRef;translationService;matDialog;router;#e=L(Rt);#t=L(Lt);#i=L(R);productData;isLoading$=new kt(!1);isUserLoggedIn$=this.#e.isUserLoggedIn();userId$=this.#t.getUserId();selectedVariantOption;stockNotificationMessage="";product$=this.#i.getProduct();product;anErrorOccurredText;subscription=new ee;notifyWhenInStock(i,e){e=!e&&typeof this.selectedVariantOption=="str
10ing"?this.selectedVariantOption:e,e?(this.isLoading$.next(!0),this.cartService.stockNotification(i,e).pipe(T(1)).subscribe(o=>{o&&o?.message?this.matDialog.open(Qt,{data:{type:"stock-notify",title:o?.message},hasBackdrop:!0,panelClass:"stock-notify-modal"}):this.stockNotificationMessage=this.anErrorOccurredText+".",this.isLoading$.next(!1)},o=>{this.stockNotificationMessage=this.anErrorOccurredText+".",this.isLoading$.next(!1)})):this.productVariantCodeService.setVariantError(!0)}ngOnInit(){this.translationService.translate("common.anErrorOccurred").pipe(T(1)).subscribe(i=>this.anErrorOccurredText=i),this.subscription.add(this.product$.subscribe(i=>{this.product=i,this.changeDetectorRef.detectChanges()})),this.subscription.add(this.productVariantCodeService.currentProductSelectedVariantOption.subscribe(i=>{this.selectedVariantOption=i,this.changeDetectorRef.detectChanges()})),this.subscription.add(this.router.events.subscribe(i=>{i instanceof Ie&&(this.stockNotificationMessage="")}))}ngOnDestroy(){this.subscription.unsubscribe(),this.productVariantCodeService.setSelectedVariantOption({})}static \u0275fac=function(e){return new(e||t)(g(ue),g(Ut),g(U),g(Be),g(K),g(de))};static \u0275cmp=x({type:t,selectors:[["r-stock-notification"]],inputs:{productData:"productData"},standalone:!1,decls:1,vars:1,consts:[[1,"out-of-stock",3,"hidden"],[1,"out-of-stock"],["type","button",1,"submit",3,"disabled"],[1,"out-of-stock__message"],[1,"submit","bg-gray",3,"routerLink"],["type","submit",1,"submit","bg-gray",3,"loading"],["type","submit",1,"submit","bg-gray",3,"click"],[1,"pz-icon-envelope"]],template:function(e,o){e&1&&d(0,cn,2,1),e&2&&s(o.product&&(o.product==null?null:o.product.salesRule)!=="1"&&(o.product==null?null:o.product.salesRule)!=="14"?0:-1)},dependencies:[Ee,ce,Te,$,je],styles:[".out-of-stock[_ngcontent-%COMP%]{position:relative}.out-of-stock[_ngcontent-%COMP%]   .submit.bg-gray[_ngcontent-%COMP%]:hover{background-color:#8452ff}.out-of-stock[_ngcontent-%COMP%]   .submit.bg-gray[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin:-.4rem 0 0 1rem;font-size:1.375rem}.out-of-stock__message[_ngcontent-%COMP%]{width:100%;font-size:.9rem;display:flex;align-items:center;margin-bottom:.5rem}@media(max-width:767.98px){.out-of-stock__message[_ngcontent-%COMP%]{margin:1rem 0 .5rem}.out-of-stock[_ngcontent-%COMP%]   .submit[_ngcontent-%COMP%]{margin-top:1.75rem}}"],changeDetection:0})};function sn(t,i){if(t&1){let e=C();a(0,"div",3)(1,"button",9),v("click",function(){b(e);let r=c();return y(r.openStyledLookModal(r.productData,"STYLEDLOOK"))}),m(2),f(3,"cxTranslate"),l()()}if(t&2){let e=c();n(),z("loading",e.isLoadingSig()),_("disabled",e.isLoadingSig()),n(),k(" ",h(3,4,"common.styledLook")," ")}}var st=class t{constructor(i,e,o){this.matDialog=i;this.productService=e;this.dialog=o}matDialog;productService;dialog;productData;hasStyledLook=Ot(()=>this.productData?.referenceTypes?.some(i=>i.type==="STYLEDLOOK")??!1);isLoadingSig=ie(!1);openStoreFinderModal(i){this.matDialog.open(rt,{data:i,hasBackdrop:!0,panelClass:"product-details-store-finder-modal"})}openStyledLookModal(i,e){i?.code&&(this.isLoadingSig.set(!0),this.productService.getProductReferences(i.code,e).pipe(T(1),bt(()=>this.isLoadingSig.set(!1))).subscribe({next:o=>{let r=o?.references?.map(S=>S.target)??[],p=i.images?.GALLERY?.[0]?.product??null;r?.length>0&&this.dialog.open(Jt,{data:{styledLookProducts:r,mainImage:p},hasBackdrop:!0,panelClass:["mobile-full-width","references-products-modal-wrapper"]})}}))}static \u0275fac=function(e){return new(e||t)(g(K),g(J),g(K))};static \u0275cmp=x({type:t,selectors:[["r-product-actions"]],inputs:{productData:"productData"},standalone:!1,decls:13,vars:9,consts:[[1,"product-actions"],[1,"product-actions__actions"],[3,"productData"],[1,"styled-look-button-container"],[1,"product-actions__buttons"],[1,"product-actions__buttons__find-in-store"],["type","button",3,"click"],[1,"product-actions__buttons__share-wishlist"],[3,"product","page"],[1,"submit","outline","styled-look-button",3,"click","disabled"]],template:function(e,o){e&1&&(a(0,"div",0)(1,"div",1),u(2,"r-product-add-to-cart",2)(3,"r-stock-notification",2),d(4,sn,4,6,"div",3),l(),a(5,"div",4)(6,"div",5)(7,"button",6),v("click",function(){return o.openStoreFinderModal(o.productData)}),m(8),f(9,"cxTranslate"),l()(),a(10,"div",7),u(11,"r-share",2)(12,"r-add-to-wis
10hlist",8),l()()()),e&2&&(n(2),_("productData",o.productData),n(),_("productData",o.productData),n(),s(o.hasStyledLook()?4:-1),n(4),k(" ",h(9,7,"productPage.availableStores")," "),n(3),_("productData",o.productData),n(),_("product",o.productData)("page","pdp"))},dependencies:[ai,Wt,ct,dt,$],styles:[`r-product-actions .product-actions__actions{width:100%}r-product-actions .product-actions__buttons{display:flex;margin:2rem 0}r-product-actions .product-actions__buttons__find-in-store{display:flex;flex:1}r-product-actions .product-actions__buttons__find-in-store button{padding:0;text-transform:uppercase;text-decoration:underline;line-height:1.25rem;letter-spacing:.1em;font-size:14px;font-weight:900;color:#1b303f;background:none;border:none;outline:none}r-product-actions .product-actions__buttons__find-in-store button:hover{color:#8452ff}r-product-actions .product-actions__buttons__share-wishlist{display:flex}r-product-actions .product-actions .styled-look-button-container{margin-top:10px}r-product-actions .product-actions .styled-look-button-container .styled-look-button{color:#111;border-color:#111;font-size:13px;font-weight:600}r-product-actions .product-actions .styled-look-button-container .styled-look-button:hover{background-color:#f5f5f5}
11`],encapsulation:2,changeDetection:0})};var mn=["productFeaturesAccordion"],un=(t,i)=>i.title;function gn(t,i){if(t&1){let e=C();a(0,"button",8),v("click",function(){b(e);let r=c(2);return y(r.gotoProductVideo())}),u(1,"i",9),m(2),f(3,"cxTranslate"),l()}t&2&&(n(2),k(" ",h(3,1,"productPage.productPromotionVideo")," "))}function fn(t,i){if(t&1&&u(0,"div",2),t&2){let e=c(2);_("innerHTML",e.productData.customReturnPolicy,D)}}function _n(t,i){if(t&1){let e=C();a(0,"div",10)(1,"div",5),v("click",function(r){b(e);let p=c(3);return y(p.showTab(r))}),m(2),f(3,"cxTranslate"),l(),u(4,"div",11),l()}if(t&2){let e=c(3);n(2),k(" ",h(3,2,"productPage.productDescription")," "),n(2),_("innerHTML",e.variantPrice.description,D)}}function hn(t,i){if(t&1){let e=C();a(0,"div",10)(1,"div",5),v("click",function(r){b(e);let p=c(3);return y(p.showTab(r))}),m(2),f(3,"cxTranslate"),l(),u(4,"div",11),l()}if(t&2){let e=c(3);n(2),k(" ",h(3,2,"productPage.productDescription")," "),n(2),_("innerHTML",e.productData.description,D)}}function kn(t,i){if(t&1&&d(0,_n,5,4,"div",10)(1,hn,5,4,"div",10),t&2){let e=c(2);s(e.variantPrice&&e.variantPrice.description?0:1)}}function vn(t,i){if(t&1&&(a(0,"li")(1,"span"),m(2),l(),a(3,"label"),m(4),l()()),t&2){let e=c().$implicit;n(2),k(" ",e.name,": "),n(2),k(" ",e.featureValues[0]==null?null:e.featureValues[0].value," ")}}function bn(t,i){if(t&1&&d(0,vn,5,2,"li"),t&2){let e=i.$implicit;s(e!=null&&e.name&&(e.featureValues[0]!=null&&e.featureValues[0].value)?0:-1)}}function yn(t,i){if(t&1&&P(0,bn,1,1,null,null,O),t&2){let e=c(2);V(e.productData.classifications[0]==null?null:e.productData.classifications[0].features)}}function Cn(t,i){if(t&1){let e=C();a(0,"div",4)(1,"div",5),v("click",function(r){b(e);let p=c(2);return y(p.showTab(r))}),m(2),l(),u(3,"div",11),l()}if(t&2){let e=i.$implicit;n(2),k(" ",e.title," "),n(),_("innerHTML",e.content,D)}}function xn(t,i){if(t&1&&(a(0,"div",12),u(1,"img",13),a(2,"span"),m(3),l()()),t&2){let e=i.$implicit,o=c(3);n(),_("src",I(o.resolveAbsoluteUrl(e==null||e.icon==null?null:e.icon.url)),E)("alt",I(e==null?null:e.name)),n(2),k(" ",e==null||e.description==null?null:e.description.toLocaleLowerCase("tr")," ")}}function Sn(t,i){if(t&1){let e=C();a(0,"div",4)(1,"div",5),v("click",function(r){b(e);let p=c(2);return y(p.showTab(r))}),m(2),f(3,"cxTranslate"),l(),a(4,"div",6),P(5,xn,4,5,"div",12,O),l()()}if(t&2){let e=c(2);n(2),k(" ",h(3,1,"productPage.careInstructions")," "),n(3),V(e.productData.careTypeList)}}function wn(t,i){if(t&1){let e=C();a(0,"div",4)(1,"div",5),v("click",function(r){b(e);let p=c(2);return y(p.showTab(r))}),m(2),f(3,"cxTranslate"),l(),u(4,"div",14),l()}if(t&2){let e=c(2);n(2),k(" ",h(3,2,"productPage.returnAndExchange")," "),n(2),_("innerHTML",e.productData.returnPolicy,D)}}function Pn(t,i){if(t&1){let e=C();d(0,gn,4,3,"button",1),d(1,fn,1,1,"div",2),a(2,"div",3,0),d(4,kn,2,1),a(5,"div",4)(6,"div",5),v("click",function(r){b(e);let p=c();return y(p.showTab(r))}),m(7),f(8,"cxTranslate"),l(),a(9,"div",6)(10,"ul",7),d(11,yn,2,0),l()()(),P(12,Cn,4,2,"div",4,un),d(14,Sn,7,3,"div",4),d(15,wn,5,4,"div",4),l()}if(t&2){let e=c();s(!(e.productData==null||e.productData.galleryVideos==null)&&e.productData.galleryVideos.length?0:-1),n(),s(!(e.productData==null||e.productData.customReturnPolicy==null)&&e.productData.customReturnPolicy.length?1:-1),n(3),s(e.productData!=null&&e.productData.description||e.variantPrice&&e.variantPrice.description?4:-1),n(3),k(" ",h(8,7,"productPage.productFeatures")," "),n(4),s(e.productData!=null&&e.productData.classifications?11:-1),n(),V(e.productData==null?null:e.productData.customTabs),n(2),s(!(e.productData==null||e.productData.careTypeList==null)&&e.productData.careTypeList.length?14:-1),n(),s(!(e.productData==null||e.productData.returnPolicy==null)&&e.productData.returnPolicy.length?15:-1)}}var pt=class t{constructor(i,e,o,r,p){this.config=i;this.vakkoramaProductService=e;this.cdr=o;this.renderer2=r;this.windowRef=p}config;vakkoramaProductService;cdr;renderer2;windowRef;#e=L(R);productData;productFeaturesAccordion;product$=this.#e.getProduct();variantPrice;
11subject=new ae;gotoProductVideo(){Se(200).pipe(T(1)).subscribe(()=>{window.scrollTo({top:this.windowRef.document.querySelector(".js-product-details-video")?.getBoundingClientRect().top-170,behavior:"smooth"})})}ngOnInit(){this.vakkoramaProductService.currentvariantPricesAndDescription.pipe(te(this.subject)).subscribe(i=>{this.variantPrice=i,this.cdr.detectChanges()})}ngOnDestroy(){this.subject.next(!0),this.subject.complete()}showTab(i){i.target.parentElement.classList.value.includes("active")?this.renderer2.removeClass(i.target.parentElement,"active"):(this.productFeaturesAccordion?.nativeElement?.querySelectorAll(".product-features-accordion__item")?.forEach(e=>{this.renderer2.removeClass(e,"active")}),this.renderer2.addClass(i.target.parentElement,"active"))}resolveAbsoluteUrl(i){return typeof i!="string"?"":!i||i.startsWith("http")||i.startsWith("//")?i:this.getBaseUrl()+i}getBaseUrl(){return this.config.backend?.media?.baseUrl??this.config.backend?.occ?.baseUrl??""}static \u0275fac=function(e){return new(e||t)(g(Fe),g(J),g(U),g(le),g(Q))};static \u0275cmp=x({type:t,selectors:[["r-product-features"]],viewQuery:function(e,o){if(e&1&&oe(mn,5),e&2){let r;Y(r=q())&&(o.productFeaturesAccordion=r.first)}},inputs:{productData:"productData"},standalone:!1,decls:1,vars:1,consts:[["productFeaturesAccordion",""],["type","button",1,"open-video"],[1,"product-custom-return-policy",3,"innerHTML"],[1,"product-features-accordion"],[1,"product-features-accordion__item"],[1,"product-features-accordion__item__title",3,"click"],[1,"product-features-accordion__item__content"],[1,"product-features-accordion__item__content__features"],["type","button",1,"open-video",3,"click"],[1,"pz-icon-circle-play"],[1,"product-features-accordion__item","active"],[1,"product-features-accordion__item__content",3,"innerHTML"],[1,"product-features-accordion__item__content__care-instruction"],[3,"src","alt"],[1,"product-features-accordion__item__content","return-policy",3,"innerHTML"]],template:function(e,o){e&1&&d(0,Pn,16,9),e&2&&s(o.productData?0:-1)},dependencies:[$],styles:[`.open-video{display:flex;align-items:center;justify-content:center;margin:1rem 0;width:215px;height:40px;color:#5e22ee;background-color:transparent;border:2px solid #5E22EE;border-radius:5px;outline:none;cursor:pointer}.open-video i{margin-right:.5rem;color:#8a9298}.product-custom-return-policy{margin-bottom:1rem;padding:.75rem;width:100%;line-height:1.25rem;font-size:.813rem;background-color:#e7e7e5;border:2px solid #EEEEEE;border-radius:.5rem}.product-features-accordion__item.active .product-features-accordion__item__title:after{content:"\\f14e"}.product-features-accordion__item.active .product-features-accordion__item__content{display:block}.product-features-accordion__item__title{position:relative;display:flex;align-items:center;justify-content:space-between;padding:1rem 0;text-transform:uppercase;line-height:1.5rem;font-size:.938rem;font-weight:600;color:#1d1d1d;cursor:pointer;transition:all .5s linear}.product-features-accordion__item__title:after{content:"\\f156";position:absolute;top:50%;right:0;line-height:1rem;font-family:pz-icon!important;font-size:.688rem;transform:translateY(-50%)}.product-features-accordion__item__title.stores:hover{color:#263961}.product-features-accordion__item__content{display:none;margin:0;line-height:1.25rem;letter-spacing:.05em;font-size:.813rem}.product-features-accordion__item__content p{margin:0}.product-features-accordion__item__content__features{margin:0;padding:0;list-style-type:none}.product-features-accordion__item__content__features li span{text-transform:uppercase;font-weight:600}.product-features-accordion__item__content__features li label{font-size:14px}.product-features-accordion__item__content__care-instruction{display:flex;align-items:center;column-gap:.75rem;line-height:1.25rem;font-size:.813rem;color:#000}.product-features-accordion__item__content__care-instruction img{width:38px;height:38px}.product-features-accordion__item__content__care-instruction span{text-transform:capitalize}.product-features-accordion__item__content.return-policy p{margin-bottom:1.25rem;font-size:.813rem;line-height:1.25rem;letter-spacing:.05em}.product-features-accordion__item__content.return-policy p.title{margin-bottom:.25rem;font-weight:700;font-family:RobotoMedium,sans-serif}.product-features-accordion__item__content.return-policy a{font-weight:600;color:#5e22ee}.product-features-accordion__item__content.return-policy a:hover{color:#000}
12`],encapsulation:2,changeDetection:0})};var zn=["video"],ht=()=>[0,1,2,3,4],On=()=>[0,1,2],Dn=()=>[0,1,2,3];function Mn(t,i){if(t&1&&u(0,"campaign-detail",6),t&2){let e=c();
12_("pdpCampaignList",e.campaignDetailList)}}function Tn(t,i){t&1&&u(0,"div",9)}function In(t,i){t&1&&u(0,"img",11)}function En(t,i){t&1&&u(0,"img",12)}function Fn(t,i){if(t&1){let e=C();a(0,"div",7)(1,"div",8),v("mouseenter",function(){b(e);let r=c(2);return y(r.toggleShowPauseButton(!0))})("mouseleave",function(){b(e);let r=c(2);return y(r.toggleShowPauseButton(!1))}),d(2,Tn,1,0,"div",9),a(3,"button",10),v("click",function(){b(e);let r=c(2);return y(r.togglePlayerStatus())}),d(4,In,1,0,"img",11),d(5,En,1,0,"img",12),l(),a(6,"video",13,0),u(8,"source",14),l()()()}if(t&2){let e=c(),o=c();n(2),s(o.videoStatus?-1:2),n(2),s(o.videoStatus?-1:4),n(),s(o.videoStatus&&o.pauseButtonStatus?5:-1),n(3),ze("src",e.galleryVideos[0])}}function Ln(t,i){if(t&1&&(a(0,"div",1)(1,"div",3),u(2,"r-product-images",4),l(),a(3,"div",5),u(4,"r-product-summary",4)(5,"r-product-container",4)(6,"r-product-actions",4)(7,"r-product-features",4),d(8,Mn,1,1,"campaign-detail",6),l(),d(9,Fn,9,4,"div",7),l()),t&2){let e=i;n(2),_("productData",e),n(2),_("productData",e),n(),_("productData",e),n(),_("productData",e),n(),_("productData",e),n(),s(!(e==null||e.campaignDetailList==null)&&e.campaignDetailList.length?8:-1),n(),s(!(e==null||e.galleryVideos==null)&&e.galleryVideos.length?9:-1)}}function Rn(t,i){t&1&&u(0,"div",18)}function Bn(t,i){t&1&&u(0,"div",21)}function jn(t,i){t&1&&u(0,"div",34)}function An(t,i){t&1&&(a(0,"div",39),u(1,"div",48)(2,"div",49),l())}function Nn(t,i){t&1&&(a(0,"div",47),u(1,"div",50)(2,"div",51),l())}function Hn(t,i){t&1&&(a(0,"div",2)(1,"div",3)(2,"div",15)(3,"div",16)(4,"div",17),P(5,Rn,1,0,"div",18,O),l()(),u(7,"div",19),a(8,"div",20),P(9,Bn,1,0,"div",21,O),l()()(),a(11,"div",22)(12,"div",23),u(13,"div",24)(14,"div",25),l(),a(15,"div",26),u(16,"div",27),l(),a(17,"div",28)(18,"div",29)(19,"div",30),u(20,"div",31)(21,"div",32),l(),a(22,"div",33),P(23,jn,1,0,"div",34,O),l()(),a(25,"div",35)(26,"div",36),u(27,"div",37),l(),a(28,"div",38),P(29,An,3,0,"div",39,O),l()()(),u(31,"div",40),a(32,"div",41)(33,"div",42),u(34,"div",43),l(),a(35,"div",44),u(36,"div",45)(37,"div",45),l()(),a(38,"div",46),P(39,Nn,3,0,"div",47,O),l()()()),t&2&&(n(5),V(j(0,ht)),n(4),V(j(1,ht)),n(14),V(j(2,ht)),n(6),V(j(3,On)),n(10),V(j(4,Dn)))}var pi=class t{constructor(i,e,o){this.storageService=i;this.router=e;this.winRef=o;this.storageService.removeData("maps")}storageService;router;winRef;#e=L(R);#t=new ee;video;videoStatus=!1;pauseButtonStatus=!1;product$=this.#e.getProduct();togglePlayerStatus(){this.videoStatus?(this.videoStatus=!1,this.video?.nativeElement?.pause()):(this.videoStatus=!0,this.video?.nativeElement?.play())}toggleShowPauseButton(i){this.pauseButtonStatus=i}ngOnInit(){this.winRef.isBrowser()&&this.#t.add(this.router.events.subscribe(i=>{i instanceof Ie&&(this.winRef.nativeWindow?.sessionStorage?.getItem("prodIdAndCategory")?.split("-link-")[1]?.includes(i.url)||this.winRef.nativeWindow?.sessionStorage?.removeItem("prodIdAndCategory"))}))}ngOnDestroy(){this.#t.unsubscribe()}static \u0275fac=function(e){return new(e||t)(g(Ue),g(de),g(Q))};static \u0275cmp=x({type:t,selectors:[["r-product-details"]],viewQuery:function(e,o){if(e&1&&oe(zn,5),e&2){let r;Y(r=q())&&(o.video=r.first)}},standalone:!1,decls:3,vars:3,consts:[["video",""],[1,"row"],[1,"row","product-details-skeleton"],[1,"col-md-7","col-sm-12"],[3,"productData"],[1,"col-md-5","col-sm-12"],[3,"pdpCampaignList"],[1,"product-details-video-wrapper","js-product-details-video"],[1,"product-details-video",3,"mouseenter","mouseleave"],[1,"overlay"],["type","button",3,"click"],["src","/assets/icons/video-play-circle.svg"],["src","/assets/icons/video-pause-circle.svg"],["width","100%"],["type","video/mp4"],[1,"product-image-container","row"],[1,"col-md-2","mobile-hidden"],[1,"gallery-slider-thumbs"],[1,"gallery-slider-thumb","skeleton-animation"],[1,"product-image-wrapper","col-md-10","col-sm-12","ml-0","px-0","skeleton-animation"],[1,"gallery-slider-thumbs-mobile"],[1,"gallery-slider-thumb-mobile","skeleton-animation"],[1,"product-details","col-md-5","col-sm-12"],[1,"product-title-container"],[1,"product-brand","skeleton-animation","skeleton-text"],[1,"product-title","skeleton-animation","skeleton-text"],[1,"product-price-container"],[1,"product-price","skeleton-animation","skeleton-text"],[1,"variant-section"],[1,"product-sizes"],[1,"size-header"],[1,"size-title","skeleton-animation","skeleton-text"],[1,"size-table","skeleton-animation","skeleton-text"],[1,"product-size-containet"],[1,"product-size","skeleton-animation","size-skeleton"],[1,"product-styles"],[1,"style-header-container"],[1,"style-header","skeleton-animation","skeleton-text"],[1,"style-container"],[1,"style-wrapper"],[1,"product-add-to-cart","skeleton-animation"],[1,"product-actions-container"],[1,"product-actions-left"],[1,"product-stores","skeleton-animation","skeleton-animation-text"],[1,"product-actions-right"],[1,"product-action","skeleton-animation","skeleton-animation-text"],[1,"product-features-container"],[1,"product-features-wrapper"],[1,"style-image","skeleton-animation"],[1,"style-text","skeleton-animation"],[1,"product-features-text","skeleton-animation","skeleton-animation-text"],[1,"product-features-icon","skeleton-animation","skeleton-animation-text"]],template:function(e,o){if(e&1&&(d(0,Ln,10,7,"div",1),f(1,"async"),he(2,Hn,41,5,"div",2)),e&2){let r;s((r=h(1,1,o.product$))?0:2,r)}},dependencies:[$e,We,ot,st,pt,Kt,ce],styles:[".product-details-video-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin:5rem 0 1.5rem}.product-details-video-wrapper[_ngcontent-%COMP%]   .product-details-video[_ngcontent-%COMP%]{position:relative}.product-details-video-wrapper[_ngcontent-%COMP%]   .product-details-video[_ngcontent-%COMP%]   .overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background:#000c;z-index:1}.product-details-video-wrapper[_ngcontent-%COMP%]   .product-details-video[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;background-color:transparent;border:none;outline:none;transform:translate(-50%,-50%);z-index:2}.product-details-skeleton[_ngcontent-%COMP%]{display:flex;margin-top:24px}.product-details-skeleton[_ngcontent-%COMP%]   .product-image-container[_ngcontent-%COMP%]{width:100%}.product-details-skeleton[_ngcontent-%COMP%]   .product-image-container[_ngcontent-%COMP%]   .gallery-slider-thumbs[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.25rem;width:77px;height:100%}.product-details-skeleton[_ngcontent-%COMP%]   .product-image-container[_ngcontent-%COMP%]   .gallery-slider-thumbs[_ngcontent-%COMP%]   .gallery-slider-thumb[_ngcontent-%COMP%]{width:77px;height:110px}.product-details-skeleton[_ngcontent-%COMP%]   .product-image-container[_ngcontent-%COMP%]   .product-image-wrapper[_ngcontent-%COMP%]{height:800px}.product-details-skeleton[_ngcontent-%COMP%]   .product-image-container[_ngcontent-%COMP%]   .gallery-slider-thumbs-mobile[_ngcontent-%COMP%]{display:none}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;width:100%}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-title-container[_ngcontent-%COMP%]   .product-brand[_ngcontent-%COMP%]{width:10rem!important;height:1.563rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-title-container[_ngcontent-%COMP%]   .product-title[_ngcontent-%COMP%]{width:18.7
125rem!important;height:2.25rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-price-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-price-container[_ngcontent-%COMP%]   .product-price[_ngcontent-%COMP%]{margin-top:1rem;width:18.75rem!important;height:1.563rem!important}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]{margin-top:3.5rem;width:100%}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]   .product-sizes[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]   .product-sizes[_ngcontent-%COMP%]   .size-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]   .product-sizes[_ngcontent-%COMP%]   .size-header[_ngcontent-%COMP%]   .size-title[_ngcontent-%COMP%]{width:3.125rem!important;height:1.5rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]   .product-sizes[_ngcontent-%COMP%]   .size-header[_ngcontent-%COMP%]   .size-table[_ngcontent-%COMP%]{width:6.25rem!important;height:1.5rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]   .product-sizes[_ngcontent-%COMP%]   .product-size-containet[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1rem;width:100%;height:2rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]   .product-sizes[_ngcontent-%COMP%]   .product-size-containet[_ngcontent-%COMP%]   .product-size[_ngcontent-%COMP%]{width:3.125rem!important;height:2rem;border-radius:.375rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]   .product-styles[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:2rem;width:100%}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]   .product-styles[_ngcontent-%COMP%]   .style-header-container[_ngcontent-%COMP%]{display:flex;width:100%}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]   .product-styles[_ngcontent-%COMP%]   .style-header-container[_ngcontent-%COMP%]   .style-header[_ngcontent-%COMP%]{width:6.25rem!important;height:1.25rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]   .product-styles[_ngcontent-%COMP%]   .style-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:.5rem;margin-top:3rem;width:100%;height:6.875rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]   .product-styles[_ngcontent-%COMP%]   .style-container[_ngcontent-%COMP%]   .style-wrapper[_ngcontent-%COMP%]   .style-image[_ngcontent-%COMP%]{width:3.5rem!important;height:5.625rem;border-radius:.375rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .variant-section[_ngcontent-%COMP%]   .product-styles[_ngcontent-%COMP%]   .style-container[_ngcontent-%COMP%]   .style-wrapper[_ngcontent-%COMP%]   .style-text[_ngcontent-%COMP%]{margin-top:.5rem;width:3.5rem!important;height:.938rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-add-to-cart[_ngcontent-%COMP%]{display:flex;margin:2rem 0 0!important;margin:auto;width:100%!important;height:3rem;border-radius:.3rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-actions-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:2rem;width:100%}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-actions-container[_ngcontent-%COMP%]   .product-actions-left[_ngcontent-%COMP%]   .product-stores[_ngcontent-%COMP%]{width:12.5rem!important;height:1.563rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-actions-container[_ngcontent-%COMP%]   .product-actions-right[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:.5rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-actions-container[_ngcontent-%COMP%]   .product-actions-right[_ngcontent-%COMP%]   .product-action[_ngcontent-%COMP%]{width:1.25rem!important;height:1.25rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-features-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:2.5rem;margin-top:4rem;width:100%}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-features-container[_ngcontent-%COMP%]   .product-features-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-features-container[_ngcontent-%COMP%]   .product-features-wrapper[_ngcontent-%COMP%]   .product-features-text[_ngcontent-%COMP%]{width:15.625rem!important;height:1.563rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-features-container[_ngcontent-%COMP%]   .product-features-wrapper[_ngcontent-%COMP%]   .product-features-icon[_ngcontent-%COMP%]{width:.938rem!important;height:.938rem}@media(max-width:767.98px){.product-details-video-wrapper[_ngcontent-%COMP%]{margin:1.5rem 0;max-width:100%}.product-details-skeleton[_ngcontent-%COMP%]   .product-image-container[_ngcontent-%COMP%]   .mobile-hidden[_ngcontent-%COMP%]{display:none!important}.product-details-skeleton[_ngcontent-%COMP%]   .product-image-container[_ngcontent-%COMP%]   .product-image-wrapper[_ngcontent-%COMP%]{height:500px}.product-details-skeleton[_ngcontent-%COMP%]   .product-image-container[_ngcontent-%COMP%]   .gallery-slider-thumbs-mobile[_ngcontent-%COMP%]{display:flex!important;flex-direction:row;align-items:center;justify-content:center;gap:.5rem;margin-top:.75rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-image-container[_ngcontent-%COMP%]   .gallery-slider-thumbs-mobile[_ngcontent-%COMP%]   .gallery-slider-thumb-mobile[_ngcontent-%COMP%]{width:.5rem!important;height:.25rem;border-radius:.5rem}.product-details-skeleton[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]{margin-top:3rem}}"]})};export{pi as VakkoramaProductDetailsComponent};

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.