PageSourceSearch

https://nugsstudio.com/_next/static/chunks/0jb_u5yz-52mp.js

js nugsstudio.com collected 2026-10-05 01:49:30 UTC 11,154 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,860253,e=>{"use strict";let t=(0,e.i(903645).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],860253)},574929,e=>{"use strict";var t=e.i(460246),r=e.i(718752),n=e.i(348818),l=e.i(617967),a=e.i(732956),i=e.i(289349),s=e.i(882471),c=e.i(898859),o=e.i(761481),u=e.i(604829);let d=e=>{let i,u,d,h,p,x,y,g,b=(0,r.c)(11),{cartCount:_}=e,[v,j]=(0,a.useState)(!1);b[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(o.SheetTrigger,{className:"block md:hidden",children:(0,t.jsx)(l.Menu,{})}),b[0]=i):i=b[0],b[1]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(s.NugsSmall,{className:"text-primary-500 shrink-0"}),b[1]=u):u=b[1],b[2]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(c.ActiveLink,{onClick:()=>j(!1),href:"/",className:"hover:border-primary-500 hover:text-primary-500 block w-full rounded-lg border border-transparent px-4 py-2.5 text-xl transition-colors",activeClassName:"bg-primary-500 text-zinc-900 hover:text-zinc-900",children:"Home"}),h=f.map(e=>(0,t.jsx)("li",{className:"w-full",children:(0,t.jsx)(c.ActiveLink,{onClick:()=>j(!1),href:e.href,segment:e.segment,className:"hover:border-primary-500 hover:text-primary-500 block w-full rounded-lg border border-transparent px-4 py-2.5 text-xl transition-colors",activeClassName:"bg-primary-500 text-zinc-900 hover:text-zinc-900",children:e.name})},e.name)),b[2]=d,b[3]=h):(d=b[2],h=b[3]),b[4]===Symbol.for("react.memo_cache_sentinel")?(p=()=>j(!1),b[4]=p):p=b[4],b[5]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsxs)("span",{className:"flex items-center gap-2.5",children:[(0,t.jsx)(m,{}),"Cart"]}),b[5]=x):x=b[5];let S=_>0?_:null;return b[6]!==S?(y=(0,t.jsxs)(o.SheetContent,{side:"left",className:"flex flex-col",children:[u,(0,t.jsxs)("ul",{className:"mt-5 flex h-full flex-col items-center gap-1 text-start",children:[d,h,(0,t.jsx)("li",{className:"mt-auto w-full",children:(0,t.jsxs)(n.default,{href:"/carts",className:"btn-primary flex w-full items-center justify-between gap-2.5 text-xl",onClick:p,children:[x,(0,t.jsx)("span",{className:"font-mono",children:S})]})})]})]}),b[6]=S,b[7]=y):y=b[7],b[8]!==v||b[9]!==y?(g=(0,t.jsxs)(o.Sheet,{open:v,onOpenChange:j,children:[i,y]}),b[8]=v,b[9]=y,b[10]=g):g=b[10],g},f=[{name:"Fonts",segment:"fonts",href:"/fonts"},{name:"Licensing",segment:"licensing",href:"/licensing"},{name:"Contact",segment:"contact",href:"/contact"}],m=e=>{let n,l,a=(0,r.c)(3);return a[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("path",{fill:"currentColor",d:"M4 6.438L.757 3.196l1.415-1.415 3.242 3.243h15.242a1 1 0 01.958 1.287l-2.4 8a1 1 0 01-.958.713H6v2h11v2H5a1 1 0 01-1-1V6.438zm2 .586v6h11.512l1.8-6H6zm-.5 16a1.5 1.5 0 110-3 1.5 1.5 0 010 3zm12 0a1.5 1.5 0 110-3 1.5 1.5 0 010 3z"}),a[0]=n):n=a[0],a[1]!==e?(l=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",fill:"none",viewBox:"0 0 24 25",...e,children:n}),a[1]=e,a[2]=l):l=a[2],l};function h(e){return(0,t.jsx)("li",{children:(0,t.jsx)(c.ActiveLink,{href:e.href,segment:e.segment,className:"hover:text-primary-500 transition-colors",children:e.name})},e.name)}e.s(["UserNavbar",0,()=>{let e,n,l,o,p,x,y,g,b,_,v,j,S,w,C,N,k,E,O=(0,r.c)(31),[I,L]=(0,a.useState)(!1),[M,A]=(0,a.useState)(0),P=(0,i.usePathname)();O[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{A(function(){try{let e=document.cookie.split("; ").find(e=>e.startsWith("cart="));if(!e)return 0;let t=decodeURIComponent(e.split("=")[1]??""),r=JSON.parse(t);return Array.isArray(r)?r.length:0}catch{return 0}}())},O[0]=e):e=O[0];let z=e;O[1]===Symbol.for("react.memo_cache_sentinel")?(n=()=>(z(),window.addEventListener("focus",z),window.addEventListener("cart-updated",z),()=>{window.removeEventListener("focus",z),window.removeEventListener("cart-updated",z)}),l=[z],O[1]=n,O[2]=l):(n=O[1],l=O[2]),(0,a.useEffect)(n,l),O[3]===Symbol.for("react.memo_cache_sentinel")?(o=()=>z(),O[3]=o):o=O[3],O[4]!==P?(p=[P,z],O[4]=P,O[5]=p):p=O[5],(0,a.useEffect)(o,p),O[6]===Symbol.for("react.memo_cache_sentinel")?(x=()=>{let e=document.querySelector("#hero-title");if(!e)return void L(!1);let t=new IntersectionObserver(e=>
1{e.forEach(e=>{L(e.isIntersecting)})},{rootMargin:"-200px 0px 0px 0px"});return t.observe(e),()=>{t.disconnect()}},O[6]=x):x=O[6],O[7]!==P?(y=[P,L],O[7]=P,O[8]=y):y=O[8],(0,a.useEffect)(x,y);let T=I?"":"bg-zinc-900";O[9]!==T?(g=(0,u.cn)("sticky top-0 z-10 py-2.5 text-zinc-400 transition-colors md:py-5",T),O[9]=T,O[10]=g):g=O[10];let H="/"===P?"text-primary-500":"text-zinc-400";return O[11]!==H?(b=(0,u.cn)(H),O[11]=H,O[12]=b):b=O[12],O[13]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsx)(s.NugsSmall,{className:"h-10 w-full md:h-full md:w-max"}),O[13]=_):_=O[13],O[14]!==b?(v=(0,t.jsx)(c.ActiveLink,{href:"/","aria-label":"Nugs Studio",className:b,children:_}),O[14]=b,O[15]=v):v=O[15],O[16]===Symbol.for("react.memo_cache_sentinel")?(j=f.map(h),O[16]=j):j=O[16],O[17]!==M?(S=M>0?(0,t.jsx)("p",{className:"bg-primary-500 absolute -top-2 -right-2 grid h-5 w-5 place-items-center rounded-full text-sm leading-none text-zinc-900",children:M}):null,O[17]=M,O[18]=S):S=O[18],O[19]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)(m,{className:"hover:text-primary-500 transition-colors"}),O[19]=w):w=O[19],O[20]!==S?(C=(0,t.jsx)("div",{className:"hidden items-center gap-8 md:flex",children:(0,t.jsxs)("ul",{className:"flex items-center gap-8",children:[j,(0,t.jsx)("li",{children:(0,t.jsxs)(c.ActiveLink,{href:"/carts",segment:"carts","aria-label":"Shopping Cart",className:"relative",children:[S,w]})})]})}),O[20]=S,O[21]=C):C=O[21],O[22]!==M?(N=(0,t.jsx)(d,{cartCount:M}),O[22]=M,O[23]=N):N=O[23],O[24]!==v||O[25]!==C||O[26]!==N?(k=(0,t.jsxs)("div",{className:"container flex items-center justify-between",children:[v,C,N]}),O[24]=v,O[25]=C,O[26]=N,O[27]=k):k=O[27],O[28]!==k||O[29]!==g?(E=(0,t.jsx)("nav",{className:g,children:k}),O[28]=k,O[29]=g,O[30]=E):E=O[30],E}])},172016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return i},requestIdleCallback:function(){return a}};for(var l in n)Object.defineProperty(r,l,{enumerable:!0,get:n[l]});let a="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},194299,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ESCAPE_REGEX:function(){return i},htmlEscapeAttributeString:function(){return u},htmlEscapeJsonString:function(){return o}};for(var l in n)Object.defineProperty(r,l,{enumerable:!0,get:n[l]});let a={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},i=/[&><\u2028\u2029]/g,s={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},c=/[&"'<>]/g;function o(e){return e.replace(i,e=>a[e])}function u(e){return e.replace(c,e=>s[e])}},206143,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return _},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return g}};for(var l in n)Object.defineProperty(r,l,{enumerable:!0,get:n[l]});let a=e.r(481258),i=e.r(744066),s=e.r(460246),c=a._(e.r(560812)),o=i._(e.r(732956)),u=e.r(378102),d=e.r(2750),f=e.r(172016),m=e.r(194299),h=new Map,p=new Set,x=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:l=null,dangerouslySetInnerHTML:a,children:i="",strategy:s="afterInteractive",onError:o,stylesheets:u}=e,f=r||t;if(f&&p.has(f))return;if(h.has(t)){p.add(f),h.get(t).then(n,o);return}let m=()=>{l&&l(),p.add(f)},x=document.createElement("script"),y=new Promise((e,t)=>{x.addEventListener("load",function(t){e(),n&&n.call(this,t),m()}),x.addEventListener("error",function(e){t(e)})}).catch(function(e){o&&o(e)});a?(x.innerHTML=a.__html||"",m()):i?(x.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",m()):t&&(x.src=t,h.set(t,y)),(0,d.setAttributesFromProps)(x,e),"worker"===s&&x.setAttribute("type","text/partytown"),x.setAttribute("data-nscript",s),u&&(e=>
1{if(c.default.preinit)return e.forEach(e=>{c.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(u),document.body.appendChild(x)};function y(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>x(e))}):x(e)}function g(e){e.forEach(y),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");p.add(t)})}function b(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:l=null,strategy:a="afterInteractive",onError:i,stylesheets:d,...h}=e,{updateScripts:y,scripts:g,getIsSsr:b,appDir:_,nonce:v}=(0,o.useContext)(u.HeadManagerContext);v=h.nonce||v;let j=(0,o.useRef)(!1);(0,o.useEffect)(()=>{let e=t||r;j.current||(l&&e&&p.has(e)&&l(),j.current=!0)},[l,t,r]);let S=(0,o.useRef)(!1);if((0,o.useEffect)(()=>{if(!S.current){if("afterInteractive"===a)x(e);else"lazyOnload"===a&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>x(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>x(e))}));S.current=!0}},[e,a]),("beforeInteractive"===a||"worker"===a)&&(y?(g[a]=(g[a]||[]).concat([{id:t,src:r,onLoad:n,onReady:l,onError:i,...h,nonce:v}]),y(g)):b&&b()?p.add(t||r):b&&!b()&&x({...e,nonce:v})),_){if(d&&d.forEach(e=>{c.default.preinit(e,{as:"style"})}),"beforeInteractive"===a)if(!r)return h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([0,{...h,id:t}]))})`}});else return c.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:v,crossOrigin:h.crossOrigin}:{as:"script",nonce:v,crossOrigin:h.crossOrigin}),(0,s.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([r,{...h,id:t}]))})`}});"afterInteractive"===a&&r&&c.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:v,crossOrigin:h.crossOrigin}:{as:"script",nonce:v,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});let _=b;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.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.