1import{_ as G}from"./0AYLE4qz.js";import{a6 as I,G as M,r as T,c as s,e,d,j as l,t as o,h as g,n as c,F as x,k as j,g as E,l as F,m as Y,v as q,P as A}from"./Dbf9wVs8.js";import{_ as H}from"./DXzGyyOa.js";const J=["data-slice-type","data-slice-variation"],K={class:"wrapper text-center"},O={key:0,class:"mb-5 lg:mb-lg lg:w-7/12 mx-auto"},Q={key:0,class:"text-m-4xl lg:text-4xl leading-[1.1] text-darkest"},R={key:1,class:"text-m-base lg:text-md mt-4 lg:mt-sm leading-tight"},U={key:1,class:"inline-flex items-center justify-center gap-1 mb-6 lg:mb-md p-1 rounded-full border border-light bg-white"},W={key:2,class:"grid grid-cols-1 lg:grid-cols-3 gap-md xl:gap-grid w-full justify-items-center"},X={key:0,class:"text-m-3xl lg:text-3xl leading-tight"},Z={key:2,class:"mt-6 lg:mt-md"},tt={class:"text-m-3xl lg:text-3xl -tracking-[0.06em] leading-none"},et={key:0,class:"flex items-start gap-2 lg:gap-xs my-1 list-none"},st={key:1,class:"my-[0.85em] last:mb-0 first:mt-0"},it={key:4,class:"mt-8 lg:mt-[3vw]"},at={__name:"index",props:I(),setup(L){var _,k;const u=L,m=M(()=>{var i,a;return((a=(i=u.slice)==null?void 0:i.primary)==null?void 0:a.plan)??[]}),n=T(!!((k=(_=u.slice)==null?void 0:_.primary)!=null&&k.billing_period)),h=i=>i?n.value?i.price_anually||"":i.price_monthly||"":"";return(i,a)=>{var b,f,v,p,w,$,B,C;const y=G,S=A,z=H;return e(),s("section",{"data-slice-type":i.slice.slice_type,"data-slice-variation":i.slice.variation,class:"slice"},[d("div",K,[(f=(b=i.slice)==null?void 0:b.primary)!=null&&f.title||(p=(v=i.slice)==null?void 0:v.primary)!=null&&p.short_description?(e(),s("div",O,[($=(w=i.slice)==null?void 0:w.primary)!=null&&$.title?(e(),s("h2",Q,o(i.slice.primary.title),1)):l("",!0),(C=(B=i.slice)==null?void 0:B.primary)!=null&&C.short_description?(e(),s("p",R,o(i.slice.primary.short_description),1)):l("",!0)])):l("",!0),g(m).length?(e(),s("div",U,[d("button",{type:"button",class:c(["rounded-full px-5 lg:px-[1.5vw] py-2 lg:py-[0.5vw] text-m-sm lg:text-base transition-colors duration-200",g(n)?"text-darkest/70 hover:text-darkest":"bg-neon text-darkest"]),onClick:a[0]||(a[0]=t=>n.value=!1)}," MÃ¥nadsvis ",2),d("button",{type:"button",class:c(["rounded-full px-5 lg:px-[1.5vw] py-2 lg:py-[0.5vw] text-m-sm lg:text-base transition-colors duration-200",g(n)?"bg-neon text-darkest":"text-darkest/70 hover:text-darkest"]),onClick:a[1]||(a[1]=t=>n.value=!0)}," Ã
rsvis ",2)])):l("",!0),g(m).length?(e(),s("div",W,[(e(!0),s(x,null,j(g(m),(t,P)=>{var N,V;return e(),s("div",{key:`plan-${P}`,class:c(["flex flex-col p-7 lg:p-lg rounded-md lg:rounded-lg border antialiased w-full text-left",t!=null&&t.highlight_plan?"bg-darkest text-white":"bg-light text-darkest"])},[t!=null&&t.title?(e(),s("h3",X,o(t.title),1)):l("",!0),t!=null&&t.short_description?(e(),s("p",{key:1,class:c(["mt-2 lg:mt-xs text-m-base lg:text-base leading-tight",t!=null&&t.highlight_plan?"text-white/70":"text-darkest/80"])},o(t.short_description),3)):l("",!0),h(t)?(e(),s("p",Z,[d("span",tt,o(h(t))+" kr ",1),d("span",{class:c(["text-m-base lg:text-base",t!=null&&t.highlight_plan?"text-white/80":""])},o(g(n)?"/ år":"/ månad"),3)])):l("",!0),(N=t==null?void 0:t.bulletpoints)!=null&&N.length?(e(),s("div",{key:3,class:c(["mt-6 lg:mt-md grow w-full mx-auto text-left rich-text text-m-base lg:text-base",t!=null&&t.highlight_plan?"text-white":""])},[(e(!0),s(x,null,j(t.bulletpoints,(r,D)=>(e(),s(x,{key:`bullet-${P}-${D}`},[(r==null?void 0:r.type)==="list-item"&&(r!=null&&r.text)?(e(),s("li",et,[E(y,{name:"check",class:c(["w-[1.2em] h-[1.2em] mt-0.5 shrink-0",t!=null&&t.highlight_plan?"text-neon":"text-lapis"])},null,8,["class"]),d("span",null,o(r.text),1)])):r!=null&&r.text?(e(),s("p",st,o(r.text),1)):l("",!0)],64))),128))],2)):l("",!0),(V=t==null?void 0:t.link)!=null&&V.text?(e(),s("p",it,[t!=null&&t.highlight_plan?(e(),F(S,{key:0,field:t.link,class:"inline-flex items-center bg-neon text-darkest rounded-full gap-x-3 lg:gap-x-sm px-5 lg:px-[1.5vw] py-3 lg:py-[0.7vw] text-[14px] lg:text-base transition-colors duration-200 hover:bg-white"},{default:Y(()=>[q(o(t.link.text)+" ",1),E(y,{name:"arrow-right",class:"w-4 lg:w-sm h-4 lg:h-sm block"})]),_:2},1032,["field"])):(e(),F(z,{key:1,button:t.link},null,8,["button"]))])):l("",!0)],2)}),128))])):l("",!0)])],8,J)}}};export{at 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.