@wandelbots/wandelbots-js-react-components 1.1.3 → 1.1.5
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.
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("@react-spring/three"),a=require("@react-three/drei"),o=require("@react-three/fiber"),r=require("three");var i=function(){return i=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]])}return n}function c(e,t,n,a){return new(n||(n=Promise))((function(o,r){function i(e){try{c(a.next(e))}catch(e){r(e)}}function s(e){try{c(a.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((a=a.apply(e,t||[])).next())}))}function u(e,t){var n,a,o,r,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(i=0)),i;)try{if(n=1,a&&(o=2&s[0]?a.return:s[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;switch(a=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,a=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],a=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}"function"==typeof SuppressedError&&SuppressedError;var l="(^joint_[0-9]+$)|(_J[0-9]+$)";function h(e){return 0===e.children.length?[e]:function(e,t,n){if(n||2===arguments.length)for(var a,o=0,r=t.length;o<r;o++)!a&&o in t||(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))}([e],e.children.flatMap((function(e){return h(e)})),!0)}function d(e,t){return h(e).filter((function(e){return function(e,t){return new RegExp(null!=t?t:l).test(e)}(e.name,t)}))}var m="production"!==process.env.NODE_ENV?{0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(e,t){return"Cannot apply '"+e+"' to '"+t.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(e,t){return"[mobx.array] Index out of bounds, "+e+" is larger than "+t},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(e){return"Cannot initialize from classes that inherit from Map: "+e.constructor.name},20:function(e){return"Cannot initialize map from "+e},21:function(e){return"Cannot convert to map from '"+e+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(e){return"Cannot obtain administration from "+e},25:function(e,t){return"the entry '"+e+"' does not exist in the observable map '"+t+"'"},26:"please specify a property",27:function(e,t){return"no observable property '"+e.toString()+"' found on the observable object '"+t+"'"},28:function(e){return"Cannot obtain atom from "+e},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(e,t){return"Cycle detected in computation "+e+": "+t},33:function(e){return"The setter of computed value '"+e+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(e){return"[ComputedValue '"+e+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(e){return"[mobx] `observableArray."+e+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+e+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"}:{};function _(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if("production"!==process.env.NODE_ENV){var o="string"==typeof e?e:m[e];throw"function"==typeof o&&(o=o.apply(null,n)),new Error("[MobX] "+o)}throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var p={};function v(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:p}var g=Object.assign,f=Object.getOwnPropertyDescriptor,y=Object.defineProperty,b=Object.prototype,S=[];Object.freeze(S);var w={};Object.freeze(w);var j="undefined"!=typeof Proxy,x=Object.toString();function M(){j||_("production"!==process.env.NODE_ENV?"`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`":"Proxy not available")}function R(e){"production"!==process.env.NODE_ENV&&Ot.verifyProxies&&_("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+e)}function A(){return++Ot.mobxGuid}function O(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var L=function(){};function N(e){return"function"==typeof e}function I(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function E(e){return null!==e&&"object"==typeof e}function C(e){if(!E(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===x}function P(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function k(e,t,n){y(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function D(e,t,n){y(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function U(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return E(e)&&!0===e[n]}}function V(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function B(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var G=void 0!==Object.getOwnPropertySymbols;var T="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:G?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function F(e){return"string"==typeof e?e:"symbol"==typeof e?e.toString():new String(e).toString()}function J(e){return null===e?null:"object"==typeof e?""+e:e}function X(e,t){return b.hasOwnProperty.call(e,t)}var K=Object.getOwnPropertyDescriptors||function(e){var t={};return T(e).forEach((function(n){t[n]=f(e,n)})),t};function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function H(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,Q(a.key),a)}}function q(e,t,n){return t&&H(e.prototype,t),n&&H(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function z(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return W(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Y.apply(null,arguments)}function Z(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$(e,t)}function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}function Q(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}var ee=Symbol("mobx-stored-annotations");function te(e){return Object.assign((function(t,n){if(ae(n))return e.decorate_20223_(t,n);ne(t,n,e)}),e)}function ne(e,t,n){(X(e,ee)||k(e,ee,Y({},e[ee])),"production"!==process.env.NODE_ENV&&me(n)&&!X(e[ee],t))&&_("'"+(e.constructor.name+".prototype."+t.toString())+"' is decorated with 'override', but no such decorated member was found on prototype.");!function(e,t,n){if("production"!==process.env.NODE_ENV&&!me(t)&&X(e[ee],n)){var a=e.constructor.name+".prototype."+n.toString(),o=e[ee][n].annotationType_;_("Cannot apply '@"+t.annotationType_+"' to '"+a+"':\nThe field is already decorated with '@"+o+"'.\nRe-decorating fields is not allowed.\nUse '@override' decorator for methods overridden by subclass.")}}(e,n,t),me(n)||(e[ee][t]=n)}function ae(e){return"object"==typeof e&&"string"==typeof e.kind}function oe(e,t){"production"===process.env.NODE_ENV||t.includes(e.kind)||_("The decorator applied to '"+String(e.name)+"' cannot be used on a "+e.kind+" element")}var re=Symbol("mobx administration"),ie=function(){function e(e){void 0===e&&(e="production"!==process.env.NODE_ENV?"Atom@"+A():"Atom"),this.name_=void 0,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ht.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return Pt(this)},t.reportChanged=function(){Et(),kt(this),Ct()},t.toString=function(){return this.name_},e}(),se=U("Atom",ie);function ce(e,t,n){void 0===t&&(t=L),void 0===n&&(n=L);var a,o=new ie(e);return t!==L&&hn(cn,o,t,a),n!==L&&ln(o,n),o}var ue={identity:function(e,t){return e===t},structural:function(e,t){return Sa(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return Sa(e,t,1)}};function le(e,t,n){return bn(e)?e:Array.isArray(e)?ze.array(e,{name:n}):C(e)?ze.object(e,void 0,{name:n}):V(e)?ze.map(e,{name:n}):B(e)?ze.set(e,{name:n}):"function"!=typeof e||on(e)||yn(e)?e:P(e)?gn(e):an(n,e)}function he(e){return e}var de="override";function me(e){return e.annotationType_===de}function _e(e,t){return{annotationType_:e,options_:t,make_:pe,extend_:ve,decorate_20223_:ge}}function pe(e,t,n,a){var o;if(null!=(o=this.options_)&&o.bound)return null===this.extend_(e,t,n,!1)?0:1;if(a===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(on(n.value))return 1;var r=fe(e,this,t,n,!1);return y(a,t,r),2}function ve(e,t,n,a){var o=fe(e,this,t,n);return e.defineProperty_(t,o,a)}function ge(e,t){"production"!==process.env.NODE_ENV&&oe(t,["method","field"]);var n=t.kind,a=t.name,o=t.addInitializer,r=this;if("field"!=n){var i,s,c,u,l,h;if("method"==n)return on(e)||(s=e,e=ot(null!=(c=null==(u=r.options_)?void 0:u.name)?c:a.toString(),s,null!=(l=null==(h=r.options_)?void 0:h.autoAction)&&l)),null!=(i=this.options_)&&i.bound&&o((function(){var e=this,t=e[a].bind(e);t.isMobxAction=!0,e[a]=t})),e;_("Cannot apply '"+r.annotationType_+"' to '"+String(a)+"' (kind: "+n+"):\n'"+r.annotationType_+"' can only be used on properties with a function value.")}else o((function(){ne(this,a,r)}))}function fe(e,t,n,a,o){var r,i,s,c,u,l,h;void 0===o&&(o=Ot.safeDescriptors),function(e,t,n,a){var o=t.annotationType_,r=a.value;"production"===process.env.NODE_ENV||N(r)||_("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a function value.")}(e,t,n,a);var d,m=a.value;null!=(r=t.options_)&&r.bound&&(m=m.bind(null!=(d=e.proxy_)?d:e.target_));return{value:ot(null!=(i=null==(s=t.options_)?void 0:s.name)?i:n.toString(),m,null!=(c=null==(u=t.options_)?void 0:u.autoAction)&&c,null!=(l=t.options_)&&l.bound?null!=(h=e.proxy_)?h:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ye(e,t){return{annotationType_:e,options_:t,make_:be,extend_:Se,decorate_20223_:we}}function be(e,t,n,a){var o;if(a===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!X(e.target_,t)||!yn(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(yn(n.value))return 1;var r=je(e,this,t,n,!1,!1);return y(a,t,r),2}function Se(e,t,n,a){var o,r=je(e,this,t,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,r,a)}function we(e,t){var n;"production"!==process.env.NODE_ENV&&oe(t,["method"]);var a=t.name,o=t.addInitializer;return yn(e)||(e=gn(e)),null!=(n=this.options_)&&n.bound&&o((function(){var e=this,t=e[a].bind(e);t.isMobXFlow=!0,e[a]=t})),e}function je(e,t,n,a,o,r){void 0===r&&(r=Ot.safeDescriptors),function(e,t,n,a){var o=t.annotationType_,r=a.value;"production"===process.env.NODE_ENV||N(r)||_("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a generator function value.")}(e,t,n,a);var i,s=a.value;(yn(s)||(s=gn(s)),o)&&((s=s.bind(null!=(i=e.proxy_)?i:e.target_)).isMobXFlow=!0);return{value:s,configurable:!r||e.isPlainObject_,enumerable:!1,writable:!r}}function xe(e,t){return{annotationType_:e,options_:t,make_:Me,extend_:Re,decorate_20223_:Ae}}function Me(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Re(e,t,n,a){return function(e,t,n,a){var o=t.annotationType_,r=a.get;"production"===process.env.NODE_ENV||r||_("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on getter(+setter) properties.")}(e,this,t,n),e.defineComputedProperty_(t,Y({},this.options_,{get:n.get,set:n.set}),a)}function Ae(e,t){"production"!==process.env.NODE_ENV&&oe(t,["getter"]);var n=this,a=t.name;return(0,t.addInitializer)((function(){var t=Qn(this)[re],o=Y({},n.options_,{get:e,context:this});o.name||(o.name="production"!==process.env.NODE_ENV?t.name_+"."+a.toString():"ObservableObject."+a.toString()),t.values_.set(a,new lt(o))})),function(){return this[re].getObservablePropValue_(a)}}function Oe(e,t){return{annotationType_:e,options_:t,make_:Le,extend_:Ne,decorate_20223_:Ie}}function Le(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Ne(e,t,n,a){var o,r;return function(e,t,n,a){var o=t.annotationType_;"production"===process.env.NODE_ENV||"value"in a||_("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' cannot be used on getter/setter properties")}(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(o=null==(r=this.options_)?void 0:r.enhancer)?o:le,a)}function Ie(e,t){if("production"!==process.env.NODE_ENV){if("field"===t.kind)throw _("Please use `@observable accessor "+String(t.name)+"` instead of `@observable "+String(t.name)+"`");oe(t,["accessor"])}var n=this,a=t.kind,o=t.name,r=new WeakSet;function i(e,t){var a,i,s=Qn(e)[re],c=new st(t,null!=(a=null==(i=n.options_)?void 0:i.enhancer)?a:le,"production"!==process.env.NODE_ENV?s.name_+"."+o.toString():"ObservableObject."+o.toString(),!1);s.values_.set(o,c),r.add(e)}if("accessor"==a)return{get:function(){return r.has(this)||i(this,e.get.call(this)),this[re].getObservablePropValue_(o)},set:function(e){return r.has(this)||i(this,e),this[re].setObservablePropValue_(o,e)},init:function(e){return r.has(this)||i(this,e),e}}}var Ee="true",Ce=Pe();function Pe(e){return{annotationType_:Ee,options_:e,make_:ke,extend_:De,decorate_20223_:Ue}}function ke(e,t,n,a){var o,r,i,s;if(n.get)return Qe.make_(e,t,n,a);if(n.set){var c=ot(t.toString(),n.set);return a===e.target_?null===e.defineProperty_(t,{configurable:!Ot.safeDescriptors||e.isPlainObject_,set:c})?0:2:(y(a,t,{configurable:!0,set:c}),2)}if(a!==e.target_&&"function"==typeof n.value)return P(n.value)?(null!=(s=this.options_)&&s.autoBind?gn.bound:gn).make_(e,t,n,a):(null!=(i=this.options_)&&i.autoBind?an.bound:an).make_(e,t,n,a);var u,l=!1===(null==(o=this.options_)?void 0:o.deep)?ze.ref:ze;"function"==typeof n.value&&null!=(r=this.options_)&&r.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_));return l.make_(e,t,n,a)}function De(e,t,n,a){var o,r,i;if(n.get)return Qe.extend_(e,t,n,a);if(n.set)return e.defineProperty_(t,{configurable:!Ot.safeDescriptors||e.isPlainObject_,set:ot(t.toString(),n.set)},a);"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(i=e.proxy_)?i:e.target_));return(!1===(null==(r=this.options_)?void 0:r.deep)?ze.ref:ze).extend_(e,t,n,a)}function Ue(e,t){_("'"+this.annotationType_+"' cannot be used as a decorator")}var Ve={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Be(e){return e||Ve}Object.freeze(Ve);var Ge=Oe("observable"),Te=Oe("observable.ref",{enhancer:he}),Fe=Oe("observable.shallow",{enhancer:function(e,t,n){return null==e||na(e)||Tn(e)||Wn(e)||zn(e)?e:Array.isArray(e)?ze.array(e,{name:n,deep:!1}):C(e)?ze.object(e,void 0,{name:n,deep:!1}):V(e)?ze.map(e,{name:n,deep:!1}):B(e)?ze.set(e,{name:n,deep:!1}):void("production"!==process.env.NODE_ENV&&_("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets"))}}),Je=Oe("observable.struct",{enhancer:function(e,t){return"production"!==process.env.NODE_ENV&&bn(e)&&_("observable.struct should not be used with observable values"),Sa(e,t)?t:e}}),Xe=te(Ge);function Ke(e){return!0===e.deep?le:!1===e.deep?he:(t=e.defaultDecorator)&&null!=(n=null==(a=t.options_)?void 0:a.enhancer)?n:le;var t,n,a}function We(e,t,n){return ae(t)?Ge.decorate_20223_(e,t):I(t)?void ne(e,t,Ge):bn(e)?e:C(e)?ze.object(e,t,n):Array.isArray(e)?ze.array(e,t):V(e)?ze.map(e,t):B(e)?ze.set(e,t):"object"==typeof e&&null!==e?e:ze.box(e,t)}g(We,Xe);var He,qe,ze=g(We,{box:function(e,t){var n=Be(t);return new st(e,Ke(n),n.name,!0,n.equals)},array:function(e,t){var n=Be(t);return(!1===Ot.useProxies||!1===n.proxy?pa:Pn)(e,Ke(n),n.name)},map:function(e,t){var n=Be(t);return new Kn(e,Ke(n),n.name)},set:function(e,t){var n=Be(t);return new qn(e,Ke(n),n.name)},object:function(e,t,n){return ya((function(){return function(e,t,n,a){"production"!==process.env.NODE_ENV&&(arguments.length>4&&_("'extendObservable' expected 2-4 arguments"),"object"!=typeof e&&_("'extendObservable' expects an object as first argument"),Wn(e)&&_("'extendObservable' should not be used on maps, use map.merge instead"),C(t)||_("'extendObservable' only accepts plain objects as second argument"),(bn(t)||bn(n))&&_("Extending an object with another observable (object) is not supported"));var o=K(t);return ya((function(){var t=Qn(e,a)[re];T(o).forEach((function(e){t.extend_(e,o[e],!n||(!(e in n)||n[e]))}))})),e}(!1===Ot.useProxies||!1===(null==n?void 0:n.proxy)?Qn({},n):function(e,t){var n,a;return M(),e=Qn(e,t),null!=(a=(n=e[re]).proxy_)?a:n.proxy_=new Proxy(e,jn)}({},n),e,t)}))},ref:te(Te),shallow:te(Fe),deep:Xe,struct:te(Je)}),Ye="computed",Ze=xe(Ye),$e=xe("computed.struct",{equals:ue.structural}),Qe=function(e,t){if(ae(t))return Ze.decorate_20223_(e,t);if(I(t))return ne(e,t,Ze);if(C(e))return te(xe(Ye,e));"production"!==process.env.NODE_ENV&&(N(e)||_("First argument to `computed` should be an expression."),N(t)&&_("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));var n=C(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new lt(n)};Object.assign(Qe,Ze),Qe.struct=te($e);var et=0,tt=1,nt=null!=(He=null==(qe=f((function(){}),"name"))?void 0:qe.configurable)&&He,at={value:"action",configurable:!0,writable:!1,enumerable:!1};function ot(e,t,n,a){function o(){return function(e,t,n,a,o){var r=function(e,t,n,a){var o="production"!==process.env.NODE_ENV&&Xt()&&!!e,r=0;if("production"!==process.env.NODE_ENV&&o){r=Date.now();var i=a?Array.from(a):S;Wt({type:zt,name:e,object:n,arguments:i})}var s=Ot.trackingDerivation,c=!t||!s;Et();var u=Ot.allowStateChanges;c&&(St(),u=rt(!0));var l=jt(!0),h={runAsAction_:c,prevDerivation_:s,prevAllowStateChanges_:u,prevAllowStateReads_:l,notifySpy_:o,startTime_:r,actionId_:tt++,parentActionId_:et};return et=h.actionId_,h}(e,t,a,o);try{return n.apply(a,o)}catch(e){throw r.error_=e,e}finally{!function(e){et!==e.actionId_&&_(30);et=e.parentActionId_,void 0!==e.error_&&(Ot.suppressReactionErrors=!0);it(e.prevAllowStateChanges_),xt(e.prevAllowStateReads_),Ct(),e.runAsAction_&&wt(e.prevDerivation_);"production"!==process.env.NODE_ENV&&e.notifySpy_&&qt({time:Date.now()-e.startTime_});Ot.suppressReactionErrors=!1}(r)}}(e,n,t,a||this,arguments)}return void 0===n&&(n=!1),"production"!==process.env.NODE_ENV&&(N(t)||_("`action` can only be invoked on functions"),"string"==typeof e&&e||_("actions should have valid names, got: '"+e+"'")),o.isMobxAction=!0,o.toString=function(){return t.toString()},nt&&(at.value=e,y(o,"name",at)),o}function rt(e){var t=Ot.allowStateChanges;return Ot.allowStateChanges=e,t}function it(e){Ot.allowStateChanges=e}var st=function(e){function t(t,n,a,o,r){var i;return void 0===a&&(a="production"!==process.env.NODE_ENV?"ObservableValue@"+A():"ObservableValue"),void 0===o&&(o=!0),void 0===r&&(r=ue.default),(i=e.call(this,a)||this).enhancer=void 0,i.name_=void 0,i.equals=void 0,i.hasUnreportedChange_=!1,i.interceptors_=void 0,i.changeListeners_=void 0,i.value_=void 0,i.dehancer=void 0,i.enhancer=n,i.name_=a,i.equals=r,i.value_=n(t,void 0,a),"production"!==process.env.NODE_ENV&&o&&Xt()&&Kt({type:"create",object:i,observableKind:"value",debugObjectName:i.name_,newValue:""+i.value_}),i}Z(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){var t=this.value_;if((e=this.prepareNewValue_(e))!==Ot.UNCHANGED){var n=Xt();"production"!==process.env.NODE_ENV&&n&&Wt({type:In,object:this,observableKind:"value",debugObjectName:this.name_,newValue:e,oldValue:t}),this.setNewValue_(e),"production"!==process.env.NODE_ENV&&n&&qt()}},n.prepareNewValue_=function(e){if(gt(this),xn(this)){var t=Rn(this,{object:this,type:In,newValue:e});if(!t)return Ot.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?Ot.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),An(this)&&Ln(this,{type:In,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return Mn(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:In,newValue:this.value_,oldValue:void 0}),On(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return J(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(ie);function ct(e,t){return!!(e&t)}function ut(e,t,n){return n?e|=t:e&=~t,e}var lt=function(){function e(e){this.dependenciesState_=ht.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ht.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new _t(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=dt.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||_(31),this.derivation=e.get,this.name_=e.name||("production"!==process.env.NODE_ENV?"ComputedValue@"+A():"ComputedValue"),e.set&&(this.setter_=ot("production"!==process.env.NODE_ENV?this.name_+"-setter":"ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?ue.structural:ue.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==ht.UP_TO_DATE_)return;e.lowestObserverState_=ht.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===ht.UP_TO_DATE_&&(e.dependenciesState_=ht.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing&&_(32,this.name_,this.derivation),0!==Ot.inBatch||0!==this.observers_.size||this.keepAlive_){if(Pt(this),vt(this)){var e=Ot.trackingContext;this.keepAlive_&&!e&&(Ot.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===ht.STALE_)return;e.lowestObserverState_=ht.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===ht.POSSIBLY_STALE_?(t.dependenciesState_=ht.STALE_,"production"!==process.env.NODE_ENV&&t.isTracing_!==dt.NONE&&Dt(t,e)):t.dependenciesState_===ht.UP_TO_DATE_&&(e.lowestObserverState_=ht.UP_TO_DATE_)}))}(this),Ot.trackingContext=e}}else vt(this)&&(this.warnAboutUntrackedRead_(),Et(),this.value_=this.computeValue_(!1),Ct());var t=this.value_;if(pt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&_(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else _(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===ht.NOT_TRACKING_,n=this.computeValue_(!0),a=t||pt(e)||pt(n)||!this.equals_(e,n);return a&&(this.value_=n,"production"!==process.env.NODE_ENV&&Xt()&&Kt({observableKind:"computed",debugObjectName:this.name_,object:this.scope_,type:"update",oldValue:e,newValue:n})),a},t.computeValue_=function(e){this.isComputing=!0;var t,n=rt(!1);if(e)t=ft(this,this.derivation,this.scope_);else if(!0===Ot.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new _t(e)}return it(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(yt(this),this.value_=void 0,"production"!==process.env.NODE_ENV&&this.isTracing_!==dt.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' was suspended and it will recompute on the next access."))},t.observe_=function(e,t){var n=this,a=!0,o=void 0;return rn((function(){var r=n.get();if(!a||t){var i=St();e({observableKind:"computed",debugObjectName:n.name_,type:In,object:n,newValue:r,oldValue:o}),wt(i)}a=!1,o=r}))},t.warnAboutUntrackedRead_=function(){"production"!==process.env.NODE_ENV&&(this.isTracing_!==dt.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."),("boolean"==typeof this.requiresReaction_?this.requiresReaction_:Ot.computedRequiresReaction)&&console.warn("[mobx] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."))},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return J(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},q(e,[{key:"isComputing",get:function(){return ct(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=ut(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return ct(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=ut(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return ct(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=ut(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return ct(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=ut(this.flags_,e.isPendingUnobservationMask_,t)}}])}();lt.isComputingMask_=1,lt.isRunningSetterMask_=2,lt.isBeingObservedMask_=4,lt.isPendingUnobservationMask_=8;var ht,dt,mt=U("ComputedValue",lt);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(ht||(ht={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(dt||(dt={}));var _t=function(e){this.cause=void 0,this.cause=e};function pt(e){return e instanceof _t}function vt(e){switch(e.dependenciesState_){case ht.UP_TO_DATE_:return!1;case ht.NOT_TRACKING_:case ht.STALE_:return!0;case ht.POSSIBLY_STALE_:for(var t=jt(!0),n=St(),a=e.observing_,o=a.length,r=0;r<o;r++){var i=a[r];if(mt(i)){if(Ot.disableErrorBoundaries)i.get();else try{i.get()}catch(e){return wt(n),xt(t),!0}if(e.dependenciesState_===ht.STALE_)return wt(n),xt(t),!0}}return Mt(e),wt(n),xt(t),!1}}function gt(e){if("production"!==process.env.NODE_ENV){var t=e.observers_.size>0;Ot.allowStateChanges||!t&&"always"!==Ot.enforceActions||console.warn("[MobX] "+(Ot.enforceActions?"Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ":"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, a computed value or the render function of a React component? You can wrap side effects in 'runInAction' (or decorate functions with 'action') if needed. Tried to modify: ")+e.name_)}}function ft(e,t,n){var a=jt(!0);Mt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++Ot.runId;var o,r=Ot.trackingDerivation;if(Ot.trackingDerivation=e,Ot.inBatch++,!0===Ot.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new _t(e)}return Ot.inBatch--,Ot.trackingDerivation=r,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,a=ht.UP_TO_DATE_,o=0,r=e.unboundDepsCount_,i=0;i<r;i++){var s=n[i];0===s.diffValue_&&(s.diffValue_=1,o!==i&&(n[o]=s),o++),s.dependenciesState_>a&&(a=s.dependenciesState_)}n.length=o,e.newObserving_=null,r=t.length;for(;r--;){var c=t[r];0===c.diffValue_&&Nt(c,e),c.diffValue_=0}for(;o--;){var u=n[o];1===u.diffValue_&&(u.diffValue_=0,Lt(u,e))}a!==ht.UP_TO_DATE_&&(e.dependenciesState_=a,e.onBecomeStale_())}(e),function(e){if("production"===process.env.NODE_ENV)return;if(0!==e.observing_.length)return;("boolean"==typeof e.requiresObservable_?e.requiresObservable_:Ot.reactionRequiresObservable)&&console.warn("[mobx] Derivation '"+e.name_+"' is created/updated without reading any observable value.")}(e),xt(a),o}function yt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Nt(t[n],e);e.dependenciesState_=ht.NOT_TRACKING_}function bt(e){var t=St();try{return e()}finally{wt(t)}}function St(){var e=Ot.trackingDerivation;return Ot.trackingDerivation=null,e}function wt(e){Ot.trackingDerivation=e}function jt(e){var t=Ot.allowStateReads;return Ot.allowStateReads=e,t}function xt(e){Ot.allowStateReads=e}function Mt(e){if(e.dependenciesState_!==ht.UP_TO_DATE_){e.dependenciesState_=ht.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=ht.UP_TO_DATE_}}var Rt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},At=!0,Ot=function(){var e=v();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(At=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Rt).version&&(At=!1),At?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Rt):(setTimeout((function(){_(35)}),1),new Rt)}();function Lt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Nt(e,t){e.observers_.delete(t),0===e.observers_.size&&It(e)}function It(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Ot.pendingUnobservations.push(e))}function Et(){Ot.inBatch++}function Ct(){if(0==--Ot.inBatch){Tt();for(var e=Ot.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof lt&&n.suspend_())}Ot.pendingUnobservations=[]}}function Pt(e){!function(e){"production"!==process.env.NODE_ENV&&!Ot.allowStateReads&&Ot.observableRequiresReaction&&console.warn("[mobx] Observable '"+e.name_+"' being read outside a reactive context.")}(e);var t=Ot.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&Ot.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&Ot.inBatch>0&&It(e),!1)}function kt(e){e.lowestObserverState_!==ht.STALE_&&(e.lowestObserverState_=ht.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===ht.UP_TO_DATE_&&("production"!==process.env.NODE_ENV&&t.isTracing_!==dt.NONE&&Dt(t,e),t.onBecomeStale_()),t.dependenciesState_=ht.STALE_})))}function Dt(e,t){if(console.log("[mobx.trace] '"+e.name_+"' is invalidated due to a change in: '"+t.name_+"'"),e.isTracing_===dt.BREAK){var n=[];Ut(dn(va(e,a)),n,1),new Function("debugger;\n/*\nTracing '"+e.name_+"'\n\nYou are entering this break point because derivation '"+e.name_+"' is being traced and '"+t.name_+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof lt?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}var a}function Ut(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+"\t".repeat(n-1)+e.name),e.dependencies&&e.dependencies.forEach((function(e){return Ut(e,t,n+1)})))}var Vt=function(){function e(e,t,n,a){void 0===e&&(e="production"!==process.env.NODE_ENV?"Reaction@"+A():"Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=ht.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=dt.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=a}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,Ot.pendingReactions.push(this),Tt())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){Et(),this.isScheduled_=!1;var e=Ot.trackingContext;if(Ot.trackingContext=this,vt(this)){this.isTrackPending_=!0;try{this.onInvalidate_(),"production"!==process.env.NODE_ENV&&this.isTrackPending_&&Xt()&&Kt({name:this.name_,type:"scheduled-reaction"})}catch(e){this.reportExceptionInDerivation_(e)}}Ot.trackingContext=e,Ct()}},t.track=function(e){if(!this.isDisposed_){Et();var t,n=Xt();"production"!==process.env.NODE_ENV&&n&&(t=Date.now(),Wt({name:this.name_,type:"reaction"})),this.isRunning_=!0;var a=Ot.trackingContext;Ot.trackingContext=this;var o=ft(this,e,void 0);Ot.trackingContext=a,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&yt(this),pt(o)&&this.reportExceptionInDerivation_(o.cause),"production"!==process.env.NODE_ENV&&n&&qt({time:Date.now()-t}),Ct()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(Ot.disableErrorBoundaries)throw e;var n="production"!==process.env.NODE_ENV?"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'":"[mobx] uncaught error in '"+this+"'";Ot.suppressReactionErrors?"production"!==process.env.NODE_ENV&&console.warn("[mobx] (error in reaction '"+this.name_+"' suppressed, fix error of causing action below)"):console.error(n,e),"production"!==process.env.NODE_ENV&&Xt()&&Kt({type:"error",name:this.name_,message:n,error:""+e}),Ot.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(Et(),yt(this),Ct()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[re]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),function(){if("production"===process.env.NODE_ENV)return;for(var e=!1,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];"boolean"==typeof n[n.length-1]&&(e=n.pop());var o=function(e){switch(e.length){case 0:return Ot.trackingDerivation;case 1:return va(e[0]);case 2:return va(e[0],e[1])}}(n);if(!o)return _("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");o.isTracing_===dt.NONE&&console.log("[mobx.trace] '"+o.name_+"' tracing enabled");o.isTracing_=e?dt.BREAK:dt.LOG}(this,e)},e}(),Bt=100,Gt=function(e){return e()};function Tt(){Ot.inBatch>0||Ot.isRunningReactions||Gt(Ft)}function Ft(){Ot.isRunningReactions=!0;for(var e=Ot.pendingReactions,t=0;e.length>0;){++t===Bt&&(console.error("production"!==process.env.NODE_ENV?"Reaction doesn't converge to a stable state after "+Bt+" iterations. Probably there is a cycle in the reactive function: "+e[0]:"[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),a=0,o=n.length;a<o;a++)n[a].runReaction_()}Ot.isRunningReactions=!1}var Jt=U("Reaction",Vt);function Xt(){return"production"!==process.env.NODE_ENV&&!!Ot.spyListeners.length}function Kt(e){if("production"!==process.env.NODE_ENV&&Ot.spyListeners.length)for(var t=Ot.spyListeners,n=0,a=t.length;n<a;n++)t[n](e)}function Wt(e){"production"!==process.env.NODE_ENV&&Kt(Y({},e,{spyReportStart:!0}))}var Ht={type:"report-end",spyReportEnd:!0};function qt(e){"production"!==process.env.NODE_ENV&&Kt(e?Y({},e,{type:"report-end",spyReportEnd:!0}):Ht)}var zt="action",Yt="autoAction",Zt=_e(zt),$t=_e("action.bound",{bound:!0}),Qt=_e(Yt,{autoAction:!0}),en=_e("autoAction.bound",{autoAction:!0,bound:!0});function tn(e){return function(t,n){return N(t)?ot(t.name||"<unnamed action>",t,e):N(n)?ot(t,n,e):ae(n)?(e?Qt:Zt).decorate_20223_(t,n):I(n)?ne(t,n,e?Qt:Zt):I(t)?te(_e(e?Yt:zt,{name:t,autoAction:e})):void("production"!==process.env.NODE_ENV&&_("Invalid arguments for `action`"))}}var nn=tn(!1);Object.assign(nn,Zt);var an=tn(!0);function on(e){return N(e)&&!0===e.isMobxAction}function rn(e,t){var n,a,o,r;void 0===t&&(t=w),"production"!==process.env.NODE_ENV&&(N(e)||_("Autorun expects a function as first argument"),on(e)&&_("Autorun does not accept actions since actions are untrackable"));var i,s=null!=(n=null==(a=t)?void 0:a.name)?n:"production"!==process.env.NODE_ENV?e.name||"Autorun@"+A():"Autorun";if(!t.scheduler&&!t.delay)i=new Vt(s,(function(){this.track(l)}),t.onError,t.requiresObservable);else{var c=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:sn}(t),u=!1;i=new Vt(s,(function(){u||(u=!0,c((function(){u=!1,i.isDisposed_||i.track(l)})))}),t.onError,t.requiresObservable)}function l(){e(i)}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||i.schedule_(),i.getDisposer_(null==(r=t)?void 0:r.signal)}Object.assign(an,Qt),nn.bound=te($t),an.bound=te(en);var sn=function(e){return e()};var cn="onBO",un="onBUO";function ln(e,t,n){return hn(un,e,t,n)}function hn(e,t,n,a){var o="function"==typeof a?va(t,n):va(t),r=N(a)?a:n,i=e+"L";return o[i]?o[i].add(r):o[i]=new Set([r]),function(){var e=o[i];e&&(e.delete(r),0===e.size&&delete o[i])}}function dn(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(dn)),n}var mn=0;function _n(){this.message="FLOW_CANCELLED"}_n.prototype=Object.create(Error.prototype);var pn=ye("flow"),vn=ye("flow.bound",{bound:!0}),gn=Object.assign((function(e,t){if(ae(t))return pn.decorate_20223_(e,t);if(I(t))return ne(e,t,pn);"production"!==process.env.NODE_ENV&&1!==arguments.length&&_("Flow expects single argument with generator function");var n=e,a=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++mn,r=nn(a+" - runid: "+o+" - init",n).apply(this,t),i=void 0,s=new Promise((function(t,n){var s=0;function c(e){var t;i=void 0;try{t=nn(a+" - runid: "+o+" - yield "+s++,r.next).call(r,e)}catch(e){return n(e)}l(t)}function u(e){var t;i=void 0;try{t=nn(a+" - runid: "+o+" - yield "+s++,r.throw).call(r,e)}catch(e){return n(e)}l(t)}function l(e){if(!N(null==e?void 0:e.then))return e.done?t(e.value):(i=Promise.resolve(e.value)).then(c,u);e.then(l,n)}e=n,c(void 0)}));return s.cancel=nn(a+" - runid: "+o+" - cancel",(function(){try{i&&fn(i);var t=r.return(void 0),n=Promise.resolve(t.value);n.then(L,L),fn(n),e(new _n)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),pn);function fn(e){N(e.cancel)&&e.cancel()}function yn(e){return!0===(null==e?void 0:e.isMobXFlow)}function bn(e){return"production"!==process.env.NODE_ENV&&1!==arguments.length&&_("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),function(e,t){return!!e&&(void 0!==t?"production"!==process.env.NODE_ENV&&(Wn(e)||Tn(e))?_("isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead."):!!na(e)&&e[re].values_.has(t):na(e)||!!e[re]||se(e)||Jt(e)||mt(e))}(e)}function Sn(e,t){void 0===t&&(t=void 0),Et();try{return e.apply(t)}finally{Ct()}}function wn(e){return e[re]}gn.bound=te(vn);var jn={has:function(e,t){return"production"!==process.env.NODE_ENV&&Ot.trackingDerivation&&R("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),wn(e).has_(t)},get:function(e,t){return wn(e).get_(t)},set:function(e,t,n){var a;return!!I(t)&&("production"===process.env.NODE_ENV||wn(e).values_.has(t)||R("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),null==(a=wn(e).set_(t,n,!0))||a)},deleteProperty:function(e,t){var n;return"production"!==process.env.NODE_ENV&&R("delete properties from an observable object. Use 'remove' from 'mobx' instead."),!!I(t)&&(null==(n=wn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var a;return"production"!==process.env.NODE_ENV&&R("define property on an observable object. Use 'defineProperty' from 'mobx' instead."),null==(a=wn(e).defineProperty_(t,n))||a},ownKeys:function(e){return"production"!==process.env.NODE_ENV&&Ot.trackingDerivation&&R("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),wn(e).ownKeys_()},preventExtensions:function(e){_(13)}};function xn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function Mn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),O((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Rn(e,t){var n=St();try{for(var a=[].concat(e.interceptors_||[]),o=0,r=a.length;o<r&&((t=a[o](t))&&!t.type&&_(14),t);o++);return t}finally{wt(n)}}function An(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function On(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),O((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Ln(e,t){var n=St(),a=e.changeListeners_;if(a){for(var o=0,r=(a=a.slice()).length;o<r;o++)a[o](t);wt(n)}}var Nn="splice",In="update",En={get:function(e,t){var n=e[re];return t===re?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?X(kn,t)?kn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var a=e[re];return"length"===t&&a.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:a.set_(parseInt(t),n),!0},preventExtensions:function(){_(15)}},Cn=function(){function e(e,t,n,a){void 0===e&&(e="production"!==process.env.NODE_ENV?"ObservableArray@"+A():"ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=a,this.atom_=new ie(e),this.enhancer_=function(n,a){return t(n,a,"production"!==process.env.NODE_ENV?e+"[..]":"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return Mn(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),On(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&_("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),a=0;a<e-t;a++)n[a]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&_(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&_a(e+t+1)},t.spliceWithArray_=function(e,t,n){var a=this;gt(this.atom_);var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=S),xn(this)){var r=Rn(this,{object:this.proxy_,type:Nn,index:e,removedCount:t,added:n});if(!r)return S;t=r.removedCount,n=r.added}if(n=0===n.length?n:n.map((function(e){return a.enhancer_(e,void 0)})),this.legacyMode_||"production"!==process.env.NODE_ENV){var i=n.length-t;this.updateArrayLength_(o,i)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var a;if(n.length<1e4)return(a=this.values_).splice.apply(a,[e,t].concat(n));var o=this.values_.slice(e,e+t),r=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var i=0;i<n.length;i++)this.values_[e+i]=n[i];for(var s=0;s<r.length;s++)this.values_[e+n.length+s]=r[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var a=!this.owned_&&Xt(),o=An(this),r=o||a?{observableKind:"array",object:this.proxy_,type:In,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;"production"!==process.env.NODE_ENV&&a&&Wt(r),this.atom_.reportChanged(),o&&Ln(this,r),"production"!==process.env.NODE_ENV&&a&&qt()},t.notifyArraySplice_=function(e,t,n){var a=!this.owned_&&Xt(),o=An(this),r=o||a?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:Nn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;"production"!==process.env.NODE_ENV&&a&&Wt(r),this.atom_.reportChanged(),o&&Ln(this,r),"production"!==process.env.NODE_ENV&&a&&qt()},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("production"!==process.env.NODE_ENV?"[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX":"[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&_(17,e,n.length),e<n.length){gt(this.atom_);var a=n[e];if(xn(this)){var o=Rn(this,{type:In,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,a))!==a&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,a))}else{for(var r=new Array(e+1-n.length),i=0;i<r.length-1;i++)r[i]=void 0;r[r.length-1]=t,this.spliceWithArray_(n.length,0,r)}},e}();function Pn(e,t,n,a){return void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableArray@"+A():"ObservableArray"),void 0===a&&(a=!1),M(),ya((function(){var o=new Cn(n,t,a,!1);D(o.values_,re,o);var r=new Proxy(o.values_,En);return o.proxy_=r,e&&e.length&&o.spliceWithArray_(0,0,e),r}))}var kn={clear:function(){return this.splice(0)},replace:function(e){var t=this[re];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];var r=this[re];switch(arguments.length){case 0:return[];case 1:return r.spliceWithArray_(e);case 2:return r.spliceWithArray_(e,t)}return r.spliceWithArray_(e,t,a)},spliceWithArray:function(e,t,n){return this[re].spliceWithArray_(e,t,n)},push:function(){for(var e=this[re],t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[re].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[re],t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return Ot.trackingDerivation&&_(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){Ot.trackingDerivation&&_(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[re],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function Dn(e,t){"function"==typeof Array.prototype[e]&&(kn[e]=t(e))}function Un(e){return function(){var t=this[re];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Vn(e){return function(t,n){var a=this,o=this[re];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,a)}))}}function Bn(e){return function(){var t=this,n=this[re];n.atom_.reportObserved();var a=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,a){return o(e,n,a,t)},a[e].apply(a,arguments)}}Dn("at",Un),Dn("concat",Un),Dn("flat",Un),Dn("includes",Un),Dn("indexOf",Un),Dn("join",Un),Dn("lastIndexOf",Un),Dn("slice",Un),Dn("toString",Un),Dn("toLocaleString",Un),Dn("toSorted",Un),Dn("toSpliced",Un),Dn("with",Un),Dn("every",Vn),Dn("filter",Vn),Dn("find",Vn),Dn("findIndex",Vn),Dn("findLast",Vn),Dn("findLastIndex",Vn),Dn("flatMap",Vn),Dn("forEach",Vn),Dn("map",Vn),Dn("some",Vn),Dn("toReversed",Vn),Dn("reduce",Bn),Dn("reduceRight",Bn);var Gn=U("ObservableArrayAdministration",Cn);function Tn(e){return E(e)&&Gn(e[re])}var Fn={},Jn="add",Xn="delete",Kn=function(){function e(e,t,n){var a=this;void 0===t&&(t=le),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableMap@"+A():"ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[re]=Fn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,N(Map)||_(18),ya((function(){a.keysAtom_=ce("production"!==process.env.NODE_ENV?a.name_+".keys()":"ObservableMap.keys()"),a.data_=new Map,a.hasMap_=new Map,e&&a.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!Ot.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var a=n=new st(this.has_(e),he,"production"!==process.env.NODE_ENV?this.name_+"."+F(e)+"?":"ObservableMap.key?",!1);this.hasMap_.set(e,a),ln(a,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(xn(this)){var a=Rn(this,{type:n?In:Jn,object:this,newValue:t,name:e});if(!a)return this;t=a.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((gt(this.keysAtom_),xn(this))&&!Rn(this,{type:Xn,object:this,name:e}))return!1;if(this.has_(e)){var n=Xt(),a=An(this),o=a||n?{observableKind:"map",debugObjectName:this.name_,type:Xn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return"production"!==process.env.NODE_ENV&&n&&Wt(o),Sn((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),a&&Ln(this,o),"production"!==process.env.NODE_ENV&&n&&qt(),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==Ot.UNCHANGED){var a=Xt(),o=An(this),r=o||a?{observableKind:"map",debugObjectName:this.name_,type:In,object:this,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&a&&Wt(r),n.setNewValue_(t),o&&Ln(this,r),"production"!==process.env.NODE_ENV&&a&&qt()}},t.addValue_=function(e,t){var n=this;gt(this.keysAtom_),Sn((function(){var a,o=new st(t,n.enhancer_,"production"!==process.env.NODE_ENV?n.name_+"."+F(e):"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(a=n.hasMap_.get(e))||a.setNewValue_(!0),n.keysAtom_.reportChanged()}));var a=Xt(),o=An(this),r=o||a?{observableKind:"map",debugObjectName:this.name_,type:Jn,object:this,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&a&&Wt(r),o&&Ln(this,r),"production"!==process.env.NODE_ENV&&a&&qt()},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return xa({next:function(){var n=t.next(),a=n.done,o=n.value;return{done:a,value:a?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return xa({next:function(){var n=t.next(),a=n.done,o=n.value;return{done:a,value:a?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,a=z(this);!(n=a()).done;){var o=n.value,r=o[0],i=o[1];e.call(t,i,r,this)}},t.merge=function(e){var t=this;return Wn(e)&&(e=new Map(e)),Sn((function(){var n,a,o;C(e)?function(e){var t=Object.keys(e);if(!G)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return b.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],a=e[1];return t.set(n,a)})):V(e)?(n=e,a=Object.getPrototypeOf(n),o=Object.getPrototypeOf(a),null!==Object.getPrototypeOf(o)&&_(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&_(20,e)})),this},t.clear=function(){var e=this;Sn((function(){bt((function(){for(var t,n=z(e.keys());!(t=n()).done;){var a=t.value;e.delete(a)}}))}))},t.replace=function(e){var t=this;return Sn((function(){for(var n,a=function(e){if(V(e)||Wn(e))return e;if(Array.isArray(e))return new Map(e);if(C(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return _(21,e)}(e),o=new Map,r=!1,i=z(t.data_.keys());!(n=i()).done;){var s=n.value;if(!a.has(s))if(t.delete(s))r=!0;else{var c=t.data_.get(s);o.set(s,c)}}for(var u,l=z(a.entries());!(u=l()).done;){var h=u.value,d=h[0],m=h[1],p=t.data_.has(d);if(t.set(d,m),t.data_.has(d)){var v=t.data_.get(d);o.set(d,v),p||(r=!0)}}if(!r)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),f=o.keys(),y=g.next(),b=f.next();!y.done;){if(y.value!==b.value){t.keysAtom_.reportChanged();break}y=g.next(),b=f.next()}t.data_=o})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&_("`observe` doesn't support fireImmediately=true in combination with maps."),On(this,e)},t.intercept_=function(e){return Mn(this,e)},q(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),Wn=U("ObservableMap",Kn);var Hn={},qn=function(){function e(e,t,n){var a=this;void 0===t&&(t=le),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableSet@"+A():"ObservableSet"),this.name_=void 0,this[re]=Hn,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,N(Set)||_(22),this.enhancer_=function(e,a){return t(e,a,n)},ya((function(){a.atom_=ce(a.name_),e&&a.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;Sn((function(){bt((function(){for(var t,n=z(e.data_.values());!(t=n()).done;){var a=t.value;e.delete(a)}}))}))},t.forEach=function(e,t){for(var n,a=z(this);!(n=a()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if((gt(this.atom_),xn(this))&&!Rn(this,{type:Jn,object:this,newValue:e}))return this;if(!this.has(e)){Sn((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n="production"!==process.env.NODE_ENV&&Xt(),a=An(this),o=a||n?{observableKind:"set",debugObjectName:this.name_,type:Jn,object:this,newValue:e}:null;n&&"production"!==process.env.NODE_ENV&&Wt(o),a&&Ln(this,o),n&&"production"!==process.env.NODE_ENV&&qt()}return this},t.delete=function(e){var t=this;if(xn(this)&&!Rn(this,{type:Xn,object:this,oldValue:e}))return!1;if(this.has(e)){var n="production"!==process.env.NODE_ENV&&Xt(),a=An(this),o=a||n?{observableKind:"set",debugObjectName:this.name_,type:Xn,object:this,oldValue:e}:null;return n&&"production"!==process.env.NODE_ENV&&Wt(o),Sn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),a&&Ln(this,o),n&&"production"!==process.env.NODE_ENV&&qt(),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return xa({next:function(){var a=e;return e+=1,a<n.length?{value:[t[a],n[a]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return xa({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.intersection=function(e){return B(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return B(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return B(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return B(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return zn(e)&&(e=new Set(e)),Sn((function(){Array.isArray(e)||B(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&_("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&_("`observe` doesn't support fireImmediately=true in combination with sets."),On(this,e)},t.intercept_=function(e){return Mn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},q(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),zn=U("ObservableSet",qn),Yn=Object.create(null),Zn="remove",$n=function(){function e(e,t,n,a){void 0===t&&(t=new Map),void 0===a&&(a=Ce),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=a,this.keysAtom_=new ie("production"!==process.env.NODE_ENV?this.name_+".keys":"ObservableObject.keys"),this.isPlainObject_=C(this.target_),"production"===process.env.NODE_ENV||Ra(this.defaultAnnotation_)||_("defaultAnnotation must be valid annotation"),"production"!==process.env.NODE_ENV&&(this.appliedAnnotations_={})}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof lt)return n.set(t),!0;if(xn(this)){var a=Rn(this,{type:In,object:this.proxy_||this.target_,name:e,newValue:t});if(!a)return null;t=a.newValue}if((t=n.prepareNewValue_(t))!==Ot.UNCHANGED){var o=An(this),r="production"!==process.env.NODE_ENV&&Xt(),i=o||r?{type:In,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&r&&Wt(i),n.setNewValue_(t),o&&Ln(this,i),"production"!==process.env.NODE_ENV&&r&&qt()}return!0},t.get_=function(e){return Ot.trackingDerivation&&!X(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),X(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!Ot.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new st(e in this.target_,he,"production"!==process.env.NODE_ENV?this.name_+"."+F(e)+"?":"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(oa(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[ee])&&n[e])return;_(1,t.annotationType_,this.name_+"."+e.toString())}for(var a=this.target_;a&&a!==b;){var o=f(a,e);if(o){var r=t.make_(this,e,o,a);if(0===r)return;if(1===r)break}a=Object.getPrototypeOf(a)}aa(this,t,e)}},t.extend_=function(e,t,n,a){if(void 0===a&&(a=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,a);oa(this,n,e);var o=n.extend_(this,e,t,a);return o&&aa(this,n,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),gt(this.keysAtom_);try{Et();var a=this.delete_(e);if(!a)return a;if(xn(this)){var o=Rn(this,{object:this.proxy_||this.target_,name:e,type:Jn,newValue:t.value});if(!o)return null;var r=o.newValue;t.value!==r&&(t=Y({},t,{value:r}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else y(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{Ct()}return!0},t.defineObservableProperty_=function(e,t,n,a){void 0===a&&(a=!1),gt(this.keysAtom_);try{Et();var o=this.delete_(e);if(!o)return o;if(xn(this)){var r=Rn(this,{object:this.proxy_||this.target_,name:e,type:Jn,newValue:t});if(!r)return null;t=r.newValue}var i=ta(e),s={configurable:!Ot.safeDescriptors||this.isPlainObject_,enumerable:!0,get:i.get,set:i.set};if(a){if(!Reflect.defineProperty(this.target_,e,s))return!1}else y(this.target_,e,s);var c=new st(t,n,"production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key",!1);this.values_.set(e,c),this.notifyPropertyAddition_(e,c.value_)}finally{Ct()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),gt(this.keysAtom_);try{Et();var a=this.delete_(e);if(!a)return a;if(xn(this))if(!Rn(this,{object:this.proxy_||this.target_,name:e,type:Jn,newValue:void 0}))return null;t.name||(t.name="production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key"),t.context=this.proxy_||this.target_;var o=ta(e),r={configurable:!Ot.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,r))return!1}else y(this.target_,e,r);this.values_.set(e,new lt(t)),this.notifyPropertyAddition_(e,void 0)}finally{Ct()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),gt(this.keysAtom_),!X(this.target_,e))return!0;if(xn(this)&&!Rn(this,{object:this.proxy_||this.target_,name:e,type:Zn}))return null;try{var n;Et();var a,o=An(this),r="production"!==process.env.NODE_ENV&&Xt(),i=this.values_.get(e),s=void 0;if(!i&&(o||r))s=null==(a=f(this.target_,e))?void 0:a.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if("production"!==process.env.NODE_ENV&&delete this.appliedAnnotations_[e],i&&(this.values_.delete(e),i instanceof st&&(s=i.value_),kt(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o||r){var c={type:Zn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};"production"!==process.env.NODE_ENV&&r&&Wt(c),o&&Ln(this,c),"production"!==process.env.NODE_ENV&&r&&qt()}}finally{Ct()}return!0},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&_("`observe` doesn't support the fire immediately property for observable objects."),On(this,e)},t.intercept_=function(e){return Mn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,a=An(this),o="production"!==process.env.NODE_ENV&&Xt();if(a||o){var r=a||o?{type:Jn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&o&&Wt(r),a&&Ln(this,r),"production"!==process.env.NODE_ENV&&o&&qt()}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),T(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function Qn(e,t){var n;if("production"!==process.env.NODE_ENV&&t&&na(e)&&_("Options can't be provided for already observable objects."),X(e,re))return"production"===process.env.NODE_ENV||ga(e)instanceof $n||_("Cannot convert '"+fa(e)+"' into observable object:\nThe target is already observable of different type.\nExtending builtins is not supported."),e;"production"===process.env.NODE_ENV||Object.isExtensible(e)||_("Cannot make the designated object observable; it is not extensible");var a=null!=(n=null==t?void 0:t.name)?n:"production"!==process.env.NODE_ENV?(C(e)?"ObservableObject":e.constructor.name)+"@"+A():"ObservableObject",o=new $n(e,new Map,String(a),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:Pe(e):void 0}(t));return k(e,re,o),e}var ea=U("ObservableObjectAdministration",$n);function ta(e){return Yn[e]||(Yn[e]={get:function(){return this[re].getObservablePropValue_(e)},set:function(t){return this[re].setObservablePropValue_(e,t)}})}function na(e){return!!E(e)&&ea(e[re])}function aa(e,t,n){var a;"production"!==process.env.NODE_ENV&&(e.appliedAnnotations_[n]=t),null==(a=e.target_[ee])||delete a[n]}function oa(e,t,n){if("production"===process.env.NODE_ENV||Ra(t)||_("Cannot annotate '"+e.name_+"."+n.toString()+"': Invalid annotation."),"production"!==process.env.NODE_ENV&&!me(t)&&X(e.appliedAnnotations_,n)){var a=e.name_+"."+n.toString(),o=e.appliedAnnotations_[n].annotationType_;_("Cannot apply '"+t.annotationType_+"' to '"+a+"':\nThe field is already annotated with '"+o+"'.\nRe-annotating fields is not allowed.\nUse 'override' annotation for methods overridden by subclass.")}}var ra,ia,sa=da(0),ca=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),ua=0,la=function(){};ra=la,ia=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(ra.prototype,ia):void 0!==ra.prototype.__proto__?ra.prototype.__proto__=ia:ra.prototype=ia;var ha=function(e){function t(t,n,a,o){var r;return void 0===a&&(a="production"!==process.env.NODE_ENV?"ObservableArray@"+A():"ObservableArray"),void 0===o&&(o=!1),r=e.call(this)||this,ya((function(){var e=new Cn(a,n,o,!0);e.proxy_=r,D(r,re,e),t&&t.length&&r.spliceWithArray(0,0,t),ca&&Object.defineProperty(r,"0",sa)})),r}Z(t,e);var n=t.prototype;return n.concat=function(){this[re].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return Tn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return xa({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},q(t,[{key:"length",get:function(){return this[re].getArrayLength_()},set:function(e){this[re].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(la);function da(e){return{enumerable:!1,configurable:!0,get:function(){return this[re].get_(e)},set:function(t){this[re].set_(e,t)}}}function ma(e){y(ha.prototype,""+e,da(e))}function _a(e){if(e>ua){for(var t=ua;t<e+100;t++)ma(t);ua=e}}function pa(e,t,n){return new ha(e,t,n)}function va(e,t){if("object"==typeof e&&null!==e){if(Tn(e))return void 0!==t&&_(23),e[re].atom_;if(zn(e))return e.atom_;if(Wn(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||_(25,t,fa(e)),n}if(na(e)){if(!t)return _(26);var a=e[re].values_.get(t);return a||_(27,t,fa(e)),a}if(se(e)||mt(e)||Jt(e))return e}else if(N(e)&&Jt(e[re]))return e[re];_(28)}function ga(e,t){return e||_(29),void 0!==t?ga(va(e,t)):se(e)||mt(e)||Jt(e)||Wn(e)||zn(e)?e:e[re]?e[re]:void _(24,e)}function fa(e,t){var n;if(void 0!==t)n=va(e,t);else{if(on(e))return e.name;n=na(e)||Wn(e)||zn(e)?ga(e):va(e)}return n.name_}function ya(e){var t=St(),n=rt(!0);Et();try{return e()}finally{Ct(),it(n),wt(t)}}Object.entries(kn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&k(ha.prototype,t,n)})),_a(1e3);var ba=b.toString;function Sa(e,t,n){return void 0===n&&(n=-1),wa(e,t,n)}function wa(e,t,n,a,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var r=typeof e;if("function"!==r&&"object"!==r&&"object"!=typeof t)return!1;var i=ba.call(e);if(i!==ba.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=ja(e),t=ja(t);var s="[object Array]"===i;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var c=e.constructor,u=t.constructor;if(c!==u&&!(N(c)&&c instanceof c&&N(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var l=(a=a||[]).length;l--;)if(a[l]===e)return o[l]===t;if(a.push(e),o.push(t),s){if((l=e.length)!==t.length)return!1;for(;l--;)if(!wa(e[l],t[l],n-1,a,o))return!1}else{var h,d=Object.keys(e);if(l=d.length,Object.keys(t).length!==l)return!1;for(;l--;)if(!X(t,h=d[l])||!wa(e[h],t[h],n-1,a,o))return!1}return a.pop(),o.pop(),!0}function ja(e){return Tn(e)?e.slice():V(e)||Wn(e)||B(e)||zn(e)?Array.from(e.entries()):e}function xa(e){return e[Symbol.iterator]=Ma,e}function Ma(){return this}function Ra(e){return e instanceof Object&&"string"==typeof e.annotationType_&&N(e.make_)&&N(e.extend_)}function Aa(e){var n;n=function(){return rn(e)},t.useEffect(n,[])}function Oa(e){var a=e.connectedMotionGroup,r=e.robotRootObjectName,s=e.onRotationChanged,c=e.jointCollector;n.Globals.assign({frameLoop:"always"});var u=t.useRef([]),l=t.useRef([]),h=o.useThree(),m=h.scene,_=h.invalidate;function p(){var e=l.current.map((function(e,t){return g[t].get()}));s(l.current,e)}t.useEffect((function(){var e=m.getObjectByName(r);e&&(l.current=c?c(e):d(e),p(),_())}),[]),Aa((function(){var e=a.rapidlyChangingMotionState.state.joint_position.joints.filter((function(e){return void 0!==e}));requestAnimationFrame((function(){return function(e){u.current=e,f.start(Object.assign({},u.current))}(e)}))}));var v=n.useSpring((function(){return i(i({},Object.assign({},a.rapidlyChangingMotionState.state.joint_position.joints)),{onChange:function(){p(),_()},onResolve:function(){p()}})})),g=v[0],f=v[1];return null}function La(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR3",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J03",position:[-.244,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J04",position:[-.213,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J05",position:[0,.112,0],rotation:[Math.PI/2,0,0],children:[e.jsx("mesh",{name:"UR3_05",castShadow:!0,receiveShadow:!0,geometry:l.UR3_05.geometry,material:h.Standard}),e.jsxs(n.animated.group,{name:"UR3_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR3_FLG",position:[0,.082,0]}),e.jsx("mesh",{name:"UR3_L06",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L06.geometry,material:h.Standard})]})]}),e.jsx("mesh",{name:"UR3_L04",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L04.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3_L03",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L03.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3_L02",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L02.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3_L01",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L01.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3_L00",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L00.geometry,material:h.Standard,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Na(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs(n.animated.group,{name:"UR3e",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J03",position:[-.244,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J04",position:[-.213,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J05",position:[0,.131,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR3e_FLG",position:[0,.092,0]}),e.jsx("mesh",{name:"UR3e_L06",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L06.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L05",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L05.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L04",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L04.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L03",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L03.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L02",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L02.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L01",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L01.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L00",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L00.geometry,material:h.Standard,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ia(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o).nodes;return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR5",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J02",position:[0,.089,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J03",position:[-.425,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J04",position:[-.392,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J05",position:[0,.109,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J06",position:[0,.095,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR5_FLG",position:[0,.082,0]}),e.jsx("mesh",{name:"UR5_L06",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L06.geometry,material:u.UR5_L06.material})]}),e.jsx("mesh",{name:"UR5_L05",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L05.geometry,material:u.UR5_L05.material})]}),e.jsx("mesh",{name:"UR5_L04",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L04.geometry,material:u.UR5_L04.material})]}),e.jsx("mesh",{name:"UR5_L03",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L03.geometry,material:u.UR5_L03.material})]}),e.jsx("mesh",{name:"UR5_L02",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L02.geometry,material:u.UR5_L02.material})]}),e.jsx("mesh",{name:"UR5_L01",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L01.geometry,material:u.UR5_L01.material})]}),e.jsx("mesh",{name:"UR5_L00",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L00.geometry,material:u.UR5_L00.material,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ea(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR5e",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J02",position:[0,.162,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J03",position:[-.425,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J04",position:[-.392,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J05",position:[0,.133,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J06",position:[0,.1,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR5e_FLG",position:[0,.1,0]}),e.jsx("group",{name:"UR5e_L06",position:[0,.1,0],rotation:[0,0,-Math.PI],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000255",castShadow:!0,receiveShadow:!0,geometry:l["C-1000255"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000255_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000255_1"].geometry,material:h.Metal})]})})]}),e.jsx("group",{name:"UR5e_L05",rotation:[-Math.PI/2,-Math.PI/3,0],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000253",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000253_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253_1"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000253_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253_2"].geometry,material:h.Metal}),e.jsx("mesh",{name:"C-1000253_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253_3"].geometry,material:h.DarkGray})]})})]}),e.jsx("group",{name:"UR5e_L04",rotation:[0,-Math.PI/3,0],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000251",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000251_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251_1"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000251_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251_2"].geometry,material:h.Metal}),e.jsx("mesh",{name:"C-1000251_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251_3"].geometry,material:h.DarkGray})]})})]}),e.jsx("group",{name:"UR5e_L03",children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000250",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000250_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_1"].geometry,material:h.DarkGray}),e.jsx("mesh",{name:"C-1000250_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_2"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000250_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_3"].geometry,material:h.Metal}),e.jsx("mesh",{name:"C-1000250_4",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_4"].geometry,material:h.Metal})]})})]}),e.jsx("group",{name:"UR5e_L02",rotation:[0,-Math.PI/2,0],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000249",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249"].geometry,material:h.Metal}),e.jsx("mesh",{name:"C-1000249_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_1"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000249_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_2"].geometry,material:h.DarkGray}),e.jsx("mesh",{name:"C-1000249_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_3"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000249_4",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_4"].geometry,material:h.Metal})]})})]}),e.jsx("group",{name:"UR5e_L01",rotation:[Math.PI/2,0,0],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000248",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248"].geometry,material:h.DarkGray}),e.jsx("mesh",{name:"C-1000248_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248_1"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000248_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248_2"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000248_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248_3"].geometry,material:h.Metal})]})})]}),e.jsx("group",{name:"UR5e_L00",children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000257",castShadow:!0,receiveShadow:!0,geometry:l["C-1000257"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000257_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000257_1"].geometry,material:h.Metal})]})})]})})}))]})}function Ca(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR10",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J02",position:[0,.126,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J03",position:[-.612,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J04",position:[-.572,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J05",position:[0,.164,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J06",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR10_FLG",position:[0,.092,0]}),e.jsx("mesh",{name:"UR10_L06",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L06.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L05",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L05.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L04",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L04.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L03",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L03.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L02",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L02.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L01",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L01.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L00",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L00.geometry,material:h.Standard,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Pa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR10e",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J02",position:[0,.181,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J03",position:[-.613,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J04",position:[-.572,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J05",position:[0,.174,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J06",position:[0,.12,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_FLG",position:[1.184,-.174,.061],rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000493",geometry:l["C-1000493"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000493_1",geometry:l["C-1000493_1"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0})]}),e.jsx("group",{name:"UR10e_L07",position:[0,.117,0]})]}),e.jsxs("group",{name:"UR10e_L06",position:[1.184,.181,.174],rotation:[Math.PI,0,0],children:[e.jsx("mesh",{name:"C-1000492",geometry:l["C-1000492"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000492_1",geometry:l["C-1000492_1"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000492_2",geometry:l["C-1000492_2"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000492_3",geometry:l["C-1000492_3"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs("group",{name:"UR10e_L05",position:[1.184,0,.181],rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000491",geometry:l["C-1000491"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000491_1",geometry:l["C-1000491_1"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000491_2",geometry:l["C-1000491_2"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000491_3",geometry:l["C-1000491_3"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs("group",{name:"UR10e_L04",position:[.613,0,.181],rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000490",geometry:l["C-1000490"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000490_1",geometry:l["C-1000490_1"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000490_2",geometry:l["C-1000490_2"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000490_3",geometry:l["C-1000490_3"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs(n.animated.group,{name:"UR10e_L03",position:[0,0,.181],rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000489",geometry:l["C-1000489"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000489_1",geometry:l["C-1000489_1"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000489_2",geometry:l["C-1000489_2"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000489_3",geometry:l["C-1000489_3"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000489_4",geometry:l["C-1000489_4"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs("group",{name:"UR10e_L02",children:[e.jsx("mesh",{name:"C-1000488",geometry:l["C-1000488"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000488_1",geometry:l["C-1000488_1"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000488_2",geometry:l["C-1000488_2"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000488_3",geometry:l["C-1000488_3"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs("group",{name:"UR10e_L01",rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000487",geometry:l["C-1000487"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000487_1",geometry:l["C-1000487_1"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0})]})]})})}))]})}function ka(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"AR900",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J02",position:[.04,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"AR900_J03",position:[.445,0,0],rotation:[-Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J04",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J05",position:[0,-.44,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J06",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR900_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"AR900_L06",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L06.geometry,material:h["#BBA474.001"]})]}),e.jsx("mesh",{name:"AR900_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L05.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L04",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L04.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L03",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L03.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L02.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L01",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L01.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L00.geometry,material:h["#0056b9.001"],rotation:[-Math.PI/2,0,0]})]})})}))]})}function Da(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0],m=[1,-1,1,1,1,1];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=m[n]*t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"AR1440",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J02",position:[.155,0,0],rotation:[Math.PI/2,0,Math.PI],children:[e.jsxs(n.animated.group,{name:"AR1440_J03",position:[.614,0,0],rotation:[Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J05",position:[0,-.64,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J06",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR1440_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"AR1440_L06_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L06_CAD.geometry,material:h.metall})]}),e.jsx("mesh",{name:"AR1440_L05_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L05_CAD.geometry,material:h.yaskawaBlueMetall})]}),e.jsxs("group",{name:"AR1440_L04_CAD",children:[e.jsx("mesh",{name:"AR1440_L04_CAD001",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L04_CAD001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR1440_L04_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L04_CAD001_1.geometry,material:h.white})]})]}),e.jsxs("group",{name:"AR1440_L03_CAD",children:[e.jsx("mesh",{name:"AR1440_L03_CAD001",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L03_CAD001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR1440_L03_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L03_CAD001_1.geometry,material:h.blackMetall})]})]}),e.jsx("mesh",{name:"AR1440_L02_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L02_CAD.geometry,material:h.yaskawaBlueMetall})]}),e.jsxs("group",{name:"AR1440_L01_CAD",children:[e.jsx("mesh",{name:"AR1440_L01_CAD001",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L01_CAD001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR1440_L01_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L01_CAD001_1.geometry,material:h.blackMetall})]})]}),e.jsx("mesh",{name:"AR1440_L00_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L00_CAD.geometry,material:h.yaskawaBlueMetall,position:[0,0,.45],rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ua(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0],m=[1,-1,1,1,1,1];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=m[n]*t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",children:[e.jsxs(n.animated.group,{name:"AR1730_J00",children:[e.jsxs(n.animated.group,{name:"AR1730_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"AR1730_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR1730_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1730_J04",position:[0,-.795,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1730_J05",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR1730_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"AR1730_L06",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L06.geometry,material:h.Metal,rotation:[Math.PI/2,-Math.PI/2,0]})]}),e.jsx("mesh",{name:"AR1730_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L05.geometry,material:h.Blue,rotation:[Math.PI/2,0,Math.PI/2]})]}),e.jsxs("group",{name:"AR1730_L04",position:[0,-.302,0],rotation:[0,0,-Math.PI/2],children:[e.jsx("mesh",{name:"_R_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:l._R_AXIS_SW0001002.geometry,material:h.Blue}),e.jsx("mesh",{name:"_R_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:l._R_AXIS_SW0001002_1.geometry,material:h.White})]})]}),e.jsxs("group",{name:"AR1730_L03",rotation:[Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"_U_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:l._U_AXIS_SW0001002.geometry,material:h.Blue}),e.jsx("mesh",{name:"_U_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:l._U_AXIS_SW0001002_1.geometry,material:h.Black})]})]}),e.jsx("mesh",{name:"AR1730_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L02.geometry,material:h.Blue,position:[0,-.157,0],rotation:[-Math.PI,-1.571,0]})]}),e.jsxs("group",{name:"AR1730_L01",position:[0,-.336,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"_S_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:l._S_AXIS_SW0001002.geometry,material:h.Blue}),e.jsx("mesh",{name:"_S_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:l._S_AXIS_SW0001002_1.geometry,material:h.Black})]})]}),e.jsx("mesh",{name:"AR1730_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L00.geometry,material:h.Blue,position:[0,-.505,0],rotation:[Math.PI/2,0,-Math.PI/2]})]})}))]})}function Va(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0],m=[1,-1,1,1,1,1];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=m[n]*t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"AR2010",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J02",position:[.15,0,0],rotation:[Math.PI/2,0,Math.PI],children:[e.jsxs(n.animated.group,{name:"AR2010_J03",position:[.76,0,0],rotation:[Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J05",position:[0,-1.082,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J06",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR2010_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e.jsxs("group",{name:"AR2010_L06",children:[e.jsx("mesh",{name:"AR2010_06001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_06001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR2010_06001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_06001_1.geometry,material:h.metall})]})]}),e.jsx("mesh",{name:"AR2010_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_L05.geometry,material:h.yaskawaBlueMetall})]}),e.jsxs("group",{name:"AR2010_L04",children:[e.jsx("mesh",{name:"AR2010_04001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_04001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR2010_04001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_04001_1.geometry,material:h.white})]})]}),e.jsxs("group",{name:"AR2010_L03",children:[e.jsx("mesh",{name:"AR2010_03001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_03001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR2010_03001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_03001_1.geometry,material:h.blackMetall})]})]}),e.jsx("mesh",{name:"AR2010_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_L02.geometry,material:h.yaskawaBlueMetall})]}),e.jsxs("group",{name:"AR2010_L01",children:[e.jsx("mesh",{name:"AR2010_01001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_01001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR2010_01001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_01001_1.geometry,material:h.blackMetall})]})]}),e.jsx("mesh",{name:"AR2010_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_L00.geometry,material:h.yaskawaBlueMetall,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ba(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0],m=[1,-1,1,1,1,1];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=m[n]*t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",children:[e.jsxs(n.animated.group,{name:"AR3120_J00",children:[e.jsxs(n.animated.group,{name:"AR3120_J01",position:[.145,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"AR3120_J02",position:[1.15,0,0],rotation:[-Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR3120_J03",position:[.25,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR3120_J04",position:[0,-1.812,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR3120_J05",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR3120_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"AR3120_L06",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L06.geometry,material:h["Metal.001"],rotation:[Math.PI/2,-Math.PI/2,0]})]}),e.jsx("mesh",{name:"AR3120_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L05.geometry,material:h["Blue.001"],rotation:[Math.PI/2,0,Math.PI/2]})]}),e.jsxs("group",{name:"AR3120_L04",rotation:[Math.PI/2,-Math.PI/2,0],children:[e.jsx("mesh",{name:"R_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:l.R_AXIS_GP20HL001.geometry,material:h["Blue.001"]}),e.jsx("mesh",{name:"R_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:l.R_AXIS_GP20HL001_1.geometry,material:h["White.001"]})]})]}),e.jsxs("group",{name:"AR3120_L03",rotation:[Math.PI,0,-Math.PI/2],children:[e.jsx("mesh",{name:"Mesh_3001",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_3001.geometry,material:h["Blue.001"]}),e.jsx("mesh",{name:"Mesh_3001_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_3001_1.geometry,material:h["Black.001"]})]})]}),e.jsx("mesh",{name:"AR3120_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L02.geometry,material:h["Blue.001"],position:[0,-.146,0],rotation:[Math.PI,0,0]})]}),e.jsxs("group",{name:"AR3120_L01",position:[0,-.228,0],rotation:[0,-1.571,0],children:[e.jsx("mesh",{name:"S_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:l.S_AXIS_GP20HL001.geometry,material:h["Blue.001"]}),e.jsx("mesh",{name:"S_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:l.S_AXIS_GP20HL001_1.geometry,material:h["Black.001"]})]})]}),e.jsx("mesh",{name:"AR3120_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L00.geometry,material:h["Blue.001"],position:[0,-.54,0]})]})}))]})}function Ga(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",children:[e.jsxs(n.animated.group,{name:"CRX10iA_J00",children:[e.jsxs(n.animated.group,{name:"CRX10iA_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J02",position:[.54,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L06.geometry,material:h.Fanuc_BlackMetal,position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),e.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001_1.geometry,material:h.Fanuc_Green})]})]}),e.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA.geometry,material:h.Fanuc_RedPlastic}),e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_1",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_1.geometry,material:h.Fanuc_BlackPlastic}),e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_2",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_2.geometry,material:h.Fanuc_WhitePlastic})]})]}),e.jsx("mesh",{name:"CRX10iA_L03",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L03.geometry,material:h.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L02.geometry,material:h.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e.jsxs("group",{name:"CRX10iA_L01",position:[0,-.117,0],children:[e.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001.geometry,material:h.Fanuc_Green}),e.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_1.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_2.geometry,material:h.Fanuc_GreenLED})]})]}),e.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L00.geometry,material:h.Fanuc_BlackMetal,position:[0,-.245,0]})]})}))]})}function Ta(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",position:[0,-.37,0],children:[e.jsxs("group",{name:"CRX25iA_L00",children:[e.jsx("mesh",{name:"J1BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J1BASE_NetGen_Coarse.geometry,material:h.Fanuc_BlackMetal}),e.jsx("mesh",{name:"J1BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J1BASE_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenPlastic})]}),e.jsxs(n.animated.group,{name:"CRX25iA_J00",children:[e.jsxs(n.animated.group,{name:"CRX25iA_J01",position:[0,.37,0],rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"CRX25iA_J02",position:[.95,0,0],children:[e.jsxs(n.animated.group,{name:"CRX25iA_J03",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX25iA_J04",position:[0,-.75,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX25iA_J05",position:[0,.185,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"CRX25iA_FLG",position:[0,-.18,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"CRX25iA_L06",castShadow:!0,receiveShadow:!0,geometry:l.CRX25iA_L06.geometry,material:h.Fanuc_BlackMetal,position:[0,-.18,0]})]}),e.jsxs("group",{name:"CRX25iA_L05",position:[0,.185,0],children:[e.jsx("mesh",{name:"J6CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J6CASING_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J6CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J6CASING_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenPlastic})]})]}),e.jsxs("group",{name:"CRX25iA_L04",position:[0,-.75,0],children:[e.jsx("mesh",{name:"J3ARM_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J3ARM_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J3ARM_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J3ARM_NetGen_Coarse_1.geometry,material:h.Fanuc_RedPlastic}),e.jsx("mesh",{name:"J3ARM_NetGen_Coarse_2",castShadow:!0,receiveShadow:!0,geometry:l.J3ARM_NetGen_Coarse_2.geometry,material:h.Fanuc_BlackPlastic})]})]}),e.jsxs("group",{name:"CRX25iA_L03",children:[e.jsx("mesh",{name:"J3CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J3CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenPlastic})]})]}),e.jsx("mesh",{name:"CRX25iA_L02",castShadow:!0,receiveShadow:!0,geometry:l.CRX25iA_L02.geometry,material:h.Fanuc_WhitePlastic})]}),e.jsxs("group",{name:"CRX25iA_L01",position:[0,.18,0],children:[e.jsx("mesh",{name:"J2BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J2BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenLED})]})]})]})}))]})}function Fa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",children:[e.jsxs(n.animated.group,{name:"CRX10iA_J00",children:[e.jsxs(n.animated.group,{name:"CRX10iA_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J02",position:[.71,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L06.geometry,material:h["Fanuc_BlackMetal.001"],position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),e.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001_1.geometry,material:h["Fanuc_Green.001"]})]})]}),e.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_L001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_1",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_L001_1.geometry,material:h["Fanuc_RedPlastic.001"]}),e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_2",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_L001_2.geometry,material:h["Fanuc_BlackPlastic.001"]})]})]}),e.jsxs("group",{name:"CRX10iA_L03",rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"J3CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_UNIT001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e.jsx("mesh",{name:"J3CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_UNIT001_1.geometry,material:h["Fanuc_Green.001"]})]})]}),e.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L02.geometry,material:h["Fanuc_WhitePlastic.001"],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e.jsxs("group",{name:"CRX10iA_L01",position:[0,.128,0],children:[e.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_1.geometry,material:h["Fanuc_Green.001"]}),e.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_2.geometry,material:h["Fanuc_GreenLED.001"]})]})]}),e.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L00.geometry,material:h["Fanuc_BlackMetal.001"]})]})}))]})}function Ja(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,0,-Math.PI/2,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"kuka_kr210_2700",children:[e.jsxs(n.animated.group,{name:"joint_01",children:[e.jsxs(n.animated.group,{name:"joint_02",position:[.33,.645,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"joint_04",position:[.115,0,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_05",position:[0,-1.22,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[e.jsx("group",{name:"flange",position:[0,-.215,0],rotation:[-Math.PI,0,0]}),e.jsx("group",{name:"link_6",position:[0,-.17,0],rotation:[0,0,-Math.PI/2],children:e.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:l.visuals006.geometry,material:h.material_Material_Metall_black})})]}),e.jsx("group",{name:"link_5",position:[0,.059,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals005",children:[e.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals005_1.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals005_2.geometry,material:h.material_Material_kuka_orange})]})})]}),e.jsx("group",{name:"link_4",position:[0,-.869,0],rotation:[0,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals004",children:[e.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals004_1.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals004_2.geometry,material:h.material_Material_kuka_orange})]})})]}),e.jsx("group",{name:"link_3",position:[0,-.105,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals003",children:[e.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_1.geometry,material:h.material_Material_rubber}),e.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_2.geometry,material:h.material_Material_aluminium}),e.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_3.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_4.geometry,material:h.material_Material_kuka_black}),e.jsx("mesh",{name:"visuals003_5",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_5.geometry,material:h.material_Material_Rubber_black}),e.jsx("mesh",{name:"visuals003_6",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_6.geometry,material:h.material_Material_kuka_orange}),e.jsx("mesh",{name:"visuals003_7",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_7.geometry,material:h.material_Material_stainless_steel})]})})]}),e.jsx("group",{name:"link_2",position:[0,.009,0],rotation:[Math.PI/2,0,0],children:e.jsxs("group",{name:"visuals002",children:[e.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_1.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_2.geometry,material:h.material_Material_Rubber_black}),e.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_3.geometry,material:h.material_Material_kuka_orange})]})})]}),e.jsx("group",{name:"link_1",position:[0,.236,0],children:e.jsxs("group",{name:"visuals001",children:[e.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_1.geometry,material:h.material_Material_kuka_black}),e.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_2.geometry,material:h.material_Material_kuka_orange}),e.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_3.geometry,material:h.material_Material_rubber}),e.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_4.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals001_5",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_5.geometry,material:h.material_Material_aluminium}),e.jsx("mesh",{name:"visuals001_6",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_6.geometry,material:h.material_Material_rubber_black}),e.jsx("mesh",{name:"visuals001_7",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_7.geometry,material:h.material_Material_stainless_steel})]})})]}),e.jsx("group",{name:"link_0",children:e.jsxs("group",{name:"visuals",children:[e.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals_1.geometry,material:h.material_Material_kuka_black}),e.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals_2.geometry,material:h.material_Material_metal_black})]})})]})})}))]})}function Xa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,0,-Math.PI/2,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"kuka_kr270_2700_ultra",children:[e.jsxs(n.animated.group,{name:"joint_01",children:[e.jsxs(n.animated.group,{name:"joint_02",position:[.35,.675,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"joint_04",position:[-.041,0,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_05",position:[0,-1.2,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[e.jsx("group",{name:"flange",position:[0,-.24,0],rotation:[-Math.PI,0,0]}),e.jsx("group",{name:"link_6",position:[0,-.213,0],rotation:[0,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals006",children:[e.jsx("mesh",{name:"visuals006_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals006_1.geometry,material:h.material_Material_Farbe__1_}),e.jsx("mesh",{name:"visuals006_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals006_2.geometry,material:h.material_Material_Metall})]})})]}),e.jsx("group",{name:"link_5",position:[0,.044,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e.jsx("mesh",{name:"visuals005",castShadow:!0,receiveShadow:!0,geometry:l.visuals005.geometry,material:h.material_Material_Farbe})})]}),e.jsx("group",{name:"link_4",position:[0,-.954,0],rotation:[0,0,-Math.PI/2],children:e.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:l.visuals004.geometry,material:h.material_Material_Farbe})})]}),e.jsx("group",{name:"link_3",position:[0,-.178,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals003",children:[e.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_1.geometry,material:h.material_Material_Farbe__1_}),e.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_2.geometry,material:h.material_Material_Farbe__2_}),e.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_3.geometry,material:h.material_Material_Metall}),e.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_4.geometry,material:h.material_Material_Farbe})]})})]}),e.jsx("group",{name:"link_2",rotation:[Math.PI/2,0,0],children:e.jsxs("group",{name:"visuals002",children:[e.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_1.geometry,material:h.material_Material_Farbe}),e.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_2.geometry,material:h.material_Material_Farbe__1_}),e.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_3.geometry,material:h.material_Material_Metall}),e.jsx("mesh",{name:"visuals002_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_4.geometry,material:h.material_Material_Farbe__2_})]})})]}),e.jsx("group",{name:"link_1",position:[0,.226,0],children:e.jsxs("group",{name:"visuals001",children:[e.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_1.geometry,material:h.material_Material_Metall}),e.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_2.geometry,material:h.material_Material_Farbe__1_}),e.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_3.geometry,material:h.material_Material_Farbe__2_}),e.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_4.geometry,material:h.material_Material_Farbe})]})})]}),e.jsxs("group",{name:"link_0-base",children:[e.jsx("group",{name:"joint_1"}),e.jsxs("group",{name:"visuals",children:[e.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals_1.geometry,material:h.material_Material_Metall}),e.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals_2.geometry,material:h.material_Material_Farbe__1_})]})]})]})})}))]})}function Ka(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"M10iD",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J02",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J03",position:[.64,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J04",position:[.195,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J05",position:[0,-.7,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J06",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"M10iD_FLG",position:[0,-.075,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"M10iD_L06",castShadow:!0,receiveShadow:!0,geometry:l.M10iD_L06.geometry,material:h.Fanuc_BlackMetal_AO,position:[-.835,.775,0],rotation:[0,0,-Math.PI/2]})]}),e.jsx("mesh",{name:"M10iD_L05",castShadow:!0,receiveShadow:!0,geometry:l.M10iD_L05.geometry,material:h.Fanuc_BlackMetal_AO,position:[-.835,0,-.775],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e.jsxs("group",{name:"M10iD_L04",position:[-.835,.075,0],rotation:[0,0,-Math.PI/2],children:[e.jsx("mesh",{name:"Mesh_654",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_654.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_654_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_654_1.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsxs("group",{name:"M10iD_L03",position:[-.64,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"Mesh_378",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_378.geometry,material:h.Material_1_AO}),e.jsx("mesh",{name:"Mesh_378_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_378_1.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_378_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_378_2.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsxs("group",{name:"M10iD_L02",position:[0,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"Mesh_358",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_358.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_358_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_358_1.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsxs("group",{name:"M10iD_L01",children:[e.jsx("mesh",{name:"Mesh_356",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_356.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_356_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_356_1.geometry,material:h.Material_1_AO}),e.jsx("mesh",{name:"Mesh_356_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_356_2.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsx("mesh",{name:"M10iD_L00",castShadow:!0,receiveShadow:!0,geometry:l.M10iD_L00.geometry,material:h.Fanuc_BlackMetal_AO,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Wa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"M10iD",rotation:[0,0,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J00",children:[e.jsxs(n.animated.group,{name:"M20iD25_J01",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J02",position:[.84,0,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J03",position:[.215,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J04",position:[0,-.89,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J05",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"M20iD25_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"M20iD25_L06",castShadow:!0,receiveShadow:!0,geometry:l.M20iD25_L06.geometry,material:h.Fanuc_BlackMetal_AO,position:[0,-.09,0],rotation:[Math.PI/2,0,Math.PI]})]}),e.jsx("mesh",{name:"M20iD25_L05",castShadow:!0,receiveShadow:!0,geometry:l.M20iD25_L05.geometry,material:h.Fanuc_BlackMetal_AO,rotation:[Math.PI,Math.PI/2,0]})]}),e.jsxs("group",{name:"M20iD25_L04",position:[0,-.286,0],rotation:[-Math.PI/2,Math.PI/2,0],children:[e.jsx("mesh",{name:"Mesh_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_2.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_2_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_2_1.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsxs("group",{name:"M20iD25_L03",position:[0,.406,0],rotation:[Math.PI,Math.PI/2,0],children:[e.jsx("mesh",{name:"Mesh_15",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_15.geometry,material:h.Fanuc_BlackMetal_AO}),e.jsx("mesh",{name:"Mesh_15_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_15_1.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_15_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_15_2.geometry,material:h.Material_9_AO})]})]}),e.jsxs("group",{name:"M20iD25_L02",position:[0,.505,-.055],rotation:[-Math.PI,Math.PI/2,0],children:[e.jsx("mesh",{name:"Mesh_37",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_37.geometry,material:h.Fanuc_BlackMetal_AO}),e.jsx("mesh",{name:"Mesh_37_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_37_1.geometry,material:h.Fanuc_Yellow_Textured_AO})]})]}),e.jsxs("group",{name:"M20iD25_L01",rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"Mesh_45",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_45.geometry,material:h.Material_9_AO}),e.jsx("mesh",{name:"Mesh_45_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_45_1.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_45_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_45_2.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsx("mesh",{name:"M20iD25_L00",castShadow:!0,receiveShadow:!0,geometry:l.M20iD25_L00.geometry,material:h.Fanuc_BlackMetal_AO,position:[0,-.425,0],rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ha(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"IRB1200_7_70_IRC5",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J02",position:[0,.399,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J03",position:[.35,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J04",position:[.042,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J05",position:[0,.351,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J06",rotation:[Math.PI/2,0,-Math.PI],children:[e.jsx("group",{name:"IRB1200_7_70_IRC5_FLG",position:[0,.082,0]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L06",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L06.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L05",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L05.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L04",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L04.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L03",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L03.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L02",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L02.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L01",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L01.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"],rotation:[Math.PI/2,0,0]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L00",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L00.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"],rotation:[-Math.PI/2,0,0]})]})})}))]})}["Symbol","Map","Set"].forEach((function(e){void 0===v()[e]&&_("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return"production"===process.env.NODE_ENV?(console.warn("[mobx.spy] Is a no-op in production builds"),function(){}):(Ot.spyListeners.push(e),O((function(){Ot.spyListeners=Ot.spyListeners.filter((function(t){return t!==e}))})))},extras:{getDebugName:fa},$mobx:re});var qa="line",za="mesh";function Ya(t){var n=t.connectedMotionGroup,o=s(t,["connectedMotionGroup"]),c=new r.Matrix4;function u(e,t){var n=new r.Vector3,a=new r.Quaternion,o=new r.Vector3;c.decompose(n,a,o);var i=n.clone(),s=(new r.Matrix4).makeRotationY(e.theta+t*(e.reverse_rotation_direction?-1:1)).multiply((new r.Matrix4).makeTranslation(0,e.d/1e3,0)).multiply((new r.Matrix4).makeTranslation(e.a/1e3,0,0)).multiply((new r.Matrix4).makeRotationX(e.alpha));return c.multiply(s),c.decompose(n,a,o),{a:i,b:n}}return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:n,robotRootObjectName:"Scene",onRotationChanged:function(e,t){c.identity(),e.forEach((function(e,a){!function(e,t,a,o){var r=n.motionGroupSpecification.dh_parameters;if(r){var i=r[e];if(i){var s=u(i,o),c=s.a,l=s.b;t.geometry.setPositions([c.toArray(),l.toArray()].flat()),a.position.set(l.x,l.y,l.z)}}}(a,e.getObjectByName(qa),e.getObjectByName(za),t[a])}))},jointCollector:function(e){return d(e,"^group_[0-9]+$")}}),e.jsxs("group",i({},o,{name:"Scene",children:[e.jsxs("mesh",{children:[e.jsx("sphereGeometry",{args:[.01,32,32]}),e.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]}),n.motionGroupSpecification.dh_parameters.map((function(t,o){var r,i=u(t,null!==(r=n.rapidlyChangingMotionState.state.joint_position.joints[o])&&void 0!==r?r:0),s=i.a,c=i.b;return e.jsxs("group",{name:"group_".concat(o),children:[e.jsx(a.Line,{name:qa,points:[s,c],color:"white",lineWidth:5}),e.jsxs("mesh",{name:za,position:c,children:[e.jsx("sphereGeometry",{args:[.01,32,32]}),e.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]},"mesh_"+o)]},"group_"+o)}))]}))]})}var Za=function(e){return c(void 0,void 0,void 0,(function(){return u(this,(function(t){return[2,"https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/".concat(e,".glb")]}))}))};var $a=Array(6).fill(2*Math.PI);function Qa(t){var n=t.positions,o=void 0===n?[2,0,2,0,2,0,2,0]:n;return e.jsxs(e.Fragment,{children:[e.jsx(a.Lightformer,{intensity:5,"rotation-x":Math.PI/2,position:[0,5,-9],scale:[10,10,1]}),e.jsx("group",{rotation:[0,.5,0],children:e.jsx("group",{children:o.map((function(t,n){return e.jsx(a.Lightformer,{form:"circle",intensity:5,rotation:[Math.PI/2,0,0],position:[t,4,4*n],scale:[3,1,1]},n)}))})}),e.jsx(a.Lightformer,{intensity:40,"rotation-y":Math.PI/2,position:[-5,1,-1],scale:[20,.1,1]}),e.jsx(a.Lightformer,{intensity:20,"rotation-y":-Math.PI,position:[-5,-2,-1],scale:[20,.1,1]}),e.jsx(a.Lightformer,{"rotation-y":Math.PI/2,position:[-5,-1,-1],scale:[20,.5,1],intensity:5}),e.jsx(a.Lightformer,{"rotation-y":-Math.PI/2,position:[10,1,0],scale:[20,1,1],intensity:10}),e.jsx(a.Lightformer,{form:"ring",color:"white",intensity:5,scale:10,position:[-15,4,-18],target:[0,0,0]})]})}exports.ArrowForwardFilledIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M12 4L10.59 5.41L16.17 11H4V13H16.17L10.59 18.59L12 20L20 12L12 4Z",fill:"white"})})},exports.ExpandFilledIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M16.59 8.29492L12 12.8749L7.41 8.29492L6 9.70492L12 15.7049L18 9.70492L16.59 8.29492Z",fill:"white","fill-opacity":"0.8"})})},exports.HomeIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 22C3.34315 22 2 20.6569 2 19V11.9225C2 10.7074 2.55236 9.55811 3.50122 8.79902L12 2L20.4988 8.79902C21.4476 9.55811 22 10.7074 22 11.9225V19C22 20.6569 20.6569 22 19 22H5ZM20.5 11.9225V19C20.5 19.8284 19.8284 20.5 19 20.5H16V14C16 12.8954 15.1046 12 14 12H10C8.89543 12 8 12.8954 8 14V20.5H5C4.17157 20.5 3.5 19.8284 3.5 19V11.9225C3.5 11.163 3.84522 10.4448 4.43826 9.97033L12 3.92094L19.5617 9.97033C20.1548 10.4448 20.5 11.163 20.5 11.9225Z",fill:"white"})})},exports.InfoOutlinedIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M11 7H13V9H11V7ZM11 11H13V17H11V11ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"white"})})},exports.PresetEnvironment=function(){return e.jsx(a.Environment,{children:e.jsx(Qa,{})})},exports.RobotIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.47826 18.9999V21.2219V22.913H10.1694H16.961H18.6522V21.2219V18.2174L13.1958 12.761L12 11.5652L13.1958 10.3694L13.5433 10.0219L14.7391 8.82609L15.8911 9.9781L15.9349 10.0219L17.087 11.1739L18.2828 9.9781L19.8042 8.45668L21 7.26087L19.8042 6.06506L15.9349 2.19581L14.7391 1L13.5433 2.19581L4.19581 11.5433L3 12.7391L4.19581 13.9349L8.47817 18.2173V18.9999H8.47826ZM10.1694 18.9999V21.2219H16.961V18.9179L10.8042 12.761L9.60839 11.5652L10.8042 10.3694L13.5433 7.63028L13.5534 7.62018L12.032 6.09875L5.39161 12.7391L9.67407 17.0216L10.0872 17.4347H13.5651L15.1303 18.9999H10.1694ZM18.6084 7.26087L17.093 8.7763L13.2237 4.90705L14.7391 3.39161L18.6084 7.26087Z",fill:"white"})})},exports.SupportedRobot=function(n){var a,o=n.getModel,r=void 0===o?Za:o,c=s(n,["getModel"]),u=c.connectedMotionGroup.modelFromController;switch(u){case"UniversalRobots_UR3":a=La;break;case"UniversalRobots_UR3e":a=Na;break;case"UniversalRobots_UR5":a=Ia;break;case"UniversalRobots_UR5e":a=Ea;break;case"UniversalRobots_UR10":a=Ca;break;case"UniversalRobots_UR10e":a=Pa;break;case"Yaskawa_AR900":case"Yaskawa_GP7":a=ka;break;case"Yaskawa_AR1440":a=Da;break;case"Yaskawa_AR1730":a=Ua;break;case"Yaskawa_AR2010":a=Va;break;case"Yaskawa_AR3120":a=Ba;break;case"FANUC_CRX10iA":a=Ga;break;case"FANUC_CRX25iA":a=Ta;break;case"FANUC_CRX25iAL":a=Fa;break;case"FANUC_ARC_Mate_120iD":a=Wa;break;case"FANUC_ARC_Mate_100iD":a=Ka;break;case"KUKA_KR210_R2700":a=Ja;break;case"KUKA_KR270_R2700":a=Xa;break;case"ABB_1200_07_7":a=Ha;break;default:console.warn("Unknown robot type: ".concat(u)),a=Ya}return e.jsx(t.Suspense,{fallback:e.jsx(Ya,i({},c)),children:e.jsx(a,i({modelURL:r(u)},c))})},exports.WBLogoIcon=function(t){var n=t.width,a=void 0===n?21:n,o=t.fillColor,r=void 0===o?"white":o;return e.jsxs("svg",{width:"".concat(a),height:"".concat(1.19*a),viewBox:"0 0 21 25",fill:r,style:{transition:"fill 2s ease"},xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M0 8.25553V14.2168L17.0228 4.47097L14.4197 0L0 8.25553Z"}),e.jsx("path",{d:"M9.70299 11.6758L0 17.2112V23.1846L9.70299 17.6492V11.6758Z"}),e.jsx("path",{d:"M11.8886 19.4131L2.22571 24.993H15.5035V19.4131H11.8886Z"})]})},exports.defaultAxisConfig=$a;
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("@react-spring/three"),a=require("@react-three/drei"),o=require("@react-three/fiber"),r=require("three");var i=function(){return i=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;var c="(^joint_[0-9]+$)|(_J[0-9]+$)";function u(e){return 0===e.children.length?[e]:function(e,t,n){if(n||2===arguments.length)for(var a,o=0,r=t.length;o<r;o++)!a&&o in t||(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))}([e],e.children.flatMap((function(e){return u(e)})),!0)}function l(e,t){return u(e).filter((function(e){return function(e,t){return new RegExp(null!=t?t:c).test(e)}(e.name,t)}))}var h="production"!==process.env.NODE_ENV?{0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(e,t){return"Cannot apply '"+e+"' to '"+t.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(e,t){return"[mobx.array] Index out of bounds, "+e+" is larger than "+t},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(e){return"Cannot initialize from classes that inherit from Map: "+e.constructor.name},20:function(e){return"Cannot initialize map from "+e},21:function(e){return"Cannot convert to map from '"+e+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(e){return"Cannot obtain administration from "+e},25:function(e,t){return"the entry '"+e+"' does not exist in the observable map '"+t+"'"},26:"please specify a property",27:function(e,t){return"no observable property '"+e.toString()+"' found on the observable object '"+t+"'"},28:function(e){return"Cannot obtain atom from "+e},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(e,t){return"Cycle detected in computation "+e+": "+t},33:function(e){return"The setter of computed value '"+e+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(e){return"[ComputedValue '"+e+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(e){return"[mobx] `observableArray."+e+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+e+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"}:{};function d(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if("production"!==process.env.NODE_ENV){var o="string"==typeof e?e:h[e];throw"function"==typeof o&&(o=o.apply(null,n)),new Error("[MobX] "+o)}throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var m={};function _(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:m}var p=Object.assign,v=Object.getOwnPropertyDescriptor,g=Object.defineProperty,f=Object.prototype,y=[];Object.freeze(y);var b={};Object.freeze(b);var S="undefined"!=typeof Proxy,w=Object.toString();function j(){S||d("production"!==process.env.NODE_ENV?"`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`":"Proxy not available")}function x(e){"production"!==process.env.NODE_ENV&&Rt.verifyProxies&&d("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+e)}function M(){return++Rt.mobxGuid}function R(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var A=function(){};function O(e){return"function"==typeof e}function L(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function N(e){return null!==e&&"object"==typeof e}function I(e){if(!N(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===w}function E(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function C(e,t,n){g(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function P(e,t,n){g(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function k(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return N(e)&&!0===e[n]}}function D(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function U(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var V=void 0!==Object.getOwnPropertySymbols;var B="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:V?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function G(e){return"string"==typeof e?e:"symbol"==typeof e?e.toString():new String(e).toString()}function T(e){return null===e?null:"object"==typeof e?""+e:e}function F(e,t){return f.hasOwnProperty.call(e,t)}var J=Object.getOwnPropertyDescriptors||function(e){var t={};return B(e).forEach((function(n){t[n]=v(e,n)})),t};function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function K(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,Z(a.key),a)}}function W(e,t,n){return t&&K(e.prototype,t),n&&K(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function H(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return X(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?X(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},q.apply(null,arguments)}function z(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Y(e,t)}function Y(e,t){return Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Y(e,t)}function Z(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}var $=Symbol("mobx-stored-annotations");function Q(e){return Object.assign((function(t,n){if(te(n))return e.decorate_20223_(t,n);ee(t,n,e)}),e)}function ee(e,t,n){(F(e,$)||C(e,$,q({},e[$])),"production"!==process.env.NODE_ENV&&he(n)&&!F(e[$],t))&&d("'"+(e.constructor.name+".prototype."+t.toString())+"' is decorated with 'override', but no such decorated member was found on prototype.");!function(e,t,n){if("production"!==process.env.NODE_ENV&&!he(t)&&F(e[$],n)){var a=e.constructor.name+".prototype."+n.toString(),o=e[$][n].annotationType_;d("Cannot apply '@"+t.annotationType_+"' to '"+a+"':\nThe field is already decorated with '@"+o+"'.\nRe-decorating fields is not allowed.\nUse '@override' decorator for methods overridden by subclass.")}}(e,n,t),he(n)||(e[$][t]=n)}function te(e){return"object"==typeof e&&"string"==typeof e.kind}function ne(e,t){"production"===process.env.NODE_ENV||t.includes(e.kind)||d("The decorator applied to '"+String(e.name)+"' cannot be used on a "+e.kind+" element")}var ae=Symbol("mobx administration"),oe=function(){function e(e){void 0===e&&(e="production"!==process.env.NODE_ENV?"Atom@"+M():"Atom"),this.name_=void 0,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ut.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return Et(this)},t.reportChanged=function(){Nt(),Ct(this),It()},t.toString=function(){return this.name_},e}(),re=k("Atom",oe);function ie(e,t,n){void 0===t&&(t=A),void 0===n&&(n=A);var a,o=new oe(e);return t!==A&&un(rn,o,t,a),n!==A&&cn(o,n),o}var se={identity:function(e,t){return e===t},structural:function(e,t){return ya(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return ya(e,t,1)}};function ce(e,t,n){return fn(e)?e:Array.isArray(e)?He.array(e,{name:n}):I(e)?He.object(e,void 0,{name:n}):D(e)?He.map(e,{name:n}):U(e)?He.set(e,{name:n}):"function"!=typeof e||nn(e)||gn(e)?e:E(e)?pn(e):tn(n,e)}function ue(e){return e}var le="override";function he(e){return e.annotationType_===le}function de(e,t){return{annotationType_:e,options_:t,make_:me,extend_:_e,decorate_20223_:pe}}function me(e,t,n,a){var o;if(null!=(o=this.options_)&&o.bound)return null===this.extend_(e,t,n,!1)?0:1;if(a===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(nn(n.value))return 1;var r=ve(e,this,t,n,!1);return g(a,t,r),2}function _e(e,t,n,a){var o=ve(e,this,t,n);return e.defineProperty_(t,o,a)}function pe(e,t){"production"!==process.env.NODE_ENV&&ne(t,["method","field"]);var n=t.kind,a=t.name,o=t.addInitializer,r=this;if("field"!=n){var i,s,c,u,l,h;if("method"==n)return nn(e)||(s=e,e=nt(null!=(c=null==(u=r.options_)?void 0:u.name)?c:a.toString(),s,null!=(l=null==(h=r.options_)?void 0:h.autoAction)&&l)),null!=(i=this.options_)&&i.bound&&o((function(){var e=this,t=e[a].bind(e);t.isMobxAction=!0,e[a]=t})),e;d("Cannot apply '"+r.annotationType_+"' to '"+String(a)+"' (kind: "+n+"):\n'"+r.annotationType_+"' can only be used on properties with a function value.")}else o((function(){ee(this,a,r)}))}function ve(e,t,n,a,o){var r,i,s,c,u,l,h;void 0===o&&(o=Rt.safeDescriptors),function(e,t,n,a){var o=t.annotationType_,r=a.value;"production"===process.env.NODE_ENV||O(r)||d("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a function value.")}(e,t,n,a);var m,_=a.value;null!=(r=t.options_)&&r.bound&&(_=_.bind(null!=(m=e.proxy_)?m:e.target_));return{value:nt(null!=(i=null==(s=t.options_)?void 0:s.name)?i:n.toString(),_,null!=(c=null==(u=t.options_)?void 0:u.autoAction)&&c,null!=(l=t.options_)&&l.bound?null!=(h=e.proxy_)?h:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ge(e,t){return{annotationType_:e,options_:t,make_:fe,extend_:ye,decorate_20223_:be}}function fe(e,t,n,a){var o;if(a===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!F(e.target_,t)||!gn(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(gn(n.value))return 1;var r=Se(e,this,t,n,!1,!1);return g(a,t,r),2}function ye(e,t,n,a){var o,r=Se(e,this,t,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,r,a)}function be(e,t){var n;"production"!==process.env.NODE_ENV&&ne(t,["method"]);var a=t.name,o=t.addInitializer;return gn(e)||(e=pn(e)),null!=(n=this.options_)&&n.bound&&o((function(){var e=this,t=e[a].bind(e);t.isMobXFlow=!0,e[a]=t})),e}function Se(e,t,n,a,o,r){void 0===r&&(r=Rt.safeDescriptors),function(e,t,n,a){var o=t.annotationType_,r=a.value;"production"===process.env.NODE_ENV||O(r)||d("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a generator function value.")}(e,t,n,a);var i,s=a.value;(gn(s)||(s=pn(s)),o)&&((s=s.bind(null!=(i=e.proxy_)?i:e.target_)).isMobXFlow=!0);return{value:s,configurable:!r||e.isPlainObject_,enumerable:!1,writable:!r}}function we(e,t){return{annotationType_:e,options_:t,make_:je,extend_:xe,decorate_20223_:Me}}function je(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function xe(e,t,n,a){return function(e,t,n,a){var o=t.annotationType_,r=a.get;"production"===process.env.NODE_ENV||r||d("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on getter(+setter) properties.")}(e,this,t,n),e.defineComputedProperty_(t,q({},this.options_,{get:n.get,set:n.set}),a)}function Me(e,t){"production"!==process.env.NODE_ENV&&ne(t,["getter"]);var n=this,a=t.name;return(0,t.addInitializer)((function(){var t=Zn(this)[ae],o=q({},n.options_,{get:e,context:this});o.name||(o.name="production"!==process.env.NODE_ENV?t.name_+"."+a.toString():"ObservableObject."+a.toString()),t.values_.set(a,new ct(o))})),function(){return this[ae].getObservablePropValue_(a)}}function Re(e,t){return{annotationType_:e,options_:t,make_:Ae,extend_:Oe,decorate_20223_:Le}}function Ae(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Oe(e,t,n,a){var o,r;return function(e,t,n,a){var o=t.annotationType_;"production"===process.env.NODE_ENV||"value"in a||d("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' cannot be used on getter/setter properties")}(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(o=null==(r=this.options_)?void 0:r.enhancer)?o:ce,a)}function Le(e,t){if("production"!==process.env.NODE_ENV){if("field"===t.kind)throw d("Please use `@observable accessor "+String(t.name)+"` instead of `@observable "+String(t.name)+"`");ne(t,["accessor"])}var n=this,a=t.kind,o=t.name,r=new WeakSet;function i(e,t){var a,i,s=Zn(e)[ae],c=new rt(t,null!=(a=null==(i=n.options_)?void 0:i.enhancer)?a:ce,"production"!==process.env.NODE_ENV?s.name_+"."+o.toString():"ObservableObject."+o.toString(),!1);s.values_.set(o,c),r.add(e)}if("accessor"==a)return{get:function(){return r.has(this)||i(this,e.get.call(this)),this[ae].getObservablePropValue_(o)},set:function(e){return r.has(this)||i(this,e),this[ae].setObservablePropValue_(o,e)},init:function(e){return r.has(this)||i(this,e),e}}}var Ne="true",Ie=Ee();function Ee(e){return{annotationType_:Ne,options_:e,make_:Ce,extend_:Pe,decorate_20223_:ke}}function Ce(e,t,n,a){var o,r,i,s;if(n.get)return Ze.make_(e,t,n,a);if(n.set){var c=nt(t.toString(),n.set);return a===e.target_?null===e.defineProperty_(t,{configurable:!Rt.safeDescriptors||e.isPlainObject_,set:c})?0:2:(g(a,t,{configurable:!0,set:c}),2)}if(a!==e.target_&&"function"==typeof n.value)return E(n.value)?(null!=(s=this.options_)&&s.autoBind?pn.bound:pn).make_(e,t,n,a):(null!=(i=this.options_)&&i.autoBind?tn.bound:tn).make_(e,t,n,a);var u,l=!1===(null==(o=this.options_)?void 0:o.deep)?He.ref:He;"function"==typeof n.value&&null!=(r=this.options_)&&r.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_));return l.make_(e,t,n,a)}function Pe(e,t,n,a){var o,r,i;if(n.get)return Ze.extend_(e,t,n,a);if(n.set)return e.defineProperty_(t,{configurable:!Rt.safeDescriptors||e.isPlainObject_,set:nt(t.toString(),n.set)},a);"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(i=e.proxy_)?i:e.target_));return(!1===(null==(r=this.options_)?void 0:r.deep)?He.ref:He).extend_(e,t,n,a)}function ke(e,t){d("'"+this.annotationType_+"' cannot be used as a decorator")}var De={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ue(e){return e||De}Object.freeze(De);var Ve=Re("observable"),Be=Re("observable.ref",{enhancer:ue}),Ge=Re("observable.shallow",{enhancer:function(e,t,n){return null==e||ea(e)||Bn(e)||Xn(e)||Hn(e)?e:Array.isArray(e)?He.array(e,{name:n,deep:!1}):I(e)?He.object(e,void 0,{name:n,deep:!1}):D(e)?He.map(e,{name:n,deep:!1}):U(e)?He.set(e,{name:n,deep:!1}):void("production"!==process.env.NODE_ENV&&d("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets"))}}),Te=Re("observable.struct",{enhancer:function(e,t){return"production"!==process.env.NODE_ENV&&fn(e)&&d("observable.struct should not be used with observable values"),ya(e,t)?t:e}}),Fe=Q(Ve);function Je(e){return!0===e.deep?ce:!1===e.deep?ue:(t=e.defaultDecorator)&&null!=(n=null==(a=t.options_)?void 0:a.enhancer)?n:ce;var t,n,a}function Xe(e,t,n){return te(t)?Ve.decorate_20223_(e,t):L(t)?void ee(e,t,Ve):fn(e)?e:I(e)?He.object(e,t,n):Array.isArray(e)?He.array(e,t):D(e)?He.map(e,t):U(e)?He.set(e,t):"object"==typeof e&&null!==e?e:He.box(e,t)}p(Xe,Fe);var Ke,We,He=p(Xe,{box:function(e,t){var n=Ue(t);return new rt(e,Je(n),n.name,!0,n.equals)},array:function(e,t){var n=Ue(t);return(!1===Rt.useProxies||!1===n.proxy?ma:En)(e,Je(n),n.name)},map:function(e,t){var n=Ue(t);return new Jn(e,Je(n),n.name)},set:function(e,t){var n=Ue(t);return new Wn(e,Je(n),n.name)},object:function(e,t,n){return ga((function(){return function(e,t,n,a){"production"!==process.env.NODE_ENV&&(arguments.length>4&&d("'extendObservable' expected 2-4 arguments"),"object"!=typeof e&&d("'extendObservable' expects an object as first argument"),Xn(e)&&d("'extendObservable' should not be used on maps, use map.merge instead"),I(t)||d("'extendObservable' only accepts plain objects as second argument"),(fn(t)||fn(n))&&d("Extending an object with another observable (object) is not supported"));var o=J(t);return ga((function(){var t=Zn(e,a)[ae];B(o).forEach((function(e){t.extend_(e,o[e],!n||(!(e in n)||n[e]))}))})),e}(!1===Rt.useProxies||!1===(null==n?void 0:n.proxy)?Zn({},n):function(e,t){var n,a;return j(),e=Zn(e,t),null!=(a=(n=e[ae]).proxy_)?a:n.proxy_=new Proxy(e,Sn)}({},n),e,t)}))},ref:Q(Be),shallow:Q(Ge),deep:Fe,struct:Q(Te)}),qe="computed",ze=we(qe),Ye=we("computed.struct",{equals:se.structural}),Ze=function(e,t){if(te(t))return ze.decorate_20223_(e,t);if(L(t))return ee(e,t,ze);if(I(e))return Q(we(qe,e));"production"!==process.env.NODE_ENV&&(O(e)||d("First argument to `computed` should be an expression."),O(t)&&d("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));var n=I(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new ct(n)};Object.assign(Ze,ze),Ze.struct=Q(Ye);var $e=0,Qe=1,et=null!=(Ke=null==(We=v((function(){}),"name"))?void 0:We.configurable)&&Ke,tt={value:"action",configurable:!0,writable:!1,enumerable:!1};function nt(e,t,n,a){function o(){return function(e,t,n,a,o){var r=function(e,t,n,a){var o="production"!==process.env.NODE_ENV&&Ft()&&!!e,r=0;if("production"!==process.env.NODE_ENV&&o){r=Date.now();var i=a?Array.from(a):y;Xt({type:Ht,name:e,object:n,arguments:i})}var s=Rt.trackingDerivation,c=!t||!s;Nt();var u=Rt.allowStateChanges;c&&(yt(),u=at(!0));var l=St(!0),h={runAsAction_:c,prevDerivation_:s,prevAllowStateChanges_:u,prevAllowStateReads_:l,notifySpy_:o,startTime_:r,actionId_:Qe++,parentActionId_:$e};return $e=h.actionId_,h}(e,t,a,o);try{return n.apply(a,o)}catch(e){throw r.error_=e,e}finally{!function(e){$e!==e.actionId_&&d(30);$e=e.parentActionId_,void 0!==e.error_&&(Rt.suppressReactionErrors=!0);ot(e.prevAllowStateChanges_),wt(e.prevAllowStateReads_),It(),e.runAsAction_&&bt(e.prevDerivation_);"production"!==process.env.NODE_ENV&&e.notifySpy_&&Wt({time:Date.now()-e.startTime_});Rt.suppressReactionErrors=!1}(r)}}(e,n,t,a||this,arguments)}return void 0===n&&(n=!1),"production"!==process.env.NODE_ENV&&(O(t)||d("`action` can only be invoked on functions"),"string"==typeof e&&e||d("actions should have valid names, got: '"+e+"'")),o.isMobxAction=!0,o.toString=function(){return t.toString()},et&&(tt.value=e,g(o,"name",tt)),o}function at(e){var t=Rt.allowStateChanges;return Rt.allowStateChanges=e,t}function ot(e){Rt.allowStateChanges=e}var rt=function(e){function t(t,n,a,o,r){var i;return void 0===a&&(a="production"!==process.env.NODE_ENV?"ObservableValue@"+M():"ObservableValue"),void 0===o&&(o=!0),void 0===r&&(r=se.default),(i=e.call(this,a)||this).enhancer=void 0,i.name_=void 0,i.equals=void 0,i.hasUnreportedChange_=!1,i.interceptors_=void 0,i.changeListeners_=void 0,i.value_=void 0,i.dehancer=void 0,i.enhancer=n,i.name_=a,i.equals=r,i.value_=n(t,void 0,a),"production"!==process.env.NODE_ENV&&o&&Ft()&&Jt({type:"create",object:i,observableKind:"value",debugObjectName:i.name_,newValue:""+i.value_}),i}z(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){var t=this.value_;if((e=this.prepareNewValue_(e))!==Rt.UNCHANGED){var n=Ft();"production"!==process.env.NODE_ENV&&n&&Xt({type:Ln,object:this,observableKind:"value",debugObjectName:this.name_,newValue:e,oldValue:t}),this.setNewValue_(e),"production"!==process.env.NODE_ENV&&n&&Wt()}},n.prepareNewValue_=function(e){if(pt(this),wn(this)){var t=xn(this,{object:this,type:Ln,newValue:e});if(!t)return Rt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?Rt.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),Mn(this)&&An(this,{type:Ln,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return jn(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:Ln,newValue:this.value_,oldValue:void 0}),Rn(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return T(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(oe);function it(e,t){return!!(e&t)}function st(e,t,n){return n?e|=t:e&=~t,e}var ct=function(){function e(e){this.dependenciesState_=ut.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ut.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new dt(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=lt.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||d(31),this.derivation=e.get,this.name_=e.name||("production"!==process.env.NODE_ENV?"ComputedValue@"+M():"ComputedValue"),e.set&&(this.setter_=nt("production"!==process.env.NODE_ENV?this.name_+"-setter":"ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?se.structural:se.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==ut.UP_TO_DATE_)return;e.lowestObserverState_=ut.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===ut.UP_TO_DATE_&&(e.dependenciesState_=ut.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing&&d(32,this.name_,this.derivation),0!==Rt.inBatch||0!==this.observers_.size||this.keepAlive_){if(Et(this),_t(this)){var e=Rt.trackingContext;this.keepAlive_&&!e&&(Rt.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===ut.STALE_)return;e.lowestObserverState_=ut.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===ut.POSSIBLY_STALE_?(t.dependenciesState_=ut.STALE_,"production"!==process.env.NODE_ENV&&t.isTracing_!==lt.NONE&&Pt(t,e)):t.dependenciesState_===ut.UP_TO_DATE_&&(e.lowestObserverState_=ut.UP_TO_DATE_)}))}(this),Rt.trackingContext=e}}else _t(this)&&(this.warnAboutUntrackedRead_(),Nt(),this.value_=this.computeValue_(!1),It());var t=this.value_;if(mt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&d(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else d(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===ut.NOT_TRACKING_,n=this.computeValue_(!0),a=t||mt(e)||mt(n)||!this.equals_(e,n);return a&&(this.value_=n,"production"!==process.env.NODE_ENV&&Ft()&&Jt({observableKind:"computed",debugObjectName:this.name_,object:this.scope_,type:"update",oldValue:e,newValue:n})),a},t.computeValue_=function(e){this.isComputing=!0;var t,n=at(!1);if(e)t=vt(this,this.derivation,this.scope_);else if(!0===Rt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new dt(e)}return ot(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(gt(this),this.value_=void 0,"production"!==process.env.NODE_ENV&&this.isTracing_!==lt.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' was suspended and it will recompute on the next access."))},t.observe_=function(e,t){var n=this,a=!0,o=void 0;return an((function(){var r=n.get();if(!a||t){var i=yt();e({observableKind:"computed",debugObjectName:n.name_,type:Ln,object:n,newValue:r,oldValue:o}),bt(i)}a=!1,o=r}))},t.warnAboutUntrackedRead_=function(){"production"!==process.env.NODE_ENV&&(this.isTracing_!==lt.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."),("boolean"==typeof this.requiresReaction_?this.requiresReaction_:Rt.computedRequiresReaction)&&console.warn("[mobx] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."))},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return T(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},W(e,[{key:"isComputing",get:function(){return it(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=st(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return it(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=st(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return it(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=st(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return it(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=st(this.flags_,e.isPendingUnobservationMask_,t)}}])}();ct.isComputingMask_=1,ct.isRunningSetterMask_=2,ct.isBeingObservedMask_=4,ct.isPendingUnobservationMask_=8;var ut,lt,ht=k("ComputedValue",ct);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(ut||(ut={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(lt||(lt={}));var dt=function(e){this.cause=void 0,this.cause=e};function mt(e){return e instanceof dt}function _t(e){switch(e.dependenciesState_){case ut.UP_TO_DATE_:return!1;case ut.NOT_TRACKING_:case ut.STALE_:return!0;case ut.POSSIBLY_STALE_:for(var t=St(!0),n=yt(),a=e.observing_,o=a.length,r=0;r<o;r++){var i=a[r];if(ht(i)){if(Rt.disableErrorBoundaries)i.get();else try{i.get()}catch(e){return bt(n),wt(t),!0}if(e.dependenciesState_===ut.STALE_)return bt(n),wt(t),!0}}return jt(e),bt(n),wt(t),!1}}function pt(e){if("production"!==process.env.NODE_ENV){var t=e.observers_.size>0;Rt.allowStateChanges||!t&&"always"!==Rt.enforceActions||console.warn("[MobX] "+(Rt.enforceActions?"Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ":"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, a computed value or the render function of a React component? You can wrap side effects in 'runInAction' (or decorate functions with 'action') if needed. Tried to modify: ")+e.name_)}}function vt(e,t,n){var a=St(!0);jt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++Rt.runId;var o,r=Rt.trackingDerivation;if(Rt.trackingDerivation=e,Rt.inBatch++,!0===Rt.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new dt(e)}return Rt.inBatch--,Rt.trackingDerivation=r,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,a=ut.UP_TO_DATE_,o=0,r=e.unboundDepsCount_,i=0;i<r;i++){var s=n[i];0===s.diffValue_&&(s.diffValue_=1,o!==i&&(n[o]=s),o++),s.dependenciesState_>a&&(a=s.dependenciesState_)}n.length=o,e.newObserving_=null,r=t.length;for(;r--;){var c=t[r];0===c.diffValue_&&Ot(c,e),c.diffValue_=0}for(;o--;){var u=n[o];1===u.diffValue_&&(u.diffValue_=0,At(u,e))}a!==ut.UP_TO_DATE_&&(e.dependenciesState_=a,e.onBecomeStale_())}(e),function(e){if("production"===process.env.NODE_ENV)return;if(0!==e.observing_.length)return;("boolean"==typeof e.requiresObservable_?e.requiresObservable_:Rt.reactionRequiresObservable)&&console.warn("[mobx] Derivation '"+e.name_+"' is created/updated without reading any observable value.")}(e),wt(a),o}function gt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Ot(t[n],e);e.dependenciesState_=ut.NOT_TRACKING_}function ft(e){var t=yt();try{return e()}finally{bt(t)}}function yt(){var e=Rt.trackingDerivation;return Rt.trackingDerivation=null,e}function bt(e){Rt.trackingDerivation=e}function St(e){var t=Rt.allowStateReads;return Rt.allowStateReads=e,t}function wt(e){Rt.allowStateReads=e}function jt(e){if(e.dependenciesState_!==ut.UP_TO_DATE_){e.dependenciesState_=ut.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=ut.UP_TO_DATE_}}var xt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Mt=!0,Rt=function(){var e=_();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Mt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new xt).version&&(Mt=!1),Mt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new xt):(setTimeout((function(){d(35)}),1),new xt)}();function At(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Ot(e,t){e.observers_.delete(t),0===e.observers_.size&&Lt(e)}function Lt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Rt.pendingUnobservations.push(e))}function Nt(){Rt.inBatch++}function It(){if(0==--Rt.inBatch){Bt();for(var e=Rt.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof ct&&n.suspend_())}Rt.pendingUnobservations=[]}}function Et(e){!function(e){"production"!==process.env.NODE_ENV&&!Rt.allowStateReads&&Rt.observableRequiresReaction&&console.warn("[mobx] Observable '"+e.name_+"' being read outside a reactive context.")}(e);var t=Rt.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&Rt.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&Rt.inBatch>0&&Lt(e),!1)}function Ct(e){e.lowestObserverState_!==ut.STALE_&&(e.lowestObserverState_=ut.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===ut.UP_TO_DATE_&&("production"!==process.env.NODE_ENV&&t.isTracing_!==lt.NONE&&Pt(t,e),t.onBecomeStale_()),t.dependenciesState_=ut.STALE_})))}function Pt(e,t){if(console.log("[mobx.trace] '"+e.name_+"' is invalidated due to a change in: '"+t.name_+"'"),e.isTracing_===lt.BREAK){var n=[];kt(ln(_a(e,a)),n,1),new Function("debugger;\n/*\nTracing '"+e.name_+"'\n\nYou are entering this break point because derivation '"+e.name_+"' is being traced and '"+t.name_+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof ct?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}var a}function kt(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+"\t".repeat(n-1)+e.name),e.dependencies&&e.dependencies.forEach((function(e){return kt(e,t,n+1)})))}var Dt=function(){function e(e,t,n,a){void 0===e&&(e="production"!==process.env.NODE_ENV?"Reaction@"+M():"Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=ut.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=lt.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=a}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,Rt.pendingReactions.push(this),Bt())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){Nt(),this.isScheduled_=!1;var e=Rt.trackingContext;if(Rt.trackingContext=this,_t(this)){this.isTrackPending_=!0;try{this.onInvalidate_(),"production"!==process.env.NODE_ENV&&this.isTrackPending_&&Ft()&&Jt({name:this.name_,type:"scheduled-reaction"})}catch(e){this.reportExceptionInDerivation_(e)}}Rt.trackingContext=e,It()}},t.track=function(e){if(!this.isDisposed_){Nt();var t,n=Ft();"production"!==process.env.NODE_ENV&&n&&(t=Date.now(),Xt({name:this.name_,type:"reaction"})),this.isRunning_=!0;var a=Rt.trackingContext;Rt.trackingContext=this;var o=vt(this,e,void 0);Rt.trackingContext=a,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&>(this),mt(o)&&this.reportExceptionInDerivation_(o.cause),"production"!==process.env.NODE_ENV&&n&&Wt({time:Date.now()-t}),It()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(Rt.disableErrorBoundaries)throw e;var n="production"!==process.env.NODE_ENV?"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'":"[mobx] uncaught error in '"+this+"'";Rt.suppressReactionErrors?"production"!==process.env.NODE_ENV&&console.warn("[mobx] (error in reaction '"+this.name_+"' suppressed, fix error of causing action below)"):console.error(n,e),"production"!==process.env.NODE_ENV&&Ft()&&Jt({type:"error",name:this.name_,message:n,error:""+e}),Rt.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(Nt(),gt(this),It()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[ae]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),function(){if("production"===process.env.NODE_ENV)return;for(var e=!1,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];"boolean"==typeof n[n.length-1]&&(e=n.pop());var o=function(e){switch(e.length){case 0:return Rt.trackingDerivation;case 1:return _a(e[0]);case 2:return _a(e[0],e[1])}}(n);if(!o)return d("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");o.isTracing_===lt.NONE&&console.log("[mobx.trace] '"+o.name_+"' tracing enabled");o.isTracing_=e?lt.BREAK:lt.LOG}(this,e)},e}(),Ut=100,Vt=function(e){return e()};function Bt(){Rt.inBatch>0||Rt.isRunningReactions||Vt(Gt)}function Gt(){Rt.isRunningReactions=!0;for(var e=Rt.pendingReactions,t=0;e.length>0;){++t===Ut&&(console.error("production"!==process.env.NODE_ENV?"Reaction doesn't converge to a stable state after "+Ut+" iterations. Probably there is a cycle in the reactive function: "+e[0]:"[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),a=0,o=n.length;a<o;a++)n[a].runReaction_()}Rt.isRunningReactions=!1}var Tt=k("Reaction",Dt);function Ft(){return"production"!==process.env.NODE_ENV&&!!Rt.spyListeners.length}function Jt(e){if("production"!==process.env.NODE_ENV&&Rt.spyListeners.length)for(var t=Rt.spyListeners,n=0,a=t.length;n<a;n++)t[n](e)}function Xt(e){"production"!==process.env.NODE_ENV&&Jt(q({},e,{spyReportStart:!0}))}var Kt={type:"report-end",spyReportEnd:!0};function Wt(e){"production"!==process.env.NODE_ENV&&Jt(e?q({},e,{type:"report-end",spyReportEnd:!0}):Kt)}var Ht="action",qt="autoAction",zt=de(Ht),Yt=de("action.bound",{bound:!0}),Zt=de(qt,{autoAction:!0}),$t=de("autoAction.bound",{autoAction:!0,bound:!0});function Qt(e){return function(t,n){return O(t)?nt(t.name||"<unnamed action>",t,e):O(n)?nt(t,n,e):te(n)?(e?Zt:zt).decorate_20223_(t,n):L(n)?ee(t,n,e?Zt:zt):L(t)?Q(de(e?qt:Ht,{name:t,autoAction:e})):void("production"!==process.env.NODE_ENV&&d("Invalid arguments for `action`"))}}var en=Qt(!1);Object.assign(en,zt);var tn=Qt(!0);function nn(e){return O(e)&&!0===e.isMobxAction}function an(e,t){var n,a,o,r;void 0===t&&(t=b),"production"!==process.env.NODE_ENV&&(O(e)||d("Autorun expects a function as first argument"),nn(e)&&d("Autorun does not accept actions since actions are untrackable"));var i,s=null!=(n=null==(a=t)?void 0:a.name)?n:"production"!==process.env.NODE_ENV?e.name||"Autorun@"+M():"Autorun";if(!t.scheduler&&!t.delay)i=new Dt(s,(function(){this.track(l)}),t.onError,t.requiresObservable);else{var c=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:on}(t),u=!1;i=new Dt(s,(function(){u||(u=!0,c((function(){u=!1,i.isDisposed_||i.track(l)})))}),t.onError,t.requiresObservable)}function l(){e(i)}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||i.schedule_(),i.getDisposer_(null==(r=t)?void 0:r.signal)}Object.assign(tn,Zt),en.bound=Q(Yt),tn.bound=Q($t);var on=function(e){return e()};var rn="onBO",sn="onBUO";function cn(e,t,n){return un(sn,e,t,n)}function un(e,t,n,a){var o="function"==typeof a?_a(t,n):_a(t),r=O(a)?a:n,i=e+"L";return o[i]?o[i].add(r):o[i]=new Set([r]),function(){var e=o[i];e&&(e.delete(r),0===e.size&&delete o[i])}}function ln(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(ln)),n}var hn=0;function dn(){this.message="FLOW_CANCELLED"}dn.prototype=Object.create(Error.prototype);var mn=ge("flow"),_n=ge("flow.bound",{bound:!0}),pn=Object.assign((function(e,t){if(te(t))return mn.decorate_20223_(e,t);if(L(t))return ee(e,t,mn);"production"!==process.env.NODE_ENV&&1!==arguments.length&&d("Flow expects single argument with generator function");var n=e,a=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++hn,r=en(a+" - runid: "+o+" - init",n).apply(this,t),i=void 0,s=new Promise((function(t,n){var s=0;function c(e){var t;i=void 0;try{t=en(a+" - runid: "+o+" - yield "+s++,r.next).call(r,e)}catch(e){return n(e)}l(t)}function u(e){var t;i=void 0;try{t=en(a+" - runid: "+o+" - yield "+s++,r.throw).call(r,e)}catch(e){return n(e)}l(t)}function l(e){if(!O(null==e?void 0:e.then))return e.done?t(e.value):(i=Promise.resolve(e.value)).then(c,u);e.then(l,n)}e=n,c(void 0)}));return s.cancel=en(a+" - runid: "+o+" - cancel",(function(){try{i&&vn(i);var t=r.return(void 0),n=Promise.resolve(t.value);n.then(A,A),vn(n),e(new dn)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),mn);function vn(e){O(e.cancel)&&e.cancel()}function gn(e){return!0===(null==e?void 0:e.isMobXFlow)}function fn(e){return"production"!==process.env.NODE_ENV&&1!==arguments.length&&d("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),function(e,t){return!!e&&(void 0!==t?"production"!==process.env.NODE_ENV&&(Xn(e)||Bn(e))?d("isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead."):!!ea(e)&&e[ae].values_.has(t):ea(e)||!!e[ae]||re(e)||Tt(e)||ht(e))}(e)}function yn(e,t){void 0===t&&(t=void 0),Nt();try{return e.apply(t)}finally{It()}}function bn(e){return e[ae]}pn.bound=Q(_n);var Sn={has:function(e,t){return"production"!==process.env.NODE_ENV&&Rt.trackingDerivation&&x("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),bn(e).has_(t)},get:function(e,t){return bn(e).get_(t)},set:function(e,t,n){var a;return!!L(t)&&("production"===process.env.NODE_ENV||bn(e).values_.has(t)||x("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),null==(a=bn(e).set_(t,n,!0))||a)},deleteProperty:function(e,t){var n;return"production"!==process.env.NODE_ENV&&x("delete properties from an observable object. Use 'remove' from 'mobx' instead."),!!L(t)&&(null==(n=bn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var a;return"production"!==process.env.NODE_ENV&&x("define property on an observable object. Use 'defineProperty' from 'mobx' instead."),null==(a=bn(e).defineProperty_(t,n))||a},ownKeys:function(e){return"production"!==process.env.NODE_ENV&&Rt.trackingDerivation&&x("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),bn(e).ownKeys_()},preventExtensions:function(e){d(13)}};function wn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function jn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),R((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function xn(e,t){var n=yt();try{for(var a=[].concat(e.interceptors_||[]),o=0,r=a.length;o<r&&((t=a[o](t))&&!t.type&&d(14),t);o++);return t}finally{bt(n)}}function Mn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function Rn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),R((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function An(e,t){var n=yt(),a=e.changeListeners_;if(a){for(var o=0,r=(a=a.slice()).length;o<r;o++)a[o](t);bt(n)}}var On="splice",Ln="update",Nn={get:function(e,t){var n=e[ae];return t===ae?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?F(Cn,t)?Cn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var a=e[ae];return"length"===t&&a.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:a.set_(parseInt(t),n),!0},preventExtensions:function(){d(15)}},In=function(){function e(e,t,n,a){void 0===e&&(e="production"!==process.env.NODE_ENV?"ObservableArray@"+M():"ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=a,this.atom_=new oe(e),this.enhancer_=function(n,a){return t(n,a,"production"!==process.env.NODE_ENV?e+"[..]":"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return jn(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Rn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&d("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),a=0;a<e-t;a++)n[a]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&d(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&da(e+t+1)},t.spliceWithArray_=function(e,t,n){var a=this;pt(this.atom_);var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=y),wn(this)){var r=xn(this,{object:this.proxy_,type:On,index:e,removedCount:t,added:n});if(!r)return y;t=r.removedCount,n=r.added}if(n=0===n.length?n:n.map((function(e){return a.enhancer_(e,void 0)})),this.legacyMode_||"production"!==process.env.NODE_ENV){var i=n.length-t;this.updateArrayLength_(o,i)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var a;if(n.length<1e4)return(a=this.values_).splice.apply(a,[e,t].concat(n));var o=this.values_.slice(e,e+t),r=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var i=0;i<n.length;i++)this.values_[e+i]=n[i];for(var s=0;s<r.length;s++)this.values_[e+n.length+s]=r[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var a=!this.owned_&&Ft(),o=Mn(this),r=o||a?{observableKind:"array",object:this.proxy_,type:Ln,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;"production"!==process.env.NODE_ENV&&a&&Xt(r),this.atom_.reportChanged(),o&&An(this,r),"production"!==process.env.NODE_ENV&&a&&Wt()},t.notifyArraySplice_=function(e,t,n){var a=!this.owned_&&Ft(),o=Mn(this),r=o||a?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:On,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;"production"!==process.env.NODE_ENV&&a&&Xt(r),this.atom_.reportChanged(),o&&An(this,r),"production"!==process.env.NODE_ENV&&a&&Wt()},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("production"!==process.env.NODE_ENV?"[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX":"[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&d(17,e,n.length),e<n.length){pt(this.atom_);var a=n[e];if(wn(this)){var o=xn(this,{type:Ln,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,a))!==a&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,a))}else{for(var r=new Array(e+1-n.length),i=0;i<r.length-1;i++)r[i]=void 0;r[r.length-1]=t,this.spliceWithArray_(n.length,0,r)}},e}();function En(e,t,n,a){return void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableArray@"+M():"ObservableArray"),void 0===a&&(a=!1),j(),ga((function(){var o=new In(n,t,a,!1);P(o.values_,ae,o);var r=new Proxy(o.values_,Nn);return o.proxy_=r,e&&e.length&&o.spliceWithArray_(0,0,e),r}))}var Cn={clear:function(){return this.splice(0)},replace:function(e){var t=this[ae];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];var r=this[ae];switch(arguments.length){case 0:return[];case 1:return r.spliceWithArray_(e);case 2:return r.spliceWithArray_(e,t)}return r.spliceWithArray_(e,t,a)},spliceWithArray:function(e,t,n){return this[ae].spliceWithArray_(e,t,n)},push:function(){for(var e=this[ae],t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[ae].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[ae],t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return Rt.trackingDerivation&&d(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){Rt.trackingDerivation&&d(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[ae],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function Pn(e,t){"function"==typeof Array.prototype[e]&&(Cn[e]=t(e))}function kn(e){return function(){var t=this[ae];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Dn(e){return function(t,n){var a=this,o=this[ae];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,a)}))}}function Un(e){return function(){var t=this,n=this[ae];n.atom_.reportObserved();var a=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,a){return o(e,n,a,t)},a[e].apply(a,arguments)}}Pn("at",kn),Pn("concat",kn),Pn("flat",kn),Pn("includes",kn),Pn("indexOf",kn),Pn("join",kn),Pn("lastIndexOf",kn),Pn("slice",kn),Pn("toString",kn),Pn("toLocaleString",kn),Pn("toSorted",kn),Pn("toSpliced",kn),Pn("with",kn),Pn("every",Dn),Pn("filter",Dn),Pn("find",Dn),Pn("findIndex",Dn),Pn("findLast",Dn),Pn("findLastIndex",Dn),Pn("flatMap",Dn),Pn("forEach",Dn),Pn("map",Dn),Pn("some",Dn),Pn("toReversed",Dn),Pn("reduce",Un),Pn("reduceRight",Un);var Vn=k("ObservableArrayAdministration",In);function Bn(e){return N(e)&&Vn(e[ae])}var Gn={},Tn="add",Fn="delete",Jn=function(){function e(e,t,n){var a=this;void 0===t&&(t=ce),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableMap@"+M():"ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[ae]=Gn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,O(Map)||d(18),ga((function(){a.keysAtom_=ie("production"!==process.env.NODE_ENV?a.name_+".keys()":"ObservableMap.keys()"),a.data_=new Map,a.hasMap_=new Map,e&&a.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!Rt.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var a=n=new rt(this.has_(e),ue,"production"!==process.env.NODE_ENV?this.name_+"."+G(e)+"?":"ObservableMap.key?",!1);this.hasMap_.set(e,a),cn(a,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(wn(this)){var a=xn(this,{type:n?Ln:Tn,object:this,newValue:t,name:e});if(!a)return this;t=a.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((pt(this.keysAtom_),wn(this))&&!xn(this,{type:Fn,object:this,name:e}))return!1;if(this.has_(e)){var n=Ft(),a=Mn(this),o=a||n?{observableKind:"map",debugObjectName:this.name_,type:Fn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return"production"!==process.env.NODE_ENV&&n&&Xt(o),yn((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),a&&An(this,o),"production"!==process.env.NODE_ENV&&n&&Wt(),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==Rt.UNCHANGED){var a=Ft(),o=Mn(this),r=o||a?{observableKind:"map",debugObjectName:this.name_,type:Ln,object:this,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&a&&Xt(r),n.setNewValue_(t),o&&An(this,r),"production"!==process.env.NODE_ENV&&a&&Wt()}},t.addValue_=function(e,t){var n=this;pt(this.keysAtom_),yn((function(){var a,o=new rt(t,n.enhancer_,"production"!==process.env.NODE_ENV?n.name_+"."+G(e):"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(a=n.hasMap_.get(e))||a.setNewValue_(!0),n.keysAtom_.reportChanged()}));var a=Ft(),o=Mn(this),r=o||a?{observableKind:"map",debugObjectName:this.name_,type:Tn,object:this,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&a&&Xt(r),o&&An(this,r),"production"!==process.env.NODE_ENV&&a&&Wt()},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return wa({next:function(){var n=t.next(),a=n.done,o=n.value;return{done:a,value:a?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return wa({next:function(){var n=t.next(),a=n.done,o=n.value;return{done:a,value:a?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,a=H(this);!(n=a()).done;){var o=n.value,r=o[0],i=o[1];e.call(t,i,r,this)}},t.merge=function(e){var t=this;return Xn(e)&&(e=new Map(e)),yn((function(){var n,a,o;I(e)?function(e){var t=Object.keys(e);if(!V)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return f.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],a=e[1];return t.set(n,a)})):D(e)?(n=e,a=Object.getPrototypeOf(n),o=Object.getPrototypeOf(a),null!==Object.getPrototypeOf(o)&&d(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&d(20,e)})),this},t.clear=function(){var e=this;yn((function(){ft((function(){for(var t,n=H(e.keys());!(t=n()).done;){var a=t.value;e.delete(a)}}))}))},t.replace=function(e){var t=this;return yn((function(){for(var n,a=function(e){if(D(e)||Xn(e))return e;if(Array.isArray(e))return new Map(e);if(I(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return d(21,e)}(e),o=new Map,r=!1,i=H(t.data_.keys());!(n=i()).done;){var s=n.value;if(!a.has(s))if(t.delete(s))r=!0;else{var c=t.data_.get(s);o.set(s,c)}}for(var u,l=H(a.entries());!(u=l()).done;){var h=u.value,m=h[0],_=h[1],p=t.data_.has(m);if(t.set(m,_),t.data_.has(m)){var v=t.data_.get(m);o.set(m,v),p||(r=!0)}}if(!r)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),f=o.keys(),y=g.next(),b=f.next();!y.done;){if(y.value!==b.value){t.keysAtom_.reportChanged();break}y=g.next(),b=f.next()}t.data_=o})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&d("`observe` doesn't support fireImmediately=true in combination with maps."),Rn(this,e)},t.intercept_=function(e){return jn(this,e)},W(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),Xn=k("ObservableMap",Jn);var Kn={},Wn=function(){function e(e,t,n){var a=this;void 0===t&&(t=ce),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableSet@"+M():"ObservableSet"),this.name_=void 0,this[ae]=Kn,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,O(Set)||d(22),this.enhancer_=function(e,a){return t(e,a,n)},ga((function(){a.atom_=ie(a.name_),e&&a.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;yn((function(){ft((function(){for(var t,n=H(e.data_.values());!(t=n()).done;){var a=t.value;e.delete(a)}}))}))},t.forEach=function(e,t){for(var n,a=H(this);!(n=a()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if((pt(this.atom_),wn(this))&&!xn(this,{type:Tn,object:this,newValue:e}))return this;if(!this.has(e)){yn((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n="production"!==process.env.NODE_ENV&&Ft(),a=Mn(this),o=a||n?{observableKind:"set",debugObjectName:this.name_,type:Tn,object:this,newValue:e}:null;n&&"production"!==process.env.NODE_ENV&&Xt(o),a&&An(this,o),n&&"production"!==process.env.NODE_ENV&&Wt()}return this},t.delete=function(e){var t=this;if(wn(this)&&!xn(this,{type:Fn,object:this,oldValue:e}))return!1;if(this.has(e)){var n="production"!==process.env.NODE_ENV&&Ft(),a=Mn(this),o=a||n?{observableKind:"set",debugObjectName:this.name_,type:Fn,object:this,oldValue:e}:null;return n&&"production"!==process.env.NODE_ENV&&Xt(o),yn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),a&&An(this,o),n&&"production"!==process.env.NODE_ENV&&Wt(),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return wa({next:function(){var a=e;return e+=1,a<n.length?{value:[t[a],n[a]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return wa({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.intersection=function(e){return U(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return U(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return U(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return U(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Hn(e)&&(e=new Set(e)),yn((function(){Array.isArray(e)||U(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&d("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&d("`observe` doesn't support fireImmediately=true in combination with sets."),Rn(this,e)},t.intercept_=function(e){return jn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},W(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Hn=k("ObservableSet",Wn),qn=Object.create(null),zn="remove",Yn=function(){function e(e,t,n,a){void 0===t&&(t=new Map),void 0===a&&(a=Ie),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=a,this.keysAtom_=new oe("production"!==process.env.NODE_ENV?this.name_+".keys":"ObservableObject.keys"),this.isPlainObject_=I(this.target_),"production"===process.env.NODE_ENV||xa(this.defaultAnnotation_)||d("defaultAnnotation must be valid annotation"),"production"!==process.env.NODE_ENV&&(this.appliedAnnotations_={})}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof ct)return n.set(t),!0;if(wn(this)){var a=xn(this,{type:Ln,object:this.proxy_||this.target_,name:e,newValue:t});if(!a)return null;t=a.newValue}if((t=n.prepareNewValue_(t))!==Rt.UNCHANGED){var o=Mn(this),r="production"!==process.env.NODE_ENV&&Ft(),i=o||r?{type:Ln,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&r&&Xt(i),n.setNewValue_(t),o&&An(this,i),"production"!==process.env.NODE_ENV&&r&&Wt()}return!0},t.get_=function(e){return Rt.trackingDerivation&&!F(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),F(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!Rt.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new rt(e in this.target_,ue,"production"!==process.env.NODE_ENV?this.name_+"."+G(e)+"?":"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(na(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[$])&&n[e])return;d(1,t.annotationType_,this.name_+"."+e.toString())}for(var a=this.target_;a&&a!==f;){var o=v(a,e);if(o){var r=t.make_(this,e,o,a);if(0===r)return;if(1===r)break}a=Object.getPrototypeOf(a)}ta(this,t,e)}},t.extend_=function(e,t,n,a){if(void 0===a&&(a=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,a);na(this,n,e);var o=n.extend_(this,e,t,a);return o&&ta(this,n,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),pt(this.keysAtom_);try{Nt();var a=this.delete_(e);if(!a)return a;if(wn(this)){var o=xn(this,{object:this.proxy_||this.target_,name:e,type:Tn,newValue:t.value});if(!o)return null;var r=o.newValue;t.value!==r&&(t=q({},t,{value:r}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else g(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{It()}return!0},t.defineObservableProperty_=function(e,t,n,a){void 0===a&&(a=!1),pt(this.keysAtom_);try{Nt();var o=this.delete_(e);if(!o)return o;if(wn(this)){var r=xn(this,{object:this.proxy_||this.target_,name:e,type:Tn,newValue:t});if(!r)return null;t=r.newValue}var i=Qn(e),s={configurable:!Rt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:i.get,set:i.set};if(a){if(!Reflect.defineProperty(this.target_,e,s))return!1}else g(this.target_,e,s);var c=new rt(t,n,"production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key",!1);this.values_.set(e,c),this.notifyPropertyAddition_(e,c.value_)}finally{It()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),pt(this.keysAtom_);try{Nt();var a=this.delete_(e);if(!a)return a;if(wn(this))if(!xn(this,{object:this.proxy_||this.target_,name:e,type:Tn,newValue:void 0}))return null;t.name||(t.name="production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Qn(e),r={configurable:!Rt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,r))return!1}else g(this.target_,e,r);this.values_.set(e,new ct(t)),this.notifyPropertyAddition_(e,void 0)}finally{It()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),pt(this.keysAtom_),!F(this.target_,e))return!0;if(wn(this)&&!xn(this,{object:this.proxy_||this.target_,name:e,type:zn}))return null;try{var n;Nt();var a,o=Mn(this),r="production"!==process.env.NODE_ENV&&Ft(),i=this.values_.get(e),s=void 0;if(!i&&(o||r))s=null==(a=v(this.target_,e))?void 0:a.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if("production"!==process.env.NODE_ENV&&delete this.appliedAnnotations_[e],i&&(this.values_.delete(e),i instanceof rt&&(s=i.value_),Ct(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o||r){var c={type:zn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};"production"!==process.env.NODE_ENV&&r&&Xt(c),o&&An(this,c),"production"!==process.env.NODE_ENV&&r&&Wt()}}finally{It()}return!0},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&d("`observe` doesn't support the fire immediately property for observable objects."),Rn(this,e)},t.intercept_=function(e){return jn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,a=Mn(this),o="production"!==process.env.NODE_ENV&&Ft();if(a||o){var r=a||o?{type:Tn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&o&&Xt(r),a&&An(this,r),"production"!==process.env.NODE_ENV&&o&&Wt()}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),B(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function Zn(e,t){var n;if("production"!==process.env.NODE_ENV&&t&&ea(e)&&d("Options can't be provided for already observable objects."),F(e,ae))return"production"===process.env.NODE_ENV||pa(e)instanceof Yn||d("Cannot convert '"+va(e)+"' into observable object:\nThe target is already observable of different type.\nExtending builtins is not supported."),e;"production"===process.env.NODE_ENV||Object.isExtensible(e)||d("Cannot make the designated object observable; it is not extensible");var a=null!=(n=null==t?void 0:t.name)?n:"production"!==process.env.NODE_ENV?(I(e)?"ObservableObject":e.constructor.name)+"@"+M():"ObservableObject",o=new Yn(e,new Map,String(a),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:Ee(e):void 0}(t));return C(e,ae,o),e}var $n=k("ObservableObjectAdministration",Yn);function Qn(e){return qn[e]||(qn[e]={get:function(){return this[ae].getObservablePropValue_(e)},set:function(t){return this[ae].setObservablePropValue_(e,t)}})}function ea(e){return!!N(e)&&$n(e[ae])}function ta(e,t,n){var a;"production"!==process.env.NODE_ENV&&(e.appliedAnnotations_[n]=t),null==(a=e.target_[$])||delete a[n]}function na(e,t,n){if("production"===process.env.NODE_ENV||xa(t)||d("Cannot annotate '"+e.name_+"."+n.toString()+"': Invalid annotation."),"production"!==process.env.NODE_ENV&&!he(t)&&F(e.appliedAnnotations_,n)){var a=e.name_+"."+n.toString(),o=e.appliedAnnotations_[n].annotationType_;d("Cannot apply '"+t.annotationType_+"' to '"+a+"':\nThe field is already annotated with '"+o+"'.\nRe-annotating fields is not allowed.\nUse 'override' annotation for methods overridden by subclass.")}}var aa,oa,ra=la(0),ia=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),sa=0,ca=function(){};aa=ca,oa=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(aa.prototype,oa):void 0!==aa.prototype.__proto__?aa.prototype.__proto__=oa:aa.prototype=oa;var ua=function(e){function t(t,n,a,o){var r;return void 0===a&&(a="production"!==process.env.NODE_ENV?"ObservableArray@"+M():"ObservableArray"),void 0===o&&(o=!1),r=e.call(this)||this,ga((function(){var e=new In(a,n,o,!0);e.proxy_=r,P(r,ae,e),t&&t.length&&r.spliceWithArray(0,0,t),ia&&Object.defineProperty(r,"0",ra)})),r}z(t,e);var n=t.prototype;return n.concat=function(){this[ae].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return Bn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return wa({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},W(t,[{key:"length",get:function(){return this[ae].getArrayLength_()},set:function(e){this[ae].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(ca);function la(e){return{enumerable:!1,configurable:!0,get:function(){return this[ae].get_(e)},set:function(t){this[ae].set_(e,t)}}}function ha(e){g(ua.prototype,""+e,la(e))}function da(e){if(e>sa){for(var t=sa;t<e+100;t++)ha(t);sa=e}}function ma(e,t,n){return new ua(e,t,n)}function _a(e,t){if("object"==typeof e&&null!==e){if(Bn(e))return void 0!==t&&d(23),e[ae].atom_;if(Hn(e))return e.atom_;if(Xn(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||d(25,t,va(e)),n}if(ea(e)){if(!t)return d(26);var a=e[ae].values_.get(t);return a||d(27,t,va(e)),a}if(re(e)||ht(e)||Tt(e))return e}else if(O(e)&&Tt(e[ae]))return e[ae];d(28)}function pa(e,t){return e||d(29),void 0!==t?pa(_a(e,t)):re(e)||ht(e)||Tt(e)||Xn(e)||Hn(e)?e:e[ae]?e[ae]:void d(24,e)}function va(e,t){var n;if(void 0!==t)n=_a(e,t);else{if(nn(e))return e.name;n=ea(e)||Xn(e)||Hn(e)?pa(e):_a(e)}return n.name_}function ga(e){var t=yt(),n=at(!0);Nt();try{return e()}finally{It(),ot(n),bt(t)}}Object.entries(Cn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&C(ua.prototype,t,n)})),da(1e3);var fa=f.toString;function ya(e,t,n){return void 0===n&&(n=-1),ba(e,t,n)}function ba(e,t,n,a,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var r=typeof e;if("function"!==r&&"object"!==r&&"object"!=typeof t)return!1;var i=fa.call(e);if(i!==fa.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=Sa(e),t=Sa(t);var s="[object Array]"===i;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var c=e.constructor,u=t.constructor;if(c!==u&&!(O(c)&&c instanceof c&&O(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var l=(a=a||[]).length;l--;)if(a[l]===e)return o[l]===t;if(a.push(e),o.push(t),s){if((l=e.length)!==t.length)return!1;for(;l--;)if(!ba(e[l],t[l],n-1,a,o))return!1}else{var h,d=Object.keys(e);if(l=d.length,Object.keys(t).length!==l)return!1;for(;l--;)if(!F(t,h=d[l])||!ba(e[h],t[h],n-1,a,o))return!1}return a.pop(),o.pop(),!0}function Sa(e){return Bn(e)?e.slice():D(e)||Xn(e)||U(e)||Hn(e)?Array.from(e.entries()):e}function wa(e){return e[Symbol.iterator]=ja,e}function ja(){return this}function xa(e){return e instanceof Object&&"string"==typeof e.annotationType_&&O(e.make_)&&O(e.extend_)}function Ma(e){var n;n=function(){return an(e)},t.useEffect(n,[])}function Ra(e){var a=e.connectedMotionGroup,r=e.robotRootObjectName,s=e.onRotationChanged,c=e.jointCollector;n.Globals.assign({frameLoop:"always"});var u=t.useRef([]),h=t.useRef([]),d=o.useThree(),m=d.scene,_=d.invalidate;function p(){var e=h.current.map((function(e,t){return g[t].get()}));s(h.current,e)}t.useEffect((function(){var e=m.getObjectByName(r);e&&(h.current=c?c(e):l(e),p(),_())}),[]),Ma((function(){var e=a.rapidlyChangingMotionState.state.joint_position.joints.filter((function(e){return void 0!==e}));requestAnimationFrame((function(){return function(e){u.current=e,f.start(Object.assign({},u.current))}(e)}))}));var v=n.useSpring((function(){return i(i({},Object.assign({},a.rapidlyChangingMotionState.state.joint_position.joints)),{onChange:function(){p(),_()},onResolve:function(){p()}})})),g=v[0],f=v[1];return null}function Aa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR3",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J03",position:[-.244,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J04",position:[-.213,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J05",position:[0,.112,0],rotation:[Math.PI/2,0,0],children:[e.jsx("mesh",{name:"UR3_05",castShadow:!0,receiveShadow:!0,geometry:l.UR3_05.geometry,material:h.Standard}),e.jsxs(n.animated.group,{name:"UR3_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR3_FLG",position:[0,.082,0]}),e.jsx("mesh",{name:"UR3_L06",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L06.geometry,material:h.Standard})]})]}),e.jsx("mesh",{name:"UR3_L04",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L04.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3_L03",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L03.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3_L02",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L02.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3_L01",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L01.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3_L00",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L00.geometry,material:h.Standard,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Oa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs(n.animated.group,{name:"UR3e",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J03",position:[-.244,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J04",position:[-.213,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J05",position:[0,.131,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR3e_FLG",position:[0,.092,0]}),e.jsx("mesh",{name:"UR3e_L06",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L06.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L05",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L05.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L04",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L04.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L03",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L03.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L02",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L02.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L01",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L01.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L00",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L00.geometry,material:h.Standard,rotation:[-Math.PI/2,0,0]})]})})}))]})}function La(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o).nodes;return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR5",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J02",position:[0,.089,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J03",position:[-.425,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J04",position:[-.392,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J05",position:[0,.109,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J06",position:[0,.095,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR5_FLG",position:[0,.082,0]}),e.jsx("mesh",{name:"UR5_L06",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L06.geometry,material:u.UR5_L06.material})]}),e.jsx("mesh",{name:"UR5_L05",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L05.geometry,material:u.UR5_L05.material})]}),e.jsx("mesh",{name:"UR5_L04",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L04.geometry,material:u.UR5_L04.material})]}),e.jsx("mesh",{name:"UR5_L03",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L03.geometry,material:u.UR5_L03.material})]}),e.jsx("mesh",{name:"UR5_L02",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L02.geometry,material:u.UR5_L02.material})]}),e.jsx("mesh",{name:"UR5_L01",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L01.geometry,material:u.UR5_L01.material})]}),e.jsx("mesh",{name:"UR5_L00",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L00.geometry,material:u.UR5_L00.material,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Na(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR5e",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J02",position:[0,.162,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J03",position:[-.425,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J04",position:[-.392,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J05",position:[0,.133,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J06",position:[0,.1,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR5e_FLG",position:[0,.1,0]}),e.jsx("group",{name:"UR5e_L06",position:[0,.1,0],rotation:[0,0,-Math.PI],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000255",castShadow:!0,receiveShadow:!0,geometry:l["C-1000255"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000255_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000255_1"].geometry,material:h.Metal})]})})]}),e.jsx("group",{name:"UR5e_L05",rotation:[-Math.PI/2,-Math.PI/3,0],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000253",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000253_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253_1"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000253_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253_2"].geometry,material:h.Metal}),e.jsx("mesh",{name:"C-1000253_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253_3"].geometry,material:h.DarkGray})]})})]}),e.jsx("group",{name:"UR5e_L04",rotation:[0,-Math.PI/3,0],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000251",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000251_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251_1"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000251_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251_2"].geometry,material:h.Metal}),e.jsx("mesh",{name:"C-1000251_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251_3"].geometry,material:h.DarkGray})]})})]}),e.jsx("group",{name:"UR5e_L03",children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000250",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000250_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_1"].geometry,material:h.DarkGray}),e.jsx("mesh",{name:"C-1000250_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_2"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000250_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_3"].geometry,material:h.Metal}),e.jsx("mesh",{name:"C-1000250_4",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_4"].geometry,material:h.Metal})]})})]}),e.jsx("group",{name:"UR5e_L02",rotation:[0,-Math.PI/2,0],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000249",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249"].geometry,material:h.Metal}),e.jsx("mesh",{name:"C-1000249_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_1"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000249_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_2"].geometry,material:h.DarkGray}),e.jsx("mesh",{name:"C-1000249_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_3"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000249_4",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_4"].geometry,material:h.Metal})]})})]}),e.jsx("group",{name:"UR5e_L01",rotation:[Math.PI/2,0,0],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000248",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248"].geometry,material:h.DarkGray}),e.jsx("mesh",{name:"C-1000248_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248_1"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000248_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248_2"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000248_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248_3"].geometry,material:h.Metal})]})})]}),e.jsx("group",{name:"UR5e_L00",children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000257",castShadow:!0,receiveShadow:!0,geometry:l["C-1000257"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000257_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000257_1"].geometry,material:h.Metal})]})})]})})}))]})}function Ia(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR10",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J02",position:[0,.126,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J03",position:[-.612,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J04",position:[-.572,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J05",position:[0,.164,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J06",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR10_FLG",position:[0,.092,0]}),e.jsx("mesh",{name:"UR10_L06",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L06.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L05",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L05.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L04",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L04.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L03",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L03.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L02",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L02.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L01",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L01.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L00",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L00.geometry,material:h.Standard,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ea(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR10e",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J02",position:[0,.181,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J03",position:[-.613,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J04",position:[-.572,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J05",position:[0,.174,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J06",position:[0,.12,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_FLG",position:[1.184,-.174,.061],rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000493",geometry:l["C-1000493"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000493_1",geometry:l["C-1000493_1"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0})]}),e.jsx("group",{name:"UR10e_L07",position:[0,.117,0]})]}),e.jsxs("group",{name:"UR10e_L06",position:[1.184,.181,.174],rotation:[Math.PI,0,0],children:[e.jsx("mesh",{name:"C-1000492",geometry:l["C-1000492"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000492_1",geometry:l["C-1000492_1"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000492_2",geometry:l["C-1000492_2"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000492_3",geometry:l["C-1000492_3"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs("group",{name:"UR10e_L05",position:[1.184,0,.181],rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000491",geometry:l["C-1000491"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000491_1",geometry:l["C-1000491_1"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000491_2",geometry:l["C-1000491_2"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000491_3",geometry:l["C-1000491_3"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs("group",{name:"UR10e_L04",position:[.613,0,.181],rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000490",geometry:l["C-1000490"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000490_1",geometry:l["C-1000490_1"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000490_2",geometry:l["C-1000490_2"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000490_3",geometry:l["C-1000490_3"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs(n.animated.group,{name:"UR10e_L03",position:[0,0,.181],rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000489",geometry:l["C-1000489"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000489_1",geometry:l["C-1000489_1"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000489_2",geometry:l["C-1000489_2"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000489_3",geometry:l["C-1000489_3"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000489_4",geometry:l["C-1000489_4"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs("group",{name:"UR10e_L02",children:[e.jsx("mesh",{name:"C-1000488",geometry:l["C-1000488"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000488_1",geometry:l["C-1000488_1"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000488_2",geometry:l["C-1000488_2"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000488_3",geometry:l["C-1000488_3"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs("group",{name:"UR10e_L01",rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000487",geometry:l["C-1000487"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000487_1",geometry:l["C-1000487_1"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0})]})]})})}))]})}function Ca(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"AR900",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J02",position:[.04,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"AR900_J03",position:[.445,0,0],rotation:[-Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J04",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J05",position:[0,-.44,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J06",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR900_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"AR900_L06",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L06.geometry,material:h["#BBA474.001"]})]}),e.jsx("mesh",{name:"AR900_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L05.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L04",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L04.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L03",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L03.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L02.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L01",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L01.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L00.geometry,material:h["#0056b9.001"],rotation:[-Math.PI/2,0,0]})]})})}))]})}function Pa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0],m=[1,-1,1,1,1,1];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=m[n]*t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"AR1440",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J02",position:[.155,0,0],rotation:[Math.PI/2,0,Math.PI],children:[e.jsxs(n.animated.group,{name:"AR1440_J03",position:[.614,0,0],rotation:[Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J05",position:[0,-.64,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J06",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR1440_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"AR1440_L06_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L06_CAD.geometry,material:h.metall})]}),e.jsx("mesh",{name:"AR1440_L05_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L05_CAD.geometry,material:h.yaskawaBlueMetall})]}),e.jsxs("group",{name:"AR1440_L04_CAD",children:[e.jsx("mesh",{name:"AR1440_L04_CAD001",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L04_CAD001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR1440_L04_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L04_CAD001_1.geometry,material:h.white})]})]}),e.jsxs("group",{name:"AR1440_L03_CAD",children:[e.jsx("mesh",{name:"AR1440_L03_CAD001",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L03_CAD001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR1440_L03_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L03_CAD001_1.geometry,material:h.blackMetall})]})]}),e.jsx("mesh",{name:"AR1440_L02_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L02_CAD.geometry,material:h.yaskawaBlueMetall})]}),e.jsxs("group",{name:"AR1440_L01_CAD",children:[e.jsx("mesh",{name:"AR1440_L01_CAD001",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L01_CAD001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR1440_L01_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L01_CAD001_1.geometry,material:h.blackMetall})]})]}),e.jsx("mesh",{name:"AR1440_L00_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L00_CAD.geometry,material:h.yaskawaBlueMetall,position:[0,0,.45],rotation:[-Math.PI/2,0,0]})]})})}))]})}function ka(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0],m=[1,-1,1,1,1,1];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=m[n]*t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",children:[e.jsxs(n.animated.group,{name:"AR1730_J00",children:[e.jsxs(n.animated.group,{name:"AR1730_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"AR1730_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR1730_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1730_J04",position:[0,-.795,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1730_J05",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR1730_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"AR1730_L06",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L06.geometry,material:h.Metal,rotation:[Math.PI/2,-Math.PI/2,0]})]}),e.jsx("mesh",{name:"AR1730_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L05.geometry,material:h.Blue,rotation:[Math.PI/2,0,Math.PI/2]})]}),e.jsxs("group",{name:"AR1730_L04",position:[0,-.302,0],rotation:[0,0,-Math.PI/2],children:[e.jsx("mesh",{name:"_R_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:l._R_AXIS_SW0001002.geometry,material:h.Blue}),e.jsx("mesh",{name:"_R_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:l._R_AXIS_SW0001002_1.geometry,material:h.White})]})]}),e.jsxs("group",{name:"AR1730_L03",rotation:[Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"_U_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:l._U_AXIS_SW0001002.geometry,material:h.Blue}),e.jsx("mesh",{name:"_U_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:l._U_AXIS_SW0001002_1.geometry,material:h.Black})]})]}),e.jsx("mesh",{name:"AR1730_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L02.geometry,material:h.Blue,position:[0,-.157,0],rotation:[-Math.PI,-1.571,0]})]}),e.jsxs("group",{name:"AR1730_L01",position:[0,-.336,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"_S_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:l._S_AXIS_SW0001002.geometry,material:h.Blue}),e.jsx("mesh",{name:"_S_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:l._S_AXIS_SW0001002_1.geometry,material:h.Black})]})]}),e.jsx("mesh",{name:"AR1730_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L00.geometry,material:h.Blue,position:[0,-.505,0],rotation:[Math.PI/2,0,-Math.PI/2]})]})}))]})}function Da(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0],m=[1,-1,1,1,1,1];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=m[n]*t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"AR2010",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J02",position:[.15,0,0],rotation:[Math.PI/2,0,Math.PI],children:[e.jsxs(n.animated.group,{name:"AR2010_J03",position:[.76,0,0],rotation:[Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J05",position:[0,-1.082,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J06",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR2010_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e.jsxs("group",{name:"AR2010_L06",children:[e.jsx("mesh",{name:"AR2010_06001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_06001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR2010_06001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_06001_1.geometry,material:h.metall})]})]}),e.jsx("mesh",{name:"AR2010_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_L05.geometry,material:h.yaskawaBlueMetall})]}),e.jsxs("group",{name:"AR2010_L04",children:[e.jsx("mesh",{name:"AR2010_04001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_04001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR2010_04001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_04001_1.geometry,material:h.white})]})]}),e.jsxs("group",{name:"AR2010_L03",children:[e.jsx("mesh",{name:"AR2010_03001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_03001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR2010_03001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_03001_1.geometry,material:h.blackMetall})]})]}),e.jsx("mesh",{name:"AR2010_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_L02.geometry,material:h.yaskawaBlueMetall})]}),e.jsxs("group",{name:"AR2010_L01",children:[e.jsx("mesh",{name:"AR2010_01001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_01001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR2010_01001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_01001_1.geometry,material:h.blackMetall})]})]}),e.jsx("mesh",{name:"AR2010_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_L00.geometry,material:h.yaskawaBlueMetall,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ua(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0],m=[1,-1,1,1,1,1];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=m[n]*t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",children:[e.jsxs(n.animated.group,{name:"AR3120_J00",children:[e.jsxs(n.animated.group,{name:"AR3120_J01",position:[.145,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"AR3120_J02",position:[1.15,0,0],rotation:[-Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR3120_J03",position:[.25,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR3120_J04",position:[0,-1.812,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR3120_J05",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR3120_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"AR3120_L06",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L06.geometry,material:h["Metal.001"],rotation:[Math.PI/2,-Math.PI/2,0]})]}),e.jsx("mesh",{name:"AR3120_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L05.geometry,material:h["Blue.001"],rotation:[Math.PI/2,0,Math.PI/2]})]}),e.jsxs("group",{name:"AR3120_L04",rotation:[Math.PI/2,-Math.PI/2,0],children:[e.jsx("mesh",{name:"R_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:l.R_AXIS_GP20HL001.geometry,material:h["Blue.001"]}),e.jsx("mesh",{name:"R_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:l.R_AXIS_GP20HL001_1.geometry,material:h["White.001"]})]})]}),e.jsxs("group",{name:"AR3120_L03",rotation:[Math.PI,0,-Math.PI/2],children:[e.jsx("mesh",{name:"Mesh_3001",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_3001.geometry,material:h["Blue.001"]}),e.jsx("mesh",{name:"Mesh_3001_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_3001_1.geometry,material:h["Black.001"]})]})]}),e.jsx("mesh",{name:"AR3120_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L02.geometry,material:h["Blue.001"],position:[0,-.146,0],rotation:[Math.PI,0,0]})]}),e.jsxs("group",{name:"AR3120_L01",position:[0,-.228,0],rotation:[0,-1.571,0],children:[e.jsx("mesh",{name:"S_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:l.S_AXIS_GP20HL001.geometry,material:h["Blue.001"]}),e.jsx("mesh",{name:"S_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:l.S_AXIS_GP20HL001_1.geometry,material:h["Black.001"]})]})]}),e.jsx("mesh",{name:"AR3120_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L00.geometry,material:h["Blue.001"],position:[0,-.54,0]})]})}))]})}function Va(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",children:[e.jsxs(n.animated.group,{name:"CRX10iA_J00",children:[e.jsxs(n.animated.group,{name:"CRX10iA_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J02",position:[.54,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L06.geometry,material:h.Fanuc_BlackMetal,position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),e.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001_1.geometry,material:h.Fanuc_Green})]})]}),e.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA.geometry,material:h.Fanuc_RedPlastic}),e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_1",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_1.geometry,material:h.Fanuc_BlackPlastic}),e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_2",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_2.geometry,material:h.Fanuc_WhitePlastic})]})]}),e.jsx("mesh",{name:"CRX10iA_L03",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L03.geometry,material:h.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L02.geometry,material:h.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e.jsxs("group",{name:"CRX10iA_L01",position:[0,-.117,0],children:[e.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001.geometry,material:h.Fanuc_Green}),e.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_1.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_2.geometry,material:h.Fanuc_GreenLED})]})]}),e.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L00.geometry,material:h.Fanuc_BlackMetal,position:[0,-.245,0]})]})}))]})}function Ba(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",position:[0,-.37,0],children:[e.jsxs("group",{name:"CRX25iA_L00",children:[e.jsx("mesh",{name:"J1BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J1BASE_NetGen_Coarse.geometry,material:h.Fanuc_BlackMetal}),e.jsx("mesh",{name:"J1BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J1BASE_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenPlastic})]}),e.jsxs(n.animated.group,{name:"CRX25iA_J00",children:[e.jsxs(n.animated.group,{name:"CRX25iA_J01",position:[0,.37,0],rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"CRX25iA_J02",position:[.95,0,0],children:[e.jsxs(n.animated.group,{name:"CRX25iA_J03",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX25iA_J04",position:[0,-.75,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX25iA_J05",position:[0,.185,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"CRX25iA_FLG",position:[0,-.18,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"CRX25iA_L06",castShadow:!0,receiveShadow:!0,geometry:l.CRX25iA_L06.geometry,material:h.Fanuc_BlackMetal,position:[0,-.18,0]})]}),e.jsxs("group",{name:"CRX25iA_L05",position:[0,.185,0],children:[e.jsx("mesh",{name:"J6CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J6CASING_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J6CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J6CASING_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenPlastic})]})]}),e.jsxs("group",{name:"CRX25iA_L04",position:[0,-.75,0],children:[e.jsx("mesh",{name:"J3ARM_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J3ARM_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J3ARM_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J3ARM_NetGen_Coarse_1.geometry,material:h.Fanuc_RedPlastic}),e.jsx("mesh",{name:"J3ARM_NetGen_Coarse_2",castShadow:!0,receiveShadow:!0,geometry:l.J3ARM_NetGen_Coarse_2.geometry,material:h.Fanuc_BlackPlastic})]})]}),e.jsxs("group",{name:"CRX25iA_L03",children:[e.jsx("mesh",{name:"J3CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J3CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenPlastic})]})]}),e.jsx("mesh",{name:"CRX25iA_L02",castShadow:!0,receiveShadow:!0,geometry:l.CRX25iA_L02.geometry,material:h.Fanuc_WhitePlastic})]}),e.jsxs("group",{name:"CRX25iA_L01",position:[0,.18,0],children:[e.jsx("mesh",{name:"J2BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J2BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenLED})]})]})]})}))]})}function Ga(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",children:[e.jsxs(n.animated.group,{name:"CRX10iA_J00",children:[e.jsxs(n.animated.group,{name:"CRX10iA_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J02",position:[.71,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L06.geometry,material:h["Fanuc_BlackMetal.001"],position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),e.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001_1.geometry,material:h["Fanuc_Green.001"]})]})]}),e.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_L001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_1",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_L001_1.geometry,material:h["Fanuc_RedPlastic.001"]}),e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_2",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_L001_2.geometry,material:h["Fanuc_BlackPlastic.001"]})]})]}),e.jsxs("group",{name:"CRX10iA_L03",rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"J3CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_UNIT001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e.jsx("mesh",{name:"J3CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_UNIT001_1.geometry,material:h["Fanuc_Green.001"]})]})]}),e.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L02.geometry,material:h["Fanuc_WhitePlastic.001"],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e.jsxs("group",{name:"CRX10iA_L01",position:[0,.128,0],children:[e.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_1.geometry,material:h["Fanuc_Green.001"]}),e.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_2.geometry,material:h["Fanuc_GreenLED.001"]})]})]}),e.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L00.geometry,material:h["Fanuc_BlackMetal.001"]})]})}))]})}function Ta(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,0,-Math.PI/2,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"kuka_kr210_2700",children:[e.jsxs(n.animated.group,{name:"joint_01",children:[e.jsxs(n.animated.group,{name:"joint_02",position:[.33,.645,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"joint_04",position:[.115,0,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_05",position:[0,-1.22,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[e.jsx("group",{name:"flange",position:[0,-.215,0],rotation:[-Math.PI,0,0]}),e.jsx("group",{name:"link_6",position:[0,-.17,0],rotation:[0,0,-Math.PI/2],children:e.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:l.visuals006.geometry,material:h.material_Material_Metall_black})})]}),e.jsx("group",{name:"link_5",position:[0,.059,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals005",children:[e.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals005_1.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals005_2.geometry,material:h.material_Material_kuka_orange})]})})]}),e.jsx("group",{name:"link_4",position:[0,-.869,0],rotation:[0,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals004",children:[e.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals004_1.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals004_2.geometry,material:h.material_Material_kuka_orange})]})})]}),e.jsx("group",{name:"link_3",position:[0,-.105,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals003",children:[e.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_1.geometry,material:h.material_Material_rubber}),e.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_2.geometry,material:h.material_Material_aluminium}),e.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_3.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_4.geometry,material:h.material_Material_kuka_black}),e.jsx("mesh",{name:"visuals003_5",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_5.geometry,material:h.material_Material_Rubber_black}),e.jsx("mesh",{name:"visuals003_6",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_6.geometry,material:h.material_Material_kuka_orange}),e.jsx("mesh",{name:"visuals003_7",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_7.geometry,material:h.material_Material_stainless_steel})]})})]}),e.jsx("group",{name:"link_2",position:[0,.009,0],rotation:[Math.PI/2,0,0],children:e.jsxs("group",{name:"visuals002",children:[e.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_1.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_2.geometry,material:h.material_Material_Rubber_black}),e.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_3.geometry,material:h.material_Material_kuka_orange})]})})]}),e.jsx("group",{name:"link_1",position:[0,.236,0],children:e.jsxs("group",{name:"visuals001",children:[e.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_1.geometry,material:h.material_Material_kuka_black}),e.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_2.geometry,material:h.material_Material_kuka_orange}),e.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_3.geometry,material:h.material_Material_rubber}),e.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_4.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals001_5",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_5.geometry,material:h.material_Material_aluminium}),e.jsx("mesh",{name:"visuals001_6",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_6.geometry,material:h.material_Material_rubber_black}),e.jsx("mesh",{name:"visuals001_7",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_7.geometry,material:h.material_Material_stainless_steel})]})})]}),e.jsx("group",{name:"link_0",children:e.jsxs("group",{name:"visuals",children:[e.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals_1.geometry,material:h.material_Material_kuka_black}),e.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals_2.geometry,material:h.material_Material_metal_black})]})})]})})}))]})}function Fa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,0,-Math.PI/2,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"kuka_kr270_2700_ultra",children:[e.jsxs(n.animated.group,{name:"joint_01",children:[e.jsxs(n.animated.group,{name:"joint_02",position:[.35,.675,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"joint_04",position:[-.041,0,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_05",position:[0,-1.2,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[e.jsx("group",{name:"flange",position:[0,-.24,0],rotation:[-Math.PI,0,0]}),e.jsx("group",{name:"link_6",position:[0,-.213,0],rotation:[0,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals006",children:[e.jsx("mesh",{name:"visuals006_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals006_1.geometry,material:h.material_Material_Farbe__1_}),e.jsx("mesh",{name:"visuals006_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals006_2.geometry,material:h.material_Material_Metall})]})})]}),e.jsx("group",{name:"link_5",position:[0,.044,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e.jsx("mesh",{name:"visuals005",castShadow:!0,receiveShadow:!0,geometry:l.visuals005.geometry,material:h.material_Material_Farbe})})]}),e.jsx("group",{name:"link_4",position:[0,-.954,0],rotation:[0,0,-Math.PI/2],children:e.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:l.visuals004.geometry,material:h.material_Material_Farbe})})]}),e.jsx("group",{name:"link_3",position:[0,-.178,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals003",children:[e.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_1.geometry,material:h.material_Material_Farbe__1_}),e.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_2.geometry,material:h.material_Material_Farbe__2_}),e.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_3.geometry,material:h.material_Material_Metall}),e.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_4.geometry,material:h.material_Material_Farbe})]})})]}),e.jsx("group",{name:"link_2",rotation:[Math.PI/2,0,0],children:e.jsxs("group",{name:"visuals002",children:[e.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_1.geometry,material:h.material_Material_Farbe}),e.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_2.geometry,material:h.material_Material_Farbe__1_}),e.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_3.geometry,material:h.material_Material_Metall}),e.jsx("mesh",{name:"visuals002_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_4.geometry,material:h.material_Material_Farbe__2_})]})})]}),e.jsx("group",{name:"link_1",position:[0,.226,0],children:e.jsxs("group",{name:"visuals001",children:[e.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_1.geometry,material:h.material_Material_Metall}),e.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_2.geometry,material:h.material_Material_Farbe__1_}),e.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_3.geometry,material:h.material_Material_Farbe__2_}),e.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_4.geometry,material:h.material_Material_Farbe})]})})]}),e.jsxs("group",{name:"link_0-base",children:[e.jsx("group",{name:"joint_1"}),e.jsxs("group",{name:"visuals",children:[e.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals_1.geometry,material:h.material_Material_Metall}),e.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals_2.geometry,material:h.material_Material_Farbe__1_})]})]})]})})}))]})}function Ja(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"M10iD",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J02",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J03",position:[.64,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J04",position:[.195,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J05",position:[0,-.7,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J06",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"M10iD_FLG",position:[0,-.075,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"M10iD_L06",castShadow:!0,receiveShadow:!0,geometry:l.M10iD_L06.geometry,material:h.Fanuc_BlackMetal_AO,position:[-.835,.775,0],rotation:[0,0,-Math.PI/2]})]}),e.jsx("mesh",{name:"M10iD_L05",castShadow:!0,receiveShadow:!0,geometry:l.M10iD_L05.geometry,material:h.Fanuc_BlackMetal_AO,position:[-.835,0,-.775],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e.jsxs("group",{name:"M10iD_L04",position:[-.835,.075,0],rotation:[0,0,-Math.PI/2],children:[e.jsx("mesh",{name:"Mesh_654",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_654.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_654_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_654_1.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsxs("group",{name:"M10iD_L03",position:[-.64,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"Mesh_378",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_378.geometry,material:h.Material_1_AO}),e.jsx("mesh",{name:"Mesh_378_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_378_1.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_378_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_378_2.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsxs("group",{name:"M10iD_L02",position:[0,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"Mesh_358",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_358.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_358_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_358_1.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsxs("group",{name:"M10iD_L01",children:[e.jsx("mesh",{name:"Mesh_356",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_356.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_356_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_356_1.geometry,material:h.Material_1_AO}),e.jsx("mesh",{name:"Mesh_356_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_356_2.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsx("mesh",{name:"M10iD_L00",castShadow:!0,receiveShadow:!0,geometry:l.M10iD_L00.geometry,material:h.Fanuc_BlackMetal_AO,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Xa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"M10iD",rotation:[0,0,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J00",children:[e.jsxs(n.animated.group,{name:"M20iD25_J01",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J02",position:[.84,0,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J03",position:[.215,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J04",position:[0,-.89,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J05",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"M20iD25_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"M20iD25_L06",castShadow:!0,receiveShadow:!0,geometry:l.M20iD25_L06.geometry,material:h.Fanuc_BlackMetal_AO,position:[0,-.09,0],rotation:[Math.PI/2,0,Math.PI]})]}),e.jsx("mesh",{name:"M20iD25_L05",castShadow:!0,receiveShadow:!0,geometry:l.M20iD25_L05.geometry,material:h.Fanuc_BlackMetal_AO,rotation:[Math.PI,Math.PI/2,0]})]}),e.jsxs("group",{name:"M20iD25_L04",position:[0,-.286,0],rotation:[-Math.PI/2,Math.PI/2,0],children:[e.jsx("mesh",{name:"Mesh_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_2.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_2_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_2_1.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsxs("group",{name:"M20iD25_L03",position:[0,.406,0],rotation:[Math.PI,Math.PI/2,0],children:[e.jsx("mesh",{name:"Mesh_15",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_15.geometry,material:h.Fanuc_BlackMetal_AO}),e.jsx("mesh",{name:"Mesh_15_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_15_1.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_15_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_15_2.geometry,material:h.Material_9_AO})]})]}),e.jsxs("group",{name:"M20iD25_L02",position:[0,.505,-.055],rotation:[-Math.PI,Math.PI/2,0],children:[e.jsx("mesh",{name:"Mesh_37",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_37.geometry,material:h.Fanuc_BlackMetal_AO}),e.jsx("mesh",{name:"Mesh_37_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_37_1.geometry,material:h.Fanuc_Yellow_Textured_AO})]})]}),e.jsxs("group",{name:"M20iD25_L01",rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"Mesh_45",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_45.geometry,material:h.Material_9_AO}),e.jsx("mesh",{name:"Mesh_45_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_45_1.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_45_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_45_2.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsx("mesh",{name:"M20iD25_L00",castShadow:!0,receiveShadow:!0,geometry:l.M20iD25_L00.geometry,material:h.Fanuc_BlackMetal_AO,position:[0,-.425,0],rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ka(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"IRB1200_7_70_IRC5",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J02",position:[0,.399,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J03",position:[.35,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J04",position:[.042,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J05",position:[0,.351,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J06",rotation:[Math.PI/2,0,-Math.PI],children:[e.jsx("group",{name:"IRB1200_7_70_IRC5_FLG",position:[0,.082,0]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L06",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L06.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L05",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L05.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L04",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L04.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L03",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L03.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L02",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L02.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L01",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L01.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"],rotation:[Math.PI/2,0,0]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L00",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L00.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"],rotation:[-Math.PI/2,0,0]})]})})}))]})}["Symbol","Map","Set"].forEach((function(e){void 0===_()[e]&&d("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return"production"===process.env.NODE_ENV?(console.warn("[mobx.spy] Is a no-op in production builds"),function(){}):(Rt.spyListeners.push(e),R((function(){Rt.spyListeners=Rt.spyListeners.filter((function(t){return t!==e}))})))},extras:{getDebugName:va},$mobx:ae});var Wa="line",Ha="mesh";function qa(t){var n=t.connectedMotionGroup,o=s(t,["connectedMotionGroup"]),c=new r.Matrix4;function u(e,t){var n=new r.Vector3,a=new r.Quaternion,o=new r.Vector3;c.decompose(n,a,o);var i=n.clone(),s=(new r.Matrix4).makeRotationY(e.theta+t*(e.reverse_rotation_direction?-1:1)).multiply((new r.Matrix4).makeTranslation(0,e.d/1e3,0)).multiply((new r.Matrix4).makeTranslation(e.a/1e3,0,0)).multiply((new r.Matrix4).makeRotationX(e.alpha));return c.multiply(s),c.decompose(n,a,o),{a:i,b:n}}return e.jsxs(e.Fragment,{children:[e.jsx(Ra,{connectedMotionGroup:n,robotRootObjectName:"Scene",onRotationChanged:function(e,t){c.identity(),e.forEach((function(e,a){!function(e,t,a,o){var r=n.motionGroupSpecification.dh_parameters;if(r){var i=r[e];if(i){var s=u(i,o),c=s.a,l=s.b;t.geometry.setPositions([c.toArray(),l.toArray()].flat()),a.position.set(l.x,l.y,l.z)}}}(a,e.getObjectByName(Wa),e.getObjectByName(Ha),t[a])}))},jointCollector:function(e){return l(e,"^group_[0-9]+$")}}),e.jsxs("group",i({},o,{name:"Scene",children:[e.jsxs("mesh",{children:[e.jsx("sphereGeometry",{args:[.01,32,32]}),e.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]}),n.motionGroupSpecification.dh_parameters.map((function(t,o){var r,i=u(t,null!==(r=n.rapidlyChangingMotionState.state.joint_position.joints[o])&&void 0!==r?r:0),s=i.a,c=i.b;return e.jsxs("group",{name:"group_".concat(o),children:[e.jsx(a.Line,{name:Wa,points:[s,c],color:"white",lineWidth:5}),e.jsxs("mesh",{name:Ha,position:c,children:[e.jsx("sphereGeometry",{args:[.01,32,32]}),e.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]},"mesh_"+o)]},"group_"+o)}))]}))]})}function za(e){return"https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/".concat(e,".glb")}var Ya=Array(6).fill(2*Math.PI);function Za(t){var n=t.positions,o=void 0===n?[2,0,2,0,2,0,2,0]:n;return e.jsxs(e.Fragment,{children:[e.jsx(a.Lightformer,{intensity:5,"rotation-x":Math.PI/2,position:[0,5,-9],scale:[10,10,1]}),e.jsx("group",{rotation:[0,.5,0],children:e.jsx("group",{children:o.map((function(t,n){return e.jsx(a.Lightformer,{form:"circle",intensity:5,rotation:[Math.PI/2,0,0],position:[t,4,4*n],scale:[3,1,1]},n)}))})}),e.jsx(a.Lightformer,{intensity:40,"rotation-y":Math.PI/2,position:[-5,1,-1],scale:[20,.1,1]}),e.jsx(a.Lightformer,{intensity:20,"rotation-y":-Math.PI,position:[-5,-2,-1],scale:[20,.1,1]}),e.jsx(a.Lightformer,{"rotation-y":Math.PI/2,position:[-5,-1,-1],scale:[20,.5,1],intensity:5}),e.jsx(a.Lightformer,{"rotation-y":-Math.PI/2,position:[10,1,0],scale:[20,1,1],intensity:10}),e.jsx(a.Lightformer,{form:"ring",color:"white",intensity:5,scale:10,position:[-15,4,-18],target:[0,0,0]})]})}exports.ArrowForwardFilledIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M12 4L10.59 5.41L16.17 11H4V13H16.17L10.59 18.59L12 20L20 12L12 4Z",fill:"white"})})},exports.ExpandFilledIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M16.59 8.29492L12 12.8749L7.41 8.29492L6 9.70492L12 15.7049L18 9.70492L16.59 8.29492Z",fill:"white","fill-opacity":"0.8"})})},exports.HomeIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 22C3.34315 22 2 20.6569 2 19V11.9225C2 10.7074 2.55236 9.55811 3.50122 8.79902L12 2L20.4988 8.79902C21.4476 9.55811 22 10.7074 22 11.9225V19C22 20.6569 20.6569 22 19 22H5ZM20.5 11.9225V19C20.5 19.8284 19.8284 20.5 19 20.5H16V14C16 12.8954 15.1046 12 14 12H10C8.89543 12 8 12.8954 8 14V20.5H5C4.17157 20.5 3.5 19.8284 3.5 19V11.9225C3.5 11.163 3.84522 10.4448 4.43826 9.97033L12 3.92094L19.5617 9.97033C20.1548 10.4448 20.5 11.163 20.5 11.9225Z",fill:"white"})})},exports.InfoOutlinedIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M11 7H13V9H11V7ZM11 11H13V17H11V11ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"white"})})},exports.PresetEnvironment=function(){return e.jsx(a.Environment,{children:e.jsx(Za,{})})},exports.RobotIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.47826 18.9999V21.2219V22.913H10.1694H16.961H18.6522V21.2219V18.2174L13.1958 12.761L12 11.5652L13.1958 10.3694L13.5433 10.0219L14.7391 8.82609L15.8911 9.9781L15.9349 10.0219L17.087 11.1739L18.2828 9.9781L19.8042 8.45668L21 7.26087L19.8042 6.06506L15.9349 2.19581L14.7391 1L13.5433 2.19581L4.19581 11.5433L3 12.7391L4.19581 13.9349L8.47817 18.2173V18.9999H8.47826ZM10.1694 18.9999V21.2219H16.961V18.9179L10.8042 12.761L9.60839 11.5652L10.8042 10.3694L13.5433 7.63028L13.5534 7.62018L12.032 6.09875L5.39161 12.7391L9.67407 17.0216L10.0872 17.4347H13.5651L15.1303 18.9999H10.1694ZM18.6084 7.26087L17.093 8.7763L13.2237 4.90705L14.7391 3.39161L18.6084 7.26087Z",fill:"white"})})},exports.SupportedRobot=function(n){var a,o=n.getModel,r=void 0===o?za:o,c=s(n,["getModel"]),u=c.connectedMotionGroup.modelFromController;switch(u){case"UniversalRobots_UR3":a=Aa;break;case"UniversalRobots_UR3e":a=Oa;break;case"UniversalRobots_UR5":a=La;break;case"UniversalRobots_UR5e":a=Na;break;case"UniversalRobots_UR10":a=Ia;break;case"UniversalRobots_UR10e":a=Ea;break;case"Yaskawa_AR900":case"Yaskawa_GP7":a=Ca;break;case"Yaskawa_AR1440":a=Pa;break;case"Yaskawa_AR1730":a=ka;break;case"Yaskawa_AR2010":a=Da;break;case"Yaskawa_AR3120":a=Ua;break;case"FANUC_CRX10iA":a=Va;break;case"FANUC_CRX25iA":a=Ba;break;case"FANUC_CRX25iAL":a=Ga;break;case"FANUC_ARC_Mate_120iD":a=Xa;break;case"FANUC_ARC_Mate_100iD":a=Ja;break;case"KUKA_KR210_R2700":a=Ta;break;case"KUKA_KR270_R2700":a=Fa;break;case"ABB_1200_07_7":a=Ka;break;default:console.warn("Unknown robot type: ".concat(u)),a=qa}return e.jsx(t.Suspense,{fallback:e.jsx(qa,i({},c)),children:e.jsx(a,i({modelURL:r(u)},c))})},exports.WBLogoIcon=function(t){var n=t.width,a=void 0===n?21:n,o=t.fillColor,r=void 0===o?"white":o;return e.jsxs("svg",{width:"".concat(a),height:"".concat(1.19*a),viewBox:"0 0 21 25",fill:r,style:{transition:"fill 2s ease"},xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M0 8.25553V14.2168L17.0228 4.47097L14.4197 0L0 8.25553Z"}),e.jsx("path",{d:"M9.70299 11.6758L0 17.2112V23.1846L9.70299 17.6492V11.6758Z"}),e.jsx("path",{d:"M11.8886 19.4131L2.22571 24.993H15.5035V19.4131H11.8886Z"})]})},exports.defaultAxisConfig=Ya;
|