PageSourceSearch

https://curiositystream.com/_next/static/chunks/pages/browse/bookmarked-3893f6d579dc2f85.js

js curiositystream.com collected 2026-09-24 09:01:35 UTC 5,209 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1916],{32809:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/browse/bookmarked",function(){return s(30349)}])},68869:function(e,t,s){"use strict";s.d(t,{O:function(){return r}});var a=s(85893),l=s(76411),i=s(7266);let r=e=>{let{breadcrumbs:t}=e;return(0,a.jsx)("div",{className:"pt-3 tablet:pt-5 laptop:pt-8",children:(0,a.jsx)(l.Z,{href:t.to,children:(0,a.jsxs)("span",{className:"uppercase",children:[(0,a.jsx)(i.Z,{className:"inline-block mr-2 mb-1 transform rotate-180",style:{height:"0.74rem"}}),t.label]})})})}},85067:function(e,t,s){"use strict";s.d(t,{C:function(){return h},n:function(){return m}});var a=s(85893),l=s(94482),i=s(1107),r=s(84847),n=s(48767),o=s(27746),c=s(81768),d=s(68869);let p=e=>{let{title:t,lead:s}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.X,{variant:"xl",as:"h1",children:t}),s&&(0,a.jsx)("div",{className:"max-w-3xl",children:(0,a.jsx)(c.x,{variant:"lead",children:s})})]})},b=e=>{let{wide:t,children:s,testId:l}=e;return t?s:(0,a.jsx)(r.kz,{testId:l,children:s})},m=e=>{let{breadcrumbs:t,meta:s={},title:r,lead:o,primaryContent:c,variants:m=[],testId:h}=e;(0,l.kJ)(m)||(m=[m]);let u=m.includes("fullWidth");return(0,a.jsxs)(b,{testId:h,wide:u,children:[(0,a.jsx)(n.Z,{...s}),(0,a.jsxs)(b,{wide:!u,children:[t&&(0,a.jsx)(d.O,{breadcrumbs:t}),(r||o)&&(0,a.jsx)("section",{className:(0,i.b)(t?"pt-3 tablet:pt-5 laptop:pt-8":"pt-6 tablet:pt-10 laptop:pt-16","pb-6 laptop:pb-16"),children:(0,a.jsx)(p,{title:r,lead:o})})]}),c]})},h=e=>{let{testId:t,breadcrumbs:s,meta:l={},containedTitle:o,title:c,lead:b,primaryContent:m}=e;return(0,a.jsxs)(r.z8,{testId:t,children:[(0,a.jsx)(n.Z,{...l}),s&&(0,a.jsx)(d.O,{breadcrumbs:s}),(c||b)&&(0,a.jsx)("section",{className:(0,i.b)(s?"pt-3 tablet:pt-5 laptop:pt-8":"pt-6 tablet:pt-10 laptop:pt-16","pb-6 laptop:pb-16",o&&"max-w-3xl"),children:(0,a.jsx)(p,{title:c,lead:b})}),m]})}},30349:function(e,t,s){"use strict";s.r(t);var a=s(85893),l=s(66797),i=s(62473),r=s(67294),n=s(24965),o=s(71155),c=s(27746),d=s(92077),p=s(81768),b=s(76411),m=s(25281),h=s(10934),u=s(47509),x=s(85273),w=s(82345),k=s(85067),j=s(11786),_=s(86957),f=s(32858),g=s(32724),v=s(17287),y=s(30591);let C=e=>{let{intl:t}=e,s=(0,_.z$)(),{bookmarks:n,setBookmarks:h}=(0,o.ZP)([]),[w,f]=(0,r.useState)(!0),[v,y]=(0,r.useState)(1),C=(0,d.D)(s);(0,r.useEffect)(()=>{w||f(!0),(0,l.aJ)("bookmarked",null,v).then(e=>{v<=1?h([...e.data.map(i.Z.watchlist)]):h([...n,...e.data.map(i.Z.watchlist)]),e.data.length>0?y(v+1):f(!1)})},[v]);let T=n.filter(e=>{var t;return null===(t=e.user_media)||void 0===t?void 0:t.is_bookmarked}),[E,I]=(0,r.useState)(!1),Z=(0,x.Yz)(T,{from:{opacity:0}
1,enter:{opacity:1},leave:{opacity:0},config:x.vc.stiff,keys:e=>e.id});return(0,a.jsx)(k.n,{meta:{title:t.formatMessage({id:"web:browse:bookmarked_title"})},title:t.formatMessage({id:"web:browse:bookmarked_title"}),lead:t.formatMessage({id:"web:browse:bookmarked_lead"}),primaryContent:(0,a.jsxs)(a.Fragment,{children:[!w&&!T.length&&(0,a.jsxs)("section",{children:[(0,a.jsx)(c.X,{variant:"m",as:"h3",children:(0,a.jsx)(g.T,{id:"web:browse:bookmarked_subtitle_empty"})}),(0,a.jsx)(p.x,{children:(0,a.jsx)(g.T,{id:"web:browse:bookmarked_empty_lead",values:{shows:(0,a.jsx)(b.Z,{href:"/browse/recently_added?title=".concat(encodeURIComponent(t.formatMessage({id:"web:browse:bookmarked_empty_lead_link_page_title"}))),children:(0,a.jsx)(g.T,{id:"web:browse:bookmarked_empty_lead_link_shows"})}),cta:(0,a.jsxs)("span",{className:"inline-block whitespace-nowrap",children:[(0,a.jsx)(g.T,{id:"web:browse:bookmarked_empty_lead_cta"}),(0,a.jsx)("span",{className:"inline-block leading-none px-2",children:(0,a.jsx)(m.EE,{size:"xsmall"})})]})}})})]}),!!T.length&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"max-w-3xl",children:[(0,a.jsx)("div",{className:"text-right pb-4",children:(0,a.jsx)(b.Z,{uppercase:!0,onClick:()=>I(!E),children:(0,a.jsx)(g.T,{id:E?"web:browse:bookmarked_action_done":"web:browse:bookmarked_action_edit"})})}),(0,a.jsx)("ul",{className:"border-t border-light border-opacity-70",children:Z((e,t,s,l)=>(0,a.jsx)(x.q.li,{className:"py-3 tablet:py-6 border-b border-light border-opacity-70",style:e,children:(0,a.jsx)(N,{testId:"card-".concat(t.kind,"_").concat(t.id),content:t,allowedActions:[u.V.moreInfo,E&&u.V.delete],attributesToShow:[j.C.order,j.C.duration,j.C.count,j.C.rating,j.C.quality,!E&&j.C.userProgress,j.C.collectionTitle,j.C.description],onClick:()=>{C("click",t,{section:"watchlist",title:"watchlist",position:l})},onImpression:()=>C("impression",t,{section:"watchlist",title:"watchlist",position:l}),onClickMoreInfo:()=>C("details_open",t,{section:"watchlist",title:"watchlist",position:l})})}))})]})})]})})},N=e=>{let{content:t,...s}=e,{setIsBookmarked:l}=(0,w.O)(t,!0);return(0,a.jsx)(h.l,{...s,variant:["alternate","nonresponsive"],content:t,onClickRemove:()=>{s.allowedActions.includes(u.V.delete)&&l(!1)}})};C=(0,f.j)("web:browse")(C),(C=(0,v.m6)(C,y.u.watchlist)).getLayout=e=>(0,a.jsx)(n.IE,{backToTopEnabled:!0,children:e}),t.default=C}},function(e){e.O(0,[3871,8323,5273,4320,1267,3621,4188,6958,4399,2888,9774,179],function(){return e(e.s=32809)}),_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.