PageSourceSearch

https://cdn.syncee.com/app/v7/master/4ae35bcb-d70d-4f44-b33c-b21ec9e9302c/chunk-WUYL3W7U.js

js syncee.com collected 2026-09-24 18:04:06 UTC 6,548 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="38095a82-f77f-5fb7-889a-898d4eb7c54e")}catch(e){}}();
3import{a as w,c as k,e as E}from"./chunk-E25KJE5S.js";import{a as P}from"./chunk-6YZ3AYEI.js";import{a as L}from"./chunk-MA6Q5RHT.js";import{a as O}from"./chunk-CU4GVQYP.js";import{a as y}from"./chunk-VFGG5KKW.js";import{c as M}from"./chunk-ETERXLU6.js";import{a as D}from"./chunk-PQIGC5O6.js";import{Ba as v}from"./chunk-WVXKS23Q.js";import{Ac as o,Bc as l,Cc as a,Ib as s,Sc as d,Tb as m,_b as u,bb as I,jb as S,sc as g,uc as f,wd as x,xc as C,yc as h,zc as p}from"./chunk-IKPAZK5K.js";import{a as _,h as F}from"./chunk-MKQUMDGR.js";var c=F(D());var R=()=>({value:"50"}),j=()=>[];function B(e,n){return this.skeletonId+e}function H(e,n){e&1&&a(0,"app-skeleton-supplier-card",1)}var T=(()=>{class e{constructor(){this.needsFillers=!1,this.skeletonId=P()}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=u({type:e,selectors:[["app-skeleton-supplier-card-list"]],inputs:{numberOfSuppliers:"numberOfSuppliers",needsFillers:"needsFillers"},decls:3,vars:3,consts:[[1,"supplier-card-list-container"],[1,"supplier-item"]],template:function(t,r){t&1&&(o(0,"div",0),C(1,H,1,0,"app-skeleton-supplier-card",1,B,!0),l()),t&2&&(p("@animateStagger",x(1,R)),s(),h(x(2,j).constructor(r.numberOfSuppliers)))},dependencies:[w],styles:['.supplier-card-list-container[_ngcontent-%COMP%]{display:grid;grid-template-areas:"a a a a";grid-auto-columns:minmax(20%,100%);margin-left:-10px;margin-right:-10px}@media screen and (max-width: 1919px){.supplier-card-list-container[_ngcontent-%COMP%]{grid-template-areas:"a a a a"}}@media screen and (max-width: 1279px){.supplier-card-list-container[_ngcontent-%COMP%]{grid-template-areas:"a a a"}}@media screen and (max-width: 1000px){.supplier-card-list-container[_ngcontent-%COMP%]{grid-template-areas:"a a a"}}@media screen and (max-width: 959px){.supplier-card-list-container[_ngcontent-%COMP%]{grid-template-areas:"a a a"}}@media screen and (max-width: 599px){.supplier-card-list-container[_ngcontent-%COMP%]{grid-template-areas:"a";margin-left:-4px;margin-right:-4px}}.supplier-card-list-container[_ngcontent-%COMP%]   .supplier-item[_ngcontent-%COMP%]{padding:10px;width:100%}@media screen and (max-width: 599px){.supplier-card-list-container[_ngcontent-%COMP%]   .supplier-item[_ngcontent-%COMP%]{padding:4px}}'],data:{animation:[L]}})}}return e})();var G=(e,n)=>n.userId;function U(e,n){if(e&1&&(o(0,"div",3),a(1,"app-supplier-card",4),l()),e&2){let i=n.$implicit,t=d(3);s(),p("supplier",i)("supplierImages",t.supplierImages[i.userId])("categoryId",t.selectedCategoryId)("responsive",!0)}}function $(e,n){if(e&1&&(o(0,"div",2),C(1,U,2,4,"div",3,G),l()),e&2){let i=d(2);s(),h(i.supplierCards)}}function q(e,n){if(e&1&&a(0,"app-skeleton-supplier-card-list",1),e&2){let i=d(2);p("numberOfSuppliers",i.supplierIds.length)}}function A(e,n){if(e&1&&g(0,$,3,0,"div",2)(1,q,1,1,"app-skeleton-supplier-card-list",1),e&2){let i=d();f(i.supplierCards&&i.supplierCards.length?0:1)}}function N(e,n){e&1&&(o(0,"div",0),a(1,"app-error-message"),l())}function V(e,n){if(e&1&&a(0,"app-skeleton-supplier-card-list",1),e&2){let i=d();p("numberOfSuppliers",i.supplierIds.length)}}var pe=(()=>{class e{constructor(i,t,r){this.platformId=i,this.supplierGatewayService=t,this.supplierDataFetcherService=r,this.isInfinite=!1,this.from=0,this.isLoading=!1,this.isError=!1}ngOnChanges(i){i.supplierIds&&(this.isLoading=!0,this.supplierIds.length>0?this.getSupplierData(this.supplierIds):(this.supplierCards=[],this.isLoading=!1))}setErrorState(){v(this.platformId)?(this.isError=!0,this.isLoading=!1):(this.isLoading=!0,this.isError=!1)}getSupplierData(i){this.supplierDataFetcherService.fetchSupplierDatasByIDs({supplierIDs:i,total:i.length,showHidden:!0}).subscribe({next:t=>{let r=this.mapSuppliersToImageRecord(t.result);this.from>0&&this.isInfinite?(this.supplierImages=_(_({},this.supplierImages),r),this.supplierCards=(0,c.concat)(this.supplierCards,t.result)):(this.supplierImages=r,this.supplierCards=t.result),this.isLoading=!1,this.isError=!1},error:()=>{this.setErrorState()}})}mapSuppliersToImageRecord(i){return this.supplierGatewayService.mapRandomSupplierVosToRecord(i.map(t=>({supplierUserId:t.userId,images:t.images})))}getSeoUrlsBySupplier(i,t){return i.find(r=>r.userId===+t.userId)?.seoUrls}getUniqeMainCategoryIdsBySupplier(i,t){return(0,c.uniq)((0,c.flatten)(i.filter(r=>r.userId===+t.userId).map(r=>r.categoryIds)))}static{this.\u0275fac=function(t){return new(t||e)(m(S),m(y),m(E))}}static{this.\u0275cmp=u({type:e,selectors:[["app-supplier-card-list"]],inputs:{isIdListLoading:"isIdListLoading",idListHasError:"idListHasError",supplierIds:"supplierIds",isInfinite:"isInfinite",from:"from",selectedCategoryId:"selectedCategoryId"},features:[I],decls:3,vars:2,consts:[[1,"pt-[100px]"],[3,"numberOfSuppliers"],[1,"supplier-card-list-container"],[1,"supplier-item"],[3,"supplier","supplierImages","categoryId","responsive"]],template:function(t,r){t&1&&(g(0,A,2,1)(1,N,2,0,"div",0),g(2,V,1,1,"app-skeleton-supplier-card-list",1)),t&2&&(f(!r.idListHasError&&!r.isError?0:r.isError?1:-1),s(2),f((r.isIdListLoading||r.isLoading)&&r.from===0?2:-1))},dependencies:[M,O,k,T],styles:['.supplier-card-list-container[_ngcontent-%COMP%]{display:grid;grid-template-areas:"a a a a";grid-auto-columns:minmax(20%,100%);margin-left:-10px;margin-right:-10px}@media screen and (max-width: 1919px){.supplier-card-list-container[_ngcontent-%COMP%]{grid-template-areas:"a a a a"}}@media screen and (max-width: 1279px){.supplier-card-list-container[_ngcontent-%COMP%]{grid-template-areas:"a a a"}}@media screen and (max-width: 1000px){.supplier-card-list-container[_ngcontent-%COMP%]{grid-template-areas:"a a a"}}@media screen and (max-width: 959px){.supplier-card-list-container[_ngcontent-%COMP%]{grid-template-areas:"a a a"}}@media screen and (max-width: 599px){.supplier-card-list-container[_ngcontent-%COMP%]{grid-template-areas:"a";margin-left:-4px;margin-right:-4px}}.supplier-card-list-container[_ngcontent-%COMP%]   .supplier-item[_ngcontent-%COMP%]{padding:10px;width:100%}@media screen and (max-width: 599px){.supplier-card-list-container[_ngcontent-%COMP%]   .supplier-item[_ngcontent-%COMP%]{padding:4px}}']})}}return e})();export{T as a,pe as b};
4
5//# debugId=38095a82-f77f-5fb7-889a-898d4eb7c54e

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.