PageSourceSearch

https://www.classicalcalifornia.org/_next/static/chunks/app/layout…?dpl=a2844e4f-a0b1-4c77-83f8-f863ac9da8be

js classicalcalifornia.org collected 2026-10-02 14:41:16 UTC 108,859 bytes, 48 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fb4aacd6-33a0-4601-90b4-90754be49854",e._sentryDebugIdIdentifier="sentry-dbid-fb4aacd6-33a0-4601-90b4-90754be49854")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177,8551],{4203:(e,t,s)=>{"use strict";s.d(t,{R:()=>a,h:()=>l});let a=["https://app.contentful.com","https://app.eu.contentful.com"],r=new Set(a),l=()=>!("u"<typeof document)&&(!!document.cookie.split(";").some(e=>e.trim().startsWith("__live_preview="))||"/preview"===window.location.pathname||(()=>{if(window.self===window.top)return!1;if(!document.referrer)return!0;try{return r.has(new URL(document.referrer).origin)}catch{return!1}})())},4836:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(95155);s(12115);let r=e=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:75,height:74,fill:"none",...e,children:[(0,a.jsxs)("g",{filter:"url(#a)",children:[(0,a.jsx)("circle",{cx:37.667,cy:36,r:29,fill:"currentColor"}),(0,a.jsx)("path",{fill:"#000",stroke:"#000",strokeWidth:2,d:"M50.167 35.134a1 1 0 0 1 0 1.732l-18 10.392a1 1 0 0 1-1.5-.866V25.608a1 1 0 0 1 1.5-.866l18 10.392Z"})]}),(0,a.jsx)("defs",{children:(0,a.jsxs)("filter",{id:"a",width:74,height:74,x:.667,y:0,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,a.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,a.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,a.jsx)("feOffset",{dy:1}),(0,a.jsx)("feGaussianBlur",{stdDeviation:4}),(0,a.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,a.jsx)("feColorMatrix",{values:"0 0 0 0 0.504167 0 0 0 0 0.027309 0 0 0 0 0.027309 0 0 0 0.4 0"}),(0,a.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2122_29626"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2122_29626",result:"shape"})]})})]})},5463:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=e=>{if(!e)return"#000";let t=e.toString(),s=0;for(let e=0;e<t.length;e++)s=t.charCodeAt(e)+((s<<5)-s);let a=(0xffffff&s).toString(16).toUpperCase();return"#"+"00000".substring(0,6-a.length)+a}},6716:(e,t,s)=>{"use strict";s.d(t,{MF:()=>r,Ry:()=>i,gM:()=>a});let a={INTRO:"INTRO",LOGIN:"LOGIN",RECOVERY:"RECOVERY",REGISTRATION:"REGISTRATION",REGISTRATION_SUCCESS:"REGISTRATION_SUCCESS",DELETE_ACCOUNT:"DELETE_ACCOUNT",SUCCESS_DELETE:"SUCCESS_DELETE",EDIT_PROFILE:"EDIT_PROFILE",PROFILE_PREFERENCES:"PROFILE_PREFERENCES",EDIT_DISPLAY_NAME:"EDIT_DISPLAY_NAME",ADD_YOUR_NAME:"ADD_YOUR_NAME"},r={HUBSPOT_FORM:"HUBSPOT_FORM",RICH_VIDEO:"RICH_VIDEO",IMAGE:"IMAGE",RICH_TEXT_MODAL:"RICH_TEXT_MODAL",ADD_TO_CALENDAR:"ADD_TO_CALENDAR",SHARE:"SHARE",TRACK_COMMENT:"TRACK_COMMENT",REMOVE_FAVOURITE:"REMOVE_FAVOURITE",DISABLE_NOTIFICATIONS:"DISABLE_NOTIFICATIONS",COMMUNITY_GUIDELINES:"COMMUNITY_GUIDELINES"};var l,i=((l={}).STREAM_SWITCHER="STREAM_SWITCHER",l.PLAYER_OPTIONS="PLAYER_OPTIONS",l.USER_LOGGED_IN="USER_LOGGED_IN",l.PROFILE_MENU="PROFILE_MENU",l.STREAM_SOCIAL_SHARE="STREAM_SOCIAL_SHARE",l.NOTIFICATION_CENTER="NOTIFICATION_CENTER",l)},10482:(e,t,s)=>{"use strict";s.d(t,{default:()=>k});var a=s(95155),r=s(73590),l=s.n(r),i=s(37206),n=s(65596),o=s(12115),c=s(72953),d=s(89658),m=s(11750);let u="platform-mobile",h=e=>{try{return"mobile"===new URLSearchParams(e).get("platform")}catch{return!1}};var p=s(19159),x=s(73321);let f=({onShowContentChange:e})=>{let t=(0,x.usePathname)(),s=(0,x.useSearchParams)();return(0,o.useLayoutEffect)(()=>{let t,a=s.toString();e((t=h(a?`?${a}`:window.location.search),document.documentElement.classList.toggle(u,t),!t))},[t,s,e]),null},g=e=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:21,height:20,fill:"none",...e,viewBox:"0 0 21 20",children:(0,a.jsx)("path",{fill:"#201E1C",d:"M3.881 10.084a1.501 1.501 0 0 0-.175-1.434A3.652 3.652 0 0 1 3 6.5c0-2.088 1.89-4 4.5-4 2.61 0 4.5 1.912 4.5 4s-1.89 4-4.5 4c-.497 0-.972-.072-1.416-.203a1.49 1.49 0 0 0-.98.047l-1.5
176.631.356-.89h-.003ZM1.5 6.5c0 1.119.363 2.16.99 3.025l-.93 2.325a.838.838 0 0 0 1.09 1.09l3.01-1.203c.58.172 1.2.263 1.84.263 3.313 0 6-2.463 6-5.5 0-3.038-2.688-5.5-6-5.5-3.313 0-6 2.462-6 5.5Zm12 11.5c.644 0 1.26-.094 1.84-.262l3.01 1.203a.838.838 0 0 0 1.09-1.09l-.928-2.326a5.16 5.16 0 0 0 .991-3.025c0-2.575-1.928-4.734-4.531-5.334-.05.509-.16.996-.316 1.465 1.997.463 3.35 2.103 3.35 3.872 0 .784-.253 1.522-.706 2.15a1.5 1.5 0 0 0-.175 1.434l.356.891-1.575-.631a1.51 1.51 0 0 0-.981-.047 4.986 4.986 0 0 1-1.416.203c-2.256 0-3.972-1.428-4.396-3.162-.488.1-.991.156-1.504.162.513 2.56 2.96 4.5 5.9 4.5L13.5 18Z"})});var b=s(58719);let v=(0,o.memo)(()=>(0,a.jsx)("div",{className:"fixed bottom-0 left-0 z-30 w-full min-h-[var(--player-height)] bg-white shadow-[0_3px_30px_rgba(0,0,0,0.2)]","aria-hidden":"true"}));var w=s(85219);let j=["previewBrand","previewId","secret"],y=(0,o.memo)(()=>{let e=(0,w.x)(),t=(0,x.usePathname)();return(0,a.jsxs)("p",{className:"right-[1rem] top-[4rem] fixed z-20 bg-primary text-lg text-white font-medium p-4",children:["Draft mode is on! ",(0,a.jsx)("a",{onClick:()=>void e({apiEndpoint:"/api/disable-draft",method:"GET"}).then(()=>{let e=new URLSearchParams(window.location.search);j.forEach(t=>e.delete(t));let s=e.toString(),a=`${window.location.origin}${"/preview"===t?"/":t}${s?`?${s}`:""}`;window.location.href=a}),className:"underline cursor-pointer",children:"Exit"})]})});function N(){let e=(0,x.usePathname)(),t=(0,x.useSearchParams)(),s=t.toString(),a=(0,o.useRef)(null),r=(0,o.useMemo)(()=>{let s,a;return s=new URLSearchParams,t.forEach((e,t)=>{s.append(t,e)}),a=s.toString(),`${window.location.origin}${e}${a?`?${a}`:""}`},[e,s,t]);return(0,o.useEffect)(()=>{(0,d.S)()},[e,t]),(0,o.useEffect)(()=>{if(!r||a.current===r)return;let e=new URLSearchParams(window.location.search).get("rdt_cid")||localStorage.getItem("reddit_click_id")||void 0;
1a.current=r,(0,d.U)({event:"page_view",page_location:r,page_title:document.title,page_referrer:document.referrer}),(0,d.U)({event:"reddit_page_visit",page_location:r,page_title:document.title,page_referrer:document.referrer,page_path:window.location.pathname,event_label:window.location.pathname,reddit_event_name:"PageVisit",integration_partner:"AUTOMATIC_GTM",...e?{reddit_click_id:e}:{}})},[r]),null}var _=s(37662),E=s(66195),A=s(56065);let C=(0,i.default)(()=>Promise.all([s.e(3271),s.e(8781),s.e(4592)]).then(s.bind(s,14592)),{loadableGenerated:{webpack:()=>[14592]},ssr:!1,loading:()=>(0,a.jsx)(v,{})}),S=(0,i.default)(()=>Promise.all([s.e(69),s.e(4637)]).then(s.bind(s,84637)),{loadableGenerated:{webpack:()=>[84637]},ssr:!1}),k=(0,o.memo)(({children:e})=>{let t=(0,_.j)(),{preview:s,brand:r}=(0,c.y)(),i=A.currentBrandSchema.styles,[x,w]=(0,o.useState)(!1),[j,k]=(0,o.useState)(!0),[I,T]=(0,o.useState)(null),[M,R]=(0,o.useState)(!1),[$,D]=(0,o.useState)(!0),{user:L}=(0,_.G)(e=>e.authReducer),F=(0,o.useRef)(null),{handleHubspotLoad:O}=E.GM.actions,P=(0,o.useCallback)(e=>{D(e)},[]);return(0,o.useLayoutEffect)(()=>{D(!("u">typeof document&&document.documentElement.classList.contains(u))&&!h(window.location.search)),R(!0)},[]),(0,o.useEffect)(()=>{F.current&&(F.current.classList.remove("message-animate"),F.current.offsetWidth,F.current.classList.add("message-animate"))},[I,k]),(0,o.useEffect)(()=>{let e=()=>{document.documentElement.style.setProperty("--app-height",`${window.innerHeight}px`)};return document.addEventListener("resize",e),e(),()=>{document.removeEventListener("resize",e)}},[]),(0,o.useEffect)(()=>{if(!s)return;let e=document.documentElement;
1Object.keys(i).forEach(t=>{e.style.setProperty(`--${t}`,i[t])})},[i,s]),(0,o.useEffect)(()=>{let e=window.localStorage.getItem("user_id"),t=e??(0,m.Y)();e||window.localStorage.setItem("user_id",t),(0,d.U)({user_id:t})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o.Suspense,{fallback:null,children:[(0,a.jsx)(N,{}),(0,a.jsx)(f,{onShowContentChange:P})]}),(0,a.jsx)(n.default,{async:!0,type:"text/javascript",src:"https://js.hsforms.net/forms/v2.js",strategy:"afterInteractive",onLoad:()=>{t(O(!0))}}),(0,a.jsx)(n.default,{async:!0,type:"text/javascript",src:"https://js.hsforms.net/forms/embed/51190948.js",strategy:"afterInteractive"}),s&&M?(0,a.jsx)(y,{}):null,e,M||"u">typeof document&&document.documentElement.classList.contains(u)||h(window.location.search)?null:(0,a.jsx)(v,{}),M?(0,a.jsx)(C,{isShowContent:$}):null,M&&r?.liveCommunityChat&&!x&&$&&(0,a.jsxs)("div",{className:"max-w-[17.5rem] w-full fixed bottom-[6rem] right-6 flex flex-col z-10 sm:right-1 sm:max-w-fit sm:bottom-[6.25rem] xs:right-4 xs:bottom-[5.375rem]",children:[j&&I&&I?.messageBody&&(0,a.jsxs)("div",{ref:F,className:"bg-white mb-2 rounded-2xl h-[6rem] p-3 relative overflow-hidden message sm:hidden",children:[(0,a.jsx)("button",{className:"absolute top-[20px] right-[12px]",onClick:()=>{k(!j)},children:(0,a.jsx)(b.A,{className:"w-3 h-3 text-stone_s1"})}),(0,a.jsxs)("div",{className:"cursor-pointer","data-gtm-chat-start":"true","data-chat-source":"last_message_teaser","data-hubspot-id":L?.hubspotId??"",onClick:()=>{w(!0),k(!j)},children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 w-fit mb-2 relative",children:[(0,a.jsx)(p.A,{role:I?.role,avatar:I?.avatar,name:I.name,auth0Sub:I?.auth0Sub,isModerator:I?.isModerator}),(0,a.jsx)("span",{className:"font-bold overflow-hidden text-ellipsis whitespace-nowrap block max-w-[7.875rem] w-full",children:I?.name}),(0,a.jsx)("time",{className:"text-stone_s1 text-xs font-normal leading-[normal] whitespace-nowrap",children:l()(I?.sentAt).format("hh:mm A")})]}),(0,a.jsxs)("span",{className:"relative block overflow-hidden max-h-10 text-[14px]",children:[I?.type==="search"?(0,a.jsxs)(a.Fragment,{children:["Want to dig deeper? \xa0\uD83D\uDD0D\xa0\xa0",(0,a.jsx)("button",{className:"link text-shaft text-[14px]",children:"Let’s Search"})]}):(0,a.jsx)(a.Fragment,{children:I.messageBody}),(0,a.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 z-10 bg-[linear-gradient(180deg,rgba(255,255,255,0)_-60%,#fff_110%)] backdrop-blur-[0.4px]"})]})]})]}),(0,a.jsxs)("button",{"data-gtm-chat-start":"true","data-chat-source":"main_chat_cta","data-hubspot-id":L?.hubspotId??"",onClick:()=>{w(!0)},className:"btn btn-secondary w-full sm:w-[15rem] xs:text-[0px] xs:w-[40px] xs:h-[40px] xs:rounded-full xs:p-0 xs:text-center xs:items-center xs:justify-center xs:pl-2",children:[(0,a.jsx)(g,{}),(0,a.jsx)("span",{className:"",children:"Live Community Chat"})]})]}),r?.liveCommunityChat&&(0,a.jsx)(S,{showChat:x,toggleShowChat:w,setLastChatMessage:T})]})})},13731:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let a=/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|shorts\/)?([a-zA-Z0-9_-]{11})/,r=e=>{if(!e)return null;let t=e.match(a);return t&&t.length>=2?t[1]:null}},16680:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var a=s(95155),r=s(12115),l=s(37662),i=s(66195);let n=(0,r.memo)(({searchTerm:e,buttonText:t="Let’s Search",messageId:s,moderatorRef:r,className:n="",icon:o=!1,source:c=""})=>{let d=(0,l.j)(),{setGlobalSearchParams:m,setGlobalSearchInput:u,toggleGlobalSearchModal:h,setIsLoading:p}=i.GM.actions;return(0,a.jsxs)("button",{ref:r,"data-message-id":s,"data-gtm-maestro-search-click":"true","data-search-term":e||"",className:`link text-shaft text-[14px] text-left group ${n}`,onClick:()=>{d(p(!1)),d(u(e)),d(m({page:1,search:e,entryType:null,sortBy:i._K.relevant})),d(h({isOpen:!0,source:c}))},children:[t,o&&(0,a.jsx)("span",{className:"opacity-0 group-hover:opacity-100 transition-opacity duration-500 ease-in-out",children:"\uD83D\uDD0D"})]})})},16780:(e,t,s)=>{"use strict";s.d(t,{$D:()=>o,$H:()=>n});var a=s(73590),r=s.n(a);let l="YYYY MM DD",i=e=>{let t=e.replace(/-/g,"");if(t.length<8)return null;let s=t.substring(0,4),a=t.substring(4,6),r=t.substring(6,8);return s&&a&&r?`${s} ${a} ${r}`:null},n=e=>{if(!e)return r()().format("YYYY MM DD");let t=i(e);
1return t&&r()(t,"YYYY MM DD").isValid()?t:null},o=(e,t=l)=>{if(!e)return r().utc().format(l);let s=i(e),a=s?r().utc(s,"YYYY MM DD"):null;return a&&a.isValid()?a.format(t):null}},17247:(e,t,s)=>{"use strict";s.d(t,{A:()=>d});var a=s(94716),r=s(12115),l=s(72953),i=s(99765),n=s(85219),o=s(37662),c=s(66195);let d=()=>{let e=(0,o.j)(),[t,s]=(0,r.useState)(!1),{brandName:d}=(0,l.y)(),m=(0,n.x)(),u=(0,r.useRef)(new AbortController),{moreToDiscoverTrackData:h}=(0,o.G)(e=>e.globalReducer),{setMoreToDiscoverTrackData:p}=c.GM.actions;return{searchMoreToDiscover:({composer:t,conductor:r,soloists:l,trackId:n})=>{let o;if(h?.trackId===n)return;s(!0);let c={brand:d,limit:12,locale:"en-US",composer:t,conductor:r,soloists:encodeURIComponent(JSON.stringify(l))},x=(u.current?.abort(),u.current=o=new AbortController,o).signal;m({apiEndpoint:(0,i.Im)(c),method:"GET",signal:x}).then(({data:t})=>{e(p({data:t?.items?.map(e=>e.source),trackId:n}))}).catch(e=>{if(!a.A.isCancel(e))throw e}).finally(()=>s(!1))},moreToDiscoverData:h?.data,isLoading:t}}},18348:e=>{e.exports={header:"header_header__ts5le",content:"header_content__D0_o2",nav_container:"header_nav_container__gvzKR",nav_actions:"header_nav_actions__x_hgy",donate_slot:"header_donate_slot__p2LCa",action_slot:"header_action_slot__PrpVQ",nav_link:"header_nav_link__c3VBO",wrapper:"header_wrapper__ZtitM",active:"header_active__vmyFQ",burger_btn:"header_burger_btn__W4sv4",burger_line:"header_burger_line___aoI0"}},19159:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var a=s(95155),r=s(5772),l=s(12115),i=s(31507),n=s.n(i),o=s(5463);let c=({role:e,avatar:t,name:s,auth0Sub:i,isModerator:c,className:d=""})=>{let[m,u]=(0,l.useState)(!1),h="host"===e&&t&&!m;return(0,a.jsx)("div",{className:`relative rounded-full w-7 h-7 min-w-7 min-h-7 overflow-hidden ${"host"===e?" ring-[1px] ring-offset-[1px] ring-primary":""}${d?` ${d}`:""}`,style:h?{}:{backgroundColor:c?"#BEDAFF":(0,o.A)(i),color:c?"#074BA5":"#fff"},children:h?(0,a.jsx)(r.default,{src:t,alt:s,fill:!0,className:"object-cover border-[2px] border-primary_h rounded-full",onError:()=>u(!0)}):(0,a.jsx)(n(),{name:s||"",className:"rounded-full w-7 h-7 flex items-center justify-center font-extralight text-[1rem]"})})}},25225:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var a=s(95155);s(12115);let r="#FF8F6C",l="#FFC6C0",i="#FEC205",n=e=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",style:{margin:"auto",background:"",display:"block",shapeRendering:"auto"},width:61,height:61,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",...e,children:[(0,a.jsx)("circle",{cx:28,cy:75,r:11,fill:r,children:(0,a.jsx)("animate",{attributeName:"fill-opacity",repeatCount:"indefinite",dur:"1.408450704225352s",values:"0;1;1",keyTimes:"0;0.2;1",begin:"0s"})}),(0,a.jsx)("path",{d:"M28 47a28 28 0 0 1 28 28",fill:"none",stroke:l,strokeWidth:10,children:(0,a.jsx)("animate",{attributeName:"stroke-opacity",repeatCount:"indefinite",dur:"1.408450704225352s",values:"0;1;1",keyTimes:"0;0.2;1",begin:"0.14084507042253522s"})}),(0,a.jsx)("path",{d:"M28 25a50 50 0 0 1 50 50",fill:"none",stroke:i,strokeWidth:10,children:(0,a.jsx)("animate",{attributeName:"stroke-opacity",repeatCount:"indefinite",dur:"1.408450704225352s",values:"0;1;1",keyTimes:"0;0.2;1",begin:"0.28169014084507044s"})})]})},25497:(e,t,s)=>{"use strict";s.d(t,{AppProvider:()=>L});var a=s(95155),r=s(76531),l=s(35491),i=s(66415),n=s(36730),o=s(58346),c=s(12115),d=s(2834),m=s(28702),u=s(2352),h=s(85135),p=s(4203),x=s(32941),f=s(37620),g=s(61754),b=s(54032),v=s(66195);let w=(0,g.HY)({playerReducer:x.Ay,globalReducer:v.Ay,authReducer:b.A});var j=s(56065);let y="a2844e4f-a0b1-4c77-83f8-f863ac9da8be",N="app-version-reloaded";async function _(){if(!("serviceWorker"in navigator))return;let e=await navigator.serviceWorker.getRegistrations();await Promise.allSettled(e.map(e=>e.unregister()))}async function E(){if(!("caches"in window))return;let e=await window.caches.keys();await Promise.allSettled(e.map(e=>window.caches.delete(e)))}async function A(e){await e.clearStore().catch(()=>void 0),await Promise.allSettled([_(),E()])}let C=({apolloClient:e})=>{let t=(0,c.useRef)(!1),s=(0,c.useCallback)(async()=>
1{if(y&&!t.current&&"hidden"!==document.visibilityState){t.current=!0;try{let t=await fetch(`/api/app-version?t=${Date.now()}`,{cache:"no-store"});if(!t.ok)return;let s=await t.json();if(null===s||"object"!=typeof s||!("buildId"in s)||"string"!=typeof s.buildId||!(s.buildId.length>0)||s.buildId===y||function(e){try{return"true"===window.sessionStorage.getItem(`${N}:${e}`)}catch{return!0}}(s.buildId)||!function(e){try{return window.sessionStorage.setItem(`${N}:${e}`,"true"),!0}catch{return!1}}(s.buildId))return;await A(e),window.location.replace(window.location.href)}catch{}finally{t.current=!1}}},[e]);return(0,c.useEffect)(()=>{if(!y)return;let e=()=>{s()},t=()=>{"visible"===document.visibilityState&&s()};s();let a=window.setInterval(t,9e5);return window.addEventListener("focus",e),document.addEventListener("visibilitychange",t),()=>{window.clearInterval(a),window.removeEventListener("focus",e),document.removeEventListener("visibilitychange",t)}},[s]),null};var S=s(90729),k=s(37662);let I={sameSite:"strict",secure:!0,path:"/"},T=null,M=async()=>(T||(T=fetch("/api/session/me",{method:"GET",credentials:"include",cache:"no-store",headers:{"Cache-Control":"no-store"}}).then(async e=>200===e.status?{status:200,user:(await e.json()).user}:{status:e.status}).catch(()=>({status:0})).finally(()=>{T=null})),T),R=()=>{let e=(0,k.j)(),{user:t,snapshot:s,status:a}=(0,k.G)(e=>e.authReducer),{setAuthSnapshot:r,setAuthStatus:l,setLoggedIn:i,setLoggedOut:n}=b.R.actions,o=(0,c.useRef)({user:t,snapshot:s,status:a});return(0,c.useEffect)(()=>{o.current={user:t,snapshot:s,status:a}},[a,s,t]),(0,c.useEffect)(()=>{let t,s=!1,a=(t=(0,S.R5)("authSnapshot"),(0,h.T)(t)?t:null),c=o.current;return a&&!c.snapshot&&(e(r(a)),"authenticated"!==c.status&&e(l("authenticated"))),(async()=>{let t=await M();if(s)return;let c=o.current;if(200===t.status&&t.user){let s=(0,h.K)(t.user),a=c.user?.sub===t.user.sub&&c.user?.updated_at===t.user.updated_at,l=c.snapshot?.updatedAt===s.updatedAt&&c.snapshot?.hubspotId===s.hubspotId&&c.snapshot?.dynamoID===s.dynamoID;a||e(i(t.user)),l||e(r(s)),(0,S.D8)("authSnapshot",s,I);return}if(204===t.status||401===t.status){(c.user||c.snapshot||"guest"!==c.status)&&e(n()),(0,S.J0)("authSnapshot");return}a||"guest"===c.status||e(l("guest"))})(),()=>{s=!0}},[e,r,l,i,n]),null};var $=s(73321);function D(){let e=(0,$.usePathname)(),{page:t}=(0,o.pn)();return(0,c.useEffect)(()=>{t()},[t,e]),null}let L=({children:e,user:t,preview:s})=>{var g;let b,v=j.currentBrandSchema,[y,N]=(0,c.useState)(!0);(0,c.useEffect)(()=>{N(!!s||(0,p.h)())},[s]);let _=(0,u.A)(),E=(0,c.useRef)(null),A=t?(0,h.K)(t):null;return E.current||(b={authReducer:{user:t??null,snapshot:A,status:t||A?"authenticated":"unknown"},playerReducer:{...x.nr,currentStation:(g=v?.initialStation||null,(e=>{try{return new URLSearchParams(e).get("stream")}catch{return null}})(window.location.search)||g)}},E.current=(0,f.U1)({reducer:w,preloadedState:b})),(0,a.jsx)(o.nW,{clientId:"57bf46f7-dcdf-4ae8-a022-bb9957122bfc",environment:"main",plugins:[new i.Ay,new n.t],children:(0,a.jsx)(r.X,{client:_,children:(0,a.jsxs)(d.Kq,{store:E.current,children:[(0,a.jsx)(C,{apolloClient:_}),(0,a.jsx)(R,{}),(0,a.jsx)(m.C,{children:(0,a.jsxs)(l.UR,{locale:"en-US",enableInspectorMode:y,enableLiveUpdates:y,targetOrigin:[...p.R],debugMode:!1,children:[(0,a.jsx)(D,{}),e]})})]})})})}},28702:(e,t,s)=>{"use strict";s.d(t,{C:()=>y,K:()=>N});var a=s(95155),r=s(99505),l=s(12115),i=s(67884),n=s(97873);let o="https://usc-radio-group.firebaseio.com",c="G-LPQPVR4MQP",d={apiKey:"AIzaSyDQCV1J_eLr6CPrVixC-XAwlcKSYJEWC5s",authDomain:"usc-radio-group.firebaseapp.com",projectId:"usc-radio-group",storageBucket:"usc-radio-group.firebasestorage.app",messagingSenderId:"606705284432",appId:"1:606705284432:web:c6694fa6fcae48eda56855"};o&&(d.databaseURL=o),c&&(d.measurementId=c);let m=0===(0,n.Dk)().length?(0,n.Wp)(d):(0,n.Sx)(),u=async()=>await (0,r.TT)()?(0,r.dG)(m):null,h=async()=>{try{let e=await u();if(e)return(0,r.gf)(e,{vapidKey:"BBBxntZLvXnmLw0uroNiqpJAHEBvurTFHVw9KExN8zvRddaAt1ZigrN4M2hFfmX9bPHaG8nsmKQd7R2QcSieSEE"});return null}catch(e){return console.error("An error occurred while fetching the token:",e),null}};async function p(){return"Notification"in window?"granted"===Notification.permission?"granted":(console.warn("Notification permission not granted."),null):(console.warn("This browser does not support desktop notification"),null)}var x=s(99765),f=s(90729),g=s(19506),b=s(85219),v=s(37662),w=s(66195);let j=(0,l.createContext)(null),y=({children:e})=>{let t=(0,v.j)(),{setNotificationHistory:n,clearNotificationHistory:o,setNotificationCategories:c}=w.GM.actions,{notificationHistory:d,notificationFilter:m}=(0,v.G)(e=>e.globalReducer),[y,N]=(0,l.useState)(null),[_,E]=(0,l.useState)(null),[A,C]=(0,l.useState)(!1),[S,k]=(0,l.useState)(!1),I=(0,l.useRef)(!1),[T,M]=(0,l.useState)({allowPush:!0,allowNotificationCenter:!0}),{user:R,snapshot:$}=(0,v.G)(e=>
1e.authReducer),D=R?.hubspotId||$?.hubspotId||null,L=(0,b.x)(),{push:F}=(0,g.I)(),O=async(e,t)=>{try{return await L({apiEndpoint:"https://api.classicalcalifornia.org/firebase/update-user",body:{token:e,hubspotId:t},method:"POST",headers:{Authorization:`Bearer ${e}`}}),e}catch(e){return console.error("An error occurred while saving to firestore:",e),null}},P=async(e,t,s,a)=>{try{let r=(0,f.R5)("accessToken");return await L({apiEndpoint:"https://api.classicalcalifornia.org/firebase/update-notifications-status",body:{hubspotId:e,notificationIds:t,status:s,hubspotTrackData:a},method:"POST",headers:{Authorization:`Bearer ${r}`}}),r}catch(e){return console.error("An error occurred while saving to firestore:",e),null}},G=async e=>{N(e),(e||D)&&(await O(e,D),C(!0))},U=async e=>{await O(y,e.hubspotId),C(!0)},Z=(e,a)=>D?P(D,e,a,{userAgent:s.g.window.navigator.userAgent,pageUrl:s.g.window.location.href,type:"browser"}).then(()=>{"CLICKED"===a&&t(n(d.map(t=>e.includes(t.id)?{...t,status:"CLICKED"}:t)))}):Promise.resolve(),Y=(0,l.useCallback)(({hubspotId:e=null,filter:s})=>{let a=(0,f.R5)("accessToken");a&&e&&!I.current&&(I.current=!0,k(!0),L({apiEndpoint:(0,x.pq)(e,100,0,s),method:"GET",headers:{Authorization:`Bearer ${a}`}}).then(({data:e})=>{s||t(c(["All",...e.map(e=>e.category).filter((e,t,s)=>e&&s.indexOf(e)===t).sort((e,t)=>e.localeCompare(t))])),t(n(e))}).finally(()=>{I.current=!1,k(!1)}))},[t,L]),B=(0,l.useCallback)(e=>{Y({hubspotId:D,filter:e})},[Y,D]),H=(0,l.useCallback)(async()=>{if(!D)return;let e=(0,f.R5)("accessToken");L({apiEndpoint:`https://api.classicalcalifornia.org/firebase/user-permissions?hubspotId=${D}`,method:"GET",headers:{"Content-Type":"application/json",Authorization:`Bearer ${e}`}}).then(({data:e})=>{M({allowPush:e?.allowPush,allowNotificationCenter:e?.allowNotificationCenter})}).catch(()=>{M({allowPush:!1,allowNotificationCenter:!1})})},[L,D]),V=(0,l.useCallback)(async e=>{if(!D)return;let t=(0,f.R5)("accessToken");M({...T,...e}),L({apiEndpoint:"https://api.classicalcalifornia.org/firebase/update-user-permissions",method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${t}`},body:{hubspotId:D,status:{...T,...e}}}).then(()=>{T?.allowNotificationCenter!==e?.allowNotificationCenter&&Y({hubspotId:D})}).catch(()=>{M({allowPush:!1,allowNotificationCenter:!1})})},[L,Y,D,T]);(0,l.useEffect)(()=>{if(!D){t(o()),C(!1),M({allowPush:!1,allowNotificationCenter:!0});return}(A||!y)&&(H().then(),Y({hubspotId:D}),A&&C(!1))},[o,t,y,A,Y,H,D]),(0,l.useEffect)(()=>{let e=e=>{"navigate"===e.data.action&&e.data.url&&F(e.data.url)};return navigator?.serviceWorker?.addEventListener("message",e),()=>{navigator?.serviceWorker?.removeEventListener("message",e)}},[F]),(0,l.useEffect)(()=>{let e=()=>{"visible"===s.g.window.document.visibilityState&&D&&Y({hubspotId:D,filter:m})};return document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e)}},[Y,m,D]),(0,l.useEffect)(()=>{let e=null;return(async()=>{if(!y)return;let e=await u();if(e)return(0,r.xD)(e,e=>{"granted"===Notification.permission&&(console.warn("Foreground push notification received:",e),Y({hubspotId:D}))})})().then(t=>{t&&(e=t)}),()=>e?.()},[y,Y,D]),(0,l.useEffect)(()=>{"Notification"in window||i.Fr||i.v1?"granted"===_&&h().then(e=>G(e)):console.warn("This browser does not support desktop notification")},[_]),(0,l.useEffect)(()=>{p().then(e=>{E(e)})},[]);let z=(0,l.useMemo)(()=>({fcmToken:y,setHubspotIdToFirebase:U,changeNotificationStatus:Z,updateUserPermissions:V,userPermissions:T,setUserPermissions:M,permission:_,setPermission:E,loadHistoryWithCategory:B,isLoadingHistory:S}),[y,U,V,T,M,_,E,B,S]);return(0,a.jsx)(j.Provider,{value:z,children:e})},N=()=>{let e=(0,l.useContext)(j);if(!e)throw Error("useFirebaseContext must be within a FirebaseContext");return e}},30931:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(95155);s(12115);let r=e=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...e,children:(0,a.jsx)("path",{stroke:"#201E1C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5.833 8.333 10 12.5l4.166-4.167"})})},32978:()=>{},39085:(e,t,s)=>{"use strict";s.d(t,{c:()=>r});var a=s(9339);let r=(0,a.createServerReference)("404b77cd1736ac7f6218ac25e1aaaec1b0d0390a46",a.callServer,void 0,a.findSourceMapURL,"loadArticles")},40067:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(95155);let r=e=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32",fill:"none",...e,children:[(0,a.jsx)("circle",{cx:16,cy:16,r:16,fill:"#F8F8F8",fillOpacity:.1}),(0,a.jsx)("path",{stroke:"#201E1C",strokeWidth:3,d:"m13.714 9.143 6.4 6.857-6.4 6.857"})]})},40294:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(95155);s(12115);let r=e=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",...e,children:[(0,a.jsx)("g",{clipPath:"url(#a)",children:(0,a.jsx)("path",{fill:"currentColor",d:"M6.83 6.431a3.214 3.214 0 0 1 0-4.5 3.104 3.104 0 0 1 4.432 0l.738.75.738-.75a3.104 3.104 0 0 1 4.433 0 3.214 3.214 0 0 1 0 4.5l-4.233 4.3a1.305 1.305 0 0 1-.938.392c-.342 0-.68-.13-.938-.392l-4.233-4.3Zm.978 8.963c-.329 0-.65.096-.925.279l-3.329 2.22A1.006 1.006 0 0 1 3 18.06H1c-.554 0-1-.445-1-1 0-.554.446-1 1-1h1.696l3.075-2.05a3.66 3.66 0 0 1 2.037-.616h6.525A2.67 2.67 0 0 1 17 16.06v.084l2.704-1.667a2.804 2.804 0 0 1 1.48-.417h.308a2.513 2.513 0 0 1 1.366 4.621l-3.983 2.58a4.993 4.993 0 0 1-2.717.804H1c-.554 0-1-.446-1-1 0-.555.446-1 1-1h15.154c.58 0 1.146-.167 1.63-.484l3.983-2.579a.51.51 0 0 0-.28-.942h-.308c-.15 0-.3.042-.429.121l-3.896 2.396c-.
1158.096-.337.15-.525.15h-5.662c-.554 0-1-.446-1-1s.446-1 1-1h3.666c.367 0 .667-.3.667-.667 0-.366-.3-.666-.667-.666H7.808Z"})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"a",children:(0,a.jsx)("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]})},42850:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var a=s(95155),r=s(12115),l=s(58719),i=s(37662),n=s(66195);let o={SUCCESS:{bg:"bg-[#DEFFF6]",color:"text-success",icon:(0,a.jsx)(e=>(0,a.jsx)("svg",{width:18,height:18,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,a.jsx)("path",{d:"M9 1.5C4.86 1.5 1.5 4.86 1.5 9c0 4.14 3.36 7.5 7.5 7.5 4.14 0 7.5-3.36 7.5-7.5 0-4.14-3.36-7.5-7.5-7.5ZM6.968 12.217 4.274 9.525a.748.748 0 1 1 1.057-1.058l2.168 2.16 5.16-5.16a.748.748 0 1 1 1.057 1.058l-5.692 5.692a.747.747 0 0 1-1.058 0Z",fill:"currentColor"})}),{})},WARNING:{bg:"bg-[#FFF2E9]",color:"text-[#EE7C13]",icon:(0,a.jsx)(e=>(0,a.jsx)("svg",{width:18,height:18,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,a.jsx)("path",{d:"M1.653 13.796A1.2 1.2 0 0 0 2.689 15.6h12.622a1.2 1.2 0 0 0 1.036-1.804l-6.31-10.819a1.2 1.2 0 0 0-2.074 0l-6.31 10.819Zm8.11-.47H8.237v-1.515h1.527v1.516Zm0-3.031H8.237V7.263h1.527v3.032Z",fill:"#EE7C13"})}),{})},ERROR:{bg:"bg-[#FFF0F0]",color:"text-red",icon:(0,a.jsx)(e=>(0,a.jsx)("svg",{width:18,height:18,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,a.jsx)("path",{d:"M11.735 2.4h-5.47L2.4 6.265v5.47L6.265 15.6h5.47l3.865-3.864v-5.47L11.735 2.4ZM9 12.887a.951.951 0 0 1-.953-.953c0-.528.425-.954.953-.954s.953.426.953.954a.951.951 0 0 1-.953.953Zm.733-3.153H8.267v-4.4h1.466v4.4Z",fill:"#EB2121"})}),{})},INFO:{bg:"bg-[#EAF1FF]",color:"text-[#2F6FED]",icon:(0,a.jsx)(e=>(0,a.jsx)("svg",{width:18,height:18,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,a.jsx)("path",{d:"M9 1.8A7.203 7.203 0 0 0 1.8 9c0 3.974 3.225 7.2 7.2 7.2 3.974 0 7.2-3.226 7.2-7.2 0-3.975-3.226-7.2-7.2-7.2Zm.72 10.8H8.28V8.28h1.44v4.32Zm0-5.76H8.28V5.4h1.44v1.44Z",fill:"#2F6FED"})}),{})}},c=(0,r.memo)(({children:e,type:t,title:s,className:r,isShowCloseButton:c=!1})=>{let d=(0,i.j)(),{setGlobalNotification:m}=n.GM.actions;return(0,a.jsxs)("div",{className:`${r} flex p-1.5 rounded-lg ${o[t].bg} ${o[t].color} ${c?"shadow-[0px_0px_8px] shadow-black/20 border":""}`,children:[c&&(0,a.jsx)("button",{type:"button",className:"absolute right-3 top-3",onClick:()=>d(m({status:!1})),children:(0,a.jsx)(l.A,{})}),(0,a.jsx)("div",{children:o[t].icon}),(0,a.jsxs)("div",{className:"ml-1.5",children:[(0,a.jsx)("h3",{className:"font-bold text-sm",children:s}),(0,a.jsx)("p",{className:"text-sm leading-4 first-letter:uppercase text-stone_s1",children:e})]})]})})},43276:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var a=s(95155),r=s(12115),l=s(72953),i=s(1066),n=s(59851),o=s(25224);let c=(0,r.memo)(({hideText:e,iconSize:t})=>{let{brand:s,getTooltipByKey:c}=(0,l.y)(),d=(0,r.useMemo)(()=>c("google_play_link")??"Download Android app",[c]),m=(0,r.useMemo)(()=>c("app_store_link")??"Download Ios app",[c]);return(0,a.jsxs)("div",{className:`sm:flex-col ${e?"justify-center":""}`,children:[e?null:(0,a.jsx)("p",{className:"text-ivory text-[17px] mb-3 font-bold",children:"Download Our Mobile App"}),(0,a.jsxs)("div",{className:`flex gap-x-4 ${"small"===t?"gap-x-3 lg:flex-row":"gap-y-4 flex-col md:flex-row"}`,children:[s?.appStoreUrl?(0,a.jsx)(i.A,{href:s?.appStoreUrl||"/",className:`download-app-btn ${"small"===t?"download-app-btn__small":"order-2"} transition-all duration-[.4s] hover:opacity-[0.8]`,"aria-label":m,title:m,children:(0,a.jsx)(n.A,{})}
1):null,s?.playMarketUrl?(0,a.jsx)(i.A,{href:s.playMarketUrl||"/",className:`download-app-btn ${"small"===t?"download-app-btn__small":"order-1"} transition-all duration-[.4s] hover:opacity-[0.8]`,"aria-label":d,title:d,children:(0,a.jsx)(o.A,{})}):null]})]})})},45059:(e,t,s)=>{"use strict";s.d(t,{x:()=>r});let a=["/our-story"],r=e=>a.includes(e)},46224:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(95155);s(12115);let r=e=>(0,a.jsx)("svg",{width:12,height:8,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,a.jsx)("path",{d:"m1 1.5 5 5 5-5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})})},52835:(e,t,s)=>{"use strict";s.d(t,{iJ:()=>l});var a=s(16763),r=s(35264);let l=(0,a.J1)`
2  ${r.n}
3  query Articles ($limit:Int!, $skip:Int) {
4    articleCollection(limit: $limit, skip: $skip, order: publishDate_DESC) {
5      total
6      items {
7        ... ArticleCardFields
8      }
9    }
10  }`;(0,a.J1)`
11${r.n}
12query ArticlesForHostList($limit: Int!, $skip: Int) {
13  articleCollection(limit: $limit, skip: $skip, where: {author: {type: "Host"}}, order: publishDate_DESC) {
14    total
15    items {
16      ... ArticleCardFields
17    }
18  }
19}`,(0,a.J1)`
20${r.n}
21query ArticlesByAuthor($id: String!, $limit: Int!, $skip: Int, $preview: Boolean) {
22  articleCollection(limit: $limit, skip: $skip, order: publishDate_DESC, where: {author: {sys: {id: $id}}}, preview: $preview) {
23    total
24    items {
25      ... ArticleCardFields
26    }
27  }
28}`},53045:(e,t,s)=>{Promise.resolve().then(s.bind(s,10482)),Promise.resolve().then(s.bind(s,96794)),Promise.resolve().then(s.bind(s,72953)),Promise.resolve().then(s.bind(s,30565)),Promise.resolve().then(s.bind(s,90285)),Promise.resolve().then(s.bind(s,26300)),Promise.resolve().then(s.t.bind(s,42593,23)),Promise.resolve().then(s.t.bind(s,70120,23)),Promise.resolve().then(s.t.bind(s,13524,23)),Promise.resolve().then(s.bind(s,25497)),Promise.resolve().then(s.t.bind(s,32978,23))},54032:(e,t,s)=>{"use strict";s.d(t,{A:()=>r,R:()=>a});let a=(0,s(37620).Z0)({name:"auth",initialState:{user:null,snapshot:null,status:"unknown"},reducers:{setLoggedIn(e,t){e.user={...t.payload},e.status="authenticated"},setLoggedOut(e){e.user=null,e.snapshot=null,e.status="guest"},updateUser(e,t){e.user={...e.user,...t.payload}},setAuthSnapshot(e,t){e.snapshot=t.payload},clearAuthSnapshot(e){e.snapshot=null},setAuthStatus(e,t){e.status=t.payload}}}),r=a.reducer},56065:e=>{"use strict";e.exports={currentBrandSchema:{location:"Southern",initialStation:"KUSC",images:{downloadAppBg:"/images/kusc/download-app-bg.webp",downloadAppBgSm:"/images/kusc/download-app-bg-sm.webp",downloadAppBgMd:"/images/kusc/download-app-bg-md.webp",downloadAppBgLg:"/images/kusc/download-app-bg-lg.webp"},styles:{mainBg:"#FEFBF7",secondColor:"#FFA564",hoverShadow:"0px 3px 15px rgba(206, 22, 22, 0.3)",playlistShadow:"0px 3px 15px rgba(255, 165, 100, 0.5)",historyNavShadow:"4px 4px 8px 0px rgba(255, 218, 174, 0.64) inset, -4px -4px 4px 0px rgba(255, 218, 174, 0.20) inset",profileInfoUserBgBox:"url(/images/cc/info.webp)",pledgeWave:"url(/images/cc/pledge-wave.webp)",profileHover:"#FF5D45",supportCircleThirdColor:"#FF7A00",donate:"#FEC205",donate_h:"#FFD26E",donate_a:"#ECA200",s_donate:"#FEC205",s_donate_h:"#FFD26E",s_donate_a:"#ECA200",primary:"#FF8F6C",primary_h:"#FD6C22",primary_a:"#E65003",secondary:"#FFC6C0",secondary_h:"#FFA08A",secondary_a:"#FF8F6C"}}}},58747:(e,t,s)=>{"use strict";s.d(t,{u:()=>a});let a=(e,t=null)=>e?.reduce((e,s)=>{if(s){let a=t?.find(e=>e.id===s.sys.id);return[...e,{id:s.sys.id,c:a?.c??0,i:a?.i??0}]}return e},[])??null},59851:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(95155);let r=e=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:48,fill:"none",viewBox:"0 0 112 32",...e,children:[(0,a.jsx)("path",{fill:"#000",d:"M110.771 28.31c0 1.705-1.41 3.087-3.154 3.087H4.391c-1.744 0-3.159-1.382-3.159-3.087V3.695C1.232 1.99 2.647.604 4.391.604h103.225c1.745 0 3.154 1.386 3.154 3.09l.001 24.616Z"}),(0,a.jsx)("path",{fill:"#A6A6A6",d:"M107.284.641c1.899 0 3.445 1.507 3.445 3.359v24c0 1.852-1.546 3.359-3.445 3.359H4.72c-1.9 0-3.445-1.507-3.445-3.359V4C1.275 2.148 2.82.641 4.72.641h102.564Zm0-.641H4.72C2.464 0 .617 1.801.617 4v24c0 2.199 1.847 4 4.103 4h102.564c2.25
285 0 4.102-1.801 4.102-4V4c0-2.199-1.847-4-4.102-4Z"}),(0,a.jsx)("path",{fill:"#fff",d:"M25.338 15.827c-.024-2.578 2.165-3.833 2.265-3.891-1.24-1.762-3.161-2.003-3.837-2.022-1.613-.166-3.179.941-4.001.941-.839 0-2.105-.925-3.47-.898-1.755.026-3.398 1.017-4.299 2.557-1.86 3.138-.472 7.75 1.309 10.287.891 1.242 1.932 2.63 3.295 2.58 1.333-.053 1.831-.828 3.44-.828 1.595 0 2.063.829 3.452.797 1.431-.022 2.332-1.248 3.192-2.501 1.03-1.424 1.444-2.827 1.46-2.899-.034-.01-2.78-1.032-2.806-4.123ZM22.712 8.245c.717-.875 1.208-2.064 1.072-3.271-1.038.044-2.336.7-3.084 1.555-.661.753-1.252 1.989-1.1 3.15 1.167.085 2.364-.573 3.112-1.434ZM44.633 25.203H42.77l-1.02-3.127h-3.548l-.973 3.127h-1.814l3.515-10.646h2.171l3.532 10.646Zm-3.191-4.44-.923-2.78c-.098-.283-.281-.952-.55-2.005h-.034c-.107.453-.28 1.122-.518 2.006l-.907 2.78h2.932ZM53.673 21.27c0 1.306-.362 2.338-1.085 3.096-.649.674-1.453 1.01-2.414 1.01-1.037 0-1.782-.363-2.236-1.089h-.033v4.044h-1.75v-8.277c0-.821-.022-1.664-.064-2.528h1.538l.098 1.217h.033c.583-.917 1.468-1.374 2.657-1.374.928 0 1.704.357 2.324 1.073.622.717.932 1.66.932 2.828Zm-1.782.063c0-.747-.172-1.363-.518-1.848-.379-.506-.887-.759-1.523-.759-.432 0-.824.141-1.175.419-.35.28-.58.645-.688 1.098a2.184 2.184 0 0 0-.081.52v1.28c0 .559.175 1.03.527 1.415.35.384.807.576 1.368.576.66 0 1.172-.248 1.539-.742.367-.495.551-1.148.551-1.96ZM62.729 21.27c0 1.306-.362 2.338-1.086 3.096-.648.674-1.453 1.01-2.413 1.01-1.038 0-1.783-.363-2.236-1.089h-.032v4.044h-1.75v-8.277c0-.821-.022-1.664-.065-2.528h1.539l.098 1.217h.032c.583-.917 1.468-1.374 2.657-1.374.928 0 1.704.357 2.325 1.073.62.717.931 1.66.931 2.828Zm-1.782.063c0-.747-.173-1.363-.52-1.848-.378-.506-.884-.759-1.522-.759-.432 0-.823.141-1.175.419-.35.28-.58.645-.687 1.098a2.226 2.226 0 0 0-.081.52v1.28c0 .559.175 1.03.525 1.415.35.384.807.576 1.37.576.659 0 1.172-.248 1.538-.742.368-.495.552-1.148.552-1.96ZM72.854 22.218c0 .905-.322 1.642-.97 2.21-.711.622-1.701.933-2.974.933-1.175 0-2.117-.22-2.83-.663l.405-1.422c.768.453 1.611.68 2.53.68.658 0 1.17-.145 1.54-.435.366-.29.55-.678.55-1.163 0-.432-.152-.796-.455-1.091-.3-.296-.804-.57-1.506-.824-1.912-.695-2.867-1.713-2.867-3.053 0-.875.335-1.592 1.005-2.15.668-.56 1.56-.84 2.673-.84.994 0 1.82.17 2.478.506l-.437 1.39c-.615-.325-1.311-.489-2.09-.489-.615 0-1.096.148-1.44.443a1.25 1.25 0 0 0-.438.964c0 .42.166.769.501 1.042.292.253.82.526 1.589.822.94.369 1.63.8 2.073 1.294.442.493.663 1.11.663 1.846ZM78.638 18.807H76.71v3.727c0 .948.34 1.421 1.02 1.421.313 0 .572-.026.777-.079l.049 1.295c-.345.126-.799.19-1.36.19-.692 0-1.231-.206-1.621-.617-.388-.411-.584-1.1-.584-2.07v-3.869h-1.148v-1.28h1.148v-1.406l1.719-.505v1.911h1.928v1.282ZM87.338 21.302c0 1.18-.346 2.148-1.037 2.906-.725.78-1.686 1.169-2.885 1.169-1.155 0-2.075-.374-2.761-1.121-.686-.747-1.029-1.69-1.029-2.827 0-1.19.353-2.164 1.06-2.922.707-.758 1.66-1.137 2.86-1.137 1.155 0 2.084.373 2.786 1.121.671.726 1.006 1.663 1.006 2.81Zm-1.815.055c0-.708-.155-1.315-.47-1.822-.366-.613-.89-.918-1.57-.918-.703 0-1.237.306-1.604.918-.314.507-.47 1.124-.47 1.854 0 .708.156 1.315.47 1.82.378.613.907.919 1.589.919.667 0 1.192-.312 1.57-.934.323-.516.485-1.13.485-1.837ZM93.024 19.026a3.114 3.114 0 0 0-.551-.047c-.616 0-1.092.227-1.426.68-.292.4-.438.906-.438 1.516v4.028h-1.748l.016-5.26c0-.884-.022-1.69-.066-2.416h1.524l.064 1.469h.049c.184-.505.476-.911.874-1.216.39-.274.811-.411 1.265-.411.161 0 .307.01.437.03v1.627ZM100.847 21.002c0 .305-.02.563-.064.773h-5.248c.02.759.275 1.339.762 1.739.442.357 1.014.537 1.716.537.777 0 1.486-.121 2.124-.364l.274 1.184c-.745.317-1.625.475-2.64.475-1.22 0-2.179-.35-2.876-1.05-.696-.7-1.045-1.64-1.045-2.82 0-1.157.324-2.121.973-2.89.68-.821 1.598-1.231 2.753-1.231 1.135 0 1.994.41 2.577 1.23.462.653.694 1.46.694 2.417Zm-1.668-.443c.012-.505-.102-.942-.34-1.31-.302-.475-.767-.712-1.393-.712-.572 0-1.037.231-1.393.695a2.509 2.509 0 0 0-.518 1.326h3.644v.001ZM40.864 8.007c0 .942-.29 1.65-.869 2.126-.535.44-1.297.66-2.283.66-.49 0-.908-.021-1.258-.063V5.585c.457-.072.95-.108 1.481-.108.94 0 1.648.199 2.125.597.535.45.803 1.095.803 1.933Zm-.907.023c0-.61-.
28166-1.078-.497-1.405-.332-.325-.816-.488-1.453-.488-.271 0-.502.017-.693.054v3.911c.106.016.3.023.58.023.659 0 1.167-.178 1.525-.535.357-.357.538-.877.538-1.56ZM45.671 8.83c0 .58-.17 1.055-.51 1.428-.355.383-.827.574-1.416.574-.568 0-1.02-.183-1.358-.551-.336-.367-.504-.83-.504-1.389 0-.584.173-1.063.52-1.435.349-.372.816-.559 1.406-.559.567 0 1.024.184 1.369.55.328.358.493.818.493 1.382Zm-.892.027c0-.348-.077-.647-.23-.895-.18-.301-.438-.452-.772-.452a.866.866 0 0 0-.788.452c-.154.248-.23.552-.23.91 0 .348.076.646.23.895.186.301.445.451.78.451.328 0 .586-.152.772-.459.159-.253.238-.554.238-.902ZM52.117 6.975l-1.21 3.771h-.788l-.502-1.637c-.127-.41-.23-.816-.31-1.219h-.016a8.73 8.73 0 0 1-.311 1.219l-.532 1.637h-.797l-1.138-3.77h.883l.438 1.792c.106.424.192.828.262 1.21h.016c.064-.315.17-.716.32-1.202l.548-1.8h.7l.527 1.762c.127.43.23.843.31 1.241h.024c.058-.388.146-.801.262-1.241l.47-1.762h.844ZM56.575 10.746h-.86v-2.16c0-.665-.26-.998-.78-.998a.785.785 0 0 0-.62.274.96.96 0 0 0-.24.647v2.237h-.86V8.053c0-.331-.01-.69-.03-1.08h.755l.04.59h.024c.1-.183.25-.334.446-.455.233-.14.494-.212.78-.212.36 0 .66.114.9.342.296.279.445.696.445 1.25v2.258ZM58.946 10.746h-.86V5.245h.86v5.501ZM64.008 8.83c0 .58-.17 1.055-.509 1.428-.356.383-.829.574-1.417.574-.569 0-1.02-.183-1.357-.551-.337-.367-.505-.83-.505-1.389 0-.584.173-1.063.521-1.435.348-.372.816-.559 1.404-.559.569 0 1.024.184 1.37.55.329.358.493.818.493 1.382Zm-.892.027c0-.348-.077-.647-.23-.895-.18-.301-.438-.452-.771-.452a.865.865 0 0 0-.789.452c-.154.248-.23.552-.23.91 0 .348.077.646.23.895.187.301.446.451.78.451.329 0 .586-.152.771-.459.16-.253.239-.554.239-.902ZM68.17 10.746h-.772l-.064-.434h-.024c-.264.346-.64.52-1.13.52-.365 0-.66-.114-.883-.342a1.057 1.057 0 0 1-.302-.768c0-.46.197-.812.593-1.055.395-.243.952-.362 1.668-.357v-.07c0-.497-.267-.745-.803-.745-.382 0-.718.094-1.009.28l-.175-.551c.36-.217.804-.326 1.327-.326 1.011 0 1.518.52 1.518 1.56v1.39c0 .376.02.676.056.898Zm-.893-1.296V8.87c-.948-.016-1.422.237-1.422.76 0 .197.054.344.164.442a.61.61 0 0 0 .42.147.883.883 0 0 0 .527-.174.713.713 0 0 0 .311-.594ZM73.057 10.746h-.764l-.04-.605h-.023c-.244.46-.66.69-1.243.69a1.47 1.47 0 0 1-1.162-.534c-.307-.357-.46-.82-.46-1.39 0-.61.166-1.104.5-1.482a1.559 1.559 0 0 1 1.194-.528c.52 0 .883.17 1.09.512h.016V5.245h.861V9.73c0 .367.01.706.03 1.016Zm-.892-1.59v-.629c0-.109-.008-.197-.023-.264a.95.95 0 0 0-.311-.508.858.858 0 0 0-.576-.206.89.89 0 0 0-.756.373c-.183.249-.276.567-.276.955 0 .372.088.675.264.908a.893.893 0 0 0 .752.372.837.837 0 0 0 .68-.31c.165-.192.246-.422.246-.691ZM80.41 8.83c0 .58-.17 1.055-.51 1.428-.355.383-.826.574-1.416.574-.567 0-1.02-.183-1.357-.551-.337-.367-.505-.83-.505-1.389 0-.584.173-1.063.521-1.435.348-.372.816-.559 1.406-.559.567 0 1.024.184 1.368.55.329.358.493.818.493 1.382Zm-.89.027c0-.348-.078-.647-.231-.895-.182-.301-.438-.452-.772-.452a.868.868 0 0 0-.789.452c-.154.248-.23.552-.23.91 0 .348.077.646.23.895.186.301.446.451.78.451.329 0 .587-.152.773-.459.158-.253.238-.554.238-.902ZM85.034 10.746h-.859v-2.16c0-.665-.26-.998-.78-.998a.782.782 0 0 0-.62.274.955.955 0 0 0-.24.647v2.237h-.86V8.053c0-.331-.01-.69-.03-1.08h.754l.04.59h.024c.101-.183.25-.334.446-.455.234-.14.494-.212.78-.212.36 0 .66.114.9.342.297.279.445.696.445 1.25v2.258ZM90.822 7.603h-.947v1.832c0 .465.168.698.501.698.154 0 .282-.013.383-.039l.022.636c-.17.062-.393.094-.668.094-.34 0-.603-.101-.795-.303-.192-.201-.287-.54-.287-1.017V7.603h-.565v-.628h.565v-.691l.843-.248v.938h.947v.629ZM95.373 10.746h-.86V8.602c0-.676-.26-1.014-.779-1.014-.399 0-.671.196-.82.588a1.03 1.03 0 0 0-.04.301v2.268h-.86v-5.5h.86v2.272h.016c.27-.413.659-.62 1.162-.62.356 0 .65.114.884.342.291.284.437.706.437 1.265v2.242ZM100.069 8.682c0 .15-.011.277-.032.38h-2.579c.012.373.135.657.374.854.218.176.5.264.844.264.381 0 .73-.06 1.043-.178l.134.582c-.366.155-.798.233-1.298.233-.599 0-1.07-.172-1.412-.516-.343-.344-.513-.806-.513-1.385 0-.569.159-1.042.478-1.42.333-.403.783-.605 1.352-.605.556 0 .979.202 1.265.605.23.32.344.716.344 1.186Zm-.82-.216a1.107 1.107 0 0 0-.167-.644c-.15-.233-.377-.35-.684-.35-.28 0-.51.114-.685.342a1.251 1.251 0 0 0-.255.652h1.79Z"})]})},63263:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});let a={src:"/_next/static/media/plug.a245161b.webp",height:256,width:256,blurDataURL:"data:image/webp;base64,UklGRi4AAABXRUJQVlA4ICIAAACQAQCdASoIAAgAAkA4JaQAAudGFIAA/v02gc1fyEdhIAAA",blurWidth:8,blurHeight:8}},67117:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(12115),r=s(37662),l=s(66195);let i=()=>{let e=(0,r.j)(),{closePopup:t}=l.GM.actions,{isModalBaseOpen:s,activeModalName:i,activeModalProps:n}=(0,r.G)(e=>e.globalReducer),{toggleModalBase:o,setActiveModalName:c,setActiveModalProps:d}=l.GM.actions,m=(0,a.useCallback)(({status:a=!s,name:r="",props:l=null})=>{e(o(a)),e(c(r)),e(d(l)),e(t())},[e,o,c,s,t,d]);return{isModalBaseOpen:s,activeModalName:i,activeModalProps:n,toggleModalBaseWithName:m,toggleModalByName:(0,a.useCallback)((t="",s=null)=>{e(c(t)),e(d(s))},[e,c,d])}}},72953:(e,t,s)=>{"use strict";s.d(t,{InitialAppContextProvider:()=>p,y:()=>x});var a=s(95155),r=s(73321),l=s(12115),i=s(58747),n=s(90729);let o="donate.classicalcalifornia.org";var c=s(4203),d=s(45059),m=s(56065);let u=(0,l.createContext)(null),h={__typename:"AdvertisementCollection",items:[]},p=({children:e,allAdList:t=null,brandName:s,advertisementStat:p=null,brand:x,navigation:f,preview:g})=>{let b=(0,r.usePathname)(),[v,w]=(0,l.useState)(!1),j=g||v,y=m.currentBrandSchema,[N,_]=(0,l.useState)(null),[E,A]=(0,l.useState)(t),C=(0,d.x)(b);(0,l.useEffect)(()=>{w((0,c.h)())},[]);let S=(0,l.useCallback)(()=>(0,n.R5)("CC-adv-stat")||null,[]);(0,l.useEffect)(()=>
28{if(null!==E)return;let e=new AbortController,t=new URLSearchParams({preview:j?"true":"false"});return fetch(`/api/ads/bootstrap?${t.toString()}`,{method:"GET",signal:e.signal}).then(async e=>e.ok?(await e.json()).advertisementCollection??h:h).then(e=>{A(e)}).catch(e=>{e instanceof Error&&"AbortError"===e.name||A(h)}),()=>{e.abort()}},[E,j]);let k=(0,l.useMemo)(()=>p||(0,i.u)(E?.items,S()??[]),[E,S,p]),I=(0,l.useCallback)((e,t)=>{let s=S(),a="clicks"===t?"c":"i";return s?.map(t=>t.id===e?{...t,[a]:t[a]+1}:t)||null},[S]),T=(0,l.useCallback)((e,t)=>{let a=I(e,t);(0,n.D8)(`${s}-adv-stat`,a)},[s,I]),M=(0,l.useCallback)(e=>{T(e,"impressions")},[T]),R=(0,l.useCallback)(e=>{T(e,"clicks")},[T]),$=(0,l.useCallback)(e=>f[e],[f]),D=(0,l.useMemo)(()=>N?{...N.ccConfig,...N.ccConfig?.donationUrl&&{donationUrl:(e=>{try{let t=new URL(e);if(t.host===o)return e;return t.host=o,t.searchParams.append("refreshcache",""),t.toString().replace("refreshcache=","refreshcache")}catch{return e}})(N.ccConfig?.donationUrl)}}:null,[N]),L=(0,l.useMemo)(()=>D?.donationUrl||null,[D]),F=(0,l.useMemo)(()=>y?.styles??{},[y?.styles]),O=(0,l.useCallback)(e=>x?.tooltipsJson?.data?.[e]??null,[x]);(0,l.useEffect)(()=>{k&&(0,n.D8)(`${s}-adv-stat`,k)},[k,s]);let P=(0,l.useMemo)(()=>({allAdList:E,totalActive:k?.length??0,getListFromCache:S,setImpression:M,setClicked:R,brand:x,brandName:s,brandLabel:"Classical California",brandSchema:y,getNavigation:$,preview:j,donationUrl:L,currentStream:N,setCurrentStream:_,brandStyles:F,currentStreamConfig:D,getTooltipByKey:O,isOurStory:C}),[E,k,s,y,N,D,L,$,S,g,_,R,M,F,O,x,C]);return(0,a.jsx)(u.Provider,{value:P,children:(0,a.jsx)("div",{className:"CC",children:e})})},x=()=>{let e=(0,l.useContext)(u);if(!e)throw Error("useInitialAppContext must be within a InitialAppContext");return e}},77125:(e,t,s)=>{"use strict";s.d(t,{A:()=>N});var a=s(95155),r=s(12115),l=s(86038),i=s(72953),n=s(98673),o=s(16780),c=s(13731),d=s(40067),m=s(5772),u=s(98500),h=s.n(u),p=s(6716),x=s(63263),f=s(88067),g=s(86671),b=s(4836),v=s(67117);let w={RichVideo:"Video",Article:"Article",Video:"Video Series",Show:"Show",LandingPageContent:"Page",EventPage:"Event"},j=(0,r.memo)(({trackContentData:e})=>{let{toggleModalBaseWithName:t}=(0,v.A)(),s=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"min-w-[6rem] w-[6rem] h-[6rem] relative rounded-lg overflow-hidden",children:[(0,a.jsx)(m.default,{className:"object-cover object-center",src:e?.image?`${e?.image}?fit=thumb&h=96`:x.default,fill:!0,sizes:"100%",alt:e?.title||"Track content image",placeholder:f.ep}),e?.total&&(0,a.jsxs)("div",{className:"absolute z-1 bottom-0 left-0 px-1 py-1 w-full text-white bg-[rgba(0,_0,_0,_0.64)] text-sm flex items-center",children:[(0,a.jsx)(g.A,{className:"-mt-[6px] mr-1 w-[1rem] h-[1rem]"}),(0,a.jsxs)("span",{children:[e?.total," videos"]})]})]}),(0,a.jsxs)("div",{className:"flex flex-col w-full justify-between gap-0",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-stone_t0 uppercase text-[14px] font-normal mb-1",children:w[e?.typename]}),(0,a.jsx)("p",{className:"text-sm font-bold line-clamp-2 text-mineShaft",children:e?.title})]}),(0,a.jsx)("p",{className:"flex w-full justify-between",children:e?.category&&(0,a.jsx)("span",{className:"text-sm text-stone_t0 line-clamp-1",children:e?.category})})]})]});return(0,a.jsx)(a.Fragment,{children:e?.slug?(0,a.jsx)(h(),{href:e?.slug??"",className:"!flex w-full border border-solid border-stone_t2 rounded-2xl p-2 gap-2 ease-in duration-300 hover:shadow-[0px_3px_30px_rgba(0,0,0,0.2)]",children:s}):(0,a.jsxs)("div",{onClick:()=>{var s;(s=e?.modalContent)&&t({status:!0,name:p.MF.RICH_VIDEO,props:s})},className:"!flex w-full relative cursor-pointer border border-solid border-stone_t2 rounded-2xl p-2 gap-2 ease-in duration-300 hover:shadow-[0px_3px_30px_rgba(0,0,0,0.2)]",children:[s,(0,a.jsx)(b.A,{className:"z-1 w-[2rem] h-[2rem] absolute bottom-3 left-3 text-primary",width:32,height:32,viewBox:"8 6 60 60"})]})})}),y={dots:!1,speed:500,currentSlide:0,slidesToScroll:1,slidesToShow:3,swipeToSlide:!0,centerMode:!1,infinite:!0,nextArrow:(0,a.jsx)(function(e){let{onClick:t,className:s}=e,{getTooltipByKey:r}=(0,i.y)(),l=r("next_slide_button")??"Next";return(0,a.jsx)("button",{type:"button",className:s,onClick:t,title:l,"aria-label":l,children:(0,a.jsx)(d.A,{})})},{}),prevArrow:(0,a.jsx)(function(e){let{onClick:t,className:s}=e,{getTooltipByKey:r}=(0,i.y)(),l=r("prev_slide_button")??"Prev";return(0,a.jsx)("button",{type:"button",className:s,onClick:t,title:l,"aria-label":l,children:(0,a.jsx)(d.A,{})})},{}),responsive:[{breakpoint:991,settings:{arrows:!1,swipeToSlide:!0,dots:!0,slidesToScroll:1,slidesToShow:1}}]},N=(0,r.memo)(({trackData:e})=>(0,a.jsx)(l.A,{...y,infinite:e?.length>=3,className:"track-more-to-discover",children:e?.map(e=>{if(e?.entryType==="article")return(0,a.jsx)(j,{trackContentData:{typename:"Article",title:e?.title,image:e?.image?.file?.url?`https://${e?.
28image?.file?.url}`:null,publishDate:(0,o.$D)(e?.publishDate,"MM/DD/YYYY"),category:e?.tags?.[0]??null,slug:`${n.Nb.ARTICLES}/${e?.slug}`}},e.id);if(e?.entryType==="eventPage")return(0,a.jsx)(j,{trackContentData:{typename:"EventPage",title:e?.title,image:e?.image?.file?.url?`https://${e?.image?.file?.url}`:null,publishDate:(0,o.$D)(e?.publishDate,"MM/DD/YYYY"),category:e?.tags?.[0]??null,slug:`${n.Nb.EVENT_PAGE}/${e?.slug}`}},e.id);if(e?.entryType==="video")return(0,a.jsx)(j,{trackContentData:{typename:"Video",title:e?.title,total:e?.extraInfo?.videoSeriesCount,image:e?.image?.file?.url?`https://${e?.image?.file?.url}`:null,publishDate:(0,o.$D)(e?.publishDate,"MM/DD/YYYY"),slug:`${n.Nb.VIDEOS}/${e?.id}`}},e.id);if(e?.entryType==="richVideo"){let t=(0,c.A)(e?.extraInfo?.videoLink??""),s=e?.extraInfo?.videoLink?e?.image?.file?.url?`https://${e?.image?.file?.url}`:`https://img.youtube.com/vi/${t}/0.jpg`:e?.image?.file?.url?`https://${e?.image?.file?.url}`:null;return(0,a.jsx)(j,{trackContentData:{typename:"RichVideo",title:e?.title,total:e?.extraInfo?.videoSeriesCount,image:s,publishDate:(0,o.$D)(e?.publishDate,"MM/DD/YYYY"),slug:null,modalContent:{videoAsset:{url:e?.extraInfo?.videoAsset?.file?.url?"https:"+e?.extraInfo?.videoAsset?.file?.url:""},videoLink:e?.extraInfo?.videoLink??""}}},e.id)}if(e?.entryType==="show")return(0,a.jsx)(j,{trackContentData:{typename:"Show",title:e?.title,image:e?.image?.file?.url?`https://${e?.image?.file?.url}`:null,publishDate:(0,o.$D)(e?.publishDate,"MM/DD/YYYY"),category:e?.tags?.[0]??null,slug:`${n.Nb.ARTICLES}/${e?.slug}`}},e.id)})}))},85135:(e,t,s)=>{"use strict";s.d(t,{K:()=>r,T:()=>l});let a=e=>"string"==typeof e&&e.trim().length>0,r=e=>({isAuthorized:!0,name:e.name??"",picture:e.picture??"",hubspotId:e.hubspotId??"",dynamoID:e.dynamoID??"",updatedAt:e.updated_at??new Date().toISOString(),givenName:e.given_name,familyName:e.family_name}),l=e=>!!e&&"object"==typeof e&&!0===e.isAuthorized&&a(e.name)&&a(e.hubspotId)&&a(e.dynamoID)},86671:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(95155);let r=e=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...e,children:[(0,a.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8.75 5h8.125M6.875 10h10M6.875 15h10"}),(0,a.jsx)("path",{fill:"#fff",d:"M2.5 7.5 6.875 5 2.5 2.5v5ZM3.438 10.938a.937.937 0 1 0 0-1.875.937.937 0 0 0 0 1.874ZM3.438 15.938a.937.937 0 1 0 0-1.875.937.937 0 0 0 0 1.874Z"})]})},88067:(e,t,s)=>{"use strict";s.d(t,{ep:()=>r});let a={width:"100%",height:"100%",backgroundColor:"#ebebeb",lightColor:"#f5f5f5"},r=((e=a)=>{let t;return`data:image/svg+xml;base64,${t=(({width:e,height:t,backgroundColor:s,lightColor:r}=a)=>`<svg width="${e}" height="${t}" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
29        <defs>
30            <linearGradient id="g">
31                <stop stop-color="${s}" offset="25%" />
32                <stop stop-color="${r}" offset="50%" />
33                <stop stop-color="${s}" offset="75%" />
34            </linearGradient>
35        </defs>
36        <rect width="${e}" height="${t}" fill="${s}" />
37        <rect id="r" width="${e}" height="${t}" fill="url(#g)" />
38        <animate xlink:href="#r" attributeName="x" from="-${e}" to="${e}" dur="1s" repeatCount="indefinite"  />
39    </svg>`)(e),window.btoa(t)}`})()},95593:(e,t,s)=>{"use strict";s.d(t,{M:()=>n,h:()=>i});var a=s(12115),r=s(19506);let l=e=>{let t=new URLSearchParams(window.location.search);return Object.entries(e).forEach(([e,s])=>{null===s?t.delete(e):t.set(e,s)}),t.toString()},i=()=>{let{push:e,replace:t}=(0,r.I)();return(0,a.useCallback)((s,a=!1)=>{let r=l(s);a?t(`?${r}`):e(`?${r}`)},[e,t])},n=()=>(e,t=!1)=>{let s=l(e);t?window.history.replaceState(null,"",`?${s}`):window.history.pushState(null,"",`?${s}`)}},96794:(e,t,s)=>{"use strict";s.d(t,{default:()=>e1});var a=s(95155),r=s(7440),l=s(73321),i=s(12115),n=s(31415),o=s(6716),c=s(98673),d=s(45059),m=s(37206),u=s(5772),h=s(98500),p=s.n(h),x=s(72953),f=s(48786),g=s(43276),b=s(1066),v=s(93414),w=s(85243),j=s(89873),y=s(35505),N=s(95283),_=s(89140);let E=(0,i.memo)(({backgroundColor:e,iconColor:t,titleStyles:s,tabIndex:r,hoverColor:l,ariaRole:i,size:n})=>{let{brand:o,getTooltipByKey:c}=(0,x.y)(),d=c("find_us_insta")??"Find Us in Instagram",m=c("find_us_facebook")??"Find Us in Facebook",u=c("find_us_twit")??"Find Us in Twitter",h=c("find_us_youtube")??"Find Us in Youtube",p="Find Us in TikTok",f="Find Us in LinkedIn";return(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:s||"text-white tracking-[1px] text-xl mb-[1.375rem] font-bold leading-default-normal",children:"Find Us on Social Media"}),(0,a.jsxs)("div",{className:`flex gap-2 ${t||"dark"}`,children:[o?.instagramUrl&&(0,a.jsx)(b.A,{href:o.instagramUrl,rel:"noreferrer",title:d,"aria-label":d,role:i,tabIndex:r,className:`${e||"bg-white"} ${n} ${l||"hover:bg-stone_t2"} border border-[rgba(255,255,255,0.12)] rounded-full p-[0.25rem] flex items-center justify-center transition-all duration-[.4s]`,children:(0,a.jsx)(w.A,{})}),o?.facebookUrl&&(0,a.jsx)(b.A,{href:o.facebookUrl,rel:"noreferrer","aria-label":m,title:m,role:i,tabIndex:r,className:`${e||"bg-white"}  ${n} ${l||"hover:bg-stone_t2"} border border-[rgba(255,255,255,0.12)] rounded-full p-[0.25rem] flex items-center justify-center transition-all duration-[.4s]`,children:(0,a.jsx)(v.A,{})}),o?.twitterUrl&&(0,a.jsx)(b.A,{href:o.twitterUrl,rel:"noreferrer",title:u,"aria-label":u,role:i,tabIndex:r,className:`${e||"bg-white"}  ${n}  ${l||"hover:bg-stone_t2"} border border-[rgba(255,255,255,0.12)] rounded-full p-[0.25rem] flex items-center justify-center transition-all duration-[.4s]`,children:(0,a.jsx)(N.A,{})}),o?.youtubeUrl&&(0,a.jsx)(b.A,{href:o.youtubeUrl,rel:"noreferrer",title:h,"aria-label":h,role:i,tabIndex:r,className:`${e||"bg-white"}  ${n} ${l||"hover:bg-stone_t2"} border border-[rgba(255,255,255,0.12)] rounded-full p-[0.25rem] flex items-center justify-center transition-all duration-[.4s]`,children:(0,a.jsx)(_.A,{})}),o?.tikTokUrl&&(0,a.jsx)(b.A,{href:o.tikTokUrl,rel:"noreferrer",title:p,"aria-label":p,role:i,tabIndex:r,className:`${e||"bg-white"}  ${n} ${l||"hover:bg-stone_t2"} border border-[rgba(255,255,255,0.12)] rounded-full p-[0.25rem] flex items-center justify-center transition-all duration-[.4s]`,children:(0,a.jsx)(y.A,{})}),o?.linkedInUrl&&(0,a.jsx)(b.A,{href:o.linkedInUrl,rel:"noreferrer",title:f,"aria-label":f,role:i,tabIndex:r,className:`${e||"bg-white"}  ${n} ${l||"hover:bg-stone_t2"} border border-[rgba(255,255,255,0.12)] rounded-full p-[0.25rem] flex items-center justify-center transition-all duration-[.4s]`,children:(0,a.jsx)(j.A,{})})]})]})}),A=e=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",...e,children:(0,a.jsx)("path",{fill:"currentColor",d:"M15.88 9.29 12 13.17 8.12 9.29a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0Z"})});var C=s(86065);let S=(0,i.memo)(()=>{let[e,t]=(0,i.useState)([]),{getNavigation:s}=(0,x.y)(),r=(0,i.useMemo)(()=>s("footer"),[s]);return(0,a.jsx)("div",{className:"w-full grid grid-cols-[repeat(3,minmax(168px,_1fr))] gap-12 xl:!grid-cols-[repeat(3,minmax(120px,_1fr))] xl:gap-6 sm:flex sm:flex-col sm:items-start",children:r.map((s,r)=>{let l=e.includes(r);return(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsxs)("button",{type:"button",className:`nsm:hidden flex justify-between w-full text-ivory tracking-[1px] text-xl font-bold leading-default-normal py-1 ${l?"mb-4":""}`,onClick:()=>{let s;-1===(s=e.indexOf(r))?t([...e,r]):t(e.filter((e,t)=>
39t!==s))},children:[s.title,(0,a.jsx)("span",{className:`w-6 h-6 ml-2 transition-all transform ${l?"rotate-180":""}`,children:(0,a.jsx)(A,{className:"text-ivory"})})]}),(0,a.jsx)("p",{className:"sm:hidden text-ivory font-bold text-[17px] mb-[1.375rem]",children:s.title}),(0,a.jsx)("div",{className:`grid gap-2 ${l?"":"sm:hidden"}`,children:s.items.map((e,t)=>(0,a.jsx)(C.A,{className:"text-[18px] text-ivory leading-5 pb-3 sm:py-1 text-left w-fit hover:underline",item:e,prefetch:!1,parentContentfulId:s.sys.id},`footer-navigation-section-item-${r}-${t}`))})]},`footer-navigation-section-${r}`)})})}),k=(0,i.memo)(()=>{let{getNavigation:e}=(0,x.y)(),t=e("legalNavigation"),s=(0,i.useMemo)(()=>t.reduce((e,t)=>e.concat(t.items),[]),[t]);return(0,a.jsx)("div",{className:"flex leading-5 divide-x-[1px] gap-y-6 lg:flex-wrap",children:s.map((e,r)=>(0,a.jsx)(C.A,{item:e,parentContentfulId:t?.[0]?.sys?.id,prefetch:!1,className:`${0!==r?" text-ivory pl-4 pr-4 ":""}${r!==s.length-1?" text-ivory pr-4 ":""} hover:underline`},`legal-navigation-item-${r}`))})}),I=(0,m.default)(()=>Promise.resolve().then(s.bind(s,62735)),{loadableGenerated:{webpack:()=>[62735]},ssr:!1,loading:()=>(0,a.jsx)("div",{className:"min-h-[28rem] w-full","aria-hidden":"true"})}),T=new Date().getFullYear(),M=(0,i.memo)(()=>{let{brand:e,getTooltipByKey:t}=(0,x.y)(),s=(0,i.useMemo)(()=>t("home")??"Home",[t]);return(0,a.jsx)("footer",{className:"flex flex-col pt-6 z-1 relative bg-ivory_t1 min-h-[28rem]",children:(0,a.jsx)("div",{className:"footer",children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsxs)("div",{className:"text-sm font-medium leading-5 mb-[4.375rem] md:mb-0 grid grid-cols-[1fr,minmax(10rem,15rem),minmax(20rem,30rem)] place-items-start gap-y-12 gap-x-12 lg:gap-y-12 lg:grid-cols-2 sm:!gap-y-10 sm:!grid-cols-1",children:[(0,a.jsx)("div",{className:"flex items-center sm:col-span-2",children:(0,a.jsx)(p(),{href:c.Nb.HOME,prefetch:!1,className:"flex items-center relative w-[20.375rem] h-[6.5rem]","aria-label":s,title:s,children:(0,a.jsx)(u.default,{src:e?.whiteLogo?.url||"",priority:!1,className:"max-w-[20.375rem] max-h-[6.5rem] w-auto contain",fill:!0,alt:e?.whiteLogo?.description||e?.whiteLogo?.title})})}),(0,a.jsx)("div",{className:"lg:hidden"}),(0,a.jsx)("div",{className:"sm:col-span-2 sm:order-6",children:(0,a.jsx)(g.A,{iconSize:"small"})}),(0,a.jsxs)("div",{className:"w-full md:col-span-2 md:order-5 sm:col-span-1",children:[(0,a.jsx)(S,{}),(0,a.jsx)("div",{className:"mt-[3.25rem] md:mt-10",children:(0,a.jsx)(E,{size:"w-12 h-12",titleStyles:"text-ivory text-[17px] mb-[1.375rem] font-bold",backgroundColor:"bg-[rgba(255,255,255,0.04)]",iconColor:"text-ivory",hoverColor:"hover:bg-[rgba(255,255,255,0.12)]"})})]}),(0,a.jsx)("div",{className:"lg:order-6 lg:col-span-2 lg:flex lg:w-full lg:gap-x-12 sm:col-span-1 sm:flex-col"}),e?.newsletterForm?(0,a.jsxs)("div",{className:"md:w-full md:col-span-2 sm:col-span-1 min-h-[28rem]",children:[e?.newsletterForm?.type==="Default"&&(0,a.jsx)(f.A,{data:{formTitle:e.newsletterForm.formTitle,formId:e.newsletterForm.formId,formSubtitle:e.newsletterForm.formSubtitle,formWrapperStyles:"flex flex-col hubspot-form--footer",html:e.newsletterForm?.html,showTitle:!0}}),e?.newsletterForm?.type==="Legacy"&&(0,a.jsx)(I,{data:{formTitle:e.newsletterForm.formTitle,formId:e.newsletterForm.formId,formSubtitle:e.newsletterForm.formSubtitle,formWrapperStyles:"flex flex-col hubspot-form--footer",showTitle:!0}})]}):null]}),(0,a.jsxs)("div",{className:"flex items-center justify-between text-sm mb-6 mt-2 lg:flex-col lg:items-start lg:gap-5",children:[(0,a.jsx)(k,{}),(0,a.jsxs)("p",{className:"text-white leading-default-normal",children:["\xa9",T," Classical California"]})]})]})})})});var R=s(67884),$=s(31507),D=s.n($),L=s(9339);let F=(0,L.createServerReference)("40fb25030c8228f218f09cc25f65e64ef6568006e2",L.callServer,void 0,L.findSourceMapURL,"loadStream");var O=s(28702),P=s(40294);let G=e=>(0,a.jsxs)("svg",{width:"24",height:"24",viewBox:"1 1 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,a.jsx)("circle",{cx:12,cy:8.5,r:3,stroke:"#201E1C",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M12 14c5.16 0 6.522 1.767 6.877 3.508.22 1.082-.773 1.992-1.878 1.992H7c-1.104 0-2.098-.91-1.877-1.992C5.478 15.768 6.839 14 12 14Z",stroke:"#201E1C",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})]});var U=s(40379),Z=s(42850),Y=s(67117),B=s(44846),H=s(37662),V=s(66195),z=s(18348),K=s.n(z);let W=e=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",...e,children:(0,a.jsx)("path",{fill:"currentColor",d:"M12 3.5c-.632 0-1.143.503-1.143 1.125V5.3c-2.607.52-4.572 2.791-4.572 5.513v.893a6.968 6.968 0 0 1-1.564 4.39l-.532.658a.831.831 0 0 0-.104.893.859.859 0 0 0 .771.478h14.288a.859.859 0 0 0 .771-.478.831.831 0 0 0-.104-.893l-.532-.654a6.985 6.985 0 0 1-1.564-4.395v-.893c0-2.72-1.965-4.992-4.572-5.512v-.675c0-.622-.51-1.125-1.143-1.125Zm0 3.375c2.21 0 4 1.761 4 3.938v.893c0 1.684.497 3.325 1.418 4.732H6.582A8.632 8.632 0 0 0 8 11.706v-.893c0-2.177 1.79-3.938 4-3.938Zm2.286 12.375H9.714c0 .598.24 1.17.668 1.593.429.422 1.01.657 1.618.657.607 0 1.19-.235 1.618-.657.429-.422.668-.995.668-1.593Z"})}),J=e=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",...e,children:(0,a.jsx)("path",{fill:"currentColor",d:"M2.395 3.68a.876.876 0 0 0-1.212.144.832.832 0 0 0 .148 1.184l21.274 16.313a.876.876 0 0 0 1.212-.145.832.832 0 0 0-.148-1.184l-3.17-2.43a.834.834 0 0 0-.14-.808l-.535-.654a6.959 6.959 0 0 1-1.574-4.395v-1.174c0-2.664-1.995-4.872-4.6-5.277v-.629c0-.622-.514-1.125-1.15-1.125-.636 0-1.15.503-1.15 1.125v.63A5.48 5.48 0 0 0 7.598 7.67L2.395 3.68Zm6.572 5.037a3.748 3.748 0 0 1 3.245-1.842h.575c2.063 0 3.738 1.638 3.738 3.656v1.175c0 1.15.23 2.278.672 3.322l-8.23-6.31Zm6.63 9.408-2.188-1.688H7.052a8.603 8.603 0 0 0 1.38-3.835L6.75 11.308v.401a6.942 6.942 0 0 1-1.574 4.39l-.535.655a.827.827 0 0 0-.105.893.865.865 0 0 0 .777.478h10.285ZM14.8 19.25h-4.6c0 .598.24 1.17.672 1.592a2.327 2.327 0 0 0 1.628.658c.61 0 1.197-.236 1.628-.658.431-.421.672-.994.672-1.592Z"})}),Q=(0,i.memo)(({onClick:e,isAuthorized:t,userPermissions:s,activeNotificationLength:r,className:l=""})=>(0,a.jsxs)("button",{type:"button",className:`relative flex h-full w-full items-center justify-center text-dune mobile-icons ${l}`,id:"NOTIFICATION_CENTER","aria-label":"Notifications",title:"Notifications",onClick:e,children:[t&&s&&!s?.allowNotificationCenter?(0,a.jsx)(J,{}):(0,a.jsx)(W,{}),t&&s&&s?.allowNotificationCenter&&r>0&&(0,a.jsx)("span",{className:"absolute top-[3px] right-[5px] h-2.5 w-2.5 rounded-full border border-white bg-main sm:top-[12px] sm:right-[13px]","aria-hidden":"true"})]}));var q=s(82332);let X=(0,i.memo)(({isOpen:e,closeMenu:t,btnRef:s,onNotificationClick:r,isAuthorized:n,userPermissions:o,activeNotificationLength:c})=>{let d=(0,H.j)(),m=(0,l.usePathname)(),{activePopupName:u,activeModalName:h}=(0,H.G)(e=>e.globalReducer),{toggleGlobalSearchModal:p}=V.GM.actions,{menuRef:f}=(0,q.Vm)({isOpen:e});(0,i.useEffect)(()=>{(u||h)&&t()},[u,t,h]),(0,i.useEffect)(()=>{let a=a=>{let r=a.target;r&&e&&(!f.current||f.current.contains(r)||s.current?.contains(r)||t())};return document.addEventListener("mousedown",a),()=>{document.removeEventListener("mousedown",a)}},[t,e,s,f]),(0,i.useEffect)(()=>{e&&t()},[m]);let{getNavigation:g}=(0,x.y)(),b=(0,i.useMemo)(()=>g("sidenav"),[g]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{ref:f,className:`
40    ${e?"translate-x-0":"translate-x-[-100%]"} 
41    bg-white fixed top-[var(--header-height)] bottom-[5.25rem] xs:bottom-[4.6rem] xxs:bottom-[4.8rem] height-[100%] w-[16rem] xs:w-full 
42    left-0 z-[100] transition-[transform] duration-500 easy-in p-6 sm:p-4 flex flex-col justify-between overflow-auto border-t-[1px] border-b-[1px] border-gallery
43    bg-0 xs:bg-no-repeat xs:bg-right xs:bg-contain hide-scrollbar
44    `,id:"sidebar-menu","aria-hidden":!e,role:"menu",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("div",{className:"hidden n
44arrow:flex items-center gap-2 mb-4 w-full",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>d(p({isOpen:!0,source:"organic"})),className:"flex flex-1 min-w-0 items-center gap-3 rounded-[6.25rem] border border-ivory_s1 px-4 py-2.5 text-left text-stone_t0 transition-colors hover:border-main","aria-label":"Search",children:[(0,a.jsx)(U.A,{fill:"#67686B",className:"shrink-0"}),(0,a.jsx)("span",{className:"text-base text-stone_t0",children:"Search"})]}),(0,a.jsx)("div",{className:"relative flex h-12 w-12 shrink-0 items-center justify-center",children:(0,a.jsx)(Q,{onClick:r,isAuthorized:n,userPermissions:o,activeNotificationLength:c,className:"h-12 w-12"})})]}),(0,a.jsxs)("button",{onClick:()=>d(p({isOpen:!0})),className:"hidden btn btn-outline-default sm:inline-flex narrow:!hidden max-w-[10rem] mb-[0.375rem]",children:[(0,a.jsx)(U.A,{fill:"#201E1C"}),"Search"]}),(0,a.jsx)("div",{className:"hidden bg-gallery min-h-[.125rem] my-[1.125rem] xs:w-1/2 sm:block narrow:sm:hidden"}),b.map((t,s)=>(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"grid gap-2",children:t.items.map((r,l)=>(0,a.jsx)(C.A,{parentContentfulId:t?.sys?.id,activeClassname:K().active,className:"text-base font-bold w-fit text-dune text-left leading-5 py-[0.375rem] relative transition-all duration-[.4s] hover:text-main hover:after:bg-main after:content-[''] after:absolute after:bottom-0 after:w-full after:h-[2px] after:left-0 after:transition-all after:duration-[.4s]",item:r,prefetch:!1,tabIndex:e?0:-1,ariaRole:"menuitem"},`sidenav-navigation-section-item-${s}-${l}`))}),s!==b.length-1?(0,a.jsx)("div",{className:"bg-gallery min-h-[.125rem] my-[1.125rem] xs:w-1/2"}):null]},`sidenav-navigation-section-${s}`))]}),(0,a.jsx)("div",{className:"mb-6 sm:mb-0",children:(0,a.jsx)(E,{size:"w-[2rem] h-[2rem]",hoverColor:"hover:bg-sky_s1",backgroundColor:"bg-sky",iconColor:"text-white",titleStyles:"text-sm font-medium py-[.25rem] my-2 text-mineShaft",tabIndex:e?0:-1,ariaRole:"menuitem"})})]})})}),ee=(0,m.default)(()=>s.e(6331).then(s.bind(s,96331)),{loadableGenerated:{webpack:()=>[96331]},ssr:!1}),et=(0,m.default)(()=>Promise.all([s.e(5433),s.e(2173)]).then(s.bind(s,22173)),{loadableGenerated:{webpack:()=>[22173]},ssr:!1}),es=(0,i.memo)(({searchButtonId:e})=>{let[t,r]=(0,i.useState)(!0),[l,n]=(0,i.useState)(!1),[d,m]=(0,i.useState)(null),h=(0,i.useRef)(null),f=(0,H.j)(),{toggleModalBaseWithName:g}=(0,Y.A)(),{brand:v,donationUrl:w,getTooltipByKey:j}=(0,x.y)(),{setPermission:y,userPermissions:N}=(0,O.K)(),{notificationHistory:_,showGlobalNotification:E,activePopupName:A,isGlobalSearchModalOpen:S}=(0,H.G)(e=>e.globalReducer),{togglePopup:k,toggleGlobalSearchModal:I}=V.GM.actions,{user:T,snapshot:M,status:$}=(0,H.G)(e=>e.authReducer),L="authenticated"===$||!!M,z="unknown"===$&&!M,W=T?.given_name&&T?.family_name?`${T?.given_name} ${T?.family_name}`:M?.givenName&&M?.familyName?`${M.givenName} ${M.familyName}`:T?.name||M?.name||"",J=T?.picture||M?.picture||"",{getNavigation:q}=(0,x.y)(),es=(0,i.useMemo)(()=>q("header"),[q]),ea=(0,i.useMemo)(()=>j("burger_menu")??"Menu",[j]),er=(0,i.useMemo)(()=>j("home")??"Home",[j]),el=(0,i.useMemo)(()=>j("search")??"Search",[j]),ei=(0,i.useMemo)(()=>L?j("profile_logged")??"Profile":j("profile")??"Log in",[L,j]),{trackEvent:en}=(0,B.u)(),eo=(0,i.useCallback)(()=>{en({event:"notification_center_icon_click",properties:{hs_browser:R.C0,hs_device_type:R.v1&&"Tablet"||R.Fr&&"Smartphone"||R.xl&&"Desktop"||"",hs_device_name:R.v1&&"Tablet"||R.Fr&&"Smartphone"||R.xl&&"Desktop"||"",hs_operating_system:R.wH,hs_operating_version:R.B4}})},[en]),ec=_.filter(e=>e?.status==="NEW"||e?.status==="VIEWED").length,ed="btn btn-donate btn-sm mr-12 sm:rounded-full sm:p-0 sm:w-8 sm:h-8 sm:!mr-0 lg:mr-8",em=async()=>{eo(),L?f(k(o.Ry.NOTIFICATION_CENTER)):g({name:o.gM.INTRO,props:{source:"notifications"}}),R.Fr||R.v1?y("denied"):y("granted"===await s.g?.window?.Notification?.requestPermission()?"granted":"denied")};return(0,i.useEffect)(()=>{if(A!==o.Ry.NOTIFICATION_CENTER||d)return;let e=!1;return F({mainStream:"KUSC"}).then(t=>{e||m(t)}).catch(()=>{}),()=>{e=!0}},[A,d]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("header",{className:K().header,id:"header",role:"banner",children:(0,a.jsx)("div",{className:"container xs:px-4",children:(0,a.jsxs)("nav",{className:"flex items-center justify-between","aria-label":"Header navigation",children:[(0,a.jsxs)("div",{className:`${K().nav_container} shrink-0`,children:[(0,a.jsxs)("button",{title:ea,ref:h,"aria-label":ea,type:"button","aria-haspopup":"menu","aria-controls":"sidebar-menu",className:`${K().burger_btn} mobile-icons`,onClick:e=>{e.stopPropagation(),e.preventDefault(),n(!l)},children:[(0,a.jsx)("span",{className:`${K().burger_line} ${l?"rotate-45 translate-y-[.3rem]":""} bg-dune`}),(0,a.jsx)("span",{className:`${K().burger_line} ${l?"bg-transparent translate-x-[-4rem]":"bg-dune"}`}),(0,a.jsx)("span",{className:`${K().burger_line} ${l?"rotate-[-45deg] translate-y-[-.3rem]":""} bg-dune`})]}),(0,a.jsx)(p(),{href:c.Nb.HOME,"aria-label":er,title:er,className:"flex items-center relative w-[10.9444444445rem] h-[3.5rem] sm:w-[7.8174603175rem] sm:h-[2.5rem]",children:v&&(0,a.jsx)(u.default,{src:v?.logo?.url||"",fill:!0,sizes:"(max-width: 640px) 125px, 176px",priority:!0,fetchPriority:"high",alt:v?.logo?.description||v?.logo?.title})})]}),(0,a.jsxs)("div",{className:K().nav_actions,children:[(0,a.jsx)("div",{className:"flex items-center mr-6 sm:mr-4 md:hidden",children:(0,a.jsx)("div",{className:K().wrapper,children:es.map((e,t)=>(0,a.jsx)("div",{className:"flex items-center mr-6 ml-6 lg:mx-0",role:"menubar",children:e.items.map((s,r)=>(0,a.jsx)(C.A,{parentContentfulId:e?.sys?.id,className:K().nav_link,activeClassname:K().active,item:s,ariaRole:"menuitem"},`header-navigation-section-item-${t}-${r}`))},`header-navigation-section-${t}`))})}),(0,a.jsx)("div",{className:`${K().donate_slot}
44 mr-6 sm:mr-0`,children:w?(0,a.jsx)(b.A,{href:w,"aria-label":"Donate",className:"mobile-icons",children:(0,a.jsxs)("span",{className:ed,children:[(0,a.jsx)("span",{className:"sm:hidden",children:"Donate"}),(0,a.jsx)(P.A,{className:"aspect-square w-6 sm:w-4 h-6 sm:h-4 shrink-0"})]})}):(0,a.jsxs)("span",{className:`${ed} invisible pointer-events-none`,"aria-hidden":"true",children:[(0,a.jsx)("span",{className:"sm:hidden",children:"Donate"}),(0,a.jsx)(P.A,{className:"aspect-square w-6 sm:w-4 h-6 sm:h-4 shrink-0"})]})}),(0,a.jsx)("div",{className:`${K().action_slot} narrow:hidden mr-6 sm:mr-0`,children:(0,a.jsx)(Q,{onClick:em,isAuthorized:L,userPermissions:N,activeNotificationLength:ec})}),A===o.Ry.NOTIFICATION_CENTER&&(0,a.jsx)(et,{defaultStream:d}),(0,a.jsx)("div",{className:`${K().action_slot} mr-6 sm:mr-0`,children:z?(0,a.jsx)("span",{className:"sr-only",children:"Loading profile"}):L?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{title:ei,"aria-label":ei,type:"button",id:"USER_LOGGED_IN",className:"relative flex h-full w-full items-center justify-center mobile-icons",disabled:!1,onClick:()=>T&&f(k(o.Ry.USER_LOGGED_IN)),children:t&&J?(0,a.jsx)(u.default,{onError:()=>r(!1),className:"rounded-full sm:h-[2rem] sm:w-[2rem]",src:J,width:30,height:30,alt:"User Avatar"}):(0,a.jsx)(D(),{name:W,className:"mobile-icons flex h-[30px] w-[30px] items-center justify-center rounded-full bg-secondColor text-[1rem] font-extralight text-white sm:h-[2rem] sm:w-[2rem]"})}),A===o.Ry.USER_LOGGED_IN&&T&&(0,a.jsx)(ee,{user:T})]}):(0,a.jsx)("button",{title:ei,"aria-label":ei,type:"button",className:"flex h-full w-full items-center justify-center text-dune mobile-icons",disabled:!1,onClick:()=>g({name:o.gM.INTRO,props:{source:"profile"}}),children:(0,a.jsx)(G,{})})}),(0,a.jsx)("div",{className:`${K().action_slot} mr-0 sm:hidden`,children:(0,a.jsx)("button",{title:el,"aria-label":el,id:e,className:"flex h-full w-full items-center justify-center mobile-icons",onClick:()=>f(I({isOpen:!S.isOpen,source:"organic"})),children:(0,a.jsx)(U.A,{fill:"#201E1C"})})})]})]})})}),(0,a.jsx)(X,{isOpen:l,btnRef:h,closeMenu:()=>n(!1),onNotificationClick:em,isAuthorized:L,userPermissions:N,activeNotificationLength:ec}),E.status&&(0,a.jsx)(Z.A,{className:"fixed max-w-[66.25rem] w-full z-10 left-1/2 -translate-x-1/2 top-[6.25rem]",type:E.type,title:E.title,isShowCloseButton:E.isShowCloseButton,children:E.text})]})});var ea=s(72230);let er={[o.gM.INTRO]:(0,m.default)(()=>s.e(3314).then(s.bind(s,23314)),{loadableGenerated:{webpack:()=>[23314]},ssr:!1}),[o.gM.LOGIN]:(0,m.default)(()=>s.e(5239).then(s.bind(s,35239)),{loadableGenerated:{webpack:()=>[35239]},ssr:!1}),[o.gM.RECOVERY]:(0,m.default)(()=>s.e(1801).then(s.bind(s,61801)),{loadableGenerated:{webpack:()=>[61801]},ssr:!1}),[o.gM.REGISTRATION]:(0,m.default)(()=>s.e(3269).then(s.bind(s,3269)),{loadableGenerated:{webpack:()=>[3269]},ssr:!1}),[o.gM.DELETE_ACCOUNT]:(0,m.default)(()=>s.e(7767).then(s.bind(s,67767)),{loadableGenerated:{webpack:()=>[67767]},ssr:!1}),[o.gM.SUCCESS_DELETE]:(0,m.default)(()=>s.e(6786).then(s.bind(s,16786)),{loadableGenerated:{webpack:()=>[16786]},ssr:!1}),[o.gM.EDIT_PROFILE]:(0,m.default)(()=>s.e(8476).then(s.bind(s,48476)),{loadableGenerated:{webpack:()=>[48476]},ssr:!1}),[o.gM.PROFILE_PREFERENCES]:(0,m.default)(()=>s.e(40).then(s.bind(s,40)),{loadableGenerated:{webpack:()=>[40]},ssr:!1}),[o.MF.HUBSPOT_FORM]:(0,m.default)(()=>s.e(611).then(s.bind(s,90611)),{loadableGenerated:{webpack:()=>[90611]},ssr:!1}),[o.MF.RICH_VIDEO]:(0,m.default)(()=>s.e(4013).then(s.bind(s,4013)),{loadableGenerated:{webpack:()=>[4013]},ssr:!1}),[o.MF.IMAGE]:(0,m.default)(()=>s.e(6319).then(s.bind(s,36319)),{loadableGenerated:{webpack:()=>[36319]},ssr:!1}),[o.MF.RICH_TEXT_MODAL]:(0,m.default)(()=>s.e(5635).then(s.bind(s,55635)),{loadableGenerated:{webpack:()=>[55635]},ssr:!1}),[o.MF.ADD_TO_CALENDAR]:(0,m.default)(()=>s.e(4096).then(s.bind(s,4096)),{loadableGenerated:{webpack:()=>[4096]},ssr:!1}),[o.MF.SHARE]:(0,m.default)(()=>s.e(821).then(s.bind(s,50821)),{loadableGenerated:{webpack:()=>[50821]},ssr:!1}),[o.MF.TRACK_COMMENT]:(0,m.default)(()=>s.e(6031).then(s.bind(s,26031)),{loadableGenerated:{webpack:()=>[26031]},ssr:!1}),[o.MF.REMOVE_FAVOURITE]:(0,m.default)(()=>s.e(4017).then(s.bind(s,84017)),{loadableGenerated:{webpack:()=>[84017]},ssr:!1}),[o.MF.DISABLE_NOTIFICATIONS]:(0,m.default)(()=>s.e(2027).then(s.bind(s,2027)),{loadableGenerated:{webpack:()=>[2027]},ssr:!1}),[o.MF.COMMUNITY_GUIDELINES]:(0,m.default)(()=>s.e(2277).then(s.bind(s,42277)),{loadableGenerated:{webpack:()=>[42277]},ssr:!1})},el=(0,i.memo)(()=>{let{toggleModalBaseWithName:e,isModalBaseOpen:t,activeModalName:s,activeModalProps:r}=(0,Y.A)(),l=(0,i.useMemo)(()=>er[s],[s]),n=(0,i.useMemo)(()=>![o.MF.RICH_VIDEO].includes(s),[s]);return((()=>{let[e,t]=(0,i.useState)(null),[s,a]=(0,i.useState)(null),r=(0,H.j)(),{activePopupName:l,activeModalName:n}=(0,H.G)(e=>e.globalReducer),{closePopup:c,setActiveModalName:d,toggleModalBase:m,setActiveModalProps:u}=V.GM.actions,h=(0,i.useCallback)(()=>
44{if(n&&(r(m(!1)),r(d("")),r(u(null))),l)return r(c())},[n,l,c,d,m,u,r]),p=(0,i.useCallback)(({key:a})=>{("Escape"===a||"Tab"===a&&!0===s)&&(h(),e&&(e.focus(),t(null)))},[h,e,s]),x=(0,i.useCallback)(()=>{e||t(document.activeElement)},[e]);return(0,i.useEffect)(()=>{let e=window.document;return l||n?n?(a(!1),x(),e.addEventListener("keydown",p)):()=>{a(null),e.removeEventListener("keydown",p)}:(a(null),e.removeEventListener("keydown",p))},[l,n,x,p]),(0,i.useEffect)(()=>{let e=window.document;return l||n?l?(a(l!==o.Ry.USER_LOGGED_IN),x(),e.addEventListener("keydown",p)):()=>{a(null),e.removeEventListener("keydown",p)}:(a(null),e.removeEventListener("keydown",p))},[l,n,x,p])})(),t)?(0,a.jsx)(ea.f,{setOpenModal:t=>e({status:t}),contentClass:`${n?"bg-white":""} rounded-2xl`,triggerClass:n?"":"!top-0 !right-0 rounded-full bg-[rgba(255,_255,_255,_0.80)] p-2",children:(0,a.jsx)(l,{...r??{}})}):null}),ei=e=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,fill:"none",...e,children:(0,a.jsx)("path",{fill:"#201E1C",d:"M6.41.923a.57.57 0 0 0-.816 0L1.656 5.048a.562.562 0 0 0 .813.776l2.97-3.108v7.972a.561.561 0 1 0 1.125 0V2.715l2.967 3.11a.563.563 0 0 0 .813-.775L6.407.926l.002-.003Z"})});var en=s(58719),eo=s(89658),ec=s(99765),ed=s(83613),em=s(88919),eu=s(25225),eh=s(40699),ep=s(85219),ex=s(81420);let ef=new Map([["host",{label:"Hosts"}],["track",{label:"Tracks"}],["show",{label:"Shows"}],["stream",{label:"Stream"}],["article",{label:"Articles"}],["eventPage",{label:"Events"}],["video",{label:"Video Series"}],["richVideo",{label:"Videos"}],["onDemandAudioCard",{label:"On Demand Audio"}],["landingPage",{label:"Pages"}]]),eg=[{id:V._K.relevant,label:"MOST RELEVANT"},{id:V._K.latest,label:"LATEST"}],eb=e=>{if(!e?.length)return[];let t=e.reduce((e,t)=>e+t.count,0);return Array.from(ef.keys()).reduce((t,s)=>{let a=e.find(e=>e.entryType===s);if(a?.count){let e=ef.get(a.entryType)?.label||"";t.push({...a,label:e})}return t},[{entryType:null,count:t,label:"All"}])},ev=(0,i.memo)(({tabs:e,onChangeFilter:t})=>{let{globalSearchParams:s}=(0,H.G)(e=>e.globalReducer),[r,l]=(0,i.useState)(s?.entryType),[n,o]=(0,i.useState)(eb(e));(0,i.useEffect)(()=>{o(eb(e))},[e]),(0,i.useEffect)(()=>
44{l(s?.entryType)},[s?.entryType]);let c=e?.reduce((e,t)=>e+t.count,0);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"landing-content !mb-0 mx-auto max-w-[56.375rem] w-full",children:c>0?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("h2",{className:"font-bold text-xl mb-2 text-mineShaft",children:["Search Result for: ",s?.search]}),(0,a.jsxs)("span",{className:"font-medium text-sm mb-10 block text-dune",children:[c," RESULTS TOTAL"]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("h2",{className:"font-bold text-xl mb-2 text-mineShaft",children:["Oops! No result found for: ",s?.search]}),(0,a.jsx)("span",{className:"font-medium text-sm mb-10 block text-dune",children:"Let's make sure your search words are spelled correctly, use fewer or different keywords to try again."})]})}),(0,a.jsx)("div",{className:"tab-search-container flex",children:n.map(e=>(0,a.jsxs)("button",{className:`group transition flex items-center whitespace-nowrap text-sm font-medium text-stone_s1 pb-2 px-4 hover:text-main ${r===e.entryType?'!text-main_s1 before:content-[""] before:w-full before:h-[2px] before:mt-[-2px] before:left-0 before:top-[100%] before:bg-main_s1 before:absolute':""} relative`,type:"button",onClick:()=>{var s;(s=e.entryType)!==r&&(t(s),l(s))},children:[e.label,"All"!==e.label&&(0,a.jsx)("span",{className:`flex justify-center items-center text-center transition border border-stone_s1 rounded-[6.25rem] px-2 min-w-[1.5rem] ml-1 group-hover:transition group-hover:border-main ${r===e.entryType?"!border-main_s1 text-white bg-main_s1":""}`,children:e.count})]},e.entryType))})]})});var ew=s(91725),ej=s(9922),ey=s(30931),eN=s(73590),e_=s.n(eN),eE=s(63263),eA=s(88067),eC=s(16780),eS=s(54570),ek=s(13731),eI=s(6340),eT=s(86671),eM=s(4836);let eR=(0,i.memo)(({source:e,highlight:t})=>{let{toggleModalBaseWithName:s}=(0,Y.A)(),r=(0,i.useMemo)(()=>{let{entryType:t,slug:s,url:a,extraInfo:r}=e;return s?r?.isExternal&&a?a:"stream"===t?`${c.Nb.PLAYLIST}?stream=${e.slug}`:`${(0,eS.rK)(t)}/${s}`:null},[e]);if("onDemandAudioCard"===e.entryType){if(!e.audio)return null;let t={sys:{id:e.audio.id},title:e?.title,description:e?.richText,subtitle:"",activeFrom:"",activeTo:"",image:{url:e?.image?.file?.url?"https://"+e?.image?.file?.url:eE.default,title:e?.image?.title,description:e?.image?.description},type:e?.extraInfo?.audioScrubType,audio:{url:"https://"+e?.audio?.file?.url}};return(0,a.jsx)("div",{className:"max-w-[39rem] mb-4 mx-auto",children:(0,a.jsx)(eI.A,{asset:t,unStyled:!0,enableLivePreview:!1})})}if(!r)return null;if("host"===e.entryType)return(0,a.jsxs)(b.A,{className:"border-[2px] border-ivory_s0 group avatar-start-animation transition hover:scale-105 relative flex w-full bg-white px-6 py-6 rounded-3xl shadow-[0px_4px_10px_0px_rgba(0,0,0,0.10)] pr-24 xs:flex-col xs:justify-center xs:items-center md:hover:scale-100 md:p-6",href:r,children:[(0,a.jsxs)("div",{className:"!w-[14%] !h-[100px] mr-8 xs:mr-0 xs:mb-6 xs:mt-6 xs:w-full relative",children:[(0,a.jsx)(u.default,{className:"avatar-animation-image min-w-[100px] min-h-[100px] rounded-full border-2 border-main object-cover",src:e?.image?.file?.url?"https://"+e?.image?.file?.url:eE.default,alt:e?.title||"Violin Image",width:100,height:100,placeholder:eA.ep}),(0,a.jsx)("div",{className:"avatar-animation-sm-circle border-main"}),(0,a.jsx)("div",{className:"avatar-animation-md-circle border-main"})]}),(0,a.jsxs)("div",{className:"w-[86%] xs:w-full",children:[(0,a.jsx)("span",{className:"text-shaft block mb-2 text-xl font-bold transition group-hover:text-main xs:text-center",children:e?.title}),t&&"description"in t&&t?.description?.length?(0,a.jsx)("p",{className:"text-base	text-left line-clamp-3 xs:line-clamp-6 text-mineShaft",dangerouslySetInnerHTML:{__html:t.description.join(" | ")}}):(0,a.jsx)("p",{className:"text-base	text-left line-clamp-3 xs:line-clamp-6 text-mineShaft",children:e.description})]})]});if(e?.entryType==="article"){let s=(0,eC.$D)(e?.publishDate,"MM/DD/YYYY");return(0,a.jsx)("div",{className:"relative flex flex-col article-card article-card-container w-full shadow-[0_3px_30px_rgba(0,0,0,0.2)] rounded-xl overflow-hidden",children:(0,a.jsxs)(b.A,{className:"article-card flex flex-col h-full",href:r,children:[(0,a.jsx)("div",{className:"relative w-full overflow-hidden h-[15.625rem]",children:(0,a.jsx)(u.default,{className:"object-cover object-center",src:e?.image?.file?.url?"https://"+e?.image?.file?.url+"?fit=thumb&h=500":eE.default,fill:!0,sizes:"100%",alt:e?.title||"Article Image",placeholder:eA.ep})}),(0,a.jsxs)("div",{className:"flex flex-col flex-auto p-6 bg-white",children:[(0,a.jsx)("p",{"aria-label":e?.title||"No title",className:"text-base text-shaft font-bold min-h-[2.625rem] mb-2 leading-[1.3125rem] line-clamp-2",children:e?.title}),(0,a.jsx)("p",{"aria-label":e?.description||"No subtitle",className:"text-base text-mineShaft min-h-[2.625rem] mb-2 leading-[1.3125rem] sm:line-clamp-6 !line-clamp-2",children:t&&"description"in t&&t?.description?.length?(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:t.description.join(" | ")}}):(0,a.jsx)("span",{children:e.description})}),(0,a.jsxs)("div",{className:"flex justify-between mt-auto",children:[(0,a.jsx)("div",{"aria-label":e?.tags[0]||"No category",className:"text-sm text-stone_t0 whitespace-nowrap overflow-hidden text-ellipsis pr-4",children:e?.tags[0]}),(0,a.jsx)("div",{"aria-label":s||"No date",className:"text-sm text-stone_t0 whitespace-nowrap",children:s})]})]})]})})}if(e?.entryType==="richVideo"){let t=(0,ek.A)(e?.extraInfo?.videoLink??""),r=e?.extraInfo?.videoLink&&t?e?.image?.file?.url?`https://${e?.
44image?.file?.url}`:`https://img.youtube.com/vi/${t}/0.jpg`:e?.image?.file?.url?`https://${e?.image?.file?.url}`:null;return(0,a.jsx)("div",{className:"min-w-[286px] xs:order-1 xs:w-full",children:(0,a.jsxs)("button",{title:e?.title,"aria-label":e?.title,className:"cursor-pointer text-left relative rounded-xl w-full h-[26rem] overflow-hidden p-6 shadow-[0px_3px_20px_0px_rgba(0,0,0,0.20)] group",onClick:()=>{var t;return t={videoAsset:{url:e?.extraInfo?.videoAsset?.file?.url?"https:"+e.extraInfo?.videoAsset.file.url:""},videoLink:e?.extraInfo?.videoLink??""},void s({status:!0,name:o.MF.RICH_VIDEO,props:t})},children:[(0,a.jsx)(u.default,{className:"object-cover object-center brightness-50 group-hover:scale-105 transition",fill:!0,sizes:"100%",src:r||eE.default,alt:e?.description||"Violin Image"}),(0,a.jsx)(eM.A,{className:"z-1 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-primary"}),(0,a.jsxs)("div",{className:"z-1 absolute bottom-0 left-0 w-full text-white p-6",children:[(0,a.jsx)("p",{className:"font-bold text-base	mb-2 line-clamp-1 ",children:e.title}),e.description&&(0,a.jsx)("p",{className:"mb-2 text-sm line-clamp-2 min-h-[2.5rem]",children:e.description}),e.publishDate&&(0,a.jsx)("time",{className:"mb-2 text-sm",children:e_()(e?.publishDate).format("MM/DD/YYYY")})]})]})})}if(e?.entryType==="video"){let s=(0,eC.$D)(e?.publishDate,"MM/DD/YYYY");return(0,a.jsxs)(b.A,{className:"block cursor-pointer relative rounded-xl w-full h-[26rem] overflow-hidden shadow-[0px_3px_30px_0px_rgba(0,0,0,0.20)] group",href:r,children:[(0,a.jsxs)("div",{className:"relative h-[16.75rem] p-6 overflow-hidden",children:[(0,a.jsx)(u.default,{className:"object-cover object-center brightness-50 group-hover:scale-105 transition",src:e?.image?.file?.url?"https://"+e?.image?.file?.url:eE.default,fill:!0,sizes:"100%",alt:e?.title||"Violin Image",placeholder:eA.ep}),(0,a.jsx)(eM.A,{className:"z-1 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-primary"}),(0,a.jsxs)("div",{className:"absolute z-1 bottom-0 left-0 px-6 py-2 w-full text-white bg-[rgba(0,_0,_0,_0.64)] text-sm flex items-center",children:[(0,a.jsx)(eT.A,{className:"mr-2"}),e?.extraInfo?.videoSeriesCount," videos"]})]}),(0,a.jsxs)("div",{className:"w-full p-6",children:[(0,a.jsx)("p",{className:"font-bold text-base mb-2 line-clamp-1",children:e?.title}),(0,a.jsx)("p",{className:"mb-2 text-sm line-clamp-2 min-h-[2.5rem]",children:t&&"description"in t&&t?.description?.length?(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:t.description.join(" | ")}}):(0,a.jsx)("span",{children:e.description})}),(0,a.jsx)("time",{className:"mb-2 text-sm",children:s})]})]})}return e?.entryType==="show"?(0,a.jsxs)(b.A,{className:"block h-[21.875rem] relative rounded-2xl overflow-hidden group mb-4 shadow-[0px_3px_30px_0px_rgba(0,0,0,0.20)]",href:r,children:[(0,a.jsx)(u.default,{className:"object-cover object-center brightness-50 group-hover:scale-105 transition",src:e?.image?.file?.url?"https://"+e?.image?.file?.url:eE.default,fill:!0,sizes:"100%",alt:`${e?.title} image`,placeholder:eA.ep}),(0,a.jsxs)("div",{className:"absolute bottom-0 left-0 text-white pl-8 pb-8",children:[(0,a.jsx)("p",{className:"font-bold	text-[1.75rem] leading-9 mb-4",children:e?.title}),(0,a.jsx)("p",{className:"font-medium",children:t&&"description"in t&&t?.description?.length?(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:t.description.join(" | ")}}):(0,a.jsx)("span",{children:e.description})})]})]}):e?.entryType==="stream"?(0,a.jsx)(b.A,{className:"block h-[16.125rem] w-[16.125rem] mx-auto relative rounded-lg overflow-hidden group shadow-[0px_3px_30px_0px_rgba(0,0,0,0.20)]",href:r,children:(0,a.jsx)(u.default,{className:"object-cover object-center group-hover:scale-105 transition",src:e?.image?.file?.url?"https://"+e?.image?.file?.url:eE.default,fill:!0,sizes:"100%",alt:`${e?.title} image`,placeholder:eA.ep})}):e?.entryType==="landingPage"?(0,a.jsxs)(b.A,{className:"flex relative min-h-[13rem] rounded-lg overflow-hidden group mb-4 bg-white shadow-[0px_3px_30px_0px_rgba(0,0,0,0.20)] sm:flex-col",href:r,children:[(0,a.jsx)("div",{className:"relative w-1/2 overflow-hidden sm:w-full sm:min-h-[12rem]",children:(0,a.jsx)(u.default,{className:"object-cover object-center group-hover:scale-105 transition",src:e?.image?.file?.url?"https://"+e?.image?.file?.url:eE.default,fill:!0,sizes:"100%",alt:`${e?.title} image`,placeholder:eA.ep})}),(0,a.jsxs)("div",{className:"w-1/2 p-4 sm:w-full",children:[(0,a.jsx)("p",{className:"font-bold text-xl mb-4 text-dune",children:e?.title}),(0,a.jsx)("p",{className:"text-base",children:t&&"description"in t&&t?.description?.length?(0,a.jsx)("span",{className:"text-dune",dangerouslySetInnerHTML:{__html:t.description.join(" | ")}}):(0,a.jsx)("span",{className:"text-dune",children:e.description})})]})]}):e?.entryType==="eventPage"?(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"pointer-events-none event-grid-shadow md:hidden"}),(0,a.jsx)("div",{className:"relative flex flex-col article-card article-card-container w-full overflow-hidden",children:(0,a.jsxs)(b.A,{className:"article-card flex flex-col h-full",href:r,children:[(0,a.jsxs)("div",{className:"relative w-full overflow-hidden h-[15.625rem] event-grid-mask event-grid-mask-top",children:[(0,a.jsx)(u.default,{className:"object-cover object-center",src:e?.image?.file?.url?"https://"+e?.image?.file?.url+"?fit=thumb&h=500":eE.default,fill:!0,sizes:"100%",alt:e?.title||"Event page image",placeholder:eA.ep}),e?.extraInfo?.badgeTitle&&e?.extraInfo?.badgeTitle?.trim()?.length>0&&(0,a.jsx)("span",{className:"bg-clementine_t0 px-3 block text-ellipsis leading-6 items-center h-6 rounded-xl font-medium text-sm mb-4 gap-2 w-max items-center uppercase absolute bottom-0 left-[50%] -translate-x-2/4 whitespace-nowrap line-clamp-1 max-w-[17rem]",children:(e?.extraInfo?.badgeIconPosition,(0,a.jsx)(a.Fragment,{children:e?.extraInfo?.badgeTitle}))})]}),(0,a.jsxs)("div",{className:"flex flex-col flex-auto p-6 bg-white event-grid-mask event-grid-mask-bottom text-center min-h-[11.3125rem]",children:[(0,a.jsx)("p",{"aria-label":e?.title||"No title",className:"text-base text-shaft font-bold min-h-[2.625rem] mb-2 leading-[1.3125rem] line-clamp-1 text-dune",children:e?.title}),(0,a.jsx)("p",{"aria-label":e?.description||"No subtitle",className:"text-base text-dune min-h-[2.625rem] mb-2 leading-[1.3125rem] sm:line-clamp-6 !line-clamp-2",children:t&&"description"in t&&t?.description?.length?(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:t.description.join(" | ")}}):(0,a.jsx)("span",{children:e.description})}),(0,a.jsx)("div",{className:"flex mt-auto justify-center",children:e?.extraInfo?.activeFrom&&e?.extraInfo?.activeTo&&(0,a.jsx)("time",{className:"flex items-center gap-1.5 w-full font-medium justify-center text-sm border-t border-stone_t0 pt-3",children:e_()(e?.extraInfo?.activeFrom)?.isSame(e?.extraInfo?.activeTo,"day")?(0,a.jsxs)(a.Fragment,{children:[" ",e_(
44)(e?.extraInfo?.activeFrom).format("MMM D, Y")]}):(0,a.jsxs)(a.Fragment,{children:[e_()(e?.extraInfo?.activeFrom).format("MMM D, Y")," - ",e_()(e?.extraInfo?.activeTo).format("MMM D, Y")]})})})]})]})})]}):(0,a.jsx)("div",{})});var e$=s(46224),eD=s(16680);let eL=(0,i.memo)(({source:e,setOpenTrackDetail:t,openedTrackDetail:s})=>{let r=e?.record_company||e?.spine_number;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:s===e.startDate?"play-list-card-item items-stretch active":"play-list-card-item items-stretch shadow-[0px_4px_10px_0px_rgba(0,0,0,0.10)]",children:[(0,a.jsxs)("div",{className:"play-list-card-item-schedule self-stretch ",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-stone_t0 text-[12px]",children:e_()(e.startDate).format("MMM D Y")}),(0,a.jsx)("p",{className:"text-base font-bold text-dune sm:text-sm",children:e_()(e.startDate).format("LT")})]}),s===e.startDate&&(0,a.jsx)(u.default,{className:"!w-[5.5rem] !h-[5.5rem] sm:!h-auto",src:e?.stream?.asset?.file?.url?`https:${e?.stream?.asset?.file?.url}`:eE.default,width:88,height:88,alt:e?.title||e?.artist||"Violin Image"})]}),(0,a.jsxs)("div",{className:"self-stretch w-full",children:[(0,a.jsxs)("div",{className:"play-list-card-item-summary",children:[(0,a.jsx)("div",{className:"play-list-card-item-summary-container before:!bg-stone_t2 after:!bg-stone_t2",children:(0,a.jsx)("div",{className:"play-list-card-item-summary__body",children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsxs)("ul",{className:"play-list-main-info !border-b-stone_t2 !pl-0",children:[(0,a.jsxs)("li",{className:"play-list-main-info__item",children:[(0,a.jsx)("p",{className:"play-list-info-title shrink-0 w-[4.4375rem]",children:"Title"}),(0,a.jsx)("p",{className:"play-list-info-title-description !text-black",children:e.title&&(0,a.jsx)(eD.A,{className:"!text-black no-underline hover:no-underline hover:!text-primary_h",searchTerm:e.title,buttonText:e.title,messageId:"",source:"search",icon:!0})})]}),(0,a.jsxs)("li",{className:"play-list-main-info__item",children:[(0,a.jsx)("p",{className:"play-list-info-title shrink-0 w-[4.4375rem]",children:"COMPOSER"}),(0,a.jsx)("p",{className:"play-list-info-description",children:e.artist&&(0,a.jsx)(eD.A,{className:"no-underline hover:no-underline hover:text-primary_h",searchTerm:e.artist,buttonText:e.artist,messageId:"",source:"search",icon:!0})})]})]})})})}),(0,a.jsx)("div",{className:"play-list-card-item-summary__action",children:(0,a.jsx)("button",{onClick:()=>t(e?.startDate===s?"":e?.startDate),className:s===e?.startDate?"play-list-card-item-summary__action--icon active cursor-pointer":"play-list-card-item-summary__action--icon cursor-pointer",children:(0,a.jsx)(e$.A,{})})})]}),(0,a.jsxs)("div",{className:"play-list-card-item-details-container",children:[(0,a.jsxs)("ul",{className:s===e?.startDate?"play-list-card-item-details before:!bg-stone_t2 after:!bg-stone_t2 active":"play-list-card-item-details",children:[(0,a.jsxs)("li",{className:"play-list-card-item-details__item",children:[(0,a.jsx)("p",{className:"play-list-info-title shrink-0 w-[10.125rem]",children:"CONDUCTOR"}),(0,a.jsx)("p",{className:"play-list-info-description",children:e.conductor?(0,a.jsx)(eD.A,{className:"no-underline hover:no-underline hover:text-primary_h",searchTerm:e.conductor,buttonText:e.conductor,messageId:"",source:"search",icon:!0}):"N/A"})]}),(0,a.jsxs)("li",{className:"play-list-card-item-details__item",children:[(0,a.jsx)("p",{className:"play-list-info-title shrink-0 w-[10.125rem]",children:"ORCHESTRA"}),(0,a.jsx)("p",{className:"play-list-info-description",children:e.orchestra?(0,a.jsx)(eD.A,{className:"no-underline hover:no-underline hover:text-primary_h",searchTerm:e.orchestra,buttonText:e.orchestra,messageId:"",source:"search",icon:!0}):"N/A"})]}),(0,a.jsxs)("li",{className:"play-list-card-item-details__item",children:[(0,a.jsx)("p",{className:"play-list-info-title shrink-0 w-[10.125rem]",children:"PERFORMERS"}),(0,a.jsx)("p",{className:"play-list-info-description",children:e.soloist?e.soloist.split(/\s*;\s*|\s+\/\s+/).map(e=>
44e.trim()).filter(Boolean).map((e,t,s)=>(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)(eD.A,{className:"no-underline hover:no-underline hover:text-primary_h mr-2",searchTerm:e,buttonText:e,messageId:"",source:"search",icon:!0}),s.length-1!==t&&(0,a.jsx)("br",{})]},`${e}-${t}`)):"N/A"})]}),(0,a.jsxs)("li",{className:"play-list-card-item-details__item",children:[(0,a.jsx)("p",{className:"play-list-info-title shrink-0 w-[10.125rem]",children:"RECORD CO CATALOG NO."}),(0,a.jsx)("p",{className:"play-list-info-description",children:r?(0,a.jsx)(eD.A,{className:"no-underline hover:no-underline hover:text-primary_h",searchTerm:r,buttonText:r,messageId:"",source:"search",icon:!0}):"N/A"})]})]}),(0,a.jsx)("div",{className:"play-list-card-item-summary__action"})]})]})]})})}),eF=e=>(0,a.jsx)(ew.c.DropdownIndicator,{...e,children:(e.hasValue,(0,a.jsx)(ey.A,{}))}),eO=(0,i.memo)(({items:e,entryType:t,sortBy:s,onChangeSort:r})=>{let[l,n]=(0,i.useState)(s??null),[o,c]=(0,i.useState)(void 0),[d,m]=(0,i.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[r&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"flex justify-between items-center my-6",children:[(0,a.jsx)("h2",{className:"font-bold text-[1.76rem] text-dune",children:ef.get(t)?.label}),(0,a.jsxs)("div",{className:`inline-flex flex-nowrap items-center rounded-[1.875rem] bg-white p-[2px_4px_2px_10px] gap-2 ${d?"outline outline-2 outline-main":""}`,children:[(0,a.jsx)("span",{className:"text-stone_t0 text-xs",children:"SORT BY"}),(0,a.jsx)("span",{className:"h-5 w-[1px] bg-stone_t0"}),(0,a.jsx)(ej.Ay,{value:eg.find(e=>e.id===l),components:{DropdownIndicator:eF},options:eg,className:"search-select","aria-label":"Sort by",classNamePrefix:"single-select",onChange:e=>{let t=e?e.id:null;t&&(n(t),r&&r(t))},getOptionLabel:e=>e.label,getOptionValue:e=>e.id.toString(),unstyled:!0,onFocus:()=>m(!0),onBlur:()=>m(!1),menuPlacement:"auto",isSearchable:!1,captureMenuScroll:!0,closeMenuOnSelect:!0})]})]})}),(0,a.jsxs)("div",{className:`
45                ${["article","video","stream","eventPage"].includes(t)?"grid grid-cols-3 md-sm:grid-cols-2 sm:grid-cols-2 xs:grid-cols-1 gap-5":""}
46                ${["stream","richVideo"].includes(t)?"grid grid-cols-3 md-sm:grid-cols-2 sm:grid-cols-1 gap-8":""}
47                ${"host"===t?"flex flex-wrap gap-4 flex-col":""}
48                `,children:["track"===t&&(0,a.jsx)("div",{className:"play-list-card !mb-0 !shadow-[0px_4px_10px_0px_rgba(0,0,0,0.10)]",children:(0,a.jsxs)("div",{className:"flex bg-white rounded-[16px_16px_0_0] p-4 text-stone_t0 text-sm",children:[(0,a.jsx)("span",{className:"w-[10rem]",children:"PLAYED ON:"}),(0,a.jsx)("span",{children:"TRACK INFORMATION"})]})}),e.map(e=>(0,a.jsx)(i.Fragment,{children:e?.source?.entryType==="track"?(0,a.jsx)(eL,{source:e.source,highlight:e.highlight,setOpenTrackDetail:c,openedTrackDetail:o}):(0,a.jsx)(eR,{source:e.source,score:e.score,highlight:e.highlight})},`search-result-${e?.source?.id}`))]})]})});var eP=s(60055),eG=s(39085),eU=s(52835),eZ=s(90664),eY=s(41237);let eB=(0,i.memo)(({topHits:e,onChangeFilter:t})=>{let s=(0,i.useMemo)(()=>[...e??[]].sort((e,t)=>{let s=Array.from(ef.keys());return s.indexOf(e.entryType)-s.indexOf(t.entryType)}),[e]),{data:r}=(0,eP.I)(eU.iJ,{variables:{limit:3,skip:0}}),l=(0,i.useMemo)(()=>(0,eZ.Ue)(r?.articleCollection?.items),[r]),n=async e=>{let t=await (0,eG.c)({skip:e,limit:3});return(0,eZ.Ue)(t?.articleCollection?.items)};return s.length?(0,a.jsx)("div",{children:s.map((e,s)=>(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-baseline my-6",children:[(0,a.jsx)("h2",{className:"font-bold text-[1.76rem] text-dune",children:ef.get(e.entryType)?.label}),e.hits.length<e.count&&(0,a.jsx)("button",{className:"ml-[0.75rem] text-main_s1 hover:text-main",type:"button",onClick:()=>t(e.entryType),children:"Show all"})]}),(0,a.jsx)(eO,{items:e.hits,entryType:e.entryType})]},s))}):(0,a.jsxs)("div",{className:"pt-10 px-4",children:[(0,a.jsx)("h2",{className:"text-xl font-bold mb-6 uppercase text-shaft",children:"More to discover"}),(0,a.jsx)("div",{children:l?.length?(0,a.jsx)(eY.default,{items:l,limit:3,total:r?.articleCollection?.total??0,loadNextAction:n}):null})]})}),eH=(0,i.memo)(()=>{let e=(0,H.j)(),{setGlobalSearchData:t,setGlobalSearchParams:r,setIsLoading:l,toggleGlobalSearchModal:n}=V.GM.actions,{globalSearchData:o,globalSearchParams:c,isLoading:d,isGlobalSearchModalOpen:m}=(0,H.G)(e=>e.globalReducer),[u,h]=(0,i.useState)(null),p=(0,ep.x)(),{brand:f,brandName:g}=(0,x.y)(),b=(0,i.useRef)(new AbortController);(0,i.useEffect)(()=>{let s,{search:a,page:r,entryType:i,sortBy:n}=c;if(!a)return void e(l(!1));let d={searchTerm:a,entryType:i,locale:"en-US",skip:0!==r?(r-1)*10:1,limit:10,sortBy:n}
48,u=(b.current.abort(),b.current=s=new AbortController,s).signal,h=(0,ec.GP)(d);o&&e(t({...o,items:[],topHits:[]})),e(l(!0)),(0,eo.U)({event:"internal_elastic_search_request",search_term:d.searchTerm,search_origin:m.source}),p({apiEndpoint:h,method:"GET",signal:u}).then(e=>e.data).then(s=>{e(t(s)),e(l(!1))}).catch(()=>{e(t(null)),e(l(!1))})},[e,c,t,p,g,l]);let v=t=>{e(r({...c,entryType:t,page:1,sortBy:V._K.relevant})),window.scrollTo({top:0,behavior:"smooth"})};(0,i.useEffect)(()=>{(0,ed.C)({embedEntry:f?.searchTrendingTopics,params:{search:"",skip:0,limit:0},preview:!1}).then(e=>h((0,em.ub)(e?.data)))},[f,g]);let w=(0,i.useRef)(null),j=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let t=j.current;if(!t)return;let a=t=>{let a=t.target?.closest("a");a&&a.href===s.g.window.location.href&&(t.preventDefault(),e(n({isOpen:!1})))};return t.addEventListener("click",a),()=>{t.removeEventListener("click",a)}},[e,n]),(0,a.jsxs)("div",{className:"flex flex-col gap-4",ref:j,children:[o?(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("div",{className:"pt-12 bg-white",children:(0,a.jsx)(ev,{tabs:o.tabs,onChangeFilter:v})}),(0,a.jsx)("div",{ref:w,className:"landing-content",children:d?(0,a.jsx)(a.Fragment,{children:c?.entryType&&(0,a.jsx)("div",{className:"flex justify-center items-center h-[52vh]",children:(0,a.jsx)(eu.A,{})})}):(0,a.jsx)(a.Fragment,{children:c.entryType?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mb-8",children:(0,a.jsx)(eO,{items:o.items,entryType:c.entryType,sortBy:c.sortBy,onChangeSort:t=>{e(r({...c,sortBy:t,page:1}))}})}),(0,a.jsx)(ex.A,{currentPage:c.page,pageSize:10,totalCount:o.total,onPageChange:t=>{e(r({...c,page:t}))}})]}):(0,a.jsx)(eB,{topHits:o?.topHits,onChangeFilter:v})})})]}):(0,a.jsxs)("div",{className:"bg-white py-12 text-center",children:[(0,a.jsx)("h3",{className:"font-bold mb-6 text-mineShaft",children:"Trending Topics"}),(0,a.jsx)("div",{className:"max-w-[40rem] mx-auto",children:u?.items&&(0,a.jsx)(eh.A,{tags:u?.items,enableLivePreview:!1})})]}),d&&!c.entryType&&(0,a.jsx)("div",{className:"flex justify-center items-center h-[52vh]",children:(0,a.jsx)(eu.A,{})})]})}),eV=(0,i.memo)(()=>(0,a.jsxs)("div",{className:"absolute bottom-0 left-0 max-h-[32.375rem] w-full px-4 pt-16 h-[30.25rem] text-center text-dune bg-ivory_t1 bg-[url('../public/images/searchbg.webp')] bg-bottom bg-contain bg-repeat-x",children:[(0,a.jsx)("h3",{id:"modalTitle",className:"text-xl font-medium mb-6",children:"Looking for something specific?"}),(0,a.jsx)("p",{id:"modalDescription",className:"mb-6 max-w-[40rem] mx-auto",children:"If you have trouble finding what you are looking for, we suggest you make adjustments to your search phrases and keywords, use the help center or contact us."}),(0,a.jsx)(p(),{href:c.xU,className:"btn btn-outline-default",children:"Help center"})]}));var ez=s(71190);let eK=(0,i.memo)(()=>{let e=(0,H.j)(),[t,r]=(0,i.useState)(!1),{setGlobalSearchData:n,setGlobalSearchParams:o,setGlobalSearchInput:d}=V.GM.actions,{globalSearchInput:m}=(0,H.G)(e=>e.globalReducer),h=(0,i.useRef)(null),{brand:f,getTooltipByKey:g}=(0,x.y)(),b=(0,l.usePathname)(),v=(0,i.useMemo)(()=>g("home")??"Home",[g]),w=(0,i.useMemo)(()=>g("modalClose")??"Close modal",[g]),{modalRef:j}=(0,q.JN)(),[,y]=(0,i.useState)(""),{isGlobalSearchModalOpen:N}=(0,H.G)(e=>e.globalReducer),{toggleGlobalSearchModal:_}=V.GM.actions;(0,i.useEffect)(()=>{h.current?.focus()},[]),(0,i.useEffect)(()=>{let e=s.g.window?.document.getElementsByTagName("html")[0],t=()=>{document.body.scrollTop>178||document.documentElement.scrollTop>178?r(!0):r(!1)};return window.onscroll=()=>t(),s.g.window.addEventListener("scroll",t),e.style.scrollBehavior="smooth",()=>{s.g.window.removeEventListener("scroll",t),e.style.scrollBehavior=""}},[]);let E=(0,i.useCallback)(()=>{document.body.scrollTop=0,document.documentElement.scrollTop=0},[]);return(0,a.jsxs)("div",{className:"main search-content relative pb-[30.25rem] scroll-smooth",role:"dialog","aria-labelledby":"modalTitle","aria-describedby":"modalDescription","aria-modal":!0,ref:j,children:[(0,a.jsx)("header",{className:`${K().header}`,id:"header",role:"banner",children:(0,a.jsx)("div",{className:"container xs:px-4",children:(0,a.jsxs)("nav",{className:"flex items-center justify-between h-12","aria-label":"Header navigation",children:[(0,a.jsxs)("div",{className:`${K().nav_container} sm:!hidden`,children:[(0,a.jsx)("div",{className:`${K().burger_btn} w-[26px] md:hidden`}),(0,a.jsx)(p(),{href:c.Nb.HOME,"aria-label":v,title:v,className:"flex items-center relative w-[10.9444444445rem] h-[3.5rem] sm:w-[7.8174603175rem] sm:h-[2.5rem] mr-4 md:mr-0",onClick:()=>b===c.Nb.HOME&&e(_({isOpen:!N.isOpen})),children:(0,a.jsx)(u.default,{src:f?.logo?.url||"",width:f?.logo?.width,height:f?.logo?.height,alt:f?.logo?.description||f?.logo?.title})})]}),(0,a.jsx)("div",{className:`${K().nav_container} max-w-[62.5rem] w-full sm:order-1 xl:max-w-[45rem] md:!max-w-[30rem]`,children:(0,a.jsx)(ez.A,{initialValue:m,placeholder:"Search for articles, tracks, shows and more",inputRef:h,onSearch:t=>{e(o({page:1,search:t,entryType:null,sortBy:V._K.relevant})),e(d(t)),t||e(n(null))},minSymbols:3,isGlobalSearch:!0,onFocus:e=>{y(e.target.value)},onBlur:()=>{y("")},debounceTime:500})}),(0,a.jsxs)("div",{className:`${K().nav_container} sm:order-0`,children:[(0,a.jsx)("div",{className:"flex items-center md:hidden",children:(0,a.jsx)("div",{className:K().wrapper})}),(0,a.jsx)("button",{className:"ml-4 w-7 h-7 sm:ml-0 sm:mr-4 flex items-center justify-center","aria-label":w,title:w,onClick:()=>e(_({isOpen:!N.isOpen})),children:(0,a.jsx)(en.A,{fill:"#000"})})]})]})})}),(0,a.jsx)(eH,{}),(0,a.jsx)(eV,{}),(0,a.jsxs)("button",{type:"button",onClick:E,className:`${t?"opacity-100":"opacity-0 pointer-events-none"}
48 fixed text-dune bottom-[16.5rem] transition text-center text-[10px] right-[1.5rem] bg-white rounded-full w-[4rem] h-[4rem] flex flex-col gap-1 justify-center items-center shadow-[0px_4px_10px_0px_rgba(0,0,0,0.10)] cursor-pointer sm:bottom-[5.625rem]`,children:[(0,a.jsx)(ei,{}),"Back to",(0,a.jsx)("br",{}),"Top"]})]})});var eW=s(19506),eJ=s(4203),eQ=s(46895),eq=s(98430),eX=s(95593);r.tz.setDefault("America/Los_Angeles");let e0=()=>{let e,t,s,a,r;return e=(0,l.usePathname)(),t=(0,l.useSearchParams)(),s=t?.toString(),a=(0,eJ.h)(),r=(0,eq.O)(eq.p),(0,i.useEffect)(()=>{a?(0,eQ.ZO)(window.location.href):(0,eQ.Xi)()},[e,a,s]),(0,i.useEffect)(()=>{if(!a)return;let e=e=>{if(e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;let t=e.target;if(!(t instanceof Element))return;let s=t.closest("a[href]");if(!(s instanceof HTMLAnchorElement)||s.target&&"_self"!==s.target||s.hasAttribute("download"))return;let a=new URL(window.location.href),l=(0,eQ._D)(s.href,a.toString()),i=s.dataset[eQ.F9]===eQ.W1;if((0,eQ.jE)({currentUrl:a,nextUrl:l,allowLocalPathChange:i})){i&&(0,eQ.CZ)(a.toString(),l);return}e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),r()},t=e=>{let t=(0,eQ.v$)();if(!t)return;let s=new URL(t),a=new URL(window.location.href);(0,eQ.jE)({currentUrl:s,nextUrl:a})||(e.stopImmediatePropagation(),r(),window.history.pushState(window.history.state,"",t))};return document.addEventListener("click",e,!0),window.addEventListener("popstate",t,!0),()=>{document.removeEventListener("click",e,!0),window.removeEventListener("popstate",t,!0)}},[a,r]),null},e1=({children:e})=>{let t=(0,H.j)(),[s,r]=(0,i.useState)(!0),[m,u]=(0,i.useState)(null),{toggleModalBaseWithName:h}=(0,Y.A)(),p=(0,l.usePathname)(),{push:x}=(0,eW.I)(),f="search-button",g=(0,eX.M)(),{isGlobalSearchModalOpen:b}=(0,H.G)(e=>e.globalReducer),{toggleGlobalSearchModal:v}=V.GM.actions,w=s&&!b.isOpen&&!(0,d.x)(p),{user:j,snapshot:y,status:N}=(0,H.G)(e=>e.authReducer),_="authenticated"===N||!!y;(0,i.useEffect)(()=>{let e=new URLSearchParams(window.location.search);r("mobile"!==e.get("platform")),u(e.get("auth"))},[p]),(0,i.useEffect)(()=>{window.scrollTo(0,0),t(v({isOpen:!1}))}
48,[p]);let E=(0,i.useCallback)(({key:e})=>{"Escape"===e&&(t(v({isOpen:!1})),setTimeout(()=>{let e=document.getElementById(f);e&&e.focus()}))},[]);return(0,i.useEffect)(()=>b.isOpen?b.isOpen?document.addEventListener("keydown",E):()=>{document.removeEventListener("keydown",E)}:document.removeEventListener("keydown",E),[b,E]),(0,i.useEffect)(()=>{(0,n.polyfill)()},[]),(0,i.useEffect)(()=>{m&&"unknown"!==N&&(_||("signin"===m&&h({name:o.gM.LOGIN}),"signup"===m&&h({name:o.gM.REGISTRATION}),g({auth:null},!0),u(null)),_&&(j||y)&&x(c.Nb.PROFILE))},[_,j,y,m,N,x,h,g]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Suspense,{fallback:null,children:(0,a.jsx)(e0,{})}),s&&!b.isOpen&&(0,a.jsx)(es,{searchButtonId:f}),b.isOpen&&(0,a.jsx)(eK,{}),!b.isOpen&&(0,a.jsx)("main",{className:"main",children:e}),w&&(0,a.jsx)(M,{}),(0,a.jsx)(el,{})]})}}},e=>{e.O(0,[7952,2687,1049,7538,586,9268,7596,8500,818,1436,2834,7620,9716,7884,6038,9969,8587,1117,6686,292,1549,7998,6892,7601,5925,5019,5877,6065,7821,8055,5449,9793,8441,8532,7358],()=>e(e.s=53045)),_N_E=e.O()}]);

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.