1import{a as he}from"./chunk-RQMYZSAT.js";import{a as be}from"./chunk-BI6WBBIL.js";import{a as Ot}from"./chunk-NBE23F3Y.js";import{a as I}from"./chunk-MEYSAAXG.js";import{a as ct,b as mt,c as pt,d as ut,e as fe,f as gt,g as J,h as R,i as xt,j as ft,k as ht,l as yt,m as X}from"./chunk-AQ2KAPTD.js";import{a as bt,b as ve,c as vt,d as _e,e as _t,f as Ce,g as Ct,h as wt,i as St,j as kt,k as we,l as Mt,n as Et,o as Lt,p as Tt,q as Pt}from"./chunk-TCBZ5YVD.js";import{$a as c,$b as tt,Aa as P,Ab as Qe,Bb as O,Cb as V,Db as oe,Eb as Ke,G as Re,Ga as S,Gb as ae,Ja as Ue,L as ce,Na as Q,Ob as Ze,P as me,Q as M,Ra as E,Rb as Je,Sa as g,Ta as x,U as y,Ua as j,V as b,W as p,Wa as L,X as v,Xa as T,Ya as m,Z as je,Za as n,Zb as Xe,_a as r,_b as et,a as H,ab as N,ac as ue,b as Ne,bb as F,bc as it,cb as G,cc as ge,da as ze,db as k,dc as Z,ea as _,fb as u,g as Fe,ga as W,gc as nt,h as Ie,hb as d,ia as pe,ic as xe,jc as rt,k as De,kc as ot,lc as at,mb as We,nb as qe,o as Ge,ob as K,oc as st,pb as z,pc as lt,qa as $e,qc as dt,rb as o,rc as $,sb as C,sc as ye,tb as f,ub as Ae,wa as a,wb as Ye,y as Ve,ya as q,yb as w,za as Y,zb as re}from"./chunk-YEMCP27T.js";function A(){return(i,t)=>{let e=i.data.code;return e&&I.find(s=>s.code==e)||null}}var It=i=>{let t=M(he),e=i.paramMap.get("slug");return e?t.getCaseStudyBySlug(e).pipe(Ve(s=>(console.error("Failed to load case study:",s),De(null)))):De(null)};var He=()=>[],Dt=i=>["/case-studies",i],At=i=>["/case-studies/page",i],zt=(i,t)=>t.code,$t=(i,t)=>t.slug;function Ut(i,t){if(i&1&&(n(0,"option",14),o(1),r()),i&2){let e=t.$implicit;m("value",e.code),a(),f(" ",e.name," ")}}function Wt(i,t){i&1&&(n(0,"section",17)(1,"div",24)(2,"div",25),c(3,"div",26),n(4,"p",27),o(5,"Loading case studies..."),r()()()())}function qt(i,t){if(i&1&&(n(0,"li",42)(1,"span",57),o(2,"\u2713"),r(),n(3,"span",58),o(4),r()()),i&2){let e=t.$implicit;a(4),C(e)}}function Yt(i,t){if(i&1&&(n(0,"span",48),o(1),r()),i&2){let e=t.$implicit;a(),f(" ",e.trim()," ")}}function Qt(i,t){if(i&1&&(n(0,"span",49),o(1),r()),i&2){let e=d().$implicit;a(),f(" +",e.seoKeywords.split(",").length-2," ")}}function Kt(i,t){if(i&1&&(n(0,"div",31)(1,"div",32)(2,"div",33)(3,"span",34),o(4),r()(),n(5,"h3",35),o(6),r()(),n(7,"div",36)(8,"p",37),o(9),r(),n(10,"p",38)(11,"strong",39),o(12,"Challenge:"),r(),o(13),O(14,"slice"),r(),n(15,"h4",40),o(16," Key Results:"),r(),n(17,"ul",41),L(18,qt,5,1,"li",42,j),r(),n(20,"div",43)(21,"div",44)(22,"span",45)(23,"strong",39),o(24,"Team: "),r(),n(25,"span",46),o(26),r()(),n(27,"span",45)(28,"strong",39),o(29,"Timeline: "),r(),n(30,"span",46),o(31),r()()()(),n(32,"div",47),L(33,Yt,2,1,"span",48,j),g(35,Qt,2,1,"span",49),r()(),n(36,"div",50)(37,"div",51)(38,"span",52),o(39),O(40,"productName"),r(),n(41,"span",53),o(42),O(43,"date"),r()(),n(44,"a",54),o(45," Read Story "),p(),n(46,"svg",55),c(47,"path",56),r()()()()),i&2){let e=t.$implicit;m("routerLink",re(20,Dt,e.slug)),a(4),f(" ",e.industry," "),a(2),f(" ",e.shortTitle," "),a(3),f(" ",e.subtitle," "),a(4),f(" ",Ke(14,11,e.problem,0,120),"... "),a(5),T(e.results.slice(0,2)),a(8),f("",e.teamSize," people "),a(5),f("",e.timeInvested," weeks "),a(2),T(e.seoKeywords.split(",").slice(0,2)),a(2),x(e.seoKeywords.split(",").length>2?35:-1),a(4),C(V(40,15,e.productCode)),a(3),C(oe(43,17,e.datePublished,"MMM yy")),a(2),m("routerLink",re(22,Dt,e.slug))}}function Zt(i,t){if(i&1&&(n(0,"div",28),L(1,Kt,48,24,"div",31,$t),r()),i&2){let e=d(2);a(),T(e.caseStudyService.caseStudies()??w(0,He))}}function Jt(i,t){if(i&1){let e=k();n(0,"div",29)(1,"p",59),o(2,"No case studies found."),r(),n(3,"button",60),u("click",function(){y(e);let l=d(2);return b(l.selectProduct(null))}),o(4," View All Case Studies "),r()()}}function Xt(i,t){if(i&1&&(n(0,"a",62),o(1," Prev "),r()),i&2){let e=d(3);m("routerLink",re(1,At,e.currentPage()-1))}}function ei(i,t){if(i&1&&(n(0,"a",62),o(1," Next "),r()),i&2){let e=d(3);m("routerLink",re(1,At,e.currentPage()+1))}}function ti(i,t){if(i&1&&(n(0,"div",30)(1,"nav",61),g(2,Xt,2,3,"a",62),n(3,"span",63),o(4),r(),g(5,ei,2,3,"a",62),r()()),i&2){let e=d(2);a(2),x(e.currentPage()>1&&!e.caseStudyService.isLoading()?2:-1),a(2),Ae("Page ",e.currentPage()," of ",e.totalPages()),a(),x(e.currentPage()<e.totalPages()&&!e.caseStudyService.isLoading()?5:-1)}}function ii(i,t){if(i&1&&(n(0,"section",18)(1,"div",8),g(2,Zt,3,1,"div",28)(3,Jt,5,0,"div",29),g(4,ti,6,4,"div",30),r()()),i&2){let e=d();a(2),x((e.caseStudyService.caseStudies()??w(2,He)).length>0?2:3),a(2),x(e.totalCaseStudies()>e.pageSize?4:-1)}}var se=class i{route=M(fe);router=M(J);seoService=M(ye);caseStudyService=M(he);pageSize=6;currentPage=_(1);selectedProductCode=_(null);
1productList=I;totalCaseStudies=ae(()=>this.caseStudyService.pagination()?.totalCount??0);totalPages=ae(()=>Math.ceil(this.totalCaseStudies()/this.pageSize));constructor(){this.route.paramMap.subscribe(()=>{let t=+(this.route.snapshot.paramMap.get("page")||"1");if(t<1){this.router.navigate(["/case-studies"]);return}this.currentPage.set(t),this.updateSeo(t)}),pe(()=>{this.caseStudyService.setPage(this.currentPage(),this.pageSize,this.selectedProductCode());let t=this.totalPages();!this.caseStudyService.isLoading()&&t>0&&this.currentPage()>t&&this.router.navigate(["/not-found"])})}selectProduct(t){this.selectedProductCode.set(t)}updateSeo(t){let e=t>1?`Case Studies \u2013 Page ${t} | Success Stories | MLGLOBTECH`:"Case Studies | Success Stories | MLGLOBTECH",s=t>1?`Browse page ${t} of MLGLOBTECH case studies \u2014 real-world success stories showing measurable results and ROI from our enterprise software solutions.`:"Explore case studies showing how organizations achieve measurable results with MLGLOBTECH enterprise software solutions.";this.seoService.update({title:e,description:s,url:"https://mlglobtech.com/case-studies",canonicalUrl:"https://mlglobtech.com/case-studies",robots:t>1?"noindex,follow,max-image-preview:large":"index,follow,max-image-preview:large,max-snippet:-1,max-video-preview:-1",jsonLd:{"@context":"https://schema.org","@type":"CollectionPage",name:"MLGLOBTECH Case Studies",description:"Success stories from organizations using MLGLOBTECH solutions",url:"https://mlglobtech.com/case-studies",publisher:{"@type":"Organization",name:"MLGLOBTECH"}}})}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=S({type:i,selectors:[["app-case-studies-list"]],decls:33,vars:5,consts:[[1,"mt-[120px]"],[1,"bg-gradient-to-br","relative","overflow-hidden"],[1,"absolute","top-0","right-0","w-96","h-96","bg-white/5","rounded-full","-mr-48","-mt-48"],[1,"absolute","bottom-0","left-0","w-72","h-72","bg-white/5","rounded-full","-ml-36","-mb-36"],[1,"max-w-7xl","mx-auto","px-4","md:px-6","text-center","relative","z-10"],[1,"text-4xl","md:text-5xl","lg:text-6xl","font-bold","mb-6","leading-tight"],[1,"text-xl","md:text-2xl","max-w-2xl","mx-auto","leading-relaxed"],[1,"px-4","m-[20px]","py-[10px]","md:px-6","bg-gray-50","border-b","border-gray-200"],[1,"max-w-7xl","mx-auto"],[1,"flex","flex-col","sm:flex-row","sm:items-center","sm:justify-between","gap-6"],[1,"flex","flex-col","gap-2"],["for","productFilter",1,"text-base","sm:text-lg","font-semibold","text-gray-900"],["id","productFilter",1,"px-4","py-2","border","border-gray-300","rounded-lg","bg-white","text-gray-700","font-medium","cursor-pointer","transition-all","hover:border-primary","focus:outline-none","focus:ring-2","focus:ring-primary","focus:border-transparent",2,"min-width","250px",3,"change","value"],["value",""],[3,"value"],[1,"flex","flex-col","gap-2","sm:text-right"],[1,"text-xs","sm:text-sm","text-gray-600","font-medium"],[1,"py-16","bg-gradient-to-r","from-primary/30","to-white"],[1,"py-12","md:py-20","px-4","md:px-6","bg-gradient-to-r","from-primary/30","to-white"],[1,"py-8","sm:py-12","md:py-16","px-4","md:px-6","bg-primary/10","border-t","border-primary/20"],[1,"max-w-4xl","mx-auto","text-center"],[1,"text-2xl","sm:text-3xl","font-bold","text-gray-900","mb-3","sm:mb-4"],[1,"text-gray-700","text-base","sm:text-lg","mb-6","sm:mb-8"],["routerLink","/products",1,"inline-block","bg-primary","text-white","px-6","sm:px-8","py-2.5","sm:py-3","rounded-lg","font-semibold","hover:bg-primary/90","transition-colors","text-sm","sm:text-base","cursor-pointer"],[1,"container","mx-auto","px-4"],[1,"flex","flex-col","items-center","justify-center","py-16"],[1,"w-10","h-10","border-4","border-primary/30","border-t-primary","rounded-full","animate-spin"],[1,"mt-4","text-gray-600","font-medium"],[1,"grid","grid-cols-1","md:grid-cols-2","lg:grid-cols-3","gap-6"],[1,"text-center","py-12"],[1,"pt-20","flex","justify-center"],[1,"case-study-card","bg-white","rounded-xl","shadow-md","hover:shadow-2xl","transition-all","duration-300","border","border-gray-200","overflow-hidden","flex","flex-col","h-full","group","cursor-pointer",3,"routerLink"],[1,"bg-gradient-to-r","from-primary/15","to-primary/5","p-4","sm:p-5","md:p-6","border-b","border-gray-100","group-hover:from-primary/25","group-hover:to-primary/10","transition-colors"],[1,"mb-2","sm:mb-3"],[1,"inline-block","bg-primary/20","text-primary","px-2","sm:px-3","py-0.5","sm:py-1","rounded-full","text-xs","font-semibold","uppercase","tracking-wide"],[1,"text-lg","sm:text-xl","font-bold","text-gray-900","line-clamp-2","group-hover:text-primary","transition-colors"],[1,"p-4","sm:p-5","md:p-6","flex-grow"],[1,"text-xs","
1sm:text-sm","text-gray-600","mb-3","sm:mb-4","line-clamp-2","leading-relaxed"],[1,"text-xs","sm:text-sm","text-gray-700","mb-3","sm:mb-4","line-clamp-2","leading-relaxed"],[1,"text-gray-900"],[1,"font-semibold","text-gray-900","mb-2","sm:mb-3","text-xs","sm:text-sm","uppercase","tracking-wide"],[1,"space-y-1","sm:space-y-2","mb-3","sm:mb-4"],[1,"flex","items-start","gap-2","text-xs","sm:text-sm","text-gray-700","leading-relaxed"],[1,"bg-gray-50","rounded-lg","p-3","sm:p-4","mb-3","sm:mb-4","text-xs","sm:text-sm","border","border-gray-100","group-hover:bg-primary/5","transition-colors"],[1,"grid","grid-cols-2","gap-3","sm:flex","sm:justify-between"],[1,"text-gray-700"],[1,"block","sm:inline"],[1,"flex","flex-wrap","gap-1","sm:gap-2"],[1,"bg-gray-100","text-gray-700","px-2","sm:px-3","py-0.5","sm:py-1","rounded-md","text-xs","font-medium","group-hover:bg-primary/10","group-hover:text-primary","transition-colors"],[1,"text-gray-600","text-xs","font-medium","self-center"],[1,"px-4","sm:px-5","md:px-6","py-3","sm:py-4","bg-white","border-t","border-gray-100","group-hover:bg-gray-50","transition-colors"],[1,"flex","items-center","justify-between","gap-2","mb-3","sm:mb-4","text-xs","text-gray-600","font-medium"],[1,"text-gray-800","font-semibold","truncate"],[1,"text-gray-500","flex-shrink-0"],[1,"flex","items-center","justify-center","w-full","gap-2","bg-primary","text-white","px-3","sm:px-4","py-2","sm:py-3","rounded-lg","font-semibold","hover:bg-primary/90","transition-all","duration-200","text-xs","sm:text-sm","group-hover:shadow-lg","group-hover:-translate-y-0.5","active:scale-95","sm:active:scale-100","cursor-pointer",3,"routerLink"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-3","w-3","sm:h-4","sm:w-4","transition-transform","group-hover:translate-x-1"],["stroke-linecap","round","stroke-linejoin","round","d","M13 7l5 5m0 0l-5 5m5-5H6"],[1,"text-primary","font-bold","flex-shrink-0","mt-0.5"],[1,"line-clamp-1"],[1,"text-gray-600","text-lg","mb-4"],[1,"text-primary","font-semibold","hover:underline","cursor-pointer",3,"click"],[1,"flex","gap-4","items-center"],[1,"px-4","py-2","rounded","bg-gray-200","text-gray-700","font-semibold","hover:bg-gray-300","transition","cursor-pointer",3,"routerLink"],[1,"px-4","py-2","text-gray-700","font-semibold"]],template:function(e,s){e&1&&(n(0,"div",0)(1,"section",1),c(2,"div",2)(3,"div",3),n(4,"div",4)(5,"h1",5),o(6," Success Stories "),r(),n(7,"p",6),o(8," Discover how organizations around the world achieve measurable results with MLGLOBTECH solutions "),r()()(),n(9,"section",7)(10,"div",8)(11,"div",9)(12,"div",10)(13,"label",11),o(14," Filter by Product "),r(),n(15,"select",12),u("change",function(h){return s.selectProduct(h.target.value===""?null:h.target.value)}),n(16,"option",13),o(17,"All Products"),r(),L(18,Ut,2,2,"option",14,zt),r()(),n(20,"div",15)(21,"p",16),o(22),r()()()()(),g(23,Wt,6,0,"section",17)(24,ii,5,3,"section",18),r(),n(25,"section",19)(26,"div",20)(27,"h2",21),o(28," Ready to achieve similar results? "),r(),n(29,"p",22),o(30," Explore our products and see how MLGLOBTECH can transform your business "),r(),n(31,"a",23),o(32," Explore Our Products "),r()()()),e&2&&(a(15),m("value",s.selectedProductCode()||""),a(3),T(s.productList),a(4),Ae(" Showing ",(s.caseStudyService.caseStudies()??w(4,He)).length," of ",s.totalCaseStudies()," case studies "),a(),x(s.caseStudyService.isLoading()?23:24))},dependencies:[X,R,ue,it,be],styles:["[_nghost-%COMP%]{display:block}.case-study-card[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.4,0,.2,1)}.case-study-card[_ngcontent-%COMP%]:hover{transform:translateY(-4px);box-shadow:0 20px 25px -5px #4f46e526}.case-study-card[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.case-study-card[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:inherit}@media(max-width:640px){.case-study-card[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 10px 15px -3px #4f46e51a}.case-study-card[_ngcontent-%COMP%]:active{transform:scale(.98)}}@media(min-width:768px){.case-study-card[_ngcontent-%COMP%]:hover{transform:translateY(-4px);box-shadow:0 20px 25px -5px #4f46e526}}@media(prefers-reduced-motion:no-preference){.case-study-card[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{transition:transform .2s ease-out}}@media(prefers-reduced-motion:reduce){.case-study-card[_ngcontent-%COMP%]{transition:none}.case-study-card[_ngcontent-%COMP%]:hover{transform:none}}"]})};var ri=(i,t)=>e=>e.trim();function oi(i,t){i&1&&(n(0,"div",0),c(1,"div",1),n(2,"p",2),o(3,"Loading c
1ase study..."),r()())}function ai(i,t){if(i&1&&(n(0,"div",55)(1,"div",56)(2,"span",57),o(3,"\u2713"),r(),n(4,"p",58),o(5),r()()()),i&2){let e=t.$implicit;a(5),C(e)}}function si(i,t){if(i&1&&(n(0,"span",59),o(1),r()),i&2){let e=t.$implicit;a(),f(" ",e," ")}}function li(i,t){if(i&1&&(n(0,"div",3)(1,"section",5),c(2,"div",6)(3,"div",7),n(4,"div",8)(5,"a",9)(6,"span"),o(7,"\u2190"),r(),o(8," Back to All Case Studies "),r(),n(9,"div",10)(10,"span",11),o(11),r()(),n(12,"h1",12),o(13),r(),n(14,"p",13),o(15),r(),n(16,"div",14)(17,"div")(18,"p",15),o(19,"PRODUCT"),r(),n(20,"p",16),o(21),O(22,"productName"),r()(),n(23,"div")(24,"p",15),o(25,"TEAM SIZE"),r(),n(26,"p",16),o(27),r()(),n(28,"div")(29,"p",15),o(30,"DEPLOYMENT TIME"),r(),n(31,"p",16),o(32),r()()()()(),n(33,"section",17)(34,"div",18)(35,"div",19)(36,"h2",20),o(37,"The Challenge"),r(),n(38,"p",21),o(39),r()(),n(40,"div",19)(41,"h2",20),o(42,"The Solution"),r(),n(43,"div",22)(44,"p",23),o(45,"Product Used:"),r(),n(46,"a",24),o(47),O(48,"productName"),r()(),n(49,"p",25),o(50),r()(),n(51,"div",19)(52,"h2",26),o(53,"Key Results"),r(),n(54,"div",27),Q(55,ai,6,1,"div",28),r()(),n(56,"div",19)(57,"h3",29),o(58,"Related Keywords"),r(),n(59,"div",30),Q(60,si,2,1,"span",31),r()(),n(61,"div",19)(62,"h2",26),o(63,"Implementation Details"),r(),n(64,"div",32)(65,"div",33)(66,"p",34),o(67,"DEPLOYMENT TIME"),r(),n(68,"p",35),o(69),r()(),n(70,"div",36)(71,"p",37),o(72,"TEAM SIZE"),r(),n(73,"p",38),o(74),r(),n(75,"p",39),o(76,"team members"),r()(),n(77,"div",40)(78,"p",41),o(79,"PUBLISHED"),r(),n(80,"p",42),o(81),O(82,"date"),r()()()(),n(83,"div",43)(84,"h2",20),o(85,"Client Testimonial"),r(),n(86,"div",44),p(),n(87,"svg",45),c(88,"path",46),r(),v(),n(89,"div")(90,"p",47),o(91),r()()()(),n(92,"div",48)(93,"div",49)(94,"div")(95,"p",50),o(96,"Published"),r(),n(97,"p",51),o(98),O(99,"date"),r()(),n(100,"div")(101,"p",50),o(102,"Industry"),r(),n(103,"p",51),o(104),r()(),n(105,"div")(106,"p",50),o(107,"By"),r(),n(108,"p",51),o(109),r()()()(),n(110,"div",52)(111,"h3",53),o(112," Ready to achieve similar results? "),r(),n(113,"a",54),o(114),O(115,"productName"),r()()()()()),i&2){let e=t,s=d(2);a(11),f(" ",e.industry," "),a(2),f(" ",e.title," "),a(2),f(" ",e.subtitle," "),a(6),C(V(22,21,e.productCode)),a(6),f("",e.teamSize," people"),a(5),f("",e.timeInvested," weeks"),a(7),f(" ",e.problem," "),a(7),m("routerLink",s.productLink),a(),f(" ",V(48,23,e.productCode)," \u2192 "),a(3),f(" ",e.solution," "),a(5),m("ngForOf",e.results),a(5),m("ngForOf",e.seoKeywords.split(",").map(Ye(25,ri,t))),a(9),f("",e.timeInvested," weeks"),a(5),C(e.teamSize),a(7),C(oe(82,26,e.datePublished,"MMM yyyy")),a(10),f(' "',e.clientFeedback,'" '),a(7),C(oe(99,29,e.datePublished,"MMM dd, yyyy")),a(6),C(e.industry),a(5),C(e.author),a(4),m("routerLink",s.productLink),a(),f(" Learn More About ",V(115,32,e.productCode)," ")}}function di(i,t){i&1&&(n(0,"section",4)(1,"h2",53),o(2,"Case Study Not Found"),r(),n(3,"p",60),o(4,"The case study you're looking for doesn't exist or couldn't be loaded."),r(),n(5,"a",61),o(6," \u2190 Back to Case Studies "),r()())}function ci(i,t){if(i&1&&g(0,li,116,34,"div",3)(1,di,7,0,"section",4),i&2){let e,s=d();x((e=s.study())?0:1,e)}}var Se=class i{route=M(fe);router=M(J);seoService=M(ye);study=_(null);loading=_(!0);productLink="";constructor(){pe(()=>{let t=this.study();t&&this.setPageMeta(t)})}ngOnInit(){let t=this.route.snapshot.data.study;t&&(this.study.set(t),this.productLink=I.find(e=>e.code===t.productCode)?.detailLink||""),this.loading.set(!1)}setPageMeta(t){let s=`https://mlglobtech.com/${I.find(ie=>ie.code===t.productCode)?.imageUrl||"mlglobtech-logo.svg"}`,l=`https://mlglobtech.com/case-studies/${t.slug}`,h=I.find(ie=>ie.code===t.productCode)?.name||"";this.seoService.update({title:`${t.seoTitle} | MLGLOBTECH Case Study`,description:t.seoDescription,url:l,canonicalUrl:l,image:s,type:"article",jsonLd:{"@context":"https://schema.org","@type":"Article",headline:t.seoTitle,description:t.seoDescription,image:s,datePublished:t.datePublished,author:{"@type":"Organization",name:t.author},publisher:{"@type":"Organization",name:"MLGLOBTECH",logo:{"@type":"ImageObject",url:"https://mlglobtech.com/images/mlglobtech-logo.svg"}},keywords:t.seoKeywords,about:{"@type":"SoftwareApplication",name:h,url:`https://mlglobtech.com${this.productLink}`,applicationCategory:"BusinessApplication",operatingSystem:"Web, Windows, macOS, Linux",offers:{"@type":"Offer",url:`https://mlglobtech.com${this.productLink}`,priceCurrency:"USD",price:"Contact for pricing"}}}})}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=S({type:i,selectors:[["app-case-study-detail"]],decls:2,vars:1,consts:[[1,"flex","flex-col","items-center","justify-center","py-24"],[1,"w-10","h-10","border-4","border-primary/30","border-t-primary","rounded-full","animate-spin"],[1,"mt-4","text-gray-600","font-medium"],[1,"case-study-page"],[1,"py-12","text-center"],[1,"bg-gradient-to-br","from-primary","via-primary/90","to-primary/80","text-white","py-20","md:py-24","relative","overflow-hidden"],[1,"absolute","top-0","right-0","w-96","h-96","bg-white/5","rounded-full","-mr-48","-mt-48"],[1,"absolute","bottom-0","left-0","w-72","h-72","bg-white/5","rounded-full","-ml-36","-mb-36"],[1,"max-w-5xl","mx-auto","px-4","md:px-6","relative","z-10"],["routerLink","/case-studies",1,"inline-flex","items-center","gap-2","text-white/80","hover:text-white","mb-8","transition-colors","font-medium","cursor-pointer"],[1,"flex","flex-wrap","gap-2","mb-6"],[1,"inline-block","bg-white/20","backdrop-blur","text-white","px-4","py-1.5","rounded-full","text-sm","font-semibold"],[1,"text-4xl","md:text-5xl","lg:text-6xl","font-bold","leading-tight","mb-6"],[1,"text-xl","md:text-2xl","text-white/90","leading-relaxed","max-w-3xl"],[1,"mt-8","pt-8","border-t","border-white/20","grid","grid-cols-2","md:grid-cols-3","gap-6"],[1,"text-white/70","text-sm","font-semibold","mb-1"],[1,"text-lg","font-bold"],[1,"py-12","md:py-20","px-4","md:px-6"],[1,"max-w-4xl","mx-auto"],[1,"mb-12"],[1,"text-3xl","font-bold","text-gray-900","mb-4"],[1,"text-lg","text-gray-700","leading-relaxed","border-l-4","border-primary","pl-6"],[1,"bg-primary/5","rounded-lg","p-6","mb-4","border","border-primary/20"],[1,"text-lg","text-gray-900","font-semibold","mb-2"],[1,"text-primary","font-bold","hover:underline","cursor-pointer",3,"routerLink"],[1,"text-lg","text-gray-700","leading-relaxed"],[1,"text-3xl","font-bold","text-gray-900","mb-6"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-4"],["class","bg-green-50 rounded-lg p-4 border border-green-200",4,"ngFor","ngForOf"],[1,"text-xl","font-bold","text-gray-900","mb-4"],[1,"flex","flex-wrap","gap-2"],["class","bg-gray-100 text-gray-700 px-4 py-2 rounded-full text-sm font-medium hover:bg-gray-200 transition-colors cursor-pointer",4,"ngFor","ngForOf"],[1,"grid","grid-cols-1","md:grid-cols-3","gap-4"],[1,"bg-blue-50","rounded-lg","p-6","border","border-blue-200"],[1,"text-sm","text-blue-600","font-semibold","mb-2"],[1,"text-3xl","font-bold","text-blue-900"],[1,"bg-green-50","rounded-lg","p-6","border","border-green-200"],[1,"text-sm","text-green-600","font-semibold","mb-2"],[1,"text-3xl","font-bold","text-green-900"],[1,"text-xs","text-green-600","mt-1"],[1,"bg-purple-50","rounded-lg","p-6","border","border-purple-200"],[1,"text-sm","text-purple-600","font-semibold","mb-2"],[1,"text-lg","font-bold","text-purple-900"],[1,"mb-12","bg-gradient-to-br","from-primary/10","to-primary/5","rounded-2xl","p-8","border-l-4","border-primary"],[1,"flex","gap-4"],["fill","currentColor","viewBox","0 0 24 24",1,"w-8","h-8","text-primary","flex-shrink-0","mt-1"],["d","M3 21c3 -1 7 -1 11 -1c4 0 8 0 11 1M5 21c1 -3 2 -8 2 -13C7 6 8 1 12 1c4 0 5 5 5 8c0 5 1 10 2 13M12 7a4 4 0 0 0 -4 4c0 1.657 .895 3 2 3s2 -1.343 2 -3s
1-.895 -4 -2 -4M12 7a4 4 0 0 1 4 4c0 1.657 -.895 3 -2 3s -2 -1.343 -2 -3s.895 -4 2 -4"],[1,"text-lg","text-gray-800","leading-relaxed","italic"],[1,"bg-gray-50","rounded-lg","p-6","border","border-gray-200"],[1,"grid","grid-cols-1","md:grid-cols-3","gap-6"],[1,"text-sm","text-gray-600","font-semibold"],[1,"text-lg","text-gray-900"],[1,"mt-12","bg-primary/10","rounded-lg","p-8","text-center"],[1,"text-2xl","font-bold","text-gray-900","mb-4"],[1,"inline-block","bg-primary","text-white","px-8","py-3","rounded-lg","font-semibold","hover:bg-primary/90","transition-colors","cursor-pointer",3,"routerLink"],[1,"bg-green-50","rounded-lg","p-4","border","border-green-200"],[1,"flex","items-start","gap-3"],[1,"text-2xl","text-green-600","font-bold","flex-shrink-0"],[1,"text-gray-800"],[1,"bg-gray-100","text-gray-700","px-4","py-2","rounded-full","text-sm","font-medium","hover:bg-gray-200","transition-colors","cursor-pointer"],[1,"text-gray-600","mb-6"],["routerLink","/case-studies",1,"text-primary","font-semibold","hover:underline","cursor-pointer"]],template:function(e,s){e&1&&g(0,oi,4,0,"div",0)(1,ci,2,1),e&2&&x(s.loading()?0:1)},dependencies:[ge,et,X,R,ue,be],encapsulation:2})};var Bt=[{path:"unsubscribe",loadComponent:()=>import("./chunk-ZYSJYMYD.js").then(i=>i.Unsubscribe),title:"Unsubscribe | MLGLOBTECH"},{path:"",loadComponent:()=>import("./chunk-SJG4WN2Y.js").then(i=>i.Home),title:"Custom Software Development Company | MLGLOBTECH"},{path:"blog",loadComponent:()=>import("./chunk-LKLGYA3Z.js").then(i=>i.BlogList),title:"Blog | MLGLOBTECH"},{path:"blog/page/:page",loadComponent:()=>import("./chunk-LKLGYA3Z.js").then(i=>i.BlogList),title:"Blog | MLGLOBTECH"},{path:"blog/:slug",loadComponent:()=>import("./chunk-XFAMGALX.js").then(i=>i.BlogDetail),title:"Blog Detail | MLGLOBTECH"},{path:"products",loadComponent:()=>import("./chunk-5WLCL4Y6.js").then(i=>i.Products),title:"DMS | QMS | EMS | POS - MLGLOBTECH's Products"},{path:"about-us",loadComponent:()=>import("./chunk-77EXSWYI.js").then(i=>i.AboutUs),title:"About Us \u2013 MLGLOBTECH | Innovation in Tech Solutions"},{path:"contact-us",loadComponent:()=>import("./chunk-2RGRLASX.js").then(i=>i.ContactUs),title:"Contact Us | MLGLOBTECH \u2014 Get in Touch Today"},{path:"services",loadComponent:()=>import("./chunk-U66DV7GZ.js").then(i=>i.Services),title:"Custom Software Development Services | MLGLOBTECH"},{path:"partner-with-us",loadComponent:()=>import("./chunk-3EYGGYNP.js").then(i=>i.PartnerWithUs),title:"Partner With Us | Grow Together with MLGLOBTECH"},{path:"products/document-management-system",loadComponent:()=>import("./chunk-2K2KRLRU.js").then(i=>i.DocumentManagement),resolve:{product:A()},data:{code:"easy-doc-mgt"},title:"Enterprise Documents Management System Software | MLGLOBTECH"},{path:"products/quality-management-system",loadComponent:()=>import("./chunk-OY225QXU.js").then(i=>i.Qms),resolve:{product:A()},data:{code:"quality-management-system"},title:"Quality Management System Software | MLGLOBTECH"},{path:"products/point-of-sale-system",loadComponent:()=>import("./chunk-4ESC24VE.js").then(i=>i.Pos),resolve:{product:A()},data:{code:"quick-pos"},title:"POS System with Inventory Management | MLGLOBTECH"},{path:"products/cloud-file-manager-ocr",loadComponent:()=>import("./chunk-USQJ3NXB.js").then(i=>i.YourDrive),resolve:{product:A()},data:{code:"your-drive"},title:"IT Document & Cloud Storage with OCR | MLGLOBTECH"},{path:"products/chemical-crm",loadComponent:()=>import("./chunk-2C56U5EF.js").then(i=>i.ChemicalCrm),resolve:{product:A()},data:{code:"chemical-crm"},title:"Chemical CRM Software with Inventory Management | MLGLOBTECH"},{path:"products/exhibition-management-platform",loadComponent:()=>import("./chunk-MUUM4O3H.js").then(i=>i.Exhibition),resolve:{product:A()},data:{code:"exhibition-management-platform"},title:"Exhibition & Expo Management Platform | MLGLOBTECH"},{path:"products/event-management-platform",loadComponent:()=>import("./chunk-HONTS4PZ.js").then(i=>i.EventManagement),resolve:{product:A()},data:{code:"event-management-platform"}
1,title:"Event Management Platform & Ticketing Software | MLGLOBTECH"},{path:"products/ai-chatbot-automation-platform",loadComponent:()=>import("./chunk-6DRIIAXY.js").then(i=>i.AiChatbot),resolve:{product:A()},data:{code:"ai-chatbot"},title:"AI Chatbot & Automation Platform | MLGLOBTECH"},{path:"products/user-management-system",loadComponent:()=>import("./chunk-BX2CIC5M.js").then(i=>i.UserManagement),resolve:{product:A()},data:{code:"user-management"},title:"User Management System with Role-Based Access Control | MLGLOBTECH"},{path:"privacy-policy",loadComponent:()=>import("./chunk-YU77DC64.js").then(i=>i.PrivacyPolicy),title:"Privacy Policy | MLGLOBTECH Data Protection & Privacy"},{path:"terms-and-conditions",loadComponent:()=>import("./chunk-2YWQTLMZ.js").then(i=>i.TermsAndCondition),title:"Terms and Conditions | MLGLOBTECH Policies"},{path:"legal",loadComponent:()=>import("./chunk-A5XMQN52.js").then(i=>i.License),title:"Legal Information | MLGLOBTECH Policies & Compliance"},{path:"case-studies/page/:page",component:se,title:"Case Studies | Success Stories | MLGLOBTECH"},{path:"case-studies",component:se,title:"Case Studies | Success Stories | MLGLOBTECH"},{path:"case-studies/:slug",component:Se,resolve:{study:It},title:"Case Study | MLGLOBTECH"},{path:"**",loadComponent:()=>import("./chunk-VBHJKWMF.js").then(i=>i.NotFound),title:"404 \u2013 Page Not Found | MLGLOBTECH"}];var Ht=(i,t)=>t(i).pipe(Ge(1e4));var Nt={providers:[ze(),rt(ot([Ht]),at()),ft(Bt,ht({scrollPositionRestoration:"top",anchorScrolling:"enabled"}),yt({onSameUrlNavigation:"reload"})),lt(st())]};var le={icon:"file",color:"#18cb96"},de={"ai-chatbot":{icon:"bot",color:"#7c3aed"},"exhibition-management-platform":{icon:"booth",color:"#18cb96"},"event-management-platform":{icon:"calendar",color:"#0ea5e9"},"easy-doc-mgt":{icon:"file",color:"#10b981"},"quality-management-system":{icon:"shield-check",color:"#f59e0b"},"quick-pos":{icon:"cart",color:"#f43f5e"},"chemical-crm":{icon:"flask",color:"#14b8a6"},"your-drive":{icon:"cloud",color:"#3b82f6"}};function mi(i,t){if(i&1&&(p(),N(0,"svg",0),G(1,"path",1)(2,"rect",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6),F()),i&2){let e=d();E("width",e.size)("height",e.size)}}function pi(i,t){if(i&1&&(p(),N(0,"svg",0),G(1,"path",7)(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11),F()),i&2){let e=d();E("width",e.size)("height",e.size)}}function ui(i,t){if(i&1&&(p(),N(0,"svg",0),G(1,"rect",12)(2,"path",13),F()),i&2){let e=d();E("width",e.size)("height",e.size)}}function gi(i,t){if(i&1&&(p(),N(0,"svg",0),G(1,"path",14)(2,"path",15),F()),i&2){let e=d();E("width",e.size)("height",e.size)}}function xi(i,t){if(i&1&&(p(),N(0,"svg",0),G(1,"circle",16)(2,"circle",17)(3,"path",18),F()),i&2){let e=d();E("width",e.size)("height",e.size)}}function fi(i,t){if(i&1&&(p(),N(0,"svg",0),G(1,"path",19)(2,"path",20)(3,"path",21),F()),i&2){let e=d();E("width",e.size)("height",e.size)}}function hi(i,t){if(i&1&&(p(),N(0,"svg",0),G(1,"path",22),F()),i&2){let e=d();E("width",e.size)("height",e.size)}}function yi(i,t){if(i&1&&(p(),N(0,"svg",0),G(1,"path",23)(2,"path",24),F()),i&2){let e=d();E("width",e.size)("height",e.size)}}var ee=class i{icon="";size=18;static \u0275fac=function(e){return new(e||i)};static \u0275cmp=S({type:i,selectors:[["app-product-icon"]],inputs:{icon:"icon",size:"size"},decls:8,vars:1,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M12 8V4H8"],["width","16","height","12","x","4","y","8","rx","2"],["d","M2 14h2"],["d","M20 14h2"],["d","M15 13v2"],["d","M9 13v2"],["d","M3 9 12 4l9 5"],["d","M5 9v10"],["d","M19 9v10"],["d","M2 19h20"],["d","M8 14h8"],["x","3","y","4","width","18","height","18","rx","2"],["d","M16 2v4M8 2v4M3 10h18"],["d","M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z"],["d","m9 12 2 2 4-4"],["cx","9","cy","21","r","1"],["cx","20","cy","21","r","1"],["d","M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"],["d","M9 3h6"],["d","M10 3v6.34a2 2 0 0 1-.4 1.2L5.2 17.6A2 2 0 0 0 6.8 21h10.4a2 2 0 0 0 1.6-3.4l-4.4-7.06a2 2 0 0 1-.4-1.2V3"],["d","M7 15h10"],["d","M17.5 19a4.5 4.5 0 0 0 0-9 6 6 0 0 0-11.4-1.5A4.5 4.5 0 0 0 6.5 19Z"],["d","M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z"],["d","M14 2v6h6M16 13H8M16 17H8M10 9H8"]],template:function(e,s){if(e&1&&g(0,mi,7,2,":svg:svg",0)(1,pi,6,2,":svg:svg",0)(2,ui,3,2,":svg:svg",0)(3,gi,3,2,":svg:svg",0)(4,xi,4,2,":svg:svg",0)(5,fi,4,2,":svg:svg",0)(6,hi,2,2,":svg:svg",0)(7,yi,3,2,":svg:svg",0),e&2){let l;x((l=s.icon)==="bot"?0:l==="booth"?1:l==="calendar"?2:l==="shield-check"?3:l==="cart"?4:l==="flask"?5:l==="cloud"?6:7)}},encapsulation:2})};var D=()=>({exact:!0}),bi=(i,t)=>({hidden:i,block:t}),Ft=(i,t)=>t.detailLink;function vi(i,t){if(i&1&&(n(0,"a",13)(1,"span",48),c(2,"app-product-icon",49),r(),n(3,"span",50),o(4),r()()),i&2){let e=t.$implicit;m("routerLink",e.detailLink),a(),K("background",e.color),a(),m("icon",e.icon),a(2),f(" ",e.name," ")}}function _i(i,t){if(i&1){let e=k();n(0,"a",52),u("click",function(){y(e);let l=d(2);return b(l.closeMobileMenu())}),n(1,"span",53),c(2,"app-product-icon",49),r(),n(3,"span",54),o(4),r()()}if(i&2){let e=t.$implicit;m("routerLink",e.detailLink),a(),K("background",e.color),a(),m("icon",e.icon),a(2),C(e.name)}}function Ci(i,t){if(i&1&&(n(0,"div",40),L(1,_i,5,5,"a",51,Ft),r()),i&2){let e=d();a(),T(e.productMenu)}}function wi(i,t){if(i&1){let e=k();n(0,"div",45)(1,"a",55),u("click",function(){y(e);let l=d();return b(l.closeMobileMenu())}),o(2,"\u{1F4DD} Blog"),r(),n(3,"a",56),u("click",function(){y(e);let l=d();return b(l.closeMobileMenu())}),o(4,"\u2728 Case Studies"),r()()}}var ke=class i{isMobileMenuOpen=!1;isResourcesDropdownOpen=!1;isProductsDropdownOpen=!1;productMenu=I.filter(t=>t.isFeatured).map(t=>H({name:t.shortName,detailLink:t.detailLink},de[t.code]??le));toggleMobileMenu(){this.isMobileMenuOpen=!this.isMobileMenuOpen}closeMobileMenu(){this.isMobileMenuOpen=!1}toggleResourcesDropdown(){this.isResourcesDropdownOpen=!this.isResourcesDropdownOpen}closeResourcesDropdown(){this.isResourcesDropdownOpen=!1}toggleProductsDropdown(){this.isProductsDropdownOpen=!this.isProductsDropdownOpen}closeProductsDropdown(){this.isProductsDropdownOpen=!1}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=S({type:i,selectors:[["app-header"]],decls:79,vars:39,consts:[[1,"w-full","fixed","top-0","z-50","bg-[#fdfcfc]","backdrop-blur-md","shadow-sm"],[1,"container","mx-auto","px-0","py-1","flex","items-center","justify-between","pr-5","md:pr-0"],[1,"flex-shrink-0","text-2xl","font-extrabold","text-primary","ml-3","lg:ml-0"],["routerLink","/"],["src","images/mlglobtech-logo.svg","alt","MLGLOBTECH",1,"main-logo","max-w-[150px]","sm:max-w-[220px]","lg:max-w-none"],[1,"hidden","lg:flex","
1space-x-8","font-medium","text-lightgray"],["routerLink","/","routerLinkActive","text-primary",1,"hover:text-primary","transition",3,"routerLinkActiveOptions"],[1,"relative","group"],["routerLink","/products","routerLinkActive","text-primary",1,"hover:text-primary","transition","flex","items-center","gap-1"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2.5","aria-hidden","true",1,"h-4","w-4","transition-transform","group-hover:rotate-180"],["stroke-linecap","round","stroke-linejoin","round","d","M6 9l6 6 6-6"],[1,"absolute","left-1/2","-translate-x-1/2","mt-[20px]","w-[640px]","max-w-[90vw]","bg-white","rounded-2xl","border","border-gray-100","shadow-xl","opacity-0","invisible","translate-y-1","group-hover:opacity-100","group-hover:visible","group-hover:translate-y-0","transition-all","duration-200","z-50","p-3"],[1,"grid","grid-cols-2","gap-1"],[1,"group/item","flex","items-center","gap-3","rounded-xl","p-3","hover:bg-gray-50","transition",3,"routerLink"],[1,"mt-1","pt-2","border-t","border-gray-100"],["routerLink","/products",1,"flex","items-center","justify-between","px-3","py-2.5","rounded-lg","text-sm","font-semibold","text-primary","hover:bg-primary/5","transition"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.5","stroke-linecap","round","stroke-linejoin","round"],["d","M5 12h14M13 6l6 6-6 6"],["routerLink","/services","routerLinkActive","text-primary",1,"hover:text-primary","transition",3,"routerLinkActiveOptions"],["routerLink","/partner-with-us","routerLinkActive","text-primary",1,"hover:text-primary","transition",3,"routerLinkActiveOptions"],["routerLink","/about-us","routerLinkActive","text-primary",1,"hover:text-primary","transition",3,"routerLinkActiveOptions"],["aria-label","Resources menu","aria-expanded","false",1,"hover:text-primary","transition","flex","items-center","gap-1"],[1,"absolute","left-0","mt-[20px]","w-48","bg-white","rounded-lg","shadow-lg","opacity-0","invisible","group-hover:opacity-100","group-hover:visible","transition-all","duration-200","z-50"],["routerLink","/blog","routerLinkActive","text-primary",1,"block","px-4","py-3","text-gray-700","hover:text-primary","hover:bg-gray-50","transition","first:rounded-t-lg",3,"click"],["routerLink","/case-studies","routerLinkActive","text-primary",1,"block","px-4","py-3","text-gray-700","hover:text-primary","hover:bg-gray-50","transition","last:rounded-b-lg","border-t","border-gray-100",3,"click"],["routerLink","/contact-us","routerLinkActive","text-primary",1,"hover:text-primary","transition",3,"routerLinkActiveOptions"],["href","https://wa.me/919106923203?text=Hello%20I%20would%20like%20to%20know%20more%20about%20your%20product","target","_blank","aria-label","Chat on WhatsApp",1,"hidden","lg:inline-block","bg-primary","text-white","px-5","py-2","rounded-full","shadow","hover:bg-primary/80","transition"],[1,"flex","items-center","gap-2"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-whatsapp"],["d","M13.601 2.326A7.85 7.85 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.9 7.9 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.9 7.9 0 0 0 13.6 2.326zM7.994 14.521a6.6 6.6 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.56 6.56 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73 0 0 0-.529.247c-.182.198-.691.677-.691 1.654s.71 1.916.81 2.049c.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058
11.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232"],["aria-label","Toggle navigation menu","aria-controls","mobile-menu",1,"lg:hidden","flex-shrink-0","text-lightgray",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","aria-hidden","true",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M4 6h16M4 12h16M4 18h16"],["id","mobile-menu","role","navigation","aria-label","Mobile navigation",1,"flex","flex-col","space-y-4","bg-white","px-4","pb-4",3,"ngClass"],["routerLink","/","routerLinkActive","text-primary",1,"block","py-2","border-b",3,"click","routerLinkActiveOptions"],[1,"border-b"],[1,"flex","items-center","justify-between"],["routerLink","/products","routerLinkActive","text-primary",1,"flex-1","py-2","hover:text-primary","transition",3,"click","routerLinkActiveOptions"],["aria-label","Products submenu","aria-controls","mobile-products-menu",1,"p-2","-mr-2","hover:text-primary","transition",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2.5","aria-hidden","true",1,"h-4","w-4","transition-transform"],["id","mobile-products-menu","role","region",1,"bg-gray-50","rounded-lg","mb-2","divide-y","divide-gray-100"],["routerLink","/services","routerLinkActive","text-primary",1,"block","py-2","border-b",3,"click","routerLinkActiveOptions"],["routerLink","/partner-with-us","routerLinkActive","text-primary",1,"block","py-2","border-b",3,"click","routerLinkActiveOptions"],["routerLink","/about-us","routerLinkActive","text-primary",1,"block","py-2","border-b",3,"click","routerLinkActiveOptions"],["aria-label","Resources submenu","aria-controls","mobile-resources-menu",1,"w-full","text-left","py-2","flex","justify-between","items-center","hover:text-primary","transition",3,"click"],["id","mobile-resources-menu","role","region",1,"bg-gray-50","pl-4","space-y-2"],["routerLink","/contact-us","routerLinkActive","text-primary",1,"block","py-2","border-b",3,"click","routerLinkActiveOptions"],["href","https://wa.me/919106923203?text=Hello%20I%20would%20like%20to%20know%20more%20about%20your%20product","target","_blank","routerLinkActive","text-primary",1,"block","py-2","bg-primary","text-white","rounded-full","text-center","lg:inline-block","bg-primary","text-white","px-5","py-2","rounded-full","shadow","hover:bg-primary/80","transition",3,"click","routerLinkActiveOptions"],[1,"flex-shrink-0","w-9","h-9","rounded-lg","text-white","flex","items-center","justify-center"],[3,"icon"],[1,"text-sm","font-semibold","text-darkgray","group-hover/item:text-primary","transition"],[1,"flex","items-center","gap-3","px-3","py-2.5",3,"routerLink"],[1,"flex","items-center","gap-3","px-3","py-2.5",3,"click","routerLink"],[1,"flex-shrink-0","w-7","h-7","rounded-md","text-white","flex","items-center","justify-center"],[1,"text-sm","text-gray-700","line-clamp-1"],["routerLink","/blog","routerLinkActive","text-primary",1,"block","py-2","text-gray-700","hover:text-primary","transition",3,"click"],["routerLink","/case-studies","routerLinkActive","text-primary",1,"block","py-2","text-gray-700","hover:text-primary","transition",3,"click"]],template:function(e,s){e&1&&(n(0,"nav",0)(1,"div",1)(2,"div",2)(3,"a",3),c(4,"img",4),r()(),n(5,"div",5)(6,"a",6),o(7,"Home"),r(),n(8,"div",7)(9,"a",8),o(10," Products "),p(),n(11,"svg",9),c(12,"path",10),r()(),v(),n(13,"div",11)(14,"div",12),L(15,vi,5,5,"a",13,Ft),r(),n(17,"div",14)(18,"a",15),o(19," View All Products "),p(),n(20,"svg",16),c(21,"path",17),r()()()()(),v(),n(22,"a",18),o(23,"Services"),r(),n(24,"a",19),o(25,"Become Partner"),r(),n(26,"a",20),o(27,"About Us"),r(),n(28,"div",7)(29,"button",21),o(30," Resources "),p(),n(31,"svg",9),c(32,"path",10),r()(),v(),n(33,"div",22)(34,"a",23),u("click",function(){return s.closeResourcesDropdown()}),o(35,"Blog"),r(),n(36,"a",24),u("click",function(){return s.closeResourcesDropdown()}),o(37,"Case Studies"),r()()(),n(38,"a",25),o(39," Contact Us "),r()(),n(40,"a",26)(41,"span",27),p(),n(42,"svg",28),c(43,"path",29),r(),o(44," +91 9106923203 "),r()(),v(),n(45,"button",30),u("click",function(){return s.toggleMobileMenu()}),p(),n(46,"svg",31),c(47,"path",32),r()()(),v(),n(48,"div",33)(49,"a",34),u("click",function(){return s.closeMobileMenu()}),o(50,"Home"),r(),n(51,"div",35)(52,"div",36)(53,"a",37),u("click",function(){return s.closeMobileMenu()}),o(54,"Products"),r(),n(55,"button",38),u("click",function(){return s.toggleProductsDropdown()}),p(),n(56,"svg",39),c(57,"path",10),r()()(),g(58,Ci,3,0,"div",40),r(),v(),n(59,"a",41),u("click",function(){return s.closeMobileMenu()}),o(60,"Services"),r(),n(61,"a",42),u("click",function(){return s.closeMobileMenu()}),o(62,"Become Partner"),r(),n(63,"a",43),u("click",function(){return s.closeMobileMenu()}),o(64,"About Us"),r(),n(65,"div",35)(66,"button",44),u("click",function(){return s.toggleResourcesDropdown()}
1),n(67,"span"),o(68,"Resources"),r(),p(),n(69,"svg",39),c(70,"path",10),r()(),g(71,wi,5,0,"div",45),r(),v(),n(72,"a",46),u("click",function(){return s.closeMobileMenu()}),o(73,"Contact Us"),r(),n(74,"a",47),u("click",function(){return s.closeMobileMenu()}),n(75,"span",27),p(),n(76,"svg",28),c(77,"path",29),r(),o(78," +91 9106923203 "),r()()()()),e&2&&(a(6),m("routerLinkActiveOptions",w(24,D)),a(9),T(s.productMenu),a(7),m("routerLinkActiveOptions",w(25,D)),a(2),m("routerLinkActiveOptions",w(26,D)),a(2),m("routerLinkActiveOptions",w(27,D)),a(3),z("text-primary",s.isResourcesDropdownOpen),a(9),m("routerLinkActiveOptions",w(28,D)),a(7),E("aria-expanded",s.isMobileMenuOpen),a(3),m("ngClass",Qe(29,bi,!s.isMobileMenuOpen,s.isMobileMenuOpen)),a(),m("routerLinkActiveOptions",w(32,D)),a(4),m("routerLinkActiveOptions",w(33,D)),a(2),E("aria-expanded",s.isProductsDropdownOpen),a(),z("rotate-180",s.isProductsDropdownOpen),a(2),x(s.isProductsDropdownOpen?58:-1),a(),m("routerLinkActiveOptions",w(34,D)),a(2),m("routerLinkActiveOptions",w(35,D)),a(2),m("routerLinkActiveOptions",w(36,D)),a(3),E("aria-expanded",s.isResourcesDropdownOpen),a(3),z("rotate-180",s.isResourcesDropdownOpen),a(2),x(s.isResourcesDropdownOpen?71:-1),a(),m("routerLinkActiveOptions",w(37,D)),a(2),m("routerLinkActiveOptions",w(38,D)))},dependencies:[R,Xe,ee,X,xt],styles:[`.group[_ngcontent-%COMP%]:hover .invisible[_ngcontent-%COMP%]{visibility:visible;opacity:100%}@media(prefers-reduced-motion:no-preference){.group[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{transition:opacity .3s ease-in-out,visibility .3s ease-in-out}svg[_ngcontent-%COMP%]{transition:transform .2s ease-in-out}}div[class*=bg-gray-50][_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideDown .2s ease-out}@keyframes _ngcontent-%COMP%_slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}a[routerLink="/blog"][_ngcontent-%COMP%]:hover, a[routerLink="/case-studies"][_ngcontent-%COMP%]:hover{background-color:#4f46e50d}button[_ngcontent-%COMP%]:focus-visible{outline:2px solid #4f46e5;outline-offset:2px;border-radius:4px} 2`]})};function ki(i,t){i&1&&(n(0,"div",9)(1,"p"),o(2,"Thank you for subscribing!"),r()())}function Mi(i,t){if(i&1&&(n(0,"div",10),c(1,"input",54),q(),n(2,"button",55),o(3),r()()),i&2){let e=d();a(),m("formField",e.newsletterForm.email),Y(),a(),m("disabled",e.isSubmitting()),a(),f(" ",e.isSubmitting()?"Processing...":"Subscribe"," ")}}function Ei(i,t){if(i&1&&(n(0,"p",56),o(1),r()),i&2){let e=t.$implicit;a(),C(e.message)}}function Li(i,t){if(i&1&&L(0,Ei,2,1,"p",56,j),i&2){let e=d();T(e.newsletterForm.email().errors())}}var Me=class i{httpClient=M(xe);isSubmitting=_(!1);isSuccess=_(!1);model=_({email:""});newsletterForm=Mt(this.model,t=>{Lt(t.email,{message:"Email is required"}),Et(t.email,{message:"Please enter a valid email address"})},{submission:{action:async()=>{this.isSubmitting.set(!0);let{email:t}=this.newsletterForm().value();this.httpClient.post(`${$.apiUrl}Subscribers/subscribe`,{email:t}).subscribe({next:()=>{this.isSuccess.set(!0),this.model.set({email:""}),this.newsletterForm().reset(),setTimeout(()=>{this.isSuccess.set(!1)},5e3),this.isSubmitting.set(!1)},error:e=>{console.error(e),this.isSubmitting.set(!1)}})}}});static \u0275fac=function(e){return new(e||i)};static \u0275cmp=S({type:i,selectors:[["app-footer"]],decls:115,vars:4,consts:[[1,"pt-[100px]","px-8","md:px-0","bg-[rgba(246,247,249,1)]"],[1,"container","mx-auto","overflow-x-hidden"],[1,"flex","flex-wrap","mx-[calc(-0.5*_1.5rem)]"],[1,"xl:w-3/12","w-full","flex-[0_0_auto]","px-[calc(0.5*_1.5rem)]","max-w-full"],[1,"footer-info","mb-[30px]"],["src","images/mlglobtech-logo.svg","alt","footer-logo",1,"main-logo","w-auto","max-w-[inherit]","max-h-[80px]"],[1,"footer-newsletter","lg:mb-[0px]","mb-[20px]","mr-[30px]"],[1,"text-[1rem]","lg:text-[1.0625rem]","font-bold","font-Jakarta","mb-3"],[3,"formRoot"],[1,"bg-green-100","border","border-green-400","text-green-700","px-3","py-2","rounded","text-sm"],[1,"flex","flex-row","items-stretch","gap-0"],[1,"sm:w-4/12","md:w-3/12","lg:w-3/12","xl:w-2/12","w-full","flex-[0_0_auto]","px-[calc(0.5*_1.5rem)]","max-w-full"],[1,"footer-links","fl-1"],[1,"s-17","w-700","text-[1.0625rem]","lg:!text-[1.0625rem]","leading-none","mb-[25px]","lg:mb-[20px]","md:!text-[1.17647rem]","md:mb-[16px]","sm:!text-[1.21875rem]","sm:mb-[20px]","xsm:!text-[1.21875rem]","xsm:mb-[20px]","font-Jakarta","font-bold"],[1,"clearfix"],[1,"w-auto","block","align-top","clear-none","m-0","p-0"],[1,"font-normal","mb-[10px]","md:mb-[8px]"],["routerLink","/about-us"],["routerLink","/blog"],["routerLink","/case-studies"],["routerLink","/contact-us"],[1,"footer-links","fl-2"],["routerLink","/products/ai-chatbot-automation-platform"],["routerLink","/products/exhibition-management-platform"],["routerLink","/products/event-management-platform"],["routerLink","/products/document-management-system"],["routerLink","/products/quality-management-system"],["routerLink","/products/point-of-sale-system"],[1,"footer-links","fl-3","lg:pl-[0%]"],["routerLink","/terms-and-conditions"],["routerLink","/privacy-policy"],["routerLink","/legal"],[1,"sm:w-6/12","md:w-3/12","lg:w-3/12","xl:w-3/12","w-full","flex-[0_0_auto]","px-[calc(0.5*_1.5rem)]","max-w-full"],[1,"footer-links","fl-4"],[1,"s-17","w-700","text-[1.0625rem]","lg:text-[1.0625rem]","mb-[25px]","lg:mb-[20px]","md:text-[1.17647rem]","md:mb-[16px]","sm:text-[1.21875rem]","sm:mb-[20px]","xsm:text-[1.21875rem]","xsm:mb-[20px]","font-Jakarta","font-bold","leading-none","sm:leading-[1.4]","xsm:leading-[1.4]"],[1,"footer-mail-link","ico-25","ml-0","mb-[20px]","lg:mb-[14px]","md:mb-[10px]"],["href","mailto:support@mlglobte
2ch.com",1,"font-normal","hover:!text-primary"],[1,"footer-socials","text-center","clearfix","flex","flex-wrap","items-center","gap-[12px]","m-0","mt-[16px]","p-0"],[1,"w-auto","inline-block","align-top","clear-none","m-0"],["href","https://www.linkedin.com/company/ml-globtech/","target","_blank","rel","noopener noreferrer","aria-label","LinkedIn",1,"inline-flex","items-center","justify-center","w-[36px]","h-[36px]","rounded-full","text-[#353f4f]","border","border-[#e4e9f2]","hover:!text-primary","hover:border-primary","transition-colors"],["viewBox","0 0 24 24","aria-hidden","true","focusable","false",1,"w-[18px]","h-[18px]","fill-current"],["d","M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.049c.476-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 11.001-4.124 2.062 2.062 0 01-.001 4.124zM7.119 20.452H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"],["href","https://www.instagram.com/mlglobtech/","target","_blank","rel","noopener noreferrer","aria-label","Instagram",1,"inline-flex","items-center","justify-center","w-[36px]","h-[36px]","rounded-full","text-[#353f4f]","border","border-[#e4e9f2]","hover:!text-primary","hover:border-primary","transition-colors"],["d","M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.259-.149-4.771-1.699-4.919-4.919-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163C8.741 0 8.332.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.331 0 8.741 0 12c0 3.259.014 3.668.072 4.947.2 4.358 2.618 6.78 6.98 6.98 1.279.059 1.688.073 4.948.073 3.259 0 3.668-.014 4.947-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.668-.072-4.947-.196-4.354-2.617-6.782-6.979-6.979C15.668.013 15.259 0 12 0zm0 5.838A6.162 6.162 0 005.838 12 6.162 6.162 0 0012 18.162 6.162 6.162 0 0018.162 12 6.162 6.162 0 0012 5.838zm0 10.162A4 4 0 118 12a4 4 0 014 4zm6.406-11.845a1.44 1.44 0 11-2.881-.001 1.44 1.44 0 012.881.001z"],["href","https://www.youtube.com/@MLGLOBTECH","target","_blank","rel","noopener noreferrer","aria-label","YouTube",1,"inline-flex","items-center","justify-center","w-[36px]","h-[36px]","rounded-full","text-[#353f4f]","border","border-[#e4e9f2]","hover:!text-primary","hover:border-primary","transition-colors"],["d","M23.498 6.186a2.997 2.997 0 0 0-2.11-2.12C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.388.521a2.997 2.997 0 0 0-2.11 2.12A31.051 31.051 0 0 0 0 12a31.05 31.05 0 0 0 .502 5.814 2.997 2.997 0 0 0 2.11 2.12c1.883.52 9.388.52 9.388.52s7.505 0 9.388-.52a2.997 2.997 0 0 0 2.11-2.12A31.05 31.05 0 0 0 24 12a31.05 31.05 0 0 0-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"],["href","https://in.pinterest.com/mlglobtech/","target","_blank","rel","noopener noreferrer","aria-label","Pinterest",1,"inline-flex","items-center","justify-center","w-[36px]","h-[36px]","rounded-full","text-[#353f4f]","border","border-[#e4e9f2]","hover:!text-primary","hover:border-primary","transition-colors"],["d","M12.017.005C5.396.005 0 5.39 0 12.016c0 4.338 2.29 8.141 5.731 10.26-.079-.871-.151-2.209.031-3.158.165-.86 1.063-5.484 1.063-5.484s-.271-.542-.271-1.343c0-1.258.729-2.196 1.636-2.196.771 0 1.143.579 1.143 1.271 0 .774-.493 1.93-.748 3.001-.213.9.451 1.635 1.338 1.635 1.607 0 2.845-1.694 2.845-4.138 0-2.163-1.555-3.677-3.777-3.677-2.572 0-4.083 1.93-4.083 3.925 0 .777.299 1.611.672 2.064a.271.271 0 0 1 .062.259c-.068.285-.22.9-.25 1.025-.039.165-.128.2-.297.12-1.107-.516-1.799-2.136-1.799-3.438 0-2.798 2.034-5.367 5.867-5.367 3.08 0 5.476 2.195 5.476 5.13 0 3.061-1.929 5.525-4.606 5.525-.899 0-1.746-.467-2.036-1.02l-.553 2.106c-.2.768-.74 1.731-1.102 2.319.83.256 1.705.395 2.613.395 6.624 0 12.008-5.385 12.008-12.011C24.025 5.39 18.641.005 12.017.005z"],[1,"mt-[30px]","mb-[30px]"],[1,"bottom-footer"],[1,"flex","flex-wrap","mx-[calc(-0.5*_1.5rem)]","row-cols-1","row-cols-md-2","items-center"],[1,"xl:w-6/12","lg:w-6/12","md:w-6/12","w-full","flex-[0_0_auto]","px-[calc(0.5*_1.5rem)]","max-w-full"],[1,"footer-copyright"],[1,"p-sm","mb-[30px]"],["type","email","placeholder","Enter your email",1,"flex-1","px-3","py-2","border","border-gray-300","rounded-l-lg","focus:outline-none","focus:ring-2","focus:ring-primary","text-sm",3,"formField"],["type","submit",1,"bg-primary","hover:bg-primary-dark","text-white","font-medium","px-4","py-2","rounded-r-lg","transition-colors","disabled:bg-gray-400","disabled:cursor-not-allowed","text-sm","whitespace-nowrap","border","border-l-0","border-gray-300",3,"disabled"],[1,"text-red-600","text-xs","mt-1"]],template:function(e,s){e&1&&(n(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),c(5,"img",5),r(),n(6,"div",6)(7,"h6",7),o(8," Sign Up for the Latest Tech Insights "),r(),n(9,"form",8),g(10,ki,3,0,"div",9),g(11,Mi,4,3,"div",10),g(12,
2Li,2,0),r()()(),n(13,"div",11)(14,"div",12)(15,"h6",13),o(16," Company "),r(),n(17,"ul",14)(18,"li",15)(19,"p",16)(20,"a",17),o(21,"About Us"),r()()(),n(22,"li",15)(23,"p",16)(24,"a",18),o(25,"Our Blog"),r()()(),n(26,"li",15)(27,"p",16)(28,"a",19),o(29,"Case Studies"),r()()(),n(30,"li",15)(31,"p",16)(32,"a",20),o(33,"Contact Us"),r()()()()()(),n(34,"div",11)(35,"div",21)(36,"h6",13),o(37," Products "),r(),n(38,"ul",14)(39,"li",15)(40,"p",16)(41,"a",22),o(42,"AI Chatbot"),r()()(),n(43,"li",15)(44,"p",16)(45,"a",23),o(46,"Exhibition & Expo"),r()()(),n(47,"li",15)(48,"p",16)(49,"a",24),o(50,"Event Management"),r()()(),n(51,"li",15)(52,"p",16)(53,"a",25),o(54,"EasyDocMgt"),r()()(),n(55,"li",15)(56,"p",16)(57,"a",26),o(58,"ProQMS"),r()()(),n(59,"li",15)(60,"p",16)(61,"a",27),o(62,"QuickPOS"),r()()()()()(),n(63,"div",11)(64,"div",28)(65,"h6",13),o(66," Support "),r(),n(67,"ul",14)(68,"li",15)(69,"p",16)(70,"a",29),o(71,"Terms of Use"),r()()(),n(72,"li",15)(73,"p",16)(74,"a",30),o(75,"Privacy Policy"),r()()(),n(76,"li",15)(77,"p",16)(78,"a",31),o(79,"License & Copyright"),r()()()()()(),n(80,"div",32)(81,"div",33)(82,"h6",34),o(83," Connect With Us "),r(),n(84,"p",35)(85,"a",36),o(86,"[email protected]"),r()(),n(87,"p"),o(88," Location: A-807 Money Plant High Street, Jagatpur Road, Sarkhej - Gandhinagar Hwy, Gota, Ahmedabad, Gujarat 382470. "),r(),n(89,"ul",37)(90,"li",38)(91,"a",39),p(),n(92,"svg",40),c(93,"path",41),r()()(),v(),n(94,"li",38)(95,"a",42),p(),n(96,"svg",40),c(97,"path",43),r()()(),v(),n(98,"li",38)(99,"a",44),p(),n(100,"svg",40),c(101,"path",45),r()()(),v(),n(102,"li",38)(103,"a",46),p(),n(104,"svg",40),c(105,"path",47),r()()()()()()(),v(),c(106,"hr",48),n(107,"div",49)(108,"div",50)(109,"div",51)(110,"div",52)(111,"p",53),o(112,"\xA9 2026 MLGLOBTECH. "),n(113,"span"),o(114,"All Rights Reserved"),r()()()()()()()()),e&2&&(a(9),m("formRoot",s.newsletterForm),a(),x(s.isSuccess()?10:-1),a(),x(s.isSuccess()?-1:11),a(),x(s.newsletterForm.email().invalid()&&s.newsletterForm.email().touched()?12:-1))},dependencies:[R,we,Ce,_e,Pt,Tt],encapsulation:2})};var te=class i{constructor(t){this.platformId=t;this.isBrowser=Z(this.platformId),this.trackingEnabled=this.isBrowser&&!(window.__trackingDisabled__??this.isLocalHost(window.location.hostname)),this.initializeConsent()}platformId;CONSENT_STORAGE_KEY="mlglobtech_consent";CONSENT_EXPIRY_DAYS=365;isBrowser;trackingEnabled;consentState$=new Ie(this.getDefaultConsent());consentBannerDismissed$=new Ie(!1);isLocalHost(t){let e=(t||"").toLowerCase();return["localhost","127.0.0.1","::1"].includes(e)||e.endsWith(".local")}getConsentState$(){return this.consentState$.asObservable()}isConsentDismissed$(){return this.consentBannerDismissed$.asObservable()}getConsentState(){return this.consentState$.getValue()}isConsentDismissed(){return this.consentBannerDismissed$.getValue()}initializeConsent(){if(!this.isBrowser){this.consentState$.next(this.getDefaultConsent()),this.consentBannerDismissed$.next(!1);return}if(!this.trackingEnabled){this.consentState$.next(this.getDefaultConsent()),this.consentBannerDismissed$.next(!0);return}let t=this.getStoredConsent();t?(this.consentState$.next(t),this.consentBannerDismissed$.next(!0),this.updateGTMConsent(t)):(this.updateGTMConsent(this.getDefaultConsent()),this.consentBannerDismissed$.next(!1))}updateConsent(t){this.trackingEnabled&&(this.consentState$.next(t),this.consentBannerDismissed$.next(!0),this.saveConsent(t),this.updateGTMConsent(t))}rejectAll(){let t={analytics:!1,marketing:!1,functional:!1};this.updateConsent(t)}acceptAll(){let t={analytics:!0,marketing:!0,functional:!0};this.updateConsent(t)}getDefaultConsent(){return{analytics:!1,marketing:!1,functional:!1}}isConsentBannerDismissed(){return!!this.getStoredConsent()}getStoredConsent(){if(!this.isBrowser||!this.trackingEnabled)return null;try{let t=localStorage.getItem(this.CONSENT_STORAGE_KEY);if(t){let e=JSON.parse(t);if(e.expiresAt&&new Date(e.expiresAt)>new Date)return{analytics:e.analytics,marketing:e.marketing,functional:e.functional};localStorage.removeItem(this.CONSENT_STORAGE_KEY)}}catch(t){console.warn("Error reading consent from localStorage:",t)}return null}saveConsent(t){if(!(!this.isBrowser||!this.trackingEnabled))try{let e=new Date;e.setDate(e.getDate()+this.CONSENT_EXPIRY_DAYS),localStorage.setItem(this.CONSENT_STORAGE_KEY,JSON.stringify(Ne(H({},t),{expiresAt:e.toISOString()})))}catch(e){console.warn("Error saving consent to localStorage:",e)}}updateGTMConsent(t){if(!this.isBrowser||!this.trackingEnabled)return;let e={ad_storage:t.marketing?"granted":"denied",analytics_storage:t.analytics?"granted":"denied",ad_personalization:t.marketing?"granted":"denied",ad_user_data:t.marketing?"granted":"denied"};window.dataLayer&&window.dataLayer.push(H({event:"update_consent"}
2,e)),window.gtag&&window.gtag("consent","update",e),t.analytics&&!this.isGALoaded()&&this.loadGoogleAnalytics()}isGALoaded(){return!this.isBrowser||!this.trackingEnabled?!1:!!window.gtag&&document.querySelector('script[src*="googletagmanager.com/gtag"]')!==null}loadGoogleAnalytics(){if(!this.isBrowser||!this.trackingEnabled||this.isGALoaded())return;let t=document.createElement("script");t.async=!0,t.src="https://www.googletagmanager.com/gtag/js?id=G-ZLS5GN49JW",document.head.appendChild(t),t.onload=()=>{window.gtag&&(window.gtag("js",new Date),window.gtag("config","G-ZLS5GN49JW",{allow_google_signals:!1,allow_ad_personalization_signals:!1,anonymize_ip:!0}),console.log("Google Analytics loaded and initialized"))},t.onerror=()=>{console.warn("Failed to load Google Analytics script")}}static \u0275fac=function(e){return new(e||i)(me(W))};static \u0275prov=ce({token:i,factory:i.\u0275fac,providedIn:"root"})};function Ti(i,t){if(i&1){let e=k();n(0,"div",13)(1,"button",14),u("click",function(){y(e);let l=d(2);return b(l.rejectAll())}),o(2," Reject Non-Essential "),r(),n(3,"button",15),u("click",function(){y(e);let l=d(2);return b(l.toggleDetails())}),o(4," Customize "),r(),n(5,"button",16),u("click",function(){y(e);let l=d(2);return b(l.acceptAll())}),o(6," Accept All "),r()()}}function Pi(i,t){if(i&1){let e=k();n(0,"div",17)(1,"div",18)(2,"div")(3,"h3",19),o(4,"Essential Cookies"),r(),n(5,"p",20),o(6,"Needed for website operation and security. "),r()(),n(7,"span",21),o(8,"Required"),r()(),n(9,"label",22)(10,"div")(11,"h3",19),o(12,"Analytics Cookies"),r(),n(13,"p",20),o(14,"Help us measure performance. (Google Analytics)"),r()(),n(15,"input",23),u("change",function(){y(e);let l=d(2);return b(l.toggleConsent("analytics"))}),r()(),n(16,"label",22)(17,"div")(18,"h3",19),o(19,"Marketing Cookies"),r(),n(20,"p",20),o(21,"Used for ad relevance and campaign measurement."),r()(),n(22,"input",24),u("change",function(){y(e);let l=d(2);return b(l.toggleConsent("marketing"))}),r()(),n(23,"label",22)(24,"div")(25,"h3",19),o(26,"Functional Cookies"),r(),n(27,"p",20),o(28,"Enable enhanced features and preference memory."),r()(),n(29,"input",25),u("change",function(){y(e);let l=d(2);return b(l.toggleConsent("functional"))}),r()(),n(30,"div",26)(31,"button",27),u("click",function(){y(e);let l=d(2);return b(l.toggleDetails())}),o(32," Back "),r(),n(33,"button",28),u("click",function(){y(e);let l=d(2);return b(l.savePreferences())}),o(34," Save Preferences "),r()()()}if(i&2){let e=d(2);a(15),m("checked",e.selectedConsents.analytics),a(7),m("checked",e.selectedConsents.marketing),a(7),m("checked",e.selectedConsents.functional)}}function Oi(i,t){if(i&1&&(n(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"h2",5),o(5,"This website uses cookies."),r()(),n(6,"p",6),o(7," We use cookies to keep the site secure, measure performance, and improve your experience. You can accept all, reject non-essential, or customize categories. "),r(),Q(8,Ti,7,0,"div",7)(9,Pi,35,3,"div",8),n(10,"div",9)(11,"a",10),o(12,"Privacy Policy"),r(),n(13,"span",11),o(14,"\u2022"),r(),n(15,"a",12),o(16,"Terms & Conditions"),r()()()()()),i&2){let e=d();a(8),m("ngIf",!e.showDetails),a(),m("ngIf",e.showDetails)}}var Ee=class i{constructor(t,e){this.consentService=t;this.platformId=e;this.isBrowser=Z(this.platformId)}consentService;platformId;isVisible=!1;showDetails=!1;isBrowser=!1;selectedConsents={analytics:!1,marketing:!1,functional:!1};destroy$=new Fe;ngOnInit(){this.consentService.isConsentDismissed$().pipe(Re(this.destroy$)).subscribe(t=>{this.isVisible=!t})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}acceptAll(){this.consentService.acceptAll(),this.closeBanner()}rejectAll(){this.consentService.rejectAll(),this.closeBanner()}savePreferences(){this.consentService.updateConsent(this.selectedConsents),this.closeBanner()}
2toggleDetails(){this.showDetails=!this.showDetails}toggleConsent(t){this.selectedConsents[t]=!this.selectedConsents[t]}closeBanner(){this.isVisible=!1,this.showDetails=!1}static \u0275fac=function(e){return new(e||i)(P(te),P(W))};static \u0275cmp=S({type:i,selectors:[["app-cookie-consent"]],decls:1,vars:1,consts:[["class","fixed bottom-0 left-0 right-0 z-[10000] p-2 sm:p-3 pointer-events-none","role","dialog","aria-label","Cookie consent","aria-modal","false",4,"ngIf"],["role","dialog","aria-label","Cookie consent","aria-modal","false",1,"fixed","bottom-0","left-0","right-0","z-[10000]","p-2","sm:p-3","pointer-events-none"],[1,"mx-auto","w-full","max-w-xl","rounded-xl","border","border-slate-200","bg-white","shadow-lg","pointer-events-auto"],[1,"p-3","sm:p-4"],[1,"flex","items-start","justify-between","gap-2"],[1,"m-0","text-sm","sm:text-base","font-semibold","text-slate-900"],[1,"m-0","mt-1.5","text-xs","sm:text-sm","leading-5","text-slate-600"],["class","mt-3 flex flex-col sm:flex-row sm:justify-end gap-1.5 sm:gap-2",4,"ngIf"],["class","mt-3 space-y-2",4,"ngIf"],[1,"mt-3","text-[11px]","sm:text-xs","text-slate-500","border-t","border-slate-100","pt-2.5"],["href","/privacy-policy","target","_blank","rel","noopener noreferrer",1,"text-blue-700","hover:underline"],[1,"mx-2","text-slate-300"],["href","/terms-and-conditions","target","_blank","rel","noopener noreferrer",1,"text-blue-700","hover:underline"],[1,"mt-3","flex","flex-col","sm:flex-row","sm:justify-end","gap-1.5","sm:gap-2"],["aria-label","Reject non-essential cookies",1,"px-3","py-1.5","rounded-md","border","border-slate-300","text-slate-700","text-xs","sm:text-sm","font-medium","hover:bg-slate-50","focus-visible:outline","focus-visible:outline-2","focus-visible:outline-blue-600",3,"click"],["aria-label","Customize cookie settings",1,"px-3","py-1.5","rounded-md","bg-slate-100","text-slate-800","text-xs","sm:text-sm","font-medium","hover:bg-slate-200","focus-visible:outline","focus-visible:outline-2","focus-visible:outline-blue-600",3,"click"],["aria-label","Accept all cookies",1,"px-3","py-1.5","rounded-md","bg-blue-700","text-white","text-xs","sm:text-sm","font-medium","hover:bg-blue-800","focus-visible:outline","focus-visible:outline-2","focus-visible:outline-blue-600",3,"click"],[1,"mt-3","space-y-2"],[1,"rounded-lg","border","border-slate-200","bg-slate-50","p-3","flex","items-start","justify-between","gap-3"],[1,"m-0","text-xs","sm:text-sm","font-semibold","text-slate-900"],[1,"m-0","mt-1","text-xs","sm:text-sm","text-slate-600"],[1,"text-xs","font-semibold","text-teal-700","bg-teal-100","px-2","py-0.5","rounded-full"],[1,"rounded-lg","border","border-slate-200","p-3","flex","items-start","justify-between","gap-3"],["type","checkbox","aria-label","Toggle analytics cookies",1,"mt-1","h-4","w-4","accent-blue-700",3,"change","checked"],["type","checkbox","aria-label","Toggle marketing cookies",1,"mt-1","h-4","w-4","accent-blue-700",3,"change","checked"],["type","checkbox","aria-label","Toggle functional cookies",1,"mt-1","h-4","w-4","accent-blue-700",3,"change","checked"],[1,"pt-1","flex","flex-col","sm:flex-row","sm:justify-end","gap-1.5","sm:gap-2"],["aria-label","Back to main cookie options",1,"px-3","py-1.5","rounded-md","bg-slate-100","text-slate-800","text-xs","sm:text-sm","font-medium","hover:bg-slate-200","focus-visible:outline","focus-visible:outline-2","focus-visible:outline-blue-600",3,"click"],["aria-label","Save cookie preferences",1,"px-3","py-1.5","rounded-md","bg-blue-700","text-white","text-xs","sm:text-sm","font-medium","hover:bg-blue-800","focus-visible:outline","focus-visible:outline-2","focus-visible:outline-blue-600",3,"click"]],template:function(e,s){e&1&&Q(0,Oi,17,2,"div",0),e&2&&m("ngIf",s.isBrowser&&s.isVisible)},dependencies:[ge,tt],encapsulation:2})};var Le=class i{constructor(t){this.sanitizer=t}sanitizer;transform(t){let e=Di(t??"");return this.sanitizer.bypassSecurityTrustHtml(e)}static \u0275fac=function(e){return new(e||i)(P(dt,16))};static \u0275pipe=Ue({name:"chatMarkdown",type:i,pure:!0})};function Ii(i){return i.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function Di(i){let t=Ii(i);return t=t.replace(/\*\*(.+?)\*\*/g,"<strong>$1</strong>"),t=t.replace(/__(.+?)__/g,"<strong>$1</strong>"),t=t.replace(/\*(.+?)\*/g,"<em>$1</em>"),t=t.replace(/(?<![A-Za-z0-9])_(.+?)_(?![A-Za-z0-9])/g,"<em>$1</em>"),t=t.replace(/`(.+?)`/g,"<code>$1</code>"),t=t.replace(/\[([^\]]+)\]\((https?:\/\/[^\s)]+)\)/g,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>'),t=t.replace(/(?:^|\n)((?:[-*] .*(?:\n|$))+)/g,e=>` 3<ul>${e.trim().split(` 4`).map(l=>`<li>${l.replace(/^[-*]\s+/,"")}</li>`).join("")}</ul>`),t=t.replace(/\n(?!<\/?ul>)/g,"<br>"),t}var Te=class i{constructor(t){this.httpClient=t}httpClient;sendMessage(t,e,s,l,h){return this.httpClient.post(`${$.apiUrl}Chat/message`,H({product:t,message:e,history:s,conversationId:l},h))}submitLead(t){return this.httpClient.post(`${$.apiUrl}Chat/lead`,t)}static \u0275fac=function(e){return new(e||i)(me(xe))};static \u0275prov=ce({token:i,factory:i.\u0275fac,providedIn:"root"})};
4var Bi=["scrollContainer"],Hi=()=>({standalone:!0}),Ni=(i,t)=>t.product.code,Fi=(i,t)=>t.label;function Gi(i,t){i&1&&(p(),n(0,"svg",2),c(1,"circle",7)(2,"line",8)(3,"rect",9)(4,"rect",10)(5,"rect",11)(6,"circle",12)(7,"circle",13)(8,"path",14),r())}function Vi(i,t){i&1&&(p(),n(0,"svg",3),c(1,"path",15),r())}function Ri(i,t){if(i&1&&(n(0,"div",4),o(1),r()),i&2){let e=d();a(),f(" ",e.unreadCount()," ")}}function ji(i,t){if(i&1){let e=k();n(0,"div",16),u("click",function(){y(e);let l=d();return b(l.toggleOpen())}),n(1,"div",17)(2,"button",18),u("click",function(l){y(e);let h=d();return b(h.dismissGreeting(l))}),p(),n(3,"svg",19),c(4,"path",20),r()(),v(),n(5,"span",21),o(6,"\u{1F44B}"),r(),o(7,"Need help finding the right platform? "),c(8,"div",22),r()()}}function zi(i,t){if(i&1){let e=k();n(0,"button",43),u("click",function(){y(e);let l=d(2);return b(l.backToProducts())}),p(),n(1,"svg",44),c(2,"path",45),r()()}}function $i(i,t){if(i&1){let e=k();n(0,"div",46)(1,"div",47),p(),n(2,"svg",48),c(3,"path",28)(4,"rect",29)(5,"path",30)(6,"path",31)(7,"path",32)(8,"path",33),r()(),v(),n(9,"p",49),o(10,"Welcome to MLGLOBTECH \u{1F44B}"),r(),n(11,"p",50),o(12," AI-powered, white-label software \u2014 ask us anything or explore what we build. "),r()(),n(13,"div",51)(14,"div",52),p(),n(15,"svg",53),c(16,"path",28)(17,"rect",29)(18,"path",30)(19,"path",31)(20,"path",32)(21,"path",33),r()(),v(),n(22,"div",54),o(23," Hi there! I can help you explore our products, answer quick questions, or connect you with our team. What would you like to do? "),r()(),n(24,"div",55)(25,"button",56),u("click",function(){y(e);let l=d(2);return b(l.browseProducts())}),n(26,"span",57),p(),n(27,"svg",53),c(28,"path",58)(29,"path",59)(30,"path",60)(31,"path",61),r()(),v(),n(32,"span",62)(33,"span",63),o(34,"Browse Our Products"),r(),n(35,"span",64),o(36,"Explore what we build"),r()()(),n(37,"a",65)(38,"span",66),p(),n(39,"svg",67),c(40,"path",68),r()(),v(),n(41,"span",62)(42,"span",63),o(43,"Chat on WhatsApp"),r(),n(44,"span",64),o(45,"Talk to our team directly"),r()()()()}}function Ui(i,t){if(i&1){let e=k();n(0,"button",72),u("click",function(){let l=y(e).$implicit,h=d(3);return b(h.selectProduct(l.product))}),n(1,"span",73),c(2,"app-product-icon",74),r(),n(3,"p",75),o(4),r(),p(),n(5,"svg",76),c(6,"path",77),r()()}if(i&2){let e=t.$implicit;a(),K("background",e.color),a(),m("icon",e.icon),a(2),C(e.product.shortName)}}function Wi(i,t){if(i&1&&(n(0,"p",69),o(1,"Which product can we help you with?"),r(),n(2,"div",70),L(3,Ui,7,4,"button",71,Ni),r()),i&2){let e=d(2);a(3),T(e.productMenu)}}function qi(i,t){if(i&1&&(n(0,"div",79),c(1,"div",81),O(2,"chatMarkdown"),r()),i&2){let e=t.$implicit;z("justify-end",e.role==="user"),a(),z("bg-primary",e.role==="user")("text-white",e.role==="user")("bg-gray-100",e.role==="assistant")("dark:bg-gray-800",e.role==="assistant")("text-gray-800",e.role==="assistant")("dark:text-gray-100",e.role==="assistant"),m("innerHTML",V(2,15,e.content),$e)}}function Yi(i,t){i&1&&(n(0,"div",79)(1,"div",82),c(2,"span")(3,"span")(4,"span"),r()())}function Qi(i,t){if(i&1){let e=k();n(0,"button",72),u("click",function(){let l=y(e).$implicit,h=d(4);return b(h.askPredefined(l.question))}),n(1,"span",85),o(2),r(),n(3,"span",75),o(4),r(),p(),n(5,"svg",76),c(6,"path",77),r()()}if(i&2){let e=t.$implicit,s=d(4);a(),K("background",s.selectedProductColor()+"1a")("color",s.selectedProductColor()),a(),f(" ",e.icon," "),a(2),C(e.label)}}function Ki(i,t){if(i&1&&(n(0,"div",83)(1,"p"),o(2,"Hi \u{1F44B} Welcome to "),n(3,"strong"),o(4),r(),o(5," Assistant"),r(),n(6,"p"),o(7),r()(),c(8,"hr",84),n(9,"div",70),L(10,Qi,7,6,"button",71,Fi),r()),i&2){let e=t,s=d(3);a(4),C(e.name),a(3),f("I can help you with features, pricing, white-label options, customization, and demo for our ",e.name," Platform."),a(3),T(s.commonQuestions)}}function Zi(i,t){i&1&&(n(0,"span",88),o(1,"Name is required"),r())}function Ji(i,t){i&1&&(n(0,"span",88),o(1,"Email is required"),r())}function Xi(i,t){i&1&&(n(0,"span",88),o(1,"Please enter a valid email address"),r())}function en(i,t){if(i&1){let e=k();n(0,"form",80)(1,"p",86),o(2," Share your name and email so our team can follow up. "),r(),c(3,"input",87),q(),g(4,Zi,2,0,"span",88),c(5,"input",89),q(),g(6,Ji,2,0,"span",88),g(7,Xi,2,0,"span",88),n(8,"button",90),u("click",function(){y(e);let l=d(3);return b(l.submitLead())}),o(9),r()()}if(i&2){let e=d(3);m("formGroup",e.leadForm),a(3),Y(),a(),x(e.leadForm.get("name")?.touched&&e.leadForm.get("name")?.hasError("required")?4:-1),a(),Y(),a(),x(e.leadForm.get("email")?.touched&&e.leadForm.get("email")?.hasError("required")?6:-1),a(),x(e.leadForm.get("email")?.touched&&e.leadForm.get("email")?.hasError("email")?7:-1),a(2),f(" ",e.isSubmittingLead()?"Sending\u2026":"Connect me with the team"," ")}}function tn(i,t){if(i&1&&(L(0,qi,3,17,"div",78,j),g(2,Yi,5,0,"div",79),g(3,Ki,12,2),g(4,en,10,5,"form",80)),i&2){let e,s=d(2);T(s.messages()),a(2),x(s.isSending()?2:-1),a(),x((e=s.messages().length===0&&s.selectedProduct())?3:-1,e),a(),x(s.awaitingContact()?4:-1)}}function nn(i,t){if(i&1){let e=k();n(0,"div",42)(1,"textarea",91),u("ngModelChange",function(l){y(e);let h=d(2);return b(h.userInput.set(l))})("keydown.enter",function(l){y(e);let h=d(2);return l.preventDefault(),b(h.send())}),r(),q(),n(2,"button",92),u("click",function(){y(e);let l=d(2);return b(l.send())}),o(3," Send "),r()()}if(i&2){let e=d(2);
4a(),m("ngModel",e.userInput())("ngModelOptions",w(4,Hi))("disabled",e.awaitingContact()||e.isSending()),Y(),a(),m("disabled",e.awaitingContact()||e.isSending()||!e.userInput().trim())}}function rn(i,t){if(i&1&&(n(0,"div",6)(1,"div",23),g(2,zi,3,0,"button",24),n(3,"div",25)(4,"div",26),p(),n(5,"svg",27),c(6,"path",28)(7,"rect",29)(8,"path",30)(9,"path",31)(10,"path",32)(11,"path",33),r()(),v(),c(12,"span",34),r(),n(13,"div",35)(14,"p",36),o(15),r(),n(16,"p",37)(17,"span",38),c(18,"span",39)(19,"span",40),r(),o(20," Online \u2022 Usually replies instantly "),r()()(),n(21,"div",41,0),g(23,$i,46,0),g(24,Wi,5,0),g(25,tn,5,3),r(),g(26,nn,4,5,"div",42),r()),i&2){let e=d();a(2),x(e.stage()==="chat"?2:-1),a(13),f(" ",e.stage()==="chat"&&e.selectedProduct()?e.selectedProduct().shortName:"How can we help?"," "),a(8),x(e.stage()==="welcome"?23:-1),a(),x(e.stage()==="products"?24:-1),a(),x(e.stage()==="chat"?25:-1),a(),x(e.stage()==="chat"?26:-1)}}var on=[{icon:"\u2B50",label:"Explore key features",question:"What are the key features of this product?"},{icon:"\u25B6\uFE0F",label:"View demo",question:"Can I see a demo of this product?"},{icon:"\u{1F4BB}",label:"White-label & source code",question:"Can I white-label this and get the full source code?"},{icon:"\u{1F3F7}\uFE0F",label:"Pricing",question:"What's the pricing for this product?"}],Vt=12,Rt=1440*60*1e3,jt="mlglobtech_chat_history",an=4e3,Pe=class i{constructor(t,e,s){this.chatService=t;this.fb=e;this.isBrowser=Z(s),this.leadForm=this.fb.group({name:["",ve.required],email:["",[ve.required,ve.email]]}),Je(()=>{this.messages(),this.isSending(),this.awaitingContact();let l=this.scrollContainer()?.nativeElement;l&&l.scrollTo({top:l.scrollHeight,behavior:"smooth"})})}chatService;fb;isOpen=_(!1);stage=_("products");productMenu=I.filter(t=>t.isWidgetChatEnabled).map(t=>H({product:t},de[t.code]??le));selectedProduct=_(void 0);selectedProductColor=ae(()=>(de[this.selectedProduct()?.code??""]??le).color);messages=_([]);commonQuestions=on;userInput=_("");isSending=_(!1);unreadCount=_(0);awaitingContact=_(!1);isSubmittingLead=_(!1);leadSubmitted=_(!1);showGreeting=_(!1);pendingQuestion="";conversationId="";leadForm;isBrowser;notificationAudio;scrollContainer=Ze("scrollContainer");ngOnInit(){this.isBrowser&&(setTimeout(()=>{this.playNotificationSound(),this.unreadCount.set(1)},500),setTimeout(()=>{this.isOpen()||this.showGreeting.set(!0)},an))}toggleOpen(){let t=!this.isOpen();this.isOpen.set(t),this.showGreeting.set(!1),t&&this.unreadCount()===1?(this.stage.set("welcome"),this.unreadCount.set(0)):t&&this.unreadCount.set(0)}dismissGreeting(t){t.stopPropagation(),this.showGreeting.set(!1)}close(){this.isOpen.set(!1)}selectProduct(t){this.selectedProduct.set(t),this.stage.set("chat"),this.awaitingContact.set(!1),this.leadSubmitted.set(!1),this.leadForm.reset();let e=this.loadHistory(t.code);this.messages.set(e.messages),this.conversationId=e.conversationId||this.createConversationId()}browseProducts(){this.stage.set("products")}backToProducts(){this.stage.set("products"),this.selectedProduct.set(void 0),this.messages.set([]),this.awaitingContact.set(!1)}askPredefined(t){this.userInput.set(t),this.send()}send(){let t=this.userInput().trim(),e=this.selectedProduct();if(!t||this.isSending()||!e)return;let s=this.messages().slice(-Vt).map(l=>({role:l.role,content:l.content}));this.messages.update(l=>[...l,{role:"user",content:t}]),this.saveHistory(e.code),this.userInput.set(""),this.isSending.set(!0),this.chatService.sendMessage(e.code,t,s,this.conversationId,this.buildClientContext()).subscribe({next:l=>{this.isSending.set(!1),this.messages.update(h=>[...h,{role:"assistant",content:l.reply}]),this.saveHistory(e.code),l.unresolved&&(this.awaitingContact.set(!0),this.pendingQuestion=t)},error:()=>{this.isSending.set(!1),this.messages.update(l=>[...l,{role:"assistant",content:"Sorry, something went wrong on our end. Please share your name and email and we'll follow up."}]),this.saveHistory(e.code),this.awaitingContact.set(!0),this.pendingQuestion=t}})}submitLead(){let t=this.selectedProduct();if(!this.leadForm.valid||!t||this.isSubmittingLead()){this.leadForm.markAllAsTouched();return}this.isSubmittingLead.set(!0);let e=this.messages().map(s=>`${s.role==="user"?"Visitor":"Assistant"}: ${s.content}`).join(` 5`);this.chatService.submitLead({name:this.leadForm.value.name,email:this.leadForm.value.email,product:t.code,question:this.pendingQuestion,conversation:e}).subscribe({next:()=>{this.isSubmittingLead.set(!1),this.awaitingContact.set(!1),this.leadSubmitted.set(!0),this.messages.update(s=>[...s,{role:"assistant",content:`Thanks! Our team will reach out to ${this.leadForm.value.email} shortly.`}]),this.saveHistory(t.code),this.leadForm.reset()},error:()=>{this.isSubmittingLead.set(!1)}})}playNotificationSound(){if(this.isBrowser)try{this.notificationAudio??=new Audio("/notification.mp3"),this.notificationAudio.currentTime=0,this.notificationAudio.play().catch(()=>{})}catch{}}loadHistory(t){let e={messages:[],conversationId:""};if(!this.isBrowser)return e;
5try{let l=this.readAll()[t];return!l||Date.now()-l.updatedAt>Rt?e:{messages:l.messages??[],conversationId:l.conversationId??""}}catch{return e}}saveHistory(t){if(this.isBrowser)try{let e=this.readAll();for(let s of Object.keys(e))Date.now()-e[s].updatedAt>Rt&&delete e[s];e[t]={messages:this.messages().slice(-Vt),updatedAt:Date.now(),conversationId:this.conversationId},localStorage.setItem(jt,JSON.stringify(e))}catch{}}readAll(){let t=localStorage.getItem(jt);return t?JSON.parse(t):{}}buildClientContext(){if(!this.isBrowser)return{};try{return{pageUrl:location.href,referrer:document.referrer||void 0,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,screenResolution:`${screen.width}x${screen.height}`,viewport:`${window.innerWidth}x${window.innerHeight}`,platform:navigator.userAgentData?.platform||navigator.platform}}catch{return{}}}createConversationId(){return this.isBrowser&&typeof crypto?.randomUUID=="function"?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{let e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}static \u0275fac=function(e){return new(e||i)(P(Te),P(St),P(W))};static \u0275cmp=S({type:i,selectors:[["app-chat-widget"]],viewQuery:function(e,s){e&1&&We(s.scrollContainer,Bi,5),e&2&&qe()},decls:6,vars:5,consts:[["scrollContainer",""],["type","button",1,"fixed","bottom-5","right-5","z-50","w-14","h-14","rounded-full","bg-primary","text-white","shadow-2xl","flex","items-center","justify-center","hover:bg-primary/90","transition","cursor-pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"w-8","h-8"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2",1,"w-6","h-6"],[1,"absolute","top-0","right-0","bg-red-500","text-white","text-xs","font-bold","rounded-full","w-5","h-5","flex","items-center","justify-center","-translate-y-1","translate-x-1"],[1,"fixed","bottom-24","right-5","z-50","max-w-[220px]","cursor-pointer","animate-bounce-in"],[1,"fixed","bottom-24","right-5","z-50","w-[22rem]","max-w-[calc(100vw-2.5rem)]","h-[34rem]","max-h-[75vh]","bg-white","dark:bg-gray-900","rounded-2xl","shadow-2xl","border","border-gray-200","dark:border-gray-700","flex","flex-col","overflow-hidden"],["cx","12","cy","2.5","r","1.2","fill","currentColor"],["x1","12","y1","3.7","x2","12","y2","5.5","stroke","currentColor","stroke-width","1.5","stroke-linecap","round"],["x","2","y","10","width","2.5","height","4.5","rx","1.25","fill","currentColor"],["x","19.5","y","10","width","2.5","height","4.5","rx","1.25","fill","currentColor"],["x","5","y","5.5","width","14","height","13","rx","6.5","fill","currentColor"],["cx","9.6","cy","12.3","r","1.35","fill","#18cb96"],["cx","14.4","cy","12.3","r","1.35","fill","#18cb96"],["d","M9.8 15.3c0.8 0.9 2.9 0.9 4.4 0","stroke","#18cb96","stroke-width","1.3","stroke-linecap","round","fill","none"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18 18 6M6 6l12 12"],[1,"fixed","bottom-24","right-5","z-50","max-w-[220px]","cursor-pointer","animate-bounce-in",3,"click"],[1,"relative","bg-white","rounded-2xl","shadow-2xl","border","border-gray-100","px-4","py-3","text-sm","font-medium","text-gray-800"],["type","button","aria-label","Dismiss",1,"absolute","-top-2","-right-2","w-5","h-5","rounded-full","bg-gray-200","hover:bg-gray-300","flex","items-center","justify-center","text-gray-500","cursor-pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","3","stroke-linecap","round",1,"w-2.5","h-2.5"],["d","M6 18 18 6M6 6l12 12"],[1,"mr-1"],[1,"absolute","-bottom-1.5","right-6","w-3","h-3","bg-white","border-r","border-b","border-gray-100","rotate-45"],[1,"bg-gradient-to-r","from-primary","to-cyan-500","text-white","px-4","py-3","flex","items-center","gap-3"],["type","button","aria-label","Back to products",1,"w-7","h-7","rounded-full","flex","items-center","justify-center","flex-shrink-0","hover:bg-white/15","transition","cursor-pointer"],[1,"relative","flex-shrink-0"],[1,"w-10","h-10","rounded-full","bg-white","flex","items-center","justify-center","shadow-sm"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"w-6","h-6","text-primary"],["d","M12 8V4H8"],["width","16","height","12","x","4","y","8","rx","2"],["d","M2 14h2"],["d","M20 14h2"],["d","M15 13v2"],["d","M9 13v2"],[1,"absolute","-bottom-0.5","-right-0.5","w-3","h-3","rounded-full","bg-green-400","border-2","border-white"],[1,"flex-1","min-w-0"],[1,"text-sm","font-semibold","truncate"],[1,"text-xs","text-white/85","flex","items-center","gap-1.5"],[1,"relative","flex","h-1.5","w-1.5","flex-shrink-0"],[1,"animate-ping","absolute","
5inline-flex","h-full","w-full","rounded-full","bg-green-300","opacity-75"],[1,"relative","inline-flex","h-1.5","w-1.5","rounded-full","bg-green-300"],[1,"flex-1","overflow-y-auto","p-3","space-y-3"],[1,"border-t","border-gray-200","dark:border-gray-700","p-2","flex","items-end","gap-2"],["type","button","aria-label","Back to products",1,"w-7","h-7","rounded-full","flex","items-center","justify-center","flex-shrink-0","hover:bg-white/15","transition","cursor-pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2",1,"w-5","h-5"],["stroke-linecap","round","stroke-linejoin","round","d","M15 18l-6-6 6-6"],[1,"flex","flex-col","items-center","text-center","pt-2","pb-1"],[1,"w-14","h-14","rounded-full","bg-gradient-to-br","from-primary","to-cyan-400","text-white","flex","items-center","justify-center","shadow-lg","mb-3"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"w-7","h-7"],[1,"text-base","font-semibold","text-gray-900","dark:text-white"],[1,"text-xs","text-gray-500","dark:text-gray-400","mt-1","max-w-[230px]"],[1,"flex","items-start","gap-2"],[1,"w-7","h-7","rounded-full","bg-primary/10","text-primary","flex","items-center","justify-center","flex-shrink-0","mt-0.5"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"w-4","h-4"],[1,"rounded-2xl","rounded-tl-sm","px-3","py-2","text-sm","bg-gray-100","dark:bg-gray-800","text-gray-800","dark:text-gray-100","max-w-[85%]"],[1,"flex","flex-col","gap-2","pl-9"],["type","button",1,"flex","items-center","gap-2.5","w-full","text-left","border","border-gray-200","dark:border-gray-700","rounded-xl","px-3","py-2.5","hover:border-primary","hover:bg-gray-50","dark:hover:bg-gray-800","transition","cursor-pointer",3,"click"],[1,"w-8","h-8","rounded-lg","bg-primary/10","text-primary","flex","items-center","justify-center","flex-shrink-0"],["d","m7.5 4.27 9 5.15"],["d","M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z"],["d","M3.29 7 12 12l8.71-5"],["d","M12 22V12"],[1,"min-w-0"],[1,"block","text-sm","font-medium","text-gray-800","dark:text-gray-100"],[1,"block","text-xs","text-gray-500","dark:text-gray-400"],["href","https://wa.me/919106923203?text=Hello%20I%20would%20like%20to%20know%20more%20about%20your%20product","target","_blank","rel","noopener noreferrer",1,"flex","items-center","gap-2.5","w-full","text-left","border","border-gray-200","dark:border-gray-700","rounded-xl","px-3","py-2.5","hover:border-primary","hover:bg-gray-50","dark:hover:bg-gray-800","transition","cursor-pointer"],[1,"w-8","h-8","rounded-lg","bg-green-500/10","text-green-600","flex","items-center","justify-center","flex-shrink-0"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16"],["d","M13.601 2.326A7.85 7.85 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.9 7.9 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.9 7.9 0 0 0 13.6 2.326zM7.994 14.521a6.6 6.6 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.56 6.56 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73 0 0 0-.529.247c-.182.198-.691.677-.691 1.654s.71 1.916.81 2.049c.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232"],[1,"text-sm","text-gray-600","dark:text-gray-300","mb-3"],[1,"flex","flex-col","gap-2"],["type","button",1,"flex","items-center","gap-3","w-full","text-left","border","border-gray-200","dark:border-gray-700","rounded-xl","px-3","py-2.5","hover:border-primary","hover:bg-gray-50","dark:hover:bg-gray-800","transition","cursor-pointer"],["type","button",1,"flex","items-center","gap-3","w-full","text-left","border","border-gray-200","dark:border-gray-700","rounded-xl","px-3","py-2.5","hover:border-primary","hover:bg-gray-50","dark:hover:bg-gray-800","transition","cursor-pointer",3,"click"],[1,"flex-shrink-0","w-9","h-9","rounded-lg","text-white","flex","items-center","justify-center"],[3,"icon"],[1,"text-sm","font-medium","text-gray-800","dark:text-gray-100"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.5","
5stroke-linecap","round","stroke-linejoin","round",1,"w-4","h-4","ml-auto","flex-shrink-0","text-gray-400"],["d","m9 18 6-6-6-6"],[1,"flex",3,"justify-end"],[1,"flex"],[1,"border","border-gray-200","dark:border-gray-700","rounded-xl","p-3","space-y-2","bg-gray-50","dark:bg-gray-800",3,"formGroup"],[1,"rounded-2xl","px-3","py-2","text-sm","max-w-[80%]","chat-message-content",3,"innerHTML"],[1,"rounded-2xl","px-3","py-2.5","bg-gray-100","dark:bg-gray-800","typing-indicator"],[1,"rounded-2xl","px-3","py-2.5","text-sm","bg-gray-100","dark:bg-gray-800","text-gray-800","dark:text-gray-100","space-y-2"],[1,"border-gray-200","dark:border-gray-700"],[1,"w-9","h-9","rounded-lg","flex","items-center","justify-center","text-base","flex-shrink-0"],[1,"text-xs","text-gray-600","dark:text-gray-300"],["type","text","formControlName","name","placeholder","Your name",1,"w-full","border","border-gray-300","dark:border-gray-600","rounded-lg","px-3","py-2","text-sm","bg-white","dark:bg-gray-900","text-gray-800","dark:text-gray-100","placeholder-gray-400","focus:outline-none","focus:ring-2","focus:ring-blue-500"],[1,"block","text-[.7rem]","text-[#dc3545]"],["type","email","formControlName","email","placeholder","[email protected]",1,"w-full","border","border-gray-300","dark:border-gray-600","rounded-lg","px-3","py-2","text-sm","bg-white","dark:bg-gray-900","text-gray-800","dark:text-gray-100","placeholder-gray-400","focus:outline-none","focus:ring-2","focus:ring-blue-500"],["type","button",1,"w-full","bg-primary","text-white","text-sm","rounded-lg","py-2","hover:bg-primary/80","transition","cursor-pointer","disabled:cursor-not-allowed",3,"click"],["rows","1","placeholder","Type here for more information...",1,"flex-1","resize-none","border","border-gray-300","dark:border-gray-600","rounded-lg","px-3","py-2","text-sm","bg-white","dark:bg-gray-900","text-gray-800","dark:text-gray-100","placeholder-gray-400","focus:outline-none","focus:ring-2","focus:ring-blue-500","disabled:opacity-50",3,"ngModelChange","keydown.enter","ngModel","ngModelOptions","disabled"],["type","button",1,"bg-primary","text-white","rounded-lg","px-3","py-2","text-sm","hover:bg-primary/80","transition","disabled:opacity-50","cursor-pointer","disabled:cursor-not-allowed",3,"click","disabled"]],template:function(e,s){e&1&&(n(0,"button",1),u("click",function(){return s.toggleOpen()}),g(1,Gi,9,0,":svg:svg",2)(2,Vi,2,0,":svg:svg",3),g(3,Ri,2,1,"div",4),r(),g(4,ji,9,0,"div",5),g(5,rn,27,6,"div",6)),e&2&&(E("aria-label",s.isOpen()?"Close chat":"Open chat"),a(),x(s.isOpen()?2:1),a(2),x(s.unreadCount()>0&&!s.isOpen()?3:-1),a(),x(s.showGreeting()&&!s.isOpen()?4:-1),a(),x(s.isOpen()?5:-1))},dependencies:[we,Ce,bt,vt,_e,wt,Ct,kt,_t,ee,Le],styles:["textarea[_ngcontent-%COMP%]{field-sizing:content;max-height:6rem}.chat-message-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:disc;padding-left:1.1rem;margin:.25rem 0}.chat-message-content[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:.15rem 0}.chat-message-content[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{background:#00000014;border-radius:.25rem;padding:.05rem .3rem;font-size:.85em}.chat-message-content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.typing-indicator[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:.4rem;height:.4rem;border-radius:9999px;background:currentColor;color:#9ca3af;opacity:.4;animation:_ngcontent-%COMP%_typing-bounce 1.1s ease-in-out infinite}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(2){animation-delay:.15s}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(3){animation-delay:.3s}.dark[_nghost-%COMP%] .typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .dark [_nghost-%COMP%] .typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#6b7280}@keyframes _ngcontent-%COMP%_typing-bounce{0%,60%,to{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-.15rem)}}@media(prefers-reduced-motion:reduce){.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{animation:none;opacity:.7}}.animate-bounce-in[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_bounce-in .4s cubic-bezier(.34,1.56,.64,1)}@keyframes _ngcontent-%COMP%_bounce-in{0%{opacity:0;transform:translateY(12px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}@media(prefers-reduced-motion:reduce){.animate-bounce-in[_ngcontent-%COMP%]{animation:none}}"]})};function sn(i,t){i&1&&(n(0,"div",0),c(1,"div",1),r())}var Oe=class i{constructor(t,e,s){this.router=t;this.loadingService=e;this.consentService=s;let l=M(je);this.updateCanonicalUrl(l,this.router.url),this.loadingService.loading$.subscribe(h=>{this.loading=h}),this.router.events.subscribe(h=>{h instanceof ct&&this.loadingService.setLoading(!0),(h instanceof pt||h instanceof ut)&&this.loadingService.setLoading(!1),h instanceof mt&&(this.loadingService.setLoading(!1),this.updateCanonicalUrl(l,h.urlAfterRedirects||h.url))})}router;loadingService;consentService;loading=!1;updateCanonicalUrl(t,e){let s=($.appUrl||"").replace(/\/+$/,""),l=(e||"/").split("?")[0].split("#")[0],h=l.startsWith("/")?l:`/${l}`,ie=s?h==="/"?`${s}/`:`${s}${h}`:h,ne=t.querySelector('link[rel="canonical"]');ne||(ne=t.createElement("link"),ne.setAttribute("rel","canonical"),t.head.appendChild(ne)),ne.setAttribute("href",ie)}ngAfterViewInit(){}static \u0275fac=function(e){return new(e||i)(P(J),P(Ot),P(te))};static \u0275cmp=S({type:i,selectors:[["app-root"]],decls:6,vars:1,consts:[[1,"loading-overlay"],[1,"spinner"]],template:function(e,s){e&1&&(c(0,"app-header"),g(1,sn,2,0,"div",0),c(2,"router-outlet")(3,"app-footer")(4,"app-cookie-consent")(5,"app-ch
5at-widget")),e&2&&(a(),x(s.loading?1:-1))},dependencies:[gt,ke,Me,Ee,Pe],styles:[".loading-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background:#fff3;display:flex;align-items:center;justify-content:center;z-index:9999;pointer-events:none}.spinner[_ngcontent-%COMP%]{border:5px solid rgba(0,0,0,.1);border-top:5px solid #18cb96;border-radius:50%;width:40px;height:40px;animation:_ngcontent-%COMP%_spin 1s linear infinite}@keyframes _ngcontent-%COMP%_spin{to{transform:rotate(360deg)}}"]})};nt(Oe,Nt).catch(i=>console.error(i));
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.