PageSourceSearch

https://simchattorahchallenge.org/_next/static/chunks/3365-5b11ab7f963681a8.js

js simchattorahchallenge.org collected 2026-10-02 15:29:24 UTC 10,202 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="6819d45b-868b-4863-b6b3-f74440f5bcbb",e._sentryDebugIdIdentifier="sentry-dbid-6819d45b-868b-4863-b6b3-f74440f5bcbb")}catch(e){}}(),function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="6819d45b-868b-4863-b6b3-f74440f5bcbb",e._sentryDebugIdIdentifier="sentry-dbid-6819d45b-868b-4863-b6b3-f74440f5bcbb")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3365],{94772:function(e,a,t){"use strict";t.d(a,{Z:function(){return i}});var s=t(57437);t(2265);var o=t(54978),l=t(34598),n=t.n(l);function i(e){let{bgColor:a,textColor:t,parshaName:l,index:i,href:r}=e,d=l&&i?"".concat(1===i?"Double Portion: ":"").concat(l," (").concat(i,"/2)"):"DOUBLE PARSHA",c=(0,s.jsxs)("div",{className:"".concat(n().doubleParshaChip," ").concat(r?n().clickable:""),style:{backgroundColor:a||"#243346",color:t||"#F3EFE6"},children:[d,2===i&&(0,s.jsx)("span",{className:n().arrow,children:"→"})]});return r?(0,s.jsx)(o.default,{href:r,className:n().chipLink,children:c}):c}},68394:function(e,a,t){"use strict";t.d(a,{Z:function(){return r}});var s=t(57437);t(2265);var o=t(54978),l=t(72466),n=t(19447),i=t.n(n);function r(e){let{href:a,onClick:t,type:n="link",children:r="Read",className:d="",icon:c="/asset/all-portions/ArrowRightBlue.svg",iconAlt:h="Read arrow",iconWidth:u=24,iconHeight:_=24,disabled:m=!1,style:b={}}=e,v=(0,s.jsxs)(s.Fragment,{children:[r,c&&(0,s.jsx)(l.default,{src:c,alt:h,width:u,height:_,className:i().icon})]});return"button"===n?(0,s.jsx)("button",{onClick:t,disabled:m,className:"".concat(i().readButton," ").concat(d),style:b,children:v}):a?(0,s.jsx)(o.default,{href:a,className:"".concat(i().readButton," ").concat(d),style:b,"data-sentry-element":"Link","data-sentry-component":"ReadButton","data-sentry-source-file":"ReadButton.jsx",children:v}):null}},1955:function(e,a,t){"use strict";var s=t(57437),o=t(72466),l=t(91461),n=t.n(l),i=t(1562),r=t(2265);a.default=()=>{let{setOpenedImageIndex:e,openedImageIndex:a}=(0,i.E)();return(0,r.useEffect)(()=>(a?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"}),[a]),a?(0,s.jsx)("div",{className:n().modal,role:"dialog","aria-modal":"true","aria-label":(null==a?void 0:a.title)||"Image Preview",onClick:()=>{e(void 0)},"data-sentry-component":"OverlayImage","data-sentry-source-file":"overlayImage.jsx",children:(0,s.jsx)("div",{className:n().modalImage,onClick:e=>e.stopPropagation(),children:(0,s.jsx)(o.default,{src:null==a?void 0:a.image,alt:null==a?void 0:a.title,layout:"fill",loading:"lazy",style:{objectFit:"cover",aspectRatio:"1 / 1"},"data-sentry-element":"Image","data-sentry-source-file":"overlayImage.jsx","data-sentry-element":"Image"})})}):null}},32851:function(e,a,t){"use strict";t.d(a,{default:function(){return c}});var s=t(57437);t(2265);var o=t(72466);t(54978);var l=t(62467),n=t(33168),i=t.n(n),r=t(68394),d=t(94772);function c(e){var a,t,n,c,h,u,_,m,b,v,k;let{currentParshaData:p}=e;if(!p)return null;let f=null==p?void 0:null===(a=p.start_ref)||void 0===a?void 0:a.split(" "),w=(null==p?void 0:p.slug)||(null==p?void 0:null===(n=p.name)||void 0===n?void 0:null===(t=n.replaceAll(" ","-"))||void 0===t?void 0:t.toLowerCase()),C=(null==p?void 0:p.status)==="published"?"/parsha/".concat(null==f?void 0:null===(c=f[0])||void 0===c?void 0:c.toLowerCase(),"/").concat(w):"",y=async e=>{if(e.preventDefault(),null==p?void 0:p.about_pdf)try{let e="".concat("https://api.simchattorahchallenge.org","/assets/").concat(p.about_pdf),a="/api/download-pdf?url=".concat(encodeURIComponent(e));(null==p?void 0:p.name)&&(a+="&parshaName=".concat(encodeURIComponent(p.name)));let t=document.createElement("a");t.href=a,t.download="",t.target="_blank",document.body.appendChild(t),t.click(),document.body.removeChild(t)}catch(a){let e="".concat("https://api.simchattorahchallenge.org","/assets/").concat(p.about_pdf);window.open(e,"_blank","noopener,noreferrer")}},x=null==p?void 0:null===(h=p.secondParshaData)||void 0===h?void 0:h.name,g=(null==p?void 0:p.isDoubleParshaGroup)?p.firstName||p.name:null,j=(null==p?void 0:p.isDoubleParshaGroup)&&g?g.toLowerCase().replaceAll(" ","-"):null,N=(null==p?void 0:null===(u=p.secondParshaData)||void 0===u?void 0:u.slug)||(null==p?void 0:null===(b=p.secondParshaData)||void 0===b?void 0:null===(m=b.name)||void 0===m?void 0:null===(_=m.replaceAll(" ","-"))||void 0===_?void 0:_.toLowerCase()),W=(null==p?void 0:p.isDoubleParshaGroup)&&(null==p?void 0:p.status)==="published"?"/parsha/".concat(null==f?void 0:null===(v=f[0])||void 0===v?void 0:v.toLowerCase(),"/").concat(j):null,D=(null==p?void 0:p.isDoubleParshaGroup)&&(null==p?void 0:p.status)==="published"&&N?"/parsha/".concat(null==f?void 0:null===(k=f[0])||void 0===k?void 0:k.toLowerCase(),"/").concat(N):null;return(0,s.jsx)("section",{className:i().thisWeekSection,"data-sentry-component":"ThisWeek","data-sentry-source-file":"this-week.jsx",children:(0,s.jsx)("div",{className:i().thisWeekContainer,children:(0,s.jsx)("div",{className:i().thisWeekCard,children:(0,s.jsxs)("div",{className:i().thisWeekCardContent,children:[(0,s.jsx)("div",{className:i().thisWeekCardRight,children:(0,s.jsx)(o.default,{src:"/asset/all-portions/this-week.png",alt:"Torah portion illustration",className:i().thisWeekScrollImage,width:600,height:380,priority:!0,"data-sentry-element":"Image","data-sentry-source-file":"this-week.jsx","data-sentry-element":"Image"})}),(null==p?void 0:p.isDoubleParshaGroup)?(0,s.jsxs)("div",{className:i().thisWeekCardDouble,children:[(0,s.jsxs)("div",{className:i().headerSection,children:[(0,s.jsx)(d.Z,{bgColor:"#243346",textColor:"#F3EFE6"}),(0,s.jsxs)("div",{className:i().thisWeekLabel,children:[(0,s.jsx)(o.default,{src:"/asset/all-portions/Torah_Blue.svg",alt:"What we're reading icon",className:i().thisWeekIcon,width:20,height:20,priority:!0}),(0,s.jsx)("span",{className:i().thisWeekText,children:"WHAT WE'RE READING"})]})]}),(0,s.jsxs)("div",{className:i().parshaColumns,children:[(0,s.jsxs)("div",{className:i().parshaColumn,children:[(0,s.jsx)("h3",{className:i().parshaColumnTitle,children:g}),(0,s.jsxs)("h2",{className:i().parshaColumnBook,children:[null==p?void 0:p.book_name_he_en," (",null==p?void 0:p.book_name,")"]}),(0,s.jsxs)("div",{className:i().buttonRow,children:[!(null==p?void 0:p.about_pdf)&&(0,s.jsx)(r.Z,{type:"button",icon:"/asset/all-portions/ArrowDown.svg",iconAlt:"Download PDF",className:i().btnOverride,onClick:y,children:"Download PDF"}),(0,s.jsx)(r.Z,{href:W||C,className:i().btnOverride,children:"Read Portion"})]})]}),(0,s.jsx)("div",{className:i().verticalDivider}),(0,s.jsxs)("div",{className:i().parshaColumn,children:[(0,s.jsx)("h3",{className:i().parshaColumnTitle,children:x}),(0,s.jsxs)("h2",{className:i().parshaColumnBook,children:[null==p?void 0:p.book_name_he_en," (",null==p?void 0:p.book_name,")"]}),(0,s.jsxs)("div",{className:i().buttonRow,children:[!(null==p?void 0:p.about_pdf)&&(0,s.jsx)(r.Z,{type:"button",icon:"/asset/all-portions/ArrowDown.svg",iconAlt:"Download PDF",className:i().btnOverride,onClick:y,children:"Download PDF"}),(0,s.jsx)(r.Z,{href:D||C,className:i().btnOverride,children:"Read Portion"})]})]})]})]}):(0,s.jsxs)("div",{className:i().thisWeekCardLeft,children:[(0,s.jsx)("div",{className:i().thisWeekHeader,children:(0,s.jsxs)("div",{className:i().thisWeekLabel,children:[(0,s.jsx)(o.default,{src:"/asset/all-portions/Torah_Blue.svg",alt:"What we're reading icon",className:i().thisWeekIcon,width:20,height:20,priority:!0}),(0,s.jsx)("span",{className:i().thisWeekText,children:"WHAT WE'RE READING"})]})}),(0,s.jsxs)("h3",{className:i().thisWeekCardTitle,children:[(0,l.y)(p),(0,s.jsxs)("h2",{className:i().thisWeekCardBook,children:[null==p?void 0:p.book_name_he_en," (",null==p?void 0:p.book_name,")"]})]}),(0,s.jsxs)("div",{className:i().buttonRow,children:[(null==p?void 0:p.about_pdf)&&(0,s.jsx)(r.Z,{type:"button",icon:"/asset/all-portions/ArrowDown.svg",iconAlt:"Download PDF",className:i().btnOverride,onClick:y,children:"Download PDF"}),(0,s.jsx)(r.Z,{href:C,className:i().btnOverride,children:"Read Portion"})]})]})]})})})})}},62467:function(e,a,t){"use strict";t.d(a,{y:function(){return s}}),t(2265);let s=e=>(null==e?void 0:e.name)||""},34598:function(e){e.exports={doubleParshaChip:"DoubleParshaChip_doubleParshaChip__mZBm3",arrow:"DoubleParshaChip_arrow__vvn4N",chipLink:"DoubleParshaChip_chipLink__daHgh",clickable:"DoubleParshaChip_clickable__ZuXlF"}},19447:function(e){e.exports={readButton:"ReadButton_readButton__sxAXw",icon:"ReadButton_icon__oKw9A"}},91461:function(e){e.exports={modal:"overlayImage_modal__zcwQB",modalImage:"overlayImage_modalImage__obMsR"}},33168:function(e){e.exports={thisWeekSection:"this-week_thisWeekSection__rW7cq",thisWeekContainer:"this-week_thisWeekContainer__7fcqg",thisWeekCard:"this-week_thisWeekCard__0yMWt",thisWeekLabel:"this-week_thisWeekLabel__dOcTq",thisWeekText:"this-week_thisWeekText__GnO9a",doubleParshaChip:"this-week_doubleParshaChip__ppE_H",thisWeekCardDouble:"this-week_thisWeekCardDouble__JMEm_",headerSection:"this-week_headerSection__x4PoK",parshaColumns:"this-week_parshaColumns__E93o0",parshaColumn:"this-week_parshaColumn__G7L3L",parshaColumnTitle:"this-week_parshaColumnTitle__H82Op",parshaColumnBook:"this-week_parshaColumnBook__weJ6u",buttonRow:"this-week_buttonRow__ycvMA",verticalDivider:"this-week_verticalDivider__4600P",thisWeekCardContent:"this-week_thisWeekCardContent__ujJU8",thisWeekCardRight:"this-week_thisWeekCardRight__k4Dtw",thisWeekScrollImage:"this-week_thisWeekScrollImage__PUx6A",thisWeekCardLeft:"this-week_thisWeekCardLeft__CGTVK",thisWeekCardTitle:"this-week_thisWeekCardTitle__3AjhG",thisWeekCardBook:"this-week_thisWeekCardBook__s_F3n",btn:"this-week_btn__Xy5nM",btnPrimary:"this-week_btnPrimary__DnxAm",btnSecondary:"this-week_btnSecondary__qRlSC",btnOverride:"this-week_btnOverride__SkHRk"}}}]);

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.