1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5477],{65477:(e,t,o)=>{o.r(t),o.d(t,{BUREAUX_SPEC:()=>P,CREW_OFFICES:()=>x,batchBureaux:()=>A,bureauxFloorArea:()=>u,bureauxScaleWitness:()=>E,bureauxScreenAnchors:()=>v,bureauxWaypoints:()=>k,createBureauxRoom:()=>y,default:()=>B,getBureauxObstacles:()=>I});var a=o(85339),r=o(1525),n=o(22997),l=o(87235);let c=(e=>{let t=l.eA.find(t=>t.id===e);if(!t)throw Error("bureaux : emprise \xab ".concat(e," \xbb absente de room-envelopes.ts"));return t})("bureaux"),i=c.deck.toLowerCase(),s=c.zFrom,d=c.zTo,u=()=>(0,l.TR)(c),h=e=>(0,r.iu)(e,.1),f=s+.4,b=(d-s-.8)/4,x=[{id:"marco",name:"MARCO",role:"Trading \xb7 copy",side:-1,cell:0,accent:0xc8962f},{id:"nova",name:"NOVA",role:"Recherche \xb7 backtest",side:-1,cell:1,accent:4165567},{id:"jarod",name:"JAROD",role:"Macro \xb7 contexte",side:-1,cell:2,accent:8022975},{id:"kaia",name:"KAIA",role:"Risque \xb7 discipline",side:-1,cell:3,accent:0xbf5a6a},{id:"iron",name:"IRON",role:"Broker \xb7 accueil",side:1,cell:0,accent:0xb8763a},{id:"sonic",name:"SONIC",role:"Communaut\xe9 \xb7 diffusion",side:1,cell:1,accent:5218426},{id:"david",name:"DAVID",role:"Academy \xb7 p\xe9dagogie",side:1,cell:2,accent:0x9c8c5a}],p=e=>{let t=f+e*b,o=t+b;return{zAft:t,zFwd:o,zMid:(t+o)/2}},m=e=>{let{zAft:t,zFwd:o}=p(e);return Math.min(h(t),h(o))},w=[],M=[],g=[],v=()=>w,k=()=>M,I=()=>g,z=new WeakMap;function S(e,t,o,r){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=new a.eaF(e.unitBox,(e=>{let t=z.get(e);if(t)return t;let o=e.finish("leather");return z.set(e,o),o})(e));return l.scale.set(r[0],r[1],r[2]),l.position.set(o[0],o[1],o[2]),l.rotation.y=n,l.castShadow=!0,l.receiveShadow=!0,t.add(l),l}let P={id:"d3-bureaux",label:"Bureaux \xb7 plateau de direction",deck:i,zStart:s,zEnd:d,access:"member"};function y(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P,n=new a.YJl;n.name="room:d3-bureaux",t.add(n);let l=(0,r.Js)(i);w.length=0,M.length=0;let u=[];(0,r.RI)(e,n,{id:"bureaux",deck:i,zStart:s,zEnd:d,inset:.1,role:"carpet",cove:!1}),(0,r.Iv)(e,n,{id:"bureaux",deck:i,zStart:s,zEnd:d,inset:.1,role:"plaster",cove:!0,coffers:!0,cofferPitch:2.4});let f=(0,r.d1)(e,n,{id:"cloison-arriere",deck:i,from:[-h(s),s],to:[h(s),s],face:"panel",doors:[{at:h(s)-.75,id:"entree-bab",width:.95,height:2.2,leafSide:1},{at:h(s)+.75,id:"entree-tri",width:.95,height:2.2,leafSide:1}]});if(u.push(...f.obstacles),c.doorZ!==d)throw Error("bureaux : la table place la porte du plateau \xe0 Z ".concat(c.doorZ,", hors de son about avant (").concat(d,")"));let v=(0,r.d1)(e,n,{id:"cloison-avant-noyau",deck:i,from:[-h(d),d],to:[h(d),d],face:"panel",doors:[{at:h(d),id:"noyau",width:1.1,height:2.2,leafSide:1}]});u.push(...v.obstacles);let k=(0,r.h9)(e,n,{id:"coursive",deck:i,zStart:s+.12,zEnd:d-.12,width:1.6,x:0,walls:!1});for(let t of(u.push(...k.obstacles),x)){u.push(...function(e,t,o,n,l,c){var s,d;let{zAft:u,zFwd:h,zMid:f}=p(n),M=m(n),g=[],v=new a.YJl;v.name="bureau-c".concat(n,"-").concat(l>0?"tri":"bab"),t.add(v);let k=(0,r.d1)(e,v,{id:"cloison-c".concat(n,"-").concat(l>0?"tri":"bab"),deck:i,from:[.8*l,u],to:[.8*l,h],face:"glass",dado:!1,returnDepth:0,doors:[{at:b-1.25,id:"porte",width:.9,height:2.05,leafSide:1===l?1:-1}]});if(g.push(...k.obstacles),n>0){let t=(0,r.d1)(e,v,{id:"refend-c".concat(n,"-").concat(l>0?"tri":"bab"),deck:i,from:[.8*l,u],to:[l*M,u],face:"panel",returnDepth:0});g.push(...t.obstacles)}let I=u+.3,z=1.3*l,P=l*(M-.4),y=(z+P)/2,E=Math.abs(P-z);e.box(v,"wood",[y,o+.44,I],[E,.88,.46]),e.box(v,"marble",[y,o+.895,I],[E+.04,.03,.5]);let A=Math.max(2,Math.round(E/.55));for(let t=0;t<A;t++){let a=z+(t+.5)/A*(P-z);e.box(v,"bronze",[a,o+.62,I-.235],[.14,.012,.016])}g.push({id:"rangement-c".concat(n,"-").concat(l),center:[y,I],half:[E/2,.26]}),e.box(v,"wood",[y,o+1.52,I-.06],[.62*E,.035,.28]);let B=f+.19*b;g.push(...function(e,t,o,r,n,l,c){let i=new a.YJl;i.name="poste",t.add(i);let s=r*(n-.18-.4),d=o+.74;for(let t of(e.box(i,"wood",[s,d,l],[.8,.04,1.6]),[-1,1])){let a=l+.68*t;e.box(i,"structure",[s,o+.37,a],[.66,.7,.04])}e.box(i,"panel",[s-.37*r,o+.42,l],[.02,.52,1.54]);let u=l+.8-.28;e.box(i,"wood",[s,o+.29,u],[.44,.58,.46]);for(let t=0;t<3;t++)e.box(i,"bronze",[s-.23*r,o+.12+.18*t,u],[.012,.02,.16]);let h=s-.78*r;for(let t of(S(e,i,[h,o+.44,l],[.5,.1,.52]),S(e,i,[h-.22*r,o+.78,l],[.08,.58,.48]),[
1-1,1]))e.box(i,"structure",[h,o+.62,l+.3*t],[.34,.03,.05]);e.rod(i,"steel",[h,o+.22,l],.035,.36,"y");for(let t=0;t<5;t++){let a=t/5*Math.PI*2;e.box(i,"structure",[h+.16*Math.cos(a),o+.05,l+.16*Math.sin(a)],[.3,.025,.05],a)}let f=s+.24*r,b=1===r?-Math.PI/2:Math.PI/2;for(let t of[-1,1]){let o=l+.3*t;e.rod(i,"steel",[f,d+.11,o],.022,.18,"y"),e.box(i,"structure",[f,d+.02,o],[.18,.02,.24]),e.box(i,"structure",[f,d+.36,o],[.035,.33,.55],b),e.box(i,"screen",[f-.022*r,d+.36,o],[.008,.29,.51],b)}let x=l-.8+.22;e.rod(i,"steel",[s,d+.2,x],.016,.4,"y"),e.box(i,"steel",[s+.09*r,d+.4,x],[.22,.03,.09]),e.box(i,"cove",[s+.09*r,d+.383,x],[.18,.008,.06]);let p=e.own(new a._4j({color:c,emissive:c,emissiveIntensity:.35,roughness:.6,metalness:0})),m=new a.eaF(e.unitBox,p);return m.scale.set(.02,.05,1.9),m.position.set(r*(n-.02),o+1.62,l),i.add(m),[{id:"poste-".concat(l.toFixed(1),"-").concat(r),center:[s,l],half:[.45,.8]},{id:"siege-".concat(l.toFixed(1),"-").concat(r),center:[h,l],half:[.3,.3]}]}(e,v,o,l,M,B,c)),g.push(...function(e,t,o,r,n,l){let c=r*(n-1.35),i=new a.YJl;for(let a of(i.name="coin-reception",t.add(i),e.box(i,"wood",[c,o+.4,l],[.6,.04,.9]),[-1,1]))e.box(i,"steel",[c+.24*a,o+.2,l],[.05,.4,.78]);for(let t of[-1,1]){let a=l+1.05*t;for(let r of(S(e,i,[c,o+.44,a],[.62,.12,.6]),S(e,i,[c,o+.7,a+.26*t],[.62,.46,.09]),[-1,1]))S(e,i,[c+.29*r,o+.58,a],[.06,.16,.56]);e.box(i,"structure",[c,o+.19,a],[.5,.05,.5])}return[{id:"reception-".concat(l.toFixed(1),"-").concat(r),center:[c,l],half:[.55,1.5]}]}(e,v,o,l,M,f-.2*b)),function(e,t,o,r,n,l){let c=1===r?-Math.PI/2:Math.PI/2;e.box(t,"bronze",[r*(.8+.07),o+1.55,n],[.012,.16,.42],c);let i=e.own(new a._4j({color:l,emissive:l,emissiveIntensity:.3,roughness:.5,metalness:.1})),s=new a.eaF(e.unitBox,i);s.scale.set(.014,.03,.42),s.position.set(.872*r,o+1.44,n),t.add(s)}(e,v,o,l,h-1.25-.45-.22,c);let C=l*(m(n)-.18-.4);return w.push({id:"bureau-c".concat(n,"-").concat(l>0?"tri":"bab"),owner:null!=(d=null==(s=x.find(e=>e.cell===n&&e.side===l))?void 0:s.id)?d:"reunion",deck:i,position:[C+.218*l,o+.74+.36,B-.3],rotationY:1===l?-Math.PI/2:Math.PI/2,size:[.51,.29]}),g}(e,n,l,t.cell,t.side,t.accent));let{zMid:o}=p(t.cell);M.push({id:t.id,point:[1.35*t.side,o],facing:1===t.side?-Math.PI/2:Math.PI/2,label:"Bureau ".concat(t.name)})}u.push(...function(e,t,o){let{zAft:n,zFwd:l,zMid:c}=p(3),s=m(3),d=[],u=new a.YJl;u.name="salle-reunion",t.add(u),d.push(...(0,r.d1)(e,u,{id:"reunion-cloison",deck:i,from:[.8,n],to:[.8,l],face:"glass",dado:!1,returnDepth:0,doors:[{at:b-1.3,id:"porte",width:.95,height:2.05,leafSide:1}]}).obstacles),d.push(...(0,r.d1)(e,u,{id:"reunion-refend",deck:i,from:[.8,n],to:[+s,n],face:"panel",returnDepth:0}).obstacles);let h=+(.8+(s-.8)/2),f=Math.round(.65*b*10)/10;for(let t of(e.box(u,"panel",[h,o+.74,c],[1.3,.05,f]),[-1,1]))e.box(u,"structure",[h,o+.36,c+t*(f/2-.45)],[1,.68,.07]),e.box(u,"structure",[h,o+.03,c+t*(f/2-.45)],[1.3-.12,.05,.12]);d.push({id:"reunion-table",center:[h,c],half:[.75,f/2+.1]});let x=Math.max(4,Math.floor((f-1.1)/.8)+1);for(let t of[-1,1])for(let a=0;a<x;a++){let r=c-f/2+.55+(f-1.1)/(x-1)*a,n=h+1.07*t;S(e,u,[n,o+.44,r],[.5,.1,.5]),S(e,u,[n+.21*t,o+.74,r],[.08,.5,.46]),e.rod(u,"steel",[n,o+.21,r],.03,.34,"y"),e.box(u,"structure",[n,o+.04,r],[.42,.025,.42])}return e.box(u,"structure",[h,o+1.55,n+.14],[2.3,1.34,.05]),e.box(u,"screen",[h,o+1.55,n+.17],[2.2,1.24,.01]),w.push({id:"reunion-ecran",owner:"reunion",deck:i,position:[h,o+1.55,n+.175],rotationY:0,size:[2.2,1.24]}),e.box(u,"cove",[h,o+r.Up-.14,c],[.16,.04,f-.4]),M.push({id:"reunion",point:[1.35,c],facing:-Math.PI/2,label:"Salle de r\xe9union"}),d}(e,n,l));let I=Math.floor((d-s-1.2)/2.4);for(let t=0;t<I;t++){let o=s+1.2+2.4*t;for(let t of[-1,1])e.box(n,"cove",[.66*t,l+r.Up-.1,o],[.1,.03,1.1])}for(let t of[-1,1])e.rod(n,"steel",[.76*t,l+.9,(s+d)/2],.022,d-s-1.2,"z");return{group:n,obstacles:g=(0,r.O4)(o,u)}}function E(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,-24];return e.rod(t,"steel",[o[0],(0,r.Js)(i)+.9,o[1]],.022,1.1,"z")}function A(e){return(0,n.s)(e,{minCount:4,namePrefix:"bureaux"})}let B=(0,r.ln)(P,y)}}]);
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.