PageSourceSearch

https://matter-website-e45df7.netlify.app/_next/static/chunks/pages/updates/[slug]-1ffc88d2762d3fa9.js

js matter-website-e45df7.netlify.app collected 2026-10-03 11:04:07 UTC 9,016 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[111],{5330:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/updates/[slug]",function(){return i(5050)}])},2439:function(e,t,i){"use strict";i.d(t,{$:function(){return o},h:function(){return m}});var n=i(5893);i(7294);var s=i(4035),r=i.n(s),a=i(8477),l=i(4468),c=i(5822),d=i.n(c);let o=({children:e,className:t="",theme:i="light",first:s=!1,contain:a=!1})=>(0,n.jsx)("section",{className:`${r().section} ${a?r().contain:""} ${"dark"===i?r()[i]:""} ${s?r().first:""} ${t}`,children:(0,n.jsx)("div",{children:e})}),m=({heading:e,text:t,source:i="website-homepage",includeCTA:s=!0,className:c="",center:o=!1,animationsAllowed:m=!0})=>(0,n.jsx)("div",{className:`${r().inner} ${c}`,children:(0,n.jsxs)("header",{className:`${r().header} ${o?r().center:""}`,children:[(0,n.jsx)("h2",{className:`${r().heading}`,children:(0,n.jsx)(l.x,{animationsAllowed:m,children:e.map((e,t)=>(0,n.jsx)("span",{className:d().h2,children:e},t))})}),(0,n.jsxs)(l.U,{animationsAllowed:m,children:[(0,n.jsx)("p",{className:d().p,children:t}),s&&(0,n.jsx)(a.M,{source:i,size:"l"})]})]})})},4468:function(e,t,i){"use strict";i.d(t,{U:function(){return m},x:function(){return o}});var n=i(5893),s=i(7294),r=i(3460),a=i(7421),l=i(5342),c=i(8060),d=i.n(c);let o=({children:e,setDidIntersect:t=!1,pause:i=!1,animationsAllowed:c=!0})=>{let{ref:o,didIntersect:m}=(0,l.i)(),p=s.Children.toArray(e),[h,u]=(0,r.Z)(),_=(0,a.NI)(p.length,{config:{mass:5,tension:2e3,friction:300},opacity:1,height:c?u.height:null,y:0,from:{opacity:0,height:0,y:75},pause:i||!m||0===u.height,delay:100,cancel:!c});return(s.useEffect(()=>{t&&m&&t(m)},[m,t]),c)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{ref:h,className:d().visibilityHidden,children:p[0]}),_.map(({height:e,...t},i)=>(0,n.jsx)(a.q.div,{ref:o,className:`${d().trailsText}`,style:{...t,height:u.height},children:(0,n.jsx)(a.q.div,{style:{height:e},children:p[i]})},i))]}):(0,n.jsx)(n.Fragment,{children:_.map((e,t)=>(0,n.jsx)(a.q.div,{className:`${d().trailsText}`,children:(0,n.jsx)(a.q.div,{children:p[t]})},t))})},m=({children:e,delay:t=500,direction:i="up",className:s="",animationsAllowed:r=!0,...c})=>{let{ref:d,didIntersect:o}=(0,l.i)(),m=(0,a.q_)({config:a.vc.slow,opacity:1,y:0,from:r?{opacity:0,y:"up"===i?50:-50}:{},pause:c.pause||(void 0!==c.didIntersect?!c.didIntersect:!o),delay:t,reverse:c.reverse,cancel:!r});return(0,n.jsx)(a.q.div,{className:s,ref:d,style:m,children:e})}},5342:function(e,t,i){"use strict";i.d(t,{i:function(){return r}});var n=i(7294),s=i(9106);let r=()=>{let[e,{entry:t}]=(0,s.S)(),i=t&&t.isIntersecting,[r,a]=n.useState(!1);return n.useEffect(()=>{!r&&i&&a(!0)},[i,r]),{ref:e,didIntersect:r}}},5050:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return b},default:function(){return C}});var n=i(5893),s=i(7294),r=i(4481),a=i.n(r),l=i(5822),c=i.n(l),d=i(7162);let o=e=>void 0!==e.paragraph&&e.paragraph.text.some(({text:e})=>e.content.length),m=(e,t)=>{if(e.width>=e.height){t("LANDSCAPE");return}t("PORTRAIT")},p=({text:e,href:t})=>t?(0,n.jsx)("a",{href:t,children:e.content}):(0,n.jsx)(n.Fragment,{children:e.content}),h=({annotations:e,children:t})=>e.bold?(0,n.jsx)("strong",{children:t}):(0,n.jsx)(n.Fragment,{children:t}),u=({annotations:e,children:t})=>e.italic?(0,n.jsx)("em",{children:t}):(0,n.jsx)(n.Fragment,{children:t}),_=({richText:e})=>(0,n.jsx)(n.Fragment,{children:e.filter(({text:e})=>e.content.length).map((e,t)=>(0,n.jsx)(h,{annotations:e.annotations,children:(0,n.jsx)(u,{annotations:e.annotations,children:(0,n.jsx)(p,{...e})})},t))}),x=e=>{let t=[],i=[],n=!1;return e.forEach((e,i)=>{e.bulleted_list_item&&!n&&(n=!0,t.push({start:i,end:-1})),!e.bulleted_list_item&&n&&t[t.length-1]&&(n=!1,t[t.length-1].end=i-1)}),e.forEach((e,t)=>{e.numbered_list_item&&!n&&(n=!0,i.push({start:t,end:-1})),!e.numbered_list_item&&n&&i[i.length-1]&&(n=!1,i[i.length-1].end=t-1)}),{unorderedLists:t,orderedLists:i}},g=({results:e,idx:t})=>{let{orderedLists:i,unorderedLists:s}=x(e);return s.length||i.length?(0,n.jsxs)(n.Fragment,{children:[s.map(({start:i,end:s})=>t!==i?null:(0,n.jsx)("ul",{children:e.slice(i,s+1).map(e=>void 0!==e.bulleted_list_item?(0,n.jsx)("li",{className:`${c().pSmall} ${a().p} ${a().centerCol}`,children:(0,n.jsx)(_,{richText:e.bulleted_list_item.text})},e.id):null)},t)),i.map(({start:i,end:s})=>t!==i?null:(0,n.jsx)("ol",{children:e.slice(i,s+1).map(e=>void 0!==e.numbered_list_item?(0,n.jsx)("li",{className:`${c().pSmall} ${a().p} ${a().centerCol}`,children:(0,n.jsx)(_,{richText:e.numbered_list_item.text})},e.id):null)},t))]}):null},j=s.forwardRef(({data:e,onLoad:t},i)=>{if(!e.image)return null;let s=e.image.file?.url||e.image.external?.url;if(!s)return null;let[r]=s.split("?"),[a]=r.split("/").reverse();return(0,n.jsx)("img",{ref:i,onLoad:t,src:`/images/posts/${e.id}-${a}`})});j.displayName="LocalImg";let f=e=>e["Custom published date"]?e["Custom published date"].date.start:e["Date created"].created_time,v=({results:e,properties:t})=>{let[i,r]=s.useState("UNKNOWN"),l=s.useRef(null),p=({target:e})=>{m(e,r)};return s.useEffect(()=>{l?.current&&"UNKNOWN"===i&&l.current.complete&&m(l.current,r)},[i]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:a().centerCol,children:[(0,n.jsx)("div",{className:`${a().emoji}`,children:t.Emoji.rich_text[0].plain_text}),(0,n.jsx)("h1",{className:`${c().h2} ${a().h1}`,children:t.Name.title[0].plain_text}),(0,n.jsx)("time",{className:`${a().time}`,children:(0,d.Z)(new Date(f(t)),"MMM d")})]}),(0,n.jsx)("div",{children:e.map((t,r)=>(0,n.jsx)(s.Fragment,{children:"video"===t.type&&t.video?.external?.url&&t.video.external.url.startsWith("https://www.loom.com/")?(0,n.jsx)("div",{className:a().imgContainer,children:(0,n.jsxs)("a",{href:"https://www.loom.com/share/a86707aff6854e5da5a5b60d6f3fdd04",children:[" ",(0,n.jsx)("img",{alt:"Poster image for a screencast about the Matter Obsidian plugin",style:{maxWidth:600,display:"block",margin:"2rem auto 0"},src:"https://cdn.loom.com/sessions/thumbnails/a86707aff6854e5da5a5b60d6f3fdd04-with-play.gif"})," "]})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(g,{results:e,idx:r}),o(t)&&void 0!==t.paragraph&&(0,n.jsx)("p",{className:`${c().p} ${a().p} ${a().centerCol}`,children:(0,n.jsx)(_,{richText:t.paragraph.text})}),"c7760da3-4fa8-421f-ae51-16a9e20ea370"===t.id&&(0,n.jsx)("div",{className:a().imgContainer,children:(0,n.jsx)("div",{className:`${a().imgWrap}`,children:(0,n.jsx)("video",{controls:!0,src:"/video/oda.mp4"})})}),t.image&&(t.image.external||t.image.file)&&(0,n.jsx)("div",{className:a().imgContainer,children:(0,n.jsx)("div",{className:`${a().imgWrap} ${a()[i.toLowerCase()]}`,children:(t.image?.file?.url||t.image.external?.url)&&(0,n.jsx)(j,{data:t,onLoad:p,ref:l})})})]})},t.id))})]})};var N=i(2439),$=i(9008),y=i.n($),w=i(918),b=!0,C=({results:e,properties:t})=>{let i=e.find(e=>e.paragraph?.text?.[0]?.plain_text),s=i?.paragraph?.text?.[0]?.plain_text,r="",l=e.find(e=>e.image),c=l?.image?.file?.url||l?.image?.external?.url;if(c){let[e]=c.split("?"),[t]=e.split("/").reverse();r=`/images/posts/${l.id}-${t}`}let d=t.Name.title[0].plain_text;return(0,n.jsx)("div",{className:a().page,children:(0,n.jsxs)(N.$,{first:!0,children:[(0,n.jsxs)(y(),{children:[d&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("title",{children:d}
1,"title"),(0,n.jsx)("meta",{property:"og:title",content:d},"og:title"),(0,n.jsx)("meta",{property:"twitter:title",content:d})]}),s&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{property:"og:description",content:s},"og:description"),(0,n.jsx)("meta",{property:"twitter:description",content:s}),(0,n.jsx)("meta",{name:"description",content:s},"description")]}),r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{property:"og:image",content:`https://main--matter-website-e45df7.netlify.app${r}`}),(0,n.jsx)("meta",{property:"twitter:image",content:`https://main--matter-website-e45df7.netlify.app${r}`})]}),(0,n.jsx)("meta",{property:"article:published_time",content:new Date((0,w.px)(t)).toISOString()})]}),(0,n.jsx)(v,{results:e,properties:t})]})})}},4035:function(e){e.exports={section:"Section_section__mRxGN",contain:"Section_contain__2v4lp",inner:"Section_inner__Hxp2c",first:"Section_first__9O8Dv",dark:"Section_dark__CBnW9",header:"Section_header__pvG98",center:"Section_center__SyE7r",heading:"Section_heading__60JTp"}},4481:function(e){e.exports={imgContainer:"updates_imgContainer__NuWfg",imgWrap:"updates_imgWrap__4oM1R",unknown:"updates_unknown__nCJGW",portrait:"updates_portrait__aNtNV",landscape:"updates_landscape___dkWz",p:"updates_p__mOS8f",page:"updates_page__VEPm1",emoji:"updates_emoji__zpwaP",centerCol:"updates_centerCol__B3S4t",time:"updates_time__W1QCr",h1:"updates_h1__jIprn",post:"updates_post__5n_9g",nucleusPost:"updates_nucleusPost__mVrtO"}},8060:function(e){e.exports={trailsText:"TrailText_trailsText___kDgw",visibilityHidden:"TrailText_visibilityHidden__24jRv"}}},function(e){e.O(0,[7421,1294,2888,9774,179],function(){return e(e.s=5330)}),_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.