PageSourceSearch

https://www.cancernursingtoday.com/_next/static/chunks/322-f91711f6192d8b78.js

js cancernursingtoday.com collected 2026-10-02 05:45:19 UTC 12,815 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[322],{4697:(e,a,r)=>{"use strict";r.d(a,{Q:()=>c});var t=r(37876),n=r(14232),l=r(93852),o=r.n(l),i=r(47639),s=r(56561);function c(e){var a;let{items:r,showFollowing:l=!0,isFollowing:c=!1,onFollowClick:u,showOnlyCurrent:d=!1,linkCurrent:m=!1,className:_=""}=e;if(!r||0===r.length)return null;let h=l&&u?(0,t.jsx)(s.W,{isFollowing:c,onClick:u,variant:"inverse",className:o().followSlot,iconSize:10,ariaLabel:c?"Unfollow":"Follow"}):null,p=r.length>0&&r[0].isHome,b=p?r.slice(1):r;return(0,t.jsxs)("nav",{className:"".concat(o().breadcrumb," ").concat(_),"aria-label":"Breadcrumb",children:[!d&&(0,t.jsxs)(t.Fragment,{children:[p?(0,t.jsx)("a",{href:null!=(a=r[0].href)?a:"/",className:o()["breadcrumb-home"],"aria-label":"Home",children:(0,t.jsx)(i.A,{name:"home",className:o()["breadcrumb-home-icon"]})}):(0,t.jsx)("a",{href:"/",className:o()["breadcrumb-home"],"aria-label":"Home",children:(0,t.jsx)(i.A,{name:"home",className:o()["breadcrumb-home-icon"]})}),b.length>0&&(0,t.jsx)(i.A,{name:"caret-right",className:o()["breadcrumb-icon"]}),b.map((e,a)=>{var r;let l=a===b.length-1;return(0,t.jsx)(n.Fragment,{children:l?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("span",{className:o()["breadcrumb-current"],"aria-current":"page",children:e.name})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("a",{href:null!=(r=e.href)?r:"/category/".concat(e.slug||""),className:o()["breadcrumb-item"],children:e.name}),(0,t.jsx)(i.A,{name:"caret-right",className:o()["breadcrumb-icon"]})]})},e.slug||a)})]}),d&&(()=>{let e=r[r.length-1];return(0,t.jsxs)(t.Fragment,{children:[m&&e.slug?(0,t.jsx)("a",{href:"/category/".concat(e.slug),className:"".concat(o()["breadcrumb-current"]," ").concat(o()["breadcrumb-item"]),children:e.name}):(0,t.jsx)("span",{className:o()["breadcrumb-current"],"aria-current":"page",children:e.name}),h]})})()]})}},13449:e=>{e.exports={container:"RecommendedSection_container__YA6Pm",section:"RecommendedSection_section__qH0pz","section-separator":"RecommendedSection_section-separator__gN_tj","title-wrapper":"RecommendedSection_title-wrapper__0Tz2Y","section-title":"RecommendedSection_section-title__Z3CJR",loading:"RecommendedSection_loading__3e_CB",grid:"RecommendedSection_grid__KkcDP","see-more-button":"RecommendedSection_see-more-button__mNNAj"}},13842:e=>{e.exports={"meta-actions":"ArticleMetaActions_meta-actions__SAIY0","meta-stat":"ArticleMetaActions_meta-stat__vozNs","meta-stat-icon":"ArticleMetaActions_meta-stat-icon__q7SCt","action-icon":"ArticleMetaActions_action-icon__F2Iqg","action-button-share":"ArticleMetaActions_action-button-share__xFltE"}},37707:e=>{e.exports={wrapper:"UnifiedContentWrapper_wrapper___nGY9"}},46923:(e,a,r)=>{"use strict";r.d(a,{A:()=>c});var t=r(37876),n=r(14232),l=r(47639),o=r(90537),i=r(13842),s=r.n(i);let c=function(e){let{likes:a=32,comments:r}=e,[i,c]=(0,n.useState)(!1),u=window.location.href;return(0,t.jsxs)("div",{className:s()["meta-actions"],children:[(0,t.jsx)("button",{type:"button",className:s()["action-button-share"],onClick:()=>c(!0),"aria-label":"Share",children:(0,t.jsx)(l.A,{name:"share",className:s()["action-icon"]})}),(0,t.jsx)(o.T,{isOpen:i,onClose:()=>c(!1),shareUrl:u})]})}},47385:(e,a,r)=>{"use strict";r.d(a,{Q:()=>g,A:()=>f});var t=r(37876),n=r(14232),l=r(52373),o=r(21433),i=r(56561),s=r(33056),c=r(72905),u=r(84675),d=r.n(u),m=r(74455);function _(e){let{author:a}=e,r=(null==a?void 0:a.post_title)||"",n=(null==a?void 0:a.verified)||(null==a?void 0:a.is_verified),u=null==a?void 0:a.featured_image,_=[];if(a.social_links){if(Array.isArray(a.social_links))a.social_links.forEach(e=>{(null==e?void 0:e.platform)&&(null==e?void 0:e.url)&&_.push({platform:e.platform,url:e.url,...e.custom_label&&{custom_label:e.custom_label}})});else if("object"==typeof a.social_links){let e=a.social_links;e.linkedin&&_.push({platform:"linkedin",url:e.linkedin}),(e.twitter||e.x)&&_.push({platform:"x",url:e.twitter||e.x||""}),e.bluesky&&_.push({platform:"bluesky",url:e.bluesky})}}0===_.length&&(a.linkedin||a.twitter)&&(a.linkedin&&_.push({platform:"linkedin",url:a.linkedin}),a.twitter&&_.push({platform:"x",url:a.twitter}));let h=a.slug?"author:/author/".concat(a.slug):"author:".concat(r),p=(0,c.f)(h,{enabled:!!r,entityDisplayName:r});return(0,t.jsx)("div",{className:d().hoverCard,children:(0,t.jsxs)("div",{className:d().cardContent,children:[(0,t.jsxs)("div",{className:d().authorRow,children:[(0,t.jsx)("div",{className:d().avatarContainer,children:u?(0,t.jsx)(m.pn,{src:u,alt:r,className:d().avatarImage,width:72,height:72,loading:"lazy"}):(0,t.jsx)("div",{className:d().avatarInitials,children:(0,s.IM)(r||"")})}),(0,t.jsxs)("div",{className:d().authorInfo,children:[(0,t.jsxs)("div",{className:d().authorNameRow,children:[a.slug?(0,t.jsx)("a",{href:"/author/".concat(a.slug),className:d().authorName,children:r}):(0,t.jsx)("span",{className:d().authorName,children:r}),n&&(0,t.jsx)(l.M,{})]}),(a.author_excerpt||a.affiliation)&&(0,t.jsxs)("div",{className:d().authorTitle,children:[a.author_excerpt,a.author_excerpt&&a.affiliation&&" at ",a.affiliation]})]})]}),(0,t.jsxs)("div",{className:d().actions,children:[(0,t.jsx)("div",{className:d().followButtonContainer,children:(0,t.jsx)(i.W,{isFollowing:p.isFollowing,onClick:p.handleFollowClick,variant:"solid",ariaLabel:p.isFollowing?"Following":"Follow"})}),(0,t.jsx)(o.R,{social_links:_,iconOnly:!0,iconSize:13,className:d().socialLinksContainer,linkClassName:d().socialLinkItem,iconClassName:d().socialIcons})]})]})})}var h=r(86380),p=r.n(h),b=r(85789),v=r(54707);function g(e){let{authors:a,postType:r="post"}
1=e,o=(0,b.B)(),i=(0,v.o8)(o),[c,u]=(0,n.useState)(null),d=(0,n.useRef)(null);if(!a||0===a.length)return null;let h=a[0],g=a.slice(1).filter(Boolean),f=(null==h?void 0:h.verified)||(null==h?void 0:h.is_verified),x=(null==h?void 0:h.name)||(null==h?void 0:h.post_title);(0,s.IM)(x||"");let A=e=>{let a=(null==e?void 0:e.name)||(null==e?void 0:e.post_title)||"",r=(0,s.IM)(a||"");return(0,t.jsx)("div",{className:p().authorAvatar,children:(null==e?void 0:e.avatar)||(null==e?void 0:e.featured_image)?(0,t.jsx)(m.pn,{src:e.avatar||e.featured_image,alt:a,className:p().avatarImage,width:125,height:125}):(0,t.jsx)("span",{className:p().avatarInitials,children:r})})},j=function(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1],!e)return null;let a=e.name||e.post_title,r=c===e,n=()=>{d.current&&(clearTimeout(d.current),d.current=null),u(e)},l=()=>{d.current=setTimeout(()=>{u(null)},100)};return(0,t.jsxs)("span",{className:p().authorLinkWrapper,onMouseEnter:n,onMouseLeave:l,children:[e.slug?(0,t.jsx)("a",{href:"/author/".concat(e.slug),className:p()["byline-link"],children:a}):(0,t.jsx)("span",{className:p()["byline-link"],children:a}),r&&(0,t.jsx)("div",{className:p().hoverCardContainer,onMouseEnter:n,onMouseLeave:l,children:(0,t.jsx)(_,{author:e})})]})};return(0,t.jsxs)("div",{className:"".concat(p().byline).concat(i?" ".concat(p().AGABorder," AGABorder"):""),children:[(0,t.jsx)("span",{className:p().bylinePrefix,children:i?"Reviewed By":"By"})," ",A(h),j(h,!0),f&&(0,t.jsx)(l.M,{}),g.length>0&&(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)("span",{className:p().bylinePrefix,children:"With"})," ",g.map((e,a)=>(0,t.jsxs)("span",{className:p().authorItem,children:[A(e),j(e),a+1!==g.length?(0,t.jsx)("span",{className:p().comma,children:", "}):""]},a))]})]})}let f=g},47650:(e,a,r)=>{"use strict";r.d(a,{A:()=>s});var t=r(37876),n=r(14232),l=r(54823),o=r(13449),i=r.n(o);let s=e=>{let{category:a,relatedPosts:r,title:o,currentId:s}
1=e,[c,u]=(0,n.useState)(null),[d,m]=(0,n.useState)(!0),_=(0,n.useMemo)(()=>{if(!r||!Array.isArray(r)||0===r.length)return null;let e=(r.length>0&&Array.isArray(r[0])?r[0]:r).filter(e=>e&&(e.post_title||e.title||e.slug));return 0===e.length?null:{feed_enabled:!0,posts:e,feed_settings:{posts_between_components:10,auto_load:!1,post_types:[]},pagination:{current_page:1,total_pages:1,total_posts:e.length,per_page:e.length},components:[],slug:"",type:"page"}},[r]);(0,n.useEffect)(()=>{let e=async()=>{if(!(null==a?void 0:a.slug))return void m(!1);try{var e,r,t;m(!0);let n=s?"&exclude_id=".concat(encodeURIComponent(s)):"",l=await fetch("/api/taxonomy/".concat(a.slug,"?taxonomy=category&page=1&per_page=3").concat(n),{cache:"no-store",headers:{"Cache-Control":"no-cache"}});if(!l.ok)throw Error("Failed to fetch posts: ".concat(l.statusText));let o=await l.json(),i=(null==(e=o.post_data)?void 0:e.posts)||o.posts||[];u({feed_enabled:!0,posts:i.slice(0,3),feed_settings:{posts_between_components:10,auto_load:!1,post_types:[]},pagination:{current_page:1,total_pages:(null==(r=o.pagination)?void 0:r.total_pages)||1,total_posts:(null==(t=o.pagination)?void 0:t.total_posts)||i.length,per_page:3},components:[],slug:a.slug,type:"category"})}catch(e){console.error("[RecommendedSection] Error fetching category posts:",e),u(null)}finally{m(!1)}};(null==a?void 0:a.slug)?e():(_&&u(_),m(!1))},[null==a?void 0:a.slug,_,s]);let h=_||c,p=o||((null==a?void 0:a.name)?"More on ".concat(a.name):"Recommended For You");return d||h&&h.posts&&0!==h.posts.length?(0,t.jsx)("div",{id:"related-posts-feed",children:(0,t.jsx)("div",{className:i().container,children:(0,t.jsxs)("div",{className:i().section,children:[(0,t.jsx)("div",{className:i()["section-separator"]}),!d&&(0,t.jsx)("div",{className:i()["title-wrapper"],children:(0,t.jsx)("h1",{className:i()["section-title"],children:p})}),d?(0,t.jsx)("div",{className:i().loading,children:"Loading..."}):(0,t.jsx)(l.A,{feedData:h,mainContentBlocks:[],headerComponents:[],headerByStyle:null})]})})}):null}},58448:(e,a,r)=>{"use strict";r.d(a,{A:()=>o});var t=r(37876);r(14232);var n=r(37707),l=r.n(n);let o=function(e){let{children:a,singleBlock:r=!0}=e;return(0,t.jsx)("div",{className:l().wrapper,children:r?(0,t.jsx)("div",{style:{width:"620px",maxWidth:"100%",margin:"0 auto"},children:a}):a})}},70638:(e,a,r)=>{"use strict";r.d(a,{i:()=>i});var t=r(14232),n=r(12710);let l=new Set(["learning-labs","learning_labs","learning_lab","learning-lab"]);function o(e){var a,r;let t=(null==e||null==(a=e.link)?void 0:a.url)||"";return{name:(null==e?void 0:e.label)||(null==e||null==(r=e.link)?void 0:r.title)||"",href:t||void 0,isHome:(null==e?void 0:e.is_home)===!0||(null==e?void 0:e.is_home)===1}}function i(e,a,r,i,s,c){return(0,t.useMemo)(()=>{let t=e.filter((e,a,r)=>a===r.findIndex(a=>a.slug===e.slug)),u=r||t.find(e=>e.is_primary||e.primary)||(t.length>0?t[0]:null);if(s&&s.length>0)return{uniqueCategories:t,currentBreadcrumbItem:u,breadcrumbItems:s.map(o)};let d=!!i&&l.has(i),m=u?{...u,href:d?"/page/".concat(u.slug):void 0}:null,_={name:"Home",href:(0,n.HP)(c),isHome:!0};return{uniqueCategories:t,currentBreadcrumbItem:u,breadcrumbItems:m?[_,m,{name:a,slug:void 0}]:[_,{name:a,slug:void 0}]}},[e,a,r,i,s,c])}},84675:e=>{e.exports={hoverCard:"AuthorHoverCard_hoverCard__Lzu_v",cardContent:"AuthorHoverCard_cardContent__CWFHl",authorRow:"AuthorHoverCard_authorRow__52d4x",avatarContainer:"AuthorHoverCard_avatarContainer__DjQH8",avatarImage:"AuthorHoverCard_avatarImage__p2TAT",avatarInitials:"AuthorHoverCard_avatarInitials__a2_BL",authorInfo:"AuthorHoverCard_authorInfo__GAFm0",authorNameRow:"AuthorHoverCard_authorNameRow__eg3GV",authorName:"AuthorHoverCard_authorName__19wri",authorTitle:"AuthorHoverCard_authorTitle__Tu4ki",actions:"AuthorHoverCard_actions___T6yY",followButtonContainer:"AuthorHoverCard_followButtonContainer__0sz7l",followButton:"AuthorHoverCard_followButton__tCx37",socialLinksContainer:"AuthorHoverCard_socialLinksContainer__jm4bY",socialLinkItem:"AuthorHoverCard_socialLinkItem__JhXB2",socialIcons:"AuthorHoverCard_socialIcons__qmzhV"}},86380:e=>{e.exports={byline:"ArticleByline_byline__T_JLr",AGABorder:"ArticleByline_AGABorder__n3L7U",bylinePrefix:"ArticleByline_bylinePrefix__pIkD2","byline-link":"ArticleByline_byline-link__yS03p",authorItem:"ArticleByline_authorItem__Km93a",comma:"ArticleByline_comma__lUBoI",authorAvatar:"ArticleByline_authorAvatar__Ak4Ca",avatarImage:"ArticleByline_avatarImage__OAfsg",avatarInitials:"ArticleByline_avatarInitials__zX_x6",authorLinkWrapper:"ArticleByline_authorLinkWrapper__yxowC",hoverCardContainer:"ArticleByline_hoverCardContainer__ICcnk"}},93852:e=>{e.exports={breadcrumb:"Breadcrumb_breadcrumb__p6Wtu","breadcrumb-home":"Breadcrumb_breadcrumb-home__ms9xb","breadcrumb-home-icon":"Breadcrumb_breadcrumb-home-icon__2cb5D","breadcrumb-item":"Breadcrumb_breadcrumb-item__NByQI","breadcrumb-current":"Breadcrumb_breadcrumb-current__81O3P","breadcrumb-icon":"Breadcrumb_breadcrumb-icon__IcdEy","breadcrumb-following":"Breadcrumb_breadcrumb-following__ooWXD","breadcrumb-following-icon":"Breadcrumb_breadcrumb-following-icon__etQgl","breadcrumb-followiing":"Breadcrumb_breadcrumb-followiing__0Ep5o",followSlot:"Breadcrumb_followSlot__3NpOb"}}}]);

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.