1"use strict";(self.webpackChunkspa_client=self.webpackChunkspa_client||[]).push([[76],{53489(O,b,d){d.d(b,{Z:()=>g});var u=d(49769),C=d(37774),S=d(89417),y=d(35547),_=d(85802);let g=(()=>{class m{static{this.\u0275fac=function(c){return new(c||m)}}static{this.\u0275mod=y.$C({type:m})}static{this.\u0275inj=_.G2t({imports:[u.MD,C.l,S.YN]})}}return m})()},80600(O,b,d){d.d(b,{Z:()=>_});var u=d(91413),C=d(85802),S=d(11591),y=d(91902);let _=(()=>{class g{constructor(a,o,c){this.httpClient=a,this.storageService=o,this.configManagerService=c;const s=this.configManagerService.getConfig("storage_keys"),i=this.configManagerService.getConfig("app");this.websiteCode=i.website_code,this.vid=this.storageService.getItem(s.visitor_id)}deleteItem(a,o){const c=this.configManagerService.getConfig("cart"),s=new u.Lr({"Visitor-Id":String(this.vid)});return this.httpClient.delete(c.delete_cart_item_url+"?websiteCode="+this.websiteCode,{headers:s,body:{cartId:a,itemId:o}})}duplicateItem(a={}){const c=this.configManagerService.getConfig("cart").create_cart_item_url+"?websiteCode="+this.websiteCode,s=new u.Lr({"Visitor-Id":String(this.vid)});return this.httpClient.post(c,a,{headers:s,withCredentials:!0})}editItem(a={}){const c=this.configManagerService.getConfig("cart").edit_cart_item_url+"?websiteCode="+this.websiteCode,s=new u.Lr({"Visitor-Id":String(this.vid)});return this.httpClient.put(c,a,{headers:s,withCredentials:!0})}getHardCopyPrice(a){const c=this.configManagerService.getConfig("cart").compute_hcp_url+"?websiteCode="+this.websiteCode,s=new u.Lr({"Visitor-Id":String(this.vid)});return this.httpClient.post(c,a,{headers:s,withCredentials:!0})}getItemPriceData(a,o){const c=new u.Lr({"Visitor-Id":String(this.vid)}),s=this.configManagerService.getConfig("app");let r=this.configManagerService.getConfig("cart").get_price_data_url;return r+=`?cartId=${a}&itemId=${o}&websiteCode=${s.website_code}`,this.httpClient.get(r,{headers:c,withCredentials:!0})}saveProjectName(a,o,c){const i=this.configManagerService.getConfig("cart").edit_project_name_url+"?websiteCode="+this.websiteCode,r=new u.Lr({"Visitor-Id":String(this.vid)});return this.httpClient.put(i,{cartId:Number(a),cartItemId:Number(o),projectName:c},{headers:r,withCredentials:!0})}getItemCalculatorData(a,o){const c=this.configManagerService.getConfig("app"),s=this.configManagerService.getConfig("checkout");return this.httpClient.get(c.checkout_api_url+s.get_calculator_data_url+"/"+o+"?cart_id="+a+"&vid="+this.vid)}getCartItem(a,o){const s=`${this.configManagerService.getConfig("cart").get_cart_item_url}/${a}`,i=new u.Lr({"Visitor-Id":String(this.vid)});return this.httpClient.get(s,{params:{cartId:String(o),websiteCode:this.websiteCode},headers:i,withCredentials:!0})}createCartItem(a){const c=this.configManagerService.getConfig("cart").create_cart_item_url+"?websiteCode="+this.websiteCode,s=new u.Lr({"Visitor-Id":String(this.vid)});return this.httpClient.post(c,a,{headers:s,withCredentials:!0})}editSpecialInstruction(a,o,c){const i=`${this.configManagerService.getConfig("cart").edit_special_instruction_url}?websiteCode=${this.websiteCode}`,r=new u.Lr({"Visitor-Id":String(this.vid)});return this.httpClient.put(i,{cartId:Number(o),cartItemId:Number(a),websiteCode:this.websiteCode,specialInstruction:c},{headers:r})}convertFfrItemToPoItem(a){const c=`${this.configManagerService.getConfig("cart").convert_ffr_to_po_item_url}?websiteCode=${this.websiteCode}`,s=new u.Lr({"Visitor-Id":String(this.vid)});return this.httpClient.put(c,a,{headers:s,withCredentials:!0})}static{this.\u0275fac=function(o){return new(o||g)(C.KVO(u.Qq),C.KVO(S.n),C.KVO(y.v))}}static{this.\u0275prov=C.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})()},83348(O,b,d){d.d(b,{D:()=>a});var u=d(21413),C=d(5964),S=d(96354),y=d(85802);let _=(()=>{class o{getItemOrderSpecValue(s,i){for(const r in s){const e=s[r];if(e.spec_code===i)return e.value}return""}static{this.\u0275fac=function(i){return new(i||o)}}static{this.\u0275prov=y.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();var g=d(25656),m=d(91902);let a=(()=>{class o{constructor(s,i,r){this.cartItemSpecsService=s,this.dateFormatPipe=i,this.configManagerService=r,this.itemDeleteSubject=ne
1w u.B,this.itemDelete$=this.itemDeleteSubject.asObservable(),this.itemEditSubject=new u.B,this.itemEdit$=this.itemEditSubject.asObservable(),this.itemDuplicateSubject=new u.B,this.itemDuplicate$=this.itemDuplicateSubject.asObservable(),this.itemUpdateSubject=new u.B,this.itemUpdateLoadingSubject=new u.B,this.itemUpdate$=this.itemUpdateSubject.asObservable(),this.itemUpdateLoading$=this.itemUpdateLoadingSubject.asObservable(),this.itemPrintTemplatesSubject=new u.B,this.itemPrintTemplates$=this.itemPrintTemplatesSubject.asObservable(),this.itemSubject=new u.B,this.item$=this.itemSubject.asObservable(),this.itemHasMailing=(e,t)=>!!t&&Object.values(t).filter(n=>n.parent_cart_item_id==e).some(n=>"MS"==n.account_type_code&&"Mailing Services"==n.item_name),this.allItemsAreMailing=e=>{const t=Object.values(e);return!!t.length&&t.every(n=>"n"===n.ship_excess_flag&&!!n.child_items&&this.itemHasMailing(n.cart_item_id,n.child_items)||this.isEddmItem(n))}}hasQuantity(s){return s.some(i=>"Quantity"===i.attr_name&&!!i.attr_value&&i.attr_id)}isBlankItem(s,i){return!(!i||""===i.trim())&&!!s&&s.some(r=>"side"===r.spec_code?.toLowerCase()&&"blank"===r.value?.toLowerCase()&&"pa"!==i.toLowerCase())}getItemUpdate$(s){return this.itemUpdate$.pipe((0,C.p)(i=>i.cartItemId===s))}getItemUpdateLoading$(s){return this.itemUpdateLoading$.pipe((0,C.p)(i=>i.cartItemId===s),(0,S.T)(i=>i.isLoading))}getAnyItemUpdateLoading$(){return this.itemUpdateLoading$}emitItemUpdate(s){this.itemUpdateSubject.next(s)}emitItemUpdateLoading(s,i){this.itemUpdateLoadingSubject.next({cartItemId:s,isLoading:i})}getStockImagePrice(s){let i=0;return Object.values(s).forEach(r=>{r.account_type_code&&"SI"===r.account_type_code&&(i+=r.price)}),i}getMailingQty(s){if(!s)return 0;for(const i in s){const r=s[i];if("MS"===r.account_type_code&&"Mailing Services"===r.item_name)return Number(r.qty)}return 0}getUploadedListFileId(s){for(const i in s){const r=s[i];if("Uploaded List"!==r.item_name)continue;const e=r.files?.upload;if(!e)return null;for(const t in e){if(!e.hasOwnProperty(t))continue;const n=e[t]?.file_id;if(n)return n}}return null}groupMailingChildItems(s){const i=s.child_items;if(!i)return[];const r=[],e={};let t=0,n=null;const h=["QTY","MS","DDATE","USPS","DUP","NCOA","MERCHANT","OVERS","UL"];for(const f in i){const l=i[f];if(!["MS","MSP"].includes(l.account_type_code))continue;let v;switch(l.item_name){case"Mailing Services":v=h.indexOf("QTY"),e[v]={name:"Mailing Quantity",desc:l.qty,spec_key:"QTY"},v=h.indexOf("MS"),e[v]={name:"Mailing Service Fee",price:l.price,spec_key:"MS"},s.qty>l.qty&&(v=h.indexOf("OVERS"),e[v]={name:"Unmailed Pieces",desc:"y"===s.ship_excess_flag?"Ship them to me":"Recycle them for me",spec_key:"OVERS"});break;case"Uploaded List":v=h.indexOf("DUP"),e[v]={name:"Duplicate Removal",desc:this.cartItemSpecsService.getItemOrderSpecValue(l.product_specs.order_specs,"DESC"),spec_key:"DUP"},n={file_name:this.cartItemSpecsService.getItemOrderSpecValue(l.product_specs.order_specs,"PROJNAME"),total_records:this.getMailingQty(i)};break;case"USPS Postage":{const p=this.cartItemSpecsService.getItemOrderSpecValue(l.product_specs.order_specs,"DESC"),E=this.getMailingQty(i),M=E>0?(l.price/E).toFixed(4):"0.0000";v=h.indexOf("USPS"),e[v]={name:"Postage",desc:`${p} (${E} @ $${M})`,price:l.price,spec_key:"USPS"},v=h.indexOf("DDATE"),e[v]={name:"Drop Date",desc:this.dateFormatPipe.transform(this.cartItemSpecsService.getItemOrderSpecValue(l.product_specs.order_specs,"DDATE"),"MM-DD-YYYY"),spec_key:"DDATE"};break}case"NCOA Certification":v=h.indexOf("NCOA"),e[v]={name:l.item_name,desc:this.cartItemSpecsService.getItemOrderSpecValue(l.product_specs.order_specs,"DESC"),price:l.price,spec_key:"NCOA"};break;case"Merchant Fee":v=h.indexOf("MERCHANT"),e[v]={name:l.item_name,price:l.price,spec_key:"MERCHANT"}}t+=l.price}if(Object.keys(e).length>0){const f={with_price:[],without_price:[]};for(const l in e)e.hasOwnProperty(l)&&(e[l].price?f.with_price.push(e[l]):f.without_price.push(e[l]));r.push({price:t,item_name:"Mailing Services",mailing_service_specs:e,is_mailing_service_item:!0,grouped_items_by_price:f,uploaded_list:n})}return r}groupEddmChildItems(s){if(!s)return[];const i={};for(const r in s){const e=s[r];switch(e.account_type_code){case"MS":i.eddm_service_fee=e?.price,i.mailing_qt
1y=e?.qty;break;case"MSP":if(i.eddm_postage=e?.price,e?.product_specs?.order_specs){const t=e.product_specs.order_specs.find(n=>"DDATE"===n.spec_code);i.drop_date=t?.value}}}return[i]}isEddmItem(s){let i={};const r=this.configManagerService.getConfig("eddm");return s?.product_specs?.order_specs&&(i=s.product_specs.order_specs.find(t=>t.spec_code.toLowerCase()===r.eddm_spec_code.toLowerCase()&&t.value.toLowerCase()===r.eddm_spec_value.toLowerCase())),"object"==typeof i&&Object.keys(i).length>0}hasHardCopyProof(s){return Object.values(s.child_items??{}).some(i=>"HP"===i.account_type_code)}isCustomSize(s){if("string"==typeof s){let i=!1;return"Custom Size"==s.trim()&&(i=!0),i}return"Custom Size"==s}static{this.\u0275fac=function(i){return new(i||o)(y.KVO(_),y.KVO(g.a),y.KVO(m.v))}}static{this.\u0275prov=y.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})()},70799(O,b,d){d.d(b,{S:()=>_});var u=d(85802),C=d(91413),S=d(91902),y=d(11591);let _=(()=>{class g{constructor(a,o,c){this.Http=a,this.ConfigManagerService=o,this.StorageService=c,this.checkoutConfig=this.ConfigManagerService.getConfig("checkout"),this.calcConfig=this.ConfigManagerService.getConfig("calculator"),this.appConfig=this.ConfigManagerService.getConfig("app")}getDesignData(a,o=null){const i=o?"relay="+o+"&":"",r="cart_id="+this.StorageService.getItem(this.ConfigManagerService.getConfig("storage_keys").cart_id),e="vid="+this.StorageService.getItem(this.ConfigManagerService.getConfig("storage_keys").visitor_id);let t=this.appConfig.api_url+this.checkoutConfig.get_design_specs_url+a+"?"+i+r+"&"+e;return this.calcConfig.enable_shared_calc&&(t=this.appConfig.api_url+this.checkoutConfig.get_shared_calc_design_specs_url+a+"?"+i+r+"&"+e),this.Http.get(t)}createDesignCartItem(a){return this.Http.post(this.appConfig.api_url+this.checkoutConfig.save_design_item,a)}editItem(a,o={}){const c=this.appConfig.api_url+this.checkoutConfig.update_design_item+"/"+a;return o.vid=this.StorageService.getItem(this.ConfigManagerService.getConfig("storage_keys").visitor_id),this.Http.put(c,o)}static{this.\u0275fac=function(o){return new(o||g)(u.KVO(C.Qq),u.KVO(S.v),u.KVO(y.n))}}static{this.\u0275prov=u.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})()},12029(O,b,d){d.d(b,{J:()=>C});var u=d(85802);let C=(()=>{class S{formatShippingGroupRates(_,g,m=!1){const a=[];let o=[];const c={};let s="cart_item_id";if(m&&(s="item_id"),g.forEach(i=>{c[i[s]]=i,a.push(Number(i[s]))}),o[0]={items:a,rates:_.rates},typeof _.shipping_group_rates<"u"){o=_.shipping_group_rates;let i=[];for(const e in o){const t=o[e].items.sort().map(Number);o[e].items=t.reverse(),i=[...i,...o[e].items]}const r=a.filter(e=>!i.includes(e));o[0].items.push(...r)}else if(typeof _.rates<"u"&&Object.keys(_.rates).length>0){const i=_.rates,r=Object.keys(i),e=Object.keys(i[r[0]].items).map(Number),t=a.filter(n=>!e.includes(n));o[0].items=[...e,...t]}return{group_rates:o,formatted_cart_data:c}}recomputeSingleShippingRates(_,g,m,a){let o=g.tax;m&&m[_.shipping_service_code]&&(o=m[_.shipping_service_code].tax_rate);const c=_.rate+a,s=_.orig_rate+a;return{total_amount:c+o+g.sub_total-g?.discount,shipping_total:c,orig_shipping_total:s}}recomputeGroupShippingRates(_,g,m,a,o,c){let s=0,i=0,r=0,e=0;o&&o[_.shipping_service_code]&&(m[a].tax=o[_.shipping_service_code].tax_rate);for(const n in m)s+=m[n].rate,i+=m[n].tax,r+=m[n].orig_rate,e+=m[n].uncombined_rate;s+=c,r+=c,e+=c;const t=s+i+g.sub_total-g?.discount;return{shipping_total:parseFloat(s.toFixed(2)),tax:o?i:0,total_amount:t,orig_shipping_total:parseFloat(r.toFixed(2)),uncombined_shipping_total:parseFloat(e.toFixed(2))}}static{this.\u0275fac=function(g){return new(g||S)}}static{this.\u0275prov=u.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})()},21083(O,b,d){d.d(b,{k:()=>u});class u{}},27878(O,b,d){d.d(b,{CP:()=>c,TL:()=>s,nS:()=>a,wR:()=>i});var u=d(35547),C=d(85802),S=d(71985),y=d(21413),_=d(70980),g=d(31397),m=function(r){return r[r.Queue=0]="Queue",r[r.Uploading=1]="Uploading",r[r.Done=2]="Done",r[r.Cancelled=3]="Cancelled",r}(m||{});function a(r){if(0===r)return"0 Byte";const n=Math.floor(Math.log(r)/Math.log(1024));return parseFloat((r/Math.pow(1024,n)).toFixed(2))+" "+["Bytes","KB","MB","GB","TB","PB"][n]}class o{constructor(e=Number.POSITIVE_INFINITY,t=["*"],n=Number.POSITIVE_INFINITY,h=Number.POSITIVE_INFINITY){this.queue=[],this.serviceEvents=new C.bkB,this.uploadScheduler
1=new y.B,this.subs=[],this.contentTypes=t,this.maxUploads=n,this.maxFileSize=h,this.uploadScheduler.pipe((0,g.Z)(f=>this.startUpload(f),e)).subscribe(f=>this.serviceEvents.emit(f))}handleFiles(e){const t=[].reduce.call(e,(n,h,f)=>{const l=n.length+this.queue.length+1;if(this.isContentTypeAllowed(h.type)&&l<=this.maxUploads&&this.isFileSizeAllowed(h.size))n=n.concat(h);else{const v=this.makeUploadFile(h,f);this.serviceEvents.emit({type:"rejected",file:v})}return n},[]);this.queue.push(...t.map((n,h)=>{const f=this.makeUploadFile(n,h);return this.serviceEvents.emit({type:"addedToQueue",file:f}),f})),this.serviceEvents.emit({type:"allAddedToQueue"})}initInputEvents(e){return e.subscribe(t=>{switch(t.type){case"uploadFile":const n=this.queue.findIndex(p=>p===t.file);-1!==n&&t.file&&this.uploadScheduler.next({file:this.queue[n],event:t});break;case"uploadAll":this.queue.filter(p=>p.progress.status===m.Queue).forEach(p=>this.uploadScheduler.next({file:p,event:t}));break;case"cancel":const f=t.id||null;if(!f)return;this.subs.filter(p=>p.id===f).forEach(p=>{if(p.sub){p.sub.unsubscribe();const E=this.queue.findIndex(M=>M.id===f);-1!==E&&(this.queue[E].progress.status=m.Cancelled,this.serviceEvents.emit({type:"cancelled",file:this.queue[E]}))}});break;case"cancelAll":this.subs.forEach(p=>{p.sub&&p.sub.unsubscribe();const E=this.queue.find(M=>M.id===p.id);E&&(E.progress.status=m.Cancelled,this.serviceEvents.emit({type:"cancelled",file:E}))});break;case"remove":if(!t.id)return;const v=this.queue.findIndex(p=>p.id===t.id);if(-1!==v){const p=this.queue[v];this.queue.splice(v,1),this.serviceEvents.emit({type:"removed",file:p})}break;case"removeAll":this.queue.length&&(this.queue=[],this.serviceEvents.emit({type:"removedAll"}))}})}startUpload(e){return new S.c(t=>{const n=this.uploadFile(e.file,e.event).pipe((0,_.j)(()=>{t.closed||t.complete()})).subscribe({next:h=>{t.next(h)},error:h=>{t.error(h),t.complete()},complete:()=>{t.complete()}});this.subs.push({id:e.file.id,sub:n})})}uploadFile(e,t){return new S.c(n=>{const h=t.url||"",f=t.method||"POST",l=t.data||{},v=t.headers||{},p=new XMLHttpRequest,E=(new Date).getTime();let M=e.progress.data&&e.progress.data.startTime||E,P=0,T=null;p.open(f,h,!0),p.withCredentials=!!t.withCredentials,p.upload.onprogress=I=>{if(I.lengthComputable){const L=Math.round(100*I.loaded/I.total),w=(new Date).getTime()-E;P=Math.round(I.loaded/w*1e3),M=e.progress.data&&e.progress.data.startTime||(new Date).getTime(),T=Math.ceil((I.total-I.loaded)/P),e.progress={status:m.Uploading,data:{percentage:L,speed:P,speedHuman:`${a(P)}/s`,startTime:M,endTime:null,eta:T,etaHuman:this.secondsToHuman(T)}},n.next({type:"uploading",file:e})}},p.upload.ontimeout=I=>{n.error(I),n.complete()},p.upload.onerror=I=>{n.error(I),n.complete()},p.upload.onabort=()=>{n.complete()},p.onreadystatechange=()=>{if(p.readyState===XMLHttpRequest.DONE){const I=Math.round(e.size/((new Date).getTime()-M)*1e3);e.progress={status:m.Done,data:{percentage:100,speed:I,speedHuman:`${a(I)}/s`,startTime:M,endTime:(new Date).getTime(),eta:T,etaHuman:this.secondsToHuman(T||0)}},e.responseStatus=p.status;try{e.response=JSON.parse(p.response)}catch{e.response=p.response}e.responseHeaders=this.parseResponseHeaders(p.getAllResponseHeaders()),n.next({type:"done",file:e}),n.complete()}};try{const I=e.nativeFile,L=this.queue.findIndex(D=>D.nativeFile===I);let w;this.queue[L].progress.status===m.Cancelled&&n.complete(),Object.keys(v).forEach(D=>p.setRequestHeader(D,v[D])),!1!==t.includeWebKitFormBoundary?(Object.keys(l).forEach(D=>e.form.append(D,l[D])),e.form.append(t.fieldName||"file",I,I.name),w=e.form):w=I,this.serviceEvents.emit({type:"start",file:e}),p.send(w)}catch{n.complete()}return()=>{p.abort()}})}secondsToHuman(e){return new Date(1e3*e).toISOString().substr(11,8)}generateId(){return Math.random().toString(36).substring(7)}setContentTypes(e){this.contentTypes=typeof e<"u"&&e instanceof Array?void 0!==e.find(t=>"*"===t)?["*"]:e:["*"]}allContentTypesAllowed(){return void 0!==this.contentTypes.find(e=>"*"===e)}isContentTypeAllowed(e){return!!this.allContentTypesAllowed()||void 0!==this.contentTypes.find(t=>t===e)}isFileSizeAllowed(e){return!this.maxFileSize||e<=this.maxFileSize}makeUploadFile(e,t){return{fileIndex:t,id:this.generateId(),name:e.name,size:e.size,type:e.type,form:new FormData,progress:{status:m.Queue,data:{percentage:0,speed:0,speedHuman:`${a(0)}/s`,startTime:null,endTime:null,eta:null,etaHuman:null}},lastModifiedDate:new Date(e.lastModified),sub:void 0,nativeFile:e}}parseResponseHeaders(e){return e?e.split("\n").map(t=>t.split(/: */,2)).filter(t=>t[0]).reduce((t,n)=>(t[n[0]]=n[1],t),{}):{}}}let c=(()=>
1{class r{constructor(t){this.elementRef=t,this.stopEvent=n=>{n.stopPropagation(),n.preventDefault()},this.uploadOutput=new C.bkB}ngOnInit(){this._sub=[],this.upload=new o(this.options&&this.options.concurrency||Number.POSITIVE_INFINITY,this.options&&this.options.allowedContentTypes||["*"],this.options&&this.options.maxUploads||Number.POSITIVE_INFINITY,this.options&&this.options.maxFileSize||Number.POSITIVE_INFINITY),this.el=this.elementRef.nativeElement,this._sub.push(this.upload.serviceEvents.subscribe(l=>{this.uploadOutput.emit(l)})),this.uploadInput instanceof C.bkB&&this._sub.push(this.upload.initInputEvents(this.uploadInput)),this.el.addEventListener("drop",this.stopEvent,!1),this.el.addEventListener("dragenter",this.stopEvent,!1),this.el.addEventListener("dragover",this.stopEvent,!1)}ngOnDestroy(){this._sub&&this._sub.forEach(t=>t.unsubscribe())}onDrop(t){t.stopPropagation(),t.preventDefault(),this.uploadOutput.emit({type:"drop"}),this.upload.handleFiles(t.dataTransfer.files)}onDragOver(t){t&&this.uploadOutput.emit({type:"dragOver"})}onDragLeave(t){t&&this.uploadOutput.emit({type:"dragOut"})}static{this.\u0275fac=function(n){return new(n||r)(u.rXU(u.aKT))}}static{this.\u0275dir=u.FsC({type:r,selectors:[["","ngFileDrop",""]],hostBindings:function(n,h){1&n&&u.bIt("drop",function(l){return h.onDrop(l)})("dragover",function(l){return h.onDragOver(l)})("dragleave",function(l){return h.onDragLeave(l)})},inputs:{options:"options",uploadInput:"uploadInput"},outputs:{uploadOutput:"uploadOutput"},standalone:!1})}}return r})(),s=(()=>{class r{constructor(t){this.elementRef=t,this.fileListener=()=>{this.el.files&&this.upload.handleFiles(this.el.files)},this.uploadOutput=new C.bkB}ngOnInit(){this._sub=[],this.upload=new o(this.options&&this.options.concurrency||Number.POSITIVE_INFINITY,this.options&&this.options.allowedContentTypes||["*"],this.options&&this.options.maxUploads||Number.POSITIVE_INFINITY,this.options&&this.options.maxFileSize||Number.POSITIVE_INFINITY),this.el=this.elementRef.nativeElement,this.el.addEventListener("change",this.fileListener,!1),this._sub.push(this.upload.serviceEvents.subscribe(l=>{this.uploadOutput.emit(l)})),this.uploadInput instanceof C.bkB&&this._sub.push(this.upload.initInputEvents(this.uploadInput))}ngOnDestroy(){this.el&&(this.el.removeEventListener("change",this.fileListener,!1),this._sub.forEach(t=>t.unsubscribe()))}static{this.\u0275fac=function(n){return new(n||r)(u.rXU(u.aKT))}}static{this.\u0275dir=u.FsC({type:r,selectors:[["","ngFileSelect",""]],inputs:{options:"options",uploadInput:"uploadInput"},outputs:{uploadOutput:"uploadOutput"},standalone:!1})}}return r})(),i=(()=>{class r{static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275mod=u.$C({type:r})}static{this.\u0275inj=C.G2t({})}}return r})()}}]);
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.