PageSourceSearch

https://nypost.com/wp-content/plugins/nyp-membership/build/2936.8a84ae973adc27e9ad69.bundle.min.js

js nypost.com collected 2026-09-24 07:34:38 UTC 3,720 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunknyp_membership=self.webpackChunknyp_membership||[]).push([[2936],{2936:function(e,n,t){t.r(n),t.d(n,{EventsOnboarding:function(){return r}});var i=t(1085),s=(t(4041),t(7309)),a=t(4120),o=t(3873),c=t(7682),d=t(4753);const r=()=>{const{data:e}=(0,a.Gn)("/wp-json/nyp-membership/v1/events/next");return(0,i.jsx)("div",{"data-testid":"/account/onboarding/events",children:(0,i.jsxs)(d.y,{children:[(0,i.jsx)(c.Nh,{gaCategory:"Onboarding - Events"}),(0,i.jsxs)("div",{className:"content-wrapper",children:[(0,i.jsx)("h1",{className:"membership-onboarding__heading headline--lg t-color-white",children:(0,s.__)("Register for next event","nypost")}),(0,i.jsx)("h2",{className:"membership-onboarding__sub-heading t-color-white",children:(0,s.__)("Register to gain access to exclusive events","nypost")}),(0,i.jsxs)("div",{className:"upcoming-event",children:[(0,i.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNSIgaGVpZ2h0PSIzNSI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI3NCAtMjUpIj48Y2lyY2xlIGN4PSIxNy41IiBjeT0iMTcuNSIgcj0iMTcuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjc0IDI1KSIgZmlsbD0iI2M2MDgwMCIvPjxnIGZpbGw9IiNmZmYiPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xLjAzOCAtLjYyNikiPjxwYXRoIGQ9Ik0yOTkuMTA0IDM1LjE5M2gtMTQuMDU5YTIgMiAwIDAgMC0yIDIuMDA4bC0uMDA4IDE0LjA2YTIuMDA4IDIuMDA4IDAgMCAwIDIuMDA4IDIuMDA4aDE0LjA1OWEyLjAxNCAyLjAxNCAwIDAgMCAyLjAwOC0yLjAwOFYzNy4yMDJhMi4wMTQgMi4wMTQgMCAwIDAtMi4wMDgtMi4wMDlabTAgMTYuMDY3aC0xNC4wNTlWNDAuMjE0aDE0LjA1OVoiLz48cmVjdCB3aWR0aD0iMi4xOTYiIGhlaWdodD0iNi41ODciIHJ4PSIxLjA5OCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjg2LjAxNSAzMi42MjcpIi8+PHJlY3Qgd2lkdGg9IjIuMTk2IiBoZWlnaHQ9IjYuNTg3IiByeD0iMS4wOTgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI5NS44OTYgMzIuNjI3KSIvPjwvZz48cGF0aCBkPSJtMjk1LjUgNDQuMDg4LTIuOTM3LS40MjdMMjkxLjI1IDQxbC0xLjMxNCAyLjY2MS0yLjkzNy40MjcgMi4xMyAyLjA3MS0uNSAyLjkyNSAyLjYyMS0xLjM4MSAyLjYyNyAxLjM4MS0uNS0yLjkyNVoiLz48L2c+PC9nPjwvc3ZnPg==",alt:"calendar icon"}),(0,i.jsx)("h2",{children:(0,s.__)(null==e?void 0:e.title,"nypost")}),(0,i.jsx)("span",{className:"upcoming-event__datetime",children:e&&(()=>{var n,t;const i=(null===(n=null==e?void 0:e.date)||void 0===n?void 0:n.start_timestamp)?new Date(1e3*e.date.start_timestamp):null,s=(null===(t=null==e?void 0:e.date)||void 0===t?void 0:t.end_timestamp)?new Date(1e3*e.date.end_timestamp):null;return i&&s?(0,o.GP)(i,"MMMM d | h:mmaaa - ")+(0,o.GP)(s,"h:mmaaa"):null})()}),(0,i.jsx)("p",{className:"upcoming-event__details",children:null==e?void 0:e.description}),(0,i.jsx)("a",{href:null==e?void 0:e.domain,children:(0,i.jsx)("button",{className:"button--solid upcoming-event__button",type:"button",children:(0,s.__)("REGISTER FOR EVENT","nypost")})}),(0,i.jsx)("a",{href:"https://events.nypost.com/",children:(0,i.jsx)("strong",{className:"upcoming-event__browse-more",children:(0,s.__)("Browse more events","nypost")})})]})]}),(0,i.jsx)(c._7,{dataGaEvent:JSON.stringify({category:"Onboarding - Events",action:"Button Click - Save and Continue",label:"Events Save and Continue"}),dataGa4Event:JSON.stringify({event_name:"ux_engagement",source_unit:"Onboarding - Events",source_position:"Button Click - Save and Continue"})})]})})}},4753:function(e,n,t){t.d(n,{y:function(){return l}});var i=t(1085),s=(t(4041),t(9067)),a=t.n(s),o=t(8862),c=t(4120),d=t(8188),r=t(7682);const l=({children:e})=>{const{state:{data:{subscriptionsFetched:n,subscriptionStatus:t=d.dH.NONE}}}=(0,c.QW)(),{hasHomeDelivery:s}=(0,c.TM)();return!n&&d.BJ?(0,i.jsx)(r.Ip,{color:"#FFD62B"}):(0,o.gD)(t)||s()?e:(0,i.jsx)(r.gq,{to:d.dx.nonSubscriber[0]})};l.propTypes={children:a().oneOfType([a().node,a().arrayOf(a().node)]).isRequired}}}]);
2//# sourceMappingURL=2936.8a84ae973adc27e9ad69.bundle.min.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.