PageSourceSearch

https://static.lightxeditor.com/web/4849.b6d0ac40d468b5b5.js

js lightxeditor.com collected 2026-10-01 11:33:55 UTC 27,759 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklightx=self.webpackChunklightx||[]).push([[4849],{80838:(S,A,s)=>{s.d(A,{P:()=>O});var t=s(50230),i=s(54438),g=s(24045),x=s(60177),e=s(33391);const C=(p,b)=>null==b?null:b.que,E=()=>({isV1:!0}),T=()=>({isV1:!1}),c=p=>({activefaq:p});function f(p,b){if(1&p&&(i.j41(0,"div",6)(1,"h2",7),i.EFF(2),i.k0s(),i.nrm(3,"p",8),i.k0s()),2&p){const u=b.$implicit;i.R7$(2),i.JRh(u.que),i.R7$(),i.Y8G("innerHTML",u.ans,i.npT)}}function m(p,b){if(1&p&&(i.j41(0,"div",3),i.Z7z(1,f,4,2,"div",6,C),i.k0s()),2&p){const u=i.XpG();i.R7$(),i.Dyx(null==u.area?null:u.area.qa)}}function r(p,b){if(1&p&&(i.j41(0,"div",4)(1,"div",9)(2,"h2",10),i.EFF(3),i.k0s()(),i.j41(4,"div",11)(5,"div",12)(6,"div",13)(7,"div",14),i.eu8(8,15),i.k0s()()()()()),2&p){const u=i.XpG(),h=i.sdS(4);i.R7$(3),i.JRh((null==u.area?null:u.area.title)||"Frequently Asked Questions"),i.R7$(5),i.Y8G("ngTemplateOutlet",h)("ngTemplateOutletContext",i.lJ4(3,E))}}function n(p,b){if(1&p&&(i.j41(0,"div",5)(1,"div",16)(2,"div",17)(3,"div",18)(4,"h2",19),i.EFF(5),i.k0s()(),i.j41(6,"div",20),i.eu8(7,15),i.k0s()()()()),2&p){const u=i.XpG(),h=i.sdS(4);i.R7$(5),i.JRh((null==u.area?null:u.area.title)||"Frequently Asked Questions"),i.R7$(2),i.Y8G("ngTemplateOutlet",h)("ngTemplateOutletContext",i.lJ4(3,T))}}function v(p,b){if(1&p&&i.nrm(0,"p",34),2&p){const u=i.XpG().$implicit,h=i.XpG().isV1;i.AVh("grey-800",!h),i.Y8G("innerHTML",u.ans,i.npT)}}function _(p,b){if(1&p&&(i.j41(0,"div",22,2)(2,"div",23)(3,"div",24)(4,"button",25)(5,"span",26),i.nrm(6,"i",27),i.k0s(),i.j41(7,"span",28),i.nrm(8,"i",29),i.k0s()(),i.j41(9,"button",30)(10,"h3",31),i.EFF(11),i.k0s()()()(),i.j41(12,"div",32)(13,"div",33),i.DNE(14,v,1,3,"ng-template"),i.k0s()()()),2&p){const u=b.$implicit,h=b.$index,M=i.sdS(1),U=i.XpG().isV1;i.Mz_("ngbAccordionItem","config-panel-",h,""),i.R7$(4),i.BMQ("name",U?"Toggle Button":"ToggleButton"),i.R7$(6),i.Y8G("ngClass",i.eq3(5,c,!M.collapsed)),i.R7$(),i.SpI(" ",u.que," ")}}function P(p,b){if(1&p&&(i.j41(0,"div",21,1),i.Z7z(2,_,15,7,"div",22,C),i.k0s()),2&p){const u=i.XpG();i.R7$(2),i.Dyx(null==u.area?null:u.area.qa)}}let O=(()=>{var p;class b{constructor(h){this.seoService=h,this.area=null,this.isJsonld=!0,this.version=null,this.faqScriptId="faqScript"}addJsonLdData(){const h=this.area?.qa;if(!this.isJsonld||!h?.length)return;const M={"@context":"https://schema.org","@type":"FAQPage",mainEntity:h.map(U=>({"@type":"Question",name:U.que,acceptedAnswer:{"@type":"Answer",text:U.ans}}))};this.seoService.addStructuredData(M,this.faqScriptId)}ngOnInit(){t.isScullyRunning()&&this.addJsonLdData()}ngOnDestroy(){this.seoService.removeScript(this.faqScriptId)}}return(p=b).\u0275fac=function(h){return new(h||p)(i.rXU(g.F))},p.\u0275cmp=i.VBU({type:p,selectors:[["story-faq-area"]],inputs:{area:"area",isJsonld:"isJsonld",version:"version"},decls:5,vars:1,consts:[["accordionContent",""],["acc","ngbAccordion"],["accItem","ngbAccordionItem"],[1,"for-video-templates","mb-10","pb-1"],[1,"for-api-dashbaord","w-100"],[1,"bottom-section","gray-100","faq-content","pt-60","pb-80","p-md-20"],[1,"d-flex","align-items-start","justify-content-center","w-100","border-radius-20","faq-card","flex-column","mb-3"],[1,"text-xxl","text-semi","text-black","mb-3","lh-125"],[1,"text-lg","grey-800","lh-160",3,"innerHTML"],[1,"mb-28"],[1,"text-black","text-semi","faq-v1-title"],[1,"bottom-section","faq-content","border-radius-20"],[1,"container-fluid","p-0"],[1,"row","g-0"],[1,"col-lg-12","ask-panel"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"container-fluid","area-inner","pad-md"],[1,"row"],[1,"col-lg-4"],[1,"left_title","grey-800","text-bold","mb-12","text-48"],[1,"col-lg-8","ask-panel"],["ngbAccordion","","activeIds","config-panel-0"],[3,"ngbAccordionItem"],["ngbAccordionHeader",""],[1,"d-flex","align-items-center","justify-content-between","sub-item","faq-sub-item"],["type","button","ngbAccordionButton","","aria-labelledby","NgbPanel Toggle","aria-label","Configuration Panel",1,"btn-link","btn-collapse","p-0","text-center"],[1,"text-sm","collapse-text","lh-none"],[1,"minus"],[1,"text-sm","expand-text","lh-none"],[1,"plus"],["type","button","ngbAccordionButton","",1,"btn-acc-title"],[1,"dropdown-toggle","toggle-link","dropdown-main","accordian-heading","text-semi","mb-0",3,"ngClass"],["ngbAccordionCollapse",""],["ngbAccordionBody",""],[1,"content-align","f
1st-normal","text-lg","text-regular","faq-answer",3,"innerHTML"]],template:function(h,M){1&h&&i.DNE(0,m,3,0,"div",3)(1,r,9,4,"div",4)(2,n,8,4,"div",5)(3,P,4,0,"ng-template",null,0,i.C5r),2&h&&i.vxM("template-faq"===M.version?0:"v1"===M.version?1:2)},dependencies:[x.YU,x.T3,e.WP,e.r6,e.tW,e.x7,e.UA,e.$R],styles:[".for-video-templates .faq-card{padding:24px 32px;background:#fff}.for-video-templates .faq-card b{font-weight:600!important}.for-video-templates .faq-card a{color:#8600c5}.for-video-templates .faq-card a:hover{text-decoration:underline}.for-video-templates .faq-card ul,.for-video-templates .faq-card ol{margin-bottom:20px}@media (max-width: 767px){.for-video-templates .faq-card{padding:0 0 32px;background:#f8f8fb}}.faq-sub-item{margin-bottom:19px}.faq-answer{padding-bottom:28px}.faq-v1-title{font-size:24px}\n"],encapsulation:2}),b})()},44242:(S,A,s)=>{s.d(A,{h:()=>x});var t=s(54438),i=s(68287),g=s(60177);let x=(()=>{var e;class C{constructor(T){this.env=T}ngOnInit(){}}return(e=C).\u0275fac=function(T){return new(T||e)(t.rXU(i.L))},e.\u0275cmp=t.VBU({type:e,selectors:[["story-heading-area"]],inputs:{area:"area"},decls:3,vars:2,consts:[[1,"row","g-0","align-items-center","ps-3","pe-3","ps-lg-0","pe-lg-0","mx-auto","area-inner","pad-md","pb-10",2,"max-width","778px","min-height","140px"],[1,"text-dark","text-center",3,"ngClass"]],template:function(T,c){1&T&&(t.j41(0,"div",0)(1,"h2",1),t.EFF(2),t.k0s()()),2&T&&(t.R7$(),t.Y8G("ngClass",c.env.isMobileView?"text-28 lh-35":"text-32 lh-h12 mt-13"),t.R7$(),t.SpI(" ",c.area.title,""))},dependencies:[g.YU]}),C})()},18928:(S,A,s)=>{s.d(A,{g:()=>r});var t=s(54438),i=s(68287),g=s(60177),x=s(74710);const e=(n,v)=>[n,v];function C(n,v){if(1&n&&(t.j41(0,"a",10),t.EFF(1),t.k0s()),2&n){const _=v.$implicit,P=t.XpG(3);t.Y8G("routerLink",t.l_i(2,e,"/"+(_.urlType||P.type),_.url)),t.R7$(),t.SpI(" ",_.text," ")}}function E(n,v){if(1&n&&(t.j41(0,"div",8),t.DNE(1,C,2,5,"a",9),t.k0s()),2&n){const _=t.XpG(2);t.R7$(),t.Y8G("ngForOf",_.area.links)}}function T(n,v){if(1&n&&(t.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"h2",6),t.EFF(5),t.k0s()(),t.DNE(6,E,2,1,"div",7),t.k0s()()()),2&n){const _=t.XpG();t.R7$(),t.Y8G("ngClass",_.env.isMobileView?"pt-0 pb-0":"pt-13 pb-13"),t.R7$(3),t.Y8G("ngClass",_.env.isMobileView?"text-28 lh-35":"text-32 lh-h12"),t.R7$(),t.JRh(_.area.title),t.R7$(),t.Y8G("ngIf",_.area.links)}}function c(n,v){if(1&n&&(t.j41(0,"a",17),t.EFF(1),t.k0s()),2&n){const _=v.$implicit,P=t.XpG(3);t.Y8G("routerLink",t.l_i(2,e,"/"+(_.urlType||P.type),_.url)),t.R7$(),t.SpI(" ",_.text," ")}}function f(n,v){if(1&n&&(t.j41(0,"div",15),t.DNE(1,c,2,5,"a",16),t.k0s()),2&n){const _=t.XpG(2);t.R7$(),t.Y8G("ngForOf",_.area.links)}}function m(n,v){if(1&n&&(t.j41(0,"div",11)(1,"div",12)(2,"div",4)(3,"div",5)(4,"h2",13),t.EFF(5),t.k0s()(),t.DNE(6,f,2,1,"div",14),t.k0s()()()),2&n){const _=t.XpG();t.R7$(),t.Y8G("ngClass",_.env.isMobileView?"pt-0 pb-0":"pt-13 pb-13"),t.R7$(3),t.Y8G("ngClass",_.env.isMobileView?"text-28 lh-35":"text-32 lh-h12"),t.R7$(),t.JRh(_.area.title),t.R7$(),t.Y8G("ngIf",_.area.links)}}let r=(()=>{var n;class v{constructor(P){this.env=P}}return(n=v).\u0275fac=function(P){return new(P||n)(t.rXU(i.L))},n.\u0275cmp=t.VBU({type:n,selectors:[["story-photo-footer-area"]],inputs:{area:"area",editorType:"editorType",type:"type"},decls:2,vars:2,consts:[["class","area w-100 bg-white",4,"ngIf"],["class","area w-100 gradientBg",4,"ngIf"],[1,"area","w-100","bg-white"],[1,"container-fluid","area-inner","area-inner-m","ps-3","pe-3","ps-lg-0","pe-lg-0",3,"ngClass"],[1,"row","g-0","align-items-center","pt-14","pb-14"],[1,"col-12","text-center"],[1,"text-dark",3,"ngClass"],["class","col-12 text-center mt-13 mobile-links d-flex flex-row flex-wrap justify-content-center align-items-center","style","row-gap: 16px;",4,"ngIf"],[1,"col-12","text-center","mt-13","mobile-links","d-flex","flex-row","flex-wrap","justify-content-center","align-items-center",2,"row-gap","16px"],["class","btn-all button ms-2 me-2 text-semi",3,"routerLink",4,"ngFor","ngForOf"],[1,"btn-all","button","ms-2","me-2","text-semi",3,"routerLink"],[1,"area","w-100","gradientBg"],[1,"container-fluid","area-inner","area-inner-m","pt-13","pb-13",3,"ngClass"],[1,"text-white",3,"ngClass"],["class","col-12 text-center mt-13",4,"ngIf"],[1,"col-12","text-center","mt-13"],["class","btn-all buttonApi ms-2 me-2 text-semi mb-3",3,"routerLink",4,"ngFor","ngForOf"],[1,"btn-all","buttonApi","ms-2","me-2","text-semi","mb-3",3,"routerLink"]],template:function(P,O){1&P&&t.DNE(0,T,7,4,"div",0)(1,m,7,4,"div",1),2&P&&(t.Y8G("ngIf","api"!=O.type),t.R7$(),t.Y8G("ngIf","api"==O.type))},dependencies:[g.YU,g.Sq,g.bT,x.Wk],styles:[".button[_ngcontent-%COMP%]{background-color:#0000000d;color:#272b34;min-height:54px;border-radius:20px;font-size:16px;padding:9px 24px;line-height:36px}.button[_ngcontent-%COMP%]:hover{background:#0000001a;text-decoration:none}.gradientBg[_ngcontent-%COMP%]{background:linear-gradient(76deg,#392d69 -3.33%,#b57bee 112.17%)}.buttonApi[_ngcontent-%COMP%]{background:linear-gradient(86deg,#f3deff 10.19%,#e0e2ff 87.32%),#fff;color:#272b34;min-height:48px;border-radius:44px;font-size:16px;border:1px solid #fff;padding:4px 24px;line-height:36px}.buttonApi[_ngcontent-%COMP%]:hover{background:linear-gradient(0deg,#626adf1a 0% 100%),linear-gradient(86deg,#f3deff 10.19%,#e0e2ff 87.32%),#fff;text-decoration:none}@media (max-width: 576px){.area-inner-m[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}.area-inner-m[_ngcontent-%COMP%]   .buttonApi[_ngcontent-%COMP%]{width:100%;margin-left:0!important;margin-right:0!important}}@media (max-width: 767px){.mobile-links[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;column-gap:8px;row-gap:8px}.area-inner-m[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{font-size:13px!important;height:40px!important;padding:16px 12px!important;width:initial!important;margin-right:0!important;margin-left:0!important;min-height:40px!important;display:inline-flex;align-items:center;justify-content:center;border-radius:16px!important;margin-bottom:0!important}}"]}),v})()},83100:(S,A,s)=>{s.d(A,{k:()=>z});var t=s(88450),i=s(16471),g=s(16478),x=s(79774),e=s(54438),C=s(630),E=s(32764),T=s(68287),c=s(74710),f=s(74983),m=s(6755),r=s(41300),n=s(11497),v=s(68010),_=s(88704),P=s(60177),O=s(46172);const p=l=>({even:l}),b=(l,y,o,a)=>({"order-2":l,"order-1":y,"order-md-2":o,"order-md-1":a}),u=(l,y,o,a)=>({"order-lg-1":l,"order-lg-2":y,"order-md-1":o,"order-md-2":a});function h(l,y){if(1&l&&(e.j41(0,"div")(1,"div",15)(2,"div",16),e.EFF(3),e.k0s(),e.j41(4,"div",17),e.nrm(5,"h4",18),e.k0s()(),e.j41(6,"div",19),e.nrm(7,"p",20),e.k0s()()),2&l){const o=e.XpG(),a=o.$implicit,d=o.index;e.R7$(3),e.SpI(" ",d+1," "),e.R7$(2),e.Y8G("innerHtml",null==a?null:a.title,e.npT),e.R7$(2),e.Y8G("innerHtml",null==a?null:a.desc,e.npT)}}function M(l,y){if(1&l&&(e.j41(0,"div",15)(1,"div",21),e.EFF(2),e.k0s(),e.j41(3,"div",17),e.nrm(4,"h4",18),e.k0s()()),2&l){const o=e.XpG(),a=o.$implicit,d=o.index;e.R7$(2),e.SpI(" ",d+1," "),e.R7$(2),e.Y8G("innerHtml",null==a?null:a.title,e.npT)}}function U(l,y){if(1&l&&(e.j41(0,"div",15)(1,"div",21),e.EFF(2),e.k0s(),e.j41(3,"div",5),e.nrm(4,"p",22),e.k0s()()),2&l){const o=e.XpG(),a=o.$implicit,d=o.index;e.R7$(2),e.SpI(" ",d+1," "),e.R7$(2),e.Y8G("innerHtml",null==a?null:a.desc,e.npT)}}function Y(l,y){if(1&l&&(e.j41(0,"div",13),e.DNE(1,h,8,3,"div",9)(2,M,5,2,"div",14)(3,U,5,2,"div",14),e.k0s()),2&l){const o=y.$implicit;e.R7$(),e.Y8G("ngIf",(null==o?null:o.title)&&(null==o?null:o.desc)),e.R7$(),e.Y8G("ngIf",!(null!=o&&o.desc)&&(null==o?null:o.title)),e.R7$(),e.Y8G("ngIf",(null==o?null:o.desc)&&!(null!=o&&o.title))}}function B(l,y){if(1&l&&(e.qex(0),e.DNE(1,Y,4,3,"div",12),e.bVm()),2&l){const o=e.XpG();e.R7$(),e.Y8G("ngForOf",null==o.area?null:o.area.steps)}}function L(l,y){if(1&l&&(e.j41(0,"a",26),e.EFF(1),e.k0s()),2&l){const o=e.XpG(2).$implicit,a=e.XpG(2);e.Y8G("routerLink",a.getAction(null==o?null:o.url))("queryParams",a.getQueryParams(null==o?null:o.url)),e.R7$(),e.SpI(" ",o.text," ")}}function X(l,y){if(1&l&&(e.qex(0),e.DNE(1,L,2,3,"a",25),e.bVm()),2&l){const o=e.XpG(3);e.R7$(),e.Y8G("ngIf",o.isUrlDrivenAction)}}function N(l,y){if(1&l){const o=e.RV6();e.qex(0),e.j41(1,"button",27),e.bIt("click",function(){e.eBV(o);const d=e.sdS(4),I=e.XpG(3);return e.Njj(I.genOrUploadClick(d))}),e.EFF(2),e.k0s(),e.j41(3,"input",28,0),e.bIt("change",function(d){e.eBV(o);const I=e.XpG(3);return e.Njj(I.onFileUploaded(d.srcElement.files))})("click",function(){e.eBV(o);const d=e.sdS(4);return e.Njj(d.value="")}
1),e.k0s(),e.bVm()}if(2&l){const o=e.XpG().$implicit,a=e.XpG(2);e.R7$(2),e.JRh(o.text),e.R7$(),e.Mz_("id","fileInput",a.index,""),e.Mz_("name","fileInput",a.index,""),e.Y8G("accept",a.fileUploadAccept)("multiple",a.multiple)}}function W(l,y){if(1&l&&(e.qex(0),e.DNE(1,X,2,1,"ng-container",9)(2,N,5,7,"ng-container",9),e.bVm()),2&l){const o=e.XpG(2);e.R7$(),e.Y8G("ngIf",o.isUrlDrivenAction),e.R7$(),e.Y8G("ngIf",!o.isUrlDrivenAction)}}function K(l,y){if(1&l&&(e.j41(0,"div",23),e.DNE(1,W,3,2,"ng-container",24),e.k0s()),2&l){const o=e.XpG();e.Y8G("ngClass",o.env.isMobileView?"mt-3":"mt-13"),e.R7$(),e.Y8G("ngForOf",o.area.links)}}function Q(l,y){if(1&l&&(e.j41(0,"div",29),e.nrm(1,"video-element",30),e.k0s()),2&l){const o=e.XpG();e.Y8G("ngClass",e.ziG(4,u,o.even,o.even,o.even,o.even)),e.R7$(),e.Y8G("url",o.imgUrl)("altText",o.altText)("even",o.even)}}const w=["image/bmp","image/x-windows-bmp","image/jpeg","image/pjpeg","image/png","image/webp"],F=["video/mp4","video/mov","video/ogg"];let z=(()=>{var l;class y{constructor(a,d,I,R,k,D,$,G,V,j){this.createPopupService=a,this.templateService=d,this.env=I,this.route=R,this.toastService=k,this.uploadImageService=D,this.dialogService=$,this.uploadVideoService=G,this.authService=V,this.storyImageProgress=j,this.accept="image/*",this.isProgress=!1,this.isUrlDrivenAction=!0,this.imgUrl="",this.videoUrl="",this.altText="",this.imgQueryParams={imageUrl:"",tabName:"",from:"",editorType:""},this.multiple=!1,this.user=this.authService.currentUser(),this.slug=this.route.snapshot.paramMap.get("slug")}ngOnInit(){this.toolName?this.isUrlDrivenAction=!1:(this.isUrlDrivenAction=!0,this.area&&this.area.metadata&&this.area.metadata?.toolName&&(this.isUrlDrivenAction=!1,this.toolName=this.area.metadata?.toolName,this.subTool=this.area.metadata?.subTool||this.subTool,this.editorType=this.area.metadata?.editorType)),this.editorType==i._Y.VideoEditor?(this.fileUploadAccept=this.uploadType==x.P.Video||"video"==this.uploadType?"video/mp4":this.uploadType==x.P.Image||"image"==this.uploadType?"image/*":"video/mp4, image/*",this.multiple=!0):this.editorType==i._Y.VideoTemplate?this.uploadType==x.P.Video||"video"==this.uploadType||this.uploadType==x.P.Image||"image"==this.uploadType?(this.fileUploadAccept=F.join(","),this.allowedMimeTypes=F):(this.fileUploadAccept="video/mp4, image/*",this.allowedMimeTypes=["image/*","video/mp4"]):(this.fileUploadAccept=w.join(","),this.allowedMimeTypes=w),this.area.images&&this.area.images.length>0&&(this.imgUrl=this.area?.images[0].url,this.altText=this.area?.images[0].altText)}genOrUploadClick(a=null){if(this.env.isMobileView&&this.env.isiOS)return this.env.openPlayStoreUrl(),!1;this.editorType!=i._Y.Photo||this.env.isMobileView?a&&a.click():this.onOpenUpload()}onFileUploaded(a){if(a.length)if(this.editorType==i._Y.VideoEditor)this.uploadVideoService.loadMultipleFilesUpload(a,{slug:this.slug,editorType:this.editorType,toolName:this.toolName||t.s.PROJECT});else{const d=a[0];if(this.allowedMimeTypes.indexOf(d.type)<0)return void this.toastService.showErrorSingle("image"==this.uploadType?g.b.message.validImageMessageForEdit:g.b.message.validVideoMessage);const I=URL.createObjectURL(d);this.loadInputImage(I,d)}}onOpenUpload(){this.env.isMobileView&&this.env.isiOS||this.env.isMobileView&&this.toolName!=g.b.tool.removeBg&&this.toolName!=g.b.tool.profileMaker&&this.subTool!=g.b.subTool.resize?this.env.openPlayStoreUrl():(this.imgQueryParams.from=this.slug,this.imgQueryParams.slug=this.slug,this.imgQueryParams.tabName=this.toolName,this.imgQueryParams.editorType=this.editorType,this.imgQueryParams.subTool=this.subTool,this.imgQueryParams.targetPage=this.targetPage,this.imgQueryParams.pid=this.uploadImageService?.storyMetaData?.productId?this.uploadImageService?.storyMetaData?.productId:"0",this.imgQueryParams.stagid=this.uploadImageService?.storyMetaData?.storeAddtlTagId?this.uploadImageService?.storyMetaData?.storeAddtlTagId:"0",this.imgQueryParams.storyProgressController=this.storyImageProgress,this.createPopupService.editorUploadImageModal(this.imgQueryParams,a=>{"removebg"==a&&(this.isProgress=!0)}))}loadInputImage(a,d){let I=0,R="";if(this.editorType==i._Y.VideoEditor?this.user&&this.user.subscribed?(I=g.b.uploadMediaSizeProUser,R=g.b.message.uploadVideoLimitSizeMsgs):(I=g.b.uploadMediaSizeFreeUser,R=g.b.message.uploadMediaLimitSizeMsg):(I=this.uploadVideoService.uploadVideoLimitSize,R=g.b.message.uploadVideoLimitSizeMsg),this.editorType==i._Y.VideoTemplate||this.editorType==i._Y.VideoEditor){if(Number(d.size/1048576)>I)return void this.toastService.showErrorOptions({msg:R,cssClass:"full"});this.templateService.needtoUploadVideoFile=d;const D=this.uploadVideoService.getMediaType(d?.name);let G=this.dialogService.showProgressEditor(D==x.P.Video?"Uploading Video":"Uploading Image");this.uploadVideoService.loadVideo(a,D).promise.then(V=>{this.uploadVideoService.loadInputVideo(this.slug,this.editorType,this.toolName,{videoUrl:V.src,width:V.videoWidth,height:V.videoHeight,duration:1e3*V.duration,mediaType:D,progress:G},()=>{G.close()})})}else this.env.isMobileView&&this.env.isiOS||this.env.isMobileView&&this.toolName!=g.b.tool.removeBg&&this.toolName!=g.b.tool.profileMaker&&this.subTool!=g.b.subTool.resize&&"airetouch"!=this.subTool&&!this.isAiToolsHubSectionUpload()?this.env.openPlayStoreUrl():(this.imgQueryParams.imageUrl=a,this.imgQueryParams.from=this.slug,this.imgQueryParams.tabName=this.toolName,this.imgQueryParams.editorType=this.editorType,this.imgQueryParams.subTool=this.subTool,this.imgQueryParams.targetPage=this.targetPage,this.imgQueryParams.storyProgressController=this.storyImageProgress,this.uploadImageService.loadInputImage(this.imgQueryParams,()=>{}))}isAiToolsHubSectionUpload(){const a=this.area?.metadata;return"uploadImage"===a?.methodName&&"aitools"===a?.toolName&&("eraser"===a?.subTool||"replace"===a?.subTool)}getAction(a){return[`${a.split("?")[0]}`]}getQueryParams(a){return this.templateService.getQueryParams(a)}}return(l=y).\u0275fac=function(a){return new(a||l)(e.rXU(C.A),e.rXU(E.I),e.rXU(T.L),e.rXU(c.nX),e.rXU(f.f),e.rXU(m.A),e.rXU(r.g),e.rXU(n.k),e.rXU(v.u),e.rXU(_.l))},l.\u0275cmp=e.VBU({type:l,selectors:[["story-section-area"]],inputs:{area:"area",even:"even",toolName:"toolName",editorType:"editorType",uploadType:"uploadType",index:"index",subTool:"subTool",targetPage:"targetPage"},decls:13,vars:15,consts:[["file",""],[1,"area","w-100","bg-grey2"],[1,"container-fluid","area-inner","pad-md","area-section",3,"ngClass"],[1,"row","g-0","align-items-center"],[1,"col-xl-6","col-lg-6","col-md-6","flex-column","text-content",3,"ngClass"],[1,""],[1,"title","text-bold",3,"ngClass"],[1,"mt-8"],[1,"content-text",3,"innerHtml"],[4,"ngIf"],["class","",3,"ngClass",4,"ngIf"],["class","col-xl-6 col-lg-6 col-md-6 text-center img-content",3,"ngClass",4,"ngIf"],["class","row g-0 mt-4",4,"ngFor","ngForOf"],[1,"row","g-0","mt-4"],["class","d-flex",4,"ngIf"],[1,"d-flex"],[1,"icon-bg-gradiant","d-flex","align-items-center","justify-content-center","text-blue","text-xl","text-semi","hw-56","border-radius-20"],[1,"ms-4",2,"padding-top","12px"],[1,"text-24","text-bold","text-dark","mb-0",3,"innerHtml"],[1,"ps-4",2,"margin-left","56px"],[1,"text-lg","text-dark",3,"innerHtml"],[1,"icon-bg-gradiant","d-flex","align-items-center","justify-content-center","text-blue","text-xl","text-semi","hw-40",2,"min-width","40px !important"],[1,"content-text","ms-4",3,"innerHtml"],[1,"",3,"ngClass"],[4,"ngFor","ngForOf"],["class","btn btn-primary btn-h48 mr-8","routerLinkActive","router-link-active",3,"routerLink","queryParams",4,"ngIf"],["routerLinkActive","router-link-active",1,"btn","btn-primary","btn-h48","mr-8",3,"routerLink","queryParams"],[1,"btn","btn-primary","btn-h48","mx-auto",3,"click"],["type","file",1,"custom-file-input","n-show","d-none","gtm-up-sec",3,"change","click","id","name","accept","multiple"],[1,"col-xl-6","col-lg-6","col-md-6","text-center","img-content",3,"ngClass"],[3,"url","altText","even"]],template:function(a,d){1&a&&(e.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"div")(6,"h2",6),e.EFF(7),e.k0s()(),e.j41(8,"div",7),e.nrm(9,"p",8),e.k0s(),e.DNE(10,B,2,1,"ng-container",9)(11,K,2,2,"div",10),e.k0s()(),e.DNE(12,Q,2,9,"div",11),e.k0s()()()),2&a&&(e.R7$(),e.Y8G("ngClass",e.eq3(8,p,d.even)),e.R7$(2),e.Y8G("ngClass",e.ziG(10,b,d.even,!d.even,d.even,!d.even)),e.R7$(3),e.Y8G("ngClass",d.env.isMobileView?"text-28 lh-35 mt-3 pb-1":"text-32 lh-h12"),e.R7$(),e.JRh(d.area.title),e.R7$(2),e.Y8G("innerHtml",d.area.desc1,e.npT),e.R7$(),e.Y8G("ngIf",null==d.area?null:d.area.steps),e.R7$(),e.Y8G("ngIf",d.area.links&&d.area.links.length),e.R7$(),e.Y8G("ngIf",d.imgUrl))},dependencies:[P.YU,P.Sq,P.bT,c.Wk,c.wQ,O.d]}),y})()},88704:(S,A,s)=>{s.d(A,{l:()=>T});var t=s(54438),i=s(60177),g=s(16478),x=s(82853),e=s(65356);function C(c,f){if(1&c){const m=t.RV6();t.j41(0,"button",9),t.bIt("click",function(){t.eBV(m);const n=t.XpG();return t.Njj(n.cancelAction())}),t.EFF(1," Cancel "),t.k0s()}}let E=(()=>{var c;class f{constructor(r){this.progress=r,this.cancelAction=()=>{}}}
1return(c=f).\u0275fac=function(r){return new(r||c)(t.rXU(e.M))},c.\u0275cmp=t.VBU({type:c,selectors:[["story-image-progress-overlay"]],inputs:{cancelAction:"cancelAction"},standalone:!0,features:[t.Jv_([e.M]),t.aNF],decls:9,vars:4,consts:[[1,"story-image-progress-overlay","circle-animation","photo-bg-animation"],[1,"story-image-progress-overlay__content"],["size","lg",3,"progress","message","indeterminate"],["type","button","class","btn btn-primary btn-h48 text-semi story-image-progress-overlay__cancel mt-4",3,"click",4,"ngIf"],[1,"canvas"],[1,"aurora-bg"],[1,"blob","blob-1"],[1,"blob","blob-2"],[1,"blob","blob-3"],["type","button",1,"btn","btn-primary","btn-h48","text-semi","story-image-progress-overlay__cancel","mt-4",3,"click"]],template:function(r,n){1&r&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"app-ai-processing-bar",2),t.DNE(3,C,2,0,"button",3),t.k0s(),t.j41(4,"div",4)(5,"div",5),t.nrm(6,"div",6)(7,"div",7)(8,"div",8),t.k0s()()()),2&r&&(t.R7$(2),t.Y8G("progress",n.progress.progressPercent)("message",n.progress.progressMessage)("indeterminate",n.progress.indeterminate),t.R7$(),t.Y8G("ngIf",n.progress.canCancel))},dependencies:[i.MD,i.bT,x.g],styles:[".story-image-progress-overlay[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:11000;display:flex;align-items:center;justify-content:center}.story-image-progress-overlay__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.story-image-progress-overlay__cancel[_ngcontent-%COMP%]{min-width:120px}"]}),f})(),T=(()=>{var c;class f{constructor(r,n,v,_){this.applicationRef=r,this.environmentInjector=n,this.document=v,this.platformId=_,this.overlayRef=null}processing(r="",n){document.body.classList.add("overflow-hidden"),this.start(g.b.label.processingImage,r,n)}uploading(r="",n){document.body.classList.add("overflow-hidden"),this.start(g.b.label.uploadingImageProgress,r,n)}complete(r){const n=this.overlayRef?.instance.progress;n?n.complete(()=>{this.destroyOverlay(),r?.()}):r?.()}clear(){this.overlayRef?.instance.progress.clear(),this.destroyOverlay()}start(r,n,v){this.ensureOverlay(),this.overlayRef?.instance.progress.start({featureType:n,message:r,indeterminate:!0,fullscreen:!0,onCancel:v})}ensureOverlay(){this.overlayRef||!(0,i.UE)(this.platformId)||(this.overlayRef=(0,t.a0P)(E,{environmentInjector:this.environmentInjector}),this.overlayRef.instance.cancelAction=()=>{this.overlayRef?.instance.progress.cancel(),this.destroyOverlay()},this.applicationRef.attachView(this.overlayRef.hostView),this.document.body.appendChild(this.overlayRef.location.nativeElement))}destroyOverlay(){if(document.body.classList.remove("overflow-hidden"),!this.overlayRef)return;const r=this.overlayRef.location.nativeElement;this.applicationRef.detachView(this.overlayRef.hostView),this.overlayRef.destroy(),r.remove(),this.overlayRef=null}}return(c=f).\u0275fac=function(r){return new(r||c)(t.KVO(t.o8S),t.KVO(t.uvJ),t.KVO(i.qQ),t.KVO(t.Agw))},c.\u0275prov=t.jDH({token:c,factory:c.\u0275fac,providedIn:"root"}),f})()},46172:(S,A,s)=>{s.d(A,{d:()=>T});var t=s(54438),i=s(60177),g=s(77616);const x=c=>({"float-lg-end":c});function e(c,f){if(1&c&&(t.qex(0),t.j41(1,"picture"),t.nrm(2,"source",1),t.nI1(3,"imgwebp"),t.nrm(4,"img",2),t.k0s(),t.bVm()),2&c){const m=t.XpG();t.R7$(2),t.FS9("srcset",t.bMT(3,4,m.url)),t.R7$(2),t.Y8G("src",m.url,t.B4B)("alt",m.altText)("ngClass",t.eq3(6,x,m.even))}}function C(c,f){if(1&c&&(t.j41(0,"div",7),t.nrm(1,"img",8),t.k0s()),2&c){const m=t.XpG(2);t.R7$(),t.Y8G("src",m.videoThumbUrl,t.B4B)}}function E(c,f){if(1&c){const m=t.RV6();t.qex(0),t.j41(1,"div",3),t.bIt("mouseleave",function(){t.eBV(m);const n=t.XpG();return t.Njj(n.stopVideoPlay())})("mouseenter",function(n){t.eBV(m);const v=t.XpG();return t.Njj(v.playVideo(n))}),t.DNE(2,C,2,1,"div",4),t.j41(3,"video",5),t.bIt("ended",function(){t.eBV(m);const n=t.XpG();return t.Njj(n.stopVideoPlay())}),t.nrm(4,"source",6),t.k0s()(),t.bVm()}if(2&c){const m=t.XpG();t.R7$(),t.Y8G("ngClass",t.eq3(4,x,m.even)),t.R7$(),t.Y8G("ngIf",m.videoThumbUrl),t.R7$(),t.Y8G("muted","muted"),t.R7$(),t.Y8G("src",m.url,t.B4B)}}let T=(()=>{var c;class f{constructor(){this.isVideo=!1,this.isVideoPlaying=!1}ngOnInit(){this.url&&(this.isVideo=this.checkIsVideo(this.url))}playVideo(r){r.preventDefault(),r.isPlay?(r.isPlay=!1,r.currentTime=0,this.lastPlayedVideo&&(this.lastPlayedVideo.isPlay=!1)):(this.lastPlayedVideo&&(this.lastPlayedVideo.isPlay=!1),r.isPlay=!0,this.lastPlayedVideo=r,r.currentTime=0)}stopVideoPlay(){this.lastPlayedVideo&&(this.lastPlayedVideo.isPlay=!1,this.lastPlayedVideo.currentTime=0)}checkIsVideo(r){const n=r&&r.split(".").pop().split(/\#|\?/)[0];return"mp4"==n||"webm"==n}}
1return(c=f).\u0275fac=function(r){return new(r||c)},c.\u0275cmp=t.VBU({type:c,selectors:[["video-element"]],inputs:{url:"url",altText:"altText",even:"even",videoThumbUrl:"videoThumbUrl",isVideo:"isVideo"},decls:2,vars:2,consts:[[4,"ngIf"],["type","image/webp",3,"srcset"],["loading","lazy","width","520px","height","520px",1,"responsive","section-img","border-radius-36",3,"src","alt","ngClass"],[3,"mouseleave","mouseenter","ngClass"],["class","custom-image-main",4,"ngIf"],["width","100%","height","100%","autoplay","","loop","","playsinline","",1,"w-100","border-radius-24","video-box","p-0",3,"ended","muted"],[3,"src"],[1,"custom-image-main"],["loading","lazy",1,"image","template__img",2,"opacity","1","height","100%","object-fit","contain","overflow","hidden",3,"src"]],template:function(r,n){1&r&&t.DNE(0,e,5,8,"ng-container",0)(1,E,5,6,"ng-container",0),2&r&&(t.Y8G("ngIf",!n.isVideo),t.R7$(),t.Y8G("ngIf",n.isVideo))},dependencies:[i.YU,i.bT,g.m],encapsulation:2}),f})()}}]);

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.