PageSourceSearch

https://jauns.lv/_nuxt/D9RMQQCq.js

js jauns.lv collected 2026-09-24 17:24:40 UTC 2,169 bytes, 1 lines download raw bytes

1import{e as l,u as s,r as h}from"./hmVibj9W.js";import{c as _}from"./BsBN8xRe.js";const C=()=>{const t=s();return l()?t.public.LV_APP:t.public.RU_APP},v=t=>{let o=t.image,i=null,n=null;if(t.image)i=t.imageWidth??null,n=t.imageHeight??null;else{const r=l()?"/images/jauns-share.png":"/images/otkrito-share.png";o=_(r),i=1200,n=630}return{title:h(t?.title??""),keywords:t.keywords,description:h(t?.description??""),fullUrl:t.fullUrl,image:o,imageWidth:i,imageHeight:n,type:t.type,object:t.object}},A=()=>{const t=s();return{appName:t.public.TWITTER_APP_NAME,appCreator:t.public.TWITTER_APP_CREATOR}},T=()=>({apiId:s().public.FB_APP_ID}),L=t=>{const{title:o,keywords:i,description:n,fullUrl:r,image:a,imageWidth:w,imageHeight:f,type:g,object:e}=t,m=r?_(r):"";let u="",y="";a&&(u=w?.toString()??"1000",y=f?.toString()??"500");const d=A(),b=l()?"lv_LV":"ru_RU";let p=[{name:"description",content:n},{name:"keywords",content:i},{property:"og:type",content:g??"website"},{property:"og:title",content:o},{property:"og:description",content:n},{property:"og:image",content:a??""},{property:"og:image:secure_url",content:a??""},{property:"og:image:width",content:u},{property:"og:image:height",content:y},{property:"og:url",content:m},{property:"og:locale",content:b},{property:"og:site_name",content:C()},{property:"fb:app_id",content:T().apiId},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:site",content:d.appName},{name:"twitter:creator",content:d.appCreator},{name:"twitter:title",content:o},{name:"twitter:description",content:n},{name:"twitter:url",content:m},{name:"twitter:image",content:a}];if(g==="article"){const c=e?.published_at?new Date(e.published_at):null,P=[{name:"robots",content:!!e?.is_active&&c!==null&&c<=new Date?"max-image-preview:large":"noindex, max-image-preview:large"},{property:"og:article:published_time",content:e?.published_at},{property:"og:article:modified_time",content:e?.updated_at},{property:"og:article:author",content:e?.authors},{property:"og:article:section",content:e?.category},{property:"og:article:tag",content:e?.tags}];p=p.concat(P)}return p.filter(c=>(c.content??"").length>0)};export{L as a,v as p,C as u};

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.