PageSourceSearch

https://www.workassist.in/chunk-FV4ONDET.js

js workassist.in collected 2026-09-29 00:58:17 UTC 14,499 bytes, 1 lines download raw bytes

1import{a as X,b as tt,c as et}from"./chunk-JMSZZCKT.js";import{a as J}from"./chunk-OHHXLH2G.js";import{b as K,c as Z,d as G,t as Q}from"./chunk-IE5HNFIA.js";import"./chunk-RUKDH5RU.js";import{cd as $,e as U,i as Y}from"./chunk-DLOJA7OY.js";import{$a as f,$b as B,Da as x,Db as v,Dc as V,Ea as C,Fc as R,Gb as g,Gc as D,Ib as _,Lb as z,Ma as I,Mb as E,Pc as W,Qa as N,Qc as H,Tb as l,Ub as F,Vb as h,Wa as O,Ya as T,Zb as w,_a as a,_b as L,dc as j,la as y,nb as m,pb as s,pd as q,sd as S,vc as A,wa as k,xa as b,xb as o,yb as r,zb as u}from"./chunk-XJXM2OHO.js";import{a as M,b as P}from"./chunk-CWTPBX7D.js";var at=i=>({"selected-page":i});function lt(i,d){if(i&1&&(o(0,"ng-option",16),l(1),r()),i&2){let t=d.$implicit;s("value",t.name),a(),h(" ",t==null?null:t.name," ")}}function st(i,d){if(i&1&&(o(0,"ng-option",16),l(1),r()),i&2){let t=d.$implicit;s("value",t.id),a(),h(" ",t==null?null:t.name," ")}}function ct(i,d){i&1&&u(0,"i",43)}function dt(i,d){i&1&&(o(0,"span"),l(1,"Follower"),r())}function pt(i,d){i&1&&(o(0,"span"),l(1,"Followers"),r())}function gt(i,d){if(i&1){let t=v();o(0,"div",30)(1,"div",31)(2,"div",32),g("click",function(){let n=x(t).$implicit,c=_(2);return C(c.goToBrandProfile(n.company_id,n.slug))}),o(3,"div",33)(4,"div",34),u(5,"img",35),r(),o(6,"div",36)(7,"h3",37),l(8),r(),o(9,"h4"),m(10,ct,1,0,"i",38),o(11,"span"),l(12),r(),l(13," | "),o(14,"span",39),l(15),u(16,"i",40),r()(),o(17,"h4"),u(18,"i",41),o(19,"span"),l(20),m(21,dt,2,0,"span",42)(22,pt,2,0,"span",42),r()()()()()()()}if(i&2){let t=d.$implicit;a(5),s("src",t.company_logo,O),a(2),z("title",t.name),a(),F(t.name),a(2),s("ngIf",t.avg_rating),a(2),h(" ",t.avg_rating," "),a(2),E("title","This company has been rated by ",t.reviews," people"),a(),h(" ",t.reviews," "),a(5),h(" ",t.followers_count," "),a(),s("ngIf",t.followers_count<=1),a(),s("ngIf",t.followers_count>1)}}function mt(i,d){if(i&1){let t=v();o(0,"div",46)(1,"a",47),g("click",function(){let n=x(t).$implicit,c=_(3);return C(c.goToPage(n.label,n.url))}),l(2),r()()}if(i&2){let t=d.$implicit;a(),s("ngClass",j(2,at,t.active)),a(),h(" ",t.label,"")}}function _t(i,d){if(i&1&&(o(0,"div",44),m(1,mt,3,4,"div",45),r()),i&2){let t=_(2);a(),s("ngForOf",t.paginationList)}}function ft(i,d){if(i&1){let t=v();o(0,"section",17)(1,"div",18)(2,"div",19)(3,"div",20)(4,"div",21)(5,"h2"),l(6,"All Brands"),r()(),o(7,"div",22)(8,"button",23),l(9," Sort "),r(),o(10,"ul",24)(11,"li")(12,"a",25),g("click",function(){x(t);let n=_();return C(n.sortAllCompanyList("byTime"))}),l(13,"By Time"),r()(),o(14,"li")(15,"a",25),g("click",function(){x(t);let n=_();return C(n.sortAllCompanyList("a_to_z"))}),l(16,"A-Z"),r()(),o(17,"li")(18,"a",25),g("click",function(){x(t);let n=_();return C(n.sortAllCompanyList("z_to_a"))}),l(19,"Z-A"),r()()()()(),o(20,"div",26)(21,"div",27),m(22,gt,23,11,"div",28)(23,_t,2,1,"div",29),r()()()()()}if(i&2){let t=_();a(22),s("ngForOf",t.allBrandList),a(),s("ngIf",(t.allBrandList==null?null:t.allBrandList.length)>0)}}var it=(()=>{class i{constructor(t,e,n,c,p,rt){this.dataService=t,this.platFormId=e,this.router=n,this.cdr=c,this.ngxLoader=p,this.el=rt,this.activeIndex=0,this.brand_video=`${J.CDN_assets_base_path}/assets/images/brand-video.mp4`,this.carouselSize()}ngOnInit(){H(this.platFormId)&&(this.pageNo=1,this.getAllBrandList({}),this.getMasterDataListOfBrands())}getMasterDataListOfBrands(){let t=this;this.dataService.getMasterDataListOfBrands().subscribe({next(e){t.brandNameList=e.data?.brands,t.brandCityList=e.data?.city}})}trackByItemKey(t,e){return t+e.id}shouldEnableVirtualScroll(t,e){return t?t.length>e:!1}getPayload(){let t={};return this.pageNo&&(t=P(M({},t),{page:this.pageNo})),this.sortOrder&&(t=P(M({},t),{sort_order:this.sortOrder})),this.brandNameSearch&&(t.name=this.brandNameSearch),this.cityNameSearch&&(t.city_id=this.cityNameSearch),t}getAllBrandList(t){let e=this;this.dataService.brandsListSearch(this.getPayload()).subscribe({next(n){setTimeout(()=>{},3e3),e.allBrandList=n.data?.data,e.allBrandList.length>0&&e.scrollToHeading("all-companies");let c=n.data?.links;e.paginationList=e.dataService.convertPaginationArrayAsRequiredFormat(c),e.cdr.detectChanges(),console.log(e.allBrandList)},error(n){}})}onResize(t){this.carouselSize()}
1carouselSize(){typeof window<"u"&&(window.innerWidth<=1024?this.count=2:window.innerWidth>1024&&(this.count=4),window.innerWidth<=576&&(this.count=1))}scrollToHeading(t){let e=this.el.nativeElement.querySelector(`#${t}`);if(e){let c=e.getBoundingClientRect().top+window.scrollY-80;window.scrollTo({top:c,behavior:"smooth"})}}searchByCompanyAndIndustry(){this.getAllBrandList({})}sortAllCompanyList(t){t&&(t=="a_to_z"&&(this.sortOrder="a_to_z",this.getAllBrandList({sort_order:"a_to_z"})),t=="z_to_a"&&(this.sortOrder="z_to_a",this.getAllBrandList({sort_order:"z_to_a"})),t=="byTime"&&(this.sortOrder="created_at_asc",this.getAllBrandList({sort_order:"created_at_asc"})))}goToBrandProfile(t,e){if(e){let n="brand-profile",c={id:t,name:e};this.router.navigate([n],{queryParams:c})}}goToCompanyPricing(){this.router.navigate(["plans-and-pricing"])}goToPage(t,e){t=="\u276E"&&e?this.pageNo=e.split("page=")[1]:t=="\u276F"&&e?this.pageNo=e.split("page=")[1]:this.pageNo=t,Number(this.pageNo)&&this.getAllBrandList({})}static{this.\u0275fac=function(e){return new(e||i)(f($),f(N),f(q),f(A),f(K),f(I))}}static{this.\u0275cmp=k({type:i,selectors:[["app-brands-list"]],hostBindings:function(e,n){e&1&&g("resize",function(p){return n.onResize(p)},!1,T)},decls:23,vars:13,consts:[["ngxUiLoaderBlurred","",3,"loaderId"],[1,"featured","py-3"],[1,"container"],[1,"hero-style"],[1,"left"],[1,"input-group","company-list"],["appendTo","body","placeholder","Brand Name",1,"form-control","p-0","for-select",3,"ngModelChange","virtualScroll","ngModel"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],["appendTo","body","placeholder","Location",1,"form-control","p-0","for-select",3,"ngModelChange","virtualScroll","ngModel"],[1,"input-group-text",3,"click"],[1,"right"],["autoplay","","loop","","muted","","playsinline","","oncontextmenu","return false;","controlsList","nodownload nofullscreen noremoteplayback",1,"video-style","hero-img","w-100",2,"pointer-events","none"],["type","video/mp4",3,"src"],[1,"claim-button",3,"click"],["class"," all-jobs pb-3",4,"ngIf"],[3,"loaderId","text"],[3,"value"],[1,"all-jobs","pb-3"],["id","all-companies",1,"container"],[1,"card"],[1,"card-header","d-flex","justify-content-between"],[1,"d-flex","align-items-center"],[1,"dropdown"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","btn-secondary","dropdown-toggle"],[1,"dropdown-menu"],["type","button",1,"dropdown-item",3,"click"],[1,"card-body"],[1,"row"],["class","col-lg-3 col-md-6 col-sm-6 col-12",4,"ngFor","ngForOf"],["class","d-flex pagination-style justify-content-center",4,"ngIf"],[1,"col-lg-3","col-md-6","col-sm-6","col-12"],[1,"card","p-1","mb-3"],[1,"card-body","cursor-pointer","card-shadow",3,"click"],[1,"d-flex"],[1,"profile-img"],["alt","...",1,"img-fluid",3,"src"],[1,"ms-2","m-auto"],[1,"truncate1",3,"title"],["class","bi bi-star-fill bg-gold",4,"ngIf"],[3,"title"],[1,"bi","bi-person-fill"],[1,"bi","bi-people-fill","text-secondary"],[4,"ngIf"],[1,"bi","bi-star-fill","bg-gold"],[1,"d-flex","pagination-style","justify-content-center"],["class","pagination ",4,"ngFor","ngForOf"],[1,"pagination"],[3,"click","ngClass"]],template:function(e,n){e&1&&(o(0,"main",0)(1,"section",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h1"),l(6,"Get Noticed - Create Your Brand Page Today"),r(),o(7,"p"),l(8,"Enlist your Brand, enabling features like product promotion, lead generation, & brand updates. Expand your reach, elevate your brand, and grow your team."),r(),o(9,"div",5)(10,"ng-select",6),B("ngModelChange",function(p){return L(n.brandNameSearch,p)||(n.brandNameSearch=p),p}),m(11,lt,2,2,"ng-option",7),r(),o(12,"ng-select",8),B("ngModelChange",function(p){return L(n.cityNameSearch,p)||(n.cityNameSearch=p),p}),m(13,st,2,2,"ng-option",7),r(),o(14,"Button",9),g("click",function(){return n.searchByCompanyAndIndustry()}),l(15,"Search"),r()()(),o(16,"div",10)(17,"video",11),u(18,"source",12),r(),o(19,"button",13),g("click",function(){return n.goToCompanyPricing()}),l(20,"Create Your Company Page Now"),r()()()()(),m(21,ft,24,2,"section",14),r(),u(22,"ngx-ui-loader",15)),e&2&&(s("loaderId","companyList"),a(10),s("virtualScroll",n.shouldEnableVirtualScroll(n.brandNameList,10)),w("ngModel",n.brandNameSearch),a(),s("ngForOf",n.brandNameList)("ngForTrackBy",n.trackByItemKey),a(),s("virtualScroll",n.shouldEnableVirtualScroll(n.brandCityList,10)),w("ngModel",n.cityNameSearch),a(),s("ngForOf",n.brandCityList)("ngForTrackBy",n.trackByItemKey),a(5),s("src",n.brand_video,O),a(3),s("ngIf",(n.allBrandList==null?null:n.allBrandList.length)>0),a(),s("loaderId","companyList")("text","Loading"))},dependencies:[V,R,D,U,Y,Z,G,tt,X],styles:["main[_ngcontent-%COMP%]{background-color:#f0f8ff}.cover-img[_ngcontent-%COMP%]{height:200px;text-align:center;background:#f0f8ff}.hero-style[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;background:#f0f8ff}.left[_ngcontent-%COMP%]{width:60%}.left[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{width:90%;font-size:22px;text-align:center;line-height:initial;margin:30px auto}.input-group[_ngcontent-%COMP%]{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%;margin:50px 0 0}.right[_ngcontent-%COMP%]{width:30%;justify-content:center;display:flex;flex-direction:column}video[_ngcontent-%COMP%]{border-radius:15px}.claim-button[_ngcontent-%COMP%]{padding:10px 15px;border-radius:5px;transform:translateY(-22px);background:#f05537;border:1px solid #f05537;font-size:16px;width:80%;margin:auto}h1[_ngcontent-%COMP%]{font-size:40px;color:#121262;text-align:center}
1h2[_ngcontent-%COMP%]{color:#121262;font-size:20px;line-height:inherit}h3[_ngcontent-%COMP%]{color:#121262;font-size:14px;line-height:inherit}h4[_ngcontent-%COMP%]{font-size:12px;color:#0d6efd;line-height:inherit}p[_ngcontent-%COMP%], b[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:14px}.bg-gold[_ngcontent-%COMP%]{color:gold}.card-header[_ngcontent-%COMP%]{background-color:#fff}.card[_ngcontent-%COMP%]{--bs-card-border-color: none}.card-shadow[_ngcontent-%COMP%]{box-shadow:1px .5px 5px .5px #6495ed!important;border-radius:5px}.profile-img[_ngcontent-%COMP%]{height:4rem;width:4rem;position:relative;border:.5px solid aliceblue;border-radius:5%;box-shadow:1px .5px 5px .5px #6495ed}.profile-img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translatey(-50%)}.carousel-control-prev-icon[_ngcontent-%COMP%], .carousel-control-next-icon[_ngcontent-%COMP%]{background:#000;color:#fff;font-size:40px;line-height:normal;height:auto;margin:auto;border-radius:5px}.carousel-control-next[_ngcontent-%COMP%], .carousel-control-prev[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:auto;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}.carousel-control-prev[_ngcontent-%COMP%]{left:-15px}.carousel-control-next[_ngcontent-%COMP%]{right:-15px}input[_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%], input[type=number][_ngcontent-%COMP%], textarea[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{margin:0;color:#000}button[_ngcontent-%COMP%]{background-color:#0d6efd;color:#fff;border:1px solid #0d6efd;padding:0 20px}.btn.show[_ngcontent-%COMP%], .btn[_ngcontent-%COMP%]:hover{color:#0d6efd;background-color:#fff;border-color:#0d6efd}.pagination[_ngcontent-%COMP%]{display:flex;justify-content:center}.pagination[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#000;float:left;padding:8px 16px;text-decoration:none}.pagination[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%]{background-color:#fff;color:#000}.pagination[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover:not(.active){background-color:#ddd;color:#3140ce}.pagination-style[_ngcontent-%COMP%]{justify-content:center}.selected-page[_ngcontent-%COMP%]{background-color:#e9e9f3}@media only screen and (max-width: 1200px){h1[_ngcontent-%COMP%]{font-size:32px}.claim-button[_ngcontent-%COMP%]{padding:10px 15px;border-radius:5px;transform:translateY(-22px);background:#f05537;border:1px solid #f05537;font-size:16px;width:80%;margin:auto}.left[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{width:90%;font-size:16px;margin:25px auto}.input-group[_ngcontent-%COMP%]{margin:30px 0 0}}@media only screen and (max-width: 992px){.container[_ngcontent-%COMP%]{max-width:100%}h1[_ngcontent-%COMP%]{font-size:30px;text-align:center}.input-group[_ngcontent-%COMP%]{margin:30px 0 0}}@media only screen and (max-width: 768px){.hero-style[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;align-items:center}.left[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{width:100%;font-size:16px;text-align:center;line-height:initial;margin:30px 0}.left[_ngcontent-%COMP%]{width:100%}h1[_ngcontent-%COMP%]{font-size:26px}.right[_ngcontent-%COMP%]{width:60%;height:60%}h1[_ngcontent-%COMP%]{font-size:24px;text-align:center}.input-group[_ngcontent-%COMP%]{margin:30px 0 0}}@media only screen and (max-width: 768px){.left[_ngcontent-%COMP%]{width:100%;padding:40px 0}.right[_ngcontent-%COMP%]{width:80%}.input-group[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;flex-wrap:wrap;align-items:stretch;width:100%;margin:50px 0 0}.input-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .for-select[_ngcontent-%COMP%]{width:100%;border-radius:5px!important;margin:5px 0}button[_ngcontent-%COMP%]{padding:5px 20px;margin:5px 0;border-radius:5px!important;display:flex;justify-content:center}.claim-button[_ngcontent-%COMP%]{padding:10px 15px;border-radius:5px;transform:translateY(-22px);background:#f05537;border:1px solid #f05537;font-size:16px;width:80%;margin:auto}}@media only screen and (max-width: 576px){.right[_ngcontent-%COMP%]{width:100%}}"]})}}return i})();var ut=[{path:"",component:it}
1],ot=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=b({type:i})}static{this.\u0275inj=y({imports:[S.forChild(ut),S]})}}return i})();var Rt=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=b({type:i})}static{this.\u0275inj=y({imports:[W,ot,Q,et]})}}return i})();export{Rt as BrandsListModule};

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.