PageSourceSearch

https://pittogramma.xyz/_next/static/chunks/6859-58ffa40c39588232.js

js pittogramma.xyz collected 2026-10-04 05:35:35 UTC 16,057 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6859],{6213:(e,t,n)=>{n.d(t,{default:()=>j});var a=n(95155),i=n(12115),r=n(12572),l=n(73321),s=n(98500),o=n.n(s),c=n(96122),d=n(85789),u=n(45160);let h=3/4;function f({byline:e,href:t,image:n,sponsored:i,title:r,variant:l}){let s=n&&"object"==typeof n&&"image"in n&&n.image?.asset;return(0,a.jsxs)(o(),{className:"group flex w-full flex-col items-start gap-2 rounded-card",href:t,rel:i?"noopener sponsored":"noopener noreferrer",target:"_blank",children:[(0,a.jsx)(d.g,{className:"relative overflow-hidden rounded-xl",ratio:h,children:s?(0,a.jsx)(c.A,{alt:r,className:"h-full w-full rounded-xl object-cover transition-transform duration-200 ease-out group-hover:scale-103",fill:!0,sizes:"(min-width: 480px) 480px, 100vw",source:n}):(0,a.jsx)("div",{className:"h-full w-full rounded-xl bg-secondary"})}),l?(0,a.jsx)(u.E,{variant:l,children:"Sponsored"}):null,(0,a.jsxs)("hgroup",{className:"flex w-full flex-col items-start gap-0.5",children:[(0,a.jsx)("h3",{className:"text-pretty text-foreground text-lg leading-tight",children:r}),e?(0,a.jsx)("p",{className:"font-normal text-muted-foreground text-sm",children:e}):null]})]})}var x=n(89239),m=n(99412),g=n(28057);function p({item:e,kind:t}){return e.cover?.image?.asset?"adv"===t?(0,a.jsx)(f,{byline:e.sponsor?.name?`Sponsored by ${e.sponsor.name}`:"Sponsored",href:e.externalUrl,image:e.coverPortrait?.asset?{alt:e.cover.alt,image:e.coverPortrait}:e.cover,sponsored:!0,title:e.title??"",variant:e.tier},e._id):(0,a.jsx)(f,{byline:e.partner?.name?`In partnership with ${e.partner.name}`:"Community",href:e.externalUrl,image:e.cover,title:e.title??""},e._id):null}function v({items:e}){let t=(0,l.useSearchParams)(),n=(0,l.usePathname)(),s=(0,g.U)("(min-width: 768px)"),o="open"===t.get("feed"),c=(0,i.useCallback)(e=>{let a=new URLSearchParams(t.toString());if(e)a.set("feed","open"),window.history.pushState(null,"",`${n}?${a.toString()}`);else{a.delete("feed");let e=a.toString();window.history.replaceState(null,"",`${n}${e?`?${e}`:""}`)}},[n,t]),d=e.some(e=>e.item.cover?.image?.asset);return(0,a.jsxs)(m.cj,{onOpenChange:c,open:o,children:[(0,a.jsx)(m.CG,{render:(0,a.jsx)(x.$,{"aria-label":"Feed",size:"icon",variant:"outline",children:(0,a.jsx)(r.A,{size:16})})}),(0,a.jsxs)(m.h,{className:s?"flex h-full min-h-0 w-120 max-w-120 flex-col gap-0 overflow-hidden sm:max-w-120! [&>[data-slot=sheet-close]]:top-5 [&>[data-slot=sheet-close]]:right-6 [&>[data-slot=sheet-close]]:inline-flex [&>[data-slot=sheet-close]]:size-6 [&>[data-slot=sheet-close]]:items-center [&>[data-slot=sheet-close]]:justify-center":"flex h-[90vh] min-h-0 flex-col gap-0 overflow-hidden",side:s?"right":"bottom",children:[(0,a.jsx)(m.Fm,{className:s?"items-start pb-4":"pb-4",children:(0,a.jsx)(m.qp,{children:"Feed"})}),(0,a.jsx)("div",{className:"scrollbar-none min-h-0 flex-1 space-y-6 overflow-y-auto px-6 pb-6 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",children:d?e.map(e=>(0,i.createElement)(p,{...e,key:e.item._id})):(0,a.jsx)("p",{className:"py-20 text-center text-muted-foreground",children:"No active sponsors or community items right now."})})]})]})}function j(e){return(0,a.jsx)(i.Suspense,{fallback:(0,a.jsx)(x.$,{"aria-label":"Feed",disabled:!0,size:"icon",variant:"outline",children:(0,a.jsx)(r.A,{size:16})}),children:(0,a.jsx)(v,{...e})})}},28057:(e,t,n)=>{n.d(t,{U:()=>i});var a=n(12115);function i(e){let[t,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let t=window.matchMedia(e),a=()=>n(t.matches);return a(),t.addEventListener("change",a),()=>t.removeEventListener("change",a)},[e]),t}},36456:(e,t,n)=>{n.d(t,{NavigationMobile:()=>u});var a=n(95155),i=n(12363),r=n(98500),l=n.n(r),s=n(12115),o=n(77908),c=n(89239),d=n(40980);function u({resources:e}){let[t,n]=(0,s.useState)(!1),[r,h]=(0,s.useState)(null),f=(0,s.useMemo)(()=>[{children:[{href:"/projects",label:"Projects"},{href:"/interviews",label:"Interviews"},{href:"/designers",label:"Designers"}],label:"Features"},{children:e.map(e=>({href:e.href,label:e.label})),label:"Index"},{href:"/journal",label:"Journal"},{href:"/events",label:"Events"},{href:"/about",label:"About"}],[e]),x=()=>{n(!1),h(null)};return(0,s.useEffect)(()=>(document.body.style.overflow=t?"hidden":"",()=>{document.body.style.overflow=""}),[t]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.$,{"aria-hidden":t,className:(0,d.cn)("lg:hidden",t&&"border-background text-background"),onClick:()=>n(!0),size:"sm",variant:"outline",children:"Menu"}),t&&(0,a.jsxs)("div",{className:"fixed inset-0 z-50 flex flex-col bg-background lg:hidden",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-4 py-2.5",children:[(0,a.jsx)(l(),{href:"/",onClick:x,children:(0,a.jsx)(o.A,{})}),(0,a.jsx)(c.$,{onClick:x,size:"sm",variant:"outline",children:"Close"})]}),(0,a.jsx)("nav",{className:"flex-1 overflow-y-auto px-4 pt-8",children:(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)(c.$,{className:"w-fit",nativeButton:!1,onClick:x,render:(0,a.jsx)(l(),{href:"/submit"}),children:"Submit your project"}),f.map(e=>"children"in e?(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{className:"inline-flex items-center gap-1 rounded-full border px-3 py-1.5 font-medium text-sm transition-colors hover:bg-accent",onClick:()=>{var t;return t=e.label,void h(e=>e===t?null:t)},type:"button",children:[e.label,(0,a.jsx)(i.A,{className:(0,d.cn)("size-3.5 transition-transform duration-200",r===e.label&&"rotate-180")}
1)]}),r===e.label&&(0,a.jsx)("div",{className:"mt-3 flex flex-col gap-2 pl-1",children:e.children.map(e=>(0,a.jsx)(l(),{className:"text-2xl leading-tight transition-opacity hover:opacity-70",href:e.href,onClick:x,children:e.label},e.href))})]},e.label):(0,a.jsx)(c.$,{className:"w-fit",nativeButton:!1,onClick:x,render:(0,a.jsx)(l(),{href:e.href}),variant:"outline",children:e.label},e.label))]})}),(0,a.jsxs)("footer",{className:"px-4 py-4 text-muted-foreground text-xs",children:[(0,a.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," Pittogramma"]}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-x-3",children:[(0,a.jsx)(l(),{href:"/impressum",onClick:x,prefetch:!1,children:"Legal Notice"}),(0,a.jsx)(l(),{href:"/privacy-policy",onClick:x,prefetch:!1,children:"Privacy Policy"}),(0,a.jsx)(l(),{href:"/cookie-policy",onClick:x,prefetch:!1,children:"Cookie Policy"}),(0,a.jsx)(l(),{href:"/submission-terms",onClick:x,prefetch:!1,children:"Submission Terms"})]})]})]})]})}},44345:(e,t,n)=>{n.d(t,{Lg:()=>r,RT:()=>i,XV:()=>a});let a=n(41463).env.NEXT_PUBLIC_SANITY_API_VERSION||"2026-06-03",i=l("production","Missing environment variable: NEXT_PUBLIC_SANITY_DATASET"),r=l("jfvmcjyl","Missing environment variable: NEXT_PUBLIC_SANITY_PROJECT_ID");function l(e,t){if(void 0===e)throw Error(t);return e}},52067:(e,t,n)=>{n.d(t,{ij:()=>o,pA:()=>s,sQ:()=>l,vX:()=>d,z6:()=>c,zK:()=>u});var a=n(7571),i=n(44345);let r=(0,a.OX)({dataset:i.RT,projectId:i.Lg}),l=e=>{let t=e?.image?.hotspot;if("object"==typeof t&&null!==t&&"x"in t&&"y"in t&&"number"==typeof t.x&&"number"==typeof t.y)return`${100*t.x}% ${100*t.y}%`},s=e=>e?.image?.asset?e.image:null,o=e=>{let t=s(e);return t?r.image(t):null},c=e=>{let t=e?.image?.asset;return t?r.image(t):null},d=e=>{let t=e?.image?.asset;if(t&&"object"==typeof t&&"metadata"in t){let e=t.metadata;return e?.dimensions??void 0}},u=(e,t=!1)=>{let n=(e=>{let t=e?.image?.asset;if(t&&"object"==typeof t&&"metadata"in t){let e=t.metadata;return e?.lqip??void 0}})(e);if(n)return n;let a=t?c(e):o(e);return a?.width(24).quality(5).auto("format").url()}},66515:(e,t,n)=>{n.d(t,{NavigationDesktop:()=>_});var a=n(95155),i=n(98500),r=n.n(i),l=n(55088),s=n(34792),o=n(52826),c=n(30954),d=n(23296),u=n(25720),h=n(85585),f=n(62212),x=n(69528),m=n(62164),g=n(18460),p=n(12363),v=n(12115),j=n(40980);function b({align:e="start",className:t,children:n,defaultValue:i,value:r,onValueChange:s,...o}){let[c,d]=(0,v.useState)(r??i??null),u=null!==c;(0,v.useEffect)(()=>{void 0!==r&&d(r)},[r]),(0,v.useEffect)(()=>{if(!u)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[u]);let h=(0,v.useCallback)(()=>d(null),[]),f=(0,v.useCallback)((e,t)=>{d(e),s?.(e,t)},[s]);return(0,a.jsxs)(a.Fragment,{children:[u?(0,a.jsx)("button",{"aria-label":"Close menu",className:"fade-in-0 fixed inset-0 z-40 animate-in bg-background/50 backdrop-blur-xl duration-200",onClick:h,type:"button"}):null,(0,a.jsxs)(l.e,{...o,className:(0,j.cn)("group/navigation-menu relative z-50 flex max-w-max flex-1 items-center justify-center",t),"data-slot":"navigation-menu",onValueChange:f,value:c,children:[n,(0,a.jsx)(z,{align:e})]})]})}function w({className:e,...t}){return(0,a.jsx)(s.S,{className:(0,j.cn)("group flex flex-1 list-none items-center justify-center gap-1",e),"data-slot":"navigation-menu-list",...t})}function y({className:e,...t}){return(0,a.jsx)(o.J,{className:(0,j.cn)("relative",e),"data-slot":"navigation-menu-item",...t})}let N=(0,g.F)("group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-full bg-background px-4 py-2 text-base outline-none transition-[color,box-shadow] hover:cursor-pointer hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-1 focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-accent/50 data-popup-open:text-accent-foreground data-popup-open:focus:bg-accent data-popup-open:hover:bg-accent");function k({className:e,children:t,...n}){return(0,a.jsxs)(c.w,{className:(0,j.cn)(N(),e),"data-slot":"navigation-menu-trigger",onPointerLeave:e=>e.preventDefault(),onPointerMove:e=>e.preventDefault(),...n,children:[t," ",(0,a.jsx)(p.A,{"aria-hidden":"true",className:"relative top-px ml-1 size-4 transition duration-300 group-data-popup-open/navigation-menu-trigger:rotate-180"})]})}function C({className:e,...t}){return(0,a.jsx)(d.h,{className:(0,j.cn)("h-full w-auto transition-[opacity,transform,translate] duration-200 data-ending-style:data-activation-direction=left:translate-x-[50%] data-ending-style:data-activation-direction=right:translate-x-[-50%] data-starting-style:data-activation-direction=left:translate-x-[-50%] data-starting-style:data-activation-direction=right:translate-x-[50%] data-ending-style:opacity-0 data-starting-style:opacity-0 **:data-[slot=navigation-menu-link]:focus:outline-none **:data-[slot=navigation-menu-link]:focus:ring-0",e),"data-slot":"navigation-menu-content",...t})}function z({align:e="start",alignOffset:t=0,className:n,side:i="bottom",sideOffset:r=6,...l}){return(0,a.jsx)(u.a,{children:(0,a.jsx)(h.W,{align:e,alignOffset:t,className:(0,j.cn)("isolate z-50 h-(--positioner-height) w-(--positioner-width) max-w-(--available-width) transition-[top,left,right,bottom] duration-200 data-instant:transition-none",n),side:i,sideOffset:r,...l,children:(0,a.jsx)(f.Q,{className:"relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) overflow-hidden rounded-md text-popover-foreground shadow outline-none transition-[opacity,transform,width,height,scale,translate] duration-200 data-ending-style:scale-95 data-starting-style:scale-95 data-ending-style:opacity-0 data-starting-style:opacity-0",children:(0,a.jsx)(x.Q,{className:"relative size-full overflow-hidden"})})})})}function S({className:e,...t}){return(0,a.jsx)(m.W,{className:(0,j.cn)("text flex flex-col gap-1 rounded-sm p-2 text-sm outline-none transition-all hover:bg-transparent hover:text-muted-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-1 focus-visible:ring-[3px] focus-visible:ring-ring/50 data-active:bg-accent/50 data-active:text-accent-foreground data-active:focus:bg-accent data-active:hover:bg-accent [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),"data-slot":"navigation-menu-link",...t})}function _({resources:e}){return(0,a.jsx)(b,{className:"absolute right-1/2 left-1/2 hidden -translate-x-1/2 lg:flex",children:(0,a.jsxs)(w,{children:[(0,a.jsxs)(y,{children:[(0,a.jsx)(k,{children:"Features"}),(0,a.jsx)(C,{children:(0,a.jsxs)("ul",{className:"w-content",children:[(0,a.jsx)(P,{href:"/projects",title:"Projects"}),(0,a.jsx)(P,{href:"/interviews",title:"Interviews"}
1),(0,a.jsx)(P,{href:"/designers",title:"Designers"})]})})]}),(0,a.jsxs)(y,{children:[(0,a.jsx)(k,{children:"Index"}),(0,a.jsx)(C,{children:(0,a.jsx)("ul",{className:"w-100",children:e.map(e=>(0,a.jsx)(P,{href:e.href,title:e.label},e.href))})})]}),(0,a.jsx)(y,{children:(0,a.jsx)(S,{className:N(),closeOnClick:!0,render:(0,a.jsx)(r(),{href:"/journal"}),children:"Journal"})}),(0,a.jsx)(y,{children:(0,a.jsx)(S,{className:N(),closeOnClick:!0,render:(0,a.jsx)(r(),{href:"/events"}),children:"Events"})}),(0,a.jsx)(y,{children:(0,a.jsx)(S,{className:N(),closeOnClick:!0,render:(0,a.jsx)(r(),{href:"/about"}),children:"About"})})]})})}function P({title:e,href:t,...n}){return(0,a.jsx)("li",{...n,children:(0,a.jsx)(S,{closeOnClick:!0,render:(0,a.jsx)(r(),{href:t}),children:(0,a.jsx)("div",{className:"whitespace-break-spaces text-3xl leading-none hover:text-muted-foreground",children:e})})})}},77908:(e,t,n)=>{n.d(t,{A:()=>i});var a=n(95155);let i=e=>(0,a.jsxs)("svg",{fill:"none",height:17,viewBox:"0 0 15 17",width:15,xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,a.jsx)("title",{children:"Pittogramma Mark"}),(0,a.jsx)("path",{className:"fill-black dark:fill-white",d:"M8.938 1.895H5.1V7.56h3.84zM14.692 17h-1.915V1.895h-1.924V17H8.938V9.439H5.1q-1.977 0-3.389-1.39-1.402-1.4-1.402-3.32 0-1.95 1.411-3.339Q3.14 0 5.1 0h9.593z"})]})},85789:(e,t,n)=>{n.d(t,{g:()=>i});var a=n(95155);function i({ratio:e=1,style:t,...n}){return(0,a.jsx)("div",{"data-slot":"aspect-ratio",style:{...t,aspectRatio:e,width:"100%"},...n})}},96122:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(95155),i=n(5772),r=n(40980),l=n(52067);function s({source:e,alt:t,width:n=800,height:o=600,fill:c,fillWidth:d,fit:u="intrinsic",ignoreCrop:h=!1,sizes:f,className:x,priority:m,preload:g,quality:p=75,preserveAnimation:v=!1,respectHotspot:j,objectFit:b,objectPosition:w,style:y,unoptimized:N,...k}){let C=h?(0,l.z6)(e):(0,l.ij)(e);if(!C)return null;let z=c?d??1920:Number(n),S=(0,l.vX)(e)?.width,_=S?Math.min(z,S):z,P=function(e,{fill:t,fillWidth:n,sizeMode:a,height:i,width:r}){if(t)return e.width(n??1920).url();switch(a){case"crop":return e.width(r).height(i).fit("crop").url();case"intrinsic":return e.width(r).url();default:return a}}(v?C.quality(Number(p)):C.quality(Number(p)).auto("format"),{fill:c,fillWidth:c?_:d,height:Number(o),sizeMode:u,width:_}),A=(0,l.zK)(e,h),E=e?.alt??t??"",I=w??(!function(e,t,n){if(!1===e)return!1;switch(n){case"crop":return!1;case"intrinsic":return!!t||!0===e;default:return n}}(j,c,u)?void 0:(0,l.sQ)(e)),$={...b?{objectFit:b}:{},...y},T={alt:E,...A?{blurDataURL:A,placeholder:"blur"}:{},className:(0,r.cn)(b?void 0:"object-cover",x),...I?{objectPosition:I}:{},preload:g,priority:m,sizes:c?f??"100vw":f,src:P,style:$,unoptimized:v||N,...k};return c?(0,a.jsx)(i.default,{...T,fill:!0}):(0,a.jsx)(i.default,{...T,height:o,width:n})}},96748:(e,t,n)=>{n.d(t,{ModeToggle:()=>d});var a=n(95155),i=n(25245),r=n(47603),l=n(78890),s=n(12115),o=n(89239),c=n(72264);function d(){let{setTheme:e}=(0,i.c)(),t=(0,s.useCallback)(()=>e("light"),[e]),n=(0,s.useCallback)(()=>e("dark"),[e]),d=(0,s.useCallback)(()=>e("system"),[e]);return(0,a.jsxs)(c.rI,{children:[(0,a.jsxs)(c.ty,{render:(0,a.jsx)(o.$,{size:"icon",variant:"outline"}),children:[(0,a.jsx)(r.A,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,a.jsx)(l.A,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,a.jsx)("span",{className:"sr-only",children:"Toggle theme"})]}),(0,a.jsxs)(c.SQ,{align:"end",children:[(0,a.jsx)(c._2,{onClick:t,children:"Light"}),(0,a.jsx)(c._2,{onClick:n,children:"Dark"}),(0,a.jsx)(c._2,{onClick:d,children:"System"})]})]})}}}]);

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.