PageSourceSearch

https://rubriclabs.com/_next/static/chunks/2a9e47029c3b4bfb.js

js rubriclabs.com collected 2026-10-03 23:45:00 UTC 10,320 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96590,e=>{"use strict";var r=e.i(43476),t=e.i(49838);let i={default:"bg-subtle dark:not-disabled:hover:bg-white/20 not-disabled:hover:bg-black/20 rounded-full",ghost:"dark:not-disabled:hover:bg-white/20 not-disabled:hover:bg-black/20 rounded-full",icon:"focus:ring-0 !px-1.5 !py-1.5 rounded dark:not-disabled:hover:bg-white/20 not-disabled:hover:bg-black/20","icon-link":"focus:ring-0 !p-0 text-secondary not-disabled:hover:text-primary",link:"text-secondary not-disabled:hover:text-primary focus:ring-0 !p-0",outline:"border-subtle border dark:not-disabled:hover:border-white/20 not-disabled:hover:border-black/20 rounded-full",primary:"bg-primary text-background not-disabled:hover:bg-primary/90 rounded-full"},l={lg:"p-4 px-8 text-base",md:"p-3 px-6 text-sm",sm:"p-2 px-4 text-xs"},s=({variant:e="default",size:r="md",className:s}={})=>(0,t.cn)("flex w-fit cursor-pointer items-center justify-center gap-2 font-matter ring-secondary transition-all focus:outline-none focus:ring disabled:cursor-not-allowed",i[e],l[r],s);e.s(["Button",0,({children:e,variant:t="default",type:i="button",size:l="md",className:a,...n})=>(0,r.jsx)("button",{type:i,className:s({className:a,size:l,variant:t}),...n,children:e}),"buttonVariants",0,s])},41125,e=>{"use strict";var r=e.i(71645);function t(){let[e,t]=(0,r.useState)(!1);return{copied:e,handleCopy:e=>{navigator&&"clipboard"in navigator?navigator.clipboard.writeText(e):alert("Clipboard is not supported"),t(!0),setTimeout(()=>t(!1),1e3)}}}e.s(["useClipboard",()=>t],41125)},15153,e=>{"use strict";var r=e.i(43476),t=e.i(95187);let i=(0,t.createServerReference)("60dd359f2e386a93ae8eb111a01b12a846a7454b14",t.callServer,void 0,t.findSourceMapURL,"createNewsletterSubscriber");var l=e.i(49838),s=e.i(96590),a=e.i(28395),n=e.i(5910);e.s(["NewsletterForm",0,({classNames:e})=>(0,r.jsx)(a.Form,{label:"newsletter",action:i,onLoad:{title:"Subscribing..."},onSuccess:{title:"Subscribed to mailing list"},className:(0,l.cn)(e?.form),children:({pending:t,state:i})=>(0,r.jsxs)("div",{className:"relative flex w-full items-center",children:[(0,r.jsx)("div",{"aria-hidden":"true",className:"absolute -left-[9999px]",children:(0,r.jsx)("input",{name:"website",type:"text",tabIndex:-1,autoComplete:"off"})}),(0,r.jsx)("input",{placeholder:"Email",className:(0,l.cn)("w-full",e?.input),name:"email",type:"email",required:!0}),(0,r.jsx)(s.Button,{type:"submit",disabled:t||!!i?.success,variant:"icon",className:(0,l.cn)("!p-0 absolute top-1/2 right-2 size-[30px] -translate-y-1/2 rounded-full",e?.button),children:(0,r.jsx)(n.Arrow,{})})]})})],15153)},5910,e=>{"use strict";var r=e.i(43476);e.s(["Arrow",0,({className:e})=>(0,r.jsxs)("svg",{className:e,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Arrow"}),(0,r.jsx)("path",{d:"M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})]})])},95187,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={callServer:function(){return s.callServer},createServerReference:function(){return n.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var l in i)Object.defineProperty(t,l,{enumerable:!0,get:i[l]});let s=e.r(32120),a=e.r(92245),n=e.r(35326)},28395,e=>{"use strict";var r=e.i(43476),t=e.i(20565),i=e.i(71645),l=e.i(46696),s=e.i(49838);e.s(["Form",0,({label:e,action:a,children:n,ref:c,className:o,onLoad:d={title:"Submitting..."},onSuccess:u={title:"Successfully submitted!"}})=>{let b=(0,t.usePostHog)(),p=(0,i.useRef)(null),h=(0,i.useRef)(void 0),[f,m,x]=(0,i.useActionState)(a,null);return(0,i.useEffect)(()=>{x&&(h.current=l.toast.loading(d.title)),f?.success&&h.current?(l.toast.success(u.title,{description:u?.description,id:h.current}),b.capture(`${e}_form.submitted`),p.current?.reset()):f?.error&&h.current&&(l.toast.error(f.error,{id:h.current}),b.capture(`${e}_form.error`,{error:f.error}))},[x,f,e,b,d,u]),(0,r.jsx)("form",{action:m,className:(0,s.cn)("flex items-center gap-1",o),ref:c||p,children:"function"==typeof n?n({pending:x,state:f}):n})}])},42089,e=>{"use strict";var r=e.i(43476),t=e.i(71645),i=e.i(46696),l=e.i(41125),s=e.i(49838),a=e.i(96590);e.s(["Copiable",0,({children:e,variant:n,content:c,size:o="md",className:d="",message:u="Copied"})=>{let{copied:b,handleCopy:p}=(0,l.useClipboard)();return(0,t.useEffect)(()=>{b&&i.toast.success(u)},[b,u]),(0,r.jsx)(a.Button,{onClick:()=>p(c),variant:n,size:o,className:(0,s.cn)(d,"relative inline-flex"),children:e})}])},87606,e=>{"use strict";var r=e.i(43476),t=e.i(22016),i=e.i(20565),l=e.i(15153),s=e.i(49838),a=e.i(96590),n=e.i(42089);let c=[{href:"https://github.com/RubricLab",icon:(0,r.jsx)(({className:e})=>(0,r.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"GitHub"}),(0,r.jsx)("g",{clipPath:"url(#clip-github)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0C5.37 0 0 5.37 0 12C0 17.31 3.435 21.795 8.205 23.385C8.805 23.49 9.03 23.13 9.03 22.815C9.03 22.53 9.015 21.585 9.015 20.58C6 21.135 5.22 19.845 4.98 19.17C4.845 18.825 4.26 17.76 3.75 17.475C3.33 17.25 2.73 16.695 3.735 16.68C4.68 16.665 5.355 17.55 5.58 17.91C6.66 19.725 8.385 19.215 9.075 18.9C9.18 18.12 9.495 17.595 9.84 17.295C7.17 16.995 4.38 15.96 4.38 11.37C4.38 10.065 4.845 8.985 5.61 8.145C5.49 7.845 5.07 6.615 5.73 4.965C5.73 4.965 6.735 4.65 9.03 6.195C9.99 5.925 11.01 5.79 12.03 5.79C13.05 5.79 14.07 5.925 15.03 6.195C17.325 4.635 18.33 4.965 18.33 4.965C18.99 6.615 18.57 7.845 18.45 8.145C19.215 8.985 19.68 10.05 19.68 11.37C19.68 15.975 16.875 16.995 14.205 17.295C14.64 17.67 15.015 18.39 15.015 19.515C15.015 21.12 15 22.41 15 22.815C15 23.13 15.225 23.505 15.825 23.385C20.565 21.795 24 17.295 24 12C24 5.37 18.63 0 12 0Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip-github",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"
1currentColor"})})})]}),{className:"size-5"}),label:"GitHub"},{href:"https://x.com/RubricLabs",icon:(0,r.jsx)(({className:e})=>(0,r.jsxs)("svg",{className:e,viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"X icon"}),(0,r.jsx)("path",{d:"M17.2478 0.25H20.5558L13.3288 8.51L21.8308 19.75H15.1738L9.95981 12.933L3.99381 19.75H0.683812L8.41381 10.915L0.257812 0.25H7.08381L11.7968 6.481L17.2478 0.25ZM16.0868 17.77H17.9198L6.08781 2.126H4.12081L16.0868 17.77Z",fill:"currentColor"})]}),{className:"size-5"}),label:"X"},{href:"https://www.linkedin.com/company/RubricLabs",icon:(0,r.jsx)(({className:e})=>(0,r.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"LinkedIn"}),(0,r.jsx)("g",{clipPath:"url(#clip-linkedin)",children:(0,r.jsx)("path",{d:"M19 0H5C2.239 0 0 2.239 0 5V19C0 21.761 2.239 24 5 24H19C21.762 24 24 21.761 24 19V5C24 2.239 21.762 0 19 0ZM8 19H5V8H8V19ZM6.5 6.732C5.534 6.732 4.75 5.942 4.75 4.968C4.75 3.994 5.534 3.204 6.5 3.204C7.466 3.204 8.25 3.994 8.25 4.968C8.25 5.942 7.467 6.732 6.5 6.732ZM20 19H17V13.396C17 10.028 13 10.283 13 13.396V19H10V8H13V9.765C14.396 7.179 20 6.988 20 12.241V19Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip-linkedin",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),{className:"size-5"}),label:"LinkedIn"}],o=[{href:"/blog",label:"Blog"},{href:"/contact",label:"Contact"},{href:"/work",label:"Work"},{href:"/team",label:"Team"},{href:"/brand",label:"Brand"},{href:"/privacy",label:"Privacy"},{href:"/newsletter",label:"Newsletter"}],d=({title:e,children:t,className:i})=>(0,r.jsxs)("div",{className:(0,s.cn)("flex w-fit flex-col gap-4",i),children:[(0,r.jsx)("p",{className:"text-primary",children:e}),t]});e.s(["Footer",0,({className:e})=>{let u=(0,i.usePostHog)();return(0,r.jsx)("div",{id:"footer",className:"w-full",children:(0,r.jsxs)("footer",{className:(0,s.cn)("flex h-screen w-full flex-col items-center justify-center space-y-24",e),children:[(0,r.jsx)("span",{role:"img","aria-label":"Rubric Labs",className:"block aspect-[66.4297/10] w-full shrink-0 bg-secondary",style:{maskImage:"url('/brand/rubric-labs-wordmark.svg')",maskPosition:"center",maskRepeat:"no-repeat",maskSize:"contain",WebkitMaskImage:"url('/brand/rubric-labs-wordmark.svg')",WebkitMaskPosition:"center",WebkitMaskRepeat:"no-repeat",WebkitMaskSize:"contain"}}),(0,r.jsxs)("div",{className:"w-full max-w-2xl space-y-8 px-4 sm:space-y-16",children:[(0,r.jsxs)("div",{className:"flex w-full flex-col justify-between gap-8 sm:flex-row sm:gap-0",children:[(0,r.jsx)(d,{title:"Stay in touch",className:"w-full sm:max-w-1/2",children:(0,r.jsx)(l.NewsletterForm,{})}),(0,r.jsx)(d,{title:"Socials",children:(0,r.jsx)("div",{className:"flex gap-5",children:c.map(({icon:e,href:i,label:l})=>(0,r.jsx)(t.default,{href:i,onClick:()=>u.capture("social.clicked",{href:i,label:l}),target:"_blank",className:(0,a.buttonVariants)({variant:"icon-link"}),children:e},l))})})]}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(d,{title:"Links",children:(0,r.jsx)("div",{className:"grid grid-cols-3 gap-6 text-secondary md:grid-cols-4",children:o.map(({label:e,href:i})=>(0,r.jsx)(t.default,{href:i,children:e},e))})})}),(0,r.jsx)("div",{className:"text-secondary",children:(0,r.jsxs)(n.Copiable,{message:"Website link copied",variant:"link",content:"https://rubriclabs.com",className:"group relative gap-1",children:[(0,r.jsx)("span",{children:"© Rubric Labs Inc."}),(0,r.jsx)("span",{className:"opacity-0 transition-opacity delay-500 duration-1000 group-hover:opacity-100",children:"2049"}),(0,r.jsx)("span",{className:"absolute top-0 right-0 transition-opacity delay-500 duration-1000 group-hover:opacity-0",children:new Date().getFullYear()})]})})]})]})})}],87606)}]);

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.