1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3831],{3654:()=>{},4100:()=>{},5211:(e,s,t)=>{Promise.resolve().then(t.bind(t,8902))},6257:()=>{},7292:(e,s,t)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"useMergedRef",{enumerable:!0,get:function(){return n}});let r=t(6165);function n(e,s){let t=(0,r.useRef)(null),n=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=t.current;e&&(t.current=null,e());let s=n.current;s&&(n.current=null,s())}else e&&(t.current=i(e,r)),s&&(n.current=i(s,r))},[e,s])}function i(e,s){if("function"!=typeof e)return e.current=s,()=>{e.current=null};{let t=e(s);return"function"==typeof t?t:()=>e(null)}}("function"==typeof s.default||"object"==typeof s.default&&null!==s.default)&&void 0===s.default.__esModule&&(Object.defineProperty(s.default,"__esModule",{value:!0}),Object.assign(s.default,s),e.exports=s.default)},8902:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>f});var r=t(5841),n=t(6165);function i(){let[e,s]=(0,n.useState)(""),[t,i]=(0,n.useState)(!1),[a,l]=(0,n.use
1State)(!1),[o,c]=(0,n.useState)(null),d=async r=>{r.preventDefault();let n=e.trim();if(n&&!t){i(!0),c(null);try{let e=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n})});if(e.ok)l(!0),s("");else{let s=await e.json().catch(()=>null);c((null==s?void 0:s.error)||"Something went wrong. Please try again.")}}catch(e){c("Network error. Please check your connection and try again.")}finally{i(!1)}}};return(0,r.jsxs)("section",{className:"blog-hero","data-screen-label":"Blog hero",children:[(0,r.jsx)("img",{className:"blog-hero-bg",src:"/blog/hero.jpg",alt:"Post-acute care leader reviewing nursing-home insights on a tablet at her desk",loading:"eager",fetchPriority:"high",decoding:"async"}),(0,r.jsx)("div",{className:"blog-hero-scrim"}),(0,r.jsx)("div",{className:"shell",children:(0,r.jsxs)("div",{className:"blog-hero-lead",children:[(0,r.jsxs)("div",{className:"eyebrow-c reveal",children:[(0,r.jsx)("span",{className:"bar"})," Insights for Post-Acute Care Leaders"]}),(0,r.jsxs)("h1",{className:"reveal vs-title",style:{"--d":"60ms"},children:[(0,r.jsx)("img",{className:"vs-mark",src:"/blog/vitalshift-mark.png",alt:""}),(0,r.jsx)("span",{children:"Vital Shift"})]}),(0,r.jsx)("p",{className:"hero-sub reveal",style:{"--d":"120ms"},children:"Expert perspective on care continuity and innovation."}),(0,r.jsxs)("form",{className:"blog-subscribe reveal",style:{"--d":"180ms"},noValidate:!0,onSubmit:d,children:[(0,r.jsx)("input",{type:"email",placeholder:"[email protected]","aria-label":"Email address",value:e,onChange:e=>{s(e.target.value),a&&l(!1),o&&c(null)},required:!0}),(0,r.jsxs)("button",{type:"submit",className:"btn btn-demo","aria-label":"Subscribe to the newsletter",disabled:t,children:[t?"Subscribingâ¦":"Subscribe",(0,r.jsxs)("svg",{width:"17",height:"17",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,r.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]})]}),(0,r.jsxs)("p",{className:"blog-subscribe-note reveal".concat(o?" is-error":""),style:{"--d":"220ms"},"aria-live":"polite",children:[o?(0,r.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,r.jsx)("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),(0,r.jsx)("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]}):(0,r.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round",children:(0,r.jsx)("polyline",{points:"20 6 9 17 4 12"})}),o||(a?"Thanks â you're on the list.":"Care continuity insights, straight to your inbox.")]})]})})]})}function a(e){let{categories:s,selectedCategory:t,onCategorySelect:n}=e;return(0,r.jsx)("nav",{className:"cat-bar","aria-label":"Browse by category",children:(0,r.jsx)("div",{className:"shell",children:(0,r.jsxs)("div",{className:"cat-bar-inner",children:[(0,r.jsxs)("span",{className:"cat-label",children:[(0,r.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,r.jsx)("polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"})}),"Categories"]}),(0,r.jsxs)("div",{className:"cat-chips",children:[(0,r.jsx)("button",{className:"cat-chip".concat(null===t?" active":""),type:"button","aria-pressed":null===t,onClick:()=>n(null),children:"All Posts"}),s.map(e=>(0,r.jsx)("button",{className:"cat-chip".concat(t===e?" active":""),type:"button","aria-pressed":t===e,onClick:()=>n(e),children:e},e))]})]})})})}var l=t(9052),o=t.n(l),c=t(9693);function d(){return(0,r.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2"}),(0,r.jsx)("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),(0,r.jsx)("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),(0,r.jsx)("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})}function h(){return(0,r.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,r.jsx)("polyline",{points:"12 7 12 12 15.5 14"})]})}function u(e){let{posts:s}=e,t=(0,n.useRef)(null),i=e=>{let s=t.current;if(!s)return;let r=s.querySelector(".post-card"),n=(r?r.offsetWidth:380)+24;s.scrollBy({left:"next"===e?n:-n,behavior:"smooth"})};return 0===s.length?null:(0,r.jsx)("section",{className:"sec sec-tight featured","data-screen-label":"Featured posts",children:(0,r.jsxs)("div",{className:"shell",children:[(0,r.jsxs)("div",{className:"sec-head-row reveal",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{children:"Featured Posts"}),(0,r.jsx)("p",{className:"sub",children:"Handpicked articles from our editors"})]}),(0,r.jsxs)("div",{className:"carousel-nav",children:[(0,r.jsx)("button",{type:"button","aria-label":"Scroll featured posts left",onClick:()=>i("prev"),children:(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("line",{x1:"19",y1:"12",x2:"5",y2:"12"}),(0,r.jsx)("polyline",{points:"12 19 5 12 12 5"})]})}),(0,r.jsx)("button",{type:"button","aria-label":"Scroll featured posts right",onClick:()=>i("next"),children:(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,r.jsx)("polyline",{points:"12 5 19 12 12 19"})]})})]})]}),(0,r.jsx)("div",{className:"featured-track reveal",style:{"--d":"80ms"},ref:t,children:s.map(e=>{let s=c.T.blogPost(e.slug);return(0,r.jsxs)("article",{className:"post-card",children:[(0,r.jsxs)(o(),{className:"pc-media",href:s,"aria-label":e.title,children:[e.imageUrl&&(0,r.jsx)("img",{src:e.imageUrl,alt:e.title,loading:"lazy"}),(0,r.jsx)("span",{className:"pc-badge",children:"Featured"})]}),(0,r.jsxs)("div",{className:"pc-body",children:[(0,r.jsxs)("div",{className:"pc-meta",children:[(0,r.jsxs)("span",{children:[(0,r.jsx)(d,{})," ",e.date]}),(0,r.jsxs)("span",{children:[(0,r.jsx)(h,{})," ",e.readTime]})]}),(0,r.jsx)("h3",{className:"pc-title",children:(0,r.jsx)(o(),{href:s,children:e.title})}),(0,r.jsx)("p",{className:"pc-excerpt",children:e.excerpt}),(0,r.jsxs)("div",{className:"pc-foot",children:[(0,r.jsx)("div",{className:"pc-tags",children:e.tags.slice(0,2).map(e=>(0,r.jsx)("span",{className:"tag",children:e},e))}),(0,r.jsxs)(o(),{className:"pc-read",href:s,children:["Read",(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,r.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]})]})]})]},e.id)})})]})})}function p(){return(0,r.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("circle",{cx:"12",cy:"8",r:"4"}),(0,r.jsx)("path",{d:"M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1"})]})}function x(){return(0,r.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2"}),(0,r.jsx)("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),(0,r.jsx)("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),(0,r.jsx)("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})}function g(){return(0,r.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,r.jsx)("polyline",{points:"12 7 12 12 15.5 14"})]})}function j(e){let{post:s}
1=e,[t,i]=(0,n.useState)(!1),[a,l]=(0,n.useState)(s.claps),[d,h]=(0,n.useState)(0),u=(0,n.useRef)(0),j=(0,n.useRef)(null),m=c.T.blogPost(s.slug),f=(0,n.useCallback)(async()=>{let e=u.current;if(0!==e){u.current=0;try{let t=await fetch(c.T.api.blogReact,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({postId:s.id,amount:e})});if(!t.ok)throw Error("react failed: ".concat(t.status))}catch(s){u.current+=e}}},[s.id]);(0,n.useEffect)(()=>()=>{j.current&&clearTimeout(j.current),f()},[f]);let b=d>=50,v=async()=>{let e="".concat(window.location.origin).concat(m);try{navigator.share?await navigator.share({title:s.title,url:e}):navigator.clipboard&&await navigator.clipboard.writeText(e)}catch(e){}};return(0,r.jsxs)("article",{className:"article reveal".concat(t?" open":""),children:[(0,r.jsx)(o(),{className:"art-media",href:m,"aria-label":s.title,children:s.imageUrl&&(0,r.jsx)("img",{src:s.imageUrl,alt:s.title,loading:"lazy"})}),(0,r.jsxs)("div",{className:"art-body",children:[s.tags.length>0&&(0,r.jsx)("div",{className:"art-tags",children:s.tags.slice(0,3).map(e=>(0,r.jsx)("span",{className:"tag",children:e},e))}),(0,r.jsx)("h3",{className:"art-title",children:(0,r.jsx)(o(),{href:m,children:s.title})}),(0,r.jsxs)("div",{className:"art-meta",children:[(0,r.jsxs)("span",{children:[(0,r.jsx)(p,{})," ",s.author]}),(0,r.jsxs)("span",{children:[(0,r.jsx)(x,{})," ",s.date]}),(0,r.jsxs)("span",{children:[(0,r.jsx)(g,{})," ",s.readTime]})]}),(0,r.jsx)("p",{className:"art-excerpt",children:s.excerpt}),(0,r.jsx)("div",{className:"art-expand",children:function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:280,t=e.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim();return t.length<=s?t:t.slice(0,s).replace(/\s+\S*$/,"")+"â¦"}(s.content)}),(0,r.jsxs)("div",{className:"art-foot",children:[(0,r.jsxs)("div",{className:"art-actions",children:[(0,r.jsxs)("button",{className:"btn-read-more",type:"button",onClick:()=>i(e=>!e),children:[t?"Show Less ":"Read More ",(0,r.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,r.jsx)("polyline",{points:"6 9 12 15 18 9"})})]}),(0,r.jsx)(o(),{className:"btn-full",href:m,children:"Full Article"})]}),(0,r.jsxs)("div",{className:"art-social",children:[(0,r.jsxs)("button",{className:"icon-btn clap-btn".concat(d>0?" clapped":""),type:"button",onClick:()=>{d>=50||(l(e=>e+1),h(e=>e+1),u.current+=1,j.current&&clearTimeout(j.current),j.current=setTimeout(f,800))},disabled:b,"aria-label":b?"Maximum claps reached â ".concat(a," claps"):'Clap for "'.concat(s.title,'" â ').concat(a," claps"),title:d>0?"You clapped ".concat(d,"\xd7"):"Clap for this article",children:[(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,r.jsx)("path",{d:"M12 21s-6.7-4.35-9.3-8.5C1 9.5 2.3 6 5.5 6c2 0 3.2 1.2 4 2.3.8-1.1 2-2.3 4-2.3 3.2 0 4.5 3.5 2.8 6.5C18.7 16.65 12 21 12 21z"})}),(0,r.jsx)("span",{children:a})]}),(0,r.jsxs)("button",{className:"icon-btn",type:"button",onClick:v,children:[(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("circle",{cx:"18",cy:"5",r:"3"}),(0,r.jsx)("circle",{cx:"6",cy:"12",r:"3"}),(0,r.jsx)("circle",{cx:"18",cy:"19",r:"3"}),(0,r.jsx)("line",{x1:"8.6",y1:"13.5",x2:"15.4",y2:"17.5"}),(0,r.jsx)("line",{x1:"15.4",y1:"6.5",x2:"8.6",y2:"10.5"})]}),"Share"]})]})]})]})]})}function m(e){let{posts:s,isLoading:t=!1}=e,n=[...s].sort((e,s)=>new Date(s.date).getTime()-new Date(e.date).getTime());return(0,r.jsx)("section",{className:"sec latest","data-screen-label":"Latest articles",children:(0,r.jsxs)("div",{className:"shell shell-narrow",children:[(0,r.jsx)("div",{className:"sec-head-row reveal",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{children:"Latest Articles"}),(0,r.jsx)("p",{className:"sub",children:"Explore our most recent health and wellness content"})]})}),(0,r.jsxs)("div",{className:"article-list",children:[n.map(e=>(0,r.jsx)(j,{post:e},e.id)),0===n.length&&(0,r.jsx)("div",{className:"blog-empty reveal",children:t?"Loading the latest articlesâ¦":"No articles match this filter yet. Check back soon!"})]})]})})}t(6257),t(3654),t(4100);
1function f(){let[e,s]=(0,n.useState)(null),[t,l]=(0,n.useState)([]),[o,d]=(0,n.useState)([]),[h,p]=(0,n.useState)(!0),x=(0,n.useRef)(null);(0,n.useEffect)(()=>{(async()=>{try{let e=await fetch(c.T.api.blogPosts);if(!e.ok)throw Error("Failed to fetch posts");let s=await e.json();l(s.featured||[]),d(s.posts||[])}catch(e){console.error("Error fetching blog data:",e),l([]),d([])}finally{p(!1)}})()},[!1]);let g=t.length>0?t:[],j=o.length>0?o:[],f=(0,n.useMemo)(()=>{let e=new Set;return[...g,...j].forEach(s=>{s.tags.forEach(s=>e.add(s))}),Array.from(e).sort()},[g,j]),b=(0,n.useMemo)(()=>{let s=new Set(g.map(e=>e.id)),t=j.filter(e=>!s.has(e.id));return e&&(t=t.filter(s=>s.tags.some(s=>s.toLowerCase()===e.toLowerCase()))),t},[e,j,g]);return(0,n.useEffect)(()=>{let e=x.current;if(!e)return;let s=window.matchMedia("(prefers-reduced-motion: reduce)").matches,t=Array.from(e.querySelectorAll(".reveal:not(.in)"));if(s){t.forEach(e=>e.classList.add("in"));return}let r=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add("in"),r.unobserve(e.target))})},{rootMargin:"0px 0px -10% 0px",threshold:.05});return t.forEach(e=>r.observe(e)),()=>r.disconnect()},[h,e,g,b]),(0,r.jsxs)("div",{className:"w-full",ref:x,children:[(0,r.jsx)(i,{}),(0,r.jsx)(a,{categories:f,selectedCategory:e,onCategorySelect:s}),(0,r.jsx)(u,{posts:g}),(0,r.jsx)(m,{posts:b,isLoading:h})]})}},9693:(e,s,t)=>{"use strict";t.d(s,{T:()=>a});var r=t(7551);let n={clnkOs:{baseUrl:r.env.NEXT_PUBLIC_CLNK_OS_BASE_URL||"http://localhost:3001",signupUri:"/sign-up",signinUri:"/sign-in"},ashvinDuo:{baseUrl:r.env.NEXT_PUBLIC_ASHVIN_DUO_BASE_URL||"http://localhost:3002",signupUri:"/sign-up",signinUri:"/sign-in"},solidhealthAi:{baseUrl:"https://app.solidhealth.ai",signupUri:"/sign-up",signinUri:"/sign-in"}},i={wordpress:{baseUrl:r.env.BLOG_WORDPRESS_BASE_URL||"https://your-wordpress-site.com",apiUri:r.env.BLOG_WORDPRESS_API_URI||"/wp-json/wp/v2"},ghost:{baseUrl:r.env.BLOG_GHOST_BASE_URL||"",apiUri:r.env.BLOG_GHOST_API_URI||"/ghost/api/content"}},a={products:{clnkOs:{signup:"".concat(n.clnkOs.baseUrl).concat(n.clnkOs.signupUri),signin:"".concat(n.clnkOs.baseUrl).concat(n.clnkOs.signinUri)},ashvinDuo:{signup:"".concat(n.ashvinDuo.baseUrl).concat(n.ashvinDuo.signupUri),signin:"".concat(n.ashvinDuo.baseUrl).concat(n.ashvinDuo.signinUri)},solidhealthAi:{signup:"".concat(n.solidhealthAi.baseUrl).concat(n.solidhealthAi.signupUri),signin:"".concat(n.solidhealthAi.baseUrl).concat(n.solidhealthAi.signinUri)}},blog:{wordpress:"".concat(i.wordpress.baseUrl).concat(i.wordpress.apiUri),ghost:i.ghost.baseUrl?"".concat(i.ghost.baseUrl).concat(i.ghost.apiUri):""},pages:{home:"/",blog:"/blog",company:"/company",requestDemo:"/request-demo",personalHealth:"/solidhealth-ai",platform:"/platform",pricing:"/pricing",about:"/about",careers:"/careers",contact:"/contact"},solutions:{skilledNursing:"/solutions/skilled-nursing",acuteCareHospitals:"/solutions/acute-care-hospitals"},anchors:{features:"#features",howItWorks:"#how-it-works",chat:"/#chat",founders:"/company#founders",team:"/company#team",contactSection:"/company#contact",platformClnkos:"/platform#clnkos",platformAshvinduo:"/platform#ashvinduo",platformKnoah:"/platform#knoah"},legal:{privacy:"/privacy",terms:"/terms",security:"/security",hipaa:"#",accessibility:"#"},api:{contact:"/api/contact",requestDemo:"/api/request-demo",blogPosts:"/api/blog/posts",blogReact:"/api/blog/react",blogComments:"/api/blog/comments"},blogPost:e=>"/blog/".concat(e)}}},e=>{var s=s=>e(e.s=s);e.O(0,[9935,7437,9052,9731,4590,7358],()=>s(5211)),_N_E=e.O()}]);
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.