1import{a as Ci}from"./chunk-TRVLLSXI.js";import{a as xt,b as Be}from"./chunk-YVRKNHX4.js";import{a as xi}from"./chunk-SRMHQJWQ.js";import{d as bi,e as _i}from"./chunk-LSNBVGQM.js";import{a as $e}from"./chunk-OVRI32JP.js";import{a as vi}from"./chunk-UCKEDBXN.js";import{c as li,h as ci,m as di,y as pi}from"./chunk-JIQ6IQ2P.js";import{b as fi,c as F}from"./chunk-PMG3YX2M.js";import{a as He,c as hi}from"./chunk-EULE2W4D.js";import{a as V,b as te,c as ie,d as mi,e as Q}from"./chunk-IORUCHGD.js";import{b as gi}from"./chunk-OV5NHWTQ.js";import{$b as ei,A as Pe,Ab as $,C as Et,Ca as Te,Cb as y,D as Y,Db as m,Dc as ce,E as ue,Eb as Gt,Ec as B,Fb as Qt,Fc as q,H as Lt,Ia as U,J as zt,Ja as G,Jb as Kt,Jc as Ee,K as dt,Kb as xe,Kc as ai,Lb as ae,M as At,Ma as $t,Mb as oe,Mc as oi,Na as Bt,Oa as c,P as De,Pa as jt,Pc as Le,Qc as ze,Ra as Nt,Rb as h,Sa as x,Sb as T,T as pt,Tb as I,V as ge,Vb as Xt,Vc as Ae,W as Ft,Wb as Zt,Xb as Jt,Y as S,Ya as _,Yc as Fe,Za as qt,_a as Vt,a as E,aa as A,ad as Re,b as se,ba as Rt,bc as ti,ca as ut,cb as b,cc as W,da as k,dc as le,ea as gt,fc as ii,fd as ui,g as Me,gb as Ut,gc as vt,hb as Wt,hd as me,ib as ft,ic as v,id as fe,ja as ke,jb as p,jc as C,k as z,ka as P,kb as Ie,kc as ni,l as Tt,la as D,lb as M,ma as H,na as Z,oc as si,pb as he,pc as ri,q as It,qb as re,r as ve,rb as Yt,sa as J,sb as j,ta as ht,tb as N,u as Oe,ua as Ht,ub as l,vb as d,wb as g,xa as mt,xb as bt,yb as _t,za as ee}from"./chunk-67CZIWZB.js";var je=class i{constructor(n,e){this.http=n;this.apiUrl=e.apiEndpointBackend}http;apiUrl;sendTextMessage(n){return console.log("REQUEST JSON => ",JSON.stringify(n,null,2)),this.http.post(`${this.apiUrl}/api/chat/message`,n,{headers:new Ae({"Content-Type":"application/json"})})}sendAudioMessage(n,e){let t=new FormData;return t.append("body",new Blob([JSON.stringify({message:n.message??"",id:n.id??"",crypted:n.crypted??"",enableHtml:n.enableHtml??!0,web:n.web??!0,chat_history:n.chat_history??[],extracted_informations:n.extracted_informations??{}})],{type:"application/json"})),t.append("file",e,"audio.wav"),this.http.post(`${this.apiUrl}/api/chat/message`,t)}static \u0275fac=function(e){return new(e||i)(k(Fe),k($e))};static \u0275prov=A({token:i,factory:i.\u0275fac,providedIn:"root"})};var Fi=["messagesContainer"],Ri=["textInput"];function Hi(i,n){i&1&&(l(0,"div",41)(1,"div",42),g(2,"span",43)(3,"span",43)(4,"span",43),d()())}function $i(i,n){i&1&&(l(0,"span",44),h(1,"1"),d())}function Bi(i,n){i&1&&(l(0,"div",53)(1,"div",54),g(2,"img",55),d()())}function ji(i,n){if(i&1&&(l(0,"div",56)(1,"div",57),H(),l(2,"svg",58),g(3,"path",59),d(),Z(),g(4,"audio",60),d()()),i&2){let e=m().$implicit,t=m();c(4),p("src",t.getAudioUrl(e.audioBlob))}}function Ni(i,n){if(i&1){let e=$();l(0,"div",61),y("click",function(s){P(e);let r=m(2);return D(r.handleMessageClick(s))}),g(1,"div",62),d()}if(i&2){let e=m().$implicit,t=m();M("bubble",e.role==="user"),c(),p("innerHTML",t.getSafeHtml(e.content),U)}}function qi(i,n){i&1&&(l(0,"div",66)(1,"div",67),g(2,"img",68),d()())}function Vi(i,n){i&1&&(l(0,"span",69),H(),l(1,"svg",70),g(2,"polyline",71),d()())}function Ui(i,n){if(i&1&&(l(0,"div",63),b(1,qi,3,0,"div",64)(2,Vi,3,0,"span",65),d()),i&2){let e=m().last,t=m();c(),p("ngIf",e&&t.isLoading()),c(),p("ngIf",e&&t.isLoading())}}function Wi(i,n){if(i&1&&(l(0,"div",45),b(1,Bi,3,0,"div",46),l(2,"div",47),b(3,ji,5,1,"div",48)(4,Ni,2,3,"div",49),l(5,"div",50)(6,"span",51),h(7),v(8,"date"),d(),b(9,Ui,3,2,"div",52),d()()()),i&2){let e=n.$implicit;M("user-row",e.role==="user")("assistant-row",e.role==="assistant"),c(),p("ngIf",e.role==="assistant"),c(2),p("ngIf",e.isAudio&&e.audioBlob),c(),p("ngIf",!e.isAudio),c(3),I(" ",ni(8,9,e.timestamp,"HH:mm")," "),c(2),p("ngIf",e.role==="user")}}function Yi(i,n){i&1&&(l(0,"div",72)(1,"div",73)(2,"div",53)(3,"div",54),g(4,"img",55),d()(),l(5,"div",47)(6,"div",42),g(7,"span",43)(8,"span",43)(9,"span",43),d()()()())}function Gi(i,n){if(i&1&&(l(0,"div",74),g(1,"span",75),l(2,"span",76),h(3,"Enregistrement..."),d(),l(4,"span",77),h(5),d()()),i&2){let e=m();c(5),T(e.formatDuration(e.recordingDuration()))}}function Qi(i,n){i&1&&(H(),l(0,"svg",78),g(1,"path",59),d())}function Ki(i,n){i&1&&(H(),l(0,"svg",78),g(1,"rect",79),d())}var Ne=class i{constructor(n,e){this.chatService=n;this.sanitizer=e}chatService;sanitizer;messagesContainer;textInput;isOpen=ee(!1);isLoading=ee(!1);isRecording=ee(!1);inputText=ee("");user_message;messages=ee([]);recordingDuration=ee(0);hasUnread=ee(!1);sessionId=crypto.randomUUID();chatHistory=[];extractedInformations={intents:[],type_voyage:"",destination:"",date_debut:"",duree_jours:"",nbr_adults:"",nbr_enfants:"",user:{nom:"",prenom:"",dateNaissance:"",num_passport:"",lieu_deliverance_id:"",date_passport:""}};mediaRecorder=null;audioChunks=[];recordingTimer;shouldScroll=!1;ngOnInit(){this.sendTextMessage()}ngOnDestroy(){this.stopRecording(),this.recordingTimer&&clearInterval(this.recordingTimer)}ngAfterViewChecked(){this.shouldScroll&&(this.scrollToBottom(),this.shouldScroll=!1)}toggleChat(){this.isOpen.update(n=>!n),this.isOpen()&&(this.hasUnread.set(!1),setTimeout(()=>{this.textInput?.nativeElement?.focus()},100))}normalizeMessage(n){return typeof n=="string"?n:Array.isArray(n)?n.join(` 2 3`):n&&typeof n=="object"?n.message||n.text||JSON.stringify(n):""}handleMessageClick(n){console.log("je suoshandleMessageClick "),n.preventDefault(),n.stopPropagation();let t=n.target.closest(".chip-action");if(t){let s=t.getAttribute("data-msg");s&&(this.inputText.set(s),this.sendTextMessage())}}sendTextMessage(){let n=this.inputText().trim(),e=this.chatHistory.length===0;if(!n&&!e||this.isLoading())return;e||(this.addUserMessage(n),this.inputText.set("")),this.isLoading.set(!0);let t=Date.now().toString(),s={message:n,id:this.sessionId,enableHtml:!0,web:!0,crypted:xt.encryptText(t),chat_history:[...this.chatHistory],extracted_informations:this.extractedInformations};console.log("REQUEST JSON => ",JSON.stringify(s,null,2)),this.chatService.sendTextMessage(s).subscribe({next:r=>{let a=r?.data||r;
3this.handleResponse(a)},error:r=>{console.error(r),this.addAssistantMessage("Une erreur est survenue."),this.isLoading.set(!1)}})}startRecording(){return Me(this,null,function*(){if(!this.isRecording())try{let n=yield navigator.mediaDevices.getUserMedia({audio:!0});this.audioChunks=[];let e=MediaRecorder.isTypeSupported("audio/webm")?"audio/webm":"audio/ogg";this.mediaRecorder=new MediaRecorder(n,{mimeType:e}),this.mediaRecorder.ondataavailable=t=>{t.data.size>0&&this.audioChunks.push(t.data)},this.mediaRecorder.onstop=()=>Me(this,null,function*(){let t=new Blob(this.audioChunks,{type:e}),s=yield this.convertToWav(t);this.sendAudioMessage(s),n.getTracks().forEach(r=>r.stop())}),this.mediaRecorder.start(250),this.isRecording.set(!0),this.recordingDuration.set(0),this.recordingTimer=setInterval(()=>{this.recordingDuration.update(t=>t+1),this.recordingDuration()>=60&&this.stopRecording()},1e3)}catch(n){console.error(n),alert("Microphone non accessible.")}})}convertToWav(n){return Me(this,null,function*(){let e=yield n.arrayBuffer(),t=new AudioContext,s=yield t.decodeAudioData(e);yield t.close();let r=this.audioBufferToWav(s);return new Blob([r],{type:"audio/wav"})})}audioBufferToWav(n){let e=n.numberOfChannels,t=n.sampleRate,s=1,r=16,a=n.length*e*(r/8),o=new ArrayBuffer(44+a),u=new DataView(o);this.writeString(u,0,"RIFF"),u.setUint32(4,36+a,!0),this.writeString(u,8,"WAVE"),this.writeString(u,12,"fmt "),u.setUint32(16,16,!0),u.setUint16(20,s,!0),u.setUint16(22,e,!0),u.setUint32(24,t,!0),u.setUint32(28,t*e*(r/8),!0),u.setUint16(32,e*(r/8),!0),u.setUint16(34,r,!0),this.writeString(u,36,"data"),u.setUint32(40,a,!0);let f=44;for(let w=0;w<n.length;w++)for(let O=0;O<e;O++){let pe=n.getChannelData(O)[w],_e=Math.max(-1,Math.min(1,pe));u.setInt16(f,_e<0?_e*32768:_e*32767,!0),f+=2}return o}writeString(n,e,t){for(let s=0;s<t.length;s++)n.setUint8(e+s,t.charCodeAt(s))}stopRecording(){this.isRecording()&&(this.mediaRecorder?.stop(),this.isRecording.set(!1),this.recordingTimer&&(clearInterval(this.recordingTimer),this.recordingTimer=null))}toggleRecording(){this.isRecording()?this.stopRecording():this.startRecording()}sendAudioMessage(n){this.addUserMessage(this.user_message,!0,n),this.isLoading.set(!0);let e=Date.now().toString(),t={message:"",id:this.sessionId,crypted:xt.encryptText(e),enableHtml:!0,web:!0,chat_history:[...this.chatHistory],extracted_informations:this.extractedInformations};console.log("AUDIO REQUEST => ",JSON.stringify(t,null,2)),this.chatService.sendAudioMessage(t,n).subscribe({next:s=>{let r=s?.data||s;this.handleResponse(r)},error:s=>{console.error(s),this.addAssistantMessage("Erreur lors du traitement audio."),this.isLoading.set(!1)}})}handleResponse(n){let e=n?.message||n?.response||"R\xE9ponse re\xE7ue";this.addAssistantMessage(e),n?.chat_history&&(this.chatHistory=(n.chat_history||[]).map(t=>({time:t.time,isSender:t.isSender,message:this.normalizeMessage(n.user_message)}))),n?.extracted_informations&&(this.extractedInformations=E(E({},this.extractedInformations),n.extracted_informations)),n?.user_message&&(this.user_message=n.user_message),console.log("UPDATED EXTRACTED => ",JSON.stringify(this.extractedInformations,null,2)),this.isLoading.set(!1),this.isOpen()||this.hasUnread.set(!0)}addUserMessage(n,e=!1,t){this.messages.update(s=>[...s,{role:"user",content:n,timestamp:new Date,isAudio:e,audioBlob:t}]),this.shouldScroll=!0,this.chatHistory.push({time:Date.now(),message:this.normalizeMessage(n),isSender:!0})}addAssistantMessage(n){this.messages.update(e=>[...e,{role:"assistant",content:n,timestamp:new Date}]),this.shouldScroll=!0,this.chatHistory.push({time:Date.now(),message:this.normalizeMessage(n),isSender:!1})}onTextareaInput(n){let e=n.target;e.style.height="auto",e.style.height=`${e.scrollHeight}px`}onKeyDown(n){n.key==="Enter"&&!n.shiftKey&&(n.preventDefault(),this.sendTextMessage())}scrollToBottom(){try{let n=this.messagesContainer.nativeElement;n.scrollTop=n.scrollHeight}catch(n){console.error(n)}}getAudioUrl(n){return URL.createObjectURL(n)}formatDuration(n){let e=Math.floor(n/60).toString().padStart(2,"0"),t=(n%60).toString().padStart(2,"0");return`${e}:${t}`}getSafeHtml(n){return n?this.sanitizer.bypassSecurityTrustHtml(n):""}clearChat(){this.messages.set([]),this.chatHistory=[],this.sessionId=crypto.randomUUID(),this.extractedInformations={intents:[],type_voyage:"",destination:"",date_debut:"",duree_jours:"",nbr_adults:"",nbr_enfants:"",user:{nom:"",prenom:"",dateNaissance:"",num_passport:"",lieu_deliverance_id:"",date_passport:""}},this.addAssistantMessage("Conversation r\xE9initialis\xE9e.")}static \u0275fac=function(e){return new(e||i)(x(je),x(Re))};static \u0275cmp=_({type:i,selectors:[["app-chatbot"]],viewQuery:function(e,t){if(e&1&&(xe(Fi,5),xe(Ri,5)),e&2){let s;ae(s=oe())&&(t.messagesContainer=s.first),ae(s=oe())&&(t.textInput=s.first)}},decls:46,vars:22,consts:[["messagesContainer",""],["textInput",""],[1,"chatbot-wrapper"],["aria-label","Ouvrir le chat",1,"chatbot-fab",3,"click"],["class","fab-typing-container",4,"ngIf"],[1,"fab-icon","fab-chat"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2"],["d","M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"],[1,"fab-icon","fab-close"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.5"],["x1","18","y1","6","x2","6","y2","18"],["x1","6","y1","6","x2","18","y2","18"],["class","unread-badge",4,"ngIf"],[1,"chat-panel"],[1,"chat-header"],[1,"header-left"],[1,"avatar-ring"],["src","assets/logo.svg","width","25px"],[1,"header-info"],[1,"agent-name"],[1,"agent-status"],[1,"status-dot"],["title","Nouvelle conversation",1,"clear-btn",3,"click"],["points","1 4 1 10 7 10"],["d","M3.51 15a9 9 0 1 0 .49-5"],[1,"messages-area"],[1,"messages-inner"],["class","message-row",3,"user-row","assistant-row",4,"ngFor","ngForOf"],["class","typing-row-container",4,"ngIf"],[1,"input-area"],["class","recording-bar",4,"ngIf"],[1,"input-row"],["placeholder","\xC9crivez votre message...","rows","1",1,"text-input",3,"ngModelChange","keydown","input","ngModel","disabled"],[1,"action-buttons"],[1,"action-btn","mic-btn",3,"click","disabled","title"],["viewBox","0 0 24 24","fill","currentColor",4,"ngIf"],["title","Envoyer",1,"action-btn","send-btn",3,"click","disabled"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.2"],["x1","22","y1","2","x2","11","y2","13"],["points","22 2 15 22 11 13 2 9 22 2"],[1,"footer-note"],[1,"fab-typing-container"],[1,"bubble","typing-bubble"],[1,"dot"],[1,"unread-badge"],[1,"message-row"],["class","avatar-sm",4,"ngIf"],[1,"bubble-wrap"],["class","bubble",4,"ngIf"],[3,"bubble","click",4,"ngIf"],[1,"message-meta"],[1,"timestamp"],["class","messenger-status",4,"ngIf"],[1,"avatar-sm"],[1,"avatar-ring-msg"],["src","assets/logo.svg","alt","Macir Vie",1,"avatar-msg-img"],[1,"bubble"],[1,"audio-bubble"],["viewBox","0 0 24 24","fill","currentColor",1,"mic-icon"],["d","M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.91-3c-.49 0-.9.36-.98.85C16.52 14.2 14.47 16 12 16s-4.52-1.8-4.93-4.15c-.08-.49-.49-.85-.98-.85-.61 0-1.09.54-1 1.14.49 3 2.89 5.35 5.91 5.78V20c0 .55.45 1 1 1s1-.45 1-1v-2.08c3.02-.43 5.42-2.78 5.91-5.78.1-.6-.39-1.14-1-1.14z"],["controls","","preload","none",1,"audio-player",3,"src"],[3,"click"],[3,"innerHTML"],[1,"messenger-status"],["class","seen-avatar-wrapper animate-seen",4,"ngIf"],["class","sent-check",4,"ngIf"],[1,"seen-avatar-wrapper","animate-seen"],[1,"avatar-ring-xs"],["src","assets/logo.svg","alt","Seen by Hayet",1,"avatar-xs-img"],[1,"sent-check"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","3",1,"check-icon"],["points","20 6 9 17 4 12"],[1,"typing-row-container"],[1,"message-row","assistant-row"],[1,"recording-bar"],[1,"rec-dot"],[1,"rec-text"],[1,"rec-time"],["viewBox","0 0 24 24","fill","currentColor"],["x","6","y","6","width","12","height","12","rx","2"]],template:function(e,t){if(e&1){let s=$();l(0,"div",2)(1,"button",3),y("click",function(){return P(s),D(t.toggleChat())}),b(2,Hi,5,0,"div",4),l(3,"span",5),H(),l(4,"svg",6),g(5,"path",7),d()(),Z(),l(6,"span",8),H(),l(7,"svg",9),g(8,"line",10)(9,"line",11),d()(),b(10,$i,2,0,"span",12),d(),Z(),l(11,"div",13)(12,"div",14)(13,"div",15)(14,"div",16),g(15,"img",17),d(),l(16,"div",18)(17,"span",19),h(18,"Assistant IA Hayat"),d(),l(19,"span",20),g(20,"span",21),h(21," En ligne "),d()()(),l(22,"button",22),y("click",function(){return P(s),D(t.clearChat())}),H(),l(23,"svg",6),g(24,"polyline",23)(25,"path",24),d()()(),Z(),l(26,"div",25,0)(28,"div",26),b(29,Wi,10,12,"div",27)(30,Yi,10,0,"div",28),d()(),l(31,"div",29),b(32,Gi,6,1,"div",30),l(33,"div",31)(34,"textarea",32,1),Jt("ngModelChange",function(a){return P(s),Zt(t.inputText,a)||(t.inputText=a),D(a)}),y("keydown",function(a){return P(s),D(t.onKeyDown(a))})("input",function(a){return P(s),D(t.onTextareaInput(a))}),d(),l(36,"div",33)(37,"button",34),y("click",function(){return P(s),D(t.toggleRecording())}),b(38,Qi,2,0,"svg",35)(39,Ki,2,0,"svg",35),d(),l(40,"button",36),y("click",function(){return P(s),D(t.sendTextMessage())}),H(),l(41,"svg",37),g(42,"line",38)(43,"polygon",39),d()()()(),Z(),l(44,"p",40),h(45,"Appuyez sur Entr\xE9e pour envoyer \xB7 Maj+Entr\xE9e pour retour \xE0 la ligne"),d()()()()}e&2&&(c(),M("open",t.isOpen()),c(),p("ngIf",t.isLoading()&&!t.isOpen()),c(),M("hidden",t.isOpen()||t.isLoading()&&!t.isOpen()),c(3),M("hidden",!t.isOpen()),c(4),p("ngIf",t.hasUnread()&&!t.isOpen()&&!t.isLoading()),c(),M("visible",t.isOpen()),c(18),p("ngForOf",t.messages()),c(),p("ngIf",t.isLoading()),c(2),p("ngIf",t.isRecording()),c(2),Xt("ngModel",t.inputText),p("disabled",t.isLoading()||t.isRecording()),c(3),M("recording",t.isRecording()),p("disabled",t.isLoading())("title",t.isRecording()?"Arr\xEAter":"Enregistrer un message vocal"),c(),p("ngIf",!t.isRecording()),c(),p("ngIf",t.isRecording()),c(),p("disabled",!t.inputText().trim()||t.isLoading()||t.isRecording()))},dependencies:[Le,B,q,oi,pi,li,ci,di],styles:['@charset "UTF-8";.chatbot-wrapper[_ngcontent-%COMP%]{position:fixed;bottom:28px;right:28px;z-index:9999;font-family:Segoe UI,Inter,system-ui,sans-serif}.chatbot-fab[_ngcontent-%COMP%]{position:relative;width:58px;height:58px;border-radius:50%;border:none;background:linear-gradient(135deg,#1a56db,#3b82f6);color:#fff;cursor:pointer;box-shadow:0 6px 24px #1a56db73;display:flex;align-items:center;justify-content:center;transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .2s;outline:none}.chatbot-fab[_ngcontent-%COMP%]:hover{transform:scale(1.08);box-shadow:0 10px 32px #1a56db8c}.chatbot-fab.open[_ngcontent-%COMP%]{transform:scale(1.04)}.chatbot-fab[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:26px;height:26px}.fab-icon[_ngcontent-%COMP%]{position:absolute;display:flex;align-items:center;justify-content:center;transition:opacity .2s,transform .2s}.fab-icon.hidden[_ngcontent-%COMP%]{opacity:0;transform:rotate(90deg) scale(.6);pointer-events:none}.unread-badge[_ngcontent-%COMP%]{position:absolute;top:6px;right:6px;width:12px;height:12px;border-radius:50%;background:#ef4444;border:2px solid #fff;animation:_ngcontent-%COMP%_pulse-badge 1.6s infinite}@keyframes _ngcontent-%COMP%_pulse-badge{0%,to{transform:scale(1)}50%{transform:scale(1.3)}}.chat-panel[_ngcontent-%COMP%]{position:absolute;bottom:74px;right:0;width:400px;height:620px;max-height:85vh;display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 20px 60px #1a56db2e,0 4px 16px #00000014;border:1px solid #e2e8f4;overflow:hidden;opacity:0;transform:translateY(20px) scale(.96);pointer-events:none;transform-origin:bottom right;transition:opacity .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.34,1.2,.64,1)}.chat-panel.visible[_ngcontent-%COMP%]{opacity:1;transform:translateY(0) scale(1);pointer-events:all}.chat-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:linear-gradient(135deg,#1a56db,#2563eb);color:#fff;flex-shrink:0}.header-left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.avatar-ring[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#fff;border:2px solid rgba(255,255,255,.5);display:flex;align-items:center;justify-content:center}
3.avatar-dot[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:50%;background:#ffffffe6}.header-info[_ngcontent-%COMP%]{display:flex;flex-direction:column}.header-info[_ngcontent-%COMP%] .agent-name[_ngcontent-%COMP%]{font-size:.95rem;font-weight:700;letter-spacing:.02em}.header-info[_ngcontent-%COMP%] .agent-status[_ngcontent-%COMP%]{font-size:.75rem;opacity:.85;display:flex;align-items:center;gap:5px}.status-dot[_ngcontent-%COMP%]{width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 0 2px #10b98159;animation:_ngcontent-%COMP%_blink-status 2.5s infinite}@keyframes _ngcontent-%COMP%_blink-status{0%,to{opacity:1}50%{opacity:.5}}.clear-btn[_ngcontent-%COMP%]{background:#ffffff26;border:none;border-radius:8px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;transition:background .15s}.clear-btn[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:17px;height:17px}.clear-btn[_ngcontent-%COMP%]:hover{background:#ffffff47}.messages-area[_ngcontent-%COMP%]{flex:1;overflow-y:auto;scroll-behavior:smooth;padding:16px 14px;background:#f4f6fb}.messages-area[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px}.messages-area[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#e2e8f4;border-radius:10px}.messages-area[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.messages-inner[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.message-row[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:8px;animation:_ngcontent-%COMP%_slide-in .22s ease}.message-row.user-row[_ngcontent-%COMP%]{flex-direction:row-reverse}.message-row.user-row[_ngcontent-%COMP%] .bubble[_ngcontent-%COMP%]{background:#1a56db;color:#fff;border-radius:18px 4px 18px 18px}.message-row.user-row[_ngcontent-%COMP%] .timestamp[_ngcontent-%COMP%]{text-align:right}.message-row.assistant-row[_ngcontent-%COMP%] .bubble[_ngcontent-%COMP%]{background:#fff;color:#1a2235;border-radius:4px 18px 18px;box-shadow:0 1px 6px #00000012}@keyframes _ngcontent-%COMP%_slide-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.avatar-sm[_ngcontent-%COMP%]{width:30px;height:30px;min-width:30px;border-radius:50%;background:#e8f0fd;color:#1a56db;display:flex;align-items:center;justify-content:center}.avatar-sm[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:16px;height:16px}.bubble-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-width:75%}.message-row.assistant-row[_ngcontent-%COMP%] .bubble-wrap[_ngcontent-%COMP%]{max-width:calc(100% - 60px)}.bubble[_ngcontent-%COMP%]{padding:10px 14px;font-size:.875rem;line-height:1.55;word-break:break-word}.bubble[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.audio-bubble[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.audio-bubble[_ngcontent-%COMP%] .mic-icon[_ngcontent-%COMP%]{width:18px;height:18px;flex-shrink:0;opacity:.8}.audio-bubble[_ngcontent-%COMP%] .audio-player[_ngcontent-%COMP%]{height:32px;width:200px;filter:invert(1) brightness(.7)}.typing-bubble[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;padding:12px 16px}.typing-bubble[_ngcontent-%COMP%] .dot[_ngcontent-%COMP%]{width:8px;height:8px;border-radius:50%;background:#6b7a99;animation:_ngcontent-%COMP%_bounce-dot .9s infinite}.typing-bubble[_ngcontent-%COMP%] .dot[_ngcontent-%COMP%]:nth-child(2){animation-delay:.15s}.typing-bubble[_ngcontent-%COMP%] .dot[_ngcontent-%COMP%]:nth-child(3){animation-delay:.3s}@keyframes _ngcontent-%COMP%_bounce-dot{0%,80%,to{transform:translateY(0);opacity:.4}40%{transform:translateY(-6px);opacity:1}}.timestamp[_ngcontent-%COMP%]{font-size:.68rem;color:#6b7a99;margin-top:3px;padding:0 4px}.input-area[_ngcontent-%COMP%]{flex-shrink:0;border-top:1px solid #e2e8f4;background:#fff;padding:10px 12px 8px}.recording-bar[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;background:#fff1f1;border-radius:8px;padding:7px 12px;margin-bottom:8px;border:1px solid #fecaca}.rec-dot[_ngcontent-%COMP%]{width:9px;height:9px;border-radius:50%;background:#ef4444;animation:_ngcontent-%COMP%_pulse-rec 1s infinite}@keyframes _ngcontent-%COMP%_pulse-rec{0%,to{opacity:1}50%{opacity:.3}}.rec-text[_ngcontent-%COMP%]{font-size:.8rem;color:#ef4444;font-weight:600;flex:1}
3.rec-time[_ngcontent-%COMP%]{font-size:.8rem;color:#ef4444;font-family:monospace}.input-row[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:8px}.text-input[_ngcontent-%COMP%]{flex:1;border:1.5px solid #e2e8f4;border-radius:12px;padding:10px 14px;font-size:.875rem;font-family:inherit;color:#1a2235;background:#f4f6fb;resize:none;min-height:44px;max-height:120px;line-height:1.5;outline:none;transition:border-color .18s,box-shadow .18s;overflow-y:auto}.text-input[_ngcontent-%COMP%]:focus{border-color:#1a56db;box-shadow:0 0 0 3px #1a56db1a;background:#fff}.text-input[_ngcontent-%COMP%]::placeholder{color:#6b7a99}.text-input[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.action-buttons[_ngcontent-%COMP%]{display:flex;gap:6px}.action-btn[_ngcontent-%COMP%]{width:42px;height:42px;border-radius:10px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .18s;flex-shrink:0}.action-btn[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:20px;height:20px}.action-btn[_ngcontent-%COMP%]:disabled{opacity:.4;cursor:not-allowed;transform:none!important}.mic-btn[_ngcontent-%COMP%]{background:#f4f6fb;color:#6b7a99;border:1.5px solid #e2e8f4}.mic-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:#e8f0fd;color:#1a56db;border-color:#1a56db}.mic-btn.recording[_ngcontent-%COMP%]{background:#fee2e2;color:#ef4444;border-color:#fca5a5;animation:_ngcontent-%COMP%_pulse-btn 1s infinite}@keyframes _ngcontent-%COMP%_pulse-btn{0%,to{box-shadow:0 0 #ef44444d}50%{box-shadow:0 0 0 8px #ef444400}}.send-btn[_ngcontent-%COMP%]{background:#1a56db;color:#fff;box-shadow:0 2px 8px #1a56db59}.send-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:#1344b5;transform:translateY(-1px);box-shadow:0 4px 14px #1a56db73}.footer-note[_ngcontent-%COMP%]{margin:6px 0 0;font-size:.68rem;color:#6b7a99;text-align:center}@media(max-width:480px){.chatbot-wrapper[_ngcontent-%COMP%]{bottom:16px;right:16px}.chat-panel[_ngcontent-%COMP%]{width:calc(100vw - 32px);max-height:80vh}}.status-dot[_ngcontent-%COMP%]{display:inline-block;width:8px;height:8px;background-color:#22c55e;border-radius:50%;margin-right:5px;box-shadow:0 0 8px #22c55e99}.unread-badge[_ngcontent-%COMP%]{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;background-color:#ef4444;color:#fff;font-size:11px;font-weight:700;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #ffffff;box-shadow:0 2px 4px #0003}.fab-typing-container[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.fab-typing-container[_ngcontent-%COMP%] .typing-bubble[_ngcontent-%COMP%]{background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important;display:flex;align-items:center;justify-content:center;gap:4px}.fab-typing-container[_ngcontent-%COMP%] .dot[_ngcontent-%COMP%]{background-color:#fff!important}.animate-seen[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideInSeen .3s cubic-bezier(.175,.885,.32,1.275) both;animation-delay:1.5s}.sent-check[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:50%;border:1px solid #cbd5e1;background:transparent}.message-meta[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:4px}.messenger-status[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:16px;min-width:16px;justify-content:center}.avatar-ring-xs[_ngcontent-%COMP%]{width:15px;height:15px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px #00000026;border:1px solid #e2e8f0;overflow:hidden}.avatar-xs-img[_ngcontent-%COMP%]{width:11px;height:11px;object-fit:contain}.animate-seen[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideInSeen .3s cubic-bezier(.175,.885,.32,1.275) both;animation-delay:1.2s}@keyframes _ngcontent-%COMP%_slideInSeen{0%{transform:translateY(-8px) scale(.5);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.sent-check[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:14px;
3height:14px;border-radius:50%;border:1px solid #cbd5e1;background:transparent;animation:_ngcontent-%COMP%_fadeOutCheck .1s linear both;animation-delay:1.2s}.check-icon[_ngcontent-%COMP%]{width:8px;height:8px;color:#cbd5e1}@keyframes _ngcontent-%COMP%_fadeOutCheck{to{opacity:0;visibility:hidden}}.typing-row-container[_ngcontent-%COMP%]{opacity:0;transform:translateY(10px);animation:_ngcontent-%COMP%_slideInTyping .35s cubic-bezier(.4,0,.2,1) both;animation-delay:1.7s}@keyframes _ngcontent-%COMP%_slideInTyping{0%{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.avatar-sm[_ngcontent-%COMP%]{width:32px;height:32px;min-width:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:transparent}.avatar-ring-msg[_ngcontent-%COMP%]{width:32px;height:32px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 5px #00000014;border:1px solid #e2e8f4;overflow:hidden;transition:transform .2s ease}.avatar-ring-msg[_ngcontent-%COMP%]:hover{transform:scale(1.05)}.avatar-msg-img[_ngcontent-%COMP%]{width:22px;height:22px;object-fit:contain}']})};var qe=class i{constructor(n,e){this.http=n;this.url=e.apiEndpointBackend}http;url;quotesSubject=new Tt([]);quote$=this.quotesSubject.asObservable();getStats(){let n=new Ae().set("skip-auth","true");return this.http.post(`${this.url}/home/stats`,{},{headers:n})}static \u0275fac=function(e){return new(e||i)(k(Fe),k($e))};static \u0275prov=A({token:i,factory:i.\u0275fac,providedIn:"root"})};var Ve=class i{static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["app-skeleton-number-counter"]],standalone:!1,decls:3,vars:0,consts:[[1,"stat-item"],[1,"stat-value","skeleton-box"],[1,"stat-label","skeleton-box"]],template:function(e,t){e&1&&(l(0,"div",0),g(1,"p",1)(2,"p",2),d())},styles:[".stat-item[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:center}.skeleton-box[_ngcontent-%COMP%]{background-color:#d0d0d0;border-radius:4px;display:inline-block;width:80%;height:1em;animation:_ngcontent-%COMP%_pulse 1.5s infinite ease-in-out;margin:.25em 0}.stat-value.skeleton-box[_ngcontent-%COMP%]{height:2em;width:50%;margin:0 auto .5em}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}"]})};var en=(i,n)=>({"background-color":i,"max-width":n}),tn=i=>({color:i}),nn=(i,n)=>({height:i,width:n}),Ue=class i{constructor(n){this.router=n}router;backgroundColor;text="";textColor="#333";maxWidth="305px";iconSize;size;iconSrc="";iconAlt="icon";routerLink;rotateOnHover=!0;onClick(){this.routerLink?this.router.navigate([this.routerLink]):console.log("Subscribe clicked!")}static \u0275fac=function(e){return new(e||i)(x(me))};static \u0275cmp=_({type:i,selectors:[["app-subscribe-button"]],inputs:{backgroundColor:"backgroundColor",text:"text",textColor:"textColor",maxWidth:"maxWidth",iconSize:"iconSize",size:"size",iconSrc:"iconSrc",iconAlt:"iconAlt",routerLink:"routerLink",rotateOnHover:"rotateOnHover"},standalone:!1,decls:6,vars:20,consts:[["fxLayout","row","fxLayoutAlign","space-between center",1,"subscribe-container",3,"click","ngStyle"],[1,"subscribe-text",3,"ngStyle"],[1,"subscribe-button",3,"ngStyle"],[1,"arrow-circle"],[3,"src","alt"]],template:function(e,t){e&1&&(l(0,"div",0),y("click",function(){return t.onClick()}),l(1,"span",1),h(2),d(),l(3,"button",2)(4,"div",3),g(5,"img",4),d()()()),e&2&&(M("rotate-enabled",t.rotateOnHover),p("ngStyle",le(12,en,t.backgroundColor,t.maxWidth)),c(),p("ngStyle",W(15,tn,t.textColor)),c(),I(" ",t.text," "),c(),p("ngStyle",le(17,nn,t.size,t.size)),c(2),Ie("width",t.iconSize,"px")("height",t.iconSize,"px"),p("src",t.iconSrc,G)("alt",t.iconAlt))},dependencies:[Ee,V,Q,hi],styles:['@import"https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap";[_ngcontent-%COMP%]:root{--mat-divider-color: #e0e6eb}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-shape: 12px}.mdc-button[_ngcontent-%COMP%]{--mdc-filled-button-container-shape: 8px;--mdc-text-button-container-shape: 8px;--mdc-protected-button-container-shape: 8px;--mdc-outlined-button-container-shape: 8px;--mat-standard-button-toggle-shape: 8px}.subscribe-container[_ngcontent-%COMP%]{border-radius:50px;padding-block:8px;padding-inline:32px 4px;
3cursor:pointer;transition:all .3s ease;display:inline-flex;align-items:center;max-width:305px}.subscribe-container[_ngcontent-%COMP%]:active{transform:translateY(0)}.subscribe-text[_ngcontent-%COMP%]{font-size:16px;font-weight:600;letter-spacing:.6px;margin-inline-end:14px;-webkit-user-select:none;user-select:none}.subscribe-button[_ngcontent-%COMP%]{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;transition:all .3s ease;flex-shrink:0;background:#0134e2}.subscribe-button[_ngcontent-%COMP%]:hover{transform:scale(1.05)}.arrow-circle[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;transition:transform .3s ease}.arrow-circle[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block}.rotate-enabled[_ngcontent-%COMP%]:hover .arrow-circle[_ngcontent-%COMP%]{transform:rotate(45deg)}']})};var We=class i{number;label;duration=1.5;displayValue="0";timer;ngOnChanges(n){n.number&&this.startCounter()}ngOnDestroy(){this.clearTimer()}startCounter(){if(this.clearTimer(),!this.number){this.displayValue="0";return}let n=this.number.match(/^(\d+(?:\.\d+)?)(.*)$/);if(!n){this.displayValue=this.number;return}let e=Number(n[1]),t=n[2]??"",s=this.duration*1e3,r=30,a=Math.max(1,Math.round(s/1e3*r)),o=0;this.timer=window.setInterval(()=>{o++;let u=o/a,f=Math.round(e*u);this.displayValue=`${f}${t}`,o>=a&&(this.displayValue=`${e}${t}`,this.clearTimer())},1e3/r)}clearTimer(){this.timer&&(clearInterval(this.timer),this.timer=void 0)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["app-number-counter"]],inputs:{number:"number",label:"label",duration:"duration"},standalone:!1,features:[ke],decls:5,vars:2,consts:[[1,"stat-item"],[1,"stat-value"],[1,"stat-label"]],template:function(e,t){e&1&&(l(0,"div",0)(1,"p",1),h(2),d(),l(3,"p",2),h(4),d()()),e&2&&(c(2),T(t.displayValue),c(2),T(t.label))},styles:['@import"https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap";[_ngcontent-%COMP%]:root{--mat-divider-color: #e0e6eb}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-shape: 12px}.mdc-button[_ngcontent-%COMP%]{--mdc-filled-button-container-shape: 8px;--mdc-text-button-container-shape: 8px;--mdc-protected-button-container-shape: 8px;--mdc-outlined-button-container-shape: 8px;--mat-standard-button-toggle-shape: 8px}.stat-item[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:center}.stat-value[_ngcontent-%COMP%]{font-size:56px;color:#1a1a1a}@media(max-width:1200px){.stat-value[_ngcontent-%COMP%]{font-size:48px}}.stat-label[_ngcontent-%COMP%]{font-size:14px;color:#000000b3;margin:0;font-weight:400}@media(max-width:1200px){.stat-label[_ngcontent-%COMP%]{font-size:12px}}']})};var on=()=>[B,We,F],ln=()=>[],cn=i=>({"hero-image":i});function dn(i,n){if(i&1&&g(0,"p",14),i&2){let e=m(),t=e.$implicit,s=e.index,r=m();M("anim-in",s===r.currentSlide),p("innerHTML",r.slideSubtitle(t),U)}}function pn(i,n){if(i&1&&g(0,"app-subscribe-button",15),i&2){let e=m().$implicit,t=m();p("text",t.getButtonLabel(e))("backgroundColor","#E3EAFF")("size","72px")("routerLink",t.isAuth?"/travel-simulation":"/choose-connection")("iconSrc","assets/images/sections/icons/top_arrow.svg")}}function un(i,n){if(i&1&&(l(0,"div",9)(1,"p",10),h(2," Macir Vie \u2013 Leader des assurances de personnes en Alg\xE9rie "),d(),g(3,"h1",11),b(4,dn,1,3,"p",12)(5,pn,1,5,"app-subscribe-button",13),d()),i&2){let e=n.$implicit,t=n.index,s=m();M("active",t===s.currentSlide),c(3),M("anim-in",t===s.currentSlide),p("innerHTML",s.slideTitle(e),U),c(),p("ngIf",s.slideSubtitle(e)),c(),p("ngIf",e.buttons&&e.buttons.length>0)}}function gn(i,n){if(i&1&&(g(0,"app-number-counter",18),v(1,"translate")),i&2){let e=n.$implicit;p("number",e.value)("label",C(1,3,e.labelKey))("duration",e.duration)}}function hn(i,n){if(i&1&&b(0,gn,2,5,"app-number-counter",17),i&2){let e=m(2);p("ngForOf",e.stats)}}function mn(i,n){i&1&&g(0,"app-skeleton-number-counter")}function fn(i,n){i&1&&j(0,mn,1,0,"app-skeleton-number-counter",null,Yt),i&2&&N(ti(0,ln).constructor(4))}function bn(i,n){if(i&1&&(l(0,"div",16),b(1,hn,1,1)(2,fn,2,1),Ut(3,1,on,null,2),d()),i&2){let e=m();c(3),Wt(!e.loading)}}function _n(i,n){if(i&1&&(l(0,"div",19),g(1,"img",20),d()),i&2){let e=n.$implicit,t=n.index,s=m();M("active",t===s.currentSlide),c(),p("ngClass",W(5,cn,t===0))("src","https://www.macirvie.com/"+e.background,G)("alt","")}}function vn(i,n){if(i&1){let e=$();l(0,"button",23),y("click",function(){let s=P(e).index,r=m(2);return D(r.goToSlide(s))}),d()}if(i&2){let e=n.index,t=m(2);M("active",e===t.currentSlide),ft("aria-label","Slide "+(e+1))}}function xn(i,n){if(i&1&&(l(0,"div",21),b(1,vn,1,3,"button",22),d()),i&2){let e=m();c(),p("ngForOf",e.slides)}}var Ye=class i{constructor(n,e,t){this.statsService=n;this.authService=e;this.heroService=t;this.isAuth=this.authService.authenticated()}statsService;authService;heroService;isAuth;currentSlide=0;loading=!0;slides=[];currentLang="fr";stats=[];translate=gt(fi);
3sanitizer=gt(Re);_langSub;_destroy$=new z;_autoPlaySub;AUTOPLAY_INTERVAL=5e3;ngOnInit(){this.currentLang=this.translate.currentLang??"fr",this.loadSlides(),this.loadStats(),this._langSub=this.translate.onLangChange.subscribe(({lang:n})=>{this.currentLang=n})}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._langSub?.unsubscribe(),this._autoPlaySub?.unsubscribe()}loadSlides(){this.heroService.getHero().subscribe({next:n=>{this.slides=n.filter(e=>e.active===1).sort((e,t)=>e.ordre-t.ordre),this.loading=!1,this.slides.length>1&&this.startAutoPlay(this.AUTOPLAY_INTERVAL)},error:()=>{this.loading=!1}})}getButtonLabel(n){if(!n.buttons||n.buttons.length===0)return"Souscrire maintenant";let e=n.buttons[0],t=this.translate.currentLang||"fr";return e.translations?.find(r=>r.lang===t)?.label||e.translations?.[0]?.label||"Souscrire maintenant"}slideTitle(n){let e=this.heroService.getTranslation(n.translations,this.currentLang)?.title??"";return e?this.sanitizer.bypassSecurityTrustHtml(e):""}slideSubtitle(n){let e=this.heroService.getTranslation(n.translations,this.currentLang)?.subt
3itle??"";return e?this.sanitizer.bypassSecurityTrustHtml(e):""}loadStats(){this.statsService.getStats().subscribe({next:n=>{this.stats=this.mapStats(n)},error:()=>this.loading=!1})}mapStats(n){let e=n?.data??n;return[{value:`${e?.YEARS_EXPERIENCE??0}+`,labelKey:"hero.stats.yearsExperience",duration:1.7},{value:`${e?.CLIENTS_SATISFIED_PERCENTAGE??0}%`,labelKey:"hero.stats.satisfiedClients",duration:1.5},{value:this.formatNumber(e?.ACTIVE_SUBSCRIPTIONS),labelKey:"hero.stats.activeSubscriptions",duration:1.5},{value:`${e?.NBR_AGENCES??0}+`,labelKey:"hero.stats.agencies",duration:1.3}]}formatNumber(n){return n==null?"0":n>=1e3?`${Math.floor(n/1e3)}K`:n.toString()}goToSlide(n){this.currentSlide=n,this.resetAutoPlay()}nextSlide(){this.currentSlide=(this.currentSlide+1)%this.slides.length}prevSlide(){this.currentSlide=(this.currentSlide-1+this.slides.length)%this.slides.length}startAutoPlay(n=5e3){this._autoPlaySub?.unsubscribe(),this._autoPlaySub=Et(n).pipe(Ft(this._destroy$)).subscribe(()=>this.nextSlide())}pauseAutoPlay(){this._autoPlaySub?.unsubscribe()}resetAutoPlay(){this.slides.length>1&&this.startAutoPlay(this.AUTOPLAY_INTERVAL)}static \u0275fac=function(e){return new(e||i)(x(qe),x(Be),x(xi))};static \u0275cmp=_({type:i,selectors:[["app-hero-section"]],standalone:!1,decls:9,vars:4,consts:[[1,"section_gapp"],[1,"container"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutGap","20px",1,"carousel-wrapper",3,"mouseenter","mouseleave"],["fxFlex","100","fxFlex.gt-sm","50",1,"content-section"],["class","slide-content",3,"active",4,"ngFor","ngForOf"],["class","stats-container",4,"ngIf"],["fxFlex","100","fxFlex.gt-sm","50",1,"img-container"],["class","slide-image",3,"active",4,"ngFor","ngForOf"],["class","carousel-dots",4,"ngIf"],[1,"slide-content"],[1,"company-tagline"],[1,"hero-title",3,"innerHTML"],["class","slide-description",3,"anim-in","innerHTML",4,"ngIf"],[3,"text","backgroundColor","size","routerLink","iconSrc",4,"ngIf"],[1,"slide-description",3,"innerHTML"],[3,"text","backgroundColor","size","routerLink","iconSrc"],[1,"stats-container"],[3,"number","label","duration",4,"ngFor","ngForOf"],[3,"number","label","duration"],[1,"slide-image"],["loading","lazy",3,"ngClass","src","alt"],[1,"carousel-dots"],["class","dot",3,"active","click",4,"ngFor","ngForOf"],[1,"dot",3,"click"]],template:function(e,t){e&1&&(l(0,"div",0)(1,"div",1)(2,"div",2),y("mouseenter",function(){return t.pauseAutoPlay()})("mouseleave",function(){return t.startAutoPlay()}),l(3,"div",3),b(4,un,6,7,"div",4)(5,bn,5,1,"div",5),d(),l(6,"div",6),b(7,_n,2,7,"div",7),d()(),b(8,xn,2,1,"div",8),d()()),e&2&&(c(4),p("ngForOf",t.slides),c(),p("ngIf",t.currentSlide===0&&!t.loading),c(2),p("ngForOf",t.slides),c(),p("ngIf",t.slides.length>1))},dependencies:[ce,B,q,fe,V,te,ie,He,Ve,Ue],styles:[`@import"https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap";[_ngcontent-%COMP%]:root{--mat-divider-color: #e0e6eb}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-shape: 12px}.mdc-button[_ngcontent-%COMP%]{--mdc-filled-button-container-shape: 8px;--mdc-text-button-container-shape: 8px;--mdc-protected-button-container-shape: 8px;--mdc-outlined-button-container-shape: 8px;--mat-standard-button-toggle-shape: 8px}.section_gapp[_ngcontent-%COMP%]{padding:60px 0 120px}.carousel-wrapper[_ngcontent-%COMP%]{position:relative;overflow:hidden}.slide-content[_ngcontent-%COMP%]{opacity:0;position:absolute;top:0;left:0;width:100%;transition:opacity .6s ease-in-out,transform .6s ease-in-out;transform:translate(30px);pointer-events:none}.slide-content.active[_ngcontent-%COMP%]{opacity:1;position:relative;transform:translate(0);pointer-events:auto}.slide-image[_ngcontent-%COMP%]{opacity:0;position:absolute;top:0;left:0;width:100%;transition:opacity .6s ease-in-out}.slide-image[_ngcontent-%COMP%]:first-child.active{opacity:1;position:relative;transform:translate(0)}.slide-image.active[_ngcontent-%COMP%]:not(:first-child){opacity:1;position:relative}.slide-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto;border-radius:35px}.content-section[_ngcontent-%COMP%]{padding-inline-end:40px}@media(max-width:960px){.content-section[_ngcontent-%COMP%]{padding-inline-end:0}}.company-tagline[_ngcontent-%COMP%]{font-size:14px;color:#020202;margin-bottom:60px}.hero-title[_ngcontent-%COMP%]{font-size:80px;line-height:80px;margin-bottom:40px;min-height:230px}.hero-title[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#0134e2!important}@media(max-width:960px){.hero-title[_ngcontent-%COMP%]{font-size:40px}}@media(max-width:600px){.hero-title[_ngcontent-%COMP%]{font-size:36px}}@media(max-width:1519px){.hero-title[_ngcontent-%COMP%]{font-size:64px;line-height:60px}} .hero-title strong{color:#0134e2!important}.slide-description[_ngcontent-%COMP%]{margin:16px 4px 24px}.text-blue[_ngcontent-%COMP%]{color:#0134e2}.stats-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;justify-content:center;align-items:center;margin-top:25px;border-radius:56px;width:810px;height:176px;background-color:#00155908;direction:inherit}@media(max-width:1519px){.stats-container[_ngcontent-%COMP%]{width:700px;height:165px}}@media(max-width:1200px){.stats-container[_ngcontent-%COMP%]{width:600px;height:165px}}@media(max-width:960px){.stats-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);gap:0px;width:100%;height:304px}}.image-section[_ngcontent-%COMP%]{position:relative}.image-grid[_ngcontent-%COMP%]{position:relative;
3display:-ms-grid;display:grid;gap:20px}.main-image-wrapper[_ngcontent-%COMP%]{position:relative;border-radius:32px;overflow:hidden;-webkit-box-shadow:0 20px 60px rgba(0,0,0,.15);box-shadow:0 20px 60px #00000026}.main-image-wrapper[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:-webkit-gradient(linear,left top,left bottom,color-stop(50%,transparent),to(rgba(0,0,0,.3)));background:-o-linear-gradient(top,transparent 50%,rgba(0,0,0,.3) 100%);background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.3) 100%);z-index:1}.hero-image[_ngcontent-%COMP%]{width:100%;height:auto;display:block;-o-object-fit:cover;object-fit:cover;aspect-ratio:4/5}.carousel-dots[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:8px;margin-top:40px;padding-bottom:10px}.carousel-dots[_ngcontent-%COMP%] .dot[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:50%;border:none;background-color:#e0e6eb;cursor:pointer;transition:all .3s ease;padding:0}.carousel-dots[_ngcontent-%COMP%] .dot[_ngcontent-%COMP%]:hover{background-color:#0134e2;opacity:.7}.carousel-dots[_ngcontent-%COMP%] .dot.active[_ngcontent-%COMP%]{background-color:#0134e2;width:24px;border-radius:5px}.img-container[_ngcontent-%COMP%]{position:relative}.img-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto;border-radius:35px}.hero-image[_ngcontent-%COMP%]{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;display:block;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M94 0 h-88 a6 6 0 0 0 -6 6 v60 a6 6 0 0 0 6 6 h18 a6 6 0 0 1 6 6 v12 a6 6 0 0 0 6 6 h58 a6 6 0 0 0 6 -6 v-94 a6 6 0 0 0 -6 -6 z' fill='white'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M94 0 h-88 a6 6 0 0 0 -6 6 v60 a6 6 0 0 0 6 6 h18 a6 6 0 0 1 6 6 v12 a6 6 0 0 0 6 6 h58 a6 6 0 0 0 6 -6 v-94 a6 6 0 0 0 -6 -6 z' fill='white'/%3E%3C/svg%3E");mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:right;-webkit-mask-position:right}@media(max-width:768px){.hero-image[_ngcontent-%COMP%]{mask-image:none!important;-webkit-mask-image:none!important;aspect-ratio:auto!important}}`]})};var yn=["splitSection"],Ge=class i{splitSection;isSplitActive=!1;scrollLocked=!1;isScrolling=!1;ngAfterViewInit(){this.checkScroll()}onScroll(){!this.scrollLocked&&!this.isScrolling&&this.checkScroll()}checkScroll(){if(!this.splitSection)return;let e=this.splitSection.nativeElement.getBoundingClientRect(),t=window.innerHeight,s=e.top>=0&&e.bottom<=t,a=e.top<t*.5&&e.bottom>t*.5;a&&!this.isSplitActive?(this.isSplitActive=!0,this.stopScrollAtSectionBottom()):!a&&this.isSplitActive&&(this.isSplitActive=!1)}stopScrollAtSectionBottom(){this.scrollLocked=!0,this.isScrolling=!0;let n=this.splitSection.nativeElement,t=n.offsetTop+n.offsetHeight-window.innerHeight;document.body.style.overflow="hidden",window.scrollTo({top:t,behavior:"smooth"}),setTimeout(()=>{this.isScrolling=!1,setTimeout(()=>{document.body.style.overflow="auto",this.scrollLocked=!1},300)},300)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["app-about-us-section"]],viewQuery:function(e,t){if(e&1&&xe(yn,5),e&2){let s;ae(s=oe())&&(t.splitSection=s.first)}},hostBindings:function(e,t){e&1&&y("scroll",function(){return t.onScroll()},!1,$t)},standalone:!1,decls:37,vars:23,consts:[["splitSection",""],[1,"scroll-container"],[1,"split-section"],[1,"image-side"],["src","assets/images/sections/aboutus/aboutus.webp",1,"background-image",3,"alt"],[1,"image-overlay"],[1,"subtitle"],[1,"title"],[1,"content-side"],[1,"content-wrapper"],[1,"content-title"],[1,"content-text"],[1,"circle"],["viewBox","0 0 200 200",1,"circular-svg"],["id","topCurve","d","M 30,100 A 70,70 0 0,1 170,100","fill","none"],["id","bottomCurve","d","M 170,100 A 70,70 0 0,1 30,100","fill","none"],[1,"circular-text"],["href","#topCurve","startOffset","43%","text-anchor","middle"],["href","#bottomCurve","startOffset","41%","text-anchor","middle"],[1,"arrow"]],template:function(e,t){e&1&&(l(0,"div",1)(1,"section",2,0)(3,"div",3),g(4,"img",4),v(5,"translate"),l(6,"div",5)(7,"p",6),h(8),v(9,"translate"),d(),l(10,"h2",7),h(11),v(12,"translate"),d()()(),l(13,"div",8)(14,"div",9)(15,"h2",10),h(16),v(17,"translate"),d(),l(18,"p",11),h(19),v(20,"translate"),d(),l(21,"div")(22,"div",12),H(),l(23,"svg",13)(24,"defs"),g(25,"path",14)(26,"path",15),d(),l(27,"text",16)(28,"textPath",17),h(29),v(30,"translate"),d()(),l(31,"text",16)(32,"textPath",18),h(33),v(34,"translate"),d()()(),Z(),l(35,"div",19),h(36,"\u2192"),d()()()()()()()),e&2&&(c(),M("split-active",t.isSplitActive),c(3),p("alt",C(5,9,"aboutus.imageAlt")),c(4),T(C(9,11,"aboutus.subtitle")),c(3),T(C(12,13,"aboutus.imageTitle")),c(5),T(C(17,15,"aboutus.contentTitle")),c(3),I(" ",C(20,17,"aboutus.contentText")," "),c(10),I(" ",C(30,19,"aboutus.circularText")," "),c(4),I(" ",C(34,21,"aboutus.circularText")," "))},dependencies:[F],styles:['@import"https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap";
3[_ngcontent-%COMP%]:root{--mat-divider-color: #e0e6eb}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-shape: 12px}.mdc-button[_ngcontent-%COMP%]{--mdc-filled-button-container-shape: 8px;--mdc-text-button-container-shape: 8px;--mdc-protected-button-container-shape: 8px;--mdc-outlined-button-container-shape: 8px;--mat-standard-button-toggle-shape: 8px}.scroll-container[_ngcontent-%COMP%]{width:100%;min-height:100vh}.split-section[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;height:100vh}.split-section[_ngcontent-%COMP%] .image-side[_ngcontent-%COMP%]{width:100%;height:100vh;position:relative;-webkit-transition:width .8s cubic-bezier(.65,0,.35,1);-o-transition:width .8s cubic-bezier(.65,0,.35,1);transition:width .8s cubic-bezier(.65,0,.35,1);overflow:hidden}.split-section[_ngcontent-%COMP%] .image-side[_ngcontent-%COMP%] .background-image[_ngcontent-%COMP%]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.split-section[_ngcontent-%COMP%] .image-side[_ngcontent-%COMP%] .image-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;-webkit-transition:opacity .8s ease;-o-transition:opacity .8s ease;transition:opacity .8s ease}.split-section[_ngcontent-%COMP%] .image-side[_ngcontent-%COMP%] .image-overlay[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{font-size:14px;letter-spacing:2px;text-transform:uppercase;margin-bottom:1rem;font-weight:300}.split-section[_ngcontent-%COMP%] .image-side[_ngcontent-%COMP%] .image-overlay[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:56px;font-weight:300;margin:0;text-align:center;line-height:1.2;color:#fff;max-width:400px}@media(max-width:768px){.split-section[_ngcontent-%COMP%] .image-side[_ngcontent-%COMP%] .image-overlay[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:48px}}.split-section[_ngcontent-%COMP%] .content-side[_ngcontent-%COMP%]{width:0;opacity:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-transition:width .8s cubic-bezier(.65,0,.35,1),opacity .8s ease .2s;-o-transition:width .8s cubic-bezier(.65,0,.35,1),opacity .8s ease .2s;transition:width .8s cubic-bezier(.65,0,.35,1),opacity .8s ease .2s}.split-section[_ngcontent-%COMP%] .content-side[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{padding:3rem;-webkit-transform:translateX(50px);-ms-transform:translateX(50px);transform:translate(50px);-webkit-transition:-webkit-transform .8s ease .3s;transition:-webkit-transform .8s ease .3s;-o-transition:transform .8s ease .3s;transition:transform .8s ease .3s;transition:transform .8s ease .3s,-webkit-transform .8s ease .3s}@media(max-width:768px){.split-section[_ngcontent-%COMP%] .content-side[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{padding:2rem}}.split-section[_ngcontent-%COMP%] .content-side[_ngcontent-%COMP%] .content-title[_ngcontent-%COMP%]{font-size:48px;font-weight:300;color:#020202;margin:0 0 2rem;line-height:1.3}@media(max-width:968px){.split-section[_ngcontent-%COMP%] .content-side[_ngcontent-%COMP%] .content-title[_ngcontent-%COMP%]{font-size:40px}}@media(max-width:768px){.split-section[_ngcontent-%COMP%] .content-side[_ngcontent-%COMP%] .content-title[_ngcontent-%COMP%]{font-size:36px}}.split-section[_ngcontent-%COMP%] .content-side[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%]{font-size:16px;line-height:1.8;color:#020202;margin-bottom:3rem;font-weight:300}.split-section.split-active[_ngcontent-%COMP%] .image-side[_ngcontent-%COMP%]{width:50%}.split-section.split-active[_ngcontent-%COMP%] .content-side[_ngcontent-%COMP%]{width:50%;opacity:1}.split-section.split-active[_ngcontent-%COMP%] .content-side[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translate(0)}@media(max-width:968px){.split-section[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:auto;min-height:100vh}.split-section[_ngcontent-%COMP%] .image-side[_ngcontent-%COMP%]{width:100%!important;height:50vh;min-height:400px}.split-section[_ngcontent-%COMP%] .content-side[_ngcontent-%COMP%]{width:100%!important;height:auto;min-height:50vh;opacity:1!important}.split-section[_ngcontent-%COMP%] .content-side[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{-webkit-transform:translateX(0)!important;-ms-transform:translateX(0)!important;transform:translate(0)!important;width:100%;max-width:100%}.split-section.split-active[_ngcontent-%COMP%] .image-side[_ngcontent-%COMP%], .split-section.split-active[_ngcontent-%COMP%] .content-side[_ngcontent-%COMP%]{width:100%!important}}
3.circle[_ngcontent-%COMP%]{position:relative;width:200px;height:200px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0);-webkit-transition:-webkit-transform .8s ease-in-out .8s;transition:-webkit-transform .8s ease-in-out .8s;-o-transition:transform .8s ease-in-out .8s;transition:transform .8s ease-in-out .8s;transition:transform .8s ease-in-out .8s,-webkit-transform .8s ease-in-out .8s}.split-section.split-active[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.circular-svg[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;top:0;left:0}.circular-svg[_ngcontent-%COMP%] .circular-text[_ngcontent-%COMP%]{fill:#333;font-size:14px;font-weight:500;letter-spacing:4px}.arrow[_ngcontent-%COMP%]{position:relative;font-size:40px;color:#1a1a1a;font-weight:700;z-index:10}']})};var ne=(function(i){return i[i.State=0]="State",i[i.Transition=1]="Transition",i[i.Sequence=2]="Sequence",i[i.Group=3]="Group",i[i.Animate=4]="Animate",i[i.Keyframes=5]="Keyframes",i[i.Style=6]="Style",i[i.Trigger=7]="Trigger",i[i.Reference=8]="Reference",i[i.AnimateChild=9]="AnimateChild",i[i.AnimateRef=10]="AnimateRef",i[i.Query=11]="Query",i[i.Stagger=12]="Stagger",i})(ne||{}),Sn="*";function wt(i,n){return{type:ne.Trigger,name:i,definitions:n,options:{}}}function Qe(i,n=null){return{type:ne.Animate,styles:n,timings:i}}function rr(i,n=null){return{type:ne.Sequence,steps:i,options:n}}function Ke(i){return{type:ne.Style,styles:i,offset:null}}function Xe(i,n,e){return{type:ne.State,name:i,styles:n,options:e}}function Ze(i,n,e=null){return{type:ne.Transition,expr:i,animation:n,options:e}}var Ct=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}},yt=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,t=0,s=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==r&&this._onFinish()}),a.onDestroy(()=>{++t==r&&this._onDestroy()}),a.onStart(()=>{++s==r&&this._onStart()})}),this.totalTime=this.players.reduce((a,o)=>Math.max(a,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEac
3h(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(t=>{let s=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(s)})}getPosition(){let n=this.players.reduce((e,t)=>e===null||t.totalTime>e.totalTime?t:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}},Mn="!";var On=(i,n,e,t,s)=>({width:i,transform:n,transition:e,"padding-left":t,"padding-right":s}),Pn=(i,n,e,t)=>({width:i,"margin-left":n,"margin-right":e,left:t}),Dn=(i,n)=>({$implicit:i,index:n}),Di=(i,n)=>n.id;function kn(i,n){}function Tn(i,n){if(i&1&&b(0,kn,0,0,"ng-template",3),i&2){let e=m(),t=e.$implicit,s=e.$index,r=m();p("ngTemplateOutlet",t.tplRef)("ngTemplateOutletContext",le(2,Dn,r.preparePublicSlide(t),s))}}function In(i,n){if(i&1){let e=$();l(0,"div",2),y("animationend",function(){let s=P(e).$implicit,r=m();return D(r.clear(s.id))}),b(1,Tn,1,5,null,3),d()}if(i&2){let e=n.$implicit;p("ngClass",e.classes)("ngStyle",ii(4,Pn,e.width+"px",e.marginL?e.marginL+"px":"",e.marginR?e.marginR+"px":"",e.left))("@autoHeight",e.heightState),c(),he(e.load?1:-1)}}var En=(i,n,e,t,s)=>({"owl-rtl":i,"owl-loaded":n,"owl-responsive":e,"owl-drag":t,"owl-grab":s}),Ln=(i,n)=>({isMouseDragable:i,isTouchDragable:n}),Je=i=>({disabled:i}),zn=(i,n)=>({active:i,"owl-dot-text":n});function An(i,n){if(i&1&&(l(0,"div",2),g(1,"owl-stage",3),d()),i&2){let e=m();c(),p("owlDraggable",le(3,Ln,e.owlDOMData==null?null:e.owlDOMData.isMouseDragable,e.owlDOMData==null?null:e.owlDOMData.isTouchDragable))("stageData",e.stageData)("slidesData",e.slidesData)}}function Fn(i,n){if(i&1){let e=$();l(0,"div",9),y("click",function(){let s=P(e).$implicit,r=m(2);return D(r.moveByDot(s.id))}),g(1,"span",10),d()}if(i&2){let e=n.$implicit;p("ngClass",le(2,zn,e.active,e.showInnerContent)),c(),p("innerHTML",e.innerContent,U)}}function Rn(i,n){if(i&1){let e=$();l(0,"div",4)(1,"div",5),y("click",function(){P(e);let s=m();return D(s.prev())}),d(),l(2,"div",6),y("click",function(){P(e);let s=m();return D(s.next())}),d()(),l(3,"div",7),j(4,Fn,2,5,"div",8,Di),d()}if(i&2){let e=m();p("ngClass",W(6,Je,e.navData==null?null:e.navData.disabled)),c(),p("ngClass",W(8,Je,e.navData==null||e.navData.prev==null?null:e.navData.prev.disabled))("innerHTML",e.navData==null||e.navData.prev==null?null:e.navData.prev.htmlText,U),c(),p("ngClass",W(10,Je,e.navData==null||e.navData.next==null?null:e.navData.next.disabled))("innerHTML",e.navData==null||e.navData.next==null?null:e.navData.next.htmlText,U),c(),p("ngClass",W(12,Je,e.dotsData==null?null:e.dotsData.disabled)),c(),N(e.dotsData==null?null:e.dotsData.dots)}}var St=class{items=3;skip_validateItems=!1;loop=!1;center=!1;rewind=!1;mouseDrag=!0;touchDrag=!0;pullDrag=!0;freeDrag=!1;margin=0;stagePadding=0;merge=!1;mergeFit=!0;autoWidth=!1;startPosition=0;rtl=!1;smartSpeed=250;fluidSpeed=!1;dragEndSpeed=!1;responsive={};responsiveRefreshRate=200;nav=!1;navText=["prev","next"];navSpeed=!1;slideBy=1;dots=!0;dotsEach=!1;dotsData=!1;dotsSpeed=!1;autoplay=!1;autoplayTimeout=5e3;autoplayHoverPause=!1;autoplaySpeed=!1;autoplayMouseleaveTimeout=1;lazyLoad=!1;lazyLoadEager=0;slideTransition="";animateOut=!1;animateIn=!1;autoHeight=!1;URLhashListener=!1;constructor(){}},Mt=class{items="number";skip_validateItems="boolean";loop="boolean";center="boolean";rewind="boolean";mouseDrag="boolean";touchDrag="boolean";pullDrag="boolean";freeDrag="boolean";margin="number";stagePadding="number";merge="boolean";mergeFit="boolean";autoWidth="boolean";startPosition="number|string";rtl="boolean";smartSpeed="number";fluidSpeed="boolean";dragEndSpeed="number|boolean";responsive={};responsiveRefreshRate="number";nav="boolean";navText="string[]";navSpeed="number|boolean";slideBy="number|string";dots="boolean";dotsEach="number|boolean";dotsData="boolean";dotsSpeed="number|boolean";autoplay="boolean";autoplayTimeout="number";autoplayHoverPause="boolean";autoplaySpeed="number|boolean";autoplayMouseleaveTimeout="number";lazyLoad="boolean";lazyLoadEager="number";slideTransition="string";animateOut="string|boolean";
3animateIn="string|boolean";autoHeight="boolean";URLhashListener="boolean";constructor(){}},Pt=(()=>{class i{errorHandler;constructor(e){this.errorHandler=e}log(e,...t){si()&&console.log(e,...t)}error(e){this.errorHandler.handleError(e)}warn(e,...t){console.warn(e,...t)}static \u0275fac=function(t){return new(t||i)(k(Ht))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})();var ki=(function(i){return i.Event="event",i.State="state",i})(ki||{}),et=(function(i){return i.Default="default",i.Inner="inner",i.Outer="outer",i})(et||{});var X=(()=>{class i{logger;_viewSettingsShipper$=new z;_initializedCarousel$=new z;_changeSettingsCarousel$=new z;_changedSettingsCarousel$=new z;_translateCarousel$=new z;_translatedCarousel$=new z;_resizeCarousel$=new z;_resizedCarousel$=new z;_refreshCarousel$=new z;_refreshedCarousel$=new z;_dragCarousel$=new z;_draggedCarousel$=new z;settings={items:0};owlDOMData={rtl:!1,isResponsive:!1,isRefreshed:!1,isLoaded:!1,isLoading:!1,isMouseDragable:!1,isGrab:!1,isTouchDragable:!1};stageData={transform:"translate3d(0px,0px,0px)",transition:"0s",width:0,paddingL:0,paddingR:0};slidesData;navData;dotsData;_width;_items=[];_widths=[];_supress={};_plugins={};_current=null;_clones=[];_mergers=[];_speed=null;_coordinates=[];_breakpoint=null;clonedIdPrefix="cloned-";_options={};_invalidated={};get invalidated(){return this._invalidated}_states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}};get states(){return this._states}_pipe=[{filter:["width","items","settings"],run:e=>{e.current=this._items&&this._items[this.relative(this._current)]?.id}},{filter:["width","items","settings"],run:e=>{let t=this.settings.margin||"",s=!this.settings.autoWidth,r=this.settings.rtl,a={"margin-left":r?t:"","margin-right":r?"":t};s||this.slidesData.forEach(o=>{o.marginL=a["margin-left"],o.marginR=a["margin-right"]}),e.css=a}},{filter:["width","items","settings"],run:e=>{let t=+(this.width()/this.settings.items).toFixed(3)-this.settings.margin,s=!this.settings.autoWidth,r=[],a=null,o=this._items.length;for(e.items={merge:!1,width:t};o-- >0;)a=this._mergers[o],a=this.settings.mergeFit&&Math.min(a,this.settings.items)||a,e.items.merge=a>1||e.items.merge,r[o]=s?t*a:this._items[o].width?this._items[o].width:t;this._widths=r,this.slidesData.forEach((u,f)=>{u.width=this._widths[f],u.marginR=e.css["margin-right"],u.marginL=e.css["margin-left"]})}},{filter:["items","settings"],run:()=>{let e=[],t=this._items,s=this.settings,r=Math.max(s.items*2,4),a=Math.ceil(t.length/2)*2,o=[],u=[],f=s.loop&&t.length?s.rewind?r:Math.max(r,a):0;for(f/=2;f-- >0;)e.push(this.normalize(e.length/2,!0)),o.push(E({},this.slidesData[e[e.length-1]])),e.push(this.normalize(t.length-1-(e.length-1)/2,!0)),u.unshift(E({},this.slidesData[e[e.length-1]]));this._clones=e,o=o.map(w=>se(E({},w),{id:`${this.clonedIdPrefix}${w.id}-append`,isActive:!1,isCloned:!0})),u=u.map(w=>se(E({},w),{id:`${this.clonedIdPrefix}${w.id}`,isActive:!1,isCloned:!0})),this.slidesData=u.concat(this.slidesData).concat(o)}},{filter:["width","items","settings"],run:()=>{let e=this.settings.rtl?1:-1,t=this._clones.length+this._items.length,s=[],r=-1,a=0,o=0;for(;++r<t;)a=s[r-1]||0,o=this._widths[this.relative(r)]+this.settings.margin,s.push(a+o*e);this._coordinates=s}},{filter:["width","items","settings"],run:()=>{let e=this.settings.stagePadding,t=this._coordinates,s={width:Math.ceil(Math.abs(t[t.length-1]))+e*2,"padding-left":e||"","padding-right":e||""};this.stageData.width=s.width,this.stageData.paddingL=s["padding-left"],this.stageData.paddingR=s["padding-right"]}},{filter:["width","items","settings"],run:e=>{let t=e.current?this.slidesData.findIndex(s=>s.id===e.current):0;t=Math.max(this.minimum(),Math.min(this.maximum(),t)),this.reset(t)}},{filter:["position"],run:()=>{this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:()=>{let e=this.settings.rtl?1:-1,t=this.settings.stagePadding*2,s=[],r,a,o,u,f,w;if(r=this.coordinates(this.current()),typeof r=="number"?r+=t:r=0,a=r+this.width()*e,e===-1&&this.settings.center){let O=this._coordinates.filter(pe=>this.settings.items%2===1?pe>=r:pe>r);r=O.length?O[O.length-1]:r}for(f=0,w=this._coordinates.length;f<w;f++)o=Math.ceil(this._coordinates[f-1]||0),u=Math.ceil(Math.abs(this._coordinates[f])+t*e),(this._op(o,"<=",r)&&this._op(o,">",a)||this._op(u,"<",r)&&this._op(u,">",a))&&s.push(f);this.slidesData.forEach(O=>
3(O.isActive=!1,O)),s.forEach(O=>{this.slidesData[O].isActive=!0}),this.settings.center&&(this.slidesData.forEach(O=>(O.isCentered=!1,O)),this.slidesData[this.current()].isCentered=!0)}}];constructor(e){this.logger=e}getViewCurSettings(){return this._viewSettingsShipper$.asObservable()}getInitializedState(){return this._initializedCarousel$.asObservable()}getChangeState(){return this._changeSettingsCarousel$.asObservable()}getChangedState(){return this._changedSettingsCarousel$.asObservable()}getTranslateState(){return this._translateCarousel$.asObservable()}getTranslatedState(){return this._translatedCarousel$.asObservable()}getResizeState(){return this._resizeCarousel$.asObservable()}getResizedState(){return this._resizedCarousel$.asObservable()}getRefreshState(){return this._refreshCarousel$.asObservable()}getRefreshedState(){return this._refreshedCarousel$.asObservable()}getDragState(){return this._dragCarousel$.asObservable()}getDraggedState(){return this._draggedCarousel$.asObservable()}setOptions(e){let t=new St,s=this._validateOptions(e,t);this._options=E(E({},t),s)}_validateOptions(e,t){let s=E({},e),r=new Mt,a=(o,u)=>(this.logger.log(`options.${u} must be type of ${o}; ${u}=${e[u]} skipped to defaults: ${u}=${t[u]}`),t[u]);for(let o in s)if(s.hasOwnProperty(o)){if(r[o]==="number")this._isNumeric(s[o])?(s[o]=+s[o],s[o]=o==="items"?this._validateItems(s[o],s.skip_validateItems):s[o]):s[o]=a(r[o],o);else if(r[o]==="boolean"&&typeof s[o]!="boolean")s[o]=a(r[o],o);else if(r[o]==="number|boolean"&&!this._isNumberOrBoolean(s[o]))s[o]=a(r[o],o);else if(r[o]==="number|string"&&!this._isNumberOrString(s[o]))s[o]=a(r[o],o);else if(r[o]==="string|boolean"&&!this._isStringOrBoolean(s[o]))s[o]=a(r[o],o);else if(r[o]==="string[]")if(Array.isArray(s[o])){let u=!1;s[o].forEach(f=>{u=typeof f=="string"}),u||(s[o]=a(r[o],o))}else s[o]=a(r[o],o)}return s}_validateItems(e,t){let s=e;return e>this._items.length?t?this.logger.log("The option 'items' in your options is bigger than the number of slides. The navigation got disabled"):(s=this._items.length,this.logger.log("The option 'items' in your options is bigger than the number of slides. This option is updated to the current number of slides and the navigation got disabled")):e===this._items.length&&(this.settings.dots||this.settings.nav)&&this.logger.log("Option 'items' in your options is equal to the number of slides. So the navigation got disabled"),s}setCarouselWidth(e){this._width=e}setup(e,t,s){this.setCarouselWidth(e),this.setItems(t),this._defineSlidesData(),this.setOptions(s),this.settings=E({},this._options),this.setOptionsForViewport(),this._trigger("change",{property:{name:"settings",value:this.settings}}),this.invalidate("settings"),this._trigger("changed",{property:{name:"settings",value:this.settings}})}setOptionsForViewport(){let e=this._width,t=this._options.responsive,s=-1;if(!Object.keys(t).length)return;if(!e){this.settings.items=1;return}for(let a in t)t.hasOwnProperty(a)&&+a<=e&&+a>s&&(s=Number(a));this.settings=se(E(E({},this._options),t[s]),{items:t[s]&&t[s].items?this._validateItems(t[s].items,this._options.skip_validateItems):this._options.items}),delete this.settings.responsive,this.owlDOMData.isResponsive=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag;let r=[];this._items.forEach(a=>{let o=this.settings.merge?a.dataMerge:1;r.push(o)}),this._mergers=r,this._breakpoint=s,this.invalidate("settings")}initialize(e){this.enter("initializing"),this.owlDOMData.rtl=this.settings.rtl,this._mergers.length&&(this._mergers=[]),e.forEach(t=>{let s=this.settings.merge?t.dataMerge:1;this._mergers.push(s)}),this._clones=[],this.reset(this._isNumeric(this.settings.startPosition)?+this.settings.startPosition:0),this.invalidate("items"),this.refresh(),this.owlDOMData.isLoaded=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag,this.sendChanges(),this.leave("initializing"),this._trigger("initialized")}sendChanges(){this._viewSettingsShipper$.next({owlDOMData:this.owlDOMData,stageData:this.stageData,slidesData:this.slidesData,navData:this.navData,dotsData:this.dotsData})}_optionsLogic(){this.settings.autoWidth&&(this.settings.stagePadding=0,this.settings.merge=!1)}update(){let e=0,t=this._pipe.length,s=a=>this._invalidated[a],r={};for(;e<t;){let a=this._pipe[e].filter.filter(s);(this._invalidated.all||a.length>0)&&this._pipe[e].run(r),e++}this.slidesData.forEach(a=>a.classes=this.setCurSlideClasses(a)),this.sendChanges(),this._invalidated={},this.is("valid")||this.enter("valid")}width(e){switch(e=e||et.Default,e){case et.Inner:case et.Outer:return this._width;default:return this._width-this.settings.stagePadding*2+this.settings.margin}}refresh(){this.enter("refreshing"),this._trigger("refresh"),this._defineSlidesData(),this.setOptionsForViewport(),this._optionsLogic(),this.update(),this.leave("refreshing"),this._trigger("refreshed")}onResize(e){if(!this._items.length)return!1;this.setCarouselWidth(e),this.enter("resizing"),this._trigger("resize"),this.invalidate("width"),this.refresh(),this.leave("resizing"),this._trigger("resized")}prepareDragging(e){let t=null,s;return s=this.stageData.transform.replace(/.*\(|\)| |[^,-\d]\w|\)/g,"").split(","),t={x:+s[0],y:+s[1]},this.is("animating")&&this.invalidate("position"),e.type==="mousedown"&&(this.owlDOMData.isGrab=!0),this.speed(0),t}enterDragging(){this.enter("dragging"),this._trigger("drag")}defineNewCoordsDrag(e,t){let s=null,r=null,a=null,o=this.difference(t.pointer,this.pointer(e)),u=this.difference(t.stage.start,o);return this.is("dragging")?(this.settings.loop?(s=this.coordinates(this.minimum()),r=+this.coordinates(this.maximum()+1)-s,u.x=((u.x-s)%r+r)%r+s):(s=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),r=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),a=this.settings.pullDrag?-1*o.x/5:0,u.x=Math.max(Math.min(u.x,s+a),r+a)),u):!1}
3finishDragging(e,t,s){let r=["right","left"],a=this.difference(t.pointer,this.pointer(e)),o=t.stage.current,u=r[+(this.settings.rtl?a.x<+this.settings.rtl:a.x>+this.settings.rtl)],f,w,O;(a.x!==0&&this.is("dragging")||!this.is("valid"))&&(this.speed(+this.settings.dragEndSpeed||this.settings.smartSpeed),f=this.closest(o.x,a.x!==0?u:t.direction),w=this.current(),O=this.current(f===-1?void 0:f),w!==O&&(this.invalidate("position"),this.update()),t.direction=u,(Math.abs(a.x)>3||new Date().getTime()-t.time>300)&&s()),this.is("dragging")&&(this.leave("dragging"),this._trigger("dragged"))}closest(e,t){let r=this.width(),a=this.coordinates(),o=-1;this.settings.center&&(a=a.map(u=>(u===0&&(u+=1e-6),u)));for(let u=0;u<a.length&&(t==="left"&&e>a[u]-30&&e<a[u]+30?o=u:t==="right"&&e>a[u]-r-30&&e<a[u]-r+30?o=u+1:this._op(e,"<",a[u])&&this._op(e,">",a[u+1]||a[u]-r)?o=t==="left"?u+1:u:t===null&&e>a[u]-30&&e<a[u]+30&&(o=u),o===-1);u++);return this.settings.loop||(this._op(e,">",a[this.minimum()])?o=e=this.minimum():this._op(e,"<",a[this.maximum()])&&(o=e=this.maximum())),o}animate(e){let t=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),t&&(this.enter("animating"),this._trigger("translate")),this.stageData.transform="translate3d("+e+"px,0px,0px)",this.stageData.transition=this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}is(e){return this._states.current[e]&&this._states.current[e]>0}current(e){if(e===void 0)return this._current;if(this._items.length!==0){if(e=this.normalize(e),this._current!==e){let t=this._trigger("change",{property:{name:"position",value:e}});this._current=e,this.invalidate("position"),this._trigger("changed",{property:{name:"position",value:this._current}})}return this._current}}invalidate(e){return typeof e=="string"&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),Object.keys(this._invalidated)}reset(e){e=this.normalize(e),e!==void 0&&(this._speed=0,this._current=e,this._suppress(["translate","translated"]),this.animate(this.coordinates(e)),this._release(["translate","translated"]))}normalize(e,t){let s=this._items.length,r=t?0:this._clones.length;return!this._isNumeric(e)||s<1?e=void 0:(e<0||e>=s+r)&&(e=((e-r/2)%s+s)%s+r/2),e}relative(e){return e-=this._clones.length/2,this.normalize(e,!0)}maximum(e=!1){let t=this.settings,s=this._coordinates.length,r,a,o;if(t.loop)s=this._clones.length/2+this._items.length-1;else if(t.autoWidth||t.merge){for(r=this._items.length,a=this.slidesData[--r].width,o=this._width;r-- >0&&(a+=+this.slidesData[r].width+this.settings.margin,!(a>o)););s=r+1}else t.center?s=this._items.length-1:s=this._items.length-t.items;return e&&(s-=this._clones.length/2),Math.max(s,0)}minimum(e=!1){return e?0:this._clones.length/2}items(e){return e===void 0?this._items.slice():(e=this.normalize(e,!0),[this._items[e]])}mergers(e){return e===void 0?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])}clones(e){let t=this._clones.length/2,s=t+this._items.length,r=a=>a%2===0?s+a/2:t-(a+1)/2;return e===void 0?this._clones.map((a,o)=>r(o)):this._clones.map((a,o)=>a===e?r(o):null).filter(a=>a)}speed(e){return e!==void 0&&(this._speed=e),this._speed}coordinates(e){let t=1,s=e-1,r,a;return e===void 0?(a=this._coordinates.map((o,u)=>this.coordinates(u)),a):(this.settings.center?(this.settings.rtl&&(t=-1,s=e+1),r=this._coordinates[e],r+=(this.width()-r+(this._coordinates[s]||0))/2*t):r=this._coordinates[s]||0,r=Math.ceil(r),r)}_duration(e,t,s){return s===0?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(+s||this.settings.smartSpeed)}to(e,t){let s=this.current(),r=null,a=e-this.relative(s),o=this.maximum(),u=0,f=+(a>0)-+(a<0),w=this._items.length,O=this.minimum();this.settings.loop?(!this.settings.rewind&&Math.abs(a)>w/2&&(a+=f*-1*w),e=s+a,r=((e-O)%w+w)%w+O,r!==e&&r-a<=o&&r-a>0&&(s=r-a,e=r,u=30,this.reset(s),this.sendChanges())):this.settings.rewind?(o+=1,e=(e%o+o)%o):e=Math.max(O,Math.min(o,e)),setTimeout(()=>{this.speed(this._duration(s,e,t)),this.current(e),this.update()},u)}next(e){e=e||!1,this.to(this.relative(this.current())+1,e)}prev(e){e=e||!1,this.to(this.relative(this.current())-1,e)}onTransitionEnd(e){if(e!==void 0)return!1;this.leave("animating"),this._trigger("translated")}_viewport(){let e;return this._width?e=this._width:this.logger.log("Can not detect viewport width."),e}setItems(e){this._items=e}_defineSlidesData(){let e;this.slidesData&&this.slidesData.length&&(e=new Map,this.slidesData.forEach(t=>
3{t.load&&e.set(t.id,t.load)})),this.slidesData=this._items.map(t=>({id:`${t.id}`,isActive:!1,tplRef:t.tplRef,dataMerge:t.dataMerge,width:0,isCloned:!1,load:e?e.get(t.id):!1,hashFragment:t.dataHash}))}setCurSlideClasses(e){let t={active:e.isActive,center:e.isCentered,cloned:e.isCloned,animated:e.isAnimated,"owl-animated-in":e.isDefAnimatedIn,"owl-animated-out":e.isDefAnimatedOut};return this.settings.animateIn&&(t[this.settings.animateIn]=e.isCustomAnimatedIn),this.settings.animateOut&&(t[this.settings.animateOut]=e.isCustomAnimatedOut),t}_op(e,t,s){let r=this.settings.rtl;switch(t){case"<":return r?e>s:e<s;case">":return r?e<s:e>s;case">=":return r?e<=s:e>=s;case"<=":return r?e>=s:e<=s;default:break}}_trigger(e,t,s,r,a){switch(e){case"initialized":this._initializedCarousel$.next(e);break;case"change":this._changeSettingsCarousel$.next(t);break;case"changed":this._changedSettingsCarousel$.next(t);break;case"drag":this._dragCarousel$.next(e);break;case"dragged":this._draggedCarousel$.next(e);break;case"resize":this._resizeCarousel$.next(e);break;case"resized":this._resizedCarousel$.next(e);break;case"refresh":this._refreshCarousel$.next(e);break;case"refreshed":this._refreshedCarousel$.next(e);break;case"translate":this._translateCarousel$.next(e);break;case"translated":this._translatedCarousel$.next(e);break;default:break}}enter(e){[e].concat(this._states.tags[e]||[]).forEach(t=>{this._states.current[t]===void 0&&(this._states.current[t]=0),this._states.current[t]++})}leave(e){[e].concat(this._states.tags[e]||[]).forEach(t=>{(this._states.current[t]===0||this._states.current[t])&&this._states.current[t]--})}register(e){e.type===ki.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=this._states.tags[e.name].filter((t,s)=>this._states.tags[e.name].indexOf(t)===s))}_suppress(e){e.forEach(t=>{this._supress[t]=!0})}_release(e){e.forEach(t=>{delete this._supress[t]})}pointer(e){let t={x:null,y:null};return e=e.originalEvent||e||window.event,e=e.touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,e.pageX?(t.x=e.pageX,t.y=e.pageY):(t.x=e.clientX,t.y=e.clientY),t}_isNumeric(e){return!isNaN(parseFloat(e))}_isNumberOrBoolean(e){return this._isNumeric(e)||typeof e=="boolean"}_isNumberOrString(e){return this._isNumeric(e)||typeof e=="string"}_isStringOrBoolean(e){return typeof e=="string"||typeof e=="boolean"}difference(e,t){return e===null||t===null?{x:0,y:0}:{x:e.x-t.x,y:e.y-t.y}}static \u0275fac=function(t){return new(t||i)(k(Pt))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),wi=(()=>{class i{carouselService;navSubscription;_initialized=!1;_pages=[];_navData={disabled:!1,prev:{disabled:!1,htmlText:""},next:{disabled:!1,htmlText:""}};_dotsData={disabled:!1,dots:[]};constructor(e){this.carouselService=e,this.spyDataStreams()}ngOnDestroy(){this.navSubscription.unsubscribe()}spyDataStreams(){let e=this.carouselService.getInitializedState().pipe(S(a=>{this.initialize(),this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),t=this.carouselService.getChangedState().pipe(ue(a=>a.property.name==="position"),S(a=>{this.update()})),s=this.carouselService.getRefreshedState().pipe(S(()=>{this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),r=Y(e,t,s);this.navSubscription=r.subscribe(()=>{})}initialize(){this._navData.disabled=!0,this._navData.prev.htmlText=this.carouselService.settings.navText[0],this._navData.next.htmlText=this.carouselService.settings.navText[1],this._dotsData.disabled=!0,this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}_updateNavPages(){let e,t,s,r=this.carouselService.clones().length/2,a=r+this.carouselService.items().length,o=this.carouselService.maximum(!0),u=[],f=this.carouselService.settings,w=f.center||f.autoWidth||f.dotsData?1:Math.floor(Number(f.dotsEach))||Math.floor(f.items);if(w=+w,f.slideBy!=="page"&&(f.slideBy=Math.min(+f.slideBy,f.items)),f.dots||f.slideBy==="page")for(e=r,t=0,s=0;e<a;e++){if(t>=w||t===0){if(u.push({start:Math.min(o,e-r),end:e-r+w-1}),Math.min(o,e-r)===o)break;t=0,++s}t+=this.carouselService.mergers(this.carouselService.relative(e))}this._pages=u}draw(){let e,t=this.carouselService.settings,s=this.carouselService.items(),r=s.length<=t.items;if(this._navData.disabled=!t.nav||r,this._dotsData.disabled=!t.dots||r,t.dots)if(e=this._pages.length-this._dotsData.dots.length,t.dotsData&&e!==0)this._dotsData.dots=[],s.forEac
3h(a=>{this._dotsData.dots.push({active:!1,id:`dot-${a.id}`,innerContent:a.dotContent,showInnerContent:!0})});else if(e>0){let a=this._dotsData.dots.length>0?this._dotsData.dots.length:0;for(let o=0;o<e;o++)this._dotsData.dots.push({active:!1,id:`dot-${o+a}`,innerContent:"",showInnerContent:!1})}else e<0&&this._dotsData.dots.splice(e,Math.abs(e));this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}update(){this._updateNavButtons(),this._updateDots()}_updateNavButtons(){let e=this.carouselService.settings,t=e.loop||e.rewind,s=this.carouselService.relative(this.carouselService.current());e.nav&&(this._navData.prev.disabled=!t&&s<=this.carouselService.minimum(!0),this._navData.next.disabled=!t&&s>=this.carouselService.maximum(!0)),this.carouselService.navData=this._navData}_updateDots(){let e;this.carouselService.settings.dots&&(this._dotsData.dots.forEach(t=>{t.active===!0&&(t.active=!1)}),e=this._current(),this._dotsData.dots.length&&(this._dotsData.dots[e].active=!0),this.carouselService.dotsData=this._dotsData)}_current(){let e=this.carouselService.relative(this.carouselService.current()),t,s=this._pages.filter((r,a)=>r.start<=e&&r.end>=e).pop();return t=this._pages.findIndex(r=>r.start===s.start&&r.end===s.end),t}_getPosition(e){let t,s,r=this.carouselService.settings;return r.slideBy==="page"?(t=this._current(),s=this._pages.length,e?++t:--t,t=this._pages[(t%s+s)%s].start):(t=this.carouselService.relative(this.carouselService.current()),s=this.carouselService.items().length,e?t+=+r.slideBy:t-=+r.slideBy),t}next(e){this.carouselService.to(this._getPosition(!0),e)}prev(e){this.carouselService.to(this._getPosition(!1),e)}to(e,t,s){let r;!s&&this._pages.length?(r=this._pages.length,this.carouselService.to(this._pages[(e%r+r)%r].start,t)):this.carouselService.to(e,t)}moveByDot(e){let t=this._dotsData.dots.findIndex(s=>e===s.id);this.to(t,this.carouselService.settings.dotsSpeed)}toSlideById(e){let t=this.carouselService.slidesData.findIndex(s=>s.id===e&&s.isCloned===!1);t===-1||t===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(t),!1)}static \u0275fac=function(t){return new(t||i)(k(X))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Dt=new ut("WindowToken"),we=class{get nativeWindow(){throw new Error("Not implemented.")}},Hn=(()=>{class i extends we{constructor(){super()}get nativeWindow(){return window}static \u0275fac=function(t){return new(t||i)};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})();function $n(i,n){return ze(n)?i.nativeWindow:{setTimeout:(t,s)=>{},clearTimeout:t=>{}}}var Bn={provide:we,useClass:Hn},jn={provide:Dt,useFactory:$n,deps:[we,Te]},Nn=[Bn,jn],tt=new ut("DocumentToken"),Se=class{get nativeDocument(){throw new Error("Not implemented.")}},qn=(()=>{class i extends Se{constructor(){super()}get nativeDocument(){return document}static \u0275fac=function(t){return new(t||i)};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})();function Vn(i,n){return ze(n)?i.nativeDocument:{hidden:!1,visibilityState:"visible"}}var Un={provide:Se,useClass:qn},Wn={provide:tt,useFactory:Vn,deps:[Se,Te]},Yn=[Un,Wn],Si=(()=>{class i{carouselService;ngZone;autoplaySubscription;_timeout=null;_paused=!1;_isArtificialAutoplayTimeout;_isAutoplayStopped=!1;get isAutoplayStopped(){return this._isAutoplayStopped}set isAutoplayStopped(e){this._isAutoplayStopped=e}winRef;docRef;constructor(e,t,s,r){this.carouselService=e,this.ngZone=r,this.winRef=t,this.docRef=s,this.spyDataStreams()}ngOnDestroy(){this.autoplaySubscription.unsubscribe()}spyDataStreams(){let e=this.carouselService.getInitializedState().pipe(S(()=>{this.carouselService.settings.autoplay&&this.play()})),t=this.carouselService.getChangedState().pipe(S(a=>{this._handleChangeObservable(a)})),s=this.carouselService.getResizedState().pipe(S(()=>{this.carouselService.settings.autoplay&&!this._isAutoplayStopped?this.play():this.stop()})),r=Y(e,t,s);this.autoplaySubscription=r.subscribe(()=>{})}play(e,t){this._paused&&(this._paused=!1,this._setAutoPlayInterval(this.carouselService.settings.autoplayMouseleaveTimeout)),!this.carouselService.is("rotating")&&(this.carouselService.enter("rotating"),this._setAutoPlayInterval())}_getNextTimeout(e,t){return this._timeout&&this.winRef.clearTimeout(this._timeout),this._isArtificialAutoplayTimeout=!!e,this.ngZone.runOutsideAngular(()=>this.winRef.setTimeout(()=>{this.ngZone.run(()=>{this._paused||this.carouselService.is("busy")||this.carouselService.is("interacting")||this.docRef.hidden||this.carouselService.next(t||this.carouselService.settings.autoplaySpeed)})},e||this.carouselService.settings.autoplayTimeout))}_setAutoPlayInterval(e){this._timeout=this._getNextTimeout(e)}stop(){this.carouselService.is("rotating")&&(this._paused=!0,this.winRef.clearTimeout(this._timeout),this.carouselService.leave("rotating"))}pause(){this.carouselService.is("rotating")&&(this._paused=!0)}_handleChangeObservable(e){e.property.name==="settings"?this.carouselService.settings.autoplay?this.play():this.stop():e.property.name==="position"&&this.carouselService.settings.autoplay&&this._setAutoPlayInterval()}_playAfterTranslated(){ve("translated").pipe(ge(e=>this.carouselService.getTranslatedState()),De(),ue(()=>this._isArtificialAutoplayTimeout),S(()=>this._setAutoPlayInterval())).subscribe(()=>{})}startPausing(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&this.pause()}startPlayingMouseLeave(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}startPlayingTouchEnd(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}static \u0275fac=function(t){return new(t||i)(k(X),k(Dt),k(tt),k(ht))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Mi=(()=>{class i{carouselService;lazyLoadSubscription;
3constructor(e){this.carouselService=e,this.spyDataStreams()}ngOnDestroy(){this.lazyLoadSubscription.unsubscribe()}spyDataStreams(){let e=this.carouselService.getInitializedState().pipe(S(()=>{let a=this.carouselService.settings&&!this.carouselService.settings.lazyLoad;this.carouselService.slidesData.forEach(o=>o.load=!!a)})),t=this.carouselService.getChangeState(),s=this.carouselService.getResizedState(),r=Y(e,t,s).pipe(S(a=>this._defineLazyLoadSlides(a)));this.lazyLoadSubscription=r.subscribe(()=>{})}_defineLazyLoadSlides(e){if(!(!this.carouselService.settings||!this.carouselService.settings.lazyLoad)&&(e.property&&e.property.name==="position"||e==="initialized"||e==="resized")){let t=this.carouselService.settings,s=this.carouselService.clones().length,r=t.center&&Math.ceil(t.items/2)||t.items,a=t.center&&r*-1||0,o=(e.property&&e.property.value!==void 0?e.property.value:this.carouselService.current())+a;for(t.lazyLoadEager>0&&(r+=t.lazyLoadEager,t.loop&&(o-=t.lazyLoadEager,r++));a++<r;)this._load(s/2+this.carouselService.relative(o)),s&&this.carouselService.clones(this.carouselService.relative(o)).forEach(u=>this._load(u)),o++}}_load(e){this.carouselService.slidesData[e].load||(this.carouselService.slidesData[e].load=!0)}static \u0275fac=function(t){return new(t||i)(k(X))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Ot=(()=>{class i{carouselService;animateSubscription;swapping=!0;previous=void 0;next=void 0;constructor(e){this.carouselService=e,this.spyDataStreams()}ngOnDestroy(){this.animateSubscription.unsubscribe()}spyDataStreams(){let e=this.carouselService.getChangeState().pipe(S(f=>{f.property.name==="position"&&(this.previous=this.carouselService.current(),this.next=f.property.value)})),t=this.carouselService.getDragState(),s=this.carouselService.getDraggedState(),r=this.carouselService.getTranslatedState(),a=Y(t,s,r).pipe(S(f=>this.swapping=f==="translated")),o=this.carouselService.getTranslateState().pipe(S(f=>{this.swapping&&(this.carouselService._options.animateOut||this.carouselService._options.animateIn)&&this._swap()})),u=Y(e,o,a).pipe();this.animateSubscription=u.subscribe(()=>{})}_swap(){if(this.carouselService.settings.items!==1)return;this.carouselService.speed(0);let e,t=this.carouselService.slidesData[this.previous],s=this.carouselService.slidesData[this.next],r=this.carouselService.settings.animateIn,a=this.carouselService.settings.animateOut;this.carouselService.current()!==this.previous&&(a&&(e=+this.carouselService.coordinates(this.previous)-+this.carouselService.coordinates(this.next),this.carouselService.slidesData.forEach(o=>{o.id===t.id&&(o.left=`${e}px`,o.isAnimated=!0,o.isDefAnimatedOut=!0,o.isCustomAnimatedOut=!0)})),r&&this.carouselService.slidesData.forEach(o=>{o.id===s.id&&(o.isAnimated=!0,o.isDefAnimatedIn=!0,o.isCustomAnimatedIn=!0)}))}clear(e){this.carouselService.slidesData.forEach(t=>{t.id===e&&(t.left="",t.isAnimated=!1,t.isDefAnimatedOut=!1,t.isCustomAnimatedOut=!1,t.isDefAnimatedIn=!1,t.isCustomAnimatedIn=!1,t.classes=this.carouselService.setCurSlideClasses(t))}),this.carouselService.onTransitionEnd()}static \u0275fac=function(t){return new(t||i)(k(X))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Oi=(()=>{class i{carouselService;autoHeightSubscription;constructor(e){this.carouselService=e,this.spyDataStreams()}ngOnDestroy(){this.autoHeightSubscription.unsubscribe()}spyDataStreams(){let e=this.carouselService.getInitializedState().pipe(S(a=>{this.carouselService.settings.autoHeight?this.update():this.carouselService.slidesData.forEach(o=>o.heightState="full")})),t=this.carouselService.getChangedState().pipe(S(a=>{this.carouselService.settings.autoHeight&&a.property.name==="position"&&this.update()})),s=this.carouselService.getRefreshedState().pipe(S(a=>{this.carouselService.settings.autoHeight&&this.update()})),r=Y(e,t,s);this.autoHeightSubscription=r.subscribe(()=>{})}update(){let e=this.carouselService.settings.items,t=this.carouselService.current(),s=t+e;this.carouselService.settings.center&&(t=e%2===1?t-(e-1)/2:t-e/2,s=e%2===1?t+e:t+e+1),this.carouselService.slidesData.forEach((r,a)=>{r.heightState=a>=t&&a<s?"full":"nulled"})}static \u0275fac=function(t){return new(t||i)(k(X))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Pi=(()=>{class i{carouselService;route;router;hashSubscription;currentHashFragment;constructor(e,t,s){this.carouselService=e,this.route=t,this.router=s,this.spyDataStream
3s(),this.route||(this.route={fragment:ve("no route").pipe(dt(1))}),this.router||(this.router={navigate:(r,a)=>{}})}ngOnDestroy(){this.hashSubscription.unsubscribe()}spyDataStreams(){let e=this.carouselService.getInitializedState().pipe(S(()=>this.listenToRoute())),t=this.carouselService.getChangedState().pipe(S(r=>{if(this.carouselService.settings.URLhashListener&&r.property.name==="position"){let a=this.carouselService.current(),o=this.carouselService.slidesData[a].hashFragment;if(!o||o===this.currentHashFragment)return;this.router.navigate(["./"],{fragment:o,relativeTo:this.route})}})),s=Y(e,t);this.hashSubscription=s.subscribe(()=>{})}rewind(e){let t=this.carouselService.slidesData.findIndex(s=>s.hashFragment===e&&s.isCloned===!1);t===-1||t===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(t),!1)}listenToRoute(){let e=this.carouselService.settings.startPosition==="URLHash"?0:2;this.route.fragment.pipe(pt(e)).subscribe(t=>{this.currentHashFragment=t,this.rewind(t)})}static \u0275fac=function(t){return new(t||i)(k(X),k(ui,8),k(me,8))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Gn=0,kt=(()=>{class i{tplRef;id=`owl-slide-${Gn++}`;_dataMerge=1;set dataMerge(e){this._dataMerge=this.isNumeric(e)?e:1}get dataMerge(){return this._dataMerge}width=0;dotContent="";dataHash="";constructor(e){this.tplRef=e}isNumeric(e){return!isNaN(parseFloat(e))}static \u0275fac=function(t){return new(t||i)(x(jt))};static \u0275dir=Vt({type:i,selectors:[["ng-template","carouselSlide",""]],inputs:{id:"id",dataMerge:"dataMerge",width:"width",dotContent:"dotContent",dataHash:"dataHash"},standalone:!1})}return i})(),Ti=(()=>{class i{resizeObservable$;docRef;get onResize$(){return this.resizeObservable$.pipe(ue(()=>!this.docRef?.fullscreenElement))}constructor(e,t,s){this.docRef=t,this.resizeObservable$=ze(s)?Pe(e,"resize"):new z().asObservable()}static \u0275fac=function(t){return new(t||i)(k(Dt),k(tt),k(Te))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Qn=(()=>{class i{zone;el;renderer;carouselService;animateService;owlDraggable;stageData;slidesData;listenerMouseMove;listenerTouchMove;listenerOneMouseMove;listenerOneTouchMove;listenerMouseUp;listenerTouchEnd;listenerOneClick;listenerATag;_drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1};_oneDragMove$=new z;_oneMoveSubsription;preparePublicSlide=e=>{let t=E({},e);return delete t.tplRef,t};constructor(e,t,s,r,a){this.zone=e,this.el=t,this.renderer=s,this.carouselService=r,this.animateService=a}onMouseDown(e){this.owlDraggable.isMouseDragable&&this._onDragStart(e)}onTouchStart(e){if(e.targetTouches.length>=2)return!1;this.owlDraggable.isTouchDragable&&this._onDragStart(e)}onTouchCancel(e){this._onDragEnd(e)}
3onDragStart(){if(this.owlDraggable.isMouseDragable)return!1}onSelectStart(){if(this.owlDraggable.isMouseDragable)return!1}ngOnInit(){this._oneMoveSubsription=this._oneDragMove$.pipe(De()).subscribe(()=>{this._sendChanges()})}ngOnDestroy(){this._oneMoveSubsription.unsubscribe()}bindOneMouseTouchMove=e=>{this._oneMouseTouchMove(e)};bindOnDragMove=e=>{this._onDragMove(e)};bindOnDragEnd=e=>{this._onDragEnd(e)};_onDragStart(e){let t=null;e.which!==3&&(t=this._prepareDragging(e),this._drag.time=new Date().getTime(),this._drag.target=e.target,this._drag.stage.start=t,this._drag.stage.current=t,this._drag.pointer=this._pointer(e),this.listenerMouseUp=this.renderer.listen(document,"mouseup",this.bindOnDragEnd),this.listenerTouchEnd=this.renderer.listen(document,"touchend",this.bindOnDragEnd),this.zone.runOutsideAngular(()=>{this.listenerOneMouseMove=this.renderer.listen(document,"mousemove",this.bindOneMouseTouchMove),this.listenerOneTouchMove=this.renderer.listen(document,"touchmove",this.bindOneMouseTouchMove)}))}_oneMouseTouchMove(e){let t=this._difference(this._drag.pointer,this._pointer(e));this.listenerATag&&this.listenerATag(),!(Math.abs(t.x)<3&&Math.abs(t.y)<3&&this._is("valid"))&&(Math.abs(t.x)<3&&Math.abs(t.x)<Math.abs(t.y)&&this._is("valid")||(this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving=!0,this.blockClickAnchorInDragging(e),this.listenerMouseMove=this.renderer.listen(document,"mousemove",this.bindOnDragMove),this.listenerTouchMove=this.renderer.listen(document,"touchmove",this.bindOnDragMove),e.preventDefault(),this._enterDragging(),this._oneDragMove$.next(e)))}blockClickAnchorInDragging(e){let t=e.target;for(;t&&!(t instanceof HTMLAnchorElement);)t=t.parentElement;t instanceof HTMLAnchorElement&&(this.listenerATag=this.renderer.listen(t,"click",()=>!1))}_onDragMove(e){let t,s=this.carouselService.defineNewCoordsDrag(e,this._drag);s!==!1&&(t=s,e.preventDefault(),this._drag.stage.current=t,this._animate(t.x-this._drag.stage.start.x))}_animate(e){this.renderer.setStyle(this.el.nativeElement.children[0],"transform",`translate3d(${e}px,0px,0px`),this.renderer.setStyle(this.el.nativeElement.children[0],"transition","0s")}_onDragEnd(e){this.carouselService.owlDOMData.isGrab=!1,this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving&&(this.renderer.setStyle(this.el.nativeElement.children[0],"transform",""),this.renderer.setStyle(this.el.nativeElement.children[0],"transition",this.carouselService.speed(+this.carouselService.settings.dragEndSpeed||this.carouselService.settings.smartSpeed)/1e3+"s"),this._finishDragging(e),this.listenerMouseMove(),this.listenerTouchMove()),this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1},this.listenerMouseUp(),this.listenerTouchEnd()}_prepareDragging(e){return this.carouselService.prepareDragging(e)}_oneClickHandler=()=>{this.listenerOneClick=this.renderer.listen(this._drag.target,"click",()=>!1),this.listenerOneClick()};_finishDragging(e){this.carouselService.finishDragging(e,this._drag,this._oneClickHandler)}_pointer(e){return this.carouselService.pointer(e)}_difference(e,t){return this.carouselService.difference(e,t)}_is(e){return this.carouselService.is(e)}_enter(e){this.carouselService.enter(e)}_sendChanges(){this.carouselService.sendChanges()}onTransitionEnd(){this.carouselService.onTransitionEnd()}_enterDragging(){this.carouselService.enterDragging()}clear(e){this.animateService.clear(e)}static \u0275fac=function(t){return new(t||i)(x(ht),x(mt),x(Nt),x(X),x(Ot))};static \u0275cmp=_({type:i,selectors:[["owl-stage"]],hostBindings:function(t,s){t&1&&y("mousedown",function(a){return s.onMouseDown(a)})("touchstart",function(a){return s.onTouchStart(a)})("touchcancel",function(a){return s.onTouchCancel(a)})("dragstart",function(){return s.onDragStart()})("selectstart",function(){return s.onSelectStart()})},inputs:{owlDraggable:"owlDraggable",stageData:"stageData",slidesData:"slidesData"},standalone:!1,decls:4,vars:7,consts:[[1,"owl-stage",3,"transitionend","ngStyle"],[1,"owl-item",3,"ngClass","ngStyle"],[1,"owl-item",3,"animationend","ngClass","ngStyle"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,s){t&1&&(l(0,"div")(1,"div",0),y("transitionend",function(){return s.onTransitionEnd()}),j(2,In,2,9,"div",1,Di),d()()),t&2&&(c(),p("ngStyle",vt(1,On,s.stageData.width+"px",s.stageData.transform,s.stageData.transition,s.stageData.paddingL?s.stageData.paddingL+"px":"",s.stageData.paddingR?s.stageData.paddingR+"px":"")),c(),N(s.slidesData))},dependencies:[ce,ai,Ee],encapsulation:2,data:{animation:[wt("autoHeight",[Xe("nulled",Ke({height:0})),Xe("full",Ke({height:"*"})),Ze("full => nulled",[Qe("700ms 350ms")]),Ze("nulled => full",[Qe(350)])])]}})}return i})(),Ii=(()=>{class i{el;resizeService;carouselService;navigationService;autoplayService;lazyLoadService;animateService;autoHeightService;hashService;logger;changeDetectorRef;slides;translated=new J;dragging=new J;change=new J;changed=new J;initialized=new J;carouselWindowWidth;resizeSubscription;_allObservSubscription;_slidesChangesSubscription;owlDOMData;stageData;slidesData=[];navData;dotsData;slidesOutputData;carouselLoaded=!1;options;prevOptions;_viewCurSettings$;_translatedCarousel$;_draggingCarousel$;_changeCarousel$;_changedCarousel$;_initializedCarousel$;_carouselMerge$;docRef;constructor(e,t,s,r,a,o,u,f,w,O,pe,_e){this.el=e,this.resizeService=t,this.carouselService=s,this.navigationService=r,this.autoplayService=a,this.lazyLoadService=o,this.animateService=u,this.autoHeightService=f,this.hashService=w,this.logger=O,this.changeDetectorRef=pe,this.docRef=_e}onVisibilityChange(e){if(this.carouselService.settings.autoplay)switch(this.docRef.visibilityState){case"visible":!this.autoplayService.isAutoplayStopped&&this.autoplayService.play();break;case"hidden":this.autoplayService.pause();break;default:break}}
3ngOnInit(){this.spyDataStreams(),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}ngOnChanges(){this.prevOptions!==this.options&&(this.prevOptions&&this.slides?.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray())):this.prevOptions&&!this.slides?.toArray().length?(this.carouselLoaded=!1,this.logger.log("There are no slides to show. So the carousel won't be re-rendered")):this.carouselLoaded=!1,this.prevOptions=this.options)}ngAfterContentInit(){this.slides.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray()),this._winResizeWatcher()):this.logger.log("There are no slides to show. So the carousel won't be rendered"),this._slidesChangesSubscription=this.slides.changes.pipe(S(e=>{this.carouselService.setup(this.carouselWindowWidth,e.toArray(),this.options),this.carouselService.initialize(e.toArray()),e.toArray().length||(this.carouselLoaded=!1),e.toArray().length&&!this.resizeSubscription&&this._winResizeWatcher()})).subscribe(()=>{})}ngOnDestroy(){this.resizeSubscription&&this.resizeSubscription.unsubscribe(),this._slidesChangesSubscription&&this._slidesChangesSubscription.unsubscribe(),this._allObservSubscription&&this._allObservSubscription.unsubscribe()}spyDataStreams(){this._viewCurSettings$=this.carouselService.getViewCurSettings().pipe(S(e=>{this.owlDOMData=e.owlDOMData,this.stageData=e.stageData,this.slidesData=e.slidesData,this.carouselLoaded||(this.carouselLoaded=!0),this.navData=e.navData,this.dotsData=e.dotsData,this.changeDetectorRef.markForCheck()})),this._initializedCarousel$=this.carouselService.getInitializedState().pipe(S(()=>{this.gatherTranslatedData(),this.initialized.emit(this.slidesOutputData)})),this._translatedCarousel$=this.carouselService.getTranslatedState().pipe(S(()=>{this.gatherTranslatedData(),this.translated.emit(this.slidesOutputData)})),this._changeCarousel$=this.carouselService.getChangeState().pipe(S(()=>{this.gatherTranslatedData(),this.change.emit(this.slidesOutputData)})),this._changedCarousel$=this.carouselService.getChangeState().pipe(ge(e=>{let t=ve(e).pipe(ue(()=>e.property.name==="position"),ge(()=>It(this.slidesData)),pt(e.property.value),dt(this.carouselService.settings.items),Oe(s=>{let r=this.carouselService.clonedIdPrefix,a=s.id.indexOf(r)>=0?s.id.slice(r.length):s.id;return se(E({},s),{id:a,isActive:!0})}),Lt(),Oe(s=>({slides:s,startPosition:this.carouselService.relative(e.property.value)})));return Y(t)}),S(e=>{this.gatherTranslatedData(),this.changed.emit(e.slides.length?e:this.slidesOutputData)})),this._draggingCarousel$=this.carouselService.getDragState().pipe(S(()=>{this.gatherTranslatedData(),this.dragging.emit({dragging:!0,data:this.slidesOutputData})}),ge(()=>this.carouselService.getDraggedState().pipe(Oe(()=>!!this.carouselService.is("animating")))),ge(e=>e?this.carouselService.getTranslatedState().pipe(De()):ve("not animating")),S(()=>{this.dragging.emit({dragging:!1,data:this.slidesOutputData})})),this._carouselMerge$=Y(this._viewCurSettings$,this._translatedCarousel$,this._draggingCarousel$,this._changeCarousel$,this._changedCarousel$,this._initializedCarousel$),this._allObservSubscription=this._carouselMerge$.subscribe(()=>{})}_winResizeWatcher(){Object.keys(this.carouselService._options.responsive).length&&(this.resizeSubscription=this.resizeService.onResize$.pipe(ue(()=>this.carouselWindowWidth!==this.el.nativeElement.querySelector(".owl-carousel").clientWidth),At(this.carouselService.settings.responsiveRefreshRate)).subscribe(()=>{this.carouselService.onResize(this.el.nativeElement.querySelector(".owl-carousel").clientWidth),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}))}onTransitionEnd(){this.carouselService.onTransitionEnd()}next(){this.carouselLoaded&&this.navigationService.next(this.carouselService.settings.navSpeed)}prev(){this.carouselLoaded&&this.navigationService.prev(this.carouselService.settings.navSpeed)}moveByDot(e){this.carouselLoaded&&this.navigationService.moveByDot(e)}to(e){this.carouselLoaded&&this.navigationService.toSlideById(e)}gatherTranslatedData(){let e,t=this.carouselService.clonedIdPrefix,s=this.slidesData.filter(r=>r.isActive===!0).map(r=>({id:r.id.indexOf(t)>=0?r.id.slice(t.length):r.id,width:r.width,marginL:r.marginL,marginR:r.marginR,center:r.isCentered}));e=this.carouselService.relative(this.carouselService.current()),this.slidesOutputData={startPosition:e,slides:s}}startPausing(){this.autoplayService.startPausing()}startPlayML(){this.autoplayService.startPlayingMouseLeave()}startPlayTE(){this.autoplayService.startPlayingTouchEnd()}stopAutoplay(){this.autoplayService.isAutoplayStopped=!0,this.autoplayService.stop()}startAutoplay(){this.autoplayService.isAutoplayStopped=!1,this.autoplayService.play()}static \u0275fac=function(t){return new(t||i)(x(mt),x(Ti),x(X),x(wi),x(Si),x(Mi),x(Ot),x(Oi),x(Pi),x(Pt),x(ri),x(tt))};static \u0275cmp=_({type:i,selectors:[["owl-carousel-o"]],contentQueries:function(t,s,r){if(t&1&&Kt(r,kt,4),t&2){let a;ae(a=oe())&&(s.slides=a)}},hostBindings:function(t,s){t&1&&y("visibilitychange",function(a){return s.onVisibilityChange(a)},!1,Bt)},inputs:{options:"options"},outputs:{translated:"translated",dragging:"dragging",change:"change",changed:"changed",initialized:"initialized"},standalone:!1,features:[ei([wi,Si,X,Mi,Ot,Oi,Pi]),ke],decls:4,vars:9,consts:[["owlCarousel",""],[1,"owl-carousel","owl-theme",3,"mouseover","mouseleave","touchstart","touchend","ngClass"],[1,"owl-stage-outer"],[3,"owlDraggable","stageData","slidesData"],[1,"owl-nav",3,"ngClass"],[1,"owl-prev",3,"click","ngClass","innerHTML"],[1,"owl-next",3,"click","ngClass","innerHTML"],[1,"owl-dots",3,"ngClass"],[1,"owl-dot",3,"ngClass"],[1,"owl-dot",3,"click","ngClass"],[3,"innerHTML"]],template:function(t,s){if(t&1){let r=$();l(0,"div",1,0),y("mouseover",function(){return P(r),D(s.startPausing())})("mouseleave",function(){return P(r),D(s.startPlayML())})("touchstart",function(){return P(r),D(s.startPausing())})("touchend",function(){return P(r),D(s.startPlayTE())}),b(2,An,2,6,"div",2)(3,Rn,6,14),d()}t&2&&(p("ngClass",vt(3,En,s.owlDOMData==null?null:s.owlDOMData.rtl,s.owlDOMData==null?null:s.owlDOMData.isLoaded,s.owlDOMData==null?null:s.owlDOMData.isResponsive,s.owlDOMData==null?null:s.owlDOMData.isMouseDragable,s.owlDOMData==null?null:s.owlDOMData.isGrab)),c(2),he(s.carouselLoaded?2:-1),c(),he(s.slides.toArray().length?3:-1))},dependencies:[ce,Qn],styles:[".owl-theme[_ngcontent-%COMP%]{display:block}"],changeDetection:0})}return i})();var Rr=(()=>
3{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=qt({type:i});static \u0275inj=Rt({providers:[Nn,Ti,Yn,Pt],imports:[Le]})}return i})();function Xn(i,n){if(i&1&&(l(0,"div",4),g(1,"img",5),d()),i&2){let e=m().$implicit;c(),p("src",e.image,G)("alt",e.alt)}}function Zn(i,n){i&1&&b(0,Xn,2,2,"ng-template",3)}var it=class i{partnerLogos=[{id:1,image:"assets/images/sections/partners/africa-re.svg",alt:"Africa Re"},{id:2,image:"assets/images/sections/partners/scor.svg",alt:"SCOR"},{id:3,image:"assets/images/sections/partners/ccr.svg",alt:"CCR"},{id:4,image:"assets/images/sections/partners/societe-generale.svg",alt:"Soci\xE9t\xE9 G\xE9n\xE9rale"}];customOptions={loop:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,dots:!1,navSpeed:700,autoplay:!0,autoplayTimeout:3e3,autoplayHoverPause:!0,navText:["",""],responsive:{0:{items:2},400:{items:3},740:{items:4},940:{items:5}},nav:!1};static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["app-partners"]],standalone:!1,decls:3,vars:3,consts:[[1,"partners-section",3,"dir"],[1,"partners-carousel",3,"options"],[4,"ngFor","ngForOf"],["carouselSlide",""],[1,"partner-logo-wrapper"],[1,"partner-logo",3,"src","alt"]],template:function(e,t){e&1&&(l(0,"div",0)(1,"owl-carousel-o",1),b(2,Zn,1,0,null,2),d()()),e&2&&(p("dir","ltr"),c(),p("options",t.customOptions),c(),p("ngForOf",t.partnerLogos))},dependencies:[B,gi,Ii,kt],styles:[".partners-section[_ngcontent-%COMP%]{padding:60px 0;background-color:#fff}.partners-carousel[_ngcontent-%COMP%]{max-width:1200px;margin:0 auto;padding:0 20px}.partner-logo-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:20px;height:80px}.partner-logo[_ngcontent-%COMP%]{width:3px;height:100%;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease}.partner-logo[_ngcontent-%COMP%]:hover{-webkit-filter:grayscale(0%);filter:grayscale(0%);opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}"]})};function es(i,n){if(i&1&&(l(0,"div",9),g(1,"app-card-blog",10),d()),i&2){let e=n.$implicit;c(),p("post",e)}}var nt=class i{constructor(n){this.blogsService=n}blogsService;blogPosts=[];isLoading=!0;ngOnInit(){this.loadBlogPosts()}loadBlogPosts(){this.blogsService.getBlogTop().subscribe({next:n=>{let e=Array.isArray(n)?n:n.data||[];this.blogPosts=e.map(t=>se(E({},t),{sblImage:t.sblImage?this.formatImage(t.sblImage):this.formatImage(t.sblPathImage),sblPathImage:t.sblPathImage?this.formatImage(t.sblPathImage):void 0})),this.isLoading=!1},error:n=>{console.error("Error loading blog posts:",n),this.isLoading=!1}})}formatImage(n){return n?n.startsWith("http")||n.startsWith("/")?n:`data:image/png;base64,${n}`:""}onSeeMore(){console.log("See more clicked")}static \u0275fac=function(e){return new(e||i)(x(Ci))};static \u0275cmp=_({type:i,selectors:[["app-blog-list"]],standalone:!1,decls:16,vars:10,consts:[[1,"blog-section"],[1,"container"],["fxLayout","row","fxLayout.lt-md","column","fxLayoutAlign","space-between center","fxLayoutAlign.lt-md","start start","fxLayoutGap","20px",1,"blog-header"],[1,"blog-header__title"],[1,"blog-header__subtitle"],["routerLink","/blog",1,"blog-header__button"],[1,"arrow"],["fxLayout","row wrap","fxLayoutAlign","start stretch","fxLayoutGap.gt-sm","32px grid","fxLayoutGap.lt-md","16px grid",1,"blog-grid"],["fxFlex","100","fxFlex.gt-sm","33.33","fxFlex.sm","50",4,"ngFor","ngForOf"],["fxFlex","100","fxFlex.gt-sm","33.33","fxFlex.sm","50"],[3,"post"]],template:function(e,t){e&1&&(l(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),h(4),v(5,"translate"),d(),l(6,"p",4),h(7),v(8,"translate"),d(),l(9,"button",5),h(10),v(11,"translate"),l(12,"span",6),h(13,"\u2192"),d()()(),l(14,"div",7),b(15,es,2,1,"div",8),d()()()),e&2&&(c(4),T(C(5,4,"blog.header.title")),c(3),I(" ",C(8,6,"blog.header.subtitle")," "),c(3),I(" ",C(11,8,"blog.header.button")," "),c(5),p("ngForOf",t.blogPosts))}
3,dependencies:[B,fe,V,te,Q,ie,vi,F],styles:['@import"https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap";[_ngcontent-%COMP%]:root{--mat-divider-color: #e0e6eb}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-shape: 12px}.mdc-button[_ngcontent-%COMP%]{--mdc-filled-button-container-shape: 8px;--mdc-text-button-container-shape: 8px;--mdc-protected-button-container-shape: 8px;--mdc-outlined-button-container-shape: 8px;--mat-standard-button-toggle-shape: 8px}.blog-section[_ngcontent-%COMP%]{padding:80px 0;background:#f8f9fa}.blog-header[_ngcontent-%COMP%]{margin-bottom:64px}.blog-header__content[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.blog-header__title[_ngcontent-%COMP%]{font-size:96px;font-weight:700;color:#020202;margin:0 0 16px;letter-spacing:-.5px}.blog-header__subtitle[_ngcontent-%COMP%]{font-size:28px;color:#020202;margin:0;max-width:500px;line-height:1.6;font-weight:500}.blog-header__button[_ngcontent-%COMP%]{padding:25px 85px;background:transparent;border:1px solid #d3d3d3;border-radius:56px;font-size:16px;font-weight:500;color:#020202;cursor:pointer;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px}.blog-header__button[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .3s ease;transition:-webkit-transform .3s ease;-o-transition:transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease;font-size:20px}
3.blog-header__button[_ngcontent-%COMP%]:hover{background:#020202;color:#fff}.blog-header__button[_ngcontent-%COMP%]:hover .arrow[_ngcontent-%COMP%]{-webkit-transform:translateX(4px);-ms-transform:translateX(4px);transform:translate(4px)}.blog-grid[_ngcontent-%COMP%]{margin:0 -16px}@media(max-width:960px){.blog-section[_ngcontent-%COMP%]{padding:60px 0}.blog-header[_ngcontent-%COMP%]{margin-bottom:48px}.blog-header__title[_ngcontent-%COMP%]{font-size:40px}.blog-header__subtitle[_ngcontent-%COMP%]{font-size:16px}.blog-header__button[_ngcontent-%COMP%]{width:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media(max-width:600px){.blog-section[_ngcontent-%COMP%]{padding:40px 0}.blog-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0 16px}.blog-header[_ngcontent-%COMP%]{margin-bottom:32px}.blog-header__title[_ngcontent-%COMP%]{font-size:36px}.blog-header__subtitle[_ngcontent-%COMP%]{font-size:16px}.blog-grid[_ngcontent-%COMP%]{margin:0 -8px}}']})};var st=class i{googlePlayUrl="https://play.google.com/store/apps/details?id=com.blink.macirvie";appStoreUrl="https://apps.apple.com/dz/app/mymacir/id6757395057";onDownloadClick(n){let e=n==="google"?this.googlePlayUrl:this.appStoreUrl;window.open(e,"_blank")}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["app-download-section"]],standalone:!1,decls:13,vars:12,consts:[[1,"download-section","section_gap"],["fxLayout","row","fxLayoutAlign","center center","fxLayout.lt-md","column",1,"container"],["fxFlex","33","fxFlex.lt-md","100",1,"text-content"],[3,"innerHTML"],["fxFlex","40","fxFlexOrder.lt-md","3","fxFlex.lt-md","100",1,"phone-container"],["src","assets/images/sections/download/phone-mockup.webp","loading","lazy",1,"img-fluid","phone-mockup",3,"alt"],["fxFlex","20","fxFlex.lt-md","100","fxLayout","column","fxLayout.lt-md","row","fxLayoutAlign","center center","fxLayoutGap","16px",1,"badges-container"],["src","assets/images/sections/download/google.svg","loading","lazy",1,"store-badge",2,"cursor","pointer",3,"click","alt"],["src","assets/images/sections/download/appstore.svg","loading","lazy",1,"store-badge",2,"cursor","pointer",3,"click","alt"]],template:function(e,t){e&1&&(l(0,"section",0)(1,"div",1)(2,"div",2),g(3,"h2",3),v(4,"translate"),d(),l(5,"div",4),g(6,"img",5),v(7,"translate"),d(),l(8,"div",6)(9,"img",7),v(10,"translate"),y("click",function(){return t.onDownloadClick("google")}),d(),l(11,"img",8),v(12,"translate"),y("click",function(){return t.onDownloadClick("apple")}),d()()()()),e&2&&(c(3),p("innerHTML",C(4,4,"downloadSection.title"),U),c(3),p("alt",C(7,6,"downloadSection.alt.phone")),c(3),p("alt",C(10,8,"downloadSection.alt.googlePlay")),c(2),p("alt",C(12,10,"downloadSection.alt.appStore")))},dependencies:[V,te,Q,mi,ie,F],styles:['@import"https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap";[_ngcontent-%COMP%]:root{--mat-divider-color: #e0e6eb}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-shape: 12px}.mdc-button[_ngcontent-%COMP%]{--mdc-filled-button-container-shape: 8px;--mdc-text-button-container-shape: 8px;--mdc-protected-button-container-shape: 8px;--mdc-outlined-button-container-shape: 8px;--mat-standard-button-toggle-shape: 8px}.download-section[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:60px 0;width:100%}.download-section[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%]{-ms-flex-item-align:start;align-self:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media(max-width:959px){.download-section[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%]{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}}.download-section[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:56px;font-weight:800;line-height:1.12;color:#1a1a1a;text-shadow:0 6px 12px rgba(0,0,0,.12);text-align:center}.download-section[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] .highlight[_ngcontent-%COMP%]{color:#0134e2;font-style:italic}@media(max-width:959px){.download-section[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:32px}}.download-section[_ngcontent-%COMP%] .phone-container[_ngcontent-%COMP%]{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media(max-width:960px){.download-section[_ngcontent-%COMP%] .phone-container[_ngcontent-%COMP%]{padding:0 50px}.download-section[_ngcontent-%COMP%] .phone-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-top:40px}}.download-section[_ngcontent-%COMP%] .badges-container[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;margin-top:350px}.download-section[_ngcontent-%COMP%] .badges-container[_ngcontent-%COMP%] .store-badge[_ngcontent-%COMP%]{width:300px;height:auto}@media(max-width:960px){.download-section[_ngcontent-%COMP%] .badges-container[_ngcontent-%COMP%]{margin-top:24px}.download-section[_ngcontent-%COMP%] .store-badge[_ngcontent-%COMP%]{width:180px!important}}@media(max-width:600px){.download-section[_ngcontent-%COMP%] .store-badge[_ngcontent-%COMP%]{width:136px!important}}']})};function ns(i,n){if(i&1){let e=$();l(0,"div",5),y("click",function(){let s=P(e).$implicit,r=m(2);return D(r.onButtonClick(s.route))}),l(1,"p",6),h(2),d(),H(),l(3,"svg",7),g(4,"path",8),d()()}if(i&2){let e=n.$implicit,t=m(2);M("highlighted2",t.isHighlighted),c(2),T(e.buttonText)}}function ss(i,n){if(i&1&&(l(0,"div",10),b(1,ns,5,3,"div",11),d()),i&2){let e=m();c(),p("ngForOf",e.subList)}}var rt=class i{stepNumber="";title="";description="";buttonText="";isHighlighted=!1;route;subList;actionClick=new J;onButtonClick(n){this.actionClick.emit(n)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["app-card-subscription"]],inputs:{stepNumber:"stepNumber",title:"title",description:"description",buttonText:"buttonText",isHighlighted:"isHighlighted",route:"route",subList:"subList"},outputs:{actionClick:"actionClick"},standalone:!1,decls:14,vars:9,consts:[[1,"card-subscription"],["fxLayout","column","fxLayoutAlign","start center","fxLayoutGap","20px",1,"card-content"],[1,"step-number"],[1,"card-title"],[1,"card-description"],[1,"card-button",3,"click"],[1,"heading-18"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","m9 18 6-6-6-6"],["class","sub-list",4,"ngIf"],[1,"sub-list"],["class","card-button",3,"highlighted2","click",4,"ngFor","ngForOf"]],template:function(e,t){e&1&&(l(0,"div",0)(1,"div",1)(2,"div",2),h(3),d(),l(4,"h2",3),h(5),d(),l(6,"p",4),h(7),d(),l(8,"div",5),y("click",function(){return t.onButtonClick(t.route)}),l(9,"p",6),h(10),d(),H(),l(11,"svg",7),g(12,"path",8),d()(),b(13,ss,2,1,"div",9),d()()),e&2&&(M("highlighted",t.isHighlighted),c(3),T(t.stepNumber),c(2),T(t.title),c(2),T(t.description),c(),M("highlighted",t.isHighlighted),c(2),T(t.buttonText||"Faire le suivi sur app"),c(3),p("ngIf",t.subList&&t.subList.length>0))},dependencies:[B,q,V,te,Q],styles:['@import"https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap";
3[_ngcontent-%COMP%]:root{--mat-divider-color: #e0e6eb}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-shape: 12px}.mdc-button[_ngcontent-%COMP%]{--mdc-filled-button-container-shape: 8px;--mdc-text-button-container-shape: 8px;--mdc-protected-button-container-shape: 8px;--mdc-outlined-button-container-shape: 8px;--mat-standard-button-toggle-shape: 8px}.card-subscription[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1;flex:1;max-width:420px;min-height:400px;border-radius:24px;padding:40px 32px;cursor:pointer;-webkit-transition:all .4s cubic-bezier(.4,0,.2,1);-o-transition:all .4s cubic-bezier(.4,0,.2,1);transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.card-subscription[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:-o-linear-gradient(315deg,rgba(255,255,255,.1) 0%,rgba(255,255,255,0) 100%);background:linear-gradient(135deg,#ffffff1a,#fff0);opacity:0;-webkit-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease;pointer-events:none}.card-subscription.highlighted[_ngcontent-%COMP%]{background-image:-o-linear-gradient(319deg,#0134E2,#0087ff 63%);background-image:linear-gradient(131deg,#0134e2,#0087ff 63%);border-radius:56px;color:#fff;min-height:500px;-webkit-transform:scale(1.08);-ms-transform:scale(1.08);transform:scale(1.08);-webkit-box-shadow:0 12px 32px rgba(0,102,255,.3);box-shadow:0 12px 32px #0066ff4d}.card-subscription.highlighted[_ngcontent-%COMP%] .step-number[_ngcontent-%COMP%]{color:#fff;font-weight:600}.card-subscription.highlighted[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%], .card-subscription.highlighted[_ngcontent-%COMP%] .card-description[_ngcontent-%COMP%]{color:#fff}.card-subscription.highlighted[_ngcontent-%COMP%] .sub-list[_ngcontent-%COMP%]{margin-top:12px;padding-top:16px;border-top:1px solid rgba(255,255,255,.2);width:100%}@media(max-width:960px){.card-subscription[_ngcontent-%COMP%]{max-width:100%}.card-subscription.highlighted[_ngcontent-%COMP%]{-webkit-transform:scale(1.02);-ms-transform:scale(1.02);transform:scale(1.02)}.card-subscription.highlighted[_ngcontent-%COMP%]:hover{-webkit-transform:scale(1.02) translateY(-12px);-ms-transform:scale(1.02) translateY(-12px);transform:scale(1.02) translateY(-12px)}}.card-content[_ngcontent-%COMP%]{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.step-number[_ngcontent-%COMP%]{font-size:96px;font-weight:700;color:#000;margin-bottom:8px;line-height:1;letter-spacing:-2px}.card-title[_ngcontent-%COMP%]{font-size:28px;font-weight:600;color:#000;text-align:center;margin:0;line-height:1.3;letter-spacing:-.5px}.card-description[_ngcontent-%COMP%]{font-size:14px;color:#000;text-align:center;line-height:1.7;margin:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-weight:400}.card-button[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;grid-column-gap:7px;grid-row-gap:7px;border:1px solid rgba(0,0,0,.2);color:#434343;border-radius:56px;width:100%;padding:25px 0;outline:none;cursor:pointer;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease}.card-button[_ngcontent-%COMP%]:hover{background-color:#0000000a;border-color:#bdbdbd}.card-button[_ngcontent-%COMP%]:active{-webkit-transform:scale(.98);-ms-transform:scale(.98);transform:scale(.98)}.card-button.highlighted[_ngcontent-%COMP%]{background-color:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff}.card-button.highlighted[_ngcontent-%COMP%] .heading-18[_ngcontent-%COMP%]{color:#fff}.card-button.highlighted2[_ngcontent-%COMP%]{background-color:transparent;border:1px solid rgba(255,255,255,.4);color:#fff}.card-button.highlighted2[_ngcontent-%COMP%] .heading-18[_ngcontent-%COMP%]{color:#fff}.card-button.highlighted2[_ngcontent-%COMP%] .image-8[_ngcontent-%COMP%]{-webkit-filter:brightness(0) invert(1);filter:brightness(0) invert(1)}.sub-list[_ngcontent-%COMP%]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:12px;margin-top:8px}.heading-18[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;font-size:16px;font-weight:400}@media(max-width:959px){.heading-18[_ngcontent-%COMP%]{font-size:14px}}']})};function as(i,n){if(i&1){let e=$();l(0,"app-card-subscription",6),y("actionClick",function(s){let r=P(e).$implicit,a=m();return D(a.onActionClick(r,s))}),d()}if(i&2){let e=n.$implicit;p("stepNumber",e.number)("title",e.title)("description",e.description)("buttonText",e.buttonText)("isHighlighted",e.isHighlighted==="true")("subList",e.subList)("route",e.route)}}var at=class i{constructor(n){this.router=n}
3router;onActionClick(n,e){e&&this.router.navigate([e])}static \u0275fac=function(e){return new(e||i)(x(me))};static \u0275cmp=_({type:i,selectors:[["app-subscription-steps"]],standalone:!1,decls:13,vars:8,consts:[[1,"subscription-steps-container"],[1,"container"],[1,"header"],[1,"title"],["fxLayout","row wrap","fxLayoutAlign","start stretch",1,"steps-wrapper"],["fxFlex","100","fxFlex.gt-sm","33.33","fxFlex.sm","50",1,"step-card",3,"stepNumber","title","description","buttonText","isHighlighted","subList","route"],["fxFlex","100","fxFlex.gt-sm","33.33","fxFlex.sm","50",1,"step-card",3,"actionClick","stepNumber","title","description","buttonText","isHighlighted","subList","route"]],template:function(e,t){e&1&&(l(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),h(4),v(5,"translate"),d(),l(6,"h1",3),h(7),v(8,"translate"),d()(),l(9,"div",4),j(10,as,1,7,"app-card-subscription",5,re),v(12,"translate"),d()()()),e&2&&(c(4),T(C(5,2,"subscriptionSteps.header.line1")),c(3),T(C(8,4,"subscriptionSteps.header.line2")),c(3),N(C(12,6,"subscriptionSteps.steps.cards")))},dependencies:[V,Q,ie,rt,F],styles:['@import"https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap";[_ngcontent-%COMP%]:root{--mat-divider-color: #e0e6eb}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-shape: 12px}.mdc-button[_ngcontent-%COMP%]{--mdc-filled-button-container-shape: 8px;--mdc-text-button-container-shape: 8px;--mdc-protected-button-container-shape: 8px;--mdc-outlined-button-container-shape: 8px;--mat-standard-button-toggle-shape: 8px}.subscription-steps-container[_ngcontent-%COMP%]{padding:60px 20px;background-color:#f8f9fa;min-height:100vh}.subscription-steps-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{text-align:center;margin-bottom:80px}.subscription-steps-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:80px;color:#020202;margin:8px 0;line-height:1.2}@media(max-width:959px){.subscription-steps-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:40px}}.subscription-steps-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]:first-child{font-weight:400}.subscription-steps-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]:last-child{font-weight:700}.subscription-steps-container[_ngcontent-%COMP%] .steps-wrapper[_ngcontent-%COMP%]{margin:0 auto;padding:0}']})};var ls=["*"];function cs(i,n){if(i&1&&(l(0,"span",6),h(1),d()),i&2){let e=m(2);c(),I(" ",e.marqueeText," ")}}function ds(i,n){if(i&1&&(l(0,"div",3)(1,"div",4),b(2,cs,2,1,"span",5),d()()),i&2){let e=m();M("marquee-top",e.marqueePosition==="top")("marquee-middle",e.marqueePosition==="middle")("marquee-bottom",e.marqueePosition==="bottom"),c(2),p("ngForOf",e.marqueeItems)}}var be=class i{marqueeText;marqueePosition="middle";showMarquee=!0;marqueeRepeatCount=20;get marqueeItems(){return Array.from({length:this.marqueeRepeatCount},(n,e)=>e+1)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["app-sticky-section"]],inputs:{marqueeText:"marqueeText",marqueePosition:"marqueePosition",showMarquee:"showMarquee",marqueeRepeatCount:"marqueeRepeatCount"},standalone:!1,ngContentSelectors:ls,decls:4,vars:1,consts:[[1,"image-section"],["class","marquee-background","aria-hidden","true",3,"marquee-top","marquee-middle","marquee-bottom",4,"ngIf"],[1,"content-wrapper"],["aria-hidden","true",1,"marquee-background"],[1,"marquee__track"],["class","marquee__item",4,"ngFor","ngForOf"],[1,"marquee__item"]],template:function(e,t){e&1&&(Gt(),l(0,"section",0),b(1,ds,3,7,"div",1),l(2,"div",2),Qt(3),d()()),e&2&&(c(),p("ngIf",t.showMarquee))},dependencies:[B,q],styles:['@import"https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap";[_ngcontent-%COMP%]:root{--mat-divider-color: #e0e6eb}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-shape: 12px}.mdc-button[_ngcontent-%COMP%]{--mdc-filled-button-container-shape: 8px;--mdc-text-button-container-shape: 8px;--mdc-protected-button-container-shape: 8px;--mdc-outlined-button-container-shape: 8px;--mat-standard-button-toggle-shape: 8px}.image-section[_ngcontent-%COMP%]{position:sticky;top:0;padding:130px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}.marquee-background[_ngcontent-%COMP%]{position:absolute;
3left:0;width:100%;z-index:1;overflow:hidden;pointer-events:none}.marquee-top[_ngcontent-%COMP%] .marquee__item[_ngcontent-%COMP%]{font-size:160px}.marquee-middle[_ngcontent-%COMP%] .marquee__item[_ngcontent-%COMP%], .marquee-bottom[_ngcontent-%COMP%] .marquee__item[_ngcontent-%COMP%]{font-size:80px}.marquee-top[_ngcontent-%COMP%]{top:0;-webkit-transform:translateY(-20px);-ms-transform:translateY(-20px);transform:translateY(-20px)}.marquee-middle[_ngcontent-%COMP%]{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.marquee-bottom[_ngcontent-%COMP%]{bottom:10%;top:auto;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}.marquee__track[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;white-space:nowrap;-webkit-animation:_ngcontent-%COMP%_marquee-translate 38s linear infinite;animation:_ngcontent-%COMP%_marquee-translate 38s linear infinite;will-change:transform}.marquee__item[_ngcontent-%COMP%]{display:inline-block;padding-right:3rem;font-weight:500;letter-spacing:.02em;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;color:#202020}.content-wrapper[_ngcontent-%COMP%]{position:relative;z-index:2}@-webkit-keyframes _ngcontent-%COMP%_marquee-translate{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}}@keyframes _ngcontent-%COMP%_marquee-translate{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}}@media(prefers-reduced-motion:reduce){.marquee__track[_ngcontent-%COMP%]{-webkit-animation-duration:80s;animation-duration:80s}}']})};function ps(i,n){if(i&1&&g(0,"app-service-card",3),i&2){let e=n.$implicit;p("heading",e.heading||"")("description",e.description||"")("backgroundImage",e.backgroundImage||"")("type",e.type)}}function us(i,n){if(i&1&&(l(0,"app-sticky-section",1)(1,"div",2),j(2,ps,1,4,"app-service-card",3,re),d()()),i&2){let e=n.$implicit,t=n.$index;p("marqueeText","Macir Vie\xAE")("marqueePosition","top")("showMarquee",t===0),c(2),N(e)}}function gs(i,n){if(i&1&&(bt(0),j(1,us,4,3,"app-sticky-section",1,re),_t()),i&2){let e=m(2);c(),N(e.serviceSections)}}function hs(i,n){if(i&1&&(bt(0),b(1,gs,3,0,"ng-container",0),_t()),i&2){let e=n.ngIf,t=m();c(),p("ngIf",t.setServices(e))}}var ot=class i{serviceSections=[];services=[];resizeSubscription;setServices(n){return this.services=n,this.updateServiceSections(),!0}ngOnInit(){this.resizeSubscription=Pe(window,"resize").pipe(zt(200)).subscribe(()=>this.updateServiceSections())}ngOnDestroy(){this.resizeSubscription?.unsubscribe()}updateServiceSections(){let n=window.innerWidth<=768?1:2;this.serviceSections=this.groupServices(this.services,n)}groupServices(n,e){let t=[];for(let s=0;s<n.length;s+=e)t.push(n.slice(s,s+e));return t}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["app-service-list"]],standalone:!1,decls:3,vars:3,consts:[[4,"ngIf"],[3,"marqueeText","marqueePosition","showMarquee"],[1,"cards-grid"],[1,"service-card",3,"heading","description","backgroundImage","type"]],template:function(e,t){e&1&&(h(0,"<"),b(1,hs,2,1,"ng-container",0),v(2,"translate")),e&2&&(c(),p("ngIf",C(2,1,"serviceList.cards")))},dependencies:[q,_i,be,F],styles:[".cards-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:40px;width:100%;max-width:1300px;margin:0 auto;padding:60px 0}@media(max-width:1024px){.cards-grid[_ngcontent-%COMP%]{gap:32px;padding:40px 0}}@media(max-width:768px){.cards-grid[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:24px;padding:30px 0}.cards-grid[_ngcontent-%COMP%] .service-card[_ngcontent-%COMP%]:nth-child(2){display:none}}.service-card[_ngcontent-%COMP%]{position:relative;z-index:2;width:100%;-webkit-transition:-webkit-transform .3s ease,-webkit-box-shadow .3s ease;transition:-webkit-transform .3s ease,-webkit-box-shadow .3s ease;-o-transition:transform .3s ease,box-shadow .3s ease;transition:transform .3s ease,box-shadow .3s ease;transition:transform .3s ease,box-shadow .3s ease,-webkit-transform .3s ease,-webkit-box-shadow .3s ease}@media(max-width:768px){.cards-grid[_ngcontent-%COMP%]{grid-template-columns:1fr!important;grid-auto-rows:auto!important;gap:20px;padding:20px 0}}"]})};var lt=class i{static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["app-travel-agency-banner"]],standalone:!1,decls:17,vars:15,consts:[[1,"hero-container"],[1,"content"],[1,"subtitle"],[1,"underline2"],[1,"title"],[1,"underline"]],template:function(e,t){e&1&&(l(0,"div",0)(1,"div",1)(2,"p",2),h(3),v(4,"translate"),l(5,"span",3),h(6),v(7,"translate"),d()(),l(8,"h1",4),h(9),v(10,"translate"),g(11,"br"),h(12),v(13,"translate"),l(14,"span",5),h(15),v(16,"translate"),d()()()()),e&2&&(c(3),I(" ",C(4,5,"heroTravelAgencies.subtitle.before")," "),c(3),T(C(7,7,"heroTravelAgencies.subtitle.highlight")),c(3),I(" ",C(10,9,"heroTravelAgencies.title.line1")," "),c(3),I(" ",C(13,11,"heroTravelAgencies.title.line2")," "),c(3),T(C(16,13,"heroTravelAgencies.title.highlight")))},dependencies:[F],styles:['@import"https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap";
3[_ngcontent-%COMP%]:root{--mat-divider-color: #e0e6eb}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-shape: 12px}.mdc-button[_ngcontent-%COMP%]{--mdc-filled-button-container-shape: 8px;--mdc-text-button-container-shape: 8px;--mdc-protected-button-container-shape: 8px;--mdc-outlined-button-container-shape: 8px;--mat-standard-button-toggle-shape: 8px}.hero-container[_ngcontent-%COMP%]{min-height:100vh;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:#f5f5f5;padding:2rem;cursor:url("./media/family-insurance-VRTKEZQN.png"),pointer;-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;-o-transition:transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.content[_ngcontent-%COMP%]{text-align:center;max-width:1200px}.subtitle[_ngcontent-%COMP%]{font-size:20px;color:#000000b3;margin-bottom:2rem;font-weight:400}.title[_ngcontent-%COMP%]{font-size:96px;font-weight:400;color:#020202;line-height:1.2;margin:0}.underline2[_ngcontent-%COMP%]{color:#020202;font-weight:600}.underline[_ngcontent-%COMP%]{text-decoration:underline;color:#515151;text-decoration-thickness:4px;text-underline-offset:8px}@media(max-width:768px){.title[_ngcontent-%COMP%]{font-size:2.5rem}.subtitle[_ngcontent-%COMP%]{font-size:1rem}}@media(max-width:480px){.title[_ngcontent-%COMP%]{font-size:1.75rem}.subtitle[_ngcontent-%COMP%]{font-size:.875rem}}']})};var bs=i=>({"second-title":i});function _s(i,n){if(i&1&&(l(0,"div",7),g(1,"img",3),d()),i&2){let e=m(),t=e.$implicit,s=e.$index,r=e.$count;M("last-overlay",s===r-1),c(),p("src",t.overlayImg,G)("alt",t.altOverlay||"")}}function vs(i,n){if(i&1&&(l(0,"app-sticky-section",0)(1,"div",1)(2,"div",2),g(3,"img",3),b(4,_s,2,4,"div",4),l(5,"div",5)(6,"h1",6),h(7),d()()()()()),i&2){let e=n.$implicit,t=n.$index;p("marqueeText","Macir Vie\xAE")("marqueePosition","middle")("showMarquee",t===0),c(2),p("routerLink",e.url),c(),p("src",e.baseImg,G)("alt",e.altBase||""),c(),he(e.hasOverlayImg?-1:4),c(),p("ngClass",W(11,bs,t===1)),c(),Ie("margin-top",t===2?-220:0,"px"),c(),I(" ",e.title," ")}}var ct=class i{static \u0275fac=function(e){return new(e||i)};static \u0275cmp=_({type:i,selectors:[["app-professional-products"]],standalone:!1,decls:3,vars:2,consts:[[3,"marqueeText","marqueePosition","showMarquee"],[1,"image-wrapper"],[1,"base-image",3,"routerLink"],["loading","lazy",1,"image-item",3,"src","alt"],[1,"overlay-image",3,"last-overlay"],[1,"text-layer",3,"ngClass"],[1,"main-title"],[1,"overlay-image"]],template:function(e,t){e&1&&(j(0,vs,8,13,"app-sticky-section",0,re),v(2,"translate")),e&2&&N(C(2,0,"professionalProducts.images"))},dependencies:[ce,fe,He,be,F],styles:[".image-wrapper[_ngcontent-%COMP%]{position:relative;display:block;overflow:hidden;border-radius:50px;line-height:0}.image-item[_ngcontent-%COMP%]{position:relative;z-index:2;width:100%;height:70vh;object-fit:cover;border-radius:0;display:block}.base-image[_ngcontent-%COMP%]{position:relative;width:80vw;height:70vh;z-index:1;cursor:pointer;overflow:hidden;border-radius:50px;line-height:0}.base-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;display:block;border-radius:0;vertical-align:bottom}.overlay-image[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:3;overflow:hidden;border-radius:0;pointer-events:none}.overlay-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;object-position:bottom;display:block;border-radius:0;vertical-align:bottom}.overlay-image.last-overlay[_ngcontent-%COMP%]{height:100%}.overlay-image.last-overlay[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover;object-position:bottom}.text-layer[_ngcontent-%COMP%]{position:absolute;top:-30px;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;z-index:4;pointer-events:none}.main-title[_ngcontent-%COMP%]{font-size:100px;font-weight:900;color:#fff;letter-spacing:-4px;line-height:.9;text-transform:uppercase;text-align:left;padding-left:20px;text-shadow:2px 2px 8px rgba(0,0,0,.8)}@media(max-width:1024px){.main-title[_ngcontent-%COMP%]{font-size:70px;letter-spacing:.08em;font-weight:900}}@media(max-width:768px){.hero-overlay-section[_ngcontent-%COMP%]{min-height:500px}.main-title[_ngcontent-%COMP%]{font-size:60px;letter-spacing:.06em}.overlay-image[_ngcontent-%COMP%], .overlay-image.last-overlay[_ngcontent-%COMP%]{height:100%}.base-image[_ngcontent-%COMP%]{height:70vh}.text-layer[_ngcontent-%COMP%]{top:-25px}}@media(max-width:480px){.hero-overlay-section[_ngcontent-%COMP%]{min-height:400px}.main-title[_ngcontent-%COMP%]{font-size:40px}}"]})};function Cs(i,n){i&1&&g(0,"app-loader")}function ys(i,n){i&1&&(l(0,"div"),g(1,"app-hero-section")(2,"app-partners")(3,"app-about-us-section")(4,"app-subscription-steps")(5,"app-download-section"),l(6,"div",1),g(7,"app-professional-products"),d(),g(8,"app-blog-list"),l(9,"div",1),g(10,"app-service-list"),d(),g(11,"app-travel-agency-banner"),d())}
3function ws(i,n){i&1&&g(0,"app-chatbot")}var Li=class i{constructor(n){this.authService=n;"scrollRestoration"in history&&(history.scrollRestoration="manual")}authService;loading=!0;isLoggedIn=!1;ngOnInit(){this.isLoggedIn=this.authService.isAccessTokenExpired(),window.scrollTo({top:0,behavior:"auto"}),setTimeout(()=>{this.loading=!1,requestAnimationFrame(()=>{window.scrollTo({top:0,behavior:"auto"})})},2e3)}static \u0275fac=function(e){return new(e||i)(x(Be))};static \u0275cmp=_({type:i,selectors:[["app-main-page"]],standalone:!1,decls:3,vars:3,consts:[[4,"ngIf"],[1,"my-5"]],template:function(e,t){e&1&&b(0,Cs,1,0,"app-loader",0)(1,ys,12,0,"div",0)(2,ws,1,0,"app-chatbot",0),e&2&&(p("ngIf",t.loading),c(),p("ngIf",!t.loading),c(),p("ngIf",t.authService.isLoggedIn()))},dependencies:[Ne,q,Ye,Ge,it,nt,st,at,ot,lt,ct,bi],encapsulation:2})};export{ne as a,Sn as b,wt as c,Qe as d,rr as e,Ke as f,Xe as g,Ze as h,Ct as i,yt as j,Mn as k,Rr as l,Ue as m,Ne as n,Li as o};
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.