1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[722],{1641:(e,n,t)=>{t.d(n,{In:()=>d.In,FO:()=>h.InputField,tp:()=>r.t,uY:()=>o.u,l0:()=>o.l,rJ:()=>m.r,yR:()=>c,dS:()=>p.NellSegmentController,hJ:()=>u.NellTab,Ec:()=>f.E}),t(7927);var r=t(15639),o=t(37382),i=t(95155),s=t(91337);function l(){return(0,i.jsx)("svg",{"aria-hidden":!0,className:"nell-play-button-vector nell-play-button-vector-play",fill:"none",focusable:"false",viewBox:"0 0 24 24",children:(0,i.jsxs)("g",{transform:"translate(4.15 2.08) scale(1.5)",children:[(0,i.jsx)("path",{d:"M0.67 1.67C0.67 0.9 1.5 0.42 2.16 0.8L10.81 5.74C11.49 6.13 11.49 7.1 10.81 7.48L2.16 12.42C1.5 12.81 0.67 12.32 0.67 11.56V1.67Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M0 1.67C0 0.39 1.38 -0.41 2.49 0.22L11.14 5.17C12.26 5.81 12.26 7.42 11.14 8.06L2.49 13C1.38 13.64 0 12.84 0 11.56V1.67ZM1.33 11.56C1.33 11.81 1.61 11.97 1.83 11.85L10.48 6.9C10.71 6.77 10.71 6.45 10.48 6.32L1.83 1.38C1.61 1.25 1.33 1.41 1.33 1.67V11.56Z",fill:"currentColor"})]})})}function a(){return(0,i.jsx)("svg",{"aria-hidden":!0,className:"nell-play-button-vector nell-play-button-vector-pause",fill:"none",focu
1sable:"false",viewBox:"0 0 24 24",children:(0,i.jsxs)("g",{transform:"translate(4.25 2) scale(1.5)",children:[(0,i.jsx)("path",{d:"M0.67 0.67H2.92V12.67H0.67V0.67ZM7.42 0.67H9.67V12.67H7.42V0.67Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M2.92 0C3.28 0 3.58 0.3 3.58 0.67V12.67C3.58 13.03 3.28 13.33 2.92 13.33H0.67C0.3 13.33 0 13.03 0 12.67V0.67C0 0.3 0.3 0 0.67 0H2.92ZM9.67 0C10.03 0 10.33 0.3 10.33 0.67V12.67C10.33 13.03 10.03 13.33 9.67 13.33H7.42C7.05 13.33 6.75 13.03 6.75 12.67V0.67C6.75 0.3 7.05 0 7.42 0H9.67ZM8.08 12H9V1.33H8.08V12ZM1.33 12H2.25V1.33H1.33V12Z",fill:"currentColor"})]})})}function c({"aria-label":e,className:n,isPlaying:t=!1,size:r="standard",tone:o="dark",type:u="button",...d}){return(0,i.jsx)("button",{"aria-label":e??(t?"Pause":"Play"),className:(0,s.cn)("nell-play-button",`nell-play-button-size-${r}`,`nell-play-button-tone-${o}`,n),type:u,...d,children:(0,i.jsx)("span",{className:"nell-play-button-icon-frame","aria-hidden":"true",children:t?(0,i.jsx)(a,{}):(0,i.jsx)(l,{})})})}var u=t(5496),d=t(96646),h=t(54372),f=t(82037),p=t(88453);t(42309),t(28691),t(43156),t(14555),t(11912),t(32183),t(82370),t(68608);var m=t(43629)},15639:(e,n,t)=>{t.d(n,{t:()=>s});var r=t(95155),o=t(91337);let i={default:"","nell-ai":"nell-badge-nell-ai",new:"nell-badge-new",ai:"nell-badge-ai","host-ai":"nell-badge-host-ai",private:"nell-badge-private"};function s({children:e,className:n,eyebrow:t,icon:l,size:a="small",tone:c="default",...u}){return(0,r.jsxs)("span",{className:(0,o.cn)("nell-badge","large"===a?"nell-badge-large":"nell-badge-small",i[c],n),...u,children:[l?(0,r.jsx)("span",{className:"nell-badge-icon inline-flex shrink-0 items-center",children:l}):null,t?(0,r.jsx)("span",{className:"nell-badge-eyebrow",children:t}):null,(0,r.jsx)("span",{className:"nell-badge-label",children:e})]})}},23059:(e,n,t)=>{t.d(n,{Hh:()=>r});function r(e){let n=e?.trim();if(!n)throw Error("NEXT_PUBLIC_SUPABASE_COOKIE_NAME binding is required");return n}},26906:(e,n,t)=>{t.d(n,{Tb:()=>i,VS:()=>s,nm:()=>a,qF:()=>o,y2:()=>c});var r=t(84512);let o={environment:{nodeEnv:"production",isDevelopment:!1,isProduction:!0,isTest:!1},auth:{cookieName:(0,t(23059).Hh)("sb-nell-auth-token")}};function i(){return o.environment.isDevelopment}function s(){return o.auth.cookieName}function l(e,n,t){let o=function(e){if(!e)return null;let n=e.trim();if(!n||n.includes("://")||n.startsWith("//"))return null;let t=n.startsWith("/")?n:`/${n}`;try{let e=new URL(t,"https://nell.ai");return`${e.pathname}${e.search}`}catch{return null}}(n);if(!o||"/"===o||"/home"===o)return`${e}://home`;let i=new URL(o,"https://nell.ai"),s=i.pathname.split("/").filter(Boolean),l=s[0];if(!l)return`${e}://home`;if("discovery"===l)return 2===s.length?`${e}://discover?category=${encodeURIComponent(s[1]||"")}`:`${e}://discover`;if("create"===l)return`${e}://create`;if(["library","discover","settings"].includes(l)){if(1===s.length)return`${e}://${l}${i.search}`;if("settings"===l&&2===s.length)return`${e}://settings/${encodeURIComponent(s[1]||"")}`}if("search"===l)return`${e}://search${i.search}`;if(["show","shows","episode","episodes","play","profile","users"].includes(l)&&2===s.length){let n=function(e){switch(e){case"shows":return"show";case"episodes":return"episode";case"users":return"profile";default:return e}}(l);return`${e}://${n}/${encodeURIComponent(s[1]||"")}`}return t&&(s.length<=3||(0,r.Mh)(i.pathname))?`${e}://public-path${i.pathname}`:`${e}://home`}function a(e){return l(u(),e,!1)}function c(e){return l(u(),e,!0)}function u(){let e=`${window.location.protocol}//${window.location.host}`;return e.includes("staging")||e.includes("vercel.app")?"nell-staging":e.includes("nell.ai")&&!e.includes("staging")?"nell":"nell-dev"}},33098:(e,n,t)=>{t.d(n,{o:()=>i});var r=t(47677),o=t(75902);function i(e){return(0,o.cn)((0,r.r)(e))}},34941:(e,n,t)=>{t.d(n,{A_:()=>r});function r(e){window.location.assign(e||window.location.origin||"https://nell.ai")}},36516:(e,n,t)=>{t.d(n,{D3:()=>h,II:()=>w,Kr:()=>C,Mt:()=>d,SS:()=>j,U1:()=>v,WI:()=>b,YJ:()=>f,Ze:()=>m,_X:()=>N,cF:()=>g,fC:()=>k,i7:()=>L,j0:()=>x,pD:()=>y,te:()=>u,vK:()=>p});var r=t(95155),o=t(55204),i=t(12246),s=t(24948),l=t(32802),a=t(72229),c=t(75902);function u({className:e,direction:n="right",...t}){return(0,r.jsx)("svg",{"aria-hidden":"true",focusable:"false",height:"16",width:"16",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:(0,
1c.cn)("size-4",{up:"-rotate-90",down:"rotate-90",left:"rotate-180",right:""}[n],e),...t,children:(0,r.jsx)("path",{fill:"currentColor",d:"m13.75 10-7.5 4.33V5.67L13.75 10Z"})})}function d({className:e,...n}){return(0,r.jsx)("svg",{"aria-hidden":"true",focusable:"false",height:"16",width:"16",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:(0,c.cn)("size-4",e),...n,children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625",d:"M4.75 12.25 10 7l5.25 5.25"})})}function h({className:e,...n}){return(0,r.jsx)("svg",{"aria-hidden":"true",focusable:"false",height:"16",width:"16",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:(0,c.cn)("size-4",e),...n,children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625",d:"M4.75 7.75 10 13l5.25-5.25"})})}function f({className:e,...n}){return(0,r.jsx)("svg",{"aria-hidden":"true",focusable:"false",height:"16",width:"16",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:(0,c.cn)("size-4",e),...n,children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625",d:"M12.25 15.25 7 10l5.25-5.25"})})}function p({className:e,...n}){return(0,r.jsx)("svg",{"aria-hidden":"true",focusable:"false",height:"16",width:"16",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:(0,c.cn)("size-4",e),...n,children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625",d:"M7.75 15.25 13 10l-5.25-5.25"})})}function m({className:e,...n}){return(0,r.jsxs)("svg",{"aria-hidden":"true",focusable:"false",height:"16",width:"16",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:(0,c.cn)("size-4",e),...n,children:[(0,r.jsx)("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625",x1:"3",x2:"10",y1:"6",y2:"6"}),(0,r.jsx)("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625",x1:"15",x2:"17",y1:"6",y2:"6"}),(0,r.jsx)("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625",x1:"17",x2:"10",y1:"14",y2:"14"}),(0,r.jsx)("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625",x1:"5",x2:"3",y1:"14",y2:"14"}),(0,r.jsx)("circle",{cx:"12.5",cy:"6",fill:"none",r:"2.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625"}),(0,r.jsx)("circle",{cx:"7.5",cy:"14",fill:"none",r:"2.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625"})]})}function g({className:e,filled:n=!1,...t}){return(0,r.jsx)("svg",{"aria-hidden":"true",focusable:"false",height:"16",width:"16",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:(0,c.cn)("size-4",e),...t,children:(0,r.jsx)("path",{d:"m16,17l-6-4-6,4V6c0-1.657,1.343-3,3-3h6c1.657,0,3,1.343,3,3v11Z",fill:n?"currentColor":"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625"})})}function w({className:e,filled:n=!1,...t}){return(0,r.jsx)("svg",{"aria-hidden":"true",focusable:"false",height:"16",width:"16",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:(0,c.cn)("size-4",e),...t,children:(0,r.jsx)("path",{d:"m4.378,6.114l5.082-3.267c.329-.212.752-.212,1.082,0l5.082,3.267c.859.552,1.378,1.503,1.378,2.524v5.362c0,1.657-1.343,3-3,3H6c-1.657,0-3-1.343-3-3v-5.362c0-1.021.519-1.972,1.378-2.524Z",fill:n?"currentColor":"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625"})})}function v({className:e,filled:n=!1,...t}){return(0,r.jsxs)("svg",{"aria-hidden":"true",focusable:"false",height:"16",width:"16",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:(0,c.cn)("size-4",e),...t,children:[(0,r.jsx)("circle",{cx:"10",cy:"10",fill:"none",r:"7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625"}),n?(0,r.jsx)("path",{d:"M10 3a7 7 0 1 0 0 14a7 7 0 1 0 0-14ZM9.21875 7a.78125.78125 0 0 1 1.5625 0v2.21875H13a.78125.78125 0 0 1 0 1.5625h-2.21875V13a.78125.78125 0 0 1-1.5625 0v-2.21875H7a.78125.78125 0 0 1 0-1.5625h2.21875V7Z",fill:"currentColor",fillRule:"evenodd"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625",x1:"10",x2:"10",y1:"13",y2:"7"}),(0,r.jsx)("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625",x1:"7",x2:"13",y1:"10",y2:"10"})]})]})}function x({className:e,filled:n=!0,...t}){return(0,r.jsxs)("svg",{"aria-hidden":"true",focusable:"false",height:"16",width:"16",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:(0,
1c.cn)("size-4",e),...t,children:[(0,r.jsx)("path",{d:"m6,4h2v12h-2c-1.656,0-3-1.344-3-3v-6c0-1.656,1.344-3,3-3Z",fill:"currentColor",strokeWidth:"0",className:(0,c.cn)("[transition:var(--sidebar-icon-transition,opacity_200ms_ease-out)] motion-reduce:transition-none",n?"opacity-100":"opacity-0")}),(0,r.jsx)("rect",{height:"12",width:"14",fill:"none",rx:"3",ry:"3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625",x:"3",y:"4"})]})}function k({className:e,...n}){return(0,r.jsxs)("svg",{"aria-hidden":"true",focusable:"false",height:"16",width:"16",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:(0,c.cn)("size-4",e),...n,children:[(0,r.jsx)("ellipse",{cx:"10",cy:"10",rx:"2.5",ry:"7",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625"}),(0,r.jsx)("line",{x1:"3",y1:"10",x2:"17",y2:"10",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625"}),(0,r.jsx)("circle",{cx:"10",cy:"10",r:"7",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625"})]})}function b({className:e,filled:n=!1,...t}){return(0,r.jsxs)("svg",{"aria-hidden":"true",focusable:"false",height:"16",width:"16",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:(0,c.cn)("size-4",e),...t,children:[(0,r.jsx)("path",{d:"m17.5 17.5-3.6167-3.6167",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625"}),(0,r.jsx)("circle",{cx:"9.1667",cy:"9.1667",r:"6.6667",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5625"}),n&&(0,r.jsx)("circle",{cx:"9.1667",cy:"9.1667",r:"4",fill:"currentColor",stroke:"none"})]})}function y({className:e,...n}){return(0,r.jsx)(o.A,{"aria-hidden":"true",focusable:"false",className:(0,c.cn)("size-4",e),...n})}function C({className:e,...n}){return(0,r.jsx)(i.A,{"aria-hidden":"true",focusable:"false",className:(0,c.cn)("size-4",e),...n})}function j({className:e,...n}){return(0,r.jsx)(s.A,{"aria-hidden":"true",focusable:"false",className:(0,c.cn)("size-4",e),...n})}function L({className:e,...n}){return(0,r.jsx)(l.A,{"aria-hidden":"true",focusable:"false",className:(0,c.cn)("size-4",e),...n})}function N({className:e,...n}){return(0,r.jsx)(a.A,{"aria-hidden":"true",focusable:"false",className:(0,c.cn)("size-4",e),...n})}},37382:(e,n,t)=>{t.d(n,{l:()=>u,u:()=>c});var r=t(95155),o=t(42442),i=t(18460),s=t(91337);let l=(0,i.F)("nell-button",{variants:{variant:{primary:"nell-button-primary",secondary:"nell-button-secondary",tertiary:"nell-button-tertiary"},size:{sm:"h-9 px-3",md:"h-10 px-4"}},defaultVariants:{variant:"primary",size:"sm"}}),a=(0,i.F)("nell-icon-button",{variants:{tone:{glass:"",solid:"nell-icon-button-solid"},size:{sm:"size-9",md:"size-10"}},defaultVariants:{tone:"glass",size:"md"}});function c({asChild:e=!1,children:n,className:t,disabled:i,fullWidth:a=!1,icon:u,isLoading:d=!1,size:h="sm",variant:f="primary",...p}){let m=i||d,g=(0,s.cn)(l({variant:f,size:h}),a&&"nell-button-full",t);return e?(0,r.jsx)(o.DX,{"aria-disabled":m||void 0,"aria-busy":d||void 0,className:g,"data-loading":d||void 0,...p,children:n}):(0,r.jsxs)("button",{"aria-busy":d||void 0,className:g,"data-loading":d||void 0,disabled:m,type:"button",...p,children:[d?(0,r.jsx)("span",{className:"nell-button-spinner","aria-hidden":"true"}):null,u,(0,r.jsx)("span",{children:n})]})}function u({children:e,className:n,disabled:t,isLoading:o=!1,size:i="md",tone:l="glass",...c}){return(0,r.jsx)("button",{className:(0,s.cn)(a({tone:l,size:i}),n),disabled:t||o,"data-loading":o||void 0,"aria-busy":o||void 0,type:"button",...c,children:o?(0,r.jsx)("span",{className:"nell-button-spinner","aria-hidden":"true"}):e})}},38616:(e,n,t)=>{t.d(n,{$_:()=>l,KK:()=>c,Zz:()=>a,l1:()=>s,vm:()=>i});let r=null,o=null;function i(e){r!==e&&(r=e,o=null)}function s(){o=null}function l(e){let{recommendation_lineage:n,...t}=e;return t}function a(e){r===e.actorId&&(o={...e,selectedAt:e.selectedAt??Date.now()})}function c(e){let n=function(e,n,t,r,o){if(!n||n.actorId!==t||o-n.selectedAt>18e5)return;let i=r.replace(/^\/listen(?=\/)/,"");if(i!==n.path&&!i.startsWith(`${n.path}/`))return;let s=e.public_id??e.episode_public_id,l=e.show_public_id??e.show?.public_id??e.shows?.public_id;if(("home_episodes"!==n.decision.surface||s===n.targetId)&&("home_shows"!==n.decision.surface||l===n.targetId))return{actor_id:n.actorId,decision_id:n.decision.id,rank:n.rank,target_id:n.targetId,surface:n.decision.surface,permission_revision:n.decision.permission_revision,selected_at:new Date(n.selectedAt).toISOString(),kind:"home_episodes"===n.decision.surface?"recommendation":"assisted_discovery",..."home_shows"===n.decision.surface?{parent_show_id:l}:{}}}(e,o,r,window.location.pathname,Date.now());if(n)return{...e,recommendation_lineage:n};if(e.recommendation_lineage?.actor_id===r)return e;let{recommendation_lineage:t,...i}=e;return i}},42028:(e,n,t)=>{t.d(n,{TW:()=>l,cn:()=>s});var r=t(26906);let o=/^sb-[a-z0-9-]+-auth-token(?:\.\d+)?$/i;function i(e){try{let n=e.replace(/-/g,"+").replace(/_/g,"/"),t=n.length%4,r=0===t?n:n.padEnd(n.length+(4-t),"=");return window.atob(r)}catch{return null}}function s(e=(0,r.VS)()){if("u"<typeof document)return null;let n=document.cookie.split(";").flatMap(e=>{let n=e.trim();if(!n)return[];let t=n.indexOf("=");return -1===t?[]:[{name:decodeURIComponent(n.slice(0,t)),value:decodeURIComponent(n.slice(t+1))}]}),t=function(e){let n=new Map;for(let t of e)n.has(t.name)||n.set(t.name,t.value);return n}(n);for(let r of function(e,n){let t=new Set([n]);for(let n of e)o.test(n.name)&&t.add(n.name.replace(/\.\d+$/,""));return[...t]}(n,e)){let e=function(e,n){let t=e.get(n);if(t)return t;if(!e.get(`${n}.0`))return null;let r=0,o="";for(;;){let t=e.get(`${n}.${r}`);if(!t)break;o+=t,r+=1}return o||null}(t,r);if(e)return e}return null}function l(e=(0,r.VS)()){if("u"<typeof document)return null;let n=s(e);if(!n)return null;for(let e of n.startsWith("base64-")?[i(n.slice(7))]:[n,i(n)])if(e)try{let n=JSON.parse(e);if(n&&"object"==typeof n&&"access_token"in n&&"refresh_token"in n&&"user"in n)return n}catch{continue}return null}},43629:(e,n,t)=>{t.d(n,{r:()=>l});var r=t(95155),o=t(91337),i=t(54199);let s={compact:"h-6 w-auto",navigation:"h-7 w-auto",prominent:"h-7 w-auto md:h-8",productTopBar:t.n(i)().productTopBar};function l({className:e,size:n}){return(0,r.jsxs)("svg",{"aria-hidden":"true",className:(0,o.cn)("block shrink-0",e,s[n]),fill:"none",focu
1sable:"false",viewBox:"0 0 171 48",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M25.28 41.07C25.28 43.19 27.08 45 29.18 45C31.28 45 33.08 43.19 33.08 41.07V35.21C33.08 34.01 33.92 33.1 35 33.1C36.08 33.1 36.92 34.01 36.92 35.21C36.92 40.71 41.18 45 46.64 45C52.1 45 56.36 40.71 56.36 35.21C56.36 23.2 46.94 13.72 35 13.72C23.06 13.72 13.64 23.2 13.64 35.21C13.64 36.48 12.8 37.33 11.72 37.33C10.64 37.33 9.8 36.48 9.8 35.21C9.8 21.02 20.84 9.85 35 9.85C49.16 9.85 60.2 21.02 60.2 35.21V41.07C60.2 43.19 62 45 64.1 45C66.2 45 68 43.19 68 41.07V35.21C68 16.61 53.48 2 35 2C16.52 2 2 16.62 2 35.22C2 40.71 6.26 45 11.72 45C17.18 45 21.44 40.71 21.44 35.22C21.44 27.61 27.44 21.57 35 21.57C42.56 21.57 48.56 27.61 48.56 35.22C48.56 36.49 47.72 37.33 46.64 37.33C45.56 37.33 44.72 36.48 44.72 35.22C44.72 29.72 40.46 25.43 35 25.43C29.54 25.43 25.28 29.72 25.28 35.22V41.08L25.28 41.07Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M130.1 19.21C133.25 19.21 135.56 20.67 136.59 23.27C137.19 24.91 136.1 25.94 134.41 25.94H125.56C123.8 25.94 122.77 24.79 123.62 23.15C124.89 20.6 127.07 19.21 130.1 19.21V19.21ZM84 45.03H91.88V26.36C91.88 22.48 94.48 19.82 98.3 19.82C101.81 19.82 103.87 22 103.87 26.18V45.03H111.75V23.82C111.75 17.39 107.69 13.03 101.51 13.03C96.24 13.03 95.27 15.88 93.03 15.88C92.18 15.88 91.39 15.39 91.39 14.06H84V45.03V45.03ZM140.4 35.09C136.47 38.36 134.59 39.33 131.19 39.33C127.14 39.33 124.47 37.52 123.2 34.3C122.53 32.67 123.56 31.58 125.26 31.58H144.83V28.49C144.83 18.79 139.62 13.03 130.35 13.03C121.08 13.03 114.78 19.94 114.78 29.7C114.78 39.45 121.26 46 131.01 46C136.34 46 140.52 44.3 144.82 39.94L140.4 35.09H140.4ZM159.12 2V45.03H167V2H159.12ZM147.85 2V45.03H155.73V2H147.85Z",fill:"currentColor"})]})}},47677:(e,n,t)=>{t.d(n,{Button:()=>a,r:()=>l});var r=t(95155),o=t(10646),i=t(73690),s=t(75902);let l=(0,i.F)("inline-flex shrink-0 cursor-pointer select-none items-center justify-center gap-2 whitespace-nowrap rounded-full outline-none transition-[background-color,color,border-color,box-shadow] focus-visible:ring-2 focus-visible:ring-focus/35 data-[disabled]:pointer-events-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",{variants:{variant:{primary:"bg-box-inverse text-content-inverse shadow-sm hover:bg-box-inverse-accent hover:text-content-inverse-accent",secondary:"bg-box-secondary text-content-primary highlight-boxshadow-elevated hover:bg-box-secondary-accent hover:text-content-primary-accent",outline:"bg-transparent text-content-primary highlight-boxshadow-elevated hover:bg-box-primary-accent hover:text-content-primary-accent",ghost:"bg-transparent text-content-primary hover:bg-box-secondary-accent hover:text-content-primary-accent",danger:"bg-box-danger text-content-inverse shadow-sm hover:bg-box-danger-accent"},size:{sm:"h-9 px-3 text-sm",md:"h-10 px-4 text-sm",iconSm:"size-9",iconMd:"size-10"}},defaultVariants:{variant:"primary",size:"md"}});function a({className:e,variant:n,size:t,nativeButton:i=!0,...c}){return(0,r.jsx)(o.$,{nativeButton:i,className:(0,s.cn)(l({variant:n,size:t}),e),...c})}},75902:(e,n,t)=>{t.d(n,{cn:()=>i});var r=t(30044);let o=(0,t(53312).zu)({extend:{theme:{text:["sm-prose","prompt","display-sm","display-md","display-lg"]}}});function i(...e){return o((0,r.$)(e))}},80639:(e,n,t)=>{t.d(n,{R7:()=>s,kf:()=>i,o5:()=>o});var r=t(38616);let o="nell:learning-permission";function i(e){try{var n=window.localStorage;try{for(let e=n.length-1;e>=0;e--){let t=n.key(e);t?.startsWith("nell.recommendation-exposures.v1:")&&n.removeItem(t)}}catch{}}catch{}return null}function s(){i(null),(0,r.l1)(),window.dispatchEvent(new Event(o))}},81008:(e,n,t)=>{t.d(n,{As:()=>g,OJ:()=>m,ad:()=>w});var r=t(95155),o=t(80639),i=t(38616),s=t(12115),l=t(1050),a=t(42028),c=t(34941);let u=(0,s.createContext)(void 0),d="nell.auth.session.changed";function h(){try{for(let e=window.sessionStorage.length-1;e>=0;e-=1){let n=window.sessionStorage.key(e);n?.startsWith("nell:agent-voice:")&&n.endsWith(":pending")&&window.sessionStorage.removeItem(n)}}catch{}}function f(e,n){let t=n(e);return t.user===e.user&&t.session===e.session&&t.loading===e.loading?e:t}async function p(e,n,t){let r=null;try{return await Promise.race([e,new Promise((e,o)=>{r=window.setTimeout(()=>{o(Error(`${t} timed out after ${n}ms`))},n)})])}finally{r&&window.clearTimeout(r)}}function m({children:e,initialSession:n,onSignOut:t,redirectAfterSignOut:g=c.A_}){let[w,v]=(0,s.useReducer)(f,{user:n?.user??null,session:n??null,loading:void 0===n}),{user:x,session:k,loading:b}=w,y=null===n,C=null!==x,j=(0,s.useCallback)(async()=>{try{let e=await p((0,l.Jb)(),5e3,"auth session request");e||h(),v(n=>({...n,session:e,user:e?.user??null}))}catch(e){console.error("Error in fetchSession:",e)}finally{v(e=>({...e,loading:!1}))}},[]);(0,s.useEffect)(()=>{y||j()},[j,y]);let L=(0,s.useEffectEvent)(()=>{"hidden"===document.visibilityState||(!y||C||null!==(0,a.cn)())&&j()}),N=(0,s.useEffectEvent)(e=>{e.key===d&&j()});(0,s.useEffect)(()=>{let e=()=>L(),n=e=>N(e);return window.addEventListener("focus",e),window.addEventListener("pageshow",e),document.addEventListener("visibilitychange",e),window.addEventListener("storage",n),(
1)=>{window.removeEventListener("focus",e),window.removeEventListener("pageshow",e),document.removeEventListener("visibilitychange",e),window.removeEventListener("storage",n)}},[]);let _=async()=>{try{v(e=>({...e,loading:!0})),await fetch("/api/v1/auth/logout",{method:"POST",credentials:"include"}),(0,o.kf)(null),(0,i.vm)(null),h(),v(e=>({...e,user:null,session:null}));try{t?.()}catch(e){console.error("Error clearing sign-out state:",e)}try{window.localStorage.setItem(d,JSON.stringify({event:"signout",timestamp:Date.now()}))}catch{}g()}catch(e){console.error("Error in signOut:",e)}finally{v(e=>({...e,loading:!1}))}},V=async()=>{await j()};return(0,r.jsx)(u.Provider,{value:{user:x,session:k,loading:b,signOut:_,refreshSession:V},children:e})}function g(){let e=(0,s.use)(u);if(void 0===e)throw Error("useAuth must be used within an AuthProvider");return e}function w(){return(0,s.use)(u)}},82037:(e,n,t)=>{t.d(n,{E:()=>c});var r=t(95155),o=t(5772),i=t(91337),s=t(77110),l=t.n(s);let a={xs:"24px",sm:"32px",md:"36px",lg:"68px",xl:"72px",auto:"100vw"};function c({alt:e="",className:n,imageClassName:t,priority:s=!1,sizes:u,size:d="md",src:h,...f}){return(0,r.jsx)("span",{className:(0,i.cn)(l().root,n),"data-size":d,...f,children:(0,r.jsx)(o.default,{alt:e,className:(0,i.cn)(l().image,t),fill:!0,priority:s,sizes:u??a[d],src:h||"/profile/default-profile-pic.svg",unoptimized:function(e){if(!e||e.startsWith("data:"))return!0;try{let{pathname:n}=new URL(e,"https://app.local");return n.startsWith("/api/v1/media/")||n.startsWith("/api/v2/media/")||n.endsWith(".svg")}catch{return!1}}(h)})})}},84512:(e,n,t)=>{t.d(n,{Mh:()=>i,ts:()=>o});let r=RegExp("^[0-9A-Za-z]{12}$");function o(e){var n;let t,o=e.trim();if(!o||"/"===o)return{ok:!1,reason:"empty_path"};let i=o.startsWith("/")?o:`/${o}`,s=i.split("/").filter(Boolean);if(4!==s.length&&5!==s.length||"s"!==s.at(-2))return{ok:!0,canonicalPath:i,token:null,hasShareToken:!1};let l=(n=s.at(-1),(t=n?.trim())&&r.test(t)?t:null);return l?{ok:!0,canonicalPath:`/${s.slice(0,-2).join("/")}`,token:l,hasShareToken:!0}:{ok:!1,reason:"invalid_share_token"}}function i(e){let n=o(e);if(!n.ok||!n.hasShareToken)return!1;let t=n.canonicalPath.split("/").filter(Boolean).length;return 2===t||3===t}}}]);
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.