PageSourceSearch

https://parkinsonsdisease.net/_nuxt/ZNiQiSmP.js

js parkinsonsdisease.net collected 2026-10-02 05:15:16 UTC 3,559 bytes, 1 lines download raw bytes

1function o(e){if(!e||Object.keys(e).length<=0||e.content==="null")return"";const t=JSON.parse(e.content).sections;return t?t.map(r=>{if(r.type==="HTML")return r.options.content;if(r.type==="Feature"&&r.options.posts.length>0)return r.options.posts[0].content;if(r.type==="Columns"){const a=r.options.columns[0];return a?a.map(c=>c.content):""}return""}).join(" ").replace(/(<([^>]+)>)/ig,""):""}function l(e,i,t,n,r={}){if(!e||Object.keys(e).length<=0)return{};const a={name:e.title||e.name||"",datePublished:e.datePublished,dateModified:e.dateModified||e.datePublished};return r.hasAuthContent&&(a.isAccessibleForFree="False",a.hasPart={"@type":"WebPageElement",isAccessibleForFree:"False",cssSelector:".content__auth-content-mask"}),a}function s(e,i){return!e||Object.keys(e).length<=0?{}:{"@type":"Person","@id":`https://${i}#/schema/person/${e.id}`,name:e?e.username:"Editorial Team",image:{"@type":"ImageObject","@id":`https://${i}#authorlogo`,url:e&&e.avatar?e.avatar.full:null,caption:e?e.username:"Editorial Team"}}}function m(e,i,t){if(!e||Object.keys(e).length<=0)return{};const n=e.tags?e.tags.map(c=>c.name).join(","):"",r=e.categories?e.categories.map(c=>c.name).join(" "):"",a={"@type":"BlogPosting",headline:e.title,datePublished:e.date,dateModified:e.modified||e.date,description:e.seo.metadesc,url:i,mainEntityOfPage:"True",isPartOf:{"@id":`https://${t}#webpage`},image:{"@id":`${i}#primaryimage`},publisher:{"@id":`https://${t}#organization`},articleBody:o(e),keywords:n,articleSection:r};return e.commentCount>0&&(a.commentCount=e.commentCount),e.author&&(a.author={"@id":`https://${t}#/schema/person/${e.author.id}`}),a}function u(e,i,t){if(!e||Object.keys(e).length<=0)return{};const n={"@type":"Recipe",name:e.title,datePublished:e.date,dateModified:e.modified||e.date,isPartOf:{"@id":`https://${t}#webpage`},image:{"@id":`${i}#primaryimage`},description:e.seo.metadesc||`A recipe for ${e.title}`,nutrition:{"@type":"NutritionInformation",calories:`${e.nutrition.calories} calories per serving`,carbohydrateContent:`${e.nutrition.carbohydrate} of carbohydrates per serving`,fatContent:`${e.nutrition.fat} of fat per serving`,proteinContent:`${e.nutrition.protein} of protein per serving`}};return e.commentCount>0&&(n.commentCount=e.commentCount),e.author&&(n.author={"@id":`https://${t}#/schema/person/${e.author.id}`}),n}function d(e,i,t){const n={url:e.featuredMedia?.length?e.featuredMedia[0].url:"/images/[email protected]",alt:e.featuredMedia?.length?e.featuredMedia[0].alt:`Image for ${e.title}`};return{"@type":"ImageObject","@id":`https://${t}${i}#primaryimage`,url:n.url,width:1468,height:560,caption:n.alt}}function g(e,i,t,n,r){let a="posts";switch(t){case"/forums":a="threads";break;case"/stories":a="stories";break;case"/recipes":a="recipes";break}return{"@type":"Collection",headline:e,url:t,description:`A collection of ${a} written by different members of ${r}`,image:"/images/[email protected]",collectionSize:i,isPartOf:{"@id":`https://${n}#webpage`}}}function f(e,i){if(!e)return[];let t=[];switch(e.type){case"recipe":t=[{slug:"recipes",name:"Recipes"}];break;case"story":t=[{slug:"stories",name:"Stories"}];break;default:t=e.categories||[];break}return t.map(n=>({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,item:`https://${i}/${n.slug}`,name:n.name},{"@type":"ListItem",position:2,name:e.title}]}))}function h(e,i,t,n,r){return e?[l(e,i,t,n,r),e.type==="recipe"?u(e,i,t):m(e,i,t),d(e,i,t),s(e.author,t)].concat(f(e,t)):[]}export{g as c,h as p};

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.