PageSourceSearch

https://bloom.diy/_next/static/chunks/app/(marketing)/layout-6a4c1bb5ce147ac7.js

js bloom.diy collected 2026-10-03 22:19:13 UTC 5,025 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9181],{19147:(e,r,t)=>{"use strict";t.d(r,{s:()=>s,t:()=>i});var n=t(37172);function l(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function i(...e){return r=>{let t=!1,n=e.map(e=>{let n=l(e,r);return t||"function"!=typeof n||(t=!0),n});if(t)return()=>{for(let r=0;r<n.length;r++){let t=n[r];"function"==typeof t?t():l(e[r],null)}}}}function s(...e){return n.useCallback(i(...e),e)}},19733:(e,r,t)=>{"use strict";t.d(r,{F:()=>s});var n=t(96541);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=n.$,s=(e,r)=>t=>{var n;if((null==r?void 0:r.variants)==null)return i(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:s,defaultVariants:a}=r,u=Object.keys(s).map(e=>{let r=null==t?void 0:t[e],n=null==a?void 0:a[e];if(null===r)return null;let i=l(r)||l(n);return s[e][i]}),o=t&&Object.entries(t).reduce((e,r)=>{let[t,n]=r;return void 0===n||(e[t]=n),e},{});return i(e,u,null==r||null==(n=r.compoundVariants)?void 0:n.reduce((e,r)=>{let{class:t,className:n,...l}=r;return Object.entries(l).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...a,...o}[r]):({...a,...o})[r]===t})?[...e,t,n]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}},35682:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>g});var n=t(69496),l=t(86279),i=t(93864),s=t(37172),a=t(46165),u=t(92839),o=t(72425),c=t(74013),d=t(71362),f=t.n(d);function m(){return(0,n.jsx)("div",{className:"w-full bg-primary",children:(0,n.jsx)("div",{className:"max-w-7xl mx-auto px-6",children:(0,n.jsx)(f(),{href:"/careers",className:"block",children:(0,n.jsxs)(c.P.div,{className:"group flex text-primary-foreground/90 hover:text-primary-foreground items-center justify-center gap-1.5 py-2.5 transition-all duration-300",whileHover:"hover",initial:"initial",variants:{initial:{},hover:{}},children:[(0,n.jsx)("span",{className:"text-base font-medium",children:"We're hiring! Join our team"}),(0,n.jsx)(c.P.div,{variants:{initial:{x:0},hover:{x:4}},transition:{type:"spring",stiffness:400,damping:25,duration:.2},children:(0,n.jsx)(o.JrI,{className:"w-5 h-5"})})]})})})})}let p=["/blog","/changelog"],h=["/android"];function v(e){return!p.some(r=>e.startsWith(r))}function g(e){let{children:r}=e,{setTheme:t}=(0,a.D)(),o=(0,u.usePathname)(),[c,d]=(0,s.useState)(0),f=(0,s.useRef)(null);(0,s.useEffect)(()=>{var e,r,n;let l=v(o)?h.some(e=>o.startsWith(e))?"dark":"light":null;if(null===l){let r=null!=(e=f.current)?e:localStorage.getItem("theme-user-pref");null!==r&&(t(r),f.current=null,localStorage.removeItem("theme-user-pref"));return}return null===f.current&&(f.current=null!=(n=null!=(r=localStorage.getItem("theme-user-pref"))?r:localStorage.getItem("theme"))?n:"system"),localStorage.setItem("theme-user-pref",f.current),t(l),()=>{null!==f.current&&(t(f.current),f.current=null,localStorage.removeItem("theme-user-pref"))}},[o,t]),(0,s.useEffect)(()=>{let e=()=>{d(window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let p=!h.some(e=>o.startsWith(e)),g=!v(o);return(0,n.jsxs)(n.Fragment,{children:[p&&(0,n.jsx)(m,{}),(0,n.jsx)(i.h,{}),r,(0,n.jsx)("div",{className:c>=1360?"mx-auto max-w-7xl px-8":"pl-8 pr-20.5",children:(0,n.jsx)(l.w,{showThemeSwitch:g})})]})}},47311:(e,r,t)=>{"use strict";t.d(r,{DX:()=>a,Dc:()=>o,TL:()=>s});var n=t(37172),l=t(19147),i=t(69496);function s(e){let r=function(e){let r=n.forwardRef((e,r)=>{let{children:t,...i}=e;if(n.isValidElement(t)){var s;let e,a,u=(s=t,(a=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(a=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),o=function(e,r){let t={...r};for(let n in r){let l=e[n],i=r[n];/^on[A-Z]/.test(n)?l&&i?t[n]=(...e)=>{let r=i(...e);return l(...e),r}:l&&(t[n]=l):"style"===n?t[n]={...l,...i}:"className"===n&&(t[n]=[l,i].filter(Boolean).join(" "))}return{...e,...t}}(i,t.props);return t.type!==n.Fragment&&(o.ref=r?(0,l.t)(r,u):u),n.cloneElement(t,o)}return n.Children.count(t)>1?n.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}(e),t=n.forwardRef((e,t)=>
1{let{children:l,...s}=e,a=n.Children.toArray(l),u=a.find(c);if(u){let e=u.props.children,l=a.map(r=>r!==u?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(r,{...s,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,l):null})}return(0,i.jsx)(r,{...s,ref:t,children:l})});return t.displayName=`${e}.Slot`,t}var a=s("Slot"),u=Symbol("radix.slottable");function o(e){let r=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});return r.displayName=`${e}.Slottable`,r.__radixId=u,r}function c(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}},95963:(e,r,t)=>{Promise.resolve().then(t.bind(t,35682))}},e=>{e.O(0,[4259,2265,4013,6777,1362,3619,2116,7095,9794,2262,5777,4813,7358],()=>e(e.s=95963)),_N_E=e.O()}]);

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.