PageSourceSearch

https://neoloop.ai/chunk-XCTIGI3S.js

js neoloop.ai collected 2026-09-24 11:02:22 UTC 31,349 bytes, 9 lines download raw bytes

1import{b as Oe}from"./chunk-2BCF22FR.js";import"./chunk-JDVPXKLY.js";import{b as Ie}from"./chunk-6INP4RRF.js";import"./chunk-Y4ECCS32.js";import"./chunk-P6YXYGLQ.js";import{d as ce}from"./chunk-NVUVE2OP.js";import{Y as pe}from"./chunk-T7RXMGEX.js";import{a as ie,c as ne}from"./chunk-FDH7XV3Z.js";import{b as oe}from"./chunk-76WE5NDP.js";import{A as ke,B as Me,R as Ce,r as ye,t as _e,v as be,w as ve,x as we}from"./chunk-A7RCACWV.js";import{D as ge,K as fe,N as xe,V as Se,i as me,s as ue,t as he}from"./chunk-EXV7FKEW.js";import"./chunk-VPLVNNCX.js";import{F as de,G as le,i as ae,k as re,n as se}from"./chunk-WPKM7IVS.js";import{g as w,n as G}from"./chunk-IXFPINUV.js";import{l as Z,m as ee,p as te}from"./chunk-FYTIWII5.js";import{$b as d,Bc as N,Eb as T,Gc as _,Ic as V,P as F,Zc as Q,_b as v,ac as p,bc as c,eb as W,ib as b,ic as z,n as X,oc as M,p as J,pa as U,qa as R,rc as B,sb as D,yb as Y}from"./chunk-VKSHKACQ.js";import{k as L}from"./chunk-ZOCHBAGS.js";var Re=()=>({background:"#34a4df"});function ze(g,e){g&1&&c(0,"i",77)}function Be(g,e){if(g&1){let t=z();d(0,"mat-chip-option",78),M("removed",function(){let a=U(t).$implicit,o=B();return R(o.removeOpt(a))}),_(1),d(2,"mat-icon",79),_(3,"cancel"),p()()}if(g&2){let t=e.$implicit;b(),V(" ",t," ")}}function Ne(g,e){if(g&1&&(d(0,"mat-option",80),_(1),p()),g&2){let t=e.$implicit;v("value",t),b(),V(" ",t.Activity_No," ")}}function Le(g,e){if(g&1){let t=z();d(0,"div")(1,"button",81),M("click",function(){U(t);let a=B();return R(a.addmediadocument())}),_(2," Daten hochladen "),p()()}}function Ve(g,e){if(g&1&&(d(0,"div")(1,"button",82),_(2," Daten hochladen "),p()()),g&2){let t=B();b(),v("disabled",t.showButton)}}var Ge={bytes:0,KB:0,MB:1,GB:1,TB:2,PB:2},De=class g{constructor(e,t,i,a,o){this.userService=e;this.activatedRoute=t;this.router=i;this.authService=a;this.sweetAlert=o;this.units=["bytes","KB","MB","GB","TB","PB"];this.filearray=[];this.filearraynew=[];this.showButton=!1;this.imagedata="a";this.m=1;this.typesOptionsArray=[];this.separatorKeysCodes=[13,188];this.documentid=[];this.documentlist=[];this.ticket_no="";this.progressInfos=[];this.imagearray=[];this.message=[];this.progress=[];this.l=0;this.fn="";this.ln="";this.loginid=this.userService.getDecodedAccessToken(localStorage.getItem("token")).id;this.title=this.userService.getDecodedAccessToken(localStorage.getItem("token")).title;this.lastname=this.userService.getDecodedAccessToken(localStorage.getItem("token")).lastname;this.firstname=this.userService.getDecodedAccessToken(localStorage.getItem("token")).firstname;this.COMPANYNAME=this.userService.getDecodedAccessToken(localStorage.getItem("token")).companyname;this.year=new Date().getFullYear();this.loginRole=localStorage.getItem("currentActiveRole");this.id=this.userService.getDecodedAccessToken(localStorage.getItem("token")).id;this.alldocuments=[];this.allticketno=[];this.selected_case=[];this.selected_company=[];this.selected_brand=[];this.brand_details={};this._handleImageUpload=()=>{$("#loaderouterid").css("display","flex"),console.log("ticket_no"+this.ticket_no),console.log("ticket_no"+this.filearray.length),console.log("ticket_no"+JSON.stringify(this.filearray));let e="",t=this.brand_name.substr(0,2).toLowerCase();t!=""?e=this.companyname.split(" ")[0]+"-"+t+"-":e=this.companyname.split(" ")[0]+"-",this.userService.getLastdocument().pipe(F()).subscribe(i=>{console.log("ticket_no"+i);let a=$("#documentname").val(),o=this.selected_case,r=this.typesOptionsArray;console.log("manual_tags"+this.typesOptionsArray),console.log("manual_tags"+o),console.log("manual_tags"+a),o!=""?this.ticket_no=o:this.ticket_no=e.substring(3,e.length)+""+i;var n={image:"",document_type:"",document_sub_type:"",user_id:"",product_partner:"",companycode:"",brand:"",tags:[],upload_by:"",bill_type:"",ticket_no:"",manual_tags:"",document_name:""},x=new Oe("p","pt","a4"),u=x.internal.pageSize.width,s=x.internal.pageSize.height;console.log("filearray"+u,s),this.filearray=this.filearray.filter(function(){return!0});let l=1;for(let f=0;f<this.filearray.length;f++){let C=this.filearray[f],y=new FileReader,h=C.name.substr(C.name.lastIndexOf(".")+1);console.log("dddddddddd"+h),y.readAsDataURL(C),y.onload=()=>{let A=y.result.split(",")[1];if(h=="PDF"||h=="pdf"||h=="pdfx"||h=="docx"||h=="doc"||h=="DOCX"||h=="txt"||h=="TXT"||h=="MP4"||h=="mp4"){let m=Math.round(this.filearray[f].size/1024),k=this.filearray[f].type,I=this.filearray[f].lastModified;
1console.log("this.StringTypeCasting "+m),n.image=this.filearray[f],n.document_type=this.document_type?this.document_type:"Allgemeines Dokument",n.document_sub_type=this.document_sub_type?this.document_sub_type:" ",n.user_id=this.user_id,n.product_partner=" ",n.companycode=this.companyname,n.brand=this.brand_name,n.upload_by=this.upload_by,n.bill_type=this.bill_type,n.manual_tags=r,n.document_name=a+"-"+l,n.ticket_no=this.ticket_no,n.tags.push(m.toString()),n.tags.push(k),n.tags.push(I),this.uploadDocument1(n,f,l-1),l++,n.tags=[]}else{var E=u-300,j=E/2,P=s-180,O=P/2;if(x.addImage(A,50,50,u-100,s-100),f==this.filearray.length-1){this.pdffile=x.output("blob"),console.log(this.pdffile);let m=Math.round(this.pdffile.size/1024),k="application/pdf",I=new Date().getTime();n.image=this.pdffile,n.document_type=this.document_type?this.document_type:"Allgemeines Dokument",n.document_sub_type=this.document_sub_type?this.document_sub_type:" ",n.user_id=this.user_id,n.product_partner=" ",n.companycode=this.companyname,n.brand=this.brand_name,n.upload_by=this.upload_by,n.bill_type=this.bill_type,n.manual_tags=r,n.document_name=a+"-"+l,n.ticket_no=this.ticket_no,n.tags.push(m.toString()),n.tags.push(k),n.tags.push(I),this.uploadDocument1(n,f,l-1),l++,n.tags=[]}else x.addPage()}}}this.filearraynew=[]})};this.activatedRoute.queryParams.subscribe(r=>{console.log(r),this.document_sub_type=r.document_type,this.brand_name="Fioretto Media",this.bill_type="",this.user_id=this.id,this.document_type="Allgemeines Dokument",this.companyname="42130 Fioretto Media GmbH",this.upload_by="media_upload"})}selected_case_no(e){console.log("Selected case no"),console.log(e),console.log(e.option.value.Activity_No),$("#case_no").val(e.option.value.Activity_No),this.selected_case=e.option.value.Activity_No,this.selected_company=e.option.value.companyname,this.selected_company.includes("42100")?this.selected_brand="Filippo Fioretto":this.selected_company.includes("42110")?this.selected_brand="FGI":this.selected_company.includes("42120")?this.selected_case.indexOf("fi")!=-1?this.selected_brand="Fioretto Group":this.selected_brand="Birema":this.selected_company.includes("42130")?this.selected_case.indexOf("is")!=-1?this.selected_brand="ISM Technology":this.selected_case.indexOf("fi")!=-1?this.selected_brand="Fioretto Immobilien":this.selected_case.indexOf("ch")!=-1?this.selected_brand="Check N Track":this.selected_case.indexOf("ot")!=-1?this.selected_brand="Ontrain":this.selected_case.indexOf("ot")!=-1&&(this.selected_brand="Ontrain"):this.selected_company.includes("42140")?this.selected_case.indexOf("ce")!=-1?this.selected_brand="Cefima":this.selected_brand="Sterbe-Vorsorge_de":this.selected_company.includes("42170")&&(this.selected_brand="Ecoshark"),this.brand_name=this.selected_brand,this.companyname=this.selected_company}getnotidata(e){}ngAfterViewInit(){}addOpt(e){let t=e.input,i=e.value;console.log("input"+t),console.log("value"+i),console.log("valuenew"+i.trim()),console.log("valuenew"+this.typesOptionsArray),(i||"").trim()&&this.typesOptionsArray.push(i.trim().toLowerCase()),t&&(t.value="")}removeOpt(e){let t=this.typesOptionsArray.indexOf(e);t>=0&&this.typesOptionsArray.splice(t,1)}ngOnInit(){return L(this,null,function*(){this.userSubscription=this.authService.user$.subscribe(t=>{this.currentUser=t}),this.localdata=this.currentUser,$("#loaderouterid").css("display","flex"),this.brand_details=yield this.getNeoloopBrandDetails();let e=`${this.brand_details.company_info?.[0]?.company_code||""} ${this.brand_details.company_info?.[0]?.name||""}`.trim();this.userService.GetSingleDocument("","","",e).subscribe(t=>{$("#loaderouterid").css("display","none"),console.log("success tickets"),console.log(t),this.alldocuments=t,this.allticketno=[...this.alldocuments]})})}getticketnumbers(e){let t=e.target.value;if(this.allticketno=[],this.allticketno.length=0,t!="")for(let i=0;i<this.alldocuments.length;i++)this.alldocuments[i].Activity_No.indexOf(t)!=-1&&this.allticketno.push(this.alldocuments[i]);else for(let i=0;i<this.alldocuments.length;i++)this.allticketno.push(this.alldocuments[i]);
1console.log("searched keyword"),console.log(t),console.log(this.allticketno)}logout(){localStorage.removeItem("token"),this.router.navigate(["./"]),document.body.classList.remove("modal-open")}uploadDocument1(e,t,i){let a=this.filearray.length;console.log(""+i),console.log(""+e);let o=new FormData;o.append("document_type",e.document_type),o.append("document_sub_type",e.document_sub_type),o.append("product_partner",e.product_partner),o.append("user",e.user_id),o.append("companycode",e.companycode),o.append("brand",e.brand),o.append("tags",e.tags),o.append("upload_by",e.upload_by),o.append("bill_type",e.bill_type),o.append("ticket_no",e.ticket_no),o.append("manual_tags",e.manual_tags),o.append("document_name",e.document_name),e.image!==""&&o.append("document",e.image),this.userService.callApimediaupload(o).subscribe(r=>{switch(r.type){case w.Sent:console.log("Request has been made!");break;case w.ResponseHeader:console.log("Response header has been received!");break;case w.UploadProgress:console.log(r.total),console.log(r.loaded),$("div.percentageclass"+i).width(Math.round(r.loaded/r.total*100)+"%"),$("div.percentageclass"+i).html(Math.round(r.loaded/r.total*100)+"%"),console.log("Uploaded! %");break;case w.Response:console.log("User successfully created!",r.body),$("#loaderouterid").css("display","none"),a==t+1&&(this.sweetAlert.success("Dokument erfolgreich hochgeladen. Ihre Ticket-Nr. ist "+this.ticket_no,"","OK").subscribe(),this.ticket_no="",$("#formdocument")[0].reset(),this.typesOptionsArray=[])}})}uploadDocument(e,t){let i=this.filearray.length;$("#loaderouterid").css("display","flex");let a=new FormData;a.append("document_type",e.document_type),a.append("document_sub_type",e.document_sub_type),a.append("product_partner",e.product_partner),a.append("user",e.user_id),a.append("companycode",e.companycode),a.append("brand",e.brand),a.append("tags",e.tags),a.append("upload_by",e.upload_by),a.append("bill_type",e.bill_type),a.append("ticket_no",e.ticket_no),a.append("manual_tags",e.manual_tags),a.append("document_name",e.document_name),e.image!==""&&a.append("document",e.image),this.UploadDone=!0,this.userService.callApiMultipartmedia(a).pipe(F()).subscribe(o=>{$("#Success").html(`<div class="alert alert-success" role="alert">
2          Erfolgreich hochgeladen
3        </div>`),$("#Success").css("text-align","center"),$("#Success").css("font-size","30px"),console.log("POST Request is successful ",o),this.UploadDone=!0},o=>{$("#loaderouterid").css("display","none"),this.UploadError=!0,console.log("Error",o.error)},()=>{console.log(i,t),$("#loaderouterid").css("display","none"),i==t+1&&(this.sweetAlert.success("Dokument erfolgreich hochgeladen. Ihre Ticket-Nr. ist "+this.ticket_no,"","OK").subscribe(),this.ticket_no="",$("#formdocument")[0].reset(),this.typesOptionsArray=[])})}isLoggedIn(){let e=this.authService.checkRouteRedirect(this.loginRole);this.router.navigate([e])}addmediadocument(){if(this.documentlist.length==this.documentid.length){$("#loaderouterid").css("display","flex");let e="",t=this.brand_name.substr(0,2).toLowerCase();t!=""?e=this.companyname.split(" ")[0].substr(3,2).toLowerCase()+"-"+t+"-":e=this.companyname.split(" ")[0].substr(3,2).toLowerCase()+"-";let i=$("#documentname").val(),a=this.selected_case,o=this.typesOptionsArray,r={document:this.documentid,documentlist:this.documentlist,created_by:this.loginid,documentname:i,ticketnew:a,manual_tags:o,ticket_no:e};this.userService.addmediadocument(r).pipe(F()).subscribe(n=>{this.selected_case!=""?this.sweetAlert.success("Dokument erfolgreich hochgeladen. Ihre Ticket-Nr. ist "+this.selected_case,"","OK"):this.sweetAlert.success("Dokument erfolgreich hochgeladen.","","OK"),this.ticket_no="",$("#formdocument")[0].reset(),$("#loaderouterid").css("display","none"),$(".pip").remove(),this.typesOptionsArray=[],this.filearray=[],this.filearraynew=[],this.l=0,this.documentid=[],this.documentlist=[],this.router.routeReuseStrategy.shouldReuseRoute=()=>!1},n=>{console.log("Error",n.error),$("#loaderouterid").css("display","none")})}}dataconvert(e=0,t=Ge){if(!Number.isFinite(e))return"?";let i=0,a=e;for(;a>=1024&&i<this.units.length-1;)a/=1024,i++;let o=this.units[i],r;return typeof t=="number"?r=t:r=t[o]??2,`${a.toFixed(r)} ${o}`}handleImageChange(e){return L(this,null,function*(){$("#result").html(""),this.showButton=!0,e.preventDefault();let t=(u,s)=>{console.log("previewData"+u),$("#openpreviewmodel").trigger("click"),this.open_modal("exampleModalpreview"),$("#showpreviewtitle").html("<b>Dokumentenname: </b>"+s),$("#showpreviewdownload").attr("href",u),u.indexOf("data:application/pdf;")!=-1?($("#showpreviewimg").attr("src",""),$("#showpreviewimg").css("display","none"),$("#showpreviewpdf").attr("src",""),$("#showpreviewpdf").css("display","block"),$("#showpreviewpdf").attr("src",u)):($("#showpreviewpdf").attr("src",""),$("#showpreviewpdf").css("display","none"),$("#showpreviewimg").attr("src",""),$("#showpreviewimg").css("display","block"),$("#showpreviewimg").attr("src",u))},i=u=>{delete this.filearraynew[u];let s=this.filearraynew.filter(function(){return!0});s.length>0||(this.showButton=!1),this.filearray=s,delete this.documentid[u];let l=this.documentid.filter(function(){return!0});this.documentid=l,delete this.documentlist[u];let f=this.filearraynew.filter(function(){return!0});this.documentlist=f};var a=e.target.files,o=a.length;for(let u=0;u<o;u++){let s=a[u],l=this.l;this.l=this.l+1,this.filearraynew.push(s);let f=s.size,C=this.dataconvert(f);this.filearray=this.filearraynew;let y=s.name.substr(s.name.lastIndexOf(".")+1);console.log(y);let h,A;y=="JPEG"||y=="jpeg"||y=="png"||y=="pneg"||y=="jpg"||y=="JPG"||y=="GIF"||y=="gif"?this.imagedata=="a"?(console.log("hhhhhhhhhhhhhhhhhhhhhhhhh"),A=this.m-1,this.imagedata=this.m-1,this.m++):A=this.imagedata:(A=this.m-1,this.m++);var r=new FileReader;let E=s.type,j=s.lastModified;var n=new Date(j),x=n.getDate()+"."+(n.getMonth()+1)+"."+n.getFullYear();r.onload=function(O){h=O.target.result;let m=s.name.substr(s.name.lastIndexOf(".")+1);console.log(m),m=="doc"||m=="docx"?h="../assets/docx.png":m=="pdf"||m=="pdfx"?h="../assets/PDF.svg":m=="txt"||m=="TXT"?h="../assets/txt.png":h=O.target.result,m=="mp4"||m=="MP4"||m=="mov"||m=="MOV"||m=="aiv"||m=="AIV"?($(`<div class="pip" style="width: 290px;
3display: inline-block;margin: 8px;" "id='pipremove`+l+`'><div class="removepreview" id="removepreviewid`+l+'" style="background: #184297;border-radius: 50%;width:30px;height:30px;font-size: 14px; text-align: center; padding: 6px;color: white;position: absolute;margin-left: 257px;margin-top: 2px;margin-right: 0 !important;cursor: pointer;">X</div><video controls  id="videoSourceWrapper'+l+'" style="width: 100%;height:300px;  object-fit: cover; " "/></video><div> <b>Dokumentenname: '+s.name+"</b> </div><div> <b class='limitword'>Dateigr\xF6\xDFe: "+C+"</b> </div><div> <b>Dateityp: "+E+"</b> </div><div> <b>Datum des Dokuments: "+x+'</b> </div>   <div class="progress form-group " id="progressnew'+l+'" style="background-color: grey;width: 100%;"> <div class="percentageclass'+l+' progress-bar progress-bar-striped bg-success" role="progressbar" id="percentage'+l+'" [style.width.%]=""> </div> </div> </div>').insertAfter("#result"),$("#videoSourceWrapper"+l).attr("src",URL.createObjectURL(a[u]))):$(`<div class="pip uploadedMedia-doc col-xxl-4 col-lg-6 col-md-6 col-12" style="display: inline-block;margin-top: 12px;" "id='pipremove`+l+`'><div class="uploadedMediaCard"><div class="delete-btn"><div class="removepreview links" id="removepreviewid`+l+'">X</div></div><div class="uploadedMediaCard-inner"><div class="uploadedMedia-item"><img class="imageThumb" src="'+h+'" title="'+s.name+`"/></div><div class="uploadedMedia-content"><p> <b class='limitword' title='`+s.name+"'>Dokumentenname: "+s.name+"</b> </p><p> <b class='limitword'>Dateigr\xF6\xDFe: "+C+"</b>  </p><p> <b class='limitword'>Dateityp: "+E+"</b> </p><p> <b class='limitword'>Datum des Dokuments: "+x+`</b> </p></div></div><div class='preview-btn'><div class="previewdoc links" data-doc_name="`+s.name+'" data-preview_source="'+O.target.result+'" id="previewdoc'+l+`" ><i class="fa fa-eye" aria-hidden="true"></i></div></div><div class='all-delete-btn'><div class="progress form-group " id="progressnew`+l+'" style="background-color: grey;width: 100%;"> <div class="percentageclass'+l+' progress-bar progress-bar-striped bg-success" role="progressbar" id="percentage'+l+'" [style.width.%]=""> </div> </div></div></div></div>').insertAfter("#result"),$(".previewdoc").click(function(k){t($(this).data("preview_source"),$(this).data("doc_name")),k.stopPropagation(),k.stopImmediatePropagation()}),$("#removepreviewid"+l).click(function(){i(l),$(this).parent().parent().parent(".pip").remove()})},r.readAsDataURL(s);let P=new FileReader;P.onload=O=>{let m=O.target.result,k=s.name.substr(s.name.lastIndexOf(".")+1),I=this.companyname.match(/^(\d+)/),je=I?I[1]:"",Ae={upload_type:"company",file_data:m,fileName:s.name,fileType:s.type,fileExtension:k,fileSizeBytes:s.size,companyId:G.company_id,document_type:this.document_type,brand_name:this.brand_details?.name||"",brand_id:this.brand_details?._id||"",case_no:this.selected_case||"",user_id:this.user_id,companycode:`${this.brand_details.company_info?.[0]?.company_code||""} ${this.brand_details.company_info?.[0]?.name||""}`.trim()};this.userService.neoloopMediaUpload(Ae).subscribe(S=>{switch(S.type){case w.Sent:console.log("Request has been made!");break;case w.ResponseHeader:console.log("Response header has been received!");break;case w.UploadProgress:$("div.percentageclass"+l).width(Math.round(S.loaded/S.total*100)+"%"),$("div.percentageclass"+l).html(Math.round(S.loaded/S.total*100)+"%");break;case w.Response:setTimeout(()=>{$("#progressnew"+l).css("display","none"),this.documentid[l]=S.body.document_unique_id;let Te=s.size,$e=this.dataconvert(Te),Ee=s.type,Pe=s.lastModified,K=[],Fe=$e+","+Ee+","+Pe;K.push(Fe);let H="",q=this.brand_name.substr(0,2).toLowerCase();q!=""?H=this.companyname.split(" ")[0]+"-"+q+"-":H=this.companyname.split(" ")[0]+"-";let Ue=s.name+"-"+parseInt(l)+parseInt(1);this.documentlist[l]={document_unique_id:S.body.document_unique_id,document_type:"Allgemeines Dokument",document_sub_type:" ",user_id:this.loginid,companycode:`${this.brand_details.company_info?.[0]?.company_code||""} ${this.brand_details.company_info?.[0]?.name||""}`.trim(),brand:this.brand_details?.name||"",brand_id:this.brand_details?._id||"",tags:K,upload_by:"media_upload",product_partner:" ",document_name:Ue,created_by:this.loginid},console.log("documentlist"+JSON.stringify(this.documentlist))},500)}})}
3,P.readAsDataURL(s)}})}open_modal(e){$(".editing-something").css({filter:"blur(5px)","pointer-events":"none"}),$("#"+e).appendTo("body")}close_modal(e,t){$(".editing-something").css({filter:"none","pointer-events":"auto"}),$("#"+e).appendTo("#"+t)}ngOnDestroy(){this.userSubscription&&this.userSubscription.unsubscribe()}getNeoloopBrandDetails(){return X(this.userService.get_brand_by_id({brand_id:G.brand_id}).pipe(J(e=>e.length>0?e[0]:{})))}static{this.\u0275fac=function(t){return new(t||g)(D(pe),D(ie),D(ne),D(ce),D(oe))}}static{this.\u0275cmp=Y({type:g,selectors:[["app-media-upload"]],decls:102,vars:11,consts:[["chipList",""],["auto","matAutocomplete"],["divone",""],["id","loaderouterid",1,"loaderouter"],[1,"loader"],["fxLayout","column",1,"app-background"],["fxFlex","","fxLayout","column"],["fxFlex",""],[1,"table-min-height"],[1,"table-section"],["fxLayout","row wrap","fxLayoutAlign","center center","fxLayoutGap","0px",2,"margin-top","10px"],[1,"main",2,"width","100%"],[1,"container-fluid"],[1,"row"],[1,"col-md-12"],["id","step-1",1,"row","setup-content"],[1,"custom-overlay-wrapper","w-100"],["id","formdocument",2,"width","100%"],[1,"row",2,"width","100%"],[1,"col-md-12",2,"display","inline-block"],[1,"row",2,"margin-top","-40px !important","margin-bottom","15px"],[1,"col-md-12","cusotmer-select",2,"font-size","20px","margin-top","20px","display","flex"],[2,"display","flex"],[2,"color","white","padding","12px 25px 12px 25px","background","#71B8FE","border-radius","0.25rem 0 0 0.25rem","padding-top","15.5px"],["class","fa fa-building","aria-hidden","true","style","color: white;",4,"ngIf"],["id","triangle",3,"ngStyle"],[2,"color","white","padding-top","15.5px","background","#34a4df","margin-left","-18px"],["id","triangle1"],[1,"col-md-5",2,"padding","0","display","inline-block"],[1,"col-md-12","verticalalign",2,"display","inline-block"],["appearance","outline",2,"width","90%"],["matInput","","name","documentname","id","documentname","placeholder","Medienname"],["aria-hidden","true","matTooltip"," Wenn Sie hier einen Mediennamen hinzuf\xFCgen wird der urspr\xFCngliche Medienname ersetzt. (optional)","matTooltipPosition","right",1,"fa","fa-info-circle","links",2,"font-size","25px","padding-left","5px","color","#71B8FE","cursor","pointer"],["appearance","outline",1,"example-chip-list",2,"width","90%"],[2,"height","20px","/*overflow-y","scroll",`*/
4                                                          display`,"block","/*overflow-x","hidden"],["placeholder","Manuelle Tags +","name","manual_tags","id","manual_tags",3,"matChipInputTokenEnd","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur"],["aria-hidden","true","matTooltip","F\xFCgen Sie hier individuelle Tags zur Mediendatei hinzu. (optional)","matTooltipPosition","right",1,"fa","fa-info-circle","links",2,"font-size","25px","padding-left","5px","color","#71B8FE","cursor","pointer"],[1,"row",2,"margin-top","-15px","margin-bottom","15px"],["style",`    padding: 8px;
5                                                            border-radius: 4px;
6                                                            background: #71B8FE;
7                                                            color: #fff; min-height: unset;
8                                                            padding-top:10px;padding-bottom:10px;font-size: 13.5px;margin-left:5px;`,3,"removed",4,"ngFor","ngForOf"],["type","text","id","case_no","placeholder","Vorgangs Nr.","matInput","",3,"keyup","matAutocomplete"],[3,"optionSelected"],[3,"value",4,"ngFor","ngForOf"],["aria-hidden","true","matTooltip","Hier k\xF6nnen Sie die Mediendaten direkt einem Vorgang oder Projekt hinzuf\xFCgen. (optional)","matTooltipPosition","right",1,"fa","fa-info-circle","links",2,"font-size","25px","padding-left","5px","color","#71B8FE","cursor","pointer"],[1,"col-md-7","card-center",2,"display","inline-block","padding","0px !important"],["id","Success"],[1,"upload-file","bg-primary2","rounded","p-l-30","position-relative",2,"cursor","pointer"],["type","file","id","organization_image","multiple","","name","organization_image","accept",".doc, .docx,text/plain, application/pdf, image/* , video/*",1,"upload-files","w-100","position-absolute",2,"height","253px",3,"click","change"],[1,"mt-3",2,"text-align","center"],[1,"icons-img"],[1,"fas","fa-file-pdf"],[1,"fas","fa-file"],[1,"far","fa-file-image"],[1,"fas","fa-file-alt"],[2,"display","block","margin","0 auto"],[1,"up-file-wrap",2,"text-align","center"],[1,"fas","fa-file-upload","font-24","p-r-15","align-self-center",2,"font-size","50px","padding","0p
8x 37px"],[1,"text-bodycolor","font-18","mt-2","m-b-0",2,"font-size","20px","font-weight","600","text-align","center"],["id","result",2,"width","100%","display","inline-block"],[1,"row","text-right","p-3",2,"margin-bottom","16px"],[1,"col-md-12","top-section",2,"margin-right","12px"],[4,"ngIf"],["id","openpreviewmodel","type","button","data-toggle","modal","data-target","#exampleModalpreview",2,"display","none"],["id","exampleModalpreview_parent"],["id","exampleModalpreview","tabindex","-1","role","dialog","aria-labelledby","exampleModalpreviewTitle","aria-hidden","true","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["role","document",1,"modal-dialog",2,"max-width","1000px"],[1,"modal-content"],[1,"modal-header"],["id","showpreviewtitle",2,"font-size","15px"],["type","button","data-dismiss","modal","aria-label","Close",1,"close",3,"click"],["src","../assets/closeModel.svg","alt","Close",2,"width","20px","height","20px","display","block"],[1,"modal-body"],["id","showpreviewpdf","src",W``,2,"width","100%","height","600px","display","none"],["id","showpreviewimg","src","",2,"width","100%","height","100%","display","none"],[1,"col-md-12",2,"text-align","end","margin-top","5px"],["href","","id","showpreviewdownload","target","_blank","download","",1,"btn",2,"color","#3a8ec5","margin-right","-20px"],[1,"side-icons"],["aria-hidden","true",1,"fa","fa-download","links",2,"position","relative","float","right","padding","7px 0px 0px 9px","margin","2px 0px 8px 2px"],["aria-hidden","true",1,"fa","fa-building",2,"color","white"],[2,"padding","8px","border-radius","4px","background","#71B8FE","color","#fff","min-height","unset","padding-top","10px","padding-bottom","10px","font-size","13.5px","margin-left","5px",3,"removed"],["matChipRemove","",2,"color","white !important","opacity","1 !important"],[3,"value"],[1,"btn","button-primary",3,"click"],[1,"btn",2,"background-color","var(--color-disabled)","color","var(--color-text)",3,"disabled"]],template:function(t,i){if(t&1){let a=z();d(0,"div",3),c(1,"div",4),p(),d(2,"div",5)(3,"div",6)(4,"div",7)(5,"div",8)(6,"div",9)(7,"div",10)(8,"section",11)(9,"div",12)(10,"div",13)(11,"div",14)(12,"div",12),c(13,"br"),d(14,"div",15)(15,"div",16)(16,"form",17)(17,"div",18)(18,"div",19)(19,"div",20)(20,"div",21)(21,"div",22)(22,"div",23),T(23,ze,1,0,"i",24),d(24,"span"),_(25," Neoloop"),p()(),c(26,"div",25),d(27,"div",26),_(28," Media Upload"),p(),c(29,"div",27),p()()()(),d(30,"div",28)(31,"div",29)(32,"mat-form-field",30)(33,"mat-label"),_(34,"Medienname"),p(),c(35,"input",31),p(),c(36,"i",32),p(),d(37,"div",29)(38,"mat-form-field",33)(39,"mat-label"),_(40,"Manuelle Tags +"),p(),d(41,"mat-chip-grid",34,0)(43,"input",35),M("matChipInputTokenEnd",function(r){return i.addOpt(r)}),p()()(),c(44,"i",36),d(45,"div",37)(46,"div",14),T(47,Be,4,1,"mat-chip-option",38),p()()(),d(48,"div",29)(49,"mat-form-field",30)(50,"mat-label"),_(51,"Vorgangs Nr./Projekt-ID"),p(),d(52,"input",39),M("keyup",function(r){return i.getticketnumbers(r)}),p(),d(53,"mat-autocomplete",40,1),M("optionSelected",function(r){return i.selected_case_no(r)}),T(55,Ne,2,2,"mat-option",41),p()(),c(56,"i",42),p()(),d(57,"div",43)(58,"div"),c(59,"div",44),d(60,"div",45)(61,"input",46,2),M("click",function(){U(a);let r=N(62);return R(r.value=null)})("change",function(r){return i.handleImageChange(r)}),p(),d(63,"div",47)(64,"div",48),c(65,"i",49),p(),d(66,"div",48),c(67,"i",50),p(),d(68,"div",48),c(69,"i",51),p(),d(70,"div",48),c(71,"i",52),p()(),d(72,"div",53)(73,"div",54),c(74,"i",55),d(75,"p",56),_(76," Medien f\xFCr Upload w\xE4hlen oder einfach hierhin ziehen. "),p()()()()()()()()()()()()()(),d(77,"div",12)(78,"div",14)(79,"div",13),c(80,"div",57),p()(),d(81,"div",58)(82,"div",59),T(83,Le,3,0,"div",60)(84,Ve,3,1,"div",60),p()()()()()()()()()(),d(85,"button",61),_(86,` ddd
9`),p(),d(87,"div",62)(88,"div",63)(89,"div",64)(90,"div",65)(91,"div",66),c(92,"span",67),d(93,"button",68),M("click",function(){return i.close_modal("exampleModalpreview","exampleModalpreview_parent")}),c(94,"img",69),p()(),d(95,"div",70),c(96,"embed",71)(97,"img",72),d(98,"div",73)(99,"a",74)(100,"span",75),c(101,"i",76),p()()()()()()()()}if(t&2){let a=N(42),o=N(54);b(23),v("ngIf",i.companyname!=""),b(3),v("ngStyle",Q(10,Re)),b(17),v("matChipInputFor",a)("matChipInputSeparatorKeyCodes",i.separatorKeysCodes)("matChipInputAddOnBlur",!0),b(4),v("ngForOf",i.typesOptionsArray),b(5),v("matAutocomplete",o),b(3),v("ngForOf",i.allticketno),b(28),v("ngIf",i.showButton),b(),v("ngIf",!i.showButton)}},dependencies:[ee,te,Z,he,ue,Ce,be,ve,_e,ye,fe,ge,xe,me,ke,Me,Se,le,se,ae,de,re,Ie,we],styles:[".upload-file[_ngcontent-%COMP%]{border:2px dashed #ccc}.upload-file[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:hover{cursor:pointer}.upload-file[_ngcontent-%COMP%]:hover{border:2px dashed #007bff}.upload-file[_ngcontent-%COMP%]   .up-file-wrap[_ngcontent-%COMP%]{margin:20px 0}.upload-file[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{outline:none;opacity:0}
9.bg-primary2[_ngcontent-%COMP%]{background-color:#eef7ff!important}.icons-img[_ngcontent-%COMP%]{display:inline-block;width:80px;margin-bottom:30px}.icons-img[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:50px;color:gray}.text-bodycolor[_ngcontent-%COMP%]{color:#212529!important}.top-section[_ngcontent-%COMP%]{width:100%;display:block;margin:0 auto}.imageThumb[_ngcontent-%COMP%]{width:100%;height:210px}#result[_ngcontent-%COMP%]{width:100%;display:inline-block}.pip[_ngcontent-%COMP%]{width:290px;display:inline-block;margin:8px}.removepreview[_ngcontent-%COMP%]{background:#71b8fe;width:5%;border-radius:50%;width:30px;height:30px;font-size:14px;text-align:center;padding:6px;color:#fff;position:absolute;margin-left:257px;margin-top:2px;margin-right:0!important;cursor:pointer}.custom-overlay-wrapper[_ngcontent-%COMP%]{position:relative}#custom-overlay[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;background:#ffffffb3;z-index:999999}.checkout_setting[_ngcontent-%COMP%]   #custom-overlay[_ngcontent-%COMP%]{z-index:9999}#custom-overlay[_ngcontent-%COMP%]   .form-loading[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.custom-overlay-sidebar[_ngcontent-%COMP%]{background:#272c33b5!important}@media only screen and (max-width:767px){.pip[_ngcontent-%COMP%]{width:290px;display:block;margin:8px auto}}.verticalalign[_ngcontent-%COMP%]{vertical-align:top}  .mat-mdc-tooltip{color:#fff!important;background-color:#71b8fe!important;font-size:14px!important}.uploadedMedia-doc-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}  .uploadedMediaCard{position:relative}  .uploadedMediaCard .delete-btn,   .uploadedMediaCard .preview-btn{position:absolute;height:20px;background-color:#71b8fe!important;display:flex;align-items:center;justify-content:center;padding:2px 5px;border-radius:4px;width:24px;color:#fff;cursor:pointer;font-size:16px}  .uploadedMediaCard .delete-btn{right:0;top:0}  .uploadedMediaCard .preview-btn{right:0;bottom:0}  .uploadedMediaCard-inner{display:flex;align-items:center;gap:10px;overflow:hidden;width:calc(100% - 30px)}  .uploadedMedia-item{width:100px;min-width:100px;max-width:100px;display:flex;align-items:center}  .uploadedMedia-item img{width:90px;height:auto;object-fit:contain;max-height:90px}  .uploadedMedia-content{width:100%;overflow:hidden}  .uploadedMedia-content p{font-size:13px;line-height:1.4;margin:0;white-space:normal;overflow:hidden;text-overflow:ellipsis}"]})}};export{De as MediaUploadComponent};

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.