PageSourceSearch

https://roddenberry.x.io/_next/static/chunks/pages/roddenberry/assets/[slug]/__views/meta-96546e22a228006c.js

js x.io collected 2026-10-02 14:42:34 UTC 7,105 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7978,8110],{3437:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/roddenberry/assets/[slug]/__views/meta",function(){return n(5260)}])},7339:function(e,t,n){"use strict";n.d(t,{k9:function(){return useIsEmbeddedWidgetContext},n5:function(){return EmbeddedWidgetProvider}});var a=n(5893),i=n(7294);let l=(0,i.createContext)({embeddedWidget:!1}),useIsEmbeddedWidgetContext=()=>{let e=(0,i.useContext)(l);return e.embeddedWidget};function EmbeddedWidgetProvider(e){let{children:t,embeddedWidget:n=!1}=e;return(0,i.useEffect)(()=>{n?document.documentElement.classList.add("embedded-widget"):document.documentElement.classList.remove("embedded-widget")},[n]),(0,a.jsx)(l.Provider,{value:{embeddedWidget:n},children:t})}},1599:function(e,t,n){"use strict";n.d(t,{d:function(){return useDomainRouter}});var a=n(1163),i=n(4149);function useDomainRouter(){let e=(0,a.useRouter)(),updateQuery=async(t,n)=>{{let a=i.g.getDomainRoute(),l={...e.query,...t},s="".concat(a).concat(e.asPath.split("?")[0]),r=await e.push({pathname:"".concat(a).concat(e.pathname),query:l},{pathname:s,query:function(e,t){let n=Object.entries(t).filter(t=>{let[n]=t;return!e.includes("[".concat(n,"]"))});return Object.fromEntries(n)}(e.pathname,l)},n);return r}},push=async(t,n)=>{{let a,l;let s=i.g.getDomainRoute();"string"==typeof t?(a="".concat(s).concat(t),l="".concat(s).concat(t)):(a={...t,pathname:"".concat(s).concat(t.pathname)},l="".concat(s).concat(t.pathname));let r="string"==typeof t?l:{...t,pathname:l};return e.push(a,r,n)}};return{push,updateQuery,isReady:e.isReady,query:e.query}}},8110:function(e,t,n){"use strict";n.r(t),n.d(t,{ModuleMeta:function(){return ModuleMeta}});var a=n(5893),i=n(7294),l=n(447),s=n(1533),r=n(9969),o=n(7633),d=n(4184),c=n.n(d),u=n(7517),p=n.n(u);function Row(e){let{property:t}=e,{data:n}=(0,o.a)({queryKey:["entity-relationship-property",t.id,t.value],queryFn:()=>r.p.renderPropertyValue(t)});return t.willIgnoreInMetaModule?null:(0,a.jsxs)("div",{className:c()(p().row,p()["row-styled"]),children:[(0,a.jsx)("div",{className:p().label,children:t.name}),(0,a.jsx)("div",{className:p().value,children:(0,a.jsx)("span",{children:n})})]},t.id)}var m=n(8074),h=n(7339);function RowTimeline(e){let{timeline:t}=e,n=(0,h.k9)(),{setContentToDisplay:i}=(0,m.w)();return(0,a.jsxs)("div",{className:p().row,children:[(0,a.jsx)("div",{className:c()(p().label,"bg-gray-01 text-purple"),children:"TIMELINE"}),(0,a.jsx)("button",{type:"button",onClick:function(e){var a;e.preventDefault();let l=s.d.getRelation({value:null==t?void 0:t.audio});i({title:null!==(a=null==t?void 0:t.name)&&void 0!==a?a:"",body:null==t?void 0:t.blocks,audioFile:l,isForEmbeddedView:n,isTitleUppercase:!0,isContentCentered:!1})},className:p().value,style:{backgroundColor:null==t?void 0:t.color},children:(0,a.jsx)("span",{children:(null==t?void 0:t.alternateName)||(null==t?void 0:t.name)})})]})}function RowYear(e){let{year:t}=e;return(0,a.jsxs)("div",{className:p().row,children:[(0,a.jsx)("div",{className:c()(p().label,"bg-yellow-03"),children:"YEAR"}),(0,a.jsx)("div",{className:c()(p().value,"bg-gray-01 text-purple"),children:(0,a.jsx)("span",{children:t})})]})}function ModuleMeta(e){let t=(0,i.useMemo)(()=>r.p.parseProperties(e.properties),[e.properties]),n=s.d.getRelation(e.timeline),o=s.d.getRelation(e.schema),d=null==o?void 0:o.properties.map(e=>s.d.getRelation(e.property)),c=null==d?void 0:d.map(e=>null==e?void 0:e.name),u=null==t?void 0:t.sort((e,t)=>c.indexOf(e.name)-c.indexOf(t.name));return(0,a.jsxs)("div",{className:"flex w-full flex-col gap-10",children:[e.addMobileDecorator&&(0,a.jsxs)("div",{className:"relative block h-[17px] w-full rotate-180 lg:hidden",children:[(0,a.jsx)("div",{className:"bg-gray-01 absolute h-[24px] w-full overflow-hidden rounded-b-[24px]"}),(0,a.jsx)("div",{className:"bg-yellow-03 outline-black-01 absolute left-[10%] h-[24px] w-[60%] outline outline-2"}),(0,a.jsx)("div",{className:"bg-blue outline-black-01 absolute right-[10%] h-[24px] w-[10%] outline outline-2"}),(0,a.jsx)("div",{className:"bg-gray-01 outline-black-01 absolute left-[30%] h-[24px] w-[20%] outline outline-2"}),(0,a.jsx)("div",{className:"bg-black-01 absolute inset-x-[10px] bottom-[5px] h-[13px] overflow-hidden rounded-b-[24px]"}),(0,a.jsx)("div",{className:"bg-gray-01 outline-black-01 absolute left-[40%] right-[20%] top-[19px] h-[5px] outline outline-2"})]}),(0,a.jsxs)("div",{className:"flex w-full flex-col gap-6 whitespace-pre",children:[(0,a.jsx)(RowTimeline,{timeline:n}),(0,a.jsx)(RowYear,{year:e.year}),null==u?void 0:u.map(e=>(0,a.jsx)(Row,{property:e},e.id)),(0,a.jsx)(l.j,{rows:3,cols:8,className:"xshort:hidden w-full"})]})]})}},5260:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return u},default:function(){return Page}});var a=n(5893),i=n(4184),l=n.n(i),s=n(7294),r=n(7339),o=n(1599),d=n(8110),c=n(2641),u=!0;function Page(e){let{entityObject:t}=e,n=(0,o.d)(),i="true"===n.query.bg?.5:parseFloat(n.query.bg)||0,u=(0,s.useRef)();return(0,s.useEffect)(()=>{var e;
1return u.current=new c.a,null===(e=u.current)||void 0===e||e.addEventListener("entity-change",e=>{let t=Object.keys(n.query).filter(e=>!["slug","view"].includes(e)).map(e=>"".concat(e,"=").concat(n.query[e])).join("&");t=e.detail.view?"?".concat(t?"".concat(t,"&"):"","view=").concat(e.detail.view):"?".concat(t),n.push("/assets/".concat(e.detail.slug,"/__views/meta").concat(t))}),()=>{var e;return null===(e=u.current)||void 0===e?void 0:e.destroy()}},[n]),(0,a.jsx)(r.n5,{embeddedWidget:!0,children:(0,a.jsx)("div",{className:l()({"p-32 rounded-[32px]":i>0}),style:{backgroundColor:"rgba(0, 0, 0, ".concat(i,")")},children:(0,a.jsx)(d.ModuleMeta,{year:t.year,properties:t.properties,timeline:t.timeline,schema:t.entitySchema})})})}},2641:function(e,t,n){"use strict";n.d(t,{a:function(){return WindowMessageEventManager}});let WindowMessageEventManager=class WindowMessageEventManager extends EventTarget{destroy(){let e=window.top||window.parent;e.removeEventListener("message",this.callback)}dispatch(e,t,n){let a=n||window.top||window.parent;a.postMessage({api:"ARCHIVE",type:e,data:t},"*")}dispatchEntityChange(e,t,n){this.dispatch("entity-change",{slug:e,view:t},n)}dispatchStreamLive(e,t){this.dispatch("stream-live",{stream:e},t)}dispatchStreamLaunching(e,t){this.dispatch("stream-launching",{stream:e},t)}dispatchStreamTravel(e,t){this.dispatch("stream-travel",{stream:e},t)}dispatchMediaExpand(e,t){this.dispatch("media-expand",{expand:e},t)}dispatchMediaExpanded(e,t){this.dispatch("media-expanded",e,t)}constructor(){super(),this.callback=e=>{if("ARCHIVE"===e.data.api){let t=new CustomEvent(e.data.type,{detail:e.data.data});this.dispatchEvent(t)}};let e=window.top||window.parent;e.addEventListener("message",this.callback)}}},7517:function(e){e.exports={row:"styles_row__Rn3uX",label:"styles_label__WdKER",value:"styles_value__WLTft","row-styled":"styles_row-styled__IZpZ_"}},1163:function(e,t,n){e.exports=n(9974)}},function(e){e.O(0,[1272,8467,7633,5451,9774,2888,179],function(){return e(e.s=3437)}),_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.