PageSourceSearch

https://static.lightxeditor.com/web/763.c4ecd28f87eb7cae.js

js lightxeditor.com collected 2026-09-24 09:23:22 UTC 47,965 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklightx=self.webpackChunklightx||[]).push([[763],{92452:(M,v,n)=>{n.d(v,{i:()=>h});var h=function(d){return d[d.NUll=0]="NUll",d[d.Main=1]="Main",d[d.EditorChoice=2]="EditorChoice",d[d.More=3]="More",d[d.Footer=4]="Footer",d[d.All=5]="All",d[d.LighxHome=6]="LighxHome",d[d.NewFooter=11]="NewFooter",d[d.Megamenu=8]="Megamenu",d[d.Tools=10]="Tools",d[d.profileWithCutout=101]="profileWithCutout",d[d.StoreProduct=9]="StoreProduct",d}(h||{})},14121:(M,v,n)=>{n.d(v,{K:()=>S});var h=n(60177),d=n(79421),y=n(74710),C=n(33391),P=n(54438);let S=(()=>{var m;class p{}return(m=p).\u0275fac=function(u){return new(u||m)},m.\u0275mod=P.$C({type:m}),m.\u0275inj=P.G2t({imports:[h.MD,d.r,y.iI,C._f]}),p})()},30586:(M,v,n)=>{n.d(v,{B:()=>S,w:()=>P});var h=n(10467),d=n(54438),y=n(21413),C=n(60177);let P=(()=>{var m;class p{constructor(){this.visibilityChangeEvent=new d.bkB,this.threshold=[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],this.lastIntersect=0,this.subject$=new y.B}ngOnInit(){this.createObserver()}isVisible(u){return new Promise(b=>{const f=new IntersectionObserver(([t])=>{b(1!=t.intersectionRatio),this.lastIntersect=t.intersectionRatio,f.disconnect()});f.observe(u)})}ngAfterViewInit(){this.element&&this.startObservingElements()}createObserver(){this.observer=new IntersectionObserver((f,t)=>{f.forEach(_=>{(f=>f.isIntersecting||f.intersectionRatio>=0)(_)&&this.subject$.next({entry:_,observer:t})})},{rootMargin:"0px",threshold:this.threshold})}startObservingElements(){var u=this;this.observer&&(this.observer.observe(this.element),this.subject$.subscribe(function(){var b=(0,h.A)(function*({entry:f}){const _=f.target,G=yield u.isVisible(_);u.visibilityChangeEvent.emit({visible:G})});return function(f){return b.apply(this,arguments)}}()))}}return(m=p).\u0275fac=function(u){return new(u||m)},m.\u0275dir=d.FsC({type:m,selectors:[["","observeVisibility",""]],inputs:{element:[0,"obsIntersectTarget","element"]},outputs:{visibilityChangeEvent:"obsChange"}}),p})(),S=(()=>{var m;class p{}return(m=p).\u0275fac=function(u){return new(u||m)},m.\u0275mod=d.$C({type:m}),m.\u0275inj=d.G2t({imports:[C.MD]}),p})()},2578:(M,v,n)=>{n.d(v,{T:()=>t});var h=n(60177),d=n(84341),y=n(74710),C=n(33391),P=n(48928),S=n(23679),m=n(79421),p=n(89818),I=n(14121),u=n(7060),b=n(30586),f=n(54438);let t=(()=>{var _;class G{}return(_=G).\u0275fac=function(O){return new(O||_)},_.\u0275mod=f.$C({type:_}),_.\u0275inj=f.G2t({imports:[h.MD,d.YN,y.iI,C.UN,P.RI,S.Y,m.r,p.MQ,I.K,u.U,b.B]}),G})()}
1,60763:(M,v,n)=>{n.r(v),n.d(v,{StoreModule:()=>Qt});var h=n(84341),d=n(60177),y=n(79421),C=n(83339),P=n(84387),S=n(24269),m=n(74710),p=n(33391),I=n(89818),u=n(64163),b=n(7060),f=n(30586),t=n(54438);let _=(()=>{var s;class c{}return(s=c).\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.$C({type:s}),s.\u0275inj=t.G2t({imports:[h.YN,d.MD,y.r,C.G,P.W,S.S,m.iI,p.UN,I.MQ,u.P,b.U,f.B]}),c})();var G=n(2578),w=n(77183);let O=(()=>{var s;class c{}return(s=c).\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.$C({type:s}),s.\u0275inj=t.G2t({imports:[h.YN,d.MD,y.r,C.G,P.W,S.S,m.iI,p.UN,G.T,w.f,b.U]}),c})();var T=n(92452),F=n(68465),R=n(16478),U=n(67091),k=n(1026),$=n(32764),V=n(68010),j=n(68287),Y=n(68064),Q=n(48039),X=n(85989),J=n(25939),Z=n(61163),H=n(36561);const q=s=>({active:s}),tt=(s,c)=>({active:s,new_item:c}),et=s=>({"show active":s});function it(s,c){if(1&s){const r=t.RV6();t.j41(0,"div",14)(1,"buttons-scroll-menu",15),t.bIt("selectMenu",function(i){t.eBV(r);const a=t.XpG();return t.Njj(a.onBannerCategory(i))}),t.k0s()()}if(2&s){const r=t.XpG();t.R7$(),t.Y8G("items",r.mainProductsCategory)("categoryId",null==r.selectedCategoryobj?null:r.selectedCategoryobj.categoryId)("type","tab")}}function rt(s,c){if(1&s){const r=t.RV6();t.j41(0,"li",18)(1,"a",19),t.bIt("click",function(){const i=t.eBV(r).$implicit,a=t.XpG(2);return t.Njj(a.onBannerCategorySelect(i))}),t.j41(2,"div",20),t.bIt("mouseover",function(){const i=t.eBV(r).$implicit;return t.Njj(i.src=i.selectedThumbUrl)})("mouseout",function(){const i=t.eBV(r).$implicit;return t.Njj(i.src=i.thumbUrl)}),t.j41(3,"div",21),t.nrm(4,"img",22),t.k0s(),t.j41(5,"div",23),t.EFF(6),t.k0s()()()()}if(2&s){const r=c.$implicit,e=t.XpG(2);t.Y8G("ngClass",t.eq3(5,q,r.categoryId===e.selectedCategoryobj.categoryId)),t.R7$(3),t.Y8G("ngClass",t.l_i(7,tt,r.categoryId===e.selectedCategoryobj.categoryId,1==r.isNew)),t.R7$(),t.FS9("src",r.categoryId===e.selectedCategoryobj.categoryId?r.selectedThumbUrl:r.src,t.B4B),t.Y8G("alt",r.gaName),t.R7$(2),t.SpI(" ",r.displayName,"")}}function st(s,c){if(1&s&&(t.j41(0,"ul",16),t.DNE(1,rt,7,10,"li",17),t.k0s()),2&s){const r=t.XpG();t.R7$(),t.Y8G("ngForOf",r.mainProductsCategory)("ngForTrackBy",r.trackByIndex)}}function at(s,c){1&s&&(t.qex(0),t.nrm(1,"element-placeholder",24),t.bVm()),2&s&&(t.R7$(),t.Y8G("view","explore-tabs"))}function ot(s,c){if(1&s){const r=t.RV6();t.j41(0,"div",29)(1,"ng-image-slider",30,0),t.bIt("imageClick",function(i){t.eBV(r);const a=t.XpG(2);return t.Njj(a.showAllproduct(i))}),t.k0s()()}if(2&s){const r=t.XpG().$implicit,e=t.XpG();t.R7$(),t.Y8G("images",r.imageCategoryObjects)("isSubscribed",e.user&&e.user.subscribed)("videoPlayShow",!1)("footerShow",!0)("graphic",!0)("imageSize",r.imageCategorySizel)("imagePopup",!1)}}function nt(s,c){1&s&&(t.qex(0),t.nrm(1,"element-placeholder",24),t.bVm()),2&s&&(t.R7$(),t.Y8G("view","explore-tabdata"))}function lt(s,c){if(1&s&&(t.j41(0,"div",25)(1,"div",26),t.DNE(2,ot,3,7,"div",27),t.j41(3,"div",28),t.DNE(4,nt,2,1,"ng-container",10),t.k0s()()()),2&s){const r=c.$implicit,e=t.XpG();t.Y8G("ngClass",t.eq3(3,et,r.categoryId===e.selectedCategoryobj.categoryId)),t.R7$(2),t.Y8G("ngIf",e.inProgress),t.R7$(2),t.Y8G("ngIf",!e.inProgress)}}function ct(s,c){if(1&s){const r=t.RV6();t.j41(0,"div",33)(1,"div",34)(2,"div",35)(3,"h2",36),t.EFF(4),t.k0s(),t.j41(5,"a",37),t.bIt("click",function(){const i=t.eBV(r).$implicit,a=t.XpG(2);return t.Njj(a.showAll(i))}),t.j41(6,"span",38),t.EFF(7,"View All "),t.nrm(8,"pi",39),t.k0s()()(),t.j41(9,"div",40)(10,"ng-image-slider",41,0),t.bIt("arrowClickIndex",function(i){const a=t.eBV(r).$implicit,o=t.XpG(2);return t.Njj(o.arrowClick(i,a))})("imageClick",function(i){const a=t.eBV(r).$implicit,o=t.XpG(2);return t.Njj(o.templateClick(i,null==a?null:a.primaryCategoryId))}),t.k0s()()()()}if(2&s){const r=c.$implicit,e=t.XpG(2);t.R7$(4),t.SpI(" ",r.displayName,""),t.R7$(6),t.Y8G("images",r.imageObjects)("isSubscribed",e.user&&e.user.subscribed)("imageSize",r.imageSizel)("graphic",!0)("imagePopup",!1)}}function dt(s,c){if(1&s&&(t.j41(0,"div",31)(1,"div",null,1),t.DNE(3,ct,12,6,"div",32),t.k0s()()),2&s){const r=t.XpG();t.R7$(3),t.Y8G("ngForOf",r.mainProducts)}}
1function gt(s,c){1&s&&t.eu8(0)}let mt=(()=>{var s;class c{constructor(e,i,a,o,l,g){this.activeModal=e,this.templateService=i,this.router=a,this.authService=o,this.envService=l,this.modalService=g,this.mainSelectedFormat=1,this.rowsCount=5,this.pageNumber=0,this.inProgress=!1,this.selectedTemplate=!1,this.placeholder="Search amazing graphics",this.isLoaded=!1,this.storeCategories=R.b.graphstoreCategories,this.user=this.authService.currentUser()}ngOnDestroy(){lottie.destroy()}ngOnInit(){this.getproductCategoryListing(),this.getproductListing(F.KK.Graphics,T.i.LighxHome,e=>{this.mainProducts=e},e=>{})}getproductCategoryListing(){this.templateService.getProductCategoryListing(F.KK.Graphics,this.pageNumber,e=>{let i=e.storeCategories[0].subCategoryList;i&&i.length>0?(this.selectedCategoryobj=i[0],this.onBannerCategorySelect(this.selectedCategoryobj),this.mainProductsCategory=i,this.mainProductsCategory.forEach(a=>{a.src=a.thumbUrl;let o=this.storeCategories.subCategoryList.filter(l=>l.categoryId==a.categoryId);o&&o.length>0&&(a.categoryAlias=o[0].categoryAlias)}),this.isLoaded=!0):this.mainProductsCategory=[]},e=>{},this.mainSelectedFormat,T.i.Main)}getproductListing(e,i,a,o){this.templateService.getProductListing(e,this.pageNumber,l=>{let g=l.storeProducts,x=[];if(g&&g.length>0){for(let D=0;D<g.length;D++){let E=g[D];x.push(E),this.getTemplateByProductId(E.productId,0,T.i.LighxHome,N=>{this.getFormattedProduct(E,E.format,N)})}a(x)}else a([])},l=>{o([])},0,i)}getTemplateByProductId(e,i,a,o){this.templateService.getTemplateByProductId(e,this.pageNumber,l=>{o(l.storeProductImages)},l=>{},i,a)}getFormattedProduct(e,i,a){let l,o=[];for(let g=0;g<a.length;g++)l=a[g],l.productId=e.productId,o.push({video:l.videoThumbUrl,posterImage:l.thumbUrl,item:l,format:l.format,imageSizel:{width:220,height:220,space:20},isplay:149==e.primaryCategoryId&&g<5});return e.imageSizel=this.templateService.getSliderImageHeight(2),e.imageObjects=o,e}setimagewidth(e){return e.width?e.height||(e.height=e.width):e.height&&(e.width||(e.width=e.height)),e}getFormattedCategory(e,i,a){let l,o=[];for(let g=0;g<a.length;g++)l=a[g],l.format=2,o.push({video:l.videoThumbUrl,posterImage:l.thumbUrl,item:l,format:l.format,imageSizel:this.templateService.getNewImageSizeL(2,2)});return e.imageCategorySizel=this.templateService.getSliderImageHeight(2),e.imageCategoryObjects=o,e}showAllproduct(e){let i=e.img.item,a=this.storeCategories.subCategoryList.filter(o=>o.categoryId==i.primaryCategoryId);a&&a.length>0&&(i.primaryCategoryName=a[0].categoryAlias),i.productAlias=i.productAlias?i.productAlias:i.displayName.toString().toLowerCase(),this.router.navigate([R.b.storeGraphics.urlPart+i.primaryCategoryName+"/"+i.productAlias])}showAll(e){e.productAlias=e.productAlias?e.productAlias:e.displayName.toString().toLowerCase();let i=this.storeCategories.subCategoryList.filter(a=>a.categoryId==e.primaryCategoryId);i&&i.length>0&&(e.primaryCategoryName=i[0].categoryAlias),this.router.navigate([R.b.storeGraphics.urlPart+e.primaryCategoryName+"/"+e.productAlias])}templateClick(e,i=0){let a=(0,U.o0)();const o=this.storeCategories&&this.storeCategories.subCategoryList.filter(l=>l.categoryId==i)[0];if(e.img.item&&o)if(e.img.item.assetType=o.TemplateTypes?o.TemplateTypes:1,e.img.item.primaryCategoryId=o.categoryId?o.categoryId:i,this.envService.isMobileView){if("iOS"===a.os||"Mac OS"==a.os)return window.location.href="https://apps.apple.com/us/app/lightx-ai-photo-editor-retouch/id1400740705?platform=iphone",!1;if("Android OS"===a.os)return window.location.href="https://play.google.com/store/apps/details?id=com.lightx&hl=en",!1}else 149===i||25===i?this.router.navigate(["/video-template-editor/edit"],{queryParams:{action:"default_elements",tab:"animated",project_type:1,aspect:149==i?"1":"16-9",format:1,url:e.img.item?.imgUrl?e.img.item.imgUrl:"",pro:e.img.item?.pro?e.img.item.pro:0,tool:149==i?"animated-illustration":"animated-sticker",pcid:i,pid:e.img.item?.productId?e.img.item.productId:0}}):this.openGraphicAssestsPage(e.img.item)}openGraphicAssestsPage(e,i=null){this.modalService.open(k.S,{size:"xl modal-dialog-centered",centered:!0,windowClass:"template-dialog"}).componentInstance.imgObj=e}onBannerCategory(e){this.onBannerCategorySelect(e.product)}onBannerCategorySelect(e){this.pageNumber=0,this.inProgress=!1,this.selectedCategoryobj=e,this.selectedCategoryobj.categoryId=e.categoryId,this.templateService.getProductListing(e.categoryId,this.pageNumber,i=>{let a=i.storeProducts;a.length>0&&this.getFormattedCategory(e,e.format,a),this.inProgress=!0},i=>{},0,T.i.StoreProduct)}template(e){e&&e.trendingSearch&&!e.trendingSearch.trim()||(this.selectedTemplate=!0,e&&e.hasOwnProperty("trendingSearch")?this.router.navigate(["/design-element"],{queryParams:{search:e.trendingSearch}}):this.router.navigate(["/design-element"],{queryParams:{search:e}}))}trackByIndex(e){return e}arrowClick(e,i){if(149==i.primaryCategoryId){let a=this.mainProducts.filter(function(o,l){return o.productId==i.productId})[0];if(a)if("next"==e.event){for(let o=0;o<=4;o++)a.imageObjects[e.index+o].isplay||(a.imageObjects[e.index+o].isplay=!0);a.imageObjects[e.index-1].isplay=!1}else if("previous"==e.event){for(let o=0;o<=4;o++)a.imageObjects.length>e.index+o-1&&!a.imageObjects[e.index+o-1].isplay&&(a.imageObjects[e.index+o-1].isplay=!0);for(let o=0;o<=3;o++)a.imageObjects.length>e.index+4+o&&a.imageObjects[e.index+4+o].isplay&&(a.imageObjects[e.index+4+o].isplay=!1)}}}}return(s=c).\u0275fac=function(e){return new(e||s)(t.rXU(p.Lw),t.rXU($.I),t.rXU(m.Ix),t.rXU(V.u),t.rXU(j.L),t.rXU(p.Bq))},s.\u0275cmp=t.VBU({type:s,selectors:[["app-graphics-home"]],decls:14,vars:8,consts:[["nav",""],["container",""],[1,"container-fluid","p-ltrt","mt-15","m-ltrt"],[1,"mt-12"],[2,"background","#ECEBEB","border-radius","16px","min-height","560px"],[1,"cat-container"],[1,"searchAlign","position-relative","pt-8","mb-12"],[3,"template","templateType","placeholder"],["class","mt-4 searchAlign-tab",4,"ngIf"],["class","nav nav-pills","style","justify-content: center;",4,"ngIf"],[4,"ngIf"],["id","myTabContent2",1,"tab-content"],["class","tab-pane fade pb-2","id","events-tab",3,"ngClass",4,"ngFor","ngForOf"],["class","container-fluid mt-49 mb-14 pt-7 p-ltrt-temphome m-ltrt",4,"ngIf"],[1,"mt-4","searchAlign-tab"],[3,"selectMenu","items","categoryId","type"],[1,"nav","nav-pills",2,"justify-content","center"],["class","nav-item",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nav-item",3,"ngClass"],["data-toggle","tab",1,"w-122","bg-transparent","pointer","text-normal",3,"click"],[1,"tab-icon","new-badge",3,"mouseover","mouseout"],[1,"tab-icon-bg","mt-1",3,"ngClass"],[3,"src","alt"],[1,"product-name","text-semi","mt-8"],[3,"view"],["id","events-tab",1,"tab-pane","fade","pb-2",3,"ngClass"],[1,"templates-thumbs","hometemplate","mb-2","mt-4","p-0","graphicsAssestsTopSlider"],["class","boxSlider",4,"ngIf"],[1,"mx-auto",2,"width","fit-content"],[1,"boxSlider"],[3,"imageClick","images","isSubscribed","videoPlayShow","footerShow","graphic","imageSize","imagePopup"],[1,"container-fluid","mt-49","mb-14","pt-7","p-ltrt-temphome","m-ltrt"],["class","col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 p-0",4,"ngFor","ngForOf"],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0"],[1,""],[1,"d-flex","align-items-center","justify-content-between","mb-18","ps-3","pe-3","ps-lg-0","pe-lg-0"],[1,"text-24","text-semi","text-black"],["routerLinkActive","router-link-active",1,"btn","btn-grey","btn-h40","text-13","text-semi","grey-600","d-flex","align-items-center","ps-3","pe-2","border-0",3,"click"],[1,"d-flex","align-items-center"],["name","arrowdashbaord",1,"ps-2"],[1,"templates-thumbs","hometemplate","p-0","graphicsAssests","common-slider-mobile"],[3,"arrowClickIndex","imageClick","images","isSubscribed","imageSize","graphic","imagePopup"]],template:function(e,i){1&e&&(t.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"div",6)(5,"app-search",7),t.bIt("template",function(o){return i.template(o)}),t.k0s()(),t.DNE(6,it,2,3,"div",8)(7,st,2,2,"ul",9)(8,at,2,1,"ng-container",10),t.k0s(),t.j41(9,"div",11),t.DNE(10,lt,5,5,"div",12),t.k0s()()()(),t.DNE(11,dt,4,1,"div",13)(12,gt,1,0,"ng-container",10),t.nrm(13,"store-mobile-banner")),2&e&&(t.R7$(5),t.Y8G("templateType",3)("placeholder",i.placeholder),t.R7$(),t.Y8G("ngIf",i.envService.isMobileView),t.R7$(),t.Y8G("ngIf",!i.envService.isMobileView&&i.isLoaded),t.R7$(),t.Y8G("ngIf",!i.isLoaded),t.R7$(2),t.Y8G("ngForOf",i.mainProductsCategory),t.R7$(),t.Y8G("ngIf",i.isLoaded),t.R7$(),t.Y8G("ngIf",!i.isLoaded))},dependencies:[d.YU,d.Sq,d.bT,Y.b,Q.n,X.p,J.h,Z.S,m.wQ,H.B],styles:[".tab-icon[_ngcontent-%COMP%]{transition:all .3s ease}.tab-icon[_ngcontent-%COMP%]:hover{transform:translateY(-8px);transition:all .3s ease}.tab-icon[_ngcontent-%COMP%]:hover   .tab-icon-bg[_ngcontent-%COMP%]{background:#fff}.tab-icon[_ngcontent-%COMP%]:active{transform:translateY(-8px);transition:all .3s ease}.tab-icon[_ngcontent-%COMP%]   .tab-icon-bg[_ngcontent-%COMP%]{background:#fff3;height:56px;width:56px;color:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center}.tab-icon[_ngcontent-%COMP%]   .tab-icon-bg[_ngcontent-%COMP%]:hover{background:#fff;color:#626adf}.tab-icon[_ngcontent-%COMP%]   .tab-icon-bg.active[_ngcontent-%COMP%]{background:#fff}
1.tab-icon[_ngcontent-%COMP%]   .product-name[_ngcontent-%COMP%]{color:#fff;margin-bottom:16px}.nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]{position:relative;display:flex;text-align:-webkit-center;text-align:-moz-center}.cat-container[_ngcontent-%COMP%]{background:url(https://static.lightxeditor.com/assets/images/banner-tab.png);background-size:cover;border-radius:16px;background-color:#44c3b3}@media (min-width: 768px) and (max-width: 992px){.m-ltrt[_ngcontent-%COMP%]{padding:0 16px}}.w-122[_ngcontent-%COMP%]{width:122px}"]}),c})();var z=n(24886),pt=n(62702),ht=n(24045),ut=n(33645),ft=n(12164);const _t=["container"],vt=s=>({"mx-auto w-100":s}),A=s=>[s],yt=s=>({menuItemSelected:s}),bt=s=>({background:s}),Ct=s=>["/graphics-design/",s],It=s=>({"d-none":s}),Pt=(s,c)=>({"image-popup":s,"selected-image":c});function St(s,c){if(1&s){const r=t.RV6();t.j41(0,"div",37)(1,"a",38),t.bIt("click",function(){const i=t.eBV(r).$implicit,a=t.XpG(2);return a.isLoad=!0,t.Njj(a.changevlaue(i))}),t.j41(2,"span",39),t.EFF(3),t.k0s()()()}if(2&s){const r=c.$implicit,e=t.XpG(2);t.Y8G("id",r.productId),t.R7$(),t.Y8G("routerLink",t.eq3(4,A,"/design-element/"+e.selectedValue+"/"+r.productAlias))("ngClass",t.eq3(6,yt,e.activeProduct&&e.activeProduct.productId===r.productId)),t.R7$(2),t.JRh(r.displayName)}}function Gt(s,c){if(1&s){const r=t.RV6();t.j41(0,"div",25)(1,"div",26)(2,"div",27)(3,"ul",28)(4,"div",29)(5,"div",30)(6,"div",31)(7,"ng-select",32),t.mxI("ngModelChange",function(i){t.eBV(r);const a=t.XpG();return t.DH7(a.selectedValue,i)||(a.selectedValue=i),t.Njj(i)}),t.bIt("change",function(i){t.eBV(r);const a=t.XpG();return t.Njj(a.changeDropDownListing(i))}),t.k0s()()()()(),t.nrm(8,"hr"),t.j41(9,"div",33)(10,"div",34)(11,"div",35),t.DNE(12,St,4,8,"div",36),t.k0s()()()()()()}if(2&s){const r=t.XpG();t.R7$(7),t.Y8G("items",r.items)("clearSearchOnAdd",!1)("dropdownPosition","bottom"),t.R50("ngModel",r.selectedValue),t.Y8G("clearable",!1)("searchable",!1),t.R7$(5),t.Y8G("ngForOf",r.mainProductsCategory)}}function xt(s,c){if(1&s&&(t.j41(0,"div",46)(1,"a",10),t.nrm(2,"img",47),t.k0s()()),2&s){const r=t.XpG(2);t.R7$(),t.Y8G("routerLink",t.eq3(1,Ct,r.mainSelectedProduct.storyPageUrl))}}function Et(s,c){if(1&s&&(t.j41(0,"div",40)(1,"div",41)(2,"div",42)(3,"h1",43),t.EFF(4),t.k0s(),t.j41(5,"p",44),t.EFF(6),t.k0s(),t.DNE(7,xt,3,3,"div",45),t.k0s()()()),2&s){const r=t.XpG();t.Y8G("ngStyle",t.eq3(4,bt,r.templateSearch?"linear-gradient(85.82deg, rgb(245, 216, 218) -0.23%, rgb(245, 216, 218) 98.8%);":null==r.mainSelectedProduct?null:r.mainSelectedProduct.bgColors)),t.R7$(4),t.SpI("",r.mainSelectedProduct.title||r.mainSelectedProduct.displayName," "),t.R7$(2),t.JRh(r.mainSelectedProduct.desc),t.R7$(),t.Y8G("ngIf",r.mainSelectedProduct.storyPageUrl)}}function Mt(s,c){if(1&s&&(t.j41(0,"div",53)(1,"h1",43),t.EFF(2),t.k0s()()),2&s){const r=t.XpG(2);t.R7$(2),t.Lme("",r.searchText," ",r.categoryName,"")}}function Tt(s,c){if(1&s&&(t.j41(0,"div",54)(1,"div"),t.EFF(2),t.k0s()()),2&s){const r=t.XpG(2);t.R7$(2),t.SpI("Sorry, we don\u2019t have any matching result for '",r.searchText,"'.")}}function Dt(s,c){if(1&s){const r=t.RV6();t.j41(0,"div",48)(1,"div",49)(2,"buttons-scroll-menu",50),t.bIt("selectMenu",function(i){t.eBV(r);const a=t.XpG();return t.Njj(a.layoutSelect(i,!0))}),t.k0s()(),t.j41(3,"div",51),t.DNE(4,Mt,3,2,"div",52)(5,Tt,3,1,"div",17),t.k0s()()}if(2&s){const r=t.XpG();t.R7$(2),t.Y8G("categoryId",r.activeId)("items",r.items)("type","graphicfloatingbtn"),t.R7$(2),t.Y8G("ngIf",!r.isTerending&&!r.isCategoriesSearchResult),t.R7$(),t.Y8G("ngIf",!r.isTerending&&r.isCategoriesSearchResult)}}function Ft(s,c){if(1&s){const r=t.RV6();t.j41(0,"div",55)(1,"div",56)(2,"div",57)(3,"div",58)(4,"div",59,1)(6,"ng-select",32),t.mxI("ngModelChange",function(i){t.eBV(r);const a=t.XpG();return t.DH7(a.selectedValue,i)||(a.selectedValue=i),t.Njj(i)}),t.bIt("change",function(i){t.eBV(r);const a=t.XpG();return t.Njj(a.changeDropDownListing(i))}),t.k0s()()()()(),t.j41(7,"div",60,2)(9,"div",61)(10,"div",62)(11,"div",63)(12,"buttons-scroll-menu",64),t.bIt("selectMenu",function(i){t.eBV(r);const a=t.XpG();return t.Njj(a.layoutSelect(i,!1))}),t.k0s()()()()()()}if(2&s){const r=t.XpG();t.Y8G("ngClass",t.eq3(11,It,r.templateSearch&&r.isSearchResult)),t.R7$(6),t.Y8G("items",r.items)("clearSearchOnAdd",!1)("dropdownPosition","bottom"),t.R50("ngModel",r.selectedValue),t.Y8G("clearable",!1)("searchable",!1),t.R7$(6),t.Y8G("categoryId",null==r.activeProduct?null:r.activeProduct.productId)("items",r.mainProductsCategoryMobile)("type","graphicfloatingmain")("setstartIndex",null==r.activeProduct?null:r.activeProduct.productId)}}function Rt(s,c){if(1&s&&(t.j41(0,"div",54)(1,"div"),t.EFF(2),t.k0s(),t.j41(3,"div"),t.EFF(4,"Try another keyword or browse our recent graphic assets."),t.k0s()()),2&s){const r=t.XpG();t.R7$(2),t.SpI("Sorry we don't have any matching results for '",r.searchText,"'.")}}function wt(s,c){1&s&&(t.j41(0,"h2",65),t.EFF(1,"."),t.k0s())}function Ot(s,c){if(1&s&&t.nrm(0,"img",76),2&s){const r=t.XpG(2).$implicit;t.FS9("alt",r.displayName||r.imageDisplayName),t.FS9("srcset",null!=r&&r.videoThumbUrl?null==r?null:r.videoThumbUrl:r.thumbUrl)}}function jt(s,c){if(1&s&&t.nrm(0,"img",77),2&s){const r=t.XpG(3);t.Y8G("srcset",r.noPreviewAvailable)}}function At(s,c){if(1&s&&(t.j41(0,"div",71)(1,"div",72)(2,"picture",73),t.DNE(3,Ot,1,2,"img",74)(4,jt,1,1,"img",75),t.k0s()()()),2&s){const r=t.XpG().$implicit;t.R7$(3),t.Y8G("ngIf",(null==r?null:r.videoThumbUrl)||r.thumbUrl),t.R7$(),t.Y8G("ngIf",!(null!=r&&r.videoThumbUrl||null!=r&&r.thumbUrl))}}function Bt(s,c){if(1&s&&(t.j41(0,"div"),t.nrm(1,"app-lottie-player",78),t.j41(2,"div",79),t.nrm(3,"i",80),t.k0s()()),2&s){const r=t.XpG().$implicit;t.R7$(),t.Y8G("item",r.thumbUrl)("play",r.isplay)("hoverevent",!0)("width",360)("height",360)}}function Nt(s,c){if(1&s&&t.nrm(0,"img",82),2&s){const r=t.XpG(2).$implicit;t.FS9("alt",r.displayName||r.imageDisplayName),t.FS9("srcset",r.thumbUrl)}}function Lt(s,c){if(1&s&&t.nrm(0,"img",82),2&s){const r=t.XpG(2).$implicit;t.FS9("alt",r.displayName||r.imageDisplayName),t.FS9("srcset",r.videoThumbUrl)}}function Ut(s,c){if(1&s&&(t.j41(0,"div",71)(1,"div",72)(2,"picture",73),t.DNE(3,Nt,1,2,"
1img",81)(4,Lt,1,2,"img",81),t.k0s()()()),2&s){const r=t.XpG().$implicit;t.R7$(3),t.Y8G("ngIf",!(null!=r&&r.videoThumbUrl)),t.R7$(),t.Y8G("ngIf",null==r?null:r.videoThumbUrl)}}function kt(s,c){if(1&s&&(t.j41(0,"div",83),t.nrm(1,"app-lottie-player",78),t.j41(2,"div",79),t.nrm(3,"i",80),t.k0s()()),2&s){const r=t.XpG(),e=r.$implicit;t.Y8G("id",r.index),t.R7$(),t.Y8G("item",e.thumbUrl)("play",e.isplay)("hoverevent",!0)("width",360)("height",360)}}function $t(s,c){1&s&&t.nrm(0,"pi",84)}function Vt(s,c){if(1&s&&(t.j41(0,"div",85),t.EFF(1),t.k0s()),2&s){const r=t.XpG().$implicit,e=t.XpG();t.Y8G("dir",e.textDirection),t.R7$(),t.JRh(null==r?null:r.title)}}function Yt(s,c){if(1&s){const r=t.RV6();t.j41(0,"div",66,3),t.bIt("click",function(){const i=t.eBV(r).$implicit,a=t.XpG();return t.Njj(a.templateClick(i))}),t.DNE(2,At,5,2,"div",67)(3,Bt,4,5,"div",23)(4,Ut,5,2,"div",67)(5,kt,4,6,"div",68)(6,$t,1,0,"pi",69)(7,Vt,2,2,"div",70),t.k0s()}if(2&s){const r=c.$implicit,e=c.index,i=t.XpG();t.xc7("margin-left",i.thumbLeftMargin,"px")("margin-right",i.thumbRightMargin,"px"),t.Y8G("ngClass",t.l_i(12,Pt,i.imagePopup,i.activeImageIndex==e))("id",e),t.R7$(2),t.Y8G("ngIf",!i.templateSearch&&149!=i.categoryId),t.R7$(),t.Y8G("ngIf",!i.templateSearch&&149==i.categoryId),t.R7$(),t.Y8G("ngIf",i.templateSearch&&r.primaryCategoryId&&149!=r.primaryCategoryId),t.R7$(),t.Y8G("ngIf",i.templateSearch&&r.primaryCategoryId&&149==r.primaryCategoryId),t.R7$(),t.Y8G("ngIf",1==r.pro&&!i.isSubscribed),t.R7$(),t.Y8G("ngIf",null==r?null:r.title)}}function Xt(s,c){1&s&&(t.j41(0,"div",87),t.nrm(1,"div",88),t.k0s())}function Ht(s,c){if(1&s&&(t.qex(0),t.DNE(1,Xt,2,0,"div",86),t.bVm()),2&s){const r=t.XpG();t.R7$(),t.Y8G("ngForOf",r.Arr(8).fill(1))}}function zt(s,c){if(1&s){const r=t.RV6();t.j41(0,"div",89)(1,"button",90),t.bIt("click",function(){t.eBV(r);const i=t.XpG();return t.Njj(i.loadMore())}),t.EFF(2,"Load more"),t.k0s()()}if(2&s){const r=t.XpG();t.R7$(),t.Y8G("disabled",!r.isLoaded)}}let B=(()=>{var s;class c{constructor(e,i,a,o,l,g,x,D,E,N,L){this.document=e,this.templateService=i,this.route=a,this.authService=o,this.ngZone=l,this.router=g,this.seoService=x,this.envService=D,this.location=E,this.modalService=N,this.env=L,this.homeURL="/",this.graphicsHomeUrl="/graphic-element",this.selectedCategoryValue="",this.noPreviewAvailable="https://static.lightxeditor.com/assets/images/thumb-error-default.png",this.changeTab=new t.bkB,this.changeBtn=new t.bkB,this.selectedLayoutId=1,this.isCustomScrolled=!1,this.productId=0,this.templateType=6,this.selecttemplateType=2,this.searchTemplateType=3,this.templateOptionList=[],this.categoryId=0,this.selectedValue="illustration",this.manageImageRatio=!1,this.textDirection="ltr",this.mainSelectedProduct={primaryCategoryId:"",productId:"",displayName:"",imageObjects:[],bgColors:"",desc:"",format:"",storyPageUrl:"",title:""},this.activeImageIndex=0,this.imagePopup=!1,this.isLoaded=!1,this.mainSelectedFormat=0,this.rowsCount=30,this.pageNumber=0,this.inProgress=!1,this.isProductsEnd=!1,this.thumbLeftMargin=0,this.thumbRightMargin=12,this.thumbUrl="",this.buttonName="View All",this.products=[],this.templateSearch=!1,this.searchText="",this.templateImages=[],this.templateImagePageNumber=1,this.pageSize=14,this.isSearchResult=!0,this.isDdlOpen=!1,this.isCategoriesSearchResult=!1,this.bgcolor="",this.isSearchProgress=!1,this.Arr=Array,this.isleftpanel=!0,this.gradientarray=pt.V.gradientarray,this.productAlias="",this.activeId=0,this.categoryName="",this.wordToReplace=/<category>/g,this.storeCategories=R.b.graphstoreCategories,this.isTerending=!1,this.setstartIndex="",this.isLoad=!1,this.isScroll=!1,this.user=this.authService.currentUser(),this.isSubscribed=!!this.user&&this.user.subscribed,this.routeEventSubscription=this.router.events.subscribe(W=>{if(W instanceof m.wF){this.isTerending=!1,this.router.navigated=!1;const K=this.route.snapshot.queryParamMap;var Jt=K&&K.get("search");this.inProgress||(this.mainSelectedProduct.productId=null,this.activeProduct=null,this.templateType!==z.If.GRAPHICS||this.items&&!(this.items.length<=0)||Jt?!this.mainProductsCategory&&this.items&&this.items.length>0?(this.mainProductsCategory=this.items[0].storeProducts,this.selectedValue=this.items[0]?.gaName,this.categoryId=this.items[0]?.categoryId):(this.products=[],this.pageNumber=0,this.mainProductsCategoryMobile=null,this.loadData()):(this.selectedValue=this.route.
1snapshot.paramMap.get("catslug")?this.route.snapshot.paramMap.get("catslug"):"",this.getDropDownListing(F.KK.Graphics)))}}),window.scroll(0,0),this.checksize()}onResize(e){this.checksize()}checksize(){let e=0;window&&window.innerWidth?(e=window.innerWidth,this.isleftpanel=e>900):this.isleftpanel=!0}changeDropDownListing(e){this.categoryId=e.categoryId,this.mainProductsCategory=e.storeProducts,this.mainProductsCategoryMobile=this.mainProductsCategory.map(i=>({title:i.displayName,id:i.productId})),this.activeProduct=this.mainProductsCategory[0],this.changevlaue(this.activeProduct)}loadData(){this.isTerending=!1;const e=this.route.snapshot.queryParamMap;let i="";if(e&&e.get("search")){let o=this.route.snapshot.paramMap.get("catslug")?this.route.snapshot.paramMap.get("catslug"):"";if(this.items&&o){let l=this.items.filter(g=>g.categoryAlias==o)[0];this.activeId=l?l.categoryId:0}}else{i=this.route.snapshot.paramMap.get("catslug")?this.route.snapshot.paramMap.get("catslug"):"";let o=this.route.snapshot.paramMap.get("slug")?this.route.snapshot.paramMap.get("slug"):"";if(""!=o&&""!=i?this.productAlias=o:""!=i&&""==o&&""!=this.productAlias&&this.updateSlugurl(),this.items&&i){let l=this.items.filter(g=>g.categoryAlias==(i||this.storeCategories.subCategoryList[0].categoryAlias));if(l.length>0){if(this.selectedValue=l[0].categoryAlias,this.mainProductsCategory=l[0].storeProducts,this.categoryId=l[0].categoryId,l[0].storeProducts&&!this.productAlias)return void this.changeDropDownListing(l[0]);this.mainProductsCategoryMobile=this.mainProductsCategory.map(g=>({title:g.displayName,id:g.productId}))}}}let a=this.productAlias;if(""!=i&&i!=this.selectedValue){let o=this.items&&this.items.filter(l=>l.categoryAlias==i);o&&o.length>0&&(this.mainProductsCategory=o[0].storeProducts),this.selectedValue=i,a=this.productAlias}if(a&&""!=i)this.getNewTemplateByProductAlias(a,o=>{this.isLoad?this.isLoad=!1:this.scrollEvent()});else if(e&&e.get("search"))this.searchText=e.get("search")?e.get("search"):a,this.searchTemplateImages(this.searchText,this.activeId);else{let o="blue";this.isTerending=!0,this.categoryId=103,this.searchTemplateImages(o,103)}}ngOnInit(){this.resetSelectedProduct(),this.selectedValue=this.route.snapshot.paramMap.get("catslug")?this.route.snapshot.paramMap.get("catslug"):"",this.productAlias=this.route.snapshot.paramMap.get("slug")?this.route.snapshot.paramMap.get("slug"):"",this.templateType===z.If.GRAPHICS&&(this.getDropDownListing(F.KK.Graphics),this.setstartIndex=this.productAlias)}templateClick(e){let i=(0,U.o0)();if(e.primaryCategoryId){const a=this.storeCategories&&this.storeCategories.subCategoryList.filter(o=>o.categoryId==e.primaryCategoryId)[0];e.assetType=a.TemplateTypes?a.TemplateTypes:1,e.primaryCategoryId=a.categoryId?a.categoryId:149,e.productId=this.mainSelectedProduct.productId?this.mainSelectedProduct.productId:0}else{const a=this.storeCategories&&this.storeCategories.subCategoryList.filter(o=>o.categoryAlias==this.selectedValue)[0];e.assetType=a.TemplateTypes?a.TemplateTypes:1,e.primaryCategoryId=a.categoryId?a.categoryId:149,e.productId=this.mainSelectedProduct.productId?this.mainSelectedProduct.productId:0}if(this.envService.isMobileView){if("iOS"===i.os||"Mac OS"==i.os)return window.location.href="https://apps.apple.com/us/app/lightx-ai-photo-editor-retouch/id1400740705?platform=iphone",!1;if("Android OS"===i.os)return window.location.href="https://play.google.com/store/apps/details?id=com.lightx&hl=en",!1}else 149===this.categoryId||25===this.categoryId?this.router.navigate(["/video-template-editor/edit"],{queryParams:{action:"default_elements",tab:"animated",project_type:1,aspect:149==this.categoryId?e.aspect:e.wRatio+"-"+e.hRatio,format:1,url:e?.imgUrl?e.imgUrl:"",pro:e?.pro?e.pro:0,tool:149==this.categoryId?"animated-illustration":"animated-sticker",pcid:this.categoryId,pid:e?.productId?e.productId:0}}):149===e.primaryCategoryId||25===e.primaryCategoryId?this.router.navigate(["/video-template-editor/edit"],{queryParams:{action:"default_elements",tab:"animated",project_type:1,aspect:149==e.primaryCategoryId?"1":"16-9",format:1,url:e?.imgUrl?e.imgUrl:"",pro:e?.pro?e.pro:0,tool:149==e.primaryCategoryId?"animated-illustration":"animated-sticker",pcid:e.primaryCategoryId,pid:e?.productId?e.productId:0}}):this.openGraphicAssestsPage(e);return!1}openGraphicAssestsPage(e,i=null){this.modalService.open(k.S,{size:"xl modal-dialog-centered",centered:!0,windowClass:"template-dialog"}).componentInstance.imgObj=e}loadMore(){this.inProgress||(this.pageNumber=this.pageNumber+1,this.loadData())}updateTagSearchUrl(){if(this.activeId&&this.activeId>0){let e=this.storeCategories.subCategoryList.filter(i=>i.categoryId==this.activeId);if(e&&e.length>0){let o="./design-element/"+(e[0].categoryAlias+"?search="+this.searchText).trim();window.history.pushState({},null,o)}}else window.history.pushState({},null,"./design-element?search="+this.searchText)}searchTemplateWithTag(e,i=null){this.activeId=i&&i.categoryId?i.categoryId:0,this.categoryName=i&&i.displayName?i.displayName:"",this.products=[],this.pageNumber=0,this.updateTagSearchUrl(),this.searchTemplateImages(e,this.activeId)}searchTemplateImages(e,i=0){if(e&&!this.isSearchProgress&&("string"==typeof e||e instanceof String)){this.templateSearch=!0,this.templateImages=[],this.isSearchProgress=!0,this.isLoaded=!1,this.isCategoriesSearchResult=!1;let a={pageNumber:this.pageNumber,rows:this.rowsCount,templateType:this.searchTemplateType,primaryCategoryId:i};this.templateService.searchGraphicTemplateImages(e,a,o=>{this.ngZone.run(()=>{this.inProgress=!1;let l=o.body&&o.body.storeProductImages?o.body.storeProductImages:[];if(l&&l.length>0?(this.products=this.pageNumber>0?this.products.concat(l):l,this.isProductsEnd=l.length<this.rowsCount):this.isProductsEnd=!0,0===l.length)if(a.primaryCategoryId>0)this.templateSearch=!0,this.isSearchResult=!0,this.isTerending=!1,this.isCategoriesSearchResult=!0;else{let g="blue";this.categoryId=103,this.isTerending=!0,this.isSearchResult=!1,this.isSearchProgress=!1,this.searchTemplateImages(g,103)}else this.isSearchResult=!0;this.isSearchProgress=!1,this.isLoaded=!0})},o=>{this.isSearchProgress=!1,this.isLoaded=!0})}}getNewTemplateByProductAlias(e,i=null){this.isLoaded=!1,this.inProgress=!0,this.isSearchResult=!0,this.templateService.getTemplatesByProductAlias({format:0,pageNumber:this.pageNumber,rows:this.rowsCount,productAlias:e,tagId:this.selectedTag?this.selectedTag.tagId:null},o=>{this.activeProduct=o;let l=o.storeProductImages;if(this.isLoaded=!0,this.inProgress=!1,this.templateSearch=!1,this.mainSelectedProduct.displayName=o.displayName,this.mainSelectedProduct.productId=o.productId,this.mainSelectedProduct.primaryCategoryId=this.categoryId.toString(),this.mainSelectedProduct.bgColors=o.bgColors?o.bgColors:"linear-gradient(85.82deg, rgb(245, 216, 218) -0.23%, rgb(245, 216, 218) 98.8%)",this.mainSelectedProduct.storyPageUrl=o.storyPageUrl,this.mainSelectedProduct.desc=o.desc,this.mainSelectedProduct.title=o.title,!o.description&&!o.title){this.productHeading=o.displayName?o.displayName:o.title;const g=this.storeCategories.subCategoryList.filter(x=>x.categoryId==this.categoryId)[0];g&&(this.mainSelectedProduct.title=g.heading.replace(this.wordToReplace,this.productHeading),this.mainSelectedProduct.desc=g.headingDesc.replace(this.wordToReplace,this.productHeading))}o.metaTitle&&o.metaDesc&&(this.seoService.updatePageTitle(o.metaTitle),this.seoService.updatePageMeta("description",o.metaDesc)),l&&l.length>0?(this.products=this.pageNumber>0?this.products.concat(l):l,this.isProductsEnd=l.length<this.rowsCount):this.isProductsEnd=!0,i&&i()},o=>{})}ngOnDestroy(){this.routeEventSubscription&&this.routeEventSubscription.unsubscribe()}getDropDownListing(e){this.templateService.getCategoryDetails(e,0,i=>
1{this.items=i.storeCategory.subCategoryList,this.items.forEach(o=>{let l=this.storeCategories.subCategoryList.filter(g=>g.categoryId==o.categoryId)[0];o.categoryAlias=l&&l?l.categoryAlias:""});let a=this.items.filter(o=>o.categoryAlias==(this.selectedValue?this.selectedValue:this.storeCategories.subCategoryList[0].categoryAlias));a&&a.length>0&&(this.selectedValue=a[0].categoryAlias,this.categoryId=a[0].categoryId,this.mainProductsCategory=a[0].storeProducts,this.productAlias=a[0].storeProducts[0].productAlias?a[0].storeProducts[0].productAlias:"",this.mainProductsCategoryMobile=this.mainProductsCategory.map(o=>({title:o.displayName,id:o.productId}))),this.isLoaded=!0,this.loadData()},i=>{},0,T.i.Main)}scrollEvent(){this.isLoad||setTimeout(()=>{if(this.activeProduct&&this.activeProduct.productId){var e=document.getElementById(this.activeProduct.productId);e&&(e.scrollIntoView(),0==this.pageNumber&&window.scrollTo(0,0))}},200)}updateSlugurl(){this.location.replaceState("./design-element/"+this.selectedValue+"/"+this.productAlias)}changevlaue(e){if(this.productAlias==e.productAlias)return;let i;if(this.activeProduct=e,this.resetSelectedProduct(),e)this.productAlias=e.productAlias?e.productAlias:e.displayName,i="./design-element/"+this.selectedValue+"/"+this.productAlias,this.router.navigate([i],{skipLocationChange:!1});else{const a=this.gradientarray[Math.floor(Math.random()*this.gradientarray.length)];this.mainSelectedProduct.bgColors=a,this.bgcolor=a,this.loadData()}}resetSelectedProduct(){this.activeId=0,this.products=[],this.isProductsEnd=!1,this.pageNumber=0,this.isLoaded=!1}GraphicTrendingSearches(e,i=null){this.isLoaded=!1,this.inProgress=!0,this.isSearchResult=!0,this.templateService.getGraphicTrendingSearches({format:0,pageNumber:this.pageNumber,rows:this.rowsCount,productAlias:e,tagId:this.selectedTag?this.selectedTag.tagId:null,templateType:this.searchTemplateType},o=>{let l=o.storeProductImages;this.isLoaded=!0,this.inProgress=!1,this.templateSearch=!1,this.mainSelectedProduct.displayName=o.displayName,this.mainSelectedProduct.productId=o.productId,this.mainSelectedProduct.bgColors=o.bgColors?o.bgColors:"linear-gradient(85.82deg, rgb(245, 216, 218) -0.23%, rgb(245, 216, 218) 98.8%)",this.mainSelectedProduct.storyPageUrl=o.storyPageUrl,this.mainSelectedProduct.desc=o.desc,this.mainSelectedProduct.title=o.title,o.metaTitle&&o.metaDesc&&(this.seoService.updatePageTitle(o.metaTitle),this.seoService.updatePageMeta("description",o.metaDesc)),l&&l.length>0?(this.products=this.pageNumber>0?this.products.concat(l):l,this.isProductsEnd=l.length<this.rowsCount):this.isProductsEnd=!0,i&&i()},o=>{})}layoutSelect(e,i){if(i)this.activeId=e.categoryId,this.searchTemplateWithTag(this.searchText,e);else{const a=this.mainProductsCategory.filter(o=>o.productId===e.id)[0];a&&(this.categoryId=a.primaryCategoryId,this.activeProduct=a,this.changevlaue(a))}}onWindowScroll(e){this.isScroll||document.getElementById("dataDiv")&&(this.isScroll=!0,window.scrollTo(0,0))}windowScroll(e){let i=e.target||e.currentTarget;if(i.documentElement){let a=Number(i.documentElement.scrollTop);this.onWindowScroll(a)}}}return(s=c).\u0275fac=function(e){return new(e||s)(t.rXU(d.qQ),t.rXU($.I),t.rXU(m.nX),t.rXU(V.u),t.rXU(t.SKi),t.rXU(m.Ix),t.rXU(ht.F),t.rXU(j.L),t.rXU(d.aZ),t.rXU(p.Bq),t.rXU(j.L))},s.\u0275cmp=t.VBU({type:s,selectors:[["app-graphics-product"]],viewQuery:function(e,i){if(1&e&&t.GBs(_t,7),2&e){let a;t.mGM(a=t.lsd())&&(i.container=a.first)}},hostBindings:function(e,i){1&e&&t.bIt("resize",function(o){return i.onResize(o)},!1,t.tSv)("scroll",function(o){return i.windowScroll(o)},!1,t.tSv)},inputs:{templateType:"templateType"},outputs:{changeTab:"changeTab",changeBtn:"changeBtn"},decls:28,vars:20,consts:[["container",""],["myDrop","ngbDropdown"],["menuWrapper",""],["imageDiv",""],[1,"container-fluid","p-ltrt","mb-14","m-ltrt",3,"ngClass"],[1,"container-fluid"],[1,"row"],["class","cat-left-panel position-relative me-4 d-none d-lg-block ps-0 pe-0",4,"ngIf"],["id","dataDiv",1,"cat-right-panel","ps-0","pe-0"],[1,"darkThemeBreadcrumb","text-14",3,"ngClass"],[3,"routerLink"],["name","breadcrumbarrow",1,"ms-1","me-1"],[1,"text-primary","text-capitalize"],["class","home-top-banner d-flex align-items-center mt-4 position-relative",3,"ngStyle",4,"ngIf"],["class","store-scroll-wrapper mob-sticky-search mt-4",4,"ngIf"],["class","mob-sticky pb-1",3,"ngClass",4,"ngIf"],[1,"container-fluid","mt-1","p-0",2,"padding-right","4px !important"],["class","text-xl text-semi text-center text-center mt-3 mb-3",4,"ngIf"],[1,"ml-8"],["class","list-thumb-place-text wpx-200 anim-blank-view",4,"ngIf"],[1,"graphicProductImage"],[1,"templates-thumbs-list","mb-5",2,"--row-height","230px"],["class","img-div img-format-2 ml-8",3,"ngClass","margin-left","margin-right","id","click",4,"ngFor","ngForOf"],[4,"ngIf"],["class","col-12 d-flex justify-content-center mb-5",4,"ngIf"],[1,"cat-left-panel","position-relative","me-4","d-none","d-lg-block","ps-0","pe-0"],[1,"sidebar-container"],["id","sidebar1",1,"template-home-sidebar"],[1,"list-unstyled","pt-3","ps-3","pe-3"],[1,"card-body"],[1,"d-flex",2,"width","100%"],[1,"media-template","w-100","graphicAssests"],["bindLabel","displayName","bindValue","categoryAlias",1,"media-template",3,"ngModelChange","change","items","clearSearchOnAdd","dropdownPosition","ngModel","clearable","searchable"],[1,"content","mb-1","pb-3"],["customScrollDir","",1,"is-popover-tb-n","scroll-container"],[1,"pt-9"],["class","mt-1",3,"id",4,"ngFor","ngForOf"],[1,"mt-1",3,"id"],[1,"btn-dropdown","text-normal","text-black","text-semi","border-radius-12","w-100","text-start","border-0","btn-h48","inner","p-0","bg-transparent","pointer","d-flex","align-items-center",3,"click","routerLink","ngClass"],[1,"ms-3"],[1,"home-top-banner","d-flex","align-items-center","mt-4","position-relative",3,"ngStyle"],[1,"d-flex","cover-inner","position-relative","align-items-center","h-100","w-100","justify-content-center",2,"min-height","245px"],[1,"w-100","p-ltrt-privacy","pt-3","pb-3","m-h-194"],[1,"text-32","text-black","lh-125","text-capitalize"],[1,"text-lg","text-black","mt-2"],["class","mt-3",4,"ngIf"],[1,"mt-3"],["src","https://static.lightxeditor.com/assets/images/btn-learn-more.png","loading","lazy","width","111","height","36",1,"btn-learn-more"],[1,"store-scroll-wrapper","mob-sticky-search","mt-4"],[1,"store-scroll-menu","mb-9"],[1,"mt-9","m-tab-scroll",3,"selectMenu","categoryId","items","type"],[1,"d-flex","cover-inner","position-relative","align-items-center","mt-3","h-100","w-100","justify-content-center"],["class","w-100",4,"ngIf"],[1,"w-100"],[1,"text-xl","text-semi","text-center","text-center","mt-3","mb-3"],[1,"mob-sticky","pb-1",3,"ngClass"],[1,"row","d-lg-none"],[1,"col-12"],[1,"select-product-menu"],["ngbDropdown","","is-open","false",1,"d-inline-block","mt-9","w-100","graphicProductPageMobile",2,"max-width","576px"],[1,"store-scroll-wrapper","h-48","mt-9"],[1,"store-scroll-menu","m-graphics-tab"],["id","0",1,"thumbs-category-col"],[1,"graphicProductPageMobile"],[1,"mt-9","m-tab-scroll",3,"selectMenu","categoryId","items","type","setstartIndex"],[1,"list-thumb-place-text","wpx-200","anim-blank-view"],[1,"img-div","img-format-2","ml-8",3,"click","ngClass","id"],["class","c-img mx-auto","style","--row-height:178px",4,"ngIf"],["class","graphicsProductPage",3,"id",4,"ngIf"],["name","proTemplateIcon","class","f-28 icon  pro-template-icon image template__img",4,"ngIf"],["class","caption",3,"dir",4,"ngIf"],[1,"c-img","mx-auto",2,"--row-height","178px"],[1,"custom-image-main"],["loading","lazy",1,"image","template__img"],["loading","lazy",3,"alt","srcset",4,"ngIf"],["alt","","loading","lazy",3,"srcset",4,"ngIf"],["loading","lazy",3,"alt","srcset"],["alt","","loading","lazy",3,"srcset"],[3,"item","play","hoverevent","width","height"],[1,"position-absolute","hw-24",2,"left","8px","bottom","8px"],[1,"playGraphics"],["loading","lazy","class","position-relative",3,"alt","srcset",4,"ngIf"],["loading","lazy",1,"position-relative",3,"alt","srcset"],[1,"graphicsProductPage",3,"id"],["name","proTemplateIcon",1,"f-28","icon","pro-template-icon","image","template__img"],[1,"caption",3,"dir"],["class","list-thumb-place blank anim-blank-view img-div img-format-3 m-8","style","height:auto",4,"ngFor","ngForOf"],[1,"list-thumb-place","blank","anim-blank-view","img-div","img-format-3","m-8",2,"height","auto"],[1,"c-img",2,"height","var(--row-height)"],[1,"col-12","d-flex","justify-content-center","mb-5"],["_ngcontent-prm-c104","","type","submit",1,"btn-all","btn-outline-primary","btn-h48","text-lg","ps-5","pe-5",3,"click","disabled"]],template:function(e,i){1&e&&(t.j41(0,"div",4)(1,"div",5)(2,"div",6),t.DNE(3,Gt,13,7,"div",7),t.j41(4,"div",8)(5,"div",9)(6,"a",10),t.EFF(7,"Home"),t.k0s(),t.nrm(8,"pi",11),t.j41(9,"a",10),t.EFF(10,"Graphics"),t.k0s(),t.nrm(11,"pi",11),t.j41(12,"span",12),t.EFF(13),t.k0s()(),t.DNE(14,Et,8,6,"div",13)(15,Dt,6,5,"div",14)(16,Ft,13,13,"div",15),t.j41(17,"div",16,0),t.DNE(19,Rt,5,1,"div",17),t.j41(20,"div",18),t.DNE(21,wt,2,0,"h2",19),t.k0s(),t.j41(22,"div",20)(23,"div",21),t.DNE(24,Yt,8,15,"div",22)(25,Ht,2,1,"ng-container",23),t.k0s()(),t.DNE(26,zt,3,1,"div",24),t.k0s()()()()(),t.nrm(27,"store-mobile-banner")),2&e&&(t.Y8G("ngClass",i.env.isMobileView?"home-content-product":"home-content"),t.R7$(3),t.Y8G("ngIf",!i.envService.isMobileView),t.R7$(2),t.Y8G("ngClass",t.eq3(14,vt,i.envService.isMobileView)),t.R7$(),t.Y8G("routerLink",t.eq3(16,A,i.homeURL)),t.R7$(3),t.Y8G("routerLink",t.eq3(18,A,i.graphicsHomeUrl)),t.R7$(4),t.JRh(i.mainSelectedProduct.displayName||i.searchText),t.R7$(),t.Y8G("ngIf",!i.templateSearch&&i.isSearchResult),t.R7$(),t.Y8G("ngIf",i.templateSearch&&i.isSearchResult&&!i.isTerending),t.R7$(),t.Y8G("ngIf",i.envService.isMobileView),t.R7$(3),t.Y8G("ngIf",(!i.isSearchResult||i.isTerending)&&i.isLoaded),t.R7$(2),t.Y8G("ngIf",!i.templateSearch&&!i.isLoaded),t.R7$(3),t.Y8G("ngForOf",i.products),t.R7$(),t.Y8G("ngIf",!i.isLoaded),t.R7$(),t.Y8G("ngIf",!i.isProductsEnd&&i.products.length>0))},dependencies:[h.BC,h.vS,d.YU,d.Sq,d.bT,d.B3,Y.b,X.p,ut.q,m.Wk,p.tg,I.vr,ft.H,H.B],styles:[".home-top-banner[_ngcontent-%COMP%]{background-size:cover;border-radius:12px;min-height:200px}.img-div[_ngcontent-%COMP%]{transition:all .3s ease}.img-div[_ngcontent-%COMP%]:hover{transform:translateY(-8px);opacity:1;cursor:pointer}.img-format-2[_ngcontent-%COMP%]   .c-img[_ngcontent-%COMP%]{padding-bottom:0;height:234px;display:flex;align-items:center;justify-content:center}.img-div[_ngcontent-%COMP%]{background:#272b34}.btn-dropdown[_ngcontent-%COMP%]:hover{background:#626adf0d!important}.menuItemSelected[_ngcontent-%COMP%]{background-color:#626adf1a!important;color:#626adf!important}.menuItemSelected[_ngcontent-%COMP%]:hover{background-color:#626adf1a!important}.intermediate-resize-col[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}.intermediate-resize-col[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.intermediate-resize-col[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:transparent}.store-scroll-menu[_ngcontent-%COMP%]{background:#626adf0d;border-radius:20px;
1display:inline-block;width:100%}@media (max-width: 767px){.home-top-banner[_ngcontent-%COMP%]{min-height:auto!important}.home-top-banner[_ngcontent-%COMP%]   .p-ltrt-privacy[_ngcontent-%COMP%]{padding:24px 16px!important}}"]}),c})();const Wt=[{path:"explore",component:mt},{path:":catslug",component:B},{path:":catslug/:slug",component:B},{path:"",component:B}];let Kt=(()=>{var s;class c{}return(s=c).\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.$C({type:s}),s.\u0275inj=t.G2t({imports:[m.iI.forChild(Wt),m.iI]}),c})(),Qt=(()=>{var s;class c{}return(s=c).\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.$C({type:s}),s.\u0275inj=t.G2t({imports:[_,O,h.YN,d.MD,y.r,C.G,Kt]}),c})()},62702:(M,v,n)=>{n.d(v,{V:()=>h});let h=(()=>{class y{}return y.gradientarray=["linear-gradient(90deg, #F1CAC9 0%, #F2E1E1 100%)","linear-gradient(270deg, #FFDEE8 0%, #D4D3FF 100%)","linear-gradient(270deg, #E5FFFF 0%, #A8D7E2 100%)","linear-gradient(90deg, #EBF1C9 0%, #F2F2E1 100%)","linear-gradient(270deg, #DDFBFF 0%, #B6B7FF 100%)","linear-gradient(270deg, #FFF1B8 0%, #FFBFA9 100%)","linear-gradient(90deg, #DBC79F 0%, #FBECDE 100%)","linear-gradient(270deg, #EBF4F5 0%, #B5C6E0 100%)","linear-gradient(270deg, #E9DDD9 0%, #B8BDD3 100%)","linear-gradient(90deg, #C0C0AA 0%, #E6E7D3 100%)","linear-gradient(270deg, #EDE2D2 0%, #CEC7F5 100%)","linear-gradient(270deg, #F7E9E9 0%, #FAC5B2 100%)","linear-gradient(90deg, #FCBC98 0%, #F1E1C2 100%)","linear-gradient(270deg, #FFDEE8 0%, #E8BDF9 100%)","linear-gradient(249.44deg, #D9E6E7 13.64%, #BEDAD8 86.36%)","linear-gradient(90deg, #AFBFDB 0%, #DEE0EC 100%)","linear-gradient(270deg, #D8E8EA 0%, #90CBC7 100%)","linear-gradient(270deg, #CBE2EB 0%, #F7C0E5 100%)","linear-gradient(90deg, #ACDDD4 0%, #DBEBC7 100%)","linear-gradient(270deg, #FFD7D7 0%, #F39E9E 100%)","linear-gradient(270deg, #EDDDD7 0%, #C7E0E2 100%)","linear-gradient(90deg, #E9B1C2 0%, #F2E4E8 100%)","linear-gradient(270deg, #E3E3E3 0%, #CAD0FF 100%)","linear-gradient(270deg, #E8E8E8 0%, #B6C6CD 100%)","linear-gradient(269.64deg, #F4E8C6 -6.46%, #D9D9D9 102.5%)","linear-gradient(90deg, #D9FCE4 0%, #C7F3F9 100%)","linear-gradient(270deg, #F9F4E7 0%, #E3F4D9 100%)","linear-gradient(269.64deg, #F6F6F6 -6.46%, #F4E7C8 102.5%)","linear-gradient(90deg, #D9FCF1 0%, #F4FEFF 100%)","linear-gradient(270deg, #F5FFF0 0%, #E3F4D9 100%)"],y})()}}]);

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.