1"use strict";(self.webpackChunklightx=self.webpackChunklightx||[]).push([[4689],{31080:(N,T,a)=>{a.d(T,{h:()=>G});var e=a(84341),M=a(89818),D=a(79421),w=a(60177),k=a(33391),P=a(74710),S=a(54438);let G=(()=>{var t;class I{}return(t=I).\u0275fac=function(g){return new(g||t)},t.\u0275mod=S.$C({type:t}),t.\u0275inj=S.G2t({imports:[w.MD,e.YN,k._f,k.UN,M.MQ,D.r,P.iI]}),I})()},73744:(N,T,a)=>{a.d(T,{S:()=>B});var e=a(54438),M=a(92452),D=a(24886),w=a(68465),k=a(32764),P=a(68010),S=a(74710),G=a(87052),t=a(60177),I=a(33391),R=a(68064);const g=m=>[m],y=m=>({menuItemSelected:m});function f(m,F){if(1&m){const p=e.RV6();e.j41(0,"a",19),e.bIt("click",function(_){e.eBV(p);const C=e.XpG().$implicit,v=e.XpG(2).$implicit,O=e.XpG();return e.Njj(O.btnClick(C,v.categoryId,_))}),e.j41(1,"span",20),e.EFF(2),e.k0s()()}if(2&m){const p=e.XpG().$implicit,c=e.XpG(3);e.Y8G("routerLink",e.eq3(3,g,c.urlPart+p.productAlias))("ngClass",e.eq3(5,y,p.displayName==c.displayName)),e.R7$(2),e.JRh(p.displayName)}}function l(m,F){if(1&m){const p=e.RV6();e.j41(0,"a",21),e.bIt("click",function(){e.eBV(p);const _=e.XpG().$implicit,C=e.XpG(2).$implicit,v=e.XpG();return e.Njj(v.btnClick(_,C.categoryId,""))}),e.j41(1,"span",20),e.EFF(2),e.k0s()()}if(2&m){const p=e.XpG().$implicit,c=e.XpG(3);e.Y8G("ngClass",e.eq3(2,y,p.displayName==c.displayName)),e.R7$(2),e.JRh(p.displayName)}}function E(m,F){if(1&m&&(e.j41(0,"div",16),e.DNE(1,f,3,7,"a",17)(2,l,3,4,"a",18),e.k0s()),2&m){const p=F.$implicit,c=e.XpG(3);e.Y8G("id",p.productId),e.R7$(),e.Y8G("ngIf",c.addRouterLink),e.R7$(),e.Y8G("ngIf",!c.addRouterLink)}}function b(m,F){if(1&m&&(e.j41(0,"div",14),e.DNE(1,E,3,3,"div",15),e.k0s()),2&m){const p=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",p.subMenus)}}function z(m,F){if(1&m&&(e.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"button",5)(4,"div",6),e.EFF(5),e.k0s()(),e.j41(6,"button",7)(7,"span",8),e.nrm(8,"pi",9),e.k0s(),e.j41(9,"span",10),e.nrm(10,"pi",11),e.k0s()()()(),e.j41(11,"div",12)(12,"div",13),e.DNE(13,b,2,1,"ng-template"),e.k0s()()()),2&m){const p=F.$implicit,c=e.XpG();e.Mz_("ngbAccordionItem","text-panel-",p.categoryId,""),e.Y8G("collapsed",c.ActiveId!==p.categoryId),e.R7$(5),e.JRh(p.gaName)}}let B=(()=>{var m;class F{set productId(c){this._productId=c,this.setActiveId()}get productId(){return this._productId}constructor(c,_,C,v){this.templateService=c,this.authService=_,this.router=C,this.webService=v,this.menu=[],this.items=[],this.subItems=[],this.mainSelectedFormat=1,this.panelExpanded=!0,this.templateType=1,this.addRouterLink=!0,this.changeProduct=new e.bkB,this.isFormatedStrict=!1,this.urlPart="/",this.user=this.authService.currentUser()}ngOnInit(){this.templateType===D.If.DESIGN?(this.urlPart="/design-templates/",this.getDropDownListing(w.KK.Product)):this.templateType===D.If.VIDEO&&(this.urlPart="/video-templates/",this.getDropDownListing(w.KK.VideoTemplates))}login(){this.router.navigate(["/login"])}selectFirstOrDefault(){this.items.length>0?this.setFirst():setTimeout(()=>{this.setFirst()},1e3)}setFirst(){let _=this.items[0].subMenus;_.length>0&&this.btnClick(_[0],null,null)}btnClick(c,_=null,C){C&&C.stopPropagation(),this.categoryId=_,this.productId=c.productId,this.changeProduct.emit(c)}getDropDownListing(c){this.templateService.getCategoryDetails(c,0,_=>{this.items=this.webService.getCategoryDetailMenu(_.storeCategory.subCategoryList,this.isFormatedStrict,this.mainSelectedFormat),this.ActiveId||(this.setActiveId(),setTimeout(()=>{var C=document.getElementById(this.productId);C&&C.scrollIntoView()},200))},_=>{},0,M.i.Main)}setActiveId(){let c,_;if(this.productId)for(let C=0;C<this.items.length;C++){c=this.items[C],_=c.subMenus;for(let v=0;v<_.length;v++){let O=_[v].varients||[];if(O&&O.length>0){for(let L=0;L<O.length;L++)if(this.categoryId){if(O[L].productId.toString()==this.productId&&this.categoryId==c.categoryId)return this.ActiveId=c.categoryId,void(this.displayName=_[v].displayName)}else if(O[L].productId.toString()==this.productId)return this.ActiveId=c.categoryId,void(this.displayName=_[v].displayName)}else if(this.categoryId){if(_[v].productId.toString()==this.productId&&this.categoryId==c.categoryId)return this.displayName=_[v].displayName,void(this.ActiveId=c.categoryId)}else if(_[v].productId.toString()==this.productId)return this.displayName=_[v].displayName,void(this.ActiveId=c.categoryId)}}else this.displayName=""}}return(m=F).\u0275fac=function(c){return new(c||m)(e.rXU(k.I),e.rXU(P.u),e.rXU(S.Ix),e.rXU(G.e))},m.\u0275cmp=e.VBU({type:m,selectors:[["drop-down-menu"]],inputs:{items:"items",mainSelectedFormat:"mainSelectedFormat",templateType:"templateType",addRouterLink:"addRouterLink",isFormatedStrict:"isFormatedStrict",productId:"productId"},outputs:{changeProduct:"changeProduct"},decls:2,vars:2,consts:[["ngbAccordion","",3,"closeOthers"],[3,"ngbAccordionItem","collapsed",4,"ngFor","ngForOf"],[3,"ngbAccordionItem","collapsed"],["ngbAccordionHeader",""],[1,"d-flex","align-items-center","justify-content-between","sub-item","w-100"],["type","button","ngbAccordionButton","",1,"btn-acc-title","w-100"],[1,"dropdown-toggle","toggle-link","text-lg","text-black","text-semi"],["type","button","ngbAccordionButton","",1,"btn-link","btn-collapse","p-0"],[1,"text-sm","collapse-text"],["name","dropdownArrowDown",1,"f-24","text-dark"],[1,"text-sm","expand-text"],["name","dropdownArrowUp",1,"f-24","text-dark"],["ngbAccordionCollapse",""],["ngbAccordionBody",""],[1,"content"],["class","mt-1",3,"id",4,"ngFor","ngForOf"],[1,"mt-1",3,"id"],["class","btn-dropdown text-normal text-black border-radius-12 w-100 text-start border-0 btn-h48 inner pointer d-flex align-items-center",3,"routerLink","ngClass","click",4,"ngIf"],["class","btn-dropdown text-normal text-black border-radius-12 w-100 text-start border-0 btn-h48 inner pointer d-flex align-items-center",3,"ngClass","click",4,"ngIf"],[1,"btn-dropdown","text-normal","text-black","border-radius-12","w-100","text-start","border-0","btn-h48","inner","pointer","d-flex","align-items-center",3,"click","routerLink","ngClass"],[1,"ms-4"],[1,"btn-dropdown","text-normal","text-black","border-radius-12","w-100","text-start","border-0","btn-h48","inner","pointer","d-flex","align-items-center",3,"click","ngClass"]],template:function(c,_){1&c&&(e.j41(0,"div",0),e.DNE(1,z,14,4,"div",1),e.k0s()),2&c&&(e.Y8G("closeOthers",!0),e.R7$(),e.Y8G("ngForOf",_.items))},dependencies:[t.YU,t.Sq,t.bT,I.WP,I.r6,I.tW,I.x7,I.UA,I.$R,R.b,S.Wk],styles:[".btn-dropdown[_ngcontent-%COMP%]{background:none}.btn-dropdown[_ngcontent-%COMP%]:hover{background:#626adf0d;color:#000}.btn-h48[_ngcontent-%COMP%]{white-space:nowrap;padding:0!important;height:48px!important}.menuItemSelected[_ngcontent-%COMP%]{background-color:#626adf1a!important;color:#626adf!important}"]}),F})()},49711:(N,T,a)=>{a.d(T,{R:()=>R});var e=a(54438),M=a(68287),D=a(60177),w=a(68064),k=a(36561);const P=["menu"],S=g=>({"active-badge":g});function G(g,y){if(1&g){const f=e.RV6();e.qex(0),e.j41(1,"a",7),e.bIt("click",function(){const E=e.eBV(f).$implicit,b=e.XpG(2);return e.Njj(b.buttonClicked(E))}),e.nrm(2,"pi",8),e.EFF(3),e.k0s(),e.bVm()}if(2&g){const f=y.$implicit,l=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.eq3(3,S,f.id===l.selectedId)),e.R7$(),e.Y8G("name",f.iconName),e.R7$(),e.SpI("",f.title," ")}}function t(g,y){if(1&g&&(e.qex(0),e.DNE(1,G,4,5,"ng-container",6),e.bVm()),2&g){const f=e.XpG();e.R7$(),e.Y8G("ngForOf",f.items)("ngForTrackBy",f.trackByIndex)}}function I(g,y){if(1&g){const f=e.RV6();e.j41(0,"div",9,0),e.qex(2),e.j41(3,"buttons-scroll-menu",10),e.bIt("selectMenu",function(E){e.eBV(f);const b=e.XpG();return e.Njj(b.buttonClicked(E))}),e.k0s(),e.bVm(),e.k0s()}if(2&g){const f=e.XpG();e.R7$(3),e.Y8G("categoryId",f.selectedId)("items",f.items)("type","floatingbtn")}}let R=(()=>{var g;class y{constructor(l){this.envService=l,this.selectedId=0,this.title="",this.selectLayout=new e.bkB,this.leftPaddleVisible=!1,this.rightPaddleVisible=!0,this.scrollDiff=200}ngOnInit(){}buttonClicked(l){this.selectedId=l.id,this.selectLayout.emit(l)}trackByIndex(l){return l}leftScroll(){let l=this.menu.nativeElement;this.menu.nativeElement.scrollTo({left:this.menu.nativeElement.scrollLeft-this.scrollDiff,behavior:"smooth"}),this.rightPaddleVisible=!0,setTimeout(()=>{0==l.scrollLeft&&(this.leftPaddleVisible=!1)},500)}rightScroll(){let l=this.menu.nativeElement;this.menu.nativeElement.scrollTo({left:this.menu.nativeElement.scrollLeft+this.scrollDiff,behavior:"smooth"}),setTimeout(()=>{l.scrollLeft+l.offsetWidth>=l.scrollWidth&&(this.rightPaddleVisible=!1),l.scrollLeft>0&&(this.leftPaddleVisible=!0)},500)}swipe(l,E){const b=[l.changedTouches[0].pageX,l.changedTouches[0].pageY],z=(new Date).getTime();if("start"===E)this.swipeCoord=b,this.swipeTime=z;else if("end"===E){const B=[b[0]-this.swipeCoord[0],b[1]-this.swipeCoord[1]];z-this.swipeTime<1e3&&Math.abs(B[0])>30&&Math.abs(B[0])>Math.abs(3*B[1])&&(B[0]<0?this.rightScroll():this.leftScroll())}}}return(g=y).\u0275fac=function(l){return new(l||g)(e.rXU(M.L))},g.\u0275cmp=e.VBU({type:g,selectors:[["floating-buttons"]],viewQuery:function(l,E){if(1&l&&e.GBs(P,5),2&l){let b;e.mGM(b=e.lsd())&&(E.menu=b.first)}}
1,inputs:{items:"items",selectedId:"selectedId",title:"title"},outputs:{selectLayout:"selectLayout"},decls:5,vars:2,consts:[["menuWrapper",""],[4,"ngIf"],[1,"d-inline-flex","wp-100"],[1,"row","g-0","wp-100"],[1,"mx-auto","w-100"],["class","m-tab-scroll",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"badge","badge-temp","me-2","mb-9","text-semi",3,"click","ngClass"],[1,"me-2",3,"name"],[1,"m-tab-scroll"],[1,"mt-9","m-tab-scroll",3,"selectMenu","categoryId","items","type"]],template:function(l,E){1&l&&(e.DNE(0,t,2,2,"ng-container",1),e.j41(1,"div",2)(2,"div",3)(3,"div",4),e.DNE(4,I,4,3,"div",5),e.k0s()()()),2&l&&(e.Y8G("ngIf",!E.envService.isMobileView),e.R7$(4),e.Y8G("ngIf",E.envService.isMobileView))},dependencies:[D.YU,D.Sq,D.bT,w.b,k.B],styles:[".socialIcon[_ngcontent-%COMP%]{filter:opacity(.5)}.socialIcon[_ngcontent-%COMP%]:hover{filter:unset}"]}),y})()},15782:(N,T,a)=>{a.d(T,{r:()=>mt});var e=a(10467),M=a(60177),D=a(16471),w=a(45312),k=a(24886),P=a(2850),S=a(67294),G=a(28662),t=a(54438),I=a(74710),R=a(33391),g=a(34183),y=a(68287),f=a(79301),l=a(22154),E=a(32764),b=a(84341),z=a(68064),B=a(89818),m=a(48039),F=a(49711);const p=o=>({background:o}),c=o=>({"position-fixed":o}),_=o=>({"video-custom":o}),C=o=>({"swap-active":o}),v=()=>["/design-templates/intermediate-design-scratch"],O=()=>["/video-templates/intermediate-video-scratch"];function L(o,d){if(1&o&&(t.j41(0,"div",12)(1,"picture",13),t.nrm(2,"img",14)(3,"source",15)(4,"img",16),t.k0s(),t.j41(5,"div",17)(6,"div",18)(7,"div")(8,"h1",19),t.EFF(9),t.k0s()(),t.j41(10,"div",20)(11,"p",21),t.EFF(12),t.k0s()()()()()),2&o){const s=t.XpG(2);t.Y8G("ngStyle",t.eq3(6,p,null==s.item?null:s.item.bgColors)),t.R7$(3),t.Y8G("srcset",s.item.img1),t.R7$(),t.FS9("alt",s.item.title),t.Y8G("src",s.item.img1,t.B4B),t.R7$(5),t.JRh(s.item.title),t.R7$(3),t.JRh(s.item.desc1)}}function V(o,d){if(1&o&&(t.j41(0,"div",10),t.DNE(1,L,13,8,"div",11),t.k0s()),2&o){const s=t.XpG();t.R7$(),t.Y8G("ngIf",s.isLoaded)}}function U(o,d){if(1&o){const s=t.RV6();t.j41(0,"div",22)(1,"floating-buttons",23),t.bIt("selectLayout",function(n){t.eBV(s);const r=t.XpG();return t.Njj(r.layoutSelect(n.id))}),t.k0s()()}if(2&o){const s=t.XpG();t.Y8G("ngClass",t.eq3(3,c,s.windowScrolled)),t.R7$(),t.Y8G("items",s.resizeLayouts)("selectedId",s.selectedLayoutId)}}function $(o,d){if(1&o){const s=t.RV6();t.j41(0,"button",47),t.bIt("click",function(){t.eBV(s);const n=t.XpG(2);return t.Njj(n.swap())}),t.nrm(1,"pi",48),t.k0s()}}function W(o,d){1&o&&(t.j41(0,"button",49),t.nrm(1,"pi",50),t.k0s())}function X(o,d){1&o&&(t.j41(0,"div",51),t.nrm(1,"pi",52),t.k0s())}function Y(o,d){1&o&&(t.j41(0,"div",53),t.nrm(1,"pi",54),t.k0s())}function K(o,d){if(1&o&&(t.j41(0,"ng-option",57)(1,"div",58)(2,"span"),t.EFF(3),t.k0s(),t.nrm(4,"pi",59),t.k0s()()),2&o){const s=d.$implicit;t.Y8G("value",s.val),t.R7$(3),t.JRh(s.name)}}function H(o,d){if(1&o){const s=t.RV6();t.j41(0,"ng-select",55),t.mxI("ngModelChange",function(n){t.eBV(s);const r=t.XpG(2);return t.DH7(r.selectSizeVal,n)||(r.selectSizeVal=n),t.Njj(n)}),t.bIt("change",function(n){t.eBV(s);const r=t.XpG(2);return t.Njj(r.onSizeChange(n))}),t.DNE(1,K,5,2,"ng-option",56),t.k0s()}if(2&o){const s=t.XpG(2);t.R50("ngModel",s.selectSizeVal),t.Y8G("searchable",!1)("clearable",!1),t.R7$(),t.Y8G("ngForOf",s.ddlItems)}}function J(o,d){if(1&o&&(t.j41(0,"div",60),t.EFF(1),t.k0s()),2&o){const s=t.XpG(2);t.R7$(),t.SpI(" All sizes are in ",s.ddlItems[s.selectSizeVal-1].fname,". ")}}function Z(o,d){if(1&o&&(t.j41(0,"div",61),t.EFF(1),t.k0s()),2&o){const s=t.XpG(2);t.R7$(),t.SpI(" ",s.errorsmsg," ")}}function Q(o,d){if(1&o){const s=t.RV6();t.j41(0,"div",24)(1,"div",25)(2,"div",26)(3,"h1",27),t.EFF(4,"Custom Size"),t.k0s()(),t.j41(5,"div",28)(6,"div",29)(7,"div",30)(8,"div",31)(9,"div",32)(10,"div",33)(11,"div",34),t.EFF(12,"Width"),t.k0s(),t.j41(13,"input",35),t.mxI("ngModelChange",function(n){t.eBV(s);const r=t.XpG();return t.DH7(r.customsize.width,n)||(r.customsize.width=n),t.Njj(n)}),t.bIt("paste",function(n){return t.eBV(s),t.Njj(n.preventDefault())})("keypress",function(n){t.eBV(s);const r=t.XpG();return t.Njj(r.onKeyPress(n))})("keyup",function(n){t.eBV(s);const r=t.XpG();return t.Njj(r.onKeyUpWidth(n))})("focusout",function(){t.eBV(s);const n=t.XpG();return t.Njj(n.isValidate())}),t.k0s()(),t.DNE(14,$,2,0,"button",36)(15,W,2,0,"button",37),t.j41(16,"div",33)(17,"div",34),t.EFF(18,"Height"),t.k0s(),t.j41(19,"input",38),t.bIt("keyup",function(n){t.eBV(s);const r=t.XpG();return t.Njj(r.onKeyUpHeight(n))}),t.mxI("ngModelChange",function(n){t.eBV(s);const r=t.XpG();return t.DH7(r.customsize.height,n)||(r.customsize.height=n),t.Njj(n)}),t.bIt("paste",function(n){return t.eBV(s),t.Njj(n.preventDefault())})("keypress",function(n){t.eBV(s);const r=t.XpG();return t.Njj(r.onKeyPress(n))})("focusout",function(){t.eBV(s);const n=t.XpG();return t.Njj(n.isValidate())}),t.k0s()(),t.j41(20,"button",39),t.bIt("click",function(){t.eBV(s);const n=t.XpG();return n.islockicon=!n.islockicon,t.Njj(n.changeAspectRatio(n.islockicon))}),t.DNE(21,X,2,0,"div",40)(22,Y,2,0,"div",41),t.k0s(),t.DNE(23,H,2,4,"ng-select",42),t.k0s(),t.j41(24,"div")(25,"div",25),t.DNE(26,J,2,1,"div",43)(27,Z,2,1,"div",44),t.k0s()()()(),t.j41(28,"div",45)(29,"button",46),t.bIt("click",function(){t.eBV(s);const n=t.XpG();return t.Njj(n.startCustomEditing(n.selectedimageObjects))}),t.EFF(30,"Create New"),t.k0s()()()()()()}if(2&o){const s=t.XpG();t.R7$(6),t.Y8G("ngClass",t.eq3(14,_,2==s.templateType)),t.R7$(7),t.Y8G("ngClass",!0===s.isvalidW?"is-invalid":"ng-valid"),t.R50("ngModel",s.customsize.width),t.R7$(),t.Y8G("ngIf",!s.islockicon),t.R7$(),t.Y8G("ngIf",s.islockicon),t.R7$(4),t.Y8G("ngClass",!0===s.isvalidH?"is-invalid":"ng-valid"),t.R50("ngModel",s.customsize.height),t.R7$(),t.Y8G("ngClass",t.eq3(16,C,s.islockicon)),t.R7$(),t.Y8G("ngIf",s.islockicon),t.R7$(),t.Y8G("ngIf",!s.islockicon),t.R7$(),t.Y8G("ngIf",2!=s.templateType),t.R7$(3),t.Y8G("ngIf",""==s.errorsmsg),t.R7$(),t.Y8G("ngIf",""!=s.errorsmsg),t.R7$(2),t.Y8G("disabled",!!s.isdisabled||null)}}function q(o,d){if(1&o){const s=t.RV6();t.j41(0,"img",76),t.bIt("click",function(){t.eBV(s);
1const n=t.XpG(2).$implicit,r=t.XpG(4);return t.Njj(r.startEditing(n))}),t.k0s()}if(2&o){const s=t.XpG(2).$implicit;t.Y8G("src",null==s?null:s.thumbUrl,t.B4B)}}function tt(o,d){if(1&o&&(t.j41(0,"picture",74),t.DNE(1,q,1,1,"img",75),t.k0s()),2&o){const s=t.XpG().$implicit;t.R7$(),t.Y8G("ngIf",null==s?null:s.thumbUrl)}}function et(o,d){if(1&o&&t.nrm(0,"img",79),2&o){const s=t.XpG(2).$implicit;t.Y8G("src",null==s?null:s.thumbUrl,t.B4B)}}function it(o,d){if(1&o&&(t.j41(0,"picture",74)(1,"a",77),t.DNE(2,et,1,1,"img",78),t.k0s()()),2&o){const s=t.XpG().$implicit,i=t.XpG(4);t.R7$(),t.Y8G("href",i.commonService.playStorUrl,t.B4B),t.R7$(),t.Y8G("ngIf",null==s?null:s.thumbUrl)}}function nt(o,d){if(1&o&&(t.j41(0,"div",68)(1,"div",69),t.DNE(2,tt,2,1,"picture",70)(3,it,3,2,"picture",70),t.k0s(),t.j41(4,"div",71)(5,"h4",72),t.EFF(6),t.k0s(),t.j41(7,"span",73),t.EFF(8),t.k0s()()()),2&o){const s=d.$implicit,i=t.XpG(4);t.R7$(2),t.Y8G("ngIf",!i.envService.isMobileView),t.R7$(),t.Y8G("ngIf",i.envService.isMobileView),t.R7$(3),t.SpI("",s.socialPlatform," "),t.R7$(2),t.Lme("",s.width," x ",s.height,"")}}function st(o,d){if(1&o&&(t.j41(0,"div",65)(1,"div",26)(2,"h1",27),t.EFF(3),t.k0s()(),t.j41(4,"div",66),t.DNE(5,nt,9,5,"div",67),t.k0s()()),2&o){const s=t.XpG().$implicit;t.Y8G("id",s.parentId),t.R7$(3),t.JRh(s.socialParentType),t.R7$(2),t.Y8G("ngForOf",null==s?null:s.socialPlatformFormats)}}function ot(o,d){if(1&o&&(t.qex(0),t.DNE(1,st,6,3,"div",64),t.bVm()),2&o){const s=d.$implicit,i=t.XpG(2);t.R7$(),t.Y8G("ngIf",s.socialParentType!=i.CreateFromScratchCustom.socialParentType)}}function rt(o,d){if(1&o&&(t.j41(0,"div",62),t.DNE(1,ot,2,1,"ng-container",63),t.k0s()),2&o){const s=t.XpG();t.R7$(),t.Y8G("ngForOf",s.resizeLayouts)}}function at(o,d){1&o&&(t.j41(0,"button",83),t.EFF(1,"Explore Design Layouts"),t.k0s()),2&o&&t.Y8G("routerLink",t.lJ4(1,v))}function ct(o,d){1&o&&(t.j41(0,"button",83),t.EFF(1,"Explore Video Layouts"),t.k0s()),2&o&&t.Y8G("routerLink",t.lJ4(1,O))}function lt(o,d){if(1&o&&(t.j41(0,"div",62)(1,"div",80)(2,"h3",81),t.EFF(3),t.k0s(),t.DNE(4,at,2,2,"button",82)(5,ct,2,2,"button",82),t.k0s()()),2&o){const s=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(4,p,null==s.item?null:s.item.bgBColors)),t.R7$(2),t.SpI(" ",s.item.descB," "),t.R7$(),t.Y8G("ngIf",2==s.templateType),t.R7$(),t.Y8G("ngIf",1==s.templateType)}}function dt(o,d){1&o&&(t.qex(0),t.nrm(1,"element-placeholder",84),t.bVm()),2&o&&(t.R
17$(),t.Y8G("view","interresize"))}let mt=(()=>{var o;class d{constructor(i,n,r,h,u,x,j,A,_t){this.route=i,this.activeModal=n,this.router=r,this.storyPageService=h,this.envService=u,this.commonService=x,this.document=j,this.configService=A,this.templateService=_t,this.customPrv=1,this.selectSizeVal=1,this.selectval=1,this.customsize={width:1080,height:1080},this.customPreviousValue={width:1080,height:1080},this.itemheader={dheader:{type:"banner",title:"Create Designs from Scratch",subTitle:"",desc1:"Make personalized graphics for different social platforms or print using preset layouts.",descB:"Explore all customizable video templates layouts for your ideas",desc2:"",img1:"https://static.lightxeditor.com/assets/images/create-scratch.png",img2:"",bgColors:"linear-gradient(95.01deg, #C1FBE6 -0.78%, #97E9FB 98.79%)",bgBColors:"linear-gradient(106.16deg, #F3C2FF -1.72%, #BBCAFF 102.71%)",bottomLink:"Explore Video Layouts",links:[{type:"explore",text:"Explore Templates",url:"/video-templates/instagram-story-video-template"}],images:[{type:"",url:"https://static.lightxeditor.com/assets/images/create-scratch.png",altUrl:"",altText:"Create Designs from Scratch"}]},vheader:{type:"banner",title:"Make Videos from Scratch",subTitle:"",desc1:"Create customized videos for different social media platforms using preset layouts.",descB:"Explore all customizable design templates layouts for your ideas",desc2:"",img1:"https://static.lightxeditor.com/assets/images/create-scratch-video.png",img2:"",bgColors:"linear-gradient(106.16deg, #F3C2FF -1.72%, #BBCAFF 102.71%)",bgBColors:"linear-gradient(95.01deg, #C1FBE6 -0.78%, #97E9FB 98.79%)",bottomLink:"Explore Design Layouts",links:[{type:"explore",text:"Explore Templates",url:"/video-templates/instagram-story-video-template"}],images:[{type:"",url:"https://static.lightxeditor.com/assets/images/create-scratch-video.png",altUrl:"",altText:"Make Videos from Scratch"}]}},this.ddlItems=[{val:1,name:"px",fname:"pixels"},{val:2,name:"cm",fname:"centimeter"},{val:3,name:"mm",fname:"millimetre"},{val:4,name:"in ",fname:"inches"}],this.videourl=w.c.staticAssetsPath+"assets/json/video_create.config.json",this.designurl=w.c.staticAssetsPath+"assets/json/resize.config.json",this.isLoaded=!1,this.selectedLayoutId=0,this.isCustomScrolled=!1,this.templateType=1,this.isdisabled=!1,this.errorsmsg="",this.inProgress=!1,this.isvalidW=!1,this.isvalidH=!1,this.islockicon=!1,this.CreateFromScratchCustom={parentId:0,socialParentType:"Custom",socialPlatformFormats:[]}}ngOnInit(){var i=this.route.snapshot.routeConfig.path;"intermediate-design-scratch"==i?(this.templateType=1,this.item=this.itemheader.dheader):"intermediate-video-scratch"==i&&(this.templateType=2,this.item=this.itemheader.vheader),this.templateService.getCreateFromScratchData(this.templateType,!1,n=>{n.body?.socialPlatformsList&&n.body?.socialPlatformsList.length>0&&(this.CreateFromScratch=n.body.socialPlatformsList,this.resizeLayouts=this.CreateFromScratch.filter(r=>r.socialParentType.toLowerCase()!=D.zu.Popular),this.resizeLayouts.unshift(this.CreateFromScratchCustom),this.calculateWidthHeight(),this.isLoaded=!0)},n=>{console.log(n)}),this.configService.settings||this.configService.readSettings()}layoutSelect(i){this.selectedLayoutId=i;const n=this.document.getElementById(i);if(n){const r=this.document.body.getBoundingClientRect().top,u=n.getBoundingClientRect().top-r;let x=this.document.getElementById("floatingbtns");const A=u-(x.getBoundingClientRect().top+x.getBoundingClientRect().height+2);this.isCustomScrolled=!0,0==this.selectedLayoutId?window.scrollTo({top:200,behavior:"smooth"}):window.scrollTo({top:A,behavior:"smooth"}),setTimeout(()=>{this.isCustomScrolled=!1},2e3)}}calculateWidthHeight(){if(this.resizeLayouts){let i=0;this.resizeLayouts.forEach(n=>{this.resizeLayouts[i].id=n.parentId,this.resizeLayouts[i].title=n.socialParentType,n?.iconName||(this.resizeLayouts[i].iconName="customResize"),i++,n.socialPlatformFormats.forEach(r=>{r.width>r.height?(r.boxHeight=Math.round(320*r.height/r.width),r.boxWidth=320):(r.boxWidth=Math.round(320*r.width/r.height),r.boxHeight=320)})})}}onWindowScroll(i){if(i>
1550||this.isCustomScrolled?(this.windowScrolled=!0,this.document.getElementById("layout-wrapper").classList.add("mega-opp-full"),this.isCustomScrolled&&this.layoutSelect(this.selectedLayoutId)):this.windowScrolled=!1,!this.isCustomScrolled||0==i){this.sections||(this.sections=Array.from(this.document.getElementsByClassName("thumbs-category-col")).map(r=>[r.id,r.offsetTop]));let n=0;this.sections.forEach((r,h)=>{this.document.scrollingElement.scrollTop+500>=r[1]&&(n=h)}),this.sections&&this.sections.length>0&&this.sections[n][0]&&(this.selectedLayoutId=Number(this.sections[n][0]))}}windowScroll(i){let n=i.target||i.currentTarget;if(n.documentElement){let r=Number(n.documentElement.scrollTop);this.onWindowScroll(r)}}getScratchContent(i=null){var n=this.designurl;this.templateType==k.If.VIDEO&&(n=this.videourl),this.storyPageService.getJsonFile(n,r=>{i(r)})}onSizeChange(i){this.convertValue(i),this.isValidate()}convertValue(i){this.customsize=P.Z.convertValue(this.customsize.width,this.customsize.height,i,this.customPrv),this.customPrv=i}swap(){let i=this.customsize.width;this.customsize.width=this.customsize.height,this.customsize.height=i}isValidate(){let i=this.customsize.width,n=this.customsize.height,r=!1,h="";this.errorsmsg="";let u=!1,x=!1;switch(this.isvalidW=!1,this.isvalidH=!1,this.selectSizeVal){case 1:null!=this.customsize.width&&(i=this.customsize.width),this.customsize.width=i,null!=this.customsize.height&&(n=this.customsize.height),this.customsize.height=n,null!=i&&(i<40||i>4e3)&&(u=!0,r=!0),null!=n&&(n<40||n>4e3)&&(r=!0,x=!0),h="Canvas size should range from 40px to 4000px.";break;case 2:null!=this.customsize.width&&!this.isNumber(String(this.customsize.width))&&(i=this.customsize.width,this.customsize.width=i),null!=this.customsize.height&&!this.isNumber(String(this.customsize.height))&&(n=this.customsize.height,this.customsize.height=n),null!=i&&(i<1.059||i>105.827)&&(r=!0,u=!0),null!=n&&(n<1.059||n>105.827)&&(r=!0,x=!0),h="Canvas size should range from 1.059cm to 105.827cm.";break;case 3:null!=i&&!this.isNumber(String(this.customsize.width))&&(i=this.customsize.width,this.customsize.width=i),null!=n&&!this.isNumber(String(this.customsize.height))&&(n=this.customsize.height,this.customsize.height=n),null!=i&&i.toString().split(".").length>1?this.customsize.width=i:null!=n&&n.toString().split(".").length>1&&(this.customsize.height=n),null!=i&&(i<10.59||i>1058.27)&&(r=!0,u=!0),null!=n&&(n<10.59||n>1058.27)&&(r=!0,x=!0),h="Canvas size should range from 10.59mm to 1058.27mm.";break;case 4:null!=i&&!this.isNumber(String(this.customsize.width))&&(i=this.customsize.width,this.customsize.width=i),null!=n&&!this.isNumber(String(this.customsize.height))&&(n=this.customsize.height,this.customsize.height=n),null!=i&&(i<.417||i>41.664)&&(r=!0,u=!0),null!=n&&(n<.417||n>41.664)&&(r=!0,x=!0),h="Canvas size should range from 0.417 inch to 41.664inch."}r?(this.isdisabled=!0,this.errorsmsg=h,u&&(this.isvalidW=u),x&&(this.isvalidH=x)):null!=i&&null!=n&&(this.isdisabled=!1)}isNumber(i){return null!=i&&""!==i&&!isNaN(Number(i.toString()))}roundTo(i,n){const r=10**n;return Math.round(i*r)/r}onKeyUpWidth(i){8==i.keyCode||/^\d*\.?\d{0,3}$/g.test(i.target.value)?this.islockicon?this.calculateAspectRatio(i.target.value,"width"):this.isValidate():(this.customsize.height=this.customPreviousValue.height,this.customsize.width=this.customPreviousValue.width,i.preventDefault())}onKeyUpHeight(i){8==i.keyCode||/^\d*\.?\d{0,3}$/g.test(i.target.value)?this.islockicon?this.calculateAspectRatio(i.target.value,"height"):this.isValidate():(this.customsize.height=this.customPreviousValue.height,this.customsize.width=this.customPreviousValue.width,i.preventDefault())}changeAspectRatio(i){i&&(this.lockedWidth=Number(this.customsize.width)>0?Number(this.customsize.width):1,this.lockedHeight=Number(this.customsize.height)>0?Number(this.customsize.height):1,this.customsize.width=Number(this.customsize.width)>0?Number(this.customsize.width):1,this.customsize.height=Number(this.customsize.height)>0?Number(this.customsize.height):1)}calculateAspectRatio(i,n){const r=this.lockedWidth,h=this.lockedHeight;"height"===n?this.customsize.width=Math.round(r/h*Number(i)):this.customsize.height=Math.round(h/r*Number(i)),this.isValidate()}onKeyPress(i){let n=String.fromCharCode(i.charCode),r=this.selectSizeVal,u=null;1==r?"."!=n&&(u=i.target.value.match(/^[0-9]*$/)):2==r?u=i.target.value.match(/^\d*\.?\d{0,2}$/g):3==r?u=i.target.value.match(/^\d*\.?\d{0,1}$/g):4==r&&(u=i.target.value.match(/^\d*\.?\d{0,2}$/g)),8!=i.keyCode&&86!=i.keyCode&&!/^\d*\.?\d{0,2}$/g.test(n)||null==u?i.preventDefault():this.isValidate()}startCustomEditing(i){var n=this;return(0,e.A)(function*(){yield n.configService.waitForSettings(),i=n.configService.settings?.[D.jn.SocialFormat]?.[26];let h,u,r=n.customsize,x=n.selectSizeVal;2===x?(h=P.Z.CMtoPixel(r.width),u=P.Z.CMtoPixel(r.height)):3===x?(h=P.Z.MMtoPixel(r.width),u=P.Z.MMtoPixel(r.height)):4===x?(h=P.Z.InchtoPixel(r.width),u=P.Z.InchtoPixel(r.height)):(h=r.width,u=r.height),i.width=h,i.height=u;const j=P.Z.getHCF(h,u);i.wRatio=h/j,i.hRatio=u/j,i.socialPlatformId=26,n.makeProjectFromScratch(i)})()}startEditing(i){if(this.envService.isMobileView)return this.commonService.playStorUrl;this.makeProjectFromScratch(i)}makeProjectFromScratch(i){1===this.templateType?this.router.navigate(["/design-editor/edit"],{queryParams:{action:"default_project",tab:S.sv.TEMPLATE,social_platform_id:i.socialPlatformId,format:i.format,h:i.height,w:i.width}}):2===this.templateType&&this.router.navigate(["/video-template-editor/edit"],{queryParams:{action:"default_project",tab:S.sv.MEDIA,project_id:"",project_type:G.gM.VideoTemplate,format:i.format,h:i.height,w:i.width}}),setTimeout(()=>{this.activeModal.close()},500)}}return(o=d).\u0275fac=function(i){return new(i||o)(t.rXU(I.nX),t.rXU(R.Lw),t.rXU(I.Ix),t.rXU(g.K),t.rXU(y.L),t.rXU(f.h),t.rXU(M.qQ),t.rXU(l.w),t.rXU(E.I))},o.\u0275cmp=t.VBU({type:o,selectors:[["intermediate-create-scratch"]],hostBindings:function(i,n){1&i&&t.bIt("scroll",function(h){return n.windowScroll(h)},!1,t.tSv)},decls:11,vars:7,consts:[[1,"container-fluid","p-ltrt","create-scratch","mb-14",3,"ngClass"],[1,"container-fluid"],[1,"row"],[1,"intermediate-resize-col","m-intermediate-resize","ps-0","pe-0"],["
1id","0",1,"thumbs-category-col"],["class","container-fluid ps-0 pe-0",4,"ngIf"],["class","top-float-btn align-items-center mt-13 mb-14 pt-9","id","top-float-btn",3,"ngClass",4,"ngIf"],["class","templates-wrapper-col d-flex m-hide",4,"ngIf"],["class","templates-wrapper-col d-flex",4,"ngIf"],[4,"ngIf"],[1,"container-fluid","ps-0","pe-0"],["class","home-top-banner d-flex align-items-center position-relative",3,"ngStyle",4,"ngIf"],[1,"home-top-banner","d-flex","align-items-center","position-relative",3,"ngStyle"],[1,"cover-image","home-top-banner-lg","no-select"],["alt","","src","",1,"cover-image",2,"border-radius","16px","width","auto"],[2,"width","auto",3,"srcset"],["loading","eager","fetchpriority","high",1,"responsive","border-12","float-end",2,"width","auto","max-height","360px",3,"alt","src"],[1,"d-flex","cover-inner","align-items-center","justify-content-start","p-40","h-100","w-100"],[1,"col-11","col-sm-10","col-md-10","col-lg-6","col-xl-6","pl-9","pr-9"],[1,"text-32","text-bold","text-black","lh-125","mt-0"],[1,"mt-3"],[1,"text-lg","text-black"],["id","top-float-btn",1,"top-float-btn","align-items-center","mt-13","mb-14","pt-9",3,"ngClass"],["id","floatingbtns",1,"justify-content-start",3,"selectLayout","items","selectedId"],[1,"templates-wrapper-col","d-flex","m-hide"],[1,""],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0"],[1,"text-32","text-bold","text-dark","lh-h12"],[1,"custom-size-box"],[1,"scratch-slider","row","g-0","w-100","d-flex","align-items-start","mt-36","mb-36",3,"ngClass"],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-6","col-xl-6","p-0","w-auto","me-3","me-lg-0"],[1,"d-flex","flex-column"],[1,"d-flex","align-items-end"],[1,"w-auto"],[1,"text-normal","text-semi","text-dark","lh-p4","mb-2"],["type","text","id","width","autocomplete","off","placeholder","0",1,"form-control","text-semi",3,"ngModelChange","paste","keypress","keyup","focusout","ngClass","ngModel"],["class","btn-swap ml-9 mr-9","placement","top","ngbTooltip","Swap","tooltipClass","tooltip-custom-all",3,"click",4,"ngIf"],["class","btn-swap ml-9 mr-9","disabled","",4,"ngIf"],["type","text","id","height","autocomplete","off","placeholder","0",1,"form-control","text-semi",3,"keyup","ngModelChange","paste","keypress","focusout","ngClass","ngModel"],[1,"btn-swap","ml-9","mr-9","d-none","d-lg-block","p-0",3,"click","ngClass"],["class","p-2","placement","top","ngbTooltip","Unlock","tooltipClass","tooltip-custom-all",4,"ngIf"],["class","p-2","placement","top","ngbTooltip","Lock","tooltipClass","tooltip-custom-all",4,"ngIf"],["class","select-menu custom-project-select d-block ms-3 ms-lg-0 me-0 me-lg-3","style","min-width: 90px; width: 120px;",3,"ngModel","searchable","clearable","ngModelChange","change",4,"ngIf"],["class","scratch-slider scratch-m mt-7","style","color: #B0B3BF;font-size: 16px;",4,"ngIf"],["class","scratch-slider scratch-m mt-8","style","color: #E20E33;",4,"ngIf"],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-6","col-xl-6","p-0","d-flex","align-items-center","w-auto",2,"margin-top","27px"],[1,"btn","btn-primary","btn-h48","create-btn",3,"click","disabled"],["placement","top","ngbTooltip","Swap","tooltipClass","tooltip-custom-all",1,"btn-swap","ml-9","mr-9",3,"click"],["name","leftrightarrownew",1,"f-24","align-self-center","grey-600"],["disabled","",1,"btn-swap","ml-9","mr-9"],["name","leftrightarrowDisable",1,"f-24","align-self-center"],["placement","top","ngbTooltip","Unlock","tooltipClass","tooltip-custom-all",1,"p-2"],["name","unlockIcon",1,"f-24","align-self-center"],["placement","top","ngbTooltip","Lock","tooltipClass","tooltip-custom-all",1,"p-2"],["name","lockiconnew",1,"f-24","align-self-center"],[1,"select-menu","custom-project-select","d-block","ms-3","ms-lg-0","me-0","me-lg-3",2,"min-width","90px","width","120px",3,"ngModelChange","change","ngModel","searchable","clearable"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"option-with-icon"],["name","dropdownright",1,"right-sign","hw-24","f-24"],[1,"scratch-slider","scratch-m","mt-7",2,"color","#B0B3BF","font-size","16px"],[1,"scratch-slider","scratch-m","mt-8",2,"color","#E20E33"],[1,"templates-wrapper-col","d-flex"],[4,"ngFor","ngForOf"],["class","thumbs-category-col",3,"id",4,"ngIf"],[1,"thumbs-category-col",3,"id"],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0","thumbs-item-list","align-items-end"],["class","thumbs-item",4,"ngFor","ngForOf"],[1,"thumbs-item"],[1,"thumb
1-item-frame","d-inline-flex","position-relative"],["class","position-relative",4,"ngIf"],[1,"text-center"],[1,"text-xxl","text-semi","text-dark","lh-140","mt-3"],[1,"text-lg","text-dark","lh-p3","text-center","mt-1"],[1,"position-relative"],["alt","Template Thumb",3,"src","click",4,"ngIf"],["alt","Template Thumb",3,"click","src"],[3,"href"],["alt","Template Thumb",3,"src",4,"ngIf"],["alt","Template Thumb",3,"src"],[1,"explore-bottom-col","d-flex","flex-column","border-radius-32","w-100","align-items-center","justify-content-center",3,"ngStyle"],[1,"text-24","text-dark","lh-140","text-semi","mb-0"],["class","btn btn-primary btn-h48 mt-13",3,"routerLink",4,"ngIf"],[1,"btn","btn-primary","btn-h48","mt-13",3,"routerLink"],[3,"view"]],template:function(i,n){1&i&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),t.DNE(5,V,2,1,"div",5)(6,U,2,5,"div",6)(7,Q,31,18,"div",7),t.k0s(),t.DNE(8,rt,2,1,"div",8)(9,lt,6,6,"div",8),t.k0s()()(),t.DNE(10,dt,2,1,"ng-container",9),t.k0s()),2&i&&(t.Y8G("ngClass",n.envService.isMobileView?"home-content-product":"home-content"),t.R7$(5),t.Y8G("ngIf",n.item),t.R7$(),t.Y8G("ngIf",n.isLoaded),t.R7$(),t.Y8G("ngIf",n.isLoaded),t.R7$(),t.Y8G("ngIf",n.isLoaded),t.R7$(),t.Y8G("ngIf",n.isLoaded),t.R7$(),t.Y8G("ngIf",!n.isLoaded))},dependencies:[M.YU,M.Sq,M.bT,M.B3,b.me,b.BC,b.vS,I.Wk,R.md,z.b,B.vr,B.xt,m.n,F.R],styles:["@media (max-width: 1200px){.cover-inner[_ngcontent-%COMP%]{position:relative}.home-top-banner[_ngcontent-%COMP%]{min-height:360px;height:unset!important;border-radius:16px}.home-top-banner-sm[_ngcontent-%COMP%]{display:none}}.home-top-banner[_ngcontent-%COMP%]{background-size:cover;height:360px;border-radius:16px;min-height:360px}.p-40[_ngcontent-%COMP%]{padding:40px}.intermediate-resize-col[_ngcontent-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%;scroll-behavior:smooth}.intermediate-resize-col[_ngcontent-%COMP%] .top-float-btn[_ngcontent-%COMP%]{width:100%;display:flex;flex-wrap:wrap;justify-content:center;align-self:center;top:0;position:relative;padding:12px 30px 0}.intermediate-resize-col[_ngcontent-%COMP%] .templates-wrapper-col[_ngcontent-%COMP%]{width:100%;height:auto;display:flex;flex-wrap:wrap;justify-content:flex-start;scroll-behavior:smooth;padding:0 30px}.intermediate-resize-col[_ngcontent-%COMP%] .templates-wrapper-col[_ngcontent-%COMP%] .thumbs-category-col[_ngcontent-%COMP%]{width:100%;height:auto}.intermediate-resize-col[_ngcontent-%COMP%] .templates-wrapper-col[_ngcontent-%COMP%] .thumbs-category-col[_ngcontent-%COMP%] .thumbs-item-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-top:32px;justify-content:flex-start}.intermediate-resize-col[_ngcontent-%COMP%] .templates-wrapper-col[_ngcontent-%COMP%] .thumbs-category-col[_ngcontent-%COMP%] .thumbs-item-list[_ngcontent-%COMP%] .thumbs-item[_ngcontent-%COMP%]{margin-bottom:60px;margin-right:60px;transition:all .3s ease}.intermediate-resize-col[_ngcontent-%COMP%] .templates-wrapper-col[_ngcontent-%COMP%] .thumbs-category-col[_ngcontent-%COMP%] .thumbs-item-list[_ngcontent-%COMP%] .thumbs-item[_ngcontent-%COMP%]:hover{transform:translateY(-8px);opacity:1;cursor:pointer}.intermediate-resize-col[_ngcontent-%COMP%] .templates-wrapper-col[_ngcontent-%COMP%] .thumbs-category-col[_ngcontent-%COMP%] .thumbs-item-list[_ngcontent-%COMP%] .thumbs-item[_ngcontent-%COMP%]:last-child{margin-right:0}.intermediate-resize-col[_ngcontent-%COMP%] .templates-wrapper-col[_ngcontent-%COMP%] .thumbs-category-col[_ngcontent-%COMP%] .thumbs-item-list[_ngcontent-%COMP%] .thumbs-item[_ngcontent-%COMP%] .thumb-item-frame[_ngcontent-%COMP%]{max-width:232px;max-height:280px}.intermediate-resize-col[_ngcontent-%COMP%] .templates-wrapper-col[_ngcontent-%COMP%] .thumbs-category-col[_ngcontent-%COMP%] .thumbs-item-list[_ngcontent-%COMP%] .thumbs-item[_ngcontent-%COMP%] .thumb-item-frame[_ngcontent-%COMP%] picture[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:232px;max-height:280px}.intermediate-resize-col[_ngcontent-%COMP%] .explore-bottom-col[_ngcontent-%COMP%]{min-height:203px}.form-control[_ngcontent-%COMP%]::placeholder{color:#181a20;font-size:14px;font-weight:400;opacity:1}@media (max-width: 767px){.home-top-banner[_ngcontent-%COMP%]{min-height:auto!important}.home-top-banner[_ngcontent-%COMP%] .p-40[_ngcontent-%COMP%]{padding:24px 4px}}"]}),d})()},62702:(N,T,a)=>{a.d(T,{V:()=>e});let e=(()=>{class D{}return D.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, #DBC
179F 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%)"],D})()}}]);
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.