PageSourceSearch

https://getbruin.com/_nuxt/Ci55dwh7.js

js getbruin.com collected 2026-09-25 19:08:21 UTC 7,112 bytes, 1 lines download raw bytes

1import{p as w,k,l as B,o as l,a as i,b as t,e as v,w as c,f as n,_ as S,t as r,m as q,F as u,r as x,c as D,g as N,q as C,h as d}from"./Cl7FfoLF.js";import{_ as T}from"./BLe_Fela.js";import{w as p}from"./pkqHsKqf.js";import{a as h}from"./BhIZa5hG.js";const j={key:0},A={class:"border-b border-gray-100 bg-gray-100 py-16 sm:py-24"},L={class:"mx-auto max-w-4xl px-8"},V={class:"flex flex-wrap items-center gap-2 mb-6"},Q={class:"rounded-full bg-bruin-50 px-2.5 py-0.5 text-[11px] font-semibold text-bruin-500"},F={class:"rounded-full bg-gray-200 px-2.5 py-0.5 text-[11px] font-semibold text-gray-600"},H={class:"text-[28px] font-light leading-tight text-gray-900 sm:text-[40px] lg:text-[48px]"},I={class:"mt-4 text-base text-gray-500 sm:text-lg"},M={class:"border-b border-gray-100 bg-gray-50 py-12 sm:py-16"},R={class:"mx-auto max-w-4xl px-8"},E={class:"grid grid-cols-1 gap-8 lg:grid-cols-2"},G={class:"mt-4 flex flex-wrap gap-2"},P={class:"mt-4 flex flex-wrap gap-2"},U={class:"mt-8"},$={class:"mt-4 flex flex-wrap gap-2"},J={class:"border-b border-gray-100 bg-white py-12 sm:py-16"},K={class:"mx-auto max-w-4xl px-8"},O={class:"mt-8 rounded-xl border border-gray-200 bg-gray-50 p-6"},W={class:"flex items-start gap-4"},z={class:"mt-2 rounded-lg border border-gray-200 bg-white px-4 py-3"},X={class:"text-sm text-gray-700"},Y={class:"mt-3 space-y-2 text-sm text-gray-600"},Z={key:0,class:"border-b border-gray-100 bg-gray-50 py-12 sm:py-16"},tt={class:"mx-auto max-w-4xl px-8"},et={class:"mt-8 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3"},st={class:"rounded-full bg-bruin-50 px-2 py-0.5 text-[10px] font-semibold text-bruin-500"},ot={class:"mt-2 text-[13px] font-semibold text-gray-900 line-clamp-2"},rt={class:"mt-1 text-[12px] text-gray-500 line-clamp-2"},at={key:1,class:"flex min-h-[60vh] items-center justify-center"},lt={class:"text-center"},gt={__name:"[slug]",setup(it){const m=w().params.slug,s=d(()=>h.find(a=>a.slug===m)),y=d(()=>s.value?s.value.metrics.split(",").map(a=>a.trim()):[]),_=d(()=>s.value?s.value.requiredData.split(",").map(a=>a.trim()):[]),b=d(()=>s.value?s.value.dataSources.split("+").map(a=>a.trim()):[]),f=d(()=>s.value?h.filter(a=>a.category===s.value.category&&a.slug!==m).slice(0,3):[]);return s.value&&(k({title:`${s.value.title} | Bruin`,description:p(s.value.description),ogTitle:s.value.question,ogDescription:p(s.value.description)}),B({script:[{type:"application/ld+json",innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:s.value.question,acceptedAnswer:{"@type":"Answer",text:p(s.value.description)}}]})}]})),(a,e)=>{const g=S;return s.value?(l(),i("main",j,[t("section",A,[t("div",L,[t("div",V,[v(g,{to:"/use-cases/data-tasks/",class:"text-xs text-gray-500 hover:text-gray-700 transition-colors"},{default:c(()=>[...e[0]||(e[0]=[n("Data Tasks",-1)])]),_:1}),e[1]||(e[1]=t("span",{class:"text-gray-300"},"/",-1)),t("span",Q,r(s.value.category),1),t("span",F,r(s.value.persona),1)]),t("h1",H,r(s.value.question),1),t("p",I,r(q(p)(s.value.description)),1),e[2]||(e[2]=t("div",{class:"mt-8 flex flex-col items-start gap-3 sm:flex-row"},[t("a",{href:"https://cloud.getbruin.com/register",class:"inline-block rounded-lg bg-gray-900 px-6 py-3 text-sm font-medium text-white hover:bg-gray-800 transition-colors"},"Do this in Bruin"),t("a",{href:"/book-a-demo",class:"inline-block rounded-lg border border-gray-300 px-6 py-3 text-sm font-medium text-gray-700 hover:bg-gray-50 transition-colors"},"Book a demo")],-1))])]),t("section",M,[t("div",R,[t("div",E,[t("div",null,[e[3]||(e[3]=t("h2",{class:"text-lg font-semibold text-gray-900"},"Metrics & KPIs",-1)),t("div",G,[(l(!0),i(u,null,x(y.value,o=>(l(),i("span",{key:o,class:"rounded-full border border-gray-200 bg-white px-3 py-1 text-[12px] text-gray-700"},r(o),1))),128))])]),t("div",null,[e[4]||(e[4]=t("h2",{class:"text-lg font-semibold text-gray-900"},"Required Data",-1)),t("div",P,[(l(!0),i(u,null,x(_.value,o=>(l(),i("span",{key:o,class:"rounded-full border border-gray-200 bg-white px-3 py-1 text-[12px] text-gray-700"},r(o),1))),128))])])]),t("div",U,[e[5]||(e[5]=t("h2",{class:"text-lg font-semibold text-gray-900"},"Data Sources",-1)),t("div",$,[(l(!0),i(u,null,x(b.value,o=>(l(),i("span",{key:o,class:"rounded-full bg-bruin-50 px-3 py-1 text-[12px] font-medium text-bruin-600"},r(o),1))),128))])])])]),t("section",J,[t("div",K,[e[12]||(e[12]=t("h2",{class:"text-[28px] font-light text-gray-900 sm:text-[36px]"},[n(" How Bruin "),t("span",{class:"font-serif italic text-bruin-400"}
1,"does this")],-1)),t("div",O,[t("div",W,[e[11]||(e[11]=t("div",{class:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-bruin-50"},[t("img",{src:T,class:"h-5 w-auto",alt:"Bruin"})],-1)),t("div",null,[e[10]||(e[10]=t("p",{class:"text-sm font-semibold text-bruin-400"},"Bruin AI Data Analyst",-1)),t("div",z,[t("p",X,r(s.value.question),1)]),t("div",Y,[t("p",null,[e[6]||(e[6]=n("Bruin connects to your ",-1)),t("strong",null,r(b.value.join(", ")),1),e[7]||(e[7]=n(", writes the SQL, and runs it for you, with column-level lineage behind every number.",-1))]),t("p",null,[e[8]||(e[8]=n("It tracks ",-1)),t("strong",null,r(y.value.slice(0,3).join(", ")),1),e[9]||(e[9]=n(" and delivers the result in seconds, in Slack, Discord, Teams, Google Chat, WhatsApp, Telegram, email, or your browser.",-1))])])])])])])]),f.value.length?(l(),i("section",Z,[t("div",tt,[e[13]||(e[13]=t("h2",{class:"text-[28px] font-light text-gray-900 sm:text-[36px]"},[n(" Related "),t("span",{class:"font-serif italic text-bruin-400"},"tasks")],-1)),t("div",et,[(l(!0),i(u,null,x(f.value,o=>(l(),D(g,{key:o.slug,to:`/use-cases/data-tasks/${o.slug}/`,class:"rounded-xl border border-gray-200 bg-white p-5 transition-all hover:border-bruin-200 hover:shadow-sm"},{default:c(()=>[t("span",st,r(o.category),1),t("h3",ot,r(o.title),1),t("p",rt,r(o.question),1)]),_:2},1032,["to"]))),128))])])])):N("",!0),e[14]||(e[14]=C('<section class="bg-gray-950 py-16 sm:py-24"><div class="mx-auto max-w-3xl px-8 text-center"><h2 class="text-[28px] font-light text-white sm:text-[40px]"> Get it done in <em class="font-serif italic text-bruin-300">seconds</em></h2><p class="mt-3 text-sm text-gray-400">Connect your data, ask the question, get the answer. No SQL needed.</p><div class="mt-8 flex flex-col items-center justify-center gap-3 sm:flex-row"><a href="https://cloud.getbruin.com/register" class="inline-block rounded-lg bg-white px-8 py-3 text-sm font-medium text-gray-900 hover:bg-gray-100 transition-colors">Start for free</a><a href="/book-a-demo" class="inline-block rounded-lg border border-gray-700 px-8 py-3 text-sm font-medium text-gray-300 hover:border-gray-500 hover:text-white transition-colors">Book a demo</a></div></div></section>',1))])):(l(),i("main",at,[t("div",lt,[e[16]||(e[16]=t("h1",{class:"text-2xl font-light text-gray-900"},"Task not found",-1)),v(g,{to:"/use-cases/data-tasks/",class:"mt-4 inline-block text-sm text-bruin-400 hover:text-bruin-500"},{default:c(()=>[...e[15]||(e[15]=[n("Browse all data tasks",-1)])]),_:1})])]))}}};export{gt 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.