PageSourceSearch

https://www.davos.ch/_nuxt/CERfmFRd.js

js davos.ch collected 2026-10-02 03:47:52 UTC 2,684 bytes, 1 lines download raw bytes

1import{d as k,e as d,f as r,g as l,h as s,i as t,J as b,p as c,l as p,a5 as x,P as v,aC as z,a6 as C,F as L,m as $,bk as B,I as M,_ as w,$ as N}from"./CqN3j-ir.js";import{_ as P}from"./-h2h3NH1.js";import{d as S}from"./CXpasbNu.js";import{s as T}from"./Bz_XIgl7.js";import{i as V,c as j}from"./CRkCGo4w.js";import"./_RwYmhS1.js";const U="_container_wn1wy_50",D="_header_wn1wy_54",F="_cards_wn1wy_58",I="_card_wn1wy_58",q="_card_image_wrapper_wn1wy_89",E="_card_image_link_wn1wy_94",J="_card_image_wn1wy_89",A="_card_image_placeholder_wn1wy_109",G="_file_extension_wn1wy_124",H="_file_size_wn1wy_142",K="_card_text_wn1wy_151",O="_card_title_wn1wy_154",Q="_card_description_wn1wy_159",R="_card_buttons_wn1wy_164",W="_card_button_wn1wy_164",a={"object-fit":"_object-fit_wn1wy_1","auto-alpha":"_auto-alpha_wn1wy_11","is-fluid":"_is-fluid_wn1wy_16","is-fluid-inner":"_is-fluid-inner_wn1wy_33",container:U,header:D,cards:F,card:I,card_image_wrapper:q,card_image_link:E,card_image:J,card_image_placeholder:A,file_extension:G,file_size:H,card_text:K,card_title:O,card_description:Q,card_buttons:R,card_button:W},se=k({__name:"index",props:{data:{}},setup(f){const m=f,{content:i,appearance:u}=m.data,y=({card:e})=>{const o=typeof e.linkMedia!="string"?e.linkMedia.href:e.file[0].publicUrl,_=typeof e.linkMedia=="object"?e.linkMedia.target:"_blank",g=e.hasPreview?{publicUrl:e.preview}:{publicUrl:"no-preview"},h=[e.button1,e.button2,e.button3];return s("div",{class:a.card},[s("div",{class:a.card_image_wrapper},[s(w,{class:a.card_image_link,to:o,target:_},{default:()=>[e.hasPreview?s(P,{data:g,class:a.card_image,sizes:"250px",quality:100},null):s("div",{class:a.card_image_placeholder},[s("p",{class:a.file_extension},[e.file[0].properties.extension]),s("p",{class:a.file_size},[e.file[0].properties.size])])]})]),s("div",{class:a.card_text},[s("p",{class:a.card_title},[s(w,{class:a.card_link,to:o,target:_},{default:()=>[e.title]})]),e.description&&s("p",{class:a.card_description},[e.description]),s("div",{class:a.card_buttons},[h.map(n=>typeof n!="string"&&n.href&&s(N,{variant:"outline",size:"xs",href:n.href,target:n.target,class:a.card_button},{default:()=>[n.title]}))])])])};return(e,o)=>(r(),d(t(M),{style:B(t(T)(t(u)))},{default:l(()=>[s(t(b),{class:c(t(a).container)},{default:l(()=>[t(V)(t(i).title,t(i).titleLayout)?(r(),p("div",{key:0,class:c(t(a).header)},[s(t(S),{as:t(j)(t(i).titleLayout),class:c(t(a).title)},{default:l(()=>[z(C(t(i).title),1)]),_:1},8,["as","class"])],2)):x("",!0),v("div",{class:c(t(a).cards)},[(r(!0),p(L,null,$(t(i).items,_=>(r(),d(y,{key:_.id,card:_},null,8,["card"]))),128))],2)]),_:1},8,["class"])]),_:1},8,["style"]))}});export{se as default};

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.