PageSourceSearch

https://static.lightxeditor.com/web/4641.5e58c2a89f88c46b.js

js lightxeditor.com collected 2026-10-01 11:33:51 UTC 123,864 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklightx=self.webpackChunklightx||[]).push([[4641],{76696:(z,D,o)=>{o.d(D,{$:()=>s});const s=()=>Math.random().toString(36).substr(2,9)},64758:(z,D,o)=>{o.d(D,{s:()=>O});var s=o(67091),e=o(16471),i=o(27707),t=o(54438),j=o(68287),$=o(80006),I=o(6755),R=o(88704),E=o(60177),k=o(74710),C=o(77616);const M=h=>({background:h}),x=h=>[h],A=h=>({"h-100":h});function b(h,n){if(1&h&&(t.j41(0,"div",18)(1,"button",17),t.EFF(2),t.k0s()()),2&h){const a=t.XpG().$implicit;t.R7$(2),t.JRh(a.text)}}function V(h,n){if(1&h&&(t.j41(0,"div",6),t.qex(1),t.j41(2,"div",7)(3,"a",8)(4,"picture"),t.nrm(5,"source",9),t.nI1(6,"imgwebp"),t.nrm(7,"img",10),t.k0s(),t.j41(8,"div",11)(9,"h2",12),t.EFF(10),t.k0s(),t.j41(11,"p",13)(12,"span",14),t.EFF(13),t.k0s()(),t.DNE(14,b,3,1,"div",15),t.k0s(),t.j41(15,"div",16)(16,"button",17),t.EFF(17),t.k0s()()()(),t.bVm(),t.k0s()),2&h){const a=n.$implicit,r=t.XpG(2);t.R7$(2),t.Y8G("ngStyle",t.eq3(11,M,a.bgColors)),t.R7$(),t.Y8G("routerLink",t.eq3(13,x,"/photo-editing/"+a.slug)),t.R7$(2),t.FS9("srcset",t.bMT(6,9,a.url)),t.R7$(2),t.Y8G("src",a.url,t.B4B),t.R7$(),t.Y8G("ngClass",t.eq3(15,A,r.envService.isMobileView)),t.R7$(2),t.JRh(a.text),t.R7$(3),t.SpI(" ",a.textbelow," "),t.R7$(),t.Y8G("ngIf",r.envService.isMobileView),t.R7$(3),t.JRh(a.text)}}function G(h,n){if(1&h&&(t.j41(0,"div",4),t.DNE(1,V,18,17,"div",5),t.k0s()),2&h){const a=t.XpG();t.R7$(),t.Y8G("ngForOf",a.area.links)}}let O=(()=>{var h;class n{constructor(r,_,c,f){this.envService=r,this.aiUploadImageService=_,this.uploadImageService=c,this.storyImageProgress=f,this.isLoaded=!1,this.categorylist=i.PV.categoryDetail.items,this.params={from:"",toolName:"",subTool:"",editorType:""}}ngOnInit(){this.isLoaded=!0}uploadImage(r,_=null){let c=(0,s.o0)();if(this.envService.isMobileView)return"iOS"===c.os||"Mac OS"==c.os?window.location.href="https://apps.apple.com/us/app/lightx-ai-photo-editor-retouch/id1400740705?platform=iphone":"Android OS"===c.os&&(window.location.href="https://play.google.com/store/apps/details?id=com.lightx&hl=en"),!1;_&&(this.uploadImageService.storyMetaData={},_.id&&(this.uploadImageService.storyMetaData={storyAttr:"id="+_.id}),this.params.toolName=_?.tab||"",this.params.tab=_?.tab||"",this.params.editorType=_?.type||"",this.params.subTool=_?.subTool||"",this.params.storyProgressController=this.storyImageProgress),r&&r.click()}onFileUploaded(r){if(!r.length)return;const _=r[0];this.params.editorType==e._Y.AIPhoto?this.aiUploadImageService.aiUploadImage(_,this.params).then(c=>{}):this.params.editorType==e._Y.Photo&&this.loadInputImage(_)}loadInputImage(r){const c={imageUrl:URL.createObjectURL(r),tabName:this.params.tab,editorType:this.params.type,subTool:this.params.subTool,storyProgressController:this.storyImageProgress};this.uploadImageService.loadInputImage(c,()=>{})}}return(h=n).\u0275fac=function(r){return new(r||h)(t.rXU(j.L),t.rXU($.M),t.rXU(I.A),t.rXU(R.l))},h.\u0275cmp=t.VBU({type:h,selectors:[["ai-all-tools"]],inputs:{area:"area",slug:"slug"},decls:6,vars:2,consts:[[1,"area-inner","mx-auto","toolInfo","p-top-bottom"],[1,"text-bold","text-center",3,"ngClass"],[1,"text-lg","mt-3","text-center","p-0","ps-lg-5","pe-lg-5"],["class","row g-0 justify-content-center mt-13",4,"ngIf"],[1,"row","g-0","justify-content-center","mt-13"],["class","col-xl-4 col-lg-4 ps-lg-4 pe-lg-4 mb-32 short
1-des pointer","style","max-width: 350px;",4,"ngFor","ngForOf"],[1,"col-xl-4","col-lg-4","ps-lg-4","pe-lg-4","mb-32","short-des","pointer",2,"max-width","350px"],[1,"toolinner","text-start","w-100","h-100","d-block","border-radius-24","overflow-hidden","position-relative",3,"ngStyle"],[1,"pointer","d-block",3,"routerLink"],["width","300px","height","300px","type","image/webp",3,"srcset"],["onerror","errImage(this)","width","300px","height","300px","alt","","loading","lazy",1,"responsive",2,"border-top-left-radius","23px","border-top-right-radius","23px",3,"src"],[1,"content",3,"ngClass"],[1,"text-xxl","text-semi","ps-3","pe-3","pt-3","grey-800","lh-140"],[1,"p-3","pt-0","text-14","grey-800","lh-160"],[1,"text-truncate","text-wrap-balance"],["class","ps-3 pb-3",4,"ngIf"],[1,"button","text-center"],[1,"btn","btn-primary","btn-h48","border-radius-24"],[1,"ps-3","pb-3"]],template:function(r,_){1&r&&(t.j41(0,"div",0)(1,"div",1),t.EFF(2,"Journey through the Realm of AI Wonders!"),t.k0s(),t.j41(3,"div",2),t.EFF(4,"Fast, Instant, Cost-Efficient: An image to image AI Powerhouse With Unmatched Accuracy, Efficiency, And An Array Of Cutting-Edge Features!"),t.k0s(),t.DNE(5,G,2,1,"div",3),t.k0s()),2&r&&(t.R7$(),t.Y8G("ngClass",_.envService.isMobileView?"text-28 lh-35":"text-32 lh-h12"),t.R7$(4),t.Y8G("ngIf",_.isLoaded))},dependencies:[E.YU,E.Sq,E.bT,E.B3,k.Wk,C.m],styles:[".text-wrap-balance[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal}"]}),n})()},13868:(z,D,o)=>{o.d(D,{S:()=>a});var s=o(67091),e=o(27707),i=o(54438),t=o(80006),j=o(68287),$=o(60177),I=o(84341),R=o(89818);const E=r=>({background:r}),k=(r,_)=>({"area-inner":r,"p-0":_}),C=r=>({"mb-13":r}),M=r=>({active:r});function x(r,_){if(1&r&&(i.j41(0,"ng-option",11)(1,"div",12),i.EFF(2),i.k0s()()),2&r){const c=_.$implicit;i.Y8G("value",c),i.R7$(2),i.SpI(" ",c.text," ")}}function A(r,_){if(1&r){const c=i.RV6();i.j41(0,"div",8)(1,"ng-select",9,0),i.mxI("ngModelChange",function(u){i.eBV(c);const F=i.XpG();return i.DH7(F.selectedProduct,u)||(F.selectedProduct=u),i.Njj(u)}),i.bIt("change",function(u){i.eBV(c);const F=i.XpG();return i.Njj(F.onSlide(F.activeId,u))}),i.DNE(3,x,3,2,"ng-option",10),i.k0s()()}if(2&r){const c=i.XpG();i.R7$(),i.R50("ngModel",c.selectedProduct),i.Y8G("searchable",!1)("clearable",!1),i.R7$(2),i.Y8G("ngForOf",c.area.links)}}function b(r,_){if(1&r){const c=i.RV6();i.j41(0,"li",16)(1,"a",17),i.bIt("click",function(){const u=i.eBV(c),F=u.$implicit,L=u.index,K=i.XpG(2);return i.Njj(K.onSlide(L,F))}),i.EFF(2),i.k0s()()}if(2&r){const c=_.$implicit,f=_.index,u=i.XpG(2);i.Y8G("ngClass",i.eq3(2,M,f==u.activeId)),i.R7$(2),i.JRh(c.text)}}function V(r,_){if(1&r&&(i.j41(0,"div",13)(1,"ul",14),i.DNE(2,b,3,4,"li",15),i.k0s()()),2&r){const c=i.XpG();i.Y8G("ngClass",i.eq3(2,C,!(c.area.metadata&&1==c.area.metadata.variant))),i.R7$(2),i.Y8G("ngForOf",c.area.links)}}function G(r,_){if(1&r){const c=i.RV6();i.j41(0,"div",20),i.nrm(1,"img",21),i.j41(2,"div",22)(3,"div",23),i.EFF(4),i.k0s(),i.j41(5,"button",24),i.bIt("click",function(){const u=i.eBV(c).$implicit,F=i.XpG(2);return i.Njj(F.generatePrompt(u.text))}),i.EFF(6),i.k0s()()()}if(2&r){const c=_.$implicit;i.R7$(),i.Y8G("alt",c.altText)("src",c.url,i.B4B),i.R7$(3),i.JRh(c.text),i.R7$(2),i.JRh(null==c?null:c.clickImage)}}function O(r,_){if(1&r&&(i.j41(0,"div",18),i.DNE(1,G,7,4,"div",19),i.k0s()),2&r){const c=i.XpG();i.R7$(),i.Y8G("ngForOf",null==c.selectedProduct?null:c.selectedProduct.images)}}function h(r,_){if(1&r){const c=i.RV6();i.j41(0,"div",27),i.nrm(1,"img",21),i.j41(2,"div",28)(3,"div",29),i.EFF(4),i.k0s(),i.j41(5,"button",30),i.bIt("click",function(){const u=i.eBV(c).$implicit,F=i.XpG(2);return i.Njj(F.generatePrompt(u.text))}),i.EFF(6),i.k0s()()()}if(2&r){const c=_.$implicit;i.R7$(),i.Y8G("alt",c.altText)("src",c.url,i.B4B),i.R7$(3),i.JRh(c.text),i.R7$(2),i.JRh(null==c?null:c.clickImage)}}function n(r,_){if(1&r&&(i.j41(0,"div",25),i.DNE(1,h,7,4,"div",26),i.k0s()),2&r){const c=i.XpG();i.R7$(),i.Y8G("ngForOf",null==c.selectedProduct?null:c.selectedProduct.images)}}let a=(()=>{var r;class _{constructor(f,u){this.aiUploadImageService=f,this.env=u,this.imgUrl="",this.altText="",this.activeId=0,this.tools=e.Ed.ProductShowcaseAnimatedBanner.nav.items,this.tabcount=new Array(Math.ceil(this.tools.length/2))}ngOnInit(){this.selectedProduct=this.area.links&&this.area.links.length>0?this.area.links[0]:{images:this.area.images},this.params=this.buildParams()}onSlide(f,u){this.activeId=f,this.selectedProduct=u,this.params._sId=this.selectedProduct?.text}generatePrompt(f){let u=(0,s.o0)();if(this.env.isMobileView&&this.env.isiOS)return"iOS"===u.os||"Mac OS"==u.os?window.location.href="https://apps.apple.com/us/app/lightx-ai-photo-editor-retouch/id1400740705?platform=iphone&ppid=6522dc67-da0b-440d-9337-e1522adab0ee":"Android OS"===u.os&&(window.location.href="https://play.google.com/store/apps/details?id=com.lightx&hl=en"),!1;this.params=this.buildParams(f),this.aiUploadImageService.loadInputTextToAiEditor(this.params)}buildParams(f=""){return{from:this.slug,textPrompt:f,_sId:this._s
1Id||this.selectedProduct?.text||"",tab:this.tab||this.area?.metadata?.tab,toolName:this.toolName||this.area?.metadata?.toolName,subTool:this.subTool||this.area?.metadata?.subTool}}}return(r=_).\u0275fac=function(f){return new(f||r)(i.rXU(t.M),i.rXU(j.L))},r.\u0275cmp=i.VBU({type:r,selectors:[["ai-animated-banner-area"]],inputs:{area:"area",slug:"slug",tab:"tab",toolName:"toolName",subTool:"subTool",_sId:"_sId"},decls:8,vars:15,consts:[["ngSelect",""],[1,"mx-auto","p-top-bottom",3,"ngStyle","ngClass"],[1,"text-dark","text-bold","text-center",3,"ngClass"],[1,"position-relative","animatedBannerArea","ng-select-drop",3,"ngClass"],["class","mobile-div-show mb-13 tags-listing-col ps-3 pe-3 bg-transparent w-100",4,"ngIf"],["class","tab-div-show mb-4",3,"ngClass",4,"ngIf"],["class","d-flex","style","column-gap: 24px;overflow: auto",4,"ngIf"],["class","d-flex overflow-auto ps-3 pe-3","style","column-gap: 24px;overflow: auto",4,"ngIf"],[1,"mobile-div-show","mb-13","tags-listing-col","ps-3","pe-3","bg-transparent","w-100"],[1,"w-100","c-ng-select",3,"ngModelChange","change","ngModel","searchable","clearable"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"option-with-icon"],[1,"tab-div-show","mb-4",3,"ngClass"],[1,"list-unstyled","carousel-indicators-btn","p-1","pe-0"],["class","p-0 pointer me-2 d-flex align-items-center text-semi",3,"ngClass",4,"ngFor","ngForOf"],[1,"p-0","pointer","me-2","d-flex","align-items-center","text-semi",3,"ngClass"],["data-toggle","tab",1,"d-flex","align-items-center","justify-content-center","w-100","h-100","pl-12","pr-12",3,"click"],[1,"d-flex",2,"column-gap","24px","overflow","auto"],["class","imageNormal position-relative",4,"ngFor","ngForOf"],[1,"imageNormal","position-relative"],["loading","lazy","width","266px","height","266px",1,"responsive","mx-auto",2,"width","266px","height","266px",3,"alt","src"],[1,"imageContent","position-absolute","bottom-0","p-3","w-100"],[1,"text-13","grey-100"],[1,"btn","btn-white","text-dark","w-100","btn-h48","mt-3",3,"click"],[1,"d-flex","overflow-auto","ps-3","pe-3",2,"column-gap","24px","overflow","auto"],["class","imageNormalMobile",4,"ngFor","ngForOf"],[1,"imageNormalMobile"],[1,"contentBox","position-relative","p-3"],[1,"text-normal","grey-600"],[1,"btn","btn-primary","text-dark","btn-h48","w-50","mt-3",3,"click"]],template:function(f,u){1&f&&(i.j41(0,"div",1)(1,"h2",2),i.EFF(2),i.k0s(),i.j41(3,"div",3),i.DNE(4,A,4,4,"div",4)(5,V,3,4,"div",5)(6,O,2,1,"div",6)(7,n,2,1,"div",7),i.k0s()()),2&f&&(i.Y8G("ngStyle",i.eq3(10,E,u.area.bgColors))("ngClass",i.l_i(12,k,!(u.area.metadata&&1==u.area.metadata.variant),u.env.isMobileView)),i.R7$(),i.Y8G("ngClass",u.env.isMobileView?"text-28 lh-35":"text-32 lh-h12"),i.R7$(),i.Lme("",u.area.title,"",u.isLoaded,""),i.R7$(),i.Y8G("ngClass",u.env.isMobileView?"pt-13":"pt-14"),i.R7$(),i.Y8G("ngIf",null==u.area||null==u.area.links?null:u.area.links.length),i.R7$(),i.Y8G("ngIf",null==u.area?null:u.area.links),i.R7$(),i.Y8G("ngIf",!u.env.isMobileView),i.R7$(),i.Y8G("ngIf",u.env.isMobileView))},dependencies:[$.YU,$.Sq,$.bT,$.B3,I.BC,I.vS,R.vr,R.xt],styles:["@media (max-width: 1081px){.mobile-div-show[_ngcontent-%COMP%]{display:inline-flex;flex-direction:row;flex-wrap:wrap;justify-content:center}.tab-div-show[_ngcontent-%COMP%]{display:none}}@media (min-width: 1082px){.mobile-div-show[_ngcontent-%COMP%]{display:none}.tab-div-show[_ngcontent-%COMP%]{display:block}}img[_ngcontent-%COMP%]{border-radius:24px;background:#d3d3d3 0px -3.097px/100% 138.462% no-repeat;cursor:pointer}.imageNormal[_ngcontent-%COMP%]   .imageContent[_ngcontent-%COMP%]{display:none}.imageNormal[_ngcontent-%COMP%]:hover   .imageContent[_ngcontent-%COMP%]{background:#000000b3;height:100%;display:flex;flex-direction:column;justify-content:end;border-radius:24px;cursor:pointer}.blankImgDiv[_ngcontent-%COMP%]{width:274px;height:274px;background:#b0b3bf;border-radius:24px}.imageNormalMobile[_ngcontent-%COMP%]{background:#fff;border-radius:24px;width:266px}.imageNormalMobile[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:24px 24px 0 0}.imageNormalMobile[_ngcontent-%COMP%]   .contentBox[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:column;justify-content:space-between;
1height:calc(100% - 266px)}[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}"]}),_})()},73730:(z,D,o)=>{o.d(D,{S:()=>W});var s=o(16478),e=o(16471),i=o(68465),t=o(54438),j=o(68287),$=o(94223),I=o(62261),R=o(80006),E=o(60177),k=o(84341),C=o(74710),M=o(68064),x=o(36561),A=o(30586);const b=["cpText"],V=m=>({background:m}),G=m=>({"mx-auto w-100 ps-3":m}),O=m=>[m],h=m=>({"bottom-upload":m}),n=(m,y,l)=>({"info-up":m,"info-blue":y,"info-red":l}),a=(m,y)=>({invalid:m,"border-active":y}),r=m=>({"d-none":m});function _(m,y){if(1&m&&(t.nrm(0,"pi",6),t.j41(1,"a",4),t.EFF(2),t.k0s()),2&m){const l=t.XpG(2);t.R7$(),t.Y8G("routerLink","/"+l.parentPageUrl),t.R7$(),t.JRh(l.displayEditorType)}}function c(m,y){1&m&&t.DNE(0,_,3,2,"ng-template")}function f(m,y){if(1&m){const l=t.RV6();t.j41(0,"div",23)(1,"div",24)(2,"button",25),t.bIt("click",function(){t.eBV(l);const p=t.XpG(2);return t.Njj(p.focusIn())}),t.EFF(3,"Generate AI Image Now"),t.k0s()()()}if(2&m){const l=t.XpG(2);t.Y8G("ngClass",t.eq3(1,h,null==l.params?null:l.params.stripText))}}function u(m,y){if(1&m){const l=t.RV6();t.j41(0,"div",23)(1,"div",24)(2,"button",26),t.bIt("click",function(){t.eBV(l);const p=t.XpG(2);return t.Njj(p.focusIn())}),t.EFF(3),t.k0s()()()}if(2&m){const l=t.XpG(2);t.Y8G("ngClass",t.eq3(2,h,null==l.area.metadata?null:l.area.metadata.isStripEnable)),t.R7$(3),t.JRh(null==l.area||null==l.area.links[0]?null:l.area.links[0].text)}}function F(m,y){if(1&m&&(t.j41(0,"span",43),t.EFF(1),t.k0s()),2&m){const l=t.XpG(3);t.R7$(),t.Lme("",l.customPrompt.length,"/",l.maxlength,"")}}function L(m,y){if(1&m){const l=t.RV6();t.j41(0,"div",27)(1,"div",28)(2,"div",29),t.EFF(3," Enter Prompt "),t.k0s(),t.j41(4,"div")(5,"pi",30),t.bIt("click",function(){t.eBV(l);const p=t.XpG(2);return t.Njj(p.focusOut())}),t.k0s()()(),t.j41(6,"div",31)(7,"div",32)(8,"div",33)(9,"div",34)(10,"div",35)(11,"textarea",36,1),t.bIt("keyup",function(){t.eBV(l);const p=t.XpG(2);return t.Njj(p.changePrompt())})("paste",function(p){t.eBV(l);const T=t.XpG(2);return t.Njj(T.onPaste(p))}),t.mxI("ngModelChange",function(p){t.eBV(l);const T=t.XpG(2);return t.DH7(T.customPrompt,p)||(T.customPrompt=p),t.Njj(p)}),t.bIt("keydown.enter",function(p){t.eBV(l);const T=t.XpG(2);return t.Njj(T.onEnter(p))}),t.k0s(),t.DNE(13,F,2,2,"span",37),t.k0s()()()()(),t.j41(14,"div",38)(15,"buttons-scroll-menu",39),t.bIt("selectLayout",function(p){t.eBV(l);const T=t.XpG(2);return t.Njj(T.selectPrompt(p))}),t.k0s()(),t.j41(16,"div",40)(17,"button",41),t.bIt("click",function(){t.eBV(l);const p=t.XpG(2);return t.Njj(p.generate())}),t.j41(18,"span",42),t.EFF(19,"Generate Now"),t.k0s()()()()}if(2&m){const l=t.XpG(2);t.R7$(10),t.Y8G("ngClass",t.sMw(9,n,l.customPrompt.length,l.isFocused,l.customPrompt.length>l.maxlength-1)),t.R7$(),t.AVh("blue-active",l.isFocused),t.Y8G("maxlength",l.maxlength),t.R50("ngModel",l.customPrompt),t.R7$(2),t.Y8G("ngIf",l.customPrompt.length),t.R7$(2),t.Y8G("items",l.prompts)("type","prompt-mobile"),t.R7$(2),t.Y8G("disabled",l.disabled)}}function K(m,y){if(1&m){const l=t.RV6();t.j41(0,"div",44),t.bIt("click",function(){t.eBV(l);const p=t.XpG(2);return t.Njj(p.focusOut())}),t.k0s()}}function N(m,y){if(1&m){const l=t.RV6();t.qex(0,17),t.j41(1,"div",18),t.bIt("click",function(){t.eBV(l);const p=t.XpG();return t.Njj(p.focusIn())}),t.EFF(2),t.k0s(),t.j41(3,"div",19,0),t.bIt("obsChange",function(p){t.eBV(l);const T=t.XpG();return t.Njj(T.onChangeVisibility(p))}),t.k0s(),t.DNE(5,f,4,3,"div",20)(6,u,4,4,"div",20)(7,L,20,13,"div",21)(8,K,1,0,"div",22),t.bVm()}if(2&m){const l=t.sdS(4),d=t.XpG();t.R7$(2),t.SpI(" ",d.customPrompt?d.customPrompt:"Enter prompt to generate AI image"," "),t.R7$(),t.Y8G("obsIntersectTarget",l),t.R7$(2),t.Y8G("ngIf",!(null!=d.area.metadata&&d.area.metadata.isStripEnable)),t.R7$(),t.Y8G("ngIf",null==d.area.metadata?null:d.area.metadata.isStripEnable),t.R7$(),t.Y8G("ngIf",d.isFocused),t.R7$(),t.Y8G("ngIf",d.isFocused)}}function X(m,y){if(1&m){const l=t.RV6();t.qex(0),t.j41(1,"div",45)(2,"button",46),t.bIt("click",function(){t.eBV(l);const p=t.XpG();return t.Njj(p.generatePrompt())}),t.EFF(3),t.k0s()(),t.bVm()}if(2&m){const l=t.XpG();t.R7$(3),t.JRh(null==l.area||null==l.area.links[0]?null:l.area.links[0].text)}}function H(m,y){if(1&m){const l=t.RV6();t.qex(0),t.j41(1,"div",19,0),t.bIt("obsChange",function(p){t.eBV(l);const T=t.XpG();return t.Njj(T.onChangeVisibility(p))}),t.k0s(),t.j41(3,"div",23)(4,"div",47)(5,"div",48)(6,"input",49),t.bIt("keyup.enter",function(){t.eBV(l);const p=t.XpG();return t.Njj(p.generatePrompt())}),t.mxI("ngModelChange",function(p){t.eBV(l);const T=t.XpG();return t.DH7(T.customPrompt,p)||(T.customPrompt=p),t.Njj(p)}),t.k0s(),t.j41(7,"div",50)(8,"span",51),t.EFF(9),t.k0s()()(),t.j41(10,"div",52)(11,"button",46),t.bIt("click",function(){t.eBV(l);const p=t.XpG();return t.Njj(p.generatePrompt())}),t.EFF(12),t.k0s()()()(),t.bVm()}if(2&m){const l=t.sdS(2),d=t.XpG();t.R7$(),t.Y8G("obsIntersectTarget",l),t.R7$(2),t.Y8G("ngClass",t.eq3(11,h,null==d.area.metadata?null:d.area.metadata.isStripEnable)),t.R7$(3),t.Y8G("maxlength",d.maxlength),t.R50("ngModel",d.customPrompt),t.Y8G("placeholder",d.area.metadata.placeholder)("ngClass",t.l_i(13,a,d.customPrompt.length>d.maxlength-1,d.customPrompt.length>0)),t.R7$(),t.Y8G("ngClass",t.eq3(16,r,d.customPrompt.length<d.maxlength-1)),t.R7$(),t.Y8G("ngClass",d.customPrompt.length>449?"text-red":"grey-300"),t.R7$(),t.Lme("",d.customPrompt.length,"/",d.maxlength,""),t.R7$(3),t.JRh(null==d.area||null==d.area.links[0]?null:d.area.links[0].text)}}function S(m,y){if(1&m&&t.nrm(0,"img",55),2&m){const l=t.XpG(2);t.Y8G("alt",l.getAltText(l.area))("src",l.getImgUrl(l.area),t.B4B)}}function J(m,y){if(1&m&&(t.qex(0),t.j41(1,"video",56),t.nrm(2,"source",57)(3,"source",58),t.k0s(),t.bVm()),2&m){const l=t.XpG(2);t.R7$(),t.Y8G("muted","muted"),t.R7$(),t.Y8G("src",l.getVideoUrl(l.area,"mp4"),t.B4B),t.R7$(),t.Y8G("src",l.getVideoUrl(l.area,"webm"),t.B4B)}}function Z(m,y){if(1&m&&(t.j41(0,"div",53),t.DNE(1,S,1,2,"img",54)(2,J,4,3,"ng-container",5),t.k0s()),2&m){const l=t.XpG();t.R7$(),t.Y8G("ngIf",!l.isVideo),t.R7$(),t.Y8G("ngIf",l.isVideo)}}let W=(()=>{var m;class y{constructor(d,p,T,Q){this.env=d,this.aiPhotoService=p,this.mediaContentService=T,this.aiUploadImageService=Q,this.homeURL="/",this.displayName="",this.type="",this.value="",this.maxlength=2e3,this.customPrompt="",this.editorType=e._Y.AIPhoto,this.params={},this.storyPageUrl="/"+s.b.photoEditor.urlPart+s.b.slug.aiAvatarGenerator,this.isVideo=!1,this.prompts=[],this.isFocused=!1,this.disabled=!1,this.parentPageUrl=""}ngOnInit(){this.area&&this.area?.metadata&&(this.params=Object.assign(this.params,this.area.metadata),this.params.from=this.slug,this.params.editorType=this.editorType,this.toolName=this.params?.toolName,(this.toolName==e.Fs.Avatar||this.toolName==e.Fs.Portrait)&&(this.maxlength=450)),this.isVideo=this.checkIsVideo(this.area&&this.area.images&&this.area.images[0]?this.area.images[0].url:""),"ai-video-generator"==this.type?this.parentPageUrl="":(this.editorType=e._Y.AIPhoto)&&(this.displayEditorType="AI Editor",this.parentPageUrl="ai-photo-editor"),this.getPrompts()}getAltText(d){return d&&d.images&&d.images[0]?d.images[0].altText:""}getImgUrl(d){return d&&d.images&&d.images[0]?d.images[0].url:d.img1}getVideoUrl(d,p){if("mp4"==p){const T=d&&d.images&&d.images[0]?d.images[0].url:d.img1;return T&&T.replace("webm","mp4")}return d&&d.images&&d.images[0]?d.images[0].url:d.img1}generatePrompt(){if(this.env.isMobileView)return this.env.openPlayStoreUrl(),!1;this.params.textPrompt=this.customPrompt,this.customPrompt&&this.customPrompt.trim().length>1&&this.aiUploadImageService.loadInputTextToAiEditor(this.params)}onChangeVisibility(d){let p=document.querySelector(".bottom-upload");p&&(p.classList.contains("d-none")&&p.classList.remove("d-none"),d.visible&&scrollY>=360?p.classList.contains("fixed-upload-btn")||p.classList.add("fixed-upload-btn","for-mobile-upload"):p.classList.contains("fixed-upload-btn")&&p.classList.remove("fixed-upload-btn","for-mobile-upload"))}checkIsVideo(d){const p=d&&d.split(".").pop().split(/\#|\?/)[0];return"mp4"==p||"webm"==p}generate(){this.env.isMobileView&&this.params?.toolName&&(this.params.tab=this.params?.toolName),this.params.textPrompt=this.customPrompt,this.aiUploadImageService.loadInputTextToAiEditor(this.params)}getPrompts(d=null){this.mediaContentService.getPrompts(i.Jl.TextToImage,p=>{p&&(this.prompts=p.prompts),d&&d()},p=>{})}focusIn(){this.changePrompt(),document.body.classList.add("overflow-hidden"),this.isFocused=!0,setTimeout(()=>{this.cpText&&this.cpText.nativeElement.focus()},100)}focusOut(){document.body.classList.remove("overflow-hidden"),this.isFocused=!1}selectPrompt(d){this.customPrompt=d.prompt,this.changePrompt()}changePrompt(){this.disabled=!this.customPrompt.trim()}onEnter(d){this.cpText.nativeElement.blur()}
1onPaste(d){setTimeout(()=>{this.aiPhotoService.textPrompt=d.target.value,this.changePrompt()},100)}}return(m=y).\u0275fac=function(d){return new(d||m)(t.rXU(j.L),t.rXU($.s),t.rXU(I.Z),t.rXU(R.M))},m.\u0275cmp=t.VBU({type:m,selectors:[["ai-banner-header-v1"]],viewQuery:function(d,p){if(1&d&&t.GBs(b,5),2&d){let T;t.mGM(T=t.lsd())&&(p.cpText=T.first)}},inputs:{displayName:"displayName",type:"type",area:"area",slug:"slug",editorType:"editorType"},decls:21,vars:21,consts:[["nameuplod",""],["cpText",""],[1,"topBanner","d-flex","align-items-center","position-relative","pb-3","pb-lg-0",2,"background-size","cover","background-position","center","min-height","600px",3,"ngStyle"],[1,"lightThemeBreadcrumb","text-14","ml-40","position-absolute",2,"top","24px",3,"ngClass"],[3,"routerLink"],[4,"ngIf"],["name","lightbreadcrumbarrow",1,"ms-1","me-1"],[1,"text-white"],[1,"row","g-0","pt-0","overflow-hidden","w-100","justify-content-center","area-inner","mx-auto","p-0"],[1,"col-lg-7","col-xl-7","d-flex","align-items-center","ps-3","pe-3",3,"ngClass"],[1,"aiBannerHeader","herobanner-text",2,"max-width","754px",3,"ngClass"],[1,"mt-1","mt-lg-0"],[1,"text-white","pt-4","pt-lg-0","text-48","lh-125"],[1,"mt-9","mb-10"],[1,"text-xxl","lh-160","text-white","text-semi"],["class","",4,"ngIf"],["class","col-lg-5 col-xl-5 p-0  d-flex justify-content-center",4,"ngIf"],[1,""],[1,"d-flex","align-items-start","justify-content-start","mobile-prompt-text","border-radius-12","text-12","grey-500","text-regular","mt-1","mb-10","overflow-hidden",3,"click"],["observeVisibility","",3,"obsChange","obsIntersectTarget"],["class","upload-btn",3,"ngClass",4,"ngIf"],["class","p-3 pt-9 pb-9 position-fixed bg-white w-100","style","bottom: 0px; z-index: 99999;border-radius: 20px 20px 0px 0px;left: 0px;",4,"ngIf"],["class","showpreview-overlay align-items-center justify-content-start position-fixed d-flex w-100 h-100","style","left: 0px; z-index: 9999;",3,"click",4,"ngIf"],[1,"upload-btn",3,"ngClass"],[1,"d-flex","justify-content-center"],[1,"btn","btn-primary","d-flex","align-items-center","justify-content-center","btn-h48","pe-4","ps-4","btnGenerate","btn-primary-m",2,"border","1px solid #FFF","min-width","228px",3,"click"],[1,"btn","btn-primary","d-flex","align-items-center","btn-h48","pe-4","ps-4","btnGenerate",2,"border","1px solid #FFF",3,"click"],[1,"p-3","pt-9","pb-9","position-fixed","bg-white","w-100",2,"bottom","0px","z-index","99999","border-radius","20px 20px 0px 0px","left","0px"],[1,"wp-100","d-flex","align-items-center","justify-content-between"],[1,"text-lg","text-semi","grey-800"],["name","previewclose",3,"click"],[1,"card","drawer-card","mt-3","mb-0"],[1,"card-body"],[1,"btn-panel"],[1,"card-body","prompt-view"],[1,"textarea-col",3,"ngClass"],["id","cprompt","name","cprompt","rows","4","cols","50",1,"prompt-text",3,"keyup","paste","ngModelChange","keydown.enter","maxlength","ngModel"],["class","prompt-info text-regular position-relative d-flex align-items-center h-24",4,"ngIf"],[1,"d-flex","mt-3","mobile-prompt"],[2,"max-width","-webkit-fill-available",3,"selectLayout","items","type"],[1,"d-flex","align-items-center","justify-content-center","w-100","mt-3"],["id","btn-generate",1,"btn","btn-primary-gradient","btn-primary-m","text-13","btn-h44","w-100","d-flex","align-items-center","justify-content-center",3,"click","disabled"],[1,"text-lg"],[1,"prompt-info","text-regular","position-relative","d-flex","align-items-center","h-24"],[1,"showpreview-overlay","align-items-center","justify-content-start","position-fixed","d-flex","w-100","h-100",2,"left","0px","z-index","9999",3,"click"],[1,"top-0","right-0","p-2","d-flex","align-items-center","justify-content-center"],[1,"btn","btn-primary","d-flex","align-items-center","btn-h48","pe-3","ps-3","btnGenerate",3,"click"],[1,"position-relative","inputSearch"],[1,"form-group","position-relative"],["type","search","aria-describedby","search",1,"form-control",2,"height","64px",3,"keyup.enter","ngModelChange","maxlength","ngModel","placeholder","ngClass"],[1,"position-absolute","top-0","h-100","d-flex","align-items-center",2,"right","124px","width","60px",3,"ngClass"],[1,"counter","text-11","ps-3",3,"ngClass"],[1,"position-absolute","top-0","right-0","p-2"],[1,"col-lg-5","col-xl-5","p-0","d-flex","justify-content-center"],["loading","eager","fetchpriority","high","class","responsive","height","600px","width","600px",3,"alt","src",4,"ngIf"],["loading","eager","fetchpriority","high","height","600px","width","600px",1,"responsive",3,"alt","src"],["width","100%","height","100%","autoplay","","loop","","playsinline","",1,"video-box","p-0","border-radius-24",2,"max-width","520px","max-height","520px",3,"muted"],["type","video/mp4",3,"src"],["type","video/webm",3,"src"]],template:function(d,p){1&d&&(t.j41(0,"div",2)(1,"div",3)(2,"a",4),t.EFF(3,"Home"),t.k0s(),t.DNE(4,c,1,0,null,5),t.nrm(5,"pi",6),t.j41(6,"span",7),t.EFF(7),t.k0s()(),t.j41(8,"div",8)(9,"div",9)(10,"div",10)(11,"div",11)(12,"h1",12),t.EFF(13),t.k0s()(),t.j41(14,"div",13)(15,"p",14),t.EFF(16),t.k0s()(),t.DNE(17,N,9,6,"ng-container",15)(18,X,4,1,"ng-container",5)(19,H,
113,18,"ng-container",5),t.k0s()(),t.DNE(20,Z,3,2,"div",16),t.k0s()()),2&d&&(t.xc7("background-image","url("+p.area.bgColors+")"),t.Y8G("ngStyle",t.eq3(15,V,p.area.bgColors)),t.R7$(),t.Y8G("ngClass",t.eq3(17,G,p.env.isMobileView)),t.R7$(),t.Y8G("routerLink",t.eq3(19,O,p.homeURL)),t.R7$(2),t.Y8G("ngIf",p.parentPageUrl),t.R7$(3),t.JRh(p.displayName),t.R7$(2),t.Y8G("ngClass",p.area.img1&&!p.env.isMobileView?"justify-content-start pl-14":"justify-content-center p-0"),t.R7$(),t.Y8G("ngClass",p.area.img1?"text-left":"text-center"),t.R7$(3),t.JRh(p.area.title),t.R7$(3),t.SpI("",p.area.desc1," "),t.R7$(),t.Y8G("ngIf",p.env.isMobileView&&!p.env.isiOS&&("text2image"===p.toolName||"text2video"===p.toolName)),t.R7$(),t.Y8G("ngIf",p.env.isMobileView&&"text2image"!=p.toolName&&"text2video"!=p.toolName||p.env.isMobileView&&p.env.isiOS),t.R7$(),t.Y8G("ngIf",!p.env.isMobileView),t.R7$(),t.Y8G("ngIf","ai-banner-header-v2"==p.area.type&&!p.env.isMobileView))},dependencies:[E.YU,E.bT,E.B3,k.me,k.BC,k.tU,k.vS,C.Wk,M.b,x.B,A.w],styles:['.btnAiBanner[_ngcontent-%COMP%]{background:#ffffff40;height:48px;font-size:16px;color:#fff!important;border-radius:12px}.btnAiBanner[_ngcontent-%COMP%]:hover{background:#ffffff59}.fixed-upload-btn[_ngcontent-%COMP%]{justify-content:center}.fixed-upload-btn[_ngcontent-%COMP%]   .btn-none[_ngcontent-%COMP%]{display:none}.gradientHeading[_ngcontent-%COMP%]{background:linear-gradient(90deg,#bc9bff 16.37%,#ffe7ab 78.43%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}@media (max-width: 576px){.upload-btn[_ngcontent-%COMP%]{justify-content:center}.upload-btn[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:0!important}}.fixed-upload-btn[_ngcontent-%COMP%]{padding:5px}.fixed-upload-btn[_ngcontent-%COMP%]   .inputSearch[_ngcontent-%COMP%]{width:40%;margin:auto}.fixed-upload-btn[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:56px!important}h1[_ngcontent-%COMP%]{line-height:125%}.showpreview-overlay[_ngcontent-%COMP%]{display:none;background:#0003;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);top:0;bottom:0;z-index:999}.mobile-prompt-text[_ngcontent-%COMP%]{border:1px solid #DCDBE6;background:linear-gradient(0deg,#626adf1a 0% 100%),#fff;padding:8px 12px;height:110px;text-align:left}.for-mobile-upload[_ngcontent-%COMP%]   .btnGenerate[_ngcontent-%COMP%]{display:flex;align-items:center;background:linear-gradient(90deg,#fc5cff -4%,#2520f6);color:#fff!important;border:0px!important}.prompt-view[_ngcontent-%COMP%]   .textarea-col[_ngcontent-%COMP%]{width:100%;height:188px;border-radius:12px;border:1px solid #E2E3E9;background:#eeedf3;padding:4px;border:0px!important}.prompt-view[_ngcontent-%COMP%]   .textarea-col[_ngcontent-%COMP%]:hover{border:1px solid #B0B3BF}.prompt-view[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{resize:none;outline:none;width:100%;height:148px;padding:8px;font-size:13px;color:#b0b3bf;border:0px;background:transparent;border-radius:12px;line-height:18px;overflow:auto;position:relative;z-index:2;line-height:125%}.prompt-view[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px;height:4px;border-radius:12px}.prompt-view[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#e3e3e3;border-radius:12px;margin-top:8px}.prompt-view[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#9a9a9a;border-radius:12px}.prompt-view[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#555}.prompt-view[_ngcontent-%COMP%]   .prompt-info[_ngcontent-%COMP%]{font-size:11px;color:#b0b3bf;margin-top:0;padding-left:8px;line-height:140%}.info-up[_ngcontent-%COMP%]{border:1px solid #B0B3BF!important;background:#eeedf3!important}.info-blue[_ngcontent-%COMP%]{background:linear-gradient(90deg,#fc5cff0d -4%,#2520f60d)!important}.info-blue[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:12px;padding:.92px;border:none;background:linear-gradient(90deg,#fc5cff -4%,#2520f6)!important;-webkit-mask:linear-gradient(90deg,#FC5CFF -4%,#2520F6 100%) content-box,linear-gradient(90deg,#FC5CFF -4%,#2520F6 100%)!important;-webkit-mask-composite:xor!important;mask-composite:exclude!important;z-index:1}.info-blue[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#626adf!important}.info-red[_ngcontent-%COMP%]{background:linear-gradient(90deg,#fc5cff0d -4%,#2520f60d)!important}.info-red[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:12px;padding:.92px;border:none;background:linear-gradient(90deg,#f25555 -4% 100%)!important;-webkit-mask:linear-gradient(90deg,#F25555 -4%,#F25555 100%) content-box,linear-gradient(90deg,#F25555 -4%,#F25555 100%)!important;-webkit-mask-composite:xor!important;mask-composite:exclude!important;z-index:1}.info-red[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#f25555!important}.prompt-text[_ngcontent-%COMP%]{color:#272b34!important}']}),y})()},69052:(z,D,o)=>{o.d(D,{T:()=>te});var s=o(10467),e=o(54438),i=o(16478),t=o(16471),j=o(79876),$=o(90369),I=o(96427),R=o(6755),E=o(33391),k=o(55756),C=o(68287),M=o(34183),x=o(80006),A=o(3067),b=o(88704),V=o(60177),G=o(74710),O=o(68064),h=o(30586),n=o(77616);const a=w=>({background:w}),r=w=>({"gray-100 pb-2":w}),_=w=>({"pt-5 pb-5 min-height-621":w}),c=()=>["/"],f=(w,U)=>({"btn-none":w,"d-none":U}),u=w=>({"background-image":w,"background-size":"cover"}),F=w=>[w],L=w=>({"bottom-upload":w}),K=w=>({"btn-outline-primary":w});function N(w,U){if(1&w&&(e.qSk(),e.j41(0,"svg",22),e.nrm(1,"path",23),e.k0s(),e.joV(),e.j41(2,"a",21),e.EFF(3),e.k0s()),2&w){const v=e.XpG(3);e.R7$(2),e.Y8G("routerLink","/"+v.parentPageUrl),e.R7$(),e.JRh(v.editorText)}}function X(w,U){if(1&w&&(e.j41(0,"div",20)(1,"a",21),e.EFF(2,"Home"),e.k0s(),e.DNE(3,N,4,2),e.qSk(),e.j41(4,"svg",22),e.nrm(5,"path",23),e.k0s(),e.joV(),e.j41(6,"span",24),e.EFF(7),e.k0s()()),2&w){const v=e.XpG(2);e.R7$(),e.Y8G("routerLink",e.lJ4(3,c)),e.R7$(2),e.vxM(v.parentPageUrl?3:-1),e.R7$(4),e.JRh(v.displayName)}}function H(w,U){if(1&w){const v=e.RV6();e.j41(0,"button",29),e.bIt("click",function(){e.eBV(v);const P=e.XpG().$implicit,B=e.XpG(3),Y=e.sdS(5);return e.Njj(B.openBadGoodPopup(Y,P))}),e.EFF(1),e.k0s()}if(2&w){const v=e.XpG(),g=v.$implicit,P=v.index,B=e.XpG(3);e.Mz_("id","gtm-ai-banner-header-",P,""),e.Y8G("ngClass",e.l_i(4,f,"get-app"==g.type,("get-app"==g.type||"image"==g.type)&&B.env.isMobileView)),e.R7$(),e.JRh(null==g?null:g.text)}}function S(w,U){if(1&w){const v=e.RV6();e.j41(0,"button",30),e.bIt("click",function(){e.eBV(v);const P=e.XpG().$implicit,B=e.XpG(3),Y=e.sdS(5);return e.Njj(B.openBadGoodPopup(Y,P))}),e.nrm(1,"pi",31),e.EFF(2,"Upload Image "),e.k0s()}if(2&w){const v=e.XpG(),g=v.$implicit;e.Mz_("id","gtm-ai-banner-header-",v.index,""),e.Y8G("ngClass",e.l_i(3,f,"get-app"==g.type,"get-app"==g.type||"image"==g.type))}}function J(w,U){if(1&w&&(e.j41(0,"div",26),e.DNE(1,H,2,7,"button",27)(2,S,3,6,"button",28),e.k0s()),2&w){const v=U.$implicit,g=e.XpG(3);e.R7$(),e.Y8G("ngIf","image"!=v.type&&!g.env.isMobileView),e.R7$(),e.Y8G("ngIf","image"!=v.type&&g.env.isMobileView)}}function Z(w,U){if(1&w&&(e.j41(0,"div",25),e.DNE(1,J,3,2,"div",16),e.k0s()),2&w){const v=e.XpG(2);e.R7$(),e.Y8G("ngForOf",null==v.area?null:v.area.links)}}function W(w,U){if(1&w){const v=e.RV6();e.j41(0,"div",34)(1,"picture"),e.nrm(2,"source",35),e.nI1(3,"imgwebp"),e.j41(4,"img",36),e.bIt("click",function(){const P=e.eBV(v).$implicit,B=e.XpG(4);return e.Njj(B.loadInputImage(P.url))}),e.k0s()()()}if(2&w){const v=U.$implicit;e.R7$(2),e.FS9("srcset",e.bMT(3,2,v.thumbUrl||v.url)),e.R7$(2),e.Y8G("src",v.thumbUrl||v.url,e.B4B)}}function m(w,U){if(1&w&&(e.qex(0),e.j41(1,"span",32),e.EFF(2),e.k0s(),e.DNE(3,W,5,4,"div",33),e.bVm()),2&w){const v=e.XpG().$implicit,g=e.XpG(2);e.R7$(),e.Y8G("ngClass",g.env.isMobileView?"text-dark":"text-white"),e.R7$(),e.JRh(v.text),e.R7$(),e.Y8G("ngForOf",null==v?null:v.urls)}}function y(w,U){if(1&w&&(e.j41(0,"div",26),e.DNE(1,m,4,3,"ng-container",2),e.k0s()),2&w){const v=U.$implicit;e.R7$(),e.Y8G("ngIf",null==v?null:v.urls)}}function l(w,U){if(1&w&&e.nrm(0,"img",37),2&w){const v=e.XpG(2);e.Y8G("src",v.getImgUrl(v.area),e.B4B),e.BMQ("alt",(null==v.area||null==v.area.images||null==v.area.images[0]?null:v.area.images[0].altText)||"")}}function d(w,U){if(1&w&&(e.qex(0),e.j41(1,"video",38),e.nrm(2,"source",39)(3,"source",40),e.k0s(),e.bVm()),2&w){const v=e.XpG(2);e.R7$(),e.Y8G("muted","muted"),e.R7$(),e.Y8G("src",v.getVideoUrl(v.area,"mp4"),e.B4B),e.R7$(),e.Y8G("src",v.getVideoUrl(v.area,"webm"),e.B4B)}}function p(w,U){if(1&w&&(e.qex(0),e.j41(1,"div",4),e.DNE(2,X,8,4,"div",5),e.j41(3,"div",6)(4,"div",7)(5,"div",8)(6,"div",9)(7,"div",10)(8,"h1",11),e.EFF(9),e.k0s()(),e.j41(10,"div",12)(11,"p",13),e.EFF(12),e.k0s()()(),e.DNE(13,Z,2,1,"div",14),e.j41(14,"div",15),e.DNE(15,y,2,1,"div",16),e.k0s()()(),e.j41(16,"div",17)(17,"div",18),e.DNE(18,l,1,2,"
1img",19)(19,d,4,3,"ng-container",2),e.k0s()()()(),e.bVm()),2&w){const v=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(11,a,!v.env.isMobileView&&null!=v.area&&v.area.bgColors?v.area.bgColors:"#F8F9F9"))("ngClass",e.eq3(13,r,v.env.isMobileView)),e.R7$(),e.Y8G("ngIf",""!=v.area.title),e.R7$(7),e.JRh(null==v.area?null:v.area.title),e.R7$(2),e.Y8G("ngClass",v.env.isMobileView?"grey-600":"text-white"),e.R7$(),e.SpI("",v.area.desc1," "),e.R7$(),e.Y8G("ngIf",(null==v.area?null:v.area.links)&&(null==v.area?null:v.area.links.length)),e.R7$(2),e.Y8G("ngForOf",null==v.area?null:v.area.links),e.R7$(),e.Y8G("ngClass",e.eq3(15,_,v.isVideo)),e.R7$(2),e.Y8G("ngIf",!v.isVideo),e.R7$(),e.Y8G("ngIf",v.isVideo)}}function T(w,U){if(1&w&&(e.j41(0,"div",51)(1,"a",52),e.EFF(2),e.k0s()()),2&w){const v=U.$implicit,g=e.XpG(2);e.R7$(),e.Y8G("routerLink",e.eq3(2,F,g.storyPageUrl)),e.R7$(),e.JRh(null==v?null:v.text)}}function Q(w,U){if(1&w&&(e.qex(0),e.j41(1,"div",41)(2,"div",42)(3,"div",43)(4,"div",44)(5,"div",45)(6,"p",46),e.EFF(7),e.k0s()(),e.DNE(8,T,3,4,"div",47),e.k0s()(),e.j41(9,"div",48)(10,"div",49)(11,"picture"),e.nrm(12,"source",35),e.nI1(13,"imgwebp"),e.nrm(14,"img",50),e.k0s()()()()(),e.bVm()),2&w){const v=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(8,u,"url("+v.area.bgColors+")")),e.R7$(6),e.JRh(v.area.title),e.R7$(),e.Y8G("ngForOf",null==v.area?null:v.area.links),e.R7$(4),e.FS9("srcset",e.bMT(13,6,v.area.images.url)),e.R7$(2),e.Y8G("src",v.getImgUrl(v.area),e.B4B),e.BMQ("alt",(null==v.area||null==v.area.images||null==v.area.images[0]?null:v.area.images[0].altText)||"")}}function ie(w,U){if(1&w){const v=e.RV6();e.j41(0,"div",26)(1,"button",67),e.bIt("click",function(){const P=e.eBV(v).$implicit,B=e.XpG(2);return e.Njj(B.getApiKey(P))}),e.EFF(2),e.k0s()()}if(2&w){const v=U.$implicit,g=U.index;e.R7$(),e.Y8G("ngClass",e.eq3(2,K,g>="1")),e.R7$(),e.JRh(null==v?null:v.text)}}function ne(w,U){if(1&w){const v=e.RV6();e.qex(0),e.j41(1,"div",53)(2,"div",54)(3,"a",21),e.EFF(4,"Home"),e.k0s(),e.nrm(5,"pi",55),e.j41(6,"a",21),e.EFF(7),e.k0s(),e.nrm(8,"pi",55),e.j41(9,"span",56),e.EFF(10),e.k0s()(),e.j41(11,"div",42)(12,"div",7)(13,"div",44)(14,"div",57)(15,"div",45)(16,"h1",58),e.EFF(17),e.k0s()(),e.j41(18,"div",59)(19,"p",60),e.EFF(20),e.k0s()()(),e.j41(21,"div",61)(22,"div",62),e.DNE(23,ie,3,4,"div",16),e.k0s()(),e.j41(24,"div",63,1),e.bIt("obsChange",function(P){e.eBV(v);const B=e.XpG();return e.Njj(B.onChangeVisibility(P))}),e.k0s()()(),e.j41(26,"div",64)(27,"div",65),e.nrm(28,"img",66),e.k0s()()()(),e.bVm()}if(2&w){const v=e.sdS(25),g=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(12,a,g.area.bgColors)),e.R7$(2),e.Y8G("routerLink",e.lJ4(14,c)),e.R7$(3),e.Y8G("routerLink","/"+g.type),e.R7$(),e.JRh(g.editorText),e.R7$(3),e.JRh(g.displayName),e.R7$(7),e.SpI("",g.area.title," "),e.R7$(3),e.SpI("",g.area.desc1," "),e.R7$(2),e.Y8G("ngClass",e.eq3(15,L,g.area.desc1)),e.R7$(),e.Y8G("ngForOf",null==g.area?null:g.area.links),e.R7$(),e.Y8G("obsIntersectTarget",v),e.R7$(4),e.Y8G("src",g.getImgUrl(g.area),e.B4B),e.BMQ("alt",(null==g.area||null==g.area.images||null==g.area.images[0]?null:g.area.images[0].altText)||"")}}function q(w,U){if(1&w){const v=e.RV6();e.qex(0),e.j41(1,"div",68)(2,"div",26)(3,"button",69),e.bIt("click",function(){e.eBV(v);const P=e.XpG(),B=e.sdS(5);return e.Njj(P.openBadGoodPopup(B,null))}),e.EFF(4),e.k0s()()(),e.j41(5,"div",63,1),e.bIt("obsChange",function(P){e.eBV(v);const B=e.XpG();return e.Njj(B.onChangeVisibility(P))}),e.k0s(),e.bVm()}if(2&w){const v=e.sdS(6),g=e.XpG();e.R7$(4),e.JRh((null==g.area||null==g.area.metadata?null:g.area.metadata.stripBtnText)||"Upload Image"),e.R7$(),e.Y8G("obsIntersectTarget",v)}}let te=(()=>{var w;class U{constructor(g,P,B,Y,ee,le,ce,re,ae){var oe=this;this.uploadImageService=g,this.modalService=P,this.gtmService=B,this.env=Y,this.storyPageService=ee,this.aiUploadImageService=le,this.apiKeyService=ce,this.injector=re,this.storyImageProgress=ae,this.imgQueryParams={imageUrl:"",tabName:"",from:"",editorType:"",openNewTab:!0},this.displayName="",this.type="",this.editorType=t._Y.AIPhoto,this.params={},this.storyPageUrl="/"+i.b.photoEditor.urlPart+i.b.slug.aiAvatarGenerator,this.isVideo=!1,this.editorText="AI Editor",this.parentPageUrl="",this.uploadImageService.uploadFileFn=function(){var de=(0,s.A)(function*(se){se&&oe.loadInputImageFromAPI(se)});return function(se){return de.apply(this,arguments)}}()}ngOnInit(){if(this.area&&this.area?.metadata&&(this.params=Object.assign(this.params,this.area.metadata),this.params.from=this.slug,this.params.editorType=this.editorType,this.params.storyProgressController=this.storyImageProgress),this.area&&"ai-banner"==this.area.type&&this.area.links&&this.area.links.length>0){let P=this.area.links[0].url;P&&(this.storyPageUrl="/"+i.b.photoEditor.urlPart+P)}this.isVideo=this.uploadImageService.checkIsVideo(this.area&&this.area.images&&this.area.images[0]?this.area.images[0].img1||this.area.images[0].url:""),"photo-editing"==this.type?(this.editorText="AI Editor",this.parentPageUrl="ai-photo-editor"):("ai-video-generator"==this.type||"ai-image-generator"==this.type)&&(this.parentPageUrl=""),"api"==this.type&&(this.editorText="API",this.type="api")}openBadGoodPopup(g=null,P){this.editorType!=t._Y.BatchEditor?this.env.isMobileView&&this.params.toolName==t.Fs.FaceAnimate?this.env.openPlayStoreUrl():this.env.isMobileView&&this.env.isiOS?this.handleiOSDeepLink():(this.handleDesktopFlow(g,P),setTimeout(()=>{this.pushGtmEvent(!0),this.deepLinkData()},0)):this.aiUploadImageService.navigateToBatchEditor(this.params)}handleiOSDeepLink(){const g=this.env.getBrowserInfo(),P=this.area.metadata?.deepLink??"";let Y="";("iOS"===g.os||"Mac OS"===g.os)&&(Y="https://apps.apple.com/us/app/lightx-ai-photo-editor-retouch/id1400740705?platform=iphone&ppid=6522dc67-da0b-440d-9337-e1522adab0ee"),P&&(window.location.href="lightxphotoeditorapp://"+P),setTimeout(()=>{window.location.href=Y},500)}handleDesktopFlow(g,P){if(P&&"get-app"==P.type||!this.params?.toolName)return void this.storyPageService.qrCodePopup(this.params).result.then(()=>{});const B=localStorage.getItem("doNotShow");"true"==B||this.params?.toolName!=t.Fs.Avatar&&this.params?.toolName!=t.Fs.Selfie?"true"==B||this.params.subTool!=t.Fs.AIVirtualTryOn&&this.params.toolName!=t.Fs.AIVirtualTryOn?g.click():setTimeout(()=>
1this.openTryOnModal(g),0):setTimeout(()=>{this.storyPageService.openBadGoodPopup(this.params).result.then(Y=>{Y&&g.click()})},0)}openTryOnModal(g){var P=this;return(0,s.A)(function*(){const B=P.modalService.open(I.I,{centered:!0,size:"md",backdrop:"static",windowClass:"tryon-custom-popup"});B.componentInstance.PopUpType="tryon-custom-popup",B.result.then(Y=>{Y&&g.click()})})()}deepLinkData(){const[g,P]=this.getVersion();let B={os:P,osVersion:g,screenSize:window.screen.width+":"+window.screen.height,deepLink:this.area.metadata.deepLink};P&&this.storyPageService.postDeepLink(B,Y=>{},Y=>{})}getImgUrl(g){return g&&g.images&&g.images[0]?g.images[0].url:g.img1}getVideoUrl(g,P){if("mp4"==P){const B=g&&g.images&&g.images[0]?g.images[0].url:g.img1;return B&&B.replace("webm","mp4")}return g&&g.images&&g.images[0]?g.images[0].url:g.img1}onFileUploaded(g){g.length&&this.aiUploadImageService.aiUploadImage(g[0],this.params).then(B=>{this.pushGtmEvent()})}loadInputImage(g){if(this.env.isMobileView&&(this.env.isiOS||this.params.toolName==t.Fs.FaceAnimate))return this.env.openPlayStoreUrl(),!1;this.aiUploadImageService.aiUploadImage(null,this.params,g).then(B=>{this.pushGtmEvent()})}onChangeVisibility(g){(0,e.mal)(()=>{const P=document.querySelector(".bottom-upload");P&&(g.visible&&scrollY>=360?P.classList.contains("fixed-upload-btn")||P.classList.add("fixed-upload-btn"):P.classList.contains("fixed-upload-btn")&&P.classList.remove("fixed-upload-btn"))},{injector:this.injector})}getVersion(){const g=navigator.userAgent;if(/(iPhone)/i.test(g)){const P=g.match(/OS [\d_]+/i)[0].substr(3).split("_").map(Y=>parseInt(Y));return[P.length&&P.join("."),"ios"]}return/(Macintosh)/i.test(g)||/(iPad)/i.test(g)?["0","ios"]:-1!=g.indexOf("Android")?[g.match(/Android\s+([\d\.]+)/)[1],"android"]:["",""]}getApiKey(g=null){this.env.isMobileView||(g&&g.type==t.VQ.contactForm?this.apiKeyService.openContactSales().result.then(P=>{}):g&&g.type==t.VQ.calender?this.apiKeyService.openGoogleCalendar():this.apiKeyService.generateApiKeyWithQuestion())}onFileUploadedOnLoad(g,P=null){if(!g)return;const B={tab:"upscale"};this.storyImageProgress.uploading("upscale");const Y=URL.createObjectURL(g);this.aiUploadImageService.loadImage(Y).then(ee=>{$.HtmlCanvasUtil.checkAndResizeImage(ee,(le,ce,re)=>{const ae=re||g;this.aiUploadImageService.uploadImage(ae,B,oe=>{this.imgQueryParams.imageUrl=oe?.contentUrl||URL.createObjectURL(ae),this.uploadImageService.loadInputImage(this.imgQueryParams,()=>{P&&P()})})},4096,4096)})}loadInputImageFromAPI(g){let P=null,B=null;g&&(g&&g.file?B=g.file:P=g),this.params.editorType==t._Y.Photo?(this.imgQueryParams.imageUrl=P,this.imgQueryParams.from=this.params.slug,this.imgQueryParams.tabName=this.params?.toolName||this.params?.tab,this.imgQueryParams.editorType=t._Y.Photo,this.imgQueryParams.subTool=this.params.subTool,this.imgQueryParams.openNewTab=!0,this.imgQueryParams.storyProgressController=this.storyImageProgress,B?this.onFileUploadedOnLoad(B,()=>{}):this.uploadImageService.loadInputImage(this.imgQueryParams,()=>{})):(this.params.editorType=t._Y.AIPhoto,this.aiUploadImageService.aiUploadImage(B||null,this.params,P).then(Y=>{}))}openModalPopup(){if(this.params?.toolName==t.Fs.TextToImage&&this.params?.subTool==t.do.Text)this.aiUploadImageService.loadInputTextToAiEditor(this.params);else{const g=this.modalService.open(j.C,{centered:!0,size:"xl",windowClass:"confirm-modal"});g.componentInstance.isFileUpload=!0,g.result.then(P=>{"cancel"!==P&&P&&this.loadInputImageFromAPI({file:P})}).catch(P=>{})}}pushGtmEvent(g=!1){this.slug&&this.gtmService.pushTag({eventName:i.b.gtm.eventname.aiStoryUploadClick,itemName:g?this.slug+" - Init":this.slug+" - Finish"})}}return(w=U).\u0275fac=function(g){return new(g||w)(e.rXU(R.A),e.rXU(E.Bq),e.rXU(k.y),e.rXU(C.L),e.rXU(M.K),e.rXU(x.M),e.rXU(A.H),e.rXU(e.zZn),e.rXU(b.l))},w.\u0275cmp=e.VBU({type:w,selectors:[["ai-banner-header"]],inputs:{displayName:"displayName",type:"type",area:"area",slug:"slug",editorType:"editorType"},decls:6,vars:5,consts:[["file",""],["nameuplod",""],[4,"ngIf"],["id","fileInputId","name","fileInputId","type","file",1,"custom-file-input","d-none",3,"change","click","accept"],[1,"topBanner","d-flex","align-items-center","position-relative",3,"ngStyle","ngClass"],["class","breadcrumb-wrapper ms-3 ms-lg-5 position-absolute","style","top: 24px;",4,"ngIf"],[1,"row","g-0","pt-0","overflow-hidden","w-100","area-inner","mx-auto","pe-3","ps-md-5","pb-0","pe-lg-0"],[1,"col-lg-6","col-xl-6","p-0","align-self-center","order-1"],[1,"text-center","text-lg-start","pt-lg-5","pb-lg-5"],[1,"herobanner-text"],[1,"res-mt-13"],[1,"text-48","pt-4","pt-lg-0","text-white"],[1,"mt-3"],[1,"lh-160","text-semi",3,"ngClass"],["class","upload-btn d-flex",4,"ngIf"],[1,"d-flex","w-100","flex-column"],["class","text-left",4,"ngFor","ngForOf"],[1,"col-lg-6","col-xl-6","p-0","order-2","d-none","d-lg-flex","align-items-center","justify-content-center",3,"ngClass"],[1,"pt-4","pt-lg-0","text-center"],["loading","eager","fetchpriority","high","class","responsive","height","600px","width","600px",3,"src",4,"ngIf"],[1,"breadcrumb-wrapper","ms-3","ms-lg-5","position-absolute",2,"top","24px"],[3,"routerLink"],["width","24","height","24","fill","none",1,"ms-1","me-1"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m11 16 4-4-4-4","o
1pacity",".4"],[1,"text"],[1,"upload-btn","d-flex"],[1,"text-left"],["class","btn btn-white text-primary btn-h48 me-2 mt-32",3,"id","ngClass","click",4,"ngIf"],["class","btn btn-primary text-primary btn-h48 mt-32 mb-0",3,"id","ngClass","click",4,"ngIf"],[1,"btn","btn-white","text-primary","btn-h48","me-2","mt-32",3,"click","id","ngClass"],[1,"btn","btn-primary","text-primary","btn-h48","mt-32","mb-0",3,"click","id","ngClass"],["name","uploadmediaNew",1,"f-24","me-2"],[1,"text-center","text-lg-start","text-semi","text-lg","mt-13","mb-2","d-block","w-100","text-center","text-lg-start",3,"ngClass"],["class","mr-9 pointer d-inline-flex",4,"ngFor","ngForOf"],[1,"mr-9","pointer","d-inline-flex"],["type","image/webp",3,"srcset"],["loading","eager","fetchpriority","high","width","56px","height","56px","alt","Sample Image",1,"border-radius-8","sample-image-upload","gtm-ai-banner-sample-image",2,"max-height","56px",3,"click","src"],["loading","eager","fetchpriority","high","height","600px","width","600px",1,"responsive",3,"src"],["width","600px","height","600px","autoplay","","loop","","playsinline","",1,"video-box","p-0","border-radius-24",2,"max-width","520px","max-height","520px",3,"muted"],["type","video/mp4",3,"src"],["type","video/webm",3,"src"],[1,"topBanner","d-flex","align-items-center",3,"ngStyle"],[1,"row","g-0","pt-0","overflow-hidden","w-100","area-inner","mx-auto","pe-0","pb-0"],[1,"col-lg-6","col-xl-6","p-0","align-self-center","order-lg-1","order-2"],[1,"text-center","text-lg-start"],[1,""],[1,"text-32","text-white","text-bold","lh-inherit","pt-4","pt-lg-0"],["class","mt-4 mb-5 mb-lg-0",4,"ngFor","ngForOf"],[1,"col-lg-6","col-xl-6","p-0","order-lg-2","order-1"],[1,"pt-5","pt-lg-0","text-end"],["loading","eager","fetchpriority","high","height","280px","width","508px",1,"responsive",2,"max-width","508px",3,"src"],[1,"mt-4","mb-5","mb-lg-0"],["target","_blank",1,"btn","btnAiBanner","text-primary","btn-h48",3,"routerLink"],[1,"topBanner","top-banner-bg","d-none","d-lg-flex","align-items-center","position-relative",3,"ngStyle"],[1,"darkThemeBreadcrumb","text-14","ms-3","ms-lg-5","position-absolute",2,"top","24px"],["name","breadcrumbarrow",1,"ms-1","me-1"],[1,"text-primary"],[1,"herobanner-text","mb-13"],[1,"text-48","text-grey-900","pt-4","pt-lg-0"],[1,"mt-9"],[1,"text-xxl","grey-900","lh-p1","text-semi"],[1,"d-flex"],[1,"upload-btn","d-flex",3,"ngClass"],["observeVisibility","",3,"obsChange","obsIntersectTarget"],[1,"col-lg-6","col-xl-6","d-xl-block","d-none","p-0","order-2"],["loading","eager","fetchpriority","high",1,"pt-4","pt-lg-0","text-center"],["height","600px","width","600px",1,"responsive",3,"src"],[1,"btn-top-banner","pointer","mb-8","mr-8","text-semi","text-lg","d-inline-flex","align-items-center","justify-content-center","border-radius-12","h-48",2,"margin","5px auto",3,"click","ngClass"],[1,"upload-btn","bottom-upload","d-flex","position-fixed"],["id","gtm-ai-banner-bottom-upload",1,"btn","btn-white","text-primary","btn-h48","me-2",3,"click"]],template:function(g,P){if(1&g){const B=e.RV6();e.DNE(0,p,20,17,"ng-container",2)(1,Q,15,10,"ng-container",2)(2,ne,29,17,"ng-container",2)(3,q,7,2,"ng-container",2),e.j41(4,"input",3,0),e.bIt("change",function(ee){return e.eBV(B),e.Njj(P.onFileUploaded(ee.srcElement.files))})("click",function(){e.eBV(B);const ee=e.sdS(5);return e.Njj(ee.value="")}
1),e.k0s()}2&g&&(e.Y8G("ngIf","ai-banner-header"==P.area.type),e.R7$(),e.Y8G("ngIf","ai-banner"==P.area.type),e.R7$(),e.Y8G("ngIf","api-key-banner-header"==P.area.type),e.R7$(),e.Y8G("ngIf","ai-banner-header"==P.area.type&&(null==P.area||null==P.area.metadata?null:P.area.metadata.isStripEnable)),e.R7$(),e.Y8G("accept",P.aiUploadImageService.fileImageAccept))},dependencies:[V.YU,V.Sq,V.bT,V.B3,G.Wk,O.b,h.w,n.m],styles:[".btnAiBanner[_ngcontent-%COMP%]{background:#ffffff40;height:48px;font-size:16px;color:#fff!important;border-radius:12px}.btnAiBanner[_ngcontent-%COMP%]:hover{background:#ffffff59}.fixed-upload-btn[_ngcontent-%COMP%]{justify-content:center}.fixed-upload-btn[_ngcontent-%COMP%]   .btn-none[_ngcontent-%COMP%]{display:none}.gradientHeading[_ngcontent-%COMP%]{background:linear-gradient(90deg,#bc9bff 16.37%,#ffe7ab 78.43%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}@media (max-width: 980px){.upload-btn[_ngcontent-%COMP%]{justify-content:center}.top-banner-bg[_ngcontent-%COMP%]{background:#f1f1f1!important;padding-bottom:3rem}.herobanner-text[_ngcontent-%COMP%]   .res-mt-13[_ngcontent-%COMP%]{margin-top:40px!important}.herobanner-text[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{color:#181a20!important}}@media (max-width: 576px){.upload-btn[_ngcontent-%COMP%]{justify-content:center}.upload-btn[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:0!important}}.max-height-621[_ngcontent-%COMP%]{min-height:621px}.tryNowBg[_ngcontent-%COMP%]{background:url(https://static.lightxeditor.com/assets/images/tryitnow-bg.png);background-repeat:no-repeat;background-size:cover;background-position-y:bottom}@media (min-width: 769px){p[_ngcontent-%COMP%]{font-size:20px}}.breadcrumb-wrapper[_ngcontent-%COMP%]{display:block;font-size:14px}.breadcrumb-wrapper[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}.breadcrumb-wrapper[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .breadcrumb-wrapper[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .breadcrumb-wrapper[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{color:#fff}@media (max-width: 768px){.breadcrumb-wrapper[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#272b34cc}.breadcrumb-wrapper[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.breadcrumb-wrapper[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{color:#272b34}.breadcrumb-wrapper[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{color:#626adf}.btnAiBanner[_ngcontent-%COMP%]{background:#fff!important;height:48px;font-size:16px;color:#272b34!important;border-radius:12px}.btnAiBanner[_ngcontent-%COMP%]:hover{background:#fff!important;color:#272b34!important}}"]}),U})()},86744:(z,D,o)=>{o.d(D,{b:()=>k});var s=o(93569),e=o.n(s),i=o(54438),t=o(68287),j=o(60177);function $(C,M){if(1&C&&(i.j41(0,"div"),i.nrm(1,"img",11),i.k0s()),2&C){const x=M.$implicit;i.R7$(),i.FS9("src",x.url,i.B4B),i.Y8G("alt",x.altText)}}function I(C,M){if(1&C&&(i.j41(0,"div",9),i.DNE(1,$,2,2,"div",10),i.k0s()),2&C){const x=i.XpG();i.R7$(),i.Y8G("ngForOf",x.img1)}}function R(C,M){if(1&C&&(i.j41(0,"div"),i.nrm(1,"img",11),i.k0s()),2&C){const x=M.$implicit;i.R7$(),i.FS9("src",x.url,i.B4B),i.Y8G("alt",x.altText)}}function E(C,M){if(1&C&&(i.j41(0,"div",9),i.DNE(1,R,2,2,"div",10),i.k0s()),2&C){const x=i.XpG();i.R7$(),i.Y8G("ngForOf",x.img2)}}let k=(()=>{var C;class M{constructor(A){this.env=A,this.altText="",this.img1=[],this.img2=[]}ngAfterViewInit(){this.addScrollAnim(),this.img1=this.area.images.slice(0,10),this.img2=this.area.images.slice(11,21)}getVideoUrl(A){return A&&A.video&&A.video[0]?A.video[0].url:A.video}addScrollAnim(){e().init(),e().addDriver("scrollY",function(){return window.scrollY}),e().addElements(".story-scroll-anim",{scrollY:{translateY:[["elInY","elCenterY"],[20,0],{easing:"easeInOutCubic"}],opacity:[["elInY","elCenterY"],[0,1],{easing:"easeInOutCubic"}]}}),e().addElements(".scroll-animations-delay",{scrollY:{translateY:[["elInY+310","elCenterY+310"],[20,0],{easing:"easeInOutCubic"}],opacity:[["elInY+200","elCenterY+200"],[0,1],{easing:"easeInOutCubic"}]}})}}return(C=M).\u0275fac=function(A){return new(A||C)(i.rXU(t.L))},C.\u0275cmp=i.VBU({type:C,selectors:[["ai-banner-slider"]],inputs:{area:"area"},decls:12,vars:6,consts:[[1,"bg-white","overflow-hidden",3,"ngClass"],[1,"story-scroll-anim","text-bold","text-dark","text-center","mx-auto","p-3","p-lg-0",2,"max-width","996px",3,"ngClass"],[1,"gradientHeadingSliderx","gradient-text"],[1,"scroll-animations-delay"],[1,"overflow-hidden"],[1,"overflow-auto","me-2"],[1,"row","g-0","ml-15","me-2",3,"ngClass"],["class","d-inline-flex mx-auto w-auto","style","column-gap: 20px;",4,"ngIf"],[1,"row","g-0","mt-10","ms-2"],[1,"d-inline-flex","mx-auto","w-auto",2,"column-gap","20px"],[4,"ngFor","ngForOf"],["loading","lazy","width","200px","height","200px",1,"border-radius-32",3,"src","alt"]],template:function(A,b){1&A&&(i.j41(0,"div",0)(1,"h2",1)(2,"span",2),i.EFF(3,"Styles "),i.k0s(),i.j41(4,"span",3),i.EFF(5),i.k0s()(),i.j41(6,"div",4)(7,"div",5)(8,"div",6),i.DNE(9,I,2,1,"div",7),i.k0s(),i.j41(10,"div",8),i.DNE(11,E,2,1,"div",7),i.k0s()()()()),2&A&&(i.Y8G("ngClass",b.env.isMobileView?"pt-14 pb-14":"padding-top-bottom100"),i.R7$(),i.Y8G("ngClass",b.env.isMobileView?"text-28 lh-35":"text-32 lh-h12"),i.R7$(4),i.JRh(b.area.title),i.R7$(3),i.Y8G("ngClass",b.env.isMobileView?"mt-13":"mt-14"),i.R7$(),i.Y8G("ngIf",b.img1&&b.img1.length),i.R7$(2),i.Y8G("ngIf",b.img2&&b.img2.length))},dependencies:[j.YU,j.Sq,j.bT],styles:[".gradientHeadingSliderx[_ngcontent-%COMP%]{background:linear-gradient(273deg,#626adf 85.27%,#a64dff);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}"]}),M})()},17744:(z,D,o)=>{o.d(D,{$:()=>O});var s=o(67091),e=o(54438),i=o(68287),t=o(80006),j=o(88704),$=o(60177),I=o(68064);const R=h=>({"mt-4":h}),E=h=>({"d-none":h}),k=h=>({"text-center":h}),C=h=>({activeImg:h}),M=h=>({"img-active":h});function x(h,n){if(1&h){const a=e.RV6();e.j41(0,"div",28),e.bIt("click",function(){const _=e.eBV(a).$implicit,c=e.XpG(2);return e.Njj(c.onImageSelect(_))}),e.nrm(1,"img",29),e.k0s()}if(2&h){const a=n.$implicit,r=e.XpG(2);e.R7$(),e.Y8G("src",a.clickImage,e.B4B)("alt",a.altText)("ngClass",e.eq3(3,C,a.url===r.selectedImage.url))}}function A(h,n){if(1&h&&(e.qex(0),e.DNE(1,x,2,5,"div",27),e.bVm()),2&h){const a=e.XpG();e.R7$(),e.Y8G("ngForOf",a.imagelist)}}function b(h,n){1&h&&(e.qex(0),e.j41(1,"div",30),e.nrm(2,"div",31)(3,"div",31)(4,"div",31)(5,"div",31),e.k0s(),e.bVm())}function V(h,n){if(1&h){const a=e.RV6();e.j41(0,"div",32),e.bIt("click",function(){const _=e.eBV(a).$implicit,c=e.XpG();return e.Njj(c.onImageSectioSelect(_))}),e.j41(1,"div",33),e.nrm(2,"img",34),e.k0s()()}if(2&h){const a=n.$implicit,r=e.XpG();e.Y8G("ngClass",e.eq3(3,M,a.type===r.selectedImageId)),e.R7$(2),e.Y8G("src",a.url,e.B4B)("alt",a.text)}}function G(h,n){if(1&h){const a=e.RV6();e.j41(0,"div",35),e.bIt("click",function(){const _=e.eBV(a).$implicit,c=e.XpG();return e.Njj(c.onImageSectioSelect(_))}),e.j41(1,"div"),e.nrm(2,"img",36),e.k0s()()}if(2&h){const a=n.$implicit,r=e.XpG();e.Y8G("ngClass",e.eq3(3,M,a.type===r.selectedImageId)),e.R7$(2),e.Y8G("src",a.url,e.B4B)("alt",a.text)}}let O=(()=>{var h;class n{constructor(r,_,c){this.env=r,this.aiUploadImageService=_,this.storyImageProgress=c,this.params={},this.selectedImageId="0",this.imgurl="",this.altText="",this.isLoaded=!1}ngOnInit(){this.selectedImageId=this.area.links[0].type,this.imagelist=this.area.links[0].images,this.onImageSelect(this.imagelist[0]),this.params={from:this.slug,tab:this.tab,toolName:this.toolName,subTool:this.subTool,storyProgressController:this.storyImageProgress}}onImageSelect(r){this.selectedImage=r}onImageSectioSelect(r){this.isLoaded=!0,setTimeout(()=>{this.selectedImageId=r.type,this.imagelist=r.images,this.selectedImage=this.imagelist[0],this.isLoaded=!1},300)}openImageSelection(r){const _=(0,s.o0)();!this.env.isMobileView||"iOS"!==_.os&&"Mac OS"!==_.os?r.click():window.location.href="https://apps.apple.com/us/app/lightx-ai-photo-editor-retouch/id1400740705?platform=iphone&ppid=6522dc67-da0b-440d-9337-e1522adab0ee"}onFileUploaded(r){r.length&&this.aiUploadImageService.aiUploadImage(r[0],this.params).then(c=>{})}}return(h=n).\u0275fac=function(r){return new(r||h)(e.rXU(i.L),e.rXU(t.M),e.rXU(j.l))},h.\u0275cmp=e.VBU({type:h,selectors:[["ai-preview-area-variant2"]],inputs:{area:"area",slug:"slug",toolName:"toolName",tab:"tab",subTool:"subTool"},decls:33,vars:25,consts:[["file",""],[1,"bg-white","w-100",3,"ngClass"],[1,"container-fluid","bg-white","w-100","area-inner"],[1,"row","g-0"],[1,"col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0"],[1,"container-fluid","p-0"],[1,"row","g-0","align-items-center","justify-content-center"],[1,"col-xl-6","col-lg-6","ms-0","ms-lg-6","order-2","order-lg-1","position-relative",3,"ngClass"],[1,"d-flex","justify-content-center","position-relative","tab-width",2,"width","fit-content"],["loading","lazy","width","520px","height","520px",1,"responsive","border-radius-36",2,"max-width","520px",3,"src","alt"],[1,"d-flex","text-center","justify-content-center","p-2","p-lg-0","pt-0","pb-0","position-absolute",2,"bottom","-11.6%","column-gap","8px"],[4,"ngIf"],[1,"d-grid","imgGrid","text-center","mt-5","pt-3",3,"ngClass"],["class","pointer",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"clickBoxBtn","d-flex","flex-column","align-items-center","justify-content-center",3,"click"],["name","plus"],[1,"text-normal","grey-600","mt-4"],[1,"col-xl-6","col-lg-6","order-1","order-lg-2","ps-lg-4"],[1,"row","g-0","align-items-center",3,"ngClass"],[1,"text-dark","text-bold",3,"ngClass"],[1,"text-lg","text-dark","mt-3"],[1,"row","g-0","d-flex","flex-wrap","text-center","mt-5",2,"row-gap","33px",3,"ngClass"],["class","col-lg-6 col-xl-6 pointer gx-3 d-flex align-items-center","style","max-width: 280px; max-height: 200px;",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"col-lg-6","col-xl-6","gx-3","d-flex","justify-content-center",3,"click"],[1,"clickBoxBtn","h-100","d-flex","flex-column","align-items-center","justify-content-center","p-4"],["name","plusiconset",1,"f-40"],["id","fileInputId","name","fileInputId","type","file",1,"custom-file-input","d-none",3,"change","click","accept"],["class","pointer previewImg",3,"click",4,"ngFor","ngForOf"],[1,"pointer","previewImg",3,"click"],["width","120px","height","120px",1,"border-radius-24",3,"src","alt","ngClass"],[1,"d-flex","text-center","justify-content-center","p-2","p-lg-0","pt-0","pb-0","position-absolute",2,"bottom","3.4%","column-gap","8px"],[1,"anim-blank-view","imgThumb","border-radius-24"],[1,"pointer",3,"click","ngClass"],[2,"max-width","250px","max-height","200px"],["loading","lazy","width","250px","height","200px",1,"responsive","border-radius-24","h-100","w-100",3,"src","alt"],[1,"col-lg-6","col-xl-6","pointer","gx-3","d-flex","align-items-center",2,"max-width","280px","max-height","200px",3,"click","ngClass"],["loading","lazy","width","250px","height","200px",1,"responsive","border-radius-24","img",3,"src","alt"]],template:function(r,_){if(1&r){const c=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6)(6,"div",7)(7,"div",8),e.nrm(8,"img",9),e.j41(9,"div",10),e.DNE(10,A,2,1,"ng-container",11)(11,b,6,0,"ng-container",11),e.k0s()(),e.j41(12,"div",12),e.DNE(13,V,3,5,"div",13),e.j41(14,"div",14),e.bIt("click",function(){e.eBV(c);const u=e.sdS(32);return e.Njj(_.openImageSelection(u))}),e.nrm(15,"pi",15),e.j41(16,"span",16),e.EFF(17),e.k0s()()()(),e.j41(18,"div",17)(19,"div",18)(20,"h2",19),e.EFF(21),e.k0s(),e.j41(22,"p",20),e.EFF(23),e.k0s(),e.j41(24,"div",21),e.DNE(25,G,3,5,"div",22),e.j41(26,"div",23),e.bIt("click",function(){e.eBV(c);const u=e.sdS(32);return e.Njj(_.openImageSelection(u))}),e.j41(27,"div",24),e.nrm(28,"pi",25),e.j41(29,"span",16),e.EFF(30),e.k0s()()()()()()()()()()()(),e.j41(31,"input",26,0),e.bIt("change",function(u){return e.eBV(c),e.Njj(_.onFileUploaded(u.srcElement.files))})("click",function(){e.eBV(c);const u=e.sdS(32);return e.Njj(u.value="")}
1),e.k0s()}2&r&&(e.Y8G("ngClass",_.env.isMobileView?"pt-10":"pt-13"),e.R7$(6),e.Y8G("ngClass",e.eq3(17,R,_.env.isMobileView)),e.R7$(2),e.Y8G("src",_.selectedImage.url,e.B4B)("alt",_.selectedImage.text),e.R7$(2),e.Y8G("ngIf",!_.isLoaded),e.R7$(),e.Y8G("ngIf",_.isLoaded),e.R7$(),e.Y8G("ngClass",e.eq3(19,E,!_.env.isMobileView)),e.R7$(),e.Y8G("ngForOf",_.area.links),e.R7$(4),e.JRh(_.area.desc2),e.R7$(2),e.Y8G("ngClass",e.eq3(21,k,_.env.isMobileView)),e.R7$(),e.Y8G("ngClass",_.env.isMobileView?"text-28 lh-35":"text-32 lh-h12"),e.R7$(),e.JRh(_.area.title),e.R7$(2),e.JRh(_.area.desc1),e.R7$(),e.Y8G("ngClass",e.eq3(23,E,_.env.isMobileView)),e.R7$(),e.Y8G("ngForOf",_.area.links),e.R7$(5),e.JRh(_.area.desc2),e.R7$(),e.Y8G("accept",_.aiUploadImageService.fileImageAccept))},dependencies:[$.YU,$.Sq,$.bT,I.b],styles:[".previewSmallImg[_ngcontent-%COMP%]{max-width:160px;max-height:160px;transition:all .3s ease}.previewSmallImg[_ngcontent-%COMP%]:hover{transform:translateY(-8px)}.previewImg[_ngcontent-%COMP%]{max-width:120px;max-height:120px;transition:all .3s ease}.previewImg[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border:4px solid #E1E1E5}.previewImg[_ngcontent-%COMP%]   .activeImg[_ngcontent-%COMP%]{border:4px solid #626ADF}.clickBoxBtn[_ngcontent-%COMP%]{max-width:258px;max-height:200px;background:#f8f9f9;border:1px solid #E2E3E9;border-radius:24px;cursor:pointer}.clickBoxBtn[_ngcontent-%COMP%]:hover{border:1px solid #B0B3BF;background:linear-gradient(0deg,#626adf0d 0% 100%),#f8f9f9}.imgGrid[_ngcontent-%COMP%]{column-gap:24px;row-gap:24px;grid-template-columns:1fr 1fr}.imgGridRight[_ngcontent-%COMP%]{column-gap:24px;row-gap:24px}.img[_ngcontent-%COMP%]{padding:6px;border:2px solid #fff;box-sizing:border-box}.img-active[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding:6px;border:2px solid #5D5FEF!important;box-sizing:border-box;filter:drop-shadow(0px 0px 48px rgba(98,106,223,.12))}.imgThumb[_ngcontent-%COMP%]{width:120px;height:120px;background:#000}@media (max-width: 540px){.previewImg[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100%;width:100%}}@media (min-width: 768px) and (max-width: 980px){.d-grid.imgGrid[_ngcontent-%COMP%]{max-width:500px;margin-top:80px!important;margin:0 auto}.tab-width[_ngcontent-%COMP%]{width:auto!important}}"]}),n})()},93844:(z,D,o)=>{o.d(D,{N:()=>a});var s=o(76696),e=o(54438),i=o(68287),t=o(80006),j=o(88704),$=o(60177),I=o(74710);const R=r=>({"mt-4":r}),E=r=>({"d-none":r}),k=r=>({"img-active":r});function C(r,_){if(1&r){const c=e.RV6();e.j41(0,"div",19),e.bIt("click",function(){const u=e.eBV(c).$implicit,F=e.XpG();return e.Njj(F.onImageSelect(u))}),e.nrm(1,"img",20),e.j41(2,"div",21),e.EFF(3),e.k0s()()}if(2&r){const c=_.$implicit,f=e.XpG();e.Y8G("ngClass",e.eq3(4,k,c.url===f.selectedImage.url)),e.R7$(),e.FS9("src",c.clickImage,e.B4B),e.R7$(),e.Y8G("ngClass",c.url===f.selectedImage.url?"text-primary":"text-dark"),e.R7$(),e.JRh(c.text)}}function M(r,_){if(1&r&&(e.j41(0,"a",26),e.EFF(1),e.k0s()),2&r){const c=e.XpG().$implicit,f=e.XpG(2);e.Y8G("routerLink",f.getAction(null==c?null:c.url)),e.R7$(),e.SpI(" ",c.text," ")}}function x(r,_){if(1&r){const c=e.RV6();e.qex(0),e.j41(1,"label",27),e.EFF(2),e.k0s(),e.j41(3,"input",28,0),e.bIt("click",function(){e.eBV(c);const u=e.sdS(4);return e.Njj(u.value="")})("change",function(u){e.eBV(c);const F=e.XpG().$implicit,L=e.XpG(2);return e.Njj(L.onFileUploaded(u.srcElement.files,F))})("click",function(){e.eBV(c);const u=e.sdS(4);return e.Njj(u.value="")}),e.k0s(),e.bVm()}if(2&r){const c=e.XpG(),f=c.$implicit,u=c.index,F=e.XpG(2);e.R7$(),e.FS9("for",F.uniqueId+u),e.R7$(),e.JRh(f.text),e.R7$(),e.FS9("id",F.uniqueId+u),e.FS9("name",F.uniqueId+u),e.Y8G("accept",F.fileUploadAccept)}}function A(r,_){if(1&r&&(e.qex(0),e.DNE(1,M,2,2,"a",24)(2,x,5,5,"ng-container",25),e.bVm()),2&r){const c=_.$implicit;e.R7$(),e.Y8G("ngIf",c.url),e.R7$(),e.Y8G("ngIf",!c.url)}}function b(r,_){if(1&r&&(e.j41(0,"div",22),e.DNE(1,A,3,2,"ng-container",23),e.k0s()),2&r){const c=e.XpG();e.R7$(),e.Y8G("ngForOf",c.area.links)}}function V(r,_){if(1&r){const c=e.RV6();e.j41(0,"div",29),e.bIt("click",function(){const u=e.eBV(c).$implicit,F=e.XpG();return e.Njj(F.onImageSelect(u))}),e.nrm(1,"img",30),e.j41(2,"div",31),e.EFF(3),e.k0s()()}if(2&r){const c=_.$implicit,f=e.XpG();e.Y8G("ngClass",e.eq3(5,k,c.url===f.selectedImage.url)),e.R7$(),e.FS9("src",c.clickImage,e.B4B),e.Y8G("alt",c.altText),e.R7$(),e.Y8G("ngClass",c.url===f.selectedImage.url?"text-primary":"text-dark"),e.R7$(),e.JRh(c.text)}}function G(r,_){if(1&r&&(e.j41(0,"a",26),e.EFF(1),e.k0s()),2&r){const c=e.XpG().$implicit,f=e.XpG(2);e.Y8G("routerLink",f.getAction(null==c?null:c.url)),e.R7$(),e.SpI(" ",c.text," ")}}function O(r,_){if(1&r){const c=e.RV6();e.qex(0),e.j41(1,"label",27),e.EFF(2),e.k0s(),e.j41(3,"input",28,0),e.bIt("click",function(){e.eBV(c);const u=e.sdS(4);return e.Njj(u.value="")}
1)("change",function(u){e.eBV(c);const F=e.XpG().$implicit,L=e.XpG(2);return e.Njj(L.onFileUploaded(u.srcElement.files,F))})("click",function(){e.eBV(c);const u=e.sdS(4);return e.Njj(u.value="")}),e.k0s(),e.bVm()}if(2&r){const c=e.XpG(),f=c.$implicit,u=c.index,F=e.XpG(2);e.R7$(),e.FS9("for",F.uniqueId+u),e.R7$(),e.JRh(f.text),e.R7$(),e.FS9("id",F.uniqueId+u),e.FS9("name",F.uniqueId+u),e.Y8G("accept",F.fileUploadAccept)}}function h(r,_){if(1&r&&(e.qex(0),e.DNE(1,G,2,2,"a",24)(2,O,5,5,"ng-container",25),e.bVm()),2&r){const c=_.$implicit;e.R7$(),e.Y8G("ngIf",c.url),e.R7$(),e.Y8G("ngIf",!c.url)}}function n(r,_){if(1&r&&(e.j41(0,"div",32),e.DNE(1,h,3,2,"ng-container",23),e.k0s()),2&r){const c=e.XpG();e.R7$(),e.Y8G("ngForOf",c.area.links)}}let a=(()=>{var r;class _{constructor(f,u,F){this.env=f,this.aiUploadImageService=u,this.storyImageProgress=F,this.params={},this.altText="",this.imgurl="",this.fileUploadAccept="image/*"}ngOnInit(){this.uniqueId=(0,s.$)(),this.onImageSelect(this.area.images[0])}onImageSelect(f){this.selectedImage=f}getAction(f){return[`${f.split("?")[0]}`]}onFileUploaded(f,u){if(this.env.isMobileView&&this.env.isiOS)return void this.env.openPlayStoreUrl();if(!f.length)return;const F=f[0];this.params={from:this.slug,tab:u.tab||u.toolName,toolName:u.toolName,subTool:u?.subTool,storyProgressController:this.storyImageProgress},this.aiUploadImageService.aiUploadImage(F,this.params).then(L=>{})}}return(r=_).\u0275fac=function(f){return new(f||r)(e.rXU(i.L),e.rXU(t.M),e.rXU(j.l))},r.\u0275cmp=e.VBU({type:r,selectors:[["ai-preview-area"]],inputs:{area:"area",slug:"slug"},decls:20,vars:19,consts:[["file",""],[1,"area","bg-white","w-100"],[1,"container-fluid","bg-white","w-100","area-inner",3,"ngClass"],[1,"row","g-0"],[1,"col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0"],[1,"container-fluid","p-0"],[1,"row","g-0","align-items-center","justify-content-center"],[1,"col-md-6","col-xl-6","col-lg-6","ms-0","ms-lg-6","order-2","order-lg-1",3,"ngClass"],["loading","lazy","width","520px","height","520px",1,"responsive","border-radius-36",2,"max-width","520px",3,"src","alt"],[1,"d-flex","text-center","mt-4",2,"column-gap","16px",3,"ngClass"],["class","pointer",3,"ngClass","click",4,"ngFor","ngForOf"],["class","mt-4",4,"ngIf"],[1,"col-md-6","col-xl-6","col-lg-6","order-1","order-lg-2"],[1,"row","g-0","align-items-center"],[1,"title","text-bold",3,"ngClass"],[1,"text-lg","text-dark","mt-3"],[1,"d-flex","text-center","mt-5",2,"column-gap","24px",3,"ngClass"],["class","pointer previewSmallImg",3,"ngClass","click",4,"ngFor","ngForOf"],["class","mt-5",4,"ngIf"],[1,"pointer",3,"click","ngClass"],["loading","lazy","width","160px","height","160px",1,"responsive","border-radius-24","previewSmallImg",3,"src"],[1,"text-lg","text-semi","mt-2",3,"ngClass"],[1,"mt-4"],[4,"ngFor","ngForOf"],["class","btn btn-primary btn-h48 mr-8","routerLinkActive","router-link-active",3,"routerLink",4,"ngIf"],[4,"ngIf"],["routerLinkActive","router-link-active",1,"btn","btn-primary","btn-h48","mr-8",3,"routerLink"],[1,"btn","btn-primary","btn-h48","mr-8",3,"for"],["type","file",1,"custom-file-input","d-none",3,"click","change","id","name","accept"],[1,"pointer","previewSmallImg",3,"click","ngClass"],["loading","lazy","width","160px","height","160px",1,"responsive","border-radius-24",3,"src","alt"],[1,"text-lg","text-semi","pt-2",3,"ngClass"],[1,"mt-5"]],template:function(f,u){1&f&&(e.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6)(6,"div",7),e.nrm(7,"img",8),e.j41(8,"div",9),e.DNE(9,C,4,6,"div",10),e.k0s(),e.DNE(10,b,2,1,"div",11),e.k0s(),e.j41(11,"div",12)(12,"div",13)(13,"h2",14),e.EFF(14),e.k0s(),e.j41(15,"p",15),e.EFF(16),e.k0s(),e.j41(17,"div",16),e.DNE(18,V,4,7,"div",17),e.k0s()(),e.DNE(19,n,2,1,"div",18),e.k0s()()()()()()()),2&f&&(e.R7$(),e.Y8G("ngClass",u.env.isMobileView?"mt-10":"mt-13"),e.R7$(5),e.Y8G("ngClass",e.eq3(13,R,u.env.isMobileView)),e.R7$(),e.Y8G("src",u.selectedImage.url,e.B4B)("alt",u.selectedImage.altText),e.R7$(),e.Y8G("ngClass",e.eq3(15,E,!u.env.isMobileView)),e.R7$(),e.Y8G("ngForOf",u.area.images),e.R7$(),e.Y8G("ngIf",u.area.links&&u.env.isMobileView),e.R7$(3),e.Y8G("ngClass",u.env.isMobileView?"text-28 lh-35":"text-32 lh-h12"),e.R7$(),e.JRh(u.area.title),e.R7$(2),e.JRh(u.area.desc1),e.R7$(),e.Y8G("ngClass",e.eq3(17,E,u.env.isMobileView)),e.R7$(),e.Y8G("ngForOf",u.area.images),e.R7$(),e.Y8G("ngIf",u.area.links&&!u.env.isMobileView))},dependencies:[$.YU,$.Sq,$.bT,I.Wk,I.wQ],styles:[".previewSmallImg[_ngcontent-%COMP%]{max-width:160px;transition:all .3s ease}.previewSmallImg[_ngcontent-%COMP%]:hover{transform:translateY(-8px)}@media (max-width: 576px){.previewSmallImg[_ngcontent-%COMP%]:hover{transform:none}}"]}),_})()},85452:(z,D,o)=>{o.d(D,{Q:()=>W});var s=o(76696),e=o(54438),i=o(68287),t=o(80006),j=o(6755),$=o(88704),I=o(60177),R=o(74710),E=o(68064),k=o(77616);const C=m=>({even:m}),M=(m,y,l,d,p)=>({"order-2":m,"order-1":y,"order-md-2":l,"order-md-1":d,"mt-4":p}),x=m=>({"justify-content-end":m}),A=(m,y)=>({"d-none":m,"flex-wrap":y}),b=(m,y,l,d)=>({"order-lg-1":m,"order-lg-2":y,"order-md-1":l,"order-md-2":d}),V=m=>({"d-none":m}),G=m=>({"float-lg-end":m}),O=m=>({"img-active":m});function h(m,y){if(1&m&&(e.qex(0),e.j41(1,"img-comparison-slider",17)(2,"picture",18),e.nrm(3,"source",19),e.nI1(4,"imgwebp"),e.nrm(5,"img",20),e.k0s(),e.j41(6,"picture",21),e.nrm(7,"source",19),e.nI1(8,"imgwebp"),e.nrm(9,"img",22),e.k0s(),e.qSk(),e.j41(10,"svg",23),e.nrm(11,"circle",24)(12,"path",25)(13,"path",26),e.k0s()(),e.bVm()),2&m){const l=e.XpG();
1e.R7$(),e.Y8G("ngClass",e.eq3(11,G,l.even)),e.R7$(2),e.FS9("srcset",e.bMT(4,7,l.beforeImgUrl)),e.R7$(2),e.Y8G("src",l.selectedImage.beforeImgUrl,e.B4B)("alt",l.altText1),e.R7$(2),e.FS9("srcset",e.bMT(8,9,l.afterImgUrl)),e.R7$(2),e.Y8G("src",l.selectedImage.afterImgUrl,e.B4B)("alt",l.altText2)}}function n(m,y){if(1&m&&e.nrm(0,"img",31),2&m){const l=e.XpG().$implicit;e.FS9("src",l.clickImage,e.B4B)}}function a(m,y){if(1&m&&(e.j41(0,"div",32),e.EFF(1),e.k0s()),2&m){const l=e.XpG().$implicit,d=e.XpG();e.Y8G("ngClass",l.url===d.selectedImage.url?"text-primary":"text-dark"),e.R7$(),e.JRh(l.text)}}function r(m,y){if(1&m&&(e.j41(0,"div",33),e.nrm(1,"pi",34),e.EFF(2),e.k0s()),2&m){const l=e.XpG().$implicit,d=e.XpG();e.Y8G("ngClass",l.url===d.selectedImage.url?"text-primary previewBoxActive":"text-dark"),e.R7$(),e.FS9("name",l.icon),e.R7$(),e.JRh(l.text)}}function _(m,y){if(1&m){const l=e.RV6();e.j41(0,"div",27),e.bIt("click",function(){const p=e.eBV(l).$implicit,T=e.XpG();return e.Njj(T.onImageSelect(p))}),e.DNE(1,n,1,1,"img",28)(2,a,2,2,"div",29)(3,r,3,3,"div",30),e.k0s()}if(2&m){const l=y.$implicit,d=e.XpG();e.Y8G("ngClass",e.eq3(4,O,l.url===d.selectedImage.url)),e.R7$(),e.Y8G("ngIf",l.clickImage),e.R7$(),e.Y8G("ngIf",l.clickImage),e.R7$(),e.Y8G("ngIf",!l.clickImage)}}function c(m,y){if(1&m&&(e.j41(0,"a",38),e.EFF(1),e.k0s()),2&m){const l=e.XpG().$implicit,d=e.XpG(2);e.Y8G("routerLink",d.getAction(null==l?null:l.url)),e.R7$(),e.SpI(" ",l.text," ")}}function f(m,y){if(1&m){const l=e.RV6();e.qex(0),e.j41(1,"label",39),e.EFF(2),e.k0s(),e.j41(3,"input",40,0),e.bIt("click",function(){e.eBV(l);const p=e.sdS(4);return e.Njj(p.value="")})("change",function(p){e.eBV(l);const T=e.XpG().$implicit,Q=e.XpG(2);return e.Njj(Q.onFileUploaded(p.srcElement.files,T))})("click",function(){e.eBV(l);const p=e.sdS(4);return e.Njj(p.value="")}),e.k0s(),e.bVm()}if(2&m){const l=e.XpG(),d=l.$implicit,p=l.index,T=e.XpG(2);e.R7$(),e.FS9("for",T.uniqueId+p),e.R7$(),e.JRh(d.text),e.R7$(),e.FS9("id",T.uniqueId+p),e.FS9("name",T.uniqueId+p),e.Y8G("accept",T.fileUploadAccept)}}function u(m,y){if(1&m&&(e.qex(0),e.DNE(1,c,2,2,"a",37)(2,f,5,5,"ng-container",6),e.bVm()),2&m){const l=y.$implicit;e.R7$(),e.Y8G("ngIf",l.url),e.R7$(),e.Y8G("ngIf",!l.url)}}function F(m,y){if(1&m&&(e.j41(0,"div",35),e.DNE(1,u,3,2,"ng-container",36),e.k0s()),2&m){const l=e.XpG();e.R7$(),e.Y8G("ngForOf",l.links)}}function L(m,y){if(1&m&&e.nrm(0,"img",44),2&m){const l=e.XpG().$implicit;e.FS9("src",l.clickImage,e.B4B),e.Y8G("alt",l.altText)}}function K(m,y){if(1&m&&(e.j41(0,"div",32),e.EFF(1),e.k0s()),2&m){const l=e.XpG().$implicit,d=e.XpG();e.Y8G("ngClass",l.url===d.selectedImage.url?"text-primary":"text-dark"),e.R7$(),e.JRh(l.text)}}function N(m,y){if(1&m&&(e.j41(0,"div",45),e.nrm(1,"pi",34),e.EFF(2),e.k0s()),2&m){const l=e.XpG().$implicit,d=e.XpG();e.Y8G("ngClass",l.url===d.selectedImage.url?"text-primary previewBoxActive":"text-dark"),e.R7$(),e.FS9("name",l.icon),e.R7$(),e.JRh(l.text)}}function X(m,y){if(1&m){const l=e.RV6();e.j41(0,"div",41),e.bIt("click",function(){const p=e.eBV(l).$implicit,T=e.XpG();return e.Njj(T.onImageSelect(p))}),e.DNE(1,L,1,2,"img",42)(2,K,2,2,"div",29)(3,N,3,3,"div",43),e.k0s()}if(2&m){const l=y.$implicit,d=e.XpG();e.Y8G("ngClass",e.eq3(4,O,l.url===d.selectedImage.url)),e.R7$(),e.Y8G("ngIf",l.clickImage),e.R7$(),e.Y8G("ngIf",l.clickImage),e.R7$(),e.Y8G("ngIf",!l.clickImage)}}function H(m,y){if(1&m&&(e.j41(0,"a",38),e.EFF(1),e.k0s()),2&m){const l=e.XpG().$implicit,d=e.XpG(2);e.Y8G("routerLink",d.getAction(null==l?null:l.url)),e.R7$(),e.SpI(" ",l.text," ")}}function S(m,y){if(1&m){const l=e.RV6();e.qex(0),e.j41(1,"label",39),e.EFF(2),e.k0s(),e.j41(3,"input",40,0),e.bIt("click",function(){e.eBV(l);const p=e.sdS(4);return e.Njj(p.value="")})("change",function(p){e.eBV(l);const T=e.XpG().$implicit,Q=e.XpG(2);return e.Njj(Q.onFileUploaded(p.srcElement.files,T))})("click",function(){e.eBV(l);const p=e.sdS(4);return e.Njj(p.value="")}),e.k0s(),e.bVm()}if(2&m){const l=e.XpG(),d=l.$implicit,p=l.index,T=e.XpG(2);e.R7$(),e.FS9("for",T.uniqueId+p),e.R7$(),e.JRh(d.text),e.R7$(),e.FS9("id",T.uniqueId+p),e.FS9("name",T.uniqueId+p),e.Y8G("accept",T.fileUploadAccept)}}function J(m,y){if(1&m&&(e.qex(0),e.DNE(1,H,2,2,"a",37)(2,S,5,5,"ng-container",6),e.bVm()),2&m){const l=y.$implicit;e.R7$(),e.Y8G("ngIf",l.url),e.R7$(),e.Y8G("ngIf",!l.url)}}function Z(m,y){if(1&m&&(e.j41(0,"div",46),e.DNE(1,J,3,2,"ng-container",36),e.k0s()),2&m){const l=e.XpG();e.R7$(),e.Y8G("ngForOf",l.links)}}let W=(()=>{var m;class y{constructor(d,p,T,Q){this.env=d,this.aiUploadImageService=p,this.uploadImageService=T,this.storyImageProgress=Q,this.params={},this.altText="",this.imgurl="",this.beforeImgUrl="",this.afterImgUrl="",this.altText1="",this.altText2="",this.isImage=!0,this.fileUploadAccept="image/*",this.links=[]}ngOnInit(){this.uniqueId=(0,s.$)(),this.onImageSelect(this.area.images[0]),this.area.images&&(this.altText1=this.area.images[0].altText,this.beforeImgUrl=this.area.images[0].url,this.altText2=this.area.images[0].altText,this.afterImgUrl=this.area.images[0].url1)}onImageSelect(d){this.selectedImage=d,d&&(this.altText1=d.altText,this.beforeImgUrl=d.url,this.altText2=d.altText1,this.afterImgUrl=d.url1),this.links=this.selectedImage&&this.area.links.length>1?this.area.links.filter(p=>p.type==this.selectedImage.type):this.area.links}getAction(d){return[`${d.split("?")[0]}`]}onFileUploaded(d,p){if(this.env.isMobileView&&this.env.isiOS)return void this.env.openPlayStoreUrl();if(!d.length)return;p.id&&(this.uploadImageService.storyMetaData={storyAttr:"id="+p.id});const T=d[0];this.params={from:this.slug,tab:p.tab||p.toolName,toolName:p.toolName,productId:p.id,storyProgressController:this.storyImageProgress},this.aiUploadImageService.aiUploadImage(T,this.params).then(Q=>{})}}return(m=y).\u0275fac=function(d){return new(d||m)(e.rXU(i.L),e.rXU(t.M),e.rXU(j.A),e.rXU($.l))},m.\u0275cmp=e.VBU({type:m,selectors:[["ai-slide-preview-area"]],inputs:{even:"even",area:"area",slug:"slug"},decls:18,vars:33,consts:[["file",""],[1,"area","w-100","bg-white"],[1,"container-fluid","area-inner","area-section","p-top-bottom",3,"ngClass"],[1,"row","g-0","align-items-center","justify-content-between"],[1,"col-xl-6","col-lg-6","col-md-6","flex-column",2,"max-width","520px",3,"ngClass"],[1,"d-flex","flex-column",3,"ngClass"],[4,"ngIf"],[1,"d-flex","text-center","mt-4",2,"column-gap","16px",3,"ngClass"],["class","pointer",3,"ngClass","click",4,"ngFor","ngForOf"],["class","mt-4",4,"ngIf"],[1,"col-xl-6","col-lg-6","col-md-6",3,"ngClass"],[1,"row","g-0","align-items-center"],[1,"title","text-bold","lh-h12"],[1,"text-lg","text-dark","mt-3"],[1,"d-flex","text-center","mt-5",2,"column-gap","24px",3,"ngClass"],["class","pointer previewSmallImg",3,"ngClass","click",4,"ngFor","ngForOf"],["class","mt-5",4,"ngIf"],[1,"slider-with-animated-handle","overflow-hidden",2,"max-height","520px",3,"ngClass"],["slot","first"],["type","image/webp",3,"srcset"],["width","520px","height","520px",1,"responsive",2,"border-radius","24px","max-height","520px",3,"src","alt"],["slot","second"],["width","520px","height","520px",1,"responsive",2,"border-radius","27px","max-height","520px",3,"src","alt"],["slot","handle","width","52","height","52","viewBox","0 0 52 52","fill","none","xmlns","http://www.w3.org/2000/svg",1,"handle-round"],["cx","26","cy","26","r","26","fill","white"],["d","M39.3147 26.0715L34.3647 21.1215C34.1825 20.9329 34.0817 20.6803 34.084 20.4181C34.0863 20.1559 34.1915 19.9051 34.3769 19.7197C34.5623 19.5342 34.8131 19.4291 35.0753 19.4268C35.3375 19.4245 35.5901 19.5253 35.7787 19.7075L41.4357 25.3645C41.6232 25.552 41.7285 25.8063 41.7285 26.0715C41.7285 26.3366 41.6232 26.5909 41.4357 26.7785L35.7787 32.4355C35.5901 32.6176 35.3375 32.7184 35.0753 32.7161C34.8131 32.7139 34.5623 32.6087 34.3769 32.4233C34.1915 32.2379 34.0863 31.9871 34.084 31.7249C34.0817 31.4627 34.1825 31.2101 34.3647 31.0215L39.3147 26.0715Z","fill","var(--handle-color)"],["d","M12.7536 26.0002L17.7036 30.9502C17.7991 31.0424 17.8753 31.1528 17.9277 31.2748C17.9801 31.3968 18.0077 31.528 18.0089 31.6608C18.01 31.7936 17.9847 31.9252 17.9345 32.0481C17.8842 32.171 17.8099 32.2827 17.716 32.3766C17.6221 32.4705 17.5105 32.5447 17.3876 32.595C17.2647 32.6453 17.133 32.6706 17.0002 32.6694C16.8674 32.6683 16.7362 32.6407 16.6142 32.5883C16.4922 32.5359 16.3819 32.4597 16.2896 32.3642L10.6326 26.7072C10.4452 26.5197 10.3398 26.2653 10.3398 26.0002C10.3398 25.735 10.4452 25.4807 10.6326 25.2932L16.2896 19.6362C16.4782 19.454 16.7308 19.3532 16.993 19.3555C17.2552 19.3578 17.506 19.463 17.6914 19.6484C17.8769 19.8338 17.982 20.0846 17.9843 20.3468C17.9866 20.609 17.8858 20.8616 17.7036 21.0502L12.7536 26.0002Z","fill","var(--handle-color)"],[1,"pointer",3,"click","ngClass"],["class","responsive border-radius-24 previewSmallImg","loading","lazy","width","160px","height","160px",3,"src",4,"ngIf"],["class","text-lg text-semi pt-2",3,"ngClass",4,"ngIf"],["class","d-flex align-items-center previewBox mb-3 border-radius-lg text-lg text-semi fst-normal",3,"ngClass",4,"ngIf"],["loading","lazy","width","160px","height","160px",1,"responsive","border-radius-24","previewSmallImg",3,"src"],[1,"text-lg","text-semi","pt-2",3,"ngClass"],[1,"d-flex","align-items-center","previewBox","mb
1-3","border-radius-lg","text-lg","text-semi","fst-normal",3,"ngClass"],[1,"me-2","f-22",3,"name"],[1,"mt-4"],[4,"ngFor","ngForOf"],["class","btn btn-primary btn-h48 mr-8","routerLinkActive","router-link-active","style","width: fit-content;",3,"routerLink",4,"ngIf"],["routerLinkActive","router-link-active",1,"btn","btn-primary","btn-h48","mr-8",2,"width","fit-content",3,"routerLink"],[1,"btn","btn-primary","btn-h48","mr-8",3,"for"],["type","file",1,"custom-file-input","d-none",3,"click","change","id","name","accept"],[1,"pointer","previewSmallImg",3,"click","ngClass"],["class","responsive border-radius-24","loading","lazy","width","160px","height","160px",3,"src","alt",4,"ngIf"],["class","d-flex align-items-center previewBox border-radius-lg text-lg text-semi fst-normal",3,"ngClass",4,"ngIf"],["loading","lazy","width","160px","height","160px",1,"responsive","border-radius-24",3,"src","alt"],[1,"d-flex","align-items-center","previewBox","border-radius-lg","text-lg","text-semi","fst-normal",3,"ngClass"],[1,"mt-5"]],template:function(d,p){1&d&&(e.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5),e.DNE(5,h,14,13,"ng-container",6),e.j41(6,"div",7),e.DNE(7,_,4,6,"div",8),e.k0s(),e.DNE(8,F,2,1,"div",9),e.k0s()(),e.j41(9,"div",10)(10,"div",11)(11,"h2",12),e.EFF(12),e.k0s(),e.j41(13,"p",13),e.EFF(14),e.k0s(),e.j41(15,"div",14),e.DNE(16,X,4,6,"div",15),e.k0s()(),e.DNE(17,Z,2,1,"div",16),e.k0s()()()()),2&d&&(e.R7$(),e.Y8G("ngClass",e.eq3(13,C,p.even)),e.R7$(2),e.Y8G("ngClass",e.s1E(15,M,!p.even,p.even,!p.even,p.even,p.env.isMobileView)),e.R7$(),e.Y8G("ngClass",e.eq3(21,x,p.even)),e.R7$(),e.Y8G("ngIf",p.beforeImgUrl&&p.afterImgUrl),e.R7$(),e.Y8G("ngClass",e.l_i(23,A,!p.env.isMobileView,"1"==p.area.img1)),e.R7$(),e.Y8G("ngForOf",p.area.images),e.R7$(),e.Y8G("ngIf",p.links&&p.links.length&&p.env.isMobileView),e.R7$(),e.Y8G("ngClass",e.ziG(26,b,!p.even,!p.even,!p.even,!p.even)),e.R7$(3),e.JRh(p.area.title),e.R7$(2),e.JRh(p.area.desc1),e.R7$(),e.Y8G("ngClass",e.eq3(31,V,p.env.isMobileView)),e.R7$(),e.Y8G("ngForOf",p.area.images),e.R7$(),e.Y8G("ngIf",p.links&&p.links.length&&!p.env.isMobileView))},dependencies:[I.YU,I.Sq,I.bT,R.Wk,R.wQ,E.b,k.m],styles:[".previewSmallImg[_ngcontent-%COMP%]{max-width:160px;transition:all .3s ease}.previewSmallImg[_ngcontent-%COMP%]:hover{transform:translateY(-8px)}@media (max-width: 576px){.previewSmallImg[_ngcontent-%COMP%]:hover{transform:none}}.previewBox[_ngcontent-%COMP%]{border:1px solid #E2E3E9;background:#626adf0d;padding:18px 24px;line-height:120%;color:#4a4f5e}.previewBoxActive[_ngcontent-%COMP%]{border:2px solid #626ADF}"]}),y})()},30060:(z,D,o)=>{o.d(D,{B:()=>$});var s=o(54438),e=o(68287),i=o(60177);const t=I=>({background:I});function j(I,R){if(1&I&&(s.j41(0,"div",8)(1,"div",9)(2,"div",10),s.EFF(3),s.k0s(),s.j41(4,"h3",11),s.EFF(5),s.k0s()(),s.j41(6,"p",12),s.EFF(7),s.k0s()()),2&I){const E=R.$implicit;s.R7$(3),s.SpI(" ",E.type," "),s.R7$(2),s.JRh(E.title),s.R7$(2),s.JRh(E.desc)}}let $=(()=>{var I;class R{constructor(k){this.env=k}getImgUrl(k){return k&&k.images&&k.images[0]?k.images[0].url:k.img1}}return(I=R).\u0275fac=function(k){return new(k||I)(s.rXU(e.L))},I.\u0275cmp=s.VBU({type:I,selectors:[["ai-tutorial-area"]],inputs:{area:"area",slug:"slug"},decls:9,vars:9,consts:[[1,"d-flex","align-items-center",3,"ngStyle"],[1,"row","g-0","overflow-hidden","w-100","area-inner","mx-auto","area-inner",3,"ngClass"],[1,"col-lg-6","col-xl-6","p-0","align-self-center","order-1"],["height","520px","width","520px",1,"responsive",2,"max-width","520px",3,"src","alt"],[1,"col-lg-6","col-xl-6","p-0","order-2"],[1,"row","g-0"],[1,"text-bold","text-dark","mb-3","mt-5","mt-lg-0",3,"ngClass"],["class","col-12 col-sm-12 col-xl-11 col-lg-11 col-md-11 mt-32",4,"ngFor","ngForOf"],[1,"col-12","col-sm-12","col-xl-11","col-lg-11","col-md-11","mt-32"],[1,"d-flex","align-items-center"],[1,"aiPortraitIconBg","text-bold","d-flex","align-items-center","justify-content-center","border-radius-20","text-primary","text-xxl"],[1,"text-24","text-dark","text-bold","ml-10","lh-h5","mb-0"],[1,"text-lg","text-dark",2,"margin-left","77px"]],template:function(k,C){1&k&&(s.j41(0,"div",0)(1,"div",1)(2,"div",2),s.nrm(3,"img",3),s.k0s(),s.j41(4,"div",4)(5,"div",5)(6,"h2",6),s.EFF(7),s.k0s(),s.DNE(8,j,8,3,"div",7),s.k0s()()()()),2&k&&(s.Y8G("ngStyle",s.eq3(7,t,C.area.bgColors)),s.R7$(),s.Y8G("ngClass",C.env.isMobileView?"mt-10":"mt-13"),s.R7$(2),s.Y8G("src",C.getImgUrl(C.area),s.B4B)("alt",null==C.area||null==C.area.metadata?null:C.area.metadata.altText),s.R7$(3),s.Y8G("ngClass",C.env.isMobileView?"text-28 lh-35 text-center":"text-32 lh-h12"),s.R7$(),s.JRh(C.area.title),s.R7$(),s.Y8G("ngForOf",C.area.steps))},dependencies:[i.YU,i.Sq,i.B3]}
1),R})()},47114:(z,D,o)=>{o.d(D,{_:()=>A});var s=o(27707),e=o(54438),i=o(68287),t=o(60177),j=o(33391);const $=["carousel"],I=b=>({background:b}),R=b=>({"area-inner":b}),E=b=>({"mb-14":b});function k(b,V){if(1&b){const G=e.RV6();e.j41(0,"li",9)(1,"a",10),e.bIt("click",function(){const h=e.eBV(G).index,n=e.XpG();return e.Njj(n.goToSlide("ngb-slide-"+h))}),e.EFF(2),e.k0s()()}if(2&b){const G=V.$implicit,O=V.index,h=e.XpG();e.Y8G("ngClass",h.ActiveId=="ngb-slide-"+O?"active":""),e.R7$(2),e.JRh(G.text)}}function C(b,V){if(1&b){const G=e.RV6();e.j41(0,"div")(1,"img",14),e.bIt("mouseover",function(){e.eBV(G);const h=e.XpG(3);return e.Njj(h.togglePaused(!0))})("mouseout",function(){e.eBV(G);const h=e.XpG(3);return e.Njj(h.togglePaused(!1))}),e.k0s()()}if(2&b){const G=e.XpG(2).$implicit;e.R7$(),e.Y8G("alt",G.images[0].altText)("src",G.images[0].url,e.B4B)}}function M(b,V){if(1&b){const G=e.RV6();e.j41(0,"h3",12),e.bIt("mouseover",function(){e.eBV(G);const h=e.XpG(2);return e.Njj(h.togglePaused(!0))})("mouseout",function(){e.eBV(G);const h=e.XpG(2);return e.Njj(h.togglePaused(!1))}),e.EFF(1),e.k0s(),e.DNE(2,C,2,2,"div",13)}if(2&b){const G=e.XpG().$implicit,O=e.XpG();e.Y8G("ngClass",e.eq3(3,E,!(O.area.metadata&&1==O.area.metadata.variant))),e.R7$(),e.JRh(G.textBelow),e.R7$(),e.Y8G("ngIf",G.images&&G.images.length>0)}}function x(b,V){1&b&&e.DNE(0,M,3,5,"ng-template",11),2&b&&e.Mz_("id","ngb-slide-",V.index,"")}let A=(()=>{var b;class V{constructor(O){this.env=O,this.imgUrl="",this.altText="",this.ActiveId="ngb-slide-0",this.timeIntervel=2e3,this.tools=s.Ed.ProductShowcaseAnimatedBanner.nav.items,this.tabcount=new Array(Math.ceil(this.tools.length/2))}ngOnInit(){if(this.area.links&&this.area.links.length>0&&this.area.links[0].images&&this.area.links[0].images.length>0){let O=this.area.links[0];this.imgUrl=O?.images[0].url,this.altText=O?.images[0].altText}else this.imgUrl=this.area.img1}togglePaused(O=!1){O?this.carousel.pause():this.carousel.cycle()}onSlide(O){this.ActiveId=O.current}goToSlide(O){this.carousel.select(O)}}return(b=V).\u0275fac=function(O){return new(O||b)(e.rXU(i.L))},b.\u0275cmp=e.VBU({type:b,selectors:[["story-animated-banner-area"]],viewQuery:function(O,h){if(1&O&&e.GBs($,7),2&O){let n;e.mGM(n=e.lsd())&&(h.carousel=n.first)}},inputs:{area:"area"},decls:10,vars:16,consts:[["carousel",""],[1,"mx-auto","padding-top-bottom100",3,"ngStyle","ngClass"],[1,"text-dark","text-bold","text-center",3,"ngClass"],[1,"pt-14","position-relative","animatedBannerArea"],[1,"tab-div-show","mb-4","new-scroll-behave",3,"mouseover","mouseout","ngClass"],[1,"list-unstyled","carousel-indicators-btn","p-1","pe-0"],["class","p-0 pointer me-2 d-flex align-items-center text-semi",3,"ngClass",4,"ngFor","ngForOf"],[2,"z-index","1",3,"slide","interval","pauseOnHover","pauseOnFocus"],[4,"ngFor","ngForOf"],[1,"p-0","pointer","me-2","d-flex","align-items-center","text-semi",3,"ngClass"],["data-toggle","tab",1,"d-flex","align-items-center","justify-content-center","w-100","h-100","pl-12","pr-12",3,"click"],["ngbSlide","",3,"id"],[1,"text-24","text-dark","text-semi","text-center","mx-auto","mb-4",2,"width","fit-content",3,"mouseover","mouseout","ngClass"],[4,"ngIf"],["loading","lazy",1,"responsive","mx-auto",3,"mouseover","mouseout","alt","src"]],template:function(O,h){if(1&O){const n=e.RV6();e.j41(0,"div",1)(1,"h2",2),e.EFF(2),e.k0s(),e.j41(3,"div",3)(4,"div",4),e.bIt("mouseover",function(){return e.eBV(n),e.Njj(h.togglePaused(!0))})("mouseout",function(){return e.eBV(n),e.Njj(h.togglePaused(!1))}),e.j41(5,"ul",5),e.DNE(6,k,3,2,"li",6),e.k0s()(),e.j41(7,"ngb-carousel",7,0),e.bIt("slide",function(r){return e.eBV(n),e.Njj(h.onSlide(r))}),e.DNE(9,x,1,2,null,8),e.k0s()()()}2&O&&(e.Y8G("ngStyle",e.eq3(10,I,h.area.bgColors))("ngClass",e.eq3(12,R,!(h.area.metadata&&1==h.area.metadata.variant))),e.R7$(),e.Y8G("ngClass",h.env.isMobileView?"text-28 lh-35":"text-32 lh-h12"),e.R7$(),e.JRh(h.area.title),e.R7$(2),e.Y8G("ngClass",e.eq3(14,E,!(h.area.metadata&&1==h.area.metadata.variant))),e.R7$(2),e.Y8G("ngForOf",h.area.links),e.R7$(),e.Y8G("interval",h.timeIntervel)("pauseOnHover",!1)("pauseOnFocus",!1),e.R7$(2),e.Y8G("ngForOf",h.area.links))},dependencies:[t.YU,t.Sq,t.bT,t.B3,j.Oj,j.bD],styles:["@media (max-width: 1081px){.tab-div-show[_ngcontent-%COMP%]   .carousel-indicators-btn[_ngcontent-%COMP%]{flex-wrap:wrap;height:auto!important;width:fit-content!important}.tab-div-show[_ngcontent-%COMP%]   .carousel-indicators-btn[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:auto!important}.tab-div-show[_ngcontent-%COMP%]   .carousel-indicators-btn[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding-left:29px!important;padding-right:29px!important;width:auto!important}}@media (min-width: 1082px){.mobile-div-show[_ngcontent-%COMP%]{display:none}.tab-div-show[_ngcontent-%COMP%]{display:block}}
1.image-wrraper[_ngcontent-%COMP%]{min-height:655px}@media (max-width: 767px){.image-wrraper[_ngcontent-%COMP%]{min-height:auto!important}.tab-div-show[_ngcontent-%COMP%]{overflow:auto;margin-left:-16px;width:calc(100% + 32px)}.tab-div-show[_ngcontent-%COMP%]   .carousel-indicators-btn[_ngcontent-%COMP%]{flex-wrap:nowrap!important;margin-left:16px;margin-right:16px}}.new-scroll-behave[_ngcontent-%COMP%]{-ms-overflow-style:none;scrollbar-width:none}.new-scroll-behave[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}"]}),V})()},82126:(z,D,o)=>{o.d(D,{C:()=>R});var s=o(54438),e=o(79301),i=o(68287),t=o(60177),j=o(77616);const $=(E,k,C)=>({"img-active":E,"p-7":k,"m-7":C});function I(E,k){if(1&E){const C=s.RV6();s.j41(0,"div",16),s.bIt("click",function(){const x=s.eBV(C),A=x.$implicit,b=x.index,V=s.XpG();return s.Njj(V.onImageSelect(b,A.url))}),s.j41(1,"picture"),s.nrm(2,"source",14),s.nI1(3,"imgwebp"),s.nrm(4,"img",17),s.k0s(),s.j41(5,"div",18),s.EFF(6),s.k0s()()}if(2&E){const C=k.$implicit,M=k.index,x=s.XpG();s.Y8G("ngClass",s.sMw(7,$,M===x.selectedImageId,x.env.isMobileView,!x.env.isMobileView)),s.R7$(2),s.FS9("srcset",s.bMT(3,5,C.url)),s.R7$(2),s.FS9("src",C.url,s.B4B),s.Y8G("alt",C.altText),s.R7$(2),s.JRh(C.text)}}let R=(()=>{var E;class k{constructor(M,x){this.commonService=M,this.env=x,this.selectedImageId=3,this.imgurl=""}ngOnInit(){this.onImageSelect(this.selectedImageId,this.area.images[3].url)}getAction(M){return[`${M.split("?")[0]}`]}getQueryParams(M){return this.commonService.getQueryParams(M)}onImageSelect(M,x){this.selectedImageId=M,this.imgurl=x}}return(E=k).\u0275fac=function(M){return new(M||E)(s.rXU(e.h),s.rXU(i.L))},E.\u0275cmp=s.VBU({type:E,selectors:[["image-preview-area"]],inputs:{area:"area",even:"even"},decls:20,vars:13,consts:[[1,"bg-grey","w-100"],[1,"container-fluid","area-inner","pad-md"],[1,"row","g-0"],[1,"d-flex","text-center",3,"ngClass"],[1,"col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0"],[1,"col-xl-11","col-lg-11","mx-auto","p-0"],[1,"text-dark","text-bold","mb-0",3,"ngClass"],[1,"text-24","text-dark","lh-140","text-semi","mt-13","mb-0"],[1,"container-fluid","p-0"],[1,"row","g-0","align-items-center","justify-content-center",3,"ngClass"],[1,"col-md-6","col-xl-6","col-lg-6",3,"ngClass"],[1,"row","g-0","align-items-center",3,"ngClass"],["class","col-6 col-xl-5 col-lg-5 col-md-5 col-sm-6 pointer d-lg-block d-md-block",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"col-md-6","col-xl-6","col-lg-6","ms-0","ms-lg-6",3,"ngClass"],["type","image/webp",3,"srcset"],["loading","lazy","width","583px","height","583px",1,"responsive","border-radius-24",3,"src"],[1,"col-6","col-xl-5","col-lg-5","col-md-5","col-sm-6","pointer","d-lg-block","d-md-block",3,"click","ngClass"],["loading","lazy","width","238px","height","238px",1,"responsive","border-radius-24",3,"src","alt"],[1,"img-heading","mt-2","text-lg","grey-800"]],template:function(M,x){1&M&&(s.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"h2",6),s.EFF(7),s.k0s(),s.j41(8,"p",7),s.EFF(9),s.k0s()(),s.j41(10,"div",8)(11,"div",9)(12,"div",10)(13,"div",11),s.DNE(14,I,7,11,"div",12),s.k0s()(),s.j41(15,"div",13)(16,"picture"),s.nrm(17,"source",14),s.nI1(18,"imgwebp"),s.nrm(19,"img",15),s.k0s()()()()()()()()()),2&M&&(s.R7$(3),s.Y8G("ngClass",x.env.isMobileView?"pt-10 pb-10":"pt-13 pb-13"),s.R7$(3),s.Y8G("ngClass",x.env.isMobileView?"text-28 lh-35":"text-32 lh-h12"),s.R7$(),s.JRh(x.area.title),s.R7$(2),s.SpI("",x.area.subTitle," "),s.R7$(2),s.Y8G("ngClass",x.env.isMobileView?"mt-10 pt-10":"mt-14 pt-10"),s.R7$(),s.Y8G("ngClass",x.env.isMobileView?"order-2":""),s.R7$(),s.Y8G("ngClass",x.env.isMobileView?"mt-12":""),s.R7$(),s.Y8G("ngForOf",x.area.images),s.R7$(),s.Y8G("ngClass",x.env.isMobileView?"order-1":""),s.R7$(2),s.FS9("srcset",s.bMT(18,11,x.imgurl)),s.R7$(2),s.Y8G("src",x.imgurl,s.B4B))},dependencies:[t.YU,t.Sq,j.m],styles:[".area-section[_ngcontent-%COMP%]{padding:20px 100px}"]}),k})()},20396:(z,D,o)=>{o.d(D,{w:()=>G});var s=o(16478),e=o(54438),i=o(49449),t=o(68010),j=o(74710),$=o(10634),I=o(68287),R=o(91367),E=o(60177);
1function k(O,h){if(1&O&&(e.j41(0,"div",12),e.EFF(1),e.k0s()),2&O){const n=e.XpG(2);e.R7$(),e.SpI("",n.paymentConfig.aiDailyFreeCredits," credits daily")}}function C(O,h){if(1&O&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"currency"),e.k0s()),2&O){const n=e.XpG(2);e.R7$(),e.SpI(" ",e.ii3(2,1,0,n.selectedProduct.currency.toUpperCase(),"symbol","1.0-2"),".00/mo ")}}function M(O,h){if(1&O){const n=e.RV6();e.j41(0,"div")(1,"button",13),e.bIt("click",function(){e.eBV(n);const r=e.XpG(2);return e.Njj(r.upgradePro())}),e.EFF(2,"Get Started Now"),e.k0s()()}}function x(O,h){if(1&O&&(e.j41(0,"div",12),e.EFF(1),e.k0s()),2&O){const n=e.XpG(2);e.R7$(),e.SpI("",null==n.paymentConfig?null:n.paymentConfig.aiSubscriptionCredits," AI Credits/month + unlimited access to all pro features")}}function A(O,h){if(1&O&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"currency"),e.k0s()),2&O){const n=e.XpG(2);e.R7$(),e.SpI(" ",e.ii3(2,1,n.selectedProduct.unitAmount/100,n.selectedProduct.currency.toUpperCase(),"symbol","1.0-2"),"/mo")}}function b(O,h){if(1&O){const n=e.RV6();e.j41(0,"div")(1,"button",13),e.bIt("click",function(){e.eBV(n);const r=e.XpG(2);return e.Njj(r.upgradePro())}),e.EFF(2,"Buy Now"),e.k0s()()}}function V(O,h){if(1&O&&(e.j41(0,"div",1)(1,"div",2),e.EFF(2,"Upgrade Your Photos, Not Your Spending"),e.k0s(),e.j41(3,"div",3),e.EFF(4,"Choose a payment plan that works for you"),e.k0s(),e.j41(5,"div",4)(6,"div",5)(7,"div",6),e.EFF(8,"Free"),e.k0s(),e.DNE(9,k,2,1,"div",7),e.j41(10,"div",8),e.DNE(11,C,3,6,"span",9),e.k0s(),e.j41(12,"div",10),e.EFF(13,"No credit card required"),e.k0s(),e.DNE(14,M,3,0,"div",9),e.k0s(),e.j41(15,"div",11)(16,"div",6),e.EFF(17,"Premium"),e.k0s(),e.DNE(18,x,2,1,"div",7),e.j41(19,"div",8),e.DNE(20,A,3,6,"span",9),e.k0s(),e.j41(21,"div",10),e.EFF(22,"Billed monthly. Cancel anytime."),e.k0s(),e.DNE(23,b,3,0,"div",9),e.k0s()()()),2&O){const n=e.XpG();e.R7$(9),e.Y8G("ngIf",n.paymentConfig),e.R7$(2),e.Y8G("ngIf",n.selectedProduct),e.R7$(3),e.Y8G("ngIf",!n.user),e.R7$(4),e.Y8G("ngIf",n.paymentConfig),e.R7$(2),e.Y8G("ngIf",n.selectedProduct),e.R7$(3),e.Y8G("ngIf",!n.user||!n.user.subscribed)}}let G=(()=>{var O;class h{constructor(a,r,_,c,f,u){this.subsService=a,this.authService=r,this.router=_,this.paymentService=c,this.envService=f,this.loginService=u,this.t="month",this.user=this.authService.currentUser()}ngOnInit(){this.getProducts()}upgradePro(){if(this.envService.isMobileView&&this.envService.isiOS)return this.envService.openPlayStoreUrl(),!1;let a=0;this.user?(a=this.user.subscribed,a?this.router.navigate([s.b.AFTER_LOGIN_REDIRATION_URI]):this.subsService.upgradePlanCheckout("","","",r=>{this.user=this.authService.currentUser(),this.isSubscribed=this.user.subscribed})):this.envService.isMobileView?this.loginAndUpgrade():this.getStartedPremium()}loginAndUpgrade(){this.loginService.openLoginDialog(()=>{this.user=this.authService.currentUser(),this.user&&!this.user.subscribed&&this.subsService.upgradePlanCheckout("","","",()=>{this.user=this.authService.currentUser(),this.isSubscribed=this.user.subscribed})},!1)}getStartedPremium(){this.router.navigate(["./login"],{queryParams:{view:"login",returnUrl:this.router.url,action:"upgrade",from:this.router.url}})}getProducts(){this.paymentService.getPaymentProducts(a=>{if(a&&(this.paymentConfig=a.config,!this.selectedProduct)){let r=this.filterProductPlan(a.priceList,this.t);this.selectedProduct=r||a.priceList[0]}},a=>{})}filterProductPlan(a,r){let _=a.filter(c=>c.recurring?.interval===r);return _.length>0?_[0]:null}}return(O=h).\u0275fac=function(a){return new(a||O)(e.rXU(i.n),e.rXU(t.u),e.rXU(j.Ix),e.rXU($.W),e.rXU(I.L),e.rXU(R.H))},O.\u0275cmp=e.VBU({type:O,selectors:[["in-page-pricing"]],inputs:{area:"area",slug:"slug"},decls:1,vars:1,consts:[["class","text-center padding-top-bottom100","style","background: linear-gradient(90deg, #FFD464 -51.47%, #EF97F9 153.33%);",4,"ngIf"],[1,"text-center","padding-top-bottom100",2,"background","linear-gradient(90deg, #FFD464 -51.47%, #EF97F9 153.33%)"],[1,"text-32","text-bold"],[1,"text-lg","mt-3"],[1,"row","g-0","d-flex","justify-content-center","mt-13",2,"column-gap","24px"],[1,"col-xl-6","col-lg-6","col-sm","whiteBox","p-4"],[1,"text-32","text-semi"],["class","text-normal mt-2 h-40",4,"ngIf"],[1,"gradient-text","text-36","text-bold","mt-13"],[4,"ngIf"],[1,"text-normal","mt-2"],[1,"col-xl-6","col-lg-6","col-sm","whiteBox","p-4","mt-4","mt-lg-0"],[1,"text-normal","mt-2","h-40"],[1,"btn","btn-primary","btn-h48","text-semi","mt-13",3,"click"]],template:function(a,r){1&a&&e.DNE(0,V,24,6,"div",0),2&a&&e.Y8G("ngIf",!r.user||!r.user.subscribed)},dependencies:[E.bT,E.oe],styles:[".whiteBox[_ngcontent-%COMP%]{max-width:300px;width:300px;border-radius:20px;border:1px solid #FFF;background:#fff7f9;background-blend-mode:color-dodge,normal;-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px)}.gradient-text[_ngcontent-%COMP%]{background:var(--GRADIENT-Pro-Button, linear-gradient(273deg, #626ADF 0%, #A64DFF 100%));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}"]}),h})()},54300:(z,D,o)=>{o.d(D,{c:()=>k}
1);var s=o(68465),e=o(54438),i=o(68287),t=o(60177),j=o(77616);const $=C=>({"btn-tab-active":C}),I=C=>({"img-active":C});function R(C,M){if(1&C){const x=e.RV6();e.j41(0,"li",23)(1,"a",24),e.bIt("click",function(){const b=e.eBV(x).index,V=e.XpG();return e.Njj(V.itemSelect(b))}),e.EFF(2),e.k0s()()}if(2&C){const x=M.$implicit,A=M.index,b=e.XpG();e.Y8G("ngClass",e.eq3(2,$,A===b.selectedIndex)),e.R7$(2),e.SpI(" ",x.text,"")}}function E(C,M){if(1&C){const x=e.RV6();e.j41(0,"div",25),e.bIt("click",function(){const b=e.eBV(x),V=b.$implicit,G=b.index,O=e.XpG();return e.Njj(O.imageSelect(V.url,G))}),e.j41(1,"picture"),e.nrm(2,"source",21),e.nI1(3,"imgwebp"),e.nrm(4,"img",26),e.k0s(),e.j41(5,"div",27),e.EFF(6),e.k0s()()}if(2&C){const x=M.$implicit,A=M.index,b=e.XpG();e.Y8G("ngClass",e.eq3(8,I,A===b.selectedImageId)),e.R7$(2),e.FS9("srcset",e.bMT(3,6,null==x?null:x.url)),e.R7$(2),e.FS9("src",null==x?null:x.url,e.B4B),e.FS9("alt",null==x?null:x.altText),e.Y8G("ngClass",b.env.isMobileView?"border-radius-lg":"border-radius-24"),e.R7$(2),e.JRh(null==x?null:x.text)}}let k=(()=>{var C;class M{constructor(A){this.env=A,this.selectedIndex=0,this.imgurl="",this.selectedImageId=3,this.categoryId=s.KK.VideoTemplates}ngOnInit(){this.area&&this.area.links&&this.area.links.length&&this.itemSelect(this.selectedIndex)}itemSelect(A){this.selectedIndex=A,this.selectedItem=this.area.links[A],this.selectedItem&&this.imageSelect(this.selectedItem?.images[this.selectedImageId].url,this.selectedImageId)}imageSelect(A,b){this.imgurl=A,this.selectedImageId=b}}return(C=M).\u0275fac=function(A){return new(A||C)(e.rXU(i.L))},C.\u0275cmp=e.VBU({type:C,selectors:[["remove-bg-preview-area"]],inputs:{area:"area"},decls:29,vars:13,consts:[[1,"bg-grey","area","w-100"],[1,"container-fluid",2,"max-width","1366px"],[1,"row","g-0","align-items-center"],[1,"d-flex","text-center","p-0","p-lg-3"],[1,"col-12","col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0"],[1,"",3,"ngClass"],[1,"tab-heading","text-bold","text-dark","mb-0",3,"ngClass"],[1,"tab-div-show","new-scroll-behave"],[1,"nav","nav-pills","tab-bg","mx-auto"],["class","nav-item btn-tab text-semi","style","width: 117px;",3,"ngClass",4,"ngFor","ngForOf"],["id","myTabContent2",1,"tab-content"],[1,"tab-pane","fade","show","active"],[1,"container-fluid","p-0"],[1,"col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0"],[1,""],[1,"text-24","text-semi","text-dark","mb-0",3,"ngClass"],[1,"row","g-0","align-items-center","justify-content-center",3,"ngClass"],[1,"col-md-6","col-xl-5","col-lg-5"],[1,"row","g-0"],["class","col-xl-5 col-lg-5 col-md-5 col-sm-3 col-3 p-2 pointer",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"col-md-6","col-xl-5","col-lg-5","ms-0","ms-lg-5","mt-4","mt-lg-0","mt-md-0"],["type","image/webp",3,"srcset"],["loading","lazy","width","610px","height","610px","alt","",1,"responsive","border-radius-24",3,"src"],[1,"nav-item","btn-tab","text-semi",2,"width","117px",3,"ngClass"],["data-toggle","tab",1,"d-flex","align-items-center","justify-content-center","w-100","h-100",3,"click"],[1,"col-xl-5","col-lg-5","col-md-5","col-sm-3","col-3","p-2","pointer",3,"click","ngClass"],["loading","lazy","width","238px","height","238px",1,"responsive",3,"src","ngClass","alt"],[1,"text-lg","grey-800","img-heading","text-semi","mt-2","d-none","d-lg-block","d-md-block"]],template:function(A,b){1&A&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"h2",6),e.EFF(7),e.k0s()(),e.j41(8,"div",5)(9,"div",7)(10,"ul",8),e.DNE(11,R,3,4,"li",9),e.k0s()()(),e.j41(12,"div",10)(13,"div",11)(14,"div",12)(15,"div",2)(16,"div",13)(17,"div",14)(18,"h3",15),e.EFF(19),e.k0s()()()(),e.j41(20,"div",16)(21,"div",17)(22,"div",18),e.DNE(23,E,7,10,"div",19),e.k0s()(),e.j41(24,"div",20)(25,"picture"),e.nrm(26,"source",21),e.nI1(27,"imgwebp"),e.nrm(28,"img",22),e.k0s()()()()()()()()()()()),2&A&&(e.R7$(5),e.Y8G("ngClass",b.env.isMobileView?"mt-13":"mt-15"),e.R7$(),e.Y8G("ngClass",b.env.isMobileView?"text-28 lh-35":"text-32 lh-h12"),e.R7$(),e.JRh(null==b.area?null:b.area.title),e.R7$(),e.Y8G("ngClass",b.env.isMobileView?"mt-13":"mt-14"),e.R7$(3),e.Y8G("ngForOf",null==b.area?null:b.area.links),e.R7$(7),e.Y8G("ngClass",b.env.isMobileView?"mt-13":"mt-14"),e.R7$(),e.JRh(null==b.selectedItem?null:b.selectedItem.textBelow),e.R7$(),e.Y8G("ngClass",b.env.isMobileView?"mt-13 mb-14":"mt-14 mb-15"),e.R7$(3),e.Y8G("ngForOf",null==b.selectedItem?null:b.selectedItem.images),e.R7$(3),e.FS9("srcset",e.bMT(27,11,b.imgurl)),e.R7$(2),e.FS9("src",b.imgurl,e.B4B))},dependencies:[t.YU,t.Sq,j.m],styles:[".ellipseb[_ngcontent-%COMP%]{top:4%;bottom:0}.ellipses[_ngcontent-%COMP%]{right:0;top:72px;bottom:0}.ringmask[_ngcontent-%COMP%]{left:0;top:12.84%}.polygon1[_ngcontent-%COMP%]{right:0;left:9%}@media (max-width: 576px){.polygon2[_ngcontent-%COMP%]{right:4%;width:96px;overflow:hidden}}.polygon2[_ngcontent-%COMP%]{right:4%}.polygon3[_ngcontent-%COMP%]{right:21%;bottom:0}.polygon4[_ngcontent-%COMP%]{left:0%;bottom:0}.p-60[_ngcontent-%COMP%]{padding:0 60px}@media (max-width: 576px){.p-60[_ngcontent-%COMP%]{padding:0 16px}}.tab-bg[_ngcontent-%COMP%]{background:#f1f1f1;max-width:627px;border:1px solid #E2E3E9;box-sizing:border-box;border-radius:16px}@media (max-width: 576px){.tab-heading[_ngcontent-%COMP%]{font-size:32px;line-height:43.58px}}.btn-tab[_ngcontent-%COMP%]{background:transparent;height:48px;border-radius:12px;color:#272b34;font-size:16px;align-items:center;display:flex;justify-content:center;margin:4px;cursor:pointer}.btn-tab[_ngcontent-%COMP%]:hover{background:#626adf0d;color:#272b34}.btn-tab-active[_ngcontent-%COMP%]{font-weight:700;background:#626adf!important;color:#fff!important;font-size:16px}
1.btn-tab-remBg[_ngcontent-%COMP%]{width:200px;background:#fff;height:48px;border-radius:12px;color:#272b34;font-size:16px;align-items:center;display:flex;justify-content:center;margin:3px;cursor:pointer;font-weight:600}.btn-tab-remBg[_ngcontent-%COMP%]:hover{background:#626adf0d;color:#272b34}@media (max-width: 576px){.btn-tab-remBg[_ngcontent-%COMP%]{width:135px;background:#fff;height:48px;border-radius:12px;color:#272b34;font-size:16px;align-items:center;display:flex;justify-content:center;margin:3px;cursor:pointer}.tab-bg[_ngcontent-%COMP%]{background:#f1f1f1;max-width:627px;border:1px solid #E2E3E9;box-sizing:border-box;border-radius:16px}}@media (min-width: 992px){.mb-lg-0[_ngcontent-%COMP%]{margin-bottom:0!important}}video[_ngcontent-%COMP%]::-webkit-media-controls{display:none!important}@media (max-width: 767px){.tab-div-show[_ngcontent-%COMP%]{overflow:hidden;overflow-x:auto;margin-left:-12px;width:calc(100% + 24px);padding:0 16px}.tab-div-show[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{white-space:nowrap;width:fit-content}.tab-div-show[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{white-space:nowrap;min-width:117px}.tab-div-show.new-scroll-behave[_ngcontent-%COMP%]{-ms-overflow-style:none;scrollbar-width:none}.tab-div-show.new-scroll-behave[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}}"]}),M})()},6977:(z,D,o)=>{o.d(D,{I:()=>t});var s=o(54438),e=o(60177);function i(j,$){if(1&j&&(s.qex(0),s.j41(1,"div",8)(2,"div",9)(3,"div",10),s.nrm(4,"img",11),s.k0s(),s.j41(5,"div",12)(6,"h3",13),s.EFF(7),s.k0s(),s.j41(8,"p",14),s.EFF(9),s.k0s()()()(),s.bVm()),2&j){const I=$.$implicit;s.R7$(4),s.Y8G("src",I.url,s.B4B)("alt",I.altUrl),s.R7$(3),s.JRh(I.title),s.R7$(2),s.JRh(I.desc)}}let t=(()=>{var j;class ${constructor(){}}return(j=$).\u0275fac=function(R){return new(R||j)},j.\u0275cmp=s.VBU({type:j,selectors:[["tutorial-area-v1"]],inputs:{area:"area"},decls:10,vars:3,consts:[[1,"container-fluid","p-0"],[1,"container-fluid","area-inner","p-top-bottom"],[1,"p-0"],[1,"mx-auto","mt-13","text-center",2,"max-width","800px"],[1,"text-dark","mb-0","text-32"],[1,"text-lg","text-dark","mt-1"],[1,"row","g-0","justify-content-between","mt-13","pt-8"],[4,"ngFor","ngForOf"],[1,"col-md-4","mt-2","mt-lg-0","p-2","steps-section-v1"],[1,"tutorialContentBox","bg-white","border-radius-24","h-100"],[1,""],["loading","lazy","height","280px","width","373px",1,"responsive",3,"src","alt"],[1,"p-4"],[1,"text-24","text-dark","text-bold","lh-140","mb-0"],[1,"text-lg","text-dark","mt-9","mb-0"]],template:function(R,E){1&R&&(s.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4),s.EFF(5),s.k0s(),s.j41(6,"p",5),s.EFF(7),s.k0s()()(),s.j41(8,"div",6),s.DNE(9,i,10,4,"ng-container",7),s.k0s()()()),2&R&&(s.R7$(5),s.JRh(E.area.title),s.R7$(2),s.JRh(E.area.desc1),s.R7$(2),s.Y8G("ngForOf",E.area.steps))},dependencies:[e.Sq],encapsulation:2}),$})()},74532:(z,D,o)=>{o.d(D,{m:()=>E});var s=o(88650),e=o(54438),i=o(33391),t=o(68287),j=o(60177),$=o(68064);const I=["videoElem"];function R(k,C){if(1&k){const M=e.RV6();e.j41(0,"a",11),e.bIt("click",function(){e.eBV(M);const A=e.XpG();return e.Njj(A.playVideo())}),e.nrm(1,"pi",12),e.k0s()}}let E=(()=>{var k;class C{constructor(x,A){this.modalService=x,this.env=A,this.isVideoPlaying=!1}ngOnInit(){}playVideo(){if(!this.isVideoPlaying){let x=this.area.links[0].url.split("=")[1];const A=this.modalService.open(s.P,{centered:!0,size:"xl",backdropClass:"bg-dark-blur",windowClass:"youtubevideo"});A.componentInstance.videoId=x,A.result.then(b=>{}).catch(b=>{})}}}return(k=C).\u0275fac=function(x){return new(x||k)(e.rXU(i.Bq),e.rXU(t.L))},k.\u0275cmp=e.VBU({type:k,selectors:[["story-video-tutorial-area"]],viewQuery:function(x,A){if(1&x&&e.GBs(I,5),2&x){let b;e.mGM(b=e.lsd())&&(A.videoElem=b.first)}},inputs:{area:"area"},decls:12,vars:7,consts:[["videoElem",""],[1,"area","w-100","bg-white"],[1,"container-fluid","area-inner","pad-md"],[1,"row","g-0"],[1,"mx-auto","p-0",2,"width","auto"],[1,"text-center",2,"max-width","760px"],[1,"text-dark","mb-0",3,"ngClass"],[1,"mt-14","mb-13","video-preview"],["loading","lazy","noloop","","width","768px","height","480px",1,"responsive",2,"max-width","768px","border-radius","16px",3,"src","alt"],[1,"btn-play","position-absolute","h-100","w-100","d-flex","align-items-center","justify-content-center"],["class","pointer",3,"click",4,"ngIf"],[1,"pointer",3,"click"],["name","playtutorialvideo",1,"f-120"]],template:function(x,A){1&x&&(e.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"h2",6),e.EFF(6),e.k0s()(),e.j41(7,"div",7),e.nrm(8,"img",8,0),e.j41(10,"div",9),e.DNE(11,R,2,0,"a",10),e.k0s()()()()()()),2&x&&(e.R7$(5),e.Y8G("ngClass",A.env.isMobileView?"text-28 lh-35":"text-32 lh-h12"),e.R7$(),e.JRh(A.area.title),e.R7$(2),e.Y8G("src",null==A.area||null==A.area.metadata?null:A.area.metadata.thumbUrl,e.B4B)("alt",null==A.area||null==A.area.metadata?null:A.area.metadata.altText),e.R7$(2),e.xc7("opacity",A.isVideoPlaying?0:1),e.R7$(),e.Y8G("ngIf",!A.isVideoPlaying))},dependencies:[j.YU,j.bT,$.b]}),C})()},93569:z=>{function D(I,R){if(!(I instanceof R))throw new TypeError("Cannot call a class as a function")}function o(I,R,E){return R in I?Object.defineProperty(I,R,{value:E,enumerable:!0,configurable:!0,writable:!0}):I[R]=E,I}function s(I,R){return function $(I){if(Array.isArray(I))return I}(I)||function j(I,R){if(typeof Symbol<"u"&&Symbol.iterator in Object(I)){var E=[],k=!0,C=!1,M=void 0;try{for(var x,A=I[Symbol.iterator]();!(k=(x=A.next()).done)&&(E.push(x.value),!R||E.length!==R);k=!0);}catch(b){C=!0,M=b}finally{try{k||null==A.return||A.return()}finally{if(C)throw M}}return E}}(I,R)||function i(I,R){if(I){if("string"==typeof I)return t(I,R);var E=Object.prototype.toString.call(I).slice(8,-1);return"Object"===E&&I.constructor&&(E=I.constructor.name),"Map"===E||"Set"===E?Array.from(I):"Arguments"===E||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?t(I,R):void 0}}
1(I,R)||function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(I,R){(null==R||R>I.length)&&(R=I.length);for(var E=0,k=new Array(R);E<R;E++)k[E]=I[E];return k}!function(){function I(n){return["elInY+elHeight","elCenterY-".concat(n=0<arguments.length&&void 0!==n?n:30),"elCenterY","elCenterY+".concat(n),"elOutY-elHeight"]}var R,E,k,C,M,x,A={fadeInOut:function(n,a){return a=1<arguments.length&&void 0!==a?a:0,{opacity:[I(0<arguments.length&&void 0!==n?n:30),[a,1,1,1,a]]}},fadeIn:function(n,a){return{opacity:[["elInY+elHeight",0<arguments.length&&void 0!==n?n:"elCenterY"],[1<arguments.length&&void 0!==a?a:0,1]]}},fadeOut:function(n,a){return{opacity:[[0<arguments.length&&void 0!==n?n:"elCenterY","elOutY-elHeight"],[1,1<arguments.length&&void 0!==a?a:0]]}},blurInOut:function(n,a){return a=1<arguments.length&&void 0!==a?a:20,{blur:[I(0<arguments.length&&void 0!==n?n:100),[a,0,0,0,a]]}},blurIn:function(n,a){return{blur:[["elInY+elHeight",0<arguments.length&&void 0!==n?n:"elCenterY"],[1<arguments.length&&void 0!==a?a:20,0]]}},blurOut:function(n,a){return{opacity:[[0<arguments.length&&void 0!==n?n:"elCenterY","elOutY-elHeight"],[0,1<arguments.length&&void 0!==a?a:20]]}},scaleInOut:function(n,a){return a=1<arguments.length&&void 0!==a?a:.6,{scale:[I(0<arguments.length&&void 0!==n?n:100),[a,1,1,1,a]]}},scaleIn:function(n,a){return{scale:[["elInY+elHeight",0<arguments.length&&void 0!==n?n:"elCenterY"],[1<arguments.length&&void 0!==a?a:.6,1]]}},scaleOut:function(n,a){return{scale:[[0<arguments.length&&void 0!==n?n:"elCenterY","elOutY-elHeight"],[1,1<arguments.length&&void 0!==a?a:.6]]}},slideX:function(n,a){return{translateX:[["elInY",0<arguments.length&&void 0!==n?n:0],[0,1<arguments.length&&void 0!==a?a:500]]}},slideY:function(n,a){return{translateY:[["elInY",0<arguments.length&&void 0!==n?n:0],[0,1<arguments.length&&void 0!==a?a:500]]}},spin:function(n,a){return{rotate:[[0,n=0<arguments.length&&void 0!==n?n:1e3],[0,1<arguments.length&&void 0!==a?a:360],{modValue:n}]}},flipX:function(n,a){return{rotateX:[[0,n=0<arguments.length&&void 0!==n?n:1e3],[0,1<arguments.length&&void 0!==a?a:360],{modValue:n}]}},flipY:function(n,a){return{rotateY:[[0,n=0<arguments.length&&void 0!==n?n:1e3],[0,1<arguments.length&&void 0!==a?a:360],{modValue:n}]}},jiggle:function(n,a){return{skewX:[[0,+(n=0<arguments.length&&void 0!==n?n:50),2*n,3*n,4*n],[0,a=1<arguments.length&&void 0!==a?a:40,0,-a,0],{modValue:4*n}]}},seesaw:function(n,a){return{skewY:[[0,+(n=0<arguments.length&&void 0!==n?n:50),2*n,3*n,4*n],[0,a=1<arguments.length&&void 0!==a?a:40,0,-a,0],{modValue:4*n}]}},zigzag:function(n,a){return{translateX:[[0,+(n=0<arguments.length&&void 0!==n?n:100),2*n,3*n,4*n],[0,a=1<arguments.length&&void 0!==a?a:100,0,-a,0],{modValue:4*n}]}},hueRotate:function(n,a){return{"hue-rotate":[[0,n=0<arguments.length&&void 0!==n?n:600],[0,1<arguments.length&&void 0!==a?a:360],{modValue:n}]}}},b=(R=["perspective","scaleX","scaleY","scale","skewX","skewY","skew","rotateX","rotateY","rotate"],E=["blur","hue-rotate","brightness"],k=["translateX","translateY","translateZ"],C=["perspective","border-radius","blur","translateX","translateY","translateZ"],M=["hue-rotate","rotate","rotateX","rotateY","skew","skewX","skewY"],x={easeInQuad:function(n){return n*n},easeOutQuad:function(n){return n*(2-n)},easeInOutQuad:function(n){return n<.5?2*n*n:(4-2*n)*n-1},easeInCubic:function(n){return n*n*n},easeOutCubic:function(n){return--n*n*n+1},easeInOutCubic:function(n){return n<.5?4*n*n*n:(n-1)*(2*n-2)*(2*n-2)+1},easeInQuart:function(n){return n*n*n*n},easeOutQuart:function(n){return 1- --n*n*n*n},easeInOutQuart:function(n){return n<.5?8*n*n*n*n:1-8*--n*n*n*n},easeInQuint:function(n){return n*n*n*n*n},easeOutQuint:function(n){return 1+--n*n*n*n*n},easeInOutQuint:function(n){return n<.5?16*n*n*n*n*n:1+16*--n*n*n*n*n},easeOutBounce:function(n){var a=7.5625,r=2.75;return n<1/r?a*n*n:n<2/r?a*(n-=1.5/r)*n+.75:n<2.5/r?a*(n-=2.25/r)*n+.9375:a*(n-=2.625/r)*n+.984375},easeInBounce:function(n){return 1-x.easeOutBounce(1-n)},easeOutBack:function(n){return 1+2.70158*Math.pow(n-1,3)+1.70158*Math.pow(n-1,2)},easeInBack:function(n){return 2.70158*n*n*n-1.70158*n*n}},new function n(){var a=this;D(this,n),o(this,"drivers",[]),o(this,"elements",[]),o(this,"frame",0),o(this,"debug",!1),o(this,"windowWidth",0),o(this,"windowHeight",0),o(this,"presets",A),o(this,"debugData",{frameLengths:[]}),o(this,"init",function(){a.findAndAddElements(),window.requestAnimationFrame(a.onAnimationFrame),a.windowWidth=document.body.clientWidth,a.windowHeight=document.body.clientHeight,window.onresize=a.onWindowResize}),o(this,"onWindowResize",function(){document.body.clientWidth===a.windowWidth&&document.body.clientHeight===a.windowHeight||(a.windowWidth=document.body.clientWidth,a.windowHeight=document.body.clientHeight,a.elements.forEac
1h(function(r){return r.calculateTransforms()}))}),o(this,"onAnimationFrame",function(r){a.debug&&(a.debugData.frameStart=Date.now());var _,c={};a.drivers.forEach(function(f){c[f.name]=f.getValue(a.frame)}),a.elements.forEach(function(f){f.update(c,a.frame)}),a.debug&&a.debugData.frameLengths.push(Date.now()-a.debugData.frameStart),a.frame%60==0&&a.debug&&(_=Math.ceil(a.debugData.frameLengths.reduce(function(f,u){return f+u},0)/60),console.log("Average frame calculation time: ".concat(_,"ms")),a.debugData.frameLengths=[]),a.frame++,window.requestAnimationFrame(a.onAnimationFrame)}),o(this,"addDriver",function(r,_){a.drivers.push(new O(r,_,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}))}),o(this,"removeDriver",function(r){a.drivers=a.drivers.filter(function(_){return _.name!==r})}),o(this,"findAndAddElements",function(){a.elements=[],document.querySelectorAll(".lax").forEach(function(r){var _=[];r.classList.forEach(function(f){f.includes("lax_preset")&&(f=f.replace("lax_preset_",""),_.push(f))});var c=o({},"scrollY",{presets:_});a.elements.push(new h(".lax",a,r,c,0,{}))})}),o(this,"addElements",function(r,_,c){document.querySelectorAll(r).forEach(function(f,u){a.elements.push(new h(r,a,f,_,u,c))})}),o(this,"removeElements",function(r){a.elements=a.elements.filter(function(_){return _.selector!==r})}),o(this,"addElement",function(r,_,c){a.elements.push(new h("",a,r,_,0,c))}),o(this,"removeElement",function(r){a.elements=a.elements.filter(function(_){return _.domElement!==r})})});function V(n,a){if(Array.isArray(n))return n;for(var r=Object.keys(n).map(function(u){return parseInt(u)}).sort(function(u,F){return F<u?1:-1}),_=r[r.length-1],c=0;c<r.length;c++){var f=r[c];if(a<f){_=f;break}}return n[_]}function G(n,S,r){var _=S.width,c=S.height,N=S.x,H=S.y;if("number"==typeof n)return n;var f,u=document.body.scrollHeight,F=document.body.scrollWidth,L=window.innerWidth,K=window.innerHeight,X=(S=(X=s((f=void 0!==window.pageXOffset,X="CSS1Compat"===(document.compatMode||""),S=f?window.pageXOffset:(X?document.documentElement:document.body).scrollLeft,[f?window.pageYOffset:(X?document.documentElement:document.body).scrollTop,S]),2))[0],(N+=X[1])+_);return S=(H+=S)+c,Function("return ".concat(n.replace(/screenWidth/g,L).replace(/screenHeight/g,K).replace(/pageHeight/g,u).replace(/pageWidth/g,F).replace(/elWidth/g,_).replace(/elHeight/g,c).replace(/elInY/g,H-K).replace(/elOutY/g,S).replace(/elCenterY/g,H+c/2-K/2).replace(/elInX/g,N-L).replace(/elOutX/g,X).replace(/elCenterX/g,N+_/2-L/2).replace(/index/g,r)))()}function O(n,a){var r=this,_=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};D(this,O),o(this,"getValueFn",void 0),o(this,"name",""),o(this,"lastValue",0),o(this,"frameStep",1),o(this,"m1",0),o(this,"m2",0),o(this,"inertia",0),o(this,"inertiaEnabled",!1),o(this,"getValue",function(c){var f=r.lastValue;return c%r.frameStep==0&&(f=r.getValueFn(c)),r.inertiaEnabled&&(r.m1=.8*r.m1+(c=f-r.lastValue)*(1-.8),r.m2=.8*r.m2+r.m1*(1-.8),r.inertia=Math.round(5e3*r.m2)/15e3),r.lastValue=f,[r.lastValue,r.inertia]}),this.name=n,this.getValueFn=a,Object.keys(_).forEach(function(c){r[c]=_[c]}),this.lastValue=this.getValueFn(0)}function h(n,a,r,_){var c=this,f=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,F=5<arguments.length&&void 0!==arguments[5]?arguments[5]:{};D(this,h),o(this,"domElement",void 0),o(this,"transformsData",void 0),o(this,"styles",{}),o(this,"selector",""),o(this,"groupIndex",0),o(this,"laxInstance",void 0),o(this,"onUpdate",void 0),o(this,"update",function(L,K){var N,X=c.transforms,H={};for(N in X){var S=X[N];L[N]||console.error("No lax driver with name: ",N);var J,Z=s(L[N],2),W=Z[0],m=Z[1];for(J in S){var y,l=(Q=s(S[J],3))[0],d=Q[1],p=(q=void 0===(ie=Q[2])?{}:ie).modValue,T=void 0===(ne=q.frameStep)?1:ne,te=q.easing,Q=q.inertia,ie=q.inertiaMode,ne=q.cssFn,q=void 0===(q=q.cssUnit)?"":q;te=x[te],K%T==0&&(te=function(w,U,v,g){var P=0;if(w.forEach(function(ee){ee<v&&P++}),P<=0)return U[0];if(P>=w.length)return U[w.length-1];var B,Y=(Y=w[B=P-1],(v-Y)/((w=w[P])-Y));return g&&(Y=g(Y)),(B=U[B])*(1-Y)+(U=U[P])*Y}(l,d,p?W%p:W,te),Q&&(y=m*Q,"absolute"===ie&&(y=Math.abs(y)),te+=y),y="px"==(q||C.includes(J)?"px":M.includes(J)?"deg":"")?0:3,y=te.toFixed(y),H[J]=ne?ne(y,c.domElement):y+q)}}c.applyStyles(H),c.onUpdate&&c.onUpdate(L,c.domElement)}),o(this,"calculateTransforms",function(){c.transforms={};var L,K=c.laxInstance.windowWidth;for(L in c.transformsData)!function(N){var X=c.transformsData[N],H={},S=X.presets;
1for(var J in(void 0===S?[]:S).forEach(function(l){var W,d,m=(d=s(l.split(":"),3))[0],y=d[1];l=d[2],(d=window.lax.presets[m])?(W=d(y,l),Object.keys(W).forEach(function(p){X[p]=W[p]})):console.error("Lax preset cannot be found with name: ",m)}),delete X.presets,X)!function(Z){var y=void 0===(l=(W=s(X[Z],3))[0])?[-1e9,1e9]:l,l=void 0===(l=W[1])?[-1e9,1e9]:l,W=void 0===(W=W[2])?{}:W,m=c.domElement.getBoundingClientRect();y=V(y,K).map(function(d){return G(d,m,c.groupIndex)}),l=V(l,K).map(function(d){return G(d,m,c.groupIndex)}),H[Z]=[y,l,W]}(J);c.transforms[N]=H}(L)}),o(this,"applyStyles",function(L){var K,N,X,H=(K=L,N={transform:"",filter:""},X={translateX:1e-5,translateY:1e-5,translateZ:1e-5},Object.keys(K).forEach(function(S){var J=K[S],Z=C.includes(S)?"px":M.includes(S)?"deg":"";k.includes(S)?X[S]=J:R.includes(S)?N.transform+="".concat(S,"(").concat(J).concat(Z,") "):E.includes(S)?N.filter+="".concat(S,"(").concat(J).concat(Z,") "):N[S]="".concat(J).concat(Z," ")}),N.transform="translate3d(".concat(X.translateX,"px, ").concat(X.translateY,"px, ").concat(X.translateZ,"px) ").concat(N.transform),N);Object.keys(H).forEach(function(S){c.domElement.style.setProperty(S,H[S])})}),this.selector=n,this.laxInstance=a,this.domElement=r,this.transformsData=_,this.groupIndex=f;var u=void 0===(f=F.style)?{}:f;F=F.onUpdate,Object.keys(u).forEach(function(L){r.style.setProperty(L,u[L])}),F&&(this.onUpdate=F),this.calculateTransforms()}void 0!==z.exports?z.exports=b:window.lax=b}()}}]);

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.