1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8461],{8461:(C,c,o)=>{o.r(c),o.d(c,{FashionDetailsPageModule:()=>D});var r=o(9808),g=o(6083),i=o(8418),d=o(9485),s=o(3678),p=o(8781),h=o(655),P=o(4464),m=o(8879),O=o(3900),M=o(5971),v=o(4031),t=o(5e3),f=o(4840),_=o(1408),x=o(9330);const b=function(a,l){return{"centered-image":a,"fill-image":l}},Z=function(){return{w:64,h:50}};function w(a,l){if(1&a&&(t.TgZ(0,"ion-row",28),t.TgZ(1,"app-image-shell",29),t._UZ(2,"app-aspect-ratio",30),t.qZA(),t.qZA()),2&a){const n=t.oxw().$implicit;t.xp6(1),t.Q6J("display","cover")("ngClass",t.WLB(4,b,"square"===n.type,"fill"===n.type))("src",n.source),t.xp6(1),t.Q6J("ratio",t.DdM(7,Z))}}function T(a,l){1&a&&t.YNc(0,w,3,8,"ng-template",27)}const A=function(){return{w:3,h:4}};function z(a,l){if(1&a&&(t.TgZ(0,"ion-col",35),t.TgZ(1,"div",36),t.TgZ(2,"a",37),t.TgZ(3,"app-aspect-ratio",30),t._UZ(4,"app-image-shell",38),t.qZA(),t.qZA(),t.qZA(),t.TgZ(5,"div",39),t.TgZ(6,"h4",40),t.TgZ(7,"a",41),t._UZ(8,"app-text-shell",9),t.qZA(),t.qZA(),t.TgZ(9,"span",42),t._UZ(10,"app-text-shell",9),t.ALo(11,"currency"),t.qZA(),t.qZA(),t.qZA()),2&a){const n=l.$implicit;t.xp6(3),t.Q6J("ratio",t.DdM(7,A)),t.xp6(1),t.Q6J("src",n.image)("alt","related image"),t.xp6(4),t.Q6J("data",n.name),t.xp6(2),t.Q6J("data",t.lcZ(11,5,n.salePrice))}}function k(a,l){if(1&a&&(t.TgZ(0,"div",31),t.TgZ(1,"h3",32),t._uU(2,"Why Don't you try?"),t.qZA(),t.TgZ(3,"ion-row",33),t.YNc(4,z,12,8,"ion-col",34),t.qZA(),t.qZA()),2&a){const n=t.oxw();t.xp6(4),t.Q6J("ngForOf",null==n.details?null:n.details.relatedProducts)}}m.ZP.use([m.tl,P.u5]);let y=(()=>{class a{constructor(n,e){this.route=n,this.alertController=e,this.colorVariants=[],this.sizeVariants=[],this.slidesOptions={zoom:{toggle:!1}}}get isShell(){return!(!this.details||!this.details.isShell)}ngOnInit(){this.subscriptions=this.route.data.pipe((0,O.w)(n=>M.f.extractData(n.data,v.j))).subscribe({next:n=>{this.details=n,this.colorVariants=this.details.colorVariants.map(e=>({name:e.name,type:"radio",label:e.name,value:e.value,checked:e.default})),this.sizeVariants=this.details.sizeVariants.map(e=>({name:e.name,type:"radio",label:e.name,value:e.value,checked:e.default}))},error:n=>console.log(n)})}openColorChooser(){return(0,h.mG)(this,void 0,void 0,function*(){yield(yield this.alertController.create({header:"Color",inputs:this.colorVariants,cssClass:"variant-alert color-chooser",buttons:[{text:"Cancel",role:"cancel",cssClass:"secondary",handler:()=>{console.log("Confirm Cancel")}},{text:"OK",handler:()=>{console.log("Confirm Ok")}}]})).present()})}openSizeChooser(){return(0,h.mG)(this,void 0,void 0,function*(){yield(yield this.alertController.create({header:"Size",inputs:this.sizeVariants,cssClass:"variant-alert size-chooser",buttons:[{text:"Cancel",role:"cancel",cssClass:"secondary",handler:()=>{console.log("Confirm Cancel")}},{text:"OK",handler:e=>{console.log("Selected Value",e)}}]})).present()})}ionViewWillLeave(){this.subscriptions.unsubscribe()}}return a.\u0275fac=function(n){return new(n||a)(t.Y36(g.gz),t.Y36(i.Br))},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-fashion-details"]],hostVars:2,hostBindings:function(n,e){2&n&&t.ekj("is-shell",e.isShell)},decls:50,vars:15,consts:[["color","primary"],["slot","start"],["defaultHref","app/categories/fashion"],[1,"fashion-details-content"],[1,"slider-row"],[1,"details-slides",3,"pagination","config"],[4,"ngFor","ngForOf"],[1,"description-wrapper"],[1,"details-name"],["animation","gradient",3,"data"],[1,"details-brand"],[1,"details-price"],[1,"details-sale-price"],[1,"details-purchase-options-row"],["size","12",1,"aux-action-col"],["color","medium","size","small","fill","clear",1,"size-chart-btn"],["size","6"],["color","medium","expand","block","fill","outline",1,"select-variant-btn",3,"click"],["size","12",1,"main-call-to-action-col"],["color","dark","expand","block","fill","solid",1,"add-to-cart-btn"],[1,"details-description-wrapper"],[1,"detail-title"],[1,"details-description"],["animation","gradient","lines","5",3,"data"],["animation","gradient","lines","3",3,"data"],[1,"details-description","product-code"],["class","related-products-wrapper",4,"ngIf"],["swiperSlide",""],[1,"slide-inner-row"],["animation","spinner",1,"showcase-image",3,"display","ngClass","src"],[3,"ratio"],[1,"related-products-wrapper"],[1,"detail-alt-title"],[1,"related-products-list"],["size","6","class","related-product-item",4,"ngFor","ngForOf"],["size","6",1,"related-product-item"],[1,"item-image-wrapper"],[1,"image-anchor"],["animation","spinner",1,"related-product-image",3,"src","alt"],[1,"item-details-wrapper"],[1,"item-name"],[1,"name-anchor"],[1,"item-sale-price"]],template:function(n,e){1&n&&(t.TgZ(0,"ion-header"),t.TgZ(1,"ion-toolbar",0),t.TgZ(2,"ion-buttons",1),t._UZ(3,"ion-back-button",2),t.qZA(),t.TgZ(4,"ion-title"),t._uU(5,"Fashion Details"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(6,"ion-content",3),t.TgZ(7,"ion-row",4),t.TgZ(8,"swiper",5),t.YNc(9,T,1,0,void 0,6),t.qZA(),t.qZA(),t.TgZ(10,"div",7),t.TgZ(11,"h3",8),t._UZ(12,"app-text-shell",9),t.qZA(),t.TgZ(13,"span",10),t._UZ(14,"app-text-shell",9),t.qZA(),t.TgZ(15,"span",11),t._UZ(16,"app-text-shell",9),t.ALo(17,"currency"),t.qZA(),t.TgZ(18,"span",12),t._UZ(19,"app-text-shell",9),t.ALo(20,"currency"),t.qZA(),t.qZA(),t.TgZ(21,"ion-row",13),t.TgZ(22,"ion-col",14),t.TgZ(23,"ion-button",15),t._uU(24,"Size Chart"),t.qZA(),t.qZA(),t.TgZ(25,"ion-col",16),t.TgZ(26,"ion-button",17),t.NdJ("click",function(){return e.openColorChooser()}),t._uU(27,"Color"),t.qZA(),t.qZA(),t.TgZ(28,"ion-col",16),t.TgZ(29,"ion-button",17),t.NdJ("click",function(){return e.openSizeChooser()}),t._uU(30,"Size"),t.qZA(),t.qZA(),t.TgZ(31,"ion-col",18),t.TgZ(32,"ion-button",19),t._uU(33,"Add to cart"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(34,"div",20),t.TgZ(35,"h3",21),t._uU(36,"About me"),t.qZA(),t.TgZ(37,"p",22),t._UZ(38,"app-text-shell",23),t.qZA(),t.qZA(),t.TgZ(39,"div",20),t.TgZ(40,"h3",21),t._uU(41,"Looking after me"),t.qZA(),t.TgZ(42,"p",22),t._UZ(43,"app-text-shell",24),t.qZA(),t.qZA(),t.TgZ(44,"div",20),t.TgZ(45,"h3",21),t._uU(46,"Product code"),t.qZA(),t.TgZ(47,"span",25),t._UZ(48,"app-text-shell",9),t.qZA(),t.qZA(),t.YNc(49,k,5,1,"div",26),t.qZA()),2&n&&(t.xp6(8),t.Q6J("pagination",!0)("config",e.slidesOptions),t.xp6(1),t.Q6J("ngForOf",null==e.details?null:e.details.showcaseImages),t.xp6(3),t.Q6J("data",null==e.details?null:e.details.name),t.xp6(2),t.Q6J("data",null==e.details?null:e.details.brand),t.xp6(2),t.Q6J("data",t.lcZ(17,11,null==e.details?null:e.details.price)),t.xp6(3),t.Q6J("data",t.lcZ(20,13,null==e.details?null:e.details.salePrice)),t.xp6(19),t.Q6J("data",null==e.details?null:e.details.description),t.xp6(5),t.Q6J("data",null==e.details?null:e.details.careInstructions),t.xp6(5),t.Q6J("data",null==e.details?null:e.details.upc),t.xp6(1),t.Q6J("ngIf",(null==e.details?null:e.details.relatedProducts)&&e.details.relatedProducts.length>0))},directives:[i.Gu,i.sr,i.Sm,i.oU,i.cs,i.wd,i.W2,i.Nd,d.nF,r.sg,f.$,i.w
1I,i.YG,r.O5,d.YC,_.U,r.mk,x.m],pipes:[r.H9],styles:["[_nghost-%COMP%]{--page-margin: var(--app-fair-margin);--page-background: var(--app-background);--page-swiper-pagination-space: 30px;--page-swiper-pagination-height: 18px;--page-pagination-bullet-size: 10px;--page-options-gutter: calc(var(--page-margin) / 2);--page-related-items-gutter: calc(var(--page-margin) / 2);--page-color: #cb328f}.fashion-details-content[_ngcontent-%COMP%]{--background: var(--page-background)}.fashion-details-content[_ngcontent-%COMP%] .slider-row[_ngcontent-%COMP%] .details-slides[_ngcontent-%COMP%]{--bullet-background: var(--ion-color-dark-tint);--bullet-background-active: var(--ion-color-dark-tint);height:100%;width:100%}.fashion-details-content[_ngcontent-%COMP%] .slider-row[_ngcontent-%COMP%] .details-slides[_ngcontent-%COMP%] .slide-inner-row[_ngcontent-%COMP%]{height:100%;width:100%;padding:0;padding-bottom:var(--page-swiper-pagination-space)}.fashion-details-content[_ngcontent-%COMP%] .slider-row[_ngcontent-%COMP%] .showcase-image[_ngcontent-%COMP%]{width:100%}.fashion-details-content[_ngcontent-%COMP%] .slider-row[_ngcontent-%COMP%] .showcase-image.centered-image[_ngcontent-%COMP%]{background-size:auto;background-position:center}.fashion-details-content[_ngcontent-%COMP%] .description-wrapper[_ngcontent-%COMP%]{padding:var(--page-margin) var(--page-margin) 0px}.fashion-details-content[_ngcontent-%COMP%] .description-wrapper[_ngcontent-%COMP%] .details-name[_ngcontent-%COMP%]{font-size:18px;font-weight:500;margin:0 0 5px}.fashion-details-content[_ngcontent-%COMP%] .description-wrapper[_ngcontent-%COMP%] .details-brand[_ngcontent-%COMP%]{display:block;text-transform:uppercase;font-size:14px;font-weight:400;margin:0px 0px var(--page-margin)}.fashion-details-content[_ngcontent-%COMP%] .description-wrapper[_ngcontent-%COMP%] .details-price[_ngcontent-%COMP%]{font-size:18px;font-weight:500;margin:0;color:var(--page-color);display:inline-block}.fashion-details-content[_ngcontent-%COMP%] .description-wrapper[_ngcontent-%COMP%] .details-sale-price[_ngcontent-%COMP%]{color:var(--ion-color-medium-shade);text-decoration:line-through;display:inline-block;margin-left:var(--page-margin);font-size:14px}.fashion-details-content[_ngcontent-%COMP%] .details-purchase-options-row[_ngcontent-%COMP%]{--ion-grid-column-padding: var(--page-options-gutter);padding-top:0;padding-left:calc(var(--page-margin) - var(--page-options-gutter));padding-right:calc(var(--page-margin) - var(--page-options-gutter));padding-bottom:calc(var(--page-margin) * 2)}.fashion-details-content[_ngcontent-%COMP%] .details-purchase-options-row[_ngcontent-%COMP%] .aux-action-col[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding-top:0;padding-bottom:0}.fashion-details-content[_ngcontent-%COMP%] .details-purchase-options-row[_ngcontent-%COMP%] .aux-action-col[_ngcontent-%COMP%] .size-chart-btn[_ngcontent-%COMP%]{margin:0;height:25px}.fashion-details-content[_ngcontent-%COMP%] .details-purchase-options-row[_ngcontent-%COMP%] .main-call-to-action-col[_ngcontent-%COMP%]{padding-bottom:0}.fashion-details-content[_ngcontent-%COMP%] .details-purchase-options-row[_ngcontent-%COMP%] .select-variant-btn[_ngcontent-%COMP%]{margin:0}.fashion-details-content[_ngcontent-%COMP%] .details-purchase-options-row[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%]{margin:0;margin-top:var(--page-margin)}.fashion-details-content[_ngcontent-%COMP%] .detail-title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:var(--ion-color-dark-tint);margin:0;margin-bottom:calc(var(--page-margin) / 2)}.fashion-details-content[_ngcontent-%COMP%] .details-description-wrapper[_ngcontent-%COMP%]{padding-top:0;padding-left:var(--page-margin);padding-right:var(--page-margin);padding-bottom:calc(var(--page-margin) * 2)}.fashion-details-content[_ngcontent-%COMP%] .details-description-wrapper[_ngcontent-%COMP%] .details-description[_ngcontent-%COMP%]{margin:0;line-height:1.3;font-size:14px;color:var(--ion-color-medium-shade)}.fashion-details-content[_ngcontent-%COMP%] .detail-alt-title[_ngcontent-%COMP%]{text-align:center;font-size:18px;font-weight:400;text-transform:uppercase;color:var(--ion-color-dark-shade);margin:0;margin-bottom:var(--page-margin)}
1.fashion-details-content[_ngcontent-%COMP%] .related-products-wrapper[_ngcontent-%COMP%]{padding-top:0;padding-left:var(--page-margin);padding-right:var(--page-margin);padding-bottom:calc(var(--page-margin) * 2)}.fashion-details-content[_ngcontent-%COMP%] .related-products-wrapper[_ngcontent-%COMP%] .related-products-list[_ngcontent-%COMP%]{--ion-grid-column-padding: 0px}.fashion-details-content[_ngcontent-%COMP%] .related-products-wrapper[_ngcontent-%COMP%] .related-products-list[_ngcontent-%COMP%] .related-product-item[_ngcontent-%COMP%]{margin-bottom:calc(var(--page-margin) * 2)}.fashion-details-content[_ngcontent-%COMP%] .related-products-wrapper[_ngcontent-%COMP%] .related-products-list[_ngcontent-%COMP%] .related-product-item[_ngcontent-%COMP%]:nth-child(odd){padding-right:var(--page-related-items-gutter)}.fashion-details-content[_ngcontent-%COMP%] .related-products-wrapper[_ngcontent-%COMP%] .related-products-list[_ngcontent-%COMP%] .related-product-item[_ngcontent-%COMP%]:nth-child(even){padding-left:var(--page-related-items-gutter)}.fashion-details-content[_ngcontent-%COMP%] .related-products-wrapper[_ngcontent-%COMP%] .related-products-list[_ngcontent-%COMP%] .related-product-item[_ngcontent-%COMP%] .item-image-wrapper[_ngcontent-%COMP%]{border:1px solid var(--ion-color-light-shade)}.fashion-details-content[_ngcontent-%COMP%] .related-products-wrapper[_ngcontent-%COMP%] .related-products-list[_ngcontent-%COMP%] .related-product-item[_ngcontent-%COMP%] .item-image-wrapper[_ngcontent-%COMP%] .image-anchor[_ngcontent-%COMP%]{display:block}.fashion-details-content[_ngcontent-%COMP%] .related-products-wrapper[_ngcontent-%COMP%] .related-products-list[_ngcontent-%COMP%] .related-product-item[_ngcontent-%COMP%] .item-details-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:5px 5px 0}.fashion-details-content[_ngcontent-%COMP%] .related-products-wrapper[_ngcontent-%COMP%] .related-products-list[_ngcontent-%COMP%] .related-product-item[_ngcontent-%COMP%] .item-name[_ngcontent-%COMP%]{margin:0;margin-bottom:calc(var(--page-margin) / 2);font-size:14px;font-weight:400;text-align:center;min-width:90%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.fashion-details-content[_ngcontent-%COMP%] .related-products-wrapper[_ngcontent-%COMP%] .related-products-list[_ngcontent-%COMP%] .related-product-item[_ngcontent-%COMP%] .item-name[_ngcontent-%COMP%] .name-anchor[_ngcontent-%COMP%]{color:var(--ion-color-dark-tint);display:block;text-decoration:none}.fashion-details-content[_ngcontent-%COMP%] .related-products-wrapper[_ngcontent-%COMP%] .related-products-list[_ngcontent-%COMP%] .related-product-item[_ngcontent-%COMP%] .item-sale-price[_ngcontent-%COMP%]{display:block;font-weight:400;color:var(--page-color);font-size:16px;text-align:center;min-width:30%}[_nghost-%COMP%] .details-slides .swiper-pagination{height:var(--page-swiper-pagination-height);line-height:1;bottom:calc((var(--page-swiper-pagination-space) - var(--page-swiper-pagination-height)) / 2)}[_nghost-%COMP%] .details-slides .swiper-pagination .swiper-pagination-bullet{width:var(--page-pagination-bullet-size);height:var(--page-pagination-bullet-size)} .variant-alert{--select-alert-color: #000;--select-alert-background: #FFF;--select-alert-margin: 16px;--select-alert-color: var(--ion-color-lightest);--select-alert-background: var(--ion-color-primary);--select-alert-margin: var(--app-fair-margin)} .variant-alert .alert-head{padding-top:calc(var(--select-alert-margin) / 4 * 3);padding-bottom:calc(var(--select-alert-margin) / 4 * 3);-webkit-padding-start:var(--select-alert-margin);padding-inline-start:var(--select-alert-margin);-webkit-padding-end:var(--select-alert-margin);padding-inline-end:var(--select-alert-margin)} .variant-alert .alert-title{color:var(--select-alert-color)} .variant-alert .alert-head, .variant-alert .alert-message{background-color:var(--select-alert-background)} .variant-alert .alert-wrapper.sc-ion-alert-ios .alert-title{margin:0} .variant-alert .alert-wrapper.sc-ion-alert-md .alert-title{font-size:18px;font-weight:400} .variant-alert .alert-wrapper.sc-ion-alert-md .alert-button{--padding-top: 0;--padding-start: .9em;--padding-end: .9em;--padding-bottom: 0;
1height:2.1em;font-size:13px} .variant-alert .alert-message{display:none}","[_nghost-%COMP%]{--shell-color: #cb328f;--shell-color-rgb: 203,50,143}app-image-shell.showcase-image[_ngcontent-%COMP%]{--image-shell-loading-background: rgba(var(--shell-color-rgb), .1);--image-shell-spinner-color: rgba(var(--shell-color-rgb), .25)}.details-name[_ngcontent-%COMP%] > app-text-shell[_ngcontent-%COMP%]{--text-shell-animation-background: rgba(var(--shell-color-rgb), .25);--text-shell-animation-color: rgba(var(--shell-color-rgb), .35);--text-shell-line-height: 18px;max-width:60%}.details-name[_ngcontent-%COMP%] > app-text-shell.text-loaded[_ngcontent-%COMP%]{max-width:inherit}.details-brand[_ngcontent-%COMP%] > app-text-shell[_ngcontent-%COMP%]{--text-shell-animation-background: rgba(var(--shell-color-rgb), .2);--text-shell-animation-color: rgba(var(--shell-color-rgb), .3);--text-shell-line-height: 14px;max-width:40%}.details-brand[_ngcontent-%COMP%] > app-text-shell.text-loaded[_ngcontent-%COMP%]{max-width:inherit}.details-price[_ngcontent-%COMP%] > app-text-shell[_ngcontent-%COMP%]{--text-shell-animation-background: rgba(var(--shell-color-rgb), .1);--text-shell-animation-color: rgba(var(--shell-color-rgb), .2);--text-shell-line-height: 18px;width:50px}.details-price[_ngcontent-%COMP%] > app-text-shell.text-loaded[_ngcontent-%COMP%]{width:inherit}.details-sale-price[_ngcontent-%COMP%] > app-text-shell[_ngcontent-%COMP%]{--text-shell-animation-background: rgba(var(--shell-color-rgb), .1);--text-shell-animation-color: rgba(var(--shell-color-rgb), .2);--text-shell-line-height: 18px;width:50px}.details-sale-price[_ngcontent-%COMP%] > app-text-shell.text-loaded[_ngcontent-%COMP%]{width:inherit}.details-description[_ngcontent-%COMP%] > app-text-shell[_ngcontent-%COMP%]{--text-shell-animation-background: rgba(var(--shell-color-rgb), .1);--text-shell-animation-color: rgba(var(--shell-color-rgb), .2);--text-shell-line-height: 14px}.details-description.product-code[_ngcontent-%COMP%] > app-text-shell[_ngcontent-%COMP%]{max-width:40%}.details-description.product-code[_ngcontent-%COMP%] > app-text-shell.text-loaded[_ngcontent-%COMP%]{max-width:inherit}app-image-shell.related-product-image[_ngcontent-%COMP%]{--image-shell-loading-background: rgba(var(--shell-color-rgb), .1);--image-shell-spinner-color: rgba(var(--shell-color-rgb), .25)}.item-name[_ngcontent-%COMP%] app-text-shell[_ngcontent-%COMP%]{--text-shell-animation-background: rgba(var(--shell-color-rgb), .25);--text-shell-animation-color: rgba(var(--shell-color-rgb), .35);--text-shell-line-height: 14px}.item-sale-price[_ngcontent-%COMP%] > app-text-shell[_ngcontent-%COMP%]{--text-shell-animation-background: rgba(var(--shell-color-rgb), .2);--text-shell-animation-color: rgba(var(--shell-color-rgb), .3);--text-shell-line-height: 16px}","",""]}),a})(),u=(()=>{class a{constructor(n){this.fashionService=n}resolve(){const n=this.fashionService.getDetailsDataSource();return this.fashionService.getDetailsStore(n)}}return a.\u0275fac=function(n){return new(n||a)(t.LFG(p.$))},a.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac}),a})();const F=[{path:"",component:y,resolve:{data:u}}];let D=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({providers:[u,p.$],imports:[[r.ez,i.Pc,g.Bz.forChild(F),s.K,d.kz]]}),a})()},5971:(C,c,o)=>{o.d(c,{f:()=>i});var r=o(9760),g=o(9646);class i{static extractData(s,p){return s instanceof r.K?s.state:s instanceof p?(0,g.of)(s):void 0}}}}]);
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.