1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9262],{9262:function(e,t,n){n.r(t),n.d(t,{default:function(){return H}});var o=n(85893),i=n(45697),s=n.n(i),r=n(16468),l=n(21486),a=n(33484),d=n(25351),u=n(5241),c=n(35677),m=n(86392),x=n(67294),f=n(98303),p=n(35541),g=n(19778),h=n(49163),b=n(66205),v=n(54346),y=n(48783),w=n(14e3),_=n(93108),E=e=>{let{isShowing:t,setIsShowing:n,authorName:i,onLeaveComment:s,onDismiss:r}=e,l=(0,f.S)({base:"sm",md:"md",lg:"lg"}),a=(0,f.S)({base:"100%",md:"280px"}),d=(0,f.S)({base:6,md:16}),u=()=>{t&&(r(),n(!1))};return(0,o.jsxs)(p.u_,{isOpen:t,onClose:u,size:l,isCentered:!0,children:[(0,o.jsx)(g.Z,{}),(0,o.jsxs)(h.h,{bg:"white",borderRadius:"md",px:d,py:12,maxW:{base:"95%",md:"525px"},children:[(0,o.jsx)(b.o,{"data-qa":"closeModal","data-testid":"commentEncouragementClose",size:"sm",top:2,right:2,fontSize:"14px",w:"24px",h:"24px",color:"#737373",_hover:{bg:"gray.100"}}),(0,o.jsx)(v.f,{p:0,children:(0,o.jsxs)(y.g,{spacing:0,align:"center",children:[(0,o.jsx)(w.x,{fontSize:"28px",lineHeight:"32px",fontWeight:"500",letterSpacing:"-0.02em",textAlign:"center",color:"#963862",px:{base:4,md:0},maxW:{base:"90%",md:"100%"},mx:"auto",mb:2,"data-qa":"commentEncouragementHeader",children:"A small message can mean a lot"}),(0,o.jsxs)(w.x,{fontSize:"18px",lineHeight:"24px",fontWeight:"400",color:"gray.600",textAlign:"center",maxW:"420px","data-qa":"commentEncouragementText","data-testid":"commentEncouragementText",children:["Even a few words can bring comfort to ",i,". Messages from loved one
1s remind them they're supported and not alone today."]}),(0,o.jsxs)(y.g,{spacing:3,width:"100%",align:"center",children:[(0,o.jsx)(_.z,{variant:"primary",width:a,maxW:"280px","data-qa":"leaveCommentButton","data-testid":"leaveCommentButton",onClick:()=>{t&&(s(),n(!1))},children:"Leave a message"}),(0,o.jsx)(_.z,{variant:"link",color:"#495DBA",textDecoration:"underline",_hover:{color:"#3a4a95"},"data-qa":"dismissButton","data-testid":"dismissButton",onClick:u,mb:{base:0,md:4},children:"Not right now"})]})]})})]})]})},k=n(63168),C=n(60453),j=n(84310);function T(e){let{onExitIntent:t,enabled:n=!0,delay:o=1e4,triggerOnce:i=!0}=e,s=(0,x.useRef)(!1),r=(0,x.useRef)(Date.now()),l=(0,x.useRef)(0),a=(0,x.useRef)(null),d=(0,x.useRef)(!1),u=(0,x.useCallback)(()=>Date.now()-r.current>=o,[o]),c=(0,x.useCallback)(()=>{if(n&&(!i||!s.current)&&u()){for(let e of[".modalContainer",'[role="dialog"]',".modal-overlay",".modal",".appeal-modal"])for(let t of document.querySelectorAll(e)){if(t.classList.contains("cookie-consent"))continue;let e=t.getBoundingClientRect();if(!(e.width<100)&&!(e.height<100))return}s.current=!0,t()}},[n,i,u,t]),m=(0,x.useCallback)(e=>{e.clientY<=0&&c()},[c]),f=(0,x.useCallback)(()=>{let e=window.scrollY||window.pageYOffset;if(e>200&&!d.current&&(d.current=!0),d.current){let t=e-l.current;t<-100?(a.current="up",e<100&&c()):t>0&&(a.current="down")}l.current=e},[c]);return(0,x.useEffect)(()=>{let e;if(!n)return;let t=!1,o=()=>{t=!0,clearTimeout(e),e=setTimeout(()=>{t&&d.current&&c()},3e4)},i=["mousedown","keydown","touchstart","scroll"];return i.forEach(e=>{document.addEventListener(e,o)}),()=>{clearTimeout(e),i.forEach(e=>{document.removeEventListener(e,o)})}},[n,c]),(0,x.useEffect)(()=>{if(n)return r.current=Date.now(),s.current=!1,d.current=!1,l.current=window.scrollY||window.pageYOffset,document.addEventListener("mouseleave",m),window.addEventListener("scroll",f,{passive:!0}),()=>{document.removeEventListener("mouseleave",m),window.removeEventListener("scroll",f)}},[n,m,f]),{hasTriggered:s.current,reset:()=>{s.current=!1,r.current=Date.now()}}}var S=n(73775);let M={displayDelaySeconds:15,version:1,header:"A small message can mean a lot",body:"Even a few words can bring comfort to {authorName}
1. Messages from loved ones remind them they're supported and not alone today.",primaryCtaText:"Leave a message",secondaryCtaText:"Not right now",image:null,maxDismissals:null,maxShownCount:null,frequencyRule:null,rules:null},I={displayDelaySeconds:15,version:1,header:"Help in another way",body:"There are more ways to support {authorName} and their family. Visit the Ways to Help page to learn more.",primaryCtaText:"Visit Ways to Help",secondaryCtaText:"Not right now",image:null,maxDismissals:null,maxShownCount:null,frequencyRule:null,rules:null};function N(e,t){var n,o,i,s,r,l,a,d,u,c,m,x,f,p,g,h,b,v,y;return e?{displayDelaySeconds:null!==(n=e.displayDelaySeconds)&&void 0!==n?n:t.displayDelaySeconds,version:null!==(o=e.version)&&void 0!==o?o:t.version,header:null!==(i=e.header)&&void 0!==i?i:t.header,body:null!==(s=e.body)&&void 0!==s?s:t.body,primaryCtaText:null!==(r=e.primaryCtaText)&&void 0!==r?r:t.primaryCtaText,secondaryCtaText:null!==(l=e.secondaryCtaText)&&void 0!==l?l:t.secondaryCtaText,image:null!==(a=(x=e.image)?{publicId:null!==(h=null===(f=x.asset)||void 0===f?void 0:f.publicId)&&void 0!==h?h:void 0,url:null!==(v=null!==(b=null===(p=x.asset)||void 0===p?void 0:p.secureUrl)&&void 0!==b?b:null===(g=x.asset)||void 0===g?void 0:g.url)&&void 0!==v?v:void 0,altText:null!==(y=x.altText)&&void 0!==y?y:void 0}:null)&&void 0!==a?a:t.image,maxDismissals:null!==(d=e.maxDismissals)&&void 0!==d?d:t.maxDismissals,maxShownCount:null!==(u=e.maxShownCount)&&void 0!==u?u:t.maxShownCount,frequencyRule:null!==(c=e.frequencyRule)&&void 0!==c?c:t.frequencyRule,rules:null!==(m=e.rules)&&void 0!==m?m:t.rules}:t}var D=n(5460),W=e=>{let{isShowing:t,setIsShowing:n,siteId:i,onVisitWaysToHelp:s,onDismiss:r}=e,l=(0,f.S)({base:"sm",md:"md",lg:"lg"}),a=(0,f.S)({base:"100%",md:"280px"}),d=(0,f.S)({base:6,md:16}),u=()=>{t&&(r(),n(!1))};return(0,o.jsxs)(p.u_,{isOpen:t,onClose:u,size:l,isCentered:!0,children:[(0,o.jsx)(g.Z,{}),(0,o.jsxs)(h.h,{bg:"white",borderRadius:"md",px:d,py:12,maxW:{base:"95%",md:"525px"},children:[(0,o.jsx)(b.o,{"data-qa":"closeModal","data-testid":"wthEncouragementClose",size:"sm",top:2,right:2,fontSize:"14px",w:"24px",h:"24px",color:"#737373",_hover:{bg:"gray.100"}}),(0,o.jsx)(v.f,{p:0,children:(0,o.jsxs)(y.g,{spacing:0,align:"center",children:[(0,o.jsx)(w.x,{fontSize:"28px",lineHeight:"32px",fontWeight:"500",letterSpacing:"-0.02em",textAlign:"center",color:"#963862",px:{base:4,md:0},maxW:{base:"90%",md:"100%"},mx:"auto",mb:2,"data-qa":"wthEncouragementHeader",children:"Show up in a meaningful way"}),(0,o.jsx)(w.x,{fontSize:"18px",lineHeight:"24px",fontWeight:"400",color:"gray.600",textAlign:"center",maxW:"420px","data-qa":"wthEncouragementText","data-testid":"wthEncouragementText",children:"Simple acts of support can ease a family's day. Explore Ways to Help to see how you can be there right now."}),(0,o.jsx)(D.E,{src:"/logos/wth-partners.png",alt:"Ways to Help Partners: GoFundMe, Gift Cards, and MealTrain",maxW:"100%",height:"auto",mb:6,"data-qa":"partnerLogos","data-testid":"partnerLogos"}),(0,o.jsxs)(y.g,{spacing:3,width:"100%",align:"center",children:[(0,o.jsx)(_.z,{variant:"primary",width:a,maxW:"280px","data-qa":"visitWaysToHelpButton","data-testid":"visitWaysToHelpButton",onClick:()=>{t&&(s(),n(!1))},children:"Offer Support"}),(0,o.jsx)(_.z,{variant:"link",color:"#495DBA",textDecoration:"underline",_hover:{color:"#3a4a95"},"data-qa":"dismissButton","data-testid":"dismissButton",onClick:u,mb:{base:0,md:4},children:"Not right now"})]})]})})]})]})},z=n(11163),R=n.n(z),A=n(4162),O=e=>{let{postId:t,siteId:n,userId:o,isSignedIn:i=!1,isAuthor:s=!1,hasCommented:r=!1,enabled:l=!0}=e,[a,d]=(0,x.useState)(!1),u=(0,C.Pe)(),c=(0,x.useRef)(!1),m=(0,x.useRef)(null),f=o||null,{displayDelaySeconds:p}=function(){var e,t;let n=(0,S.bh)();return N(null!==(t=null==n?void 0:null===(e=n.page)||void 0===e?void 0:e.waysToHelpEncouragementModal)&&void 0!==t?t:null,I)}(),g=1e3*p,h=(0,j.b8)(n||"",f),b=l&&!s&&r&&!h&&!!n,v=(0,x.useCallback)(()=>{c.current||(0,j.I9)()||(c.current=!0,d(!0),u({event:C.kM.WTH_ENCOURAGEMENT_SHOWN,post_id:t,site_id:n,user_id:o||"anonymous",is_signed_in:i}),(0,j.d8)(n||"",f))},[t,n,o,f,i,u]);T({onExitIntent:v,enabled:b&&!c.current,delay:g,triggerOnce:!0}),(0,x.useEffect)(()=>
1{if(m.current&&(clearTimeout(m.current),m.current=null),b)return m.current=setTimeout(()=>{c.current||(0,j.I9)()||v()},g),()=>{m.current&&(clearTimeout(m.current),m.current=null)}},[b,v,g]);let y=(0,x.useCallback)(()=>{u({event:C.kM.WTH_ENCOURAGEMENT_ENGAGED,post_id:t,site_id:n,user_id:o||"anonymous",is_signed_in:i}),R().push((0,A.G3)(A.Z6.SITE_WAYS_TO_HELP,n||""))},[t,n,o,i,u]),w=(0,x.useCallback)(()=>{u({event:C.kM.WTH_ENCOURAGEMENT_DISMISSED,post_id:t,site_id:n,user_id:o||"anonymous",is_signed_in:i}),d(!1)},[t,n,o,i,u]);return{modal:{isShowing:a,setIsShowing:d},handleEngagement:y,handleDismissal:w}},U=n(43287),B=n(93726),Z=n(24974),q=n(57107);function L(e){let{page:t,siteId:n,postId:i}=e,{postItems:s}=(0,B.q)();(0,Z.n)(s[u._Q.GO_FUND_ME]);let{firstName:m,isLoading:f,summaryData:p,shareModalProps:g,siteAccessCheckComponent:h,isUsingOtpvToken:b}=(0,a.Z)({contentIdParam:"postId",contentQuery:d.QI,reactableType:u.xU.POST,transformData:e=>({post:e.getPost})});(0,q._q)(null==p?void 0:p.isAuthor);let{CommentEncouragementModalComponent:v,WaysToHelpEncouragementModalComponent:y,handleCommentSuccess:w}=function(e){var t,n,i,s;let{post:r,siteId:l,firstName:a,isLoading:d}=e,{id:u,isSignedIn:c}=(0,U.SE)(),m=null!==(i=null==r?void 0:null===(t=r.postContext)||void 0===t?void 0:t.isAuthor)&&void 0!==i&&i,f=null!==(s=null==r?void 0:null===(n=r.postContext)||void 0===n?void 0:n.hasCommented)&&void 0!==s&&s,p=(0,x.useMemo)(()=>"feed"===(0,A.Ph)("utm_source")||"website-feed"===(0,A.Ph)("utm_source")||document.referrer.includes("/feed"),[]),{modal:g,handleEngagement:h,handleDismissal:b}=function(e){let{postId:t,siteId:n,authorName:o,userId:i,hasCommented:s=!1,isAuthor:r=!1,isSignedIn:l=!1,enabled:a=!0}=e,d=(0,k.Z)(),[u,c]=(0,x.useState)(!1),m=(0,C.Pe)(),f=(0,x.useRef)(null),p=(0,x.useRef)(!1),g=i||null,{displayDelaySeconds:h}=function(){var e,t;let n=(0,S.bh)();return N(null!==(t=null==n?void 0:null===(e=n.page)||void 0===e?void 0:e.commentEncouragementModal)&&void 0!==t?t:null,M)}(),b=1e3*h,v=!!t&&(0,j.Jg)(t,g),y=a&&!r&&!s&&!v&&!!t&&!!n&&!!o,w=(0,x.useCallback)(()=>{p.current||(0,j.I9)()||(p.current=!0,c(!0),d.setIsShowing(!0),(0,j.gd)(t||"",g),m({event:C.kM.COMMENT_ENCOURAGEMENT_SHOWN,post_id:t,site_id:n,user_signed_in:l}))},[t,g,n,l,d,m]);return T({onExitIntent:w,enabled:y&&!p.current,delay:b,triggerOnce:!0}),(0,x.useEffect)(()=>{if(f.current&&(clearTimeout(f.current),f.current=null),y)return f.current=setTimeout(()=>{(0,j.I9)()||p.current||w()},b),()=>{f.current&&(clearTimeout(f.current),f.current=null)}},[y,w]),{modal:d,shouldShow:u,isEligible:y,handleEngagement:(0,x.useCallback)(()=>{m({event:C.kM.COMMENT_ENCOURAGEMENT_ENGAGED,post_id:t,site_id:n,user_signed_in:l})},[t,n,l,m]),handleDismissal:(0,x.useCallback)(()=>{m({event:C.kM.COMMENT_ENCOURAGEMENT_DISMISSED,post_id:t,site_id:n,user_signed_in:l})},[t,n,l,m])}}({postId:null==r?void 0:r.id,siteId:l,authorName:a,userId:u,isSignedIn:c,isAuthor:m,hasCommented:f,enabled:!d&&!!(null==r?void 0:r.id)&&!p})||{},{modal:v,handleEngagement:y,handleDismissal:w}=O({postId:null==r?void 0:r.id,siteId:l,userId:u,isSignedIn:c,isAuthor:m,hasCommented:f,enabled:!d&&!!(null==r?void 0:r.id)&&!p})||{},_=()=>{if(h&&h(),!c){(0,A.Eu)();return}window.dispatchEvent(new CustomEvent("focusCommentField"))};return{CommentEncouragementModalComponent:()=>g&&a?(0,o.jsx)(E,{isShowing:g.isShowing,setIsShowing:g.setIsShowing,authorName:a,onLeaveComment:_,onDismiss:b||(()=>{})}):null,WaysToHelpEncouragementModalComponent:()=>v&&a?(0,o.jsx)(W,{isShowing:v.isShowing,setIsShowing:v.setIsShowing,siteId:l,onVisitWaysToHelp:y||(()=>{}),onDismiss:w||(()=>{})}):null,handleCommentSuccess:()=>{}}}({post:null==p?void 0:p.post,siteId:n,firstName:m,isLoading:f});return h||(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.Z,{page:t,siteId:n,firstName:m,isUsingOtpvToken:b,SummaryComponent:l.Z,summaryData:{...p,onCommentSuccess:w},shareModalController:{...g,origin:c.Yt.POST},isLoading:f}),(0,o.jsx)(v,{}),(0,o.jsx)(y,{})]})}L.propTypes={page:s().object.isRequired,siteId:s().string.isRequired,postId:s().string.isRequired};var H=(0,m.Z)(L)},16468:function(e,t,n){n.d(t,{Z:function(){return E}});var o=n(85893),i=n(40645),s=n.n(i);n(67294);var r=n(45697),l=n.n(r),a=n(23918),d=n(20348),u=n(73775),c=n(39232),m=n(76935),x=n(44170),f=n(61082),p=n(91047),g=n(29457),h=n(63476),b=n(61922),v=n(4162),y=n(87036),w=n(73167),_=n(77594);function E(e){let{page:t,siteId:n,firstName:i,SummaryComponent:r,summaryData:l,shareModalController:w,isLoading:E,isUsingOtpvToken:C,showBackLink:j=!0}=e,T=k(i,l,n);return(0,o.jsx)(u.fc,{value:{page:t},children:(0,o.jsx)(d.ZN,{children:(0,o.jsx)(a.Z,{title:T,children:(0,o.jsxs)("div",{className:s().dynamic([["c9c0f0ef67dbf2ee",[y.Bs.MEDIUM]]])+" standardLayout wider",children:[E&&(0,o.jsx)("div",{className:s().dynamic([["c9c0f0ef67dbf2ee",[y.Bs.MEDIUM]]])+" spinner",children:(0,o.jsx)(b.ZP,{centerIn:b.MQ.VIEWPORT})}),!E&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(m.Z,{}),(0,o.jsxs)("div",{className:s().dynamic([["c9c0f0ef67dbf2ee",[y.Bs.MEDIUM]]])+" "+"siteLayout ".concat(!(null==l?void 0:l.isAuthor)&&"isVisitor"),children:[(0,o.jsx)("div",{className:s().dynamic([["c9c0f0ef67dbf2ee",[y.Bs.MEDIUM]]])+" siteActionsWrapper",children:(0,o.jsx)(x.Z,{isUsingOtpvToken:C,isSingleContentPage:!0})}),(0,o.jsx)("div",{className:s().dynamic([["c9c0f0ef67dbf2ee",[y.Bs.MEDIUM]]])+" mainContent",children:!E&&l&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r,{...l,isUsingOtpvToken:C,
1className:s().dynamic([["c9c0f0ef67dbf2ee",[y.Bs.MEDIUM]]])+" "+(l&&null!=l.className&&l.className||"")}),j&&i&&(0,o.jsxs)("div",{className:s().dynamic([["c9c0f0ef67dbf2ee",[y.Bs.MEDIUM]]])+" marginTop--48 left",children:[(0,o.jsx)("i",{className:s().dynamic([["c9c0f0ef67dbf2ee",[y.Bs.MEDIUM]]])+" fa-arrow-left fa-fw fa-solid"}),(0,o.jsx)("a",{href:(0,v.G3)(v.Z6.SITE_HOME_PAGE,{siteId:n}),"data-qa":"showMoreBtn",className:s().dynamic([["c9c0f0ef67dbf2ee",[y.Bs.MEDIUM]]])+" seeMoreCTA",children:"Find out what else is going on in ".concat(i,"'s health journey.")})]})]})}),(0,o.jsx)("div",{className:s().dynamic([["c9c0f0ef67dbf2ee",[y.Bs.MEDIUM]]])+" tributeThanksWidgetWrapper",children:(0,o.jsx)(h.Z,{})})]}),(0,o.jsx)(p.Z,{}),(0,o.jsx)(c.Z,{siteId:n}),(0,o.jsx)(f.Z,{}),w&&(0,o.jsx)(g.Z,{...w,isUsingOtpvToken:C}),(null==l?void 0:l.isAuthor)&&(0,o.jsx)(_.Z,{siteData:l,siteId:n})]}),(0,o.jsx)(s(),{id:"c9c0f0ef67dbf2ee",dynamic:[y.Bs.MEDIUM],children:".siteLayout.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:6vw;margin-top:30px}.seeMoreCTA{text-decoration:none}.seeMoreCTA:hover{text-decoration:underline}.spinner.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:2rem 0}.siteLayout.__jsx-style-dynamic-selector>.__jsx-style-dynamic-selector:first-child{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.siteActionsWrapper.__jsx-style-dynamic-selector{-webkit-box-flex:2;-webkit-flex:2 1 auto;-moz-box-flex:2;-ms-flex:2 1 auto;flex:2 1 auto;-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1}.mainContent.__jsx-style-dynamic-selector{-webkit-box-flex:9;-webkit-flex:9 1 auto;-moz-box-flex:9;-ms-flex:9 1 auto;flex:9 1 auto;-webkit-box-ordinal-group:4;-webkit-order:3;-moz-box-ordinal-group:4;-ms-flex-order:3;order:3}.tributeThanksWidgetWrapper.__jsx-style-dynamic-selector{-webkit-box-flex:3;-webkit-flex:3 1 auto;-moz-box-flex:3;-ms-flex:3 1 auto;flex:3 1 auto;-webkit-box-ordinal-group:3;-webkit-order:2;-moz-box-ordinal-group:3;-ms-flex-order:2;order:2}.isVisitor.__jsx-style-dynamic-selector{margin-top:0px}@media(min-width:".concat(y.Bs.MEDIUM,"){.siteLayout.__jsx-style-dynamic-selector{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;gap:4vw;margin-top:84px}.isVisitor.__jsx-style-dynamic-selector{margin-top:84px}.siteLayout.__jsx-style-dynamic-selector>.__jsx-style-dynamic-selector:first-child{-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}.siteActionsWrapper.__jsx-style-dynamic-selector{-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1;-webkit-box-flex:0;-webkit-flex:0 0 168px;-moz-box-flex:0;-ms-flex:0 0 168px;flex:0 0 168px}.mainContent.__jsx-style-dynamic-selector{-webkit-box-ordinal-group:3;-webkit-order:2;-moz-box-ordinal-group:3;-ms-flex-order:2;order:2;-webkit-box-flex:3;-webkit-flex:3 0 64%;-moz-box-flex:3;-ms-flex:3 0 64%;flex:3 0 64%}.tributeThanksWidgetWrapper.__jsx-style-dynamic-selector{-webkit-box-ordinal-group:4;-webkit-order:3;-moz-box-ordinal-group:4;-ms-flex-order:3;order:3;-webkit-box-flex:0;-webkit-flex:0 1 300px;-moz-box-flex:0;-ms-flex:0 1 300px;flex:0 1 300px}}")})]})})})})}E.propTypes={page:l().object.isRequired,siteId:l().string.isRequired,firstName:l().string,SummaryComponent:l().elementType.isRequired,summaryData:l().object,shareModalController:l().object,isLoading:l().bool,showBackLink:l().bool,pageTitle:l().string,isUsingOtpvToken:l().bool};let k=(e,t,n)=>{let o,i;if(null==t?void 0:t.postItems){let i=t.post.type,{title:s}=(0,w.NU)(i,e,w.d6[i].getShareLink(t.postItems[i]),n);o=s}else{var s,r,l;o=null!==(l=null==t?void 0:null===(s=t.request)||void 0===s?void 0:s.title)&&void 0!==l?l:null==t?void 0:null===(r=t.post)||void 0===r?void 0:r.title}return e?(i="".concat(e,"'s CaringBridge"),o&&(i+=" | ".concat(o))):i="CaringBridge",i}},33484:function(e,t,n){n.d(t,{Z:function(){return x}});var o=n(67294),i=n(37887),s=n(11163),r=n(4162),l=n(90331),a=n(37354),d=n(68740),u=n(25350),c=n(63168),m=n(90907);function x(e){var t,n,x,f;let{contentIdParam:p,contentQuery:g,reactableType:h,transformData:b=e=>e}=e,v=(0,s.useRouter)(),y=(0,r.Ph)("siteId"),w=(0,r.Ph)(p),{isReady:_}=(0,m.K)(),E=(0,c.Z)(),[k,C]=(0,o.useState)();(0,u.Z)(h);let{data:j,error:T,loading:S,refetch:M}=(0,l.Z)(y,!_),{data:I,error:N,loading:D,refetch:W}=(0,i.a)(g,{variables:{[p]:w},skip:!_});(0,d.Z)(j,[{function:M,variables:{siteId:y}},{function:W,variables:{[p]:w}}]);let z=(null==j?void 0:null===(t=j.getSite)||void 0===t?void 0:t.isUsingOtpvToken)||!1,{siteAccessCheckComponent:R}=(0,a.Z)({siteDataError:T});N&&T&&!R&&(0,r.Eh)((0,r.G3)(r.Z6.FOUR_04,{[r.Tx.FROM_URL]:v.pathname}),!0);let A=null==j?void 0:null===(n=j.getSite)||void 0===n?void 0:n.firstName,O=(null==j?void 0:null===(x=j.getSite)||void 0===x?void 0:x.isAuthor)||!1,U=(null==j?void 0:null===(f=j.getSite)||void 0===f?void 0:f.isShareableByVisitor)||!1,B=I?{...b(I),patientFirstName:A,isAuthor:O,canShare:U,sharePost:e=>{C(e),E.setIsShowing(!0)},loadExpandedComments:!0,enablePinning:!1,showCommentField:!0,onSinglePostPage:!0}:null;return{siteId:y,firstName:A,isLoading:!_||S||D,summaryData:B,shareModalProps:{modalController:E,siteId:y,postDetails:k},siteAccessCheckComponent:R,isUsingOtpvToken:z}}}}]);
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.