PageSourceSearch

https://www.shoshibuya.com/_next/static/chunks/pages/index-97a249651b337174.js

js shoshibuya.com collected 2026-10-04 20:51:18 UTC 8,554 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(8267)}])},7020:function(e,t,n){"use strict";var a=n(5893),i=n(9008),s=n.n(i),r=n(1163),c=n(720),o=n(6486),l=n(1044);let u=e=>{let{title:t,description:n,ogp:i}=e;(0,r.useRouter)();let u=JSON.parse(l),d=u.data&&u.data.title[0]?u.data.title[0].text:"Sho Shibuya",p=t?"".concat(t," | ").concat(d):d,f=n||(0,c.S)(u.data.seo_description),h=(0,o.merge)({type:"article",image:"".concat(u.data.seo_image.url)},i),m="".concat("https://shoshibuya.com").concat(h.url?"/"+h.url+"/":"");return(0,a.jsxs)(s(),{children:[(0,a.jsx)("title",{children:p}),(0,a.jsx)("meta",{name:"description",content:f}),(0,a.jsx)("meta",{property:"og:url",content:m}),(0,a.jsx)("meta",{property:"og:title",content:p}),(0,a.jsx)("meta",{property:"og:site_name",content:d}),(0,a.jsx)("meta",{property:"og:description",content:f}),(0,a.jsx)("meta",{property:"og:type",content:h.type}),(0,a.jsx)("meta",{property:"og:image",content:h.image}),(0,a.jsx)("meta",{name:"twitter:image",content:h.image})]})};t.Z=u},2328:function(e,t,n){"use strict";var a=n(5893),i=n(7294),s=n(1336),r=n(4909),c=n.n(r);let o=e=>{let[t,n]=(0,i.useState)(!0);return(0,a.jsx)("div",{className:"".concat(c().container," img"),children:(0,a.jsx)(s.Z,{style:{opacity:t?0:1},...e,onLoadingComplete:()=>n(!1)})})};t.Z=o},8267:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return T}});var a=n(5893),i=n(7294),s=n(6486),r=n(7020),c=n(1664),o=n.n(c),l=n(2328);let u={isFirst:!0,count:0},d=(e,t)=>({...e,...t}),p=(0,i.createContext)({}),f=e=>{let{children:t}=e,[n,s]=(0,i.useReducer)(d,u);return(0,a.jsx)(p.Provider,{value:{homeSlideState:n,homeSlideDispatch:s},children:t})},h=e=>{let{data:t,index:n}=e,{homeSlideState:s,homeSlideDispatch:r}=(0,i.useContext)(p),[c,u]=(0,i.useState)(1),[d,f]=(0,i.useState)(!1),h=(0,i.useRef)(),m=(0,i.useRef)(null),g=e=>{e=null!=e&&e,h.current&&h.current.kill(),m.current&&u(3)};return(0,i.useEffect)(()=>{d?n!==s.count&&u(2):n!==s.count&&u(1),f(n===s.count)},[s.count,n]),(0,i.useEffect)(()=>{d&&(g(s.isFirst),s.isFirst&&r({isFirst:!1}))},[r,d]),(0,a.jsx)("div",{className:"panel",style:{zIndex:c},children:(0,a.jsx)("div",{className:"wrap",ref:m,children:(0,a.jsx)(o(),{href:"/exhibitions/".concat(t.uid),children:(0,a.jsx)("figure",{children:(0,a.jsx)(l.Z,{field:t.data.kv,width:1600,alt:""})})})})})};var m=n(720),g=n(990),x=n(4011);let _=e=>{let{data:t}=e,{homeSlideState:n}=(0,i.useContext)(p),[s,r]=(0,i.useState)(),c=(0,i.useRef)(!0),l=(0,i.useRef)(),u=(0,i.useRef)(null),d=(0,i.useCallback)(()=>{r(t[n.count])},[t,n.count]),f=(0,i.useCallback)(e=>{e=null!=e&&e,l.current&&l.current.kill(),u.current&&(e?(d(),g.ZP.set(u.current,{translateY:0,opacity:1})):l.current=g.ZP.timeline().add(g.ZP.timeline().add(g.ZP.to(u.current,{opacity:0,duration:.32,ease:x.Lp.easeOut,onComplete:d}),0)).add(g.ZP.timeline({delay:.16}).add(g.ZP.to(u.current,{opacity:1,duration:.48,ease:x.Lp.easeOut}),0)))},[d]),h=e=>{e&&e.stopPropagation()};return(0,i.useEffect)(()=>{f(c.current),c.current&&(c.current=!1)},[n.count,f]),(0,a.jsx)("div",{className:"text",children:(0,a.jsx)("div",{className:"inner",ref:u,children:s&&(0,a.jsxs)(o(),{href:"/exhibitions/".concat(s.uid),onClick:h,children:[(0,a.jsx)("h2",{children:(0,m.S)(s.data.title)}),(0,a.jsx)("div",{className:"meta",children:s.data.place&&(0,m.S)(s.data.place)&&(0,a.jsx)("span",{children:(0,m.S)(s.data.place)})})]})})})},b=e=>{let{length:t,index:n}=e,{homeSlideState:s,homeSlideDispatch:r}=(0,i.useContext)(p),[c,o]=(0,i.useState)(!1),l=(0,i.useRef)(null),[u,d]=(0,i.useState)(0),f=(0,i.useRef)(),h=(0,i.useCallback)(()=>{r({count:(n+1)%t})},[n,t]),m=(0,i.useCallback)(()=>{f.current&&f.current.kill(),l.current&&(f.current=g.ZP.to(l.current,{strokeDashoffset:0,duration:5,ease:x.bJ.easeNone,onComplete:h}))},[h]),_=(0,i.useCallback)(e=>{e=null!=e&&e,f.current&&f.current.kill(),l.current&&(e?g.ZP.set(l.current,{strokeDashoffset:u}):f.current=g.ZP.to(l.current,{strokeDashoffset:u,duration:.48,ease:x.Aq.easeInOut}))},[u]),b=e=>{e&&(e.preventDefault(),e.stopPropagation()),r({count:n})};return(0,i.useEffect)(()=>{l.current&&(l.current.getTotalLength(),d(l.current.getTotalLength()+1))},[]),(0,i.useEffect)(()=>{console.log(u),l.current&&(l.current.style.strokeDasharray="".concat(u),l.current.style.strokeDashoffset="".concat(u)),n===s.count?m():_(!0)},[u]),(0,i.useEffect)(()=>{n===s.count?m():_(),o(n===s.count)},[s.count]),(0,a.jsx)("li",{children:(0,a.jsx)("button",{onClick:b,disabled:c,
1children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",children:(0,a.jsx)("circle",{cx:12,cy:12,r:10,ref:l})})})})},y=e=>{let{data:t}=e;return(0,a.jsx)("ul",{className:"timer",children:t.map((e,n)=>(0,a.jsx)(b,{length:t.length,index:n},"timer_".concat(n)))})};var j=n(5445),k=n.n(j);let A=e=>{let{data:t}=e;return(0,a.jsx)("div",{className:k().container,children:t&&t.length&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"slide",children:t.map((e,t)=>(0,a.jsx)(h,{data:e,index:t},"slide_".concat(t)))}),(0,a.jsx)(_,{data:t}),t.length>1&&(0,a.jsx)(y,{data:t})]})})};var v=n(6930),C=n(1044),w=n(7055);let S=JSON.parse(C),N=JSON.parse(v),E=()=>{let{rootDispatch:e}=(0,i.useContext)(w.T),[t,n]=(0,i.useState)([]),[c,o]=(0,i.useState)([]);return(0,i.useEffect)(()=>{n((0,s.chain)(S.data.top_slide).map(e=>e.slide.id).value()),e({isShowHeader:!0})},[]),(0,i.useEffect)(()=>{o(t.map(e=>(0,s.find)(N,{id:e})))},[t]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Z,{}),!!c.length&&(0,a.jsx)(f,{children:(0,a.jsx)(A,{data:c})})]})};var T=E},4909:function(e){e.exports={container:"Image_container__cLUNt"}},5445:function(e){e.exports={container:"HomeSlide_container__ewLOe"}},1044:function(e){"use strict";e.exports='{"id":"YOqwOBIAACwA17JV","uid":null,"url":null,"type":"index","href":"https://shoshibuya.cdn.prismic.io/api/v2/documents/search?ref=asBlfBEAACwA1OOA&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22YOqwOBIAACwA17JV%22%29+%5D%5D","tags":[],"first_publication_date":"2021-07-11T08:47:57+0000","last_publication_date":"2026-02-12T22:52:26+0000","slugs":["index"],"linked_documents":[],"lang":"en-gb","alternate_languages":[],"data":{"title":[{"type":"heading1","text":"Sho Shibuya","spans":[]}],"seo_title":[{"type":"heading6","text":"Sho Shibuya is an artist based in New York City.","spans":[]}],"seo_description":[{"type":"paragraph","text":"Sho Shibuya is a Japanese artist living in Brooklyn, New York. His work is primarily concerned with exploring the concept of time and creating a visual, emotional record, and the paintings have been exhibited at the Triennale Milano, at Art Basel Miami Beach in collaboration with Saint Laurent, and the Momu Fashion Museum, among others.","spans":[]}],"password":"fe0d8456dd3f1a0f68cde11860c34bddce97dcbc20f389f534af8c4c49e225f6307ca16e414ac04c8d67b80821690edceb86f8de0d5286dd37ee562e3dcf2e80","seo_image":{"dimensions":{"width":1000,"height":1260},"alt":null,"copyright":null,"url":"https://images.prismic.io/shoshibuya/be69fe29-31b3-4e9e-a2b8-e5655432d7de_GROUP_25842+copy.jpg?auto=compress,format","id":"ZE_D2REAACQAEqYN","edit":{"x":0,"y":0,"zoom":1,"background":"#fff"}},"top_slide":[{"slide":{"id":"aY1-VhYAACgAHL96","type":"exhibition2","tags":[],"lang":"en-gb","slug":"memory","first_publication_date":"2026-02-12T07:25:01+0000","last_publication_date":"2026-02-12T07:25:01+0000","uid":"memory","link_type":"Document","key":"c4464793-8f8d-4337-a68f-f49c4bae0b5e","isBroken":false}},{"slide":{"id":"Zn3C8BMAACIAMAx2","type":"exhibition2","tags":[],"lang":"en-gb","slug":"fifty-sky-views-of-japan","first_publication_date":"2024-06-27T19:52:19+0000","last_publication_date":"2026-02-12T22:52:26+0000","uid":"fiftyskyviewsofjapan","link_type":"Document","key":"0dfe79f2-203f-40f2-872e-12fa43c387ff","isBroken":false}},{"slide":{"id":"ZTn7sREAACUARs_b","type":"exhibition2","tags":[],"lang":"en-gb","slug":"-","first_publication_date":"2023-10-26T05:40:40+0000","last_publication_date":"2023-12-21T18:19:30+0000","uid":"triennale_milano","link_type":"Document","key":"3eb1585d-2035-4b3e-8308-5b4be415c480","isBroken":false}},{"slide":{"id":"ZTmD5REAACMARLjT","type":"exhibition2","tags":[],"lang":"en-gb","slug":"-","first_publication_date":"2023-10-25T21:09:05+0000","last_publication_date":"2023-12-21T18:19:00+0000","uid":"55sunrises_saintlaurent","link_type":"Document","key":"476ece26-5032-4874-820f-2c9b815b9e1c","isBroken":false}}]}}'}},function(e){e.O(0,[802,336,990,774,888,179],function(){return e(e.s=8312)}),_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.