PageSourceSearch

https://zermatt.swiss/_nuxt/CCTQ3-_k.js

js zermatt.swiss collected 2026-09-24 09:48:07 UTC 575 bytes, 1 lines download raw bytes

1import{N as f,c as a,k as r,H as q}from"./CVbDcFq-.js";const p=(t,d,u="tab")=>{const s=f(),n=a(()=>(t&&"value"in t?t.value:t)||[]),v=r(),c=a(()=>{var e;return d??((e=n.value[0])==null?void 0:e.id)}),l=a(()=>v.value??s.query[u]??c.value),i=a(()=>n.value.findIndex(e=>e.id===l.value)||0),b=e=>{v.value=e},T=(e,I=!1)=>{if(I)return;const{[u]:x,...o}=s.query;q({path:s.path,query:e===c.value?o:{...o,[u]:e}})};return{selectedTabId:a(()=>v.value),defaultTabId:a(()=>c.value),activeTabId:a(()=>l.value),activeTabIndex:a(()=>i.value),setActiveTab:b,navigateToTab:T}};export{p as u};

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.