1import{_ as L}from"./Image.vue.25e4d7aa.js";import{_ as J}from"./Link.vue.178d41f2.js";import{d as h,u as k,l as y,as as M,o as r,c as l,F as C,y as O,t as d,s as _,b as a,f as n,aP as N,m as $,ab as z,h as w,w as f,g as D,a0 as b,aQ as I,P as F,e as m,n as A,au as U,a3 as R,a4 as V}from"./entry.bb8b6301.js";import{_ as S}from"./_plugin-vue_export-helper.c27b6911.js";import{u as W}from"./useCMSAttachment.fd444429.js";import{_ as K}from"./index.vue.f5e15cef.js";import{u as q}from"./useSignUpUrl.f0df382c.js";const H={class:"text-primary flex flex-wrap items-center gap-1 text-sm"},j={key:0},G={class:""},Q={key:0},X=h({__name:"Meta",props:{authors:{type:Array,default:()=>[]},publishedAt:{type:String,default:""}},setup(e){const s=e,{locale:i,t:o}=k(),t=y(()=>M(s.publishedAt,o("common.date"),{locales:i.value}).value);return(c,v)=>{var p;return r(),l("div",H,[(r(!0),l(C,null,O(e.authors,(x,g)=>(r(),l(C,{key:x.id},[g?(r(),l("span",j,d(c.$t("separator.dot")),1)):_("",!0),a("span",G,d(x.name),1)],64))),128)),(p=e.authors)!=null&&p.length&&e.publishedAt?(r(),l("span",Q,d(c.$t("separator.dot")),1)):_("",!0),a("span",null,d(n(t)),1)])}}}),Y=h({__name:"Pill",props:{pillColor:{type:String,default:"green"}},setup(e){const s=e,{color:i,borderColor:o,textColor:t}=N[s.pillColor];return(c,v)=>(r(),l("span",{class:"rounded-full border px-2.5 text-sm",style:z({backgroundColor:n(i),color:n(t),borderColor:n(o)})},[$(c.$slots,"default")],4))}}),Z={class:"section-blog-card-categories"},ee=h({__name:"Categories",props:{categories:{type:Array,default:()=>[]}},setup(e){return(s,i)=>{const o=Y;return r(),l("div",Z,[(r(!0),l(C,null,O(e.categories,t=>(r(),w(o,{key:t.id,"pill-color":t.color},{default:f(()=>[D(d(t.title),1)]),_:2},1032,["pill-color"]))),128))])}}});const te=S(ee,[["__scopeId","data-v-4466afb9"]]);const oe={},se={class:"base-card"},ne={key:0,class:"base-card-header"},ae={class:"base-card-body"},re={key:1,class:"base-card-footer"};function ie(e,s){return r(),l("div",se,[e.$slots.header?(r(),l("header",ne,[$(e.$slots,"header",{},void 0,!0)])):_("",!0),a("section",ae,[$(e.$slots,"default",{},void 0,!0)]),e.$slots.footer?(r(),l("footer",re,[$(e.$slots,"footer",{},void 0,!0)])):_("",!0)])}const le=S(oe,[["render",ie],["__scopeId","data-v-3ce2dde1"]]);function ce(e,s){return(s?e:e.split(/\s+/)).length}function de(e,s){let i=0;function o(t){for(const c in t)typeof t[c]=="object"?o(t[c]):(c==="text"||c==="content")&&(i+=ce(t[c],s))}return e.forEach(t=>o(t)),i}const pe=(e,s)=>{const i=s===b.JA.code,o=de(e,i),t=i?I.JA:I.EN;return Math.round(o/t)},me={class:"section-blog-card-body"},_e={class:"section-blog-card-title"},ue={class:"section-blog-card-title-text"},he={class:"text-gray-600"},ge={class:"section-blog-card-footer"},fe={key:0,class:"shrink-0 pl-4 text-sm text-gray-600"},be=h({__name:"index",props:{post:{type:Object,default:()=>{}}},setup(e){const s=e,i=y(()=>`${F.POST}/${s.post.slug}`),o=y(()=>{var g;const p=(g=s.post.hero)==null?void 0:g.media;if(!p)return null;const x=(p==null?void 0:p.url)||"";return{...p,fullPath:W(x)}}),{locale:t}=k(),c=y(()=>s.post.categories),v=pe(s.post.layout,t.value);return(p,x)=>{const g=L,E=J,P=X,B=te,T=le;return r(),w(T,{class:"group"},{header:f(()=>[m(E,{to:n(i)},{default:f(()=>{var u;return[(u=n(o))!=null&&u.fullPath?(r(),w(g,{key:0,src:n(o).fullPath,class:"mb-6 aspect-video w-full object-cover transition-all group-hover:rounded-2xl",alt:n(o).alt,height:n(o).height,width:n(o).width},null,8,["src","alt","height","width"])):_("",!0)]}),_:1},8,["to"])]),default:f(()=>{var u;return[a("div",me,[m(P,{authors:e.post.populatedAuthors,"published-at":e.post.publishedAt},null,8,["authors","published-at"]),a("h3",_e,[m(E,{to:n(i),class:"flex"},{default:f(()=>[a("span",ue,[a("span",null,d(e.post.title),1)])]),_:1},8,["to"])]),a("p",he,d((u=e.post.meta)==null?void 0:u.description),1)])]}),footer:f(()=>{var u;return[a("div",ge,[a("div",null,[(u=e.post.categories)!=null&&u.length?(r(),w(B,{key:0,categories:n(c)},null,8,["categories"])):_("",!0)]),e.post.layout?(r(),l("p",fe,d(p.$t("blog.post.read_time",{minutes:n(v)})),1)):_("",!0)])]}),_:1})}}});const Ve=S(be,[["__scopeId","data-v-b9db3f84"]]),ve={class:"grid h-16 w-16 place-content-center transition-transform"},xe={class:"[@media(hover:hover)]:motion-safe:group-hover:p-4 transition-padding rounded-full bg-white p-3.5 shadow-2xl transition-all"},ye=h({__name:"FloatingIcon",props:{iconName:{type:String,required:!0}},setup(e){return(s,i)=>{const o=K;return r(),l("div",ve,[a("div",xe,[m(o,{name:e.iconName,size:"32",class:"text-accent"},null,8,["name"])])])}}}),$e={class:"relative w-max"},we=h({__name:"Image",props:{loading:{type:String,required:!1,default:"lazy"}},setup(e){return(s,i)=>{const o=ye,t=L;return r(),l("div",$e,[m(o,{"icon-name":"IconWiki",class:"[@media(hover:hover)]:motion-safe:group-hover:rotate-15 absolute right-0 duration-500"}),m(o,{"icon-name":"IconProject",class:"[@media(hover:hover)]:motion-safe:group-hover:-rotate-15 absolute left-[21%] top-[54%] duration-500"}),m(o,{"icon-name":"IconToDo",class:"[@media(hover:hover)]:motion-safe:group-hover:rotate-15 [@media(hover:hover)]:motion-safe:group-hover:p-4 origin-center-left absolute right-[1.5%] top-[62%] duration-500"}),m(t,{src:"/img/hero/promo_main.svg",class:"h-[215px] w-[252px]",loading:e.loading,width:215,height:252},null,8,["loading"])])}}}),Ce=e=>(R("data-v-b267d97e"),e=e(),V(),e),Se=["onKeyup"],Ae={class:"bg-primary duration-600 [@media(hover:hover)]:group-hover:bg-primary-blue-600 relative isolate flex flex-grow overflow-hidden transition"},Le={class:"flex flex-grow flex-col p-4 text-center md:p-8 md:text-left lg:py-10"},ke={key:0,class:"heading-lg lg:heading-xl mb-2 whitespace-pre-line font-semibold leading-normal text-white"},Ee={class:"whitespace-pre-line"},Ie={class:"whitespace-pre-line"},Oe={class:"heading-xs lg:heading-sm md:max-w-unset mx-auto max-w-[15.5rem] whitespace-pre-line text-white md:m-0"},Pe={class:"grid flex-grow place-content-center py-4 md:hidden"},Be=Ce(()=>
1a("div",{class:"mask -z-1 absolute bottom-[13%] left-[-5%] h-[106px] w-[110%] rotate-[10deg] bg-gradient-to-t from-[#0284C7]/0 to-[#4EAEE0]/40 md:bottom-[-21%] md:left-[-5%] md:h-[157px] md:w-[1103px] md:rotate-[5deg]"},null,-1)),Te={class:"bg-accent heading-base lg:heading-xl px-1 py-2 text-center uppercase text-white"},Je=h({__name:"index",setup(e){const{locale:s}=k(),{navigateToSignUp:i}=q();function o(){i()}return(t,c)=>{const v=L,p=we;return r(),l("div",{class:"md:min-h-unset group relative flex min-h-[555px] w-full max-w-3xl flex-col overflow-hidden rounded-xl lg:max-w-[1000px]",tabindex:"0",onClick:o,onKeyup:U(o,["enter"])},[a("div",Ae,[a("div",Le,[n(s)===("LOCALES"in t?t.LOCALES:n(b)).JA.code?(r(),l("p",ke,d(t.$t("top.hero.promo.header_pre")),1)):_("",!0),a("p",{class:A(["heading-xl lg:heading-3xl leading-normal text-white",`${n(s)===("LOCALES"in t?t.LOCALES:n(b)).JA.code?"mb-4 font-semibold":"mb-6 font-medium md:mb-2"}`])},[a("span",Ee,d(t.$t("top.hero.promo.header_pre_image")),1),n(s)===("LOCALES"in t?t.LOCALES:n(b)).JA.code?(r(),l(C,{key:0},[m(v,{src:"/img/klever_logo.svg",class:"mx-2 mb-2 inline-block rounded-lg bg-white p-1 sm:mb-0 md:mx-4",width:"32",height:"32",loading:"lazy"}),a("span",Ie,d(t.$t("top.hero.promo.header_post_image")),1)],64)):_("",!0)],2),a("p",{class:A(["heading-base whitespace-pre-line leading-normal text-white",`${n(s)===("LOCALES"in t?t.LOCALES:n(b)).JA.code?"lg:heading-lg mb-4":"lg:heading-2xl mb-4 md:mb-2"}`])},d(t.$t("top.hero.promo.description")),3),a("p",Oe,d(t.$t("top.hero.promo.notes")),1),a("div",Pe,[m(p,{class:"-translate-x-4 translate-y-4"})])]),Be]),a("div",{class:A(["absolute hidden transition-all duration-500 md:block lg:bottom-0 lg:right-12 lg:top-12 lg:scale-100",`${n(s)===("LOCALES"in t?t.LOCALES:n(b)).JA.code?"scale-90 md:bottom-6 md:right-3.5":"scale-75 md:-right-4 md:bottom-0"}`])},[m(p)],2),a("div",Te,d(t.$t("top.hero.promo.footer")),1)],40,Se)}}});const We=S(Je,[["__scopeId","data-v-b267d97e"]]);export{We as _,te as a,Ve as b};
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.