@wandelbots/wandelbots-js-react-components 1.16.2 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KUKA_KR270_R2700.d.ts","sourceRoot":"","sources":["../../../src/components/robots/KUKA_KR270_R2700.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,0BAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"KUKA_KR270_R2700.d.ts","sourceRoot":"","sources":["../../../src/components/robots/KUKA_KR270_R2700.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,0BAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,UAAU,2CAsOZ"}
|
package/dist/index.cjs
CHANGED
|
@@ -32,7 +32,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
32
32
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[us]=this[us]={accessors:{}}).accessors,a=this.prototype;function o(i){const l=Fr(i);n[l]||(dd(a,i),n[l]=!0)}return S.isArray(t)?t.forEach(o):o(t),this}};Fe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(Fe.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});S.freezeMethods(Fe);function Ma(e,t){const r=this||rn,n=t||r,a=Fe.from(n.headers);let o=n.data;return S.forEach(e,function(l){o=l.call(r,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function Wi(e){return!!(e&&e.__CANCEL__)}function xr(e,t,r){J.call(this,e??"canceled",J.ERR_CANCELED,t,r),this.name="CanceledError"}S.inherits(xr,J,{__CANCEL__:!0});function Ki(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new J("Request failed with status code "+r.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function md(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function hd(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,o=0,i;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=n[o];i||(i=c),r[a]=u,n[a]=c;let h=o,m=0;for(;h!==a;)m+=r[h++],h=h%e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),c-i<t)return;const v=d&&c-d;return v?Math.round(m*1e3/v):void 0}}function fd(e,t){let r=0,n=1e3/t,a,o;const i=(c,d=Date.now())=>{r=d,a=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),h=d-r;h>=n?i(c,d):(a=c,o||(o=setTimeout(()=>{o=null,i(a)},n-h)))},()=>a&&i(a)]}const Fn=(e,t,r=3)=>{let n=0;const a=hd(50,250);return fd(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,u=i-n,c=a(u),d=i<=l;n=i;const h={loaded:i,total:l,progress:l?i/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&d?(l-i)/c:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(h)},r)},cs=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},ds=e=>(...t)=>S.asap(()=>e(...t)),pd=st.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function a(o){let i=o;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=a(window.location.href),function(i){const l=S.isString(i)?a(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),gd=st.hasStandardBrowserEnv?{write(e,t,r,n,a,o){const i=[e+"="+encodeURIComponent(t)];S.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),S.isString(n)&&i.push("path="+n),S.isString(a)&&i.push("domain="+a),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function yd(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function _d(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Hi(e,t){return e&&!yd(t)?_d(e,t):t}const ms=e=>e instanceof Fe?{...e}:e;function Ht(e,t){t=t||{};const r={};function n(c,d,h){return S.isPlainObject(c)&&S.isPlainObject(d)?S.merge.call({caseless:h},c,d):S.isPlainObject(d)?S.merge({},d):S.isArray(d)?d.slice():d}function a(c,d,h){if(S.isUndefined(d)){if(!S.isUndefined(c))return n(void 0,c,h)}else return n(c,d,h)}function o(c,d){if(!S.isUndefined(d))return n(void 0,d)}function i(c,d){if(S.isUndefined(d)){if(!S.isUndefined(c))return n(void 0,c)}else return n(void 0,d)}function l(c,d,h){if(h in t)return n(c,d);if(h in e)return n(void 0,c)}const u={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,d)=>a(ms(c),ms(d),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(d){const h=u[d]||a,m=h(e[d],t[d],d);S.isUndefined(m)&&h!==l||(r[d]=m)}),r}const qi=e=>{const t=Ht({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=Fe.from(i),t.url=Vi(Hi(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(S.isFormData(r)){if(st.hasStandardBrowserEnv||st.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((u=i.getContentType())!==!1){const[c,...d]=u?u.split(";").map(h=>h.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...d].join("; "))}}if(st.hasStandardBrowserEnv&&(n&&S.isFunction(n)&&(n=n(t)),n||n!==!1&&pd(t.url))){const c=a&&o&&gd.read(o);c&&i.set(a,c)}return t},vd=typeof XMLHttpRequest<"u",bd=vd&&function(e){return new Promise(function(r,n){const a=qi(e);let o=a.data;const i=Fe.from(a.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:c}=a,d,h,m,v,y;function _(){v&&v(),y&&y(),a.cancelToken&&a.cancelToken.unsubscribe(d),a.signal&&a.signal.removeEventListener("abort",d)}let g=new XMLHttpRequest;g.open(a.method.toUpperCase(),a.url,!0),g.timeout=a.timeout;function x(){if(!g)return;const C=Fe.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),R={data:!l||l==="text"||l==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:C,config:e,request:g};Ki(function(O){r(O),_()},function(O){n(O),_()},R),g=null}"onloadend"in g?g.onloadend=x:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(x)},g.onabort=function(){g&&(n(new J("Request aborted",J.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let L=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const R=a.transitional||Gi;a.timeoutErrorMessage&&(L=a.timeoutErrorMessage),n(new J(L,R.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,g)),g=null},o===void 0&&i.setContentType(null),"setRequestHeader"in g&&S.forEach(i.toJSON(),function(L,R){g.setRequestHeader(R,L)}),S.isUndefined(a.withCredentials)||(g.withCredentials=!!a.withCredentials),l&&l!=="json"&&(g.responseType=a.responseType),c&&([m,y]=Fn(c,!0),g.addEventListener("progress",m)),u&&g.upload&&([h,v]=Fn(u),g.upload.addEventListener("progress",h),g.upload.addEventListener("loadend",v)),(a.cancelToken||a.signal)&&(d=C=>{g&&(n(!C||C.type?new xr(null,e,g):C),g.abort(),g=null)},a.cancelToken&&a.cancelToken.subscribe(d),a.signal&&(a.signal.aborted?d():a.signal.addEventListener("abort",d)));const j=md(a.url);if(j&&st.protocols.indexOf(j)===-1){n(new J("Unsupported protocol "+j+":",J.ERR_BAD_REQUEST,e));return}g.send(o||null)})},Sd=(e,t)=>{let r=new AbortController,n;const a=function(u){if(!n){n=!0,i();const c=u instanceof Error?u:this.reason;r.abort(c instanceof J?c:new xr(c instanceof Error?c.message:c))}};let o=t&&setTimeout(()=>{a(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u&&(u.removeEventListener?u.removeEventListener("abort",a):u.unsubscribe(a))}),e=null)};e.forEach(u=>u&&u.addEventListener&&u.addEventListener("abort",a));const{signal:l}=r;return l.unsubscribe=i,[l,()=>{o&&clearTimeout(o),o=null}]},xd=function*(e,t){let r=e.byteLength;if(!t||r<t){yield e;return}let n=0,a;for(;n<r;)a=n+t,yield e.slice(n,a),n=a},wd=async function*(e,t,r){for await(const n of e)yield*xd(ArrayBuffer.isView(n)?n:await r(String(n)),t)},hs=(e,t,r,n,a)=>{const o=wd(e,t,a);let i=0,l,u=c=>{l||(l=!0,n&&n(c))};return new ReadableStream({async pull(c){try{const{done:d,value:h}=await o.next();if(d){u(),c.close();return}let m=h.byteLength;if(r){let v=i+=m;r(v)}c.enqueue(new Uint8Array(h))}catch(d){throw u(d),d}},cancel(c){return u(c),o.return()}},{highWaterMark:2})},Qn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Xi=Qn&&typeof ReadableStream=="function",qa=Qn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Yi=(e,...t)=>{try{return!!e(...t)}catch{return!1}},jd=Xi&&Yi(()=>{let e=!1;const t=new Request(st.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),fs=64*1024,Xa=Xi&&Yi(()=>S.isReadableStream(new Response("").body)),Dn={stream:Xa&&(e=>e.body)};Qn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Dn[t]&&(Dn[t]=S.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,n)})})})(new Response);const Rd=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(S.isArrayBufferView(e)||S.isArrayBuffer(e))return e.byteLength;if(S.isURLSearchParams(e)&&(e=e+""),S.isString(e))return(await qa(e)).byteLength},Cd=async(e,t)=>{const r=S.toFiniteNumber(e.getContentLength());return r??Rd(t)},Ad=Qn&&(async e=>{let{url:t,method:r,data:n,signal:a,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:u,responseType:c,headers:d,withCredentials:h="same-origin",fetchOptions:m}=qi(e);c=c?(c+"").toLowerCase():"text";let[v,y]=a||o||i?Sd([a,o],i):[],_,g;const x=()=>{!_&&setTimeout(()=>{v&&v.unsubscribe()}),_=!0};let j;try{if(u&&jd&&r!=="get"&&r!=="head"&&(j=await Cd(d,n))!==0){let P=new Request(t,{method:"POST",body:n,duplex:"half"}),O;if(S.isFormData(n)&&(O=P.headers.get("content-type"))&&d.setContentType(O),P.body){const[z,le]=cs(j,Fn(ds(u)));n=hs(P.body,fs,z,le,qa)}}S.isString(h)||(h=h?"include":"omit"),g=new Request(t,{...m,signal:v,method:r.toUpperCase(),headers:d.normalize().toJSON(),body:n,duplex:"half",credentials:h});let C=await fetch(g);const L=Xa&&(c==="stream"||c==="response");if(Xa&&(l||L)){const P={};["status","statusText","headers"].forEach(ce=>{P[ce]=C[ce]});const O=S.toFiniteNumber(C.headers.get("content-length")),[z,le]=l&&cs(O,Fn(ds(l),!0))||[];C=new Response(hs(C.body,fs,z,()=>{le&&le(),L&&x()},qa),P)}c=c||"text";let R=await Dn[S.findKey(Dn,c)||"text"](C,e);return!L&&x(),y&&y(),await new Promise((P,O)=>{Ki(P,O,{data:R,headers:Fe.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:g})})}catch(C){throw x(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,e,g),{cause:C.cause||C}):J.from(C,C&&C.code,e,g)}}),Ya={http:Gc,xhr:bd,fetch:Ad};S.forEach(Ya,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ps=e=>`- ${e}`,Pd=e=>S.isFunction(e)||e===null||e===!1,Zi={getAdapter:e=>{e=S.isArray(e)?e:[e];const{length:t}=e;let r,n;const a={};for(let o=0;o<t;o++){r=e[o];let i;if(n=r,!Pd(r)&&(n=Ya[(i=String(r)).toLowerCase()],n===void 0))throw new J(`Unknown adapter '${i}'`);if(n)break;a[i||"#"+o]=n}if(!n){const o=Object.entries(a).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
|
|
33
33
|
`+o.map(ps).join(`
|
|
34
34
|
`):" "+ps(o[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:Ya};function Ia(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new xr(null,e)}function gs(e){return Ia(e),e.headers=Fe.from(e.headers),e.data=Ma.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Zi.getAdapter(e.adapter||rn.adapter)(e).then(function(n){return Ia(e),n.data=Ma.call(e,e.transformResponse,n),n.headers=Fe.from(n.headers),n},function(n){return Wi(n)||(Ia(e),n&&n.response&&(n.response.data=Ma.call(e,e.transformResponse,n.response),n.response.headers=Fe.from(n.response.headers))),Promise.reject(n)})}const Qi="1.7.4",bo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{bo[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const ys={};bo.transitional=function(t,r,n){function a(o,i){return"[Axios v"+Qi+"] Transitional option '"+o+"'"+i+(n?". "+n:"")}return(o,i,l)=>{if(t===!1)throw new J(a(i," has been removed"+(r?" in "+r:"")),J.ERR_DEPRECATED);return r&&!ys[i]&&(ys[i]=!0,console.warn(a(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(o,i,l):!0}};function Od(e,t,r){if(typeof e!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const o=n[a],i=t[o];if(i){const l=e[o],u=l===void 0||i(l,o,e);if(u!==!0)throw new J("option "+o+" must be "+u,J.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}}const Za={assertOptions:Od,validators:bo},Lt=Za.validators;let Kt=class{constructor(t){this.defaults=t,this.interceptors={request:new ls,response:new ls}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const o=a.stack?a.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
35
|
-
`+o):n.stack=o}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ht(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:o}=r;n!==void 0&&Za.assertOptions(n,{silentJSONParsing:Lt.transitional(Lt.boolean),forcedJSONParsing:Lt.transitional(Lt.boolean),clarifyTimeoutError:Lt.transitional(Lt.boolean)},!1),a!=null&&(S.isFunction(a)?r.paramsSerializer={serialize:a}:Za.assertOptions(a,{encode:Lt.function,serialize:Lt.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=o&&S.merge(o.common,o[r.method]);o&&S.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),r.headers=Fe.concat(i,o);const l=[];let u=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(r)===!1||(u=u&&_.synchronous,l.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let d,h=0,m;if(!u){const y=[gs.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,c),m=y.length,d=Promise.resolve(r);h<m;)d=d.then(y[h++],y[h++]);return d}m=l.length;let v=r;for(h=0;h<m;){const y=l[h++],_=l[h++];try{v=y(v)}catch(g){_.call(this,g);break}}try{d=gs.call(this,v)}catch(y){return Promise.reject(y)}for(h=0,m=c.length;h<m;)d=d.then(c[h++],c[h++]);return d}getUri(t){t=Ht(this.defaults,t);const r=Hi(t.baseURL,t.url);return Vi(r,t.params,t.paramsSerializer)}};S.forEach(["delete","get","head","options"],function(t){Kt.prototype[t]=function(r,n){return this.request(Ht(n||{},{method:t,url:r,data:(n||{}).data}))}});S.forEach(["post","put","patch"],function(t){function r(n){return function(o,i,l){return this.request(Ht(l||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}Kt.prototype[t]=r(),Kt.prototype[t+"Form"]=r(!0)});let Td=class el{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(a=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](a);n._listeners=null}),this.promise.then=a=>{let o;const i=new Promise(l=>{n.subscribe(l),o=l}).then(a);return i.cancel=function(){n.unsubscribe(o)},i},t(function(o,i,l){n.reason||(n.reason=new xr(o,i,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new el(function(a){t=a}),cancel:t}}};function Md(e){return function(r){return e.apply(null,r)}}function Id(e){return S.isObject(e)&&e.isAxiosError===!0}const Qa={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Qa).forEach(([e,t])=>{Qa[t]=e});function tl(e){const t=new Kt(e),r=Mi(Kt.prototype.request,t);return S.extend(r,Kt.prototype,t,{allOwnKeys:!0}),S.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return tl(Ht(e,a))},r}const xe=tl(rn);xe.Axios=Kt;xe.CanceledError=xr;xe.CancelToken=Td;xe.isCancel=Wi;xe.VERSION=Qi;xe.toFormData=Zn;xe.AxiosError=J;xe.Cancel=xe.CanceledError;xe.all=function(t){return Promise.all(t)};xe.spread=Md;xe.isAxiosError=Id;xe.mergeConfig=Ht;xe.AxiosHeaders=Fe;xe.formToJSON=e=>zi(S.isHTMLForm(e)?new FormData(e):e);xe.getAdapter=Zi.getAdapter;xe.HttpStatusCode=Qa;xe.default=xe;const{Axios:Y_,AxiosError:_s,CanceledError:Z_,isCancel:Q_,CancelToken:ev,VERSION:tv,all:rv,Cancel:nv,isAxiosError:av,spread:ov,toFormData:sv,AxiosHeaders:iv,HttpStatusCode:lv,formToJSON:uv,getAdapter:cv,mergeConfig:dv}=xe;function Ed(e){try{return JSON.stringify(e)}catch{return}}function kd(e){var t,r,n,a;return e instanceof _s&&e.code==="ERR_NETWORK"?"Failed to connect to the server. Please check your internet connection.":e instanceof _s&&e.response?`${(t=e.response)==null?void 0:t.status} ${(r=e.response)==null?void 0:r.statusText} from ${(n=e.response)==null?void 0:n.config.url}: ${JSON.stringify((a=e.response)==null?void 0:a.data)}`:e instanceof Error?e.message:`Unexpected error: ${Ed(e)||e}`}const ea=e=>{const t=e.softTimeout||3e3,[r,n]=Z.useState(!1);return Z.useEffect(()=>{const a=setTimeout(()=>{n(!0)},t);return()=>clearTimeout(a)}),s.jsx(E.Stack,{width:"100%",height:"100%",alignItems:"center",justifyContent:"center",children:e.error?s.jsx(rl,{loadingMessage:e.message,error:e.error}):s.jsxs(s.Fragment,{children:[s.jsx(E.CircularProgress,{sx:{marginBottom:"24px"}}),!!e.message&&s.jsx("div",{children:e.message}),s.jsx(E.Stack,{sx:{visibility:r?"visible":"hidden",marginTop:"1rem",color:"gray"},children:"This is taking longer than expected..."})]})})},rl=e=>{const t=kd(e.error),r=e.error instanceof Error?e.error.stack:null,n=E.useTheme();return s.jsxs(E.Stack,{sx:{maxHeight:"100%",maxWidth:"min(100%, 800px)",padding:2,overflow:"auto",color:n.palette.error.main,"& pre":{whiteSpace:"pre-wrap",wordBreak:"break-word",paddingBottom:"3rem"}},children:[(e.loadingMessage?`Error while ${Ci.lowerFirst(E.capitalize(e.loadingMessage))} - `:"")+t,s.jsx("br",{}),r&&s.jsx("pre",{children:r})]})},Ld=Z.lazy(()=>import("@monaco-editor/react")),$d=en(e=>{const t=E.useTheme(),r=Z.useRef(null),[n,a]=Z.useState("dark-plus"),o=t.palette.mode==="dark"?"dark-plus":"light-plus";async function i(l){const[{createHighlighter:u},{shikiToMonaco:c}]=await Promise.all([import("shiki"),import("@shikijs/monaco")]);l.languages.register({id:"wandelscript"}),l.languages.setLanguageConfiguration("wandelscript",{comments:{lineComment:"#"},brackets:[["(",")"],["[","]"]],autoClosingPairs:[{open:"[",close:"]"},{open:"(",close:")"}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"}]}),r.current||(r.current=await u({langs:[Iu],themes:["dark-plus","light-plus"]})),c(r.current,l),l.editor.defineTheme(o,{base:t.palette.mode==="dark"?"vs-dark":"vs",inherit:!0,rules:[],colors:t.palette.mode==="dark"?{"editor.background":"#262F42","editorLineNumber.foreground":"#797979","editorLineNumber.activeForeground":"#e9e9e9","editor.lineHighlightBorder":"#494949"}:{}}),e.monacoSetup&&e.monacoSetup(l),a(o)}return s.jsx(Z.Suspense,{fallback:s.jsx(ea,{}),children:s.jsx(Ld,{value:e.code,onMount:(l,u)=>{i(u)},onChange:e.onChange,defaultLanguage:"wandelscript",theme:n,options:{minimap:{enabled:!1},wordWrap:"on",automaticLayout:!0,...e.monacoOptions}})})}),Nd="(^joint_[0-9]+$)|(_J[0-9]+$)";function nl(e){return e.children.length===0?[e]:[e,...e.children.flatMap(t=>nl(t))]}function Fd(e,t){return new RegExp(t??Nd).test(e)}function al(e,t){return nl(e).filter(r=>Fd(r.name,t))}function ta(e){Z.useEffect(e,[])}function ol(e){ta(()=>mt.autorun(e))}function So(e,t,r){ta(()=>mt.reaction(e,t,r))}function wr(e){return ta(()=>{let t;function r(){e(),t=requestAnimationFrame(r)}return t=requestAnimationFrame(r),()=>{cancelAnimationFrame(t)}})}function he({rapidlyChangingMotionState:e,robotRootObjectName:t,onRotationChanged:r,jointCollector:n}){b.Globals.assign({frameLoop:"always"});const a=Z.useRef([]),o=Z.useRef([]),{scene:i,invalidate:l}=Cu.useThree();Z.useEffect(()=>{const m=i.getObjectByName(t);m&&(o.current=n?n(m):al(m),c(),l())},[]);function u(m){a.current=m,h.start(Object.assign({},a.current))}function c(){const m=o.current.map((v,y)=>d[y].get());r(o.current,m)}ol(()=>{const m=e.state.joint_position.joints.filter(v=>v!==void 0);requestAnimationFrame(()=>u(m))});const[d,h]=b.useSpring(()=>({...Object.assign({},e.state.joint_position.joints),onChange:()=>{c(),l()},onResolve:()=>{c()}}));return null}function Dd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials;function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"UR3",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3_J03",position:[-.244,0,0],children:[s.jsxs(b.animated.group,{name:"UR3_J04",position:[-.213,0,0],children:[s.jsxs(b.animated.group,{name:"UR3_J05",position:[0,.112,0],rotation:[Math.PI/2,0,0],children:[s.jsx("mesh",{name:"UR3_05",castShadow:!0,receiveShadow:!0,geometry:a.UR3_05.geometry,material:o.Standard}),s.jsxs(b.animated.group,{name:"UR3_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"UR3_FLG",position:[0,.082,0]}),s.jsx("mesh",{name:"UR3_L06",castShadow:!0,receiveShadow:!0,geometry:a.UR3_L06.geometry,material:o.Standard})]})]}),s.jsx("mesh",{name:"UR3_L04",castShadow:!0,receiveShadow:!0,geometry:a.UR3_L04.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3_L03",castShadow:!0,receiveShadow:!0,geometry:a.UR3_L03.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3_L02",castShadow:!0,receiveShadow:!0,geometry:a.UR3_L02.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3_L01",castShadow:!0,receiveShadow:!0,geometry:a.UR3_L01.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3_L00",castShadow:!0,receiveShadow:!0,geometry:a.UR3_L00.geometry,material:o.Standard,rotation:[-Math.PI/2,0,0]})]})})})]})}function Bd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials;function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs(b.animated.group,{name:"UR3e",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3e_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3e_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3e_J03",position:[-.244,0,0],children:[s.jsxs(b.animated.group,{name:"UR3e_J04",position:[-.213,0,0],children:[s.jsxs(b.animated.group,{name:"UR3e_J05",position:[0,.131,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3e_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"UR3e_FLG",position:[0,.092,0]}),s.jsx("mesh",{name:"UR3e_L06",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L06.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3e_L05",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L05.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3e_L04",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L04.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3e_L03",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L03.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3e_L02",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L02.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3e_L01",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L01.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3e_L00",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L00.geometry,material:o.Standard,rotation:[-Math.PI/2,0,0]})]})})})]})}function Ud({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials;function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_J00",children:[s.jsxs(b.animated.group,{name:"link_1",children:[s.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_1.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_2.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_3.geometry,material:o.universalrobots_lightblue})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_J01",position:[0,.089,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"link_2",position:[0,0,.089],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_1.geometry,material:o.universalrobots_lightblue}),s.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_2.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_3.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_2_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_4.geometry,material:o.universalrobots_darkgrey})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_J02",position:[-.425,0,0],children:[s.jsxs(b.animated.group,{name:"link_3",position:[.425,0,.089],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3.geometry,material:o.universalrobots_lightblue}),s.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_1.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_2.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_3.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_3_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_4.geometry,material:o.universalrobots_stainlesssteel})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_J03",position:[-.392,0,0],children:[s.jsxs(b.animated.group,{name:"link_4",position:[.817,0,.089],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_1.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_2.geometry,material:o.universalrobots_lightblue}),s.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_3.geometry,material:o.universalrobots_black})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_J04",position:[0,.109,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"link_5",position:[.817,.089,.109],rotation:[Math.PI,0,0],children:[s.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_1.geometry,material:o.universalrobots_lightblue}),s.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_2.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_5_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_3.geometry,material:o.universalrobots_black})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_J05",position:[0,.095,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:a.link_6.geometry,material:o.universalrobots_stainlesssteel,position:[.817,-.109,-.005],rotation:[-Math.PI/2,0,0]}),s.jsx(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_FLG",position:[0,.082,0]})]})]})]})]})]})]}),s.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:a.link_0.geometry,material:o.universalrobots_aluminum})]})})]})}function Jd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials;function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"UR5e",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR5e_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR5e_J02",position:[0,.162,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR5e_J03",position:[-.425,0,0],children:[s.jsxs(b.animated.group,{name:"UR5e_J04",position:[-.392,0,0],children:[s.jsxs(b.animated.group,{name:"UR5e_J05",position:[0,.133,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR5e_J06",position:[0,.1,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"UR5e_FLG",position:[0,.1,0]}),s.jsx("group",{name:"UR5e_L06",position:[0,.1,0],rotation:[0,0,-Math.PI],children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000255",castShadow:!0,receiveShadow:!0,geometry:a["C-1000255"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000255_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000255_1"].geometry,material:o.Metal})]})})]}),s.jsx("group",{name:"UR5e_L05",rotation:[-Math.PI/2,-Math.PI/3,0],children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000253",castShadow:!0,receiveShadow:!0,geometry:a["C-1000253"].geometry,material:o.Blue}),s.jsx("mesh",{name:"C-1000253_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000253_1"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000253_2",castShadow:!0,receiveShadow:!0,geometry:a["C-1000253_2"].geometry,material:o.Metal}),s.jsx("mesh",{name:"C-1000253_3",castShadow:!0,receiveShadow:!0,geometry:a["C-1000253_3"].geometry,material:o.DarkGray})]})})]}),s.jsx("group",{name:"UR5e_L04",rotation:[0,-Math.PI/3,0],children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000251",castShadow:!0,receiveShadow:!0,geometry:a["C-1000251"].geometry,material:o.Blue}),s.jsx("mesh",{name:"C-1000251_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000251_1"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000251_2",castShadow:!0,receiveShadow:!0,geometry:a["C-1000251_2"].geometry,material:o.Metal}),s.jsx("mesh",{name:"C-1000251_3",castShadow:!0,receiveShadow:!0,geometry:a["C-1000251_3"].geometry,material:o.DarkGray})]})})]}),s.jsx("group",{name:"UR5e_L03",children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000250",castShadow:!0,receiveShadow:!0,geometry:a["C-1000250"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000250_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000250_1"].geometry,material:o.DarkGray}),s.jsx("mesh",{name:"C-1000250_2",castShadow:!0,receiveShadow:!0,geometry:a["C-1000250_2"].geometry,material:o.Blue}),s.jsx("mesh",{name:"C-1000250_3",castShadow:!0,receiveShadow:!0,geometry:a["C-1000250_3"].geometry,material:o.Metal}),s.jsx("mesh",{name:"C-1000250_4",castShadow:!0,receiveShadow:!0,geometry:a["C-1000250_4"].geometry,material:o.Metal})]})})]}),s.jsx("group",{name:"UR5e_L02",rotation:[0,-Math.PI/2,0],children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000249",castShadow:!0,receiveShadow:!0,geometry:a["C-1000249"].geometry,material:o.Metal}),s.jsx("mesh",{name:"C-1000249_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000249_1"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000249_2",castShadow:!0,receiveShadow:!0,geometry:a["C-1000249_2"].geometry,material:o.DarkGray}),s.jsx("mesh",{name:"C-1000249_3",castShadow:!0,receiveShadow:!0,geometry:a["C-1000249_3"].geometry,material:o.Blue}),s.jsx("mesh",{name:"C-1000249_4",castShadow:!0,receiveShadow:!0,geometry:a["C-1000249_4"].geometry,material:o.Metal})]})})]}),s.jsx("group",{name:"UR5e_L01",rotation:[Math.PI/2,0,0],children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000248",castShadow:!0,receiveShadow:!0,geometry:a["C-1000248"].geometry,material:o.DarkGray}),s.jsx("mesh",{name:"C-1000248_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000248_1"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000248_2",castShadow:!0,receiveShadow:!0,geometry:a["C-1000248_2"].geometry,material:o.Blue}),s.jsx("mesh",{name:"C-1000248_3",castShadow:!0,receiveShadow:!0,geometry:a["C-1000248_3"].geometry,material:o.Metal})]})})]}),s.jsx("group",{name:"UR5e_L00",children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000257",castShadow:!0,receiveShadow:!0,geometry:a["C-1000257"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000257_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000257_1"].geometry,material:o.Metal})]})})]})})})]})}function Vd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials;function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_J00",children:[s.jsxs("group",{name:"link_0",children:[s.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:a.visuals_0.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_0_1.geometry,material:o.universalrobots_aluminum})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_J01",position:[0,.127,0],rotation:[Math.PI/2,0,0],children:[s.jsxs("group",{name:"link_1",position:[0,0,.127],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_1.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_2.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_3.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_1_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_4.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_1_5",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_5.geometry,material:o.universalrobots_lightblue})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_J02",position:[-.612,0,0],children:[s.jsxs("group",{name:"link_2",position:[.612,0,.127],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_1.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_2.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_3.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_2_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_4.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_2_5",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_5.geometry,material:o.universalrobots_lightblue})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_J03",position:[-.572,0,0],children:[s.jsxs("group",{name:"link_3",position:[1.184,0,.127],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_1.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_2.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_3.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_3_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_4.geometry,material:o.universalrobots_lightblue})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_J04",position:[0,.164,0],rotation:[Math.PI/2,0,0],children:[s.jsxs("group",{name:"link_4",position:[1.184,.127,.164],rotation:[Math.PI,0,0],children:[s.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_1.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_2.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_3.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_4_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_4.geometry,material:o.universalrobots_lightblue})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_J05",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs("group",{name:"link_5",position:[1.184,-.164,.012],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_1.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_2.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_5_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_3.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_5_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_4.geometry,material:o.universalrobots_lightblue})]}),s.jsx("group",{name:"UNIVERSALROBOTS_UR10CB3_FLG",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:s.jsxs("group",{name:"link_6",position:[1.184,-.012,-.28],children:[s.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:a.visuals_6.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_6_1.geometry,material:o.universalrobots_aluminum})]})})]})]})]})]})]})]})})})]})}function Gd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials;function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"UR10e",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_J02",position:[0,.181,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_J03",position:[-.613,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_J04",position:[-.572,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_J05",position:[0,.174,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_J06",position:[0,.12,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_FLG",position:[1.184,-.174,.061],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"C-1000493",geometry:a["C-1000493"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000493_1",geometry:a["C-1000493_1"].geometry,material:o.Metal,castShadow:!0,receiveShadow:!0})]}),s.jsx("group",{name:"UR10e_L07",position:[0,.117,0]})]}),s.jsxs("group",{name:"UR10e_L06",position:[1.184,.181,.174],rotation:[Math.PI,0,0],children:[s.jsx("mesh",{name:"C-1000492",geometry:a["C-1000492"].geometry,material:o.DarkGray,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000492_1",geometry:a["C-1000492_1"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000492_2",geometry:a["C-1000492_2"].geometry,material:o.Blue,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000492_3",geometry:a["C-1000492_3"].geometry,material:o.Screw,castShadow:!0,receiveShadow:!0})]})]}),s.jsxs("group",{name:"UR10e_L05",position:[1.184,0,.181],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"C-1000491",geometry:a["C-1000491"].geometry,material:o.DarkGray,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000491_1",geometry:a["C-1000491_1"].geometry,material:o.Blue,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000491_2",geometry:a["C-1000491_2"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000491_3",geometry:a["C-1000491_3"].geometry,material:o.Screw,castShadow:!0,receiveShadow:!0})]})]}),s.jsxs("group",{name:"UR10e_L04",position:[.613,0,.181],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"C-1000490",geometry:a["C-1000490"].geometry,material:o.Metal,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000490_1",geometry:a["C-1000490_1"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000490_2",geometry:a["C-1000490_2"].geometry,material:o.DarkGray,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000490_3",geometry:a["C-1000490_3"].geometry,material:o.Blue,castShadow:!0,receiveShadow:!0})]})]}),s.jsxs(b.animated.group,{name:"UR10e_L03",position:[0,0,.181],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"C-1000489",geometry:a["C-1000489"].geometry,material:o.Blue,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000489_1",geometry:a["C-1000489_1"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000489_2",geometry:a["C-1000489_2"].geometry,material:o.DarkGray,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000489_3",geometry:a["C-1000489_3"].geometry,material:o.Screw,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000489_4",geometry:a["C-1000489_4"].geometry,material:o.Metal,castShadow:!0,receiveShadow:!0})]})]}),s.jsxs("group",{name:"UR10e_L02",children:[s.jsx("mesh",{name:"C-1000488",geometry:a["C-1000488"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000488_1",geometry:a["C-1000488_1"].geometry,material:o.Blue,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000488_2",geometry:a["C-1000488_2"].geometry,material:o.Screw,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000488_3",geometry:a["C-1000488_3"].geometry,material:o.DarkGray,castShadow:!0,receiveShadow:!0})]})]}),s.jsxs("group",{name:"UR10e_L01",rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"C-1000487",geometry:a["C-1000487"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000487_1",geometry:a["C-1000487_1"].geometry,material:o.Metal,castShadow:!0,receiveShadow:!0})]})]})})})]})}function vs({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"AR900",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR900_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR900_J02",position:[.04,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"AR900_J03",position:[.445,0,0],rotation:[-Math.PI,0,0],children:[s.jsxs(b.animated.group,{name:"AR900_J04",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR900_J05",position:[0,-.44,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR900_J06",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"AR900_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"AR900_L06",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L06.geometry,material:o["#BBA474.001"]})]}),s.jsx("mesh",{name:"AR900_L05",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L05.geometry,material:o["#0056b9.001"]})]}),s.jsx("mesh",{name:"AR900_L04",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L04.geometry,material:o["#0056b9.001"]})]}),s.jsx("mesh",{name:"AR900_L03",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L03.geometry,material:o["#0056b9.001"]})]}),s.jsx("mesh",{name:"AR900_L02",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L02.geometry,material:o["#0056b9.001"]})]}),s.jsx("mesh",{name:"AR900_L01",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L01.geometry,material:o["#0056b9.001"]})]}),s.jsx("mesh",{name:"AR900_L00",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L00.geometry,material:o["#0056b9.001"],rotation:[-Math.PI/2,0,0]})]})})})]})}function zd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0],l=[1,-1,1,1,1,1];function u(c,d){c.forEach((h,m)=>h.rotation.y=l[m]*d[m]+i[m])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:u}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"AR1440",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR1440_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR1440_J02",position:[.155,0,0],rotation:[Math.PI/2,0,Math.PI],children:[s.jsxs(b.animated.group,{name:"AR1440_J03",position:[.614,0,0],rotation:[Math.PI,0,0],children:[s.jsxs(b.animated.group,{name:"AR1440_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR1440_J05",position:[0,-.64,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR1440_J06",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"AR1440_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"AR1440_L06_CAD",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L06_CAD.geometry,material:o.metall})]}),s.jsx("mesh",{name:"AR1440_L05_CAD",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L05_CAD.geometry,material:o.yaskawaBlueMetall})]}),s.jsxs("group",{name:"AR1440_L04_CAD",children:[s.jsx("mesh",{name:"AR1440_L04_CAD001",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L04_CAD001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR1440_L04_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L04_CAD001_1.geometry,material:o.white})]})]}),s.jsxs("group",{name:"AR1440_L03_CAD",children:[s.jsx("mesh",{name:"AR1440_L03_CAD001",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L03_CAD001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR1440_L03_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L03_CAD001_1.geometry,material:o.blackMetall})]})]}),s.jsx("mesh",{name:"AR1440_L02_CAD",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L02_CAD.geometry,material:o.yaskawaBlueMetall})]}),s.jsxs("group",{name:"AR1440_L01_CAD",children:[s.jsx("mesh",{name:"AR1440_L01_CAD001",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L01_CAD001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR1440_L01_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L01_CAD001_1.geometry,material:o.blackMetall})]})]}),s.jsx("mesh",{name:"AR1440_L00_CAD",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L00_CAD.geometry,material:o.yaskawaBlueMetall,position:[0,0,.45],rotation:[-Math.PI/2,0,0]})]})})})]})}function Wd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0],l=[1,-1,1,1,1,1];function u(c,d){c.forEach((h,m)=>h.rotation.y=l[m]*d[m]+i[m])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:u}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs(b.animated.group,{name:"AR1730_J00",children:[s.jsxs(b.animated.group,{name:"AR1730_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"AR1730_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[s.jsxs(b.animated.group,{name:"AR1730_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR1730_J04",position:[0,-.795,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR1730_J05",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"AR1730_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"AR1730_L06",castShadow:!0,receiveShadow:!0,geometry:a.AR1730_L06.geometry,material:o.Metal,rotation:[Math.PI/2,-Math.PI/2,0]})]}),s.jsx("mesh",{name:"AR1730_L05",castShadow:!0,receiveShadow:!0,geometry:a.AR1730_L05.geometry,material:o.Blue,rotation:[Math.PI/2,0,Math.PI/2]})]}),s.jsxs("group",{name:"AR1730_L04",position:[0,-.302,0],rotation:[0,0,-Math.PI/2],children:[s.jsx("mesh",{name:"_R_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:a._R_AXIS_SW0001002.geometry,material:o.Blue}),s.jsx("mesh",{name:"_R_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:a._R_AXIS_SW0001002_1.geometry,material:o.White})]})]}),s.jsxs("group",{name:"AR1730_L03",rotation:[Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"_U_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:a._U_AXIS_SW0001002.geometry,material:o.Blue}),s.jsx("mesh",{name:"_U_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:a._U_AXIS_SW0001002_1.geometry,material:o.Black})]})]}),s.jsx("mesh",{name:"AR1730_L02",castShadow:!0,receiveShadow:!0,geometry:a.AR1730_L02.geometry,material:o.Blue,position:[0,-.157,0],rotation:[-Math.PI,-1.571,0]})]}),s.jsxs("group",{name:"AR1730_L01",position:[0,-.336,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"_S_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:a._S_AXIS_SW0001002.geometry,material:o.Blue}),s.jsx("mesh",{name:"_S_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:a._S_AXIS_SW0001002_1.geometry,material:o.Black})]})]}),s.jsx("mesh",{name:"AR1730_L00",castShadow:!0,receiveShadow:!0,geometry:a.AR1730_L00.geometry,material:o.Blue,position:[0,-.505,0],rotation:[Math.PI/2,0,-Math.PI/2]})]})})]})}function Kd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0],l=[1,-1,1,1,1,1];function u(c,d){c.forEach((h,m)=>h.rotation.y=l[m]*d[m]+i[m])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:u}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"AR2010",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR2010_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR2010_J02",position:[.15,0,0],rotation:[Math.PI/2,0,Math.PI],children:[s.jsxs(b.animated.group,{name:"AR2010_J03",position:[.76,0,0],rotation:[Math.PI,0,0],children:[s.jsxs(b.animated.group,{name:"AR2010_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR2010_J05",position:[0,-1.082,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR2010_J06",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"AR2010_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),s.jsxs("group",{name:"AR2010_L06",children:[s.jsx("mesh",{name:"AR2010_06001",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_06001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR2010_06001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_06001_1.geometry,material:o.metall})]})]}),s.jsx("mesh",{name:"AR2010_L05",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_L05.geometry,material:o.yaskawaBlueMetall})]}),s.jsxs("group",{name:"AR2010_L04",children:[s.jsx("mesh",{name:"AR2010_04001",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_04001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR2010_04001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_04001_1.geometry,material:o.white})]})]}),s.jsxs("group",{name:"AR2010_L03",children:[s.jsx("mesh",{name:"AR2010_03001",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_03001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR2010_03001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_03001_1.geometry,material:o.blackMetall})]})]}),s.jsx("mesh",{name:"AR2010_L02",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_L02.geometry,material:o.yaskawaBlueMetall})]}),s.jsxs("group",{name:"AR2010_L01",children:[s.jsx("mesh",{name:"AR2010_01001",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_01001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR2010_01001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_01001_1.geometry,material:o.blackMetall})]})]}),s.jsx("mesh",{name:"AR2010_L00",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_L00.geometry,material:o.yaskawaBlueMetall,rotation:[-Math.PI/2,0,0]})]})})})]})}function Hd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0],l=[1,-1,1,1,1,1];function u(c,d){c.forEach((h,m)=>h.rotation.y=l[m]*d[m]+i[m])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:u}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs(b.animated.group,{name:"AR3120_J00",children:[s.jsxs(b.animated.group,{name:"AR3120_J01",position:[.145,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"AR3120_J02",position:[1.15,0,0],rotation:[-Math.PI,0,0],children:[s.jsxs(b.animated.group,{name:"AR3120_J03",position:[.25,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR3120_J04",position:[0,-1.812,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR3120_J05",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"AR3120_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"AR3120_L06",castShadow:!0,receiveShadow:!0,geometry:a.AR3120_L06.geometry,material:o["Metal.001"],rotation:[Math.PI/2,-Math.PI/2,0]})]}),s.jsx("mesh",{name:"AR3120_L05",castShadow:!0,receiveShadow:!0,geometry:a.AR3120_L05.geometry,material:o["Blue.001"],rotation:[Math.PI/2,0,Math.PI/2]})]}),s.jsxs("group",{name:"AR3120_L04",rotation:[Math.PI/2,-Math.PI/2,0],children:[s.jsx("mesh",{name:"R_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:a.R_AXIS_GP20HL001.geometry,material:o["Blue.001"]}),s.jsx("mesh",{name:"R_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:a.R_AXIS_GP20HL001_1.geometry,material:o["White.001"]})]})]}),s.jsxs("group",{name:"AR3120_L03",rotation:[Math.PI,0,-Math.PI/2],children:[s.jsx("mesh",{name:"Mesh_3001",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_3001.geometry,material:o["Blue.001"]}),s.jsx("mesh",{name:"Mesh_3001_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_3001_1.geometry,material:o["Black.001"]})]})]}),s.jsx("mesh",{name:"AR3120_L02",castShadow:!0,receiveShadow:!0,geometry:a.AR3120_L02.geometry,material:o["Blue.001"],position:[0,-.146,0],rotation:[Math.PI,0,0]})]}),s.jsxs("group",{name:"AR3120_L01",position:[0,-.228,0],rotation:[0,-1.571,0],children:[s.jsx("mesh",{name:"S_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:a.S_AXIS_GP20HL001.geometry,material:o["Blue.001"]}),s.jsx("mesh",{name:"S_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:a.S_AXIS_GP20HL001_1.geometry,material:o["Black.001"]})]})]}),s.jsx("mesh",{name:"AR3120_L00",castShadow:!0,receiveShadow:!0,geometry:a.AR3120_L00.geometry,material:o["Blue.001"],position:[0,-.54,0]})]})})]})}function qd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0],l=[1,1,1,1,1,1];function u(c,d){c.forEach((h,m)=>h.rotation.y=l[m]*d[m]+i[m])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:u}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs("group",{name:"link_0",children:[s.jsx("mesh",{name:"shape439",castShadow:!0,receiveShadow:!0,geometry:a.shape439.geometry,material:o.yaskawa_blue}),s.jsx("mesh",{name:"shape439_1",castShadow:!0,receiveShadow:!0,geometry:a.shape439_1.geometry,material:o.yaskawa_metalsilver}),s.jsx("mesh",{name:"shape439_2",castShadow:!0,receiveShadow:!0,geometry:a.shape439_2.geometry,material:o.yaskawa_black})]}),s.jsxs(b.animated.group,{name:"YASKAWA_GP50_J00",position:[0,-.54,0],children:[s.jsxs("group",{name:"link_1",position:[0,.54,0],children:[s.jsx("mesh",{name:"shape320",castShadow:!0,receiveShadow:!0,geometry:a.shape320.geometry,material:o.yaskawa_blue}),s.jsx("mesh",{name:"shape320_1",castShadow:!0,receiveShadow:!0,geometry:a.shape320_1.geometry,material:o.yaskawa_black}),s.jsx("mesh",{name:"shape320_2",castShadow:!0,receiveShadow:!0,geometry:a.shape320_2.geometry,material:o.yaskawa_metalsilver}),s.jsx("mesh",{name:"shape320_3",castShadow:!0,receiveShadow:!0,geometry:a.shape320_3.geometry,material:o.yaskawa_black}),s.jsx("mesh",{name:"shape320_4",castShadow:!0,receiveShadow:!0,geometry:a.shape320_4.geometry,material:o.yaskawa_white}),s.jsx("mesh",{name:"shape320_5",castShadow:!0,receiveShadow:!0,geometry:a.shape320_5.geometry,material:o.yaskawa_black})]}),s.jsxs(b.animated.group,{name:"YASKAWA_GP50_J01",position:[.145,.54,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[s.jsxs("group",{name:"link_2",position:[0,0,.145],rotation:[Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"shape440",castShadow:!0,receiveShadow:!0,geometry:a.shape440.geometry,material:o.yaskawa_blue}),s.jsx("mesh",{name:"shape440_1",castShadow:!0,receiveShadow:!0,geometry:a.shape440_1.geometry,material:o.yaskawa_white}),s.jsx("mesh",{name:"shape440_2",castShadow:!0,receiveShadow:!0,geometry:a.shape440_2.geometry,material:o.yaskawa_metalsilver}),s.jsx("mesh",{name:"shape440_3",castShadow:!0,receiveShadow:!0,geometry:a.shape440_3.geometry,material:o.yaskawa_black})]}),s.jsxs(b.animated.group,{name:"YASKAWA_GP50_J02",position:[.87,0,0],rotation:[-Math.PI,0,0],children:[s.jsxs("group",{name:"link_3",position:[-.87,0,-.145],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"shape341",castShadow:!0,receiveShadow:!0,geometry:a.shape341.geometry,material:o.yaskawa_blue}),s.jsx("mesh",{name:"shape341_1",castShadow:!0,receiveShadow:!0,geometry:a.shape341_1.geometry,material:o.yaskawa_white}),s.jsx("mesh",{name:"shape341_2",castShadow:!0,receiveShadow:!0,geometry:a.shape341_2.geometry,material:o.yaskawa_black}),s.jsx("mesh",{name:"shape341_3",castShadow:!0,receiveShadow:!0,geometry:a.shape341_3.geometry,material:o.yaskawa_black}),s.jsx("mesh",{name:"shape341_4",castShadow:!0,receiveShadow:!0,geometry:a.shape341_4.geometry,material:o.yaskawa_metalsilver}),s.jsx("mesh",{name:"shape341_5",castShadow:!0,receiveShadow:!0,geometry:a.shape341_5.geometry,material:o.yaskawa_metalsilver})]}),s.jsxs(b.animated.group,{name:"YASKAWA_GP50_J03",position:[.21,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:a.link_4.geometry,material:o.yaskawa_blue,position:[-1.08,.145,0],rotation:[0,0,-Math.PI/2]}),s.jsxs(b.animated.group,{name:"YASKAWA_GP50_J04",position:[0,-1.025,0],rotation:[Math.PI/2,0,0],children:[s.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:a.link_5.geometry,material:o.yaskawa_blue,position:[-1.08,0,-1.17],rotation:[-Math.PI/2,0,-Math.PI/2]}),s.jsxs(b.animated.group,{name:"YASKAWA_GP50_J05",rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:a.link_6.geometry,material:o.yaskawa_metalsilver,position:[-1.08,1.17,0],rotation:[0,0,-Math.PI/2]}),s.jsx("group",{name:"YASKAWA_GP50_FLG",position:[0,-.175,0],rotation:[-Math.PI,0,0]})]})]})]})]})]})]})]})})]})}function Xd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs(b.animated.group,{name:"CRX10iA_J00",children:[s.jsxs(b.animated.group,{name:"CRX10iA_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J02",position:[.54,0,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L06.geometry,material:o.Fanuc_BlackMetal,position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),s.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:a.J5CASING_UNIT001.geometry,material:o.Fanuc_WhitePlastic}),s.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:a.J5CASING_UNIT001_1.geometry,material:o.Fanuc_Green})]})]}),s.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[s.jsx("mesh",{name:"NAME_LABEL_CRX_10iA",castShadow:!0,receiveShadow:!0,geometry:a.NAME_LABEL_CRX_10iA.geometry,material:o.Fanuc_RedPlastic}),s.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_1",castShadow:!0,receiveShadow:!0,geometry:a.NAME_LABEL_CRX_10iA_1.geometry,material:o.Fanuc_BlackPlastic}),s.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_2",castShadow:!0,receiveShadow:!0,geometry:a.NAME_LABEL_CRX_10iA_2.geometry,material:o.Fanuc_WhitePlastic})]})]}),s.jsx("mesh",{name:"CRX10iA_L03",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L03.geometry,material:o.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),s.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L02.geometry,material:o.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),s.jsxs("group",{name:"CRX10iA_L01",position:[0,-.117,0],children:[s.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_UNIT001.geometry,material:o.Fanuc_Green}),s.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_UNIT001_1.geometry,material:o.Fanuc_WhitePlastic}),s.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_UNIT001_2.geometry,material:o.Fanuc_GreenLED})]})]}),s.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L00.geometry,material:o.Fanuc_BlackMetal,position:[0,-.245,0]})]})})]})}function Yd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:a.link_0.geometry,material:o.fanuc_metal_black}),s.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J00",position:[0,-.245,0],children:[s.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J02",position:[.71,0,0],children:[s.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J03",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[s.jsx(b.animated.group,{name:"FANUC_CRX20iAL_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:a.link_6.geometry,material:o.fanuc_metal_black,position:[-.71,.54,-.15],rotation:[0,0,-Math.PI/2]})]}),s.jsxs(b.animated.group,{name:"link_5",position:[-.71,0,-.54],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"shape053",castShadow:!0,receiveShadow:!0,geometry:a.shape053.geometry,material:o.fanuc_white}),s.jsx("mesh",{name:"shape053_1",castShadow:!0,receiveShadow:!0,geometry:a.shape053_1.geometry,material:o.fanuc_green})]})]}),s.jsxs(b.animated.group,{name:"link_4",position:[-.71,0,0],rotation:[0,0,-Math.PI/2],children:[s.jsx("mesh",{name:"shape054",castShadow:!0,receiveShadow:!0,geometry:a.shape054.geometry,material:o.fanuc_white}),s.jsx("mesh",{name:"shape054_1",castShadow:!0,receiveShadow:!0,geometry:a.shape054_1.geometry,material:o.fanuc_red}),s.jsx("mesh",{name:"shape054_2",castShadow:!0,receiveShadow:!0,geometry:a.shape054_2.geometry,material:o.fanuc_metal_black})]})]}),s.jsxs(b.animated.group,{name:"link_3",position:[-.71,0,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"shape009",castShadow:!0,receiveShadow:!0,geometry:a.shape009.geometry,material:o.fanuc_green}),s.jsx("mesh",{name:"shape009_1",castShadow:!0,receiveShadow:!0,geometry:a.shape009_1.geometry,material:o.fanuc_white})]})]}),s.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:a.link_2.geometry,material:o.fanuc_white,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),s.jsxs("group",{name:"link_1",position:[0,.245,0],children:[s.jsx("mesh",{name:"shape005",castShadow:!0,receiveShadow:!0,geometry:a.shape005.geometry,material:o.fanuc_white}),s.jsx("mesh",{name:"shape005_1",castShadow:!0,receiveShadow:!0,geometry:a.shape005_1.geometry,material:o.fanuc_green})]})]})]})})]})}function Zd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",position:[0,-.37,0],children:[s.jsxs("group",{name:"CRX25iA_L00",children:[s.jsx("mesh",{name:"J1BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:a.J1BASE_NetGen_Coarse.geometry,material:o.Fanuc_BlackMetal}),s.jsx("mesh",{name:"J1BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:a.J1BASE_NetGen_Coarse_1.geometry,material:o.Fanuc_GreenPlastic})]}),s.jsxs(b.animated.group,{name:"CRX25iA_J00",children:[s.jsxs(b.animated.group,{name:"CRX25iA_J01",position:[0,.37,0],rotation:[Math.PI/2,Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"CRX25iA_J02",position:[.95,0,0],children:[s.jsxs(b.animated.group,{name:"CRX25iA_J03",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"CRX25iA_J04",position:[0,-.75,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"CRX25iA_J05",position:[0,.185,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"CRX25iA_FLG",position:[0,-.18,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"CRX25iA_L06",castShadow:!0,receiveShadow:!0,geometry:a.CRX25iA_L06.geometry,material:o.Fanuc_BlackMetal,position:[0,-.18,0]})]}),s.jsxs("group",{name:"CRX25iA_L05",position:[0,.185,0],children:[s.jsx("mesh",{name:"J6CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:a.J6CASING_NetGen_Coarse.geometry,material:o.Fanuc_WhitePlastic}),s.jsx("mesh",{name:"J6CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:a.J6CASING_NetGen_Coarse_1.geometry,material:o.Fanuc_GreenPlastic})]})]}),s.jsxs("group",{name:"CRX25iA_L04",position:[0,-.75,0],children:[s.jsx("mesh",{name:"J3ARM_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:a.J3ARM_NetGen_Coarse.geometry,material:o.Fanuc_WhitePlastic}),s.jsx("mesh",{name:"J3ARM_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:a.J3ARM_NetGen_Coarse_1.geometry,material:o.Fanuc_RedPlastic}),s.jsx("mesh",{name:"J3ARM_NetGen_Coarse_2",castShadow:!0,receiveShadow:!0,geometry:a.J3ARM_NetGen_Coarse_2.geometry,material:o.Fanuc_BlackPlastic})]})]}),s.jsxs("group",{name:"CRX25iA_L03",children:[s.jsx("mesh",{name:"J3CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:a.J3CASING_NetGen_Coarse.geometry,material:o.Fanuc_WhitePlastic}),s.jsx("mesh",{name:"J3CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:a.J3CASING_NetGen_Coarse_1.geometry,material:o.Fanuc_GreenPlastic})]})]}),s.jsx("mesh",{name:"CRX25iA_L02",castShadow:!0,receiveShadow:!0,geometry:a.CRX25iA_L02.geometry,material:o.Fanuc_WhitePlastic})]}),s.jsxs("group",{name:"CRX25iA_L01",position:[0,.18,0],children:[s.jsx("mesh",{name:"J2BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_NetGen_Coarse.geometry,material:o.Fanuc_WhitePlastic}),s.jsx("mesh",{name:"J2BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_NetGen_Coarse_1.geometry,material:o.Fanuc_GreenLED})]})]})]})})]})}function Qd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs(b.animated.group,{name:"CRX10iA_J00",children:[s.jsxs(b.animated.group,{name:"CRX10iA_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J02",position:[.71,0,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L06.geometry,material:o["Fanuc_BlackMetal.001"],position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),s.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:a.J5CASING_UNIT001.geometry,material:o["Fanuc_WhitePlastic.001"]}),s.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:a.J5CASING_UNIT001_1.geometry,material:o["Fanuc_Green.001"]})]})]}),s.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[s.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001",castShadow:!0,receiveShadow:!0,geometry:a.NAME_LABEL_CRX_10iA_L001.geometry,material:o["Fanuc_WhitePlastic.001"]}),s.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_1",castShadow:!0,receiveShadow:!0,geometry:a.NAME_LABEL_CRX_10iA_L001_1.geometry,material:o["Fanuc_RedPlastic.001"]}),s.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_2",castShadow:!0,receiveShadow:!0,geometry:a.NAME_LABEL_CRX_10iA_L001_2.geometry,material:o["Fanuc_BlackPlastic.001"]})]})]}),s.jsxs("group",{name:"CRX10iA_L03",rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"J3CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:a.J3CASING_UNIT001.geometry,material:o["Fanuc_WhitePlastic.001"]}),s.jsx("mesh",{name:"J3CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:a.J3CASING_UNIT001_1.geometry,material:o["Fanuc_Green.001"]})]})]}),s.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L02.geometry,material:o["Fanuc_WhitePlastic.001"],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),s.jsxs("group",{name:"CRX10iA_L01",position:[0,.128,0],children:[s.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_UNIT001.geometry,material:o["Fanuc_WhitePlastic.001"]}),s.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_UNIT001_1.geometry,material:o["Fanuc_Green.001"]}),s.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_UNIT001_2.geometry,material:o["Fanuc_GreenLED.001"]})]})]}),s.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L00.geometry,material:o["Fanuc_BlackMetal.001"]})]})})]})}function em({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,0,-Math.PI/2,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"kuka_kr210_2700",children:[s.jsxs(b.animated.group,{name:"joint_01",children:[s.jsxs(b.animated.group,{name:"joint_02",position:[.33,.645,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"joint_04",position:[.115,0,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"joint_05",position:[0,-1.22,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[s.jsx("group",{name:"flange",position:[0,-.215,0],rotation:[-Math.PI,0,0]}),s.jsx("group",{name:"link_6",position:[0,-.17,0],rotation:[0,0,-Math.PI/2],children:s.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:a.visuals006.geometry,material:o.material_Material_Metall_black})})]}),s.jsx("group",{name:"link_5",position:[0,.059,0],rotation:[Math.PI/2,0,-Math.PI/2],children:s.jsxs("group",{name:"visuals005",children:[s.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals005_1.geometry,material:o.material_Material_metal_black}),s.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals005_2.geometry,material:o.material_Material_kuka_orange})]})})]}),s.jsx("group",{name:"link_4",position:[0,-.869,0],rotation:[0,0,-Math.PI/2],children:s.jsxs("group",{name:"visuals004",children:[s.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals004_1.geometry,material:o.material_Material_metal_black}),s.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals004_2.geometry,material:o.material_Material_kuka_orange})]})})]}),s.jsx("group",{name:"link_3",position:[0,-.105,0],rotation:[Math.PI/2,0,-Math.PI/2],children:s.jsxs("group",{name:"visuals003",children:[s.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_1.geometry,material:o.material_Material_rubber}),s.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_2.geometry,material:o.material_Material_aluminium}),s.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_3.geometry,material:o.material_Material_metal_black}),s.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_4.geometry,material:o.material_Material_kuka_black}),s.jsx("mesh",{name:"visuals003_5",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_5.geometry,material:o.material_Material_Rubber_black}),s.jsx("mesh",{name:"visuals003_6",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_6.geometry,material:o.material_Material_kuka_orange}),s.jsx("mesh",{name:"visuals003_7",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_7.geometry,material:o.material_Material_stainless_steel})]})})]}),s.jsx("group",{name:"link_2",position:[0,.009,0],rotation:[Math.PI/2,0,0],children:s.jsxs("group",{name:"visuals002",children:[s.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_1.geometry,material:o.material_Material_metal_black}),s.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_2.geometry,material:o.material_Material_Rubber_black}),s.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_3.geometry,material:o.material_Material_kuka_orange})]})})]}),s.jsx("group",{name:"link_1",position:[0,.236,0],children:s.jsxs("group",{name:"visuals001",children:[s.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_1.geometry,material:o.material_Material_kuka_black}),s.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_2.geometry,material:o.material_Material_kuka_orange}),s.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_3.geometry,material:o.material_Material_rubber}),s.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_4.geometry,material:o.material_Material_metal_black}),s.jsx("mesh",{name:"visuals001_5",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_5.geometry,material:o.material_Material_aluminium}),s.jsx("mesh",{name:"visuals001_6",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_6.geometry,material:o.material_Material_rubber_black}),s.jsx("mesh",{name:"visuals001_7",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_7.geometry,material:o.material_Material_stainless_steel})]})})]}),s.jsx("group",{name:"link_0",children:s.jsxs("group",{name:"visuals",children:[s.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1.geometry,material:o.material_Material_kuka_black}),s.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2.geometry,material:o.material_Material_metal_black})]})})]})})})]})}function tm({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,0,-Math.PI/2,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"kuka_kr270_2700_ultra",children:[s.jsxs(b.animated.group,{name:"joint_01",children:[s.jsxs(b.animated.group,{name:"joint_02",position:[.35,.675,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"joint_04",position:[-.041,0,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"joint_05",position:[0,-1.2,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[s.jsx("group",{name:"flange",position:[0,-.24,0],rotation:[-Math.PI,0,0]}),s.jsx("group",{name:"link_6",position:[0,-.213,0],rotation:[0,0,-Math.PI/2],children:s.jsxs("group",{name:"visuals006",children:[s.jsx("mesh",{name:"visuals006_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals006_1.geometry,material:o.material_Material_Farbe__1_}),s.jsx("mesh",{name:"visuals006_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals006_2.geometry,material:o.material_Material_Metall})]})})]}),s.jsx("group",{name:"link_5",position:[0,.044,0],rotation:[Math.PI/2,0,-Math.PI/2],children:s.jsx("mesh",{name:"visuals005",castShadow:!0,receiveShadow:!0,geometry:a.visuals005.geometry,material:o.material_Material_Farbe})})]}),s.jsx("group",{name:"link_4",position:[0,-.954,0],rotation:[0,0,-Math.PI/2],children:s.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:a.visuals004.geometry,material:o.material_Material_Farbe})})]}),s.jsx("group",{name:"link_3",position:[0,-.178,0],rotation:[Math.PI/2,0,-Math.PI/2],children:s.jsxs("group",{name:"visuals003",children:[s.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_1.geometry,material:o.material_Material_Farbe__1_}),s.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_2.geometry,material:o.material_Material_Farbe__2_}),s.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_3.geometry,material:o.material_Material_Metall}),s.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_4.geometry,material:o.material_Material_Farbe})]})})]}),s.jsx("group",{name:"link_2",rotation:[Math.PI/2,0,0],children:s.jsxs("group",{name:"visuals002",children:[s.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_1.geometry,material:o.material_Material_Farbe}),s.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_2.geometry,material:o.material_Material_Farbe__1_}),s.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_3.geometry,material:o.material_Material_Metall}),s.jsx("mesh",{name:"visuals002_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_4.geometry,material:o.material_Material_Farbe__2_})]})})]}),s.jsx("group",{name:"link_1",position:[0,.226,0],children:s.jsxs("group",{name:"visuals001",children:[s.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_1.geometry,material:o.material_Material_Metall}),s.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_2.geometry,material:o.material_Material_Farbe__1_}),s.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_3.geometry,material:o.material_Material_Farbe__2_}),s.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_4.geometry,material:o.material_Material_Farbe})]})})]}),s.jsxs("group",{name:"link_0-base",children:[s.jsx("group",{name:"joint_1"}),s.jsxs("group",{name:"visuals",children:[s.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1.geometry,material:o.material_Material_Metall}),s.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2.geometry,material:o.material_Material_Farbe__1_})]})]})]})})})]})}function rm({modelURL:e,rapidlyChangingMotionState:t,...r}){const{nodes:n,materials:a}=oe.useGLTF(e),o=[0,0,-Math.PI/2,0,0,0];function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d]+o[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs("group",{name:"link_0",children:[s.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:a.material_Material_Metall}),s.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:a.material_Material_Farbe__2_}),s.jsx("mesh",{name:"visuals_0_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_2.geometry,material:a.material_Material_Metall})]}),s.jsxs("group",{name:"KUKA_KR16R2010_2_J00",children:[s.jsxs("group",{name:"KUKA_KR16R2010_2_J01",position:[.16,.52,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs("group",{name:"KUKA_KR16R2010_2_J02",position:[.98,0,0],rotation:[0,-Math.PI/2,0],children:[s.jsxs("group",{name:"KUKA_KR16R2010_2_J03",position:[.15,0,0],rotation:[Math.PI/2,0,0],children:[s.jsxs("group",{name:"KUKA_KR16R2010_2_J04",position:[0,-.86,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"KUKA_KR16R2010_2_J05",rotation:[-Math.PI/2,0,-Math.PI],children:s.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:a.material_Material_Farbe__2_,position:[.67,2,0],rotation:[-Math.PI,0,Math.PI/2]})}),s.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:a.material_Material_Farbe,position:[-.67,0,2],rotation:[Math.PI/2,0,-Math.PI/2]})]}),s.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:n.link_4.geometry,material:a.material_Material_Farbe,position:[-.67,1.14,0],rotation:[0,0,-Math.PI/2]})]}),s.jsxs("group",{name:"link_3",position:[-.52,0,1.14],rotation:[Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3.geometry,material:a.material_Material_Farbe}),s.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_1.geometry,material:a.material_Material_Metall}),s.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_2.geometry,material:a.material_Material_Farbe__2_})]})]}),s.jsxs("group",{name:"link_2",position:[-.16,0,-.52],rotation:[Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2.geometry,material:a.material_Material_Farbe}),s.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2_1.geometry,material:a.material_Material_Metall})]})]}),s.jsxs("group",{name:"link_1",children:[s.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1.geometry,material:a.material_Material_Farbe}),s.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_1.geometry,material:a.material_Material_Farbe__2_}),s.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_2.geometry,material:a.material_Material_Metall})]})]})]})})]})}function nm({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"M10iD",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"M10iD_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"M10iD_J02",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"M10iD_J03",position:[.64,0,0],children:[s.jsxs(b.animated.group,{name:"M10iD_J04",position:[.195,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"M10iD_J05",position:[0,-.7,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"M10iD_J06",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"M10iD_FLG",position:[0,-.075,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"M10iD_L06",castShadow:!0,receiveShadow:!0,geometry:a.M10iD_L06.geometry,material:o.Fanuc_BlackMetal_AO,position:[-.835,.775,0],rotation:[0,0,-Math.PI/2]})]}),s.jsx("mesh",{name:"M10iD_L05",castShadow:!0,receiveShadow:!0,geometry:a.M10iD_L05.geometry,material:o.Fanuc_BlackMetal_AO,position:[-.835,0,-.775],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),s.jsxs("group",{name:"M10iD_L04",position:[-.835,.075,0],rotation:[0,0,-Math.PI/2],children:[s.jsx("mesh",{name:"Mesh_654",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_654.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_654_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_654_1.geometry,material:o.Fanuc_BlackMetal_AO})]})]}),s.jsxs("group",{name:"M10iD_L03",position:[-.64,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"Mesh_378",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_378.geometry,material:o.Material_1_AO}),s.jsx("mesh",{name:"Mesh_378_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_378_1.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_378_2",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_378_2.geometry,material:o.Fanuc_BlackMetal_AO})]})]}),s.jsxs("group",{name:"M10iD_L02",position:[0,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"Mesh_358",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_358.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_358_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_358_1.geometry,material:o.Fanuc_BlackMetal_AO})]})]}),s.jsxs("group",{name:"M10iD_L01",children:[s.jsx("mesh",{name:"Mesh_356",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_356.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_356_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_356_1.geometry,material:o.Material_1_AO}),s.jsx("mesh",{name:"Mesh_356_2",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_356_2.geometry,material:o.Fanuc_BlackMetal_AO})]})]}),s.jsx("mesh",{name:"M10iD_L00",castShadow:!0,receiveShadow:!0,geometry:a.M10iD_L00.geometry,material:o.Fanuc_BlackMetal_AO,rotation:[-Math.PI/2,0,0]})]})})})]})}function bs({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"M10iD",rotation:[0,0,0],children:[s.jsxs(b.animated.group,{name:"M20iD25_J00",children:[s.jsxs(b.animated.group,{name:"M20iD25_J01",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"M20iD25_J02",position:[.84,0,0],children:[s.jsxs(b.animated.group,{name:"M20iD25_J03",position:[.215,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"M20iD25_J04",position:[0,-.89,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"M20iD25_J05",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"M20iD25_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"M20iD25_L06",castShadow:!0,receiveShadow:!0,geometry:a.M20iD25_L06.geometry,material:o.Fanuc_BlackMetal_AO,position:[0,-.09,0],rotation:[Math.PI/2,0,Math.PI]})]}),s.jsx("mesh",{name:"M20iD25_L05",castShadow:!0,receiveShadow:!0,geometry:a.M20iD25_L05.geometry,material:o.Fanuc_BlackMetal_AO,rotation:[Math.PI,Math.PI/2,0]})]}),s.jsxs("group",{name:"M20iD25_L04",position:[0,-.286,0],rotation:[-Math.PI/2,Math.PI/2,0],children:[s.jsx("mesh",{name:"Mesh_2",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_2.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_2_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_2_1.geometry,material:o.Fanuc_BlackMetal_AO})]})]}),s.jsxs("group",{name:"M20iD25_L03",position:[0,.406,0],rotation:[Math.PI,Math.PI/2,0],children:[s.jsx("mesh",{name:"Mesh_15",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_15.geometry,material:o.Fanuc_BlackMetal_AO}),s.jsx("mesh",{name:"Mesh_15_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_15_1.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_15_2",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_15_2.geometry,material:o.Material_9_AO})]})]}),s.jsxs("group",{name:"M20iD25_L02",position:[0,.505,-.055],rotation:[-Math.PI,Math.PI/2,0],children:[s.jsx("mesh",{name:"Mesh_37",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_37.geometry,material:o.Fanuc_BlackMetal_AO}),s.jsx("mesh",{name:"Mesh_37_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_37_1.geometry,material:o.Fanuc_Yellow_Textured_AO})]})]}),s.jsxs("group",{name:"M20iD25_L01",rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"Mesh_45",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_45.geometry,material:o.Material_9_AO}),s.jsx("mesh",{name:"Mesh_45_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_45_1.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_45_2",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_45_2.geometry,material:o.Fanuc_BlackMetal_AO})]})]}),s.jsx("mesh",{name:"M20iD25_L00",castShadow:!0,receiveShadow:!0,geometry:a.M20iD25_L00.geometry,material:o.Fanuc_BlackMetal_AO,position:[0,-.425,0],rotation:[-Math.PI/2,0,0]})]})})})]})}function am({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"IRB1200_7_70_IRC5",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J02",position:[0,.399,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J03",position:[.35,0,0],children:[s.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J04",position:[.042,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J05",position:[0,.351,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J06",rotation:[Math.PI/2,0,-Math.PI],children:[s.jsx("group",{name:"IRB1200_7_70_IRC5_FLG",position:[0,.082,0]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L06",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L06.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"]})]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L05",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L05.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"]})]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L04",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L04.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"]})]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L03",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L03.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"]})]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L02",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L02.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"]})]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L01",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L01.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"],rotation:[Math.PI/2,0,0]})]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L00",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L00.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"],rotation:[-Math.PI/2,0,0]})]})})})]})}const Ss="line",xs="mesh";function Ea({rapidlyChangingMotionState:e,dhParameters:t,...r}){const n=new jt.Matrix4;function a(u,c){const d=new jt.Vector3,h=new jt.Quaternion,m=new jt.Vector3;n.decompose(d,h,m);const v=d.clone(),y=new jt.Matrix4().makeRotationY(u.theta+c*(u.reverse_rotation_direction?-1:1)).multiply(new jt.Matrix4().makeTranslation(0,u.d/1e3,0)).multiply(new jt.Matrix4().makeTranslation(u.a/1e3,0,0)).multiply(new jt.Matrix4().makeRotationX(u.alpha));return n.multiply(y),n.decompose(d,h,m),{a:v,b:d}}function o(u,c,d,h){if(!t)return;const m=t[u];if(!m)return;const{a:v,b:y}=a(m,h);c.geometry.setPositions([v.toArray(),y.toArray()].flat()),d.position.set(y.x,y.y,y.z)}function i(u,c){n.identity(),u.forEach((d,h)=>{o(h,d.getObjectByName(Ss),d.getObjectByName(xs),c[h])})}function l(u){return al(u,"^group_[0-9]+$")}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:e,robotRootObjectName:"Scene",onRotationChanged:i,jointCollector:l}),s.jsxs("group",{...r,name:"Scene",children:[s.jsxs("mesh",{children:[s.jsx("sphereGeometry",{args:[.01,32,32]}),s.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]}),t.map((u,c)=>{const{a:d,b:h}=a(u,e.state.joint_position.joints[c]??0);return s.jsxs("group",{name:`group_${c}`,children:[s.jsx(oe.Line,{name:Ss,points:[d,h],color:"white",lineWidth:5}),s.jsxs("mesh",{name:xs,position:h,children:[s.jsx("sphereGeometry",{args:[.01,32,32]}),s.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]},"mesh_"+c)]},"group_"+c)})]})]})}const om=console.warn;function sm(){return Z.useEffect(()=>{console.warn=e=>{e!=="Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"&&om(e)}},[]),s.jsx(s.Fragment,{})}function xo(e){return`https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/${e}.glb`}const sl=en(({rapidlyChangingMotionState:e,modelFromController:t,dhParameters:r,getModel:n=xo,isGhost:a=!1,...o})=>{let i;const l=Z.useRef(new Ce.Group),u=Z.useCallback(h=>{h!==null&&(l.current=h,console.log("robotRef.current",l.current),a&&l.current&&l.current.children.length>0&&c())},[a]),c=()=>{l.current&&!l.current.userData.ghostsCreated&&(l.current.traverse(h=>{if(h instanceof Ce.Mesh&&!h.userData.isGhost){h.material instanceof Ce.Material&&(h.material.colorWrite=!1);const m=h.clone(),v=h.clone();m.material=new Ce.MeshStandardMaterial({depthTest:!0,depthWrite:!0,colorWrite:!1,polygonOffset:!0,polygonOffsetFactor:1}),m.userData.isGhost=!0,v.material=new Ce.MeshStandardMaterial({color:"#D91433",opacity:.3,depthTest:!0,depthWrite:!1,transparent:!0,polygonOffset:!0,polygonOffsetFactor:-1}),v.userData.isGhost=!0,h.parent&&(h.parent.add(m),h.parent.add(v))}}),l.current.userData.ghostsCreated=!0)},d=()=>{if(l.current){const h=[];l.current.traverse(m=>{m instanceof Ce.Mesh&&m.material instanceof Ce.Material&&(m.material.colorWrite=!0),m instanceof Ce.Mesh&&m.userData!==void 0&&m.userData&&m.userData.isGhost!==void 0&&m.userData.isGhost&&h.push(m)}),h.forEach(m=>{m.parent&&m.parent.remove(m)}),l.current.userData.ghostsCreated=!1}};switch(Z.useEffect(()=>{a?c():d()},[a]),t){case"UniversalRobots_UR3":i=Dd;break;case"UniversalRobots_UR3e":i=Bd;break;case"UniversalRobots_UR5":i=Ud;break;case"UniversalRobots_UR5e":i=Jd;break;case"UniversalRobots_UR10":i=Vd;break;case"UniversalRobots_UR10e":i=Gd;break;case"Yaskawa_AR900":i=vs;break;case"Yaskawa_GP7":i=vs;break;case"Yaskawa_AR1440":i=zd;break;case"Yaskawa_AR1730":i=Wd;break;case"Yaskawa_AR2010":i=Kd;break;case"Yaskawa_AR3120":i=Hd;break;case"Yaskawa_GP50":i=qd;break;case"FANUC_CRX10iA":i=Xd;break;case"FANUC_CRX20iAL":i=Yd;break;case"FANUC_CRX25iA":i=Zd;break;case"FANUC_CRX25iAL":i=Qd;break;case"FANUC_ARC_Mate_120iD":i=bs;break;case"FANUC_ARC_Mate_120iD35":i=bs;break;case"FANUC_ARC_Mate_100iD":i=nm;break;case"KUKA_KR210_R2700":i=em;break;case"KUKA_KR270_R2700":i=tm;break;case"KUKA_KR16_R2010_2":i=rm;break;case"ABB_1200_07_7":i=am;break;default:console.warn(`Unknown robot type: ${t}`),i=Ea}return s.jsxs(Au.ErrorBoundary,{fallback:s.jsx(Ea,{rapidlyChangingMotionState:e,dhParameters:r,...o}),children:[s.jsx(Z.Suspense,{fallback:s.jsx(Ea,{rapidlyChangingMotionState:e,dhParameters:r,...o}),children:s.jsx("group",{ref:u,children:s.jsx(i,{rapidlyChangingMotionState:e,modelURL:n(t),dhParameters:r,...o})})}),s.jsx(sm,{})]})});function im({connectedMotionGroup:e,getModel:t=xo,isGhost:r=!1,...n}){return e.dhParameters?s.jsx(sl,{rapidlyChangingMotionState:e.rapidlyChangingMotionState,modelFromController:e.modelFromController||"",dhParameters:e.dhParameters,getModel:t,isGhost:r,...n}):null}function lm(){return s.jsx(oe.Environment,{children:s.jsx(um,{})})}function um({positions:e=[2,0,2,0,2,0,2,0]}){return s.jsxs(s.Fragment,{children:[s.jsx(oe.Lightformer,{intensity:5,"rotation-x":Math.PI/2,position:[0,5,-9],scale:[10,10,1]}),s.jsx("group",{rotation:[0,.5,0],children:s.jsx("group",{children:e.map((t,r)=>s.jsx(oe.Lightformer,{form:"circle",intensity:5,rotation:[Math.PI/2,0,0],position:[t,4,r*4],scale:[3,1,1]},r))})}),s.jsx(oe.Lightformer,{intensity:40,"rotation-y":Math.PI/2,position:[-5,1,-1],scale:[20,.1,1]}),s.jsx(oe.Lightformer,{intensity:20,"rotation-y":-Math.PI,position:[-5,-2,-1],scale:[20,.1,1]}),s.jsx(oe.Lightformer,{"rotation-y":Math.PI/2,position:[-5,-1,-1],scale:[20,.5,1],intensity:5}),s.jsx(oe.Lightformer,{"rotation-y":-Math.PI/2,position:[10,1,0],scale:[20,1,1],intensity:10}),s.jsx(oe.Lightformer,{form:"ring",color:"white",intensity:5,scale:10,position:[-15,4,-18],target:[0,0,0]})]})}function cm(e){if(e.length<3)return console.log("Not enough vertices to define a plane"),{isCoplanar:!1};const t=new Ce.Vector3(e[0].x,e[0].y,e[0].z),r=new Ce.Vector3(e[1].x,e[1].y,e[1].z),n=new Ce.Vector3(e[2].x,e[2].y,e[2].z),a=new Ce.Vector3().subVectors(r,t),o=new Ce.Vector3().subVectors(n,t),i=new Ce.Vector3().crossVectors(a,o).normalize();for(let l=3;l<e.length;l++){const u=new Ce.Vector3(e[l].x,e[l].y,e[l].z),c=new Ce.Vector3().subVectors(u,t),d=i.dot(c);if(Math.abs(d)>1e-6)return console.log("Vertices are not on the same plane"),{isCoplanar:!1}}return{isCoplanar:!0,normal:i}}function dm({safetyZones:e,...t}){return s.jsx("group",{...t,children:e.map((r,n)=>{let a=[];return r.geometry&&(r.geometry.compound?a=r.geometry.compound.child_geometries:r.geometry.convex_hull&&(a=[r.geometry])),a.map((o,i)=>{if(!o.convex_hull)return null;const l=o.convex_hull.vertices.map(d=>new Ce.Vector3(d.x/1e3,d.y/1e3,d.z/1e3)),u=cm(l);if(u.isCoplanar&&u.normal){const h=new Ce.Vector3().addVectors(l[0],u.normal.multiplyScalar(1e-4));l.push(h)}let c;try{c=new Pu.ConvexGeometry(l)}catch(d){return console.log("Error creating ConvexGeometry:",d),null}return s.jsx(s.Fragment,{children:s.jsx("mesh",{geometry:c,children:s.jsx("meshStandardMaterial",{attach:"material",color:"#009f4d",opacity:.2,depthTest:!1,depthWrite:!1,transparent:!0,polygonOffset:!0,polygonOffsetFactor:-i},n)},`${n}-${i}`)})})})})}function Hr(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const mm=Object.freeze(Object.defineProperty({__proto__:null,default:Hr},Symbol.toStringTag,{value:"Module"}));var hm=!1;function fm(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function pm(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var gm=function(){function e(r){var n=this;this._insertTag=function(a){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,o),n.tags.push(a)},this.isSpeedy=r.speedy===void 0?!hm:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(pm(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=fm(a);try{o.insertRule(n,o.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var a;return(a=n.parentNode)==null?void 0:a.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Te="-ms-",Bn="-moz-",ne="-webkit-",il="comm",wo="rule",jo="decl",ym="@import",ll="@keyframes",_m="@layer",vm=Math.abs,ra=String.fromCharCode,bm=Object.assign;function Sm(e,t){return Pe(e,0)^45?(((t<<2^Pe(e,0))<<2^Pe(e,1))<<2^Pe(e,2))<<2^Pe(e,3):0}function ul(e){return e.trim()}function xm(e,t){return(e=t.exec(e))?e[0]:e}function ae(e,t,r){return e.replace(t,r)}function eo(e,t){return e.indexOf(t)}function Pe(e,t){return e.charCodeAt(t)|0}function qr(e,t,r){return e.slice(t,r)}function ht(e){return e.length}function Ro(e){return e.length}function pn(e,t){return t.push(e),e}function wm(e,t){return e.map(t).join("")}var na=1,br=1,cl=0,Be=0,Se=0,jr="";function aa(e,t,r,n,a,o,i){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:na,column:br,length:i,return:""}}function Dr(e,t){return bm(aa("",null,null,"",null,null,0),e,{length:-e.length},t)}function jm(){return Se}function Rm(){return Se=Be>0?Pe(jr,--Be):0,br--,Se===10&&(br=1,na--),Se}function Ke(){return Se=Be<cl?Pe(jr,Be++):0,br++,Se===10&&(br=1,na++),Se}function gt(){return Pe(jr,Be)}function Cn(){return Be}function nn(e,t){return qr(jr,e,t)}function Xr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function dl(e){return na=br=1,cl=ht(jr=e),Be=0,[]}function ml(e){return jr="",e}function An(e){return ul(nn(Be-1,to(e===91?e+2:e===40?e+1:e)))}function Cm(e){for(;(Se=gt())&&Se<33;)Ke();return Xr(e)>2||Xr(Se)>3?"":" "}function Am(e,t){for(;--t&&Ke()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return nn(e,Cn()+(t<6&>()==32&&Ke()==32))}function to(e){for(;Ke();)switch(Se){case e:return Be;case 34:case 39:e!==34&&e!==39&&to(Se);break;case 40:e===41&&to(e);break;case 92:Ke();break}return Be}function Pm(e,t){for(;Ke()&&e+Se!==57;)if(e+Se===84&>()===47)break;return"/*"+nn(t,Be-1)+"*"+ra(e===47?e:Ke())}function Om(e){for(;!Xr(gt());)Ke();return nn(e,Be)}function Tm(e){return ml(Pn("",null,null,null,[""],e=dl(e),0,[0],e))}function Pn(e,t,r,n,a,o,i,l,u){for(var c=0,d=0,h=i,m=0,v=0,y=0,_=1,g=1,x=1,j=0,C="",L=a,R=o,P=n,O=C;g;)switch(y=j,j=Ke()){case 40:if(y!=108&&Pe(O,h-1)==58){eo(O+=ae(An(j),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:O+=An(j);break;case 9:case 10:case 13:case 32:O+=Cm(y);break;case 92:O+=Am(Cn()-1,7);continue;case 47:switch(gt()){case 42:case 47:pn(Mm(Pm(Ke(),Cn()),t,r),u);break;default:O+="/"}break;case 123*_:l[c++]=ht(O)*x;case 125*_:case 59:case 0:switch(j){case 0:case 125:g=0;case 59+d:x==-1&&(O=ae(O,/\f/g,"")),v>0&&ht(O)-h&&pn(v>32?js(O+";",n,r,h-1):js(ae(O," ","")+";",n,r,h-2),u);break;case 59:O+=";";default:if(pn(P=ws(O,t,r,c,d,a,l,C,L=[],R=[],h),o),j===123)if(d===0)Pn(O,t,P,P,L,o,h,l,R);else switch(m===99&&Pe(O,3)===110?100:m){case 100:case 108:case 109:case 115:Pn(e,P,P,n&&pn(ws(e,P,P,0,0,a,l,C,a,L=[],h),R),a,R,h,l,n?L:R);break;default:Pn(O,P,P,P,[""],R,0,l,R)}}c=d=v=0,_=x=1,C=O="",h=i;break;case 58:h=1+ht(O),v=y;default:if(_<1){if(j==123)--_;else if(j==125&&_++==0&&Rm()==125)continue}switch(O+=ra(j),j*_){case 38:x=d>0?1:(O+="\f",-1);break;case 44:l[c++]=(ht(O)-1)*x,x=1;break;case 64:gt()===45&&(O+=An(Ke())),m=gt(),d=h=ht(C=O+=Om(Cn())),j++;break;case 45:y===45&&ht(O)==2&&(_=0)}}return o}function ws(e,t,r,n,a,o,i,l,u,c,d){for(var h=a-1,m=a===0?o:[""],v=Ro(m),y=0,_=0,g=0;y<n;++y)for(var x=0,j=qr(e,h+1,h=vm(_=i[y])),C=e;x<v;++x)(C=ul(_>0?m[x]+" "+j:ae(j,/&\f/g,m[x])))&&(u[g++]=C);return aa(e,t,r,a===0?wo:l,u,c,d)}function Mm(e,t,r){return aa(e,t,r,il,ra(jm()),qr(e,2,-2),0)}function js(e,t,r,n){return aa(e,t,r,jo,qr(e,0,n),qr(e,n+1,-1),n)}function gr(e,t){for(var r="",n=Ro(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function Im(e,t,r,n){switch(e.type){case _m:if(e.children.length)break;case ym:case jo:return e.return=e.return||e.value;case il:return"";case ll:return e.return=e.value+"{"+gr(e.children,n)+"}";case wo:e.value=e.props.join(",")}return ht(r=gr(e.children,n))?e.return=e.value+"{"+r+"}":""}function Em(e){var t=Ro(e);return function(r,n,a,o){for(var i="",l=0;l<t;l++)i+=e[l](r,n,a,o)||"";return i}}function km(e){return function(t){t.root||(t=t.return)&&e(t)}}var Lm=function(t,r,n){for(var a=0,o=0;a=o,o=gt(),a===38&&o===12&&(r[n]=1),!Xr(o);)Ke();return nn(t,Be)},$m=function(t,r){var n=-1,a=44;do switch(Xr(a)){case 0:a===38&>()===12&&(r[n]=1),t[n]+=Lm(Be-1,r,n);break;case 2:t[n]+=An(a);break;case 4:if(a===44){t[++n]=gt()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=ra(a)}while(a=Ke());return t},Nm=function(t,r){return ml($m(dl(t),r))},Rs=new WeakMap,Fm=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,a=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Rs.get(n))&&!a){Rs.set(t,!0);for(var o=[],i=Nm(r,o),l=n.props,u=0,c=0;u<i.length;u++)for(var d=0;d<l.length;d++,c++)t.props[c]=o[u]?i[u].replace(/&\f/g,l[d]):l[d]+" "+i[u]}}},Dm=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function hl(e,t){switch(Sm(e,t)){case 5103:return ne+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ne+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ne+e+Bn+e+Te+e+e;case 6828:case 4268:return ne+e+Te+e+e;case 6165:return ne+e+Te+"flex-"+e+e;case 5187:return ne+e+ae(e,/(\w+).+(:[^]+)/,ne+"box-$1$2"+Te+"flex-$1$2")+e;case 5443:return ne+e+Te+"flex-item-"+ae(e,/flex-|-self/,"")+e;case 4675:return ne+e+Te+"flex-line-pack"+ae(e,/align-content|flex-|-self/,"")+e;case 5548:return ne+e+Te+ae(e,"shrink","negative")+e;case 5292:return ne+e+Te+ae(e,"basis","preferred-size")+e;case 6060:return ne+"box-"+ae(e,"-grow","")+ne+e+Te+ae(e,"grow","positive")+e;case 4554:return ne+ae(e,/([^-])(transform)/g,"$1"+ne+"$2")+e;case 6187:return ae(ae(ae(e,/(zoom-|grab)/,ne+"$1"),/(image-set)/,ne+"$1"),e,"")+e;case 5495:case 3959:return ae(e,/(image-set\([^]*)/,ne+"$1$`$1");case 4968:return ae(ae(e,/(.+:)(flex-)?(.*)/,ne+"box-pack:$3"+Te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ne+e+e;case 4095:case 3583:case 4068:case 2532:return ae(e,/(.+)-inline(.+)/,ne+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ht(e)-1-t>6)switch(Pe(e,t+1)){case 109:if(Pe(e,t+4)!==45)break;case 102:return ae(e,/(.+:)(.+)-([^]+)/,"$1"+ne+"$2-$3$1"+Bn+(Pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~eo(e,"stretch")?hl(ae(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Pe(e,t+1)!==115)break;case 6444:switch(Pe(e,ht(e)-3-(~eo(e,"!important")&&10))){case 107:return ae(e,":",":"+ne)+e;case 101:return ae(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ne+(Pe(e,14)===45?"inline-":"")+"box$3$1"+ne+"$2$3$1"+Te+"$2box$3")+e}break;case 5936:switch(Pe(e,t+11)){case 114:return ne+e+Te+ae(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ne+e+Te+ae(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ne+e+Te+ae(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ne+e+Te+e+e}return e}var Bm=function(t,r,n,a){if(t.length>-1&&!t.return)switch(t.type){case jo:t.return=hl(t.value,t.length);break;case ll:return gr([Dr(t,{value:ae(t.value,"@","@"+ne)})],a);case wo:if(t.length)return wm(t.props,function(o){switch(xm(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return gr([Dr(t,{props:[ae(o,/:(read-\w+)/,":"+Bn+"$1")]})],a);case"::placeholder":return gr([Dr(t,{props:[ae(o,/:(plac\w+)/,":"+ne+"input-$1")]}),Dr(t,{props:[ae(o,/:(plac\w+)/,":"+Bn+"$1")]}),Dr(t,{props:[ae(o,/:(plac\w+)/,Te+"input-$1")]})],a)}return""})}},Um=[Bm],Jm=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(_){var g=_.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(_),_.setAttribute("data-s",""))})}var a=t.stylisPlugins||Um,o={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(_){for(var g=_.getAttribute("data-emotion").split(" "),x=1;x<g.length;x++)o[g[x]]=!0;l.push(_)});var u,c=[Fm,Dm];{var d,h=[Im,km(function(_){d.insert(_)})],m=Em(c.concat(a,h)),v=function(g){return gr(Tm(g),m)};u=function(g,x,j,C){d=j,v(g?g+"{"+x.styles+"}":x.styles),C&&(y.inserted[x.name]=!0)}}var y={key:r,sheet:new gm({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:u};return y.sheet.hydrate(l),y};let ro;typeof document=="object"&&(ro=Jm({key:"css",prepend:!0}));function fl(e){const{injectFirst:t,children:r}=e;return t&&ro?s.jsx(pr.CacheProvider,{value:ro,children:r}):r}process.env.NODE_ENV!=="production"&&(fl.propTypes={children:f.node,injectFirst:f.bool});function Vm(e){return e==null||Object.keys(e).length===0}function pl(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?a=>t(Vm(a)?r:a):t;return s.jsx(pr.Global,{styles:n})}process.env.NODE_ENV!=="production"&&(pl.propTypes={defaultTheme:f.object,styles:f.oneOfType([f.array,f.string,f.object,f.func])});/**
|
|
35
|
+
`+o):n.stack=o}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ht(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:o}=r;n!==void 0&&Za.assertOptions(n,{silentJSONParsing:Lt.transitional(Lt.boolean),forcedJSONParsing:Lt.transitional(Lt.boolean),clarifyTimeoutError:Lt.transitional(Lt.boolean)},!1),a!=null&&(S.isFunction(a)?r.paramsSerializer={serialize:a}:Za.assertOptions(a,{encode:Lt.function,serialize:Lt.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=o&&S.merge(o.common,o[r.method]);o&&S.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),r.headers=Fe.concat(i,o);const l=[];let u=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(r)===!1||(u=u&&_.synchronous,l.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let d,h=0,m;if(!u){const y=[gs.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,c),m=y.length,d=Promise.resolve(r);h<m;)d=d.then(y[h++],y[h++]);return d}m=l.length;let v=r;for(h=0;h<m;){const y=l[h++],_=l[h++];try{v=y(v)}catch(g){_.call(this,g);break}}try{d=gs.call(this,v)}catch(y){return Promise.reject(y)}for(h=0,m=c.length;h<m;)d=d.then(c[h++],c[h++]);return d}getUri(t){t=Ht(this.defaults,t);const r=Hi(t.baseURL,t.url);return Vi(r,t.params,t.paramsSerializer)}};S.forEach(["delete","get","head","options"],function(t){Kt.prototype[t]=function(r,n){return this.request(Ht(n||{},{method:t,url:r,data:(n||{}).data}))}});S.forEach(["post","put","patch"],function(t){function r(n){return function(o,i,l){return this.request(Ht(l||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}Kt.prototype[t]=r(),Kt.prototype[t+"Form"]=r(!0)});let Td=class el{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(a=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](a);n._listeners=null}),this.promise.then=a=>{let o;const i=new Promise(l=>{n.subscribe(l),o=l}).then(a);return i.cancel=function(){n.unsubscribe(o)},i},t(function(o,i,l){n.reason||(n.reason=new xr(o,i,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new el(function(a){t=a}),cancel:t}}};function Md(e){return function(r){return e.apply(null,r)}}function Id(e){return S.isObject(e)&&e.isAxiosError===!0}const Qa={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Qa).forEach(([e,t])=>{Qa[t]=e});function tl(e){const t=new Kt(e),r=Mi(Kt.prototype.request,t);return S.extend(r,Kt.prototype,t,{allOwnKeys:!0}),S.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return tl(Ht(e,a))},r}const xe=tl(rn);xe.Axios=Kt;xe.CanceledError=xr;xe.CancelToken=Td;xe.isCancel=Wi;xe.VERSION=Qi;xe.toFormData=Zn;xe.AxiosError=J;xe.Cancel=xe.CanceledError;xe.all=function(t){return Promise.all(t)};xe.spread=Md;xe.isAxiosError=Id;xe.mergeConfig=Ht;xe.AxiosHeaders=Fe;xe.formToJSON=e=>zi(S.isHTMLForm(e)?new FormData(e):e);xe.getAdapter=Zi.getAdapter;xe.HttpStatusCode=Qa;xe.default=xe;const{Axios:Y_,AxiosError:_s,CanceledError:Z_,isCancel:Q_,CancelToken:ev,VERSION:tv,all:rv,Cancel:nv,isAxiosError:av,spread:ov,toFormData:sv,AxiosHeaders:iv,HttpStatusCode:lv,formToJSON:uv,getAdapter:cv,mergeConfig:dv}=xe;function Ed(e){try{return JSON.stringify(e)}catch{return}}function kd(e){var t,r,n,a;return e instanceof _s&&e.code==="ERR_NETWORK"?"Failed to connect to the server. Please check your internet connection.":e instanceof _s&&e.response?`${(t=e.response)==null?void 0:t.status} ${(r=e.response)==null?void 0:r.statusText} from ${(n=e.response)==null?void 0:n.config.url}: ${JSON.stringify((a=e.response)==null?void 0:a.data)}`:e instanceof Error?e.message:`Unexpected error: ${Ed(e)||e}`}const ea=e=>{const t=e.softTimeout||3e3,[r,n]=Z.useState(!1);return Z.useEffect(()=>{const a=setTimeout(()=>{n(!0)},t);return()=>clearTimeout(a)}),s.jsx(E.Stack,{width:"100%",height:"100%",alignItems:"center",justifyContent:"center",children:e.error?s.jsx(rl,{loadingMessage:e.message,error:e.error}):s.jsxs(s.Fragment,{children:[s.jsx(E.CircularProgress,{sx:{marginBottom:"24px"}}),!!e.message&&s.jsx("div",{children:e.message}),s.jsx(E.Stack,{sx:{visibility:r?"visible":"hidden",marginTop:"1rem",color:"gray"},children:"This is taking longer than expected..."})]})})},rl=e=>{const t=kd(e.error),r=e.error instanceof Error?e.error.stack:null,n=E.useTheme();return s.jsxs(E.Stack,{sx:{maxHeight:"100%",maxWidth:"min(100%, 800px)",padding:2,overflow:"auto",color:n.palette.error.main,"& pre":{whiteSpace:"pre-wrap",wordBreak:"break-word",paddingBottom:"3rem"}},children:[(e.loadingMessage?`Error while ${Ci.lowerFirst(E.capitalize(e.loadingMessage))} - `:"")+t,s.jsx("br",{}),r&&s.jsx("pre",{children:r})]})},Ld=Z.lazy(()=>import("@monaco-editor/react")),$d=en(e=>{const t=E.useTheme(),r=Z.useRef(null),[n,a]=Z.useState("dark-plus"),o=t.palette.mode==="dark"?"dark-plus":"light-plus";async function i(l){const[{createHighlighter:u},{shikiToMonaco:c}]=await Promise.all([import("shiki"),import("@shikijs/monaco")]);l.languages.register({id:"wandelscript"}),l.languages.setLanguageConfiguration("wandelscript",{comments:{lineComment:"#"},brackets:[["(",")"],["[","]"]],autoClosingPairs:[{open:"[",close:"]"},{open:"(",close:")"}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"}]}),r.current||(r.current=await u({langs:[Iu],themes:["dark-plus","light-plus"]})),c(r.current,l),l.editor.defineTheme(o,{base:t.palette.mode==="dark"?"vs-dark":"vs",inherit:!0,rules:[],colors:t.palette.mode==="dark"?{"editor.background":"#262F42","editorLineNumber.foreground":"#797979","editorLineNumber.activeForeground":"#e9e9e9","editor.lineHighlightBorder":"#494949"}:{}}),e.monacoSetup&&e.monacoSetup(l),a(o)}return s.jsx(Z.Suspense,{fallback:s.jsx(ea,{}),children:s.jsx(Ld,{value:e.code,onMount:(l,u)=>{i(u)},onChange:e.onChange,defaultLanguage:"wandelscript",theme:n,options:{minimap:{enabled:!1},wordWrap:"on",automaticLayout:!0,...e.monacoOptions}})})}),Nd="(^joint_[0-9]+$)|(_J[0-9]+$)";function nl(e){return e.children.length===0?[e]:[e,...e.children.flatMap(t=>nl(t))]}function Fd(e,t){return new RegExp(t??Nd).test(e)}function al(e,t){return nl(e).filter(r=>Fd(r.name,t))}function ta(e){Z.useEffect(e,[])}function ol(e){ta(()=>mt.autorun(e))}function So(e,t,r){ta(()=>mt.reaction(e,t,r))}function wr(e){return ta(()=>{let t;function r(){e(),t=requestAnimationFrame(r)}return t=requestAnimationFrame(r),()=>{cancelAnimationFrame(t)}})}function he({rapidlyChangingMotionState:e,robotRootObjectName:t,onRotationChanged:r,jointCollector:n}){b.Globals.assign({frameLoop:"always"});const a=Z.useRef([]),o=Z.useRef([]),{scene:i,invalidate:l}=Cu.useThree();Z.useEffect(()=>{const m=i.getObjectByName(t);m&&(o.current=n?n(m):al(m),c(),l())},[]);function u(m){a.current=m,h.start(Object.assign({},a.current))}function c(){const m=o.current.map((v,y)=>d[y].get());r(o.current,m)}ol(()=>{const m=e.state.joint_position.joints.filter(v=>v!==void 0);requestAnimationFrame(()=>u(m))});const[d,h]=b.useSpring(()=>({...Object.assign({},e.state.joint_position.joints),onChange:()=>{c(),l()},onResolve:()=>{c()}}));return null}function Dd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials;function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"UR3",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3_J03",position:[-.244,0,0],children:[s.jsxs(b.animated.group,{name:"UR3_J04",position:[-.213,0,0],children:[s.jsxs(b.animated.group,{name:"UR3_J05",position:[0,.112,0],rotation:[Math.PI/2,0,0],children:[s.jsx("mesh",{name:"UR3_05",castShadow:!0,receiveShadow:!0,geometry:a.UR3_05.geometry,material:o.Standard}),s.jsxs(b.animated.group,{name:"UR3_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"UR3_FLG",position:[0,.082,0]}),s.jsx("mesh",{name:"UR3_L06",castShadow:!0,receiveShadow:!0,geometry:a.UR3_L06.geometry,material:o.Standard})]})]}),s.jsx("mesh",{name:"UR3_L04",castShadow:!0,receiveShadow:!0,geometry:a.UR3_L04.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3_L03",castShadow:!0,receiveShadow:!0,geometry:a.UR3_L03.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3_L02",castShadow:!0,receiveShadow:!0,geometry:a.UR3_L02.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3_L01",castShadow:!0,receiveShadow:!0,geometry:a.UR3_L01.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3_L00",castShadow:!0,receiveShadow:!0,geometry:a.UR3_L00.geometry,material:o.Standard,rotation:[-Math.PI/2,0,0]})]})})})]})}function Bd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials;function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs(b.animated.group,{name:"UR3e",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3e_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3e_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3e_J03",position:[-.244,0,0],children:[s.jsxs(b.animated.group,{name:"UR3e_J04",position:[-.213,0,0],children:[s.jsxs(b.animated.group,{name:"UR3e_J05",position:[0,.131,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR3e_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"UR3e_FLG",position:[0,.092,0]}),s.jsx("mesh",{name:"UR3e_L06",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L06.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3e_L05",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L05.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3e_L04",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L04.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3e_L03",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L03.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3e_L02",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L02.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3e_L01",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L01.geometry,material:o.Standard})]}),s.jsx("mesh",{name:"UR3e_L00",castShadow:!0,receiveShadow:!0,geometry:a.UR3e_L00.geometry,material:o.Standard,rotation:[-Math.PI/2,0,0]})]})})})]})}function Ud({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials;function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_J00",children:[s.jsxs(b.animated.group,{name:"link_1",children:[s.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_1.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_2.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_3.geometry,material:o.universalrobots_lightblue})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_J01",position:[0,.089,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"link_2",position:[0,0,.089],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_1.geometry,material:o.universalrobots_lightblue}),s.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_2.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_3.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_2_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_4.geometry,material:o.universalrobots_darkgrey})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_J02",position:[-.425,0,0],children:[s.jsxs(b.animated.group,{name:"link_3",position:[.425,0,.089],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3.geometry,material:o.universalrobots_lightblue}),s.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_1.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_2.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_3.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_3_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_4.geometry,material:o.universalrobots_stainlesssteel})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_J03",position:[-.392,0,0],children:[s.jsxs(b.animated.group,{name:"link_4",position:[.817,0,.089],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_1.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_2.geometry,material:o.universalrobots_lightblue}),s.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_3.geometry,material:o.universalrobots_black})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_J04",position:[0,.109,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"link_5",position:[.817,.089,.109],rotation:[Math.PI,0,0],children:[s.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_1.geometry,material:o.universalrobots_lightblue}),s.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_2.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_5_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_3.geometry,material:o.universalrobots_black})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_J05",position:[0,.095,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:a.link_6.geometry,material:o.universalrobots_stainlesssteel,position:[.817,-.109,-.005],rotation:[-Math.PI/2,0,0]}),s.jsx(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_FLG",position:[0,.082,0]})]})]})]})]})]})]}),s.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:a.link_0.geometry,material:o.universalrobots_aluminum})]})})]})}function Jd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials;function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"UR5e",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR5e_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR5e_J02",position:[0,.162,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR5e_J03",position:[-.425,0,0],children:[s.jsxs(b.animated.group,{name:"UR5e_J04",position:[-.392,0,0],children:[s.jsxs(b.animated.group,{name:"UR5e_J05",position:[0,.133,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR5e_J06",position:[0,.1,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"UR5e_FLG",position:[0,.1,0]}),s.jsx("group",{name:"UR5e_L06",position:[0,.1,0],rotation:[0,0,-Math.PI],children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000255",castShadow:!0,receiveShadow:!0,geometry:a["C-1000255"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000255_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000255_1"].geometry,material:o.Metal})]})})]}),s.jsx("group",{name:"UR5e_L05",rotation:[-Math.PI/2,-Math.PI/3,0],children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000253",castShadow:!0,receiveShadow:!0,geometry:a["C-1000253"].geometry,material:o.Blue}),s.jsx("mesh",{name:"C-1000253_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000253_1"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000253_2",castShadow:!0,receiveShadow:!0,geometry:a["C-1000253_2"].geometry,material:o.Metal}),s.jsx("mesh",{name:"C-1000253_3",castShadow:!0,receiveShadow:!0,geometry:a["C-1000253_3"].geometry,material:o.DarkGray})]})})]}),s.jsx("group",{name:"UR5e_L04",rotation:[0,-Math.PI/3,0],children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000251",castShadow:!0,receiveShadow:!0,geometry:a["C-1000251"].geometry,material:o.Blue}),s.jsx("mesh",{name:"C-1000251_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000251_1"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000251_2",castShadow:!0,receiveShadow:!0,geometry:a["C-1000251_2"].geometry,material:o.Metal}),s.jsx("mesh",{name:"C-1000251_3",castShadow:!0,receiveShadow:!0,geometry:a["C-1000251_3"].geometry,material:o.DarkGray})]})})]}),s.jsx("group",{name:"UR5e_L03",children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000250",castShadow:!0,receiveShadow:!0,geometry:a["C-1000250"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000250_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000250_1"].geometry,material:o.DarkGray}),s.jsx("mesh",{name:"C-1000250_2",castShadow:!0,receiveShadow:!0,geometry:a["C-1000250_2"].geometry,material:o.Blue}),s.jsx("mesh",{name:"C-1000250_3",castShadow:!0,receiveShadow:!0,geometry:a["C-1000250_3"].geometry,material:o.Metal}),s.jsx("mesh",{name:"C-1000250_4",castShadow:!0,receiveShadow:!0,geometry:a["C-1000250_4"].geometry,material:o.Metal})]})})]}),s.jsx("group",{name:"UR5e_L02",rotation:[0,-Math.PI/2,0],children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000249",castShadow:!0,receiveShadow:!0,geometry:a["C-1000249"].geometry,material:o.Metal}),s.jsx("mesh",{name:"C-1000249_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000249_1"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000249_2",castShadow:!0,receiveShadow:!0,geometry:a["C-1000249_2"].geometry,material:o.DarkGray}),s.jsx("mesh",{name:"C-1000249_3",castShadow:!0,receiveShadow:!0,geometry:a["C-1000249_3"].geometry,material:o.Blue}),s.jsx("mesh",{name:"C-1000249_4",castShadow:!0,receiveShadow:!0,geometry:a["C-1000249_4"].geometry,material:o.Metal})]})})]}),s.jsx("group",{name:"UR5e_L01",rotation:[Math.PI/2,0,0],children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000248",castShadow:!0,receiveShadow:!0,geometry:a["C-1000248"].geometry,material:o.DarkGray}),s.jsx("mesh",{name:"C-1000248_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000248_1"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000248_2",castShadow:!0,receiveShadow:!0,geometry:a["C-1000248_2"].geometry,material:o.Blue}),s.jsx("mesh",{name:"C-1000248_3",castShadow:!0,receiveShadow:!0,geometry:a["C-1000248_3"].geometry,material:o.Metal})]})})]}),s.jsx("group",{name:"UR5e_L00",children:s.jsxs(s.Fragment,{children:[s.jsx("mesh",{name:"C-1000257",castShadow:!0,receiveShadow:!0,geometry:a["C-1000257"].geometry,material:o.Black}),s.jsx("mesh",{name:"C-1000257_1",castShadow:!0,receiveShadow:!0,geometry:a["C-1000257_1"].geometry,material:o.Metal})]})})]})})})]})}function Vd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials;function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_J00",children:[s.jsxs("group",{name:"link_0",children:[s.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:a.visuals_0.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_0_1.geometry,material:o.universalrobots_aluminum})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_J01",position:[0,.127,0],rotation:[Math.PI/2,0,0],children:[s.jsxs("group",{name:"link_1",position:[0,0,.127],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_1.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_2.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_3.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_1_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_4.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_1_5",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1_5.geometry,material:o.universalrobots_lightblue})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_J02",position:[-.612,0,0],children:[s.jsxs("group",{name:"link_2",position:[.612,0,.127],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_1.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_2.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_3.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_2_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_4.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_2_5",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2_5.geometry,material:o.universalrobots_lightblue})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_J03",position:[-.572,0,0],children:[s.jsxs("group",{name:"link_3",position:[1.184,0,.127],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_1.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_2.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_3.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_3_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_3_4.geometry,material:o.universalrobots_lightblue})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_J04",position:[0,.164,0],rotation:[Math.PI/2,0,0],children:[s.jsxs("group",{name:"link_4",position:[1.184,.127,.164],rotation:[Math.PI,0,0],children:[s.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_1.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_2.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_3.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_4_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_4_4.geometry,material:o.universalrobots_lightblue})]}),s.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_J05",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs("group",{name:"link_5",position:[1.184,-.164,.012],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5.geometry,material:o.universalrobots_darkgrey}),s.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_1.geometry,material:o.universalrobots_stainlesssteel}),s.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_2.geometry,material:o.universalrobots_black}),s.jsx("mesh",{name:"visuals_5_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_3.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_5_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals_5_4.geometry,material:o.universalrobots_lightblue})]}),s.jsx("group",{name:"UNIVERSALROBOTS_UR10CB3_FLG",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:s.jsxs("group",{name:"link_6",position:[1.184,-.012,-.28],children:[s.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:a.visuals_6.geometry,material:o.universalrobots_aluminum}),s.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_6_1.geometry,material:o.universalrobots_aluminum})]})})]})]})]})]})]})]})})})]})}function Gd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials;function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"UR10e",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_J02",position:[0,.181,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_J03",position:[-.613,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_J04",position:[-.572,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_J05",position:[0,.174,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_J06",position:[0,.12,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"UR10e_FLG",position:[1.184,-.174,.061],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"C-1000493",geometry:a["C-1000493"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000493_1",geometry:a["C-1000493_1"].geometry,material:o.Metal,castShadow:!0,receiveShadow:!0})]}),s.jsx("group",{name:"UR10e_L07",position:[0,.117,0]})]}),s.jsxs("group",{name:"UR10e_L06",position:[1.184,.181,.174],rotation:[Math.PI,0,0],children:[s.jsx("mesh",{name:"C-1000492",geometry:a["C-1000492"].geometry,material:o.DarkGray,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000492_1",geometry:a["C-1000492_1"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000492_2",geometry:a["C-1000492_2"].geometry,material:o.Blue,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000492_3",geometry:a["C-1000492_3"].geometry,material:o.Screw,castShadow:!0,receiveShadow:!0})]})]}),s.jsxs("group",{name:"UR10e_L05",position:[1.184,0,.181],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"C-1000491",geometry:a["C-1000491"].geometry,material:o.DarkGray,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000491_1",geometry:a["C-1000491_1"].geometry,material:o.Blue,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000491_2",geometry:a["C-1000491_2"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000491_3",geometry:a["C-1000491_3"].geometry,material:o.Screw,castShadow:!0,receiveShadow:!0})]})]}),s.jsxs("group",{name:"UR10e_L04",position:[.613,0,.181],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"C-1000490",geometry:a["C-1000490"].geometry,material:o.Metal,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000490_1",geometry:a["C-1000490_1"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000490_2",geometry:a["C-1000490_2"].geometry,material:o.DarkGray,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000490_3",geometry:a["C-1000490_3"].geometry,material:o.Blue,castShadow:!0,receiveShadow:!0})]})]}),s.jsxs(b.animated.group,{name:"UR10e_L03",position:[0,0,.181],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"C-1000489",geometry:a["C-1000489"].geometry,material:o.Blue,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000489_1",geometry:a["C-1000489_1"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000489_2",geometry:a["C-1000489_2"].geometry,material:o.DarkGray,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000489_3",geometry:a["C-1000489_3"].geometry,material:o.Screw,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000489_4",geometry:a["C-1000489_4"].geometry,material:o.Metal,castShadow:!0,receiveShadow:!0})]})]}),s.jsxs("group",{name:"UR10e_L02",children:[s.jsx("mesh",{name:"C-1000488",geometry:a["C-1000488"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000488_1",geometry:a["C-1000488_1"].geometry,material:o.Blue,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000488_2",geometry:a["C-1000488_2"].geometry,material:o.Screw,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000488_3",geometry:a["C-1000488_3"].geometry,material:o.DarkGray,castShadow:!0,receiveShadow:!0})]})]}),s.jsxs("group",{name:"UR10e_L01",rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"C-1000487",geometry:a["C-1000487"].geometry,material:o.Black,castShadow:!0,receiveShadow:!0}),s.jsx("mesh",{name:"C-1000487_1",geometry:a["C-1000487_1"].geometry,material:o.Metal,castShadow:!0,receiveShadow:!0})]})]})})})]})}function vs({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"AR900",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR900_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR900_J02",position:[.04,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"AR900_J03",position:[.445,0,0],rotation:[-Math.PI,0,0],children:[s.jsxs(b.animated.group,{name:"AR900_J04",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR900_J05",position:[0,-.44,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR900_J06",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"AR900_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"AR900_L06",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L06.geometry,material:o["#BBA474.001"]})]}),s.jsx("mesh",{name:"AR900_L05",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L05.geometry,material:o["#0056b9.001"]})]}),s.jsx("mesh",{name:"AR900_L04",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L04.geometry,material:o["#0056b9.001"]})]}),s.jsx("mesh",{name:"AR900_L03",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L03.geometry,material:o["#0056b9.001"]})]}),s.jsx("mesh",{name:"AR900_L02",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L02.geometry,material:o["#0056b9.001"]})]}),s.jsx("mesh",{name:"AR900_L01",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L01.geometry,material:o["#0056b9.001"]})]}),s.jsx("mesh",{name:"AR900_L00",castShadow:!0,receiveShadow:!0,geometry:a.AR900_L00.geometry,material:o["#0056b9.001"],rotation:[-Math.PI/2,0,0]})]})})})]})}function zd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0],l=[1,-1,1,1,1,1];function u(c,d){c.forEach((h,m)=>h.rotation.y=l[m]*d[m]+i[m])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:u}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"AR1440",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR1440_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR1440_J02",position:[.155,0,0],rotation:[Math.PI/2,0,Math.PI],children:[s.jsxs(b.animated.group,{name:"AR1440_J03",position:[.614,0,0],rotation:[Math.PI,0,0],children:[s.jsxs(b.animated.group,{name:"AR1440_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR1440_J05",position:[0,-.64,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR1440_J06",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"AR1440_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"AR1440_L06_CAD",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L06_CAD.geometry,material:o.metall})]}),s.jsx("mesh",{name:"AR1440_L05_CAD",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L05_CAD.geometry,material:o.yaskawaBlueMetall})]}),s.jsxs("group",{name:"AR1440_L04_CAD",children:[s.jsx("mesh",{name:"AR1440_L04_CAD001",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L04_CAD001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR1440_L04_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L04_CAD001_1.geometry,material:o.white})]})]}),s.jsxs("group",{name:"AR1440_L03_CAD",children:[s.jsx("mesh",{name:"AR1440_L03_CAD001",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L03_CAD001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR1440_L03_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L03_CAD001_1.geometry,material:o.blackMetall})]})]}),s.jsx("mesh",{name:"AR1440_L02_CAD",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L02_CAD.geometry,material:o.yaskawaBlueMetall})]}),s.jsxs("group",{name:"AR1440_L01_CAD",children:[s.jsx("mesh",{name:"AR1440_L01_CAD001",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L01_CAD001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR1440_L01_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L01_CAD001_1.geometry,material:o.blackMetall})]})]}),s.jsx("mesh",{name:"AR1440_L00_CAD",castShadow:!0,receiveShadow:!0,geometry:a.AR1440_L00_CAD.geometry,material:o.yaskawaBlueMetall,position:[0,0,.45],rotation:[-Math.PI/2,0,0]})]})})})]})}function Wd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0],l=[1,-1,1,1,1,1];function u(c,d){c.forEach((h,m)=>h.rotation.y=l[m]*d[m]+i[m])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:u}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs(b.animated.group,{name:"AR1730_J00",children:[s.jsxs(b.animated.group,{name:"AR1730_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"AR1730_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[s.jsxs(b.animated.group,{name:"AR1730_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR1730_J04",position:[0,-.795,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR1730_J05",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"AR1730_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"AR1730_L06",castShadow:!0,receiveShadow:!0,geometry:a.AR1730_L06.geometry,material:o.Metal,rotation:[Math.PI/2,-Math.PI/2,0]})]}),s.jsx("mesh",{name:"AR1730_L05",castShadow:!0,receiveShadow:!0,geometry:a.AR1730_L05.geometry,material:o.Blue,rotation:[Math.PI/2,0,Math.PI/2]})]}),s.jsxs("group",{name:"AR1730_L04",position:[0,-.302,0],rotation:[0,0,-Math.PI/2],children:[s.jsx("mesh",{name:"_R_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:a._R_AXIS_SW0001002.geometry,material:o.Blue}),s.jsx("mesh",{name:"_R_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:a._R_AXIS_SW0001002_1.geometry,material:o.White})]})]}),s.jsxs("group",{name:"AR1730_L03",rotation:[Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"_U_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:a._U_AXIS_SW0001002.geometry,material:o.Blue}),s.jsx("mesh",{name:"_U_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:a._U_AXIS_SW0001002_1.geometry,material:o.Black})]})]}),s.jsx("mesh",{name:"AR1730_L02",castShadow:!0,receiveShadow:!0,geometry:a.AR1730_L02.geometry,material:o.Blue,position:[0,-.157,0],rotation:[-Math.PI,-1.571,0]})]}),s.jsxs("group",{name:"AR1730_L01",position:[0,-.336,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"_S_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:a._S_AXIS_SW0001002.geometry,material:o.Blue}),s.jsx("mesh",{name:"_S_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:a._S_AXIS_SW0001002_1.geometry,material:o.Black})]})]}),s.jsx("mesh",{name:"AR1730_L00",castShadow:!0,receiveShadow:!0,geometry:a.AR1730_L00.geometry,material:o.Blue,position:[0,-.505,0],rotation:[Math.PI/2,0,-Math.PI/2]})]})})]})}function Kd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0],l=[1,-1,1,1,1,1];function u(c,d){c.forEach((h,m)=>h.rotation.y=l[m]*d[m]+i[m])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:u}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"AR2010",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR2010_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR2010_J02",position:[.15,0,0],rotation:[Math.PI/2,0,Math.PI],children:[s.jsxs(b.animated.group,{name:"AR2010_J03",position:[.76,0,0],rotation:[Math.PI,0,0],children:[s.jsxs(b.animated.group,{name:"AR2010_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR2010_J05",position:[0,-1.082,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR2010_J06",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"AR2010_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),s.jsxs("group",{name:"AR2010_L06",children:[s.jsx("mesh",{name:"AR2010_06001",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_06001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR2010_06001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_06001_1.geometry,material:o.metall})]})]}),s.jsx("mesh",{name:"AR2010_L05",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_L05.geometry,material:o.yaskawaBlueMetall})]}),s.jsxs("group",{name:"AR2010_L04",children:[s.jsx("mesh",{name:"AR2010_04001",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_04001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR2010_04001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_04001_1.geometry,material:o.white})]})]}),s.jsxs("group",{name:"AR2010_L03",children:[s.jsx("mesh",{name:"AR2010_03001",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_03001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR2010_03001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_03001_1.geometry,material:o.blackMetall})]})]}),s.jsx("mesh",{name:"AR2010_L02",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_L02.geometry,material:o.yaskawaBlueMetall})]}),s.jsxs("group",{name:"AR2010_L01",children:[s.jsx("mesh",{name:"AR2010_01001",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_01001.geometry,material:o.yaskawaBlueMetall}),s.jsx("mesh",{name:"AR2010_01001_1",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_01001_1.geometry,material:o.blackMetall})]})]}),s.jsx("mesh",{name:"AR2010_L00",castShadow:!0,receiveShadow:!0,geometry:a.AR2010_L00.geometry,material:o.yaskawaBlueMetall,rotation:[-Math.PI/2,0,0]})]})})})]})}function Hd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0],l=[1,-1,1,1,1,1];function u(c,d){c.forEach((h,m)=>h.rotation.y=l[m]*d[m]+i[m])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:u}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs(b.animated.group,{name:"AR3120_J00",children:[s.jsxs(b.animated.group,{name:"AR3120_J01",position:[.145,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"AR3120_J02",position:[1.15,0,0],rotation:[-Math.PI,0,0],children:[s.jsxs(b.animated.group,{name:"AR3120_J03",position:[.25,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR3120_J04",position:[0,-1.812,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"AR3120_J05",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"AR3120_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"AR3120_L06",castShadow:!0,receiveShadow:!0,geometry:a.AR3120_L06.geometry,material:o["Metal.001"],rotation:[Math.PI/2,-Math.PI/2,0]})]}),s.jsx("mesh",{name:"AR3120_L05",castShadow:!0,receiveShadow:!0,geometry:a.AR3120_L05.geometry,material:o["Blue.001"],rotation:[Math.PI/2,0,Math.PI/2]})]}),s.jsxs("group",{name:"AR3120_L04",rotation:[Math.PI/2,-Math.PI/2,0],children:[s.jsx("mesh",{name:"R_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:a.R_AXIS_GP20HL001.geometry,material:o["Blue.001"]}),s.jsx("mesh",{name:"R_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:a.R_AXIS_GP20HL001_1.geometry,material:o["White.001"]})]})]}),s.jsxs("group",{name:"AR3120_L03",rotation:[Math.PI,0,-Math.PI/2],children:[s.jsx("mesh",{name:"Mesh_3001",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_3001.geometry,material:o["Blue.001"]}),s.jsx("mesh",{name:"Mesh_3001_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_3001_1.geometry,material:o["Black.001"]})]})]}),s.jsx("mesh",{name:"AR3120_L02",castShadow:!0,receiveShadow:!0,geometry:a.AR3120_L02.geometry,material:o["Blue.001"],position:[0,-.146,0],rotation:[Math.PI,0,0]})]}),s.jsxs("group",{name:"AR3120_L01",position:[0,-.228,0],rotation:[0,-1.571,0],children:[s.jsx("mesh",{name:"S_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:a.S_AXIS_GP20HL001.geometry,material:o["Blue.001"]}),s.jsx("mesh",{name:"S_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:a.S_AXIS_GP20HL001_1.geometry,material:o["Black.001"]})]})]}),s.jsx("mesh",{name:"AR3120_L00",castShadow:!0,receiveShadow:!0,geometry:a.AR3120_L00.geometry,material:o["Blue.001"],position:[0,-.54,0]})]})})]})}function qd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0],l=[1,1,1,1,1,1];function u(c,d){c.forEach((h,m)=>h.rotation.y=l[m]*d[m]+i[m])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:u}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs("group",{name:"link_0",children:[s.jsx("mesh",{name:"shape439",castShadow:!0,receiveShadow:!0,geometry:a.shape439.geometry,material:o.yaskawa_blue}),s.jsx("mesh",{name:"shape439_1",castShadow:!0,receiveShadow:!0,geometry:a.shape439_1.geometry,material:o.yaskawa_metalsilver}),s.jsx("mesh",{name:"shape439_2",castShadow:!0,receiveShadow:!0,geometry:a.shape439_2.geometry,material:o.yaskawa_black})]}),s.jsxs(b.animated.group,{name:"YASKAWA_GP50_J00",position:[0,-.54,0],children:[s.jsxs("group",{name:"link_1",position:[0,.54,0],children:[s.jsx("mesh",{name:"shape320",castShadow:!0,receiveShadow:!0,geometry:a.shape320.geometry,material:o.yaskawa_blue}),s.jsx("mesh",{name:"shape320_1",castShadow:!0,receiveShadow:!0,geometry:a.shape320_1.geometry,material:o.yaskawa_black}),s.jsx("mesh",{name:"shape320_2",castShadow:!0,receiveShadow:!0,geometry:a.shape320_2.geometry,material:o.yaskawa_metalsilver}),s.jsx("mesh",{name:"shape320_3",castShadow:!0,receiveShadow:!0,geometry:a.shape320_3.geometry,material:o.yaskawa_black}),s.jsx("mesh",{name:"shape320_4",castShadow:!0,receiveShadow:!0,geometry:a.shape320_4.geometry,material:o.yaskawa_white}),s.jsx("mesh",{name:"shape320_5",castShadow:!0,receiveShadow:!0,geometry:a.shape320_5.geometry,material:o.yaskawa_black})]}),s.jsxs(b.animated.group,{name:"YASKAWA_GP50_J01",position:[.145,.54,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[s.jsxs("group",{name:"link_2",position:[0,0,.145],rotation:[Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"shape440",castShadow:!0,receiveShadow:!0,geometry:a.shape440.geometry,material:o.yaskawa_blue}),s.jsx("mesh",{name:"shape440_1",castShadow:!0,receiveShadow:!0,geometry:a.shape440_1.geometry,material:o.yaskawa_white}),s.jsx("mesh",{name:"shape440_2",castShadow:!0,receiveShadow:!0,geometry:a.shape440_2.geometry,material:o.yaskawa_metalsilver}),s.jsx("mesh",{name:"shape440_3",castShadow:!0,receiveShadow:!0,geometry:a.shape440_3.geometry,material:o.yaskawa_black})]}),s.jsxs(b.animated.group,{name:"YASKAWA_GP50_J02",position:[.87,0,0],rotation:[-Math.PI,0,0],children:[s.jsxs("group",{name:"link_3",position:[-.87,0,-.145],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"shape341",castShadow:!0,receiveShadow:!0,geometry:a.shape341.geometry,material:o.yaskawa_blue}),s.jsx("mesh",{name:"shape341_1",castShadow:!0,receiveShadow:!0,geometry:a.shape341_1.geometry,material:o.yaskawa_white}),s.jsx("mesh",{name:"shape341_2",castShadow:!0,receiveShadow:!0,geometry:a.shape341_2.geometry,material:o.yaskawa_black}),s.jsx("mesh",{name:"shape341_3",castShadow:!0,receiveShadow:!0,geometry:a.shape341_3.geometry,material:o.yaskawa_black}),s.jsx("mesh",{name:"shape341_4",castShadow:!0,receiveShadow:!0,geometry:a.shape341_4.geometry,material:o.yaskawa_metalsilver}),s.jsx("mesh",{name:"shape341_5",castShadow:!0,receiveShadow:!0,geometry:a.shape341_5.geometry,material:o.yaskawa_metalsilver})]}),s.jsxs(b.animated.group,{name:"YASKAWA_GP50_J03",position:[.21,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:a.link_4.geometry,material:o.yaskawa_blue,position:[-1.08,.145,0],rotation:[0,0,-Math.PI/2]}),s.jsxs(b.animated.group,{name:"YASKAWA_GP50_J04",position:[0,-1.025,0],rotation:[Math.PI/2,0,0],children:[s.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:a.link_5.geometry,material:o.yaskawa_blue,position:[-1.08,0,-1.17],rotation:[-Math.PI/2,0,-Math.PI/2]}),s.jsxs(b.animated.group,{name:"YASKAWA_GP50_J05",rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:a.link_6.geometry,material:o.yaskawa_metalsilver,position:[-1.08,1.17,0],rotation:[0,0,-Math.PI/2]}),s.jsx("group",{name:"YASKAWA_GP50_FLG",position:[0,-.175,0],rotation:[-Math.PI,0,0]})]})]})]})]})]})]})]})})]})}function Xd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs(b.animated.group,{name:"CRX10iA_J00",children:[s.jsxs(b.animated.group,{name:"CRX10iA_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J02",position:[.54,0,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L06.geometry,material:o.Fanuc_BlackMetal,position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),s.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:a.J5CASING_UNIT001.geometry,material:o.Fanuc_WhitePlastic}),s.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:a.J5CASING_UNIT001_1.geometry,material:o.Fanuc_Green})]})]}),s.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[s.jsx("mesh",{name:"NAME_LABEL_CRX_10iA",castShadow:!0,receiveShadow:!0,geometry:a.NAME_LABEL_CRX_10iA.geometry,material:o.Fanuc_RedPlastic}),s.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_1",castShadow:!0,receiveShadow:!0,geometry:a.NAME_LABEL_CRX_10iA_1.geometry,material:o.Fanuc_BlackPlastic}),s.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_2",castShadow:!0,receiveShadow:!0,geometry:a.NAME_LABEL_CRX_10iA_2.geometry,material:o.Fanuc_WhitePlastic})]})]}),s.jsx("mesh",{name:"CRX10iA_L03",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L03.geometry,material:o.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),s.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L02.geometry,material:o.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),s.jsxs("group",{name:"CRX10iA_L01",position:[0,-.117,0],children:[s.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_UNIT001.geometry,material:o.Fanuc_Green}),s.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_UNIT001_1.geometry,material:o.Fanuc_WhitePlastic}),s.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_UNIT001_2.geometry,material:o.Fanuc_GreenLED})]})]}),s.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L00.geometry,material:o.Fanuc_BlackMetal,position:[0,-.245,0]})]})})]})}function Yd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:a.link_0.geometry,material:o.fanuc_metal_black}),s.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J00",position:[0,-.245,0],children:[s.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J02",position:[.71,0,0],children:[s.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J03",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[s.jsx(b.animated.group,{name:"FANUC_CRX20iAL_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:a.link_6.geometry,material:o.fanuc_metal_black,position:[-.71,.54,-.15],rotation:[0,0,-Math.PI/2]})]}),s.jsxs(b.animated.group,{name:"link_5",position:[-.71,0,-.54],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"shape053",castShadow:!0,receiveShadow:!0,geometry:a.shape053.geometry,material:o.fanuc_white}),s.jsx("mesh",{name:"shape053_1",castShadow:!0,receiveShadow:!0,geometry:a.shape053_1.geometry,material:o.fanuc_green})]})]}),s.jsxs(b.animated.group,{name:"link_4",position:[-.71,0,0],rotation:[0,0,-Math.PI/2],children:[s.jsx("mesh",{name:"shape054",castShadow:!0,receiveShadow:!0,geometry:a.shape054.geometry,material:o.fanuc_white}),s.jsx("mesh",{name:"shape054_1",castShadow:!0,receiveShadow:!0,geometry:a.shape054_1.geometry,material:o.fanuc_red}),s.jsx("mesh",{name:"shape054_2",castShadow:!0,receiveShadow:!0,geometry:a.shape054_2.geometry,material:o.fanuc_metal_black})]})]}),s.jsxs(b.animated.group,{name:"link_3",position:[-.71,0,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"shape009",castShadow:!0,receiveShadow:!0,geometry:a.shape009.geometry,material:o.fanuc_green}),s.jsx("mesh",{name:"shape009_1",castShadow:!0,receiveShadow:!0,geometry:a.shape009_1.geometry,material:o.fanuc_white})]})]}),s.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:a.link_2.geometry,material:o.fanuc_white,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),s.jsxs("group",{name:"link_1",position:[0,.245,0],children:[s.jsx("mesh",{name:"shape005",castShadow:!0,receiveShadow:!0,geometry:a.shape005.geometry,material:o.fanuc_white}),s.jsx("mesh",{name:"shape005_1",castShadow:!0,receiveShadow:!0,geometry:a.shape005_1.geometry,material:o.fanuc_green})]})]})]})})]})}function Zd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",position:[0,-.37,0],children:[s.jsxs("group",{name:"CRX25iA_L00",children:[s.jsx("mesh",{name:"J1BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:a.J1BASE_NetGen_Coarse.geometry,material:o.Fanuc_BlackMetal}),s.jsx("mesh",{name:"J1BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:a.J1BASE_NetGen_Coarse_1.geometry,material:o.Fanuc_GreenPlastic})]}),s.jsxs(b.animated.group,{name:"CRX25iA_J00",children:[s.jsxs(b.animated.group,{name:"CRX25iA_J01",position:[0,.37,0],rotation:[Math.PI/2,Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"CRX25iA_J02",position:[.95,0,0],children:[s.jsxs(b.animated.group,{name:"CRX25iA_J03",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"CRX25iA_J04",position:[0,-.75,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"CRX25iA_J05",position:[0,.185,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"CRX25iA_FLG",position:[0,-.18,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"CRX25iA_L06",castShadow:!0,receiveShadow:!0,geometry:a.CRX25iA_L06.geometry,material:o.Fanuc_BlackMetal,position:[0,-.18,0]})]}),s.jsxs("group",{name:"CRX25iA_L05",position:[0,.185,0],children:[s.jsx("mesh",{name:"J6CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:a.J6CASING_NetGen_Coarse.geometry,material:o.Fanuc_WhitePlastic}),s.jsx("mesh",{name:"J6CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:a.J6CASING_NetGen_Coarse_1.geometry,material:o.Fanuc_GreenPlastic})]})]}),s.jsxs("group",{name:"CRX25iA_L04",position:[0,-.75,0],children:[s.jsx("mesh",{name:"J3ARM_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:a.J3ARM_NetGen_Coarse.geometry,material:o.Fanuc_WhitePlastic}),s.jsx("mesh",{name:"J3ARM_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:a.J3ARM_NetGen_Coarse_1.geometry,material:o.Fanuc_RedPlastic}),s.jsx("mesh",{name:"J3ARM_NetGen_Coarse_2",castShadow:!0,receiveShadow:!0,geometry:a.J3ARM_NetGen_Coarse_2.geometry,material:o.Fanuc_BlackPlastic})]})]}),s.jsxs("group",{name:"CRX25iA_L03",children:[s.jsx("mesh",{name:"J3CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:a.J3CASING_NetGen_Coarse.geometry,material:o.Fanuc_WhitePlastic}),s.jsx("mesh",{name:"J3CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:a.J3CASING_NetGen_Coarse_1.geometry,material:o.Fanuc_GreenPlastic})]})]}),s.jsx("mesh",{name:"CRX25iA_L02",castShadow:!0,receiveShadow:!0,geometry:a.CRX25iA_L02.geometry,material:o.Fanuc_WhitePlastic})]}),s.jsxs("group",{name:"CRX25iA_L01",position:[0,.18,0],children:[s.jsx("mesh",{name:"J2BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_NetGen_Coarse.geometry,material:o.Fanuc_WhitePlastic}),s.jsx("mesh",{name:"J2BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_NetGen_Coarse_1.geometry,material:o.Fanuc_GreenLED})]})]})]})})]})}function Qd({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs(b.animated.group,{name:"CRX10iA_J00",children:[s.jsxs(b.animated.group,{name:"CRX10iA_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J02",position:[.71,0,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L06.geometry,material:o["Fanuc_BlackMetal.001"],position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),s.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:a.J5CASING_UNIT001.geometry,material:o["Fanuc_WhitePlastic.001"]}),s.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:a.J5CASING_UNIT001_1.geometry,material:o["Fanuc_Green.001"]})]})]}),s.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[s.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001",castShadow:!0,receiveShadow:!0,geometry:a.NAME_LABEL_CRX_10iA_L001.geometry,material:o["Fanuc_WhitePlastic.001"]}),s.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_1",castShadow:!0,receiveShadow:!0,geometry:a.NAME_LABEL_CRX_10iA_L001_1.geometry,material:o["Fanuc_RedPlastic.001"]}),s.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_2",castShadow:!0,receiveShadow:!0,geometry:a.NAME_LABEL_CRX_10iA_L001_2.geometry,material:o["Fanuc_BlackPlastic.001"]})]})]}),s.jsxs("group",{name:"CRX10iA_L03",rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"J3CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:a.J3CASING_UNIT001.geometry,material:o["Fanuc_WhitePlastic.001"]}),s.jsx("mesh",{name:"J3CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:a.J3CASING_UNIT001_1.geometry,material:o["Fanuc_Green.001"]})]})]}),s.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L02.geometry,material:o["Fanuc_WhitePlastic.001"],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),s.jsxs("group",{name:"CRX10iA_L01",position:[0,.128,0],children:[s.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_UNIT001.geometry,material:o["Fanuc_WhitePlastic.001"]}),s.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_UNIT001_1.geometry,material:o["Fanuc_Green.001"]}),s.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:a.J2BASE_UNIT001_2.geometry,material:o["Fanuc_GreenLED.001"]})]})]}),s.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:a.CRX10iA_L00.geometry,material:o["Fanuc_BlackMetal.001"]})]})})]})}function em({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,0,-Math.PI/2,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"kuka_kr210_2700",children:[s.jsxs(b.animated.group,{name:"joint_01",children:[s.jsxs(b.animated.group,{name:"joint_02",position:[.33,.645,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"joint_04",position:[.115,0,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"joint_05",position:[0,-1.22,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[s.jsx("group",{name:"flange",position:[0,-.215,0],rotation:[-Math.PI,0,0]}),s.jsx("group",{name:"link_6",position:[0,-.17,0],rotation:[0,0,-Math.PI/2],children:s.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:a.visuals006.geometry,material:o.material_Material_Metall_black})})]}),s.jsx("group",{name:"link_5",position:[0,.059,0],rotation:[Math.PI/2,0,-Math.PI/2],children:s.jsxs("group",{name:"visuals005",children:[s.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals005_1.geometry,material:o.material_Material_metal_black}),s.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals005_2.geometry,material:o.material_Material_kuka_orange})]})})]}),s.jsx("group",{name:"link_4",position:[0,-.869,0],rotation:[0,0,-Math.PI/2],children:s.jsxs("group",{name:"visuals004",children:[s.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals004_1.geometry,material:o.material_Material_metal_black}),s.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals004_2.geometry,material:o.material_Material_kuka_orange})]})})]}),s.jsx("group",{name:"link_3",position:[0,-.105,0],rotation:[Math.PI/2,0,-Math.PI/2],children:s.jsxs("group",{name:"visuals003",children:[s.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_1.geometry,material:o.material_Material_rubber}),s.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_2.geometry,material:o.material_Material_aluminium}),s.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_3.geometry,material:o.material_Material_metal_black}),s.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_4.geometry,material:o.material_Material_kuka_black}),s.jsx("mesh",{name:"visuals003_5",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_5.geometry,material:o.material_Material_Rubber_black}),s.jsx("mesh",{name:"visuals003_6",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_6.geometry,material:o.material_Material_kuka_orange}),s.jsx("mesh",{name:"visuals003_7",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_7.geometry,material:o.material_Material_stainless_steel})]})})]}),s.jsx("group",{name:"link_2",position:[0,.009,0],rotation:[Math.PI/2,0,0],children:s.jsxs("group",{name:"visuals002",children:[s.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_1.geometry,material:o.material_Material_metal_black}),s.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_2.geometry,material:o.material_Material_Rubber_black}),s.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_3.geometry,material:o.material_Material_kuka_orange})]})})]}),s.jsx("group",{name:"link_1",position:[0,.236,0],children:s.jsxs("group",{name:"visuals001",children:[s.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_1.geometry,material:o.material_Material_kuka_black}),s.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_2.geometry,material:o.material_Material_kuka_orange}),s.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_3.geometry,material:o.material_Material_rubber}),s.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_4.geometry,material:o.material_Material_metal_black}),s.jsx("mesh",{name:"visuals001_5",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_5.geometry,material:o.material_Material_aluminium}),s.jsx("mesh",{name:"visuals001_6",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_6.geometry,material:o.material_Material_rubber_black}),s.jsx("mesh",{name:"visuals001_7",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_7.geometry,material:o.material_Material_stainless_steel})]})})]}),s.jsx("group",{name:"link_0",children:s.jsxs("group",{name:"visuals",children:[s.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1.geometry,material:o.material_Material_kuka_black}),s.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2.geometry,material:o.material_Material_metal_black})]})})]})})})]})}function tm({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,0,-Math.PI/2,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs(b.animated.group,{name:"joint_01",children:[s.jsxs(b.animated.group,{name:"joint_02",position:[.35,.675,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"joint_04",position:[-.041,0,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"joint_05",position:[0,-1.2,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[s.jsx("group",{name:"flange",position:[0,-.24,0],rotation:[-Math.PI,0,0]}),s.jsx("group",{name:"link_6",position:[0,-.213,0],rotation:[0,0,-Math.PI/2],children:s.jsxs("group",{name:"visuals006",children:[s.jsx("mesh",{name:"visuals006_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals006_1.geometry,material:o.material_Material_Farbe__1_}),s.jsx("mesh",{name:"visuals006_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals006_2.geometry,material:o.material_Material_Metall})]})})]}),s.jsx("group",{name:"link_5",position:[0,.044,0],rotation:[Math.PI/2,0,-Math.PI/2],children:s.jsx("mesh",{name:"visuals005",castShadow:!0,receiveShadow:!0,geometry:a.visuals005.geometry,material:o.material_Material_Farbe})})]}),s.jsx("group",{name:"link_4",position:[0,-.954,0],rotation:[0,0,-Math.PI/2],children:s.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:a.visuals004.geometry,material:o.material_Material_Farbe})})]}),s.jsx("group",{name:"link_3",position:[0,-.178,0],rotation:[Math.PI/2,0,-Math.PI/2],children:s.jsxs("group",{name:"visuals003",children:[s.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_1.geometry,material:o.material_Material_Farbe__1_}),s.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_2.geometry,material:o.material_Material_Farbe__2_}),s.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_3.geometry,material:o.material_Material_Metall}),s.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals003_4.geometry,material:o.material_Material_Farbe})]})})]}),s.jsx("group",{name:"link_2",rotation:[Math.PI/2,0,0],children:s.jsxs("group",{name:"visuals002",children:[s.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_1.geometry,material:o.material_Material_Farbe}),s.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_2.geometry,material:o.material_Material_Farbe__1_}),s.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_3.geometry,material:o.material_Material_Metall}),s.jsx("mesh",{name:"visuals002_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals002_4.geometry,material:o.material_Material_Farbe__2_})]})})]}),s.jsx("group",{name:"link_1",position:[0,.226,0],children:s.jsxs("group",{name:"visuals001",children:[s.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_1.geometry,material:o.material_Material_Metall}),s.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_2.geometry,material:o.material_Material_Farbe__1_}),s.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_3.geometry,material:o.material_Material_Farbe__2_}),s.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:a.visuals001_4.geometry,material:o.material_Material_Farbe})]})})]}),s.jsx("group",{name:"link_0-base",children:s.jsxs("group",{name:"visuals",children:[s.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:a.visuals_1.geometry,material:o.material_Material_Metall}),s.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:a.visuals_2.geometry,material:o.material_Material_Farbe__1_})]})})]})})]})}function rm({modelURL:e,rapidlyChangingMotionState:t,...r}){const{nodes:n,materials:a}=oe.useGLTF(e),o=[0,0,-Math.PI/2,0,0,0];function i(l,u){l.forEach((c,d)=>c.rotation.y=u[d]+o[d])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:i}),s.jsx("group",{...r,dispose:null,children:s.jsxs("group",{name:"Scene",children:[s.jsxs("group",{name:"link_0",children:[s.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:a.material_Material_Metall}),s.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:a.material_Material_Farbe__2_}),s.jsx("mesh",{name:"visuals_0_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_2.geometry,material:a.material_Material_Metall})]}),s.jsxs("group",{name:"KUKA_KR16R2010_2_J00",children:[s.jsxs("group",{name:"KUKA_KR16R2010_2_J01",position:[.16,.52,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs("group",{name:"KUKA_KR16R2010_2_J02",position:[.98,0,0],rotation:[0,-Math.PI/2,0],children:[s.jsxs("group",{name:"KUKA_KR16R2010_2_J03",position:[.15,0,0],rotation:[Math.PI/2,0,0],children:[s.jsxs("group",{name:"KUKA_KR16R2010_2_J04",position:[0,-.86,0],rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"KUKA_KR16R2010_2_J05",rotation:[-Math.PI/2,0,-Math.PI],children:s.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:a.material_Material_Farbe__2_,position:[.67,2,0],rotation:[-Math.PI,0,Math.PI/2]})}),s.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:a.material_Material_Farbe,position:[-.67,0,2],rotation:[Math.PI/2,0,-Math.PI/2]})]}),s.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:n.link_4.geometry,material:a.material_Material_Farbe,position:[-.67,1.14,0],rotation:[0,0,-Math.PI/2]})]}),s.jsxs("group",{name:"link_3",position:[-.52,0,1.14],rotation:[Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3.geometry,material:a.material_Material_Farbe}),s.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_1.geometry,material:a.material_Material_Metall}),s.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_2.geometry,material:a.material_Material_Farbe__2_})]})]}),s.jsxs("group",{name:"link_2",position:[-.16,0,-.52],rotation:[Math.PI/2,0,0],children:[s.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2.geometry,material:a.material_Material_Farbe}),s.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2_1.geometry,material:a.material_Material_Metall})]})]}),s.jsxs("group",{name:"link_1",children:[s.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1.geometry,material:a.material_Material_Farbe}),s.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_1.geometry,material:a.material_Material_Farbe__2_}),s.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_2.geometry,material:a.material_Material_Metall})]})]})]})})]})}function nm({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"M10iD",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"M10iD_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"M10iD_J02",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"M10iD_J03",position:[.64,0,0],children:[s.jsxs(b.animated.group,{name:"M10iD_J04",position:[.195,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"M10iD_J05",position:[0,-.7,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"M10iD_J06",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"M10iD_FLG",position:[0,-.075,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"M10iD_L06",castShadow:!0,receiveShadow:!0,geometry:a.M10iD_L06.geometry,material:o.Fanuc_BlackMetal_AO,position:[-.835,.775,0],rotation:[0,0,-Math.PI/2]})]}),s.jsx("mesh",{name:"M10iD_L05",castShadow:!0,receiveShadow:!0,geometry:a.M10iD_L05.geometry,material:o.Fanuc_BlackMetal_AO,position:[-.835,0,-.775],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),s.jsxs("group",{name:"M10iD_L04",position:[-.835,.075,0],rotation:[0,0,-Math.PI/2],children:[s.jsx("mesh",{name:"Mesh_654",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_654.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_654_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_654_1.geometry,material:o.Fanuc_BlackMetal_AO})]})]}),s.jsxs("group",{name:"M10iD_L03",position:[-.64,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"Mesh_378",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_378.geometry,material:o.Material_1_AO}),s.jsx("mesh",{name:"Mesh_378_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_378_1.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_378_2",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_378_2.geometry,material:o.Fanuc_BlackMetal_AO})]})]}),s.jsxs("group",{name:"M10iD_L02",position:[0,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[s.jsx("mesh",{name:"Mesh_358",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_358.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_358_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_358_1.geometry,material:o.Fanuc_BlackMetal_AO})]})]}),s.jsxs("group",{name:"M10iD_L01",children:[s.jsx("mesh",{name:"Mesh_356",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_356.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_356_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_356_1.geometry,material:o.Material_1_AO}),s.jsx("mesh",{name:"Mesh_356_2",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_356_2.geometry,material:o.Fanuc_BlackMetal_AO})]})]}),s.jsx("mesh",{name:"M10iD_L00",castShadow:!0,receiveShadow:!0,geometry:a.M10iD_L00.geometry,material:o.Fanuc_BlackMetal_AO,rotation:[-Math.PI/2,0,0]})]})})})]})}function bs({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"M10iD",rotation:[0,0,0],children:[s.jsxs(b.animated.group,{name:"M20iD25_J00",children:[s.jsxs(b.animated.group,{name:"M20iD25_J01",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"M20iD25_J02",position:[.84,0,0],children:[s.jsxs(b.animated.group,{name:"M20iD25_J03",position:[.215,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"M20iD25_J04",position:[0,-.89,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"M20iD25_J05",rotation:[-Math.PI/2,0,0],children:[s.jsx("group",{name:"M20iD25_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),s.jsx("mesh",{name:"M20iD25_L06",castShadow:!0,receiveShadow:!0,geometry:a.M20iD25_L06.geometry,material:o.Fanuc_BlackMetal_AO,position:[0,-.09,0],rotation:[Math.PI/2,0,Math.PI]})]}),s.jsx("mesh",{name:"M20iD25_L05",castShadow:!0,receiveShadow:!0,geometry:a.M20iD25_L05.geometry,material:o.Fanuc_BlackMetal_AO,rotation:[Math.PI,Math.PI/2,0]})]}),s.jsxs("group",{name:"M20iD25_L04",position:[0,-.286,0],rotation:[-Math.PI/2,Math.PI/2,0],children:[s.jsx("mesh",{name:"Mesh_2",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_2.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_2_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_2_1.geometry,material:o.Fanuc_BlackMetal_AO})]})]}),s.jsxs("group",{name:"M20iD25_L03",position:[0,.406,0],rotation:[Math.PI,Math.PI/2,0],children:[s.jsx("mesh",{name:"Mesh_15",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_15.geometry,material:o.Fanuc_BlackMetal_AO}),s.jsx("mesh",{name:"Mesh_15_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_15_1.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_15_2",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_15_2.geometry,material:o.Material_9_AO})]})]}),s.jsxs("group",{name:"M20iD25_L02",position:[0,.505,-.055],rotation:[-Math.PI,Math.PI/2,0],children:[s.jsx("mesh",{name:"Mesh_37",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_37.geometry,material:o.Fanuc_BlackMetal_AO}),s.jsx("mesh",{name:"Mesh_37_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_37_1.geometry,material:o.Fanuc_Yellow_Textured_AO})]})]}),s.jsxs("group",{name:"M20iD25_L01",rotation:[-Math.PI/2,0,0],children:[s.jsx("mesh",{name:"Mesh_45",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_45.geometry,material:o.Material_9_AO}),s.jsx("mesh",{name:"Mesh_45_1",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_45_1.geometry,material:o.Fanuc_Yellow_Textured_AO}),s.jsx("mesh",{name:"Mesh_45_2",castShadow:!0,receiveShadow:!0,geometry:a.Mesh_45_2.geometry,material:o.Fanuc_BlackMetal_AO})]})]}),s.jsx("mesh",{name:"M20iD25_L00",castShadow:!0,receiveShadow:!0,geometry:a.M20iD25_L00.geometry,material:o.Fanuc_BlackMetal_AO,position:[0,-.425,0],rotation:[-Math.PI/2,0,0]})]})})})]})}function am({modelURL:e,rapidlyChangingMotionState:t,...r}){const n=oe.useGLTF(e),a=n.nodes,o=n.materials,i=[0,-Math.PI/2,0,0,0,0];function l(u,c){u.forEach((d,h)=>d.rotation.y=c[h]+i[h])}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:t,robotRootObjectName:"Scene",onRotationChanged:l}),s.jsx("group",{...r,dispose:null,children:s.jsx("group",{name:"Scene",children:s.jsxs("group",{name:"IRB1200_7_70_IRC5",rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J01",rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J02",position:[0,.399,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[s.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J03",position:[.35,0,0],children:[s.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J04",position:[.042,0,0],rotation:[-Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J05",position:[0,.351,0],rotation:[Math.PI/2,0,0],children:[s.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J06",rotation:[Math.PI/2,0,-Math.PI],children:[s.jsx("group",{name:"IRB1200_7_70_IRC5_FLG",position:[0,.082,0]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L06",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L06.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"]})]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L05",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L05.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"]})]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L04",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L04.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"]})]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L03",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L03.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"]})]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L02",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L02.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"]})]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L01",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L01.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"],rotation:[Math.PI/2,0,0]})]}),s.jsx("mesh",{name:"IRB1200_7_70_IRC5_L00",castShadow:!0,receiveShadow:!0,geometry:a.IRB1200_7_70_IRC5_L00.geometry,material:o["IRB1200_7-70_IRC5.003_Bake"],rotation:[-Math.PI/2,0,0]})]})})})]})}const Ss="line",xs="mesh";function Ea({rapidlyChangingMotionState:e,dhParameters:t,...r}){const n=new jt.Matrix4;function a(u,c){const d=new jt.Vector3,h=new jt.Quaternion,m=new jt.Vector3;n.decompose(d,h,m);const v=d.clone(),y=new jt.Matrix4().makeRotationY(u.theta+c*(u.reverse_rotation_direction?-1:1)).multiply(new jt.Matrix4().makeTranslation(0,u.d/1e3,0)).multiply(new jt.Matrix4().makeTranslation(u.a/1e3,0,0)).multiply(new jt.Matrix4().makeRotationX(u.alpha));return n.multiply(y),n.decompose(d,h,m),{a:v,b:d}}function o(u,c,d,h){if(!t)return;const m=t[u];if(!m)return;const{a:v,b:y}=a(m,h);c.geometry.setPositions([v.toArray(),y.toArray()].flat()),d.position.set(y.x,y.y,y.z)}function i(u,c){n.identity(),u.forEach((d,h)=>{o(h,d.getObjectByName(Ss),d.getObjectByName(xs),c[h])})}function l(u){return al(u,"^group_[0-9]+$")}return s.jsxs(s.Fragment,{children:[s.jsx(he,{rapidlyChangingMotionState:e,robotRootObjectName:"Scene",onRotationChanged:i,jointCollector:l}),s.jsxs("group",{...r,name:"Scene",children:[s.jsxs("mesh",{children:[s.jsx("sphereGeometry",{args:[.01,32,32]}),s.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]}),t.map((u,c)=>{const{a:d,b:h}=a(u,e.state.joint_position.joints[c]??0);return s.jsxs("group",{name:`group_${c}`,children:[s.jsx(oe.Line,{name:Ss,points:[d,h],color:"white",lineWidth:5}),s.jsxs("mesh",{name:xs,position:h,children:[s.jsx("sphereGeometry",{args:[.01,32,32]}),s.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]},"mesh_"+c)]},"group_"+c)})]})]})}const om=console.warn;function sm(){return Z.useEffect(()=>{console.warn=e=>{e!=="Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"&&om(e)}},[]),s.jsx(s.Fragment,{})}function xo(e){return`https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/${e}.glb`}const sl=en(({rapidlyChangingMotionState:e,modelFromController:t,dhParameters:r,getModel:n=xo,isGhost:a=!1,...o})=>{let i;const l=Z.useRef(new Ce.Group),u=Z.useCallback(h=>{h!==null&&(l.current=h,console.log("robotRef.current",l.current),a&&l.current&&l.current.children.length>0&&c())},[a]),c=()=>{l.current&&!l.current.userData.ghostsCreated&&(l.current.traverse(h=>{if(h instanceof Ce.Mesh&&!h.userData.isGhost){h.material instanceof Ce.Material&&(h.material.colorWrite=!1);const m=h.clone(),v=h.clone();m.material=new Ce.MeshStandardMaterial({depthTest:!0,depthWrite:!0,colorWrite:!1,polygonOffset:!0,polygonOffsetFactor:1}),m.userData.isGhost=!0,v.material=new Ce.MeshStandardMaterial({color:"#D91433",opacity:.3,depthTest:!0,depthWrite:!1,transparent:!0,polygonOffset:!0,polygonOffsetFactor:-1}),v.userData.isGhost=!0,h.parent&&(h.parent.add(m),h.parent.add(v))}}),l.current.userData.ghostsCreated=!0)},d=()=>{if(l.current){const h=[];l.current.traverse(m=>{m instanceof Ce.Mesh&&m.material instanceof Ce.Material&&(m.material.colorWrite=!0),m instanceof Ce.Mesh&&m.userData!==void 0&&m.userData&&m.userData.isGhost!==void 0&&m.userData.isGhost&&h.push(m)}),h.forEach(m=>{m.parent&&m.parent.remove(m)}),l.current.userData.ghostsCreated=!1}};switch(Z.useEffect(()=>{a?c():d()},[a]),t){case"UniversalRobots_UR3":i=Dd;break;case"UniversalRobots_UR3e":i=Bd;break;case"UniversalRobots_UR5":i=Ud;break;case"UniversalRobots_UR5e":i=Jd;break;case"UniversalRobots_UR10":i=Vd;break;case"UniversalRobots_UR10e":i=Gd;break;case"Yaskawa_AR900":i=vs;break;case"Yaskawa_GP7":i=vs;break;case"Yaskawa_AR1440":i=zd;break;case"Yaskawa_AR1730":i=Wd;break;case"Yaskawa_AR2010":i=Kd;break;case"Yaskawa_AR3120":i=Hd;break;case"Yaskawa_GP50":i=qd;break;case"FANUC_CRX10iA":i=Xd;break;case"FANUC_CRX20iAL":i=Yd;break;case"FANUC_CRX25iA":i=Zd;break;case"FANUC_CRX25iAL":i=Qd;break;case"FANUC_ARC_Mate_120iD":i=bs;break;case"FANUC_ARC_Mate_120iD35":i=bs;break;case"FANUC_ARC_Mate_100iD":i=nm;break;case"KUKA_KR210_R2700":i=em;break;case"KUKA_KR270_R2700":i=tm;break;case"KUKA_KR16_R2010_2":i=rm;break;case"ABB_1200_07_7":i=am;break;default:console.warn(`Unknown robot type: ${t}`),i=Ea}return s.jsxs(Au.ErrorBoundary,{fallback:s.jsx(Ea,{rapidlyChangingMotionState:e,dhParameters:r,...o}),children:[s.jsx(Z.Suspense,{fallback:s.jsx(Ea,{rapidlyChangingMotionState:e,dhParameters:r,...o}),children:s.jsx("group",{ref:u,children:s.jsx(i,{rapidlyChangingMotionState:e,modelURL:n(t),dhParameters:r,...o})})}),s.jsx(sm,{})]})});function im({connectedMotionGroup:e,getModel:t=xo,isGhost:r=!1,...n}){return e.dhParameters?s.jsx(sl,{rapidlyChangingMotionState:e.rapidlyChangingMotionState,modelFromController:e.modelFromController||"",dhParameters:e.dhParameters,getModel:t,isGhost:r,...n}):null}function lm(){return s.jsx(oe.Environment,{children:s.jsx(um,{})})}function um({positions:e=[2,0,2,0,2,0,2,0]}){return s.jsxs(s.Fragment,{children:[s.jsx(oe.Lightformer,{intensity:5,"rotation-x":Math.PI/2,position:[0,5,-9],scale:[10,10,1]}),s.jsx("group",{rotation:[0,.5,0],children:s.jsx("group",{children:e.map((t,r)=>s.jsx(oe.Lightformer,{form:"circle",intensity:5,rotation:[Math.PI/2,0,0],position:[t,4,r*4],scale:[3,1,1]},r))})}),s.jsx(oe.Lightformer,{intensity:40,"rotation-y":Math.PI/2,position:[-5,1,-1],scale:[20,.1,1]}),s.jsx(oe.Lightformer,{intensity:20,"rotation-y":-Math.PI,position:[-5,-2,-1],scale:[20,.1,1]}),s.jsx(oe.Lightformer,{"rotation-y":Math.PI/2,position:[-5,-1,-1],scale:[20,.5,1],intensity:5}),s.jsx(oe.Lightformer,{"rotation-y":-Math.PI/2,position:[10,1,0],scale:[20,1,1],intensity:10}),s.jsx(oe.Lightformer,{form:"ring",color:"white",intensity:5,scale:10,position:[-15,4,-18],target:[0,0,0]})]})}function cm(e){if(e.length<3)return console.log("Not enough vertices to define a plane"),{isCoplanar:!1};const t=new Ce.Vector3(e[0].x,e[0].y,e[0].z),r=new Ce.Vector3(e[1].x,e[1].y,e[1].z),n=new Ce.Vector3(e[2].x,e[2].y,e[2].z),a=new Ce.Vector3().subVectors(r,t),o=new Ce.Vector3().subVectors(n,t),i=new Ce.Vector3().crossVectors(a,o).normalize();for(let l=3;l<e.length;l++){const u=new Ce.Vector3(e[l].x,e[l].y,e[l].z),c=new Ce.Vector3().subVectors(u,t),d=i.dot(c);if(Math.abs(d)>1e-6)return console.log("Vertices are not on the same plane"),{isCoplanar:!1}}return{isCoplanar:!0,normal:i}}function dm({safetyZones:e,...t}){return s.jsx("group",{...t,children:e.map((r,n)=>{let a=[];return r.geometry&&(r.geometry.compound?a=r.geometry.compound.child_geometries:r.geometry.convex_hull&&(a=[r.geometry])),a.map((o,i)=>{if(!o.convex_hull)return null;const l=o.convex_hull.vertices.map(d=>new Ce.Vector3(d.x/1e3,d.y/1e3,d.z/1e3)),u=cm(l);if(u.isCoplanar&&u.normal){const h=new Ce.Vector3().addVectors(l[0],u.normal.multiplyScalar(1e-4));l.push(h)}let c;try{c=new Pu.ConvexGeometry(l)}catch(d){return console.log("Error creating ConvexGeometry:",d),null}return s.jsx(s.Fragment,{children:s.jsx("mesh",{geometry:c,children:s.jsx("meshStandardMaterial",{attach:"material",color:"#009f4d",opacity:.2,depthTest:!1,depthWrite:!1,transparent:!0,polygonOffset:!0,polygonOffsetFactor:-i},n)},`${n}-${i}`)})})})})}function Hr(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const mm=Object.freeze(Object.defineProperty({__proto__:null,default:Hr},Symbol.toStringTag,{value:"Module"}));var hm=!1;function fm(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function pm(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var gm=function(){function e(r){var n=this;this._insertTag=function(a){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,o),n.tags.push(a)},this.isSpeedy=r.speedy===void 0?!hm:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(pm(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=fm(a);try{o.insertRule(n,o.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var a;return(a=n.parentNode)==null?void 0:a.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Te="-ms-",Bn="-moz-",ne="-webkit-",il="comm",wo="rule",jo="decl",ym="@import",ll="@keyframes",_m="@layer",vm=Math.abs,ra=String.fromCharCode,bm=Object.assign;function Sm(e,t){return Pe(e,0)^45?(((t<<2^Pe(e,0))<<2^Pe(e,1))<<2^Pe(e,2))<<2^Pe(e,3):0}function ul(e){return e.trim()}function xm(e,t){return(e=t.exec(e))?e[0]:e}function ae(e,t,r){return e.replace(t,r)}function eo(e,t){return e.indexOf(t)}function Pe(e,t){return e.charCodeAt(t)|0}function qr(e,t,r){return e.slice(t,r)}function ht(e){return e.length}function Ro(e){return e.length}function pn(e,t){return t.push(e),e}function wm(e,t){return e.map(t).join("")}var na=1,br=1,cl=0,Be=0,Se=0,jr="";function aa(e,t,r,n,a,o,i){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:na,column:br,length:i,return:""}}function Dr(e,t){return bm(aa("",null,null,"",null,null,0),e,{length:-e.length},t)}function jm(){return Se}function Rm(){return Se=Be>0?Pe(jr,--Be):0,br--,Se===10&&(br=1,na--),Se}function Ke(){return Se=Be<cl?Pe(jr,Be++):0,br++,Se===10&&(br=1,na++),Se}function gt(){return Pe(jr,Be)}function Cn(){return Be}function nn(e,t){return qr(jr,e,t)}function Xr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function dl(e){return na=br=1,cl=ht(jr=e),Be=0,[]}function ml(e){return jr="",e}function An(e){return ul(nn(Be-1,to(e===91?e+2:e===40?e+1:e)))}function Cm(e){for(;(Se=gt())&&Se<33;)Ke();return Xr(e)>2||Xr(Se)>3?"":" "}function Am(e,t){for(;--t&&Ke()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return nn(e,Cn()+(t<6&>()==32&&Ke()==32))}function to(e){for(;Ke();)switch(Se){case e:return Be;case 34:case 39:e!==34&&e!==39&&to(Se);break;case 40:e===41&&to(e);break;case 92:Ke();break}return Be}function Pm(e,t){for(;Ke()&&e+Se!==57;)if(e+Se===84&>()===47)break;return"/*"+nn(t,Be-1)+"*"+ra(e===47?e:Ke())}function Om(e){for(;!Xr(gt());)Ke();return nn(e,Be)}function Tm(e){return ml(Pn("",null,null,null,[""],e=dl(e),0,[0],e))}function Pn(e,t,r,n,a,o,i,l,u){for(var c=0,d=0,h=i,m=0,v=0,y=0,_=1,g=1,x=1,j=0,C="",L=a,R=o,P=n,O=C;g;)switch(y=j,j=Ke()){case 40:if(y!=108&&Pe(O,h-1)==58){eo(O+=ae(An(j),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:O+=An(j);break;case 9:case 10:case 13:case 32:O+=Cm(y);break;case 92:O+=Am(Cn()-1,7);continue;case 47:switch(gt()){case 42:case 47:pn(Mm(Pm(Ke(),Cn()),t,r),u);break;default:O+="/"}break;case 123*_:l[c++]=ht(O)*x;case 125*_:case 59:case 0:switch(j){case 0:case 125:g=0;case 59+d:x==-1&&(O=ae(O,/\f/g,"")),v>0&&ht(O)-h&&pn(v>32?js(O+";",n,r,h-1):js(ae(O," ","")+";",n,r,h-2),u);break;case 59:O+=";";default:if(pn(P=ws(O,t,r,c,d,a,l,C,L=[],R=[],h),o),j===123)if(d===0)Pn(O,t,P,P,L,o,h,l,R);else switch(m===99&&Pe(O,3)===110?100:m){case 100:case 108:case 109:case 115:Pn(e,P,P,n&&pn(ws(e,P,P,0,0,a,l,C,a,L=[],h),R),a,R,h,l,n?L:R);break;default:Pn(O,P,P,P,[""],R,0,l,R)}}c=d=v=0,_=x=1,C=O="",h=i;break;case 58:h=1+ht(O),v=y;default:if(_<1){if(j==123)--_;else if(j==125&&_++==0&&Rm()==125)continue}switch(O+=ra(j),j*_){case 38:x=d>0?1:(O+="\f",-1);break;case 44:l[c++]=(ht(O)-1)*x,x=1;break;case 64:gt()===45&&(O+=An(Ke())),m=gt(),d=h=ht(C=O+=Om(Cn())),j++;break;case 45:y===45&&ht(O)==2&&(_=0)}}return o}function ws(e,t,r,n,a,o,i,l,u,c,d){for(var h=a-1,m=a===0?o:[""],v=Ro(m),y=0,_=0,g=0;y<n;++y)for(var x=0,j=qr(e,h+1,h=vm(_=i[y])),C=e;x<v;++x)(C=ul(_>0?m[x]+" "+j:ae(j,/&\f/g,m[x])))&&(u[g++]=C);return aa(e,t,r,a===0?wo:l,u,c,d)}function Mm(e,t,r){return aa(e,t,r,il,ra(jm()),qr(e,2,-2),0)}function js(e,t,r,n){return aa(e,t,r,jo,qr(e,0,n),qr(e,n+1,-1),n)}function gr(e,t){for(var r="",n=Ro(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function Im(e,t,r,n){switch(e.type){case _m:if(e.children.length)break;case ym:case jo:return e.return=e.return||e.value;case il:return"";case ll:return e.return=e.value+"{"+gr(e.children,n)+"}";case wo:e.value=e.props.join(",")}return ht(r=gr(e.children,n))?e.return=e.value+"{"+r+"}":""}function Em(e){var t=Ro(e);return function(r,n,a,o){for(var i="",l=0;l<t;l++)i+=e[l](r,n,a,o)||"";return i}}function km(e){return function(t){t.root||(t=t.return)&&e(t)}}var Lm=function(t,r,n){for(var a=0,o=0;a=o,o=gt(),a===38&&o===12&&(r[n]=1),!Xr(o);)Ke();return nn(t,Be)},$m=function(t,r){var n=-1,a=44;do switch(Xr(a)){case 0:a===38&>()===12&&(r[n]=1),t[n]+=Lm(Be-1,r,n);break;case 2:t[n]+=An(a);break;case 4:if(a===44){t[++n]=gt()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=ra(a)}while(a=Ke());return t},Nm=function(t,r){return ml($m(dl(t),r))},Rs=new WeakMap,Fm=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,a=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Rs.get(n))&&!a){Rs.set(t,!0);for(var o=[],i=Nm(r,o),l=n.props,u=0,c=0;u<i.length;u++)for(var d=0;d<l.length;d++,c++)t.props[c]=o[u]?i[u].replace(/&\f/g,l[d]):l[d]+" "+i[u]}}},Dm=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function hl(e,t){switch(Sm(e,t)){case 5103:return ne+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ne+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ne+e+Bn+e+Te+e+e;case 6828:case 4268:return ne+e+Te+e+e;case 6165:return ne+e+Te+"flex-"+e+e;case 5187:return ne+e+ae(e,/(\w+).+(:[^]+)/,ne+"box-$1$2"+Te+"flex-$1$2")+e;case 5443:return ne+e+Te+"flex-item-"+ae(e,/flex-|-self/,"")+e;case 4675:return ne+e+Te+"flex-line-pack"+ae(e,/align-content|flex-|-self/,"")+e;case 5548:return ne+e+Te+ae(e,"shrink","negative")+e;case 5292:return ne+e+Te+ae(e,"basis","preferred-size")+e;case 6060:return ne+"box-"+ae(e,"-grow","")+ne+e+Te+ae(e,"grow","positive")+e;case 4554:return ne+ae(e,/([^-])(transform)/g,"$1"+ne+"$2")+e;case 6187:return ae(ae(ae(e,/(zoom-|grab)/,ne+"$1"),/(image-set)/,ne+"$1"),e,"")+e;case 5495:case 3959:return ae(e,/(image-set\([^]*)/,ne+"$1$`$1");case 4968:return ae(ae(e,/(.+:)(flex-)?(.*)/,ne+"box-pack:$3"+Te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ne+e+e;case 4095:case 3583:case 4068:case 2532:return ae(e,/(.+)-inline(.+)/,ne+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ht(e)-1-t>6)switch(Pe(e,t+1)){case 109:if(Pe(e,t+4)!==45)break;case 102:return ae(e,/(.+:)(.+)-([^]+)/,"$1"+ne+"$2-$3$1"+Bn+(Pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~eo(e,"stretch")?hl(ae(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Pe(e,t+1)!==115)break;case 6444:switch(Pe(e,ht(e)-3-(~eo(e,"!important")&&10))){case 107:return ae(e,":",":"+ne)+e;case 101:return ae(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ne+(Pe(e,14)===45?"inline-":"")+"box$3$1"+ne+"$2$3$1"+Te+"$2box$3")+e}break;case 5936:switch(Pe(e,t+11)){case 114:return ne+e+Te+ae(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ne+e+Te+ae(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ne+e+Te+ae(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ne+e+Te+e+e}return e}var Bm=function(t,r,n,a){if(t.length>-1&&!t.return)switch(t.type){case jo:t.return=hl(t.value,t.length);break;case ll:return gr([Dr(t,{value:ae(t.value,"@","@"+ne)})],a);case wo:if(t.length)return wm(t.props,function(o){switch(xm(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return gr([Dr(t,{props:[ae(o,/:(read-\w+)/,":"+Bn+"$1")]})],a);case"::placeholder":return gr([Dr(t,{props:[ae(o,/:(plac\w+)/,":"+ne+"input-$1")]}),Dr(t,{props:[ae(o,/:(plac\w+)/,":"+Bn+"$1")]}),Dr(t,{props:[ae(o,/:(plac\w+)/,Te+"input-$1")]})],a)}return""})}},Um=[Bm],Jm=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(_){var g=_.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(_),_.setAttribute("data-s",""))})}var a=t.stylisPlugins||Um,o={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(_){for(var g=_.getAttribute("data-emotion").split(" "),x=1;x<g.length;x++)o[g[x]]=!0;l.push(_)});var u,c=[Fm,Dm];{var d,h=[Im,km(function(_){d.insert(_)})],m=Em(c.concat(a,h)),v=function(g){return gr(Tm(g),m)};u=function(g,x,j,C){d=j,v(g?g+"{"+x.styles+"}":x.styles),C&&(y.inserted[x.name]=!0)}}var y={key:r,sheet:new gm({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:u};return y.sheet.hydrate(l),y};let ro;typeof document=="object"&&(ro=Jm({key:"css",prepend:!0}));function fl(e){const{injectFirst:t,children:r}=e;return t&&ro?s.jsx(pr.CacheProvider,{value:ro,children:r}):r}process.env.NODE_ENV!=="production"&&(fl.propTypes={children:f.node,injectFirst:f.bool});function Vm(e){return e==null||Object.keys(e).length===0}function pl(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?a=>t(Vm(a)?r:a):t;return s.jsx(pr.Global,{styles:n})}process.env.NODE_ENV!=="production"&&(pl.propTypes={defaultTheme:f.object,styles:f.oneOfType([f.array,f.string,f.object,f.func])});/**
|
|
36
36
|
* @mui/styled-engine v5.16.6
|
|
37
37
|
*
|
|
38
38
|
* @license MIT
|