1import{a as Ut,b as jt}from"./chunk-7KEMEADJ.js";import"./chunk-HXBXA37M.js";import"./chunk-I7HN2TFF.js";import"./chunk-SSQIKV4P.js";import"./chunk-KMVTD57H.js";import{a as Bt}from"./chunk-QUKQHYDK.js";import"./chunk-KL2KLE5M.js";import"./chunk-MBMZTWAM.js";import"./chunk-C5L4LNCK.js";import"./chunk-OBSSQRTL.js";import"./chunk-KU2O3L7J.js";import"./chunk-W44FBMPW.js";import{a as $t,b as zt}from"./chunk-RQ2HOJY3.js";import"./chunk-5LI5XQBC.js";import"./chunk-U4TJZZCX.js";import"./chunk-4EIT2CEA.js";import"./chunk-6AQ52CVB.js";import"./chunk-G4UGBRUR.js";import"./chunk-EJRQAIFP.js";import{a as At}from"./chunk-JPDTHPXK.js";import{c as Ft}from"./chunk-W3PG6UIC.js";import"./chunk-WDGVVLRT.js";import"./chunk-DP5QTXPL.js";import"./chunk-V3NUA5DS.js";import"./chunk-I6RZDWYB.js";import"./chunk-ENHXPV3E.js";import"./chunk-WKWOA52O.js";import"./chunk-CAMMZ5OK.js";import"./chunk-Z4MFEC2N.js";import{a as Nt}from"./chunk-FAR6M3EK.js";import"./chunk-MYBONOXW.js";import"./chunk-K2GFVTTH.js";import"./chunk-6MFLHDW3.js";import"./chunk-D3VWQFQT.js";import"./chunk-HVLIBCXM.js";import"./chunk-4AU6AZEO.js";import"./chunk-HU6WUJQM.js";import"./chunk-HLBOZCAV.js";import"./chunk-67IT4HQ6.js";import"./chunk-IE3MJRHA.js";import"./chunk-CMCMHQ7A.js";import"./chunk-D67HJXMQ.js";import"./chunk-4KYERXWD.js";import"./chunk-5CZSBVZS.js";import"./chunk-2QHSH4C5.js";import"./chunk-DQOLIOYP.js";import"./chunk-IBYIX5MO.js";import"./chunk-24VJINGO.js";import"./chunk-PX7IBPKX.js";import{e as Lt}from"./chunk-7SBEU2JP.js";import{b as Ot}from"./chunk-NC4Z3HC2.js";import{C as Dt,E as Rt,F as Vt,n as xt,p as kt,q as yt,v as Tt,z as It}from"./chunk-MB4ZUEBV.js";import{e as Et}from"./chunk-XKAGL2N2.js";import{f as Mt,j as bt,k as St}from"./chunk-Q73GTSZO.js";import{a as wt}from"./chunk-EUS5PJXI.js";import"./chunk-HAREWLKU.js";import{n as vt}from"./chunk-JWBDM5LC.js";import"./chunk-RTFY5ZBM.js";import{A as O,B as E,g as Ct,j as Pt,q as ft}from"./chunk-UVX264GG.js";import{$b as h,$c as mt,Bc as V,Cc as L,D as G,Dc as N,Fb as D,Hc as x,J as rt,Mc as k,Md as ht,Na as ct,Nc as pt,Oc as A,Qa as lt,_c as p,ac as C,ad as ut,fc as P,gc as a,gd as tt,ha as y,hb as l,hc as c,hd as w,ic as g,id as T,md as F,oa as H,oc as R,pa as X,pc as J,r as at,sd as gt,ta as st,tb as d,vc as Z,xc as m,y as ot,zb as dt,zd as _t}from"./chunk-3V3BUESU.js";import{a as nt,b as it}from"./chunk-HGJ4MBLN.js";var Xt=["relatedSwiper"],Jt=["productSwiper"],Zt=["relatedProductTemplate"],te=["similarProductTemplate"],Wt=()=>({slidesPerView:1}),Kt=()=>({slidesPerView:2.1}),Yt=()=>({slidesPerView:2.1,spaceBetween:10}),qt=()=>({slidesPerView:2,spaceBetween:10}),Qt=()=>({slidesPerView:2.5}),Gt=()=>({slidesPerView:3.5,spaceBetween:10}),K=()=>({slidesPerView:6,spaceBetween:10}),Ht=(e,r,t,o,i,n,u,M)=>({100:e,300:r,400:t,450:o,500:i,900:n,1024:u,1500:M}),ee=(e,r)=>({"bg-grey":e,"bg-white":r}),ne=e=>[e];function ie(e,r){if(e&1&&(a(0,"div",7)(1,"div",8)(2,"div",9),g(3,"div",10),a(4,"div",11),g(5,"div",12)(6,"div",12)(7,"div",12)(8,"div",12),c()(),a(9,"div",13),g(10,"div",14)(11,"div",15)(12,"div",16)(13,"div",16)(14,"hr"),a(15,"div",17),g(16,"div",18),a(17,"div",19),g(18,"div",20)(19,"div",20)(20,"div",20)(21,"div",20),c()(),a(22,"div",17),g(23,"div",18),a(24,"div",19),g(25,"div",20)(26,"div",20),c()(),a(27,"div",21),g(28,"div",22)(29,"div",22)(30,"div",23),c(),a(31,"div",24),g(32,"div",25),a(33,"ul"),g(34,"li",26)(35,"li",27)(36,"li",26)(37,"li",26)(38,"li",27),c()()()()()),e&2){let t=m();P("ngClass",t.lang()=="ar"?"ar-dir":"")}}function ae(e,r){e&1&&(a(0,"span",38),k(1),w(2,"translate"),c()),e&2&&(l(),A(" ",T(2,1,"productDetails.relatedProducts")," "))}function oe(e,r){if(e&1&&(a(0,"span",35),R(1,39),c()),e&2){m();let t=x(4);l(),P("ngTemplateOutlet",t)}}function re(e,r){if(e&1&&(a(0,"h2",35),R(1,39),c()),e&2){m();let t=x(4);l(),P("ngTemplateOutlet",t)}}function se(e,r){if(e&1&&(a(0,"div",31)(1,"div",33)(2,"div",34),D(3,ae,3,3,"ng-template",null,2,F),h(5,oe,2,1,"span",35)(6,re,2,1,"h2",35),c(),a(7,"div",36),g(8,"app-swiper-container",37,3),c()()()),e&2){let t=m(2),o=x(5);l(5),C((t.environmentVariables==null?null:t.environmentVariables.SECTION_TIT
1LE_TAG)==="span"?5:6),l(3),P("slidesPerView","6")("spaceBetween","10")("keyboard",!0)("navigation",t.relatedProducts&&t.relatedProducts.length>6)("pagination",!1)("grabCursor",!0)("loop",t.environmentVariables==null?null:t.environmentVariables.ENABLE_SIMILAR_PRODUCTS_LOOP)("lazy",!0)("autoplay",!0)("speed",500)("breakpoints",tt(23,Ht,p(15,Wt),p(16,Kt),p(17,Yt),p(18,qt),p(19,Qt),p(20,Gt),p(21,K),p(22,K)))("items",t.relatedProducts)("contentTemplate",o)("slideClass","")}}function ce(e,r){e&1&&(a(0,"h2"),k(1),w(2,"translate"),c()),e&2&&(l(),A(" ",T(2,1,"productDetails.youMightAlsoLike")," "))}function le(e,r){e&1&&(a(0,"span",38),k(1),w(2,"translate"),c()),e&2&&(l(),A(" ",T(2,1,"productDetails.similarProducts")," "))}function de(e,r){if(e&1&&(a(0,"span",35),R(1,39),c()),e&2){m();let t=x(1);l(),P("ngTemplateOutlet",t)}}function pe(e,r){if(e&1&&(a(0,"h2",35),R(1,39),c()),e&2){m();let t=x(1);l(),P("ngTemplateOutlet",t)}}function me(e,r){if(e&1&&(D(0,le,3,3,"ng-template",null,5,F),h(2,de,2,1,"span",35)(3,pe,2,1,"h2",35)),e&2){let t=m(3);l(2),C((t.environmentVariables==null?null:t.environmentVariables.SECTION_TITLE_TAG)==="span"?2:3)}}function ue(e,r){if(e&1&&(a(0,"div",32)(1,"div",33)(2,"div",34),h(3,ce,3,3,"h2"),h(4,me,4,1),c(),a(5,"div",40)(6,"div",36),g(7,"app-swiper-container",37,4),c()()()()),e&2){let t=m(2),o=x(7);P("ngClass",ut(17,ee,!(t.environmentVariables!=null&&t.environmentVariables.NEW_PRODUCTS_DETAILS_UI),t.environmentVariables==null?null:t.environmentVariables.NEW_PRODUCTS_DETAILS_UI)),l(3),C(t.environmentVariables!=null&&t.environmentVariables.NEW_PRODUCTS_DETAILS_UI?-1:3),l(),C(t.environmentVariables!=null&&t.environmentVariables.NEW_PRODUCTS_DETAILS_UI?4:-1),l(3),P("slidesPerView","6")("spaceBetween","10")("keyboard",!0)("navigation",t.productsList&&t.productsList.length>6)("pagination",!1)("grabCursor",!0)("loop",t.productsList&&t.productsList.length>=8)("lazy",!0)("autoplay",t.productsList&&t.productsList.length>6)("speed",500)("breakpoints",tt(28,Ht,p(20,Wt),p(21,Kt),p(22,Yt),p(23,qt),p(24,Qt),p(25,Gt),p(26,K),p(27,K)))("items",t.productsList)("contentTemplate",o)("slideClass","")}}function ge(e,r){if(e&1&&(a(0,"div",6)(1,"div",28)(2,"div",29),g(3,"embryo-ShopDetails",30),h(4,se,10,32,"div",31),h(5,ue,9,37,"div",32),c()()()),e&2){let t=m();l(3),P("currency",t.embryoService?t.embryoService.currency:"")("detailData",t.dataProduct)("installment",t.installment)("productsList",t.productsList),l(),C(t.relatedProducts.length&&!(t.environmentVariables!=null&&t.environmentVariables.ENABLE_SHOW_RELATED_PRODUCTS_AFTER_IMAGE_PREVIEW)&&!(t.environmentVariables!=null&&t.environmentVariables.ENABLE_FREQUENTLY_BOUGHT_TOGETHER_AS_PACKAGE)?4:-1),l(),C(t.productsList!=null&&t.productsList.length?5:-1)}}function _e(e,r){if(e&1&&(a(0,"div",41)(1,"div",42)(2,"mat-icon",43),k(3," hide_source "),c(),a(4,"h4"),k(5),w(6,"translate"),c(),a(7,"a",44),k(8),w(9,"translate"),c()()()),e&2){let t=m(3);l(5),pt(T(6,3,"productDetails.unavailableProduct")),l(2),P("routerLink",mt(7,ne,"/"+t.lang()+"/")),l(),A(" ",T(9,5,"cart.goForShopping"))}}function he(e,r){if(e&1&&h(0,_e,10,9,"div",41),e&2){let t=m(2);C(t.loading?-1:0)}}function Ce(e,r){e&1&&D(0,he,1,1,"ng-template")}function Pe(e,r){if(e&1){let t=J();a(0,"app-updated-product-card",46),Z("addToCart",function(i){H(t);let n=m(2);return X(n.addToCart(i))}),c()}if(e&2){let t=m().$implicit;P("product",t)}}function fe(e,r){if(e&1&&h(0,Pe,1,1,"app-updated-product-card",45),e&2){let t=r.$implicit;C(t?0:-1)}}function ve(e,r){if(e&1){let t=J();a(0,"app-updated-product-card",46),Z("addToCart",function(i){H(t);let n=m(2);return X(n.addToCart(i))}),c()}if(e&2){let t=m().$implicit;P("product",t)}}function Oe(e,r){if(e&1&&h(0,ve,1,1,"app-updated-product-card",45),e&2){let t=r.$implicit;C(t?0:-1)}}var tn=(()=>{class e{route;productsService;translate;embryoService;auth;router;confgServ;sanitizer;metaService;MarketingService;location;redirectService;requestTracker;storage;transferState;windowService;platformId;cdr;notFoundState=y(At);document=y(st);responseInit=y(ht,{optional:!0});relatedSwiper;productSwiper;relatedProductTemplate;similarProductTemplate;id;type;apiResponse;singleProductData;productsList;relatedProducts=[];dataProduct;dataProductSimilarProducts=[];productListLocal;languageService=y(Vt);lang=this.languageService.currentLanguage;environmentVariables;loading=!1;similarProductsLoading=!1;areaSubscription;branchSubscription;isAvalableSlug=1;variantfound;showNotAvaliableSection=!1;installment;_isSlugCorrection=!1;initialClientNavigationHandled=!1;crossMarketRefreshDone=!1;priceSync=y(Nt);constructor(t,o,i,n,u,M,b,B,U,j,s,v,S,$,Y,q,z,Q){this.route=t,this.productsService=o,this.translate=i,this.embryoService=n,this.auth=u,this.router=M,this.confgServ=b,this.sanitizer=B,this.metaService=U,this.MarketingService=j,this.location=s,this.redirectService=v,this.requestTracker=S,this.storage=$,this.transferState=Y,this.windowService=q,this.platformId=z,this.cdr=Q,this.areaSubscription=this.auth.getAreaDataEmit().subscribe(f=>{this.getData()}),this.branchSubscription=this.auth.getBranchDataEmit().subscribe(f=>{this.getData()}),this.getInitilizingData(),gt(()=>{let f=this.lang();if(this.dataProduct){let I=this.dataProduct.product_variants?.find(_=>_.slug===this.id||_.slug_ar===this.id);if(I){let _=f==="en"?I.slug:I.slug_ar||I.slug;_&&_!==this.id&&(this.id=_,this._isSlugCorrection=!0,O(this.platformId)&&window.history.replaceState(null,"",`/${f}/${_}`))}}})}getInitilizingData(){this.confgServ.getenvConfig().subscribe(t=>{this.environmentVariables=t,O(this.platformId)&&!this.crossMarketRefreshDone&&this.id&&this.isCrossMarketRender(t)&&(this.crossMarketRefreshDone=!0,this.dataProduct=null,this.getData(this.id,!0))})}isCrossMarketRender(t){let o=t?.CURRENCY_CODE_EN;if(!o)return!1;let i=globalThis?.__SSR_PRICE_CURRENCY__;return typeof i=="string"&&i?i!==o:!!t?.SEO_PRICE_CURRENCY&&t.SEO_PRICE_CURRENCY!==o}shouldKeepHydratedFirstPaint(){return this.isCrossMarketRender(this.environmentVariables)?!1:O(this.platformId)&&!this.initialClientNavigationHandled&&!!this.document?.querySelector?.('app-root[ng-server-context="ssr"]')}getProductTransferKey(t){return`detail-product:${this.lang()}:${t}`}lastViewItemSlug=null;ngOnInit(){this.route.params.subscribe(t=>{let o=t.name;if(this._isSlugCorrection){this._isSlugCorrection=!1,this.id=o;return}this.id=o;let i=this.shouldKeepHydratedFirstPaint();i||(this.dataProduct=null),this.getData(this.id,!i),O(this.platformId)&&(this.initialClientNavigationHandled=!0),O(this.platformId)&&ot(window,"storage").pipe(G(u=>u.key==="auth_token"),at(u=>u.newValue)).subscribe(()=>{this.getData()})})}getData(t=this.id,o=!0){if(this.route.queryParams.subscribe(i=>{this.variantfound=Number(i.variant)}),this.variantfound)this.loading=!0,this.productsService.getComparedProductById(this.variantfound).subscribe(i=>{this.loading=!1,i.code==200&&this.router.navigate([`${this.lang()}/${i.data.product.slug}`])});else if(t){o&&(this.loading=!0),t.includes("&utm_campaign")&&(t=t.replace("&utm_campaign",""));let i=this.getProductTransferKey(t);if(O(this.platformId)&&this.transferState.hasKey(i)){let n=this.transferState.get(i,null);this.transferState.remove(i);let u=!!this.environmentVariables?.ENABLE_MULTI_COUNTRY;n?.code===200&&!u&&(this.dataProduct=n.data.product,this.relatedProducts=n?.data?.product?.related_skus||[],this.showNotAvaliableSection=!!this.dataProduct,this.loading=!1,setTimeout(()=>this.cdr.detectChanges(),0))}this.productsService.getProductBySlug(t,"ignore_similar_products=1").subscribe({next:n=>{if(E(this.platformId)&&this.transferState.set(i,n),n.code===200){this.dataProduct=n.data.product,this.priceSync.markReconciled(),setTimeout(()=>this.cdr.detectChanges(),0);let u=this.environmentVariables?.CURRENCY_CODE_EN||this.environmentVariables?.tempCurrentCurrancy||"";if(O(this.platformId)){let s=this.dataProduct.product_variants?.find(S=>S.slug===this.id||S.slug_ar===this.id)||this.dataProduct.product_variants?.[0],v=s?it(nt({},s),{category:s.category||this.dataProduct.category,brand:s.brand||this.dataProduct.brand}):this.dataProduct;this.lastViewItemSlug!==this.id&&(this.lastViewItemSlug=this.id,this.MarketingService.dataLayerProductListEvent("view_item",u,[v]))}if(O(this.platformId)){let s=this.dataProduct.product_variants?.find(f=>f.slug===this.id||f.slug_ar===this.id)||this.dataProduct.product_variants?.[0],v={currency:u,value:s?.price??null,content_type:"product",item_id:s?.sku,item_name:s?.name||this.dataProduct.name,item_brand:this.dataProduct?.brand?.name??null,item_availability:s?.in_stock?"available":"unavailable"};
1this.MarketingService.GA4ViewProductEvent(v);let S=this.MarketingService.generateRandomTenDigitNumber(),$=f=>{let _=this.document.cookie.split("; ").filter(W=>W.startsWith(f+"="));if(_.length===0)return null;if(_.length===1)return _[0].split("=")[1];let et=_.find(W=>!W.includes("domain=")||W.includes(`domain=${this.windowService.getWindow()?.location.hostname}`));return et?et.split("=")[1]:(console.warn(`Multiple ${f} cookies found, using first match`),_[0].split("=")[1])},Y=$("_fbc"),q=$("_fbp"),z={custom_data:{content_ids:[this.dataProduct.product_variants[0]?.sku],content_type:"product",content_name:this.dataProduct.name,contents:[{id:this.dataProduct.product_variants[0]?.sku,item_price:this.dataProduct.product_variants[0]?.discount_price?this.dataProduct.product_variants[0]?.discount_price:this.dataProduct.product_variants[0]?.price}],currency:this.environmentVariables?.CURRENCY_CODE_EN?this.environmentVariables?.CURRENCY_CODE_EN:this.environmentVariables?.tempCurrentCurrancy,value:this.dataProduct.product_variants[0]?.discount_price?this.dataProduct.product_variants[0]?.discount_price:this.dataProduct.product_variants[0]?.price},external_id:this.storage.getLocal("auth_user_crocs",null)?.id,product_id:this.dataProduct.product_variants[0]?.id};this.environmentVariables?.fbPixelId&&!this.environmentVariables?.DISABLE_FB_CONVERSION_WEBSITE_CALL&&this.MarketingService.fbTracking("track","ViewContent",z.custom_data,S),this.environmentVariables?.KEPIXEL_WRITE_KEY&&this.MarketingService.kepixelTracking("Product Viewed",{product_id:this.dataProduct.product_variants[0]?.sku,name:this.dataProduct.name,price:this.dataProduct.product_variants[0]?.discount_price?this.dataProduct.product_variants[0]?.discount_price:this.dataProduct.product_variants[0]?.price,currency:this.environmentVariables?.CURRENCY_CODE_EN?this.environmentVariables?.CURRENCY_CODE_EN:this.environmentVariables?.tempCurrentCurrancy});let Q={view_type:"ViewContent",data:z,event_id:S,fbc:Y,fbp:q};this.auth.tokenReady$.pipe(G(f=>f),rt(1)).subscribe(()=>{this.MarketingService.conversionApi(Q).subscribe()})}this.environmentVariables.ENABLE_BANK_INSTALLMENTS_PRODUCT_UI&&this.productsService.getBankInstallmentsByPrice(this.dataProduct.price).subscribe(s=>{this.installment=s.data,this.cdr.detectChanges()}),this.dataProduct?this.showNotAvaliableSection=!0:this.showNotAvaliableSection=!1,this.relatedProducts=n.data.product.related_skus;let M=this.dataProduct.id,b=`detail-similar:${this.lang()}:${t}`;if(O(this.platformId)&&this.transferState.hasKey(b)){let s=this.transferState.get(b,null);this.transferState.remove(b),this.productsList=s||[],this.similarProductsLoading=!1,this.loading=!1,setTimeout(()=>this.cdr.detectChanges(),0)}else this.similarProductsLoading=!0,this.productsService.getSimilarProducts(M).subscribe({next:s=>{let v=s.code===200?s.data.similar_products:[];s.code===200&&(this.productsList=v),E(this.platformId)&&this.transferState.set(b,v),this.similarProductsLoading=!1,this.loading=!1,setTimeout(()=>this.cdr.detectChanges(),0)},error:s=>{console.error("Error fetching similar products:",s),this.productsList=[],E(this.platformId)&&this.transferState.set(b,[]),this.similarProductsLoading=!1,this.loading=!1,setTimeout(()=>this.cdr.detectChanges(),0)}});if(O(this.platformId)){let s=this.windowService.getWindow();if(s?.location?.href){let v=this.document.querySelector("link[rel='canonical']");v&&v.setAttribute("href",s.location.href)}}let B=this.lang()=="en"?n.data.product.name_en||n.data.product.name_ar:n.data.product.name_ar||n.data.product.name_en,U=this.lang()=="en"?n.data.product.description_en||n.data.product.description_ar:n.data.product.description_ar||n.data.product.description_en,j=U?String(U).replace(/<[^>]*>/g,"").replace(/ /g," ").trim():null;B&&this.metaService.updateTag({property:"og:title",content:B}),j&&this.metaService.updateTag({property:"og:description",content:j}),this.metaService.updateTag({property:"og:image",content:n?.data?.product?.images[0]?.url||n.data.product.image}),this.metaService.updateTag({property:"og:image:url",content:n?.data?.product?.images[0]?.url||n.data.product.image})}else if(n.code===404||n.code===400){if(E(this.platformId)&&this.responseInit&&(this.responseInit.status=404,this.responseInit.statusText="Not Found"),E(this.platformId)){this.notFoundState.show(404),this.loading=!1;return}let u=Date.now(),M=()=>
1{if(this.redirectService.isInProgress()){this.loading=!1;return}if(this.requestTracker.getCurrentCount()===0){this.notFoundState.show(404),this.loading=!1;return}if(Date.now()-u>=2e3){this.notFoundState.show(404),this.loading=!1;return}setTimeout(M,100)};setTimeout(M,100)}},error:n=>{console.error("Error fetching product details:",n),this.loading=!1}})}else this.getData()}addToCart(t){this.embryoService.addToCartGuest(t)}addToWishList(t){this.embryoService.addToWishlist(t)}get duplicatedRelatedProducts(){return this.relatedProducts?.length?this.environmentVariables?.ENABLE_SIMILAR_PRODUCTS_LOOP&&this.relatedProducts.length>0&&this.relatedProducts.length<=3?[...this.relatedProducts,...this.relatedProducts]:this.relatedProducts:[]}ngOnDestroy(){this.areaSubscription.unsubscribe(),this.branchSubscription.unsubscribe()}static \u0275fac=function(o){return new(o||e)(d(Mt),d(Dt),d(xt),d(Rt),d(Lt),d(bt),d(Et),d(vt),d(Ft),d(It),d(Ct),d($t),d(zt),d(wt),d(lt),d(Tt),d(ct),d(_t))};static \u0275cmp=dt({type:e,selectors:[["app-DetailPage"]],viewQuery:function(o,i){if(o&1&&(V(Xt,5),V(Jt,5),V(Zt,5),V(te,5)),o&2){let n;L(n=N())&&(i.relatedSwiper=n.first),L(n=N())&&(i.productSwiper=n.first),L(n=N())&&(i.relatedProductTemplate=n.first),L(n=N())&&(i.similarProductTemplate=n.first)}},decls:8,vars:3,consts:[["relatedProductTemplate",""],["similarProductTemplate",""],["relatedTitleContent",""],["relatedSwiper",""],["newSwiper",""],["similarTitleContent",""],[2,"min-height","80vh"],[1,"details-page-skeleton","container",3,"ngClass"],[1,"main-details-body"],[1,"img-zoom-skeleton-container"],[1,"light-animate-shimmer","main-image"],[1,"thumb-image-container"],[1,"light-animate-shimmer","thumb-image"],[1,"main-details-skeleton-container"],[1,"light-animate-shimmer","name-shimmer"],[1,"light-animate-shimmer","price-shimmer"],[1,"light-animate-shimmer","description-shimmer"],[1,"options-container"],[1,"light-animate-shimmer","option-name"],[1,"options-list"],[1,"light-animate-shimmer","option"],[1,"functions-container"],[1,"light-animate-shimmer","function"],[1,"light-animate-shimmer","add-to-cart"],[1,"key-features"],[1,"light-animate-shimmer","features-header"],[1,"light-animate-shimmer","feature-item","long-item"],[1,"light-animate-shimmer","feature-item"],[1,"inner-container"],[1,"product-detail-page"],[3,"currency","detailData","installment","productsList"],[1,"section-gap",2,"padding-top","0rem","padding-bottom","2rem"],[1,"section-gap",2,"padding-top","0rem","padding-bottom","2rem",3,"ngClass"],[1,"container"],[1,"block-title","text-center","gap"],[1,"h2-title"],[1,"swiper-container"],[1,"mySwiper",3,"slidesPerView","spaceBetween","keyboard","navigation","pagination","grabCursor","loop","lazy","autoplay","speed","breakpoints","items","contentTemplate","slideClass"],[1,"similar-product-highlight","d-inline-block","position-relative","fs-28","fw-bold"],[3,"ngTemplateOutlet"],[1,"px-2"],[1,"section-gap-lg","text-center","cartEmpty","not-available"],[1,"mb-4"],["alt","hdie-source-empty",1,"material-icons","fav-icon"],["href","javascript:void(0)",1,"primary-color",3,"routerLink"],[3,"product"],[3,"addToCart","product"]],template:function(o,i){o&1&&(a(0,"div",6),h(1,ie,39,1,"div",7),h(2,ge,6,6,"div",6),h(3,Ce,1,0),c(),D(4,fe,1,1,"ng-template",null,0,F)(6,Oe,1,1,"ng-template",null,1,F)),o&2&&(l(),C(!i.dataProduct&&i.loading?1:-1),l(),C(i.dataProduct&&(i.dataProduct!=null&&i.dataProduct.active)?2:-1),l(),C(i.showNotAvaliableSection?3:-1))},dependencies:[Pt,ft,Ut,jt,Ot,St,yt,Bt,kt],styles:['.select-group[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:110px}.slick-slide[_ngcontent-%COMP%]{margin-left:1rem;margin-right:1rem;padding-bottom:25px!important}.details-page-skeleton[_ngcontent-%COMP%]{width:100%;padding-top:20px}.details-page-skeleton.ar-dir[_ngcontent-%COMP%] .thumb-image[_ngcontent-%COMP%], .details-page-skeleton.ar-dir[_ngcontent-%COMP%] .option[_ngcontent-%COMP%], .details-page-skeleton.ar-dir[_ngcontent-%COMP%] .function[_ngcontent-%COMP%]{margin-right:initial!important;margin-left:10px}.details-page-skeleton[_ngcontent-%COMP%] .light-animate-shimmer[_ngcontent-%COMP%]{display:inline-block;border-radius:5px}.details-page-skeleton[_ngcontent-%COMP%] .main-image[_ngcontent-%COMP%], .details-page-skeleton[_ngcontent-%COMP%] .thumb-image[_ngcontent-%COMP%], .details-page-skeleton[_ngcontent-%COMP%] .name-shimmer[_ngcontent-%COMP%], .details-page-skeleton[_ngcontent-%COMP%] .price-shimmer[_ngcontent-%COMP%], .details-page-skeleton[_ngcontent-%COMP%] .description-shimmer[_ngcontent-%COMP%], .details-page-skeleton[_ngcontent-%COMP%] .option-name[_ng
1content-%COMP%], .details-page-skeleton[_ngcontent-%COMP%] .option[_ngcontent-%COMP%], .details-page-skeleton[_ngcontent-%COMP%] .function[_ngcontent-%COMP%], .details-page-skeleton[_ngcontent-%COMP%] .add-to-cart[_ngcontent-%COMP%], .details-page-skeleton[_ngcontent-%COMP%] .features-header[_ngcontent-%COMP%], .details-page-skeleton[_ngcontent-%COMP%] .feature-item[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:flex-start;flex-wrap:wrap}@media(max-width:500px){.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%]{padding:0!important}}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .img-zoom-skeleton-container[_ngcontent-%COMP%]{width:100%;min-width:600px;display:flex;flex-direction:column;margin:0 20px 20px;flex:1 1}@media(max-width:800px){.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .img-zoom-skeleton-container[_ngcontent-%COMP%]{min-width:350px;margin:10px 0}}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .img-zoom-skeleton-container[_ngcontent-%COMP%] .main-image[_ngcontent-%COMP%]{width:100%;height:600px;margin-bottom:20px}@media(max-width:500px){.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .img-zoom-skeleton-container[_ngcontent-%COMP%] .main-image[_ngcontent-%COMP%]{height:350px}}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .img-zoom-skeleton-container[_ngcontent-%COMP%] .thumb-image-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .img-zoom-skeleton-container[_ngcontent-%COMP%] .thumb-image-container[_ngcontent-%COMP%] .thumb-image[_ngcontent-%COMP%]{width:70px;height:70px;margin-right:10px}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%]{width:100%;flex:1 1;min-width:400px;display:flex;flex-direction:column}@media(max-width:599.99px){.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%]{min-width:350px;margin:10px 0;padding:0 10px}}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .name-shimmer[_ngcontent-%COMP%]{width:100%;height:40px;margin-bottom:30px}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .price-shimmer[_ngcontent-%COMP%]{width:150px;margin-bottom:10px;height:30px}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .description-shimmer[_ngcontent-%COMP%]{width:250px;margin-bottom:10px;height:25px}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{border:1px solid rgba(185,179,179,.31);margin:5px}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%]{width:100%;margin-bottom:20px}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .option-name[_ngcontent-%COMP%]{width:150px;height:30px}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .options-list[_ngcontent-%COMP%]{width:100%;display:flex}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-detail
1s-skeleton-container[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .options-list[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{width:70px;height:70px;margin-right:10px}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .functions-container[_ngcontent-%COMP%]{width:100%;display:flex}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .functions-container[_ngcontent-%COMP%] .function[_ngcontent-%COMP%]{width:30px;height:30px;margin-right:10px}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .functions-container[_ngcontent-%COMP%] .add-to-cart[_ngcontent-%COMP%]{width:150px;height:30px}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .key-features[_ngcontent-%COMP%]{width:100%;margin-top:10px}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .key-features[_ngcontent-%COMP%] .features-header[_ngcontent-%COMP%]{width:250px;height:40px}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .key-features[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .key-features[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .feature-item[_ngcontent-%COMP%]{width:200px;height:30px;display:list-item;margin-bottom:10px;list-style:none}.details-page-skeleton[_ngcontent-%COMP%] .main-details-body[_ngcontent-%COMP%] .main-details-skeleton-container[_ngcontent-%COMP%] .key-features[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .feature-item.long-item[_ngcontent-%COMP%]{max-width:350px;width:300px}.fav-icon[_ngcontent-%COMP%]{font-size:120px;color:var(--brand-color)}.not-available[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{width:auto}.similar-product-highlight[_ngcontent-%COMP%]:after{content:"";width:80%;height:6px;background:var(--footer-titles-separator-color);position:absolute;bottom:-4px;left:10%;border-radius:1rem}.h2-title[_ngcontent-%COMP%]{display:inline-block;margin-bottom:3rem!important;margin-top:0}.similar-products-skeleton[_ngcontent-%COMP%] .skeleton-container[_ngcontent-%COMP%]{overflow-x:auto;padding:10px 0}.similar-products-skeleton[_ngcontent-%COMP%] .skeleton-container[_ngcontent-%COMP%] .skeleton-product-card[_ngcontent-%COMP%]{min-width:200
1px;flex-shrink:0}.similar-products-skeleton[_ngcontent-%COMP%] .skeleton-container[_ngcontent-%COMP%] .skeleton-product-card[_ngcontent-%COMP%] .skeleton-image[_ngcontent-%COMP%]{width:100%;height:200px;border-radius:8px;background-color:#e0e0e0}.similar-products-skeleton[_ngcontent-%COMP%] .skeleton-container[_ngcontent-%COMP%] .skeleton-product-card[_ngcontent-%COMP%] .skeleton-text[_ngcontent-%COMP%]{width:90%;height:16px;border-radius:4px;background-color:#e0e0e0}.similar-products-skeleton[_ngcontent-%COMP%] .skeleton-container[_ngcontent-%COMP%] .skeleton-product-card[_ngcontent-%COMP%] .skeleton-text-short[_ngcontent-%COMP%]{width:60%;height:14px;border-radius:4px;background-color:#e0e0e0}.similar-products-skeleton[_ngcontent-%COMP%] .skeleton-container[_ngcontent-%COMP%] .skeleton-product-card[_ngcontent-%COMP%] .skeleton-price[_ngcontent-%COMP%]{width:40%;height:18px;border-radius:4px;background-color:#e0e0e0}@media(max-width:768px){.similar-products-skeleton[_ngcontent-%COMP%] .skeleton-container[_ngcontent-%COMP%] .skeleton-product-card[_ngcontent-%COMP%]{min-width:150px}.similar-products-skeleton[_ngcontent-%COMP%] .skeleton-container[_ngcontent-%COMP%] .skeleton-product-card[_ngcontent-%COMP%] .skeleton-image[_ngcontent-%COMP%]{height:150px}}']})}return e})();export{tn as DetailPageComponent};
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.