PageSourceSearch

https://vc.ru/assets/index38-B_6QAkWd.js

js vc.ru collected 2026-10-01 07:56:57 UTC 908 bytes, 1 lines download raw bytes

1import{f2 as i,f5 as s,f4 as n,f8 as m,f6 as l,f3 as f,fd as u}from"./index-BXQnu0Fm.js";const h=i({cast(a){return typeof a=="string"&&(a={url:a}),a},alias:"video",defaults:{"@type":"VideoObject"},inheritMeta:[{meta:"title",key:"name"},"description","image","inLanguage",{meta:"datePublished",key:"uploadDate"}],idPrefix:"host",resolve(a,e){if(a.uploadDate&&(a.uploadDate=m(a.uploadDate)),a.url=l(e.meta.host,a.url),a.caption&&!a.description&&(a.description=a.caption),a.description||(a.description="No description"),a.thumbnailUrl&&(typeof a.thumbnailUrl=="string"||Array.isArray(a.thumbnailUrl))){const t=s(a.thumbnailUrl).map(r=>l(e.meta.host,r));a.thumbnailUrl=t.length>1?t:t[0]}return a.thumbnail&&(a.thumbnail=f(a.thumbnailUrl,e,u)),a},resolveRootNode(a,{find:e}){var t;if(a.image&&!a.thumbnail){const r=s(a.image)[0];n(a,"thumbnail",(t=e(r["@id"]))==null?void 0:t.url)}}});export{h as videoResolver};

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.