PageSourceSearch

https://www.thepwhl.com/assets/chunks/chunk-BIrGYnu6.js

js thepwhl.com collected 2026-10-02 03:23:57 UTC 2,714 bytes, 1 lines download raw bytes

1import{g as getValueByLang,j as jsxRuntimeExports,B as Box,o as List,ay as toKebabCase,az as UnorderedList,aA as isSupportedLang,e as ListItem,R as Link}from"./chunk-Bim7iiV3.js";import{C as ComponentHeading}from"./chunk-Bu-Xf2RF.js";import{u as usePageContext}from"./chunk-CdJexCNZ.js";import"./chunk-rhFH4903.js";import"./chunk-MeNecnBW.js";import"./chunk-Du_M3xF-.js";/* empty css              */const siteMapContent=[{sectionName:"stats",en:{href:"#stats",text:"Stats"},fr:{href:"#statistiques",text:"Statistiques"}},{sectionName:"pages",en:{href:"#pages",text:"Pages"},fr:{href:"#pages",text:"Pages"}},{sectionName:"articles",en:{href:"#articles",text:"Articles"},fr:{href:"#articles",text:"Articles"}},{sectionName:"video-pages",en:{href:"#video-pages",text:"Video pages"},fr:{href:"#pages-videos",text:"Pages vidéos"}}],SiteMapLinkItem=({href,text})=>jsxRuntimeExports.jsx(ListItem,{children:jsxRuntimeExports.jsx(Link,{href,size:"2xl",children:text})}),SiteMapSection=props=>{const{headingHash,items,title}=props,renderList=page=>{const{page_url,uid}=page;return jsxRuntimeExports.jsx(ListItem,{marginBottom:2,children:jsxRuntimeExports.jsx(Link,{href:page_url,children:page_url})},uid)};return jsxRuntimeExports.jsxs(Box,{as:"section",className:"standard-padded-content","aria-labelledby":headingHash.slice(1),children:[jsxRuntimeExports.jsx(ComponentHeading,{children:title}),jsxRuntimeExports.jsx(UnorderedList,{children:items.map(renderList)})]})},SiteMap=props=>{const{articles,pages,statsPages,videoPages}=props,{props:{langCode}}=usePageContext(),lang=isSupportedLang(langCode)?langCode:"en",sectionVisibility={articles:articles.length>0,pages:pages.length>0,stats:!0,"video-pages":videoPages.length>0},sectionContent={articles,pages,stats:statsPages,"video-pages":videoPages},headingText=getValueByLang(lang,"quickLinks");return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsxs(Box,{as:"nav",className:"standard-padded-content","aria-labelledby":toKebabCase(headingText),children:[jsxRuntimeExports.jsx(ComponentHeading,{children:headingText}),jsxRuntimeExports.jsx(List,{children:siteMapContent.map(linkProps=>{const{sectionName}=linkProps;if(!sectionVisibility[sectionName])return null;const linkItemProps=linkProps[lang];return jsxRuntimeExports.jsx(SiteMapLinkItem,{...linkItemProps},sectionName)})})]}),siteMapContent.map(sectionProps=>{const{sectionName}=sectionProps;if(!sectionVisibility[sectionName])return null;const sectionItems=sectionContent[sectionName],headingHash=sectionProps[lang].href;return jsxRuntimeExports.jsx(SiteMapSection,{title:sectionProps[lang].text,items:sectionItems,headingHash},sectionName)})]})};export{SiteMap,SiteMapSection};

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.