PageSourceSearch

https://www.tabletmag.com/_next/static/chunks/5522.716b1f08390ca071.js

js tabletmag.com collected 2026-10-01 08:42:09 UTC 15,313 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5522],{15578:function(e,t,n){n.d(t,{s:function(){return d}});var a=n(26042),i=n(69396),o=n(85893),c=(n(67294),n(5814)),s=n(46280),r=function(e){return e.text?(0,i.Z)((0,a.Z)({},e),{text:(0,s.l0)(e.text),children:e.children?e.children.map(r):void 0}):(0,i.Z)((0,a.Z)({},e),{text:"\n",children:e.children?e.children.map(r):void 0})},l=function(e){return(0,i.Z)((0,a.Z)({},e),{children:e.children?e.children.map(r):void 0})},d=function(e){var t=e.blocks,n=e.serializers;if(!t||0===t.length)return null;var a=t.map(l);return(0,o.jsx)(c.YI,{value:a,components:n})}},66053:function(e,t,n){n.d(t,{Z:function(){return S}});var a=n(51438),i=n(88029),o=n(60460),c=n(85893),s=n(67294),r=n(94184),l=n.n(r),d=n(2473),u=n(23855),v=n(82161),h=n(54178),m=n(94533),f=n(55049),p=n(76972),x=n(81289),N=n(69690),b=n(1784),g=function(e){var t=(0,u.Z)(e),n=[],a=new Date,i=(0,v.Z)(t,a);1===i&&(n.push("".concat(i," ").concat(d.Z.t("Global.month"))),t=(0,h.Z)(t,i)),i>1&&(n.push("".concat(i," ").concat(d.Z.t("Global.months"))),t=(0,h.Z)(t,i));var o=(0,m.Z)(t,a);t=(0,f.Z)(t,o),1===o&&n.push("".concat(o," ").concat(d.Z.t("Global.day"))),o>1&&n.push("".concat(o," ").concat(d.Z.t("Global.days")));var c=(0,p.Z)(t,a);t=(0,x.Z)(t,c),1===c&&n.push("".concat(c," ").concat(d.Z.t("Global.hours"))),c>1&&n.push("".concat(c," ").concat(d.Z.t("Global.hours")));var s=(0,N.Z)(t,a);return t=(0,b.Z)(t,s),1===s&&n.push("".concat(s," ").concat(d.Z.t("Global.minute"))),s>1&&n.push("".concat(s," ").concat(d.Z.t("Global.minutes"))),n.join(", ")},_=function(e){(0,i.Z)(n,e);var t=(0,o.Z)(n);function n(){var e;return(0,a.Z)(this,n),(e=t.apply(this,arguments)).timerId=0,e.state={countdown:""},e.setCountdown=function(t,n){var a=(new Date).toISOString();if(a<t){var i="".concat(g(t)," ").concat(e.props.isSectionNav?d.Z.t("Holidays.holidayCountdown.sundown"):d.Z.t("Holidays.holidayCountdown.away"));return e.setState({countdown:i})}if(a>=t&&a<n){var o="".concat(g(n)," ").concat(d.Z.t("Holidays.holidayCountdown.left"));return e.setState({countdown:o})}},e}var s=n.prototype;return s.componentDidMount=function(){var e=this;this.setCountdown(this.props.startDate,this.props.endDate),this.timerId=window.setInterval((function(){e.setCountdown(e.props.startDate,e.props.endDate)}),6e4)},s.componentWillUnmount=function(){window.clearInterval(this.timerId)},s.render=function(){var e=this.props.className;return(0,c.jsx)("div",{className:l()("HolidayCountdown graebenbach font-400 text-center",e),children:this.state.countdown})},n}(s.Component),S=_},35522:function(e,t,n){n.r(t),n.d(t,{default:function(){return P}});var a=n(47568),i=n(51438),o=n(88029),c=n(60460),s=n(97582),r=n(85893),l=n(67294),d=n(34557),u=n(94184),v=n.n(u),h=n(27361),m=n.n(h),f=n(81973),p=n(65106),x=n(92656),N=n(36269),b=n(13936),g=n(97839),_=n(82203),S=n(76350),y=n(40061),j=n(46280),Z=n(2473),w=function(e){var t=e.section,n=e.articles;return(0,r.jsx)("div",{className:"SectionNavA border-top-black",children:n&&n.slice(0,3).map((function(e,n){var a;if(!e)return null;var i,o=e.featuredImage,c=n+1;return(0,r.jsxs)("div",{className:"SectionNavA__article SectionNavA__article".concat(c>3?"-rest":c),children:[o&&o.src&&(0,r.jsx)(b.Ei,{className:"SectionNavA__image gray-img w100 radius-xs w100",alt:o.alt||o.credit||"",src:(0,S.Z)(o,850),dimensions:null===(a=o.metadata)||void 0===a?void 0:a.dimensions}),(0,r.jsx)("div",{className:"SectionNavA__title itc-cushing font-300",children:(0,r.jsx)("span",{children:(0,j.l0)(e.title)})}),(0,r.jsx)("p",{className:"SectionNavA__brief color-gray-darker graebenbach font-400",children:(0,j.l0)(null!==(i=e.brief)&&void 0!==i?i:e.dek)}),(0,r.jsx)("span",{className:"SectionNavA__authors text-section-details-xs itc-cushing font-800 uppercase text-center",children:"".concat(Z.Z.t("Global.byline")," ").concat((0,y.Z)(e.authors))})]},"section-nav-a-".concat(t.slug,"-").concat(e.title))}))})},k=function(e){var t=e.section,n=e.articles;return(0,r.jsx)("div",{className:"SectionNavB border-top-black",children:n&&n.slice(0,3).map((function(e,n){var a;if(!e)return null;var i,o=e.featuredImage,c=n+1;return(0,r.jsxs)("div",{className:"SectionNavB__article".concat(2===c?c:"-rest"," flex flex-col items-center border-bottom-black"),children:[2===c&&o&&o.src&&(0,r.jsx)(b.Ei,{className:"SectionNavB__image gray-img w100 radius-xs w100",alt:o.alt||o.credit||"",src:(0,S.Z)(o,850),dimensions:null===(a=o.metadata)||void 0===a?void 0:a.dimensions}),(0,r.jsx)("div",{className:"SectionNavB__title itc-cushing font-300 text-center",children:(0,r.jsx)("span",{children:(0,j.l0)(e.title)})}),(0,r.jsx)("p",{className:"SectionNavB__brief color-gray-darker graebenbach font-400 text-center",children:(0,j.l0)(null!==(i=e.brief)&&void 0!==i?i:e.dek)}
1),(0,r.jsx)("span",{className:"text-section-details-xs itc-cushing font-800 uppercase text-center",children:"".concat(Z.Z.t("Global.byline")," ").concat((0,y.Z)(e.authors))})]},"section-nav-b-".concat(t.slug,"-").concat(e.title))}))})},A=function(e){var t=e.section,n=e.articles;return(0,r.jsx)("div",{className:"SectionNavC border-top-black",children:n&&n.slice(0,3).map((function(e,n){var a;if(!e)return null;var i,o=e.featuredImage,c=n+1;return(0,r.jsxs)("div",{className:"SectionNavC__article".concat(1===c?c:"-rest"," pb2_5 border-bottom-black inline-flex flex-col items-center"),children:[1===c&&o&&o.src&&(0,r.jsx)(b.Ei,{className:"SectionNavC__image gray-img w100 radius-xs w100",alt:o.alt||o.credit||"",src:(0,S.Z)(o,850),dimensions:null===(a=o.metadata)||void 0===a?void 0:a.dimensions}),(0,r.jsx)("div",{className:"SectionNavC__title itc-cushing font-300 text-center",children:(0,r.jsx)("span",{children:(0,j.l0)(e.title)})}),(0,r.jsx)("p",{className:"SectionNavC__brief color-gray-darker graebenbach font-400 text-center",children:(0,j.l0)(null!==(i=e.brief)&&void 0!==i?i:e.dek)}),(0,r.jsx)("span",{className:"text-section-details-xs itc-cushing font-800 uppercase text-center",children:"".concat(Z.Z.t("Global.byline")," ").concat((0,y.Z)(e.authors))})]},"section-nav-c-".concat(t.slug,"-").concat(e.title))}))})},C={a:[1,4,7,10,13],b:[2,5,8,11,14],c:[3,6,9,12,15]},H=function(e){var t=e.section,n=e.index,a=(0,_.Z)(t.modules);if(!t||!a||!a.length)return null;return function(e,n){switch(C.a.includes(n)?"a":C.b.includes(n)?"b":"c"){case"a":return(0,r.jsx)(w,{section:t,articles:e});case"b":return(0,r.jsx)(k,{section:t,articles:e});case"c":return(0,r.jsx)(A,{section:t,articles:e});default:return null}}(a,n+1)},E=function(e){var t,n=e.section;return(0,r.jsx)("div",{className:"SectionNavHeader pb1 md:pb1_5 flex justify-center items-center",children:(0,r.jsxs)("div",{className:"SectionNavHeader__container relative flex items-center",children:[n&&(0,r.jsx)(b.Ei,{alt:n.images.dark.alt||n.images.dark.caption||"",className:"SectionNavHeader__section-logo",src:(0,S.Z)(n.images.dark,300),dimensions:null===(t=n.images.dark.metadata)||void 0===t?void 0:t.dimensions}),!n&&(0,r.jsx)(b.Ei,{alt:Z.Z.t("Global.holidayLogoAlt"),className:"SectionNavHeader__section-logo",src:"/assets/images/holidays-logo-dark.svg"}),(0,r.jsx)("span",{className:"SectionNavHeader__arrow graebenbach font-400 ml_75 opacity-0 absolute r0",children:"\u2192\ufe0e"})]})})},L=n(69527),D=n(74201),G=n(15578),M=n(66053),z=function(e){var t=e.holidays,n=m()(t,"[0]");return n?(0,r.jsxs)("div",{className:"SectionNavHoliday border-top-black",children:[(0,r.jsxs)("div",{className:"SectionNavHoliday__holiday1-container flex flex-col items-center",children:[(0,r.jsx)("div",{className:"SectionNavHoliday__up-next itc-cushing font-600 bg-color-black color-beige flex justify-center items-center uppercase",children:(0,r.jsx)("span",{children:Z.Z.t("Holidays.hero.upNext")})}),(0,r.jsx)("div",{className:"SectionNavHoliday__holiday1-title itc-cushing font-300",children:n.title}),(0,r.jsxs)("span",{className:"SectionNavHoliday__holiday1-date",children:[Z.Z.t("Holidays.hero.sundown"),":",(0,L.Z)(n.startDate," h:mm a")]}),(0,r.jsx)(M.Z,{className:"SectionNavHoliday__holiday1-date",startDate:n.startDate,endDate:n.endDate,isSectionNav:!0}),(0,r.jsx)("div",{className:"SectionNavHoliday__holiday1-description relative graebenbach font-400 text-section-details-sm text-center overflow-hidden",children:(0,r.jsx)(G.s,{blocks:n.detailedDescription})}),(0,r.jsxs)("span",{className:"graebenbach font-400 text-section-details-sm text-center",children:[Z.Z.t("Holidays.hero.learnMoreAboutHolidayButtonAriaLabel",{holiday:n.title})," ","\u2192\ufe0e"]})]}),t&&t.slice(1).map((function(e){return(0,r.jsxs)("div",{className:"SectionNavHoliday__holiday-container w100 border-top-black flex flex-col items-center",children:[(0,r.jsx)("div",{className:"SectionNavHoliday__holiday-title itc-cushing font-600",children:(0,r.jsx)("span",{children:e.title})}),e.startDate&&(0,r.jsx)("span",{className:"graebenbach font-400 color-gray-darker text-section-detail
1s-sm",children:(0,D.Z)(new Date(e.startDate),"MMMM d, \tyyyy")}),e.startDate&&(0,r.jsxs)("span",{className:"graebenbach font-400 color-gray-darker text-section-details-sm",children:[Z.Z.t("Holidays.hero.sundown"),":",(0,L.Z)(e.startDate," h:mm a")]})]},"section-nav-holiday-".concat(e.title))}))]}):null},I=n(59278),R=function(e){(0,o.Z)(n,e);var t=(0,c.Z)(n);function n(){var e;return(0,i.Z)(this,n),(e=t.apply(this,arguments)).state={scrollPosition:0,sectionNavPanelWidth:(0,x.Z)(),removeAnimation:!1,windowHeight:0,renderSectionNavOpen:!1,sectionPages:void 0,holidays:void 0},e.removeResizeListener=function(){},e.handleScroll=function(){var t=e.props,n=t.currentBreakpoint,a=t.sectionNavSize;if(["MEDIUM","LARGE","LARGE_MEDIUM","EXTRA_LARGE","EXTRA_EXTRA_LARGE"].includes(n)){var i=m()(window,"pageYOffset",0)||m()(document,"documentElement.scrollTop",0),o=Math.min(i,a);e.setState({scrollPosition:o})}else{var c=m()(window,"pageXOffset",0)||m()(document,"documentElement.scrollLeft",0),s=Math.min(c,a);e.setState({scrollPosition:s})}},e.handleResize=function(){var t=m()(window,"innerHeight",0);e.setState({sectionNavPanelWidth:(0,x.Z)(),windowHeight:t})},e.handleCloseSectionNav=function(){e.closeWithAnimation()},e.handleSectionClick=function(){e.closeWithAnimation()},e.handleLogoClick=function(){e.closeWithAnimation()},e.handleSideNavClick=function(){(0,e.props.showSideNav)()},e.getSectionPagePosition=function(e,t){var n=e-t;return n<0?0:n},e}var l=n.prototype;return l.componentDidMount=function(){var e=this;fetch("/api/sections",{}).then(function(){var t=(0,a.Z)((function(t){var n;return(0,s.__generator)(this,(function(a){switch(a.label){case 0:return[4,t.json()];case 1:return n=a.sent(),e.setState({sectionPages:n.sections,holidays:n.holidays}),e.handleResize(),e.openWithAnimation(),setTimeout((function(){return e.setState({removeAnimation:!0})}),800),[2]}}))}));return function(e){return t.apply(this,arguments)}}())},l.componentWillUnmount=function(){window.removeEventListener("scroll",this.handleScroll),this.removeResizeListener(),this.setState({removeAnimation:!1})},l.openWithAnimation=function(){var e=this;setTimeout((function(){e.handleResize(),window.addEventListener("scroll",e.handleScroll),e.removeResizeListener=(0,N.K)(e.handleResize),e.setState({renderSectionNavOpen:!0})}),50)},l.closeWithAnimation=function(){var e=this;this.setState({renderSectionNavOpen:!1}),setTimeout((function(){e.props.closeSectionNav()}),100)},l.render=function(){var e=this,t=this.props.currentBreakpoint,n=this.state,a=n.scrollPosition,i=n.sectionNavPanelWidth,o=n.removeAnimation,c=n.windowHeight,s=n.renderSectionNavOpen,l=n.sectionPages,u=n.holidays;return l&&u?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:v()("SectionNav__bg transition t0 l0 b0 r0 z-overlay fixed 100vh 100vw bg-color-beige",{"SectionNav__bg--inactive opacity-0 events-none":!s})}),(0,r.jsxs)("div",{className:v()("SectionNav z-overlay fixed t0 no-display-in-print",{"SectionNav--active":s}),children:[(0,r.jsx)("div",{className:v()("z-overlay absolute t0 l0 r0 vw100 my1 md:my1_5 flex justify-center transition",{"opacity-0 events-none":!s}),children:(0,r.jsx)(d.r,{to:I.c7.HOME.path,className:"SectionNav__tablet-logo flex items-center trigger-ScrollUsage-ScrollMainLogo",onClick:this.handleLogoClick,children:(0,r.jsx)(b.Ei,{alt:Z.Z.t("Logo.logoAltLabel"),src:"/assets/images/tablet-logo.svg",className:"ContributorsNav__logo-icon"})})}),(0,r.jsx)("div",{className:v()("SectionNav__menu-button z-overlay absolute t0 l0 transition",{"SectionNav__menu-inactive opacity-0 events-none":!s}),children:(0,r.jsx)(b.zx,{ariaLabel:Z.Z.t("Global.openMenuAriaLabel"),onClick:this.handleSideNavClick,className:"bg-color-transparent trigger-ScrollUsage-ScrollSideNav",children:(0,r.jsx)(g.Oq,{className:"Nav__menu-icon",color:"black"})})}),l.map((function(n,l){var h="section-nav-".concat(n.title);return(0,r.jsx)("div",{className:v()("SectionNav__section-container bg-color-beige absolute t0 l0 overflow-hidden px1_5",{"SectionNav__section-container--active":s,transition:!o,"SectionNav__section-container--hover-active":["EXTRA_SMALL","SMALL","MEDIUM"].includes(t)}),style:{height:"".concat(c,"px"),transform:"translate3d(".concat(s?"".concat(e.getSectionPagePosition(i*l-l,a),"px"):"100vw",", 0, 0)")},children:(0,r.jsxs)(d.r,{to:(0,p.Z)(n.slug),className:"color-black text-decoration-none trigger-ScrollUsage-ScrollSection",onClick:e.handleSectionClick,children:[(0,r.jsx)("div",{className:"SectionNav__section-container-bg bg-color-beige-dark absolute h100 w100 t0 b0 r0 l0 opacity-0 transition"}),(0,r.jsx)(E,{section:n}),"holidays"===n.slug?(0,r.jsx)(z,{holidays:u}):(0,r.jsx)(H,{index:l,section:n}),(0,r.jsx)("div",{className:"SectionNav__more-stories-container absolute w100 l0 r0 b0 flex justify-center items-end",children:(0,r.jsx)("span",{className:"SectionNav__more-stories-container-text graebenbach font-400 text-center text-section-title-xxs",children:Z.Z.t("Global.moreStories",{title:n.title})})})]})},h)}))]}),(0,r.jsx)("div",{className:v()("SectionNav__close-button fixed r0 t0 z-overlay transition m1 md:m1_5 ",{"opacity-0 events-none":!s}),children:(0,r.jsx)(b.zx,{onClick:this.handleCloseSectionNav,ariaLabel:Z.Z.t("Global.closeSectionNav"),className:"bg-color-transparent trigger-ScrollUsage-CloseScrollSectionNav",children:(0,r.jsx)(b.Ei,{src:"/assets/images/close-icon.svg",alt:Z.Z.t("Global.closeSectionNav")})})})]}):null},n}(l.Component),P=(0,f.Z)(R)},82203:function(e,t,n){var a=n(88306),i=n.n(a),o=n(75157);t.Z=i()((function(e){return e.reduce((function(e,t){return(0,o.E)(e.concat(function(e){for(var t=[],n=1;n<=10;n++){var a="article".concat(n);a in e&&t.push(e[a])}return t}(t).slice(0,10)))}),[]).filter((function(e,t,n){return n.findIndex((function(t){return t.id===e.id}))===t}))}))},69527:function(e,t,n){var a=n(23855),i=n(74201);t.Z=function(e,t){if(!e||"string"!==typeof e||!t||"string"!==typeof t)return console.error("formatISOStringToDate: parameters not entered correctly on ".concat(window.location.href)),"";var n=(0,a.Z)(e);return(0,i.Z)(n,t)}},65106:function(e,t,n){var a=n(59278);t.Z=function(e){return"the-scroll"===e?a.c7.THE_SCROLL.path:"".concat(a.c7.SECTION.base).concat(e)}},40061:function(e,t){t.Z=function(e){return e.map((function(e){return"".concat(e.firstName," ").concat(e.lastName)})).join(", ")}}}]);
2//# sourceMappingURL=5522.716b1f08390ca071.js.map

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.