PageSourceSearch

https://static.lightxeditor.com/web/4230.6bbd9c8cb2d31a3a.js

js lightxeditor.com collected 2026-10-01 11:33:20 UTC 41,425 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklightx=self.webpackChunklightx||[]).push([[4230],{64230:(st,k,c)=>{c.r(k),c.d(k,{DesignTemplatesModule:()=>it});var u=c(60177),z=c(83339),H=c(79421),_=c(84341),h=c(33391),A=c(89818),W=c(84387),g=c(74710),Z=c(15782),e=c(54438),T=c(92452),M=c(68465),v=c(16478),K=c(33726),Q=c(70152),J=c(23294),G=c(83609),R=c(32764),x=c(20999),N=c(68010),F=c(24045),D=c(30004),S=c(68287),q=c(25939),ee=c(48039),E=c(85989),B=c(68064),te=c(61163),$=c(36561);const ie=["container"],se=n=>({active:n}),ne=(n,a)=>({active:n,new_item:a}),oe=n=>({"show active":n});function ae(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",32)(1,"buttons-scroll-menu",33),e.bIt("selectMenu",function(i){e.eBV(s);const o=e.XpG();return e.Njj(o.onBannerCategory(i))}),e.k0s()()}if(2&n){const s=e.XpG();e.R7$(),e.Y8G("items",s.mainProductsCategory)("categoryId",null==s.selectedCategoryobj?null:s.selectedCategoryobj.categoryId)("type","tab")}}function re(n,a){if(1&n){const s=e.RV6();e.j41(0,"li",36)(1,"a",37),e.bIt("click",function(){const i=e.eBV(s).$implicit,o=e.XpG(2);return e.Njj(o.onBannerCategorySelect(i))}),e.j41(2,"div",38),e.bIt("mouseover",function(){const i=e.eBV(s).$implicit;return e.Njj(i.src=i.selectedThumbUrl)})("mouseout",function(){const i=e.eBV(s).$implicit;return e.Njj(i.src=i.thumbUrl)}),e.j41(3,"div",39),e.nrm(4,"img",40),e.k0s(),e.j41(5,"div",41),e.EFF(6),e.k0s()()()()}if(2&n){const s=a.$implicit,t=e.XpG(2);e.Y8G("ngClass",e.eq3(5,se,s.categoryId===t.selectedCategoryobj.categoryId)),e.R7$(3),e.Y8G("ngClass",e.l_i(7,ne,s.categoryId===t.selectedCategoryobj.categoryId,1==s.isNew)),e.R7$(),e.FS9("src",s.categoryId===t.selectedCategoryobj.categoryId?s.selectedThumbUrl:s.src,e.B4B),e.Y8G("alt",s.gaName),e.R7$(2),e.SpI(" ",s.gaName,"")}}function le(n,a){if(1&n&&(e.j41(0,"ul",34),e.DNE(1,re,7,10,"li",35),e.k0s()),2&n){const s=e.XpG();e.R7$(),e.Y8G("ngForOf",s.mainProductsCategory)("ngForTrackBy",s.trackByIndex)}}function ce(n,a){1&n&&(e.qex(0),e.nrm(1,"element-placeholder",42),e.bVm()),2&n&&(e.R7$(),e.Y8G("view","explore-tabs"))}function de(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",45)(1,"ng-image-slider",46,2),e.bIt("imageClick",function(i){e.eBV(s);const o=e.XpG(2);return e.Njj(o.showAllproduct(i))}),e.k0s()()}if(2&n){const s=e.XpG().$implicit,t=e.XpG();e.R7$(),e.Y8G("images",s.imageCategoryObjects)("isSubscribed",t.isSubscribed)("videoPlayShow",!1)("footerShow",!0)("imageSize",s.imageCategorySizel)("imagePopup",!1)}}function me(n,a){1&n&&(e.qex(0),e.nrm(1,"element-placeholder",42),e.bVm()),2&n&&(e.R7$(),e.Y8G("view","explore-tabdata"))}function pe(n,a){if(1&n&&(e.j41(0,"div",43),e.DNE(1,de,3,6,"div",44)(2,me,2,1,"ng-container",26),e.k0s()),2&n){const s=a.$implicit,t=e.XpG();e.Y8G("ngClass",e.eq3(3,oe,s.categoryId===t.selectedCategoryobj.categoryId)),e.R7$(),e.Y8G("ngIf",t.inProgress),e.R7$(),e.Y8G("ngIf",!t.inProgress)}}function ge(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",47)(1,"div",30)(2,"div",48)(3,"h2",49),e.EFF(4),e.k0s(),e.j41(5,"a",50)(6,"span",51),e.EFF(7,"View All "),e.nrm(8,"pi",52),e.k0s()()(),e.j41(9,"div",53)(10,"ng-image-slider",54,2),e.bIt("imageClick",function(i){e.eBV(s);const o=e.XpG();return e.Njj(o.templateClick(i))})("previewClick",function(i){e.eBV(s);const o=e.XpG();return e.Njj(o.showPreview(i))}),e.k0s()()()()}if(2&n){const s=a.$implicit,t=e.XpG();e.R7$(4),e.SpI(" ",s.displayName,""),e.R7$(),e.Y8G("routerLink",t.showAll(s)),e.R7$(5),e.Y8G("images",s.imageObjects)("isSubscribed",t.isSubscribed)("imageSize",s.imageSizel)("imagePopup",!1)}}let ue=(()=>{var n;class a{constructor(t,i,o,l,r,d,f,m,p,b){this.activeModal=t,this.templateService=i,this.router=o,this.createProjectService=l,this.authService=r,this.activeRoute=d,this.seoService=f,this.openTemplatePage=m,this.env=p,this.modalService=b,this.subscriptions=[],this.selectedCategoryIndex=0,this.mainSelectedFormat=1,this.rowsCount=5,this.pageNumber=0,this.inProgress=!1,this.isProductsEnd=!1,this.pageSize=14,this.selectedTemplate=!1,this.isLoaded=!1,this.clickTemplateImage=new e.bkB,this.placeholder="Search amazing templates",this.isMobileView=!1,this.showMobileview=!1,this.user=this.authService.currentUser(),this.isSubscribed=!!this.user&&this.user.subscribed;const P=this.activeRoute.queryParams.subscribe(j=>{});this.subscriptions.push(P)}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}ngOnInit(){this.showMobileView(),this.screenOnResize(),this.seoService.updatePageTitle(v.b.seo.create.title),this.seoService.updatePageMeta("description",v.b.seo.create.description),this.getproductCategoryListing(),this.getproductListing(M.KK.Product,T.i.LighxHome,t=>{this.mainProducts=t},t=>{})}getproductCategoryListing(){this.inProgress=!1,this.templateService.getProductCategoryListing(M.KK.category,this.pageNumber,t=>{let i=t.storeCategories[0].subCategoryList;i&&i.length>0?(this.selectedCategoryobj=i[0],this.onBannerCategorySelect(this.selectedCategoryobj),this.mainProductsCategory=i,this.mainProductsCategory.forEac
1h(o=>{o.src=o.thumbUrl}),this.isLoaded=!0):this.mainProductsCategory=[]},t=>{},this.mainSelectedFormat,T.i.EditorChoice)}getproductListing(t,i,o,l){this.templateService.getProductListing(t,this.pageNumber,r=>{let d=r.storeProducts,f=[];if(d&&d.length>0){for(let m=0;m<d.length;m++){let p=d[m];f.push(p),this.getTemplateByProductId(p.productId,0,T.i.LighxHome,b=>{this.getFormattedProduct(p,p.format,b)})}o(f)}else o([])},r=>{},0,i)}getTemplateByProductId(t,i,o,l){this.templateService.getTemplateByProductId(t,this.pageNumber,r=>{l(r.storeProductImages)},r=>{},i,o)}getFormattedProduct(t,i,o){let r,l=[];for(let d=0;d<o.length;d++)r=o[d],r.productId=t.productId,l.push({video:r.videoThumbUrl,posterImage:r.thumbUrl,item:r,format:r.format,imageSizel:this.templateService.getNewImageSizeL(i,r.format)});return t.imageSizel=this.templateService.getSliderImageHeight(i),t.imageObjects=l,t}getFormattedCategory(t,i,o){let r,l=[];for(let d=0;d<o.length;d++)r=o[d],r.format=2,l.push({video:r.videoThumbUrl,posterImage:r.thumbUrl,item:r,format:r.format,imageSizel:this.templateService.getNewImageSizeL(2,2)});return t.imageCategorySizel=this.templateService.getSliderImageHeight(2),t.imageCategoryObjects=l,t}showAllproduct(t){this.router.navigate(["./design-templates/"+t.img.item.productAlias])}showAll(t){return["/design-templates/"+t.productAlias]}templateClick(t){this.openTemplatePage.openDesignTemplatePage(t.img.item,null,null)}ngAfterViewInit(){}close(t){this.showMobileview=t}createProjectFromScratch(){this.router.navigateByUrl("/design-templates/intermediate-design-scratch")}onBannerCategory(t){this.onBannerCategorySelect(t.product)}onBannerCategorySelect(t){this.pageNumber=0,this.isProductsEnd=!1,this.selectedCategoryobj=t,this.selectedCategoryobj.categoryId=t.categoryId,this.templateService.getProductListing(t.categoryId,this.pageNumber,i=>{let o=i.storeProducts;o.length>0&&this.getFormattedCategory(t,t.format,o),this.inProgress=!0},i=>{},0,T.i.Main)}imageSizel(t){return this.templateService.getImageSizeL(t,this.container.nativeElement.clientWidth,null,!1,!0)}showPreview(t){const i=this.modalService.open(G.R,{size:"lg",backdrop:"static",windowClass:"preview-dialog"});i.componentInstance.template=t.img,i.componentInstance.isSubscribed=this.isSubscribed,i.result.then(o=>{}).catch(o=>{})}template(t){t&&t.trendingSearch&&!t.trendingSearch.trim()||(this.selectedTemplate=!0,t&&t.hasOwnProperty("trendingSearch")?this.router.navigate(["/design-templates"],{queryParams:{search:t.trendingSearch}}):this.router.navigate(["/design-templates"],{queryParams:{search:t}}))}screenOnResize(){const t=(0,K.R)(window,"resize").pipe((0,Q.B)(200),(0,J.F)()).subscribe(()=>{this.showMobileView()});this.subscriptions.push(t)}showMobileView(){window.innerWidth>991?(this.isMobileView=!1,this.showMobileview=!1):this.isMobileView=!0}trackByIndex(t){return t}}return(n=a).\u0275fac=function(t){return new(t||n)(e.rXU(h.Lw),e.rXU(R.I),e.rXU(g.Ix),e.rXU(x.Zg),e.rXU(N.u),e.rXU(g.nX),e.rXU(F.F),e.rXU(D.f),e.rXU(S.L),e.rXU(h.Bq))},n.\u0275cmp=e.VBU({type:n,selectors:[["app-templates-home"]],viewQuery:function(t,i){if(1&t&&e.GBs(ie,7),2&t){let o;e.mGM(o=e.lsd())&&(i.container=o.first)}},outputs:{clickTemplateImage:"clickTemplateImage"},decls:36,vars:7,consts:[["searchbody",""],["container",""],["nav",""],[1,"container-fluid","p-ltrt","mt-15","m-ltrt"],[1,"home-top-banner","d-flex","align-items-center","position-relative"],[1,"cover-image","picture-both","home-top-banner-sm","no-select"],["srcset","https://static.lightxeditor.com/assets/images/ad-banner-1300.webp","type","image/webp"],["alt","","src","https://static.lightxeditor.com/assets/images/ad-banner-1300.png",1,"cover-image",2,"border-radius","12px"],[1,"cover-image","picture-both","home-top-banner-lg","no-select"],["srcset","https://static.lightxeditor.com/assets/images/left-ads-banners-new-1.webp","type","image/webp"],["alt","","src","https://static.lightxeditor.com/assets/images/left-ads-banners-new-1.png",1,"cover-image",2,"border-radius","12px","width","auto"],["srcset","https://static.lightxeditor.com/assets/images/right-ads-banners-new-1.webp","type","image/webp"],["alt","","src","https://static.lightxeditor.com/assets/images/right-ads-banners-new-1.png",1,"cover-image",2,"border-radius","12px","width","auto","float","right"],[1,"d-flex","cover-inner","h-100","w-100","justify-content-center"],[1,"mx-auto","text-center"],[1,"banner-heading","text-32"],[1,"text-lg","text-black","lh-160"],["data-toggle","modal","data-target","#exampleModal",1,"btn","btn-primary","add-btn","mt-3","mx-auto","hw-68","box-shadow",3,"click"],["name","iconplus",1,"f-28"],["id","searchbody",1,"mt-12"],[2,"background","#ECEBEB","border-radius","16px","min-height","570px"],[1,"cat-container"],[1,"searchAlign","position-relative","pt-8","mb-12"],[3,"template","searchReset","placeholder"],["class"," searchAlign-tab",4,"ngIf"],["class","nav nav-pills","style","justify-content: center;",4,"ngIf"],[4,"ngIf"],["id","myTabContent2",1,"tab-content","pb-3"],["class","tab-pane fade","id","events-tab",3,"ngClass",4,"ngFor","ngForOf"],[1,"container-fluid","mt-49","mb-14","p-ltrt-temphome","m-ltrt"],[1,""],["class","col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 p-0",4,"ngFor","ngForOf"],[1,"searchAlign-tab"],[3,"selectMenu","items","categoryId","type"],[1,"nav","nav-pills",2,"justify-content","center"],["class","nav-item h-100",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nav-item","h-100",3,"ngClass"],["data-toggle","tab",1,"w-138","bg-transparent","pointer","text-normal",3,"click"],[1,"tab-icon","new-badge",3,"mouseover","mouseout"],[1,"tab-icon-bg",3,"ngClass"],[3,"src","alt"],[1,"product-name","text-semi","mt-8"],[3,"view"],["id","events-tab",1,"tab-pane","fade",3,"ngClass"],["class","templates-thumbs hometemplate mb-2 mt-4 p-0",4,"ngIf"],[1,"templates-thumbs","hometemplate","mb-2","mt-4","p-0"],[3,"imageClick","images","isSubscribed","videoPlayShow","footerShow","imageSize","imagePopup"],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0"],[1,"d-flex","align-items-center","justify-content-between","pt-99","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,"routerLink"],[1,"d-flex","align-items-center"],["name","arrowdashbaord",1,"ps-2"],[1,"templates-thumbs","hometemplate","mb-2","p-0","design-template","common-slider-mobile"],[3,"imageClick","previewClick","images","isSubscribed","imageSize","imagePopup"]],template:function(t,i){if(1&t){const o=e.RV6();e.j41(0,"div",3)(1,"div",4)(2,"picture",5),e.nrm(3,"source",6)(4,"img",7),e.k0s(),e.j41(5,"picture",8)(6,"picture"),e.nrm(7,"source",9)(8,"img",10),e.k0s(),e.j41(9,"picture"),e.nrm(10,"source",11)(11,"img",12),e.k0s()(),e.j41(12,"div",13)(13,"div",14)(14,"h1",15),e.EFF(15,"Design Your Template "),e.k0s(),e.j41(16,"div",16),e.EFF(17,"Explore format to create your story "),e.k0s(),e.j41(18,"a",17),e.bIt("click",function(){return e.eBV(o),e.Njj(i.createProjectFromScratch())}),e.nrm(19,"pi",18),e.k0s()()()(),e.j41(20,"div",19,0)(22,"div",20)(23,"div",21)(24,"div",22)(25,"app-search",23),e.bIt("template",function(r){return e.eBV(o),e.Njj(i.template(r))}),e.k0s()(),e.DNE(26,ae,2,3,"div",24)(27,le,2,2,"ul",25)(28,ce,2,1,"ng-container",26),e.k0s(),e.j41(29,"div",27),e.DNE(30,pe,3,5,"div",28),e.k0s()()()(),e.j41(31,"div",29)(32,"div",30,1),e.DNE(34,ge,12,6,"div",31),e.k0s()(),e.nrm(35,"store-mobile-banner")}2&t&&(e.R7$(25),e.Y8G("searchReset",i.searchReset)("placeholder",i.placeholder),e.R7$(),e.Y8G("ngIf",i.isMobileView),e.R7$(),e.Y8G("ngIf",!i.isMobileView&&i.isLoaded),e.R7$(),e.Y8G("ngIf",!i.isLoaded),e.R7$(2),e.Y8G("ngForOf",i.mainProductsCategory),e.R7$(4),e.Y8G("ngForOf",i.mainProducts))},dependencies:[u.YU,u.Sq,u.bT,g.Wk,g.wQ,q.h,ee.n,E.p,B.b,te.S,$.B],styles:[".home-top-banner[_ngcontent-%COMP%]{background-size:cover;border-radius:12px;height:290px;min-height:290px}.banner-heading[_ngcontent-%COMP%]{font-size:32px;color:#000;line-height:40px;padding-top:60px;margin-bottom:12px}.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:32px}.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}}"]}),a})();var Y=c(24886),he=c(62702),y=c(67294),C=c(45312),fe=c(34183),ve=c(33645),be=c(73744),_e=c(77616);const Pe=["container"],Te=["templateImageSb"],I=n=>({"ps-3":n}),xe=n=>({"mx-auto w-100":n}),L=n=>[n],Se=n=>({"ps-3 pe-0":n}),ye=n=>({background:n}),V=n=>["/graphics-design/",n],Ce=(n,a,s)=>({invalid:n,"border-active":a,"info-up":s}),U=n=>({"d-none":n}),Ie=(n,a,s,t)=>({"tagMarginLeft position-fixed":n,"w-100":a,borderRadiusTabMobile:s,"d-none":t}),we=(n,a)=>({"image-popup":n,"selected-image":a});function je(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",24)(1,"div",25)(2,"div",26)(3,"ul",27)(4,"li",28),e.bIt("click",function(){e.eBV(s);const i=e.XpG();return e.Njj(i.createProjectFromScratch())}),e.j41(5,"a",29),e.nrm(6,"pi",30),e.k0s(),e.EFF(7," Create from scratch "),e.k0s()(),e.nrm(8,"hr"),e.j41(9,"ul",31)(10,"div",32)(11,"li",33)(12,"drop-down-menu",34),e.bIt("changeProduct",function(i){e.eBV(s);const o=e.XpG();return e.Njj(o.changeProduct(i))}),e.k0s()()()()()()()}if(2&n){const s=e.XpG();e.R7$(12),e.Y8G("templateType",1)("productId",s.mainSelectedProduct.productId)}}function ke(n,a){if(1&n&&(e.j41(0,"span",35),e.EFF(1),e.k0s()),2&n){const s=e.XpG();e.R7$(),e.SpI("",s.mainSelectedProduct.displayName||s.searchText," Templates")}}function Me(n,a){if(1&n&&(e.j41(0,"div",44)(1,"a",10),e.nrm(2,"img",45),e.k0s()()),2&n){const s=e.XpG(2);e.R7$(),e.Y8G("routerLink",e.eq3(1,V,s.mainSelectedProduct.storyPageUrl))}}function Ge(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",46)(1,"div",47)(2,"div",48)(3,"input",49),e.bIt("keyup.enter",function(){e.eBV(s);const i=e.XpG(2);return e.Njj(i.generatePrompt())}),e.mxI("ngModelChange",function(i){e.eBV(s);const o=e.XpG(2);return e.DH7(o.customPrompt,i)||(o.customPrompt=i),e.Njj(i)}),e.k0s(),e.j41(4,"div",50)(5,"span",51),e.EFF(6),e.k0s()()(),e.j41(7,"div",52)(8,"button",53),e.bIt("click",function(){e.eBV(s);const i=e.XpG(2);return e.Njj(i.generatePrompt())}),e.EFF(9,"Generate with AI"),e.k0s()()()()}if(2&n){const s=e.XpG(2);e.R7$(3),e.R50("ngModel",s.customPrompt),e.Y8G("ngClass",e.sMw(5,Ce,s.customPrompt.length>449,s.customPrompt.length>0,s.customPrompt.length)),e.R7$(),e.Y8G("ngClass",e.eq3(9,U,s.customPrompt.length<401)),e.R7$(),e.Y8G("ngClass",s.customPrompt.length>449?"text-red":"grey-300"),e.R7$(),e.SpI("",s.customPrompt.length,"/450")}}function Re(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",54)(1,"button",55),e.bIt("click",function(){e.eBV(s);const i=e.XpG(2);return e.Njj(i.generatePrompt())}),e.EFF(2,"Generate with AI"),e.k0s(),e.j41(3,"a",10),e.nrm(4,"img",56),e.k0s()()}if(2&n){const s=e.XpG(2);e.R7$(3),e.Y8G("routerLink",e.eq3(1,V,s.mainSelectedProduct.storyPageUrl))}}function Ne(n,a){if(1&n&&(e.j41(0,"div",36)(1,"div",37)(2,"div",38)(3,"h1",39),e.EFF(4),e.DNE(5,Me,3,3,"div",40),e.k0s(),e.j41(6,"p",41),e.EFF(7),e.k0s(),e.DNE(8,Ge,10,11,"div",42)(9,Re,5,3,"div",43),e.k0s()()()),2&n){const s=e.XpG();e.Y8G("ngStyle",e.eq3(6,ye,s.templateSearch?"linear-gradient(85.82deg, rgb(245, 216, 218) -0.23%, rgb(245, 216, 218) 98.8%);":null==s.mainSelectedProduct?null:s.mainSelectedProduct.bgColors)),e.R7$(4),e.SpI("",s.mainSelectedProduct.title||s.mainSelectedProduct.displayName," "),e.R7$(),e.Y8G("ngIf",s.mainSelectedProduct.storyPageUrl&&!s.envService.isMobileView),e.R7$(2),e.JRh(s.mainSelectedProduct.desc),e.R7$(),e.Y8G("ngIf",!s.envService.isMobileView),e.R7$(),e.Y8G("ngIf",s.mainSelectedProduct.storyPageUrl&&s.envService.isMobileView)}}function Fe(n,a){if(1&n&&(e.j41(0,"div",57)(1,"div",58)(2,"div",59)(3,"h1",60),e.EFF(4),e.k0s(),e.j41(5,"div",61),e.EFF(6),e.k0s()()()()),2&n){const s=e.XpG();e.xc7("background",s.bgcolor),e.R7$(4),e.SpI("",s.searchText," design Templates"),e.R7$(2),e.SpI("Browse high quality ",s.searchText," for your next design. ")}}function De(n,a){1&n&&(e.j41(0,"span",70),e.nrm(1,"pi",71),e.k0s())}function Ee(n,a){1&n&&(e.j41(0,"span",72),e.nrm(1,"pi",73),e.k0s())}function Be(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",62)(1,"div",63)(2,"div",64)(3,"div",65,1),e.bIt("openChange",function(i){e.eBV(s);const o=e.XpG();return e.Njj(o.checkDropDown(i))}),e.j41(5,"button",66),e.EFF(6),e.DNE(7,De,2,0,"span",67)(8,Ee,2,0,"span",68),e.k0s(),e.j41(9,"div",69)(10,"drop-down-menu",34),e.bIt("changeProduct",function(i){e.eBV(s);const o=e.sdS(4),l=e.XpG();return l.changeProduct(i),e.Njj(l.closedropdown(o))}),e.k0s()()()()()()}if(2&n){const s=e.XpG();e.Y8G("ngClass",e.eq3(6,U,!s.isSearchResult)),e.R7$(6),e.SpI("",""!=s.mainSelectedProduct.displayName?s.mainSelectedProduct.displayName:"Choose a category"," "),e.R7$(),e.Y8G("ngIf",s.isDdlOpen),e.R7$(),e.Y8G("ngIf",!s.isDdlOpen),e.R7$(2),e.Y8G("templateType",1)("productId",s.mainSelectedProduct.productId)}}function $e(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",74)(1,"div",75)(2,"buttons-scroll-menu",76),e.bIt("selectMenu",function(i){e.eBV(s);const o=e.XpG();return e.Njj(o.layoutSelect(i))}),e.k0s()()()}if(2&n){const s=e.XpG();e.R7$(),e.Y8G("ngClass",e.ziG(4,Ie,s.windowScrolled,!s.windowScrolled,s.env.isMobileView,!s.showDiv)),e.R7$(),e.Y8G("categoryId",s.selectedLayoutId)("items",s.selectedProductWithVarients)("type","productshowcase")}}function Ye(n,a){if(1&n&&(e.j41(0,"div",77)(1,"div"),e.EFF(2),e.k0s(),e.j41(3,"div"),e.EFF(4,"Try another keyword or browse our popular templates."),e.k0s()()),2&n){const s=e.XpG();e.R7$(2),e.SpI("Sorry we don't have any matching results for '",s.searchText,"'.")}}function Le(n,a){1&n&&(e.j41(0,"h2",78),e.EFF(1,"."),e.k0s())}function Ve(n,a){1&n&&e.nrm(0,"pi",93)}function Ue(n,a){if(1&n&&(e.j41(0,"div",94),e.EFF(1),e.k0s()),2&n){const s=e.XpG().$implicit,t=e.XpG(2);e.Y8G("dir",t.textDirection),e.R7$(),e.JRh(null==s?null:s.title)}}function Xe(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",82,2)(2,"a",83),e.bIt("click",function(i){const o=e.eBV(s).$implicit,l=e.XpG(2);return e.Njj(l.templateClick(o,i))}),e.j41(3,"div",84)(4,"div",85)(5,"picture",86),e.nrm(6,"source",87),e.nI1(7,"imgwebp"),e.nrm(8,"img",88),e.k0s()()()(),e.j41(9,"div",89),e.bIt("click",function(i){const o=e.eBV(s).$implicit;return e.XpG(2).showPreview(o),e.Njj(i.stopPropagation())}),e.nrm(10,"i",90),e.k0s(),e.DNE(11,Ve,1,0,"pi",91)(12,Ue,2,2,"div",92),e.k0s()}if(2&n){const s=a.$implicit,t=a.index,i=e.XpG(2);e.ZvI("img-div img-format-",s.format," ml-8"),e.xc7("margin-left",i.thumbLeftMargin,"px")("margin-right",i.thumbRightMargin,"px"),e.Y8G("ngClass",e.l_i(17,we,i.imagePopup,i.activeImageIndex==t)),e.R7$(2),e.Mz_("href","/design-template/",s.imageAlias,"/",e.B4B),e.R7$(4),e.FS9("srcset",e.bMT(7,15,s.thumbUrl)),e.R7$(2),e.FS9("alt",s.displayName||s.imageDisplayName),e.FS9("srcset",s.thumbUrl),e.R7$(3),e.Y8G("ngIf",1==s.pro&&!i.isSubscribed),e.R7$(),e.Y8G("ngIf",null==s?null:s.title)}}function Oe(n,a){1&n&&(e.j41(0,"div",96),e.nrm(1,"div",84),e.k0s())}function ze(n,a){if(1&n&&(e.qex(0),e.DNE(1,Oe,2,0,"div",95),e.bVm()),2&n){const s=e.XpG(2);e.R7$(),e.Y8G("ngForOf",s.Arr(8).fill(1))}}function He(n,a){if(1&n&&(e.j41(0,"div",79),e.DNE(1,Xe,13,20,"div",80)(2,ze,2,1,"ng-container",81),e.k0s()),2&n){const s=e.XpG();e.ZvI("templates-thumbs-list mb-5 p-ltrt ps-0 tag-thumb-",null==s.selectedTag?null:s.selectedTag.tagId,""),e.Y8G("ngClass",e.eq3(6,I,s.env.isMobileView)),e.R7$(),e.Y8G("ngForOf",s.products),e.R7$(),e.Y8G("ngIf",!s.isLoaded)}}function Ae(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",97)(1,"button",98),e.bIt("click",function(){e.eBV(s);const i=e.XpG();return e.Njj(i.loadMore())}
1),e.EFF(2,"Load more"),e.k0s()()}if(2&n){const s=e.XpG();e.R7$(),e.Y8G("disabled",!s.isLoaded)}}let w=(()=>{var n;class a{constructor(t,i,o,l,r,d,f,m,p,b,P,j,X){this.document=t,this.env=i,this.templateService=o,this.route=l,this.createProjectService=r,this.authService=d,this.ngZone=f,this.router=m,this.seoService=p,this.openTemplatePage=b,this.envService=P,this.modalService=j,this.storyPageService=X,this.homeURL="/",this.designHomeUrl="/graphics-design",this.selectedProductWithVarients=[],this.selectedProduct=[],this.selectedLayoutId=0,this.manageImageRatio=!1,this.textDirection="ltr",this.showDiv=!0,this.mainSelectedProduct={productId:"",displayName:"",imageObjects:[],bgColors:"",desc:"",format:"",storyPageUrl:"",title:""},this.isCollapsed=!0,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.defaultThumbUrl="",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.clickTemplateImage=new e.bkB,this.bgcolor="",this.placeholder="Search amazing templates",this.isSearchProgress=!1,this.Arr=Array,this.isleftpanel=!0,this.gradientarray=he.V.gradientarray,this.isFirstTime=!0,this.isTagLoaded=!1,this.customPrompt="",this.skipInitialScroll=!0,this.disableScroll=!0,this.user=this.authService.currentUser(),this.isSubscribed=!!this.user&&this.user.subscribed,this.routeSubscription=this.route.params.subscribe(O=>{this.changeProduct(null)}),this.routeEventSubscription=this.router.events.subscribe(O=>{O instanceof g.wF&&(this.router.navigated=!1,this.inProgress||(this.mainSelectedProduct.productId=null,this.changeProduct(null)))}),this.checksize(),setTimeout(()=>{this.setScrollTop()},700)}onResize(t){this.checksize()}checksize(){let t=0;window&&window.innerWidth?(t=window.innerWidth,this.isleftpanel=t>900):this.isleftpanel=!0}checkDropDown(t){this.isDdlOpen=t}changeProduct(t){let i;if(this.selectedLayoutId=0,this.activeProduct=t,t)i="./design-templates/"+t.productAlias,this.router.navigate([i]);else{this.resetSelectedProduct();const o=this.gradientarray[Math.floor(Math.random()*this.gradientarray.length)];this.mainSelectedProduct.bgColors=o,this.bgcolor=o,this.loadData()}}loadData(){const t=this.route.snapshot.queryParamMap;let i=this.route.snapshot.paramMap.get("product_slug"),o=this.route.snapshot.paramMap.get("term");i?this.getNewTemplateByProductAlias(i,d=>{}):o||t&&t.get("search")?(this.searchText=o||t.get("search"),this.setSearchTitleMetaDesc(o),this.searchTemplateImages(this.searchText)):(this.mainSelectedProduct.productId="324",this.mainSelectedFormat=0,this.getNewTemplateByProductAlias("trending-templates"));let l=this.formatString(i),r=this.seoService.generateBreadcrumbSchema([{name:"Home",url:C.c.siteUrl+"/"},{name:"Design Templates",url:C.c.siteUrl+"/video-templates/"},{name:l,url:C.c.siteUrl+this.router.url}]);this.seoService.addBreadcrumbSchemaToDOM(r)}formatString(t){let i=t.replace(/[-']/g," ");return i=i.split(" ").map(o=>o.charAt(0).toUpperCase()+o.slice(1).toLowerCase()).join(" "),i}setSearchTitleMetaDesc(t){if(t){let i=v.b.seo.designTemplate.search[t];i&&(this.seoService.updatePageTitle(i.title),this.seoService.updatePageMeta("description",i.description))}}closedropdown(t){t.close()}resetSelectedProduct(){this.mainSelectedProduct={productId:"",displayName:"",imageObjects:[],bgColors:"",desc:"",format:"",storyPageUrl:"",title:""},this.selectedTag=null,this.products=[],this.isProductsEnd=!1,this.pageNumber=0,this.isLoaded=!1}ngOnInit(){}templateClick(t,i){return i.stopPropagation(),this.openTemplatePage.openDesignTemplatePage(t,this.mainSelectedProduct.productId,this.mainSelectedProduct.displayName,this.envService.isMobileView?r=>{}:r=>{r&&r.search&&(this.resetSelectedProduct(),this.searchText=r.search,this.searchTemplateImages(this.searchText))}),!1}ngAfterViewInit(){setTimeout(()=>{this.skipInitialScroll=!1},200)}loadMore(){this.pageNumber=this.pageNumber+1,this.loadData()}filter(t){this.products=[],this.selectedTag=t,this.pageNumber=0,this.getNewTemplateByProductId()}showPreview(t){let i=this.mainSelectedProduct.productId;i&&(t.productId=i);const o=this.modalService.open(G.R,{size:"lg",backdrop:"static",windowClass:"preview-dialog"});o.componentInstance.template=t,o.componentInstance.productId=i,o.componentInstance.isSubscribed=this.isSubscribed,o.result.then(l=>{}).catch(l=>{})}searchTemplateImages(t){t&&!this.isSearchProgress&&("string"==typeof t||t instanceof String)&&(this.templateSearch=!0,this.templateImages=[],this.isSearchProgress=!0,this.isLoaded=!1,this.templateService.searchTemplateImages(t,{pageNumber:this.pageNumber,rows:this.rowsCount,templateType:Y.If.DESIGN},o=>{this.ngZone.run(()=>{this.inProgress=!1;let l=o.body&&o.body.storeProductImages?o.body.storeProductImages:[];l&&l.length>0?(this.products=this.products.concat(l),this.isProductsEnd=l.length<this.rowsCount):this.isProductsEnd=!0,0===l.length?(this.mainSelectedProduct.productId="324",this.mainSelectedFormat=0,this.getNewTemplateByProductAlias("trending-templates"),this.isSearchResult=!1):this.isSearchResult=!0,this.isSearchProgress=!1,this.isLoaded=!0})},o=>{this.isSearchProgress=!1,this.isLoaded=!0}))}getNewTemplateByProductAlias(t,i=null){this.isLoaded=!1,this.inProgress=!0,this.isSearchResult=!0;
1let o=this.route.snapshot.queryParamMap.get("tagId")&&""!=this.route.snapshot.queryParamMap.get("tagId")?this.route.snapshot.queryParamMap.get("tagId"):null,l={format:0,pageNumber:this.pageNumber,rows:this.rowsCount,productAlias:t,tagId:this.selectedTag?this.selectedTag.tagId:null};1==this.isFirstTime&&o&&(l.tagId=o),this.isTagLoaded=!!this.selectedTag,this.templateService.getTemplatesByProductAlias(l,r=>{let d=r.storeProductImages;if(this.isFirstTime&&d&&0===d.length&&this.router.navigate(["/404"],{skipLocationChange:!0}),this.isFirstTime=!1,this.isLoaded=!0,this.inProgress=!1,this.templateSearch=!1,this.mainSelectedProduct.displayName=r.displayName,this.mainSelectedProduct.productId=r.productId,this.socialPlatformId=r?.socialPlatformId,this.mainSelectedProduct.bgColors=r.bgColors?r.bgColors:"linear-gradient(85.82deg, rgb(245, 216, 218) -0.23%, rgb(245, 216, 218) 98.8%)",this.mainSelectedProduct.storyPageUrl=r.storyPageUrl,this.mainSelectedProduct.desc=r.desc,this.mainSelectedProduct.title=r.title,r.tags?.splice(0,0,{tag:"All",tagId:0}),!this.selectedTag){this.selectedProductWithVarients=r.tags;let p=this.route.snapshot.queryParamMap.get("tagId")&&""!=this.route.snapshot.queryParamMap.get("tagId")?this.route.snapshot.queryParamMap.get("tagId"):null;if(p){var m=this.selectedProductWithVarients.filter(b=>b.tagId==p)[0];m&&(this.selectedLayoutId=m.tagId,this.selectedTag=m)}}setTimeout(()=>{this.isTagLoaded=!0}),r&&r.displayName&&this.setTitleMetaDesc(r),d&&d.length>0?(this.products=this.products.concat(d),this.isProductsEnd=d.length<this.rowsCount):this.isProductsEnd=!0,i&&i()},r=>{})}getNewTemplateByProductId(t=null){this.isLoaded=!1,this.inProgress=!0,this.isSearchResult=!0,this.templateService.getNewTemplatesByProductId({format:0,pageNumber:this.pageNumber,rows:this.rowsCount,productId:this.mainSelectedProduct.productId,tagId:this.selectedTag?this.selectedTag.tagId:null},o=>{let l=o.storeProductImages;this.isLoaded=!0,this.inProgress=!1,o&&this.setTitleMetaDesc(o),l&&l.length>0?(this.products=this.products.concat(l),l.length<this.rowsCount&&(this.isProductsEnd=!0)):this.isProductsEnd=!0,t&&t()},o=>{})}setTitleMetaDesc(t){t.metaTitle&&t.metaDesc?(this.seoService.updatePageTitle(t.metaTitle),this.seoService.updatePageMeta("description",t.metaDesc)):(this.seoService.updatePageTitle(v.b.seo.productListingDesign.titlePrefix+t.displayName+v.b.seo.productListingDesign.titlePostfix),this.seoService.updatePageMeta("description",v.b.seo.productListingDesign.descPrefix+t.displayName+v.b.seo.productListingDesign.descPostfix))}createProjectFromScratch(){this.createProjectService.createProjectFromScratch(Y.If.DESIGN)}ngOnDestroy(){this.routeSubscription&&this.routeSubscription.unsubscribe(),this.routeEventSubscription&&this.routeEventSubscription.unsubscribe()}layoutSelect(t){this.isProductsEnd=!1,this.pageNumber=0,this.products=[],t?(this.selectedLayoutId=t.tagId,this.selectedTag=t,setTimeout(()=>{t&&(this.setScrollTop(),t=!1)},200)):(this.selectedLayoutId=0,this.selectedTag=[]),this.loadData()}onWindowScroll(t){t>300?(this.windowScrolled=!0,this.document.getElementById("layout-wrapper").classList.add("mega-opp-full")):this.windowScrolled=!1}setScrollTop(){window.scrollTo({top:0,behavior:"smooth"})}windowScroll(t){if(this.skipInitialScroll)return;setTimeout(()=>{let l=t.target||t.currentTarget;var r=document.getElementById("dataDiv");if(l.documentElement&&r){let d=Number(l.documentElement.scrollTop);this.onWindowScroll(d)}},200);const i=window.scrollY||window.pageYOffset||document.documentElement.scrollTop,o=document.documentElement.scrollHeight-window.innerHeight-400;this.showDiv=i<=o}generatePrompt(){this.envService.isMobileView?this.storyPageService.defferDeepLinkToMobile():this.customPrompt&&this.customPrompt.trim().length>1&&this.router.navigate([y.sv.DESIGNEDITOR],{queryParams:{action:y.yF.DefaultProject,tab:y.sv.BACKGROUND,social_platform_id:this.socialPlatformId,tp:this.customPrompt}})}}return(n=a).\u0275fac=function(t){return new(t||n)(e.rXU(u.qQ),e.rXU(S.L),e.rXU(R.I),e.rXU(g.nX),e.rXU(x.Zg),e.rXU(N.u),e.rXU(e.SKi),e.rXU(g.Ix),e.rXU(F.F),e.rXU(D.f),e.rXU(S.L),e.rXU(h.Bq),e.rXU(fe.K))},n.\u0275cmp=e.VBU({type:n,selectors:[["app-templates-product"]],viewQuery:function(t,i){if(1&t&&(e.GBs(Pe,7),e.GBs(Te,5)),2&t){let o;e.mGM(o=e.lsd())&&(i.container=o.first),e.mGM(o=e.lsd())&&(i.templateImageSb=o.first)}},hostBindings:function(t,i){1&t&&e.bIt("resize",function(l){return i.onResize(l)},!1,e.tSv)("scroll",function(l){return i.windowScroll(l)},!1,e.tSv)},outputs:{clickTemplateImage:"clickTemplateImage"},features:[e.Jv_([x.Zg])],decls:28,vars:29,consts:[["container",""],["myDrop","ngbDropdown"],["imageDiv",""],[1,"container-fluid","mb
1-14","m-ltrt",3,"ngClass"],[1,"container-fluid","p-0"],[1,"row"],["class","cat-left-panel position-relative me-4 d-none d-lg-block pl-60 pe-0",4,"ngIf"],["id","dataDiv",1,"cat-right-panel","ps-0","pe-0","overflow-hidden"],[1,"p-ltrt","ps-0",3,"ngClass"],[1,"darkThemeBreadcrumb","text-14",3,"ngClass"],[3,"routerLink"],["name","breadcrumbarrow",1,"ms-1","me-1"],["class","text-primary text-capitalize",4,"ngIf"],["class","home-top-banner d-flex align-items-center mt-4 position-relative",3,"ngStyle",4,"ngIf"],[1,"p-ltrt","ps-0","mt-4",3,"ngClass"],["class","home-top-banner d-flex align-items-center position-relative",3,"background",4,"ngIf"],["class","row d-lg-none p-ltrt",3,"ngClass",4,"ngIf"],["class","d-flex align-items-center justify-content-start wp-100 mt-10",4,"ngIf"],[1,"container-fluid","mt-4","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"],["style","--row-height:240px",3,"class","ngClass",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","pl-60","pe-0"],[1,"sidebar-container","dv-sidebar"],["id","sidebar1",1,"template-home-sidebar"],[1,"list-unstyled","pt-3","ps-3","pe-3"],[1,"cfs",3,"click"],["data-toggle","modal","data-target","#exampleModal",1,"add-btn","ms-2","me-3"],["name","iconplus",1,"f-12"],[1,"list-unstyled","components","temp-tab","pt-0","pe-0","ps-0","m-0"],["customScrollDir","",1,"is-popover-tb-n","scroll-container"],[1,"side-in-scroll"],[3,"changeProduct","templateType","productId"],[1,"text-primary","text-capitalize"],[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",2,"min-height","40px"],["class","d-inline-flex ms-2",4,"ngIf"],[1,"text-lg","text-black","mt-2",2,"min-height","50px"],["class","aiBannerHeader mt-10 ai-template-header","style","width: 587px;",4,"ngIf"],["class","d-flex mt-3 ai-template-header",4,"ngIf"],[1,"d-inline-flex","ms-2"],["src","https://static.lightxeditor.com/assets/images/btn-learn-more.png","width","111","height","36",1,"btn-learn-more"],[1,"aiBannerHeader","mt-10","ai-template-header",2,"width","587px"],[1,"position-relative","inputSearch"],[1,"form-group","position-relative"],["maxlength","450","type","search","aria-describedby","search","placeholder","Enter prompt to generate",1,"form-control",2,"height","48px",3,"keyup.enter","ngModelChange","ngModel","ngClass"],[1,"position-absolute","top-0","h-100","d-flex","align-items-center","justify-content-center",2,"right","144px","width","60px",3,"ngClass"],[1,"counter","text-11",3,"ngClass"],[1,"position-absolute","top-0","right-0","p-1"],[1,"btn","btn-primary","d-flex","align-items-center","text-semi","btn-h40","pe-3","ps-3","btnGenerate",3,"click"],[1,"d-flex","mt-3","ai-template-header"],[1,"btn","btn-primary","d-flex","align-items-center","text-semi","btn-h40","pe-3","ps-3","btnGenerate","mr-9",3,"click"],["src","https://static.lightxeditor.com/assets/images/btn-learn-more.png","width","115","height","40",1,"btn-learn-more"],[1,"home-top-banner","d-flex","align-items-center","position-relative"],[1,"d-flex","cover-inner","position-relative","align-items-center","h-100","w-100","justify-content-center",2,"max-width","576px","min-height","245px"],[1,"w-100","p-ltrt"],[1,"text-32","text-black","lh-125","text-capitalize"],[1,"text-lg","text-black","lh-160","mt-2"],[1,"row","d-lg-none","p-ltrt",3,"ngClass"],[1,"col-12"],[1,"select-product-menu","position-sticky",2,"top","72px","z-index","999","background","rgba(248,248,251,.85) 0 0 no-repeat padding-box","backdrop-filter","blur(20px)"],["ngbDropdown","","is-open","false",1,"d-inline-block","mt-4",2,"width","100%","max-width","576px",3,"openChange"],["id","dropdownBasic1","ngbDropdownToggle","",1,"btn","btn-outline-primary","w-100","btn-h48","text-start","border-grey","bg-transparent","text-dark","d-flex","align-items-center","justify-content-between","ps-3","pr-9"],["class","collapse-text float-end",4,"ngIf"],["class","f-24 expand-text float-end",4,"ngIf"],["ngbDropdownMenu","","aria-labelledby","dropdownBasic1",2,"width","100%","max-width","576px","height","unset!important"],[1,"collapse-text","float-end"],["name","dropdownArrowDown",1,"f-24","text-dark"],[1,"f-24","expand-text","float-end"],["name","dropdownArrowUp"],[1,"d-flex","align-items-center","justify-content-start","wp-100","mt-10"],["id","top-float-btn",1,"top-float-btn","tags-listing-col","listing-col-design",3,"ngClass"],["
1id","buttons-scroll-menu",1,"mt-9","m-tab-scroll","tags-listing",3,"selectMenu","categoryId","items","type"],[1,"text-xl","text-semi","text-center","text-center","mt-3","mb-3"],[1,"list-thumb-place-text","wpx-200","anim-blank-view"],[2,"--row-height","240px",3,"ngClass"],[3,"ngClass","margin-left","margin-right","class",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngClass"],[3,"click","href"],[1,"c-img",2,"height","var(--row-height)"],[1,"custom-image-main"],["loading","lazy",1,"image","template__img"],["type","image/webp",3,"srcset"],["loading","lazy","onerror","errImage(this)",2,"left","0",3,"alt","srcset"],["data-toggle","modal","data-target","#viewimage",1,"overlay","image","template__img",3,"click"],[1,"view-eye"],["name","proTemplateIcon","class","f-28 icon  pro-template-icon image template__img",4,"ngIf"],["class","caption",3,"dir",4,"ngIf"],["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,"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(t,i){1&t&&(e.j41(0,"div",3)(1,"div",4)(2,"div",5),e.DNE(3,je,13,2,"div",6),e.j41(4,"div",7)(5,"div",8)(6,"div",9)(7,"a",10),e.EFF(8,"Home"),e.k0s(),e.nrm(9,"pi",11),e.j41(10,"a",10),e.EFF(11,"Design Templates"),e.k0s(),e.nrm(12,"pi",11),e.DNE(13,ke,2,1,"span",12),e.k0s(),e.DNE(14,Ne,10,8,"div",13),e.k0s(),e.j41(15,"div",14),e.DNE(16,Fe,7,4,"div",15),e.k0s(),e.DNE(17,Be,11,8,"div",16),e.j41(18,"div",8),e.DNE(19,$e,3,9,"div",17),e.k0s(),e.j41(20,"div",18,0),e.DNE(22,Ye,5,1,"div",19),e.j41(23,"div",20),e.DNE(24,Le,2,0,"h2",21),e.k0s(),e.DNE(25,He,3,8,"div",22)(26,Ae,3,1,"div",23),e.k0s()()()()(),e.nrm(27,"store-mobile-banner")),2&t&&(e.Y8G("ngClass",i.env.isMobileView?"home-content-product":"home-content"),e.R7$(3),e.Y8G("ngIf",!i.envService.isMobileView),e.R7$(2),e.Y8G("ngClass",e.eq3(17,I,i.env.isMobileView)),e.R7$(),e.Y8G("ngClass",e.eq3(19,xe,i.env.isMobileView)),e.R7$(),e.Y8G("routerLink",e.eq3(21,L,i.homeURL)),e.R7$(3),e.Y8G("routerLink",e.eq3(23,L,i.designHomeUrl)),e.R7$(3),e.Y8G("ngIf",i.isLoaded),e.R7$(),e.Y8G("ngIf",!i.templateSearch&&i.isSearchResult),e.R7$(),e.Y8G("ngClass",e.eq3(25,I,i.env.isMobileView)),e.R7$(),e.Y8G("ngIf",i.templateSearch&&i.isSearchResult),e.R7$(),e.Y8G("ngIf",i.envService.isMobileView),e.R7$(),e.Y8G("ngClass",e.eq3(27,Se,i.env.isMobileView)),e.R7$(),e.Y8G("ngIf",i.isTagLoaded&&i.selectedProductWithVarients&&i.selectedProductWithVarients.length>0),e.R7$(3),e.Y8G("ngIf",!i.isSearchResult),e.R7$(2),e.Y8G("ngIf",!i.templateSearch&&!i.isLoaded),e.R7$(),e.Y8G("ngIf",i.isLoaded),e.R7$(),e.Y8G("ngIf",!i.isProductsEnd&&i.products.length>0))},dependencies:[h.tg,h.do,h.U0,u.YU,u.Sq,u.bT,u.B3,_.me,_.BC,_.tU,_.vS,g.Wk,E.p,ve.q,B.b,be.S,$.B,_e.m],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}@media (min-width: 600px) and (max-width: 990px){.select-product-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]{max-width:100%!important}}.borderRadiusTabMobile[_ngcontent-%COMP%]{border-top-right-radius:0;border-bottom-right-radius:0}.pl-60[_ngcontent-%COMP%]{padding-left:60px}.top-float-btn.tags-listing-col.position-fixed.tagMarginLeft[_ngcontent-%COMP%]{padding:29px 0 8px!important;left:363px!important;width:calc(100% - 423px)}.tagMarginLeft[_ngcontent-%COMP%]{left:374px!important;right:76px}@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}}"]}),a})();const We=[{path:"create",component:ue},{path:"intermediate-design-scratch",component:Z.r},{path:"",component:w},{path:":product_slug",component:w},{path:"search/:term",component:w}];let Ze=(()=>{var n;class a{}return(n=a).\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.$C({type:n}),n.\u0275inj=e.G2t({imports:[g.iI.forChild(We),g.iI]}),a})();
1var Ke=c(23679),Qe=c(64065),Je=c(24269),qe=c(31080),et=c(77183),tt=c(7060);let it=(()=>{var n;class a{}return(n=a).\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.$C({type:n}),n.\u0275inj=e.G2t({providers:[h.Lw,x.Zg],imports:[h.UN,u.MD,_.YN,Ze,W.W,z.G,Ke.Y,H.r,Je.S,qe.h,et.f,tt.U,A.MQ,Qe.q]}),a})()}}]);

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.