1import{j as e,L as N,r as c}from"./index-Cb0uFkxi.js";import{H as _,F as k}from"./Footer-17KnCj-2.js";import{S as A}from"./Seo-CIpCEP-3.js";import{s as F}from"./client-3Rgyq3FX.js";import{f as j}from"./format-DNwwlEmA.js";import{S as I}from"./Intelligence-DqCLt7Af.js";import"./button-BXT4L8KI.js";import"./ResponsiveImage-D5MpvFHD.js";import"./siteNavigation-xQOaOE9I.js";import"./index-DSefd6az.js";import"./tslib.es6-CmEaCU22.js";import"./chevron-down-CNHxCdIc.js";import"./sheet-CL-fb0Ux.js";import"./index-DAxeAWUx.js";import"./input-CyLPhXcX.js";import"./en-US-wfBU2YNu.js";const E=()=>e.jsxs("div",{className:"ii-masthead",children:[e.jsxs("div",{className:"ii-masthead-primary",children:[e.jsx("span",{className:"ii-eyebrow",children:"Future Summit Intelligence"}),e.jsxs("h1",{className:"ii-h1",children:["The ",e.jsx("span",{className:"ii-gold",children:"source"}),", not the echo"]}),e.jsx("p",{className:"ii-masthead-desc",children:"Proprietary analysis on AI infrastructure, energy, compute, and capital deployment in Western Canada. Published monthly. Verified by subject-matter experts. Read by the people making the decisions."})]}),e.jsxs("div",{className:"ii-masthead-side",children:[e.jsx("p",{className:"ii-remit",children:"Our remit: independent, sourced analysis of the decisions shaping AI, energy, and compute capital in Western Canada â not marketing copy for any single company or deal."}),e.jsxs("div",{className:"ii-masthead-meta",children:[e.jsxs("div",{className:"ii-masthead-meta-item",children:[e.jsx("span",{className:"ii-masthead-meta-label",children:"Cadence"}),e.jsx("span",{className:"ii-masthead-meta-value",children:"Monthly"})]}),e.jsxs("div",{className:"ii-masthead-meta-item",children:[e.jsx("span",{className:"ii-masthead-meta-label",children:"Focus"}),e.jsx("span",{className:"ii-masthead-meta-value",children:"Policy, Energy, Compute, Capital"})]})]})]})]}),f=6,T=["All","Policy","Energy","Compute","Capital","Industry"];function y(i){if(!i)return 1;const s=i.replace(/<[^>]+>/g," ").split(/\s+/).filter(Boolean).length;return s?Math.max(1,Math.round(s/200)):1}function B(i,s){return s==="All"?!0:i.map(r=>r.toLowerCase()).includes(s.toLowerCase())}function P(i,s){const a=s.trim().toLowerCase();return a?`${i.title} ${i.excerpt} ${i.tags.join(" ")}`.toLowerCase().includes(a):!0}function $(i,s,a){return B(i.tags,a)&&P(i,s)}function O(i,s,a){return i?!s.trim()&&a==="All":!1}function R(i,s,a,r){const n=i[0],l=O(n,s,a),m=(l?i.slice(1):i).filter(p=>$(p,s,a)),u=m.slice(0,r),h=l?1:0;return{featured:l?n:void 0,matches:m,visible:u,shownCount:u.length+h,totalMatches:m.length+h,hasMore:m.length>r}}function D(i,s){return`Showing ${i} of ${s} brief${s===1?"":"s"}`}function g(){return f}function q(i){return i+f}function V(){return{query:"",topic:"All",shown:f}}function z(i,s){return!!i.trim()||s!=="All"?`Nothing in the archive matches "${i.trim()||s}". Try another topic or search term.`:"The archive is empty."}const W=({brief:i})=>{const s=i.tags.slice(0,4),a=y(i.public_content),r=i.published_at?j(new Date(i.published_at),"MMMM d, yyyy"):"",n=i.published_at?j(new Date(i.published_at),"MMMM yyyy"):"";return e.jsxs("div",{className:"ii-featured-wrap",children:[e.jsxs("div",{className:"ii-featured-header",children:[e.jsx("span",{className:"ii-eyebrow",children:"Latest brief"}),n&&e.jsx("span",{className:"ii-featured-month",children:n})]}),e.jsxs(N,{to:`/intelligence/${i.slug}`,className:"ii-featured-card",children:[s.length>0&&e.jsx("div",{className:"ii-featured-tags",children:s.map(l=>e.jsx("span",{className:"ii-tag-chip",children:l},l))}),e.jsx("h2",{className:"ii-featured-title",children:i.title}),e.jsx("p",{className:"ii-featured-excerpt",children:i.excerpt}),e.jsxs("div",{className:"ii-featured-meta-row",children:[e.jsx("span",{className:"ii-pill-cta",children:"Read brief â"}),e.jsxs("span",{className:"ii-meta-text",children:["Analysis",r?` · ${r}`:""," · ",a," min read"]}),i.has_member_content&&e.jsx("span",{className:"ii-member-note",children:"Includes member analysis"})]})]})]})},H=({query:i,onQueryChange:s,topic:a,onTopicChange:r})=>e.jsxs("div",{className:"ii-filters",children:[e.jsxs("div",{className:"ii-search-group",children:[e.jsx("label",{htmlFor:"brief-search",children:"Search briefs"}),e.jsx("input",{id:"brief-search",type:"search",value:i,onChange:n=>s(n.target.value),placeholder:"Title or topic, e.g. data centre"})]}),e.jsx("div",{className:"ii-topic-chips",role:"group","aria-label":"Filter by topic",children:T.map(n=>e.jsx("button",{type:"button",className:`ii-topic-chip${a===n?" active":""}`,"aria-pressed":a===n,onClick:()=>r(n),children:n},n))})]}),Q=4,G=({brief:i})=>{const s=i.tags.slice(0,Q),a=i.tags.length-s.length,r=i.published_at?j(new Date(i.published_at),"MMM yyyy"):"",n=i.published_at?j(new Date(i.published_at),"MMM d, yyyy"):"",l=y(i.public_content);return e.jsxs(N,{to:`/intelligence/${i.slug}`,className:"ii-brief-card",children:[e.jsxs("div",{className:"ii-brief-card-tags",children:[r&&e.jsx("span",{className:"ii-brief-card-month",children:r}),s.map(d=>e.jsx("span",{className:"ii-tag-chip small",children:d},d)),a>0&&e.jsxs("span",{className:"ii-tag-chip small",children:["+",a]})]}),e.jsx("h3",{className:"ii-brief-card-title",children:i.title}),e.jsx("p",{className:"ii-brief-card-excerpt",children:i.excerpt}),e.jsxs("div",{className:"ii-brief-card-footer",children:[e.jsx("span",{className:"ii-read-link",children:"Read brief â"}),e.jsxs("span",{className:"ii-meta-text",children:["Analysis",n?` · ${n}`:""," · ",l," min"]}),i.has_member_content&&e.jsx("span",{className:"ii-member-note",children:"+ Member analysis"})]})]})},K=({onLoadMore:i})=>e.jsx("div",{className:"ii-pager",children:e.jsx("button",{type:"button",className:"ii-load-more-btn",onClick:i,children:"Load more briefs"})}),U=4,X=()=>e.jsxs("div",{children:[e.jsx("div",{className:"ii-grid","aria-hidden":"true",children:Array.from({length:U}).map((i,s)=>e.jsxs("div",{className:"ii-skeleton-card",children:[e.jsx("div",{className:"ii-skeleton-line short"}),e.jsx("div",{className:"ii-skeleton-line title"}),e.jsx("div",{className:"ii-skeleton-block"})]},s))}),e.jsx("p",{className:"ii-state-caption",children:"Loading briefs"})]}),Z=()=>e.jsxs("div",{className:"ii-featured-wrap ii-featured-skeleton","aria-hidden":"true",children:[e.jsx("div",{className:"ii-featured-header",children:e.jsx("span",{className:"ii-eyebrow",children:"Latest brief"})}),e.jsxs("div",{className:"ii-featured-card",children:[e.jsxs("div",{className:"ii-featured-tags",children:[e.jsx("span",{className:"ii-tag-chip",children:"Capital"}),e.jsx("span",{className:"ii-tag-chip",children:"Compute"})]}),e.jsx("h2",{className:"ii-featured-title",children:"Loading the latest brief from the Future Summit research desk"}),e.jsx("p",{className:"ii-featured-excerpt",children:"A placeholder excerpt of typical length so the card keeps its shape while the newest published analysis loads from the archive."}),e.jsxs("div",{className:"ii-featured-meta-row",children:[e.jsx("span",{className:"ii-pill-cta",children:"Read brief â"}),e.jsx("span",{className:"ii-meta-text",children:"Analysis · September 27, 2026 · 12 min read"})]})]})]}),J=({onRetry:i})=>e.jsxs("div",{className:"ii-inset-panel ii-state-panel",children:[e.jsx("div",{className:"ii-state-title",children:"Briefs failed to load"}),e.jsx("p",{className:"ii-state-desc",children:"The archive did not respond. Check the connection and try again."}),e.jsx("button",{type:"button",className:"ii-outline-btn",onClick:i,children:"Retry"})]}),Y=({detail:i,onClear:s})=>e.jsxs("div",{className:"ii-inset-panel ii-state-panel",children:[e.jsx("div",{className:"ii-state-title",children:"No briefs match"}),e.jsx("p",{className:"ii-state-desc",children:i}),e.jsx("button",{type:"button",className:"ii-outline-btn",onClick:s,children:"Clear search and filters"})]}),ee=()=>e.jsxs("div",{className:"ii-inset-panel ii-evidence",children:[e.jsxs("div",{className:"ii-evidence-header",children:[e.jsx("span",{className:"ii-eyebrow",children:"Evidence standard"}),e.jsx("span",{className:"ii-evidence-subhead",children:"How every brief is produced"})]}),e.jsxs("div",{className:"ii-evidence-grid",children:[e.jsxs("div",{children:[e.jsx("div",{className:"ii-evidence-col-title",children:"Sourcing"}),e.jsx("p",{className:"ii-evidence-col-desc",children:"Every brief is grounded in named sources, public filings, or on-the-record conversations with subject-matter experts. Forecast figures are labelled as expected or projected, never presented as fact."})]}),e.jsxs("div",{children:[e.jsx("div",{className:"ii-evidence-col-title",children:"Independence"}),e.jsx("p",{className:"ii-evidence-col-desc",children:"Analysis is not written or reviewed by the companies or deals it covers. Editorial judgments are made independently of partnership and membership relationships."})]}),e.jsxs("div",{children:[e.jsx("div",{className:"ii-evidence-col-title",children:"Corrections"}),e.jsxs("p",{className:"ii-evidence-col-desc",children:["If a published brief contains an error, we correct it and note the correction on the article. To flag an inaccuracy, email"," ",e.jsx("a",{href:"mailto:[email protected]",className:"ii-inline-link",children:"[email protected]"})," ","with the brief title and the specific claim."]})]})]})]}),ie=()=>{const[i,s]=c.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"ii-membership-panel",children:[e.jsx("span",{className:"ii-eyebrow",children:"Membership"}),e.jsxs("h2",{className:"ii-membership-title",children:["Full briefs are reserved for ",e.jsx("span",{className:"ii-gold",children:"members"})]}),e.jsx("p",{className:"ii-membership-desc",children:"The public commentary gives you the headline. Membership gives you the models, the methodology, and the action items â shipped before anyone else sees them."}),e.jsx("button",{type:"button",className:"ii-gold-btn",onClick:()=>s(!0),children:"Request a seat"}),e.jsx("div",{className:"ii-membership-caption",children:"We confirm fit before we confirm a seat. 48-hour response."})]}),i&&e.jsx(I,{onClose:()=>s(!1)})]})},ge=()=>{const[i,s]=c.useState([]),[a,r]=c.useState("loading"),[n,l]=c.useState(""),[d,m]=c.useState("All"),[u,h]=c.useState(f),p=c.useCallback(async()=>{r("loading");try{const{data:t,error:x}=await F.from("public_briefs").select("id, slug, title, excerpt, tags, has_member_content, published_at, public_content").eq("status","published").lte("published_at",new Date().toISOString()).order("published_at",{ascending:!1});if(x)throw x;s(t??[]),r("ready")}catch(t){console.error("Failed to load intelligence briefs:",t),r("error")}},[]);c.useEffect(()=>{p()},[p]);const o=c.useMemo(()=>R(i,n,d,u),[i,n,d,u]),b=D(o.shownCount,o.totalMatches),v=z(n,d),w=t=>{l(t),h(g())},C=t=>{m(t),h(g())},M=()=>{const t=V();l(t.query),m(t.topic),h(t.shown)},S=()=>h(t=>q(t)),L={"@context":"https://schema.org","@type":"Blog","@id":"https://futuresummit.ai/intelligence#blog",name:"Future Summit Intelligence",description:"Proprietary analysis on AI infrastru
1cture, energy, compute, and capital deployment in Western Canada. Published monthly.",url:"https://futuresummit.ai/intelligence",inLanguage:"en",publisher:{"@type":"Organization","@id":"https://futuresummit.ai/#organization",name:"Future Summit",url:"https://futuresummit.ai"},about:["Artificial intelligence","Energy","Compute infrastructure","Capital markets"],blogPost:i.map(t=>{var x;return{"@type":"BlogPosting",headline:t.title,description:t.excerpt,url:`https://futuresummit.ai/intelligence/${t.slug}`,datePublished:t.published_at||void 0,keywords:(x=t.tags)!=null&&x.length?t.tags.join(", "):void 0,author:{"@type":"Organization","@id":"https://futuresummit.ai/#organization",name:"Future Summit"}}})};return e.jsxs("div",{className:"ii-page",children:[e.jsx(A,{title:"Intelligence | Future Summit",description:"Published analysis on AI, energy, and compute capital from Future Summit. Selected briefs are open; deeper analysis is reserved for members.",path:"/intelligence",jsonLd:L}),e.jsx(_,{ctaVariant:"outline"}),e.jsx("div",{className:"ii-wrap ii-masthead-wrap",children:e.jsx(E,{})}),e.jsxs("div",{className:"ii-wrap",children:[a==="loading"?e.jsx(Z,{}):o.featured&&e.jsx(W,{brief:o.featured}),e.jsxs("div",{className:"ii-archive",children:[e.jsxs("div",{className:"ii-archive-header",children:[e.jsxs("h2",{className:"ii-archive-title",children:["All ",e.jsx("span",{className:"ii-gold",children:"briefs"})]}),a==="ready"&&e.jsx("span",{className:"ii-count-label",children:b})]}),e.jsx(H,{query:n,onQueryChange:w,topic:d,onTopicChange:C}),a==="loading"&&e.jsx(X,{}),a==="error"&&e.jsx(J,{onRetry:()=>void p()}),a==="ready"&&o.totalMatches===0&&e.jsx(Y,{detail:v,onClear:M}),a==="ready"&&o.visible.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"ii-grid",children:o.visible.map(t=>e.jsx(G,{brief:t},t.id))}),o.hasMore&&e.jsx(K,{onLoadMore:S})]})]}),e.jsx(ee,{}),e.jsx(ie,{})]}),e.jsx(k,{})]})};export{ge as default};
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.