1"use strict";(self.webpackChunklightx=self.webpackChunklightx||[]).push([[6964],{96545:(D,T,n)=>{n.d(T,{_:()=>x});var b=n(45312),_=n(21413),f=n(54438),E=n(95301);let x=(()=>{var C;class M{constructor(d){this.dataService=d,this._onExportApiResponse=new _.B,this.onExportApiResponse=this._onExportApiResponse.asObservable(),this.baseUrl=b.c.baseUrl,this.urlPath="andorsocial-1.0/job/"}setExportApiResponse(d){this._onExportApiResponse.next(d)}invokeCreateVideo(d,u,l,v,h,S){this.dataService.postApi(this.baseUrl+"andorsocial-1.0/job/invokeCreateVideoAPI",{assetId:d,resolution:u,designName:l,systemRefKey:v}).subscribe(e=>{h(e)},e=>{S()})}createJobId(d,u,l,v,h,S){this.dataService.postApi(this.baseUrl+"andorsocial-1.0/job/createJobId",{assetId:d,resolution:u,designName:l,systemRefKey:v}).subscribe(e=>{h(e)},e=>{S()})}generatePresignedUrlForExport(d,u,l){this.dataService.post(this.baseUrl+this.urlPath+"generatePresignedUrl",d).subscribe(h=>{h&&"SUCCESS"===h.status?u(h):l(h)},h=>{l()})}getUploadedVideoStatusExport(d,u,l){this.dataService.post(this.baseUrl+"andorsocial-1.0/job/getUploadedVideoStatus",{jobId:d}).subscribe(p=>{p&&"SUCCESS"===p.status?u(p):l(p)},p=>{l()})}upload(d,u){return new Promise((l,v)=>{const h=new XMLHttpRequest;h.open("PUT",u,!0),h.send(d),h.onload=function(){200===this.status?l(!0):v(this.responseText)}})}}return(C=M).\u0275fac=function(d){return new(d||C)(f.KVO(E.u))},C.\u0275prov=f.jDH({token:C,factory:C.\u0275fac}),M})()},32594:(D,T,n)=>{n.d(T,{d:()=>E});var b=n(16471),_=n(54438),f=n(32764);let E=(()=>{var x;class C{constructor(P){this.templateService=P,this.templateType=1}getResizeContent(P=null){this.templateService.getCreateFromScratchData(this.templateType,!0,d=>{const l=(d.body.socialPlatformsList||[]).concat(this.getCustomLayouts());l&&l.forEach(v=>{v.title=v.socialLabelType.replace(" ","").toLowerCase();let h=[];v.title===b.zu.SocialMedia&&(v.socialPlatformFormats.forEach((S,p)=>{const y=S.socialPlatform.split(" ")[0];-1===h.findIndex(e=>e.title===y.toLowerCase())&&h.push({id:++p,title:y.toLowerCase(),socialPlatform:S.socialPlatform,iconName:S.iconName})}),v.socialMediaLayout=h)}),this.setBoxWidthHeight(l),P&&P(l)},d=>{console.log(d)})}getCustomLayouts(){return[{socialLabelType:"Custom",parentMediaType:"1",socialPlatformFormats:[{title:"custom",shortName:"Custom",format:0,wRatio:0,hRatio:0,width:0,height:0,socialPlatformId:26,thumbUrl:"https://d2v5dzhdg4zhx3.cloudfront.net/provideo-web-banner/travel.png"}]}]}setBoxWidthHeight(P){let d=1;P&&P.forEach(u=>{u.socialPlatformFormats.forEach(l=>{l.id=d++,l.width>l.height?(l.boxHeight=Math.round(70*l.height/l.width),l.boxWidth=70):(l.boxWidth=Math.round(70*l.width/l.height),l.boxHeight=70)})})}}return(x=C).\u0275fac=function(P){return new(P||x)(_.KVO(f.I))},x.\u0275prov=_.jDH({token:x,factory:x.\u0275fac}),C})()},74343:(D,T,n)=>{n.d(T,{_:()=>C});var b=n(16478),_=n(54438),f=n(74710),E=n(74983),x=n(55349);let C=(()=>{var M;class P{constructor(u,l,v,h){this._router=u,this.route=l,this.toastService=v,this.editoruiservice=h}saveProject(u,l,v,h=null){v.isSaving||this.toastService.showProcess("Saving...",{});let S=!v.design.assetId;v.isUserQuotaFull=!1,v.save(u.systemRefKey,p=>{this.toastService.removeAll(),this.toastService.showSuccess(b.b.message.saveSuccess),S&&v.design.assetId&&this._router.navigate([],{replaceUrl:!0,relativeTo:this.route,queryParams:{action:"",project_id:v.design.assetId},queryParamsHandling:""}),l&&l()},p=>{this.toastService.removeAll(),v.isUserQuotaFull&&this.editoruiservice.showStorageLimitError(),h&&h()})}isSaved(u){return u.isSaved()}}return(M=P).\u0275fac=function(u){return new(u||M)(_.KVO(f.Ix),_.KVO(f.nX),_.KVO(E.f),_.KVO(x.f))},M.\u0275prov=_.jDH({token:M,factory:M.\u0275fac}),P})()},90866:(D,T,n)=>{n.d(T,{R:()=>G});var b=n(60177),_=n(84341),f=n(83339),E=n(48928),x=n(21626),C=n(33391),M=n(72913),P=n(89818),d=n(19338),u=n(85188),l=n(21652),v=n(43387),h=n(55349),S=n(74710),p=n(74343),y=n(79421),O=n(24269),e=n(90521),L=n(8708),F=n(23486),I=n(23679),W=n(7060),N=n(32594),A=n(86820),j=n(54438);let G=(()=>{var w;class B{}return(w=B).\u0275fac=function(X){return new(X||w)},w.\u0275mod=j.$C({type:w}),w.\u0275inj=j.G2t({providers:[h.f,p._,e.K,N.d,(0,x.$R)((0,x.Sx)())],imports:[b.MD,f.G,C.UN,C._f,_.YN,S.iI,_.X1,M.s,E.RI,P.MQ,d.di,u.mB.forRoot(),l.YG,v.y,L.vo,y.r,O.S,F.v9,I.Y,W.U,A.e]}),B})()},96964:(D,T,n)=>{n.r(T),n.d(T,{VideoToolUiModule:()=>Me});var b=n(60177),_=n(84341),f=n(21626),E=n(89818),x=n(19338),C=n(43387),M=n(96545),P=n(83339),d=n(33391),u=n(72913),l=n(34870),v=n(90866),h=n(79421),S=n(16471),p=n(16478),y=n(45312),O=n(48153),e=n(54438),L=n(95301);let F=(()=>{var s;class c{constructor(o,t){this.dataService=o,this.modalService=t,this.baseUrl=y.c.baseUrl,this.isApplied=!1,this.isDirty=!1,this.isLoaded=!1,this.videoName="",this.videoId="defaultVideo",this.videoUrl="",this.inProgress=!1,this.isError=!1,this.uploadType="video",this.editorType=S._Y.Video,this.volume=1,this.slug=""}processMedia(o,t,i){this.dataService.post(this.baseUrl+"andorsocial-1.0/media/processMedia",o).subscribe(a=>{a&&"SUCCESS"===a.status?t(a):i(a)},a=>{i()})}getMultiPartAssetStatus(o,t,i){this.dataService.post(this.baseUrl+"andorsocial-1.0/media/getMultiPartAssetStatus",o).subscribe(a=>{a&&"SUCCESS"===a.status?t(a):i(a)},a=>{i()})}
1downloadMessage(o=null){setTimeout(()=>{const t=this.modalService.open(O.P,{centered:!0,size:"md",backdrop:"static"});t.componentInstance.message=p.b.message.downloadVideo,t.componentInstance.uploadType=this.uploadType,t.componentInstance.editorType=this.editorType,t.componentInstance.toolName="video-convert",t.componentInstance.slug=this.slug,t.result.then(i=>{"ok"===i||"tryNew"===i&&o&&o("tryNew")})},0)}getVideoDimensionsOf(o){return new Promise(t=>{const i=document.createElement("video");i.addEventListener("loadedmetadata",()=>{t({videoWidth:i.videoWidth,videoHeight:i.videoHeight,duration:i.duration,volume:i.volume})},!1),i.src=o,i.onerror=m=>{t({videoWidth:0,videoHeight:0,duration:0,volume:2})}})}getDimnetion(o,t){return o&&t?o+" x "+t:""}getResolutionHeight(o,t){if(1440==t)return 1440;if(2160==t)return 2160;if(t)switch(t){case 360:case 480:case 720:case 1080:return t;default:return""}return""}}return(s=c).\u0275fac=function(o){return new(o||s)(e.KVO(L.u),e.KVO(d.Bq))},s.\u0275prov=e.jDH({token:s,factory:s.\u0275fac}),c})();var I=n(74710),W=n(78987),N=n(68287),A=n(74983),j=n(68010),G=n(79301),w=n(68064),B=n(40605),K=n(60312),X=n(45975),Q=n(6755),J=n(33645);const Z=["videoFormatSelect"],Y=s=>({"d-none":s});function q(s,c){if(1&s){const r=e.RV6();e.j41(0,"span",16)(1,"pi",17),e.bIt("click",function(){e.eBV(r);const t=e.XpG();return e.Njj(t.back())}),e.k0s(),e.EFF(2,"Convert Video "),e.k0s()}}function ee(s,c){if(1&s){const r=e.RV6();e.qex(0),e.j41(1,"div",18)(2,"button",19),e.bIt("click",function(){e.eBV(r);const t=e.XpG();return e.Njj(t.step=1)}),e.EFF(3,"More Settings"),e.k0s()(),e.bVm()}if(2&s){const r=e.XpG();e.R7$(2),e.Y8G("disabled",!r.selectedVideoFormat)}}function te(s,c){if(1&s){const r=e.RV6();e.j41(0,"div",38)(1,"h5",24),e.EFF(2,"Bitrate (Kbps)"),e.k0s(),e.j41(3,"div",25)(4,"div",26)(5,"mv-slider",27),e.bIt("change",function(t){e.eBV(r);const i=e.XpG(2);return e.Njj(i.inputBitrate(t))})("slideStop",function(t){e.eBV(r);const i=e.XpG(2);return e.Njj(i.inputBitrate(t))}),e.k0s()(),e.j41(6,"div",28),e.nrm(7,"input",29),e.k0s()()()}if(2&s){const r=e.XpG(2);e.R7$(5),e.Y8G("value",r.bitrate)("min",r.minValue)("max",r.bitrateMaxValue)("step",1),e.R7$(2),e.FS9("value",r.bitrate)}}function oe(s,c){if(1&s){const r=e.RV6();e.qex(0),e.j41(1,"div",20)(2,"button",21),e.bIt("click",function(){e.eBV(r);const t=e.XpG();return e.Njj(t.step=0)}),e.EFF(3,"Less Settings"),e.k0s(),e.DNE(4,te,8,5,"div",22),e.j41(5,"div",23)(6,"h5",24),e.EFF(7,"Frames per second (FPS)"),e.k0s(),e.j41(8,"div",25)(9,"div",26)(10,"mv-slider",27),e.bIt("change",function(t){e.eBV(r);const i=e.XpG();return e.Njj(i.inputFramesPerSec(t))})("slideStop",function(t){e.eBV(r);const i=e.XpG();return e.Njj(i.inputFramesPerSec(t))}),e.k0s()(),e.j41(11,"div",28),e.nrm(12,"input",29),e.k0s()()(),e.j41(13,"div",30)(14,"h5",24),e.EFF(15,"Resolution"),e.k0s(),e.j41(16,"div",31)(17,"div",32)(18,"ng-select",33),e.mxI("ngModelChange",function(t){e.eBV(r);const i=e.XpG();return e.DH7(i.resolution,t)||(i.resolution=t),e.Njj(t)}),e.bIt("change",function(){e.eBV(r);const t=e.XpG();return e.Njj(t.resolutionChanged())}),e.k0s()()()(),e.j41(19,"div",34)(20,"h5",24),e.EFF(21,"Audio Channels"),e.k0s(),e.j41(22,"div",31)(23,"div",35)(24,"ng-select",36),e.mxI("ngModelChange",function(t){e.eBV(r);const i=e.XpG();return e.DH7(i.audioCh,t)||(i.audioCh=t),e.Njj(t)}),e.j41(25,"ng-option",37),e.EFF(26,"Mono"),e.k0s(),e.j41(27,"ng-option",37),e.EFF(28,"Stereo"),e.k0s()()()()()(),e.bVm()}if(2&s){const r=e.XpG();e.R7$(2),e.Y8G("disabled",!r.selectedVideoFormat),e.R7$(2),e.Y8G("ngIf",r.bitrate),e.R7$(6),e.Y8G("value",r.framesPerSec)("min",5)("max",60)("step",1),e.R7$(2),e.FS9("value",r.framesPerSec),e.R7$(6),e.Y8G("searchable",!1)("clearable",!1)("items",r.videoResulatios),e.R50("ngModel",r.resolution),e.R7$(6),e.Y8G("searchable",!1)("clearable",!1),e.R50("ngModel",r.audioCh),e.R7$(),e.Y8G("value",1),e.R7$(2),e.Y8G("value",2)}}function ie(s,c){if(1&s){const r=e.RV6();e.qex(0),e.j41(1,"div",39)(2,"div",40),e.bIt("click",function(){e.eBV(r);const t=e.XpG();return e.Njj(t.back())}),e.nrm(3,"pi",41),e.k0s(),e.j41(4,"div",42),e.EFF(5,"Voila !"),e.k0s(),e.j41(6,"div",43),e.EFF(7),e.k0s(),e.j41(8,"button",44),e.bIt("click",function(){e.eBV(r);const t=e.XpG();return e.Njj(t.download())}),e.EFF(9," Download "),e.k0s(),e.j41(10,"div",45)(11,"label",46),e.EFF(12,"Try another video?"),e.k0s(),e.j41(13,"input",47,1),e.bIt("change",function(t){e.eBV(r);const i=e.XpG();return e.Njj(i.onFileUploaded(t.srcElement.files))})("click",function(){e.eBV(r);const t=e.sdS(14);return e.Njj(t.value="")}
1),e.k0s()()(),e.bVm()}if(2&s){const r=e.XpG();e.R7$(7),e.SpI("Your video is converted to ",r.selectedVideoFormat,".")}}function se(s,c){if(1&s){const r=e.RV6();e.qex(0),e.j41(1,"div")(2,"button",48),e.bIt("click",function(){e.eBV(r);const t=e.XpG();return e.Njj(t.convertVideo())}),e.EFF(3,"Convert Now"),e.k0s()(),e.bVm()}if(2&s){const r=e.XpG();e.R7$(2),e.Y8G("disabled",!r.selectedVideoFormat)}}const $=p.b.allowedVideoTypes;let ne=(()=>{var s;class c{constructor(o,t,i,m,a,g,R,k,U,z){this.authService=o,this.videoToolsService=t,this.uploadService=i,this.toastService=m,this.uploadImageService=a,this.route=g,this.router=R,this.commonService=k,this.envService=U,this.modalService=z,this.changedVideo=new e.bkB,this.step=0,this.isEdit=!1,this.isApply=!0,this.estimatedSize="-",this.originalSize="",this.videoOriginalFormat="Mp4",this.videoFormats=[{id:1,format:"AVI"},{id:2,format:"MPEG"},{id:3,format:"MOV"},{id:4,format:"GIF"},{id:5,format:"WMV"},{id:6,format:"VOB"},{id:7,format:"MP4"},{id:8,format:"WEBM"},{id:9,format:"MKV"},{id:10,format:"M4V"},{id:11,format:"TS"},{id:12,format:"SWF"},{id:13,format:"FLV"}],this.videoFormatItems=[],this.minValue=10,this.maxValue=100,this.quality=100,this.bitrate=1,this.framesPerSec=30,this.resolution="720p",this.audioCh=2,this.processedVideoUrl="",this.videoResulatios=p.b.videoResulatios,this.crfMaxValue=51,this.reolutionSelected=!1,this.user=this.authService.currentUser(),this.fileUploadAccept="video/*"}ngOnInit(){let o=this.route.snapshot.queryParamMap.get("videoUrl");if(o){let i=this.route.snapshot.queryParamMap.get("name");this.videoOriginalFormat=i.substring(i.lastIndexOf(".")+1),this.videoFormatItems=this.videoFormats.filter(m=>m.format.toLowerCase()!=this.videoOriginalFormat.toLowerCase())}let t=this.route.snapshot.queryParamMap.get("fileSize");this.assetId=this.route.snapshot.queryParamMap.get("assetId"),this.keyName=this.route.snapshot.queryParamMap.get("keyName"),this.systemRefKey=this.route.snapshot.queryParamMap.get("systemRefKey"),this.originalSize=(Number(t)/1048576).toFixed(2),this.videoToolsService.getVideoDimensionsOf(o).then(i=>{this.videoToolsService.dimentions=this.videoToolsService.getDimnetion(i.videoWidth,i.videoHeight),this.audioCh=i.volume,this.videoToolsService.videoWidth=i.videoWidth,this.videoToolsService.videoHeight=i.videoHeight,this.videoToolsService.duration=this.commonService.secondsToHms(i.duration.toFixed(2));let m=this.route.snapshot.queryParamMap.get("fileSize");this.resolution=this.videoToolsService.getResolutionHeight(i.videoWidth,i.videoHeight),this.bitrate=i.duration?this.bitrateMaxValue=parseInt((8*Number(m)/i.duration/1024).toFixed(2)):0})}ngAfterViewInit(){Promise.resolve().then(()=>{this.videoFormatSelect.open()})}onVideoSelect(o){}inputQuality(o){let t,i;o.newValue?(t=o.newValue,i=!1):(t=o,i=!0),this.quality=t,this.qualityNewValue=t}inputBitrate(o){let t,i;o.newValue?(t=o.newValue,i=!1):(t=o,i=!0),this.bitrate=t,this.bitrateNewValue=t}inputFramesPerSec(o){let t,i;o.newValue?(t=o.newValue,i=!1):(t=o,i=!0),this.framesPerSec=t,this.fpsNewValue=t}resolutionChanged(){this.reolutionSelected=!!this.resolution}getReolution(){if(this.resolution){let i,m,o=this.videoToolsService.videoWidth,t=this.videoToolsService.videoHeight;return o&&t?(o<=t?(i=this.resolution,m=Number(i*t/o)):o>=t&&(m=this.resolution,i=Number(m*o/t)),i+"p x "+m+"p"):""}return""}closeProgress(){this.modalRefProgress&&(this.modalRefProgress.dismiss(),this.modalRefProgress=null)}convertVideo(){let o=1,i=(parseInt((this.quality/100*this.crfMaxValue).toFixed()),this.framesPerSec);"mpeg"==this.selectedVideoFormat.toLowerCase()&&i<=20&&(i=20);let m={systemRefKey:this.systemRefKey,assetId:this.assetId,keyName:this.keyName,metadata:{audioChannel:this.audioCh,outputFormat:this.selectedVideoFormat.toLowerCase(),...this.fpsNewValue&&this.framesPerSec&&{fps:i},...this.reolutionSelected&&this.resolution&&{resolution:this.resolution+"p"},...this.videoToolsService.duration&&this.bitrateNewValue&&{bitRate:this.bitrate+"k"},..."swf"==this.selectedVideoFormat.toLowerCase()&&{audioSampleRate:44100}}};this.modalRefProgress||(this.modalRefProgress=this.modalService.open(K.a,{backdrop:"static",windowClass:"editorProgressScreen w-100 m-progress-screen",size:"lg",centered:!0,backdropClass:"loader-bdrop-new"}),this.modalRefProgress.componentInstance.msg="Converting Video",this.modalRefProgress.componentInstance.showProgress=!0,this.modalRefProgress.componentInstance.isEmailUs=this.user&&this.user.email,this.modalRefProgress.componentInstance.progress=o);let a=0,g=1*parseFloat(this.originalSize)/3,R=1e3*g;this.intervalProgress=(0,B.Y)(1e3).subscribe(U=>{o=Math.ceil(++a/g*100),o<=90&&this.modalRefProgress&&this.modalRefProgress.componentInstance?this.modalRefProgress.componentInstance.progress=o:(this.modalRefProgress.componentInstance.progress=90,this.intervalProgress.unsubscribe())}),this.videoToolsService.processMedia(m,U=>{if(U){U.isVideoPlaying=!0,this.changedVideo.emit(U);let z=0;this.intervalSub=(0,B.Y)(R).subscribe(ye=>{this.videoToolsService.getMultiPartAssetStatus({assetId:this.assetId,systemRefKey:this.systemRefKey},H=>
1{let V=H.body;V&&"init"===V.status?(z++,R=5e3,o<=99&&this.modalRefProgress&&this.modalRefProgress.componentInstance&&(this.modalRefProgress.componentInstance.progress=o++)):V&&"active"===V.status?(this.modalRefProgress&&this.modalRefProgress.componentInstance&&(this.modalRefProgress.componentInstance.progress=100),this.intervalSub.unsubscribe(),this.step=2,V.isConverted=this.isConverted=!0,this.processedVideoUrl=V.contentUrl=V.processedVideoUrl,V.selectedVideoFormat=this.selectedVideoFormat,V.originalSize=this.originalSize=(V.processedVideoSize/1048576).toFixed(2),V.isVideoPlaying=!1,this.changedVideo.emit(V),this.closeProgress(),this.intervalProgress.unsubscribe()):V&&"failed"===V.status&&(this.toastService.showErrorOptions({msg:V?.description||V?.message||p.b.message.errorOnVideo,cssClass:"full"}),this.intervalSub.unsubscribe(),this.intervalProgress.unsubscribe(),this.closeProgress())},H=>{this.intervalSub.unsubscribe(),this.intervalProgress.unsubscribe(),this.closeProgress(),this.toastService.showErrorOptions({msg:p.b.message.errorOnVideo,cssClass:"full"})})})}else this.closeProgress(),this.intervalProgress.unsubscribe(),this.toastService.showErrorOptions({msg:p.b.message.errorOnVideo,cssClass:"full"})},U=>{this.closeProgress(),this.intervalProgress.unsubscribe(),this.toastService.showErrorOptions({msg:p.b.message.errorOnVideo,cssClass:"full"})})}download(){this.processedVideoUrl&&this.commonService.downloadUrl(this.processedVideoUrl,p.b.label.blankProjectName+"."+this.selectedVideoFormat.toLowerCase(),o=>{this.envService.isMobileView&&this.videoToolsService.downloadMessage(t=>{"tryNew"==t&&(this.ngOnInit(),this.selectedVideoFormat=null,this.isConverted=!1,this.step=0,this.framesPerSec=30,this.fpsNewValue=0,this.bitrateNewValue=0,this.crfMaxValue=51)})})}back(){this.router.navigate(["./"+p.b.videoEditor.urlPart+this.videoToolsService.slug])}onFileUploaded(o){if(!o.length)return;const t=o[0];var i=t.type;i||(i=t.name.substring(t.name.lastIndexOf(".")+1),i=this.uploadService.getFileType(i)),"txt"==t.name.substring(t.name.lastIndexOf(".")+1)||$&&$.indexOf(i)<0?this.toastService.showErrorOptions({msg:p.b.message.validVideoSupportMessage,cssClass:"full"}):(this.processedVideoUrl="",this.originalSize=(t.size/1048576).toFixed(2),this.uploadService.onVideoUploaded(t,"CONVERT",a=>{if(a){if(this.isConverted=!1,this.step=0,this.selectedVideoFormat=null,this.assetId=a.assetId,this.keyName=a.keyName,this.videoOriginalFormat=t.name.substring(t.name.lastIndexOf(".")+1),this.videoFormatItems=this.videoFormats.filter(g=>g.format.toLowerCase()!=this.videoOriginalFormat.toLowerCase()),a.originalSize=this.originalSize,a.name=t.name,a.tryNew=!0,a.video){let g=a.video;this.videoToolsService.videoWidth=g.videoWidth,this.videoToolsService.videoHeight=g.videoHeight,this.resolution=this.videoToolsService.getResolutionHeight(g.videoWidth,g.videoHeight),this.videoToolsService.dimentions=this.videoToolsService.getDimnetion(g.videoWidth,g.videoHeight),this.videoToolsService.duration=this.commonService.secondsToHms(g.duration.toFixed(2)),this.audioCh=g.volume,this.bitrate=g.duration?this.bitrateMaxValue=parseInt((8*Number(t.size)/g.duration/1024).toFixed(2)):0}this.framesPerSec=30,this.fpsNewValue=0,this.bitrateNewValue=0,this.crfMaxValue=51,this.changedVideo.emit(a)}},a=>{if(a)if(a.msg)this.toastService.showErrorOptions({msg:a?.msg,cssClass:"full"});else{let g=p.b.message.errorOnUploadVideo;this.toastService.showErrorOptions({msg:a?.description||a?.message||g,cssClass:"full"})}}))}getEstimatedSize(){let o=parseFloat(this.originalSize),t=this.originalSize/100*20;this.estimatedSize=(o-t).toFixed(2)+"MB - "+(o+t).toFixed(2)+"MB"}ngOnDestroy(){this.intervalSub&&this.intervalSub.unsubscribe(),this.intervalSub&&this.intervalProgress.unsubscribe(),this.closeProgress()}}return(s=c).\u0275fac=function(o){return new(o||s)(e.rXU(j.u),e.rXU(F),e.rXU(X.B),e.rXU(A.f),e.rXU(Q.A),e.rXU(I.nX),e.rXU(I.Ix),e.rXU(G.h),e.rXU(N.L),e.rXU(d.Bq))},s.\u0275cmp=e.VBU({type:s,selectors:[["video-convert-drawer"]],viewQuery:function(o,t){if(1&o&&e.GBs(Z,5),2&o){let i;e.mGM(i=e.lsd())&&(t.videoFormatSelect=i.first)}},outputs:{changedVideo:"changedVideo"},decls:22,vars:16,consts:[["videoFormatSelect",""],["file",""],[1,"drawer-content"],[1,"topText","position-absolute","w-100","top-0","bg-white","ps-3","pt-10"],["class","text-xxxl lh-p1 text-dark text-bold",4,"ngIf"],[1,"scroll-content",2,"height","calc(100% - 80px)","display","block","width","100%"],["customScrollDir","",1,"scroll-container"],[1,"p-3",2,"padding-top","49px !important",3,"ngClass"],["disabled","",1,"btn","d-flex","align-items-center","w-100","h-48","border-radius-12","greyBgBtn","auto","mt-3"],[1,"text-13","text-dark","text-semi"],[1,"text-lg","text-dark","lh-p4","text-bold","ms-2","text-uppercase"],[1,"position-relative"],["bindLabel","format","bindValue","format","placeholder","Select a format",1,"mt-2","pointer",3,"ngModelChange","change","items","ngModel","searchable","clearable"],[1,"position-absolute","text-13","lh-p5","text-semi","ml-8",2,"top","15px","z-index","1000"],[4,"ngIf"],[1,"position-absolute","w-100","bottom-0","p-3",3,"ngClass"],[1,"text-xxxl","lh-p1","text-dark","text-bold"],["name","backuploadicon",1,"mr-8","grey-300","f-24","pointer",3,"click"],[1,"mt-7"],[1,"btn","d-flex","align-items-center","w-100","h-48","border-radius-12","greyBgBtn","text-13","lh-p6","text-semi","justify-content-center",3,"click","disabled"],[1,"less-settings"],[1,"btn","d-flex","align-items-center","w-100","h-48","border-radius-12","greyBgBtn","text-13","lh-p6","text-semi","justify-content-center","not-hov",3,"click","disabled"],["class","card-body mt-2",4,"ngIf"],[1,"card-body","mt-10"],[1,"card-title","text-semi","m-0"],[1,"d-flex","mt-1"],[1,"wp-100","d-flex","align-items-center"],[1,"opacity-slider",2,"width","100%",3,"change","slideStop","value","min","max","step"],[1,"ml-9"],["type","text","disabled","",1,"form-control","form-input-sm","text-normal","text-black",3,"value"],[1,"card-body","d-flex","align-items-center","justify-content-between","mt-10"],[1,"d-flex"],[1,"wp-100","otherDropDown","open-top-m"],["bindLabel","id","bindValue","value",1,"select-ctrl",3,"ngModelChange","change","searchable","clearable","items","ngModel"],[1,"card-body","d-flex","align-items-center","justify-content-between","mt-10","pb-0"],[1,"wp-100","otherDropDown","open-top","open-top-m"],[1,"select-ctrl",3,"ngModelChange","searchable","clearable","ngModel"],[3,"value"],[1,"card-body","mt-2"],[1,"p-3"],[1,"pointer",3,"click"],["name","backuploadicon",1,"grey-300","f-24"],[1,"text-48","text-dark","lh-h","text-bold","mt-8"],[1,"text-lg","text-dark","lh-p3","text-semi"],[1,"btn","btn-primary","btn-h48","p-0","w-100","mt-4",3,"click"],[1,"mt-4"],["for","fileInputs",1,"text-13","text-primary","lh-p5","pointer","text-semi"],["id","fileInputs","name","fileInputs","type","file",1,"custom-file-input","n-show","d-none",3,"change","click"],[1,"btn","btn-primary","btn-h48","p-0","w-100",3,"click","disabled"]],template:function(o,t){if(1&o){const i=e.RV6();e.j41(0,"div",2)(1,"div",3),e.DNE(2,q,3,0,"span",4),e.k0s(),e.j41(3,"div",5)(4,"div",6)(5,"div",7)(6,"div")(7,"div",8)(8,"span",9),e.EFF(9,"From"),e.k0s(),e.j41(10,"span",10),e.EFF(11),e.k0s()(),e.j41(12,"div",11)(13,"ng-select",12,0),e.mxI("ngModelChange",function(a){return e.eBV(i),e.DH7(t.selectedVideoFormat,a)||(t.selectedVideoFormat=a),e.Njj(a)}),e.bIt("change",function(a){return e.eBV(i),e.Njj(t.onVideoSelect(a))}),e.k0s(),e.j41(15,"div",13),e.EFF(16,"To"),e.k0s()()(),e.DNE(17,ee,4,1,"ng-container",14)(18,oe,29,16,"ng-container",14),e.k0s(),e.DNE(19,ie,15,1,"ng-container",14),e.k0s()(),e.j41(20,"div",15),e.DNE(21,se,4,1,"ng-container",14),e.k0s()()}2&o&&(e.R7$(2),e.Y8G("ngIf",!t.isConverted),e.R7$(3),e.Y8G("ngClass",e.eq3(12,Y,2==t.step)),e.R7$(6),e.JRh(t.videoOriginalFormat.toLocaleUpperCase()),e.R7$(2),e.Y8G("items",t.videoFormatItems),e.R50("ngModel",t.selectedVideoFormat),e.Y8G("searchable",!1)("clearable",!1),e.R7$(4),e.Y8G("ngIf",0==t.step),e.R7$(),e.Y8G("ngIf",1==t.step),e.R7$(),e.Y8G("ngIf",2==t.step),e.R7$(),e.Y8G("ngClass",e.eq3(14,Y,2==t.step)),e.R7$(),e.Y8G("ngIf",!t.isConverted))},dependencies:[b.YU,b.bT,J.q,_.BC,_.vS,E.vr,E.xt,x.d1,w.b],styles:[".less-settings[_ngcontent-%COMP%]{width:100%;display:block;position:relative;background-color:#f8f9f9;border-radius:12px;padding:0 16px 16px;margin-top:10px;margin-bottom:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 5px #e2e3e9;border-radius:12px;margin-top:5px;margin-bottom:5px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#626adf;border-radius:12px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#626adf}@media (max-width: 576px){.less-settings[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .form-input-sm[_ngcontent-%COMP%]{width:54px}}"]}),c})();const re=["videoElem"],ae=s=>({"d-none":s});function de(s,c){if(1&s){const r=e.RV6();e.j41(0,"video-convert-drawer",41,6),e.bIt("changedVideo",function(t){e.eBV(r);const i=e.XpG(2);return e.Njj(i.changedVideo(t))}),e.k0s()}}function le(s,c){if(1&s&&(e.j41(0,"div",39),e.DNE(1,de,2,0,"video-convert-drawer",40),e.k0s()),2&s){const r=e.XpG();e.Y8G("ngSwitch",r.activeToolPanel),e.R7$(),e.Y8G("ngSwitchCase","convert")}}function ce(s,c){if(1&s){const r=e.RV6();e.j41(0,"a",48),e.bIt("click",function(){e.eBV(r);const t=e.XpG(2);return e.Njj(t.playVideo())}),e.nrm(1,"pi",49),e.k0s()}}function ve(s,c){if(1&s){const r=e.RV6();e.j41(0,"a",50),e.bIt("click",function(){e.eBV(r);const t=e.XpG(2);return e.Njj(t.pauseVideo())}),e.nrm(1,"pi",51),e.k0s()}}
1function he(s,c){if(1&s){const r=e.RV6();e.j41(0,"div",42)(1,"video",43,7),e.bIt("ended",function(){e.eBV(r);const t=e.XpG();return e.Njj(t.pauseVideo())}),e.nrm(3,"source",44),e.EFF(4," Your browser does not support the video tag. "),e.k0s(),e.j41(5,"div",45),e.DNE(6,ce,2,0,"a",46)(7,ve,2,0,"a",47),e.k0s()()}if(2&s){const r=e.XpG();e.R7$(),e.Y8G("id",r.videoId),e.R7$(2),e.Y8G("src",r.videoUrl,e.B4B),e.R7$(3),e.Y8G("ngIf",!r.isVideoPlaying),e.R7$(),e.Y8G("ngIf",r.isVideoPlaying)}}function pe(s,c){1&s&&(e.j41(0,"div",52),e.nrm(1,"img",53),e.k0s())}function me(s,c){1&s&&(e.j41(0,"div",54),e.EFF(1," An error occurred while processing the image. "),e.k0s())}function ue(s,c){1&s&&(e.j41(0,"div",55)(1,"div",56)(2,"div",57)(3,"span",58),e.EFF(4,"Loading..."),e.k0s()(),e.j41(5,"div",59),e.EFF(6," Loading video... "),e.k0s(),e.j41(7,"div",60),e.EFF(8,"Wait a few moment"),e.k0s()()())}function ge(s,c){1&s&&(e.j41(0,"div",61),e.nrm(1,"div",62)(2,"div",63),e.k0s())}function _e(s,c){1&s&&e.nrm(0,"pi",64)}function fe(s,c){1&s&&e.nrm(0,"pi",65)}function be(s,c){if(1&s&&(e.j41(0,"div",68)(1,"div",31),e.EFF(2,"Dimensions"),e.k0s(),e.j41(3,"div",69),e.EFF(4),e.k0s()()),2&s){const r=e.XpG(2);e.R7$(4),e.JRh(r.videoToolsService.dimentions)}}function xe(s,c){if(1&s&&(e.j41(0,"div",68)(1,"div",31),e.EFF(2,"Duration"),e.k0s(),e.j41(3,"div",69),e.EFF(4),e.k0s()()),2&s){const r=e.XpG(2);e.R7$(4),e.JRh(r.videoToolsService.duration)}}function Ce(s,c){if(1&s&&(e.j41(0,"div",66),e.DNE(1,be,5,1,"div",67)(2,xe,5,1,"div",67),e.j41(3,"div",68)(4,"div",31),e.EFF(5,"File size"),e.k0s(),e.j41(6,"div",69),e.EFF(7),e.k0s()()()),2&s){const r=e.XpG();e.R7$(),e.Y8G("ngIf",r.videoToolsService.dimentions),e.R7$(),e.Y8G("ngIf",r.videoToolsService.duration),e.R7$(5),e.JRh(r.fileSize)}}const Pe=[{path:":slug",component:(()=>{var s;class c{constructor(o,t,i,m,a,g,R,k){this.env=o,this.toastService=t,this.authService=i,this.modalService=m,this.videoToolsService=a,this.route=g,this.commonService=R,this.router=k,this.isVideoPlaying=!1,this.inProgress=!1,this.activeToolPanel="convert",this.videoName="untitled",this.isMobileView=!1,this.isLoaded=!1,this.videoId="untiled",this.isVideoPlay=!0,this.toastService.removeAll(),this.user=this.authService.currentUser()}ngOnInit(){this.inProgress=!0,this.videoToolsService.slug=this.route.snapshot.paramMap.get("slug"),this.videoUrl=this.route.snapshot.queryParamMap.get("videoUrl");let o=this.route.snapshot.queryParamMap.get("fileSize");if(this.fileSize=(Number(o)/1048576).toFixed(2)+" MB",this.videoName=this.route.snapshot.queryParamMap.get("name"),this.videoUrl){let t=this.videoUrl.substring(this.videoUrl.lastIndexOf("/")+1);this.videoId=t.split(".")[0]}W.o&&this.router.navigate(["./"+p.b.videoEditor.urlPart+this.videoToolsService.slug])}ngAfterViewInit(){this.loadVideo()}loadVideo(o=null){this.videoToolsService.getVideoDimensionsOf(this.videoUrl).then(t=>{this.videoToolsService.dimentions=this.videoToolsService.getDimnetion(t.videoWidth,t.videoHeight),this.videoToolsService.videoWidth=t.videoWidth,this.videoToolsService.videoHeight=t.videoHeight,this.videoToolsService.duration=this.commonService.secondsToHms(t.duration.toFixed(2)),this.isLoaded=!0,this.isVideoPlay=!!t.duration,o&&o()})}playVideo(){this.isVideoPlaying||(this.isVideoPlaying=!0,this.videoElem.nativeElement.play())}pauseVideo(){this.isVideoPlaying&&(this.isVideoPlaying=!1,this.videoElem.nativeElement.pause())}ngOnDestroy(){this.videoToolsService.isDirty=!1,this.modalService.hasOpenModals()&&this.modalService.dismissAll("")}changedVideo(o){if(o&&o.isVideoPlaying)return void this.pauseVideo();this.isVideoPlaying=!1,this.isLoaded=!1,this.fileSize=o?.originalSize?o?.originalSize+" MB":this.fileSize;let t=o.contentUrl;if(t){this.videoName=o?.name?o.name:this.videoName;let i=t.substring(t.lastIndexOf("/")+1);this.videoId=i.split(".")[0],o.selectedVideoFormat&&(this.videoName=this.videoName.split(".")[0]+"."+o.selectedVideoFormat.toLowerCase()),(o.isConverted||o.tryNew)&&
1(this.isVideoPlay||(this.isVideoPlay=!0),this.videoUrl=o.contentUrl,this.loadVideo(()=>{this.isVideoPlay&&(this.videoElem.nativeElement.src=this.videoUrl)}))}}}return(s=c).\u0275fac=function(o){return new(o||s)(e.rXU(N.L),e.rXU(A.f),e.rXU(j.u),e.rXU(d.Bq),e.rXU(F),e.rXU(I.nX),e.rXU(G.h),e.rXU(I.Ix))},s.\u0275cmp=e.VBU({type:s,selectors:[["video-tool-ui"]],viewQuery:function(o,t){if(1&o&&e.GBs(re,5),2&o){let i;e.mGM(i=e.lsd())&&(t.videoElem=i.first)}},decls:42,vars:14,consts:[["canvasWrapper",""],["canvasMaskWrapperLoaded",""],["canvasMaskWrapper",""],["canvasPreview",""],["canvasBackground",""],["accItem","ngbAccordionItem"],["tooldrawer",""],["videoElem",""],[1,"editor-view","h-100",3,"ngClass"],[1,"row","m-0","h-100","g-0"],[1,"col-i","left-panel","topBottomConvert","mx-auto"],[1,"col-i","navs-drawer","h-100","mx-auto"],["class","drawer-container h-100 d-container overflow-hidden",3,"ngSwitch",4,"ngIf"],[1,"col-i","wrapper-for-timeline","pr-9","mx-auto",2,"position","relative","padding-top","93px",3,"ngClass"],[1,"row","g-0","no-margin","main-content","ps-0","pe-0","ps-xl-5","pe-xl-5",2,"height","unset"],[1,"canvas-wrapper","position-relative"],[1,"canvas-mask-wrapper","flex-column","w-100","ps-5","pe-5","not-loaded"],[1,"d-flex","align-items-center","justify-content-center","w-100",2,"min-height","390px","max-height","450px"],["class","position-relative shadow-none","style","line-height: 0px;",4,"ngIf"],["class","position-relative",4,"ngIf"],["class","text-normal text-semi","style","position: absolute;\n top: 45%;\n left: 25%;",4,"ngIf"],[1,"canvas-loader",3,"hidden"],[2,"z-index","999","position","absolute","top","0"],["class","canvas-progress",4,"ngIf"],["class","loader",4,"ngIf"],[1,"ps-0","pe-0","ps-xl-5","pe-xl-5"],["ngbAccordion","","activeIds","config-panel-0",1,"accordion-bottom"],["ngbAccordionItem","config-panel-0"],["ngbAccordionHeader",""],[1,"d-flex","align-items-center","justify-content-between","sub-item"],[1,"d-flex","row","no-margin","w-100"],[1,"col-2","infoName","grey-600","text-11"],[1,"col-10","infoKnowledge","text-semi","text-11","grey-800",2,"padding-left","16px"],["type","button","ngbAccordionButton","",1,"btn-acc-title"],[1,"dropdown-toggle","toggle-link","dropdown-main","accordian-heading"],["name","dropdownArrowUp","class","f-24",4,"ngIf"],["name","dropdownArrowDown","class","f-24",4,"ngIf"],["ngbAccordionCollapse",""],["ngbAccordionBody",""],[1,"drawer-container","h-100","d-container","overflow-hidden",3,"ngSwitch"],[3,"changedVideo",4,"ngSwitchCase"],[3,"changedVideo"],[1,"position-relative","shadow-none",2,"line-height","0px"],["noloop","","width","100%","height","100%",1,"video-box","p-0","position-relative",3,"ended","id"],[3,"src"],[1,"btn-play","position-absolute","top-0","h-100","w-100","d-flex","align-items-center","justify-content-center"],["class","pointer",3,"click",4,"ngIf"],["class","pointer playPause",3,"click",4,"ngIf"],[1,"pointer",3,"click"],["name","playtutorialvideo",1,"f-120"],[1,"pointer","playPause",3,"click"],["name","pausetutorialvideo",1,"f-120"],[1,"position-relative"],["src","https://static.lightxeditor.com/assets/images/video-error-default.png",1,"image","template__img",2,"opacity","1"],[1,"text-normal","text-semi",2,"position","absolute","top","45%","left","25%"],[1,"canvas-progress"],[1,"inner"],["role","status",1,"spinner-border","spinner-border-lg"],[1,"sr-only","text-nowrap","border-0","position-absolute","overflow-hidden"],[1,"spinner-text","text-bold","mt-13"],[1,"spinner-text-secondary","text-semi","mt-3"],[1,"loader"],[1,"cdk-overlay-backdrop","cdk-overlay-dark-backdrop","cdk-overlay-backdrop-showing"],[1,"loader-inner"],["name","dropdownArrowUp",1,"f-24"],["name","dropdownArrowDown",1,"f-24"],[1,"content-align","text-start","fst-normal","text-lg","text-regular","grey-800"],["class","d-flex row no-margin mt-2",4,"ngIf"],[1,"d-flex","row","no-margin","mt-2"],[1,"col-10","infoKnowledge","text-semi","text-11","grey-800"]],template:function(o,t){if(1&o&&(e.j41(0,"div",8)(1,"div",9)(2,"aside",10)(3,"div",9)(4,"div",11),e.DNE(5,le,2,2,"div",12),e.k0s()()(),e.j41(6,"div",13)(7,"div",14)(8,"div",15,0)(10,"div",16,1)(12,"div",17,2),e.DNE(14,he,8,4,"div",18)(15,pe,2,0,"div",19)(16,me,2,0,"div",20),e.j41(17,"div",21),e.nrm(18,"div",22,3),e.k0s()()(),e.DNE(20,ue,9,0,"div",23)(21,ge,3,0,"div",24),e.nrm(22,"div",22,4),e.k0s()(),e.j41(24,"div",25)(25,"div",26)(26,"div",27,5)(28,"div",28)(29,"div",29)(30,"div",30)(31,"div",31),e.EFF(32,"Name"),e.k0s(),e.j41(33,"div",32),e.EFF(34),e.k0s()(),e.j41(35,"button",33)(36,"div",34),e.DNE(37,_e,1,0,"pi",35)(38,fe,1,0,"pi",36),e.k0s()()()(),e.j41(39,"div",37)(40,"div",38),e.DNE(41,Ce,8,3,"ng-template"),e.k0s()()()()()()()()),2&o){const i=e.sdS(27);e.Y8G("ngClass",t.env.isMobileView?"convertCompressMobile":"convertCompress"),e.R7$(5),e.Y8G("ngIf",t.activeToolPanel),e.R7$(),e.Y8G("ngClass",e.eq3(12,ae,t.env.isMobileView)),e.R7$(8),e.Y8G("ngIf",t.isVideoPlay),e.R7$(),e.Y8G("ngIf",!t.isVideoPlay),e.R7$(),e.Y8G("ngIf",t.videoToolsService.isError),e.R7$(),e.Y8G("hidden",!0),e.R7$(3),e.Y8G("ngIf",!t.isLoaded),e.R7$(),e.Y8G("ngIf",t.inProgress),e.R7$(13),e.JRh(t.videoName),e.R7$(3),e.Y8G("ngIf",i.collapsed),e.R7$(),e.Y8G("ngIf",!i.collapsed)}},dependencies:[b.YU,b.bT,b.ux,b.e1,d.WP,d.r6,d.tW,d.x7,d.UA,d.$R,w.b,ne],styles:[".loaded[_ngcontent-%COMP%]{box-shadow:0 0 12px #0000001a}.layer-text[_ngcontent-%COMP%]{position:absolute;margin-top:57px}.canvas-loader[_ngcontent-%COMP%], .scene-preview-back[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;top:0;left:0;background:#000c;z-index:10000}.bottom-panel-wrapper[_ngcontent-%COMP%]{background:#fff;border-radius:12px 12px 0 0;box-shadow:0 0 12px #0000001a}.collapse-header[_ngcontent-%COMP%]{padding:1rem;border-bottom:solid 2px #e2e2e6}.timeline-canvas-wrapper[_ngcontent-%COMP%]{width:calc(100% - 51px);height:200px;overflow-x:auto}.timeline[_ngcontent-%COMP%]{width:100%}.bottom-panel[_ngcontent-%COMP%]{width:100%;display:block;background:#fff;overflow:hidden}.canvas-mask-wrapper[_ngcontent-%COMP%]{display:inline-flex;overflow:auto}.canvas-mask-wrapper[_ngcontent-%COMP%] .video-box[_ngcontent-%COMP%]{max-width:100%;height:100vh;display:block;max-height:450px;object-fit:cover}.time-duration-container[_ngcontent-%COMP%]{border-radius:6px;width:118px;height:40px;background-color:#fff;border:solid 2px #475ae7}.time-duration-container[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{padding:0rem .5rem}.time-duration-container[_ngcontent-%COMP%] .btn.textblue[_ngcontent-%COMP%]{color:#475ae7}.canvas-progress[_ngcontent-%COMP%]{z-index:999;position:absolute;top:0;height:100%;width:100%;background:#fff;opacity:.8;display:grid}.canvas-progress[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{color:#898b8a;position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.canvas-progress[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .spinner-border[_ngcontent-%COMP%]{color:#626adf}.canvas-progress[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .spinner-border[_ngcontent-%COMP%]{width:60px;height:60px;border:6px solid #626ADF;border-right-color:transparent}.canvas-progress[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .spinner-text[_ngcontent-%COMP%]{font-style:normal;font-size:32px;line-height:44px;text-align:center;color:#000}.canvas-progress[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .spinner-text-secondary[_ngcontent-%COMP%]{font-size:20px;color:#272b34;line-height:36px}.widthAdded[_ngcontent-%COMP%]{width:7rem}.widthRemoved[_ngcontent-%COMP%]{width:calc(100% - 8rem)}.layers-on[_ngcontent-%COMP%] .widthRemoved[_ngcontent-%COMP%]{width:calc(100% - 14.5rem)}.active[_ngcontent-%COMP%]{background:#626adf!important;border-radius:16px!important;color:#fff!important}.opacityactive[_ngcontent-%COMP%]{background:#626adf1a!important;color:#626adf!important;border-radius:16px!important}.opacitytext[_ngcontent-%COMP%], .nav-title-text[_ngcontent-%COMP%]{color:#626adf!important}.displaynone[_ngcontent-%COMP%]{display:none}.displayblock[_ngcontent-%COMP%]{display:block}.image-compare[_ngcontent-%COMP%]{position:absolute;max-height:100%;top:0%;left:0%;height:100%!important;width:100%!important;background-repeat:no-repeat;background-size:100% 100%}.whShowBox[_ngcontent-%COMP%]{background:#272b34cc;color:#fff;border-radius:20px;width:fit-content;font-size:12px;line-height:14.6px}"]}),c})()}];let Ve=(()=>{var s;class c{}return(s=c).\u0275fac=function(o){return new(o||s)},s.\u0275mod=e.$C({type:s}),s.\u0275inj=e.G2t({imports:[I.iI.forChild(Pe),I.iI]}),c})(),Me=(()=>{var s;class c{}return(s=c).\u0275fac=function(o){return new(o||s)},s.\u0275mod=e.$C({type:s}),s.\u0275inj=e.G2t({providers:[{provide:f.a7,useClass:l.z,multi:!0},F,M._,(0,f.$R)((0,f.Sx)())],imports:[b.MD,P.G,d.UN,d._f,_.YN,_.X1,u.s,E.MQ,x.di,C.y,v.R,Ve,h.r]}),c})()},43387:(D,T,n)=>{n.d(T,{y:()=>_});var b=n(54438);let _=(()=>{var f;class E{}return(f=E).\u0275fac=function(C){return new(C||f)},f.\u0275mod=b.$C({type:f}),f.\u0275inj=b.G2t({}),E})()}}]);
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.