1import{L as ce,k as de,ka as me,p as se}from"./chunk-FEWJYZFD.js";import"./chunk-GGQ7LRWG.js";import{b as ne,e as re,j as ae,z as le}from"./chunk-E7MXSRA6.js";import"./chunk-67DE6PBX.js";import{b as ie}from"./chunk-3LCYLPY3.js";import{j as oe}from"./chunk-6WID45E4.js";import"./chunk-NX7RKATO.js";import{a as A}from"./chunk-JQPN662S.js";import{a as V}from"./chunk-MOB3UZUZ.js";import{$a as U,Da as S,Ea as R,F as b,Ja as u,K as $,Ka as P,L as G,Ma as y,N as D,Na as w,Oa as r,Ob as X,Pa as a,Qa as f,S as _,T as g,Ta as v,Tb as J,Ua as h,Va as s,Vb as K,Xb as Z,ab as k,bb as F,c as z,cb as T,db as m,eb as O,fb as L,ga as E,gc as ee,ib as W,ic as te,jb as q,ka as d,kb as Y,lc as j,oa as M,qa as H,ra as Q,va as C}from"./chunk-B7PCPUI2.js";import{a as N}from"./chunk-J7E7MDAG.js";var ue=(()=>{class i{constructor(e){this.http=e}getComplaintAttachmentProducts(e){return this.http.get(V.SET_REFUNDDETAILS+A.GET_CUSTOMER_ATTACHMENT_PRODUCTS+e)}saveCustomerResponse(e,t){let o=this.getHeaderInformation({},t);return this.http.post(V.SET_REFUNDDETAILS+A.POST_SAVE_COMPLAINT_ATTACHMENT,e,o)}fileUpload(e,t){let o=this.getHeaderInformation({},t);return o.reportProgress=!0,o.observe="events",this.http.post(V.SET_REFUNDDETAILS+`${A.CHATBOT_CONFIG_FILE_UPLOAD}`,e,o)}getHeaderInformation(e={},t){let o=N({accept:"application/json, text/plain, */*","content-Type":"application/json;charset=UTF-8",token:t},e);return{headers:new J(o)}}static{this.\u0275fac=function(t){return new(t||i)(D(Z))}}static{this.\u0275prov=$({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var _e=["fileRef"],fe=["bottomSheetForImageUpload"],Ce=["bottomSheetForGeneralImageUpload"];function xe(i,c){i&1&&f(0,"app-loading-skeleton")}function ve(i,c){if(i&1&&f(0,"img",17),i&2){let e=c.$implicit;S("src",e,E)}}function Se(i,c){if(i&1&&(r(0,"div",20),m(1),a()),i&2){let e=s().$implicit;d(),O(e.bundleName)}}function Ie(i,c){if(i&1){let e=v();r(0,"div",37),h("click",function(){let o=_(e).$implicit,n=s(6);return g(n.showPreview(o))}),f(1,"img",38),r(2,"div",39)(3,"div",40),h("click",function(){let o=_(e).$index,n=s(2).$implicit,l=s(4);return g(l.removeImage(n==null?null:n.uploadedImages,o))}),m(4,"X"),a()()()}if(i&2){let e=c.$implicit,t=s(6);d(),S("src",t.getPreviewSrc(e.fileExt,e.preview),E)}}function Pe(i,c){if(i&1){let e=v();r(0,"div",26)(1,"img",41),h("click",function(){_(e);let o=s(2).$implicit,n=s(4);return g(n.openImageUploadSheet(o))}),a()()}}function ye(i,c){i&1&&(r(0,"div",27),m(1,"Uploading..."),a())}function we(i,c){if(i&1){let e=v();r(0,"div",24),y(1,Ie,5,1,"div",25,P),C(3,Pe,2,0,"div",26)(4,ye,2,0,"div",27),r(5,"app-custom-bottomsheet",28,0)(7,"div",29)(8,"div",30),m(9,"Upload Pictures"),a(),r(10,"div",31)(11,"div",32),h("click",function(){_(e);let o=T(16);return g(o.click())}),f(12,"img",33),r(13,"div"),m(14,"Upload from device"),a(),r(15,"input",34,1),h("change",function(o){_(e);let n=s(5);return g(n.onFileSelection(o,n.currentBottomSheetProduct))}),a()(),r(17,"div",32),h("click",function(){_(e);let o=T(22);return g(o.click())}),f(18,"img",35),r(19,"div"),m(20,"Upload via Camera"),a(),r(21,"input",36,2),h("change",function(o){_(e);let n=s(5);return g(n.onFileSelection(o,n.currentBottomSheetProduct))}),a()()()()()()}if(i&2){let e=s().$implicit,t=s(4);d(),w(e==null?null:e.uploadedImages),d(2),u(t.isImageLimitReached(e)?-1:3),d(),u(t.isImageUploading&&e.productId==(t.currentBottomSheetProduct==null?null:t.currentBottomSheetProduct.productId)?4:-1)}}function be(i,c){if(i&1){let e=v();r(0,"div")(1,"div",21)(2,"input",22),Y("ngModelChange",function(o){let n=_(e).$implicit;return q(n.checked,o)||(n.checked=o),g(o)}),a(),r(3,"label",23),m(4),a()(),C(5,we,23,2,"div",24),a()}if(i&2){let e=c.$implicit;d(2),S("id","product-"+e.productId),W("ngModel",e.checked),d(),S("for","product-"+e.productId),d(),L(" ",e.productDisplayName," "),d(),u(e.checked?5:-1)}}function Me(i,c){i&1&&f(0,"hr")}function Ue(i,c){if(i&1&&(r(0,"div"),C(1,Se,2,1,"div",20),y(2,be,6,5,"div",null,P),C(4,Me,1,0,"hr"),a()),i&2){let e=c.$implicit,t=c.$index,o=s(3);d(),u(e!=null&&e.bundleName?1:-1),d(),w(e.products),d(2),u(t<o.customerProducts.length-1?4:-1)}}function ke(i,c){if(i&1){let e=v();r(0,"div",37),h("click",function(){let o=_(e).$implicit,n=s(4);return g(n.showPreview(o))}),f(1,"img",38),r(2,"div",39)(3,"div",40),h("click",function(){let o=_(e).$index,n=s(4);return g(n.removeImage(n.generalUploadedImages,o))}),m(4,"X"),a()()()}if(i&2){let e=c.$implicit,t=s(4);d(),S("src",t.getPreviewSrc(e.fileExt,e.preview),E)}}function Fe(i,c){if(i&1){let e=v();r(0,"div",26)(1,"img",41),h("click",function(){_(e);let o=s(4);
1return g(o.openImageUploadSheetForGeneral())}),a()()}}function Te(i,c){i&1&&(r(0,"div",27),m(1," Uploading..."),a())}function Ee(i,c){if(i&1){let e=v();r(0,"div",19),y(1,ke,5,1,"div",25,P),C(3,Fe,2,0,"div",26)(4,Te,2,0,"div",27),r(5,"app-custom-bottomsheet",28,3)(7,"div",29)(8,"div",30),m(9,"Upload Pictures"),a(),r(10,"div",31)(11,"div",32),h("click",function(){_(e);let o=T(16);return g(o.click())}),f(12,"img",33),r(13,"div"),m(14,"Upload from device"),a(),r(15,"input",34,4),h("change",function(o){_(e);let n=s(3);return g(n.onFileSelection(o,null))}),a()(),r(17,"div",32),h("click",function(){_(e);let o=T(22);return g(o.click())}),f(18,"img",35),r(19,"div"),m(20,"Upload via Camera"),a(),r(21,"input",36,5),h("change",function(o){_(e);let n=s(3);return g(n.onFileSelection(o,null))}),a()()()()()()}if(i&2){let e=s(3);d(),w(e.generalUploadedImages),d(2),u(e.isImageLimitReachedForGeneral()?-1:3),d(),u(e.isImageUploading&&!e.currentBottomSheetProduct?4:-1)}}function Oe(i,c){if(i&1&&(r(0,"div")(1,"div",13)(2,"p")(3,"strong"),m(4,"Help us resolve your complaint efficiently."),a()(),r(5,"p",14),m(6," Please select the relevant items and upload images, videos, or PDF files that accurately highlight the issue. "),a()(),r(7,"div",15)(8,"label"),m(9,"Reference Images"),a(),r(10,"div",16),y(11,ve,1,1,"img",17,P),a()(),r(13,"div",18),y(14,Ue,5,2,"div",null,P),C(16,Ee,23,2,"div",19),a()()),i&2){let e=s(2);d(11),w(e.referenceImages),d(3),w(e.customerProducts),d(2),u(!e.customerProducts||e.customerProducts.length===0?16:-1)}}function Ve(i,c){i&1&&(r(0,"div")(1,"div",43),f(2,"img",44),a(),r(3,"div",45),m(4," Thank you! "),a(),r(5,"div",46),m(6," We've received your attachments and will review the issue "),f(7,"br"),m(8,"shortly."),f(9,"br"),m(10," You'll be notified once it's resolved "),a()())}function Ae(i,c){if(i&1&&(r(0,"div",47)(1,"div")(2,"div",43),f(3,"img",44),a(),r(4,"div",45),m(5," You have already submitted! "),a()()()),i&2){let e=s(3);R("height",e.checkBtnVisibility()?"calc(100vh - 162px)":"calc(100vh - 86px)")}}function Be(i,c){if(i&1&&(r(0,"div"),C(1,Ve,11,0,"div")(2,Ae,6,2,"div",42),a()),i&2){let e=s(2);d(),u(e.imageUploadedSuccessfully&&!e.isImagesAlreadyUploaded?1:-1),d(),u(e.isImagesAlreadyUploaded&&!e.imageUploadedSuccessfully?2:-1)}}function Re(i,c){if(i&1&&(r(0,"div",11),m(1),a()),i&2){let e=s(2);d(),L("",e.errorMsg," ")}}function Le(i,c){if(i&1&&(r(0,"div",11),m(1),a()),i&2){let e=s(3);d(),O(e.errorMsg)}}function je(i,c){if(i&1){let e=v();r(0,"div",12),C(1,Le,2,1,"div",11),r(2,"button",48),h("click",function(){_(e);let o=s(2);return g(o.onUpload())}),m(3,"SUBMIT"),a()()}if(i&2){let e=s(2);d(),u(e.errorMsg?1:-1),d(),S("disabled",e.isImageUploading)}}function Ne(i,c){if(i&1&&(r(0,"div",6)(1,"div",7)(2,"div",8),f(3,"img",9),r(4,"h2"),m(5),a()(),r(6,"div",10),C(7,Oe,17,1,"div")(8,Be,3,2,"div")(9,Re,2,1,"div",11),a(),C(10,je,4,2,"div",12),a()()),i&2){let e=s();d(5),O(!e.isImagesAlreadyUploaded&&!e.imageUploadedSuccessfully?"Share Attachments":"Attachments Submitted Successfully"),d(),R("height",e.checkBtnVisibility()?"calc(100vh - 130px)":"calc(100vh - 54px)"),d(),u(!e.isImagesAlreadyUploaded&&!e.imageUploadedSuccessfully?7:-1),d(),u(e.isImagesAlreadyUploaded||e.imageUploadedSuccessfully?8:-1),d(),u(e.errorMsg&&!e.checkBtnVisibility()?9:-1),d(),u(e.checkBtnVisibility()?10:-1)}}var ge=(()=>{class i{constructor(e,t,o,n){this.utils=e,this.route=t,this.router=o,this.shareProductImagesService=n,this.imageUploadToken="",this.generalUploadedImages=[],this.destroy$=new z,this.referenceImages=["https://cdassets.countrydelight.in/product/rtbTags/image/damage_product.png","https://cdassets.countrydelight.in/product/rtbTags/image/rotten_product.png","https://cdassets.countrydelight.in/product/rtbTags/image/expire_product.png"],this.dataLoaded=!0,this.customerProducts=[],this.isImagesAlreadyUploaded=!1,this.imageUploadedSuccessfully=!1,this.errorMsg=null,this.isImageUploading=!1}ngOnInit(){this.route.queryParams.pipe(b(this.destroy$)).subscribe(e=>{let t=Number(e.caid);!isNaN(t)&&t>=0?(this.customerAttachmentId=t,this.allComplaintAttachmentProducts(this.customerAttachmentId)):this.router.navigate(["**"],{skipLocationChange:!0})})}allComplaintAttachmentProducts(e){this.utils.scrollToTop(),this.dataLoaded=!1,this.shareProductImagesService.getComplaintAttachmentProducts(e).pipe(b(this.destroy$)).subscribe({next:t=>{if(t&&!t.error){if(this.imageUploadToken=t?.token??"",t?.data){let o=[],n={};t?.data.forEach(l=>{if(l.parentProductId){let p=l.parentProductId;n[p]||(n[p]={bundleName:l.bundleName||null,parentProductId:l.parentProductId,products:[]},o.push(n[p])),n[p].products.push(l)}else o.push({bundleName:null,parentProductId:null,products:[l]})}),this.customerProducts=o,this.errorMsg=null,this.isImagesAlreadyUploaded=!1,this.imageUploadedSuccessfully=!1}else t?.message&&(this.isImagesAlreadyUploaded=!0,this.imageUploadedSuccessfully=!1);this.dataLoaded=!0}else this.dataLoaded=!0,this.errorMsg=t?.message??null,this.isImagesAlreadyUploaded=!1,this.imageUploadedSuccessfully=!1},error:t=>{this.dataLoaded=!0}})}onProductCheck(e){e.checked=!e.checked}onOptionCheck(e){e.checked=!e.checked}onFileSelection(e,t){if(e.target.files.length){let o=e.target.files[e.target.files.length-1],n=o.name.split(".");n=n[n.length-1];let l=new FileReader,p;
1l.readAsDataURL(o),l.onload=x=>{p={file:o,fileName:o.name,fileString:l.result.toString().split(",")[1],fileSource:l.result,fileExt:n},this.onUploadFile(p,t)}}}onUploadFile(e,t){if(!e)return;let n=5*1024*1024,l=e?.file;if(l&&l.size>n){this.errorMsg="Maximum allowed file size is 5 MB.",this.bottomSheetForImageUpload?.closeBottomSheet(),this.bottomSheetForGeneralImageUpload?.closeBottomSheet(),this.currentBottomSheetProduct=null;return}let p={file:e.fileString,file_name:e.fileName,module:"complaint",sub_module:"product/image"};this.isImageUploading=!0,this.errorMsg=null,this.shareProductImagesService.fileUpload({file_uploads:[p]},this.imageUploadToken).pipe(b(this.destroy$)).subscribe({next:x=>{if(this.bottomSheetForImageUpload?.closeBottomSheet(),this.bottomSheetForGeneralImageUpload?.closeBottomSheet(),x.type===K.Response){let I=x.body;if(I&&!I.error){let B={preview:e.fileSource,url:Array.isArray(I.data)&&I.data.length?I.data[0]?.url:"",fileExt:e.fileExt};t?t.uploadedImages?.length>0?t.uploadedImages.push(B):t.uploadedImages=[B]:this.generalUploadedImages.push(B),this.errorMsg=null}else this.errorMsg=I?.message??"Error Occurred!";this.isImageUploading=!1,this.currentBottomSheetProduct=null}},error:x=>{this.isImageUploading=!1,x.status===413?this.errorMsg="Content too large. Please compress or reduce them.":x.status===504?this.errorMsg="Gateway timeout. Please try again later.":this.errorMsg=x?.error?.message??"Something went wrong. Please try again.",this.bottomSheetForImageUpload?.closeBottomSheet(),this.bottomSheetForGeneralImageUpload?.closeBottomSheet(),this.currentBottomSheetProduct=null}})}removeImage(e,t){e.splice(t,1)}onUpload(){let e=!0,t=!0;if(this.customerProducts.forEach(l=>{l.products.forEach(p=>{p.checked||(t=!1),p.checked&&(!p.uploadedImages||p.uploadedImages.length===0)&&(e=!1)})}),!t){this.errorMsg="Please select all products before uploading.";return}if(!e){this.errorMsg="Each selected product must have at least one image.";return}let o=[];this.customerProducts.forEach(l=>{l.products.forEach(p=>{p.checked&&p.uploadedImages?.length>0&&o.push({product_id:p.productId,images:p.uploadedImages.map(x=>x.url).filter(x=>!!x)})})}),(!this.customerProducts||this.customerProducts.length===0)&&this.generalUploadedImages.length>0&&o.push({product_id:null,images:this.generalUploadedImages.map(l=>l.url).filter(l=>!!l)});let n={caid:this.customerAttachmentId,product_images:o};this.utils.scrollToTop(),this.dataLoaded=!1,this.shareProductImagesService.saveCustomerResponse(n,this.imageUploadToken).pipe(b(this.destroy$)).subscribe({next:l=>{l&&!l.error?(this.imageUploadedSuccessfully=!0,this.errorMsg=null):(this.imageUploadedSuccessfully=!1,this.errorMsg=l?.message??null),this.dataLoaded=!0},error:l=>
1{this.imageUploadedSuccessfully=!1,l.status===413?this.errorMsg="Content too large. Please compress or reduce them.":l.status===504?this.errorMsg="Gateway timeout. Please try again later.":this.errorMsg=l?.error?.message??"Something went wrong. Please try again.",this.dataLoaded=!0}})}checkBtnVisibility(){return(this.customerProducts.flatMap(t=>t.products.filter(o=>o.uploadedImages&&o.uploadedImages.length>0&&o.checked)).length>0||this.generalUploadedImages.length>0)&&!this.imageUploadedSuccessfully&&!this.isImagesAlreadyUploaded}openImageUploadSheet(e){this.currentBottomSheetProduct=e,this.bottomSheetForImageUpload.openBottomSheet()}openImageUploadSheetForGeneral(){this.currentBottomSheetProduct=null,this.bottomSheetForGeneralImageUpload.openBottomSheet()}isImageLimitReached(e){return e?.uploadedImages?.length>=3}isImageLimitReachedForGeneral(){return this.generalUploadedImages?.length>=3}getPreviewSrc(e,t){let o=e.toLowerCase(),n={pdf:"assets/img/pdf-icon.png",mp4:"assets/img/play-button.png",mov:"assets/img/play-button.png"};return["png","jpg","jpeg","webp"].includes(o)?t:n[o]||"assets/img/Logo-instory.png"}showPreview(e){let t=e.fileExt.toLowerCase();t==="pdf"?this.openPDFInNewTab(e.preview):(t==="mp4"||t==="mov")&&this.openVideoInNewTab(e.preview)}openPDFInNewTab(e){if(!e)return;window.open("").document.write(`<iframe width='100%' height='100%' src='${e}'></iframe>`)}openVideoInNewTab(e){if(!e)return;window.open("").document.write(` 2 <video width="100%" height="100%" controls autoplay> 3 <source src="${e}" type="video/mp4"> 4 Your browser does not support the video tag. 5 </video> 6 `)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(t){return new(t||i)(M(oe),M(ee),M(te),M(ue))}}static{this.\u0275cmp=H({type:i,selectors:[["app-share-product-images"]],viewQuery:function(t,o){if(t&1&&(U(_e,5),U(_e,5),U(fe,5),U(Ce,5)),t&2){let n;k(n=F())&&(o.fileRef1=n.first),k(n=F())&&(o.fileRef2=n.first),k(n=F())&&(o.bottomSheetForImageUpload=n.first),k(n=F())&&(o.bottomSheetForGeneralImageUpload=n.first)}},standalone:!1,decls:2,vars:2,consts:[["bottomSheetForImageUpload",""],["fileRef1",""],["fileRef2",""],["bottomSheetForGeneralImageUpload",""],["generalFileRef1",""],["generalFileRef2",""],[1,"main-content"],[1,"container"],[1,"header"],["src","assets/icons/icon-192x192.png","alt","Logo",1,"logo"],[1,"body-content"],[1,"error-msg","mb-2","text-center"],[2,"padding","16px"],[1,"help-text"],[1,"mt-1"],[1,"ref-images"],[1,"ref-img-list"],["alt","Reference Image",3,"src"],[1,"product-card"],[1,"upload-section",2,"padding-top","16px"],[1,"bundle-name"],[1,"product-header"],["type","checkbox","name","productDisplayName",1,"checkbox",3,"ngModelChange","id","ngModel"],[1,"checkbox",3,"for"],[1,"upload-section"],[1,"upload-file"],[1,"add-img"],[1,"info-msg","text-left","w-full"],[1,"botton-sheet-container"],[1,"px-4","pb-4"],[1,"text-16","font-semibold","text-dark","text-center"],[1,"mt-2","bottom-sheet"],[1,"w-1/2","bottom-sheet-section",3,"click"],["src","assets/img/upload-by-gallery.png","alt","image","width","36px",1,"upload-icon"],["type","file","accept",".png, .jpg, .jpeg, .webp, .mp4, .mov, .pdf",2,"display","none",3,"change"],["src","assets/img/upload-by-camera.png","alt","image","width","36px",1,"upload-icon"],["type","file","accept",".png, .jpg, .jpeg, .webp, .mp4, .mov, .pdf","capture","environment",2,"display","none",3,"change"],[1,"upload-file",3,"click"],["alt","FILE",3,"src"],[1,"upload-remove"],[1,"upload-remove-icon",3,"click"],["src","assets/img/add_attachments.png","alt","Add Image","width","96px",2,"cursor","pointer",3,"click"],[1,"image-already-submitted",3,"height"],[1,"upload-success"],["src","assets/img/upload-success.gif","alt","Logo","width","80px",1,"logo"],[1,"mt-2","success-text1","text-center"],[1,"mt-1","success-text2","text-center"],[1,"image-already-submitted"],["type","button",1,"upload-btn",3,"click","disabled"]],template:function(t,o){t&1&&C(0,xe,1,0,"app-loading-skeleton")(1,Ne,11,7,"div",6),t&2&&(u(o.dataLoaded?-1:0),d(),u(o.dataLoaded?1:-1))},dependencies:[se,ce,de,ne,re,ae],styles:[".main-content[_ngcontent-%COMP%]{display:flex;justify-content:center}.container[_ngcontent-%COMP%]{max-width:425px;height:auto;font-family:poppins,sans-serif;background:#f1f7f6}.botton-sheet-container[_ngcontent-%COMP%] .bottomSheet[_ngcontent-%COMP%]{max-width:425px;height:auto}.header[_ngcontent-%COMP%]{background:#fff;display:flex;flex-direction:row;align-items:center;justify-content:start;padding:9px 16px;gap:32px}.header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:36px;height:auto}.header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:16px;color:#233332}.body-content[_ngcontent-%COMP%]{overflow-y:auto;padding:16px}.help-text[_ngcontent-%COMP%]{font-size:12px;color:#666;font-weight:500}.help-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:first-child{font-size:14px;font-weight:500;color:#232323}.ref-images[_ngcontent-%COMP%]{margin-top:16px}.ref-images[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:500;font-size:14px;margin-bottom:8px;display:block;color:#232323}.ref-images[_ngcontent-%COMP%] .ref-img-list[_ngcontent-%COMP%]{display:flex;gap:11px;overflow-x:auto;margin-top:8px}.ref-images[_ngcontent-%COMP%] .ref-img-list[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:107px;height:107px;object-fit:cover}.product-card[_ngcontent-%COMP%]{background:#fff;margin-top:24px;border-radius:16px;padding:0 16px;margin-bottom:18px;box-shadow:0 1px 4px #00000008}
6.bundle-name[_ngcontent-%COMP%]{font-weight:600;font-size:12px;color:#233332;padding-top:16px}.product-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:start;gap:8px;padding-top:16px;padding-bottom:16px}.product-header[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{accent-color:#1ec28b;width:20px;height:20px;border-radius:4px;color:#fff;cursor:pointer!important}.product-header[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font-weight:500;font-size:12px;color:#223332}.upload-section[_ngcontent-%COMP%]{display:inline-flex!important;flex-wrap:wrap!important;gap:12px;align-items:center;padding-bottom:16px}.upload-section[_ngcontent-%COMP%] .add-img[_ngcontent-%COMP%]{cursor:pointer}.upload-btn[_ngcontent-%COMP%]{width:100%;height:44px;background:#00b86c;color:#fff;font-weight:600;font-size:14px;border:none;border-radius:8px;cursor:pointer;letter-spacing:.5px}.upload-btn[_ngcontent-%COMP%]:disabled{background:#ccc;color:#666;cursor:not-allowed;opacity:.7}.upload-file[_ngcontent-%COMP%]{width:94px;height:70px;display:inline-flex;border-radius:10px;position:relative;border:1px solid #00b86c;justify-content:center;align-items:center;overflow:hidden;cursor:pointer}.upload-file[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain;border-radius:inherit}.upload-file-text[_ngcontent-%COMP%]{padding:10px;font-size:12px;font-weight:600;word-break:break-all;white-space:nowrap;position:absolute;top:0;background-color:#fff;opacity:.8;color:#272727;z-index:10;width:100%;border-radius:20px;line-height:1.5;min-height:38px;overflow:hidden;text-overflow:ellipsis}.upload-file[_ngcontent-%COMP%]:hover .upload-remove-icon[_ngcontent-%COMP%]{filter:opacity(1)}.upload-remove[_ngcontent-%COMP%]{position:absolute;display:flex;align-items:start;justify-content:end;height:100%;width:100%;top:0;left:0;border-radius:20px;z-index:11}.upload-remove-icon[_ngcontent-%COMP%]{font-size:16px;font-weight:700;background-color:#000;height:32px;width:32px;border-radius:16px;color:#fff;display:flex;align-items:center;justify-content:center;filter:opacity(.5);cursor:pointer}.success-text1[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:#232323}.success-text2[_ngcontent-%COMP%]{font-size:12px;font-weight:500;color:#666}.upload-success[_ngcontent-%COMP%]{display:flex;justify-content:center}.bottom-sheet[_ngcontent-%COMP%]{display:flex;gap:12px}.bottom-sheet-section[_ngcontent-%COMP%]{border:1px solid #e2edeb;height:120px;border-radius:8px;display:flex;justify-content:center;align-items:center;flex-direction:column;color:#1ec28b;font-size:12px;font-weight:600;gap:4px}.upload-icon[_ngcontent-%COMP%]{border:none;border-radius:50%;padding:8px;background-color:#f1f7f6}.error-msg[_ngcontent-%COMP%]{font-size:14px;color:red;font-weight:500}.info-msg[_ngcontent-%COMP%]{font-size:12px;color:#00f;font-weight:500}.image-already-submitted[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}"]})}}return i})();var ze=[{path:"",component:ge}],st=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=Q({type:i})}static{this.\u0275inj=G({imports:[X,j.forChild(ze),ie,me,le,j]})}}return i})();export{st as ShareProductImagesModule};
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.