PageSourceSearch

https://www.ircam.fr/_next/static/chunks/8e0045e84d357f9f.js

js ircam.fr collected 2026-09-24 07:32:24 UTC 15,569 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,700832,e=>{"use strict";var r=e.i(904151);e.i(483006);var t=e.i(596806),l=e.i(755053);e.i(7284);var o=e.i(290540),n=e.i(916446),a=e.i(893432),i=e.i(12419),s=e.i(383285),c=e.i(921232),u=e.i(748495),d=e.i(667657),h=e.i(363716),f={root:"m_8d3f4000",icon:"m_8d3afb97",loader:"m_302b9fb1",group:"m_1a0f1b21",groupSection:"m_437b6484"};let p={orientation:"horizontal"},m=(0,l.createVarsResolver)((e,{borderWidth:r})=>({group:{"--ai-border-width":(0,d.rem)(r)}})),y=(0,h.factory)((e,t)=>{let l=(0,o.useProps)("ActionIconGroup",p,e),{className:i,style:s,classNames:c,styles:u,unstyled:d,orientation:h,vars:y,borderWidth:g,variant:v,mod:x,attributes:_,...C}=(0,o.useProps)("ActionIconGroup",p,e),k=(0,n.useStyles)({name:"ActionIconGroup",props:l,classes:f,className:i,style:s,classNames:c,styles:u,unstyled:d,attributes:_,vars:y,varsResolver:m,rootSelector:"group"});return(0,r.jsx)(a.Box,{...k("group"),ref:t,variant:v,mod:[{"data-orientation":h},x],role:"group",...C})});y.classes=f,y.displayName="@mantine/core/ActionIconGroup";let g=(0,l.createVarsResolver)((e,{radius:r,color:l,gradient:o,variant:n,autoContrast:a,size:i})=>{let s=e.variantColorResolver({color:l||e.primaryColor,theme:e,gradient:o,variant:n||"filled",autoContrast:a});return{groupSection:{"--section-height":(0,t.getSize)(i,"section-height"),"--section-padding-x":(0,t.getSize)(i,"section-padding-x"),"--section-fz":(0,t.getFontSize)(i),"--section-radius":void 0===r?void 0:(0,t.getRadius)(r),"--section-bg":l||n?s.background:void 0,"--section-color":s.color,"--section-bd":l||n?s.border:void 0}}}),v=(0,h.factory)((e,t)=>{let l=(0,o.useProps)("ActionIconGroupSection",null,e),{className:i,style:s,classNames:c,styles:u,unstyled:d,vars:h,variant:p,gradient:m,radius:y,autoContrast:v,attributes:x,..._}=l,C=(0,n.useStyles)({name:"ActionIconGroupSection",props:l,classes:f,className:i,style:s,classNames:c,styles:u,unstyled:d,attributes:x,vars:h,varsResolver:g,rootSelector:"groupSection"});return(0,r.jsx)(a.Box,{...C("groupSection"),ref:t,variant:p,..._})});v.classes=f,v.displayName="@mantine/core/ActionIconGroupSection";let x=(0,l.createVarsResolver)((e,{size:r,radius:l,variant:o,gradient:n,color:a,autoContrast:i})=>{let s=e.variantColorResolver({color:a||e.primaryColor,theme:e,gradient:n,variant:o||"filled",autoContrast:i});return{root:{"--ai-size":(0,t.getSize)(r,"ai-size"),"--ai-radius":void 0===l?void 0:(0,t.getRadius)(l),"--ai-bg":a||o?s.background:void 0,"--ai-hover":a||o?s.hover:void 0,"--ai-hover-color":a||o?s.hoverColor:void 0,"--ai-color":s.color,"--ai-bd":a||o?s.border:void 0}}}),_=(0,i.polymorphicFactory)((e,t)=>{let l=(0,o.useProps)("ActionIcon",null,e),{className:i,unstyled:d,variant:h,classNames:p,styles:m,style:y,loading:g,loaderProps:v,size:_,color:C,radius:k,__staticSelector:I,gradient:B,vars:b,children:j,disabled:T,"data-disabled":w,autoContrast:L,mod:P,attributes:F,...S}=l,A=(0,n.useStyles)({name:["ActionIcon",I],props:l,className:i,style:y,classes:f,classNames:p,styles:m,unstyled:d,attributes:F,vars:b,varsResolver:x});return(0,r.jsxs)(u.UnstyledButton,{...A("root",{active:!T&&!g&&!w}),...S,unstyled:d,variant:h,size:_,disabled:T||g,ref:t,mod:[{loading:g,disabled:T||w},P],children:["boolean"==typeof g&&(0,r.jsx)(c.Transition,{mounted:g,transition:"slide-down",duration:150,children:e=>(0,r.jsx)(a.Box,{component:"span",...A("loader",{style:e}),"aria-hidden":!0,children:(0,r.jsx)(s.Loader,{color:"var(--ai-color)",size:"calc(var(--ai-size) * 0.55)",...v})})}),(0,r.jsx)(a.Box,{component:"span",mod:{loading:g},...A("icon"),children:j})]})});_.classes=f,_.displayName="@mantine/core/ActionIcon",_.Group=y,_.GroupSection=v,e.s(["ActionIcon",()=>_],700832)},35598,e=>{"use strict";let r=(0,e.i(819930).default)("filled","player-pause-filled","PlayerPauseFilled",[["path",{d:"M9 4h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h2a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2z",key:"svg-0"}],["path",{d:"M17 4h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h2a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2z",key:"svg-1"}]]);e.s(["IconPlayerPauseFilled",()=>r],35598)},771687,e=>{"use strict";var r=e.i(185935),t=e.i(618995),l=e.i(483006),o=e.i(841110);e.i(365590);var n=e.i(904151),a=(0,l.forwardRef)(function({href:e,locale:l,localeCookie:a,onClick:i,prefetch:s,...c},u){let d=(0,o.useLocale)(),h=null!=l&&l!==d,f=(0,t.usePathname)();return h&&(s=!1),(0,n.jsx)(r.default,{ref:u,href:e,hrefLang:h?l:void 0,onClick:function(e){(function(e,r,t,l){if(!e||l===t||null==l||!r)return;let o=function(e,r=window.location.pathname){return"/"===e?r:r.replace(e,"")}(r),{name:n,...a}=e;a.path||(a.path=""!==o?o:"/");let i=`${n}=${l};`;for(let[e,r]of Object.entries(a))i+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof r&&(i+="="+r),i+=";";document.cookie=i})(a,f,d,l),i&&i(e)},prefetch:s,...c})});e.s(["default",()=>
1a],771687)},733937,e=>{"use strict";var r=e.i(483006);let t="u">typeof document?r.useLayoutEffect:r.useEffect;e.s(["useIsomorphicEffect",()=>t])},819930,e=>{"use strict";var r=e.i(483006),t={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};let l=(e,l,o,n)=>{let a=(0,r.forwardRef)(({color:o="currentColor",size:a=24,stroke:i=2,title:s,className:c,children:u,...d},h)=>(0,r.createElement)("svg",{ref:h,...t[e],width:a,height:a,className:["tabler-icon",`tabler-icon-${l}`,c].join(" "),..."filled"===e?{fill:o}:{strokeWidth:i,stroke:o},...d},[s&&(0,r.createElement)("title",{key:"svg-title"},s),...n.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(u)?u:[u]]));return a.displayName=`${o}`,a};e.s(["default",()=>l],819930)},597830,e=>{"use strict";var r=e.i(478531),t=e.i(661892);function l({color:e,theme:r,autoContrast:l}){return("boolean"==typeof l?l:r.autoContrast)&&(0,t.parseThemeColor)({color:e||r.primaryColor,theme:r}).isLight?"var(--mantine-color-black)":"var(--mantine-color-white)"}function o(e,t){return l({color:e.colors[e.primaryColor][(0,r.getPrimaryShade)(e,t)],theme:e,autoContrast:null})}e.s(["getContrastColor",()=>l,"getPrimaryContrastColor",()=>o])},397941,659958,e=>{"use strict";var r=e.i(904151),t=e.i(667657);function l({size:e,style:l,color:o="#9A46F6",backgroundColor:n="#3A0F6F",className:a,...i}){return(0,r.jsxs)("svg",{width:"310",height:"220",viewBox:"0 0 310 220",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,style:{width:e?(0,t.rem)(e):void 0,height:e?(0,t.rem)(e):void 0,...l},...i,children:[(0,r.jsx)("rect",{width:"310",height:"220",fill:n}),(0,r.jsx)("path",{d:"M310 220L0 220L-6.23972e-07 205.725L18.4715 137.71L288.718 137.71L310 207.405L310 220Z",fill:o}),(0,r.jsx)("path",{d:"M-5.72586e-06 89.0077L-4.99177e-06 105.802L310 105.802L310 90.687L286.71 58.7786L19.6762 58.7786L-5.72586e-06 89.0077Z",fill:o}),(0,r.jsx)("path",{d:"M-9.6165e-06 1.52588e-05L-8.66219e-06 21.8321L310 20.9321L310 1.70826e-06L-9.6165e-06 1.52588e-05Z",fill:o})]})}e.s(["PlaylistIcon",()=>l],397941);let o=[{light:"#FFF570",dark:"#6B3F02"},{light:"#FB6F7A",dark:"#640000"},{light:"#78AAFF",dark:"#01156B"},{light:"#C58FFE",dark:"#2F0068"},{light:"#FF8D60",dark:"#5F0101"},{light:"#52E497",dark:"#124028"},{light:"#BFFD62",dark:"#35461C"},{light:"#94FFFF",dark:"#253B3B"},{light:"#FE8FF8",dark:"#3D233C"},{light:"#BE846E",dark:"#432F27"}];function n(e){return o[("string"==typeof e?parseInt(e,10)||0:e)%o.length]}e.s(["THEME_COLORS",0,o,"getThemeColorById",()=>n],659958)},805603,e=>{e.v({cardContainer:"playlist-module__TBBjVa__cardContainer",cardContainerIconOnly:"playlist-module__TBBjVa__cardContainerIconOnly",cardIcon:"playlist-module__TBBjVa__cardIcon",cardIconCentered:"playlist-module__TBBjVa__cardIconCentered",cardTitle:"playlist-module__TBBjVa__cardTitle playlist-module__TBBjVa__title",heroBackgroundIcon:"playlist-module__TBBjVa__heroBackgroundIcon",heroContainer:"playlist-module__TBBjVa__heroContainer",heroSquare:"playlist-module__TBBjVa__heroSquare",heroTitle:"playlist-module__TBBjVa__heroTitle playlist-module__TBBjVa__title",icon:"playlist-module__TBBjVa__icon",iconSvg:"playlist-module__TBBjVa__iconSvg",title:"playlist-module__TBBjVa__title"})},571804,e=>{"use strict";var r=e.i(904151),t=e.i(397941),l=e.i(659958);function o(e){return(0,l.getThemeColorById)(e??0).dark}l.THEME_COLORS.map(e=>e.light),l.THEME_COLORS.map(e=>e.dark);var n=e.i(805603),a=e.i(689158);e.s(["PlaylistHero",0,({title:e,variant:i="card",colorId:s,hideTitle:c=!1})=>{let u=(0,l.getThemeColorById)(s??0).light,d=o(s),h=o(s);return"hero"===i?(0,r.jsxs)("div",{className:n.default.heroContainer,style:{backgroundColor:h},children:[(0,r.jsx)("div",{className:n.default.heroBackgroundIcon,children:(0,r.jsx)(t.PlaylistIcon,{color:u,backgroundColor:"transparent",className:n.default.iconSvg})}),(0,r.jsxs)("div",{className:n.default.heroSquare,style:{backgroundColor:d},children:[(0,r.jsx)("div",{className:n.default.icon,children:(0,r.jsx)(t.PlaylistIcon,{color:u,backgroundColor:d,className:n.default.iconSvg})}),(0,r.jsx)(a.Title,{order:3,className:n.default.heroTitle,children:e})]})]}):(0,r.jsxs)("div",{className:c?n.default.cardContainerIconOnly:n.default.cardContainer,style:{backgroundColor:d},children:[(0,r.jsx)("div",{className:c?n.default.cardIconCentered:n.default.cardIcon,children:(0,r.jsx)(t.PlaylistIcon,{color:u,backgroundColor:d,className:n.default.iconSvg})}),!c&&(0,r.jsx)(a.Title,{order:3,lineClamp:2,className:n.default.cardTitle,children:e})]})}],571804)},341232,e=>{"use strict";var r=e.i(841110);function t(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let l=t(0,r.useTranslations);t(0,r.useFormatter),e.s(["useTranslations",()=>l])},879205,e=>{"use strict";var r=e.i(904151),t=e.i(483006),l=e.i(807643);let o=(0,t.createContext)(null);e.s(["AudioPlayerProvider",0,({children:e})=>{let[n,a]=(0,t.useState)({playlist:[],currentIndex:-1,isPlaying:!1,volume:.7,currentTime:0,duration:0,isLoading:!1,shouldOpenFullscreen:!1,showVisualizer:!1}),i=(0,t.useRef)(null),s=(0,t.useRef)(null),c=(0,t.useRef)(n),u=(0,t.useRef)(null);(0,t.useEffect)(()=>{c.current=n},[n]);let d=(0,t.useCallback)(()=>{i.current&&(i.current.unload(),i.current=null),s.current&&(clearInterval(s.current),s.current=null)},[]),h=(0,t.useCallback)(()=>{s.current&&clearInterval(s.current),s.current=setInterval(()=>{if(i.current&&i.current.playing()){let e=i.current?.seek()||0;a(r=>Math.abs(r.currentTime-e)>=.1?{...r,currentTime:e}:r)}},250)},[]),f=(0,t.useCallback)((e,r=!0)=>{d(),a(e=>({...e,isLoading:!0}));let t=function(e){try{let r=new URL(e);if(["storage.ressources.ircam.fr","sw-services.ircam.fr","ressources.ircam.fr"].some(e=>r.hostname.endsWith(e)))return`/api/audio-proxy?url=${encodeURIComponent(e)}`}catch{}return e}(e.audioUrl),o=new l.Howl({src:[t],html5:!0,volume:n.volume,xhr:{withCredentials:!1},crossOrigin:"anonymous",onload:()=>{a(e=>({...e,duration:o.duration(),isLoading:!1}))},onplay:()=>{a(e=>({...e,isPlaying:!0})),h()},onpause:()=>{a(e=>({...e,isPlaying:!1}))},onstop:()=>{a(e=>
1({...e,isPlaying:!1,currentTime:0}))},onend:()=>{let e=c.current;if(e.currentIndex<e.playlist.length-1){let r=e.currentIndex+1,t=e.playlist[r];t&&(a(e=>({...e,currentIndex:r})),setTimeout(()=>{u.current&&u.current(t,!0)},0))}else a(e=>({...e,isPlaying:!1,currentTime:0}))},onerror:(e,r)=>{console.error("Howler error:",r),a(e=>({...e,isLoading:!1,isPlaying:!1}))}});i.current=o,r&&o.play()},[d,n.volume,h]);(0,t.useEffect)(()=>{u.current=f},[f]);let p=(0,t.useCallback)((e,r)=>{let t=r?.startIndex??0,l=r?.fullscreen??!1,o=r?.showVisualizer??!1;a(r=>({...r,playlist:e,currentIndex:t,shouldOpenFullscreen:l,showVisualizer:o})),e.length>0&&e[t]&&f(e[t],!0)},[f]),m=(0,t.useCallback)(()=>{a(e=>({...e,shouldOpenFullscreen:!1}))},[]),y=(0,t.useCallback)(e=>{let r=Array.isArray(e)?e:[e];a(e=>({...e,playlist:[...e.playlist,...r]}))},[]),g=(0,t.useCallback)(()=>{d(),a(e=>({...e,playlist:[],currentIndex:-1,isPlaying:!1,currentTime:0,duration:0}))},[d]),v=(0,t.useCallback)(e=>{a(r=>{let t=r.playlist.filter((r,t)=>t!==e),l=r.currentIndex;return e===r.currentIndex?(d(),l=-1):e<r.currentIndex&&(l=r.currentIndex-1),{...r,playlist:t,currentIndex:l}})},[d]),x=(0,t.useCallback)(()=>{i.current&&(n.isPlaying?i.current.pause():i.current.play())},[n.isPlaying]),_=(0,t.useCallback)(()=>{if(n.currentIndex<n.playlist.length-1){let e=n.currentIndex+1,r=n.playlist[e];r&&(a(r=>({...r,currentIndex:e})),f(r,!0))}},[n.currentIndex,n.playlist,f]),C=(0,t.useCallback)(()=>{if(n.currentIndex>0){let e=n.currentIndex-1,r=n.playlist[e];r&&(a(r=>({...r,currentIndex:e})),f(r,!0))}},[n.currentIndex,n.playlist,f]),k=(0,t.useCallback)(e=>{i.current&&(i.current.seek(e),a(r=>({...r,currentTime:e})))},[]),I=(0,t.useCallback)((e=15)=>{if(i.current){let r=Math.max(0,i.current.seek()-e);i.current.seek(r),a(e=>({...e,currentTime:r}))}},[]),B=(0,t.useCallback)((e=15)=>{if(i.current){let r=i.current.seek(),t=Math.min(i.current.duration(),r+e);i.current.seek(t),a(e=>({...e,currentTime:t}))}},[]),b=(0,t.useCallback)(e=>{let r=Math.max(0,Math.min(1,e));a(e=>({...e,volume:r})),i.current&&i.current.volume(r)},[]),j=(0,t.useCallback)(e=>{if(e>=0&&e<n.playlist.length){let r=n.playlist[e];r&&(a(r=>({...r,currentIndex:e})),f(r,!0))}},[n.playlist,f]),T=(0,t.useCallback)(()=>{if(!i.current)return null;try{let e=i.current._sounds;if(e&&e[0]&&e[0]._node)return e[0]._node}catch{}return null},[]);(0,t.useEffect)(()=>()=>{d()},[d]);let w=n.currentIndex>=0&&n.currentIndex<n.playlist.length&&n.playlist[n.currentIndex]?n.playlist[n.currentIndex]:null,L=n.currentIndex<n.playlist.length-1,P=n.currentIndex>0,F={...n,play:p,clearFullscreenIntent:m,addToQueue:y,clearPlaylist:g,removeTrack:v,togglePlayPause:x,next:_,prev:C,seekTo:k,seekBackward:I,seekForward:B,setVolume:b,playTrackAtIndex:j,currentTrack:w,hasNext:L,hasPrev:P,getAudioElement:T};return(0,r.jsx)(o.Provider,{value:F,children:e})},"useAudioPlayer",0,()=>{let e=(0,t.useContext)(o);if(!e)throw Error("useAudioPlayer must be used within AudioPlayerProvider");return e}],879205)},727813,e=>{"use strict";let r=(0,e.i(819930).default)("filled","player-play-filled","PlayerPlayFilled",[["path",{d:"M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z",key:"svg-0"}]]);e.s(["IconPlayerPlayFilled",()=>r],727813)},929869,e=>{"use strict";var r=e.i(904151),t=e.i(78571),l=e.i(856070),o=e.i(479935),n=e.i(185935),a=e.i(483006);let i=a.default.forwardRef(function(e,l){return(0,r.jsx)(t.Button,{component:n.default,ref:l,...e})}),s=a.default.forwardRef(function(e,t){return(0,r.jsx)(l.Anchor,{component:n.default,ref:t,...e})}),c=a.default.forwardRef(function(e,t){return(0,r.jsx)(o.Card,{component:n.default,ref:t,...e})});e.s(["LinkAnchor",0,s,"LinkButton",0,i,"LinkCard",0,c])},930690,e=>{e.v({contentBlock:"styles-module__Lx-xlq__contentBlock",default:"styles-module__Lx-xlq__default",full:"styles-module__Lx-xlq__full"})},74804,e=>{"use strict";var r=e.i(904151),t=e.i(930690);e.s(["ContentBlock",0,({children:e,variant:l="default",className:o="",style:n})=>{let a="full"===l?t.default.full:t.default.default;return(0,r.jsx)("div",{className:`${t.default.contentBlock} ${a} ${o}`,style:n,children:e})}])},893305,e=>{"use strict";e.s(["AUDIO_PLAYER_FULLSCREEN_CLOSED",0,"audioplayer:fullscreen-closed"])},673038,e=>{e.v(r=>Promise.all(["static/chunks/b173428312b614a9.css","static/chunks/67efed277e81015c.js"].map(r=>e.l(r))).then(()=>r(3024)))}]);

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.