PageSourceSearch

https://zoo.ch/_nuxt/8GLWgalg.js

js zoo.ch collected 2026-10-01 11:48:53 UTC 4,823 bytes, 27 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`45cd1b50abb4a09678f0cd171d36dc2dec888a52`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`1f8231f5-0a84-4a5a-a2c5-c0c851ca4b72`,e._sentryDebugIdIdentifier=`sentry-dbid-1f8231f5-0a84-4a5a-a2c5-c0c851ca4b72`)}catch{}})();import{s as e}from"./B4swkjZV.js";import{Ct as t,D as n,E as r,On as i,Yt as a,Zn as o,_ as s,b as c,er as l,g as u,k as d,mt as f,qt as p,tr as m,v as h,vn as g,y as _}from"./X1fH4ICN.js";import{t as v}from"./CM_1pVUf.js";import{t as y}from"./CA_6EcIB.js";import{n as b,r as x,t as S}from"./BmSRvPM9.js";import{n as C,t as w}from"./CAEF7MPZ.js";import{t as T}from"./5BF6v_wI.js";import{t as E}from"./Xq6gqPBo.js";import{n as D}from"./WT4kT-qY.js";import{t as O}from"./DcVbKbM4.js";import{t as k}from"./DepQ9Ovy.js";import{t as A}from"./DRuf5Rhg.js";import{t as j}from"./DAOLg2ix.js";import{t as M}from"./BEfFX-o9.js";var N={class:`z-20 w-full px-6`},P={class:`flex flex-col items-center justify-center gap-component-gap-text`},F={class:`flex w-full flex-col items-center gap-component-gap-button`},I={class:`flex w-full flex-col items-center gap-component-gap-text text-center`},L=[`id`],R={key:0,class:`w-full`},z={key:1,class:`w-full`},B={class:`user-select-none pointer-events-none absolute inset-0 -z-10 size-full bg-themed-100 dark:bg-themed-700`},V=Object.assign(d({__name:`CallToAction`,props:{themeColor:{},icon:{},heading:{},subtitle:{},image:{},leftLink:{},rightLink:{}},setup(d){let p=d,y=u(()=>w(p.themeColor,p.themeColor.isDark?`dark`:`light`)),S=u(()=>C(p.themeColor)),D=e(),k=u(()=>p.image??M(p.themeColor,D.public.BUNNY_BASE_URL)),j=g(null),V=u(()=>b(!p.themeColor.isDark)),{registerNavigationSurface:H}=x();return H(V,j),(e,u)=>{let p=v,g=E,b=A,x=O,C=t(`motion`);return a((f(),c(`div`,{ref_key:`rootRef`,ref:j,style:l(i(y)),class:o([`relative z-10 flex min-h-135 items-center justify-center overflow-clip rounded-lg bg-surface py-module-y-big text-themed-text`,i(S)])},[s(`div`,N,[s(`div`,P,[d.icon?a((f(),h(p,{key:0,name:d.icon,class:`size-15 text-themed-700 **:stroke-1 md:size-25 dark:text-themed-300`},null,8,[`name`])),[[C,void 0,`child`]]):_(``,!0),s(`div`,F,[s(`div`,I,[d.heading?a((f(),c(`h2`,{key:0,id:(`slugify`in e?e.slugify:i(T))(d.heading),class:`w-full font-serif text-heading-lg text-balance hyphens-auto text-themed-700 dark:text-themed-300`},[r(m(d.heading),1)],8,L)),[[C,void 0,`child`]]):_(``,!0),d.subtitle?a((f(),h(g,{key:1,"motion-inert":``,html:d.subtitle,class:`text-themed-text`},null,8,[`html`])),[[C,void 0,`child`]]):_(``,!0)]),d.leftLink||d.rightLink?(f(),c(`div`,{key:0,class:o([`grid w-full max-w-56 grid-cols-1 gap-component-gap-components md:w-fit md:max-w-2/3`,{"md:grid-cols-2":d.leftLink&&d.rightLink}])},[d.leftLink?a((f(),c(`div`,R,[n(b,{link:d.leftLink,size:{base:`sm`,md:`md`},type:`button`,variant:`primary`,class:`w-full justify-center`},null,8,[`link`])])),[[C,void 0,`child`]]):_(``,!0),d.rightLink?a((f(),c(`div`,z,[n(b,{type:`button`,link:d.rightLink,size:{base:`sm`,md:`md`},variant:`secondary`,class:`w-full justify-center`},null,8,[`link`])])),[[C,void 0,`child`]]):_(``,!0)],2)):_(``,!0)])])]),s(`div`,B,[n(x,{media:i(k),class:`size-full opacity-50`,"object-fit":`cover`},null,8,[`media`])])],6)),[[C,{wrapper:`soft-reveal`},`group`]])}}}),{__name:`CallToAction`}),H=Object.assign(d({__name:`CmsCallToAction`,props:{data:{},sectionVariant:{}},setup(e){y(`
2  fragment ComponentCallToAction on Fieldset_ComponentCallToAction {
3    id
4    icon_slug
5    image {
6      ... Asset
7    }
8
9    heading
10    subtitle
11    color_hash
12    left_icon_slug
13    left_link {
14      url
15      title
16    }
17    left_link_text
18    left_link_anchor
19    right_icon_slug
20    right_link {
21      url
22      title
23    }
24    right_link_text
25    right_link_anchor
26  }
27`);let t=e,{fromAsset:r}=k(),a=j(()=>t.data.color_hash);return(t,o)=>{let s=V,c=S;return f(),h(c,{variant:e.sectionVariant,spacing:`module`,"spacing-bottom":`module-big`},{default:p(()=>[n(s,{icon:e.data.icon_slug,heading:e.data.heading,subtitle:e.data.subtitle,image:i(r)(e.data.image??void 0)??null,"theme-color":i(a),"left-link":e.data.left_link?.url?{url:(`cmsLinkWithAnchor`in t?t.cmsLinkWithAnchor:i(D))(e.data.left_link.url,e.data.left_link_anchor),text:e.data.left_link_text??null,leadingIcon:e.data.left_icon_slug}:null,"right-link":e.data.right_link?.url?{url:(`cmsLinkWithAnchor`in t?t.cmsLinkWithAnchor:i(D))(e.data.right_link.url,e.data.r
27ight_link_anchor),text:e.data.right_link_text??null,leadingIcon:e.data.right_icon_slug}:null},null,8,[`icon`,`heading`,`subtitle`,`image`,`theme-color`,`left-link`,`right-link`])]),_:1},8,[`variant`])}}}),{__name:`CmsCallToAction`});export{H 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.