PageSourceSearch

https://www.bigambitionsgame.com/assets/chunks/NewsOverview.CtqlSNIb.js

js bigambitionsgame.com collected 2026-10-04 20:37:02 UTC 2,955 bytes, 1 lines download raw bytes

1import{d as x,o as n,c as r,r as I,e as l,w as f,u as h,_ as k,m as P,b as T,f as w,a as o,n as $,B as H,s as g,j as p,p as V,A,F as b,D as y,t as M,k as O}from"./framework.BwGAdel2.js";import{I as R,A as D,R as E,u as F,B}from"./theme.DozZyVKd.js";const G=["href","target"],j=x({__name:"Link",props:{href:{},target:{}},setup(t){return(i,e)=>(n(),r("a",{class:"link",href:t.href,target:t.target},[I(i.$slots,"default",{},void 0,!0),l(R,{class:"-inline -is-right"},{default:f(()=>[l(h(D))]),_:1})],8,G))}}),z=k(j,[["__scopeId","data-v-5e188586"]]),U=["href","target"],q={class:"_content"},J=["innerHTML"],K={class:"_foot"},Q=x({__name:"NewsTeaser",props:{data:{}},emits:["set-height"],setup(t,{emit:i}){const e=t,c=i,m=p(null);function _(){return s()?e.data.external:V(e.data.url)}function s(){return e.data.external||/https:\/\/|http:\/\//.test(e.data.url)}return P(()=>{c("set-height",m.value.offsetHeight)}),(C,d)=>(n(),r("a",{href:_(),class:"news-teaser",target:s()?"_blank":null,ref_key:"root",ref:m},[t.data.thumbnail?(n(),T(E,{key:0,src:t.data.thumbnail,class:"-half"},null,8,["src"])):w("",!0),o("div",q,[o("div",{class:$(["_title",{"-small":t.data.thumbnail}])},H(t.data.title),3),o("div",{class:"_excerpt",innerHTML:t.data.excerpt},null,8,J)]),o("div",K,[l(z,{href:_(),class:"link",target:s()?"_blank":null},{default:f(()=>[...d[0]||(d[0]=[g("Read more",-1)])]),_:1},8,["href","target"])])],8,U))}}),W=k(Q,[["__scopeId","data-v-a45845fe"]]),X={key:0,class:"news-overview"},Y={class:"row _switch"},Z={class:"col-24 col-xs-18 col-xs-offset-3 text-center"},tt={class:"row"},et={key:0,class:"row mt-l"},st={class:"col-24 text-center"},N=250,at=x({__name:"NewsOverview",props:{maxCount:{type:[Number,Boolean],default:!1},perPage:{default:3}},setup(t){const i=t,{posts:e}=F(),c=p(i.maxCount||i.perPage),m=O(()=>e.slice(0,c.value)),_=[{url:"https://www.bigambitionsgame.com/news",title:"Big Ambitions"},{url:"https://www.startupcompanygame.com/news",title:"Startup Company"},{url:"https://www.hovgaard.com/news",title:"Hovgaard Games"}];let s=p(0);function C(u){s.value=s.value>u?s.value:u}function d(u){return u.includes(window.location.host)}return(u,v)=>{const L=A("ClientOnly");return h(e).length>0?(n(),r("section",X,[l(L,null,{default:f(()=>[o("div",Y,[o("div",Z,[(n(),r(b,null,y(_,({url:a,title:S})=>l(B,{key:a,href:a,icon:!1,class:$(["-outline",{"-active":d(a)}]),disabled:d(a)||void 0},{default:f(()=>[g(H(S),1)]),_:2},1032,["href","class","disabled"])),64))])])]),_:1}),o("div",tt,[(n(!0),r(b,null,y(m.value,a=>(n(),r("div",{class:"col-8 col-sm-12 col-xs-24",key:a.url},[l(W,{data:a,height:h(s)>N?h(s):N,onSetHeight:C},null,8,["data","height"])]))),128))]),!t.maxCount&&h(e).length>c.value?(n(),r("div",et,[o("div",st,[l(B,{href:"#/",onClick:v[0]||(v[0]=M(a=>c.value+=t.perPage,["prevent"]))},{default:f(()=>[...v[1]||(v[1]=[g("Load more",-1)])]),_:1})])])):w("",!0)])):w("",!0)}}}),rt=k(at,[["__scopeId","data-v-3f32f456"]]);export{rt as N};

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.