PageSourceSearch

https://obscura.io/_next/static/chunks/pages/calendar-08e3e82fc9c37c41.js

js obscura.io collected 2026-10-02 12:41:59 UTC 3,789 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[844],{85597:function(e,n,t){"use strict";t.d(n,{z:function(){return c},u5:function(){return d},mr:function(){return m},G0:function(){return u}});t(67294);var r=t(23925),a=t(85893),s="\n  text-align: left;\n  font-weight: bold;\n",i=r.ZP.div.withConfig({displayName:"Text__PageHeaderComp",componentId:"sc-1w5soiy-0"})(["",";font-size:50px;line-height:50px;margin-bottom:30px;margin-top:30px;"],s),o=r.ZP.div.withConfig({displayName:"Text__HeaderTextComp",componentId:"sc-1w5soiy-1"})([""," font-size:30px;margin-top:20px;margin-bottom:20px;line-height:50px;"],s),l=r.ZP.div.withConfig({displayName:"Text__SmallPageHeaderComp",componentId:"sc-1w5soiy-2"})([""," font-size:40px;margin-top:10px;margin-bottom:20px;line-height:50px;"],s),c=(r.ZP.p.withConfig({displayName:"Text__Paragraph",componentId:"sc-1w5soiy-3"})(["font-size:20px;"]),function(e){var n=e.children,t=e.className;return(0,a.jsx)(o,{className:t,children:n})});c.defaultProps={as:"h3"};var d="mt-10 sm:mt-22 mb-10 sm:mb-16 text-2xl",m=function(e){return(0,a.jsx)(i,{as:"h1",children:e.children})},u=function(e){return(0,a.jsx)(l,{as:"h2",children:e.children})}},79026:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return f}});var r=t(50029),a=t(87794),s=t.n(a),i=t(82944),o=t(88926),l=t(85597),c=t(67294),d=t(91036),m=t.n(d),u=t(61436),x=t(52045),h=t(85893);function f(){var e=(0,c.useState)([]),n=e[0],t=e[1];(0,c.useEffect)((function(){(0,r.Z)(s().mark((function e(){var n,r,a;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"[email protected]",n=new URLSearchParams({key:"AIzaSyDHgjKprxuCFEJEFr-907L_78w2wYDkWyg",timeMin:(new Date).toISOString(),orderBy:"startTime",singleEvents:"true"}),e.next=4,fetch("https://www.googleapis.com/calendar/v3/calendars/".concat("[email protected]","/events?")+n.toString());case 4:if(!(r=e.sent).ok){e.next=12;break}return e.next=8,r.json();case 8:a=e.sent,t(a.items),e.next=13;break;case 12:alert("Error loading calendar");case 13:case"end":return e.stop()}}),e)})))()}),[]);var a="font-mono flex justify-between w-full md:w-8/12";return(0,h.jsx)(o.Z,{children:(0,h.jsxs)(i.l,{children:[(0,h.jsx)(l.z,{className:"mb-32",children:"Calendar"}),(0,h.jsxs)("div",{className:"flex flex-wrap",children:[0===n.length&&(0,h.jsx)("p",{className:"text-lg text-semibold",children:"No upcoming events"}),n.map((function(e,n){var t,r,s=new Date(null!==(t=e.start.dateTime)&&void 0!==t?t:e.start.date);return(0,h.jsxs)("div",{className:"my-5 lg:w-1/2 sm:w-1/2 w-full",children:[(0,h.jsx)("h4",{className:"font-semibold text-2xl w-full",children:e.summary}),(0,h.jsxs)("ul",{className:"my-5",children:[(0,u.Z)(s)&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("li",{className:a,children:[(0,h.jsx)("span",{children:"Date:"}),(0,h.jsx)("span",{children:(0,x.Z)(s,"dd MMMM yyyy")})]}),(0,h.jsxs)("li",{className:a,children:[(0,h.jsx)("span",{children:"Time:"}),(0,h.jsx)("span",{children:(0,x.Z)(s,"hh:mm aaa zzzz")})]})]}),(0,h.jsxs)("li",{className:a,children:[(0,h.jsx)("span",{children:"Location:"}),(0,h.jsx)("a",{className:"underline",href:e.htmlLink,target:"_blank",rel:"noreferrer noopener",children:null!==(r=e.location)&&void 0!==r?r:"Calendar Invite"})]})]}),(0,h.jsx)("p",{className:"max-h-20 overflow-y-scroll",dangerouslySetInnerHTML:{__html:m()(e.description)}})]},n)}))]})]})})}},44254:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/calendar",function(){return t(79026)}])},22868:function(){},14777:function(){},99830:function(){},70209:function(){}},function(e){e.O(0,[45,36,774,888,179],(function(){return n=44254,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
2//# sourceMappingURL=calendar-08e3e82fc9c37c41.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.