1import{a as F}from"./chunk-UAVDE3F4.js";import{a as S}from"./chunk-J2AT5RDO.js";import"./chunk-XLPE6SQ2.js";import{m as q,p as x,s as C}from"./chunk-OWVVWNBN.js";import{a as b}from"./chunk-KKWTIWF7.js";import"./chunk-GPQPDTIE.js";import{Ga as m,Hc as h,Kb as u,Vb as p,Wb as g,Xb as n,Yb as o,Zb as v,jb as r,ob as s,tc as l,vb as d,vc as c}from"./chunk-AKDZQ3IZ.js";import"./chunk-7NKR4LTM.js";var y=e=>["/foire-aux-questions/categorie",e],E=(e,f)=>f.slug;function w(e,f){if(e&1&&(n(0,"a",7),l(1),o()),e&2){let t=f.$implicit;u("routerLink",h(2,y,t.slug)),r(),c(" ",t.libelle_categorie_faq," ")}}var O=(()=>{class e{constructor(t,a,i,_){this.globalSharedParamsService=t,this.route=a,this.seoService=i,this.logger=_,this.categories=m([]),this.faqConfig=null}ngOnInit(){this.globalSharedParamsService.setGlobalParam("footer",{displayBanner:!1,displayPreFooter:!0});let t=this.route.parent?.snapshot.data?.faqData;this.categories.set(t?.categorieFaqs??[]),this.faqConfig=t?.Faq??null,this.faqConfig?.faq_seo?this.seoService.loadSeoData(this.faqConfig.faq_seo):this.logger.warn("FaqComponent: configuration SEO (faq_seo) absente du resolver")}ngOnDestroy(){this.globalSharedParamsService.setGlobalParam("footer",{displayBanner:!0})}static{this.\u0275fac=function(a){return new(a||e)(s(S),s(q),s(C),s(b))}}static{this.\u0275cmp=d({type:e,selectors:[["app-faq"]],decls:13,vars:2,consts:[[1,"relative","block","size-full"],[1,"relative","flex","flex-col","pt-20","pb-10","bg-[#F2F2F2]"],[1,"mx-auto","flex","max-w-6xl","flex-col","items-center","justify-center","p-6"],[1,"mb-4","text-3xl","font-bold","md:text-4xl"],[1,"mb-8","max-w-3xl","text-center","text-gray-600"],[1,"mb-6","text-sm","font-semibold","uppercase","tracking-wide"],[1,"grid","grid-cols-2","gap-4","pb-6","md:grid-cols-3","lg:grid-cols-4"],[1,"flex","items-center","justify-center","min-h-[92px]","bg-white","hover:bg-gray-200","text-[#444444]","rounded-xl","p-4","font-semibold","text-center","shadow-sm","transition-all","duration-200","ease-in-out","hover:shadow-md","focus:ring-2","focus:ring-blue-500",3,"routerLink"]],template:function(a,i){a&1&&(n(0,"div",0)(1,"div",1)(2,"div",2)(3,"h2",3),l(4),o(),n(5,"p",4),l(6),o(),n(7,"h3",5),l(8," Choisir une cat\xE9gorie "),o(),n(9,"div",6),p(10,w,2,4,"a",7,E),o(),v(12,"app-faq-contact-cta"),o()()()),a&2&&(r(4),c(" ",(i.faqConfig==null?null:i.faqConfig.title_faq)||"Foire aux questions"," "),r(2),c(" ",(i.faqConfig==null?null:i.faqConfig.description_faq)||"Les officiers de la Marine Nationale ont r\xE9pondu directement \xE0 toutes les questions que vous vous posez. D\xE9couvrez leurs conseils ici."," "),r(4),g(i.categories()))},dependencies:[x,F],encapsulation:2})}}return e})();export{O as FaqComponent};
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.