PageSourceSearch

https://www.multibygg-kalmar.se/_nuxt/KrwlAn2r.js

js multibygg-kalmar.se collected 2026-09-29 06:57:24 UTC 4,507 bytes, 1 lines download raw bytes

1import{A as e,Ct as t,D as n,F as r,N as i,R as a,_ as o,d as s,et as c,f as l,g as u,l as d,r as f,u as p}from"./BBBs8PU1.js";import{t as m}from"./BF6mcVFX.js";import{t as h}from"./vzE2eI-X.js";import{t as g}from"./ulJ_xUjs.js";import{t as _}from"./CGt8UnIq.js";var v={class:`wrapper flex flex-col md:flex-row`},y={class:`md:w-1/5 shrink-0 fade-in`},b={key:0,class:`text-md uppercase font-heading mb-8 md:mb-0`},x={class:`md:w-4/5 flex flex-wrap fade-in`,"data-delay":`1`},S={key:0,class:`w-full h-auto aspect-square sm:w-2/5 relative`},C={class:`flex flex-col w-full sm:w-3/5 bg-brand flex-1 p-5 xs:p-10 sm:px-5 sm:md:pl-10 md:pr-5 lg:pl-20 lg:pr-10 xl:pl-28 xl:pr-20 justify-center`},w={key:0,class:`text-xl font-heading uppercase`},T={key:1,class:`mb-5`},E=[`href`],D=[`href`],O=[`href`],k={__name:`alt`,props:[`slice`,`formatPhone`],setup(e){return(n,i)=>{let a=m,c=h,f=g;return r(),l(`div`,v,[d(`div`,y,[e.slice.primary.label&&e.slice.primary.label.length&&e.slice.primary.label[0].text?(r(),l(`div`,b,[o(a,{field:e.slice.primary.label},null,8,[`field`])])):s(``,!0)]),d(`div`,x,[e.slice.primary.staff.data.image&&e.slice.primary.staff.data.image?.url?(r(),l(`figure`,S,[o(c,{field:e.slice.primary.staff.data.image,loading:`lazy`,class:`object-cover absolute h-full w-full inset-0`},null,8,[`field`])])):s(``,!0),d(`div`,C,[e.slice.primary.staff.data.name&&e.slice.primary.staff.data.name[0]?.text?(r(),l(`div`,w,[o(a,{field:e.slice.primary.staff.data.name},null,8,[`field`])])):s(``,!0),e.slice.primary.staff.data.position.data.title?(r(),l(`p`,T,t(e.slice.primary.staff.data.position.data.title),1)):s(``,!0),e.slice.primary.staff.data.phone?(r(),l(`a`,{key:2,href:`tel:${e.formatPhone}`,class:`text-base hover:underline`},t(e.slice.primary.staff.data.phone),9,E)):s(``,!0),e.slice.primary.staff.data.email?(r(),l(`a`,{key:3,href:`mailto:${e.slice.primary.staff.data.email}`,class:`text-base hover:underline`},t(e.slice.primary.staff.data.email),9,D)):s(``,!0),d(`a`,{href:`mailto:${e.slice.primary.staff.data.email}`,class:`link group mt-4`},[i[0]||=u(` Skicka e-post `,-1),o(f,{name:`arrow-sm`,class:`group-hover:translate-x-1`})],8,O)])])])}}},A=[`data-slice-type`,`data-slice-variation`,`id`],j={key:1,class:`wrapper`},M={class:`flex flex-wrap -mx-[18px]`},N={key:0,class:`w-full text-xl sm:text-[38px] font-heading uppercase px-5 mb-5`},P={class:`relative`},F={key:0,class:`w-full h-auto aspect-[1/1] object-cover`},I={class:`inline-flex items-center bg-brand px-5 py-3 absolute transform -translate-y-1/2`},L={key:0,class:`h-6 w-6 object-cover mr-3`},R={class:`flex flex-col`},z={key:0,class:`text-xl font-heading uppercase mb-5 mt-12`},B=[`href`],V=[`href`],H={__name:`index`,props:[`slice`],setup(u){let g=c(null),{observe:v,cleanup:y}=_(),b=e=>{let t=e.replace(/[\s-]/g,``);return t.startsWith(`0`)&&(t=`+46`+t.substring(1)),t};return i(async()=>{await n(),g.value&&v(g.value,`in-viewport`)}),e(()=>{y()}),(e,n)=>{let i=m,c=h;return r(),l(`section`,{"data-slice-type":u.slice.slice_type,"data-slice-variation":u.slice.variation,class:`slice staff-slice px-section my-section`,ref_key:`staffSlice`,ref:g,id:u.slice?.primary?.sid},[u.slice.variation===`alt`?(r(),p(k,{key:0,slice:u.slice,formatPhone:u.slice.primary.staff.data.phone?b(u.slice.primary.staff.data.phone):!1},null,8,[`slice`,`formatPhone`])):(r(),l(`div`,j,[d(`div`,M,[u.slice.primary.label&&u.slice.primary.label[0]?.text?(r(),l(`div`,N,[o(i,{field:u.slice.primary.label},null,8,[`field`])])):s(``,!0),(r(!0),l(f,null,a(u.slice.items,({staff:e},n)=>(r(),l(`div`,{key:u.slice.id+n,class:`w-full md:w-1/2 lg:w-1/3 p-5`,"data-delay":`1`},[d(`div`,P,[e?.data?.image&&e?.data?.image?.url?(r(),l(`figure`,F,[o(c,{field:e.data.image,loading:`lazy`,class:`w-full h-auto aspect-[1/1] object-cover`},null,8,[`field`])])):s(``,!0),d(`div`,I,[e?.data?.position?.data?.icon&&e?.data?.position?.data?.icon?.url?(r(),l(`figure`,L,[o(c,{field:e.data.position.data.icon,loading:`lazy`,class:`h-6 w-6 object-cover mr-3`},null,8,[`field`])])):s(``,!0),d(`p`,null,t(e.data.position.data.title),1)])]),d(`div`,R,[e.data.name&&e.data.name[0]?.text?(r(),l(`div`,z,[o(i,{field:e.data.name},null,8,[`field`])])):s(``,!0),e.data.phone?(r(),l(`a`,{key:1,href:`tel:${b(e.data.phone)}`,class:`text-base text-highlight hover:underline`}
1,t(e.data.phone),9,B)):s(``,!0),e.data.email?(r(),l(`a`,{key:2,href:`mailto:${e.data.email}`,class:`text-base text-highlight hover:underline`},t(e.data.email),9,V)):s(``,!0)])]))),128))])]))],8,A)}}};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.