@wandelbots/wandelbots-js-react-components 1.24.10 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var Fu=Object.create;var Go=Object.defineProperty;var Du=Object.getOwnPropertyDescriptor;var Bu=Object.getOwnPropertyNames;var Uu=Object.getPrototypeOf,Ju=Object.prototype.hasOwnProperty;var Vu=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Bu(t))!Ju.call(e,a)&&a!==n&&Go(e,a,{get:()=>t[a],enumerable:!(r=Du(t,a))||r.enumerable});return e};var Ra=(e,t,n)=>(n=e!=null?Fu(Uu(e)):{},Vu(t||!e||!e.__esModule?Go(n,"default",{value:e,enumerable:!0}):n,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Y=require("react"),X=require("@react-three/drei"),St=require("three"),Gu=require("three-stdlib"),zu=require("@react-three/fiber"),zo=require("@mui/icons-material"),O=require("@mui/material"),Oe=require("mobx-react-lite"),Xt=require("react-i18next"),Ku=require("i18next-browser-languagedetector"),dt=require("mobx"),f=require("prop-types"),Wu=require("@emotion/styled"),hr=require("@emotion/react"),Lt=require("@wandelbots/wandelbots-js"),Kn=require("lodash-es"),b=require("@react-spring/three"),Hu=require("react-error-boundary");function Ri(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const N=Ri(Y),Me=Ri(St);function jt(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var Ga={exports:{}},Ir={};/**
1
+ "use strict";var Du=Object.create;var Go=Object.defineProperty;var Bu=Object.getOwnPropertyDescriptor;var Uu=Object.getOwnPropertyNames;var Ju=Object.getPrototypeOf,Vu=Object.prototype.hasOwnProperty;var Gu=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Uu(t))!Vu.call(e,a)&&a!==n&&Go(e,a,{get:()=>t[a],enumerable:!(r=Bu(t,a))||r.enumerable});return e};var Ra=(e,t,n)=>(n=e!=null?Du(Ju(e)):{},Gu(t||!e||!e.__esModule?Go(n,"default",{value:e,enumerable:!0}):n,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Y=require("react"),H=require("@react-three/drei"),St=require("three"),zu=require("three-stdlib"),Ku=require("@react-three/fiber"),zo=require("@mui/icons-material"),T=require("@mui/material"),Te=require("mobx-react-lite"),qt=require("react-i18next"),Wu=require("i18next-browser-languagedetector"),dt=require("mobx"),f=require("prop-types"),Hu=require("@emotion/styled"),hr=require("@emotion/react"),Lt=require("@wandelbots/wandelbots-js"),Kn=require("lodash-es"),v=require("@react-spring/three"),Xu=require("react-error-boundary");function Ri(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const N=Ri(Y),Me=Ri(St);function jt(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var Ga={exports:{}},Or={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Ko;function qu(){if(Ko)return Ir;Ko=1;var e=Y,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function i(l,u,c){var d,h={},m=null,v=null;c!==void 0&&(m=""+c),u.key!==void 0&&(m=""+u.key),u.ref!==void 0&&(v=u.ref);for(d in u)r.call(u,d)&&!s.hasOwnProperty(d)&&(h[d]=u[d]);if(l&&l.defaultProps)for(d in u=l.defaultProps,u)h[d]===void 0&&(h[d]=u[d]);return{$$typeof:t,type:l,key:m,ref:v,props:h,_owner:a.current}}return Ir.Fragment=n,Ir.jsx=i,Ir.jsxs=i,Ir}var Er={};/**
9
+ */var Ko;function qu(){if(Ko)return Or;Ko=1;var e=Y,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function i(l,u,c){var d,h={},m=null,b=null;c!==void 0&&(m=""+c),u.key!==void 0&&(m=""+u.key),u.ref!==void 0&&(b=u.ref);for(d in u)r.call(u,d)&&!s.hasOwnProperty(d)&&(h[d]=u[d]);if(l&&l.defaultProps)for(d in u=l.defaultProps,u)h[d]===void 0&&(h[d]=u[d]);return{$$typeof:t,type:l,key:m,ref:b,props:h,_owner:a.current}}return Or.Fragment=n,Or.jsx=i,Or.jsxs=i,Or}var Er={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,30 +14,30 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Wo;function Xu(){return Wo||(Wo=1,process.env.NODE_ENV!=="production"&&function(){var e=Y,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),_=Symbol.iterator,y="@@iterator";function p(g){if(g===null||typeof g!="object")return null;var R=_&&g[_]||g[y];return typeof R=="function"?R:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(g){{for(var R=arguments.length,E=new Array(R>1?R-1:0),$=1;$<R;$++)E[$-1]=arguments[$];C("error",g,E)}}function C(g,R,E){{var $=x.ReactDebugCurrentFrame,B=$.getStackAddendum();B!==""&&(R+="%s",E=E.concat([B]));var ne=E.map(function(V){return String(V)});ne.unshift("Warning: "+R),Function.prototype.apply.call(console[g],console,ne)}}var A=!1,w=!1,P=!1,M=!1,z=!1,le;le=Symbol.for("react.module.reference");function ce(g){return!!(typeof g=="string"||typeof g=="function"||g===r||g===s||z||g===a||g===c||g===d||M||g===v||A||w||P||typeof g=="object"&&g!==null&&(g.$$typeof===m||g.$$typeof===h||g.$$typeof===i||g.$$typeof===l||g.$$typeof===u||g.$$typeof===le||g.getModuleId!==void 0))}function D(g,R,E){var $=g.displayName;if($)return $;var B=R.displayName||R.name||"";return B!==""?E+"("+B+")":E}function q(g){return g.displayName||"Context"}function G(g){if(g==null)return null;if(typeof g.tag=="number"&&j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case r:return"Fragment";case n:return"Portal";case s:return"Profiler";case a:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case l:var R=g;return q(R)+".Consumer";case i:var E=g;return q(E._context)+".Provider";case u:return D(g,g.render,"ForwardRef");case h:var $=g.displayName||null;return $!==null?$:G(g.type)||"Memo";case m:{var B=g,ne=B._payload,V=B._init;try{return G(V(ne))}catch{return null}}}return null}var Z=Object.assign,H=0,xe,ue,ee,Re,Ie,nt,_t;function We(){}We.__reactDisabledLog=!0;function we(){{if(H===0){xe=console.log,ue=console.info,ee=console.warn,Re=console.error,Ie=console.group,nt=console.groupCollapsed,_t=console.groupEnd;var g={configurable:!0,enumerable:!0,value:We,writable:!0};Object.defineProperties(console,{info:g,log:g,warn:g,error:g,group:g,groupCollapsed:g,groupEnd:g})}H++}}function Ct(){{if(H--,H===0){var g={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Z({},g,{value:xe}),info:Z({},g,{value:ue}),warn:Z({},g,{value:ee}),error:Z({},g,{value:Re}),group:Z({},g,{value:Ie}),groupCollapsed:Z({},g,{value:nt}),groupEnd:Z({},g,{value:_t})})}H<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var lt=x.ReactCurrentDispatcher,He;function Ue(g,R,E){{if(He===void 0)try{throw Error()}catch(B){var $=B.stack.trim().match(/\n( *(at )?)/);He=$&&$[1]||""}return`
17
+ */var Wo;function Yu(){return Wo||(Wo=1,process.env.NODE_ENV!=="production"&&function(){var e=Y,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),_=Symbol.iterator,y="@@iterator";function p(g){if(g===null||typeof g!="object")return null;var R=_&&g[_]||g[y];return typeof R=="function"?R:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(g){{for(var R=arguments.length,E=new Array(R>1?R-1:0),$=1;$<R;$++)E[$-1]=arguments[$];C("error",g,E)}}function C(g,R,E){{var $=x.ReactDebugCurrentFrame,B=$.getStackAddendum();B!==""&&(R+="%s",E=E.concat([B]));var ne=E.map(function(V){return String(V)});ne.unshift("Warning: "+R),Function.prototype.apply.call(console[g],console,ne)}}var A=!1,w=!1,P=!1,M=!1,z=!1,le;le=Symbol.for("react.module.reference");function ce(g){return!!(typeof g=="string"||typeof g=="function"||g===r||g===s||z||g===a||g===c||g===d||M||g===b||A||w||P||typeof g=="object"&&g!==null&&(g.$$typeof===m||g.$$typeof===h||g.$$typeof===i||g.$$typeof===l||g.$$typeof===u||g.$$typeof===le||g.getModuleId!==void 0))}function D(g,R,E){var $=g.displayName;if($)return $;var B=R.displayName||R.name||"";return B!==""?E+"("+B+")":E}function q(g){return g.displayName||"Context"}function G(g){if(g==null)return null;if(typeof g.tag=="number"&&j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case r:return"Fragment";case n:return"Portal";case s:return"Profiler";case a:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case l:var R=g;return q(R)+".Consumer";case i:var E=g;return q(E._context)+".Provider";case u:return D(g,g.render,"ForwardRef");case h:var $=g.displayName||null;return $!==null?$:G(g.type)||"Memo";case m:{var B=g,ne=B._payload,V=B._init;try{return G(V(ne))}catch{return null}}}return null}var Z=Object.assign,X=0,xe,ue,ee,Re,Oe,nt,_t;function We(){}We.__reactDisabledLog=!0;function we(){{if(X===0){xe=console.log,ue=console.info,ee=console.warn,Re=console.error,Oe=console.group,nt=console.groupCollapsed,_t=console.groupEnd;var g={configurable:!0,enumerable:!0,value:We,writable:!0};Object.defineProperties(console,{info:g,log:g,warn:g,error:g,group:g,groupCollapsed:g,groupEnd:g})}X++}}function Ct(){{if(X--,X===0){var g={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Z({},g,{value:xe}),info:Z({},g,{value:ue}),warn:Z({},g,{value:ee}),error:Z({},g,{value:Re}),group:Z({},g,{value:Oe}),groupCollapsed:Z({},g,{value:nt}),groupEnd:Z({},g,{value:_t})})}X<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var lt=x.ReactCurrentDispatcher,He;function Ue(g,R,E){{if(He===void 0)try{throw Error()}catch(B){var $=B.stack.trim().match(/\n( *(at )?)/);He=$&&$[1]||""}return`
18
18
  `+He+g}}var ut=!1,ct;{var Ft=typeof WeakMap=="function"?WeakMap:Map;ct=new Ft}function vt(g,R){if(!g||ut)return"";{var E=ct.get(g);if(E!==void 0)return E}var $;ut=!0;var B=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ne;ne=lt.current,lt.current=null,we();try{if(R){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(Ne){$=Ne}Reflect.construct(g,[],V)}else{try{V.call()}catch(Ne){$=Ne}g.call(V.prototype)}}else{try{throw Error()}catch(Ne){$=Ne}g()}}catch(Ne){if(Ne&&$&&typeof Ne.stack=="string"){for(var U=Ne.stack.split(`
19
- `),ke=$.stack.split(`
20
- `),pe=U.length-1,ve=ke.length-1;pe>=1&&ve>=0&&U[pe]!==ke[ve];)ve--;for(;pe>=1&&ve>=0;pe--,ve--)if(U[pe]!==ke[ve]){if(pe!==1||ve!==1)do if(pe--,ve--,ve<0||U[pe]!==ke[ve]){var Xe=`
21
- `+U[pe].replace(" at new "," at ");return g.displayName&&Xe.includes("<anonymous>")&&(Xe=Xe.replace("<anonymous>",g.displayName)),typeof g=="function"&&ct.set(g,Xe),Xe}while(pe>=1&&ve>=0);break}}}finally{ut=!1,lt.current=ne,Ct(),Error.prepareStackTrace=B}var ar=g?g.displayName||g.name:"",Jt=ar?Ue(ar):"";return typeof g=="function"&&ct.set(g,Jt),Jt}function Je(g,R,E){return vt(g,!1)}function I(g){var R=g.prototype;return!!(R&&R.isReactComponent)}function te(g,R,E){if(g==null)return"";if(typeof g=="function")return vt(g,I(g));if(typeof g=="string")return Ue(g);switch(g){case c:return Ue("Suspense");case d:return Ue("SuspenseList")}if(typeof g=="object")switch(g.$$typeof){case u:return Je(g.render);case h:return te(g.type,R,E);case m:{var $=g,B=$._payload,ne=$._init;try{return te(ne(B),R,E)}catch{}}}return""}var he=Object.prototype.hasOwnProperty,Ee={},Le=x.ReactDebugCurrentFrame;function Mt(g){if(g){var R=g._owner,E=te(g.type,g._source,R?R.type:null);Le.setExtraStackFrame(E)}else Le.setExtraStackFrame(null)}function je(g,R,E,$,B){{var ne=Function.call.bind(he);for(var V in g)if(ne(g,V)){var U=void 0;try{if(typeof g[V]!="function"){var ke=Error(($||"React class")+": "+E+" type `"+V+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof g[V]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ke.name="Invariant Violation",ke}U=g[V](R,V,$,E,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pe){U=pe}U&&!(U instanceof Error)&&(Mt(B),j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",$||"React class",E,V,typeof U),Mt(null)),U instanceof Error&&!(U.message in Ee)&&(Ee[U.message]=!0,Mt(B),j("Failed %s type: %s",E,U.message),Mt(null))}}}var Tt=Array.isArray;function Dt(g){return Tt(g)}function Rr(g){{var R=typeof Symbol=="function"&&Symbol.toStringTag,E=R&&g[Symbol.toStringTag]||g.constructor.name||"Object";return E}}function Ar(g){try{return Pr(g),!1}catch{return!0}}function Pr(g){return""+g}function er(g){if(Ar(g))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Rr(g)),Pr(g)}var at=x.ReactCurrentOwner,k={key:!0,ref:!0,__self:!0,__source:!0},L,F,K;K={};function Q(g){if(he.call(g,"ref")){var R=Object.getOwnPropertyDescriptor(g,"ref").get;if(R&&R.isReactWarning)return!1}return g.ref!==void 0}function W(g){if(he.call(g,"key")){var R=Object.getOwnPropertyDescriptor(g,"key").get;if(R&&R.isReactWarning)return!1}return g.key!==void 0}function Ve(g,R){if(typeof g.ref=="string"&&at.current&&R&&at.current.stateNode!==R){var E=G(at.current.type);K[E]||(j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',G(at.current.type),g.ref),K[E]=!0)}}function qe(g,R){{var E=function(){L||(L=!0,j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",R))};E.isReactWarning=!0,Object.defineProperty(g,"key",{get:E,configurable:!0})}}function re(g,R){{var E=function(){F||(F=!0,j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",R))};E.isReactWarning=!0,Object.defineProperty(g,"ref",{get:E,configurable:!0})}}var $e=function(g,R,E,$,B,ne,V){var U={$$typeof:t,type:g,key:R,ref:E,props:V,_owner:ne};return U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(U,"_self",{configurable:!1,enumerable:!1,writable:!1,value:$}),Object.defineProperty(U,"_source",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U};function kt(g,R,E,$,B){{var ne,V={},U=null,ke=null;E!==void 0&&(er(E),U=""+E),W(R)&&(er(R.key),U=""+R.key),Q(R)&&(ke=R.ref,Ve(R,B));for(ne in R)he.call(R,ne)&&!k.hasOwnProperty(ne)&&(V[ne]=R[ne]);if(g&&g.defaultProps){var pe=g.defaultProps;for(ne in pe)V[ne]===void 0&&(V[ne]=pe[ne])}if(U||ke){var ve=typeof g=="function"?g.displayName||g.name||"Unknown":g;U&&qe(V,ve),ke&&re(V,ve)}return $e(g,U,ke,B,$,at.current,V)}}var tr=x.ReactCurrentOwner,Cr=x.ReactDebugCurrentFrame;function bt(g){if(g){var R=g._owner,E=te(g.type,g._source,R?R.type:null);Cr.setExtraStackFrame(E)}else Cr.setExtraStackFrame(null)}var Bt;Bt=!1;function Ut(g){return typeof g=="object"&&g!==null&&g.$$typeof===t}function Mr(){{if(tr.current){var g=G(tr.current.type);if(g)return`
19
+ `),Ie=$.stack.split(`
20
+ `),pe=U.length-1,ve=Ie.length-1;pe>=1&&ve>=0&&U[pe]!==Ie[ve];)ve--;for(;pe>=1&&ve>=0;pe--,ve--)if(U[pe]!==Ie[ve]){if(pe!==1||ve!==1)do if(pe--,ve--,ve<0||U[pe]!==Ie[ve]){var qe=`
21
+ `+U[pe].replace(" at new "," at ");return g.displayName&&qe.includes("<anonymous>")&&(qe=qe.replace("<anonymous>",g.displayName)),typeof g=="function"&&ct.set(g,qe),qe}while(pe>=1&&ve>=0);break}}}finally{ut=!1,lt.current=ne,Ct(),Error.prepareStackTrace=B}var ar=g?g.displayName||g.name:"",Jt=ar?Ue(ar):"";return typeof g=="function"&&ct.set(g,Jt),Jt}function Je(g,R,E){return vt(g,!1)}function O(g){var R=g.prototype;return!!(R&&R.isReactComponent)}function te(g,R,E){if(g==null)return"";if(typeof g=="function")return vt(g,O(g));if(typeof g=="string")return Ue(g);switch(g){case c:return Ue("Suspense");case d:return Ue("SuspenseList")}if(typeof g=="object")switch(g.$$typeof){case u:return Je(g.render);case h:return te(g.type,R,E);case m:{var $=g,B=$._payload,ne=$._init;try{return te(ne(B),R,E)}catch{}}}return""}var he=Object.prototype.hasOwnProperty,Ee={},Le=x.ReactDebugCurrentFrame;function Mt(g){if(g){var R=g._owner,E=te(g.type,g._source,R?R.type:null);Le.setExtraStackFrame(E)}else Le.setExtraStackFrame(null)}function je(g,R,E,$,B){{var ne=Function.call.bind(he);for(var V in g)if(ne(g,V)){var U=void 0;try{if(typeof g[V]!="function"){var Ie=Error(($||"React class")+": "+E+" type `"+V+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof g[V]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ie.name="Invariant Violation",Ie}U=g[V](R,V,$,E,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pe){U=pe}U&&!(U instanceof Error)&&(Mt(B),j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",$||"React class",E,V,typeof U),Mt(null)),U instanceof Error&&!(U.message in Ee)&&(Ee[U.message]=!0,Mt(B),j("Failed %s type: %s",E,U.message),Mt(null))}}}var kt=Array.isArray;function Dt(g){return kt(g)}function Rr(g){{var R=typeof Symbol=="function"&&Symbol.toStringTag,E=R&&g[Symbol.toStringTag]||g.constructor.name||"Object";return E}}function Ar(g){try{return Pr(g),!1}catch{return!0}}function Pr(g){return""+g}function er(g){if(Ar(g))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Rr(g)),Pr(g)}var at=x.ReactCurrentOwner,I={key:!0,ref:!0,__self:!0,__source:!0},L,F,K;K={};function Q(g){if(he.call(g,"ref")){var R=Object.getOwnPropertyDescriptor(g,"ref").get;if(R&&R.isReactWarning)return!1}return g.ref!==void 0}function W(g){if(he.call(g,"key")){var R=Object.getOwnPropertyDescriptor(g,"key").get;if(R&&R.isReactWarning)return!1}return g.key!==void 0}function Ve(g,R){if(typeof g.ref=="string"&&at.current&&R&&at.current.stateNode!==R){var E=G(at.current.type);K[E]||(j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',G(at.current.type),g.ref),K[E]=!0)}}function Xe(g,R){{var E=function(){L||(L=!0,j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",R))};E.isReactWarning=!0,Object.defineProperty(g,"key",{get:E,configurable:!0})}}function re(g,R){{var E=function(){F||(F=!0,j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",R))};E.isReactWarning=!0,Object.defineProperty(g,"ref",{get:E,configurable:!0})}}var $e=function(g,R,E,$,B,ne,V){var U={$$typeof:t,type:g,key:R,ref:E,props:V,_owner:ne};return U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(U,"_self",{configurable:!1,enumerable:!1,writable:!1,value:$}),Object.defineProperty(U,"_source",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U};function It(g,R,E,$,B){{var ne,V={},U=null,Ie=null;E!==void 0&&(er(E),U=""+E),W(R)&&(er(R.key),U=""+R.key),Q(R)&&(Ie=R.ref,Ve(R,B));for(ne in R)he.call(R,ne)&&!I.hasOwnProperty(ne)&&(V[ne]=R[ne]);if(g&&g.defaultProps){var pe=g.defaultProps;for(ne in pe)V[ne]===void 0&&(V[ne]=pe[ne])}if(U||Ie){var ve=typeof g=="function"?g.displayName||g.name||"Unknown":g;U&&Xe(V,ve),Ie&&re(V,ve)}return $e(g,U,Ie,B,$,at.current,V)}}var tr=x.ReactCurrentOwner,Cr=x.ReactDebugCurrentFrame;function bt(g){if(g){var R=g._owner,E=te(g.type,g._source,R?R.type:null);Cr.setExtraStackFrame(E)}else Cr.setExtraStackFrame(null)}var Bt;Bt=!1;function Ut(g){return typeof g=="object"&&g!==null&&g.$$typeof===t}function Mr(){{if(tr.current){var g=G(tr.current.type);if(g)return`
22
22
 
23
- Check the render method of \``+g+"`."}return""}}function Tr(g){return""}var un={};function kr(g){{var R=Mr();if(!R){var E=typeof g=="string"?g:g.displayName||g.name;E&&(R=`
23
+ Check the render method of \``+g+"`."}return""}}function kr(g){return""}var un={};function Ir(g){{var R=Mr();if(!R){var E=typeof g=="string"?g:g.displayName||g.name;E&&(R=`
24
24
 
25
- Check the top-level render call using <`+E+">.")}return R}}function rr(g,R){{if(!g._store||g._store.validated||g.key!=null)return;g._store.validated=!0;var E=kr(R);if(un[E])return;un[E]=!0;var $="";g&&g._owner&&g._owner!==tr.current&&($=" It was passed a child from "+G(g._owner.type)+"."),bt(g),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',E,$),bt(null)}}function nr(g,R){{if(typeof g!="object")return;if(Dt(g))for(var E=0;E<g.length;E++){var $=g[E];Ut($)&&rr($,R)}else if(Ut(g))g._store&&(g._store.validated=!0);else if(g){var B=p(g);if(typeof B=="function"&&B!==g.entries)for(var ne=B.call(g),V;!(V=ne.next()).done;)Ut(V.value)&&rr(V.value,R)}}}function va(g){{var R=g.type;if(R==null||typeof R=="string")return;var E;if(typeof R=="function")E=R.propTypes;else if(typeof R=="object"&&(R.$$typeof===u||R.$$typeof===h))E=R.propTypes;else return;if(E){var $=G(R);je(E,g.props,"prop",$,g)}else if(R.PropTypes!==void 0&&!Bt){Bt=!0;var B=G(R);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",B||"Unknown")}typeof R.getDefaultProps=="function"&&!R.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ba(g){{for(var R=Object.keys(g.props),E=0;E<R.length;E++){var $=R[E];if($!=="children"&&$!=="key"){bt(g),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",$),bt(null);break}}g.ref!==null&&(bt(g),j("Invalid attribute `ref` supplied to `React.Fragment`."),bt(null))}}var cn={};function dn(g,R,E,$,B,ne){{var V=ce(g);if(!V){var U="";(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(U+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ke=Tr();ke?U+=ke:U+=Mr();var pe;g===null?pe="null":Dt(g)?pe="array":g!==void 0&&g.$$typeof===t?(pe="<"+(G(g.type)||"Unknown")+" />",U=" Did you accidentally export a JSX literal instead of a component?"):pe=typeof g,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pe,U)}var ve=kt(g,R,E,B,ne);if(ve==null)return ve;if(V){var Xe=R.children;if(Xe!==void 0)if($)if(Dt(Xe)){for(var ar=0;ar<Xe.length;ar++)nr(Xe[ar],g);Object.freeze&&Object.freeze(Xe)}else j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else nr(Xe,g)}if(he.call(R,"key")){var Jt=G(g),Ne=Object.keys(R).filter(function(Nu){return Nu!=="key"}),ja=Ne.length>0?"{key: someKey, "+Ne.join(": ..., ")+": ...}":"{key: someKey}";if(!cn[Jt+ja]){var $u=Ne.length>0?"{"+Ne.join(": ..., ")+": ...}":"{}";j(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+E+">.")}return R}}function rr(g,R){{if(!g._store||g._store.validated||g.key!=null)return;g._store.validated=!0;var E=Ir(R);if(un[E])return;un[E]=!0;var $="";g&&g._owner&&g._owner!==tr.current&&($=" It was passed a child from "+G(g._owner.type)+"."),bt(g),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',E,$),bt(null)}}function nr(g,R){{if(typeof g!="object")return;if(Dt(g))for(var E=0;E<g.length;E++){var $=g[E];Ut($)&&rr($,R)}else if(Ut(g))g._store&&(g._store.validated=!0);else if(g){var B=p(g);if(typeof B=="function"&&B!==g.entries)for(var ne=B.call(g),V;!(V=ne.next()).done;)Ut(V.value)&&rr(V.value,R)}}}function va(g){{var R=g.type;if(R==null||typeof R=="string")return;var E;if(typeof R=="function")E=R.propTypes;else if(typeof R=="object"&&(R.$$typeof===u||R.$$typeof===h))E=R.propTypes;else return;if(E){var $=G(R);je(E,g.props,"prop",$,g)}else if(R.PropTypes!==void 0&&!Bt){Bt=!0;var B=G(R);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",B||"Unknown")}typeof R.getDefaultProps=="function"&&!R.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ba(g){{for(var R=Object.keys(g.props),E=0;E<R.length;E++){var $=R[E];if($!=="children"&&$!=="key"){bt(g),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",$),bt(null);break}}g.ref!==null&&(bt(g),j("Invalid attribute `ref` supplied to `React.Fragment`."),bt(null))}}var cn={};function dn(g,R,E,$,B,ne){{var V=ce(g);if(!V){var U="";(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(U+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ie=kr();Ie?U+=Ie:U+=Mr();var pe;g===null?pe="null":Dt(g)?pe="array":g!==void 0&&g.$$typeof===t?(pe="<"+(G(g.type)||"Unknown")+" />",U=" Did you accidentally export a JSX literal instead of a component?"):pe=typeof g,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pe,U)}var ve=It(g,R,E,B,ne);if(ve==null)return ve;if(V){var qe=R.children;if(qe!==void 0)if($)if(Dt(qe)){for(var ar=0;ar<qe.length;ar++)nr(qe[ar],g);Object.freeze&&Object.freeze(qe)}else j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else nr(qe,g)}if(he.call(R,"key")){var Jt=G(g),Ne=Object.keys(R).filter(function(Fu){return Fu!=="key"}),ja=Ne.length>0?"{key: someKey, "+Ne.join(": ..., ")+": ...}":"{key: someKey}";if(!cn[Jt+ja]){var Nu=Ne.length>0?"{"+Ne.join(": ..., ")+": ...}":"{}";j(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,ja,Jt,$u,Jt),cn[Jt+ja]=!0}}return g===r?ba(ve):va(ve),ve}}function Sa(g,R,E){return dn(g,R,E,!0)}function xa(g,R,E){return dn(g,R,E,!1)}var Or=xa,wa=Sa;Er.Fragment=r,Er.jsx=Or,Er.jsxs=wa}()),Er}process.env.NODE_ENV==="production"?Ga.exports=qu():Ga.exports=Xu();var o=Ga.exports;function Yu(){return o.jsx(X.Environment,{children:o.jsx(Zu,{})})}function Zu({positions:e=[2,0,2,0,2,0,2,0]}){return o.jsxs(o.Fragment,{children:[o.jsx(X.Lightformer,{intensity:5,"rotation-x":Math.PI/2,position:[0,5,-9],scale:[10,10,1]}),o.jsx("group",{rotation:[0,.5,0],children:o.jsx("group",{children:e.map((t,n)=>o.jsx(X.Lightformer,{form:"circle",intensity:5,rotation:[Math.PI/2,0,0],position:[t,4,n*4],scale:[3,1,1]},n))})}),o.jsx(X.Lightformer,{intensity:40,"rotation-y":Math.PI/2,position:[-5,1,-1],scale:[20,.1,1]}),o.jsx(X.Lightformer,{intensity:20,"rotation-y":-Math.PI,position:[-5,-2,-1],scale:[20,.1,1]}),o.jsx(X.Lightformer,{"rotation-y":Math.PI/2,position:[-5,-1,-1],scale:[20,.5,1],intensity:5}),o.jsx(X.Lightformer,{"rotation-y":-Math.PI/2,position:[10,1,0],scale:[20,1,1],intensity:10}),o.jsx(X.Lightformer,{form:"ring",color:"white",intensity:5,scale:10,position:[-15,4,-18],target:[0,0,0]})]})}function Qu(e){if(e.length<3)return console.log("Not enough vertices to define a plane"),{isCoplanar:!1};const t=new Me.Vector3(e[0].x,e[0].y,e[0].z),n=new Me.Vector3(e[1].x,e[1].y,e[1].z),r=new Me.Vector3(e[2].x,e[2].y,e[2].z),a=new Me.Vector3().subVectors(n,t),s=new Me.Vector3().subVectors(r,t),i=new Me.Vector3().crossVectors(a,s).normalize();for(let l=3;l<e.length;l++){const u=new Me.Vector3(e[l].x,e[l].y,e[l].z),c=new Me.Vector3().subVectors(u,t),d=i.dot(c);if(Math.abs(d)>1e-6)return console.log("Vertices are not on the same plane"),{isCoplanar:!1}}return{isCoplanar:!0,normal:i}}function ec({safetyZones:e,...t}){return o.jsx("group",{...t,children:e.map((n,r)=>{let a=[];return n.geometry&&(n.geometry.compound?a=n.geometry.compound.child_geometries:n.geometry.convex_hull&&(a=[n.geometry])),a.map((s,i)=>{if(!s.convex_hull)return null;const l=s.convex_hull.vertices.map(d=>new Me.Vector3(d.x/1e3,d.y/1e3,d.z/1e3)),u=Qu(l);if(u.isCoplanar&&u.normal){const h=new Me.Vector3().addVectors(l[0],u.normal.multiplyScalar(1e-4));l.push(h)}let c;try{c=new Gu.ConvexGeometry(l)}catch(d){return console.log("Error creating ConvexGeometry:",d),null}return o.jsx(o.Fragment,{children:o.jsx("mesh",{geometry:c,children:o.jsx("meshStandardMaterial",{attach:"material",color:"#009f4d",opacity:.2,depthTest:!1,depthWrite:!1,transparent:!0,polygonOffset:!0,polygonOffsetFactor:-i},r)},`${r}-${i}`)})})})})}function Gr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const tc=Object.freeze(Object.defineProperty({__proto__:null,default:Gr},Symbol.toStringTag,{value:"Module"}));var rc=!1;function nc(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ac(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var oc=function(){function e(n){var r=this;this._insertTag=function(a){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(a,s),r.tags.push(a)},this.isSpeedy=n.speedy===void 0?!rc:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ac(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=nc(a);try{s.insertRule(r,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var a;return(a=r.parentNode)==null?void 0:a.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Ce="-ms-",On="-moz-",ae="-webkit-",Ai="comm",yo="rule",_o="decl",sc="@import",Pi="@keyframes",ic="@layer",lc=Math.abs,Wn=String.fromCharCode,uc=Object.assign;function cc(e,t){return Ae(e,0)^45?(((t<<2^Ae(e,0))<<2^Ae(e,1))<<2^Ae(e,2))<<2^Ae(e,3):0}function Ci(e){return e.trim()}function dc(e,t){return(e=t.exec(e))?e[0]:e}function oe(e,t,n){return e.replace(t,n)}function za(e,t){return e.indexOf(t)}function Ae(e,t){return e.charCodeAt(t)|0}function zr(e,t,n){return e.slice(t,n)}function mt(e){return e.length}function vo(e){return e.length}function mn(e,t){return t.push(e),e}function mc(e,t){return e.map(t).join("")}var Hn=1,_r=1,Mi=0,De=0,be=0,vr="";function qn(e,t,n,r,a,s,i){return{value:e,root:t,parent:n,type:r,props:a,children:s,line:Hn,column:_r,length:i,return:""}}function Lr(e,t){return uc(qn("",null,null,"",null,null,0),e,{length:-e.length},t)}function hc(){return be}function fc(){return be=De>0?Ae(vr,--De):0,_r--,be===10&&(_r=1,Hn--),be}function ze(){return be=De<Mi?Ae(vr,De++):0,_r++,be===10&&(_r=1,Hn++),be}function ft(){return Ae(vr,De)}function xn(){return De}function Zr(e,t){return zr(vr,e,t)}function Kr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ti(e){return Hn=_r=1,Mi=mt(vr=e),De=0,[]}function ki(e){return vr="",e}function wn(e){return Ci(Zr(De-1,Ka(e===91?e+2:e===40?e+1:e)))}function gc(e){for(;(be=ft())&&be<33;)ze();return Kr(e)>2||Kr(be)>3?"":" "}function pc(e,t){for(;--t&&ze()&&!(be<48||be>102||be>57&&be<65||be>70&&be<97););return Zr(e,xn()+(t<6&&ft()==32&&ze()==32))}function Ka(e){for(;ze();)switch(be){case e:return De;case 34:case 39:e!==34&&e!==39&&Ka(be);break;case 40:e===41&&Ka(e);break;case 92:ze();break}return De}function yc(e,t){for(;ze()&&e+be!==57;)if(e+be===84&&ft()===47)break;return"/*"+Zr(t,De-1)+"*"+Wn(e===47?e:ze())}function _c(e){for(;!Kr(ft());)ze();return Zr(e,De)}function vc(e){return ki(jn("",null,null,null,[""],e=Ti(e),0,[0],e))}function jn(e,t,n,r,a,s,i,l,u){for(var c=0,d=0,h=i,m=0,v=0,_=0,y=1,p=1,x=1,j=0,C="",A=a,w=s,P=r,M=C;p;)switch(_=j,j=ze()){case 40:if(_!=108&&Ae(M,h-1)==58){za(M+=oe(wn(j),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:M+=wn(j);break;case 9:case 10:case 13:case 32:M+=gc(_);break;case 92:M+=pc(xn()-1,7);continue;case 47:switch(ft()){case 42:case 47:mn(bc(yc(ze(),xn()),t,n),u);break;default:M+="/"}break;case 123*y:l[c++]=mt(M)*x;case 125*y:case 59:case 0:switch(j){case 0:case 125:p=0;case 59+d:x==-1&&(M=oe(M,/\f/g,"")),v>0&&mt(M)-h&&mn(v>32?qo(M+";",r,n,h-1):qo(oe(M," ","")+";",r,n,h-2),u);break;case 59:M+=";";default:if(mn(P=Ho(M,t,n,c,d,a,l,C,A=[],w=[],h),s),j===123)if(d===0)jn(M,t,P,P,A,s,h,l,w);else switch(m===99&&Ae(M,3)===110?100:m){case 100:case 108:case 109:case 115:jn(e,P,P,r&&mn(Ho(e,P,P,0,0,a,l,C,a,A=[],h),w),a,w,h,l,r?A:w);break;default:jn(M,P,P,P,[""],w,0,l,w)}}c=d=v=0,y=x=1,C=M="",h=i;break;case 58:h=1+mt(M),v=_;default:if(y<1){if(j==123)--y;else if(j==125&&y++==0&&fc()==125)continue}switch(M+=Wn(j),j*y){case 38:x=d>0?1:(M+="\f",-1);break;case 44:l[c++]=(mt(M)-1)*x,x=1;break;case 64:ft()===45&&(M+=wn(ze())),m=ft(),d=h=mt(C=M+=_c(xn())),j++;break;case 45:_===45&&mt(M)==2&&(y=0)}}return s}function Ho(e,t,n,r,a,s,i,l,u,c,d){for(var h=a-1,m=a===0?s:[""],v=vo(m),_=0,y=0,p=0;_<r;++_)for(var x=0,j=zr(e,h+1,h=lc(y=i[_])),C=e;x<v;++x)(C=Ci(y>0?m[x]+" "+j:oe(j,/&\f/g,m[x])))&&(u[p++]=C);return qn(e,t,n,a===0?yo:l,u,c,d)}function bc(e,t,n){return qn(e,t,n,Ai,Wn(hc()),zr(e,2,-2),0)}function qo(e,t,n,r){return qn(e,t,n,_o,zr(e,0,r),zr(e,r+1,-1),r)}function fr(e,t){for(var n="",r=vo(e),a=0;a<r;a++)n+=t(e[a],a,e,t)||"";return n}function Sc(e,t,n,r){switch(e.type){case ic:if(e.children.length)break;case sc:case _o:return e.return=e.return||e.value;case Ai:return"";case Pi:return e.return=e.value+"{"+fr(e.children,r)+"}";case yo:e.value=e.props.join(",")}return mt(n=fr(e.children,r))?e.return=e.value+"{"+n+"}":""}function xc(e){var t=vo(e);return function(n,r,a,s){for(var i="",l=0;l<t;l++)i+=e[l](n,r,a,s)||"";return i}}function wc(e){return function(t){t.root||(t=t.return)&&e(t)}}var jc=function(t,n,r){for(var a=0,s=0;a=s,s=ft(),a===38&&s===12&&(n[r]=1),!Kr(s);)ze();return Zr(t,De)},Rc=function(t,n){var r=-1,a=44;do switch(Kr(a)){case 0:a===38&&ft()===12&&(n[r]=1),t[r]+=jc(De-1,n,r);break;case 2:t[r]+=wn(a);break;case 4:if(a===44){t[++r]=ft()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Wn(a)}while(a=ze());return t},Ac=function(t,n){return ki(Rc(Ti(t),n))},Xo=new WeakMap,Pc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,a=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Xo.get(r))&&!a){Xo.set(t,!0);for(var s=[],i=Ac(n,s),l=r.props,u=0,c=0;u<i.length;u++)for(var d=0;d<l.length;d++,c++)t.props[c]=s[u]?i[u].replace(/&\f/g,l[d]):l[d]+" "+i[u]}}},Cc=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Oi(e,t){switch(cc(e,t)){case 5103:return ae+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ae+e+On+e+Ce+e+e;case 6828:case 4268:return ae+e+Ce+e+e;case 6165:return ae+e+Ce+"flex-"+e+e;case 5187:return ae+e+oe(e,/(\w+).+(:[^]+)/,ae+"box-$1$2"+Ce+"flex-$1$2")+e;case 5443:return ae+e+Ce+"flex-item-"+oe(e,/flex-|-self/,"")+e;case 4675:return ae+e+Ce+"flex-line-pack"+oe(e,/align-content|flex-|-self/,"")+e;case 5548:return ae+e+Ce+oe(e,"shrink","negative")+e;case 5292:return ae+e+Ce+oe(e,"basis","preferred-size")+e;case 6060:return ae+"box-"+oe(e,"-grow","")+ae+e+Ce+oe(e,"grow","positive")+e;case 4554:return ae+oe(e,/([^-])(transform)/g,"$1"+ae+"$2")+e;case 6187:return oe(oe(oe(e,/(zoom-|grab)/,ae+"$1"),/(image-set)/,ae+"$1"),e,"")+e;case 5495:case 3959:return oe(e,/(image-set\([^]*)/,ae+"$1$`$1");case 4968:return oe(oe(e,/(.+:)(flex-)?(.*)/,ae+"box-pack:$3"+Ce+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ae+e+e;case 4095:case 3583:case 4068:case 2532:return oe(e,/(.+)-inline(.+)/,ae+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(mt(e)-1-t>6)switch(Ae(e,t+1)){case 109:if(Ae(e,t+4)!==45)break;case 102:return oe(e,/(.+:)(.+)-([^]+)/,"$1"+ae+"$2-$3$1"+On+(Ae(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~za(e,"stretch")?Oi(oe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ae(e,t+1)!==115)break;case 6444:switch(Ae(e,mt(e)-3-(~za(e,"!important")&&10))){case 107:return oe(e,":",":"+ae)+e;case 101:return oe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ae+(Ae(e,14)===45?"inline-":"")+"box$3$1"+ae+"$2$3$1"+Ce+"$2box$3")+e}break;case 5936:switch(Ae(e,t+11)){case 114:return ae+e+Ce+oe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ae+e+Ce+oe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ae+e+Ce+oe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ae+e+Ce+e+e}return e}var Mc=function(t,n,r,a){if(t.length>-1&&!t.return)switch(t.type){case _o:t.return=Oi(t.value,t.length);break;case Pi:return fr([Lr(t,{value:oe(t.value,"@","@"+ae)})],a);case yo:if(t.length)return mc(t.props,function(s){switch(dc(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fr([Lr(t,{props:[oe(s,/:(read-\w+)/,":"+On+"$1")]})],a);case"::placeholder":return fr([Lr(t,{props:[oe(s,/:(plac\w+)/,":"+ae+"input-$1")]}),Lr(t,{props:[oe(s,/:(plac\w+)/,":"+On+"$1")]}),Lr(t,{props:[oe(s,/:(plac\w+)/,Ce+"input-$1")]})],a)}return""})}},Tc=[Mc],kc=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var p=y.getAttribute("data-emotion");p.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var a=t.stylisPlugins||Tc,s={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var p=y.getAttribute("data-emotion").split(" "),x=1;x<p.length;x++)s[p[x]]=!0;l.push(y)});var u,c=[Pc,Cc];{var d,h=[Sc,wc(function(y){d.insert(y)})],m=xc(c.concat(a,h)),v=function(p){return fr(vc(p),m)};u=function(p,x,j,C){d=j,v(p?p+"{"+x.styles+"}":x.styles),C&&(_.inserted[x.name]=!0)}}var _={key:n,sheet:new oc({key:n,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return _.sheet.hydrate(l),_};let Wa;typeof document=="object"&&(Wa=kc({key:"css",prepend:!0}));function Ii(e){const{injectFirst:t,children:n}=e;return t&&Wa?o.jsx(hr.CacheProvider,{value:Wa,children:n}):n}process.env.NODE_ENV!=="production"&&(Ii.propTypes={children:f.node,injectFirst:f.bool});function Oc(e){return e==null||Object.keys(e).length===0}function Ei(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?a=>t(Oc(a)?n:a):t;return o.jsx(hr.Global,{styles:r})}process.env.NODE_ENV!=="production"&&(Ei.propTypes={defaultTheme:f.object,styles:f.oneOfType([f.array,f.string,f.object,f.func])});/**
30
+ <%s key={someKey} {...props} />`,ja,Jt,Nu,Jt),cn[Jt+ja]=!0}}return g===r?ba(ve):va(ve),ve}}function Sa(g,R,E){return dn(g,R,E,!0)}function xa(g,R,E){return dn(g,R,E,!1)}var Tr=xa,wa=Sa;Er.Fragment=r,Er.jsx=Tr,Er.jsxs=wa}()),Er}process.env.NODE_ENV==="production"?Ga.exports=qu():Ga.exports=Yu();var o=Ga.exports;function Zu(){return o.jsx(H.Environment,{children:o.jsx(Qu,{})})}function Qu({positions:e=[2,0,2,0,2,0,2,0]}){return o.jsxs(o.Fragment,{children:[o.jsx(H.Lightformer,{intensity:5,"rotation-x":Math.PI/2,position:[0,5,-9],scale:[10,10,1]}),o.jsx("group",{rotation:[0,.5,0],children:o.jsx("group",{children:e.map((t,n)=>o.jsx(H.Lightformer,{form:"circle",intensity:5,rotation:[Math.PI/2,0,0],position:[t,4,n*4],scale:[3,1,1]},n))})}),o.jsx(H.Lightformer,{intensity:40,"rotation-y":Math.PI/2,position:[-5,1,-1],scale:[20,.1,1]}),o.jsx(H.Lightformer,{intensity:20,"rotation-y":-Math.PI,position:[-5,-2,-1],scale:[20,.1,1]}),o.jsx(H.Lightformer,{"rotation-y":Math.PI/2,position:[-5,-1,-1],scale:[20,.5,1],intensity:5}),o.jsx(H.Lightformer,{"rotation-y":-Math.PI/2,position:[10,1,0],scale:[20,1,1],intensity:10}),o.jsx(H.Lightformer,{form:"ring",color:"white",intensity:5,scale:10,position:[-15,4,-18],target:[0,0,0]})]})}function ec(e){if(e.length<3)return console.log("Not enough vertices to define a plane"),{isCoplanar:!1};const t=new Me.Vector3(e[0].x,e[0].y,e[0].z),n=new Me.Vector3(e[1].x,e[1].y,e[1].z),r=new Me.Vector3(e[2].x,e[2].y,e[2].z),a=new Me.Vector3().subVectors(n,t),s=new Me.Vector3().subVectors(r,t),i=new Me.Vector3().crossVectors(a,s).normalize();for(let l=3;l<e.length;l++){const u=new Me.Vector3(e[l].x,e[l].y,e[l].z),c=new Me.Vector3().subVectors(u,t),d=i.dot(c);if(Math.abs(d)>1e-6)return console.log("Vertices are not on the same plane"),{isCoplanar:!1}}return{isCoplanar:!0,normal:i}}function tc({safetyZones:e,...t}){return o.jsx("group",{...t,children:e.map((n,r)=>{let a=[];return n.geometry&&(n.geometry.compound?a=n.geometry.compound.child_geometries:n.geometry.convex_hull&&(a=[n.geometry])),a.map((s,i)=>{if(!s.convex_hull)return null;const l=s.convex_hull.vertices.map(d=>new Me.Vector3(d.x/1e3,d.y/1e3,d.z/1e3)),u=ec(l);if(u.isCoplanar&&u.normal){const h=new Me.Vector3().addVectors(l[0],u.normal.multiplyScalar(1e-4));l.push(h)}let c;try{c=new zu.ConvexGeometry(l)}catch(d){return console.log("Error creating ConvexGeometry:",d),null}return o.jsx(o.Fragment,{children:o.jsx("mesh",{geometry:c,children:o.jsx("meshStandardMaterial",{attach:"material",color:"#009f4d",opacity:.2,depthTest:!1,depthWrite:!1,transparent:!0,polygonOffset:!0,polygonOffsetFactor:-i},r)},`${r}-${i}`)})})})})}function Gr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const rc=Object.freeze(Object.defineProperty({__proto__:null,default:Gr},Symbol.toStringTag,{value:"Module"}));var nc=!1;function ac(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function oc(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var sc=function(){function e(n){var r=this;this._insertTag=function(a){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(a,s),r.tags.push(a)},this.isSpeedy=n.speedy===void 0?!nc:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(oc(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=ac(a);try{s.insertRule(r,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var a;return(a=r.parentNode)==null?void 0:a.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Ce="-ms-",Tn="-moz-",ae="-webkit-",Ai="comm",yo="rule",_o="decl",ic="@import",Pi="@keyframes",lc="@layer",uc=Math.abs,Wn=String.fromCharCode,cc=Object.assign;function dc(e,t){return Ae(e,0)^45?(((t<<2^Ae(e,0))<<2^Ae(e,1))<<2^Ae(e,2))<<2^Ae(e,3):0}function Ci(e){return e.trim()}function mc(e,t){return(e=t.exec(e))?e[0]:e}function oe(e,t,n){return e.replace(t,n)}function za(e,t){return e.indexOf(t)}function Ae(e,t){return e.charCodeAt(t)|0}function zr(e,t,n){return e.slice(t,n)}function mt(e){return e.length}function vo(e){return e.length}function mn(e,t){return t.push(e),e}function hc(e,t){return e.map(t).join("")}var Hn=1,_r=1,Mi=0,De=0,be=0,vr="";function Xn(e,t,n,r,a,s,i){return{value:e,root:t,parent:n,type:r,props:a,children:s,line:Hn,column:_r,length:i,return:""}}function Lr(e,t){return cc(Xn("",null,null,"",null,null,0),e,{length:-e.length},t)}function fc(){return be}function gc(){return be=De>0?Ae(vr,--De):0,_r--,be===10&&(_r=1,Hn--),be}function ze(){return be=De<Mi?Ae(vr,De++):0,_r++,be===10&&(_r=1,Hn++),be}function ft(){return Ae(vr,De)}function xn(){return De}function Zr(e,t){return zr(vr,e,t)}function Kr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ki(e){return Hn=_r=1,Mi=mt(vr=e),De=0,[]}function Ii(e){return vr="",e}function wn(e){return Ci(Zr(De-1,Ka(e===91?e+2:e===40?e+1:e)))}function pc(e){for(;(be=ft())&&be<33;)ze();return Kr(e)>2||Kr(be)>3?"":" "}function yc(e,t){for(;--t&&ze()&&!(be<48||be>102||be>57&&be<65||be>70&&be<97););return Zr(e,xn()+(t<6&&ft()==32&&ze()==32))}function Ka(e){for(;ze();)switch(be){case e:return De;case 34:case 39:e!==34&&e!==39&&Ka(be);break;case 40:e===41&&Ka(e);break;case 92:ze();break}return De}function _c(e,t){for(;ze()&&e+be!==57;)if(e+be===84&&ft()===47)break;return"/*"+Zr(t,De-1)+"*"+Wn(e===47?e:ze())}function vc(e){for(;!Kr(ft());)ze();return Zr(e,De)}function bc(e){return Ii(jn("",null,null,null,[""],e=ki(e),0,[0],e))}function jn(e,t,n,r,a,s,i,l,u){for(var c=0,d=0,h=i,m=0,b=0,_=0,y=1,p=1,x=1,j=0,C="",A=a,w=s,P=r,M=C;p;)switch(_=j,j=ze()){case 40:if(_!=108&&Ae(M,h-1)==58){za(M+=oe(wn(j),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:M+=wn(j);break;case 9:case 10:case 13:case 32:M+=pc(_);break;case 92:M+=yc(xn()-1,7);continue;case 47:switch(ft()){case 42:case 47:mn(Sc(_c(ze(),xn()),t,n),u);break;default:M+="/"}break;case 123*y:l[c++]=mt(M)*x;case 125*y:case 59:case 0:switch(j){case 0:case 125:p=0;case 59+d:x==-1&&(M=oe(M,/\f/g,"")),b>0&&mt(M)-h&&mn(b>32?Xo(M+";",r,n,h-1):Xo(oe(M," ","")+";",r,n,h-2),u);break;case 59:M+=";";default:if(mn(P=Ho(M,t,n,c,d,a,l,C,A=[],w=[],h),s),j===123)if(d===0)jn(M,t,P,P,A,s,h,l,w);else switch(m===99&&Ae(M,3)===110?100:m){case 100:case 108:case 109:case 115:jn(e,P,P,r&&mn(Ho(e,P,P,0,0,a,l,C,a,A=[],h),w),a,w,h,l,r?A:w);break;default:jn(M,P,P,P,[""],w,0,l,w)}}c=d=b=0,y=x=1,C=M="",h=i;break;case 58:h=1+mt(M),b=_;default:if(y<1){if(j==123)--y;else if(j==125&&y++==0&&gc()==125)continue}switch(M+=Wn(j),j*y){case 38:x=d>0?1:(M+="\f",-1);break;case 44:l[c++]=(mt(M)-1)*x,x=1;break;case 64:ft()===45&&(M+=wn(ze())),m=ft(),d=h=mt(C=M+=vc(xn())),j++;break;case 45:_===45&&mt(M)==2&&(y=0)}}return s}function Ho(e,t,n,r,a,s,i,l,u,c,d){for(var h=a-1,m=a===0?s:[""],b=vo(m),_=0,y=0,p=0;_<r;++_)for(var x=0,j=zr(e,h+1,h=uc(y=i[_])),C=e;x<b;++x)(C=Ci(y>0?m[x]+" "+j:oe(j,/&\f/g,m[x])))&&(u[p++]=C);return Xn(e,t,n,a===0?yo:l,u,c,d)}function Sc(e,t,n){return Xn(e,t,n,Ai,Wn(fc()),zr(e,2,-2),0)}function Xo(e,t,n,r){return Xn(e,t,n,_o,zr(e,0,r),zr(e,r+1,-1),r)}function fr(e,t){for(var n="",r=vo(e),a=0;a<r;a++)n+=t(e[a],a,e,t)||"";return n}function xc(e,t,n,r){switch(e.type){case lc:if(e.children.length)break;case ic:case _o:return e.return=e.return||e.value;case Ai:return"";case Pi:return e.return=e.value+"{"+fr(e.children,r)+"}";case yo:e.value=e.props.join(",")}return mt(n=fr(e.children,r))?e.return=e.value+"{"+n+"}":""}function wc(e){var t=vo(e);return function(n,r,a,s){for(var i="",l=0;l<t;l++)i+=e[l](n,r,a,s)||"";return i}}function jc(e){return function(t){t.root||(t=t.return)&&e(t)}}var Rc=function(t,n,r){for(var a=0,s=0;a=s,s=ft(),a===38&&s===12&&(n[r]=1),!Kr(s);)ze();return Zr(t,De)},Ac=function(t,n){var r=-1,a=44;do switch(Kr(a)){case 0:a===38&&ft()===12&&(n[r]=1),t[r]+=Rc(De-1,n,r);break;case 2:t[r]+=wn(a);break;case 4:if(a===44){t[++r]=ft()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Wn(a)}while(a=ze());return t},Pc=function(t,n){return Ii(Ac(ki(t),n))},qo=new WeakMap,Cc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,a=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!qo.get(r))&&!a){qo.set(t,!0);for(var s=[],i=Pc(n,s),l=r.props,u=0,c=0;u<i.length;u++)for(var d=0;d<l.length;d++,c++)t.props[c]=s[u]?i[u].replace(/&\f/g,l[d]):l[d]+" "+i[u]}}},Mc=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Ti(e,t){switch(dc(e,t)){case 5103:return ae+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ae+e+Tn+e+Ce+e+e;case 6828:case 4268:return ae+e+Ce+e+e;case 6165:return ae+e+Ce+"flex-"+e+e;case 5187:return ae+e+oe(e,/(\w+).+(:[^]+)/,ae+"box-$1$2"+Ce+"flex-$1$2")+e;case 5443:return ae+e+Ce+"flex-item-"+oe(e,/flex-|-self/,"")+e;case 4675:return ae+e+Ce+"flex-line-pack"+oe(e,/align-content|flex-|-self/,"")+e;case 5548:return ae+e+Ce+oe(e,"shrink","negative")+e;case 5292:return ae+e+Ce+oe(e,"basis","preferred-size")+e;case 6060:return ae+"box-"+oe(e,"-grow","")+ae+e+Ce+oe(e,"grow","positive")+e;case 4554:return ae+oe(e,/([^-])(transform)/g,"$1"+ae+"$2")+e;case 6187:return oe(oe(oe(e,/(zoom-|grab)/,ae+"$1"),/(image-set)/,ae+"$1"),e,"")+e;case 5495:case 3959:return oe(e,/(image-set\([^]*)/,ae+"$1$`$1");case 4968:return oe(oe(e,/(.+:)(flex-)?(.*)/,ae+"box-pack:$3"+Ce+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ae+e+e;case 4095:case 3583:case 4068:case 2532:return oe(e,/(.+)-inline(.+)/,ae+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(mt(e)-1-t>6)switch(Ae(e,t+1)){case 109:if(Ae(e,t+4)!==45)break;case 102:return oe(e,/(.+:)(.+)-([^]+)/,"$1"+ae+"$2-$3$1"+Tn+(Ae(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~za(e,"stretch")?Ti(oe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ae(e,t+1)!==115)break;case 6444:switch(Ae(e,mt(e)-3-(~za(e,"!important")&&10))){case 107:return oe(e,":",":"+ae)+e;case 101:return oe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ae+(Ae(e,14)===45?"inline-":"")+"box$3$1"+ae+"$2$3$1"+Ce+"$2box$3")+e}break;case 5936:switch(Ae(e,t+11)){case 114:return ae+e+Ce+oe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ae+e+Ce+oe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ae+e+Ce+oe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ae+e+Ce+e+e}return e}var kc=function(t,n,r,a){if(t.length>-1&&!t.return)switch(t.type){case _o:t.return=Ti(t.value,t.length);break;case Pi:return fr([Lr(t,{value:oe(t.value,"@","@"+ae)})],a);case yo:if(t.length)return hc(t.props,function(s){switch(mc(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fr([Lr(t,{props:[oe(s,/:(read-\w+)/,":"+Tn+"$1")]})],a);case"::placeholder":return fr([Lr(t,{props:[oe(s,/:(plac\w+)/,":"+ae+"input-$1")]}),Lr(t,{props:[oe(s,/:(plac\w+)/,":"+Tn+"$1")]}),Lr(t,{props:[oe(s,/:(plac\w+)/,Ce+"input-$1")]})],a)}return""})}},Ic=[kc],Tc=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var p=y.getAttribute("data-emotion");p.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var a=t.stylisPlugins||Ic,s={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var p=y.getAttribute("data-emotion").split(" "),x=1;x<p.length;x++)s[p[x]]=!0;l.push(y)});var u,c=[Cc,Mc];{var d,h=[xc,jc(function(y){d.insert(y)})],m=wc(c.concat(a,h)),b=function(p){return fr(bc(p),m)};u=function(p,x,j,C){d=j,b(p?p+"{"+x.styles+"}":x.styles),C&&(_.inserted[x.name]=!0)}}var _={key:n,sheet:new sc({key:n,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return _.sheet.hydrate(l),_};let Wa;typeof document=="object"&&(Wa=Tc({key:"css",prepend:!0}));function Oi(e){const{injectFirst:t,children:n}=e;return t&&Wa?o.jsx(hr.CacheProvider,{value:Wa,children:n}):n}process.env.NODE_ENV!=="production"&&(Oi.propTypes={children:f.node,injectFirst:f.bool});function Oc(e){return e==null||Object.keys(e).length===0}function Ei(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?a=>t(Oc(a)?n:a):t;return o.jsx(hr.Global,{styles:r})}process.env.NODE_ENV!=="production"&&(Ei.propTypes={defaultTheme:f.object,styles:f.oneOfType([f.array,f.string,f.object,f.func])});/**
31
31
  * @mui/styled-engine v5.16.6
32
32
  *
33
33
  * @license MIT
34
34
  * This source code is licensed under the MIT license found in the
35
35
  * LICENSE file in the root directory of this source tree.
36
- */function Li(e,t){const n=Wu(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const a=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${a})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
37
- `)):r.some(s=>s===void 0)&&console.error(`MUI: the styled(${a})(...args) API requires all its args to be defined.`),n(...r)}:n}const $i=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Ic=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Ei,StyledEngineProvider:Ii,ThemeContext:hr.ThemeContext,css:hr.css,default:Li,internal_processStyles:$i,keyframes:hr.keyframes},Symbol.toStringTag,{value:"Module"}));function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(null,arguments)}function Be(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function xt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ni(e){if(!xt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Ni(e[n])}),t}function et(e,t,n={clone:!0}){const r=n.clone?T({},e):e;return xt(e)&&xt(t)&&Object.keys(t).forEach(a=>{xt(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&xt(e[a])?r[a]=et(e[a],t[a],n):n.clone?r[a]=xt(t[a])?Ni(t[a]):t[a]:r[a]=t[a]}),r}const Ec=Object.freeze(Object.defineProperty({__proto__:null,default:et,isPlainObject:xt},Symbol.toStringTag,{value:"Module"})),Lc=["values","unit","step"],$c=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>T({},n,{[r.key]:r.val}),{})};function Fi(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,a=Be(e,Lc),s=$c(t),i=Object.keys(s);function l(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function u(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function c(m,v){const _=i.indexOf(v);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(_!==-1&&typeof t[i[_]]=="number"?t[i[_]]:v)-r/100}${n})`}function d(m){return i.indexOf(m)+1<i.length?c(m,i[i.indexOf(m)+1]):l(m)}function h(m){const v=i.indexOf(m);return v===0?l(i[1]):v===i.length-1?u(i[v]):c(m,i[i.indexOf(m)+1]).replace("@media","@media not all and")}return T({keys:i,values:s,up:l,down:u,between:c,only:d,not:h,unit:n},a)}const Nc={borderRadius:4},Nt=process.env.NODE_ENV!=="production"?f.oneOfType([f.number,f.string,f.object,f.array]):{};function Br(e,t){return t?et(e,t,{clone:!1}):e}const bo={xs:0,sm:600,md:900,lg:1200,xl:1536},Yo={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${bo[e]}px)`};function st(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||Yo;return t.reduce((i,l,u)=>(i[s.up(s.keys[u])]=n(t[u]),i),{})}if(typeof t=="object"){const s=r.breakpoints||Yo;return Object.keys(t).reduce((i,l)=>{if(Object.keys(s.values||bo).indexOf(l)!==-1){const u=s.up(l);i[u]=n(t[l],l)}else{const u=l;i[u]=t[u]}return i},{})}return n(t)}function Di(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,a)=>{const s=e.up(a);return r[s]={},r},{}))||{}}function Bi(e,t){return e.reduce((n,r)=>{const a=n[r];return(!a||Object.keys(a).length===0)&&delete n[r],n},t)}function Fc(e,...t){const n=Di(e),r=[n,...t].reduce((a,s)=>et(a,s),{});return Bi(Object.keys(n),r)}function Dc(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((a,s)=>{s<e.length&&(n[a]=!0)}):r.forEach(a=>{e[a]!=null&&(n[a]=!0)}),n}function Aa({values:e,breakpoints:t,base:n}){const r=n||Dc(e,t),a=Object.keys(r);if(a.length===0)return e;let s;return a.reduce((i,l,u)=>(Array.isArray(e)?(i[l]=e[u]!=null?e[u]:e[s],s=u):typeof e=="object"?(i[l]=e[l]!=null?e[l]:e[s],s=l):i[l]=e,i),{})}function Pe(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Gr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Bc=Object.freeze(Object.defineProperty({__proto__:null,default:Pe},Symbol.toStringTag,{value:"Module"}));function Xn(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((a,s)=>a&&a[s]?a[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,a)=>r&&r[a]!=null?r[a]:null,e)}function In(e,t,n,r=n){let a;return typeof e=="function"?a=e(n):Array.isArray(e)?a=e[n]||r:a=Xn(e,n)||r,t&&(a=t(a,r,e)),a}function ye(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:a}=e,s=i=>{if(i[t]==null)return null;const l=i[t],u=i.theme,c=Xn(u,r)||{};return st(i,l,h=>{let m=In(c,a,h);return h===m&&typeof h=="string"&&(m=In(c,a,`${t}${h==="default"?"":Pe(h)}`,h)),n===!1?m:{[n]:m}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[t]:Nt}:{},s.filterProps=[t],s}function Uc(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Jc={m:"margin",p:"padding"},Vc={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Zo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Gc=Uc(e=>{if(e.length>2)if(Zo[e])e=Zo[e];else return[e];const[t,n]=e.split(""),r=Jc[t],a=Vc[n]||"";return Array.isArray(a)?a.map(s=>r+s):[r+a]}),Yn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Zn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],zc=[...Yn,...Zn];function Qr(e,t,n,r){var a;const s=(a=Xn(e,t,!1))!=null?a:n;return typeof s=="number"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${i}.`),s*i):Array.isArray(s)?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>s.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(s)}.`,`${i} > ${s.length-1}, you need to add the missing values.`].join(`
36
+ */function Li(e,t){const n=Hu(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const a=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${a})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
37
+ `)):r.some(s=>s===void 0)&&console.error(`MUI: the styled(${a})(...args) API requires all its args to be defined.`),n(...r)}:n}const $i=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Ec=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Ei,StyledEngineProvider:Oi,ThemeContext:hr.ThemeContext,css:hr.css,default:Li,internal_processStyles:$i,keyframes:hr.keyframes},Symbol.toStringTag,{value:"Module"}));function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k.apply(null,arguments)}function Be(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function xt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ni(e){if(!xt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Ni(e[n])}),t}function et(e,t,n={clone:!0}){const r=n.clone?k({},e):e;return xt(e)&&xt(t)&&Object.keys(t).forEach(a=>{xt(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&xt(e[a])?r[a]=et(e[a],t[a],n):n.clone?r[a]=xt(t[a])?Ni(t[a]):t[a]:r[a]=t[a]}),r}const Lc=Object.freeze(Object.defineProperty({__proto__:null,default:et,isPlainObject:xt},Symbol.toStringTag,{value:"Module"})),$c=["values","unit","step"],Nc=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>k({},n,{[r.key]:r.val}),{})};function Fi(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,a=Be(e,$c),s=Nc(t),i=Object.keys(s);function l(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function u(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function c(m,b){const _=i.indexOf(b);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(_!==-1&&typeof t[i[_]]=="number"?t[i[_]]:b)-r/100}${n})`}function d(m){return i.indexOf(m)+1<i.length?c(m,i[i.indexOf(m)+1]):l(m)}function h(m){const b=i.indexOf(m);return b===0?l(i[1]):b===i.length-1?u(i[b]):c(m,i[i.indexOf(m)+1]).replace("@media","@media not all and")}return k({keys:i,values:s,up:l,down:u,between:c,only:d,not:h,unit:n},a)}const Fc={borderRadius:4},Nt=process.env.NODE_ENV!=="production"?f.oneOfType([f.number,f.string,f.object,f.array]):{};function Br(e,t){return t?et(e,t,{clone:!1}):e}const bo={xs:0,sm:600,md:900,lg:1200,xl:1536},Yo={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${bo[e]}px)`};function st(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||Yo;return t.reduce((i,l,u)=>(i[s.up(s.keys[u])]=n(t[u]),i),{})}if(typeof t=="object"){const s=r.breakpoints||Yo;return Object.keys(t).reduce((i,l)=>{if(Object.keys(s.values||bo).indexOf(l)!==-1){const u=s.up(l);i[u]=n(t[l],l)}else{const u=l;i[u]=t[u]}return i},{})}return n(t)}function Di(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,a)=>{const s=e.up(a);return r[s]={},r},{}))||{}}function Bi(e,t){return e.reduce((n,r)=>{const a=n[r];return(!a||Object.keys(a).length===0)&&delete n[r],n},t)}function Dc(e,...t){const n=Di(e),r=[n,...t].reduce((a,s)=>et(a,s),{});return Bi(Object.keys(n),r)}function Bc(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((a,s)=>{s<e.length&&(n[a]=!0)}):r.forEach(a=>{e[a]!=null&&(n[a]=!0)}),n}function Aa({values:e,breakpoints:t,base:n}){const r=n||Bc(e,t),a=Object.keys(r);if(a.length===0)return e;let s;return a.reduce((i,l,u)=>(Array.isArray(e)?(i[l]=e[u]!=null?e[u]:e[s],s=u):typeof e=="object"?(i[l]=e[l]!=null?e[l]:e[s],s=l):i[l]=e,i),{})}function Pe(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Gr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Uc=Object.freeze(Object.defineProperty({__proto__:null,default:Pe},Symbol.toStringTag,{value:"Module"}));function qn(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((a,s)=>a&&a[s]?a[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,a)=>r&&r[a]!=null?r[a]:null,e)}function On(e,t,n,r=n){let a;return typeof e=="function"?a=e(n):Array.isArray(e)?a=e[n]||r:a=qn(e,n)||r,t&&(a=t(a,r,e)),a}function ye(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:a}=e,s=i=>{if(i[t]==null)return null;const l=i[t],u=i.theme,c=qn(u,r)||{};return st(i,l,h=>{let m=On(c,a,h);return h===m&&typeof h=="string"&&(m=On(c,a,`${t}${h==="default"?"":Pe(h)}`,h)),n===!1?m:{[n]:m}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[t]:Nt}:{},s.filterProps=[t],s}function Jc(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Vc={m:"margin",p:"padding"},Gc={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Zo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},zc=Jc(e=>{if(e.length>2)if(Zo[e])e=Zo[e];else return[e];const[t,n]=e.split(""),r=Vc[t],a=Gc[n]||"";return Array.isArray(a)?a.map(s=>r+s):[r+a]}),Yn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Zn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Kc=[...Yn,...Zn];function Qr(e,t,n,r){var a;const s=(a=qn(e,t,!1))!=null?a:n;return typeof s=="number"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${i}.`),s*i):Array.isArray(s)?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>s.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(s)}.`,`${i} > ${s.length-1}, you need to add the missing values.`].join(`
38
38
  `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
39
39
  `))),s[i]):typeof s=="function"?s:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${s}) is invalid.`,"It should be a number, an array or a function."].join(`
40
- `)),()=>{})}function So(e){return Qr(e,"spacing",8,"spacing")}function zt(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function Kc(e,t){return n=>e.reduce((r,a)=>(r[a]=zt(t,n),r),{})}function Wc(e,t,n,r){if(t.indexOf(n)===-1)return null;const a=Gc(n),s=Kc(a,r),i=e[n];return st(e,i,s)}function Ui(e,t){const n=So(e.theme);return Object.keys(e).map(r=>Wc(e,t,r,n)).reduce(Br,{})}function fe(e){return Ui(e,Yn)}fe.propTypes=process.env.NODE_ENV!=="production"?Yn.reduce((e,t)=>(e[t]=Nt,e),{}):{};fe.filterProps=Yn;function ge(e){return Ui(e,Zn)}ge.propTypes=process.env.NODE_ENV!=="production"?Zn.reduce((e,t)=>(e[t]=Nt,e),{}):{};ge.filterProps=Zn;process.env.NODE_ENV!=="production"&&zc.reduce((e,t)=>(e[t]=Nt,e),{});function Hc(e=8){if(e.mui)return e;const t=So({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(s=>{const i=t(s);return typeof i=="number"?`${i}px`:i}).join(" "));return n.mui=!0,n}function Qn(...e){const t=e.reduce((r,a)=>(a.filterProps.forEach(s=>{r[s]=a}),r),{}),n=r=>Object.keys(r).reduce((a,s)=>t[s]?Br(a,t[s](r)):a,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,a)=>Object.assign(r,a.propTypes),{}):{},n.filterProps=e.reduce((r,a)=>r.concat(a.filterProps),[]),n}function Ze(e){return typeof e!="number"?e:`${e}px solid`}function rt(e,t){return ye({prop:e,themeKey:"borders",transform:t})}const qc=rt("border",Ze),Xc=rt("borderTop",Ze),Yc=rt("borderRight",Ze),Zc=rt("borderBottom",Ze),Qc=rt("borderLeft",Ze),ed=rt("borderColor"),td=rt("borderTopColor"),rd=rt("borderRightColor"),nd=rt("borderBottomColor"),ad=rt("borderLeftColor"),od=rt("outline",Ze),sd=rt("outlineColor"),ea=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Qr(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:zt(t,r)});return st(e,e.borderRadius,n)}return null};ea.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Nt}:{};ea.filterProps=["borderRadius"];Qn(qc,Xc,Yc,Zc,Qc,ed,td,rd,nd,ad,ea,od,sd);const ta=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Qr(e.theme,"spacing",8,"gap"),n=r=>({gap:zt(t,r)});return st(e,e.gap,n)}return null};ta.propTypes=process.env.NODE_ENV!=="production"?{gap:Nt}:{};ta.filterProps=["gap"];const ra=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Qr(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:zt(t,r)});return st(e,e.columnGap,n)}return null};ra.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Nt}:{};ra.filterProps=["columnGap"];const na=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Qr(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:zt(t,r)});return st(e,e.rowGap,n)}return null};na.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Nt}:{};na.filterProps=["rowGap"];const id=ye({prop:"gridColumn"}),ld=ye({prop:"gridRow"}),ud=ye({prop:"gridAutoFlow"}),cd=ye({prop:"gridAutoColumns"}),dd=ye({prop:"gridAutoRows"}),md=ye({prop:"gridTemplateColumns"}),hd=ye({prop:"gridTemplateRows"}),fd=ye({prop:"gridTemplateAreas"}),gd=ye({prop:"gridArea"});Qn(ta,ra,na,id,ld,ud,cd,dd,md,hd,fd,gd);function gr(e,t){return t==="grey"?t:e}const pd=ye({prop:"color",themeKey:"palette",transform:gr}),yd=ye({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:gr}),_d=ye({prop:"backgroundColor",themeKey:"palette",transform:gr});Qn(pd,yd,_d);function Ge(e){return e<=1&&e!==0?`${e*100}%`:e}const vd=ye({prop:"width",transform:Ge}),xo=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,a;const s=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||bo[n];return s?((a=e.theme)==null||(a=a.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${s}${e.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:Ge(n)}};return st(e,e.maxWidth,t)}return null};xo.filterProps=["maxWidth"];const bd=ye({prop:"minWidth",transform:Ge}),Sd=ye({prop:"height",transform:Ge}),xd=ye({prop:"maxHeight",transform:Ge}),wd=ye({prop:"minHeight",transform:Ge});ye({prop:"size",cssProperty:"width",transform:Ge});ye({prop:"size",cssProperty:"height",transform:Ge});const jd=ye({prop:"boxSizing"});Qn(vd,xo,bd,Sd,xd,wd,jd);const en={border:{themeKey:"borders",transform:Ze},borderTop:{themeKey:"borders",transform:Ze},borderRight:{themeKey:"borders",transform:Ze},borderBottom:{themeKey:"borders",transform:Ze},borderLeft:{themeKey:"borders",transform:Ze},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ze},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ea},color:{themeKey:"palette",transform:gr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:gr},backgroundColor:{themeKey:"palette",transform:gr},p:{style:ge},pt:{style:ge},pr:{style:ge},pb:{style:ge},pl:{style:ge},px:{style:ge},py:{style:ge},padding:{style:ge},paddingTop:{style:ge},paddingRight:{style:ge},paddingBottom:{style:ge},paddingLeft:{style:ge},paddingX:{style:ge},paddingY:{style:ge},paddingInline:{style:ge},paddingInlineStart:{style:ge},paddingInlineEnd:{style:ge},paddingBlock:{style:ge},paddingBlockStart:{style:ge},paddingBlockEnd:{style:ge},m:{style:fe},mt:{style:fe},mr:{style:fe},mb:{style:fe},ml:{style:fe},mx:{style:fe},my:{style:fe},margin:{style:fe},marginTop:{style:fe},marginRight:{style:fe},marginBottom:{style:fe},marginLeft:{style:fe},marginX:{style:fe},marginY:{style:fe},marginInline:{style:fe},marginInlineStart:{style:fe},marginInlineEnd:{style:fe},marginBlock:{style:fe},marginBlockStart:{style:fe},marginBlockEnd:{style:fe},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:ta},rowGap:{style:na},columnGap:{style:ra},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ge},maxWidth:{style:xo},minWidth:{transform:Ge},height:{transform:Ge},maxHeight:{transform:Ge},minHeight:{transform:Ge},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Rd(...e){const t=e.reduce((r,a)=>r.concat(Object.keys(a)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Ad(e,t){return typeof e=="function"?e(t):e}function Ji(){function e(n,r,a,s){const i={[n]:r,theme:a},l=s[n];if(!l)return{[n]:r};const{cssProperty:u=n,themeKey:c,transform:d,style:h}=l;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const m=Xn(a,c)||{};return h?h(i):st(i,r,_=>{let y=In(m,d,_);return _===y&&typeof _=="string"&&(y=In(m,d,`${n}${_==="default"?"":Pe(_)}`,_)),u===!1?y:{[u]:y}})}function t(n){var r;const{sx:a,theme:s={}}=n||{};if(!a)return null;const i=(r=s.unstable_sxConfig)!=null?r:en;function l(u){let c=u;if(typeof u=="function")c=u(s);else if(typeof u!="object")return u;if(!c)return null;const d=Di(s.breakpoints),h=Object.keys(d);let m=d;return Object.keys(c).forEach(v=>{const _=Ad(c[v],s);if(_!=null)if(typeof _=="object")if(i[v])m=Br(m,e(v,_,s,i));else{const y=st({theme:s},_,p=>({[v]:p}));Rd(y,_)?m[v]=t({sx:_,theme:s}):m=Br(m,y)}else m=Br(m,e(v,_,s,i))}),Bi(h,m)}return Array.isArray(a)?a.map(l):l(a)}return t}const tn=Ji();tn.filterProps=["sx"];function Vi(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const Pd=["breakpoints","palette","spacing","shape"];function rn(e={},...t){const{breakpoints:n={},palette:r={},spacing:a,shape:s={}}=e,i=Be(e,Pd),l=Fi(n),u=Hc(a);let c=et({breakpoints:l,direction:"ltr",components:{},palette:T({mode:"light"},r),spacing:u,shape:T({},Nc,s)},i);return c.applyStyles=Vi,c=t.reduce((d,h)=>et(d,h),c),c.unstable_sxConfig=T({},en,i==null?void 0:i.unstable_sxConfig),c.unstable_sx=function(h){return tn({sx:h,theme:this})},c}const Cd=Object.freeze(Object.defineProperty({__proto__:null,default:rn,private_createBreakpoints:Fi,unstable_applyStyles:Vi},Symbol.toStringTag,{value:"Module"}));function Md(e){return Object.keys(e).length===0}function Td(e=null){const t=N.useContext(hr.ThemeContext);return!t||Md(t)?e:t}const kd=rn();function Od(e=kd){return Td(e)}const Id=["sx"],Ed=e=>{var t,n;const r={systemProps:{},otherProps:{}},a=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:en;return Object.keys(e).forEach(s=>{a[s]?r.systemProps[s]=e[s]:r.otherProps[s]=e[s]}),r};function Gi(e){const{sx:t}=e,n=Be(e,Id),{systemProps:r,otherProps:a}=Ed(n);let s;return Array.isArray(t)?s=[r,...t]:typeof t=="function"?s=(...i)=>{const l=t(...i);return xt(l)?T({},r,l):r}:s=T({},r,t),T({},a,{sx:s})}const Ld=Object.freeze(Object.defineProperty({__proto__:null,default:tn,extendSxProp:Gi,unstable_createStyleFunctionSx:Ji,unstable_defaultSxConfig:en},Symbol.toStringTag,{value:"Module"})),Qo=e=>e,$d=()=>{let e=Qo;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Qo}}},zi=$d();function Ki(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Ki(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function gt(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Ki(e))&&(r&&(r+=" "),r+=t);return r}const Nd={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function nn(e,t,n="Mui"){const r=Nd[t];return r?`${n}-${r}`:`${zi.generate(e)}-${t}`}function Wi(e,t,n="Mui"){const r={};return t.forEach(a=>{r[a]=nn(e,a,n)}),r}var Ha={exports:{}},se={};/**
40
+ `)),()=>{})}function So(e){return Qr(e,"spacing",8,"spacing")}function zt(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function Wc(e,t){return n=>e.reduce((r,a)=>(r[a]=zt(t,n),r),{})}function Hc(e,t,n,r){if(t.indexOf(n)===-1)return null;const a=zc(n),s=Wc(a,r),i=e[n];return st(e,i,s)}function Ui(e,t){const n=So(e.theme);return Object.keys(e).map(r=>Hc(e,t,r,n)).reduce(Br,{})}function fe(e){return Ui(e,Yn)}fe.propTypes=process.env.NODE_ENV!=="production"?Yn.reduce((e,t)=>(e[t]=Nt,e),{}):{};fe.filterProps=Yn;function ge(e){return Ui(e,Zn)}ge.propTypes=process.env.NODE_ENV!=="production"?Zn.reduce((e,t)=>(e[t]=Nt,e),{}):{};ge.filterProps=Zn;process.env.NODE_ENV!=="production"&&Kc.reduce((e,t)=>(e[t]=Nt,e),{});function Xc(e=8){if(e.mui)return e;const t=So({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(s=>{const i=t(s);return typeof i=="number"?`${i}px`:i}).join(" "));return n.mui=!0,n}function Qn(...e){const t=e.reduce((r,a)=>(a.filterProps.forEach(s=>{r[s]=a}),r),{}),n=r=>Object.keys(r).reduce((a,s)=>t[s]?Br(a,t[s](r)):a,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,a)=>Object.assign(r,a.propTypes),{}):{},n.filterProps=e.reduce((r,a)=>r.concat(a.filterProps),[]),n}function Ze(e){return typeof e!="number"?e:`${e}px solid`}function rt(e,t){return ye({prop:e,themeKey:"borders",transform:t})}const qc=rt("border",Ze),Yc=rt("borderTop",Ze),Zc=rt("borderRight",Ze),Qc=rt("borderBottom",Ze),ed=rt("borderLeft",Ze),td=rt("borderColor"),rd=rt("borderTopColor"),nd=rt("borderRightColor"),ad=rt("borderBottomColor"),od=rt("borderLeftColor"),sd=rt("outline",Ze),id=rt("outlineColor"),ea=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Qr(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:zt(t,r)});return st(e,e.borderRadius,n)}return null};ea.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Nt}:{};ea.filterProps=["borderRadius"];Qn(qc,Yc,Zc,Qc,ed,td,rd,nd,ad,od,ea,sd,id);const ta=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Qr(e.theme,"spacing",8,"gap"),n=r=>({gap:zt(t,r)});return st(e,e.gap,n)}return null};ta.propTypes=process.env.NODE_ENV!=="production"?{gap:Nt}:{};ta.filterProps=["gap"];const ra=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Qr(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:zt(t,r)});return st(e,e.columnGap,n)}return null};ra.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Nt}:{};ra.filterProps=["columnGap"];const na=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Qr(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:zt(t,r)});return st(e,e.rowGap,n)}return null};na.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Nt}:{};na.filterProps=["rowGap"];const ld=ye({prop:"gridColumn"}),ud=ye({prop:"gridRow"}),cd=ye({prop:"gridAutoFlow"}),dd=ye({prop:"gridAutoColumns"}),md=ye({prop:"gridAutoRows"}),hd=ye({prop:"gridTemplateColumns"}),fd=ye({prop:"gridTemplateRows"}),gd=ye({prop:"gridTemplateAreas"}),pd=ye({prop:"gridArea"});Qn(ta,ra,na,ld,ud,cd,dd,md,hd,fd,gd,pd);function gr(e,t){return t==="grey"?t:e}const yd=ye({prop:"color",themeKey:"palette",transform:gr}),_d=ye({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:gr}),vd=ye({prop:"backgroundColor",themeKey:"palette",transform:gr});Qn(yd,_d,vd);function Ge(e){return e<=1&&e!==0?`${e*100}%`:e}const bd=ye({prop:"width",transform:Ge}),xo=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,a;const s=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||bo[n];return s?((a=e.theme)==null||(a=a.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${s}${e.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:Ge(n)}};return st(e,e.maxWidth,t)}return null};xo.filterProps=["maxWidth"];const Sd=ye({prop:"minWidth",transform:Ge}),xd=ye({prop:"height",transform:Ge}),wd=ye({prop:"maxHeight",transform:Ge}),jd=ye({prop:"minHeight",transform:Ge});ye({prop:"size",cssProperty:"width",transform:Ge});ye({prop:"size",cssProperty:"height",transform:Ge});const Rd=ye({prop:"boxSizing"});Qn(bd,xo,Sd,xd,wd,jd,Rd);const en={border:{themeKey:"borders",transform:Ze},borderTop:{themeKey:"borders",transform:Ze},borderRight:{themeKey:"borders",transform:Ze},borderBottom:{themeKey:"borders",transform:Ze},borderLeft:{themeKey:"borders",transform:Ze},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ze},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ea},color:{themeKey:"palette",transform:gr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:gr},backgroundColor:{themeKey:"palette",transform:gr},p:{style:ge},pt:{style:ge},pr:{style:ge},pb:{style:ge},pl:{style:ge},px:{style:ge},py:{style:ge},padding:{style:ge},paddingTop:{style:ge},paddingRight:{style:ge},paddingBottom:{style:ge},paddingLeft:{style:ge},paddingX:{style:ge},paddingY:{style:ge},paddingInline:{style:ge},paddingInlineStart:{style:ge},paddingInlineEnd:{style:ge},paddingBlock:{style:ge},paddingBlockStart:{style:ge},paddingBlockEnd:{style:ge},m:{style:fe},mt:{style:fe},mr:{style:fe},mb:{style:fe},ml:{style:fe},mx:{style:fe},my:{style:fe},margin:{style:fe},marginTop:{style:fe},marginRight:{style:fe},marginBottom:{style:fe},marginLeft:{style:fe},marginX:{style:fe},marginY:{style:fe},marginInline:{style:fe},marginInlineStart:{style:fe},marginInlineEnd:{style:fe},marginBlock:{style:fe},marginBlockStart:{style:fe},marginBlockEnd:{style:fe},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:ta},rowGap:{style:na},columnGap:{style:ra},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ge},maxWidth:{style:xo},minWidth:{transform:Ge},height:{transform:Ge},maxHeight:{transform:Ge},minHeight:{transform:Ge},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Ad(...e){const t=e.reduce((r,a)=>r.concat(Object.keys(a)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Pd(e,t){return typeof e=="function"?e(t):e}function Ji(){function e(n,r,a,s){const i={[n]:r,theme:a},l=s[n];if(!l)return{[n]:r};const{cssProperty:u=n,themeKey:c,transform:d,style:h}=l;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const m=qn(a,c)||{};return h?h(i):st(i,r,_=>{let y=On(m,d,_);return _===y&&typeof _=="string"&&(y=On(m,d,`${n}${_==="default"?"":Pe(_)}`,_)),u===!1?y:{[u]:y}})}function t(n){var r;const{sx:a,theme:s={}}=n||{};if(!a)return null;const i=(r=s.unstable_sxConfig)!=null?r:en;function l(u){let c=u;if(typeof u=="function")c=u(s);else if(typeof u!="object")return u;if(!c)return null;const d=Di(s.breakpoints),h=Object.keys(d);let m=d;return Object.keys(c).forEach(b=>{const _=Pd(c[b],s);if(_!=null)if(typeof _=="object")if(i[b])m=Br(m,e(b,_,s,i));else{const y=st({theme:s},_,p=>({[b]:p}));Ad(y,_)?m[b]=t({sx:_,theme:s}):m=Br(m,y)}else m=Br(m,e(b,_,s,i))}),Bi(h,m)}return Array.isArray(a)?a.map(l):l(a)}return t}const tn=Ji();tn.filterProps=["sx"];function Vi(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const Cd=["breakpoints","palette","spacing","shape"];function rn(e={},...t){const{breakpoints:n={},palette:r={},spacing:a,shape:s={}}=e,i=Be(e,Cd),l=Fi(n),u=Xc(a);let c=et({breakpoints:l,direction:"ltr",components:{},palette:k({mode:"light"},r),spacing:u,shape:k({},Fc,s)},i);return c.applyStyles=Vi,c=t.reduce((d,h)=>et(d,h),c),c.unstable_sxConfig=k({},en,i==null?void 0:i.unstable_sxConfig),c.unstable_sx=function(h){return tn({sx:h,theme:this})},c}const Md=Object.freeze(Object.defineProperty({__proto__:null,default:rn,private_createBreakpoints:Fi,unstable_applyStyles:Vi},Symbol.toStringTag,{value:"Module"}));function kd(e){return Object.keys(e).length===0}function Id(e=null){const t=N.useContext(hr.ThemeContext);return!t||kd(t)?e:t}const Td=rn();function Od(e=Td){return Id(e)}const Ed=["sx"],Ld=e=>{var t,n;const r={systemProps:{},otherProps:{}},a=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:en;return Object.keys(e).forEach(s=>{a[s]?r.systemProps[s]=e[s]:r.otherProps[s]=e[s]}),r};function Gi(e){const{sx:t}=e,n=Be(e,Ed),{systemProps:r,otherProps:a}=Ld(n);let s;return Array.isArray(t)?s=[r,...t]:typeof t=="function"?s=(...i)=>{const l=t(...i);return xt(l)?k({},r,l):r}:s=k({},r,t),k({},a,{sx:s})}const $d=Object.freeze(Object.defineProperty({__proto__:null,default:tn,extendSxProp:Gi,unstable_createStyleFunctionSx:Ji,unstable_defaultSxConfig:en},Symbol.toStringTag,{value:"Module"})),Qo=e=>e,Nd=()=>{let e=Qo;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Qo}}},zi=Nd();function Ki(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Ki(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function gt(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Ki(e))&&(r&&(r+=" "),r+=t);return r}const Fd={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function nn(e,t,n="Mui"){const r=Fd[t];return r?`${n}-${r}`:`${zi.generate(e)}-${t}`}function Wi(e,t,n="Mui"){const r={};return t.forEach(a=>{r[a]=nn(e,a,n)}),r}var Ha={exports:{}},se={};/**
41
41
  * @license React
42
42
  * react-is.production.min.js
43
43
  *
@@ -45,7 +45,7 @@ React keys must be passed directly to JSX without using spread:
45
45
  *
46
46
  * This source code is licensed under the MIT license found in the
47
47
  * LICENSE file in the root directory of this source tree.
48
- */var es;function Fd(){if(es)return se;es=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),_;_=Symbol.for("react.module.reference");function y(p){if(typeof p=="object"&&p!==null){var x=p.$$typeof;switch(x){case e:switch(p=p.type,p){case n:case a:case r:case c:case d:return p;default:switch(p=p&&p.$$typeof,p){case l:case i:case u:case m:case h:case s:return p;default:return x}}case t:return x}}}return se.ContextConsumer=i,se.ContextProvider=s,se.Element=e,se.ForwardRef=u,se.Fragment=n,se.Lazy=m,se.Memo=h,se.Portal=t,se.Profiler=a,se.StrictMode=r,se.Suspense=c,se.SuspenseList=d,se.isAsyncMode=function(){return!1},se.isConcurrentMode=function(){return!1},se.isContextConsumer=function(p){return y(p)===i},se.isContextProvider=function(p){return y(p)===s},se.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===e},se.isForwardRef=function(p){return y(p)===u},se.isFragment=function(p){return y(p)===n},se.isLazy=function(p){return y(p)===m},se.isMemo=function(p){return y(p)===h},se.isPortal=function(p){return y(p)===t},se.isProfiler=function(p){return y(p)===a},se.isStrictMode=function(p){return y(p)===r},se.isSuspense=function(p){return y(p)===c},se.isSuspenseList=function(p){return y(p)===d},se.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===a||p===r||p===c||p===d||p===v||typeof p=="object"&&p!==null&&(p.$$typeof===m||p.$$typeof===h||p.$$typeof===s||p.$$typeof===i||p.$$typeof===u||p.$$typeof===_||p.getModuleId!==void 0)},se.typeOf=y,se}var ie={};/**
48
+ */var es;function Dd(){if(es)return se;es=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),_;_=Symbol.for("react.module.reference");function y(p){if(typeof p=="object"&&p!==null){var x=p.$$typeof;switch(x){case e:switch(p=p.type,p){case n:case a:case r:case c:case d:return p;default:switch(p=p&&p.$$typeof,p){case l:case i:case u:case m:case h:case s:return p;default:return x}}case t:return x}}}return se.ContextConsumer=i,se.ContextProvider=s,se.Element=e,se.ForwardRef=u,se.Fragment=n,se.Lazy=m,se.Memo=h,se.Portal=t,se.Profiler=a,se.StrictMode=r,se.Suspense=c,se.SuspenseList=d,se.isAsyncMode=function(){return!1},se.isConcurrentMode=function(){return!1},se.isContextConsumer=function(p){return y(p)===i},se.isContextProvider=function(p){return y(p)===s},se.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===e},se.isForwardRef=function(p){return y(p)===u},se.isFragment=function(p){return y(p)===n},se.isLazy=function(p){return y(p)===m},se.isMemo=function(p){return y(p)===h},se.isPortal=function(p){return y(p)===t},se.isProfiler=function(p){return y(p)===a},se.isStrictMode=function(p){return y(p)===r},se.isSuspense=function(p){return y(p)===c},se.isSuspenseList=function(p){return y(p)===d},se.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===a||p===r||p===c||p===d||p===b||typeof p=="object"&&p!==null&&(p.$$typeof===m||p.$$typeof===h||p.$$typeof===s||p.$$typeof===i||p.$$typeof===u||p.$$typeof===_||p.getModuleId!==void 0)},se.typeOf=y,se}var ie={};/**
49
49
  * @license React
50
50
  * react-is.development.js
51
51
  *
@@ -53,12 +53,12 @@ React keys must be passed directly to JSX without using spread:
53
53
  *
54
54
  * This source code is licensed under the MIT license found in the
55
55
  * LICENSE file in the root directory of this source tree.
56
- */var ts;function Dd(){return ts||(ts=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),_=!1,y=!1,p=!1,x=!1,j=!1,C;C=Symbol.for("react.module.reference");function A(I){return!!(typeof I=="string"||typeof I=="function"||I===n||I===a||j||I===r||I===c||I===d||x||I===v||_||y||p||typeof I=="object"&&I!==null&&(I.$$typeof===m||I.$$typeof===h||I.$$typeof===s||I.$$typeof===i||I.$$typeof===u||I.$$typeof===C||I.getModuleId!==void 0))}function w(I){if(typeof I=="object"&&I!==null){var te=I.$$typeof;switch(te){case e:var he=I.type;switch(he){case n:case a:case r:case c:case d:return he;default:var Ee=he&&he.$$typeof;switch(Ee){case l:case i:case u:case m:case h:case s:return Ee;default:return te}}case t:return te}}}var P=i,M=s,z=e,le=u,ce=n,D=m,q=h,G=t,Z=a,H=r,xe=c,ue=d,ee=!1,Re=!1;function Ie(I){return ee||(ee=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function nt(I){return Re||(Re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function _t(I){return w(I)===i}function We(I){return w(I)===s}function we(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function Ct(I){return w(I)===u}function lt(I){return w(I)===n}function He(I){return w(I)===m}function Ue(I){return w(I)===h}function ut(I){return w(I)===t}function ct(I){return w(I)===a}function Ft(I){return w(I)===r}function vt(I){return w(I)===c}function Je(I){return w(I)===d}ie.ContextConsumer=P,ie.ContextProvider=M,ie.Element=z,ie.ForwardRef=le,ie.Fragment=ce,ie.Lazy=D,ie.Memo=q,ie.Portal=G,ie.Profiler=Z,ie.StrictMode=H,ie.Suspense=xe,ie.SuspenseList=ue,ie.isAsyncMode=Ie,ie.isConcurrentMode=nt,ie.isContextConsumer=_t,ie.isContextProvider=We,ie.isElement=we,ie.isForwardRef=Ct,ie.isFragment=lt,ie.isLazy=He,ie.isMemo=Ue,ie.isPortal=ut,ie.isProfiler=ct,ie.isStrictMode=Ft,ie.isSuspense=vt,ie.isSuspenseList=Je,ie.isValidElementType=A,ie.typeOf=w}()),ie}process.env.NODE_ENV==="production"?Ha.exports=Fd():Ha.exports=Dd();var rs=Ha.exports;const Bd=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Hi(e){const t=`${e}`.match(Bd);return t&&t[1]||""}function qi(e,t=""){return e.displayName||e.name||Hi(e)||t}function ns(e,t,n){const r=qi(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Xi(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return qi(e,"Component");if(typeof e=="object")switch(e.$$typeof){case rs.ForwardRef:return ns(e,e.render,"ForwardRef");case rs.Memo:return ns(e,e.type,"memo");default:return}}}const Ud=Object.freeze(Object.defineProperty({__proto__:null,default:Xi,getFunctionName:Hi},Symbol.toStringTag,{value:"Module"})),Jd=["ownerState"],Vd=["variants"],Gd=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function zd(e){return Object.keys(e).length===0}function Kd(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Pa(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Wd=rn(),as=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function hn({defaultTheme:e,theme:t,themeId:n}){return zd(t)?e:t[n]||t}function Hd(e){return e?(t,n)=>n[e]:null}function Rn(e,t){let{ownerState:n}=t,r=Be(t,Jd);const a=typeof e=="function"?e(T({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap(s=>Rn(s,T({ownerState:n},r)));if(a&&typeof a=="object"&&Array.isArray(a.variants)){const{variants:s=[]}=a;let l=Be(a,Vd);return s.forEach(u=>{let c=!0;typeof u.props=="function"?c=u.props(T({ownerState:n},r,n)):Object.keys(u.props).forEach(d=>{(n==null?void 0:n[d])!==u.props[d]&&r[d]!==u.props[d]&&(c=!1)}),c&&(Array.isArray(l)||(l=[l]),l.push(typeof u.style=="function"?u.style(T({ownerState:n},r,n)):u.style))}),l}return a}function qd(e={}){const{themeId:t,defaultTheme:n=Wd,rootShouldForwardProp:r=Pa,slotShouldForwardProp:a=Pa}=e,s=i=>tn(T({},i,{theme:hn(T({},i,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(i,l={})=>{$i(i,w=>w.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:d,skipSx:h,overridesResolver:m=Hd(as(c))}=l,v=Be(l,Gd),_=d!==void 0?d:c&&c!=="Root"&&c!=="root"||!1,y=h||!1;let p;process.env.NODE_ENV!=="production"&&u&&(p=`${u}-${as(c||"Root")}`);let x=Pa;c==="Root"||c==="root"?x=r:c?x=a:Kd(i)&&(x=void 0);const j=Li(i,T({shouldForwardProp:x,label:p},v)),C=w=>typeof w=="function"&&w.__emotion_real!==w||xt(w)?P=>Rn(w,T({},P,{theme:hn({theme:P.theme,defaultTheme:n,themeId:t})})):w,A=(w,...P)=>{let M=C(w);const z=P?P.map(C):[];u&&m&&z.push(D=>{const q=hn(T({},D,{defaultTheme:n,themeId:t}));if(!q.components||!q.components[u]||!q.components[u].styleOverrides)return null;const G=q.components[u].styleOverrides,Z={};return Object.entries(G).forEach(([H,xe])=>{Z[H]=Rn(xe,T({},D,{theme:q}))}),m(D,Z)}),u&&!_&&z.push(D=>{var q;const G=hn(T({},D,{defaultTheme:n,themeId:t})),Z=G==null||(q=G.components)==null||(q=q[u])==null?void 0:q.variants;return Rn({variants:Z},T({},D,{theme:G}))}),y||z.push(s);const le=z.length-P.length;if(Array.isArray(w)&&le>0){const D=new Array(le).fill("");M=[...w,...D],M.raw=[...w.raw,...D]}const ce=j(M,...z);if(process.env.NODE_ENV!=="production"){let D;u&&(D=`${u}${Pe(c||"")}`),D===void 0&&(D=`Styled(${Xi(i)})`),ce.displayName=D}return i.muiName&&(ce.muiName=i.muiName),ce};return j.withConfig&&(A.withConfig=j.withConfig),A}}const Xd=qd();function En(e,t){const n=T({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=T({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const a=e[r]||{},s=t[r];n[r]={},!s||!Object.keys(s)?n[r]=a:!a||!Object.keys(a)?n[r]=s:(n[r]=T({},s),Object.keys(a).forEach(i=>{n[r][i]=En(a[i],s[i])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Yd(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:En(t.components[n].defaultProps,r)}function Zd({props:e,name:t,defaultTheme:n,themeId:r}){let a=Od(n);return r&&(a=a[r]||a),Yd({theme:a,name:t,props:e})}const wo=typeof window<"u"?N.useLayoutEffect:N.useEffect;function mr(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const Qd=Object.freeze(Object.defineProperty({__proto__:null,default:mr},Symbol.toStringTag,{value:"Module"}));function os(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function em(...e){return e.reduce((t,n)=>n==null?t:function(...a){t.apply(this,a),n.apply(this,a)},()=>{})}function tm(e,t=166){let n;function r(...a){const s=()=>{e.apply(this,a)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=()=>{clearTimeout(n)},r}function rm(e,t){return process.env.NODE_ENV==="production"?()=>null:(n,r,a,s,i)=>{const l=a||"<<anonymous>>",u=i||r;return typeof n[r]<"u"?new Error(`The ${s} \`${u}\` of \`${l}\` is deprecated. ${t}`):null}}function nm(e,t){var n,r;return N.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function pr(e){return e&&e.ownerDocument||document}function am(e){return pr(e).defaultView||window}function om(e,t){if(process.env.NODE_ENV==="production")return()=>null;const n=t?T({},t.propTypes):null;return a=>(s,i,l,u,c,...d)=>{const h=c||i,m=n==null?void 0:n[h];if(m){const v=m(s,i,l,u,c,...d);if(v)return v}return typeof s[i]<"u"&&!s[a]?new Error(`The prop \`${h}\` of \`${e}\` can only be used together with the \`${a}\` prop.`):null}}function Yi(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let ss=0;function sm(e){const[t,n]=N.useState(e),r=e||t;return N.useEffect(()=>{t==null&&(ss+=1,n(`mui-${ss}`))},[t]),r}const is=N.useId;function im(e){if(is!==void 0){const t=is();return e??t}return sm(e)}function lm(e,t,n,r,a){if(process.env.NODE_ENV==="production")return null;const s=a||t;return typeof e[t]<"u"?new Error(`The prop \`${s}\` is not supported. Please remove it.`):null}function Zi({controlled:e,default:t,name:n,state:r="value"}){const{current:a}=N.useRef(e!==void 0),[s,i]=N.useState(t),l=a?e:s;if(process.env.NODE_ENV!=="production"){N.useEffect(()=>{a!==(e!==void 0)&&console.error([`MUI: A component is changing the ${a?"":"un"}controlled ${r} state of ${n} to be ${a?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
56
+ */var ts;function Bd(){return ts||(ts=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),_=!1,y=!1,p=!1,x=!1,j=!1,C;C=Symbol.for("react.module.reference");function A(O){return!!(typeof O=="string"||typeof O=="function"||O===n||O===a||j||O===r||O===c||O===d||x||O===b||_||y||p||typeof O=="object"&&O!==null&&(O.$$typeof===m||O.$$typeof===h||O.$$typeof===s||O.$$typeof===i||O.$$typeof===u||O.$$typeof===C||O.getModuleId!==void 0))}function w(O){if(typeof O=="object"&&O!==null){var te=O.$$typeof;switch(te){case e:var he=O.type;switch(he){case n:case a:case r:case c:case d:return he;default:var Ee=he&&he.$$typeof;switch(Ee){case l:case i:case u:case m:case h:case s:return Ee;default:return te}}case t:return te}}}var P=i,M=s,z=e,le=u,ce=n,D=m,q=h,G=t,Z=a,X=r,xe=c,ue=d,ee=!1,Re=!1;function Oe(O){return ee||(ee=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function nt(O){return Re||(Re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function _t(O){return w(O)===i}function We(O){return w(O)===s}function we(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function Ct(O){return w(O)===u}function lt(O){return w(O)===n}function He(O){return w(O)===m}function Ue(O){return w(O)===h}function ut(O){return w(O)===t}function ct(O){return w(O)===a}function Ft(O){return w(O)===r}function vt(O){return w(O)===c}function Je(O){return w(O)===d}ie.ContextConsumer=P,ie.ContextProvider=M,ie.Element=z,ie.ForwardRef=le,ie.Fragment=ce,ie.Lazy=D,ie.Memo=q,ie.Portal=G,ie.Profiler=Z,ie.StrictMode=X,ie.Suspense=xe,ie.SuspenseList=ue,ie.isAsyncMode=Oe,ie.isConcurrentMode=nt,ie.isContextConsumer=_t,ie.isContextProvider=We,ie.isElement=we,ie.isForwardRef=Ct,ie.isFragment=lt,ie.isLazy=He,ie.isMemo=Ue,ie.isPortal=ut,ie.isProfiler=ct,ie.isStrictMode=Ft,ie.isSuspense=vt,ie.isSuspenseList=Je,ie.isValidElementType=A,ie.typeOf=w}()),ie}process.env.NODE_ENV==="production"?Ha.exports=Dd():Ha.exports=Bd();var rs=Ha.exports;const Ud=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Hi(e){const t=`${e}`.match(Ud);return t&&t[1]||""}function Xi(e,t=""){return e.displayName||e.name||Hi(e)||t}function ns(e,t,n){const r=Xi(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function qi(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Xi(e,"Component");if(typeof e=="object")switch(e.$$typeof){case rs.ForwardRef:return ns(e,e.render,"ForwardRef");case rs.Memo:return ns(e,e.type,"memo");default:return}}}const Jd=Object.freeze(Object.defineProperty({__proto__:null,default:qi,getFunctionName:Hi},Symbol.toStringTag,{value:"Module"})),Vd=["ownerState"],Gd=["variants"],zd=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Kd(e){return Object.keys(e).length===0}function Wd(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Pa(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Hd=rn(),as=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function hn({defaultTheme:e,theme:t,themeId:n}){return Kd(t)?e:t[n]||t}function Xd(e){return e?(t,n)=>n[e]:null}function Rn(e,t){let{ownerState:n}=t,r=Be(t,Vd);const a=typeof e=="function"?e(k({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap(s=>Rn(s,k({ownerState:n},r)));if(a&&typeof a=="object"&&Array.isArray(a.variants)){const{variants:s=[]}=a;let l=Be(a,Gd);return s.forEach(u=>{let c=!0;typeof u.props=="function"?c=u.props(k({ownerState:n},r,n)):Object.keys(u.props).forEach(d=>{(n==null?void 0:n[d])!==u.props[d]&&r[d]!==u.props[d]&&(c=!1)}),c&&(Array.isArray(l)||(l=[l]),l.push(typeof u.style=="function"?u.style(k({ownerState:n},r,n)):u.style))}),l}return a}function qd(e={}){const{themeId:t,defaultTheme:n=Hd,rootShouldForwardProp:r=Pa,slotShouldForwardProp:a=Pa}=e,s=i=>tn(k({},i,{theme:hn(k({},i,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(i,l={})=>{$i(i,w=>w.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:d,skipSx:h,overridesResolver:m=Xd(as(c))}=l,b=Be(l,zd),_=d!==void 0?d:c&&c!=="Root"&&c!=="root"||!1,y=h||!1;let p;process.env.NODE_ENV!=="production"&&u&&(p=`${u}-${as(c||"Root")}`);let x=Pa;c==="Root"||c==="root"?x=r:c?x=a:Wd(i)&&(x=void 0);const j=Li(i,k({shouldForwardProp:x,label:p},b)),C=w=>typeof w=="function"&&w.__emotion_real!==w||xt(w)?P=>Rn(w,k({},P,{theme:hn({theme:P.theme,defaultTheme:n,themeId:t})})):w,A=(w,...P)=>{let M=C(w);const z=P?P.map(C):[];u&&m&&z.push(D=>{const q=hn(k({},D,{defaultTheme:n,themeId:t}));if(!q.components||!q.components[u]||!q.components[u].styleOverrides)return null;const G=q.components[u].styleOverrides,Z={};return Object.entries(G).forEach(([X,xe])=>{Z[X]=Rn(xe,k({},D,{theme:q}))}),m(D,Z)}),u&&!_&&z.push(D=>{var q;const G=hn(k({},D,{defaultTheme:n,themeId:t})),Z=G==null||(q=G.components)==null||(q=q[u])==null?void 0:q.variants;return Rn({variants:Z},k({},D,{theme:G}))}),y||z.push(s);const le=z.length-P.length;if(Array.isArray(w)&&le>0){const D=new Array(le).fill("");M=[...w,...D],M.raw=[...w.raw,...D]}const ce=j(M,...z);if(process.env.NODE_ENV!=="production"){let D;u&&(D=`${u}${Pe(c||"")}`),D===void 0&&(D=`Styled(${qi(i)})`),ce.displayName=D}return i.muiName&&(ce.muiName=i.muiName),ce};return j.withConfig&&(A.withConfig=j.withConfig),A}}const Yd=qd();function En(e,t){const n=k({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=k({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const a=e[r]||{},s=t[r];n[r]={},!s||!Object.keys(s)?n[r]=a:!a||!Object.keys(a)?n[r]=s:(n[r]=k({},s),Object.keys(a).forEach(i=>{n[r][i]=En(a[i],s[i])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Zd(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:En(t.components[n].defaultProps,r)}function Qd({props:e,name:t,defaultTheme:n,themeId:r}){let a=Od(n);return r&&(a=a[r]||a),Zd({theme:a,name:t,props:e})}const wo=typeof window<"u"?N.useLayoutEffect:N.useEffect;function mr(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const em=Object.freeze(Object.defineProperty({__proto__:null,default:mr},Symbol.toStringTag,{value:"Module"}));function os(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function tm(...e){return e.reduce((t,n)=>n==null?t:function(...a){t.apply(this,a),n.apply(this,a)},()=>{})}function rm(e,t=166){let n;function r(...a){const s=()=>{e.apply(this,a)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=()=>{clearTimeout(n)},r}function nm(e,t){return process.env.NODE_ENV==="production"?()=>null:(n,r,a,s,i)=>{const l=a||"<<anonymous>>",u=i||r;return typeof n[r]<"u"?new Error(`The ${s} \`${u}\` of \`${l}\` is deprecated. ${t}`):null}}function am(e,t){var n,r;return N.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function pr(e){return e&&e.ownerDocument||document}function om(e){return pr(e).defaultView||window}function sm(e,t){if(process.env.NODE_ENV==="production")return()=>null;const n=t?k({},t.propTypes):null;return a=>(s,i,l,u,c,...d)=>{const h=c||i,m=n==null?void 0:n[h];if(m){const b=m(s,i,l,u,c,...d);if(b)return b}return typeof s[i]<"u"&&!s[a]?new Error(`The prop \`${h}\` of \`${e}\` can only be used together with the \`${a}\` prop.`):null}}function Yi(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let ss=0;function im(e){const[t,n]=N.useState(e),r=e||t;return N.useEffect(()=>{t==null&&(ss+=1,n(`mui-${ss}`))},[t]),r}const is=N.useId;function lm(e){if(is!==void 0){const t=is();return e??t}return im(e)}function um(e,t,n,r,a){if(process.env.NODE_ENV==="production")return null;const s=a||t;return typeof e[t]<"u"?new Error(`The prop \`${s}\` is not supported. Please remove it.`):null}function Zi({controlled:e,default:t,name:n,state:r="value"}){const{current:a}=N.useRef(e!==void 0),[s,i]=N.useState(t),l=a?e:s;if(process.env.NODE_ENV!=="production"){N.useEffect(()=>{a!==(e!==void 0)&&console.error([`MUI: A component is changing the ${a?"":"un"}controlled ${r} state of ${n} to be ${a?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
57
57
  `))},[r,n,e]);const{current:c}=N.useRef(t);N.useEffect(()=>{!a&&!Object.is(c,t)&&console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
58
- `))},[JSON.stringify(t)])}const u=N.useCallback(c=>{a||i(c)},[]);return[l,u]}function An(e){const t=N.useRef(e);return wo(()=>{t.current=e}),N.useRef((...n)=>(0,t.current)(...n)).current}function Ln(...e){return N.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Yi(n,t)})},e)}class jo{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new jo}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}let aa=!0,qa=!1;const um=new jo,cm={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function dm(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&cm[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function mm(e){e.metaKey||e.altKey||e.ctrlKey||(aa=!0)}function Ca(){aa=!1}function hm(){this.visibilityState==="hidden"&&qa&&(aa=!0)}function fm(e){e.addEventListener("keydown",mm,!0),e.addEventListener("mousedown",Ca,!0),e.addEventListener("pointerdown",Ca,!0),e.addEventListener("touchstart",Ca,!0),e.addEventListener("visibilitychange",hm,!0)}function gm(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return aa||dm(t)}function Qi(){const e=N.useCallback(a=>{a!=null&&fm(a.ownerDocument)},[]),t=N.useRef(!1);function n(){return t.current?(qa=!0,um.start(100,()=>{qa=!1}),t.current=!1,!0):!1}function r(a){return gm(a)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}const pm={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Ro(e,t,n=void 0){const r={};return Object.keys(e).forEach(a=>{r[a]=e[a].reduce((s,i)=>{if(i){const l=t(i);l!==""&&s.push(l),n&&n[i]&&s.push(n[i])}return s},[]).join(" ")}),r}function Ur(e){return typeof e=="string"}function ym(e,t,n){return e===void 0||Ur(e)?t:T({},t,{ownerState:T({},t.ownerState,n)})}function Pn(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function ls(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function _m(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:a,className:s}=e;if(!t){const v=gt(n==null?void 0:n.className,s,a==null?void 0:a.className,r==null?void 0:r.className),_=T({},n==null?void 0:n.style,a==null?void 0:a.style,r==null?void 0:r.style),y=T({},n,a,r);return v.length>0&&(y.className=v),Object.keys(_).length>0&&(y.style=_),{props:y,internalRef:void 0}}const i=Pn(T({},a,r)),l=ls(r),u=ls(a),c=t(i),d=gt(c==null?void 0:c.className,n==null?void 0:n.className,s,a==null?void 0:a.className,r==null?void 0:r.className),h=T({},c==null?void 0:c.style,n==null?void 0:n.style,a==null?void 0:a.style,r==null?void 0:r.style),m=T({},c,n,u,l);return d.length>0&&(m.className=d),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:c.ref}}function vm(e,t,n){return typeof e=="function"?e(t,n):e}const bm=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Ot(e){var t;const{elementType:n,externalSlotProps:r,ownerState:a,skipResolvingSlotProps:s=!1}=e,i=Be(e,bm),l=s?{}:vm(r,a),{props:u,internalRef:c}=_m(T({},i,{externalSlotProps:l})),d=Ln(c,l==null?void 0:l.ref,(t=e.additionalProps)==null?void 0:t.ref);return ym(n,T({},u,{ref:d}),a)}const Sm=N.createContext();process.env.NODE_ENV!=="production"&&(f.node,f.bool);const xm=()=>{const e=N.useContext(Sm);return e??!1},wm=N.createContext(void 0);process.env.NODE_ENV!=="production"&&(f.node,f.object);function jm(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const a=t.components[n];return a.defaultProps?En(a.defaultProps,r):!a.styleOverrides&&!a.variants?En(a,r):r}function Rm({props:e,name:t}){const n=N.useContext(wm);return jm({props:e,name:t,theme:{components:n}})}const Am=["component","direction","spacing","divider","children","className","useFlexGap"],Pm=rn(),Cm=Xd("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Mm(e){return Zd({props:e,name:"MuiStack",defaultTheme:Pm})}function Tm(e,t){const n=N.Children.toArray(e).filter(Boolean);return n.reduce((r,a,s)=>(r.push(a),s<n.length-1&&r.push(N.cloneElement(t,{key:`separator-${s}`})),r),[])}const km=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],Om=({ownerState:e,theme:t})=>{let n=T({display:"flex",flexDirection:"column"},st({theme:t},Aa({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=So(t),a=Object.keys(t.breakpoints.values).reduce((u,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(u[c]=!0),u),{}),s=Aa({values:e.direction,base:a}),i=Aa({values:e.spacing,base:a});typeof s=="object"&&Object.keys(s).forEach((u,c,d)=>{if(!s[u]){const m=c>0?s[d[c-1]]:"column";s[u]=m}}),n=et(n,st({theme:t},i,(u,c)=>e.useFlexGap?{gap:zt(r,u)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${km(c?s[c]:e.direction)}`]:zt(r,u)}}))}return n=Fc(t.breakpoints,n),n};function Im(e={}){const{createStyledComponent:t=Cm,useThemeProps:n=Mm,componentName:r="MuiStack"}=e,a=()=>Ro({root:["root"]},u=>nn(r,u),{}),s=t(Om),i=N.forwardRef(function(u,c){const d=n(u),h=Gi(d),{component:m="div",direction:v="column",spacing:_=0,divider:y,children:p,className:x,useFlexGap:j=!1}=h,C=Be(h,Am),A={direction:v,spacing:_,useFlexGap:j},w=a();return o.jsx(s,T({as:m,ownerState:A,ref:c,className:gt(w.root,x)},C,{children:y?Tm(p,y):p}))});return process.env.NODE_ENV!=="production"&&(i.propTypes={children:f.node,direction:f.oneOfType([f.oneOf(["column-reverse","column","row-reverse","row"]),f.arrayOf(f.oneOf(["column-reverse","column","row-reverse","row"])),f.object]),divider:f.node,spacing:f.oneOfType([f.arrayOf(f.oneOfType([f.number,f.string])),f.number,f.object,f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])}),i}var an={},el={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(el);var oa=el.exports,Ma={exports:{}},us;function Em(){return us||(us=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var s in a)({}).hasOwnProperty.call(a,s)&&(n[s]=a[s])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ma)),Ma.exports}var Ta={exports:{}},cs;function Lm(){return cs||(cs=1,function(e){function t(n,r){if(n==null)return{};var a={};for(var s in n)if({}.hasOwnProperty.call(n,s)){if(r.includes(s))continue;a[s]=n[s]}return a}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ta)),Ta.exports}const $m=jt(Ic),Nm=jt(Ec),Fm=jt(Bc),Dm=jt(Ud),Bm=jt(Cd),Um=jt(Ld);var br=oa;Object.defineProperty(an,"__esModule",{value:!0});var Jm=an.default=rh;an.shouldForwardProp=Cn;an.systemDefaultTheme=void 0;var Ye=br(Em()),Xa=br(Lm()),ds=Ym($m),Vm=Nm,Gm=br(Fm),zm=br(Dm),Km=br(Bm),Wm=br(Um);const Hm=["ownerState"],qm=["variants"],Xm=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function tl(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(tl=function(r){return r?n:t})(e)}function Ym(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=tl(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var i=a?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(r,s,i):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function Zm(e){return Object.keys(e).length===0}function Qm(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Cn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const eh=an.systemDefaultTheme=(0,Km.default)(),ms=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function fn({defaultTheme:e,theme:t,themeId:n}){return Zm(t)?e:t[n]||t}function th(e){return e?(t,n)=>n[e]:null}function Mn(e,t){let{ownerState:n}=t,r=(0,Xa.default)(t,Hm);const a=typeof e=="function"?e((0,Ye.default)({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap(s=>Mn(s,(0,Ye.default)({ownerState:n},r)));if(a&&typeof a=="object"&&Array.isArray(a.variants)){const{variants:s=[]}=a;let l=(0,Xa.default)(a,qm);return s.forEach(u=>{let c=!0;typeof u.props=="function"?c=u.props((0,Ye.default)({ownerState:n},r,n)):Object.keys(u.props).forEach(d=>{(n==null?void 0:n[d])!==u.props[d]&&r[d]!==u.props[d]&&(c=!1)}),c&&(Array.isArray(l)||(l=[l]),l.push(typeof u.style=="function"?u.style((0,Ye.default)({ownerState:n},r,n)):u.style))}),l}return a}function rh(e={}){const{themeId:t,defaultTheme:n=eh,rootShouldForwardProp:r=Cn,slotShouldForwardProp:a=Cn}=e,s=i=>(0,Wm.default)((0,Ye.default)({},i,{theme:fn((0,Ye.default)({},i,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(i,l={})=>{(0,ds.internal_processStyles)(i,w=>w.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:d,skipSx:h,overridesResolver:m=th(ms(c))}=l,v=(0,Xa.default)(l,Xm),_=d!==void 0?d:c&&c!=="Root"&&c!=="root"||!1,y=h||!1;let p;process.env.NODE_ENV!=="production"&&u&&(p=`${u}-${ms(c||"Root")}`);let x=Cn;c==="Root"||c==="root"?x=r:c?x=a:Qm(i)&&(x=void 0);const j=(0,ds.default)(i,(0,Ye.default)({shouldForwardProp:x,label:p},v)),C=w=>typeof w=="function"&&w.__emotion_real!==w||(0,Vm.isPlainObject)(w)?P=>Mn(w,(0,Ye.default)({},P,{theme:fn({theme:P.theme,defaultTheme:n,themeId:t})})):w,A=(w,...P)=>{let M=C(w);const z=P?P.map(C):[];u&&m&&z.push(D=>{const q=fn((0,Ye.default)({},D,{defaultTheme:n,themeId:t}));if(!q.components||!q.components[u]||!q.components[u].styleOverrides)return null;const G=q.components[u].styleOverrides,Z={};return Object.entries(G).forEach(([H,xe])=>{Z[H]=Mn(xe,(0,Ye.default)({},D,{theme:q}))}),m(D,Z)}),u&&!_&&z.push(D=>{var q;const G=fn((0,Ye.default)({},D,{defaultTheme:n,themeId:t})),Z=G==null||(q=G.components)==null||(q=q[u])==null?void 0:q.variants;return Mn({variants:Z},(0,Ye.default)({},D,{theme:G}))}),y||z.push(s);const le=z.length-P.length;if(Array.isArray(w)&&le>0){const D=new Array(le).fill("");M=[...w,...D],M.raw=[...w.raw,...D]}const ce=j(M,...z);if(process.env.NODE_ENV!=="production"){let D;u&&(D=`${u}${(0,Gm.default)(c||"")}`),D===void 0&&(D=`Styled(${(0,zm.default)(i)})`),ce.displayName=D}return i.muiName&&(ce.muiName=i.muiName),ce};return j.withConfig&&(A.withConfig=j.withConfig),A}}function nh(e,t){return T({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var _e={};const ah=jt(tc),oh=jt(Qd);var rl=oa;Object.defineProperty(_e,"__esModule",{value:!0});var hs=_e.alpha=sl;_e.blend=gh;_e.colorChannel=void 0;var Ya=_e.darken=Po;_e.decomposeColor=tt;_e.emphasize=il;var fs=_e.getContrastRatio=ch;_e.getLuminance=$n;_e.hexToRgb=nl;_e.hslToRgb=ol;var Za=_e.lighten=Co;_e.private_safeAlpha=dh;_e.private_safeColorChannel=void 0;_e.private_safeDarken=mh;_e.private_safeEmphasize=fh;_e.private_safeLighten=hh;_e.recomposeColor=Sr;_e.rgbToHex=uh;var gs=rl(ah),sh=rl(oh);function Ao(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),(0,sh.default)(e,t,n)}function nl(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,a)=>a<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function ih(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(nl(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
58
+ `))},[JSON.stringify(t)])}const u=N.useCallback(c=>{a||i(c)},[]);return[l,u]}function An(e){const t=N.useRef(e);return wo(()=>{t.current=e}),N.useRef((...n)=>(0,t.current)(...n)).current}function Ln(...e){return N.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Yi(n,t)})},e)}class jo{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new jo}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}let aa=!0,Xa=!1;const cm=new jo,dm={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function mm(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&dm[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function hm(e){e.metaKey||e.altKey||e.ctrlKey||(aa=!0)}function Ca(){aa=!1}function fm(){this.visibilityState==="hidden"&&Xa&&(aa=!0)}function gm(e){e.addEventListener("keydown",hm,!0),e.addEventListener("mousedown",Ca,!0),e.addEventListener("pointerdown",Ca,!0),e.addEventListener("touchstart",Ca,!0),e.addEventListener("visibilitychange",fm,!0)}function pm(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return aa||mm(t)}function Qi(){const e=N.useCallback(a=>{a!=null&&gm(a.ownerDocument)},[]),t=N.useRef(!1);function n(){return t.current?(Xa=!0,cm.start(100,()=>{Xa=!1}),t.current=!1,!0):!1}function r(a){return pm(a)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}const ym={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Ro(e,t,n=void 0){const r={};return Object.keys(e).forEach(a=>{r[a]=e[a].reduce((s,i)=>{if(i){const l=t(i);l!==""&&s.push(l),n&&n[i]&&s.push(n[i])}return s},[]).join(" ")}),r}function Ur(e){return typeof e=="string"}function _m(e,t,n){return e===void 0||Ur(e)?t:k({},t,{ownerState:k({},t.ownerState,n)})}function Pn(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function ls(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function vm(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:a,className:s}=e;if(!t){const b=gt(n==null?void 0:n.className,s,a==null?void 0:a.className,r==null?void 0:r.className),_=k({},n==null?void 0:n.style,a==null?void 0:a.style,r==null?void 0:r.style),y=k({},n,a,r);return b.length>0&&(y.className=b),Object.keys(_).length>0&&(y.style=_),{props:y,internalRef:void 0}}const i=Pn(k({},a,r)),l=ls(r),u=ls(a),c=t(i),d=gt(c==null?void 0:c.className,n==null?void 0:n.className,s,a==null?void 0:a.className,r==null?void 0:r.className),h=k({},c==null?void 0:c.style,n==null?void 0:n.style,a==null?void 0:a.style,r==null?void 0:r.style),m=k({},c,n,u,l);return d.length>0&&(m.className=d),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:c.ref}}function bm(e,t,n){return typeof e=="function"?e(t,n):e}const Sm=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Tt(e){var t;const{elementType:n,externalSlotProps:r,ownerState:a,skipResolvingSlotProps:s=!1}=e,i=Be(e,Sm),l=s?{}:bm(r,a),{props:u,internalRef:c}=vm(k({},i,{externalSlotProps:l})),d=Ln(c,l==null?void 0:l.ref,(t=e.additionalProps)==null?void 0:t.ref);return _m(n,k({},u,{ref:d}),a)}const xm=N.createContext();process.env.NODE_ENV!=="production"&&(f.node,f.bool);const wm=()=>{const e=N.useContext(xm);return e??!1},jm=N.createContext(void 0);process.env.NODE_ENV!=="production"&&(f.node,f.object);function Rm(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const a=t.components[n];return a.defaultProps?En(a.defaultProps,r):!a.styleOverrides&&!a.variants?En(a,r):r}function Am({props:e,name:t}){const n=N.useContext(jm);return Rm({props:e,name:t,theme:{components:n}})}const Pm=["component","direction","spacing","divider","children","className","useFlexGap"],Cm=rn(),Mm=Yd("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function km(e){return Qd({props:e,name:"MuiStack",defaultTheme:Cm})}function Im(e,t){const n=N.Children.toArray(e).filter(Boolean);return n.reduce((r,a,s)=>(r.push(a),s<n.length-1&&r.push(N.cloneElement(t,{key:`separator-${s}`})),r),[])}const Tm=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],Om=({ownerState:e,theme:t})=>{let n=k({display:"flex",flexDirection:"column"},st({theme:t},Aa({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=So(t),a=Object.keys(t.breakpoints.values).reduce((u,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(u[c]=!0),u),{}),s=Aa({values:e.direction,base:a}),i=Aa({values:e.spacing,base:a});typeof s=="object"&&Object.keys(s).forEach((u,c,d)=>{if(!s[u]){const m=c>0?s[d[c-1]]:"column";s[u]=m}}),n=et(n,st({theme:t},i,(u,c)=>e.useFlexGap?{gap:zt(r,u)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Tm(c?s[c]:e.direction)}`]:zt(r,u)}}))}return n=Dc(t.breakpoints,n),n};function Em(e={}){const{createStyledComponent:t=Mm,useThemeProps:n=km,componentName:r="MuiStack"}=e,a=()=>Ro({root:["root"]},u=>nn(r,u),{}),s=t(Om),i=N.forwardRef(function(u,c){const d=n(u),h=Gi(d),{component:m="div",direction:b="column",spacing:_=0,divider:y,children:p,className:x,useFlexGap:j=!1}=h,C=Be(h,Pm),A={direction:b,spacing:_,useFlexGap:j},w=a();return o.jsx(s,k({as:m,ownerState:A,ref:c,className:gt(w.root,x)},C,{children:y?Im(p,y):p}))});return process.env.NODE_ENV!=="production"&&(i.propTypes={children:f.node,direction:f.oneOfType([f.oneOf(["column-reverse","column","row-reverse","row"]),f.arrayOf(f.oneOf(["column-reverse","column","row-reverse","row"])),f.object]),divider:f.node,spacing:f.oneOfType([f.arrayOf(f.oneOfType([f.number,f.string])),f.number,f.object,f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])}),i}var an={},el={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(el);var oa=el.exports,Ma={exports:{}},us;function Lm(){return us||(us=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var s in a)({}).hasOwnProperty.call(a,s)&&(n[s]=a[s])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ma)),Ma.exports}var ka={exports:{}},cs;function $m(){return cs||(cs=1,function(e){function t(n,r){if(n==null)return{};var a={};for(var s in n)if({}.hasOwnProperty.call(n,s)){if(r.includes(s))continue;a[s]=n[s]}return a}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(ka)),ka.exports}const Nm=jt(Ec),Fm=jt(Lc),Dm=jt(Uc),Bm=jt(Jd),Um=jt(Md),Jm=jt($d);var br=oa;Object.defineProperty(an,"__esModule",{value:!0});var Vm=an.default=nh;an.shouldForwardProp=Cn;an.systemDefaultTheme=void 0;var Ye=br(Lm()),qa=br($m()),ds=Zm(Nm),Gm=Fm,zm=br(Dm),Km=br(Bm),Wm=br(Um),Hm=br(Jm);const Xm=["ownerState"],qm=["variants"],Ym=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function tl(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(tl=function(r){return r?n:t})(e)}function Zm(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=tl(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var i=a?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(r,s,i):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function Qm(e){return Object.keys(e).length===0}function eh(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Cn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const th=an.systemDefaultTheme=(0,Wm.default)(),ms=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function fn({defaultTheme:e,theme:t,themeId:n}){return Qm(t)?e:t[n]||t}function rh(e){return e?(t,n)=>n[e]:null}function Mn(e,t){let{ownerState:n}=t,r=(0,qa.default)(t,Xm);const a=typeof e=="function"?e((0,Ye.default)({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap(s=>Mn(s,(0,Ye.default)({ownerState:n},r)));if(a&&typeof a=="object"&&Array.isArray(a.variants)){const{variants:s=[]}=a;let l=(0,qa.default)(a,qm);return s.forEach(u=>{let c=!0;typeof u.props=="function"?c=u.props((0,Ye.default)({ownerState:n},r,n)):Object.keys(u.props).forEach(d=>{(n==null?void 0:n[d])!==u.props[d]&&r[d]!==u.props[d]&&(c=!1)}),c&&(Array.isArray(l)||(l=[l]),l.push(typeof u.style=="function"?u.style((0,Ye.default)({ownerState:n},r,n)):u.style))}),l}return a}function nh(e={}){const{themeId:t,defaultTheme:n=th,rootShouldForwardProp:r=Cn,slotShouldForwardProp:a=Cn}=e,s=i=>(0,Hm.default)((0,Ye.default)({},i,{theme:fn((0,Ye.default)({},i,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(i,l={})=>{(0,ds.internal_processStyles)(i,w=>w.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:d,skipSx:h,overridesResolver:m=rh(ms(c))}=l,b=(0,qa.default)(l,Ym),_=d!==void 0?d:c&&c!=="Root"&&c!=="root"||!1,y=h||!1;let p;process.env.NODE_ENV!=="production"&&u&&(p=`${u}-${ms(c||"Root")}`);let x=Cn;c==="Root"||c==="root"?x=r:c?x=a:eh(i)&&(x=void 0);const j=(0,ds.default)(i,(0,Ye.default)({shouldForwardProp:x,label:p},b)),C=w=>typeof w=="function"&&w.__emotion_real!==w||(0,Gm.isPlainObject)(w)?P=>Mn(w,(0,Ye.default)({},P,{theme:fn({theme:P.theme,defaultTheme:n,themeId:t})})):w,A=(w,...P)=>{let M=C(w);const z=P?P.map(C):[];u&&m&&z.push(D=>{const q=fn((0,Ye.default)({},D,{defaultTheme:n,themeId:t}));if(!q.components||!q.components[u]||!q.components[u].styleOverrides)return null;const G=q.components[u].styleOverrides,Z={};return Object.entries(G).forEach(([X,xe])=>{Z[X]=Mn(xe,(0,Ye.default)({},D,{theme:q}))}),m(D,Z)}),u&&!_&&z.push(D=>{var q;const G=fn((0,Ye.default)({},D,{defaultTheme:n,themeId:t})),Z=G==null||(q=G.components)==null||(q=q[u])==null?void 0:q.variants;return Mn({variants:Z},(0,Ye.default)({},D,{theme:G}))}),y||z.push(s);const le=z.length-P.length;if(Array.isArray(w)&&le>0){const D=new Array(le).fill("");M=[...w,...D],M.raw=[...w.raw,...D]}const ce=j(M,...z);if(process.env.NODE_ENV!=="production"){let D;u&&(D=`${u}${(0,zm.default)(c||"")}`),D===void 0&&(D=`Styled(${(0,Km.default)(i)})`),ce.displayName=D}return i.muiName&&(ce.muiName=i.muiName),ce};return j.withConfig&&(A.withConfig=j.withConfig),A}}function ah(e,t){return k({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var _e={};const oh=jt(rc),sh=jt(em);var rl=oa;Object.defineProperty(_e,"__esModule",{value:!0});var hs=_e.alpha=sl;_e.blend=ph;_e.colorChannel=void 0;var Ya=_e.darken=Po;_e.decomposeColor=tt;_e.emphasize=il;var fs=_e.getContrastRatio=dh;_e.getLuminance=$n;_e.hexToRgb=nl;_e.hslToRgb=ol;var Za=_e.lighten=Co;_e.private_safeAlpha=mh;_e.private_safeColorChannel=void 0;_e.private_safeDarken=hh;_e.private_safeEmphasize=gh;_e.private_safeLighten=fh;_e.recomposeColor=Sr;_e.rgbToHex=ch;var gs=rl(oh),ih=rl(sh);function Ao(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),(0,ih.default)(e,t,n)}function nl(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,a)=>a<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function lh(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(nl(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
59
59
  The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,gs.default)(9,e));let r=e.substring(t+1,e.length-1),a;if(n==="color"){if(r=r.split(" "),a=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${a}\` color space.
60
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,gs.default)(10,a))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:a}}const al=e=>{const t=tt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};_e.colorChannel=al;const lh=(e,t)=>{try{return al(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};_e.private_safeColorChannel=lh;function Sr(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((a,s)=>s<3?parseInt(a,10):a):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function uh(e){if(e.indexOf("#")===0)return e;const{values:t}=tt(e);return`#${t.map((n,r)=>ih(r===3?Math.round(255*n):n)).join("")}`}function ol(e){e=tt(e);const{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,s=r*Math.min(a,1-a),i=(c,d=(c+n/30)%12)=>a-s*Math.max(Math.min(d-3,9-d,1),-1);let l="rgb";const u=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(l+="a",u.push(t[3])),Sr({type:l,values:u})}function $n(e){e=tt(e);let t=e.type==="hsl"||e.type==="hsla"?tt(ol(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ch(e,t){const n=$n(e),r=$n(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function sl(e,t){return e=tt(e),t=Ao(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Sr(e)}function dh(e,t,n){try{return sl(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Po(e,t){if(e=tt(e),t=Ao(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Sr(e)}function mh(e,t,n){try{return Po(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Co(e,t){if(e=tt(e),t=Ao(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Sr(e)}function hh(e,t,n){try{return Co(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function il(e,t=.15){return $n(e)>.5?Po(e,t):Co(e,t)}function fh(e,t,n){try{return il(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function gh(e,t,n,r=1){const a=(u,c)=>Math.round((u**(1/r)*(1-n)+c**(1/r)*n)**r),s=tt(e),i=tt(t),l=[a(s.values[0],i.values[0]),a(s.values[1],i.values[1]),a(s.values[2],i.values[2])];return Sr({type:"rgb",values:l})}const Wr={black:"#000",white:"#fff"},ph={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},or={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},sr={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},$r={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ir={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},lr={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},ur={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},yh=["mode","contrastThreshold","tonalOffset"],ps={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Wr.white,default:Wr.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ka={text:{primary:Wr.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Wr.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function ys(e,t,n,r){const a=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Za(e.main,a):t==="dark"&&(e.dark=Ya(e.main,s)))}function _h(e="light"){return e==="dark"?{main:ir[200],light:ir[50],dark:ir[400]}:{main:ir[700],light:ir[400],dark:ir[800]}}function vh(e="light"){return e==="dark"?{main:or[200],light:or[50],dark:or[400]}:{main:or[500],light:or[300],dark:or[700]}}function bh(e="light"){return e==="dark"?{main:sr[500],light:sr[300],dark:sr[700]}:{main:sr[700],light:sr[400],dark:sr[800]}}function Sh(e="light"){return e==="dark"?{main:lr[400],light:lr[300],dark:lr[700]}:{main:lr[700],light:lr[500],dark:lr[900]}}function xh(e="light"){return e==="dark"?{main:ur[400],light:ur[300],dark:ur[700]}:{main:ur[800],light:ur[500],dark:ur[900]}}function wh(e="light"){return e==="dark"?{main:$r[400],light:$r[300],dark:$r[700]}:{main:"#ed6c02",light:$r[500],dark:$r[900]}}function jh(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,a=Be(e,yh),s=e.primary||_h(t),i=e.secondary||vh(t),l=e.error||bh(t),u=e.info||Sh(t),c=e.success||xh(t),d=e.warning||wh(t);function h(y){const p=fs(y,ka.text.primary)>=n?ka.text.primary:ps.text.primary;if(process.env.NODE_ENV!=="production"){const x=fs(y,p);x<3&&console.error([`MUI: The contrast ratio of ${x}:1 for ${p} on ${y}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
61
- `))}return p}const m=({color:y,name:p,mainShade:x=500,lightShade:j=300,darkShade:C=700})=>{if(y=T({},y),!y.main&&y[x]&&(y.main=y[x]),!y.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${p?` (${p})`:""} provided to augmentColor(color) is invalid.
60
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,gs.default)(10,a))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:a}}const al=e=>{const t=tt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};_e.colorChannel=al;const uh=(e,t)=>{try{return al(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};_e.private_safeColorChannel=uh;function Sr(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((a,s)=>s<3?parseInt(a,10):a):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function ch(e){if(e.indexOf("#")===0)return e;const{values:t}=tt(e);return`#${t.map((n,r)=>lh(r===3?Math.round(255*n):n)).join("")}`}function ol(e){e=tt(e);const{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,s=r*Math.min(a,1-a),i=(c,d=(c+n/30)%12)=>a-s*Math.max(Math.min(d-3,9-d,1),-1);let l="rgb";const u=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(l+="a",u.push(t[3])),Sr({type:l,values:u})}function $n(e){e=tt(e);let t=e.type==="hsl"||e.type==="hsla"?tt(ol(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function dh(e,t){const n=$n(e),r=$n(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function sl(e,t){return e=tt(e),t=Ao(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Sr(e)}function mh(e,t,n){try{return sl(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Po(e,t){if(e=tt(e),t=Ao(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Sr(e)}function hh(e,t,n){try{return Po(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Co(e,t){if(e=tt(e),t=Ao(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Sr(e)}function fh(e,t,n){try{return Co(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function il(e,t=.15){return $n(e)>.5?Po(e,t):Co(e,t)}function gh(e,t,n){try{return il(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function ph(e,t,n,r=1){const a=(u,c)=>Math.round((u**(1/r)*(1-n)+c**(1/r)*n)**r),s=tt(e),i=tt(t),l=[a(s.values[0],i.values[0]),a(s.values[1],i.values[1]),a(s.values[2],i.values[2])];return Sr({type:"rgb",values:l})}const Wr={black:"#000",white:"#fff"},yh={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},or={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},sr={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},$r={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ir={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},lr={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},ur={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},_h=["mode","contrastThreshold","tonalOffset"],ps={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Wr.white,default:Wr.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Ia={text:{primary:Wr.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Wr.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function ys(e,t,n,r){const a=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Za(e.main,a):t==="dark"&&(e.dark=Ya(e.main,s)))}function vh(e="light"){return e==="dark"?{main:ir[200],light:ir[50],dark:ir[400]}:{main:ir[700],light:ir[400],dark:ir[800]}}function bh(e="light"){return e==="dark"?{main:or[200],light:or[50],dark:or[400]}:{main:or[500],light:or[300],dark:or[700]}}function Sh(e="light"){return e==="dark"?{main:sr[500],light:sr[300],dark:sr[700]}:{main:sr[700],light:sr[400],dark:sr[800]}}function xh(e="light"){return e==="dark"?{main:lr[400],light:lr[300],dark:lr[700]}:{main:lr[700],light:lr[500],dark:lr[900]}}function wh(e="light"){return e==="dark"?{main:ur[400],light:ur[300],dark:ur[700]}:{main:ur[800],light:ur[500],dark:ur[900]}}function jh(e="light"){return e==="dark"?{main:$r[400],light:$r[300],dark:$r[700]}:{main:"#ed6c02",light:$r[500],dark:$r[900]}}function Rh(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,a=Be(e,_h),s=e.primary||vh(t),i=e.secondary||bh(t),l=e.error||Sh(t),u=e.info||xh(t),c=e.success||wh(t),d=e.warning||jh(t);function h(y){const p=fs(y,Ia.text.primary)>=n?Ia.text.primary:ps.text.primary;if(process.env.NODE_ENV!=="production"){const x=fs(y,p);x<3&&console.error([`MUI: The contrast ratio of ${x}:1 for ${p} on ${y}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
61
+ `))}return p}const m=({color:y,name:p,mainShade:x=500,lightShade:j=300,darkShade:C=700})=>{if(y=k({},y),!y.main&&y[x]&&(y.main=y[x]),!y.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${p?` (${p})`:""} provided to augmentColor(color) is invalid.
62
62
  The color object needs to have a \`main\` property or a \`${x}\` property.`:Gr(11,p?` (${p})`:"",x));if(typeof y.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${p?` (${p})`:""} provided to augmentColor(color) is invalid.
63
63
  \`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead.
64
64
 
@@ -72,13 +72,13 @@ const theme1 = createTheme({ palette: {
72
72
 
73
73
  const theme2 = createTheme({ palette: {
74
74
  primary: { main: green[500] },
75
- } });`:Gr(12,p?` (${p})`:"",JSON.stringify(y.main)));return ys(y,"light",j,r),ys(y,"dark",C,r),y.contrastText||(y.contrastText=h(y.main)),y},v={dark:ka,light:ps};return process.env.NODE_ENV!=="production"&&(v[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),et(T({common:T({},Wr),mode:t,primary:m({color:s,name:"primary"}),secondary:m({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:l,name:"error"}),warning:m({color:d,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:c,name:"success"}),grey:ph,contrastThreshold:n,getContrastText:h,augmentColor:m,tonalOffset:r},v[t]),a)}const Rh=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ah(e){return Math.round(e*1e5)/1e5}const _s={textTransform:"uppercase"},vs='"Roboto", "Helvetica", "Arial", sans-serif';function Ph(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=vs,fontSize:a=14,fontWeightLight:s=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:c=16,allVariants:d,pxToRem:h}=n,m=Be(n,Rh);process.env.NODE_ENV!=="production"&&(typeof a!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof c!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const v=a/14,_=h||(x=>`${x/c*v}rem`),y=(x,j,C,A,w)=>T({fontFamily:r,fontWeight:x,fontSize:_(j),lineHeight:C},r===vs?{letterSpacing:`${Ah(A/j)}em`}:{},w,d),p={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(l,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(l,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(l,14,1.75,.4,_s),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,_s),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return et(T({htmlFontSize:c,pxToRem:_,fontFamily:r,fontSize:a,fontWeightLight:s,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:u},p),m,{clone:!1})}const Ch=.2,Mh=.14,Th=.12;function me(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ch})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Mh})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Th})`].join(",")}const kh=["none",me(0,2,1,-1,0,1,1,0,0,1,3,0),me(0,3,1,-2,0,2,2,0,0,1,5,0),me(0,3,3,-2,0,3,4,0,0,1,8,0),me(0,2,4,-1,0,4,5,0,0,1,10,0),me(0,3,5,-1,0,5,8,0,0,1,14,0),me(0,3,5,-1,0,6,10,0,0,1,18,0),me(0,4,5,-2,0,7,10,1,0,2,16,1),me(0,5,5,-3,0,8,10,1,0,3,14,2),me(0,5,6,-3,0,9,12,1,0,3,16,2),me(0,6,6,-3,0,10,14,1,0,4,18,3),me(0,6,7,-4,0,11,15,1,0,4,20,3),me(0,7,8,-4,0,12,17,2,0,5,22,4),me(0,7,8,-4,0,13,19,2,0,5,24,4),me(0,7,9,-4,0,14,21,2,0,5,26,4),me(0,8,9,-5,0,15,22,2,0,6,28,5),me(0,8,10,-5,0,16,24,2,0,6,30,5),me(0,8,11,-5,0,17,26,2,0,6,32,5),me(0,9,11,-5,0,18,28,2,0,7,34,6),me(0,9,12,-6,0,19,29,2,0,7,36,6),me(0,10,13,-6,0,20,31,3,0,8,38,7),me(0,10,13,-6,0,21,33,3,0,8,40,7),me(0,10,14,-6,0,22,35,3,0,8,42,7),me(0,11,14,-7,0,23,36,3,0,9,44,8),me(0,11,15,-7,0,24,38,3,0,9,46,8)],Oh=["duration","easing","delay"],Ih={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Eh={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function bs(e){return`${Math.round(e)}ms`}function Lh(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function $h(e){const t=T({},Ih,e.easing),n=T({},Eh,e.duration);return T({getAutoHeightDuration:Lh,create:(a=["all"],s={})=>{const{duration:i=n.standard,easing:l=t.easeInOut,delay:u=0}=s,c=Be(s,Oh);if(process.env.NODE_ENV!=="production"){const d=m=>typeof m=="string",h=m=>!isNaN(parseFloat(m));!d(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(i)&&!d(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),d(l)||console.error('MUI: Argument "easing" must be a string.'),!h(u)&&!d(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
76
- `)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(d=>`${d} ${typeof i=="string"?i:bs(i)} ${l} ${typeof u=="string"?u:bs(u)}`).join(",")}},e,{easing:t,duration:n})}const Nh={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Fh=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Dh(e={},...t){const{mixins:n={},palette:r={},transitions:a={},typography:s={}}=e,i=Be(e,Fh);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Gr(18));const l=jh(r),u=rn(e);let c=et(u,{mixins:nh(u.breakpoints,n),palette:l,shadows:kh.slice(),typography:Ph(l,s),transitions:$h(a),zIndex:T({},Nh)});if(c=et(c,i),c=t.reduce((d,h)=>et(d,h),c),process.env.NODE_ENV!=="production"){const d=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],h=(m,v)=>{let _;for(_ in m){const y=m[_];if(d.indexOf(_)!==-1&&Object.keys(y).length>0){if(process.env.NODE_ENV!=="production"){const p=nn("",_);console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${_}\` internal state.`,"You can not override it like this: ",JSON.stringify(m,null,2),"",`Instead, you need to use the '&.${p}' syntax:`,JSON.stringify({root:{[`&.${p}`]:y}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
77
- `))}m[_]={}}}};Object.keys(c.components).forEach(m=>{const v=c.components[m].styleOverrides;v&&m.indexOf("Mui")===0&&h(v,m)})}return c.unstable_sxConfig=T({},en,i==null?void 0:i.unstable_sxConfig),c.unstable_sx=function(h){return tn({sx:h,theme:this})},c}const Bh=Dh(),Uh="$$material";function Mo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Jh=e=>Mo(e)&&e!=="classes",Rt=Jm({themeId:Uh,defaultTheme:Bh,rootShouldForwardProp:Jh});process.env.NODE_ENV!=="production"&&(f.node,f.object.isRequired);function To(e){return Rm(e)}const yr=Im({createStyledComponent:Rt("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>To({props:e,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(yr.propTypes={children:f.node,component:f.elementType,direction:f.oneOfType([f.oneOf(["column-reverse","column","row-reverse","row"]),f.arrayOf(f.oneOf(["column-reverse","column","row-reverse","row"])),f.object]),divider:f.node,spacing:f.oneOfType([f.arrayOf(f.oneOfType([f.number,f.string])),f.number,f.object,f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),useFlexGap:f.bool});const Vh={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Nn{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||Vh,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,a){return a&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new Nn(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Nn(this.logger,t)}}var ht=new Nn;class sa{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(i=>{let[l,u]=i;for(let c=0;c<u;c++)l(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(i=>{let[l,u]=i;for(let c=0;c<u;c++)l.apply(l,[t,...r])})}}const Nr=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},Ss=e=>e==null?"":""+e,Gh=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},zh=/###/g,xs=e=>e&&e.indexOf("###")>-1?e.replace(zh,"."):e,ws=e=>!e||typeof e=="string",Jr=(e,t,n)=>{const r=typeof t!="string"?t:t.split(".");let a=0;for(;a<r.length-1;){if(ws(e))return{};const s=xs(r[a]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++a}return ws(e)?{}:{obj:e,k:xs(r[a])}},js=(e,t,n)=>{const{obj:r,k:a}=Jr(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let s=t[t.length-1],i=t.slice(0,t.length-1),l=Jr(e,i,Object);for(;l.obj===void 0&&i.length;)s=`${i[i.length-1]}.${s}`,i=i.slice(0,i.length-1),l=Jr(e,i,Object),l&&l.obj&&typeof l.obj[`${l.k}.${s}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${s}`]=n},Kh=(e,t,n,r)=>{const{obj:a,k:s}=Jr(e,t,Object);a[s]=a[s]||[],a[s].push(n)},Fn=(e,t)=>{const{obj:n,k:r}=Jr(e,t);if(n)return n[r]},Wh=(e,t,n)=>{const r=Fn(e,n);return r!==void 0?r:Fn(t,n)},ll=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):ll(e[r],t[r],n):e[r]=t[r]);return e},cr=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Hh={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const qh=e=>typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>Hh[t]):e;class Xh{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const Yh=[" ",",","?","!",";"],Zh=new Xh(20),Qh=(e,t,n)=>{t=t||"",n=n||"";const r=Yh.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=Zh.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let s=!a.test(e);if(!s){const i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(s=!0)}return s},Qa=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let a=e;for(let s=0;s<r.length;){if(!a||typeof a!="object")return;let i,l="";for(let u=s;u<r.length;++u)if(u!==s&&(l+=n),l+=r[u],i=a[l],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&u<r.length-1)continue;s+=u-s+1;break}a=i}return a},Dn=e=>e&&e.indexOf("_")>0?e.replace("_","-"):e;class Rs extends sa{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],r&&(Array.isArray(r)?l.push(...r):typeof r=="string"&&s?l.push(...r.split(s)):l.push(r)));const u=Fn(this.data,l);return!u&&!n&&!r&&t.indexOf(".")>-1&&(t=l[0],n=l[1],r=l.slice(2).join(".")),u||!i||typeof r!="string"?u:Qa(this.data&&this.data[t]&&this.data[t][n],r,s)}addResource(t,n,r,a){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let l=[t,n];r&&(l=l.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(l=t.split("."),a=n,n=l[1]),this.addNamespaces(n),js(this.data,l,a),s.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const s in r)(typeof r[s]=="string"||Array.isArray(r[s]))&&this.addResource(t,n,s,r[s],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,s){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),a=r,r=n,n=l[1]),this.addNamespaces(n);let u=Fn(this.data,l)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?ll(u,r,s):u={...u,...r},js(this.data,l,u),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var ul={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(s=>{this.processors[s]&&(t=this.processors[s].process(t,n,r,a))}),t}};const As={};class Bn extends sa{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Gh(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ht.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Qh(t,r,a);if(i&&!l){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:s};const c=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(c[0])>-1)&&(s=c.shift()),t=c.join(a)}return typeof s=="string"&&(s=[s]),{key:t,namespaces:s}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:l}=this.extractFromKey(t[t.length-1],n),u=l[l.length-1],c=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(d){const A=n.nsSeparator||this.options.nsSeparator;return a?{res:`${u}${A}${i}`,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${A}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:i}const h=this.resolve(t,n);let m=h&&h.res;const v=h&&h.usedKey||i,_=h&&h.exactUsedKey||i,y=Object.prototype.toString.apply(m),p=["[object Number]","[object Function]","[object RegExp]"],x=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,j=!this.i18nFormat||this.i18nFormat.handleAsObject;if(j&&m&&(typeof m!="string"&&typeof m!="boolean"&&typeof m!="number")&&p.indexOf(y)<0&&!(typeof x=="string"&&Array.isArray(m))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const A=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,m,{...n,ns:l}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(h.res=A,h.usedParams=this.getUsedParamsDetails(n),h):A}if(s){const A=Array.isArray(m),w=A?[]:{},P=A?_:v;for(const M in m)if(Object.prototype.hasOwnProperty.call(m,M)){const z=`${P}${s}${M}`;w[M]=this.translate(z,{...n,joinArrays:!1,ns:l}),w[M]===z&&(w[M]=m[M])}m=w}}else if(j&&typeof x=="string"&&Array.isArray(m))m=m.join(x),m&&(m=this.extendTranslation(m,t,n,r));else{let A=!1,w=!1;const P=n.count!==void 0&&typeof n.count!="string",M=Bn.hasDefaultValue(n),z=P?this.pluralResolver.getSuffix(c,n.count,n):"",le=n.ordinal&&P?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",ce=P&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),D=ce&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${z}`]||n[`defaultValue${le}`]||n.defaultValue;!this.isValidLookup(m)&&M&&(A=!0,m=D),this.isValidLookup(m)||(w=!0,m=i);const G=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&w?void 0:m,Z=M&&D!==m&&this.options.updateMissing;if(w||A||Z){if(this.logger.log(Z?"updateKey":"missingKey",c,u,i,Z?D:m),s){const ee=this.resolve(i,{...n,keySeparator:!1});ee&&ee.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let H=[];const xe=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&xe&&xe[0])for(let ee=0;ee<xe.length;ee++)H.push(xe[ee]);else this.options.saveMissingTo==="all"?H=this.languageUtils.toResolveHierarchy(n.lng||this.language):H.push(n.lng||this.language);const ue=(ee,Re,Ie)=>{const nt=M&&Ie!==m?Ie:G;this.options.missingKeyHandler?this.options.missingKeyHandler(ee,u,Re,nt,Z,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(ee,u,Re,nt,Z,n),this.emit("missingKey",ee,u,Re,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&P?H.forEach(ee=>{const Re=this.pluralResolver.getSuffixes(ee,n);ce&&n[`defaultValue${this.options.pluralSeparator}zero`]&&Re.indexOf(`${this.options.pluralSeparator}zero`)<0&&Re.push(`${this.options.pluralSeparator}zero`),Re.forEach(Ie=>{ue([ee],i+Ie,n[`defaultValue${Ie}`]||D)})}):ue(H,i,D))}m=this.extendTranslation(m,t,n,h,r),w&&m===i&&this.options.appendNamespaceToMissingKey&&(m=`${u}:${i}`),(w||A)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}:${i}`:i,A?m:void 0):m=this.options.parseMissingKeyHandler(m))}return a?(h.res=m,h.usedParams=this.getUsedParamsDetails(n),h):m}extendTranslation(t,n,r,a,s){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const c=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(c){const m=t.match(this.interpolator.nestingRegexp);d=m&&m.length}let h=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),t=this.interpolator.interpolate(t,h,r.lng||this.language||a.usedLng,r),c){const m=t.match(this.interpolator.nestingRegexp),v=m&&m.length;d<v&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!=="v1"&&a&&a.res&&(r.lng=this.language||a.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var m=arguments.length,v=new Array(m),_=0;_<m;_++)v[_]=arguments[_];return s&&s[0]===v[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${v[0]} in key: ${n[0]}`),null):i.translate(...v,n)},r)),r.interpolation&&this.interpolator.reset()}const l=r.postProcess||this.options.postProcess,u=typeof l=="string"?[l]:l;return t!=null&&u&&u.length&&r.applyPostProcessor!==!1&&(t=ul.handle(u,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a,s,i,l;return typeof t=="string"&&(t=[t]),t.forEach(u=>{if(this.isValidLookup(r))return;const c=this.extractFromKey(u,n),d=c.key;a=d;let h=c.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const m=n.count!==void 0&&typeof n.count!="string",v=m&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),_=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",y=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);h.forEach(p=>{this.isValidLookup(r)||(l=p,!As[`${y[0]}-${p}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(As[`${y[0]}-${p}`]=!0,this.logger.warn(`key "${a}" for languages "${y.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(x=>{if(this.isValidLookup(r))return;i=x;const j=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(j,d,x,p,n);else{let A;m&&(A=this.pluralResolver.getSuffix(x,n.count,n));const w=`${this.options.pluralSeparator}zero`,P=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(j.push(d+A),n.ordinal&&A.indexOf(P)===0&&j.push(d+A.replace(P,this.options.pluralSeparator)),v&&j.push(d+w)),_){const M=`${d}${this.options.contextSeparator}${n.context}`;j.push(M),m&&(j.push(M+A),n.ordinal&&A.indexOf(P)===0&&j.push(M+A.replace(P,this.options.pluralSeparator)),v&&j.push(M+w))}}let C;for(;C=j.pop();)this.isValidLookup(r)||(s=C,r=this.getResource(x,p,C,n))}))})}),{res:r,usedKey:a,exactUsedKey:s,usedLng:i,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&typeof t.replace!="string";let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const s of n)delete a[s]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const Oa=e=>e.charAt(0).toUpperCase()+e.slice(1);class Ps{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ht.create("languageUtils")}getScriptPartFromCode(t){if(t=Dn(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Dn(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(a=>a.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Oa(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Oa(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=Oa(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(s=>{if(s===a)return s;if(!(s.indexOf("-")<0&&a.indexOf("-")<0)&&(s.indexOf("-")>0&&a.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===a||s.indexOf(a)===0&&a.length>1))return s})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],s=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):typeof t=="string"&&s(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&s(this.formatLanguageCode(i))}),a}}let ef=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],tf={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const rf=["v1","v2","v3"],nf=["v4"],Cs={zero:0,one:1,two:2,few:3,many:4,other:5},af=()=>{const e={};return ef.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:tf[t.fc]}})}),e};class of{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=ht.create("pluralResolver"),(!this.options.compatibilityJSON||nf.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=af()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Dn(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((a,s)=>Cs[a]-Cs[s]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):r.numbers.map(a=>this.getSuffix(t,a,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:this.getSuffixRetroCompatible(a,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let a=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const s=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?s():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!rf.includes(this.options.compatibilityJSON)}}const Ms=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=Wh(e,t,n);return!s&&a&&typeof n=="string"&&(s=Qa(e,n,r),s===void 0&&(s=Qa(t,n,r))),s},Ia=e=>e.replace(/\$/g,"$$$$");class sf{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ht.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:s,prefixEscaped:i,suffix:l,suffixEscaped:u,formatSeparator:c,unescapeSuffix:d,unescapePrefix:h,nestingPrefix:m,nestingPrefixEscaped:v,nestingSuffix:_,nestingSuffixEscaped:y,nestingOptionsSeparator:p,maxReplaces:x,alwaysFormat:j}=t.interpolation;this.escape=n!==void 0?n:qh,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=s?cr(s):i||"{{",this.suffix=l?cr(l):u||"}}",this.formatSeparator=c||",",this.unescapePrefix=d?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=m?cr(m):v||cr("$t("),this.nestingSuffix=_?cr(_):y||cr(")"),this.nestingOptionsSeparator=p||",",this.maxReplaces=x||1e3,this.alwaysFormat=j!==void 0?j:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){let s,i,l;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=v=>{if(v.indexOf(this.formatSeparator)<0){const x=Ms(n,u,v,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(x,void 0,r,{...a,...n,interpolationkey:v}):x}const _=v.split(this.formatSeparator),y=_.shift().trim(),p=_.join(this.formatSeparator).trim();return this.format(Ms(n,u,y,this.options.keySeparator,this.options.ignoreJSONStructure),p,r,{...a,...n,interpolationkey:y})};this.resetRegExp();const d=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,h=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:v=>Ia(v)},{regex:this.regexp,safeValue:v=>this.escapeValue?Ia(this.escape(v)):Ia(v)}].forEach(v=>{for(l=0;s=v.regex.exec(t);){const _=s[1].trim();if(i=c(_),i===void 0)if(typeof d=="function"){const p=d(t,s,a);i=typeof p=="string"?p:""}else if(a&&Object.prototype.hasOwnProperty.call(a,_))i="";else if(h){i=s[0];continue}else this.logger.warn(`missed to pass in variable ${_} for interpolating ${t}`),i="";else typeof i!="string"&&!this.useRawValueToEscape&&(i=Ss(i));const y=v.safeValue(i);if(t=t.replace(s[0],y),h?(v.regex.lastIndex+=i.length,v.regex.lastIndex-=s[0].length):v.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,i;const l=(u,c)=>{const d=this.nestingOptionsSeparator;if(u.indexOf(d)<0)return u;const h=u.split(new RegExp(`${d}[ ]*{`));let m=`{${h[1]}`;u=h[0],m=this.interpolate(m,i);const v=m.match(/'/g),_=m.match(/"/g);(v&&v.length%2===0&&!_||_.length%2!==0)&&(m=m.replace(/'/g,'"'));try{i=JSON.parse(m),c&&(i={...c,...i})}catch(y){return this.logger.warn(`failed parsing options string in nesting for key ${u}`,y),`${u}${d}${m}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,u};for(;a=this.nestingRegexp.exec(t);){let u=[];i={...r},i=i.replace&&typeof i.replace!="string"?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let c=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const d=a[1].split(this.formatSeparator).map(h=>h.trim());a[1]=d.shift(),u=d,c=!0}if(s=n(l.call(this,a[1].trim(),i),i),s&&a[0]===t&&typeof s!="string")return s;typeof s!="string"&&(s=Ss(s)),s||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),s=""),c&&(s=u.reduce((d,h)=>this.format(d,h,r.lng,{...r,interpolationkey:a[1].trim()}),s.trim())),t=t.replace(a[0],s),this.regexp.lastIndex=0}return t}}const lf=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(i=>{if(i){const[l,...u]=i.split(":"),c=u.join(":").trim().replace(/^'+|'+$/g,""),d=l.trim();n[d]||(n[d]=c),c==="false"&&(n[d]=!1),c==="true"&&(n[d]=!0),isNaN(c)||(n[d]=parseInt(c,10))}})}return{formatName:t,formatOptions:n}},dr=e=>{const t={};return(n,r,a)=>{let s=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(s={formatParams:{[a.interpolationkey]:a.formatParams[a.interpolationkey]},interpolationKey:a.interpolationkey});const i=r+JSON.stringify(s);let l=t[i];return l||(l=e(Dn(r),a),t[i]=l),l(n)}};class uf{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ht.create("formatter"),this.options=t,this.formats={number:dr((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return s=>a.format(s)}),currency:dr((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return s=>a.format(s)}),datetime:dr((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return s=>a.format(s)}),relativetime:dr((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return s=>a.format(s,r.range||"day")}),list:dr((n,r)=>{const a=new Intl.ListFormat(n,{...r});return s=>a.format(s)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=dr(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(l=>l.indexOf(")")>-1)){const l=s.findIndex(u=>u.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,l)].join(this.formatSeparator)}return s.reduce((l,u)=>{const{formatName:c,formatOptions:d}=lf(u);if(this.formats[c]){let h=l;try{const m=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},v=m.locale||m.lng||a.locale||a.lng||r;h=this.formats[c](l,v,{...d,...a,...m})}catch(m){this.logger.warn(m)}return h}else this.logger.warn(`there was no format function for ${c}`);return l},t)}}const cf=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class df extends sa{constructor(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=ht.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,a.backend,a)}queueLoad(t,n,r,a){const s={},i={},l={},u={};return t.forEach(c=>{let d=!0;n.forEach(h=>{const m=`${c}|${h}`;!r.reload&&this.store.hasResourceBundle(c,h)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?i[m]===void 0&&(i[m]=!0):(this.state[m]=1,d=!1,i[m]===void 0&&(i[m]=!0),s[m]===void 0&&(s[m]=!0),u[h]===void 0&&(u[h]=!0)))}),d||(l[c]=!0)}),(Object.keys(s).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(s),pending:Object.keys(i),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(u)}}loaded(t,n,r){const a=t.split("|"),s=a[0],i=a[1];n&&this.emit("failedLoading",s,i,n),r&&this.store.addResourceBundle(s,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const l={};this.queue.forEach(u=>{Kh(u.loaded,[s],i),cf(u,t),n&&u.errors.push(n),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(c=>{l[c]||(l[c]={});const d=u.loaded[c];d.length&&d.forEach(h=>{l[c][h]===void 0&&(l[c][h]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(u=>!u.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:s,callback:i});return}this.readingCalls++;const l=(c,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(c&&d&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,a+1,s*2,i)},s);return}i(c,d)},u=this.backend[r].bind(this.backend);if(u.length===2){try{const c=u(t,n);c&&typeof c.then=="function"?c.then(d=>l(null,d)).catch(l):l(null,c)}catch(c){l(c)}return}return u(t,n,l)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const s=this.queueLoad(t,n,r,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],s=r[1];this.read(a,s,"read",void 0,void 0,(i,l)=>{i&&this.logger.warn(`${n}loading namespace ${s} for language ${a} failed`,i),!i&&l&&this.logger.log(`${n}loaded namespace ${s} for language ${a}`,l),this.loaded(t,i,l)})}saveMissing(t,n,r,a,s){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const u={...i,isUpdate:s},c=this.backend.create.bind(this.backend);if(c.length<6)try{let d;c.length===5?d=c(t,n,r,a,u):d=c(t,n,r,a),d&&typeof d.then=="function"?d.then(h=>l(null,h)).catch(l):l(null,d)}catch(d){l(d)}else c(t,n,r,a,l,u)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const Ts=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),ks=e=>(typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),gn=()=>{},mf=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Hr extends sa{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=ks(t),this.services={},this.logger=ht,this.modules={external:[]},mf(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=Ts();this.options={...a,...this.options,...ks(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const s=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?ht.init(s(this.modules.logger),this.options):ht.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=uf);const h=new Ps(this.options);this.store=new Rs(this.options.resources,this.options);const m=this.services;m.logger=ht,m.resourceStore=this.store,m.languageUtils=h,m.pluralResolver=new of(h,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(m.formatter=s(d),m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new sf(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new df(s(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",function(v){for(var _=arguments.length,y=new Array(_>1?_-1:0),p=1;p<_;p++)y[p-1]=arguments[p];t.emit(v,...y)}),this.modules.languageDetector&&(m.languageDetector=s(this.modules.languageDetector),m.languageDetector.init&&m.languageDetector.init(m,this.options.detection,this.options)),this.modules.i18nFormat&&(m.i18nFormat=s(this.modules.i18nFormat),m.i18nFormat.init&&m.i18nFormat.init(this)),this.translator=new Bn(this.services,this.options),this.translator.on("*",function(v){for(var _=arguments.length,y=new Array(_>1?_-1:0),p=1;p<_;p++)y[p-1]=arguments[p];t.emit(v,...y)}),this.modules.external.forEach(v=>{v.init&&v.init(this)})}if(this.format=this.options.interpolation.format,r||(r=gn),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const u=Nr(),c=()=>{const d=(h,m)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),u.resolve(m),r(h,m)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),u}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gn;const a=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],i=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(c=>{c!=="cimode"&&s.indexOf(c)<0&&s.push(c)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>i(u)),this.options.preload&&this.options.preload.forEach(l=>i(l)),this.services.backendConnector.load(s,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(l)})}else r(null)}reloadResources(t,n,r){const a=Nr();return t||(t=this.languages),n||(n=this.options.ns),r||(r=gn),this.services.backendConnector.reload(t,n,s=>{a.resolve(),r(s)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&ul.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=Nr();this.emit("languageChanging",t);const s=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},i=(u,c)=>{c?(s(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(u,function(){return r.t(...arguments)})},l=u=>{!t&&!u&&this.services.languageDetector&&(u=[]);const c=typeof u=="string"?u:this.services.languageUtils.getBestMatchFromCodes(u);c&&(this.language||s(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,d=>{i(d,c)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),a}getFixedT(t,n,r){var a=this;const s=function(i,l){let u;if(typeof l!="object"){for(var c=arguments.length,d=new Array(c>2?c-2:0),h=2;h<c;h++)d[h-2]=arguments[h];u=a.options.overloadTranslationOptionHandler([i,l].concat(d))}else u={...l};u.lng=u.lng||s.lng,u.lngs=u.lngs||s.lngs,u.ns=u.ns||s.ns,u.keyPrefix!==""&&(u.keyPrefix=u.keyPrefix||r||s.keyPrefix);const m=a.options.keySeparator||".";let v;return u.keyPrefix&&Array.isArray(i)?v=i.map(_=>`${u.keyPrefix}${m}${_}`):v=u.keyPrefix?`${u.keyPrefix}${m}${i}`:i,a.t(v,u)};return typeof t=="string"?s.lng=t:s.lngs=t,s.ns=n,s.keyPrefix=r,s}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(l,u)=>{const c=this.services.backendConnector.state[`${l}|${u}`];return c===-1||c===2};if(n.precheck){const l=n.precheck(this,i);if(l!==void 0)return l}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!a||i(s,t)))}loadNamespaces(t,n){const r=Nr();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=Nr();typeof t=="string"&&(t=[t]);const a=this.options.preload||[],s=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return s.length?(this.options.preload=a.concat(s),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new Ps(Ts());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Hr(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gn;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},s=new Hr(a);return(t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(l=>{s[l]=this[l]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r&&(s.store=new Rs(this.store.data,a),s.services.resourceStore=s.store),s.translator=new Bn(s.services,a),s.translator.on("*",function(l){for(var u=arguments.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=arguments[d];s.emit(l,...c)}),s.init(a,n),s.translator.options=a,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Te=Hr.createInstance();Te.createInstance=Hr.createInstance;Te.createInstance;Te.dir;Te.init;Te.loadResources;Te.reloadResources;Te.use;Te.changeLanguage;Te.getFixedT;Te.t;Te.exists;Te.setDefaultNamespace;Te.hasLoadedNamespace;Te.loadNamespaces;Te.loadLanguages;const hf={"Jogging.Cartesian.Translation.velocityMmPerSec.lb":"{{amount}} mm/s","Jogging.Cartesian.Rotation.velocityDegPerSec.lb":"{{amount}}°/s","Jogging.Velocity.lb":"Geschwindigkeit","General.degree.variable":"{{amount}}°","General.mm.variable":"{{amount}}mm","Jogging.Cartesian.MotionType.lb":"Bewegungstyp","Jogging.Cartesian.Translation.bt":"Translation","Jogging.Cartesian.Rotation.bt":"Rotation","Jogging.Joints.JointValues.lb":"Gelenkwerte","Jogging.Increment.Continuous.dd":"Fortlaufend","Jogging.Cartesian.Orientation.lb":"Orientierung","Jogging.Activate.bt":"Jogging aktivieren","Jogging.Activating.lb":"Jogging wird aktiviert","Jogging.JointLimitsReached.lb":"Joint-Limit für Joint {{jointNumbers}} erreicht"},ff={"Jogging.Cartesian.Translation.velocityMmPerSec.lb":"{{amount}} mm/s","Jogging.Cartesian.Rotation.velocityDegPerSec.lb":"{{amount}}°/s","Jogging.Velocity.lb":"Velocity","General.degree.variable":"{{amount}}°","General.mm.variable":"{{amount}}mm","Jogging.Cartesian.MotionType.lb":"Motion type","Jogging.Cartesian.Translation.bt":"Translation","Jogging.Cartesian.Rotation.bt":"Rotation","Jogging.Joints.JointValues.lb":"Joint values","Jogging.Increment.Continuous.dd":"Continuous","Jogging.Cartesian.Orientation.lb":"Orientation","Jogging.Activate.bt":"Activate jogging","Jogging.Activating.lb":"Activating jogging","Jogging.JointLimitsReached.lb":"Joint limit reached for joint {{jointNumbers}}"},cl=Te.createInstance();cl.use(Ku).init({supportedLngs:["en","de"],resources:{en:{translations:ff},de:{translations:hf}},ns:["translations"],defaultNS:"translations",detection:{order:["navigator","htmlTag"]}});function on(e){return n=>o.jsx(gf,{children:o.jsx(e,{...n})})}const gf=({children:e})=>o.jsx(Xt.I18nextProvider,{i18n:cl,children:e});function ia(e){Y.useEffect(e,[])}function dl(e){ia(()=>dt.autorun(e))}function ko(e,t,n){ia(()=>dt.reaction(e,t,n))}function xr(e){return ia(()=>{let t;function n(){e(),t=requestAnimationFrame(n)}return t=requestAnimationFrame(n),()=>{cancelAnimationFrame(t)}})}const eo=on(Oe.observer(({colors:e,label:t,getDisplayedValue:n,startJogging:r,stopJogging:a,disabled:s,...i})=>{xr(()=>{const d=n(),h=l.current;h&&(h.textContent=d)});const l=Y.useRef(null);function u(d){s||d.button===0&&r("-")}function c(d){s||d.button===0&&r("+")}return e||(e={color:"#fff",backgroundColor:"#000",borderColor:"#000",buttonBackgroundColor:"#000"}),o.jsxs(yr,{height:"72px",direction:"row",justifyContent:"center",...i,children:[o.jsx(O.IconButton,{onPointerDown:u,onPointerUp:a,onPointerOut:a,size:"large",sx:{width:"55px",backgroundColor:e.buttonBackgroundColor,color:e.color,alignContent:"center",fontSize:"37px",borderRadius:"16px 0px 0px 16px",borderLeft:`2px solid ${e.borderColor??"#fff"}`,borderBottom:`2px solid ${e.borderColor??"#fff"}`,borderTop:`2px solid ${e.borderColor??"#fff"}`,":hover":{backgroundColor:e.buttonBackgroundColor}},children:o.jsx(zo.Remove,{})}),o.jsxs(yr,{spacing:"6px",sx:{width:"150px",backgroundColor:e.backgroundColor,alignItems:"center",justifyContent:"center",opacity:"0.9"},children:[o.jsx(yr,{height:"22px",direction:"row",alignItems:"center",justifyItems:"center",spacing:1,sx:{userSelect:"none",color:"white"},children:t}),o.jsx(O.Typography,{height:"22px",sx:{fontSize:"15px",color:e.color},ref:l,children:n()})]}),o.jsx(O.IconButton,{onPointerDown:c,onPointerUp:a,onPointerOut:a,size:"large",sx:{width:"55px",backgroundColor:e.buttonBackgroundColor,color:e.color,alignContent:"center",fontSize:"37px",borderRadius:"0px 16px 16px 0px",borderRight:`2px solid ${e.borderColor??"#fff"}`,borderBottom:`2px solid ${e.borderColor??"#fff"}`,borderTop:`2px solid ${e.borderColor??"#fff"}`,":hover":{backgroundColor:e.buttonBackgroundColor}},children:o.jsx(zo.Add,{})})]})}));var Oo={},Ea={};function pf(e){return nn("MuiSvgIcon",e)}Wi("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const yf=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],_f=e=>{const{color:t,fontSize:n,classes:r}=e,a={root:["root",t!=="inherit"&&`color${Pe(t)}`,`fontSize${Pe(n)}`]};return Ro(a,pf,r)},vf=Rt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Pe(n.color)}`],t[`fontSize${Pe(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,s,i,l,u,c,d,h,m,v,_;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(a=e.transitions)==null||(a=a.duration)==null?void 0:a.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(i=s.pxToRem)==null?void 0:i.call(s,20))||"1.25rem",medium:((l=e.typography)==null||(u=l.pxToRem)==null?void 0:u.call(l,24))||"1.5rem",large:((c=e.typography)==null||(d=c.pxToRem)==null?void 0:d.call(c,35))||"2.1875rem"}[t.fontSize],color:(h=(m=(e.vars||e).palette)==null||(m=m[t.color])==null?void 0:m.main)!=null?h:{action:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.active,disabled:(_=(e.vars||e).palette)==null||(_=_.action)==null?void 0:_.disabled,inherit:void 0}[t.color]}}),Un=N.forwardRef(function(t,n){const r=To({props:t,name:"MuiSvgIcon"}),{children:a,className:s,color:i="inherit",component:l="svg",fontSize:u="medium",htmlColor:c,inheritViewBox:d=!1,titleAccess:h,viewBox:m="0 0 24 24"}=r,v=Be(r,yf),_=N.isValidElement(a)&&a.type==="svg",y=T({},r,{color:i,component:l,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:m,hasSvgAsChild:_}),p={};d||(p.viewBox=m);const x=_f(y);return o.jsxs(vf,T({as:l,className:gt(x.root,s),focusable:"false",color:c,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:n},p,v,_&&a.props,{ownerState:y,children:[_?a.props.children:a,h?o.jsx("title",{children:h}):null]}))});process.env.NODE_ENV!=="production"&&(Un.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),f.string]),component:f.elementType,fontSize:f.oneOfType([f.oneOf(["inherit","large","medium","small"]),f.string]),htmlColor:f.string,inheritViewBox:f.bool,shapeRendering:f.string,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),titleAccess:f.string,viewBox:f.string});Un.muiName="SvgIcon";function bf(e,t){function n(r,a){return o.jsx(Un,T({"data-testid":`${t}Icon`,ref:a},r,{children:e}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=Un.muiName,N.memo(N.forwardRef(n))}const Sf={configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
78
- `)),zi.configure(e)}},xf=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Pe,createChainedFunction:em,createSvgIcon:bf,debounce:tm,deprecatedPropType:rm,isMuiElement:nm,ownerDocument:pr,ownerWindow:am,requirePropFactory:om,setRef:Yi,unstable_ClassNameGenerator:Sf,unstable_useEnhancedEffect:wo,unstable_useId:im,unsupportedProp:lm,useControlled:Zi,useEventCallback:An,useForkRef:Ln,useIsFocusVisible:Qi},Symbol.toStringTag,{value:"Module"})),wf=jt(xf);var Os;function ml(){return Os||(Os=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=wf}(Ea)),Ea}var jf=oa;Object.defineProperty(Oo,"__esModule",{value:!0});var hl=Oo.default=void 0,Rf=jf(ml()),Af=o;hl=Oo.default=(0,Rf.default)((0,Af.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");var Io={},Pf=oa;Object.defineProperty(Io,"__esModule",{value:!0});var fl=Io.default=void 0,Cf=Pf(ml()),Mf=o;fl=Io.default=(0,Cf.default)((0,Mf.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");function Kt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var gl=typeof global=="object"&&global&&global.Object===Object&&global,Tf=typeof self=="object"&&self&&self.Object===Object&&self,yt=gl||Tf||Function("return this")(),La=function(){return yt.Date.now()},kf=/\s/;function Of(e){for(var t=e.length;t--&&kf.test(e.charAt(t)););return t}var If=/^\s+/;function Ef(e){return e&&e.slice(0,Of(e)+1).replace(If,"")}var $t=yt.Symbol,pl=Object.prototype,Lf=pl.hasOwnProperty,$f=pl.toString,Fr=$t?$t.toStringTag:void 0;function Nf(e){var t=Lf.call(e,Fr),n=e[Fr];try{e[Fr]=void 0;var r=!0}catch{}var a=$f.call(e);return r&&(t?e[Fr]=n:delete e[Fr]),a}var Ff=Object.prototype,Df=Ff.toString;function Bf(e){return Df.call(e)}var Uf="[object Null]",Jf="[object Undefined]",Is=$t?$t.toStringTag:void 0;function Yt(e){return e==null?e===void 0?Jf:Uf:Is&&Is in Object(e)?Nf(e):Bf(e)}function Wt(e){return e!=null&&typeof e=="object"}var Vf="[object Symbol]";function la(e){return typeof e=="symbol"||Wt(e)&&Yt(e)==Vf}var Es=NaN,Gf=/^[-+]0x[0-9a-f]+$/i,zf=/^0b[01]+$/i,Kf=/^0o[0-7]+$/i,Wf=parseInt;function Ls(e){if(typeof e=="number")return e;if(la(e))return Es;if(Kt(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Kt(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ef(e);var n=zf.test(e);return n||Kf.test(e)?Wf(e.slice(2),n?2:8):Gf.test(e)?Es:+e}var Hf="Expected a function",qf=Math.max,Xf=Math.min;function Yf(e,t,n){var r,a,s,i,l,u,c=0,d=!1,h=!1,m=!0;if(typeof e!="function")throw new TypeError(Hf);t=Ls(t)||0,Kt(n)&&(d=!!n.leading,h="maxWait"in n,s=h?qf(Ls(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m);function v(P){var M=r,z=a;return r=a=void 0,c=P,i=e.apply(z,M),i}function _(P){return c=P,l=setTimeout(x,t),d?v(P):i}function y(P){var M=P-u,z=P-c,le=t-M;return h?Xf(le,s-z):le}function p(P){var M=P-u,z=P-c;return u===void 0||M>=t||M<0||h&&z>=s}function x(){var P=La();if(p(P))return j(P);l=setTimeout(x,y(P))}function j(P){return l=void 0,m&&r?v(P):(r=a=void 0,i)}function C(){l!==void 0&&clearTimeout(l),c=0,r=u=a=l=void 0}function A(){return l===void 0?i:j(La())}function w(){var P=La(),M=p(P);if(r=arguments,a=this,u=P,M){if(l===void 0)return _(u);if(h)return clearTimeout(l),l=setTimeout(x,t),v(u)}return l===void 0&&(l=setTimeout(x,t)),i}return w.cancel=C,w.flush=A,w}var Zf="Expected a function";function Qf(e,t,n){var r=!0,a=!0;if(typeof e!="function")throw new TypeError(Zf);return Kt(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),Yf(e,t,{leading:r,maxWait:t,trailing:a})}const yl=on(Oe.observer(({startJogging:e,stopJogging:t,lowerLimitDegs:n,upperLimitDegs:r,getValueDegs:a,disabled:s,...i})=>{const{t:l}=Xt.useTranslation(),[u,c]=Y.useState(),d=Oe.useLocalObservable(()=>({activeJoggingDir:null,startJogging(x){this.activeJoggingDir=x,e(x)},stopJogging(){this.activeJoggingDir=null,t()}})),h=Qf(()=>{c(a())},50);xr(h);function m(x){x.button===0&&d.startJogging("-")}function v(x){x.button===0&&d.startJogging("+")}function _(x){d.stopJogging()}function y(x){x.target===x.currentTarget&&d.stopJogging()}function p(x,j=1){if(x===void 0||isNaN(x))return"";const C=l("General.degree.variable",{amount:x.toFixed(j)});return x>0&&j===0?`+${C}`:C}return o.jsxs(yr,{height:"64px",width:"100%",maxWidth:"300px",direction:"row",...i,sx:{"& .MuiIconButton-root":{width:"52px",color:"white",alignContent:"center",backgroundColor:"#38445A","&:disabled":{opacity:.5,backgroundColor:"#38445A"},"& svg":{width:"42px",height:"42px"}}},children:[o.jsx(O.IconButton,{onPointerDown:m,onPointerUp:_,onPointerOut:y,disabled:s,sx:{borderRadius:"16px 0px 0px 16px",backgroundColor:d.activeJoggingDir==="-"?"#495975":void 0},children:o.jsx(hl,{})}),o.jsxs(yr,{flexGrow:1,alignItems:"center",justifyContent:"center",sx:{borderStyle:"solid",borderLeftWidth:0,borderRightWidth:0,borderTopWidth:"4px",borderBottomWidth:"4px",backgroundColor:"#38445A",borderColor:"#38445A",paddingLeft:"20px",paddingRight:"20px",zIndex:1},children:[o.jsx(O.Typography,{sx:{fontSize:"15px",position:"relative",top:"5px",color:"white"},children:p(u)}),o.jsx(O.Slider,{disabled:!0,"aria-label":"Joint position",min:n,max:r,value:u||0,track:!1,sx:{"& .MuiSlider-mark":{display:"none"},"& .MuiSlider-thumb":{width:"5px",height:"10px",borderRadius:"2px"},"& .MuiSlider-markLabel":{top:"20px",fontSize:"12px",color:"white"},"& .MuiSlider-rail":{backgroundColor:"#1F283A",opacity:1}},marks:n!==void 0&&r!==void 0&&[{value:n,label:p(n,0)},{value:r,label:p(r,0)}]})]}),o.jsx(O.IconButton,{onPointerDown:v,onPointerUp:_,onPointerOut:y,disabled:s,sx:{borderRadius:"0px 16px 16px 0px",backgroundColor:d.activeJoggingDir==="+"?"#495975 !important":"#38445A"},children:o.jsx(fl,{})})]})}));function _l(e,t){return function(){return e.apply(t,arguments)}}const{toString:e0}=Object.prototype,{getPrototypeOf:Eo}=Object,ua=(e=>t=>{const n=e0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),it=e=>(e=e.toLowerCase(),t=>ua(t)===e),ca=e=>t=>typeof t===e,{isArray:wr}=Array,qr=ca("undefined");function t0(e){return e!==null&&!qr(e)&&e.constructor!==null&&!qr(e.constructor)&&Ke(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const vl=it("ArrayBuffer");function r0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&vl(e.buffer),t}const n0=ca("string"),Ke=ca("function"),bl=ca("number"),da=e=>e!==null&&typeof e=="object",a0=e=>e===!0||e===!1,Tn=e=>{if(ua(e)!=="object")return!1;const t=Eo(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},o0=it("Date"),s0=it("File"),i0=it("Blob"),l0=it("FileList"),u0=e=>da(e)&&Ke(e.pipe),c0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ke(e.append)&&((t=ua(e))==="formdata"||t==="object"&&Ke(e.toString)&&e.toString()==="[object FormData]"))},d0=it("URLSearchParams"),[m0,h0,f0,g0]=["ReadableStream","Request","Response","Headers"].map(it),p0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function sn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),wr(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let l;for(r=0;r<i;r++)l=s[r],t.call(null,e[l],l,e)}}function Sl(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const Vt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xl=e=>!qr(e)&&e!==Vt;function to(){const{caseless:e}=xl(this)&&this||{},t={},n=(r,a)=>{const s=e&&Sl(t,a)||a;Tn(t[s])&&Tn(r)?t[s]=to(t[s],r):Tn(r)?t[s]=to({},r):wr(r)?t[s]=r.slice():t[s]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&sn(arguments[r],n);return t}const y0=(e,t,n,{allOwnKeys:r}={})=>(sn(t,(a,s)=>{n&&Ke(a)?e[s]=_l(a,n):e[s]=a},{allOwnKeys:r}),e),_0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),v0=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},b0=(e,t,n,r)=>{let a,s,i;const l={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),s=a.length;s-- >0;)i=a[s],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Eo(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},S0=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},x0=e=>{if(!e)return null;if(wr(e))return e;let t=e.length;if(!bl(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},w0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Eo(Uint8Array)),j0=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=r.next())&&!a.done;){const s=a.value;t.call(e,s[0],s[1])}},R0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},A0=it("HTMLFormElement"),P0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),$s=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),C0=it("RegExp"),wl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};sn(n,(a,s)=>{let i;(i=t(a,s,e))!==!1&&(r[s]=i||a)}),Object.defineProperties(e,r)},M0=e=>{wl(e,(t,n)=>{if(Ke(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ke(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},T0=(e,t)=>{const n={},r=a=>{a.forEach(s=>{n[s]=!0})};return wr(e)?r(e):r(String(e).split(t)),n},k0=()=>{},O0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,$a="abcdefghijklmnopqrstuvwxyz",Ns="0123456789",jl={DIGIT:Ns,ALPHA:$a,ALPHA_DIGIT:$a+$a.toUpperCase()+Ns},I0=(e=16,t=jl.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function E0(e){return!!(e&&Ke(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const L0=e=>{const t=new Array(10),n=(r,a)=>{if(da(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[a]=r;const s=wr(r)?[]:{};return sn(r,(i,l)=>{const u=n(i,a+1);!qr(u)&&(s[l]=u)}),t[a]=void 0,s}}return r};return n(e,0)},$0=it("AsyncFunction"),N0=e=>e&&(da(e)||Ke(e))&&Ke(e.then)&&Ke(e.catch),Rl=((e,t)=>e?setImmediate:t?((n,r)=>(Vt.addEventListener("message",({source:a,data:s})=>{a===Vt&&s===n&&r.length&&r.shift()()},!1),a=>{r.push(a),Vt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ke(Vt.postMessage)),F0=typeof queueMicrotask<"u"?queueMicrotask.bind(Vt):typeof process<"u"&&process.nextTick||Rl,S={isArray:wr,isArrayBuffer:vl,isBuffer:t0,isFormData:c0,isArrayBufferView:r0,isString:n0,isNumber:bl,isBoolean:a0,isObject:da,isPlainObject:Tn,isReadableStream:m0,isRequest:h0,isResponse:f0,isHeaders:g0,isUndefined:qr,isDate:o0,isFile:s0,isBlob:i0,isRegExp:C0,isFunction:Ke,isStream:u0,isURLSearchParams:d0,isTypedArray:w0,isFileList:l0,forEach:sn,merge:to,extend:y0,trim:p0,stripBOM:_0,inherits:v0,toFlatObject:b0,kindOf:ua,kindOfTest:it,endsWith:S0,toArray:x0,forEachEntry:j0,matchAll:R0,isHTMLForm:A0,hasOwnProperty:$s,hasOwnProp:$s,reduceDescriptors:wl,freezeMethods:M0,toObjectSet:T0,toCamelCase:P0,noop:k0,toFiniteNumber:O0,findKey:Sl,global:Vt,isContextDefined:xl,ALPHABET:jl,generateString:I0,isSpecCompliantForm:E0,toJSONObject:L0,isAsyncFn:$0,isThenable:N0,setImmediate:Rl,asap:F0};function J(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}S.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:S.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Al=J.prototype,Pl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Pl[e]={value:e}});Object.defineProperties(J,Pl);Object.defineProperty(Al,"isAxiosError",{value:!0});J.from=(e,t,n,r,a,s)=>{const i=Object.create(Al);return S.toFlatObject(e,i,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),J.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const D0=null;function ro(e){return S.isPlainObject(e)||S.isArray(e)}function Cl(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function Fs(e,t,n){return e?e.concat(t).map(function(a,s){return a=Cl(a),!n&&s?"["+a+"]":a}).join(n?".":""):t}function B0(e){return S.isArray(e)&&!e.some(ro)}const U0=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function ma(e,t,n){if(!S.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=S.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,p){return!S.isUndefined(p[y])});const r=n.metaTokens,a=n.visitor||d,s=n.dots,i=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(t);if(!S.isFunction(a))throw new TypeError("visitor must be a function");function c(_){if(_===null)return"";if(S.isDate(_))return _.toISOString();if(!u&&S.isBlob(_))throw new J("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(_)||S.isTypedArray(_)?u&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function d(_,y,p){let x=_;if(_&&!p&&typeof _=="object"){if(S.endsWith(y,"{}"))y=r?y:y.slice(0,-2),_=JSON.stringify(_);else if(S.isArray(_)&&B0(_)||(S.isFileList(_)||S.endsWith(y,"[]"))&&(x=S.toArray(_)))return y=Cl(y),x.forEach(function(C,A){!(S.isUndefined(C)||C===null)&&t.append(i===!0?Fs([y],A,s):i===null?y:y+"[]",c(C))}),!1}return ro(_)?!0:(t.append(Fs(p,y,s),c(_)),!1)}const h=[],m=Object.assign(U0,{defaultVisitor:d,convertValue:c,isVisitable:ro});function v(_,y){if(!S.isUndefined(_)){if(h.indexOf(_)!==-1)throw Error("Circular reference detected in "+y.join("."));h.push(_),S.forEach(_,function(x,j){(!(S.isUndefined(x)||x===null)&&a.call(t,x,S.isString(j)?j.trim():j,y,m))===!0&&v(x,y?y.concat(j):[j])}),h.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return v(e),t}function Ds(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Lo(e,t){this._pairs=[],e&&ma(e,this,t)}const Ml=Lo.prototype;Ml.append=function(t,n){this._pairs.push([t,n])};Ml.toString=function(t){const n=t?function(r){return t.call(this,r,Ds)}:Ds;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function J0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Tl(e,t,n){if(!t)return e;const r=n&&n.encode||J0,a=n&&n.serialize;let s;if(a?s=a(t,n):s=S.isURLSearchParams(t)?t.toString():new Lo(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Bs{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){S.forEach(this.handlers,function(r){r!==null&&t(r)})}}const kl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},V0=typeof URLSearchParams<"u"?URLSearchParams:Lo,G0=typeof FormData<"u"?FormData:null,z0=typeof Blob<"u"?Blob:null,K0={isBrowser:!0,classes:{URLSearchParams:V0,FormData:G0,Blob:z0},protocols:["http","https","file","blob","url","data"]},$o=typeof window<"u"&&typeof document<"u",W0=(e=>$o&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),H0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",q0=$o&&window.location.href||"http://localhost",X0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$o,hasStandardBrowserEnv:W0,hasStandardBrowserWebWorkerEnv:H0,origin:q0},Symbol.toStringTag,{value:"Module"})),ot={...X0,...K0};function Y0(e,t){return ma(e,new ot.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,s){return ot.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function Z0(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Q0(e){const t={},n=Object.keys(e);let r;const a=n.length;let s;for(r=0;r<a;r++)s=n[r],t[s]=e[s];return t}function Ol(e){function t(n,r,a,s){let i=n[s++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),u=s>=n.length;return i=!i&&S.isArray(a)?a.length:i,u?(S.hasOwnProp(a,i)?a[i]=[a[i],r]:a[i]=r,!l):((!a[i]||!S.isObject(a[i]))&&(a[i]=[]),t(n,r,a[i],s)&&S.isArray(a[i])&&(a[i]=Q0(a[i])),!l)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,a)=>{t(Z0(r),a,n,0)}),n}return null}function eg(e,t,n){if(S.isString(e))try{return(t||JSON.parse)(e),S.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ln={transitional:kl,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,s=S.isObject(t);if(s&&S.isHTMLForm(t)&&(t=new FormData(t)),S.isFormData(t))return a?JSON.stringify(Ol(t)):t;if(S.isArrayBuffer(t)||S.isBuffer(t)||S.isStream(t)||S.isFile(t)||S.isBlob(t)||S.isReadableStream(t))return t;if(S.isArrayBufferView(t))return t.buffer;if(S.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Y0(t,this.formSerializer).toString();if((l=S.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ma(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return s||a?(n.setContentType("application/json",!1),eg(t)):t}],transformResponse:[function(t){const n=this.transitional||ln.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(S.isResponse(t)||S.isReadableStream(t))return t;if(t&&S.isString(t)&&(r&&!this.responseType||a)){const i=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?J.from(l,J.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ot.classes.FormData,Blob:ot.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],e=>{ln.headers[e]={}});const tg=S.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rg=e=>{const t={};let n,r,a;return e&&e.split(`
79
- `).forEach(function(i){a=i.indexOf(":"),n=i.substring(0,a).trim().toLowerCase(),r=i.substring(a+1).trim(),!(!n||t[n]&&tg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Us=Symbol("internals");function Dr(e){return e&&String(e).trim().toLowerCase()}function kn(e){return e===!1||e==null?e:S.isArray(e)?e.map(kn):String(e)}function ng(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const ag=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Na(e,t,n,r,a){if(S.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!S.isString(t)){if(S.isString(r))return t.indexOf(r)!==-1;if(S.isRegExp(r))return r.test(t)}}function og(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function sg(e,t){const n=S.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,s,i){return this[r].call(this,t,a,s,i)},configurable:!0})})}let Fe=class{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function s(l,u,c){const d=Dr(u);if(!d)throw new Error("header name must be a non-empty string");const h=S.findKey(a,d);(!h||a[h]===void 0||c===!0||c===void 0&&a[h]!==!1)&&(a[h||u]=kn(l))}const i=(l,u)=>S.forEach(l,(c,d)=>s(c,d,u));if(S.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(S.isString(t)&&(t=t.trim())&&!ag(t))i(rg(t),n);else if(S.isHeaders(t))for(const[l,u]of t.entries())s(u,l,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=Dr(t),t){const r=S.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return ng(a);if(S.isFunction(n))return n.call(this,a,r);if(S.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Dr(t),t){const r=S.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Na(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function s(i){if(i=Dr(i),i){const l=S.findKey(r,i);l&&(!n||Na(r,r[l],l,n))&&(delete r[l],a=!0)}}return S.isArray(t)?t.forEach(s):s(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const s=n[r];(!t||Na(this,this[s],s,t,!0))&&(delete this[s],a=!0)}return a}normalize(t){const n=this,r={};return S.forEach(this,(a,s)=>{const i=S.findKey(r,s);if(i){n[i]=kn(a),delete n[s];return}const l=t?og(s):String(s).trim();l!==s&&delete n[s],n[l]=kn(a),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return S.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&S.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
80
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[Us]=this[Us]={accessors:{}}).accessors,a=this.prototype;function s(i){const l=Dr(i);r[l]||(sg(a,i),r[l]=!0)}return S.isArray(t)?t.forEach(s):s(t),this}};Fe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(Fe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});S.freezeMethods(Fe);function Fa(e,t){const n=this||ln,r=t||n,a=Fe.from(r.headers);let s=r.data;return S.forEach(e,function(l){s=l.call(n,s,a.normalize(),t?t.status:void 0)}),a.normalize(),s}function Il(e){return!!(e&&e.__CANCEL__)}function jr(e,t,n){J.call(this,e??"canceled",J.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(jr,J,{__CANCEL__:!0});function El(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function ig(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function lg(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,s=0,i;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=r[s];i||(i=c),n[a]=u,r[a]=c;let h=s,m=0;for(;h!==a;)m+=n[h++],h=h%e;if(a=(a+1)%e,a===s&&(s=(s+1)%e),c-i<t)return;const v=d&&c-d;return v?Math.round(m*1e3/v):void 0}}function ug(e,t){let n=0,r=1e3/t,a,s;const i=(c,d=Date.now())=>{n=d,a=null,s&&(clearTimeout(s),s=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),h=d-n;h>=r?i(c,d):(a=c,s||(s=setTimeout(()=>{s=null,i(a)},r-h)))},()=>a&&i(a)]}const Jn=(e,t,n=3)=>{let r=0;const a=lg(50,250);return ug(s=>{const i=s.loaded,l=s.lengthComputable?s.total:void 0,u=i-r,c=a(u),d=i<=l;r=i;const h={loaded:i,total:l,progress:l?i/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&d?(l-i)/c:void 0,event:s,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(h)},n)},Js=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Vs=e=>(...t)=>S.asap(()=>e(...t)),cg=ot.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function a(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=a(window.location.href),function(i){const l=S.isString(i)?a(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),dg=ot.hasStandardBrowserEnv?{write(e,t,n,r,a,s){const i=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),S.isString(r)&&i.push("path="+r),S.isString(a)&&i.push("domain="+a),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function mg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function hg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ll(e,t){return e&&!mg(t)?hg(e,t):t}const Gs=e=>e instanceof Fe?{...e}:e;function Ht(e,t){t=t||{};const n={};function r(c,d,h){return S.isPlainObject(c)&&S.isPlainObject(d)?S.merge.call({caseless:h},c,d):S.isPlainObject(d)?S.merge({},d):S.isArray(d)?d.slice():d}function a(c,d,h){if(S.isUndefined(d)){if(!S.isUndefined(c))return r(void 0,c,h)}else return r(c,d,h)}function s(c,d){if(!S.isUndefined(d))return r(void 0,d)}function i(c,d){if(S.isUndefined(d)){if(!S.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function l(c,d,h){if(h in t)return r(c,d);if(h in e)return r(void 0,c)}const u={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,d)=>a(Gs(c),Gs(d),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(d){const h=u[d]||a,m=h(e[d],t[d],d);S.isUndefined(m)&&h!==l||(n[d]=m)}),n}const $l=e=>{const t=Ht({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:s,headers:i,auth:l}=t;t.headers=i=Fe.from(i),t.url=Tl(Ll(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(S.isFormData(n)){if(ot.hasStandardBrowserEnv||ot.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((u=i.getContentType())!==!1){const[c,...d]=u?u.split(";").map(h=>h.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...d].join("; "))}}if(ot.hasStandardBrowserEnv&&(r&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&cg(t.url))){const c=a&&s&&dg.read(s);c&&i.set(a,c)}return t},fg=typeof XMLHttpRequest<"u",gg=fg&&function(e){return new Promise(function(n,r){const a=$l(e);let s=a.data;const i=Fe.from(a.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:c}=a,d,h,m,v,_;function y(){v&&v(),_&&_(),a.cancelToken&&a.cancelToken.unsubscribe(d),a.signal&&a.signal.removeEventListener("abort",d)}let p=new XMLHttpRequest;p.open(a.method.toUpperCase(),a.url,!0),p.timeout=a.timeout;function x(){if(!p)return;const C=Fe.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),w={data:!l||l==="text"||l==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:C,config:e,request:p};El(function(M){n(M),y()},function(M){r(M),y()},w),p=null}"onloadend"in p?p.onloadend=x:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(x)},p.onabort=function(){p&&(r(new J("Request aborted",J.ECONNABORTED,e,p)),p=null)},p.onerror=function(){r(new J("Network Error",J.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let A=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const w=a.transitional||kl;a.timeoutErrorMessage&&(A=a.timeoutErrorMessage),r(new J(A,w.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,p)),p=null},s===void 0&&i.setContentType(null),"setRequestHeader"in p&&S.forEach(i.toJSON(),function(A,w){p.setRequestHeader(w,A)}),S.isUndefined(a.withCredentials)||(p.withCredentials=!!a.withCredentials),l&&l!=="json"&&(p.responseType=a.responseType),c&&([m,_]=Jn(c,!0),p.addEventListener("progress",m)),u&&p.upload&&([h,v]=Jn(u),p.upload.addEventListener("progress",h),p.upload.addEventListener("loadend",v)),(a.cancelToken||a.signal)&&(d=C=>{p&&(r(!C||C.type?new jr(null,e,p):C),p.abort(),p=null)},a.cancelToken&&a.cancelToken.subscribe(d),a.signal&&(a.signal.aborted?d():a.signal.addEventListener("abort",d)));const j=ig(a.url);if(j&&ot.protocols.indexOf(j)===-1){r(new J("Unsupported protocol "+j+":",J.ERR_BAD_REQUEST,e));return}p.send(s||null)})},pg=(e,t)=>{let n=new AbortController,r;const a=function(u){if(!r){r=!0,i();const c=u instanceof Error?u:this.reason;n.abort(c instanceof J?c:new jr(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{a(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u&&(u.removeEventListener?u.removeEventListener("abort",a):u.unsubscribe(a))}),e=null)};e.forEach(u=>u&&u.addEventListener&&u.addEventListener("abort",a));const{signal:l}=n;return l.unsubscribe=i,[l,()=>{s&&clearTimeout(s),s=null}]},yg=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,a;for(;r<n;)a=r+t,yield e.slice(r,a),r=a},_g=async function*(e,t,n){for await(const r of e)yield*yg(ArrayBuffer.isView(r)?r:await n(String(r)),t)},zs=(e,t,n,r,a)=>{const s=_g(e,t,a);let i=0,l,u=c=>{l||(l=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:d,value:h}=await s.next();if(d){u(),c.close();return}let m=h.byteLength;if(n){let v=i+=m;n(v)}c.enqueue(new Uint8Array(h))}catch(d){throw u(d),d}},cancel(c){return u(c),s.return()}},{highWaterMark:2})},ha=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Nl=ha&&typeof ReadableStream=="function",no=ha&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Fl=(e,...t)=>{try{return!!e(...t)}catch{return!1}},vg=Nl&&Fl(()=>{let e=!1;const t=new Request(ot.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ks=64*1024,ao=Nl&&Fl(()=>S.isReadableStream(new Response("").body)),Vn={stream:ao&&(e=>e.body)};ha&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Vn[t]&&(Vn[t]=S.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,r)})})})(new Response);const bg=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(S.isArrayBufferView(e)||S.isArrayBuffer(e))return e.byteLength;if(S.isURLSearchParams(e)&&(e=e+""),S.isString(e))return(await no(e)).byteLength},Sg=async(e,t)=>{const n=S.toFiniteNumber(e.getContentLength());return n??bg(t)},xg=ha&&(async e=>{let{url:t,method:n,data:r,signal:a,cancelToken:s,timeout:i,onDownloadProgress:l,onUploadProgress:u,responseType:c,headers:d,withCredentials:h="same-origin",fetchOptions:m}=$l(e);c=c?(c+"").toLowerCase():"text";let[v,_]=a||s||i?pg([a,s],i):[],y,p;const x=()=>{!y&&setTimeout(()=>{v&&v.unsubscribe()}),y=!0};let j;try{if(u&&vg&&n!=="get"&&n!=="head"&&(j=await Sg(d,r))!==0){let P=new Request(t,{method:"POST",body:r,duplex:"half"}),M;if(S.isFormData(r)&&(M=P.headers.get("content-type"))&&d.setContentType(M),P.body){const[z,le]=Js(j,Jn(Vs(u)));r=zs(P.body,Ks,z,le,no)}}S.isString(h)||(h=h?"include":"omit"),p=new Request(t,{...m,signal:v,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:h});let C=await fetch(p);const A=ao&&(c==="stream"||c==="response");if(ao&&(l||A)){const P={};["status","statusText","headers"].forEach(ce=>{P[ce]=C[ce]});const M=S.toFiniteNumber(C.headers.get("content-length")),[z,le]=l&&Js(M,Jn(Vs(l),!0))||[];C=new Response(zs(C.body,Ks,z,()=>{le&&le(),A&&x()},no),P)}c=c||"text";let w=await Vn[S.findKey(Vn,c)||"text"](C,e);return!A&&x(),_&&_(),await new Promise((P,M)=>{El(P,M,{data:w,headers:Fe.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:p})})}catch(C){throw x(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,e,p),{cause:C.cause||C}):J.from(C,C&&C.code,e,p)}}),oo={http:D0,xhr:gg,fetch:xg};S.forEach(oo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ws=e=>`- ${e}`,wg=e=>S.isFunction(e)||e===null||e===!1,Dl={getAdapter:e=>{e=S.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let s=0;s<t;s++){n=e[s];let i;if(r=n,!wg(n)&&(r=oo[(i=String(n)).toLowerCase()],r===void 0))throw new J(`Unknown adapter '${i}'`);if(r)break;a[i||"#"+s]=r}if(!r){const s=Object.entries(a).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since :
75
+ } });`:Gr(12,p?` (${p})`:"",JSON.stringify(y.main)));return ys(y,"light",j,r),ys(y,"dark",C,r),y.contrastText||(y.contrastText=h(y.main)),y},b={dark:Ia,light:ps};return process.env.NODE_ENV!=="production"&&(b[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),et(k({common:k({},Wr),mode:t,primary:m({color:s,name:"primary"}),secondary:m({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:l,name:"error"}),warning:m({color:d,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:c,name:"success"}),grey:yh,contrastThreshold:n,getContrastText:h,augmentColor:m,tonalOffset:r},b[t]),a)}const Ah=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ph(e){return Math.round(e*1e5)/1e5}const _s={textTransform:"uppercase"},vs='"Roboto", "Helvetica", "Arial", sans-serif';function Ch(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=vs,fontSize:a=14,fontWeightLight:s=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:c=16,allVariants:d,pxToRem:h}=n,m=Be(n,Ah);process.env.NODE_ENV!=="production"&&(typeof a!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof c!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const b=a/14,_=h||(x=>`${x/c*b}rem`),y=(x,j,C,A,w)=>k({fontFamily:r,fontWeight:x,fontSize:_(j),lineHeight:C},r===vs?{letterSpacing:`${Ph(A/j)}em`}:{},w,d),p={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(l,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(l,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(l,14,1.75,.4,_s),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,_s),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return et(k({htmlFontSize:c,pxToRem:_,fontFamily:r,fontSize:a,fontWeightLight:s,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:u},p),m,{clone:!1})}const Mh=.2,kh=.14,Ih=.12;function me(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Mh})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${kh})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ih})`].join(",")}const Th=["none",me(0,2,1,-1,0,1,1,0,0,1,3,0),me(0,3,1,-2,0,2,2,0,0,1,5,0),me(0,3,3,-2,0,3,4,0,0,1,8,0),me(0,2,4,-1,0,4,5,0,0,1,10,0),me(0,3,5,-1,0,5,8,0,0,1,14,0),me(0,3,5,-1,0,6,10,0,0,1,18,0),me(0,4,5,-2,0,7,10,1,0,2,16,1),me(0,5,5,-3,0,8,10,1,0,3,14,2),me(0,5,6,-3,0,9,12,1,0,3,16,2),me(0,6,6,-3,0,10,14,1,0,4,18,3),me(0,6,7,-4,0,11,15,1,0,4,20,3),me(0,7,8,-4,0,12,17,2,0,5,22,4),me(0,7,8,-4,0,13,19,2,0,5,24,4),me(0,7,9,-4,0,14,21,2,0,5,26,4),me(0,8,9,-5,0,15,22,2,0,6,28,5),me(0,8,10,-5,0,16,24,2,0,6,30,5),me(0,8,11,-5,0,17,26,2,0,6,32,5),me(0,9,11,-5,0,18,28,2,0,7,34,6),me(0,9,12,-6,0,19,29,2,0,7,36,6),me(0,10,13,-6,0,20,31,3,0,8,38,7),me(0,10,13,-6,0,21,33,3,0,8,40,7),me(0,10,14,-6,0,22,35,3,0,8,42,7),me(0,11,14,-7,0,23,36,3,0,9,44,8),me(0,11,15,-7,0,24,38,3,0,9,46,8)],Oh=["duration","easing","delay"],Eh={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Lh={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function bs(e){return`${Math.round(e)}ms`}function $h(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Nh(e){const t=k({},Eh,e.easing),n=k({},Lh,e.duration);return k({getAutoHeightDuration:$h,create:(a=["all"],s={})=>{const{duration:i=n.standard,easing:l=t.easeInOut,delay:u=0}=s,c=Be(s,Oh);if(process.env.NODE_ENV!=="production"){const d=m=>typeof m=="string",h=m=>!isNaN(parseFloat(m));!d(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(i)&&!d(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),d(l)||console.error('MUI: Argument "easing" must be a string.'),!h(u)&&!d(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
76
+ `)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(d=>`${d} ${typeof i=="string"?i:bs(i)} ${l} ${typeof u=="string"?u:bs(u)}`).join(",")}},e,{easing:t,duration:n})}const Fh={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Dh=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Bh(e={},...t){const{mixins:n={},palette:r={},transitions:a={},typography:s={}}=e,i=Be(e,Dh);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Gr(18));const l=Rh(r),u=rn(e);let c=et(u,{mixins:ah(u.breakpoints,n),palette:l,shadows:Th.slice(),typography:Ch(l,s),transitions:Nh(a),zIndex:k({},Fh)});if(c=et(c,i),c=t.reduce((d,h)=>et(d,h),c),process.env.NODE_ENV!=="production"){const d=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],h=(m,b)=>{let _;for(_ in m){const y=m[_];if(d.indexOf(_)!==-1&&Object.keys(y).length>0){if(process.env.NODE_ENV!=="production"){const p=nn("",_);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${_}\` internal state.`,"You can not override it like this: ",JSON.stringify(m,null,2),"",`Instead, you need to use the '&.${p}' syntax:`,JSON.stringify({root:{[`&.${p}`]:y}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
77
+ `))}m[_]={}}}};Object.keys(c.components).forEach(m=>{const b=c.components[m].styleOverrides;b&&m.indexOf("Mui")===0&&h(b,m)})}return c.unstable_sxConfig=k({},en,i==null?void 0:i.unstable_sxConfig),c.unstable_sx=function(h){return tn({sx:h,theme:this})},c}const Uh=Bh(),Jh="$$material";function Mo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Vh=e=>Mo(e)&&e!=="classes",Rt=Vm({themeId:Jh,defaultTheme:Uh,rootShouldForwardProp:Vh});process.env.NODE_ENV!=="production"&&(f.node,f.object.isRequired);function ko(e){return Am(e)}const yr=Em({createStyledComponent:Rt("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>ko({props:e,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(yr.propTypes={children:f.node,component:f.elementType,direction:f.oneOfType([f.oneOf(["column-reverse","column","row-reverse","row"]),f.arrayOf(f.oneOf(["column-reverse","column","row-reverse","row"])),f.object]),divider:f.node,spacing:f.oneOfType([f.arrayOf(f.oneOfType([f.number,f.string])),f.number,f.object,f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),useFlexGap:f.bool});const Gh={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Nn{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||Gh,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,a){return a&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new Nn(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Nn(this.logger,t)}}var ht=new Nn;class sa{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(i=>{let[l,u]=i;for(let c=0;c<u;c++)l(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(i=>{let[l,u]=i;for(let c=0;c<u;c++)l.apply(l,[t,...r])})}}const Nr=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},Ss=e=>e==null?"":""+e,zh=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},Kh=/###/g,xs=e=>e&&e.indexOf("###")>-1?e.replace(Kh,"."):e,ws=e=>!e||typeof e=="string",Jr=(e,t,n)=>{const r=typeof t!="string"?t:t.split(".");let a=0;for(;a<r.length-1;){if(ws(e))return{};const s=xs(r[a]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++a}return ws(e)?{}:{obj:e,k:xs(r[a])}},js=(e,t,n)=>{const{obj:r,k:a}=Jr(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let s=t[t.length-1],i=t.slice(0,t.length-1),l=Jr(e,i,Object);for(;l.obj===void 0&&i.length;)s=`${i[i.length-1]}.${s}`,i=i.slice(0,i.length-1),l=Jr(e,i,Object),l&&l.obj&&typeof l.obj[`${l.k}.${s}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${s}`]=n},Wh=(e,t,n,r)=>{const{obj:a,k:s}=Jr(e,t,Object);a[s]=a[s]||[],a[s].push(n)},Fn=(e,t)=>{const{obj:n,k:r}=Jr(e,t);if(n)return n[r]},Hh=(e,t,n)=>{const r=Fn(e,n);return r!==void 0?r:Fn(t,n)},ll=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):ll(e[r],t[r],n):e[r]=t[r]);return e},cr=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Xh={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const qh=e=>typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>Xh[t]):e;class Yh{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const Zh=[" ",",","?","!",";"],Qh=new Yh(20),ef=(e,t,n)=>{t=t||"",n=n||"";const r=Zh.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=Qh.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let s=!a.test(e);if(!s){const i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(s=!0)}return s},Qa=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let a=e;for(let s=0;s<r.length;){if(!a||typeof a!="object")return;let i,l="";for(let u=s;u<r.length;++u)if(u!==s&&(l+=n),l+=r[u],i=a[l],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&u<r.length-1)continue;s+=u-s+1;break}a=i}return a},Dn=e=>e&&e.indexOf("_")>0?e.replace("_","-"):e;class Rs extends sa{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],r&&(Array.isArray(r)?l.push(...r):typeof r=="string"&&s?l.push(...r.split(s)):l.push(r)));const u=Fn(this.data,l);return!u&&!n&&!r&&t.indexOf(".")>-1&&(t=l[0],n=l[1],r=l.slice(2).join(".")),u||!i||typeof r!="string"?u:Qa(this.data&&this.data[t]&&this.data[t][n],r,s)}addResource(t,n,r,a){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let l=[t,n];r&&(l=l.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(l=t.split("."),a=n,n=l[1]),this.addNamespaces(n),js(this.data,l,a),s.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const s in r)(typeof r[s]=="string"||Array.isArray(r[s]))&&this.addResource(t,n,s,r[s],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,s){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),a=r,r=n,n=l[1]),this.addNamespaces(n);let u=Fn(this.data,l)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?ll(u,r,s):u={...u,...r},js(this.data,l,u),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var ul={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(s=>{this.processors[s]&&(t=this.processors[s].process(t,n,r,a))}),t}};const As={};class Bn extends sa{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),zh(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ht.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!ef(t,r,a);if(i&&!l){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:s};const c=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(c[0])>-1)&&(s=c.shift()),t=c.join(a)}return typeof s=="string"&&(s=[s]),{key:t,namespaces:s}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:l}=this.extractFromKey(t[t.length-1],n),u=l[l.length-1],c=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(d){const A=n.nsSeparator||this.options.nsSeparator;return a?{res:`${u}${A}${i}`,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${A}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:i}const h=this.resolve(t,n);let m=h&&h.res;const b=h&&h.usedKey||i,_=h&&h.exactUsedKey||i,y=Object.prototype.toString.apply(m),p=["[object Number]","[object Function]","[object RegExp]"],x=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,j=!this.i18nFormat||this.i18nFormat.handleAsObject;if(j&&m&&(typeof m!="string"&&typeof m!="boolean"&&typeof m!="number")&&p.indexOf(y)<0&&!(typeof x=="string"&&Array.isArray(m))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const A=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,m,{...n,ns:l}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(h.res=A,h.usedParams=this.getUsedParamsDetails(n),h):A}if(s){const A=Array.isArray(m),w=A?[]:{},P=A?_:b;for(const M in m)if(Object.prototype.hasOwnProperty.call(m,M)){const z=`${P}${s}${M}`;w[M]=this.translate(z,{...n,joinArrays:!1,ns:l}),w[M]===z&&(w[M]=m[M])}m=w}}else if(j&&typeof x=="string"&&Array.isArray(m))m=m.join(x),m&&(m=this.extendTranslation(m,t,n,r));else{let A=!1,w=!1;const P=n.count!==void 0&&typeof n.count!="string",M=Bn.hasDefaultValue(n),z=P?this.pluralResolver.getSuffix(c,n.count,n):"",le=n.ordinal&&P?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",ce=P&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),D=ce&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${z}`]||n[`defaultValue${le}`]||n.defaultValue;!this.isValidLookup(m)&&M&&(A=!0,m=D),this.isValidLookup(m)||(w=!0,m=i);const G=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&w?void 0:m,Z=M&&D!==m&&this.options.updateMissing;if(w||A||Z){if(this.logger.log(Z?"updateKey":"missingKey",c,u,i,Z?D:m),s){const ee=this.resolve(i,{...n,keySeparator:!1});ee&&ee.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let X=[];const xe=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&xe&&xe[0])for(let ee=0;ee<xe.length;ee++)X.push(xe[ee]);else this.options.saveMissingTo==="all"?X=this.languageUtils.toResolveHierarchy(n.lng||this.language):X.push(n.lng||this.language);const ue=(ee,Re,Oe)=>{const nt=M&&Oe!==m?Oe:G;this.options.missingKeyHandler?this.options.missingKeyHandler(ee,u,Re,nt,Z,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(ee,u,Re,nt,Z,n),this.emit("missingKey",ee,u,Re,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&P?X.forEach(ee=>{const Re=this.pluralResolver.getSuffixes(ee,n);ce&&n[`defaultValue${this.options.pluralSeparator}zero`]&&Re.indexOf(`${this.options.pluralSeparator}zero`)<0&&Re.push(`${this.options.pluralSeparator}zero`),Re.forEach(Oe=>{ue([ee],i+Oe,n[`defaultValue${Oe}`]||D)})}):ue(X,i,D))}m=this.extendTranslation(m,t,n,h,r),w&&m===i&&this.options.appendNamespaceToMissingKey&&(m=`${u}:${i}`),(w||A)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}:${i}`:i,A?m:void 0):m=this.options.parseMissingKeyHandler(m))}return a?(h.res=m,h.usedParams=this.getUsedParamsDetails(n),h):m}extendTranslation(t,n,r,a,s){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const c=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(c){const m=t.match(this.interpolator.nestingRegexp);d=m&&m.length}let h=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),t=this.interpolator.interpolate(t,h,r.lng||this.language||a.usedLng,r),c){const m=t.match(this.interpolator.nestingRegexp),b=m&&m.length;d<b&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!=="v1"&&a&&a.res&&(r.lng=this.language||a.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var m=arguments.length,b=new Array(m),_=0;_<m;_++)b[_]=arguments[_];return s&&s[0]===b[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${b[0]} in key: ${n[0]}`),null):i.translate(...b,n)},r)),r.interpolation&&this.interpolator.reset()}const l=r.postProcess||this.options.postProcess,u=typeof l=="string"?[l]:l;return t!=null&&u&&u.length&&r.applyPostProcessor!==!1&&(t=ul.handle(u,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a,s,i,l;return typeof t=="string"&&(t=[t]),t.forEach(u=>{if(this.isValidLookup(r))return;const c=this.extractFromKey(u,n),d=c.key;a=d;let h=c.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const m=n.count!==void 0&&typeof n.count!="string",b=m&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),_=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",y=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);h.forEach(p=>{this.isValidLookup(r)||(l=p,!As[`${y[0]}-${p}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(As[`${y[0]}-${p}`]=!0,this.logger.warn(`key "${a}" for languages "${y.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(x=>{if(this.isValidLookup(r))return;i=x;const j=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(j,d,x,p,n);else{let A;m&&(A=this.pluralResolver.getSuffix(x,n.count,n));const w=`${this.options.pluralSeparator}zero`,P=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(j.push(d+A),n.ordinal&&A.indexOf(P)===0&&j.push(d+A.replace(P,this.options.pluralSeparator)),b&&j.push(d+w)),_){const M=`${d}${this.options.contextSeparator}${n.context}`;j.push(M),m&&(j.push(M+A),n.ordinal&&A.indexOf(P)===0&&j.push(M+A.replace(P,this.options.pluralSeparator)),b&&j.push(M+w))}}let C;for(;C=j.pop();)this.isValidLookup(r)||(s=C,r=this.getResource(x,p,C,n))}))})}),{res:r,usedKey:a,exactUsedKey:s,usedLng:i,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&typeof t.replace!="string";let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const s of n)delete a[s]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const Ta=e=>e.charAt(0).toUpperCase()+e.slice(1);class Ps{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ht.create("languageUtils")}getScriptPartFromCode(t){if(t=Dn(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Dn(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(a=>a.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Ta(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Ta(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=Ta(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(s=>{if(s===a)return s;if(!(s.indexOf("-")<0&&a.indexOf("-")<0)&&(s.indexOf("-")>0&&a.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===a||s.indexOf(a)===0&&a.length>1))return s})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],s=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):typeof t=="string"&&s(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&s(this.formatLanguageCode(i))}),a}}let tf=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],rf={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const nf=["v1","v2","v3"],af=["v4"],Cs={zero:0,one:1,two:2,few:3,many:4,other:5},of=()=>{const e={};return tf.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:rf[t.fc]}})}),e};class sf{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=ht.create("pluralResolver"),(!this.options.compatibilityJSON||af.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=of()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Dn(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((a,s)=>Cs[a]-Cs[s]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):r.numbers.map(a=>this.getSuffix(t,a,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:this.getSuffixRetroCompatible(a,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let a=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const s=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?s():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!nf.includes(this.options.compatibilityJSON)}}const Ms=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=Hh(e,t,n);return!s&&a&&typeof n=="string"&&(s=Qa(e,n,r),s===void 0&&(s=Qa(t,n,r))),s},Oa=e=>e.replace(/\$/g,"$$$$");class lf{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ht.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:s,prefixEscaped:i,suffix:l,suffixEscaped:u,formatSeparator:c,unescapeSuffix:d,unescapePrefix:h,nestingPrefix:m,nestingPrefixEscaped:b,nestingSuffix:_,nestingSuffixEscaped:y,nestingOptionsSeparator:p,maxReplaces:x,alwaysFormat:j}=t.interpolation;this.escape=n!==void 0?n:qh,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=s?cr(s):i||"{{",this.suffix=l?cr(l):u||"}}",this.formatSeparator=c||",",this.unescapePrefix=d?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=m?cr(m):b||cr("$t("),this.nestingSuffix=_?cr(_):y||cr(")"),this.nestingOptionsSeparator=p||",",this.maxReplaces=x||1e3,this.alwaysFormat=j!==void 0?j:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){let s,i,l;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=b=>{if(b.indexOf(this.formatSeparator)<0){const x=Ms(n,u,b,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(x,void 0,r,{...a,...n,interpolationkey:b}):x}const _=b.split(this.formatSeparator),y=_.shift().trim(),p=_.join(this.formatSeparator).trim();return this.format(Ms(n,u,y,this.options.keySeparator,this.options.ignoreJSONStructure),p,r,{...a,...n,interpolationkey:y})};this.resetRegExp();const d=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,h=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:b=>Oa(b)},{regex:this.regexp,safeValue:b=>this.escapeValue?Oa(this.escape(b)):Oa(b)}].forEach(b=>{for(l=0;s=b.regex.exec(t);){const _=s[1].trim();if(i=c(_),i===void 0)if(typeof d=="function"){const p=d(t,s,a);i=typeof p=="string"?p:""}else if(a&&Object.prototype.hasOwnProperty.call(a,_))i="";else if(h){i=s[0];continue}else this.logger.warn(`missed to pass in variable ${_} for interpolating ${t}`),i="";else typeof i!="string"&&!this.useRawValueToEscape&&(i=Ss(i));const y=b.safeValue(i);if(t=t.replace(s[0],y),h?(b.regex.lastIndex+=i.length,b.regex.lastIndex-=s[0].length):b.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,i;const l=(u,c)=>{const d=this.nestingOptionsSeparator;if(u.indexOf(d)<0)return u;const h=u.split(new RegExp(`${d}[ ]*{`));let m=`{${h[1]}`;u=h[0],m=this.interpolate(m,i);const b=m.match(/'/g),_=m.match(/"/g);(b&&b.length%2===0&&!_||_.length%2!==0)&&(m=m.replace(/'/g,'"'));try{i=JSON.parse(m),c&&(i={...c,...i})}catch(y){return this.logger.warn(`failed parsing options string in nesting for key ${u}`,y),`${u}${d}${m}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,u};for(;a=this.nestingRegexp.exec(t);){let u=[];i={...r},i=i.replace&&typeof i.replace!="string"?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let c=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const d=a[1].split(this.formatSeparator).map(h=>h.trim());a[1]=d.shift(),u=d,c=!0}if(s=n(l.call(this,a[1].trim(),i),i),s&&a[0]===t&&typeof s!="string")return s;typeof s!="string"&&(s=Ss(s)),s||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),s=""),c&&(s=u.reduce((d,h)=>this.format(d,h,r.lng,{...r,interpolationkey:a[1].trim()}),s.trim())),t=t.replace(a[0],s),this.regexp.lastIndex=0}return t}}const uf=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(i=>{if(i){const[l,...u]=i.split(":"),c=u.join(":").trim().replace(/^'+|'+$/g,""),d=l.trim();n[d]||(n[d]=c),c==="false"&&(n[d]=!1),c==="true"&&(n[d]=!0),isNaN(c)||(n[d]=parseInt(c,10))}})}return{formatName:t,formatOptions:n}},dr=e=>{const t={};return(n,r,a)=>{let s=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(s={formatParams:{[a.interpolationkey]:a.formatParams[a.interpolationkey]},interpolationKey:a.interpolationkey});const i=r+JSON.stringify(s);let l=t[i];return l||(l=e(Dn(r),a),t[i]=l),l(n)}};class cf{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ht.create("formatter"),this.options=t,this.formats={number:dr((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return s=>a.format(s)}),currency:dr((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return s=>a.format(s)}),datetime:dr((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return s=>a.format(s)}),relativetime:dr((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return s=>a.format(s,r.range||"day")}),list:dr((n,r)=>{const a=new Intl.ListFormat(n,{...r});return s=>a.format(s)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=dr(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(l=>l.indexOf(")")>-1)){const l=s.findIndex(u=>u.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,l)].join(this.formatSeparator)}return s.reduce((l,u)=>{const{formatName:c,formatOptions:d}=uf(u);if(this.formats[c]){let h=l;try{const m=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},b=m.locale||m.lng||a.locale||a.lng||r;h=this.formats[c](l,b,{...d,...a,...m})}catch(m){this.logger.warn(m)}return h}else this.logger.warn(`there was no format function for ${c}`);return l},t)}}const df=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class mf extends sa{constructor(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=ht.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,a.backend,a)}queueLoad(t,n,r,a){const s={},i={},l={},u={};return t.forEach(c=>{let d=!0;n.forEach(h=>{const m=`${c}|${h}`;!r.reload&&this.store.hasResourceBundle(c,h)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?i[m]===void 0&&(i[m]=!0):(this.state[m]=1,d=!1,i[m]===void 0&&(i[m]=!0),s[m]===void 0&&(s[m]=!0),u[h]===void 0&&(u[h]=!0)))}),d||(l[c]=!0)}),(Object.keys(s).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(s),pending:Object.keys(i),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(u)}}loaded(t,n,r){const a=t.split("|"),s=a[0],i=a[1];n&&this.emit("failedLoading",s,i,n),r&&this.store.addResourceBundle(s,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const l={};this.queue.forEach(u=>{Wh(u.loaded,[s],i),df(u,t),n&&u.errors.push(n),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(c=>{l[c]||(l[c]={});const d=u.loaded[c];d.length&&d.forEach(h=>{l[c][h]===void 0&&(l[c][h]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(u=>!u.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:s,callback:i});return}this.readingCalls++;const l=(c,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(c&&d&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,a+1,s*2,i)},s);return}i(c,d)},u=this.backend[r].bind(this.backend);if(u.length===2){try{const c=u(t,n);c&&typeof c.then=="function"?c.then(d=>l(null,d)).catch(l):l(null,c)}catch(c){l(c)}return}return u(t,n,l)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const s=this.queueLoad(t,n,r,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],s=r[1];this.read(a,s,"read",void 0,void 0,(i,l)=>{i&&this.logger.warn(`${n}loading namespace ${s} for language ${a} failed`,i),!i&&l&&this.logger.log(`${n}loaded namespace ${s} for language ${a}`,l),this.loaded(t,i,l)})}saveMissing(t,n,r,a,s){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const u={...i,isUpdate:s},c=this.backend.create.bind(this.backend);if(c.length<6)try{let d;c.length===5?d=c(t,n,r,a,u):d=c(t,n,r,a),d&&typeof d.then=="function"?d.then(h=>l(null,h)).catch(l):l(null,d)}catch(d){l(d)}else c(t,n,r,a,l,u)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const ks=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Is=e=>(typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),gn=()=>{},hf=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Hr extends sa{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Is(t),this.services={},this.logger=ht,this.modules={external:[]},hf(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=ks();this.options={...a,...this.options,...Is(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const s=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?ht.init(s(this.modules.logger),this.options):ht.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=cf);const h=new Ps(this.options);this.store=new Rs(this.options.resources,this.options);const m=this.services;m.logger=ht,m.resourceStore=this.store,m.languageUtils=h,m.pluralResolver=new sf(h,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(m.formatter=s(d),m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new lf(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new mf(s(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",function(b){for(var _=arguments.length,y=new Array(_>1?_-1:0),p=1;p<_;p++)y[p-1]=arguments[p];t.emit(b,...y)}),this.modules.languageDetector&&(m.languageDetector=s(this.modules.languageDetector),m.languageDetector.init&&m.languageDetector.init(m,this.options.detection,this.options)),this.modules.i18nFormat&&(m.i18nFormat=s(this.modules.i18nFormat),m.i18nFormat.init&&m.i18nFormat.init(this)),this.translator=new Bn(this.services,this.options),this.translator.on("*",function(b){for(var _=arguments.length,y=new Array(_>1?_-1:0),p=1;p<_;p++)y[p-1]=arguments[p];t.emit(b,...y)}),this.modules.external.forEach(b=>{b.init&&b.init(this)})}if(this.format=this.options.interpolation.format,r||(r=gn),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const u=Nr(),c=()=>{const d=(h,m)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),u.resolve(m),r(h,m)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),u}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gn;const a=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],i=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(c=>{c!=="cimode"&&s.indexOf(c)<0&&s.push(c)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>i(u)),this.options.preload&&this.options.preload.forEach(l=>i(l)),this.services.backendConnector.load(s,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(l)})}else r(null)}reloadResources(t,n,r){const a=Nr();return t||(t=this.languages),n||(n=this.options.ns),r||(r=gn),this.services.backendConnector.reload(t,n,s=>{a.resolve(),r(s)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&ul.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=Nr();this.emit("languageChanging",t);const s=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},i=(u,c)=>{c?(s(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(u,function(){return r.t(...arguments)})},l=u=>{!t&&!u&&this.services.languageDetector&&(u=[]);const c=typeof u=="string"?u:this.services.languageUtils.getBestMatchFromCodes(u);c&&(this.language||s(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,d=>{i(d,c)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),a}getFixedT(t,n,r){var a=this;const s=function(i,l){let u;if(typeof l!="object"){for(var c=arguments.length,d=new Array(c>2?c-2:0),h=2;h<c;h++)d[h-2]=arguments[h];u=a.options.overloadTranslationOptionHandler([i,l].concat(d))}else u={...l};u.lng=u.lng||s.lng,u.lngs=u.lngs||s.lngs,u.ns=u.ns||s.ns,u.keyPrefix!==""&&(u.keyPrefix=u.keyPrefix||r||s.keyPrefix);const m=a.options.keySeparator||".";let b;return u.keyPrefix&&Array.isArray(i)?b=i.map(_=>`${u.keyPrefix}${m}${_}`):b=u.keyPrefix?`${u.keyPrefix}${m}${i}`:i,a.t(b,u)};return typeof t=="string"?s.lng=t:s.lngs=t,s.ns=n,s.keyPrefix=r,s}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(l,u)=>{const c=this.services.backendConnector.state[`${l}|${u}`];return c===-1||c===2};if(n.precheck){const l=n.precheck(this,i);if(l!==void 0)return l}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!a||i(s,t)))}loadNamespaces(t,n){const r=Nr();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=Nr();typeof t=="string"&&(t=[t]);const a=this.options.preload||[],s=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return s.length?(this.options.preload=a.concat(s),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new Ps(ks());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Hr(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gn;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},s=new Hr(a);return(t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(l=>{s[l]=this[l]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r&&(s.store=new Rs(this.store.data,a),s.services.resourceStore=s.store),s.translator=new Bn(s.services,a),s.translator.on("*",function(l){for(var u=arguments.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=arguments[d];s.emit(l,...c)}),s.init(a,n),s.translator.options=a,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const ke=Hr.createInstance();ke.createInstance=Hr.createInstance;ke.createInstance;ke.dir;ke.init;ke.loadResources;ke.reloadResources;ke.use;ke.changeLanguage;ke.getFixedT;ke.t;ke.exists;ke.setDefaultNamespace;ke.hasLoadedNamespace;ke.loadNamespaces;ke.loadLanguages;const ff={"Jogging.Cartesian.Translation.velocityMmPerSec.lb":"{{amount}} mm/s","Jogging.Cartesian.Rotation.velocityDegPerSec.lb":"{{amount}}°/s","Jogging.Velocity.lb":"Geschwindigkeit","General.degree.variable":"{{amount}}°","General.mm.variable":"{{amount}}mm","Jogging.Cartesian.MotionType.lb":"Bewegungstyp","Jogging.Cartesian.Translation.bt":"Translation","Jogging.Cartesian.Rotation.bt":"Rotation","Jogging.Joints.JointValues.lb":"Gelenkwerte","Jogging.Increment.Continuous.dd":"Fortlaufend","Jogging.Cartesian.Orientation.lb":"Orientierung","Jogging.Activate.bt":"Jogging aktivieren","Jogging.Activating.lb":"Jogging wird aktiviert","Jogging.JointLimitsReached.lb":"Joint-Limit für Joint {{jointNumbers}} erreicht"},gf={"Jogging.Cartesian.Translation.velocityMmPerSec.lb":"{{amount}} mm/s","Jogging.Cartesian.Rotation.velocityDegPerSec.lb":"{{amount}}°/s","Jogging.Velocity.lb":"Velocity","General.degree.variable":"{{amount}}°","General.mm.variable":"{{amount}}mm","Jogging.Cartesian.MotionType.lb":"Motion type","Jogging.Cartesian.Translation.bt":"Translation","Jogging.Cartesian.Rotation.bt":"Rotation","Jogging.Joints.JointValues.lb":"Joint values","Jogging.Increment.Continuous.dd":"Continuous","Jogging.Cartesian.Orientation.lb":"Orientation","Jogging.Activate.bt":"Activate jogging","Jogging.Activating.lb":"Activating jogging","Jogging.JointLimitsReached.lb":"Joint limit reached for joint {{jointNumbers}}"},cl=ke.createInstance();cl.use(Wu).init({supportedLngs:["en","de"],resources:{en:{translations:gf},de:{translations:ff}},ns:["translations"],defaultNS:"translations",detection:{order:["navigator","htmlTag"]}});function on(e){return n=>o.jsx(pf,{children:o.jsx(e,{...n})})}const pf=({children:e})=>o.jsx(qt.I18nextProvider,{i18n:cl,children:e});function ia(e){Y.useEffect(e,[])}function dl(e){ia(()=>dt.autorun(e))}function Io(e,t,n){ia(()=>dt.reaction(e,t,n))}function xr(e){return ia(()=>{let t;function n(){e(),t=requestAnimationFrame(n)}return t=requestAnimationFrame(n),()=>{cancelAnimationFrame(t)}})}const eo=on(Te.observer(({colors:e,label:t,getDisplayedValue:n,startJogging:r,stopJogging:a,disabled:s,...i})=>{xr(()=>{const d=n(),h=l.current;h&&(h.textContent=d)});const l=Y.useRef(null);function u(d){s||d.button===0&&r("-")}function c(d){s||d.button===0&&r("+")}return e||(e={color:"#fff",backgroundColor:"#000",borderColor:"#000",buttonBackgroundColor:"#000"}),o.jsxs(yr,{height:"72px",direction:"row",justifyContent:"center",...i,children:[o.jsx(T.IconButton,{onPointerDown:u,onPointerUp:a,onPointerOut:a,size:"large",sx:{width:"55px",backgroundColor:e.buttonBackgroundColor,color:e.color,alignContent:"center",fontSize:"37px",borderRadius:"16px 0px 0px 16px",borderLeft:`2px solid ${e.borderColor??"#fff"}`,borderBottom:`2px solid ${e.borderColor??"#fff"}`,borderTop:`2px solid ${e.borderColor??"#fff"}`,":hover":{backgroundColor:e.buttonBackgroundColor}},children:o.jsx(zo.Remove,{})}),o.jsxs(yr,{spacing:"6px",sx:{width:"150px",backgroundColor:e.backgroundColor,alignItems:"center",justifyContent:"center",opacity:"0.9"},children:[o.jsx(yr,{height:"22px",direction:"row",alignItems:"center",justifyItems:"center",spacing:1,sx:{userSelect:"none",color:"white"},children:t}),o.jsx(T.Typography,{height:"22px",sx:{fontSize:"15px",color:e.color},ref:l,children:n()})]}),o.jsx(T.IconButton,{onPointerDown:c,onPointerUp:a,onPointerOut:a,size:"large",sx:{width:"55px",backgroundColor:e.buttonBackgroundColor,color:e.color,alignContent:"center",fontSize:"37px",borderRadius:"0px 16px 16px 0px",borderRight:`2px solid ${e.borderColor??"#fff"}`,borderBottom:`2px solid ${e.borderColor??"#fff"}`,borderTop:`2px solid ${e.borderColor??"#fff"}`,":hover":{backgroundColor:e.buttonBackgroundColor}},children:o.jsx(zo.Add,{})})]})}));var To={},Ea={};function yf(e){return nn("MuiSvgIcon",e)}Wi("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const _f=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],vf=e=>{const{color:t,fontSize:n,classes:r}=e,a={root:["root",t!=="inherit"&&`color${Pe(t)}`,`fontSize${Pe(n)}`]};return Ro(a,yf,r)},bf=Rt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Pe(n.color)}`],t[`fontSize${Pe(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,s,i,l,u,c,d,h,m,b,_;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(a=e.transitions)==null||(a=a.duration)==null?void 0:a.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(i=s.pxToRem)==null?void 0:i.call(s,20))||"1.25rem",medium:((l=e.typography)==null||(u=l.pxToRem)==null?void 0:u.call(l,24))||"1.5rem",large:((c=e.typography)==null||(d=c.pxToRem)==null?void 0:d.call(c,35))||"2.1875rem"}[t.fontSize],color:(h=(m=(e.vars||e).palette)==null||(m=m[t.color])==null?void 0:m.main)!=null?h:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(_=(e.vars||e).palette)==null||(_=_.action)==null?void 0:_.disabled,inherit:void 0}[t.color]}}),Un=N.forwardRef(function(t,n){const r=ko({props:t,name:"MuiSvgIcon"}),{children:a,className:s,color:i="inherit",component:l="svg",fontSize:u="medium",htmlColor:c,inheritViewBox:d=!1,titleAccess:h,viewBox:m="0 0 24 24"}=r,b=Be(r,_f),_=N.isValidElement(a)&&a.type==="svg",y=k({},r,{color:i,component:l,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:m,hasSvgAsChild:_}),p={};d||(p.viewBox=m);const x=vf(y);return o.jsxs(bf,k({as:l,className:gt(x.root,s),focusable:"false",color:c,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:n},p,b,_&&a.props,{ownerState:y,children:[_?a.props.children:a,h?o.jsx("title",{children:h}):null]}))});process.env.NODE_ENV!=="production"&&(Un.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),f.string]),component:f.elementType,fontSize:f.oneOfType([f.oneOf(["inherit","large","medium","small"]),f.string]),htmlColor:f.string,inheritViewBox:f.bool,shapeRendering:f.string,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),titleAccess:f.string,viewBox:f.string});Un.muiName="SvgIcon";function Sf(e,t){function n(r,a){return o.jsx(Un,k({"data-testid":`${t}Icon`,ref:a},r,{children:e}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=Un.muiName,N.memo(N.forwardRef(n))}const xf={configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
78
+ `)),zi.configure(e)}},wf=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Pe,createChainedFunction:tm,createSvgIcon:Sf,debounce:rm,deprecatedPropType:nm,isMuiElement:am,ownerDocument:pr,ownerWindow:om,requirePropFactory:sm,setRef:Yi,unstable_ClassNameGenerator:xf,unstable_useEnhancedEffect:wo,unstable_useId:lm,unsupportedProp:um,useControlled:Zi,useEventCallback:An,useForkRef:Ln,useIsFocusVisible:Qi},Symbol.toStringTag,{value:"Module"})),jf=jt(wf);var Ts;function ml(){return Ts||(Ts=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=jf}(Ea)),Ea}var Rf=oa;Object.defineProperty(To,"__esModule",{value:!0});var hl=To.default=void 0,Af=Rf(ml()),Pf=o;hl=To.default=(0,Af.default)((0,Pf.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");var Oo={},Cf=oa;Object.defineProperty(Oo,"__esModule",{value:!0});var fl=Oo.default=void 0,Mf=Cf(ml()),kf=o;fl=Oo.default=(0,Mf.default)((0,kf.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");function Kt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var gl=typeof global=="object"&&global&&global.Object===Object&&global,If=typeof self=="object"&&self&&self.Object===Object&&self,yt=gl||If||Function("return this")(),La=function(){return yt.Date.now()},Tf=/\s/;function Of(e){for(var t=e.length;t--&&Tf.test(e.charAt(t)););return t}var Ef=/^\s+/;function Lf(e){return e&&e.slice(0,Of(e)+1).replace(Ef,"")}var $t=yt.Symbol,pl=Object.prototype,$f=pl.hasOwnProperty,Nf=pl.toString,Fr=$t?$t.toStringTag:void 0;function Ff(e){var t=$f.call(e,Fr),n=e[Fr];try{e[Fr]=void 0;var r=!0}catch{}var a=Nf.call(e);return r&&(t?e[Fr]=n:delete e[Fr]),a}var Df=Object.prototype,Bf=Df.toString;function Uf(e){return Bf.call(e)}var Jf="[object Null]",Vf="[object Undefined]",Os=$t?$t.toStringTag:void 0;function Yt(e){return e==null?e===void 0?Vf:Jf:Os&&Os in Object(e)?Ff(e):Uf(e)}function Wt(e){return e!=null&&typeof e=="object"}var Gf="[object Symbol]";function la(e){return typeof e=="symbol"||Wt(e)&&Yt(e)==Gf}var Es=NaN,zf=/^[-+]0x[0-9a-f]+$/i,Kf=/^0b[01]+$/i,Wf=/^0o[0-7]+$/i,Hf=parseInt;function Ls(e){if(typeof e=="number")return e;if(la(e))return Es;if(Kt(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Kt(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Lf(e);var n=Kf.test(e);return n||Wf.test(e)?Hf(e.slice(2),n?2:8):zf.test(e)?Es:+e}var Xf="Expected a function",qf=Math.max,Yf=Math.min;function Zf(e,t,n){var r,a,s,i,l,u,c=0,d=!1,h=!1,m=!0;if(typeof e!="function")throw new TypeError(Xf);t=Ls(t)||0,Kt(n)&&(d=!!n.leading,h="maxWait"in n,s=h?qf(Ls(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m);function b(P){var M=r,z=a;return r=a=void 0,c=P,i=e.apply(z,M),i}function _(P){return c=P,l=setTimeout(x,t),d?b(P):i}function y(P){var M=P-u,z=P-c,le=t-M;return h?Yf(le,s-z):le}function p(P){var M=P-u,z=P-c;return u===void 0||M>=t||M<0||h&&z>=s}function x(){var P=La();if(p(P))return j(P);l=setTimeout(x,y(P))}function j(P){return l=void 0,m&&r?b(P):(r=a=void 0,i)}function C(){l!==void 0&&clearTimeout(l),c=0,r=u=a=l=void 0}function A(){return l===void 0?i:j(La())}function w(){var P=La(),M=p(P);if(r=arguments,a=this,u=P,M){if(l===void 0)return _(u);if(h)return clearTimeout(l),l=setTimeout(x,t),b(u)}return l===void 0&&(l=setTimeout(x,t)),i}return w.cancel=C,w.flush=A,w}var Qf="Expected a function";function e0(e,t,n){var r=!0,a=!0;if(typeof e!="function")throw new TypeError(Qf);return Kt(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),Zf(e,t,{leading:r,maxWait:t,trailing:a})}const yl=on(Te.observer(({startJogging:e,stopJogging:t,lowerLimitDegs:n,upperLimitDegs:r,getValueDegs:a,disabled:s,...i})=>{const{t:l}=qt.useTranslation(),[u,c]=Y.useState(),d=Te.useLocalObservable(()=>({activeJoggingDir:null,startJogging(x){this.activeJoggingDir=x,e(x)},stopJogging(){this.activeJoggingDir=null,t()}})),h=e0(()=>{c(a())},50);xr(h);function m(x){x.button===0&&d.startJogging("-")}function b(x){x.button===0&&d.startJogging("+")}function _(x){d.stopJogging()}function y(x){x.target===x.currentTarget&&d.stopJogging()}function p(x,j=1){if(x===void 0||isNaN(x))return"";const C=l("General.degree.variable",{amount:x.toFixed(j)});return x>0&&j===0?`+${C}`:C}return o.jsxs(yr,{height:"64px",width:"100%",maxWidth:"300px",direction:"row",...i,sx:{"& .MuiIconButton-root":{width:"52px",color:"white",alignContent:"center",backgroundColor:"#38445A","&:disabled":{opacity:.5,backgroundColor:"#38445A"},"& svg":{width:"42px",height:"42px"}}},children:[o.jsx(T.IconButton,{onPointerDown:m,onPointerUp:_,onPointerOut:y,disabled:s,sx:{borderRadius:"16px 0px 0px 16px",backgroundColor:d.activeJoggingDir==="-"?"#495975":void 0},children:o.jsx(hl,{})}),o.jsxs(yr,{flexGrow:1,alignItems:"center",justifyContent:"center",sx:{borderStyle:"solid",borderLeftWidth:0,borderRightWidth:0,borderTopWidth:"4px",borderBottomWidth:"4px",backgroundColor:"#38445A",borderColor:"#38445A",paddingLeft:"20px",paddingRight:"20px",zIndex:1},children:[o.jsx(T.Typography,{sx:{fontSize:"15px",position:"relative",top:"5px",color:"white"},children:p(u)}),o.jsx(T.Slider,{disabled:!0,"aria-label":"Joint position",min:n,max:r,value:u||0,track:!1,sx:{"& .MuiSlider-mark":{display:"none"},"& .MuiSlider-thumb":{width:"5px",height:"10px",borderRadius:"2px"},"& .MuiSlider-markLabel":{top:"20px",fontSize:"12px",color:"white"},"& .MuiSlider-rail":{backgroundColor:"#1F283A",opacity:1}},marks:n!==void 0&&r!==void 0&&[{value:n,label:p(n,0)},{value:r,label:p(r,0)}]})]}),o.jsx(T.IconButton,{onPointerDown:b,onPointerUp:_,onPointerOut:y,disabled:s,sx:{borderRadius:"0px 16px 16px 0px",backgroundColor:d.activeJoggingDir==="+"?"#495975 !important":"#38445A"},children:o.jsx(fl,{})})]})}));function _l(e,t){return function(){return e.apply(t,arguments)}}const{toString:t0}=Object.prototype,{getPrototypeOf:Eo}=Object,ua=(e=>t=>{const n=t0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),it=e=>(e=e.toLowerCase(),t=>ua(t)===e),ca=e=>t=>typeof t===e,{isArray:wr}=Array,Xr=ca("undefined");function r0(e){return e!==null&&!Xr(e)&&e.constructor!==null&&!Xr(e.constructor)&&Ke(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const vl=it("ArrayBuffer");function n0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&vl(e.buffer),t}const a0=ca("string"),Ke=ca("function"),bl=ca("number"),da=e=>e!==null&&typeof e=="object",o0=e=>e===!0||e===!1,kn=e=>{if(ua(e)!=="object")return!1;const t=Eo(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},s0=it("Date"),i0=it("File"),l0=it("Blob"),u0=it("FileList"),c0=e=>da(e)&&Ke(e.pipe),d0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ke(e.append)&&((t=ua(e))==="formdata"||t==="object"&&Ke(e.toString)&&e.toString()==="[object FormData]"))},m0=it("URLSearchParams"),[h0,f0,g0,p0]=["ReadableStream","Request","Response","Headers"].map(it),y0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function sn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),wr(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let l;for(r=0;r<i;r++)l=s[r],t.call(null,e[l],l,e)}}function Sl(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const Vt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xl=e=>!Xr(e)&&e!==Vt;function to(){const{caseless:e}=xl(this)&&this||{},t={},n=(r,a)=>{const s=e&&Sl(t,a)||a;kn(t[s])&&kn(r)?t[s]=to(t[s],r):kn(r)?t[s]=to({},r):wr(r)?t[s]=r.slice():t[s]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&sn(arguments[r],n);return t}const _0=(e,t,n,{allOwnKeys:r}={})=>(sn(t,(a,s)=>{n&&Ke(a)?e[s]=_l(a,n):e[s]=a},{allOwnKeys:r}),e),v0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),b0=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},S0=(e,t,n,r)=>{let a,s,i;const l={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),s=a.length;s-- >0;)i=a[s],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Eo(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},x0=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},w0=e=>{if(!e)return null;if(wr(e))return e;let t=e.length;if(!bl(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},j0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Eo(Uint8Array)),R0=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=r.next())&&!a.done;){const s=a.value;t.call(e,s[0],s[1])}},A0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},P0=it("HTMLFormElement"),C0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),$s=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),M0=it("RegExp"),wl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};sn(n,(a,s)=>{let i;(i=t(a,s,e))!==!1&&(r[s]=i||a)}),Object.defineProperties(e,r)},k0=e=>{wl(e,(t,n)=>{if(Ke(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ke(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},I0=(e,t)=>{const n={},r=a=>{a.forEach(s=>{n[s]=!0})};return wr(e)?r(e):r(String(e).split(t)),n},T0=()=>{},O0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,$a="abcdefghijklmnopqrstuvwxyz",Ns="0123456789",jl={DIGIT:Ns,ALPHA:$a,ALPHA_DIGIT:$a+$a.toUpperCase()+Ns},E0=(e=16,t=jl.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function L0(e){return!!(e&&Ke(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const $0=e=>{const t=new Array(10),n=(r,a)=>{if(da(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[a]=r;const s=wr(r)?[]:{};return sn(r,(i,l)=>{const u=n(i,a+1);!Xr(u)&&(s[l]=u)}),t[a]=void 0,s}}return r};return n(e,0)},N0=it("AsyncFunction"),F0=e=>e&&(da(e)||Ke(e))&&Ke(e.then)&&Ke(e.catch),Rl=((e,t)=>e?setImmediate:t?((n,r)=>(Vt.addEventListener("message",({source:a,data:s})=>{a===Vt&&s===n&&r.length&&r.shift()()},!1),a=>{r.push(a),Vt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ke(Vt.postMessage)),D0=typeof queueMicrotask<"u"?queueMicrotask.bind(Vt):typeof process<"u"&&process.nextTick||Rl,S={isArray:wr,isArrayBuffer:vl,isBuffer:r0,isFormData:d0,isArrayBufferView:n0,isString:a0,isNumber:bl,isBoolean:o0,isObject:da,isPlainObject:kn,isReadableStream:h0,isRequest:f0,isResponse:g0,isHeaders:p0,isUndefined:Xr,isDate:s0,isFile:i0,isBlob:l0,isRegExp:M0,isFunction:Ke,isStream:c0,isURLSearchParams:m0,isTypedArray:j0,isFileList:u0,forEach:sn,merge:to,extend:_0,trim:y0,stripBOM:v0,inherits:b0,toFlatObject:S0,kindOf:ua,kindOfTest:it,endsWith:x0,toArray:w0,forEachEntry:R0,matchAll:A0,isHTMLForm:P0,hasOwnProperty:$s,hasOwnProp:$s,reduceDescriptors:wl,freezeMethods:k0,toObjectSet:I0,toCamelCase:C0,noop:T0,toFiniteNumber:O0,findKey:Sl,global:Vt,isContextDefined:xl,ALPHABET:jl,generateString:E0,isSpecCompliantForm:L0,toJSONObject:$0,isAsyncFn:N0,isThenable:F0,setImmediate:Rl,asap:D0};function J(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}S.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:S.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Al=J.prototype,Pl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Pl[e]={value:e}});Object.defineProperties(J,Pl);Object.defineProperty(Al,"isAxiosError",{value:!0});J.from=(e,t,n,r,a,s)=>{const i=Object.create(Al);return S.toFlatObject(e,i,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),J.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const B0=null;function ro(e){return S.isPlainObject(e)||S.isArray(e)}function Cl(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function Fs(e,t,n){return e?e.concat(t).map(function(a,s){return a=Cl(a),!n&&s?"["+a+"]":a}).join(n?".":""):t}function U0(e){return S.isArray(e)&&!e.some(ro)}const J0=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function ma(e,t,n){if(!S.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=S.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,p){return!S.isUndefined(p[y])});const r=n.metaTokens,a=n.visitor||d,s=n.dots,i=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(t);if(!S.isFunction(a))throw new TypeError("visitor must be a function");function c(_){if(_===null)return"";if(S.isDate(_))return _.toISOString();if(!u&&S.isBlob(_))throw new J("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(_)||S.isTypedArray(_)?u&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function d(_,y,p){let x=_;if(_&&!p&&typeof _=="object"){if(S.endsWith(y,"{}"))y=r?y:y.slice(0,-2),_=JSON.stringify(_);else if(S.isArray(_)&&U0(_)||(S.isFileList(_)||S.endsWith(y,"[]"))&&(x=S.toArray(_)))return y=Cl(y),x.forEach(function(C,A){!(S.isUndefined(C)||C===null)&&t.append(i===!0?Fs([y],A,s):i===null?y:y+"[]",c(C))}),!1}return ro(_)?!0:(t.append(Fs(p,y,s),c(_)),!1)}const h=[],m=Object.assign(J0,{defaultVisitor:d,convertValue:c,isVisitable:ro});function b(_,y){if(!S.isUndefined(_)){if(h.indexOf(_)!==-1)throw Error("Circular reference detected in "+y.join("."));h.push(_),S.forEach(_,function(x,j){(!(S.isUndefined(x)||x===null)&&a.call(t,x,S.isString(j)?j.trim():j,y,m))===!0&&b(x,y?y.concat(j):[j])}),h.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return b(e),t}function Ds(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Lo(e,t){this._pairs=[],e&&ma(e,this,t)}const Ml=Lo.prototype;Ml.append=function(t,n){this._pairs.push([t,n])};Ml.toString=function(t){const n=t?function(r){return t.call(this,r,Ds)}:Ds;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function V0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function kl(e,t,n){if(!t)return e;const r=n&&n.encode||V0,a=n&&n.serialize;let s;if(a?s=a(t,n):s=S.isURLSearchParams(t)?t.toString():new Lo(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Bs{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){S.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Il={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},G0=typeof URLSearchParams<"u"?URLSearchParams:Lo,z0=typeof FormData<"u"?FormData:null,K0=typeof Blob<"u"?Blob:null,W0={isBrowser:!0,classes:{URLSearchParams:G0,FormData:z0,Blob:K0},protocols:["http","https","file","blob","url","data"]},$o=typeof window<"u"&&typeof document<"u",H0=(e=>$o&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),X0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",q0=$o&&window.location.href||"http://localhost",Y0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$o,hasStandardBrowserEnv:H0,hasStandardBrowserWebWorkerEnv:X0,origin:q0},Symbol.toStringTag,{value:"Module"})),ot={...Y0,...W0};function Z0(e,t){return ma(e,new ot.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,s){return ot.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function Q0(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function eg(e){const t={},n=Object.keys(e);let r;const a=n.length;let s;for(r=0;r<a;r++)s=n[r],t[s]=e[s];return t}function Tl(e){function t(n,r,a,s){let i=n[s++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),u=s>=n.length;return i=!i&&S.isArray(a)?a.length:i,u?(S.hasOwnProp(a,i)?a[i]=[a[i],r]:a[i]=r,!l):((!a[i]||!S.isObject(a[i]))&&(a[i]=[]),t(n,r,a[i],s)&&S.isArray(a[i])&&(a[i]=eg(a[i])),!l)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,a)=>{t(Q0(r),a,n,0)}),n}return null}function tg(e,t,n){if(S.isString(e))try{return(t||JSON.parse)(e),S.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ln={transitional:Il,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,s=S.isObject(t);if(s&&S.isHTMLForm(t)&&(t=new FormData(t)),S.isFormData(t))return a?JSON.stringify(Tl(t)):t;if(S.isArrayBuffer(t)||S.isBuffer(t)||S.isStream(t)||S.isFile(t)||S.isBlob(t)||S.isReadableStream(t))return t;if(S.isArrayBufferView(t))return t.buffer;if(S.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Z0(t,this.formSerializer).toString();if((l=S.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ma(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return s||a?(n.setContentType("application/json",!1),tg(t)):t}],transformResponse:[function(t){const n=this.transitional||ln.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(S.isResponse(t)||S.isReadableStream(t))return t;if(t&&S.isString(t)&&(r&&!this.responseType||a)){const i=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?J.from(l,J.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ot.classes.FormData,Blob:ot.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],e=>{ln.headers[e]={}});const rg=S.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ng=e=>{const t={};let n,r,a;return e&&e.split(`
79
+ `).forEach(function(i){a=i.indexOf(":"),n=i.substring(0,a).trim().toLowerCase(),r=i.substring(a+1).trim(),!(!n||t[n]&&rg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Us=Symbol("internals");function Dr(e){return e&&String(e).trim().toLowerCase()}function In(e){return e===!1||e==null?e:S.isArray(e)?e.map(In):String(e)}function ag(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const og=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Na(e,t,n,r,a){if(S.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!S.isString(t)){if(S.isString(r))return t.indexOf(r)!==-1;if(S.isRegExp(r))return r.test(t)}}function sg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ig(e,t){const n=S.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,s,i){return this[r].call(this,t,a,s,i)},configurable:!0})})}let Fe=class{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function s(l,u,c){const d=Dr(u);if(!d)throw new Error("header name must be a non-empty string");const h=S.findKey(a,d);(!h||a[h]===void 0||c===!0||c===void 0&&a[h]!==!1)&&(a[h||u]=In(l))}const i=(l,u)=>S.forEach(l,(c,d)=>s(c,d,u));if(S.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(S.isString(t)&&(t=t.trim())&&!og(t))i(ng(t),n);else if(S.isHeaders(t))for(const[l,u]of t.entries())s(u,l,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=Dr(t),t){const r=S.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return ag(a);if(S.isFunction(n))return n.call(this,a,r);if(S.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Dr(t),t){const r=S.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Na(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function s(i){if(i=Dr(i),i){const l=S.findKey(r,i);l&&(!n||Na(r,r[l],l,n))&&(delete r[l],a=!0)}}return S.isArray(t)?t.forEach(s):s(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const s=n[r];(!t||Na(this,this[s],s,t,!0))&&(delete this[s],a=!0)}return a}normalize(t){const n=this,r={};return S.forEach(this,(a,s)=>{const i=S.findKey(r,s);if(i){n[i]=In(a),delete n[s];return}const l=t?sg(s):String(s).trim();l!==s&&delete n[s],n[l]=In(a),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return S.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&S.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
80
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[Us]=this[Us]={accessors:{}}).accessors,a=this.prototype;function s(i){const l=Dr(i);r[l]||(ig(a,i),r[l]=!0)}return S.isArray(t)?t.forEach(s):s(t),this}};Fe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(Fe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});S.freezeMethods(Fe);function Fa(e,t){const n=this||ln,r=t||n,a=Fe.from(r.headers);let s=r.data;return S.forEach(e,function(l){s=l.call(n,s,a.normalize(),t?t.status:void 0)}),a.normalize(),s}function Ol(e){return!!(e&&e.__CANCEL__)}function jr(e,t,n){J.call(this,e??"canceled",J.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(jr,J,{__CANCEL__:!0});function El(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function lg(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ug(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,s=0,i;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=r[s];i||(i=c),n[a]=u,r[a]=c;let h=s,m=0;for(;h!==a;)m+=n[h++],h=h%e;if(a=(a+1)%e,a===s&&(s=(s+1)%e),c-i<t)return;const b=d&&c-d;return b?Math.round(m*1e3/b):void 0}}function cg(e,t){let n=0,r=1e3/t,a,s;const i=(c,d=Date.now())=>{n=d,a=null,s&&(clearTimeout(s),s=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),h=d-n;h>=r?i(c,d):(a=c,s||(s=setTimeout(()=>{s=null,i(a)},r-h)))},()=>a&&i(a)]}const Jn=(e,t,n=3)=>{let r=0;const a=ug(50,250);return cg(s=>{const i=s.loaded,l=s.lengthComputable?s.total:void 0,u=i-r,c=a(u),d=i<=l;r=i;const h={loaded:i,total:l,progress:l?i/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&d?(l-i)/c:void 0,event:s,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(h)},n)},Js=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Vs=e=>(...t)=>S.asap(()=>e(...t)),dg=ot.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function a(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=a(window.location.href),function(i){const l=S.isString(i)?a(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),mg=ot.hasStandardBrowserEnv?{write(e,t,n,r,a,s){const i=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),S.isString(r)&&i.push("path="+r),S.isString(a)&&i.push("domain="+a),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function hg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function fg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ll(e,t){return e&&!hg(t)?fg(e,t):t}const Gs=e=>e instanceof Fe?{...e}:e;function Ht(e,t){t=t||{};const n={};function r(c,d,h){return S.isPlainObject(c)&&S.isPlainObject(d)?S.merge.call({caseless:h},c,d):S.isPlainObject(d)?S.merge({},d):S.isArray(d)?d.slice():d}function a(c,d,h){if(S.isUndefined(d)){if(!S.isUndefined(c))return r(void 0,c,h)}else return r(c,d,h)}function s(c,d){if(!S.isUndefined(d))return r(void 0,d)}function i(c,d){if(S.isUndefined(d)){if(!S.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function l(c,d,h){if(h in t)return r(c,d);if(h in e)return r(void 0,c)}const u={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,d)=>a(Gs(c),Gs(d),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(d){const h=u[d]||a,m=h(e[d],t[d],d);S.isUndefined(m)&&h!==l||(n[d]=m)}),n}const $l=e=>{const t=Ht({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:s,headers:i,auth:l}=t;t.headers=i=Fe.from(i),t.url=kl(Ll(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(S.isFormData(n)){if(ot.hasStandardBrowserEnv||ot.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((u=i.getContentType())!==!1){const[c,...d]=u?u.split(";").map(h=>h.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...d].join("; "))}}if(ot.hasStandardBrowserEnv&&(r&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&dg(t.url))){const c=a&&s&&mg.read(s);c&&i.set(a,c)}return t},gg=typeof XMLHttpRequest<"u",pg=gg&&function(e){return new Promise(function(n,r){const a=$l(e);let s=a.data;const i=Fe.from(a.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:c}=a,d,h,m,b,_;function y(){b&&b(),_&&_(),a.cancelToken&&a.cancelToken.unsubscribe(d),a.signal&&a.signal.removeEventListener("abort",d)}let p=new XMLHttpRequest;p.open(a.method.toUpperCase(),a.url,!0),p.timeout=a.timeout;function x(){if(!p)return;const C=Fe.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),w={data:!l||l==="text"||l==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:C,config:e,request:p};El(function(M){n(M),y()},function(M){r(M),y()},w),p=null}"onloadend"in p?p.onloadend=x:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(x)},p.onabort=function(){p&&(r(new J("Request aborted",J.ECONNABORTED,e,p)),p=null)},p.onerror=function(){r(new J("Network Error",J.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let A=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const w=a.transitional||Il;a.timeoutErrorMessage&&(A=a.timeoutErrorMessage),r(new J(A,w.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,p)),p=null},s===void 0&&i.setContentType(null),"setRequestHeader"in p&&S.forEach(i.toJSON(),function(A,w){p.setRequestHeader(w,A)}),S.isUndefined(a.withCredentials)||(p.withCredentials=!!a.withCredentials),l&&l!=="json"&&(p.responseType=a.responseType),c&&([m,_]=Jn(c,!0),p.addEventListener("progress",m)),u&&p.upload&&([h,b]=Jn(u),p.upload.addEventListener("progress",h),p.upload.addEventListener("loadend",b)),(a.cancelToken||a.signal)&&(d=C=>{p&&(r(!C||C.type?new jr(null,e,p):C),p.abort(),p=null)},a.cancelToken&&a.cancelToken.subscribe(d),a.signal&&(a.signal.aborted?d():a.signal.addEventListener("abort",d)));const j=lg(a.url);if(j&&ot.protocols.indexOf(j)===-1){r(new J("Unsupported protocol "+j+":",J.ERR_BAD_REQUEST,e));return}p.send(s||null)})},yg=(e,t)=>{let n=new AbortController,r;const a=function(u){if(!r){r=!0,i();const c=u instanceof Error?u:this.reason;n.abort(c instanceof J?c:new jr(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{a(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u&&(u.removeEventListener?u.removeEventListener("abort",a):u.unsubscribe(a))}),e=null)};e.forEach(u=>u&&u.addEventListener&&u.addEventListener("abort",a));const{signal:l}=n;return l.unsubscribe=i,[l,()=>{s&&clearTimeout(s),s=null}]},_g=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,a;for(;r<n;)a=r+t,yield e.slice(r,a),r=a},vg=async function*(e,t,n){for await(const r of e)yield*_g(ArrayBuffer.isView(r)?r:await n(String(r)),t)},zs=(e,t,n,r,a)=>{const s=vg(e,t,a);let i=0,l,u=c=>{l||(l=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:d,value:h}=await s.next();if(d){u(),c.close();return}let m=h.byteLength;if(n){let b=i+=m;n(b)}c.enqueue(new Uint8Array(h))}catch(d){throw u(d),d}},cancel(c){return u(c),s.return()}},{highWaterMark:2})},ha=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Nl=ha&&typeof ReadableStream=="function",no=ha&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Fl=(e,...t)=>{try{return!!e(...t)}catch{return!1}},bg=Nl&&Fl(()=>{let e=!1;const t=new Request(ot.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ks=64*1024,ao=Nl&&Fl(()=>S.isReadableStream(new Response("").body)),Vn={stream:ao&&(e=>e.body)};ha&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Vn[t]&&(Vn[t]=S.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,r)})})})(new Response);const Sg=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(S.isArrayBufferView(e)||S.isArrayBuffer(e))return e.byteLength;if(S.isURLSearchParams(e)&&(e=e+""),S.isString(e))return(await no(e)).byteLength},xg=async(e,t)=>{const n=S.toFiniteNumber(e.getContentLength());return n??Sg(t)},wg=ha&&(async e=>{let{url:t,method:n,data:r,signal:a,cancelToken:s,timeout:i,onDownloadProgress:l,onUploadProgress:u,responseType:c,headers:d,withCredentials:h="same-origin",fetchOptions:m}=$l(e);c=c?(c+"").toLowerCase():"text";let[b,_]=a||s||i?yg([a,s],i):[],y,p;const x=()=>{!y&&setTimeout(()=>{b&&b.unsubscribe()}),y=!0};let j;try{if(u&&bg&&n!=="get"&&n!=="head"&&(j=await xg(d,r))!==0){let P=new Request(t,{method:"POST",body:r,duplex:"half"}),M;if(S.isFormData(r)&&(M=P.headers.get("content-type"))&&d.setContentType(M),P.body){const[z,le]=Js(j,Jn(Vs(u)));r=zs(P.body,Ks,z,le,no)}}S.isString(h)||(h=h?"include":"omit"),p=new Request(t,{...m,signal:b,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:h});let C=await fetch(p);const A=ao&&(c==="stream"||c==="response");if(ao&&(l||A)){const P={};["status","statusText","headers"].forEach(ce=>{P[ce]=C[ce]});const M=S.toFiniteNumber(C.headers.get("content-length")),[z,le]=l&&Js(M,Jn(Vs(l),!0))||[];C=new Response(zs(C.body,Ks,z,()=>{le&&le(),A&&x()},no),P)}c=c||"text";let w=await Vn[S.findKey(Vn,c)||"text"](C,e);return!A&&x(),_&&_(),await new Promise((P,M)=>{El(P,M,{data:w,headers:Fe.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:p})})}catch(C){throw x(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,e,p),{cause:C.cause||C}):J.from(C,C&&C.code,e,p)}}),oo={http:B0,xhr:pg,fetch:wg};S.forEach(oo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ws=e=>`- ${e}`,jg=e=>S.isFunction(e)||e===null||e===!1,Dl={getAdapter:e=>{e=S.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let s=0;s<t;s++){n=e[s];let i;if(r=n,!jg(n)&&(r=oo[(i=String(n)).toLowerCase()],r===void 0))throw new J(`Unknown adapter '${i}'`);if(r)break;a[i||"#"+s]=r}if(!r){const s=Object.entries(a).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since :
81
81
  `+s.map(Ws).join(`
82
- `):" "+Ws(s[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:oo};function Da(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new jr(null,e)}function Hs(e){return Da(e),e.headers=Fe.from(e.headers),e.data=Fa.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Dl.getAdapter(e.adapter||ln.adapter)(e).then(function(r){return Da(e),r.data=Fa.call(e,e.transformResponse,r),r.headers=Fe.from(r.headers),r},function(r){return Il(r)||(Da(e),r&&r.response&&(r.response.data=Fa.call(e,e.transformResponse,r.response),r.response.headers=Fe.from(r.response.headers))),Promise.reject(r)})}const Bl="1.7.4",No={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{No[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const qs={};No.transitional=function(t,n,r){function a(s,i){return"[Axios v"+Bl+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,l)=>{if(t===!1)throw new J(a(i," has been removed"+(n?" in "+n:"")),J.ERR_DEPRECATED);return n&&!qs[i]&&(qs[i]=!0,console.warn(a(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,l):!0}};function jg(e,t,n){if(typeof e!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const s=r[a],i=t[s];if(i){const l=e[s],u=l===void 0||i(l,s,e);if(u!==!0)throw new J("option "+s+" must be "+u,J.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new J("Unknown option "+s,J.ERR_BAD_OPTION)}}const so={assertOptions:jg,validators:No},It=so.validators;let Gt=class{constructor(t){this.defaults=t,this.interceptors={request:new Bs,response:new Bs}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const s=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
83
- `+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ht(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:s}=n;r!==void 0&&so.assertOptions(r,{silentJSONParsing:It.transitional(It.boolean),forcedJSONParsing:It.transitional(It.boolean),clarifyTimeoutError:It.transitional(It.boolean)},!1),a!=null&&(S.isFunction(a)?n.paramsSerializer={serialize:a}:so.assertOptions(a,{encode:It.function,serialize:It.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&S.merge(s.common,s[n.method]);s&&S.forEach(["delete","get","head","post","put","patch","common"],_=>{delete s[_]}),n.headers=Fe.concat(i,s);const l=[];let u=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(u=u&&y.synchronous,l.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let d,h=0,m;if(!u){const _=[Hs.bind(this),void 0];for(_.unshift.apply(_,l),_.push.apply(_,c),m=_.length,d=Promise.resolve(n);h<m;)d=d.then(_[h++],_[h++]);return d}m=l.length;let v=n;for(h=0;h<m;){const _=l[h++],y=l[h++];try{v=_(v)}catch(p){y.call(this,p);break}}try{d=Hs.call(this,v)}catch(_){return Promise.reject(_)}for(h=0,m=c.length;h<m;)d=d.then(c[h++],c[h++]);return d}getUri(t){t=Ht(this.defaults,t);const n=Ll(t.baseURL,t.url);return Tl(n,t.params,t.paramsSerializer)}};S.forEach(["delete","get","head","options"],function(t){Gt.prototype[t]=function(n,r){return this.request(Ht(r||{},{method:t,url:n,data:(r||{}).data}))}});S.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,l){return this.request(Ht(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Gt.prototype[t]=n(),Gt.prototype[t+"Form"]=n(!0)});let Rg=class Ul{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(a=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](a);r._listeners=null}),this.promise.then=a=>{let s;const i=new Promise(l=>{r.subscribe(l),s=l}).then(a);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,l){r.reason||(r.reason=new jr(s,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ul(function(a){t=a}),cancel:t}}};function Ag(e){return function(n){return e.apply(null,n)}}function Pg(e){return S.isObject(e)&&e.isAxiosError===!0}const io={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(io).forEach(([e,t])=>{io[t]=e});function Jl(e){const t=new Gt(e),n=_l(Gt.prototype.request,t);return S.extend(n,Gt.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return Jl(Ht(e,a))},n}const Se=Jl(ln);Se.Axios=Gt;Se.CanceledError=jr;Se.CancelToken=Rg;Se.isCancel=Il;Se.VERSION=Bl;Se.toFormData=ma;Se.AxiosError=J;Se.Cancel=Se.CanceledError;Se.all=function(t){return Promise.all(t)};Se.spread=Ag;Se.isAxiosError=Pg;Se.mergeConfig=Ht;Se.AxiosHeaders=Fe;Se.formToJSON=e=>Ol(S.isHTMLForm(e)?new FormData(e):e);Se.getAdapter=Dl.getAdapter;Se.HttpStatusCode=io;Se.default=Se;const{Axios:nv,AxiosError:Xs,CanceledError:av,isCancel:ov,CancelToken:sv,VERSION:iv,all:lv,Cancel:uv,isAxiosError:cv,spread:dv,toFormData:mv,AxiosHeaders:hv,HttpStatusCode:fv,formToJSON:gv,getAdapter:pv,mergeConfig:yv}=Se;function Cg(e){try{return JSON.stringify(e)}catch{return}}function Mg(e){var t,n,r,a;return e instanceof Xs&&e.code==="ERR_NETWORK"?"Failed to connect to the server. Please check your internet connection.":e instanceof Xs&&e.response?`${(t=e.response)==null?void 0:t.status} ${(n=e.response)==null?void 0:n.statusText} from ${(r=e.response)==null?void 0:r.config.url}: ${JSON.stringify((a=e.response)==null?void 0:a.data)}`:e instanceof Error?e.message:`Unexpected error: ${Cg(e)||e}`}const fa=e=>{const t=e.softTimeout||3e3,[n,r]=Y.useState(!1);return Y.useEffect(()=>{const a=setTimeout(()=>{r(!0)},t);return()=>clearTimeout(a)}),o.jsx(O.Stack,{width:"100%",height:"100%",alignItems:"center",justifyContent:"center",children:e.error?o.jsx(Vl,{loadingMessage:e.message,error:e.error}):o.jsxs(o.Fragment,{children:[o.jsx(O.CircularProgress,{sx:{marginBottom:"24px"}}),!!e.message&&o.jsx("div",{children:e.message}),o.jsx(O.Stack,{sx:{visibility:n?"visible":"hidden",marginTop:"1rem",color:"gray"},children:"This is taking longer than expected..."})]})})},Vl=e=>{const t=Mg(e.error),n=e.error instanceof Error?e.error.stack:null,r=O.useTheme();return o.jsxs(O.Stack,{sx:{maxHeight:"100%",maxWidth:"min(100%, 800px)",padding:2,overflow:"auto",color:r.palette.error.main,"& pre":{whiteSpace:"pre-wrap",wordBreak:"break-word",paddingBottom:"3rem"}},children:[(e.loadingMessage?`Error while ${Kn.lowerFirst(O.capitalize(e.loadingMessage))} - `:"")+t,o.jsx("br",{}),n&&o.jsx("pre",{children:n})]})},Tg=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:19,height:10,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0",clipRule:"evenodd"})),kg=Y.forwardRef(Tg),Og=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:19,height:10,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0",clipRule:"evenodd"})),Ig=Y.forwardRef(Og),Eg=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:10,height:19,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M9.522 14.811A.899.899 0 1 0 8.25 13.54L6.19 15.601V3.16L8.25 5.221A.9.9 0 0 0 9.522 3.95L5.926.354a.9.9 0 0 0-1.272 0L1.058 3.95a.9.9 0 1 0 1.271 1.271L4.391 3.16v12.442L2.329 13.54a.899.899 0 1 0-1.271 1.271l3.596 3.597a.9.9 0 0 0 1.272 0z",clipRule:"evenodd"})),Lg=Y.forwardRef(Eg),$g=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:1.5,d:"M18.5 12a6 6 0 1 0-6 6"}),N.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m16.5 11 2 2.5 2-2.5"})),Ng=Y.forwardRef($g),Ys=e=>o.jsx(O.Stack,{position:"absolute",left:0,top:0,width:"100%",height:"100%",alignItems:"center",justifyContent:"center",sx:{backgroundColor:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(2px)",zIndex:100,...e.sx||{}},...Kn.omit(e,"sx")}),Gl=Oe.observer(({store:e,children:t})=>{const{t:n}=Xt.useTranslation(),r=O.useTheme();function a(){var s,i;if(e.activationState==="inactive"&&!e.activationError)return o.jsx(Ys,{sx:{borderRadius:"6px",backgroundColor:`color-mix(in srgb, ${(s=r.palette.backgroundPaperElevation)==null?void 0:s[5]}, transparent)`},children:o.jsx(O.Button,{color:"primary",variant:"contained",onClick:()=>e.activate({manual:!0}),disabled:e.isLocked,children:n("Jogging.Activate.bt")})});if(e.activationState==="loading"||e.activationError)return o.jsx(Ys,{sx:{backgroundColor:`color-mix(in srgb, ${(i=r.palette.backgroundPaperElevation)==null?void 0:i[5]}, transparent)`},children:o.jsx(fa,{message:n("Jogging.Activating.lb"),error:e.activationError})})}return o.jsxs(O.Stack,{sx:{position:"relative",padding:"6px"},children:[a(),t]})}),zl=Y.forwardRef(({label:e,value:t},n)=>o.jsxs(o.Fragment,{children:[e&&o.jsx(O.InputLabel,{children:e}),o.jsx(O.Chip,{ref:n,sx:{fontSize:"14px",opacity:.8,marginTop:"4px !important"},value:t})]})),Fg=Oe.observer(({store:e})=>{const t=Y.useRef(null);function n(){const r=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose;return r?Lt.poseToWandelscriptString(r):""}return xr(()=>{t.current&&(t.current.textContent=n())}),o.jsx(O.Stack,{alignItems:"left",spacing:2,sx:{padding:"8px 16px",paddingTop:"16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:o.jsx(zl,{label:"Pose",value:n(),ref:t})})});function Dg(){this.__data__=[],this.size=0}function Kl(e,t){return e===t||e!==e&&t!==t}function ga(e,t){for(var n=e.length;n--;)if(Kl(e[n][0],t))return n;return-1}var Bg=Array.prototype,Ug=Bg.splice;function Jg(e){var t=this.__data__,n=ga(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ug.call(t,n,1),--this.size,!0}function Vg(e){var t=this.__data__,n=ga(t,e);return n<0?void 0:t[n][1]}function Gg(e){return ga(this.__data__,e)>-1}function zg(e,t){var n=this.__data__,r=ga(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function At(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}At.prototype.clear=Dg;At.prototype.delete=Jg;At.prototype.get=Vg;At.prototype.has=Gg;At.prototype.set=zg;function Kg(){this.__data__=new At,this.size=0}function Wg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Hg(e){return this.__data__.get(e)}function qg(e){return this.__data__.has(e)}var Xg="[object AsyncFunction]",Yg="[object Function]",Zg="[object GeneratorFunction]",Qg="[object Proxy]";function Wl(e){if(!Kt(e))return!1;var t=Yt(e);return t==Yg||t==Zg||t==Xg||t==Qg}var Ba=yt["__core-js_shared__"],Zs=function(){var e=/[^.]+$/.exec(Ba&&Ba.keys&&Ba.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function ep(e){return!!Zs&&Zs in e}var tp=Function.prototype,rp=tp.toString;function Zt(e){if(e!=null){try{return rp.call(e)}catch{}try{return e+""}catch{}}return""}var np=/[\\^$.*+?()[\]{}|]/g,ap=/^\[object .+?Constructor\]$/,op=Function.prototype,sp=Object.prototype,ip=op.toString,lp=sp.hasOwnProperty,up=RegExp("^"+ip.call(lp).replace(np,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function cp(e){if(!Kt(e)||ep(e))return!1;var t=Wl(e)?up:ap;return t.test(Zt(e))}function dp(e,t){return e==null?void 0:e[t]}function Qt(e,t){var n=dp(e,t);return cp(n)?n:void 0}var Xr=Qt(yt,"Map"),Yr=Qt(Object,"create");function mp(){this.__data__=Yr?Yr(null):{},this.size=0}function hp(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var fp="__lodash_hash_undefined__",gp=Object.prototype,pp=gp.hasOwnProperty;function yp(e){var t=this.__data__;if(Yr){var n=t[e];return n===fp?void 0:n}return pp.call(t,e)?t[e]:void 0}var _p=Object.prototype,vp=_p.hasOwnProperty;function bp(e){var t=this.__data__;return Yr?t[e]!==void 0:vp.call(t,e)}var Sp="__lodash_hash_undefined__";function xp(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Yr&&t===void 0?Sp:t,this}function qt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}qt.prototype.clear=mp;qt.prototype.delete=hp;qt.prototype.get=yp;qt.prototype.has=bp;qt.prototype.set=xp;function wp(){this.size=0,this.__data__={hash:new qt,map:new(Xr||At),string:new qt}}function jp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function pa(e,t){var n=e.__data__;return jp(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Rp(e){var t=pa(this,e).delete(e);return this.size-=t?1:0,t}function Ap(e){return pa(this,e).get(e)}function Pp(e){return pa(this,e).has(e)}function Cp(e,t){var n=pa(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Pt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Pt.prototype.clear=wp;Pt.prototype.delete=Rp;Pt.prototype.get=Ap;Pt.prototype.has=Pp;Pt.prototype.set=Cp;var Mp=200;function Tp(e,t){var n=this.__data__;if(n instanceof At){var r=n.__data__;if(!Xr||r.length<Mp-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Pt(r)}return n.set(e,t),this.size=n.size,this}function wt(e){var t=this.__data__=new At(e);this.size=t.size}wt.prototype.clear=Kg;wt.prototype.delete=Wg;wt.prototype.get=Hg;wt.prototype.has=qg;wt.prototype.set=Tp;var kp="__lodash_hash_undefined__";function Op(e){return this.__data__.set(e,kp),this}function Ip(e){return this.__data__.has(e)}function Gn(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Pt;++t<n;)this.add(e[t])}Gn.prototype.add=Gn.prototype.push=Op;Gn.prototype.has=Ip;function Ep(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Lp(e,t){return e.has(t)}var $p=1,Np=2;function Hl(e,t,n,r,a,s){var i=n&$p,l=e.length,u=t.length;if(l!=u&&!(i&&u>l))return!1;var c=s.get(e),d=s.get(t);if(c&&d)return c==t&&d==e;var h=-1,m=!0,v=n&Np?new Gn:void 0;for(s.set(e,t),s.set(t,e);++h<l;){var _=e[h],y=t[h];if(r)var p=i?r(y,_,h,t,e,s):r(_,y,h,e,t,s);if(p!==void 0){if(p)continue;m=!1;break}if(v){if(!Ep(t,function(x,j){if(!Lp(v,j)&&(_===x||a(_,x,n,r,s)))return v.push(j)})){m=!1;break}}else if(!(_===y||a(_,y,n,r,s))){m=!1;break}}return s.delete(e),s.delete(t),m}var Qs=yt.Uint8Array;function Fp(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function Dp(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Bp=1,Up=2,Jp="[object Boolean]",Vp="[object Date]",Gp="[object Error]",zp="[object Map]",Kp="[object Number]",Wp="[object RegExp]",Hp="[object Set]",qp="[object String]",Xp="[object Symbol]",Yp="[object ArrayBuffer]",Zp="[object DataView]",ei=$t?$t.prototype:void 0,Ua=ei?ei.valueOf:void 0;function Qp(e,t,n,r,a,s,i){switch(n){case Zp:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Yp:return!(e.byteLength!=t.byteLength||!s(new Qs(e),new Qs(t)));case Jp:case Vp:case Kp:return Kl(+e,+t);case Gp:return e.name==t.name&&e.message==t.message;case Wp:case qp:return e==t+"";case zp:var l=Fp;case Hp:var u=r&Bp;if(l||(l=Dp),e.size!=t.size&&!u)return!1;var c=i.get(e);if(c)return c==t;r|=Up,i.set(e,t);var d=Hl(l(e),l(t),r,a,s,i);return i.delete(e),d;case Xp:if(Ua)return Ua.call(e)==Ua.call(t)}return!1}function ey(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}var pt=Array.isArray;function ty(e,t,n){var r=t(e);return pt(e)?r:ey(r,n(e))}function ry(e,t){for(var n=-1,r=e==null?0:e.length,a=0,s=[];++n<r;){var i=e[n];t(i,n,e)&&(s[a++]=i)}return s}function ny(){return[]}var ay=Object.prototype,oy=ay.propertyIsEnumerable,ti=Object.getOwnPropertySymbols,sy=ti?function(e){return e==null?[]:(e=Object(e),ry(ti(e),function(t){return oy.call(e,t)}))}:ny;function iy(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var ly="[object Arguments]";function ri(e){return Wt(e)&&Yt(e)==ly}var ql=Object.prototype,uy=ql.hasOwnProperty,cy=ql.propertyIsEnumerable,Xl=ri(function(){return arguments}())?ri:function(e){return Wt(e)&&uy.call(e,"callee")&&!cy.call(e,"callee")};function dy(){return!1}var Yl=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ni=Yl&&typeof module=="object"&&module&&!module.nodeType&&module,my=ni&&ni.exports===Yl,ai=my?yt.Buffer:void 0,hy=ai?ai.isBuffer:void 0,lo=hy||dy,fy=9007199254740991,gy=/^(?:0|[1-9]\d*)$/;function Zl(e,t){var n=typeof e;return t=t??fy,!!t&&(n=="number"||n!="symbol"&&gy.test(e))&&e>-1&&e%1==0&&e<t}var py=9007199254740991;function Fo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=py}var yy="[object Arguments]",_y="[object Array]",vy="[object Boolean]",by="[object Date]",Sy="[object Error]",xy="[object Function]",wy="[object Map]",jy="[object Number]",Ry="[object Object]",Ay="[object RegExp]",Py="[object Set]",Cy="[object String]",My="[object WeakMap]",Ty="[object ArrayBuffer]",ky="[object DataView]",Oy="[object Float32Array]",Iy="[object Float64Array]",Ey="[object Int8Array]",Ly="[object Int16Array]",$y="[object Int32Array]",Ny="[object Uint8Array]",Fy="[object Uint8ClampedArray]",Dy="[object Uint16Array]",By="[object Uint32Array]",de={};de[Oy]=de[Iy]=de[Ey]=de[Ly]=de[$y]=de[Ny]=de[Fy]=de[Dy]=de[By]=!0;de[yy]=de[_y]=de[Ty]=de[vy]=de[ky]=de[by]=de[Sy]=de[xy]=de[wy]=de[jy]=de[Ry]=de[Ay]=de[Py]=de[Cy]=de[My]=!1;function Uy(e){return Wt(e)&&Fo(e.length)&&!!de[Yt(e)]}function Jy(e){return function(t){return e(t)}}var Ql=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vr=Ql&&typeof module=="object"&&module&&!module.nodeType&&module,Vy=Vr&&Vr.exports===Ql,Ja=Vy&&gl.process,oi=function(){try{var e=Vr&&Vr.require&&Vr.require("util").types;return e||Ja&&Ja.binding&&Ja.binding("util")}catch{}}(),si=oi&&oi.isTypedArray,eu=si?Jy(si):Uy,Gy=Object.prototype,zy=Gy.hasOwnProperty;function Ky(e,t){var n=pt(e),r=!n&&Xl(e),a=!n&&!r&&lo(e),s=!n&&!r&&!a&&eu(e),i=n||r||a||s,l=i?iy(e.length,String):[],u=l.length;for(var c in e)zy.call(e,c)&&!(i&&(c=="length"||a&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Zl(c,u)))&&l.push(c);return l}var Wy=Object.prototype;function Hy(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Wy;return e===n}function qy(e,t){return function(n){return e(t(n))}}var Xy=qy(Object.keys,Object),Yy=Object.prototype,Zy=Yy.hasOwnProperty;function Qy(e){if(!Hy(e))return Xy(e);var t=[];for(var n in Object(e))Zy.call(e,n)&&n!="constructor"&&t.push(n);return t}function tu(e){return e!=null&&Fo(e.length)&&!Wl(e)}function Do(e){return tu(e)?Ky(e):Qy(e)}function ii(e){return ty(e,Do,sy)}var e1=1,t1=Object.prototype,r1=t1.hasOwnProperty;function n1(e,t,n,r,a,s){var i=n&e1,l=ii(e),u=l.length,c=ii(t),d=c.length;if(u!=d&&!i)return!1;for(var h=u;h--;){var m=l[h];if(!(i?m in t:r1.call(t,m)))return!1}var v=s.get(e),_=s.get(t);if(v&&_)return v==t&&_==e;var y=!0;s.set(e,t),s.set(t,e);for(var p=i;++h<u;){m=l[h];var x=e[m],j=t[m];if(r)var C=i?r(j,x,m,t,e,s):r(x,j,m,e,t,s);if(!(C===void 0?x===j||a(x,j,n,r,s):C)){y=!1;break}p||(p=m=="constructor")}if(y&&!p){var A=e.constructor,w=t.constructor;A!=w&&"constructor"in e&&"constructor"in t&&!(typeof A=="function"&&A instanceof A&&typeof w=="function"&&w instanceof w)&&(y=!1)}return s.delete(e),s.delete(t),y}var uo=Qt(yt,"DataView"),co=Qt(yt,"Promise"),mo=Qt(yt,"Set"),ho=Qt(yt,"WeakMap"),li="[object Map]",a1="[object Object]",ui="[object Promise]",ci="[object Set]",di="[object WeakMap]",mi="[object DataView]",o1=Zt(uo),s1=Zt(Xr),i1=Zt(co),l1=Zt(mo),u1=Zt(ho),Et=Yt;(uo&&Et(new uo(new ArrayBuffer(1)))!=mi||Xr&&Et(new Xr)!=li||co&&Et(co.resolve())!=ui||mo&&Et(new mo)!=ci||ho&&Et(new ho)!=di)&&(Et=function(e){var t=Yt(e),n=t==a1?e.constructor:void 0,r=n?Zt(n):"";if(r)switch(r){case o1:return mi;case s1:return li;case i1:return ui;case l1:return ci;case u1:return di}return t});var c1=1,hi="[object Arguments]",fi="[object Array]",pn="[object Object]",d1=Object.prototype,gi=d1.hasOwnProperty;function m1(e,t,n,r,a,s){var i=pt(e),l=pt(t),u=i?fi:Et(e),c=l?fi:Et(t);u=u==hi?pn:u,c=c==hi?pn:c;var d=u==pn,h=c==pn,m=u==c;if(m&&lo(e)){if(!lo(t))return!1;i=!0,d=!1}if(m&&!d)return s||(s=new wt),i||eu(e)?Hl(e,t,n,r,a,s):Qp(e,t,u,n,r,a,s);if(!(n&c1)){var v=d&&gi.call(e,"__wrapped__"),_=h&&gi.call(t,"__wrapped__");if(v||_){var y=v?e.value():e,p=_?t.value():t;return s||(s=new wt),a(y,p,n,r,s)}}return m?(s||(s=new wt),n1(e,t,n,r,a,s)):!1}function ya(e,t,n,r,a){return e===t?!0:e==null||t==null||!Wt(e)&&!Wt(t)?e!==e&&t!==t:m1(e,t,n,r,ya,a)}function h1(e,t){return ya(e,t)}const ru=({store:e})=>{const{t}=Xt.useTranslation(),[n,r]=Y.useState(e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached),a=Y.useRef(n);xr(()=>{const i=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached;h1(a.current,i)||(a.current=i,r(i))});const s=[];for(const[i,l]of n.entries())l&&s.push(i);return o.jsx(O.Typography,{color:"error",sx:{margin:"0.5rem 1rem",textAlign:"center",visibility:s.length?"visible":"hidden"},children:t("Jogging.JointLimitsReached.lb",{jointNumbers:s.map(i=>i+1).join(", ")})})},f1=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:21,height:21,fill:"none",viewBox:"0 0 23 22",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"currentColor",d:"m21.71 16.262-1.09.346.66 2.071-2.923-1.461V9.857l-6.285-3.143V2.893L13.38 4.21l.812-.806-2.674-2.69-2.706 2.687.805.812L10.93 2.91v3.803L4.643 9.857v7.36l-2.914 1.458.657-2.067-1.09-.346-1.225 3.88 3.826 1.144.346-1.09-1.836-.583 2.874-1.436 6.22 3.109 6.217-3.11 2.877 1.439-1.831.581.345 1.09 3.82-1.143zM11.5 12.646l-4.94-2.47 4.94-2.47 4.94 2.47zm.572.993 5.143-2.572v6.083l-5.143 2.572zm-6.286-2.572 5.143 2.572v6.083L5.786 17.15z"})),g1=Y.forwardRef(f1),p1=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:17,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"currentColor",d:"M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467"})),y1=Y.forwardRef(p1),_1=Oe.observer(({store:e})=>{var r;const{t}=Xt.useTranslation();function n(a,s){(s==="coordsys"||s==="tool")&&e.setSelectedOrientation(s)}return o.jsxs(o.Fragment,{children:[o.jsxs(O.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(O.Stack,{width:"50%",children:[o.jsx(O.InputLabel,{id:"jogging-coord-select",children:"Coordinate Sys."}),o.jsx(O.Select,{labelId:"jogging-coord-select",value:e.selectedCoordSystemId,size:"small",variant:"filled",displayEmpty:!0,onChange:a=>{e.setSelectedCoordSystemId(a.target.value)},disabled:e.isLocked,children:e.coordSystems.map(a=>o.jsx(O.MenuItem,{value:a.coordinate_system,children:a.name&&e.coordSystemCountByName[a.name]>1?`${a.name} / ${a.coordinate_system}`:a.name||a.coordinate_system},a.coordinate_system))})]}),o.jsxs(O.Stack,{width:"50%",children:[o.jsx(O.InputLabel,{id:"jogging-tcp-select",children:"TCP"}),o.jsx(O.Select,{labelId:"jogging-tcp-select",value:e.selectedTcpId,size:"small",variant:"filled",onChange:a=>{e.setSelectedTcpId(a.target.value)},disabled:e.isLocked,children:e.tcps.map(a=>o.jsx(O.MenuItem,{value:a.id,children:a.id},a.id))})]})]}),o.jsxs(O.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(O.Stack,{width:"50%",children:[o.jsx(O.InputLabel,{id:"orientation-select",children:t("Jogging.Cartesian.Orientation.lb")}),o.jsxs(O.ToggleButtonGroup,{value:e.selectedOrientation,onChange:n,exclusive:!0,"aria-labelledby":"orientation-select",disabled:e.isLocked,children:[o.jsx(O.ToggleButton,{value:"coordsys",sx:{flexGrow:1},children:o.jsx(g1,{})}),o.jsx(O.ToggleButton,{value:"tool",sx:{flexGrow:1},children:o.jsx(y1,{})})]})]}),o.jsxs(O.Stack,{width:"50%",children:[o.jsx(O.InputLabel,{id:"jogging-increment-select",children:"Increment"}),o.jsxs(O.Select,{labelId:"jogging-increment-select",size:"small",variant:"filled",value:((r=e.activeDiscreteIncrement)==null?void 0:r.id)||"continuous",onChange:a=>{e.setSelectedIncrementId(a.target.value)},disabled:e.isLocked,children:[o.jsx(O.MenuItem,{value:"continuous",children:t("Jogging.Increment.Continuous.dd")},"continuous"),e.selectedOrientation==="tool"?null:e.discreteIncrementOptions.map(a=>o.jsx(O.MenuItem,{value:a.id,children:e.currentMotionType==="translate"?`${a.mm}mm`:`${a.degrees}°`},a.id))]})]})]})]})});function v1(e,t,n=(r,a)=>r===a){return e.length===t.length&&e.every((r,a)=>n(r,t[a]))}const b1=2;function nu(e,t){return e-t}function pi(e,t){var n;const{index:r}=(n=e.reduce((a,s,i)=>{const l=Math.abs(t-s);return a===null||l<a.distance||l===a.distance?{distance:l,index:i}:a},null))!=null?n:{};return r}function yn(e,t){if(t.current!==void 0&&e.changedTouches){const n=e;for(let r=0;r<n.changedTouches.length;r+=1){const a=n.changedTouches[r];if(a.identifier===t.current)return{x:a.clientX,y:a.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function zn(e,t,n){return(e-t)*100/(n-t)}function S1(e,t,n){return(n-t)*e+t}function x1(e){if(Math.abs(e)<1){const n=e.toExponential().split("e-"),r=n[0].split(".")[1];return(r?r.length:0)+parseInt(n[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function w1(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(x1(t)))}function yi({values:e,newValue:t,index:n}){const r=e.slice();return r[n]=t,r.sort(nu)}function _n({sliderRef:e,activeIndex:t,setActive:n}){var r,a;const s=pr(e.current);if(!((r=e.current)!=null&&r.contains(s.activeElement))||Number(s==null||(a=s.activeElement)==null?void 0:a.getAttribute("data-index"))!==t){var i;(i=e.current)==null||i.querySelector(`[type="range"][data-index="${t}"]`).focus()}n&&n(t)}function vn(e,t){return typeof e=="number"&&typeof t=="number"?e===t:typeof e=="object"&&typeof t=="object"?v1(e,t):!1}const j1={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},R1=e=>e;let bn;function _i(){return bn===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?bn=CSS.supports("touch-action","none"):bn=!0),bn}function A1(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:a=!1,isRtl:s=!1,marks:i=!1,max:l=100,min:u=0,name:c,onChange:d,onChangeCommitted:h,orientation:m="horizontal",rootRef:v,scale:_=R1,step:y=1,shiftStep:p=10,tabIndex:x,value:j}=e,C=N.useRef(),[A,w]=N.useState(-1),[P,M]=N.useState(-1),[z,le]=N.useState(!1),ce=N.useRef(0),[D,q]=Zi({controlled:j,default:n??u,name:"Slider"}),G=d&&((k,L,F)=>{const K=k.nativeEvent||k,Q=new K.constructor(K.type,K);Object.defineProperty(Q,"target",{writable:!0,value:{value:L,name:c}}),d(Q,L,F)}),Z=Array.isArray(D);let H=Z?D.slice().sort(nu):[D];H=H.map(k=>k==null?u:mr(k,u,l));const xe=i===!0&&y!==null?[...Array(Math.floor((l-u)/y)+1)].map((k,L)=>({value:u+y*L})):i||[],ue=xe.map(k=>k.value),{isFocusVisibleRef:ee,onBlur:Re,onFocus:Ie,ref:nt}=Qi(),[_t,We]=N.useState(-1),we=N.useRef(),Ct=Ln(nt,we),lt=Ln(v,Ct),He=k=>L=>{var F;const K=Number(L.currentTarget.getAttribute("data-index"));Ie(L),ee.current===!0&&We(K),M(K),k==null||(F=k.onFocus)==null||F.call(k,L)},Ue=k=>L=>{var F;Re(L),ee.current===!1&&We(-1),M(-1),k==null||(F=k.onBlur)==null||F.call(k,L)},ut=(k,L)=>{const F=Number(k.currentTarget.getAttribute("data-index")),K=H[F],Q=ue.indexOf(K);let W=L;if(xe&&y==null){const Ve=ue[ue.length-1];W>Ve?W=Ve:W<ue[0]?W=ue[0]:W=W<K?ue[Q-1]:ue[Q+1]}if(W=mr(W,u,l),Z){a&&(W=mr(W,H[F-1]||-1/0,H[F+1]||1/0));const Ve=W;W=yi({values:H,newValue:W,index:F});let qe=F;a||(qe=W.indexOf(Ve)),_n({sliderRef:we,activeIndex:qe})}q(W),We(F),G&&!vn(W,D)&&G(k,W,F),h&&h(k,W)},ct=k=>L=>{var F;if(y!==null){const K=Number(L.currentTarget.getAttribute("data-index")),Q=H[K];let W=null;(L.key==="ArrowLeft"||L.key==="ArrowDown")&&L.shiftKey||L.key==="PageDown"?W=Math.max(Q-p,u):((L.key==="ArrowRight"||L.key==="ArrowUp")&&L.shiftKey||L.key==="PageUp")&&(W=Math.min(Q+p,l)),W!==null&&(ut(L,W),L.preventDefault())}k==null||(F=k.onKeyDown)==null||F.call(k,L)};wo(()=>{if(r&&we.current.contains(document.activeElement)){var k;(k=document.activeElement)==null||k.blur()}},[r]),r&&A!==-1&&w(-1),r&&_t!==-1&&We(-1);const Ft=k=>L=>{var F;(F=k.onChange)==null||F.call(k,L),ut(L,L.target.valueAsNumber)},vt=N.useRef();let Je=m;s&&m==="horizontal"&&(Je+="-reverse");const I=({finger:k,move:L=!1})=>{const{current:F}=we,{width:K,height:Q,bottom:W,left:Ve}=F.getBoundingClientRect();let qe;Je.indexOf("vertical")===0?qe=(W-k.y)/Q:qe=(k.x-Ve)/K,Je.indexOf("-reverse")!==-1&&(qe=1-qe);let re;if(re=S1(qe,u,l),y)re=w1(re,y,u);else{const kt=pi(ue,re);re=ue[kt]}re=mr(re,u,l);let $e=0;if(Z){L?$e=vt.current:$e=pi(H,re),a&&(re=mr(re,H[$e-1]||-1/0,H[$e+1]||1/0));const kt=re;re=yi({values:H,newValue:re,index:$e}),a&&L||($e=re.indexOf(kt),vt.current=$e)}return{newValue:re,activeIndex:$e}},te=An(k=>{const L=yn(k,C);if(!L)return;if(ce.current+=1,k.type==="mousemove"&&k.buttons===0){he(k);return}const{newValue:F,activeIndex:K}=I({finger:L,move:!0});_n({sliderRef:we,activeIndex:K,setActive:w}),q(F),!z&&ce.current>b1&&le(!0),G&&!vn(F,D)&&G(k,F,K)}),he=An(k=>{const L=yn(k,C);if(le(!1),!L)return;const{newValue:F}=I({finger:L,move:!0});w(-1),k.type==="touchend"&&M(-1),h&&h(k,F),C.current=void 0,Le()}),Ee=An(k=>{if(r)return;_i()||k.preventDefault();const L=k.changedTouches[0];L!=null&&(C.current=L.identifier);const F=yn(k,C);if(F!==!1){const{newValue:Q,activeIndex:W}=I({finger:F});_n({sliderRef:we,activeIndex:W,setActive:w}),q(Q),G&&!vn(Q,D)&&G(k,Q,W)}ce.current=0;const K=pr(we.current);K.addEventListener("touchmove",te,{passive:!0}),K.addEventListener("touchend",he,{passive:!0})}),Le=N.useCallback(()=>{const k=pr(we.current);k.removeEventListener("mousemove",te),k.removeEventListener("mouseup",he),k.removeEventListener("touchmove",te),k.removeEventListener("touchend",he)},[he,te]);N.useEffect(()=>{const{current:k}=we;return k.addEventListener("touchstart",Ee,{passive:_i()}),()=>{k.removeEventListener("touchstart",Ee),Le()}},[Le,Ee]),N.useEffect(()=>{r&&Le()},[r,Le]);const Mt=k=>L=>{var F;if((F=k.onMouseDown)==null||F.call(k,L),r||L.defaultPrevented||L.button!==0)return;L.preventDefault();const K=yn(L,C);if(K!==!1){const{newValue:W,activeIndex:Ve}=I({finger:K});_n({sliderRef:we,activeIndex:Ve,setActive:w}),q(W),G&&!vn(W,D)&&G(L,W,Ve)}ce.current=0;const Q=pr(we.current);Q.addEventListener("mousemove",te,{passive:!0}),Q.addEventListener("mouseup",he)},je=zn(Z?H[0]:u,u,l),Tt=zn(H[H.length-1],u,l)-je,Dt=(k={})=>{const L=Pn(k),F={onMouseDown:Mt(L||{})},K=T({},L,F);return T({},k,{ref:lt},K)},Rr=k=>L=>{var F;(F=k.onMouseOver)==null||F.call(k,L);const K=Number(L.currentTarget.getAttribute("data-index"));M(K)},Ar=k=>L=>{var F;(F=k.onMouseLeave)==null||F.call(k,L),M(-1)};return{active:A,axis:Je,axisProps:j1,dragging:z,focusedThumbIndex:_t,getHiddenInputProps:(k={})=>{var L;const F=Pn(k),K={onChange:Ft(F||{}),onFocus:He(F||{}),onBlur:Ue(F||{}),onKeyDown:ct(F||{})},Q=T({},F,K);return T({tabIndex:x,"aria-labelledby":t,"aria-orientation":m,"aria-valuemax":_(l),"aria-valuemin":_(u),name:c,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(L=e.step)!=null?L:void 0,disabled:r},k,Q,{style:T({},pm,{direction:s?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Dt,getThumbProps:(k={})=>{const L=Pn(k),F={onMouseOver:Rr(L||{}),onMouseLeave:Ar(L||{})};return T({},k,L,F)},marks:xe,open:P,range:Z,rootRef:lt,trackLeap:Tt,trackOffset:je,values:H,getThumbStyle:k=>({pointerEvents:A!==-1&&A!==k?"none":void 0})}}const P1=e=>!e||!Ur(e);function C1(e){return nn("MuiSlider",e)}const Qe=Wi("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),M1=e=>{const{open:t}=e;return{offset:gt(t&&Qe.valueLabelOpen),circle:Qe.valueLabelCircle,label:Qe.valueLabelLabel}};function au(e){const{children:t,className:n,value:r}=e,a=M1(e);return t?N.cloneElement(t,{className:gt(t.props.className)},o.jsxs(N.Fragment,{children:[t.props.children,o.jsx("span",{className:gt(a.offset,n),"aria-hidden":!0,children:o.jsx("span",{className:a.circle,children:o.jsx("span",{className:a.label,children:r})})})]})):null}process.env.NODE_ENV!=="production"&&(au.propTypes={children:f.element.isRequired,className:f.string,value:f.node});const T1=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function vi(e){return e}const k1=Rt("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Pe(n.color)}`],n.size!=="medium"&&t[`size${Pe(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${Qe.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Qe.dragging}`]:{[`& .${Qe.thumb}, & .${Qe.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),O1=Rt("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),I1=Rt("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n,track:"inverted"},style:T({},e.vars?{backgroundColor:e.vars.palette.Slider[`${n}Track`],borderColor:e.vars.palette.Slider[`${n}Track`]}:T({backgroundColor:Za(e.palette[n].main,.62),borderColor:Za(e.palette[n].main,.62)},e.applyStyles("dark",{backgroundColor:Ya(e.palette[n].main,.5)}),e.applyStyles("dark",{borderColor:Ya(e.palette[n].main,.5)})))}))]}}),E1=Rt("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Pe(n.color)}`],n.size!=="medium"&&t[`thumbSize${Pe(n.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${Qe.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n},style:{[`&:hover, &.${Qe.focusVisible}`]:T({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${hs(e.palette[n].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${Qe.active}`]:T({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${hs(e.palette[n].main,.16)}`})}}))]}}),L1=Rt(au,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>T({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${Qe.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${Qe.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),$1=Rt("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Mo(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),N1=Rt("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Mo(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>T({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),F1=e=>{const{disabled:t,dragging:n,marked:r,orientation:a,track:s,classes:i,color:l,size:u}=e,c={root:["root",t&&"disabled",n&&"dragging",r&&"marked",a==="vertical"&&"vertical",s==="inverted"&&"trackInverted",s===!1&&"trackFalse",l&&`color${Pe(l)}`,u&&`size${Pe(u)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",u&&`thumbSize${Pe(u)}`,l&&`thumbColor${Pe(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Ro(c,C1,i)},D1=({children:e})=>e,ou=N.forwardRef(function(t,n){var r,a,s,i,l,u,c,d,h,m,v,_,y,p,x,j,C,A,w,P,M,z,le,ce;const D=To({props:t,name:"MuiSlider"}),q=xm(),{"aria-label":G,"aria-valuetext":Z,"aria-labelledby":H,component:xe="span",components:ue={},componentsProps:ee={},color:Re="primary",classes:Ie,className:nt,disableSwap:_t=!1,disabled:We=!1,getAriaLabel:we,getAriaValueText:Ct,marks:lt=!1,max:He=100,min:Ue=0,orientation:ut="horizontal",shiftStep:ct=10,size:Ft="medium",step:vt=1,scale:Je=vi,slotProps:I,slots:te,track:he="normal",valueLabelDisplay:Ee="off",valueLabelFormat:Le=vi}=D,Mt=Be(D,T1),je=T({},D,{isRtl:q,max:He,min:Ue,classes:Ie,disabled:We,disableSwap:_t,orientation:ut,marks:lt,color:Re,size:Ft,step:vt,shiftStep:ct,scale:Je,track:he,valueLabelDisplay:Ee,valueLabelFormat:Le}),{axisProps:Tt,getRootProps:Dt,getHiddenInputProps:Rr,getThumbProps:Ar,open:Pr,active:er,axis:at,focusedThumbIndex:k,range:L,dragging:F,marks:K,values:Q,trackOffset:W,trackLeap:Ve,getThumbStyle:qe}=A1(T({},je,{rootRef:n}));je.marked=K.length>0&&K.some($=>$.label),je.dragging=F,je.focusedThumbIndex=k;const re=F1(je),$e=(r=(a=te==null?void 0:te.root)!=null?a:ue.Root)!=null?r:k1,kt=(s=(i=te==null?void 0:te.rail)!=null?i:ue.Rail)!=null?s:O1,tr=(l=(u=te==null?void 0:te.track)!=null?u:ue.Track)!=null?l:I1,Cr=(c=(d=te==null?void 0:te.thumb)!=null?d:ue.Thumb)!=null?c:E1,bt=(h=(m=te==null?void 0:te.valueLabel)!=null?m:ue.ValueLabel)!=null?h:L1,Bt=(v=(_=te==null?void 0:te.mark)!=null?_:ue.Mark)!=null?v:$1,Ut=(y=(p=te==null?void 0:te.markLabel)!=null?p:ue.MarkLabel)!=null?y:N1,Mr=(x=(j=te==null?void 0:te.input)!=null?j:ue.Input)!=null?x:"input",Tr=(C=I==null?void 0:I.root)!=null?C:ee.root,un=(A=I==null?void 0:I.rail)!=null?A:ee.rail,kr=(w=I==null?void 0:I.track)!=null?w:ee.track,rr=(P=I==null?void 0:I.thumb)!=null?P:ee.thumb,nr=(M=I==null?void 0:I.valueLabel)!=null?M:ee.valueLabel,va=(z=I==null?void 0:I.mark)!=null?z:ee.mark,ba=(le=I==null?void 0:I.markLabel)!=null?le:ee.markLabel,cn=(ce=I==null?void 0:I.input)!=null?ce:ee.input,dn=Ot({elementType:$e,getSlotProps:Dt,externalSlotProps:Tr,externalForwardedProps:Mt,additionalProps:T({},P1($e)&&{as:xe}),ownerState:T({},je,Tr==null?void 0:Tr.ownerState),className:[re.root,nt]}),Sa=Ot({elementType:kt,externalSlotProps:un,ownerState:je,className:re.rail}),xa=Ot({elementType:tr,externalSlotProps:kr,additionalProps:{style:T({},Tt[at].offset(W),Tt[at].leap(Ve))},ownerState:T({},je,kr==null?void 0:kr.ownerState),className:re.track}),Or=Ot({elementType:Cr,getSlotProps:Ar,externalSlotProps:rr,ownerState:T({},je,rr==null?void 0:rr.ownerState),className:re.thumb}),wa=Ot({elementType:bt,externalSlotProps:nr,ownerState:T({},je,nr==null?void 0:nr.ownerState),className:re.valueLabel}),g=Ot({elementType:Bt,externalSlotProps:va,ownerState:je,className:re.mark}),R=Ot({elementType:Ut,externalSlotProps:ba,ownerState:je,className:re.markLabel}),E=Ot({elementType:Mr,getSlotProps:Rr,externalSlotProps:cn,ownerState:je});return o.jsxs($e,T({},dn,{children:[o.jsx(kt,T({},Sa)),o.jsx(tr,T({},xa)),K.filter($=>$.value>=Ue&&$.value<=He).map(($,B)=>{const ne=zn($.value,Ue,He),V=Tt[at].offset(ne);let U;return he===!1?U=Q.indexOf($.value)!==-1:U=he==="normal"&&(L?$.value>=Q[0]&&$.value<=Q[Q.length-1]:$.value<=Q[0])||he==="inverted"&&(L?$.value<=Q[0]||$.value>=Q[Q.length-1]:$.value>=Q[0]),o.jsxs(N.Fragment,{children:[o.jsx(Bt,T({"data-index":B},g,!Ur(Bt)&&{markActive:U},{style:T({},V,g.style),className:gt(g.className,U&&re.markActive)})),$.label!=null?o.jsx(Ut,T({"aria-hidden":!0,"data-index":B},R,!Ur(Ut)&&{markLabelActive:U},{style:T({},V,R.style),className:gt(re.markLabel,R.className,U&&re.markLabelActive),children:$.label})):null]},B)}),Q.map(($,B)=>{const ne=zn($,Ue,He),V=Tt[at].offset(ne),U=Ee==="off"?D1:bt;return o.jsx(U,T({},!Ur(U)&&{valueLabelFormat:Le,valueLabelDisplay:Ee,value:typeof Le=="function"?Le(Je($),B):Le,index:B,open:Pr===B||er===B||Ee==="on",disabled:We},wa,{children:o.jsx(Cr,T({"data-index":B},Or,{className:gt(re.thumb,Or.className,er===B&&re.active,k===B&&re.focusVisible),style:T({},V,qe(B),Or.style),children:o.jsx(Mr,T({"data-index":B,"aria-label":we?we(B):G,"aria-valuenow":Je($),"aria-labelledby":H,"aria-valuetext":Ct?Ct(Je($),B):Z,value:Q[B]},E))}))}),B)})]}))});process.env.NODE_ENV!=="production"&&(ou.propTypes={"aria-label":os(f.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-label"]!=null?new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider."):null),"aria-labelledby":f.string,"aria-valuetext":os(f.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-valuetext"]!=null?new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider."):null),children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","error","info","success","warning"]),f.string]),components:f.shape({Input:f.elementType,Mark:f.elementType,MarkLabel:f.elementType,Rail:f.elementType,Root:f.elementType,Thumb:f.elementType,Track:f.elementType,ValueLabel:f.elementType}),componentsProps:f.shape({input:f.oneOfType([f.func,f.object]),mark:f.oneOfType([f.func,f.object]),markLabel:f.oneOfType([f.func,f.object]),rail:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object]),thumb:f.oneOfType([f.func,f.object]),track:f.oneOfType([f.func,f.object]),valueLabel:f.oneOfType([f.func,f.shape({children:f.element,className:f.string,open:f.bool,style:f.object,value:f.number,valueLabelDisplay:f.oneOf(["auto","off","on"])})])}),defaultValue:f.oneOfType([f.arrayOf(f.number),f.number]),disabled:f.bool,disableSwap:f.bool,getAriaLabel:f.func,getAriaValueText:f.func,marks:f.oneOfType([f.arrayOf(f.shape({label:f.node,value:f.number.isRequired})),f.bool]),max:f.number,min:f.number,name:f.string,onChange:f.func,onChangeCommitted:f.func,orientation:f.oneOf(["horizontal","vertical"]),scale:f.func,shiftStep:f.number,size:f.oneOfType([f.oneOf(["small","medium"]),f.string]),slotProps:f.shape({input:f.oneOfType([f.func,f.object]),mark:f.oneOfType([f.func,f.object]),markLabel:f.oneOfType([f.func,f.object]),rail:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object]),thumb:f.oneOfType([f.func,f.object]),track:f.oneOfType([f.func,f.object]),valueLabel:f.oneOfType([f.func,f.shape({children:f.element,className:f.string,open:f.bool,style:f.object,value:f.number,valueLabelDisplay:f.oneOf(["auto","off","on"])})])}),slots:f.shape({input:f.elementType,mark:f.elementType,markLabel:f.elementType,rail:f.elementType,root:f.elementType,thumb:f.elementType,track:f.elementType,valueLabel:f.elementType}),step:f.number,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),tabIndex:f.number,track:f.oneOf(["inverted","normal",!1]),value:f.oneOfType([f.arrayOf(f.number),f.number]),valueLabelDisplay:f.oneOf(["auto","off","on"]),valueLabelFormat:f.oneOfType([f.func,f.string])});var B1="[object Number]";function U1(e){return typeof e=="number"||Wt(e)&&Yt(e)==B1}const su=Oe.observer(e=>{const t=O.useTheme(),n=e.valueLabelFormat||(a=>`${a}`);function r(a,s){s===e.velocity||!U1(s)||e.onVelocityChange(s)}return o.jsxs(o.Fragment,{children:[o.jsx(O.Typography,{sx:{textAlign:"center",fontSize:"14px",opacity:.8,lineHeight:1,color:t.palette.text.primary},children:n(e.velocity)}),o.jsx(ou,{value:e.velocity,color:"secondary",onChange:r,min:e.min,max:e.max,"aria-labelledby":"input-slider",disabled:e.disabled,sx:{"& .MuiSlider-valueLabelOpen":{zIndex:100,backgroundColor:"transparent",top:"0px"}}})]})}),iu=Oe.observer(({store:e})=>{const{t}=Xt.useTranslation(),n=Oe.useLocalObservable(()=>({get valueLabelFormat(){return e.currentMotionType==="translate"?r=>`v=${t("Jogging.Cartesian.Translation.velocityMmPerSec.lb",{amount:r})}`:r=>`v=${t("Jogging.Cartesian.Rotation.velocityDegPerSec.lb",{amount:r})}`}}));return o.jsx(O.Stack,{sx:{margin:"0px 20px",marginBottom:"6px"},children:o.jsx(O.Stack,{sx:{width:"380px",maxWidth:"90%",margin:"auto"},children:o.jsx(su,{velocity:e.velocityInCurrentUnits,min:e.minVelocityInCurrentUnits,max:e.maxVelocityInCurrentUnits,onVelocityChange:e.setVelocityFromSlider,disabled:e.isLocked,valueLabelFormat:n.valueLabelFormat})})})}),J1=Oe.observer(({store:e,children:t})=>{var h,m,v,_,y,p,x,j,C;const{t:n}=Xt.useTranslation(),r=O.useTheme();function a(A,w){(w==="translate"||w==="rotate")&&e.setSelectedCartesianMotionType(w)}ko(()=>[e.selectedCoordSystemId,e.selectedTcpId],()=>{e.jogger.motionStream.motionStateSocket.changeUrl(e.jogger.nova.makeWebsocketURL(`/motion-groups/${e.jogger.motionGroupId}/state-stream?tcp=${e.selectedTcpId}&response_coordinate_system=${e.selectedCoordSystemId}`))},{fireImmediately:!0});async function s(A,w){const P=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose,M=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;P&&await e.withMotionLock(async()=>{await e.jogger.runIncrementalCartesianMotion({currentTcpPose:P,currentJoints:M,coordSystemId:e.activeCoordSystemId,velocityInRelevantUnits:e.velocityInCurrentUnits,axis:A.axis,direction:A.direction,motion:e.selectedCartesianMotionType==="translate"?{type:"translate",distanceMm:w.mm}:{type:"rotate",distanceRads:Lt.degreesToRadians(w.degrees)}})})}async function i(A){if(!e.isLocked){if(e.activeDiscreteIncrement)return s(A,e.activeDiscreteIncrement);A.motionType==="translate"?await e.jogger.startTCPTranslation({axis:A.axis,direction:A.direction,velocityMmPerSec:e.translationVelocityMmPerSec}):await e.jogger.startTCPRotation({axis:A.axis,direction:A.direction,velocityRadsPerSec:e.rotationVelocityRadsPerSec})}}async function l(){e.isLocked||e.activeDiscreteIncrement||await e.jogger.stop()}const u=[{id:"x",colors:(v=(m=(h=r.componentsExt)==null?void 0:h.JoggingCartesian)==null?void 0:m.Axis)==null?void 0:v.X,icon:o.jsx(kg,{})},{id:"y",colors:(p=(y=(_=r.componentsExt)==null?void 0:_.JoggingCartesian)==null?void 0:y.Axis)==null?void 0:p.Y,icon:o.jsx(Ig,{})},{id:"z",colors:(C=(j=(x=r.componentsExt)==null?void 0:x.JoggingCartesian)==null?void 0:j.Axis)==null?void 0:C.Z,icon:o.jsx(Lg,{})}];function c(A){return n("General.mm.variable",{amount:A.toFixed(1)})}function d(A){return n("General.degree.variable",{amount:Lt.radiansToDegrees(A).toFixed(1)})}return o.jsxs(O.Stack,{flexGrow:1,gap:4,children:[o.jsxs(O.Stack,{children:[o.jsx(Fg,{store:e}),o.jsx(_1,{store:e})]}),o.jsx(O.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:o.jsxs(O.ToggleButtonGroup,{value:e.selectedCartesianMotionType,onChange:a,exclusive:!0,"aria-label":n("Jogging.Cartesian.MotionType.lb"),sx:{justifyContent:"center"},children:[o.jsx(O.ToggleButton,{value:"translate",children:n("Jogging.Cartesian.Translation.bt")}),o.jsx(O.ToggleButton,{value:"rotate",children:n("Jogging.Cartesian.Rotation.bt")})]})}),o.jsx(Gl,{store:e,children:o.jsxs(O.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:[e.selectedCartesianMotionType==="translate"&&u.map(A=>o.jsx(eo,{colors:A.colors,disabled:e.isLocked,label:o.jsxs(o.Fragment,{children:[A.icon,o.jsx(O.Typography,{sx:{fontSize:"24px",color:"white"},children:A.id.toUpperCase()})]}),getDisplayedValue:()=>{var w;return c(((w=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose)==null?void 0:w.position[A.id])||0)},startJogging:w=>i({axis:A.id,motionType:"translate",direction:w}),stopJogging:l},A.id)),e.selectedCartesianMotionType==="rotate"&&u.map(A=>o.jsx(eo,{colors:A.colors,disabled:e.isLocked,label:o.jsxs(o.Fragment,{children:[o.jsx(Ng,{}),o.jsx(O.Typography,{sx:{fontSize:"24px",color:"white"},children:A.id.toUpperCase()})]}),getDisplayedValue:()=>{var w,P;return d(((P=(w=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose)==null?void 0:w.orientation)==null?void 0:P[A.id])||0)},startJogging:w=>i({axis:A.id,motionType:"rotate",direction:w}),stopJogging:l},A.id))]})}),o.jsxs(O.Stack,{children:[o.jsx(ru,{store:e}),o.jsx(iu,{store:e}),t]})]})}),V1=Oe.observer(({store:e})=>{const t=Y.useRef(null);function n(){const{joints:r}=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;return`[${r.map(a=>parseFloat(a.toFixed(4))).join(", ")}]`}return xr(()=>{t.current&&(t.current.textContent=n())}),o.jsx(O.Stack,{alignItems:"left",spacing:2,sx:{padding:"16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:o.jsx(zl,{value:n(),ref:t})})}),G1=Oe.observer(({store:e,children:t})=>{async function n(a){await e.jogger.startJointRotation({joint:a.joint,direction:a.direction,velocityRadsPerSec:e.rotationVelocityRadsPerSec})}async function r(){await e.jogger.stop()}return o.jsxs(O.Stack,{flexGrow:1,justifyContent:"space-between",children:[o.jsx(V1,{store:e}),o.jsx(Gl,{store:e,children:o.jsx(O.Stack,{gap:"0.8rem",children:e.jogger.motionStream.joints.map(a=>{var u;const s=(u=e.motionGroupSpec.mechanical_joint_limits)==null?void 0:u[a.index],i=(s==null?void 0:s.lower_limit)!==void 0?Lt.radiansToDegrees(s.lower_limit):void 0,l=(s==null?void 0:s.upper_limit)!==void 0?Lt.radiansToDegrees(s.upper_limit):void 0;return o.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:2,children:[o.jsx(O.Typography,{sx:{flexGrow:1,textAlign:"right"},children:`J${a.index+1}`}),o.jsx(yl,{disabled:e.isLocked,lowerLimitDegs:i,upperLimitDegs:l,getValueDegs:()=>{const c=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position.joints[a.index];return c!==void 0?Lt.radiansToDegrees(c):void 0},startJogging:c=>n({joint:a.index,direction:c}),stopJogging:r},a.index),o.jsx(O.Typography,{sx:{flexGrow:1}})]},`joint-${a.index}`)})})}),o.jsx(ru,{store:e}),o.jsx(iu,{store:e}),t]})});var bi=function(){try{var e=Qt(Object,"defineProperty");return e({},"",{}),e}catch{}}();function z1(e,t,n){t=="__proto__"&&bi?bi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function K1(e,t,n,r){for(var a=-1,s=e==null?0:e.length;++a<s;){var i=e[a];t(r,i,n(i),e)}return r}function W1(e){return function(t,n,r){for(var a=-1,s=Object(t),i=r(t),l=i.length;l--;){var u=i[++a];if(n(s[u],u,s)===!1)break}return t}}var H1=W1();function q1(e,t){return e&&H1(e,t,Do)}function X1(e,t){return function(n,r){if(n==null)return n;if(!tu(n))return e(n,r);for(var a=n.length,s=-1,i=Object(n);++s<a&&r(i[s],s,i)!==!1;);return n}}var Y1=X1(q1);function Z1(e,t,n,r){return Y1(e,function(a,s,i){t(r,a,n(a),i)}),r}var Q1=1,e_=2;function t_(e,t,n,r){var a=n.length,s=a;if(e==null)return!s;for(e=Object(e);a--;){var i=n[a];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++a<s;){i=n[a];var l=i[0],u=e[l],c=i[1];if(i[2]){if(u===void 0&&!(l in e))return!1}else{var d=new wt,h;if(!(h===void 0?ya(c,u,Q1|e_,r,d):h))return!1}}return!0}function lu(e){return e===e&&!Kt(e)}function r_(e){for(var t=Do(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,lu(a)]}return t}function uu(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function n_(e){var t=r_(e);return t.length==1&&t[0][2]?uu(t[0][0],t[0][1]):function(n){return n===e||t_(n,e,t)}}var a_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o_=/^\w*$/;function Bo(e,t){if(pt(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||la(e)?!0:o_.test(e)||!a_.test(e)||t!=null&&e in Object(t)}var s_="Expected a function";function Uo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(s_);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],s=n.cache;if(s.has(a))return s.get(a);var i=e.apply(this,r);return n.cache=s.set(a,i)||s,i};return n.cache=new(Uo.Cache||Pt),n}Uo.Cache=Pt;var i_=500;function l_(e){var t=Uo(e,function(r){return n.size===i_&&n.clear(),r}),n=t.cache;return t}var u_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c_=/\\(\\)?/g,d_=l_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(u_,function(n,r,a,s){t.push(a?s.replace(c_,"$1"):r||n)}),t});function m_(e,t){for(var n=-1,r=e==null?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}var h_=1/0,Si=$t?$t.prototype:void 0,xi=Si?Si.toString:void 0;function cu(e){if(typeof e=="string")return e;if(pt(e))return m_(e,cu)+"";if(la(e))return xi?xi.call(e):"";var t=e+"";return t=="0"&&1/e==-h_?"-0":t}function du(e){return e==null?"":cu(e)}function mu(e,t){return pt(e)?e:Bo(e,t)?[e]:d_(du(e))}var f_=1/0;function _a(e){if(typeof e=="string"||la(e))return e;var t=e+"";return t=="0"&&1/e==-f_?"-0":t}function hu(e,t){t=mu(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[_a(t[n++])];return n&&n==r?e:void 0}function g_(e,t,n){var r=e==null?void 0:hu(e,t);return r===void 0?n:r}function p_(e,t){return e!=null&&t in Object(e)}function y_(e,t,n){t=mu(t,e);for(var r=-1,a=t.length,s=!1;++r<a;){var i=_a(t[r]);if(!(s=e!=null&&n(e,i)))break;e=e[i]}return s||++r!=a?s:(a=e==null?0:e.length,!!a&&Fo(a)&&Zl(i,a)&&(pt(e)||Xl(e)))}function __(e,t){return e!=null&&y_(e,t,p_)}var v_=1,b_=2;function S_(e,t){return Bo(e)&&lu(t)?uu(_a(e),t):function(n){var r=g_(n,e);return r===void 0&&r===t?__(n,e):ya(t,r,v_|b_)}}function x_(e){return e}function w_(e){return function(t){return t==null?void 0:t[e]}}function j_(e){return function(t){return hu(t,e)}}function R_(e){return Bo(e)?w_(_a(e)):j_(e)}function A_(e){return typeof e=="function"?e:e==null?x_:typeof e=="object"?pt(e)?S_(e[0],e[1]):n_(e):R_(e)}function P_(e,t){return function(n,r){var a=pt(n)?K1:Z1,s={};return a(n,e,A_(r),s)}}var Sn=P_(function(e,t,n){z1(e,n,t)}),C_=0;function M_(e){var t=++C_;return du(e)+t}const fo=[{id:"0.1",mm:.1,degrees:.05},{id:"1",mm:1,degrees:.5},{id:"5",mm:5,degrees:2.5},{id:"10",mm:10,degrees:5}],T_=[{id:"continuous"},...fo];class Jo{constructor(t,n,r,a){var s,i;this.jogger=t,this.motionGroupSpec=n,this.coordSystems=r,this.tcps=a,this.selectedTabId="cartesian",this.manualActivationRequired=!0,this.activationState="inactive",this.activationError=null,this.activationCounter=0,this.locks=new Set,this.selectedCoordSystemId="world",this.selectedTcpId="",this.selectedOrientation="coordsys",this.selectedIncrementId="continuous",this.selectedCartesianMotionType="translate",this.incrementJoggingInProgress=!1,this.translationVelocityMmPerSec=10,this.rotationVelocityDegPerSec=1,this.minTranslationVelocityMmPerSec=5,this.maxTranslationVelocityMmPerSec=250,this.minRotationVelocityDegPerSec=1,this.maxRotationVelocityDegPerSec=60,this.disposers=[];for(const l of r)if(l.coordinate_system===""){l.coordinate_system="world";break}this.selectedCoordSystemId=((s=r[0])==null?void 0:s.coordinate_system)||"world",this.selectedTcpId=((i=a[0])==null?void 0:i.id)||"",dt.makeAutoObservable(this,{},{autoBind:!0}),this.loadFromLocalStorage(),this.disposers.push(dt.autorun(()=>this.saveToLocalStorage())),window.joggingStore=this}static async loadFor(t){const{nova:n}=t,[r,{coordinatesystems:a},{tcps:s}]=await Promise.all([n.api.motionGroupInfos.getMotionGroupSpecification(t.motionGroupId),n.api.coordinateSystems.listCoordinateSystems("ROTATION_VECTOR"),n.api.motionGroupInfos.listTcps(t.motionGroupId,"ROTATION_VECTOR")]);return new Jo(t,r,a||[],s||[])}dispose(){for(const t of this.disposers)t();this.jogger.dispose()}get coordSystemCountByName(){return Kn.countBy(this.coordSystems,t=>t.name)}async deactivate(t={}){if(this.activationState==="inactive")return;const n=this.jogger.activeWebsocket;this.activationState="inactive",this.jogger.setJoggingMode("increment"),n&&await n.closed();try{await this.jogger.nova.api.motionGroupJogging.stopJogging(this.jogger.motionGroupId)}catch(r){console.error(r)}t.requireManualReactivation&&dt.runInAction(()=>{this.manualActivationRequired=!0})}async activate(t={}){if(!(this.manualActivationRequired&&!t.manual)){dt.runInAction(()=>{this.activationState="loading",this.activationError=null});try{await this.jogger.nova.api.controller.setDefaultMode(this.jogger.motionStream.controllerId,"MODE_CONTROL")}catch(n){console.error(n)}if(this.currentTab.id==="cartesian"){const n={tcpId:this.selectedTcpId,coordSystemId:this.activeCoordSystemId};this.activeDiscreteIncrement?this.jogger.setJoggingMode("increment",n):this.jogger.setJoggingMode("cartesian",n)}else this.jogger.setJoggingMode("joint");if(this.jogger.activeWebsocket)try{this.jogger.stop(),await this.jogger.activeWebsocket.nextMessage()}catch(n){dt.runInAction(()=>{this.activationState="inactive",this.activationError=n});return}dt.runInAction(()=>{this.activationState="active",t.manual&&(this.manualActivationRequired=!1)})}}loadFromLocalStorage(){const t=Lt.tryParseJson(localStorage.getItem("joggingToolStore"));t&&(this.tabsById[t.selectedTabId]&&(this.selectedTabId=t.selectedTabId),this.coordSystemsById[t.selectedCoordSystemId]&&(this.selectedCoordSystemId=t.selectedCoordSystemId),this.tcpsById[t.selectedTcpId]&&(this.selectedTcpId=t.selectedTcpId),this.incrementOptionsById[t.selectedIncrementId]&&(this.selectedIncrementId=t.selectedIncrementId),["translate","rotate"].includes(t.selectedCartesianMotionType)&&(this.selectedCartesianMotionType=t.selectedCartesianMotionType),["coordsys","tool"].includes(t.selectedOrientation)&&(this.selectedOrientation=t.selectedOrientation))}saveToLocalStorage(){localStorage.setItem("joggingToolStore",JSON.stringify(this.localStorageSave))}get isLocked(){return this.locks.size>0}get localStorageSave(){return{selectedTabId:this.selectedTabId,selectedCoordSystemId:this.selectedCoordSystemId,selectedTcpId:this.selectedTcpId,selectedOrientation:this.selectedOrientation,selectedIncrementId:this.selectedIncrementId,selectedCartesianMotionType:this.selectedCartesianMotionType}}get tabs(){return[{id:"cartesian",label:"Cartesian"},{id:"joint",label:"Joint"}]}get incrementOptions(){return T_}get discreteIncrementOptions(){return fo}get incrementOptionsById(){return Sn(this.incrementOptions,t=>t.id)}get tabsById(){return Sn(this.tabs,t=>t.id)}get currentTab(){return this.tabsById[this.selectedTabId]||this.tabs[0]}get tabIndex(){return this.tabs.indexOf(this.currentTab)}get coordSystemsById(){return Sn(this.coordSystems,t=>t.coordinate_system)}get selectedCoordSystem(){return this.coordSystemsById[this.selectedCoordSystemId]}get activeCoordSystemId(){return this.selectedOrientation==="tool"?"tool":this.selectedCoordSystemId}get tcpsById(){return Sn(this.tcps,t=>t.id)}get activeDiscreteIncrement(){return this.selectedOrientation==="tool"?void 0:fo.find(t=>t.id===this.selectedIncrementId)}get rotationVelocityRadsPerSec(){return this.rotationVelocityDegPerSec*Math.PI/180}get velocityInCurrentUnits(){return this.currentMotionType==="translate"?this.translationVelocityMmPerSec:this.rotationVelocityDegPerSec}get minVelocityInCurrentUnits(){return this.currentMotionType==="translate"?this.minTranslationVelocityMmPerSec:this.minRotationVelocityDegPerSec}get maxVelocityInCurrentUnits(){return this.currentMotionType==="translate"?this.maxTranslationVelocityMmPerSec:this.maxRotationVelocityDegPerSec}get currentMotionType(){return this.selectedTabId==="cartesian"&&this.selectedCartesianMotionType==="translate"?"translate":"rotate"}onTabChange(t,n){const r=this.tabs[n]||this.tabs[0];this.selectedTabId=r.id}setSelectedCoordSystemId(t){this.selectedCoordSystemId=t}setSelectedTcpId(t){this.selectedTcpId=t}setSelectedOrientation(t){this.selectedOrientation=t}setSelectedIncrementId(t){this.selectedIncrementId=t}setIncrementJoggingInProgress(t){this.incrementJoggingInProgress=t}setVelocityFromSlider(t){this.currentMotionType==="translate"?this.translationVelocityMmPerSec=t:this.rotationVelocityDegPerSec=t}setSelectedCartesianMotionType(t){this.selectedCartesianMotionType=t}async withMotionLock(t){const n=M_();this.locks.add(n);try{return await t()}finally{this.locks.delete(n)}}}const k_=on(Oe.observer(e=>{const t=Kn.isString(e.nova)?new Lt.NovaClient({instanceUrl:e.nova}):e.nova,n=Oe.useLocalObservable(()=>({joggingStore:null,loadingError:null}));async function r(){dt.runInAction(()=>{n.loadingError=null,n.joggingStore=null});try{const a=await t.connectJogger(e.motionGroupId),s=await Jo.loadFor(a);dt.runInAction(()=>{n.joggingStore=s}),e.onSetup&&e.onSetup(s)}catch(a){n.loadingError=a}}return Y.useEffect(()=>(r(),()=>{var a;(a=n.joggingStore)==null||a.dispose()}),[e.nova,e.motionGroupId]),Y.useEffect(()=>{const a=n.joggingStore;a&&(e.locked?a.locks.add("external"):a.locks.delete("external"))},[e.locked]),o.jsx(O.Stack,{sx:{maxWidth:"460px",minWidth:"350px",overflowY:"auto",position:"relative",height:"100%"},children:n.joggingStore?o.jsx(O_,{store:n.joggingStore,children:e.children}):o.jsx(fa,{message:"Loading jogging",error:n.loadingError})})})),O_=Oe.observer(({store:e,children:t})=>{Y.useEffect(()=>{function r(){e.deactivate()}function a(){e.activate()}return window.addEventListener("blur",r),window.addEventListener("focus",a),()=>{window.removeEventListener("blur",r),window.removeEventListener("focus",a)}}),ko(()=>[e.currentTab.id,e.selectedTcpId,e.activeCoordSystemId,e.activeDiscreteIncrement],()=>{e.activationState!=="inactive"&&e.activate()});function n(){if(e.currentTab.id==="cartesian")return o.jsx(o.Fragment,{children:o.jsx(J1,{store:e,children:t})});if(e.currentTab.id==="joint")return o.jsx(o.Fragment,{children:o.jsx(G1,{store:e,children:t})})}return o.jsxs(O.Stack,{flexGrow:1,height:"100%",children:[o.jsx(O.Tabs,{value:e.tabIndex,onChange:e.onTabChange,variant:"fullWidth",children:e.tabs.map(r=>o.jsx(O.Tab,{label:r.label,id:`jogging-tab-${r.id}`,"aria-controls":`jogging-tab-${r.id}`},r.id))}),o.jsx(O.Stack,{flexGrow:1,position:"relative",children:n()})]})});function I_(){const e=window.location.href;return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function E_({baseUrl:e=I_(),...t}){return o.jsxs(O.Dialog,{"aria-labelledby":"no-motion-group-modal-title",open:!0,fullWidth:!0,sx:{"& .MuiModal-backdrop":{backdropFilter:"blur(10px)"},"& .MuiDialog-paper":{"::before":{content:'""',height:"8px",width:"100%",background:"linear-gradient(90deg, #FF0E65 0%, #47D3FF 100%)"},background:"#101629"}},children:[o.jsx(O.DialogTitle,{id:"no-motion-group-modal-title",children:"No motion group found"}),o.jsxs(O.DialogContent,{sx:{marginTop:"3rem",marginBottom:"1.5rem",textAlign:"center"},children:[o.jsx(O.Typography,{color:"#fff",children:"Found no devices to connect to."}),o.jsx(O.Typography,{color:"#fff",children:"Please ensure a motion group has been created."})]}),o.jsx(O.DialogActions,{children:o.jsxs(O.Stack,{width:"100%",maxWidth:"300px",margin:"auto",marginBottom:"2rem",children:[o.jsx(O.Button,{href:`${e}/settings`,variant:"contained",sx:{borderRadius:"8px",width:"100%"},children:"Go to settings app"}),o.jsx(O.Button,{href:`${e}`,variant:"text",sx:{marginTop:"1rem",color:"#fff",textDecoration:"underline",fontSize:"0.75rem"},children:"Back to Homescreen"})]})})]})}const L_=Array(6).fill(2*Math.PI);fu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function fu({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Empty",children:[o.jsxs("group",{name:"visuals",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.abb_metal_polished}),o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.abb_white})]}),o.jsxs(b.animated.group,{name:"ABB_IRB1200_J00",children:[o.jsxs(b.animated.group,{name:"ABB_IRB1200_J01",position:[0,.399,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB1200_J02",position:[.35,0,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB1200_J03",position:[.042,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB1200_J04",position:[0,.351,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB1200_J05",rotation:[Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"ABB_IRB1200_FLG",position:[0,.082,0]}),o.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:r.visuals006.geometry,material:a.abb_metal_black,position:[.791,-.351,0],rotation:[0,0,Math.PI/2]})]}),o.jsxs("group",{name:"visuals005",position:[-.791,0,.351],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_1.geometry,material:a.abb_metal_polished}),o.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_2.geometry,material:a.abb_white})]})]}),o.jsxs("group",{name:"visuals004",position:[-.791,0,0],rotation:[-Math.PI,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_1.geometry,material:a.abb_metal_polished}),o.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_2.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals004_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_3.geometry,material:a.abb_red})]})]}),o.jsxs("group",{name:"visuals003",position:[-.749,0,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.abb_red}),o.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_3.geometry,material:a.abb_metal_polished})]})]}),o.jsxs("group",{name:"visuals002",position:[-.399,0,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_1.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_2.geometry,material:a.abb_metal_polished})]})]}),o.jsxs("group",{name:"visuals001",children:[o.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_1.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_2.geometry,material:a.abb_metal_polished})]})]})]})})}gu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function gu({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:r.link_0.geometry,material:a.Plastic}),o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J00",children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J01",position:[.15,.544,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J02",position:[.575,0,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J03",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J04",position:[0,.425,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J05",rotation:[Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"ABB_IRB_1300_115_10_FLG",position:[0,.092,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.Metal,position:[1.159,-.575,0],rotation:[0,0,Math.PI/2]})]}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:r.link_5.geometry,material:a.Plastic,position:[-1.159,0,.575],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_4",position:[-1.159,-.15,0],rotation:[-Math.PI,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:r.visuals004.geometry,material:a.Plastic}),o.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_1.geometry,material:a.PlasticRed})]})]}),o.jsxs("group",{name:"link_3",position:[-1.119,0,.15],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals003",castShadow:!0,receiveShadow:!0,geometry:r.visuals003.geometry,material:a.Plastic}),o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.PlasticRed}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.Plastic})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:r.link_2.geometry,material:a.Plastic,position:[-.544,0,.15],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_1",castShadow:!0,receiveShadow:!0,geometry:r.link_1.geometry,material:a.Plastic})]})]})})}pu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function pu({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"M10iD",rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J02",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J03",position:[.64,0,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J04",position:[.195,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J05",position:[0,-.7,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"M10iD_FLG",position:[0,-.075,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"M10iD_L06",castShadow:!0,receiveShadow:!0,geometry:r.M10iD_L06.geometry,material:a.Fanuc_BlackMetal_AO,position:[-.835,.775,0],rotation:[0,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"M10iD_L05",castShadow:!0,receiveShadow:!0,geometry:r.M10iD_L05.geometry,material:a.Fanuc_BlackMetal_AO,position:[-.835,0,-.775],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"M10iD_L04",position:[-.835,.075,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_654",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_654.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_654_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_654_1.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M10iD_L03",position:[-.64,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_378",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_378.geometry,material:a.Material_1_AO}),o.jsx("mesh",{name:"Mesh_378_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_378_1.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_378_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_378_2.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M10iD_L02",position:[0,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_358",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_358.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_358_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_358_1.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M10iD_L01",children:[o.jsx("mesh",{name:"Mesh_356",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_356.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_356_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_356_1.geometry,material:a.Material_1_AO}),o.jsx("mesh",{name:"Mesh_356_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_356_2.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsx("mesh",{name:"M10iD_L00",castShadow:!0,receiveShadow:!0,geometry:r.M10iD_L00.geometry,material:a.Fanuc_BlackMetal_AO,rotation:[-Math.PI/2,0,0]})]})})})})}go.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function go({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"M10iD",rotation:[0,0,0],children:[o.jsxs(b.animated.group,{name:"M20iD25_J00",children:[o.jsxs(b.animated.group,{name:"M20iD25_J01",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"M20iD25_J02",position:[.84,0,0],children:[o.jsxs(b.animated.group,{name:"M20iD25_J03",position:[.215,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"M20iD25_J04",position:[0,-.89,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"M20iD25_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"M20iD25_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"M20iD25_L06",castShadow:!0,receiveShadow:!0,geometry:r.M20iD25_L06.geometry,material:a.Fanuc_BlackMetal_AO,position:[0,-.09,0],rotation:[Math.PI/2,0,Math.PI]})]}),o.jsx("mesh",{name:"M20iD25_L05",castShadow:!0,receiveShadow:!0,geometry:r.M20iD25_L05.geometry,material:a.Fanuc_BlackMetal_AO,rotation:[Math.PI,Math.PI/2,0]})]}),o.jsxs("group",{name:"M20iD25_L04",position:[0,-.286,0],rotation:[-Math.PI/2,Math.PI/2,0],children:[o.jsx("mesh",{name:"Mesh_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_2.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_2_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_2_1.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M20iD25_L03",position:[0,.406,0],rotation:[Math.PI,Math.PI/2,0],children:[o.jsx("mesh",{name:"Mesh_15",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_15.geometry,material:a.Fanuc_BlackMetal_AO}),o.jsx("mesh",{name:"Mesh_15_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_15_1.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_15_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_15_2.geometry,material:a.Material_9_AO})]})]}),o.jsxs("group",{name:"M20iD25_L02",position:[0,.505,-.055],rotation:[-Math.PI,Math.PI/2,0],children:[o.jsx("mesh",{name:"Mesh_37",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_37.geometry,material:a.Fanuc_BlackMetal_AO}),o.jsx("mesh",{name:"Mesh_37_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_37_1.geometry,material:a.Fanuc_Yellow_Textured_AO})]})]}),o.jsxs("group",{name:"M20iD25_L01",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"Mesh_45",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_45.geometry,material:a.Material_9_AO}),o.jsx("mesh",{name:"Mesh_45_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_45_1.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_45_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_45_2.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsx("mesh",{name:"M20iD25_L00",castShadow:!0,receiveShadow:!0,geometry:r.M20iD25_L00.geometry,material:a.Fanuc_BlackMetal_AO,position:[0,-.425,0],rotation:[-Math.PI/2,0,0]})]})})})})}yu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function yu({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(b.animated.group,{name:"CRX10iA_J00",children:[o.jsxs(b.animated.group,{name:"CRX10iA_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J02",position:[.54,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L06.geometry,material:a.Fanuc_BlackMetal,position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001_1.geometry,material:a.Fanuc_Green})]})]}),o.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA.geometry,material:a.Fanuc_RedPlastic}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_1",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_1.geometry,material:a.Fanuc_BlackPlastic}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_2",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_2.geometry,material:a.Fanuc_WhitePlastic})]})]}),o.jsx("mesh",{name:"CRX10iA_L03",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L03.geometry,material:a.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L02.geometry,material:a.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L01",position:[0,-.117,0],children:[o.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001.geometry,material:a.Fanuc_Green}),o.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_1.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_2.geometry,material:a.Fanuc_GreenLED})]})]}),o.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L00.geometry,material:a.Fanuc_BlackMetal,position:[0,-.245,0]})]})})})}_u.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function _u({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:r.link_0.geometry,material:a.fanuc_metal_black}),o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J00",position:[0,-.245,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J02",position:[.71,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx(b.animated.group,{name:"FANUC_CRX20iAL_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.fanuc_metal_black,position:[-.71,.54,-.15],rotation:[0,0,-Math.PI/2]})]}),o.jsxs(b.animated.group,{name:"link_5",position:[-.71,0,-.54],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape053",castShadow:!0,receiveShadow:!0,geometry:r.shape053.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"shape053_1",castShadow:!0,receiveShadow:!0,geometry:r.shape053_1.geometry,material:a.fanuc_green})]})]}),o.jsxs(b.animated.group,{name:"link_4",position:[-.71,0,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape054",castShadow:!0,receiveShadow:!0,geometry:r.shape054.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"shape054_1",castShadow:!0,receiveShadow:!0,geometry:r.shape054_1.geometry,material:a.fanuc_red}),o.jsx("mesh",{name:"shape054_2",castShadow:!0,receiveShadow:!0,geometry:r.shape054_2.geometry,material:a.fanuc_metal_black})]})]}),o.jsxs(b.animated.group,{name:"link_3",position:[-.71,0,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape009",castShadow:!0,receiveShadow:!0,geometry:r.shape009.geometry,material:a.fanuc_green}),o.jsx("mesh",{name:"shape009_1",castShadow:!0,receiveShadow:!0,geometry:r.shape009_1.geometry,material:a.fanuc_white})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:r.link_2.geometry,material:a.fanuc_white,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_1",position:[0,.245,0],children:[o.jsx("mesh",{name:"shape005",castShadow:!0,receiveShadow:!0,geometry:r.shape005.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"shape005_1",castShadow:!0,receiveShadow:!0,geometry:r.shape005_1.geometry,material:a.fanuc_green})]})]})]})})})}vu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function vu({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",position:[0,-.37,0],children:[o.jsxs("group",{name:"CRX25iA_L00",children:[o.jsx("mesh",{name:"J1BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J1BASE_NetGen_Coarse.geometry,material:a.Fanuc_BlackMetal}),o.jsx("mesh",{name:"J1BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J1BASE_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenPlastic})]}),o.jsxs(b.animated.group,{name:"CRX25iA_J00",children:[o.jsxs(b.animated.group,{name:"CRX25iA_J01",position:[0,.37,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"CRX25iA_J02",position:[.95,0,0],children:[o.jsxs(b.animated.group,{name:"CRX25iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"CRX25iA_J04",position:[0,-.75,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"CRX25iA_J05",position:[0,.185,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"CRX25iA_FLG",position:[0,-.18,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"CRX25iA_L06",castShadow:!0,receiveShadow:!0,geometry:r.CRX25iA_L06.geometry,material:a.Fanuc_BlackMetal,position:[0,-.18,0]})]}),o.jsxs("group",{name:"CRX25iA_L05",position:[0,.185,0],children:[o.jsx("mesh",{name:"J6CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J6CASING_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J6CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J6CASING_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenPlastic})]})]}),o.jsxs("group",{name:"CRX25iA_L04",position:[0,-.75,0],children:[o.jsx("mesh",{name:"J3ARM_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J3ARM_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J3ARM_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J3ARM_NetGen_Coarse_1.geometry,material:a.Fanuc_RedPlastic}),o.jsx("mesh",{name:"J3ARM_NetGen_Coarse_2",castShadow:!0,receiveShadow:!0,geometry:r.J3ARM_NetGen_Coarse_2.geometry,material:a.Fanuc_BlackPlastic})]})]}),o.jsxs("group",{name:"CRX25iA_L03",children:[o.jsx("mesh",{name:"J3CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J3CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenPlastic})]})]}),o.jsx("mesh",{name:"CRX25iA_L02",castShadow:!0,receiveShadow:!0,geometry:r.CRX25iA_L02.geometry,material:a.Fanuc_WhitePlastic})]}),o.jsxs("group",{name:"CRX25iA_L01",position:[0,.18,0],children:[o.jsx("mesh",{name:"J2BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J2BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenLED})]})]})]})})})}bu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function bu({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(b.animated.group,{name:"CRX10iA_J00",children:[o.jsxs(b.animated.group,{name:"CRX10iA_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J02",position:[.71,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L06.geometry,material:a["Fanuc_BlackMetal.001"],position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001_1.geometry,material:a["Fanuc_Green.001"]})]})]}),o.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_L001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_1",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_L001_1.geometry,material:a["Fanuc_RedPlastic.001"]}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_2",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_L001_2.geometry,material:a["Fanuc_BlackPlastic.001"]})]})]}),o.jsxs("group",{name:"CRX10iA_L03",rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"J3CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_UNIT001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"J3CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_UNIT001_1.geometry,material:a["Fanuc_Green.001"]})]})]}),o.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L02.geometry,material:a["Fanuc_WhitePlastic.001"],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L01",position:[0,.128,0],children:[o.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_1.geometry,material:a["Fanuc_Green.001"]}),o.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_2.geometry,material:a["Fanuc_GreenLED.001"]})]})]}),o.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L00.geometry,material:a["Fanuc_BlackMetal.001"]})]})})})}Su.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function Su({modelURL:e,...t}){const{nodes:n,materials:r}=X.useGLTF(e);return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Empty",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"shape002",castShadow:!0,receiveShadow:!0,geometry:n.shape002.geometry,material:r.fanuc_metal_black_AO}),o.jsx("mesh",{name:"shape002_1",castShadow:!0,receiveShadow:!0,geometry:n.shape002_1.geometry,material:r.fanuc_stainless_steel_AO})]}),o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J00",children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J01",position:[.05,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J02",position:[.33,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J03",position:[.035,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J04",position:[0,-.335,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"FANUC_LRMATE-200ID_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.fanuc_metal_black_AO,position:[-.365,.385,0],rotation:[0,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:r.fanuc_yellow_AO,position:[-.365,0,-.385],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_4",position:[-.365,.05,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape010",castShadow:!0,receiveShadow:!0,geometry:n.shape010.geometry,material:r.fanuc_yellow_AO}),o.jsx("mesh",{name:"shape010_1",castShadow:!0,receiveShadow:!0,geometry:n.shape010_1.geometry,material:r.fanuc_aluminium_black_AO})]})]}),o.jsx("mesh",{name:"link_3",castShadow:!0,receiveShadow:!0,geometry:n.link_3.geometry,material:r.fanuc_yellow_AO,position:[-.33,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:n.link_2.geometry,material:r.fanuc_yellow_AO,position:[0,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_1",castShadow:!0,receiveShadow:!0,geometry:n.link_1.geometry,material:r.fanuc_yellow_AO})]})]})})}xu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function xu({modelURL:e,...t}){const{nodes:n,materials:r}=X.useGLTF(e);return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:r.material_Material_Metall}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:r.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals_0_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_2.geometry,material:r.material_Material_Metall})]}),o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J00",children:[o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J01",position:[.16,.52,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J02",position:[.98,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J03",position:[.15,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J04",position:[0,-.86,0],rotation:[-Math.PI/2,0,0],children:[o.jsx(b.animated.group,{name:"KUKA_KR16R2010_2_J05",rotation:[-Math.PI/2,0,-Math.PI],children:o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.material_Material_Farbe__2_,position:[.67,2,0],rotation:[-Math.PI,0,Math.PI/2]})}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:r.material_Material_Farbe,position:[-.67,0,2],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:n.link_4.geometry,material:r.material_Material_Farbe,position:[-.67,1.14,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_3",position:[-.52,0,1.14],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3.geometry,material:r.material_Material_Farbe}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_1.geometry,material:r.material_Material_Metall}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_2.geometry,material:r.material_Material_Farbe__2_})]})]}),o.jsxs("group",{name:"link_2",position:[-.16,0,-.52],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2.geometry,material:r.material_Material_Farbe}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2_1.geometry,material:r.material_Material_Metall})]})]}),o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1.geometry,material:r.material_Material_Farbe}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_1.geometry,material:r.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_2.geometry,material:r.material_Material_Metall})]})]})]})})})}wu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function wu({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"kuka_kr210_2700",children:[o.jsxs(b.animated.group,{name:"joint_01",children:[o.jsxs(b.animated.group,{name:"joint_02",position:[.33,.645,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"joint_04",position:[.115,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_05",position:[0,-1.22,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[o.jsx("group",{name:"flange",position:[0,-.215,0],rotation:[-Math.PI,0,0]}),o.jsx("group",{name:"link_6",position:[0,-.17,0],rotation:[0,0,-Math.PI/2],children:o.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:r.visuals006.geometry,material:a.material_Material_Metall_black})})]}),o.jsx("group",{name:"link_5",position:[0,.059,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals005",children:[o.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_1.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_2.geometry,material:a.material_Material_kuka_orange})]})})]}),o.jsx("group",{name:"link_4",position:[0,-.869,0],rotation:[0,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals004",children:[o.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_1.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_2.geometry,material:a.material_Material_kuka_orange})]})})]}),o.jsx("group",{name:"link_3",position:[0,-.105,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals003",children:[o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.material_Material_rubber}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.material_Material_aluminium}),o.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_3.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_4.geometry,material:a.material_Material_kuka_black}),o.jsx("mesh",{name:"visuals003_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_5.geometry,material:a.material_Material_Rubber_black}),o.jsx("mesh",{name:"visuals003_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_6.geometry,material:a.material_Material_kuka_orange}),o.jsx("mesh",{name:"visuals003_7",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_7.geometry,material:a.material_Material_stainless_steel})]})})]}),o.jsx("group",{name:"link_2",position:[0,.009,0],rotation:[Math.PI/2,0,0],children:o.jsxs("group",{name:"visuals002",children:[o.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_1.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_2.geometry,material:a.material_Material_Rubber_black}),o.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_3.geometry,material:a.material_Material_kuka_orange})]})})]}),o.jsx("group",{name:"link_1",position:[0,.236,0],children:o.jsxs("group",{name:"visuals001",children:[o.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_1.geometry,material:a.material_Material_kuka_black}),o.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_2.geometry,material:a.material_Material_kuka_orange}),o.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_3.geometry,material:a.material_Material_rubber}),o.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_4.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals001_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_5.geometry,material:a.material_Material_aluminium}),o.jsx("mesh",{name:"visuals001_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_6.geometry,material:a.material_Material_rubber_black}),o.jsx("mesh",{name:"visuals001_7",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_7.geometry,material:a.material_Material_stainless_steel})]})})]}),o.jsx("group",{name:"link_0",children:o.jsxs("group",{name:"visuals",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.material_Material_kuka_black}),o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.material_Material_metal_black})]})})]})})})})}ju.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function ju({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(b.animated.group,{name:"joint_01",children:[o.jsxs(b.animated.group,{name:"joint_02",position:[.35,.675,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"joint_04",position:[-.041,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_05",position:[0,-1.2,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[o.jsx("group",{name:"flange",position:[0,-.24,0],rotation:[-Math.PI,0,0]}),o.jsx("group",{name:"link_6",position:[0,-.213,0],rotation:[0,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals006",children:[o.jsx("mesh",{name:"visuals006_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals006_1.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals006_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals006_2.geometry,material:a.material_Material_Metall})]})})]}),o.jsx("group",{name:"link_5",position:[0,.044,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsx("mesh",{name:"visuals005",castShadow:!0,receiveShadow:!0,geometry:r.visuals005.geometry,material:a.material_Material_Farbe})})]}),o.jsx("group",{name:"link_4",position:[0,-.954,0],rotation:[0,0,-Math.PI/2],children:o.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:r.visuals004.geometry,material:a.material_Material_Farbe})})]}),o.jsx("group",{name:"link_3",position:[0,-.178,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals003",children:[o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_3.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_4.geometry,material:a.material_Material_Farbe})]})})]}),o.jsx("group",{name:"link_2",rotation:[Math.PI/2,0,0],children:o.jsxs("group",{name:"visuals002",children:[o.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_1.geometry,material:a.material_Material_Farbe}),o.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_2.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_3.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals002_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_4.geometry,material:a.material_Material_Farbe__2_})]})})]}),o.jsx("group",{name:"link_1",position:[0,.226,0],children:o.jsxs("group",{name:"visuals001",children:[o.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_1.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_2.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_3.geometry,material:a.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_4.geometry,material:a.material_Material_Farbe})]})})]}),o.jsx("group",{name:"link_0-base",children:o.jsxs("group",{name:"visuals",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.material_Material_Farbe__1_})]})})]})})})}Ru.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0],rotationSign:[-1,1,1,1,1,1]};function Ru({modelURL:e,...t}){const{nodes:n,materials:r}=X.useGLTF(e);return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:r.kuka_metal}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:r.kuka_black})]}),o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J00",children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J01",position:[.025,.4,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J02",position:[.335,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J03",position:[.025,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J04",position:[0,-.365,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J05",rotation:[-Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"KUKA_KR6R700-2_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.kuka_black,position:[.425,.725,0],rotation:[-Math.PI,0,Math.PI/2]})]}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:r.kuka_white,position:[-.425,0,.725],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_4",position:[-.425,.36,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4.geometry,material:r.kuka_white}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4_1.geometry,material:r.kuka_orange})]})]}),o.jsx("mesh",{name:"link_3",castShadow:!0,receiveShadow:!0,geometry:n.link_3.geometry,material:r.kuka_white,position:[-.4,0,.36],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_2",position:[-.025,0,-.4],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2.geometry,material:r.kuka_white}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2_1.geometry,material:r.kuka_orange})]})]}),o.jsx("mesh",{name:"link_1",castShadow:!0,receiveShadow:!0,geometry:n.link_1.geometry,material:r.kuka_white})]})]})})}function $_({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J00",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_1.geometry,material:a.universalrobots_aluminum})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J01",position:[0,.127,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_1",position:[0,0,.127],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_3.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_1_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_4.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_5.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J02",position:[-.612,0,0],children:[o.jsxs("group",{name:"link_2",position:[.612,0,.127],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_2_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_4.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_2_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_5.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J03",position:[-.572,0,0],children:[o.jsxs("group",{name:"link_3",position:[1.184,0,.127],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_3_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_4.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J04",position:[0,.164,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_4",position:[1.184,.127,.164],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_3.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_4_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_4.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J05",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_5",position:[1.184,-.164,.012],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_5_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_3.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_5_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_4.geometry,material:a.universalrobots_lightblue})]}),o.jsx("group",{name:"UNIVERSALROBOTS_UR10CB_FLG",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:o.jsxs("group",{name:"link_6",position:[1.184,-.012,-.28],children:[o.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_1.geometry,material:a.universalrobots_aluminum})]})})]})]})]})]})]})]})})})}function N_({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"UR10e",rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J02",position:[0,.181,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J03",position:[-.613,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J04",position:[-.572,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J05",position:[0,.174,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J06",position:[0,.12,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_FLG",position:[1.184,-.174,.061],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000493",geometry:r["C-1000493"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000493_1",geometry:r["C-1000493_1"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0})]}),o.jsx("group",{name:"UR10e_L07",position:[0,.117,0]})]}),o.jsxs("group",{name:"UR10e_L06",position:[1.184,.181,.174],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"C-1000492",geometry:r["C-1000492"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000492_1",geometry:r["C-1000492_1"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000492_2",geometry:r["C-1000492_2"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000492_3",geometry:r["C-1000492_3"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L05",position:[1.184,0,.181],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000491",geometry:r["C-1000491"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000491_1",geometry:r["C-1000491_1"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000491_2",geometry:r["C-1000491_2"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000491_3",geometry:r["C-1000491_3"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L04",position:[.613,0,.181],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000490",geometry:r["C-1000490"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000490_1",geometry:r["C-1000490_1"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000490_2",geometry:r["C-1000490_2"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000490_3",geometry:r["C-1000490_3"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs(b.animated.group,{name:"UR10e_L03",position:[0,0,.181],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000489",geometry:r["C-1000489"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_1",geometry:r["C-1000489_1"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_2",geometry:r["C-1000489_2"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_3",geometry:r["C-1000489_3"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_4",geometry:r["C-1000489_4"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L02",children:[o.jsx("mesh",{name:"C-1000488",geometry:r["C-1000488"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000488_1",geometry:r["C-1000488_1"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000488_2",geometry:r["C-1000488_2"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000488_3",geometry:r["C-1000488_3"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L01",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000487",geometry:r["C-1000487"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000487_1",geometry:r["C-1000487_1"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0})]})]})})})})}function F_({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"UR3",rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3_J03",position:[-.244,0,0],children:[o.jsxs(b.animated.group,{name:"UR3_J04",position:[-.213,0,0],children:[o.jsxs(b.animated.group,{name:"UR3_J05",position:[0,.112,0],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"UR3_05",castShadow:!0,receiveShadow:!0,geometry:r.UR3_05.geometry,material:a.Standard}),o.jsxs(b.animated.group,{name:"UR3_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"UR3_FLG",position:[0,.082,0]}),o.jsx("mesh",{name:"UR3_L06",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L06.geometry,material:a.Standard})]})]}),o.jsx("mesh",{name:"UR3_L04",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L04.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L03",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L03.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L02",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L02.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L01",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L01.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L00",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L00.geometry,material:a.Standard,rotation:[-Math.PI/2,0,0]})]})})})})}function D_({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Empty",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_1.geometry,material:a.universalrobots_aluminum})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR3E_J00",children:[o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_4.geometry,material:a.universalrobots_stainlesssteel})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR3E_J01",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_2",position:[0,0,.152],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_1.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_3.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR3E_J02",position:[-.244,0,0],children:[o.jsxs("group",{name:"link_3",position:[.244,0,.152],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_3.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR3E_J03",position:[-.213,0,0],children:[o.jsxs("group",{name:"link_4",position:[.457,0,.152],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR3E_J04",position:[0,.131,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_5",position:[.457,.152,.131],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR3E_J05",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_6",position:[.457,-.131,.067],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_6_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_2.geometry,material:a.universalrobots_aluminum})]}),o.jsx("group",{name:"UNIVERSALROBOTS_UR3E_FLG",position:[0,.092,0]})]})]})]})]})]})]})]})})}function B_({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J00",children:[o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_3.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J01",position:[0,.089,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_2",position:[0,0,.089],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_1.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_2_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_4.geometry,material:a.universalrobots_darkgrey})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J02",position:[-.425,0,0],children:[o.jsxs("group",{name:"link_3",position:[.425,0,.089],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_3.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_3_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_4.geometry,material:a.universalrobots_stainlesssteel})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J03",position:[-.392,0,0],children:[o.jsxs("group",{name:"link_4",position:[.817,0,.089],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_3.geometry,material:a.universalrobots_black})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J04",position:[0,.109,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_5",position:[.817,.089,.109],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_5_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_3.geometry,material:a.universalrobots_black})]}),o.jsxs(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J05",position:[0,.095,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.universalrobots_stainlesssteel,position:[.817,-.109,-.005],rotation:[-Math.PI/2,0,0]}),o.jsx("group",{name:"UNIVERSALROBOTS_UR5CB_FLG",position:[0,.082,0]})]})]})]})]})]})]}),o.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:r.link_0.geometry,material:a.universalrobots_aluminum})]})})}function U_({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"UR5e",rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J02",position:[0,.162,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J03",position:[-.425,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J04",position:[-.392,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J05",position:[0,.133,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J06",position:[0,.1,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"UR5e_FLG",position:[0,.1,0]}),o.jsx("group",{name:"UR5e_L06",position:[0,.1,0],rotation:[0,0,-Math.PI],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000255",castShadow:!0,receiveShadow:!0,geometry:r["C-1000255"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000255_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000255_1"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L05",rotation:[-Math.PI/2,-Math.PI/3,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000253",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000253_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000253_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253_2"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000253_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253_3"].geometry,material:a.DarkGray})]})})]}),o.jsx("group",{name:"UR5e_L04",rotation:[0,-Math.PI/3,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000251",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000251_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000251_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251_2"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000251_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251_3"].geometry,material:a.DarkGray})]})})]}),o.jsx("group",{name:"UR5e_L03",children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000250",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000250_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_1"].geometry,material:a.DarkGray}),o.jsx("mesh",{name:"C-1000250_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_2"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000250_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_3"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000250_4",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_4"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L02",rotation:[0,-Math.PI/2,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000249",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000249_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000249_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_2"].geometry,material:a.DarkGray}),o.jsx("mesh",{name:"C-1000249_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_3"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000249_4",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_4"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L01",rotation:[Math.PI/2,0,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000248",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248"].geometry,material:a.DarkGray}),o.jsx("mesh",{name:"C-1000248_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000248_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248_2"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000248_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248_3"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L00",children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000257",castShadow:!0,receiveShadow:!0,geometry:r["C-1000257"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000257_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000257_1"].geometry,material:a.Metal})]})})]})})})})}Au.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Au({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"AR1440",rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR1440_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR1440_J02",position:[.155,0,0],rotation:[Math.PI/2,0,Math.PI],children:[o.jsxs(b.animated.group,{name:"AR1440_J03",position:[.614,0,0],rotation:[Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR1440_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR1440_J05",position:[0,-.64,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR1440_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR1440_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR1440_L06_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L06_CAD.geometry,material:a.metall})]}),o.jsx("mesh",{name:"AR1440_L05_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L05_CAD.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR1440_L04_CAD",children:[o.jsx("mesh",{name:"AR1440_L04_CAD001",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L04_CAD001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR1440_L04_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L04_CAD001_1.geometry,material:a.white})]})]}),o.jsxs("group",{name:"AR1440_L03_CAD",children:[o.jsx("mesh",{name:"AR1440_L03_CAD001",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L03_CAD001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR1440_L03_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L03_CAD001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR1440_L02_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L02_CAD.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR1440_L01_CAD",children:[o.jsx("mesh",{name:"AR1440_L01_CAD001",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L01_CAD001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR1440_L01_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L01_CAD001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR1440_L00_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L00_CAD.geometry,material:a.yaskawaBlueMetall,position:[0,0,.45],rotation:[-Math.PI/2,0,0]})]})})})})}Pu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Pu({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(b.animated.group,{name:"AR1730_J00",children:[o.jsxs(b.animated.group,{name:"AR1730_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"AR1730_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR1730_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR1730_J04",position:[0,-.795,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR1730_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR1730_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR1730_L06",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L06.geometry,material:a.Metal,rotation:[Math.PI/2,-Math.PI/2,0]})]}),o.jsx("mesh",{name:"AR1730_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L05.geometry,material:a.Blue,rotation:[Math.PI/2,0,Math.PI/2]})]}),o.jsxs("group",{name:"AR1730_L04",position:[0,-.302,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"_R_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:r._R_AXIS_SW0001002.geometry,material:a.Blue}),o.jsx("mesh",{name:"_R_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:r._R_AXIS_SW0001002_1.geometry,material:a.White})]})]}),o.jsxs("group",{name:"AR1730_L03",rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"_U_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:r._U_AXIS_SW0001002.geometry,material:a.Blue}),o.jsx("mesh",{name:"_U_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:r._U_AXIS_SW0001002_1.geometry,material:a.Black})]})]}),o.jsx("mesh",{name:"AR1730_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L02.geometry,material:a.Blue,position:[0,-.157,0],rotation:[-Math.PI,-1.571,0]})]}),o.jsxs("group",{name:"AR1730_L01",position:[0,-.336,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"_S_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:r._S_AXIS_SW0001002.geometry,material:a.Blue}),o.jsx("mesh",{name:"_S_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:r._S_AXIS_SW0001002_1.geometry,material:a.Black})]})]}),o.jsx("mesh",{name:"AR1730_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L00.geometry,material:a.Blue,position:[0,-.505,0],rotation:[Math.PI/2,0,-Math.PI/2]})]})})})}Cu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Cu({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"AR2010",rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR2010_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR2010_J02",position:[.15,0,0],rotation:[Math.PI/2,0,Math.PI],children:[o.jsxs(b.animated.group,{name:"AR2010_J03",position:[.76,0,0],rotation:[Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR2010_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR2010_J05",position:[0,-1.082,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR2010_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR2010_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsxs("group",{name:"AR2010_L06",children:[o.jsx("mesh",{name:"AR2010_06001",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_06001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR2010_06001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_06001_1.geometry,material:a.metall})]})]}),o.jsx("mesh",{name:"AR2010_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_L05.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR2010_L04",children:[o.jsx("mesh",{name:"AR2010_04001",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_04001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR2010_04001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_04001_1.geometry,material:a.white})]})]}),o.jsxs("group",{name:"AR2010_L03",children:[o.jsx("mesh",{name:"AR2010_03001",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_03001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR2010_03001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_03001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR2010_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_L02.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR2010_L01",children:[o.jsx("mesh",{name:"AR2010_01001",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_01001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR2010_01001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_01001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR2010_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_L00.geometry,material:a.yaskawaBlueMetall,rotation:[-Math.PI/2,0,0]})]})})})})}Mu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Mu({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(b.animated.group,{name:"AR3120_J00",children:[o.jsxs(b.animated.group,{name:"AR3120_J01",position:[.145,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"AR3120_J02",position:[1.15,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR3120_J03",position:[.25,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR3120_J04",position:[0,-1.812,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR3120_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR3120_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR3120_L06",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L06.geometry,material:a["Metal.001"],rotation:[Math.PI/2,-Math.PI/2,0]})]}),o.jsx("mesh",{name:"AR3120_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L05.geometry,material:a["Blue.001"],rotation:[Math.PI/2,0,Math.PI/2]})]}),o.jsxs("group",{name:"AR3120_L04",rotation:[Math.PI/2,-Math.PI/2,0],children:[o.jsx("mesh",{name:"R_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:r.R_AXIS_GP20HL001.geometry,material:a["Blue.001"]}),o.jsx("mesh",{name:"R_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:r.R_AXIS_GP20HL001_1.geometry,material:a["White.001"]})]})]}),o.jsxs("group",{name:"AR3120_L03",rotation:[Math.PI,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_3001",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_3001.geometry,material:a["Blue.001"]}),o.jsx("mesh",{name:"Mesh_3001_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_3001_1.geometry,material:a["Black.001"]})]})]}),o.jsx("mesh",{name:"AR3120_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L02.geometry,material:a["Blue.001"],position:[0,-.146,0],rotation:[Math.PI,0,0]})]}),o.jsxs("group",{name:"AR3120_L01",position:[0,-.228,0],rotation:[0,-1.571,0],children:[o.jsx("mesh",{name:"S_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:r.S_AXIS_GP20HL001.geometry,material:a["Blue.001"]}),o.jsx("mesh",{name:"S_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:r.S_AXIS_GP20HL001_1.geometry,material:a["Black.001"]})]})]}),o.jsx("mesh",{name:"AR3120_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L00.geometry,material:a["Blue.001"],position:[0,-.54,0]})]})})})}po.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function po({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"AR900",rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR900_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR900_J02",position:[.04,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"AR900_J03",position:[.445,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR900_J04",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR900_J05",position:[0,-.44,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR900_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR900_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR900_L06",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L06.geometry,material:a["#BBA474.001"]})]}),o.jsx("mesh",{name:"AR900_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L05.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L04",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L04.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L03",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L03.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L02.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L01",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L01.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L00.geometry,material:a["#0056b9.001"],rotation:[-Math.PI/2,0,0]})]})})})})}Tu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function Tu({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"shape439",castShadow:!0,receiveShadow:!0,geometry:r.shape439.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape439_1",castShadow:!0,receiveShadow:!0,geometry:r.shape439_1.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape439_2",castShadow:!0,receiveShadow:!0,geometry:r.shape439_2.geometry,material:a.yaskawa_black})]}),o.jsxs(b.animated.group,{name:"YASKAWA_GP50_J00",position:[0,-.54,0],children:[o.jsxs("group",{name:"link_1",position:[0,.54,0],children:[o.jsx("mesh",{name:"shape320",castShadow:!0,receiveShadow:!0,geometry:r.shape320.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape320_1",castShadow:!0,receiveShadow:!0,geometry:r.shape320_1.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape320_2",castShadow:!0,receiveShadow:!0,geometry:r.shape320_2.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape320_3",castShadow:!0,receiveShadow:!0,geometry:r.shape320_3.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape320_4",castShadow:!0,receiveShadow:!0,geometry:r.shape320_4.geometry,material:a.yaskawa_white}),o.jsx("mesh",{name:"shape320_5",castShadow:!0,receiveShadow:!0,geometry:r.shape320_5.geometry,material:a.yaskawa_black})]}),o.jsxs(b.animated.group,{name:"YASKAWA_GP50_J01",position:[.145,.54,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs("group",{name:"link_2",position:[0,0,.145],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape440",castShadow:!0,receiveShadow:!0,geometry:r.shape440.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape440_1",castShadow:!0,receiveShadow:!0,geometry:r.shape440_1.geometry,material:a.yaskawa_white}),o.jsx("mesh",{name:"shape440_2",castShadow:!0,receiveShadow:!0,geometry:r.shape440_2.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape440_3",castShadow:!0,receiveShadow:!0,geometry:r.shape440_3.geometry,material:a.yaskawa_black})]}),o.jsxs(b.animated.group,{name:"YASKAWA_GP50_J02",position:[.87,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs("group",{name:"link_3",position:[-.87,0,-.145],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape341",castShadow:!0,receiveShadow:!0,geometry:r.shape341.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape341_1",castShadow:!0,receiveShadow:!0,geometry:r.shape341_1.geometry,material:a.yaskawa_white}),o.jsx("mesh",{name:"shape341_2",castShadow:!0,receiveShadow:!0,geometry:r.shape341_2.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape341_3",castShadow:!0,receiveShadow:!0,geometry:r.shape341_3.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape341_4",castShadow:!0,receiveShadow:!0,geometry:r.shape341_4.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape341_5",castShadow:!0,receiveShadow:!0,geometry:r.shape341_5.geometry,material:a.yaskawa_metalsilver})]}),o.jsxs(b.animated.group,{name:"YASKAWA_GP50_J03",position:[.21,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:r.link_4.geometry,material:a.yaskawa_blue,position:[-1.08,.145,0],rotation:[0,0,-Math.PI/2]}),o.jsxs(b.animated.group,{name:"YASKAWA_GP50_J04",position:[0,-1.025,0],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:r.link_5.geometry,material:a.yaskawa_blue,position:[-1.08,0,-1.17],rotation:[-Math.PI/2,0,-Math.PI/2]}),o.jsxs(b.animated.group,{name:"YASKAWA_GP50_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.yaskawa_metalsilver,position:[-1.08,1.17,0],rotation:[0,0,-Math.PI/2]}),o.jsx("group",{name:"YASKAWA_GP50_FLG",position:[0,-.175,0],rotation:[-Math.PI,0,0]})]})]})]})]})]})]})]})})})}const J_="(^joint_[0-9]+$)|(_J[0-9]+$)";function ku(e){return e.children.length===0?[e]:[e,...e.children.flatMap(t=>ku(t))]}function V_(e,t){return new RegExp(t??J_).test(e)}function Ou(e,t){return ku(e).filter(n=>V_(n.name,t))}function Iu({rapidlyChangingMotionState:e,jointCollector:t,onRotationChanged:n,robotConfig:r,children:a}){b.Globals.assign({frameLoop:"always"});const s=Y.useRef([]),i=Y.useRef([]),{invalidate:l}=zu.useThree();function u(y){y&&(i.current=t?t(y):Ou(y),m(),l())}function c(y){s.current=y,_.start(Object.assign({},s.current))}const d=(r==null?void 0:r.rotationSign)||[1,1,1,1,1,1],h=(r==null?void 0:r.rotationOffsets)||[0,0,0,0,0,0];function m(){const y=i.current.map((p,x)=>v[x].get());if(n)n(i.current,y);else for(const[p,x]of i.current.entries())x.rotation.y=d[p]*y[p]+h[p]}dl(()=>{const y=e.state.joint_position.joints.filter(p=>p!==void 0);requestAnimationFrame(()=>c(y))});const[v,_]=b.useSpring(()=>({...Object.assign({},e.state.joint_position.joints),onChange:()=>{m(),l()},onResolve:()=>{m()}}));return o.jsx("group",{ref:u,children:a})}const wi="line",ji="mesh";function Va({rapidlyChangingMotionState:e,dhParameters:t,...n}){const r=new St.Matrix4;function a(u,c){const d=new St.Vector3,h=new St.Quaternion,m=new St.Vector3;r.decompose(d,h,m);const v=d.clone(),_=new St.Matrix4().makeRotationY(u.theta+c*(u.reverse_rotation_direction?-1:1)).multiply(new St.Matrix4().makeTranslation(0,u.d/1e3,0)).multiply(new St.Matrix4().makeTranslation(u.a/1e3,0,0)).multiply(new St.Matrix4().makeRotationX(u.alpha));return r.multiply(_),r.decompose(d,h,m),{a:v,b:d}}function s(u,c,d,h){if(!t)return;const m=t[u];if(!m)return;const{a:v,b:_}=a(m,h);c.geometry.setPositions([v.toArray(),_.toArray()].flat()),d.position.set(_.x,_.y,_.z)}function i(u,c){r.identity(),u.forEach((d,h)=>{s(h,d.getObjectByName(wi),d.getObjectByName(ji),c[h])})}function l(u){return Ou(u,"^group_[0-9]+$")}return o.jsx(o.Fragment,{children:o.jsx(Iu,{rapidlyChangingMotionState:e,jointCollector:l,onRotationChanged:i,children:o.jsxs("group",{...n,name:"Scene",children:[o.jsxs("mesh",{children:[o.jsx("sphereGeometry",{args:[.01,32,32]}),o.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]}),t.map((u,c)=>{const{a:d,b:h}=a(u,e.state.joint_position.joints[c]??0);return o.jsxs("group",{name:`group_${c}`,children:[o.jsx(X.Line,{name:wi,points:[d,h],color:"white",lineWidth:5}),o.jsxs("mesh",{name:ji,position:h,children:[o.jsx("sphereGeometry",{args:[.01,32,32]}),o.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]},"mesh_"+c)]},"group_"+c)})]})})})}const G_=console.warn;function z_(){return Y.useEffect(()=>{console.warn=e=>{e!=="Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"&&G_(e)}},[]),o.jsx(o.Fragment,{})}function Vo(e){return`https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/${e}.glb`}const Eu=on(({rapidlyChangingMotionState:e,modelFromController:t,dhParameters:n,getModel:r=Vo,isGhost:a=!1,...s})=>{let i=null;const l=Y.useRef(),u=Y.useCallback(h=>{h&&(l.current=h,a&&c())},[a]),c=()=>{!l.current||l.current.userData.isGhost||(l.current.traverse(h=>{if(h instanceof Me.Mesh){h.material instanceof Me.Material&&(h.material.colorWrite=!0);const m=h.clone(),v=h.clone();m.material=new Me.MeshStandardMaterial({depthTest:!0,depthWrite:!0,colorWrite:!1,polygonOffset:!0,polygonOffsetFactor:1}),m.userData.isGhost=!0,v.material=new Me.MeshStandardMaterial({color:"#D91433",opacity:.3,depthTest:!0,depthWrite:!1,transparent:!0,polygonOffset:!0,polygonOffsetFactor:-1}),v.userData.isGhost=!0,h.parent&&(h.parent.add(m),h.parent.add(v))}}),l.current.userData.isGhost=!0)},d=()=>{if(!l.current||!l.current.userData.isGhost)return;const h=[];l.current.traverse(m=>{var v;m instanceof Me.Mesh&&((v=m.userData)!=null&&v.isGhost?h.push(m):m.material instanceof Me.Material&&(m.material.colorWrite=!0))}),h.forEach(m=>{m.parent&&m.parent.remove(m)}),l.current.userData.isGhost=!0};switch(Y.useEffect(()=>{a?c():d()},[a]),t){case"UniversalRobots_UR3":i=F_;break;case"UniversalRobots_UR3e":i=D_;break;case"UniversalRobots_UR5":i=B_;break;case"UniversalRobots_UR5e":i=U_;break;case"UniversalRobots_UR10":i=$_;break;case"UniversalRobots_UR10e":i=N_;break;case"Yaskawa_AR900":i=po;break;case"Yaskawa_GP7":i=po;break;case"Yaskawa_AR1440":i=Au;break;case"Yaskawa_AR1730":i=Pu;break;case"Yaskawa_AR2010":i=Cu;break;case"Yaskawa_AR3120":i=Mu;break;case"Yaskawa_GP50":i=Tu;break;case"FANUC_CRX10iA":i=yu;break;case"FANUC_CRX20iAL":i=_u;break;case"FANUC_CRX25iA":i=vu;break;case"FANUC_CRX25iAL":i=bu;break;case"FANUC_LR_Mate_200iD":i=Su;break;case"FANUC_ARC_Mate_120iD":i=go;break;case"FANUC_ARC_Mate_120iD35":i=go;break;case"FANUC_ARC_Mate_100iD":i=pu;break;case"KUKA_KR210_R2700":i=wu;break;case"KUKA_KR270_R2700":i=ju;break;case"KUKA_KR16_R2010_2":i=xu;break;case"KUKA_KR6_R700_2":i=Ru;break;case"ABB_1200_07_7":i=fu;break;case"ABB_1300_115_10":i=gu;break;default:console.warn(`Unknown robot type: ${t}`),i=null}return o.jsxs(Hu.ErrorBoundary,{fallback:o.jsx(Va,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:[o.jsx(Y.Suspense,{fallback:o.jsx(Va,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:o.jsx("group",{ref:u,children:i?o.jsx(Iu,{rapidlyChangingMotionState:e,robotConfig:i.config,children:o.jsx(i,{modelURL:r(t),...s})}):o.jsx(Va,{rapidlyChangingMotionState:e,dhParameters:n})})}),o.jsx(z_,{})]})});function K_({connectedMotionGroup:e,getModel:t=Vo,isGhost:n=!1,...r}){return e.dhParameters?o.jsx(Eu,{rapidlyChangingMotionState:e.rapidlyChangingMotionState,modelFromController:e.modelFromController||"",dhParameters:e.dhParameters,getModel:t,isGhost:n,...r}):null}const W_=O.styled(O.Fab,{shouldForwardProp:e=>e!=="selected"})(({theme:e})=>{var t,n,r;return{borderRadius:"20px","&:hover":{background:(t=e.palette.backgroundPaperElevation)==null?void 0:t[7]},variants:[{props:({selected:a})=>!a,style:{background:(n=e.palette.backgroundPaperElevation)==null?void 0:n[0],color:e.palette.action.disabled,"> img":{opacity:.4}}},{props:({selected:a})=>a,style:{background:(r=e.palette.backgroundPaperElevation)==null?void 0:r[11],border:`1px solid ${e.palette.divider}`,color:e.palette.primary.contrastText}}]}}),H_=Y.forwardRef((e,t)=>o.jsx(W_,{ref:t,selected:e.selected,...e,color:"secondary",variant:"circular"})),q_={$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"wandelscript",patterns:[{include:"#keywords"},{include:"#strings"},{include:"#comments"},{include:"#functions"}],repository:{keywords:{patterns:[{name:"keyword.control.flow.wandelscript",match:"\\b(move|via|to|interrupt|def|False|True|for|if|else|elif|while|return|switch|activate|deactivate|print)\\b"}]},strings:{name:"string.quoted.double.wandelscript",begin:'"',end:'"',patterns:[{name:"constant.character.escape.wandelscript",match:"\\\\."}]},comments:{patterns:[{begin:"#",beginCaptures:{0:{name:"punctuation.definition.comment.wandelscript"}},end:"$",name:"comment.line.number-sign.wandelscript"}]},functions:{patterns:[{match:"[a-zA-Z_-]+\\(",name:"entity.name.function.wandelscript"}]}},scopeName:"source.wandelscript"},X_=Y.lazy(()=>import("@monaco-editor/react")),Y_=on(e=>{const t=O.useTheme(),n=Y.useRef(null),[r,a]=Y.useState("dark-plus"),s=t.palette.mode==="dark"?"dark-plus":"light-plus";async function i(l){const[{createHighlighter:u},{shikiToMonaco:c}]=await Promise.all([import("shiki"),import("@shikijs/monaco")]);l.languages.register({id:"wandelscript"}),l.languages.setLanguageConfiguration("wandelscript",{comments:{lineComment:"#"},brackets:[["(",")"],["[","]"]],autoClosingPairs:[{open:"[",close:"]"},{open:"(",close:")"}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"}]}),n.current||(n.current=await u({langs:[q_],themes:["dark-plus","light-plus"]})),c(n.current,l),l.editor.defineTheme(s,{base:t.palette.mode==="dark"?"vs-dark":"vs",inherit:!0,rules:[],colors:t.palette.mode==="dark"?{"editor.background":"#262F42","editorLineNumber.foreground":"#797979","editorLineNumber.activeForeground":"#e9e9e9","editor.lineHighlightBorder":"#494949"}:{}}),e.monacoSetup&&e.monacoSetup(l),a(s)}return o.jsx(Y.Suspense,{fallback:o.jsx(fa,{}),children:o.jsx(X_,{value:e.code,onMount:(l,u)=>{i(u)},onChange:e.onChange,defaultLanguage:"wandelscript",theme:r,options:{minimap:{enabled:!1},wordWrap:"on",automaticLayout:!0,...e.monacoOptions}})})});function Lu(){var t,n,r,a,s,i;const e=O.createTheme({palette:{mode:"dark",text:{primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.38)"},primary:{main:"rgba(142, 86, 252, 1)",dark:"rgba(136, 58, 255, 1)",light:"rgba(157, 131, 246, 1)",contrastText:"rgba(255, 255, 255, 0.87)"},secondary:{main:"rgba(255, 255, 255, 1)",dark:"rgba(255, 255, 255, 0.06)",contrastText:"rgba(255, 255, 255, 0.87)"},tertiary:{main:"rgba(100, 255, 218, 1)",dark:"rgba(38, 166, 154, 1)",light:"rgba(167, 255, 235, 1)",contrastText:"rgba(0, 0, 0, 1)"},error:{main:"rgba(239, 83, 80, 1)",dark:"rgba(229, 57, 53, 1)",light:"rgba(239, 154, 154, 1)",contrastText:"rgba(255, 255, 255, 1)"},warning:{main:"rgba(255, 171, 64, 1)",dark:"rgba(255, 145, 0, 1)",light:"rgba(255, 209, 128, 1)",contrastText:"rgba(0, 0, 0, 0.87)"},success:{main:"rgba(38, 166, 154, 1)",dark:"rgba(0, 121, 107, 1)",light:"rgba(128, 203, 196, 1)",contrastText:"rgba(255, 255, 255, 0.87)"},background:{default:"rgba(2, 6, 23, 1)",paper:"rgba(17, 19, 31, 1)"},action:{active:"rgba(255, 255, 255, 0.56)",hover:"rgba(255, 255, 255, 0.08)",selected:"rgba(255, 255, 255, 0.16)",disabledBackground:"rgba(255, 255, 255, 0.12)",focus:"rgba(255, 255, 255, 0.12)",disabled:"rgba(255, 255, 255, 0.38)"},common:{white:"rgba(255, 255, 255, 1)",black:"rgba(0, 0, 0, 1)"},divider:"rgba(255, 255, 255, 0.12)",backgroundPaperElevation:{0:"rgba(17,19,31,1.0)",1:"rgba(20,22,35,1.0)",2:"rgba(23,25,39,1.0)",3:"rgba(26,28,43,1.0)",4:"rgba(29,31,47,1.0)",5:"rgba(32,34,51,1.0)",6:"rgba(35,37,55,1.0)",7:"rgba(38,40,59,1.0)",8:"rgba(41,43,63,1.0)",9:"rgba(44,46,67,1.0)",10:"rgba(47,49,71,1.0)",11:"rgba(50,52,75,1.0)",12:"rgba(53,55,79,1.0)",13:"rgba(56,58,83,1.0)",14:"rgba(59,61,87,1.0)",15:"rgba(62,64,91,1.0)",16:"rgba(57,63,87,1.0)"}},paletteExt:{primary:{hover:"rgba(142, 86, 252, 0.08)",selected:"rgba(142, 86, 252, 0.16)",focus:"rgba(142, 86, 252, 0.12)",focusVisible:"rgba(142, 86, 252, 0.3)",outlineBorder:"rgba(142, 86, 252, 0.5)"},secondary:{tonal:"rgba(255,255,255,0.1)"}}});return{...e,components:{MuiButton:{styleOverrides:{root:{textTransform:"none",borderRadius:"10px"}},variants:[{props:{color:"secondary",variant:"contained"},style:{border:`1px solid ${e.palette.divider}`,background:(r=(n=(t=e.paletteExt)==null?void 0:t.secondary)==null?void 0:n.tonal)==null?void 0:r.toString()}},{props:{color:"secondary",variant:"outlined"},style:{border:`1px solid ${e.palette.divider}`}}]},MuiDivider:{styleOverrides:{root:{border:"1px solid"}}},MuiTab:{styleOverrides:{root:{textTransform:"none",color:e.palette.text.secondary,"&.Mui-selected":{color:e.palette.text.primary}}}},MuiTabs:{styleOverrides:{root:{background:(a=e.palette.backgroundPaperElevation)==null?void 0:a[1]}}},MuiToggleButtonGroup:{styleOverrides:{root:{".MuiToggleButtonGroup-firstButton":{borderRadius:"10px 0 0 10px"},".MuiToggleButtonGroup-lastButton":{borderRadius:"0 10px 10px 0"}}}},MuiToggleButton:{styleOverrides:{root:{textTransform:"none",padding:"6px 16px"}}},MuiSelect:{variants:[{props:{variant:"filled"},style:{borderRadius:"10px","::before, ::after":{visibility:"collapse"},".MuiInputBase-input":{padding:"6px 16px",borderRadius:"10px"}}}]},MuiFab:{styleOverrides:{root:{background:(i=(s=e.paletteExt)==null?void 0:s.secondary)==null?void 0:i.tonal}},variants:[{props:{color:"primary"},style:{background:e.palette.primary.main}}]}},componentsExt:{JoggingCartesian:{Axis:{X:{backgroundColor:"rgba(215, 66, 56, 1)",borderColor:"rgba(215, 66, 56, 1)",buttonBackgroundColor:"rgba(241, 77, 66, 1)",color:"rgba(255, 255, 255, 1)"},Y:{backgroundColor:"rgba(20, 151, 108, 1)",borderColor:"rgba(20, 151, 108, 1)",buttonBackgroundColor:"rgba(28, 188, 135, 1)",color:"rgba(255, 255, 255, 1)"},Z:{backgroundColor:"rgba(1, 87, 155, 1)",borderColor:"rgba(1, 87, 155, 1)",buttonBackgroundColor:"rgba(2, 136, 209, 1)",color:"rgba(255, 255, 255, 1)"}}}}}}function Z_(){const e=Lu();return e.palette.mode="light",e}function Q_(e){var n,r,a,s;let t=!0;return((n=e.palette)==null?void 0:n.mode)==="light"?t=!1:((r=e.palette)==null?void 0:r.mode)!=="dark"&&(t=!(typeof window<"u"&&((s=(a=window.matchMedia)==null?void 0:a.call(window,"(prefers-color-scheme: light)"))==null?void 0:s.matches))),t?Lu():Z_()}exports.JoggingCartesianAxisControl=eo;exports.JoggingJointRotationControl=yl;exports.JoggingPanel=k_;exports.LoadingCover=fa;exports.LoadingErrorMessage=Vl;exports.NoMotionGroupModal=E_;exports.PresetEnvironment=Yu;exports.Robot=K_;exports.SafetyZonesRenderer=ec;exports.SelectableFab=H_;exports.SupportedRobot=Eu;exports.VelocitySlider=su;exports.WandelscriptEditor=Y_;exports.createNovaMuiTheme=Q_;exports.defaultAxisConfig=L_;exports.defaultGetModel=Vo;exports.useAnimationFrame=xr;exports.useAutorun=dl;exports.useMounted=ia;exports.useReaction=ko;
82
+ `):" "+Ws(s[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:oo};function Da(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new jr(null,e)}function Hs(e){return Da(e),e.headers=Fe.from(e.headers),e.data=Fa.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Dl.getAdapter(e.adapter||ln.adapter)(e).then(function(r){return Da(e),r.data=Fa.call(e,e.transformResponse,r),r.headers=Fe.from(r.headers),r},function(r){return Ol(r)||(Da(e),r&&r.response&&(r.response.data=Fa.call(e,e.transformResponse,r.response),r.response.headers=Fe.from(r.response.headers))),Promise.reject(r)})}const Bl="1.7.4",No={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{No[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Xs={};No.transitional=function(t,n,r){function a(s,i){return"[Axios v"+Bl+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,l)=>{if(t===!1)throw new J(a(i," has been removed"+(n?" in "+n:"")),J.ERR_DEPRECATED);return n&&!Xs[i]&&(Xs[i]=!0,console.warn(a(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,l):!0}};function Rg(e,t,n){if(typeof e!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const s=r[a],i=t[s];if(i){const l=e[s],u=l===void 0||i(l,s,e);if(u!==!0)throw new J("option "+s+" must be "+u,J.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new J("Unknown option "+s,J.ERR_BAD_OPTION)}}const so={assertOptions:Rg,validators:No},Ot=so.validators;let Gt=class{constructor(t){this.defaults=t,this.interceptors={request:new Bs,response:new Bs}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const s=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
83
+ `+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ht(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:s}=n;r!==void 0&&so.assertOptions(r,{silentJSONParsing:Ot.transitional(Ot.boolean),forcedJSONParsing:Ot.transitional(Ot.boolean),clarifyTimeoutError:Ot.transitional(Ot.boolean)},!1),a!=null&&(S.isFunction(a)?n.paramsSerializer={serialize:a}:so.assertOptions(a,{encode:Ot.function,serialize:Ot.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&S.merge(s.common,s[n.method]);s&&S.forEach(["delete","get","head","post","put","patch","common"],_=>{delete s[_]}),n.headers=Fe.concat(i,s);const l=[];let u=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(u=u&&y.synchronous,l.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let d,h=0,m;if(!u){const _=[Hs.bind(this),void 0];for(_.unshift.apply(_,l),_.push.apply(_,c),m=_.length,d=Promise.resolve(n);h<m;)d=d.then(_[h++],_[h++]);return d}m=l.length;let b=n;for(h=0;h<m;){const _=l[h++],y=l[h++];try{b=_(b)}catch(p){y.call(this,p);break}}try{d=Hs.call(this,b)}catch(_){return Promise.reject(_)}for(h=0,m=c.length;h<m;)d=d.then(c[h++],c[h++]);return d}getUri(t){t=Ht(this.defaults,t);const n=Ll(t.baseURL,t.url);return kl(n,t.params,t.paramsSerializer)}};S.forEach(["delete","get","head","options"],function(t){Gt.prototype[t]=function(n,r){return this.request(Ht(r||{},{method:t,url:n,data:(r||{}).data}))}});S.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,l){return this.request(Ht(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Gt.prototype[t]=n(),Gt.prototype[t+"Form"]=n(!0)});let Ag=class Ul{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(a=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](a);r._listeners=null}),this.promise.then=a=>{let s;const i=new Promise(l=>{r.subscribe(l),s=l}).then(a);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,l){r.reason||(r.reason=new jr(s,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ul(function(a){t=a}),cancel:t}}};function Pg(e){return function(n){return e.apply(null,n)}}function Cg(e){return S.isObject(e)&&e.isAxiosError===!0}const io={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(io).forEach(([e,t])=>{io[t]=e});function Jl(e){const t=new Gt(e),n=_l(Gt.prototype.request,t);return S.extend(n,Gt.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return Jl(Ht(e,a))},n}const Se=Jl(ln);Se.Axios=Gt;Se.CanceledError=jr;Se.CancelToken=Ag;Se.isCancel=Ol;Se.VERSION=Bl;Se.toFormData=ma;Se.AxiosError=J;Se.Cancel=Se.CanceledError;Se.all=function(t){return Promise.all(t)};Se.spread=Pg;Se.isAxiosError=Cg;Se.mergeConfig=Ht;Se.AxiosHeaders=Fe;Se.formToJSON=e=>Tl(S.isHTMLForm(e)?new FormData(e):e);Se.getAdapter=Dl.getAdapter;Se.HttpStatusCode=io;Se.default=Se;const{Axios:ov,AxiosError:qs,CanceledError:sv,isCancel:iv,CancelToken:lv,VERSION:uv,all:cv,Cancel:dv,isAxiosError:mv,spread:hv,toFormData:fv,AxiosHeaders:gv,HttpStatusCode:pv,formToJSON:yv,getAdapter:_v,mergeConfig:vv}=Se;function Mg(e){try{return JSON.stringify(e)}catch{return}}function kg(e){var t,n,r,a;return e instanceof qs&&e.code==="ERR_NETWORK"?"Failed to connect to the server. Please check your internet connection.":e instanceof qs&&e.response?`${(t=e.response)==null?void 0:t.status} ${(n=e.response)==null?void 0:n.statusText} from ${(r=e.response)==null?void 0:r.config.url}: ${JSON.stringify((a=e.response)==null?void 0:a.data)}`:e instanceof Error?e.message:`Unexpected error: ${Mg(e)||e}`}const fa=e=>{const t=e.softTimeout||3e3,[n,r]=Y.useState(!1);return Y.useEffect(()=>{const a=setTimeout(()=>{r(!0)},t);return()=>clearTimeout(a)}),o.jsx(T.Stack,{width:"100%",height:"100%",alignItems:"center",justifyContent:"center",children:e.error?o.jsx(Vl,{loadingMessage:e.message,error:e.error}):o.jsxs(o.Fragment,{children:[o.jsx(T.CircularProgress,{sx:{marginBottom:"24px"}}),!!e.message&&o.jsx("div",{children:e.message}),o.jsx(T.Stack,{sx:{visibility:n?"visible":"hidden",marginTop:"1rem",color:"gray"},children:"This is taking longer than expected..."})]})})},Vl=e=>{const t=kg(e.error),n=e.error instanceof Error?e.error.stack:null,r=T.useTheme();return o.jsxs(T.Stack,{sx:{maxHeight:"100%",maxWidth:"min(100%, 800px)",padding:2,overflow:"auto",color:r.palette.error.main,"& pre":{whiteSpace:"pre-wrap",wordBreak:"break-word",paddingBottom:"3rem"}},children:[(e.loadingMessage?`Error while ${Kn.lowerFirst(T.capitalize(e.loadingMessage))} - `:"")+t,o.jsx("br",{}),n&&o.jsx("pre",{children:n})]})},Ig=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:19,height:10,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0",clipRule:"evenodd"})),Tg=Y.forwardRef(Ig),Og=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:19,height:10,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0",clipRule:"evenodd"})),Eg=Y.forwardRef(Og),Lg=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:10,height:19,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M9.522 14.811A.899.899 0 1 0 8.25 13.54L6.19 15.601V3.16L8.25 5.221A.9.9 0 0 0 9.522 3.95L5.926.354a.9.9 0 0 0-1.272 0L1.058 3.95a.9.9 0 1 0 1.271 1.271L4.391 3.16v12.442L2.329 13.54a.899.899 0 1 0-1.271 1.271l3.596 3.597a.9.9 0 0 0 1.272 0z",clipRule:"evenodd"})),$g=Y.forwardRef(Lg),Ng=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:1.5,d:"M18.5 12a6 6 0 1 0-6 6"}),N.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m16.5 11 2 2.5 2-2.5"})),Fg=Y.forwardRef(Ng),Ys=e=>o.jsx(T.Stack,{position:"absolute",left:0,top:0,width:"100%",height:"100%",alignItems:"center",justifyContent:"center",sx:{backgroundColor:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(2px)",zIndex:100,...e.sx||{}},...Kn.omit(e,"sx")}),Gl=Te.observer(({store:e,children:t})=>{const{t:n}=qt.useTranslation(),r=T.useTheme();function a(){var s,i;if(e.activationState==="inactive"&&!e.activationError)return o.jsx(Ys,{sx:{borderRadius:"6px",backgroundColor:`color-mix(in srgb, ${(s=r.palette.backgroundPaperElevation)==null?void 0:s[5]}, transparent)`},children:o.jsx(T.Button,{color:"primary",variant:"contained",onClick:()=>e.activate({manual:!0}),disabled:e.isLocked,children:n("Jogging.Activate.bt")})});if(e.activationState==="loading"||e.activationError)return o.jsx(Ys,{sx:{backgroundColor:`color-mix(in srgb, ${(i=r.palette.backgroundPaperElevation)==null?void 0:i[5]}, transparent)`},children:o.jsx(fa,{message:n("Jogging.Activating.lb"),error:e.activationError})})}return o.jsxs(T.Stack,{sx:{position:"relative",padding:"6px"},children:[a(),t]})}),zl=Y.forwardRef(({label:e,value:t},n)=>o.jsxs(o.Fragment,{children:[e&&o.jsx(T.InputLabel,{children:e}),o.jsx(T.Chip,{ref:n,sx:{fontSize:"14px",opacity:.8,marginTop:"4px !important"},value:t})]})),Dg=Te.observer(({store:e})=>{const t=Y.useRef(null);function n(){const r=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose;return r?Lt.poseToWandelscriptString(r):""}return xr(()=>{t.current&&(t.current.textContent=n())}),o.jsx(T.Stack,{alignItems:"left",spacing:2,sx:{padding:"8px 16px",paddingTop:"16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:o.jsx(zl,{label:"Pose",value:n(),ref:t})})});function Bg(){this.__data__=[],this.size=0}function Kl(e,t){return e===t||e!==e&&t!==t}function ga(e,t){for(var n=e.length;n--;)if(Kl(e[n][0],t))return n;return-1}var Ug=Array.prototype,Jg=Ug.splice;function Vg(e){var t=this.__data__,n=ga(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Jg.call(t,n,1),--this.size,!0}function Gg(e){var t=this.__data__,n=ga(t,e);return n<0?void 0:t[n][1]}function zg(e){return ga(this.__data__,e)>-1}function Kg(e,t){var n=this.__data__,r=ga(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function At(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}At.prototype.clear=Bg;At.prototype.delete=Vg;At.prototype.get=Gg;At.prototype.has=zg;At.prototype.set=Kg;function Wg(){this.__data__=new At,this.size=0}function Hg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Xg(e){return this.__data__.get(e)}function qg(e){return this.__data__.has(e)}var Yg="[object AsyncFunction]",Zg="[object Function]",Qg="[object GeneratorFunction]",ep="[object Proxy]";function Wl(e){if(!Kt(e))return!1;var t=Yt(e);return t==Zg||t==Qg||t==Yg||t==ep}var Ba=yt["__core-js_shared__"],Zs=function(){var e=/[^.]+$/.exec(Ba&&Ba.keys&&Ba.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function tp(e){return!!Zs&&Zs in e}var rp=Function.prototype,np=rp.toString;function Zt(e){if(e!=null){try{return np.call(e)}catch{}try{return e+""}catch{}}return""}var ap=/[\\^$.*+?()[\]{}|]/g,op=/^\[object .+?Constructor\]$/,sp=Function.prototype,ip=Object.prototype,lp=sp.toString,up=ip.hasOwnProperty,cp=RegExp("^"+lp.call(up).replace(ap,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function dp(e){if(!Kt(e)||tp(e))return!1;var t=Wl(e)?cp:op;return t.test(Zt(e))}function mp(e,t){return e==null?void 0:e[t]}function Qt(e,t){var n=mp(e,t);return dp(n)?n:void 0}var qr=Qt(yt,"Map"),Yr=Qt(Object,"create");function hp(){this.__data__=Yr?Yr(null):{},this.size=0}function fp(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var gp="__lodash_hash_undefined__",pp=Object.prototype,yp=pp.hasOwnProperty;function _p(e){var t=this.__data__;if(Yr){var n=t[e];return n===gp?void 0:n}return yp.call(t,e)?t[e]:void 0}var vp=Object.prototype,bp=vp.hasOwnProperty;function Sp(e){var t=this.__data__;return Yr?t[e]!==void 0:bp.call(t,e)}var xp="__lodash_hash_undefined__";function wp(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Yr&&t===void 0?xp:t,this}function Xt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xt.prototype.clear=hp;Xt.prototype.delete=fp;Xt.prototype.get=_p;Xt.prototype.has=Sp;Xt.prototype.set=wp;function jp(){this.size=0,this.__data__={hash:new Xt,map:new(qr||At),string:new Xt}}function Rp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function pa(e,t){var n=e.__data__;return Rp(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Ap(e){var t=pa(this,e).delete(e);return this.size-=t?1:0,t}function Pp(e){return pa(this,e).get(e)}function Cp(e){return pa(this,e).has(e)}function Mp(e,t){var n=pa(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Pt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Pt.prototype.clear=jp;Pt.prototype.delete=Ap;Pt.prototype.get=Pp;Pt.prototype.has=Cp;Pt.prototype.set=Mp;var kp=200;function Ip(e,t){var n=this.__data__;if(n instanceof At){var r=n.__data__;if(!qr||r.length<kp-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Pt(r)}return n.set(e,t),this.size=n.size,this}function wt(e){var t=this.__data__=new At(e);this.size=t.size}wt.prototype.clear=Wg;wt.prototype.delete=Hg;wt.prototype.get=Xg;wt.prototype.has=qg;wt.prototype.set=Ip;var Tp="__lodash_hash_undefined__";function Op(e){return this.__data__.set(e,Tp),this}function Ep(e){return this.__data__.has(e)}function Gn(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Pt;++t<n;)this.add(e[t])}Gn.prototype.add=Gn.prototype.push=Op;Gn.prototype.has=Ep;function Lp(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function $p(e,t){return e.has(t)}var Np=1,Fp=2;function Hl(e,t,n,r,a,s){var i=n&Np,l=e.length,u=t.length;if(l!=u&&!(i&&u>l))return!1;var c=s.get(e),d=s.get(t);if(c&&d)return c==t&&d==e;var h=-1,m=!0,b=n&Fp?new Gn:void 0;for(s.set(e,t),s.set(t,e);++h<l;){var _=e[h],y=t[h];if(r)var p=i?r(y,_,h,t,e,s):r(_,y,h,e,t,s);if(p!==void 0){if(p)continue;m=!1;break}if(b){if(!Lp(t,function(x,j){if(!$p(b,j)&&(_===x||a(_,x,n,r,s)))return b.push(j)})){m=!1;break}}else if(!(_===y||a(_,y,n,r,s))){m=!1;break}}return s.delete(e),s.delete(t),m}var Qs=yt.Uint8Array;function Dp(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function Bp(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Up=1,Jp=2,Vp="[object Boolean]",Gp="[object Date]",zp="[object Error]",Kp="[object Map]",Wp="[object Number]",Hp="[object RegExp]",Xp="[object Set]",qp="[object String]",Yp="[object Symbol]",Zp="[object ArrayBuffer]",Qp="[object DataView]",ei=$t?$t.prototype:void 0,Ua=ei?ei.valueOf:void 0;function ey(e,t,n,r,a,s,i){switch(n){case Qp:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Zp:return!(e.byteLength!=t.byteLength||!s(new Qs(e),new Qs(t)));case Vp:case Gp:case Wp:return Kl(+e,+t);case zp:return e.name==t.name&&e.message==t.message;case Hp:case qp:return e==t+"";case Kp:var l=Dp;case Xp:var u=r&Up;if(l||(l=Bp),e.size!=t.size&&!u)return!1;var c=i.get(e);if(c)return c==t;r|=Jp,i.set(e,t);var d=Hl(l(e),l(t),r,a,s,i);return i.delete(e),d;case Yp:if(Ua)return Ua.call(e)==Ua.call(t)}return!1}function ty(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}var pt=Array.isArray;function ry(e,t,n){var r=t(e);return pt(e)?r:ty(r,n(e))}function ny(e,t){for(var n=-1,r=e==null?0:e.length,a=0,s=[];++n<r;){var i=e[n];t(i,n,e)&&(s[a++]=i)}return s}function ay(){return[]}var oy=Object.prototype,sy=oy.propertyIsEnumerable,ti=Object.getOwnPropertySymbols,iy=ti?function(e){return e==null?[]:(e=Object(e),ny(ti(e),function(t){return sy.call(e,t)}))}:ay;function ly(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var uy="[object Arguments]";function ri(e){return Wt(e)&&Yt(e)==uy}var Xl=Object.prototype,cy=Xl.hasOwnProperty,dy=Xl.propertyIsEnumerable,ql=ri(function(){return arguments}())?ri:function(e){return Wt(e)&&cy.call(e,"callee")&&!dy.call(e,"callee")};function my(){return!1}var Yl=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ni=Yl&&typeof module=="object"&&module&&!module.nodeType&&module,hy=ni&&ni.exports===Yl,ai=hy?yt.Buffer:void 0,fy=ai?ai.isBuffer:void 0,lo=fy||my,gy=9007199254740991,py=/^(?:0|[1-9]\d*)$/;function Zl(e,t){var n=typeof e;return t=t??gy,!!t&&(n=="number"||n!="symbol"&&py.test(e))&&e>-1&&e%1==0&&e<t}var yy=9007199254740991;function Fo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=yy}var _y="[object Arguments]",vy="[object Array]",by="[object Boolean]",Sy="[object Date]",xy="[object Error]",wy="[object Function]",jy="[object Map]",Ry="[object Number]",Ay="[object Object]",Py="[object RegExp]",Cy="[object Set]",My="[object String]",ky="[object WeakMap]",Iy="[object ArrayBuffer]",Ty="[object DataView]",Oy="[object Float32Array]",Ey="[object Float64Array]",Ly="[object Int8Array]",$y="[object Int16Array]",Ny="[object Int32Array]",Fy="[object Uint8Array]",Dy="[object Uint8ClampedArray]",By="[object Uint16Array]",Uy="[object Uint32Array]",de={};de[Oy]=de[Ey]=de[Ly]=de[$y]=de[Ny]=de[Fy]=de[Dy]=de[By]=de[Uy]=!0;de[_y]=de[vy]=de[Iy]=de[by]=de[Ty]=de[Sy]=de[xy]=de[wy]=de[jy]=de[Ry]=de[Ay]=de[Py]=de[Cy]=de[My]=de[ky]=!1;function Jy(e){return Wt(e)&&Fo(e.length)&&!!de[Yt(e)]}function Vy(e){return function(t){return e(t)}}var Ql=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vr=Ql&&typeof module=="object"&&module&&!module.nodeType&&module,Gy=Vr&&Vr.exports===Ql,Ja=Gy&&gl.process,oi=function(){try{var e=Vr&&Vr.require&&Vr.require("util").types;return e||Ja&&Ja.binding&&Ja.binding("util")}catch{}}(),si=oi&&oi.isTypedArray,eu=si?Vy(si):Jy,zy=Object.prototype,Ky=zy.hasOwnProperty;function Wy(e,t){var n=pt(e),r=!n&&ql(e),a=!n&&!r&&lo(e),s=!n&&!r&&!a&&eu(e),i=n||r||a||s,l=i?ly(e.length,String):[],u=l.length;for(var c in e)Ky.call(e,c)&&!(i&&(c=="length"||a&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Zl(c,u)))&&l.push(c);return l}var Hy=Object.prototype;function Xy(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Hy;return e===n}function qy(e,t){return function(n){return e(t(n))}}var Yy=qy(Object.keys,Object),Zy=Object.prototype,Qy=Zy.hasOwnProperty;function e_(e){if(!Xy(e))return Yy(e);var t=[];for(var n in Object(e))Qy.call(e,n)&&n!="constructor"&&t.push(n);return t}function tu(e){return e!=null&&Fo(e.length)&&!Wl(e)}function Do(e){return tu(e)?Wy(e):e_(e)}function ii(e){return ry(e,Do,iy)}var t_=1,r_=Object.prototype,n_=r_.hasOwnProperty;function a_(e,t,n,r,a,s){var i=n&t_,l=ii(e),u=l.length,c=ii(t),d=c.length;if(u!=d&&!i)return!1;for(var h=u;h--;){var m=l[h];if(!(i?m in t:n_.call(t,m)))return!1}var b=s.get(e),_=s.get(t);if(b&&_)return b==t&&_==e;var y=!0;s.set(e,t),s.set(t,e);for(var p=i;++h<u;){m=l[h];var x=e[m],j=t[m];if(r)var C=i?r(j,x,m,t,e,s):r(x,j,m,e,t,s);if(!(C===void 0?x===j||a(x,j,n,r,s):C)){y=!1;break}p||(p=m=="constructor")}if(y&&!p){var A=e.constructor,w=t.constructor;A!=w&&"constructor"in e&&"constructor"in t&&!(typeof A=="function"&&A instanceof A&&typeof w=="function"&&w instanceof w)&&(y=!1)}return s.delete(e),s.delete(t),y}var uo=Qt(yt,"DataView"),co=Qt(yt,"Promise"),mo=Qt(yt,"Set"),ho=Qt(yt,"WeakMap"),li="[object Map]",o_="[object Object]",ui="[object Promise]",ci="[object Set]",di="[object WeakMap]",mi="[object DataView]",s_=Zt(uo),i_=Zt(qr),l_=Zt(co),u_=Zt(mo),c_=Zt(ho),Et=Yt;(uo&&Et(new uo(new ArrayBuffer(1)))!=mi||qr&&Et(new qr)!=li||co&&Et(co.resolve())!=ui||mo&&Et(new mo)!=ci||ho&&Et(new ho)!=di)&&(Et=function(e){var t=Yt(e),n=t==o_?e.constructor:void 0,r=n?Zt(n):"";if(r)switch(r){case s_:return mi;case i_:return li;case l_:return ui;case u_:return ci;case c_:return di}return t});var d_=1,hi="[object Arguments]",fi="[object Array]",pn="[object Object]",m_=Object.prototype,gi=m_.hasOwnProperty;function h_(e,t,n,r,a,s){var i=pt(e),l=pt(t),u=i?fi:Et(e),c=l?fi:Et(t);u=u==hi?pn:u,c=c==hi?pn:c;var d=u==pn,h=c==pn,m=u==c;if(m&&lo(e)){if(!lo(t))return!1;i=!0,d=!1}if(m&&!d)return s||(s=new wt),i||eu(e)?Hl(e,t,n,r,a,s):ey(e,t,u,n,r,a,s);if(!(n&d_)){var b=d&&gi.call(e,"__wrapped__"),_=h&&gi.call(t,"__wrapped__");if(b||_){var y=b?e.value():e,p=_?t.value():t;return s||(s=new wt),a(y,p,n,r,s)}}return m?(s||(s=new wt),a_(e,t,n,r,a,s)):!1}function ya(e,t,n,r,a){return e===t?!0:e==null||t==null||!Wt(e)&&!Wt(t)?e!==e&&t!==t:h_(e,t,n,r,ya,a)}function f_(e,t){return ya(e,t)}const ru=({store:e})=>{const{t}=qt.useTranslation(),[n,r]=Y.useState(e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached),a=Y.useRef(n);xr(()=>{const i=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached;f_(a.current,i)||(a.current=i,r(i))});const s=[];for(const[i,l]of n.entries())l&&s.push(i);return o.jsx(T.Typography,{color:"error",sx:{margin:"0.5rem 1rem",textAlign:"center",visibility:s.length?"visible":"hidden"},children:t("Jogging.JointLimitsReached.lb",{jointNumbers:s.map(i=>i+1).join(", ")})})},g_=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:21,height:21,fill:"none",viewBox:"0 0 23 22",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"currentColor",d:"m21.71 16.262-1.09.346.66 2.071-2.923-1.461V9.857l-6.285-3.143V2.893L13.38 4.21l.812-.806-2.674-2.69-2.706 2.687.805.812L10.93 2.91v3.803L4.643 9.857v7.36l-2.914 1.458.657-2.067-1.09-.346-1.225 3.88 3.826 1.144.346-1.09-1.836-.583 2.874-1.436 6.22 3.109 6.217-3.11 2.877 1.439-1.831.581.345 1.09 3.82-1.143zM11.5 12.646l-4.94-2.47 4.94-2.47 4.94 2.47zm.572.993 5.143-2.572v6.083l-5.143 2.572zm-6.286-2.572 5.143 2.572v6.083L5.786 17.15z"})),p_=Y.forwardRef(g_),y_=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:17,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"currentColor",d:"M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467"})),__=Y.forwardRef(y_),v_=Te.observer(({store:e})=>{var r;const{t}=qt.useTranslation();function n(a,s){(s==="coordsys"||s==="tool")&&e.setSelectedOrientation(s)}return o.jsxs(o.Fragment,{children:[o.jsxs(T.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(T.Stack,{width:"50%",children:[o.jsx(T.InputLabel,{id:"jogging-coord-select",children:"Coordinate Sys."}),o.jsx(T.Select,{labelId:"jogging-coord-select",value:e.selectedCoordSystemId,size:"small",variant:"filled",displayEmpty:!0,onChange:a=>{e.setSelectedCoordSystemId(a.target.value)},disabled:e.isLocked,children:e.coordSystems.map(a=>o.jsx(T.MenuItem,{value:a.coordinate_system,children:a.name&&e.coordSystemCountByName[a.name]>1?`${a.name} / ${a.coordinate_system}`:a.name||a.coordinate_system},a.coordinate_system))})]}),o.jsxs(T.Stack,{width:"50%",children:[o.jsx(T.InputLabel,{id:"jogging-tcp-select",children:"TCP"}),o.jsx(T.Select,{labelId:"jogging-tcp-select",value:e.selectedTcpId,size:"small",variant:"filled",onChange:a=>{e.setSelectedTcpId(a.target.value)},disabled:e.isLocked,children:e.tcps.map(a=>o.jsx(T.MenuItem,{value:a.id,children:a.id},a.id))})]})]}),o.jsxs(T.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(T.Stack,{width:"50%",children:[o.jsx(T.InputLabel,{id:"orientation-select",children:t("Jogging.Cartesian.Orientation.lb")}),o.jsxs(T.ToggleButtonGroup,{value:e.selectedOrientation,onChange:n,exclusive:!0,"aria-labelledby":"orientation-select",disabled:e.isLocked,children:[o.jsx(T.ToggleButton,{value:"coordsys",sx:{flexGrow:1},children:o.jsx(p_,{})}),o.jsx(T.ToggleButton,{value:"tool",sx:{flexGrow:1},children:o.jsx(__,{})})]})]}),o.jsxs(T.Stack,{width:"50%",children:[o.jsx(T.InputLabel,{id:"jogging-increment-select",children:"Increment"}),o.jsxs(T.Select,{labelId:"jogging-increment-select",size:"small",variant:"filled",value:((r=e.activeDiscreteIncrement)==null?void 0:r.id)||"continuous",onChange:a=>{e.setSelectedIncrementId(a.target.value)},disabled:e.isLocked,children:[o.jsx(T.MenuItem,{value:"continuous",children:t("Jogging.Increment.Continuous.dd")},"continuous"),e.selectedOrientation==="tool"?null:e.discreteIncrementOptions.map(a=>o.jsx(T.MenuItem,{value:a.id,children:e.currentMotionType==="translate"?`${a.mm}mm`:`${a.degrees}°`},a.id))]})]})]})]})});function b_(e,t,n=(r,a)=>r===a){return e.length===t.length&&e.every((r,a)=>n(r,t[a]))}const S_=2;function nu(e,t){return e-t}function pi(e,t){var n;const{index:r}=(n=e.reduce((a,s,i)=>{const l=Math.abs(t-s);return a===null||l<a.distance||l===a.distance?{distance:l,index:i}:a},null))!=null?n:{};return r}function yn(e,t){if(t.current!==void 0&&e.changedTouches){const n=e;for(let r=0;r<n.changedTouches.length;r+=1){const a=n.changedTouches[r];if(a.identifier===t.current)return{x:a.clientX,y:a.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function zn(e,t,n){return(e-t)*100/(n-t)}function x_(e,t,n){return(n-t)*e+t}function w_(e){if(Math.abs(e)<1){const n=e.toExponential().split("e-"),r=n[0].split(".")[1];return(r?r.length:0)+parseInt(n[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function j_(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(w_(t)))}function yi({values:e,newValue:t,index:n}){const r=e.slice();return r[n]=t,r.sort(nu)}function _n({sliderRef:e,activeIndex:t,setActive:n}){var r,a;const s=pr(e.current);if(!((r=e.current)!=null&&r.contains(s.activeElement))||Number(s==null||(a=s.activeElement)==null?void 0:a.getAttribute("data-index"))!==t){var i;(i=e.current)==null||i.querySelector(`[type="range"][data-index="${t}"]`).focus()}n&&n(t)}function vn(e,t){return typeof e=="number"&&typeof t=="number"?e===t:typeof e=="object"&&typeof t=="object"?b_(e,t):!1}const R_={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},A_=e=>e;let bn;function _i(){return bn===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?bn=CSS.supports("touch-action","none"):bn=!0),bn}function P_(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:a=!1,isRtl:s=!1,marks:i=!1,max:l=100,min:u=0,name:c,onChange:d,onChangeCommitted:h,orientation:m="horizontal",rootRef:b,scale:_=A_,step:y=1,shiftStep:p=10,tabIndex:x,value:j}=e,C=N.useRef(),[A,w]=N.useState(-1),[P,M]=N.useState(-1),[z,le]=N.useState(!1),ce=N.useRef(0),[D,q]=Zi({controlled:j,default:n??u,name:"Slider"}),G=d&&((I,L,F)=>{const K=I.nativeEvent||I,Q=new K.constructor(K.type,K);Object.defineProperty(Q,"target",{writable:!0,value:{value:L,name:c}}),d(Q,L,F)}),Z=Array.isArray(D);let X=Z?D.slice().sort(nu):[D];X=X.map(I=>I==null?u:mr(I,u,l));const xe=i===!0&&y!==null?[...Array(Math.floor((l-u)/y)+1)].map((I,L)=>({value:u+y*L})):i||[],ue=xe.map(I=>I.value),{isFocusVisibleRef:ee,onBlur:Re,onFocus:Oe,ref:nt}=Qi(),[_t,We]=N.useState(-1),we=N.useRef(),Ct=Ln(nt,we),lt=Ln(b,Ct),He=I=>L=>{var F;const K=Number(L.currentTarget.getAttribute("data-index"));Oe(L),ee.current===!0&&We(K),M(K),I==null||(F=I.onFocus)==null||F.call(I,L)},Ue=I=>L=>{var F;Re(L),ee.current===!1&&We(-1),M(-1),I==null||(F=I.onBlur)==null||F.call(I,L)},ut=(I,L)=>{const F=Number(I.currentTarget.getAttribute("data-index")),K=X[F],Q=ue.indexOf(K);let W=L;if(xe&&y==null){const Ve=ue[ue.length-1];W>Ve?W=Ve:W<ue[0]?W=ue[0]:W=W<K?ue[Q-1]:ue[Q+1]}if(W=mr(W,u,l),Z){a&&(W=mr(W,X[F-1]||-1/0,X[F+1]||1/0));const Ve=W;W=yi({values:X,newValue:W,index:F});let Xe=F;a||(Xe=W.indexOf(Ve)),_n({sliderRef:we,activeIndex:Xe})}q(W),We(F),G&&!vn(W,D)&&G(I,W,F),h&&h(I,W)},ct=I=>L=>{var F;if(y!==null){const K=Number(L.currentTarget.getAttribute("data-index")),Q=X[K];let W=null;(L.key==="ArrowLeft"||L.key==="ArrowDown")&&L.shiftKey||L.key==="PageDown"?W=Math.max(Q-p,u):((L.key==="ArrowRight"||L.key==="ArrowUp")&&L.shiftKey||L.key==="PageUp")&&(W=Math.min(Q+p,l)),W!==null&&(ut(L,W),L.preventDefault())}I==null||(F=I.onKeyDown)==null||F.call(I,L)};wo(()=>{if(r&&we.current.contains(document.activeElement)){var I;(I=document.activeElement)==null||I.blur()}},[r]),r&&A!==-1&&w(-1),r&&_t!==-1&&We(-1);const Ft=I=>L=>{var F;(F=I.onChange)==null||F.call(I,L),ut(L,L.target.valueAsNumber)},vt=N.useRef();let Je=m;s&&m==="horizontal"&&(Je+="-reverse");const O=({finger:I,move:L=!1})=>{const{current:F}=we,{width:K,height:Q,bottom:W,left:Ve}=F.getBoundingClientRect();let Xe;Je.indexOf("vertical")===0?Xe=(W-I.y)/Q:Xe=(I.x-Ve)/K,Je.indexOf("-reverse")!==-1&&(Xe=1-Xe);let re;if(re=x_(Xe,u,l),y)re=j_(re,y,u);else{const It=pi(ue,re);re=ue[It]}re=mr(re,u,l);let $e=0;if(Z){L?$e=vt.current:$e=pi(X,re),a&&(re=mr(re,X[$e-1]||-1/0,X[$e+1]||1/0));const It=re;re=yi({values:X,newValue:re,index:$e}),a&&L||($e=re.indexOf(It),vt.current=$e)}return{newValue:re,activeIndex:$e}},te=An(I=>{const L=yn(I,C);if(!L)return;if(ce.current+=1,I.type==="mousemove"&&I.buttons===0){he(I);return}const{newValue:F,activeIndex:K}=O({finger:L,move:!0});_n({sliderRef:we,activeIndex:K,setActive:w}),q(F),!z&&ce.current>S_&&le(!0),G&&!vn(F,D)&&G(I,F,K)}),he=An(I=>{const L=yn(I,C);if(le(!1),!L)return;const{newValue:F}=O({finger:L,move:!0});w(-1),I.type==="touchend"&&M(-1),h&&h(I,F),C.current=void 0,Le()}),Ee=An(I=>{if(r)return;_i()||I.preventDefault();const L=I.changedTouches[0];L!=null&&(C.current=L.identifier);const F=yn(I,C);if(F!==!1){const{newValue:Q,activeIndex:W}=O({finger:F});_n({sliderRef:we,activeIndex:W,setActive:w}),q(Q),G&&!vn(Q,D)&&G(I,Q,W)}ce.current=0;const K=pr(we.current);K.addEventListener("touchmove",te,{passive:!0}),K.addEventListener("touchend",he,{passive:!0})}),Le=N.useCallback(()=>{const I=pr(we.current);I.removeEventListener("mousemove",te),I.removeEventListener("mouseup",he),I.removeEventListener("touchmove",te),I.removeEventListener("touchend",he)},[he,te]);N.useEffect(()=>{const{current:I}=we;return I.addEventListener("touchstart",Ee,{passive:_i()}),()=>{I.removeEventListener("touchstart",Ee),Le()}},[Le,Ee]),N.useEffect(()=>{r&&Le()},[r,Le]);const Mt=I=>L=>{var F;if((F=I.onMouseDown)==null||F.call(I,L),r||L.defaultPrevented||L.button!==0)return;L.preventDefault();const K=yn(L,C);if(K!==!1){const{newValue:W,activeIndex:Ve}=O({finger:K});_n({sliderRef:we,activeIndex:Ve,setActive:w}),q(W),G&&!vn(W,D)&&G(L,W,Ve)}ce.current=0;const Q=pr(we.current);Q.addEventListener("mousemove",te,{passive:!0}),Q.addEventListener("mouseup",he)},je=zn(Z?X[0]:u,u,l),kt=zn(X[X.length-1],u,l)-je,Dt=(I={})=>{const L=Pn(I),F={onMouseDown:Mt(L||{})},K=k({},L,F);return k({},I,{ref:lt},K)},Rr=I=>L=>{var F;(F=I.onMouseOver)==null||F.call(I,L);const K=Number(L.currentTarget.getAttribute("data-index"));M(K)},Ar=I=>L=>{var F;(F=I.onMouseLeave)==null||F.call(I,L),M(-1)};return{active:A,axis:Je,axisProps:R_,dragging:z,focusedThumbIndex:_t,getHiddenInputProps:(I={})=>{var L;const F=Pn(I),K={onChange:Ft(F||{}),onFocus:He(F||{}),onBlur:Ue(F||{}),onKeyDown:ct(F||{})},Q=k({},F,K);return k({tabIndex:x,"aria-labelledby":t,"aria-orientation":m,"aria-valuemax":_(l),"aria-valuemin":_(u),name:c,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(L=e.step)!=null?L:void 0,disabled:r},I,Q,{style:k({},ym,{direction:s?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Dt,getThumbProps:(I={})=>{const L=Pn(I),F={onMouseOver:Rr(L||{}),onMouseLeave:Ar(L||{})};return k({},I,L,F)},marks:xe,open:P,range:Z,rootRef:lt,trackLeap:kt,trackOffset:je,values:X,getThumbStyle:I=>({pointerEvents:A!==-1&&A!==I?"none":void 0})}}const C_=e=>!e||!Ur(e);function M_(e){return nn("MuiSlider",e)}const Qe=Wi("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),k_=e=>{const{open:t}=e;return{offset:gt(t&&Qe.valueLabelOpen),circle:Qe.valueLabelCircle,label:Qe.valueLabelLabel}};function au(e){const{children:t,className:n,value:r}=e,a=k_(e);return t?N.cloneElement(t,{className:gt(t.props.className)},o.jsxs(N.Fragment,{children:[t.props.children,o.jsx("span",{className:gt(a.offset,n),"aria-hidden":!0,children:o.jsx("span",{className:a.circle,children:o.jsx("span",{className:a.label,children:r})})})]})):null}process.env.NODE_ENV!=="production"&&(au.propTypes={children:f.element.isRequired,className:f.string,value:f.node});const I_=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function vi(e){return e}const T_=Rt("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Pe(n.color)}`],n.size!=="medium"&&t[`size${Pe(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${Qe.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Qe.dragging}`]:{[`& .${Qe.thumb}, & .${Qe.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),O_=Rt("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),E_=Rt("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n,track:"inverted"},style:k({},e.vars?{backgroundColor:e.vars.palette.Slider[`${n}Track`],borderColor:e.vars.palette.Slider[`${n}Track`]}:k({backgroundColor:Za(e.palette[n].main,.62),borderColor:Za(e.palette[n].main,.62)},e.applyStyles("dark",{backgroundColor:Ya(e.palette[n].main,.5)}),e.applyStyles("dark",{borderColor:Ya(e.palette[n].main,.5)})))}))]}}),L_=Rt("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Pe(n.color)}`],n.size!=="medium"&&t[`thumbSize${Pe(n.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${Qe.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n},style:{[`&:hover, &.${Qe.focusVisible}`]:k({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${hs(e.palette[n].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${Qe.active}`]:k({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${hs(e.palette[n].main,.16)}`})}}))]}}),$_=Rt(au,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>k({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${Qe.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${Qe.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),N_=Rt("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Mo(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),F_=Rt("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Mo(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>k({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),D_=e=>{const{disabled:t,dragging:n,marked:r,orientation:a,track:s,classes:i,color:l,size:u}=e,c={root:["root",t&&"disabled",n&&"dragging",r&&"marked",a==="vertical"&&"vertical",s==="inverted"&&"trackInverted",s===!1&&"trackFalse",l&&`color${Pe(l)}`,u&&`size${Pe(u)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",u&&`thumbSize${Pe(u)}`,l&&`thumbColor${Pe(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Ro(c,M_,i)},B_=({children:e})=>e,ou=N.forwardRef(function(t,n){var r,a,s,i,l,u,c,d,h,m,b,_,y,p,x,j,C,A,w,P,M,z,le,ce;const D=ko({props:t,name:"MuiSlider"}),q=wm(),{"aria-label":G,"aria-valuetext":Z,"aria-labelledby":X,component:xe="span",components:ue={},componentsProps:ee={},color:Re="primary",classes:Oe,className:nt,disableSwap:_t=!1,disabled:We=!1,getAriaLabel:we,getAriaValueText:Ct,marks:lt=!1,max:He=100,min:Ue=0,orientation:ut="horizontal",shiftStep:ct=10,size:Ft="medium",step:vt=1,scale:Je=vi,slotProps:O,slots:te,track:he="normal",valueLabelDisplay:Ee="off",valueLabelFormat:Le=vi}=D,Mt=Be(D,I_),je=k({},D,{isRtl:q,max:He,min:Ue,classes:Oe,disabled:We,disableSwap:_t,orientation:ut,marks:lt,color:Re,size:Ft,step:vt,shiftStep:ct,scale:Je,track:he,valueLabelDisplay:Ee,valueLabelFormat:Le}),{axisProps:kt,getRootProps:Dt,getHiddenInputProps:Rr,getThumbProps:Ar,open:Pr,active:er,axis:at,focusedThumbIndex:I,range:L,dragging:F,marks:K,values:Q,trackOffset:W,trackLeap:Ve,getThumbStyle:Xe}=P_(k({},je,{rootRef:n}));je.marked=K.length>0&&K.some($=>$.label),je.dragging=F,je.focusedThumbIndex=I;const re=D_(je),$e=(r=(a=te==null?void 0:te.root)!=null?a:ue.Root)!=null?r:T_,It=(s=(i=te==null?void 0:te.rail)!=null?i:ue.Rail)!=null?s:O_,tr=(l=(u=te==null?void 0:te.track)!=null?u:ue.Track)!=null?l:E_,Cr=(c=(d=te==null?void 0:te.thumb)!=null?d:ue.Thumb)!=null?c:L_,bt=(h=(m=te==null?void 0:te.valueLabel)!=null?m:ue.ValueLabel)!=null?h:$_,Bt=(b=(_=te==null?void 0:te.mark)!=null?_:ue.Mark)!=null?b:N_,Ut=(y=(p=te==null?void 0:te.markLabel)!=null?p:ue.MarkLabel)!=null?y:F_,Mr=(x=(j=te==null?void 0:te.input)!=null?j:ue.Input)!=null?x:"input",kr=(C=O==null?void 0:O.root)!=null?C:ee.root,un=(A=O==null?void 0:O.rail)!=null?A:ee.rail,Ir=(w=O==null?void 0:O.track)!=null?w:ee.track,rr=(P=O==null?void 0:O.thumb)!=null?P:ee.thumb,nr=(M=O==null?void 0:O.valueLabel)!=null?M:ee.valueLabel,va=(z=O==null?void 0:O.mark)!=null?z:ee.mark,ba=(le=O==null?void 0:O.markLabel)!=null?le:ee.markLabel,cn=(ce=O==null?void 0:O.input)!=null?ce:ee.input,dn=Tt({elementType:$e,getSlotProps:Dt,externalSlotProps:kr,externalForwardedProps:Mt,additionalProps:k({},C_($e)&&{as:xe}),ownerState:k({},je,kr==null?void 0:kr.ownerState),className:[re.root,nt]}),Sa=Tt({elementType:It,externalSlotProps:un,ownerState:je,className:re.rail}),xa=Tt({elementType:tr,externalSlotProps:Ir,additionalProps:{style:k({},kt[at].offset(W),kt[at].leap(Ve))},ownerState:k({},je,Ir==null?void 0:Ir.ownerState),className:re.track}),Tr=Tt({elementType:Cr,getSlotProps:Ar,externalSlotProps:rr,ownerState:k({},je,rr==null?void 0:rr.ownerState),className:re.thumb}),wa=Tt({elementType:bt,externalSlotProps:nr,ownerState:k({},je,nr==null?void 0:nr.ownerState),className:re.valueLabel}),g=Tt({elementType:Bt,externalSlotProps:va,ownerState:je,className:re.mark}),R=Tt({elementType:Ut,externalSlotProps:ba,ownerState:je,className:re.markLabel}),E=Tt({elementType:Mr,getSlotProps:Rr,externalSlotProps:cn,ownerState:je});return o.jsxs($e,k({},dn,{children:[o.jsx(It,k({},Sa)),o.jsx(tr,k({},xa)),K.filter($=>$.value>=Ue&&$.value<=He).map(($,B)=>{const ne=zn($.value,Ue,He),V=kt[at].offset(ne);let U;return he===!1?U=Q.indexOf($.value)!==-1:U=he==="normal"&&(L?$.value>=Q[0]&&$.value<=Q[Q.length-1]:$.value<=Q[0])||he==="inverted"&&(L?$.value<=Q[0]||$.value>=Q[Q.length-1]:$.value>=Q[0]),o.jsxs(N.Fragment,{children:[o.jsx(Bt,k({"data-index":B},g,!Ur(Bt)&&{markActive:U},{style:k({},V,g.style),className:gt(g.className,U&&re.markActive)})),$.label!=null?o.jsx(Ut,k({"aria-hidden":!0,"data-index":B},R,!Ur(Ut)&&{markLabelActive:U},{style:k({},V,R.style),className:gt(re.markLabel,R.className,U&&re.markLabelActive),children:$.label})):null]},B)}),Q.map(($,B)=>{const ne=zn($,Ue,He),V=kt[at].offset(ne),U=Ee==="off"?B_:bt;return o.jsx(U,k({},!Ur(U)&&{valueLabelFormat:Le,valueLabelDisplay:Ee,value:typeof Le=="function"?Le(Je($),B):Le,index:B,open:Pr===B||er===B||Ee==="on",disabled:We},wa,{children:o.jsx(Cr,k({"data-index":B},Tr,{className:gt(re.thumb,Tr.className,er===B&&re.active,I===B&&re.focusVisible),style:k({},V,Xe(B),Tr.style),children:o.jsx(Mr,k({"data-index":B,"aria-label":we?we(B):G,"aria-valuenow":Je($),"aria-labelledby":X,"aria-valuetext":Ct?Ct(Je($),B):Z,value:Q[B]},E))}))}),B)})]}))});process.env.NODE_ENV!=="production"&&(ou.propTypes={"aria-label":os(f.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-label"]!=null?new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider."):null),"aria-labelledby":f.string,"aria-valuetext":os(f.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-valuetext"]!=null?new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider."):null),children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","error","info","success","warning"]),f.string]),components:f.shape({Input:f.elementType,Mark:f.elementType,MarkLabel:f.elementType,Rail:f.elementType,Root:f.elementType,Thumb:f.elementType,Track:f.elementType,ValueLabel:f.elementType}),componentsProps:f.shape({input:f.oneOfType([f.func,f.object]),mark:f.oneOfType([f.func,f.object]),markLabel:f.oneOfType([f.func,f.object]),rail:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object]),thumb:f.oneOfType([f.func,f.object]),track:f.oneOfType([f.func,f.object]),valueLabel:f.oneOfType([f.func,f.shape({children:f.element,className:f.string,open:f.bool,style:f.object,value:f.number,valueLabelDisplay:f.oneOf(["auto","off","on"])})])}),defaultValue:f.oneOfType([f.arrayOf(f.number),f.number]),disabled:f.bool,disableSwap:f.bool,getAriaLabel:f.func,getAriaValueText:f.func,marks:f.oneOfType([f.arrayOf(f.shape({label:f.node,value:f.number.isRequired})),f.bool]),max:f.number,min:f.number,name:f.string,onChange:f.func,onChangeCommitted:f.func,orientation:f.oneOf(["horizontal","vertical"]),scale:f.func,shiftStep:f.number,size:f.oneOfType([f.oneOf(["small","medium"]),f.string]),slotProps:f.shape({input:f.oneOfType([f.func,f.object]),mark:f.oneOfType([f.func,f.object]),markLabel:f.oneOfType([f.func,f.object]),rail:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object]),thumb:f.oneOfType([f.func,f.object]),track:f.oneOfType([f.func,f.object]),valueLabel:f.oneOfType([f.func,f.shape({children:f.element,className:f.string,open:f.bool,style:f.object,value:f.number,valueLabelDisplay:f.oneOf(["auto","off","on"])})])}),slots:f.shape({input:f.elementType,mark:f.elementType,markLabel:f.elementType,rail:f.elementType,root:f.elementType,thumb:f.elementType,track:f.elementType,valueLabel:f.elementType}),step:f.number,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),tabIndex:f.number,track:f.oneOf(["inverted","normal",!1]),value:f.oneOfType([f.arrayOf(f.number),f.number]),valueLabelDisplay:f.oneOf(["auto","off","on"]),valueLabelFormat:f.oneOfType([f.func,f.string])});var U_="[object Number]";function J_(e){return typeof e=="number"||Wt(e)&&Yt(e)==U_}const su=Te.observer(e=>{const t=T.useTheme(),n=e.valueLabelFormat||(a=>`${a}`);function r(a,s){s===e.velocity||!J_(s)||e.onVelocityChange(s)}return o.jsxs(o.Fragment,{children:[o.jsx(T.Typography,{sx:{textAlign:"center",fontSize:"14px",opacity:.8,lineHeight:1,color:t.palette.text.primary},children:n(e.velocity)}),o.jsx(ou,{value:e.velocity,color:"secondary",onChange:r,min:e.min,max:e.max,"aria-labelledby":"input-slider",disabled:e.disabled,sx:{"& .MuiSlider-valueLabelOpen":{zIndex:100,backgroundColor:"transparent",top:"0px"}}})]})}),iu=Te.observer(({store:e})=>{const{t}=qt.useTranslation(),n=Te.useLocalObservable(()=>({get valueLabelFormat(){return e.currentMotionType==="translate"?r=>`v=${t("Jogging.Cartesian.Translation.velocityMmPerSec.lb",{amount:r})}`:r=>`v=${t("Jogging.Cartesian.Rotation.velocityDegPerSec.lb",{amount:r})}`}}));return o.jsx(T.Stack,{sx:{margin:"0px 20px",marginBottom:"6px"},children:o.jsx(T.Stack,{sx:{width:"380px",maxWidth:"90%",margin:"auto"},children:o.jsx(su,{velocity:e.velocityInCurrentUnits,min:e.minVelocityInCurrentUnits,max:e.maxVelocityInCurrentUnits,onVelocityChange:e.setVelocityFromSlider,disabled:e.isLocked,valueLabelFormat:n.valueLabelFormat})})})}),V_=Te.observer(({store:e,children:t})=>{var h,m,b,_,y,p,x,j,C;const{t:n}=qt.useTranslation(),r=T.useTheme();function a(A,w){(w==="translate"||w==="rotate")&&e.setSelectedCartesianMotionType(w)}Io(()=>[e.selectedCoordSystemId,e.selectedTcpId],()=>{e.jogger.motionStream.motionStateSocket.changeUrl(e.jogger.nova.makeWebsocketURL(`/motion-groups/${e.jogger.motionGroupId}/state-stream?tcp=${e.selectedTcpId}&response_coordinate_system=${e.selectedCoordSystemId}`))},{fireImmediately:!0});async function s(A,w){const P=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose,M=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;P&&await e.withMotionLock(async()=>{await e.jogger.runIncrementalCartesianMotion({currentTcpPose:P,currentJoints:M,coordSystemId:e.activeCoordSystemId,velocityInRelevantUnits:e.velocityInCurrentUnits,axis:A.axis,direction:A.direction,motion:e.selectedCartesianMotionType==="translate"?{type:"translate",distanceMm:w.mm}:{type:"rotate",distanceRads:Lt.degreesToRadians(w.degrees)}})})}async function i(A){if(!e.isLocked){if(e.activeDiscreteIncrement)return s(A,e.activeDiscreteIncrement);A.motionType==="translate"?await e.jogger.startTCPTranslation({axis:A.axis,direction:A.direction,velocityMmPerSec:e.translationVelocityMmPerSec}):await e.jogger.startTCPRotation({axis:A.axis,direction:A.direction,velocityRadsPerSec:e.rotationVelocityRadsPerSec})}}async function l(){e.isLocked||e.activeDiscreteIncrement||await e.jogger.stop()}const u=[{id:"x",colors:(b=(m=(h=r.componentsExt)==null?void 0:h.JoggingCartesian)==null?void 0:m.Axis)==null?void 0:b.X,icon:o.jsx(Tg,{})},{id:"y",colors:(p=(y=(_=r.componentsExt)==null?void 0:_.JoggingCartesian)==null?void 0:y.Axis)==null?void 0:p.Y,icon:o.jsx(Eg,{})},{id:"z",colors:(C=(j=(x=r.componentsExt)==null?void 0:x.JoggingCartesian)==null?void 0:j.Axis)==null?void 0:C.Z,icon:o.jsx($g,{})}];function c(A){return n("General.mm.variable",{amount:A.toFixed(1)})}function d(A){return n("General.degree.variable",{amount:Lt.radiansToDegrees(A).toFixed(1)})}return o.jsxs(T.Stack,{flexGrow:1,gap:4,children:[o.jsxs(T.Stack,{children:[o.jsx(Dg,{store:e}),o.jsx(v_,{store:e})]}),o.jsx(T.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:o.jsxs(T.ToggleButtonGroup,{value:e.selectedCartesianMotionType,onChange:a,exclusive:!0,"aria-label":n("Jogging.Cartesian.MotionType.lb"),sx:{justifyContent:"center"},children:[o.jsx(T.ToggleButton,{value:"translate",children:n("Jogging.Cartesian.Translation.bt")}),o.jsx(T.ToggleButton,{value:"rotate",children:n("Jogging.Cartesian.Rotation.bt")})]})}),o.jsx(Gl,{store:e,children:o.jsxs(T.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:[e.selectedCartesianMotionType==="translate"&&u.map(A=>o.jsx(eo,{colors:A.colors,disabled:e.isLocked,label:o.jsxs(o.Fragment,{children:[A.icon,o.jsx(T.Typography,{sx:{fontSize:"24px",color:"white"},children:A.id.toUpperCase()})]}),getDisplayedValue:()=>{var w;return c(((w=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose)==null?void 0:w.position[A.id])||0)},startJogging:w=>i({axis:A.id,motionType:"translate",direction:w}),stopJogging:l},A.id)),e.selectedCartesianMotionType==="rotate"&&u.map(A=>o.jsx(eo,{colors:A.colors,disabled:e.isLocked,label:o.jsxs(o.Fragment,{children:[o.jsx(Fg,{}),o.jsx(T.Typography,{sx:{fontSize:"24px",color:"white"},children:A.id.toUpperCase()})]}),getDisplayedValue:()=>{var w,P;return d(((P=(w=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose)==null?void 0:w.orientation)==null?void 0:P[A.id])||0)},startJogging:w=>i({axis:A.id,motionType:"rotate",direction:w}),stopJogging:l},A.id))]})}),o.jsxs(T.Stack,{children:[o.jsx(ru,{store:e}),o.jsx(iu,{store:e}),t]})]})}),G_=Te.observer(({store:e})=>{const t=Y.useRef(null);function n(){const{joints:r}=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;return`[${r.map(a=>parseFloat(a.toFixed(4))).join(", ")}]`}return xr(()=>{t.current&&(t.current.textContent=n())}),o.jsx(T.Stack,{alignItems:"left",spacing:2,sx:{padding:"16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:o.jsx(zl,{value:n(),ref:t})})}),z_=Te.observer(({store:e,children:t})=>{async function n(a){await e.jogger.startJointRotation({joint:a.joint,direction:a.direction,velocityRadsPerSec:e.rotationVelocityRadsPerSec})}async function r(){await e.jogger.stop()}return o.jsxs(T.Stack,{flexGrow:1,justifyContent:"space-between",children:[o.jsx(G_,{store:e}),o.jsx(Gl,{store:e,children:o.jsx(T.Stack,{gap:"0.8rem",children:e.jogger.motionStream.joints.map(a=>{var u;const s=(u=e.motionGroupSpec.mechanical_joint_limits)==null?void 0:u[a.index],i=(s==null?void 0:s.lower_limit)!==void 0?Lt.radiansToDegrees(s.lower_limit):void 0,l=(s==null?void 0:s.upper_limit)!==void 0?Lt.radiansToDegrees(s.upper_limit):void 0;return o.jsxs(T.Stack,{direction:"row",alignItems:"center",gap:2,children:[o.jsx(T.Typography,{sx:{flexGrow:1,textAlign:"right"},children:`J${a.index+1}`}),o.jsx(yl,{disabled:e.isLocked,lowerLimitDegs:i,upperLimitDegs:l,getValueDegs:()=>{const c=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position.joints[a.index];return c!==void 0?Lt.radiansToDegrees(c):void 0},startJogging:c=>n({joint:a.index,direction:c}),stopJogging:r},a.index),o.jsx(T.Typography,{sx:{flexGrow:1}})]},`joint-${a.index}`)})})}),o.jsx(ru,{store:e}),o.jsx(iu,{store:e}),t]})});var bi=function(){try{var e=Qt(Object,"defineProperty");return e({},"",{}),e}catch{}}();function K_(e,t,n){t=="__proto__"&&bi?bi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function W_(e,t,n,r){for(var a=-1,s=e==null?0:e.length;++a<s;){var i=e[a];t(r,i,n(i),e)}return r}function H_(e){return function(t,n,r){for(var a=-1,s=Object(t),i=r(t),l=i.length;l--;){var u=i[++a];if(n(s[u],u,s)===!1)break}return t}}var X_=H_();function q_(e,t){return e&&X_(e,t,Do)}function Y_(e,t){return function(n,r){if(n==null)return n;if(!tu(n))return e(n,r);for(var a=n.length,s=-1,i=Object(n);++s<a&&r(i[s],s,i)!==!1;);return n}}var Z_=Y_(q_);function Q_(e,t,n,r){return Z_(e,function(a,s,i){t(r,a,n(a),i)}),r}var e1=1,t1=2;function r1(e,t,n,r){var a=n.length,s=a;if(e==null)return!s;for(e=Object(e);a--;){var i=n[a];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++a<s;){i=n[a];var l=i[0],u=e[l],c=i[1];if(i[2]){if(u===void 0&&!(l in e))return!1}else{var d=new wt,h;if(!(h===void 0?ya(c,u,e1|t1,r,d):h))return!1}}return!0}function lu(e){return e===e&&!Kt(e)}function n1(e){for(var t=Do(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,lu(a)]}return t}function uu(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function a1(e){var t=n1(e);return t.length==1&&t[0][2]?uu(t[0][0],t[0][1]):function(n){return n===e||r1(n,e,t)}}var o1=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s1=/^\w*$/;function Bo(e,t){if(pt(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||la(e)?!0:s1.test(e)||!o1.test(e)||t!=null&&e in Object(t)}var i1="Expected a function";function Uo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(i1);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],s=n.cache;if(s.has(a))return s.get(a);var i=e.apply(this,r);return n.cache=s.set(a,i)||s,i};return n.cache=new(Uo.Cache||Pt),n}Uo.Cache=Pt;var l1=500;function u1(e){var t=Uo(e,function(r){return n.size===l1&&n.clear(),r}),n=t.cache;return t}var c1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d1=/\\(\\)?/g,m1=u1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(c1,function(n,r,a,s){t.push(a?s.replace(d1,"$1"):r||n)}),t});function h1(e,t){for(var n=-1,r=e==null?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}var f1=1/0,Si=$t?$t.prototype:void 0,xi=Si?Si.toString:void 0;function cu(e){if(typeof e=="string")return e;if(pt(e))return h1(e,cu)+"";if(la(e))return xi?xi.call(e):"";var t=e+"";return t=="0"&&1/e==-f1?"-0":t}function du(e){return e==null?"":cu(e)}function mu(e,t){return pt(e)?e:Bo(e,t)?[e]:m1(du(e))}var g1=1/0;function _a(e){if(typeof e=="string"||la(e))return e;var t=e+"";return t=="0"&&1/e==-g1?"-0":t}function hu(e,t){t=mu(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[_a(t[n++])];return n&&n==r?e:void 0}function p1(e,t,n){var r=e==null?void 0:hu(e,t);return r===void 0?n:r}function y1(e,t){return e!=null&&t in Object(e)}function _1(e,t,n){t=mu(t,e);for(var r=-1,a=t.length,s=!1;++r<a;){var i=_a(t[r]);if(!(s=e!=null&&n(e,i)))break;e=e[i]}return s||++r!=a?s:(a=e==null?0:e.length,!!a&&Fo(a)&&Zl(i,a)&&(pt(e)||ql(e)))}function v1(e,t){return e!=null&&_1(e,t,y1)}var b1=1,S1=2;function x1(e,t){return Bo(e)&&lu(t)?uu(_a(e),t):function(n){var r=p1(n,e);return r===void 0&&r===t?v1(n,e):ya(t,r,b1|S1)}}function w1(e){return e}function j1(e){return function(t){return t==null?void 0:t[e]}}function R1(e){return function(t){return hu(t,e)}}function A1(e){return Bo(e)?j1(_a(e)):R1(e)}function P1(e){return typeof e=="function"?e:e==null?w1:typeof e=="object"?pt(e)?x1(e[0],e[1]):a1(e):A1(e)}function C1(e,t){return function(n,r){var a=pt(n)?W_:Q_,s={};return a(n,e,P1(r),s)}}var Sn=C1(function(e,t,n){K_(e,n,t)}),M1=0;function k1(e){var t=++M1;return du(e)+t}const fo=[{id:"0.1",mm:.1,degrees:.05},{id:"1",mm:1,degrees:.5},{id:"5",mm:5,degrees:2.5},{id:"10",mm:10,degrees:5}],I1=[{id:"continuous"},...fo];class Jo{constructor(t,n,r,a){var s,i;this.jogger=t,this.motionGroupSpec=n,this.coordSystems=r,this.tcps=a,this.selectedTabId="cartesian",this.manualActivationRequired=!0,this.activationState="inactive",this.activationError=null,this.activationCounter=0,this.locks=new Set,this.selectedCoordSystemId="world",this.selectedTcpId="",this.selectedOrientation="coordsys",this.selectedIncrementId="continuous",this.selectedCartesianMotionType="translate",this.incrementJoggingInProgress=!1,this.translationVelocityMmPerSec=10,this.rotationVelocityDegPerSec=1,this.minTranslationVelocityMmPerSec=5,this.maxTranslationVelocityMmPerSec=250,this.minRotationVelocityDegPerSec=1,this.maxRotationVelocityDegPerSec=60,this.disposers=[];for(const l of r)if(l.coordinate_system===""){l.coordinate_system="world";break}this.selectedCoordSystemId=((s=r[0])==null?void 0:s.coordinate_system)||"world",this.selectedTcpId=((i=a[0])==null?void 0:i.id)||"",dt.makeAutoObservable(this,{},{autoBind:!0}),this.loadFromLocalStorage(),this.disposers.push(dt.autorun(()=>this.saveToLocalStorage())),window.joggingStore=this}static async loadFor(t){const{nova:n}=t,[r,{coordinatesystems:a},{tcps:s}]=await Promise.all([n.api.motionGroupInfos.getMotionGroupSpecification(t.motionGroupId),n.api.coordinateSystems.listCoordinateSystems("ROTATION_VECTOR"),n.api.motionGroupInfos.listTcps(t.motionGroupId,"ROTATION_VECTOR")]);return new Jo(t,r,a||[],s||[])}dispose(){for(const t of this.disposers)t();this.jogger.dispose()}get coordSystemCountByName(){return Kn.countBy(this.coordSystems,t=>t.name)}async deactivate(t={}){if(this.activationState==="inactive")return;const n=this.jogger.activeWebsocket;this.activationState="inactive",this.jogger.setJoggingMode("increment"),n&&await n.closed();try{await this.jogger.nova.api.motionGroupJogging.stopJogging(this.jogger.motionGroupId)}catch(r){console.error(r)}t.requireManualReactivation&&dt.runInAction(()=>{this.manualActivationRequired=!0})}async activate(t={}){if(!(this.manualActivationRequired&&!t.manual)){dt.runInAction(()=>{this.activationState="loading",this.activationError=null});try{await this.jogger.nova.api.controller.setDefaultMode(this.jogger.motionStream.controllerId,"MODE_CONTROL")}catch(n){console.error(n)}if(this.currentTab.id==="cartesian"){const n={tcpId:this.selectedTcpId,coordSystemId:this.activeCoordSystemId};this.activeDiscreteIncrement?this.jogger.setJoggingMode("increment",n):this.jogger.setJoggingMode("cartesian",n)}else this.jogger.setJoggingMode("joint");if(this.jogger.activeWebsocket)try{this.jogger.stop(),await this.jogger.activeWebsocket.nextMessage()}catch(n){dt.runInAction(()=>{this.activationState="inactive",this.activationError=n});return}dt.runInAction(()=>{this.activationState="active",t.manual&&(this.manualActivationRequired=!1)})}}loadFromLocalStorage(){const t=Lt.tryParseJson(localStorage.getItem("joggingToolStore"));t&&(this.tabsById[t.selectedTabId]&&(this.selectedTabId=t.selectedTabId),this.coordSystemsById[t.selectedCoordSystemId]&&(this.selectedCoordSystemId=t.selectedCoordSystemId),this.tcpsById[t.selectedTcpId]&&(this.selectedTcpId=t.selectedTcpId),this.incrementOptionsById[t.selectedIncrementId]&&(this.selectedIncrementId=t.selectedIncrementId),["translate","rotate"].includes(t.selectedCartesianMotionType)&&(this.selectedCartesianMotionType=t.selectedCartesianMotionType),["coordsys","tool"].includes(t.selectedOrientation)&&(this.selectedOrientation=t.selectedOrientation))}saveToLocalStorage(){localStorage.setItem("joggingToolStore",JSON.stringify(this.localStorageSave))}get isLocked(){return this.locks.size>0}get localStorageSave(){return{selectedTabId:this.selectedTabId,selectedCoordSystemId:this.selectedCoordSystemId,selectedTcpId:this.selectedTcpId,selectedOrientation:this.selectedOrientation,selectedIncrementId:this.selectedIncrementId,selectedCartesianMotionType:this.selectedCartesianMotionType}}get tabs(){return[{id:"cartesian",label:"Cartesian"},{id:"joint",label:"Joint"}]}get incrementOptions(){return I1}get discreteIncrementOptions(){return fo}get incrementOptionsById(){return Sn(this.incrementOptions,t=>t.id)}get tabsById(){return Sn(this.tabs,t=>t.id)}get currentTab(){return this.tabsById[this.selectedTabId]||this.tabs[0]}get tabIndex(){return this.tabs.indexOf(this.currentTab)}get coordSystemsById(){return Sn(this.coordSystems,t=>t.coordinate_system)}get selectedCoordSystem(){return this.coordSystemsById[this.selectedCoordSystemId]}get activeCoordSystemId(){return this.selectedOrientation==="tool"?"tool":this.selectedCoordSystemId}get tcpsById(){return Sn(this.tcps,t=>t.id)}get activeDiscreteIncrement(){return this.selectedOrientation==="tool"?void 0:fo.find(t=>t.id===this.selectedIncrementId)}get rotationVelocityRadsPerSec(){return this.rotationVelocityDegPerSec*Math.PI/180}get velocityInCurrentUnits(){return this.currentMotionType==="translate"?this.translationVelocityMmPerSec:this.rotationVelocityDegPerSec}get minVelocityInCurrentUnits(){return this.currentMotionType==="translate"?this.minTranslationVelocityMmPerSec:this.minRotationVelocityDegPerSec}get maxVelocityInCurrentUnits(){return this.currentMotionType==="translate"?this.maxTranslationVelocityMmPerSec:this.maxRotationVelocityDegPerSec}get currentMotionType(){return this.selectedTabId==="cartesian"&&this.selectedCartesianMotionType==="translate"?"translate":"rotate"}onTabChange(t,n){const r=this.tabs[n]||this.tabs[0];this.selectedTabId=r.id}setSelectedCoordSystemId(t){this.selectedCoordSystemId=t}setSelectedTcpId(t){this.selectedTcpId=t}setSelectedOrientation(t){this.selectedOrientation=t}setSelectedIncrementId(t){this.selectedIncrementId=t}setIncrementJoggingInProgress(t){this.incrementJoggingInProgress=t}setVelocityFromSlider(t){this.currentMotionType==="translate"?this.translationVelocityMmPerSec=t:this.rotationVelocityDegPerSec=t}setSelectedCartesianMotionType(t){this.selectedCartesianMotionType=t}async withMotionLock(t){const n=k1();this.locks.add(n);try{return await t()}finally{this.locks.delete(n)}}}const T1=on(Te.observer(e=>{const t=Kn.isString(e.nova)?new Lt.NovaClient({instanceUrl:e.nova}):e.nova,n=Te.useLocalObservable(()=>({joggingStore:null,loadingError:null}));async function r(){dt.runInAction(()=>{n.loadingError=null,n.joggingStore=null});try{const a=await t.connectJogger(e.motionGroupId),s=await Jo.loadFor(a);dt.runInAction(()=>{n.joggingStore=s}),e.onSetup&&e.onSetup(s)}catch(a){n.loadingError=a}}return Y.useEffect(()=>(r(),()=>{var a;(a=n.joggingStore)==null||a.dispose()}),[e.nova,e.motionGroupId]),Y.useEffect(()=>{const a=n.joggingStore;a&&(e.locked?a.locks.add("external"):a.locks.delete("external"))},[e.locked]),o.jsx(T.Stack,{sx:{maxWidth:"460px",minWidth:"350px",overflowY:"auto",position:"relative",height:"100%"},children:n.joggingStore?o.jsx(O1,{store:n.joggingStore,children:e.children}):o.jsx(fa,{message:"Loading jogging",error:n.loadingError})})})),O1=Te.observer(({store:e,children:t})=>{Y.useEffect(()=>{function r(){e.deactivate()}function a(){e.activate()}return window.addEventListener("blur",r),window.addEventListener("focus",a),()=>{window.removeEventListener("blur",r),window.removeEventListener("focus",a)}}),Io(()=>[e.currentTab.id,e.selectedTcpId,e.activeCoordSystemId,e.activeDiscreteIncrement],()=>{e.activationState!=="inactive"&&e.activate()});function n(){if(e.currentTab.id==="cartesian")return o.jsx(o.Fragment,{children:o.jsx(V_,{store:e,children:t})});if(e.currentTab.id==="joint")return o.jsx(o.Fragment,{children:o.jsx(z_,{store:e,children:t})})}return o.jsxs(T.Stack,{flexGrow:1,height:"100%",children:[o.jsx(T.Tabs,{value:e.tabIndex,onChange:e.onTabChange,variant:"fullWidth",children:e.tabs.map(r=>o.jsx(T.Tab,{label:r.label,id:`jogging-tab-${r.id}`,"aria-controls":`jogging-tab-${r.id}`},r.id))}),o.jsx(T.Stack,{flexGrow:1,position:"relative",children:n()})]})});function E1(){const e=window.location.href;return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function L1({baseUrl:e=E1(),...t}){return o.jsxs(T.Dialog,{"aria-labelledby":"no-motion-group-modal-title",open:!0,fullWidth:!0,sx:{"& .MuiModal-backdrop":{backdropFilter:"blur(10px)"},"& .MuiDialog-paper":{"::before":{content:'""',height:"8px",width:"100%",background:"linear-gradient(90deg, #FF0E65 0%, #47D3FF 100%)"},background:"#101629"}},children:[o.jsx(T.DialogTitle,{id:"no-motion-group-modal-title",children:"No motion group found"}),o.jsxs(T.DialogContent,{sx:{marginTop:"3rem",marginBottom:"1.5rem",textAlign:"center"},children:[o.jsx(T.Typography,{color:"#fff",children:"Found no devices to connect to."}),o.jsx(T.Typography,{color:"#fff",children:"Please ensure a motion group has been created."})]}),o.jsx(T.DialogActions,{children:o.jsxs(T.Stack,{width:"100%",maxWidth:"300px",margin:"auto",marginBottom:"2rem",children:[o.jsx(T.Button,{href:`${e}/settings`,variant:"contained",sx:{borderRadius:"8px",width:"100%"},children:"Go to settings app"}),o.jsx(T.Button,{href:`${e}`,variant:"text",sx:{marginTop:"1rem",color:"#fff",textDecoration:"underline",fontSize:"0.75rem"},children:"Back to Homescreen"})]})})]})}const $1=Array(6).fill(2*Math.PI);fu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function fu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Empty",children:[o.jsxs("group",{name:"visuals",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.abb_metal_polished}),o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.abb_white})]}),o.jsxs(v.animated.group,{name:"ABB_IRB1200_J00",children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J01",position:[0,.399,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J02",position:[.35,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J03",position:[.042,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J04",position:[0,.351,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J05",rotation:[Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"ABB_IRB1200_FLG",position:[0,.082,0]}),o.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:r.visuals006.geometry,material:a.abb_metal_black,position:[.791,-.351,0],rotation:[0,0,Math.PI/2]})]}),o.jsxs("group",{name:"visuals005",position:[-.791,0,.351],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_1.geometry,material:a.abb_metal_polished}),o.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_2.geometry,material:a.abb_white})]})]}),o.jsxs("group",{name:"visuals004",position:[-.791,0,0],rotation:[-Math.PI,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_1.geometry,material:a.abb_metal_polished}),o.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_2.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals004_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_3.geometry,material:a.abb_red})]})]}),o.jsxs("group",{name:"visuals003",position:[-.749,0,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.abb_red}),o.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_3.geometry,material:a.abb_metal_polished})]})]}),o.jsxs("group",{name:"visuals002",position:[-.399,0,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_1.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_2.geometry,material:a.abb_metal_polished})]})]}),o.jsxs("group",{name:"visuals001",children:[o.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_1.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_2.geometry,material:a.abb_metal_polished})]})]})]})})}gu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function gu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:r.link_0.geometry,material:a.Plastic}),o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J00",children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J01",position:[.15,.544,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J02",position:[.575,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J03",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J04",position:[0,.425,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J05",rotation:[Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"ABB_IRB_1300_115_10_FLG",position:[0,.092,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.Metal,position:[1.159,-.575,0],rotation:[0,0,Math.PI/2]})]}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:r.link_5.geometry,material:a.Plastic,position:[-1.159,0,.575],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_4",position:[-1.159,-.15,0],rotation:[-Math.PI,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:r.visuals004.geometry,material:a.Plastic}),o.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_1.geometry,material:a.PlasticRed})]})]}),o.jsxs("group",{name:"link_3",position:[-1.119,0,.15],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals003",castShadow:!0,receiveShadow:!0,geometry:r.visuals003.geometry,material:a.Plastic}),o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.PlasticRed}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.Plastic})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:r.link_2.geometry,material:a.Plastic,position:[-.544,0,.15],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_1",castShadow:!0,receiveShadow:!0,geometry:r.link_1.geometry,material:a.Plastic})]})]})})}pu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function pu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"M10iD",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J02",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J03",position:[.64,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J04",position:[.195,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J05",position:[0,-.7,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"M10iD_FLG",position:[0,-.075,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"M10iD_L06",castShadow:!0,receiveShadow:!0,geometry:r.M10iD_L06.geometry,material:a.Fanuc_BlackMetal_AO,position:[-.835,.775,0],rotation:[0,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"M10iD_L05",castShadow:!0,receiveShadow:!0,geometry:r.M10iD_L05.geometry,material:a.Fanuc_BlackMetal_AO,position:[-.835,0,-.775],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"M10iD_L04",position:[-.835,.075,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_654",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_654.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_654_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_654_1.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M10iD_L03",position:[-.64,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_378",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_378.geometry,material:a.Material_1_AO}),o.jsx("mesh",{name:"Mesh_378_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_378_1.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_378_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_378_2.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M10iD_L02",position:[0,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_358",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_358.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_358_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_358_1.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M10iD_L01",children:[o.jsx("mesh",{name:"Mesh_356",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_356.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_356_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_356_1.geometry,material:a.Material_1_AO}),o.jsx("mesh",{name:"Mesh_356_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_356_2.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsx("mesh",{name:"M10iD_L00",castShadow:!0,receiveShadow:!0,geometry:r.M10iD_L00.geometry,material:a.Fanuc_BlackMetal_AO,rotation:[-Math.PI/2,0,0]})]})})})})}go.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function go({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"M10iD",rotation:[0,0,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J00",children:[o.jsxs(v.animated.group,{name:"M20iD25_J01",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J02",position:[.84,0,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J03",position:[.215,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J04",position:[0,-.89,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"M20iD25_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"M20iD25_L06",castShadow:!0,receiveShadow:!0,geometry:r.M20iD25_L06.geometry,material:a.Fanuc_BlackMetal_AO,position:[0,-.09,0],rotation:[Math.PI/2,0,Math.PI]})]}),o.jsx("mesh",{name:"M20iD25_L05",castShadow:!0,receiveShadow:!0,geometry:r.M20iD25_L05.geometry,material:a.Fanuc_BlackMetal_AO,rotation:[Math.PI,Math.PI/2,0]})]}),o.jsxs("group",{name:"M20iD25_L04",position:[0,-.286,0],rotation:[-Math.PI/2,Math.PI/2,0],children:[o.jsx("mesh",{name:"Mesh_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_2.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_2_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_2_1.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M20iD25_L03",position:[0,.406,0],rotation:[Math.PI,Math.PI/2,0],children:[o.jsx("mesh",{name:"Mesh_15",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_15.geometry,material:a.Fanuc_BlackMetal_AO}),o.jsx("mesh",{name:"Mesh_15_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_15_1.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_15_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_15_2.geometry,material:a.Material_9_AO})]})]}),o.jsxs("group",{name:"M20iD25_L02",position:[0,.505,-.055],rotation:[-Math.PI,Math.PI/2,0],children:[o.jsx("mesh",{name:"Mesh_37",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_37.geometry,material:a.Fanuc_BlackMetal_AO}),o.jsx("mesh",{name:"Mesh_37_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_37_1.geometry,material:a.Fanuc_Yellow_Textured_AO})]})]}),o.jsxs("group",{name:"M20iD25_L01",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"Mesh_45",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_45.geometry,material:a.Material_9_AO}),o.jsx("mesh",{name:"Mesh_45_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_45_1.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_45_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_45_2.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsx("mesh",{name:"M20iD25_L00",castShadow:!0,receiveShadow:!0,geometry:r.M20iD25_L00.geometry,material:a.Fanuc_BlackMetal_AO,position:[0,-.425,0],rotation:[-Math.PI/2,0,0]})]})})})})}yu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function yu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"CRX10iA_J00",children:[o.jsxs(v.animated.group,{name:"CRX10iA_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J02",position:[.54,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L06.geometry,material:a.Fanuc_BlackMetal,position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001_1.geometry,material:a.Fanuc_Green})]})]}),o.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA.geometry,material:a.Fanuc_RedPlastic}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_1",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_1.geometry,material:a.Fanuc_BlackPlastic}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_2",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_2.geometry,material:a.Fanuc_WhitePlastic})]})]}),o.jsx("mesh",{name:"CRX10iA_L03",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L03.geometry,material:a.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L02.geometry,material:a.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L01",position:[0,-.117,0],children:[o.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001.geometry,material:a.Fanuc_Green}),o.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_1.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_2.geometry,material:a.Fanuc_GreenLED})]})]}),o.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L00.geometry,material:a.Fanuc_BlackMetal,position:[0,-.245,0]})]})})})}_u.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function _u({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:r.link_0.geometry,material:a.fanuc_metal_black}),o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J00",position:[0,-.245,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J02",position:[.71,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx(v.animated.group,{name:"FANUC_CRX20iAL_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.fanuc_metal_black,position:[-.71,.54,-.15],rotation:[0,0,-Math.PI/2]})]}),o.jsxs(v.animated.group,{name:"link_5",position:[-.71,0,-.54],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape053",castShadow:!0,receiveShadow:!0,geometry:r.shape053.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"shape053_1",castShadow:!0,receiveShadow:!0,geometry:r.shape053_1.geometry,material:a.fanuc_green})]})]}),o.jsxs(v.animated.group,{name:"link_4",position:[-.71,0,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape054",castShadow:!0,receiveShadow:!0,geometry:r.shape054.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"shape054_1",castShadow:!0,receiveShadow:!0,geometry:r.shape054_1.geometry,material:a.fanuc_red}),o.jsx("mesh",{name:"shape054_2",castShadow:!0,receiveShadow:!0,geometry:r.shape054_2.geometry,material:a.fanuc_metal_black})]})]}),o.jsxs(v.animated.group,{name:"link_3",position:[-.71,0,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape009",castShadow:!0,receiveShadow:!0,geometry:r.shape009.geometry,material:a.fanuc_green}),o.jsx("mesh",{name:"shape009_1",castShadow:!0,receiveShadow:!0,geometry:r.shape009_1.geometry,material:a.fanuc_white})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:r.link_2.geometry,material:a.fanuc_white,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_1",position:[0,.245,0],children:[o.jsx("mesh",{name:"shape005",castShadow:!0,receiveShadow:!0,geometry:r.shape005.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"shape005_1",castShadow:!0,receiveShadow:!0,geometry:r.shape005_1.geometry,material:a.fanuc_green})]})]})]})})})}vu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function vu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",position:[0,-.37,0],children:[o.jsxs("group",{name:"CRX25iA_L00",children:[o.jsx("mesh",{name:"J1BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J1BASE_NetGen_Coarse.geometry,material:a.Fanuc_BlackMetal}),o.jsx("mesh",{name:"J1BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J1BASE_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenPlastic})]}),o.jsxs(v.animated.group,{name:"CRX25iA_J00",children:[o.jsxs(v.animated.group,{name:"CRX25iA_J01",position:[0,.37,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"CRX25iA_J02",position:[.95,0,0],children:[o.jsxs(v.animated.group,{name:"CRX25iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX25iA_J04",position:[0,-.75,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX25iA_J05",position:[0,.185,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"CRX25iA_FLG",position:[0,-.18,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"CRX25iA_L06",castShadow:!0,receiveShadow:!0,geometry:r.CRX25iA_L06.geometry,material:a.Fanuc_BlackMetal,position:[0,-.18,0]})]}),o.jsxs("group",{name:"CRX25iA_L05",position:[0,.185,0],children:[o.jsx("mesh",{name:"J6CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J6CASING_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J6CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J6CASING_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenPlastic})]})]}),o.jsxs("group",{name:"CRX25iA_L04",position:[0,-.75,0],children:[o.jsx("mesh",{name:"J3ARM_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J3ARM_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J3ARM_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J3ARM_NetGen_Coarse_1.geometry,material:a.Fanuc_RedPlastic}),o.jsx("mesh",{name:"J3ARM_NetGen_Coarse_2",castShadow:!0,receiveShadow:!0,geometry:r.J3ARM_NetGen_Coarse_2.geometry,material:a.Fanuc_BlackPlastic})]})]}),o.jsxs("group",{name:"CRX25iA_L03",children:[o.jsx("mesh",{name:"J3CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J3CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenPlastic})]})]}),o.jsx("mesh",{name:"CRX25iA_L02",castShadow:!0,receiveShadow:!0,geometry:r.CRX25iA_L02.geometry,material:a.Fanuc_WhitePlastic})]}),o.jsxs("group",{name:"CRX25iA_L01",position:[0,.18,0],children:[o.jsx("mesh",{name:"J2BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J2BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenLED})]})]})]})})})}bu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function bu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"CRX10iA_J00",children:[o.jsxs(v.animated.group,{name:"CRX10iA_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J02",position:[.71,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L06.geometry,material:a["Fanuc_BlackMetal.001"],position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001_1.geometry,material:a["Fanuc_Green.001"]})]})]}),o.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_L001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_1",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_L001_1.geometry,material:a["Fanuc_RedPlastic.001"]}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_2",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_L001_2.geometry,material:a["Fanuc_BlackPlastic.001"]})]})]}),o.jsxs("group",{name:"CRX10iA_L03",rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"J3CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_UNIT001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"J3CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_UNIT001_1.geometry,material:a["Fanuc_Green.001"]})]})]}),o.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L02.geometry,material:a["Fanuc_WhitePlastic.001"],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L01",position:[0,.128,0],children:[o.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_1.geometry,material:a["Fanuc_Green.001"]}),o.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_2.geometry,material:a["Fanuc_GreenLED.001"]})]})]}),o.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L00.geometry,material:a["Fanuc_BlackMetal.001"]})]})})})}Su.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function Su({modelURL:e,...t}){const{nodes:n,materials:r}=H.useGLTF(e);return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Empty",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"shape002",castShadow:!0,receiveShadow:!0,geometry:n.shape002.geometry,material:r.fanuc_metal_black_AO}),o.jsx("mesh",{name:"shape002_1",castShadow:!0,receiveShadow:!0,geometry:n.shape002_1.geometry,material:r.fanuc_stainless_steel_AO})]}),o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J00",children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J01",position:[.05,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J02",position:[.33,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J03",position:[.035,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J04",position:[0,-.335,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"FANUC_LRMATE-200ID_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.fanuc_metal_black_AO,position:[-.365,.385,0],rotation:[0,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:r.fanuc_yellow_AO,position:[-.365,0,-.385],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_4",position:[-.365,.05,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape010",castShadow:!0,receiveShadow:!0,geometry:n.shape010.geometry,material:r.fanuc_yellow_AO}),o.jsx("mesh",{name:"shape010_1",castShadow:!0,receiveShadow:!0,geometry:n.shape010_1.geometry,material:r.fanuc_aluminium_black_AO})]})]}),o.jsx("mesh",{name:"link_3",castShadow:!0,receiveShadow:!0,geometry:n.link_3.geometry,material:r.fanuc_yellow_AO,position:[-.33,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:n.link_2.geometry,material:r.fanuc_yellow_AO,position:[0,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_1",castShadow:!0,receiveShadow:!0,geometry:n.link_1.geometry,material:r.fanuc_yellow_AO})]})]})})}function N1({modelURL:e,...t}){const{nodes:n,materials:r}=H.useGLTF(e);return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:r.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:r.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_0_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_2.geometry,material:r.fanuc_aluminium_black})]}),o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J00",children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J01",position:[.05,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J02",position:[.44,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J03",position:[.035,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J04",position:[0,-.42,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx(v.animated.group,{name:"FANUC_LRMATE200ID7L_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.fanuc_metal_black,position:[-.475,.47,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_5",position:[-.475,0,-.47],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:n.visuals_5.geometry,material:r.fanuc_yellow}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_5_1.geometry,material:r.fanuc_stainless_steel}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_5_2.geometry,material:r.fanuc_metal_black})]})]}),o.jsxs("group",{name:"link_4",position:[-.475,.05,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4.geometry,material:r.fanuc_yellow}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4_1.geometry,material:r.fanuc_aluminium_black})]})]}),o.jsxs("group",{name:"link_3",position:[-.44,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3.geometry,material:r.fanuc_yellow}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_1.geometry,material:r.fanuc_stainless_steel})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:n.link_2.geometry,material:r.fanuc_yellow,position:[0,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1.geometry,material:r.fanuc_yellow}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_1.geometry,material:r.fanuc_stainless_steel})]})]})]})})}xu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function xu({modelURL:e,...t}){const{nodes:n,materials:r}=H.useGLTF(e);return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:r.material_Material_Metall}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:r.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals_0_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_2.geometry,material:r.material_Material_Metall})]}),o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J00",children:[o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J01",position:[.16,.52,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J02",position:[.98,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J03",position:[.15,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J04",position:[0,-.86,0],rotation:[-Math.PI/2,0,0],children:[o.jsx(v.animated.group,{name:"KUKA_KR16R2010_2_J05",rotation:[-Math.PI/2,0,-Math.PI],children:o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.material_Material_Farbe__2_,position:[.67,2,0],rotation:[-Math.PI,0,Math.PI/2]})}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:r.material_Material_Farbe,position:[-.67,0,2],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:n.link_4.geometry,material:r.material_Material_Farbe,position:[-.67,1.14,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_3",position:[-.52,0,1.14],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3.geometry,material:r.material_Material_Farbe}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_1.geometry,material:r.material_Material_Metall}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_2.geometry,material:r.material_Material_Farbe__2_})]})]}),o.jsxs("group",{name:"link_2",position:[-.16,0,-.52],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2.geometry,material:r.material_Material_Farbe}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2_1.geometry,material:r.material_Material_Metall})]})]}),o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1.geometry,material:r.material_Material_Farbe}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_1.geometry,material:r.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_2.geometry,material:r.material_Material_Metall})]})]})]})})})}wu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function wu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"kuka_kr210_2700",children:[o.jsxs(v.animated.group,{name:"joint_01",children:[o.jsxs(v.animated.group,{name:"joint_02",position:[.33,.645,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"joint_04",position:[.115,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_05",position:[0,-1.22,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[o.jsx("group",{name:"flange",position:[0,-.215,0],rotation:[-Math.PI,0,0]}),o.jsx("group",{name:"link_6",position:[0,-.17,0],rotation:[0,0,-Math.PI/2],children:o.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:r.visuals006.geometry,material:a.material_Material_Metall_black})})]}),o.jsx("group",{name:"link_5",position:[0,.059,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals005",children:[o.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_1.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_2.geometry,material:a.material_Material_kuka_orange})]})})]}),o.jsx("group",{name:"link_4",position:[0,-.869,0],rotation:[0,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals004",children:[o.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_1.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_2.geometry,material:a.material_Material_kuka_orange})]})})]}),o.jsx("group",{name:"link_3",position:[0,-.105,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals003",children:[o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.material_Material_rubber}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.material_Material_aluminium}),o.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_3.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_4.geometry,material:a.material_Material_kuka_black}),o.jsx("mesh",{name:"visuals003_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_5.geometry,material:a.material_Material_Rubber_black}),o.jsx("mesh",{name:"visuals003_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_6.geometry,material:a.material_Material_kuka_orange}),o.jsx("mesh",{name:"visuals003_7",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_7.geometry,material:a.material_Material_stainless_steel})]})})]}),o.jsx("group",{name:"link_2",position:[0,.009,0],rotation:[Math.PI/2,0,0],children:o.jsxs("group",{name:"visuals002",children:[o.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_1.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_2.geometry,material:a.material_Material_Rubber_black}),o.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_3.geometry,material:a.material_Material_kuka_orange})]})})]}),o.jsx("group",{name:"link_1",position:[0,.236,0],children:o.jsxs("group",{name:"visuals001",children:[o.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_1.geometry,material:a.material_Material_kuka_black}),o.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_2.geometry,material:a.material_Material_kuka_orange}),o.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_3.geometry,material:a.material_Material_rubber}),o.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_4.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals001_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_5.geometry,material:a.material_Material_aluminium}),o.jsx("mesh",{name:"visuals001_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_6.geometry,material:a.material_Material_rubber_black}),o.jsx("mesh",{name:"visuals001_7",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_7.geometry,material:a.material_Material_stainless_steel})]})})]}),o.jsx("group",{name:"link_0",children:o.jsxs("group",{name:"visuals",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.material_Material_kuka_black}),o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.material_Material_metal_black})]})})]})})})})}ju.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function ju({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"joint_01",children:[o.jsxs(v.animated.group,{name:"joint_02",position:[.35,.675,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"joint_04",position:[-.041,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_05",position:[0,-1.2,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[o.jsx("group",{name:"flange",position:[0,-.24,0],rotation:[-Math.PI,0,0]}),o.jsx("group",{name:"link_6",position:[0,-.213,0],rotation:[0,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals006",children:[o.jsx("mesh",{name:"visuals006_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals006_1.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals006_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals006_2.geometry,material:a.material_Material_Metall})]})})]}),o.jsx("group",{name:"link_5",position:[0,.044,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsx("mesh",{name:"visuals005",castShadow:!0,receiveShadow:!0,geometry:r.visuals005.geometry,material:a.material_Material_Farbe})})]}),o.jsx("group",{name:"link_4",position:[0,-.954,0],rotation:[0,0,-Math.PI/2],children:o.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:r.visuals004.geometry,material:a.material_Material_Farbe})})]}),o.jsx("group",{name:"link_3",position:[0,-.178,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals003",children:[o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_3.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_4.geometry,material:a.material_Material_Farbe})]})})]}),o.jsx("group",{name:"link_2",rotation:[Math.PI/2,0,0],children:o.jsxs("group",{name:"visuals002",children:[o.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_1.geometry,material:a.material_Material_Farbe}),o.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_2.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_3.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals002_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_4.geometry,material:a.material_Material_Farbe__2_})]})})]}),o.jsx("group",{name:"link_1",position:[0,.226,0],children:o.jsxs("group",{name:"visuals001",children:[o.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_1.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_2.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_3.geometry,material:a.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_4.geometry,material:a.material_Material_Farbe})]})})]}),o.jsx("group",{name:"link_0-base",children:o.jsxs("group",{name:"visuals",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.material_Material_Farbe__1_})]})})]})})})}Ru.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0],rotationSign:[-1,1,1,1,1,1]};function Ru({modelURL:e,...t}){const{nodes:n,materials:r}=H.useGLTF(e);return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:r.kuka_metal}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:r.kuka_black})]}),o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J00",children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J01",position:[.025,.4,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J02",position:[.335,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J03",position:[.025,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J04",position:[0,-.365,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J05",rotation:[-Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"KUKA_KR6R700-2_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.kuka_black,position:[.425,.725,0],rotation:[-Math.PI,0,Math.PI/2]})]}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:r.kuka_white,position:[-.425,0,.725],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_4",position:[-.425,.36,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4.geometry,material:r.kuka_white}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4_1.geometry,material:r.kuka_orange})]})]}),o.jsx("mesh",{name:"link_3",castShadow:!0,receiveShadow:!0,geometry:n.link_3.geometry,material:r.kuka_white,position:[-.4,0,.36],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_2",position:[-.025,0,-.4],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2.geometry,material:r.kuka_white}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2_1.geometry,material:r.kuka_orange})]})]}),o.jsx("mesh",{name:"link_1",castShadow:!0,receiveShadow:!0,geometry:n.link_1.geometry,material:r.kuka_white})]})]})})}function F1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J00",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_1.geometry,material:a.universalrobots_aluminum})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J01",position:[0,.127,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_1",position:[0,0,.127],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_3.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_1_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_4.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_5.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J02",position:[-.612,0,0],children:[o.jsxs("group",{name:"link_2",position:[.612,0,.127],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_2_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_4.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_2_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_5.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J03",position:[-.572,0,0],children:[o.jsxs("group",{name:"link_3",position:[1.184,0,.127],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_3_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_4.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J04",position:[0,.164,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_4",position:[1.184,.127,.164],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_3.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_4_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_4.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J05",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_5",position:[1.184,-.164,.012],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_5_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_3.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_5_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_4.geometry,material:a.universalrobots_lightblue})]}),o.jsx("group",{name:"UNIVERSALROBOTS_UR10CB_FLG",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:o.jsxs("group",{name:"link_6",position:[1.184,-.012,-.28],children:[o.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_1.geometry,material:a.universalrobots_aluminum})]})})]})]})]})]})]})]})})})}function D1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"UR10e",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J02",position:[0,.181,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J03",position:[-.613,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J04",position:[-.572,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J05",position:[0,.174,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J06",position:[0,.12,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_FLG",position:[1.184,-.174,.061],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000493",geometry:r["C-1000493"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000493_1",geometry:r["C-1000493_1"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0})]}),o.jsx("group",{name:"UR10e_L07",position:[0,.117,0]})]}),o.jsxs("group",{name:"UR10e_L06",position:[1.184,.181,.174],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"C-1000492",geometry:r["C-1000492"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000492_1",geometry:r["C-1000492_1"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000492_2",geometry:r["C-1000492_2"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000492_3",geometry:r["C-1000492_3"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L05",position:[1.184,0,.181],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000491",geometry:r["C-1000491"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000491_1",geometry:r["C-1000491_1"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000491_2",geometry:r["C-1000491_2"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000491_3",geometry:r["C-1000491_3"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L04",position:[.613,0,.181],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000490",geometry:r["C-1000490"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000490_1",geometry:r["C-1000490_1"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000490_2",geometry:r["C-1000490_2"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000490_3",geometry:r["C-1000490_3"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs(v.animated.group,{name:"UR10e_L03",position:[0,0,.181],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000489",geometry:r["C-1000489"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_1",geometry:r["C-1000489_1"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_2",geometry:r["C-1000489_2"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_3",geometry:r["C-1000489_3"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_4",geometry:r["C-1000489_4"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L02",children:[o.jsx("mesh",{name:"C-1000488",geometry:r["C-1000488"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000488_1",geometry:r["C-1000488_1"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000488_2",geometry:r["C-1000488_2"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000488_3",geometry:r["C-1000488_3"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L01",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000487",geometry:r["C-1000487"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000487_1",geometry:r["C-1000487_1"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0})]})]})})})})}function B1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"UR3",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J03",position:[-.244,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J04",position:[-.213,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J05",position:[0,.112,0],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"UR3_05",castShadow:!0,receiveShadow:!0,geometry:r.UR3_05.geometry,material:a.Standard}),o.jsxs(v.animated.group,{name:"UR3_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"UR3_FLG",position:[0,.082,0]}),o.jsx("mesh",{name:"UR3_L06",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L06.geometry,material:a.Standard})]})]}),o.jsx("mesh",{name:"UR3_L04",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L04.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L03",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L03.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L02",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L02.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L01",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L01.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L00",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L00.geometry,material:a.Standard,rotation:[-Math.PI/2,0,0]})]})})})})}function U1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Empty",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_1.geometry,material:a.universalrobots_aluminum})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J00",children:[o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_4.geometry,material:a.universalrobots_stainlesssteel})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J01",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_2",position:[0,0,.152],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_1.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_3.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J02",position:[-.244,0,0],children:[o.jsxs("group",{name:"link_3",position:[.244,0,.152],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_3.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J03",position:[-.213,0,0],children:[o.jsxs("group",{name:"link_4",position:[.457,0,.152],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J04",position:[0,.131,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_5",position:[.457,.152,.131],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J05",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_6",position:[.457,-.131,.067],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_6_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_2.geometry,material:a.universalrobots_aluminum})]}),o.jsx("group",{name:"UNIVERSALROBOTS_UR3E_FLG",position:[0,.092,0]})]})]})]})]})]})]})]})})}function J1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J00",children:[o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_3.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J01",position:[0,.089,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_2",position:[0,0,.089],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_1.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_2_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_4.geometry,material:a.universalrobots_darkgrey})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J02",position:[-.425,0,0],children:[o.jsxs("group",{name:"link_3",position:[.425,0,.089],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_3.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_3_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_4.geometry,material:a.universalrobots_stainlesssteel})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J03",position:[-.392,0,0],children:[o.jsxs("group",{name:"link_4",position:[.817,0,.089],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_3.geometry,material:a.universalrobots_black})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J04",position:[0,.109,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_5",position:[.817,.089,.109],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_5_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_3.geometry,material:a.universalrobots_black})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J05",position:[0,.095,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.universalrobots_stainlesssteel,position:[.817,-.109,-.005],rotation:[-Math.PI/2,0,0]}),o.jsx("group",{name:"UNIVERSALROBOTS_UR5CB_FLG",position:[0,.082,0]})]})]})]})]})]})]}),o.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:r.link_0.geometry,material:a.universalrobots_aluminum})]})})}function V1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"UR5e",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J02",position:[0,.162,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J03",position:[-.425,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J04",position:[-.392,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J05",position:[0,.133,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J06",position:[0,.1,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"UR5e_FLG",position:[0,.1,0]}),o.jsx("group",{name:"UR5e_L06",position:[0,.1,0],rotation:[0,0,-Math.PI],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000255",castShadow:!0,receiveShadow:!0,geometry:r["C-1000255"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000255_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000255_1"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L05",rotation:[-Math.PI/2,-Math.PI/3,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000253",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000253_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000253_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253_2"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000253_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253_3"].geometry,material:a.DarkGray})]})})]}),o.jsx("group",{name:"UR5e_L04",rotation:[0,-Math.PI/3,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000251",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000251_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000251_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251_2"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000251_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251_3"].geometry,material:a.DarkGray})]})})]}),o.jsx("group",{name:"UR5e_L03",children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000250",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000250_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_1"].geometry,material:a.DarkGray}),o.jsx("mesh",{name:"C-1000250_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_2"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000250_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_3"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000250_4",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_4"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L02",rotation:[0,-Math.PI/2,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000249",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000249_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000249_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_2"].geometry,material:a.DarkGray}),o.jsx("mesh",{name:"C-1000249_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_3"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000249_4",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_4"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L01",rotation:[Math.PI/2,0,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000248",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248"].geometry,material:a.DarkGray}),o.jsx("mesh",{name:"C-1000248_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000248_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248_2"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000248_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248_3"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L00",children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000257",castShadow:!0,receiveShadow:!0,geometry:r["C-1000257"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000257_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000257_1"].geometry,material:a.Metal})]})})]})})})})}Au.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Au({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"AR1440",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J02",position:[.155,0,0],rotation:[Math.PI/2,0,Math.PI],children:[o.jsxs(v.animated.group,{name:"AR1440_J03",position:[.614,0,0],rotation:[Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J05",position:[0,-.64,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR1440_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR1440_L06_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L06_CAD.geometry,material:a.metall})]}),o.jsx("mesh",{name:"AR1440_L05_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L05_CAD.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR1440_L04_CAD",children:[o.jsx("mesh",{name:"AR1440_L04_CAD001",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L04_CAD001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR1440_L04_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L04_CAD001_1.geometry,material:a.white})]})]}),o.jsxs("group",{name:"AR1440_L03_CAD",children:[o.jsx("mesh",{name:"AR1440_L03_CAD001",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L03_CAD001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR1440_L03_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L03_CAD001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR1440_L02_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L02_CAD.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR1440_L01_CAD",children:[o.jsx("mesh",{name:"AR1440_L01_CAD001",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L01_CAD001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR1440_L01_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L01_CAD001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR1440_L00_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L00_CAD.geometry,material:a.yaskawaBlueMetall,position:[0,0,.45],rotation:[-Math.PI/2,0,0]})]})})})})}Pu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Pu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"AR1730_J00",children:[o.jsxs(v.animated.group,{name:"AR1730_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"AR1730_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR1730_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1730_J04",position:[0,-.795,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1730_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR1730_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR1730_L06",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L06.geometry,material:a.Metal,rotation:[Math.PI/2,-Math.PI/2,0]})]}),o.jsx("mesh",{name:"AR1730_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L05.geometry,material:a.Blue,rotation:[Math.PI/2,0,Math.PI/2]})]}),o.jsxs("group",{name:"AR1730_L04",position:[0,-.302,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"_R_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:r._R_AXIS_SW0001002.geometry,material:a.Blue}),o.jsx("mesh",{name:"_R_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:r._R_AXIS_SW0001002_1.geometry,material:a.White})]})]}),o.jsxs("group",{name:"AR1730_L03",rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"_U_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:r._U_AXIS_SW0001002.geometry,material:a.Blue}),o.jsx("mesh",{name:"_U_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:r._U_AXIS_SW0001002_1.geometry,material:a.Black})]})]}),o.jsx("mesh",{name:"AR1730_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L02.geometry,material:a.Blue,position:[0,-.157,0],rotation:[-Math.PI,-1.571,0]})]}),o.jsxs("group",{name:"AR1730_L01",position:[0,-.336,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"_S_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:r._S_AXIS_SW0001002.geometry,material:a.Blue}),o.jsx("mesh",{name:"_S_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:r._S_AXIS_SW0001002_1.geometry,material:a.Black})]})]}),o.jsx("mesh",{name:"AR1730_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L00.geometry,material:a.Blue,position:[0,-.505,0],rotation:[Math.PI/2,0,-Math.PI/2]})]})})})}Cu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Cu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"AR2010",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR2010_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR2010_J02",position:[.15,0,0],rotation:[Math.PI/2,0,Math.PI],children:[o.jsxs(v.animated.group,{name:"AR2010_J03",position:[.76,0,0],rotation:[Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR2010_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR2010_J05",position:[0,-1.082,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR2010_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR2010_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsxs("group",{name:"AR2010_L06",children:[o.jsx("mesh",{name:"AR2010_06001",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_06001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR2010_06001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_06001_1.geometry,material:a.metall})]})]}),o.jsx("mesh",{name:"AR2010_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_L05.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR2010_L04",children:[o.jsx("mesh",{name:"AR2010_04001",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_04001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR2010_04001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_04001_1.geometry,material:a.white})]})]}),o.jsxs("group",{name:"AR2010_L03",children:[o.jsx("mesh",{name:"AR2010_03001",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_03001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR2010_03001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_03001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR2010_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_L02.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR2010_L01",children:[o.jsx("mesh",{name:"AR2010_01001",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_01001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR2010_01001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_01001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR2010_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_L00.geometry,material:a.yaskawaBlueMetall,rotation:[-Math.PI/2,0,0]})]})})})})}Mu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Mu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"AR3120_J00",children:[o.jsxs(v.animated.group,{name:"AR3120_J01",position:[.145,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"AR3120_J02",position:[1.15,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR3120_J03",position:[.25,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR3120_J04",position:[0,-1.812,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR3120_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR3120_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR3120_L06",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L06.geometry,material:a["Metal.001"],rotation:[Math.PI/2,-Math.PI/2,0]})]}),o.jsx("mesh",{name:"AR3120_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L05.geometry,material:a["Blue.001"],rotation:[Math.PI/2,0,Math.PI/2]})]}),o.jsxs("group",{name:"AR3120_L04",rotation:[Math.PI/2,-Math.PI/2,0],children:[o.jsx("mesh",{name:"R_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:r.R_AXIS_GP20HL001.geometry,material:a["Blue.001"]}),o.jsx("mesh",{name:"R_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:r.R_AXIS_GP20HL001_1.geometry,material:a["White.001"]})]})]}),o.jsxs("group",{name:"AR3120_L03",rotation:[Math.PI,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_3001",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_3001.geometry,material:a["Blue.001"]}),o.jsx("mesh",{name:"Mesh_3001_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_3001_1.geometry,material:a["Black.001"]})]})]}),o.jsx("mesh",{name:"AR3120_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L02.geometry,material:a["Blue.001"],position:[0,-.146,0],rotation:[Math.PI,0,0]})]}),o.jsxs("group",{name:"AR3120_L01",position:[0,-.228,0],rotation:[0,-1.571,0],children:[o.jsx("mesh",{name:"S_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:r.S_AXIS_GP20HL001.geometry,material:a["Blue.001"]}),o.jsx("mesh",{name:"S_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:r.S_AXIS_GP20HL001_1.geometry,material:a["Black.001"]})]})]}),o.jsx("mesh",{name:"AR3120_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L00.geometry,material:a["Blue.001"],position:[0,-.54,0]})]})})})}po.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function po({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"AR900",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J02",position:[.04,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"AR900_J03",position:[.445,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J04",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J05",position:[0,-.44,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR900_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR900_L06",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L06.geometry,material:a["#BBA474.001"]})]}),o.jsx("mesh",{name:"AR900_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L05.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L04",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L04.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L03",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L03.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L02.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L01",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L01.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L00.geometry,material:a["#0056b9.001"],rotation:[-Math.PI/2,0,0]})]})})})})}ku.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function ku({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"shape439",castShadow:!0,receiveShadow:!0,geometry:r.shape439.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape439_1",castShadow:!0,receiveShadow:!0,geometry:r.shape439_1.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape439_2",castShadow:!0,receiveShadow:!0,geometry:r.shape439_2.geometry,material:a.yaskawa_black})]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J00",position:[0,-.54,0],children:[o.jsxs("group",{name:"link_1",position:[0,.54,0],children:[o.jsx("mesh",{name:"shape320",castShadow:!0,receiveShadow:!0,geometry:r.shape320.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape320_1",castShadow:!0,receiveShadow:!0,geometry:r.shape320_1.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape320_2",castShadow:!0,receiveShadow:!0,geometry:r.shape320_2.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape320_3",castShadow:!0,receiveShadow:!0,geometry:r.shape320_3.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape320_4",castShadow:!0,receiveShadow:!0,geometry:r.shape320_4.geometry,material:a.yaskawa_white}),o.jsx("mesh",{name:"shape320_5",castShadow:!0,receiveShadow:!0,geometry:r.shape320_5.geometry,material:a.yaskawa_black})]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J01",position:[.145,.54,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs("group",{name:"link_2",position:[0,0,.145],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape440",castShadow:!0,receiveShadow:!0,geometry:r.shape440.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape440_1",castShadow:!0,receiveShadow:!0,geometry:r.shape440_1.geometry,material:a.yaskawa_white}),o.jsx("mesh",{name:"shape440_2",castShadow:!0,receiveShadow:!0,geometry:r.shape440_2.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape440_3",castShadow:!0,receiveShadow:!0,geometry:r.shape440_3.geometry,material:a.yaskawa_black})]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J02",position:[.87,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs("group",{name:"link_3",position:[-.87,0,-.145],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape341",castShadow:!0,receiveShadow:!0,geometry:r.shape341.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape341_1",castShadow:!0,receiveShadow:!0,geometry:r.shape341_1.geometry,material:a.yaskawa_white}),o.jsx("mesh",{name:"shape341_2",castShadow:!0,receiveShadow:!0,geometry:r.shape341_2.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape341_3",castShadow:!0,receiveShadow:!0,geometry:r.shape341_3.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape341_4",castShadow:!0,receiveShadow:!0,geometry:r.shape341_4.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape341_5",castShadow:!0,receiveShadow:!0,geometry:r.shape341_5.geometry,material:a.yaskawa_metalsilver})]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J03",position:[.21,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:r.link_4.geometry,material:a.yaskawa_blue,position:[-1.08,.145,0],rotation:[0,0,-Math.PI/2]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J04",position:[0,-1.025,0],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:r.link_5.geometry,material:a.yaskawa_blue,position:[-1.08,0,-1.17],rotation:[-Math.PI/2,0,-Math.PI/2]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.yaskawa_metalsilver,position:[-1.08,1.17,0],rotation:[0,0,-Math.PI/2]}),o.jsx("group",{name:"YASKAWA_GP50_FLG",position:[0,-.175,0],rotation:[-Math.PI,0,0]})]})]})]})]})]})]})]})})})}const G1="(^joint_[0-9]+$)|(_J[0-9]+$)";function Iu(e){return e.children.length===0?[e]:[e,...e.children.flatMap(t=>Iu(t))]}function z1(e,t){return new RegExp(t??G1).test(e)}function Tu(e,t){return Iu(e).filter(n=>z1(n.name,t))}function Ou({rapidlyChangingMotionState:e,jointCollector:t,onRotationChanged:n,robotConfig:r,children:a}){v.Globals.assign({frameLoop:"always"});const s=Y.useRef([]),i=Y.useRef([]),{invalidate:l}=Ku.useThree();function u(y){y&&(i.current=t?t(y):Tu(y),m(),l())}function c(y){s.current=y,_.start(Object.assign({},s.current))}const d=(r==null?void 0:r.rotationSign)||[1,1,1,1,1,1],h=(r==null?void 0:r.rotationOffsets)||[0,0,0,0,0,0];function m(){const y=i.current.map((p,x)=>b[x].get());if(n)n(i.current,y);else for(const[p,x]of i.current.entries())x.rotation.y=d[p]*y[p]+h[p]}dl(()=>{const y=e.state.joint_position.joints.filter(p=>p!==void 0);requestAnimationFrame(()=>c(y))});const[b,_]=v.useSpring(()=>({...Object.assign({},e.state.joint_position.joints),onChange:()=>{m(),l()},onResolve:()=>{m()}}));return o.jsx("group",{ref:u,children:a})}const wi="line",ji="mesh";function Va({rapidlyChangingMotionState:e,dhParameters:t,...n}){const r=new St.Matrix4;function a(u,c){const d=new St.Vector3,h=new St.Quaternion,m=new St.Vector3;r.decompose(d,h,m);const b=d.clone(),_=new St.Matrix4().makeRotationY(u.theta+c*(u.reverse_rotation_direction?-1:1)).multiply(new St.Matrix4().makeTranslation(0,u.d/1e3,0)).multiply(new St.Matrix4().makeTranslation(u.a/1e3,0,0)).multiply(new St.Matrix4().makeRotationX(u.alpha));return r.multiply(_),r.decompose(d,h,m),{a:b,b:d}}function s(u,c,d,h){if(!t)return;const m=t[u];if(!m)return;const{a:b,b:_}=a(m,h);c.geometry.setPositions([b.toArray(),_.toArray()].flat()),d.position.set(_.x,_.y,_.z)}function i(u,c){r.identity(),u.forEach((d,h)=>{s(h,d.getObjectByName(wi),d.getObjectByName(ji),c[h])})}function l(u){return Tu(u,"^group_[0-9]+$")}return o.jsx(o.Fragment,{children:o.jsx(Ou,{rapidlyChangingMotionState:e,jointCollector:l,onRotationChanged:i,children:o.jsxs("group",{...n,name:"Scene",children:[o.jsxs("mesh",{children:[o.jsx("sphereGeometry",{args:[.01,32,32]}),o.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]}),t.map((u,c)=>{const{a:d,b:h}=a(u,e.state.joint_position.joints[c]??0);return o.jsxs("group",{name:`group_${c}`,children:[o.jsx(H.Line,{name:wi,points:[d,h],color:"white",lineWidth:5}),o.jsxs("mesh",{name:ji,position:h,children:[o.jsx("sphereGeometry",{args:[.01,32,32]}),o.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]},"mesh_"+c)]},"group_"+c)})]})})})}const K1=console.warn;function W1(){return Y.useEffect(()=>{console.warn=e=>{e!=="Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"&&K1(e)}},[]),o.jsx(o.Fragment,{})}Eu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function Eu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0.geometry,material:a.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_1.geometry,material:a.fanuc_stainless_steel}),o.jsx("mesh",{name:"visuals_0_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_2.geometry,material:a.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_0_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_3.geometry,material:a.fanuc_stainless_steel}),o.jsx("mesh",{name:"visuals_0_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_4.geometry,material:a.fanuc_aluminium_black}),o.jsx("mesh",{name:"visuals_0_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_5.geometry,material:a.fanuc_aluminium_black}),o.jsx("mesh",{name:"visuals_0_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_6.geometry,material:a.fanuc_rubber})]}),o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J00",children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J02",position:[.71,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"FANUC_CRX10IAL_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsxs("group",{name:"link_6",position:[-.71,.54,-.15],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6.geometry,material:a.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_1.geometry,material:a.fanuc_stainless_steel}),o.jsx("mesh",{name:"visuals_6_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_2.geometry,material:a.fanuc_aluminium_black}),o.jsx("mesh",{name:"visuals_6_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_3.geometry,material:a.fanuc_aluminium_black})]})]}),o.jsxs("group",{name:"link_5",position:[-.71,0,-.54],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.fanuc_green}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.fanuc_stainless_steel})]})]}),o.jsxs("group",{name:"link_4",position:[-.71,0,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_3.geometry,material:a.fanuc_red})]})]}),o.jsxs("group",{name:"link_3",position:[-.71,0,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.fanuc_green})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:r.link_2.geometry,material:a.fanuc_white,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.fanuc_green}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.fanuc_green})]})]})]})})}function Vo(e){return`https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/${e}.glb`}const Lu=on(({rapidlyChangingMotionState:e,modelFromController:t,dhParameters:n,getModel:r=Vo,isGhost:a=!1,...s})=>{let i=null;const l=Y.useRef(),u=Y.useCallback(h=>{h&&(l.current=h,a&&c())},[a]),c=()=>{!l.current||l.current.userData.isGhost||(l.current.traverse(h=>{if(h instanceof Me.Mesh){h.material instanceof Me.Material&&(h.material.colorWrite=!0);const m=h.clone(),b=h.clone();m.material=new Me.MeshStandardMaterial({depthTest:!0,depthWrite:!0,colorWrite:!1,polygonOffset:!0,polygonOffsetFactor:1}),m.userData.isGhost=!0,b.material=new Me.MeshStandardMaterial({color:"#D91433",opacity:.3,depthTest:!0,depthWrite:!1,transparent:!0,polygonOffset:!0,polygonOffsetFactor:-1}),b.userData.isGhost=!0,h.parent&&(h.parent.add(m),h.parent.add(b))}}),l.current.userData.isGhost=!0)},d=()=>{if(!l.current||!l.current.userData.isGhost)return;const h=[];l.current.traverse(m=>{var b;m instanceof Me.Mesh&&((b=m.userData)!=null&&b.isGhost?h.push(m):m.material instanceof Me.Material&&(m.material.colorWrite=!0))}),h.forEach(m=>{m.parent&&m.parent.remove(m)}),l.current.userData.isGhost=!0};switch(Y.useEffect(()=>{a?c():d()},[a]),t){case"UniversalRobots_UR3":i=B1;break;case"UniversalRobots_UR3e":i=U1;break;case"UniversalRobots_UR5":i=J1;break;case"UniversalRobots_UR5e":i=V1;break;case"UniversalRobots_UR10":i=F1;break;case"UniversalRobots_UR10e":i=D1;break;case"Yaskawa_AR900":i=po;break;case"Yaskawa_GP7":i=po;break;case"Yaskawa_AR1440":i=Au;break;case"Yaskawa_AR1730":i=Pu;break;case"Yaskawa_AR2010":i=Cu;break;case"Yaskawa_AR3120":i=Mu;break;case"Yaskawa_GP50":i=ku;break;case"FANUC_CRX10iA":i=yu;break;case"FANUC_CRX10iAL":i=Eu;break;case"FANUC_CRX20iAL":i=_u;break;case"FANUC_CRX25iA":i=vu;break;case"FANUC_CRX25iAL":i=bu;break;case"FANUC_LR_Mate_200iD":i=Su;break;case"FANUC_LR_Mate_200iD7L":i=N1;break;case"FANUC_ARC_Mate_120iD":i=go;break;case"FANUC_ARC_Mate_120iD35":i=go;break;case"FANUC_ARC_Mate_100iD":i=pu;break;case"KUKA_KR210_R2700":i=wu;break;case"KUKA_KR270_R2700":i=ju;break;case"KUKA_KR16_R2010_2":i=xu;break;case"KUKA_KR6_R700_2":i=Ru;break;case"ABB_1200_07_7":i=fu;break;case"ABB_1300_115_10":i=gu;break;default:console.warn(`Unknown robot type: ${t}`),i=null}return o.jsxs(Xu.ErrorBoundary,{fallback:o.jsx(Va,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:[o.jsx(Y.Suspense,{fallback:o.jsx(Va,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:o.jsx("group",{ref:u,children:i?o.jsx(Ou,{rapidlyChangingMotionState:e,robotConfig:i.config,children:o.jsx(i,{modelURL:r(t),...s})}):o.jsx(Va,{rapidlyChangingMotionState:e,dhParameters:n})})}),o.jsx(W1,{})]})});function H1({connectedMotionGroup:e,getModel:t=Vo,isGhost:n=!1,...r}){return e.dhParameters?o.jsx(Lu,{rapidlyChangingMotionState:e.rapidlyChangingMotionState,modelFromController:e.modelFromController||"",dhParameters:e.dhParameters,getModel:t,isGhost:n,...r}):null}const X1=T.styled(T.Fab,{shouldForwardProp:e=>e!=="selected"})(({theme:e})=>{var t,n,r;return{borderRadius:"20px","&:hover":{background:(t=e.palette.backgroundPaperElevation)==null?void 0:t[7]},variants:[{props:({selected:a})=>!a,style:{background:(n=e.palette.backgroundPaperElevation)==null?void 0:n[0],color:e.palette.action.disabled,"> img":{opacity:.4}}},{props:({selected:a})=>a,style:{background:(r=e.palette.backgroundPaperElevation)==null?void 0:r[11],border:`1px solid ${e.palette.divider}`,color:e.palette.primary.contrastText}}]}}),q1=Y.forwardRef((e,t)=>o.jsx(X1,{ref:t,selected:e.selected,...e,color:"secondary",variant:"circular"})),Y1={$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"wandelscript",patterns:[{include:"#keywords"},{include:"#strings"},{include:"#comments"},{include:"#functions"}],repository:{keywords:{patterns:[{name:"keyword.control.flow.wandelscript",match:"\\b(move|via|to|interrupt|def|False|True|for|if|else|elif|while|return|switch|activate|deactivate|print)\\b"}]},strings:{name:"string.quoted.double.wandelscript",begin:'"',end:'"',patterns:[{name:"constant.character.escape.wandelscript",match:"\\\\."}]},comments:{patterns:[{begin:"#",beginCaptures:{0:{name:"punctuation.definition.comment.wandelscript"}},end:"$",name:"comment.line.number-sign.wandelscript"}]},functions:{patterns:[{match:"[a-zA-Z_-]+\\(",name:"entity.name.function.wandelscript"}]}},scopeName:"source.wandelscript"},Z1=Y.lazy(()=>import("@monaco-editor/react")),Q1=on(e=>{const t=T.useTheme(),n=Y.useRef(null),[r,a]=Y.useState("dark-plus"),s=t.palette.mode==="dark"?"dark-plus":"light-plus";async function i(l){const[{createHighlighter:u},{shikiToMonaco:c}]=await Promise.all([import("shiki"),import("@shikijs/monaco")]);l.languages.register({id:"wandelscript"}),l.languages.setLanguageConfiguration("wandelscript",{comments:{lineComment:"#"},brackets:[["(",")"],["[","]"]],autoClosingPairs:[{open:"[",close:"]"},{open:"(",close:")"}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"}]}),n.current||(n.current=await u({langs:[Y1],themes:["dark-plus","light-plus"]})),c(n.current,l),l.editor.defineTheme(s,{base:t.palette.mode==="dark"?"vs-dark":"vs",inherit:!0,rules:[],colors:t.palette.mode==="dark"?{"editor.background":"#262F42","editorLineNumber.foreground":"#797979","editorLineNumber.activeForeground":"#e9e9e9","editor.lineHighlightBorder":"#494949"}:{}}),e.monacoSetup&&e.monacoSetup(l),a(s)}return o.jsx(Y.Suspense,{fallback:o.jsx(fa,{}),children:o.jsx(Z1,{value:e.code,onMount:(l,u)=>{i(u)},onChange:e.onChange,defaultLanguage:"wandelscript",theme:r,options:{minimap:{enabled:!1},wordWrap:"on",automaticLayout:!0,...e.monacoOptions}})})});function $u(){var t,n,r,a,s,i;const e=T.createTheme({palette:{mode:"dark",text:{primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.38)"},primary:{main:"rgba(142, 86, 252, 1)",dark:"rgba(136, 58, 255, 1)",light:"rgba(157, 131, 246, 1)",contrastText:"rgba(255, 255, 255, 0.87)"},secondary:{main:"rgba(255, 255, 255, 1)",dark:"rgba(255, 255, 255, 0.06)",contrastText:"rgba(255, 255, 255, 0.87)"},tertiary:{main:"rgba(100, 255, 218, 1)",dark:"rgba(38, 166, 154, 1)",light:"rgba(167, 255, 235, 1)",contrastText:"rgba(0, 0, 0, 1)"},error:{main:"rgba(239, 83, 80, 1)",dark:"rgba(229, 57, 53, 1)",light:"rgba(239, 154, 154, 1)",contrastText:"rgba(255, 255, 255, 1)"},warning:{main:"rgba(255, 171, 64, 1)",dark:"rgba(255, 145, 0, 1)",light:"rgba(255, 209, 128, 1)",contrastText:"rgba(0, 0, 0, 0.87)"},success:{main:"rgba(38, 166, 154, 1)",dark:"rgba(0, 121, 107, 1)",light:"rgba(128, 203, 196, 1)",contrastText:"rgba(255, 255, 255, 0.87)"},background:{default:"rgba(2, 6, 23, 1)",paper:"rgba(17, 19, 31, 1)"},action:{active:"rgba(255, 255, 255, 0.56)",hover:"rgba(255, 255, 255, 0.08)",selected:"rgba(255, 255, 255, 0.16)",disabledBackground:"rgba(255, 255, 255, 0.12)",focus:"rgba(255, 255, 255, 0.12)",disabled:"rgba(255, 255, 255, 0.38)"},common:{white:"rgba(255, 255, 255, 1)",black:"rgba(0, 0, 0, 1)"},divider:"rgba(255, 255, 255, 0.12)",backgroundPaperElevation:{0:"rgba(17,19,31,1.0)",1:"rgba(20,22,35,1.0)",2:"rgba(23,25,39,1.0)",3:"rgba(26,28,43,1.0)",4:"rgba(29,31,47,1.0)",5:"rgba(32,34,51,1.0)",6:"rgba(35,37,55,1.0)",7:"rgba(38,40,59,1.0)",8:"rgba(41,43,63,1.0)",9:"rgba(44,46,67,1.0)",10:"rgba(47,49,71,1.0)",11:"rgba(50,52,75,1.0)",12:"rgba(53,55,79,1.0)",13:"rgba(56,58,83,1.0)",14:"rgba(59,61,87,1.0)",15:"rgba(62,64,91,1.0)",16:"rgba(57,63,87,1.0)"}},paletteExt:{primary:{hover:"rgba(142, 86, 252, 0.08)",selected:"rgba(142, 86, 252, 0.16)",focus:"rgba(142, 86, 252, 0.12)",focusVisible:"rgba(142, 86, 252, 0.3)",outlineBorder:"rgba(142, 86, 252, 0.5)"},secondary:{tonal:"rgba(255,255,255,0.1)"}}});return{...e,components:{MuiButton:{styleOverrides:{root:{textTransform:"none",borderRadius:"10px"}},variants:[{props:{color:"secondary",variant:"contained"},style:{border:`1px solid ${e.palette.divider}`,background:(r=(n=(t=e.paletteExt)==null?void 0:t.secondary)==null?void 0:n.tonal)==null?void 0:r.toString()}},{props:{color:"secondary",variant:"outlined"},style:{border:`1px solid ${e.palette.divider}`}}]},MuiDivider:{styleOverrides:{root:{border:"1px solid"}}},MuiTab:{styleOverrides:{root:{textTransform:"none",color:e.palette.text.secondary,"&.Mui-selected":{color:e.palette.text.primary}}}},MuiTabs:{styleOverrides:{root:{background:(a=e.palette.backgroundPaperElevation)==null?void 0:a[1]}}},MuiToggleButtonGroup:{styleOverrides:{root:{".MuiToggleButtonGroup-firstButton":{borderRadius:"10px 0 0 10px"},".MuiToggleButtonGroup-lastButton":{borderRadius:"0 10px 10px 0"}}}},MuiToggleButton:{styleOverrides:{root:{textTransform:"none",padding:"6px 16px"}}},MuiSelect:{variants:[{props:{variant:"filled"},style:{borderRadius:"10px","::before, ::after":{visibility:"collapse"},".MuiInputBase-input":{padding:"6px 16px",borderRadius:"10px"}}}]},MuiFab:{styleOverrides:{root:{background:(i=(s=e.paletteExt)==null?void 0:s.secondary)==null?void 0:i.tonal}},variants:[{props:{color:"primary"},style:{background:e.palette.primary.main}}]}},componentsExt:{JoggingCartesian:{Axis:{X:{backgroundColor:"rgba(215, 66, 56, 1)",borderColor:"rgba(215, 66, 56, 1)",buttonBackgroundColor:"rgba(241, 77, 66, 1)",color:"rgba(255, 255, 255, 1)"},Y:{backgroundColor:"rgba(20, 151, 108, 1)",borderColor:"rgba(20, 151, 108, 1)",buttonBackgroundColor:"rgba(28, 188, 135, 1)",color:"rgba(255, 255, 255, 1)"},Z:{backgroundColor:"rgba(1, 87, 155, 1)",borderColor:"rgba(1, 87, 155, 1)",buttonBackgroundColor:"rgba(2, 136, 209, 1)",color:"rgba(255, 255, 255, 1)"}}}}}}function ev(){const e=$u();return e.palette.mode="light",e}function tv(e){var n,r,a,s;let t=!0;return((n=e.palette)==null?void 0:n.mode)==="light"?t=!1:((r=e.palette)==null?void 0:r.mode)!=="dark"&&(t=!(typeof window<"u"&&((s=(a=window.matchMedia)==null?void 0:a.call(window,"(prefers-color-scheme: light)"))==null?void 0:s.matches))),t?$u():ev()}exports.JoggingCartesianAxisControl=eo;exports.JoggingJointRotationControl=yl;exports.JoggingPanel=T1;exports.LoadingCover=fa;exports.LoadingErrorMessage=Vl;exports.NoMotionGroupModal=L1;exports.PresetEnvironment=Zu;exports.Robot=H1;exports.SafetyZonesRenderer=tc;exports.SelectableFab=q1;exports.SupportedRobot=Lu;exports.VelocitySlider=su;exports.WandelscriptEditor=Q1;exports.createNovaMuiTheme=tv;exports.defaultAxisConfig=$1;exports.defaultGetModel=Vo;exports.useAnimationFrame=xr;exports.useAutorun=dl;exports.useMounted=ia;exports.useReaction=Io;
84
84
  //# sourceMappingURL=index.cjs.map