PageSourceSearch

https://explorations360.com/_next/static/chunks/app/plateforme/page-9af316655edf0fa1.js

js explorations360.com collected 2026-10-02 20:43:35 UTC 13,384 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7154],{5174:()=>{},12196:()=>{},13088:()=>{},15070:(e,t,i)=>{"use strict";i.d(t,{default:()=>l});var s=i(95155),n=i(12115);function l(){let e=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let t,i=e.current;if(!i)return;let s=i.getContext("2d"),n=[],l={x:null,y:null},a=0,r=0,o=-1,h=-1,c=1,d=1,u=Date.now(),m=Date.now(),f=0,g=!0,p=[],y=[],v=0,x=0,b=!1,w=new Image;w.src="/images/visuels/Logo_rond_particule.png";let M=!1;w.onload=()=>{M=!0};let k=["es_image","es_plan01","es_scene","es_video","scenelink","quiz","text","weblink","audio","zone","speech","avatar"],z=[],E=null,C=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.75,s=document.createElement("canvas");s.width=64,s.height=64;let n=s.getContext("2d");n.beginPath(),n.arc(32,32,30,0,2*Math.PI),n.fillStyle="rgba(255, 255, 255, 0.85)",n.fill(),n.strokeStyle=t?"rgba(237, 116, 2, 0.9)":"rgba(112, 164, 187, 0.7)",n.lineWidth=2,n.stroke();let l=64*i,a=(64-l)/2;return n.drawImage(e,a,a,l,l),s};k.forEach(e=>{let t=new Image;t.src="/images/icons/".concat(e,"_dark.svg"),t.onload=()=>{let i=.75;"quiz"===e?i=1:"es_image"===e||"es_video"===e?i=.85:("audio"===e||"speech"===e||"text"===e||"avatar"===e)&&(i=.6),z.push(C(t,!1,i))}});let S=new Image;S.src="/images/icons/es_home_orange.svg",S.onload=()=>{E=C(S,!0)};let L=window.innerWidth<=768,P={particleCount:L?20:80,iconSize:L?28:36,lineDistance:180,particleSpeed:1,mouseRadius:200,mouseAttraction:.003,logoTransferDistance:50,treeBranchSpeed:.3},_=e=>{let t=i.getBoundingClientRect();l.x=e.clientX-t.left,l.y=e.clientY-t.top},j=()=>{l.x=null,l.y=null},I=e=>{if(e.touches.length>0){let t=i.getBoundingClientRect();l.x=e.touches[0].clientX-t.left,l.y=e.touches[0].clientY-t.top}},A=()=>{l.x=null,l.y=null};i.addEventListener("mousemove",_),i.addEventListener("mouseleave",j),i.addEventListener("touchmove",I,{passive:!0}),i.addEventListener("touchend",A),i.addEventListener("touchcancel",A);let N=()=>{i.width=i.offsetWidth,i.height=i.offsetHeight,D()};class T{update(){if(!b){this.x=this.targetX,this.y=this.targetY;return}let e=!1;if(null!==l.x&&null!==l.y){let t=l.x-this.x,i=l.y-this.y,s=Math.sqrt(t*t+i*i);if(s<P.mouseRadius){e=!0;let n=(P.mouseRadius-s)/P.mouseRadius;this.vx+=t*P.mouseAttraction*n,this.vy+=i*P.mouseAttraction*n,this.size=this.baseSize+4*n}else this.size+=(this.baseSize-this.size)*.05}else this.size+=(this.baseSize-this.size)*.05;this.vx*=.97,this.vy*=.97,!e&&Math.sqrt(this.vx*this.vx+this.vy*this.vy)<.5*P.particleSpeed&&(this.vx+=(this.baseVx-this.vx)*.02,this.vy+=(this.baseVy-this.vy)*.02),this.x+=this.vx,this.y+=this.vy;let t=this.size/2;(this.x<t||this.x>i.width-t)&&(this.vx*=-1,this.baseVx*=-1,this.x=Math.max(t,Math.min(i.width-t,this.x))),(this.y<t||this.y>i.height-40-t)&&(this.vy*=-1,this.baseVy*=-1,this.y=Math.max(t,Math.min(i.height-40-t,this.y)))}draw(e){if(!this.visible)return;let t=e===a,i=t?E:z[this.iconIndex%z.length];if(i&&(s.globalAlpha=this.opacity*(t?.8:.25),s.drawImage(i,this.x-this.size/2,this.y-this.size/2,this.size,this.size),s.globalAlpha=1),e===r&&M&&b){let e=1.3*this.size;s.globalAlpha=c*(d>=1?.5+.5*Math.sin(.4*f):1)*this.opacity,s.drawImage(w,this.x-e/2,this.y-e/2,e,e),s.globalAlpha=1}}constructor(e,t,s,n){this.x=void 0!==t?t:Math.random()*i.width,this.y=void 0!==s?s:Math.random()*i.height,this.targetX=this.x,this.targetY=this.y,this.vx=0,this.vy=0,this.baseVx=(Math.random()-.5)*P.particleSpeed,this.baseVy=(Math.random()-.5)*P.particleSpeed,this.size=void 0!==n?n:P.iconSize*(.6+.8*Math.random()),this.baseSize=this.size,this.iconIndex=Math.floor(Math.random()*k.length),this.iconName=k[this.iconIndex],this.visible=!1,this.opacity=0}}let D=()=>{(()=>{p=[],y=[];let e=.08*i.width,t=i.height/2,s=.92*i.width-e,n={id:0,x:e,y:t,size:1.4*P.iconSize,depth:0,children:[]};p.push(n);let l=1,a=P.particleCount,r=i.width<=768,o=r?2:3,h=.06*s,c=Math.floor(a/2),d=[n];for(;d.length>0&&p.length<c;){let e=d.shift();if(e.depth>=o)continue;let t=r?5:8,s=r?Math.floor(2*Math.random())+1:Math.floor(3*Math.random())+1,n=0===e.depth?t:s,a=e.depth>0?Math.random()*h*2:0,c=e.x+h+a+(Math.random()-.5)*20,u=i.height-100,m=0===e.depth?Math.min(u/(n+1),80):60,f=e.y-m*(n-1)/2;for(let t=0;t<n;t++){let s=f+t*m+(Math.random()-.5)*20,n=P.iconSize*(.6+.6*Math.random()),a={id:l++,x:Math.min(Math.max(c,50),i.width-50),y:Math.min(Math.max(s,50),i.height-50),size:n,depth:e.depth+1,parent:e,children:[]};p.push(a),e.children.push(a),y.push({from:e,to:a,drawn:!1}),d.push(a)}}for(;p.length<a;
1){let e={id:l++,x:.5*i.width+Math.random()*i.width*.45,y:50+Math.random()*(i.height-100),size:P.iconSize*(.6+.6*Math.random()),depth:-1,children:[]};p.push(e)}})(),n=[],p.forEach((e,t)=>{let i=new T(t,e.x,e.y,e.size);i.targetX=e.x,i.targetY=e.y,n.push(i)}),a=0,r=0,n[0]&&(n[0].visible=!0,n[0].opacity=1),v=0,x=0,g=!0,b=!1,Date.now()},R=0,W=1e3/30,q=e=>{if(e-R<W){t=requestAnimationFrame(q);return}if(R=e,s.clearRect(0,0,i.width,i.height),f+=.1,c<1&&(c+=.04)>1&&(c=1),g)if(Date.now(),v<y.length){if((x+=P.treeBranchSpeed)>=1){let e=y[v],t=p.findIndex(t=>t===e.to);t>=0&&n[t]&&(n[t].visible=!0,n[t].opacity=1),e.drawn=!0,v++,x=0}}else n.forEach(e=>{e.visible||(e.visible=!0),e.opacity<1&&(e.opacity+=.05)}),n.every(e=>e.opacity>=.95)&&(g=!1,b=!0,u=Date.now(),m=Date.now());if((()=>{if(g)y.forEach((e,t)=>{e.drawn&&(s.beginPath(),s.moveTo(e.from.x,e.from.y),s.lineTo(e.to.x,e.to.y),s.strokeStyle="rgba(112, 164, 187, 0.3)",s.lineWidth=1,s.stroke())}),v<y.length&&((e,t)=>{let i=e.from.x,n=e.from.y,l=e.to.x,a=e.to.y,r=i+(l-i)*t,o=n+(a-n)*t;s.beginPath(),s.moveTo(i,n),s.lineTo(r,o),s.strokeStyle="rgba(237, 116, 2, 0.6)",s.lineWidth=2,s.stroke(),t<1&&(s.beginPath(),s.arc(r,o,4,0,2*Math.PI),s.fillStyle="rgba(237, 116, 2, 1)",s.fill())})(y[v],x);else for(let e=0;e<n.length;e++)for(let t=e+1;t<n.length;t++){let i=n[e].x-n[t].x,l=n[e].y-n[t].y,a=Math.sqrt(i*i+l*l);if(a<P.lineDistance){let i=1-a/P.lineDistance;s.beginPath(),s.moveTo(n[e].x,n[e].y),s.lineTo(n[t].x,n[t].y),s.strokeStyle="rgba(112, 164, 187, ".concat(.4*i,")"),s.lineWidth=1,s.stroke()}}}
1)(),n.forEach((e,t)=>{e.update(),e.draw(t)}),b&&d<1&&h>=0&&n[r]&&n[h]){let e=n[r],t=n[h],i=e.x+(t.x-e.x)*d,l=e.y+(t.y-e.y)*d;s.beginPath(),s.moveTo(e.x,e.y),s.lineTo(i,l),s.strokeStyle="rgba(237, 116, 2, 0.8)",s.lineWidth=2.5,s.stroke(),s.beginPath(),s.arc(i,l,6,0,2*Math.PI),s.fillStyle="rgba(237, 116, 2, 1)",s.fill(),(d+=.02)>=1&&(d=1,o=r,r=h,h=-1,c=0)}(()=>{if(!b||d<1)return;let e=n[r];if(!e)return;let t=Date.now();if(t-u>2e4){let e;do e=Math.floor(Math.random()*n.length);while(e===r);h=e,d=0,u=t,m=t;return}if(t-m>5e3){let i=-1,s=1/0;for(let t=0;t<n.length;t++){if(t===r||t===o)continue;let l=n[t].x-e.x,a=n[t].y-e.y,h=Math.sqrt(l*l+a*a);h<s&&(s=h,i=t)}i>=0&&(h=i,d=0,m=t);return}for(let i=0;i<n.length;i++){if(i===r||i===o)continue;let s=n[i].x-e.x,l=n[i].y-e.y;if(Math.sqrt(s*s+l*l)<P.logoTransferDistance){h=i,d=0,m=t;break}}})(),t=requestAnimationFrame(q)};return N(),q(),window.addEventListener("resize",N),()=>{window.removeEventListener("resize",N),i.removeEventListener("mousemove",_),i.removeEventListener("mouseleave",j),i.removeEventListener("touchmove",I),i.removeEventListener("touchend",A),i.removeEventListener("touchcancel",A),cancelAnimationFrame(t)}},[]),(0,s.jsx)("canvas",{ref:e,className:"network-background","aria-hidden":"true"})}},39045:(e,t,i)=>{"use strict";i.d(t,{default:()=>M});var s=i(95155),n=i(12115),l=i(31707);let a=new Set(["vr","ar","mr","xr","ia"]);function r(e){return e.length>=3||a.has(e.toLowerCase())}let o=new Map,h=[];l.T3.forEach(e=>{let{fr:t,en:i}=function(e){let t=e.match(/^(.+?)\s*\(([^)]+)\)$/);return t?{fr:t[1].trim(),en:t[2].trim()}:{fr:e,en:null}}(e.nom),s=t,n=t.match(/^\([^)]+\)\s*(.+)/);if(n){s=n[1];let i=t.match(/^\(([^)]+)\)/)[1];if(r(i)){let t=i.toLowerCase();o.has(t)||(o.set(t,e),h.push(i))}}if(r(s)){let t=s.toLowerCase();if(o.has(t)||(o.set(t,e),h.push(s)),s.includes("-")){let t=s.replace(/-/g," "),i=t.toLowerCase();o.has(i)||(o.set(i,e),h.push(t))}}if(i&&r(i)){let t=i.toLowerCase();if(o.has(t)||(o.set(t,e),h.push(i)),i.includes("-")){let t=i.replace(/-/g," "),s=t.toLowerCase();o.has(s)||(o.set(s,e),h.push(t))}}e.aliases&&e.aliases.forEach(t=>{if(r(t)){let i=t.toLowerCase();o.has(i)||(o.set(i,e),h.push(t))}})}),h.sort((e,t)=>t.length-e.length);let c=h.map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),d=RegExp("(?:^|[^a-zA-Z\xc0-\xff])(".concat(c,")").concat("(?![a-zA-Z\xc0-\xff])"),"gi"),u=new Set(["mes"]);function m(e){let t=e.toLowerCase();return u.has(t)&&e!==e.toUpperCase()?null:o.get(t)||null}let f=new Map;function g(e){return f.get(e)||null}l.T3.forEach(e=>{f.set(e.slug,e)});var p=i(15239),y=i(52619),v=i.n(y);function x(e){let{entry:t,onClose:i}=e,l=(0,n.useRef)(null);if((0,n.useEffect)(()=>{function e(e){"Escape"===e.key&&i()}return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[i]),!t)return null;let{fr:a,en:r}=function(e){let t=e.match(/^(.+?)\s*\(([^)]+)\)$/);return t?{fr:t[1].trim(),en:t[2].trim()}:{fr:e,en:null}}(t.nom),o=a.replace(/^\([^)]+\)\s*/,"");return(0,s.jsx)("div",{className:"glossary-overlay",ref:l,onClick:e=>{e.target===l.current&&i()},children:(0,s.jsxs)("div",{className:"glossary-tooltip-card",children:[(0,s.jsx)("button",{className:"glossary-tooltip-close",onClick:i,"aria-label":"Fermer",children:(0,s.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,s.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})})}),(0,s.jsx)("span",{className:"glossary-tooltip-badge",children:"ABCVR"}),(0,s.jsxs)("h3",{className:"glossary-tooltip-title",children:[(0,s.jsx)("span",{className:"glossary-tooltip-fr",children:o}),r&&(0,s.jsx)("span",{className:"glossary-tooltip-en",children:r})]}),(0,s.jsx)("p",{className:"glossary-tooltip-definition",children:t.definition}),t.image&&(0,s.jsx)("div",{className:"glossary-tooltip-image",children:(0,s.jsx)(p.default,{src:t.image,alt:o,width:320,height:180,style:{objectFit:"cover"}})}),(0,s.jsx)(v(),{href:"/academie/glossaire/".concat(t.slug),className:"glossary-tooltip-link",onClick:i,children:"En savoir plus →"})]})})}i(70420),i(12196);let b=new Set(["h1","h2","h3","h4","a","button","code","pre"]),w=1/0;function M(e){let{children:t,excludeSlug:i}
1=e,[l,a]=(0,n.useState)(null),r=(0,n.useRef)(null),o=(0,n.useCallback)(e=>{a(e)},[]),h=(0,n.useCallback)(()=>{a(null)},[]),c=(0,n.useCallback)(e=>{let t=e.target.closest(".glossary-term[data-slug]");if(t){let e=g(t.getAttribute("data-slug"));e&&a(e)}},[]),u=(0,n.useCallback)(e=>{if("Enter"===e.key){let t=e.target.closest(".glossary-term[data-slug]");if(t){let e=g(t.getAttribute("data-slug"));e&&a(e)}}},[]),f=(0,n.useMemo)(()=>{let e=new Set;return n.Children.map(t,t=>(function t(l){var a;if("string"==typeof l)return function(t){let n;if(e.size>=w)return t;d.lastIndex=0;let l=[],a=0;for(;null!==(n=d.exec(t));){let s=n[1],r=n.index+n[0].indexOf(n[1]),o=m(s);if(!o)continue;let h=o.slug;if(!(h===i||e.has(h))){if(e.size>=w)break;e.add(h),r>a&&l.push(t.slice(a,r)),l.push({matchedText:s,entry:o,index:r}),a=r+s.length}}return 0===l.length?t:(a<t.length&&l.push(t.slice(a)),l.map((e,t)=>"string"==typeof e?e:(0,s.jsx)("span",{className:"glossary-term",role:"button",tabIndex:0,onClick:()=>o(e.entry),onKeyDown:t=>{"Enter"===t.key&&o(e.entry)},children:e.matchedText},"g-".concat(e.index))))}(l);if(!(0,n.isValidElement)(l))return l;let r="string"==typeof l.type?l.type:null;if(r&&b.has(r))return l;if(l.props&&l.props.dangerouslySetInnerHTML){let t=l.props.dangerouslySetInnerHTML.__html,s=function(t){if(e.size>=w)return t;let s=t.split(/(<[^>]+>)/),n=0,l=!1,a=s.map(t=>{let s;if(t.startsWith("<")){let e=t.match(/^<\/?(\w+)/);if(e){let i=e[1].toLowerCase();b.has(i)&&(t.startsWith("</")?n=Math.max(0,n-1):!t.endsWith("/>")&&n++)}return t}if(n>0||e.size>=w)return t;d.lastIndex=0;let a="",r=0;for(;null!==(s=d.exec(t));){let n=s[1],o=s.index+s[0].indexOf(s[1]),h=m(n);if(!h)continue;let c=h.slug;if(!(c===i||e.has(c))){if(e.size>=w)break;e.add(c),l=!0,a+=t.slice(r,o),a+='<span class="glossary-term" data-slug="'.concat(h.slug,'" role="button" tabindex="0">').concat(n,"</span>"),r=o+n.length}}return""===a?t:a+=t.slice(r)});return l?a.join(""):t}(t);return s===t?l:(0,n.cloneElement)(l,{dangerouslySetInnerHTML:{__html:s}})}let h=null==(a=l.props)?void 0:a.children;if(!h)return l;let c=n.Children.map(h,e=>t(e)),u=!1;return(Array.isArray(c)&&n.Children.forEach(h,(e,t)=>{c[t]!==e&&(u=!0)}),u)?(0,n.cloneElement)(l,void 0,c):l})(t))},[t,o,i]);return(0,s.jsxs)("div",{ref:r,onClick:c,onKeyDown:u,children:[f,l&&(0,s.jsx)(x,{entry:l,onClose:h})]})}},43953:()=>{},50787:(e,t,i)=>{Promise.resolve().then(i.bind(i,39045)),Promise.resolve().then(i.bind(i,15070)),Promise.resolve().then(i.t.bind(i,87355,23)),Promise.resolve().then(i.t.bind(i,63451,23)),Promise.resolve().then(i.t.bind(i,67216,23)),Promise.resolve().then(i.t.bind(i,5174,23)),Promise.resolve().then(i.t.bind(i,13088,23)),Promise.resolve().then(i.t.bind(i,57683,23)),Promise.resolve().then(i.t.bind(i,64931,23)),Promise.resolve().then(i.t.bind(i,43953,23)),Promise.resolve().then(i.t.bind(i,52619,23)),Promise.resolve().then(i.t.bind(i,81356,23))},57683:()=>{},63451:()=>{},64931:()=>{},67216:()=>{},70420:()=>{},87355:()=>{}},e=>{e.O(0,[4873,6692,772,8013,5760,8960,5662,1356,2619,6989,8441,1255,7358],()=>e(e.s=50787)),_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.