1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1976],{72486:function(e,t,n){"use strict";n.d(t,{Dd:function(){return l},kq:function(){return s},rF:function(){return a}});var r=n(2265),o=n(75065);const i=(0,r.createContext)(void 0),a=i.Provider,l=()=>(0,r.useContext)(i);function s(e,t){var n;const r=e.target,i=null===(n=r.closest)||void 0===n?void 0:n.call(r,"a");if(!i||e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||i.hasAttribute("download")||i.target&&"_self"!==i.target)return;const a=new URL(i.href);if(a.origin!==window.location.origin)return;const l=/^\/(lectures|series)\/(\d+)$/.exec(a.pathname);l&&o.j.getState().prepare({kind:"series"===l[1]?"series":"lecture",id:Number(l[2])},t)}},6114:function(e,t,n){"use strict";n.d(t,{g:function(){return o}});var r=n(57437);const o=e=>(0,r.jsxs)("div",{className:"animate-pulse ".concat("list"==e.contentType?"flex gap-3":""),children:["text"!=e.contentType&&(0,r.jsx)("div",{className:"rounded-md bg-grey-300 ".concat("card"==e.contentType?"h-[124px] max-w-[172px]":"h-[60px] w-[100px]"," ").concat(e.className)}),e.contentType&&(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"mt-2 h-4 max-w-[172px] rounded-md bg-grey-300"}),(0,r.jsx)("div",{className:"mt-2 h-4 w-[140px] rounded-md bg-grey-300"})]})]})},69003:function(e,t,n){"use strict";n.d(t,{P:function(){return l}});var r=n(57437),o=n(12421),i=n(90382),a=n(2265);const l=e=>{let{src:t,alt:n,width:l,height:s,fallbackSrc:c=o.D.images.GreyBox_png,className:d,isLectureImage:u,loading:p,unoptimized:v=!1,fill:m=!1,fillAspectClass:h="lg:aspect-[1/1]",onLoad:y}=e;t||(t=c);const x=!v&&l&&s&&!(e=>{const t=e.toLowerCase().split(/[?#]/)[0];return t.endsWith(".svg")||t.startsWith("data:image/svg+xml")})(t),g=x?(0,i.W)(t.startsWith("/")?"https://torahanytime.com".concat(t):t,{width:l,height:s}):t,[f,b]=(0,a.useState)(g);(0,a.useEffect)((()=>{b(g)}),[g]);const w=(d||"").split(" ").includes("static")?"":"absolute";return u?(0,r.jsx)("div",{className:"".concat(l?"w-[".concat(l,"px]"):"w-full"," overflow-hidden ").concat(u?"aspect-[16/9]":l?"aspect-[1/1] md:aspect-[16/9] lg:w-auto":"aspect-[16/9] lg:w-auto"),children:(0,r.jsx)("img",{src:f,alt:n,loading:p,className:"h-full w-full ".concat(w," ").concat(d||""),onLoad:y,onError:()=>{f!==c&&b(c)}})}):(0,r.jsx)("div",{className:"overflow-hidden ".concat(m&&!u?"relative ".concat(h):""),style:{width:(m?"100%":l)||"auto",height:(m?"100%":s)||"auto"},children:(0,r.jsx)("img",{src:f,alt:n,loading:p,className:"h-full w-full ".concat(w," ").concat(d||""),onLoad:y,onError:()=>{f!==c&&b(c)}})})}},95303:function(e,t,n){"use strict";n.r(t),n.d(t,{Modal:function(){return l}});var r=n(57437),o=n(9689),i=n(32768),a=n(91822);const l=e=>(0,r.jsxs)(o.Vq,{unmount:e.unmount,open:e.open,onClose:()=>{var t;null===(t=e.onClose)||void 0===t||t.call(e)},className:"fixed inset-0 z-[100] grid place-content-center backdrop-blur-[1px]",children:[(0,r.jsx)("div",{className:"fixed inset-0 bg-black opacity-10"}),(0,r.jsx)("div",{className:"relative z-10 m-2 max-w-[90vw] overflow-y-auto rounded-lg bg-white p-8 shadow-lg ".concat(e.showScrollbar?"max-md:scrollbar-hide":"scrollbar-hide"," ").concat(e.className),style:{width:"number"===typeof e.width?"".concat(e.width,"px"):"undefined"===typeof e.width?"320px":e.width},children:e.custom?e.children:(0,r.jsxs)(r.Fragment,{children:[!e.hideClose&&(0,r.jsx)("span",{className:"absolute right-6 ".concat((null===e||void 0===e?void 0:e.title)?"top-4":"top-2"),children:(0,r.jsx)(a.h,{"aria-label":"close",onClick:()=>{var t;return null===(t=e.onClose)||void 0===t?void 0:t.call(e)},children:(0,r.jsx)(i.IOM,{size:24,className:"text-grey-650"})})}),(0,r.jsx)("h4",{className:"text-subtitle-2 mb-2 text-grey-700",children:e.title}),(0,r.jsx)("div",{className:"text-button-sm leading-[24px] text-grey-650",children:e.children})]})})]})},73531:function(e,t,n){"use strict";n.r(t),n.d(t,{ShareMethod:function(){return j},ShareModal:function(){return k}});var r=n(57437),o=n(54916),i=n(11171),a=n(39299),l=n(99376),s=n(2265),c=n(82953),d=n(32768),u=n(2678),p=n(16720),v=n(10776),m=n(29075),h=n(97336),y=n(95303),x=n(3484),g=n(94371),f=n(8767),b=n(72486);function w(e){e=Math.floor(Math.max(0,Math.min(e,1e4)));const t=Math.floor(e/60),n=e%60,r=String(t).padStart(2,"0"),o=String(n).padStart(2,"0");return"".concat(r,":").concat(o)}const C={id:0,speaker:0},k=e=>{var t;const n=(0,p.n)((e=>e.progress)),k=(0,x.t)((e=>e.user)),N=(0,l.usePathname)();var _;const{attribution:M}=(0,i.y)(null!==(_=e.lecture)&&void 0!==_?_:C),S=(0,b.Dd)();var I;const L=null!==(I=e.discoverySpeakerId)&&void 0!==I?I:S,T=(0,f.a)(L,{enabled:!!e.lecture&&e.open&&!!L}),P=T.data,z=P&&[P.title_short,P.name_first,P.name_last].filter(
1Boolean).join(" ").trim(),V=P&&P.id===L&&!1!==P.display_active&&!T.isError&&z?{id:P.id,name:z}:void 0,[R,A]=(0,s.useState)(""),[B,F]=(0,s.useState)(!1),[H,Z]=(0,s.useState)(!1),[E,U]=(0,s.useState)(!1),q="00:00",[O,K]=(0,s.useState)(q),[W,D]=(0,s.useState)(!0);function $(t,n){var r,o;const i=window?window.location.origin:"https://torahanytime.com",a=e.lecture?"/lectures/".concat(e.lecture.id):e.link||N,l=n?"?t=".concat(function(e){const[t,n]=e.split(":").map(Number);return 60*t+n}(t)):"",s="".concat(i).concat(a).concat(l);A(s),Z(null===(o=navigator)||void 0===o||null===(r=o.canShare)||void 0===r?void 0:r.call(o,{url:R}))}(0,s.useEffect)((()=>{if(!0===(null===e||void 0===e?void 0:e.open)){const r=void 0!==e.initialStartTimeSeconds?w(e.initialStartTimeSeconds):n?w(n.seconds):q;var t;const o=null!==(t=e.initiallyIncludeStartTime)&&void 0!==t?t:E;K(r),void 0!==e.initiallyIncludeStartTime&&U(e.initiallyIncludeStartTime),$(r,o)}}),[e.open,e.initialStartTimeSeconds,e.initiallyIncludeStartTime,K]);const Q=e.lecture?(0,a.fu)(e.lecture,M,V):R,X=encodeURIComponent(Q);function J(e,t){navigator.clipboard.writeText(e),F(!0),setTimeout((()=>{F(!1)}),5e3),G("copy_link")}function G(t){var n,r,o,i,a,l,s,d,u,p,v,m,h,y,x;c.ZP.event("share",{method:t,item_type:"lecture",item_id:null===(n=e.lecture)||void 0===n?void 0:n.id,lectureId:null===(r=e.lecture)||void 0===r?void 0:r.id,user_id:null===k||void 0===k?void 0:k.id,speakerId:null!==(y=null===(o=e.lecture)||void 0===o?void 0:o.speaker_id)&&void 0!==y?y:null===(i=e.lecture)||void 0===i?void 0:i.speaker,organizationId:null!==(x=null===(a=e.lecture)||void 0===a?void 0:a.organization_id)&&void 0!==x?x:null===(l=e.lecture)||void 0===l?void 0:l.org,categoryId:null===(s=e.lecture)||void 0===s?void 0:s.category,subcategoryId:null===(d=e.lecture)||void 0===d?void 0:d.subcategory,seriesId:null===(u=e.lecture)||void 0===u?void 0:u.series_id,isClip:null===(p=e.lecture)||void 0===p?void 0:p.is_clip,dateRecorded:null===(v=e.lecture)||void 0===v?void 0:v.date_recorded,isOnlyWatchableByFemale:null===(m=e.lecture)||void 0===m?void 0:m.is_only_watchable_by_female}),(0,g.B)("user.lecture.share",{method:t,lectureId:null===(h=e.lecture)||void 0===h?void 0:h.id,userId:null===k||void 0===k?void 0:k.id})}return(0,r.jsxs)(y.Modal,{unmount:!0,open:e.open,onClose:()=>{var t;null===(t=e.onClose)||void 0===t||t.call(e)},width:"yeshiva_anytime"===o.yM?310:H?450:490,title:(0,r.jsxs)("span",{className:"text-subtitle-2",children:["Share",e.lecture&&" this class"]}),children:[(0,r.jsxs)("div",{className:"icons mb-12 mt-8 flex flex-row flex-wrap justify-center gap-8 text-center",children:["yeshiva_anytime"!==o.yM&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j,{link:"https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent("".concat(R)),onClick:()=>G("facebook"),name:"Facebook",icon:(0,r.jsx)(v.Z,{alt:"facebook icon",className:"fill-transparent stroke-grey-700 group-hover:stroke-primary-color-500"})}),(0,r.jsx)(j,{link:"https://twitter.com/intent/tweet?text=".concat(X),onClick:()=>G("twitter"),name:"Twitter",icon:(0,r.jsx)(h.Z,{alt:"Twitter icon",className:"fill-grey-700 group-hover:fill-primary-color-500"})})]}),(0,r.jsx)(j,{link:"https://api.whatsapp.com/send?text=".concat(X),onClick:()=>G("whatsapp"),name:"Whatsapp",icon:(0,r.jsx)(d.ff9,{size:24,className:"text-grey-700 ".concat("yeshiva_anytime"===o.yM?"group-hover:text-ya-pink":"group-hover:text-primary-color-500")})}),"yeshiva_anytime"!==o.yM&&(0,r.jsx)(j,{link:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(encodeURIComponent("".concat(R)),"&title=").concat(encodeURIComponent((null===(t=e.lecture)||void 0===t?void 0:t.title)||"Shared fron TorahAnytime"),"&summary=").concat(X,"&source=torahanytime.com"),onClick:()=>G("linkedin"),name:"Linkedin",icon:(0,r.jsx)(m.Z,{alt:"Linkedin logo",className:"fill-grey-700 group-hover:fill-primary-color-500"})}),(0,r.jsx)(j,{link:"mailto:?body=".concat(X),name:"E-mail",onClick:()=>G("email"),icon:(0,r.jsx)(d.nCH,{size:24,className:"text-grey-700 ".concat("yeshiva_anytime"===o.yM?"group-hover:text-ya-pink":"group-hover:text-primary-color-500")})}),"yeshiva_anytime"===o.yM&&(0,r.jsx)(j,{onClick:e=>J("".concat(R)),name:"Copy",icon:(0,r.jsx)(d.mcF,{size:24,className:"text-grey-700 group-hover:text-ya-pink"})}),H&&(0,r.jsx)(j,{onClick:t=>function(t,n){var r;null===(r=navigator)||void 0===r||r.share({url:R,text:Q||R,title:"View this".concat(e.lecture?" class":" link"," on TorahAnytime")}),G("native")}("".concat(R)),name:"More",icon:(0,r.jsx)(d.Ppk,{size:24,className:"text-grey-700 ".concat("yeshiva_anytime"===o.yM?"group-hover:text-ya-pink":"group-hover:text-primary-color-500")})})]}),"yeshiva_anytime"!==o.yM&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"text-body-2 mb-3 text-center text-grey-700",children:"Or share with link"}),(0,r.jsxs)("div",{className:"".concat("torah_anytime"===o.yM?"bg-blue-50":"bg-grey-100"," relative rounded-lg p-4 pr-10 text-grey-700"),children:[(0,r.jsx)("input",{className:"w-full max-w-[365p
1x] overflow-hidden text-ellipsis whitespace-nowrap bg-transparent tracking-[0.5px] selection:bg-primary-color-500/30",value:"".concat(R),"aria-label":"link to this ".concat(e.lecture?"class":"page"),readOnly:!0}),(0,r.jsx)("button",{"aria-label":"copy",className:"absolute right-4",onClick:e=>J("".concat(R)),children:(0,r.jsx)(d.nqI,{size:24,className:"text-primary-color-500"})}),B&&(0,r.jsx)("span",{className:"alert absolute -top-4 right-0 rounded bg-black px-1 text-[12px] text-white opacity-90",children:"Copied!"})]}),e.lecture?(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(u.X,{checked:E,name:"",label:"Start at",onChange:()=>{U((e=>!e)),$(O,!E)}}),(0,r.jsx)("input",{className:"h-6 w-20 border-b-2 bg-white p-1 ".concat(W?"border-gray-400 outline-none focus:border-blue-500":"border-red-500 outline-none focus:border-red-500"),type:"text",value:O,onChange:e=>{const t=e.target.value;K(t);const n=/^([0-9]:)?[0-5][0-9]:[0-5][0-9]$/.test(t);D(n),n&&$(t,E)},disabled:!E,placeholder:"mm:ss"})]}):(0,r.jsx)(r.Fragment,{})]})]})},j=e=>(0,r.jsxs)("a",{target:"_blank",rel:"noreferrer",href:e.link,onClick:e.onClick,className:"group cursor-pointer",children:[(0,r.jsx)("div",{className:"mx-auto mb-2 h-14 w-14 rounded-full ".concat("torah_anytime"===o.yM?"bg-primary-color-50 group-hover:bg-[#E4F6FE]":"yeshiva_anytime"===o.yM?"bg-grey-100 group-hover:bg-secondary-color-50":"bg-grey-100"," grid place-content-center"),children:e.icon}),(0,r.jsx)("span",{className:'text-body-2 "group-hover:text-primary-color-500 text-[12px] text-grey-500',children:e.name})]})},10776:function(e,t,n){"use strict";var r=n(57437);n(2265);t.Z=e=>(0,r.jsx)("svg",{fill:"currentColor",width:13,height:24,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M2.038 13.5h1.275c.112 0 .224.113.224.225v8.025c0 .413.338.75.75.75h2.926c.412 0 .75-.337.75-.75v-8.025c0-.112.112-.225.224-.225h2.1c.375 0 .713-.262.75-.637l.488-2.926c.075-.45-.3-.9-.75-.9H8.3a.336.336 0 0 1-.338-.337V6.825c0-.488.263-.75.75-.75h2.213c.412 0 .75-.338.75-.75v-3a.752.752 0 0 0-.75-.75H8.262c-4.875 0-4.762 3.937-4.762 4.5v2.737a.242.242 0 0 1-.225.225H2a.752.752 0 0 0-.75.75v2.925c.038.45.375.788.788.788Z",strokeWidth:1.5})})},29075:function(e,t,n){"use strict";var r=n(57437);n(2265);t.Z=e=>(0,r.jsx)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.53334 3.45599C1.53334 2.90435 1.73477 2.44304 2.07167 2.11864C2.40891 1.79391 2.91332 1.5768 3.56907 1.5768C4.22062 1.5768 4.7061 1.79203 5.03074 2.1127C5.35606 2.43406 5.55618 2.89717 5.57067 3.45939C5.56918 3.99656 5.37354 4.45683 5.04055 4.78321C4.70731 5.10983 4.20536 5.33239 3.53974 5.33239H3.50774C2.27701 5.33239 1.53334 4.5062 1.53334 3.45599ZM3.56907 0.510132C2.6707 0.510132 1.89057 0.812251 1.33181 1.35027C0.772716 1.88862 0.466675 2.63357 0.466675 3.45599C0.466675 5.10157 1.6942 6.39906 3.50774 6.39906H3.53974C4.45279 6.39906 5.23298 6.08819 5.7872 5.54498C6.3404 5.00276 6.63734 4.25905 6.63734 3.4532H6.63749L6.6372 3.44078C6.61836 2.63232 6.32595 1.8928 5.78034 1.35384C5.23285 0.813027 4.46686 0.510132 3.56907 0.510132ZM15.5681 9.1361C14.8529 9.59678 14.4652 10.1413 14.358 10.5077C14.2835 10.7624 14.0331 10.9236 13.7705 10.8859C13.5078 10.8483 13.3128 10.6233 13.3128 10.358V8.48603H9.18612C9.20633 9.83339 9.20496 13.0331 9.1979 16.0948C9.19367 17.9308 9.18731 19.7269 9.18202 21.0639C9.17938 21.7324 9.177 22.2862 9.17527 22.6728L9.17496 22.7432H13.3128V14.9843C13.3128 14.935 13.3125 14.8832 13.3121 14.8299C13.3111 14.6532 13.3099 14.4594 13.3195 14.2802C13.332 14.0464 13.3643 13.7803 13.4639 13.5334C13.8631 12.5062 14.78 11.3217 16.4696 11.3217C17.5335 11.3217 18.3594 11.7494 18.898 12.5152C19.4169 13.2531 19.6317 14.2501 19.6317 15.3455V22.7432H23.8205V14.7562C23.8205 12.4771 23.2004 10.8829 22.2566 9.86314C21.3157 8.8466 19.9971 8.33966 18.4717 8.33966C17.2474 8.33966 16.2682 8.68516 15.5681 9.1361ZM8.63917 23.2765C8.10584 23.274 8.10584 23.2739 8.10584 23.2738L8.10584 23.2733L8.10585 23.2714L8.10589 23.2638L8.10603 23.2337L8.10659 23.116L8.10862 22.6681C8.11034 22.2816 8.11272 21.728 8.11536 21.0597C8.12066 19.723 8.127 17.9276 8.13124 16.0923C8.13973 12.4074 8.13942 8.60017 8.10658 7.98094C8.09883 7.83479 8.15148 7.69188 8.25219 7.58569C8.3529 7.4795 8.49282 7.41936 8.63917 7.41936H13.8461C14.1407 7.41936 14.3794 7.65814 14.3794 7.9527V8.70005C14.5642 8.53709 14.7687 8.38222 14.9905 8.23935C15.8629 7.67742 17.0427 7.273 18.4717 7.273C20.2402 7.273 21.8626 7.86714 23.0394 9.1386C24.2131 10.4068 24.8872 12.2876 24.8872 14.7562V23.2765C24.8872 23.5711 24.6484 23.8099 24.3538 23.8099H19.0984C18.8038 23.8099 18.565 23.5711 18.565 23.2765V15.3455C18.565 14.3657 18.3691 13.6174 18.0255 13.1289C17.7016 12.6683 17.2131 12.3884 16.4696 12.3884C15.3943 12.3884 14.7712 13.112 14.457 13.9227L14.4538 13.9311L14.4537 13.931C14.4193 14.0156 14.395 14.1439 14.3847 14.3372C14.3769 14.4818 14.3778 14.6305 14.3787 14.799L14.3788 14.7996V14.7999C14.3791 14.8587 14.3794 14.92 14.3794 14.9843V23.2765C14.3794 23.5711 14.1407 23.8099 13.8461 23.8099H8.63917C8.49727 23.8099 8.36123 23.7533 8.26114 23.6527C8.16104 23.5522 8.10516 23.4158 8.10584 23.274L8.63917 23.2765ZM0.643433 7.95332C0.643433 7.65877 0.882214 7.41999 1.17677 7.41999H5.81037C6.10492 7.41999 6.3437 7.65877 6.3437 7.95332V23.2766C6.3437 23.5711 6.10492 23.8099 5.81037 23.8099H1.17677C0.882214 23.8099 0.643433 23.5711 0.643433 23.2766V7.95332ZM1.7101 8.48666V22.7433H5.27703V8.48666H1.7101Z"})})},97336:function(e,t,n){"use strict";var r=n(57437);n(2265);t.Z=e=>(0,r.jsx)("svg",{width:23,height:20,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M22.991 1.95a1 1 0 0 0-1.51-.86 7.48 7.48 0 0 1-1.873.794A5.152 5.152 0 0 0 16.233.642a5.233 5.233 0 0 0-5.223 5.063 11.032 11.032 0 0 1-6.814-3.924 1.011 1.011 0 0 0-.857-.365.998.998 0 0 0-.785.5 5.275 5.275 0 0 0-.242 4.769l-.002.002a1.041 1.041 0 0 0-.496.888c-.001.147.
1007.294.027.44a5.185 5.185 0 0 0 1.568 3.312.999.999 0 0 0-.066.77 5.204 5.204 0 0 0 2.362 2.921 7.465 7.465 0 0 1-3.59.449A1 1 0 0 0 1.45 17.3a12.942 12.942 0 0 0 7.01 2.061 12.788 12.788 0 0 0 12.465-9.363c.353-1.183.533-2.412.535-3.646l-.001-.2a5.77 5.77 0 0 0 1.532-4.202Zm-3.306 3.212a.995.995 0 0 0-.234.702c.01.165.009.331.009.488a10.826 10.826 0 0 1-.454 3.08 10.685 10.685 0 0 1-10.546 7.93c-.86 0-1.715-.101-2.55-.301a9.48 9.48 0 0 0 2.942-1.564 1.001 1.001 0 0 0-.602-1.786 3.208 3.208 0 0 1-2.214-.935c.15-.028.298-.063.445-.105a1 1 0 0 0-.08-1.944 3.197 3.197 0 0 1-2.25-1.725c.181.025.363.04.545.046a1.021 1.021 0 0 0 .984-.696 1 1 0 0 0-.4-1.137A3.196 3.196 0 0 1 3.86 4.344a13.014 13.014 0 0 0 8.21 3.48 1.02 1.02 0 0 0 .817-.36 1 1 0 0 0 .206-.867 3.164 3.164 0 0 1-.087-.729 3.23 3.23 0 0 1 4.506-2.962c.403.176.766.433 1.065.756a.993.993 0 0 0 .921.298 9.27 9.27 0 0 0 1.212-.322 6.679 6.679 0 0 1-1.026 1.524Z"})})},2678:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=n(57437);const o=e=>(0,r.jsxs)("label",{className:"relative flex cursor-pointer flex-row items-center ".concat(e.label?"gap-2":""," ").concat(e.overrideMargin||"my-3"," ").concat(e.className),children:[(0,r.jsx)("input",{type:"checkbox",className:"peer sr-only",value:e.value,checked:e.checked,onChange:e.onChange,name:e.name,disabled:e.disabled}),(0,r.jsx)("div",{className:"h-[40px] w-[40px] "}),(0,r.jsx)("svg",{className:"visible absolute top-[50%] m-[10px] -translate-y-[100%] rounded peer-checked:invisible peer-focus:shadow-[0_0_0_10px_rgba(55,148,225,0.1)] peer-disabled:cursor-not-allowed peer-disabled:bg-grey-200",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 17.792 2.222 L 17.792 17.77 L 2.224 17.77 L 2.224 2.222 L 17.792 2.222 Z M 17.792 0 L 2.224 0 C 1.001 0 0 1 0 2.222 L 0 17.77 C 0 18.992 1.001 19.992 2.224 19.992 L 17.792 19.992 C 19.016 19.992 20.017 18.992 20.017 17.77 L 20.017 2.222 C 20.017 1 19.016 0 17.792 0 Z",fill:"#94A3B8"})}),(0,r.jsx)("svg",{className:"absolute top-[50%] m-[10px] -translate-y-[100%] rounded opacity-0 transition-opacity peer-checked:opacity-100 peer-focus:shadow-[0_0_0_10px_rgba(55,148,225,0.1)] peer-disabled:cursor-not-allowed peer-disabled:peer-checked:opacity-60",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M16.75 0.25H3.25C2.45462 0.250869 1.69206 0.567218 1.12964 1.12964C0.567218 1.69206 0.250869 2.45462 0.25 3.25V16.75C0.250869 17.5454 0.567218 18.3079 1.12964 18.8704C1.69206 19.4328 2.45462 19.7491 3.25 19.75H16.75C17.5454 19.7491 18.3079 19.4328 18.8704 18.8704C19.4328 18.3079 19.7491 17.5454 19.75 16.75V3.25C19.7491 2.45462 19.4328 1.69206 18.8704 1.12964C18.3079 0.567218 17.5454 0.250869 16.75 0.25V0.25ZM15.0742 6.73234L8.77422 14.2323C8.70511 14.3147 8.61912 14.3812 8.52207 14.4273C8.42502 14.4735 8.31918 14.4983 8.21172 14.5H8.19906C8.09394 14.5 7.99 14.4778 7.89398 14.435C7.79797 14.3922 7.71202 14.3297 7.64172 14.2516L4.94172 11.2516C4.87315 11.1788 4.81981 11.0931 4.78483 10.9995C4.74986 10.9059 4.73395 10.8062 4.73805 10.7063C4.74215 10.6064 4.76617 10.5084 4.8087 10.4179C4.85124 10.3275 4.91142 10.2464 4.98572 10.1796C5.06002 10.1127 5.14694 10.0614 5.24136 10.0286C5.33579 9.99578 5.43581 9.98219 5.53556 9.98861C5.63531 9.99502 5.73277 10.0213 5.82222 10.0659C5.91166 10.1106 5.99128 10.1726 6.05641 10.2484L8.17938 12.6072L13.9258 5.76766C14.0547 5.61863 14.237 5.52631 14.4335 5.51066C14.6299 5.49501 14.8246 5.55728 14.9754 5.68402C15.1263 5.81075 15.2212 5.99176 15.2397 6.18793C15.2582 6.3841 15.1988 6.57966 15.0742 6.73234V6.73234Z",className:"fill-primary-color-500"})}),(0,r.jsx)("span",{className:"text-[14px] peer-disabled:cursor-not-allowed peer-disabled:text-grey-500",children:e.label})]})},93507:function(e,t,n){"use strict";n.d(t,{y:function(){return s}});var r=n(57437),o=n(54916),i=n(52375),a=n(2265),l=n(32768);const s=e=>{let{labelClassName:t="bg-background-color",...n}=e;var i,l;const s=null!==(l=n.value)&&void 0!==l?l:n.defaultValue,d=void 0!==s&&null!==s&&""!==String(s),u=(0,a.useRef)(null),[p,v]=(0,a.useState)(d);(0,a.useEffect)((()=>
1{if(!u.current)return;const e=new MutationObserver((()=>{var e;const t=(null===(e=u.current)||void 0===e?void 0:e.value)||"";v(Boolean(t)),n.onChange(t)}));return e.observe(u.current,{attributes:!0,attributeFilter:["value"]}),()=>{e.disconnect()}}),[u.current,n.onChange]),(0,a.useEffect)((()=>{var e;v(d||Boolean(null===(e=u.current)||void 0===e?void 0:e.value))}),[d]);const m="\n font-medium text-[14px] text-grey-500\n peer-focus:text-primary-color-500 peer-disabled:text-grey-400\n transition-transform ease-out\n absolute left-4 top-1/2 -translate-y-1/2\n peer-focus:-translate-y-8\n peer-focus:text-[12px] peer-focus:z-[2] peer-focus:h-[13px]\n select-none\n px-1\n bg-grey-50\n h-auto\n ".concat(p||d||"date"===n.type||"datetime-local"===n.type?"-translate-y-8 z-[2] ".concat("yeshiva_anytime"===o.yM?"peer-focus:text-ya-blue":"peer-focus:text-primary-color-500"," text-[12px] h-[13px]"):"","\n ").concat(n.invalid?"yeshiva_anytime"===o.yM?"peer-focus:text-ya-pink":"peer-focus:text-red-500 text-red-500":"","\n ").concat(t,"\n "),h=n.as||"input";var y,x;const g="input"===h?{label:n.label,rtl:n.rtl,invalid:(null===(i=n.invalid)||void 0===i?void 0:i.toString())||"false",value:null!==(x=null!==(y=n.value)&&void 0!==y?y:n.defaultValue)&&void 0!==x?x:""}:{};return"select"===n.as?(0,r.jsx)(c,{...n}):(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("label",{className:"\n relative block w-full\n ".concat((n.helpText&&n.invalid,""),"\n isolate\n "),children:[(0,r.jsx)(h,{...g,ref:u,list:n.list?"input-list":void 0,id:n.id,placeholder:n.label?void 0:n.placeholder,type:n.type||"text",name:n.name,disabled:n.disabled,onChange:e=>{v(Boolean(e.target.value)),n.onChange(e.target.value)},onBlur:e=>{"date"!==n.type&&(v(Boolean(e.target.value)),n.onChange(e.target.value))},className:"\n peer relative\n z-[1]\n h-12\n w-full\n rounded-md border border-grey-300 bg-transparent\n px-4 outline outline-1\n -outline-offset-1\n disabled:cursor-not-allowed\n disabled:border-grey-300\n disabled:text-grey-400\n ".concat(n.icon?"pr-10":"","\n ").concat(n.invalid?"outline outline-2 -outline-offset-1 ".concat("yeshiva_anytime"===o.yM?"caret-ya-pink outline-ya-pink focus:caret-ya-pink focus:outline-ya-pink":"caret-red-500 outline-red-500 focus:caret-red-500 focus:outline-red-500"):"outline-1 outline-grey-300 focus:outline-2 ".concat("yeshiva_anytime"===o.yM?"caret-ya-blue outline-ya-blue focus:caret-ya-blue focus:outline-ya-blue":"focus:caret-primary-color-500 focus:outline-primary-color-500"),"\n ").concat("textarea"===n.as?"h-[118px]":"","\n ").concat(n.rtl?"text-left [direction:rtl]":"","\n ").concat(n.className,"\n ").concat("date"==n.type?"cursor-pointer":"","\n ")}),n.label?(0,r.jsxs)("label",{className:"".concat(m),children:[n.label,n.required?(0,r.jsx)("span",{className:"text-red-500",children:"*"}):""]}):(0,r.jsx)(r.Fragment,{}),(0,r.jsx)("div",{className:"absolute right-4 top-1/2 z-10 -translate-y-1/2",children:n.icon}),n.invalid&&(0,r.jsx)("div",{className:"absolute ".concat("yeshiva_anytime"===o.yM?"text-ya-pink":"text-red-500"," p-1 text-left text-[12px] font-medium"),children:n.helpText})]})})},c=e=>(0,r.jsxs)("div",{children:[(0,r.jsx)(i.Ri,{value:e.value,onChange:e.onChange,children:t=>{let{open:n}=t;var a;return(0,r.jsxs)("div",{className:"text-body-1 relative",children:[(0,r.jsxs)(i.Y4,{className:"\n text-body-2 flex\n h-full\n w-full\n justify-between\n whitespace-nowrap\n rounded-md\n p-3\n text-[16px]\n leading-[1.54rem]\n text-grey-600\n ".concat(e.invalid?"text-red-500 outline outline-2 -outline-offset-2 outline-red-500":n?"outline outline-2 -outline-offset-2 ".concat("yeshiva_anytime"===o.yM?"outline-ya-pink":"outline-primary-color-500"):"outline outline-1 -outline-offset-1 outline-grey-300 focus:outline-2 focus:-outline-offset-2 ".concat("yeshiva_anytime"===o.yM?"focus:outline-ya-pink":"focus:outline-primary-color-500"),"\n "),children:[(0,r.jsx)("span",{className:"px-1",children:e.value||e.label+(e.required?"*":"")}),(0,r.jsx)(l.CgR,{size:18,className:"self-center ".concat(n?"rotate-180":""," transition-transform\n ")})]}),(0,r.jsx)(i.O_,{className:"absolute top-full z-10 mt-2 w-full cursor-pointer rounded-md shadow-lg",children:null===(a=e.options)||void 0===a?void 0:a.map((e=>(0,r.jsx)(i.wt,{as:"div",className:e=>{let{focus:t,selected:n}=e;return"\n p-4\n ".concat(t||n?"yeshiva_anytime"===o.yM?"bg-primary-color-100 text-ya-pink":"bg-primary-color-50 text-primary-color-500":"bg-white","\n text-grey-800 first:rounded-t-md\n last:rounded-b-md\n ").concat("yeshiva_anytime"===o.yM?"hover:bg-primary-color-100 hover:text-ya-pink focus:bg-primary-color-100":"hover:bg-primary-color-50 hover:text-primary-color-500 focus:bg-primary-color-50","\n ")},value:e,children:e},e)))})]})}}
1),e.invalid&&(0,r.jsx)("div",{className:"-mt-[.5px] px-3 text-[12px] text-red-500",children:e.helpText})]})},91822:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(57437),o=n(54916);const i=e=>{const t=e.as||"button";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t,{onClick:()=>{var t;null===(t=e.onClick)||void 0===t||t.call(e)},className:"peer h-8 w-8 rounded-full lg:h-10 lg:w-10 ".concat("yeshiva_anytime"===o.yM?"hover:bg-grey-300/30 focus:bg-grey-300/30 active:bg-grey-300/30":"hover:bg-grey-100 focus:bg-grey-100 active:bg-grey-100"," grid place-content-center focus:outline-none ").concat(e.className),"aria-label":e["aria-label"]||"",children:e.children}),(0,r.jsx)("div",{className:"absolute -bottom-6 -left-2 hidden ".concat(e.title?"peer-hover:block peer-focus-visible:block":""," mt-1 w-max rounded-md bg-grey-500 px-2 py-[1px] text-[12px] text-white"),children:e.title})]})}},22011:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(57437),o=n(27648);const i=e=>{let{color:t="blue",...n}=e;var i="";return n.icon?(i+=" inline-flex gap-2 items-center","top"==n.iconPosition?i+=" flex-col":(i+="grey"==t?" px-3 py-[6px] rounded-md hover:bg-grey-100 focus:bg-grey-100":" px-2 py-[2px] rounded-full hover:bg-primary-color-100 focus:bg-primary-color-100","right"==n.iconPosition&&(i+=" flex-row-reverse"))):i+=" hover:underline focus:underline decoration-grey-300 underline-offset-2",(0,r.jsxs)(o.default,{href:n.href,download:n.download||!1,target:n.target,rel:"_blank"==n.target?"noreferrer":"",onClick:n.onClick,className:"text-subtitle-selected group inline-block cursor-pointer focus:outline-none\n ".concat("grey"==t?"text-grey-800":"text-primary-color-500","\n ").concat("sm"==n.size?"text-[12px]":"","\n ").concat(i,"\n ").concat(n.className,"\n ").concat(n.disabled?" cursor-not-allowed opacity-[0.38]":""),children:[n.icon&&(0,r.jsx)("span",{className:"".concat("blue"==t?"text-[16px] text-grey-800":"text-xl text-grey-600"),children:n.icon}),n.children]})}},75065:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r=n(27695),o=n(18357);const i=(0,r.U)()((e=>({pathname:null,prepare:(t,n)=>e((e=>(0,o.$K)(e,t,n))),arrive:(t,n,r)=>e((e=>(0,o.Jv)(e,t,n,r))),resetNavigation:()=>e({pathname:null,pending:void 0})})))},16720:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});n(2265);var r=n(27695),o=n(89134);const i=(e,t)=>"function"===typeof t?t(e):t,a=(0,r.U)()((0,o.tJ)(((e,t)=>({phase:"idle",playing:!1,progress:{seconds:0},duration:0,seeking:!1,indication:void 0,muted:!1,volume:1,autoplay:!1,playbackRate:1,contentType:"video",activity:!0,clipBounds:null,interactivePlayerRef:{current:null},activityTimerRef:{current:void 0},indicatorTimeoutRef:{current:void 0},setSeeking:t=>e((e=>({seeking:i(e.seeking,t)}))),setActivity:t=>e((e=>({activity:i(e.activity,t)}))),setClipBounds:t=>{e({clipBounds:t,...t?{duration:t.endTime-t.startTime}:{}})},triggerIndicator:function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;const{indicatorTimeoutRef:o}=t();clearTimeout(o.current),"volume"!==n&&e({indication:void 0}),setTimeout((()=>e({indication:n}))),o.current=setTimeout((()=>e({indication:void 0})),r)}})),{name:"player-settings",partialize:e=>({volume:e.volume,muted:e.muted,playbackRate:e.playbackRate})}))},11769:function(e,t,n){"use strict";n.d(t,{q:function(){return a}});var r=n(27695),o=n(89134);n(2265);const i=(e,t)=>"function"===typeof t?t(e):t,a=(0,r.U)()((0,o.tJ)((e=>({lecture:void 0,isAllowPrerollAd:!0,currentPlaylistId:null,nextLectures:[],upNextContext:{name:"default",id:0,page:0},seriesId:void 0,seriesType:void 0,lectureStarted:!1,defaultPlayMode:"video",breadcrumbs:[],sidebarState:void 0,downloadList:[],allowSidebarOpen:!0,isTishaBavMode:!1,viewMode:"grid",lectureView:"grid",tawkMessengerRef:{current:null},isOnLecturePage:!1,isEmbeddedPlayer:!1,shouldRenderPlayerAsMini:!1,shouldShowPlayer:!1,overrideShowFemale:!1,setLecture:t=>e((e=>({lecture:i(e.lecture,t)}))),setIsAllowPrerollAd:t=>e((e=>({isAllowPrerollAd:i(e.isAllowPrerollAd,t)}))),setCurrentPlaylistId:t=>e((e=>({currentPlaylistId:i(e.currentPlaylistId,t)}))),setNextLectures:t=>e((e=>({nextLectures:i(e.nextLectures,t)}))),setUpNextContext:t=>e((e=>({upNextContext:i(e.upNextContext,t)}))),setSeriesId:t=>e((e=>({seriesId:i(e.seriesId,t)}
1))),setSeriesType:t=>e((e=>({seriesType:i(e.seriesType,t)}))),setLectureStarted:t=>e((e=>({lectureStarted:i(e.lectureStarted,t)}))),setDefaultPlayMode:t=>e((e=>({defaultPlayMode:i(e.defaultPlayMode,t)}))),setBreadcrumbs:t=>e((e=>({breadcrumbs:i(e.breadcrumbs,t)}))),setSidebarState:t=>e((e=>({sidebarState:i(e.sidebarState,t)}))),setDownloadList:t=>e((e=>({downloadList:i(e.downloadList,t)}))),setAllowSidebarOpen:t=>e((e=>({allowSidebarOpen:i(e.allowSidebarOpen,t)}))),setIsTishaBavMode:t=>e((e=>e.isTishaBavMode===t?e:{isTishaBavMode:t})),setViewMode:t=>e((e=>({viewMode:i(e.viewMode,t)}))),setLectureView:t=>e((e=>({lectureView:i(e.lectureView,t)}))),setDerivedState:t=>e((e=>({...e,...t})))})),{name:"default-content-type",partialize:e=>({defaultPlayMode:e.defaultPlayMode,viewMode:e.viewMode,lectureView:e.lectureView})}))},11171:function(e,t,n){"use strict";n.d(t,{y:function(){return l}});var r=n(49343),o=n(7625),i=n(67466),a=n(71632);const l=e=>{const t=(0,i.wm)(e)&&void 0===(0,i.XR)(e),n=(0,a.useQuery)({queryKey:["lectures",String(e.id)],queryFn:()=>(0,o.kl)(e.id),enabled:t});var l;const s=null!==(l=n.data)&&void 0!==l?l:e,c=(0,i.wm)(s)?(0,i.XR)(s):void 0,d=(0,r.o)(c);var u,p;return{attribution:(0,i.Cs)(s,d.data),lecture:s,organization:d.data,organizationId:c,isResolving:n.isFetching||d.isFetching,isError:n.isError||d.isError,error:null!==(p=null!==(u=n.error)&&void 0!==u?u:d.error)&&void 0!==p?p:null,lectureQuery:n,organizationQuery:d}}},49343:function(e,t,n){"use strict";n.d(t,{o:function(){return i}});var r=n(73724),o=n(71632);const i=e=>(0,o.useQuery)({queryKey:["organization",e],queryFn:()=>(0,r.$9)(e),enabled:!!e})},8767:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(26305),o=n(71632);const i=(e,t)=>{var n;return(0,o.useQuery)({queryKey:["speakers",e],queryFn:()=>fetch("".concat(r._n,"/speakers/").concat(e)).then((e=>e.json())),enabled:void 0!==e&&(null===(n=null===t||void 0===t?void 0:t.enabled)||void 0===n||n)})}},67466:function(e,t,n){"use strict";n.d(t,{Cs:function(){return s},XR:function(){return a},wm:function(){return l}});var r=n(54916),o=n(39299);const i=e=>{var t;return null!==(t=e.speaker_id)&&void 0!==t?t:e.speaker},a=e=>{var t;const n=null!==(t=e.organization_id)&&void 0!==t?t:e.org;return"number"===typeof n&&Number.isInteger(n)&&n>0?n:void 0},l=e=>412===i(e),s=(e,t)=>{const n=i(e),l=a(e);if(412===n&&void 0!==l&&(null===t||void 0===t?void 0:t.id)===l){const e="jewish_anytime"===r.yM||"yeshiva_anytime"===r.yM;return{kind:"organization",id:l,name:t.name,href:e?"https://torahanytime.com/organizations/".concat(l):"/organizations/".concat(l),target:e?"_blank":"_self",follow:{type:"org",id:l},organization:t}}return{kind:"speaker",id:n,name:(0,o.nx)(e),href:"/speakers/".concat(n),target:"_self",follow:{type:"speaker",id:n}}}},18357:function(e,t,n){"use strict";function r(e,t){return(null===e||void 0===e?void 0:e.lectureId)===t?e:void 0}function o(e,t,n){const r=n?{speakerId:n.speakerId,...void 0===n.seriesId?{}:{seriesId:n.seriesId}}:void 0,o=r&&"series"===t.kind?{speakerId:r.speakerId,seriesId:t.id}:r;return"lecture"===t.kind&&e.pathname==="/lectures/".concat(t.id)?{...e,pending:void 0,active:o?{...o,lectureId:t.id}:void 0}:{...e,pending:{destination:t,discovery:o}}}function i(e,t,n,r){if(e.pathname===t&&!e.pending)return e;const o=/^\/lectures\/(\d+)$/.exec(t),i=e.pending;if(!o){const n="series"===(null===i||void 0===i?void 0:i.destination.kind)&&t==="/series/".concat(i.destination.id);return{...e,pathname:t,pending:n?i:void 0}}const a=Number(o[1]),l=i&&("lecture"===i.destination.kind?i.destination.id===a:i.destination.id===n)?null===i||void 0===i?void 0:i.discovery:r&&Number.isSafeInteger(r)&&r>0?{speakerId:r}:void 0;return{pathname:t,active:l?{...l,lectureId:a}:void 0}}n.d(t,{$K:function(){return o},Jv:function(){return i},ry:function(){return r}})},35219:function(e){e.exports={popUp:"PopUp_popUp__TfFb_",arrow:"PopUp_arrow__GctSc",popUpAlt:"PopUp_popUpAlt__eE0Tp"}}}]);
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.