PageSourceSearch

https://madagascar-guide.com/_nuxt/BmpdXaDm.js

js madagascar-guide.com collected 2026-10-02 13:24:21 UTC 5,487 bytes, 1 lines download raw bytes

1import{B as e,Gt as t,K as n,U as r,Vt as i,bt as a,d as o,f as s,m as c,p as l,r as u,u as d,v as f,x as p}from"./C8zXo7pG.js";import{a as m}from"./sgOvIiAu.js";import{n as h,t as g}from"./C3NCWtym.js";import{Ri as _,Wi as v,qi as y,t as b}from"#entry";import{t as x}from"./BFn98xMp.js";var S=[`innerHTML`],C=[`innerHTML`],w=Object.assign(p({__name:`FaqItem`,props:{q:{required:!0},a:{required:!0},p:{type:Boolean,default:!1},active:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},setup(e){let t=e,n=d(()=>{let e=`faq__item js-faq-item`;return(t.active||t.p)&&(e+=` open`),t.visible||(e+=` hidden`),e});return(t,s)=>(r(),c(`article`,{class:i(a(n))},[o(`div`,{class:`faq__question js-faq-question`,innerHTML:e.q},null,8,S),o(`div`,{class:`faq__answer`,"data-height":`82`,innerHTML:e.a},null,8,C)],2))}}),{__name:`FaqItem`}),T={class:`h-list__faq js-hl-faq-block js-gtm-hotellist-faq-bottom`},E={class:`faq_hotellist_block hs container`},D={class:`h-list__faq-photo hs__top-panel`},O={class:`h-list__faq-content`},k={class:`h-list__faq-title basic-title`},A={class:`h-list__faq-desc basic-description`},j={class:`h-list__faq-questions hs__container js-faq-container`},M=Object.assign(p({__name:`Faq`,setup(i){m(e=>({v16e8c216:a(I)}));let p=g(),b=_(),S=d(()=>Math.floor(Math.random()*10)+1),C=d(()=>`faqs_regions_${S.value}`),M=d(()=>(p.api_vocab?.b_hotellist_right_xsl??{})[C.value]||``),N=d(()=>p.hotelList?.faq?.item?.length||0);d(()=>{let e=M.value.replace(`[NUMBER]`,N.value.toString());return x(N.value,e,b.langcode)});let P=d(()=>h(`b_hotellist_right_xsl.faqs_city_title`)),F=d(()=>{let e=p?.textPpmd?.faqs?.item||[],t=p?.WTS?.country_hub_page?.faq?.item||[],n=p?.WTS?.mainland_hub_page?.faq?.item||[];return[...e,...t,...n].filter(e=>e.question&&e.question.trim()!==``)});e(()=>{document.querySelectorAll(`.js-faq-question`).forEach(e=>{e.addEventListener(`click`,()=>{let t=e.closest(`.js-faq-item`);t.classList.contains(`open`)?t.classList.remove(`open`):t.classList.add(`open`)})})});let I=d(()=>b.rootVariables?.backgroundColor);return(e,i)=>(r(),c(`section`,T,[o(`div`,E,[o(`div`,D,[o(`div`,O,[o(`h2`,k,[a(b).page==`region_hub_page`?(r(),c(u,{key:0},[f(t(a(y)(a(P).replace(`[CITY`,`[REGION`),a(p).regionHubPage)),1
1)],64)):l(``,!0),a(b).page==`hotellist`?(r(),c(u,{key:1},[f(t((`replaceCity`in e?e.replaceCity:a(v))(a(P),a(p).hotelList?.city?.NameForms)),1)],64)):l(``,!0),a(b).page==`country_hub_page`?(r(),c(u,{key:2},[f(t((`replaceCity`in e?e.replaceCity:a(v))(a(P),a(p).countryHubPage?.country?.NameForms)),1)],64)):l(``,!0),a(b).page==`mainland_hub_page`?(r(),c(u,{key:3},[f(t((`replaceCity`in e?e.replaceCity:a(v))(a(P),a(p).mainlandHubPage?.mainland?.NameForms)),1)],64)):l(``,!0)]),o(`p`,A,t((`getVocabPhrase`in e?e.getVocabPhrase:a(h))(`b_hotellist_right_xsl.faqs_city_desc`)),1)])]),o(`div`,j,[(r(!0),c(u,null,n(a(F),(e,t)=>(r(),s(w,{key:t,q:e.question,a:e.reply,p:!1,active:t===0,visible:!0},null,8,[`q`,`a`,`active`]))),128))])])]))}}),{__name:`Faq`}),N={class:`best-hotels container`},P={class:`hs best-hotels__title`},F={class:`hs__top-panel`},I={class:`basic-title`},L={class:`basic-description`},R={class:`hs__container`},z={key:0,class:`best-hotels-category`},B={class:`best-hotels-title`},V={key:0},H=[`href`],U={key:1},W={class:`best-hotels-link`},G={__name:`BestHotelsInCity`,setup(e){m(e=>({v7659cc90:a(b)}));let i=g(),s=_(),f=``;s.page===`region_hub_page`?(f=h(`b_city_left_xsl.top_hotels`).replace(`[CITY`,`[REGION`),f=y(f,i.regionHubPage)):s.page===`district_page`?(f=h(`b_city_left_xsl.top_hotels`).replace(`[CITY`,`[DISTRICT`),f=y(f,i.hotelList?.city?.NameForms)):s.page===`country_hub_page`?(f=h(`b_city_left_xsl.top_hotels`),f=v(f,i.countryHubPage?.country?.NameForms)):s.page===`mainland_hub_page`?(f=h(`b_city_left_xsl.top_hotels`),f=v(f,i.mainlandHubPage?.mainland?.NameForms)):f=v(h(`b_city_left_xsl.top_hotels`),i.hotelList?.city?.NameForms);let p=d(()=>i.textPpmd?.top_hotels?.item),b=d(()=>s.rootVariables?.titleFont);return(e,i)=>(r(),c(`section`,N,[o(`div`,P,[o(`div`,F,[o(`div`,null,[o(`h2`,I,t(a(f)),1),o(`p`,L,t(a(h)(`b_hotellist_right_xsl.reviews_12_month`)),1)])]),o(`div`,R,[(r(!0),c(u,null,n(a(p),(e,n)=>(r(),c(u,{key:n},[e.type&&e.type.trim&&e.type.trim()!==``&&e.name&&e.name.trim&&e.name.trim()!==``?(r(),c(`div`,z,[o(`div`,B,t(e.type)+`: `,1),e.url&&e.url.trim&&e.url.trim()!==``?(r(),c(`div`,V,[o(`a`,{href:e.url,class:`best-hotels-link add-hover`,target:`_blank`},t(e.name),9,H)])):(r(),c(`div`,U,[o(`span`,W,t(e.name),1)]))])):l(``,!0)],64))),128))])])]))}},K={class:`hl-seo__container`},q={class:`container`},J={class:`hl-seo__content new-seo__content`},Y={class:`hl-seo__article`},X={class:`hl-seo__article-desc`},Z={key:0,class:`basic-title seo-article-title`},Q={class:`hl-seo__article-text`},$={key:0,class:`article-part`},ee={key:0,class:`article-part article-part-fact`},te=Object.assign(b(p({__name:`QuickFacts`,setup(e){m(e=>({v200cbb32:a(v)}));let i=g(),s=_(),f=i.textPpmd?.quick_facts?.title,p=i.textPpmd?.quick_facts?.intro,h=i.textPpmd?.quick_facts?.items||[],v=d(()=>s.rootVariables?.mainFontWeight);return(e,i)=>(r(),c(`div`,K,[o(`div`,q,[o(`div`,J,[o(`div`,Y,[o(`div`,X,[a(f)?(r(),c(`h2`,Z,t(a(f)),1)):l(``,!0),o(`div`,Q,[a(p)?(r(),c(`p`,$,t(a(p)),1)):l(``,!0),a(h).length?(r(!0),c(u,{key:1},n(a(h),e=>(r(),c(u,{key:e.pos},[e.text?(r(),c(`p`,ee,t(e.text),1)):l(``,!0)],64))),128)):l(``,!0)])])])])])]))}}),[[`__scopeId`,`data-v-408afad5`]]),{__name:`SeoQuickFacts`});export{G as n,M as r,te as t};

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.