PageSourceSearch

https://getbruin.com/_nuxt/B-BM0PJS.js

js getbruin.com collected 2026-09-25 19:08:50 UTC 6,644 bytes, 1 lines download raw bytes

1import{p as _,k as w,l as k,o as n,a as i,b as t,e as c,w as u,f as l,_ as B,t as o,m as N,F as y,r as b,c as C,g as H,q as S,h as m}from"./Cl7FfoLF.js";import{_ as T}from"./CEDfr7L-.js";import{w as d}from"./pkqHsKqf.js";import{a as f}from"./BE_bKr-d.js";const q={key:0},D={class:"border-b border-gray-100 bg-gray-100 py-16 sm:py-24"},G={class:"mx-auto max-w-4xl px-8"},V={class:"flex flex-wrap items-center gap-2 mb-6"},L={class:"rounded-full bg-bruin-50 px-2.5 py-0.5 text-[11px] font-semibold text-bruin-500"},R={class:"rounded-full bg-gray-200 px-2.5 py-0.5 text-[11px] font-semibold text-gray-600"},j={class:"text-[28px] font-light leading-tight text-gray-900 sm:text-[40px] lg:text-[48px]"},A={class:"mt-4 text-base text-gray-500 sm:text-lg"},F={class:"border-b border-gray-100 bg-gray-50 py-12 sm:py-16"},Q={class:"mx-auto max-w-4xl px-8"},U={class:"grid grid-cols-1 gap-8 lg:grid-cols-3"},W={class:"mt-3 block rounded-lg border border-gray-200 bg-white px-3 py-2 font-mono text-[13px] text-bruin-600"},$={class:"mt-3 text-sm text-gray-700"},z={class:"mt-3 text-sm text-gray-700"},E={class:"mt-8"},M={class:"mt-3 flex flex-wrap gap-2"},O={class:"border-b border-gray-100 bg-white py-12 sm:py-16"},P={class:"mx-auto max-w-4xl px-8"},J={class:"mt-6 overflow-x-auto rounded-xl border border-gray-800 bg-gray-950 p-5 text-[13px] leading-relaxed text-gray-100"},I={class:"mt-4 text-sm text-gray-600"},K={class:"rounded bg-gray-100 px-1.5 py-0.5 font-mono text-[0.9em] text-gray-700"},X={key:0,class:"border-b border-gray-100 bg-gray-50 py-12 sm:py-16"},Y={class:"mx-auto max-w-4xl px-8"},Z={class:"mt-8 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3"},tt={class:"rounded-full bg-bruin-50 px-2 py-0.5 text-[10px] font-semibold text-bruin-500"},et={class:"mt-2 text-[13px] font-semibold text-gray-900 line-clamp-2"},st={class:"mt-1 text-[12px] text-gray-500 line-clamp-2"},ot={class:"relative overflow-hidden bg-gray-950 py-16 sm:py-24"},at={key:1,class:"flex min-h-[60vh] items-center justify-center"},rt={class:"text-center"},ut={__name:"[slug]",setup(nt){const p=_().params.slug,s=m(()=>f.find(r=>r.slug===p)),h=m(()=>s.value?s.value.capabilities.split(",").map(r=>r.trim()):[]),g=m(()=>s.value?f.filter(r=>r.category===s.value.category&&r.slug!==p).slice(0,3):[]);return s.value&&(w({title:`${s.value.title} | Transformation | Bruin`,description:d(s.value.description),ogTitle:s.value.question,ogDescription:d(s.value.description)}),k({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:d(s.value.description)}}]})}]})),(r,e)=>{const x=B,v=T;return s.value?(n(),i("main",q,[t("section",D,[t("div",G,[t("div",V,[c(x,{to:"/use-cases/transformation/",class:"text-xs text-gray-500 hover:text-gray-700 transition-colors"},{default:u(()=>[...e[0]||(e[0]=[l("Transformation",-1)])]),_:1}),e[1]||(e[1]=t("span",{class:"text-gray-300"},"/",-1)),t("span",L,o(s.value.category),1),t("span",R,o(s.value.persona),1)]),t("h1",j,o(s.value.question),1),t("p",A,o(N(d)(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://github.com/bruin-data/bruin",class:"inline-block rounded-lg bg-gray-900 px-6 py-3 text-sm font-medium text-white hover:bg-gray-800 transition-colors"},"Get Bruin on GitHub"),t("a",{href:"/product/transformation",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"},"How transformation works")],-1))])]),t("section",F,[t("div",Q,[t("div",U,[t("div",null,[e[3]||(e[3]=t("h2",{class:"text-sm font-semibold uppercase tracking-wide text-gray-500"},"Command",-1)),t("code",W,o(s.value.command),1)]),t("div",null,[e[4]||(e[4]=t("h2",{class:"text-sm font-semibold uppercase tracking-wide text-gray-500"},"Defined in",-1)),t("p",$,o(s.value.language),1)]),t("div",null,[e[5]||(e[5]=t("h2",{class:"text-sm font-semibold uppercase tracking-wide text-gray-500"},"Works with",-1)),t("p",z,o(s.value.worksWith),1)])]),t("div",E,[e[6]||(e[6]=t("h2",{class:"text-sm font-semibold uppercase tracking-wide text-gray-500"},"What you get",-1)),t("div",M,[(n(!0),i(y,null,b(h.value,a=>(n(),i("span",{key:a,class:"rounded-full bg-bruin-50 px-3 py-1 text-[12px] font-medium text-bruin-600"},o(a),1))),128))])])])]),t("section",O,[t("div",P,[e[8]||(e[8]=t("h2",{class:"text-[28px] font-light text-gray-900 sm:text-[36px]"},[l("How it works "),t("span",{class:"font-serif italic text-bruin-400"},"in code")],-1)),t("pre",J,[t("code",null,o(s.value.codeSnippet),1)]),t("p",I,[e[7]||(e[7]=l("Run ",-1)),t("code",K,o(s.value.command),1),l(" "+o(s.value.runNote),1)])])]),g.value.length?(n(),i("section",X,[t("div",Y,[e[9]||(e[9]=t("h2",{class:"text-[28px] font-light text-gray-900 sm:text-[36px]"},[l("Related "),t("span",{class:"font-serif italic text-bruin-400"},"use cases")],-1)),t("div",Z,[(n(!0),i(y,null,b(g.value,a=>(n(),C(x,{key:a.slug,to:`/use-cases/transformation/${a.slug}/`,class:"rounded-xl border border-gray-200 bg-white p-5 transition-all hover:border-bruin-200 hover:shadow-sm"},{default:u(()=>[t("span",tt,o(a.category),1),t("h3",et,o(a.title),1),t("p",st,o(a.question),1)]),_:2},1032,["to"]))),128))])])])):H("",!0),t("section",ot,[c(v,{color:[255,255,255],"max-opacity":.5,"z-index":1,"center-mask":"","center-mask-width":55,"center-mask-height":60}),e[10]||(e[10]=S('<div class="relative z-10 mx-auto max-w-3xl px-8 text-center"><h2 class="text-[28px] font-light text-white sm:text-[40px]">SQL and Python, <em class="font-serif italic text-bruin-300">one pipeline</em></h2><p class="mt-3 text-sm text-gray-400">Open source. Define assets, declare dependencies, run the graph with bruin run.</p><div class="mt-8 flex flex-col items-center justify-center gap-3 sm:flex-row"><a href="https://github.com/bruin-data/bruin" class="inline-block rounded-lg bg-white px-8 py-3 text-sm font-medium text-gray-900 hover:bg-gray-100 transition-colors">Get Bruin on GitHub</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">
1Book a demo</a></div></div>',1))])])):(n(),i("main",at,[t("div",rt,[e[12]||(e[12]=t("h1",{class:"text-2xl font-light text-gray-900"},"Use case not found",-1)),c(x,{to:"/use-cases/transformation/",class:"mt-4 inline-block text-sm text-bruin-400 hover:text-bruin-500"},{default:u(()=>[...e[11]||(e[11]=[l("Browse all Transformation use cases",-1)])]),_:1})])]))}}};export{ut 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.