Typer af adgangsbilletter og -kort i Portugal
ength-1){const i=Array.from(t).slice(e+1,e+(n+1));return r.forEach((e=>e.classList.remove("tsi-zection-zone-visible"))),i.forEach((e=>e.classList.add("tsi-zection-zone-visible"))),z(t,i),void 0}}if("false"===i)return;const s=e;try{m?g():w(r,!1),p();const e=await fetch(decodeURIComponent(s));if(!e.ok)throw new Error("Network response was not ok");const t=await e.text(),n=undefined;a.querySelectorAll(".tsi-zection-zone-visible").forEach((e=>{e.classList.remove("tsi-zection-zone-visible")}));const i=document.createElement("div");i.innerHTML=t;const d=i.querySelectorAll(`#zone-zection-root-${o} > div`);d.forEach((e=>{e.classList.add("tsi-zection-zone-visible"),a.appendChild(e)})),m?E():w(r,!0),z(a.querySelectorAll(`.section-card-${o}`),d),u&&h.disconnect(),u?.parentNode?.removeChild(u),i.querySelectorAll("script").forEach((e=>{if(e.id){const t=document.getElementById(e.id);if(t){t.remove();const n=document.createElement("script");n.textContent=e.textContent,n.id=e.id,document.getElementById(`zone-zection-root-${o}`)?.appendChild(n)}}})),window.removeEventListener("resize",I)}catch(e){console.error("Fetch error:",e),L(),window.addEventListener("resize",I),x(),m?E():w(r,!0)}};function L(){d&&!d.dataset.listenerAdded&&(d.addEventListener("click",A),d.dataset.listenerAdded="true"),c&&!c.dataset.listenerAdded&&(c.addEventListener("click",b),c.dataset.listenerAdded="true")}function p(){d&&d.dataset.listenerAdded&&(d.removeEventListener("click",A),delete d.dataset.listenerAdded),c&&c.dataset.listenerAdded&&(c.removeEventListener("click",b),delete c.dataset.listenerAdded)}function x(){if(u){const e="true"===u.getAttribute("data-observing");m&&!e?(h.observe(u),u.setAttribute("data-observing","true")):!m&&e&&(h.disconnect(),u.removeAttribute("data-observing"))}}function I(){m=window.matchMedia("(max-width: 960px)").matches,x()}L(),x(),window.addEventListener("resize",I)})("/zone/section?dID=ckpmqk9s0f9ll0b16len3e58d&locale=da&marketplace=gte-travelmarketplaces-com&mu=%2Fda%2Fportugal%2Fbedste-ture-og-billetter%2Fmultiadgangskort-til-museer&pt=Tours&route=%2FgteTourSearch&sc=%7B%22sectionWhere%22%3A%7B%22pageType%22%3A%22Tours%22%2C%22pageVariation%22%3A%22InCountryWithTypeAndTag%22%2C%22destination%22%3A%7B%22id%22%3A%22ckpmqk9s0f9ll0b16len3e58d%22%7D%2C%22NOT%22%3A%5B%7B%22metadataUri%22%3A%22%2Fda%2Fportugal%2Fbedste-ture-og-billetter%2Fmultiadgangskort-til-museer%22%7D%5D%2C%22subType%22%3A%7B%22parentSubType%22%3A%7B%22subtype%22%3A%22EntryTicketsPassesSubtype%22%7D%7D%7D%2C%22where%22%3A%7B%22domain_in%22%3A%5B%22Tours%22%5D%2C%22sectionId%22%3A16%7D%2C%22itemsPerPage%22%3A24%7D&urlFront=https%3A%2F%2Fguidetoeurope.com&after=clgemwcbgfwzr0anm75xt9nvu&hasNextPage=false§ionId=16-Tours&itemsPerPage=24");