PageSourceSearch

https://www.kuponkw.com/942.aaaab173234b0f213dcb.js

js kuponkw.com collected 2026-10-02 01:35:04 UTC 4,990 bytes, 1 lines download raw bytes

1(self.webpackChunkmy_app=self.webpackChunkmy_app||[]).push([[942],{4942:(t,i,e)=>{"use strict";e.r(i),e.d(i,{WishlistModule:()=>v});var n=e(1116),r=e(8134),s=e(831),a=e(529),o=e(5366),l=e(350),c=e(3942),p=e(2164),g=e(830);const u=function(t){return{isrc:"WISHLIST",entry:"WISHLIST",platform:t}};function h(t,i){if(1&t&&(o.TgZ(0,"div",7),o.TgZ(1,"div",8),o.TgZ(2,"div",9),o._UZ(3,"img",10),o.qZA(),o.TgZ(4,"div",11),o.TgZ(5,"div",9),o.TgZ(6,"a",12),o._uU(7),o.qZA(),o.qZA(),o.TgZ(8,"div",13),o._uU(9),o.qZA(),o.qZA(),o.qZA(),o.qZA()),2&t){const t=i.$implicit,e=o.oxw();o.xp6(3),o.s9C("alt",t.productName),o.Q6J("src",e.cloudinaryImage+t.tumbnailImage,o.LSH),o.xp6(3),o.cQ8("routerLink","/",e.appInfo.urlFirstSegment,"/",e.helper.createSEOString(t.productNameEn),"/p/",t.productId,""),o.Q6J("queryParams",o.VKq(9,u,"KUPON_MARKET"===e.queryString.platform?"KUPON_MARKET":null)),o.xp6(1),o.hij(" ",t.productTitle," "),o.xp6(2),o.AsE(" ",e.labelText.KD_CURRENCY," ",t.discountPrice," ")}}function d(t,i){if(1&t){const t=o.EpF();o.TgZ(0,"span",16),o.NdJ("click",function(){return o.CHM(t),o.oxw(2).viewMorePagination()}),o._uU(1,"View More"),o.qZA()}}function m(t,i){if(1&t&&(o.TgZ(0,"div",14),o.YNc(1,d,2,0,"span",15),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("ngIf",!t.isProcessingAPI)}}function f(t,i){1&t&&(o.TgZ(0,"div",17),o.TgZ(1,"div",18),o.TgZ(2,"span",19),o._uU(3,"Loading..."),o.qZA(),o.qZA(),o.qZA())}const A=function(t,i){return{"rtl-direction":t,"ltr-direction":i}},I=[{path:"",children:[{path:"",component:(()=>{class t{constructor(t,i,e,n,r){this.nodeApi=t,this.authService=i,this.shared=e,this.helper=n,this.activatedRoute=r,this.labelText={},this.errorText={},this.isProcessingAPI=!0,this.pagination={totalRows:0,totalItemDelivered:0,pageNumber:1},this.cloudinaryImage=a.N.CLOUDINARY_IMAGE_URL_100_100_CPAD,this.wishList=[],this.queryString={platform:"KUPON_ONLINE"},this.currentUser=i.getCurrentAuthUser(),this.appInfo=this.shared.getAppInfo(),r.queryParams.subscribe(t=>{this.queryString.platform=t.platform?t.platform:"KUPON_ONLINE"}),this.shared.getLabelText(this.appInfo.language).then(t=>{this.labelText=t}),this.shared.getErrorText(this.appInfo.language).then(t=>{this.errorText=t})}ngOnInit(){this.helper.isPlatformBrowser()&&this.getWishListSubscriber()}viewMorePagination(){this.getWishListSubscriber()}getWishListSubscriber(){let t={pageNumber:this.pagination.pageNumber};"KUPON_MARKET"===this.queryString.platform&&(t.appName="KUPON_MARKET"),this.getWishList(t).subscribe(t=>{this.pagination.totalRows=t.totalRows,this.pagination.totalItemDelivered+=t.wishlist.length,this.pagination.pageNumber++,t.wishlist.map(t=>{t.tumbnailImage=t.productImages.split(",")[0],"AR"===this.appInfo.language?(t.productTitle=t.productNameAr,null!==t.variationDetail.variationType&&(t.productTitle+=" ("+t.variationDetail.variationNameAr+")")):(t.productTitle=t.productNameEn,null!==t.variationDetail.variationType&&(t.productTitle+=" ("+t.variationDetail.variationNameEn+")")),this.wishList.push(t)}),this.isProcessingAPI=!1},t=>{console.log(t),this.isProcessingAPI=!1})}getWishList(t){return this.nodeApi.commonGetApiWithAuth("wishlist/"+this.currentUser.userId,{},t)}}return t.\u0275fac=function(i){return new(i||t)(o.Y36(l.j),o.Y36(c.e),o.Y36(p.F),o.Y36(g.W),o.Y36(r.gz))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-wishlist"]],decls:8,vars:7,consts:[[1,"wishlist-section","mt-2","mb-11","container",3,"ngClass"],[1,"row"],[1,"col-sm-2","col-md-2","col-lg-2","only-web-tab"],[1,"col-sm-8","col-md-8","col-lg-8"],["class","card mb-1",4,"ngFor","ngForOf"],["style","text-align-last: center; padding-top: 10px;",4,"ngIf"],["class","text-center",4,"ngIf"],[1,"card","mb-1"],[1,"card-body"],[2,"display","table-cell","vertical-align","top"],[2,"background-color","#fff",3,"src","alt"],[2,"display","table-cell","vertical-align","top","padding","15px"],[3,"routerLink","queryParams"],[1,"kupon-color"],[2,"text-align-last","center","padding-top","10px"],["class","btn btn-kupon",3,"click",4,"ngIf"],[1,"btn","btn-kupon",3,"click"],[1,"text-center"],["role","status",1,"spinner-border",2,"color","#F97D1F","width","3rem","height","3rem"],[1,"sr-only"]],template:function(t,i){1&t&&(o.TgZ(0,"section",0),o.TgZ(1,"div",1),o._UZ(2,"div",2),o.TgZ(3,"div",3),o.YNc(4,h,10,11,"div",4),o.YNc(5,m,2,1,"div",5),o.YNc(6,f,4,0,"div",6),o.qZA(),o._UZ(7,"div",2),o.qZA(),o.qZA()),2&t&&(o.Q6J("ngClass",o.WLB(4,A,"AR"===i.appInfo.language,"EN"===i.appInfo.language)),o.xp6(4),o.Q6J("ngForOf",i.wishList),o.xp6(1),o.Q6J("ngIf",i.pagination.totalRows>i.pagination.totalItemDelivered),o.xp6(1),o.Q6J("ngIf",i.isProcessingAPI))},directives:[n.mk,n.sg,n.O5,r.yS],styles:[""]}),t})()}],component:s.$}];let b=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[r.Bz.forChild(I)],r.Bz]}),t})(),v=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[n.ez,b]]}),t})()}}]);

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.