PageSourceSearch

https://keahealth.com/_app/immutable/chunks/ArticlesPreview.CBMOTl8y.js

js keahealth.com collected 2026-10-04 21:25:18 UTC 2,896 bytes, 1 lines download raw bytes

1import{s as R,e as h,a as P,t as U,c as _,b as v,f as u,d as j,l as z,h as l,i as T,j as o,m as B}from"./scheduler.B99SvPBr.js";import{S as W,i as X,c as F,a as H,m as J,t as K,b as N,d as O}from"./index.BD7tqF30.js";import{S as Y}from"./SanityImage.CmIqDnhi.js";import{S as Z}from"./Svg.DHAh-rHB.js";function ee(t){let s,a,m,r,g,c,i,b,D=Q(t[0].date||t[0]._createdAt)+"",E,V,w,S=t[0].title+"",A,y,k,p,I,$,M,d;return r=new Y({props:{image:t[0].image,alt:t[0].image.alt,width:"300",height:"230",style:"h-full w-full object-cover"}}),p=new Z({props:{name:"arrow"}}),{c(){s=h("div"),a=h("a"),m=h("div"),F(r.$$.fragment),c=P(),i=h("div"),b=h("p"),E=U(D),V=P(),w=h("p"),A=U(S),y=P(),k=h("div"),F(p.$$.fragment),this.h()},l(e){s=_(e,"DIV",{class:!0});var n=v(s);a=_(n,"A",{href:!0,class:!0});var f=v(a);m=_(f,"DIV",{class:!0});var G=v(m);H(r.$$.fragment,G),G.forEach(u),c=j(f),i=_(f,"DIV",{class:!0});var x=v(i);b=_(x,"P",{class:!0});var q=v(b);E=z(q,D),q.forEach(u),V=j(x),w=_(x,"P",{class:!0});var C=v(w);A=z(C,S),C.forEach(u),y=j(x),k=_(x,"DIV",{class:!0});var L=v(k);H(p.$$.fragment,L),L.forEach(u),x.forEach(u),f.forEach(u),n.forEach(u),this.h()},h(){l(m,"class",g="max-md:shrink-0 max-md:h-full "+(t[2]?"max-md:col-span-3":"max-md:col-span-1")),l(b,"class","text-xs text-keaGreen uppercase font-semibold md:pt-4"),l(w,"class","md:text-xl font-mont font-black text-keaDarkGreen md:pt-2 max-md:py-2 group-hover:underline"),l(k,"class","pt-2 md:pt-4"),l(i,"class",I=(t[2]?"max-md:col-span-3":"max-md:col-span-2")+" "+(t[1]?"bg-white px-6 pb-6":"")),l(a,"href",$="/advice/"+t[0].slug.current),l(a,"class","max-md:grid max-md:grid-cols-3 gap-6 group"),l(s,"class",M=t[1]?"bg-white":"")},m(e,n){T(e,s,n),o(s,a),o(a,m),J(r,m,null),o(a,c),o(a,i),o(i,b),o(b,E),o(i,V),o(i,w),o(w,A),o(i,y),o(i,k),J(p,k,null),d=!0},p(e,[n]){const f={};n&1&&(f.image=e[0].image),n&1&&(f.alt=e[0].image.alt),r.$set(f),(!d||n&4&&g!==(g="max-md:shrink-0 max-md:h-full "+(e[2]?"max-md:col-span-3":"max-md:col-span-1")))&&l(m,"class",g),(!d||n&1)&&D!==(D=Q(e[0].date||e[0]._createdAt)+"")&&B(E,D),(!d||n&1)&&S!==(S=e[0].title+"")&&B(A,S),(!d||n&6&&I!==(I=(e[2]?"max-md:col-span-3":"max-md:col-span-2")+" "+(e[1]?"bg-white px-6 pb-6":"")))&&l(i,"class",I),(!d||n&1&&$!==($="/advice/"+e[0].slug.current))&&l(a,"href",$),(!d||n&2&&M!==(M=e[1]?"bg-white":""))&&l(s,"class",M)},i(e){d||(K(r.$$.fragment,e),K(p.$$.fragment,e),d=!0)},o(e){N(r.$$.fragment,e),N(p.$$.fragment,e),d=!1},d(e){e&&u(s),O(r),O(p)}}}function Q(t){const s=new Date(t),a={day:"numeric",month:"long",year:"numeric"};return s.toLocaleDateString("en-US",a)}function ae(t,s,a){let{content:m,background:r,altMobile:g}=s;return t.$$set=c=>{"content"in c&&a(0,m=c.content),"background"in c&&a(1,r=c.background),"altMobile"in c&&a(2,g=c.altMobile)},[m,r,g]}class re extends W{constructor(s){super(),X(this,s,ae,ee,R,{content:0,background:1,altMobile:2})}}export{re as A};

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.