1import{r,j as e}from"./react-vendor-CHQL15iE.js";import{s as ae,T as ce}from"./main-Dck1T9BT.js";import{b4 as le,y as ue,b5 as X,v as Q,j as de,b6 as me,c as fe,ae as xe,t as be,b7 as he,b8 as pe,V as ge,o as we}from"./lucide-BFLOpGdB.js";import"./pdfjs-ji3DqnKJ.js";import"./markdown-W-rE_H7s.js";import"./katex-math-BxKHCrdI.js";const Z={focus:25,break:5},ee="p2g-study-room-pomodoro-minutes",ye=s=>!!s&&typeof s.getItem=="function"&&typeof s.setItem=="function",te=()=>{try{return typeof window<"u"&&ye(window.localStorage)?window.localStorage:void 0}catch{return}},q=(s,n)=>{if(typeof s!="number"&&typeof s!="string")return n;const o=typeof s=="string"&&s.trim()===""?NaN:Number(s);return!Number.isFinite(o)||o<=0?n:Math.min(180,Math.max(1,Math.round(o)))},J=s=>({focus:q(s==null?void 0:s.focus,Z.focus),break:q(s==null?void 0:s.break,Z.break)}),ke=(s=te())=>{if(!s)return{...Z};try{const n=JSON.parse(s.getItem(ee)||"{}");return!n||typeof n!="object"?{...Z}:J(n)}catch{return{...Z}}},Se=(s,n=te())=>{if(!n)return!1;try{const o=J(s);return n.setItem(ee,JSON.stringify(o)),!0}catch{return!1}},ve=s=>s==="focus"?"break":"focus",je=s=>{const n=Math.max(0,Math.floor(s)),o=Math.floor(n/60),i=n%60;return`${String(o).padStart(2,"0")}:${String(i).padStart(2,"0")}`},Re=(s={})=>{const n=s.now??(()=>Date.now()),o=new Set;let i=J(s.settings),c="focus",u="idle",x=i.focus*60,f=null,h=null,d=!1;const j=()=>({phase:c,status:u,remainingSeconds:x,settings:{...i},completion:h}),b=()=>{d||o.forEach(m=>m())},w=()=>{f=n()+x*1e3},R=()=>{var y;if(d||u!=="running"||f===null)return;const m=c,p=ve(m);f=null,u="idle",c=p,x=i[p]*60,h={completedPhase:m,nextPhase:p},(y=s.onComplete)==null||y.call(s,h),b()},N=()=>{if(d||u!=="running"||f===null)return;const m=Math.max(0,Math.ceil((f-n())/1e3));m!==x&&(x=m,b()),m===0&&R()};return{getState:j,subscribe:m=>d?()=>{}:(o.add(m),()=>o.delete(m)),start:()=>d||u!=="idle"||h||x<=0?!1:(w(),u="running",b(),!0),pause:()=>d||u!=="running"||(N(),u!=="running"||f===null)?!1:(x=Math.max(0,Math.ceil((f-n())/1e3)),f=null,u="paused",b(),!0),resume:()=>d||u!=="paused"||h||x<=0?!1:(w(),u="running",b(),!0),reset:()=>{d||(f=null,u="idle",h=null,x=i[c]*60,b())},tick:N,continueNextPhase:()=>d||!h||u!=="idle"?!1:(h=null,x=i[c]*60,w(),u="running",b(),!0),later:()=>d||!h||u!=="idle"?!1:(h=null,x=i[c]*60,b(),!0),updateMinutes:(m,p)=>{var T;const y=i[m],S=q(p,y);return d||u==="running"||S===y?y:(i={...i,[m]:S},m===c&&(f=null,x=S*60),(T=s.onSettingsChange)==null||T.call(s,{...i}),b(),S)},dispose:()=>{d=!0,f=null,o.clear()}}},Ne={zh:{title:"çªèé",focus:"䏿³¨",break:"伿¯",start:"å¼å§",pause:"æå",resume:"ç»§ç»",reset:"éç½®",settings:"设置",minutes:"åé",close:"å
³é",focusComplete:"䏿³¨å®æ",breakComplete:"伿¯ç»æ",nextFocus:"å¼å§ä¸æ³¨",nextBreak:"å¼å§ä¼æ¯",later:"ç¨å"},en:{title:"Pomodoro",focus:"Focus",break:"Break",start:"Start",pause:"Pause",resume:"Resume",reset:"Reset",settings:"Settings",minutes:"min",close:"Close",focusComplete:"Focus complete",breakComplete:"Break complete",nextFocus:"Start focus",nextBreak:"Start break",later:"Later"},ja:{title:"ãã¢ãã¼ã",focus:"éä¸",break:"伿©",start:"éå§",pause:"䏿忢",resume:"åé",reset:"ãªã»ãã",settings:"è¨å®",minutes:"å",close:"éãã",focusComplete:"éä¸çµäº",breakComplete:"伿©çµäº",nextFocus:"éä¸ãéå§",nextBreak:"伿©ãéå§",later:"å¾ã§"},ru:{title:"ÐомодоÑо",focus:"ФокÑÑ",break:"ÐеÑеÑÑв",start:"СÑаÑÑ",pause:"ÐаÑза",resume:"ÐÑодолжиÑÑ",reset:"СбÑоÑиÑÑ",settings:"ÐаÑÑÑойки",minutes:"мин",close:"ÐакÑÑÑÑ",focusComplete:"ФокÑÑ Ð·Ð°Ð²ÐµÑÑÑн",breakComplete:"ÐеÑеÑÑв завеÑÑÑн",nextFocus:"ÐаÑаÑÑ ÑокÑÑ",nextBreak:"ÐаÑаÑÑ Ð¿ÐµÑеÑÑв",later:"Ðозже"}},Te=["button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","a[href]",'[tabindex]:not([tabindex="-1"])'].join(","),W=s=>{if(s.key!=="Tab")return;const n=s.currentTarget,o=Array.from(n.querySelectorAll(Te));if(o.length===0){s.preventDefault();return}const i=document.activeElement,c=i instanceof HTMLElement?o.indexOf(i):-1;
1s.shiftKey&&c<=0?(s.preventDefault(),o[o.length-1].focus()):!s.shiftKey&&(c===o.length-1||c<0)&&(s.preventDefault(),o[0].focus())},Ce=()=>{if(typeof window>"u")return;const s=window;return window.AudioContext||s.webkitAudioContext},Me=({language:s})=>{const n=Ne[s],o=r.useRef(null);o.current||(o.current=Re({settings:ke(),onSettingsChange:t=>{Se(t)}}));const i=o.current,[c,u]=r.useState(()=>i.getState()),[x,f]=r.useState(!1),[h,d]=r.useState(()=>({focus:String(i.getState().settings.focus),break:String(i.getState().settings.break)})),j=r.useRef(null),b=r.useRef(0),w=r.useRef(!1),R=r.useRef(new Set),N=r.useRef(null),m=r.useRef(null),p=r.useRef(null),y=r.useRef(null),S=r.useRef(null),T=r.useRef(null),P=r.useRef(!1),A=r.useRef(!1),_=r.useRef(null),k=r.useRef(null),C=r.useRef(null),$=()=>u(i.getState()),M=c.completion,O=c.status==="running";r.useEffect(()=>{const t=i.subscribe($);return $(),t},[i]),r.useEffect(()=>{if(c.status!=="running")return;i.tick();const t=window.setInterval(()=>i.tick(),250);return()=>window.clearInterval(t)},[i,c.status]),r.useEffect(()=>(w.current=!0,C.current!==null&&(window.clearTimeout(C.current),C.current=null),()=>{w.current=!1,b.current+=1,C.current=window.setTimeout(()=>{C.current=null,w.current||i.dispose()},0),k.current!==null&&(window.clearTimeout(k.current),k.current=null),R.current.forEach(({oscillator:a,gain:g})=>{try{a.stop()}catch{}try{a.disconnect()}catch{}try{g.disconnect()}catch{}}),R.current.clear();const t=j.current;j.current=null,t&&t.state!=="closed"&&t.close().catch(()=>{})}),[i]);const U=async()=>{const t=b.current,a=Ce();if(!a||!w.current)return null;const g=j.current,v=g&&g.state!=="closed"?g:new a;return j.current=v,v.state==="suspended"&&await v.resume(),!w.current||t!==b.current||v!==j.current||v.state==="closed"?null:v},B=()=>{U().catch(()=>{})},G=async()=>{const t=b.current,a=await U();if(!a||!w.current||t!==b.current||a.state==="closed")return;const g=a.currentTime+.03;[523.25,659.25,783.99].forEach((v,ie)=>{if(!w.current||t!==b.current||a.state==="closed")return;const E=a.createOscillator(),D=a.createGain(),F=g+ie*.16,Y={oscillator:E,gain:D};R.current.add(Y),E.onended=()=>{R.current.delete(Y);try{E.disconnect()}catch{}try{D.disconnect()}catch{}},E.type="sine",E.frequency.setValueAtTime(v,F),D.gain.setValueAtTime(1e-4,F),D.gain.exponentialRampToValueAtTime(.14,F+.035),D.gain.exponentialRampToValueAtTime(1e-4,F+.48),E.connect(D),D.connect(a.destination);try{E.start(F),E.stop(F+.5)}catch{R.current.delete(Y);try{E.disconnect()}catch{}try{D.disconnect()}catch{}}})};r.useEffect(()=>{const t=c.completion;if(!t){N.current=null;return}const a=`${t.completedPhase}:${t.nextPhase}`;N.current!==a&&(N.current=a,G().catch(()=>{}))},[c.completion]),r.useEffect(()=>{var a,g;const t=S.current;if(x){t&&!t.open&&t.showModal(),P.current=!0,(a=t==null?void 0:t.querySelector("input"))==null||a.focus(),d({focus:String(c.settings.focus),break:String(c.settings.break)});return}P.current&&(t!=null&&t.open&&t.close(),P.current=!1,(g=m.current)==null||g.focus())},[x,c.settings]),r.useEffect(()=>{const t=T.current;if(M){if(!A.current){const a=document.activeElement;_.current=a instanceof HTMLElement?a:p.current}return t&&!t.open&&t.showModal(),A.current=!0,k.current=window.setTimeout(()=>{var a;k.current=null,(a=y.current)==null||a.focus()},0),()=>{k.current!==null&&(window.clearTimeout(k.current),k.current=null)}}if(A.current){t!=null&&t.open&&t.close(),A.current=!1;const a=_.current||p.current;_.current=null,a==null||a.focus()}},[M]);const H=(t,a)=>{const g=i.updateMinutes(t,a);d(v=>({...v,[t]:g}))},V=()=>{O||["focus","break"].forEach(t=>{H(t,String(h[t]))}),f(!1)},L=()=>{O||f(!0)},l=()=>{if(c.status==="running"){i.pause();return}B(),c.status==="paused"?i.resume():i.start()},I=()=>i.reset(),z=c.settings[c.phase]*60,oe=Math.min(1,Math.max(0,1-c.remainingSeconds/z)),re=O?n.pause:c.status==="paused"?n.resume:n.start;return e.jsxs(e.Fragment,{children:[e.jsxs("section",{"data-testid":"study-room-pomodoro",className:"absolute right-3 top-32 z-20 isolate w-80 max-w-[calc(100vw-2.5rem)] overflow-hidden rounded-2xl border border-white/20 bg-black/60 p-4 shadow-xl backdrop-blur-md sm:right-5 sm:top-40","aria-label":n.title,children:[e.jsxs("div",{className:"flex items-center gap-2 text-white/75",children:[e.jsx(le,{size:16,"aria-hidden":"true",className:"text-cyan-200"}),e.jsx("span",{className:"flex-1 text-xs font-bold tracking-widest",children:n.title}),e.jsx("button",{ref:m,type:"button",onClick:L,disabled:O,"aria-label":n.settings,"aria-haspopup":"dialog",className:"rounded-lg p-2 transition hover:bg-white/10 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cyan-200 disabled:cursor-not-allowed disabled:opacity-40",children:e.jsx(ue,{size:16,"aria-hidden":"true"})})]}),e.jsxs("div",{className:"mb-3 mt-2 flex items-end justify-between gap-3",children:[e.jsx("div",{role:"timer","aria-live":"off",className:"font-mono text-5xl font-medium tabular-nums tracking-tighter text-white",children:je(c.remainingSeconds)}),e.jsx("span",{className:`mb-1 rounded-full px-2.5 py-1 text-xs font-medium ${c.phase==="focus"?"bg-cyan-100/10 text-cyan-100":"bg-amber-100/10 text-amber-100"}`,children:c.phase==="focus"?n.focus:n.break})]}),e.jsx("div",{"aria-hidden":"true",className:"mb-4 h-1 overflow-hidden rounded-full bg-white/10",children:e.jsx("div",{className:`h-full origin-left rounded-full ${c.phase==="focus"?"bg-cyan-100/70":"bg-amber-100/70"} motion-safe:transition-transform motion-reduce:transition-none`,style:{transform:`scaleX(${oe})`}})}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("button",{ref:p,type:"button",onClick:l,className:"flex h-10 min-w-0 flex-1 items-center justify-center gap-2 rounded-xl bg-white px-3 text-sm font-bold text-slate-800 transition hover:bg-white/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cyan-200",children:[O?e.jsx(X,{size:16,fill:"currentColor","aria-hidden":"true"}):e.jsx(Q,{size:16,fill:"currentColor","aria-hidden":"true"}),e.jsx("span",{children:re})]}),e.jsx("button",{type:"button",onClick:I,"aria-label":n.reset,title:n.reset,className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl border border-white/15 text-white/70 transition hover:bg-white/10 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cyan-200",children:e.jsx(de,{size:16,"aria-hidden":"true"})})]})]}),e.jsxs("dialog",{ref:S,className:"m-auto w-80 max-w-[calc(100vw-2rem)] rounded-2xl border border-white/25 bg-slate-900 p-6 text-white shadow-2xl backdrop:bg-black/50 backdrop:backdrop-blur-sm","aria-modal":"true","aria-labelledby":"study-room-pomodoro-settings-title",onCancel:t=>{t.preventDefault(),V()},onKeyDown:W,onClick:t=>{t.target===t.currentTarget&&V()},children:[e.jsxs("h2",{id:"study-room-pomodoro-settings-title",className:"mb-5 text-base font-bold",children:[n.title," · ",n.settings]}),e.jsx("div",{className:"flex flex-col gap-4",children:["focus","break"].map(t=>e.jsxs("label",{className:"flex items-center justify-between gap-3 text-sm",children:[e.jsx("span",{children:t==="focus"?n.focus:n.break}),e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx("input",{type:"number",min:1,max:180,step:1,value:h[t],disabled:O,autoF
1ocus:t==="focus",onChange:a=>d(g=>({...g,[t]:a.target.value})),onKeyDown:a=>{a.key==="Enter"&&a.currentTarget.blur()},"aria-label":`${t==="focus"?n.focus:n.break} ${n.minutes}`,className:"w-20 rounded-lg border border-white/20 bg-black/20 px-2 py-1 text-center font-mono text-white outline-none focus:border-cyan-200 disabled:opacity-50"}),e.jsx("span",{children:n.minutes})]})]},t))}),e.jsx("button",{type:"button",onClick:V,className:"mt-6 w-full rounded-xl bg-white/15 py-2 text-sm font-bold hover:bg-white/25 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cyan-200",children:n.close})]}),e.jsx("dialog",{ref:T,"data-testid":"study-room-pomodoro-complete",className:"m-auto w-full max-w-md rounded-2xl border border-white/25 bg-slate-900/95 p-7 text-center text-white shadow-2xl backdrop:bg-slate-950/55 backdrop:backdrop-blur-sm motion-safe:animate-fade-in","aria-modal":"true","aria-labelledby":"study-room-pomodoro-complete-title",onCancel:t=>{t.preventDefault(),i.later()},onKeyDown:W,children:M&&e.jsxs("div",{className:"motion-safe:animate-fade-in-up",children:[e.jsx("div",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-white/10 text-cyan-100","aria-hidden":"true",children:M.completedPhase==="focus"?e.jsx(me,{size:30}):e.jsx(fe,{size:30})}),e.jsx("h2",{id:"study-room-pomodoro-complete-title",className:"mt-4 text-2xl font-black",children:M.completedPhase==="focus"?n.focusComplete:n.breakComplete}),e.jsx("p",{className:"mt-2 text-sm text-white/65",children:M.nextPhase==="break"?n.break:n.focus}),e.jsxs("div",{className:"mt-6 flex gap-3",children:[e.jsx("button",{type:"button",onClick:()=>i.later(),className:"flex-1 rounded-full border border-white/20 bg-white/10 px-4 py-3 text-sm font-bold text-white/80 hover:bg-white/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cyan-200",children:n.later}),e.jsx("button",{ref:y,type:"button",onClick:()=>{B(),i.continueNextPhase()},className:"flex-1 rounded-full bg-cyan-100 px-4 py-3 text-sm font-black text-slate-900 hover:bg-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cyan-200",children:M.nextPhase==="break"?n.nextBreak:n.nextFocus})]})]})})]})},Ee="https://assert.paper2gal.com/assets/study-room/study-room-loop-v1.mp4",K=Array.from({length:50},(s,n)=>{const o=1e4+n;return{number:o,title:`Lofi BGM ${o}`,url:`https://assert.paper2gal.com/lofi-bgm-20260523/${o}.mp3`}}),Pe={zh:"zh-CN",en:"en-US",ja:"ja-JP",ru:"ru-RU"},se="p2g-study-room-time-zone",Ae=["UTC","Pacific/Honolulu","America/Los_Angeles","America/Denver","America/Chicago","America/New_York","America/Sao_Paulo","Europe/London","Europe/Paris","Europe/Moscow","Asia/Dubai","Asia/Kolkata","Asia/Bangkok","Asia/Shanghai","Asia/Tokyo","Asia/Seoul","Australia/Sydney","Pacific/Auckland"],Oe=s=>{try{return new Intl.DateTimeFormat("en-US",{timeZone:s}).format(),!0}catch{return!1}},ne=()=>Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC",Ie=()=>{const s=ne();try{const n=window.localStorage.getItem(se);return n&&Oe(n)?n:s}catch{return s}},Ve=({language:s,onBack:n})=>{const o=ce[s],i=Pe[s],c=r.useRef(null),u=r.useRef(null),x=r.useRef(!1),[f,h]=r.useState(()=>new Date),[d,j]=r.useState(Ie),[b,w]=r.useState(!1),[R,N]=r.useState(!1),[m,p]=r.useState(!1),[y,S]=r.useState(0),[T,P]=r.useState(!1),[A,_]=r.useState(!1),k=K[y],C=r.useMemo(ne,[]),$=r.useMemo(()=>Array.from(new Set([C,...Ae])),[C]),M=r.useMemo(()=>new Intl.DateTimeFormat(i,{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1,timeZone:d}).format(f),[i,f,d]),O=r.useMemo(()=>new Intl.DateTimeFormat(i,{month:"short",day:"numeric",weekday:"short",timeZone:d}).format(f),[i,f,d]);r.useEffect(()=>{const l=window.setInterval(()=>h(new Date),1e3);return()=>window.clearInterval(l)},[]),r.useEffect(()=>{const l=c.current;if(!l)return;if(typeof IntersectionObserver>"u"){N(!0);return}const I=new IntersectionObserver(([z])=>{z!=null&&z.isIntersecting&&(N(!0),I.disconnect())},{threshold:.01});return I.observe(l),()=>I.disconnect()},[]),r.useEffect(()=>{try{window.localStorage.setItem(se,d)}catch{}},[d]),r.useEffect(()=>{const l=u.current;l&&(l.load(),p(!1),x.current&&ae(l,()=>P(!1)))},[y]);const U=async()=>{const l=u.current;if(l){if(!l.paused){l.pause();return}try{p(!1),await l.play()}catch{P(!1)}}},B=l=>{const I=u.current;x.current=!!(I&&!I.paused),S(z=>(z+l+K.length)%K.length)},G=()=>{x.current=!0,S(l=>(l+1)%K.length)},H=()=>{const l=u.current;l&&(l.muted=!l.muted,_(l.muted))},V="flex h-10 w-10 shrink-0 items-center justify-center rounded-full border border-white/25 bg-black/55 text-white shadow-lg transition hover:bg-black/75 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/80 active:scale-95 sm:h-11 sm:w-11",
1L="flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-white/85 transition hover:bg-white/15 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/70 active:scale-95";return e.jsxs("div",{className:"fixed inset-0 z-50 overflow-hidden bg-black text-white",children:[e.jsx("video",{ref:c,src:R?Ee:void 0,className:"h-full w-full object-cover",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"none",onError:()=>w(!0),"aria-label":o.studyRoom}),e.jsx("audio",{ref:u,src:k.url,preload:"metadata",onPlay:()=>P(!0),onPause:()=>P(!1),onVolumeChange:l=>_(l.currentTarget.muted),onCanPlay:()=>p(!1),onError:()=>p(!0),onEnded:G}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 h-28 bg-gradient-to-b from-black/65 to-transparent"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-36 bg-gradient-to-t from-black/75 to-transparent"}),e.jsxs("div",{className:"absolute left-3 top-3 flex items-center gap-3 sm:left-5 sm:top-5",children:[e.jsx("button",{type:"button",onClick:n,className:V,title:o.studyRoomBack,"aria-label":o.studyRoomBack,children:e.jsx(xe,{size:20})}),e.jsx("h1",{className:"truncate text-base font-bold drop-shadow-md sm:text-lg",children:o.studyRoom})]}),e.jsxs("div",{className:"absolute right-3 top-3 text-right drop-shadow-lg sm:right-5 sm:top-5",children:[e.jsx("time",{className:"block font-mono text-xl font-bold tabular-nums sm:text-3xl",dateTime:f.toISOString(),children:M}),e.jsx("span",{className:"block text-[10px] font-semibold text-white/70 sm:mt-0.5 sm:text-xs",children:O}),e.jsx("select",{value:d,onChange:l=>j(l.target.value),className:"mt-1 max-w-40 cursor-pointer border-0 bg-black/45 px-1.5 py-1 text-right text-[9px] font-semibold text-white/75 outline-none ring-1 ring-white/15 transition hover:bg-black/65 focus:ring-white/50 sm:mt-2 sm:max-w-52 sm:px-2 sm:text-[10px]",title:o.studyRoomTimeZone,"aria-label":o.studyRoomTimeZone,children:$.map(l=>e.jsx("option",{value:l,className:"bg-slate-950 text-white",children:l===C?`${o.studyRoomLocalTimeZone} · ${l}`:l},l))})]}),b&&e.jsx("div",{className:"absolute inset-0 flex items-center justify-center px-6 text-center text-sm font-semibold text-white/90",children:o.studyRoomVideoError}),e.jsx(Me,{language:s}),e.jsxs("div",{className:"absolute bottom-3 left-1/2 flex w-[min(34rem,calc(100%_-_7rem))] -translate-x-1/2 items-center gap-1 rounded-lg border border-white/20 bg-black/65 px-2 py-1.5 shadow-xl sm:bottom-5 sm:gap-2 sm:px-3",children:[e.jsx(be,{size:18,className:"ml-1 shrink-0 text-pink-300"}),e.jsxs("div",{className:"min-w-0 flex-1 px-1",children:[e.jsx("div",{className:"truncate text-xs font-bold sm:text-sm",children:k.title}),e.jsx("div",{className:`truncate text-[9px] sm:text-[10px] ${m?"text-red-300":"text-white/55"}`,children:m?o.studyRoomMusicError:o.studyRoomMusicSource})]}),e.jsx("button",{type:"button",onClick:()=>B(-1),className:L,title:o.studyRoomPreviousTrack,"aria-label":o.studyRoomPreviousTrack,children:e.jsx(he,{size:17,fill:"currentColor"})}),e.jsx("button",{type:"button",onClick:U,className:L,title:T?o.studyRoomPause:o.studyRoomPlay,"aria-label":T?o.studyRoomPause:o.studyRoomPlay,children:T?e.jsx(X,{size:18,fill:"currentColor"}):e.jsx(Q,{size:18,fill:"currentColor"})}),e.jsx("button",{type:"button",onClick:()=>B(1),className:L,title:o.studyRoomNextTrack,"aria-label":o.studyRoomNextTrack,children:e.jsx(pe,{size:17,fill:"currentColor"})}),e.jsx("button",{type:"button",onClick:H,className:L,title:A?o.studyRoomUnmute:o.studyRoomMute,"aria-label":A?o.studyRoomUnmute:o.studyRoomMute,children:A?e.jsx(ge,{size:18}):e.jsx(we,{size:18})})]})]})};export{Ve as default};
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.