1import{a as R,b as L}from"./chunk-XQHGZIOL.js";import{a as E}from"./chunk-YDY5HWDF.js";import{$a as a,Ab as f,Ba as v,Bb as U,Cb as z,Ga as w,Pa as h,Qa as b,Tc as I,Wa as k,Ya as T,Za as y,_a as M,ab as l,bb as m,ca as r,d as C,da as c,fb as x,mb as d,nb as p,qb as V,ra as u,va as s,vb as O,wb as P,xb as S,za as g}from"./chunk-OH3SH2B4.js";var Q=["contactSuccessModal"];function D(n,_){if(n&1){let e=x();a(0,"slide")(1,"div",8)(2,"div",9)(3,"div",10),d("click",function(){let i=r(e).$implicit,o=p();return c(o.openTestimonialVideo(i))}),l(),a(4,"img",11),d("click",function(){let i=r(e).$implicit,o=p();return c(o.openTestimonialVideo(i))}),l()(),a(5,"div",12),f(6),a(7,"div",13),f(8),l()(),m(9,"div",14),l()()}if(n&2){let e=_.$implicit;s(3),b("background-image","url("+e.imageURL+")"),s(),V("src",e.imageURL,u),s(2),z(" ",e.quote," "),s(2),U(e.author)}}function $(n,_){if(n&1&&m(0,"video",7),n&2){let e=p();h("src",e.testimonialVideoURL,u)}}var H=(()=>{class n{constructor(e,t){this.dataService=e,this.utils=t,this.testimonialVideoURL="",this.testimonials=[],this.playTestimonialVideo=!1,this.interval=0}ngOnInit(){this.loadTestimonials()}openTestimonialVideo(e){let t=e.videoURL;t&&(this.testimonialVideoURL=t,this.playTestimonialVideo=!0,this.utils.showModal(this.contactSuccessModal))}hideVideoModal(){this.playTestimonialVideo=!1,this.utils.hideModal(this.contactSuccessModal)}closeOnBackdrop(e){this.playTestimonialVideo=!1,this.utils.closeOnBackdrop(e)}loadTestimonials(){return C(this,null,function*(){this.testimonials=(yield this.dataService.getTestimonials().toPromise()).testimonials||[]})}static{this.\u0275fac=function(t){return new(t||n)(g(I),g(E))}}static{this.\u0275cmp=v({type:n,selectors:[["app-testimonials-carousel"]],viewQuery:function(t,i){if(t&1&&O(Q,5),t&2){let o;P(o=S())&&(i.contactSuccessModal=o.first)}},decls:11,vars:2,consts:[["contactSuccessModal",""],["closeBtn",""],[1,"testimonials-carousel"],[3,"interval"],["aria-label","Testimonial Video",3,"click"],["type","button","aria-label","Close",1,"icon-button",3,"click"],["aria-hidden","true",1,"fa","fa-xmark"],["controls","","autoplay","",3,"src"],[1,"testimonial-box"],[1,"testimonial-image"],["alt","Testimonial Image",1,"image",3,"click"],["alt","Testimonial Image",1,"mobile-image",3,"click","src"],[1,"testimonial-ias"],[1,"author-ias"],[1,"clearfix"]],template:function(t,i){if(t&1){let o=x();a(0,"div",2)(1,"carousel",3),y(2,D,10,5,"slide",null,T),l()(),a(4,"dialog",4,0),d("click",function(F){return r(o),c(i.closeOnBackdrop(F))}),a(6,"button",5,1),d("click",function(){return r(o),c(i.hideVideoModal())}),m(8,"i",6),l(),a(9,"div"),w(10,$,1,1,"video",7),l()()}t&2&&(s(),h("interval",i.interval),s(),M(i.testimonials),s(8),k(i.playTestimonialVideo?10:-1))},dependencies:[R,L],styles:['.carousel-control{width:20px} .carousel-control.left{background-image:none;text-align:left;padding-left:50px} .carousel-control.right{background-image:none;text-align:right;padding-right:50px} .carousel-control .icon-next, .carousel-control .icon-prev{width:40px;height:40px;color:#fffc;font: 2em/1 FontAwesome;text-shadow:none;background:#444;border-radius:50%} .carousel-control .icon-next{padding:4px 12px 6px} .carousel-control .icon-prev{padding:4px 14px 6px 10px} .carousel-control .icon-next:before{content:"\\f105";font:var(--fa-font-solid);font-size:26px;padding:1px} .carousel-control .icon-prev:before{content:"\\f104";font:var(--fa-font-solid);font-size:26px;padding:1px} .mas .carousel-indicators{position:absolute;bottom:-40px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none} .mas .carousel-indicators li{display:inline-block;width:8px;height:8px;margin:3px;text-indent:-999px;cursor:pointer;background-color:#666;border-radius:4px;border:none} .mas .carousel-indicators .active{width:8px;height:8px;margin:3px;background-color:#1a86be;border:none} .ias .carousel-indicators{position:absolute;bottom:-40px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none} .ias .carousel-indicators li{display:inline-block;width:8px;height:8px;margin:3px;text-indent:-999px;cursor:pointer;background-color:#666;border-radius:4px;border:none} .ias .carousel-indicators .active{width:8px;height:8px;margin:3px;background-color:#00a29a;border:none}.testimonial-box[_ngcontent-%COMP%]{width:100%;text-align:left;border:1px solid #dee6ea;border-radius:12px;overflow:hidden;background:#fff url(https://mascdn.militaryautosource.com/ias/bkg-testimonial.png) no-repeat right bottom}.testimonial-image[_ngcontent-%COMP%]{cursor:pointer;position:relative;float:left;width:50%;overflow:hidden;min-height:400px}.testimonial-image[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{width:100%;background-position:center}.testimonial-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;
1left:50%;top:50%;height:100%;width:auto;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.testimonial-ias[_ngcontent-%COMP%]{float:right;width:50%;padding:60px;font-size:15px;line-height:26px}.author-ias[_ngcontent-%COMP%]{margin-top:10px;font-weight:700}dialog[_ngcontent-%COMP%]{width:90%;max-width:1000px}@media(max-width:1100px){.testimonial-ias[_ngcontent-%COMP%]{padding:50px;font-size:15px}}@media(max-width:800px){.testimonial-ias[_ngcontent-%COMP%]{width:100%}.testimonial-image[_ngcontent-%COMP%]{width:100%;overflow:unset;float:left;height:auto;position:unset;min-height:unset}.testimonial-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:unset;left:unset;top:unset;display:inline-block;width:100%;height:auto;-webkit-transform:none;-ms-transform:none;transform:none}}@media(max-width:767px){.testimonial[_ngcontent-%COMP%]{height:auto;margin:50px 70px 10px;font-size:16px;line-height:24px}}']})}}return n})();export{H as a}; 2/**i18n:dbca11184ae6a9dce05d5bfaac45c39c7ab788316615559f6b5f60021a899399*/
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.