import"./custom-blocks-Bf5Vma31-v01.js";import"./commons-store-BD_QoRtK-v01.js";import{f as h}from"./master-CzygF18q-v01.js";import"./vendors-B855uyVV-v01.js";import"./assets/index-DPN3a_Ij.js";import{d,f as i,o as s,c as a,e as n,t as o,F as q,s as b,j as p,w as c,a as l,b as y,i as F}from"./vendors-vue-framework-yM97bqD2-v01.js";import{a as u}from"./getyourguide-compass-Fs5H4yC7-v01.js";import{T as g}from"./wishlist-icon-C2-53mK_-v01.js";import"./index-CE94nhmM-v01.js";import"./rating-overall-CFyb9CVF-v01.js";import"./getyourguide-framework-BsgS0LFr-v01.js";import"./track-visibility-v2-CRHdJeb8-v01.js";import"./vendors-framework-q7tHTlbv-v01.js";import"./vendors-sentry-BvhcOj-s-v01.js";const B=d({name:"SeoFaqsBase",props:{question:{type:String,required:!0},answerHeader:{type:String,required:!0},answers:{type:Array,required:!0},answerFooter:{type:Object,required:!0},globalProps:{type:Object,required:!0}}}),T={class:"container","data-test-id":"seo-faq-section"},$={class:"question__asked","data-test-id":"seo-faqs-title"},S={class:"question__answer__header"},v={class:"answers question__answer__links__list"},L={key:1};function V(e,m,_,k,w,f){const t=i("Link");return s(),a("div",T,[n("h2",$,o(e.question),1),n("p",S,o(e.answerHeader),1),n("ul",v,[(s(!0),a(q,null,b(e.answers,r=>(s(),a("li",{key:r.answerText},[r.answerLink?(s(),p(t,{key:0,href:r.answerLink},{default:c(()=>[l(o(r.answerText),1)]),_:2},1032,["href"])):(s(),a("p",L,o(r.answerText),1))]))),128))]),n("p",null,[e.answerFooter.answerLink?(s(),p(t,{key:0,href:e.answerFooter.answerLink},{default:c(()=>[l(o(e.answerFooter.answerText),1)]),_:1},8,["href"])):y("",!0)])])}const j=u(B,[["render",V],["__scopeId","data-v-37320cb1"]]),H=d({name:"SeoFaqBlock",components:{SeoFaqBase:j,TrackVisibilityWrapper:g},mixins:[h],inheritAttrs:!1,props:{block:{type:Object,required:!0},globalProps:{type:Object,required:!0}},computed:{invalidProps(){let e=[];return!this.block.id&&e.push("id"),!this.block.question&&e.push("question"),!this.block.answerHeader&&e.push("answerHeader"),!this.block.answers&&e.push("answers"),e}}});function C(e,m,_,k,w,f){const t=i("SeoFaqBase"),r=i("TrackVisibilityWrapper");return s(),p(r,{"impression-tracking-event-handler":e.block.onImpressionTrackingEvent},{default:c(()=>[F(t,{question:e.block.question,"answer-header":e.block.answerHeader,answers:e.block.answers,"answer-footer":e.block.answerFooter,"global-props":e.globalProps},null,8,["question","answer-header","answers","answer-footer","global-props"])]),_:1},8,["impression-tracking-event-handler"])}const R=u(H,[["render",C]]);export{R as default};
//# sourceMappingURL=seo-faqs-block-B_dtSYT0-v01.js.map
