1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9469],{13735:(e,t,a)=>{a.d(t,{F7:()=>u,P6:()=>o,QC:()=>N,Rq:()=>d,T:()=>l,e_:()=>i,ks:()=>f});var n=a(61308);let l=1.4*n.z_,r=new Set;function i(e){return r.has(e)}function o(e){r.add(e)}function s(e){return e.hasAttribute("data-iris-touched")}function u(e){e.setAttribute("data-iris-touched","")}function d(e){let t=e.getBoundingClientRect();if(t.width<=0||t.height<=0)return 0;let a=window.innerHeight,n=.1*a,l=.9*a,r=Math.min(t.height,l-n);return r<=0?0:Math.max(0,Math.min(t.bottom,l)-Math.max(t.top,n))/r}function h(e){let t=e.getBoundingClientRect();if(t.width<=0||t.height<=0)return 0;let a=window.innerHeight;return Math.max(0,Math.min(t.bottom,a)-Math.max(t.top,0))/Math.min(t.height,a)}function c(e){window.dispatchEvent(new CustomEvent("stellary:iris-type",{detail:{p:e}}))}function m(e){let t=e.getAttribute("data-iris-germe");if(!t)return[.83,.19];let[a,n]=t.split(",").map(Number);return Number.isFinite(a)&&Number.isFinite(n)?[a,n]:[.83,.19]}function p(e){e.removeAttribute("data-iris-tenue")}let f=(.5*n.z_+2*n.z_)*1e3,y=["fontFamily","fontSize","fontWeight","fontStyle","letterSpacing","lineHeight","textTransform","textIndent","wordSpacing","paddingTop","paddingRight","paddingBottom","paddingLeft","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","boxSizing"],w=null,M=null,b=null,g="",v=0,x=0;function E(){null==w||w.remove(),w=null,M=null,b=null,g=""}let L={x:0,y:0},F={x:0,y:0},S=0,P=0,k=-1e9;function C(e){let t=Math.min(1,(e-P)/500),a=t<.5?2*t*t:1-(-2*t+2)**2/2;return{x:L.x+(F.x-L.x)*a,y:L.y+(F.y-L.y)*a-Math.sin(a*Math.PI)*S}}let N=[{id:"poser-bulle",duration:2*n.z_,prep:.5*n.z_,posture:"depot",find(){let e=document.querySelector("[data-iris-bulle-cible]:not([data-iris-ouverte])");return e&&!s(e)&&d(e)>=.34?e:null},sortie:.12,anchor(e,t){let a=e.getBoundingClientRect(),[n,l]=m(e),r=a.left+a.width*n,i=a.top+a.height*l;if(t<.46){let e=1-(1-t/.46)**2;return{x:r+78-34*e,y:i-66+22*e}}if(t<.46+.14){let e=(t-.46)/.14,a=e*e;return{x:r+44*(1-a),y:i-44*(1-a)}}let o=Math.min(1,(t-.46-.14)/.4),s=o*o*(3-2*o);return{x:r+40*s,y:i-52*s}},onProgress(e,t){if(e.hasAttribute("data-iris-posee")||t.p<.46)return;let a=e.getBoundingClientRect(),[n,l]=m(e);(26>Math.hypot(t.x-(a.left+a.width*n),t.y-(a.top+a.height*l))||!(t.p<.46+.14+.12))&&(e.setAttribute("data-iris-posee",""),window.dispatchEvent(new CustomEvent("stellary:iris-bulle-posee")))},onDone(){window.dispatchEvent(new CustomEvent("stellary:iris-bulle-posee"))},onAbort(){window.dispatchEvent(new CustomEvent("stellary:iris-bulle-posee"))},urgent:()=>!0,rejouable:!0},{id:"paint-title",repos:9,duration:1.5,posture:"pinceau",rejouable:!0,find(){var e;return null!=(e=Array.from(document.querySelectorAll("[data-iris-paint]:not([data-iris-painted])")).find(e=>!s(e)&&d(e)>=.75))?e:null},anchor(e,t){let a=e.getBoundingClientRect();return{x:a.left-18+(a.width+36)*t,y:a.top+.5*a.height}},onProgress(e,t){let a=e.getBoundingClientRect(),n=a.width<=0?t.p:Math.max(0,Math.min(1,(t.x-a.left)/a.width));e.style.setProperty("--iris-paint","".concat((100*n).toFixed(1),"%"))},onDone(e){e.style.setProperty("--iris-paint","100%"),e.setAttribute("data-iris-painted","")},onAbort(e){e.style.setProperty("--iris-paint","100%"),e.setAttribute("data-iris-painted","")},urgent:()=>!0},{id:"open-faq",duration:.9,posture:"tap",find(){let e=document.querySelector("#faq");if(!e||e.querySelector('button[aria-expanded="true"]'))return null;let t=e.querySelector('button[aria-expanded="false"]');return t&&!s(t)&&d(t)>=.75?t:null},anchor(e){let t=e.getBoundingClientRect();return{x:t.right-26,y:t.top+.5*t.height}},onDone(e){var t;if(e.classList.add("iris-touched-row"),(null!=(t=e.querySelector("span"))?t:e).classList.add("iris-woven-inline"),!e.querySelector(":scope > [data-iris-mesh]")){let t=document.createElement("span");t.setAttribute("data-iris-mesh",""),t.setAttribute("aria-hidden","true"),e.insertBefore(t,e.firstChild)}let a=e.closest("[data-faq-shell]");if(a&&(a.classList.add("iris-touched-card"),!a.querySelector(":scope > [data-iris-glow]"))){let e=document.createElement("span");e.setAttribute("data-iris-glow",""),e.setAttribute("aria-hidden","true"),a.appendChild(e)}"true"!==e.getAttribute("aria-expanded")&&e.click()},announce(e){var t,a;return"Iris a ouvert la question : ".concat(null!=(t=null==(a=e.textContent)?void 0:a.trim().slice(0,90))?t:"")}}
1,{id:"porte-validation",duration:22,prep:.6*n.z_,posture:"invite",postureEnBoucle:!0,presence:h,find(){let e=document.querySelector("[data-iris-porte]");return e&&!s(e)&&h(e)>=.9?e:null},urgent:()=>!0,anchor(e,t){let a=e.getBoundingClientRect(),n=1-(1-Math.min(1,t/.08))**2,l=3*Math.sin(22*t);return{x:a.left-52+70*(1-n),y:a.top+a.height/2-14*(1-n)+l}},onProgress(e,t){if(e.hasAttribute("data-iris-tenue"))return;let a=e.getBoundingClientRect();Math.hypot(t.x-a.left,t.y-(a.top+a.height/2))>96||(e.setAttribute("data-iris-tenue",""),window.dispatchEvent(new CustomEvent("stellary:iris-touche",{detail:{el:e,x:t.x,y:t.y}})))},onDone:e=>p(e),onAbort:e=>p(e),announce:()=>"Iris attend ta validation"},{id:"livrer-carte",rejouable:!0,duration:4*n.z_,prep:.35*n.z_,posture:"porte-carte",presence:h,find(){let e=document.querySelector("[data-iris-livre]");return e&&h(e)>=.6?e:null},urgent:()=>!0,anchor(e,t){var a;let n=e.getBoundingClientRect(),l={x:n.left+n.width/2,y:n.top+n.height/2-34},r=(null!=(a=e.getAttribute("data-iris-depart"))?a:"").split(",").map(Number),i=4===r.length&&r.every(Number.isFinite)?{x:r[0]+r[2]/2,y:r[1]+r[3]/2-34}:l;if(t<.3)return{x:i.x,y:i.y-46*(1-(1-(1-t/.3)**2.2))};if(t<.42)return{x:i.x,y:i.y+7*Math.sin((t-.3)/.12*Math.PI)};if(t<.88){let e=(t-.42)/.46,a=e<.5?2*e*e:1-(-2*e+2)**2/2;return{x:i.x+(l.x-i.x)*a,y:i.y+(l.y-i.y)*a-34*Math.sin(a*Math.PI)}}let o=(t-.88)/.12;return{x:l.x,y:l.y-o*o*30}},onDone:()=>window.dispatchEvent(new CustomEvent("stellary:iris-carte-posee")),onAbort:()=>window.dispatchEvent(new CustomEvent("stellary:iris-carte-posee")),announce:()=>"Iris a livr\xe9 la carte"},{id:"admirer-livraison",rejouable:!0,duration:3*n.z_,prep:.25*n.z_,posture:"eventail",presence:h,find(){let e=document.querySelector("[data-iris-livree]");return e&&h(e)>=.8?e:null},urgent:()=>!0,anchor(e,t){let a=e.getBoundingClientRect();return{x:a.right-24+26*t*t,y:a.top-30-22*t*t}}},{id:"write-demo",duration:3.1,posture:"ecrit-champ",find(){let e=document.querySelector("[data-iris-write]");return!e||s(e)||!(d(e)>=.75)||e.closest("[data-demo-playing]")||e.value.length>0?null:e},urgent:()=>!0,anchor(e){let t=function(e){let t=e.getBoundingClientRect(),a=getComputedStyle(e),n=e.offsetWidth>0?t.width/e.offsetWidth:1,l=(parseFloat(a.lineHeight)||1.4*parseFloat(a.fontSize)||20)*n;if(w||((w=document.createElement("div")).setAttribute("aria-hidden","true"),w.style.cssText="position:fixed;top:0;left:0;visibility:hidden;pointer-events:none;z-index:-1;white-space:pre-wrap;overflow-wrap:break-word;word-break:break-word;border-style:solid;border-color:transparent",b=document.createElement("span"),document.body.appendChild(w)),M!==e)for(let t of(M=e,y))w.style[t]=a[t];let r="".concat(e.offsetWidth,"|").concat(e.value);if(r!==g){g=r,w.style.width="".concat(e.offsetWidth,"px"),w.textContent=e.value,b&&w.appendChild(b);let t=null==b?void 0:b.getBoundingClientRect(),a=w.getBoundingClientRect();v=t?t.left-a.left:18,x=t?t.top-a.top:0}let i=Math.min(t.bottom-.5*l,t.top+x*n+.5*l);return{x:t.left+v*n,y:i,h:l}}(e);return{x:t.x+20,y:t.y-1.45*t.h}},onProgress(e,t){c(t.p)},onDone(e){c(null),E(),e.classList.add("iris-woven-inline")},onAbort(){c(null),E()},announce:()=>"Iris a rempli lâexemple de la d\xe9monstration"},{id:"escorte-run",rejouable:!0,duration:40,prep:.5*n.z_,posture:"loupe",postureEnBoucle:!0,presence:h,find(){let e=document.querySelector("[data-iris-poste]");return e&&h(e)>=.6?e:null},urgent:()=>!0,anchor:e=>{var t;let a,n,l;return a=performance.now(),t=function(e){let t=e.getBoundingClientRect(),a=t.left+t.width/2;switch(e.getAttribute("data-iris-poste")){case"attente":return{x:a,y:t.top-76,arc:48};case"refus":return{x:a,y:t.top-30,arc:-40};case"fin":return{x:a+18,y:t.top-46,arc:40};case"cote":return{x:t.right+44,y:t.top+t.height/2,arc:26};default:return{x:a,y:t.top-34,arc:34}}}(e),n={x:Math.max(58,Math.min(window.innerWidth-58,t.x)),y:Math.max(58,Math.min(window.innerHeight-58,t.y)),arc:t.arc},l=a-k>400,k=a,l?(L={x:n.x,y:n.y},F={x:n.x,y:n.y},S=0,P=a-500):Math.hypot(n.x-F.x,n.y-F.y)>6?(L=C(a),F={x:n.x,y:n.y},S=n.arc,P=a):F={x:n.x,y:n.y},C(a)},humeur(e){switch(e.getAttribute("data-iris-poste")){case"refus":return"unsure";case"attente":return"listening";case"fin":return"proud";default:return"focused"}}}]},17799:(e,t,a)=>{a.d(t,{F1:()=>m,PT:()=>c,QN:()=>i,Qd:()=>d,RB:()=>s,WE:()=>u,fr:()=>n,mZ:()=>o});let n=3500,l=!1,r=new Set;function i(e){l=e,e||r.clear()}function o(){return l}function s(e){!e||r.has(e)||(r.add(e),window.dispatchEvent(new CustomEvent("stellary:iris-reached",{detail:{id:e}})))}function u(e){return e.closest("[data-iris-section], section[id]")}function d(e){}let h=null;function c(e){h=e}function m(){return null!=h?h:null}},23986:(e,t,a)=>{function n(e){let t=e.split("#")[0].replace(/\/+$/,"");return""===t?"/":t}function l(e){let t=e.indexOf("#");if(t<0)return{path:e,hash:null};let a=e.slice(0,t)||"/",n=e.slice(t+1);return{path:a,hash:(n?n.split("#")[0].split("?")[0]:null)||null}}function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"smooth",a=document.getElementById(e);return!!a&&(a.scrollIntoView({behavior:t,block:"start"}),!0)}function i(e,t,a){let{path:i,hash:o}=l(t);if(!o||n(a)!==n(i))return;e.preventDefault(),r(o);let s="".concat(window.location.pathname).concat(window.location.search,"#").concat(o);window.history.replaceState(null,"",s)}a.d(t,{Gz:()=>n,QD:()=>l,eu:()=>r,oC:()=>i})},29064:(e,t,a)=>{a.d(t,{a5:()=>R,bi:()=>q,oM:()=>M,O8:()=>f});var n=a(12115),l=a(67494),r=a(84106),i=a(61308);let o=2*Math.PI,s=e=>e<.5?1:-1,u=e=>Math.floor(4*e)%4,d=e=>.85+7*e%1*.3,h=(e,t,a,n)=>{let l=(t,a,n)=>{if(e<t||e>t+a)return 0;let l=(e-t)/a;return l<.78?n*(l/.78)**1.6:n*(1-(l-.78)/.22)};return l(.05,.28,t)+l(.36,.3,a)+l(.7,.28,n)},c=[{id:"none",label:"aucun",beats:0,ready:!0},{id:"land",label:"atterrissage",beats:3,ready:!0,apply:(e,t)=>{let a=Math.exp(-(7*e));for(let a=0;a<4;a++){let n=Math.exp(-(6*Math.max(0,e-.05*a)));t.arms[a]=1.05*n,t.armSpin[a]=.42*n*(a%2?-1:1)}t.closeness-=.22*a-.14*Math.exp(-(5*Math.max(0,e-.12))),t.roll+=.22*Math.sin(e*o*3)*a,t.pitch+=.28*a}},{id:"stretch",label:"\xe9tirement",beats:5,ready:!0,apply:(e,t)=>{for(let a=0;a<4;a++){let n=Math.sin(Math.PI*Math.max(0,Math.min(1,(e-.09*a)/.62)));t.arms[a]=1.05*n,t.armSpin[a]=.3*n,t.armLift[a]=.42*n,t.trails[a]=1+.5*n}t.closeness+=.1*Math.sin(Math.PI*e),t.roll+=.16*Math.sin(Math.PI*e)}},{id:"shiver",label:"frisson",beats:2,ready:!0,apply:(e,t)=>{let a=1-e;for(let n=0;n<4;n++)t.arms[n]=.24+.62*Math.sin(e*o*11+1.9*n)*a,t.armSpin[n]=.4*Math.sin(e*o*13+2.4*n)*a;t.roll+=.28*Math.sin(e*o*9)*a,t.yaw+=.16*Math.sin(e*o*12+.7)*a,t.closeness+=.09*Math.sin(e*o*7)*a}},{id:"startle",label:"sursaut",beats:3,ready:!0,apply:(e,t)=>{if(e<.12){let a=e/.12;for(let e=0;e<4;e++)t.arms[e]=-.22*a,t.armLift[e]=-.24*a;t.closeness-=.08*a,t.pitch+=.14*a;return}let a=(e-.12)/.88,n=Math.exp(-(4.5*a));for(let e=0;e<4;e++)t.arms[e]=1.15*n,t.armSpin[e]=.45*n*(e%2?-1:1),t.armLift[e]=.5*n,t.trails[e]=1+.8*n;t.heart=.8*n,t.closeness+=.55*n,t.depth+=.7*n,t.pitch-=.26*n,t.roll+=.2*Math.sin(a*o*2.5)*n}},{id:"comeclose",label:"elle vient te regarder",beats:8,ready:!0,apply:(e,t)=>{let a=e<.2?e/.2:e>.78?(1-e)/.22:1;t.closeness+=1.5*a,t.depth+=1.2*a,t.yaw*=1-a,t.pitch*=1-a;for(let n=0;n<4;n++)t.arms[n]=a*(.3+.16*Math.sin(e*o*1.5+n));t.shimmer=.5*a}},{id:"lost",label:"elle se sent perdue",beats:9,ready:!0,apply:(e,t)=>{t.yaw+=.62*Math.sin(e*o*2.2),t.pitch+=.12+.16*Math.sin(e*o*1.1),t.roll+=.3*Math.sin(e*o*.9);let a=Math.sin(e*o*2.2);t.arms[0]=.36+.42*a,t.arms[1]=.3+.36*a,t.arms[2]=-.14-.3*a,t.arms[3]=-.1-.26*a,t.armSpin[0]=.24*a,t.armSpin[2]=-(.2*a),t.shimmer=.4,t.closeness-=.06+.05*Math.abs(a)}},{id:"wave",label:"coucou",beats:4,ready:!0,apply:(e,t,a,n)=>{let l=Math.min(1,e/.18)*Math.min(1,(1-e)/.18),r=u(n),i=Math.sin(e*o*(3+Math.round(13*n%1*2)));t.armLift[r]=d(n)*l,t.armFold[r]=.42*i*l,t.arms[r]=.4*l;for(let e=0;e<4;e++)e!==r&&(t.arms[e]=(e%2?.04:-.05)*l);t.roll+=.1*l*s(n),t.closeness+=.12*l}},{id:"nod",label:"elle acquiesce",beats:2.5,ready:!0,apply:(e,t,a,n)=>{let l=Math.min(1,(1-e)/.25),r=n<.55?2:3;t.pitch+=.46*Math.sin(e*o*r)*d(n)*l;let i=Math.sin((e-.06)*o*r)*l;for(let e=0;e<4;e++)t.arms[e]=.16+.24*i;t.closeness+=.06*Math.abs(Math.sin(e*o*2))*l}},{id:"shake",label:"elle fait non",beats:2.5,ready:!0,apply:(e,t,a,n)=>{let l=Math.min(1,(1-e)/.25),r=n<.5?2.5:3.5;t.yaw+=.6*Math.sin(e*o*r)*d(n)*l,t.roll+=.14*Math.sin(e*o*r+.5)*l;for(let e=0;e<4;e++)t.arms[e]=-.16*l;t.closeness-=.05*l}},{id:"point",label:"elle d\xe9signe",beats:4,ready:!0,apply:(e,t,a,n)=>{let l=Math.min(1,e/.14)*Math.min(1,(1-e)/.2),r=n<.5?0:1;t.arms[r]=+l;for(let e=0;e<4;e++)e!==r&&(t.arms[e]=-(.18+.03*e)*l);t.armLift[r]=.55*l,t.armFold[r]=-.12*l*s(n);for(let e=0;e<4;e++)t.trails[e]=e===r?1-.6*l:1.1;t.yaw+=.26*l*s(n),t.pitch+=.1*l,t.closeness+=.1*l}},{id:"bow",label:"r\xe9v\xe9rence",beats:4,ready:!0,apply:(e,t)=>{let a=e<.34?e/.34:e<.6?1:Math.max(0,1-(e-.6)/.4),n=a<.5?2*a*a:1-(-2*a+2)**2/2;t.pitch+=.62*n;for(let e=0;e<4;e++)t.arms[e]=.55*n*(e<2?1:-.4),t.armLift[e]=-n*(e<2?.5:.18),t.armFold[e]=.2*n*(e%2?-1:1),t.trails[e]=1+.
16*n;t.closeness-=.08*n}},{id:"spin",label:"pirouette",beats:3,ready:!0,apply:(e,t,a,n)=>{let l=e<.5?2*e*e:1-(-2*e+2)**2/2;t.yaw+=l*o*s(n);let r=Math.sin(Math.PI*e);for(let a=0;a<4;a++)t.arms[a]=-.24*r+4*Math.max(0,e-.76)*.85,t.trails[a]=1+1.3*r,t.armLift[a]=-.14*r;t.closeness+=.1*r}},{id:"peek",label:"elle jette un Åil",beats:4,ready:!0,apply:(e,t,a,n)=>{let l=Math.sin(Math.PI*Math.min(1,e/.8));t.yaw+=.62*l*s(n),t.roll+=.34*l*s(n),t.pitch+=.16*l,t.arms[0]=.5*l,t.arms[1]=-(.22*l),t.arms[2]=-(.26*l),t.arms[3]=.18*l,t.closeness+=.16*l}},{id:"celebrate",label:"elle exulte",beats:3.5,ready:!0,apply:(e,t)=>{let a=Math.exp(-(3.4*e)),n=Math.sin(e*o*3)*Math.exp(-(2.4*e));for(let e=0;e<4;e++)t.arms[e]=1.25*a+.3*n,t.armSpin[e]=.4*n*(e%2?-1:1),t.armLift[e]=.65*a+.18*n,t.trails[e]=1+1.8*a;t.heart=Math.min(1,.35+.75*a),t.closeness+=.4*a+.1*Math.abs(n),t.roll+=.24*n,t.pitch-=.2*a}},{id:"yawn",label:"b\xe2illement",beats:5,ready:!0,apply:(e,t)=>{let a=e<.62?Math.sin(e/.62*Math.PI*.5):Math.max(0,1-(e-.62)/.2),n=Math.max(0,(e-.82)/.18);for(let e=0;e<4;e++)t.arms[e]=.95*a-.3*n,t.armLift[e]=.35*a-.45*n,t.trails[e]=1+.6*a-.5*n;t.pitch+=-(.3*a)+.4*n,t.closeness+=.14*a-.12*n,t.roll+=.12*Math.sin(e*o*.5)}},{id:"loader",label:"la rafale du loader",beats:r.vg/i.z_,ready:!0,apply:(e,t,a)=>{for(let n=0;n<4;n++)(0,r.uM)(e*r.vg,n,a),t.arms[n]=.9*a.out,t.armSpin[n]=a.spin}},{id:"flap",label:"battement altern\xe9",beats:5,ready:!0,apply:(e,t)=>{let a=e*o*4;for(let e=0;e<4;e++)t.arms[e]=.25+.7*Math.sin(a+(e%2?Math.PI:0)+.3*e),t.armSpin[e]=.24*Math.sin(a+(e%2?Math.PI:0));t.closeness+=.06+.12*Math.abs(Math.sin(a)),t.roll+=.12*Math.sin(.5*a)}},{id:"barrel",label:"tonneau (le secret)",beats:5,ready:!0,apply:(e,t,a,n)=>{let l=e<.5?2*e*e:1-(-2*e+2)**2/2;t.roll+=l*o*s(n);let r=Math.sin(Math.PI*e);for(let a=0;a<4;a++)t.arms[a]=-.2*r+4*Math.max(0,e-.72)*.9,t.armSpin[a]=.5*l*(a%2?-1:1),t.trails[a]=1+1.2*r;t.closeness+=.12*r}},{id:"dodge",label:"esquive",beats:2,ready:!0,apply:(e,t,a,n)=>{let l=Math.exp(-(5*e)),r=1-Math.exp(-(9*e));t.roll+=(.7*r-.7*e)*1.1*s(n),t.yaw+=.4*l*s(n),t.arms[0]=t.arms[2]=.75*l,t.arms[1]=t.arms[3]=-(.3*l),t.armLift[0]=t.armLift[2]=.4*l,t.trails[0]=t.trails[2]=1+.6*l,t.closeness+=.12*l}},{id:"typing",label:"posture dâ\xe9criture",beats:8,ready:!0,apply:(e,t)=>{let a=Math.abs(Math.sin(e*o*9)),n=Math.abs(Math.sin(e*o*9+1.6));t.pitch+=.42,t.arms[0]=.86-.66*a,t.arms[1]=.78-.62*n,t.arms[2]=-.3,t.arms[3]=-.34,t.armLift[0]=.28-.22*a,t.armLift[1]=.26-.2*n;for(let e=0;e<4;e++)t.trails[e]=.55;t.armSpin[0]=.34-.28*a,t.armSpin[1]=-.3+.26*n,t.roll+=.14,t.closeness-=.07+.04*a}},{id:"fouet-claque",label:"le fouet claqu\xe9",beats:3,ready:!0,apply:(e,t,a,n)=>{let l=u(n);if(e<.16){let a=e/.16;t.arms[l]=-.34*a,t.armSpin[l]=-.3*a,t.trails[l]=1+1.2*a;return}let r=(e-.16)/.84,i=Math.exp(-(5.5*r));t.arms[0]=1.35*i-.1*(1-r),t.armSpin[0]=.55*i,t.trails[0]=1+1.9*Math.exp(-(2*r)),t.trails[1]=t.trails[2]=t.trails[3]=.9,t.heart=.2+.6*i,t.roll-=.18*i,t.closeness+=.06*i},offset:e=>{if(e<.16){let t=e/.16*22;return{dx:t,dy:-(.2*t)}}let t=(e-.16)/.84,a=(22*Math.exp(-3.5*t)-80*Math.exp(-6*t))*(1-t*t*t);return{dx:a,dy:-(.2*a)}}},{id:"ruban",label:"le ruban de gymnaste",beats:8,ready:!0,apply:(e,t)=>{let a=Math.sin(Math.PI*e);for(let e=0;e<4;e++)t.arms[e]=-.12*a,t.trails[e]=1+2.2*a;t.roll+=.3*Math.sin(e*o*2+Math.PI/3)*a,t.shimmer=.5*a},offset:(e,t,a)=>{let n=Math.sin(Math.PI*e),l=e*o*2,r=.17*Math.min(t,a)*n;return{dx:Math.cos(l)*r,dy:Math.sin(l)*r*.72}}},{id:"cape",label:"la cape",beats:6,ready:!0,apply:(e,t,a,n)=>{let l=e<.75?Math.min(1,e/.2):1-(e-.75)/.25;t.spin=.045*l*s(n);for(let e=0;e<4;e++)t.arms[e]=-.32*l,t.armSpin[e]=.34*l,t.trails[e]=1+1.8*l;t.closeness-=.05*l,t.pitch+=.1*l}},{id:"frisson-queue",label:"le frisson de queue",beats:2.5,ready:!0,apply:(e,t)=>{let a=1-e;t.shimmer=2.6*Math.sin(Math.PI*Math.min(1,3*e))*a+.4*a;let n=Math.sin(Math.PI*Math.min(1,e/.3));for(let a=0;a<4;a++)t.arms[a]=.16*Math.sin(e*o*1.5+.8*a)*n,t.trails[a]=1.25}},{id:"eventail",label:"lâ\xe9ventail",beats:6,ready:!0,apply:(e,t)=>{let a=e<.85?Math.min(1,e/.25):1-(e-.85)/.15,n=a*a*(3-2*a),l=[.92,.58,.28,.04],r=[3.1,2.3,1.5,.8];for(let a=0;a<4;a++){let i=Math.min(1,Math.max(0,(4*e-.55*a)/.6));t.arms[a]=l[a]*n*i,t.armSpin[a]=(a-1.5)*.2*n*i,t.trails[a]=1+(r[a]-1)*n*i}t.closeness+=.08*n,t.pitch-=.08*n}},{id:"comete",label:"la com\xe8te",beats:4,ready:!0,apply:(e,t)=>{let a=e<.4?e/.4:1,n=+(e>=.4&&e<.62);for(let l=0;l<4;l++)t.arms[l]=e<.4?-.42:n?.35:.05,t.trails[l]=1+2.4*a*(e<.62?1:1-(e-.62)/.38);t.roll-=.22*(e<.4)-.1*!!n,t.closeness+=.12*!!n},offset:(e,t)=>{let a,n=Math.min(340,.24*t);if(e<.4){let t=e/.4;a=t*t*(3-2*t)}else if(e<.62)a=1+Math.exp(-(26*(e-.4)))*Math.sin((e-.4)*52)*.05;else{let t=(e-.62)/.38;a=1-t*t*(3-2*t)}return{dx:-n*a,dy:-n*a*.12}}},{id:"compte",label:"elle compte",beats:5,ready:!0,apply:(e,t)=>{let a=e>.88?(e-.88)/.12:0,n=0;for(let l=0;l<4;l++){let r=Math.min(1,Math.max(0,(4.6*e-l)/.4)),i=0===r?0:Math.min(1,r)+.22*Math.sin(Math.min(1,r)*Math.PI);t.arms[l]=.58*i*(1-.5*a),t.armSpin[l]=.12*i,r>0&&r<1&&(n=Math.sin(r*Math.PI))}t.pitch+=.14*n,t.closeness+=.03*n}},{id:"applaudissement",label:"lâapplaudissement",beats:3,ready:!0,apply:(e,t,a,n)=>{let l=Math.max(0,Math.sin(e*o*(3+11*n%1*1.6)))**4*(1-.4*e);for(let e=0;e<4;e++)t.arms[e]=.3+.1*l,t.armSpin[e]=(e%2?-1:1)*l*.42;t.closeness+=.05*l,t.pitch-=.06}},{id:"loupe",label:"la loupe",beats:5,ready:!0,apply:(e,t,a,n)=>{let l=e<.85?Math.min(1,e/.2):1-(e-.85)/.15,r=.16*Math.sin(e*o*1.5)*s(n);t.arms[0]=.78*l,t.arms[1]=-.2*l,t.arms[2]=-.24*l,t.arms[3]=-.16*l,t.armSpin[0]=(.2+r)*l,t.pitch+=.34*l,t.yaw+=r*l,t.closeness+=.1*l;for(let e=0;e<4;e++)t.trails[e]=1-.65*l}},{id:"soupir",label:"le soupir",beats:5,ready:!0,apply:(e,t)=>{if(e<.35){let a=e/.35,n=a*a*(3-2*a);for(let e=0;e<4;
1e++)t.arms[e]=.28*n,t.trails[e]=1+.6*n;t.heart=.15+.3*n,t.closeness+=.1*n,t.pitch-=.12*n;return}if(e<.45){for(let e=0;e<4;e++)t.arms[e]=.28,t.trails[e]=1.6;t.closeness+=.1,t.pitch-=.12;return}let a=(e-.45)/.55,n=a*a*(3-2*a);for(let e=0;e<4;e++)t.arms[e]=.28-.62*n,t.armSpin[e]=-.18*n,t.trails[e]=1.6-n;t.heart=.45-.4*n,t.closeness+=.1-.16*n,t.pitch+=-.12+.3*n,t.roll-=.12*n}},{id:"toupie-ratee",label:"la toupie rat\xe9e",beats:5,ready:!0,apply:(e,t,a,n)=>{if(e<.5){let a=e/.5;t.spin=.06*Math.sin(Math.PI*a)*s(n);for(let e=0;e<4;e++)t.arms[e]=-.2*a,t.trails[e]=1+1.4*a;t.roll+=.2*a;return}if(e<.74){let a=(e-.5)/.24,l=Math.sin(a*o*1.8)*(1-a)*d(n);t.spin=-.02*(1-a)*s(n),t.arms[0]=.6*(1-.4*a),t.arms[1]=-.24,t.arms[2]=.48*(1-.4*a),t.arms[3]=-.12,t.roll+=.42*l,t.yaw+=.2*l;for(let e=0;e<4;e++)t.trails[e]=2.2-a;return}let l=1-(e-.74)/.26;for(let e=0;e<4;e++)t.arms[e]=.1*l;t.closeness-=.05*l,t.pitch+=.1*l,t.roll+=.08*l}},{id:"tap",label:"le tap",beats:2.5,ready:!0,apply:(e,t,a,n)=>{if(e<.34){let a=Math.min(1,e/.14);for(let e=0;e<4;e++)t.armLift[e]=.3*a;t.pitch+=.2*a;return}let l=(e-.34)/.66,r=Math.exp(-(8*l)),i=Math.sin(l*o*2.2)*Math.exp(-(3*l));for(let e=0;e<4;e++)t.arms[e]=.7*r+.2*Math.abs(i),t.armLift[e]=-(.25*r)+.22*i;t.heart=.2+.55*r,t.closeness-=.16*r,t.pitch+=.3*r,t.roll+=.1*i*s(n)},offset:(e,t,a,n)=>{let l=6*s(n);if(e<.34){let t=Math.sin(e/.34*Math.PI*.5);return{dx:l*t,dy:-14*t}}let r=(e-.34)/.66,i=Math.exp(-(7*r))*Math.sin(Math.min(1,3*r)*Math.PI);return{dx:l*(1-r),dy:34*i-14*Math.exp(-(5*r))}}},{id:"pinceau",label:"le pinceau",beats:6,ready:!0,apply:(e,t,a,n)=>{let l=n<.5?2:3,r=e<.12?e/.12:e>.86?(1-e)/.14:1;t.armLift[l]=-.4*r,t.armFold[l]=.25*r*s(n),t.arms[l]=.35*r,t.trails[l]=1+1.9*r;for(let e=0;e<4;e++)e!==l&&(t.trails[e]=.7);t.pitch+=.22*r,t.roll+=.08*r*s(n)},offset:(e,t,a,n)=>{let l=Math.min(150,.11*t)*s(n);if(e<.72){let t=e/.72;return{dx:t*t*(3-2*t)*l,dy:0}}let r=(e-.72)/.28;return{dx:l*(1-r*r*(3-2*r)),dy:-26*Math.sin(Math.PI*r)}}},{id:"invite",label:"elle tâinvite",beats:4,ready:!0,apply:(e,t,a,n)=>{let l=u(n),r=e<.15?e/.15:e>.85?(1-e)/.15:1,i=Math.max(0,Math.sin(e*o*(n<.6?2:3)))**2;t.armLift[l]=.75*r,t.armFold[l]=(.12+.38*i)*r*s(n),t.arms[l]=.3*r,t.trails[l]=1+.6*i,t.yaw*=1-r,t.pitch*=1-r,t.heart=.25+.45*i,t.closeness+=.07*i*r,t.roll-=.06*i*r*s(n)}},{id:"aurevoir",label:"au revoir",beats:4,ready:!0,apply:(e,t,a,n)=>{let l=u(n),r=e<.2?e/.2:e>.8?(1-e)/.2:1,i=Math.sin(e*o*1.5);t.armLift[l]=.6*r,t.armFold[l]=.28*i*r,t.arms[l]=.2*r,t.yaw+=.3*r*s(n),t.pitch-=.12*r,t.closeness-=(1-r)*.02+.03*e;for(let e=0;e<4;e++)t.trails[e]=.8}},{id:"pianote",label:"elle pianote",beats:4,ready:!0,apply:(e,t,a,n)=>{let l=s(n),r=e<.12?e/.12:e>.88?(1-e)/.12:1;for(let a=0;a<4;a++){let n=Math.max(0,Math.sin(e*o*3.2-Math.PI/2*(l>0?a:3-a)))**5;t.armFold[a]=.34*n*r,t.arms[a]=.08*r+.1*n*r}t.roll+=.1*r*l,t.pitch+=.06*r}},{id:"coup-de-queue",label:"le coup de queue",beats:3,ready:!0,apply:(e,t,a,n)=>{let l=u(n),r=(e>.12)*Math.exp(-(9*Math.max(0,e-.12)))+.6*(e>.58)*Math.exp(-(9*Math.max(0,e-.58)));t.arms[l]=.14*r,t.heart=.08+.2*r,t.trails[l]=1+1.7*r,t.shimmer=1.1*r;for(let e=0;e<4;e++)e!==l&&(t.trails[e]=.7)}},{id:"gratte",label:"elle se gratte la t\xeate",beats:5,ready:!0,apply:(e,t,a,n)=>{let l=n<.5?0:1,r=0===l?1:-1,i=e<.18?e/.18:e>.82?(1-e)/.18:1,s=Math.sin(e*o*(5+9*n%1*2))*i;t.armLift[l]=.85*i,t.armFold[l]=(.3+.1*s)*r,t.arms[l]=.25*i,t.roll+=.22*i*r,t.pitch+=.08*i;for(let e=0;e<4;e++)t.trails[e]=.6}},{id:"retourne",label:"elle se retourne",beats:4,ready:!0,apply:(e,t,a,n)=>{let l=s(n),r=e<.3?(e/.3)**1.5:e<.62?1:1-(e-.62)/.38*1.06+.06*Math.sin((e-.62)/.38*Math.PI);t.yaw+=2.4*r*l,t.roll+=.18*r*l,t.pitch+=.05*r,t.arms[+(l>0)]=.3*r,t.trails[+(l>0)]=1+.5*r,t.closeness-=.04*r}},{id:"epoussette",label:"elle lisse ses voiles",beats:5,ready:!0,apply:(e,t,a,n)=>{let l=u(n),r=l%2?-1:1,i=e<.14?e/.14:e>.86?(1-e)/.14:1,o=Math.min(1,Math.max(0,(e-.12)/.72)),s=Math.sin(o*Math.PI*3)*(1-.45*o);t.armLift[l]=(-.52+.2*s)*i,t.armFold[l]=(.42+.34*s)*i*r,t.arms[l]=(.18+.12*Math.abs(s))*i,t.trails[l]=1+.9*i;for(let e=0;e<4;e++)e!==l&&(t.arms[e]=-.14*i,t.trails[e]=1-.3*i);t.roll+=(.2+.08*s)*i*r,t.pitch+=.16*i,t.shimmer=.35*i}},{id:"culbute",label:"la culbute",beats:4,ready:!0,apply:(e,t,a,n)=>{t.pitch+=(e<.72?(e/.72)**1.35:1)*o;
1let l=Math.sin(Math.PI*Math.min(1,e/.72)),r=Math.max(0,e-.72)/.28;for(let e=0;e<4;e++)t.arms[e]=-.34*l+.8*Math.sin(Math.PI*r),t.armFold[e]=.3*l*(e%2?-1:1),t.trails[e]=1+1.5*l;t.roll+=.14*Math.sin(Math.PI*e)*s(n),t.closeness+=.14*l,t.heart=.12+.25*l},offset:e=>({dx:0,dy:-26*Math.sin(Math.PI*Math.min(1,e/.86))})},{id:"hoquet",label:"le hoquet",beats:3,ready:!0,apply:(e,t,a,n)=>{let l=e=>e<0?0:Math.exp(-(14*e))*Math.sin(46*e),r=l(e-.08)+.72*l(e-.46);for(let e=0;e<4;e++)t.arms[e]=.55*r,t.armLift[e]=.3*r,t.trails[e]=1+.8*Math.abs(r);t.closeness+=.14*r,t.pitch-=.2*r,t.roll+=.1*r*s(n),t.heart=.1+.4*Math.abs(r)},offset:e=>{let t=e=>e<0?0:Math.exp(-(13*e))*Math.sin(44*e);return{dx:0,dy:-(16*(t(e-.08)+.72*t(e-.46)))}}},{id:"balancier",label:"le balancier",beats:7,ready:!0,apply:(e,t,a,n)=>{let l=Math.min(1,e/.14)*Math.min(1,(1-e)/.2),r=Math.sin(e*o*1.5)*s(n),i=Math.sin((e-.09)*o*1.5)*s(n);t.roll+=.42*r*l,t.yaw+=.2*r*l;for(let e=0;e<4;e++)t.arms[e]=(.12+i*(e%2?.26:-.26))*l,t.armFold[e]=.18*i*l,t.trails[e]=1+(.5+.3*i)*l;t.closeness+=.05*Math.abs(r)*l},offset:(e,t,a,n)=>{let l=Math.min(1,e/.14)*Math.min(1,(1-e)/.2),r=Math.min(56,.04*t)*s(n),i=Math.sin(e*o*1.5);return{dx:i*r*l,dy:-(8*Math.abs(i))*l}}},{id:"chuchote",label:"elle chuchote",beats:5,ready:!0,apply:(e,t,a,n)=>{let l=e<.22?(e/.22)**.8:e>.8?(1-e)/.2:1,r=u(n),i=Math.abs(Math.sin(e*o*5.5))**1.6;t.armLift[r]=.62*l,t.armFold[r]=(.55+.12*i)*l*s(n),t.arms[r]=.28*l;for(let e=0;e<4;e++)e!==r&&(t.arms[e]=-.24*l,t.trails[e]=1-.4*l);t.trails[r]=1-.55*l,t.closeness+=.42*l,t.yaw*=1-.7*l,t.roll+=.16*l*s(n),t.pitch+=.1*l,t.heart=.14+.3*i*l}},{id:"pique-du-nez",label:"elle pique du nez",beats:8,ready:!0,apply:(e,t)=>{let a=h(e,.5,.66,.82);t.pitch+=a,t.roll+=.22*a;for(let e=0;e<4;e++)t.arms[e]=-.28-.1*a,t.armLift[e]=-.18-.12*a,t.trails[e]=.62;t.closeness-=.05+.05*a,t.heart=Math.max(.04,.14-.1*a)},offset:e=>
1({dx:0,dy:h(e,8,12,16)})},{id:"ebroue",label:"elle sâ\xe9broue",beats:3,ready:!0,apply:(e,t,a,n)=>{let l=Math.min(1,e/.1)*Math.min(1,(1-e)/.24),r=e*o*7;t.roll+=.5*Math.sin(r)*l*s(n),t.yaw+=.24*Math.sin(r-.7)*l;for(let e=0;e<4;e++)t.arms[e]=.4*Math.sin(r-.8*e)*l+.16*l,t.armSpin[e]=.34*Math.sin(r-.8*e-.5)*l,t.trails[e]=1+1.2*l;t.shimmer=1.6*l,t.closeness+=.05*Math.abs(Math.sin(r))*l}},{id:"depot",label:"elle pose la bulle",beats:2,ready:!0,apply:(e,t,a,n)=>{let l=u(n);if(e<.46){let a=Math.min(1,e/.34),n=a*a*(3-2*a);for(let e=0;e<4;e++)t.arms[e]=-.22*n,t.armLift[e]=-.16*n,t.trails[e]=1-.4*n;t.arms[l]=-.34*n,t.armLift[l]=-.3*n,t.heart=.2+.5*n,t.closeness+=.1*n,t.pitch-=.12*n;return}let r=(e-.46)/.54,i=Math.min(1,r/.12),o=Math.exp(-(3.4*Math.max(0,r-.12)));t.arms[l]=1.15*i*o,t.armLift[l]=.72*i*o,t.armFold[l]=-.28*i*o*s(n),t.trails[l]=1+1.5*i*o;for(let e=0;e<4;e++){if(e===l)continue;let a=Math.min(1,Math.max(0,(r-.06)/.14));t.arms[e]=.42*a*o,t.armLift[e]=.2*a*o,t.trails[e]=1+.7*a*o}t.heart=.7*o,t.closeness+=.18*i*o-.06*(1-o),t.pitch+=.2*i*o}},{id:"porte-carte",label:"elle porte une carte",beats:4,ready:!0,apply:(e,t,a,n)=>{let l=s(n);if(e<.3){let a=e/.3;for(let e=0;e<4;e++)t.arms[e]=.42*a,t.armLift[e]=-.34*a,t.trails[e]=1-.25*a;t.pitch+=.24*a,t.heart=.12+.1*a;return}if(e<.42){let a=(e-.3)/.12,n=1-(1-a)**3;for(let e=0;e<4;e++)t.arms[e]=.42-.74*n,t.armLift[e]=-.34-.18*n,t.armFold[e]=.26*n*(e%2?-1:1),t.trails[e]=.75-.2*n;t.heart=.22+.55*Math.sin(a*Math.PI),t.closeness-=.08*Math.sin(a*Math.PI),t.pitch+=.24+.1*n;return}if(e<.88){let a=(e-.42)/.46,n=.04*Math.sin(a*o*1.5);for(let e=0;e<4;e++)t.arms[e]=-.32+n,t.armLift[e]=-.52,t.armFold[e]=.26*(e%2?-1:1),t.trails[e]=.55;t.heart=.3,t.roll+=.16*l*Math.sin(Math.PI*a),t.pitch+=.3;return}let r=(e-.88)/.12,i=r*r*(3-2*r);for(let e=0;e<4;e++)t.arms[e]=-.32+.66*i,t.armLift[e]=-.52+.74*i,t.armFold[e]=.26*(1-i)*(e%2?-1:1),t.trails[e]=.55+.6*i;t.heart=.3*(1-i),t.pitch+=.3*(1-i),t.closeness+=.1*i}},{id:"ecrit-champ",label:"elle \xe9crit dans le champ",beats:6,ready:!0,apply:(e,t,a,n)=>{let l=n<.5?2:3,r=e<.08?e/.08:e>.92?(1-e)/.08:1,i=.5*Math.sin(e*o*26)+.5*Math.sin(e*o*17+1.1);t.arms[l]=(.52+.06*i)*r,t.armLift[l]=-.46*r,t.armFold[l]=(.18+.05*i)*r*s(n),t.trails[l]=1+1.1*r;for(let e=0;e<4;e++)e!==l&&(t.arms[e]=-.2*r,t.armLift[e]=.12*r,t.trails[e]=1-.45*r);t.heart=.18+.14*Math.abs(i),t.pitch+=.3*r,t.roll+=.1*r*s(n),t.closeness-=.05*r}}];var m=a(13735),p=a(17799);function f(){let e=Array.from(document.querySelectorAll('[data-fairy-stop], h2[class*="text-display-sm"], [data-fairy-cta]'));return e.length>=4?e:Array.from(document.querySelectorAll('[data-fairy-stop], [data-fairy-cta], h2[class*="text-display-sm"], main h2, main h1'))}function y(e){let t=e.getBoundingClientRect();return{el:e,cta:e.hasAttribute("data-fairy-cta")||!!e.querySelector("[data-fairy-cta]"),left:t.left,docTop:t.top+window.scrollY,width:t.width,height:t.height}}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.scrollY,a=e.docTop-t;return e.cta?{x:Math.max(26,e.left-44),y:a+e.height/2}:e.left>=88?{x:e.left-46,y:a+Math.min(e.height/2,30)}:{x:e.left+16,y:a-68}}function M(e){return w(y(e))}let b='h1,h2,h3,h4,h5,p,li,button,a,[data-fairy-cta],[role="button"],input,textarea,img,video,[class*="rounded"]',g=new WeakMap;function v(e){let t=g.get(e);return void 0===t&&(t=function(e){let t=e;for(let e=0;t&&t!==document.body&&e<12;e++){if(t.hasAttribute("data-site-hero")||"fixed"===getComputedStyle(t).position)return!0;t=t.parentElement}return!1}(e),g.set(e,t)),t}function x(e,t,a){if("none"===t.pointerEvents||!function(e,t){if("BUTTON"===e.tagName||"IMG"===e.tagName||"VIDEO"===e.tagName||"none"!==t.backgroundImage)return!0;let a=t.backgroundColor;return"transparent"!==a&&!/,\s*0\)$/.test(a)}(e,t))return!1;let n=window.innerWidth*window.innerHeight||1;return a.width*a.height/n<.55}let E=0,L=[];function F(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!e||L.length>=32){E+=1,L.length=0;return}L.includes(e)||L.push(e)}function S(e){for(let t=0;t<L.length;t++){let a=L[t];if(a===e||a.contains(e))return!0}return!1}let P=new WeakMap,k=new WeakMap,C=0,N=120,I=-1e9;function A(){let e=performance.now();if(e-I<1e3)return N;I=e;let t=document.querySelector("header");return N=Math.max(74,(t&&"fixed"===getComputedStyle(t).position?t.getBoundingClientRect().bottom:0)+46+14)}function q(){return!(0,l.T)("nofairy")&&window.matchMedia("(min-width: 1024px)").matches&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches}function R(e){let{engine:t,onStageFixedChange:a,spawnAt:o}=e,s=(0,n.useRef)(o);return(0,n.useEffect)(()=>{var e;if(!q())return;let n=document.querySelector("[data-site-hero]"),o=document.documentElement;(0,p.QN)(!0);let u=0,d=()=>{},h=!1,M=0,g=0,N=null,I=null,R=performance.now(),B=!1,z=24,_=NaN,W=NaN,H=NaN,T=NaN,D=0,Y=!1,O=null,j=null,Q=null,U=-1e9,G=document.createElement("canvas"),X=(0,l.T)("nomask"),V=[],$=!0,K=-1,Z=!0,J=-1e9,ee=e=>{void 0===e?F(null):(e=>{if(!e)return!0;let t=e.getBoundingClientRect(),a=t.top+window.scrollY-eu;if(a>ed||a+t.height<0)return!1;let n=t.left-es;return n<=eh&&n+t.width>=0})(e)&&F(e),$=!0,Z=!0,J=performance.now()},et=e=>ee(e.target instanceof Element?e.target:null),ea=()=>ee(),en=performance.now(),el=new WeakMap,er="u"<typeof ResizeObserver?null:new ResizeObserver(e=>{for(let a of e){var t;let e=null==(t=a.borderBoxSize)?void 0:t[0];if(!e)continue;let n=el.get(a.target);if(el.set(a.target,{w:e.inlineSize,h:e.blockSize}
1),n&&(Math.abs(e.inlineSize-n.w)>.5||Math.abs(e.blockSize-n.h)>.5))return void ee(a.target)}}),ei=/^(transform|translate|scale|rotate|top|bottom|left|right|width|height|margin|padding|inset)/,eo=e=>{let t=e.propertyName;(!t||ei.test(t))&&et(e)};window.addEventListener("resize",ea,{passive:!0}),window.addEventListener("orientationchange",ea,{passive:!0}),document.addEventListener("load",et,!0),document.addEventListener("transitionstart",eo,!0),document.addEventListener("transitionend",eo,!0),document.addEventListener("animationstart",et,!0),document.addEventListener("animationend",et,!0),null==(e=document.fonts)||e.ready.then(()=>ea());let es=0,eu=0,ed=0,eh=0,ec=0,em=0,ep=null,ef=null,ey=0,ew=-1e9,eM=(0,r.Nk)(),eb=[0,0,0,0],eg=0,ev=!1,ex=0,eE=0,eL=0,eF=0,eS=0,eP=-1e9,ek=null,eC=-1e9,eN=e=>{ek="loader",eP=e,eC=e},eI="calm",eA=null,eq=0,eR={spin:0,out:0,scale:1},eB=(e,t)=>{if(eA||null!==ek||B)return;let a=c.find(t=>t.id===e);(null==a?void 0:a.apply)&&(eA={g:a,at:t,v:.618034*++eq%1},eC=t)};window.__fairyPose=eM;let ez=e=>{let t=[],a=null;return()=>{if(!t.length){t=[...e];for(let e=t.length-1;e>0;e--){let a=Math.floor(Math.random()*(e+1));[t[e],t[a]]=[t[a],t[e]]}let n=t.length;n>1&&t[n-1]===a&&([t[n-1],t[0]]=[t[0],t[n-1]])}return a=t.pop()}},e_="happy",eW=ez(["happy","content","greeting","playful","proud","knowing"]),eH=()=>{e_=eW()},eT="calm",eD=performance.now()+12e3+1e4*Math.random(),eY=null,eO=null,ej=null,eQ=0,eU={"toupie-ratee":["playful",5e3],retourne:["surprised",2600],comeclose:["knowing",4e3],yawn:["sleepy",6e3],"coup-de-queue":["impatient",3e3],gratte:["unsure",3e3],culbute:["playful",4200],hoquet:["surprised",2400],"pique-du-nez":["sleepy",7e3],chuchote:["knowing",4500],ebroue:["content",3e3],epoussette:["content",3200],balancier:["calm",4e3]},eG=null,eX=!1,eV=!1,e$=2*i.z_,eK=2*i.z_,eZ=3*i.z_,eJ=!1,e1=0,e0=NaN,e2=0,e4=null,e5=performance.now()+14e3,e3=new Map,e6=0,e8=function(e){var t,a;let n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!e4)return;let{a:l,el:r}=e4;e?null==(t=l.onAbort)||t.call(l,r):null==(a=l.onDone)||a.call(l,r),n&&!l.rejouable&&(0,m.P6)(l.id);let i=performance.now();l.repos&&e3.set(l.id,i+1e3*l.repos),e4=null,e5=i+2200},e7=e=>{let t=e.target;if(!(null==t?void 0:t.closest))return;tL();let a=t.closest("[data-iris-paint],[data-iris-write],button,a");a&&(0,m.F7)(a),e4&&(a===e4.el||e4.el.contains(t))&&e8(!0)},e9=e=>{var t,a,n;let l=null==(n=e.target)||null==(a=n.closest)?void 0:a.call(n,"a[href]");if(l&&!B&&/\/register(\?|#|$)/.test(null!=(t=l.getAttribute("href"))?t:"")){try{let e=new URL(l.href,window.location.href);if(e.searchParams.has("iris"))return;let t=(M/Math.max(1,window.innerWidth)).toFixed(2),a=(g/Math.max(1,window.innerHeight)).toFixed(2);e.searchParams.set("iris","".concat(t,",").concat(a)),l.href=e.toString()}catch(e){return}ew=performance.now(),e_="proud",eB("bow",performance.now())}};window.addEventListener("click",e9,!0),window.addEventListener("pointerdown",e7,!0),window.addEventListener("keydown",e7,!0);let te=document.createElement("div");te.setAttribute("role","status"),te.setAttribute("aria-live","polite"),te.style.cssText="position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0",document.body.appendChild(te);let tt=new Set,ta=(e,t)=>{e.classList.remove("iris-weighted","iris-unweighted"),e.offsetWidth,e.classList.add(t);let a=()=>{e.classList.remove(t),e.removeEventListener("animationend",a)};e.addEventListener("animationend",a)},tn=ez(["stretch","eventail","spin","barrel","flap","ruban","loupe","peek","pianote","toupie-ratee","culbute","ebroue","balancier","chuchote","hoquet"]),tl=ez(["yawn","pique-du-nez","shiver","frisson-queue","coup-de-queue","gratte","cape","epoussette","balancier"]),tr=ez([{id:"arc",n1:1,n2:1,up:1,dur:1,vrille:0},{id:"rasant",n1:.12,n2:-.1,up:.3,dur:.72,vrille:0},{id:"crochet",n1:1.15,n2:-.7,up:.7,dur:1.2,vrille:0},{id:"plongeon",n1:-.55,n2:1.1,up:.85,dur:1.1,vrille:0},{id:"vrille",n1:.75,n2:.75,up:.9,dur:1.15,vrille:1}]),ti=i.jq,to=performance.now()+18e3+15e3*Math.random(),ts=performance.now(),tu=!1,td=-1e9,th=0,tc=0,tm=null,tp=[0,0,0,0],tf=[0,0,0,0],ty=[0,0,0,0],tw=[0,0,0,0],tM=0,tb="calm",tg=performance.now(),tv=0,tx=window.scrollY,tE=-1e9,tL=()=>{ts=performance.now(),tu=!1,d()},tF=()=>
1{if("visible"!==document.visibilityState)return;d();let e=performance.now();ts=e,e-td>3e4&&(td=e,ew=e,e_="happy",eB("wave",e))},tS=null,tP=null,tk=0,tC=!1,tN=null,tI=0,tA=0,tq=e=>{var t;let a=e.detail;tI=null!=(t=null==a?void 0:a.len)?t:0,tA=performance.now()+4e3,tI>140&&eB("typing",performance.now()),(null==a?void 0:a.question)&&eB("peek",performance.now())},tR=()=>{let e=performance.now();ew=e,e_="happy",eB("celebrate",e)},tB=()=>{let e=performance.now();ew=e,e_="sorry",eB("soupir",e)},tz=e=>{var t;tC=(null==(t=e.detail)?void 0:t.on)===!0},t_=e=>{let t=e.detail;"number"==typeof(null==t?void 0:t.x)&&"number"==typeof(null==t?void 0:t.y)&&(tN={x:t.x,y:t.y,until:performance.now()+6e3},j=null,Q=null,ef=null)},tW=e=>{var t;let a=null==(t=e.detail)?void 0:t.mood;a&&i.z5.includes(a)&&(tP=a,tk=performance.now()+14e3,ew=performance.now(),e_=tP)},tH=e=>{var t;let a=null==(t=e.detail)?void 0:t.id;a&&(tS={id:a,until:performance.now()+7e3},j=null,Q=null,ef=null,ew=performance.now(),e_="proud")};window.addEventListener("stellary:iris-show",tH),window.addEventListener("stellary:iris-mood",tW),window.addEventListener("stellary:iris-look",t_),window.addEventListener("stellary:iris-familiar",tz),window.addEventListener("stellary:iris-typing",tq),window.addEventListener("stellary:iris-cheer",tR),window.addEventListener("stellary:iris-sorry",tB),window.addEventListener("wheel",tL,{passive:!0}),window.addEventListener("scroll",tL,{passive:!0}),window.addEventListener("keydown",tL),document.addEventListener("visibilitychange",tF);let tT=0,tD=e=>{if(e.target===document||e.target===window)return;tL();let t=performance.now();t-tT<100||(tT=t,ea())};document.addEventListener("scroll",tD,{capture:!0,passive:!0});let tY=()=>{ea(),d()};window.addEventListener("stellary:iris-relire",tY);let tO=e=>{d();let t=performance.now();if(Number.isFinite(e0)&&t>e2){let a=(e.clientY-e0)/(t-e2)*1e3;e1+=(a-e1)*.35}e0=e.clientY,e2=t,H=e.clientX,T=e.clientY,ts=performance.now(),tu=!1},tj=()=>{H=NaN,T=NaN},tQ=e=>{B=!0;let t=e.detail;"number"==typeof(null==t?void 0:t.bottom)&&(z=Math.max(24,t.bottom)),_="number"==typeof(null==t?void 0:t.x)?t.x:NaN,W="number"==typeof(null==t?void 0:t.y)?t.y:NaN,null==n||n.setAttribute("data-fairy-docked","true"),o.setAttribute("data-iris-docked","true"),(0,p.QN)(!1),ew=performance.now(),j=null,Q=null,ef=null},tU=()=>{B=!1,_=NaN,W=NaN,null==n||n.removeAttribute("data-fairy-docked"),o.removeAttribute("data-iris-docked"),(0,p.QN)(!0),ew=performance.now()};window.addEventListener("pointermove",tO,{passive:!0}),document.documentElement.addEventListener("pointerleave",tj);let tG=e=>{var t;(null==(t=e.detail)?void 0:t.on)!==!1?eN(performance.now()):ek=null};window.addEventListener("stellary:iris-dock",tQ),window.addEventListener("stellary:iris-undock",tU),window.addEventListener("stellary:iris-thinking",tG);let tX=NaN,tV=NaN,t$=NaN,tK=!1,tZ=(()=>{try{return"1"===sessionStorage.getItem("iris:silence")}catch(e){return!1}})(),tJ=!1,t1=0,t0=null,t2=e=>{let t=e.detail;(null==t?void 0:t.open)&&Number.isFinite(t.x)&&Number.isFinite(t.y)?(t0={x:t.x,y:t.y},j=null,Q=null,ef=null):t0=null};window.addEventListener("stellary:iris-menu",t2);let t4=()=>{var e,a,n,l,i;null==(e=t.current)||e.setFairyFlying(!1),null==(n=t.current)||null==(a=n.setFairyPresent)||a.call(n,!1),h&&(null==(i=t.current)||i.setFairyPose((0,r.SS)(eM)),window.dispatchEvent(new CustomEvent("stellary:iris-hidden"))),h=!1,j=null,Q=null,ef=null,null==(l=t.current)||l.setFairyOccluder(null),N&&(N.classList.remove("fairy-invite"),N=null)},t5=()=>{let e=Number.parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--stellary-cookie-offset")),t=Number.isFinite(e)&&e>0?e:24;return{x:window.innerWidth-58,y:window.innerHeight-t-34,bottom:t}},t3=()=>{tJ=!1,tZ=!0,B=!1,_=NaN,W=NaN,(0,p.QN)(!1),t4(),u&&cancelAnimationFrame(u),u=0},t6=()=>{if(tZ||tJ)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||!h)return void t3();tJ=!0,t1=performance.now();let e=t5();B=!0,z=e.bottom,_=e.x,W=e.y,j=null,Q=null,ef=null,t0=null,d()},t8=()=>{var e,a,n;if(tZ||tJ){tJ=!1,tZ=!1;try{sessionStorage.removeItem("iris:silence")}catch(e){}if(!h){let e=t5();M=e.x,g=e.y,h=!0,null==(n=t.current)||n.setFairyTarget(M,g)}null==(a=t.current)||null==(e=a.setFairyPresent)||e.call(a,!0),(0,p.QN)(!0),d()}};window.addEventListener("stellary:iris-silence",t6),window.addEventListener("stellary:iris-reveil",t8);let t7=()=>{var e,l,o,d,q,ee,et,ea,el,ei,eo,ez,eW,e0,e2,e7,e9,td,tL,tF,tq,tR,tB,tz,t_,tW,tH,tT,tD,tY,tO,tj,tQ,tU,tG,t2,t5,t6,t8,t9,ae;let at,aa,an;u=requestAnimationFrame(t7);let al=performance.now(),ar=Math.min((al-R)/1e3,.05);if(R=al,tZ){cancelAnimationFrame(u),u=0;return}
1if(t0&&!B){M+=(t0.x-M)*(1-Math.exp(-(8*ar))),g+=(t0.y-g)*(1-Math.exp(-(8*ar))),null==(eo=t.current)||eo.setFairyOccluder(null),null==(ez=t.current)||ez.setFairyTarget(M,g),null==(eW=t.current)||eW.setFairyFlying(!1),(0,r.SS)(eM);let e=al/1e3/i.z_*Math.PI;eM.closeness=1.3+.03*Math.sin(e),eM.spread=.62+.05*Math.sin(e),eM.mood="proud",null==(e0=t.current)||e0.setFairyPose(eM),al-D>=32&&(D=al,window.dispatchEvent(new CustomEvent("stellary:iris-position",{detail:{x:M,y:g,docked:!1}})));return}let ai=null==n?void 0:n.getBoundingClientRect(),ao=ai?Math.max(1,ai.height-window.innerHeight):1,as=ai?-ai.top/ao:1,au=B||as>=.985;if(au!==Y&&(null==a?void 0:a(au))!==!1&&(Y=au),as<.94&&!B){t4(),cancelAnimationFrame(u),u=0;return}if(B){let e=Number.isFinite(_)?_:window.innerWidth-58,a=Number.isFinite(W)?W:window.innerHeight-z-34;h||(M=e,g=a,h=!0),M+=(e-M)*(1-Math.exp(-(7.5*ar))),g+=(a-g)*(1-Math.exp(-(7.5*ar))),ey+=(.52-ey)*(1-Math.exp(-(8*ar))),null==(e2=t.current)||e2.setFairyOccluder(null),null==(e7=t.current)||e7.setFairyTarget(M,g),null==(e9=t.current)||e9.setFairyFlying(!1),(0,r.SS)(eM),eM.closeness=Number.isFinite(_)?.98:1.08,eM.spread=ey,eM.depth=.8;let n=Number.isFinite(_)?.25:.7;eM.trails[0]=eM.trails[1]=eM.trails[2]=eM.trails[3]=n,eM.acting=!1,eM.mood="curious",null==(td=t.current)||td.setFairyPose(eM),al-D>=32&&(D=al,window.dispatchEvent(new CustomEvent("stellary:iris-position",{detail:{x:M,y:g,docked:!0}}))),tJ&&(8>Math.hypot(e-M,a-g)||al-t1>900)&&t3();return}let ad=document.documentElement.scrollHeight;if(($||ad!==K)&&(K=ad,$=!1,null==er||er.disconnect(),ti=(0,i.Gp)(null==(t8=document.querySelector("[data-iris-persona]"))?void 0:t8.getAttribute("data-iris-persona")),window.__irisPersona=ti.id,V=f().map(y),er))for(let e of V)er.observe(e.el);if(!V.length)return void t4();let ah=window.scrollY,ac=.48*window.innerHeight,am=null,ap=1/0,af=1/0;for(let e of V){if(!e.width||!e.height)continue;let t=e.cta?.55:1,a=Math.abs(e.docTop-ah+e.height/2-ac)*t;a<ap&&(ap=a,am=e),e.el===O&&(af=a)}if(am&&O&&am.el!==O&&af<1.35*ap){let e=V.find(e=>e.el===O&&e.width&&e.height);e&&(am=e,ap=af)}if(!am)return void t4();let ay=am.el;if(ay!==eO){eO=ay;let e=null!=(tL=null==(tF=ay.closest("[data-iris-mood]"))?void 0:tF.getAttribute("data-iris-mood"))?tL:null;eY=e&&i.z5.includes(e)?e:null}let aw=am.cta,aM=w(am,ah);if(ay!==tm)tm=ay,th=aM.x,tc=aM.y;else{let e=1-Math.exp(-(14*ar));th+=(aM.x-th)*e,tc+=(aM.y-tc)*e}aM.x=th,aM.y=tc;let ab=am.left+am.width,ag=am.left>=88,av=window.innerWidth-ab>=120,ax=ti.lecture&&!aw&&am.width>380&&(ag||av);ax&&(aM.x=ag?am.left-46:ab+46,aM.y=.48*window.innerHeight+Math.max(-120,Math.min(120,.055*tv)));let aE=ax?0:Math.min(.3,.14*!!tC+ti.proche);if(aE>0&&(aM.x+=(.5*window.innerWidth-aM.x)*aE),aM.y=Math.max(A(),Math.min(.9*window.innerHeight,aM.y)),aw&&N!==ay?(N&&(N.classList.remove("fairy-invite"),ta(N,"iris-unweighted"),window.dispatchEvent(new CustomEvent("stellary:iris-lache")),I=null),(N=ay).classList.add("fairy-invite"),ta(N,"iris-weighted"),ew=al,eH()):!aw&&N&&(N.classList.remove("fairy-invite"),ta(N,"iris-unweighted"),window.dispatchEvent(new CustomEvent("stellary:iris-lache")),N=null,I=null),aw&&N&&I!==N&&90>Math.hypot(M-aM.x,g-aM.y)){I=N;let e=window.__irisFlat;window.dispatchEvent(new CustomEvent("stellary:iris-touche",{detail:{el:N,x:e&&Number.isFinite(e.x)?e.x:M,y:e&&Number.isFinite(e.y)?e.y:g}}))}if(220>Math.hypot(M-aM.x,g-aM.y)){let e=(0,p.WE)(ay),t=(null==e?void 0:e.getAttribute("data-iris-section"))||(null==e?void 0:e.id)||null;if(e&&t&&!tt.has(t)){tt.add(t),(0,p.RB)(t);let a=e.getBoundingClientRect(),n=document.createElement("span");n.setAttribute("data-iris-wave",""),n.setAttribute("aria-hidden","true"),n.style.setProperty("--iris-wave-x","".concat(((M-a.left)/Math.max(1,a.width)*100).toFixed(1),"%")),n.style.setProperty("--iris-wave-y","".concat(((g-a.top)/Math.max(1,a.height)*100).toFixed(1),"%"));let l=document.createElement("span");n.appendChild(l),l.addEventListener("animationend",()=>n.remove()),e.appendChild(n)}}if(!h){h=!0;let e=s.current;e&&Number.isFinite(e.x)&&Number.isFinite(e.y)?(M=Math.min(Math.max(e.x,0),1)*window.innerWidth,g=Math.min(Math.max(e.y,0),1)*window.innerHeight,s.current=null):(M=aM.x,g=aM.y),O=ay}let aL=ay.hasAttribute("data-fairy-orbit")||!!ay.querySelector("[data-fairy-orbit]");if(ay!==O&&!e4&&!tS&&!eG)if(Q&&Q.el!==ay)Q.rush=!0;else if(ef&&ef.el!==ay&&!ef.leaving){ef.leaving=!0;let e=2*Math.PI;ef.until=Math.ceil(ef.th/e)*e,ef.until-ef.th<.7&&(ef.until+=e)}else{O=ay;let e=Math.hypot(aM.x-M,aM.y-g),t={width:am.width};
1if(j=null,Q=null,ef=null,aL)ef={th:0,enter:0,el:ay,fx:M,fy:g,leaving:!1,until:0};else if(t.width>260&&Math.min(aM.y,window.innerHeight-aM.y)>130&&al-U>6e3&&Math.random()<.32*ti.figures){U=al;let e=2.5+.5*Math.floor(3*Math.random());Q={p:0,dur:2400+260*e,el:ay,fx:M,fy:g,rush:!1,tours:e,sens:.5>Math.random()?-1:1}}else if(e>240&&Math.random()<.8*ti.figures){let t=.5>Math.random()?-1:1,a=tr();j={start:al,dur:1e3*Math.min(1.15,.55+e/900)*a.dur,fx:M,fy:g,dx:t*Math.min(190,.35*e),dy:-Math.min(150,60+.18*e),side:t,f:a}}}let aF=1,aS="repos",aP=0,ak=0;if(ef){let e=ef.el.getBoundingClientRect();if(e.bottom<20||e.top>window.innerHeight-20?ef=null:(ef.th+=1e3*ar/4600*Math.PI*2*(ef.leaving?3.4:1),ef.enter=Math.min(1,ef.enter+ar/.62),ef.leaving&&ef.th>=ef.until&&(ef=null)),ef){let t=ef.th,a=1-Math.exp(-(9*ar)),n=(e,t)=>void 0===e?t:e+(t-e)*a,l=n(ef.cx,e.left+e.width/2),r=n(ef.cy,e.top+e.height/2),i=n(ef.bw,e.width),o=n(ef.bh,e.height);ef.cx=l,ef.cy=r,ef.bw=i,ef.bh=o;let s=i/2+42,u=l+Math.cos(t)*s,d=r+Math.sin(2*t)*(.85*o+14),h=1-(1-ef.enter)**3;M=ef.fx+(u-ef.fx)*h,g=ef.fy+(d-ef.fy)*h;let c=i/2+8,m=Math.max(28,s-c),p=Math.max(-1,Math.min(1,(Math.abs(M-l)-c)/m)),f=Math.abs(p),y=Math.sign(p)*f*f*(3-2*f);aP=(Math.abs(M-l)<c&&Math.abs(g-r)<o/2+6?Math.min(y,-.35):y)*1.35*h,aF=1+.12*Math.max(0,y),aS="orbite"}}if(!ef&&Q){Q.p+=1e3*ar/Q.dur*(Q.rush?3.4:1);let e=Q.p,t=Q.el.getBoundingClientRect();if(e>=1||t.bottom<40||t.top>window.innerHeight-40)Q=null,ew=al,eH();else{let a=e<.5?2*e*e:1-(-2*e+2)**2/2,n=a*Math.PI*2*Q.tours*Q.sens,l=t.top+t.height/2,r=Math.min(l-56,window.innerHeight-56-l),i=Math.max(22,Math.min(Math.max(46,Math.min(84,.8*t.height)),r)),o=Math.max(24,t.left-34),s=Math.min(window.innerWidth-28,t.right+30),u=Q.sens>0?o+(s-o)*a:s-(s-o)*a,d=l-Math.cos(n)*i,h=1-(1-Math.min(1,e/.16))**3;M=Q.fx+(u-Q.fx)*h,g=Q.fy+(d-Q.fy)*h;let c=-Math.sin(n);aF=1+.2*Math.max(0,c),aS="serpentin",aP=1.6*c*Math.max(0,Math.min(1,5*e,(1-e)*5))}}if(!ef&&!Q&&j){let e=(al-j.start)/j.dur;if(e>=1)j=null,ew=al,eH(),al-eC>2e4&&.14>Math.random()&&eN(al);else{let t=e<.5?2*e*e:1-(-2*e+2)**2/2,a=j.f,n=aM.x-j.fx,l=aM.y-j.fy,r=j.fx+.25*n+j.dx*a.n1,i=j.fy+.25*l+j.dy*a.n1,o=j.fx+.75*n+j.dx*a.n2,s=j.fy+.75*l+j.dy*a.n2,u=1-t,d=u*u*u,h=3*u*u*t,c=3*u*t*t,m=t*t*t;M=d*j.fx+h*r+c*o+m*aM.x,g=d*j.fy+h*i+c*s+m*aM.y,aF=1+.9*Math.sin(Math.PI*t)*a.up,ak=a.vrille?t*t*(3-2*t)*Math.PI*2*j.side:0,aS="bond"}}let aC=!!(e4||tS||tN||eG);j||Q||ef||aC||(M+=(aM.x-M)*(1-Math.exp(-(5.2*ar))),g+=(aM.y-g)*(1-Math.exp(-(5.2*ar))));let aN=4*Math.sin(.0016*al),aI=6*Math.cos(.0021*al),aA=.05+.045*Math.sin(.0013*al)+.85*Math.exp(-(al-ew)/420);j&&(aA=Math.max(aA,Math.sin(Math.PI*Math.min(1,(al-j.start)/j.dur)))),Q&&(aA=Math.max(aA,.55)),ey+=(Math.min(1.1,aA)-ey)*(1-Math.exp(-(7*ar)));let aq=document.documentElement.clientWidth,aR=window.scrollY+g,aB=Math.min(aq,900),az=Math.round(Math.min(1.8*window.innerHeight,1100)),a_=Math.max(0,Math.min(aq-aB,Math.round(M-aB/2))),aW=aR<eu+.22*az||aR>eu+.78*az||M<es+.18*aB||M>es+.82*aB,aH=document.documentElement.scrollHeight;al-en>2e3&&(en=al,F(null));let aT=al-J<700&&al-em>=50;X||(null==(d=t.current)?void 0:d.wantsOccluder)===!1?null==(tq=t.current)||tq.setFairyOccluder(null):(!ep||Z||eh!==aB||ed!==az||aH!==ec||aW||aT)&&(em=al,Z=!1,ec=aH,eh=aB,ed=az,ep=function(e,t,a,n,l){if(n<8||l<8)return null;let r=Math.min(1.25,2048/n,2048/l),i=Math.max(8,Math.round(n*r)),o=Math.max(8,Math.round(l*r));(e.width!==i||e.height!==o)&&(e.width=i,e.height=o);let s=e.getContext("2d");if(!s)return null;s.setTransform(r,0,0,r,-t*r,0),s.clearRect(t,0,n,l),s.fillStyle="#fff",s.textBaseline="alphabetic";let u=document.createRange(),d=0,h=null,c=0,m=[],p=(e,t)=>{h||(h=e,c=t)},f=window.scrollX,y=window.scrollY,w=e=>{let t=k.get(e);if(!t||t.epoch!==E||S(e)){let a=e.getBoundingClientRect();t={epoch:E,x:a.left+f,y:a.top+y,w:a.width,h:a.height,devant:!!e.closest("[".concat("data-fairy-front","]"))},k.set(e,t)}return t},M=[];for(let e of Array.from(document.querySelectorAll("body > *, main > *"))){if("SCRIPT"===e.tagName||"STYLE"===e.tagName)continue;let r=w(e);if(r.devant||r.w<1||r.h<1)continue;let i=r.y-a;if(i>l+300||i+r.h<-300)continue;let o=r.x-t;o>n+300||o+r.w<-300||(e.matches(b)&&M.push(e),M.push(...Array.from(e.querySelectorAll(b))))}for(let e of M){let r=w(e);if(r.devant||r.w<2||r.h<2)continue;let i=r.y-a;if(i>l||i+r.h<0)continue;let o=r.x-t;if(o>n||o+r.w<0)continue;let h={left:r.x-f,top:r.y-y,width:r.w,height:r.h,right:r.x-f+r.w,bottom:r.y-y+r.h};if(v(e))continue;let c=getComputedStyle(e);
1if("hidden"===c.visibility||"0"===c.opacity)continue;if(x(e,c,h)){let t=parseFloat(c.borderRadius)||0;s.beginPath(),"function"==typeof s.roundRect?s.roundRect(h.left,i,h.width,h.height,t):s.rect(h.left,i,h.width,h.height),s.fill(),m.push({l:h.left,t:h.top,r:h.right,b:h.bottom}),p(e,i),d++;continue}if(d>=1400)continue;let M=document.createTreeWalker(e,NodeFilter.SHOW_TEXT),b=M.nextNode();for(;b&&d<1400;){var g;let r=b.parentElement,o=null!=(g=b.textContent)?g:"";if(r===e&&o.trim()){let h=b,c=P.get(h);if(!c||c.epoch!==E||c.texte!==o||S(r)){let e=getComputedStyle(r),t="".concat(e.fontStyle," ").concat(e.fontWeight," ").concat(e.fontSize," ").concat(e.fontFamily);s.font=t;let a=s.measureText("Hg"),n=parseFloat(e.fontSize)||16,l=[],i=[],d=[],m=n;for(let e=0;e<o.length;e++){let t=o[e];if(!t.trim())continue;u.setStart(b,e),u.setEnd(b,e+1);let a=u.getBoundingClientRect();a.width<.4||a.height<.4||(l.push(t),i.push(a.left+window.scrollX),d.push(a.top+window.scrollY),m=a.height)}c={epoch:E,texte:o,font:t,asc:a.fontBoundingBoxAscent||.8*n,h:m,chars:l,x:Float64Array.from(i),y:Float64Array.from(d)},P.set(h,c)}s.font=c.font;for(let r=0;r<c.chars.length&&d<1400;r++){let o=c.y[r]-a;if(o>l||o+c.h<0)continue;let u=c.x[r]-t;!(u>n)&&!(u+40<0)&&(s.fillText(c.chars[r],c.x[r]-f,o+c.asc),p(e,i),d++)}}b=M.nextNode()}}return(L.length=0,d)?{canvas:e,x:t,y:a-window.scrollY,w:n,h:l,ref:h,refBandY:c,solids:m,version:++C}:null}(G,es=a_,eu=Math.max(0,Math.round(aR-az/2)),eh,ed)),ep&&!X&&(null==(q=t.current)?void 0:q.wantsOccluder)!==!1&&(ep.y=ep.ref?ep.ref.getBoundingClientRect().top-ep.refBandY:eu-window.scrollY,null==(tR=t.current)||tR.setFairyOccluder(ep));let aD=(t9=M,ae=g,at=Math.round(t9),aa=Math.round(ae),an=window.scrollY,(at!==tX||aa!==tV||an!==t$)&&(tX=at,tV=aa,t$=an,tK=function(e,t){if(e<0||t<0||e>window.innerWidth||t>window.innerHeight)return!1;let a=document.elementsFromPoint(e,t);for(let e=0;e<a.length&&e<4;e++){let t=a[e];if("HTML"===t.tagName||"BODY"===t.tagName)break;if(!v(t)&&x(t,getComputedStyle(t),t.getBoundingClientRect()))return!0}return!1}(t9,ae)),tK);if(!aC&&Number.isFinite(H)&&Number.isFinite(T)){let e=Math.max(0,Math.min(1,((aw?72:170)-Math.hypot(H-M,T-g))/(aw?48:130)));if(e>0){let t=e*e*(aw?.06:.18);M+=(H-M)*t,g+=(T-g)*t;let a=aF;(aF=Math.max(aF,1+e*(aw?.18:.48)))!==a&&(aS="pointeur"),ey=Math.max(ey,e*(aw?.18:.38))}}let aY=null;for(let e of document.querySelectorAll("[data-fairy-orbit]")){let t=e.getBoundingClientRect();if(t.width<4||t.bottom<0||t.top>window.innerHeight||M+46<t.left||M-46>t.right||g+46<t.top||g-46>t.bottom)continue;let a=getComputedStyle(e);aY={x:t.left,y:t.top,w:t.width,h:t.height,rayon:Math.min(parseFloat(a.borderRadius)||0,t.height/2)};break}let aO=Q||ef,aj=!!(j||Q||ef)||Math.hypot(aM.x-M,aM.y-g)>1.5;(0,r.SS)(eM),eM.closeness=aF,window.__irisClose=aS;let aQ=null!=(l=(e=window).__irisMode)?l:e.__irisMode={m:"",x:0,y:0,px:0,py:0,ex:0,d:0,roll:0,owners:0};aQ.m=e4?"acte:".concat(e4.a.id):ef?"orbite":Q?"serpentin":j?"bond":"perchoir",aQ.owners=+!!e4+ +!!ef+ +!!Q+ +!!j+ +!!tS+ +!!eG,aQ.x=M,aQ.y=g,aQ.px=aM.x,aQ.py=aM.y,aQ.ex=0,eM.spread=ey,eM.spin=j||aO?.02:0,eM.depth=aP,eM.derriere=aD,eM.decoupe=aY,eM.occultee=!1,eM.surPanneau=!1,eM.figure=!!(j||Q||ef);let aU=M-ex,aG=g-eE;ex=M,eE=g;let aX=0;if(Math.hypot(aU,aG)>.4){let e=Math.atan2(aG,aU);ev||(eg=e,ev=!0);let t=e-eg;for(;t>Math.PI;)t-=2*Math.PI;for(;t<-Math.PI;)t+=2*Math.PI;eg+=.25*t,aX=Math.max(-.32,Math.min(.32,2.6*t))}aQ.d=Math.hypot(aU,aG),aQ.roll=aX,eM.roll=(eL+=(aX-eL)*(1-Math.exp(-(6*ar))))+ak;let aV=Number.isFinite(H)?H:aM.x,a$=Number.isFinite(T)?T:aM.y,aK=Math.max(-.5,Math.min(.5,(aV-M)/420)),aZ=Math.max(-.34,Math.min(.34,(a$-g)/520));eF+=(aK-eF)*(1-Math.exp(-(3.4*ar))),eS+=(aZ-eS)*(1-Math.exp(-(3.4*ar))),eM.yaw=eF,eM.pitch=eS;let aJ=null!==ek&&al-eP<1e3*r.vg;aJ||(ek=null);let a1=!aj&&!j&&!Q&&!ef&&!B,a0="visible"===document.visibilityState,a2=window.scrollY;if(tv+=((a2-tx)/Math.max(ar,.001)-tv)*(1-Math.exp(-(6*ar))),tx=a2,!e4&&!aJ&&!B&&a0&&al-ts<45e3&&al>e6)for(let e of(e6=al+160,m.QC)){if((0,m.e_)(e.id)||al<(null!=(tB=e3.get(e.id))?tB:0))continue;let t=e.find();if(t&&(!(al<=e5)||(null==(tW=e.urgent)?void 0:tW.call(e,t)))){e4={a:e,el:t,at:al,prep:null!=(tz=e.prep)?tz:m.T,announced:!1,posture:e.posture&&null!=(t_=c.find(t=>
1t.id===e.posture))?t_:null,v:.618034*++eq%1},j=null,Q=null,ef=null;break}}if(tS&&al>tS.until&&(tS=null),tS){let e=document.getElementById(tS.id);if(e){let t=e.getBoundingClientRect(),a=Math.min(window.innerWidth-90,t.left+Math.min(.5*t.width,320)),n=Math.max(90,Math.min(window.innerHeight-90,t.top+64));M+=(a-M)*Math.min(1,3*ar),g+=(n-g)*Math.min(1,3*ar)}else tS=null}tN&&(al>tN.until||e4)&&(tN=null),tN&&(M+=(tN.x-M)*Math.min(1,3.2*ar),g+=(tN.y-26-g)*Math.min(1,3.2*ar));let a4=!1,a5=0;if(e4){let e=e4.el,t=(null!=(tH=e4.a.presence)?tH:m.Rq)(e)<(null!=(tT=e4.a.sortie)?tT:.5);if(e.isConnected)if(t)e8(!0,!1);else{let t=(al-e4.at)/1e3,a=Math.min(1,t/e4.prep),n=Math.max(0,Math.min(1,(t-e4.prep)/e4.a.duration)),l=e4.a.anchor(e,n),r=Math.min(1,a<1?a*a*(3-2*a)*ar*9:20*ar);if(M+=(l.x-M)*r,g+=(l.y-g)*r,a>=1&&(null==(tD=(tY=e4.a).onProgress)||tD.call(tY,e,{p:n,x:M,y:g}),!e4.announced)){e4.announced=!0;let t=null==(tO=(tj=e4.a).announce)?void 0:tO.call(tj,e);t&&(te.textContent=t)}a4=!0,a5=n,n>=1&&e8(!1)}else e8(!0)}if(!eJ&&a0&&!B&&!a4&&T<10&&e1<-900&&(eJ=!0,eB("wave",al),ew=al),!eX&&!eG&&!e4&&!aJ&&a0&&!B){let e=document.documentElement;if(window.scrollY+window.innerHeight>=.82*e.scrollHeight){let e=(()=>{let e=document.querySelectorAll("[data-fairy-cta]");for(let t=e.length-1;t>=0;t--){let a=e[t].getBoundingClientRect();if(a.width>0&&a.height>0&&a.bottom>80&&a.top<window.innerHeight-60)return e[t]}return null})();e&&(eG={el:e,at:al},eX=!0,j=null,Q=null,ef=null)}}a0&&!B&&tv<-2600&&al-tE>15e3&&(tE=al,eB("retourne",al)),a1&&a0&&!a4&&(al>to&&al-ts<6e4?(to=al+(25e3+2e4*Math.random())*ti.ambient,eB(al-ts>3e4?tl():tn(),al)):!tu&&al-ts>22e3&&(tu=!0,eB("comeclose",al)));let a3=Number.isFinite(H)&&190>Math.hypot(H-M,T-g);if(al>eD){eD=al+18e3+22e3*Math.random();let e=Math.random();eT=al-ts>3e4?e<.5?"sleepy":e<.8?"calm":"listening":ti!==i.jq&&.4>Math.random()?ti.idle:e<.42?"calm":e<.62?"listening":e<.78?"curious":e<.9?"content":"knowing"}let a6=(eI=a4?null!=(o=e4&&(null==(ee=(et=e4.a).humeur)?void 0:ee.call(et,e4.el)))?o:"focused":aJ?"thinking":al-ew<900?e_:ej&&al<eQ?ej:tP&&al<tk?tP:al<tA&&tI>0?"listening":a3?"curious":null!=eY?eY:eT)!==(null!=eY?eY:eT),a8=al/1e3/i.z_;(0,r.FU)(eI,a8,eM);let a7=0,a9=0;if(eA){let e=(al-eA.at)/1e3/i.z_/eA.g.beats;if(e>=1){let e=eU[eA.g.id];e&&(ej=e[0],eQ=al+e[1]),eA=null}else{null==(tQ=(tU=eA.g).apply)||tQ.call(tU,e,eM,eR,eA.v);let t=null==(tG=(t2=eA.g).offset)?void 0:tG.call(t2,e,window.innerWidth,window.innerHeight,eA.v);t&&(a7=Math.max(42,Math.min(window.innerWidth-42,M+t.dx))-M,a9=Math.max(42,Math.min(window.innerHeight-42,g+t.dy))-g)}}let ne=Q?1.15:ef?.7:1;if(1!==ne){let e=ef?ef.th:Q?Q.p*Math.PI*2:0;for(let t=0;t<4;t++){let a=1+.12*Math.sin(e-Math.PI/2*t);eM.trails[t]*=1+(ne-1)*a}}let nt=aj&&!aJ&&!eA&&!(null==e4?void 0:e4.posture),na=nt?.14*(.4+ey):0,nn=nt?.42*(.4+ey):0;if(nn>1e-4)for(let e=0;e<4;e++)eM.armLift[e]=Math.sin(a8*Math.PI*2+(e%2?Math.PI:0)+.35*e+Math.PI/4)*nn;for(let e=0;e<4;e++){let t=eM.arms[e]+Math.sin(a8*Math.PI*2+(e%2?Math.PI:0)+.35*e)*na;eb[e]+=(t-eb[e])*(1-Math.exp(-ar*(aJ||eA?26:7+.9*e))),eM.arms[e]=eb[e]}if((null==e4?void 0:e4.posture)&&a4){let e=e4.a.postureEnBoucle?((al-e4.at)/1e3-e4.prep)/(e4.posture.beats*i.z_)%1:a5;null==(t5=(t6=e4.posture).apply)||t5.call(t6,Math.max(0,e),eM,eR,e4.v)}let nl=!1;if(eG){let e=eG.el.getBoundingClientRect();if(!eG.el.isConnected||e.bottom<60||e.top>window.innerHeight-40)eV||(eX=!1),eG=null;else{let t=(al-eG.at)/1e3,a=e.left+e.width/2,n=e.top-Math.min(96,1.5*e.height);if(M+=(a-M)*Math.min(1,3.4*ar),g+=(n-g)*Math.min(1,3.4*ar),t<e$){let e=t/e$,a=e*e*(3-2*e);eM.spread=.06+.94*a;for(let e=0;e<4;e++)eM.arms[e]=.42*a,eM.armLift[e]=.5*Math.sin(a*Math.PI),eM.armFold[e]=0,eM.trails[e]=.5+1.6*a;eM.closeness=1+1.05*a,eM.heart=.35+.6*a}else if(t<e$+eK){let e=(t-e$)/eK,a=Math.min(1,1+2.70158*Math.pow(e-1,3)+1.70158*Math.pow(e-1,2));eM.spread=1-.98*a;for(let t=0;t<4;t++)eM.arms[t]=.42*(1-a),eM.armSpin[t]=0,eM.armLift[t]=0,eM.armFold[t]=0,eM.trails[t]=(1-e)*1.4;eM.closeness=2.05+.5*e,eM.heart=.95,eM.roll=0,eM.spin=0}else{nl=!0,eV=!0,eM.spread=.02;for(let e=0;e<4;e++)eM.arms[e]=0,eM.armSpin[e]=0,eM.armLift[e]=0,eM.armFold[e]=0,eM.trails[e]=0;eM.closeness=2.55,eM.heart=.72,eM.roll=0,eM.pitch=0,eM.yaw=0,eM.spin=0,t>e$+eK+eZ&&(eG=null)}}}eM.acting=eG?!nl:aj||aJ||null!==eA||a4||a6,eI!==tb&&(tb=eI,tg=al),eM.still=!aj&&!j&&!Q&&!ef&&!aJ&&null===eA&&!a4&&!eG&&!B&&!tS&&!tN&&!eM.acting&&!document.hidden&&al-Math.max(ts,tg)>4500,null==(ea=t.current)||ea.setFairyFlying(eG?!nl:aj||aJ);let nr=aO||a4||null!==eG||null!==tN||null!==tS,ni=aJ||null!==eA||a4||null!==eG;aQ.ex=!!aJ|2*(null!==eA)|4*!!a4|8*(null!==eG);let no=1-Math.exp(-ar/.11);for(let e=0;e<4;e++)ni?(tp[e]=eM.arms[e],tf[e]=eM.armSpin[e],ty[e]=eM.armLift[e],tw[e]=eM.armFold[e]):(tp[e]+=(eM.arms[e]-tp[e])*no,tf[e]+=(eM.armSpin[e]-tf[e])*no,ty[e]+=(eM.armLift[e]-ty[e])*no,tw[e]+=(eM.armFold[e]-tw[e])*no,eM.arms[e]=tp[e],eM.armSpin[e]=tf[e],eM.armLift[e]=ty[e],eM.armFold[e]=tw[e]);ni?tM=eM.spread:(tM+=(eM.spread-tM)*no,eM.spread=tM);let ns=nr||eM.still,nu=g+(ns?0:aI)+a9,nd=Math.max(A(),nu);null==(el=t.current)||el.setFairyTarget(M+(ns?0:aN)+a7,nd),null==(ei=t.current)||ei.setFairyPose(eM),al-D>=32&&(D=al,window.dispatchEvent(new CustomEvent("stellary:iris-position",{detail:{x:M,y:nd,docked:!1}})))};(d=()=>{u||tZ||"visible"!==document.visibilityState||(R=performance.now(),u=requestAnimationFrame(t7))})();let t9=t.current;return()=>{(0,p.QN)(!1),null==n||n.removeAttribute("data-fairy-docked"),o.removeAttribute("data-iris-docked"),cancelAnimationFrame(u),null==er||er.disconnect(),window.removeEventListener("resize",ea),window.removeEventListener("orientationchange",ea),document.removeEventListener("load",et,!0),document.removeEventListener("transitionstart",eo,!0),document.removeEventListener("transitionend",eo,!0),document.removeEventListener("animationstart",et,!0),document.removeEventListener("animationend",et,!0),document.removeEventListener("scroll",tD,!0),window.removeEventListener("stellary:iris-relire",tY),window.removeEventListener("stellary:iris-show",tH),window.removeEventListener("stellary:iris-mood",tW),window.removeEventListener("stellary:iris-look",t_),window.removeEventListener("stellary:iris-familiar",tz),window.removeEventListener("stellary:iris-typing",tq),window.removeEventListener("stellary:iris-cheer",tR),window.removeEventListener("stellary:iris-sorry",tB),window.removeEventListener("pointermove",tO),window.removeEventListener("click",e9,!0),window.removeEventListener("stellary:iris-silence",t6),window.removeEventListener("stellary:iris-reveil",t8),window.removeEventListener("stellary:iris-menu",t2),window.removeEventListener("pointerdown",e7,!0),window.removeEventListener("keydown",e7,!0),te.remove(),window.removeEventListener("wheel",tL),window.removeEventListener("scroll",t
1L),window.removeEventListener("keydown",tL),document.removeEventListener("visibilitychange",tF),document.documentElement.removeEventListener("pointerleave",tj),window.removeEventListener("stellary:iris-dock",tQ),window.removeEventListener("stellary:iris-undock",tU),window.removeEventListener("stellary:iris-thinking",tG),window.dispatchEvent(new CustomEvent("stellary:iris-hidden")),null==N||N.classList.remove("fairy-invite"),null==t9||t9.setFairyOccluder(null)}},[t,a]),null}},61308:(e,t,a)=>{a.d(t,{Gp:()=>h,M:()=>r,RL:()=>i,W5:()=>o,jq:()=>d,kT:()=>s,z5:()=>l,z_:()=>n});let n=.62,l=["calm","sleepy","listening","curious","surprised","amazed","thinking","focused","impatient","greeting","knowing","playful","happy","content","proud","worried","unsure","sorry"],r="calm",i={calm:{id:"calm",label:{fr:"calme",en:"calm"},note:"au repos â bob lent, respiration \xe0 peine lisible",color:"#38BDF8",spread:.05,breath:.045,tempo:2,closeness:1,trail:1,glow:.1,roll:.05},curious:{id:"curious",label:{fr:"curieuse",en:"curious"},note:"pench\xe9e vers ce quâelle vise, t\xeate inclin\xe9e",color:"#67E8F9",spread:.28,breath:.06,tempo:1,closeness:1.06,trail:.8,glow:.26,roll:.21},happy:{id:"happy",label:{fr:"joyeuse",en:"happy"},note:"battement large et altern\xe9, queue plus longue",color:"#E879F9",spread:.62,breath:.18,tempo:.5,closeness:1.12,trail:1.4,glow:.62,roll:.1},thinking:{id:"thinking",label:{fr:"elle r\xe9fl\xe9chit",en:"thinking"},note:"la rafale du loader â 3 tours autour du cÅur, queue coup\xe9e",color:"#818CF8",spread:.34,breath:.02,tempo:3,closeness:1,trail:.3,glow:.35,roll:0},proud:{id:"proud",label:{fr:"fi\xe8re",en:"proud"},note:"elle sâ\xe9l\xe8ve, bras ouverts et TENUS â puis elle sâimmobilise",color:"#A78BFA",spread:.85,breath:.05,tempo:2,closeness:1.18,trail:1.5,glow:.66,roll:0},unsure:{id:"unsure",label:{fr:"elle h\xe9site",en:"unsure"},note:"ralentie, bras \xe0 demi repli\xe9s, couleur d\xe9satur\xe9e",color:"#7C89A6",spread:.12,breath:.05,tempo:1.5,closeness:.97,trail:.7,glow:.12,roll:-.14},greeting:{id:"greeting",label:{fr:"elle salue",en:"greeting"},note:"un bras lev\xe9 haut qui fait signe â les trois autres au repos",color:"#22D3EE",spread:.3,breath:.08,tempo:.5,closeness:1.08,trail:1.1,glow:.36,roll:.12},playful:{id:"playful",label:{fr:"espi\xe8gle",en:"playful"},note:"darde vite et de travers â elle pr\xe9pare un mauvais coup",color:"#F472B6",spread:.4,breath:.12,tempo:.5,closeness:1.1,trail:1.3,glow:.46,roll:.26},listening:{id:"listening",label:{fr:"\xe0 lâ\xe9coute",en:"listening"},note:"pench\xe9e en avant, bras repli\xe9s, presque immobile",color:"#93C5FD",spread:.06,breath:.03,tempo:2.5,closeness:1.04,trail:.6,glow:.16,roll:.08},sleepy:{id:"sleepy",label:{fr:"assoupie",en:"sleepy"},note:"bras qui pendent, respiration profonde avec une longue pause",color:"#4F46E5",spread:.04,breath:.09,tempo:4,closeness:.94,trail:.3,glow:.04,roll:-.16},surprised:{id:"surprised",label:{fr:"surprise",en:"surprised"},note:"les quatre bras claqu\xe9s en grand et TENUS, le corps qui recule",color:"#A5B4FC",spread:.9,breath:.02,tempo:3,closeness:1.06,trail:.8,glow:.5,roll:0},focused:{id:"focused",label:{fr:"concentr\xe9e",en:"focused"},note:"deux bras en avant et stables, deux rentr\xe9s â elle est au travail",color:"#60A5FA",spread:.24,breath:.02,tempo:1.5,closeness:1.02,trail:.7,glow:.24,roll:.06},amazed:{id:"amazed",label:{fr:"\xe9merveill\xe9e",en:"amazed"},note:"t\xeate lev\xe9e, bras ouverts et FIG\xc9S, voiles longues et lentes â le souffle coup\xe9",color:"#7DD3FC",spread:.7,breath:.03,tempo:3,closeness:1.1,trail:1.6,glow:.58,roll:0},impatient:{id:"impatient",label:{fr:"impatiente",en:"impatient"},note:"balancement r\xe9gulier, un bras qui tapote â elle attend, et \xe7a se voit",color:"#5EEAD4",spread:.2,breath:.05,tempo:.5,closeness:1.02,trail:.9,glow:.3,roll:.12},knowing:{id:"knowing",label:{fr:"complice",en:"knowing"},note:"pench\xe9e vers nous, un bras repli\xe9 devant le cÅur â elle sait quelque chose",color:"#F0ABFC",spread:.22,breath:.05,tempo:1.5,closeness:1.09,trail:1.1,glow:.38,roll:.3},worried:{id:"worried",label:{fr:"inqui\xe8te",en:"worried"},note:"resserr\xe9e, petits regards altern\xe9s, respiration courte â quelque chose la tracasse",color:"#8E9CC0",spread:.1,breath:.1,tempo:.75,close
1ness:.98,trail:.6,glow:.18,roll:-.08},content:{id:"content",label:{fr:"satisfaite",en:"content"},note:"un petit redressement TENU, un seul battement lent â \xab voil\xe0 \xbb, sans triomphe",color:"#C4B5FD",spread:.35,breath:.07,tempo:2,closeness:1.06,trail:1.2,glow:.42,roll:.08},sorry:{id:"sorry",label:{fr:"d\xe9sol\xe9e",en:"sorry"},note:"affaiss\xe9e, r\xe9tr\xe9cie, bras repli\xe9s vers le cÅur",color:"#55627A",spread:.02,breath:.03,tempo:3,closeness:.92,trail:.45,glow:.05,roll:-.2}};function o(e){var t;return null!=(t=i[null!=e?e:r])?t:i[r]}function s(e){let t=Number.parseInt(o(e).color.slice(1),16);return[(t>>16&255)/255,(t>>8&255)/255,(255&t)/255]}let u={guide:{id:"guide",idle:"calm",ambient:1,figures:1,proche:0,lecture:!1},demo:{id:"demo",idle:"curious",ambient:.7,figures:1.15,proche:0,lecture:!1},reassure:{id:"reassure",idle:"calm",ambient:1.8,figures:.3,proche:.18,lecture:!1},study:{id:"study",idle:"focused",ambient:3.5,figures:0,proche:0,lecture:!1},reading:{id:"reading",idle:"calm",ambient:2.4,figures:.15,proche:0,lecture:!0},tunnel:{id:"tunnel",idle:"curious",ambient:1.2,figures:.5,proche:0,lecture:!1}},d=u.guide;function h(e){return e&&u[e]||d}},67494:(e,t,a)=>{a.d(t,{T:()=>r});let n=["nobg","nofairy","nomask","nohero","nocssanim","noblur","noheroanim","nobloom","noshadow","notransmission"],l=null;function r(e){return null!=l||(l=function(){let e=new URLSearchParams(window.location.search).get("perf");if(!e)return new Set;let t=new Set(e.split(",").map(e=>e.trim()).filter(e=>n.includes(e)));return t.size&&console.info("[perf] ablations actives :",[...t].join(", ")),t}()),l.has(e)}},75597:(e,t,a)=>{a.d(t,{_:()=>l,k:()=>i});let n=null;function l(){return!new URLSearchParams(window.location.search).has("no3d")&&(null!=n||(n=r()),n.hardware&&n.webgl2)}function r(){var e,t,a,n;let l=null,r={hardware:!1,webgl2:!1};try{let n=document.createElement("canvas"),i={failIfMajorPerformanceCaveat:!0};l=n.getContext("webgl2",i);let o=null!==l;if(l||(l=null!=(a=n.getContext("webgl",i))?a:n.getContext("experimental-webgl",i)),!l||"function"!=typeof l.getParameter||l.isContextLost())return r;let s=l.getExtension("WEBGL_debug_renderer_info"),u=String(null!=(e=null!=(t=s?l.getParameter(s.UNMASKED_RENDERER_WEBGL):null)?t:l.getParameter(l.RENDERER))?e:"").toLowerCase();return{hardware:!/swiftshader|llvmpipe|softpipe|software rasterizer|basic render/.test(u),webgl2:o}}catch(e){return r}finally{try{null==l||null==(n=l.getExtension("WEBGL_lose_context"))||n.loseContext()}catch(e){}}}function i(){return!new URLSearchParams(window.location.search).has("no3d")&&(null!=n||(n=r()),n.hardware)}},84106:(e,t,a)=>{a.d(t,{FU:()=>p,Nk:()=>l,SS:()=>r,uM:()=>d,vg:()=>h});var n=a(61308);function l(){return{closeness:1,spread:0,spin:0,depth:0,derriere:!1,occultee:!1,surPanneau:!1,figure:!1,decoupe:null,trails:[1,1,1,1],arms:[0,0,0,0],armSpin:[0,0,0,0],armLift:[0,0,0,0],armFold:[0,0,0,0],heart:0,shimmer:0,roll:0,pitch:0,yaw:0,mood:n.M,acting:!1,still:!1}}function r(e){return e.closeness=1,e.spread=0,e.spin=0,e.depth=0,e.derriere=!1,e.occultee=!1,e.surPanneau=!1,e.figure=!1,e.decoupe=null,e.trails[0]=e.trails[1]=e.trails[2]=e.trails[3]=1,e.arms[0]=e.arms[1]=e.arms[2]=e.arms[3]=0,e.armSpin[0]=e.armSpin[1]=e.armSpin[2]=e.armSpin[3]=0,e.armLift[0]=e.armLift[1]=e.armLift[2]=e.armLift[3]=0,e.armFold[0]=e.armFold[1]=e.armFold[2]=e.armFold[3]=0,e.heart=0,e.shimmer=0,e.roll=0,e.pitch=0,e.yaw=0,e.mood=n.M,e.acting=!1,e.still=!1,e}let i=6*n.z_;function o(e,t,a,n){let l=3*e-3*a+1,r=3*a-6*e,i=3*e,o=3*t-3*n+1,s=3*n-6*t,u=3*t,d=e=>((l*e+r)*e+i)*e,h=e=>(3*l*e+2*r)*e+i;return e=>{if(e<=0)return 0;if(e>=1)return 1;let t=e;for(let a=0;a<5;a++){let a=h(t);if(1e-6>Math.abs(a))break;let n=d(t)-e;if(1e-6>Math.abs(n))break;t-=n/a}if(t<0||t>1){let a=0,n=1;for(let l=0;l<20;l++)d(t=(a+n)/2)<e?a=t:n=t}return((o*t+s)*t+u)*t}}let s=[{at:0,rot:0,out:0,scale:1,ease:o(.22,.9,.3,1)},{at:.02,rot:0,out:0,scale:1,ease:o(.22,.9,.3,1)},{at:.14,rot:-32,out:1,scale:1.032,ease:o(.42,0,.58,1)},{at:.3,rot:-302,out:1,scale:1.028,ease:o(.45,.04,.55,.96)},{at:.46,rot:-578,out:1,scale:1.024,ease:o(.45,.04,.55,.96)},{at:.62,rot:-832,out:1,scale:1.018,ease:o(.38,0,.32,1)},{at:.78,rot:-1004,out:.38,scale:1.01,ease:o(.24,.78,.32,1)},{at:.9,rot:-1054,out:.16,scale:1.004,ease:o(.18,.88,.24,1)},{at:1,rot:-1080,out:0,scale:1,ease:e=>e}],u=Math.PI/180;function d(e,t,a){let n=e-.08*t;if(n<=0)return a.spin=0,a.out=0,a.scale=1,a;let l=Math.min(1,n/i),r=0;for(;r<s.length-2&&l>s[r+1].at;)r++;let o=s[r],d=s[r+1],h=d.at-o.at,c=h<=0?1:o.ease((l-o.at)/h);return a.spin=(o.rot+(d.rot-o.rot)*c)*u,a.out=o.out+(d.out-o.out)*c,a.scale=o.scale+(d.scale-o.scale)*c,a}let h=i+.24,c=2*Math.PI,m={spin:0,out:0,scale:1};function p(e,t,a){var l;let r=null!=(l=n.RL[e])?l:n.RL[n.M],i=c*t/r.tempo,o=a.arms,s=a.armSpin;for(let e=0;e<4;e++)a.trails[e]=r.trail;switch(a.heart=r.glow,e){case"curious":o[0]=.62+.07*Math.sin(i),o[1]=-.14,o[2]=-.18,o[3]=-.1,s[0]=.22+.05*Math.sin(i),a.roll+=.34,a.pitch+=.16,a.closeness+=.08;break;case"happy":{let e=Math.floor(t/6)%3;if(1===e){let e=Math.abs(Math.sin(2*i));for(let t=0;t<4;t++)o[t]=.34+.4*e,a.armLift[t]=.4*e,s[t]=.1*Math.sin(2*i+t);a.closeness+=.09*e,a.pitch-=.08*e;break}if(2===e){let e=Math.sin(i);for(let e=0;e<4;e++)o[e]=.38+.22*Math.sin(2*i+1.6*e),a.armFold[e]=.26*Math.sin(2*i+(e%2?Math.PI:0));a.roll+=.3*e,a.yaw+=.1*e,a.closeness+=.05*Math.abs(e);break}for(let e=0;e<4;e++)o[e]=.3+.55*Math.sin(i+(e%2?Math.PI:0)),s[e]=.18*Math.sin(i+.6*e);a.roll+=.18*Math.sin(i),a.closeness+=.07+.12*Math.abs(Math.sin(i));for(let e=0;e<4;e++)a.trails[e]=1.2+.32*Math.sin(i+(e%2?Math.PI:0));break}case"thinking":{a.heart=.35+.3*Math.max(0,Math.sin(i));let e=t*n.z_%(h+n.z_);for(let t=0;t<4;t++)d(e,t,m),o[t]=.9*m.out,s[t]=m.spin;a.pitch+=-.06;break}case"proud":for(let e=0;e<4;e++)o[e]=.98,s[e]=.14;a.pitch+=-.2,a.closeness+=.18;for(let e=0;e<4;e++)a.trails[e]=1.6;break;case"unsure":{let e=Math.sin(i);o[0]=.2+.13*e,o[1]=-.08-.1*e,o[2]=.16-.12*e,o[3]=-.05+.09*e,a.roll+=.3*Math.sin(.7*i),a.pitch+=.12,a.closeness-=.05;break}case"sorry":{let e=.5*Math.sin(i)+.5*Math.sin(.5*i);for(let t=0;t<4;t++)o[t]=-.3+.04*e,s[t]=-.14;a.roll+=-.3,a.pitch+=.4,a.closeness-=.13;for(let e=0;e<4;e++)a.trails[e]=.45;break}case"greeting":o[0]=.95+.16*Math.sin(3*i),o[1]=.06,o[2]=-.05,o[3]=.02,s[0]=.55*Math.sin(3*i),a.roll+=.14*Math.sin(3*i)+.
108,a.closeness+=.07,a.trails[0]=1.55,a.trails[1]=a.trails[2]=a.trails[3]=.6;break;case"playful":{let e=.5*Math.sin(3*i)+.3*Math.sin(5.3*i+1.1)+.2*Math.sin(1.7*i);o[0]=.42+.5*e,o[1]=.1-.42*e,o[2]=.34+.4*Math.sin(4.1*i+2.2),o[3]=-.06-.3*e,s[0]=.36*e,s[2]=-(.28*e),a.roll+=.3*Math.sin(2.3*i),a.yaw+=.22*Math.sin(1.9*i+.7),a.closeness+=.06+.06*Math.abs(e),a.trails[0]=1.25+.35*e,a.trails[1]=.7,a.trails[2]=1.1-.25*e,a.trails[3]=.65;break}case"listening":{let e=.03*Math.sin(i);o[0]=-.1+e,o[1]=-.12+e,o[2]=-.06+e,o[3]=-.08+e,a.pitch+=.3,a.roll+=.1,a.closeness+=.05;for(let e=0;e<4;e++)a.trails[e]=.45;break}case"sleepy":{let e=t/r.tempo%1,n=e<.28?Math.sin(e/.28*Math.PI*.5):Math.cos((e-.28)/.72*Math.PI*.5)**2;for(let e=0;e<4;e++)o[e]=-.18+.24*n,s[e]=-.16,a.armLift[e]=-.5+.12*n+.03*Math.sin(.5*i+1.3*e),a.armFold[e]=(e%2?-1:1)*.1;a.pitch+=.24-.06*n,a.roll+=-.2+.06*Math.sin(.5*i),a.closeness-=.07-.04*n;for(let e=0;e<4;e++)a.trails[e]=.3+.14*n;break}case"surprised":for(let e=0;e<4;e++)o[e]=1.05+.03*Math.sin(6*i),s[e]=.3*(e%2?-1:1);a.pitch+=-.1,a.depth-=.35,a.closeness-=.04;for(let e=0;e<4;e++)a.trails[e]=.7;break;case"focused":{let e=.05*Math.sin(4*i);o[0]=.6+e,o[1]=.52-e,o[2]=-.22,o[3]=-.26,s[0]=.24,s[1]=-.2,a.pitch+=.24,a.roll+=.08,a.trails[0]=1.15,a.trails[1]=1.05,a.trails[2]=a.trails[3]=.45;break}case"amazed":{let e=.06*Math.sin(i);for(let t=0;t<4;t++)o[t]=.24+e*(1+.15*t);a.pitch-=.26,a.closeness+=.04*Math.max(0,Math.sin(.5*i)),a.shimmer=Math.max(a.shimmer,.3);break}case"impatient":{let e=Math.sin(i),t=Math.max(0,Math.sin(3*i))**6;for(let t=0;t<4;t++)o[t]=.1+.04*e*(t%2?-1:1);o[3]=.3+.22*t,s[3]=.28*t,a.roll+=.16*e,a.yaw+=.08*e;break}case"knowing":{let e=Math.max(0,Math.sin(i))**8;o[0]=.28,o[1]=-.32,o[2]=.06,o[3]=.1,s[1]=.34,s[0]=.12,a.yaw+=.2,a.pitch+=-.14*e+.06,a.closeness+=.03*e;break}case"worried":{a.heart=.18+.05*Math.sin(6.3*i)+.03*Math.sin(9.1*i);let e=Math.tanh(3*Math.sin(.5*i)),t=.08*Math.abs(Math.sin(.5*i));for(let e=0;e<4;e++)o[e]=-.12-t+.03*Math.sin(2*i+2.1*e);a.yaw+=.24*e,a.pitch+=.08,a.roll+=.06*e,a.shimmer=Math.max(a.shimmer,.55);break}case"content":{let e=.09*Math.sin(i);for(let t=0;t<4;t++)o[t]=.26+e*(t%2?.7:1);s[0]=.1,s[3]=-.08,a.pitch-=.1,a.closeness+=.03*Math.max(0,Math.sin(i));break}default:{let e=Math.sin(i)*r.breath;for(let t=0;t<4;t++)o[t]=e;a.roll+=.07*Math.sin(.5*i)}}a.mood=e}}}]);
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.