iobroker.ring 7.0.1 → 7.1.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/README.md +13 -24
- package/admin/assets/index-CVHA29bP.js +692 -0
- package/admin/tab_m.html +1 -1
- package/build/lib/ownRingCamera.js +36 -9
- package/build/lib/ownRingCamera.js.map +1 -1
- package/build/lib/ownRingDevice.js +5 -0
- package/build/lib/ownRingDevice.js.map +1 -1
- package/build/main.js +24 -0
- package/build/main.js.map +1 -1
- package/io-package.json +27 -27
- package/package.json +8 -8
- package/admin/assets/index-QX4NxbDg.js +0 -693
|
@@ -0,0 +1,692 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,o)=>(o=n==null?{}:e(i(n)),s(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var l=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&A(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&A(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,ee=k.port2;k.port1.onmessage=D,O=function(){ee.postMessage(null)}}else O=function(){_(D,0)};function A(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,A(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),u=o(((e,t)=>{t.exports=l()})),d=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ee=/\/+/g;function A(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function j(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function M(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,M(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+A(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(ee,`$&/`)+`/`),M(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(ee,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+A(a,u),c+=M(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+A(a,u++),c+=M(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return M(j(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function N(e,t,n){if(e==null)return e;var r=[],i=0;return M(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function P(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var F=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},I={map:N,forEach:function(e,t,n){N(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return N(e,function(){t++}),t},toArray:function(e){return N(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=I,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:P}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,F)}catch(e){F(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.8`})),f=o(((e,t)=>{t.exports=d()})),p=o((e=>{var t=f();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.8`})),m=o(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=p()})),h=o((e=>{var t=u(),n=f(),r=m();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function d(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function p(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=p(e),t!==null)return t;e=e.sibling}return null}var h=Object.assign,g=Symbol.for(`react.element`),_=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),T=Symbol.for(`react.suspense`),E=Symbol.for(`react.suspense_list`),D=Symbol.for(`react.memo`),O=Symbol.for(`react.lazy`),k=Symbol.for(`react.activity`),ee=Symbol.for(`react.memo_cache_sentinel`),A=Symbol.iterator;function j(e){return typeof e!=`object`||!e?null:(e=A&&e[A]||e[`@@iterator`],typeof e==`function`?e:null)}var M=Symbol.for(`react.client.reference`);function N(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===M?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case T:return`Suspense`;case E:return`SuspenseList`;case k:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case C:return e.displayName||`Context`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case w:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case D:return t=e.displayName||null,t===null?N(e.type)||`Memo`:t;case O:t=e._payload,e=e._init;try{return N(e(t))}catch{}}return null}var P=Array.isArray,F=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},te=[],ne=-1;function re(e){return{current:e}}function R(e){0>ne||(e.current=te[ne],te[ne]=null,ne--)}function z(e,t){ne++,te[ne]=e.current,e.current=t}var ie=re(null),ae=re(null),oe=re(null),se=re(null);function ce(e,t){switch(z(oe,t),z(ae,e),z(ie,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Ud(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Ud(t),e=Wd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}R(ie),z(ie,e)}function le(){R(ie),R(ae),R(oe)}function B(e){e.memoizedState!==null&&z(se,e);var t=ie.current,n=Wd(t,e.type);t!==n&&(z(ae,e),z(ie,n))}function ue(e){ae.current===e&&(R(ie),R(ae)),se.current===e&&(R(se),ep._currentValue=L)}var de,fe;function pe(e){if(de===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);de=t&&t[1]||``,fe=-1<e.stack.indexOf(`
|
|
2
|
+
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
3
|
+
`+de+e+fe}var me=!1;function he(e,t){if(!e||me)return``;me=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
|
|
4
|
+
`),l=s.split(`
|
|
5
|
+
`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
|
|
6
|
+
`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{me=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?pe(n):``}function ge(e,t){switch(e.tag){case 26:case 27:case 5:return pe(e.type);case 16:return pe(`Lazy`);case 13:return e.child!==t&&t!==null?pe(`Suspense Fallback`):pe(`Suspense`);case 19:return pe(`SuspenseList`);case 0:case 15:return he(e.type,!1);case 11:return he(e.type.render,!1);case 1:return he(e.type,!0);case 31:return pe(`Activity`);default:return``}}function _e(e){try{var t=``,n=null;do t+=ge(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
|
|
7
|
+
Error generating stack: `+e.message+`
|
|
8
|
+
`+e.stack}}var ve=Object.prototype.hasOwnProperty,ye=t.unstable_scheduleCallback,be=t.unstable_cancelCallback,xe=t.unstable_shouldYield,Se=t.unstable_requestPaint,Ce=t.unstable_now,we=t.unstable_getCurrentPriorityLevel,Te=t.unstable_ImmediatePriority,Ee=t.unstable_UserBlockingPriority,De=t.unstable_NormalPriority,Oe=t.unstable_LowPriority,ke=t.unstable_IdlePriority,Ae=t.log,je=t.unstable_setDisableYieldValue,Me=null,Ne=null;function Pe(e){if(typeof Ae==`function`&&je(e),Ne&&typeof Ne.setStrictMode==`function`)try{Ne.setStrictMode(Me,e)}catch{}}var Fe=Math.clz32?Math.clz32:Re,Ie=Math.log,Le=Math.LN2;function Re(e){return e>>>=0,e===0?32:31-(Ie(e)/Le|0)|0}var ze=256,Be=262144,Ve=4194304;function He(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ue(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=He(n))):i=He(o):i=He(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=He(n))):i=He(o)):i=He(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function We(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ge(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ke(){var e=Ve;return Ve<<=1,!(Ve&62914560)&&(Ve=4194304),e}function qe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Je(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ye(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Fe(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&Xe(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Xe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Fe(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function Ze(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Fe(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Qe(e,t){var n=t&-t;return n=n&42?1:$e(n),(n&(e.suspendedLanes|t))===0?n:0}function $e(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function et(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function tt(){var e=I.p;return e===0?(e=window.event,e===void 0?32:gp(e.type)):e}function nt(e,t){var n=I.p;try{return I.p=e,t()}finally{I.p=n}}var rt=Math.random().toString(36).slice(2),it=`__reactFiber$`+rt,at=`__reactProps$`+rt,ot=`__reactContainer$`+rt,st=`__reactEvents$`+rt,ct=`__reactListeners$`+rt,lt=`__reactHandles$`+rt,ut=`__reactResources$`+rt,dt=`__reactMarker$`+rt;function V(e){delete e[it],delete e[at],delete e[st],delete e[ct],delete e[lt]}function ft(e){var t=e[it];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ot]||n[it]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=pf(e);e!==null;){if(n=e[it])return n;e=pf(e)}return t}e=n,n=e.parentNode}return null}function pt(e){if(e=e[it]||e[ot]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function mt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function ht(e){var t=e[ut];return t||=e[ut]={hoistableStyles:new Map,hoistableScripts:new Map},t}function gt(e){e[dt]=!0}var _t=new Set,vt={};function yt(e,t){bt(e,t),bt(e+`Capture`,t)}function bt(e,t){for(vt[e]=t,e=0;e<t.length;e++)_t.add(t[e])}var xt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),St={},Ct={};function wt(e){return ve.call(Ct,e)?!0:ve.call(St,e)?!1:xt.test(e)?Ct[e]=!0:(St[e]=!0,!1)}function Tt(e,t,n){if(wt(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}}function Et(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Dt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Ot(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function kt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function At(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function jt(e){if(!e._valueTracker){var t=kt(e)?`checked`:`value`;e._valueTracker=At(e,t,``+e[t])}}function Mt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=kt(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}function Nt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var Pt=/[\n"\\]/g;function Ft(e){return e.replace(Pt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function It(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Ot(t)):e.value!==``+Ot(t)&&(e.value=``+Ot(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Rt(e,o,Ot(n)):Rt(e,o,Ot(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Ot(s):e.removeAttribute(`name`)}function Lt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){jt(e);return}n=n==null?``:``+Ot(n),t=t==null?n:``+Ot(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),jt(e)}function Rt(e,t,n){t===`number`&&Nt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function H(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Ot(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function zt(e,t,n){t!=null&&(t=``+Ot(t),t!==e.value&&(e.value=t),n==null)?e.defaultValue!==t&&(e.defaultValue=t):e.defaultValue=n==null?``:``+Ot(n)}function Bt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(P(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Ot(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),jt(e)}function Vt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ht=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function Ut(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Ht.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Wt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&Ut(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Ut(e,o,t[o])}function Gt(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var Kt=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),qt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Jt(e){return qt.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function Yt(){}var Xt=null;function Zt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Qt=null,$t=null;function en(e){var t=pt(e);if(t&&(e=t.stateNode)){var n=e[at]||null;a:switch(e=t.stateNode,t.type){case`input`:if(It(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Ft(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[at]||null;if(!a)throw Error(i(90));It(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Mt(r)}break a;case`textarea`:zt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&H(e,!!n.multiple,t,!1)}}}var tn=!1;function nn(e,t,n){if(tn)return e(t,n);tn=!0;try{return e(t)}finally{if(tn=!1,(Qt!==null||$t!==null)&&(yu(),Qt&&(t=Qt,e=$t,$t=Qt=null,en(t),e)))for(t=0;t<e.length;t++)en(e[t])}}function rn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[at]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var an=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,on=!1;if(an)try{var sn={};Object.defineProperty(sn,"passive",{get:function(){on=!0}}),window.addEventListener(`test`,sn,sn),window.removeEventListener(`test`,sn,sn)}catch{on=!1}var cn=null,ln=null,un=null;function dn(){if(un)return un;var e,t=ln,n=t.length,r,i=`value`in cn?cn.value:cn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return un=i.slice(e,1<r?1-r:void 0)}function fn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function pn(){return!0}function mn(){return!1}function hn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?pn:mn,this.isPropagationStopped=mn,this}return h(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=pn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=pn)},persist:function(){},isPersistent:pn}),t}var gn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_n=hn(gn),vn=h({},gn,{view:0,detail:0}),yn=hn(vn),bn,xn,Sn,Cn=h({},vn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Sn&&(Sn&&e.type===`mousemove`?(bn=e.screenX-Sn.screenX,xn=e.screenY-Sn.screenY):xn=bn=0,Sn=e),bn)},movementY:function(e){return`movementY`in e?e.movementY:xn}}),wn=hn(Cn),Tn=hn(h({},Cn,{dataTransfer:0})),En=hn(h({},vn,{relatedTarget:0})),Dn=hn(h({},gn,{animationName:0,elapsedTime:0,pseudoElement:0})),On=hn(h({},gn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),kn=hn(h({},gn,{data:0})),An={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},jn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Mn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Nn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Mn[e])?!!t[e]:!1}function Pn(){return Nn}var Fn=hn(h({},vn,{key:function(e){if(e.key){var t=An[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=fn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?jn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pn,charCode:function(e){return e.type===`keypress`?fn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?fn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),In=hn(h({},Cn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ln=hn(h({},vn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pn})),Rn=hn(h({},gn,{propertyName:0,elapsedTime:0,pseudoElement:0})),zn=hn(h({},Cn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Bn=hn(h({},gn,{newState:0,oldState:0})),Vn=[9,13,27,32],Hn=an&&`CompositionEvent`in window,Un=null;an&&`documentMode`in document&&(Un=document.documentMode);var Wn=an&&`TextEvent`in window&&!Un,Gn=an&&(!Hn||Un&&8<Un&&11>=Un),Kn=` `,qn=!1;function Jn(e,t){switch(e){case`keyup`:return Vn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Yn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Xn=!1;function Zn(e,t){switch(e){case`compositionend`:return Yn(t);case`keypress`:return t.which===32?(qn=!0,Kn):null;case`textInput`:return e=t.data,e===Kn&&qn?null:e;default:return null}}function Qn(e,t){if(Xn)return e===`compositionend`||!Hn&&Jn(e,t)?(e=dn(),un=ln=cn=null,Xn=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return Gn&&t.locale!==`ko`?null:t.data;default:return null}}var $n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function er(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!$n[e.type]:t===`textarea`}function tr(e,t,n,r){Qt?$t?$t.push(r):$t=[r]:Qt=r,t=Dd(t,`onChange`),0<t.length&&(n=new _n(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var nr=null,rr=null;function ir(e){yd(e,0)}function ar(e){if(Mt(mt(e)))return e}function or(e,t){if(e===`change`)return t}var sr=!1;if(an){var cr;if(an){var lr=`oninput`in document;if(!lr){var ur=document.createElement(`div`);ur.setAttribute(`oninput`,`return;`),lr=typeof ur.oninput==`function`}cr=lr}else cr=!1;sr=cr&&(!document.documentMode||9<document.documentMode)}function dr(){nr&&(nr.detachEvent(`onpropertychange`,fr),rr=nr=null)}function fr(e){if(e.propertyName===`value`&&ar(rr)){var t=[];tr(t,rr,e,Zt(e)),nn(ir,t)}}function pr(e,t,n){e===`focusin`?(dr(),nr=t,rr=n,nr.attachEvent(`onpropertychange`,fr)):e===`focusout`&&dr()}function mr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return ar(rr)}function hr(e,t){if(e===`click`)return ar(t)}function gr(e,t){if(e===`input`||e===`change`)return ar(t)}function _r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var vr=typeof Object.is==`function`?Object.is:_r;function yr(e,t){if(vr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ve.call(t,i)||!vr(e[i],t[i]))return!1}return!0}function br(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xr(e,t){var n=br(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=br(n)}}function Sr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Nt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Nt(e.document)}return t}function wr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Tr=an&&`documentMode`in document&&11>=document.documentMode,Er=null,Dr=null,Or=null,kr=!1;function Ar(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;kr||Er==null||Er!==Nt(r)||(r=Er,`selectionStart`in r&&wr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Or&&yr(Or,r)||(Or=r,r=Dd(Dr,`onSelect`),0<r.length&&(t=new _n(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Er)))}function jr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Mr={animationend:jr(`Animation`,`AnimationEnd`),animationiteration:jr(`Animation`,`AnimationIteration`),animationstart:jr(`Animation`,`AnimationStart`),transitionrun:jr(`Transition`,`TransitionRun`),transitionstart:jr(`Transition`,`TransitionStart`),transitioncancel:jr(`Transition`,`TransitionCancel`),transitionend:jr(`Transition`,`TransitionEnd`)},Nr={},Pr={};an&&(Pr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Mr.animationend.animation,delete Mr.animationiteration.animation,delete Mr.animationstart.animation),`TransitionEvent`in window||delete Mr.transitionend.transition);function Fr(e){if(Nr[e])return Nr[e];if(!Mr[e])return e;var t=Mr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Pr)return Nr[e]=t[n];return e}var Ir=Fr(`animationend`),Lr=Fr(`animationiteration`),Rr=Fr(`animationstart`),zr=Fr(`transitionrun`),Br=Fr(`transitionstart`),Vr=Fr(`transitioncancel`),Hr=Fr(`transitionend`),Ur=new Map,Wr=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);Wr.push(`scrollEnd`);function U(e,t){Ur.set(e,t),yt(t,[e])}var Gr=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},Kr=[],W=0,G=0;function qr(){for(var e=W,t=G=W=0;t<e;){var n=Kr[t];Kr[t++]=null;var r=Kr[t];Kr[t++]=null;var i=Kr[t];Kr[t++]=null;var a=Kr[t];if(Kr[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&Zr(n,i,a)}}function Jr(e,t,n,r){Kr[W++]=e,Kr[W++]=t,Kr[W++]=n,Kr[W++]=r,G|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Yr(e,t,n,r){return Jr(e,t,n,r),Qr(e)}function Xr(e,t){return Jr(e,null,null,t),Qr(e)}function Zr(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Fe(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function Qr(e){if(50<uu)throw uu=0,du=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var $r={};function ei(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ti(e,t,n,r){return new ei(e,t,n,r)}function ni(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ri(e,t){var n=e.alternate;return n===null?(n=ti(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function ii(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ai(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)ni(e)&&(s=1);else if(typeof e==`string`)s=Gf(e,n,ie.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case k:return e=ti(31,n,t,a),e.elementType=k,e.lanes=o,e;case y:return oi(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=ti(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case T:return e=ti(13,n,t,a),e.elementType=T,e.lanes=o,e;case E:return e=ti(19,n,t,a),e.elementType=E,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case C:s=10;break a;case S:s=9;break a;case w:s=11;break a;case D:s=14;break a;case O:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=ti(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function oi(e,t,n,r){return e=ti(7,e,r,t),e.lanes=n,e}function si(e,t,n){return e=ti(6,e,null,t),e.lanes=n,e}function ci(e){var t=ti(18,null,null,0);return t.stateNode=e,t}function li(e,t,n){return t=ti(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ui=new WeakMap;function di(e,t){if(typeof e==`object`&&e){var n=ui.get(e);return n===void 0?(t={value:e,source:t,stack:_e(t)},ui.set(e,t),t):n}return{value:e,source:t,stack:_e(t)}}var fi=[],pi=0,mi=null,hi=0,gi=[],_i=0,vi=null,yi=1,bi=``;function xi(e,t){fi[pi++]=hi,fi[pi++]=mi,mi=e,hi=t}function Si(e,t,n){gi[_i++]=yi,gi[_i++]=bi,gi[_i++]=vi,vi=e;var r=yi;e=bi;var i=32-Fe(r)-1;r&=~(1<<i),n+=1;var a=32-Fe(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,yi=1<<32-Fe(t)+i|n<<i|r,bi=a+e}else yi=1<<a|n<<i|r,bi=e}function Ci(e){e.return!==null&&(xi(e,1),Si(e,1,0))}function wi(e){for(;e===mi;)mi=fi[--pi],fi[pi]=null,hi=fi[--pi],fi[pi]=null;for(;e===vi;)vi=gi[--_i],gi[_i]=null,bi=gi[--_i],gi[_i]=null,yi=gi[--_i],gi[_i]=null}function Ti(e,t){gi[_i++]=yi,gi[_i++]=bi,gi[_i++]=vi,yi=t.id,bi=t.overflow,vi=e}var Ei=null,Di=null,K=!1,Oi=null,ki=!1,Ai=Error(i(519));function ji(e){throw Li(di(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Ai}function Mi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[it]=e,t[at]=r,n){case`dialog`:bd(`cancel`,t),bd(`close`,t);break;case`iframe`:case`object`:case`embed`:bd(`load`,t);break;case`video`:case`audio`:for(n=0;n<_d.length;n++)bd(_d[n],t);break;case`source`:bd(`error`,t);break;case`img`:case`image`:case`link`:bd(`error`,t),bd(`load`,t);break;case`details`:bd(`toggle`,t);break;case`input`:bd(`invalid`,t),Lt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:bd(`invalid`,t);break;case`textarea`:bd(`invalid`,t),Bt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Nd(t.textContent,n)?(r.popover!=null&&(bd(`beforetoggle`,t),bd(`toggle`,t)),r.onScroll!=null&&bd(`scroll`,t),r.onScrollEnd!=null&&bd(`scrollend`,t),r.onClick!=null&&(t.onclick=Yt),t=!0):t=!1,t||ji(e,!0)}function Ni(e){for(Ei=e.return;Ei;)switch(Ei.tag){case 5:case 31:case 13:ki=!1;return;case 27:case 3:ki=!0;return;default:Ei=Ei.return}}function Pi(e){if(e!==Ei)return!1;if(!K)return Ni(e),K=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||Gd(e.type,e.memoizedProps)),n=!n),n&&Di&&ji(e),Ni(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Di=ff(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Di=ff(e)}else t===27?(t=Di,$d(e.type)?(e=df,df=null,Di=e):Di=t):Di=Ei?uf(e.stateNode.nextSibling):null;return!0}function Fi(){Di=Ei=null,K=!1}function Ii(){var e=Oi;return e!==null&&(Xl===null?Xl=e:Xl.push.apply(Xl,e),Oi=null),e}function Li(e){Oi===null?Oi=[e]:Oi.push(e)}var Ri=re(null),zi=null,Bi=null;function Vi(e,t,n){z(Ri,t._currentValue),t._currentValue=n}function Hi(e){e._currentValue=Ri.current,R(Ri)}function Ui(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Wi(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Ui(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Ui(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Gi(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;vr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===se.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[ep]:e.push(ep))}a=a.return}e!==null&&Wi(t,e,n,r),t.flags|=262144}function Ki(e){for(e=e.firstContext;e!==null;){if(!vr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function qi(e){zi=e,Bi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ji(e){return Xi(zi,e)}function Yi(e,t){return zi===null&&qi(e),Xi(e,t)}function Xi(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Bi===null){if(e===null)throw Error(i(308));Bi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Bi=Bi.next=t;return n}var Zi=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Qi=t.unstable_scheduleCallback,$i=t.unstable_NormalPriority,ea={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ta(){return{controller:new Zi,data:new Map,refCount:0}}function na(e){e.refCount--,e.refCount===0&&Qi($i,function(){e.controller.abort()})}var ra=null,ia=0,aa=0,oa=null;function sa(e,t){if(ra===null){var n=ra=[];ia=0,aa=dd(),oa={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ia++,t.then(ca,ca),t}function ca(){if(--ia===0&&ra!==null){oa!==null&&(oa.status=`fulfilled`);var e=ra;ra=null,aa=0,oa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function la(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var ua=F.S;F.S=function(e,t){$l=Ce(),typeof t==`object`&&t&&typeof t.then==`function`&&sa(e,t),ua!==null&&ua(e,t)};var da=re(null);function fa(){var e=da.current;return e===null?Pl.pooledCache:e}function pa(e,t){t===null?z(da,da.current):z(da,t.pool)}function ma(){var e=fa();return e===null?null:{parent:ea._currentValue,pool:e}}var ha=Error(i(460)),ga=Error(i(474)),_a=Error(i(542)),va={then:function(){}};function ya(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ba(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Yt,Yt),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,wa(e),e;default:if(typeof t.status==`string`)t.then(Yt,Yt);else{if(e=Pl,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,wa(e),e}throw Sa=t,ha}}function xa(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Sa=e,ha):e}}var Sa=null;function Ca(){if(Sa===null)throw Error(i(459));var e=Sa;return Sa=null,e}function wa(e){if(e===ha||e===_a)throw Error(i(483))}var Ta=null,Ea=0;function Da(e){var t=Ea;return Ea+=1,Ta===null&&(Ta=[]),ba(Ta,e,t)}function Oa(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function ka(e,t){throw t.$$typeof===g?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Aa(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=ri(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=si(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===y?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===O&&xa(i)===t.type)?(t=a(t,n.props),Oa(t,n),t.return=e,t):(t=ai(n.type,n.key,n.props,null,e.mode,r),Oa(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=li(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=oi(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=si(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case _:return n=ai(t.type,t.key,t.props,null,e.mode,n),Oa(n,t),n.return=e,n;case v:return t=li(t,e.mode,n),t.return=e,t;case O:return t=xa(t),f(e,t,n)}if(P(t)||j(t))return t=oi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Da(t),n);if(t.$$typeof===C)return f(e,Yi(e,t),n);ka(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case _:return n.key===i?l(e,t,n,r):null;case v:return n.key===i?u(e,t,n,r):null;case O:return n=xa(n),p(e,t,n,r)}if(P(n)||j(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Da(n),r);if(n.$$typeof===C)return p(e,t,Yi(e,n),r);ka(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case _:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case v:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case O:return r=xa(r),m(e,t,n,r,i)}if(P(r)||j(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Da(r),i);if(r.$$typeof===C)return m(e,t,n,Yi(t,r),i);ka(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),K&&xi(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return K&&xi(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),K&&xi(i,h),l}function g(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),K&&xi(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return K&&xi(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),K&&xi(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case _:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&xa(l)===r.type){n(e,r.sibling),c=a(r,o.props),Oa(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===y?(c=oi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=ai(o.type,o.key,o.props,null,e.mode,c),Oa(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=li(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=xa(o),b(e,r,o,c)}if(P(o))return h(e,r,o,c);if(j(o)){if(l=j(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Da(o),c);if(o.$$typeof===C)return b(e,r,Yi(e,o),c);ka(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=si(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ea=0;var i=b(e,t,n,r);return Ta=null,i}catch(t){if(t===ha||t===_a)throw t;var a=ti(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var ja=Aa(!0),Ma=Aa(!1),Na=!1;function Pa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Fa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ia(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function La(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Nl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Qr(e),Zr(e,null,n),t}return Jr(e,r,t,n),Qr(e)}function Ra(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ze(e,n)}}function za(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ba=!1;function Va(){if(Ba){var e=oa;if(e!==null)throw e}}function Ha(e,t,n,r){Ba=!1;var i=e.updateQueue;Na=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Il&f)===f:(r&f)===f){f!==0&&f===aa&&(Ba=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(m=g.payload,typeof m==`function`){d=m.call(_,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=g.payload,f=typeof m==`function`?m.call(_,d,f):m,f==null)break a;d=h({},d,f);break a;case 2:Na=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Wl|=o,e.lanes=o,e.memoizedState=d}}function Ua(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Wa(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ua(n[e],t)}var Ga=re(null),Ka=re(0);function qa(e,t){e=Hl,z(Ka,e),z(Ga,t),Hl=e|t.baseLanes}function Ja(){z(Ka,Hl),z(Ga,Ga.current)}function Ya(){Hl=Ka.current,R(Ga),R(Ka)}var Xa=re(null),Za=null;function Qa(e){var t=e.alternate;z(ro,ro.current&1),z(Xa,e),Za===null&&(t===null||Ga.current!==null||t.memoizedState!==null)&&(Za=e)}function $a(e){z(ro,ro.current),z(Xa,e),Za===null&&(Za=e)}function eo(e){e.tag===22?(z(ro,ro.current),z(Xa,e),Za===null&&(Za=e)):to(e)}function to(){z(ro,ro.current),z(Xa,Xa.current)}function no(e){R(Xa),Za===e&&(Za=null),R(ro)}var ro=re(0);function io(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||sf(n)||cf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ao=0,oo=null,so=null,co=null,lo=!1,uo=!1,fo=!1,po=0,mo=0,ho=null,go=0;function _o(){throw Error(i(321))}function vo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!vr(e[n],t[n]))return!1;return!0}function yo(e,t,n,r,i,a){return ao=a,oo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,F.H=e===null||e.memoizedState===null?Ps:Y,fo=!1,a=n(r,i),fo=!1,uo&&(a=xo(t,n,r,i)),bo(e),a}function bo(e){F.H=J;var t=so!==null&&so.next!==null;if(ao=0,co=so=oo=null,lo=!1,mo=0,ho=null,t)throw Error(i(300));e===null||Xs||(e=e.dependencies,e!==null&&Ki(e)&&(Xs=!0))}function xo(e,t,n,r){oo=e;var a=0;do{if(uo&&(ho=null),mo=0,uo=!1,25<=a)throw Error(i(301));if(a+=1,co=so=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}F.H=Fs,o=t(n,r)}while(uo);return o}function So(){var e=F.H,t=e.useState()[0];return t=typeof t.then==`function`?ko(t):t,e=e.useState()[0],(so===null?null:so.memoizedState)!==e&&(oo.flags|=1024),t}function Co(){var e=po!==0;return po=0,e}function wo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function To(e){if(lo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}lo=!1}ao=0,co=so=oo=null,uo=!1,mo=po=0,ho=null}function Eo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return co===null?oo.memoizedState=co=e:co=co.next=e,co}function Do(){if(so===null){var e=oo.alternate;e=e===null?null:e.memoizedState}else e=so.next;var t=co===null?oo.memoizedState:co.next;if(t!==null)co=t,so=e;else{if(e===null)throw oo.alternate===null?Error(i(467)):Error(i(310));so=e,e={memoizedState:so.memoizedState,baseState:so.baseState,baseQueue:so.baseQueue,queue:so.queue,next:null},co===null?oo.memoizedState=co=e:co=co.next=e}return co}function Oo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ko(e){var t=mo;return mo+=1,ho===null&&(ho=[]),e=ba(ho,e,t),t=oo,(co===null?t.memoizedState:co.next)===null&&(t=t.alternate,F.H=t===null||t.memoizedState===null?Ps:Y),e}function Ao(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return ko(e);if(e.$$typeof===C)return Ji(e)}throw Error(i(438,String(e)))}function jo(e){var t=null,n=oo.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=oo.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Oo(),oo.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=ee;return t.index++,n}function Mo(e,t){return typeof t==`function`?t(e):t}function No(e){return Po(Do(),so,e)}function Po(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(ao&f)===f:(Il&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===aa&&(d=!0);else if((ao&p)===p){u=u.next,p===aa&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,oo.lanes|=p,Wl|=p;f=u.action,fo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,oo.lanes|=f,Wl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!vr(o,e.memoizedState)&&(Xs=!0,d&&(n=oa,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Fo(e){var t=Do(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);vr(o,t.memoizedState)||(Xs=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Io(e,t,n){var r=oo,a=Do(),o=K;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!vr((so||a).memoizedState,n);if(s&&(a.memoizedState=n,Xs=!0),a=a.queue,os(zo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||co!==null&&co.memoizedState.tag&1){if(r.flags|=2048,ns(9,{destroy:void 0},Ro.bind(null,r,a,n,t),null),Pl===null)throw Error(i(349));o||ao&127||Lo(r,t,n)}return n}function Lo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=oo.updateQueue,t===null?(t=Oo(),oo.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ro(e,t,n,r){t.value=n,t.getSnapshot=r,Bo(t)&&Vo(e)}function zo(e,t,n){return n(function(){Bo(t)&&Vo(e)})}function Bo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!vr(e,n)}catch{return!0}}function Vo(e){var t=Xr(e,2);t!==null&&mu(t,e,2)}function Ho(e){var t=Eo();if(typeof e==`function`){var n=e;if(e=n(),fo){Pe(!0);try{n()}finally{Pe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mo,lastRenderedState:e},t}function Uo(e,t,n,r){return e.baseState=n,Po(e,so,typeof r==`function`?r:Mo)}function Wo(e,t,n,r,a){if(js(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};F.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Go(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Go(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=F.T,o={};F.T=o;try{var s=n(i,r),c=F.S;c!==null&&c(o,s),Ko(e,t,s)}catch(n){Jo(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),F.T=a}}else try{a=n(i,r),Ko(e,t,a)}catch(n){Jo(e,t,n)}}function Ko(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){qo(e,t,n)},function(n){return Jo(e,t,n)}):qo(e,t,n)}function qo(e,t,n){t.status=`fulfilled`,t.value=n,Yo(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Go(e,n)))}function Jo(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Yo(t),t=t.next;while(t!==r)}e.action=null}function Yo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Xo(e,t){return t}function Zo(e,t){if(K){var n=Pl.formState;if(n!==null){a:{var r=oo;if(K){if(Di){b:{for(var i=Di,a=ki;i.nodeType!==8;)if(!a||(i=uf(i.nextSibling),i===null)){i=null;break b}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Di=uf(i.nextSibling),r=i.data===`F!`;break a}}ji(r)}r=!1}r&&(t=n[0])}}return n=Eo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xo,lastRenderedState:t},n.queue=r,n=Os.bind(null,oo,r),r.dispatch=n,r=Ho(!1),a=As.bind(null,oo,!1,r.queue),r=Eo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Wo.bind(null,oo,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Qo(e){return $o(Do(),so,e)}function $o(e,t,n){if(t=Po(e,t,Xo)[0],e=No(Mo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=ko(t)}catch(e){throw e===ha?_a:e}else r=t;t=Do();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(oo.flags|=2048,ns(9,{destroy:void 0},es.bind(null,i,n),null)),[r,a,e]}function es(e,t){e.action=t}function ts(e){var t=Do(),n=so;if(n!==null)return $o(t,n,e);Do(),t=t.memoizedState,n=Do();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ns(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=oo.updateQueue,t===null&&(t=Oo(),oo.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function rs(){return Do().memoizedState}function q(e,t,n,r){var i=Eo();oo.flags|=e,i.memoizedState=ns(1|t,{destroy:void 0},n,r===void 0?null:r)}function is(e,t,n,r){var i=Do();r=r===void 0?null:r;var a=i.memoizedState.inst;so!==null&&r!==null&&vo(r,so.memoizedState.deps)?i.memoizedState=ns(t,a,n,r):(oo.flags|=e,i.memoizedState=ns(1|t,a,n,r))}function as(e,t){q(8390656,8,e,t)}function os(e,t){is(2048,8,e,t)}function ss(e){oo.flags|=4;var t=oo.updateQueue;if(t===null)t=Oo(),oo.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function cs(e){var t=Do().memoizedState;return ss({ref:t,nextImpl:e}),function(){if(Nl&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function ls(e,t){return is(4,2,e,t)}function us(e,t){return is(4,4,e,t)}function ds(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function fs(e,t,n){n=n==null?null:n.concat([e]),is(4,4,ds.bind(null,t,e),n)}function ps(){}function ms(e,t){var n=Do();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&vo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function hs(e,t){var n=Do();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&vo(t,r[1]))return r[0];if(r=e(),fo){Pe(!0);try{e()}finally{Pe(!1)}}return n.memoizedState=[r,t],r}function gs(e,t,n){return n===void 0||ao&1073741824&&!(Il&261930)?e.memoizedState=t:(e.memoizedState=n,e=pu(),oo.lanes|=e,Wl|=e,n)}function _s(e,t,n,r){return vr(n,t)?n:Ga.current===null?!(ao&42)||ao&1073741824&&!(Il&261930)?(Xs=!0,e.memoizedState=n):(e=pu(),oo.lanes|=e,Wl|=e,t):(e=gs(e,n,r),vr(e,t)||(Xs=!0),e)}function vs(e,t,n,r,i){var a=I.p;I.p=a!==0&&8>a?a:8;var o=F.T,s={};F.T=s,As(e,!1,t,n);try{var c=i(),l=F.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?ks(e,t,la(c,r),fu(e)):ks(e,t,r,fu(e))}catch(n){ks(e,t,{then:function(){},status:`rejected`,reason:n},fu())}finally{I.p=a,o!==null&&s.types!==null&&(o.types=s.types),F.T=o}}function ys(){}function bs(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=xs(e).queue;vs(e,a,t,L,n===null?ys:function(){return Ss(e),n(r)})}function xs(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mo,lastRenderedState:L},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ss(e){var t=xs(e);t.next===null&&(t=e.alternate.memoizedState),ks(e,t.next.queue,{},fu())}function Cs(){return Ji(ep)}function ws(){return Do().memoizedState}function Ts(){return Do().memoizedState}function Es(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=fu();e=Ia(n);var r=La(t,e,n);r!==null&&(mu(r,t,n),Ra(r,t,n)),t={cache:ta()},e.payload=t;return}t=t.return}}function Ds(e,t,n){var r=fu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},js(e)?Ms(t,n):(n=Yr(e,t,n,r),n!==null&&(mu(n,e,r),Ns(n,t,r)))}function Os(e,t,n){ks(e,t,n,fu())}function ks(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(js(e))Ms(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,vr(s,o))return Jr(e,t,i,0),Pl===null&&qr(),!1}catch{}if(n=Yr(e,t,i,r),n!==null)return mu(n,e,r),Ns(n,t,r),!0}return!1}function As(e,t,n,r){if(r={lane:2,revertLane:dd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},js(e)){if(t)throw Error(i(479))}else t=Yr(e,n,r,2),t!==null&&mu(t,e,2)}function js(e){var t=e.alternate;return e===oo||t!==null&&t===oo}function Ms(e,t){uo=lo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ns(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ze(e,n)}}var J={readContext:Ji,use:Ao,useCallback:_o,useContext:_o,useEffect:_o,useImperativeHandle:_o,useLayoutEffect:_o,useInsertionEffect:_o,useMemo:_o,useReducer:_o,useRef:_o,useState:_o,useDebugValue:_o,useDeferredValue:_o,useTransition:_o,useSyncExternalStore:_o,useId:_o,useHostTransitionStatus:_o,useFormState:_o,useActionState:_o,useOptimistic:_o,useMemoCache:_o,useCacheRefresh:_o};J.useEffectEvent=_o;var Ps={readContext:Ji,use:Ao,useCallback:function(e,t){return Eo().memoizedState=[e,t===void 0?null:t],e},useContext:Ji,useEffect:as,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),q(4194308,4,ds.bind(null,t,e),n)},useLayoutEffect:function(e,t){return q(4194308,4,e,t)},useInsertionEffect:function(e,t){q(4,2,e,t)},useMemo:function(e,t){var n=Eo();t=t===void 0?null:t;var r=e();if(fo){Pe(!0);try{e()}finally{Pe(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Eo();if(n!==void 0){var i=n(t);if(fo){Pe(!0);try{n(t)}finally{Pe(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ds.bind(null,oo,e),[r.memoizedState,e]},useRef:function(e){var t=Eo();return e={current:e},t.memoizedState=e},useState:function(e){e=Ho(e);var t=e.queue,n=Os.bind(null,oo,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ps,useDeferredValue:function(e,t){return gs(Eo(),e,t)},useTransition:function(){var e=Ho(!1);return e=vs.bind(null,oo,e.queue,!0,!1),Eo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=oo,a=Eo();if(K){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Pl===null)throw Error(i(349));Il&127||Lo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,as(zo.bind(null,r,o,e),[e]),r.flags|=2048,ns(9,{destroy:void 0},Ro.bind(null,r,o,n,t),null),n},useId:function(){var e=Eo(),t=Pl.identifierPrefix;if(K){var n=bi,r=yi;n=(r&~(1<<32-Fe(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=po++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=go++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Cs,useFormState:Zo,useActionState:Zo,useOptimistic:function(e){var t=Eo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=As.bind(null,oo,!0,n),n.dispatch=t,[e,t]},useMemoCache:jo,useCacheRefresh:function(){return Eo().memoizedState=Es.bind(null,oo)},useEffectEvent:function(e){var t=Eo(),n={impl:e};return t.memoizedState=n,function(){if(Nl&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Y={readContext:Ji,use:Ao,useCallback:ms,useContext:Ji,useEffect:os,useImperativeHandle:fs,useInsertionEffect:ls,useLayoutEffect:us,useMemo:hs,useReducer:No,useRef:rs,useState:function(){return No(Mo)},useDebugValue:ps,useDeferredValue:function(e,t){return _s(Do(),so.memoizedState,e,t)},useTransition:function(){var e=No(Mo)[0],t=Do().memoizedState;return[typeof e==`boolean`?e:ko(e),t]},useSyncExternalStore:Io,useId:ws,useHostTransitionStatus:Cs,useFormState:Qo,useActionState:Qo,useOptimistic:function(e,t){return Uo(Do(),so,e,t)},useMemoCache:jo,useCacheRefresh:Ts};Y.useEffectEvent=cs;var Fs={readContext:Ji,use:Ao,useCallback:ms,useContext:Ji,useEffect:os,useImperativeHandle:fs,useInsertionEffect:ls,useLayoutEffect:us,useMemo:hs,useReducer:Fo,useRef:rs,useState:function(){return Fo(Mo)},useDebugValue:ps,useDeferredValue:function(e,t){var n=Do();return so===null?gs(n,e,t):_s(n,so.memoizedState,e,t)},useTransition:function(){var e=Fo(Mo)[0],t=Do().memoizedState;return[typeof e==`boolean`?e:ko(e),t]},useSyncExternalStore:Io,useId:ws,useHostTransitionStatus:Cs,useFormState:ts,useActionState:ts,useOptimistic:function(e,t){var n=Do();return so===null?(n.baseState=e,[e,n.queue.dispatch]):Uo(n,so,e,t)},useMemoCache:jo,useCacheRefresh:Ts};Fs.useEffectEvent=cs;function X(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:h({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Is={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=fu(),i=Ia(r);i.payload=t,n!=null&&(i.callback=n),t=La(e,i,r),t!==null&&(mu(t,e,r),Ra(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=fu(),i=Ia(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=La(e,i,r),t!==null&&(mu(t,e,r),Ra(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=fu(),r=Ia(n);r.tag=2,t!=null&&(r.callback=t),t=La(e,r,n),t!==null&&(mu(t,e,n),Ra(t,e,n))}};function Ls(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!yr(n,r)||!yr(i,a):!0}function Rs(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Is.enqueueReplaceState(t,t.state,null)}function zs(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=h({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Bs(e){Gr(e)}function Vs(e){console.error(e)}function Hs(e){Gr(e)}function Us(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Ws(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Gs(e,t,n){return n=Ia(n),n.tag=3,n.payload={element:null},n.callback=function(){Us(e,t)},n}function Ks(e){return e=Ia(e),e.tag=3,e}function qs(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Ws(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Ws(t,n,r),typeof i!=`function`&&(nu===null?nu=new Set([this]):nu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Js(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Gi(t,n,a,!0),n=Xa.current,n!==null){switch(n.tag){case 31:case 13:return Za===null?Eu():n.alternate===null&&Ul===0&&(Ul=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===va?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Gu(e,r,a)),!1;case 22:return n.flags|=65536,r===va?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Gu(e,r,a)),!1}throw Error(i(435,n.tag))}return Gu(e,r,a),Eu(),!1}if(K)return t=Xa.current,t===null?(r!==Ai&&(t=Error(i(423),{cause:r}),Li(di(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=di(r,n),a=Gs(e.stateNode,r,a),za(e,a),Ul!==4&&(Ul=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Ai&&(e=Error(i(422),{cause:r}),Li(di(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=di(o,n),Yl===null?Yl=[o]:Yl.push(o),Ul!==4&&(Ul=2),t===null)return!0;r=di(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Gs(n.stateNode,r,e),za(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(nu===null||!nu.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Ks(a),qs(a,e,n,r),za(n,a),!1}n=n.return}while(n!==null);return!1}var Ys=Error(i(461)),Xs=!1;function Zs(e,t,n,r){t.child=e===null?Ma(t,null,n,r):ja(t,e.child,n,r)}function Qs(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return qi(t),r=yo(e,t,n,o,a,i),s=Co(),e!==null&&!Xs?(wo(e,t,i),Sc(e,t,i)):(K&&s&&Ci(t),t.flags|=1,Zs(e,t,r,i),t.child)}function $s(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!ni(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,ec(e,t,a,r,i)):(e=ai(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Cc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?yr:n,n(o,r)&&e.ref===t.ref)return Sc(e,t,i)}return t.flags|=1,e=ri(a,r),e.ref=t.ref,e.return=t,t.child=e}function ec(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(yr(a,r)&&e.ref===t.ref){if(Xs=!1,t.pendingProps=r=a,Cc(e,i))e.flags&131072&&(Xs=!0);else return t.lanes=e.lanes,Sc(e,t,i)}}return cc(e,t,n,r,i)}function tc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return rc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&pa(t,a===null?null:a.cachePool),a===null?Ja():qa(t,a),eo(t);else return r=t.lanes=536870912,rc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&pa(t,null),Ja(),to(t)):(pa(t,a.cachePool),qa(t,a),to(t),t.memoizedState=null);return Zs(e,t,i,n),t.child}function nc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function rc(e,t,n,r,i){var a=fa();return a=a===null?null:{parent:ea._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&pa(t,null),Ja(),eo(t),e!==null&&Gi(e,t,r,!0),t.childLanes=i,null}function ic(e,t){return t=_c({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function ac(e,t,n){return ja(t,e.child,null,n),e=ic(t,t.pendingProps),e.flags|=2,no(t),t.memoizedState=null,e}function oc(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if(K){if(r.mode===`hidden`)return e=ic(t,r),t.lanes=536870912,nc(null,e);if($a(t),(e=Di)?(e=of(e,ki),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:vi===null?null:{id:yi,overflow:bi},retryLane:536870912,hydrationErrors:null},n=ci(e),n.return=t,t.child=n,Ei=t,Di=null)):e=null,e===null)throw ji(t);return t.lanes=536870912,null}return ic(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if($a(t),a){if(t.flags&256)t.flags&=-257,t=ac(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558))}else if(Xs||Gi(e,t,n,!1),a=(n&e.childLanes)!==0,Xs||a){if(r=Pl,r!==null&&(s=Qe(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,Xr(e,s),mu(r,e,s),Ys;Eu(),t=ac(e,t,n)}else e=o.treeContext,Di=uf(s.nextSibling),Ei=t,K=!0,Oi=null,ki=!1,e!==null&&Ti(t,e),t=ic(t,r),t.flags|=4096;return t}return e=ri(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function sc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function cc(e,t,n,r,i){return qi(t),n=yo(e,t,n,r,void 0,i),r=Co(),e!==null&&!Xs?(wo(e,t,i),Sc(e,t,i)):(K&&r&&Ci(t),t.flags|=1,Zs(e,t,n,i),t.child)}function lc(e,t,n,r,i,a){return qi(t),t.updateQueue=null,n=xo(t,r,n,i),bo(e),r=Co(),e!==null&&!Xs?(wo(e,t,a),Sc(e,t,a)):(K&&r&&Ci(t),t.flags|=1,Zs(e,t,n,a),t.child)}function uc(e,t,n,r,i){if(qi(t),t.stateNode===null){var a=$r,o=n.contextType;typeof o==`object`&&o&&(a=Ji(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Is,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Pa(t),o=n.contextType,a.context=typeof o==`object`&&o?Ji(o):$r,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(X(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Is.enqueueReplaceState(a,a.state,null),Ha(t,r,a,i),Va(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=zs(n,s);a.props=c;var l=a.context,u=n.contextType;o=$r,typeof u==`object`&&u&&(o=Ji(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Rs(t,a,r,o),Na=!1;var f=t.memoizedState;a.state=f,Ha(t,r,a,i),Va(),l=t.memoizedState,s||f!==l||Na?(typeof d==`function`&&(X(t,n,d,r),l=t.memoizedState),(c=Na||Ls(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Fa(e,t),o=t.memoizedProps,u=zs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=$r,typeof l==`object`&&l&&(c=Ji(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Rs(t,a,r,c),Na=!1,f=t.memoizedState,a.state=f,Ha(t,r,a,i),Va();var p=t.memoizedState;o!==d||f!==p||Na||e!==null&&e.dependencies!==null&&Ki(e.dependencies)?(typeof s==`function`&&(X(t,n,s,r),p=t.memoizedState),(u=Na||Ls(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Ki(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,sc(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=ja(t,e.child,null,i),t.child=ja(t,null,n,i)):Zs(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Sc(e,t,i),e}function dc(e,t,n,r){return Fi(),t.flags|=256,Zs(e,t,n,r),t.child}var fc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function pc(e){return{baseLanes:e,cachePool:ma()}}function mc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=ql),e}function hc(e,t,n){var r=t.pendingProps,a=!1,o=!!(t.flags&128),s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:!!(ro.current&2)),s&&(a=!0,t.flags&=-129),s=!!(t.flags&32),t.flags&=-33,e===null){if(K){if(a?Qa(t):to(t),(e=Di)?(e=of(e,ki),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:vi===null?null:{id:yi,overflow:bi},retryLane:536870912,hydrationErrors:null},n=ci(e),n.return=t,t.child=n,Ei=t,Di=null)):e=null,e===null)throw ji(t);return cf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(to(t),a=t.mode,c=_c({mode:`hidden`,children:c},a),r=oi(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=pc(n),r.childLanes=mc(e,s,n),t.memoizedState=fc,nc(null,r)):(Qa(t),gc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(Qa(t),t.flags&=-257,t=vc(e,t,n)):t.memoizedState===null?(to(t),c=r.fallback,a=t.mode,r=_c({mode:`visible`,children:r.children},a),c=oi(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,ja(t,e.child,null,n),r=t.child,r.memoizedState=pc(n),r.childLanes=mc(e,s,n),t.memoizedState=fc,t=nc(null,r)):(to(t),t.child=e.child,t.flags|=128,t=null);else if(Qa(t),cf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Li({value:r,source:null,stack:null}),t=vc(e,t,n)}else if(Xs||Gi(e,t,n,!1),s=(n&e.childLanes)!==0,Xs||s){if(s=Pl,s!==null&&(r=Qe(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,Xr(e,r),mu(s,e,r),Ys;sf(c)||Eu(),t=vc(e,t,n)}else sf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Di=uf(c.nextSibling),Ei=t,K=!0,Oi=null,ki=!1,e!==null&&Ti(t,e),t=gc(t,r.children),t.flags|=4096);return t}return a?(to(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=ri(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=oi(c,a,n,null),c.flags|=2):c=ri(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,nc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=pc(n):(a=c.cachePool,a===null?a=ma():(l=ea._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=mc(e,s,n),t.memoizedState=fc,nc(e.child,r)):(Qa(t),n=e.child,e=n.sibling,n=ri(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function gc(e,t){return t=_c({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function _c(e,t){return e=ti(22,e,null,t),e.lanes=0,e}function vc(e,t,n){return ja(t,e.child,null,n),e=gc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function yc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ui(e.return,t,n)}function bc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function xc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=ro.current,s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,z(ro,o),Zs(e,t,r,n),r=K?hi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&yc(e,n,t);else if(e.tag===19)yc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&io(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),bc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&io(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}bc(t,!0,n,null,a,r);break;case`together`:bc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Sc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Wl|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(Gi(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=ri(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ri(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Cc(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&Ki(e)))}function wc(e,t,n){switch(t.tag){case 3:ce(t,t.stateNode.containerInfo),Vi(t,ea,e.memoizedState.cache),Fi();break;case 27:case 5:B(t);break;case 4:ce(t,t.stateNode.containerInfo);break;case 10:Vi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,$a(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(Qa(t),e=Sc(e,t,n),e===null?null:e.sibling):hc(e,t,n):(Qa(t),t.flags|=128,null);Qa(t);break;case 19:var i=!!(e.flags&128);if(r=(n&t.childLanes)!==0,r||=(Gi(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return xc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),z(ro,ro.current),r)break;return null;case 22:return t.lanes=0,tc(e,t,n,t.pendingProps);case 24:Vi(t,ea,e.memoizedState.cache)}return Sc(e,t,n)}function Tc(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)Xs=!0;else{if(!Cc(e,n)&&!(t.flags&128))return Xs=!1,wc(e,t,n);Xs=!!(e.flags&131072)}}else Xs=!1,K&&t.flags&1048576&&Si(t,hi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=xa(t.elementType),t.type=e,typeof e==`function`)ni(e)?(r=zs(e,r),t.tag=1,t=uc(null,t,e,r,n)):(t.tag=0,t=cc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=Qs(null,t,e,r,n);break a}if(a===D){t.tag=14,t=$s(null,t,e,r,n);break a}}throw t=N(e)||e,Error(i(306,t,``))}}return t;case 0:return cc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=zs(r,t.pendingProps),uc(e,t,r,a,n);case 3:a:{if(ce(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Fa(e,t),Ha(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Vi(t,ea,r),r!==o.cache&&Wi(t,[ea],n,!0),Va(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=dc(e,t,r,n);break a}if(r!==a){a=di(Error(i(424)),t),Li(a),t=dc(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Di=uf(e.firstChild),Ei=t,K=!0,Oi=null,ki=!0,n=Ma(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Fi(),r===a){t=Sc(e,t,n);break a}Zs(e,t,r,n)}t=t.child}return t;case 26:return sc(e,t),e===null?(n=jf(t.type,null,t.pendingProps,null))?t.memoizedState=n:K||(n=t.type,e=t.pendingProps,r=Hd(oe.current).createElement(n),r[it]=t,r[at]=e,Id(r,n,e),gt(r),t.stateNode=r):t.memoizedState=jf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return B(t),e===null&&K&&(r=t.stateNode=mf(t.type,t.pendingProps,oe.current),Ei=t,ki=!0,a=Di,$d(t.type)?(df=a,Di=uf(r.firstChild)):Di=a),Zs(e,t,t.pendingProps.children,n),sc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&K&&((a=r=Di)&&(r=rf(r,t.type,t.pendingProps,ki),r===null?a=!1:(t.stateNode=r,Ei=t,Di=uf(r.firstChild),ki=!1,a=!0)),a||ji(t)),B(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Gd(a,o)?r=null:s!==null&&Gd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=yo(e,t,So,null,null,n),ep._currentValue=a),sc(e,t),Zs(e,t,r,n),t.child;case 6:return e===null&&K&&((e=n=Di)&&(n=af(n,t.pendingProps,ki),n===null?e=!1:(t.stateNode=n,Ei=t,Di=null,e=!0)),e||ji(t)),null;case 13:return hc(e,t,n);case 4:return ce(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ja(t,null,r,n):Zs(e,t,r,n),t.child;case 11:return Qs(e,t,t.type,t.pendingProps,n);case 7:return Zs(e,t,t.pendingProps,n),t.child;case 8:return Zs(e,t,t.pendingProps.children,n),t.child;case 12:return Zs(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Vi(t,t.type,r.value),Zs(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,qi(t),a=Ji(a),r=r(a),t.flags|=1,Zs(e,t,r,n),t.child;case 14:return $s(e,t,t.type,t.pendingProps,n);case 15:return ec(e,t,t.type,t.pendingProps,n);case 19:return xc(e,t,n);case 31:return oc(e,t,n);case 22:return tc(e,t,n,t.pendingProps);case 24:return qi(t),r=Ji(ea),e===null?(a=fa(),a===null&&(a=Pl,o=ta(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Pa(t),Vi(t,ea,a)):((e.lanes&n)!==0&&(Fa(e,t),Ha(t,null,null,n),Va()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Vi(t,ea,r),r!==a.cache&&Wi(t,[ea],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Vi(t,ea,r))),Zs(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Ec(e){e.flags|=4}function Dc(e,t,n,r,i){if((t=!!(e.mode&32))&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(Cu())e.flags|=8192;else throw Sa=va,ga}}else e.flags&=-16777217}function Oc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Kf(t)){if(Cu())e.flags|=8192;else throw Sa=va,ga}}function kc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Ke(),e.lanes|=t,Jl|=t)}function Ac(e,t){if(!K)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function jc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Mc(e,t,n){var r=t.pendingProps;switch(wi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jc(t),null;case 1:return jc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Hi(ea),le(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Pi(t)?Ec(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ii())),jc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Ec(t),o===null?(jc(t),Dc(t,a,null,r,n)):(jc(t),Oc(t,o))):o?o===e.memoizedState?(jc(t),t.flags&=-16777217):(Ec(t),jc(t),Oc(t,o)):(e=e.memoizedProps,e!==r&&Ec(t),jc(t),Dc(t,a,e,r,n)),null;case 27:if(ue(t),n=oe.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ec(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return jc(t),null}e=ie.current,Pi(t)?Mi(t,e):(e=mf(a,r,n),t.stateNode=e,Ec(t))}return jc(t),null;case 5:if(ue(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ec(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return jc(t),null}if(o=ie.current,Pi(t))Mi(t,o);else{var s=Hd(oe.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[it]=t,o[at]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Id(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Ec(t)}}return jc(t),Dc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Ec(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=oe.current,Pi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Ei,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[it]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Nd(e.nodeValue,n)),e||ji(t,!0)}else e=Hd(e).createTextNode(r),e[it]=t,t.stateNode=e}return jc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Pi(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[it]=t}else Fi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;jc(t),e=!1}else n=Ii(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(no(t),t):(no(t),null);if(t.flags&128)throw Error(i(558))}return jc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Pi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[it]=t}else Fi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;jc(t),a=!1}else a=Ii(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(no(t),t):(no(t),null)}return no(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),kc(t,t.updateQueue),jc(t),null);case 4:return le(),e===null&&Cd(t.stateNode.containerInfo),jc(t),null;case 10:return Hi(t.type),jc(t),null;case 19:if(R(ro),r=t.memoizedState,r===null)return jc(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)Ac(r,!1);else{if(Ul!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=io(e),o!==null){for(t.flags|=128,Ac(r,!1),e=o.updateQueue,t.updateQueue=e,kc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)ii(n,e),n=n.sibling;return z(ro,ro.current&1|2),K&&xi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ce()>eu&&(t.flags|=128,a=!0,Ac(r,!1),t.lanes=4194304)}}else{if(!a){if(e=io(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,kc(t,e),Ac(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!K)return jc(t),null}else 2*Ce()-r.renderingStartTime>eu&&n!==536870912&&(t.flags|=128,a=!0,Ac(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(jc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ce(),e.sibling=null,n=ro.current,z(ro,a?n&1|2:n&1),K&&xi(t,r.treeForkCount),e);case 22:case 23:return no(t),Ya(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(jc(t),t.subtreeFlags&6&&(t.flags|=8192)):jc(t),n=t.updateQueue,n!==null&&kc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&R(da),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Hi(ea),jc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Nc(e,t){switch(wi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Hi(ea),le(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ue(t),null;case 31:if(t.memoizedState!==null){if(no(t),t.alternate===null)throw Error(i(340));Fi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(no(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Fi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return R(ro),null;case 4:return le(),null;case 10:return Hi(t.type),null;case 22:case 23:return no(t),Ya(),e!==null&&R(da),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Hi(ea),null;case 25:return null;default:return null}}function Pc(e,t){switch(wi(t),t.tag){case 3:Hi(ea),le();break;case 26:case 27:case 5:ue(t);break;case 4:le();break;case 31:t.memoizedState!==null&&no(t);break;case 13:no(t);break;case 19:R(ro);break;case 10:Hi(t.type);break;case 22:case 23:no(t),Ya(),e!==null&&R(da);break;case 24:Hi(ea)}}function Fc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Wu(t,t.return,e)}}function Ic(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Wu(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Wu(t,t.return,e)}}function Lc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Wa(t,n)}catch(t){Wu(e,e.return,t)}}}function Rc(e,t,n){n.props=zs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Wu(e,t,n)}}function zc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Wu(e,t,n)}}function Bc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Wu(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Wu(e,t,n)}else n.current=null}}function Vc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Wu(e,e.return,t)}}function Z(e,t,n){try{var r=e.stateNode;Ld(r,e.type,n,t),r[at]=t}catch(t){Wu(e,e.return,t)}}function Hc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&$d(e.type)||e.tag===4}function Uc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Hc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&$d(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Wc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Yt));else if(r!==4&&(r===27&&$d(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Wc(e,t,n),e=e.sibling;e!==null;)Wc(e,t,n),e=e.sibling}function Gc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&$d(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Gc(e,t,n),e=e.sibling;e!==null;)Gc(e,t,n),e=e.sibling}function Kc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Id(t,r,n),t[it]=e,t[at]=n}catch(t){Wu(e,e.return,t)}}var qc=!1,Jc=!1,Yc=!1,Xc=typeof WeakSet==`function`?WeakSet:Set,Zc=null;function Qc(e,t){if(e=e.containerInfo,Bd=lp,e=Cr(e),wr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Vd={focusedElem:e,selectionRange:n},lp=!1,Zc=t;Zc!==null;)if(t=Zc,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,Zc=e;else for(;Zc!==null;){switch(t=Zc,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=zs(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Wu(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)nf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:nf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,Zc=e;break}Zc=t.return}}function $c(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:ml(e,n),r&4&&Fc(5,n);break;case 1:if(ml(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Wu(n,n.return,e)}else{var i=zs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Wu(n,n.return,e)}}}r&64&&Lc(n),r&512&&zc(n,n.return);break;case 3:if(ml(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Wa(e,t)}catch(e){Wu(n,n.return,e)}}break;case 27:t===null&&r&4&&Kc(n);case 26:case 5:ml(e,n),t===null&&r&4&&Vc(n),r&512&&zc(n,n.return);break;case 12:ml(e,n);break;case 31:ml(e,n),r&4&&al(e,n);break;case 13:ml(e,n),r&4&&ol(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Ju.bind(null,n),lf(e,n))));break;case 22:if(r=n.memoizedState!==null||qc,!r){t=t!==null&&t.memoizedState!==null||Jc,i=qc;var a=Jc;qc=r,(Jc=t)&&!a?gl(e,n,!!(n.subtreeFlags&8772)):ml(e,n),qc=i,Jc=a}break;case 30:break;default:ml(e,n)}}function el(e){var t=e.alternate;t!==null&&(e.alternate=null,el(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&V(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var tl=null,nl=!1;function rl(e,t,n){for(n=n.child;n!==null;)il(e,t,n),n=n.sibling}function il(e,t,n){if(Ne&&typeof Ne.onCommitFiberUnmount==`function`)try{Ne.onCommitFiberUnmount(Me,n)}catch{}switch(n.tag){case 26:Jc||Bc(n,t),rl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Jc||Bc(n,t);var r=tl,i=nl;$d(n.type)&&(tl=n.stateNode,nl=!1),rl(e,t,n),hf(n.stateNode),tl=r,nl=i;break;case 5:Jc||Bc(n,t);case 6:if(r=tl,i=nl,tl=null,rl(e,t,n),tl=r,nl=i,tl!==null){if(nl)try{(tl.nodeType===9?tl.body:tl.nodeName===`HTML`?tl.ownerDocument.body:tl).removeChild(n.stateNode)}catch(e){Wu(n,t,e)}else try{tl.removeChild(n.stateNode)}catch(e){Wu(n,t,e)}}break;case 18:tl!==null&&(nl?(e=tl,ef(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Fp(e)):ef(tl,n.stateNode));break;case 4:r=tl,i=nl,tl=n.stateNode.containerInfo,nl=!0,rl(e,t,n),tl=r,nl=i;break;case 0:case 11:case 14:case 15:Ic(2,n,t),Jc||Ic(4,n,t),rl(e,t,n);break;case 1:Jc||(Bc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Rc(n,t,r)),rl(e,t,n);break;case 21:rl(e,t,n);break;case 22:Jc=(r=Jc)||n.memoizedState!==null,rl(e,t,n),Jc=r;break;default:rl(e,t,n)}}function al(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Fp(e)}catch(e){Wu(t,t.return,e)}}}function ol(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Fp(e)}catch(e){Wu(t,t.return,e)}}function sl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Xc),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Xc),t;default:throw Error(i(435,e.tag))}}function cl(e,t){var n=sl(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Yu.bind(null,e,t);t.then(r,r)}})}function ll(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if($d(c.type)){tl=c.stateNode,nl=!1;break a}break;case 5:tl=c.stateNode,nl=!1;break a;case 3:case 4:tl=c.stateNode.containerInfo,nl=!0;break a}c=c.return}if(tl===null)throw Error(i(160));il(o,s,a),tl=null,nl=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)dl(t,e),t=t.sibling}var ul=null;function dl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ll(t,e),fl(e),r&4&&(Ic(3,e,e.return),Fc(3,e),Ic(5,e,e.return));break;case 1:ll(t,e),fl(e),r&512&&(Jc||n===null||Bc(n,n.return)),r&64&&qc&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=ul;if(ll(t,e),fl(e),r&512&&(Jc||n===null||Bc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null){if(r===null){if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[dt]||o[it]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Id(o,r,n),o[it]=e,gt(o),r=o;break a;case`link`:var s=Uf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Id(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Uf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Id(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[it]=e,gt(o),r=o}e.stateNode=r}else Wf(a,e.type,e.stateNode)}else e.stateNode=Rf(a,r,e.memoizedProps)}else o===r?r===null&&e.stateNode!==null&&Z(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Wf(a,e.type,e.stateNode):Rf(a,r,e.memoizedProps))}break;case 27:ll(t,e),fl(e),r&512&&(Jc||n===null||Bc(n,n.return)),n!==null&&r&4&&Z(e,e.memoizedProps,n.memoizedProps);break;case 5:if(ll(t,e),fl(e),r&512&&(Jc||n===null||Bc(n,n.return)),e.flags&32){a=e.stateNode;try{Vt(a,``)}catch(t){Wu(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Z(e,a,n===null?a:n.memoizedProps)),r&1024&&(Yc=!0);break;case 6:if(ll(t,e),fl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Wu(e,e.return,t)}}break;case 3:if(Hf=null,a=ul,ul=vf(t.containerInfo),ll(t,e),ul=a,fl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Fp(t.containerInfo)}catch(t){Wu(e,e.return,t)}Yc&&(Yc=!1,pl(e));break;case 4:r=ul,ul=vf(e.stateNode.containerInfo),ll(t,e),fl(e),ul=r;break;case 12:ll(t,e),fl(e);break;case 31:ll(t,e),fl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,cl(e,r)));break;case 13:ll(t,e),fl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Ql=Ce()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,cl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=qc,d=Jc;if(qc=u||a,Jc=d||l,ll(t,e),Jc=d,qc=u,fl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||qc||Jc||hl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Wu(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Wu(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?tf(m,!0):tf(l.stateNode,!1)}catch(e){Wu(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,cl(e,n))));break;case 19:ll(t,e),fl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,cl(e,r)));break;case 30:break;case 21:break;default:ll(t,e),fl(e)}}function fl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Hc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;Gc(e,Uc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Vt(o,``),n.flags&=-33),Gc(e,Uc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Wc(e,Uc(e),s);break;default:throw Error(i(161))}}catch(t){Wu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function pl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;pl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ml(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)$c(e,t.alternate,t),t=t.sibling}function hl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ic(4,t,t.return),hl(t);break;case 1:Bc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Rc(t,t.return,n),hl(t);break;case 27:hf(t.stateNode);case 26:case 5:Bc(t,t.return),hl(t);break;case 22:t.memoizedState===null&&hl(t);break;case 30:hl(t);break;default:hl(t)}e=e.sibling}}function gl(e,t,n){for(n&&=!!(t.subtreeFlags&8772),t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:gl(i,a,n),Fc(4,a);break;case 1:if(gl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Wu(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)Ua(c[i],s)}catch(e){Wu(r,r.return,e)}}n&&o&64&&Lc(a),zc(a,a.return);break;case 27:Kc(a);case 26:case 5:gl(i,a,n),n&&r===null&&o&4&&Vc(a),zc(a,a.return);break;case 12:gl(i,a,n);break;case 31:gl(i,a,n),n&&o&4&&al(i,a);break;case 13:gl(i,a,n),n&&o&4&&ol(i,a);break;case 22:a.memoizedState===null&&gl(i,a,n),zc(a,a.return);break;case 30:break;default:gl(i,a,n)}t=t.sibling}}function _l(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&na(n))}function vl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&na(e))}function yl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)bl(e,t,n,r),t=t.sibling}function bl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:yl(e,t,n,r),i&2048&&Fc(9,t);break;case 1:yl(e,t,n,r);break;case 3:yl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&na(e)));break;case 12:if(i&2048){yl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Wu(t,t.return,e)}}else yl(e,t,n,r);break;case 31:yl(e,t,n,r);break;case 13:yl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?yl(e,t,n,r):(a._visibility|=2,xl(e,t,n,r,!!(t.subtreeFlags&10256)||!1)):a._visibility&2?yl(e,t,n,r):Sl(e,t),i&2048&&_l(o,t);break;case 24:yl(e,t,n,r),i&2048&&vl(t.alternate,t);break;default:yl(e,t,n,r)}}function xl(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:xl(a,o,s,c,i),Fc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,xl(a,o,s,c,i)):u._visibility&2?xl(a,o,s,c,i):Sl(a,o),i&&l&2048&&_l(o.alternate,o);break;case 24:xl(a,o,s,c,i),i&&l&2048&&vl(o.alternate,o);break;default:xl(a,o,s,c,i)}t=t.sibling}}function Sl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Sl(n,r),i&2048&&_l(r.alternate,r);break;case 24:Sl(n,r),i&2048&&vl(r.alternate,r);break;default:Sl(n,r)}t=t.sibling}}var Cl=8192;function wl(e,t,n){if(e.subtreeFlags&Cl)for(e=e.child;e!==null;)Tl(e,t,n),e=e.sibling}function Tl(e,t,n){switch(e.tag){case 26:wl(e,t,n),e.flags&Cl&&e.memoizedState!==null&&qf(n,ul,e.memoizedState,e.memoizedProps);break;case 5:wl(e,t,n);break;case 3:case 4:var r=ul;ul=vf(e.stateNode.containerInfo),wl(e,t,n),ul=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Cl,Cl=16777216,wl(e,t,n),Cl=r):wl(e,t,n));break;default:wl(e,t,n)}}function El(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Dl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];Zc=r,Al(r,e)}El(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ol(e),e=e.sibling}function Ol(e){switch(e.tag){case 0:case 11:case 15:Dl(e),e.flags&2048&&Ic(9,e,e.return);break;case 3:Dl(e);break;case 12:Dl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,kl(e)):Dl(e);break;default:Dl(e)}}function kl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];Zc=r,Al(r,e)}El(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ic(8,t,t.return),kl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,kl(t));break;default:kl(t)}e=e.sibling}}function Al(e,t){for(;Zc!==null;){var n=Zc;switch(n.tag){case 0:case 11:case 15:Ic(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:na(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,Zc=r;else a:for(n=e;Zc!==null;){r=Zc;var i=r.sibling,a=r.return;if(el(r),r===n){Zc=null;break a}if(i!==null){i.return=a,Zc=i;break a}Zc=a}}}var jl={getCacheForType:function(e){var t=Ji(ea),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ji(ea).controller.signal}},Ml=typeof WeakMap==`function`?WeakMap:Map,Nl=0,Pl=null,Fl=null,Il=0,Ll=0,Rl=null,zl=!1,Bl=!1,Vl=!1,Hl=0,Ul=0,Wl=0,Gl=0,Kl=0,ql=0,Jl=0,Yl=null,Xl=null,Zl=!1,Ql=0,$l=0,eu=1/0,tu=null,nu=null,ru=0,iu=null,au=null,ou=0,su=0,cu=null,lu=null,uu=0,du=null;function fu(){return Nl&2&&Il!==0?Il&-Il:F.T===null?tt():dd()}function pu(){if(ql===0){if(!(Il&536870912)||K){var e=Be;Be<<=1,!(Be&3932160)&&(Be=262144),ql=e}else ql=536870912}return e=Xa.current,e!==null&&(e.flags|=32),ql}function mu(e,t,n){(e===Pl&&(Ll===2||Ll===9)||e.cancelPendingCommit!==null)&&(xu(e,0),vu(e,Il,ql,!1)),Je(e,n),Nl&2&&e===Pl||(e===Pl&&(!(Nl&2)&&(Gl|=n),Ul===4&&vu(e,Il,ql,!1)),rd(e))}function hu(e,t,n){if(Nl&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||We(e,t),a=r?ku(e,t):Du(e,t,!0),o=r;do{if(a===0){Bl&&!r&&vu(e,t,0,!1);break}if(n=e.current.alternate,o&&!_u(n))a=Du(e,t,!1),o=!1;else{if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=Yl;var l=c.current.memoizedState.isDehydrated;if(l&&(xu(c,s).flags|=256),s=Du(c,s,!1),s!==2){if(Vl&&!l){c.errorRecoveryDisabledLanes|=o,Gl|=o,a=4;break a}o=Xl,Xl=a,o!==null&&(Xl===null?Xl=o:Xl.push.apply(Xl,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){xu(e,0),vu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:vu(r,t,ql,!zl);break a;case 2:Xl=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=Ql+300-Ce(),10<a)){if(vu(r,t,ql,!zl),Ue(r,0,!0)!==0)break a;ou=t,r.timeoutHandle=Jd(gu.bind(null,r,n,Xl,tu,Zl,t,ql,Gl,Jl,zl,o,`Throttled`,-0,0),a);break a}gu(r,n,Xl,tu,Zl,t,ql,Gl,Jl,zl,o,null,-0,0)}break}}while(1);rd(e)}function gu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Yt},Tl(t,a,d);var m=(a&62914560)===a?Ql-Ce():(a&4194048)===a?$l-Ce():0;if(m=Yf(d,m),m!==null){ou=a,e.cancelPendingCommit=m(Iu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),vu(e,a,o,!l);return}}Iu(e,t,a,n,r,i,o,s,c)}function _u(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!vr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function vu(e,t,n,r){t&=~Kl,t&=~Gl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Fe(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Xe(e,n,t)}function yu(){return Nl&6?!0:(id(0,!1),!1)}function bu(){if(Fl!==null){if(Ll===0)var e=Fl.return;else e=Fl,Bi=zi=null,To(e),Ta=null,Ea=0,e=Fl;for(;e!==null;)Pc(e.alternate,e),e=e.return;Fl=null}}function xu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Yd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),ou=0,bu(),Pl=e,Fl=n=ri(e.current,null),Il=t,Ll=0,Rl=null,zl=!1,Bl=We(e,t),Vl=!1,Jl=ql=Kl=Gl=Wl=Ul=0,Xl=Yl=null,Zl=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Fe(r),a=1<<i;t|=e[i],r&=~a}return Hl=t,qr(),n}function Su(e,t){oo=null,F.H=J,t===ha||t===_a?(t=Ca(),Ll=3):t===ga?(t=Ca(),Ll=4):Ll=t===Ys?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Rl=t,Fl===null&&(Ul=1,Us(e,di(t,e.current)))}function Cu(){var e=Xa.current;return e===null?!0:(Il&4194048)===Il?Za===null:(Il&62914560)===Il||Il&536870912?e===Za:!1}function wu(){var e=F.H;return F.H=J,e===null?J:e}function Tu(){var e=F.A;return F.A=jl,e}function Eu(){Ul=4,zl||(Il&4194048)!==Il&&Xa.current!==null||(Bl=!0),!(Wl&134217727)&&!(Gl&134217727)||Pl===null||vu(Pl,Il,ql,!1)}function Du(e,t,n){var r=Nl;Nl|=2;var i=wu(),a=Tu();(Pl!==e||Il!==t)&&(tu=null,xu(e,t)),t=!1;var o=Ul;a:do try{if(Ll!==0&&Fl!==null){var s=Fl,c=Rl;switch(Ll){case 8:bu(),o=6;break a;case 3:case 2:case 9:case 6:Xa.current===null&&(t=!0);var l=Ll;if(Ll=0,Rl=null,Nu(e,s,c,l),n&&Bl){o=0;break a}break;default:l=Ll,Ll=0,Rl=null,Nu(e,s,c,l)}}Ou(),o=Ul;break}catch(t){Su(e,t)}while(1);return t&&e.shellSuspendCounter++,Bi=zi=null,Nl=r,F.H=i,F.A=a,Fl===null&&(Pl=null,Il=0,qr()),o}function Ou(){for(;Fl!==null;)ju(Fl)}function ku(e,t){var n=Nl;Nl|=2;var r=wu(),a=Tu();Pl!==e||Il!==t?(tu=null,eu=Ce()+500,xu(e,t)):Bl=We(e,t);a:do try{if(Ll!==0&&Fl!==null){t=Fl;var o=Rl;b:switch(Ll){case 1:Ll=0,Rl=null,Nu(e,t,o,1);break;case 2:case 9:if(ya(o)){Ll=0,Rl=null,Mu(t);break}t=function(){Ll!==2&&Ll!==9||Pl!==e||(Ll=7),rd(e)},o.then(t,t);break a;case 3:Ll=7;break a;case 4:Ll=5;break a;case 7:ya(o)?(Ll=0,Rl=null,Mu(t)):(Ll=0,Rl=null,Nu(e,t,o,7));break;case 5:var s=null;switch(Fl.tag){case 26:s=Fl.memoizedState;case 5:case 27:var c=Fl;if(s?Kf(s):c.stateNode.complete){Ll=0,Rl=null;var l=c.sibling;if(l!==null)Fl=l;else{var u=c.return;u===null?Fl=null:(Fl=u,Pu(u))}break b}}Ll=0,Rl=null,Nu(e,t,o,5);break;case 6:Ll=0,Rl=null,Nu(e,t,o,6);break;case 8:bu(),Ul=6;break a;default:throw Error(i(462))}}Au();break}catch(t){Su(e,t)}while(1);return Bi=zi=null,F.H=r,F.A=a,Nl=n,Fl===null?(Pl=null,Il=0,qr(),Ul):0}function Au(){for(;Fl!==null&&!xe();)ju(Fl)}function ju(e){var t=Tc(e.alternate,e,Hl);e.memoizedProps=e.pendingProps,t===null?Pu(e):Fl=t}function Mu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=lc(n,t,t.pendingProps,t.type,void 0,Il);break;case 11:t=lc(n,t,t.pendingProps,t.type.render,t.ref,Il);break;case 5:To(t);default:Pc(n,t),t=Fl=ii(t,Hl),t=Tc(n,t,Hl)}e.memoizedProps=e.pendingProps,t===null?Pu(e):Fl=t}function Nu(e,t,n,r){Bi=zi=null,To(t),Ta=null,Ea=0;var i=t.return;try{if(Js(e,i,t,n,Il)){Ul=1,Us(e,di(n,e.current)),Fl=null;return}}catch(t){if(i!==null)throw Fl=i,t;Ul=1,Us(e,di(n,e.current)),Fl=null;return}t.flags&32768?(K||r===1?e=!0:Bl||Il&536870912?e=!1:(zl=e=!0,(r===2||r===9||r===3||r===6)&&(r=Xa.current,r!==null&&r.tag===13&&(r.flags|=16384))),Fu(t,e)):Pu(t)}function Pu(e){var t=e;do{if(t.flags&32768){Fu(t,zl);return}e=t.return;var n=Mc(t.alternate,t,Hl);if(n!==null){Fl=n;return}if(t=t.sibling,t!==null){Fl=t;return}Fl=t=e}while(t!==null);Ul===0&&(Ul=5)}function Fu(e,t){do{var n=Nc(e.alternate,e);if(n!==null){n.flags&=32767,Fl=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Fl=e;return}Fl=e=n}while(e!==null);Ul=6,Fl=null}function Iu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Vu();while(ru!==0);if(Nl&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=G,Ye(e,n,o,s,c,l),e===Pl&&(Fl=Pl=null,Il=0),au=t,iu=e,ou=n,su=o,cu=a,lu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Xu(De,function(){return Hu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=F.T,F.T=null,a=I.p,I.p=2,s=Nl,Nl|=4;try{Qc(e,t,n)}finally{Nl=s,I.p=a,F.T=r}}ru=1,Lu(),Ru(),zu()}}function Lu(){if(ru===1){ru=0;var e=iu,t=au,n=!!(t.flags&13878);if(t.subtreeFlags&13878||n){n=F.T,F.T=null;var r=I.p;I.p=2;var i=Nl;Nl|=4;try{dl(t,e);var a=Vd,o=Cr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Sr(s.ownerDocument.documentElement,s)){if(c!==null&&wr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=xr(s,h),v=xr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}lp=!!Bd,Vd=Bd=null}finally{Nl=i,I.p=r,F.T=n}}e.current=t,ru=2}}function Ru(){if(ru===2){ru=0;var e=iu,t=au,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=F.T,F.T=null;var r=I.p;I.p=2;var i=Nl;Nl|=4;try{$c(e,t.alternate,t)}finally{Nl=i,I.p=r,F.T=n}}ru=3}}function zu(){if(ru===4||ru===3){ru=0,Se();var e=iu,t=au,n=ou,r=lu;t.subtreeFlags&10256||t.flags&10256?ru=5:(ru=0,au=iu=null,Bu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(nu=null),et(n),t=t.stateNode,Ne&&typeof Ne.onCommitFiberRoot==`function`)try{Ne.onCommitFiberRoot(Me,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=F.T,i=I.p,I.p=2,F.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{F.T=t,I.p=i}}ou&3&&Vu(),rd(e),i=e.pendingLanes,n&261930&&i&42?e===du?uu++:(uu=0,du=e):uu=0,id(0,!1)}}function Bu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,na(t)))}function Vu(){return Lu(),Ru(),zu(),Hu()}function Hu(){if(ru!==5)return!1;var e=iu,t=su;su=0;var n=et(ou),r=F.T,a=I.p;try{I.p=32>n?32:n,F.T=null,n=cu,cu=null;var o=iu,s=ou;if(ru=0,au=iu=null,ou=0,Nl&6)throw Error(i(331));var c=Nl;if(Nl|=4,Ol(o.current),bl(o,o.current,s,n),Nl=c,id(0,!1),Ne&&typeof Ne.onPostCommitFiberRoot==`function`)try{Ne.onPostCommitFiberRoot(Me,o)}catch{}return!0}finally{I.p=a,F.T=r,Bu(e,t)}}function Uu(e,t,n){t=di(n,t),t=Gs(e.stateNode,t,2),e=La(e,t,2),e!==null&&(Je(e,2),rd(e))}function Wu(e,t,n){if(e.tag===3)Uu(e,e,n);else for(;t!==null;){if(t.tag===3){Uu(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(nu===null||!nu.has(r))){e=di(n,e),n=Ks(2),r=La(t,n,2),r!==null&&(qs(n,r,t,e),Je(r,2),rd(r));break}}t=t.return}}function Gu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Ml;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Vl=!0,i.add(n),e=Ku.bind(null,e,t,n),t.then(e,e))}function Ku(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Pl===e&&(Il&n)===n&&(Ul===4||Ul===3&&(Il&62914560)===Il&&300>Ce()-Ql?!(Nl&2)&&xu(e,0):Kl|=n,Jl===Il&&(Jl=0)),rd(e)}function qu(e,t){t===0&&(t=Ke()),e=Xr(e,t),e!==null&&(Je(e,t),rd(e))}function Ju(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),qu(e,n)}function Yu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),qu(e,n)}function Xu(e,t){return ye(e,t)}var Zu=null,Qu=null,$u=!1,ed=!1,td=!1,nd=0;function rd(e){e!==Qu&&e.next===null&&(Qu===null?Zu=Qu=e:Qu=Qu.next=e),ed=!0,$u||($u=!0,ud())}function id(e,t){if(!td&&ed){td=!0;do for(var n=!1,r=Zu;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Fe(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,ld(r,a))}else a=Il,a=Ue(r,r===Pl?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||We(r,a)||(n=!0,ld(r,a))}r=r.next}while(n);td=!1}}function ad(){od()}function od(){ed=$u=!1;var e=0;nd!==0&&qd()&&(e=nd);for(var t=Ce(),n=null,r=Zu;r!==null;){var i=r.next,a=sd(r,t);a===0?(r.next=null,n===null?Zu=i:n.next=i,i===null&&(Qu=n)):(n=r,(e!==0||a&3)&&(ed=!0)),r=i}ru!==0&&ru!==5||id(e,!1),nd!==0&&(nd=0)}function sd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Fe(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ge(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Pl,n=Il,n=Ue(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Ll===2||Ll===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&be(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||We(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&be(r),et(n)){case 2:case 8:n=Ee;break;case 32:n=De;break;case 268435456:n=ke;break;default:n=De}return r=cd.bind(null,e),n=ye(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&be(r),e.callbackPriority=2,e.callbackNode=null,2}function cd(e,t){if(ru!==0&&ru!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Vu()&&e.callbackNode!==n)return null;var r=Il;return r=Ue(e,e===Pl?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(hu(e,r,t),sd(e,Ce()),e.callbackNode!=null&&e.callbackNode===n?cd.bind(null,e):null)}function ld(e,t){if(Vu())return null;hu(e,t,!0)}function ud(){Zd(function(){Nl&6?ye(Te,ad):od()})}function dd(){if(nd===0){var e=aa;e===0&&(e=ze,ze<<=1,!(ze&261888)&&(ze=256)),nd=e}return nd}function fd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Jt(``+e)}function pd(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function md(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=fd((i[at]||null).action),o=r.submitter;o&&(t=(t=o[at]||null)?fd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new _n(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(nd!==0){var e=o?pd(i,o):new FormData(i);bs(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?pd(i,o):new FormData(i),bs(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var hd=0;hd<Wr.length;hd++){var gd=Wr[hd];U(gd.toLowerCase(),`on`+(gd[0].toUpperCase()+gd.slice(1)))}U(Ir,`onAnimationEnd`),U(Lr,`onAnimationIteration`),U(Rr,`onAnimationStart`),U(`dblclick`,`onDoubleClick`),U(`focusin`,`onFocus`),U(`focusout`,`onBlur`),U(zr,`onTransitionRun`),U(Br,`onTransitionStart`),U(Vr,`onTransitionCancel`),U(Hr,`onTransitionEnd`),bt(`onMouseEnter`,[`mouseout`,`mouseover`]),bt(`onMouseLeave`,[`mouseout`,`mouseover`]),bt(`onPointerEnter`,[`pointerout`,`pointerover`]),bt(`onPointerLeave`,[`pointerout`,`pointerover`]),yt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),yt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),yt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),yt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),yt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),yt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var _d=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),vd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(_d));function yd(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Gr(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Gr(e)}i.currentTarget=null,a=c}}}}function bd(e,t){var n=t[st];n===void 0&&(n=t[st]=new Set);var r=e+`__bubble`;n.has(r)||(wd(t,e,2,!1),n.add(r))}function xd(e,t,n){var r=0;t&&(r|=4),wd(n,e,r,t)}var Sd=`_reactListening`+Math.random().toString(36).slice(2);function Cd(e){if(!e[Sd]){e[Sd]=!0,_t.forEach(function(t){t!==`selectionchange`&&(vd.has(t)||xd(t,!1,e),xd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Sd]||(t[Sd]=!0,xd(`selectionchange`,!1,t))}}function wd(e,t,n,r){switch(gp(t)){case 2:var i=up;break;case 8:i=dp;break;default:i=fp}n=i.bind(null,t,n,e),i=void 0,!on||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Td(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=ft(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}nn(function(){var r=a,i=Zt(n),s=[];a:{var c=Ur.get(e);if(c!==void 0){var l=_n,u=e;switch(e){case`keypress`:if(fn(n)===0)break a;case`keydown`:case`keyup`:l=Fn;break;case`focusin`:u=`focus`,l=En;break;case`focusout`:u=`blur`,l=En;break;case`beforeblur`:case`afterblur`:l=En;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=wn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Tn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Ln;break;case Ir:case Lr:case Rr:l=Dn;break;case Hr:l=Rn;break;case`scroll`:case`scrollend`:l=yn;break;case`wheel`:l=zn;break;case`copy`:case`cut`:case`paste`:l=On;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=In;break;case`toggle`:case`beforetoggle`:l=Bn}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=rn(m,p),g!=null&&d.push(Ed(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==Xt&&(u=n.relatedTarget||n.fromElement)&&(ft(u)||u[ot]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?ft(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=wn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=In,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:mt(l),h=u==null?c:mt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,ft(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Od,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&kd(s,c,l,d,!1),u!==null&&f!==null&&kd(s,f,u,d,!0)}}a:{if(c=r?mt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=or;else if(er(c)){if(sr)v=gr;else{v=mr;var y=pr}}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Gt(r.elementType)&&(v=or):v=hr;if(v&&=v(e,r)){tr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Rt(c,`number`,c.value)}switch(y=r?mt(r):window,e){case`focusin`:(er(y)||y.contentEditable===`true`)&&(Er=y,Dr=r,Or=null);break;case`focusout`:Or=Dr=Er=null;break;case`mousedown`:kr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:kr=!1,Ar(s,n,i);break;case`selectionchange`:if(Tr)break;case`keydown`:case`keyup`:Ar(s,n,i)}var b;if(Hn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else Xn?Jn(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(Gn&&n.locale!==`ko`&&(Xn||x!==`onCompositionStart`?x===`onCompositionEnd`&&Xn&&(b=dn()):(cn=i,ln=`value`in cn?cn.value:cn.textContent,Xn=!0)),y=Dd(r,x),0<y.length&&(x=new kn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=Yn(n),b!==null&&(x.data=b)))),(b=Wn?Zn(e,n):Qn(e,n))&&(x=Dd(r,`onBeforeInput`),0<x.length&&(y=new kn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),md(s,e,r,n,i)}yd(s,t)})}function Ed(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Dd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=rn(e,n),i!=null&&r.unshift(Ed(e,i,a)),i=rn(e,t),i!=null&&r.push(Ed(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Od(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function kd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=rn(n,a),l!=null&&o.unshift(Ed(n,l,c))):i||(l=rn(n,a),l!=null&&o.push(Ed(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Ad=/\r\n?/g,jd=/\u0000|\uFFFD/g;function Md(e){return(typeof e==`string`?e:``+e).replace(Ad,`
|
|
9
|
+
`).replace(jd,``)}function Nd(e,t){return t=Md(t),Md(e)===t}function Pd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Vt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Vt(e,``+r);break;case`className`:Et(e,`class`,r);break;case`tabIndex`:Et(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Et(e,n,r);break;case`style`:Wt(e,r,o);break;case`data`:if(t!==`object`){Et(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)||r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Jt(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&Pd(e,t,`name`,a.name,a,null),Pd(e,t,`formEncType`,a.formEncType,a,null),Pd(e,t,`formMethod`,a.formMethod,a,null),Pd(e,t,`formTarget`,a.formTarget,a,null)):(Pd(e,t,`encType`,a.encType,a,null),Pd(e,t,`method`,a.method,a,null),Pd(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Jt(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=Yt);break;case`onScroll`:r!=null&&bd(`scroll`,e);break;case`onScrollEnd`:r!=null&&bd(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=Jt(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:bd(`beforetoggle`,e),bd(`toggle`,e),Tt(e,`popover`,r);break;case`xlinkActuate`:Dt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Dt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Dt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Dt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Dt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Dt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Dt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Dt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Dt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Tt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=Kt.get(n)||n,Tt(e,n,r))}}function Fd(e,t,n,r,a,o){switch(n){case`style`:Wt(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?Vt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Vt(e,``+r);break;case`onScroll`:r!=null&&bd(`scroll`,e);break;case`onScrollEnd`:r!=null&&bd(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=Yt);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!vt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[at]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):Tt(e,n,r)}}}function Id(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:bd(`error`,e),bd(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Pd(e,t,o,s,n,null)}}a&&Pd(e,t,`srcSet`,n.srcSet,n,null),r&&Pd(e,t,`src`,n.src,n,null);return;case`input`:bd(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Pd(e,t,r,d,n,null)}}Lt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in bd(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Pd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&H(e,!!r,n,!0):H(e,!!r,t,!1);return;case`textarea`:for(s in bd(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Pd(e,t,s,c,n,null)}Bt(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Pd(e,t,l,r,n,null)}return;case`dialog`:bd(`beforetoggle`,e),bd(`toggle`,e),bd(`cancel`,e),bd(`close`,e);break;case`iframe`:case`object`:bd(`load`,e);break;case`video`:case`audio`:for(r=0;r<_d.length;r++)bd(_d[r],e);break;case`image`:bd(`error`,e),bd(`load`,e);break;case`details`:bd(`toggle`,e);break;case`embed`:case`source`:case`link`:bd(`error`,e),bd(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Pd(e,t,u,r,n,null)}return;default:if(Gt(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Fd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Pd(e,t,c,r,n,null))}function Ld(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Pd(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Pd(e,t,p,m,r,f)}}It(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Pd(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Pd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?H(e,!!n,n?[]:``,!1):H(e,!!n,t,!0)):H(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Pd(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Pd(e,t,s,a,r,o)}zt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Pd(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Pd(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Pd(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Pd(e,t,u,p,r,m)}return;default:if(Gt(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Fd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Fd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Pd(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Pd(e,t,f,p,r,m)}function Rd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function zd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Rd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Rd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Bd=null,Vd=null;function Hd(e){return e.nodeType===9?e:e.ownerDocument}function Ud(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Wd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Gd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Kd=null;function qd(){var e=window.event;return e&&e.type===`popstate`?e!==Kd&&(Kd=e,!0):(Kd=null,!1)}var Jd=typeof setTimeout==`function`?setTimeout:void 0,Yd=typeof clearTimeout==`function`?clearTimeout:void 0,Xd=typeof Promise==`function`?Promise:void 0,Zd=typeof queueMicrotask==`function`?queueMicrotask:Xd===void 0?Jd:function(e){return Xd.resolve(null).then(e).catch(Qd)};function Qd(e){setTimeout(function(){throw e})}function $d(e){return e===`head`}function ef(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Fp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)hf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,hf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[dt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&hf(e.ownerDocument.body)}n=i}while(n);Fp(t)}function tf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8){if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++}n=r}while(n)}function nf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:nf(n),V(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function rf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[dt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=uf(e.nextSibling),e===null)break}return null}function af(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=uf(e.nextSibling),e===null))return null;return e}function of(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=uf(e.nextSibling),e===null))return null;return e}function sf(e){return e.data===`$?`||e.data===`$~`}function cf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function lf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function uf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var df=null;function ff(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return uf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function pf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function mf(e,t,n){switch(t=Hd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function hf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);V(e)}var gf=new Map,_f=new Set;function vf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var yf=I.d;I.d={f:bf,r:xf,D:wf,C:Tf,L:Ef,m:Df,X:kf,S:Of,M:Af};function bf(){var e=yf.f(),t=yu();return e||t}function xf(e){var t=pt(e);t!==null&&t.tag===5&&t.type===`form`?Ss(t):yf.r(e)}var Sf=typeof document>`u`?null:document;function Cf(e,t,n){var r=Sf;if(r&&typeof t==`string`&&t){var i=Ft(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),_f.has(i)||(_f.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Id(t,`link`,e),gt(t),r.head.appendChild(t)))}}function wf(e){yf.D(e),Cf(`dns-prefetch`,e,null)}function Tf(e,t){yf.C(e,t),Cf(`preconnect`,e,t)}function Ef(e,t,n){yf.L(e,t,n);var r=Sf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Ft(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Ft(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Ft(n.imageSizes)+`"]`)):i+=`[href="`+Ft(e)+`"]`;var a=i;switch(t){case`style`:a=Mf(e);break;case`script`:a=If(e)}gf.has(a)||(e=h({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),gf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Nf(a))||t===`script`&&r.querySelector(Lf(a))||(t=r.createElement(`link`),Id(t,`link`,e),gt(t),r.head.appendChild(t)))}}function Df(e,t){yf.m(e,t);var n=Sf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Ft(r)+`"][href="`+Ft(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=If(e)}if(!gf.has(a)&&(e=h({rel:`modulepreload`,href:e},t),gf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Lf(a)))return}r=n.createElement(`link`),Id(r,`link`,e),gt(r),n.head.appendChild(r)}}}function Of(e,t,n){yf.S(e,t,n);var r=Sf;if(r&&e){var i=ht(r).hoistableStyles,a=Mf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Nf(a)))s.loading=5;else{e=h({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=gf.get(a))&&Bf(e,n);var c=o=r.createElement(`link`);gt(c),Id(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,zf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function kf(e,t){yf.X(e,t);var n=Sf;if(n&&e){var r=ht(n).hoistableScripts,i=If(e),a=r.get(i);a||(a=n.querySelector(Lf(i)),a||(e=h({src:e,async:!0},t),(t=gf.get(i))&&Vf(e,t),a=n.createElement(`script`),gt(a),Id(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Af(e,t){yf.M(e,t);var n=Sf;if(n&&e){var r=ht(n).hoistableScripts,i=If(e),a=r.get(i);a||(a=n.querySelector(Lf(i)),a||(e=h({src:e,async:!0,type:`module`},t),(t=gf.get(i))&&Vf(e,t),a=n.createElement(`script`),gt(a),Id(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function jf(e,t,n,r){var a=(a=oe.current)?vf(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Mf(n.href),n=ht(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Mf(n.href);var o=ht(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Nf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),gf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},gf.set(e,n),o||Ff(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=If(n),n=ht(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Mf(e){return`href="`+Ft(e)+`"`}function Nf(e){return`link[rel="stylesheet"][`+e+`]`}function Pf(e){return h({},e,{"data-precedence":e.precedence,precedence:null})}function Ff(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Id(t,`link`,n),gt(t),e.head.appendChild(t))}function If(e){return`[src="`+Ft(e)+`"]`}function Lf(e){return`script[async]`+e}function Rf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Ft(n.href)+`"]`);if(r)return t.instance=r,gt(r),r;var a=h({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),gt(r),Id(r,`style`,a),zf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Mf(n.href);var o=e.querySelector(Nf(a));if(o)return t.state.loading|=4,t.instance=o,gt(o),o;r=Pf(n),(a=gf.get(a))&&Bf(r,a),o=(e.ownerDocument||e).createElement(`link`),gt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Id(o,`link`,r),t.state.loading|=4,zf(o,n.precedence,e),t.instance=o;case`script`:return o=If(n.src),(a=e.querySelector(Lf(o)))?(t.instance=a,gt(a),a):(r=n,(a=gf.get(o))&&(r=h({},n),Vf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),gt(a),Id(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,zf(r,n.precedence,e));return t.instance}function zf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Bf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Vf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Hf=null;function Uf(e,t,n){if(Hf===null){var r=new Map,i=Hf=new Map;i.set(n,r)}else i=Hf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[dt]||a[it]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Wf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Gf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Kf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function qf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Mf(r.href),a=t.querySelector(Nf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Xf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,gt(a);return}a=t.ownerDocument||t,r=Pf(r),(i=gf.get(i))&&Bf(r,i),a=a.createElement(`link`),gt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Id(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Xf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Jf=0;function Yf(e,t){return e.stylesheets&&e.count===0&&Qf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Qf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Jf===0&&(Jf=62500*zd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Qf(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Jf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Xf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Qf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Zf=null;function Qf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Zf=new Map,t.forEach($f,e),Zf=null,Xf.call(e))}function $f(e,t){if(!(t.state.loading&4)){var n=Zf.get(e);if(n)var r=n.get(null);else{n=new Map,Zf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Xf.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var ep={$$typeof:C,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function tp(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=qe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qe(0),this.hiddenUpdates=qe(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function np(e,t,n,r,i,a,o,s,c,l,u,d){return e=new tp(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=ti(3,null,null,t),e.current=a,a.stateNode=e,t=ta(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Pa(a),e}function rp(e){return e?(e=$r,e):$r}function ip(e,t,n,r,i,a){i=rp(i),r.context===null?r.context=i:r.pendingContext=i,r=Ia(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=La(e,r,t),n!==null&&(mu(n,e,t),Ra(n,e,t))}function ap(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function op(e,t){ap(e,t),(e=e.alternate)&&ap(e,t)}function sp(e){if(e.tag===13||e.tag===31){var t=Xr(e,67108864);t!==null&&mu(t,e,67108864),op(e,67108864)}}function cp(e){if(e.tag===13||e.tag===31){var t=fu();t=$e(t);var n=Xr(e,t);n!==null&&mu(n,e,t),op(e,t)}}var lp=!0;function up(e,t,n,r){var i=F.T;F.T=null;var a=I.p;try{I.p=2,fp(e,t,n,r)}finally{I.p=a,F.T=i}}function dp(e,t,n,r){var i=F.T;F.T=null;var a=I.p;try{I.p=8,fp(e,t,n,r)}finally{I.p=a,F.T=i}}function fp(e,t,n,r){if(lp){var i=pp(r);if(i===null)Td(e,t,r,mp,n),Tp(e,r);else if(Dp(i,e,t,n,r))r.stopPropagation();else if(Tp(e,r),t&4&&-1<wp.indexOf(e)){for(;i!==null;){var a=pt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=He(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Fe(o);s.entanglements[1]|=c,o&=~c}rd(a),!(Nl&6)&&(eu=Ce()+500,id(0,!1))}}break;case 31:case 13:s=Xr(a,2),s!==null&&mu(s,a,2),yu(),op(a,2)}if(a=pp(r),a===null&&Td(e,t,r,mp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Td(e,t,r,null,n)}}function pp(e){return e=Zt(e),hp(e)}var mp=null;function hp(e){if(mp=null,e=ft(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return mp=e,null}function gp(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(we()){case Te:return 2;case Ee:return 8;case De:case Oe:return 32;case ke:return 268435456;default:return 32}default:return 32}}var _p=!1,vp=null,yp=null,bp=null,xp=new Map,Sp=new Map,Cp=[],wp=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function Tp(e,t){switch(e){case`focusin`:case`focusout`:vp=null;break;case`dragenter`:case`dragleave`:yp=null;break;case`mouseover`:case`mouseout`:bp=null;break;case`pointerover`:case`pointerout`:xp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Sp.delete(t.pointerId)}}function Ep(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=pt(t),t!==null&&sp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Dp(e,t,n,r,i){switch(t){case`focusin`:return vp=Ep(vp,e,t,n,r,i),!0;case`dragenter`:return yp=Ep(yp,e,t,n,r,i),!0;case`mouseover`:return bp=Ep(bp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return xp.set(a,Ep(xp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Sp.set(a,Ep(Sp.get(a)||null,e,t,n,r,i)),!0}return!1}function Op(e){var t=ft(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,nt(e.priority,function(){cp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,nt(e.priority,function(){cp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function kp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=pp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Xt=r,n.target.dispatchEvent(r),Xt=null}else return t=pt(n),t!==null&&sp(t),e.blockedOn=n,!1;t.shift()}return!0}function Ap(e,t,n){kp(e)&&n.delete(t)}function jp(){_p=!1,vp!==null&&kp(vp)&&(vp=null),yp!==null&&kp(yp)&&(yp=null),bp!==null&&kp(bp)&&(bp=null),xp.forEach(Ap),Sp.forEach(Ap)}function Mp(e,n){e.blockedOn===n&&(e.blockedOn=null,_p||(_p=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,jp)))}var Np=null;function Pp(e){Np!==e&&(Np=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Np===e&&(Np=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(hp(r||n)===null)continue;break}var a=pt(n);a!==null&&(e.splice(t,3),t-=3,bs(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Fp(e){function t(t){return Mp(t,e)}vp!==null&&Mp(vp,e),yp!==null&&Mp(yp,e),bp!==null&&Mp(bp,e),xp.forEach(t),Sp.forEach(t);for(var n=0;n<Cp.length;n++){var r=Cp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Cp.length&&(n=Cp[0],n.blockedOn===null);)Op(n),n.blockedOn===null&&Cp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[at]||null;if(typeof a==`function`)o||Pp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[at]||null)s=o.formAction;else if(hp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Pp(n)}}}function Ip(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Lp(e){this._internalRoot=e}Rp.prototype.render=Lp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;ip(n,fu(),e,t,null,null)},Rp.prototype.unmount=Lp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ip(e.current,2,null,e,null,null),yu(),t[ot]=null}};function Rp(e){this._internalRoot=e}Rp.prototype.unstable_scheduleHydration=function(e){if(e){var t=tt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Cp.length&&t!==0&&t<Cp[n].priority;n++);Cp.splice(n,0,e),n===0&&Op(e)}};var zp=n.version;if(zp!==`19.2.8`)throw Error(i(527,zp,`19.2.8`));I.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=d(t),e=e===null?null:p(e),e=e===null?null:e.stateNode,e};var Bp={bundleType:0,version:`19.2.8`,rendererPackageName:`react-dom`,currentDispatcherRef:F,reconcilerVersion:`19.2.8`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Vp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vp.isDisabled&&Vp.supportsFiber)try{Me=Vp.inject(Bp),Ne=Vp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Bs,s=Vs,c=Hs;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=np(e,1,!1,null,null,n,r,null,o,s,c,Ip),e[ot]=t.current,Cd(e),new Lp(t)}})),g=o(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=h()}));function _(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var v=`$$material`;function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(null,arguments)}function b(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 x(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 S=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(x(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=b(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),C=`-ms-`,w=`-moz-`,T=`-webkit-`,E=`comm`,D=`rule`,O=`decl`,k=`@import`,ee=`@keyframes`,A=`@layer`,j=Math.abs,M=String.fromCharCode,N=Object.assign;function P(e,t){return ne(e,0)^45?(((t<<2^ne(e,0))<<2^ne(e,1))<<2^ne(e,2))<<2^ne(e,3):0}function F(e){return e.trim()}function I(e,t){return(e=t.exec(e))?e[0]:e}function L(e,t,n){return e.replace(t,n)}function te(e,t){return e.indexOf(t)}function ne(e,t){return e.charCodeAt(t)|0}function re(e,t,n){return e.slice(t,n)}function R(e){return e.length}function z(e){return e.length}function ie(e,t){return t.push(e),e}function ae(e,t){return e.map(t).join(``)}var oe=1,se=1,ce=0,le=0,B=0,ue=``;function de(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:oe,column:se,length:o,return:``}}function fe(e,t){return N(de(``,null,null,``,null,null,0),e,{length:-e.length},t)}function pe(){return B}function me(){return B=le>0?ne(ue,--le):0,se--,B===10&&(se=1,oe--),B}function he(){return B=le<ce?ne(ue,le++):0,se++,B===10&&(se=1,oe++),B}function ge(){return ne(ue,le)}function _e(){return le}function ve(e,t){return re(ue,e,t)}function ye(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 be(e){return oe=se=1,ce=R(ue=e),le=0,[]}function xe(e){return ue=``,e}function Se(e){return F(ve(le-1,Te(e===91?e+2:e===40?e+1:e)))}function Ce(e){for(;(B=ge())&&B<33;)he();return ye(e)>2||ye(B)>3?``:` `}function we(e,t){for(;--t&&he()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return ve(e,_e()+(t<6&&ge()==32&&he()==32))}function Te(e){for(;he();)switch(B){case e:return le;case 34:case 39:e!==34&&e!==39&&Te(B);break;case 40:e===41&&Te(e);break;case 92:he()}return le}function Ee(e,t){for(;he()&&e+B!==57&&(e+B!==84||ge()!==47););return`/*`+ve(t,le-1)+`*`+M(e===47?e:he())}function De(e){for(;!ye(ge());)he();return ve(e,le)}function Oe(e){return xe(ke(``,null,null,null,[``],e=be(e),0,[0],e))}function ke(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=he()){case 40:if(m!=108&&ne(C,d-1)==58){te(C+=L(Se(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Se(v);break;case 9:case 10:case 13:case 32:C+=Ce(m);break;case 92:C+=we(_e()-1,7);continue;case 47:switch(ge()){case 42:case 47:ie(je(Ee(he(),_e()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=R(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=L(C,/\f/g,``)),p>0&&R(C)-d&&ie(p>32?Me(C+`;`,r,n,d-1):Me(L(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(ie(S=Ae(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123){if(u===0)ke(C,t,S,S,b,a,d,s,x);else switch(f===99&&ne(C,3)===110?100:f){case 100:case 108:case 109:case 115:ke(e,S,S,r&&ie(Ae(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:ke(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+R(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&me()==125)continue}switch(C+=M(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(R(C)-1)*_,_=1;break;case 64:ge()===45&&(C+=Se(he())),f=ge(),u=d=R(y=C+=De(_e())),v++;break;case 45:m===45&&R(C)==2&&(h=0)}}return a}function Ae(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=z(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=re(e,d+1,d=j(h=o[m])),y=e;_<p;++_)(y=F(h>0?f[_]+` `+v:L(v,/&\f/g,f[_])))&&(c[g++]=y);return de(e,t,n,i===0?D:s,c,l,u)}function je(e,t,n){return de(e,t,n,E,M(pe()),re(e,2,-2),0)}function Me(e,t,n,r){return de(e,t,n,O,re(e,0,r),re(e,r+1,-1),r)}function Ne(e,t){for(var n=``,r=z(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function Pe(e,t,n,r){switch(e.type){case A:if(e.children.length)break;case k:case O:return e.return=e.return||e.value;case E:return``;case ee:return e.return=e.value+`{`+Ne(e.children,r)+`}`;case D:e.value=e.props.join(`,`)}return R(n=Ne(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Fe(e){var t=z(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Ie(e){return function(t){t.root||(t=t.return)&&e(t)}}function Le(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Re=function(e,t,n){for(var r=0,i=0;r=i,i=ge(),r===38&&i===12&&(t[n]=1),!ye(i);)he();return ve(e,le)},ze=function(e,t){var n=-1,r=44;do switch(ye(r)){case 0:r===38&&ge()===12&&(t[n]=1),e[n]+=Re(le-1,t,n);break;case 2:e[n]+=Se(r);break;case 4:if(r===44){e[++n]=ge()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=M(r)}while(r=he());return e},Be=function(e,t){return xe(ze(be(e),t))},Ve=new WeakMap,He=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if((e.props.length!==1||t.charCodeAt(0)===58||Ve.get(n))&&!r){Ve.set(e,!0);for(var i=[],a=Be(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Ue=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function We(e,t){switch(P(e,t)){case 5103:return T+`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 T+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return T+e+w+e+C+e+e;case 6828:case 4268:return T+e+C+e+e;case 6165:return T+e+C+`flex-`+e+e;case 5187:return T+e+L(e,/(\w+).+(:[^]+)/,T+`box-$1$2`+C+`flex-$1$2`)+e;case 5443:return T+e+C+`flex-item-`+L(e,/flex-|-self/,``)+e;case 4675:return T+e+C+`flex-line-pack`+L(e,/align-content|flex-|-self/,``)+e;case 5548:return T+e+C+L(e,`shrink`,`negative`)+e;case 5292:return T+e+C+L(e,`basis`,`preferred-size`)+e;case 6060:return T+`box-`+L(e,`-grow`,``)+T+e+C+L(e,`grow`,`positive`)+e;case 4554:return T+L(e,/([^-])(transform)/g,`$1`+T+`$2`)+e;case 6187:return L(L(L(e,/(zoom-|grab)/,T+`$1`),/(image-set)/,T+`$1`),e,``)+e;case 5495:case 3959:return L(e,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return L(L(e,/(.+:)(flex-)?(.*)/,T+`box-pack:$3`+C+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+T+e+e;case 4095:case 3583:case 4068:case 2532:return L(e,/(.+)-inline(.+)/,T+`$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(R(e)-1-t>6)switch(ne(e,t+1)){case 109:if(ne(e,t+4)!==45)break;case 102:return L(e,/(.+:)(.+)-([^]+)/,`$1`+T+`$2-$3$1`+w+(ne(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~te(e,`stretch`)?We(L(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(ne(e,t+1)!==115)break;case 6444:switch(ne(e,R(e)-3-(~te(e,`!important`)&&10))){case 107:return L(e,`:`,`:`+T)+e;case 101:return L(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+T+(ne(e,14)===45?`inline-`:``)+`box$3$1`+T+`$2$3$1`+C+`$2box$3`)+e}break;case 5936:switch(ne(e,t+11)){case 114:return T+e+C+L(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return T+e+C+L(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return T+e+C+L(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return T+e+C+e+e}return e}var Ge=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case O:e.return=We(e.value,e.length);break;case ee:return Ne([fe(e,{value:L(e.value,`@`,`@`+T)})],r);case D:if(e.length)return ae(e.props,function(t){switch(I(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Ne([fe(e,{props:[L(t,/:(read-\w+)/,`:`+w+`$1`)]})],r);case`::placeholder`:return Ne([fe(e,{props:[L(t,/:(plac\w+)/,`:`+T+`input-$1`)]}),fe(e,{props:[L(t,/:(plac\w+)/,`:`+w+`$1`)]}),fe(e,{props:[L(t,/:(plac\w+)/,C+`input-$1`)]})],r)}return``})}}],Ke=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Ge,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[He,Ue],l,u=[Pe,Ie(function(e){l.insert(e)})],d=Fe(c.concat(r,u)),f=function(e){return Ne(Oe(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new S({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},qe=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Je=o(((e,t)=>{t.exports=qe()})),Ye=o(((e,t)=>{var n=Je(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function Xe(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Ze=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},Qe=function(e,t,n){Ze(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function $e(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var et={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},tt=/[A-Z]|^ms/g,nt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rt=function(e){return e.charCodeAt(1)===45},it=function(e){return e!=null&&typeof e!=`boolean`},at=Le(function(e){return rt(e)?e:e.replace(tt,`-$&`).toLowerCase()}),ot=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(nt,function(e,t,n){return ut={name:t,styles:n,next:ut},t})}return et[e]!==1&&!rt(e)&&typeof t==`number`&&t!==0?t+`px`:t};function st(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return ut={name:i.name,styles:i.styles,next:ut},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)ut={name:o.name,styles:o.styles,next:ut},o=o.next;return a.styles+`;`}return ct(e,t,n);case`function`:if(e!==void 0){var s=ut,c=n(e);return ut=s,st(e,t,c)}}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function ct(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=st(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:it(s)&&(r+=at(a)+`:`+ot(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)it(o[c])&&(r+=at(a)+`:`+ot(a,o[c])+`;`);else{var l=st(e,t,o);switch(a){case`animation`:case`animationName`:r+=at(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var lt=/label:\s*([^\s;{]+)\s*(;|$)/g,ut;function dt(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;ut=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=st(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=st(n,t,e[o]),r&&(i+=a[o]);lt.lastIndex=0;for(var s=``,c;(c=lt.exec(i))!==null;)s+=`-`+c[1];return{name:$e(i)+s,styles:i,next:ut}}var V=c(f()),ft=function(e){return e()},pt=V.useInsertionEffect?V.useInsertionEffect:!1,mt=pt||ft,ht=pt||V.useLayoutEffect,gt=V.createContext(typeof HTMLElement<`u`?Ke({key:`css`}):null),_t=gt.Provider,vt=function(e){return(0,V.forwardRef)(function(t,n){return e(t,(0,V.useContext)(gt),n)})},yt=V.createContext({}),bt={}.hasOwnProperty,xt=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,St=function(e,t){var n={};for(var r in t)bt.call(t,r)&&(n[r]=t[r]);return n[xt]=e,n},Ct=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ze(t,n,r),mt(function(){return Qe(t,n,r)}),null},wt=vt(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[xt],a=[r],o=``;typeof e.className==`string`?o=Xe(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=dt(a,void 0,V.useContext(yt));o+=t.key+`-`+s.name;var c={};for(var l in e)bt.call(e,l)&&l!==`css`&&l!==xt&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),V.createElement(V.Fragment,null,V.createElement(Ct,{cache:t,serialized:s,isStringTag:typeof i==`string`}),V.createElement(i,c))});Ye();var Tt=function(e,t){var n=arguments;if(t==null||!bt.call(t,`css`))return V.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=wt,i[1]=St(e,t);for(var a=2;a<r;a++)i[a]=n[a];return V.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(Tt||={});var Et=vt(function(e,t){var n=e.styles,r=dt([n],void 0,V.useContext(yt)),i=V.useRef();return ht(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),ht(function(){var e=i.current,n=e[0];e[1]?e[1]=!1:(r.next!==void 0&&Qe(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1))},[t,r.name]),null});function Dt(){return dt([...arguments])}function Ot(){var e=Dt.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var kt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,At=Le(function(e){return kt.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),jt=function(e){return e!==`theme`},Mt=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?At:jt},Nt=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},Pt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ze(t,n,r),mt(function(){return Qe(t,n,r)}),null},Ft=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=Nt(t,n,r),c=s||Mt(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=vt(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=V.useContext(yt)}typeof e.className==`string`?a=Xe(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=dt(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?Mt(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),V.createElement(V.Fragment,null,V.createElement(Pt,{cache:t,serialized:m,isStringTag:typeof r==`string`}),V.createElement(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return`.`+o}}),h.withComponent=function(t,r){return e(t,y({},n,r,{shouldForwardProp:Nt(h,r,!0)})).apply(void 0,d)},h}},It=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),Lt=Ft.bind(null);It.forEach(function(e){Lt[e]=Lt(e)});var Rt=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),H=o(((e,t)=>{t.exports=Rt()}))(),zt=new Map,Bt={insert:void 0},Vt=(e,t)=>{let n=Ke(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Ht;if(typeof document==`object`&&(Ht=document.querySelector(`[name="emotion-insertion-point"]`),!Ht)){Ht=document.createElement(`meta`),Ht.setAttribute(`name`,`emotion-insertion-point`),Ht.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Ht)}function Ut(e,t){if(e||t){class n extends S{insert(e,t){return Bt.insert?Bt.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Ht),super.insert(e,t))}}let r=Vt({key:t?`mui`:`css`,insertionPoint:e?Ht:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function Wt(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=V.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&zt.has(e))return zt.get(e);let r=Ut(t,n);return zt.set(e,r),r},[t,n]);return i?(0,H.jsx)(_t,{value:i,children:r}):r}function Gt(e){return e==null||Object.keys(e).length===0}function Kt(e){let{styles:t,defaultTheme:n={}}=e;return(0,H.jsx)(Et,{styles:typeof t==`function`?e=>t(Gt(e)?n:e):t})}function qt(e,t){return Lt(e,t)}function Jt(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Yt=[];function Xt(e){return Yt[0]=e,dt(Yt)}var Zt=o((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===d||e.getModuleId!==void 0))}})),Qt=o(((e,t)=>{t.exports=Zt()}))();function $t(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function en(e){if(V.isValidElement(e)||(0,Qt.isValidElementType)(e)||!$t(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=en(e[n])}),t}function tn(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return $t(e)&&$t(t)&&Object.keys(t).forEach(i=>{V.isValidElement(t[i])||(0,Qt.isValidElementType)(t[i])?r[i]=t[i]:$t(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&$t(e[i])?r[i]=tn(e[i],t[i],n):n.clone?r[i]=$t(t[i])?en(t[i]):t[i]:r[i]=t[i]}),r}var nn=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function rn(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=nn(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}let f=[];for(let e=0;e<o.length;e+=1)f.push(s(o[e]));return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,internal_mediaKeys:f,...i}}var an=/min-width:\s*([0-9.]+)/;function on(e,t){if(!e.containerQueries||!sn(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>+(e.match(an)?.[1]||0)-(t.match(an)?.[1]||0));let r=t;for(let e=0;e<n.length;e+=1){let t=n[e],i=r[t];delete r[t],r[t]=i}return r}function sn(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function cn(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function ln(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function un(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var dn={borderRadius:4};function fn(e){if(e==null)return!0;for(let t in e)return!1;return!0}function pn(e,t){let n=Array.isArray(t),r=Array.isArray(e);return vn(t)?t:yn(e)?bn(t):n&&r?gn(e,t):n===r?xn(e,t):bn(t)}function mn(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=bn(e[t]);return r}function hn(e){let t={};for(let n in e)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(t[n]=bn(e[n]));return t}function gn(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=bn(t[r]);return e}function _n(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function vn(e){return typeof e!=`object`||!e}function yn(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function bn(e){return _n(e)?Array.isArray(e)?mn(e):hn(e):e}function xn(e,t){for(let n in t)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(e[n]=n in e?pn(e[n],t[n]):bn(t[n]));return e}var Sn={},Cn={xs:0,sm:600,md:900,lg:1200,xl:1536},wn=rn({values:Cn}),Tn={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Cn[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function En(e,t,n){let r={};return Dn(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:pn(r,a)})}function Dn(e,t,n,r){if(t??=Sn,Array.isArray(n)){let i=t.breakpoints??wn;for(let t=0;t<n.length;t+=1)On(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??wn,a=i.values??Cn;for(let o in n)if(cn(i.keys,o)){let i=ln(t.containerQueries?t:Tn,o);i&&On(e,i,n[o],o,r)}else if(o in a)On(e,i.up(o),n[o],o,r);else{let t=o;e[t]=n[t]}return e}return r(void 0,n),e}function On(e,t,n,r,i){e[t]??={},i(t,n,r)}function kn(e=wn){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function An(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];fn(t[r])&&delete t[r]}return t}function jn(e,t){if(Array.isArray(t))return!0;if(typeof t==`object`&&t){for(let n=0;n<e.keys.length;n+=1)if(e.keys[n]in t)return!0;let n=Object.keys(t);for(let t=0;t<n.length;t+=1)if(cn(e.keys,n[t]))return!0}return!1}function Mn(e){if(typeof e!=`string`)throw Error(_(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Nn(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&Pn(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function Pn(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=Fn(e.vars,i,r);if(t!=null)return t}return Fn(e,i,r)}function Fn(e,t,n=void 0){let r,i=e,a=0;for(;a<t.length;){if(i==null)return i;r=i,i=i[t[a]],a+=1}if(n&&i===void 0){let e=t[t.length-1],i=`${n}${e==="default"?``:Mn(e)}`;return r?.[i]}return i}function In(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=Pn(o,r)||{};return En(e,a,e=>{let r=Nn(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}var Ln={internal_cache:{}},Rn={m:`margin`,p:`padding`},zn={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Bn={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Vn={};for(let e in Rn)Vn[e]=[Rn[e]];for(let e in Rn)for(let t in zn){let n=Rn[e],r=zn[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];Vn[e+t]=i}for(let e in Bn)Vn[e]=Vn[Bn[e]];var Hn=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),Un=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]);[...Hn,...Un];function Wn(e,t,n,r){let i=Pn(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function Gn(e){return Wn(e,`spacing`,8,`spacing`)}function Kn(e,t){return typeof t==`string`||t==null?t:e(t)}var qn=[``];function Jn(e,t){let n=e.theme??Ln,r=n?.internal_cache?.unarySpacing??Gn(n),i={};for(let n in e){if(!t.has(n))continue;let a=Vn[n]??(qn[0]=n,qn),o=e[n];Dn(i,e.theme,o,(e,t)=>{let n=e?i[e]:i;for(let e=0;e<a.length;e+=1)n[a[e]]=Kn(r,t)})}return i}function Yn(e){return Jn(e,Hn)}Yn.propTypes={},Yn.filterProps=Hn;var Xn=Yn;function Zn(e){return Jn(e,Un)}Zn.propTypes={},Zn.filterProps=Un;var Qn=Zn;function $n(e=8,t=Gn({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function er(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>{let n={};for(let r in e)t[r]&&pn(n,t[r](e));return n};return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function tr(e){return typeof e==`number`?`${e}px solid`:e}function nr(e,t){return In({prop:e,themeKey:`borders`,transform:t})}var rr=nr(`border`,tr),ir=nr(`borderTop`,tr),ar=nr(`borderRight`,tr),or=nr(`borderBottom`,tr),sr=nr(`borderLeft`,tr),cr=nr(`borderColor`),lr=nr(`borderTopColor`),ur=nr(`borderRightColor`),dr=nr(`borderBottomColor`),fr=nr(`borderLeftColor`),pr=nr(`outline`,tr),mr=nr(`outlineColor`),hr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Wn(e.theme,`shape.borderRadius`,4,`borderRadius`);return En(e,e.borderRadius,e=>({borderRadius:Kn(t,e)}))}return null};hr.propTypes={},hr.filterProps=[`borderRadius`],er(rr,ir,ar,or,sr,cr,lr,ur,dr,fr,hr,pr,mr);var gr=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Wn(e.theme,`spacing`,8,`gap`);return En(e,e.gap,e=>({gap:Kn(t,e)}))}return null};gr.propTypes={},gr.filterProps=[`gap`];var _r=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Wn(e.theme,`spacing`,8,`columnGap`);return En(e,e.columnGap,e=>({columnGap:Kn(t,e)}))}return null};_r.propTypes={},_r.filterProps=[`columnGap`];var vr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Wn(e.theme,`spacing`,8,`rowGap`);return En(e,e.rowGap,e=>({rowGap:Kn(t,e)}))}return null};vr.propTypes={},vr.filterProps=[`rowGap`],er(gr,_r,vr,In({prop:`gridColumn`}),In({prop:`gridRow`}),In({prop:`gridAutoFlow`}),In({prop:`gridAutoColumns`}),In({prop:`gridAutoRows`}),In({prop:`gridTemplateColumns`}),In({prop:`gridTemplateRows`}),In({prop:`gridTemplateAreas`}),In({prop:`gridArea`}));function yr(e,t){return t===`grey`?t:e}er(In({prop:`color`,themeKey:`palette`,transform:yr}),In({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:yr}),In({prop:`backgroundColor`,themeKey:`palette`,transform:yr}));var br=Cn;function xr(e){return e<=1&&e!==0?`${e*100}%`:e}var Sr=In({prop:`width`,transform:xr}),Cr=e=>e.maxWidth!==void 0&&e.maxWidth!==null?En(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||br[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:xr(t)}}):null;Cr.filterProps=[`maxWidth`];var wr=In({prop:`minWidth`,transform:xr}),Tr=In({prop:`height`,transform:xr}),Er=In({prop:`maxHeight`,transform:xr}),Dr=In({prop:`minHeight`,transform:xr});In({prop:`size`,cssProperty:`width`,transform:xr}),In({prop:`size`,cssProperty:`height`,transform:xr}),er(Sr,Cr,wr,Tr,Er,Dr,In({prop:`boxSizing`}));var Or={border:{themeKey:`borders`,transform:tr},borderTop:{themeKey:`borders`,transform:tr},borderRight:{themeKey:`borders`,transform:tr},borderBottom:{themeKey:`borders`,transform:tr},borderLeft:{themeKey:`borders`,transform:tr},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:tr},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:hr},color:{themeKey:`palette`,transform:yr},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:yr},backgroundColor:{themeKey:`palette`,transform:yr},p:{style:Qn},pt:{style:Qn},pr:{style:Qn},pb:{style:Qn},pl:{style:Qn},px:{style:Qn},py:{style:Qn},padding:{style:Qn},paddingTop:{style:Qn},paddingRight:{style:Qn},paddingBottom:{style:Qn},paddingLeft:{style:Qn},paddingX:{style:Qn},paddingY:{style:Qn},paddingInline:{style:Qn},paddingInlineStart:{style:Qn},paddingInlineEnd:{style:Qn},paddingBlock:{style:Qn},paddingBlockStart:{style:Qn},paddingBlockEnd:{style:Qn},m:{style:Xn},mt:{style:Xn},mr:{style:Xn},mb:{style:Xn},ml:{style:Xn},mx:{style:Xn},my:{style:Xn},margin:{style:Xn},marginTop:{style:Xn},marginRight:{style:Xn},marginBottom:{style:Xn},marginLeft:{style:Xn},marginX:{style:Xn},marginY:{style:Xn},marginInline:{style:Xn},marginInlineStart:{style:Xn},marginInlineEnd:{style:Xn},marginBlock:{style:Xn},marginBlockStart:{style:Xn},marginBlockEnd:{style:Xn},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:gr},rowGap:{style:vr},columnGap:{style:_r},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:xr},maxWidth:{style:Cr},minWidth:{transform:xr},height:{transform:xr},maxHeight:{transform:xr},minHeight:{transform:xr},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}},kr={};function Ar(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=kr,nested:i}=t,a=r.unstable_sxConfig??Or,o={sx:null,theme:r,nested:!0};function s(n){let s=n;if(typeof n==`function`)s=n(r);else if(typeof n!=`object`)return n;if(!s)return null;let c=r.breakpoints??wn,l=kn(c);for(let n in s){let i=Nr(s[n],r);i!=null&&(typeof i==`object`?a[n]?Mr(l,n,i,r,a):jn(c,i)?Dn(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o)):Mr(l,n,i,r,a))}return!i&&r.modularCssLayers?{"@layer sx":on(r,An(c,l))}:on(r,An(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var jr=Ar();function Mr(e,t,n,r,i){let a=i[t];if(!a){e[t]=n;return}if(n==null)return;let{themeKey:o}=a;if(o===`typography`&&n===`inherit`){e[t]=n;return}let{style:s}=a;if(s){pn(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=Pn(r,o);Dn(e,r,n,(n,r)=>{let i=Nn(u,l,r,t);c===!1?pn(n?e[n]:e,i):n?e[n][c]=i:e[c]=i})}function Nr(e,t){return typeof e==`function`?e(t):e}function Pr(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Fr(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=rn(n),c=$n(i),l=tn({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...dn,...a}},o);return l=un(l),l.applyStyles=Pr,l=t.reduce((e,t)=>tn(e,t),l),l.unstable_sxConfig={...Or,...o?.unstable_sxConfig},l.unstable_sx=function(e){return jr({sx:e,theme:this})},l.internal_cache={},l}function Ir(e){return Object.keys(e).length===0}function Lr(e=null){let t=V.useContext(yt);return!t||Ir(t)?e:t}var Rr=Fr();function zr(e=Rr){return Lr(e)}function Br(e){let t=Xt(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Vr({styles:e,themeId:t,defaultTheme:n={}}){let r=zr(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>Br(typeof e==`function`?e(i):e)):Br(a)),(0,H.jsx)(Kt,{styles:a})}var Hr=e=>e,Ur=(()=>{let e=Hr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Hr}}})();function Wr(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Wr(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function U(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Wr(e))&&(r&&(r+=` `),r+=t);return r}function Gr(e={}){let{themeId:t,defaultTheme:n,defaultClassName:r=`MuiBox-root`,generateClassName:i}=e,a=qt(`div`,{shouldForwardProp:e=>e!==`theme`&&e!==`sx`&&e!==`as`})(jr);return V.forwardRef(function(e,o){let s=zr(n),{className:c,component:l=`div`,...u}=e;return(0,H.jsx)(a,{as:l,ref:o,className:U(c,i?i(r):r),theme:t&&s[t]||s,...u})})}var Kr={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 W(e,t,n=`Mui`){let r=Kr[t];return r?`${n}-${r}`:`${Ur.generate(e)}-${t}`}function G(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=W(e,t,n)}),r}function qr(e){let{variants:t,...n}=e,r={variants:t,style:Xt(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Xt(e.style))}),r}var Jr=Fr();function Yr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Xr(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Zr(e){return e?(t,n)=>n[e]:null}function Qr(e,t,n){e.theme=fn(e.theme)?n:e.theme[t]||e.theme}function $r(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>$r(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Xr(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Xr(Xt(i),n):i}return ei(e,r.variants,[t],n)}return r?.isProcessed?n?Xr(Xt(r.style),n):r.style:n?Xr(Xt(r),n):r}function ei(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Xr(Xt(o.style(i)),r):o.style(i))):n.push(r?Xr(Xt(o.style),r):o.style)}return n}function ti(e={}){let{themeId:t,defaultTheme:n=Jr,rootShouldForwardProp:r=Yr,slotShouldForwardProp:i=Yr}=e;function a(e){Qr(e,t,n)}return(e,t={})=>{Jt(e,e=>e.filter(e=>e!==jr));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Zr(ri(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Yr;o===`Root`||o===`root`?m=r:o?m=i:ni(e)&&(m=void 0);let h=qt(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return $r(t,e,t.theme.modularCssLayers?d:void 0)};if($t(e)){let t=qr(e);return function(e){return t.variants?$r(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Xr(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=$r(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&o.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?ei(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(jr),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function ni(e){return typeof e==`string`&&e.charCodeAt(0)>96}function ri(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}var ii=ti();function ai(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e,s=i[t],c=o[t];typeof s==`function`||typeof c==`function`?r[a][t]=(...e)=>ai((typeof s==`function`?s(...e):s)??{},(typeof c==`function`?c(...e):c)??{},n):r[a][t]=ai(s??{},c??{},n)}}}else a===`className`&&n&&t.className!==void 0?r.className=U(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}function oi(e){let{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:ai(t.components[n].defaultProps,r)}function si(e){let{props:t,name:n,defaultTheme:r,themeId:i}=e,a=zr(r);return i&&(a=a[i]||a),oi({theme:a,name:n,props:t})}var ci=typeof window<`u`?V.useLayoutEffect:V.useEffect;function li(e,t,n,r,i){let[a,o]=V.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return ci(()=>{if(!n)return;let t=n(e),r=()=>{o(t.matches)};return r(),t.addEventListener(`change`,r),()=>{t.removeEventListener(`change`,r)}},[e,n]),a}var ui={...V}.useSyncExternalStore;function di(e,t,n,r,i){let a=V.useCallback(()=>t,[t]),o=V.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){let{matches:t}=r(e);return()=>t}return a},[a,e,r,i,n]),[s,c]=V.useMemo(()=>{if(n===null)return[a,()=>()=>{}];let t=n(e);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[a,n,e]);return ui(c,s,o)}function fi(e={}){let{themeId:t}=e;return function(e,n={}){let r=Lr();r&&t&&(r=r[t]||r);let i=typeof window<`u`&&window.matchMedia!==void 0?window.matchMedia:null,{defaultMatches:a=!1,matchMedia:o,ssrMatchMedia:s=null,noSsr:c=!1}=oi({name:`MuiUseMediaQuery`,props:n,theme:r}),l=V.useMemo(()=>o===void 0?i===null?null:i.bind(window):o,[o,i]),u=typeof e==`function`?e(r):e;return u=u.replace(/^@media( ?)/m,``),u.includes(`print`)&&console.warn("MUI: You have provided a `print` query to the `useMediaQuery` hook.\nUsing the print media query to modify print styles can lead to unexpected results.\nConsider using the `displayPrint` field in the `sx` prop instead.\nMore information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."),(ui===void 0?li:di)(u,a,l,s,c)}}fi();function pi(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function mi(e,t=0,n=1){return pi(e,t,n)}function hi(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function gi(e){if(e.type)return e;if(e.charAt(0)===`#`)return gi(hi(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(_(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(_(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var _i=e=>{let t=gi(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},vi=(e,t)=>{try{return _i(e)}catch{return e}};function yi(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function bi(e){e=gi(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),yi({type:s,values:c})}function xi(e){e=gi(e);let t=e.type===`hsl`||e.type===`hsla`?gi(bi(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Si(e,t){let n=xi(e),r=xi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Ci(e,t){return e=gi(e),t=mi(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,yi(e)}function wi(e,t,n){try{return Ci(e,t)}catch{return e}}function Ti(e,t){if(e=gi(e),t=mi(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return yi(e)}function Ei(e,t,n){try{return Ti(e,t)}catch{return e}}function Di(e,t){if(e=gi(e),t=mi(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return yi(e)}function K(e,t,n){try{return Di(e,t)}catch{return e}}function Oi(e,t=.15){return xi(e)>.5?Ti(e,t):Di(e,t)}function ki(e,t,n){try{return Oi(e,t)}catch{return e}}var Ai=V.createContext(null);function ji(){return V.useContext(Ai)}var Mi=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function Ni(e,t){return typeof t==`function`?t(e):{...e,...t}}function Pi(e){let{children:t,theme:n}=e,r=ji(),i=V.useMemo(()=>{let e=r===null?{...n}:Ni(r,n);return e!=null&&(e[Mi]=r!==null),e},[n,r]);return(0,H.jsx)(Ai.Provider,{value:i,children:t})}var Fi=V.createContext();function Ii({value:e,...t}){return(0,H.jsx)(Fi.Provider,{value:e??!0,...t})}var Li=()=>V.useContext(Fi)??!1,Ri=V.createContext(void 0);function zi({value:e,children:t}){return(0,H.jsx)(Ri.Provider,{value:e,children:t})}function Bi(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?ai(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?ai(i,r,t.components.mergeClassNameAndStyle):r}function Vi({props:e,name:t}){return Bi({props:e,name:t,theme:{components:V.useContext(Ri)}})}var Hi=0;function Ui(e){let[t,n]=V.useState(e),r=e||t;return V.useEffect(()=>{t??(Hi+=1,n(`mui-${Hi}`))},[t]),r}var Wi={...V}.useId;function Gi(e){if(Wi!==void 0){let t=Wi();return e??t}return Ui(e)}function Ki(e){let t=Lr(),n=Gi()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,ci(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){if(t&&t.hasAttribute?.(`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let r=document.createElement(`style`);r.setAttribute(`data-mui-layer-order`,n),r.textContent=i,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?(0,H.jsx)(Vr,{styles:i}):null}var qi={};function Ji(e,t,n,r=!1){return V.useMemo(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Yi(e){let{children:t,theme:n,themeId:r}=e,i=Lr(qi),a=ji()||qi,o=Ji(r,i,n),s=Ji(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=Ki(o);return(0,H.jsx)(Pi,{theme:s,children:(0,H.jsx)(yt.Provider,{value:o,children:(0,H.jsx)(Ii,{value:c,children:(0,H.jsxs)(zi,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Xi={theme:void 0};function Zi(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Xi.theme=r.theme,i=qr(e(Xi)),t=i,n=r.theme),i}}var Qi=`mode`,$i=`color-scheme`,ea=`data-color-scheme`;({...V}).useSyncExternalStore;function ta(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=Qi,colorSchemeStorageKey:a=$i,attribute:o=ea,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
|
|
10
|
+
${s}.classList.add('${e}'.replace('%s', colorScheme));`}let d=u.match(/\[([^[\]]+)\]/);if(d){let[e,t]=d[1].split(`=`);t||(l+=`${s}.removeAttribute('${e}'.replace('%s', light));
|
|
11
|
+
${s}.removeAttribute('${e}'.replace('%s', dark));`),l+=`
|
|
12
|
+
${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:`""`});`}else u!==`.%s`&&(l+=`${s}.setAttribute('${u}', colorScheme);`);return(0,H.jsx)(`script`,{suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(function() {
|
|
13
|
+
try {
|
|
14
|
+
let colorScheme = '';
|
|
15
|
+
const mode = localStorage.getItem('${i}') || '${t}';
|
|
16
|
+
const dark = localStorage.getItem('${a}-dark') || '${r}';
|
|
17
|
+
const light = localStorage.getItem('${a}-light') || '${n}';
|
|
18
|
+
if (mode === 'system') {
|
|
19
|
+
// handle system mode
|
|
20
|
+
const mql = window.matchMedia('(prefers-color-scheme: dark)');
|
|
21
|
+
if (mql.matches) {
|
|
22
|
+
colorScheme = dark
|
|
23
|
+
} else {
|
|
24
|
+
colorScheme = light
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
if (mode === 'light') {
|
|
28
|
+
colorScheme = light;
|
|
29
|
+
}
|
|
30
|
+
if (mode === 'dark') {
|
|
31
|
+
colorScheme = dark;
|
|
32
|
+
}
|
|
33
|
+
if (colorScheme) {
|
|
34
|
+
${l}
|
|
35
|
+
}
|
|
36
|
+
} catch(e){}})();`}},`mui-color-scheme-init`)}function na(){}var ra=({key:e,storageWindow:t})=>(!t&&typeof window<`u`&&(t=window),{get(n){if(typeof window>`u`)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return na;let r=t=>{let r=t.newValue;t.key===e&&n(r)};return t.addEventListener(`storage`,r),()=>{t.removeEventListener(`storage`,r)}}});function ia(){}function aa(e){if(typeof window<`u`&&typeof window.matchMedia==`function`&&e===`system`)return window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function oa(e,t){if(e.mode===`light`||e.mode===`system`&&e.systemMode===`light`)return t(`light`);if(e.mode===`dark`||e.mode===`system`&&e.systemMode===`dark`)return t(`dark`)}function sa(e){return oa(e,t=>{if(t===`light`)return e.lightColorScheme;if(t===`dark`)return e.darkColorScheme})}function ca(e){let{defaultMode:t=`light`,defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:i=[],modeStorageKey:a=Qi,colorSchemeStorageKey:o=$i,storageWindow:s=typeof window>`u`?void 0:window,storageManager:c=ra,noSsr:l=!1}=e,u=i.join(`,`),d=i.length>1,f=V.useMemo(()=>c?.({key:a,storageWindow:s}),[c,a,s]),p=V.useMemo(()=>c?.({key:`${o}-light`,storageWindow:s}),[c,o,s]),m=V.useMemo(()=>c?.({key:`${o}-dark`,storageWindow:s}),[c,o,s]),[h,g]=V.useState(()=>{let e=f?.get(t)||t,i=p?.get(n)||n,a=m?.get(r)||r;return{mode:e,systemMode:aa(e),lightColorScheme:i,darkColorScheme:a}}),[_,v]=V.useState(l||!d);V.useEffect(()=>{v(!0)},[]);let y=sa(h),b=V.useCallback(e=>{g(n=>{if(e===n.mode)return n;let r=e??t;return f?.set(r),{...n,mode:r,systemMode:aa(r)}})},[f,t]),x=V.useCallback(e=>{e?typeof e==`string`?e&&!u.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):g(t=>{let n={...t};return oa(t,t=>{t===`light`&&(p?.set(e),n.lightColorScheme=e),t===`dark`&&(m?.set(e),n.darkColorScheme=e)}),n}):g(t=>{let i={...t},a=e.light===null?n:e.light,o=e.dark===null?r:e.dark;return a&&(u.includes(a)?(i.lightColorScheme=a,p?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o&&(u.includes(o)?(i.darkColorScheme=o,m?.set(o)):console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)),i}):g(e=>(p?.set(n),m?.set(r),{...e,lightColorScheme:n,darkColorScheme:r}))},[u,p,m,n,r]),S=V.useCallback(e=>{h.mode===`system`&&g(t=>{let n=e?.matches?`dark`:`light`;return t.systemMode===n?t:{...t,systemMode:n}})},[h.mode]),C=V.useRef(S);return C.current=S,V.useEffect(()=>{if(typeof window.matchMedia!=`function`||!d)return;let e=(...e)=>C.current(...e),t=window.matchMedia(`(prefers-color-scheme: dark)`);return t.addListener(e),e(t),()=>{t.removeListener(e)}},[d]),V.useEffect(()=>{if(d){let e=f?.subscribe(e=>{(!e||[`light`,`dark`,`system`].includes(e))&&b(e||t)})||ia,n=p?.subscribe(e=>{(!e||u.match(e))&&x({light:e})})||ia,r=m?.subscribe(e=>{(!e||u.match(e))&&x({dark:e})})||ia;return()=>{e(),n(),r()}}},[x,b,u,t,s,d,f,p,m]),{...h,mode:_?h.mode:void 0,systemMode:_?h.systemMode:void 0,colorScheme:_?y:void 0,setMode:b,setColorScheme:x}}var la=`*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function ua(e){let{themeId:t,theme:n={},modeStorageKey:r=Qi,colorSchemeStorageKey:i=$i,disableTransitionOnChange:a=!1,defaultColorScheme:o,resolveTheme:s}=e,c={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},l=V.createContext(void 0),u=()=>V.useContext(l)||c,d={},f={};function p(e){let{children:c,theme:u,modeStorageKey:p=r,colorSchemeStorageKey:m=i,disableTransitionOnChange:h=a,storageManager:g,storageWindow:_=typeof window>`u`?void 0:window,documentNode:v=typeof document>`u`?void 0:document,colorSchemeNode:y=typeof document>`u`?void 0:document.documentElement,disableNestedContext:b=!1,disableStyleSheetGeneration:x=!1,defaultMode:S=`system`,forceThemeRerender:C=!1,noSsr:w}=e,T=V.useRef(!1),E=ji(),D=V.useContext(l),O=!!D&&!b,k=V.useMemo(()=>u||(typeof n==`function`?n():n),[u]),ee=k[t],A=ee||k,{colorSchemes:j=d,components:M=f,cssVarPrefix:N}=A,P=Object.keys(j).filter(e=>!!j[e]).join(`,`),F=V.useMemo(()=>P.split(`,`),[P]),I=typeof o==`string`?o:o.light,L=typeof o==`string`?o:o.dark,{mode:te,setMode:ne,systemMode:re,lightColorScheme:R,darkColorScheme:z,colorScheme:ie,setColorScheme:ae}=ca({supportedColorSchemes:F,defaultLightColorScheme:I,defaultDarkColorScheme:L,modeStorageKey:p,colorSchemeStorageKey:m,defaultMode:j[I]&&j[L]?S:j[A.defaultColorScheme]?.palette?.mode||A.palette?.mode,storageManager:g,storageWindow:_,noSsr:w}),oe=te,se=ie;O&&(oe=D.mode,se=D.colorScheme);let ce=se||A.defaultColorScheme;A.vars&&!C&&(ce=A.defaultColorScheme);let le=V.useMemo(()=>{let e=A.generateThemeVars?.()||A.vars,t={...A,components:M,colorSchemes:j,cssVarPrefix:N,vars:e};if(typeof t.generateSpacing==`function`&&(t.spacing=t.generateSpacing()),ce){let e=j[ce];e&&typeof e==`object`&&Object.keys(e).forEach(n=>{e[n]&&typeof e[n]==`object`?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return s?s(t):t},[A,ce,M,j,N]),B=A.colorSchemeSelector;ci(()=>{if(se&&y&&B&&B!==`media`){let e=B,t=B;if(e===`class`&&(t=`.%s`),e===`data`&&(t=`[data-%s]`),e?.startsWith(`data-`)&&!e.includes(`%s`)&&(t=`[${e}="%s"]`),t.startsWith(`.`))y.classList.remove(...F.map(e=>t.substring(1).replace(`%s`,e))),y.classList.add(t.substring(1).replace(`%s`,se));else{let e=t.replace(`%s`,se).match(/\[([^\]]+)\]/);if(e){let[t,n]=e[1].split(`=`);n||F.forEach(e=>{y.removeAttribute(t.replace(se,e))}),y.setAttribute(t,n?n.replace(/"|'/g,``):``)}else y.setAttribute(t,se)}}},[se,B,y,F]),V.useEffect(()=>{let e;if(h&&T.current&&v){let t=v.createElement(`style`);t.appendChild(v.createTextNode(la)),v.head.appendChild(t),window.getComputedStyle(v.body),e=setTimeout(()=>{v.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[se,h,v]),V.useEffect(()=>(T.current=!0,()=>{T.current=!1}),[]);let ue=V.useMemo(()=>({allColorSchemes:F,colorScheme:se,darkColorScheme:z,lightColorScheme:R,mode:oe,setColorScheme:ae,setMode:ne,systemMode:re}),[F,se,z,R,oe,ae,ne,re,le.colorSchemeSelector]),de=!0;(x||A.cssVariables===!1||O&&E?.cssVarPrefix===N)&&(de=!1);let fe=(0,H.jsxs)(V.Fragment,{children:[(0,H.jsx)(Yi,{themeId:ee?t:void 0,theme:le,children:c}),de&&(0,H.jsx)(Kt,{styles:le.generateStyleSheets?.()||[]})]});return O?fe:(0,H.jsx)(l.Provider,{value:ue,children:fe})}let m=typeof o==`string`?o:o.light,h=typeof o==`string`?o:o.dark;return{CssVarsProvider:p,useColorScheme:u,getInitColorSchemeScript:e=>ta({colorSchemeStorageKey:i,defaultLightColorScheme:m,defaultDarkColorScheme:h,modeStorageKey:r,...e})}}function da(e=``){function t(...n){if(!n.length)return``;let r=n[0];return typeof r==`string`&&!r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:``}${r}${t(...n.slice(1))})`:`, ${r}`}return(n,...r)=>`var(--${e?`${e}-`:``}${n}${t(...r)})`}var fa=new Set([`__proto__`,`constructor`,`prototype`]),pa=(e,t,n,r=[])=>{let i=e;for(let e=0;e<t.length;e+=1){let a=t[e];if(fa.has(a))break;e===t.length-1?Array.isArray(i)?i[Number(a)]=n:i&&typeof i==`object`&&(i[a]=n):i&&typeof i==`object`&&(i[a]||(i[a]=r.includes(a)?[]:{}),i=i[a])}},ma=(e,t,n)=>{function r(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{(!n||n&&!n([...i,e]))&&o!=null&&(typeof o==`object`&&Object.keys(o).length>0?r(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}r(e)},ha=(e,t)=>typeof t==`number`?[`lineHeight`,`fontWeight`,`opacity`,`zIndex`].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes(`opacity`)?t:`${t}px`:t;function ga(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return ma(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=ha(e,t);Object.assign(i,{[r]:c}),pa(a,e,`var(${r})`,s),pa(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function _a(e,t={}){let{getSelector:n=_,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:c=`light`,...l}=e,{vars:u,css:d,varsWithDefaults:f}=ga(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=ga(n,t);p=tn(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=ga(h,t);p=tn(p,r),m[c]={css:e,vars:n}}function _(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${o[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(m).forEach(([,{vars:t}])=>{e=tn(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function s(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);let{[i]:c,...l}=m;if(c){let{css:e}=c,t=o[i]?.palette?.mode,a=!r&&t?{colorScheme:t,...e}:{...e};s(n(i,{...a}),a)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=o[e]?.palette?.mode,a=!r&&i?{colorScheme:i,...t}:{...t};s(n(e,{...a}),a)}),a&&t.push({":root":{"--__l-threshold":`0.7`,"--__l":`clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)`,"--__a":`clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)`}}),t}}}function va(e){return function(t){return e===`media`?`@media (prefers-color-scheme: ${t})`:e?e.startsWith(`data-`)&&!e.includes(`%s`)?`[${e}="${t}"] &`:e===`class`?`.${t} &`:e===`data`?`[data-${t}] &`:`${e.replace(`%s`,t)} &`:`&`}}function ya(e,t,n=void 0){let r={};for(let i in e){let a=e[i],o=``,s=!0;for(let e=0;e<a.length;e+=1){let r=a[e];r&&(o+=(s===!0?``:` `)+t(r),s=!1,n&&n[r]&&(o+=` `+n[r]))}r[i]=o}return r}function ba(e,t){return V.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}var xa=(e,t)=>e.filter(e=>t.includes(e)),Sa=(e,t,n)=>{let r=e.keys[0];Array.isArray(t)?t.forEach((t,r)=>{n((t,n)=>{r<=e.keys.length-1&&(r===0?Object.assign(t,n):t[e.up(e.keys[r])]=n)},t)}):t&&typeof t==`object`?(Object.keys(t).length>e.keys.length?e.keys:xa(e.keys,Object.keys(t))).forEach(i=>{if(e.keys.includes(i)){let a=t[i];a!==void 0&&n((t,n)=>{r===i?Object.assign(t,n):t[e.up(i)]=n},a)}}):(typeof t==`number`||typeof t==`string`)&&n((e,t)=>{Object.assign(e,t)},t)};function Ca(e){return`--Grid-${e}Spacing`}function wa(e){return`--Grid-parent-${e}Spacing`}var Ta=`--Grid-columns`,Ea=`--Grid-parent-columns`,Da=({theme:e,ownerState:t})=>{let n={};return Sa(e.breakpoints,t.size,(e,t)=>{let r={};t===`grow`&&(r={flexBasis:0,flexGrow:1,maxWidth:`100%`}),t===`auto`&&(r={flexBasis:`auto`,flexGrow:0,flexShrink:0,maxWidth:`none`,width:`auto`}),typeof t==`number`&&(r={flexGrow:0,flexBasis:`auto`,width:`calc(100% * ${t} / var(${Ea}) - (var(${Ea}) - ${t}) * (var(${wa(`column`)}) / var(${Ea})))`}),e(n,r)}),n},Oa=({theme:e,ownerState:t})=>{let n={};return Sa(e.breakpoints,t.offset,(e,t)=>{let r={};t===`auto`&&(r={marginLeft:`auto`}),typeof t==`number`&&(r={marginLeft:t===0?`0px`:`calc(100% * ${t} / var(${Ea}) + var(${wa(`column`)}) * ${t} / var(${Ea}))`}),e(n,r)}),n},ka=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={[Ta]:12};return Sa(e.breakpoints,t.columns,(e,t)=>{let r=t??12;e(n,{[Ta]:r,"> *":{[Ea]:r}})}),n},Aa=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={};return Sa(e.breakpoints,t.rowSpacing,(t,r)=>{let i=typeof r==`string`?r:e.spacing?.(r);t(n,{[Ca(`row`)]:i,"> *":{[wa(`row`)]:i}})}),n},ja=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={};return Sa(e.breakpoints,t.columnSpacing,(t,r)=>{let i=typeof r==`string`?r:e.spacing?.(r);t(n,{[Ca(`column`)]:i,"> *":{[wa(`column`)]:i}})}),n},Ma=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={};return Sa(e.breakpoints,t.direction,(e,t)=>{e(n,{flexDirection:t})}),n},Na=({ownerState:e})=>({minWidth:0,boxSizing:`border-box`,...e.container&&{display:`flex`,flexWrap:`wrap`,...e.wrap&&e.wrap!==`wrap`&&{flexWrap:e.wrap},gap:`var(${Ca(`row`)}) var(${Ca(`column`)})`}}),Pa=e=>{let t=[];return Object.entries(e).forEach(([e,n])=>{n!==!1&&n!==void 0&&t.push(`grid-${e}-${String(n)}`)}),t},Fa=(e,t=`xs`)=>{function n(e){return e===void 0?!1:typeof e==`string`&&!Number.isNaN(Number(e))||typeof e==`number`&&e>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e==`object`&&!Array.isArray(e)){let t=[];return Object.entries(e).forEach(([e,r])=>{n(r)&&t.push(`spacing-${e}-${String(r)}`)}),t}return[]},Ia=e=>e===void 0?[]:typeof e==`object`?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`],La=Fr(),Ra=ii(`div`,{name:`MuiGrid`,slot:`Root`});function za(e){return si({props:e,name:`MuiGrid`,defaultTheme:La})}function Ba(e={}){let{createStyledComponent:t=Ra,useThemeProps:n=za,useTheme:r=zr,componentName:i=`MuiGrid`}=e,a=(e,t)=>{let{container:n,direction:r,spacing:a,wrap:o,size:s}=e;return ya({root:[`root`,n&&`container`,o!==`wrap`&&`wrap-xs-${String(o)}`,...Ia(r),...Pa(s),...n?Fa(a,t.breakpoints.keys[0]):[]]},e=>W(i,e),{})};function o(e,t,n=()=>!0){let r={};return e===null||(Array.isArray(e)?e.forEach((e,i)=>{e!==null&&n(e)&&t.keys[i]&&(r[t.keys[i]]=e)}):typeof e==`object`?Object.keys(e).forEach(t=>{let i=e[t];i!=null&&n(i)&&(r[t]=i)}):r[t.keys[0]]=e),r}let s=t(ka,ja,Aa,Da,Ma,Na,Oa),c=V.forwardRef(function(e,t){let i=r(),c=n(e),{className:l,children:u,columns:d=12,container:f=!1,component:p=`div`,direction:m=`row`,wrap:h=`wrap`,size:g={},offset:_={},spacing:v=0,rowSpacing:y=v,columnSpacing:b=v,unstable_level:x=0,...S}=c,C=o(g,i.breakpoints,e=>e!==!1),w=o(_,i.breakpoints),T=e.columns??(x?void 0:d),E=e.spacing??(x?void 0:v),D=e.rowSpacing??e.spacing??(x?void 0:y),O=e.columnSpacing??e.spacing??(x?void 0:b),k={...c,level:x,columns:T,container:f,direction:m,wrap:h,spacing:E,rowSpacing:D,columnSpacing:O,size:C,offset:w},ee=a(k,i);return(0,H.jsx)(s,{ref:t,as:p,ownerState:k,className:U(ee.root,l),...S,children:V.Children.map(u,e=>V.isValidElement(e)&&ba(e,[`Grid`])&&f&&e.props.container?V.cloneElement(e,{unstable_level:e.props?.unstable_level??x+1}):e)})});return c.muiName=`Grid`,c}var Va={black:`#000`,white:`#fff`},Ha={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`},Ua={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`},Wa={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`},Ga={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`},Ka={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`},qa={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`},Ja={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`};function Ya(){return{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:Va.white,default:Va.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}}}var Xa=Ya();function Za(){return{text:{primary:Va.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:Va.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}}}var Qa=Za();function $a(e,t,n,r){let i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t===`light`?e.light=Di(e.main,i):t===`dark`&&(e.dark=Ti(e.main,a)))}function eo(e,t,n,r,i){let a=i.light||i,o=i.dark||i*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n===`light`?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:n===`dark`&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(o*100).toFixed(0)}%)`))}function to(e=`light`){return e===`dark`?{main:Ka[200],light:Ka[50],dark:Ka[400]}:{main:Ka[700],light:Ka[400],dark:Ka[800]}}function no(e=`light`){return e===`dark`?{main:Ua[200],light:Ua[50],dark:Ua[400]}:{main:Ua[500],light:Ua[300],dark:Ua[700]}}function ro(e=`light`){return e===`dark`?{main:Wa[500],light:Wa[300],dark:Wa[700]}:{main:Wa[700],light:Wa[400],dark:Wa[800]}}function io(e=`light`){return e===`dark`?{main:qa[400],light:qa[300],dark:qa[700]}:{main:qa[700],light:qa[500],dark:qa[900]}}function ao(e=`light`){return e===`dark`?{main:Ja[400],light:Ja[300],dark:Ja[700]}:{main:Ja[800],light:Ja[500],dark:Ja[900]}}function oo(e=`light`){return e===`dark`?{main:Ga[400],light:Ga[300],dark:Ga[700]}:{main:`#ed6c02`,light:Ga[500],dark:Ga[900]}}function so(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function co(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||to(t),s=e.secondary||no(t),c=e.error||ro(t),l=e.info||io(t),u=e.success||ao(t),d=e.warning||oo(t);function f(e){return i?so(e):Si(e,Qa.text.primary)>=n?Qa.text.primary:Xa.text.primary}let p=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(_(11,t?` (${t})`:``,n));if(typeof e.main!=`string`)throw Error(_(12,t?` (${t})`:``,JSON.stringify(e.main)));return i?(eo(i,e,`light`,a,r),eo(i,e,`dark`,o,r)):($a(e,`light`,a,r),$a(e,`dark`,o,r)),e.contrastText||(e.contrastText=f(e.main)),e},m;return t===`light`?m=Ya():t===`dark`&&(m=Za()),tn({common:{...Va},mode:t,primary:p({color:o,name:`primary`}),secondary:p({color:s,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:p({color:c,name:`error`}),warning:p({color:d,name:`warning`}),info:p({color:l,name:`info`}),success:p({color:u,name:`success`}),grey:Ha,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}var lo=`--_focusVisible-offset`,uo=`--_focusVisible-behavior`,fo=`--_focusVisible-shadow`,po=`var(${lo}, 1)`,mo=`var(${uo}, )`,ho={[lo]:1,[uo]:`initial`};function go(e){return{[fo]:e}}function _o(e){return{[lo]:-e,[uo]:`inset`}}function vo(e,t){return t.reduce((e,t)=>t&&`focusVisible`in t?tn(e,{focusVisible:t.focusVisible}):e,{focusVisible:e}).focusVisible}function yo(e){return typeof e==`object`&&!!e&&typeof e.outlineOffset==`string`&&e.outlineOffset.includes(lo)}function bo(e,t){return xo({outlineStyle:`solid`,outlineColor:t,outlineWidth:2,outlineOffset:2,boxShadow:`var(${fo}, 0 0)`,...e===!0?null:e})}function xo(e){let t=e.outlineOffset??0;typeof t==`string`&&t.includes(lo)||(e.outlineOffset=`calc(${po} * ${typeof t==`number`?`${t}px`:t})`);let n=new Set([`none`,`initial`,`inherit`,`unset`,`revert`,`revert-layer`]);return typeof e.boxShadow!=`string`||n.has(e.boxShadow.trim().toLowerCase())||/\binset\b/.test(e.boxShadow)||e.boxShadow.includes(uo)||(e.boxShadow=`${mo} ${e.boxShadow}`),e}function So(e){let t={};return Object.entries(e).forEach(e=>{let[n,r]=e;typeof r==`object`&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:``}${r.fontVariant?`${r.fontVariant} `:``}${r.fontWeight?`${r.fontWeight} `:``}${r.fontStretch?`${r.fontStretch} `:``}${r.fontSize||``}${r.lineHeight?`/${r.lineHeight} `:``}${r.fontFamily||``}`)}),t}function Co(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function wo(e){return Math.round(e*1e5)/1e5}var To={textTransform:`uppercase`},Eo=`"Roboto", "Helvetica", "Arial", sans-serif`;function Do(e,t){let{fontFamily:n=Eo,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...d}=typeof t==`function`?t(e):t,f=r/14,p=u||(e=>`${e/c*f}rem`),m=(e,t,r,i,a)=>({fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===Eo?{letterSpacing:`${wo(i/t)}em`}:{},...a,...l});return tn({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:s,h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,To),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,To),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var Oo=.2,ko=.14,Ao=.12;function jo(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Oo})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ko})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ao})`].join(`,`)}var Mo=[`none`,jo(0,2,1,-1,0,1,1,0,0,1,3,0),jo(0,3,1,-2,0,2,2,0,0,1,5,0),jo(0,3,3,-2,0,3,4,0,0,1,8,0),jo(0,2,4,-1,0,4,5,0,0,1,10,0),jo(0,3,5,-1,0,5,8,0,0,1,14,0),jo(0,3,5,-1,0,6,10,0,0,1,18,0),jo(0,4,5,-2,0,7,10,1,0,2,16,1),jo(0,5,5,-3,0,8,10,1,0,3,14,2),jo(0,5,6,-3,0,9,12,1,0,3,16,2),jo(0,6,6,-3,0,10,14,1,0,4,18,3),jo(0,6,7,-4,0,11,15,1,0,4,20,3),jo(0,7,8,-4,0,12,17,2,0,5,22,4),jo(0,7,8,-4,0,13,19,2,0,5,24,4),jo(0,7,9,-4,0,14,21,2,0,5,26,4),jo(0,8,9,-5,0,15,22,2,0,6,28,5),jo(0,8,10,-5,0,16,24,2,0,6,30,5),jo(0,8,11,-5,0,17,26,2,0,6,32,5),jo(0,9,11,-5,0,18,28,2,0,7,34,6),jo(0,9,12,-6,0,19,29,2,0,7,36,6),jo(0,10,13,-6,0,20,31,3,0,8,38,7),jo(0,10,13,-6,0,21,33,3,0,8,40,7),jo(0,10,14,-6,0,22,35,3,0,8,42,7),jo(0,11,14,-7,0,23,36,3,0,9,44,8),jo(0,11,15,-7,0,24,38,3,0,9,46,8)],No=[`all`],Po={},Fo={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)`},Io={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Lo(e){return`${Math.round(e)}ms`}function Ro(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function zo(e){let t={...e};delete t.reducedMotion;let n={...Fo,...t.easing},r={...Io,...t.duration};return{getAutoHeightDuration:Ro,create:t.create??((e=No,t=Po)=>{let{duration:i=r.standard,easing:a=n.easeInOut,delay:o=0,...s}=t;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:Lo(i)} ${a} ${typeof o==`string`?o:Lo(o)}`).join(`,`)}),...t,easing:n,duration:r}}var Bo={};function Vo(e=Bo){return{reducedMotion:`never`,...e}}var Ho={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Uo(e){return $t(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function Wo(e={}){let t={...e};function n(e){let t=Object.entries(e);for(let r=0;r<t.length;r++){let[i,a]=t[r];!Uo(a)||i.startsWith(`unstable_`)||i.startsWith(`internal_`)?delete e[i]:$t(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
37
|
+
|
|
38
|
+
const theme = ${JSON.stringify(t,null,2)};
|
|
39
|
+
|
|
40
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
41
|
+
theme.motion = { reducedMotion: 'never', ...theme.motion };
|
|
42
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
43
|
+
|
|
44
|
+
export default theme;`}function Go(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var Ko=e=>{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n};function qo(e){Object.assign(e,{alpha(t,n){let r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n==`string`?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,`var(--$1Channel)`)} / ${typeof n==`string`?`calc(${n})`:n})`:Ci(t,Ko(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${Go(n)})`:Di(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${Go(n)})`:Ti(t,n)}})}function Jo(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},motion:o={},transitions:s={},typography:c={},shape:l,colorSpace:u,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(_(22));let f=co({...a,colorSpace:u}),p=Fr(e),m=tn(p,{mixins:Co(p.breakpoints,r),palette:f,shadows:Mo.slice(),typography:Do(f,c),motion:Vo(o),transitions:zo(s),zIndex:{...Ho}});return m=tn(m,d),m=t.reduce((e,t)=>tn(e,t),m),delete m.transitions.reducedMotion,m.focusVisible!=null&&m.focusVisible!==!1&&(m.focusVisible=bo(m.focusVisible,m.palette.primary.main)),m.unstable_sxConfig={...Or,...d?.unstable_sxConfig},m.unstable_sx=function(e){return jr({sx:e,theme:this})},m.toRuntimeSource=Wo,qo(m),m}function Yo(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var Xo=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=Yo(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Zo(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function Qo(e){return e===`dark`?Xo:[]}function $o(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=co({...t,colorSpace:i});return{palette:o,opacity:{...Zo(o.mode),...n},overlays:r||Qo(o.mode),...a}}function es(e){return e[0]===`motion`||e[0]===`focusVisible`||!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var ts=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],ns=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};return ts(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function rs(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function q(e,t,n){!e[t]&&n&&(e[t]=n)}function is(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:bi(e)}function as(e,t){`${t}Channel`in e||(e[`${t}Channel`]=vi(is(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
45
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function os(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var ss=e=>{try{return e()}catch{}},cs=(e=`mui`)=>da(e);function ls(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=$o({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=Jo({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Zo(a),...n?.opacity},overlays:n?.overlays||Qo(a)},s}function us(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=es,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=cs(a),{[f]:m,light:h,dark:g,...v}=n,y={...v},b=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(b=!0),!b)throw Error(_(21,f));let x;o&&(x=`oklch`);let S=ls(x,y,b,u,f);h&&!y.light&&ls(x,y,h,void 0,`light`),g&&!y.dark&&ls(x,y,g,void 0,`dark`);let C={defaultColorScheme:f,...S,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:y,font:{...So(S.typography),...S.font},spacing:os(u.spacing)};Object.keys(C.colorSchemes).forEach(e=>{let t=C.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(q(t.common,`background`,`#fff`),q(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(q(t.common,`background`,`#000`),q(t.common,`onBackground`,`#fff`));function r(e,t,n){if(x){let r;return e===wi&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===Ei&&(r=`#000 ${(n*100).toFixed(0)}%`),e===K&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${x}, ${t}, ${r})`}return e(t,n)}if(rs(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){q(t.Alert,`errorColor`,r(Ei,o?p(`palette-error-light`):t.error.light,.6)),q(t.Alert,`infoColor`,r(Ei,o?p(`palette-info-light`):t.info.light,.6)),q(t.Alert,`successColor`,r(Ei,o?p(`palette-success-light`):t.success.light,.6)),q(t.Alert,`warningColor`,r(Ei,o?p(`palette-warning-light`):t.warning.light,.6)),q(t.Alert,`errorFilledBg`,n(`palette-error-main`)),q(t.Alert,`infoFilledBg`,n(`palette-info-main`)),q(t.Alert,`successFilledBg`,n(`palette-success-main`)),q(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),q(t.Alert,`errorFilledColor`,ss(()=>t.getContrastText(t.error.main))),q(t.Alert,`infoFilledColor`,ss(()=>t.getContrastText(t.info.main))),q(t.Alert,`successFilledColor`,ss(()=>t.getContrastText(t.success.main))),q(t.Alert,`warningFilledColor`,ss(()=>t.getContrastText(t.warning.main))),q(t.Alert,`errorStandardBg`,r(K,o?p(`palette-error-light`):t.error.light,.9)),q(t.Alert,`infoStandardBg`,r(K,o?p(`palette-info-light`):t.info.light,.9)),q(t.Alert,`successStandardBg`,r(K,o?p(`palette-success-light`):t.success.light,.9)),q(t.Alert,`warningStandardBg`,r(K,o?p(`palette-warning-light`):t.warning.light,.9)),q(t.Alert,`errorIconColor`,n(`palette-error-main`)),q(t.Alert,`infoIconColor`,n(`palette-info-main`)),q(t.Alert,`successIconColor`,n(`palette-success-main`)),q(t.Alert,`warningIconColor`,n(`palette-warning-main`)),q(t.AppBar,`defaultBg`,n(`palette-grey-100`)),q(t.Avatar,`defaultBg`,n(`palette-grey-400`)),q(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),q(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),q(t.Chip,`defaultBorder`,n(`palette-grey-400`)),q(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),q(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),q(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),q(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),q(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),q(t.LinearProgress,`primaryBg`,r(K,o?p(`palette-primary-main`):t.primary.main,.62)),q(t.LinearProgress,`secondaryBg`,r(K,o?p(`palette-secondary-main`):t.secondary.main,.62)),q(t.LinearProgress,`errorBg`,r(K,o?p(`palette-error-main`):t.error.main,.62)),q(t.LinearProgress,`infoBg`,r(K,o?p(`palette-info-main`):t.info.main,.62)),q(t.LinearProgress,`successBg`,r(K,o?p(`palette-success-main`):t.success.main,.62)),q(t.LinearProgress,`warningBg`,r(K,o?p(`palette-warning-light`):t.warning.main,.62)),q(t.Skeleton,`bg`,x?r(wi,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),q(t.Slider,`primaryTrack`,r(K,o?p(`palette-primary-main`):t.primary.main,.62)),q(t.Slider,`secondaryTrack`,r(K,o?p(`palette-secondary-main`):t.secondary.main,.62)),q(t.Slider,`errorTrack`,r(K,o?p(`palette-error-main`):t.error.main,.62)),q(t.Slider,`infoTrack`,r(K,o?p(`palette-info-main`):t.info.main,.62)),q(t.Slider,`successTrack`,r(K,o?p(`palette-success-main`):t.success.main,.62)),q(t.Slider,`warningTrack`,r(K,o?p(`palette-warning-main`):t.warning.main,.62));let e=x?r(Ei,o?p(`palette-background-default`):t.background.default,.6825):ki(t.background.default,.8);q(t.SnackbarContent,`bg`,e),q(t.SnackbarContent,`color`,ss(()=>x?Qa.text.primary:t.getContrastText(e))),q(t.SpeedDialAction,`fabHoverBg`,ki(t.background.paper,.15)),q(t.StepConnector,`border`,n(`palette-grey-400`)),q(t.StepContent,`border`,n(`palette-grey-400`)),q(t.Switch,`defaultColor`,n(`palette-common-white`)),q(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),q(t.Switch,`primaryDisabledColor`,r(K,o?p(`palette-primary-main`):t.primary.main,.62)),q(t.Switch,`secondaryDisabledColor`,r(K,o?p(`palette-secondary-main`):t.secondary.main,.62)),q(t.Switch,`errorDisabledColor`,r(K,o?p(`palette-error-main`):t.error.main,.62)),q(t.Switch,`infoDisabledColor`,r(K,o?p(`palette-info-main`):t.info.main,.62)),q(t.Switch,`successDisabledColor`,r(K,o?p(`palette-success-main`):t.success.main,.62)),q(t.Switch,`warningDisabledColor`,r(K,o?p(`palette-warning-main`):t.warning.main,.62)),q(t.TableCell,`border`,r(K,wi(o?p(`palette-divider`):t.divider,1),.88)),q(t.Tooltip,`bg`,r(wi,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){q(t.Alert,`errorColor`,r(K,o?p(`palette-error-light`):t.error.light,.6)),q(t.Alert,`infoColor`,r(K,o?p(`palette-info-light`):t.info.light,.6)),q(t.Alert,`successColor`,r(K,o?p(`palette-success-light`):t.success.light,.6)),q(t.Alert,`warningColor`,r(K,o?p(`palette-warning-light`):t.warning.light,.6)),q(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),q(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),q(t.Alert,`successFilledBg`,n(`palette-success-dark`)),q(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),q(t.Alert,`errorFilledColor`,ss(()=>t.getContrastText(t.error.dark))),q(t.Alert,`infoFilledColor`,ss(()=>t.getContrastText(t.info.dark))),q(t.Alert,`successFilledColor`,ss(()=>t.getContrastText(t.success.dark))),q(t.Alert,`warningFilledColor`,ss(()=>t.getContrastText(t.warning.dark))),q(t.Alert,`errorStandardBg`,r(Ei,o?p(`palette-error-light`):t.error.light,.9)),q(t.Alert,`infoStandardBg`,r(Ei,o?p(`palette-info-light`):t.info.light,.9)),q(t.Alert,`successStandardBg`,r(Ei,o?p(`palette-success-light`):t.success.light,.9)),q(t.Alert,`warningStandardBg`,r(Ei,o?p(`palette-warning-light`):t.warning.light,.9)),q(t.Alert,`errorIconColor`,n(`palette-error-main`)),q(t.Alert,`infoIconColor`,n(`palette-info-main`)),q(t.Alert,`successIconColor`,n(`palette-success-main`)),q(t.Alert,`warningIconColor`,n(`palette-warning-main`)),q(t.AppBar,`defaultBg`,n(`palette-grey-900`)),q(t.AppBar,`darkBg`,n(`palette-background-paper`)),q(t.AppBar,`darkColor`,n(`palette-text-primary`)),q(t.Avatar,`defaultBg`,n(`palette-grey-600`)),q(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),q(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),q(t.Chip,`defaultBorder`,n(`palette-grey-700`)),q(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),q(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),q(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),q(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),q(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),q(t.LinearProgress,`primaryBg`,r(Ei,o?p(`palette-primary-main`):t.primary.main,.5)),q(t.LinearProgress,`secondaryBg`,r(Ei,o?p(`palette-secondary-main`):t.secondary.main,.5)),q(t.LinearProgress,`errorBg`,r(Ei,o?p(`palette-error-main`):t.error.main,.5)),q(t.LinearProgress,`infoBg`,r(Ei,o?p(`palette-info-main`):t.info.main,.5)),q(t.LinearProgress,`successBg`,r(Ei,o?p(`palette-success-main`):t.success.main,.5)),q(t.LinearProgress,`warningBg`,r(Ei,o?p(`palette-warning-main`):t.warning.main,.5)),q(t.Skeleton,`bg`,x?r(wi,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),q(t.Slider,`primaryTrack`,r(Ei,o?p(`palette-primary-main`):t.primary.main,.5)),q(t.Slider,`secondaryTrack`,r(Ei,o?p(`palette-secondary-main`):t.secondary.main,.5)),q(t.Slider,`errorTrack`,r(Ei,o?p(`palette-error-main`):t.error.main,.5)),q(t.Slider,`infoTrack`,r(Ei,o?p(`palette-info-main`):t.info.main,.5)),q(t.Slider,`successTrack`,r(Ei,o?p(`palette-success-main`):t.success.main,.5)),q(t.Slider,`warningTrack`,r(Ei,o?p(`palette-warning-light`):t.warning.main,.5));let e=x?r(K,o?p(`palette-background-default`):t.background.default,.985):ki(t.background.default,.98);q(t.SnackbarContent,`bg`,e),q(t.SnackbarContent,`color`,ss(()=>x?Xa.text.primary:t.getContrastText(e))),q(t.SpeedDialAction,`fabHoverBg`,ki(t.background.paper,.15)),q(t.StepConnector,`border`,n(`palette-grey-600`)),q(t.StepContent,`border`,n(`palette-grey-600`)),q(t.Switch,`defaultColor`,n(`palette-grey-300`)),q(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),q(t.Switch,`primaryDisabledColor`,r(Ei,o?p(`palette-primary-main`):t.primary.main,.55)),q(t.Switch,`secondaryDisabledColor`,r(Ei,o?p(`palette-secondary-main`):t.secondary.main,.55)),q(t.Switch,`errorDisabledColor`,r(Ei,o?p(`palette-error-main`):t.error.main,.55)),q(t.Switch,`infoDisabledColor`,r(Ei,o?p(`palette-info-main`):t.info.main,.55)),q(t.Switch,`successDisabledColor`,r(Ei,o?p(`palette-success-main`):t.success.main,.55)),q(t.Switch,`warningDisabledColor`,r(Ei,o?p(`palette-warning-light`):t.warning.main,.55)),q(t.TableCell,`border`,r(Ei,wi(o?p(`palette-divider`):t.divider,1),.68)),q(t.Tooltip,`bg`,r(wi,o?p(`palette-grey-700`):t.grey[700],.92))}o||(as(t.background,`default`),as(t.background,`paper`),as(t.common,`background`),as(t.common,`onBackground`),as(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&q(t[e],`mainChannel`,vi(is(n.main))),n.light&&q(t[e],`lightChannel`,vi(is(n.light))),n.dark&&q(t[e],`darkChannel`,vi(is(n.dark))),n.contrastText&&q(t[e],`contrastTextChannel`,vi(is(n.contrastText))),e===`text`&&(as(t[e],`primary`),as(t[e],`secondary`)),e===`action`&&(n.active&&as(t[e],`active`),n.selected&&as(t[e],`selected`)))})}),C=t.reduce((e,t)=>tn(e,t),C);let w=vo(e.focusVisible,t);w!=null&&w!==!1&&(C.focusVisible=bo(w,p(`palette-primary-main`)));let T={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:ns(C),enableContrastVars:o},{vars:E,generateThemeVars:D,generateStyleSheets:O}=_a(C,T);return C.vars=E,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([e,t])=>{C[e]=t}),C.generateThemeVars=D,C.generateStyleSheets=O,C.generateSpacing=function(){return $n(u.spacing,Gn(this))},C.getColorSchemeSelector=va(c),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...Or,...u?.unstable_sxConfig},C.unstable_sx=function(e){return jr({sx:e,theme:this})},C.internal_cache={},C.toRuntimeSource=Wo,C}function ds(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:co({...n===!0?{}:n.palette,mode:t})})}function fs(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return Jo(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=Jo({...e,palette:r},...t);if(i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},ds(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},ds(i,`light`,l.light)),i.focusVisible!=null&&i.focusVisible!==!1){let n=i.focusVisible,r=vo(e.focusVisible,t),a=r&&typeof r==`object`?r.outlineColor:void 0;if(!a||yo(r)&&a===i.palette.primary.main){let{outlineColor:e,...t}=n;n=t}Object.keys(i.colorSchemes).forEach(e=>{let t=i.colorSchemes?.[e]?.palette;t?.primary&&(i.colorSchemes[e].focusVisible=bo(n,t.primary.main))})}return i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),us({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}function ps(e){return W(`MuiCheckbox`,e)}var ms=G(`MuiCheckbox`,[`root`,`checked`,`disabled`,`indeterminate`,`colorPrimary`,`colorSecondary`,`sizeSmall`,`sizeMedium`]);function hs(e){return typeof e==`string`}function gs(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}function _s(...e){let t=V.useRef(void 0),n=V.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return V.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}function vs(e){let t=V.useRef(e);return ci(()=>{t.current=e}),V.useRef((...e)=>(0,t.current)(...e)).current}function ys(e){return e&&e.ownerDocument||document}function bs(e){return ys(e).defaultView||window}function xs(e){return parseInt(e,10)||0}var Ss={shadow:{visibility:`hidden`,position:`absolute`,overflow:`hidden`,height:0,top:0,left:0,transform:`translateZ(0)`}};function Cs(e){for(let t in e)return!1;return!0}function ws(e){return Cs(e)||e.outerHeightStyle===0&&!e.overflowing}var Ts=V.forwardRef(function(e,t){let{onChange:n,maxRows:r,minRows:i=1,style:a,value:o,...s}=e,{current:c}=V.useRef(o!=null),l=V.useRef(null),u=_s(t,l),d=V.useRef(null),f=V.useRef(null),p=V.useCallback(()=>{let t=l.current,n=f.current;if(!t||!n)return;let a=bs(t).getComputedStyle(t);if(a.width===`0px`)return{outerHeightStyle:0,overflowing:!1};n.style.width=a.width,n.value=t.value||e.placeholder||`x`,n.value.slice(-1)===`
|
|
46
|
+
`&&(n.value+=` `);let o=a.boxSizing,s=xs(a.paddingBottom)+xs(a.paddingTop),c=xs(a.borderBottomWidth)+xs(a.borderTopWidth),u=n.scrollHeight;n.value=`x`;let d=n.scrollHeight,p=u;return i&&(p=Math.max(Number(i)*d,p)),r&&(p=Math.min(Number(r)*d,p)),p=Math.max(p,d),{outerHeightStyle:p+(o===`border-box`?s+c:0),overflowing:Math.abs(p-u)<=1}},[r,i,e.placeholder]),m=vs(()=>{let e=l.current,t=p();if(!e||!t||ws(t))return!1;let n=t.outerHeightStyle;return d.current!=null&&d.current!==n}),h=V.useCallback(()=>{let e=l.current,t=p();if(!e||!t||ws(t))return;let n=t.outerHeightStyle;d.current!==n&&(d.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?`hidden`:``},[p]),g=V.useRef(-1);return ci(()=>{let e=gs(h),t=l?.current;if(!t)return;let n=bs(t);n.addEventListener(`resize`,e);let r;return typeof ResizeObserver<`u`&&(r=new ResizeObserver(()=>{m()&&(r.unobserve(t),cancelAnimationFrame(g.current),h(),g.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),n.removeEventListener(`resize`,e),r&&r.disconnect()}},[p,h,m]),ci(()=>{h()}),(0,H.jsxs)(V.Fragment,{children:[(0,H.jsx)(`textarea`,{value:o,onChange:e=>{c||h();let t=e.target,r=t.value.length,i=t.value.endsWith(`
|
|
47
|
+
`),a=t.selectionStart===r;i&&a&&t.setSelectionRange(r,r),n&&n(e)},ref:u,rows:i,style:a,...s}),(0,H.jsx)(`textarea`,{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:{...Ss.shadow,...a,paddingTop:0,paddingBottom:0}})]})}),Es=V.createContext(void 0);function Ds(){return V.useContext(Es)}function Os({props:e,states:t}){let n=V.useContext(Es),r={};return t.forEach(t=>{let i=e[t];r[t]=i===void 0&&n?n[t]:i}),[r,n]}var ks=fs();function As(){let e=zr(ks);return e.$$material||e}function js(e){return(0,H.jsx)(Vr,{...e,defaultTheme:ks,themeId:v})}function Ms(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Ns=e=>Ms(e)&&e!==`classes`,J=ti({themeId:v,defaultTheme:ks,rootShouldForwardProp:Ns});function Ps(e){return function(t){return(0,H.jsx)(js,{styles:typeof e==`function`?n=>e({theme:n,...t}):e})}}var Y=Zi;function Fs(e){return Vi(e)}var X=Mn,Is=_s,Ls=ci,Rs=ys;function zs(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var Bs=zs;function Vs(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Hs(e,t=!1){return e&&(Vs(e.value)&&e.value!==``||t&&Vs(e.defaultValue)&&e.defaultValue!==``)}function Us(e){return e.startAdornment}function Ws(e){return W(`MuiInputBase`,e)}var Gs=G(`MuiInputBase`,[`root`,`formControl`,`focused`,`disabled`,`adornedStart`,`adornedEnd`,`error`,`sizeSmall`,`multiline`,`colorSecondary`,`fullWidth`,`hiddenLabel`,`readOnly`,`input`,`inputTypeSearch`]),Ks={transition:`none`};function qs(e,t){return e===`always`?t:e===`system`?{"@media (prefers-reduced-motion: reduce)":t}:null}var Js=e=>e.scrollTop,Ys={},Xs=[`all`],Zs={};function Qs(e,t){return n=>{if(t){let r=e.current;n===void 0?t(r):t(r,n)}}}function $s(e,t,n,r,i,a){let o=e===`exited`&&!t?r:n[e]||n.exited;return i||a?{...o,...i,...a}:o}function ec(e,t){let{timeout:n,easing:r,style:i=Ys}=e;return{duration:i.transitionDuration??(typeof n==`number`?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r==`object`?r[t.mode]:r),delay:i.transitionDelay}}function tc(e,t){let n=t??Ks;return qs(e.motion?.reducedMotion,n)}function nc(e,t=Xs,n=Zs){let r=e.transitions?.create?.(t,n),i=tc(e);if(r===void 0)return i??Ys;let a={transition:r};return i?{...a,...i}:a}var rc,ic=`mui-auto-fill`,ac=`mui-auto-fill-cancel`,oc=(e,t)=>{let{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size===`small`&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${X(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},sc=(e,t)=>{let{ownerState:n}=e;return[t.input,n.type===`search`&&t.inputTypeSearch]},cc=e=>{let{classes:t,color:n,disabled:r,error:i,endAdornment:a,focused:o,formControl:s,fullWidth:c,hiddenLabel:l,multiline:u,readOnly:d,size:f,startAdornment:p,type:m}=e;return ya({root:[`root`,`color${X(n)}`,r&&`disabled`,i&&`error`,c&&`fullWidth`,o&&`focused`,s&&`formControl`,f&&f!==`medium`&&`size${X(f)}`,u&&`multiline`,p&&`adornedStart`,a&&`adornedEnd`,l&&`hiddenLabel`,d&&`readOnly`],input:[`input`,r&&`disabled`,m===`search`&&`inputTypeSearch`,d&&`readOnly`]},Ws,t)},lc=J(`div`,{name:`MuiInputBase`,slot:`Root`,overridesResolver:oc})(Y(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:`1.4375em`,boxSizing:`border-box`,position:`relative`,cursor:`text`,display:`inline-flex`,alignItems:`center`,[`&.${Gs.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:`default`},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:`4px 0 5px`}},{props:({ownerState:e,size:t})=>e.multiline&&t===`small`,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:`100%`}}]}))),uc=J(`input`,{name:`MuiInputBase`,slot:`Input`,overridesResolver:sc})(Y(({theme:e})=>{let t=e.palette.mode===`light`,n={color:`currentColor`,...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},...nc(e,`opacity`,{duration:e.transitions.duration.shorter})},r={opacity:`0 !important`},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:`inherit`,letterSpacing:`inherit`,color:`currentColor`,padding:`4px 0 5px`,border:0,boxSizing:`content-box`,background:`none`,height:`1.4375em`,margin:0,WebkitTapHighlightColor:`transparent`,display:`block`,minWidth:0,width:`100%`,"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:`none`},"&::-webkit-search-decoration":{WebkitAppearance:`none`},[`label[data-shrink=false] + .${Gs.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Gs.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:ac,animationDuration:`10ms`,"&:-webkit-autofill":{animationDuration:`5000s`,animationName:ic}}},{props:{size:`small`},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:`auto`,resize:`none`,padding:0,paddingTop:0}},{props:{type:`search`},style:{MozAppearance:`textfield`}}]}})),dc=Ps({[`@keyframes ${ic}`]:{from:{animationName:ic}},[`@keyframes ${ac}`]:{from:{animationName:ac}}}),fc=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiInputBase`}),{"aria-describedby":r,"aria-label":i,autoComplete:a,autoFocus:o,className:s,color:c,defaultValue:l,disabled:u,disableInjectingGlobalStyles:d,endAdornment:f,error:p,fullWidth:m=!1,id:h,inputComponent:g=`input`,inputProps:v={},inputRef:y,margin:b,maxRows:x,minRows:S,multiline:C=!1,name:w,onBlur:T,onChange:E,onClick:D,onFocus:O,onKeyDown:k,onKeyUp:ee,placeholder:A,readOnly:j,renderSuffix:M,rows:N,size:P,slotProps:F={},slots:I={},startAdornment:L,type:te=`text`,value:ne,...re}=n,R=v.value==null?ne:v.value,{current:z}=V.useRef(R!=null),ie=V.useRef(),ae=V.useCallback(e=>{},[]),oe=Is(ie,y,v.ref,ae),[se,ce]=V.useState(!1),[le,B]=Os({props:n,states:[`color`,`disabled`,`error`,`hiddenLabel`,`size`,`required`,`filled`]});le.focused=B?B.focused:se,V.useEffect(()=>{!B&&u&&se&&(ce(!1),T&&T())},[B,u,se,T]);let ue=B&&B.onFilled,de=B&&B.onEmpty,fe=V.useCallback(e=>{Hs(e)?ue&&ue():de&&de()},[ue,de]);Ls(()=>{z&&fe({value:R})},[R,fe,z]),Ls(()=>{if(!o)return;let e=ie.current;if(!e)return;let t=Rs(e),n=Bs(t),r=n==null||n===t.body||n===t.documentElement;e===n?B&&B.onFocus?B.onFocus():ce(!0):r&&e.focus()},[o]);let pe=e=>{O&&O(e),v.onFocus&&v.onFocus(e),B&&B.onFocus?B.onFocus(e):ce(!0)},me=e=>{T&&T(e),v.onBlur&&v.onBlur(e),B&&B.onBlur?B.onBlur(e):ce(!1)},he=(e,...t)=>{if(!z){let t=e.target||ie.current;if(t==null)throw Error(_(1));fe({value:t.value})}v.onChange&&v.onChange(e,...t),E&&E(e,...t)};V.useEffect(()=>{fe(ie.current)},[]);let ge=e=>{ie.current&&e.currentTarget===e.target&&ie.current.focus(),D&&D(e)},_e=g,ve=v;C&&_e===`input`&&(ve=N?{type:void 0,minRows:N,maxRows:N,...ve}:{type:void 0,maxRows:x,minRows:S,...ve},_e=Ts);let ye=e=>{fe(e.animationName===ac?ie.current:{value:`x`})};V.useEffect(()=>{B&&B.setAdornedStart(!!L)},[B,L]);let be={...n,color:le.color||`primary`,disabled:le.disabled,endAdornment:f,error:le.error,focused:le.focused,formControl:B,fullWidth:m,hiddenLabel:le.hiddenLabel,multiline:C,size:le.size,startAdornment:L,type:te},xe=cc(be),Se=I.root||lc,Ce=F.root||{},we=I.input||uc;return ve={...ve,...F.input},(0,H.jsxs)(V.Fragment,{children:[!d&&typeof dc==`function`&&(rc||=(0,H.jsx)(dc,{})),(0,H.jsxs)(Se,{...Ce,ref:t,onClick:ge,...re,...!hs(Se)&&{ownerState:{...be,...Ce.ownerState}},className:U(xe.root,Ce.className,s,j&&`MuiInputBase-readOnly`),children:[L,(0,H.jsx)(Es.Provider,{value:null,children:(0,H.jsx)(we,{"aria-invalid":le.error,"aria-describedby":r,"aria-label":i,autoComplete:a,autoFocus:o,defaultValue:l,disabled:le.disabled,id:h,onAnimationStart:ye,name:w,placeholder:A,readOnly:j,required:le.required,rows:N,value:R,onKeyDown:k,onKeyUp:ee,type:te,...ve,...!hs(we)&&{as:_e,ownerState:{...be,...ve.ownerState}},ref:oe,className:U(xe.input,ve.className,j&&`MuiInputBase-readOnly`),onBlur:me,onChange:he,onFocus:pe})}),f,M?M({...le,startAdornment:L}):null]})]})});function pc(e){return W(`MuiFilledInput`,e)}var mc={...Gs,...G(`MuiFilledInput`,[`root`,`underline`,`input`,`adornedStart`,`adornedEnd`,`sizeSmall`,`multiline`,`hiddenLabel`])};function hc(e){return W(`MuiFormControlLabel`,e)}var gc=G(`MuiFormControlLabel`,[`root`,`labelPlacementStart`,`labelPlacementEnd`,`labelPlacementTop`,`labelPlacementBottom`,`disabled`,`label`,`error`,`required`,`asterisk`]);function _c(e){return W(`MuiFormHelperText`,e)}var vc=G(`MuiFormHelperText`,[`root`,`error`,`disabled`,`sizeSmall`,`sizeMedium`,`contained`,`focused`,`filled`,`required`]);function yc(e){return W(`MuiFormLabel`,e)}var bc=G(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]);function xc(e){return W(`MuiInput`,e)}var Sc={...Gs,...G(`MuiInput`,[`root`,`underline`,`input`])};function Cc(e){return W(`MuiMenuItem`,e)}var wc=G(`MuiMenuItem`,[`root`,`focusVisible`,`dense`,`disabled`,`divider`,`gutters`,`selected`]);function Tc(e){return W(`MuiNativeSelect`,e)}var Ec=G(`MuiNativeSelect`,[`root`,`select`,`multiple`,`filled`,`outlined`,`standard`,`disabled`,`icon`,`iconOpen`,`iconFilled`,`iconOutlined`,`iconStandard`,`nativeInput`,`error`]);function Dc(e){return W(`MuiOutlinedInput`,e)}var Oc={...Gs,...G(`MuiOutlinedInput`,[`root`,`notchedOutline`,`input`])},kc=G(`MuiRadio`,[`root`,`checked`,`disabled`,`colorPrimary`,`colorSecondary`,`sizeSmall`]);function Ac({theme:e,...t}){let n=`$$material`in e?e[v]:void 0;return(0,H.jsx)(Yi,{...t,themeId:n?v:void 0,theme:n||e})}var jc={attribute:`data-mui-color-scheme`,colorSchemeStorageKey:`mui-color-scheme`,defaultLightColorScheme:`light`,defaultDarkColorScheme:`dark`,modeStorageKey:`mui-mode`},{CssVarsProvider:Mc,useColorScheme:Nc,getInitColorSchemeScript:Pc}=ua({themeId:v,theme:()=>fs({cssVariables:!0}),colorSchemeStorageKey:jc.colorSchemeStorageKey,modeStorageKey:jc.modeStorageKey,defaultColorScheme:{light:jc.defaultLightColorScheme,dark:jc.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:Do(e.palette,e.typography)};return t.unstable_sx=function(e){return jr({sx:e,theme:this})},t}}),Fc=Mc;function Ic({theme:e,...t}){let n=V.useMemo(()=>{if(typeof e==`function`)return e;let t=`$$material`in e?e[v]:e;return`colorSchemes`in t?null:`vars`in t?e:{...e,vars:null}},[e]);return n?(0,H.jsx)(Ac,{theme:n,...t}):(0,H.jsx)(Fc,{theme:e,...t})}function Lc(...e){return e.reduce((e,t)=>t==null?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function Rc(e){return W(`MuiSvgIcon`,e)}G(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var zc=e=>{let{color:t,fontSize:n,classes:r}=e;return ya({root:[`root`,t!==`inherit`&&`color${X(t)}`,`fontSize${X(n)}`]},Rc,r)},Bc=J(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${X(n.color)}`],t[`fontSize${X(n.fontSize)}`]]}})(Y(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,...nc(e,`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),Vc=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:u,viewBox:d=`0 0 24 24`,...f}=n,p=V.isValidElement(r)&&r.type===`svg`,m={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:d,hasSvgAsChild:p},h={};l||(h.viewBox=d);let g=zc(m);return(0,H.jsxs)(Bc,{as:o,className:U(g.root,i),focusable:`false`,color:c,"aria-hidden":!u||void 0,role:u?`img`:void 0,ref:t,...h,...f,...p&&r.props,ownerState:m,children:[p?r.props.children:r,u?(0,H.jsx)(`title`,{children:u}):null]})});Vc.muiName=`SvgIcon`;function Z(e,t){function n(t,n){return(0,H.jsx)(Vc,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=Vc.muiName,V.memo(V.forwardRef(n))}var Hc=gs,Uc=ba,Wc=bs;function Gc(e,t){typeof e==`function`?e(t):e&&(e.current=t)}var Kc=Gi;function qc(e){let{controlled:t,default:n,name:r,state:i=`value`}=e,{current:a}=V.useRef(t!==void 0),[o,s]=V.useState(n);return[a?t:o,V.useCallback(e=>{a||s(e)},[])]}var Jc=qc,Yc=vs;function Xc(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function Zc(e,t){if(!e)return t;function n(e,t){let n={};return Object.keys(t).forEach(r=>{Xc(r,t[r])&&typeof e[r]==`function`&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if(typeof e==`function`||typeof t==`function`)return r=>{let i=typeof t==`function`?t(r):t,a=typeof e==`function`?e({...r,...i}):e,o=U(r?.className,i?.className,a?.className),s=n(a,i);return{...i,...a,...s,...!!o&&{className:o},...i?.style&&a?.style&&{style:{...i.style,...a.style}},...i?.sx&&a?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};let r=t,i=n(e,r),a=U(r?.className,e?.className);return{...t,...e,...i,...!!a&&{className:a},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}var Qc={};function $c(e,t){let n=V.useRef(Qc);return n.current===Qc&&(n.current=e(t)),n}function el(e){let t=$c(()=>tl(e)).current;return t.next=e,ci(t.effect),t}function tl(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var nl=V.createContext(null);function rl(e){if(e==null)return{appear:void 0,enter:void 0,exit:void 0};if(typeof e==`number`)return{appear:e,enter:e,exit:e};let t=e.enter,n=e.exit;return{appear:e.appear===void 0?t:e.appear,enter:t,exit:n}}function il(e){if(e.autoTimeout!=null)return e.autoTimeout;let t=rl(e.timeout);return e.currentStatus===`entering`?e.isAppearing?t.appear??t.enter??null:t.enter??null:t.exit??null}function al(e){let{in:t=!1,appear:n=!1,enter:r=!0,exit:i=!0,mountOnEnter:a=!1,unmountOnExit:o=!1,timeout:s,addEndListener:c,reduceMotion:l=!1,getAutoTimeout:u,nodeRef:d,onEnter:f,onEntering:p,onEntered:m,onExit:h,onExiting:g,onExited:_,children:v,...y}=e,b=V.useContext(nl),x=b&&!b.isMounting?r:n,[S,C]=V.useState(()=>t?x?`exited`:`entered`:a||o?`unmounted`:`exited`),w=V.useRef(S);w.current=S,t&&S===`unmounted`&&(w.current=`exited`,C(`exited`));let T=V.useRef(t&&x),E=V.useRef(!1),D=V.useRef(null),O=V.useRef(S),k=V.useRef(!1),ee=V.useRef(l),A=el({timeout:s,addEndListener:c,reduceMotion:l,getAutoTimeout:u,onEnter:f,onEntering:p,onEntered:m,onExit:h,onExiting:g,onExited:_,enter:r,exit:i,mountOnEnter:a,unmountOnExit:o,nodeRef:d,parentGroup:b}),j=V.useCallback(()=>{D.current!==null&&(D.current.cancel(),D.current=null)},[]),M=V.useCallback(e=>{let t=!0,n=()=>{t&&(t=!1,D.current=null,e())};return n.cancel=()=>{t=!1},D.current=n,n},[]),N=V.useCallback((e,t)=>{let n,r=()=>{n!==void 0&&(clearTimeout(n),n=void 0)},i=M(()=>{r(),w.current=e,C(e)}),a=i.cancel;i.cancel=()=>{r(),a()};let o=A.current.nodeRef.current,s=A.current.addEndListener,c=A.current.getAutoTimeout!==void 0,l=A.current.getAutoTimeout?.(),u=il({currentStatus:t,isAppearing:k.current,timeout:A.current.timeout,autoTimeout:l}),d=ee.current,f=u??(d&&c?0:null),p=e=>{n=setTimeout(i,e)};o?s?(f!=null&&p(d?0:f),s.length>=2?s(o,i):s(i)):p(d?0:u??0):p(0)},[M,A]),P=V.useCallback(e=>{let t=A.current,n=t.parentGroup?t.parentGroup.isMounting:e;k.current=n,!e&&!t.enter?(w.current=`entered`,C(`entered`)):(ee.current=t.reduceMotion,t.onEnter?.(n),w.current=`entering`,C(`entering`))},[A]),F=V.useCallback(()=>{let e=A.current;e.exit?(ee.current=e.reduceMotion,e.onExit?.(),w.current=`exiting`,C(`exiting`)):(w.current=`exited`,C(`exited`))},[A]),I=V.useCallback((e,t)=>{if(j(),t===`entering`){let t=A.current;if(t.mountOnEnter||t.unmountOnExit){let e=t.nodeRef.current;e&&Js(e)}P(e)}else F()},[j,P,F,A]);return ci(()=>(E.current=!0,T.current&&(T.current=!1,I(!0,`entering`)),()=>{E.current=!1,j()}),[j,I]),ci(()=>{if(!E.current)return;let e=w.current;t?e!==`entering`&&e!==`entered`&&I(!1,`entering`):e===`entering`||e===`entered`?I(!1,`exiting`):e===`exited`&&o&&(w.current=`unmounted`,C(`unmounted`))},[t,S,o,I]),ci(()=>{if(S===`unmounted`||O.current===`unmounted`){O.current=S;return}let e=O.current!==S;e&&(O.current=S);let t=A.current;S===`entering`?(e&&t.onEntering?.(k.current),D.current===null&&w.current===S&&N(`entered`,`entering`)):S===`exiting`?(e&&t.onExiting?.(),D.current===null&&w.current===S&&N(`exited`,`exiting`)):S===`entered`&&e?t.onEntered?.(k.current):S===`exited`&&e&&t.onExited?.()},[A,N,S]),S===`unmounted`?null:(0,H.jsx)(nl.Provider,{value:null,children:v(S,y)})}var ol=`(prefers-reduced-motion: reduce)`,sl=0,cl=`0ms`,ll=()=>{},ul=()=>!1,dl=()=>!0,fl=()=>ll;function pl(e){let[t,n]=V.useState(()=>({enabled:e,matches:e?null:!1})),r=t.matches;return t.enabled!==e&&(r=null,e||(r=!1)),ci(()=>{let r=t=>{n(n=>n.enabled===e&&n.matches===t?n:{enabled:e,matches:t})};if(!e){t.enabled&&r(!1);return}if(typeof window>`u`||typeof window.matchMedia!=`function`){r(!1);return}let i=window.matchMedia(ol),a=()=>{r(i.matches)};return a(),i.addEventListener(`change`,a),()=>{i.removeEventListener(`change`,a)}},[e,t.enabled]),r}var ml={...V}.useSyncExternalStore;function hl(e){let t=e?dl:ul,[n,r]=V.useMemo(()=>{if(!e||typeof window>`u`||typeof window.matchMedia!=`function`)return[ul,fl];let t=window.matchMedia(ol);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[e]);return ml(r,n,t)}var gl=ml===void 0?pl:hl;function _l(e,t){let n=gl(!t&&e===`system`),r=!t&&(e===`always`||e===`system`&&n!==!1);return V.useMemo(()=>({shouldReduceMotion:r,getTransitionTiming(e){return r?{duration:sl,delay:cl}:e}}),[r])}function vl(e,t,n){return e===void 0||hs(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function yl(e,t,n){return typeof e==`function`?e(t,n):e}function bl(e){if(e===void 0)return{};let t={};for(let n of Object.keys(e))Xc(n,e[n])&&(t[n]=e[n]);return t}function xl(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function Sl(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=U(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=bl({...i,...r}),s=xl(r),c=xl(i),l=t(o),u=U(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function Cl(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,internalForwardedProps:o,shouldForwardComponentProp:s=!1,...c}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,p=u[e]||r,m=yl(d[e],i),{props:{component:h,...g},internalRef:_}=Sl({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=_s(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,vl(p,{...e===`root`&&!l&&!u[e]&&o,...e!==`root`&&!u[e]&&o,...g,...y&&!s&&{as:y},...y&&s&&{component:y},ref:v},i)]}function wl(e){return W(`MuiPaper`,e)}G(`MuiPaper`,`root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24`.split(`.`));var Tl=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return ya({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},wl,i)},El=J(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(Y(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,...nc(e,`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),Dl=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiPaper`}),r=As(),{className:i,component:a=`div`,elevation:o=1,square:s=!1,variant:c=`elevation`,...l}=n,u={...n,component:a,elevation:o,square:s,variant:c},d=Tl(u);return(0,H.jsx)(El,{as:a,ownerState:u,className:U(d.root,i),ref:t,...l,style:{...c===`elevation`&&{"--Paper-shadow":(r.vars||r).shadows[o],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[o]},...!r.vars&&r.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${Ci(`#fff`,Yo(o))}, ${Ci(`#fff`,Yo(o))})`}},...l.style}})});function Ol(e){try{return e.matches(`:focus-visible`)}catch{}return!1}function kl(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,s=r&&t===!1;return V.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||s)&&(e.disabled=n),e},[r,n,t,o,s,a,i])}var Al={};function jl(e){let{nativeButton:t,nativeButtonProp:n,internalNativeButton:r=t,allowInferredHostMismatch:i=!1,disabled:a,type:o,hasFormAction:s=!1,tabIndex:c=0,focusableWhenDisabled:l,stopEventPropagation:u=!1,onBeforeKeyDown:d,onBeforeKeyUp:f}=e,p=V.useRef(null),m=l===!0,h=kl({focusableWhenDisabled:m,disabled:a,isNativeButton:t,tabIndex:c}),g=V.useCallback(()=>{let e=p.current;return e==null?t:e.tagName===`BUTTON`||!!(e.tagName===`A`&&e.href)},[t]),_=V.useMemo(()=>{let e=m?{}:{tabIndex:a?-1:c};return t?(e.type=o===void 0&&!s?`button`:o,m||(e.disabled=a)):(e.role=`button`,!m&&a&&(e[`aria-disabled`]=a)),m?{...e,...h}:e},[a,m,h,s,t,c,o]);return{getButtonProps:V.useCallback((e=Al)=>{let{onClick:t,onKeyDown:n,onKeyUp:r,...i}=e,o=e=>{u&&e.stopPropagation(),a?e.preventDefault():t?.(e)},s=e=>{m&&h.onKeyDown(e),!a&&(d?.(e),n?.(e),!(e.target!==e.currentTarget||g())&&(e.key===` `?e.preventDefault():e.key===`Enter`&&(e.preventDefault(),e.currentTarget.click())))},c=e=>{a||(f?.(e),r?.(e),e.target===e.currentTarget&&!g()&&e.key===` `&&!e.defaultPrevented&&e.currentTarget.click())};return{..._,...i,onClick:o,onKeyDown:s,onKeyUp:c}},[_,a,m,h,g,d,f,u]),rootRef:p}}var Ml=class e{static create(){return new e}static use(){let t=$c(e.create).current,[n,r]=V.useState(!1);return t.shouldMount=n,t.setShouldMount=r,V.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=Pl(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function Nl(){return Ml.use()}function Pl(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}var Fl=[];function Il(e){V.useEffect(e,Fl)}var Ll=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function Rl(){let e=$c(Ll.create).current;return Il(e.disposeEffect),e}function zl(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=V.useState(!1),f=Rl(),p=V.useRef(!1),m=V.useRef(c);m.current=c;let h=c!=null,g=U(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),_={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},v=U(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),V.useEffect(()=>{!s&&h?p.current||(p.current=!0,f.start(l,()=>{p.current=!1,m.current?.()})):(p.current=!1,f.clear())},[f,h,s,l]),(0,H.jsx)(`span`,{className:g,style:_,children:(0,H.jsx)(`span`,{className:v})})}var Bl=G(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Vl=550,Hl={},Ul=[],Wl=()=>{};function Gl(e,t){let n=new Set(t),r=new Map,i=[];for(let t of e)n.has(t)?i.length>0&&(r.set(t,i),i=[]):i.push(t);let a=[];for(let e of t){let t=r.get(e);t&&a.push(...t),a.push(e)}return a.push(...i),a}function Kl({event:e,element:t,center:n}){let r=t?t.getBoundingClientRect():{width:0,height:0,left:0,top:0},i,a;if(n||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)i=Math.round(r.width/2),a=Math.round(r.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;i=Math.round(t-r.left),a=Math.round(n-r.top)}let o;if(n)o=Math.sqrt((2*r.width**2+r.height**2)/3),o%2==0&&(o+=1);else{let e=Math.max(Math.abs((t?t.clientWidth:0)-i),i)*2+2,n=Math.max(Math.abs((t?t.clientHeight:0)-a),a)*2+2;o=Math.sqrt(e**2+n**2)}return{rippleX:i,rippleY:a,rippleSize:o}}var ql=Ot`
|
|
48
|
+
0% {
|
|
49
|
+
transform: scale(0);
|
|
50
|
+
opacity: 0.1;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
100% {
|
|
54
|
+
transform: scale(1);
|
|
55
|
+
opacity: 0.3;
|
|
56
|
+
}
|
|
57
|
+
`,Jl=Ot`
|
|
58
|
+
0% {
|
|
59
|
+
opacity: 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
100% {
|
|
63
|
+
opacity: 0;
|
|
64
|
+
}
|
|
65
|
+
`,Yl=Ot`
|
|
66
|
+
0% {
|
|
67
|
+
transform: scale(1);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
50% {
|
|
71
|
+
transform: scale(0.92);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
100% {
|
|
75
|
+
transform: scale(1);
|
|
76
|
+
}
|
|
77
|
+
`;function Xl(e){if(e.motion.reducedMotion===`always`)return null;let t=Dt`
|
|
78
|
+
&.${Bl.rippleVisible} {
|
|
79
|
+
animation-name: ${ql};
|
|
80
|
+
animation-duration: ${Vl}ms;
|
|
81
|
+
animation-timing-function: ${e.transitions.easing.easeInOut};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.${Bl.ripplePulsate} {
|
|
85
|
+
animation-duration: ${e.transitions.duration.shorter}ms;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
& .${Bl.childLeaving} {
|
|
89
|
+
animation-name: ${Jl};
|
|
90
|
+
animation-duration: ${Vl}ms;
|
|
91
|
+
animation-timing-function: ${e.transitions.easing.easeInOut};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
& .${Bl.childPulsate} {
|
|
95
|
+
animation-name: ${Yl};
|
|
96
|
+
animation-duration: 2500ms;
|
|
97
|
+
animation-timing-function: ${e.transitions.easing.easeInOut};
|
|
98
|
+
animation-iteration-count: infinite;
|
|
99
|
+
animation-delay: 200ms;
|
|
100
|
+
}
|
|
101
|
+
`;return e.motion.reducedMotion===`system`?Dt`
|
|
102
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
103
|
+
${t}
|
|
104
|
+
}
|
|
105
|
+
`:t}var Zl=J(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),Ql=J(zl,{name:`MuiTouchRipple`,slot:`Ripple`})`
|
|
106
|
+
opacity: 0;
|
|
107
|
+
position: absolute;
|
|
108
|
+
|
|
109
|
+
&.${Bl.rippleVisible} {
|
|
110
|
+
opacity: 0.3;
|
|
111
|
+
transform: scale(1);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/*
|
|
115
|
+
* Order matters: 'child', 'childLeaving' and 'childPulsate' apply to the same
|
|
116
|
+
* element with equal specificity, so the later rule wins. 'child' must come
|
|
117
|
+
* before 'childLeaving' so the leaving 'opacity: 0' takes precedence. A focus
|
|
118
|
+
* (pulsate) ripple keeps 'pulsateKeyframe' (no opacity animation) on exit, so
|
|
119
|
+
* it relies on this static 'opacity: 0' to disappear on blur instead of
|
|
120
|
+
* lingering until removal.
|
|
121
|
+
*/
|
|
122
|
+
& .${Bl.child} {
|
|
123
|
+
opacity: 1;
|
|
124
|
+
display: block;
|
|
125
|
+
width: 100%;
|
|
126
|
+
height: 100%;
|
|
127
|
+
border-radius: 50%;
|
|
128
|
+
background-color: currentColor;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
& .${Bl.childLeaving} {
|
|
132
|
+
opacity: 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
& .${Bl.childPulsate} {
|
|
136
|
+
position: absolute;
|
|
137
|
+
/* @noflip */
|
|
138
|
+
left: 0px;
|
|
139
|
+
top: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
${({theme:e})=>Xl(e)}
|
|
143
|
+
`,$l=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiTouchRipple`}),r=_l(As().motion.reducedMotion,!1),{center:i=!1,classes:a=Hl,className:o,...s}=n,[c,l]=V.useState({items:Ul,order:Ul}),u=c.items,d=V.useRef(0),f=V.useRef(null),p=V.useRef(!1);Il(()=>(p.current=!0,()=>{p.current=!1})),V.useEffect(()=>{f.current&&=(f.current(),null)},[u]);let m=V.useRef(!1),h=Rl(),g=V.useRef(null),_=V.useRef(null),v=Yc(e=>{p.current&&l(t=>{let n=t.items.filter(t=>t.key!==e);return{items:n,order:Gl(t.order.filter(t=>t!==e),n.filter(e=>!e.exiting).map(e=>e.key))}})}),y=Yc(e=>{let{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e,o=d.current;d.current+=1,l(e=>{let a=[...e.items,{key:o,pulsate:t,rippleX:n,rippleY:r,rippleSize:i,exiting:!1}];return{items:a,order:Gl(e.order,a.filter(e=>!e.exiting).map(e=>e.key))}}),f.current=a}),b=Yc((e=Hl,t=Hl,n=Wl)=>{let{pulsate:r=!1,center:a=i||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&m.current){m.current=!1;return}e?.type===`touchstart`&&(m.current=!0);let{rippleX:s,rippleY:c,rippleSize:l}=Kl({event:e,element:o?null:_.current,center:a});e?.touches?g.current===null&&(g.current=()=>{y({pulsate:r,rippleX:s,rippleY:c,rippleSize:l,cb:n})},h.start(80,()=>{g.current&&=(g.current(),null)})):y({pulsate:r,rippleX:s,rippleY:c,rippleSize:l,cb:n})}),x=Yc(()=>{b(Hl,{pulsate:!0})}),S=Yc((e,t)=>{h.clear(),e?.type===`touchend`&&g.current?(g.current(),g.current=null,h.start(0,()=>{S(e,t)})):(g.current=null,l(e=>{let t=e.items.findIndex(e=>!e.exiting);if(t===-1)return e;let n=e.items.slice();return n[t]={...n[t],exiting:!0},{items:n,order:Gl(e.order,n.filter(e=>!e.exiting).map(e=>e.key))}}),f.current=t)});V.useImperativeHandle(t,()=>({pulsate:x,start:b,stop:S}),[x,b,S]);let C=new Map(u.map(e=>[e.key,e])),w=c.order.map(e=>C.get(e)).filter(Boolean);return(0,H.jsx)(Zl,{className:U(Bl.root,a.root,o),ref:_,...s,children:w.map(e=>(0,H.jsx)(Ql,{classes:{ripple:U(a.ripple,Bl.ripple),rippleVisible:U(a.rippleVisible,Bl.rippleVisible),ripplePulsate:U(a.ripplePulsate,Bl.ripplePulsate),child:U(a.child,Bl.child),childLeaving:U(a.childLeaving,Bl.childLeaving),childPulsate:U(a.childPulsate,Bl.childPulsate)},timeout:r.shouldReduceMotion?0:Vl,pulsate:e.pulsate,rippleX:e.rippleX,rippleY:e.rippleY,rippleSize:e.rippleSize,in:!e.exiting,onExited:()=>v(e.key)},e.key))})});function eu(e){return W(`MuiButtonBase`,e)}var tu=G(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),nu=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,suppressFocusVisible:i,classes:a}=e,o=ya({root:[`root`,t&&`disabled`,n&&!i&&`focusVisible`]},eu,a);return n&&!i&&r&&(o.root+=` ${r}`),o},ru=J(`button`,{name:`MuiButtonBase`,slot:`Root`})(Y(({theme:e})=>({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,boxSizing:`border-box`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,textDecoration:`none`,color:`inherit`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${tu.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`},variants:[{props:{internalDisabledThemeFocusVisible:!1},style:e.focusVisible&&{...ho,[`&.${tu.focusVisible}`]:e.focusVisible}}]}))),iu=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:u=!1,focusRipple:d=!1,focusVisibleClassName:f,focusableWhenDisabled:p,suppressFocusVisible:m=!1,internalNativeButton:h,internalDisabledThemeFocusVisible:g=!1,LinkComponent:_=`a`,nativeButton:v,onBlur:y,onClick:b,onContextMenu:x,onDragLeave:S,onFocus:C,onFocusVisible:w,onKeyDown:T,onKeyUp:E,onMouseDown:D,onMouseLeave:O,onMouseUp:k,onTouchEnd:ee,onTouchMove:A,onTouchStart:j,tabIndex:M=0,TouchRippleProps:N,touchRippleRef:P,type:F,...I}=n,L=!!(I.href||I.to),te=!!I.formAction,ne=s;ne===`button`&&L&&(ne=_);let re=typeof ne==`string`?ne===`button`:h??!1,R=v??re,z=Nl(),ie=Is(z.ref,P),[ae,oe]=V.useState(!1);(c||m)&&ae&&oe(!1);let se=Yc(e=>{d&&!e.repeat&&ae&&e.key===` `&&z.stop(e,()=>{z.start(e)})}),ce=Yc(e=>{d&&e.key===` `&&ae&&!e.defaultPrevented&&z.stop(e,()=>{z.pulsate(e)})}),{getButtonProps:le,rootRef:B}=jl({nativeButton:R,nativeButtonProp:v,internalNativeButton:re,allowInferredHostMismatch:L||typeof ne==`string`,disabled:c,type:F,hasFormAction:te,tabIndex:M,onBeforeKeyDown:se,onBeforeKeyUp:ce}),{onClick:ue,onKeyDown:de,onKeyUp:fe,...pe}=le({onClick:b,onKeyDown:T,onKeyUp:E});V.useImperativeHandle(r,()=>({focusVisible:()=>{oe(!0),B.current.focus()}}),[B]);let me=z.shouldMount&&!l&&!c;V.useEffect(()=>{ae&&d&&!l&&z.pulsate()},[l,d,ae,z]);let he=au(z,`start`,D,u),ge=au(z,`stop`,x,u),_e=au(z,`stop`,S,u),ve=au(z,`stop`,k,u),ye=au(z,`stop`,e=>{ae&&e.preventDefault(),O&&O(e)},u),be=au(z,`start`,j,u),xe=au(z,`stop`,ee,u),Se=au(z,`stop`,A,u),Ce=au(z,`stop`,e=>{Ol(e.target)||oe(!1),y&&y(e)},!1),we=Yc(e=>{B.current||=e.currentTarget,!m&&Ol(e.target)&&(oe(!0),w&&w(e)),C&&C(e)}),Te={};L&&(Te.tabIndex=c?-1:M,c&&(Te[`aria-disabled`]=c),Te.type=F);let Ee=Is(t,B),De={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:u,focusRipple:d,suppressFocusVisible:m,tabIndex:M,focusVisible:ae,internalDisabledThemeFocusVisible:g},Oe=nu(De);return(0,H.jsxs)(ru,{as:ne,className:U(Oe.root,o),ownerState:De,onBlur:Ce,onClick:ue,onContextMenu:ge,onFocus:we,onKeyDown:de,onKeyUp:fe,onMouseDown:he,onMouseLeave:ye,onMouseUp:ve,onDragLeave:_e,onTouchEnd:xe,onTouchMove:Se,onTouchStart:be,ref:Ee,...L?Te:pe,...I,children:[a,me?(0,H.jsx)($l,{ref:ie,center:i,...N}):null]})});function au(e,t,n,r=!1){return Yc(i=>(n&&n(i),r||e[t](i),!0))}function ou(e){return typeof e.main==`string`}function su(e,t=[]){if(!ou(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function cu(e=[]){return([,t])=>t&&su(t,e)}function lu(e){return W(`MuiCircularProgress`,e)}G(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDisableShrink`]);var uu=44,du=Ot`
|
|
144
|
+
0% {
|
|
145
|
+
transform: rotate(0deg);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
100% {
|
|
149
|
+
transform: rotate(360deg);
|
|
150
|
+
}
|
|
151
|
+
`,fu=Ot`
|
|
152
|
+
0% {
|
|
153
|
+
stroke-dasharray: 1px, 200px;
|
|
154
|
+
stroke-dashoffset: 0;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
50% {
|
|
158
|
+
stroke-dasharray: 100px, 200px;
|
|
159
|
+
stroke-dashoffset: -15px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
100% {
|
|
163
|
+
stroke-dasharray: 1px, 200px;
|
|
164
|
+
stroke-dashoffset: -126px;
|
|
165
|
+
}
|
|
166
|
+
`,pu=typeof du==`string`?null:Dt`
|
|
167
|
+
animation: ${du} 1.4s linear infinite;
|
|
168
|
+
`,mu=typeof fu==`string`?null:Dt`
|
|
169
|
+
animation: ${fu} 1.4s ease-in-out infinite;
|
|
170
|
+
`,hu=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return ya({root:[`root`,n,`color${X(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,i&&`circleDisableShrink`]},lu,t)},gu=J(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${X(n.color)}`]]}})(Y(({theme:e})=>{let t=tc(e,{animation:`none`});return{display:`inline-block`,variants:[{props:{variant:`determinate`},style:{...nc(e,`transform`)}},{props:{variant:`indeterminate`},style:pu||{animation:`${du} 1.4s linear infinite`}},...t?[{props:{variant:`indeterminate`},style:t}]:[],...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}})),_u=J(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),vu=J(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,n.disableShrink&&t.circleDisableShrink]}})(Y(({theme:e})=>{let t=tc(e,{animation:`none`});return{stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{...nc(e,`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:mu||{animation:`${fu} 1.4s ease-in-out infinite`}},...t?[{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:t}]:[]]}})),yu=J(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(Y(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),bu=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,min:s,max:c,size:l=40,style:u,thickness:d=3.6,value:f=n.min??0,variant:p=`indeterminate`,...m}=n,h=s??0,g=c??100,_={...n,color:i,disableShrink:a,size:l,thickness:d,value:f,variant:p,enableTrackSlot:o},v=hu(_),y={},b={},x={};if(p===`determinate`){let e=2*Math.PI*((uu-d)/2),t=g-h;y.strokeDasharray=e.toFixed(3),y.strokeDashoffset=t>0?`${((g-f)/t*e).toFixed(3)}px`:`${e.toFixed(3)}px`,b.transform=`rotate(-90deg)`,x[`aria-valuenow`]=f,x[`aria-valuemin`]=h,x[`aria-valuemax`]=g}return(0,H.jsx)(gu,{className:U(v.root,r),style:{width:l,height:l,...b,...u},ownerState:_,ref:t,role:`progressbar`,...x,...m,children:(0,H.jsxs)(_u,{className:v.svg,ownerState:_,viewBox:`${uu/2} ${uu/2} ${uu} ${uu}`,children:[o?(0,H.jsx)(yu,{className:v.track,ownerState:_,cx:uu,cy:uu,r:(uu-d)/2,fill:`none`,strokeWidth:d,"aria-hidden":`true`}):null,(0,H.jsx)(vu,{className:v.circle,style:y,ownerState:_,cx:uu,cy:uu,r:(uu-d)/2,fill:`none`,strokeWidth:d})]})})});function xu(e){return W(`MuiIconButton`,e)}var Su=G(`MuiIconButton`,[`root`,`disabled`,`colorInherit`,`colorPrimary`,`colorSecondary`,`colorError`,`colorInfo`,`colorSuccess`,`colorWarning`,`edgeStart`,`edgeEnd`,`sizeSmall`,`sizeMedium`,`sizeLarge`,`loading`,`loadingIndicator`,`loadingWrapper`]),Cu=e=>{let{classes:t,disabled:n,color:r,edge:i,size:a,loading:o}=e;return ya({root:[`root`,o&&`loading`,n&&`disabled`,r!=="default"&&`color${X(r)}`,i&&`edge${X(i)}`,`size${X(a)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},xu,t)},wu=J(iu,{name:`MuiIconButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${X(n.color)}`],n.edge&&t[`edge${X(n.edge)}`],t[`size${X(n.size)}`]]}})(Y(({theme:e})=>({textAlign:`center`,flex:`0 0 auto`,fontSize:e.typography.pxToRem(24),padding:8,borderRadius:`50%`,color:(e.vars||e).palette.action.active,...nc(e,`background-color`,{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:`var(--IconButton-hoverBg)`,"@media (hover: none)":{backgroundColor:`transparent`}}}},{props:{edge:`start`},style:{marginLeft:-12}},{props:{edge:`start`,size:`small`},style:{marginLeft:-3}},{props:{edge:`end`},style:{marginRight:-12}},{props:{edge:`end`,size:`small`},style:{marginRight:-3}}]})),Y(({theme:e})=>({variants:[{props:{color:`inherit`},style:{color:`inherit`}},...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main,"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:`small`},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:`large`},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Su.disabled}`]:{backgroundColor:`transparent`,color:(e.vars||e).palette.action.disabled},[`&.${Su.loading}`]:{color:`transparent`}}))),Tu=J(`span`,{name:`MuiIconButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%)`,color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:`flex`}}]})),Eu=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiIconButton`}),{edge:r=!1,children:i,className:a,color:o=`default`,disabled:s=!1,disableFocusRipple:c=!1,size:l=`medium`,id:u,loading:d=null,loadingIndicator:f,...p}=n,m=Kc(u),h=f??(0,H.jsx)(bu,{"aria-labelledby":m,color:`inherit`,size:16}),g={...n,edge:r,color:o,disabled:s,disableFocusRipple:c,loading:d,loadingIndicator:h,size:l},_=Cu(g);return(0,H.jsxs)(wu,{id:d?m:u,className:U(_.root,a),centerRipple:!0,internalNativeButton:!0,focusRipple:!c,disabled:s||d,ref:t,...p,ownerState:g,children:[typeof d==`boolean`&&(0,H.jsx)(`span`,{className:_.loadingWrapper,style:{display:`contents`},children:(0,H.jsx)(Tu,{className:_.loadingIndicator,ownerState:g,children:d&&h})}),i]})});function Du(e){return W(`MuiTypography`,e)}var Ou=G(`MuiTypography`,[`root`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`subtitle1`,`subtitle2`,`body1`,`body2`,`inherit`,`button`,`caption`,`overline`,`alignLeft`,`alignRight`,`alignCenter`,`alignJustify`,`noWrap`,`gutterBottom`]),ku=e=>{let{align:t,gutterBottom:n,noWrap:r,variant:i,classes:a}=e;return ya({root:[`root`,i,e.align!==`inherit`&&`align${X(t)}`,n&&`gutterBottom`,r&&`noWrap`]},Du,a)},Au=J(`span`,{name:`MuiTypography`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!==`inherit`&&t[`align${X(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom]}})(Y(({theme:e})=>({margin:0,variants:[{props:{variant:`inherit`},style:{font:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},...Object.entries(e.typography).filter(([e,t])=>e!==`inherit`&&t&&typeof t==`object`).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>typeof e==`string`).map(([t])=>({props:{color:`text${X(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>e.align!==`inherit`,style:{textAlign:`var(--Typography-textAlign)`}},{props:({ownerState:e})=>e.noWrap,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:`0.35em`}}]}))),ju={h1:`h1`,h2:`h2`,h3:`h3`,h4:`h4`,h5:`h5`,h6:`h6`,subtitle1:`h6`,subtitle2:`h6`,body1:`p`,body2:`p`,inherit:`p`},Mu=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiTypography`}),{color:r,align:i=`inherit`,className:a,component:o,gutterBottom:s=!1,noWrap:c=!1,variant:l=`body1`,variantMapping:u=ju,...d}=n,f={...n,align:i,color:r,className:a,component:o,gutterBottom:s,noWrap:c,variant:l,variantMapping:u},p=o||u[l]||ju[l]||`span`,m=ku(f);return(0,H.jsx)(Au,{as:p,ref:t,className:U(m.root,a),...d,ownerState:f,style:{...i!==`inherit`&&{"--Typography-textAlign":i},...d.style}})});function Nu(e){return W(`MuiAppBar`,e)}G(`MuiAppBar`,[`root`,`positionFixed`,`positionAbsolute`,`positionSticky`,`positionStatic`,`positionRelative`,`colorDefault`,`colorPrimary`,`colorSecondary`,`colorInherit`,`colorTransparent`,`colorError`,`colorInfo`,`colorSuccess`,`colorWarning`]);var Pu=e=>{let{color:t,position:n,classes:r}=e;return ya({root:[`root`,`color${X(t)}`,`position${X(n)}`]},Nu,r)},Fu=(e,t)=>e?`${e.replace(`)`,``)}, ${t})`:t,Iu=J(Dl,{name:`MuiAppBar`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`position${X(n.position)}`],t[`color${X(n.color)}`]]}})(Y(({theme:e})=>({display:`flex`,flexDirection:`column`,width:`100%`,boxSizing:`border-box`,flexShrink:0,variants:[{props:{position:`fixed`},style:{position:`fixed`,zIndex:(e.vars||e).zIndex.appBar,top:0,left:`auto`,right:0,"@media print":{position:`absolute`}}},{props:{position:`absolute`},style:{position:`absolute`,zIndex:(e.vars||e).zIndex.appBar,top:0,left:`auto`,right:0}},{props:{position:`sticky`},style:{position:`sticky`,zIndex:(e.vars||e).zIndex.appBar,top:0,left:`auto`,right:0}},{props:{position:`static`},style:{position:`static`}},{props:{position:`relative`},style:{position:`relative`}},{props:{color:`inherit`},style:{"--AppBar-color":`inherit`,color:`var(--AppBar-color)`}},{props:{color:`default`},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles(`dark`,{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(cu([`contrastText`])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText,...e.focusVisible&&go(`0 0 0 4px ${(e.vars||e).palette.background.default}`)}})),{props:e=>e.enableColorOnDark===!0&&![`inherit`,`transparent`].includes(e.color),style:{backgroundColor:`var(--AppBar-background)`,color:`var(--AppBar-color)`}},{props:e=>e.enableColorOnDark===!1&&![`inherit`,`transparent`].includes(e.color),style:{backgroundColor:`var(--AppBar-background)`,color:`var(--AppBar-color)`,...e.applyStyles(`dark`,{backgroundColor:e.vars?Fu(e.vars.palette.AppBar.darkBg,`var(--AppBar-background)`):null,color:e.vars?Fu(e.vars.palette.AppBar.darkColor,`var(--AppBar-color)`):null})}},{props:{color:`transparent`},style:{"--AppBar-background":`transparent`,"--AppBar-color":`inherit`,backgroundColor:`var(--AppBar-background)`,color:`var(--AppBar-color)`,...e.applyStyles(`dark`,{backgroundImage:`none`})}}]}))),Lu=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiAppBar`}),{className:r,color:i=`primary`,enableColorOnDark:a=!1,position:o=`fixed`,...s}=n,c={...n,color:i,position:o,enableColorOnDark:a},l=Pu(c);return(0,H.jsx)(Iu,{square:!0,component:`header`,ownerState:c,elevation:4,className:U(l.root,r,o===`fixed`&&`mui-fixed`),ref:t,...s})});function Ru(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;let n=t.getRootNode?.();if(n&&n instanceof ShadowRoot){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode??n.host??null}}return!1}var zu=`bottom`,Bu=`right`,Vu=`left`,Hu=`auto`,Uu=[`top`,zu,Bu,Vu],Wu=`start`,Gu=`clippingParents`,Ku=`viewport`,qu=`popper`,Ju=`reference`,Yu=Uu.reduce(function(e,t){return e.concat([t+`-`+Wu,t+`-end`])},[]),Xu=[].concat(Uu,[Hu]).reduce(function(e,t){return e.concat([t,t+`-`+Wu,t+`-end`])},[]),Zu=[`beforeRead`,`read`,`afterRead`,`beforeMain`,`main`,`afterMain`,`beforeWrite`,`write`,`afterWrite`];function Qu(e){return e?(e.nodeName||``).toLowerCase():null}function $u(e){if(e==null)return window;if(e.toString()!==`[object Window]`){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ed(e){return e instanceof $u(e).Element||e instanceof Element}function td(e){return e instanceof $u(e).HTMLElement||e instanceof HTMLElement}function nd(e){return typeof ShadowRoot>`u`?!1:e instanceof $u(e).ShadowRoot||e instanceof ShadowRoot}function rd(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];td(i)&&Qu(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];t===!1?i.removeAttribute(e):i.setAttribute(e,t===!0?``:t)}))})}function id(e){var t=e.state,n={popper:{position:t.options.strategy,left:`0`,top:`0`,margin:`0`},arrow:{position:`absolute`},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]=``,e},{});td(r)&&Qu(r)&&(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}}var ad={name:`applyStyles`,enabled:!0,phase:`write`,fn:rd,effect:id,requires:[`computeStyles`]};function od(e){return e.split(`-`)[0]}var sd=Math.max,cd=Math.min,ld=Math.round;function ud(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+`/`+e.version}).join(` `):navigator.userAgent}function dd(){return!/^((?!chrome|android).)*safari/i.test(ud())}function fd(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&td(e)&&(i=e.offsetWidth>0&&ld(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&ld(r.height)/e.offsetHeight||1);var o=(ed(e)?$u(e):window).visualViewport,s=!dd()&&n,c=(r.left+(s&&o?o.offsetLeft:0))/i,l=(r.top+(s&&o?o.offsetTop:0))/a,u=r.width/i,d=r.height/a;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}function pd(e){var t=fd(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function md(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&nd(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function hd(e){return $u(e).getComputedStyle(e)}function gd(e){return[`table`,`td`,`th`].indexOf(Qu(e))>=0}function _d(e){return((ed(e)?e.ownerDocument:e.document)||window.document).documentElement}function vd(e){return Qu(e)===`html`?e:e.assignedSlot||e.parentNode||(nd(e)?e.host:null)||_d(e)}function yd(e){return!td(e)||hd(e).position===`fixed`?null:e.offsetParent}function bd(e){var t=/firefox/i.test(ud());if(/Trident/i.test(ud())&&td(e)&&hd(e).position===`fixed`)return null;var n=vd(e);for(nd(n)&&(n=n.host);td(n)&&[`html`,`body`].indexOf(Qu(n))<0;){var r=hd(n);if(r.transform!==`none`||r.perspective!==`none`||r.contain===`paint`||[`transform`,`perspective`].indexOf(r.willChange)!==-1||t&&r.willChange===`filter`||t&&r.filter&&r.filter!==`none`)return n;n=n.parentNode}return null}function xd(e){for(var t=$u(e),n=yd(e);n&&gd(n)&&hd(n).position===`static`;)n=yd(n);return n&&(Qu(n)===`html`||Qu(n)===`body`&&hd(n).position===`static`)?t:n||bd(e)||t}function Sd(e){return[`top`,`bottom`].indexOf(e)>=0?`x`:`y`}function Cd(e,t,n){return sd(e,cd(t,n))}function wd(e,t,n){var r=Cd(e,t,n);return r>n?n:r}function Td(){return{top:0,right:0,bottom:0,left:0}}function Ed(e){return Object.assign({},Td(),e)}function Dd(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var Od=function(e,t){return e=typeof e==`function`?e(Object.assign({},t.rects,{placement:t.placement})):e,Ed(typeof e==`number`?Dd(e,Uu):e)};function kd(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=od(n.placement),c=Sd(s),l=[`left`,`right`].indexOf(s)>=0?`height`:`width`;if(a&&o){var u=Od(i.padding,n),d=pd(a),f=c===`y`?`top`:Vu,p=c===`y`?zu:Bu,m=n.rects.reference[l]+n.rects.reference[c]-o[c]-n.rects.popper[l],h=o[c]-n.rects.reference[c],g=xd(a),_=g?c===`y`?g.clientHeight||0:g.clientWidth||0:0,v=m/2-h/2,y=u[f],b=_-d[l]-u[p],x=_/2-d[l]/2+v,S=Cd(y,x,b),C=c;n.modifiersData[r]=(t={},t[C]=S,t.centerOffset=S-x,t)}}function Ad(e){var t=e.state,n=e.options.element,r=n===void 0?`[data-popper-arrow]`:n;r!=null&&(typeof r==`string`&&(r=t.elements.popper.querySelector(r),!r)||md(t.elements.popper,r)&&(t.elements.arrow=r))}var jd={name:`arrow`,enabled:!0,phase:`main`,fn:kd,effect:Ad,requires:[`popperOffsets`],requiresIfExists:[`preventOverflow`]};function Md(e){return e.split(`-`)[1]}var Nd={top:`auto`,right:`auto`,bottom:`auto`,left:`auto`};function Pd(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:ld(n*i)/i||0,y:ld(r*i)/i||0}}function Fd(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=o.x,p=f===void 0?0:f,m=o.y,h=m===void 0?0:m,g=typeof u==`function`?u({x:p,y:h}):{x:p,y:h};p=g.x,h=g.y;var _=o.hasOwnProperty(`x`),v=o.hasOwnProperty(`y`),y=Vu,b=`top`,x=window;if(l){var S=xd(n),C=`clientHeight`,w=`clientWidth`;if(S===$u(n)&&(S=_d(n),hd(S).position!==`static`&&s===`absolute`&&(C=`scrollHeight`,w=`scrollWidth`)),S=S,i===`top`||(i===`left`||i===`right`)&&a===`end`){b=zu;var T=d&&S===x&&x.visualViewport?x.visualViewport.height:S[C];h-=T-r.height,h*=c?1:-1}if(i===`left`||(i===`top`||i===`bottom`)&&a===`end`){y=Bu;var E=d&&S===x&&x.visualViewport?x.visualViewport.width:S[w];p-=E-r.width,p*=c?1:-1}}var D=Object.assign({position:s},l&&Nd),O=u===!0?Pd({x:p,y:h},$u(n)):{x:p,y:h};if(p=O.x,h=O.y,c){var k;return Object.assign({},D,(k={},k[b]=v?`0`:``,k[y]=_?`0`:``,k.transform=(x.devicePixelRatio||1)<=1?`translate(`+p+`px, `+h+`px)`:`translate3d(`+p+`px, `+h+`px, 0)`,k))}return Object.assign({},D,(t={},t[b]=v?h+`px`:``,t[y]=_?p+`px`:``,t.transform=``,t))}function Id(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0||r,a=n.adaptive,o=a===void 0||a,s=n.roundOffsets,c=s===void 0||s,l={placement:od(t.placement),variation:Md(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy===`fixed`};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Fd(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Fd(Object.assign({},l,{offsets:t.modifiersData.arrow,position:`absolute`,adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Ld={name:`computeStyles`,enabled:!0,phase:`beforeWrite`,fn:Id,data:{}},Rd={passive:!0};function zd(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0||i,o=r.resize,s=o===void 0||o,c=$u(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(e){e.addEventListener(`scroll`,n.update,Rd)}),s&&c.addEventListener(`resize`,n.update,Rd),function(){a&&l.forEach(function(e){e.removeEventListener(`scroll`,n.update,Rd)}),s&&c.removeEventListener(`resize`,n.update,Rd)}}var Bd={name:`eventListeners`,enabled:!0,phase:`write`,fn:function(){},effect:zd,data:{}},Vd={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Hd(e){return e.replace(/left|right|bottom|top/g,function(e){return Vd[e]})}var Ud={start:`end`,end:`start`};function Wd(e){return e.replace(/start|end/g,function(e){return Ud[e]})}function Gd(e){var t=$u(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Kd(e){return fd(_d(e)).left+Gd(e).scrollLeft}function qd(e,t){var n=$u(e),r=_d(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;var l=dd();(l||!l&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s+Kd(e),y:c}}function Jd(e){var t=_d(e),n=Gd(e),r=e.ownerDocument?.body,i=sd(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=sd(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-n.scrollLeft+Kd(e),s=-n.scrollTop;return hd(r||t).direction===`rtl`&&(o+=sd(t.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:o,y:s}}function Yd(e){var t=hd(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Xd(e){return[`html`,`body`,`#document`].indexOf(Qu(e))>=0?e.ownerDocument.body:td(e)&&Yd(e)?e:Xd(vd(e))}function Zd(e,t){t===void 0&&(t=[]);var n=Xd(e),r=n===e.ownerDocument?.body,i=$u(n),a=r?[i].concat(i.visualViewport||[],Yd(n)?n:[]):n,o=t.concat(a);return r?o:o.concat(Zd(vd(a)))}function Qd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function $d(e,t){var n=fd(e,!1,t===`fixed`);return n.top+=e.clientTop,n.left+=e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function ef(e,t,n){return t===`viewport`?Qd(qd(e,n)):ed(t)?$d(t,n):Qd(Jd(_d(e)))}function tf(e){var t=Zd(vd(e)),n=[`absolute`,`fixed`].indexOf(hd(e).position)>=0&&td(e)?xd(e):e;return ed(n)?t.filter(function(e){return ed(e)&&md(e,n)&&Qu(e)!==`body`}):[]}function nf(e,t,n,r){var i=t===`clippingParents`?tf(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(t,n){var i=ef(e,n,r);return t.top=sd(i.top,t.top),t.right=cd(i.right,t.right),t.bottom=cd(i.bottom,t.bottom),t.left=sd(i.left,t.left),t},ef(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function rf(e){var t=e.reference,n=e.element,r=e.placement,i=r?od(r):null,a=r?Md(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,c;switch(i){case`top`:c={x:o,y:t.y-n.height};break;case zu:c={x:o,y:t.y+t.height};break;case Bu:c={x:t.x+t.width,y:s};break;case Vu:c={x:t.x-n.width,y:s};break;default:c={x:t.x,y:t.y}}var l=i?Sd(i):null;if(l!=null){var u=l===`y`?`height`:`width`;switch(a){case Wu:c[l]=c[l]-(t[u]/2-n[u]/2);break;case`end`:c[l]=c[l]+(t[u]/2-n[u]/2)}}return c}function af(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,o=a===void 0?e.strategy:a,s=n.boundary,c=s===void 0?Gu:s,l=n.rootBoundary,u=l===void 0?Ku:l,d=n.elementContext,f=d===void 0?qu:d,p=n.altBoundary,m=p!==void 0&&p,h=n.padding,g=h===void 0?0:h,_=Ed(typeof g==`number`?Dd(g,Uu):g),v=f===`popper`?Ju:qu,y=e.rects.popper,b=e.elements[m?v:f],x=nf(ed(b)?b:b.contextElement||_d(e.elements.popper),c,u,o),S=fd(e.elements.reference),C=rf({reference:S,element:y,strategy:`absolute`,placement:i}),w=Qd(Object.assign({},y,C)),T=f===`popper`?w:S,E={top:x.top-T.top+_.top,bottom:T.bottom-x.bottom+_.bottom,left:x.left-T.left+_.left,right:T.right-x.right+_.right},D=e.modifiersData.offset;if(f===`popper`&&D){var O=D[i];Object.keys(E).forEach(function(e){var t=[`right`,`bottom`].indexOf(e)>=0?1:-1,n=[`top`,`bottom`].indexOf(e)>=0?`y`:`x`;E[e]+=O[n]*t})}return E}function of(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=c===void 0?Xu:c,u=Md(r),d=u?s?Yu:Yu.filter(function(e){return Md(e)===u}):Uu,f=d.filter(function(e){return l.indexOf(e)>=0});f.length===0&&(f=d);var p=f.reduce(function(t,n){return t[n]=af(e,{placement:n,boundary:i,rootBoundary:a,padding:o})[od(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}function sf(e){if(od(e)===`auto`)return[];var t=Hd(e);return[Wd(e),t,Wd(t)]}function cf(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0||i,o=n.altAxis,s=o===void 0||o,c=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=p===void 0||p,h=n.allowedAutoPlacements,g=t.options.placement,_=od(g)===g,v=c||(_||!m?[Hd(g)]:sf(g)),y=[g].concat(v).reduce(function(e,n){return e.concat(od(n)===`auto`?of(t,{placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:m,allowedAutoPlacements:h}):n)},[]),b=t.rects.reference,x=t.rects.popper,S=new Map,C=!0,w=y[0],T=0;T<y.length;T++){var E=y[T],D=od(E),O=Md(E)===Wu,k=[`top`,zu].indexOf(D)>=0,ee=k?`width`:`height`,A=af(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:f,padding:l}),j=k?O?Bu:Vu:O?zu:`top`;b[ee]>x[ee]&&(j=Hd(j));var M=Hd(j),N=[];if(a&&N.push(A[D]<=0),s&&N.push(A[j]<=0,A[M]<=0),N.every(function(e){return e})){w=E,C=!1;break}S.set(E,N)}if(C)for(var P=m?3:1,F=function(e){var t=y.find(function(t){var n=S.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return w=t,`break`},I=P;I>0&&F(I)!==`break`;I--);t.placement!==w&&(t.modifiersData[r]._skip=!0,t.placement=w,t.reset=!0)}}var lf={name:`flip`,enabled:!0,phase:`main`,fn:cf,requiresIfExists:[`offset`],data:{_skip:!1}};function uf(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function df(e){return[`top`,Bu,zu,Vu].some(function(t){return e[t]>=0})}function ff(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=af(t,{elementContext:`reference`}),s=af(t,{altBoundary:!0}),c=uf(o,r),l=uf(s,i,a),u=df(c),d=df(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var pf={name:`hide`,enabled:!0,phase:`main`,requiresIfExists:[`preventOverflow`],fn:ff};function mf(e,t,n){var r=od(e),i=[`left`,`top`].indexOf(r)>=0?-1:1,a=typeof n==`function`?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o||=0,s=(s||0)*i,[`left`,`right`].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function hf(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=Xu.reduce(function(e,n){return e[n]=mf(n,t.rects,a),e},{}),s=o[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=o}var gf={name:`offset`,enabled:!0,phase:`main`,requires:[`popperOffsets`],fn:hf};function _f(e){var t=e.state,n=e.name;t.modifiersData[n]=rf({reference:t.rects.reference,element:t.rects.popper,strategy:`absolute`,placement:t.placement})}var vf={name:`popperOffsets`,enabled:!0,phase:`read`,fn:_f,data:{}};function yf(e){return e===`x`?`y`:`x`}function bf(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0||i,o=n.altAxis,s=o!==void 0&&o,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0||f,m=n.tetherOffset,h=m===void 0?0:m,g=af(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),_=od(t.placement),v=Md(t.placement),y=!v,b=Sd(_),x=yf(b),S=t.modifiersData.popperOffsets,C=t.rects.reference,w=t.rects.popper,T=typeof h==`function`?h(Object.assign({},t.rects,{placement:t.placement})):h,E=typeof T==`number`?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(S){if(a){var k=b===`y`?`top`:Vu,ee=b===`y`?zu:Bu,A=b===`y`?`height`:`width`,j=S[b],M=j+g[k],N=j-g[ee],P=p?-w[A]/2:0,F=v===`start`?C[A]:w[A],I=v===`start`?-w[A]:-C[A],L=t.elements.arrow,te=p&&L?pd(L):{width:0,height:0},ne=t.modifiersData[`arrow#persistent`]?t.modifiersData[`arrow#persistent`].padding:Td(),re=ne[k],R=ne[ee],z=Cd(0,C[A],te[A]),ie=y?C[A]/2-P-z-re-E.mainAxis:F-z-re-E.mainAxis,ae=y?-C[A]/2+P+z+R+E.mainAxis:I+z+R+E.mainAxis,oe=t.elements.arrow&&xd(t.elements.arrow),se=oe?b===`y`?oe.clientTop||0:oe.clientLeft||0:0,ce=D?.[b]??0,le=j+ie-ce-se,B=j+ae-ce,ue=Cd(p?cd(M,le):M,j,p?sd(N,B):N);S[b]=ue,O[b]=ue-j}if(s){var de=b===`x`?`top`:Vu,fe=b===`x`?zu:Bu,pe=S[x],me=x===`y`?`height`:`width`,he=pe+g[de],ge=pe-g[fe],_e=[`top`,Vu].indexOf(_)!==-1,ve=D?.[x]??0,ye=_e?he:pe-C[me]-w[me]-ve+E.altAxis,be=_e?pe+C[me]+w[me]-ve-E.altAxis:ge,xe=p&&_e?wd(ye,pe,be):Cd(p?ye:he,pe,p?be:ge);S[x]=xe,O[x]=xe-pe}t.modifiersData[r]=O}}var xf={name:`preventOverflow`,enabled:!0,phase:`main`,fn:bf,requiresIfExists:[`offset`]};function Sf(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Cf(e){return e===$u(e)||!td(e)?Gd(e):Sf(e)}function wf(e){var t=e.getBoundingClientRect(),n=ld(t.width)/e.offsetWidth||1,r=ld(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Tf(e,t,n){n===void 0&&(n=!1);var r=td(t),i=td(t)&&wf(t),a=_d(t),o=fd(e,i,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Qu(t)!==`body`||Yd(a))&&(s=Cf(t)),td(t)?(c=fd(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Kd(a))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}function Ef(e){var t=new Map,n=new Set,r=[];e.forEach(function(e){t.set(e.name,e)});function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){n.has(e.name)||i(e)}),r}function Df(e){var t=Ef(e);return Zu.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function Of(e){var t;return function(){return t||=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})}),t}}function kf(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var Af={placement:`bottom`,modifiers:[],strategy:`absolute`};function jf(){return![...arguments].some(function(e){return!(e&&typeof e.getBoundingClientRect==`function`)})}function Mf(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?Af:i;return function(e,t,n){n===void 0&&(n=a);var i={placement:`bottom`,orderedModifiers:[],options:Object.assign({},Af,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,c={state:i,setOptions:function(n){var o=typeof n==`function`?n(i.options):n;u(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:ed(e)?Zd(e):e.contextElement?Zd(e.contextElement):[],popper:Zd(t)};var s=Df(kf([].concat(r,i.options.modifiers)));return i.orderedModifiers=s.filter(function(e){return e.enabled}),l(),c.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(jf(t,n)){i.rects={reference:Tf(t,xd(n),i.options.strategy===`fixed`),popper:pd(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<i.orderedModifiers.length;r++)if(i.reset===!0)i.reset=!1,r=-1;else{var a=i.orderedModifiers[r],o=a.fn,l=a.options,u=l===void 0?{}:l,d=a.name;typeof o==`function`&&(i=o({state:i,options:u,name:d,instance:c})||i)}}}},update:Of(function(){return new Promise(function(e){c.forceUpdate(),e(i)})}),destroy:function(){u(),s=!0}};if(!jf(e,t))return c;c.setOptions(n).then(function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)});function l(){i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=n===void 0?{}:n,a=e.effect;if(typeof a==`function`){var s=a({state:i,name:t,instance:c,options:r});o.push(s||function(){})}})}function u(){o.forEach(function(e){return e()}),o=[]}return c}}var Nf=Mf({defaultModifiers:[Bd,vf,Ld,ad,gf,lf,xf,jd,pf]});function Pf(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:yl(n,r),{props:s,internalRef:c}=Sl({...a,externalSlotProps:o}),l=_s(c,o?.ref,e.additionalProps?.ref);return vl(t,{...s,ref:l},r)}function Ff(e){return e?.props?.ref||null}var If=c(m(),1);function Lf(e){return typeof e==`function`?e():e}var Rf=V.forwardRef(function(e,t){let{children:n,container:r,disablePortal:i=!1}=e,[a,o]=V.useState(null),s=_s(V.isValidElement(n)?Ff(n):null,t);if(ci(()=>{i||o(Lf(r)||document.body)},[r,i]),ci(()=>{if(a&&!i)return Gc(t,a),()=>{Gc(t,null)}},[t,a,i]),i){if(V.isValidElement(n)){let e={ref:s};return V.cloneElement(n,e)}return n}return a&&If.createPortal(n,a)});function zf(e){return W(`MuiPopper`,e)}G(`MuiPopper`,[`root`]);function Bf(e,t){if(t===`ltr`)return e;switch(e){case`bottom-end`:return`bottom-start`;case`bottom-start`:return`bottom-end`;case`top-end`:return`top-start`;case`top-start`:return`top-end`;default:return e}}function Vf(e){return typeof e==`function`?e():e}function Hf(e){return e.nodeType!==void 0}var Uf=e=>{let{classes:t}=e;return ya({root:[`root`]},zf,t)},Wf={},Gf=V.forwardRef(function(e,t){let{anchorEl:n,children:r,direction:i,disablePortal:a,modifiers:o,open:s,placement:c,popperOptions:l,popperRef:u,slotProps:d={},slots:f={},TransitionProps:p,ownerState:m,...h}=e,g=V.useRef(null),_=_s(g,t),v=V.useRef(null),y=_s(v,u),b=V.useRef(y);ci(()=>{b.current=y},[y]),V.useImperativeHandle(u,()=>v.current,[]);let x=Bf(c,i),[S,C]=V.useState(x),w=V.useMemo(()=>Vf(n),[n]);V.useEffect(()=>{v.current&&v.current.forceUpdate()}),ci(()=>{if(!w||!s)return;let e=e=>{C(e.placement)},t=[{name:`preventOverflow`,options:{altBoundary:a}},{name:`flip`,options:{altBoundary:a}},{name:`onUpdate`,enabled:!0,phase:`afterWrite`,fn:({state:t})=>{e(t)}}];o!=null&&(t=t.concat(o)),l&&l.modifiers!=null&&(t=t.concat(l.modifiers));let n=Nf(w,g.current,{placement:x,...l,modifiers:t});b.current(n);let r=g.current;return()=>{if(r){let{style:e}=r,t=e.position,i=e.top,a=e.left,o=e.transform;n.destroy(),e.position=t,e.top=i,e.left=a,e.transform=o}else n.destroy();b.current(null)}},[w,a,o,s,l,x]);let T={placement:S};p!==null&&(T.TransitionProps=p);let E=Uf(e),D=f.root??`div`,O=Pf({elementType:D,externalSlotProps:d.root,externalForwardedProps:h,additionalProps:{role:`tooltip`,ref:_},ownerState:e,className:E.root});return(0,H.jsx)(D,{...O,children:typeof r==`function`?r(T):r})}),Kf=J(V.forwardRef(function(e,t){let{anchorEl:n,children:r,container:i,direction:a=`ltr`,disablePortal:o=!1,keepMounted:s=!1,modifiers:c,open:l,placement:u=`bottom`,popperOptions:d=Wf,popperRef:f,style:p,transition:m=!1,slotProps:h={},slots:g={},..._}=e,[v,y]=V.useState(!0),b=()=>{y(!1)},x=()=>{y(!0)};if(!s&&!l&&(!m||v))return null;let S;if(i)S=i;else if(n){let e=Vf(n);S=e&&Hf(e)?ys(e).body:ys(null).body}let C=!l&&s&&(!m||v)?`none`:void 0,w=m?{in:l,onEnter:b,onExited:x}:void 0;return(0,H.jsx)(Rf,{disablePortal:o,container:S,children:(0,H.jsx)(Gf,{anchorEl:n,direction:a,disablePortal:o,modifiers:c,ref:t,open:m?!v:l,placement:u,popperOptions:d,popperRef:f,slotProps:h,slots:g,..._,style:{position:`fixed`,top:0,left:0,display:C,...p},TransitionProps:w,children:r})})}),{name:`MuiPopper`,slot:`Root`})({}),qf=V.forwardRef(function(e,t){let n=Li(),{anchorEl:r,component:i,container:a,disablePortal:o,keepMounted:s,modifiers:c,open:l,placement:u,popperOptions:d,popperRef:f,transition:p,slots:m,slotProps:h,...g}=Fs({props:e,name:`MuiPopper`}),_={anchorEl:r,container:a,disablePortal:o,keepMounted:s,modifiers:c,open:l,placement:u,popperOptions:d,popperRef:f,transition:p,...g};return(0,H.jsx)(Kf,{as:i,direction:n?`rtl`:`ltr`,slots:m,slotProps:h,..._,ref:t})}),Jf=Z((0,H.jsx)(`path`,{d:`M7 10l5 5 5-5z`}),`ArrowDropDown`),Yf={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},Xf={opacity:0,visibility:`hidden`},Zf=V.forwardRef(function(e,t){let n=As(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:o,disablePrefersReducedMotion:s=!1,easing:c,in:l,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:h,style:g,timeout:_=r,...v}=e,y=_l(n.motion.reducedMotion,s),b=V.useRef(null),x=Is(b,Ff(o),t),S=Qs(b,f),C=Qs(b,(e,t)=>{y.shouldReduceMotion||Js(e);let r=ec({style:g,timeout:_,easing:c},{mode:`enter`}),i=y.getTransitionTiming({duration:r.duration,delay:r.delay});e.style.transition=n.transitions.create(`opacity`,{duration:i.duration,easing:r.easing,delay:i.delay}),u&&u(e,t)}),w=Qs(b,d),T=Qs(b,h),E=Qs(b,e=>{let t=ec({style:g,timeout:_,easing:c},{mode:`exit`}),r=y.getTransitionTiming({duration:t.duration,delay:t.delay});e.style.transition=n.transitions.create(`opacity`,{duration:r.duration,easing:t.easing,delay:r.delay}),p&&p(e)}),D=Qs(b,e=>{e.style.transition=``,m&&m(e)});return(0,H.jsx)(al,{appear:a,in:l,nodeRef:b,onEnter:C,onEntered:w,onEntering:S,onExit:E,onExited:D,onExiting:T,addEndListener:i?e=>{i(b.current,e)}:void 0,reduceMotion:y.shouldReduceMotion,timeout:_,...v,children:(e,{ownerState:t,...n})=>{let r=$s(e,l,Yf,Xf,g,o.props.style);return V.cloneElement(o,{style:r,ref:x,...n})}})});function Qf(e){return W(`MuiBackdrop`,e)}G(`MuiBackdrop`,[`root`,`invisible`]);var $f=e=>{let{classes:t,invisible:n}=e;return ya({root:[`root`,n&&`invisible`]},Qf,t)},ep=J(`div`,{name:`MuiBackdrop`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:`fixed`,display:`flex`,alignItems:`center`,justifyContent:`center`,right:0,bottom:0,top:0,left:0,backgroundColor:`rgba(0, 0, 0, 0.5)`,WebkitTapHighlightColor:`transparent`,variants:[{props:{invisible:!0},style:{backgroundColor:`transparent`}}]}),tp=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiBackdrop`}),{children:r,className:i,component:a=`div`,invisible:o=!1,open:s,slotProps:c={},slots:l={},transitionDuration:u,...d}=n,f={...n,component:a,invisible:o},p=$f(f),m={component:a,slots:l,slotProps:c},[h,g]=Cl(`root`,{elementType:ep,externalForwardedProps:m,className:U(p.root,i),ownerState:f}),[_,v]=Cl(`transition`,{elementType:Zf,externalForwardedProps:m,ownerState:f});return(0,H.jsx)(_,{in:s,timeout:u,...d,...v,children:(0,H.jsx)(h,{...g,ref:t,children:r})})}),np=G(`MuiBox`,[`root`]),rp=Gr({themeId:v,defaultTheme:fs(),defaultClassName:np.root,generateClassName:Ur.generate}),ip=Z((0,H.jsx)(`path`,{d:`M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z`}),`MoreHoriz`),ap=J(iu,{name:`MuiBreadcrumbCollapsed`})(Y(({theme:e})=>({display:`flex`,marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`,...e.palette.mode===`light`?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},borderRadius:2,"&:hover, &:focus":{...e.palette.mode===`light`?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}},"&:active":{boxShadow:e.shadows[0],...e.palette.mode===`light`?{backgroundColor:Oi(e.palette.grey[200],.12)}:{backgroundColor:Oi(e.palette.grey[600],.12)}}}))),op=J(ip)({width:24,height:16});function sp(e){let{slots:t={},slotProps:n={},...r}=e,{nativeButton:i,...a}=r,o=e;return(0,H.jsx)(`li`,{children:(0,H.jsx)(ap,{focusRipple:!0,...a,ownerState:o,children:(0,H.jsx)(op,{as:t.CollapsedIcon,ownerState:o,...n.collapsedIcon})})})}function cp(e){return W(`MuiBreadcrumbs`,e)}var lp=G(`MuiBreadcrumbs`,[`root`,`ol`,`li`,`separator`]),up=e=>{let{classes:t}=e;return ya({root:[`root`],li:[`li`],ol:[`ol`],separator:[`separator`]},cp,t)},dp=J(Mu,{name:`MuiBreadcrumbs`,slot:`Root`,overridesResolver:(e,t)=>[{[`& .${lp.li}`]:t.li},t.root]})({}),fp=J(`ol`,{name:`MuiBreadcrumbs`,slot:`Ol`})({display:`flex`,flexWrap:`wrap`,alignItems:`center`,padding:0,margin:0,listStyle:`none`}),pp=J(`li`,{name:`MuiBreadcrumbs`,slot:`Separator`})({display:`flex`,userSelect:`none`,marginLeft:8,marginRight:8});function mp(e,t,n,r){return e.reduce((i,a,o)=>(o<e.length-1?i=i.concat(a,(0,H.jsx)(pp,{"aria-hidden":!0,className:t,ownerState:r,children:n},`separator-${o}`)):i.push(a),i),[])}var hp=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiBreadcrumbs`}),{children:r,className:i,component:a=`nav`,slots:o={},slotProps:s={},expandText:c=`Show path`,itemsAfterCollapse:l=1,itemsBeforeCollapse:u=1,maxItems:d=8,separator:f=`/`,...p}=n,[m,h]=V.useState(!1),g={...n,component:a,expanded:m,expandText:c,itemsAfterCollapse:l,itemsBeforeCollapse:u,maxItems:d,separator:f},_=up(g),v=Pf({elementType:o.CollapsedIcon,externalSlotProps:s.collapsedIcon,ownerState:g}),y=V.useRef(null),b=e=>{let t=()=>{h(!0);let e=y.current.querySelector(`a[href],button,[tabindex]`);e&&e.focus()};return u+l>=e.length?e:[...e.slice(0,u),(0,H.jsx)(sp,{"aria-label":c,slots:{CollapsedIcon:o.CollapsedIcon},slotProps:{collapsedIcon:v},onClick:t},`ellipsis`),...e.slice(e.length-l,e.length)]},x=V.Children.toArray(r).filter(e=>V.isValidElement(e)).map((e,t)=>(0,H.jsx)(`li`,{className:_.li,children:e},`child-${t}`));return(0,H.jsx)(dp,{ref:t,component:a,color:`textSecondary`,className:U(_.root,i),ownerState:g,...p,children:(0,H.jsx)(fp,{className:_.ol,ref:y,ownerState:g,children:mp(m||d&&x.length<=d?x:b(x),_.separator,f,g)})})});function gp(e){return W(`MuiButton`,e)}var _p=G(`MuiButton`,`root.text.outlined.contained.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),vp=V.createContext({}),yp=V.createContext(void 0),bp=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=ya({root:[`root`,o&&`loading`,a,`size${X(i)}`,`color${X(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${X(s)}`],startIcon:[`icon`,`startIcon`],endIcon:[`icon`,`endIcon`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},gp,c);return{...c,...l}},xp=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Sp=J(iu,{shouldForwardProp:e=>Ns(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`size${X(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Y(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,...nc(e,[`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${_p.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${_p.focusVisible}`]:{...e.focusVisible,boxShadow:e.focusVisible?.boxShadow?`${(e.vars||e).shadows[6]}, ${e.focusVisible.boxShadow}`:(e.vars||e).shadows[6]},[`&.${_p.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${_p.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${_p.focusVisible}`]:{boxShadow:e.focusVisible?.boxShadow??`none`},"&:active":{boxShadow:`none`},[`&.${_p.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{...nc(e,[`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${_p.loading}`]:{color:`transparent`}}}]}})),Cp=J(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart]}})(({theme:e})=>({display:`inherit`,alignItems:`center`,marginRight:8,marginLeft:-4,"&::before":{content:`"\\200b"`,width:0,overflow:`hidden`},variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{...nc(e,[`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...xp]})),wp=J(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{...nc(e,[`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...xp]})),Tp=J(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),Ep=J(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),Dp=V.forwardRef(function(e,t){let n=V.useContext(vp),r=V.useContext(yp),i=Fs({props:ai(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,id:h,loading:g=null,loadingIndicator:_,loadingPosition:v=`center`,size:y=`medium`,startIcon:b,type:x,variant:S=`text`,...C}=i,w=Kc(h),T=_??(0,H.jsx)(bu,{"aria-labelledby":w,color:`inherit`,size:16}),E={...i,color:o,component:s,disabled:l,disableElevation:u,disableFocusRipple:d,fullWidth:m,loading:g,loadingIndicator:T,loadingPosition:v,size:y,type:x,variant:S},D=bp(E),O=(b||g&&v===`start`)&&(0,H.jsx)(Cp,{className:D.startIcon,ownerState:E,children:b||(0,H.jsx)(Ep,{className:D.loadingIconPlaceholder,ownerState:E})}),k=(f||g&&v===`end`)&&(0,H.jsx)(wp,{className:D.endIcon,ownerState:E,children:f||(0,H.jsx)(Ep,{className:D.loadingIconPlaceholder,ownerState:E})}),ee=r||``,A=typeof g==`boolean`?(0,H.jsx)(`span`,{className:D.loadingWrapper,style:{display:`contents`},children:g&&(0,H.jsx)(Tp,{className:D.loadingIndicator,ownerState:E,children:T})}):null,{root:j,...M}=D;return(0,H.jsxs)(Sp,{ownerState:E,className:U(n.className,D.root,c,ee),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:U(D.focusVisible,p),ref:t,internalNativeButton:!0,type:x,id:g?w:h,...C,classes:M,children:[O,v!==`end`&&A,a,v===`end`&&A,k]})});function Op(e){return W(`MuiCard`,e)}G(`MuiCard`,[`root`]);var kp=e=>{let{classes:t}=e;return ya({root:[`root`]},Op,t)},Ap=J(Dl,{name:`MuiCard`,slot:`Root`})({overflow:`hidden`}),jp=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiCard`}),{className:r,raised:i=!1,...a}=n,o={...n,raised:i},s=kp(o);return(0,H.jsx)(Ap,{className:U(s.root,r),elevation:i?8:void 0,ref:t,ownerState:o,...a})});function Mp(e){return W(`MuiCardContent`,e)}G(`MuiCardContent`,[`root`]);var Np=e=>{let{classes:t}=e;return ya({root:[`root`]},Mp,t)},Pp=J(`div`,{name:`MuiCardContent`,slot:`Root`})({padding:16,"&:last-child":{paddingBottom:24}}),Fp=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiCardContent`}),{className:r,component:i=`div`,...a}=n,o={...n,component:i},s=Np(o);return(0,H.jsx)(Pp,{as:i,className:U(s.root,r),ownerState:o,ref:t,...a})});function Ip(e){return W(`PrivateSwitchBase`,e)}G(`PrivateSwitchBase`,[`root`,`checked`,`disabled`,`input`,`edgeStart`,`edgeEnd`]);var Lp=e=>{let{classes:t,checked:n,disabled:r,edge:i}=e;return ya({root:[`root`,n&&`checked`,r&&`disabled`,i&&`edge${X(i)}`],input:[`input`]},Ip,t)},Rp=J(iu,{name:`MuiSwitchBase`})({padding:9,borderRadius:`50%`,variants:[{props:{edge:`start`,size:`small`},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e===`start`&&t.size!==`small`,style:{marginLeft:-12}},{props:{edge:`end`,size:`small`},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e===`end`&&t.size!==`small`,style:{marginRight:-12}}]}),zp=J(`input`,{name:`MuiSwitchBase`,shouldForwardProp:Ns})({cursor:`inherit`,position:`absolute`,opacity:0,width:`100%`,height:`100%`,top:0,left:0,margin:0,padding:0,zIndex:1}),Bp=V.forwardRef(function(e,t){let{autoFocus:n,checked:r,checkedIcon:i,defaultChecked:a,disabled:o,disableFocusRipple:s=!1,edge:c=!1,icon:l,id:u,name:d,onBlur:f,onChange:p,onFocus:m,readOnly:h,required:g=!1,tabIndex:_,type:v,value:y,slots:b={},slotProps:x={},...S}=e,{nativeButton:C,...w}=S,[T,E]=Jc({controlled:r,default:!!a,name:`SwitchBase`,state:`checked`}),D=Ds(),O=e=>{m&&m(e),D&&D.onFocus&&D.onFocus(e)},k=e=>{f&&f(e),D&&D.onBlur&&D.onBlur(e)},ee=e=>{if(e.nativeEvent.defaultPrevented||h)return;let t=e.target.checked;E(t),p&&p(e,t)},A=o;D&&A===void 0&&(A=D.disabled);let j=v===`checkbox`||v===`radio`,M={...e,checked:T,disabled:A,disableFocusRipple:s,edge:c},N=Lp(M),P={slots:b,slotProps:x},[F,I]=Cl(`root`,{ref:t,elementType:Rp,className:N.root,shouldForwardComponentProp:!0,externalForwardedProps:{...P,component:`span`,...w},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),O(t)},onBlur:t=>{e.onBlur?.(t),k(t)}}),ownerState:M,additionalProps:{centerRipple:!0,focusRipple:!s,role:void 0,tabIndex:null,internalDisabledThemeFocusVisible:!0}}),[L,te]=Cl(`input`,{elementType:zp,className:N.input,externalForwardedProps:P,getSlotProps:e=>({...e,onChange:t=>{e.onChange?.(t),ee(t)}}),ownerState:M,additionalProps:{autoFocus:n,checked:r,defaultChecked:a,disabled:A,id:j?u:void 0,name:d,readOnly:h,required:g,tabIndex:_,type:v,...v===`checkbox`&&y===void 0?{}:{value:y}}});return(0,H.jsxs)(F,{...I,children:[(0,H.jsx)(L,{...te}),T?i:l]})}),Vp=Z((0,H.jsx)(`path`,{d:`M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z`}),`CheckBoxOutlineBlank`),Hp=Z((0,H.jsx)(`path`,{d:`M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z`}),`CheckBox`),Up=Z((0,H.jsx)(`path`,{d:`M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z`}),`IndeterminateCheckBox`),Wp=e=>{let{classes:t,indeterminate:n,color:r,size:i}=e,a=ya({root:[`root`,n&&`indeterminate`,`color${X(r)}`,`size${X(i)}`]},ps,t);return{...t,...a}},Gp=J(Bp,{shouldForwardProp:e=>Ns(e)||e===`classes`,name:`MuiCheckbox`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${X(n.size)}`],n.color!=="default"&&t[`color${X(n.color)}`]]}})(Y(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.focusVisible&&{[`&.${tu.focusVisible} svg:first-of-type`]:{...ho,borderRadius:(e.vars||e).shape.borderRadius,...e.focusVisible}},variants:[{props:{color:`default`,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t},style:{[`&.${ms.checked}, &.${ms.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${ms.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:`transparent`}}}}]}))),Kp=(0,H.jsx)(Hp,{}),qp=(0,H.jsx)(Vp,{}),Jp=(0,H.jsx)(Up,{}),Yp=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiCheckbox`}),{checkedIcon:r=Kp,color:i=`primary`,icon:a=qp,indeterminate:o=!1,indeterminateIcon:s=Jp,size:c=`medium`,disableRipple:l=!1,className:u,slots:d={},slotProps:f={},...p}=n,m=o?s:a,h=o?s:r,g={...n,disableRipple:l,color:i,indeterminate:o,size:c},_=Wp(g),v=f.input,[y,b]=Cl(`root`,{ref:t,elementType:Gp,className:U(_.root,u),shouldForwardComponentProp:!0,externalForwardedProps:{slots:d,slotProps:f,...p},ownerState:g,additionalProps:{type:`checkbox`,icon:V.cloneElement(m,{fontSize:m.props.fontSize??c}),checkedIcon:V.cloneElement(h,{fontSize:h.props.fontSize??c}),disableRipple:n.disableRipple,slots:d,slotProps:{input:Zc(typeof v==`function`?v(g):v,{"data-indeterminate":o,"aria-checked":o?`mixed`:void 0})}}});return(0,H.jsx)(y,{...b,classes:_})});function Xp(e){return e.substring(2).toLowerCase()}function Zp(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function Qp(e){let{children:t,disableReactTree:n=!1,mouseEvent:r=`onClick`,onClickAway:i,touchEvent:a=`onTouchEnd`}=e,o=V.useRef(!1),s=V.useRef(null),c=V.useRef(!1),l=V.useRef(!1);V.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);let u=_s(Ff(t),s),d=vs(e=>{let t=l.current;l.current=!1;let r=ys(s.current);if(!c.current||!s.current||`clientX`in e&&Zp(e,r))return;if(o.current){o.current=!1;return}let a;a=e.composedPath?e.composedPath().includes(s.current):!Ru(r.documentElement,e.target)||Ru(s.current,e.target),a||!n&&t||i(e)}),f=e=>n=>{l.current=!0;let r=t.props[e];r&&r(n)},p={ref:u};return a!==!1&&(p[a]=f(a)),V.useEffect(()=>{if(a!==!1){let e=Xp(a),t=ys(s.current),n=()=>{o.current=!0};return t.addEventListener(e,d),t.addEventListener(`touchmove`,n),()=>{t.removeEventListener(e,d),t.removeEventListener(`touchmove`,n)}}},[d,a]),r!==!1&&(p[r]=f(r)),V.useEffect(()=>{if(r!==!1){let e=Xp(r),t=ys(s.current);return t.addEventListener(e,d),()=>{t.removeEventListener(e,d)}}},[d,r]),V.cloneElement(t,p)}var $p=typeof Ps({})==`function`,em=(e,t)=>({WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,boxSizing:`border-box`,WebkitTextSizeAdjust:`100%`,...t&&!e.vars&&{colorScheme:e.palette.mode}}),tm=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),nm=(e,t=!1)=>{let n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector==`function`&&Object.entries(e.colorSchemes).forEach(([t,r])=>{let i=e.getColorSchemeSelector(t);i.startsWith(`@`)?n[i]={":root":{colorScheme:r.palette?.mode}}:n[i.replace(/\s*&/,``)]={colorScheme:r.palette?.mode}});let r={html:em(e,t),"*, *::before, *::after":{boxSizing:`inherit`},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...tm(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n},i=e.components?.MuiCssBaseline?.styleOverrides;return i&&(r=[r,i]),r},rm=`mui-ecs`,im=e=>{let t=nm(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${rm})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([t,r])=>{let i=e.getColorSchemeSelector(t);i.startsWith(`@`)?n[i]={[`:root:not(:has(.${rm}))`]:{colorScheme:r.palette?.mode}}:n[i.replace(/\s*&/,``)]={[`&:not(:has(.${rm}))`]:{colorScheme:r.palette?.mode}}}),t},am=Ps($p?({theme:e,enableColorScheme:t})=>nm(e,t):({theme:e})=>im(e));function om(e){let{children:t,enableColorScheme:n=!1}=Fs({props:e,name:`MuiCssBaseline`});return(0,H.jsxs)(V.Fragment,{children:[$p&&(0,H.jsx)(am,{enableColorScheme:n}),!$p&&!n&&(0,H.jsx)(`span`,{className:rm,style:{display:`none`}}),t]})}function sm(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function cm(e){let t=ys(e);return e===t.body||e===t.documentElement?bs(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function lm(e,t){t?e.setAttribute(`aria-hidden`,`true`):e.removeAttribute(`aria-hidden`)}function um(e){return parseFloat(bs(e).getComputedStyle(e).paddingRight)||0}function dm(e){let t=[`TEMPLATE`,`SCRIPT`,`STYLE`,`LINK`,`MAP`,`META`,`NOSCRIPT`,`PICTURE`,`COL`,`COLGROUP`,`PARAM`,`SLOT`,`SOURCE`,`TRACK`].includes(e.tagName),n=e.tagName===`INPUT`&&e.getAttribute(`type`)===`hidden`;return t||n}function fm(e,t,n,r,i){let a=[t,n,...r];[].forEach.call(e.children,e=>{let t=!a.includes(e),n=!dm(e);t&&n&&lm(e,i)})}function pm(e,t){let n=[],r=e.container;if(!t.disableScrollLock){let e;if(r.parentNode instanceof DocumentFragment)e=ys(r).body;else{let t=r.parentElement,n=bs(r);e=t?.nodeName===`HTML`&&n.getComputedStyle(t).overflowY===`scroll`?t:r}if(cm(e)){let t=sm(bs(e));n.push({value:e.style.paddingRight,property:`padding-right`,el:e}),e.style.paddingRight=`${um(e)+t}px`;let i=ys(r).querySelectorAll(`.mui-fixed`);[].forEach.call(i,e=>{n.push({value:e.style.paddingRight,property:`padding-right`,el:e}),e.style.paddingRight=`${um(e)+t}px`})}n.push({value:e.style.overflow,property:`overflow`,el:e},{value:e.style.overflowX,property:`overflow-x`,el:e},{value:e.style.overflowY,property:`overflow-y`,el:e}),e.style.overflow=`hidden`}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}function mm(e){let t=[];return[].forEach.call(e.children,e=>{e.getAttribute(`aria-hidden`)===`true`&&t.push(e)}),t}var hm=class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&lm(e.modalRef,!1);let r=mm(t);fm(t,e.mount,e.modalRef,r,!0);let i=this.containers.findIndex(e=>e.container===t);return i===-1?(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n):(this.containers[i].modals.push(e),n)}mount(e,t){let n=this.containers.findIndex(t=>t.modals.includes(e)),r=this.containers[n];r.restore||=pm(r,t)}remove(e,t=!0){let n=this.modals.indexOf(e);if(n===-1)return n;let r=this.containers.findIndex(t=>t.modals.includes(e)),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),e.modalRef&&lm(e.modalRef,t),fm(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{let e=i.modals[i.modals.length-1];e.modalRef&&lm(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},gm=Ru,_m=`data-mui-focusable`;function vm(e){return e?e.hasAttribute(`data-mui-focusable`)?e:e.querySelector(`[${_m}]`):null}var ym=`input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])`;function bm(e){let t=parseInt(e.getAttribute(`tabindex`)||``,10);return Number.isNaN(t)?e.contentEditable===`true`||(e.nodeName===`AUDIO`||e.nodeName===`VIDEO`||e.nodeName===`DETAILS`)&&e.getAttribute(`tabindex`)===null?0:e.tabIndex:t}function xm(e){if(e.tagName!==`INPUT`||e.type!==`radio`||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),n=t(`[name="${e.name}"]:checked`);return n||=t(`[name="${e.name}"]`),n!==e}function Sm(e){return!(e.disabled||e.tagName===`INPUT`&&e.type===`hidden`||xm(e))}function Cm(e){let t=[],n=[];return Array.from(e.querySelectorAll(ym)).forEach((e,r)=>{let i=bm(e);i!==-1&&Sm(e)&&(i===0?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function wm(){return!0}function Tm(e){let{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=Cm,isEnabled:o=wm,open:s}=e,c=V.useRef(!1),l=V.useRef(null),u=V.useRef(null),d=V.useRef(null),f=V.useRef(null),p=V.useRef(!1),m=V.useRef(null),h=_s(Ff(t),m),g=V.useRef(null);V.useEffect(()=>{s&&m.current&&(p.current=!n)},[n,s]),V.useEffect(()=>{if(c.current=!1,!s||!m.current)return;let e=Bs(ys(m.current)),t=vm(m.current)??m.current;return gm(m.current,e)||(t.hasAttribute(`tabIndex`)||t.setAttribute(`tabIndex`,`-1`),p.current&&t.focus()),()=>{!i&&d.current&&(c.current=!0,d.current.focus(),d.current=null)}},[s]),V.useEffect(()=>{if(!s||!m.current)return;let e=ys(m.current),t=t=>{if(g.current=t,r||!o()||t.key!==`Tab`)return;let n=m.current,i=Bs(e);if(n===null)return;let s=vm(n);if(i===n||i===s){let e=a(n);if(e.length===0)return;t.preventDefault(),t.shiftKey?e[e.length-1].focus():e[0].focus()}else if(gm(n,i)){let e=a(n),r=e.indexOf(i);if(r===-1||!e.some(e=>bm(e)>0))return;t.preventDefault();let o=0;o=t.shiftKey?r<=0?e.length-1:r-1:r===e.length-1?0:r+1,e[o].focus()}},n=()=>{let t=m.current;if(t===null)return;let n=Bs(e);if(!e.hasFocus()||!o()||c.current){c.current=!1;return}if(gm(t,n)||r&&n!==l.current&&n!==u.current)return;if(n!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let i=[];if((n===l.current||n===u.current)&&(i=a(m.current)),i.length>0){let e=!!(g.current?.shiftKey&&g.current?.key===`Tab`),t=i[0],n=i[i.length-1];typeof t!=`string`&&typeof n!=`string`&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener(`focusin`,n),e.addEventListener(`keydown`,t,!0);let i=setInterval(()=>{let t=Bs(e);t&&t.tagName===`BODY`&&n()},50);return()=>{clearInterval(i),e.removeEventListener(`focusin`,n),e.removeEventListener(`keydown`,t,!0)}},[n,r,i,o,s,a]);let _=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;let n=t.props.onFocus;n&&n(e)},v=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0};return(0,H.jsxs)(V.Fragment,{children:[(0,H.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:l,"data-testid":`sentinelStart`}),V.cloneElement(t,{ref:h,onFocus:_}),(0,H.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:u,"data-testid":`sentinelEnd`})]})}function Em(e){return typeof e==`function`?e():e}function Dm(e){return e?e.props.hasOwnProperty(`in`):!1}var Om=()=>{},km=new hm;function Am(e){let{container:t,disableScrollLock:n=!1,closeAfterTransition:r=!1,onTransitionEnter:i,onTransitionExited:a,children:o,onClose:s,open:c,rootRef:l}=e,u=V.useRef({}),d=V.useRef(null),f=V.useRef(null),p=V.useRef(null),m=_s(p,l),[h,g]=V.useState(!c),_=Dm(o),v=!0;(e[`aria-hidden`]===`false`||e[`aria-hidden`]===!1)&&(v=!1);let y=()=>ys(d.current),b=()=>(u.current.modalRef=p.current,u.current.mount=d.current,u.current),x=()=>{km.mount(b(),{disableScrollLock:n}),p.current&&(p.current.scrollTop=0)},S=vs(()=>{let e=Em(t)||y().body;km.add(b(),e),p.current&&x()}),C=()=>km.isTopModal(b()),w=vs(e=>{d.current=e,e&&(f.current=e,c&&C()?x():p.current&&lm(p.current,v))}),T=V.useCallback(()=>{km.remove(b(),v)},[v]);V.useEffect(()=>()=>{T()},[T]),V.useEffect(()=>{c?S():_&&r||T()},[c,T,_,r,S]);let E=e=>t=>{e.onKeyDown?.(t),t.key===`Escape`&&t.which!==229&&C()&&(t.stopPropagation(),s&&s(t,`escapeKeyDown`))},D=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&s&&s(t,`backdropClick`)};return{getRootProps:(t={})=>{let n=bl(e);delete n.onTransitionEnter,delete n.onTransitionExited;let r={...n,...t};return{role:`presentation`,...r,onKeyDown:E(r),ref:m}},getBackdropProps:(e={})=>{let t=e;return{"aria-hidden":!0,...t,onClick:D(t),open:c}},getTransitionProps:()=>({onEnter:Lc(()=>{g(!1),i&&i()},o?.props.onEnter??Om),onExited:Lc(()=>{g(!0),a&&a(),r&&T()},o?.props.onExited??Om)}),rootRef:m,portalRef:w,portalContainer:!c&&_&&!h?f.current??t:t,isTopModal:C,exited:h,hasTransition:_}}function jm(e){return W(`MuiModal`,e)}G(`MuiModal`,[`root`,`hidden`,`backdrop`]);var Mm=e=>{let{open:t,exited:n,classes:r}=e;return ya({root:[`root`,!t&&n&&`hidden`],backdrop:[`backdrop`]},jm,r)},Nm=J(`div`,{name:`MuiModal`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Y(({theme:e})=>({position:`fixed`,zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:`hidden`}}]}))),Pm=J(tp,{name:`MuiModal`,slot:`Backdrop`})({zIndex:-1}),Fm=V.forwardRef(function(e,t){let n=Fs({name:`MuiModal`,props:e}),{classes:r,className:i,closeAfterTransition:a=!1,children:o,container:s,component:c,disableAutoFocus:l=!1,disableEnforceFocus:u=!1,disablePortal:d=!1,disableRestoreFocus:f=!1,disableScrollLock:p=!1,hideBackdrop:m=!1,keepMounted:h=!1,onClose:g,onTransitionEnter:_,onTransitionExited:v,open:y,slotProps:b={},slots:x={},theme:S,...C}=n,w={...n,closeAfterTransition:a,disableAutoFocus:l,disableEnforceFocus:u,disablePortal:d,disableRestoreFocus:f,disableScrollLock:p,hideBackdrop:m,keepMounted:h},{getRootProps:T,getBackdropProps:E,getTransitionProps:D,portalRef:O,portalContainer:k,isTopModal:ee,exited:A,hasTransition:j}=Am({...w,rootRef:t}),M={...w,exited:A},N=Mm(M),P={};if(o.props.tabIndex===void 0&&(P.tabIndex=`-1`),j){let{onEnter:e,onExited:t}=D();P.onEnter=e,P.onExited=t}let F={slots:x,slotProps:b},[I,L]=Cl(`root`,{ref:t,elementType:Nm,externalForwardedProps:{...F,...C,component:c},getSlotProps:T,ownerState:M,className:U(i,N?.root,!M.open&&M.exited&&N?.hidden)}),[te,ne]=Cl(`backdrop`,{elementType:Pm,externalForwardedProps:F,shouldForwardComponentProp:!0,getSlotProps:e=>E({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:N?.backdrop,ownerState:M});return!h&&!y&&(!j||A)?null:(0,H.jsx)(Rf,{ref:O,container:k,disablePortal:d,children:(0,H.jsxs)(I,{...L,children:[m?null:(0,H.jsx)(te,{...ne}),(0,H.jsx)(Tm,{disableEnforceFocus:u,disableAutoFocus:l,disableRestoreFocus:f,isEnabled:ee,open:y,children:V.cloneElement(o,P)})]})})});function Im(e){return W(`MuiDialog`,e)}G(`MuiDialog`,[`root`,`backdrop`,`scrollPaper`,`scrollBody`,`container`,`paper`,`paperWidthFalse`,`paperWidthXs`,`paperWidthSm`,`paperWidthMd`,`paperWidthLg`,`paperWidthXl`,`paperFullWidth`,`paperFullScreen`]);var Lm=V.createContext({}),Rm=J(tp,{name:`MuiDialog`,slot:`Backdrop`})({zIndex:-1}),zm=e=>{let{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:a}=e;return ya({root:[`root`],backdrop:[`backdrop`],container:[`container`,`scroll${X(n)}`],paper:[`paper`,`paperWidth${X(String(r))}`,i&&`paperFullWidth`,a&&`paperFullScreen`]},Im,t)},Bm=J(Fm,{name:`MuiDialog`,slot:`Root`})({"@media print":{position:`absolute !important`}}),Vm=J(`div`,{name:`MuiDialog`,slot:`Container`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.container,t[`scroll${X(n.scroll)}`]]}})({height:`100%`,"@media print":{height:`auto`},outline:0,variants:[{props:{scroll:`paper`},style:{display:`flex`,justifyContent:`center`,alignItems:`center`}},{props:{scroll:`body`},style:{overflowY:`auto`,overflowX:`hidden`,textAlign:`center`,"&::after":{content:`""`,display:`inline-block`,verticalAlign:`middle`,height:`100%`,width:`0`}}}]}),Hm=J(Dl,{name:`MuiDialog`,slot:`Paper`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.paper,t[`paperWidth${X(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(Y(({theme:e})=>({margin:32,position:`relative`,overflowY:`auto`,outline:0,"@media print":{overflowY:`visible`,boxShadow:`none`},variants:[{props:{scroll:`paper`},style:{display:`flex`,flexDirection:`column`,maxHeight:`calc(100% - 64px)`}},{props:{scroll:`body`},style:{display:`inline-block`,verticalAlign:`middle`,textAlign:`initial`}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:`calc(100% - 64px)`}},{props:{maxWidth:`xs`},style:{maxWidth:e.breakpoints.unit===`px`?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`}},{props:{maxWidth:`xs`,scroll:`body`},style:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:`calc(100% - 64px)`}}},...Object.keys(e.breakpoints.values).filter(e=>e!==`xs`).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`}})),...Object.keys(e.breakpoints.values).filter(e=>e!==`xs`).map(t=>({props:{maxWidth:t,scroll:`body`},style:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:`calc(100% - 64px)`}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:`calc(100% - 64px)`}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:`100%`,maxWidth:`100%`,height:`100%`,maxHeight:`none`,borderRadius:0}},{props:({ownerState:e})=>e.fullScreen&&e.scroll===`body`,style:{margin:0,maxWidth:`100%`}}]}))),Um=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiDialog`}),r=As(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":o,"aria-modal":s=!0,children:c,className:l,fullScreen:u=!1,fullWidth:d=!1,maxWidth:f=`sm`,onClick:p,onClose:m,open:h,PaperComponent:g=Dl,role:_=`dialog`,scroll:v=`paper`,slots:y={},slotProps:b={},transitionDuration:x=i,...S}=n,C={...n,fullScreen:u,fullWidth:d,maxWidth:f,scroll:v},w=zm(C),T=V.useRef(),E=e=>{T.current=e.target===e.currentTarget},D=e=>{p&&p(e),T.current&&(T.current=null,m&&m(e,`backdropClick`))},O=Gi(o),k=V.useMemo(()=>({titleId:O}),[O]),ee={slots:y,slotProps:b},[A,j]=Cl(`root`,{elementType:Bm,shouldForwardComponentProp:!0,externalForwardedProps:ee,ownerState:C,className:U(w.root,l),ref:t}),[M,N]=Cl(`backdrop`,{elementType:Rm,shouldForwardComponentProp:!0,externalForwardedProps:ee,ownerState:C,className:w.backdrop}),[P,F]=Cl(`paper`,{elementType:Hm,shouldForwardComponentProp:!0,externalForwardedProps:ee,ownerState:C,className:w.paper,additionalProps:{elevation:24,role:_,"aria-describedby":a,"aria-labelledby":O,"aria-modal":s,tabIndex:-1,[_m]:``}}),[I,L]=Cl(`container`,{elementType:Vm,externalForwardedProps:ee,ownerState:C,className:w.container}),[te,ne]=Cl(`transition`,{elementType:Zf,externalForwardedProps:ee,ownerState:C,additionalProps:{appear:!0,in:h,timeout:x,role:`presentation`}});return(0,H.jsx)(A,{closeAfterTransition:!0,slots:{backdrop:M},slotProps:{backdrop:{transitionDuration:x,...N}},onClose:m,open:h,onClick:D,...j,...S,children:(0,H.jsx)(te,{...ne,children:(0,H.jsx)(I,{onMouseDown:E,...L,children:(0,H.jsx)(P,{as:g,...F,children:(0,H.jsx)(Lm.Provider,{value:k,children:c})})})})})});function Wm(e){return W(`MuiDialogActions`,e)}G(`MuiDialogActions`,[`root`,`spacing`]);var Gm=e=>{let{classes:t,disableSpacing:n}=e;return ya({root:[`root`,!n&&`spacing`]},Wm,t)},Km=J(`div`,{name:`MuiDialogActions`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:`flex`,alignItems:`center`,padding:8,justifyContent:`flex-end`,flex:`0 0 auto`,variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),qm=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiDialogActions`}),{className:r,disableSpacing:i=!1,...a}=n,o={...n,disableSpacing:i},s=Gm(o);return(0,H.jsx)(Km,{className:U(s.root,r),ownerState:o,ref:t,...a})});function Jm(e){return W(`MuiDialogContent`,e)}G(`MuiDialogContent`,[`root`,`dividers`]);function Ym(e){return W(`MuiDialogTitle`,e)}var Xm=G(`MuiDialogTitle`,[`root`]),Zm=e=>{let{classes:t,dividers:n}=e;return ya({root:[`root`,n&&`dividers`]},Jm,t)},Qm=J(`div`,{name:`MuiDialogContent`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(Y(({theme:e})=>({flex:`1 1 auto`,WebkitOverflowScrolling:`touch`,overflowY:`auto`,padding:`20px 24px`,variants:[{props:({ownerState:e})=>e.dividers,style:{padding:`16px 24px`,borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${Xm.root} + &`]:{paddingTop:0}}}]}))),$m=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiDialogContent`}),{className:r,dividers:i=!1,...a}=n,o={...n,dividers:i},s=Zm(o);return(0,H.jsx)(Qm,{className:U(s.root,r),ownerState:o,ref:t,...a})});function eh(e){return W(`MuiDialogContentText`,e)}G(`MuiDialogContentText`,[`root`]);var th=e=>{let{classes:t}=e,n=ya({root:[`root`]},eh,t);return{...t,...n}},nh=J(Mu,{shouldForwardProp:e=>Ns(e)||e===`classes`,name:`MuiDialogContentText`,slot:`Root`})({}),rh=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiDialogContentText`}),{children:r,className:i,...a}=n,o=th(a);return(0,H.jsx)(nh,{component:`p`,variant:`body1`,color:`textSecondary`,ref:t,ownerState:a,className:U(o.root,i),...n,classes:o})}),ih=e=>{let{classes:t}=e;return ya({root:[`root`]},Ym,t)},ah=J(Mu,{name:`MuiDialogTitle`,slot:`Root`})({padding:`16px 24px`,flex:`0 0 auto`}),oh=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiDialogTitle`}),{className:r,id:i,...a}=n,o=n,s=ih(o),{titleId:c=i}=V.useContext(Lm);return(0,H.jsx)(ah,{component:`h2`,className:U(s.root,r),ownerState:o,ref:t,variant:`h6`,id:i??c,...a})}),sh=G(`MuiDivider`,[`root`,`absolute`,`fullWidth`,`inset`,`middle`,`flexItem`,`vertical`,`withChildren`,`textAlignRight`,`textAlignLeft`,`wrapper`,`wrapperVertical`]);function ch(e){return W(`MuiFab`,e)}var lh=G(`MuiFab`,[`root`,`primary`,`secondary`,`extended`,`circular`,`focusVisible`,`disabled`,`colorInherit`,`sizeSmall`,`sizeMedium`,`sizeLarge`,`info`,`error`,`warning`,`success`]),uh=e=>{let{color:t,variant:n,classes:r,size:i}=e,a=ya({root:[`root`,n,`size${X(i)}`,t===`inherit`?`colorInherit`:t]},ch,r);return{...r,...a}},dh=J(iu,{name:`MuiFab`,slot:`Root`,shouldForwardProp:e=>Ns(e)||e===`classes`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`size${X(n.size)}`],n.color===`inherit`&&t.colorInherit,t[X(n.size)],t[n.color]]}})(Y(({theme:e})=>({...e.typography.button,minHeight:36,...nc(e,[`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),borderRadius:`50%`,padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.grey[900]:e.palette.getContrastText?.(e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:`none`},[`&.${lh.focusVisible}`]:{...e.focusVisible,boxShadow:e.focusVisible?.boxShadow?`${(e.vars||e).shadows[6]}, ${e.focusVisible.boxShadow}`:(e.vars||e).shadows[6]},variants:[{props:{size:`small`},style:{width:40,height:40}},{props:{size:`medium`},style:{width:48,height:48}},{props:{variant:`extended`},style:{borderRadius:24,padding:`0 16px`,width:`auto`,minHeight:`auto`,minWidth:48,height:48}},{props:{variant:`extended`,size:`small`},style:{width:`auto`,padding:`0 8px`,borderRadius:17,minWidth:34,height:34}},{props:{variant:`extended`,size:`medium`},style:{width:`auto`,padding:`0 16px`,borderRadius:20,minWidth:40,height:40}},{props:{color:`inherit`},style:{color:`inherit`}}]})),Y(({theme:e})=>({variants:[...Object.entries(e.palette).filter(cu([`dark`,`contrastText`])).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}}}}))]})),Y(({theme:e})=>({[`&.${lh.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}))),fh=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiFab`}),{children:r,className:i,color:a=`default`,component:o=`button`,disabled:s=!1,disableFocusRipple:c=!1,focusVisibleClassName:l,size:u=`large`,variant:d=`circular`,...f}=n,p={...n,color:a,component:o,disabled:s,disableFocusRipple:c,size:u,variant:d},m=uh(p),{root:h,...g}=m;return(0,H.jsx)(dh,{className:U(m.root,i),component:o,internalNativeButton:!0,disabled:s,focusRipple:!c,focusVisibleClassName:U(m.focusVisible,l),ownerState:p,ref:t,...f,classes:g,children:r})});function ph(e){return W(`MuiSelect`,e)}var mh=G(`MuiSelect`,[`root`,`select`,`multiple`,`filled`,`outlined`,`standard`,`disabled`,`focused`,`icon`,`iconOpen`,`nativeInput`,`error`]),hh=e=>{let{classes:t,disableUnderline:n,startAdornment:r,endAdornment:i,size:a,hiddenLabel:o,multiline:s}=e,c=ya({root:[`root`,!n&&`underline`,r&&`adornedStart`,i&&`adornedEnd`,a===`small`&&`size${X(a)}`,o&&`hiddenLabel`,s&&`multiline`],input:[`input`]},pc,t);return{...t,...c}},gh=J(lc,{shouldForwardProp:e=>Ns(e)||e===`classes`,name:`MuiFilledInput`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[...oc(e,t),!n.disableUnderline&&t.underline]}})(Y(({theme:e})=>{let t=e.palette.mode===`light`,n=t?`rgba(0, 0, 0, 0.42)`:`rgba(255, 255, 255, 0.7)`,r=t?`rgba(0, 0, 0, 0.06)`:`rgba(255, 255, 255, 0.09)`,i=t?`rgba(0, 0, 0, 0.09)`:`rgba(255, 255, 255, 0.13)`,a=t?`rgba(0, 0, 0, 0.12)`:`rgba(255, 255, 255, 0.12)`;return{position:`relative`,backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,...nc(e,`background-color`,{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${mc.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${mc.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:`""`,position:`absolute`,right:0,transform:`scaleX(0)`,...nc(e,`transform`,{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:`none`},[`&.${mc.focused}:after`]:{transform:`scaleX(1) translateX(0)`},[`&.${mc.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):n}`,left:0,bottom:0,content:`""`,position:`absolute`,right:0,...nc(e,`border-bottom-color`,{duration:e.transitions.duration.shorter}),pointerEvents:`none`},[`&:hover:not(.${mc.disabled}, .${mc.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${mc.disabled}:before`]:{borderBottomStyle:`dotted`}}},...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{"--_trailingPad":`12px`,paddingRight:`var(--_trailingPad)`,[`&.${mh.root}`]:{"--_trailingPad":`0px`}}},{props:({ownerState:e})=>e.multiline,style:{padding:`25px 12px 8px`}},{props:({ownerState:e,size:t})=>e.multiline&&t===`small`,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&e.size===`small`,style:{paddingTop:8,paddingBottom:9}}]}})),_h=J(uc,{name:`MuiFilledInput`,slot:`Input`,overridesResolver:sc})(Y(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,"&:-webkit-autofill":{...!e.vars&&{WebkitBoxShadow:e.palette.mode===`light`?null:`0 0 0 100px #266798 inset`,WebkitTextFillColor:e.palette.mode===`light`?null:`#fff`,caretColor:e.palette.mode===`light`?null:`#fff`},borderTopLeftRadius:`inherit`,borderTopRightRadius:`inherit`,...e.vars&&e.applyStyles(`dark`,{WebkitBoxShadow:`0 0 0 100px #266798 inset`,WebkitTextFillColor:`#fff`,caretColor:`#fff`})},variants:[{props:{size:`small`},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&e.size===`small`,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),vh=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiFilledInput`}),{disableUnderline:r=!1,fullWidth:i=!1,hiddenLabel:a,inputComponent:o=`input`,multiline:s=!1,notched:c,slotProps:l,slots:u={},type:d=`text`,...f}=n,p={...n,disableUnderline:r,fullWidth:i,inputComponent:o,multiline:s,type:d},m=hh(n),h={root:{ownerState:p},input:{ownerState:p}},g=l?tn(h,l):h,_=u.root??gh,v=u.input??_h;return(0,H.jsx)(fc,{slots:{root:_,input:v},slotProps:g,fullWidth:i,inputComponent:o,multiline:s,ref:t,type:d,...f,classes:m})});vh.muiName=`Input`;function yh(e){return W(`MuiFormControl`,e)}G(`MuiFormControl`,[`root`,`marginNone`,`marginNormal`,`marginDense`,`fullWidth`,`disabled`]);var bh=e=>{let{classes:t,margin:n,fullWidth:r}=e;return ya({root:[`root`,n!==`none`&&`margin${X(n)}`,r&&`fullWidth`]},yh,t)},xh=J(`div`,{name:`MuiFormControl`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`margin${X(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:`inline-flex`,flexDirection:`column`,position:`relative`,minWidth:0,padding:0,margin:0,border:0,verticalAlign:`top`,variants:[{props:{margin:`normal`},style:{marginTop:16,marginBottom:8}},{props:{margin:`dense`},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:`100%`}}]}),Sh=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiFormControl`}),{children:r,className:i,color:a=`primary`,component:o=`div`,disabled:s=!1,error:c=!1,focused:l,fullWidth:u=!1,hiddenLabel:d=!1,margin:f=`none`,required:p=!1,size:m=`medium`,variant:h=`outlined`,...g}=n,_={...n,color:a,component:o,disabled:s,error:c,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h},v=bh(_),[y,b]=V.useState(()=>{let e=!1;return r&&V.Children.forEach(r,t=>{if(!Uc(t,[`Input`,`Select`]))return;let n=Uc(t,[`Select`])?t.props.input:t;n&&Us(n.props)&&(e=!0)}),e}),[x,S]=V.useState(()=>{let e=!1;return r&&V.Children.forEach(r,t=>{Uc(t,[`Input`,`Select`])&&(Hs(t.props,!0)||Hs(t.props.inputProps,!0))&&(e=!0)}),e}),[C,w]=V.useState(!1);s&&C&&w(!1);let T=l!==void 0&&!s?l:C,E;V.useRef(!1);let D=V.useCallback(()=>{S(!0)},[]),O=V.useCallback(()=>{S(!1)},[]),k=V.useMemo(()=>({adornedStart:y,setAdornedStart:b,color:a,disabled:s,error:c,filled:x,focused:T,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{w(!1)},onFocus:()=>{w(!0)},onEmpty:O,onFilled:D,registerEffect:E,required:p,variant:h}),[y,a,s,c,x,T,u,d,E,O,D,p,m,h]);return(0,H.jsx)(Es.Provider,{value:k,children:(0,H.jsx)(xh,{as:o,ownerState:_,className:U(v.root,i),ref:t,...g,children:r})})}),Ch=e=>{let{classes:t,disabled:n,labelPlacement:r,error:i,required:a}=e;return ya({root:[`root`,n&&`disabled`,`labelPlacement${X(r)}`,i&&`error`,a&&`required`],label:[`label`,n&&`disabled`],asterisk:[`asterisk`,i&&`error`]},hc,t)},wh=J(`label`,{name:`MuiFormControlLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${gc.label}`]:t.label},t.root,t[`labelPlacement${X(n.labelPlacement)}`]]}})(Y(({theme:e})=>({display:`inline-flex`,alignItems:`center`,cursor:`pointer`,verticalAlign:`middle`,WebkitTapHighlightColor:`transparent`,marginLeft:-11,marginRight:16,[`&.${gc.disabled}`]:{cursor:`default`},[`& .${gc.label}`]:{[`&.${gc.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:`start`},style:{flexDirection:`row-reverse`,marginRight:-11}},{props:{labelPlacement:`top`},style:{flexDirection:`column-reverse`}},{props:{labelPlacement:`bottom`},style:{flexDirection:`column`}},{props:({labelPlacement:e})=>e===`start`||e===`top`||e===`bottom`,style:{marginLeft:16}}]}))),Th=J(`span`,{name:`MuiFormControlLabel`,slot:`Asterisk`})(Y(({theme:e})=>({[`&.${gc.error}`]:{color:(e.vars||e).palette.error.main}}))),Eh=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiFormControlLabel`}),{checked:r,className:i,control:a,disabled:o,disableTypography:s,inputRef:c,label:l,labelPlacement:u=`end`,name:d,onChange:f,required:p,slots:m={},slotProps:h={},value:g,..._}=n,[v,y]=Os({props:n,states:[`error`]}),b=o??a.props.disabled??y?.disabled,x=p??a.props.required,S={disabled:b,required:x};[`checked`,`name`,`onChange`,`value`,`inputRef`].forEach(e=>{a.props[e]===void 0&&n[e]!==void 0&&(S[e]=n[e])});let C={...n,disabled:b,labelPlacement:u,required:x,error:v.error},w=Ch(C),[T,E]=Cl(`typography`,{elementType:Mu,externalForwardedProps:{slots:m,slotProps:h},ownerState:C}),D=l;return D!=null&&D.type!==Mu&&!s&&(D=(0,H.jsx)(T,{component:`span`,...E,className:U(w.label,E?.className),children:D})),(0,H.jsxs)(wh,{className:U(w.root,i),ownerState:C,ref:t,..._,children:[V.cloneElement(a,S),x?(0,H.jsxs)(`div`,{children:[D,(0,H.jsxs)(Th,{ownerState:C,"aria-hidden":!0,className:w.asterisk,children:[` `,`*`]})]}):D]})});G(`MuiFormGroup`,[`root`,`row`,`error`]),J(`div`,{name:`MuiFormGroup`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:`flex`,flexDirection:`column`,flexWrap:`wrap`,variants:[{props:{row:!0},style:{flexDirection:`row`}}]});var Dh,Oh=e=>{let{classes:t,contained:n,size:r,disabled:i,error:a,filled:o,focused:s,required:c}=e;return ya({root:[`root`,i&&`disabled`,a&&`error`,r&&`size${X(r)}`,n&&`contained`,s&&`focused`,o&&`filled`,c&&`required`]},_c,t)},kh=J(`p`,{name:`MuiFormHelperText`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.size&&t[`size${X(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(Y(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:`left`,marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${vc.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${vc.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:`small`},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),Ah=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiFormHelperText`}),{children:r,className:i,component:a=`p`,disabled:o,error:s,filled:c,focused:l,margin:u,required:d,variant:f,...p}=n,[m]=Os({props:n,states:[`variant`,`size`,`disabled`,`error`,`filled`,`focused`,`required`]}),h={...n,component:a,contained:m.variant===`filled`||m.variant===`outlined`,variant:m.variant,size:m.size,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required};delete h.ownerState;let g=Oh(h);return(0,H.jsx)(kh,{as:a,className:U(g.root,i),ref:t,...p,ownerState:h,children:r===` `?Dh||=(0,H.jsx)(`span`,{className:`notranslate`,"aria-hidden":!0,children:``}):r})}),jh=e=>{let{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e;return ya({root:[`root`,`color${X(n)}`,i&&`disabled`,a&&`error`,o&&`filled`,r&&`focused`,s&&`required`],asterisk:[`asterisk`,a&&`error`]},yc,t)},Mh=J(`label`,{name:`MuiFormLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color===`secondary`&&t.colorSecondary,n.filled&&t.filled]}})(Y(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:`1.4375em`,padding:0,position:`relative`,variants:[...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t},style:{[`&.${bc.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${bc.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${bc.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),Nh=J(`span`,{name:`MuiFormLabel`,slot:`Asterisk`})(Y(({theme:e})=>({[`&.${bc.error}`]:{color:(e.vars||e).palette.error.main}}))),Ph=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiFormLabel`}),{children:r,className:i,color:a,component:o=`label`,disabled:s,error:c,filled:l,focused:u,required:d,...f}=n,[p]=Os({props:n,states:[`color`,`required`,`focused`,`disabled`,`error`,`filled`]}),m={...n,color:p.color||`primary`,component:o,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},h=jh(m);return(0,H.jsxs)(Mh,{as:o,ownerState:m,className:U(h.root,i),ref:t,...f,children:[r,p.required&&(0,H.jsxs)(Nh,{ownerState:m,"aria-hidden":!0,className:h.asterisk,children:[` `,`*`]})]})}),Fh=Ba({createStyledComponent:J(`div`,{name:`MuiGrid`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.container&&t.container]}}),componentName:`MuiGrid`,useThemeProps:e=>Fs({props:e,name:`MuiGrid`}),useTheme:As});function Ih(e){return`scale(${e}, ${e**2})`}var Lh={entering:{opacity:1,transform:Ih(1)},entered:{opacity:1,transform:`none`},exiting:{opacity:0,transform:Ih(.75)},exited:{opacity:0,transform:Ih(.75)}},Rh={opacity:0,transform:Ih(.75),visibility:`hidden`},zh=V.forwardRef(function(e,t){let{addEndListener:n,appear:r=!0,children:i,disablePrefersReducedMotion:a=!1,easing:o,in:s,onEnter:c,onEntered:l,onEntering:u,onExit:d,onExited:f,onExiting:p,style:m,timeout:h=`auto`,...g}=e,_=V.useRef(null),v=As(),y=_l(v.motion.reducedMotion,a),b=V.useRef(null),x=Is(b,Ff(i),t),S=Qs(b,u),C=Qs(b,(e,t)=>{y.shouldReduceMotion||Js(e);let{duration:n,delay:r,easing:i}=ec({style:m,timeout:h,easing:o},{mode:`enter`}),a;h===`auto`&&!y.shouldReduceMotion?(a=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=a):(a=n,_.current=null);let s=y.getTransitionTiming({duration:a,delay:r});e.style.transition=[v.transitions.create(`opacity`,{duration:s.duration,delay:s.delay}),v.transitions.create(`transform`,{duration:typeof s.duration==`string`?s.duration:s.duration*.666,delay:s.delay,easing:i})].join(`,`),c&&c(e,t)}),w=Qs(b,l),T=Qs(b,p),E=Qs(b,e=>{let{duration:t,delay:n,easing:r}=ec({style:m,timeout:h,easing:o},{mode:`exit`}),i;h===`auto`&&!y.shouldReduceMotion?(i=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=i):(i=t,_.current=null);let a=y.getTransitionTiming({duration:i,delay:n});e.style.transition=[v.transitions.create(`opacity`,{duration:a.duration,delay:a.delay}),v.transitions.create(`transform`,{duration:typeof a.duration==`string`?a.duration:a.duration*.666,delay:a.delay||(typeof a.duration==`string`?a.duration:a.duration*.333),easing:r})].join(`,`),e.style.opacity=0,e.style.transform=Ih(.75),d&&d(e)}),D=Qs(b,e=>{e.style.transition=``,f&&f(e)});return(0,H.jsx)(al,{appear:r,in:s,nodeRef:b,onEnter:C,onEntered:w,onEntering:S,onExit:E,onExited:D,onExiting:T,addEndListener:n?e=>{n(b.current,e)}:void 0,getAutoTimeout:h===`auto`?()=>_.current:void 0,reduceMotion:y.shouldReduceMotion,timeout:h===`auto`?null:h,...g,children:(e,{ownerState:t,...n})=>{let r=$s(e,s,Lh,Rh,m,i.props.style);return V.cloneElement(i,{style:r,ref:x,...n})}})});zh&&(zh.muiSupportAuto=!0);function Bh(e){return W(`MuiInputLabel`,e)}var Vh=G(`MuiInputLabel`,[`root`,`focused`,`disabled`,`error`,`required`,`asterisk`,`formControl`,`sizeSmall`,`shrink`,`animated`,`standard`,`filled`,`outlined`]),Hh=e=>{let{classes:t,disableUnderline:n}=e,r=ya({root:[`root`,!n&&`underline`],input:[`input`]},xc,t);return{...t,...r}},Uh=J(lc,{shouldForwardProp:e=>Ns(e)||e===`classes`,name:`MuiInput`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[...oc(e,t),!n.disableUnderline&&t.underline]}})(Y(({theme:e})=>{let t=e.palette.mode===`light`?`rgba(0, 0, 0, 0.42)`:`rgba(255, 255, 255, 0.7)`;return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:`relative`,variants:[{props:({ownerState:e})=>e.formControl,style:{[`label + &, .${Vh.root} + &`]:{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:`""`,position:`absolute`,right:0,transform:`scaleX(0)`,...nc(e,`transform`,{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:`none`},[`&.${Sc.focused}:after`]:{transform:`scaleX(1) translateX(0)`},[`&.${Sc.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:`""`,position:`absolute`,right:0,...nc(e,`border-bottom-color`,{duration:e.transitions.duration.shorter}),pointerEvents:`none`},[`&:hover:not(.${Sc.disabled}, .${Sc.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${Sc.disabled}:before`]:{borderBottomStyle:`dotted`}}},...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),Wh=J(uc,{name:`MuiInput`,slot:`Input`,overridesResolver:sc})({}),Gh=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiInput`}),{disableUnderline:r=!1,fullWidth:i=!1,inputComponent:a=`input`,multiline:o=!1,notched:s,slotProps:c,slots:l={},type:u=`text`,...d}=n,f=Hh(n),p={root:{ownerState:{disableUnderline:r}}},m=c?tn(c,p):p,h=l.root??Uh,g=l.input??Wh;return(0,H.jsx)(fc,{slots:{root:h,input:g},slotProps:m,fullWidth:i,inputComponent:a,multiline:o,ref:t,type:u,...d,classes:f})});Gh.muiName=`Input`;var Kh=G(`MuiInputAdornment`,[`root`,`filled`,`standard`,`outlined`,`positionStart`,`positionEnd`,`disablePointerEvents`,`hiddenLabel`,`sizeSmall`]),qh=e=>{let{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,c=ya({root:[`root`,n&&`formControl`,!a&&`animated`,i&&`shrink`,r&&r!==`medium`&&`size${X(r)}`,o],asterisk:[s&&`asterisk`]},Bh,t);return{...t,...c}},Jh=J(Ph,{shouldForwardProp:e=>Ns(e)||e===`classes`,name:`MuiInputLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${bc.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size===`small`&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Y(({theme:e})=>({display:`block`,transformOrigin:`top left`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`100%`,variants:[{props:({ownerState:e})=>e.formControl,style:{position:`absolute`,left:0,top:0,transform:`translate(0, 20px) scale(1)`}},{props:{size:`small`},style:{transform:`translate(0, 17px) scale(1)`}},{props:({ownerState:e})=>e.shrink,style:{transform:`translate(0, -1.5px) scale(0.75)`,transformOrigin:`top left`,maxWidth:`133%`}},{props:({ownerState:e})=>!e.disableAnimation,style:{...nc(e,[`color`,`transform`,`max-width`],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:`filled`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(12px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`filled`,size:`small`},style:{transform:`translate(12px, 13px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`filled`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,transform:`translate(12px, 7px) scale(0.75)`,maxWidth:`calc(133% - 24px)`}},{props:({variant:e,ownerState:t,size:n})=>e===`filled`&&t.shrink&&n===`small`,style:{transform:`translate(12px, 4px) scale(0.75)`}},{props:{variant:`outlined`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(14px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`outlined`,size:`small`},style:{transform:`translate(14px, 9px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`outlined`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,maxWidth:`calc(133% - 32px)`,transform:`translate(14px, -9px) scale(0.75)`}}]}))),Yh=V.forwardRef(function(e,t){let n=Fs({name:`MuiInputLabel`,props:e}),{disableAnimation:r=!1,margin:i,shrink:a,variant:o,className:s,...c}=n,[l,u]=Os({props:n,states:[`size`,`variant`,`required`,`focused`]}),d=a;d===void 0&&u&&(d=u.filled||u.focused||u.adornedStart);let f={...n,disableAnimation:r,formControl:u,shrink:d,size:l.size,variant:l.variant,required:l.required,focused:l.focused},p=qh(f);return(0,H.jsx)(Jh,{"data-shrink":d,ref:t,className:U(p.root,s),...c,ownerState:f,classes:p})});function Xh(e){return W(`MuiLinearProgress`,e)}G(`MuiLinearProgress`,[`root`,`colorPrimary`,`colorSecondary`,`determinate`,`indeterminate`,`buffer`,`query`,`dashed`,`bar`,`bar1`,`bar2`]);var Zh=4,Qh={},$h=Ot`
|
|
171
|
+
0% {
|
|
172
|
+
left: -35%;
|
|
173
|
+
right: 100%;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
60% {
|
|
177
|
+
left: 100%;
|
|
178
|
+
right: -90%;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
100% {
|
|
182
|
+
left: 100%;
|
|
183
|
+
right: -90%;
|
|
184
|
+
}
|
|
185
|
+
`,eg=typeof $h==`string`?null:Dt`
|
|
186
|
+
animation: ${$h} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
187
|
+
`,tg=Ot`
|
|
188
|
+
0% {
|
|
189
|
+
left: -200%;
|
|
190
|
+
right: 100%;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
60% {
|
|
194
|
+
left: 107%;
|
|
195
|
+
right: -8%;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
100% {
|
|
199
|
+
left: 107%;
|
|
200
|
+
right: -8%;
|
|
201
|
+
}
|
|
202
|
+
`,ng=typeof tg==`string`?null:Dt`
|
|
203
|
+
animation: ${tg} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
204
|
+
`,rg=Ot`
|
|
205
|
+
0% {
|
|
206
|
+
opacity: 1;
|
|
207
|
+
background-position: 0 -23px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
60% {
|
|
211
|
+
opacity: 0;
|
|
212
|
+
background-position: 0 -23px;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
100% {
|
|
216
|
+
opacity: 1;
|
|
217
|
+
background-position: -200px -23px;
|
|
218
|
+
}
|
|
219
|
+
`,ig=typeof rg==`string`?null:Dt`
|
|
220
|
+
animation: ${rg} 3s infinite linear;
|
|
221
|
+
`,ag=e=>{let{classes:t,variant:n,color:r}=e;return ya({root:[`root`,`color${X(r)}`,n],dashed:[`dashed`],bar1:[`bar`,`bar1`],bar2:[`bar`,`bar2`,n===`buffer`&&`color${X(r)}`]},Xh,t)},og=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode===`light`?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.5),sg=J(`span`,{name:`MuiLinearProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`color${X(n.color)}`],t[n.variant]]}})(Y(({theme:e})=>({position:`relative`,overflow:`hidden`,display:`block`,height:4,zIndex:0,"@media print":{colorAdjust:`exact`},variants:[...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t},style:{backgroundColor:og(e,t)}})),{props:({ownerState:e})=>e.color===`inherit`&&e.variant!==`buffer`,style:{"&::before":{content:`""`,position:`absolute`,left:0,top:0,right:0,bottom:0,backgroundColor:`currentColor`,opacity:.3}}},{props:{variant:`buffer`},style:{backgroundColor:`transparent`}},{props:{variant:`query`},style:{transform:`rotate(180deg)`}}]}))),cg=J(`span`,{name:`MuiLinearProgress`,slot:`Dashed`})(Y(({theme:e})=>({position:`absolute`,marginTop:0,height:`100%`,width:`100%`,backgroundSize:`10px 10px`,backgroundPosition:`0 -23px`,variants:[{props:{color:`inherit`},style:{opacity:.3,backgroundImage:`radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)`}},...Object.entries(e.palette).filter(cu()).map(([t])=>{let n=og(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}})]})),ig||{animation:`${rg} 3s infinite linear`},Y(({theme:e})=>tc(e,{animation:`none`})||Qh)),lg=J(`span`,{name:`MuiLinearProgress`,slot:`Bar1`,overridesResolver:(e,t)=>[t.bar,t.bar1]})(Y(({theme:e})=>{let t=tc(e,{animation:`none`,left:`30%`,right:`auto`,width:`40%`});return{width:`100%`,position:`absolute`,left:0,bottom:0,top:0,...nc(e,`transform`,{duration:`0.2s`,easing:`linear`}),transformOrigin:`left`,variants:[{props:{color:`inherit`},style:{backgroundColor:`currentColor`}},...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:`determinate`},style:{...nc(e,`transform`,{duration:`.${Zh}s`,easing:`linear`})}},{props:{variant:`buffer`},style:{zIndex:1,...nc(e,`transform`,{duration:`.${Zh}s`,easing:`linear`})}},{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:{width:`auto`}},{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:eg||{animation:`${$h} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}},...t?[{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:t}]:[]]}})),ug=J(`span`,{name:`MuiLinearProgress`,slot:`Bar2`,overridesResolver:(e,t)=>[t.bar,t.bar2]})(Y(({theme:e})=>{let t=tc(e,{animation:`none`,display:`none`});return{width:`100%`,position:`absolute`,left:0,bottom:0,top:0,...nc(e,`transform`,{duration:`0.2s`,easing:`linear`}),transformOrigin:`left`,variants:[...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:e})=>e.variant!==`buffer`&&e.color!==`inherit`,style:{backgroundColor:`var(--LinearProgressBar2-barColor, currentColor)`}},{props:({ownerState:e})=>e.variant!==`buffer`&&e.color===`inherit`,style:{backgroundColor:`currentColor`}},{props:{color:`inherit`},style:{opacity:.3}},...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t,variant:`buffer`},style:{backgroundColor:og(e,t),...nc(e,`transform`,{duration:`.${Zh}s`,easing:`linear`})}})),{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:{width:`auto`}},{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:ng||{animation:`${tg} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}},...t?[{props:({ownerState:e})=>e.variant===`indeterminate`||e.variant===`query`,style:t}]:[]]}})),dg=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiLinearProgress`}),{className:r,color:i=`primary`,max:a,min:o,value:s,valueBuffer:c,variant:l=`indeterminate`,...u}=n,d={...n,color:i,variant:l},f=o??0,p=a??100,m=ag(d),h=Li(),g={},_={bar1:{},bar2:{}};if((l===`determinate`||l===`buffer`)&&s!==void 0){let e=p-f,t=(s-f)/e*100-100;h&&(t=-t),_.bar1.transform=e>0?`translateX(${t}%)`:`translateX(-100%)`,g[`aria-valuenow`]=s,g[`aria-valuemin`]=f,g[`aria-valuemax`]=p}if(l===`buffer`&&c!==void 0){let e=p-f,t=(c-f)/e*100-100;h&&(t=-t),_.bar2.transform=e>0?`translateX(${t}%)`:`translateX(-100%)`}return(0,H.jsxs)(sg,{className:U(m.root,r),ownerState:d,role:`progressbar`,...g,ref:t,...u,children:[l===`buffer`?(0,H.jsx)(cg,{className:m.dashed,ownerState:d}):null,(0,H.jsx)(lg,{className:m.bar1,ownerState:d,style:_.bar1}),l===`determinate`?null:(0,H.jsx)(ug,{className:m.bar2,ownerState:d,style:_.bar2})]})}),fg=V.createContext({});function pg(e){return W(`MuiList`,e)}G(`MuiList`,[`root`,`padding`,`dense`,`subheader`]);var mg=e=>{let{classes:t,disablePadding:n,dense:r,subheader:i}=e;return ya({root:[`root`,!n&&`padding`,r&&`dense`,i&&`subheader`]},pg,t)},hg=J(`ul`,{name:`MuiList`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:`none`,margin:0,padding:0,position:`relative`,variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0,isolation:`isolate`}}]}),gg=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiList`}),{children:r,className:i,component:a=`ul`,dense:o=!1,disablePadding:s=!1,subheader:c,...l}=n,u=V.useMemo(()=>({dense:o}),[o]),d={...n,component:a,dense:o,disablePadding:s},f=mg(d);return(0,H.jsx)(fg.Provider,{value:u,children:(0,H.jsxs)(hg,{as:a,className:U(f.root,i),ref:t,ownerState:d,...l,children:[c,r]})})});function _g(e){return W(`MuiListItemIcon`,e)}var vg=G(`MuiListItemIcon`,[`root`,`alignItemsFlexStart`]),yg=e=>{let{alignItems:t,classes:n}=e;return ya({root:[`root`,t===`flex-start`&&`alignItemsFlexStart`]},_g,n)},bg=J(`div`,{name:`MuiListItemIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.alignItems===`flex-start`&&t.alignItemsFlexStart]}})(Y(({theme:e})=>({minWidth:e.spacing(4.5),color:(e.vars||e).palette.action.active,flexShrink:0,display:`inline-flex`,variants:[{props:{alignItems:`flex-start`},style:{marginTop:8}}]}))),xg=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiListItemIcon`}),{className:r,...i}=n,a=V.useContext(fg),o={...n,alignItems:a.alignItems},s=yg(o);return(0,H.jsx)(bg,{className:U(s.root,r),ownerState:o,ref:t,...i})});function Sg(e){return W(`MuiListItemText`,e)}var Cg=G(`MuiListItemText`,[`root`,`multiline`,`dense`,`inset`,`primary`,`secondary`]),wg=e=>{let{classes:t,inset:n,primary:r,secondary:i,dense:a}=e;return ya({root:[`root`,n&&`inset`,a&&`dense`,r&&i&&`multiline`],primary:[`primary`],secondary:[`secondary`]},Sg,t)},Tg=J(`div`,{name:`MuiListItemText`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${Cg.primary}`]:t.primary},{[`& .${Cg.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:`1 1 auto`,minWidth:0,marginTop:4,marginBottom:4,[`.${Ou.root}:where(& .${Cg.primary})`]:{display:`block`},[`.${Ou.root}:where(& .${Cg.secondary})`]:{display:`block`},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),Eg=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiListItemText`}),{children:r,className:i,disableTypography:a=!1,inset:o=!1,primary:s,secondary:c,slots:l={},slotProps:u={},...d}=n,{dense:f}=V.useContext(fg),p=s??r,m=c,h={...n,disableTypography:a,inset:o,primary:!!p,secondary:!!m,dense:f},g=wg(h),_={slots:l,slotProps:u},[v,y]=Cl(`root`,{className:U(g.root,i),elementType:Tg,externalForwardedProps:{..._,...d},ownerState:h,ref:t}),[b,x]=Cl(`primary`,{className:g.primary,elementType:Mu,externalForwardedProps:_,ownerState:h}),[S,C]=Cl(`secondary`,{className:g.secondary,elementType:Mu,externalForwardedProps:_,ownerState:h});return p!=null&&p.type!==Mu&&!a&&(p=(0,H.jsx)(b,{variant:f?`body2`:`body1`,component:x?.variant?void 0:`span`,...x,children:p})),m!=null&&m.type!==Mu&&!a&&(m=(0,H.jsx)(S,{variant:`body2`,color:`textSecondary`,...C,children:m})),(0,H.jsxs)(v,{...y,children:[p,m]})}),Dg=V.createContext(void 0);function Og(){let e=V.useContext(Dg);if(e===void 0)throw Error(`MUI: RovingTabIndexContext is missing. Roving tab index items must be placed within a roving tab index provider.`);return e}var kg=Object.is;function Ag(e,t){if(e===t)return!0;if(!(e instanceof Object)||!(t instanceof Object))return!1;let n=0,r=0;for(let r in e)if(n+=1,!kg(e[r],t[r])||!(r in t))return!1;for(let e in t)r+=1;return n===r}var jg=[`ArrowRight`,`ArrowLeft`,`ArrowUp`,`ArrowDown`,`Home`,`End`];function Mg(e){let{activeItemId:t,getDefaultActiveItemId:n,orientation:r,isRtl:i=!1,isItemFocusable:a=Kg,wrap:o=!0}=e,[s,c]=V.useState(t),[l,u]=V.useState(t),d=s;t!==l&&(u(t),t!==void 0&&t!==s&&(d=t,c(t)));let f=V.useRef(null),p=V.useRef(new Map),[m,h]=V.useState(0),g=V.useMemo(()=>Ug(p.current),[m]),_=Pg(d,g,a,n),v=V.useRef(_);v.current=_;let y=V.useCallback(()=>{let e=Ug(p.current);return Bg(e,Pg(v.current,e,a,n))},[n,a]),b=V.useCallback(()=>p.current,[]),x=vs(e=>{Ag(p.current.get(e.id)??null,e)||(p.current.set(e.id,e),h(e=>e+1))}),S=vs(e=>{p.current.delete(e)&&h(e=>e+1)}),C=vs(e=>{c(e)}),w=V.useCallback(e=>v.current===e,[]),T=V.useCallback((e,t,n,r)=>{let i=Rg(Wg(p.current),e,t,n,r??a);return i?(i.element?.focus(),c(i.id),i):null},[a]),E=V.useCallback((e,t,n)=>({onFocus:e=>{t?.(e);let n=Wg(p.current),r=Hg(n,e.target);r!==-1&&c(n[r].id)},onKeyDown:e=>{if(n?.(e),e.defaultPrevented||e.altKey||e.shiftKey||e.ctrlKey||e.metaKey||!jg.includes(e.key))return;let t=r===`horizontal`?`ArrowLeft`:`ArrowUp`,a=r===`horizontal`?`ArrowRight`:`ArrowDown`;r===`horizontal`&&i&&(t=`ArrowRight`,a=`ArrowLeft`);let s=Wg(p.current),c=zs(ys(f.current)),l=c===f.current,u=Lg(s,c,v.current),d=`next`;switch(e.key){case t:d=`previous`,e.preventDefault(),l&&(u=s.length);break;case a:e.preventDefault(),l&&(u=-1);break;case`Home`:e.preventDefault(),u=-1;break;case`End`:e.preventDefault(),d=`previous`,u=s.length;break;default:return}T(u,d,o)},ref:Yg(e,e=>{f.current=e})}),[T,i,r,o]),D=V.useCallback(e=>{let t=Wg(p.current),n=zs(ys(f.current)),r=n===f.current?-1:Lg(t,n,v.current);return T(r,`next`,!0,e)?.id??null},[T]);return V.useMemo(()=>({activeItemId:_,focusNext:D,getActiveItem:y,getContainerProps:E,getItemMap:b,isItemActive:w,registerItem:x,setActiveItemId:C,unregisterItem:S}),[_,D,y,E,b,w,x,C,S])}function Ng(e){let{activeItemId:t,registerItem:n,unregisterItem:r}=Og(),i=V.useRef(null),a=V.useMemo(()=>({disabled:e.disabled??!1,element:null,focusableWhenDisabled:e.focusableWhenDisabled??!1,id:e.id,selected:e.selected??!1,textValue:e.textValue}),[e.disabled,e.focusableWhenDisabled,e.id,e.selected,e.textValue]),o=V.useRef(a);o.current=a;let s=V.useCallback(t=>{i.current=t,t==null?queueMicrotask(()=>{i.current??r(e.id)}):n({...o.current,element:t})},[e.id,n,r]),c=_s(e.ref,s);return ci(()=>{i.current&&n({...a,element:i.current})},[a,n]),ci(()=>{let t=e.id;return()=>{r(t)}},[e.id,r]),{ref:c,tabIndex:t===e.id?0:-1}}function Pg(e,t,n,r){return e==null?Ig(t,n,r):Fg(e,t,n)}function Fg(e,t,n){let r=Vg(t,e);return r===-1?zg(t,n):n(t[r])?t[r].id:Rg(t,r,`next`,!1,n)?.id??null}function Ig(e,t,n){let r=n?.(e);if(r!=null){let n=Bg(e,r);if(n&&t(n))return n.id}return zg(e,t)}function Lg(e,t,n){if(t){let n=Hg(e,t);if(n!==-1)return n}return Vg(e,n)}function Rg(e,t,n,r,i){let a=e.length-1;if(a===-1)return null;let o=!1,s=Gg(t,a,n,r),c=s;for(;s!==-1;){if(s===c){if(o)return null;o=!0}let t=e[s];if(!t||!i(t))s=Gg(s,a,n,r);else return t}return null}function zg(e,t){return e.find(e=>t(e))?.id??null}function Bg(e,t){return t==null?null:e.find(e=>e.id===t)??null}function Vg(e,t){return t==null?-1:e.findIndex(e=>e.id===t)}function Hg(e,t){return t?e.findIndex(e=>e.element===t||e.element?.contains(t)):-1}function Ug(e){let t=Array.from(e.values());if(t.every(e=>e.element==null))return t;let n=t.filter(qg).sort((e,t)=>Jg(e.element,t.element)),r=t.filter(e=>!qg(e));return[...n,...r]}function Wg(e){return Ug(e).filter(qg)}function Gg(e,t,n,r=!0){return n===`next`?e===t?r?0:-1:e+1:e===0?r?t:-1:e-1}function Kg(e){return e.element?e.focusableWhenDisabled?!0:!e.disabled&&!e.element.hasAttribute(`disabled`)&&e.element.getAttribute(`aria-disabled`)!==`true`&&e.element.hasAttribute(`tabindex`):!1}function qg(e){return e.element!=null&&e.element.isConnected}function Jg(e,t){if(e===t)return 0;let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}function Yg(...e){return t=>{e.forEach(e=>{Gc(e??null,t)})}}var Xg=sm;function Zg(e,t){if(t==null)e.focus();else try{e.focus({focusVisible:t===`keyboard`})}catch{e.focus()}}function Qg(e){return e?e.type===`mousedown`||e.type===`pointerdown`||e.type===`touchstart`?`pointer`:e.type===`keydown`||e.type===`click`&&e.detail===0?`keyboard`:null:null}function $g(e){return e==null||typeof e==`string`&&!e.trim()}function e_(e,t){return typeof t==`object`&&t?e===t:String(e)===String(t)}var t_=V.createContext(null);function n_(){return V.useContext(t_)}var r_=t_.Provider,i_=V.createContext(void 0);function a_(){let e=V.useContext(i_);if(e===void 0)throw Error(`MUI: MenuListContext is missing. MenuItems must be placed within Menu or MenuList.`);return e}function o_(e){let t=e?.element??e;if(!t)return``;if(e?.textValue!==void 0)return e.textValue;let n=t.innerText;return n===void 0&&(n=t.textContent),n??``}function s_(e,t){if(t===void 0)return!0;let n=o_(e);return n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(``))}function c_(e,t){return s_(e,t)?Kg(e):!1}function l_(e,t){Zg(e,t)}var u_=V.forwardRef(function(e,t){let{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:a,className:o,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:u=`selectedMenu`,...d}=e,f=V.useRef(null),p=V.useRef(!1),[m,h]=V.useState(!1),g=n_(),_=V.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null}),v=Mg({activeItemId:void 0,getDefaultActiveItemId:V.useCallback(e=>u===`selectedMenu`?e.find(e=>e.selected&&Kg(e))?.id??e.find(e=>Kg(e))?.id??null:e.find(e=>Kg(e))?.id??null,[u]),orientation:`vertical`,wrap:!c}),{activeItemId:y,focusNext:b,getActiveItem:x,getContainerProps:S,getItemMap:C}=v,w=Yc((e=!1)=>{if(!f.current||!e&&p.current)return null;if(i){let e=x();if(e?.element){let t=Array.from(C().values()).some(e=>e.selected),n=u===`menu`&&t&&!e.selected&&g==null;return h(n),l_(e.element,g),p.current=!0,e.element}return r?(h(!1),f.current.focus(),f.current):null}return r?(h(!1),f.current.focus(),p.current=!0,f.current):(h(!1),null)});Ls(()=>{!r&&!i?(p.current=!1,h(!1)):w()},[y,i,r,w]),V.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){let n=Wc(e),r=Xg(n);if(r>0){let e=`${r}px`,i=t===`rtl`?`paddingLeft`:`paddingRight`,a=parseFloat(n.getComputedStyle(f.current)[i])||0;f.current.style[i]=`${a+r}px`,f.current.style.width=`calc(100% + ${e})`}}return f.current},focusInitialTarget:()=>{if(!f.current)return null;let e=Bs(Rs(f.current));return e&&gm(f.current,e)?e:w(!0)}}),[w]);let T=S(void 0,d.onFocus),E=Is(f,T.ref,t),D=V.useMemo(()=>({itemsFocusableWhenDisabled:s,suppressInitialFocusVisible:m,variant:u}),[s,m,u]),O=Yc(e=>{if(m&&h(!1),(e.ctrlKey||e.metaKey||e.altKey)&&l)l(e);else{if(T.onKeyDown(e),e.key.length===1){let t=_.current,n=e.key.toLowerCase(),r=performance.now();t.keys.length>0&&(r-t.lastTime>500?(t.keys=[],t.repeating=!0,t.previousKeyMatched=!0):t.repeating&&n!==t.keys[0]&&(t.repeating=!1)),t.lastTime=r,t.keys.push(n);let i=Bs(Rs(f.current)),a=i&&!t.repeating&&s_(i,t);t.previousKeyMatched&&(a||b(e=>c_(e,t))!=null)?e.preventDefault():t.previousKeyMatched=!1}l&&l(e)}});return(0,H.jsx)(gg,{role:`menu`,ref:E,className:o,onKeyDown:O,tabIndex:-1,...d,onFocus:T.onFocus,children:(0,H.jsx)(i_.Provider,{value:D,children:(0,H.jsx)(Dg.Provider,{value:v,children:a})})})});function d_(e){return W(`MuiPopover`,e)}G(`MuiPopover`,[`root`,`paper`]);function f_(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.height/2:t===`bottom`&&(n=e.height),n}function p_(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.width/2:t===`right`&&(n=e.width),n}function m_(e){return[e.horizontal,e.vertical].map(e=>typeof e==`number`?`${e}px`:e).join(` `)}function h_(e){return typeof e==`function`?e():e}var g_=e=>{let{classes:t}=e;return ya({root:[`root`],paper:[`paper`]},d_,t)},__=J(Fm,{name:`MuiPopover`,slot:`Root`})({}),v_=J(Dl,{name:`MuiPopover`,slot:`Paper`})({position:`absolute`,overflowY:`auto`,overflowX:`hidden`,minWidth:16,minHeight:16,maxWidth:`calc(100% - 32px)`,maxHeight:`calc(100% - 32px)`,outline:0}),y_=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiPopover`}),{action:r,anchorEl:i,anchorOrigin:a={vertical:`top`,horizontal:`left`},anchorPosition:o,anchorReference:s=`anchorEl`,children:c,className:l,container:u,disableAutoFocus:d=!1,elevation:f=8,marginThreshold:p=16,open:m,slots:h={},slotProps:g={},transformOrigin:_={vertical:`top`,horizontal:`left`},transitionDuration:v=`auto`,disableScrollLock:y=!1,...b}=n,x=V.useRef(),S={...n,anchorOrigin:a,anchorReference:s,elevation:f,marginThreshold:p,transformOrigin:_,transitionDuration:v},C=g_(S),w=V.useCallback(()=>{if(s===`anchorPosition`)return o;let e=h_(i),t=(e&&e.nodeType===1?e:Rs(x.current).body).getBoundingClientRect();return{top:t.top+f_(t,a.vertical),left:t.left+p_(t,a.horizontal)}},[i,a.horizontal,a.vertical,o,s]),T=V.useCallback(e=>({vertical:f_(e,_.vertical),horizontal:p_(e,_.horizontal)}),[_.horizontal,_.vertical]),E=V.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},n=T(t);if(s===`none`)return{top:null,left:null,transformOrigin:m_(n)};let r=w(),a=r.top-n.vertical,o=r.left-n.horizontal,c=a+t.height,l=o+t.width,u=Wc(h_(i)),d=u.innerHeight-p,f=u.innerWidth-p;if(p!=null&&a<p){let e=a-p;a-=e,n.vertical+=e}else if(p!=null&&c>d){let e=c-d;a-=e,n.vertical+=e}if(p!=null&&o<p){let e=o-p;o-=e,n.horizontal+=e}else if(l>f){let e=l-f;o-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(o)}px`,transformOrigin:m_(n)}},[i,s,w,T,p]),[D,O]=V.useState(m),k=V.useCallback(()=>{let e=x.current;if(!e)return;let t=E(e);t.top!=null&&e.style.setProperty(`top`,t.top),t.left!=null&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,O(!0)},[E]);V.useEffect(()=>(y&&window.addEventListener(`scroll`,k),()=>window.removeEventListener(`scroll`,k)),[i,y,k]);let ee=()=>{k()},A=()=>{O(!1)};V.useEffect(()=>{m&&k()}),V.useImperativeHandle(r,()=>m?{updatePosition:()=>{k()}}:null,[m,k]),V.useEffect(()=>{if(!m)return;let e=Hc(()=>{k()}),t=Wc(h_(i));return t.addEventListener(`resize`,e),()=>{e.clear(),t.removeEventListener(`resize`,e)}},[i,m,k]);let j=v,M={slots:h,slotProps:g},[N,P]=Cl(`transition`,{elementType:zh,externalForwardedProps:M,ownerState:S,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),ee()},onExited:t=>{e.onExited?.(t),A()}}),additionalProps:{appear:!0,in:m}});v===`auto`&&!N.muiSupportAuto&&(j=void 0);let F=u||(i?Rs(h_(i)).body:void 0),[I,{slots:L,slotProps:te,...ne}]=Cl(`root`,{ref:t,elementType:__,externalForwardedProps:{...M,...b},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:h.backdrop},slotProps:{backdrop:Zc(typeof g.backdrop==`function`?g.backdrop(S):g.backdrop,{invisible:!0})},container:F,open:m},ownerState:S,className:U(C.root,l)}),[re,R]=Cl(`paper`,{ref:x,className:C.paper,elementType:v_,externalForwardedProps:M,shouldForwardComponentProp:!0,additionalProps:{elevation:f,style:D?void 0:{opacity:0}},ownerState:S});return(0,H.jsx)(I,{...ne,...!hs(I)&&{slots:L,slotProps:te,disableAutoFocus:d,disableScrollLock:y},children:(0,H.jsx)(N,{...P,timeout:j,children:(0,H.jsx)(re,{...R,children:c})})})});function b_(e){return W(`MuiMenu`,e)}G(`MuiMenu`,[`root`,`paper`,`list`]);var x_={vertical:`top`,horizontal:`right`},S_={vertical:`top`,horizontal:`left`},C_=e=>{let{classes:t}=e;return ya({root:[`root`],paper:[`paper`],list:[`list`]},b_,t)},w_=J(y_,{shouldForwardProp:e=>Ns(e)||e===`classes`,name:`MuiMenu`,slot:`Root`})({}),T_=J(v_,{name:`MuiMenu`,slot:`Paper`})({maxHeight:`calc(100% - 96px)`,WebkitOverflowScrolling:`touch`}),E_=J(u_,{name:`MuiMenu`,slot:`List`})({outline:0}),D_=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiMenu`}),{autoFocus:r=!0,children:i,className:a,disableAutoFocusItem:o=!1,onClose:s,open:c,PopoverClasses:l,transitionDuration:u=`auto`,variant:d=`selectedMenu`,slots:f={},slotProps:p={},...m}=n,h=Li(),g={...n,autoFocus:r,disableAutoFocusItem:o,transitionDuration:u,variant:d},_=C_(g),v=r&&c,y=v&&!o,b=V.useRef(null),x=(e,t)=>{b.current&&(b.current.adjustStyleForScrollbar(e,{direction:h?`rtl`:`ltr`}),v&&b.current.focusInitialTarget?.())},S=e=>{e.key===`Tab`&&(e.preventDefault(),s&&s(e,`tabKeyDown`))},C={slots:f,slotProps:p},w=Pf({elementType:f.root,externalSlotProps:p.root,ownerState:g,className:[_.root,a]}),[T,E]=Cl(`paper`,{className:_.paper,elementType:T_,externalForwardedProps:C,shouldForwardComponentProp:!0,ownerState:g}),[D,O]=Cl(`list`,{className:_.list,elementType:E_,shouldForwardComponentProp:!0,externalForwardedProps:C,getSlotProps:e=>({...e,onKeyDown:t=>{S(t),e.onKeyDown?.(t)}}),ownerState:g}),k=typeof p.transition==`function`?p.transition(g):p.transition;return(0,H.jsx)(w_,{disableAutoFocus:r,onClose:s,anchorOrigin:{vertical:`bottom`,horizontal:h?`right`:`left`},transformOrigin:h?x_:S_,slots:{root:f.root,paper:T,backdrop:f.backdrop,transition:f.transition},slotProps:{root:w,paper:E,backdrop:typeof p.backdrop==`function`?p.backdrop(g):p.backdrop,transition:{...k,onEntering:(...e)=>{x(...e),k?.onEntering?.(...e)}}},open:c,ref:t,transitionDuration:u,ownerState:g,...m,classes:l,children:(0,H.jsx)(D,{actions:b,autoFocus:v,autoFocusItem:y,variant:d,...O,children:i})})}),O_=(e,t)=>{let{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},k_=e=>{let{disabled:t,dense:n,divider:r,disableGutters:i,selected:a,classes:o}=e,s=ya({root:[`root`,n&&`dense`,t&&`disabled`,!i&&`gutters`,r&&`divider`,a&&`selected`]},Cc,o);return{...o,...s}},A_=J(iu,{shouldForwardProp:e=>Ns(e)||e===`classes`,name:`MuiMenuItem`,slot:`Root`,overridesResolver:O_})(Y(({theme:e})=>({...e.typography.body1,display:`flex`,justifyContent:`flex-start`,alignItems:`center`,position:`relative`,textDecoration:`none`,minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:`border-box`,whiteSpace:`nowrap`,"&:hover":{textDecoration:`none`,backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:`transparent`}},[`&.${wc.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),...!e.focusVisible&&{[`&.${wc.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},[`&.${wc.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},...e.focusVisible?_o(1):{[`&.${wc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus}},[`&.${wc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${sh.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${sh.inset}`]:{marginLeft:52},[`& .${Cg.root}`]:{marginTop:0,marginBottom:0},[`& .${Cg.inset}`]:{paddingLeft:36},[`& .${vg.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:`padding-box`}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up(`sm`)]:{minHeight:`auto`}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${vg.root} svg`]:{fontSize:`1.25rem`}}}]}))),j_=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiMenuItem`}),{autoFocus:r=!1,component:i=`li`,dense:a=!1,divider:o=!1,disableGutters:s=!1,focusVisibleClassName:c,role:l=`menuitem`,tabIndex:u,className:d,...f}=n,p=l===`menuitemcheckbox`||l===`menuitemradio`?!!n.selected:void 0,m=n_(),h=V.useContext(fg),g=V.useMemo(()=>({dense:a||h.dense||!1,disableGutters:s}),[h.dense,a,s]),_=a_(),v=Kc(),y=_.suppressInitialFocusVisible,b=_.itemsFocusableWhenDisabled,x=V.useRef(null);Ls(()=>{r&&x.current&&Zg(x.current,m)},[r]);let S={...n,dense:g.dense,divider:o,disableGutters:s},C=k_(n),{root:w,...T}=C,E=Ng({id:v,ref:t,disabled:n.disabled,focusableWhenDisabled:b,selected:n.selected}),D=Is(x,E.ref),O;return u===void 0?_.variant===`selectedMenu`?O=E.tabIndex:(!n.disabled||b)&&(O=-1):O=u,(0,H.jsx)(fg.Provider,{value:g,children:(0,H.jsx)(A_,{ref:D,role:l,"aria-checked":p,tabIndex:O,component:i,internalNativeButton:!1,focusableWhenDisabled:b,suppressFocusVisible:y,focusVisibleClassName:U(C.focusVisible,c),className:U(C.root,d),...f,ownerState:S,classes:T})})}),M_=e=>{let{classes:t,variant:n,disabled:r,multiple:i,open:a,error:o}=e;return ya({select:[`select`,n,r&&`disabled`,i&&`multiple`,o&&`error`],icon:[`icon`,`icon${X(n)}`,a&&`iconOpen`,r&&`disabled`]},Tc,t)},N_=J(`select`,{name:`MuiNativeSelect`})(({theme:e})=>({MozAppearance:`none`,WebkitAppearance:`none`,userSelect:`none`,borderRadius:0,cursor:`pointer`,"&:focus":{borderRadius:0},[`&.${Ec.disabled}`]:{cursor:`default`},"&[multiple]":{height:`auto`},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},[`& ~ .${Kh.root}`]:{position:`absolute`,top:`50%`,transform:`translateY(-50%)`,right:`calc(var(--_caret, 24px) + (var(--_endAdornment, 28px) - 1.5rem)/2)`},[`.${Gs.root}:has(> &)`]:{"--_endAdornment":`0px`},variants:[{props:({ownerState:e})=>e.variant!==`filled`&&e.variant!==`outlined`,style:{[`.${Gs.root}:has(> &)`]:{"--_caret":`24px`},[`.${Gs.root}:has(> & ~ .${Kh.root})`]:{"--_endAdornment":`28px`},"&&&":{paddingRight:`calc(var(--_caret, 24px) + var(--_endAdornment, 0px))`,minWidth:16}}},{props:{variant:`filled`},style:{[`.${Gs.root}:has(> &)`]:{"--_caret":`32px`},[`.${Gs.root}:has(> & ~ .${Kh.root})`]:{"--_endAdornment":`28px`},"&&&":{paddingRight:`calc(var(--_caret, 32px) + var(--_endAdornment, 0px))`}}},{props:{variant:`outlined`},style:{[`.${Gs.root}:has(> &)`]:{"--_caret":`32px`},[`.${Gs.root}:has(> & ~ .${Kh.root})`]:{"--_endAdornment":`28px`},borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:`calc(var(--_caret, 32px) + var(--_endAdornment, 0px))`}}}]})),P_=J(N_,{name:`MuiNativeSelect`,slot:`Select`,shouldForwardProp:Ns,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Ec.multiple}`]:t.multiple}]}})({}),F_=J(`svg`,{name:`MuiNativeSelect`})(({theme:e})=>({position:`absolute`,right:0,top:`calc(50% - .5em)`,pointerEvents:`none`,color:(e.vars||e).palette.action.active,[`&.${Ec.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:`rotate(180deg)`}},{props:{variant:`filled`},style:{right:7}},{props:{variant:`outlined`},style:{right:7}}]})),I_=J(F_,{name:`MuiNativeSelect`,slot:`Icon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${X(n.variant)}`],n.open&&t.iconOpen]}})({}),L_=V.forwardRef(function(e,t){let{className:n,disabled:r,error:i,IconComponent:a,inputRef:o,variant:s=`standard`,...c}=e,l={...e,disabled:r,variant:s,error:i},u=M_(l);return(0,H.jsxs)(V.Fragment,{children:[(0,H.jsx)(P_,{ownerState:l,className:U(u.select,n),disabled:r,ref:o||t,...c}),e.multiple?null:(0,H.jsx)(I_,{as:a,ownerState:l,className:u.icon})]})}),R_,z_=J(`fieldset`,{name:`MuiNotchedOutlined`,shouldForwardProp:Ns})({textAlign:`left`,position:`absolute`,bottom:0,right:0,top:-5,left:0,margin:0,padding:`0 8px`,pointerEvents:`none`,borderRadius:`inherit`,borderStyle:`solid`,borderWidth:1,overflow:`hidden`,minWidth:`0%`}),B_=J(`legend`,{name:`MuiNotchedOutlined`,shouldForwardProp:Ns})(Y(({theme:e})=>({float:`unset`,width:`auto`,overflow:`hidden`,variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:`11px`,...nc(e,`width`,{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:`block`,padding:0,height:11,fontSize:`0.75em`,visibility:`hidden`,maxWidth:.01,...nc(e,`max-width`,{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:`nowrap`,"& > span":{paddingLeft:5,paddingRight:5,display:`inline-block`,opacity:0,visibility:`visible`}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:`100%`,...nc(e,`max-width`,{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function V_(e){let{children:t,classes:n,className:r,label:i,notched:a,...o}=e,s=i!=null&&i!==``,c={...e,notched:a,withLabel:s};return(0,H.jsx)(z_,{"aria-hidden":!0,className:r,ownerState:c,...o,children:(0,H.jsx)(B_,{ownerState:c,children:s?(0,H.jsx)(`span`,{children:i}):R_||=(0,H.jsx)(`span`,{className:`notranslate`,"aria-hidden":!0,children:``})})})}var H_=e=>{let{classes:t}=e,n=ya({root:[`root`],notchedOutline:[`notchedOutline`],input:[`input`]},Dc,t);return{...t,...n}},U_=J(lc,{shouldForwardProp:e=>Ns(e)||e===`classes`,name:`MuiOutlinedInput`,slot:`Root`,overridesResolver:oc})(Y(({theme:e})=>{let t=e.palette.mode===`light`?`rgba(0, 0, 0, 0.23)`:`rgba(255, 255, 255, 0.23)`;return{position:`relative`,borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Oc.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Oc.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${Oc.focused} .${Oc.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t},style:{[`&.${Oc.focused} .${Oc.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Oc.error} .${Oc.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Oc.disabled} .${Oc.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{"--_trailingPad":`14px`,paddingRight:`var(--_trailingPad)`,[`&.${mh.root}`]:{"--_trailingPad":`0px`}}},{props:({ownerState:e})=>e.multiline,style:{padding:`16.5px 14px`}},{props:({ownerState:e,size:t})=>e.multiline&&t===`small`,style:{padding:`8.5px 14px`}}]}})),W_=J(V_,{name:`MuiOutlinedInput`,slot:`NotchedOutline`})(Y(({theme:e})=>{let t=e.palette.mode===`light`?`rgba(0, 0, 0, 0.23)`:`rgba(255, 255, 255, 0.23)`;return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),G_=J(uc,{name:`MuiOutlinedInput`,slot:`Input`,overridesResolver:sc})(Y(({theme:e})=>({padding:`16.5px 14px`,"&:-webkit-autofill":{...!e.vars&&{WebkitBoxShadow:e.palette.mode===`light`?null:`0 0 0 100px #266798 inset`,WebkitTextFillColor:e.palette.mode===`light`?null:`#fff`,caretColor:e.palette.mode===`light`?null:`#fff`},borderRadius:`inherit`,...e.vars&&e.applyStyles(`dark`,{WebkitBoxShadow:`0 0 0 100px #266798 inset`,WebkitTextFillColor:`#fff`,caretColor:`#fff`})},variants:[{props:{size:`small`},style:{padding:`8.5px 14px`}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),K_=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiOutlinedInput`}),{fullWidth:r=!1,inputComponent:i=`input`,label:a,multiline:o=!1,notched:s,slots:c={},slotProps:l={},type:u=`text`,...d}=n,f=H_(n),[p,m]=Os({props:n,states:[`color`,`disabled`,`error`,`focused`,`hiddenLabel`,`size`,`required`]}),h={...n,color:p.color||`primary`,disabled:p.disabled,error:p.error,focused:p.focused,formControl:m,fullWidth:r,hiddenLabel:p.hiddenLabel,multiline:o,size:p.size,type:u},g=c.root??U_,_=c.input??G_,[v,y]=Cl(`notchedOutline`,{elementType:W_,className:f.notchedOutline,shouldForwardComponentProp:!0,ownerState:h,externalForwardedProps:{slots:c,slotProps:l},additionalProps:{label:a!=null&&a!==``&&p.required?(0,H.jsxs)(V.Fragment,{children:[a,` `,`*`]}):a}});return(0,H.jsx)(fc,{slots:{root:g,input:_},slotProps:l,renderSuffix:e=>(0,H.jsx)(v,{...y,notched:s===void 0?!!(e.startAdornment||e.filled||e.focused):s}),fullWidth:r,inputComponent:i,multiline:o,ref:t,type:u,...d,classes:{...f,notchedOutline:null}})});K_.muiName=`Input`;var q_=Z((0,H.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z`}),`RadioButtonUnchecked`),J_=Z((0,H.jsx)(`path`,{d:`M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z`}),`RadioButtonChecked`);J(`span`,{name:`MuiRadioButtonIcon`,shouldForwardProp:Ns})({position:`relative`,display:`flex`}),J(q_,{name:`MuiRadioButtonIcon`})({transform:`scale(1)`}),J(J_,{name:`MuiRadioButtonIcon`})(Y(({theme:e})=>({left:0,position:`absolute`,transform:`scale(0)`,...nc(e,`transform`,{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:`scale(1)`,...nc(e,`transform`,{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]}))),J(Bp,{shouldForwardProp:e=>Ns(e)||e===`classes`,name:`MuiRadio`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.size!==`medium`&&t[`size${X(n.size)}`],t[`color${X(n.color)}`]]}})(Y(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.focusVisible&&{[`&.${tu.focusVisible} svg:first-of-type`]:{...ho,borderRadius:99,...e.focusVisible}},[`&.${kc.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:`default`,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(cu()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${kc.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:`transparent`}}}}]})));function Y_(e){return Object.prototype.hasOwnProperty.call(e.props,`value`)}function X_(e){if(typeof e==`string`||typeof e==`number`)return String(e);let t=``;return V.Children.forEach(e,e=>{typeof e==`string`||typeof e==`number`?t+=String(e):V.isValidElement(e)&&(t+=X_(e.props.children))}),t}function Z_(e,t,n=0){if(e.length===0)return-1;let r=(n%e.length+e.length)%e.length;for(let n=0;n<e.length;n+=1){let i=(r+n)%e.length;if(e[i].label.startsWith(t))return i}return-1}function Q_(e,t){return!e.some(e=>e.label[0]===t&&e.label[1]===t)}function $_(e,t){let n=[],r=-1;for(let i=0;i<e.length;i+=1){let a=e[i];if(!V.isValidElement(a)||!Y_(a)||a.props.disabled)continue;let o=X_(a.props.children).trim().toLowerCase();o!==``&&(r===-1&&e_(t,a.props.value)&&(r=n.length),n.push({child:a,label:o,value:a.props.value}))}return{options:n,selectedIndex:r}}var ev,tv=2,nv=400,rv=200,iv=750,av=` `,ov=`ArrowUp`,sv=`ArrowDown`,cv=`Enter`;function lv(e,t){if(!t)return!1;if(e.composedPath().includes(t)||e.target?.nodeType&&t.contains(e.target))return!0;let n=t.getBoundingClientRect();return n.width===0&&n.height===0?!1:e.clientX>=n.left-tv&&e.clientX<=n.right+tv&&e.clientY>=n.top-tv&&e.clientY<=n.bottom+tv}var uv=J(N_,{name:`MuiSelect`,slot:`Select`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`&.${mh.select}`]:t.select},{[`&.${mh.select}`]:t[n.variant]},{[`&.${mh.error}`]:t.error},{[`&.${mh.multiple}`]:t.multiple}]}})({[`&.${mh.select}`]:{height:`auto`,minHeight:`1.4375em`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,overflow:`hidden`}}),dv=J(F_,{name:`MuiSelect`,slot:`Icon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.icon,n.open&&t.iconOpen]}})({}),fv=J(`input`,{shouldForwardProp:e=>Ms(e)&&e!==`classes`,name:`MuiSelect`,slot:`NativeInput`})({bottom:0,left:0,position:`absolute`,opacity:0,pointerEvents:`none`,width:`100%`,boxSizing:`border-box`}),pv=e=>{let{classes:t,variant:n,disabled:r,multiple:i,open:a,error:o}=e;return ya({select:[`select`,n,r&&`disabled`,i&&`multiple`,o&&`error`],icon:[`icon`,a&&`iconOpen`,r&&`disabled`],nativeInput:[`nativeInput`]},ph,t)},mv=V.forwardRef(function(e,t){let{"aria-describedby":n,"aria-label":r,autoFocus:i,autoWidth:a,children:o,className:s,defaultOpen:c,defaultValue:l,disabled:u,displayEmpty:d,error:f=!1,IconComponent:p,inputRef:m,labelId:h,MenuProps:g={},multiple:v,name:y,onBlur:b,onChange:x,onClose:S,onFocus:C,onKeyDown:w,onMouseDown:T,onOpen:E,open:D,readOnly:O,renderValue:k,required:ee,SelectDisplayProps:A={},tabIndex:j,type:M,value:N,variant:P=`standard`,...F}=e,[I,L]=Jc({controlled:N,default:l,name:`Select`}),[te,ne]=Jc({controlled:D,default:c,name:`Select`}),re=V.useRef(null),R=V.useRef(null),z=V.useRef(null),ie=V.useRef(!1),ae=V.useRef(!1),oe=V.useRef(null),se=V.useRef(!1),ce=V.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1}),le=V.useRef({buffer:``,previousSearchIndex:null,matchedIndex:null}),B=Rl(),ue=Rl(),de=Rl(),[fe,pe]=V.useState(null),{current:me}=V.useRef(D!=null),[he,ge]=V.useState(),[_e,ve]=V.useState(null),ye=Is(t,m),be=V.useCallback(e=>{R.current=e,e&&pe(e)},[]),xe=fe?.parentNode;V.useImperativeHandle(ye,()=>({focus:()=>{R.current.focus()},node:re.current,value:I}),[I]);let Se=fe!==null&&te,Ce=V.useCallback(()=>{de.clear(),le.current.buffer=``,le.current.previousSearchIndex=null,le.current.matchedIndex=null},[de]);Ls(()=>{ie.current=Se,Se&&Ce()},[Se,Ce]);let we=V.useCallback(()=>{B.clear(),ue.clear()},[B,ue]),Te=V.useCallback(()=>{we(),se.current=!1,ce.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1}},[we]),Ee=V.useCallback(()=>{oe.current&&=(oe.current(),null)},[]);V.useEffect(()=>{Se||(Te(),Ee())},[Se,Te,Ee]),V.useEffect(()=>()=>{Te(),Ee(),Ce()},[Te,Ee,Ce]),V.useEffect(()=>{if(!Se||!xe||a||typeof ResizeObserver>`u`)return;let e=new ResizeObserver(()=>{ge(xe.clientWidth)});return e.observe(xe),()=>{e.disconnect()}},[Se,xe,a]),V.useEffect(()=>{c&&te&&fe&&!me&&(ge(a?null:xe.clientWidth),R.current.focus())},[fe,a]),V.useEffect(()=>{i&&R.current.focus()},[i]),V.useEffect(()=>{if(!h)return;let e=Rs(R.current).getElementById(h);if(e){let t=()=>{getSelection().isCollapsed&&R.current.focus()};return e.addEventListener(`click`,t),()=>{e.removeEventListener(`click`,t)}}},[h]);let De=Yc((e,t)=>{e||(Te(),Ee()),e?(Ce(),ve(Qg(t)),E&&E(t)):(ve(null),S&&S(t)),me||(ie.current=e,ge(a?null:xe.clientWidth),ne(e))}),Oe=()=>{Te(),ae.current?ue.start(rv,()=>{ce.current.allowUnselectedMouseUp=!0,B.start(rv,()=>{ce.current.allowSelectedMouseUp=!0})}):B.start(nv,()=>{ce.current.allowSelectedMouseUp=!0,ce.current.allowUnselectedMouseUp=!0})},ke=e=>{if(T?.(e),e.button!==0||(e.preventDefault(),!R.current))return;R.current.focus();let t=Rs(e.currentTarget);Oe(),Ee();let n=e=>{oe.current=null,R.current&&(lv(e,R.current)||lv(e,z.current)||(ie.current||!me)&&De(!1,e))};t.addEventListener(`mouseup`,n,{capture:!0,once:!0}),oe.current=()=>{t.removeEventListener(`mouseup`,n,!0)},De(!0,e)},Ae=e=>{De(!1,e)},je=V.Children.toArray(o),Me=e=>{let t=je.find(t=>t.props.value===e.target.value);t!==void 0&&(L(t.props.value),x&&x(e,t))},Ne=(e,t,n)=>{if(L(n),x){let r=e.nativeEvent||e,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:y}}),x(i,t)}},Pe=e=>t=>{se.current=!1;let n;if(t.currentTarget.hasAttribute(`tabindex`)){if(v){n=Array.isArray(I)?I.slice():[];let t=I.indexOf(e.props.value);t===-1?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;e.props.onClick&&e.props.onClick(t),I!==n&&Ne(t,e,n),v||De(!1,t)}},Fe=(e,t)=>n=>{if(e.props.onMouseUp?.(n),se.current){se.current=!1;return}let r=!ce.current.allowSelectedMouseUp&&t,i=!ce.current.allowUnselectedMouseUp&&!t;r||i||n.currentTarget.click()},Ie=e=>{let t=le.current,n=t.buffer!==``;if(Se||v||u||e.defaultPrevented||e.nativeEvent?.isComposing||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey||e.key===av&&!n)return!1;e.key===av&&e.preventDefault();let r=t.buffer===``,{options:i,selectedIndex:a}=$_(je,I);if(i.length===0)return e.key!==av&&Ce(),!0;r&&(t.previousSearchIndex=a);let o=e.key.toLowerCase();t.buffer===o&&Q_(i,o)&&(t.buffer=``,t.previousSearchIndex=t.matchedIndex),t.buffer+=o,de.start(iv,Ce);let s=Z_(i,t.buffer,(t.previousSearchIndex??-1)+1);if(s!==-1){let n=i[s];return t.matchedIndex=s,e_(I,n.value)||Ne(e,n.child,n.value),!0}return e.key!==av&&Ce(),!0},Le=e=>{if(!O){let t=Ie(e),n=e.key===av||e.key===ov||e.key===sv||e.key===cv;!t&&n&&(e.preventDefault(),De(!0,e)),w?.(e)}},Re=e=>{Ce(),!Se&&b&&(Object.defineProperty(e,"target",{writable:!0,value:{value:I,name:y}}),b(e))},ze=e=>t=>{e?.props?.onKeyDown?.(t),t.key===av&&t.target===t.currentTarget&&!t.defaultPrevented&&(t.preventDefault(),t.repeat||t.currentTarget.click())};delete F[`aria-invalid`];let Be,Ve,He=[],Ue=!1,We=!1;(Hs({value:I})||d)&&(k?Be=k(I):Ue=!0);let Ge=je.map(e=>{if(!V.isValidElement(e))return null;let t;if(v){if(!Array.isArray(I))throw Error(_(2));t=I.some(t=>e_(t,e.props.value)),t&&Ue&&He.push(e.props.children)}else t=e_(I,e.props.value),t&&Ue&&(Ve=e.props.children);return t&&(We=!0),V.cloneElement(e,{"aria-selected":t?`true`:`false`,onMouseDown:t=>{se.current=!0,e.props.onMouseDown?.(t)},onPointerDown:t=>{se.current=!0,e.props.onPointerDown?.(t)},onClick:Pe(e),onMouseUp:Fe(e,t),onKeyUp:t=>{t.key===av&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},onKeyDown:ze(e),role:`option`,selected:t,value:void 0,"data-value":e.props.value})});Ls(()=>{ae.current=We,Se||v||We||Ce()},[We,v,Se,Ce]),Ue&&(Be=v?He.length===0?null:He.reduce((e,t,n)=>(e.push(t),n<He.length-1&&e.push(`, `),e),[]):Ve);let Ke=he;!a&&me&&fe&&(Ke=xe.clientWidth);let qe;qe=j===void 0?u?null:0:j;let Je=A.id||(y?`mui-component-select-${y}`:void 0),Ye={...e,variant:P,value:I,open:Se,error:f},Xe=pv(Ye),Ze=typeof g.slotProps?.paper==`function`?g.slotProps.paper(Ye):g.slotProps?.paper,Qe=Is(Ze?.ref,z),$e=typeof g.slotProps?.list==`function`?g.slotProps.list(Ye):g.slotProps?.list,et=Gi(),tt=Gi();return(0,H.jsxs)(V.Fragment,{children:[(0,H.jsx)(uv,{as:`div`,ref:be,tabIndex:qe,role:`combobox`,"aria-controls":Se?et:void 0,"aria-disabled":u?`true`:void 0,"aria-expanded":Se?`true`:`false`,"aria-haspopup":`listbox`,"aria-readonly":O?`true`:void 0,"aria-label":r,"aria-labelledby":h,"aria-describedby":n,"aria-required":ee?`true`:void 0,"aria-invalid":f?`true`:void 0,onKeyDown:Le,onMouseDown:u||O?null:ke,onBlur:Re,onFocus:C,...A,ownerState:Ye,className:U(A.className,Xe.select,s),id:Je,children:$g(Be)?ev||=(0,H.jsx)(`span`,{className:`notranslate`,"aria-hidden":!0,children:``}):Be}),(0,H.jsx)(fv,{"aria-invalid":f,value:Array.isArray(I)?I.join(`,`):I,name:y,ref:re,"aria-hidden":!0,onChange:Me,tabIndex:-1,disabled:u,readOnly:O,className:Xe.nativeInput,autoFocus:i,required:ee,...F,id:F.id??tt,ownerState:Ye}),(0,H.jsx)(dv,{as:p,className:Xe.icon,ownerState:Ye}),(0,H.jsx)(r_,{value:_e,children:(0,H.jsx)(D_,{id:`menu-${y||``}`,anchorEl:xe,open:Se,onClose:Ae,anchorOrigin:{vertical:`bottom`,horizontal:`center`},transformOrigin:{vertical:`top`,horizontal:`center`},...g,slotProps:{...g.slotProps,list:{"aria-labelledby":h,role:`listbox`,"aria-multiselectable":v?`true`:void 0,disableListWrap:!0,id:et,...$e},paper:{...Ze,ref:Qe,style:{minWidth:Ke,...Ze?.style}}},children:Ge})})]})}),hv=e=>{let{classes:t}=e,n=ya({root:[`root`]},ph,t);return{...t,...n}},gv={name:`MuiSelect`,slot:`Root`,shouldForwardProp:e=>Ns(e)&&e!==`variant`},_v=J(Gh,gv)(``),vv=J(K_,gv)(``),yv=J(vh,gv)(``),bv=V.forwardRef(function(e,t){let n=Fs({name:`MuiSelect`,props:e}),{autoWidth:r=!1,children:i,classes:a={},className:o,defaultOpen:s=!1,displayEmpty:c=!1,IconComponent:l=Jf,id:u,input:d,inputProps:f,label:p,labelId:m,MenuProps:h,multiple:g=!1,native:_=!1,onClose:v,onOpen:y,open:b,renderValue:x,SelectDisplayProps:S,variant:C=`outlined`,...w}=n,T=_?L_:mv,[E]=Os({props:n,states:[`variant`,`error`]}),D=E.variant||C,O={...n,variant:D,classes:a},k=hv(O),{root:ee,...A}=k,j=d||{standard:(0,H.jsx)(_v,{ownerState:O}),outlined:(0,H.jsx)(vv,{label:p,ownerState:O}),filled:(0,H.jsx)(yv,{ownerState:O})}[D],M=Is(t,Ff(j));return(0,H.jsx)(V.Fragment,{children:V.cloneElement(j,{inputComponent:T,inputProps:{children:i,error:E.error,IconComponent:l,variant:D,type:void 0,multiple:g,..._?{id:u}:{autoWidth:r,defaultOpen:s,displayEmpty:c,labelId:m,MenuProps:h,onClose:v,onOpen:y,open:b,renderValue:x,SelectDisplayProps:{id:u,...S}},...f,classes:f?tn(A,f.classes):A,...d?d.props.inputProps:{}},...(g&&_||c)&&D===`outlined`?{notched:!0}:{},ref:M,className:U(j.props.className,o,k.root),...!d&&{variant:D},...w})})});bv.muiName=`Select`;function xv(e={}){let{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:i,resumeHideDuration:a}=e,o=Rl();V.useEffect(()=>{if(!i)return;function e(e){e.defaultPrevented||e.key===`Escape`&&r?.(e,`escapeKeyDown`)}return document.addEventListener(`keydown`,e),()=>{document.removeEventListener(`keydown`,e)}},[i,r]);let s=vs((e,t)=>{r?.(e,t)}),c=vs(e=>{r&&e!=null&&o.start(e,()=>{s(null,`timeout`)})});V.useEffect(()=>(i&&c(t),o.clear),[i,t,c,o]);let l=e=>{r?.(e,`clickaway`)},u=o.clear,d=V.useCallback(()=>{t!=null&&c(a??t*.5)},[t,a,c]),f=e=>t=>{let n=e.onBlur;n?.(t),d()},p=e=>t=>{let n=e.onFocus;n?.(t),u()},m=e=>t=>{let n=e.onMouseEnter;n?.(t),u()},h=e=>t=>{let n=e.onMouseLeave;n?.(t),d()};return V.useEffect(()=>{if(!n&&i)return window.addEventListener(`focus`,d),window.addEventListener(`blur`,u),()=>{window.removeEventListener(`focus`,d),window.removeEventListener(`blur`,u)}},[n,i,d,u]),{getRootProps:(t={})=>{let n={...bl(e),...bl(t)};return{role:`presentation`,...t,...n,onBlur:f(n),onFocus:p(n),onMouseEnter:m(n),onMouseLeave:h(n)}},onClickAway:l}}function Sv(e){return W(`MuiSnackbarContent`,e)}G(`MuiSnackbarContent`,[`root`,`message`,`action`]);var Cv=e=>{let{classes:t}=e;return ya({root:[`root`],action:[`action`],message:[`message`]},Sv,t)},wv=J(Dl,{name:`MuiSnackbarContent`,slot:`Root`})(Y(({theme:e})=>{let t=e.palette.mode===`light`?.8:.98;return{...e.focusVisible&&go(`0 0 0 4px ${(e.vars||e).palette.background.default}`),...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(Oi(e.palette.background.default,t)),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:Oi(e.palette.background.default,t),display:`flex`,alignItems:`center`,flexWrap:`wrap`,padding:`6px 16px`,flexGrow:1,[e.breakpoints.up(`sm`)]:{flexGrow:`initial`,minWidth:288}}})),Tv=J(`div`,{name:`MuiSnackbarContent`,slot:`Message`})({padding:`8px 0`}),Ev=J(`div`,{name:`MuiSnackbarContent`,slot:`Action`})({display:`flex`,alignItems:`center`,marginLeft:`auto`,paddingLeft:16,marginRight:-8}),Dv=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiSnackbarContent`}),{action:r,className:i,message:a,role:o=`alert`,...s}=n,c=n,l=Cv(c);return(0,H.jsxs)(wv,{role:o,elevation:6,className:U(l.root,i),ownerState:c,ref:t,...s,children:[(0,H.jsx)(Tv,{className:l.message,ownerState:c,children:a}),r?(0,H.jsx)(Ev,{className:l.action,ownerState:c,children:r}):null]})});function Ov(e){return W(`MuiSnackbar`,e)}G(`MuiSnackbar`,[`root`,`anchorOriginTopCenter`,`anchorOriginBottomCenter`,`anchorOriginTopRight`,`anchorOriginBottomRight`,`anchorOriginTopLeft`,`anchorOriginBottomLeft`]);var kv=e=>{let{classes:t,anchorOrigin:n}=e;return ya({root:[`root`,`anchorOrigin${X(n.vertical)}${X(n.horizontal)}`]},Ov,t)},Av=J(`div`,{name:`MuiSnackbar`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`anchorOrigin${X(n.anchorOrigin.vertical)}${X(n.anchorOrigin.horizontal)}`]]}})(Y(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:`fixed`,display:`flex`,left:8,right:8,justifyContent:`center`,alignItems:`center`,variants:[{props:({ownerState:e})=>e.anchorOrigin.vertical===`top`,style:{top:8,[e.breakpoints.up(`sm`)]:{top:24}}},{props:({ownerState:e})=>e.anchorOrigin.vertical!==`top`,style:{bottom:8,[e.breakpoints.up(`sm`)]:{bottom:24}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal===`left`,style:{justifyContent:`flex-start`,[e.breakpoints.up(`sm`)]:{left:24,right:`auto`}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal===`right`,style:{justifyContent:`flex-end`,[e.breakpoints.up(`sm`)]:{right:24,left:`auto`}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal===`center`,style:{[e.breakpoints.up(`sm`)]:{left:`50%`,right:`auto`,transform:`translateX(-50%)`}}}]}))),jv=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiSnackbar`}),r=As(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:o,horizontal:s}={vertical:`bottom`,horizontal:`left`},autoHideDuration:c=null,children:l,className:u,disableWindowBlurListener:d=!1,message:f,onBlur:p,onClose:m,onFocus:h,onMouseEnter:g,onMouseLeave:_,open:v,resumeHideDuration:y,slots:b={},slotProps:x={},transitionDuration:S=i,...C}=n,w={...n,anchorOrigin:{vertical:o,horizontal:s},autoHideDuration:c,disableWindowBlurListener:d,transitionDuration:S},T=kv(w),{getRootProps:E,onClickAway:D}=xv(w),[O,k]=V.useState(!0),ee={slots:b,slotProps:x},[A,j]=Cl(`root`,{ref:t,className:[T.root,u],elementType:Av,getSlotProps:E,externalForwardedProps:{...ee,...C},ownerState:w}),[M,{ownerState:N,...P}]=Cl(`clickAwayListener`,{elementType:Qp,externalForwardedProps:ee,getSlotProps:e=>({onClickAway:(...t)=>{let n=t[0];e.onClickAway?.(...t),!n?.defaultMuiPrevented&&D(...t)}}),ownerState:w}),[F,I]=Cl(`content`,{elementType:Dv,shouldForwardComponentProp:!0,externalForwardedProps:ee,additionalProps:{message:f,action:a},ownerState:w}),[L,te]=Cl(`transition`,{elementType:zh,externalForwardedProps:ee,getSlotProps:e=>({onEnter:(...t)=>{e.onEnter?.(...t),k(!1)},onExited:(...t)=>{e.onExited?.(...t),k(!0)}}),additionalProps:{appear:!0,in:v,timeout:S,direction:o===`top`?`down`:`up`},ownerState:w});return!v&&O?null:(0,H.jsx)(M,{...P,...b.clickAwayListener&&{ownerState:N},children:(0,H.jsx)(A,{...j,children:(0,H.jsx)(L,{...te,children:l||(0,H.jsx)(F,{...I})})})})});function Mv(e){return W(`MuiTooltip`,e)}var Nv=G(`MuiTooltip`,[`popper`,`popperInteractive`,`popperArrow`,`popperClose`,`tooltip`,`tooltipArrow`,`touch`,`tooltipPlacementLeft`,`tooltipPlacementRight`,`tooltipPlacementTop`,`tooltipPlacementBottom`,`arrow`]);function Pv(e){return Math.round(e*1e5)/1e5}var Fv=e=>{let{classes:t,disableInteractive:n,arrow:r,touch:i,placement:a}=e;return ya({popper:[`popper`,!n&&`popperInteractive`,r&&`popperArrow`],tooltip:[`tooltip`,r&&`tooltipArrow`,i&&`touch`,`tooltipPlacement${X(a.split(`-`)[0])}`],arrow:[`arrow`]},Mv,t)},Iv=J(qf,{name:`MuiTooltip`,slot:`Popper`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(Y(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:`none`,variants:[{props:({ownerState:e,open:t})=>t&&!e.disableInteractive,style:{pointerEvents:`auto`}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${Nv.arrow}`]:{top:0,marginTop:`-0.71em`,"&::before":{transformOrigin:`0 100%`}},[`&[data-popper-placement*="top"] .${Nv.arrow}`]:{bottom:0,marginBottom:`-0.71em`,"&::before":{transformOrigin:`100% 0`}},[`&[data-popper-placement*="right"] .${Nv.arrow}`]:{height:`1em`,width:`0.71em`,insetInlineStart:0,marginInlineStart:`-0.71em`,"&::before":{transformOrigin:`100% 100%`}},[`&[data-popper-placement*="left"] .${Nv.arrow}`]:{height:`1em`,width:`0.71em`,insetInlineEnd:0,marginInlineEnd:`-0.71em`,"&::before":{transformOrigin:`0 0`}}}}]}))),Lv=J(`div`,{name:`MuiTooltip`,slot:`Tooltip`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${X(n.placement.split(`-`)[0])}`]]}})(Y(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:`4px 8px`,fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:`break-word`,fontWeight:e.typography.fontWeightMedium,[`.${Nv.popper}[data-popper-placement*="left"] &`]:{transformOrigin:`right center`,marginInlineEnd:`14px`},[`.${Nv.popper}[data-popper-placement*="right"] &`]:{transformOrigin:`left center`,marginInlineStart:`14px`},[`.${Nv.popper}[data-popper-placement*="top"] &`]:{transformOrigin:`center bottom`,marginBottom:`14px`},[`.${Nv.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:`center top`,marginTop:`14px`},variants:[{props:({ownerState:e})=>e.arrow,style:{position:`relative`,marginBlock:0}},{props:({ownerState:e})=>e.touch,style:{padding:`8px 16px`,fontSize:e.typography.pxToRem(14),lineHeight:`${Pv(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>e.touch,style:{[`.${Nv.popper}[data-popper-placement*="left"] &`]:{marginInlineEnd:`24px`},[`.${Nv.popper}[data-popper-placement*="right"] &`]:{marginInlineStart:`24px`},[`.${Nv.popper}[data-popper-placement*="top"] &`]:{marginBottom:`24px`},[`.${Nv.popper}[data-popper-placement*="bottom"] &`]:{marginTop:`24px`}}}]}))),Rv=J(`span`,{name:`MuiTooltip`,slot:`Arrow`})(Y(({theme:e})=>({overflow:`hidden`,position:`absolute`,width:`1em`,height:`0.71em`,boxSizing:`border-box`,color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:`""`,margin:`auto`,display:`block`,width:`100%`,height:`100%`,backgroundColor:`currentColor`,transform:`rotate(45deg)`}}))),zv=!1,Bv=new Ll,Vv={x:0,y:0};function Hv(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}var Uv=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiTooltip`}),{arrow:r=!1,children:i,classes:a,describeChild:o=!1,disableFocusListener:s=!1,disableHoverListener:c=!1,disableInteractive:l=!1,disableTouchListener:u=!1,enterDelay:d=100,enterNextDelay:f=0,enterTouchDelay:p=700,followCursor:m=!1,id:h,leaveDelay:g=0,leaveTouchDelay:_=1500,onClose:v,onOpen:y,open:b,placement:x=`bottom`,slotProps:S={},slots:C={},title:w,...T}=n,E=V.isValidElement(i)?i:(0,H.jsx)(`span`,{children:i}),D=As(),[O,k]=V.useState(),[ee,A]=V.useState(null),j=V.useRef(!1),M=V.useRef(!1),N=l||m,P=Rl(),F=Rl(),I=Rl(),L=Rl(),[te,ne]=Jc({controlled:b,default:!1,name:`Tooltip`,state:`open`}),re=te,{current:R}=V.useRef(b!==void 0),z=Kc(h),ie=V.useRef(),ae=Yc(()=>{ie.current!==void 0&&(document.body.style.WebkitUserSelect=ie.current,ie.current=void 0),L.clear()});V.useEffect(()=>ae,[ae]);let oe=e=>{Bv.clear(),zv=!0,ne(!0),y&&!re&&y(e)},se=Yc(e=>{M.current=!1,Bv.start(800+g,()=>{zv=!1}),ne(!1),v&&re&&v(e),P.start(D.transitions.duration.shortest,()=>{j.current=!1})}),ce=e=>{j.current&&e.type!==`touchstart`||(O&&O.removeAttribute(`title`),F.clear(),I.clear(),d||zv&&f?F.start(zv?f:d,()=>{oe(e)}):oe(e))},le=e=>{if(O?.disabled&&!R){if(re&&!M.current)return;M.current=!0}else M.current=!1;ce(e)},B=e=>{(!O?.disabled||R||M.current)&&ce(e)},ue=e=>{F.clear(),I.start(g,()=>{se(e)})},[,de]=V.useState(!1),fe=e=>{let t=e?.target??O;if(!t||t.disabled||!Ol(t)){de(!1);let n=e??new Event(`blur`);!e&&t&&(Object.defineProperty(n,"target",{value:t}),Object.defineProperty(n,"currentTarget",{value:t})),ue(n)}},pe=e=>{if(O||k(e.currentTarget),M.current=!1,Ol(e.target)){let t=e=>{e.target.disabled&&fe(e),e.target.removeEventListener(`blur`,t)};e.target.addEventListener(`blur`,t),de(!0),ce(e)}},me=e=>{j.current=!0;let t=E.props;t.onTouchStart&&t.onTouchStart(e)},he=e=>{me(e),I.clear(),P.clear(),ae(),ie.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect=`none`,L.start(p,()=>{document.body.style.WebkitUserSelect=ie.current,le(e)})},ge=e=>{E.props.onTouchEnd&&E.props.onTouchEnd(e),ae(),I.start(_,()=>{se(e)})};V.useEffect(()=>{if(!re)return;function e(e){e.key===`Escape`&&se(e)}return document.addEventListener(`keydown`,e),()=>{document.removeEventListener(`keydown`,e)}},[se,re]);let _e=Is(Ff(E),k,t);!w&&w!==0&&(re=!1);let ve=V.useRef(),ye=e=>{let t=E.props;t.onMouseMove&&t.onMouseMove(e),Vv={x:e.clientX,y:e.clientY},ve.current&&ve.current.update()},be={},xe=typeof w==`string`;o?(be.title=!re&&xe&&!c?w:null,be[`aria-describedby`]=re?z:null):(be[`aria-label`]=xe?w:null,be[`aria-labelledby`]=re&&!xe?z:null);let Se={...be,...T,...E.props,className:U(T.className,E.props.className),onTouchStart:me,ref:_e,...m?{onMouseMove:ye}:{}},Ce={};u||(Se.onTouchStart=he,Se.onTouchEnd=ge),c||(Se.onMouseOver=Hv(le,Se.onMouseOver),Se.onMouseLeave=Hv(ue,Se.onMouseLeave),N||(Ce.onMouseOver=B,Ce.onMouseLeave=ue)),s||(Se.onFocus=Hv(pe,Se.onFocus),Se.onBlur=Hv(fe,Se.onBlur),N||(Ce.onFocus=pe,Ce.onBlur=fe));let we={...n,arrow:r,disableInteractive:N,placement:x,touch:j.current},Te=typeof S.popper==`function`?S.popper(we):S.popper,Ee=V.useMemo(()=>{let e=[{name:`arrow`,enabled:!!ee,options:{element:ee,padding:4}}];return Te?.popperOptions?.modifiers&&(e=e.concat(Te.popperOptions.modifiers)),{...Te?.popperOptions,modifiers:e}},[ee,Te?.popperOptions]),De=Fv(we),Oe={slots:C,slotProps:{arrow:S.arrow,popper:Te,tooltip:S.tooltip,transition:S.transition}},[ke,Ae]=Cl(`popper`,{elementType:Iv,externalForwardedProps:Oe,ownerState:we,className:De.popper}),[je,Me]=Cl(`transition`,{elementType:zh,externalForwardedProps:Oe,ownerState:we}),[Ne,Pe]=Cl(`tooltip`,{elementType:Lv,className:De.tooltip,externalForwardedProps:Oe,ownerState:we}),[Fe,Ie]=Cl(`arrow`,{elementType:Rv,className:De.arrow,externalForwardedProps:Oe,ownerState:we,ref:A});return(0,H.jsxs)(V.Fragment,{children:[V.cloneElement(E,Se),(0,H.jsx)(ke,{as:qf,placement:x,anchorEl:m?{getBoundingClientRect:()=>({top:Vv.y,left:Vv.x,right:Vv.x,bottom:Vv.y,width:0,height:0})}:O,popperRef:ve,open:O?re:!1,id:z,transition:!0,...Ce,...Ae,popperOptions:Ee,children:({TransitionProps:e})=>(0,H.jsx)(je,{timeout:D.transitions.duration.shorter,...e,...Me,children:(0,H.jsxs)(Ne,{...Pe,children:[w,r?(0,H.jsx)(Fe,{...Ie}):null]})})})]})}),Wv=G(`MuiTab`,[`root`,`labelIcon`,`textColorInherit`,`textColorPrimary`,`textColorSecondary`,`selected`,`disabled`,`fullWidth`,`wrapped`,`icon`]);J(iu,{name:`MuiTab`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${X(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${Wv.icon}`]:t.icon}]}})(Y(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:`relative`,minHeight:48,flexShrink:0,padding:`12px 16px`,overflow:`hidden`,whiteSpace:`normal`,textAlign:`center`,lineHeight:1.25,...e.focusVisible&&_o(3),variants:[{props:({ownerState:e})=>e.label&&(e.iconPosition===`top`||e.iconPosition===`bottom`),style:{flexDirection:`column`}},{props:({ownerState:e})=>e.label&&e.iconPosition!==`top`&&e.iconPosition!==`bottom`,style:{flexDirection:`row`}},{props:({ownerState:e})=>e.icon&&e.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&t===`top`,style:{[`& > .${Wv.icon}`]:{marginBottom:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&t===`bottom`,style:{[`& > .${Wv.icon}`]:{marginTop:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&t===`start`,style:{[`& > .${Wv.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&t===`end`,style:{[`& > .${Wv.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:`inherit`},style:{color:`inherit`,opacity:.6,[`&.${Wv.selected}`]:{opacity:1},...e.focusVisible&&{[`&.${tu.focusVisible}`]:{opacity:1}},[`&.${Wv.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:`primary`},style:{color:(e.vars||e).palette.text.secondary,[`&.${Wv.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${Wv.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:`secondary`},style:{color:(e.vars||e).palette.text.secondary,[`&.${Wv.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${Wv.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:e})=>e.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:`none`}},{props:({ownerState:e})=>e.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]})));function Gv(e){return W(`MuiToolbar`,e)}G(`MuiToolbar`,[`root`,`gutters`,`regular`,`dense`]);var Kv=e=>{let{classes:t,disableGutters:n,variant:r}=e;return ya({root:[`root`,!n&&`gutters`,r]},Gv,t)},qv=J(`div`,{name:`MuiToolbar`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Y(({theme:e})=>({position:`relative`,display:`flex`,alignItems:`center`,variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up(`sm`)]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:`dense`},style:{minHeight:48}},{props:{variant:`regular`},style:e.mixins.toolbar}]}))),Jv=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiToolbar`}),{className:r,component:i=`div`,disableGutters:a=!1,variant:o=`regular`,...s}=n,c={...n,component:i,disableGutters:a,variant:o},l=Kv(c);return(0,H.jsx)(qv,{as:i,className:U(l.root,r),ref:t,ownerState:c,...s})});Z((0,H.jsx)(`path`,{d:`M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z`}),`KeyboardArrowLeft`),Z((0,H.jsx)(`path`,{d:`M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z`}),`KeyboardArrowRight`);var Yv={width:99,height:99,position:`absolute`,top:-9999,overflow:`scroll`,pointerEvents:`none`};function Xv(e){let{onChange:t,...n}=e,r=V.useRef(),i=V.useRef(null),a=()=>{r.current=i.current.offsetHeight-i.current.clientHeight};return Ls(()=>{let e=Hc(()=>{let e=r.current;a(),e!==r.current&&t(r.current)}),n=Wc(i.current);return n.addEventListener(`resize`,e),()=>{e.clear(),n.removeEventListener(`resize`,e)}},[t]),V.useEffect(()=>{a(),t(r.current)},[t]),(0,H.jsx)(`div`,{style:Yv,...n,ref:i})}var Zv=G(`MuiTabScrollButton`,[`root`,`vertical`,`horizontal`,`disabled`]);J(iu,{name:`MuiTabScrollButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${Zv.disabled}`]:{opacity:0},variants:[{props:{orientation:`vertical`},style:{width:`100%`,height:40,"& svg":{transform:`var(--TabScrollButton-svgRotate)`}}}]});var Qv=G(`MuiTabs`,[`root`,`vertical`,`list`,`centered`,`scroller`,`fixed`,`scrollableX`,`scrollableY`,`hideScrollbar`,`scrollButtons`,`scrollButtonsHideMobile`,`indicator`]);J(`div`,{name:`MuiTabs`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${Qv.scrollButtons}`]:t.scrollButtons},{[`& .${Qv.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(Y(({theme:e})=>({overflow:`hidden`,minHeight:48,WebkitOverflowScrolling:`touch`,display:`flex`,variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:`column`}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${Qv.scrollButtons}`]:{[e.breakpoints.down(`sm`)]:{display:`none`}}}}]}))),J(`div`,{name:`MuiTabs`,slot:`Scroller`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})({position:`relative`,display:`inline-block`,flex:`1 1 auto`,whiteSpace:`nowrap`,variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:`hidden`,width:`100%`}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:`none`,"&::-webkit-scrollbar":{display:`none`}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:`auto`,overflowY:`hidden`}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:`auto`,overflowX:`hidden`}}]}),J(`div`,{name:`MuiTabs`,slot:`List`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.list,n.centered&&t.centered]}})({display:`flex`,variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:`column`}},{props:({ownerState:e})=>e.centered,style:{justifyContent:`center`}}]}),J(`span`,{name:`MuiTabs`,slot:`Indicator`})(Y(({theme:e})=>({position:`absolute`,height:2,bottom:0,width:`100%`,...nc(e),variants:[{props:{indicatorColor:`primary`},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:`secondary`},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:e})=>e.vertical,style:{height:`100%`,width:2,right:0}}]}))),J(Xv)({overflowX:`auto`,overflowY:`hidden`,scrollbarWidth:`none`,"&::-webkit-scrollbar":{display:`none`}});function $v(e){return W(`MuiTextField`,e)}G(`MuiTextField`,[`root`]);var ey={standard:Gh,filled:vh,outlined:K_},ty=e=>{let{classes:t}=e;return ya({root:[`root`]},$v,t)},ny=J(Sh,{name:`MuiTextField`,slot:`Root`})({}),ry=V.forwardRef(function(e,t){let n=Fs({props:e,name:`MuiTextField`}),{autoComplete:r,autoFocus:i=!1,children:a,className:o,color:s=`primary`,defaultValue:c,disabled:l=!1,error:u=!1,fullWidth:d=!1,helperText:f,id:p,inputRef:m,label:h,maxRows:g,minRows:_,multiline:v=!1,name:y,onBlur:b,onChange:x,onFocus:S,placeholder:C,required:w=!1,rows:T,select:E=!1,slots:D={},slotProps:O={},type:k,value:ee,variant:A=`outlined`,...j}=n,M={...n,autoFocus:i,color:s,disabled:l,error:u,fullWidth:d,multiline:v,required:w,select:E,variant:A},N=ty(M),P=Gi(p),F=f&&P?`${P}-helper-text`:void 0,I=h&&P?`${P}-label`:void 0,L=ey[A],te={slots:D,slotProps:O},[ne,re]=Cl(`select`,{elementType:bv,externalForwardedProps:te,ownerState:M}),R=E&&re.native,z={},ie=te.slotProps.inputLabel;A===`outlined`&&(ie&&ie.shrink!==void 0&&(z.notched=ie.shrink),z.label=h),E&&(R||(z.id=void 0),z[`aria-describedby`]=void 0);let[ae,oe]=Cl(`root`,{elementType:ny,shouldForwardComponentProp:!0,externalForwardedProps:{...te,...j},ownerState:M,className:U(N.root,o),ref:t,additionalProps:{disabled:l,error:u,fullWidth:d,required:w,color:s,variant:A}}),[se,ce]=Cl(`input`,{elementType:L,externalForwardedProps:te,additionalProps:z,ownerState:M}),[le,B]=Cl(`inputLabel`,{elementType:Yh,externalForwardedProps:te,ownerState:M}),[ue,de]=Cl(`htmlInput`,{elementType:`input`,externalForwardedProps:te,ownerState:M}),[fe,pe]=Cl(`formHelperText`,{elementType:Ah,externalForwardedProps:te,ownerState:M}),me=(0,H.jsx)(se,{"aria-describedby":F,autoComplete:r,autoFocus:i,defaultValue:c,fullWidth:d,multiline:v,name:y,rows:T,maxRows:g,minRows:_,type:k,value:ee,id:P,inputRef:m,onBlur:b,onChange:x,onFocus:S,placeholder:C,inputProps:de,slots:{input:D.htmlInput?ue:void 0},...ce});return(0,H.jsxs)(ae,{...oe,children:[h!=null&&h!==``&&(0,H.jsx)(le,{htmlFor:E&&!R?void 0:P,id:I,...E&&!R&&{component:`div`},...B,children:h}),E?(0,H.jsx)(ne,{"aria-describedby":F,id:P,labelId:I,value:ee,input:me,...re,children:a}):me,f&&(0,H.jsx)(fe,{id:F,...pe,children:f})]})}),iy=fi({themeId:v}),ay=g(),oy={background:`#0A121D`,paper:`#121A26`,sidebar:`#141C29`,elevated:`#1A2434`,border:`#1E2837`,cardBorder:`#1B2533`,textPrimary:`#E8EDF5`,textSecondary:`#8B97A8`,textDisabled:`#586576`,primary:`#137BF8`,primaryDark:`#0B62D6`,primaryLight:`#4B9BFA`,secondary:`#436A93`,gradient:`linear-gradient(90deg, #2E93F9 0%, #0B76F5 100%)`,gradientHover:`linear-gradient(90deg, #48A1FA 0%, #1B84F8 100%)`,success:`#2EA043`,warning:`#E8A33D`,error:`#E5534B`,info:`#3FA9F5`,expert:`#2EA043`,nonAck:`#E5534B`,hover:`rgba(255, 255, 255, 0.05)`,selected:`rgba(19, 123, 248, 0.16)`},sy={background:`#F4F7FB`,paper:`#FFFFFF`,sidebar:`#FFFFFF`,elevated:`#FFFFFF`,border:`#E2E8F0`,cardBorder:`#E2E8F0`,textPrimary:`#101827`,textSecondary:`#5B6878`,textDisabled:`#98A4B3`,primary:`#137BF8`,primaryDark:`#0B62D6`,primaryLight:`#4B9BFA`,secondary:`#164477`,gradient:`linear-gradient(90deg, #2E93F9 0%, #0B76F5 100%)`,gradientHover:`linear-gradient(90deg, #48A1FA 0%, #1B84F8 100%)`,success:`#1E8E3E`,warning:`#C77700`,error:`#D93025`,info:`#0B72D9`,expert:`#1E8E3E`,nonAck:`#D93025`,hover:`rgba(16, 24, 39, 0.04)`,selected:`rgba(19, 123, 248, 0.10)`},cy=`"Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif`,ly=52;function uy(e){let t=e===`dark`?`0, 0, 0`:`15, 23, 42`,n=e===`dark`?.24:.04,r=e===`dark`?.36:.08,i=[`none`];for(let e=1;e<=24;e++){let a=Math.round(1+e*.7),o=Math.round(2+e*1.6);i.push(`0px ${Math.max(1,Math.round(a/2))}px ${Math.max(2,Math.round(o/2))}px rgba(${t}, ${n}), 0px ${a}px ${o}px rgba(${t}, ${r})`)}return i}function dy(e,t){let n=t===`dark`?oy:sy;return{options:{name:e,shape:{borderRadius:10},mixins:{toolbar:{minHeight:ly,"@media (min-width:0px) and (orientation: landscape)":{minHeight:ly},"@media (min-width:600px)":{minHeight:ly}}},shadows:uy(t),typography:{fontFamily:cy,h1:{fontWeight:700,letterSpacing:`-0.02em`},h2:{fontWeight:700,letterSpacing:`-0.02em`},h3:{fontWeight:600,letterSpacing:`-0.02em`},h4:{fontWeight:600,letterSpacing:`-0.01em`},h5:{fontWeight:600},h6:{fontWeight:600,fontSize:`1.05rem`},subtitle1:{fontWeight:500},subtitle2:{fontWeight:500},body2:{fontSize:`0.875rem`},button:{fontWeight:500,textTransform:`none`,letterSpacing:0},caption:{fontSize:`0.75rem`}},palette:{mode:t,background:{default:n.background,paper:n.paper},primary:{main:n.primary,dark:n.primaryDark,light:n.primaryLight,contrastText:`#FFFFFF`},secondary:{main:n.secondary,contrastText:`#FFFFFF`},success:{main:n.success},warning:{main:n.warning},error:{main:n.error},info:{main:n.info},divider:n.border,text:{primary:n.textPrimary,secondary:n.textSecondary,disabled:n.textDisabled},action:{hover:n.hover,hoverOpacity:t===`dark`?.06:.04,selected:n.selected,selectedOpacity:t===`dark`?.16:.1},expert:n.expert,nonAck:n.nonAck},toolbar:{height:ly},saveToolbar:{background:n.primary,button:{borderRadius:8,height:34}}},components:{MuiCssBaseline:{styleOverrides:{body:{backgroundColor:n.background,color:n.textPrimary}}},MuiPaper:{defaultProps:{elevation:0},styleOverrides:{root:{backgroundImage:`none`,backgroundColor:n.paper},outlined:{border:`1px solid ${n.border}`},rounded:{borderRadius:12}}},MuiCard:{defaultProps:{elevation:0},styleOverrides:{root:{backgroundColor:n.paper,border:`1px solid ${n.cardBorder}`,borderRadius:12,backgroundImage:`none`,boxShadow:t===`dark`?`0 1px 3px rgba(0, 0, 0, 0.4)`:`0 1px 2px rgba(15, 23, 42, 0.05)`}}},MuiCardHeader:{styleOverrides:{root:{padding:`16px 20px 8px 20px`},title:{fontSize:`1rem`,fontWeight:600},subheader:{fontSize:`0.8125rem`,color:n.textSecondary}}},MuiCardContent:{styleOverrides:{root:{padding:20,"&:last-child":{paddingBottom:20}}}},MuiAppBar:{defaultProps:{elevation:0,color:`default`},styleOverrides:{root:{backgroundColor:n.paper,backgroundImage:`none`,color:n.textPrimary,boxShadow:`inset 0 -1px 0 ${n.border}`},colorDefault:{backgroundColor:n.paper},colorPrimary:{backgroundColor:n.paper,color:n.textPrimary}}},MuiToolbar:{styleOverrides:{root:{minHeight:ly,"@media (min-width: 600px)":{minHeight:ly}}}},MuiDrawer:{styleOverrides:{paper:{backgroundColor:n.sidebar,backgroundImage:`none`,borderRight:`1px solid ${n.border}`}}},MuiDivider:{styleOverrides:{root:{borderColor:n.border}}},MuiListItemButton:{styleOverrides:{root:{borderRadius:8,paddingTop:7,paddingBottom:7,"&:hover":{backgroundColor:n.hover},"&.Mui-selected":{background:n.gradient,color:`#FFFFFF`,boxShadow:`0 2px 8px ${Ci(n.primary,t===`dark`?.35:.25)}`,"& .MuiListItemIcon-root":{color:`#FFFFFF`},"&:hover":{background:n.gradientHover}}}}},MuiListItemIcon:{styleOverrides:{root:{color:n.textSecondary,minWidth:36}}},MuiListItemText:{styleOverrides:{primary:{fontSize:`0.9rem`}}},MuiMenu:{styleOverrides:{paper:{backgroundColor:n.elevated,backgroundImage:`none`,border:`1px solid ${n.border}`,borderRadius:10},list:{padding:6}}},MuiMenuItem:{styleOverrides:{root:{borderRadius:6,fontSize:`0.875rem`,"&.Mui-selected":{backgroundColor:n.selected}}}},MuiPopover:{styleOverrides:{paper:{backgroundColor:n.elevated,backgroundImage:`none`,border:`1px solid ${n.border}`,borderRadius:10}}},MuiDialog:{styleOverrides:{paper:{backgroundColor:n.elevated,backgroundImage:`none`,border:`1px solid ${n.border}`,borderRadius:14}}},MuiDialogTitle:{styleOverrides:{root:{fontSize:`1.05rem`,fontWeight:600}}},MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:{borderRadius:8,textTransform:`none`,fontWeight:500,boxShadow:`none`,"&:hover":{boxShadow:`none`}},sizeSmall:{borderRadius:6},outlined:{borderColor:n.border}}},MuiIconButton:{styleOverrides:{root:({ownerState:e})=>{let t=!e.color||e.color==="default";return{borderRadius:8,color:t?n.textSecondary:void 0,"&:hover":{backgroundColor:n.hover,color:t?n.textPrimary:void 0}}}}},MuiToggleButton:{styleOverrides:{root:{borderRadius:8,borderColor:n.border,textTransform:`none`,"&.Mui-selected":{backgroundColor:n.selected,color:n.primaryLight}}}},MuiChip:{styleOverrides:{root:{borderRadius:6,fontWeight:500,fontSize:`0.75rem`},sizeSmall:{height:22},outlined:{borderColor:n.border}}},MuiTooltip:{styleOverrides:{tooltip:{backgroundColor:t===`dark`?`#242C37`:`#1F2937`,border:t===`dark`?`1px solid ${n.border}`:void 0,borderRadius:8,fontSize:`0.75rem`,padding:`6px 10px`},arrow:{color:t===`dark`?`#242C37`:`#1F2937`}}},MuiOutlinedInput:{styleOverrides:{root:{borderRadius:8,backgroundColor:t===`dark`?Ci(`#FFFFFF`,.03):Ci(`#0F172A`,.02),"& .MuiOutlinedInput-notchedOutline":{borderColor:n.border},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:n.textDisabled}},input:{padding:`10px 12px`}}},MuiInputBase:{styleOverrides:{root:{fontSize:`0.875rem`}}},MuiInputLabel:{styleOverrides:{root:{color:n.textSecondary}}},MuiSelect:{styleOverrides:{select:{fontSize:`0.875rem`}}},MuiTabs:{styleOverrides:{root:{minHeight:42,borderBottom:`1px solid ${n.border}`},indicator:{height:2,borderRadius:2}}},MuiTab:{styleOverrides:{root:{minHeight:42,textTransform:`none`,fontWeight:500,fontSize:`0.8125rem`,letterSpacing:`0.02em`,color:n.textSecondary,"&.Mui-selected":{color:n.primaryLight}}}},MuiTable:{styleOverrides:{root:{borderCollapse:`separate`}}},MuiTableCell:{styleOverrides:{root:{borderBottom:`1px solid ${n.border}`,fontSize:`0.8125rem`,padding:`10px 14px`},head:{color:n.textSecondary,fontWeight:600,fontSize:`0.75rem`,backgroundColor:n.paper}}},MuiTableRow:{styleOverrides:{root:{"&:hover":{backgroundColor:n.hover},"&.Mui-selected":{backgroundColor:n.selected,"&:hover":{backgroundColor:n.selected}}}}},MuiLinearProgress:{styleOverrides:{root:{height:6,borderRadius:4,backgroundColor:Ci(t===`dark`?`#FFFFFF`:`#0F172A`,.08)},bar:{borderRadius:4}}},MuiSwitch:{styleOverrides:{track:{borderRadius:12}}},MuiCheckbox:{styleOverrides:{root:{color:n.textDisabled}}},MuiAlert:{styleOverrides:{root:{borderRadius:10,border:`1px solid ${n.border}`}}},MuiAccordion:{styleOverrides:{root:{backgroundColor:n.paper,backgroundImage:`none`,border:`1px solid ${n.border}`,borderRadius:10,"&::before":{display:`none`}}}},MuiLink:{styleOverrides:{root:{color:n.primaryLight,textDecorationColor:Ci(n.primaryLight,.4),transition:`color .2s ease`,"&:hover":{color:n.primary}}}}}}}var fy=11/23/100;function py(e){let t={r:0,g:0,b:0};if(e.length===7)t.r=parseInt(e.substring(1,3),16),t.g=parseInt(e.substring(3,5),16),t.b=parseInt(e.substring(5,7),16);else if(e.length===4){let n=e[1],r=e[2],i=e[3];t.r=parseInt(n+n,16),t.g=parseInt(r+r,16),t.b=parseInt(i+i,16)}return t}function my(e){return`#${Math.round(e.r).toString(16).padStart(2,`0`)}${Math.round(e.g).toString(16).padStart(2,`0`)}${Math.round(e.b).toString(16).padStart(2,`0`)}`}function hy(e,t,n){let r=py(e),i=py(t);return r.r+=i.r*(.05+fy*(n-1)),r.g+=i.g*(.05+fy*(n-1)),r.b+=i.b*(.05+fy*(n-1)),my(r)}function gy(e,t){let n={};for(let r=1;r<=24;r++)n[`elevation${r}`]={backgroundColor:hy(e,t,r)};return n}var _y=[`error`,`warning`,`info`,`success`];function vy(e,t){if(!_y.includes(t))return;let n=t;return e.getContrastText(e.mode===`dark`?e[n].dark:e[n].main)}function yy(e,t){let n,r;if(e===`modernDark`||e===`modernLight`){let t=dy(e,e===`modernDark`?`dark`:`light`);n=t.options,r=t.components}else e===`dark`?(r={MuiAppBar:{colorDefault:{backgroundColor:`#272727`}},MuiLink:{root:{textTransform:`uppercase`,transition:`color .3s ease`,color:Ga[200],"&:hover":{color:Ga[100]}}},MuiPaper:gy(`#121212`,`#fff`)},n={name:e,palette:{mode:`dark`,background:{paper:`#121212`,default:`#121212`},primary:{main:`#4dabf5`},secondary:{main:`#436a93`},expert:`#14bb00`,text:{primary:`#ffffff`,secondary:`#ffffff`}}}):e===`blue`?(r={MuiAppBar:{colorDefault:{backgroundColor:`#3399CC`}},MuiLink:{root:{textTransform:`uppercase`,transition:`color .3s ease`,color:Ga[400],"&:hover":{color:Ga[300]}}}},n={name:e,palette:{mode:`dark`,background:{paper:`#151d21`,default:`#151d21`},primary:{main:`#4dabf5`},secondary:{main:`#436a93`},expert:`#14bb00`,text:{primary:`#ffffff`,secondary:`#ffffff`}}}):e===`colored`?(r={MuiAppBar:{colorDefault:{backgroundColor:`#2a3135`}},MuiLink:{root:{textTransform:`uppercase`,transition:`color .3s ease`,color:Ga[200],"&:hover":{color:Ga[100]}}},MuiPaper:gy(`#151d21`,`#fff`)},n={name:e,palette:{mode:`light`,primary:{main:`#3399CC`},secondary:{main:`#164477`},expert:`#96fc96`}}):e===`PT`?(r={MuiAppBar:{colorDefault:{backgroundColor:`#0F99DE`}},MuiLink:{root:{textTransform:`uppercase`,transition:`color .3s ease`,color:Ga[400],"&:hover":{color:Ga[300]}}}},n={name:e,palette:{mode:`light`,primary:{main:`#0F99DE`},secondary:{main:`#88A536`},expert:`#BD1B24`}}):e===`NW`?(r={MuiAppBar:{colorDefault:{backgroundColor:`#272727`}},MuiLink:{root:{textTransform:`uppercase`,transition:`color .3s ease`,color:Ga[400],"&:hover":{color:Ga[300]}}},MuiPaper:gy(`#121212`,`#fff`)},n={name:e,palette:{mode:`dark`,background:{paper:`#121212`,default:`#121212`},primary:{main:`#00af78`},secondary:{main:`#005a40`},expert:`#14bb00`,text:{primary:`#ffffff`,secondary:`#ffffff`}}}):e===`HA`?(r={MuiAppBar:{colorDefault:{backgroundColor:`#272727`}},MuiLink:{root:{textTransform:`uppercase`,transition:`color .3s ease`,color:`#db0a33`,"&:hover":{color:`#FF0a33`}}},MuiPaper:gy(`#121212`,`#fff`)},n={name:e,palette:{mode:`dark`,background:{paper:`#121212`,default:`#121212`},primary:{main:`#970720`},secondary:{main:`#db0a33`},expert:`#db0a33`,nonAck:`#ffe96a`,text:{primary:`#ffffff`,secondary:`#ffffff`}}}):(r={MuiLink:{root:{textTransform:`uppercase`,transition:`color .3s ease`,color:Ga[400],"&:hover":{color:Ga[300]}}}},n={name:e,palette:{mode:`light`,primary:{main:`#3399CC`,dark:`#256c97`,light:`#76d0fd`},secondary:{main:`#164477`},expert:`#14bb00`}});n.toolbar||={height:48},n.saveToolbar||={background:n.palette?.primary?.main,button:{borderRadius:3,height:32}},n.palette&&(n.palette.grey={main:Ha[300],dark:Ha[400]});let i=fs(n),a=i.palette;return fs(i,{...t||void 0,components:{...r,MuiAlert:{...r.MuiAlert||void 0,styleOverrides:{...r.MuiAlert?.styleOverrides||void 0,filled:e=>({color:vy(i.palette,e.ownerState?.color||e.ownerState?.severity||`success`)})}},MuiButton:{...r.MuiButton||void 0,variants:[...r.MuiButton?.variants||[],{props:{variant:`contained`,color:`grey`},style:{backgroundColor:a.grey?.[300],color:a.getContrastText&&a.grey?.[300]?a.getContrastText(a.grey[300]):void 0}},{props:{variant:`outlined`,color:`grey`},style:{color:a.text?.primary,borderColor:a.mode===`light`?`rgba(0, 0, 0, 0.23)`:`rgba(255, 255, 255, 0.23)`,"&.Mui-disabled":{border:`1px solid ${a.action?.disabledBackground}`},"&:hover":{borderColor:a.mode===`light`?`rgba(0, 0, 0, 0.23)`:`rgba(255, 255, 255, 0.23)`,backgroundColor:Ci(a.text?.primary||``,a.action?.hoverOpacity||.04)}}},{props:{variant:`text`,color:`grey`},style:{color:a.text?.primary,"&:hover":{backgroundColor:Ci(a.text?.primary||``,a.action?.hoverOpacity||.04)}}}]},...t?.components||void 0}})}function by(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function xy(e){return e?.rows.map(e=>e.value).filter(e=>!!e)??[]}function Sy(e){return e?.startsWith(`system.host.`)||(e=`system.host.${e}`),e}function Cy(e){return new Promise(t=>{setTimeout(t,e)})}function wy(e){e=(e||``).toString();let t=e[0]===`*`,n=e[e.length-1]===`*`;return e=e.replace(/[-/\\^$+?.()|[\]{}]/g,`\\$&`).replace(/\*/g,`.*`),(t?``:`^`)+e+(n?``:`$`)}globalThis.process!==void 0&&(globalThis.location||={href:`http://localhost:8081/`,protocol:`http:`,host:`localhost:8081`,pathname:`/`,hostname:`localhost`,reload:()=>{}},globalThis.localStorage||={_keys:{},setItem:(e,t)=>{globalThis.localStorage._keys[e]=t},getItem:e=>e in globalThis.localStorage._keys?globalThis.localStorage._keys[e]:null,removeItem:e=>{e in globalThis.localStorage._keys&&delete globalThis.localStorage._keys[e]}},globalThis.sessionStorage||=globalThis.localStorage,globalThis.navigator||={language:`en`});var Ty;(function(e){e[e.CONNECTING=0]=`CONNECTING`,e[e.CONNECTED=1]=`CONNECTED`,e[e.OBJECTS_LOADED=2]=`OBJECTS_LOADED`,e[e.READY=3]=`READY`})(Ty||={});var Ey;(function(e){e.PERMISSION_ERROR=`permissionError`,e.NOT_CONNECTED=`notConnectedError`,e.TIMEOUT=`timeout`,e.NOT_ADMIN=`Allowed only in admin`,e.NOT_SUPPORTED=`Not supported`})(Ey||={}),Ey.PERMISSION_ERROR,Ey.NOT_CONNECTED;var Dy=[`material`,`echarts`,`vis`],Oy=class e{props;connId;lastAccessToken=null;tokenRefreshInProgress=!1;lastTokenUpdateAt=0;tokenUpdateFailures=0;ignoreState=``;connected=!1;subscribed=!1;firstConnect=!0;waitForRestart=!1;loaded=!1;simStates={};objectViewCached;constructor(e){this.props=this.applyDefaultProps(e),this.connId=`${this.props.name?`${this.props.name}-`:``}${Math.round(Math.random()*1e6).toString().padStart(6,`0`)}`,this.waitForSocketLib().then(()=>this.startSocket()).catch(e=>{alert(`Socket connection could not be initialized: ${e}`)})}applyDefaultProps(e){return{...e,protocol:e.protocol||globalThis.location.protocol,host:e.host||globalThis.location.hostname,port:e.port||(globalThis.location.port===`3000`?8081:globalThis.location.port),ioTimeout:Math.max(e.ioTimeout||2e4,2e4),cmdTimeout:Math.max(e.cmdTimeout||5e3,5e3),admin5only:e.admin5only||!1,autoSubscribes:e.autoSubscribes??[],autoSubscribeLog:e.autoSubscribeLog??!1,doNotLoadACL:e.doNotLoadACL??!0,doNotLoadAllObjects:e.doNotLoadAllObjects??!0}}statesSubscribes={};filesSubscribes={};objectsSubscribes={};objects={};states={};acl=null;isSecure=!1;onReadyDone=!1;onConnectionHandlers=[];onLogHandlers=[];onCmdStdoutHandler;onCmdStderrHandler;onCmdExitHandler;onError(e){(this.props.onError??console.error)(e)}_socket;_waitForSocketPromise;_waitForFirstConnectionPromise=by();_instanceSubscriptions={};_promises={};_authTimer=null;_refreshTimer=null;_systemConfig;get systemConfig(){return this._systemConfig}systemLang=`en`;static isWeb(){return globalThis.socketUrl!==void 0}waitForSocketLib(){return this._waitForSocketPromise||=new Promise(async(e,t)=>{if(this.props.connect)e();else if(globalThis.io===void 0&&globalThis.iob===void 0){if(typeof globalThis.registerSocketOnLoad==`function`)globalThis.registerSocketOnLoad(()=>e());else{for(let t=1;t<=30;t++){if(globalThis.io||globalThis.iob)return e();await Cy(100)}t(Error(`Socket library could not be loaded!`))}}else e()}),this._waitForSocketPromise}async startSocket(){if(this._socket)return;let t=this.props.host,n=this.props.port,r=(this.props.protocol||globalThis.location.protocol).replace(`:`,``),i=globalThis.location.pathname;if(globalThis.location.hostname===`iobroker.net`||globalThis.location.hostname===`iobroker.pro`)i=``;else{if(globalThis.socketUrl){let e=new globalThis.URL(globalThis.socketUrl);t=e.hostname,n=e.port,r=e.protocol.replace(`:`,``)}let a=i.lastIndexOf(`/`);if(a!==-1&&(i=i.substring(0,a+1)),e.isWeb()){let e=i.split(`/`);e.length>2&&(e.pop(),e.pop(),Dy.includes(e[e.length-1])&&e.pop(),i=e.join(`/`),i.endsWith(`/`)||(i+=`/`))}}let a=globalThis.socketPath||``,o=n?`${r}://${t}:${n}${a}`:`${r}://${t}${a}`,s=this.props.connect||(globalThis.io||globalThis.iob).connect;return this._socket=s(o,{path:i.endsWith(`/`)?`${i}socket.io`:`${i}/socket.io`,query:`ws=true`,name:this.props.name,timeout:this.props.ioTimeout,uuid:this.props.uuid,token:this.props.token,transports:globalThis.socketForceWebSockets?[`websocket`]:void 0}),this._socket.on(`connect`,t=>{globalThis.addEventListener?.(`storage`,this.onAccessTokenUpdated);let n=e.readTokens();if(n&&!n.owner){let e=Date.now();this.saveTokens({access_token:n.access_token,refresh_token:n.refresh_token,expires_in:Math.round((n.expires_in.getTime()-e)/1e3),refresh_token_expires_in:Math.round((n.refresh_token_expires_in.getTime()-e)/1e3),token_type:`Bearer`},n.stayLoggedIn)}this.onReadyDone=!1,t===!0?this._socket.emit(`authenticate`,(e,t)=>{this.onPreConnect(e,t)}):(this.connected=!0,setTimeout(()=>this.getVersion().then(e=>{let[t,n,r]=e.version.split(`.`);parseInt(t,10)*1e4+parseInt(n,10)*100+parseInt(r,10)<40102?(this._authTimer=null,this.onPreConnect(!1,!1)):this._socket.emit(`authenticate`,(e,t)=>this.onPreConnect(e,t))}).catch(e=>this.onError({message:e.toString(),operation:`getVersion`})),500))}),this._socket.on(`reconnect`,()=>{this.onReadyDone=!1,this.props.onProgress?.(Ty.READY),this.connected=!0,this.waitForRestart?globalThis.location.reload():(this._subscribe(!0),this.onConnectionHandlers.forEach(e=>e(!0)))}),this._socket.on(`disconnect`,()=>{this.onReadyDone=!1,this.connected=!1,this.subscribed=!1,this.props.onProgress?.(Ty.CONNECTING),this.onConnectionHandlers.forEach(e=>e(!1))}),this._socket.on(`reauthenticate`,()=>this.onReauthenticate()),this._socket.on(`log`,e=>{this.props.onLog?.(e),this.onLogHandlers.forEach(t=>t(e))}),this._socket.on(`error`,e=>{let t;e==null?t=``:typeof e.toString==`function`?t=e.toString():(t=JSON.stringify(e),console.error(`Received strange error: ${t}`)),t.includes(`User not authorized`)?this.authenticate():t.includes(`websocket error`)?(console.error(`Socket Error => reload: ${e}`),globalThis.location.reload()):console.error(`Socket Error: ${e}`)}),this._socket.on(`connect_error`,e=>console.error(`Connect error: ${e}`)),this._socket.on(`permissionError`,e=>this.onError({message:`no permission`,operation:e.operation,type:e.type,id:e.id||``})),this._socket.on(`objectChange`,(e,t)=>{setTimeout(()=>this.objectChange(e,t),0)}),this._socket.on(`stateChange`,(e,t)=>{setTimeout(()=>this.stateChange(e,t),0)}),this._socket.on(`im`,(e,t,n)=>{setTimeout(()=>this.instanceMessage(e,t,n),0)}),this._socket.on(`fileChange`,(e,t,n)=>{setTimeout(()=>this.fileChange(e,t,n),0)}),this._socket.on(`cmdStdout`,(e,t)=>{this.onCmdStdoutHandler?.(e,t)}),this._socket.on(`cmdStderr`,(e,t)=>{this.onCmdStderrHandler?.(e,t)}),this._socket.on(`cmdExit`,(e,t)=>{this.onCmdExitHandler?.(e,t)}),Promise.resolve()}onPreConnect(e,t){this._authTimer&&=(clearTimeout(this._authTimer),null),this.connected=!0,this.isSecure=t,this.waitForRestart?globalThis.location.reload():(this.firstConnect?this.loadData().catch(e=>{console.error(`Cannot load data: ${e}`)}):this.props.onProgress?.(Ty.READY),this._subscribe(!0),this.onConnectionHandlers.forEach(e=>e(!0)),this.checkAccessTokenExpire()),this._waitForFirstConnectionPromise.resolve()}static readTokens(){let e=globalThis.sessionStorage.getItem(`iob_tokens`),t=!e;if(e||=globalThis.localStorage.getItem(`iob_tokens`),!e)return null;let[n,r,i,a,o]=e.split(`;`),s=new Date(r);return s.getTime()<Date.now()?null:{refresh_token:n,refresh_token_expires_in:s,access_token:i,expires_in:new Date(a),owner:o,stayLoggedIn:t}}static saveTokensStatic(e,t,n){let r=`${e.refresh_token};${new Date(Date.now()+e.refresh_token_expires_in*1e3).toISOString()};${e.access_token};${new Date(Date.now()+e.expires_in*1e3).toISOString()}${n?`;${n}`:``}`;t?globalThis.localStorage.setItem(`iob_tokens`,r):globalThis.sessionStorage.setItem(`iob_tokens`,r)}saveTokens(t,n){e.saveTokensStatic(t,n,this.connId)}static deleteTokensStatic(){globalThis.localStorage.removeItem(`iob_tokens`),globalThis.sessionStorage.removeItem(`iob_tokens`)}static deleteStoredTokens(e){e?globalThis.localStorage.removeItem(`iob_tokens`):globalThis.sessionStorage.removeItem(`iob_tokens`)}deleteTokens(t,n){let r=e.readTokens();r&&(n?e.deleteTokensStatic():r.stayLoggedIn===t&&r.owner===this.connId&&(r.stayLoggedIn?globalThis.localStorage.removeItem(`iob_tokens`):globalThis.sessionStorage.removeItem(`iob_tokens`)))}onAccessTokenUpdated=t=>{if(t.key===`iob_tokens`){let t=e.readTokens();t&&(console.log(`Tab ${this.connId} received updated token: ${t.access_token}`),this.updateTokenExpiration(t.access_token))}};updateTokenExpiration(t){this.lastAccessToken!==t&&(this.lastAccessToken=t,this._socket.emit(`updateTokenExpiration`,t,(n,r)=>{if(n||!r){console.error(`[UPDATE/${new Date().toISOString()}] cannot say to server about new token: ${n||`not accepted`}`),this.tokenUpdateFailures++;let t=e.readTokens();t?.refresh_token&&!this.tokenRefreshInProgress&&this.tokenUpdateFailures<3?this.refreshTokens(t,!0):globalThis.location.reload()}else this.tokenUpdateFailures=0,this.lastTokenUpdateAt=Date.now(),console.log(`[UPDATE/${new Date().toISOString()}] server accepted new token: ${t}`)})),this.checkAccessTokenExpire()}onReauthenticate(){let t=e.readTokens();t?.refresh_token?this.tokenRefreshInProgress||Date.now()-this.lastTokenUpdateAt<5e3||(this.lastAccessToken!==t.access_token&&t.expires_in.getTime()>Date.now()+5e3?(console.log(`[AUTH/${new Date().toISOString()}] Announcing the token renewed by another tab`),this.updateTokenExpiration(t.access_token)):(console.log(`[AUTH/${new Date().toISOString()}] Access token rejected by the server => refreshing it`),this.refreshTokens(t,!0))):(console.log(`[AUTH/${new Date().toISOString()}] No refresh token => login page`),this.authenticate())}refreshTokens(t,n){if(!t)console.log(`[REFRESH/${new Date().toISOString()}] No token structure found => reloading the page`),setTimeout(()=>globalThis.location.reload(),500);else if(n||!t.owner||t.owner===this.connId){if(console.log(`[REFRESH/${new Date().toISOString()}] claim ownership of the token`),this.tokenRefreshInProgress){console.log(`[REFRESH/${new Date().toISOString()}] a refresh is already running`);return}this.acquireTokenLock()?(console.log(`[REFRESH/${new Date().toISOString()}] refreshing token`),this.tokenRefreshInProgress=!0,fetch(`./oauth/token`,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:`grant_type=refresh_token&refresh_token=${t.refresh_token}&client_id=ioBroker&stayloggedin=${t.stayLoggedIn}`}).then(e=>{if(e.ok)return e.json();let t=Error(`Cannot refresh access token: ${e.status}`);throw t.invalidGrant=e.status===400||e.status===401,t}).then(e=>{if(e.access_token)console.log(`[REFRESH/${new Date().toISOString()}] received new token: ${e.access_token}`),this.tokenRefreshInProgress=!1,this.saveTokens(e,t.stayLoggedIn),this.releaseTokenLock(),this.updateTokenExpiration(e.access_token);else{let e=Error(`Cannot get access token`);throw e.invalidGrant=!0,e}}).catch(n=>{console.warn(`[REFRESH/${new Date().toISOString()}] cannot refresh token: ${n}`),this.tokenRefreshInProgress=!1,this.releaseTokenLock();let r=e.readTokens();r&&r.refresh_token!==t.refresh_token?(console.log(`[REFRESH/${new Date().toISOString()}] tokens were renewed by another tab`),this.updateTokenExpiration(r.access_token)):n.invalidGrant?(e.deleteStoredTokens(t.stayLoggedIn),this.authenticate()):this._refreshTimer||=setTimeout(()=>{this._refreshTimer=null,this.checkAccessTokenExpire()},5e3)})):(console.log(`[REFRESH/${new Date().toISOString()}] Someone else is updating the token, so wait for the next check`),this._refreshTimer||=setTimeout(()=>{this._refreshTimer=null,this.checkAccessTokenExpire()},2e3))}else this.lastAccessToken!==t.access_token&&this.updateTokenExpiration(t.access_token)}acquireTokenLock(){let e=Date.now(),t=globalThis.localStorage.getItem(`iob_token_semaphore`);if(t)try{if(e<JSON.parse(t).expiry)return!1}catch{}let n={connId:this.connId,expiry:e+1e4};return globalThis.localStorage.setItem(`iob_token_semaphore`,JSON.stringify(n)),!0}releaseTokenLock(){let e=globalThis.localStorage.getItem(`iob_token_semaphore`);if(e)try{JSON.parse(e).connId===this.connId&&globalThis.localStorage.removeItem(`iob_token_semaphore`)}catch{globalThis.localStorage.removeItem(`iob_token_semaphore`)}}checkAccessTokenExpire(){if(this._refreshTimer&&=(clearTimeout(this._refreshTimer),null),!this.tokenRefreshInProgress&&this.isSecure){let t=e.readTokens();if(t){let e=t.expires_in.getTime();if(e<Date.now()+3e4){let n=e<Date.now()+5500;console.log(`[TOKEN/${new Date().toISOString()}] Updating refresh token ${t.access_token}`),t.refresh_token?t.owner===this.connId||n?(t.owner===this.connId?console.log(`[TOKEN/${new Date().toISOString()}] We are the owner of the token`):console.log(`[TOKEN/${new Date().toISOString()}] We are not the owner of the token, but we will take ownership`),this.props.tokenTimeoutHandler?(console.log(`[TOKEN/${new Date().toISOString()}] Asking GUI if we should prolong the token`),this.props.tokenTimeoutHandler(e).then(r=>{r?(console.log(`[TOKEN/${new Date().toISOString()}] Token will be prolonged`),this.refreshTokens(t,n)):(console.log(`[TOKEN/${new Date().toISOString()}] Token will not be prolonged. Reloading the page`),setTimeout(()=>globalThis.location.reload(),Date.now()>e?500:e-Date.now()))})):(console.log(`[TOKEN/${new Date().toISOString()}] No tokenTimeoutHandler defined. Prolonging the token`),this.refreshTokens(t,n))):this.lastAccessToken===t.access_token?(console.log(`[TOKEN/${new Date().toISOString()}] We are not the owner of the token and the token did not change. Check in 3 seconds if the owner updated the token`),this._refreshTimer=setTimeout(()=>{this._refreshTimer=null,this.checkAccessTokenExpire()},3e3)):(console.log(`[TOKEN/${new Date().toISOString()}] We are not the owner of the token, but we will inform the server about new token`),this.refreshTokens(t)):(console.log(`[TOKEN/${new Date().toISOString()}] We do not have a refresh token, so we need to reauthenticate`),setTimeout(()=>globalThis.location.reload(),Date.now()>e?500:e-Date.now()))}else this._refreshTimer=setTimeout(()=>{this._refreshTimer=null,this.checkAccessTokenExpire()},e-Date.now()-3e4>12e4?12e4:e-Date.now()-3e4)}}}static isCloud(){return globalThis.location.hostname.includes(`amazonaws.com`)||globalThis.location.hostname.includes(`iobroker.in`)?!0:globalThis.socketUrl===void 0?!1:globalThis.socketUrl.includes(`iobroker.in`)||globalThis.socketUrl.includes(`amazonaws`)}isConnected(){return this.connected}waitForFirstConnection(){return this._waitForFirstConnectionPromise}async getUserPermissions(){return this.request({commandTimeout:!1,executor:(e,t)=>{this._socket.emit(`getUserPermissions`,(n,r)=>{n?t(n):e(r||null)})}})}async loadData(){if(!this.loaded)for(let t=1;t<=10;t++){if(this.doLoadData().catch(e=>console.error(`Cannot load data: ${e}`)),this.loaded)return;await Cy(e.isCloud()?5e3:1e3)}}async doLoadData(){if(!this.loaded){if(!this.props.doNotLoadACL)try{this.acl=await this.getUserPermissions()}catch(e){this.onError(`Cannot read user permissions: ${e}`);return}try{this._systemConfig=this.props.admin5only&&!e.isWeb()&&(!globalThis.vendorPrefix||globalThis.vendorPrefix===`@@vendorPrefix@@`)?await this.getCompactSystemConfig():await this.getSystemConfig()}catch(e){this.onError(`Cannot read system config: ${e}`);return}this._systemConfig&&(this.systemLang=this._systemConfig.common?.language,this.systemLang||(this.systemLang=globalThis.navigator.userLanguage||globalThis.navigator.language,/^(en|de|ru|pt|nl|fr|it|es|pl|uk)-?/.test(this.systemLang)?this.systemLang=this.systemLang.substring(0,2):/^(en|de|ru|pt|nl|fr|it|es|pl|uk|zh-cn)$/.test(this.systemLang)||(this.systemLang=`en`),this._systemConfig.common.language=this.systemLang)),this.props.onLanguage?.(this.systemLang),this.loaded=!0,this.props.onProgress?.(Ty.CONNECTED),this.firstConnect=!1,this.objects=this.props.doNotLoadAllObjects?this.props.admin5only?{}:{"system.config":this._systemConfig}:await this.getObjects(),this.props.onProgress?.(Ty.READY),this.onReadyDone||(this.onReadyDone=!0,this.props.onReady?.(this.objects))}}authenticate(){globalThis.location.search.includes(`&href=`)?globalThis.location.href=`${globalThis.location.protocol}//${globalThis.location.host}${globalThis.location.pathname}${globalThis.location.search}`:globalThis.location.href=`${globalThis.location.protocol}//${globalThis.location.host}${globalThis.location.pathname}?login&href=${encodeURIComponent(globalThis.location.search+globalThis.location.hash)}`}async subscribeState(...t){let n,r,i;t.length===3?[n,r,i]=t:([n,i]=t,r=!1);let a;if(a=Array.isArray(n)?n:[n],typeof i!=`function`)throw Error(`The state change handler must be a function!`);let o=[];for(let e=0;e<a.length;e++){let t=a[e];this.statesSubscribes[t]?!this.statesSubscribes[t].cbs.includes(i)&&this.statesSubscribes[t].cbs.push(i):(this.statesSubscribes[t]={reg:new RegExp(wy(t)),cbs:[i]},n!==this.ignoreState&&o.push(t))}if(this.connected){if(o.length&&this._socket.emit(`subscribe`,o),r){let e;for(let t=0;t<a.length;t++){try{e=await this.getBinaryState(a[t])}catch(n){console.error(`Cannot getBinaryState "${a[t]}": ${JSON.stringify(n)}`),e=void 0}e!=null&&i(a[t],e)}}else if(a.find(e=>e.includes(`*`))){let e;for(let t=0;t<a.length;t++){try{e=await this.getForeignStates(a[t])}catch(e){console.error(`Cannot getForeignStates "${a[t]}": ${JSON.stringify(e)}`);return}if(e)for(let[t,n]of Object.entries(e)){let e=i(t,n);e instanceof Promise&&e.catch(e=>console.error(`Cannot call state change handler: ${e}`))}}}else try{let t=await(e.isWeb()?this.getStates(a):this.getForeignStates(a));if(t)for(let[e,n]of Object.entries(t)){let t=i(e,n);t instanceof Promise&&t.catch(e=>console.error(`Cannot call state change handler: ${e}`))}}catch(e){console.error(`Cannot getState "${a.join(`, `)}": ${e.message}`);return}}}async subscribeStateAsync(e,t){return this.subscribeState(e,t)}unsubscribeState(e,t){let n;n=Array.isArray(e)?e:[e];let r=[];for(let e=0;e<n.length;e++){let i=n[e];if(this.statesSubscribes[i]){let e=this.statesSubscribes[i];if(t){let n=e.cbs.indexOf(t);n!==-1&&e.cbs.splice(n,1)}else e.cbs=[];e.cbs?.length||(delete this.statesSubscribes[i],i!==this.ignoreState&&r.push(i))}}this.connected&&r.length&&this._socket.emit(`unsubscribe`,n)}subscribeObject(e,t){let n;if(n=Array.isArray(e)?e:[e],typeof t!=`function`)throw Error(`The object change handler must be a function!`);let r=[];for(let e=0;e<n.length;e++){let i=n[e];this.objectsSubscribes[i]?!this.objectsSubscribes[i].cbs.includes(t)&&this.objectsSubscribes[i].cbs.push(t):(this.objectsSubscribes[i]={reg:new RegExp(wy(i)),cbs:[t]},r.push(i))}return this.connected&&r.length&&this._socket.emit(`subscribeObjects`,r),Promise.resolve()}unsubscribeObject(e,t){let n;n=Array.isArray(e)?e:[e];let r=[];for(let e=0;e<n.length;e++){let i=n[e];if(this.objectsSubscribes[i]){let e=this.objectsSubscribes[i];if(t){let n=e.cbs.indexOf(t);n!==-1&&e.cbs.splice(n,1)}else e.cbs=[];e.cbs?.length||(delete this.objectsSubscribes[i],r.push(i))}}return this.connected&&r.length&&this._socket.emit(`unsubscribeObjects`,r),Promise.resolve()}objectChange(e,t){let n;this.objects[e]&&(n={_id:e,type:this.objects[e].type});let r=!1;t?(t._rev&&this.objects[e]&&(this.objects[e]._rev=t._rev),this.objects[e]&&JSON.stringify(this.objects[e])===JSON.stringify(t)||(this.objects[e]=t,r=!0)):this.objects[e]&&(delete this.objects[e],r=!0);for(let[r,i]of Object.entries(this.objectsSubscribes))(r===e||i.reg.test(e))&&i.cbs.forEach(r=>{try{let i=r(e,t,n);i instanceof Promise&&i.catch(e=>console.error(`Cannot call object change handler: ${e}`))}catch(e){console.error(`Error by callback of objectChange: ${e}`)}});if(r){let n=this.props.onObjectChange?.(e,t);n instanceof Promise&&n.catch(e=>console.error(`Cannot call object change handler: ${e}`))}}stateChange(e,t){for(let n of Object.values(this.statesSubscribes))if(n.reg.test(e))for(let r of n.cbs)try{let n=r(e,t??null);n instanceof Promise&&n.catch(e=>console.error(`Cannot call state change handler: ${e}`))}catch(e){console.error(`Error by callback of stateChanged: ${e}`)}}instanceMessage(e,t,n){this._instanceSubscriptions[t]?.forEach(r=>{if(r.messageType===e){let i=r.callback(n,t,e);i instanceof Promise&&i.catch(e=>console.error(`Cannot call instance message handler: ${e}`))}})}fileChange(e,t,n){for(let r of Object.values(this.filesSubscribes))if(r.regId.test(e)&&r.regFilePattern.test(t))for(let i of r.cbs)try{i(e,t,n)}catch(e){console.error(`Error by callback of fileChange: ${e}`)}}async subscribeFiles(e,t,n){if(typeof n!=`function`)throw Error(`The state change handler must be a function!`);let r;r=Array.isArray(t)?t:[t];let i=[];for(let t=0;t<r.length;t++){let a=r[t],o=`${e}$%$${a}`;this.filesSubscribes[o]?!this.filesSubscribes[o].cbs.includes(n)&&this.filesSubscribes[o].cbs.push(n):(this.filesSubscribes[o]={regId:new RegExp(wy(e)),regFilePattern:new RegExp(wy(a)),cbs:[n]},i.push(a))}return this.connected&&i.length&&this._socket.emit(`subscribeFiles`,e,i),Promise.resolve()}unsubscribeFiles(e,t,n){let r;r=Array.isArray(t)?t:[t];let i=[];for(let t=0;t<r.length;t++){let a=r[t],o=`${e}$%$${a}`;if(this.filesSubscribes[o]){let e=this.filesSubscribes[o];if(n){let t=e.cbs.indexOf(n);t!==-1&&e.cbs.splice(t,1)}else e.cbs=[];e.cbs?.length||(delete this.filesSubscribes[o],i.push(a))}}this.connected&&i.length&&this._socket.emit(`unsubscribeFiles`,e,i)}async request({cacheKey:t,forceUpdate:n,commandTimeout:r,onTimeout:i,requireAdmin:a,requireFeatures:o,executor:s}){if(a&&e.isWeb())return Promise.reject(Error(Ey.NOT_ADMIN));if(t&&!n&&t in this._promises)return this._promises[t];if(!this.connected)return Promise.reject(Error(Ey.NOT_CONNECTED));if(o?.length){for(let e of o)if(!await this.checkFeatureSupported(e))throw Error(Ey.NOT_SUPPORTED)}let c=new Promise(async(e,n)=>{let a={elapsed:!1,clearTimeout:()=>{}},o;r!==!1&&(o=setTimeout(()=>{a.elapsed=!0,i?.(),t&&this._promises[t]instanceof Promise&&delete this._promises[t],n(Error(Ey.TIMEOUT))},r??this.props.cmdTimeout),a.clearTimeout=()=>{clearTimeout(o)});try{await s(e,n,a)}catch(e){t&&this._promises[t]instanceof Promise&&delete this._promises[t],n(Error(e.toString()))}});return t&&(this._promises[t]=c),c}resetCache(e,t){t?Object.keys(this._promises).filter(t=>t.startsWith(e)).forEach(e=>{delete this._promises[e]}):delete this._promises[e]}getStates(e){return this.request({commandTimeout:!1,executor:(t,n)=>{this._socket.emit(`getStates`,e,(e,r)=>{this.states=r??{},e?n(e):t(this.states)})}})}getState(e){return this.request({commandTimeout:!1,executor:(t,n)=>{e&&e===this.ignoreState?t(this.simStates[e]||{val:null,ack:!0}):this._socket.emit(`getState`,e,(e,r)=>{e?n(e):t(r)})}})}getBinaryState(e){return this.request({commandTimeout:!1,executor:(t,n)=>{this._socket.emit(`getBinaryState`,e,(e,r)=>{e?n(e):t(r)})}})}setBinaryState(e,t){return this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`setBinaryState`,e,t,e=>{e?r(e):n()})}})}setState(e,t,n){return typeof n==`boolean`&&(t={val:t,ack:n}),this.request({commandTimeout:!1,executor:(r,i)=>{if(e&&e===this.ignoreState){let i;if(i=typeof n==`boolean`||typeof t==`object`&&t.val!==void 0?t:{val:t,ack:!1,ts:Date.now(),lc:Date.now(),from:`system.adapter.vis.0`},this.simStates[e]=i,this.statesSubscribes[e])for(let t of this.statesSubscribes[e].cbs)try{let n=t(e,i);n instanceof Promise&&n.catch(e=>console.error(`Cannot call state change handler: ${e}`))}catch(e){console.error(`Error by callback of stateChanged: ${e}`)}r()}else this._socket.emit(`setState`,e,t,e=>{e?i(e):r()})}})}getObjects(t,n){return this.request({commandTimeout:!1,executor:(r,i)=>{!t&&this.objects?r(this.objects):this._socket.emit(e.isWeb()?`getObjects`:`getAllObjects`,(e,t)=>{n||this.props.onProgress?.(Ty.OBJECTS_LOADED),e?i(e):(this.objects=t??{},r(this.objects))})}})}getObjectsById(e){return this.request({commandTimeout:!1,executor:(t,n)=>{this._socket.emit(`getObjects`,e,(e,r)=>{e?n(e):t(r)})}})}_subscribe(e){if(e&&!this.subscribed){this.subscribed=!0,this.props.autoSubscribes?.length&&this._socket.emit(`subscribeObjects`,this.props.autoSubscribes);let e=Object.keys(this.objectsSubscribes);e.length&&this._socket.emit(`subscribeObjects`,e),Object.keys(this.objectsSubscribes).forEach(e=>this._socket.emit(`subscribeObjects`,e)),this.props.autoSubscribeLog&&this._socket.emit(`requireLog`,!0),Object.keys(this.statesSubscribes).forEach(e=>this._socket.emit(`subscribe`,e)),Object.keys(this.filesSubscribes).forEach(e=>{let[t,n]=e.split(`$%$`);this._socket.emit(`subscribeFiles`,t,n)})}else if(!e&&this.subscribed){this.subscribed=!1,this.props.autoSubscribes?.length&&this._socket.emit(`unsubscribeObjects`,this.props.autoSubscribes);let e=Object.keys(this.objectsSubscribes);e.length&&this._socket.emit(`unsubscribeObjects`,e),this.props.autoSubscribeLog&&this._socket.emit(`requireLog`,!1),Object.keys(this.statesSubscribes).forEach(e=>this._socket.emit(`unsubscribe`,e)),Object.keys(this.filesSubscribes).forEach(e=>{let[t,n]=e.split(`$%$`);this._socket.emit(`unsubscribeFiles`,t,n)})}}requireLog(e){return this.request({commandTimeout:!1,executor:(t,n)=>{this._socket.emit(`requireLog`,e,e=>{e?n(e):t()})}})}delObject(e,t=!1){return this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`delObject`,e,{maintenance:t},e=>{e?r(e):n()})}})}delObjects(e,t){return this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`delObjects`,e,{maintenance:t},e=>{e?r(e):n()})}})}setObject(e,t){return t?(t=JSON.parse(JSON.stringify(t)),delete t.from,delete t.user,delete t.ts,this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`setObject`,e,t,e=>{e?r(e):n()})}})):Promise.reject(Error(`Null object is not allowed`))}getObject(e){return this.request({commandTimeout:!1,executor:(t,n)=>{e&&e===this.ignoreState?t({_id:this.ignoreState,type:`state`,common:{name:`ignored state`,type:`mixed`}}):this._socket.emit(`getObject`,e,(e,r)=>{e?n(e):t(r)})}})}sendTo(e,t,n){return this.request({commandTimeout:!1,executor:r=>{this._socket.emit(`sendTo`,e,t,n,e=>{r(e)})}})}extendObject(e,t){return t?(t=JSON.parse(JSON.stringify(t)),delete t.from,delete t.user,delete t.ts,this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`extendObject`,e,t,e=>{e?r(e):n()})}})):Promise.reject(Error(`Null object is not allowed`))}registerLogHandler(e){this.onLogHandlers.includes(e)||this.onLogHandlers.push(e)}unregisterLogHandler(e){let t=this.onLogHandlers.indexOf(e);t!==-1&&this.onLogHandlers.splice(t,1)}registerConnectionHandler(e){this.onConnectionHandlers.includes(e)||this.onConnectionHandlers.push(e)}unregisterConnectionHandler(e){let t=this.onConnectionHandlers.indexOf(e);t!==-1&&this.onConnectionHandlers.splice(t,1)}registerCmdStdoutHandler(e){this.onCmdStdoutHandler=e}unregisterCmdStdoutHandler(){this.onCmdStdoutHandler=void 0}registerCmdStderrHandler(e){this.onCmdStderrHandler=e}unregisterCmdStderrHandler(){this.onCmdStderrHandler=void 0}registerCmdExitHandler(e){this.onCmdExitHandler=e}unregisterCmdExitHandler(){this.onCmdExitHandler=void 0}getEnums(e,t){return this.request({cacheKey:`enums_${e||`all`}`,forceUpdate:t,commandTimeout:!1,executor:(t,n)=>{this._socket.emit(`getObjectView`,`system`,`enum`,{startkey:`enum.${e||``}`,endkey:e?`enum.${e}.\u9999`:`enum.香`},(r,i)=>{if(r)n(r);else{let n={};if(i)for(let t=0;t<i.rows.length;t++)e&&i.rows[t].id===`enum.${e}`||(n[i.rows[t].id]=i.rows[t].value);t(n)}})}})}getObjectView(e,t,n){return this.getObjectViewCustom(`system`,n,e,t)}async getObjectViewSystem(e,t,n){let r=`${e}_${t||``}_${n||``}`,i=await this.getObjectViewCustom(`system`,e,t,n);return this.objectViewCached?.[r]&&(this.objectViewCached[r]=i),i}async getObjectViewSystemCached(e,t,n){let r=`${e}_${t||``}_${n||``}`;if(this.objectViewCached?.[r])return Promise.resolve(this.objectViewCached[r]);let i=await this.getObjectViewCustom(`system`,e,t,n);return this.objectViewCached||={},this.objectViewCached[r]=i,i}getObjectViewCustom(e,t,n,r){return this.request({commandTimeout:!1,executor:(i,a)=>{n||=``,r||=`香`,this._socket.emit(`getObjectView`,e,t,{startkey:n,endkey:r},(e,t)=>{if(e)a(e);else{let e={};if(t&&t.rows)for(let n=0;n<t.rows.length;n++)e[t.rows[n].id]=t.rows[n].value;i(e)}})}})}readMetaItems(){return this.request({commandTimeout:!1,executor:(e,t)=>{this._socket.emit(`getObjectView`,`system`,`meta`,{startkey:``,endkey:`香`},(n,r)=>{n?t(n):e(r.rows?.map(e=>e.value).filter(e=>!!e))})}})}readDir(e,t){return this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`readDir`,e,t,(e,t)=>{e?r(e):n(t)})}})}readFile(e,t,n){return this.request({commandTimeout:!1,executor:(r,i)=>{this._socket.emit(n?`readFile64`:`readFile`,e,t,(e,t,n)=>{e?i(e):r({file:t,mimeType:n})})}})}writeFile64(e,t,n){return this.request({commandTimeout:!1,executor:(r,i)=>{if(typeof n==`string`)this._socket.emit(`writeFile`,e,t,n,e=>{e?i(e):r()});else{let a=btoa(new Uint8Array(n).reduce((e,t)=>e+String.fromCharCode(t),``));this._socket.emit(`writeFile64`,e,t,a,e=>{e?i(e):r()})}}})}deleteFile(e,t){return this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`deleteFile`,e,t,e=>{e?r(e):n()})}})}deleteFolder(e,t){return this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`deleteFolder`,e,t,e=>{e?r(e):n()})}})}rename(e,t,n){return this.request({commandTimeout:!1,executor:(r,i)=>{this._socket.emit(`rename`,e,t,n,e=>{e?i(e):r()})}})}renameFile(e,t,n){return this.request({commandTimeout:!1,executor:(r,i)=>{this._socket.emit(`renameFile`,e,t,n,e=>{e?i(e):r()})}})}cmdExec(e,t,n,r,i){return this.request({commandTimeout:r,executor:(r,a,o)=>{e=Sy(e);let s=e=>{o.elapsed||(o.clearTimeout(),e?a(e):r())};i?.length?this._socket.emit(`cmdExec`,e,n,t,i,s):this._socket.emit(`cmdExec`,e,n,t,s)}})}getSystemConfig(e){return this.request({cacheKey:`systemConfig`,forceUpdate:e,commandTimeout:!1,executor:async e=>{let t=await this.getObject(`system.config`);t??={},t.common??={},t.native??={},e(t)}})}getCompactSystemConfig(e){return this.request({cacheKey:`systemConfigCommon`,forceUpdate:e,commandTimeout:!1,executor:(e,t)=>{this._socket.emit(`getCompactSystemConfig`,(n,r)=>{n?t(n):(r??={},r.common??={},r.native??={},e(r))})}})}getForeignStates(e){return this.request({commandTimeout:!1,executor:(t,n)=>{this._socket.emit(`getForeignStates`,e||`*`,(e,r)=>{e?n(e):t(r??{})})}})}getForeignObjects(e,t){return this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`getForeignObjects`,e||`*`,t,(e,t)=>{e?r(e):n(t)})}})}setSystemConfig(e){return this.setObject(`system.config`,e)}getRawSocket(){return this._socket}getHistory(e,t){return this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`getHistory`,e,t,(e,t)=>{e?r(e):n(t)})}})}getHistoryEx(e,t){return this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`getHistory`,e,t,(e,t,i,a)=>{e?r(e):n({values:t,sessionId:a,step:i})})}})}getIpAddresses(e,t){return e=Sy(e),this.request({cacheKey:`IPs_${e}`,forceUpdate:t,commandTimeout:!1,executor:async t=>{t((await this.getObject(e))?.common.address??[])}})}getVersion(e){return this.request({cacheKey:`version`,forceUpdate:e,commandTimeout:!1,executor:(e,t)=>{this._socket.emit(`getVersion`,(n,r,i)=>{n&&!r&&typeof n==`string`&&n.match(/\d+\.\d+\.\d+/)?e({version:n,serverName:`socketio`}):n?t(n):e({version:r,serverName:i})})}})}getWebServerName(){return this.request({cacheKey:`webName`,commandTimeout:!1,executor:(e,t)=>{this._socket.emit(`getAdapterName`,(n,r)=>{n?t(n):e(r)})}})}fileExists(e,t){return this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`fileExists`,e,t,(e,t)=>{e?r(e):n(!!t)})}})}getCurrentUser(){return this.request({commandTimeout:!1,executor:e=>{this._socket.emit(`authEnabled`,(t,n)=>{e(n)})}})}getUuid(){return this.request({cacheKey:`uuid`,commandTimeout:!1,executor:async e=>{e((await this.getObject(`system.meta.uuid`))?.native?.uuid)}})}checkFeatureSupported(e,t){return this.request({cacheKey:`supportedFeatures_${e}`,forceUpdate:t,commandTimeout:!1,executor:(t,n)=>{this._socket.emit(`checkFeatureSupported`,e,(e,r)=>{e?n(e):t(r)})}})}getAdapterInstances(e,t){return typeof e==`boolean`&&(t=e,e=``),e||=``,this.request({cacheKey:`instances_${e}`,forceUpdate:t,commandTimeout:!1,executor:async t=>{let n=e?`system.adapter.${e}.`:`system.adapter.`,r=`${n}\u9999`,i=await this.getObjectViewSystem(`instance`,n,r),a=Object.values(i);t(e?a.filter(t=>t.common.name===e):a)}})}getAdapters(e,t){return typeof e==`boolean`&&(t=e,e=``),e||=``,this.request({cacheKey:`adapter_${e}`,forceUpdate:t,commandTimeout:!1,executor:async t=>{let n=await this.getObjectViewSystem(`adapter`,`system.adapter.${e||``}`,`system.adapter.${e||`香`}`),r=Object.values(n);t(e?r.filter(t=>t.common.name===e):r)}})}getGroups(e){return this.request({cacheKey:`groups`,forceUpdate:e,commandTimeout:!1,executor:(e,t)=>{this._socket.emit(`getObjectView`,`system`,`group`,{startkey:`system.group.`,endkey:`system.group.香`},(n,r)=>{n?t(n):e(xy(r))})}})}logout(){return this.request({commandTimeout:!1,executor:(e,t)=>{this._socket.emit(`logout`,n=>{n?t(n):e(null)})}})}subscribeOnInstance(e,t,n,r){return this.request({commandTimeout:!1,executor:(i,a)=>{this._socket.emit(`clientSubscribe`,e,t,n,(n,o)=>{n?a(n):o&&(o.error?a(o.error):(e.startsWith(`system.adapter.`)||(e=`system.adapter.${e}`),this._instanceSubscriptions[e]=this._instanceSubscriptions[e]||[],this._instanceSubscriptions[e].find(e=>e.messageType===t&&e.callback===r)||this._instanceSubscriptions[e].push({messageType:t,callback:r}),i(o)))})}})}unsubscribeFromInstance(e,t,n){e.startsWith(`system.adapter.`)||(e=`system.adapter.${e}`);let r,i=[];do{r=!1;let a=this._instanceSubscriptions[e]?.findIndex(e=>(!t||e.messageType===t)&&(!n||e.callback===n));if(a!=null&&a!==-1){r=!0;let n=this._instanceSubscriptions[e][a].messageType;this._instanceSubscriptions[e].splice(a,1),this._instanceSubscriptions[e].length||delete this._instanceSubscriptions[e],this._instanceSubscriptions[e]&&this._instanceSubscriptions[e].find(e=>e.messageType===n)||i.push(this.request({commandTimeout:!1,executor:(n,r)=>{this._socket.emit(`clientUnsubscribe`,e,t,(e,t)=>e?r(e):n(t))}}))}}while(r&&(!n||!t));return i.length?Promise.all(i).then(e=>!!e.find(e=>e)):Promise.resolve(!1)}log(e,t){return e?this.request({commandTimeout:!1,executor:n=>(this._socket.emit(`log`,e,t),n(null))}):Promise.resolve(null)}setStateToIgnore(e){this.ignoreState=e}destroy(){if(this._socket){let e=this._socket;try{typeof e.destroy==`function`?e.destroy():typeof e.close==`function`&&e.close(!0)}catch{}}globalThis.removeEventListener?.(`storage`,this.onAccessTokenUpdated),this._authTimer&&=(clearTimeout(this._authTimer),null),this._refreshTimer&&=(clearTimeout(this._refreshTimer),null),this.onConnectionHandlers.length=0,this.onLogHandlers.length=0;for(let e of Object.keys(this.statesSubscribes))delete this.statesSubscribes[e];for(let e of Object.keys(this.objectsSubscribes))delete this.objectsSubscribes[e];for(let e of Object.keys(this.filesSubscribes))delete this.filesSubscribes[e];this._instanceSubscriptions={},this.connected=!1,this.onReadyDone=!1}},ky=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,Ay=globalThis,jy=`10.73.0`;function My(){return Ny(Ay),Ay}function Ny(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.73.0`,t[jy]=t[`10.73.0`]||{}}function Py(e,t,n=Ay){let r=n.__SENTRY__=n.__SENTRY__||{},i=r[jy]=r[`10.73.0`]||{};return i[e]||(i[e]=t())}var Fy=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],Iy=`Sentry Logger `,Ly={};function Ry(e){if(!(`console`in Ay))return e();let t=Ay.console,n={},r=Object.keys(Ly);r.forEach(e=>{let r=Ly[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function zy(){Ky().enabled=!0}function By(){Ky().enabled=!1}function Vy(){return Ky().enabled}function Hy(...e){Gy(`log`,...e)}function Uy(...e){Gy(`warn`,...e)}function Wy(...e){Gy(`error`,...e)}function Gy(e,...t){ky&&Vy()&&Ry(()=>{Ay.console[e](`${Iy}[${e}]:`,...t)})}function Ky(){return ky?Py(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var qy={enable:zy,disable:By,isEnabled:Vy,log:Hy,warn:Uy,error:Wy},Jy=50,Yy=/\(error: (.*)\)/,Xy=/captureMessage|captureException/;function Zy(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(`
|
|
222
|
+
`);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=Yy.test(n)?n.replace(Yy,`$1`):n;if(!o.includes(`Error: `)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=Jy+r)break}}return $y(i.slice(r))}}function Qy(e){return Array.isArray(e)?Zy(...e):e}function $y(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(eb(t).function||``)&&t.pop(),t.reverse(),Xy.test(eb(t).function||``)&&(t.pop(),Xy.test(eb(t).function||``)&&t.pop()),t.slice(0,Jy).map(e=>({...e,filename:e.filename||eb(t).filename,function:e.function||`?`}))}function eb(e){return e[e.length-1]||{}}var tb=`<anonymous>`;function nb(e){try{return!e||typeof e!=`function`?tb:e.name||tb}catch{return tb}}function rb(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}var ib={},ab={};function ob(e,t){return ib[e]=ib[e]||[],ib[e].push(t),()=>{let n=ib[e];if(n){let e=n.indexOf(t);e!==-1&&n.splice(e,1)}}}function sb(e,t){if(!ab[e]){ab[e]=!0;try{t()}catch(t){ky&&qy.error(`Error while instrumenting ${e}`,t)}}}function cb(e,t){let n=e&&ib[e];if(n)for(let r of n)try{r(t)}catch(t){ky&&qy.error(`Error while triggering instrumentation handler.
|
|
223
|
+
Type: ${e}
|
|
224
|
+
Name: ${nb(r)}
|
|
225
|
+
Error:`,t)}}var lb=null;function ub(e){let t=`error`;ob(t,e),sb(t,db)}function db(){lb=Ay.onerror,Ay.onerror=function(e,t,n,r,i){return cb(`error`,{column:r,error:i,line:n,msg:e,url:t}),lb?lb.apply(this,arguments):!1},Ay.onerror.__SENTRY_INSTRUMENTED__=!0}var fb=null;function pb(e){let t=`unhandledrejection`;ob(t,e),sb(t,mb)}function mb(){fb=Ay.onunhandledrejection,Ay.onunhandledrejection=function(e){return cb(`unhandledrejection`,e),!fb||fb.apply(this,arguments)},Ay.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var hb=Object.prototype.toString;function gb(e){switch(hb.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:case`[object WebAssembly.Exception]`:return!0;default:return kb(e,Error)}}function _b(e,t){return hb.call(e)===`[object ${t}]`}function vb(e){return _b(e,`ErrorEvent`)}function yb(e){return _b(e,`DOMError`)}function bb(e){return _b(e,`DOMException`)}function xb(e){return _b(e,`String`)}function Sb(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function Cb(e){return e===null||Sb(e)||typeof e!=`object`&&typeof e!=`function`}function wb(e){return _b(e,`Object`)}function Tb(e){return typeof e==`object`&&!!e}function Eb(e){return typeof Event<`u`&&kb(e,Event)}function Db(e){return _b(e,`RegExp`)}function Ob(e){return!!(e?.then&&typeof e.then==`function`)}function kb(e,t){try{return e instanceof t}catch{return!1}}function Ab(e){return typeof Request<`u`&&kb(e,Request)}function jb(e,t,n){if(!(t in e))return;let r=e[t];if(typeof r!=`function`)return;let i=n(r);typeof i==`function`&&Nb(i,r);try{e[t]=i}catch{ky&&qy.log(`Failed to replace method "${t}" in object`,e)}}function Mb(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{ky&&qy.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function Nb(e,t){try{e.prototype=t.prototype=t.prototype||{},Mb(e,`__sentry_original__`,t)}catch{}}function Pb(e){return e.__sentry_original__}function Fb(e){if(gb(e))return{message:e.message,name:e.name,stack:e.stack,...Ib(e)};if(Eb(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...Ib(e)}}return e}function Ib(e){return Tb(e)?Object.fromEntries(Object.entries(e)):{}}function Lb(e){let t=Object.keys(Fb(e));return t.sort(),t[0]?t.join(`, `):`[object has no keys]`}var Rb;function zb(e){if(Rb!==void 0)return Rb?Rb(e):e();let t=Symbol.for(`__SENTRY_SAFE_RANDOM_ID_WRAPPER__`),n=Ay;return t in n&&typeof n[t]==`function`?(Rb=n[t],Rb(e)):(Rb=null,e())}function Bb(){return zb(()=>Math.random())}function Vb(){return zb(()=>Date.now())}var Hb=Symbol.for(`sentry.skipNormalization`),Ub=Symbol.for(`sentry.overrideNormalizationDepth`);function Wb(e){return!!e[Hb]}function Gb(e){let t=e[Ub];return typeof t==`number`?t:void 0}var Kb;function qb(e){Kb=e}function Jb(e,t=100,n=1/0){try{return Xb(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Yb(e,t=3,n=102400){let r=Jb(e,t);return ex(r)>n?Yb(e,t-1,n):r}function Xb(e,t,n=1/0,r=1/0,i=tx()){let[a,o]=i;if(t==null||[`boolean`,`string`].includes(typeof t)||typeof t==`number`&&Number.isFinite(t))return t;let s=Zb(e,t);if(!s.startsWith(`[object `))return s;if(Wb(t))return t;let c=Gb(t),l=c===void 0?n:c;if(l===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let u=t;if(u&&typeof u.toJSON==`function`)try{return Xb(``,u.toJSON(),l-1,r,i)}catch{}let d=Array.isArray(t)?[]:{},f=0,p=Fb(t);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(f>=r){d[e]=`[MaxProperties ~]`;break}let t=p[e];d[e]=Xb(e,t,l-1,r,i),f++}return o(t),d}function Zb(e,t){try{if(Kb){let e=Kb(t);if(e)return e}return typeof global<`u`&&t===global?`[Global]`:typeof t==`number`&&!Number.isFinite(t)?`[${t}]`:typeof t==`function`?`[Function: ${nb(t)}]`:typeof t==`symbol`?`[${String(t)}]`:typeof t==`bigint`?`[BigInt: ${String(t)}]`:`[object ${Qb(t)}]`}catch(e){return`**non-serializable** (${e})`}}function Qb(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function $b(e){return~-encodeURI(e).split(/%..|./).length}function ex(e){return $b(JSON.stringify(e))}function tx(){let e=new WeakSet;function t(t){return e.has(t)?!0:(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}function nx(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function rx(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];Cb(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(Zb(void 0,r))}return n.join(t)}function ix(e,t,n=!1){return xb(e)?Db(t)?t.test(e):xb(t)?n?e===t:e.includes(t):typeof t==`function`&&t(e):!1}function ax(e,t=[],n=!1){for(let r of t)if(ix(e,r,n))return!0;return!1}function ox(){let e=Ay;return e.crypto||e.msCrypto}var sx;function cx(){return Bb()*16}function lx(e=ox()){try{if(e?.randomUUID)return zb(()=>e.randomUUID()).replace(/-/g,``)}catch{}return sx||=`10000000100040008000100000000000`,sx.replace(/[018]/g,e=>(e^(cx()&15)>>e/4).toString(16))}function ux(e){return e.exception?.values?.[0]}function dx(e){let{message:t,event_id:n}=e;if(t)return t;let r=ux(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function fx(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||=t||``,a.type||=n||`Error`}function px(e,t){let n=ux(e);if(!n)return;let r={type:`generic`,handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&`data`in t){let e={...i?.data,...t.data};n.mechanism.data=e}}function mx(e){if(hx(e))return!0;try{Mb(e,`__sentry_captured__`,!0)}catch{}return!1}function hx(e){try{return e.__sentry_captured__}catch{}}var gx=1e3;function _x(){return Vb()/gx}function vx(){let{performance:e}=Ay;if(!e?.now||!e.timeOrigin)return _x;let t=e.timeOrigin;return()=>(t+zb(()=>e.now()))/gx}var yx;function bx(){return(yx??=vx())()}function xx(e){let t=bx(),n={sid:lx(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>wx(n)};return e&&Sx(n,e),n}function Sx(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||bx(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:lx()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started==`number`&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration==`number`)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Cx(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),Sx(e,n)}function wx(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did==`number`||typeof e.did==`string`?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function Tx(e,t,n=2){if(!t||typeof t!=`object`||n<=0)return t;if(e&&Object.keys(t).length===0)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=Tx(r[e],t[e],n-1));return r}function Ex(){return lx()}function Dx(){return lx().substring(16)}function Ox(e){try{let t=Ay.WeakRef;if(typeof t==`function`)return new t(e)}catch{}return e}function kx(e){if(e){if(typeof e==`object`&&`deref`in e&&typeof e.deref==`function`)try{return e.deref()}catch{return}return e}}var Ax=`_sentrySpan`;function jx(e,t){t?Mb(e,Ax,Ox(t)):delete e[Ax]}function Mx(e){return kx(e[Ax])}var Nx=100,Px=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Ex(),sampleRand:Bb()}}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,jx(t,Mx(this)),t}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Sx(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let n=typeof t==`function`?t(this):t,{tags:r,attributes:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u,conversationId:d}=(n instanceof e?n.getScopeData():wb(n)?t:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,jx(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Ex(),sampleRand:Bb()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:Nx;if(n<=0)return this;let r={timestamp:_x(),...e,message:e.message?nx(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent(`buffer_overflow`,`log_item`)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Mx(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=Tx(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||lx();if(!this._client)return ky&&qy.warn(`No client configured on scope - will not capture exception!`),n;let r=Error(`Sentry syntheticException`);return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n?.event_id||lx();if(!this._client)return ky&&qy.warn(`No client configured on scope - will not capture message!`),r;let i=n?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=e.event_id||t?.event_id||lx();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(ky&&qy.warn(`No client configured on scope - will not capture event!`),n)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),!1)}};function Fx(){return Py(`defaultCurrentScope`,()=>new Px)}function Ix(){return Py(`defaultIsolationScope`,()=>new Px)}var Lx=e=>e instanceof Promise&&!e[Rx],Rx=Symbol(`chained PromiseLike`),zx=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return Lx(r)&&Lx(e)?r:Bx(e,r)},Bx=(e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];typeof i==`function`?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[Rx]:!0}),t},Vx=class{constructor(e,t){let n;n=e||new Px;let r;r=t||new Px,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t=this._pushScope(),n;try{n=e(t)}catch(e){throw this._popScope(),e}return Ob(n)?zx(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function Hx(){let e=Ny(My());return e.stack=e.stack||new Vx(Fx(),Ix())}function Ux(e){return Hx().withScope(e)}function Wx(e,t){let n=Hx();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Gx(e){return Hx().withScope(()=>e(Hx().getIsolationScope()))}function Kx(){return{withIsolationScope:Gx,withScope:Ux,withSetScope:Wx,withSetIsolationScope:(e,t)=>Gx(t),getCurrentScope:()=>Hx().getScope(),getIsolationScope:()=>Hx().getIsolationScope()}}function qx(e){let t=Ny(e);return t.acs?t.acs:Kx()}function Jx(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).includes(`value`)}function Yx(e,t){let{value:n,unit:r}=Jx(e)?e:{value:e,unit:void 0},i=Zx(n),a=r&&typeof r==`string`?{unit:r}:{};if(i)return{...i,...a};if(!t||t===`skip-undefined`&&n===void 0)return;let o=``;try{o=JSON.stringify(n)??``}catch{}return{value:o,type:`string`,...a}}function Xx(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=Yx(i,t);e&&(n[r]=e)}return n}function Zx(e){if(Array.isArray(e))return{value:e,type:`array`};let t=typeof e==`string`?`string`:typeof e==`boolean`?`boolean`:typeof e==`number`&&!Number.isNaN(e)?Number.isInteger(e)?`integer`:`double`:null;if(t)return{value:e,type:t}}function Qx(){return qx(My()).getCurrentScope()}function $x(){return qx(My()).getIsolationScope()}function eS(){return Py(`globalScope`,()=>new Px)}function tS(...e){let t=qx(My());if(e.length===2){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function nS(){return Qx().getClient()}function rS(e){let{traceId:t,parentSpanId:n,propagationSpanId:r}=e.getPropagationContext(),i={trace_id:t,span_id:r||Dx()};return n&&(i.parent_span_id=n),i}var iS=`sentry.op`,aS=`sentry.origin`,oS=`sentry.profile_id`,sS=`sentry.exclusive_time`,cS=`gen_ai.conversation.id`,lS=`_sentryScope`,uS=`_sentryIsolationScope`;function dS(e){let t=e;return{scope:t[lS],isolationScope:kx(t[uS])}}function fS(e){let t=pS(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(`sentry-`)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function pS(e){if(e&&(xb(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{let n=mS(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):mS(e)}function mS(e){return e.split(`,`).map(e=>{let t=e.indexOf(`=`);return t===-1?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}var hS=/^o(\d+)\./,gS=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function _S(e){return e===`http`||e===`https`}function vS(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:``}@${n}${a?`:${a}`:``}/${r&&`${r}/`}${o}`}function yS(e){let t=gS.exec(e);if(!t){Ry(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i=``,a=``,o=``,s=``]=t.slice(1),c=``,l=s,u=l.split(`/`);if(u.length>1&&(c=u.slice(0,-1).join(`/`),l=u.pop()),l){let e=l.match(/^\d+/);e&&(l=e[0])}return bS({host:a,pass:i,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function bS(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function xS(e){if(!ky)return!0;let{port:t,projectId:n,protocol:r}=e;return[`protocol`,`publicKey`,`host`,`projectId`].find(t=>!e[t]&&(qy.error(`Invalid Sentry Dsn: ${t} missing`),!0))?!1:n.match(/^\d+$/)?_S(r)?t&&isNaN(parseInt(t,10))?(qy.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(qy.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(qy.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function SS(e){return e.match(hS)?.[1]}function CS(e){let t=e.getOptions(),{host:n}=e.getDsn()||{},r;return t.orgId?r=String(t.orgId):n&&(r=SS(n)),r}function wS(e){let t=typeof e==`string`?yS(e):bS(e);if(t&&xS(t))return t}function TS(e){if(typeof e==`boolean`)return Number(e);let t=typeof e==`string`?parseFloat(e):e;if(!(typeof t!=`number`||isNaN(t)||t<0||t>1))return t}var ES=!1;function DS(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:jS(e).parent_span_id,a=dS(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||Dx():t,trace_id:n}}function OS(e){if(e&&e.length>0)return e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===1,attributes:i,...r}))}function kS(e){return typeof e==`number`?AS(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?AS(e.getTime()):bx()}function AS(e){return e>9999999999?e/1e3:e}function jS(e){if(FS(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(PS(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:MS(e),start_timestamp:kS(i),timestamp:kS(o)||void 0,status:LS(s),op:r[iS],origin:r[aS],links:OS(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function MS(e){return`parentSpanId`in e?e.parentSpanId:`parentSpanContext`in e?e.parentSpanContext?.spanId:void 0}function NS(e){return{...e,attributes:Xx(e.attributes),links:e.links?.map(e=>({...e,attributes:Xx(e.attributes)}))}}function PS(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function FS(e){return typeof e.getSpanJSON==`function`}function IS(e){let{traceFlags:t}=e.spanContext();return t===1}function LS(e){if(e&&e.code!==0)return e.code===1?`ok`:e.message||`internal_error`}var RS=`_sentryRootSpan`,zS=BS;function BS(e){return e[RS]||e}function VS(){ES||=(Ry(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),!0)}function HS(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||nS()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function US(e){qy.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function WS(e,t){if(!t?.length)return!1;for(let n of t){if(qS(n)){if(e.description&&ix(e.description,n))return ky&&US(e),!0;continue}let t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;let r=!n.name||e.description&&ix(e.description,n.name),i=!n.op||e.op&&ix(e.op,n.op),a=!n.attributes||Object.entries(n.attributes).every(([t,n])=>GS(e.attributes?.[t],n));if(r&&i&&a)return ky&&US(e),!0}return!1}function GS(e,t){return typeof e==`string`&&(typeof t==`string`||t instanceof RegExp)?ix(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}function KS(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}function qS(e){return typeof e==`string`||e instanceof RegExp}var JS=Symbol.for(`sentry.nonRecordingSpan`);function YS(e){return!!e&&e[JS]===!0}var XS=`production`,ZS=`_frozenDsc`;function QS(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||`production`,release:n.release,public_key:r,trace_id:e,org_id:CS(t)};return t.emit(`createDsc`,i),i}function $S(e,t){let n=t.getPropagationContext();return n.dsc||QS(n.traceId,e)}function eC(e){let t=nS();if(!t)return{};let n=zS(e),r=jS(n),i=r.data,a=n.spanContext().traceState,o=a?.get(`sentry.sample_rate`)??i[`sentry.sample_rate`]??i[`sentry.previous_trace_sample_rate`];function s(e){return(typeof o==`number`||typeof o==`string`)&&(e.sample_rate=`${o}`),e}let c=n[ZS];if(c)return s(c);let l=YS(n),u=l&&n.dropReason===`ignored`;if(l&&(!HS(t.getOptions())||u)){let e=dS(n).scope;if(e){let n={...$S(t,e)};return u&&(n.sampled=`false`),s(n)}}let d=a?.get(`sentry.dsc`),f=d&&fS(d);if(f)return s(f);let p=QS(e.spanContext().traceId,t),m=i[`sentry.source`]??i[`sentry.segment.name.source`],h=r.description;return m!==`url`&&h&&(p.transaction=h),HS()&&(p.sampled=String(IS(n)),p.sample_rand=a?.get(`sentry.sample_rand`)??dS(n).scope?.getPropagationContext().sampleRand.toString()),s(p),t.emit(`createDsc`,p,n),p}function tC(e){return!!e&&typeof e==`function`&&`_streamed`in e&&!!e._streamed}function nC(e,t=[]){return[e,t]}function rC(e,t){let[n,r]=e;return[n,[...r,t]]}function iC(e,t){let n=e[1];for(let e of n){let n=e[0].type;if(t(e,n))return!0}return!1}function aC(e,t){return iC(e,(e,n)=>t.includes(n))}function oC(e){let t=Ny(Ay);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function sC(e){let[t,n]=e,r=JSON.stringify(t);function i(e){typeof r==`string`?r=typeof e==`string`?r+e:[oC(r),e]:r.push(typeof e==`string`?oC(e):e)}for(let e of n){let[t,n]=e;if(i(`
|
|
226
|
+
${JSON.stringify(t)}
|
|
227
|
+
`),typeof n==`string`||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(Jb(n))}i(e)}}return typeof r==`string`?r:cC(r)}function cC(e){let t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}function lC(e){let t=typeof e.data==`string`?oC(e.data):e.data;return[{type:`attachment`,length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}var uC={sessions:`session`,event:`error`,client_report:`internal`,user_report:`default`,profile_chunk:`profile`,replay_event:`replay`,replay_recording:`replay`,check_in:`monitor`,raw_security:`security`,log:`log_item`,trace_metric:`metric`};function dC(e){return e in uC}function fC(e){return dC(e)?uC[e]:e}function pC(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function mC(e,t,n,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(Vb()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:vS(r)},...i&&{trace:i}}}function hC(e,t){if(!t)return e;let n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function gC(e,t,n,r){let i=pC(n);return nC({sent_at:new Date(Vb()).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:vS(t)}},[`aggregates`in e?[{type:`sessions`},e]:[{type:`session`},e.toJSON()]])}function _C(e,t,n,r){let i=pC(n),a=e.type&&e.type!==`replay_event`?e.type:`event`;hC(e,n?.sdk);let o=mC(e,i,r,t);return delete e.sdkProcessingMetadata,nC(o,[[{type:a},e]])}function vC(e){return e.getOptions().traceLifecycle===`stream`}function yC(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;CC(e,t),r&&EC(e,r),DC(e,n),wC(e,i),TC(e,a)}function bC(e,t){let{extra:n,tags:r,attributes:i,user:a,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:f,propagationContext:p,transactionName:m,span:h}=t;xC(e,`extra`,n),xC(e,`tags`,r),xC(e,`attributes`,i),xC(e,`user`,a),xC(e,`contexts`,o),e.sdkProcessingMetadata=Tx(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function xC(e,t,n){e[t]=Tx(e[t],n,1)}function SC(e,t){let n=eS().getScopeData();return e&&bC(n,e.getScopeData()),t&&bC(n,t.getScopeData()),n}function CC(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&e.type!==`transaction`&&(e.transaction=s)}function wC(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function TC(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function EC(e,t){e.contexts={trace:DS(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:eC(t),...e.sdkProcessingMetadata};let n=jS(zS(t)).description;n&&!e.transaction&&e.type===`transaction`&&(e.transaction=n)}function DC(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}var OC=`url.full`;function kC(e,t){let n=e.attributes??={};Object.entries(t).forEach(([e,t])=>{t!=null&&!(e in n)&&(n[e]=t)})}var AC=0,jC=1,MC=2;function NC(e){return new FC(t=>{t(e)})}function PC(e){return new FC((t,n)=>{n(e)})}var FC=class e{constructor(e){this._state=AC,this._handlers=[],this._runExecutor(e)}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>{if(!t)e(n);else try{e(t(n))}catch(e){r(e)}},t=>{if(!n)r(t);else try{e(n(t))}catch(e){r(e)}}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{i?n(r):e(r)})})}_executeHandlers(){if(this._state===AC)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===jC&&e[1](this._value),this._state===MC&&e[2](this._value),!0)})}_runExecutor(e){let t=(e,t)=>{this._state===AC&&(Ob(t)?t.then(n,r):(this._state=e,this._value=t,this._executeHandlers()))},n=e=>{t(jC,e)},r=e=>{t(MC,e)};try{e(n,r)}catch(e){r(e)}}};function IC(e,t,n,r=0){try{let i=LC(t,n,e,r);return Ob(i)?i:NC(i)}catch(e){return PC(e)}}function LC(e,t,n,r){let i=n[r];if(!e||!i)return e;let a=i({...e},t);return ky&&a===null&&qy.log(`Event processor "${i.id||`?`}" dropped event`),Ob(a)?a.then(e=>LC(e,t,n,r+1)):LC(a,t,n,r+1)}var RC,zC,BC,VC;function HC(e){let t=Ay._sentryDebugIds,n=Ay._debugIds;if(!t&&!n)return{};let r=t?Object.keys(t):[],i=n?Object.keys(n):[];if(VC&&r.length===zC&&i.length===BC)return VC;zC=r.length,BC=i.length,VC={},RC||={};let a=(t,n)=>{for(let r of t){let t=n[r],i=RC?.[r];if(i&&VC&&t)VC[i[0]]=t,RC&&(RC[r]=[i[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let i=n[e]?.filename;if(i&&VC&&RC){VC[i]=t,RC[r]=[i,t];break}}}}};return t&&a(r,t),n&&a(i,n),VC}function UC(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||lx(),timestamp:t.timestamp||_x()},l=n.integrations||e.integrations.map(e=>e.name);WC(c,e),qC(c,l),i&&i.emit(`applyFrameMetadata`,t),t.type===void 0&&GC(c,e.stackParser);let u=YC(r,n.captureContext);n.mechanism&&px(c,n.mechanism);let d=i?i.getEventProcessors():[],f=SC(a,u),p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),yC(c,f);let m=[...d,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?NC(c):IC(m,c,n)).then(e=>(e&&KC(e),typeof o==`number`&&o>0?JC(e,o,s):e))}function WC(e,t){let{environment:n,release:r,dist:i,maxValueLength:a}=t;e.environment=e.environment||n||`production`,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=nx(o.url,a)),a&&e.exception?.values?.forEach(e=>{e.value&&=nx(e.value,a)})}function GC(e,t){let n=HC(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}function KC(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:`sourcemap`,code_file:e,debug_id:t})})}function qC(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function JC(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:Jb(e.data,t,n)}}))},...e.user&&{user:Jb(e.user,t,n)},...e.contexts&&{contexts:Jb(e.contexts,t,n)},...e.extra&&{extra:Jb(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Jb(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:Jb(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=Jb(e.contexts.flags,3,n)),r}function YC(e,t){if(!t)return e;let n=e?e.clone():new Px;return n.update(t),n}function XC(e){if(e)return ZC(e)||$C(e)?{captureContext:e}:e}function ZC(e){return e instanceof Px||typeof e==`function`}var QC=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function $C(e){return Object.keys(e).some(e=>QC.includes(e))}function ew(e,t){return Qx().captureException(e,XC(t))}function tw(e,t){return Qx().captureEvent(e,t)}function nw(e){let t=$x(),{user:n}=SC(t,Qx()),{userAgent:r}=Ay.navigator||{},i=xx({user:n,...r&&{userAgent:r},...e}),a=t.getSession();return a?.status===`ok`&&Sx(a,{status:`exited`}),rw(),t.setSession(i),i}function rw(){let e=$x(),t=Qx().getSession()||e.getSession();t&&Cx(t),iw(),e.setSession()}function iw(){let e=$x(),t=nS(),n=e.getSession();n&&t&&t.captureSession(n)}function aw(e=!1){e?rw():iw()}function ow(e){return typeof e==`object`&&typeof e.unref==`function`&&e.unref(),e}function sw(e){let t=e.protocol?`${e.protocol}:`:``,n=e.port?`:${e.port}`:``;return`${t}//${e.host}${n}${e.path?`/${e.path}`:``}/api/`}function cw(e){return`${sw(e)}${e.projectId}/envelope/`}function lw(e,t){let n={sentry_version:`7`};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function uw(e,t,n){return t||`${cw(e)}?${lw(e,n)}`}var dw=[];function fw(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}function pw(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n==`function`){let e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return fw(r)}function mw(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&gw(e,t,n)}),n}function hw(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function gw(e,t,n){if(n[t.name])ky&&qy.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,!dw.includes(t.name)&&typeof t.setupOnce==`function`&&(t.setupOnce(),dw.push(t.name)),t.setup&&typeof t.setup==`function`&&t.setup(e),typeof t.preprocessEvent==`function`){let n=t.preprocessEvent.bind(t);e.on(`preprocessEvent`,(t,r)=>n(t,r,e))}if(typeof t.processEvent==`function`){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}[`processSpan`,`processSegmentSpan`].forEach(n=>{let r=t[n];typeof r==`function`&&e.on(n,n=>r.call(t,n,e))}),ky&&qy.log(`Integration installed: ${t.name}`)}}function _w(e){return e}function vw(){return typeof __SENTRY_BROWSER_BUNDLE__<`u`&&!!__SENTRY_BROWSER_BUNDLE__}function yw(){return`npm`}function bw(){return!vw()&&Object.prototype.toString.call(typeof process<`u`?process:0)===`[object process]`}function xw(){return typeof window<`u`&&(!bw()||Sw())}function Sw(){return Ay.process?.type===`renderer`}function Cw(e,t){let n=t?`auto`:`never`;return[{type:`log`,item_count:e.length,content_type:`application/vnd.sentry.items.log+json`},{version:2,...xw()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function ww(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=vS(r)),nC(a,[Cw(e,i)])}function Tw(e,t){let n=t??Ew(e)??[];if(n.length===0)return;let r=e.getOptions(),i=ww(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);Dw().set(e,[]),e.emit(`flushLogs`),e.sendEnvelope(i)}function Ew(e){return Dw().get(e)}function Dw(){return Py(`clientToLogBufferMap`,()=>new WeakMap)}function Ow(e,t){let n=t?`auto`:`never`;return[{type:`trace_metric`,item_count:e.length,content_type:`application/vnd.sentry.items.trace-metric+json`},{version:2,...xw()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function kw(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=vS(r)),nC(a,[Ow(e,i)])}function Aw(e,t){let n=t??jw(e)??[];if(n.length===0)return;let r=e.getOptions(),i=kw(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);Mw().set(e,[]),e.emit(`flushMetrics`),e.sendEnvelope(i)}function jw(e){return Mw().get(e)}function Mw(){return Py(`clientToMetricBufferMap`,()=>new WeakMap)}function Nw(e){return NS({trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||``,start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:!e.status||e.status===`ok`||e.status===`cancelled`?`ok`:`error`,is_segment:!1,attributes:{...e.data},links:e.links})}function Pw(e,t){if(e.type!==`transaction`||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||t.getOptions().streamGenAiSpans===!1||vC(t))return;let n=[],r=[];for(let t of e.spans)t.op?.startsWith(`gen_ai.`)?n.push(Nw(t)):r.push(t);if(n.length===0)return;e.spans=r;let i=t.getDataCollectionOptions().userInfo?`auto`:`never`;return[{type:`span`,item_count:n.length,content_type:`application/vnd.sentry.items.span.v2+json`},{version:2,...xw()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:n}]}var Fw=Symbol.for(`SentryBufferFullError`);function Iw(e=100){let t=new Set;function n(){return t.size<e}function r(e){t.delete(e)}function i(e){if(!n())return PC(Fw);let i=e();return t.add(i),i.then(()=>r(i),()=>r(i)),i}function a(e){if(!t.size)return NC(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;let r=[n,new Promise(t=>ow(setTimeout(()=>t(!1),e)))];return Promise.race(r)}return{get $(){return Array.from(t)},add:i,drain:a}}var Lw=6e4;function Rw(e,t=Vb()){let n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;let r=Date.parse(`${e}`);return isNaN(r)?Lw:r-t}function zw(e,t){return e[t]||e.all||0}function Bw(e,t,n=Vb()){return zw(e,t)>n}function Vw(e,{statusCode:t,headers:n},r=Vb()){let i={...e},a=n?.[`x-sentry-rate-limits`],o=n?.[`retry-after`];if(a)for(let e of a.trim().split(`,`)){let[t,n,,,a]=e.split(`:`,5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(!n)i.all=r+s;else for(let e of n.split(`;`))e===`metric_bucket`?(!a||a.split(`;`).includes(`custom`))&&(i[e]=r+s):i[e]=r+s}else o?i.all=r+Rw(o,r):t===429&&(i.all=r+6e4);return i}function Hw(e,t,n=Iw(e.bufferSize||64)){let r={},i=e=>n.drain(e);function a(i){let a=[];if(iC(i,(t,n)=>{let i=fC(n);Bw(r,i)?e.recordDroppedEvent(`ratelimit_backoff`,i):a.push(t)}),a.length===0)return Promise.resolve({});let o=nC(i[0],a),s=t=>{aC(o,[`client_report`])?ky&&qy.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`):iC(o,(n,r)=>{e.recordDroppedEvent(t,fC(r))})};return n.add(()=>t({body:sC(o)}).then(e=>e.statusCode===413?(ky&&qy.error(`Sentry responded with status code 413. Envelope was discarded due to exceeding size limits.`),s(`send_error`),e):(ky&&e.statusCode!==void 0&&(e.statusCode<200||e.statusCode>=300)&&qy.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=Vw(r,e),e),e=>{throw s(`network_error`),ky&&qy.error(`Encountered error running transport request:`,e),e})).then(e=>e,e=>{if(e===Fw)return ky&&qy.error(`Skipped sending event because buffer is full.`),s(`queue_overflow`),Promise.resolve({});throw e})}return{send:a,flush:i}}function Uw(e,t,n){let r=[{type:`client_report`},{timestamp:n||_x(),discarded_events:e}];return nC(t?{dsn:t}:{},[r])}function Ww(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function Gw(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??``,start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??``,origin:a,profile_id:o?.[oS],exclusive_time:o?.[sS],measurements:e.measurements,is_segment:!0}}function Kw(e){return{type:`transaction`,timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{"sentry.profile_id":e.profile_id},...e.exclusive_time&&{"sentry.exclusive_time":e.exclusive_time}}}},measurements:e.measurements}}var qw=[`forwarded`,`-ip`,`remote-`,`via`,`-user`];function Jw(e){return e===!0?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:[`incomingRequest`,`outgoingRequest`,`incomingResponse`,`outgoingResponse`],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:qw},httpHeaders:{request:{deny:qw},response:{deny:qw}},httpBodies:[],urlQueryParams:{deny:qw},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7}}var Yw={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:[`incomingRequest`,`outgoingRequest`,`incomingResponse`,`outgoingResponse`],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};function Xw(e){let t=e.dataCollection==null?Jw(e.sendDefaultPii):Yw,n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:{request:n.httpHeaders?.request??t.httpHeaders.request,response:n.httpHeaders?.response??t.httpHeaders.response},httpBodies:n.httpBodies??t.httpBodies,urlQueryParams:n.urlQueryParams??n.queryParams??t.urlQueryParams,graphQL:{document:n.graphQL?.document??t.graphQL.document,variables:n.graphQL?.variables??t.graphQL.variables},genAI:{inputs:n.genAI?.inputs??t.genAI.inputs,outputs:n.genAI?.outputs??t.genAI.outputs},databaseQueryData:n.databaseQueryData??t.databaseQueryData,stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}var Zw=`Not capturing exception because it's already been captured.`,Qw=`Discarded session because of missing or non-string release`,$w=Symbol.for(`SentryInternalError`),eT=Symbol.for(`SentryDoNotSendEventError`),tT=5e3;function nT(e){return{message:e,[$w]:!0}}function rT(e){return{message:e,[eT]:!0}}function iT(e){return Tb(e)&&$w in e}function aT(e){return Tb(e)&&eT in e}function oT(e,t,n,r,i){let a=0,o,s=!1;e.on(n,()=>{a=0,clearTimeout(o),s=!1}),e.on(t,t=>{if(a+=r(t),a>=8e5)i(e);else if(!s){let t=e.getOptions()._flushInterval??tT;t>0&&(s=!0,o=ow(setTimeout(()=>{i(e)},t)))}}),e.on(`flush`,()=>{i(e)})}var sT=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Iw(e.transportOptions?.bufferSize??64),this._dataCollection=Xw(e),e.dsn?this._dsn=wS(e.dsn):ky&&qy.warn(`No DSN provided, client will not send events.`),this._dsn){let t=uw(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&oT(this,`afterCaptureLog`,`flushLogs`,mT,Tw),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&oT(this,`afterCaptureMetric`,`flushMetrics`,pT,Aw)}captureException(e,t,n){let r=lx();if(mx(e))return ky&&qy.log(Zw),r;let i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),`error`),i.event_id}captureMessage(e,t,n,r){let i={event_id:lx(),...n},a=Sb(e)?e:String(e),o=Cb(e),s=o?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,r)),o?`unknown`:`error`),i.event_id}captureEvent(e,t,n){let r=lx();if(t?.originalException&&mx(t.originalException))return ky&&qy.log(Zw),r;let i={event_id:r,...t},a=e.sdkProcessingMetadata||{},o=a.capturedSpanScope,s=a.capturedSpanIsolationScope,c=cT(e.type);return this._process(()=>this._captureEvent(e,i,o||n,s),c),i.event_id}captureSession(e){this.sendSession(e),Sx(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit(`flush`),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit(`close`),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith(`Spotlight`)))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),gw(this,e,this._integrations),t||hw(this,[e])}sendEvent(e,t={}){this.emit(`beforeSendEvent`,e,t);let n=Pw(e,this),r=_C(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=rC(r,lC(e));n&&(r=rC(r,n)),this.sendEnvelope(r).then(t=>this.emit(`afterSendEvent`,e,t))}sendSession(e){let{release:t,environment:n=XS}=this._options;if(`aggregates`in e){let r=e.attrs||{};if(!r.release&&!t){ky&&qy.warn(Qw);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){ky&&qy.warn(Qw);return}e.release=e.release||t,e.environment=e.environment||n}this.emit(`beforeSendSession`,e);let r=gC(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;ky&&qy.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:``}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit(`beforeEnvelope`,e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return ky&&qy.error(`Error while sending envelope:`,e),{}}return ky&&qy.error(`Transport disabled`),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=mw(this,e),hw(this,e)}_updateSessionFromEvent(e,t){let n=t.level===`fatal`,r=!1,i=t.exception?.values;if(i){r=!0,n=!1;for(let e of i)if(e.mechanism?.handled===!1){n=!0;break}}let a=e.status===`ok`;(a&&e.errors===0||a&&n)&&(Sx(e,{...n&&{status:`crashed`},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,t,n,r){let i=this.getOptions(),a=this.getIntegrationNames();return!t.integrations&&a.length&&(t.integrations=a),this.emit(`preprocessEvent`,e,t),e.type||r.setLastEventId(e.event_id||t.event_id),UC(i,e,t,n,this,r).then(e=>(e===null||(this.emit(`postprocessEvent`,e,t),e.contexts={trace:{...e.contexts?.trace,...rS(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:$S(this,n),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},n=Qx(),r=$x()){return ky&&dT(e)&&qy.log(`Captured error event \`${Ww(e)[0]||`<unknown>`}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{ky&&(aT(e)?qy.log(e.message):iT(e)?qy.warn(e.message):qy.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,o=fT(e),s=dT(e),c=`before send for type \`${e.type||`error`}\``,l=a===void 0?void 0:TS(a),u=cT(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(e===null)throw this.recordDroppedEvent(`event_processor`,u),rT("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:lT(uT(this,i,e,t),c)}).then(i=>{if(i===null){if(this.recordDroppedEvent(`before_send`,u),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent(`before_send`,`span`,t)}throw rT(`${c} returned \`null\`, will not send event.`)}let d=n.getSession()||r.getSession();if(s&&d&&this._updateSessionFromEvent(d,i),s&&typeof l==`number`&&Bb()>l)throw this.recordDroppedEvent(`sample_rate`,`error`),rT(`Discarding event because it's not included in the random sample (sampling rate = ${a})`);if(o){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent(`before_send`,`span`,e)}let f=i.transaction_info;return o&&f&&i.transaction!==e.transaction&&(i.transaction_info={...f,source:`custom`}),this.sendEvent(i,t),i}).then(null,e=>{throw aT(e)||iT(e)?e:(this.captureException(e,{mechanism:{handled:!1,type:`internal`},data:{__sentry__:!0},originalException:e}),nT(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
228
|
+
Reason: ${e}`))})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===Fw&&this.recordDroppedEvent(`queue_overflow`,t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(`:`);return{reason:n,category:r,quantity:t}})}_flushOutcomes(){ky&&qy.log(`Flushing outcomes...`);let e=this._clearOutcomes();if(e.length===0){ky&&qy.log(`No outcomes to send`);return}if(!this._dsn){ky&&qy.log(`No dsn provided, will not send outcomes`);return}ky&&qy.log(`Sending outcomes:`,e);let t=Uw(e,this._options.tunnel&&vS(this._dsn));this.sendEnvelope(t)}};function cT(e){return e===`replay_event`?`replay`:e||`error`}function lT(e,t){let n=`${t} must return \`null\` or a valid event.`;if(Ob(e))return e.then(e=>{if(!wb(e)&&e!==null)throw nT(n);return e},e=>{throw nT(`${t} rejected with ${e}`)});if(!wb(e)&&e!==null)throw nT(n);return e}function uT(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:o}=t,s=!tC(t.beforeSendSpan)&&t.beforeSendSpan,c=n;if(dT(c)&&i)return i(c,r);if(fT(c)){if(s||o){let t=Gw(c);if(o?.length&&WS({description:t.description,op:t.op,attributes:t.data},o))return null;if(s){let e=s(t);e?c=Tx(n,Kw(e)):VS()}if(c.spans){let t=[],n=c.spans;for(let e of n)if(o?.length&&WS({description:e.description,op:e.op,attributes:e.data},o))KS(n,e);else if(s){let n=s(e);n?t.push(n):(VS(),t.push(e))}else t.push(e);let r=c.spans.length-t.length;r&&e.recordDroppedEvent(`before_send`,`span`,r),c.spans=t}}if(a){if(c.spans){let e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(c,r)}}return c}function dT(e){return e.type===void 0}function fT(e){return e.type===`transaction`}function pT(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+hT(e.attributes)}function mT(e){let t=0;return e.message&&(t+=e.message.length*2),t+hT(e.attributes)}function hT(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*gT(e[0]):Cb(e)?t+=gT(e):t+=100}),t}function gT(e){return typeof e==`string`?e.length*2:typeof e==`number`?8:typeof e==`boolean`?4:0}function _T(e,t){t.debug===!0&&(ky?qy.enable():Ry(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Qx().update(t.initialScope);let n=new e(t);return vT(n),n.init(),n}function vT(e){Qx().setClient(e)}function yT(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||``,r=t[8]||``;return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function bT(e,t=!0){if(e.startsWith(`data:`)){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:`text/plain`,i=e.includes(`;base64,`),a=e.indexOf(`,`),o=``;if(t&&a!==-1){let t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?`,base64`:``}${o?`,${o}`:``}`}return e}function xT(e){`aggregates`in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:`{{auto}}`}):e.ipAddress===void 0&&(e.ipAddress=`{{auto}}`)}function ST(e,t,n=[t],r=`npm`){let i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:jy})),i.version=jy)}var CT=100;function wT(e,t){let n=nS(),r=$x();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=CT}=n.getOptions();if(a<=0)return;let o={timestamp:_x(),...e},s=i?Ry(()=>i(o,t)):o;s!==null&&(n.emit&&n.emit(`beforeAddBreadcrumb`,s,t),r.addBreadcrumb(s,a))}var TT=`FunctionToString`,ET=new WeakMap,DT=_w((()=>({name:TT,setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(...t){let n=Pb(this),r;try{ET.has(nS())&&n!==void 0&&(r=n)}catch{}return e.apply(r??this,t)}}catch{}},setup(e){ET.set(e,!0)}}))),OT=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],kT=`EventFilters`,AT=_w((e={})=>{let t;return{name:kT,setup(n){t=MT(e,n.getOptions())},processEvent(n,r,i){return t||=MT(e,i.getOptions()),NT(n,t)?null:n}}}),jT=_w(((e={})=>({...AT(e),name:`InboundFilters`})));function MT(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:OT],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function NT(e,t){if(!e.type){if(PT(e,t.ignoreErrors))return ky&&qy.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
229
|
+
Event: ${dx(e)}`),!0;if(BT(e))return ky&&qy.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
230
|
+
Event: ${dx(e)}`),!0;if(IT(e,t.denyUrls))return ky&&qy.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
231
|
+
Event: ${dx(e)}.
|
|
232
|
+
Url: ${zT(e)}`),!0;if(!LT(e,t.allowUrls))return ky&&qy.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
233
|
+
Event: ${dx(e)}.
|
|
234
|
+
Url: ${zT(e)}`),!0}else if(e.type===`transaction`&&FT(e,t.ignoreTransactions))return ky&&qy.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
235
|
+
Event: ${dx(e)}`),!0;return!1}function PT(e,t){return t?.length?Ww(e).some(e=>ax(e,t)):!1}function FT(e,t){if(!t?.length)return!1;let n=e.transaction;return n?ax(n,t):!1}function IT(e,t){if(!t?.length)return!1;let n=zT(e);return n?ax(n,t):!1}function LT(e,t){if(!t?.length)return!0;let n=zT(e);return!n||ax(n,t)}function RT(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.filename!==`<anonymous>`&&n.filename!==`[native code]`)return n.filename||null}return null}function zT(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length)?.stacktrace?.frames;return t?RT(t):null}catch{return ky&&qy.error(`Cannot extract url for event ${dx(e)}`),null}}function BT(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!==`Error`||e.value):!1}function VT(e,t,n,r,i,a){if(!i.exception?.values||!a||!gb(a.originalException))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=HT(e,t,r,a.originalException,n,i.exception.values,o,0))}function HT(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(gb(r[i])){WT(o,s,r);let a=e(t,r[i]),l=c.length;GT(a,i,l,s),c=HT(e,t,n,r[i],i,[a,...c],a,l)}return UT(r)&&r.errors.forEach((a,l)=>{if(gb(a)){WT(o,s,r);let u=e(t,a),d=c.length;GT(u,`errors[${l}]`,d,s),c=HT(e,t,n,a,i,[u,...c],u,d)}}),c}function UT(e){return Array.isArray(e.errors)}function WT(e,t,n){e.mechanism={handled:!0,type:`auto.core.linked_errors`,...UT(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function GT(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:`chained`,source:t,exception_id:n,parent_id:r}}function KT(e){return gb(e)&&`__sentry_fetch_url_host__`in e&&typeof e.__sentry_fetch_url_host__==`string`}function qT(e){return KT(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}var JT=new Set([]);function YT(e){let t=`console`,n=ob(t,e);return sb(t,ZT),n}var XT=new Set;function ZT(){`console`in Ay&&Fy.forEach(function(e){!XT.has(e)&&e in Ay.console&&(XT.add(e),jb(Ay.console,e,function(t){return Ly[e]=t,function(...t){let n=t[0],r=Ly[e],i=JT.size&&typeof n==`string`&&ax(n,JT);i||cb(`console`,{args:t,level:e}),(!i||ky&&qy.isEnabled())&&r?.apply(Ay.console,t)}}))})}function QT(e){return e===`warn`?`warning`:[`fatal`,`error`,`warning`,`log`,`info`,`debug`].includes(e)?e:`log`}var $T=`Dedupe`,eE=_w((()=>{let e;return{name:$T,processEvent(t){if(t.type)return t;try{if(tE(t,e))return ky&&qy.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}}));function tE(e,t){return t?!!(nE(e,t)||rE(e,t)):!1}function nE(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!aE(e,t)||!iE(e,t))}function rE(e,t){let n=oE(t),r=oE(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!aE(e,t)||!iE(e,t))}function iE(e,t){let n=rb(e),r=rb(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function aE(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join(``)===r.join(``)}catch{return!1}}function oE(e){return e.exception?.values?.[0]}var sE=`ConversationId`,cE=_w((()=>({name:sE,setup(e){e.on(`spanStart`,e=>{let t=Qx().getScopeData(),n=$x().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:i}=jS(e);if(!t?.startsWith(`gen_ai.`)&&!n[`ai.operationId`]&&!i?.startsWith(`ai.`))return;e.setAttribute(cS,r)}})}})));function lE(e){if(e!==void 0){if(e>=400&&e<500)return`warning`;if(e>=500)return`error`}}var uE=Ay;function dE(){return`history`in uE&&!!uE.history}function fE(){if(!(`fetch`in uE))return!1;try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function pE(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function mE(){if(typeof EdgeRuntime==`string`)return!0;if(!fE())return!1;if(pE(uE.fetch))return!0;let e=!1,t=uE.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=pE(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){ky&&qy.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function hE(e,t){let n=`fetch`,r=ob(n,e);return sb(n,()=>gE(void 0,t)),r}function gE(e,t=!1){(!t||mE())&&jb(Ay,`fetch`,function(t){return function(...n){let r=Error(),{method:i,url:a}=yE(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:bx()*1e3,virtualError:r,headers:bE(n)};return e||cb(`fetch`,{...o}),t.apply(Ay,n).then(async t=>(e?e(t):cb(`fetch`,{...o,endTimestamp:bx()*1e3,response:t}),t),e=>{cb(`fetch`,{...o,endTimestamp:bx()*1e3,error:e}),gb(e)&&e.stack===void 0&&(e.stack=r.stack,Mb(e,`framesToPop`,1));let t=nS()?.getOptions().enhanceFetchErrorMessages??`always`;if(t!==!1&&gb(e)&&e.name===`TypeError`&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let n=new URL(o.fetchData.url).host;t===`always`?e.message=`${e.message} (${n})`:Mb(e,`__sentry_fetch_url_host__`,n)}catch{}throw e})}})}function _E(e,t){return Tb(e)&&!!e[t]}function vE(e){return typeof e==`string`?e:e?_E(e,`url`)?e.url:e.toString?e.toString():``:``}function yE(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:vE(t),method:_E(n,`method`)?String(n.method).toUpperCase():Ab(t)&&_E(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:vE(t),method:_E(t,`method`)?String(t.method).toUpperCase():`GET`}}function bE(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(Ab(t))return new Headers(t.headers)}catch{}}var xE=Ay;function SE(){try{return xE.document.location.href}catch{return``}}function CE(e,t=5){if(!xE.HTMLElement)return null;let n=e;for(let e=0;e<t;e++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}var wE=Ay,TE=0;function EE(){return TE>0}function DE(){TE++,setTimeout(()=>{TE--})}function OE(e,t={}){function n(e){return typeof e==`function`}if(!n(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,`__sentry_wrapped__`)){let t=e.__sentry_wrapped__;return typeof t==`function`?t:e}if(Pb(e))return e}catch{return e}let r=function(...n){Ay._sentryWrappedDepth=(Ay._sentryWrappedDepth||0)+1;try{let r=n.map(e=>OE(e,t));return e.apply(this,r)}catch(e){throw DE(),tS(r=>{r.addEventProcessor(e=>(t.mechanism&&(fx(e,void 0,void 0),px(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),ew(e)}),e}finally{Ay._sentryWrappedDepth=(Ay._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}Nb(r,e),Mb(e,`__sentry_wrapped__`,r);try{Object.getOwnPropertyDescriptor(r,`name`).configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function kE(){let e=SE(),{referrer:t}=wE.document||{},{userAgent:n}=wE.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}function AE(e,t){let n=NE(e,t),r={type:RE(t),value:zE(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===``&&(r.value=`Unrecoverable error caught`),r}function jE(e,t,n,r){let i=nS()?.getOptions().normalizeDepth,a=KE(t),o={__serialized__:Yb(t,i)};if(a)return{exception:{values:[AE(e,a)]},extra:o};let s={exception:{values:[{type:Eb(t)?t.constructor.name:r?`UnhandledRejection`:`Error`,value:WE(t,{isUnhandledRejection:r})}]},extra:o};if(n){let t=NE(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}function ME(e,t){return{exception:{values:[AE(e,t)]}}}function NE(e,t){let n=t.stacktrace||t.stack||``,r=FE(t),i=IE(t);try{return e(n,r,i)}catch{}return[]}var PE=/Minified React error #\d+;/i;function FE(e){return e&&PE.test(e.message)?1:0}function IE(e){return typeof e.framesToPop==`number`?e.framesToPop:0}function LE(e){return typeof WebAssembly<`u`&&WebAssembly.Exception!==void 0&&e instanceof WebAssembly.Exception}function RE(e){let t=e?.name;return!t&&LE(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:`WebAssembly.Exception`:t}function zE(e){let t=e?.message;return LE(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:`wasm exception`:t?t.error&&typeof t.error.message==`string`?qT(t.error):qT(e):`No error message`}function BE(e,t,n,r){let i=HE(e,t,n?.syntheticException||void 0,r);return px(i),i.level=`error`,n?.event_id&&(i.event_id=n.event_id),NC(i)}function VE(e,t,n=`info`,r,i){let a=UE(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),NC(a)}function HE(e,t,n,r,i){let a;if(vb(t)&&t.error)return ME(e,t.error);if(yb(t)||bb(t)){let i=t;if(`stack`in t){a=ME(e,t);let i=a.exception?.values?.[0];if(r&&n&&i&&!i.stacktrace){let t=NE(e,n);t.length&&(i.stacktrace={frames:t},px(a,{synthetic:!0}))}}else{let t=i.name||(yb(i)?`DOMError`:`DOMException`),o=i.message?`${t}: ${i.message}`:t;a=UE(e,o,n,r),fx(a,o)}return`code`in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return gb(t)?ME(e,t):wb(t)||Eb(t)?(a=jE(e,t,n,i),px(a,{synthetic:!0}),a):(a=UE(e,t,n,r),fx(a,`${t}`,void 0),px(a,{synthetic:!0}),a)}function UE(e,t,n,r){let i={};if(r&&n){let r=NE(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),px(i,{synthetic:!0})}if(Sb(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function WE(e,{isUnhandledRejection:t}){let n=Lb(e),r=t?`promise rejection`:`exception`;return vb(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Eb(e)?`Event \`${GE(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function GE(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function KE(e){return Object.values(e).find(gb)}var qE=class extends sT{constructor(e){let t=JE(e);ST(t,`browser`,[`browser`],wE.SENTRY_SDK_SOURCE||yw()),super(t);let{userInfo:n}=this.getDataCollectionOptions();t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:n?`auto`:`never`,...t._metadata.sdk.settings});let{sendClientReports:r}=this._options;wE.document&&wE.document.addEventListener(`visibilitychange`,()=>{wE.document.visibilityState===`hidden`&&(r&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),n&&this.on(`beforeSendSession`,xT)}eventFromException(e,t){return BE(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t=`info`,n){return VE(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||`javascript`,super._prepareEvent(e,t,n,r)}};function JE(e){return{release:typeof __SENTRY_RELEASE__==`string`?__SENTRY_RELEASE__:wE.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}var YE=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,XE=Ay;function ZE(e,t,n){XE.document&&XE.addEventListener(e,t,n)}function QE(e,t,n){XE.document&&XE.removeEventListener(e,t,n)}var $E=e=>{let t=!1;return()=>{t||=(e(),!0)}},eD=e=>{let t=XE.requestIdleCallback||XE.setTimeout;XE.document?.visibilityState===`hidden`?e():(e=$E(e),ZE(`visibilitychange`,e,{once:!0,capture:!0}),ZE(`pagehide`,e,{once:!0,capture:!0}),t(()=>{e(),QE(`visibilitychange`,e,{capture:!0}),QE(`pagehide`,e,{capture:!0})}))},tD=80,nD={};try{typeof Node<`u`&&(nD.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`).get),typeof Element<`u`&&(nD.tagName=Object.getOwnPropertyDescriptor(Element.prototype,`tagName`).get,nD.id=Object.getOwnPropertyDescriptor(Element.prototype,`id`).get,nD.className=Object.getOwnPropertyDescriptor(Element.prototype,`className`).get,nD.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<`u`&&(nD.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,`dataset`).get)}catch{}function rD(e,t,n){let r=nD[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return typeof i==`function`?i.call(e,n):i}function iD(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||tD;for(;n&&i++<5&&(o=aD(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=rD(n,`parentNode`);return r.reverse().join(` > `)}catch{return`<unknown>`}}function aD(e,t){let n=[],r=rD(e,`tagName`);if(!r)return``;if(typeof HTMLElement<`u`&&e instanceof HTMLElement){let t=rD(e,`dataset`);if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>rD(e,`getAttribute`,t)).map(t=>[t,rD(e,`getAttribute`,t)]):null;if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=rD(e,`id`);t&&n.push(`#${t}`);let r=rD(e,`className`);if(r&&xb(r)){let e=r.split(/\s+/);for(let t of e)n.push(`.${t}`)}}for(let t of[`aria-label`,`type`,`name`,`title`,`alt`]){let r=rD(e,`getAttribute`,t);r&&n.push(`[${t}="${r}"]`)}return n.join(``)}var oD=1e3,sD,cD,lD;function uD(e){ob(`dom`,e),sb(`dom`,dD)}function dD(){if(!XE.document)return;let e=cb.bind(null,`dom`),t=mD(e,!0);XE.document.addEventListener(`click`,t,!1),XE.document.addEventListener(`keypress`,t,!1),[`EventTarget`,`Node`].forEach(t=>{let n=XE[t]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(jb(n,`addEventListener`,function(t){return function(n,r,i){if(n===`click`||n==`keypress`)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=mD(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),jb(n,`removeEventListener`,function(e){return function(t,n,r){if(t===`click`||t==`keypress`)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),Object.keys(n).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function fD(e){if(e.type!==cD)return!1;try{if(!e.target||e.target._sentryId!==lD)return!1}catch{}return!0}function pD(e,t){return e===`keypress`?!t?.tagName||!(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable):!1}function mD(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=hD(n);if(pD(n.type,r))return;Mb(n,`_sentryCaptured`,!0),r&&!r._sentryId&&Mb(r,`_sentryId`,lx());let i=n.type===`keypress`?`input`:n.type;fD(n)||(e({event:n,name:i,global:t}),cD=n.type,lD=r?r._sentryId:void 0),clearTimeout(sD),sD=XE.setTimeout(()=>{lD=void 0,cD=void 0},oD)}}function hD(e){try{return e.target}catch{return null}}var gD;function _D(e){let t=`history`;ob(t,e),sb(t,vD)}function vD(){if(XE.addEventListener(`popstate`,()=>{let e=XE.location.href,t=gD;gD=e,t!==e&&cb(`history`,{from:t,to:e})}),!dE())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=gD,i=yD(String(n));if(gD=i,r===i)return e.apply(this,t);cb(`history`,{from:r,to:i})}return e.apply(this,t)}}jb(XE.history,`pushState`,e),jb(XE.history,`replaceState`,e)}function yD(e){try{return new URL(e,XE.location.origin).toString()}catch{return e}}var bD={};function xD(e){let t=bD[e];if(t)return t;let n=XE[e];if(pE(n))return bD[e]=n.bind(XE);let r=XE.document;if(r&&typeof r.createElement==`function`)try{let t=r.createElement(`iframe`);t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){YE&&qy.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n&&(bD[e]=n.bind(XE))}function SD(e){bD[e]=void 0}var CD=`__sentry_xhr_v3__`;function wD(e){ob(`xhr`,e),sb(`xhr`,TD)}function TD(){if(!XE.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=bx()*1e3,a=xb(n[0])?n[0].toUpperCase():void 0,o=ED(n[1]);if(!a||!o)return e.apply(t,n);t[CD]={method:a,url:o,request_headers:{}},a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[CD];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}cb(`xhr`,{endTimestamp:bx()*1e3,startTimestamp:i,xhr:t,virtualError:r}),t.removeEventListener(`readystatechange`,s)}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[CD];return a&&xb(r)&&xb(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[CD];return r&&(n[0]!==void 0&&(r.body=n[0]),cb(`xhr`,{startTimestamp:bx()*1e3,xhr:t})),e.apply(t,n)}})}function ED(e){if(xb(e))return e;try{return e.toString()}catch{}}function DD(e){if(typeof Element>`u`)return!1;try{return e instanceof Element}catch{return!1}}var OD=40;function kD(e,t=xD(`fetch`)){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:`POST`,referrerPolicy:`strict-origin`,headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get(`X-Sentry-Rate-Limits`),"retry-after":n.headers.get(`Retry-After`)}}}catch(e){throw SD(`fetch`),e}finally{n-=a,r--}}return Hw(e,i,Iw(e.bufferSize||OD))}var AD=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,jD=30,MD=50;function ND(e,t,n,r){let i={filename:e,function:t===`<anonymous>`?`?`:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var PD=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,FD=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ID=/\((\S*)(?::(\d+))(?::(\d+))\)/,LD=/at (.+?) ?\(data:(.+?),/,RD=[jD,e=>{let t=e.match(LD);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=PD.exec(e);if(n){let[,e,t,r]=n;return ND(e,`?`,+t,+r)}let r=FD.exec(e);if(r){if(r[2]?.indexOf(`eval`)===0){let e=ID.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=HD(r[1]||`?`,r[2]);return ND(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],zD=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,BD=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,VD=Zy(RD,[MD,e=>{let t=zD.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){let e=BD.exec(t[3]);e&&(t[1]=t[1]||`eval`,t[3]=e[1],t[4]=e[2],t[5]=``)}let e=t[3],n=t[1]||`?`;return[n,e]=HD(n,e),ND(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),HD=(e,t)=>{let n=e.indexOf(`safari-extension`)!==-1,r=e.indexOf(`safari-web-extension`)!==-1;return n||r?[e.indexOf(`@`)===-1?`?`:e.split(`@`)[0],n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},UD=1024,WD=`Breadcrumbs`,GD=_w(((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:WD,setup(e){t.console&&YT(JD(e)),t.dom&&uD(qD(e,t.dom)),t.xhr&&wD(YD(e)),t.fetch&&hE(XD(e)),t.history&&_D(ZD(e)),t.sentry&&e.on(`beforeSendEvent`,KD(e))}}}));function KD(e){return function(t){nS()===e&&wT({category:`sentry.${t.type===`transaction`?`transaction`:`event`}`,event_id:t.event_id,level:t.level,message:dx(t)},{event:t})}}function qD(e,t){return function(n){if(nS()!==e)return;let r,i,a=typeof t==`object`?t.serializeAttribute:void 0,o=typeof t==`object`&&typeof t.maxStringLength==`number`?t.maxStringLength:void 0;o&&o>UD&&(AD&&qy.warn(`\`dom.maxStringLength\` cannot exceed ${UD}, but a value of ${o} was configured. Sentry will use ${UD} instead.`),o=UD),typeof a==`string`&&(a=[a]);try{let e=n.event,t=QD(e)?e.target:e;r=iD(t,{keyAttrs:a,maxStringLength:o}),i=CE(t)}catch{r=`<unknown>`}if(r.length===0)return;let s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),wT(s,{event:n.event,name:n.name,global:n.global})}}function JD(e){return function(t){if(nS()!==e)return;let n={category:`console`,data:{arguments:t.args,logger:`console`},level:QT(t.level),message:rx(t.args,` `)};if(t.level===`assert`){if(t.args[0]===!1)n.message=`Assertion failed: ${rx(t.args.slice(1),` `)||`console.assert`}`,n.data.arguments=t.args.slice(1);else return}wT(n,{input:t.args,level:t.level})}}function YD(e){return function(t){if(nS()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[CD];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,l={method:a,url:o,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:`xhr`,data:l,type:`http`,level:lE(s)};e.emit(`beforeOutgoingRequestBreadcrumb`,d,u),wT(d,u)}}function XD(e){return function(t){if(nS()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(r&&!(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method===`POST`)){if(t.error){let i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:`fetch`,data:t.fetchData,level:`error`,type:`http`};e.emit(`beforeOutgoingRequestBreadcrumb`,a,i),wT(a,i)}else{let i=t.response,a={...t.fetchData,status_code:i?.status},o={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:`fetch`,data:a,type:`http`,level:lE(a.status_code)};e.emit(`beforeOutgoingRequestBreadcrumb`,s,o),wT(s,o)}}}}function ZD(e){return function(t){if(nS()!==e)return;let n=t.from,r=t.to,i=yT(wE.location.href),a=n?yT(n):void 0,o=yT(r);a?.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),wT({category:`navigation`,data:{from:n,to:r}})}}function QD(e){return!!e&&!!e.target}var $D=`EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload`.split(`,`),eO=`BrowserApiErrors`,tO=_w(((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:eO,setupOnce(){t.setTimeout&&jb(wE,`setTimeout`,nO),t.setInterval&&jb(wE,`setInterval`,nO),t.requestAnimationFrame&&jb(wE,`requestAnimationFrame`,rO),t.XMLHttpRequest&&`XMLHttpRequest`in wE&&jb(XMLHttpRequest.prototype,`send`,iO);let e=t.eventTarget;e&&(Array.isArray(e)?e:$D).forEach(e=>aO(e,t))}}}));function nO(e){return function(...t){let n=t[0];return t[0]=OE(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${nb(e)}`}}),e.apply(this,t)}}function rO(e){return function(t){return e.apply(this,[OE(t,{mechanism:{data:{handler:nb(e)},handled:!1,type:`auto.browser.browserapierrors.requestAnimationFrame`}})])}}function iO(e){return function(...t){let n=this;return[`onload`,`onerror`,`onprogress`,`onreadystatechange`].forEach(e=>{e in n&&typeof n[e]==`function`&&jb(n,e,function(t){let n={mechanism:{data:{handler:nb(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=Pb(t);return r&&(n.mechanism.data.handler=nb(r)),OE(t,n)})}),e.apply(this,t)}}function aO(e,t){let n=wE[e]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(jb(n,`addEventListener`,function(n){return function(r,i,a){try{oO(i)&&(i.handleEvent=OE(i.handleEvent,{mechanism:{data:{handler:nb(i),target:e},handled:!1,type:`auto.browser.browserapierrors.handleEvent`}}))}catch{}return t.unregisterOriginalCallbacks&&sO(this,r,i),n.apply(this,[r,OE(i,{mechanism:{data:{handler:nb(i),target:e},handled:!1,type:`auto.browser.browserapierrors.addEventListener`}}),a])}}),jb(n,`removeEventListener`,function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,`__sentry_wrapped__`)){let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch{}return e.call(this,t,n,r)}}))}function oO(e){return typeof e.handleEvent==`function`}function sO(e,t,n){e&&typeof e==`object`&&`removeEventListener`in e&&typeof e.removeEventListener==`function`&&e.removeEventListener(t,n)}var cO=_w((e={})=>{let t=e.lifecycle??`route`;return{name:`BrowserSession`,setupOnce(){if(wE.document===void 0){AD&&qy.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}nw({ignoreDuration:!0});let e=!1;eD(()=>{e||=(aw(),!0)});let n=$x(),r=n.getUser();n.addScopeListener(t=>{let n=t.getUser();(r?.id!==n?.id||r?.ip_address!==n?.ip_address)&&(r=n,e&&aw())}),t===`route`&&_D(({from:t,to:n})=>{t!==n&&(nw({ignoreDuration:!0}),aw(),e=!0)})}}}),lO=`CultureContext`,uO=_w((()=>({name:lO,preprocessEvent(e){let t=dO();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=dO();t&&kC(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}})));function dO(){try{let e=wE.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}var fO=`GlobalHandlers`,pO=_w(((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:fO,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(mO(e),yO(`onerror`)),t.onunhandledrejection&&(hO(e),yO(`onunhandledrejection`))}}}));function mO(e){ub(t=>{let{stackParser:n,attachStacktrace:r}=bO();if(nS()!==e||EE())return;let{msg:i,url:a,line:o,column:s,error:c}=t,l=vO(HE(n,c||i,void 0,r,!1),a,o,s);l.level=`error`,tw(l,{originalException:c,mechanism:{handled:!1,type:`auto.browser.global_handlers.onerror`}})})}function hO(e){pb(t=>{let{stackParser:n,attachStacktrace:r}=bO();if(nS()!==e||EE())return;let i=gO(t),a=Cb(i)?_O(i):HE(n,i,void 0,r,!0);a.level=`error`,tw(a,{originalException:i,mechanism:{handled:!1,type:`auto.browser.global_handlers.onunhandledrejection`}})})}function gO(e){if(Cb(e))return e;try{if(`reason`in e)return e.reason;if(`detail`in e&&`reason`in e.detail)return e.detail.reason}catch{}return e}function _O(e){return{exception:{values:[{type:`UnhandledRejection`,value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function vO(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[];return c.length===0&&c.push({colno:r,lineno:n,filename:xO(t)??SE(),function:`?`,in_app:!0}),e}function yO(e){AD&&qy.log(`Global Handler attached: ${e}`)}function bO(){return nS()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function xO(e){if(xb(e)&&e.length!==0)return e.startsWith(`data:`)?`<${bT(e,!1)}>`:e}var SO=_w(()=>({name:`HttpContext`,preprocessEvent(e){if(!wE.navigator&&!wE.location&&!wE.document)return;let t=kE(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){let t=e.attributes?.[iS];if(!wE.navigator&&!wE.location&&!wE.document)return;let n=kE();kC(e,{[OC]:t===`http.client`?void 0:n.url,"http.request.header.user_agent":n.headers[`User-Agent`],"http.request.header.referer":n.headers.Referer})}})),CO=`cause`,wO=5,TO=`LinkedErrors`,EO=_w(((e={})=>{let t=e.limit||wO,n=e.key||CO;return{name:TO,preprocessEvent(e,r,i){VT(AE,i.getOptions().stackParser,n,t,e,r)}}})),DO=/^HTML(\w*)Element$/;function OO(e){if(typeof window<`u`&&e===window)return`[Window]`;if(typeof document<`u`&&e===document)return`[Document]`;if(DD(e)){let t=kO(e);if(DO.test(t))return`[HTMLElement: ${iD(e)}]`}}function kO(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function AO(){return jO()?(AD&&Ry(()=>{console.error(`[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/`)}),!0):!1}function jO(){if(wE.window===void 0)return!1;let e=wE;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;let t=SE();return!(wE===wE.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}function MO(e){return[jT(),DT(),cE(),tO(),GD(),pO(),EO(),eE(),SO(),uO(),cO()]}function NO(e={}){let t=!e.skipBrowserExtensionCheck&&AO(),n=e.defaultIntegrations==null?MO():e.defaultIntegrations,r={...e,enabled:!t&&e.enabled,stackParser:Qy(e.stackParser||VD),integrations:pw({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||kD};return qb(OO),_T(qE,r)}var PO=Z((0,H.jsx)(`path`,{d:`M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z`}),`ArrowBack`),FO=Z((0,H.jsx)(`path`,{d:`M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 11h-3v3.75c0 1.24-1.01 2.25-2.25 2.25S8.5 17.99 8.5 16.75s1.01-2.25 2.25-2.25c.46 0 .89.14 1.25.38V11h4zm-3-4V3.5L18.5 9z`}),`AudioFile`),IO=Z((0,H.jsx)(`path`,{d:`M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2`}),`Bookmark`),LO=Z((0,H.jsx)(`path`,{d:`M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2m0 15-5-2.18L7 18V5h10z`}),`BookmarkBorder`),RO=Z((0,H.jsx)(`path`,{d:`M20 15.31 23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20zM12 18V6c3.31 0 6 2.69 6 6s-2.69 6-6 6`}),`Brightness6`),zO=Z((0,H.jsx)(`path`,{d:`M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 18H4V8h16z`}),`CalendarToday`);Z((0,H.jsx)(`path`,{d:`M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z`}),`Cancel`);var BO=Z((0,H.jsx)(`path`,{d:`M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z`}),`Check`),VO=Z((0,H.jsx)(`path`,{d:`M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z`}),`Close`),HO=Z((0,H.jsx)(`path`,{d:`M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z`}),`Code`),UO=Z((0,H.jsx)(`path`,{d:`M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z`}),`ContentCopy`),WO=Z((0,H.jsx)(`path`,{d:`M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3z`}),`CreateNewFolder`),GO=Z((0,H.jsx)(`path`,{d:`M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z`}),`Delete`),KO=Z((0,H.jsx)(`path`,{d:`M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z`}),`Description`),qO=Z((0,H.jsx)(`path`,{d:`M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z`}),`Edit`),JO=Z((0,H.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z`}),`ErrorOutlined`),YO=Z((0,H.jsx)(`path`,{d:`M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m0 12H4V8h16z`}),`FolderOpen`),XO=Z((0,H.jsx)(`path`,{d:`M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-2.06 11L15 15.28 12.06 17l.78-3.33-2.59-2.24 3.41-.29L15 8l1.34 3.14 3.41.29-2.59 2.24z`}),`FolderSpecial`),ZO=Z((0,H.jsx)(`path`,{d:`M9.93 13.5h4.14L12 7.98zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-4.05 16.5-1.14-3H9.17l-1.12 3H5.96l5.11-13h1.86l5.11 13z`}),`FontDownload`);Z((0,H.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25`}),`Help`);var QO=Z((0,H.jsx)(`path`,{d:`M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z`}),`Image`);Z((0,H.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z`}),`Info`);var $O=Z((0,H.jsx)(`path`,{d:`M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z`}),`InsertDriveFile`),ek=Z((0,H.jsx)(`path`,{d:`M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z`}),`KeyboardReturn`),tk=Z((0,H.jsx)(`path`,{d:`M3 13h2v-2H3zm0 4h2v-2H3zm0-8h2V7H3zm4 4h14v-2H7zm0 4h14v-2H7zM7 7v2h14V7z`}),`List`),nk=Z((0,H.jsx)(`path`,{d:`M19 5v14H5V5zm1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9M11 7h6v2h-6zm0 4h6v2h-6zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z`}),`ListAlt`),rk=Z((0,H.jsx)(`path`,{d:`M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3z`}),`MusicNote`),ik=Z((0,H.jsx)(`path`,{d:`M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4`}),`PersonOutlined`),ak=Z((0,H.jsx)(`path`,{d:`M5 4v2h14V4zm0 10h4v6h6v-6h4l-7-7z`}),`Publish`),ok=Z((0,H.jsx)(`path`,{d:`M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z`}),`Refresh`),sk=Z((0,H.jsx)(`path`,{d:`m20.2 5.9.8-.8C19.6 3.7 17.8 3 16 3s-3.6.7-5 2.1l.8.8C13 4.8 14.5 4.2 16 4.2s3 .6 4.2 1.7m-.9.8c-.9-.9-2.1-1.4-3.3-1.4s-2.4.5-3.3 1.4l.8.8c.7-.7 1.6-1 2.5-1s1.8.3 2.5 1zM19 13h-2V9h-2v4H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2M8 18H6v-2h2zm3.5 0h-2v-2h2zm3.5 0h-2v-2h2z`}),`Router`),ck=Z((0,H.jsx)(`path`,{d:`M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z`}),`Save`),lk=Z((0,H.jsx)(`path`,{d:`M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7zm-6 .67 2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z`}),`SaveAlt`),uk=Z((0,H.jsx)(`path`,{d:`M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6`}),`Settings`),dk=Z((0,H.jsx)(`path`,{d:`m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z`}),`ShowChart`),fk=Z((0,H.jsx)(`path`,{d:`M11.99 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10m3.61 6.34c1.07 0 1.93.86 1.93 1.93s-.86 1.93-1.93 1.93-1.93-.86-1.93-1.93c-.01-1.07.86-1.93 1.93-1.93m-6-1.58c1.3 0 2.36 1.06 2.36 2.36s-1.06 2.36-2.36 2.36-2.36-1.06-2.36-2.36c0-1.31 1.05-2.36 2.36-2.36m0 9.13v3.75c-2.4-.75-4.3-2.6-5.14-4.96 1.05-1.12 3.67-1.69 5.14-1.69.53 0 1.2.08 1.9.22-1.64.87-1.9 2.02-1.9 2.68M11.99 20c-.27 0-.53-.01-.79-.04v-4.07c0-1.42 2.94-2.13 4.4-2.13 1.07 0 2.92.39 3.84 1.15-1.17 2.97-4.06 5.09-7.45 5.09`}),`SupervisedUserCircle`);Z((0,H.jsx)(`path`,{d:`M16 13h-3V3h-2v10H8l4 4zM4 19v2h16v-2z`}),`VerticalAlignBottom`),Z((0,H.jsx)(`path`,{d:`M8 11h3v10h2V11h3l-4-4zM4 3v2h16V3z`}),`VerticalAlignTop`);var pk=Z((0,H.jsx)(`path`,{d:`M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11z`}),`Videocam`),mk=Z((0,H.jsx)(`path`,{d:`M14.67 5v6.5H9.33V5zm1 6.5H21V5h-5.33zm-1 7.5v-6.5H9.33V19zm1-6.5V19H21v-6.5zm-7.34 0H3V19h5.33zm0-1V5H3v6.5z`}),`ViewModule`);Z((0,H.jsx)(`path`,{d:`M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3`}),`Visibility`),Z((0,H.jsx)(`path`,{d:`M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z`}),`Warning`);function hk(){console.log(`
|
|
236
|
+
██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗
|
|
237
|
+
██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗
|
|
238
|
+
██║██║ ██║██████╔╝██████╔╝██║ ██║█████╔╝ █████╗ ██████╔╝
|
|
239
|
+
██║██║ ██║██╔══██╗██╔══██╗██║ ██║██╔═██╗ ██╔══╝ ██╔══██╗
|
|
240
|
+
██║╚██████╔╝██████╔╝██║ ██║╚██████╔╝██║ ██╗███████╗██║ ██║
|
|
241
|
+
╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
|
242
|
+
`),console.log(`Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters`),console.log(`Help us to create open source project with reactJS!`),console.log(`See you :)`)}function gk(e){let t=e.themeType||`light`,n=e.size||300;return V.createElement(`div`,{style:{width:`100%`,height:`100%`,position:`absolute`,top:0,left:0,backgroundImage:e.backgroundImage&&e.backgroundImage!==`@@loginBackgroundImage@@`?e.backgroundImage:window.loadingBackgroundImage&&window.loadingBackgroundImage!==`@@loginBackgroundImage@@`?`url(${window.loadingBackgroundImage})`:void 0,backgroundColor:e.backgroundColor&&e.backgroundColor!==`@@loginBackgroundColor@@`?e.backgroundColor:window.loadingBackgroundColor&&window.loadingBackgroundColor!==`@@loginBackgroundColor@@`?window.loadingBackgroundColor:t===`dark`?`#000`:`#FFF`,backgroundSize:`cover`}},V.createElement(`div`,{style:{width:n,height:n,position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%,-50%)`,zIndex:2}},V.createElement(`svg`,{viewBox:`0 0 500 500`,xmlns:`http://www.w3.org/2000/svg`,width:`100%`,height:`100%`},V.createElement(`circle`,{strokeWidth:`5`,fill:`none`,stroke:`#01BBF5`,cx:`250`,cy:`250`,r:`200`}),V.createElement(`circle`,{strokeWidth:`5`,fill:`none`,stroke:`#01BBF5`,cx:`250`,cy:`250`,r:`133`}),V.createElement(`circle`,{strokeWidth:`5`,fill:`none`,stroke:`#01BBF5`,cx:`250`,cy:`250`,r:`83`}),V.createElement(`circle`,{strokeWidth:`5`,fill:`none`,stroke:`#01BBF5`,cx:`250`,cy:`250`,r:`66`}),V.createElement(`circle`,{strokeWidth:`15`,fill:`none`,stroke:`#01BBF5`,cx:`250`,cy:`250`,r:`15`}),V.createElement(`g`,null,V.createElement(`line`,{y2:`185`,x2:`250`,y1:`240`,x1:`250`,strokeWidth:`5`,stroke:`#01BBF5`,fill:`none`}),V.createElement(`line`,{y2:`315`,x2:`250`,y1:`260`,x1:`250`,strokeWidth:`5`,stroke:`#01BBF5`,fill:`none`}),V.createElement(`g`,{transform:`rotate(60, 250, 250)`},V.createElement(`line`,{y2:`185`,x2:`250`,y1:`240`,x1:`250`,strokeWidth:`5`,stroke:`#01BBF5`,fill:`none`}),V.createElement(`line`,{y2:`315`,x2:`250`,y1:`260`,x1:`250`,strokeWidth:`5`,stroke:`#01BBF5`,fill:`none`})),V.createElement(`g`,{transform:`rotate(120, 250, 250)`},V.createElement(`line`,{y2:`185`,x2:`250`,y1:`240`,x1:`250`,strokeWidth:`5`,stroke:`#01BBF5`,fill:`none`}),V.createElement(`line`,{y2:`315`,x2:`250`,y1:`260`,x1:`250`,strokeWidth:`5`,stroke:`#01BBF5`,fill:`none`})),[0,15,30,45,60,75,90,105,120,135,150,165,180,195,210,225,240,255,270,285,300,315,330,345].map(e=>V.createElement(`line`,{key:e,transform:`rotate(${e}, 250, 250)`,y2:`250`,x2:`115`,y1:`240`,x1:`135`,strokeWidth:`5`,stroke:`#01BBF5`,fill:`none`})),V.createElement(`animateTransform`,{attributeType:`xml`,attributeName:`transform`,type:`rotate`,from:`0 250 250`,to:`360 250 250`,dur:`10s`,additive:`sum`,repeatCount:`indefinite`})),V.createElement(`path`,{d:`M 56.089 160.250 C 55.077 162.588, 46.037 182.950, 36 205.500 C 25.963 228.050, 16.923 248.412, 15.911 250.750 L 14.071 255 28.286 254.976 L 42.500 254.952 47.931 242.226 C 50.918 235.227, 54.366 227.250, 55.592 224.500 L 57.822 219.500 66.383 237.250 L 74.945 255 88.973 255 C 96.688 255, 103 254.841, 103 254.646 C 103 254.452, 100.043 248.071, 96.430 240.466 L 89.859 226.638 91.603 222.771 C 92.563 220.644, 93.660 218.710, 94.043 218.473 C 94.426 218.237, 108.609 246.609, 125.562 281.522 L 156.384 345 166.071 345 C 175.705 345, 175.763 344.985, 176.856 342.250 C 179.911 334.602, 208 260.765, 208 260.383 C 208 260.138, 202.546 260.065, 195.879 260.219 L 183.759 260.500 174.629 285.244 C 169.608 298.853, 165.254 309.990, 164.952 309.994 C 164.651 309.997, 148.901 277.389, 129.952 237.532 C 111.004 197.674, 95.275 165.057, 95 165.049 C 94.725 165.041, 90.685 172.415, 86.022 181.435 C 81.358 190.455, 77.308 197.689, 77.022 197.510 C 76.735 197.331, 72.675 187.920, 68 176.598 C 63.325 165.275, 59.147 156.008, 58.714 156.005 C 58.282 156.002, 57.101 157.912, 56.089 160.250 M 55.294 168.694 C 52.241 175.842, 52.166 176.323, 53.718 178.692 L 55.349 181.182 56.706 178.591 C 57.453 177.166, 58.406 176, 58.825 176 C 59.244 176, 60.777 178.363, 62.232 181.250 C 64.829 186.403, 64.879 186.440, 64.939 183.250 C 64.973 181.463, 65.422 180, 65.937 180 C 66.724 180, 60.176 162.824, 58.920 161.596 C 58.689 161.370, 57.057 164.564, 55.294 168.694 M 91.698 175.542 C 89.205 180.626, 89.099 181.308, 90.410 183.792 L 91.840 186.500 92.926 183.669 C 94.349 179.961, 96.024 180.653, 98.588 186.009 L 100.676 190.370 101.324 187.132 C 101.832 184.592, 101.217 182.395, 98.473 176.947 C 96.549 173.126, 94.849 170, 94.696 170 C 94.542 170, 93.193 172.494, 91.698 175.542 M 157.005 192.607 C 143.168 197.636, 134.999 209.202, 135.001 223.761 C 135.002 232.756, 138.710 240.755, 145.856 247.180 C 152.159 252.848, 158.121 255, 167.518 255 C 173.509 255, 175.684 254.499, 180.811 251.936 C 200.823 241.936, 205.088 216.155, 189.337 200.403 C 181.479 192.546, 166.868 189.022, 157.005 192.607 M 206 223 L 206 255 215.472 255 L 224.944 255 225.222 241.419 L 225.500 227.837 230.500 234.660 C 233.250 238.412, 238.002 244.636, 241.060 248.491 L 246.620 255.500 253.810 255.168 L 261 254.836 261 222.918 L 261 191 251.528 191 L 242.056 191 241.778 204.552 L 241.500 218.104 231.111 204.552 L 220.722 191 213.361 191 L 206 191 206 223 M 285.821 192.331 C 276.229 195.045, 270.010 202.130, 270.004 210.349 C 269.995 221.957, 275.913 226.925, 295.801 232.006 C 300.753 233.271, 302.228 235.609, 299.412 237.730 C 296.739 239.746, 288.369 238.774, 281.563 235.657 L 276.132 233.171 272.469 239.320 C 268.119 246.621, 268.341 247.287, 276.524 251.500 C 281.399 254.010, 283.761 254.556, 290.977 254.842 C 302.365 255.294, 307.420 253.846, 312.603 248.649 C 317.383 243.855, 319.463 236.989, 318.043 230.693 C 316.210 222.562, 311.258 218.610, 297.878 214.599 C 288.025 211.645, 285.443 209.631, 288.538 207.315 C 291.104 205.394, 302.270 205.946, 306.769 208.217 L 310.039 209.866 313.104 203.794 C 316.516 197.035, 316.622 197.304, 309.167 193.844 C 303.663 191.289, 292.140 190.542, 285.821 192.331 M 322 199 L 322 207 330 207 L 338 207 338 231 L 338 255 347.500 255 L 357 255 357 231.044 L 357 207.088 364.250 206.794 L 371.500 206.500 371.792 198.750 L 372.084 191 347.042 191 L 322 191 322 199 M 379 223 L 379 255 401 255 L 423 255 423 247.500 L 423 240 409.500 240 L 396 240 396 235 L 396 230 407.500 230 L 419 230 419 222 L 419 214 407.500 214 L 396 214 396 210.529 L 396 207.058 409.250 206.779 L 422.500 206.500 422.792 198.750 L 423.084 191 401.042 191 L 379 191 379 223 M 433 223 L 433 255 442 255 L 451 255 451 247 L 451 239 454.800 239 C 458.555 239, 458.645 239.092, 462.469 246.937 L 466.339 254.874 476.172 255.187 C 481.580 255.359, 486.003 255.111, 486.002 254.636 C 486.001 254.160, 483.277 249.264, 479.949 243.754 C 473.914 233.765, 473.903 233.732, 475.836 231.619 C 480.222 226.824, 482.359 220.791, 482.431 213 C 482.512 204.192, 480.272 198.822, 475.031 195.260 C 469.795 191.703, 465.527 191.012, 448.750 191.006 L 433 191 433 223 M 448.210 213.250 L 448.500 221.500 455.338 221.500 C 461.319 221.500, 462.417 221.204, 464.088 219.139 C 465.995 216.785, 466.556 212.613, 465.379 209.545 C 464.356 206.879, 459.449 205, 453.509 205 L 447.919 205 448.210 213.250 M 163.169 209.017 C 156.337 210.583, 151.176 218.533, 152.339 225.701 C 154.672 240.077, 175.040 242.355, 180.446 228.844 C 184.978 217.516, 175.176 206.267, 163.169 209.017 M 216.676 271.715 C 216.037 272.750, 188 344.021, 188 344.612 C 188 344.863, 192.811 344.940, 198.691 344.784 L 209.381 344.500 211.894 336.750 L 214.406 329 226.550 329 L 238.694 329 242.097 336.992 L 245.500 344.983 255.250 344.992 C 262.399 344.998, 264.994 344.667, 264.979 343.750 C 264.968 343.063, 258.477 326.525, 250.555 307 L 236.150 271.500 226.656 271.215 C 221.434 271.058, 216.943 271.283, 216.676 271.715 M 273 307 C 273 326.800, 272.887 343.337, 272.750 343.750 C 272.613 344.163, 277.102 344.628, 282.727 344.785 L 292.954 345.069 293.227 327.379 L 293.500 309.689 307 327.336 L 320.500 344.982 328.262 344.991 L 336.025 345 335.762 308.250 L 335.500 271.500 326.750 271.211 L 318 270.922 317.882 286.711 C 317.816 295.395, 317.816 302.837, 317.882 303.250 C 317.947 303.663, 317.808 304, 317.574 304 C 317.340 304, 310.809 296.575, 303.060 287.500 L 288.971 271 280.985 271 L 273 271 273 307 M 223.254 303.048 L 220.078 312 226.539 312 C 230.093 312, 233 311.861, 233 311.691 C 233 311.257, 226.886 294.553, 226.636 294.302 C 226.522 294.189, 225.001 298.125, 223.254 303.048`,stroke:`none`,fill:e.themeType===`dark`?`#EEE`:`#111`,fillRule:`evenodd`}))))}function _k(e){let t=e.themeType||`dark`,n=e.size||300;return V.createElement(`div`,{style:{width:`100%`,height:`100%`,position:`absolute`,top:0,left:0,backgroundImage:e.backgroundImage&&e.backgroundImage!==`@@loginBackgroundImage@@`?e.backgroundImage:window.loadingBackgroundImage&&window.loadingBackgroundImage!==`@@loginBackgroundImage@@`?`url(${window.loadingBackgroundImage})`:void 0,backgroundColor:e.backgroundColor&&e.backgroundColor!==`@@loginBackgroundColor@@`?e.backgroundColor:window.loadingBackgroundColor&&window.loadingBackgroundColor!==`@@loginBackgroundColor@@`?window.loadingBackgroundColor:t===`dark`?`#000`:`#FFF`,backgroundSize:`cover`}},V.createElement(`div`,{style:{width:n,height:n,position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%,-50%)`,zIndex:2}},V.createElement(`svg`,{viewBox:`0 0 2000 1728`,style:{fillRule:`evenodd`,clipRule:`evenodd`,fill:`#00af78`}},V.createElement(`style`,null,`
|
|
243
|
+
@keyframes jump {
|
|
244
|
+
0% { fill: #00af78; }
|
|
245
|
+
25% { fill: #00af78; }
|
|
246
|
+
25.01% { fill: #00785A; }
|
|
247
|
+
100% { fill: #00785A; }
|
|
248
|
+
}
|
|
249
|
+
.bar { animation: jump 2s linear infinite; }
|
|
250
|
+
.bar.bar1 { animation-delay: 0s; }
|
|
251
|
+
.bar.bar2 { animation-delay: 0.5s; }
|
|
252
|
+
.bar.bar3 { animation-delay: 1s; }
|
|
253
|
+
.bar.bar4 { animation-delay: 1.5s; }
|
|
254
|
+
`),V.createElement(`path`,{d:`M944.5 76.5a852 852 0 0 1 129 6.5 598 598 0 0 1 51 9c19.36 5.344 38.69 10.677 58 16a834 834 0 0 1 117 52 698 698 0 0 1 95 69c2.67 2 5.33 2 8 0a410 410 0 0 1 37-28 18.4 18.4 0 0 1 6-.5q.495 10.51 4.5 20a3200 3200 0 0 0 18 73 3553 3553 0 0 0 19 66 48.8 48.8 0 0 0 2.5 11 4.94 4.94 0 0 1-1 2.5c-2.33.667-4.67.667-7 0a19 19 0 0 0-5-3 209 209 0 0 0-24-7 292 292 0 0 0-20-8c-8.68-2.341-17.34-4.674-26-7a221 221 0 0 0-21-8 337 337 0 0 1-34-11 1272 1272 0 0 1-43-13q-2.91-3.23-1.5-7.5a671 671 0 0 0 42.5-35l-1.5-3a289 289 0 0 0-21.5-18.5c-9.31-6.637-18.65-13.304-28-20a731 731 0 0 1-44-26 175 175 0 0 1-30-15 568 568 0 0 0-50-20 1038 1038 0 0 1-53-16 1070 1070 0 0 0-48-10 1087 1087 0 0 1-55-6 1379 1379 0 0 0-99 1 203.5 203.5 0 0 1-35 5Q629.152 192.558 494 414.5a132 132 0 0 1-10 17 1277 1277 0 0 0-21 43l-11 27a637 637 0 0 1-14 41 8191 8191 0 0 1-16 67 50.7 50.7 0 0 0-1 15 11.3 11.3 0 0 0 1.5 3.5 327 327 0 0 1 40 8q62.273 18.89 115 56 70.252 53.736 113.5 130.5 59.461 114.478 41 243c-.667 1.33-1.333 2.67-2 4a335 335 0 0 1-3 18 507 507 0 0 1-20 53 309 309 0 0 1-10 17c-1.699.91-3.533 1.24-5.5 1 .377-40.1-3.456-79.77-11.5-119l-3-6a154.4 154.4 0 0 0-7-27Q629.1 886.514 525.5 812a44.5 44.5 0 0 1-9.5-5.5l-1.5.5q69.98 79.772 110.5 177.5a684 684 0 0 1 21 74c.389 8.51 1.722 16.84 4 25q1.302 30.765 2.5 61.5-2.217 6.885.5 13.5l17.5 13.5a1597 1597 0 0 0 61 36 3333 3333 0 0 1 61 26q25.04 7.53 50 15a771 771 0 0 0 51 10 526.7 526.7 0 0 0 120 5c15.24-2.5 30.57-4.17 46-5 154.49-25.8 278.99-100.96 373.5-225.5 36-49.308 63.67-102.974 83-161 .29-5.821 1.96-11.154 5-16q7.2-33.086 15-66a343 343 0 0 1 4-30c-5.29 5.217-9.62 11.217-13 18-26.71 37.032-60.54 65.866-101.5 86.5a471 471 0 0 1-27 11 50.1 50.1 0 0 0-17 5q-13.77 1.158-27 5-33 2.977-66 0a153 153 0 0 0-29-5c-52.38-14.072-96.21-41.572-131.5-82.5q-58.935-72.777-58.5-167.5.345-16.269 1.5-32.5 10.89-72.278 57-128c66.33-75.505 149.5-104.339 249.5-86.5a700 700 0 0 1 48 16c4.24 2.853 8.57 5.52 13 8l6 2c20.5 12.068 38.84 26.735 55 44q2.37 1.06 4.5 2.5a442 442 0 0 0 25.5-24.5c2.59-1.601 5.26-1.767 8-.5a1168 1168 0 0 0 25.5 55 1221 1221 0 0 0 16 45c.41 6.057 2.08 11.724 5 17 .58 6.637 2.24 12.97 5 19a778 778 0 0 1 10 55c18.69 162.392-18.64 309.725-112 442-15.67 19-31.33 38-47 57-34.61 35.92-72.44 68.42-113.5 97.5q-16.53 10.545-33 21a516 516 0 0 1-35 18l-3 3c-14.49 6.96-29.16 13.63-44 20-26.02 9.5-52.35 18.17-79 26q-132.478 31.62-267 9a1979 1979 0 0 0-61-14 421 421 0 0 1-25-9c-3.333-.67-6.667-1.33-10-2-20.636-8.65-41.303-17.32-62-26-124.377-64.5-220.21-158.33-287.5-281.5a1010 1010 0 0 1-17-39l-3-4a395 395 0 0 0-15-41 374 374 0 0 1-11-36l-9-39a366 366 0 0 0-6-36 1642 1642 0 0 1-5.5-92.5q5.24-279.871 211-466 61.788-53.755 135-91a1492 1492 0 0 1 47-21l28-10 37-11a1956 1956 0 0 1 46-10 1145 1145 0 0 1 87-10.5m367 359c12.69-.014 25.35.486 38 1.5a399 399 0 0 1 39 10c56.18 22.509 95.34 62.009 117.5 118.5 21.9 63.822 14.57 123.822-22 180-20.98 28.71-47.15 51.21-78.5 67.5-37.69 16.585-77.02 21.585-118 15-69.62-14.983-118.78-54.816-147.5-119.5a284 284 0 0 1-11-39q-15.24-126.17 85.5-201.5c29.7-18.676 62.04-29.509 97-32.5`}),V.createElement(`path`,{d:`M899.5 258.5a2829 2829 0 0 0 135 0c5.33.53 10.66 1.03 16 1.5l1.5 1.5q.255 125.792 1.5 251.5c-.56 6.766-2.73 12.932-6.5 18.5a587 587 0 0 0-9.5 25.5 71.8 71.8 0 0 1-5.5 20.5 575 575 0 0 0-5.5 52.5 587 587 0 0 0 5.5 55.5 515 515 0 0 0 18.5 58.5c-.24.873-.57 1.707-1 2.5a4183 4183 0 0 1-152 .5 11.3 11.3 0 0 1-1.5-3.5 58052 58052 0 0 1 0-482 30 30 0 0 1 3.5-3`}),V.createElement(`path`,{d:`M717.5 423.5q71.002-.25 142 .5l1.5 1.5q.713 154.588.5 309 .27 6.043-2 11.5a2513 2513 0 0 1-141 1 6.98 6.98 0 0 1-3.5-2.5 37080 37080 0 0 1-1.5-314.5q-.099-4.63 4-6.5`}),V.createElement(`path`,{d:`M1360.5 487.5c2.13-.353 3.47.48 4 2.5-.74 4.181-1.57 8.348-2.5 12.5a13569 13569 0 0 1-34 102 27.2 27.2 0 0 0-1 8c1.33 1.838 3.16 2.838 5.5 3a937 937 0 0 1 86 0 4.95 4.95 0 0 1-.5 3 820 820 0 0 0-27 29q-50.445 59.205-100.5 119-5.535 6.54-12 12a3.6 3.6 0 0 1-1.5-1q-1.005-3 0-6a1048 1048 0 0 0 16-61c2.94-5.581 4.6-11.581 5-18l3-6a156.5 156.5 0 0 1 5-24 11.3 11.3 0 0 0-3.5-1.5l-90-1a3.6 3.6 0 0 1-1-1.5c49.72-57.045 99.38-114.045 149-171`},V.createElement(`animate`,{attributeName:`fill`,values:`#00af78;${t===`dark`?`#ffffff`:`#00785A`};#00af78`,dur:`2s`,repeatCount:`indefinite`})),V.createElement(`path`,{className:`bar bar1`,d:`M544.5 537.5q68.283-.426 136.5 1a2379 2379 0 0 1 1.5 96.5l-.5 92.5q-.918 3.798-4.5 2.5-50.249-64.14-122-103-8.75-1.76-14.5-8.5-1-39 0-78a30 30 0 0 1 3.5-3M721.5 777.5q60.628-.732 121 1.5 37.233 79.24 74.5 158.5 1 2 0 4a3116 3116 0 0 1-136.5.5 417 417 0 0 1-8.5-38.5 962 962 0 0 1-15-47 713 713 0 0 0-21-46 732 732 0 0 1-16-27q-1.122-3.51 1.5-6`}),V.createElement(`path`,{className:`bar bar2`,d:`M879.5 777.5q93-.25 186 .5c18.83 33.513 43.5 62.179 74 86a144.6 144.6 0 0 1 23 16q13.5 5.88 25.5 14.5a574 574 0 0 1 22.5 45c-.33 1-.67 2-1 3-84.63-.161-169.3.006-254 .5q-3.752-3.208-6.5-7.5a2804 2804 0 0 1-8-20 252 252 0 0 1-13-24 3463 3463 0 0 0-23-53 1506 1506 0 0 1-27-55q-1.122-3.51 1.5-6`}),V.createElement(`path`,{className:`bar bar3`,d:`M786.5 971.5q68.56.08 137 0a29.2 29.2 0 0 1 7 2.5 9467 9467 0 0 0 68.5 141.5c4 11.67 9.34 22.67 16 33 1.47 4.53-.2 6.87-5 7-86.772-.2-173.606-.37-260.5-.5-1.754-4.38-.921-8.22 2.5-11.5a411 411 0 0 1 10-25 578 578 0 0 0 10-32 99.6 99.6 0 0 1 5-22q2.12-21.06 5-42l1-48q1.478-1.971 3.5-3`}),V.createElement(`path`,{className:`bar bar4`,d:`M970.5 971.5c83.58.74 167.25.74 251 0 2.73.182 5.39.682 8 1.5 18.09 35.51 36.26 71.01 54.5 106.5 7.67 13.67 15.33 27.33 23 41 2.16 3.76 2.82 7.76 2 12-10.9 7.75-22.4 14.59-34.5 20.5-2.92.99-5.92 1.65-9 2-68.48.48-136.82.65-205 .5-4.11-.08-7.28-1.74-9.5-5a3780 3780 0 0 0-67-140 71388 71388 0 0 1-12-28q-5.977-4.855-1.5-11`}),V.createElement(`path`,{d:`M83.5 1377.5a332.5 332.5 0 0 0 50.5 0c3.056.58 6.056 1.24 9 2a31209 31209 0 0 1 126.5 194 3.6 3.6 0 0 0 1.5-1c.652-63.71.652-127.37 0-191 .51-2.76 2.177-4.09 5-4a279.4 279.4 0 0 0 47 0c2.145-.1 3.979.56 5.5 2 .529 54.71.862 109.54 1 164.5l-.5 116.5c-.575 3.3-2.575 4.96-6 5a490 490 0 0 0-52 0q-5.74-1.74-10-6a14653 14653 0 0 0-125.5-193q-2.01 1.785-2 4.5a6168 6168 0 0 1 .5 191.5q-2.794 3.675-7.5 3a219.4 219.4 0 0 0-41 0q-5.057-.81-5.5-6c-.667-93.33-.667-186.67 0-280a19.2 19.2 0 0 0 3.5-2`}),V.createElement(`path`,{d:`M986.5 1377.5c17.32 1.09 34.66 1.25 52 .5 3.23 1.94 5.4 4.78 6.5 8.5 9.36 38.7 18.7 77.37 28 116 3.05 6.64 4.72 13.64 5 21 2.95 5.96 4.62 12.29 5 19 4.15 16.12 8.49 32.12 13 48 2.04-1.08 3.38-2.75 4-5 4.23-19.04 8.56-38.04 13-57 4.55-15.3 8.88-30.64 13-46 .76-4.32 1.43-8.65 2-13 4.33-15.33 8.66-30.66 13-46 2.08-12.15 4.75-24.15 8-36 .85-3.2 2.35-6.03 4.5-8.5 19.85-.22 39.68-.72 59.5-1.5 2.3-.01 4.47.49 6.5 1.5 6.53 21.92 12.37 44.09 17.5 66.5 2.94 6.32 4.61 12.99 5 20 3.56 15.24 7.89 30.24 13 45 2.47 11.74 5.14 23.41 8 35a7.4 7.4 0 0 0 2 3c2.38 11.75 5.04 23.41 8 35 1.33 3.33 3.16 6.33 5.5 9a2872 2872 0 0 1 27.5-111c.39-7.01 2.06-13.68 5-20 .39-7.01 2.06-13.68 5-20 .57-4.35 1.24-8.68 2-13 4.34-16 8.67-32 13-48l1.5-1.5c16.17-.29 32.34-.79 48.5-1.5q5.385-.045 10.5 1.5c.58.89.91 1.89 1 3-2.02 4.57-3.18 9.4-3.5 14.5-2.84 6-4.5 12.34-5 19a351 351 0 0 0-8 25c-2.97 11.6-5.63 23.27-8 35-2.56 8.31-5.23 16.65-8 25-.39 6.38-2.06 12.38-5 18a8809 8809 0 0 1-38 144q-4.725 2.91-10.5 3a410 410 0 0 0-56.5 0c-3.08-.44-5.91-1.44-8.5-3-8.05-31.19-16.88-62.19-26.5-93-.67-4-1.33-8-2-12-9.67-32.85-18.5-65.85-26.5-99-3.92 8.2-6.42 16.87-7.5 26-.72 2.45-1.72 4.78-3 7a2343 2343 0 0 1-28 109c-.72 2.45-1.72 4.78-3 7-4.17 18.07-8.51 36.07-13 54-4.52 3.47-9.69 4.8-15.5 4a685 685 0 0 0-55.5 0c-1.63-.38-3.13-1.04-4.5-2q-6-17.88-10.5-36c-10.91-43.39-21.91-86.73-33-130-2.88-5.97-4.54-12.31-5-19a32 32 0 0 1-3-7 4792 4792 0 0 0-18-75c-3.031-5.25-4.031-10.92-3-17 .995-.57 1.828-1.23 2.5-2`}),V.createElement(`path`,{d:`M1648.5 1406.5c16.35.64 32.68 1.3 49 2 1.4 1.35 2.06 3.02 2 5a255 255 0 0 0-.5 38c.5 1.17 1.33 2 2.5 2.5 16.33.33 32.67.67 49 1 .92.37 1.75.87 2.5 1.5.82 13.58.66 27.08-.5 40.5-17 .33-34 .67-51 1-1.17.5-2 1.33-2.5 2.5-.67 31.33-.67 62.67 0 94 2.29 23.73 15.12 33.23 38.5 28.5 4.85-3.25 10.02-4.08 15.5-2.5.64 13.67.98 27.34 1 41a11.4 11.4 0 0 1-4.5 3.5c-22.63 5.41-45.29 5.75-68 1-13.91-4.18-24.08-12.68-30.5-25.5-4.8-11.14-7.13-22.81-7-35-.65-34.59-.65-69.25 0-104-.32-1.56-1.15-2.73-2.5-3.5-9-.33-18-.67-27-1-.92-.37-1.75-.87-2.5-1.5-.21-11.69-.71-23.36-1.5-35 .19-3.23 1.85-5.06 5-5.5 9-.33 18-.67 27-1l1.5-1.5c.33-14.33.67-28.67 1-43 .98-1.31 2.15-2.31 3.5-3M1807.5 1406.5c9.18.78 18.35.78 27.5 0 7.6.35 15.1 1.18 22.5 2.5a980 980 0 0 1 1.5 43.5l1.5 1.5c15 .33 30 .67 45 1 1.17.5 2 1.33 2.5 2.5-.77 11.49-.61 22.99.5 34.5a23 23 0 0 1-2 5c-15 .33-30 .67-45 1-.92.37-1.75.87-2.5 1.5-.67 32.67-.67 65.33 0 98 1.84 19.84 12.68 28.67 32.5 26.5 4.83-.18 9.33-1.35 13.5-3.5 1.44.06 2.77.39 4 1a673 673 0 0 0 3.5 36c.38 2.82-.62 4.99-3 6.5-23.81 6.5-47.81 7.17-72 2-12.46-5.13-21.63-13.63-27.5-25.5-1.1-4.87-2.77-9.54-5-14-.33-3.33-.67-6.67-1-10-.33-39-.67-78-1-117l-1.5-1.5c-10.43-.05-20.77-.71-31-2-.66-6.59-.99-13.26-1-20 .01-6.74.34-13.41 1-20 10.26-1.26 20.59-1.93 31-2l1.5-1.5c.33-14 .67-28 1-42 .69-1.85 1.86-3.18 3.5-4`}),V.createElement(`path`,{d:`M878.5 1446.5c27.433-1.66 52.433 5.01 75 20 21.826 18.58 34.326 42.24 37.5 71 3.595 25.23 1.262 49.9-7 74-16.274 34.06-43.107 53.89-80.5 59.5q-48.019 5.13-88-21-30.077-28.71-35.5-70.5a400 400 0 0 1 0-40q13.828-84.585 98.5-93m1 47c25.457-.37 42.623 11.3 51.5 35q9.63 36.765-4 72-17.011 26.355-48.5 22.5a61.5 61.5 0 0 0-14-5c-7.087-4.96-12.92-11.13-17.5-18.5a28.9 28.9 0 0 0-5-11c-3.333-19.33-3.333-38.67 0-58 4.098-14.4 12.598-25.23 25.5-32.5q6.626-1.05 12-4.5`}),V.createElement(`path`,{d:`M447.5 1447.5c21.766-2.21 42.766.62 63 8.5 21.067 11.41 35.234 28.57 42.5 51.5q1.39 10.62 4 21a229.3 229.3 0 0 1 1 40c-1.171 1.39-2.671 2.23-4.5 2.5q-65.505.255-131 1.5c-2.062 4.18-2.229 8.51-.5 13 2.366 8.1 5.7 15.77 10 23 15.264 15.93 33.764 20.77 55.5 14.5 3.87-2.52 7.87-4.85 12-7 3.262-2.59 5.762-5.76 7.5-9.5a39.7 39.7 0 0 1 8-7 965 965 0 0 0 21.5 8.5q10.12 1.62 18.5 7.5c.667 1.67.667 3.33 0 5q-9.276 20.79-27.5 34.5c-23.698 14.22-49.365 19.55-77 16-51.283-10.29-80.116-41.45-86.5-93.5-.894-14.71-.56-29.37 1-44a86 86 0 0 0 4-18 125.3 125.3 0 0 1 10.5-23c7.797-11.96 17.464-22.13 29-30.5 12.242-7.13 25.242-11.96 39-14.5m14 42c25.166 1.33 39.166 14.5 42 39.5q-1.824 2.61-5 3a719 719 0 0 1-75-1q2.218-22.395 21-36a123 123 0 0 1 17-5.5`}),V.createElement(`path`,{d:`M1482.5 1447.5c14.73-.22 29.39.61 44 2.5 37.88 7.55 57.72 30.72 59.5 69.5.33 38 .67 76 1 114 1.99 9.92 2.66 19.92 2 30-.75.63-1.58 1.13-2.5 1.5-15.66-.53-31.33-.53-47 0-2.44-2.29-3.94-5.13-4.5-8.5-1.06-4.6-1.73-9.27-2-14a7.2 7.2 0 0 0-2.5-2c-4.34 5.21-9.01 10.04-14 14.5-26.31 16.05-54.31 19.72-84 11q-44.205-19.29-37.5-67.5a124 124 0 0 0 5-17c8.22-13.88 19.38-24.72 33.5-32.5 9.71-4.13 19.71-7.46 30-10 21.1-4.3 42.44-6.63 64-7 1.8-.64 3.14-1.8 4-3.5-1.04-7.84-2.88-15.5-5.5-23a34.4 34.4 0 0 1-6.5-7.5 31.4 31.4 0 0 1-8-5c-6.73-.84-13.4-2.01-20-3.5-5.98 1.27-11.98 2.44-18 3.5q-3.72 4.11-9 6c-1.8 3.1-3.97 5.94-6.5 8.5-1.37 5.77-3.7 11.1-7 16-.8 1.3-1.97 1.97-3.5 2a426 426 0 0 0-34-13.5c-3.12-1.97-6.28-3.81-9.5-5.5-.65-3.09-.32-6.09 1-9 9.52-23.19 26.36-38.35 50.5-45.5a221 221 0 0 1 27-4.5m28 122c6.92-.31 13.76.02 20.5 1 2.47 19.95-4.37 35.78-20.5 47.5-4.04.9-7.7 2.57-11 5q-16.545 4.515-33 0c-16.58-9.72-18.91-22.05-7-37 2.29-1.29 4.29-2.96 6-5 14.59-5.91 29.59-9.74 45-11.5`}),V.createElement(`path`,{d:`M578.5 1454.5q29.139-.72 58 1.5c1.167 1.17 2.333 2.33 3.5 3.5a800 800 0 0 0 34 54c1.667-1.33 3.333-2.67 5-4a337 337 0 0 1 18-30 182 182 0 0 0 16.5-23.5 222 222 0 0 1 29-1.5c8.667.17 17.333.33 26 .5q3.726 3.42.5 7.5a2217 2217 0 0 0-63.5 93.5 103.5 103.5 0 0 0 8.5 15.5 5919 5919 0 0 1 59 85c2.155 3.04 1.988 5.87-.5 8.5a457 457 0 0 0-51 .5q-3.55-.51-7-1.5a728 728 0 0 1-40-60.5c-2.341-1.21-4.507-.88-6.5 1a926 926 0 0 1-28 45 120 120 0 0 1-11.5 14.5l-7.5 1.5c-16.734-.89-33.4-1.23-50-1q-.411-4.725 2-9a2463 2463 0 0 0 67.5-97.5 9.6 9.6 0 0 0-1.5-4.5 1263 1263 0 0 1-46-69l-18-24q-1.615-5.115 3.5-6`}))))}var vk=`
|
|
255
|
+
.logo-background-light, .logo-background-colored {
|
|
256
|
+
background: white;
|
|
257
|
+
}
|
|
258
|
+
.logo-background-dark, .logo-background-blue {
|
|
259
|
+
background: black;
|
|
260
|
+
}
|
|
261
|
+
`;function yk(e){(0,V.useEffect)(()=>{if(!window.document.getElementById(`vendor-iobroker-component`)){let e=window.document.createElement(`style`);e.setAttribute(`id`,`vendor-iobroker-component`),e.innerHTML=vk,window.document.head.appendChild(e)}},[]);let t=e.themeType||e.themeName||`light`;return V.createElement(`div`,{className:`vendor-logo-back logo-background-${t}`,style:{display:`flex`,flexDirection:`column`,height:`100%`,width:`10%`,margin:`auto`,backgroundImage:e.backgroundImage&&e.backgroundImage!==`@@loginBackgroundImage@@`?e.backgroundImage:window.loadingBackgroundImage&&window.loadingBackgroundImage!==`@@loginBackgroundImage@@`?`url(${window.loadingBackgroundImage})`:void 0,backgroundColor:e.backgroundColor&&e.backgroundColor!==`@@loginBackgroundColor@@`?e.backgroundColor:window.loadingBackgroundColor&&window.loadingBackgroundColor!==`@@loginBackgroundColor@@`?window.loadingBackgroundColor:e.themeType===`dark`?`#000`:`#FFF`,backgroundSize:`cover`}},V.createElement(`div`,{style:{flexGrow:1}}),V.createElement(bu,{color:`secondary`,size:e.size||200,thickness:5}),V.createElement(`div`,{style:{flexGrow:1}}))}var bk=`
|
|
262
|
+
/**
|
|
263
|
+
* Copyright 2018-2024 Denis Haev (bluefox) <dogafox@gmail.com>
|
|
264
|
+
*
|
|
265
|
+
* MIT License
|
|
266
|
+
*
|
|
267
|
+
**/
|
|
268
|
+
|
|
269
|
+
.logo-background-light, .logo-background-colored {
|
|
270
|
+
background: white;
|
|
271
|
+
}
|
|
272
|
+
.logo-background-dark, .logo-background-blue {
|
|
273
|
+
background: black;
|
|
274
|
+
}
|
|
275
|
+
.logo-div {
|
|
276
|
+
position: absolute;
|
|
277
|
+
top: 50%;
|
|
278
|
+
left: 50%;
|
|
279
|
+
-ms-transform: translateX(-50%) translateY(-50%);
|
|
280
|
+
-webkit-transform: translate(-50%,-50%);
|
|
281
|
+
transform: translate(-50%,-50%);
|
|
282
|
+
overflow: hidden;
|
|
283
|
+
border-radius: 50%;
|
|
284
|
+
z-index: 2;
|
|
285
|
+
}
|
|
286
|
+
.logo-border {
|
|
287
|
+
/*border-color: #164477;*/
|
|
288
|
+
border-top-color: #3399CC;
|
|
289
|
+
border-left-color: #164477;
|
|
290
|
+
border-bottom-color: #164477;
|
|
291
|
+
border-right-color: #164477;
|
|
292
|
+
border-radius: 50%;
|
|
293
|
+
border-style: solid;
|
|
294
|
+
box-sizing: border-box;
|
|
295
|
+
width: 100%;
|
|
296
|
+
height: 100%;
|
|
297
|
+
position: absolute;
|
|
298
|
+
}
|
|
299
|
+
.logo-top {
|
|
300
|
+
position: absolute;
|
|
301
|
+
width: 4.5%;
|
|
302
|
+
height: 16%;
|
|
303
|
+
top: 0;
|
|
304
|
+
z-index: 2;
|
|
305
|
+
}
|
|
306
|
+
.logo-i {
|
|
307
|
+
position: absolute;
|
|
308
|
+
width: 14.5%;
|
|
309
|
+
height: 60%;
|
|
310
|
+
top: 20%;
|
|
311
|
+
left: 42%;
|
|
312
|
+
background: #3399CC;
|
|
313
|
+
}
|
|
314
|
+
.logo-i-top {
|
|
315
|
+
position: absolute;
|
|
316
|
+
width: 14.5%;
|
|
317
|
+
height: 4%;
|
|
318
|
+
left: 42%;
|
|
319
|
+
background: #3399CC;
|
|
320
|
+
border-radius: 100%;
|
|
321
|
+
}
|
|
322
|
+
.logo-back {
|
|
323
|
+
width: 100%;
|
|
324
|
+
height: 100%;
|
|
325
|
+
z-index: 0;
|
|
326
|
+
overflow: hidden;
|
|
327
|
+
}
|
|
328
|
+
@keyframes logo-grow {
|
|
329
|
+
0% {
|
|
330
|
+
width: 230px;
|
|
331
|
+
height: 230px;
|
|
332
|
+
transform: translate(-50%,-50%) scale(1);
|
|
333
|
+
opacity: 1
|
|
334
|
+
}
|
|
335
|
+
99% {
|
|
336
|
+
width: 230px;
|
|
337
|
+
height: 230px;
|
|
338
|
+
transform: translate(-50%,-50%) scale(10);
|
|
339
|
+
opacity: 0;
|
|
340
|
+
}
|
|
341
|
+
100% {
|
|
342
|
+
width: 0;
|
|
343
|
+
height: 0;
|
|
344
|
+
opacity: 0;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
@keyframes logo-spin { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
|
|
348
|
+
@keyframes logo-color-inside-light {
|
|
349
|
+
0% {
|
|
350
|
+
background: #FEFEFE;
|
|
351
|
+
}
|
|
352
|
+
100% {
|
|
353
|
+
background: #3399CC;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
@keyframes logo-color-inside-dark {
|
|
357
|
+
0% {
|
|
358
|
+
background: #030303;
|
|
359
|
+
}
|
|
360
|
+
100% {
|
|
361
|
+
background: #3399CC;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
@keyframes logo-color-inside-colored {
|
|
365
|
+
0% {
|
|
366
|
+
background: #FEFEFE;
|
|
367
|
+
}
|
|
368
|
+
100% {
|
|
369
|
+
background: #3399CC;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
@keyframes logo-color-inside-blue {
|
|
373
|
+
0% {
|
|
374
|
+
background: #030303;
|
|
375
|
+
}
|
|
376
|
+
100% {
|
|
377
|
+
background: #3399CC;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
@keyframes logo-color-outside-light {
|
|
382
|
+
0% {
|
|
383
|
+
border-color: #FEFEFE;
|
|
384
|
+
}
|
|
385
|
+
100% {
|
|
386
|
+
border-top-color: #3399CC;
|
|
387
|
+
border-left-color: #164477;
|
|
388
|
+
border-bottom-color: #164477;
|
|
389
|
+
border-right-color: #164477;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
@keyframes logo-color-outside-dark {
|
|
393
|
+
0% {
|
|
394
|
+
border-color: #040404;
|
|
395
|
+
}
|
|
396
|
+
100% {
|
|
397
|
+
border-top-color: #3399CC;
|
|
398
|
+
border-left-color: #164477;
|
|
399
|
+
border-bottom-color: #164477;
|
|
400
|
+
border-right-color: #164477;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
@keyframes logo-color-outside-colored {
|
|
404
|
+
0% {
|
|
405
|
+
border-color: #FEFEFE;
|
|
406
|
+
}
|
|
407
|
+
100% {
|
|
408
|
+
border-top-color: #3399CC;
|
|
409
|
+
border-left-color: #164477;
|
|
410
|
+
border-bottom-color: #164477;
|
|
411
|
+
border-right-color: #164477;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
@keyframes logo-color-outside-blue {
|
|
415
|
+
0% {
|
|
416
|
+
border-color: #040404;
|
|
417
|
+
}
|
|
418
|
+
100% {
|
|
419
|
+
border-top-color: #3399CC;
|
|
420
|
+
border-left-color: #164477;
|
|
421
|
+
border-bottom-color: #164477;
|
|
422
|
+
border-right-color: #164477;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.logo-animate-wait {
|
|
427
|
+
animation: logo-color-outside 1.5s, logo-spin 1.5s linear infinite;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.logo-animate-grow-light {
|
|
431
|
+
background: #DDD;
|
|
432
|
+
}
|
|
433
|
+
.logo-animate-grow-dark {
|
|
434
|
+
background: #1d1d1d;
|
|
435
|
+
}
|
|
436
|
+
.logo-animate-grow-colored {
|
|
437
|
+
background: #DDD;
|
|
438
|
+
}
|
|
439
|
+
.logo-animate-grow-blue {
|
|
440
|
+
background: #1d1d1d;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.logo-animate-grow {
|
|
444
|
+
display: inline-block;
|
|
445
|
+
text-align: center;
|
|
446
|
+
z-index: 1;
|
|
447
|
+
top: 50%;
|
|
448
|
+
left: 50%;
|
|
449
|
+
-ms-transform: translateX(-50%) translateY(-50%);
|
|
450
|
+
-webkit-transform: translate(-50%,-50%);
|
|
451
|
+
transform: translate(-50%,-50%);
|
|
452
|
+
width: 245px;
|
|
453
|
+
height: 245px;
|
|
454
|
+
border-radius: 50%;
|
|
455
|
+
position: absolute;
|
|
456
|
+
animation: logo-grow 1s 1 ease forwards;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.logo-animate-color-inside-light {
|
|
460
|
+
animation: logo-color-inside-light 2.5s;
|
|
461
|
+
}
|
|
462
|
+
.logo-animate-color-inside-dark {
|
|
463
|
+
animation: logo-color-inside-dark 2.5s;
|
|
464
|
+
}
|
|
465
|
+
.logo-animate-color-inside-colored {
|
|
466
|
+
animation: logo-color-inside-colored 2.5s;
|
|
467
|
+
}
|
|
468
|
+
.logo-animate-color-inside-blue {
|
|
469
|
+
animation: logo-color-inside-blue 2.5s;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.logo-animate-color-outside-light {
|
|
473
|
+
animation: logo-color-outside-light 1.5s;
|
|
474
|
+
}
|
|
475
|
+
.logo-animate-color-outside-dark {
|
|
476
|
+
animation: logo-color-outside-dark 1.5s;
|
|
477
|
+
}
|
|
478
|
+
.logo-animate-color-outside-colored {
|
|
479
|
+
animation: logo-color-outside-colored 1.5s;
|
|
480
|
+
}
|
|
481
|
+
.logo-animate-color-outside-blue {
|
|
482
|
+
animation: logo-color-outside-blue 1.5s;
|
|
483
|
+
}
|
|
484
|
+
`;function xk(e){(0,V.useEffect)(()=>{if(!window.document.getElementById(`loader-iobroker-component`)){let e=window.document.createElement(`style`);e.setAttribute(`id`,`loader-iobroker-component`),e.innerHTML=bk,window.document.head.appendChild(e)}},[]);let t=e.size||234,n=e.themeName||e.theme||e.themeType||`light`;return V.createElement(`div`,{className:`logo-back logo-background-${n}`,style:{backgroundImage:e.backgroundImage&&e.backgroundImage!==`@@loginBackgroundImage@@`?e.backgroundImage:window.loadingBackgroundImage&&window.loadingBackgroundImage!==`@@loginBackgroundImage@@`?`url(${window.loadingBackgroundImage})`:void 0,backgroundColor:e.backgroundColor&&e.backgroundColor!==`@@loginBackgroundColor@@`?e.backgroundColor:window.loadingBackgroundColor&&window.loadingBackgroundColor!==`@@loginBackgroundColor@@`?window.loadingBackgroundColor:void 0,backgroundSize:`cover`}},window.loadingHideLogo===`true`?null:V.createElement(V.Fragment,null,V.createElement(`div`,{className:`logo-div`,style:{width:t,height:t}},V.createElement(`div`,{className:`logo-top logo-background-${n}`,style:{left:`37%`}}),V.createElement(`div`,{className:`logo-top logo-background-${n}`,style:{left:`57%`}}),V.createElement(`div`,{className:`logo-border logo-background-${n} logo-animate-wait`,style:{borderWidth:t*.132}}),V.createElement(`div`,{className:`logo-i logo-animate-color-inside-${n}`}),V.createElement(`div`,{className:`logo-i-top logo-animate-color-inside-${n}`,style:{top:`18%`}}),V.createElement(`div`,{className:`logo-i-top logo-animate-color-inside-${n}`,style:{bottom:`18%`}})),V.createElement(`div`,{className:`logo-animate-grow logo-animate-grow-${n}`,style:{width:t+11,height:t+11}})))}var Sk=`
|
|
485
|
+
.logo-background-light, .logo-background-colored {
|
|
486
|
+
background: white;
|
|
487
|
+
}
|
|
488
|
+
.logo-background-dark, .logo-background-blue {
|
|
489
|
+
background: black;
|
|
490
|
+
}
|
|
491
|
+
.pt-logo-div {
|
|
492
|
+
position: absolute;
|
|
493
|
+
top: 50%;
|
|
494
|
+
left: 50%;
|
|
495
|
+
-ms-transform: translateX(-50%) translateY(-50%);
|
|
496
|
+
-webkit-transform: translate(-50%,-50%);
|
|
497
|
+
transform: translate(-50%,-50%);
|
|
498
|
+
z-index: 2;
|
|
499
|
+
}
|
|
500
|
+
.pt-logo-border {
|
|
501
|
+
border-style: solid;
|
|
502
|
+
box-sizing: border-box;
|
|
503
|
+
width: 100%;
|
|
504
|
+
height: 100%;
|
|
505
|
+
position: absolute;
|
|
506
|
+
}
|
|
507
|
+
.pt-loader-block {
|
|
508
|
+
height: 65px;
|
|
509
|
+
width: 74px;
|
|
510
|
+
border-radius: 15px;
|
|
511
|
+
position: absolute;
|
|
512
|
+
box-sizing: content-box;
|
|
513
|
+
}
|
|
514
|
+
.pt-loader-blue {
|
|
515
|
+
border: 9px solid #0F99DE;
|
|
516
|
+
transform: rotate(5grad);
|
|
517
|
+
left: 93px;
|
|
518
|
+
top: 0;
|
|
519
|
+
animation: spin-blue 5s ease-in-out infinite;
|
|
520
|
+
}
|
|
521
|
+
.pt-loader-green {
|
|
522
|
+
border: 9px solid #88A536;
|
|
523
|
+
transform: rotate(-6grad);
|
|
524
|
+
left: 70px;
|
|
525
|
+
top: 58px;
|
|
526
|
+
animation: spin-green 5s ease-in-out infinite;
|
|
527
|
+
}
|
|
528
|
+
.pt-loader-red {
|
|
529
|
+
border: 9px solid #BD1B24;
|
|
530
|
+
transform: rotate(-15grad);
|
|
531
|
+
left: 24px;
|
|
532
|
+
top: 100px;
|
|
533
|
+
animation: spin-red 5s ease-in-out infinite;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
@keyframes spin-blue {
|
|
537
|
+
0% {
|
|
538
|
+
transform: rotate(5deg);
|
|
539
|
+
}
|
|
540
|
+
25% {
|
|
541
|
+
transform: rotate(185deg);
|
|
542
|
+
}
|
|
543
|
+
50% {
|
|
544
|
+
transform: rotate(185deg);
|
|
545
|
+
}
|
|
546
|
+
75% {
|
|
547
|
+
transform: rotate(185deg);
|
|
548
|
+
}
|
|
549
|
+
100% {
|
|
550
|
+
transform: rotate(185deg);
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
@keyframes spin-green {
|
|
554
|
+
0% {
|
|
555
|
+
transform: rotate(-6deg);
|
|
556
|
+
}
|
|
557
|
+
25% {
|
|
558
|
+
transform: rotate(-6deg);
|
|
559
|
+
}
|
|
560
|
+
50% {
|
|
561
|
+
transform: rotate(174deg);
|
|
562
|
+
}
|
|
563
|
+
75% {
|
|
564
|
+
transform: rotate(174deg);
|
|
565
|
+
}
|
|
566
|
+
100% {
|
|
567
|
+
transform: rotate(-6deg);
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
@keyframes spin-red {
|
|
571
|
+
0% {
|
|
572
|
+
transform: rotate(-15deg);
|
|
573
|
+
}
|
|
574
|
+
25% {
|
|
575
|
+
transform: rotate(-15deg);
|
|
576
|
+
}
|
|
577
|
+
50% {
|
|
578
|
+
transform: rotate(-15deg);
|
|
579
|
+
}
|
|
580
|
+
75% {
|
|
581
|
+
transform: rotate(165deg);
|
|
582
|
+
}
|
|
583
|
+
100% {
|
|
584
|
+
transform: rotate(165deg);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
`;function Ck(e){let t=e.size||200;(0,V.useEffect)(()=>{if(!window.document.getElementById(`pt-iobroker-component`)){let e=window.document.createElement(`style`);e.setAttribute(`id`,`pt-iobroker-component`),e.innerHTML=Sk,window.document.head.appendChild(e)}},[]);let n=e.themeType||e.themeName||`light`;return V.createElement(`div`,{className:`pt-logo-back logo-background-${n}`,style:{backgroundImage:e.backgroundImage&&e.backgroundImage!==`@@loginBackgroundImage@@`?e.backgroundImage:window.loadingBackgroundImage&&window.loadingBackgroundImage!==`@@loginBackgroundImage@@`?`url(${window.loadingBackgroundImage})`:void 0,backgroundColor:e.backgroundColor&&e.backgroundColor!==`@@loginBackgroundColor@@`?e.backgroundColor:window.loadingBackgroundColor&&window.loadingBackgroundColor!==`@@loginBackgroundColor@@`?window.loadingBackgroundColor:e.themeType===`dark`?`#000`:`#FFF`,backgroundSize:`cover`}},V.createElement(`div`,{className:`pt-logo-div`,style:{width:t,height:t}},V.createElement(`div`,{style:{width:200,height:200}},V.createElement(`div`,{className:`pt-loader-blue pt-loader-block`}),V.createElement(`div`,{className:`pt-loader-green pt-loader-block`}),V.createElement(`div`,{className:`pt-loader-red pt-loader-block`}))))}var wk=`loader-ha-spin-keyframes`,Tk=`
|
|
588
|
+
@keyframes loaderHA-spin {
|
|
589
|
+
0% { transform: rotate(0deg); }
|
|
590
|
+
100% { transform: rotate(360deg); }
|
|
591
|
+
}`;function Ek(e){let t=e.themeType||`dark`,n=e.size||270,r=n*1.5,i=n*14/270,a=n*280/270;return V.useEffect(()=>{if(!window.document.getElementById(wk)){let e=window.document.createElement(`style`);e.setAttribute(`id`,wk),e.innerHTML=Tk,window.document.head.appendChild(e)}},[]),V.createElement(`div`,{style:{width:`100%`,height:`100%`,position:`absolute`,top:0,left:0,display:`flex`,alignItems:`center`,justifyContent:`center`,backgroundImage:e.backgroundImage&&e.backgroundImage!==`@@loginBackgroundImage@@`?e.backgroundImage:window.loadingBackgroundImage&&window.loadingBackgroundImage!==`@@loginBackgroundImage@@`?`url(${window.loadingBackgroundImage})`:void 0,backgroundColor:e.backgroundColor&&e.backgroundColor!==`@@loginBackgroundColor@@`?e.backgroundColor:window.loadingBackgroundColor&&window.loadingBackgroundColor!==`@@loginBackgroundColor@@`?window.loadingBackgroundColor:t===`dark`?`#000`:`#FFF`,backgroundSize:`cover`}},V.createElement(`div`,{style:{position:`relative`,width:r,height:r,display:`flex`,justifyContent:`center`,alignItems:`center`}},V.createElement(`div`,{style:{position:`absolute`,top:-i,left:-i,right:-i,bottom:-i,border:`${i}px solid transparent`,borderTop:`${i}px solid rgba(219, 10, 51, 0.50)`,borderRadius:`50%`,animation:`loaderHA-spin 3.6s linear infinite`}}),V.createElement(`div`,{style:{position:`absolute`,width:`100%`,height:`100%`,border:`${i}px solid transparent`,borderTop:`${i}px solid rgba(219, 10, 51, 0.75)`,borderRadius:`50%`,animation:`loaderHA-spin 2.2s linear infinite`}}),V.createElement(`div`,{style:{width:n,height:n,zIndex:1,display:`flex`,justifyContent:`center`,alignItems:`center`}},V.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 69.6 148.1`,style:{width:`100%`,height:`100%`}},V.createElement(`path`,{fill:`#db0a33`,d:`M69.5,100.6c0-.4,0-.8-.2-1.1v-.7c-.2-.4-.3-.8-.5-1.2,0-.2-.2-.5-.3-.7,0,0,0-.2,0-.2,0-.2,0-.3-.2-.5l-.4-.7-.4-.6c-1-1.6-2.4-3-4.2-4.3-.3-.2-.6-.4-.9-.6,0,0-.2,0-.3-.2-.3-.2-.6-.3-.9-.5-.2,0-.3-.2-.5-.3-.3-.2-.6-.3-.9-.5,0,0-.2,0-.3-.2-1-2.7-2.4-4.9-3.8-6.7h0c2.5,0,6.6-.3,7.5-3,3.5-3,2.5-9.7,2.5-10,0-.6-.2-1.1-.4-1.7h0v-.3c.5-3-.4-7.1-.5-7.7h0l-.3-1.1c0-.3-.2-.7-.4-1,0-.4-.3-.7-.4-1,0-.3-.3-.7-.5-1s-.4-.7-.6-1c-.2-.3-.4-.6-.6-.9l-.4-.4-.4-.4-.4-.4c0,0-.3-.3-.5-.4-.3-.2-.6-.4-1-.6-.2,0-.4-.2-.5-.2-.2,0-.4,0-.6-.2-.2,0-.4,0-.6,0h-1.8c-.4,0-.8,0-1.1.2-.4,0-.7.2-1.1.4h0c-1.6-.2-2.6-1-3.1-1.7h0c2-.9,3.5-1.9,4.6-3,2.6-2.2,4-5.1,4.7-7.2,3.4-1.1,5.4-4,5.4-4h0c4.6-5.3,1.2-15.1,1.2-15.1,0,0-.8,4.2-4,5.5,0-.3-.2-.6-.3-1.1s-.3-1.1-.6-1.7c-.2-.7-.5-1.4-.9-2.2-.4-.8-.8-1.6-1.4-2.4-.5-.8-1.2-1.7-1.9-2.5h0C59.2,6.6,49.2.3,49.2.3c0,0,3.3,5.8,1.3,9.9,0,0-3.5-.8-5.7-.8s-2.4.1-3.5.3c-.5.1-1.1.2-1.6.3-.3,0-.5.1-.8.2-.2,0-.5.1-.7.2-.5.1-.9.2-1.3.4-.4.1-.8.3-1.2.4-.4.1-.7.2-1,.3s-.6.2-.9.3h-.2c-2-2.8-3.7-7.5,1.8-11.9,0,0-13,5.3-8.2,17,0,0,0,.2-.1.4h0c-.3.3-.6.7-1,1.3-.3.6-.7,1.3-.9,2.1-.1.4-.2.8-.2,1.3v1.5c-.2-.1-.5-.2-.9-.4-1.7-.8-1.7-2.8-1.7-2.8-1.1,8.3,4.2,13.3,5.2,14.1,0,.4,0,.7-.2,1v.4c-.2,0-.3.3-.4.5-.1.4-.2.7-.3,1.1-.1.7-.1,1.5,0,2.2s.3,1.4.5,2c.3.6.6,1.2.9,1.7,0,0,0,0,.1.2.4.6,1,1.4,2,2h.1c.2,0,.8.5,1.7.7.2.2,1.5,1.7,3.1,2.1-.2,1.1-1,2.8-3.4,3.7,0,0-14.2-.4-13.2,13.5-6.6,8.7-3.8,13.4-3.8,13.4-.9.6-.9,1.9-.5,3,0,0,0,.3.2.5,0,0,0,0,.3.4.3.4.6.7,1,.8,1.1.7,3.1,1.5,6.4,1.1.2.3,1.3,1.8,1.3,2.2.5,2.3,1.2,4.5,1.3,6.8l.2,1.3c-2.2-.2-11-.2-16.6,9.1,0,0-.2.2-.2.4l-.5.9-.6,1.2h0c-.3.7-.7,1.7-1.1,2.8-.5.4-1.2,0-1.7-.3-.4-.4-.7-.7-.9-1.1,0,0,0-.2,0-.3v-.2s0-.2-.2-.2h0c0,0,0,0-.2-.2h-.4s-.2,0-.2,0c-.2,0-.2.2-.3.3,0,0-.1.2-.2.2,0,.2-.2.3-.2.5-.2.6-.4,1.2-.6,1.8-.6,2.4-.6,4.9-.1,7.3.2,1.2.6,2.4,1.1,3.5.5,1.1,1.2,2.1,2,3.1.8.9,1.7,1.8,2.7,2.5s2,1.3,3.1,1.8h0l.6.4-.3-.7c-.2-.4-.3-.9-.5-1.3-.1-.4-.2-.9-.3-1.3-.1-.9-.2-1.8,0-2.7,0-.4.2-.8.4-1.2.2-.4.4-.7.7-1.1.6-.8,1-1.6,1.5-2.5.4-.9.8-1.8,1.1-2.7.1-.5.3-1,.3-1.5v-.9h0c.1-2.3-1.9-3-3-2.9-.9,0-1.7.2-2,.2.7-1.3,1.3-2.4,2-3.4h0c.2-.4.4-.6.6-.9.4-.5.8-1,1.2-1.5.1,0,.2-.3.3-.4h0c.1,0,.2-.2.3-.4.1,0,.2-.3.4-.4,6.5-6.5,12.5-2.9,12.5-2.9,0,0,1.1,3.7,1.6,4.6h0c1,2.3,2.7,4.6,4.1,6.9h0c0,0,0,4.8,2.2,7.2.5.6,1.1,1.3,1.7,2.2.3.5.5,1,.7,1.4.2.3.3.6.4.9.3.4.5.8.8,1.3s.6,1,.8,1.6c.2.5.4,1,.6,1.5,0,0,1,5.1.7,7.4-3.3.9-5.5,2.4-7.4,3.2-1,.3-3.4,2-5.5,1.9h-.5c0,.1-3.6.3-2.7,3.1,0,0,.2,3.6,5.8,2.9,1.8-.1,7.5-.5,9.1-.3,1.6.2,2.8.2,3.7.1,1.3,0,3.8,0,5.3-.4.4,1.8,3.2,2.4,6,1.5,3.6,1.6,13.5,2,15.6-1.6,2.4-4.1-2.4-8.6-4.1-12.6-3.8-9.3-.8-14-1.6-16.8,0-.7-.2-1.8-.4-3.2.8-.4,1.5-.8,2.2-1.3,1-.7,1.7-1.4,2.3-2.1l.2-.2c0,0,.2-.3.3-.4l.6-.9.6-1.2.4-1.1.3-1.2v-.8c0-.3,0-.5,0-.7h0v-2.4h.2ZM52.6,131.9c-.3.4-.7.9-1.2,1.6-1-.6-2.7-2.2-3.3-4.3,0-.2,0-.3-.2-.5-1.1-6.9-2.6-9.7-3.2-10.6-1-3.7-1.7-7.4-1.3-9.6,0,0,3.6,8.2,6.4,10,0,0,3.7,8.5,4.5,9.9.6,1-.9,2.3-1.7,3.5ZM63.6,102.7h0v.2h0v.9c0,0-.3.4-.3.4,0,0,0,.2,0,.3v.2h0v.2h0l-.2.2c-.3.6-.8,1.1-1.3,1.5h0c-.3-2.4-.6-5.1-.8-8.2.2-.5.3-1.1.4-1.7l.2.2c.2.2.4.4.5.6.2.2.3.4.5.7,0,.2.3.4.4.7h0c0,.3.2.5.3.7,0,.2.2.5.2.7h0v.3c0,.2,0,.4,0,.6v.7h0v.7h0Z`}))),V.createElement(`div`,{style:{position:`absolute`,width:a,zIndex:2,top:`57.5%`,left:`50%`,transform:`translate(-50%, -155%)`}},V.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 7152 512`,width:`100%`,height:`auto`},V.createElement(`path`,{fill:`#fff`,d:`M4566 0h1053v5h25c2 5 2 5 1 8h16q3 3 2 7l3 1 4 1 2 7h2l12 1q3 1 2 6v3h7q3 4 2 10v6h3l4 1 1 8 3-1 5 2 1 7 7 1 1 14v2h3q3 0 5 2l1 9v22l3 1 4 1 1 7v41q0 3-3 5l-5 1v26q1 3-2 5h-8l1 2v8l-1 8h-8v16q-3 3-7 2l-1 3-2 5h-6v6l-1 11h-7l-1 8-10 1h-6l-1 3-1 4-7 2v3l-2 4h-16l1 2-2 6h-15v3l-3 6-10 1h-11l-10 2q1 3-2 5l-8 1h-796l-4-1-2-7h-2q-7 0-14-2v-8h-8l-1-7h-3l-4-1q-2-5-2-10v-62l2-6 7-1v-3l2-4h7v-8l5-1h3v-3l1-5q3-2 8-1h57l140-1h602v-3l2-4h7l1-8 8-1v-31l-7-1q-2-2-2-5v-2l-3-1q-5 0-6-4v-5h-3l-11 1-2-2v-7h-917l-1 8-23 1h-14l-5-1v7l-9 3h-7l-1 3-1 4-9 1h-6l-1 3-2 5h-6v3q0 3-2 5l-6 1v3q0 3-4 5h-5v15l-2 2h-7v16h-8v110h8v24h6l3 3v5l3 1q4 0 6 4l-1 5 9 2v6h3q3 0 5 2l1 6h2l5 1q2 4 0 8h2q12-3 23 1l1 5v3l2-1h1069l9 1 1 8h18l7 2 1 6h3q3 0 5 4l1 5h3q3 0 5 4v12l3 1 5 2v21l1 17v3l-1 8-5 3-3 1v8l-2 7h-8l1 2-1 6h-16v5H4571v-5h-42v-8h-16q-2-3-2-7h-7l-4-1q-3 1-5-2v-7l-2 1h-8q-4 0-7-2l-1-8-3 1h-3q-2-1-2-6v-3h-3q-5 1-6-2l1-6h-3l-6-2-1-6h-3q-3 0-5-4v-6l-3 1h-3q-3-4-3-10v-7l-8-1 1-8h-9l-1-7v-2l1-8h-7q-2-3-2-8v-18l-2 1-6-2-1-9v-23h-2q-3 1-5-2V186l1-3h7v-32q3-4 8-3v-19q0-4 3-6h6l-1-2q-1-8 3-14h7v-7q3-2 7-2v-9c1-6 1-6 3-8h6v-3l1-5 7-1 1-3q1-5 3-5l6-1v-3q-1-3 2-5h6v-3q-1-3 2-5l6-1v-2l2-5 7-2 1-6 6-2 2 1v-3q-1-4 2-6l7-1h7v-3l2-4h16V5h34l-1-4zM1620 0h1065v5h23l3 1v6l15 1 2 6-1 2h7q3 3 3 8h3l5 3v7h3l5 1v7h3l5 1v7h3q4 0 6 2l1 6 3 1 5 2v15l8 2v24h7q3 4 2 10v395h-130V169l-7-2q-2-4-2-9v-6l-3-1-5-2v-15l-11 1-2-1-4-2v-7l-3 1h-17l-5-1v-8h-900v7c-4 4-14 2-19 2h-18l-5-1v3q1 5-2 6l-15 1h-4l-5-1v7q-3 3-7 2l-1 3-2 5h-7l1 3-2 5h-8v8l-4 1h-3v9c-1 6-1 6-3 8h-6v21l-1 3-7 1v83l7 1 1 3v22h3l5 1 1 15h3l4 2v7h7q3 4 2 9l9 2v6h3q3-1 5 2l1 6h11q3 0 5 2l1 6h4l12 2 1 7h714l8 2 1 5-1 2h18l8 2-1 6 9 1 1 9 7-1 1 9v3l1 6v7h3l4 2v33l-6 2-2-1v22l-2 4-7 1v3l-1 4h-8v5h-784v-5h-41c-2-5-2-5-1-8h-16q-2-3-2-7h-7l-4-1q-3 0-5-2v-7l-2 1h-4l-3-6v-3h-10q-3 0-7-2v-7h-3l-5-1-1-7h-3q-3 1-5-2l1-6-8-1q-2-5-2-11v-6h-3q-3 1-5-2v-6h-3q-3 1-5-2l-1-6-3-1q-5-1-5-3-2-8 0-14h-7q-2-5-2-10v-7l-2 1-4-1q-4-3-3-7v-18h-2q-3 1-5-2v-41h-7q-2-3-2-8V193q4-2 9-2v-41l5-1h3v-21l1-4 7-1v-10l2-6h7l-1-2q-1-7 2-15l8-1v-3l1-5h7V66q3-4 8-3v-3l3-5 6-1v-3l2-4h7v-7l6-2 2 1v-3q0-5 2-6l10-1h6l-1-2 1-4q4-3 9-2h7v-3q0-3 2-5h15l-1-3 3-5 7-1h25zM4137 0h130v392q1 3-2 5l-6 1v20l-1 4-7 2v2q1 7-2 13l-7 1v4c0 10 0 10-3 13h-6v3q1 3-2 5l-6 1v3l-2 4h-7v3l-2 6h-7v3q1 4-2 6h-6v3q1 3-2 5h-24v3l-1 5h-24l1 2v2q-3 2-6 1H3057v-5h-24l-2-6 1-2h-16l-1-5v-3h-9c-6 0-6 0-8-2l-1-7-3 1-5-3v-7l-2 1-6-2v-7h-7l-2-6 1-2h-3q-4 1-6-2v-6h-3l-4-1q-2-5-2-10v-7h-3q-3 1-5-2v-6h-3q-3 1-5-2l-1-7v-16h-3q-5-1-5-3l-1-7v-17l-2 1-6-2v-77c0-6 0-6 2-8h6v-27q-1-4 2-7l7-1v-11q-1-3 2-5l6-1v-7l1-4 1-5h7v-15q3-4 8-3l1-3 1-4 8-1v-3l1-5h7v-3q-1-4 2-6l6 1v-3q0-4 2-6l6-2v-2l3-5h15v-3q-1-3 2-5h15l-1-2 1-4 3-3h21l1-3q1-5 3-5l14-1h638v-2l2-6h148q3 0 5 2l1 6h13c7 0 7 0 11 2l2 7 7 1v8h7q3 5 2 12v66l-1 8-8 1v7q-3 3-7 2l-1 3-1 4-7 1h-211l-230 1h-333v3l-2 4h-24v7l-6 3q-4 3-4 7l-7 1v3q1 3-2 5h-7v3l-1 5h-7l1 49 6 1 1 5v3h8l1 6v3l-1 7h11q4-1 7 3v6l3-1 12 1q3 2 2 6v3l3-1h993l5 1v-3q-1-4 2-6l6-1v-3q0-3 4-5h6l-1-2 2-6h7v-3l2-14h5zM0 0h126l1 8v144l-1 5h932l106-1 7 1h4q3 0 5 2l2 6h52l5 2v7h9l8 1q2 4 1 8h2q7-2 14 1l1 7h11l5 1q2 4 1 8l3-1 5 3v7h8v16h7l4 8h2l5 3v23h3q3 0 5 2v24h7q3 7 2 14v137l-1 32v16q1 6-2 7h-5v7l-1 3-1 6h-16l1 3-1 2h-79v-4h-7l-3-1-6-1-1-8v-7h-6q-2-4-2-10V338h-3q-3 1-5-2l-1-9v-6h-3l-5-2v-16h-16l-2-6 1-2h-16l-1-1v-7H126l1 2v188c0 11 0 11-3 14h-7v15l-4 1h-12v5H22l-1-3 1-2h-3q-5 1-6-2v-5h-3l-5-2v-7H0zM6537 0h606v5l8 1 1 16v82l-3 4-8 1h-6v3l-1 4q-5 2-10 1h-509v3l-1 5q-13 2-24 0v3q1 5-2 6l-6 1h-4l-5-1v3l-1 5-7 2v8q0 6-2 7l-7 1v210c0 7 0 7-2 10h-7v32q-3 3-8 2v15q-2 3-5 2h-3v2q1 8-2 15l-7 1v7l-1 3-1 6h-7v7l-6 2-2-1v3q1 5-2 6l-9 2h-6v5q-4 3-9 2v3q1 3-2 5h-15l1 3-2 5h-33l1 3-1 2h-589v-5h-8v-8h-7l-3-10v-6l-3-1-4-1-1-7v-48l2-5 7-1v-10q-1-3 2-5 2-2 6-2l1-3 2-5h32v-7q6-3 12-2h498l8 1v-3q0-3 2-5l7-2h8l2-7 7-1v-11q0-3 2-5h6V167l1-8q4-4 8-3v-44l1-5h8V84l1-3h7V66l8-4v-2l3-5 6-1v-9l1-6h8v-8q8-3 15-2l1-3 3-5h6v-3q-1-3 2-5h15v-3q-1-3 2-5h24z`})))))}function Dk(e){let t=window.vendorPrefix;return t===`PT`?V.createElement(Ck,{themeType:e.themeType}):t===`MV`?V.createElement(gk,{themeType:e.themeType}):t===`NW`?V.createElement(_k,{themeType:`dark`}):t===`HA`?V.createElement(Ek,{themeType:`dark`}):t&&t!==`@@vendorPrefix@@`?V.createElement(yk,{themeType:e.themeType}):V.createElement(xk,{themeType:e.themeType})}var Ok=class e extends V.Component{onHashChangedBound;constructor(e){super(e),this.onHashChangedBound=this.onHashChanged.bind(this)}componentDidMount(){window.addEventListener(`hashchange`,this.onHashChangedBound)}componentWillUnmount(){window.removeEventListener(`hashchange`,this.onHashChangedBound)}onHashChanged(){}static getLocation(){let e=window.location.hash;e=e.replace(/^#/,``);let t=e.split(`/`).map(e=>{try{return e?decodeURIComponent(e):``}catch{return console.error(`Router: Cannot decode ${e}`),e}});return{tab:t[0]||``,dialog:t[1]||``,id:t[2]||``,arg:t[3]||``}}static doNavigate(t,n,r,i){let a=``,o=e.getLocation();i!==void 0&&!r&&(r=o.id),r&&!n&&(n=o.dialog),(n&&!t||t===null)&&(t=o.tab),t&&(a=`#${t}`,n&&(a+=`/${n}`,r&&(a+=`/${r}`,i!==void 0&&(a+=`/${i}`)))),window.location.hash!==a&&(window.location.hash=a)}};function kk(){let e=document.getSelection();if(!e?.rangeCount)return()=>{};let t=document.activeElement,n=[];for(let t=0;t<e.rangeCount;t++)n.push(e.getRangeAt(t));switch(t?.tagName.toUpperCase()){case`INPUT`:case`TEXTAREA`:t.blur();break;default:t=null}return e.removeAllRanges(),()=>{e.type===`Caret`&&e.removeAllRanges(),e.rangeCount||n.forEach(t=>e.addRange(t)),t&&t.focus()}}var Ak={"text/plain":`Text`,"text/html":`Url`,default:`Text`},jk=`Copy to clipboard: #{key}, Enter`;function Mk(e){let t=`${/mac os x/i.test(navigator.userAgent)?`⌘`:`Ctrl`}+C`;return e.replace(/#{\s*key\s*}/g,t)}function Nk(e,t){let n,r,i,a,o=!1;t||={};let s=t.debug||!1;try{if(n=kk(),r=document.createRange(),i=document.getSelection(),a=document.createElement(`span`),a.textContent=e,a.ariaHidden=`true`,a.style.all=`unset`,a.style.position=`fixed`,a.style.top=`0px`,a.style.clip=`rect(0, 0, 0, 0)`,a.style.whiteSpace=`pre`,a.style.userSelect=`text`,a.addEventListener(`copy`,n=>{if(n.stopPropagation(),t?.format){if(n.preventDefault(),n.clipboardData===void 0){s&&console.warn(`unable to use e.clipboardData`),s&&console.warn(`trying IE specific stuff`),window.clipboardData?.clearData();let n=Ak[t.format]||Ak.default;window.clipboardData?.setData(n,e)}else n.clipboardData?.clearData(),n.clipboardData?.setData(t.format,e)}}),document.body.appendChild(a),r.selectNodeContents(a),i?.addRange(r),!document.execCommand(`copy`))throw Error(`copy command was unsuccessful`);o=!0}catch(n){s&&console.error(`unable to copy using execCommand: `,n),s&&console.warn(`trying IE specific stuff`);try{window.clipboardData.setData(t.format||`text`,e),o=!0}catch(n){s&&console.error(`unable to copy using clipboardData: `,n),s&&console.error(`falling back to prompt`);let r=Mk(`message`in t?t.message||``:jk);window.prompt(r,e)}}finally{i&&(r&&typeof i.removeRange==`function`?i.removeRange(r):i.removeAllRanges()),a&&document.body.removeChild(a),n&&n()}return o}window.i18nTranslations||={},window.sysLang||=`en`;var Pk=class e{static unknownTranslations=[];static _disableWarning=!1;static setLanguage(e){e&&(window.sysLang=e)}static extendTranslations(e,t){if(e.prefix){let t=e;if(typeof t.prefix==`string`){let n=t.prefix;delete t.prefix,Object.keys(t).forEach(r=>{let i=r,a={},o=t[i];Object.keys(o).forEach(e=>{e&&o&&(e.startsWith(n)?a[e]=o[e]:a[`${n}${e}`]=o[e])}),e[i]=a})}else console.warn(`Found prefix in translations, but it is not a string`)}try{if(!t)e.en&&e.de&&e.ru?Object.keys(e).forEach(t=>{let n=t;window.i18nTranslations[n]||={},Object.assign(window.i18nTranslations[n],e[n])}):Object.keys(e).forEach(t=>{let n=e[t];Object.keys(n).forEach(e=>{let r=e,i=window.i18nTranslations[r];i?i[t]?i[t]!==n[r]&&console.warn(`Translation for word "${t}" in "${r}" was ignored: existing = "${i[t]}", new = ${n[r]}`):i[t]=n[r]:console.warn(`Used unknown language: ${r}`)})});else{window.i18nTranslations[t]||console.warn(`Used unknown language: ${t}`),window.i18nTranslations[t]||={};let n=window.i18nTranslations[t];Object.keys(e).forEach(r=>{n[r]?n[r]!==e[r]&&console.warn(`Translation for word "${r}" in "${t}" was ignored: existing = "${n[r]}", new = ${e[r]}`):n[r]=e[r]})}}catch(e){console.error(`Cannot apply translations: ${e}`)}}static setTranslations(t){t&&e.extendTranslations(t)}static getLanguage(){return window.sysLang}static t(t,...n){let r=window.i18nTranslations[window.sysLang];if(r){let n=r[t];if(n)t=n;else if(e.unknownTranslations.includes(t)||(e.unknownTranslations.push(t),!e._disableWarning&&console.log(`Translate: ${t}`)),window.sysLang!==`en`&&window.i18nTranslations.en){let e=window.i18nTranslations.en[t];e&&(t=e)}}for(let e of n)t=t.replace(`%s`,e);return t}static i18nShow(t){let n={};t?typeof t==`string`?(e.unknownTranslations.forEach(e=>{e.startsWith(t)&&(n[e]=e.replace(t,``))}),console.log(JSON.stringify(n,null,2))):t&&typeof t==`object`&&(e.unknownTranslations.forEach(e=>{t.test(e)&&(n[e]=e)}),console.log(JSON.stringify(n,null,2))):(e.unknownTranslations.forEach(e=>n[e]=e),console.log(JSON.stringify(n,null,2)))}static disableWarning(t){e._disableWarning=!!t}};window.i18nShow=Pk.i18nShow,window.i18nDisableWarning=Pk.disableWarning;var Fk=`material`,Ik=[`dark`,`blue`,`modernDark`],Lk=[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],Rk=[`Jan`,`Feb`,`Mar`,`Apr`,`Mai`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],zk={0:`0x00 - good`,1:`0x01 - general problem`,2:`0x02 - no connection problem`,16:`0x10 - substitute value from controller`,32:`0x20 - substitute initial value`,64:`0x40 - substitute value from device or instance`,128:`0x80 - substitute value from sensor`,17:`0x11 - general problem by instance`,65:`0x41 - general problem by device`,129:`0x81 - general problem by sensor`,18:`0x12 - instance not connected`,66:`0x42 - device not connected`,130:`0x82 - sensor not connected`,68:`0x44 - device reports error`,132:`0x84 - sensor reports error`},Bk={JVBERi0:`pdf`,R0lGODdh:`gif`,R0lGODlh:`gif`,iVBORw0KGgo:`png`,"/9j/":`jpg`,PHN2Zw:`svg`,Qk1:`bmp`,AAABAA:`ico`},Vk=class e{static namespace=Fk;static INSTANCES=`instances`;static dateFormat=[`DD`,`MM`];static FORBIDDEN_CHARS=/[^._\-/ :!#$%&()+=@^{}|~\p{Ll}\p{Lu}\p{Nd}]+/gu;static CapitalWords(e){return(e||``).split(/[\s_]/).filter(e=>e).map(e=>e?e[0].toUpperCase()+e.substring(1).toLowerCase():``).join(` `)}static formatSeconds(e){let t=Math.floor(e/86400);e%=86400;let n=Math.floor(e/3600).toString().padStart(2,`0`);e%=3600;let r=Math.floor(e/60).toString().padStart(2,`0`);e%=60;let i=Math.floor(e).toString().padStart(2,`0`),a=``;return t&&(a+=`${t} ${Pk.t(`ra_daysShortText`)} `),a+=`${n}:${r}:${i}`,a}static getObjectName(t,n,r,i,a){let o=t[n],s;if(typeof r==`string`&&!i&&(i={language:r},r=null),i||={},i.language||(i.language=t[`system.config`]&&t[`system.config`].common&&t[`system.config`].common.language||window.sysLang||`en`),r?.name){let e=r.name;s=typeof e==`object`?i.language&&e[i.language]||e.en:e}else if(a&&o?.common?.desc){let e=o.common.desc;s=typeof e==`object`?i.language&&e[i.language]||e.en||e.de||e.ru||``:e,s=(s||``).toString().replace(/[_.]/g,` `),s===s.toUpperCase()&&(s=s[0]+s.substring(1).toLowerCase())}else if(!a&&o?.common){let e=o.common.name||o.common.desc;s=e&&typeof e==`object`?i.language&&e[i.language]||e.en||e.de||e.ru||``:e,s=(s||``).toString().replace(/[_.]/g,` `),s===s.toUpperCase()&&(s=s[0]+s.substring(1).toLowerCase())}else{let t=n.lastIndexOf(`.`);s=n.substring(t+1).replace(/[_.]/g,` `),s=e.CapitalWords(s)}return s?.trim()||``}static getObjectNameFromObj(e,t,n,r,i){let a=e,o=e?._id||``;if(typeof t==`string`&&!n&&(n={language:t},t=null),n||={},t?.name){let e=t.name;o=typeof e==`object`?n.language&&e[n.language]||e.en:e}else if(r&&a?.common?.desc){let e=a.common.desc;o=typeof e==`object`?n.language&&e[n.language]||e.en:e,o=(o||``).toString().replace(/[_.]/g,` `),o===o.toUpperCase()&&(o=o[0]+o.substring(1).toLowerCase())}else if(!r&&a?.common?.name){let e=a.common.name;!e&&a.common.desc&&(e=a.common.desc),o=typeof e==`object`?n.language&&e[n.language]||e.en:e,o=(o||``).toString().replace(/[_.]/g,` `),o===o.toUpperCase()&&(o=o[0]+o.substring(1).toLowerCase())}return i?o:o.trim()}static getSettingsOrder(e,t,n){let r;r=e&&Object.prototype.hasOwnProperty.call(e,`common`)?e.common:e;let i;if(r?.custom){i=r.custom[Fk];let e=n.user||`admin`;if(i&&i[e]){if(t){if(i[e].subOrder&&i[e].subOrder[t])return JSON.parse(JSON.stringify(i[e].subOrder[t]))}else if(i[e].order)return JSON.parse(JSON.stringify(i[e].order))}}return null}static getSettingsCustomURLs(e,t,n){let r;r=e&&Object.prototype.hasOwnProperty.call(e,`common`)?e.common:e;let i;if(r?.custom){i=r.custom[Fk];let e=n.user||`admin`;if(i&&i[e]){if(t){if(i[e].subURLs&&i[e].subURLs[t])return JSON.parse(JSON.stringify(i[e].subURLs[t]))}else if(i[e].URLs)return JSON.parse(JSON.stringify(i[e].URLs))}}return null}static reorder(e,t,n){let r=Array.from(e),[i]=r.splice(t,1);return r.splice(n,0,i),r}static getSettings(t,n,r){let i,a=t?._id||n?.id,o;if(o=t&&Object.prototype.hasOwnProperty.call(t,`common`)?t.common:t,o?.custom?(i=o.custom,i=i[Fk]&&i[Fk][n.user||`admin`]?JSON.parse(JSON.stringify(i[Fk][n.user||`admin`])):{enabled:!0}):i={enabled:r===void 0||r,useCustom:!1},Object.prototype.hasOwnProperty.call(i,`enabled`)||(i.enabled=r===void 0||r),n&&(!i.name&&n.name&&(i.name=n.name),!i.icon&&n.icon&&(i.icon=n.icon),!i.color&&n.color&&(i.color=n.color)),o&&(!i.color&&o.color&&(i.color=o.color),!i.icon&&o.icon&&(i.icon=o.icon),!i.name&&o.name&&(i.name=o.name)),typeof i.name==`object`&&(i.name=n.language&&i.name[n.language]||i.name.en,i.name=(i.name||``).toString().replace(/_/g,` `),i.name===i.name.toUpperCase()&&(i.name=i.name[0]+i.name.substring(1).toLowerCase())),!i.name&&a){let t=a.lastIndexOf(`.`);i.name=a.substring(t+1).replace(/[_.]/g,` `),i.name=(i.name||``).toString().replace(/_/g,` `),i.name=e.CapitalWords(i.name)}return i}static setSettings(e,t,n){if(e){e.common||={},e.common.custom||={},e.common.custom[Fk]||={},e.common.custom[Fk][n.user||`admin`]=t;let r=e.common.custom[Fk][n.user||`admin`];return r.useCommon&&(r.color!==void 0&&(e.common.color=r.color,delete r.color),r.icon!==void 0&&(e.common.icon=r.icon,delete r.icon),r.name!==void 0&&(typeof e.common.name!=`object`&&n.language?e.common.name={[n.language]:r.name}:typeof e.common.name==`object`&&n.language&&(e.common.name[n.language]=r.name),delete r.name)),!0}return!1}static getIcon(e,t){return e?.icon?e.icon.length<=2?V.createElement(`span`,{style:t||{}},e.icon):e.icon.startsWith(`data:image`)?V.createElement(`img`,{alt:e.name,src:e.icon,style:t||{}}):V.createElement(`img`,{alt:e.name,src:(e.prefix||``)+e.icon,style:t}):null}static getObjectIcon(e,t){if(typeof e==`object`&&t&&(t=e,e=t._id),t?.common?.icon){let n=t.common.icon;if(typeof n==`string`&&n.length<=2||n.startsWith(`data:image`))return n;let r=e.split(`.`);return n=r[0]===`system`?`adapter/${r[2]}${n.startsWith(`/`)?``:`/`}${n}`:`adapter/${r[0]}${n.startsWith(`/`)?``:`/`}${n}`,window.location.pathname.match(/adapter\/[^/]+\/[^/]+\.html/)||window.location.pathname.match(/material\/[.\d]+/)?n=`../../${n}`:window.location.pathname.match(/material\//)&&(n=`../${n}`),n}return null}static splitCamelCase(t){return t?e.CapitalWords(t):``}static isUseBright(e,t){if(!e)return t??!0;e=e.toString(),e.startsWith(`#`)&&(e=e.slice(1));let n,r,i,a=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);if(a?.length===4)n=parseInt(a[1],10),r=parseInt(a[2],10),i=parseInt(a[3],10);else{if(e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e.length===8)e=e.substring(0,6);else if(e.length!==6)return!1;n=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),i=parseInt(e.slice(4,6),16)}return n*.299+r*.587+i*.114<=186}static getTimeString(e){if(e=parseFloat(e),Number.isNaN(e))return`--:--`;let t=Math.floor(e/3600),n=Math.floor(e%3600/60).toString().padStart(2,`0`),r=(e%60).toString().padStart(2,`0`);return t?`${t}:${n}:${r}`:`${n}:${r}`}static getWindDirection(e){return e>=0&&e<11.25?`N`:e>=11.25&&e<33.75?`NNE`:e>=33.75&&e<56.25?`NE`:e>=56.25&&e<78.75?`ENE`:e>=78.75&&e<101.25?`E`:e>=101.25&&e<123.75?`ESE`:e>=123.75&&e<146.25?`SE`:e>=146.25&&e<168.75?`SSE`:e>=168.75&&e<191.25?`S`:e>=191.25&&e<213.75?`SSW`:e>=213.75&&e<236.25?`SW`:e>=236.25&&e<258.75?`WSW`:e>=258.75&&e<281.25?`W`:e>=281.25&&e<303.75?`WNW`:e>=303.75&&e<326.25?`NW`:e>=326.25&&e<348.75?`NNW`:`N`}static padding(e){return typeof e==`string`?e.length<2?`0${e}`:e:e<10?`0${e}`:e.toString()}static setDataFormat(t){t&&(e.dateFormat=t.toUpperCase().split(/[.-/]/),e.dateFormat.splice(e.dateFormat.indexOf(`YYYY`),1))}static date2string(t){if(typeof t==`string`){if(t=t.trim(),!t)return``;if(t.match(/^[\w\s]+$/))return t;let n=t.match(/(\d{1,4})[-./](\d{1,2})[-./](\d{1,4})/);if(n){let r=[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10)],i=r.find(e=>e>31);if(i!==void 0){r.splice(r.indexOf(i),1);let n=r.find(e=>e>12);n?(r.splice(r.indexOf(n),1),t=new Date(i,r[0]-1,n)):e.dateFormat[0][0]===`M`&&e.dateFormat[1][0]===`D`?(t=new Date(i,r[0]-1,r[1]),Math.abs(t.getTime()-Date.now())>864e6&&(t=new Date(i,r[1]-1,r[0]))):e.dateFormat[0][0]===`D`&&e.dateFormat[1][0]===`M`?(t=new Date(i,r[1]-1,r[0]),Math.abs(t.getTime()-Date.now())>864e6&&(t=new Date(i,r[0]-1,r[1]))):t=new Date(t)}else t=new Date(t)}else t=new Date(t)}else t=new Date(t);let n=Pk.t(`ra_dow_${Lk[t.getDay()]}`).replace(`ra_dow_`,``);return n+=`. ${t.getDate()} ${Pk.t(`ra_month_${Rk[t.getMonth()]}`).replace(`ra_month_`,``)}`,n}static renderTextWithA(e){let t=e.match(/<a [^<]+<\/a>|<br\s?\/?>|<b>[^<]+<\/b>|<i>[^<]+<\/i>/);if(t){let n=[],r=1;do{let i=e.substring(0,t.index);if(e=e.substring((t.index||0)+t[0].length),i&&n.push(V.createElement(`span`,{key:`a${r++}`},i)),t[0].startsWith(`<b>`))n.push(V.createElement(`b`,{key:`a${r++}`},t[0].substring(3,t[0].length-4)));else if(t[0].startsWith(`<i>`))n.push(V.createElement(`i`,{key:`a${r++}`},t[0].substring(3,t[0].length-4)));else if(t[0].startsWith(`<br`))n.push(V.createElement(`br`,{key:`a${r++}`}));else{let e=t[0].match(/href="([^"]+)"/)||t[0].match(/href='([^']+)'/),i=t[0].match(/target="([^"]+)"/)||t[0].match(/target='([^']+)'/),a=t[0].match(/rel="([^"]+)"/)||t[0].match(/rel='([^']+)'/),o=t[0].match(/>([^<]*)</);n.push(V.createElement(`a`,{key:`a${r++}`,href:e?e[1]:``,target:i?i[1]:`_blank`,rel:a?a[1]:`noreferrer`,style:{color:`inherit`}},o?o[1]:``))}t=e?e.match(/<a [^<]+<\/a>|<br\s?\/?>|<b>[^<]+<\/b>|<i>[^<]+<\/i>/):null,!t&&e&&n.push(V.createElement(`span`,{key:`a${r++}`},e))}while(t);return n}return e}static getSmartName(e,t,n,r){if(!t){if(!r)return!e.common||e&&!e.common?e.smartName:e.common.smartName;if(e&&!e.common)return e.smartName;let t=e;return t?.common?.custom&&t.common.custom[n]?t.common.custom[n].smartName:void 0}if(!r)return e[t].common.smartName;let i=e[t];return i?.common?.custom&&i.common.custom[n]&&i.common.custom[n].smartName||null}static getSmartNameFromObj(e,t,n){if(!n)return!e.common||e&&!e.common?e.smartName:e.common.smartName;if(e&&!e.common)return e.smartName;let r=e?.common?.custom?.[t];return r?r.smartName:void 0}static enableSmartName(e,t,n){let r=e;n?(r.common.custom||={},r.common.custom[t]||={},r.common.custom[t].smartName={}):r.common.smartName={}}static removeSmartName(e,t,n){let r=e;n?r?.common?.custom?.[t]&&(r.common.custom[t]=null):r.common.smartName=null}static updateSmartName(e,t,n,r,i,a){let o=Pk.getLanguage(),s=e;if(typeof s.common.smartName==`string`){let e=s.common.smartName;s.common.smartName={},s.common.smartName[o]=e}if(s.native?.byON){delete s.native.byON;let e=s.common.smartName;e&&typeof e!=`object`&&(e={en:e,[o]:e}),s.common.smartName=e}if(r!==void 0&&(a?(s.common.custom||={},s.common.custom[i]||={},s.common.custom[i].smartName||={},r?s.common.custom[i].smartName.smartType=r:delete s.common.custom[i].smartName.smartType):(s.common.smartName||={},r?s.common.smartName.smartType=r:delete s.common.smartName.smartType)),n!==void 0&&(a?(s.common.custom||={},s.common.custom[i]||={},s.common.custom[i].smartName||={},s.common.custom[i].smartName.byON=n):(s.common.smartName||={},s.common.smartName.byON=n)),t!==void 0){let e;if(a?(s.common.custom||={},s.common.custom[i]||={},s.common.custom[i].smartName||={},e=s.common.custom[i].smartName):(s.common.smartName||={},e=s.common.smartName),e[o]=t,e&&(!e[o]||e[o]===s.common.name&&!s.common.role)){delete e[o];let t=!0;for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){t=!1;break}if(t){if(a&&s.common.custom?.[i])s.common.custom[i].smartName.byON===void 0?delete s.common.custom[i]:(delete s.common.custom[i].en,delete s.common.custom[i].de,delete s.common.custom[i].ru,delete s.common.custom[i].nl,delete s.common.custom[i].pl,delete s.common.custom[i].it,delete s.common.custom[i].fr,delete s.common.custom[i].pt,delete s.common.custom[i].es,delete s.common.custom[i].uk,delete s.common.custom[i][`zh-cn`]);else if(s.common.smartName&&s.common.smartName.byON!==void 0){let e=s.common.smartName;delete e.en,delete e.de,delete e.ru,delete e.nl,delete e.pl,delete e.it,delete e.fr,delete e.pt,delete e.es,delete e.uk,delete e[`zh-cn`]}else s.common.smartName=null}}}}static updateSmartNameEx(e,t){let n=Pk.getLanguage(),r=e;if(typeof r.common.smartName==`string`){let e=r.common.smartName;r.common.smartName={},r.common.smartName[n]=e}if(r.native?.byON){delete r.native.byON;let e=r.common.smartName;e&&typeof e!=`object`&&(e={en:e,[n]:e}),r.common.smartName=e}if(t.smartType!==void 0&&(t.noCommon?(r.common.custom||={},r.common.custom[t.instanceId]||={},r.common.custom[t.instanceId].smartName||={},t.smartType?r.common.custom[t.instanceId].smartName.smartType=t.smartType:delete r.common.custom[t.instanceId].smartName.smartType):(r.common.smartName||={},t.smartType?r.common.smartName.smartType=t.smartType:delete r.common.smartName.smartType)),t.byON!==void 0&&(t.noCommon?(r.common.custom||={},r.common.custom[t.instanceId]||={},r.common.custom[t.instanceId].smartName||={},r.common.custom[t.instanceId].smartName.byON=t.byON):(r.common.smartName||={},r.common.smartName.byON=t.byON)),t.noAutoDetect!==void 0&&(t.noCommon?t.noAutoDetect?(r.common.custom||={},r.common.custom[t.instanceId]||={},r.common.custom[t.instanceId].smartName||={},r.common.custom[t.instanceId].smartName.noAutoDetect=t.noAutoDetect):r.common.custom?.[t.instanceId]?.smartName&&delete r.common.custom[t.instanceId].smartName.noAutoDetect:!t.noAutoDetect&&r.common.smartName?delete r.common.smartName.noAutoDetect:(r.common.smartName||={},r.common.smartName.noAutoDetect=t.noAutoDetect)),t.smartName!==void 0){let e;if(t.noCommon?(r.common.custom||={},r.common.custom[t.instanceId]||={},r.common.custom[t.instanceId].smartName||={},e=r.common.custom[t.instanceId].smartName):(r.common.smartName||={},e=r.common.smartName),e[n]=t.smartName,e&&(!e[n]||e[n]===r.common.name&&!r.common.role)){delete e[n];let i=!0;for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){i=!1;break}if(i){if(t.noCommon&&r.common.custom?.[t.instanceId])r.common.custom[t.instanceId].smartName.byON===void 0?delete r.common.custom[t.instanceId]:(delete r.common.custom[t.instanceId].en,delete r.common.custom[t.instanceId].de,delete r.common.custom[t.instanceId].ru,delete r.common.custom[t.instanceId].nl,delete r.common.custom[t.instanceId].pl,delete r.common.custom[t.instanceId].it,delete r.common.custom[t.instanceId].fr,delete r.common.custom[t.instanceId].pt,delete r.common.custom[t.instanceId].es,delete r.common.custom[t.instanceId].uk,delete r.common.custom[t.instanceId][`zh-cn`]);else if(r.common.smartName&&r.common.smartName.byON!==void 0){let e=r.common.smartName;delete e.en,delete e.de,delete e.ru,delete e.nl,delete e.pl,delete e.it,delete e.fr,delete e.pt,delete e.es,delete e.uk,delete e[`zh-cn`]}else r.common.smartName=null}}}}static disableSmartName(e,t,n){let r=e;n?(r.common.custom||={},r.common.custom[t]||={},r.common.custom[t].smartName=!1):r.common.smartName=!1}static copyToClipboard(e,t){return t&&(t.stopPropagation(),t.preventDefault()),Nk(e)}static getFileExtension(e){let t=(e||``).lastIndexOf(`.`);return t===-1?null:e.substring(t+1).toLowerCase()}static formatBytes(e){if(Math.abs(e)<1024)return`${e} B`;let t=[`KB`,`MB`,`GB`],n=-1;do e/=1024,++n;while(Math.abs(e)>=1024&&n<t.length-1);return`${e.toFixed(1)} ${t[n]}`}static getInvertedColor(t,n,r){if(!t)return;let i=e.invertColor(t,!0);if(i===`#FFFFFF`&&(n===`dark`||r&&n===`light`))return`#DDD`;if(i===`#000000`&&(n===`light`||r&&n===`dark`))return`#222`}static invertColor(e,t){if(!e||typeof e!=`string`)return``;if(e.startsWith(`rgba`)){let t=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+),\s*([.\d]+)\)/);t&&(e=parseInt(t[1],10).toString(16).padStart(2,`0`)+parseInt(t[2],10).toString(16).padStart(2,`0`)+parseInt(t[2],10).toString(16).padStart(2,`0`))}else if(e.startsWith(`rgb`)){let t=e.match(/rgb?\((\d+),\s*(\d+),\s*(\d+)\)/);t&&(e=parseInt(t[1],10).toString(16).padStart(2,`0`)+parseInt(t[2],10).toString(16).padStart(2,`0`)+parseInt(t[2],10).toString(16).padStart(2,`0`))}else e.startsWith(`#`)&&(e=e.slice(1));e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);let n=null;if(e.length===8)n=e.substring(6,8),e=e.substring(0,6);else if(e.length!==6)return console.warn(`Cannot invert color: ${e}`),e;let r=parseInt(e.slice(0,2),16),i=parseInt(e.slice(2,4),16),a=parseInt(e.slice(4,6),16);if(t)return r*.299+i*.587+a*.114>186?`#000000${n||``}`:`#FFFFFF${n||``}`;let o=(255-r).toString(16),s=(255-i).toString(16),c=(255-a).toString(16);return`#${o.padStart(2,`0`)}${s.padStart(2,`0`)}${c.padStart(2,`0`)}${n||``}`}static color2rgb(e){if(e==null||e===``||typeof e!=`string`)return!1;if(e.startsWith(`rgba`)){let t=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+),\s*([.\d]+)\)/);t&&(e=parseInt(t[1],10).toString(16).padStart(2,`0`)+parseInt(t[2],10).toString(16).padStart(2,`0`)+parseInt(t[2],10).toString(16).padStart(2,`0`))}else if(e.startsWith(`rgb`)){let t=e.match(/rgb?\((\d+),\s*(\d+),\s*(\d+)\)/);t&&(e=parseInt(t[1],10).toString(16).padStart(2,`0`)+parseInt(t[2],10).toString(16).padStart(2,`0`)+parseInt(t[2],10).toString(16).padStart(2,`0`))}else e.startsWith(`#`)&&(e=e.slice(1));return e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e.length!==6&&e.length!==8?(console.warn(`Cannot invert color: ${e}`),!1):[parseInt(e.slice(0,2),16),parseInt(e.slice(2,4),16),parseInt(e.slice(4,6),16)]}static rgb2lab(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;let i=(t*.4124+n*.3576+r*.1805)/.95047,a=t*.2126+n*.7152+r*.0722,o=(t*.0193+n*.1192+r*.9505)/1.08883;return i=i>.008856?i**.33333333:7.787*i+.137931,a=a>.008856?a**.33333333:7.787*a+.137931,o=o>.008856?o**.33333333:7.787*o+.137931,[116*a-16,500*(i-a),200*(a-o)]}static colorDistance(t,n){let r=e.color2rgb(t),i=e.color2rgb(n);if(!r||!i)return 0;let a=e.rgb2lab(r),o=e.rgb2lab(i),s=a[0]-o[0],c=a[1]-o[1],l=a[2]-o[2],u=Math.sqrt(a[1]*a[1]+a[2]*a[2]),d=u-Math.sqrt(o[1]*o[1]+o[2]*o[2]),f=c*c+l*l-d*d;f=f<0?0:Math.sqrt(f);let p=1+.045*u,m=1+.015*u,h=s,g=d/p,_=f/m,v=h*h+g*g+_*_;return v<0?0:v}static _toVal(t){let n,r=``;if(typeof t==`string`||typeof t==`number`)r+=t;else if(typeof t==`object`){if(Array.isArray(t))for(let i=0;i<t.length;i++)t[i]&&(n=e._toVal(t[i]),n&&(r&&(r+=` `),r+=n));else for(let e in t)t[e]&&(r&&(r+=` `),r+=e)}return r}static clsx(...t){let n=0,r,i,a=``;for(;n<t.length;)r=t[n++],r&&(i=e._toVal(r),i&&(a&&(a+=` `),a+=i));return a}static getThemeName(e){return window.vendorPrefix&&window.vendorPrefix!==`@@vendorPrefix@@`&&window.vendorPrefix!==`MV`?window.vendorPrefix:e===`auto`?window.matchMedia(`(prefers-color-scheme: dark)`).matches?`modernDark`:`modernLight`:(e||=(window._localStorage||window.localStorage).getItem(`App.themeName`),e&&e!==`auto`?e:window.matchMedia(`(prefers-color-scheme: dark)`).matches?`modernDark`:`modernLight`)}static getThemeType(t){return window.vendorPrefix===`HA`||window.vendorPrefix===`NW`?`dark`:window.vendorPrefix&&window.vendorPrefix!==`@@vendorPrefix@@`?`light`:(t||=e.getThemeName(),Ik.includes(t)?`dark`:`light`)}static setThemeName(e){let t=window.vendorPrefix;t&&t!==`@@vendorPrefix@@`&&t!==`MV`||((window._localStorage||window.localStorage).setItem(`App.themeName`,e),(window._localStorage||window.localStorage).setItem(`App.theme`,Ik.includes(e)?`dark`:`light`))}static toggleTheme(t){if(window.vendorPrefix&&window.vendorPrefix!==`@@vendorPrefix@@`&&window.vendorPrefix!==`MV`)return window.vendorPrefix;t||=(window._localStorage||window.localStorage).getItem(`App.themeName`)||`light`;let n=e.getThemeNames(),r=t?n.indexOf(t):-1,i;return i=r===-1?n[0]:n[(r+1)%n.length],e.setThemeName(i),i}static getThemeNames(){return window.vendorPrefix&&window.vendorPrefix!==`@@vendorPrefix@@`&&window.vendorPrefix!==`MV`?[window.vendorPrefix]:[`light`,`dark`,`modernLight`,`modernDark`]}static parseQuery(e){e=(e||``).toString().replace(/^\?/,``);let t={};return e.split(`&`).forEach(e=>{if(e=e.trim(),e){let n=e.split(`=`),r=decodeURIComponent(n[0]).trim();if(n.length>1){let e=decodeURIComponent(n[1]);if(e===`true`)t[r]=!0;else if(e===`false`)t[r]=!1;else{let n=parseFloat(e);n.toString()===e?t[r]=n:t[r]=e}}else t[r]=!0}}),t}static getParentId(e){let t=(e||``).toString().split(`.`);return t.length>1?(t.pop(),t.join(`.`)):null}static formatDate(e,t){if(!e)return``;let n,r=(e.getMonth()+1).toString().padStart(2,`0`),i=e.getDate().toString().padStart(2,`0`);return n=t===`MM/DD/YYYY`?`${r}/${i}/${e.getFullYear()}`:`${e.getFullYear()}-${r}-${i}`,n+=` ${e.getHours().toString().padStart(2,`0`)}:${e.getMinutes().toString().padStart(2,`0`)}:${e.getSeconds().toString().padStart(2,`0`)}.${e.getMilliseconds().toString().padStart(3,`0`)}`,n}static formatTime(e){if(e){e=Math.round(e);let t=Math.floor(e/86400),n=Math.floor(e%86400/3600),r=Math.floor(e%3600/60),i=e%60;return t?`${t}.${n.toString().padStart(2,`0`)}:${r.toString().padStart(2,`0`)}:${i.toString().padStart(2,`0`)}`:n?`${n}:${r.toString().padStart(2,`0`)}:${i.toString().padStart(2,`0`)}`:`0:${r.toString().padStart(2,`0`)}:${i.toString().padStart(2,`0`)}`}return`0:00:00`}static MDtext2link(e){let t=e.match(/\d+\.\)\s/);return t&&(e=e.replace(t[0],t[0].replace(/\s/,` `))),e.replace(/[^a-zA-Zа-яА-Я0-9]/g,``).trim().replace(/\s/g,``).toLowerCase()}static openLink(e,t){e=e.replace(/\/\/([0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*)(:\d+)?\//i,`//[$1]$2/`),t===`this`?window.location.href=e:window.open(e,t||`_blank`)}static MDgetTitle(t){let n=e.MDextractHeader(t),r=n.header,i=n.body;if(!r.title){i=i.replace(/{[^}]*}/g,``),i=i.trim();let e=i.replace(/\r/g,``).split(`
|
|
592
|
+
`);for(let t=0;t<e.length;t++)if(e[t].startsWith(`# `))return e[t].substring(2).trim();return``}return r.title?.toString()||``}static MDextractHeader(e){let t={};if(e.substring(0,3)===`---`){let n=e.substring(3).indexOf(`
|
|
593
|
+
---`);n!==-1&&(e.substring(3,n+3).replace(/\r/g,``).split(`
|
|
594
|
+
`).forEach(e=>{if(!e.trim())return;let n=e.indexOf(`:`);if(n!==-1){let r=e.substring(0,n).trim(),i=e.substring(n+1).trim();i=i.replace(/^['"]|['"]$/g,``),i===`true`?t[r]=!0:i===`false`?t[r]=!1:parseFloat(i).toString()===t[r]?t[r]=parseFloat(i):t[r]=i}else t[e.trim()]=!0}),e=e.substring(n+7))}return{header:t,body:e}}static MDremoveDocsify(e){let t=e.match(/{docsify-[^}]*}/g);return t&&t.forEach(t=>e=e.replace(t,``)),e}static generateFile(e,t){let n=document.createElement(`a`);n.setAttribute(`href`,`data:application/json;charset=utf-8,${encodeURIComponent(JSON.stringify(t,null,2))}`),n.setAttribute(`download`,e),n.style.display=`none`,document.body.appendChild(n),n.click(),document.body.removeChild(n)}static quality2text(e){let t=e&4294901760,n=zk[e],r;return r=n?[n]:e&1?[zk[1],`0x${(e&65534).toString(16)}`]:e&2?[zk[2],`0x${(e&65533).toString(16)}`]:[`0x${e.toString(16)}`],t&&r.push(`0x${(t>>16).toString(16).toUpperCase()}`),r}static clone(e){return JSON.parse(JSON.stringify(e))}static getStates(e){let t=e?.common?.states,n;if(t){if(typeof t==`string`&&t[0]===`{`)try{n=JSON.parse(t)}catch{console.error(`Cannot parse states: ${t}`),n=null}else if(typeof t==`string`){let e=t.split(`;`);n={};for(let t=0;t<e.length;t++){let r=e[t].split(`:`);n[r[0]]=r[1]}}else Array.isArray(t)?(n={},e?.common.type===`number`?t.forEach((e,t)=>n[t]=e):e?.common.type===`string`?t.forEach(e=>n[e]=e):e?.common.type===`boolean`&&(n.false=t[0],n.true=t[1])):typeof t==`object`&&(n=t)}return n||null}static async getSvg(e){let t=await(await fetch(e)).blob();return new Promise(e=>{let n=new FileReader;n.onload=()=>e(n.result?.toString()||``),n.readAsDataURL(t)})}static detectMimeType(e){let t=Object.keys(Bk).find(t=>e.startsWith(t));return t?Bk[t]:null}static isStableRepository(e){return!!(typeof e==`string`&&e.toLowerCase().startsWith(`stable`)||e&&typeof e!=`string`&&e.find(e=>e.toLowerCase().startsWith(`stable`)))}static isStringInteger(e){return typeof e==`number`?Math.round(e)===e:parseInt(e,10).toString()===e}static isValidDate(e){return e instanceof Date&&!isNaN(e)}static getStyle(e,...t){let n={};for(let r=0;r<t.length;r++)typeof t[r]==`function`?Object.assign(n,t[r](e)):t[r]&&typeof t[r]==`object`&&Object.keys(t[r]).forEach(i=>{if(typeof t[r][i]==`function`)n[i]=t[r][i](e);else if(typeof t[r][i]==`object`){let a=t[r][i];n[i]={},Object.keys(a).forEach(t=>{typeof a[t]==`function`?n[i][t]=a(e):(a[t]||a[t]===0)&&(n[i][t]=a[t])})}else(t[r][i]||t[r][i]===0)&&(n[i]=t[r][i])});return n}},Hk={buttonIcon:{marginRight:8}},Uk=class extends V.Component{isIFrame;constructor(e){super(e);let t=e.newReact===void 0||e.newReact;if(e.isIFrame!==void 0)this.isIFrame=e.isIFrame;else try{this.isIFrame=!t&&window.self!==window.top}catch{this.isIFrame=!t}}render(){let e=this.props.noTextOnButtons,t={borderRadius:this.props.theme.saveToolbar.button.borderRadius||3,height:this.props.theme.saveToolbar.button.height||32},n={bottom:this.isIFrame?38:0,left:this.props.paddingLeft||0,right:0,position:`absolute`,background:this.props.theme.saveToolbar.background};return this.props.dense&&(n.minHeight=48),this.props.error&&(t.border=`1px solid red`),V.createElement(Jv,{style:n},V.createElement(fh,{variant:`extended`,"aria-label":`Save`,disabled:!this.props.changed||this.props.error,onClick:()=>this.props.onSave(!1),style:t},V.createElement(ck,{style:e?void 0:Hk.buttonIcon}),!e&&Pk.t(`ra_Save`)),V.createElement(fh,{variant:`extended`,"aria-label":`Save and close`,disabled:!this.props.changed||this.props.error,onClick:()=>this.props.onSave(!0),style:{...t,marginLeft:10}},V.createElement(ck,{style:e?void 0:Hk.buttonIcon}),e?`+`:Pk.t(`ra_Save and close`),e&&V.createElement(VO,null)),V.createElement(`div`,{style:{flexGrow:1}}),V.createElement(fh,{variant:`extended`,"aria-label":`Close`,onClick:()=>this.props.onClose(),style:t},V.createElement(VO,{style:e?void 0:Hk.buttonIcon}),!e&&Pk.t(`ra_Close`)))}},Wk={suppress:{fontSize:12},suppressRoot:{marginTop:`16px`}},Gk=class extends V.Component{constructor(e){if(super(e),!this.props.dialogName&&this.props.suppressQuestionMinutes)throw Error(`dialogName required if suppressQuestionMinutes used`);let t=!1;this.props.suppressQuestionMinutes&&(t=parseInt((window._localStorage||window.localStorage).getItem(this.props.dialogName),10)||0,t?Date.now()>t&&((window._localStorage||window.localStorage).removeItem(this.props.dialogName),t=!1):t=!1),this.state={suppress:t}}handleOk(){this.state.suppress&&(window._localStorage||window.localStorage).setItem(this.props.dialogName,Date.now()+(this.props.suppressQuestionMinutes||2)*6e4),this.props.onClose&&this.props.onClose(!0)}handleCancel(){this.props.onClose&&this.props.onClose(!1)}render(){return typeof this.state.suppress==`number`?(setTimeout(()=>this.props.onClose&&this.props.onClose(!0),100),null):V.createElement(Um,{open:!0,maxWidth:`md`,fullWidth:this.props.fullWidth===void 0||this.props.fullWidth,onClose:(e,t)=>{t!==`backdropClick`&&t!==`escapeKeyDown`&&this.handleCancel()},"aria-labelledby":`ar_confirmation_dialog_title`,"aria-describedby":`ar_confirmation_dialog_description`},V.createElement(oh,{id:`ar_confirmation_dialog_title`},this.props.title||Pk.t(`ra_Are you sure?`)),V.createElement($m,null,V.createElement(rh,{id:`ar_confirmation_dialog_description`},this.props.icon||null,this.props.text,this.props.suppressQuestionMinutes?V.createElement(`br`,null):null,this.props.suppressQuestionMinutes?V.createElement(Eh,{sx:{"& .FormControlLabel-label":Wk.suppress,"&.FormControlLabel-root":Wk.suppressRoot},control:V.createElement(Yp,{id:`ar_dialog_confirm_suppress_${this.props.dialogName||``}`,checked:!!this.state.suppress,onChange:()=>this.setState({suppress:!this.state.suppress})}),label:this.props.suppressText||Pk.t(`ra_Suppress question for next %s minutes`,(this.props.suppressQuestionMinutes||2).toString())}):null)),V.createElement(qm,null,V.createElement(Dp,{id:`ar_dialog_confirm_ok_${this.props.dialogName||``}`,variant:`contained`,onClick:()=>this.handleOk(),color:`primary`,autoFocus:!0,startIcon:V.createElement(BO,null)},this.props.ok||Pk.t(`ra_Ok`)),V.createElement(Dp,{id:`ar_dialog_confirm_cancel_${this.props.dialogName||``}`,variant:`contained`,onClick:()=>this.handleCancel(),color:`grey`,startIcon:V.createElement(VO,null)},this.props.cancel||Pk.t(`ra_Cancel`))))}},Kk={paper:e=>({"& .MuiDialog-paper":{borderTop:`4px solid ${e.palette.error.main}`}}),title:e=>({display:`flex`,alignItems:`center`,gap:`10px`,color:e.palette.error.main,backgroundColor:Ci(e.palette.error.main,e.palette.mode===`dark`?.16:.08)}),content:{pt:`20px !important`}},qk=class extends V.Component{handleOk(){this.props.onClose&&this.props.onClose()}render(){return V.createElement(Um,{open:!0,maxWidth:`sm`,sx:Kk.paper,fullWidth:this.props.fullWidth===void 0||this.props.fullWidth,onClose:()=>this.handleOk(),"aria-labelledby":`alert-dialog-title`,"aria-describedby":`alert-dialog-description`},V.createElement(oh,{id:`ar_alert_dialog_title`,sx:Kk.title},V.createElement(JO,null),this.props.title||Pk.t(`ra_Error`)),V.createElement($m,{sx:Kk.content},V.createElement(rh,{id:`ar_alert_dialog_description`},this.props.text||Pk.t(`ra_Unknown error!`))),V.createElement(qm,null,V.createElement(Dp,{id:`ar_dialog_error_ok`,variant:`contained`,onClick:()=>this.handleOk(),color:`error`,autoFocus:!0,startIcon:V.createElement(BO,null)},Pk.t(`ra_Ok`))))}},Jk={en:{"ra_%s links from aliases":`%s links from aliases`,"ra_%s object(s) processed":`%s object(s) processed`,"ra_%s was imported":`%s was imported`,ra_Actions:`Actions`,ra_Add:`Add`,"ra_Add new child object to selected parent":`Add new child object to selected parent`,"ra_Add objects tree from JSON file":`Add objects tree from JSON file`,"ra_Advanced options":`Advanced options`,"ra_All objects":`All objects`,ra_April:`April`,"ra_Are you sure?":`Are you sure?`,ra_August:`August`,"ra_Auto (no custom columns)":`Auto (no custom columns)`,"ra_Back to %s":`Back to %s`,"ra_Background image":`Background image`,ra_Cancel:`Cancel`,'ra_Cannot find "%s"':`Cannot find "%s"`,'ra_Cannot read "%s"':`Cannot read "%s"`,"ra_Cannot update attribute, because not found in the object":`Cannot update attribute, because not found in the object`,"ra_Cannot upload":`Cannot upload`,ra_Categories:`Categories`,"ra_Change color theme":`Change color theme`,"ra_Changed from":`Changed from`,"ra_Channel → State":`Channel → State`,"ra_Check license":`Check license`,ra_Checked:`Checked`,ra_Clear:`Delete`,"ra_Clear color":`Clear color`,"ra_Clear filter":`Clear filter`,"ra_Clear icon":`Clear icon`,ra_Close:`Close`,ra_Collapse:`Collapse`,"ra_Collapse all nodes":`Collapse all nodes`,"ra_Collapse one step node":`Collapse one level`,ra_Configure:`Configure`,"ra_Configure visible columns":`Configure visible columns`,"ra_Confirm deletion of %s":`Confirm deletion of %s`,ra_Connected:`Connected`,ra_Continue:`Continue`,ra_Copied:`Copied`,"ra_Copied %s":`Copied "%s"`,ra_Create:`Create`,"ra_Create alias":`Create alias`,"ra_Create folder":`Create folder`,"ra_Create new folder in %s":`Create new folder in %s`,ra_Crop:`Crop`,ra_December:`December`,"ra_Define CRON...":`Define CRON...`,"ra_Define functions":`Define functions`,"ra_Define rooms":`Define rooms`,"ra_Define schedule":`Define schedule`,"ra_Define schedule...":`Define schedule...`,ra_Del:`Delete`,ra_Delete:`Delete`,"ra_Deselect all":`Unselect all`,"ra_Device → Channel → State":`Device → Channel → State`,"ra_Disable/Enable translation":`Disable/Enable translation`,ra_Discard:`Discard`,ra_Disconnected:`Disconnected`,"ra_Do not ask for next 2 hours in this session":`Do not ask for next 2 hours in this session`,"ra_Do not export values of states":`Do not export values of states`,"ra_Double click to reset table layout":`Double click to reset table layout`,"ra_Drag 'n' drop some files here, or click to select files":`Drag 'n' drop some files here, or click to select files`,"ra_Drop file here":`Drop file here`,"ra_Drop the files here...":`Drop the file here...`,"ra_Duplicate name":`Duplicate name`,ra_Edit:`Edit`,"ra_Edit ACL":`Edit ACL`,"ra_Edit alias":`Edit alias`,"ra_Edit custom config":`Edit custom config`,"ra_Edit full path":`Edit full path`,"ra_Edit function":`Edit function`,"ra_Edit object field":`Edit object field`,"ra_Edit role":`Edit role`,"ra_Edit room":`Edit room`,"ra_Edit value":`Edit value`,ra_Error:`Error`,ra_Expand:`Expand`,"ra_Expand all nodes":`Expand all nodes`,"ra_Expand one step node":`Expand one level`,"ra_Failed to open JSON File":`Failed to open JSON File`,ra_February:`February`,"ra_File is too big. Max %sk allowed. Try use SVG.":`File is too big. Max %sk allowed. Try use SVG.`,ra_Filter:`Filter`,"ra_Filter files":`Filter files`,"ra_Folder name":`Folder name`,"ra_Folder → Channel → State":`Folder → Channel → State`,"ra_Folder → Device → Channel → State":`Folder → Device → Channel → State`,"ra_Folder → State":`Folder → State`,"ra_Folders always first":`Folders always first`,ra_Friday:`Friday`,"ra_From file":`From file`,"ra_From text":`From text`,"ra_Good luck":`Good luck`,"ra_Hide empty folders":`Hide empty folders`,"ra_If no file will be created in the folder, it will disappear after the browser closed":`If no file will be created in the folder, it will disappear after the browser closed`,"ra_Instance is not alive":`Instance is not alive`,"ra_Invalid CRON":`Invalid CRON`,"ra_Invalid JSON":`Invalid JSON`,"ra_Invalid JSON file.":`Invalid JSON file.`,"ra_Invalid JSON format. Expected an array.":`Invalid JSON format. Expected an array.`,"ra_Invalid answer from server":`Invalid answer from server`,"ra_Invalid parent folder!":`Invalid parent folder!`,"ra_Invalid structure":`Invalid structure`,ra_January:`January`,ra_July:`July`,ra_June:`June`,"ra_Last change":`Last change`,ra_Latitude:`Latitude`,"ra_License is for version %s, but required version is %s.":`License is for version %s, but required version is %s.`,"ra_Listen on all IPs":`Listen on all IPs`,"ra_Load configuration from file":`Load configuration from file`,ra_Logout:`Logout`,ra_Longitude:`Longitude`,ra_March:`March`,ra_May:`May`,'ra_May not trigger "updateLicenses"':`May not trigger "updateLicenses"`,ra_Message:`Message`,ra_Monday:`Monday`,"ra_Move down":`Move down`,"ra_Move up":`Move up`,ra_Name:`Name`,"ra_No data":`No data`,"ra_No data found in file":`No data found in file`,"ra_No response from admin":`No response from admin`,"ra_No response from the backend":`No response from the backend`,'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':`Non-experts may create new objects only in "0_userdata.0" or "alias.0".`,"ra_Not a number":`Not a number`,ra_November:`November`,ra_Objects:`Objects`,ra_October:`October`,ra_Ok:`Ok`,"ra_On weekdays":`On weekdays`,"ra_Only following structures of objects are available:":`Only following structures of objects are available:`,"ra_Only selected":`Only selected`,"ra_Owner group":`Owner group`,"ra_Owner user":`Owner user`,ra_Palette:`Palette`,"ra_Pick color from screen":`Pick color from screen`,"ra_Place your files here or click here to open the browse dialog":`Place your files here or click here to open the browse dialog`,"ra_Please confirm":`Please confirm`,"ra_Please select file...":`Please select file...`,"ra_Please select object ID...":`Please select object ID...`,ra_Product:`Product`,"ra_Quality code":`Quality`,"ra_Recently used colors":`Recently used`,"ra_Refresh tree":`Refresh tree`,"ra_Reload files":`Reload files`,ra_Rename_Move_Copy:`Rename/Move/Copy`,ra_Repeat:`Repeat`,ra_Replace:`Replace`,"ra_Request timed out":`Request timed out`,"ra_Restrict to folder":`Restrict to folder`,ra_Root:`Root`,ra_Saturday:`Saturday`,ra_Save:`Save`,"ra_Save and close":`Save and close`,"ra_Save configuration to file":`Save configuration to file`,"ra_Save objects tree as JSON file":`Save objects tree as JSON file`,"ra_Select all":`Select all`,"ra_Select color":`Select color`,"ra_Select predefined icon":`Select predefined icon`,"ra_Select type of export":`Select type of export`,ra_Selected:`Selected`,"ra_Selected %s object(s)":`Selected %s object(s)`,ra_September:`September`,"ra_Session will expire in %s seconds. Continue?":`Session will expire in %s seconds. Continue?`,"ra_Show all folders":`Show all folders`,"ra_Show lines between rows":`Show lines between rows`,"ra_Show/Hide object descriptions":`Show/Hide object descriptions`,"ra_Some data are not stored. Discard?":`Some data are not stored. Discard?`,ra_States:`States`,ra_Sunday:`Sunday`,"ra_Suppress question for next %s minutes":`Suppress question for next %s minutes`,"ra_System language":`System language`,'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':`The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").`,"ra_The page you are looking for was not found":`The page you are looking for was not found`,"ra_The schedule will be executed every minute. Are you sure?":`The schedule will be executed every minute. Are you sure?`,"ra_The schedule will be executed every second. Are you sure?":`The schedule will be executed every second. Are you sure?`,ra_Thursday:`Thursday`,ra_Timestamp:`Timestamp`,"ra_Toggle expert mode":`Toggle expert mode`,"ra_Toggle the states view":`Toggle the states view`,"ra_Toggle view mode":`Toggle view mode`,"ra_Too big":`Too big`,"ra_Too small":`Too small`,"ra_Transparent dialog":`Transparent dialog`,ra_Tuesday:`Tuesday`,"ra_Unknown error":`Unknown error`,"ra_Unknown error!":`Unknown error!`,ra_Update:`Update`,"ra_Upload file":`Upload file`,"ra_Use iobroker.acme adapter for letsencrypt certificates":`Use iobroker.acme adapter for letsencrypt certificates`,"ra_User files":`User files`,ra_Value:`Value`,ra_Version:`Version`,"ra_View file":`View file`,"ra_View: %s":`View: %s`,ra_Wednesday:`Wednesday`,ra_Width:`Width`,ra_Yes:`Yes`,"ra_You can export all objects or just the selected branch.":`You can export all objects or just the selected branch.`,"ra_You can use * as wildcard":`You can use * as wildcard`,ra___different__:`different`,ra_aclEveryone_read_object:`Everyone can read object`,ra_aclEveryone_read_state:`Everyone can read state`,ra_aclEveryone_write_object:`Everyone can write object`,ra_aclEveryone_write_state:`Everyone can write state`,ra_aclGroup_read_object:`Group can read object`,ra_aclGroup_read_state:`Group can read state`,ra_aclGroup_write_object:`Group can write object`,ra_aclGroup_write_state:`Group can write state`,ra_aclOwner_read_object:`Owner can read object`,ra_aclOwner_read_state:`Owner can read state`,ra_aclOwner_write_object:`Owner can write object`,ra_aclOwner_write_state:`Owner can write state`,ra_buttons:`Buttons`,ra_changedFrom:`Changed from`,ra_close:`close`,ra_create_boolean_state:`Create boolean state`,ra_create_channel:`Create channel`,ra_create_device:`Create device`,ra_create_number_state:`Create number state`,ra_create_state:`Create state`,ra_create_string_state:`Create string state`,ra_daysShortText:`days`,ra_dow_Fr:`Fr`,ra_dow_Mo:`Mo`,ra_dow_Sa:`Sa`,ra_dow_Su:`Su`,ra_dow_Th:`Th`,ra_dow_Tu:`Tu`,ra_dow_We:`We`,ra_expertMode:`Expert mode`,ra_false:`FALSE`,ra_fileType_all:`All files`,ra_fileType_audio:`Audio`,ra_fileType_code:`Code/JSON`,ra_fileType_images:`Images`,ra_fileType_txt:`Text`,ra_fileType_video:`Video`,"ra_fileType_video,":`Video`,ra_filter_customs:`Settings`,ra_filter_customs_without:`without`,ra_filter_func:`Function`,ra_filter_id:`ID`,ra_filter_name:`Name`,ra_filter_role:`Role`,ra_filter_room:`Room`,ra_filter_type:`Type`,"ra_import data from %s file":`Import data from %s file`,ra_invalidConfig:`Invalid settings`,ra_lastChange:`Last change`,ra_locally:`locally`,ra_month_Apr:`Apr`,ra_month_Aug:`Aug`,ra_month_Dec:`Dec`,ra_month_Feb:`Feb`,ra_month_Jan:`Jan`,ra_month_Jul:`Jul`,ra_month_Jun:`Jun`,ra_month_Mai:`Mai`,ra_month_Mar:`Mar`,ra_month_Nov:`Nov`,ra_month_Oct:`Oct`,ra_month_Sep:`Sep`,ra_months_Apr:`Apr`,ra_months_Aug:`Aug`,ra_months_Dec:`Dec`,ra_months_Feb:`Feb`,ra_months_Jan:`Jan`,ra_months_Jul:`Jul`,ra_months_Jun:`Jun`,ra_months_Mai:`Mai`,ra_months_Mar:`Mar`,ra_months_Nov:`Nov`,ra_months_Oct:`Oct`,ra_months_Sep:`Sep`,"ra_no confirm for 5 mins":`no confirm for 5 mins`,ra_none:`none`,ra_now:`now`,ra_object_changed_by:`Object changed by`,ra_object_changed_by_user:`Object last changed at`,ra_otherConfig:`Settings from other adapter %s`,ra_qualityCode:`Quality code`,ra_repeat:`repeat`,ra_select_folder_hint:`To select folder, just hold the key "shift" by clicking the folder.`,ra_show_all:`Show all`,ra_state_changed_by:`State changed by`,ra_state_changed_from:`Object changed from`,ra_timestamp:`Timestamp`,ra_tooltip_ack:`Acknowledged`,ra_tooltip_comment:`Comment`,ra_tooltip_copyState:`Copy the state value`,ra_tooltip_ctrlForLink:`Hold Cltr/⌘ key to open the link`,ra_tooltip_customConfig:`Custom settings`,ra_tooltip_deleteObject:`Delete object`,ra_tooltip_editObject:`Edit object`,ra_tooltip_editState:`Edit the state value`,ra_tooltip_expire:`Expires in`,ra_tooltip_from:`From`,ra_tooltip_lc:`Last changed`,ra_tooltip_quality:`Quality`,ra_tooltip_ts:`Time stamp`,ra_tooltip_user:`User`,ra_tooltip_value:`Value`,ra_true:`TRUE`,"ra_use seconds":`use seconds`,ra_val:`Value`,"ra_via internet":`via internet`,ra_warning_every_minute:`Warning: The CRON job will run every minute during the specified period!`,ra_warning_every_second:`Warning: The CRON job will run every second during the specified period!`,sc_cron:`CRON`,sc_date:`Date`,sc_dates:`Dates`,sc_dow:`Day`,sc_dows:`Day of week`,sc_every:`Every`,sc_everyN_dates:`every N days`,sc_everyN_dow:`every Nth day of the week`,sc_everyN_dows:`every N day of week`,sc_everyN_hours:`every N hours`,sc_everyN_minutes:`every N minutes`,sc_everyN_months:`every N months`,sc_everyN_seconds:`every N seconds`,sc_every_dates:`every day`,sc_every_dow:`every day of the week`,sc_every_dows:`every day of the week`,sc_every_hours:`every hour`,sc_every_minutes:`every minute`,sc_every_months:`every month`,sc_every_seconds:`every second`,sc_from:`From`,sc_hours:`Hours`,sc_interval:`Interval`,sc_intervalBetween:`Interval between`,sc_invalid_cron:`Invalid CRON`,sc_minutes:`Minutes`,sc_months:`months`,sc_once:`Once`,sc_period:`Period`,sc_seconds:`Seconds`,sc_simple:`Simple`,sc_specific:`Specific time`,sc_specific_dates:`specific dates`,sc_specific_dow:`specific day(s) of the week`,sc_specific_dows:`specific day of weeks`,sc_specific_hours:`specific hours`,sc_specific_minutes:`specific minutes`,sc_specific_months:`specific months`,sc_specific_seconds:`specific seconds`,sc_time:`Time`,sc_to:`To`,sc_wizard:`Wizard`,sch_all:`all`,sch_astroDay:`Astro day`,sch_astroNight:`Astro night`,sch_astro_dawn:`Dawn`,sch_astro_dusk:`Dusk`,sch_astro_goldenHour:`Golden hour`,sch_astro_goldenHourEnd:`Golden hour end`,sch_astro_nadir:`Nadir`,sch_astro_nauticalDawn:`Nautical dawn`,sch_astro_nauticalDusk:`Nautical dusk`,sch_astro_night:`Night`,sch_astro_nightEnd:`Night end`,sch_astro_solarNoon:`Solar noon`,sch_astro_sunrise:`Sunrise`,sch_astro_sunriseEnd:`Sunrise end`,sch_astro_sunset:`Sunset`,sch_astro_sunsetStart:`Sunset start`,sch_at:`at`,sch_desc_atTime:`at %s`,sch_desc_everyDay:`every day`,sch_desc_everyHour:`every hour`,sch_desc_everyMinute:`every minute`,sch_desc_everyMonth:`every month`,sch_desc_everyNDay:`every %s day`,sch_desc_everyNHours:`every %s hours`,sch_desc_everyNMinutes:`every %s minutes`,sch_desc_everyNMonths:`every %s months`,sch_desc_everyNWeeks:`every %s weeks`,sch_desc_everyNYears:`every %s years`,sch_desc_everyWeek:`every week`,sch_desc_everyYear:`every year`,sch_desc_intervalFromTo:`from %s to %s`,sch_desc_never:`never`,sch_desc_onDate:`on %s of %s`,sch_desc_onDates:`on %s and %s of`,sch_desc_onEveryDate:`on every date of`,sch_desc_onMonth:`%s`,sch_desc_onMonths:`%s and %s`,sch_desc_onWeekday:`on %s`,sch_desc_onWeekdays:`on %s and %s`,sch_desc_onWeekends:`on weekends`,sch_desc_onWorkdays:`on working days`,sch_desc_onceInPast:`will ne be not executed any more, because start is in the past`,sch_desc_once_on:`on %s`,sch_desc_validFrom:`from %s`,sch_desc_validFromTo:`Execute from to`,sch_desc_validTo:`to %s`,sch_every:`every`,sch_exactTime:`Specific time`,sch_from:`from`,sch_fromTo:`From-to`,sch_intervalTime:`Interval time`,sch_invert:`invert`,sch_no_one:`none`,sch_on:`on`,sch_period:`Period`,sch_periodDaily:`Daily`,sch_periodDates:`Dates`,sch_periodDay:`Day`,sch_periodEvery:`Every`,sch_periodEveryDay:`Every day`,sch_periodEveryMonth:`Every month`,sch_periodEveryWeek:`Every week`,sch_periodEveryYear:`Every year`,sch_periodHours:`Hours`,sch_periodMinutes:`Minutes`,sch_periodMonth:`month`,sch_periodMonthly:`Monthly`,sch_periodOnce:`Once`,sch_periodSpecificMonths:`Specific months`,sch_periodWeek:`Week`,sch_periodWeekdays:`Weekdays`,sch_periodWeekend:`Weekend`,sch_periodWeekly:`Weekly`,sch_periodWorkdays:`Workdays`,sch_periodYear:`Year`,sch_periodYearly:`Yearly`,sch_specificTime:`Specific time`,sch_time:`Time`,sch_to:`to`,sch_valid:`Valid`,sch_validFrom:`from`,sch_validTo:`to`,sch_wholeDay:`Whole day`,sch_yearEveryMonth:`every month`},de:{"ra_%s links from aliases":`%s Links von Aliasen`,"ra_%s object(s) processed":`%s Objekt(e) verarbeitet`,"ra_%s was imported":`%s wurde importiert`,ra_Actions:`Aktionen`,ra_Add:`Hinzufügen`,"ra_Add new child object to selected parent":`Dem ausgewählten übergeordneten Objekt ein neues untergeordnetes Objekt hinzufügen`,"ra_Add objects tree from JSON file":`Objektbaum aus JSON-Datei hinzufügen`,"ra_Advanced options":`Erweiterte Optionen`,"ra_All objects":`Alle Objekte`,ra_April:`April`,"ra_Are you sure?":`Bist du sicher?`,ra_August:`August`,"ra_Auto (no custom columns)":`Auto (keine benutzerdefinierten Spalten)`,"ra_Back to %s":`Zurück zu %s`,"ra_Background image":`Hintergrundbild`,ra_Cancel:`Abbrechen`,'ra_Cannot find "%s"':`Kann "%s" nicht finden`,'ra_Cannot read "%s"':`"%s" kann nicht gelesen werden`,"ra_Cannot update attribute, because not found in the object":`Attribut kann nicht aktualisiert werden, da es nicht im Objekt gefunden wurde`,"ra_Cannot upload":`Kann nicht hochladen`,ra_Categories:`Kategorien`,"ra_Change color theme":`Farbthema ändern`,"ra_Changed from":`Geändert von`,"ra_Channel → State":`Kanal → Zustand`,"ra_Check license":`Lizenz prüfen`,ra_Checked:`Geprüft`,ra_Clear:`Löschen`,"ra_Clear color":`Farbe löschen`,"ra_Clear filter":`Filter löschen`,"ra_Clear icon":`Symbol löschen`,ra_Close:`Schließen`,ra_Collapse:`Zuklappen`,"ra_Collapse all nodes":`Alle Knoten zuklappen`,"ra_Collapse one step node":`Eine Ebene zuklappen`,ra_Configure:`Konfigurieren`,"ra_Configure visible columns":`Spalten Konfigurieren`,"ra_Confirm deletion of %s":`Das Löschen von %s bestätigen`,ra_Connected:`Verbunden`,ra_Continue:`Weitermachen`,ra_Copied:`Kopiert`,"ra_Copied %s":`"%s" kopiert`,ra_Create:`Erstellen`,"ra_Create alias":`Alias erstellen`,"ra_Create folder":`Ordner erstellen`,"ra_Create new folder in %s":`Neuen Ordner in "%s" erstellen`,ra_Crop:`Ernte`,ra_December:`Dezember`,"ra_Define CRON...":`Definieren Sie CRON ...`,"ra_Define functions":`Funktionen definieren`,"ra_Define rooms":`Räume definieren`,"ra_Define schedule":`Zeitplan definieren`,"ra_Define schedule...":`Zeitplan definieren ...`,ra_Del:`Entf`,ra_Delete:`Löschen`,"ra_Deselect all":`Alles abwählen`,"ra_Device → Channel → State":`Gerät → Kanal → Zustand`,"ra_Disable/Enable translation":`Übersetzung deaktivieren/aktivieren`,ra_Discard:`Verwerfen`,ra_Disconnected:`Getrennt`,"ra_Do not ask for next 2 hours in this session":`Fragen Sie nicht nach den nächsten 2 Stunden in dieser Sitzung`,"ra_Do not export values of states":`Keine Zustandswerte exportieren`,"ra_Double click to reset table layout":`Doppelklicken, um das Tabellenlayout zurückzusetzen`,"ra_Drag 'n' drop some files here, or click to select files":`Die Datei hierher ziehen und ablegen, oder klicken, um die Datei auszuwählen`,"ra_Drop file here":`Datei hier ablegen`,"ra_Drop the files here...":`Datei hier ablegen...`,"ra_Duplicate name":`Doppelter Name`,ra_Edit:`Bearbeiten`,"ra_Edit ACL":`ACL bearbeiten`,"ra_Edit alias":`Alias bearbeiten`,"ra_Edit custom config":`Bearbeite Benutzerdefinierte Konfiguration`,"ra_Edit full path":`Vollständigen Pfad bearbeiten`,"ra_Edit function":`Funktion bearbeiten`,"ra_Edit object field":`Objektfeld bearbeiten`,"ra_Edit role":`Rolle bearbeiten`,"ra_Edit room":`Raum bearbeiten`,"ra_Edit value":`Wert bearbeiten`,ra_Error:`Fehler`,ra_Expand:`Aufklappen`,"ra_Expand all nodes":`Alle Knoten aufklappen`,"ra_Expand one step node":`Eine Ebene aufklappen`,"ra_Failed to open JSON File":`Fehler beim Öffnen der JSON-Datei`,ra_February:`Februar`,"ra_File is too big. Max %sk allowed. Try use SVG.":`Datei ist zu groß. Max %sk erlaubt. Versuchen Sie, SVG zu verwenden.`,ra_Filter:`Filter`,"ra_Filter files":`Dateien filtern`,"ra_Folder name":`Ordnernamen`,"ra_Folder → Channel → State":`Ordner → Kanal → Zustand`,"ra_Folder → Device → Channel → State":`Ordner → Gerät → Kanal → Zustand`,"ra_Folder → State":`Ordner → Zustand`,"ra_Folders always first":`Ordner immer zuerst`,ra_Friday:`Freitag`,"ra_From file":`Aus der Datei`,"ra_From text":`Aus dem Text`,"ra_Good luck":`Viel Glück`,"ra_Hide empty folders":`Leere Ordner ausblenden`,"ra_If no file will be created in the folder, it will disappear after the browser closed":`Wenn im Ordner keine Datei erstellt wird, verschwindet dieser nach dem Schließen des Browsers`,"ra_Instance is not alive":`Instanz ist nicht am Leben`,"ra_Invalid CRON":`Ungültiger CRON`,"ra_Invalid JSON":`Ungültiges JSON`,"ra_Invalid JSON file.":`Ungültige JSON-Datei.`,"ra_Invalid JSON format. Expected an array.":`Ungültiges JSON-Format. Array erwartet.`,"ra_Invalid answer from server":`Ungültige Antwort vom Server`,"ra_Invalid parent folder!":`Ungültiger übergeordneter Ordner!`,"ra_Invalid structure":`Ungültige Struktur`,ra_January:`Januar`,ra_July:`Juli`,ra_June:`Juni`,"ra_Last change":`Letzte Änderung`,ra_Latitude:`Breite`,"ra_License is for version %s, but required version is %s.":`Lizenz ist für Version %s, aber erforderliche Version ist %s.`,"ra_Listen on all IPs":`Zugriff von allen IPs zulassen`,"ra_Load configuration from file":`Konfiguration aus Datei laden`,ra_Logout:`Ausloggen`,ra_Longitude:`Längengrad`,ra_March:`März`,ra_May:`Mai`,'ra_May not trigger "updateLicenses"':`Löst möglicherweise nicht „updateLicenses“ aus`,ra_Message:`Meldung`,ra_Monday:`Montag`,"ra_Move down":`Nach unten`,"ra_Move up":`Nach oben`,ra_Name:`Name`,"ra_No data":`Keine Daten`,"ra_No data found in file":`Keine Daten in der Datei gefunden`,"ra_No response from admin":`Keine Antwort vom Administrator`,"ra_No response from the backend":`Keine Antwort vom Backend`,'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':`Nicht-Experten dürfen neue Objekte nur in "0_userdata.0" oder "alias.0" erstellen.`,"ra_Not a number":`Keine Nummer`,ra_November:`November`,ra_Objects:`Objekte`,ra_October:`Oktober`,ra_Ok:`OK`,"ra_On weekdays":`An Wochentagen`,"ra_Only following structures of objects are available:":`Es stehen nur folgende Objektstrukturen zur Verfügung:`,"ra_Only selected":`Nur ausgewählt`,"ra_Owner group":`Besitzergruppe`,"ra_Owner user":`Besitzer Benutzer`,ra_Palette:`Palette`,"ra_Pick color from screen":`Farbe vom Bildschirm auswählen`,"ra_Place your files here or click here to open the browse dialog":`Die Dateien hier platzieren oder hier klicken, um den Suchdialog zu öffnen`,"ra_Please confirm":`Bitte bestätigen`,"ra_Please select file...":`Bitte Datei auswählen...`,"ra_Please select object ID...":`Bitte Objekt-ID auswählen...`,ra_Product:`Produkt`,"ra_Quality code":`Qualität`,"ra_Recently used colors":`Zuletzt verwendet`,"ra_Refresh tree":`Baum aktualisieren`,"ra_Reload files":`Dateien neu laden`,ra_Rename_Move_Copy:`Umbenennen/Verschieben/Kopieren`,ra_Repeat:`Wiederholen`,ra_Replace:`Ersetzen`,"ra_Request timed out":`Zeitüberschreitung der Anforderung`,"ra_Restrict to folder":`Auf Ordner beschränken`,ra_Root:`Anfang`,ra_Saturday:`Samstag`,ra_Save:`Speichern`,"ra_Save and close":`Speichern und schließen`,"ra_Save configuration to file":`Konfiguration in Datei speichern`,"ra_Save objects tree as JSON file":`Objektbaum als JSON-Datei speichern`,"ra_Select all":`Alle auswählen`,"ra_Select color":`Wähle Farbe`,"ra_Select predefined icon":`Vordefiniertes Symbol auswählen`,"ra_Select type of export":`Die Art des Exports auswählen `,ra_Selected:`Ausgewählt`,"ra_Selected %s object(s)":`Ausgewählt %s Objekt(en)`,ra_September:`September`,"ra_Session will expire in %s seconds. Continue?":`Die Sitzung läuft in %s Sekunden ab. Fortfahren?`,"ra_Show all folders":`Alle Ordner anzeigen`,"ra_Show lines between rows":`Linien zwischen Zeilen anzeigen`,"ra_Show/Hide object descriptions":`Objektbeschreibungen ein-/ausblenden`,"ra_Some data are not stored. Discard?":`Einige Daten werden nicht gespeichert. Verwerfen?`,ra_States:`Zustände`,ra_Sunday:`Sonntag`,"ra_Suppress question for next %s minutes":`Frage für die nächsten %s Minuten unterdrücken`,"ra_System language":`Systemsprache`,'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':`Die Experten können Objekte überall erstellen, außer auf der zweiten Ebene (z. B. "vis.0" oder "javascript.0").`,"ra_The page you are looking for was not found":`Die gesuchte Seite wurde nicht gefunden`,"ra_The schedule will be executed every minute. Are you sure?":`Der Zeitplan wird jede Minute ausgeführt. Sind Sie sicher?`,"ra_The schedule will be executed every second. Are you sure?":`Der Zeitplan wird jede Sekunde ausgeführt. Sind Sie sicher?`,ra_Thursday:`Donnerstag`,ra_Timestamp:`Zeitstempel`,"ra_Toggle expert mode":`Expertenmodus umschalten`,"ra_Toggle the states view":`Statusansicht umschalten`,"ra_Toggle view mode":`Ansichtsmodus umschalten`,"ra_Too big":`Zu groß`,"ra_Too small":`Zu klein`,"ra_Transparent dialog":`Transparenter Dialog`,ra_Tuesday:`Dienstag`,"ra_Unknown error":`Unbekannter Fehler`,"ra_Unknown error!":`Unbekannter Fehler!`,ra_Update:`Aktualisieren`,"ra_Upload file":`Datei hochladen`,"ra_Use iobroker.acme adapter for letsencrypt certificates":`ioBroker.acme-Adapter für letsencrypt-Zertifikate verwenden`,"ra_User files":`Benutzerdaten`,ra_Value:`Wert`,ra_Version:`Ausführung`,"ra_View file":`Datei ansehen`,"ra_View: %s":`Anschauen: %s`,ra_Wednesday:`Mittwoch`,ra_Width:`Breite`,ra_Yes:`Ja`,"ra_You can export all objects or just the selected branch.":`Sie können alle Objekte oder nur den ausgewählten Zweig exportieren.`,"ra_You can use * as wildcard":`Sie können * als Platzhalter verwenden`,ra___different__:`unterschiedlich`,ra_aclEveryone_read_object:`Jeder kann Objekt lesen`,ra_aclEveryone_read_state:`Jeder kann Zustand lesen`,ra_aclEveryone_write_object:`Jeder kann ein Objekt schreiben`,ra_aclEveryone_write_state:`Jeder kann Zustand schreiben`,ra_aclGroup_read_object:`Gruppe kann Objekt lesen`,ra_aclGroup_read_state:`Gruppe kann Status lesen`,ra_aclGroup_write_object:`Gruppe kann Objekt schreiben`,ra_aclGroup_write_state:`Gruppe kann Status schreiben`,ra_aclOwner_read_object:`Besitzer kann Objekt lesen`,ra_aclOwner_read_state:`Besitzer kann Zustand lesen`,ra_aclOwner_write_object:`Besitzer kann Objekt schreiben`,ra_aclOwner_write_state:`Besitzer kann Zustand schreiben`,ra_buttons:`Tasten`,ra_changedFrom:`Geändert von`,ra_close:`Schließen`,ra_create_boolean_state:`Booleschen Zustand erstellen`,ra_create_channel:`Kanal erstellen`,ra_create_device:`Gerät erstellen`,ra_create_number_state:`Nummern-Zustand erstellen`,ra_create_state:`Zustand erstellen`,ra_create_string_state:`String-Zustand erstellen`,ra_daysShortText:`T.`,ra_dow_Fr:`Fr`,ra_dow_Mo:`Mo`,ra_dow_Sa:`Sa`,ra_dow_Su:`So`,ra_dow_Th:`Do`,ra_dow_Tu:`Di`,ra_dow_We:`Mi`,ra_expertMode:`Expertenmodus`,ra_false:`FALSCH`,ra_fileType_all:`Alle Dateien`,ra_fileType_audio:`Audio`,ra_fileType_code:`Code/JSON`,ra_fileType_images:`Bilder`,ra_fileType_txt:`Text`,ra_fileType_video:`Video`,"ra_fileType_video,":`Video`,ra_filter_customs:`Einstellungen`,ra_filter_customs_without:`ohne`,ra_filter_func:`Funktion`,ra_filter_id:`ID`,ra_filter_name:`Name`,ra_filter_role:`Rolle`,ra_filter_room:`Raum`,ra_filter_type:`Typ`,"ra_import data from %s file":`Daten aus %s-Datei importieren`,ra_invalidConfig:`Ungültige Einstellungen`,ra_lastChange:`Letzte Änderung`,ra_locally:`örtlich`,ra_month_Apr:`Apr`,ra_month_Aug:`Aug`,ra_month_Dec:`Dez`,ra_month_Feb:`Feb`,ra_month_Jan:`Jan`,ra_month_Jul:`Jul`,ra_month_Jun:`Jun`,ra_month_Mai:`Mai`,ra_month_Mar:`Mär`,ra_month_Nov:`Nov`,ra_month_Oct:`Okt`,ra_month_Sep:`Sep`,ra_months_Apr:`Apr`,ra_months_Aug:`Aug`,ra_months_Dec:`Dez`,ra_months_Feb:`Feb`,ra_months_Jan:`Jan`,ra_months_Jul:`Jul`,ra_months_Jun:`Jun`,ra_months_Mai:`Mai`,ra_months_Mar:`Mär`,ra_months_Nov:`Nov`,ra_months_Oct:`Okt`,ra_months_Sep:`Sep`,"ra_no confirm for 5 mins":`5 Minuten lang keine Bestätigung`,ra_none:`kein`,ra_now:`jetzt`,ra_object_changed_by:`Objekt geändert von`,ra_object_changed_by_user:`Objekt zuletzt geändert um`,ra_otherConfig:`Einstellungen von anderen Adaptern %s`,ra_qualityCode:`Qualitätscode`,ra_repeat:`wiederholen`,ra_select_folder_hint:`Um einen Ordner auszuwählen, halten Sie einfach die Taste "Shift" gedrückt, indem Sie auf den Ordner klicken.`,ra_show_all:`Alle anzeigen`,ra_state_changed_by:`Zustand geändert durch`,ra_state_changed_from:`Objekt geändert von`,ra_timestamp:`Zeitstempel`,ra_tooltip_ack:`Bestätigt`,ra_tooltip_comment:`Kommentar`,ra_tooltip_copyState:`Statuswert kopieren`,ra_tooltip_ctrlForLink:`Strg/⌘-Taste gedrückt halten, um den Link zu öffnen`,ra_tooltip_customConfig:`Benutzerdefinierte Einstellungen`,ra_tooltip_deleteObject:`Objekt löschen`,ra_tooltip_editObject:`Objekt bearbeiten`,ra_tooltip_editState:`Statuswert bearbeiten`,ra_tooltip_expire:`Läuft ab in`,ra_tooltip_from:`Von`,ra_tooltip_lc:`Zuletzt geändert`,ra_tooltip_quality:`Qualität`,ra_tooltip_ts:`Zeitstempel`,ra_tooltip_user:`Benutzer`,ra_tooltip_value:`Wert`,ra_true:`WAHR`,"ra_use seconds":`Sekunden benutzen`,ra_val:`Wert`,"ra_via internet":`übers Internet`,ra_warning_every_minute:`Achtung: Der CRON-Job wird im angegebenen Zeitraum jede Minute ausgeführt!`,ra_warning_every_second:`Achtung: Der CRON-Job wird im angegebenen Zeitraum jede Sekunde ausgeführt!`,sc_cron:`CRON`,sc_date:`Datum`,sc_dates:`Tage`,sc_dow:`Tag`,sc_dows:`Wochentage`,sc_every:`Jeden`,sc_everyN_dates:`alle N Tage`,sc_everyN_dow:`jeden x-ten Tag der Woche`,sc_everyN_dows:`alle N Wochentage`,sc_everyN_hours:`alle N Stunden`,sc_everyN_minutes:`alle N Minuten`,sc_everyN_months:`alle N Monate`,sc_everyN_seconds:`alle N Sekunden`,sc_every_dates:`jeden Tag`,sc_every_dow:`jeden Tag der Woche`,sc_every_dows:`jeden Tag der Woche`,sc_every_hours:`jede Stunde`,sc_every_minutes:`jede Minute`,sc_every_months:`jeden Monat`,sc_every_seconds:`jede Sekunde`,sc_from:`Von`,sc_hours:`Stunden`,sc_interval:`Intervall`,sc_intervalBetween:`Intervall zwischen`,sc_invalid_cron:`Ungültiger CRON`,sc_minutes:`Minuten`,sc_months:`Monate`,sc_once:`Einmal`,sc_period:`Zeitraum`,sc_seconds:`Sekunden`,sc_simple:`Einfach`,sc_specific:`Bestimmte Zeit`,sc_specific_dates:`bestimmte Tage`,sc_specific_dow:`bestimmte(r) Tag(e) der Woche`,sc_specific_dows:`bestimmten Wochentag`,sc_specific_hours:`bestimmte Stunden`,sc_specific_minutes:`bestimmte Minuten`,sc_specific_months:`bestimmte Monate`,sc_specific_seconds:`bestimmte Sekunden`,sc_time:`Zeit`,sc_to:`Bis`,sc_wizard:`Wizard`,sch_all:`alle`,sch_astroDay:`Astronomischer Tag`,sch_astroNight:`Astronomische Nacht`,sch_astro_dawn:`Morgendämmerung`,sch_astro_dusk:`Abenddämmerung`,sch_astro_goldenHour:`Goldene Stunde`,sch_astro_goldenHourEnd:`Goldene Stundenende`,sch_astro_nadir:`Nadir`,sch_astro_nauticalDawn:`Nautische Morgendämmerung`,sch_astro_nauticalDusk:`Nautische Abenddämmerung`,sch_astro_night:`Nacht`,sch_astro_nightEnd:`Nachtende`,sch_astro_solarNoon:`Sonnenmittag`,sch_astro_sunrise:`Sonnenaufgang`,sch_astro_sunriseEnd:`Sonnenaufgangende`,sch_astro_sunset:`Sonnenuntergang`,sch_astro_sunsetStart:`Sonnenuntergangstart`,sch_at:`am`,sch_desc_atTime:`um %s`,sch_desc_everyDay:`jeden Tag`,sch_desc_everyHour:`jede Stunde`,sch_desc_everyMinute:`jede Minute`,sch_desc_everyMonth:`jeden Monat`,sch_desc_everyNDay:`jeden %s Tag`,sch_desc_everyNHours:`alle %s Stunden`,sch_desc_everyNMinutes:`alle %s Minuten`,sch_desc_everyNMonths:`alle %s Monate`,sch_desc_everyNWeeks:`alle %s Wochen`,sch_desc_everyNYears:`alle %s Jahre`,sch_desc_everyWeek:`jede Woche`,sch_desc_everyYear:`jedes Jahr`,sch_desc_intervalFromTo:`von %s bis %s`,sch_desc_never:`noch nie`,sch_desc_onDate:`am %s von %s`,sch_desc_onDates:`am %s und %s von`,sch_desc_onEveryDate:`an jedem Datum von`,sch_desc_onMonth:`%s`,sch_desc_onMonths:`%s und %s`,sch_desc_onWeekday:`auf %s`,sch_desc_onWeekdays:`auf %s und %s`,sch_desc_onWeekends:`an Wochenenden`,sch_desc_onWorkdays:`an Werktagen`,sch_desc_onceInPast:`wird nicht mehr ausgeführt, weil der Start in der Vergangenheit ist`,sch_desc_once_on:`auf %s`,sch_desc_validFrom:`von %s`,sch_desc_validFromTo:`Ausführen von bis`,sch_desc_validTo:`bis %s`,sch_every:`jeden`,sch_exactTime:`Bestimmte Zeit`,sch_from:`von`,sch_fromTo:`Von bis`,sch_intervalTime:`Zeitintervall`,sch_invert:`umkehren`,sch_no_one:`keiner`,sch_on:`am`,sch_period:`Zeitraum`,sch_periodDaily:`Täglich`,sch_periodDates:`Daten`,sch_periodDay:`Tag`,sch_periodEvery:`Jeden`,sch_periodEveryDay:`Jeden Tag`,sch_periodEveryMonth:`Jeden Monat`,sch_periodEveryWeek:`Jede Woche`,sch_periodEveryYear:`Jedes Jahr`,sch_periodHours:`Stunden`,sch_periodMinutes:`Minuten`,sch_periodMonth:`Monat`,sch_periodMonthly:`Monatlich`,sch_periodOnce:`Einmal`,sch_periodSpecificMonths:`Bestimmte Monate`,sch_periodWeek:`Woche`,sch_periodWeekdays:`Wochentage`,sch_periodWeekend:`Wochenende`,sch_periodWeekly:`Wöchentlich`,sch_periodWorkdays:`Arbeitstage`,sch_periodYear:`Jahr`,sch_periodYearly:`Jährlich`,sch_specificTime:`Bestimmte Zeit`,sch_time:`Zeit`,sch_to:`zu`,sch_valid:`Gültigkeit`,sch_validFrom:`von`,sch_validTo:`bis`,sch_wholeDay:`Ganzer Tag`,sch_yearEveryMonth:`jeden Monat`},ru:{"ra_%s links from aliases":`%s ссылок из псевдонимов`,"ra_%s object(s) processed":`Объектов обработано: %s`,"ra_%s was imported":`%s был импортирован`,ra_Actions:`Действия`,ra_Add:`Добавить`,"ra_Add new child object to selected parent":`Добавить новый дочерний объект к выбранному родительскому объекту`,"ra_Add objects tree from JSON file":`Добавить дерево объектов из файла JSON`,"ra_Advanced options":`Расширенные настройки`,"ra_All objects":`Все объекты`,ra_April:`Апрель`,"ra_Are you sure?":`Вы уверены?`,ra_August:`Август`,"ra_Auto (no custom columns)":`Авто (без настраиваемых столбцов)`,"ra_Back to %s":`Вернуться к %s`,"ra_Background image":`Фоновая картинка`,ra_Cancel:`Отмена`,'ra_Cannot find "%s"':`Не могу найти "%s"`,'ra_Cannot read "%s"':`Не могу прочитать "%s"`,"ra_Cannot update attribute, because not found in the object":`Невозможно обновить атрибут, потому что он не найден в объекте`,"ra_Cannot upload":`Невозможно загрузить`,ra_Categories:`Категории`,"ra_Change color theme":`Изменить цветовую тему`,"ra_Changed from":`Изменено`,"ra_Channel → State":`Канал → Состояние`,"ra_Check license":`Проверить лицензию`,ra_Checked:`Проверено`,ra_Clear:`Удалить`,"ra_Clear color":`Очистить цвет`,"ra_Clear filter":`Очистить фильтр`,"ra_Clear icon":`Очистить значок`,ra_Close:`Закрыть`,ra_Collapse:`Свернуть`,"ra_Collapse all nodes":`Свернуть все узлы`,"ra_Collapse one step node":`Свернуть один уровень`,ra_Configure:`Настроить`,"ra_Configure visible columns":`Настроить видимые столбцы`,"ra_Confirm deletion of %s":`Подтвердите удаление %s`,ra_Connected:`Соединение установлено`,ra_Continue:`Продолжать`,ra_Copied:`скопировано`,"ra_Copied %s":`Скопировано "%s"`,ra_Create:`Создать`,"ra_Create alias":`Создать псевдоним`,"ra_Create folder":`Создать папку`,"ra_Create new folder in %s":`Создать новую папку в %s`,ra_Crop:`Обрезать`,ra_December:`Декабрь`,"ra_Define CRON...":`Определите CRON...`,"ra_Define functions":`Задать функции`,"ra_Define rooms":`Задать комнаты`,"ra_Define schedule":`Задать расписание`,"ra_Define schedule...":`Определить расписание ...`,ra_Del:`Delete`,ra_Delete:`Удалить`,"ra_Deselect all":`Убрать выбор везде`,"ra_Device → Channel → State":`Устройство → Канал → Состояние`,"ra_Disable/Enable translation":`Включить/отключить перевод`,ra_Discard:`Отказаться`,ra_Disconnected:`Отключено`,"ra_Do not ask for next 2 hours in this session":`Не спрашивайте о следующих 2 часах в этом сеансе`,"ra_Do not export values of states":`Не экспортировать значения состояний`,"ra_Double click to reset table layout":`Дважды щелкните, чтобы сбросить макет таблицы`,"ra_Drag 'n' drop some files here, or click to select files":`Перетащите сюда несколько файлов или щелкните, чтобы выбрать файлы`,"ra_Drop file here":`Перетащите файл сюда`,"ra_Drop the files here...":`Перетащите файл сюда ...`,"ra_Duplicate name":`Повторяющееся имя`,ra_Edit:`Редактировать`,"ra_Edit ACL":`Изменить ACL-список`,"ra_Edit alias":`Изменить псевдоним`,"ra_Edit custom config":`Редактировать настраиваемую конфигурацию`,"ra_Edit full path":`Изменить полный путь`,"ra_Edit function":`Изменить функцию`,"ra_Edit object field":`Поле редактирования объекта`,"ra_Edit role":`Изменить роль`,"ra_Edit room":`Редактировать комнату`,"ra_Edit value":`Изменить значение`,ra_Error:`Ошибка`,ra_Expand:`Развернуть`,"ra_Expand all nodes":`Развернуть все узлы`,"ra_Expand one step node":`Открыть один уровень`,"ra_Failed to open JSON File":`Не удалось открыть файл JSON`,ra_February:`Февраль`,"ra_File is too big. Max %sk allowed. Try use SVG.":`Файл слишком большой. Разрешено максимальное количество %sk. Попробуйте использовать SVG.`,ra_Filter:`Фильтр`,"ra_Filter files":`Фильтровать файлы`,"ra_Folder name":`Имя папки`,"ra_Folder → Channel → State":`Папка → Канал → Состояние`,"ra_Folder → Device → Channel → State":`Папка → Устройство → Канал → Состояние`,"ra_Folder → State":`Папка → Состояние`,"ra_Folders always first":`Папки всегда на первом месте`,ra_Friday:`Пятница`,"ra_From file":`Из файла`,"ra_From text":`Из текста`,"ra_Good luck":`Удачи`,"ra_Hide empty folders":`Скрыть пустые папки`,"ra_If no file will be created in the folder, it will disappear after the browser closed":`Если в папке не будет создан файл, он исчезнет после закрытия браузера.`,"ra_Instance is not alive":`Экземпляр не живой`,"ra_Invalid CRON":`Неверный CRON`,"ra_Invalid JSON":`Неверный JSON`,"ra_Invalid JSON file.":`Неверный файл JSON.`,"ra_Invalid JSON format. Expected an array.":`Недопустимый формат JSON. Ожидается массив.`,"ra_Invalid answer from server":`Неверный ответ от сервера`,"ra_Invalid parent folder!":`Неверная родительская папка!`,"ra_Invalid structure":`Неверная структура`,ra_January:`Январь`,ra_July:`Июль`,ra_June:`Июнь`,"ra_Last change":`Последнее изменение`,ra_Latitude:`Широта`,"ra_License is for version %s, but required version is %s.":`Лицензия предназначена для версии %s, но необходима версия %s.`,"ra_Listen on all IPs":`Слушать на всех IP`,"ra_Load configuration from file":`Загрузить конфигурацию из файла`,ra_Logout:`Выйти`,ra_Longitude:`Долгота`,ra_March:`Март`,ra_May:`Май`,'ra_May not trigger "updateLicenses"':`Не может запускать «updateLicenses»`,ra_Message:`Сообщение`,ra_Monday:`Понедельник`,"ra_Move down":`Вниз`,"ra_Move up":`Вверх`,ra_Name:`Имя`,"ra_No data":`Нет данных`,"ra_No data found in file":`Данные в файле не найдены`,"ra_No response from admin":`Нет ответа от администратора`,"ra_No response from the backend":`Нет ответа от бэкэнда`,'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':`Не-эксперты могут создавать новые объекты только в «0_userdata.0» или «alias.0».`,"ra_Not a number":`Не число`,ra_November:`Ноябрь`,ra_Objects:`Объекты`,ra_October:`Октябрь`,ra_Ok:`Ok`,"ra_On weekdays":`На выходных`,"ra_Only following structures of objects are available:":`Доступны только следующие структуры объектов:`,"ra_Only selected":`Только выбранные`,"ra_Owner group":`Группа владельцев`,"ra_Owner user":`Пользователь-владелец`,ra_Palette:`Палитра`,"ra_Pick color from screen":`Выбрать цвет с экрана`,"ra_Place your files here or click here to open the browse dialog":`Поместите свои файлы сюда или щелкните здесь, чтобы открыть диалоговое окно выбора`,"ra_Please confirm":`Пожалуйста подтвердите`,"ra_Please select file...":`Пожалуйста, выберите файл...`,"ra_Please select object ID...":`Пожалуйста, выберите идентификатор объекта ...`,ra_Product:`Продукт`,"ra_Quality code":`Валидность`,"ra_Recently used colors":`Недавно использованные`,"ra_Refresh tree":`Обновить дерево`,"ra_Reload files":`Обновить`,ra_Rename_Move_Copy:`Переименовать/Переместить/Копировать`,ra_Repeat:`Повторение`,ra_Replace:`Заменять`,"ra_Request timed out":`Истекло время запроса`,"ra_Restrict to folder":`Ограничить папкой`,ra_Root:`Начало`,ra_Saturday:`Суббота`,ra_Save:`Сохранить`,"ra_Save and close":`Сохранить и закрыть`,"ra_Save configuration to file":`Сохранить конфигурацию в файл`,"ra_Save objects tree as JSON file":`Сохранить дерево объектов как файл JSON`,"ra_Select all":`Выбрать все`,"ra_Select color":`Выберите цвет`,"ra_Select predefined icon":`Выберите предопределенный значок`,"ra_Select type of export":`Выберите тип экспорта`,ra_Selected:`выбранный`,"ra_Selected %s object(s)":`Объектов: %s`,ra_September:`Сентябрь`,"ra_Session will expire in %s seconds. Continue?":`Сессия истечет через %s секунд. Продолжить?`,"ra_Show all folders":`Показать все папки`,"ra_Show lines between rows":`Показать линии между строками`,"ra_Show/Hide object descriptions":`Показать/скрыть описания объектов`,"ra_Some data are not stored. Discard?":`Некоторые данные не сохранились. Отказаться?`,ra_States:`Состояния`,ra_Sunday:`Воскресенье`,"ra_Suppress question for next %s minutes":`Скрыть вопрос на следующие %s минут(ы)`,"ra_System language":`Язык системы`,'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':`Эксперты могут создавать объекты везде, кроме второго уровня (например, «vis.0» или «javascript.0»).`,"ra_The page you are looking for was not found":`Страница, которую вы ищете, не найдена`,"ra_The schedule will be executed every minute. Are you sure?":`Расписание будет выполняться каждую минуту. Вы уверены?`,"ra_The schedule will be executed every second. Are you sure?":`Расписание будет выполняться каждую секунду. Вы уверены?`,ra_Thursday:`Четверг`,ra_Timestamp:`Времени`,"ra_Toggle expert mode":`Переключить экспертный режим`,"ra_Toggle the states view":`Переключить режим просмотра состояний`,"ra_Toggle view mode":`Переключить режим просмотра`,"ra_Too big":`Слишком большое`,"ra_Too small":`Слишком маленькое`,"ra_Transparent dialog":`Прозрачный диалог`,ra_Tuesday:`Вторник`,"ra_Unknown error":`Неизвестная ошибка`,"ra_Unknown error!":`Неизвестная ошибка!`,ra_Update:`Обновить`,"ra_Upload file":`Загрузить файл`,"ra_Use iobroker.acme adapter for letsencrypt certificates":`Используйте адаптер iobroker.acme для сертификатов letsencrypt`,"ra_User files":`Файлы пользователя`,ra_Value:`Значение`,ra_Version:`Версия`,"ra_View file":`Посмотреть файл`,"ra_View: %s":`Просмотр: %s`,ra_Wednesday:`Среда`,ra_Width:`Ширина`,ra_Yes:`Да`,"ra_You can export all objects or just the selected branch.":`Вы можете экспортировать все объекты или только выбранную ветвь.`,"ra_You can use * as wildcard":`Вы можете использовать * в качестве подстановочного знака`,ra___different__:`разное`,ra_aclEveryone_read_object:`Каждый может читать объект`,ra_aclEveryone_read_state:`Каждый может читать состояние`,ra_aclEveryone_write_object:`Каждый может написать объект`,ra_aclEveryone_write_state:`Каждый может написать состояние`,ra_aclGroup_read_object:`Группа может читать объект`,ra_aclGroup_read_state:`Группа может читать состояние`,ra_aclGroup_write_object:`Группа может писать объект`,ra_aclGroup_write_state:`Группа может записывать состояние`,ra_aclOwner_read_object:`Владелец может читать объект`,ra_aclOwner_read_state:`Владелец может читать состояние`,ra_aclOwner_write_object:`Владелец может писать объект`,ra_aclOwner_write_state:`Владелец может писать состояние`,ra_buttons:`Кнопки`,ra_changedFrom:`Изменено с`,ra_close:`Закрыть`,ra_create_boolean_state:`Создать логическое состояние`,ra_create_channel:`Создать канал`,ra_create_device:`Создать устройство`,ra_create_number_state:`Создать состояние номера`,ra_create_state:`Создать состояние`,ra_create_string_state:`Создать состояние строки`,ra_daysShortText:`д.`,ra_dow_Fr:`Пт`,ra_dow_Mo:`Пн`,ra_dow_Sa:`Сб`,ra_dow_Su:`Вс`,ra_dow_Th:`Чт`,ra_dow_Tu:`Вт`,ra_dow_We:`Ср`,ra_expertMode:`Экспертный режим`,ra_false:`ЛОЖЬ`,ra_fileType_all:`Все файлы`,ra_fileType_audio:`Аудио`,ra_fileType_code:`Код/JSON`,ra_fileType_images:`Картинки`,ra_fileType_txt:`Текст`,ra_fileType_video:`видео`,"ra_fileType_video,":`видео`,ra_filter_customs:`настройки`,ra_filter_customs_without:`без`,ra_filter_func:`функция`,ra_filter_id:`ID`,ra_filter_name:`Имя`,ra_filter_role:`роль`,ra_filter_room:`комната`,ra_filter_type:`Тип`,"ra_import data from %s file":`Импортировать данные из файла %s`,ra_invalidConfig:`Неверные настройки`,ra_lastChange:`Последнее изменение`,ra_locally:`локально`,ra_month_Apr:`Апр`,ra_month_Aug:`Авг`,ra_month_Dec:`Дек`,ra_month_Feb:`Фев`,ra_month_Jan:`Янв`,ra_month_Jul:`Июл`,ra_month_Jun:`Июн`,ra_month_Mai:`Май`,ra_month_Mar:`Мрт`,ra_month_Nov:`Ноя`,ra_month_Oct:`Окт`,ra_month_Sep:`Сен`,ra_months_Apr:`Апр`,ra_months_Aug:`Авг`,ra_months_Dec:`Дек`,ra_months_Feb:`Фев`,ra_months_Jan:`Янв`,ra_months_Jul:`Июнь`,ra_months_Jun:`Июль`,ra_months_Mai:`Май`,ra_months_Mar:`Март`,ra_months_Nov:`Ноя`,ra_months_Oct:`Окт`,ra_months_Sep:`Сен`,"ra_no confirm for 5 mins":`не спрашивать подтверждения в течение 5 минут`,ra_none:`ничего`,ra_now:`сейчас`,ra_object_changed_by:`Объект изменен`,ra_object_changed_by_user:`Последний раз объект изменен в`,ra_otherConfig:`Настройки из другого адаптера %s`,ra_qualityCode:`Код качества`,ra_repeat:`повтор`,ra_select_folder_hint:`Чтобы выбрать папку, просто удерживайте клавишу «Shift», щелкнув папку.`,ra_show_all:`Показать все`,ra_state_changed_by:`Состояние изменено`,ra_state_changed_from:`Объект изменен с`,ra_timestamp:`Отметка времени`,ra_tooltip_ack:`Подтверждено`,ra_tooltip_comment:`Комментарий`,ra_tooltip_copyState:`Скопируйте значение состояния`,ra_tooltip_ctrlForLink:`Удерживайте клавишу Cltr/⌘, чтобы открыть ссылку`,ra_tooltip_customConfig:`Пользовательские настройки`,ra_tooltip_deleteObject:`Удалить объект`,ra_tooltip_editObject:`Редактировать объект`,ra_tooltip_editState:`Изменить значение состояния`,ra_tooltip_expire:`Истекает через`,ra_tooltip_from:`От`,ra_tooltip_lc:`Последнее изменение`,ra_tooltip_quality:`Качество`,ra_tooltip_ts:`Отметка времени`,ra_tooltip_user:`пользователь`,ra_tooltip_value:`Значение`,ra_true:`истинный`,"ra_use seconds":`секунды`,ra_val:`Значение`,"ra_via internet":`через интернет`,ra_warning_every_minute:`Внимание: задание CRON будет запускаться каждую минуту в течение указанного периода!`,ra_warning_every_second:`Внимание: задание CRON будет выполняться каждую секунду в течение указанного периода!`,sc_cron:`CRON`,sc_date:`Дата`,sc_dates:`Даты`,sc_dow:`День`,sc_dows:`День недели`,sc_every:`каждый(ую/ые)`,sc_everyN_dates:`каждый N день`,sc_everyN_dow:`каждый N-й день недели`,sc_everyN_dows:`каждый N день недели`,sc_everyN_hours:`каждые N часов`,sc_everyN_minutes:`каждые N минут`,sc_everyN_months:`каждые N месяцев`,sc_everyN_seconds:`каждые N секунд`,sc_every_dates:`каждый день`,sc_every_dow:`Каждый день недели`,sc_every_dows:`каждый день недели`,sc_every_hours:`каждый час`,sc_every_minutes:`каждую минуту`,sc_every_months:`каждый месяц`,sc_every_seconds:`каждую секунду`,sc_from:`От`,sc_hours:`часы`,sc_interval:`Интервал`,sc_intervalBetween:`Интервал между`,sc_invalid_cron:`Неверный CRON`,sc_minutes:`минуты`,sc_months:`Месяцы`,sc_once:`один раз`,sc_period:`Период`,sc_seconds:`секунды`,sc_simple:`Просто`,sc_specific:`Конкретное время`,sc_specific_dates:`конкретные даты`,sc_specific_dow:`конкретный день(а) недели`,sc_specific_dows:`конкретный день недели`,sc_specific_hours:`конкретные часы`,sc_specific_minutes:`конкретные минуты`,sc_specific_months:`конкретные месяцы`,sc_specific_seconds:`конкретные секунды`,sc_time:`Время`,sc_to:`До`,sc_wizard:`Форма`,sch_all:`все`,sch_astroDay:`днём`,sch_astroNight:`ночью`,sch_astro_dawn:`Рассвет`,sch_astro_dusk:`Сумерки`,sch_astro_goldenHour:`Золотой час`,sch_astro_goldenHourEnd:`Конец золотого часа`,sch_astro_nadir:`Надир`,sch_astro_nauticalDawn:`Морской рассвет`,sch_astro_nauticalDusk:`Морские сумерки`,sch_astro_night:`Ночь`,sch_astro_nightEnd:`Конец ночи`,sch_astro_solarNoon:`Солнечный полдень`,sch_astro_sunrise:`Восход`,sch_astro_sunriseEnd:`Восход солнца`,sch_astro_sunset:`Заход солнца`,sch_astro_sunsetStart:`Начало заката`,sch_at:`дата`,sch_desc_atTime:`в %s`,sch_desc_everyDay:`каждый день`,sch_desc_everyHour:`каждый час`,sch_desc_everyMinute:`каждую минуту`,sch_desc_everyMonth:`каждый месяц`,sch_desc_everyNDay:`каждый %s день`,sch_desc_everyNHours:`каждый %s часов`,sch_desc_everyNMinutes:`каждые %s минут`,sch_desc_everyNMonths:`каждые %s месяцев`,sch_desc_everyNWeeks:`каждые %s недель`,sch_desc_everyNYears:`каждые %s лет`,sch_desc_everyWeek:`каждую неделю`,sch_desc_everyYear:`каждый год`,sch_desc_intervalFromTo:`от %s до %s`,sch_desc_never:`никогда`,sch_desc_onDate:`%s %s`,sch_desc_onDates:`%s и %s`,sch_desc_onEveryDate:`в каждый день`,sch_desc_onMonth:`%s`,sch_desc_onMonths:`%s и %s`,sch_desc_onWeekday:`%s`,sch_desc_onWeekdays:`%s и %s`,sch_desc_onWeekends:`на выходных`,sch_desc_onWorkdays:`в рабочие дни`,sch_desc_onceInPast:`не будет больше выполняться, потому что начало в прошлом`,sch_desc_once_on:`%s`,sch_desc_validFrom:`%s`,sch_desc_validFromTo:`Выполнить с`,sch_desc_validTo:`%s`,sch_every:`каждый`,sch_exactTime:`Конкретное время`,sch_from:`от`,sch_fromTo:`От и до`,sch_intervalTime:`Интервал времени`,sch_invert:`инвертировать`,sch_no_one:`никакой`,sch_on:`на`,sch_period:`период`,sch_periodDaily:`Ежедневно`,sch_periodDates:`Даты`,sch_periodDay:`День`,sch_periodEvery:`каждый`,sch_periodEveryDay:`Каждый день`,sch_periodEveryMonth:`Каждый месяц`,sch_periodEveryWeek:`Каждую неделю`,sch_periodEveryYear:`Каждый год`,sch_periodHours:`часов`,sch_periodMinutes:`минут`,sch_periodMonth:`месяц`,sch_periodMonthly:`ежемесячно`,sch_periodOnce:`однажды`,sch_periodSpecificMonths:`Конкретные месяцы`,sch_periodWeek:`Неделю`,sch_periodWeekdays:`Будние дни`,sch_periodWeekend:`выходные`,sch_periodWeekly:`еженедельно`,sch_periodWorkdays:`Рабочие дни`,sch_periodYear:`Год`,sch_periodYearly:`каждый год`,sch_specificTime:`Конкретное время`,sch_time:`Время`,sch_to:`в`,sch_valid:`действительный`,sch_validFrom:`от`,sch_validTo:`в`,sch_wholeDay:`Весь день`,sch_yearEveryMonth:`каждый месяц`},pt:{"ra_%s links from aliases":`%s links de aliases`,"ra_%s object(s) processed":`%s objeto(s) processado(s)`,"ra_%s was imported":`%s foi importado`,ra_Actions:`Ações`,ra_Add:`Adicionar`,"ra_Add new child object to selected parent":`Adicionar novo objeto filho ao pai selecionado`,"ra_Add objects tree from JSON file":`Adicionar árvore de objetos do arquivo JSON`,"ra_Advanced options":`Opções avançadas`,"ra_All objects":`Todos os objetos`,ra_April:`Abril`,"ra_Are you sure?":`Você tem certeza?`,ra_August:`Agosto`,"ra_Auto (no custom columns)":`Auto (sem colunas personalizadas)`,"ra_Back to %s":`Voltar para %s`,"ra_Background image":`Imagem de fundo`,ra_Cancel:`Cancelar`,'ra_Cannot find "%s"':`Não foi possível encontrar "%s"`,'ra_Cannot read "%s"':`Não é possível ler "%s"`,"ra_Cannot update attribute, because not found in the object":`Não é possível atualizar o atributo, porque não foi encontrado no objeto`,"ra_Cannot upload":`Não é possível fazer upload`,ra_Categories:`Categorias`,"ra_Change color theme":`Alterar tema de cores`,"ra_Changed from":`Mudou de`,"ra_Channel → State":`Canal → Estado`,"ra_Check license":`Verifique a licença`,ra_Checked:`Verificado`,ra_Clear:`Excluir`,"ra_Clear color":`Limpar cor`,"ra_Clear filter":`Filtro limpo`,"ra_Clear icon":`Ícone de limpeza`,ra_Close:`Perto`,ra_Collapse:`Recolher`,"ra_Collapse all nodes":`Recolher todos os nós`,"ra_Collapse one step node":`Recolher um nível`,ra_Configure:`Configurar`,"ra_Configure visible columns":`Configurar colunas visíveis`,"ra_Confirm deletion of %s":`Confirme a exclusão de %s`,ra_Connected:`Conectado`,ra_Continue:`Continuar`,ra_Copied:`Copiado`,"ra_Copied %s":`"%s" copiado`,ra_Create:`Crio`,"ra_Create alias":`Criar alias`,"ra_Create folder":`Criar pasta`,"ra_Create new folder in %s":`Crie uma nova pasta em %s`,ra_Crop:`Colheita`,ra_December:`Dezembro`,"ra_Define CRON...":`Defina CRON...`,"ra_Define functions":`Definir funções`,"ra_Define rooms":`Definir quartos`,"ra_Define schedule":`Definir cronograma`,"ra_Define schedule...":`Definir programação ...`,ra_Del:`Delete`,ra_Delete:`Excluir`,"ra_Deselect all":`Desmarque todos`,"ra_Device → Channel → State":`Dispositivo → Canal → Estado`,"ra_Disable/Enable translation":`Desativar/Ativar tradução`,ra_Discard:`Descartar`,ra_Disconnected:`Desconectado`,"ra_Do not ask for next 2 hours in this session":`Não peça as próximas 2 horas nesta sessão`,"ra_Do not export values of states":`Não exporte valores de estados`,"ra_Double click to reset table layout":`Clique duas vezes para redefinir o layout da tabela`,"ra_Drag 'n' drop some files here, or click to select files":`Arraste e solte alguns arquivos aqui ou clique para selecionar arquivos`,"ra_Drop file here":`Solte o arquivo aqui`,"ra_Drop the files here...":`Solte o arquivo aqui ...`,"ra_Duplicate name":`Nome duplicado`,ra_Edit:`Editar`,"ra_Edit ACL":`Editar ACL`,"ra_Edit alias":`Editar alias`,"ra_Edit custom config":`Editar configuração personalizada`,"ra_Edit full path":`Editar caminho completo`,"ra_Edit function":`Função de edição`,"ra_Edit object field":`Editar campo de objeto`,"ra_Edit role":`Editar papel`,"ra_Edit room":`Sala de edição`,"ra_Edit value":`Editar valor`,ra_Error:`Erro`,ra_Expand:`Expandir`,"ra_Expand all nodes":`Expanda todos os nós`,"ra_Expand one step node":`Expanda um nível`,"ra_Failed to open JSON File":`Falha ao abrir arquivo JSON`,ra_February:`Fevereiro`,"ra_File is too big. Max %sk allowed. Try use SVG.":`O arquivo é muito grande. Max %sk permitido. Tente usar SVG.`,ra_Filter:`Filtro`,"ra_Filter files":`Filtrar arquivos`,"ra_Folder name":`Nome da pasta`,"ra_Folder → Channel → State":`Pasta → Canal → Estado`,"ra_Folder → Device → Channel → State":`Pasta → Dispositivo → Canal → Estado`,"ra_Folder → State":`Pasta → Estado`,"ra_Folders always first":`Pastas sempre primeiro`,ra_Friday:`Sexta-feira`,"ra_From file":`Do arquivo`,"ra_From text":`Do texto`,"ra_Good luck":`Boa sorte`,"ra_Hide empty folders":`Esconder pastas vazias`,"ra_If no file will be created in the folder, it will disappear after the browser closed":`Se nenhum arquivo for criado na pasta, ele desaparecerá depois que o navegador for fechado`,"ra_Instance is not alive":`A instância não está ativa`,"ra_Invalid CRON":`CRON inválido`,"ra_Invalid JSON":`JSON inválido`,"ra_Invalid JSON file.":`Arquivo JSON inválido.`,"ra_Invalid JSON format. Expected an array.":`Formato JSON inválido. Esperava-se uma matriz.`,"ra_Invalid answer from server":`Resposta inválida do servidor`,"ra_Invalid parent folder!":`Pasta pai inválida!`,"ra_Invalid structure":`Estrutura inválida`,ra_January:`Janeiro`,ra_July:`Julho`,ra_June:`Junho`,"ra_Last change":`Última mudança`,ra_Latitude:`Latitude`,"ra_License is for version %s, but required version is %s.":`A licença é para a versão %s, mas a versão necessária é %s.`,"ra_Listen on all IPs":`Ouça em todos os IPs`,"ra_Load configuration from file":`Carregar configuração do arquivo`,ra_Logout:`Sair`,ra_Longitude:`Longitude`,ra_March:`Março`,ra_May:`Maio`,'ra_May not trigger "updateLicenses"':`Pode não acionar "updateLicenses"`,ra_Message:`mensagem`,ra_Monday:`Segunda-feira`,"ra_Move down":`Mover para baixo`,"ra_Move up":`Subir`,ra_Name:`Nome`,"ra_No data":`Sem dados`,"ra_No data found in file":`Nenhum dado encontrado no arquivo`,"ra_No response from admin":`Nenhuma resposta do administrador`,"ra_No response from the backend":`Nenhuma resposta do backend`,'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':`Os não especialistas podem criar novos objetos apenas em "0_userdata.0" ou "alias.0".`,"ra_Not a number":`Não é um número`,ra_November:`Novembro`,ra_Objects:`Objetos`,ra_October:`Outubro`,ra_Ok:`Está bem`,"ra_On weekdays":`Nos dias úteis`,"ra_Only following structures of objects are available:":`Apenas as seguintes estruturas de objetos estão disponíveis:`,"ra_Only selected":`Apenas selecionado`,"ra_Owner group":`Grupo proprietário`,"ra_Owner user":`Usuário proprietário`,ra_Palette:`Paleta`,"ra_Pick color from screen":`Selecionar cor da tela`,"ra_Place your files here or click here to open the browse dialog":`Coloque seus arquivos aqui ou clique aqui para abrir a janela de navegação`,"ra_Please confirm":`Por favor confirme`,"ra_Please select file...":`Selecione o arquivo...`,"ra_Please select object ID...":`Selecione o ID do objeto ...`,ra_Product:`produtos`,"ra_Quality code":`Qualidade`,"ra_Recently used colors":`Usados recentemente`,"ra_Refresh tree":`Atualizar árvore`,"ra_Reload files":`Recarregar arquivos`,ra_Rename_Move_Copy:`Renomear/Mover/Copiar`,ra_Repeat:`Repita`,ra_Replace:`Substituir`,"ra_Request timed out":`Solicitação expirou`,"ra_Restrict to folder":`Restringir à pasta`,ra_Root:`Raiz`,ra_Saturday:`Sábado`,ra_Save:`Salve `,"ra_Save and close":`Salvar e fechar`,"ra_Save configuration to file":`Salvar configuração em arquivo`,"ra_Save objects tree as JSON file":`Salvar árvore de objetos como arquivo JSON`,"ra_Select all":`Selecionar tudo`,"ra_Select color":`Selecione a cor`,"ra_Select predefined icon":`Selecione o ícone predefinido`,"ra_Select type of export":`Selecione o tipo de exportação`,ra_Selected:`Selecionado`,"ra_Selected %s object(s)":`%s objeto(s) selecionado(s)`,ra_September:`Setembro`,"ra_Session will expire in %s seconds. Continue?":`A sessão irá expirar em %s segundos. Continuar?`,"ra_Show all folders":`Mostrar todas as pastas`,"ra_Show lines between rows":`Mostrar linhas entre as linhas`,"ra_Show/Hide object descriptions":`Mostrar/ocultar descrições de objetos`,"ra_Some data are not stored. Discard?":`Alguns dados não são armazenados. Descartar?`,ra_States:`Estados`,ra_Sunday:`Domingo`,"ra_Suppress question for next %s minutes":`Suprimir pergunta nos próximos %s minutos`,"ra_System language":`Idioma do sistema`,'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':`Os especialistas podem criar objetos em qualquer lugar, exceto no segundo nível (por exemplo, "vis.0" ou "javascript.0").`,"ra_The page you are looking for was not found":`A página que você está procurando não foi encontrada`,"ra_The schedule will be executed every minute. Are you sure?":`O agendamento será executado a cada minuto. Tem certeza?`,"ra_The schedule will be executed every second. Are you sure?":`O agendamento será executado a cada segundo. Tem certeza?`,ra_Thursday:`Quinta-feira`,ra_Timestamp:`Timestamp`,"ra_Toggle expert mode":`Alternar modo especialista`,"ra_Toggle the states view":`Alternar a visualização dos estados`,"ra_Toggle view mode":`Alternar modo de visualização`,"ra_Too big":`Muito grande`,"ra_Too small":`Muito pequeno`,"ra_Transparent dialog":`Diálogo transparente`,ra_Tuesday:`Terça-feira`,"ra_Unknown error":`Erro desconhecido`,"ra_Unknown error!":`Erro desconhecido!`,ra_Update:`Atualizar`,"ra_Upload file":`Subir arquivo`,"ra_Use iobroker.acme adapter for letsencrypt certificates":`Use o adaptador iobroker.acme para certificados letsencrypt`,"ra_User files":`Arquivos do usuário`,ra_Value:`Valor`,ra_Version:`Versão`,"ra_View file":`Visualizar arquivo`,"ra_View: %s":`Visualizar: %s`,ra_Wednesday:`Quarta-feira`,ra_Width:`Largura`,ra_Yes:`Sim`,"ra_You can export all objects or just the selected branch.":`Você pode exportar todos os objetos ou apenas a ramificação selecionada.`,"ra_You can use * as wildcard":`Você pode usar * como curinga`,ra___different__:`diferente`,ra_aclEveryone_read_object:`Todos podem ler objetos`,ra_aclEveryone_read_state:`Todos podem ler o estado`,ra_aclEveryone_write_object:`Todos podem escrever objetos`,ra_aclEveryone_write_state:`Todos podem escrever o estado`,ra_aclGroup_read_object:`O grupo pode ler o objeto`,ra_aclGroup_read_state:`O grupo pode ler o estado`,ra_aclGroup_write_object:`O grupo pode escrever o objeto`,ra_aclGroup_write_state:`O grupo pode escrever o estado`,ra_aclOwner_read_object:`O proprietário pode ler o objeto`,ra_aclOwner_read_state:`O proprietário pode ler o estado`,ra_aclOwner_write_object:`O proprietário pode escrever o objeto`,ra_aclOwner_write_state:`O proprietário pode escrever o estado`,ra_buttons:`Botões`,ra_changedFrom:`Mudou de`,ra_close:`fechar`,ra_create_boolean_state:`Criar estado booleano`,ra_create_channel:`Criar canal`,ra_create_device:`Criar dispositivo`,ra_create_number_state:`Criar estado numérico`,ra_create_state:`Criar estado`,ra_create_string_state:`Criar estado de string`,ra_daysShortText:`d.`,ra_dow_Fr:`Fr`,ra_dow_Mo:`Mo`,ra_dow_Sa:`Sa`,ra_dow_Su:`Su`,ra_dow_Th:`º`,ra_dow_Tu:`Tu`,ra_dow_We:`Nós`,ra_expertMode:`Modo especialista`,ra_false:`FALSO`,ra_fileType_all:`Todos os arquivos`,ra_fileType_audio:`áudio`,ra_fileType_code:`Código/JSON`,ra_fileType_images:`Imagens`,ra_fileType_txt:`Texto`,ra_fileType_video:`Vídeo`,"ra_fileType_video,":`Vídeo`,ra_filter_customs:`Configurações`,ra_filter_customs_without:`sem`,ra_filter_func:`Função`,ra_filter_id:`ID`,ra_filter_name:`Nome`,ra_filter_role:`Papel (Função)`,ra_filter_room:`Quarto`,ra_filter_type:`Tipo`,"ra_import data from %s file":`Importar dados do arquivo %s`,ra_invalidConfig:`Configurações inválidas`,ra_lastChange:`Última mudança`,ra_locally:`localmente`,ra_month_Apr:`abril`,ra_month_Aug:`agosto`,ra_month_Dec:`dezembro`,ra_month_Feb:`fevereiro`,ra_month_Jan:`janeiro`,ra_month_Jul:`julho`,ra_month_Jun:`junho`,ra_month_Mai:`Mai`,ra_month_Mar:`março`,ra_month_Nov:`novembro`,ra_month_Oct:`outubro`,ra_month_Sep:`setembro`,ra_months_Apr:`abril`,ra_months_Aug:`agosto`,ra_months_Dec:`dezembro`,ra_months_Feb:`fevereiro`,ra_months_Jan:`janeiro`,ra_months_Jul:`julho`,ra_months_Jun:`junho`,ra_months_Mai:`Mai`,ra_months_Mar:`março`,ra_months_Nov:`novembro`,ra_months_Oct:`outubro`,ra_months_Sep:`setembro`,"ra_no confirm for 5 mins":`sem confirmação por 5 minutos`,ra_none:`Nenhum`,ra_now:`agora`,ra_object_changed_by:`Objeto alterado por`,ra_object_changed_by_user:`Objeto alterado pela última vez em`,ra_otherConfig:`Configurações de outro adaptador %s`,ra_qualityCode:`Código de qualidade`,ra_repeat:`repetir`,ra_select_folder_hint:`Para selecionar a pasta, basta segurar a tecla "shift" clicando na pasta.`,ra_show_all:`Mostrar tudo`,ra_state_changed_by:`Estado alterado por`,ra_state_changed_from:`Objeto alterado de`,ra_timestamp:`Timestamp`,ra_tooltip_ack:`Confirmado`,ra_tooltip_comment:`Comente`,ra_tooltip_copyState:`Copie o valor do estado`,ra_tooltip_ctrlForLink:`Segure a tecla Ctrl/⌘ para abrir o link`,ra_tooltip_customConfig:`Opções customizadas`,ra_tooltip_deleteObject:`Excluir objeto`,ra_tooltip_editObject:`Editar objeto`,ra_tooltip_editState:`Edite o valor do estado`,ra_tooltip_expire:`Expira em`,ra_tooltip_from:`De`,ra_tooltip_lc:`Última alteração`,ra_tooltip_quality:`Qualidade`,ra_tooltip_ts:`Timestamp`,ra_tooltip_user:`Usuário`,ra_tooltip_value:`Valor`,ra_true:`verdadeiro`,"ra_use seconds":`use segundos`,ra_val:`Valor`,"ra_via internet":`via internet`,ra_warning_every_minute:`Aviso: O trabalho CRON será executado a cada minuto durante o período especificado!`,ra_warning_every_second:`Aviso: O trabalho CRON será executado a cada segundo durante o período especificado!`,sc_cron:`CRON`,sc_date:`Data`,sc_dates:`Dias`,sc_dow:`Dia`,sc_dows:`Dia da semana`,sc_every:`todos`,sc_everyN_dates:`a cada N dias`,sc_everyN_dow:`todo enésimo dia da semana`,sc_everyN_dows:`todos os N dias da semana`,sc_everyN_hours:`a cada N horas`,sc_everyN_minutes:`a cada N minutos`,sc_everyN_months:`a cada N meses`,sc_everyN_seconds:`a cada N segundos`,sc_every_dates:`todo dia`,sc_every_dow:`todos os dias da semana`,sc_every_dows:`todos os dias da semana`,sc_every_hours:`toda hora`,sc_every_minutes:`todo minuto`,sc_every_months:`todo mês`,sc_every_seconds:`todo segundo`,sc_from:`de`,sc_hours:`horas`,sc_interval:`intervalo`,sc_intervalBetween:`intervalo entre`,sc_invalid_cron:`CRON inválido`,sc_minutes:`minutos`,sc_months:`meses`,sc_once:`uma vez`,sc_period:`período`,sc_seconds:`segundos`,sc_simple:`simples`,sc_specific:`tempo específico`,sc_specific_dates:`datas específicas`,sc_specific_dow:`dia(s) específico(s) da semana`,sc_specific_dows:`dia específico de semanas`,sc_specific_hours:`horas específicas`,sc_specific_minutes:`minutos específicos`,sc_specific_months:`meses específicos`,sc_specific_seconds:`segundos específicos`,sc_time:`tempo`,sc_to:`para`,sc_wizard:`assistente`,sch_all:`tudo`,sch_astroDay:`dia astral`,sch_astroNight:`noite astral`,sch_astro_dawn:`amanhecer`,sch_astro_dusk:`anoitecer`,sch_astro_goldenHour:`hora dourada`,sch_astro_goldenHourEnd:`Fim da hora dourada`,sch_astro_nadir:`nadir`,sch_astro_nauticalDawn:`Amanhecer náutico`,sch_astro_nauticalDusk:`Anoitecer náutico`,sch_astro_night:`noite`,sch_astro_nightEnd:`fim da noite`,sch_astro_solarNoon:`meio-dia solar`,sch_astro_sunrise:`nascer do sol`,sch_astro_sunriseEnd:`fim do nascer do sol`,sch_astro_sunset:`pôr do sol`,sch_astro_sunsetStart:`início do pôr do sol`,sch_at:`às`,sch_desc_atTime:`em %s`,sch_desc_everyDay:`todo dia`,sch_desc_everyHour:`toda hora`,sch_desc_everyMinute:`todo minuto`,sch_desc_everyMonth:`todo mês`,sch_desc_everyNDay:`a cada %s dias`,sch_desc_everyNHours:`a cada %s horas`,sch_desc_everyNMinutes:`a cada %s minutos`,sch_desc_everyNMonths:`a cada %s meses`,sch_desc_everyNWeeks:`a cada %s semanas`,sch_desc_everyNYears:`a cada %s anos`,sch_desc_everyWeek:`toda semana`,sch_desc_everyYear:`todo ano`,sch_desc_intervalFromTo:`de %s para %s`,sch_desc_never:`nunca`,sch_desc_onDate:`em %s de %s`,sch_desc_onDates:`em %s e %s de`,sch_desc_onEveryDate:`em toda data de`,sch_desc_onMonth:`%s`,sch_desc_onMonths:`%s e %s`,sch_desc_onWeekday:`em %s`,sch_desc_onWeekdays:`em %s e %s`,sch_desc_onWeekends:`nos fins de semana`,sch_desc_onWorkdays:`em dias úteis`,sch_desc_onceInPast:`não será mais executado, porque o começo está no passado`,sch_desc_once_on:`em %s`,sch_desc_validFrom:`de %s`,sch_desc_validFromTo:`Executar de até`,sch_desc_validTo:`até %s`,sch_every:`cada`,sch_exactTime:`tempo específico`,sch_from:`de`,sch_fromTo:`de a´t`,sch_intervalTime:`tempo de intervalo`,sch_invert:`invertido`,sch_no_one:`nenhum`,sch_on:`em`,sch_period:`período`,sch_periodDaily:`diariamente`,sch_periodDates:`datas`,sch_periodDay:`dia`,sch_periodEvery:`todos`,sch_periodEveryDay:`todo dia`,sch_periodEveryMonth:`todo mês`,sch_periodEveryWeek:`toda semana`,sch_periodEveryYear:`todo ano`,sch_periodHours:`horas`,sch_periodMinutes:`minutos`,sch_periodMonth:`mês`,sch_periodMonthly:`por mês`,sch_periodOnce:`uma vez`,sch_periodSpecificMonths:`meses específicos`,sch_periodWeek:`semana`,sch_periodWeekdays:`dias úteis`,sch_periodWeekend:`final de semana`,sch_periodWeekly:`semanal`,sch_periodWorkdays:`dias úteis`,sch_periodYear:`ano`,sch_periodYearly:`anual`,sch_specificTime:`tempo específico`,sch_time:`tempo`,sch_to:`para`,sch_valid:`válido`,sch_validFrom:`de`,sch_validTo:`para`,sch_wholeDay:`dia inteiro`,sch_yearEveryMonth:`todo mês`},nl:{"ra_%s links from aliases":`%s links van aliassen`,"ra_%s object(s) processed":`%s object(en) verwerkt`,"ra_%s was imported":`%s is geïmporteerd`,ra_Actions:`Acties`,ra_Add:`Toevoegen`,"ra_Add new child object to selected parent":`Voeg een nieuw kindobject toe aan het geselecteerde bovenliggende object`,"ra_Add objects tree from JSON file":`Objectenboom toevoegen vanuit JSON-bestand`,"ra_Advanced options":`Geavanceerde mogelijkheden`,"ra_All objects":`Alle objecten`,ra_April:`April`,"ra_Are you sure?":`Weet je het zeker?`,ra_August:`Augustus`,"ra_Auto (no custom columns)":`Auto (geen aangepaste kolommen)`,"ra_Back to %s":`Terug naar %s`,"ra_Background image":`Achtergrond afbeelding`,ra_Cancel:`Annuleer`,'ra_Cannot find "%s"':`Kan "%s" niet vinden`,'ra_Cannot read "%s"':`Kan "%s" niet lezen`,"ra_Cannot update attribute, because not found in the object":`Kan kenmerk niet bijwerken, omdat het niet in het object is gevonden`,"ra_Cannot upload":`Kan niet uploaden`,ra_Categories:`Categorieën`,"ra_Change color theme":`Kleurthema wijzigen`,"ra_Changed from":`Veranderd van`,"ra_Channel → State":`Kanaal → Staat`,"ra_Check license":`Licentie controleren`,ra_Checked:`Gecontroleerd`,ra_Clear:`Verwijderen`,"ra_Clear color":`Kleur wissen`,"ra_Clear filter":`Filter wissen`,"ra_Clear icon":`Pictogram wissen`,ra_Close:`Dichtbij`,ra_Collapse:`Inklappen`,"ra_Collapse all nodes":`Vouw alle knooppunten samen`,"ra_Collapse one step node":`Eén niveau samenvouwen`,ra_Configure:`Configureren`,"ra_Configure visible columns":`Configureer zichtbare kolommen`,"ra_Confirm deletion of %s":`Bevestig het verwijderen van %s`,ra_Connected:`Verbonden`,ra_Continue:`Doorgaan`,ra_Copied:`Gekopieerd`,"ra_Copied %s":`"%s" gekopieerd`,ra_Create:`Creëer`,"ra_Create alias":`Alias maken`,"ra_Create folder":`Map aanmaken`,"ra_Create new folder in %s":`Maak een nieuwe map in %s`,ra_Crop:`Bijsnijden`,ra_December:`December`,"ra_Define CRON...":`Definieer CRON...`,"ra_Define functions":`Definieer functies`,"ra_Define rooms":`Definieer kamers`,"ra_Define schedule":`Definieer schema`,"ra_Define schedule...":`Schema definiëren ...`,ra_Del:`Delete`,ra_Delete:`Verwijderen`,"ra_Deselect all":`Deselecteer alles`,"ra_Device → Channel → State":`Apparaat → Kanaal → Staat`,"ra_Disable/Enable translation":`Vertaling uitschakelen/inschakelen`,ra_Discard:`Weggooien`,ra_Disconnected:`Verbinding verbroken`,"ra_Do not ask for next 2 hours in this session":`Vraag niet om de volgende 2 uur in deze sessie`,"ra_Do not export values of states":`Exporteer geen waarden van staten`,"ra_Double click to reset table layout":`Dubbelklik om de tafelindeling te resetten`,"ra_Drag 'n' drop some files here, or click to select files":`Sleep enkele bestanden hierheen, of klik om bestanden te selecteren`,"ra_Drop file here":`Zet het bestand hier neer`,"ra_Drop the files here...":`Zet het bestand hier neer...`,"ra_Duplicate name":`Dubbele naam`,ra_Edit:`Bewerken`,"ra_Edit ACL":`ACL bewerken`,"ra_Edit alias":`Alias bewerken`,"ra_Edit custom config":`Bewerk aangepaste config`,"ra_Edit full path":`Volledig pad bewerken`,"ra_Edit function":`Bewerkingsfunctie`,"ra_Edit object field":`Bewerk objectveld`,"ra_Edit role":`Rol bewerken`,"ra_Edit room":`Kamer bewerken`,"ra_Edit value":`Waarde bewerken`,ra_Error:`Fout`,ra_Expand:`Uitklappen`,"ra_Expand all nodes":`Vouw alle knooppunten uit`,"ra_Expand one step node":`Vouw een niveau uit`,"ra_Failed to open JSON File":`JSON-bestand kan niet worden geopend`,ra_February:`Februari`,"ra_File is too big. Max %sk allowed. Try use SVG.":`Bestand is te groot. Max. %sk toegestaan. Probeer SVG te gebruiken.`,ra_Filter:`Filter`,"ra_Filter files":`Bestanden filteren`,"ra_Folder name":`Naam van de map`,"ra_Folder → Channel → State":`Map → Kanaal → Staat`,"ra_Folder → Device → Channel → State":`Map → Apparaat → Kanaal → Staat`,"ra_Folder → State":`Map → Staat`,"ra_Folders always first":`Mappen altijd eerst`,ra_Friday:`Vrijdag`,"ra_From file":`Van bestand`,"ra_From text":`Van tekst`,"ra_Good luck":`Veel geluk`,"ra_Hide empty folders":`Verberg lege mappen`,"ra_If no file will be created in the folder, it will disappear after the browser closed":`Als er geen bestand in de map wordt gemaakt, verdwijnt het nadat de browser is gesloten`,"ra_Instance is not alive":`Instantie leeft niet`,"ra_Invalid CRON":`Ongeldige CRON`,"ra_Invalid JSON":`Ongeldige JSON`,"ra_Invalid JSON file.":`Ongeldig JSON-bestand.`,"ra_Invalid JSON format. Expected an array.":`Ongeldige JSON-indeling. Er werd een array verwacht.`,"ra_Invalid answer from server":`Ongeldig antwoord van de server`,"ra_Invalid parent folder!":`Ongeldige bovenliggende map!`,"ra_Invalid structure":`Ongeldige structuur`,ra_January:`Januari`,ra_July:`Juli`,ra_June:`Juni`,"ra_Last change":`Laatste wijziging`,ra_Latitude:`Breedtegraad`,"ra_License is for version %s, but required version is %s.":`Licentie is voor versie %s, maar vereiste versie is %s.`,"ra_Listen on all IPs":`Luister op alle IP's`,"ra_Load configuration from file":`Laad configuratie uit bestand`,ra_Logout:`Uitloggen`,ra_Longitude:`Lengtegraad`,ra_March:`Maart`,ra_May:`Mei`,'ra_May not trigger "updateLicenses"':`Activeert mogelijk niet "updateLicenses"`,ra_Message:`Bericht`,ra_Monday:`Maandag`,"ra_Move down":`Naar beneden verplaatsen`,"ra_Move up":`Omhoog gaan`,ra_Name:`Naam`,"ra_No data":`Geen gegevens`,"ra_No data found in file":`Geen gegevens gevonden in bestand`,"ra_No response from admin":`Geen reactie van de beheerder`,"ra_No response from the backend":`Geen reactie van de backend`,'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':`Niet-experts mogen alleen nieuwe objecten maken in "0_userdata.0" of "alias.0".`,"ra_Not a number":`Geen nummer`,ra_November:`November`,ra_Objects:`Voorwerpen`,ra_October:`Oktober`,ra_Ok:`OK`,"ra_On weekdays":`Op weekdagen`,"ra_Only following structures of objects are available:":`Alleen de volgende structuren van objecten zijn beschikbaar:`,"ra_Only selected":`Alleen geselecteerd`,"ra_Owner group":`Eigenaarsgroep`,"ra_Owner user":`Eigenaar gebruiker`,ra_Palette:`Palet`,"ra_Pick color from screen":`Kleur van het scherm kiezen`,"ra_Place your files here or click here to open the browse dialog":`Plaats uw bestanden hier of klik hier om het bladervenster te openen`,"ra_Please confirm":`Bevestig alstublieft`,"ra_Please select file...":`Selecteer bestand...`,"ra_Please select object ID...":`Selecteer object-ID ...`,ra_Product:`Product`,"ra_Quality code":`Kwaliteit`,"ra_Recently used colors":`Recent gebruikt`,"ra_Refresh tree":`Vernieuw de boom`,"ra_Reload files":`Laad bestanden opnieuw`,ra_Rename_Move_Copy:`Hernoemen/Verplaatsen/Kopiëren`,ra_Repeat:`Herhaling`,ra_Replace:`Vervangen`,"ra_Request timed out":`Verzoek verlopen`,"ra_Restrict to folder":`Beperken tot map`,ra_Root:`Wortel`,ra_Saturday:`Zaterdag`,ra_Save:`Sparen`,"ra_Save and close":`Opslaan en afsluiten`,"ra_Save configuration to file":`Sla de configuratie op in een bestand`,"ra_Save objects tree as JSON file":`Sla de objectenboom op als JSON-bestand`,"ra_Select all":`Selecteer alles`,"ra_Select color":`Selecteer kleur`,"ra_Select predefined icon":`Selecteer voorgedefinieerd pictogram`,"ra_Select type of export":`Selecteer het type export`,ra_Selected:`Geselecteerd`,"ra_Selected %s object(s)":`Geselecteerde %s object(en)`,ra_September:`September`,"ra_Session will expire in %s seconds. Continue?":`Sessie verloopt over %s seconden. Doorgaan?`,"ra_Show all folders":`Toon alle mappen`,"ra_Show lines between rows":`Toon lijnen tussen rijen`,"ra_Show/Hide object descriptions":`Toon/verberg objectbeschrijvingen`,"ra_Some data are not stored. Discard?":`Sommige gegevens worden niet opgeslagen. Weggooien?`,ra_States:`Staten`,ra_Sunday:`Zondag`,"ra_Suppress question for next %s minutes":`Vraag de volgende %s minuten onderdrukken`,"ra_System language":`Systeemtaal`,'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':`De experts kunnen overal objecten maken, behalve vanaf het tweede niveau (bijv. "Vis.0" of "javascript.0").`,"ra_The page you are looking for was not found":`De pagina die u zoekt is niet gevonden`,"ra_The schedule will be executed every minute. Are you sure?":`Het schema wordt elke minuut uitgevoerd. Weet u het zeker?`,"ra_The schedule will be executed every second. Are you sure?":`Het schema wordt elke seconde uitgevoerd. Weet je het zeker?`,ra_Thursday:`Donderdag`,ra_Timestamp:`Tijdstempel`,"ra_Toggle expert mode":`Schakel tussen expertmodus`,"ra_Toggle the states view":`Schakel de statusweergave in of uit`,"ra_Toggle view mode":`Schakelen tussen weergavemodus`,"ra_Too big":`Te groot`,"ra_Too small":`Te klein`,"ra_Transparent dialog":`Transparant dialoogvenster`,ra_Tuesday:`Dinsdag`,"ra_Unknown error":`Onbekende fout`,"ra_Unknown error!":`Onbekende fout!`,ra_Update:`Bijwerken`,"ra_Upload file":`Upload bestand`,"ra_Use iobroker.acme adapter for letsencrypt certificates":`Gebruik de iobroker.acme-adapter voor letsencrypt-certificaten`,"ra_User files":`Gebruikersbestanden`,ra_Value:`Waarde`,ra_Version:`Versie`,"ra_View file":`Bestand bekijken`,"ra_View: %s":`Bekijk: %s`,ra_Wednesday:`Woensdag`,ra_Width:`Breedte`,ra_Yes:`Ja`,"ra_You can export all objects or just the selected branch.":`U kunt alle objecten of alleen de geselecteerde tak exporteren.`,"ra_You can use * as wildcard":`U kunt * als joker gebruiken`,ra___different__:`verschillend`,ra_aclEveryone_read_object:`Iedereen kan object lezen`,ra_aclEveryone_read_state:`Iedereen kan staat lezen`,ra_aclEveryone_write_object:`Iedereen kan object schrijven`,ra_aclEveryone_write_state:`Iedereen kan staat schrijven`,ra_aclGroup_read_object:`Groep kan object lezen`,ra_aclGroup_read_state:`Groep kan status lezen`,ra_aclGroup_write_object:`Groep kan object schrijven`,ra_aclGroup_write_state:`Groep kan staat schrijven`,ra_aclOwner_read_object:`Eigenaar kan object lezen`,ra_aclOwner_read_state:`Eigenaar kan staat lezen`,ra_aclOwner_write_object:`Eigenaar kan object schrijven`,ra_aclOwner_write_state:`Eigenaar kan staat schrijven`,ra_buttons:`Toetsen`,ra_changedFrom:`Veranderd van`,ra_close:`dichtbij`,ra_create_boolean_state:`Creëer een Booleaanse status`,ra_create_channel:`Kanaal maken`,ra_create_device:`Apparaat maken`,ra_create_number_state:`Nummerstatus maken`,ra_create_state:`Staat creëren`,ra_create_string_state:`Tekenreeksstatus maken`,ra_daysShortText:`d.`,ra_dow_Fr:`Fr`,ra_dow_Mo:`Mo`,ra_dow_Sa:`Za`,ra_dow_Su:`Zo`,ra_dow_Th:`Th`,ra_dow_Tu:`Tu`,ra_dow_We:`Wij`,ra_expertMode:`Expert modus`,ra_false:`ONWAAR`,ra_fileType_all:`Alle bestanden`,ra_fileType_audio:`Audio`,ra_fileType_code:`Code/JSON`,ra_fileType_images:`Afbeeldingen`,ra_fileType_txt:`Tekst`,ra_fileType_video:`Video`,"ra_fileType_video,":`Video`,ra_filter_customs:`Instellingen`,ra_filter_customs_without:`zonder`,ra_filter_func:`Functie`,ra_filter_id:`ID`,ra_filter_name:`Naam`,ra_filter_role:`Rol`,ra_filter_room:`Kamer`,ra_filter_type:`Type`,"ra_import data from %s file":`Importeer gegevens uit %s bestand`,ra_invalidConfig:`Ongeldige instellingen`,ra_lastChange:`Laatste wijziging`,ra_locally:`plaatselijk`,ra_month_Apr:`april`,ra_month_Aug:`aug`,ra_month_Dec:`dec`,ra_month_Feb:`februari`,ra_month_Jan:`jan`,ra_month_Jul:`jul`,ra_month_Jun:`juni`,ra_month_Mai:`Mei`,ra_month_Mar:`mrt`,ra_month_Nov:`nov`,ra_month_Oct:`Okt`,ra_month_Sep:`sept`,ra_months_Apr:`april`,ra_months_Aug:`aug`,ra_months_Dec:`dec`,ra_months_Feb:`februari`,ra_months_Jan:`jan`,ra_months_Jul:`jul`,ra_months_Jun:`juni`,ra_months_Mai:`Mei`,ra_months_Mar:`mrt`,ra_months_Nov:`nov`,ra_months_Oct:`Okt`,ra_months_Sep:`sept`,"ra_no confirm for 5 mins":`geen bevestiging gedurende 5 minuten`,ra_none:`geen`,ra_now:`nu`,ra_object_changed_by:`Object veranderd door`,ra_object_changed_by_user:`Object voor het laatst gewijzigd om`,ra_otherConfig:`Instellingen van andere adapter %s`,ra_qualityCode:`Kwaliteitscode`,ra_repeat:`herhalen`,ra_select_folder_hint:`Om een map te selecteren, houdt u gewoon de toets "shift" ingedrukt door op de map te klikken.`,ra_show_all:`Alles weergeven`,ra_state_changed_by:`Staat veranderd door`,ra_state_changed_from:`Object veranderd van`,ra_timestamp:`Tijdstempel`,ra_tooltip_ack:`Erkende vlag`,ra_tooltip_comment:`Opmerking`,ra_tooltip_copyState:`Kopieer de statuswaarde`,ra_tooltip_ctrlForLink:`Houd de Cltr/⌘-toets ingedrukt om de link te openen`,ra_tooltip_customConfig:`Aangepaste instellingen`,ra_tooltip_deleteObject:`Object verwijderen`,ra_tooltip_editObject:`Object bewerken`,ra_tooltip_editState:`Bewerk de statuswaarde`,ra_tooltip_expire:`Verloopt over`,ra_tooltip_from:`Van`,ra_tooltip_lc:`Laatst gewijzigd`,ra_tooltip_quality:`Kwaliteit`,ra_tooltip_ts:`Tijdstempel`,ra_tooltip_user:`Gebruiker`,ra_tooltip_value:`Waarde`,ra_true:`WAAR`,"ra_use seconds":`gebruik seconden`,ra_val:`Waarde`,"ra_via internet":`via internet`,ra_warning_every_minute:`Waarschuwing: De CRON-taak wordt elke minuut uitgevoerd gedurende de opgegeven periode!`,ra_warning_every_second:`Waarschuwing: De CRON-taak wordt elke seconde uitgevoerd gedurende de opgegeven periode!`,sc_cron:`CRON`,sc_date:`Datum`,sc_dates:`data`,sc_dow:`Dag`,sc_dows:`Dag van de week`,sc_every:`elk`,sc_everyN_dates:`elke N dagen`,sc_everyN_dow:`elke N-de dag van de week`,sc_everyN_dows:`elke N dag van de week`,sc_everyN_hours:`elke N uur`,sc_everyN_minutes:`elke N minuten`,sc_everyN_months:`elke N maanden`,sc_everyN_seconds:`elke N seconden`,sc_every_dates:`elke dag`,sc_every_dow:`elke dag van de week`,sc_every_dows:`elke dag van de week`,sc_every_hours:`elk uur`,sc_every_minutes:`elke minuut`,sc_every_months:`elke maand`,sc_every_seconds:`elke seconde`,sc_from:`Van`,sc_hours:`uren`,sc_interval:`Interval`,sc_intervalBetween:`Interval tussen`,sc_invalid_cron:`Ongeldige CRON`,sc_minutes:`Notulen`,sc_months:`maanden`,sc_once:`Een keer`,sc_period:`Periode`,sc_seconds:`seconden`,sc_simple:`Gemakkelijk`,sc_specific:`Specifieke tijd`,sc_specific_dates:`specifieke data`,sc_specific_dow:`specifieke dag(en) van de week`,sc_specific_dows:`specifieke dag van weken`,sc_specific_hours:`specifieke uren`,sc_specific_minutes:`specifieke minuten`,sc_specific_months:`specifieke maanden`,sc_specific_seconds:`specifieke seconden`,sc_time:`Tijd`,sc_to:`Naar`,sc_wizard:`tovenaar`,sch_all:`allemaal`,sch_astroDay:`Astro-dag`,sch_astroNight:`Astro-nacht`,sch_astro_dawn:`Dageraad`,sch_astro_dusk:`Schemer`,sch_astro_goldenHour:`gouden uur`,sch_astro_goldenHourEnd:`Gouden uur einde`,sch_astro_nadir:`Nadir`,sch_astro_nauticalDawn:`Nautische dageraad`,sch_astro_nauticalDusk:`Nautische schemering`,sch_astro_night:`Nacht`,sch_astro_nightEnd:`Nacht einde`,sch_astro_solarNoon:`Zonne middag`,sch_astro_sunrise:`zonsopkomst`,sch_astro_sunriseEnd:`Sunrise einde`,sch_astro_sunset:`Zonsondergang`,sch_astro_sunsetStart:`Zonsondergang start`,sch_at:`Bij`,sch_desc_atTime:`op %s`,sch_desc_everyDay:`elke dag`,sch_desc_everyHour:`elk uur`,sch_desc_everyMinute:`elke minuut`,sch_desc_everyMonth:`elke maand`,sch_desc_everyNDay:`elke %s dag`,sch_desc_everyNHours:`elke %s uur`,sch_desc_everyNMinutes:`elke %s minuten`,sch_desc_everyNMonths:`elke %s maanden`,sch_desc_everyNWeeks:`elke %s weken`,sch_desc_everyNYears:`elke %s jaar`,sch_desc_everyWeek:`elke week`,sch_desc_everyYear:`elk jaar`,sch_desc_intervalFromTo:`van %s tot %s`,sch_desc_never:`nooit`,sch_desc_onDate:`op %s van %s`,sch_desc_onDates:`op %s en %s van`,sch_desc_onEveryDate:`op elke datum van`,sch_desc_onMonth:`%s`,sch_desc_onMonths:`%s en %s`,sch_desc_onWeekday:`op %s`,sch_desc_onWeekdays:`op %s en %s`,sch_desc_onWeekends:`in het weekend`,sch_desc_onWorkdays:`op werkdagen`,sch_desc_onceInPast:`zal niet meer worden uitgevoerd, omdat start verleden tijd is`,sch_desc_once_on:`op %s`,sch_desc_validFrom:`van %s`,sch_desc_validFromTo:`Uitvoeren van tot`,sch_desc_validTo:`tot %s`,sch_every:`elk`,sch_exactTime:`Specifieke tijd`,sch_from:`van`,sch_fromTo:`Van naar`,sch_intervalTime:`Interval tijd`,sch_invert:`omkeren`,sch_no_one:`geen`,sch_on:`Aan`,sch_period:`Periode`,sch_periodDaily:`Dagelijks`,sch_periodDates:`data`,sch_periodDay:`Dag`,sch_periodEvery:`elk`,sch_periodEveryDay:`Elke dag`,sch_periodEveryMonth:`Elke maand`,sch_periodEveryWeek:`Elke week`,sch_periodEveryYear:`Elk jaar`,sch_periodHours:`uren`,sch_periodMinutes:`Notulen`,sch_periodMonth:`maand`,sch_periodMonthly:`Maandelijks`,sch_periodOnce:`Een keer`,sch_periodSpecificMonths:`Specifieke maanden`,sch_periodWeek:`Week`,sch_periodWeekdays:`Doordeweekse dagen`,sch_periodWeekend:`Weekend`,sch_periodWeekly:`Wekelijks`,sch_periodWorkdays:`werkdagen`,sch_periodYear:`Jaar`,sch_periodYearly:`jaar-`,sch_specificTime:`Specifieke tijd`,sch_time:`Tijd`,sch_to:`naar`,sch_valid:`Geldig`,sch_validFrom:`van`,sch_validTo:`naar`,sch_wholeDay:`Hele dag`,sch_yearEveryMonth:`elke maand`},fr:{"ra_%s links from aliases":`%s liens provenant d'alias`,"ra_%s object(s) processed":`%s objet(s) traité(s)`,"ra_%s was imported":`%s a été importé`,ra_Actions:`Actes`,ra_Add:`Ajouter`,"ra_Add new child object to selected parent":`Ajouter un nouvel objet enfant au parent sélectionné`,"ra_Add objects tree from JSON file":`Ajouter une arborescence d'objets à partir d'un fichier JSON`,"ra_Advanced options":`Options avancées`,"ra_All objects":`Tous les objets`,ra_April:`Avril`,"ra_Are you sure?":`Êtes-vous sûr?`,ra_August:`Août`,"ra_Auto (no custom columns)":`Auto (pas de colonnes personnalisées)`,"ra_Back to %s":`Retour à %s`,"ra_Background image":`Image de fond`,ra_Cancel:`Annuler`,'ra_Cannot find "%s"':`Impossible de trouver "%s"`,'ra_Cannot read "%s"':`Impossible de lire "%s"`,"ra_Cannot update attribute, because not found in the object":`Impossible de mettre à jour l'attribut, car il est introuvable dans l'objet`,"ra_Cannot upload":`Impossible de télécharger`,ra_Categories:`Catégories`,"ra_Change color theme":`Changer le thème de couleur`,"ra_Changed from":`Changé de`,"ra_Channel → State":`Canal → État`,"ra_Check license":`Vérifier la licence`,ra_Checked:`Vérifié`,ra_Clear:`Effacer`,"ra_Clear color":`Effacer la couleur`,"ra_Clear filter":`Effacer le filtre`,"ra_Clear icon":`Effacer l'icône`,ra_Close:`Fermer`,ra_Collapse:`Réduire`,"ra_Collapse all nodes":`Réduire tous les nœuds`,"ra_Collapse one step node":`Réduire d'un niveau`,ra_Configure:`Configurer`,"ra_Configure visible columns":`Configurer les colonnes visibles`,"ra_Confirm deletion of %s":`Confirmer la suppression de %s`,ra_Connected:`Lié`,ra_Continue:`Continuer`,ra_Copied:`Copié`,"ra_Copied %s":`"%s" copié`,ra_Create:`Créer`,"ra_Create alias":`Créer un alias`,"ra_Create folder":`Créer le dossier`,"ra_Create new folder in %s":`Créer un nouveau dossier dans %s`,ra_Crop:`Recadrer`,ra_December:`Décembre`,"ra_Define CRON...":`Définir CRON...`,"ra_Define functions":`Définir des fonctions`,"ra_Define rooms":`Définir des pièces`,"ra_Define schedule":`Définir le calendrier`,"ra_Define schedule...":`Définir le calendrier ...`,ra_Del:`Delete`,ra_Delete:`Supprimer`,"ra_Deselect all":`Tout déselectionner`,"ra_Device → Channel → State":`Appareil → Canal → État`,"ra_Disable/Enable translation":`Activer/Désactiver la traduction`,ra_Discard:`Jeter`,ra_Disconnected:`Débranché`,"ra_Do not ask for next 2 hours in this session":`Ne demandez pas les 2 prochaines heures de cette session`,"ra_Do not export values of states":`Ne pas exporter les valeurs des états`,"ra_Double click to reset table layout":`Double-cliquez pour réinitialiser la disposition du tableau`,"ra_Drag 'n' drop some files here, or click to select files":`Glissez-déposez des fichiers ici, ou cliquez pour sélectionner des fichiers`,"ra_Drop file here":`Déposer le fichier ici`,"ra_Drop the files here...":`Déposez le fichier ici...`,"ra_Duplicate name":`Nom en double`,ra_Edit:`Modifier`,"ra_Edit ACL":`Modifier la LCA`,"ra_Edit alias":`Modifier l'alias`,"ra_Edit custom config":`Modifier la configuration personnalisée`,"ra_Edit full path":`Modifier le chemin complet`,"ra_Edit function":`Fonction d'édition`,"ra_Edit object field":`Modifier le champ d'objet`,"ra_Edit role":`Modifier le rôle`,"ra_Edit room":`Modifier la salle`,"ra_Edit value":`Modifier la valeur`,ra_Error:`Erreur`,ra_Expand:`Développer`,"ra_Expand all nodes":`Développer tous les nœuds`,"ra_Expand one step node":`Développer un niveau`,"ra_Failed to open JSON File":`Échec de l'ouverture du fichier JSON`,ra_February:`Février`,"ra_File is too big. Max %sk allowed. Try use SVG.":`Le fichier est trop volumineux. Max %sk autorisé. Essayez d'utiliser SVG.`,ra_Filter:`Filtre`,"ra_Filter files":`Filtrer les fichiers`,"ra_Folder name":`Nom de dossier`,"ra_Folder → Channel → State":`Dossier → Chaîne → État`,"ra_Folder → Device → Channel → State":`Dossier → Appareil → Canal → État`,"ra_Folder → State":`Dossier → État`,"ra_Folders always first":`Les dossiers toujours en premier`,ra_Friday:`Vendredi`,"ra_From file":`À partir du fichier`,"ra_From text":`À partir du texte`,"ra_Good luck":`Bonne chance`,"ra_Hide empty folders":`Masquer les dossiers vides`,"ra_If no file will be created in the folder, it will disappear after the browser closed":`Si aucun fichier ne sera créé dans le dossier, il disparaîtra après la fermeture du navigateur`,"ra_Instance is not alive":`L'instance n'est pas active`,"ra_Invalid CRON":`CRON invalide`,"ra_Invalid JSON":`JSON invalide`,"ra_Invalid JSON file.":`Fichier JSON invalide.`,"ra_Invalid JSON format. Expected an array.":`Format JSON invalide. Tableau attendu.`,"ra_Invalid answer from server":`Réponse invalide du serveur`,"ra_Invalid parent folder!":`Dossier parent non valide!`,"ra_Invalid structure":`Structure invalide`,ra_January:`Janvier`,ra_July:`Juillet`,ra_June:`Juin`,"ra_Last change":`Dernier changement`,ra_Latitude:`Latitude`,"ra_License is for version %s, but required version is %s.":`La licence est pour la version %s, mais la version requise est %s.`,"ra_Listen on all IPs":`Écoutez sur toutes les adresses IP`,"ra_Load configuration from file":`Charger la configuration à partir du fichier`,ra_Logout:`Déconnexion`,ra_Longitude:`Longitude`,ra_March:`Mars`,ra_May:`Mai`,'ra_May not trigger "updateLicenses"':`Peut ne pas déclencher "updateLicences"`,ra_Message:`Message`,ra_Monday:`Lundi`,"ra_Move down":`Descendre`,"ra_Move up":`Déplacer vers le haut`,ra_Name:`Nom`,"ra_No data":`Aucune donnée`,"ra_No data found in file":`Aucune donnée trouvée dans le fichier`,"ra_No response from admin":`Aucune réponse de l'administrateur`,"ra_No response from the backend":`Aucune réponse du backend`,'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':`Les non-experts ne peuvent créer de nouveaux objets que dans "0_userdata.0" ou "alias.0".`,"ra_Not a number":`Pas un numéro`,ra_November:`Novembre`,ra_Objects:`Objets`,ra_October:`Octobre`,ra_Ok:`D'accord`,"ra_On weekdays":`En semaine`,"ra_Only following structures of objects are available:":`Seules les structures d'objets suivantes sont disponibles:`,"ra_Only selected":`Uniquement sélectionné`,"ra_Owner group":`Groupe propriétaire`,"ra_Owner user":`Utilisateur propriétaire`,ra_Palette:`Palette`,"ra_Pick color from screen":`Choisir une couleur à l'écran`,"ra_Place your files here or click here to open the browse dialog":`Placez vos fichiers ici ou cliquez ici pour ouvrir la boîte de dialogue de navigation`,"ra_Please confirm":`Veuillez confirmer`,"ra_Please select file...":`Veuillez sélectionner le fichier...`,"ra_Please select object ID...":`Veuillez sélectionner l'ID d'objet ...`,ra_Product:`Produit`,"ra_Quality code":`Qualité`,"ra_Recently used colors":`Utilisées récemment`,"ra_Refresh tree":`Rafraîchir l'arborescence`,"ra_Reload files":`Recharger les fichiers`,ra_Rename_Move_Copy:`Renommer/Déplacer/Copier`,ra_Repeat:`Répéter`,ra_Replace:`Remplacer`,"ra_Request timed out":`La demande a expiré`,"ra_Restrict to folder":`Restreindre au dossier`,ra_Root:`Racine`,ra_Saturday:`Samedi`,ra_Save:`sauver`,"ra_Save and close":`Sauver et fermer`,"ra_Save configuration to file":`Enregistrer la configuration dans un fichier`,"ra_Save objects tree as JSON file":`Enregistrer l'arborescence des objets en tant que fichier JSON`,"ra_Select all":`Tout sélectionner`,"ra_Select color":`Choisissez la couleur`,"ra_Select predefined icon":`Sélectionnez l'icône prédéfinie`,"ra_Select type of export":`Sélectionnez le type d'exportation`,ra_Selected:`Choisi`,"ra_Selected %s object(s)":`Objet(s) %s sélectionné(s)`,ra_September:`Septembre`,"ra_Session will expire in %s seconds. Continue?":`La session expirera dans %s secondes. Continuer\xA0?`,"ra_Show all folders":`Afficher tous les dossiers`,"ra_Show lines between rows":`Afficher les lignes entre les lignes`,"ra_Show/Hide object descriptions":`Afficher/Masquer les descriptions d'objets`,"ra_Some data are not stored. Discard?":`Certaines données ne sont pas stockées. Jeter?`,ra_States:`États`,ra_Sunday:`Dimanche`,"ra_Suppress question for next %s minutes":`Supprimer la question pour les %s prochaines minutes`,"ra_System language":`Langue du système`,'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':`Les experts peuvent créer des objets partout mais à partir du deuxième niveau (par exemple "vis.0" ou "javascript.0").`,"ra_The page you are looking for was not found":`La page que vous recherchez n'a pas été trouvée`,"ra_The schedule will be executed every minute. Are you sure?":`Le planning sera exécuté toutes les minutes. Êtes-vous sûr ?`,"ra_The schedule will be executed every second. Are you sure?":`Le planning sera exécuté toutes les secondes. Êtes-vous sûr ?`,ra_Thursday:`Jeudi`,ra_Timestamp:`Horodatage`,"ra_Toggle expert mode":`Basculer en mode expert`,"ra_Toggle the states view":`Basculer la vue des états`,"ra_Toggle view mode":`Basculer le mode d'affichage`,"ra_Too big":`Trop grand`,"ra_Too small":`Trop petit`,"ra_Transparent dialog":`Dialogue transparent`,ra_Tuesday:`Mardi`,"ra_Unknown error":`Erreur inconnue`,"ra_Unknown error!":`Erreur inconnue!`,ra_Update:`Mise à jour`,"ra_Upload file":`Téléverser un fichier`,"ra_Use iobroker.acme adapter for letsencrypt certificates":`Utiliser l'adaptateur iobroker.acme pour les certificats Letsencrypt`,"ra_User files":`Fichiers utilisateurs`,ra_Value:`Valeur`,ra_Version:`Version`,"ra_View file":`Voir la fiche`,"ra_View: %s":`Affichage : %s`,ra_Wednesday:`Mercredi`,ra_Width:`Largeur`,ra_Yes:`Oui`,"ra_You can export all objects or just the selected branch.":`Vous pouvez exporter tous les objets ou uniquement la branche sélectionnée.`,"ra_You can use * as wildcard":`Vous pouvez utiliser * comme caractère générique`,ra___different__:`différent`,ra_aclEveryone_read_object:`Tout le monde peut lire un objet`,ra_aclEveryone_read_state:`Tout le monde peut lire l'état`,ra_aclEveryone_write_object:`Tout le monde peut écrire un objet`,ra_aclEveryone_write_state:`Tout le monde peut écrire l'état`,ra_aclGroup_read_object:`Le groupe peut lire l'objet`,ra_aclGroup_read_state:`Le groupe peut lire l'état`,ra_aclGroup_write_object:`Le groupe peut écrire un objet`,ra_aclGroup_write_state:`Le groupe peut écrire l'état`,ra_aclOwner_read_object:`Le propriétaire peut lire l'objet`,ra_aclOwner_read_state:`Le propriétaire peut lire l'état`,ra_aclOwner_write_object:`Le propriétaire peut écrire un objet`,ra_aclOwner_write_state:`Le propriétaire peut écrire l'état`,ra_buttons:`Boutons`,ra_changedFrom:`Changé de`,ra_close:`Fermer`,ra_create_boolean_state:`Créer un état booléen`,ra_create_channel:`Créer une chaîne`,ra_create_device:`Créer un appareil`,ra_create_number_state:`Créer un état de numéro`,ra_create_state:`Créer un état`,ra_create_string_state:`Créer un état de chaîne`,ra_daysShortText:`j.`,ra_dow_Fr:`Fr`,ra_dow_Mo:`Mo`,ra_dow_Sa:`Sa`,ra_dow_Su:`Su`,ra_dow_Th:`Th`,ra_dow_Tu:`Tu`,ra_dow_We:`Nous`,ra_expertMode:`Mode expert`,ra_false:`FAUX`,ra_fileType_all:`Tous les fichiers`,ra_fileType_audio:`l'audio`,ra_fileType_code:`Code/JSON`,ra_fileType_images:`Images`,ra_fileType_txt:`Texte`,ra_fileType_video:`Vidéo`,"ra_fileType_video,":`Vidéo`,ra_filter_customs:`Paramètres`,ra_filter_customs_without:`sans`,ra_filter_func:`Une fonction`,ra_filter_id:`ID`,ra_filter_name:`Prénom`,ra_filter_role:`Rôle`,ra_filter_room:`Pièce`,ra_filter_type:`Type`,"ra_import data from %s file":`Importer des données à partir du fichier %s`,ra_invalidConfig:`Paramètres invalides`,ra_lastChange:`Dernier changement`,ra_locally:`localement`,ra_month_Apr:`Avr`,ra_month_Aug:`Août`,ra_month_Dec:`Déc`,ra_month_Feb:`Fév`,ra_month_Jan:`Jan`,ra_month_Jul:`Juil`,ra_month_Jun:`Juin`,ra_month_Mai:`Mai`,ra_month_Mar:`Mar`,ra_month_Nov:`Nov`,ra_month_Oct:`Oct`,ra_month_Sep:`Sep`,ra_months_Apr:`Avr`,ra_months_Aug:`Août`,ra_months_Dec:`Déc`,ra_months_Feb:`Fév`,ra_months_Jan:`Jan`,ra_months_Jul:`Juil`,ra_months_Jun:`Juin`,ra_months_Mai:`Mai`,ra_months_Mar:`Mar`,ra_months_Nov:`Nov`,ra_months_Oct:`Oct`,ra_months_Sep:`Sep`,"ra_no confirm for 5 mins":`pas de confirmation pendant 5 minutes`,ra_none:`rien`,ra_now:`maintenant`,ra_object_changed_by:`Objet modifié par`,ra_object_changed_by_user:`Objet modifié pour la dernière fois à`,ra_otherConfig:`Paramètres d'un autre adaptateur %s`,ra_qualityCode:`Code de qualité`,ra_repeat:`répéter`,ra_select_folder_hint:`Pour sélectionner un dossier, maintenez simplement la touche "shift" enfoncée en cliquant sur le dossier.`,ra_show_all:`Tout afficher`,ra_state_changed_by:`État modifié par`,ra_state_changed_from:`Objet changé de`,ra_timestamp:`Horodatage`,ra_tooltip_ack:`Drapeau reconnu`,ra_tooltip_comment:`Commentaire`,ra_tooltip_copyState:`Copiez la valeur d'état`,ra_tooltip_ctrlForLink:`Maintenez la touche Cltr/⌘ enfoncée pour ouvrir le lien`,ra_tooltip_customConfig:`Paramètres personnalisés`,ra_tooltip_deleteObject:`Supprimer un objet`,ra_tooltip_editObject:`Modifier l'objet`,ra_tooltip_editState:`Modifier la valeur d'état`,ra_tooltip_expire:`Expire dans`,ra_tooltip_from:`De`,ra_tooltip_lc:`Dernière modification`,ra_tooltip_quality:`Qualité`,ra_tooltip_ts:`Horodatage`,ra_tooltip_user:`Utilisateur`,ra_tooltip_value:`Valeur`,ra_true:`VRAI`,"ra_use seconds":`utiliser les secondes`,ra_val:`Valeur`,"ra_via internet":`par Internet`,ra_warning_every_minute:`Attention\xA0: la tâche CRON s’exécutera toutes les minutes pendant la période spécifiée\xA0!`,ra_warning_every_second:`Attention\xA0: la tâche CRON s’exécutera toutes les secondes pendant la période spécifiée\xA0!`,sc_cron:`CRON`,sc_date:`Date`,sc_dates:`Rendez-vous`,sc_dow:`Jour`,sc_dows:`Jour de la semaine`,sc_every:`Chaque`,sc_everyN_dates:`tous les N jours`,sc_everyN_dow:`chaque Nième jour de la semaine`,sc_everyN_dows:`tous les N jours de la semaine`,sc_everyN_hours:`toutes les N heures`,sc_everyN_minutes:`toutes les N minutes`,sc_everyN_months:`tous les N mois`,sc_everyN_seconds:`toutes les N secondes`,sc_every_dates:`tous les jours`,sc_every_dow:`Chaque jour de la semaine`,sc_every_dows:`Chaque jour de la semaine`,sc_every_hours:`Toutes les heures`,sc_every_minutes:`chaque minute`,sc_every_months:`chaque mois`,sc_every_seconds:`chaque seconde`,sc_from:`De`,sc_hours:`Heures`,sc_interval:`Intervalle`,sc_intervalBetween:`Intervalle entre`,sc_invalid_cron:`CRON non valide`,sc_minutes:`Minutes`,sc_months:`mois`,sc_once:`Une fois que`,sc_period:`Période`,sc_seconds:`Secondes`,sc_simple:`Facile`,sc_specific:`Temps spécifique`,sc_specific_dates:`dates spécifiques`,sc_specific_dow:`jour(s) spécifique(s) de la semaine`,sc_specific_dows:`jour spécifique de semaines`,sc_specific_hours:`heures spécifiques`,sc_specific_minutes:`minutes spécifiques`,sc_specific_months:`mois spécifiques`,sc_specific_seconds:`secondes spécifiques`,sc_time:`Temps`,sc_to:`À`,sc_wizard:`sorcier`,sch_all:`tout`,sch_astroDay:`Journée astronomique`,sch_astroNight:`Nuit astronomique`,sch_astro_dawn:`Aube`,sch_astro_dusk:`Crépuscule`,sch_astro_goldenHour:`Heure d'or`,sch_astro_goldenHourEnd:`Fin de l'heure d'or`,sch_astro_nadir:`Nadir`,sch_astro_nauticalDawn:`Aube nautique`,sch_astro_nauticalDusk:`Crépuscule nautique`,sch_astro_night:`Nuit`,sch_astro_nightEnd:`Fin de nuit`,sch_astro_solarNoon:`Midi solaire`,sch_astro_sunrise:`lever du soleil`,sch_astro_sunriseEnd:`Fin du lever du soleil`,sch_astro_sunset:`Le coucher du soleil`,sch_astro_sunsetStart:`Coucher du soleil`,sch_at:`à`,sch_desc_atTime:`à %s`,sch_desc_everyDay:`tous les jours`,sch_desc_everyHour:`Toutes les heures`,sch_desc_everyMinute:`chaque minute`,sch_desc_everyMonth:`chaque mois`,sch_desc_everyNDay:`chaque %s jour`,sch_desc_everyNHours:`chaque %s heures`,sch_desc_everyNMinutes:`toutes les %s minutes`,sch_desc_everyNMonths:`tous les %s mois`,sch_desc_everyNWeeks:`chaque %s semaines`,sch_desc_everyNYears:`tous les %s ans`,sch_desc_everyWeek:`toutes les semaines`,sch_desc_everyYear:`chaque année`,sch_desc_intervalFromTo:`de %s à %s`,sch_desc_never:`jamais`,sch_desc_onDate:`sur %s de %s`,sch_desc_onDates:`sur %s et %s de`,sch_desc_onEveryDate:`à chaque date de`,sch_desc_onMonth:`%s`,sch_desc_onMonths:`%s et %s`,sch_desc_onWeekday:`sur %s`,sch_desc_onWeekdays:`sur %s et %s`,sch_desc_onWeekends:`les weekends`,sch_desc_onWorkdays:`les jours ouvrables`,sch_desc_onceInPast:`ne sera plus exécuté, car start est dans le passé`,sch_desc_once_on:`sur %s`,sch_desc_validFrom:`de %s`,sch_desc_validFromTo:`Exécuter de à`,sch_desc_validTo:`à %s`,sch_every:`chaque`,sch_exactTime:`Temps spécifique`,sch_from:`de`,sch_fromTo:`De à`,sch_intervalTime:`Temps d'interval`,sch_invert:`inverser`,sch_no_one:`aucun`,sch_on:`sur`,sch_period:`Période`,sch_periodDaily:`du quotidien`,sch_periodDates:`Rendez-vous`,sch_periodDay:`journée`,sch_periodEvery:`Chaque`,sch_periodEveryDay:`Tous les jours`,sch_periodEveryMonth:`Chaque mois`,sch_periodEveryWeek:`Toutes les semaines`,sch_periodEveryYear:`Chaque année`,sch_periodHours:`Heures`,sch_periodMinutes:`Minutes`,sch_periodMonth:`mois`,sch_periodMonthly:`Mensuel`,sch_periodOnce:`Une fois que`,sch_periodSpecificMonths:`Mois spécifiques`,sch_periodWeek:`La semaine`,sch_periodWeekdays:`Jours de la semaine`,sch_periodWeekend:`Weekend`,sch_periodWeekly:`Hebdomadaire`,sch_periodWorkdays:`Jours ouvrables`,sch_periodYear:`Année`,sch_periodYearly:`Annuel`,sch_specificTime:`Temps spécifique`,sch_time:`Temps`,sch_to:`à`,sch_valid:`Valide`,sch_validFrom:`de`,sch_validTo:`à`,sch_wholeDay:`Toute la journée`,sch_yearEveryMonth:`chaque mois`},it:{"ra_%s links from aliases":`%s link da alias`,"ra_%s object(s) processed":`%s oggetti elaborati`,"ra_%s was imported":`%s è stato importato`,ra_Actions:`Azioni`,ra_Add:`Aggiungi`,"ra_Add new child object to selected parent":`Aggiungi un nuovo oggetto figlio al genitore selezionato`,"ra_Add objects tree from JSON file":`Aggiungi l'albero degli oggetti dal file JSON`,"ra_Advanced options":`Opzioni avanzate`,"ra_All objects":`Tutti gli oggetti`,ra_April:`Aprile`,"ra_Are you sure?":`Sei sicuro?`,ra_August:`Agosto`,"ra_Auto (no custom columns)":`Auto (nessuna colonna personalizzata)`,"ra_Back to %s":`Torna a %s`,"ra_Background image":`Immagine di sfondo`,ra_Cancel:`Annulla`,'ra_Cannot find "%s"':`Impossibile trovare "%s"`,'ra_Cannot read "%s"':`Impossibile leggere "%s"`,"ra_Cannot update attribute, because not found in the object":`Impossibile aggiornare l'attributo, perché non trovato nell'oggetto`,"ra_Cannot upload":`Impossibile caricare`,ra_Categories:`Categorie`,"ra_Change color theme":`Cambia tema colore`,"ra_Changed from":`Cambiato da`,"ra_Channel → State":`Canale → Stato`,"ra_Check license":`Controlla la licenza`,ra_Checked:`Controllato`,ra_Clear:`Elimina`,"ra_Clear color":`Cancella colore`,"ra_Clear filter":`Filtro pulito`,"ra_Clear icon":`Cancella icona`,ra_Close:`Vicino`,ra_Collapse:`Comprimi`,"ra_Collapse all nodes":`Comprimi tutti i nodi`,"ra_Collapse one step node":`Comprimi un livello`,ra_Configure:`Configura`,"ra_Configure visible columns":`Configura colonne visibili`,"ra_Confirm deletion of %s":`Conferma l'eliminazione di %s`,ra_Connected:`Collegato`,ra_Continue:`Continuare`,ra_Copied:`Copiato`,"ra_Copied %s":`"%s" copiato`,ra_Create:`Creare`,"ra_Create alias":`Crea alias`,"ra_Create folder":`Creare una cartella`,"ra_Create new folder in %s":`Crea nuova cartella in %s`,ra_Crop:`Raccolto`,ra_December:`Dicembre`,"ra_Define CRON...":`Definisci CRON...`,"ra_Define functions":`Definire le funzioni`,"ra_Define rooms":`Definisci le stanze`,"ra_Define schedule":`Definisci programma`,"ra_Define schedule...":`Definisci pianificazione ...`,ra_Del:`Delete`,ra_Delete:`Elimina`,"ra_Deselect all":`Deseleziona tutto`,"ra_Device → Channel → State":`Dispositivo → Canale → Stato`,"ra_Disable/Enable translation":`Disabilita/Abilita la traduzione`,ra_Discard:`Scartare`,ra_Disconnected:`Disconnesso`,"ra_Do not ask for next 2 hours in this session":`Non chiedere per le prossime 2 ore in questa sessione`,"ra_Do not export values of states":`Non esportare i valori degli stati`,"ra_Double click to reset table layout":`Fare doppio clic per ripristinare il layout della tabella`,"ra_Drag 'n' drop some files here, or click to select files":`Trascina e rilascia alcuni file qui o fai clic per selezionare i file`,"ra_Drop file here":`Trascina il file qui`,"ra_Drop the files here...":`Trascina qui il file...`,"ra_Duplicate name":`Nome duplicato`,ra_Edit:`Modifica`,"ra_Edit ACL":`Modifica ACL`,"ra_Edit alias":`Modifica alias`,"ra_Edit custom config":`Modifica configurazione personalizzata`,"ra_Edit full path":`Modifica percorso completo`,"ra_Edit function":`Funzione di modifica`,"ra_Edit object field":`Modifica campo oggetto`,"ra_Edit role":`Modifica ruolo`,"ra_Edit room":`Modifica stanza`,"ra_Edit value":`Modifica valore`,ra_Error:`Errore`,ra_Expand:`Espandi`,"ra_Expand all nodes":`Espandi tutti i nodi`,"ra_Expand one step node":`Espandi un livello`,"ra_Failed to open JSON File":`Impossibile aprire il file JSON`,ra_February:`Febbraio`,"ra_File is too big. Max %sk allowed. Try use SVG.":`Il file è troppo grande. Max %sk consentito. Prova a usare SVG.`,ra_Filter:`Filtro`,"ra_Filter files":`Filtra i file`,"ra_Folder name":`Nome della cartella`,"ra_Folder → Channel → State":`Cartella → Canale → Stato`,"ra_Folder → Device → Channel → State":`Cartella → Dispositivo → Canale → Stato`,"ra_Folder → State":`Cartella → Stato`,"ra_Folders always first":`Le cartelle sono sempre al primo posto`,ra_Friday:`Venerdì`,"ra_From file":`Dal file`,"ra_From text":`Dal testo`,"ra_Good luck":`Buona fortuna`,"ra_Hide empty folders":`Nascondi cartelle vuote`,"ra_If no file will be created in the folder, it will disappear after the browser closed":`Se nessun file verrà creato nella cartella, scomparirà dopo la chiusura del browser`,"ra_Instance is not alive":`L'istanza non è viva`,"ra_Invalid CRON":`CRON non valido`,"ra_Invalid JSON":`JSON non valido`,"ra_Invalid JSON file.":`File JSON non valido.`,"ra_Invalid JSON format. Expected an array.":`Formato JSON non valido. È previsto un array.`,"ra_Invalid answer from server":`Risposta non valida dal server`,"ra_Invalid parent folder!":`Cartella principale non valida!`,"ra_Invalid structure":`Struttura non valida`,ra_January:`Gennaio`,ra_July:`Luglio`,ra_June:`Giugno`,"ra_Last change":`Ultima modifica`,ra_Latitude:`Latitudine`,"ra_License is for version %s, but required version is %s.":`La licenza è per la versione %s, ma la versione richiesta è %s.`,"ra_Listen on all IPs":`Ascolta su tutti gli IP`,"ra_Load configuration from file":`Carica la configurazione dal file`,ra_Logout:`Esci`,ra_Longitude:`Longitudine`,ra_March:`Marzo`,ra_May:`Maggio`,'ra_May not trigger "updateLicenses"':`Potrebbe non attivare "updateLicenses"`,ra_Message:`Messaggio`,ra_Monday:`Lunedi`,"ra_Move down":`Abbassati`,"ra_Move up":`Andare avanti`,ra_Name:`Nome`,"ra_No data":`Nessun dato`,"ra_No data found in file":`Nessun dato trovato nel file`,"ra_No response from admin":`Nessuna risposta dall'amministratore`,"ra_No response from the backend":`Nessuna risposta dal backend`,'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':`I non esperti possono creare nuovi oggetti solo in "0_userdata.0" o "alias.0".`,"ra_Not a number":`Non un numero`,ra_November:`Novembre`,ra_Objects:`Oggetti`,ra_October:`Ottobre`,ra_Ok:`Ok`,"ra_On weekdays":`Nei giorni della settimana`,"ra_Only following structures of objects are available:":`Sono disponibili solo le seguenti strutture di oggetti:`,"ra_Only selected":`Solo selezionato`,"ra_Owner group":`Gruppo di proprietari`,"ra_Owner user":`Utente proprietario`,ra_Palette:`Tavolozza`,"ra_Pick color from screen":`Preleva un colore dallo schermo`,"ra_Place your files here or click here to open the browse dialog":`Posiziona i file qui o fai clic qui per aprire la finestra di dialogo Sfoglia`,"ra_Please confirm":`Si prega di confermare`,"ra_Please select file...":`Si prega di selezionare il file...`,"ra_Please select object ID...":`Seleziona l'ID oggetto ...`,ra_Product:`Prodotto`,"ra_Quality code":`Qualità`,"ra_Recently used colors":`Usati di recente`,"ra_Refresh tree":`Aggiorna l'albero`,"ra_Reload files":`Ricarica i file`,ra_Rename_Move_Copy:`Rinomina/Sposta/Copia`,ra_Repeat:`Ripetere`,ra_Replace:`Sostituire`,"ra_Request timed out":`Tempo scaduto per la richiesta`,"ra_Restrict to folder":`Limita alla cartella`,ra_Root:`Radice`,ra_Saturday:`Sabato`,ra_Save:`Salva`,"ra_Save and close":`Salva e chiudi`,"ra_Save configuration to file":`Salva la configurazione su file`,"ra_Save objects tree as JSON file":`Salva l'albero degli oggetti come file JSON`,"ra_Select all":`Seleziona tutto`,"ra_Select color":`Seleziona il colore`,"ra_Select predefined icon":`Seleziona l'icona predefinita`,"ra_Select type of export":`Seleziona il tipo di esportazione`,ra_Selected:`Selezionato`,"ra_Selected %s object(s)":`%s oggetto/i selezionato/i`,ra_September:`Settembre`,"ra_Session will expire in %s seconds. Continue?":`La sessione scadrà tra %s secondi. Continuare?`,"ra_Show all folders":`Mostra tutte le cartelle`,"ra_Show lines between rows":`Mostra linee tra le righe`,"ra_Show/Hide object descriptions":`Mostra/Nascondi le descrizioni degli oggetti`,"ra_Some data are not stored. Discard?":`Alcuni dati non vengono memorizzati. Scartare?`,ra_States:`stati`,ra_Sunday:`Domenica`,"ra_Suppress question for next %s minutes":`Sopprimi la domanda per i prossimi %s minuti`,"ra_System language":`Linguaggio di sistema`,'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':`Gli esperti possono creare oggetti ovunque ma dal secondo livello (es. "Vis.0" o "javascript.0").`,"ra_The page you are looking for was not found":`La pagina che stai cercando non è stata trovata`,"ra_The schedule will be executed every minute. Are you sure?":`La pianificazione verrà eseguita ogni minuto. Sei sicuro?`,"ra_The schedule will be executed every second. Are you sure?":`La pianificazione verrà eseguita ogni secondo. Sei sicuro?`,ra_Thursday:`Giovedì`,ra_Timestamp:`Timestamp`,"ra_Toggle expert mode":`Attiva / disattiva la modalità esperto`,"ra_Toggle the states view":`Attiva o disattiva la visualizzazione degli stati`,"ra_Toggle view mode":`Attiva / disattiva la modalità di visualizzazione`,"ra_Too big":`Troppo grande`,"ra_Too small":`Troppo piccolo`,"ra_Transparent dialog":`Finestra di dialogo trasparente`,ra_Tuesday:`Martedì`,"ra_Unknown error":`Errore sconosciuto`,"ra_Unknown error!":`Errore sconosciuto!`,ra_Update:`Aggiornare`,"ra_Upload file":`Caricare un file`,"ra_Use iobroker.acme adapter for letsencrypt certificates":`Utilizzare l'adattatore iobroker.acme per i certificati letsencrypt`,"ra_User files":`File utente`,ra_Value:`Valore`,ra_Version:`Versione`,"ra_View file":`Vedi il file`,"ra_View: %s":`Visualizza: %s`,ra_Wednesday:`Mercoledì`,ra_Width:`Larghezza`,ra_Yes:`SÌ`,"ra_You can export all objects or just the selected branch.":`Puoi esportare tutti gli oggetti o solo il ramo selezionato.`,"ra_You can use * as wildcard":`Puoi usare * come carattere jolly`,ra___different__:`diverso`,ra_aclEveryone_read_object:`Tutti possono leggere gli oggetti`,ra_aclEveryone_read_state:`Tutti possono leggere lo stato`,ra_aclEveryone_write_object:`Tutti possono scrivere oggetti`,ra_aclEveryone_write_state:`Tutti possono scrivere stato`,ra_aclGroup_read_object:`Il gruppo può leggere l'oggetto`,ra_aclGroup_read_state:`Il gruppo può leggere lo stato`,ra_aclGroup_write_object:`Il gruppo può scrivere l'oggetto`,ra_aclGroup_write_state:`Il gruppo può scrivere lo stato`,ra_aclOwner_read_object:`Il proprietario può leggere l'oggetto`,ra_aclOwner_read_state:`Il proprietario può leggere lo stato`,ra_aclOwner_write_object:`Il proprietario può scrivere l'oggetto`,ra_aclOwner_write_state:`Il proprietario può scrivere lo stato`,ra_buttons:`Bottoni`,ra_changedFrom:`Cambiato da`,ra_close:`vicino`,ra_create_boolean_state:`Crea uno stato booleano`,ra_create_channel:`Crea canale`,ra_create_device:`Crea dispositivo`,ra_create_number_state:`Crea lo stato del numero`,ra_create_state:`Crea stato`,ra_create_string_state:`Crea lo stato della stringa`,ra_daysShortText:`g.`,ra_dow_Fr:`fr`,ra_dow_Mo:`momento`,ra_dow_Sa:`Sa`,ra_dow_Su:`su`,ra_dow_Th:`th`,ra_dow_Tu:`Tu`,ra_dow_We:`Noi`,ra_expertMode:`Modalità esperto`,ra_false:`FALSO`,ra_fileType_all:`Tutti i files`,ra_fileType_audio:`Audio`,ra_fileType_code:`Codice/JSON`,ra_fileType_images:`immagini`,ra_fileType_txt:`Testo`,ra_fileType_video:`video`,"ra_fileType_video,":`video`,ra_filter_customs:`impostazioni`,ra_filter_customs_without:`senza`,ra_filter_func:`Funzione`,ra_filter_id:`ID`,ra_filter_name:`Nome`,ra_filter_role:`Ruolo`,ra_filter_room:`Camera`,ra_filter_type:`genere`,"ra_import data from %s file":`Importa dati dal file %s`,ra_invalidConfig:`Impostazioni non valide`,ra_lastChange:`Ultima modifica`,ra_locally:`localmente`,ra_month_Apr:`apr`,ra_month_Aug:`agosto`,ra_month_Dec:`Dic`,ra_month_Feb:`febbraio`,ra_month_Jan:`gen`,ra_month_Jul:`lug`,ra_month_Jun:`giu`,ra_month_Mai:`Mai`,ra_month_Mar:`marzo`,ra_month_Nov:`nov`,ra_month_Oct:`ottobre`,ra_month_Sep:`Sett`,ra_months_Apr:`apr`,ra_months_Aug:`agosto`,ra_months_Dec:`Dic`,ra_months_Feb:`febbraio`,ra_months_Jan:`gen`,ra_months_Jul:`lug`,ra_months_Jun:`giu`,ra_months_Mai:`Mai`,ra_months_Mar:`marzo`,ra_months_Nov:`nov`,ra_months_Oct:`ottobre`,ra_months_Sep:`Sett`,"ra_no confirm for 5 mins":`nessuna conferma per 5 minuti`,ra_none:`nessuna`,ra_now:`adesso`,ra_object_changed_by:`Oggetto modificato da`,ra_object_changed_by_user:`L'oggetto è stato modificato l'ultima volta alle`,ra_otherConfig:`Impostazioni dall'altro adattatore %s`,ra_qualityCode:`Codice di qualità`,ra_repeat:`ripetere`,ra_select_folder_hint:`Per selezionare la cartella, basta tenere premuto il tasto "shift" facendo clic sulla cartella.`,ra_show_all:`Mostra tutto`,ra_state_changed_by:`Stato cambiato da`,ra_state_changed_from:`Oggetto cambiato da`,ra_timestamp:`Timestamp`,ra_tooltip_ack:`Bandiera riconosciuta`,ra_tooltip_comment:`Commento`,ra_tooltip_copyState:`Copia il valore dello stato`,ra_tooltip_ctrlForLink:`Tieni premuto il tasto Cltr/⌘ per aprire il collegamento`,ra_tooltip_customConfig:`Impostazioni personalizzate`,ra_tooltip_deleteObject:`Elimina oggetto`,ra_tooltip_editObject:`Modifica oggetto`,ra_tooltip_editState:`Modifica il valore dello stato`,ra_tooltip_expire:`Scade tra`,ra_tooltip_from:`A partire dal`,ra_tooltip_lc:`Ultima modifica`,ra_tooltip_quality:`Qualità`,ra_tooltip_ts:`Data e ora`,ra_tooltip_user:`Utente`,ra_tooltip_value:`Valore`,ra_true:`VERO`,"ra_use seconds":`usa i secondi`,ra_val:`Valore`,"ra_via internet":`attraverso internet`,ra_warning_every_minute:`Attenzione: il processo CRON verrà eseguito ogni minuto durante il periodo specificato!`,ra_warning_every_second:`Attenzione: il processo CRON verrà eseguito ogni secondo durante il periodo specificato!`,sc_cron:`CRON`,sc_date:`Data`,sc_dates:`Date`,sc_dow:`Giorno`,sc_dows:`Giorno della settimana`,sc_every:`Ogni`,sc_everyN_dates:`ogni N giorni`,sc_everyN_dow:`ogni Nesimo giorno della settimana`,sc_everyN_dows:`ogni N giorno della settimana`,sc_everyN_hours:`ogni N ore`,sc_everyN_minutes:`ogni N minuti`,sc_everyN_months:`ogni N mesi`,sc_everyN_seconds:`ogni N secondi`,sc_every_dates:`ogni giorno`,sc_every_dow:`Tutti i giorni della settimana`,sc_every_dows:`Tutti i giorni della settimana`,sc_every_hours:`ogni ora`,sc_every_minutes:`ogni minuto`,sc_every_months:`ogni mese`,sc_every_seconds:`ogni secondo`,sc_from:`A partire dal`,sc_hours:`Ore`,sc_interval:`Intervallo`,sc_intervalBetween:`Intervallo tra`,sc_invalid_cron:`CRON non valido`,sc_minutes:`Minuti`,sc_months:`mesi`,sc_once:`Una volta`,sc_period:`Periodo`,sc_seconds:`secondi`,sc_simple:`Semplice`,sc_specific:`Orario preciso`,sc_specific_dates:`date specifiche`,sc_specific_dow:`giorno/i specifico/i della settimana`,sc_specific_dows:`giorno specifico delle settimane`,sc_specific_hours:`orari specifici`,sc_specific_minutes:`minuti specifici`,sc_specific_months:`mesi specifici`,sc_specific_seconds:`secondi specifici`,sc_time:`Tempo`,sc_to:`Per`,sc_wizard:`procedura guidata`,sch_all:`tutti`,sch_astroDay:`Astro day`,sch_astroNight:`Astro night`,sch_astro_dawn:`Alba`,sch_astro_dusk:`Crepuscolo`,sch_astro_goldenHour:`Ora d'oro`,sch_astro_goldenHourEnd:`Fine dell'ora d'oro`,sch_astro_nadir:`Nadir`,sch_astro_nauticalDawn:`Alba nautica`,sch_astro_nauticalDusk:`Crepuscolo nautico`,sch_astro_night:`Notte`,sch_astro_nightEnd:`Fine della notte`,sch_astro_solarNoon:`Mezzogiorno solare`,sch_astro_sunrise:`Alba`,sch_astro_sunriseEnd:`Fine dell'alba`,sch_astro_sunset:`Tramonto`,sch_astro_sunsetStart:`Inizio del tramonto`,sch_at:`a`,sch_desc_atTime:`a %s`,sch_desc_everyDay:`ogni giorno`,sch_desc_everyHour:`ogni ora`,sch_desc_everyMinute:`ogni minuto`,sch_desc_everyMonth:`ogni mese`,sch_desc_everyNDay:`ogni %s giorno`,sch_desc_everyNHours:`ogni %s ore`,sch_desc_everyNMinutes:`ogni %s minuti`,sch_desc_everyNMonths:`ogni %s mesi`,sch_desc_everyNWeeks:`ogni %s settimane`,sch_desc_everyNYears:`ogni %s anni`,sch_desc_everyWeek:`ogni settimana`,sch_desc_everyYear:`ogni anno`,sch_desc_intervalFromTo:`da %s a %s`,sch_desc_never:`mai`,sch_desc_onDate:`su %s di %s`,sch_desc_onDates:`su %s e %s di`,sch_desc_onEveryDate:`in ogni data di`,sch_desc_onMonth:`%s`,sch_desc_onMonths:`%s e %s`,sch_desc_onWeekday:`su %s`,sch_desc_onWeekdays:`su %s e %s`,sch_desc_onWeekends:`nei finesettimana`,sch_desc_onWorkdays:`nei giorni lavorativi`,sch_desc_onceInPast:`non verrà più eseguito, perché start è nel passato`,sch_desc_once_on:`su %s`,sch_desc_validFrom:`da %s`,sch_desc_validFromTo:`Eseguire da a`,sch_desc_validTo:`a %s`,sch_every:`ogni`,sch_exactTime:`Orario preciso`,sch_from:`a partire dal`,sch_fromTo:`Da A`,sch_intervalTime:`Intervallo di tempo`,sch_invert:`invertire`,sch_no_one:`nessuna`,sch_on:`sopra`,sch_period:`Periodo`,sch_periodDaily:`Quotidiano`,sch_periodDates:`Date`,sch_periodDay:`Giorno`,sch_periodEvery:`Ogni`,sch_periodEveryDay:`Ogni giorno`,sch_periodEveryMonth:`Ogni mese`,sch_periodEveryWeek:`Ogni settimana`,sch_periodEveryYear:`Ogni anno`,sch_periodHours:`Ore`,sch_periodMinutes:`Minuti`,sch_periodMonth:`mese`,sch_periodMonthly:`Mensile`,sch_periodOnce:`Una volta`,sch_periodSpecificMonths:`Mesi specifici`,sch_periodWeek:`Settimana`,sch_periodWeekdays:`Giorni della settimana`,sch_periodWeekend:`Fine settimana`,sch_periodWeekly:`settimanalmente`,sch_periodWorkdays:`giorni feriali`,sch_periodYear:`Anno`,sch_periodYearly:`Annuale`,sch_specificTime:`Orario preciso`,sch_time:`Tempo`,sch_to:`per`,sch_valid:`Valido`,sch_validFrom:`a partire dal`,sch_validTo:`per`,sch_wholeDay:`Giorno intero`,sch_yearEveryMonth:`ogni mese`},es:{"ra_%s links from aliases":`%s enlaces de alias`,"ra_%s object(s) processed":`%s objeto(s) procesados`,"ra_%s was imported":`%s fue importado`,ra_Actions:`Comportamiento`,ra_Add:`Añadir`,"ra_Add new child object to selected parent":`Agregar nuevo objeto hijo al padre seleccionado`,"ra_Add objects tree from JSON file":`Agregar árbol de objetos desde el archivo JSON`,"ra_Advanced options":`Opciones avanzadas`,"ra_All objects":`Todos los objetos`,ra_April:`Abril`,"ra_Are you sure?":`¿Estás seguro?`,ra_August:`Agosto`,"ra_Auto (no custom columns)":`Automático (sin columnas personalizadas)`,"ra_Back to %s":`Volver a %s`,"ra_Background image":`Imagen de fondo`,ra_Cancel:`Cancelar`,'ra_Cannot find "%s"':`No se puede encontrar "%s"`,'ra_Cannot read "%s"':`No se puede leer "%s"`,"ra_Cannot update attribute, because not found in the object":`No se puede actualizar el atributo porque no se encuentra en el objeto`,"ra_Cannot upload":`no se puede cargar`,ra_Categories:`Categorías`,"ra_Change color theme":`Cambiar tema de color`,"ra_Changed from":`Cambiaron desde`,"ra_Channel → State":`Canal → Estado`,"ra_Check license":`Verificar licencia`,ra_Checked:`Comprobado`,ra_Clear:`Borrar`,"ra_Clear color":`Borrar color`,"ra_Clear filter":`Filtro claro`,"ra_Clear icon":`Icono claro`,ra_Close:`Cerca`,ra_Collapse:`Contraer`,"ra_Collapse all nodes":`Contraer todos los nodos`,"ra_Collapse one step node":`Contraer un nivel`,ra_Configure:`Configurar`,"ra_Configure visible columns":`Configurar columnas visibles`,"ra_Confirm deletion of %s":`Confirmar la eliminación de %s`,ra_Connected:`Conectado`,ra_Continue:`Continuar`,ra_Copied:`Copiado`,"ra_Copied %s":`Copiado "%s"`,ra_Create:`Crear`,"ra_Create alias":`Crear alias`,"ra_Create folder":`Crear carpeta`,"ra_Create new folder in %s":`Crear nueva carpeta en %s`,ra_Crop:`Cultivo`,ra_December:`Diciembre`,"ra_Define CRON...":`Definir CRON...`,"ra_Define functions":`Definir funciones`,"ra_Define rooms":`Definir habitaciones`,"ra_Define schedule":`Definir horario`,"ra_Define schedule...":`Definir horario ...`,ra_Del:`Delete`,ra_Delete:`Eliminar`,"ra_Deselect all":`Deselecciona todo`,"ra_Device → Channel → State":`Dispositivo → Canal → Estado`,"ra_Disable/Enable translation":`Deshabilitar/Habilitar traducción`,ra_Discard:`Desechar`,ra_Disconnected:`Desconectado`,"ra_Do not ask for next 2 hours in this session":`No preguntes por las siguientes 2 horas en esta sesión.`,"ra_Do not export values of states":`No exportar valores de estados.`,"ra_Double click to reset table layout":`Haga doble clic para restablecer el diseño de la tabla`,"ra_Drag 'n' drop some files here, or click to select files":`Arrastre y suelte algunos archivos aquí, o haga clic para seleccionar archivos`,"ra_Drop file here":`Suelta el archivo aquí`,"ra_Drop the files here...":`Suelta el archivo aquí ...`,"ra_Duplicate name":`Nombre duplicado`,ra_Edit:`Editar`,"ra_Edit ACL":`Editar LCA`,"ra_Edit alias":`Editar alias`,"ra_Edit custom config":`Editar configuración personalizada`,"ra_Edit full path":`Editar ruta completa`,"ra_Edit function":`Función de edición`,"ra_Edit object field":`Editar campo de objeto`,"ra_Edit role":`Editar rol`,"ra_Edit room":`Cuarto de edición`,"ra_Edit value":`Editar valor`,ra_Error:`Error`,ra_Expand:`Expandir`,"ra_Expand all nodes":`Expandir todos los nodos`,"ra_Expand one step node":`Expandir un nivel`,"ra_Failed to open JSON File":`No se pudo abrir el archivo JSON`,ra_February:`Febrero`,"ra_File is too big. Max %sk allowed. Try use SVG.":`El archivo es demasiado grande. Máximo de %sk permitido. Intenta usar SVG.`,ra_Filter:`Filtrar`,"ra_Filter files":`Filtrar archivos`,"ra_Folder name":`Nombre de la carpeta`,"ra_Folder → Channel → State":`Carpeta → Canal → Estado`,"ra_Folder → Device → Channel → State":`Carpeta → Dispositivo → Canal → Estado`,"ra_Folder → State":`Carpeta → Estado`,"ra_Folders always first":`Carpetas siempre primero`,ra_Friday:`Viernes`,"ra_From file":`Desde archivo`,"ra_From text":`Del texto`,"ra_Good luck":`Buena suerte`,"ra_Hide empty folders":`Ocultar carpetas vacías`,"ra_If no file will be created in the folder, it will disappear after the browser closed":`Si no se creará ningún archivo en la carpeta, desaparecerá después de que se cierre el navegador.`,"ra_Instance is not alive":`La instancia no está viva`,"ra_Invalid CRON":`CRON no válido`,"ra_Invalid JSON":`JSON no válido`,"ra_Invalid JSON file.":`Archivo JSON inválido.`,"ra_Invalid JSON format. Expected an array.":`Formato JSON inválido. Se esperaba un array.`,"ra_Invalid answer from server":`Respuesta inválida del servidor`,"ra_Invalid parent folder!":`Carpeta principal no válida.`,"ra_Invalid structure":`Estructura inválida`,ra_January:`Enero`,ra_July:`Julio`,ra_June:`Junio`,"ra_Last change":`Ultimo cambio`,ra_Latitude:`Latitud`,"ra_License is for version %s, but required version is %s.":`La licencia es para la versión %s, pero la versión requerida es %s.`,"ra_Listen on all IPs":`Escuche en todas las IP`,"ra_Load configuration from file":`Cargar configuración desde archivo`,ra_Logout:`Cerrar sesión`,ra_Longitude:`Longitud`,ra_March:`Marzo`,ra_May:`Mayo`,'ra_May not trigger "updateLicenses"':`No puede activar "updateLicenses"`,ra_Message:`Mensaje`,ra_Monday:`Lunes`,"ra_Move down":`Mover hacia abajo`,"ra_Move up":`Ascender`,ra_Name:`Nombre`,"ra_No data":`Sin datos`,"ra_No data found in file":`No se encontraron datos en el archivo`,"ra_No response from admin":`No hay respuesta del administrador`,"ra_No response from the backend":`No hay respuesta del backend`,'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':`Los no expertos pueden crear nuevos objetos solo en "0_userdata.0" o "alias.0".`,"ra_Not a number":`No un número`,ra_November:`Noviembre`,ra_Objects:`Objetos`,ra_October:`Octubre`,ra_Ok:`Okay`,"ra_On weekdays":`De lunes a viernes`,"ra_Only following structures of objects are available:":`Solo están disponibles las siguientes estructuras de objetos:`,"ra_Only selected":`Solo seleccionados`,"ra_Owner group":`Grupo propietario`,"ra_Owner user":`Usuario propietario`,ra_Palette:`Paleta`,"ra_Pick color from screen":`Seleccionar color de la pantalla`,"ra_Place your files here or click here to open the browse dialog":`Coloque sus archivos aquí o haga clic aquí para abrir el cuadro de diálogo de exploración`,"ra_Please confirm":`Por favor confirmar`,"ra_Please select file...":`Seleccione el archivo...`,"ra_Please select object ID...":`Por favor seleccione ID de objeto ...`,ra_Product:`Producto`,"ra_Quality code":`Calidad`,"ra_Recently used colors":`Usados recientemente`,"ra_Refresh tree":`Actualizar árbol`,"ra_Reload files":`Recargar archivos`,ra_Rename_Move_Copy:`Cambiar nombre/Mover/Copiar`,ra_Repeat:`Repetir`,ra_Replace:`Reemplazar`,"ra_Request timed out":`Tiempo de espera agotado`,"ra_Restrict to folder":`Restringir a carpeta`,ra_Root:`Raíz`,ra_Saturday:`Sábado`,ra_Save:`Salvar`,"ra_Save and close":`Guardar y cerrar`,"ra_Save configuration to file":`Guardar configuración en archivo`,"ra_Save objects tree as JSON file":`Guardar el árbol de objetos como archivo JSON`,"ra_Select all":`Seleccionar todo`,"ra_Select color":`Seleccionar el color`,"ra_Select predefined icon":`Seleccionar icono predefinido`,"ra_Select type of export":`Seleccione tipo de exportación`,ra_Selected:`Seleccionado`,"ra_Selected %s object(s)":`%s objetos seleccionados`,ra_September:`Septiembre`,"ra_Session will expire in %s seconds. Continue?":`La sesión expirará en %s segundos. ¿Continuar?`,"ra_Show all folders":`Mostrar todas las carpetas`,"ra_Show lines between rows":`Mostrar líneas entre filas`,"ra_Show/Hide object descriptions":`Mostrar/ocultar descripciones de objetos`,"ra_Some data are not stored. Discard?":`Algunos datos no se almacenan. ¿Desechar?`,ra_States:`Estados`,ra_Sunday:`Domingo`,"ra_Suppress question for next %s minutes":`Suprimir pregunta durante los próximos %s minutos`,"ra_System language":`Lenguaje del sistema`,'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':`Los expertos pueden crear objetos en todas partes excepto desde el segundo nivel (por ejemplo, "vis.0" o "javascript.0").`,"ra_The page you are looking for was not found":`No se encontró la página que busca`,"ra_The schedule will be executed every minute. Are you sure?":`El cronograma se ejecutará cada minuto. ¿Estás seguro?`,"ra_The schedule will be executed every second. Are you sure?":`El cronograma se ejecutará cada segundo. ¿Estás seguro?`,ra_Thursday:`Jueves`,ra_Timestamp:`Marca de tiempo`,"ra_Toggle expert mode":`Alternar modo experto`,"ra_Toggle the states view":`Alternar la vista de estados`,"ra_Toggle view mode":`Alternar modo de vista`,"ra_Too big":`Demasiado grande`,"ra_Too small":`Demasiado pequeña`,"ra_Transparent dialog":`Diálogo transparente`,ra_Tuesday:`Martes`,"ra_Unknown error":`Error desconocido`,"ra_Unknown error!":`¡Error desconocido!`,ra_Update:`Actualizar`,"ra_Upload file":`Subir archivo`,"ra_Use iobroker.acme adapter for letsencrypt certificates":`Use el adaptador iobroker.acme para los certificados de letsencrypt`,"ra_User files":`Archivos de usuario`,ra_Value:`Valor`,ra_Version:`Versión`,"ra_View file":`Ver archivo`,"ra_View: %s":`Ver: %s`,ra_Wednesday:`Miércoles`,ra_Width:`Anchura`,ra_Yes:`Sí`,"ra_You can export all objects or just the selected branch.":`Puede exportar todos los objetos o solo la rama seleccionada.`,"ra_You can use * as wildcard":`Puedes utilizar * como comodín`,ra___different__:`diferente`,ra_aclEveryone_read_object:`Todo el mundo puede leer el objeto`,ra_aclEveryone_read_state:`Todos pueden leer el estado`,ra_aclEveryone_write_object:`Todos pueden escribir objetos`,ra_aclEveryone_write_state:`Todos pueden escribir el estado`,ra_aclGroup_read_object:`El grupo puede leer el objeto`,ra_aclGroup_read_state:`El grupo puede leer el estado`,ra_aclGroup_write_object:`El grupo puede escribir un objeto`,ra_aclGroup_write_state:`El grupo puede escribir el estado`,ra_aclOwner_read_object:`El propietario puede leer el objeto`,ra_aclOwner_read_state:`El propietario puede leer el estado`,ra_aclOwner_write_object:`El propietario puede escribir el objeto`,ra_aclOwner_write_state:`El propietario puede escribir el estado`,ra_buttons:`Botones`,ra_changedFrom:`Cambiaron desde`,ra_close:`cerrar`,ra_create_boolean_state:`Crear estado booleano`,ra_create_channel:`Crear canal`,ra_create_device:`Crear dispositivo`,ra_create_number_state:`Crear estado numérico`,ra_create_state:`Crear estado`,ra_create_string_state:`Crear estado de cadena`,ra_daysShortText:`d.`,ra_dow_Fr:`Fr`,ra_dow_Mo:`Mes`,ra_dow_Sa:`Sa`,ra_dow_Su:`Su`,ra_dow_Th:`Th`,ra_dow_Tu:`Tu`,ra_dow_We:`Nosotros`,ra_expertMode:`Modo experto`,ra_false:`FALSO`,ra_fileType_all:`Todos los archivos`,ra_fileType_audio:`Audio`,ra_fileType_code:`Código/JSON`,ra_fileType_images:`Imágenes`,ra_fileType_txt:`Texto`,ra_fileType_video:`Video`,"ra_fileType_video,":`Video`,ra_filter_customs:`Configuraciones`,ra_filter_customs_without:`sin`,ra_filter_func:`Función`,ra_filter_id:`ID`,ra_filter_name:`Nombre`,ra_filter_role:`Papel`,ra_filter_room:`Habitación`,ra_filter_type:`Tipo`,"ra_import data from %s file":`Importar datos del archivo %s`,ra_invalidConfig:`Configuraciones inválidas`,ra_lastChange:`Ultimo cambio`,ra_locally:`en la zona`,ra_month_Apr:`Abr`,ra_month_Aug:`Ago`,ra_month_Dec:`Dic`,ra_month_Feb:`Feb`,ra_month_Jan:`Ene`,ra_month_Jul:`Jul`,ra_month_Jun:`Jun`,ra_month_Mai:`Mai`,ra_month_Mar:`Mar`,ra_month_Nov:`Nov`,ra_month_Oct:`Oct`,ra_month_Sep:`Sep`,ra_months_Apr:`Abr`,ra_months_Aug:`Ago`,ra_months_Dec:`Dic`,ra_months_Feb:`Feb`,ra_months_Jan:`Ene`,ra_months_Jul:`Jul`,ra_months_Jun:`Jun`,ra_months_Mai:`Mai`,ra_months_Mar:`Mar`,ra_months_Nov:`Nov`,ra_months_Oct:`Oct`,ra_months_Sep:`Sep`,"ra_no confirm for 5 mins":`Sin confirmación durante 5 minutos`,ra_none:`ninguno`,ra_now:`ahora`,ra_object_changed_by:`Objeto cambiado por`,ra_object_changed_by_user:`Objeto cambiado por última vez a las`,ra_otherConfig:`Configuraciones de otro adaptador %s`,ra_qualityCode:`Código de calidad`,ra_repeat:`repetir`,ra_select_folder_hint:`Para seleccionar la carpeta, simplemente mantenga presionada la tecla "shift" haciendo clic en la carpeta.`,ra_show_all:`Mostrar todo`,ra_state_changed_by:`Estado cambiado por`,ra_state_changed_from:`Objeto cambiado de`,ra_timestamp:`Marca de tiempo`,ra_tooltip_ack:`Bandera reconocida`,ra_tooltip_comment:`Comentario`,ra_tooltip_copyState:`Copie el valor del estado`,ra_tooltip_ctrlForLink:`Mantenga presionada la tecla Cltr/⌘ para abrir el enlace`,ra_tooltip_customConfig:`Ajustes personalizados`,ra_tooltip_deleteObject:`Eliminar objeto`,ra_tooltip_editObject:`Editar objeto`,ra_tooltip_editState:`Edite el valor del estado`,ra_tooltip_expire:`Caduca en`,ra_tooltip_from:`Desde`,ra_tooltip_lc:`Último cambio`,ra_tooltip_quality:`Calidad`,ra_tooltip_ts:`Sello de tiempo`,ra_tooltip_user:`Usuario`,ra_tooltip_value:`Valor`,ra_true:`VERDADERO`,"ra_use seconds":`usar segundos`,ra_val:`Valor`,"ra_via internet":`vía Internet`,ra_warning_every_minute:`Advertencia: ¡El trabajo CRON se ejecutará cada minuto durante el período especificado!`,ra_warning_every_second:`Advertencia: ¡El trabajo CRON se ejecutará cada segundo durante el período especificado!`,sc_cron:`CRON`,sc_date:`Fecha`,sc_dates:`fechas`,sc_dow:`Día`,sc_dows:`Día de la semana`,sc_every:`Cada`,sc_everyN_dates:`cada N días`,sc_everyN_dow:`cada enésimo día de la semana`,sc_everyN_dows:`cada N día de la semana`,sc_everyN_hours:`cada N horas`,sc_everyN_minutes:`cada N minutos`,sc_everyN_months:`cada N meses`,sc_everyN_seconds:`cada N segundos`,sc_every_dates:`cada día`,sc_every_dow:`Cada día de la semana`,sc_every_dows:`Cada día de la semana`,sc_every_hours:`cada hora`,sc_every_minutes:`cada minuto`,sc_every_months:`cada mes`,sc_every_seconds:`cada segundo`,sc_from:`De`,sc_hours:`Horas`,sc_interval:`Intervalo`,sc_intervalBetween:`Intervalo entre`,sc_invalid_cron:`CRON no válido`,sc_minutes:`Minutos`,sc_months:`meses`,sc_once:`Una vez`,sc_period:`Período`,sc_seconds:`Segundos`,sc_simple:`Sencillo`,sc_specific:`Tiempo específico`,sc_specific_dates:`fechas especificas`,sc_specific_dow:`día(s) específico(s) de la semana`,sc_specific_dows:`día específico de semanas`,sc_specific_hours:`horas específicas`,sc_specific_minutes:`minutos específicos`,sc_specific_months:`meses específicos`,sc_specific_seconds:`segundos específicos`,sc_time:`Hora`,sc_to:`A`,sc_wizard:`Mago`,sch_all:`todas`,sch_astroDay:`Día astro`,sch_astroNight:`Noche astro`,sch_astro_dawn:`Amanecer`,sch_astro_dusk:`Oscuridad`,sch_astro_goldenHour:`hora dorada`,sch_astro_goldenHourEnd:`Fin de la hora dorada`,sch_astro_nadir:`Nadir`,sch_astro_nauticalDawn:`Amanecer náutico`,sch_astro_nauticalDusk:`Anochecer náutico`,sch_astro_night:`Noche`,sch_astro_nightEnd:`Fin de la noche`,sch_astro_solarNoon:`Mediodía solar`,sch_astro_sunrise:`amanecer`,sch_astro_sunriseEnd:`Fin del amanecer`,sch_astro_sunset:`Puesta de sol`,sch_astro_sunsetStart:`Puesta de sol`,sch_at:`a`,sch_desc_atTime:`en %s`,sch_desc_everyDay:`cada día`,sch_desc_everyHour:`cada hora`,sch_desc_everyMinute:`cada minuto`,sch_desc_everyMonth:`cada mes`,sch_desc_everyNDay:`cada %s días`,sch_desc_everyNHours:`cada %s horas`,sch_desc_everyNMinutes:`cada %s minutos`,sch_desc_everyNMonths:`cada %s meses`,sch_desc_everyNWeeks:`cada %s semanas`,sch_desc_everyNYears:`cada %s años`,sch_desc_everyWeek:`cada semana`,sch_desc_everyYear:`todos los años`,sch_desc_intervalFromTo:`de %s a %s`,sch_desc_never:`Nunca`,sch_desc_onDate:`en %s de %s`,sch_desc_onDates:`en %s y %s de`,sch_desc_onEveryDate:`en cada fecha de`,sch_desc_onMonth:`%s`,sch_desc_onMonths:`%s y %s`,sch_desc_onWeekday:`en %s`,sch_desc_onWeekdays:`en %s y %s`,sch_desc_onWeekends:`en los fines de semana`,sch_desc_onWorkdays:`en días laborables`,sch_desc_onceInPast:`ya no se ejecutará más, porque el inicio está en el pasado`,sch_desc_once_on:`en %s`,sch_desc_validFrom:`de %s`,sch_desc_validFromTo:`Ejecutar desde hasta`,sch_desc_validTo:`a %s`,sch_every:`cada`,sch_exactTime:`Tiempo específico`,sch_from:`de`,sch_fromTo:`De-a`,sch_intervalTime:`Tiempo de intervalo`,sch_invert:`invertir; poner boca abajo o en la posición opuesta, orden o arreglo; Boca abajo`,sch_no_one:`ninguna`,sch_on:`en`,sch_period:`Período`,sch_periodDaily:`Diario`,sch_periodDates:`fechas`,sch_periodDay:`Día`,sch_periodEvery:`Cada`,sch_periodEveryDay:`Cada día`,sch_periodEveryMonth:`Cada mes`,sch_periodEveryWeek:`Cada semana`,sch_periodEveryYear:`Todos los años`,sch_periodHours:`Horas`,sch_periodMinutes:`Minutos`,sch_periodMonth:`mes`,sch_periodMonthly:`Mensual`,sch_periodOnce:`Una vez`,sch_periodSpecificMonths:`Meses específicos`,sch_periodWeek:`Semana`,sch_periodWeekdays:`Días laborables`,sch_periodWeekend:`Fin de semana`,sch_periodWeekly:`Semanal`,sch_periodWorkdays:`Días laborables`,sch_periodYear:`Año`,sch_periodYearly:`Anual`,sch_specificTime:`Tiempo específico`,sch_time:`Hora`,sch_to:`a`,sch_valid:`Válido`,sch_validFrom:`de`,sch_validTo:`a`,sch_wholeDay:`Todo el dia`,sch_yearEveryMonth:`cada mes`},pl:{"ra_%s links from aliases":`%s linków z aliasów`,"ra_%s object(s) processed":`Przetworzono %s obiektów`,"ra_%s was imported":`%s został zaimportowany`,ra_Actions:`Akcje`,ra_Add:`Dodaj`,"ra_Add new child object to selected parent":`Dodaj nowy obiekt potomny do wybranego rodzica`,"ra_Add objects tree from JSON file":`Dodaj drzewo obiektów z pliku JSON`,"ra_Advanced options":`Zaawansowane opcje`,"ra_All objects":`Wszystkie obiekty`,ra_April:`Kwiecień`,"ra_Are you sure?":`Jesteś pewny?`,ra_August:`Sierpień`,"ra_Auto (no custom columns)":`Auto (bez kolumn niestandardowych)`,"ra_Back to %s":`Powrót do %s`,"ra_Background image":`Zdjęcie w tle`,ra_Cancel:`Anuluj`,'ra_Cannot find "%s"':`Nie można znaleźć „%s”`,'ra_Cannot read "%s"':`Nie można odczytać „%s”`,"ra_Cannot update attribute, because not found in the object":`Nie można zaktualizować atrybutu, ponieważ nie znaleziono go w obiekcie`,"ra_Cannot upload":`Nie można przesłać`,ra_Categories:`Kategorie`,"ra_Change color theme":`Zmień motyw kolorystyczny`,"ra_Changed from":`Zmieniony z`,"ra_Channel → State":`Kanał → Stan`,"ra_Check license":`Sprawdź licencję`,ra_Checked:`Sprawdzony`,ra_Clear:`Kasować`,"ra_Clear color":`Wyczyść kolor`,"ra_Clear filter":`Czysty filtr`,"ra_Clear icon":`Wyczyść ikonę`,ra_Close:`Blisko`,ra_Collapse:`Zwiń`,"ra_Collapse all nodes":`Zwiń wszystkie węzły`,"ra_Collapse one step node":`Zwiń o jeden poziom`,ra_Configure:`Konfiguruj`,"ra_Configure visible columns":`Skonfiguruj widoczne kolumny`,"ra_Confirm deletion of %s":`Potwierdź usunięcie %s`,ra_Connected:`Połączony`,ra_Continue:`Kontynuować`,ra_Copied:`Skopiowano`,"ra_Copied %s":`Skopiowano "%s"`,ra_Create:`Stwórz`,"ra_Create alias":`Utwórz alias`,"ra_Create folder":`Utwórz folder`,"ra_Create new folder in %s":`Utwórz nowy folder w %s`,ra_Crop:`Przyciąć`,ra_December:`Grudzień`,"ra_Define CRON...":`Zdefiniuj CRON...`,"ra_Define functions":`Zdefiniuj funkcje`,"ra_Define rooms":`Zdefiniuj pokoje`,"ra_Define schedule":`Zdefiniuj harmonogram`,"ra_Define schedule...":`Zdefiniuj harmonogram ...`,ra_Del:`Delete`,ra_Delete:`Usunąć`,"ra_Deselect all":`Odznacz wszystko`,"ra_Device → Channel → State":`Urządzenie → Kanał → Stan`,"ra_Disable/Enable translation":`Wyłącz/Włącz tłumaczenie`,ra_Discard:`Wyrzucać`,ra_Disconnected:`Niepowiązany`,"ra_Do not ask for next 2 hours in this session":`Nie proś o kolejne 2 godziny w tej sesji`,"ra_Do not export values of states":`Nie eksportuj wartości stanów`,"ra_Double click to reset table layout":`Kliknij dwukrotnie, aby zresetować układ tabeli`,"ra_Drag 'n' drop some files here, or click to select files":`Przeciągnij i upuść kilka plików tutaj lub kliknij, aby wybrać pliki`,"ra_Drop file here":`Upuść plik tutaj`,"ra_Drop the files here...":`Upuść plik tutaj...`,"ra_Duplicate name":`Zduplikowana nazwa`,ra_Edit:`Edytuj`,"ra_Edit ACL":`Edytuj listy ACL`,"ra_Edit alias":`Edytuj alias`,"ra_Edit custom config":`Edytuj konfigurację niestandardową`,"ra_Edit full path":`Edytuj pełną ścieżkę`,"ra_Edit function":`Funkcja edycji`,"ra_Edit object field":`Edytuj pole obiektu`,"ra_Edit role":`Edytuj rolę`,"ra_Edit room":`Edytuj pokój`,"ra_Edit value":`Edytuj wartość`,ra_Error:`Błąd`,ra_Expand:`Rozwiń`,"ra_Expand all nodes":`Rozwiń wszystkie węzły`,"ra_Expand one step node":`Rozwiń o jeden poziom`,"ra_Failed to open JSON File":`Nie udało się otworzyć pliku JSON`,ra_February:`Luty`,"ra_File is too big. Max %sk allowed. Try use SVG.":`Plik jest za duży. Maksymalna dozwolona liczba %sk. Spróbuj użyć SVG.`,ra_Filter:`Filtr`,"ra_Filter files":`Filtruj pliki`,"ra_Folder name":`Nazwa folderu`,"ra_Folder → Channel → State":`Folder → Kanał → Stan`,"ra_Folder → Device → Channel → State":`Folder → Urządzenie → Kanał → Stan`,"ra_Folder → State":`Folder → Stan`,"ra_Folders always first":`Foldery zawsze na pierwszym miejscu`,ra_Friday:`Piątek`,"ra_From file":`Z pliku`,"ra_From text":`Z tekstu`,"ra_Good luck":`Powodzenia`,"ra_Hide empty folders":`Ukryj puste foldery`,"ra_If no file will be created in the folder, it will disappear after the browser closed":`Jeśli w folderze nie zostanie utworzony żaden plik, zniknie on po zamknięciu przeglądarki`,"ra_Instance is not alive":`Instancja nie jest aktywna`,"ra_Invalid CRON":`Nieprawidłowy CRON`,"ra_Invalid JSON":`Nieprawidłowy JSON`,"ra_Invalid JSON file.":`Nieprawidłowy plik JSON.`,"ra_Invalid JSON format. Expected an array.":`Nieprawidłowy format JSON. Oczekiwano tablicy.`,"ra_Invalid answer from server":`Nieprawidłowa odpowiedź z serwera`,"ra_Invalid parent folder!":`Nieprawidłowy folder nadrzędny!`,"ra_Invalid structure":`Nieprawidłowa struktura`,ra_January:`Styczeń`,ra_July:`Lipiec`,ra_June:`Czerwiec`,"ra_Last change":`Ostatnia zmiana`,ra_Latitude:`Szerokość`,"ra_License is for version %s, but required version is %s.":`Licencja dotyczy wersji %s, ale wymagana wersja to %s.`,"ra_Listen on all IPs":`Słuchaj na wszystkich adresach IP`,"ra_Load configuration from file":`Załaduj konfigurację z pliku`,ra_Logout:`Wyloguj`,ra_Longitude:`Długość geograficzna`,ra_March:`Marzec`,ra_May:`Maj`,'ra_May not trigger "updateLicenses"':`Może nie uruchamiać „updateLicenses”`,ra_Message:`Wiadomość`,ra_Monday:`Poniedziałek`,"ra_Move down":`Padnij`,"ra_Move up":`Podnieść`,ra_Name:`Nazwa`,"ra_No data":`Brak danych`,"ra_No data found in file":`Nie znaleziono danych w pliku`,"ra_No response from admin":`Brak odpowiedzi od administratora`,"ra_No response from the backend":`Brak odpowiedzi z zaplecza`,'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':`Osoby nie będące ekspertami mogą tworzyć nowe obiekty tylko w „0_userdata.0” lub „alias.0”.`,"ra_Not a number":`Nie numer`,ra_November:`Listopad`,ra_Objects:`Obiekty`,ra_October:`Październik`,ra_Ok:`Dobrze`,"ra_On weekdays":`W dni powszednie`,"ra_Only following structures of objects are available:":`Dostępne są tylko następujące struktury obiektów:`,"ra_Only selected":`Tylko wybrane`,"ra_Owner group":`Grupa właścicieli`,"ra_Owner user":`Właściciel użytkownika`,ra_Palette:`Paleta`,"ra_Pick color from screen":`Wybierz kolor z ekranu`,"ra_Place your files here or click here to open the browse dialog":`Umieść swoje pliki tutaj lub kliknij tutaj, aby otworzyć okno dialogowe przeglądania`,"ra_Please confirm":`Proszę potwierdzić`,"ra_Please select file...":`Wybierz plik...`,"ra_Please select object ID...":`Wybierz identyfikator obiektu ...`,ra_Product:`Produkt`,"ra_Quality code":`Jakości`,"ra_Recently used colors":`Ostatnio używane`,"ra_Refresh tree":`Odśwież drzewo`,"ra_Reload files":`Załaduj ponownie pliki`,ra_Rename_Move_Copy:`Zmień nazwę/Przenieś/Kopiuj`,ra_Repeat:`Powtarzać`,ra_Replace:`Zastępować`,"ra_Request timed out":`Upłynął limit czasu żądania`,"ra_Restrict to folder":`Ogranicz do folderu`,ra_Root:`Korzeń`,ra_Saturday:`Sobota`,ra_Save:`Zapisać`,"ra_Save and close":`Zapisz i zamknij`,"ra_Save configuration to file":`Zapisz konfigurację do pliku`,"ra_Save objects tree as JSON file":`Zapisz drzewo obiektów jako plik JSON`,"ra_Select all":`Zaznacz wszystko`,"ra_Select color":`Wybierz kolor`,"ra_Select predefined icon":`Wybierz predefiniowaną ikonę`,"ra_Select type of export":`Wybierz rodzaj eksportu`,ra_Selected:`Wybrany`,"ra_Selected %s object(s)":`Wybrane obiekty %s`,ra_September:`Wrzesień`,"ra_Session will expire in %s seconds. Continue?":`Sesja wygaśnie za %s sekund. Kontynuować?`,"ra_Show all folders":`Pokaż wszystkie foldery`,"ra_Show lines between rows":`Pokaż linie między rzędami`,"ra_Show/Hide object descriptions":`Pokaż/ukryj opisy obiektów`,"ra_Some data are not stored. Discard?":`Niektóre dane nie są przechowywane. Wyrzucać?`,ra_States:`Stany`,ra_Sunday:`Niedziela`,"ra_Suppress question for next %s minutes":`Ukryj pytanie przez następne %s minut`,"ra_System language":`Język systemu`,'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':`Eksperci mogą tworzyć obiekty wszędzie poza drugim poziomem (np. „Vis.0” lub „javascript.0”).`,"ra_The page you are looking for was not found":`Strona, której szukasz nie została znaleziona`,"ra_The schedule will be executed every minute. Are you sure?":`Harmonogram będzie wykonywany co minutę. Czy jesteś pewien?`,"ra_The schedule will be executed every second. Are you sure?":`Harmonogram będzie wykonywany co sekundę. Czy jesteś pewien?`,ra_Thursday:`Czwartek`,ra_Timestamp:`Znak czasu`,"ra_Toggle expert mode":`Przełącz tryb eksperta`,"ra_Toggle the states view":`Przełącz widok stanów`,"ra_Toggle view mode":`Przełącz tryb widoku`,"ra_Too big":`Za duży`,"ra_Too small":`Za mały`,"ra_Transparent dialog":`Przejrzyste okno dialogowe`,ra_Tuesday:`Wtorek`,"ra_Unknown error":`Nieznany błąd`,"ra_Unknown error!":`Nieznany błąd!`,ra_Update:`Aktualizacja`,"ra_Upload file":`Przesyłanie pliku`,"ra_Use iobroker.acme adapter for letsencrypt certificates":`Użyj adaptera iobroker.acme dla certyfikatów letsencrypt`,"ra_User files":`Pliki użytkownika`,ra_Value:`Wartość`,ra_Version:`Wersja`,"ra_View file":`Zobaczyć plik`,"ra_View: %s":`Widok: %s`,ra_Wednesday:`Środa`,ra_Width:`Szerokość`,ra_Yes:`Tak`,"ra_You can export all objects or just the selected branch.":`Możesz wyeksportować wszystkie obiekty lub tylko wybraną gałąź.`,"ra_You can use * as wildcard":`Możesz użyć * jako symbolu wieloznacznego`,ra___different__:`różne`,ra_aclEveryone_read_object:`Każdy może czytać obiekt`,ra_aclEveryone_read_state:`Każdy może czytać stan`,ra_aclEveryone_write_object:`Każdy może pisać przedmiot`,ra_aclEveryone_write_state:`Każdy może pisać stan`,ra_aclGroup_read_object:`Grupa może odczytać obiekt`,ra_aclGroup_read_state:`Grupa może odczytać stan`,ra_aclGroup_write_object:`Grupa może pisać obiekt`,ra_aclGroup_write_state:`Grupa może pisać stan`,ra_aclOwner_read_object:`Właściciel może czytać obiekt`,ra_aclOwner_read_state:`Właściciel może odczytać stan`,ra_aclOwner_write_object:`Właściciel może napisać obiekt`,ra_aclOwner_write_state:`Właściciel może pisać stan`,ra_buttons:`guziki`,ra_changedFrom:`Zmieniony z`,ra_close:`blisko`,ra_create_boolean_state:`Utwórz stan logiczny`,ra_create_channel:`Utwórz kanał`,ra_create_device:`Utwórz urządzenie`,ra_create_number_state:`Utwórz stan liczbowy`,ra_create_state:`Utwórz stan`,ra_create_string_state:`Utwórz stan ciągu`,ra_daysShortText:`d.`,ra_dow_Fr:`Ks`,ra_dow_Mo:`Mo`,ra_dow_Sa:`Sa`,ra_dow_Su:`Su`,ra_dow_Th:`Th`,ra_dow_Tu:`Tu`,ra_dow_We:`My`,ra_expertMode:`Tryb ekspercki`,ra_false:`FAŁSZ`,ra_fileType_all:`Wszystkie pliki`,ra_fileType_audio:`Audio`,ra_fileType_code:`Kod/JSON`,ra_fileType_images:`Obrazy`,ra_fileType_txt:`Tekst`,ra_fileType_video:`Wideo`,"ra_fileType_video,":`Wideo`,ra_filter_customs:`Ustawienia`,ra_filter_customs_without:`bez`,ra_filter_func:`Funkcjonować`,ra_filter_id:`ID`,ra_filter_name:`Imię`,ra_filter_role:`Rola`,ra_filter_room:`Sala`,ra_filter_type:`Rodzaj`,"ra_import data from %s file":`Importuj dane z pliku %s`,ra_invalidConfig:`Nieprawidłowe ustawienia`,ra_lastChange:`Ostatnia zmiana`,ra_locally:`lokalnie`,ra_month_Apr:`kwiecień`,ra_month_Aug:`sierpień`,ra_month_Dec:`grudzień`,ra_month_Feb:`luty`,ra_month_Jan:`styczeń`,ra_month_Jul:`lipiec`,ra_month_Jun:`czerwiec`,ra_month_Mai:`Mai`,ra_month_Mar:`Zniszczyć`,ra_month_Nov:`listopad`,ra_month_Oct:`październik`,ra_month_Sep:`wrzesień`,ra_months_Apr:`kwiecień`,ra_months_Aug:`sierpień`,ra_months_Dec:`grudzień`,ra_months_Feb:`luty`,ra_months_Jan:`styczeń`,ra_months_Jul:`lipiec`,ra_months_Jun:`czerwiec`,ra_months_Mai:`Mai`,ra_months_Mar:`Zniszczyć`,ra_months_Nov:`listopad`,ra_months_Oct:`październik`,ra_months_Sep:`wrzesień`,"ra_no confirm for 5 mins":`brak potwierdzenia przez 5 minut`,ra_none:`Żaden`,ra_now:`teraz`,ra_object_changed_by:`Obiekt zmieniony przez`,ra_object_changed_by_user:`Obiekt ostatnio zmieniony o godz`,ra_otherConfig:`Ustawienia z innego adaptera %s`,ra_qualityCode:`Kod jakości`,ra_repeat:`powtarzać`,ra_select_folder_hint:`Aby wybrać folder, wystarczy przytrzymać klawisz „shift”, klikając folder.`,ra_show_all:`Pokaż wszystko`,ra_state_changed_by:`Stan zmieniony przez`,ra_state_changed_from:`Obiekt zmieniony z`,ra_timestamp:`Znak czasu`,ra_tooltip_ack:`Potwierdzon`,ra_tooltip_comment:`Komentarz`,ra_tooltip_copyState:`Skopiuj wartość stanu`,ra_tooltip_ctrlForLink:`Przytrzymaj klawisz CTRL/⌘, aby otworzyć link`,ra_tooltip_customConfig:`Własne ustawienia`,ra_tooltip_deleteObject:`Usuń obiekt`,ra_tooltip_editObject:`Edytuj obiekt`,ra_tooltip_editState:`Edytuj wartość stanu`,ra_tooltip_expire:`Wygasa za`,ra_tooltip_from:`Z`,ra_tooltip_lc:`Ostatnia zmiana`,ra_tooltip_quality:`Jakość`,ra_tooltip_ts:`Znak czasu`,ra_tooltip_user:`Użytkownik`,ra_tooltip_value:`Wartość`,ra_true:`PRAWDA`,"ra_use seconds":`użyj sekund`,ra_val:`Wartość`,"ra_via internet":`przez internet`,ra_warning_every_minute:`Ostrzeżenie: Zadanie CRON będzie uruchamiane co minutę w określonym przedziale czasowym!`,ra_warning_every_second:`Ostrzeżenie: Zadanie CRON będzie uruchamiane co sekundę w określonym przedziale czasowym!`,sc_cron:`CRON`,sc_date:`Data`,sc_dates:`Daktyle`,sc_dow:`Dzień`,sc_dows:`Dzień tygodnia`,sc_every:`Każdy`,sc_everyN_dates:`co N dni`,sc_everyN_dow:`w każdy N-ty dzień tygodnia`,sc_everyN_dows:`co N dnia tygodnia`,sc_everyN_hours:`co N godzin`,sc_everyN_minutes:`co N minut`,sc_everyN_months:`co N miesięcy`,sc_everyN_seconds:`co N sekund`,sc_every_dates:`codziennie`,sc_every_dow:`każdy dzień tygodnia`,sc_every_dows:`każdy dzień tygodnia`,sc_every_hours:`co godzinę`,sc_every_minutes:`każda minuta`,sc_every_months:`każdego miesiąca`,sc_every_seconds:`każda sekunda`,sc_from:`Od`,sc_hours:`godziny`,sc_interval:`Interwał`,sc_intervalBetween:`Interwał między`,sc_invalid_cron:`Nieprawidłowy CRON`,sc_minutes:`Minuty`,sc_months:`miesięcy`,sc_once:`Pewnego razu`,sc_period:`Kropka`,sc_seconds:`sekundy`,sc_simple:`Prosty`,sc_specific:`Określony czas`,sc_specific_dates:`konkretne daty`,sc_specific_dow:`określone dni tygodnia`,sc_specific_dows:`określony dzień tygodni`,sc_specific_hours:`określone godziny`,sc_specific_minutes:`określone minuty`,sc_specific_months:`określone miesiące`,sc_specific_seconds:`określone sekundy`,sc_time:`Czas`,sc_to:`Do`,sc_wizard:`Czarodziej`,sch_all:`wszystko`,sch_astroDay:`Dzień Astro`,sch_astroNight:`Noc Astro`,sch_astro_dawn:`Świt`,sch_astro_dusk:`Zmierzch`,sch_astro_goldenHour:`Złota godzina`,sch_astro_goldenHourEnd:`Koniec złotej godziny`,sch_astro_nadir:`Północ`,sch_astro_nauticalDawn:`Morski świt`,sch_astro_nauticalDusk:`Morski zmierzch`,sch_astro_night:`Noc`,sch_astro_nightEnd:`Koniec nocy`,sch_astro_solarNoon:`Południe słoneczne`,sch_astro_sunrise:`Wschód słońca`,sch_astro_sunriseEnd:`Koniec wschodu słońca`,sch_astro_sunset:`Zachód słońca`,sch_astro_sunsetStart:`Początek zachodu słońca`,sch_at:`w`,sch_desc_atTime:`na %s`,sch_desc_everyDay:`codziennie`,sch_desc_everyHour:`co godzinę`,sch_desc_everyMinute:`każda minuta`,sch_desc_everyMonth:`każdego miesiąca`,sch_desc_everyNDay:`każdego dnia %s`,sch_desc_everyNHours:`co %s godzin`,sch_desc_everyNMinutes:`co %s minut`,sch_desc_everyNMonths:`co %s miesięcy`,sch_desc_everyNWeeks:`co %s tygodni`,sch_desc_everyNYears:`co %s lat`,sch_desc_everyWeek:`co tydzień`,sch_desc_everyYear:`każdego roku`,sch_desc_intervalFromTo:`od %s do %s`,sch_desc_never:`nigdy`,sch_desc_onDate:`na %s z %s`,sch_desc_onDates:`na %s i %s z`,sch_desc_onEveryDate:`w każdą datę`,sch_desc_onMonth:`%s`,sch_desc_onMonths:`%s i %s`,sch_desc_onWeekday:`na %s`,sch_desc_onWeekdays:`na %s i %s`,sch_desc_onWeekends:`w weekendy`,sch_desc_onWorkdays:`w dni robocze`,sch_desc_onceInPast:`nie będzie już wykonywany, ponieważ start jest w przeszłości`,sch_desc_once_on:`na %s`,sch_desc_validFrom:`z %s`,sch_desc_validFromTo:`Wykonaj od do`,sch_desc_validTo:`do %s`,sch_every:`każdy`,sch_exactTime:`Określony czas`,sch_from:`od`,sch_fromTo:`Od-do`,sch_intervalTime:`Czas przerwy`,sch_invert:`odwracać`,sch_no_one:`Żaden`,sch_on:`na`,sch_period:`Kropka`,sch_periodDaily:`Codziennie`,sch_periodDates:`Daktyle`,sch_periodDay:`Dzień`,sch_periodEvery:`Każdy`,sch_periodEveryDay:`Codziennie`,sch_periodEveryMonth:`Każdego miesiąca`,sch_periodEveryWeek:`Co tydzień`,sch_periodEveryYear:`Każdego roku`,sch_periodHours:`godziny`,sch_periodMinutes:`Minuty`,sch_periodMonth:`miesiąc`,sch_periodMonthly:`Miesięczny`,sch_periodOnce:`Pewnego razu`,sch_periodSpecificMonths:`Określone miesiące`,sch_periodWeek:`Tydzień`,sch_periodWeekdays:`Dni powszednie`,sch_periodWeekend:`Weekend`,sch_periodWeekly:`Co tydzień`,sch_periodWorkdays:`Dni robocze`,sch_periodYear:`Rok`,sch_periodYearly:`Rocznie`,sch_specificTime:`Określony czas`,sch_time:`Czas`,sch_to:`do`,sch_valid:`Ważny`,sch_validFrom:`od`,sch_validTo:`do`,sch_wholeDay:`Cały dzień`,sch_yearEveryMonth:`każdego miesiąca`},uk:{"ra_%s links from aliases":`%s посилань із псевдонімів`,"ra_%s object(s) processed":`Оброблено %s об’єктів`,"ra_%s was imported":`%s було імпортовано`,ra_Actions:`Дії`,ra_Add:`Додати`,"ra_Add new child object to selected parent":`Додати новий дочірній об’єкт до вибраного батьківського`,"ra_Add objects tree from JSON file":`Додайте дерево об’єктів із файлу JSON`,"ra_Advanced options":`Розширені опції`,"ra_All objects":`Всі об'єкти`,ra_April:`Квітень`,"ra_Are you sure?":`Ти впевнений?`,ra_August:`Серпень`,"ra_Auto (no custom columns)":`Автоматично (без спеціальних стовпців)`,"ra_Back to %s":`Назад до %s`,"ra_Background image":`Фонове зображення`,ra_Cancel:`Скасувати`,'ra_Cannot find "%s"':`Не вдається знайти "%s"`,'ra_Cannot read "%s"':`Неможливо прочитати "%s"`,"ra_Cannot update attribute, because not found in the object":`Неможливо оновити атрибут, оскільки його не знайдено в об’єкті`,"ra_Cannot upload":`Неможливо завантажити`,ra_Categories:`Категорії`,"ra_Change color theme":`Змінити кольорову тему`,"ra_Changed from":`Змінено з`,"ra_Channel → State":`Канал → Стан`,"ra_Check license":`Перевірити ліцензію`,ra_Checked:`Перевірено`,ra_Clear:`Видалити`,"ra_Clear color":`Очистити колір`,"ra_Clear filter":`Очистити фільтр`,"ra_Clear icon":`Очистити значок`,ra_Close:`Закрити`,ra_Collapse:`Згорнути`,"ra_Collapse all nodes":`Згорнути всі вузли`,"ra_Collapse one step node":`Згорнути на один рівень`,ra_Configure:`Налаштувати`,"ra_Configure visible columns":`Налаштувати видимі стовпці`,"ra_Confirm deletion of %s":`Підтвердити видалення %s`,ra_Connected:`Підключено`,ra_Continue:`Продовжити`,ra_Copied:`Скопійовано`,"ra_Copied %s":`Скопійовано "%s"`,ra_Create:`Створити`,"ra_Create alias":`Створити псевдонім`,"ra_Create folder":`Створити папку`,"ra_Create new folder in %s":`Створіть нову папку в %s`,ra_Crop:`Урожай`,ra_December:`Грудень`,"ra_Define CRON...":`Визначити CRON...`,"ra_Define functions":`Визначити функції`,"ra_Define rooms":`Визначте кімнати`,"ra_Define schedule":`Визначити розклад`,"ra_Define schedule...":`Визначити розклад...`,ra_Del:`Delete`,ra_Delete:`Видалити`,"ra_Deselect all":`Скасувати вибір усіх`,"ra_Device → Channel → State":`Пристрій → Канал → Стан`,"ra_Disable/Enable translation":`Вимкнути/Увімкнути переклад`,ra_Discard:`Відкинути`,ra_Disconnected:`Відключено`,"ra_Do not ask for next 2 hours in this session":`Не запитуйте про наступні 2 години цього сеансу`,"ra_Do not export values of states":`Не експортуйте значення станів`,"ra_Double click to reset table layout":`Двічі клацніть, щоб скинути макет таблиці`,"ra_Drag 'n' drop some files here, or click to select files":`Перетягніть деякі файли сюди або натисніть, щоб вибрати файли`,"ra_Drop file here":`Перетягніть файл сюди`,"ra_Drop the files here...":`Перетягніть файл сюди...`,"ra_Duplicate name":`Повторюване ім'я`,ra_Edit:`Редагувати`,"ra_Edit ACL":`Редагувати ACL`,"ra_Edit alias":`Редагувати псевдонім`,"ra_Edit custom config":`Редагувати спеціальну конфігурацію`,"ra_Edit full path":`Редагувати повний шлях`,"ra_Edit function":`функція редагування`,"ra_Edit object field":`Поле редагування об'єкта`,"ra_Edit role":`Редагувати роль`,"ra_Edit room":`Редагувати кімнату`,"ra_Edit value":`Редагувати значення`,ra_Error:`Помилка`,ra_Expand:`Розгорнути`,"ra_Expand all nodes":`Розгорнути всі вузли`,"ra_Expand one step node":`Розгорніть один рівень`,"ra_Failed to open JSON File":`Не вдалося відкрити файл JSON`,ra_February:`Лютий`,"ra_File is too big. Max %sk allowed. Try use SVG.":`Файл завеликий. Максимально дозволено %sk. Спробуйте використовувати SVG.`,ra_Filter:`фільтр`,"ra_Filter files":`Фільтр файлів`,"ra_Folder name":`Назва папки`,"ra_Folder → Channel → State":`Папка → Канал → Стан`,"ra_Folder → Device → Channel → State":`Папка → Пристрій → Канал → Стан`,"ra_Folder → State":`Папка → Стан`,"ra_Folders always first":`Папки завжди першими`,ra_Friday:`П'ятниця`,"ra_From file":`З файлу`,"ra_From text":`З тексту`,"ra_Good luck":`Удачі`,"ra_Hide empty folders":`Приховати порожні папки`,"ra_If no file will be created in the folder, it will disappear after the browser closed":`Якщо в папці не буде створено файл, він зникне після закриття браузера`,"ra_Instance is not alive":`Примірник не живий`,"ra_Invalid CRON":`Недійсний CRON`,"ra_Invalid JSON":`Недійсний JSON`,"ra_Invalid JSON file.":`Недійсний JSON-файл.`,"ra_Invalid JSON format. Expected an array.":`Недійсний формат JSON. Очікується масив.`,"ra_Invalid answer from server":`Недійсна відповідь від сервера`,"ra_Invalid parent folder!":`Недійсна батьківська папка!`,"ra_Invalid structure":`Недійсна структура`,ra_January:`Січень`,ra_July:`Липень`,ra_June:`Червень`,"ra_Last change":`Остання зміна`,ra_Latitude:`Широта`,"ra_License is for version %s, but required version is %s.":`Ліцензія для версії %s, але потрібна версія %s.`,"ra_Listen on all IPs":`Прослуховування на всіх IP`,"ra_Load configuration from file":`Завантажити конфігурацію з файлу`,ra_Logout:`Вийти`,ra_Longitude:`Довгота`,ra_March:`Березень`,ra_May:`Травень`,'ra_May not trigger "updateLicenses"':`Може не запускати "updateLicenses"`,ra_Message:`повідомлення`,ra_Monday:`понеділок`,"ra_Move down":`Рухатися вниз`,"ra_Move up":`Рухатися вгору`,ra_Name:`Ім'я`,"ra_No data":`Немає даних`,"ra_No data found in file":`Немає даних у файлі`,"ra_No response from admin":`Немає відповіді від адміністратора`,"ra_No response from the backend":`Немає відповіді від сервера`,'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':`Неексперти можуть створювати нові об’єкти лише в «0_userdata.0» або «alias.0».`,"ra_Not a number":`Не номер`,ra_November:`Листопад`,ra_Objects:`Об'єкти`,ra_October:`Жовтень`,ra_Ok:`В порядку`,"ra_On weekdays":`В будні дні`,"ra_Only following structures of objects are available:":`Доступні тільки такі структури об'єктів:`,"ra_Only selected":`Тільки обрані`,"ra_Owner group":`Група власників`,"ra_Owner user":`Користувач-власник`,ra_Palette:`Палітра`,"ra_Pick color from screen":`Вибрати колір з екрана`,"ra_Place your files here or click here to open the browse dialog":`Розмістіть свої файли тут або натисніть тут, щоб відкрити діалогове вікно перегляду`,"ra_Please confirm":`Будь-ласка підтвердіть`,"ra_Please select file...":`Виберіть файл...`,"ra_Please select object ID...":`Виберіть ідентифікатор об'єкта...`,ra_Product:`Продукт`,"ra_Quality code":`якість`,"ra_Recently used colors":`Нещодавно використані`,"ra_Refresh tree":`Оновити дерево`,"ra_Reload files":`Перезавантажте файли`,ra_Rename_Move_Copy:`Перейменувати/Перемістити/Копіювати`,ra_Repeat:`Повторіть`,ra_Replace:`Замінити`,"ra_Request timed out":`Час запиту вичерпано`,"ra_Restrict to folder":`Обмежити папкою`,ra_Root:`Корінь`,ra_Saturday:`Субота`,ra_Save:`зберегти`,"ra_Save and close":`Зберегти та закрити`,"ra_Save configuration to file":`Зберегти конфігурацію у файл`,"ra_Save objects tree as JSON file":`Зберегти дерево об’єктів як файл JSON`,"ra_Select all":`Вибрати все`,"ra_Select color":`Виберіть колір`,"ra_Select predefined icon":`Виберіть попередньо визначений значок`,"ra_Select type of export":`Виберіть тип експорту`,ra_Selected:`Вибране`,"ra_Selected %s object(s)":`Вибрані об’єкти %s`,ra_September:`Вересень`,"ra_Session will expire in %s seconds. Continue?":`Сеанс закінчиться через %s секунд. Продовжити?`,"ra_Show all folders":`Показати всі папки`,"ra_Show lines between rows":`Показувати лінії між рядками`,"ra_Show/Hide object descriptions":`Показати/Сховати описи об’єктів`,"ra_Some data are not stored. Discard?":`Деякі дані не зберігаються. Відкинути?`,ra_States:`держави`,ra_Sunday:`неділя`,"ra_Suppress question for next %s minutes":`Приховати запитання на наступні %s хвилин`,"ra_System language":`Системна мова`,'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':`Експерти можуть створювати об’єкти всюди, крім другого рівня (наприклад, «vis.0» або «javascript.0»).`,"ra_The page you are looking for was not found":`Сторінка, яку ви шукаєте, не знайдена`,"ra_The schedule will be executed every minute. Are you sure?":`Розклад буде виконуватися щохвилини. Ви впевнені?`,"ra_The schedule will be executed every second. Are you sure?":`Розклад буде виконуватися щосекунди. Ви впевнені?`,ra_Thursday:`четвер`,ra_Timestamp:`Мітка часу`,"ra_Toggle expert mode":`Перемкнути експертний режим`,"ra_Toggle the states view":`Перемкнути перегляд штатів`,"ra_Toggle view mode":`Перемкнути режим перегляду`,"ra_Too big":`Занадто великий`,"ra_Too small":`Занадто малий`,"ra_Transparent dialog":`Прозорий діалог`,ra_Tuesday:`вівторок`,"ra_Unknown error":`Невідома помилка`,"ra_Unknown error!":`Невідома помилка!`,ra_Update:`оновлення`,"ra_Upload file":`Завантажити файл`,"ra_Use iobroker.acme adapter for letsencrypt certificates":`Використовуйте адаптер iobroker.acme для сертифікатів letsencrypt`,"ra_User files":`Файли користувача`,ra_Value:`Значення`,ra_Version:`Версія`,"ra_View file":`Переглянути файл`,"ra_View: %s":`Перегляд: %s`,ra_Wednesday:`Середа`,ra_Width:`Ширина`,ra_Yes:`Так`,"ra_You can export all objects or just the selected branch.":`Ви можете експортувати всі об’єкти або лише вибрану гілку.`,"ra_You can use * as wildcard":`Ви можете використовувати * як символ підстановки`,ra___different__:`інший`,ra_aclEveryone_read_object:`Кожен може читати об'єкт`,ra_aclEveryone_read_state:`Кожен може читати стан`,ra_aclEveryone_write_object:`Кожен може написати об'єкт`,ra_aclEveryone_write_state:`Кожен може написати стан`,ra_aclGroup_read_object:`Група може читати об'єкт`,ra_aclGroup_read_state:`Група може читати стан`,ra_aclGroup_write_object:`Група може писати об'єкт`,ra_aclGroup_write_state:`Група може писати стан`,ra_aclOwner_read_object:`Власник може читати об'єкт`,ra_aclOwner_read_state:`Власник може читати стан`,ra_aclOwner_write_object:`Власник може написати об'єкт`,ra_aclOwner_write_state:`Власник може написати стан`,ra_buttons:`кнопки`,ra_changedFrom:`Змінено з`,ra_close:`закрити`,ra_create_boolean_state:`Створіть логічний стан`,ra_create_channel:`Створити канал`,ra_create_device:`Створити пристрій`,ra_create_number_state:`Створити номерний стан`,ra_create_state:`Створити состояние`,ra_create_string_state:`Створити рядковий стан`,ra_daysShortText:`днів`,ra_dow_Fr:`О`,ra_dow_Mo:`пн`,ra_dow_Sa:`Sa`,ra_dow_Su:`Нд`,ra_dow_Th:`чт`,ra_dow_Tu:`вт`,ra_dow_We:`ми`,ra_expertMode:`Експертний режим`,ra_false:`НЕПРАВДА`,ra_fileType_all:`Всі файли`,ra_fileType_audio:`Аудіо`,ra_fileType_code:`Код/JSON`,ra_fileType_images:`Зображення`,ra_fileType_txt:`текст`,ra_fileType_video:`відео`,"ra_fileType_video,":`відео`,ra_filter_customs:`Налаштування`,ra_filter_customs_without:`без`,ra_filter_func:`функція`,ra_filter_id:`ID`,ra_filter_name:`Ім'я`,ra_filter_role:`Роль`,ra_filter_room:`Кімната`,ra_filter_type:`Тип`,"ra_import data from %s file":`Імпортувати дані з файлу %s`,ra_invalidConfig:`Недійсні налаштування`,ra_lastChange:`Остання зміна`,ra_locally:`локально`,ra_month_Apr:`квіт`,ra_month_Aug:`серп`,ra_month_Dec:`груд`,ra_month_Feb:`лютий`,ra_month_Jan:`січня`,ra_month_Jul:`лип`,ra_month_Jun:`черв`,ra_month_Mai:`травень`,ra_month_Mar:`березень`,ra_month_Nov:`Листопад`,ra_month_Oct:`жовт`,ra_month_Sep:`вер`,ra_months_Apr:`квіт`,ra_months_Aug:`серп`,ra_months_Dec:`груд`,ra_months_Feb:`лютий`,ra_months_Jan:`січня`,ra_months_Jul:`лип`,ra_months_Jun:`черв`,ra_months_Mai:`травень`,ra_months_Mar:`березень`,ra_months_Nov:`Листопад`,ra_months_Oct:`жовт`,ra_months_Sep:`вер`,"ra_no confirm for 5 mins":`без підтвердження протягом 5 хв`,ra_none:`немає`,ra_now:`зараз`,ra_object_changed_by:`Об'єкт змінено`,ra_object_changed_by_user:`Об'єкт востаннє змінено о`,ra_otherConfig:`Налаштування з іншого адаптера %s`,ra_qualityCode:`Код якості`,ra_repeat:`повторити`,ra_select_folder_hint:`Щоб вибрати папку, просто клацніть папку, утримуючи клавішу «Shift».`,ra_show_all:`Показати все`,ra_state_changed_by:`Стан змінено на`,ra_state_changed_from:`Об'єкт змінено з`,ra_timestamp:`Мітка часу`,ra_tooltip_ack:`Визнано`,ra_tooltip_comment:`коментар`,ra_tooltip_copyState:`Скопіюйте значення стану`,ra_tooltip_ctrlForLink:`Утримуйте клавішу Cltr/⌘, щоб відкрити посилання`,ra_tooltip_customConfig:`Спеціальні налаштування`,ra_tooltip_deleteObject:`Видалити об'єкт`,ra_tooltip_editObject:`Редагувати об'єкт`,ra_tooltip_editState:`Відредагуйте значення стану`,ra_tooltip_expire:`Термін дії закінчується через`,ra_tooltip_from:`Від`,ra_tooltip_lc:`Востаннє змінено`,ra_tooltip_quality:`якість`,ra_tooltip_ts:`Позначка часу`,ra_tooltip_user:`Користувач`,ra_tooltip_value:`Значення`,ra_true:`ПРАВДА`,"ra_use seconds":`використовуйте секунди`,ra_val:`Значення`,"ra_via internet":`через інтернет`,ra_warning_every_minute:`Попередження: завдання CRON виконуватиметься щохвилини протягом зазначеного періоду!`,ra_warning_every_second:`Попередження: завдання CRON виконуватиметься кожну секунду протягом зазначеного періоду!`,sc_cron:`CRON`,sc_date:`Дата`,sc_dates:`дати`,sc_dow:`День`,sc_dows:`День тижня`,sc_every:`кожен`,sc_everyN_dates:`кожні N днів`,sc_everyN_dow:`кожен N-й день тижня`,sc_everyN_dows:`кожні N днів тижня`,sc_everyN_hours:`кожні N годин`,sc_everyN_minutes:`кожні N хвилин`,sc_everyN_months:`кожні N місяців`,sc_everyN_seconds:`кожні N секунд`,sc_every_dates:`кожен день`,sc_every_dow:`кожен день тижня`,sc_every_dows:`кожен день тижня`,sc_every_hours:`щогодини`,sc_every_minutes:`кожну хвилину`,sc_every_months:`щомісяця`,sc_every_seconds:`кожна секунда`,sc_from:`Від`,sc_hours:`години`,sc_interval:`Інтервал`,sc_intervalBetween:`Інтервал між`,sc_invalid_cron:`Недійсний CRON`,sc_minutes:`хвилин`,sc_months:`місяців`,sc_once:`Один раз`,sc_period:`Крапка`,sc_seconds:`секунд`,sc_simple:`просто`,sc_specific:`Конкретний час`,sc_specific_dates:`конкретні дати`,sc_specific_dow:`конкретний день (дні) тижня`,sc_specific_dows:`конкретний день тижня`,sc_specific_hours:`конкретні години`,sc_specific_minutes:`конкретні хвилини`,sc_specific_months:`конкретні місяці`,sc_specific_seconds:`конкретні секунди`,sc_time:`час`,sc_to:`до`,sc_wizard:`майстер`,sch_all:`все`,sch_astroDay:`Астродень`,sch_astroNight:`Астро ніч`,sch_astro_dawn:`Світанок`,sch_astro_dusk:`Сутінки`,sch_astro_goldenHour:`Золота година`,sch_astro_goldenHourEnd:`Кінець золотої години`,sch_astro_nadir:`Надір`,sch_astro_nauticalDawn:`Морський світанок`,sch_astro_nauticalDusk:`Морські сутінки`,sch_astro_night:`ніч`,sch_astro_nightEnd:`Кінець ночі`,sch_astro_solarNoon:`Сонячний полудень`,sch_astro_sunrise:`Схід сонця`,sch_astro_sunriseEnd:`Кінець сходу сонця`,sch_astro_sunset:`Захід сонця`,sch_astro_sunsetStart:`Початок заходу сонця`,sch_at:`в`,sch_desc_atTime:`в %s`,sch_desc_everyDay:`кожен день`,sch_desc_everyHour:`щогодини`,sch_desc_everyMinute:`кожну хвилину`,sch_desc_everyMonth:`щомісяця`,sch_desc_everyNDay:`кожен %s день`,sch_desc_everyNHours:`кожні %s годин`,sch_desc_everyNMinutes:`кожні %s хвилин`,sch_desc_everyNMonths:`кожні %s місяців`,sch_desc_everyNWeeks:`кожні %s тижнів`,sch_desc_everyNYears:`кожні %s років`,sch_desc_everyWeek:`щотижня`,sch_desc_everyYear:`щороку`,sch_desc_intervalFromTo:`від %s до %s`,sch_desc_never:`ніколи`,sch_desc_onDate:`на %s з %s`,sch_desc_onDates:`на %s і %s з`,sch_desc_onEveryDate:`на кожну дату`,sch_desc_onMonth:`%s`,sch_desc_onMonths:`%s і %s`,sch_desc_onWeekday:`на %s`,sch_desc_onWeekdays:`на %s і %s`,sch_desc_onWeekends:`на вихідних`,sch_desc_onWorkdays:`в робочі дні`,sch_desc_onceInPast:`більше не виконуватиметься, оскільки запуск у минулому`,sch_desc_once_on:`на %s`,sch_desc_validFrom:`від %s`,sch_desc_validFromTo:`Виконати від до`,sch_desc_validTo:`до %s`,sch_every:`кожен`,sch_exactTime:`Конкретний час`,sch_from:`від`,sch_fromTo:`Від до`,sch_intervalTime:`Час інтервалу`,sch_invert:`інвертувати`,sch_no_one:`немає`,sch_on:`на`,sch_period:`Крапка`,sch_periodDaily:`Щодня`,sch_periodDates:`дати`,sch_periodDay:`День`,sch_periodEvery:`кожен`,sch_periodEveryDay:`Кожен день`,sch_periodEveryMonth:`Щомісяця`,sch_periodEveryWeek:`Щотижня`,sch_periodEveryYear:`Щороку`,sch_periodHours:`години`,sch_periodMinutes:`хвилин`,sch_periodMonth:`місяць`,sch_periodMonthly:`Щомісяця`,sch_periodOnce:`Один раз`,sch_periodSpecificMonths:`Конкретні місяці`,sch_periodWeek:`тиждень`,sch_periodWeekdays:`будні`,sch_periodWeekend:`Вихідні`,sch_periodWeekly:`Щотижня`,sch_periodWorkdays:`робочі дні`,sch_periodYear:`рік`,sch_periodYearly:`щорічно`,sch_specificTime:`Конкретний час`,sch_time:`час`,sch_to:`до`,sch_valid:`Дійсний`,sch_validFrom:`від`,sch_validTo:`до`,sch_wholeDay:`Цілий день`,sch_yearEveryMonth:`щомісяця`},"zh-cn":{"ra_%s links from aliases":`来自别名的 %s 个链接`,"ra_%s object(s) processed":`已处理%s个对象`,"ra_%s was imported":`对象已导入`,ra_Actions:`操作`,ra_Add:`添加`,"ra_Add new child object to selected parent":`将新的子对象添加到选定的父对象`,"ra_Add objects tree from JSON file":`从JSON文件添加对象树`,"ra_Advanced options":`高级选项`,"ra_All objects":`所有对象`,ra_April:`四月`,"ra_Are you sure?":`你确定吗?`,ra_August:`八月`,"ra_Auto (no custom columns)":`自动(无自定义列)`,"ra_Back to %s":`返回“%s”`,"ra_Background image":`背景图像`,ra_Cancel:`取消`,'ra_Cannot find "%s"':`找不到“%s”`,'ra_Cannot read "%s"':`无法阅读“%s”`,"ra_Cannot update attribute, because not found in the object":`无法更新属性,因为在对象中找不到`,"ra_Cannot upload":`无法上传`,ra_Categories:`类别`,"ra_Change color theme":`更改颜色主题`,"ra_Changed from":`更改为`,"ra_Channel → State":`频道→状态`,"ra_Check license":`检查许可证`,ra_Checked:`勾选`,ra_Clear:`删除`,"ra_Clear color":`清除颜色`,"ra_Clear filter":`清除筛选`,"ra_Clear icon":`清除图标`,ra_Close:`关`,ra_Collapse:`折叠`,"ra_Collapse all nodes":`收合所有节点`,"ra_Collapse one step node":`折叠一级`,ra_Configure:`配置`,"ra_Configure visible columns":`配置可见列`,"ra_Confirm deletion of %s":`确认删除%s`,ra_Connected:`连接的`,ra_Continue:`继续`,ra_Copied:`复制的`,"ra_Copied %s":`复制的"%s"`,ra_Create:`创建`,"ra_Create alias":`创建别名`,"ra_Create folder":`创建文件夹`,"ra_Create new folder in %s":`在%s中创建新文件夹`,ra_Crop:`庄稼`,ra_December:`十二月`,"ra_Define CRON...":`定义 CRON...`,"ra_Define functions":`定义功能`,"ra_Define rooms":`定义房间`,"ra_Define schedule":`定义时间表`,"ra_Define schedule...":`定义时间表...`,ra_Del:`Delete`,ra_Delete:`删除`,"ra_Deselect all":`全部取消选择`,"ra_Device → Channel → State":`设备→频道→状态`,"ra_Disable/Enable translation":`禁用/启用翻译`,ra_Discard:`丢弃`,ra_Disconnected:`断开连接`,"ra_Do not ask for next 2 hours in this session":`本次会话中不要询问接下来的 2 个小时`,"ra_Do not export values of states":`不导出状态值`,"ra_Double click to reset table layout":`双击重置表格布局`,"ra_Drag 'n' drop some files here, or click to select files":`将一些文件拖放到此处,或单击以选择文件`,"ra_Drop file here":`将档案放在这里`,"ra_Drop the files here...":`把文件放在这里...`,"ra_Duplicate name":`名称重复`,ra_Edit:`编辑`,"ra_Edit ACL":`编辑访问控制列表`,"ra_Edit alias":`编辑别名`,"ra_Edit custom config":`编辑自定义配置`,"ra_Edit full path":`编辑完整路径`,"ra_Edit function":`编辑功能`,"ra_Edit object field":`编辑对象字段`,"ra_Edit role":`编辑角色`,"ra_Edit room":`编辑室`,"ra_Edit value":`编辑值`,ra_Error:`错误`,ra_Expand:`展开`,"ra_Expand all nodes":`展开所有节点`,"ra_Expand one step node":`扩大一级`,"ra_Failed to open JSON File":`无法打开JSON文件`,ra_February:`二月`,"ra_File is too big. Max %sk allowed. Try use SVG.":`文件太大。允许的最大字节%s数。尝试使用 SVG。`,ra_Filter:`筛选`,"ra_Filter files":`过滤文件`,"ra_Folder name":`文件夹名称`,"ra_Folder → Channel → State":`文件夹→频道→状态`,"ra_Folder → Device → Channel → State":`文件夹→设备→频道→状态`,"ra_Folder → State":`文件夹→状态`,"ra_Folders always first":`资料夹永远优先`,ra_Friday:`星期五`,"ra_From file":`从文件`,"ra_From text":`文本`,"ra_Good luck":`祝你好运`,"ra_Hide empty folders":`隐藏空文件夹`,"ra_If no file will be created in the folder, it will disappear after the browser closed":`如果在该文件夹中未创建任何文件,则该文件将在浏览器关闭后消失`,"ra_Instance is not alive":`实例不存在`,"ra_Invalid CRON":`无效的 CRON`,"ra_Invalid JSON":`JSON 无效`,"ra_Invalid JSON file.":`无效的JSON文件。`,"ra_Invalid JSON format. Expected an array.":`JSON格式无效。应为数组。`,"ra_Invalid answer from server":`来自服务器的无效答案`,"ra_Invalid parent folder!":`父文件夹无效!`,"ra_Invalid structure":`结构无效`,ra_January:`一月`,ra_July:`七月`,ra_June:`六月`,"ra_Last change":`最后一次变更`,ra_Latitude:`纬度`,"ra_License is for version %s, but required version is %s.":`许可证适用于版本 %s,但所需版本为 %s。`,"ra_Listen on all IPs":`监听所有IP`,"ra_Load configuration from file":`从文件加载配置`,ra_Logout:`登出`,ra_Longitude:`经度`,ra_March:`三月`,ra_May:`五月`,'ra_May not trigger "updateLicenses"':`可能不会触发“updateLicenses”`,ra_Message:`信息`,ra_Monday:`周一`,"ra_Move down":`下移`,"ra_Move up":`提升`,ra_Name:`姓名`,"ra_No data":`无数据`,"ra_No data found in file":`文件中未找到数据`,"ra_No response from admin":`管理员没有回应`,"ra_No response from the backend":`后端无响应`,'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':`非专家只能在“ 0_userdata.0”或“ alias.0”中创建新对象。`,"ra_Not a number":`不是数字`,ra_November:`十一月`,ra_Objects:`对象`,ra_October:`十月`,ra_Ok:`好`,"ra_On weekdays":`在工作日`,"ra_Only following structures of objects are available:":`仅以下对象结构可用:`,"ra_Only selected":`只选择`,"ra_Owner group":`所有者组`,"ra_Owner user":`所有者用户`,ra_Palette:`调色板`,"ra_Pick color from screen":`从屏幕拾取颜色`,"ra_Place your files here or click here to open the browse dialog":`将文件放在此处或单击此处打开浏览对话框`,"ra_Please confirm":`请确认`,"ra_Please select file...":`请选择文件...`,"ra_Please select object ID...":`请选择对象ID ...`,ra_Product:`产品`,"ra_Quality code":`质量代码`,"ra_Recently used colors":`最近使用`,"ra_Refresh tree":`刷新树`,"ra_Reload files":`重新载入文件`,ra_Rename_Move_Copy:`重命名/移动/复制`,ra_Repeat:`重复`,ra_Replace:`代替`,"ra_Request timed out":`请求超时`,"ra_Restrict to folder":`限制到文件夹`,ra_Root:`根`,ra_Saturday:`周六`,ra_Save:`保存`,"ra_Save and close":`保存并关闭`,"ra_Save configuration to file":`将配置保存到文件`,"ra_Save objects tree as JSON file":`将对象树另存为JSON文件`,"ra_Select all":`全选`,"ra_Select color":`选择颜色`,"ra_Select predefined icon":`选择预定义图标`,"ra_Select type of export":`选择导出类型`,ra_Selected:`已选`,"ra_Selected %s object(s)":`选定的 %s 个对象`,ra_September:`九月`,"ra_Session will expire in %s seconds. Continue?":`会话将在 %s 秒后过期。是否继续?`,"ra_Show all folders":`显示所有文件夹`,"ra_Show lines between rows":`显示行之间的线`,"ra_Show/Hide object descriptions":`显示/隐藏对象描述`,"ra_Some data are not stored. Discard?":`部分数据未存储。丢弃?`,ra_States:`状态`,ra_Sunday:`星期日`,"ra_Suppress question for next %s minutes":`在接下来的%s分钟内取消提问`,"ra_System language":`系统语言`,'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':`专家可以在任何地方创建对象,但要从第二层开始(例如“ vis.0”或“ javascript.0”)。`,"ra_The page you are looking for was not found":`未找到您要查找的页面`,"ra_The schedule will be executed every minute. Are you sure?":`该计划将每分钟执行一次。您确定吗?`,"ra_The schedule will be executed every second. Are you sure?":`该计划将每秒执行一次。你确定吗?`,ra_Thursday:`周四`,ra_Timestamp:`时间戳记`,"ra_Toggle expert mode":`切换专家模式`,"ra_Toggle the states view":`切换状态视图`,"ra_Toggle view mode":`切换检视模式`,"ra_Too big":`太大`,"ra_Too small":`太小`,"ra_Transparent dialog":`透明对话框`,ra_Tuesday:`周二`,"ra_Unknown error":`未知错误`,"ra_Unknown error!":`未知错误!`,ra_Update:`更新资料`,"ra_Upload file":`上传文件`,"ra_Use iobroker.acme adapter for letsencrypt certificates":`使用 iobroker.acme 适配器获取 letsencrypt 证书`,"ra_User files":`用户档案`,ra_Value:`值`,ra_Version:`版本`,"ra_View file":`查看文件`,"ra_View: %s":`查看:%s`,ra_Wednesday:`周三`,ra_Width:`宽度`,ra_Yes:`是的`,"ra_You can export all objects or just the selected branch.":`您可以导出所有对象或仅导出选定的分支。`,"ra_You can use * as wildcard":`您可以使用 * 作为通配符`,ra___different__:`不同的`,ra_aclEveryone_read_object:`每个人都可以阅读对象`,ra_aclEveryone_read_state:`每个人都可以阅读状态`,ra_aclEveryone_write_object:`每个人都可以写对象`,ra_aclEveryone_write_state:`每个人都可以写状态`,ra_aclGroup_read_object:`组可以读取对象`,ra_aclGroup_read_state:`群组可以读取状态`,ra_aclGroup_write_object:`组可以写对象`,ra_aclGroup_write_state:`组可以写状态`,ra_aclOwner_read_object:`所有者可以读取对象`,ra_aclOwner_read_state:`所有者可以读取状态`,ra_aclOwner_write_object:`所有者可以写对象`,ra_aclOwner_write_state:`所有者可以写状态`,ra_buttons:`纽扣`,ra_changedFrom:`更改为`,ra_close:`关闭`,ra_create_boolean_state:`创建布尔状态`,ra_create_channel:`创建频道`,ra_create_device:`创建设备`,ra_create_number_state:`创建号码状态`,ra_create_state:`创建状态`,ra_create_string_state:`创建字符串状态`,ra_daysShortText:`天`,ra_dow_Fr:`r`,ra_dow_Mo:`莫`,ra_dow_Sa:`萨`,ra_dow_Su:`苏`,ra_dow_Th:`Th`,ra_dow_Tu:`Tu`,ra_dow_We:`我们`,ra_expertMode:`专家模式`,ra_false:`错误的`,ra_fileType_all:`所有文件`,ra_fileType_audio:`声音的`,ra_fileType_code:`代码/JSON`,ra_fileType_images:`图片`,ra_fileType_txt:`文本`,ra_fileType_video:`视频`,"ra_fileType_video,":`视频`,ra_filter_customs:`设定值`,ra_filter_customs_without:`没有`,ra_filter_func:`功能`,ra_filter_id:`ID`,ra_filter_name:`名称`,ra_filter_role:`角色`,ra_filter_room:`房间`,ra_filter_type:`类型`,"ra_import data from %s file":`从 %s 文件导入数据`,ra_invalidConfig:`无效的设定`,ra_lastChange:`最后一次变更`,ra_locally:`本地`,ra_month_Apr:`4月`,ra_month_Aug:`八月`,ra_month_Dec:`十二月`,ra_month_Feb:`二月`,ra_month_Jan:`简`,ra_month_Jul:`七月`,ra_month_Jun:`君`,ra_month_Mai:`迈`,ra_month_Mar:`三月`,ra_month_Nov:`十一月`,ra_month_Oct:`十月`,ra_month_Sep:`九月`,ra_months_Apr:`4月`,ra_months_Aug:`八月`,ra_months_Dec:`十二月`,ra_months_Feb:`二月`,ra_months_Jan:`简`,ra_months_Jul:`七月`,ra_months_Jun:`君`,ra_months_Mai:`迈`,ra_months_Mar:`三月`,ra_months_Nov:`十一月`,ra_months_Oct:`十月`,ra_months_Sep:`九月`,"ra_no confirm for 5 mins":`5分钟内无需确认`,ra_none:`没有任何`,ra_now:`现在`,ra_object_changed_by:`物件变更者`,ra_object_changed_by_user:`对象上次更改时间为`,ra_otherConfig:`来自其他适配器%s的设置`,ra_qualityCode:`质量代码`,ra_repeat:`重复`,ra_select_folder_hint:`要选择文件夹,只需按住“shift”键单击文件夹即可。`,ra_show_all:`显示全部`,ra_state_changed_by:`状态由`,ra_state_changed_from:`对象已从更改`,ra_timestamp:`时间戳记`,ra_tooltip_ack:`致谢国旗`,ra_tooltip_comment:`评论`,ra_tooltip_copyState:`复制状态值`,ra_tooltip_ctrlForLink:`按住 Cltr/⌘ 键打开链接`,ra_tooltip_customConfig:`自定义设置`,ra_tooltip_deleteObject:`删除物件`,ra_tooltip_editObject:`编辑物件`,ra_tooltip_editState:`编辑状态值`,ra_tooltip_expire:`有效期:`,ra_tooltip_from:`从`,ra_tooltip_lc:`最后改变了`,ra_tooltip_quality:`质量`,ra_tooltip_ts:`时间戳`,ra_tooltip_user:`用户`,ra_tooltip_value:`值`,ra_true:`真的`,"ra_use seconds":`用秒`,ra_val:`值`,"ra_via internet":`通过互联网`,ra_warning_every_minute:`警告:CRON 作业将在指定期间内每分钟运行一次!`,ra_warning_every_second:`警告:CRON 作业将在指定期间内每秒运行一次!`,sc_cron:`周期任务`,sc_date:`日期`,sc_dates:`日`,sc_dow:`天`,sc_dows:`星期`,sc_every:`每`,sc_everyN_dates:`每N天`,sc_everyN_dow:`每周的第 N 天`,sc_everyN_dows:`每周N天`,sc_everyN_hours:`每N小时一次`,sc_everyN_minutes:`每N分钟`,sc_everyN_months:`每N个月`,sc_everyN_seconds:`每N秒`,sc_every_dates:`每天`,sc_every_dow:`一周的每一天`,sc_every_dows:`一周的每一天`,sc_every_hours:`每小时`,sc_every_minutes:`每分钟`,sc_every_months:`每月`,sc_every_seconds:`每秒`,sc_from:`从`,sc_hours:`小时`,sc_interval:`间隔`,sc_intervalBetween:`间隔时间`,sc_invalid_cron:`无效的 CRON`,sc_minutes:`分钟`,sc_months:`月`,sc_once:`一次`,sc_period:`周期`,sc_seconds:`秒`,sc_simple:`简单模式`,sc_specific:`特定的时间`,sc_specific_dates:`特定的日子`,sc_specific_dow:`一周中的特定日子`,sc_specific_dows:`特定的一周`,sc_specific_hours:`特定的小时`,sc_specific_minutes:`特定的分钟`,sc_specific_months:`特定的月份`,sc_specific_seconds:`特定的描述`,sc_time:`时间`,sc_to:`至`,sc_wizard:`向导模式`,sch_all:`全选`,sch_astroDay:`天文白天`,sch_astroNight:`天文夜晚`,sch_astro_dawn:`黎明`,sch_astro_dusk:`黄昏`,sch_astro_goldenHour:`黄金时段`,sch_astro_goldenHourEnd:`黄金时段结束`,sch_astro_nadir:`天底`,sch_astro_nauticalDawn:`航海黎明`,sch_astro_nauticalDusk:`航海黄昏`,sch_astro_night:`夜晚`,sch_astro_nightEnd:`夜晚结束`,sch_astro_solarNoon:`正午`,sch_astro_sunrise:`日出`,sch_astro_sunriseEnd:`日出结束`,sch_astro_sunset:`日落`,sch_astro_sunsetStart:`日落开始`,sch_at:`在`,sch_desc_atTime:`的%s`,sch_desc_everyDay:`每天`,sch_desc_everyHour:`每小时`,sch_desc_everyMinute:`每分钟`,sch_desc_everyMonth:`每月`,sch_desc_everyNDay:`每%s天`,sch_desc_everyNHours:`每%s小时`,sch_desc_everyNMinutes:`每%s分钟`,sch_desc_everyNMonths:`每%s月`,sch_desc_everyNWeeks:`每%s周`,sch_desc_everyNYears:`每%s年`,sch_desc_everyWeek:`每周`,sch_desc_everyYear:`每年`,sch_desc_intervalFromTo:`从%s到%s`,sch_desc_never:`决不`,sch_desc_onDate:`在%s的%s上`,sch_desc_onDates:`在%s和%s上`,sch_desc_onEveryDate:`在每天`,sch_desc_onMonth:`%s`,sch_desc_onMonths:`%s和%s`,sch_desc_onWeekday:`在%s上`,sch_desc_onWeekdays:`在%s和%s上`,sch_desc_onWeekends:`在周末`,sch_desc_onWorkdays:`在工作日`,sch_desc_onceInPast:`将不再执行,因为起始时间已经是过去的时间了。`,sch_desc_once_on:`在%s上`,sch_desc_validFrom:`来自%s`,sch_desc_validFromTo:`从执行到`,sch_desc_validTo:`到%s`,sch_every:`每`,sch_exactTime:`特定的时间`,sch_from:`从`,sch_fromTo:`从到`,sch_intervalTime:`间隔时间`,sch_invert:`倒置`,sch_no_one:`取消全选`,sch_on:`的`,sch_period:`周期`,sch_periodDaily:`每天`,sch_periodDates:`日期`,sch_periodDay:`天`,sch_periodEvery:`每`,sch_periodEveryDay:`每天`,sch_periodEveryMonth:`每月`,sch_periodEveryWeek:`每周`,sch_periodEveryYear:`每年`,sch_periodHours:`小时`,sch_periodMinutes:`分钟`,sch_periodMonth:`月`,sch_periodMonthly:`每月一次`,sch_periodOnce:`一次`,sch_periodSpecificMonths:`特定的月份`,sch_periodWeek:`周`,sch_periodWeekdays:`工作日`,sch_periodWeekend:`周末`,sch_periodWeekly:`每周`,sch_periodWorkdays:`工作日`,sch_periodYear:`年`,sch_periodYearly:`每年`,sch_specificTime:`特定的时间`,sch_time:`时间`,sch_to:`至`,sch_valid:`生效`,sch_validFrom:`从`,sch_validTo:`至`,sch_wholeDay:`一整天`,sch_yearEveryMonth:`每月`}},Yk=`
|
|
595
|
+
html {
|
|
596
|
+
height: 100%;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
body {
|
|
600
|
+
margin: 0;
|
|
601
|
+
padding: 0;
|
|
602
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
603
|
+
-webkit-font-smoothing: antialiased;
|
|
604
|
+
-moz-osx-font-smoothing: grayscale;
|
|
605
|
+
width: 100%;
|
|
606
|
+
height: 100%;
|
|
607
|
+
overflow: hidden;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/* scrollbar */
|
|
611
|
+
::-webkit-scrollbar-track {
|
|
612
|
+
background-color: #ccc;
|
|
613
|
+
border-radius: 5px;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
::-webkit-scrollbar {
|
|
617
|
+
width: 5px;
|
|
618
|
+
height: 5px;
|
|
619
|
+
background-color: #ccc;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
::-webkit-scrollbar-thumb {
|
|
623
|
+
background-color: #575757;
|
|
624
|
+
border-radius: 5px;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
#root {
|
|
628
|
+
height: 100%;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.App {
|
|
632
|
+
height: 100%;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
@keyframes glow {
|
|
636
|
+
from {
|
|
637
|
+
background-color: initial;
|
|
638
|
+
}
|
|
639
|
+
to {
|
|
640
|
+
background-color: #58c458;
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
`;function Xk(){try{return window.self!==window.top}catch{return!0}}var Zk=class e extends Ok{socket;isIFrame=Xk();instance;adapterName;instanceId;newReact;encryptedFields;sentryDSN;alertDialogRendered;_secret;_systemConfig;savedNative;common=null;sentryStarted=!1;sentryInited=!1;resizeTimer=null;constructor(t,n){let r=t.Connection||n?.Connection||Oy;if(!window.document.getElementById(`generic-app-iobroker-component`)){let e=window.document.createElement(`style`);e.setAttribute(`id`,`generic-app-iobroker-component`),e.innerHTML=Yk,window.document.head.appendChild(e)}if(!e.isWeb()&&window.io&&window.location.port===`3000`)try{let e=new window.SocketClient;delete window.io,window.io=e}catch{}super(t),hk();let i=(window.location.search||``).replace(/^\?/,``).replace(/#.*$/,``),a={};i.trim().split(`&`).filter(e=>e.trim()).forEach(e=>{let t=e.split(`=`),[n,r]=t;a[n]=t.length!==2||r,a[n]===`true`?a[n]=!0:a[n]===`false`&&(a[n]=!1)}),this.instance=n?.instance??t.instance??(a.instance===void 0?parseInt(window.location.search.slice(1),10)||0:parseInt(a.instance,10)||0);let o=window.location.pathname.split(`/`);this.adapterName=n?.adapterName||t.adapterName||window.adapterName||o[o.length-2]||`iot`,this.instanceId=`system.adapter.${this.adapterName}.${this.instance}`,this.newReact=a.newReact===!0;let s=Ok.getLocation();s.tab=s.tab||(window._localStorage||window.localStorage).getItem(`${this.adapterName}-adapter`)||``;let c=this.createTheme(a.theme);this.state={...this.state,selectedTab:(window._localStorage||window.localStorage).getItem(`${this.adapterName}-adapter`)||``,selectedTabNum:-1,native:{},errorText:``,changed:!1,connected:!1,loaded:!1,isConfigurationError:``,expertMode:!1,toast:``,theme:c,themeName:this.getThemeName(c),themeType:this.getThemeType(c),bottomButtons:(n&&n.bottomButtons)!==!1&&t?.bottomButtons!==!1,width:e.getWidth(),confirmClose:!1,_alert:!1,_alertType:`info`,_alertMessage:``};let l=Jk;n?.translations?Object.keys(n.translations).forEach(e=>{n.translations&&(l[e]=Object.assign(l[e],n.translations[e]||{}))}):t.translations&&Object.keys(t.translations).forEach(e=>{t.translations&&(l[e]=Object.assign(l[e],t.translations[e]||{}))}),Pk.setTranslations(l),this.savedNative={},this.encryptedFields=t.encryptedFields||n?.encryptedFields||[],this.sentryDSN=n?.sentryDSN||t.sentryDSN,window.socketUrl&&(window.socketUrl.startsWith(`:`)?window.socketUrl=`${window.location.protocol}//${window.location.hostname}${window.socketUrl}`:!window.socketUrl.startsWith(`http://`)&&!window.socketUrl.startsWith(`https://`)&&(window.socketUrl=`${window.location.protocol}//${window.socketUrl}`)),this.alertDialogRendered=!1,window.iobOldAlert||(window.iobOldAlert=window.alert),window.alert=e=>{this.alertDialogRendered?e?.toString().toLowerCase().includes(`error`)?(console.error(e),this.showAlert(e.toString(),`error`)):(console.log(e),this.showAlert(e.toString(),`info`)):window.iobOldAlert(e)},this.socket=new r({...t?.socket||n?.socket,name:this.adapterName,doNotLoadAllObjects:n?.doNotLoadAllObjects,onProgress:e=>{e===Ty.CONNECTING?this.setState({connected:!1}):(Ty.READY,this.setState({connected:!0}))},onReady:()=>{Pk.setLanguage(this.socket.systemLang),this.socket.subscribeObject(`system.config`,this.onSystemConfigChanged).then(()=>this.getSystemConfig()).then(e=>(this._secret=e!==void 0&&e.native&&e.native.secret||`Zgfr56gFe87jJOM`,this._systemConfig=e?.common||{},this.socket.getObject(this.instanceId))).then(async e=>{let t,n=e,r=(await this.socket.getState(`${this.instanceId}.plugins.sentry.enabled`))?.val!==!1&&this._systemConfig?.diag!==`none`&&n?.common&&n.common.name&&n.common.version&&!n.common.disableDataReporting&&window.location.host!==`localhost:3000`;!this.sentryStarted&&this.sentryDSN&&r&&(this.sentryStarted=!0,NO({dsn:this.sentryDSN,release:`iobroker.${n.common.name}@${n.common.version}`,integrations:[eE()]}),console.log(`Sentry initialized`)),!this.sentryInited&&r&&(this.sentryInited=!0,t=this.socket.getObject(`system.meta.uuid`).then(e=>{e&&e.native&&e.native.uuid&&Qx().setUser({id:e.native.uuid})})),t=t instanceof Promise?t:Promise.resolve(),t.then(()=>{n?(this.common=n?.common,this.onPrepareLoad(n.native,n.encryptedNative),this.savedNative=JSON.parse(JSON.stringify(n.native)),this.setState({native:n.native,loaded:!0,expertMode:this.getExpertMode()},()=>this.onConnectionReady&&this.onConnectionReady())):(console.warn(`Cannot load instance settings`),this.setState({native:{},loaded:!0,expertMode:this.getExpertMode()},()=>this.onConnectionReady&&this.onConnectionReady()))})}).catch(e=>window.alert(`Cannot settings: ${e}`))},onError:e=>{console.error(e),this.showError(e)}})}static isWeb(){return window.socketUrl!==void 0}showAlert(e,t){t!==`error`&&t!==`warning`&&t!==`info`&&t!==`success`&&(t=`info`),this.setState({_alert:!0,_alertType:t,_alertMessage:e})}renderAlertSnackbar(){return this.alertDialogRendered=!0,V.createElement(jv,{style:this.state._alertType===`error`?{backgroundColor:`#f44336`}:this.state._alertType===`success`?{backgroundColor:`#4caf50`}:void 0,open:this.state._alert,autoHideDuration:6e3,onClose:(e,t)=>t!==`clickaway`&&this.setState({_alert:!1}),message:this.state._alertMessage})}onSystemConfigChanged=(e,t)=>{t&&e===`system.config`&&(this.socket.systemLang!==t?.common.language&&(this.socket.systemLang=t?.common.language||`en`,Pk.setLanguage(this.socket.systemLang)),this._systemConfig?.expertMode===!!t?.common?.expertMode?this._systemConfig=t?.common||{}:(this._systemConfig=t?.common||{},this.setState({expertMode:this.getExpertMode()})))};componentDidMount(){window.addEventListener(`resize`,this.onResize,!0),window.addEventListener(`message`,this.onReceiveMessage,!1),super.componentDidMount()}componentWillUnmount(){window.removeEventListener(`resize`,this.onResize,!0),window.removeEventListener(`message`,this.onReceiveMessage,!1),this.resizeTimer&&=(clearTimeout(this.resizeTimer),null),window.iobOldAlert&&(window.alert=window.iobOldAlert,delete window.iobOldAlert),super.componentWillUnmount()}onReceiveMessage=e=>{if(e?.data){if(typeof e.data==`string`&&e.data===`updateTheme`||e.data&&typeof e.data==`object`&&e.data.type===`updateTheme`){let e=Vk.getThemeName();Vk.setThemeName(e);let t=this.createTheme(e);this.setState({theme:t,themeName:this.getThemeName(t),themeType:this.getThemeType(t)},()=>{this.props.onThemeChange&&this.props.onThemeChange(e),this.onThemeChanged&&this.onThemeChanged(e)})}else e.data===`updateExpertMode`?this.onToggleExpertMode&&this.onToggleExpertMode(this.getExpertMode()):e.data!==`chartReady`&&console.debug(`Received unknown message: "${JSON.stringify(e.data)}". May be it will be processed later`)}};onResize=()=>{this.resizeTimer&&clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{this.resizeTimer=null,this.setState({width:e.getWidth()})},200)};static getWidth(){let e={xs:0,sm:600,md:960,lg:1280,xl:1920},t=window.innerWidth;return Object.keys(e).reverse().find(n=>t>=e[n])||`xs`}createTheme(e){return yy(Vk.getThemeName(e))}getThemeName(e){return e.name}getThemeType(e){return e.palette.mode}onThemeChanged(e){}onToggleExpertMode(e){}toggleTheme(e){let t=this.state.themeName;if(e||=Vk.toggleTheme(t),e!==t){Vk.setThemeName(e);let t=this.createTheme(e);this.setState({theme:t,themeName:this.getThemeName(t),themeType:this.getThemeType(t)},()=>{this.props.onThemeChange&&this.props.onThemeChange(e||`light`),this.onThemeChanged&&this.onThemeChanged(e||`light`)})}}getSystemConfig(){return this.socket.getSystemConfig()}getExpertMode(){return window.sessionStorage.getItem(`App.expertMode`)===`true`||!!this._systemConfig?.expertMode}onConnectionReady(){}encrypt(e){let t=``;if(this._secret)for(let n=0;n<e.length;n++)t+=String.fromCharCode(this._secret[n%this._secret.length].charCodeAt(0)^e.charCodeAt(n));return t}decrypt(e){let t=``;if(this._secret)for(let n=0;n<e.length;n++)t+=String.fromCharCode(this._secret[n%this._secret.length].charCodeAt(0)^e.charCodeAt(n));return t}onHashChanged(){let e=Ok.getLocation();e.tab!==this.state.selectedTab&&this.selectTab(e.tab)}selectTab(e,t){(window._localStorage||window.localStorage).setItem(`${this.adapterName}-adapter`,e),this.setState({selectedTab:e,selectedTabNum:t})}onPrepareSave(e){return this.encryptedFields?.forEach(t=>{e[t]&&(e[t]=this.encrypt(e[t]))}),!0}onPrepareLoad(e,t){this.encryptedFields?.forEach(t=>{e[t]&&(e[t]=this.decrypt(e[t]))}),t?.forEach(t=>{this.encryptedFields=this.encryptedFields||[],!this.encryptedFields.includes(t)&&this.encryptedFields.push(t),e[t]&&(e[t]=this.decrypt(e[t]))})}async getExtendableInstances(){try{let e=await this.socket.getObjectViewSystem(`instance`,`system.adapter.`,`system.adapter.香`);return Object.values(e).filter(e=>!!e?.common?.webExtendable)}catch{return[]}}async getIpAddresses(e){let t=await this.socket.getHostByIp(e||this.common?.host||``),n=t.find(e=>e.address===`0.0.0.0`);n&&(n.name=`[IPv4] 0.0.0.0 - ${Pk.t(`ra_Listen on all IPs`)}`);let r=t.find(e=>e.address===`::`);return r&&(r.name=`[IPv6] :: - ${Pk.t(`ra_Listen on all IPs`)}`),t}onSave(t){let n;this.state.isConfigurationError?this.setState({errorText:this.state.isConfigurationError}):this.socket.getObject(this.instanceId).then(e=>{n=e||{};for(let e in this.state.native)Object.prototype.hasOwnProperty.call(this.state.native,e)&&(this.state.native[e]===null?n.native[e]=null:this.state.native[e]===void 0?delete n.native[e]:n.native[e]=JSON.parse(JSON.stringify(this.state.native[e])));if(this.state.common)for(let e in this.state.common)this.state.common[e]===null?n.common[e]=null:this.state.common[e]===void 0?delete n.common[e]:n.common[e]=JSON.parse(JSON.stringify(this.state.common[e]));return this.onPrepareSave(n.native)===!1?Promise.reject(Error(`Invalid configuration`)):this.socket.setObject(this.instanceId,n)}).then(()=>{this.savedNative=n.native,globalThis.changed=!1;try{window.parent.postMessage(`nochange`,`*`)}catch{}this.setState({changed:!1},()=>{t&&e.onClose()})}).catch(e=>console.error(`Cannot save configuration: ${e}`))}renderToast(){return this.state.toast?V.createElement(jv,{anchorOrigin:{vertical:`bottom`,horizontal:`left`},open:!0,autoHideDuration:6e3,onClose:()=>this.setState({toast:``}),slotProps:{content:{"aria-describedby":`message-id`}},message:V.createElement(`span`,{id:`message-id`},this.state.toast),action:[V.createElement(Eu,{key:`close`,"aria-label":`Close`,color:`inherit`,onClick:()=>this.setState({toast:``}),size:`large`},V.createElement(VO,null))]}):null}static onClose(){if(window.parent!==void 0&&window.parent)try{window.parent.$iframeDialog&&typeof window.parent.$iframeDialog.close==`function`?window.parent.$iframeDialog.close():window.parent.postMessage(`close`,`*`)}catch{window.parent.postMessage(`close`,`*`)}}renderError(){return this.state.errorText?V.createElement(qk,{text:this.state.errorText,onClose:()=>this.setState({errorText:``})}):null}getIsChanged(e){e||=this.state.native;let t=JSON.stringify(e)!==JSON.stringify(this.savedNative);return globalThis.changed=t,t}onLoadConfig(e){JSON.stringify(e)!==JSON.stringify(this.state.native)&&this.setState({native:e,changed:this.getIsChanged(e)})}setConfigurationError(e){this.state.isConfigurationError!==e&&this.setState({isConfigurationError:e})}renderSaveCloseButtons(){return!this.state.confirmClose&&!this.state.bottomButtons?null:V.createElement(V.Fragment,null,this.state.bottomButtons?V.createElement(Uk,{theme:this.state.theme,newReact:this.newReact,noTextOnButtons:this.state.width===`xs`||this.state.width===`sm`||this.state.width===`md`,changed:this.state.changed,onSave:e=>this.onSave(e),onClose:()=>{this.state.changed?this.setState({confirmClose:!0}):e.onClose()},error:!!this.state.isConfigurationError}):null,this.state.confirmClose?V.createElement(Gk,{title:Pk.t(`ra_Please confirm`),text:Pk.t(`ra_Some data are not stored. Discard?`),ok:Pk.t(`ra_Discard`),cancel:Pk.t(`ra_Cancel`),onClose:t=>this.setState({confirmClose:!1},()=>t&&e.onClose())}):null)}_updateNativeValue(e,t,n){typeof t!=`object`&&(t=t.split(`.`));let r=t.shift()||``;if(!t.length)return n&&typeof n==`object`?JSON.stringify(e[r])!==JSON.stringify(n)&&(e[r]=n,!0):e[r]!==n&&(e[r]=n,!0);if(e[r]=e[r]||{},typeof e[r]!=`object`)throw Error(`attribute ${r} is no object, but ${typeof e[r]}`);return this._updateNativeValue(e[r],t,n)}updateNativeValue(e,t,n){let r=JSON.parse(JSON.stringify(this.state.native));if(this._updateNativeValue(r,e,t)){let e=this.getIsChanged(r);if(e!==this.state.changed)try{window.parent.postMessage(e?`change`:`nochange`,`*`)}catch{}this.setState({native:r,changed:e},n)}}showError(e){this.setState({errorText:e})}showToast(e){this.setState({toast:e})}renderHelperDialogs(){return V.createElement(V.Fragment,null,this.renderError(),this.renderToast(),this.renderSaveCloseButtons(),this.renderAlertSnackbar())}render(){return this.state.loaded?V.createElement(`div`,{className:`App`},this.renderError(),this.renderToast(),this.renderSaveCloseButtons(),this.renderAlertSnackbar()):V.createElement(Dk,{themeType:this.state.themeType})}},Qk=o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define(`cronstrue`,[],r):typeof e==`object`?e.cronstrue=r():n.cronstrue=r()})(globalThis,()=>(()=>{var e={949(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.CronParser=void 0;var r=n(515);t.CronParser=function(){function e(e,t,n){t===void 0&&(t=!0),n===void 0&&(n=!1),this.expression=e,this.dayOfWeekStartIndexZero=t,this.monthStartIndexZero=n}return e.prototype.parse=function(){var e,t=this.expression??``;if(t===`@reboot`)return e=[`@reboot`,``,``,``,``,``,``],e;if(t.startsWith(`@`)){var n=this.parseSpecial(this.expression);e=this.extractParts(n)}else e=this.extractParts(this.expression);return this.normalize(e),this.validate(e),e},e.prototype.parseSpecial=function(e){var t={"@yearly":`0 0 1 1 *`,"@annually":`0 0 1 1 *`,"@monthly":`0 0 1 * *`,"@weekly":`0 0 * * 0`,"@daily":`0 0 * * *`,"@midnight":`0 0 * * *`,"@hourly":`0 * * * *`,"@reboot":`@reboot`}[e];if(!t)throw Error(`Unknown special expression.`);return t},e.prototype.extractParts=function(e){if(!this.expression)throw Error(`cron expression is empty`);for(var t=e.trim().split(/[ ]+/),n=0;n<t.length;n++)if(t[n].includes(`,`)){var r=t[n].split(`,`).map(function(e){return e.trim()}).filter(function(e){return e!==``}).map(function(e){return isNaN(Number(e))?e:Number(e)}).filter(function(e){return e!==null&&e!==``});r.length===0&&r.push(`*`),r.sort(function(e,t){return e!==null&&t!==null?e-t:0}),t[n]=r.map(function(e){return e===null?``:e.toString()}).join(`,`)}if(t.length<5)throw Error(`Expression has only ${t.length} part${t.length==1?``:`s`}. At least 5 parts are required.`);if(t.length==5)t.unshift(``),t.push(``);else if(t.length==6)/\d{4}$/.test(t[5])||t[4]==`?`||t[2]==`?`?t.unshift(``):t.push(``);else if(t.length>7)throw Error(`Expression has ${t.length} parts; too many!`);return t},e.prototype.normalize=function(e){var t=this;if(e[3]=e[3].replace(`?`,`*`),e[5]=e[5].replace(`?`,`*`),e[2]=e[2].replace(`?`,`*`),e[0].indexOf(`0/`)==0&&(e[0]=e[0].replace(`0/`,`*/`)),e[1].indexOf(`0/`)==0&&(e[1]=e[1].replace(`0/`,`*/`)),e[2].indexOf(`0/`)==0&&(e[2]=e[2].replace(`0/`,`*/`)),e[3].indexOf(`1/`)==0&&(e[3]=e[3].replace(`1/`,`*/`)),e[4].indexOf(`1/`)==0&&(e[4]=e[4].replace(`1/`,`*/`)),e[6].indexOf(`1/`)==0&&(e[6]=e[6].replace(`1/`,`*/`)),e[5]=e[5].replace(/(^\d)|([^#/\s]\d)/g,function(e){var n=e.replace(/\D/,``),r=n;return t.dayOfWeekStartIndexZero?n==`7`&&(r=`0`):r=(parseInt(n)-1).toString(),e.replace(n,r)}),e[5]==`L`&&(e[5]=`6`),e[3]==`?`&&(e[3]=`*`),e[3].indexOf(`W`)>-1&&(e[3].indexOf(`,`)>-1||e[3].indexOf(`-`)>-1))throw Error(`The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.`);var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)e[5]=e[5].replace(new RegExp(r,`gi`),n[r].toString());e[4]=e[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,function(e){var n=e.replace(/\D/,``),r=n;return t.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),e.replace(n,r)});var i={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var a in i)e[4]=e[4].replace(new RegExp(a,`gi`),i[a].toString());e[0]==`0`&&(e[0]=``),!/\*|\-|\,|\//.test(e[2])&&(/\*|\//.test(e[1])||/\*|\//.test(e[0]))&&(e[2]+=`-${e[2]}`);for(var o=0;o<e.length;o++)if(e[o].indexOf(`,`)!=-1&&(e[o]=e[o].split(`,`).filter(function(e){return e!==``}).join(`,`)||`*`),e[o]==`*/1`&&(e[o]=`*`),e[o].indexOf(`/`)>-1&&!/^\*|\-|\,/.test(e[o])){var s=null;switch(o){case 4:s=`12`;break;case 5:s=`6`;break;case 6:s=`9999`;break;default:s=null}if(s!==null){var c=e[o].split(`/`);e[o]=`${c[0]}-${s}/${c[1]}`}}},e.prototype.validate=function(e){var t=`0-9,\\-*/`;this.validateOnlyExpectedCharactersFound(e[0],t),this.validateOnlyExpectedCharactersFound(e[1],t),this.validateOnlyExpectedCharactersFound(e[2],t),this.validateOnlyExpectedCharactersFound(e[3],`0-9,\\-*/LW`),this.validateOnlyExpectedCharactersFound(e[4],t),this.validateOnlyExpectedCharactersFound(e[5],`0-9,\\-*/L#`),this.validateOnlyExpectedCharactersFound(e[6],t),this.validateAnyRanges(e)},e.prototype.validateAnyRanges=function(e){r.default.secondRange(e[0]),r.default.minuteRange(e[1]),r.default.hourRange(e[2]),r.default.dayOfMonthRange(e[3]),r.default.monthRange(e[4],this.monthStartIndexZero),r.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)},e.prototype.validateOnlyExpectedCharactersFound=function(e,t){var n=e.match(RegExp(`[^${t}]+`,`gi`));if(n&&n.length)throw Error(`Expression contains invalid values: '${n.toString()}'`)},e}()},333(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ExpressionDescriptor=void 0;var r=n(823),i=n(949);t.ExpressionDescriptor=function(){function e(t,n){if(this.expression=t,this.options=n,this.expressionParts=[,,,,,],!this.options.locale&&e.defaultLocale&&(this.options.locale=e.defaultLocale),!e.locales[this.options.locale]){var r=Object.keys(e.locales)[0];console.warn(`Locale '${this.options.locale}' could not be found; falling back to '${r}'.`),this.options.locale=r}this.i18n=e.locales[this.options.locale],n.use24HourTimeFormat===void 0&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return e.toString=function(t,n){var r=n===void 0?{}:n,i=r.throwExceptionOnParseError,a=i===void 0||i,o=r.verbose,s=o!==void 0&&o,c=r.dayOfWeekStartIndexZero,l=c===void 0||c,u=r.monthStartIndexZero,d=u!==void 0&&u,f=r.use24HourTimeFormat,p=r.trimHoursLeadingZero,m=p!==void 0&&p,h=r.locale,g=h===void 0?null:h,_=r.logicalAndDayFields,v={throwExceptionOnParseError:a,verbose:s,dayOfWeekStartIndexZero:l,monthStartIndexZero:d,use24HourTimeFormat:f,trimHoursLeadingZero:m,locale:g,logicalAndDayFields:_!==void 0&&_};return v.tzOffset&&console.warn(`'tzOffset' option has been deprecated and is no longer supported.`),new e(t,v).getFullDescription()},e.initialize=function(t,n){n===void 0&&(n=`en`),e.specialCharacters=[`/`,`-`,`,`,`*`],e.defaultLocale=n,t.load(e.locales)},e.prototype.getFullDescription=function(){var e,t=``;try{var n=new i.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);if(this.expressionParts=n.parse(),this.expressionParts[0]===`@reboot`)return(e=this.i18n).atReboot?.call(e)||`Run once, at startup`;var r=this.getTimeOfDayDescription(),a=this.getDayOfMonthDescription(),o=this.getMonthDescription(),s=this.getDayOfWeekDescription(),c=this.getYearDescription();t+=r+a+s+o+c,t=this.transformVerbosity(t,!!this.options.verbose),t=t.charAt(0).toLocaleUpperCase()+t.substr(1)}catch(e){if(!this.options.throwExceptionOnParseError)t=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();else throw`${e}`}return t},e.prototype.getTimeOfDayDescription=function(){var t=this.expressionParts[0],n=this.expressionParts[1],i=this.expressionParts[2],a=``;if(!r.StringUtilities.containsAny(n,e.specialCharacters)&&!r.StringUtilities.containsAny(i,e.specialCharacters)&&!r.StringUtilities.containsAny(t,e.specialCharacters))a+=this.i18n.atSpace()+this.formatTime(i,n,t);else if(!t&&n.indexOf(`-`)>-1&&!(n.indexOf(`,`)>-1)&&!(n.indexOf(`/`)>-1)&&!r.StringUtilities.containsAny(i,e.specialCharacters)){var o=n.split(`-`);a+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(i,o[0],``),this.formatTime(i,o[1],``))}else if(!t&&i.indexOf(`,`)>-1&&i.indexOf(`-`)==-1&&i.indexOf(`/`)==-1&&!r.StringUtilities.containsAny(n,e.specialCharacters)){var s=i.split(`,`);a+=this.i18n.at();for(var c=0;c<s.length;c++)a&&(a+=` `),a+=this.formatTime(s[c],n,``),c<s.length-2&&(a+=`,`),c==s.length-2&&(a+=this.i18n.spaceAnd())}else{var l=this.getSecondsDescription(),u=this.getMinutesDescription(),d=this.getHoursDescription();if(a+=l,a&&u&&(a+=`, `),a+=u,u===d)return a;a&&d&&(a+=`, `),a+=d}return a},e.prototype.getSecondsDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(e){return e},function(t){return r.StringUtilities.format(e.i18n.everyX0Seconds(t),t)},function(t){return e.i18n.secondsX0ThroughX1PastTheMinute()},function(t){return t==`0`?``:parseInt(t)<20?e.i18n.atX0SecondsPastTheMinute(t):e.i18n.atX0SecondsPastTheMinuteGt20()||e.i18n.atX0SecondsPastTheMinute(t)})},e.prototype.getMinutesDescription=function(){var e=this,t=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(e){return e},function(t){return r.StringUtilities.format(e.i18n.everyX0Minutes(t),t)},function(t){return e.i18n.minutesX0ThroughX1PastTheHour()},function(r){var i;try{return r==`0`&&n.indexOf(`/`)==-1&&t==``?e.i18n.everyHour():r==`0`?(i=e.i18n).onTheHour?.call(i)||e.i18n.atX0MinutesPastTheHour(r):parseInt(r)<20?e.i18n.atX0MinutesPastTheHour(r):e.i18n.atX0MinutesPastTheHourGt20()||e.i18n.atX0MinutesPastTheHour(r)}catch{return e.i18n.atX0MinutesPastTheHour(r)}})},e.prototype.getHoursDescription=function(){var e=this,t=this.expressionParts[2],n=0,i=[];t.split(`/`)[0].split(`,`).forEach(function(e){var t=e.split(`-`);t.length===2&&i.push({value:t[1],index:n+1}),n+=t.length});var a=0;return this.getSegmentDescription(t,this.i18n.everyHour(),function(t){var n=i.find(function(e){return e.value===t&&e.index===a})&&e.expressionParts[1]!==`0`;return a++,n?e.formatTime(t,`59`,``):e.formatTime(t,`0`,``)},function(t){return r.StringUtilities.format(e.i18n.everyX0Hours(t),t)},function(t){return e.i18n.betweenX0AndX1()},function(t){return e.i18n.atX0()})},e.prototype.getDayOfWeekDescription=function(){var e=this,t=this.i18n.daysOfTheWeek(),n=null;return n=this.expressionParts[5]==`*`?``:this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(n,r){var i=n;n.indexOf(`#`)>-1?i=n.substring(0,n.indexOf(`#`)):n.indexOf(`L`)>-1&&(i=i.replace(`L`,``));var a=parseInt(i),o=e.i18n.daysOfTheWeekInCase?e.i18n.daysOfTheWeekInCase(r)[a]:t[a];if(n.indexOf(`#`)>-1){var s=null,c=n.substring(n.indexOf(`#`)+1),l=n.substring(0,n.indexOf(`#`));switch(c){case`1`:s=e.i18n.first(l);break;case`2`:s=e.i18n.second(l);break;case`3`:s=e.i18n.third(l);break;case`4`:s=e.i18n.fourth(l);break;case`5`:s=e.i18n.fifth(l)}o=s+` `+o}return o},function(t){return parseInt(t)==1?``:r.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(t),t)},function(t){var n=t.substring(0,t.indexOf(`-`));return e.expressionParts[3]==`*`?e.i18n.commaX0ThroughX1(n):e.i18n.commaAndX0ThroughX1(n)},function(t){var n=null;if(t.indexOf(`#`)>-1){var r=t.substring(t.indexOf(`#`)+1),i=t.substring(0,t.indexOf(`#`));n=e.i18n.commaOnThe(r,i).trim()+e.i18n.spaceX0OfTheMonth()}else n=t.indexOf(`L`)>-1?e.i18n.commaOnTheLastX0OfTheMonth(t.replace(`L`,``)):e.expressionParts[3]==`*`||e.options.logicalAndDayFields?e.i18n.commaOnlyOnX0(t):e.i18n.commaAndOnX0();return n}),n},e.prototype.getMonthDescription=function(){var e=this,t=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],``,function(n,r){return r&&e.i18n.monthsOfTheYearInCase?e.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:t[parseInt(n)-1]},function(t){return parseInt(t)==1?``:r.StringUtilities.format(e.i18n.commaEveryX0Months(t),t)},function(t){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()})},e.prototype.getDayOfMonthDescription=function(){var e=this,t=null,n=this.expressionParts[3];switch(n){case`L`:t=this.i18n.commaOnTheLastDayOfTheMonth();break;case`WL`:case`LW`:t=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var i=n.match(/(\d{1,2}W)|(W\d{1,2})/);if(i){var a=parseInt(i[0].replace(`W`,``)),o=a==1?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),a.toString());t=r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),o);break}var s=n.match(/L-(\d{1,2})/);if(s){var c=s[1];t=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(c),c);break}if(n==`*`&&this.expressionParts[5]!=`*`)return``;t=this.getSegmentDescription(n,this.i18n.commaEveryDay(),function(t){return t==`L`?e.i18n.lastDay():e.i18n.dayX0?r.StringUtilities.format(e.i18n.dayX0(),t):t},function(t){return t==`1`?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days(t)},function(t){return e.i18n.commaBetweenDayX0AndX1OfTheMonth(t)},function(t){return e.i18n.commaOnDayX0OfTheMonth(t)})}return t},e.prototype.getYearDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[6],``,function(e){return/^\d+$/.test(e)?new Date(parseInt(e),1).getFullYear().toString():e},function(t){return r.StringUtilities.format(e.i18n.commaEveryX0Years(t),t)},function(t){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()})},e.prototype.getSegmentDescription=function(e,t,n,i,a,o){var s=null,c=e.indexOf(`/`)>-1,l=e.indexOf(`-`)>-1,u=e.indexOf(`,`)>-1;if(!e)s=``;else if(e===`*`)s=t;else if(!c&&!l&&!u)s=r.StringUtilities.format(o(e),n(e));else if(u){for(var d=e.split(`,`),f=``,p=this.i18n.spaceAnd(),m=0;m<d.length;m++)if(m>0&&d.length>2&&(f+=`,`,m<d.length-1&&(f+=` `)),m>0&&d.length>1&&(m==d.length-1||d.length==2)&&(f+=p==`,`&&d.length>2?` `:`${p} `),d[m].indexOf(`/`)>-1||d[m].indexOf(`-`)>-1){var h=d[m].indexOf(`-`)>-1&&d[m].indexOf(`/`)==-1,g=this.getSegmentDescription(d[m],t,n,i,h?this.i18n.commaX0ThroughX1:a,o);h&&(g=g.replace(`, `,``)),f+=g}else if(!c)f+=n(d[m]);else{var _=this.getSegmentDescription(d[m],t,n,i,a,o);_&&_.startsWith(`, `)&&(_=_.substring(2)),f+=_}s=c?f:r.StringUtilities.format(o(e),f)}else if(c){var d=e.split(`/`);if(s=r.StringUtilities.format(i(d[1]),d[1]),d[0].indexOf(`-`)>-1){var v=this.generateRangeSegmentDescription(d[0],a,n);v.indexOf(`, `)!=0&&(s+=`, `),s+=v}else if(d[0].indexOf(`*`)==-1){var y=r.StringUtilities.format(o(d[0]),n(d[0]));y=y.replace(`, `,``),s+=r.StringUtilities.format(this.i18n.commaStartingX0(),y)}}else l&&(s=this.generateRangeSegmentDescription(e,a,n));return s},e.prototype.generateRangeSegmentDescription=function(e,t,n){var i=``,a=e.split(`-`),o=n(a[0],1),s=n(a[1],2),c=t(e);return i+=r.StringUtilities.format(c,o,s),i},e.prototype.formatTime=function(e,t,n){var r=0,i=0,a=parseInt(e)+r,o=parseInt(t)+i;o>=60?(o-=60,a+=1):o<0&&(o+=60,--a),a>=24?a-=24:a<0&&(a=24+a);var s=``,c=!1;this.options.use24HourTimeFormat||(c=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime()),s=c?`${this.getPeriod(a)} `:` ${this.getPeriod(a)}`,a>12&&(a-=12),a===0&&(a=12));var l=``;n&&(l=`:${(`00`+n).substring(n.length)}`);var u=a.toString(),d=(`00`+u).substring(u.length),f=o.toString(),p=(`00`+f).substring(f.length),m=this.options.trimHoursLeadingZero?u:d;return`${c?s:``}${m}:${p}${l}${c?``:s}`},e.prototype.transformVerbosity=function(e,t){if(!t&&(e=e.replace(RegExp(`, ${this.i18n.everyMinute()}`,`g`),``),e=e.replace(RegExp(`, ${this.i18n.everyHour()}`,`g`),``),e=e.replace(new RegExp(this.i18n.commaEveryDay(),`g`),``),e=e.replace(/\, ?$/,``),this.i18n.conciseVerbosityReplacements))for(var n=0,r=Object.entries(this.i18n.conciseVerbosityReplacements());n<r.length;n++){var i=r[n],a=i[0],o=i[1];e=e.replace(new RegExp(a,`g`),o)}return e},e.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||`PM`:this.i18n.am&&this.i18n.am()||`AM`},e.locales={},e}()},747(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.enLocaleLoader=void 0;var r=n(486);t.enLocaleLoader=function(){function e(){}return e.prototype.load=function(e){e.en=new r.en},e}()},486(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.en=void 0,t.en=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`An error occurred when generating the expression description. Check the cron expression syntax.`},e.prototype.everyMinute=function(){return`every minute`},e.prototype.everyHour=function(){return`every hour`},e.prototype.atSpace=function(){return`At `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Every minute between %s and %s`},e.prototype.at=function(){return`At`},e.prototype.spaceAnd=function(){return` and`},e.prototype.everySecond=function(){return`every second`},e.prototype.everyX0Seconds=function(){return`every %s seconds`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`seconds %s through %s past the minute`},e.prototype.atX0SecondsPastTheMinute=function(){return`at %s seconds past the minute`},e.prototype.everyX0Minutes=function(){return`every %s minutes`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minutes %s through %s past the hour`},e.prototype.atX0MinutesPastTheHour=function(){return`at %s minutes past the hour`},e.prototype.everyX0Hours=function(){return`every %s hours`},e.prototype.betweenX0AndX1=function(){return`between %s and %s`},e.prototype.atX0=function(){return`at %s`},e.prototype.commaEveryDay=function(){return`, every day`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, every %s days of the week`},e.prototype.commaX0ThroughX1=function(){return`, %s through %s`},e.prototype.commaAndX0ThroughX1=function(){return`, %s through %s`},e.prototype.first=function(){return`first`},e.prototype.second=function(){return`second`},e.prototype.third=function(){return`third`},e.prototype.fourth=function(){return`fourth`},e.prototype.fifth=function(){return`fifth`},e.prototype.commaOnThe=function(){return`, on the `},e.prototype.spaceX0OfTheMonth=function(){return` %s of the month`},e.prototype.lastDay=function(){return`the last day`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, on the last %s of the month`},e.prototype.commaOnlyOnX0=function(){return`, only on %s`},e.prototype.commaAndOnX0=function(){return`, and on %s`},e.prototype.commaEveryX0Months=function(){return`, every %s months`},e.prototype.commaOnlyInX0=function(){return`, only in %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, on the last day of the month`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, on the last weekday of the month`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s days before the last day of the month`},e.prototype.firstWeekday=function(){return`first weekday`},e.prototype.weekdayNearestDayX0=function(){return`weekday nearest day %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, on the %s of the month`},e.prototype.commaEveryX0Days=function(){return`, every %s days in a month`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, between day %s and %s of the month`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, on day %s of the month`},e.prototype.commaEveryHour=function(){return`, every hour`},e.prototype.commaEveryX0Years=function(){return`, every %s years`},e.prototype.commaStartingX0=function(){return`, starting %s`},e.prototype.daysOfTheWeek=function(){return[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},e.prototype.monthsOfTheYear=function(){return[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},e.prototype.atReboot=function(){return`Run once, at startup`},e.prototype.onTheHour=function(){return`on the hour`},e}()},515(e,t){Object.defineProperty(t,"__esModule",{value:!0});function n(e,t){if(!e)throw Error(t)}t.default=function(){function e(){}return e.secondRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=0&&i<=59,`seconds part must be >= 0 and <= 59`)}},e.minuteRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=0&&i<=59,`minutes part must be >= 0 and <= 59`)}},e.hourRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=0&&i<=23,`hours part must be >= 0 and <= 23`)}},e.dayOfMonthRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=1&&i<=31,`DOM part must be >= 1 and <= 31`)}},e.monthRange=function(e,t){for(var r=e.split(`,`),i=0;i<r.length;i++)if(!isNaN(parseInt(r[i],10))){var a=parseInt(r[i],10);n(a>=1&&a<=12,t?`month part must be >= 0 and <= 11`:`month part must be >= 1 and <= 12`)}},e.dayOfWeekRange=function(e,t){for(var r=e.split(`,`),i=0;i<r.length;i++)if(!isNaN(parseInt(r[i],10))){var a=parseInt(r[i],10);n(a>=0&&a<=6,t?`DOW part must be >= 0 and <= 6`:`DOW part must be >= 1 and <= 7`)}},e}()},823(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtilities=void 0,t.StringUtilities=function(){function e(){}return e.format=function(e){var t=[...arguments].slice(1);return e.replace(/%s/g,function(e){return t.shift()})},e.containsAny=function(e,t){return t.some(function(t){return e.indexOf(t)>-1})},e}()}},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.toString=void 0;var t=n(333),i=n(747);t.ExpressionDescriptor.initialize(new i.enLocaleLoader),e.default=t.ExpressionDescriptor,e.toString=t.ExpressionDescriptor.toString})(),r})())})),$k=o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(Qk()):typeof define==`function`&&define.amd?define(`locales/fr`,[`cronstrue`],r):typeof e==`object`?e["locales/fr"]=r(Qk()):n[`locales/fr`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.fr=void 0;var c=function(){function e(){}return e.prototype.conciseVerbosityReplacements=function(){return{"de le":`du`}},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Une erreur est survenue en générant la description de l'expression cron. Vérifiez sa syntaxe.`},e.prototype.everyMinute=function(){return`toutes les minutes`},e.prototype.everyHour=function(){return`toutes les heures`},e.prototype.atSpace=function(){return`À `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Toutes les minutes entre %s et %s`},e.prototype.at=function(){return`À`},e.prototype.spaceAnd=function(){return` et`},e.prototype.everySecond=function(){return`toutes les secondes`},e.prototype.everyX0Seconds=function(){return`toutes les %s secondes`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`les secondes entre %s et %s après la minute`},e.prototype.atX0SecondsPastTheMinute=function(){return`%s secondes après la minute`},e.prototype.everyX0Minutes=function(){return`toutes les %s minutes`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`les minutes entre %s et %s après l'heure`},e.prototype.atX0MinutesPastTheHour=function(){return`%s minutes après l'heure`},e.prototype.everyX0Hours=function(){return`toutes les %s heures`},e.prototype.betweenX0AndX1=function(){return`de %s à %s`},e.prototype.atX0=function(){return`%s`},e.prototype.commaEveryDay=function(){return`, tous les jours`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, tous les %s jours de la semaine`},e.prototype.commaX0ThroughX1=function(){return`, de %s à %s`},e.prototype.commaAndX0ThroughX1=function(){return`, et de %s à %s`},e.prototype.first=function(){return`premier`},e.prototype.second=function(){return`second`},e.prototype.third=function(){return`troisième`},e.prototype.fourth=function(){return`quatrième`},e.prototype.fifth=function(){return`cinquième`},e.prototype.commaOnThe=function(){return`, le `},e.prototype.spaceX0OfTheMonth=function(){return` %s du mois`},e.prototype.lastDay=function(){return`le dernier jour`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, le dernier %s du mois`},e.prototype.commaOnlyOnX0=function(){return`, uniquement le %s`},e.prototype.commaAndOnX0=function(){return`, et %s`},e.prototype.commaEveryX0Months=function(){return`, tous les %s mois`},e.prototype.commaOnlyInX0=function(){return`, uniquement en %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, le dernier jour du mois`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, le dernier jour ouvrable du mois`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s jours avant le dernier jour du mois`},e.prototype.firstWeekday=function(){return`premier jour ouvrable`},e.prototype.weekdayNearestDayX0=function(){return`jour ouvrable le plus proche du %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, le %s du mois`},e.prototype.commaEveryX0Days=function(){return`, tous les %s jours`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, du %s au %s du mois`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, le %s du mois`},e.prototype.commaEveryHour=function(){return`, chaque heure`},e.prototype.commaEveryX0Years=function(){return`, tous les %s ans`},e.prototype.commaDaysX0ThroughX1=function(){return`, du %s au %s`},e.prototype.commaStartingX0=function(){return`, à partir de %s`},e.prototype.daysOfTheWeek=function(){return[`dimanche`,`lundi`,`mardi`,`mercredi`,`jeudi`,`vendredi`,`samedi`]},e.prototype.monthsOfTheYear=function(){return[`janvier`,`février`,`mars`,`avril`,`mai`,`juin`,`juillet`,`août`,`septembre`,`octobre`,`novembre`,`décembre`]},e.prototype.onTheHour=function(){return`à l'heure pile`},e}();return s.fr=c,o().locales.fr=new c,i})())})),eA=o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(Qk()):typeof define==`function`&&define.amd?define(`locales/es`,[`cronstrue`],r):typeof e==`object`?e["locales/es"]=r(Qk()):n[`locales/es`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.es=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Ocurrió un error mientras se generaba la descripción de la expresión. Revise la sintaxis de la expresión de cron.`},e.prototype.at=function(){return`A las`},e.prototype.atSpace=function(){return`A las `},e.prototype.atX0=function(){return`a las %s`},e.prototype.atX0MinutesPastTheHour=function(){return`a los %s minutos de la hora`},e.prototype.atX0SecondsPastTheMinute=function(){return`a los %s segundos del minuto`},e.prototype.betweenX0AndX1=function(){return`entre las %s y las %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, entre los días %s y %s del mes`},e.prototype.commaEveryDay=function(){return`, cada día`},e.prototype.commaEveryX0Days=function(){return`, cada %s días`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, cada %s días de la semana`},e.prototype.commaEveryX0Months=function(){return`, cada %s meses`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, el día %s del mes`},e.prototype.commaOnlyInX0=function(){return`, sólo en %s`},e.prototype.commaOnlyOnX0=function(){return`, sólo el %s`},e.prototype.commaAndOnX0=function(){return`, y el %s`},e.prototype.commaOnThe=function(){return`, en el `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, en el último día del mes`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, en el último día de la semana del mes`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s días antes del último día del mes`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, en el último %s del mes`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, en el %s del mes`},e.prototype.commaX0ThroughX1=function(){return`, de %s a %s`},e.prototype.commaAndX0ThroughX1=function(){return`, y de %s a %s`},e.prototype.everyHour=function(){return`cada hora`},e.prototype.everyMinute=function(){return`cada minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`cada minuto entre las %s y las %s`},e.prototype.everySecond=function(){return`cada segundo`},e.prototype.everyX0Hours=function(){return`cada %s horas`},e.prototype.everyX0Minutes=function(){return`cada %s minutos`},e.prototype.everyX0Seconds=function(){return`cada %s segundos`},e.prototype.fifth=function(){return`quinto`},e.prototype.first=function(){return`primero`},e.prototype.firstWeekday=function(){return`primer día de la semana`},e.prototype.fourth=function(){return`cuarto`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`del minuto %s al %s pasada la hora`},e.prototype.second=function(){return`segundo`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`En los segundos %s al %s de cada minuto`},e.prototype.spaceAnd=function(){return` y`},e.prototype.spaceX0OfTheMonth=function(){return` %s del mes`},e.prototype.lastDay=function(){return`el último día`},e.prototype.third=function(){return`tercer`},e.prototype.weekdayNearestDayX0=function(){return`día de la semana más próximo al %s`},e.prototype.commaEveryX0Years=function(){return`, cada %s años`},e.prototype.commaStartingX0=function(){return`, comenzando %s`},e.prototype.daysOfTheWeek=function(){return[`domingo`,`lunes`,`martes`,`miércoles`,`jueves`,`viernes`,`sábado`]},e.prototype.monthsOfTheYear=function(){return[`enero`,`febrero`,`marzo`,`abril`,`mayo`,`junio`,`julio`,`agosto`,`septiembre`,`octubre`,`noviembre`,`diciembre`]},e.prototype.onTheHour=function(){return`en punto`},e}();return s.es=c,o().locales.es=new c,i})())})),tA=o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(Qk()):typeof define==`function`&&define.amd?define(`locales/de`,[`cronstrue`],r):typeof e==`object`?e["locales/de"]=r(Qk()):n[`locales/de`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.de=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`jede Minute`},e.prototype.everyHour=function(){return`jede Stunde`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Beim Generieren der Ausdrucksbeschreibung ist ein Fehler aufgetreten. Überprüfen Sie die Syntax des Cron-Ausdrucks.`},e.prototype.atSpace=function(){return`Um `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Jede Minute zwischen %s und %s`},e.prototype.at=function(){return`Um`},e.prototype.spaceAnd=function(){return` und`},e.prototype.everySecond=function(){return`Jede Sekunde`},e.prototype.everyX0Seconds=function(){return`alle %s Sekunden`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`Sekunden %s bis %s`},e.prototype.atX0SecondsPastTheMinute=function(){return`bei Sekunde %s`},e.prototype.everyX0Minutes=function(){return`alle %s Minuten`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`Minuten %s bis %s`},e.prototype.atX0MinutesPastTheHour=function(){return`bei Minute %s`},e.prototype.everyX0Hours=function(){return`alle %s Stunden`},e.prototype.betweenX0AndX1=function(){return`zwischen %s und %s`},e.prototype.atX0=function(){return`um %s`},e.prototype.commaEveryDay=function(){return`, jeden Tag`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, alle %s Tage der Woche`},e.prototype.commaX0ThroughX1=function(){return`, %s bis %s`},e.prototype.commaAndX0ThroughX1=function(){return`, und %s bis %s`},e.prototype.first=function(){return`ersten`},e.prototype.second=function(){return`zweiten`},e.prototype.third=function(){return`dritten`},e.prototype.fourth=function(){return`vierten`},e.prototype.fifth=function(){return`fünften`},e.prototype.commaOnThe=function(){return`, am `},e.prototype.spaceX0OfTheMonth=function(){return` %s des Monats`},e.prototype.lastDay=function(){return`der letzte Tag`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, am letzten %s des Monats`},e.prototype.commaOnlyOnX0=function(){return`, nur jeden %s`},e.prototype.commaAndOnX0=function(){return`, und jeden %s`},e.prototype.commaEveryX0Months=function(){return`, alle %s Monate`},e.prototype.commaOnlyInX0=function(){return`, nur im %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, am letzten Tag des Monats`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, am letzten Werktag des Monats`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s tage vor dem letzten Tag des Monats`},e.prototype.firstWeekday=function(){return`ersten Werktag`},e.prototype.weekdayNearestDayX0=function(){return`Werktag am nächsten zum %s Tag`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, am %s des Monats`},e.prototype.commaEveryX0Days=function(){return`, alle %s Tage`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, zwischen Tag %s und %s des Monats`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, an Tag %s des Monats`},e.prototype.commaEveryX0Years=function(){return`, alle %s Jahre`},e.prototype.commaStartingX0=function(){return`, beginnend %s`},e.prototype.daysOfTheWeek=function(){return[`Sonntag`,`Montag`,`Dienstag`,`Mittwoch`,`Donnerstag`,`Freitag`,`Samstag`]},e.prototype.monthsOfTheYear=function(){return[`Januar`,`Februar`,`März`,`April`,`Mai`,`Juni`,`Juli`,`August`,`September`,`Oktober`,`November`,`Dezember`]},e.prototype.onTheHour=function(){return`zur vollen Stunde`},e}();return s.de=c,o().locales.de=new c,i})())})),nA=o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(Qk()):typeof define==`function`&&define.amd?define(`locales/it`,[`cronstrue`],r):typeof e==`object`?e["locales/it"]=r(Qk()):n[`locales/it`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.it=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`È verificato un errore durante la generazione la descrizione espressione. Controllare la sintassi delle espressioni cron.`},e.prototype.at=function(){return`Alle`},e.prototype.atSpace=function(){return`Alle `},e.prototype.atX0=function(){return`alle %s`},e.prototype.atX0MinutesPastTheHour=function(){return`al %s minuto passata l'ora`},e.prototype.atX0SecondsPastTheMinute=function(){return`al %s secondo passato il minuto`},e.prototype.betweenX0AndX1=function(){return`tra le %s e le %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, tra il giorno %s e %s del mese`},e.prototype.commaEveryDay=function(){return`, ogni giorno`},e.prototype.commaEveryX0Days=function(){return`, ogni %s giorni`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, ogni %s giorni della settimana`},e.prototype.commaEveryX0Months=function(){return`, ogni %s mesi`},e.prototype.commaEveryX0Years=function(){return`, ogni %s anni`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, il giorno %s del mese`},e.prototype.commaOnlyInX0=function(){return`, solo in %s`},e.prototype.commaOnlyOnX0=function(){return`, solo il %s`},e.prototype.commaAndOnX0=function(){return`, e il %s`},e.prototype.commaOnThe=function(){return`, il `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, l'ultimo giorno del mese`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, nell'ultima settimana del mese`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s giorni prima dell'ultimo giorno del mese`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, l'ultimo %s del mese`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, il %s del mese`},e.prototype.commaX0ThroughX1=function(){return`, %s al %s`},e.prototype.commaAndX0ThroughX1=function(){return`, e %s al %s`},e.prototype.everyHour=function(){return`ogni ora`},e.prototype.everyMinute=function(){return`ogni minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Ogni minuto tra le %s e le %s`},e.prototype.everySecond=function(){return`ogni secondo`},e.prototype.everyX0Hours=function(){return`ogni %s ore`},e.prototype.everyX0Minutes=function(){return`ogni %s minuti`},e.prototype.everyX0Seconds=function(){return`ogni %s secondi`},e.prototype.fifth=function(){return`quinto`},e.prototype.first=function(){return`primo`},e.prototype.firstWeekday=function(){return`primo giorno della settimana`},e.prototype.fourth=function(){return`quarto`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minuti %s al %s dopo l'ora`},e.prototype.second=function(){return`secondo`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`secondi %s al %s oltre il minuto`},e.prototype.spaceAnd=function(){return` e`},e.prototype.spaceX0OfTheMonth=function(){return` %s del mese`},e.prototype.lastDay=function(){return`l'ultimo giorno`},e.prototype.third=function(){return`terzo`},e.prototype.weekdayNearestDayX0=function(){return`giorno della settimana più vicino al %s`},e.prototype.commaStartingX0=function(){return`, a partire %s`},e.prototype.daysOfTheWeek=function(){return[`domenica`,`lunedì`,`martedì`,`mercoledì`,`giovedì`,`venerdì`,`sabato`]},e.prototype.monthsOfTheYear=function(){return[`gennaio`,`febbraio`,`marzo`,`aprile`,`maggio`,`giugno`,`luglio`,`agosto`,`settembre`,`ottobre`,`novembre`,`dicembre`]},e.prototype.onTheHour=function(){return`all'ora esatta`},e}();return s.it=c,o().locales.it=new c,i})())})),rA=o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(Qk()):typeof define==`function`&&define.amd?define(`locales/ru`,[`cronstrue`],r):typeof e==`object`?e["locales/ru"]=r(Qk()):n[`locales/ru`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.ru=void 0;var c=function(e,t){var n=Number(e);return n===void 0?t[2]:t[n%100>4&&n%100<20?2:[2,0,1,1,1,2][n%10<5?Math.abs(n)%10:5]]},l=function(e,t){var n=Number(e);return n===void 0?t[1]:t[n===0?0:n===1||n===2||n===4?1:2]},u=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`каждую минуту`},e.prototype.everyHour=function(){return`каждый час`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Произошла ошибка во время генерации описания выражения. Проверьте синтаксис крон-выражения.`},e.prototype.atSpace=function(){return`В `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Каждую минуту с %s по %s`},e.prototype.at=function(){return`В`},e.prototype.spaceAnd=function(){return` и`},e.prototype.everySecond=function(){return`каждую секунду`},e.prototype.everyX0Seconds=function(e){return c(e,[`каждую %s секунду`,`каждые %s секунды`,`каждые %s секунд`])},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`секунды с %s по %s`},e.prototype.atX0SecondsPastTheMinute=function(e){return c(e,[`в %s секунду`,`в %s секунды`,`в %s секунд`])},e.prototype.everyX0Minutes=function(e){return c(e,[`каждую %s минуту`,`каждые %s минуты`,`каждые %s минут`])},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`минуты с %s по %s`},e.prototype.atX0MinutesPastTheHour=function(e){return c(e,[`в %s минуту`,`в %s минуты`,`в %s минут`])},e.prototype.everyX0Hours=function(e){return c(e,[`каждый %s час`,`каждые %s часа`,`каждые %s часов`])},e.prototype.betweenX0AndX1=function(){return`с %s по %s`},e.prototype.atX0=function(){return`в %s`},e.prototype.commaEveryDay=function(){return`, каждый день`},e.prototype.commaEveryX0DaysOfTheWeek=function(e){return c(e,[`, каждый %s день недели`,`, каждые %s дня недели`,`, каждые %s дней недели`])},e.prototype.commaX0ThroughX1=function(e){return e&&(e[0]==`2`||e[0]==`3`)?`, со %s по %s`:`, с %s по %s`},e.prototype.commaAndX0ThroughX1=function(e){return e&&(e[0]==`2`||e[0]==`3`)?` и со %s по %s`:` и с %s по %s`},e.prototype.first=function(e){return l(e,[`первое`,`первый`,`первую`])},e.prototype.second=function(e){return l(e,[`второе`,`второй`,`вторую`])},e.prototype.third=function(e){return l(e,[`третье`,`третий`,`третью`])},e.prototype.fourth=function(e){return l(e,[`четвертое`,`четвертый`,`четвертую`])},e.prototype.fifth=function(e){return l(e,[`пятое`,`пятый`,`пятую`])},e.prototype.commaOnThe=function(e){return e===`2`?`, во `:`, в `},e.prototype.spaceX0OfTheMonth=function(){return` %s месяца`},e.prototype.lastDay=function(){return`последний день`},e.prototype.commaOnTheLastX0OfTheMonth=function(e){return l(e,[`, в последнее %s месяца`,`, в последний %s месяца`,`, в последнюю %s месяца`])},e.prototype.commaOnlyOnX0=function(e){return e&&e[0]===`2`?`, только во %s`:`, только в %s`},e.prototype.commaAndOnX0=function(){return`, и %s`},e.prototype.commaEveryX0Months=function(e){return c(e,[``,` каждые %s месяца`,` каждые %s месяцев`])},e.prototype.commaOnlyInMonthX0=function(){return`, только %s`},e.prototype.commaOnlyInX0=function(){return`, только в %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, в последний день месяца`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, в последний будний день месяца`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(e){return c(e,[`, за %s день до конца месяца`,`, за %s дня до конца месяца`,`, за %s дней до конца месяца`])},e.prototype.firstWeekday=function(){return`первый будний день`},e.prototype.weekdayNearestDayX0=function(){return`ближайший будний день к %s числу`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, в %s месяца`},e.prototype.commaEveryX0Days=function(e){return c(e,[`, каждый %s день`,`, каждые %s дня`,`, каждые %s дней`])},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(e){return e&&e.substring(0,e.indexOf(`-`))==`2`?`, со %s по %s число месяца`:`, с %s по %s число месяца`},e.prototype.commaOnDayX0OfTheMonth=function(e){return e&&e[0]==`2`?`, во %s число месяца`:`, в %s число месяца`},e.prototype.commaEveryX0Years=function(e){return c(e,[`, каждый %s год`,`, каждые %s года`,`, каждые %s лет`])},e.prototype.commaStartingX0=function(){return`, начало %s`},e.prototype.daysOfTheWeek=function(){return[`воскресенье`,`понедельник`,`вторник`,`среда`,`четверг`,`пятница`,`суббота`]},e.prototype.daysOfTheWeekInCase=function(e){return e===void 0&&(e=2),e==1?[`воскресенья`,`понедельника`,`вторника`,`среды`,`четверга`,`пятницы`,`субботы`]:[`воскресенье`,`понедельник`,`вторник`,`среду`,`четверг`,`пятницу`,`субботу`]},e.prototype.monthsOfTheYear=function(){return[`январь`,`февраль`,`март`,`апрель`,`май`,`июнь`,`июль`,`август`,`сентябрь`,`октябрь`,`ноябрь`,`декабрь`]},e.prototype.monthsOfTheYearInCase=function(e){return e==1?[`января`,`февраля`,`марта`,`апреля`,`мая`,`июня`,`июля`,`августа`,`сентября`,`октября`,`ноября`,`декабря`]:this.monthsOfTheYear()},e.prototype.onTheHour=function(){return`ровно в час`},e}();return s.ru=u,o().locales.ru=new u,i})())})),iA=o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(Qk()):typeof define==`function`&&define.amd?define(`locales/zh_CN`,[`cronstrue`],r):typeof e==`object`?e["locales/zh_CN"]=r(Qk()):n[`locales/zh_CN`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.zh_CN=void 0;var c=function(){function e(){}return e.prototype.setPeriodBeforeTime=function(){return!0},e.prototype.pm=function(){return`下午`},e.prototype.am=function(){return`上午`},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return`, 从%s年至%s年`},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.everyMinute=function(){return`每分钟`},e.prototype.everyHour=function(){return`每小时`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`生成表达式描述时发生了错误,请检查cron表达式语法。`},e.prototype.atSpace=function(){return`在`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`在 %s 至 %s 之间的每分钟`},e.prototype.at=function(){return`在`},e.prototype.spaceAnd=function(){return` 和`},e.prototype.everySecond=function(){return`每秒`},e.prototype.everyX0Seconds=function(){return`每隔 %s 秒`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`在一分钟后的第 %s 到 %s 秒`},e.prototype.atX0SecondsPastTheMinute=function(){return`在一分钟后的第 %s 秒`},e.prototype.everyX0Minutes=function(){return`每隔 %s 分钟`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`在整点后的第 %s 到 %s 分钟`},e.prototype.atX0MinutesPastTheHour=function(){return`在整点后的第 %s 分钟`},e.prototype.everyX0Hours=function(){return`每隔 %s 小时`},e.prototype.betweenX0AndX1=function(){return`在 %s 和 %s 之间`},e.prototype.atX0=function(){return`在%s`},e.prototype.commaEveryDay=function(){return`, 每天`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, 每周的每 %s 天`},e.prototype.commaX0ThroughX1=function(){return`, %s至%s`},e.prototype.commaAndX0ThroughX1=function(){return`, 和%s至%s`},e.prototype.first=function(){return`第一个`},e.prototype.second=function(){return`第二个`},e.prototype.third=function(){return`第三个`},e.prototype.fourth=function(){return`第四个`},e.prototype.fifth=function(){return`第五个`},e.prototype.commaOnThe=function(){return`, 限每月的`},e.prototype.spaceX0OfTheMonth=function(){return`%s`},e.prototype.lastDay=function(){return`本月最后一天`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, 限每月的最后一个%s`},e.prototype.commaOnlyOnX0=function(){return`, 仅%s`},e.prototype.commaAndOnX0=function(){return`, 或者为%s`},e.prototype.commaEveryX0Months=function(){return`, 每隔 %s 个月`},e.prototype.commaOnlyInX0=function(){return`, 仅限%s`},e.prototype.commaOnlyInMonthX0=function(){return`, 仅于%s份`},e.prototype.commaOnlyInYearX0=function(){return`, 仅于 %s 年`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, 限每月的最后一天`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, 限每月的最后一个工作日`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, 限每月最后%s天`},e.prototype.firstWeekday=function(){return`第一个工作日`},e.prototype.weekdayNearestDayX0=function(){return`最接近 %s 号的工作日`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, 限每月的%s`},e.prototype.commaEveryX0Days=function(){return`, 每隔 %s 天`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, 限每月的 %s 至 %s 之间`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, 限每月%s`},e.prototype.commaEveryX0Years=function(){return`, 每隔 %s 年`},e.prototype.commaStartingX0=function(){return`, %s开始`},e.prototype.dayX0=function(){return` %s 号`},e.prototype.daysOfTheWeek=function(){return[`星期日`,`星期一`,`星期二`,`星期三`,`星期四`,`星期五`,`星期六`]},e.prototype.monthsOfTheYear=function(){return[`一月`,`二月`,`三月`,`四月`,`五月`,`六月`,`七月`,`八月`,`九月`,`十月`,`十一月`,`十二月`]},e.prototype.onTheHour=function(){return`整点`},e}();return s.zh_CN=c,o().locales.zh_CN=new c,i})())})),aA=o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(Qk()):typeof define==`function`&&define.amd?define(`locales/uk`,[`cronstrue`],r):typeof e==`object`?e["locales/uk"]=r(Qk()):n[`locales/uk`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.uk=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`щохвилини`},e.prototype.everyHour=function(){return`щогодини`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`ВІдбулася помилка підчас генерації опису. Перевірта правильність написання cron виразу.`},e.prototype.atSpace=function(){return`О `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Щохвилини між %s та %s`},e.prototype.at=function(){return`О`},e.prototype.spaceAnd=function(){return` та`},e.prototype.everySecond=function(){return`Щосекунди`},e.prototype.everyX0Seconds=function(){return`кожні %s секунд`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`з %s по %s секунду`},e.prototype.atX0SecondsPastTheMinute=function(){return`о %s секунді`},e.prototype.everyX0Minutes=function(){return`кожні %s хвилин`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`з %s по %s хвилину`},e.prototype.atX0MinutesPastTheHour=function(){return`о %s хвилині`},e.prototype.everyX0Hours=function(){return`кожні %s годин`},e.prototype.betweenX0AndX1=function(){return`між %s та %s`},e.prototype.atX0=function(){return`о %s`},e.prototype.commaEveryDay=function(){return`, щоденно`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, кожен %s день тижня`},e.prototype.commaX0ThroughX1=function(){return`, %s по %s`},e.prototype.commaAndX0ThroughX1=function(){return`, та %s по %s`},e.prototype.first=function(){return`перший`},e.prototype.second=function(){return`другий`},e.prototype.third=function(){return`третій`},e.prototype.fourth=function(){return`четвертий`},e.prototype.fifth=function(){return`п'ятий`},e.prototype.commaOnThe=function(){return`, в `},e.prototype.spaceX0OfTheMonth=function(){return` %s місяця`},e.prototype.lastDay=function(){return`останній день`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, в останній %s місяця`},e.prototype.commaOnlyOnX0=function(){return`, тільки в %s`},e.prototype.commaAndOnX0=function(){return`, і в %s`},e.prototype.commaEveryX0Months=function(){return`, кожен %s місяць`},e.prototype.commaOnlyInX0=function(){return`, тільки в %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, в останній день місяця`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, в останній будень місяця`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s днів до останнього дня місяця`},e.prototype.firstWeekday=function(){return`перший будень`},e.prototype.weekdayNearestDayX0=function(){return`будень найближчий до %s дня`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, в %s місяця`},e.prototype.commaEveryX0Days=function(){return`, кожен %s день`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, між %s та %s днями місяця`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, на %s день місяця`},e.prototype.commaEveryX0Years=function(){return`, кожні %s роки`},e.prototype.commaStartingX0=function(){return`, початок %s`},e.prototype.daysOfTheWeek=function(){return[`неділя`,`понеділок`,`вівторок`,`середа`,`четвер`,`п'ятниця`,`субота`]},e.prototype.monthsOfTheYear=function(){return[`січень`,`лютий`,`березень`,`квітень`,`травень`,`червень`,`липень`,`серпень`,`вересень`,`жовтень`,`листопад`,`грудень`]},e.prototype.onTheHour=function(){return`рівно о годині`},e}();return s.uk=c,o().locales.uk=new c,i})())})),oA=o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(Qk()):typeof define==`function`&&define.amd?define(`locales/pt_BR`,[`cronstrue`],r):typeof e==`object`?e["locales/pt_BR"]=r(Qk()):n[`locales/pt_BR`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.pt_BR=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Ocorreu um erro ao gerar a descrição da expressão Cron.`},e.prototype.at=function(){return`às`},e.prototype.atSpace=function(){return`às `},e.prototype.atX0=function(){return`Às %s`},e.prototype.atX0MinutesPastTheHour=function(){return`aos %s minutos da hora`},e.prototype.atX0SecondsPastTheMinute=function(){return`aos %s segundos do minuto`},e.prototype.betweenX0AndX1=function(){return`entre %s e %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, entre os dias %s e %s do mês`},e.prototype.commaEveryDay=function(){return`, a cada dia`},e.prototype.commaEveryX0Days=function(){return`, a cada %s dias`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, a cada %s dias de semana`},e.prototype.commaEveryX0Months=function(){return`, a cada %s meses`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, no dia %s do mês`},e.prototype.commaOnlyInX0=function(e){return e&&e.length>1&&e[1]===`-`?`somente %s`:`, somente em %s`},e.prototype.commaOnlyOnX0=function(e){return e&&e.length>1&&e[1]===`-`?`, somente %s`:`, somente de %s`},e.prototype.commaAndOnX0=function(){return`, e de %s`},e.prototype.commaOnThe=function(e,t){return t===`6`||t===`0`?`, no`:`, na `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, no último dia do mês`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, no último dia da semana do mês`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dias antes do último dia do mês`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, na última %s do mês`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, no %s do mês`},e.prototype.commaX0ThroughX1=function(){return`, de %s a %s`},e.prototype.commaAndX0ThroughX1=function(){return`, e de %s a %s`},e.prototype.everyHour=function(){return`a cada hora`},e.prototype.everyMinute=function(){return`a cada minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`a cada minuto entre %s e %s`},e.prototype.everySecond=function(){return`a cada segundo`},e.prototype.everyX0Hours=function(){return`a cada %s horas`},e.prototype.everyX0Minutes=function(){return`a cada %s minutos`},e.prototype.everyX0Seconds=function(){return`a cada %s segundos`},e.prototype.fifth=function(e){return e===`6`||e===`0`?`quinto`:`quinta`},e.prototype.first=function(e){return e===`6`||e===`0`?`primeiro`:`primeira`},e.prototype.firstWeekday=function(){return`primeiro dia da semana`},e.prototype.fourth=function(e){return e===`6`||e===`0`?`quarto`:`quarta`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`do minuto %s até %s de cada hora`},e.prototype.second=function(e){return e===`6`||e===`0`?`segundo`:`segunda`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`No segundo %s até %s de cada minuto`},e.prototype.spaceAnd=function(){return` e`},e.prototype.spaceX0OfTheMonth=function(){return` %s do mês`},e.prototype.lastDay=function(){return`o último dia`},e.prototype.third=function(e){return e===`6`||e===`0`?`terceiro`:`terceira`},e.prototype.weekdayNearestDayX0=function(){return`dia da semana mais próximo do dia %s`},e.prototype.commaEveryX0Years=function(){return`, a cada %s anos`},e.prototype.commaStartingX0=function(){return`, iniciando %s`},e.prototype.daysOfTheWeek=function(){return[`domingo`,`segunda-feira`,`terça-feira`,`quarta-feira`,`quinta-feira`,`sexta-feira`,`sábado`]},e.prototype.monthsOfTheYear=function(){return[`janeiro`,`fevereiro`,`março`,`abril`,`maio`,`junho`,`julho`,`agosto`,`setembro`,`outubro`,`novembro`,`dezembro`]},e.prototype.onTheHour=function(){return`na hora certa`},e}();return s.pt_BR=c,o().locales.pt_BR=new c,i})())})),sA=o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(Qk()):typeof define==`function`&&define.amd?define(`locales/pl`,[`cronstrue`],r):typeof e==`object`?e["locales/pl"]=r(Qk()):n[`locales/pl`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.pl=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Wystąpił błąd podczas generowania opisu wyrażenia cron. Sprawdź składnię wyrażenia cron.`},e.prototype.at=function(){return`O`},e.prototype.atSpace=function(){return`O `},e.prototype.atX0=function(){return`o %s`},e.prototype.atX0MinutesPastTheHour=function(){return`w %s minucie`},e.prototype.atX0SecondsPastTheMinute=function(){return`w %s sekundzie`},e.prototype.betweenX0AndX1=function(){return`od %s do %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, od %s-ego do %s-ego dnia miesiąca`},e.prototype.commaEveryDay=function(){return`, co dzień`},e.prototype.commaEveryX0Days=function(){return`, co %s dni`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, co %s dni tygodnia`},e.prototype.commaEveryX0Months=function(){return`, co %s miesięcy`},e.prototype.commaEveryX0Years=function(){return`, co %s lat`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, %s-ego dnia miesiąca`},e.prototype.commaOnlyInX0=function(){return`, tylko %s`},e.prototype.commaOnlyOnX0=function(){return`, tylko %s`},e.prototype.commaAndOnX0=function(){return`, i %s`},e.prototype.commaOnThe=function(){return`, `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, ostatni dzień miesiąca`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, ostatni dzień roboczy miesiąca`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dni przed ostatnim dniem miesiąca`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, ostatni %s miesiąca`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, %s miesiąca`},e.prototype.commaX0ThroughX1=function(){return`, od %s do %s`},e.prototype.commaAndX0ThroughX1=function(){return`, i od %s do %s`},e.prototype.everyHour=function(){return`co godzinę`},e.prototype.everyMinute=function(){return`co minutę`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Co minutę od %s do %s`},e.prototype.everySecond=function(){return`co sekundę`},e.prototype.everyX0Hours=function(){return`co %s godzin`},e.prototype.everyX0Minutes=function(){return`co %s minut`},e.prototype.everyX0Seconds=function(){return`co %s sekund`},e.prototype.fifth=function(){return`piąty`},e.prototype.first=function(){return`pierwszy`},e.prototype.firstWeekday=function(){return`pierwszy dzień roboczy`},e.prototype.fourth=function(){return`czwarty`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minuty od %s do %s`},e.prototype.second=function(){return`drugi`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekundy od %s do %s`},e.prototype.spaceAnd=function(){return` i`},e.prototype.spaceX0OfTheMonth=function(){return` %s miesiąca`},e.prototype.lastDay=function(){return`ostatni dzień`},e.prototype.third=function(){return`trzeci`},e.prototype.weekdayNearestDayX0=function(){return`dzień roboczy najbliższy %s-ego dnia`},e.prototype.commaStartingX0=function(){return`, startowy %s`},e.prototype.daysOfTheWeek=function(){return[`niedziela`,`poniedziałek`,`wtorek`,`środa`,`czwartek`,`piątek`,`sobota`]},e.prototype.monthsOfTheYear=function(){return[`styczeń`,`luty`,`marzec`,`kwiecień`,`maj`,`czerwiec`,`lipiec`,`sierpień`,`wrzesień`,`październik`,`listopad`,`grudzień`]},e.prototype.onTheHour=function(){return`o pełnej godzinie`},e}();return s.pl=c,o().locales.pl=new c,i})())}));Qk(),$k(),eA(),tA(),nA(),rA(),iA(),aA(),oA(),sA(),V.Component;var cA=new Map([[`avif`,`image/avif`],[`bmp`,`image/bmp`],[`css`,`text/css`],[`csv`,`text/csv`],[`doc`,`application/msword`],[`docx`,`application/vnd.openxmlformats-officedocument.wordprocessingml.document`],[`gif`,`image/gif`],[`gz`,`application/gzip`],[`htm`,`text/html`],[`html`,`text/html`],[`ico`,`image/x-icon`],[`jpeg`,`image/jpeg`],[`jpg`,`image/jpeg`],[`js`,`application/javascript`],[`json`,`application/json`],[`md`,`text/markdown`],[`mjs`,`application/javascript`],[`mp3`,`audio/mpeg`],[`mp4`,`video/mp4`],[`ogg`,`audio/ogg`],[`pdf`,`application/pdf`],[`png`,`image/png`],[`ppt`,`application/powerpoint`],[`pptx`,`application/vnd.openxmlformats-officedocument.presentationml.presentation`],[`svg`,`image/svg+xml`],[`tif`,`image/tiff`],[`tiff`,`image/tiff`],[`txt`,`text/plain`],[`wasm`,`application/wasm`],[`wav`,`audio/x-wav`],[`weba`,`audio/webm`],[`webm`,`video/webm`],[`webp`,`image/webp`],[`xls`,`application/vnd.ms-excel`],[`xlsx`,`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`],[`xml`,`application/xml`],[`zip`,`application/zip`]]),lA=class extends Error{constructor(e){super(`DataTransferItem is not a file`),this.item=e,this.name=`UnexpectedObjectError`}};function uA(e,t,n){let r=e,{webkitRelativePath:i}=e,a=typeof t==`string`?t:typeof i==`string`&&i.length>0?i:`./${e.name}`;return typeof r.path!=`string`&&fA(r,`path`,a),n!==void 0&&Object.defineProperty(r,"handle",{value:n,writable:!1,configurable:!1,enumerable:!0}),fA(r,`relativePath`,a),r}function dA(e,t=cA){let{name:n}=e;if(n&&n.lastIndexOf(`.`)!==-1&&!e.type){let r=n.split(`.`).pop().toLowerCase(),i=t.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}function fA(e,t,n){Object.defineProperty(e,t,{value:n,writable:!1,configurable:!1,enumerable:!0})}var pA=[`.DS_Store`,`Thumbs.db`];async function mA(e,{mimeTypes:t=cA}={}){return(await hA(e)).map(e=>e instanceof File?dA(e,t):e)}async function hA(e){return yA(e)&&gA(e.dataTransfer)?SA(e.dataTransfer,e.type):_A(e)?CA(e.clipboardData):vA(e)?bA(e):Array.isArray(e)&&e.every(e=>`getFile`in e&&typeof e.getFile==`function`)?xA(e):[]}function gA(e){return yA(e)}function _A(e){return yA(e)&&gA(e.clipboardData)}function vA(e){return yA(e)&&yA(e.target)}function yA(e){return typeof e==`object`&&!!e}function bA(e){return TA(e.target.files).map(e=>uA(e))}async function xA(e){return(await Promise.all(e.map(e=>e.getFile()))).map(e=>uA(e))}async function SA(e,t){let n=TA(e.items).filter(e=>e.kind===`file`);return t===`drop`?wA(DA(await Promise.all(n.map(EA)))):n}function CA(e){let t=TA(e.items).filter(e=>e.kind===`file`).map(e=>e.getAsFile()).filter(e=>e!==null);return wA((t.length>0?t:TA(e.files)).map(e=>uA(e)))}function wA(e){return e.filter(e=>pA.indexOf(e.name)===-1)}function TA(e){return e===null?[]:Array.from(e)}async function EA(e){if(typeof e.webkitGetAsEntry!=`function`)return OA(e);let t=e.webkitGetAsEntry();if(t?.isDirectory){let n=await kA(e);return n?.kind===`directory`?AA(n,`/${n.name}`):MA(t)}return OA(e,t)}function DA(e){let t=[];for(let n of e)Array.isArray(n)?t.push(...DA(n)):t.push(n);return t}async function OA(e,t){let n=e.getAsFile(),r=await kA(e);if(r!=null){let e=n??await r.getFile();return e.handle=r,uA(e)}if(!n)throw new lA(e);return uA(n,t?.fullPath??void 0)}async function kA(e){if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle==`function`)return e.getAsFileSystemHandle()}async function AA(e,t){let n=[];for await(let r of e.values()){let e=`${t}/${r.name}`;if(r.kind===`directory`)n.push(...await AA(r,e));else{let t=await r.getFile();n.push(uA(t,e,r))}}return n}async function jA(e){return e.isDirectory?MA(e):NA(e)}function MA(e){let t=e.createReader();return new Promise((e,n)=>{let r=[];function i(){t.readEntries(async t=>{if(t.length){let e=Promise.all(t.map(jA));r.push(e),i()}else try{e(await Promise.all(r))}catch(e){n(e)}},e=>{n(e)})}i()})}async function NA(e){return new Promise((t,n)=>{e.file(n=>{t(uA(n,e.fullPath))},e=>{n(e)})})}function PA(e,t){if(e&&t){let n=Array.isArray(t)?t:t.split(`,`);if(n.length===0)return!0;let r=e.name||``,i=(e.type||``).toLowerCase(),a=i.replace(/\/.*$/,``);return n.some(e=>{let t=e.trim().toLowerCase();return t.charAt(0)===`.`?r.toLowerCase().endsWith(t):t.endsWith(`/*`)?a===t.replace(/\/.*$/,``):i===t})}return!0}var FA=typeof PA==`function`?PA:PA.default,IA=`file-invalid-type`,LA=`file-too-large`,RA=`file-too-small`,zA=`too-many-files`;function BA(e=``){let t=e.split(`,`);return{code:IA,message:`File type must be ${t.length>1?`one of ${t.join(`, `)}`:t[0]}`}}var VA=[`KB`,`MB`,`GB`,`TB`,`PB`];function HA(e){if(e<1024)return`${e} ${e===1?`byte`:`bytes`}`;let t=e/1024,n=0;for(;t>=1024&&n<VA.length-1;)t/=1024,n++;return`${Number(t.toFixed(2))} ${VA[n]}`}function UA(e){return{code:LA,message:`File is larger than ${HA(e)}`}}function WA(e){return{code:RA,message:`File is smaller than ${HA(e)}`}}var GA={code:zA,message:`Too many files`};function KA(e){return e.type===``&&typeof e.getAsFile==`function`}function qA(e,t){let n=e.type===`application/x-moz-file`||FA(e,t??``)||KA(e);return[n,n?null:BA(t)]}function JA(e,t,n){if(YA(e.size)){if(YA(t)&&YA(n)){if(e.size>n)return[!1,UA(n)];if(e.size<t)return[!1,WA(t)]}else if(YA(t)&&e.size<t)return[!1,WA(t)];else if(YA(n)&&e.size>n)return[!1,UA(n)]}return[!0,null]}function YA(e){return e!=null}function XA(e){return e!=null&&typeof e.then==`function`}function ZA({files:e,accept:t,minSize:n,maxSize:r,multiple:i,maxFiles:a=0,validator:o,getErrorMessage:s}){let c=[],l=[],u=(e,t)=>s&&typeof File<`u`&&t instanceof File?{...e,message:s(e,t)}:e;e.forEach(e=>{let[i,a]=qA(e,t),[o,s]=JA(e,n,r);i&&o?c.push(e):l.push({file:e,errors:[a,s].filter(e=>e!=null).map(t=>u(t,e))})});let d=i?a>=1?a:1/0:1;return c.length>d&&c.slice(d).forEach(e=>{l.push({file:e,errors:[u(GA,e)]})}),l.length>0?{verdict:`reject`,rejections:l}:{verdict:o?`unknown`:`accept`,rejections:l}}function QA(e){return typeof e.isPropagationStopped==`function`?e.isPropagationStopped():e.cancelBubble!==void 0&&e.cancelBubble}function $A(e){let t=e.dataTransfer??e.clipboardData;return t?Array.prototype.some.call(t.types,e=>e===`Files`||e===`application/x-moz-file`)||Array.prototype.some.call(t.items??[],ej):!!e.target&&!!e.target.files}function ej(e){return typeof e==`object`&&!!e&&e.kind===`file`}function tj(e){e.preventDefault()}function nj(e){return e.indexOf(`MSIE`)!==-1||e.indexOf(`Trident/`)!==-1}function rj(e){return e.indexOf(`Edge/`)!==-1}function ij(e=window.navigator.userAgent){return nj(e)||rj(e)}function aj(...e){return(t,...n)=>e.some(e=>(!QA(t)&&e&&e(t,...n),QA(t)))}function oj(){return`showOpenFilePicker`in window}function sj(e){return Array.isArray(e)?e:typeof e==`string`?[e]:[]}function cj(e){if(YA(e))return Array.isArray(e)?e.filter(e=>YA(e)&&YA(e.accept)):[{accept:e}]}function lj(e){let t=[],n=Object.keys(e);for(let n of Object.values(e))for(let e of sj(n))t.includes(e)||t.push(e);return t.length>0?t.join(`, `):n.length>0?n.join(`, `):`Files`}function uj(e){let t=cj(e);if(!YA(t))return;let n={};for(let e of t)for(let[t,r]of Object.entries(e.accept)){let e=n[t]??(n[t]=[]);for(let t of sj(r))e.includes(t)||e.push(t)}return n}function dj(e){let t=cj(e);if(!YA(t))return;let n=t.map(e=>{let t=Object.entries(e.accept).filter(([e,t])=>{let n=!0;return gj(e)||(console.warn(`Skipped "${e}" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.`),n=!1),(Array.isArray(t)||typeof t==`string`)&&sj(t).every(vj)||(console.warn(`Skipped "${e}" because an invalid file extension was provided.`),n=!1),n}).reduce((e,[t,n])=>(e[t]=sj(n),e),{});return{description:YA(e.description)&&e.description!==``?e.description:lj(t),accept:t}}).filter(e=>Object.keys(e.accept).length>0);return n.length>0?n:void 0}function fj(e,{omitWildcardMimeTypesWithExtensions:t=!1}={}){if(YA(e))return Object.entries(e).reduce((e,[n,r])=>{let i=sj(r);return t&&_j(n)&&i.some(vj)?e.push(...i):e.push(n,...i),e},[]).filter(e=>gj(e)||vj(e)).join(`,`)}function pj(e){return e instanceof DOMException&&(e.name===`AbortError`||e.code===e.ABORT_ERR)}function mj(e){return e instanceof DOMException&&(e.name===`SecurityError`||e.code===e.SECURITY_ERR)}function hj(e){return e instanceof DOMException&&e.name===`NotAllowedError`}function gj(e){return e===`audio/*`||e===`video/*`||e===`image/*`||e===`text/*`||e===`application/*`||/\w+\/[-+.\w]+/g.test(e)}function _j(e){return e.endsWith(`/*`)}function vj(e){return/^.*\.[\w]+$/.test(e)}var yj=(0,V.forwardRef)(({children:e,...t},n)=>{let{open:r,...i}=xj(t);return(0,V.useImperativeHandle)(n,()=>({open:r}),[r]),(0,H.jsx)(H.Fragment,{children:e?.({...i,open:r})})});yj.displayName=`Dropzone`;var bj={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragUnknown:!1,isDragGlobal:!1,isProcessing:!1,acceptedFiles:[],fileRejections:[],dragFileRejections:[]};function xj(e={}){let{accept:t,disabled:n=!1,getFilesFromEvent:r=mA,maxSize:i=1/0,minSize:a=0,multiple:o=!0,maxFiles:s=0,onDragEnter:c,onDragLeave:l,onDragOver:u,onDrop:d,onDropAccepted:f,onDropRejected:p,onFileDialogCancel:m,onFileDialogOpen:h,useFsAccessApi:g=!1,autoFocus:_=!1,preventDropOnDocument:v=!0,noClick:y=!1,noKeyboard:b=!1,noDrag:x=!1,noDragEventsBubbling:S=!1,noPaste:C=!1,onError:w,validator:T,getErrorMessage:E}=e,D=(0,V.useMemo)(()=>uj(t),[t]),O=(0,V.useMemo)(()=>fj(D),[D]),k=(0,V.useMemo)(()=>fj(D,{omitWildcardMimeTypesWithExtensions:!0}),[D]),ee=(0,V.useMemo)(()=>dj(t),[t]),A=(0,V.useMemo)(()=>typeof h==`function`?h:Cj,[h]),j=(0,V.useMemo)(()=>typeof m==`function`?m:Cj,[m]),M=(0,V.useRef)(null),N=(0,V.useRef)(null),[P,F]=(0,V.useReducer)(Sj,bj),{isFocused:I,isFileDialogActive:L}=P,te=(0,V.useRef)(L);te.current=L;let ne=(0,V.useRef)(null),re=(0,V.useCallback)(()=>{ne.current?.abort();let e=new AbortController;return ne.current=e,F({type:`setProcessing`,isProcessing:!0}),e.signal},[]),R=(0,V.useCallback)(e=>{e.aborted||F({type:`setProcessing`,isProcessing:!1})},[]),z=(0,V.useRef)(typeof window<`u`&&window.isSecureContext&&g&&oj()),ie=()=>{!z.current&&L&&setTimeout(()=>{if(N.current){let{files:e}=N.current;e?.length||(F({type:`closeDialog`}),j())}},300)};(0,V.useEffect)(()=>(window.addEventListener(`focus`,ie,!1),()=>{window.removeEventListener(`focus`,ie,!1)}),[N,L,j,z]);let ae=(0,V.useRef)([]),oe=(0,V.useRef)([]),se=e=>{M.current&&e.target&&M.current.contains(e.target)&&e.defaultPrevented||(e.preventDefault(),ae.current=[])};(0,V.useEffect)(()=>(v&&(document.addEventListener(`dragover`,tj,!1),document.addEventListener(`drop`,se,!1)),()=>{v&&(document.removeEventListener(`dragover`,tj),document.removeEventListener(`drop`,se))}),[M,v]),(0,V.useEffect)(()=>{let e=e=>{e.target&&(oe.current=[...oe.current,e.target]),$A(e)&&F({isDragGlobal:!0,type:`setDragGlobal`})},t=e=>{oe.current=oe.current.filter(t=>t!==e.target&&t!==null),!(oe.current.length>0)&&F({isDragGlobal:!1,type:`setDragGlobal`})},n=()=>{oe.current=[],F({isDragGlobal:!1,type:`setDragGlobal`})},r=()=>{oe.current=[],F({isDragGlobal:!1,type:`setDragGlobal`})};return document.addEventListener(`dragenter`,e,!1),document.addEventListener(`dragleave`,t,!1),document.addEventListener(`dragend`,n,!1),document.addEventListener(`drop`,r,!1),()=>{document.removeEventListener(`dragenter`,e),document.removeEventListener(`dragleave`,t),document.removeEventListener(`dragend`,n),document.removeEventListener(`drop`,r)}},[M]),(0,V.useEffect)(()=>(!n&&_&&M.current&&M.current.focus(),()=>{}),[M,_,n]);let ce=(0,V.useCallback)(e=>{w?w(e):console.error(e)},[w]),le=(0,V.useCallback)(e=>{e.preventDefault(),e.persist?.(),Ce(e),!te.current&&(ae.current=[...ae.current,e.target],$A(e)&&Promise.resolve(r(e)).then(t=>{if(QA(e)&&!S)return;let n=t.length>0?ZA({files:t,accept:O,minSize:a,maxSize:i,multiple:o,maxFiles:s,validator:T,getErrorMessage:E}):null;F({isDragAccept:n?.verdict===`accept`,isDragReject:n?.verdict===`reject`,isDragUnknown:n?.verdict===`unknown`,isDragActive:!0,dragFileRejections:n?.rejections??[],type:`setDraggedFiles`}),c&&c(e)}).catch(e=>ce(e)))},[r,c,ce,S,O,a,i,o,s,T,E]),B=(0,V.useCallback)(e=>{if(e.preventDefault(),e.persist?.(),Ce(e),te.current)return!1;let t=$A(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect=`copy`}catch{}return t&&u&&u(e),!1},[u,S]),ue=(0,V.useCallback)(e=>{e.preventDefault(),e.persist?.(),Ce(e);let t=ae.current.filter(e=>M.current?.contains(e)),n=t.indexOf(e.target);n!==-1&&t.splice(n,1),ae.current=t,!(t.length>0)&&(F({type:`setDraggedFiles`,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragUnknown:!1,dragFileRejections:[]}),$A(e)&&l&&l(e))},[M,l,S]),de=(0,V.useCallback)(async(e,t,n)=>{let r=(e,t)=>E?{...e,message:E(e,t)}:e,c=e=>{let n=[],i=[];e.forEach(({file:e,accepted:t,acceptError:a,sizeMatch:o,sizeError:s,customErrors:c})=>{if(t&&o&&!c)n.push(e);else{let t=[a,s];c&&(t=t.concat(c)),i.push({file:e,errors:t.filter(e=>e!=null).map(t=>r(t,e))})}});let a=o?s>=1?s:1/0:1;n.length>a&&n.splice(a).forEach(e=>{i.push({file:e,errors:[r(GA,e)]})}),F({acceptedFiles:n,fileRejections:i,type:`setFiles`}),d&&d(n,i,t),i.length>0&&p&&p(i,t),n.length>0&&f&&f(n,t)},l=e.map(e=>{let[t,n]=qA(e,k),[r,o]=JA(e,a,i);return{file:e,accepted:t,acceptError:n,sizeMatch:r,sizeError:o,customErrors:T?T(e):null}});if(!l.some(({customErrors:e})=>XA(e))){c(l);return}let u;try{u=await Promise.all(l.map(async({customErrors:e,...t})=>({...t,customErrors:await e})))}catch(e){n.aborted||(R(n),ce(e));return}n.aborted||c(u)},[F,o,k,a,i,s,d,f,p,T,E,ce,R]),fe=(0,V.useCallback)(e=>{if(e.preventDefault(),e.persist?.(),Ce(e),ae.current=[],!(te.current&&e.dataTransfer)&&(F({type:`reset`}),$A(e))){let t=re();Promise.resolve(r(e)).then(n=>{if(!t.aborted){if(QA(e)&&!S)R(t);else return de(n,e,t)}}).catch(e=>{t.aborted||(R(t),ce(e))})}},[r,de,ce,S,re,R]),pe=(0,V.useCallback)(e=>{if(!$A(e))return;e.preventDefault(),e.persist?.(),Ce(e);let t=re();Promise.resolve(r(e)).then(n=>{if(!t.aborted){if(QA(e)&&!S)R(t);else return de(n,e,t)}}).catch(e=>{t.aborted||(R(t),ce(e))})},[r,de,ce,S,re,R]),me=(0,V.useCallback)(()=>{if(z.current){F({type:`openDialog`}),A();let e={multiple:o,types:ee},t;window.showOpenFilePicker(e).then(e=>(t=re(),r(e))).then(e=>{if(F({type:`closeDialog`}),!t.aborted)return de(e,null,t)}).catch(e=>{t&&R(t),pj(e)?(j(e),F({type:`closeDialog`})):mj(e)||hj(e)?(z.current=!1,N.current?(N.current.value=``,N.current.click()):ce(Error(`Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided.`))):ce(e)})}else N.current&&(F({type:`openDialog`}),A(),N.current.value=``,N.current.click())},[F,A,j,g,de,ce,ee,o,re,R]),he=(0,V.useCallback)(e=>{M.current?.isEqualNode(e.target)&&(e.key===` `||e.key===`Enter`||e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),me())},[M,me]),ge=(0,V.useCallback)(()=>{F({type:`focus`})},[]),_e=(0,V.useCallback)(()=>{F({type:`blur`})},[]),ve=(0,V.useCallback)(()=>{y||(ij()?setTimeout(me,0):me())},[y,me]),ye=e=>n?null:e,be=e=>b?null:ye(e),xe=e=>x?null:ye(e),Se=e=>C?null:ye(e),Ce=e=>{S&&e.stopPropagation()},we=(0,V.useMemo)(()=>({refKey:e=`ref`,role:t,onKeyDown:r,onFocus:i,onBlur:a,onClick:o,onDragEnter:s,onDragOver:c,onDragLeave:l,onDrop:u,onPaste:d,...f}={})=>({onKeyDown:be(aj(r,he)),onFocus:be(aj(i,ge)),onBlur:be(aj(a,_e)),onClick:ye(aj(o,ve)),onDragEnter:xe(aj(s,le)),onDragOver:xe(aj(c,B)),onDragLeave:xe(aj(l,ue)),onDrop:xe(aj(u,fe)),onPaste:Se(aj(d,pe)),role:typeof t==`string`&&t!==``?t:`presentation`,[e]:M,...!n&&!b?{tabIndex:0}:{},...n?{"aria-disabled":!0}:{},...f}),[M,he,ge,_e,ve,le,B,ue,fe,pe,b,x,C,n]),Te=(0,V.useCallback)(e=>{e.stopPropagation()},[]),Ee=(0,V.useMemo)(()=>({refKey:e=`ref`,onChange:t,onClick:n,...r}={})=>({accept:k,multiple:o,type:`file`,"aria-label":`file upload`,style:{border:0,display:`block`,height:0,margin:0,opacity:0,overflow:`hidden`,padding:0,width:0},onChange:ye(aj(t,fe)),onClick:ye(aj(n,Te)),tabIndex:-1,[e]:N,...r}),[N,t,o,fe,n]);return{...P,isFocused:I&&!n,getRootProps:we,getInputProps:Ee,rootRef:M,inputRef:N,open:ye(me)}}function Sj(e,t){switch(t.type){case`focus`:return{...e,isFocused:!0};case`blur`:return{...e,isFocused:!1};case`openDialog`:return{...bj,isFileDialogActive:!0};case`closeDialog`:return{...e,isFileDialogActive:!1};case`setDraggedFiles`:return{...e,isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject,isDragUnknown:t.isDragUnknown,dragFileRejections:t.dragFileRejections};case`setProcessing`:return{...e,isProcessing:t.isProcessing};case`setFiles`:return{...e,acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,dragFileRejections:[],isProcessing:!1,isDragReject:!1,isDragUnknown:!1};case`setDragGlobal`:return{...e,isDragGlobal:t.isDragGlobal};case`reset`:return{...bj};default:return e}}function Cj(){}function wj(){let e=As();return[...e.breakpoints.keys].reverse().reduce((t,n)=>{let r=iy(e.breakpoints.up(n));return!t&&r?n:t},null)||`xs`}function Tj(){return e=>function(t){let n=wj();return V.createElement(e,{...t,width:n})}}function Ej(e){let[t,n]=V.useState(e.input||e.value||``),[r,i]=V.useState(``);return V.createElement(Um,{open:!0,onClose:()=>e.onClose(null),"aria-labelledby":`form-dialog-title`,fullWidth:e.fullWidth!==void 0&&e.fullWidth},V.createElement(oh,{id:`form-dialog-title`},e.titleText),V.createElement($m,null,V.createElement(rh,null,e.promptText),V.createElement(ry,{variant:`standard`,autoFocus:!0,margin:`dense`,error:!!r,helperText:r===!0||!r?``:r,value:t,label:e.labelText||``,type:e.type||`text`,onKeyUp:n=>n.code===`Enter`&&t&&e.onClose(t),onChange:t=>{let r=``;e.verify&&(r=e.verify(t.target.value)),e.rule?n(e.rule(t.target.value)):n(t.target.value),i(r)},fullWidth:!0})),V.createElement(qm,null,V.createElement(Dp,{variant:`contained`,disabled:!t||!!r,onClick:()=>e.onClose(t),color:`primary`,startIcon:V.createElement(BO,null)},e.applyText||Pk.t(`ra_Ok`)),V.createElement(Dp,{color:`grey`,variant:`contained`,onClick:()=>e.onClose(null),startIcon:V.createElement(VO,null)},e.cancelText||Pk.t(`ra_Cancel`))))}var Dj=Tj()(Ej);function Oj(e){return V.createElement(`svg`,{onClick:t=>e.onClick&&e.onClick(t),viewBox:`0 0 486 486`,width:e.width||(e.fontSize===`small`?16:20),height:e.height||e.width||(e.fontSize===`small`?16:20),xmlns:`http://www.w3.org/2000/svg`,className:e.className,style:e.style},V.createElement(`path`,{fill:`currentColor`,d:`m414.928297,149.715165 c-2.639376,-57.222555 -35.669446,-106.505345 -83.345894,-132.039151 c-3.758948,-2.049842 -7.636885,-3.932022 -11.590542,-5.641125 c-19.303146,-8.394083 -40.607459,-13.050853 -63.004303,-13.050853 c-84.113909,0 -152.791790,65.703174 -157.718988,148.605566 l0.043268,-0.010816 v0.281245 c0,3.061243 -0.146031,16.750306 -0.146031,16.750306 l-2.352723,5.224668 h15.744315 c5.916964,-19.384275 24.078904,-32.635245 45.513024,-32.635245 c26.231510,0 47.573684,21.915481 47.573684,48.146991 c0,26.226103 -21.342174,47.146409 -47.573684,47.146409 c-25.111939,0 -45.734774,-19.735831 -47.443879,-44.658471 h-18.789334 c-0.400232,0 -0.778832,0.638209 -1.162839,0.584122 l-19.762875,55.199753 c-2.774590,7.696379 2.926030,16.214860 11.103771,16.214860 h17.020735 l-0.129805,87.899899 c0,17.356066 14.073071,31.174935 31.429136,31.174935 h56.205745 v82.648189 c0,12.877778 12.937273,22.580734 25.815051,22.580734 h144.597825 c12.877778,0 23.429877,-9.702955 23.429877,-22.580734 v-166.037352 c0,-22.645636 5.976457,-44.761234 16.561008,-64.789128 c11.055093,-20.925714 17.523731,-44.620611 18.129489,-69.792045 c0.027042,-1.260193 0.037858,-2.552839 0.037858,-3.845485 c0,-2.466302 -0.070310,-4.938014 -0.183890,-7.377273 zm-155.393308,-11.731165 h-13.456494 v13.559257 c0,4.732489 -4.267352,8.567157 -8.999842,8.567157 c-4.727079,0 -8.999842,-3.834667 -8.999842,-8.567157 v-13.559257 h-12.185483 c-4.732489,0 -8.567157,-4.267352 -8.567157,-8.999842 c0,-4.727079 3.834667,-8.999842 8.567157,-8.999842 h12.185483 v-12.077311 c0,-4.732489 4.272762,-8.567157 8.999842,-8.567157 c4.732489,0 8.999842,3.834667 8.999842,8.567157 v12.077311 h13.456494 c4.727079,0 8.567157,4.272762 8.567157,8.999842 c0,4.732489 -3.840077,8.999842 -8.567157,8.999842 zm0,0`}),V.createElement(`path`,{fill:`currentColor`,d:`m187.695312 285.875c3.9375-3.980469 6.414063-9.449219 6.414063-15.523438 0-12.128906-9.855469-21.980468-21.984375-21.980468-6.007812 0-11.472656 2.410156-15.457031 6.347656-4.023438 4.003906-6.523438 9.539062-6.523438 15.636719 0 12.125 9.855469 21.980469 21.980469 21.980469 6.078125 0 11.585938-2.476563 15.570312-6.460938zm0 0`}))}function kj(e){return V.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,onClick:t=>e.onClick&&e.onClick(t),viewBox:`0 0 650 512`,width:e.width||(e.fontSize===`small`?16:20),height:e.height||e.width||(e.fontSize===`small`?16:20),className:e.className,style:e.style},V.createElement(`path`,{fill:`currentColor`,d:`m524,128l-192,0l-64,-64l-160,0c-26.51,0 -48,21.49 -48,48l0,288c0,26.51 21.49,48 48,48l416,0c26.51,0 48,-21.49 48,-48l0,-224c0,-26.51 -21.49,-48 -48,-48z`}))}function Aj(e){return V.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,onClick:t=>e.onClick&&e.onClick(t),viewBox:`0 0 650 512`,width:e.width||(e.fontSize===`small`?16:20),height:e.height||e.width||(e.fontSize===`small`?16:20),className:e.className,style:e.style},V.createElement(`path`,{fill:`currentColor`,d:`m631.75617,292.093l-72.424,124.155a63.997,63.997 0 0 1 -55.281,31.752l-399.964,0c-18.523,0 -30.064,-20.093 -20.731,-36.093l72.424,-124.155a64,64 0 0 1 55.282,-31.752l399.964,0c18.523,0 30.064,20.093 20.73,36.093zm-420.694,-68.093l328,0l0,-48c0,-26.51 -21.49,-48 -48,-48l-160,0l-64,-64l-160,0c-26.51,0 -48,21.49 -48,48l0,278.046l69.077,-118.418c17.137,-29.378 48.912,-47.628 82.923,-47.628z`}))}function jj(e){return V.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,onClick:t=>e.onClick&&e.onClick(t),viewBox:`0 0 512 512`,width:e.width||(e.fontSize===`small`?16:20),height:e.height||e.width||(e.fontSize===`small`?16:20),className:e.className,style:e.style},V.createElement(`path`,{fill:`#EE3333`,d:`M256,0C114.844,0,0,114.844,0,256s114.844,256,256,256s256-114.844,256-256S397.156,0,256,0z M256,448 c-105.865,0-192-86.135-192-192c0-40.406,12.25-78.604,35.542-111.198l267.656,267.656C334.604,435.75,296.406,448,256,448z M412.458,367.198L144.802,99.542C177.396,76.25,215.594,64,256,64c105.865,0,192,86.135,192,192 C448,296.406,435.75,334.604,412.458,367.198z`}))}var Mj=`react-inlinesvg`,Nj={IDLE:`idle`,LOADING:`loading`,LOADED:`loaded`,FAILED:`failed`,READY:`ready`,UNSUPPORTED:`unsupported`};function Pj(e){return e[Math.floor(Math.random()*e.length)]}function Fj(){return!!(typeof window<`u`&&window.document?.createElement)}function Ij(){return Bj()&&typeof window<`u`&&window!==null}function Lj(e,...t){let n={};for(let r in e)({}).hasOwnProperty.call(e,r)&&!t.includes(r)&&(n[r]=e[r]);return n}function Rj(e){let t=``;for(let n=0;n<e;n++)t+=Pj(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890`);return t}async function zj(e,t){let n=await fetch(e,t),[r]=(n.headers.get(`content-type`)??``).split(/ ?; ?/);if(n.status>299)throw Error(`Not found`);if(![`image/svg+xml`,`text/plain`].some(e=>r.includes(e)))throw Error(`Content type isn't valid: ${r}`);return n.text()}function Bj(){if(!document)return!1;let e=document.createElement(`div`);e.innerHTML=`<svg />`;let t=e.firstChild;return!!t&&t.namespaceURI===`http://www.w3.org/2000/svg`}var Vj=class{cacheApi;cacheStore;subscribers=[];isReady=!1;constructor(e={}){let{name:t=Mj,persistent:n=!1}=e;this.cacheStore=new Map,n&&Fj()&&`caches`in window?caches.open(t).then(e=>{this.cacheApi=e}).catch(e=>{console.error(`Failed to open cache: ${e.message}`),this.cacheApi=void 0}).finally(()=>{this.isReady=!0;let e=[...this.subscribers];this.subscribers.length=0,e.forEach(e=>{try{e()}catch(e){console.error(`Error in CacheStore subscriber callback: ${e.message}`)}})}):this.isReady=!0}onReady(e){return this.isReady?(e(),()=>{}):(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);t>=0&&this.subscribers.splice(t,1)})}waitForReady(){return this.isReady?Promise.resolve():new Promise(e=>{this.onReady(e)})}async get(e,t){return await this.fetchAndCache(e,t),this.cacheStore.get(e)?.content??``}getContent(e){return this.cacheStore.get(e)?.content??``}set(e,t){this.cacheStore.set(e,t)}isCached(e){return this.cacheStore.get(e)?.status===Nj.LOADED}async fetchAndCache(e,t){this.isReady||await this.waitForReady();let n=this.cacheStore.get(e);if(n?.status!==Nj.LOADED){if(n?.status===Nj.LOADING){await this.handleLoading(e,t?.signal||void 0,async()=>{this.cacheStore.set(e,{content:``,status:Nj.IDLE}),await this.fetchAndCache(e,t)});let n=this.cacheStore.get(e);if(n?.status===Nj.FAILED){if(n.error)throw n.error;this.cacheStore.delete(e),await this.fetchAndCache(e,t)}}else{this.cacheStore.set(e,{content:``,status:Nj.LOADING});try{let n=this.cacheApi?await this.fetchFromPersistentCache(e,t):await zj(e,t);this.cacheStore.set(e,{content:n,status:Nj.LOADED})}catch(t){let n=t?.name===`AbortError`;throw this.cacheStore.set(e,{content:``,error:n?void 0:t,status:Nj.FAILED}),t}}}}async fetchFromPersistentCache(e,t){let n=await this.cacheApi?.match(e);return n?n.text():(await this.cacheApi?.add(new Request(e,t)),await(await this.cacheApi?.match(e))?.text()??``)}async handleLoading(e,t,n){for(let n=0;n<10;n++){if(t?.aborted)throw t.reason instanceof Error?t.reason:new DOMException(`The operation was aborted.`,`AbortError`);if(this.cacheStore.get(e)?.status!==Nj.LOADING)return;await Hj(.1)}await n()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map(([e,t])=>({[e]:t}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){let e=await this.cacheApi.keys();await Promise.allSettled(e.map(e=>this.cacheApi.delete(e)))}this.cacheStore.clear()}};function Hj(e=1){return new Promise(t=>{setTimeout(t,e*1e3)})}var Uj=(0,V.createContext)(null);function Wj(){return(0,V.useContext)(Uj)}var Gj=e=>typeof e==`string`?e.split(/ ?; ?/).reduce((e,t)=>{let[n,r]=t.split(/ ?: ?/).map((e,t)=>t===0?e.replace(/\s+/g,``):e.trim());if(n&&r){let t=n.replace(/(\w)-(\w)/g,(e,t,n)=>`${t}${n.toUpperCase()}`),i=r.trim();Number.isNaN(Number(r))||(i=Number(r)),e[n.startsWith(`-`)?n:t]=i}return e},{}):{};function Kj(e=6){let t=``;for(let n=e;n>0;--n)t+=`0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`[Math.round(Math.random()*61)];return t}var qj=[`br`,`col`,`colgroup`,`dl`,`hr`,`iframe`,`img`,`input`,`link`,`menuitem`,`meta`,`ol`,`param`,`select`,`table`,`tbody`,`tfoot`,`thead`,`tr`,`ul`,`wbr`],Jj={"accept-charset":`acceptCharset`,acceptcharset:`acceptCharset`,accesskey:`accessKey`,allowfullscreen:`allowFullScreen`,autocapitalize:`autoCapitalize`,autocomplete:`autoComplete`,autocorrect:`autoCorrect`,autofocus:`autoFocus`,autoplay:`autoPlay`,autosave:`autoSave`,cellpadding:`cellPadding`,cellspacing:`cellSpacing`,charset:`charSet`,class:`className`,classid:`classID`,classname:`className`,colspan:`colSpan`,contenteditable:`contentEditable`,contextmenu:`contextMenu`,controlslist:`controlsList`,crossorigin:`crossOrigin`,dangerouslysetinnerhtml:`dangerouslySetInnerHTML`,datetime:`dateTime`,defaultchecked:`defaultChecked`,defaultvalue:`defaultValue`,enctype:`encType`,for:`htmlFor`,formmethod:`formMethod`,formaction:`formAction`,formenctype:`formEncType`,formnovalidate:`formNoValidate`,formtarget:`formTarget`,frameborder:`frameBorder`,hreflang:`hrefLang`,htmlfor:`htmlFor`,httpequiv:`httpEquiv`,"http-equiv":`httpEquiv`,icon:`icon`,innerhtml:`innerHTML`,inputmode:`inputMode`,itemid:`itemID`,itemprop:`itemProp`,itemref:`itemRef`,itemscope:`itemScope`,itemtype:`itemType`,keyparams:`keyParams`,keytype:`keyType`,marginwidth:`marginWidth`,marginheight:`marginHeight`,maxlength:`maxLength`,mediagroup:`mediaGroup`,minlength:`minLength`,nomodule:`noModule`,novalidate:`noValidate`,playsinline:`playsInline`,radiogroup:`radioGroup`,readonly:`readOnly`,referrerpolicy:`referrerPolicy`,rowspan:`rowSpan`,spellcheck:`spellCheck`,srcdoc:`srcDoc`,srclang:`srcLang`,srcset:`srcSet`,tabindex:`tabIndex`,typemustmatch:`typeMustMatch`,usemap:`useMap`,accentheight:`accentHeight`,"accent-height":`accentHeight`,alignmentbaseline:`alignmentBaseline`,"alignment-baseline":`alignmentBaseline`,allowreorder:`allowReorder`,arabicform:`arabicForm`,"arabic-form":`arabicForm`,attributename:`attributeName`,attributetype:`attributeType`,autoreverse:`autoReverse`,basefrequency:`baseFrequency`,baselineshift:`baselineShift`,"baseline-shift":`baselineShift`,baseprofile:`baseProfile`,calcmode:`calcMode`,capheight:`capHeight`,"cap-height":`capHeight`,clippath:`clipPath`,"clip-path":`clipPath`,clippathunits:`clipPathUnits`,cliprule:`clipRule`,"clip-rule":`clipRule`,colorinterpolation:`colorInterpolation`,"color-interpolation":`colorInterpolation`,colorinterpolationfilters:`colorInterpolationFilters`,"color-interpolation-filters":`colorInterpolationFilters`,colorprofile:`colorProfile`,"color-profile":`colorProfile`,colorrendering:`colorRendering`,"color-rendering":`colorRendering`,contentscripttype:`contentScriptType`,contentstyletype:`contentStyleType`,diffuseconstant:`diffuseConstant`,dominantbaseline:`dominantBaseline`,"dominant-baseline":`dominantBaseline`,edgemode:`edgeMode`,enablebackground:`enableBackground`,"enable-background":`enableBackground`,externalresourcesrequired:`externalResourcesRequired`,fillopacity:`fillOpacity`,"fill-opacity":`fillOpacity`,fillrule:`fillRule`,"fill-rule":`fillRule`,filterres:`filterRes`,filterunits:`filterUnits`,floodopacity:`floodOpacity`,"flood-opacity":`floodOpacity`,floodcolor:`floodColor`,"flood-color":`floodColor`,fontfamily:`fontFamily`,"font-family":`fontFamily`,fontsize:`fontSize`,"font-size":`fontSize`,fontsizeadjust:`fontSizeAdjust`,"font-size-adjust":`fontSizeAdjust`,fontstretch:`fontStretch`,"font-stretch":`fontStretch`,fontstyle:`fontStyle`,"font-style":`fontStyle`,fontvariant:`fontVariant`,"font-variant":`fontVariant`,fontweight:`fontWeight`,"font-weight":`fontWeight`,glyphname:`glyphName`,"glyph-name":`glyphName`,glyphorientationhorizontal:`glyphOrientationHorizontal`,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,glyphorientationvertical:`glyphOrientationVertical`,"glyph-orientation-vertical":`glyphOrientationVertical`,glyphref:`glyphRef`,gradienttransform:`gradientTransform`,gradientunits:`gradientUnits`,horizadvx:`horizAdvX`,"horiz-adv-x":`horizAdvX`,horizoriginx:`horizOriginX`,"horiz-origin-x":`horizOriginX`,imagerendering:`imageRendering`,"image-rendering":`imageRendering`,kernelmatrix:`kernelMatrix`,kernelunitlength:`kernelUnitLength`,keypoints:`keyPoints`,keysplines:`keySplines`,keytimes:`keyTimes`,lengthadjust:`lengthAdjust`,letterspacing:`letterSpacing`,"letter-spacing":`letterSpacing`,lightingcolor:`lightingColor`,"lighting-color":`lightingColor`,limitingconeangle:`limitingConeAngle`,markerend:`markerEnd`,"marker-end":`markerEnd`,markerheight:`markerHeight`,markermid:`markerMid`,"marker-mid":`markerMid`,markerstart:`markerStart`,"marker-start":`markerStart`,markerunits:`markerUnits`,markerwidth:`markerWidth`,maskcontentunits:`maskContentUnits`,maskunits:`maskUnits`,numoctaves:`numOctaves`,overlineposition:`overlinePosition`,"overline-position":`overlinePosition`,overlinethickness:`overlineThickness`,"overline-thickness":`overlineThickness`,paintorder:`paintOrder`,"paint-order":`paintOrder`,"panose-1":`panose1`,pathlength:`pathLength`,patterncontentunits:`patternContentUnits`,patterntransform:`patternTransform`,patternunits:`patternUnits`,pointerevents:`pointerEvents`,"pointer-events":`pointerEvents`,pointsatx:`pointsAtX`,pointsaty:`pointsAtY`,pointsatz:`pointsAtZ`,preservealpha:`preserveAlpha`,preserveaspectratio:`preserveAspectRatio`,primitiveunits:`primitiveUnits`,refx:`refX`,refy:`refY`,renderingintent:`renderingIntent`,"rendering-intent":`renderingIntent`,repeatcount:`repeatCount`,repeatdur:`repeatDur`,requiredextensions:`requiredExtensions`,requiredfeatures:`requiredFeatures`,shaperendering:`shapeRendering`,"shape-rendering":`shapeRendering`,specularconstant:`specularConstant`,specularexponent:`specularExponent`,spreadmethod:`spreadMethod`,startoffset:`startOffset`,stddeviation:`stdDeviation`,stitchtiles:`stitchTiles`,stopcolor:`stopColor`,"stop-color":`stopColor`,stopopacity:`stopOpacity`,"stop-opacity":`stopOpacity`,strikethroughposition:`strikethroughPosition`,"strikethrough-position":`strikethroughPosition`,strikethroughthickness:`strikethroughThickness`,"strikethrough-thickness":`strikethroughThickness`,strokedasharray:`strokeDasharray`,"stroke-dasharray":`strokeDasharray`,strokedashoffset:`strokeDashoffset`,"stroke-dashoffset":`strokeDashoffset`,strokelinecap:`strokeLinecap`,"stroke-linecap":`strokeLinecap`,strokelinejoin:`strokeLinejoin`,"stroke-linejoin":`strokeLinejoin`,strokemiterlimit:`strokeMiterlimit`,"stroke-miterlimit":`strokeMiterlimit`,strokewidth:`strokeWidth`,"stroke-width":`strokeWidth`,strokeopacity:`strokeOpacity`,"stroke-opacity":`strokeOpacity`,suppresscontenteditablewarning:`suppressContentEditableWarning`,suppresshydrationwarning:`suppressHydrationWarning`,surfacescale:`surfaceScale`,systemlanguage:`systemLanguage`,tablevalues:`tableValues`,targetx:`targetX`,targety:`targetY`,textanchor:`textAnchor`,"text-anchor":`textAnchor`,textdecoration:`textDecoration`,"text-decoration":`textDecoration`,textlength:`textLength`,textrendering:`textRendering`,"text-rendering":`textRendering`,underlineposition:`underlinePosition`,"underline-position":`underlinePosition`,underlinethickness:`underlineThickness`,"underline-thickness":`underlineThickness`,unicodebidi:`unicodeBidi`,"unicode-bidi":`unicodeBidi`,unicoderange:`unicodeRange`,"unicode-range":`unicodeRange`,unitsperem:`unitsPerEm`,"units-per-em":`unitsPerEm`,unselectable:`unselectable`,valphabetic:`vAlphabetic`,"v-alphabetic":`vAlphabetic`,vectoreffect:`vectorEffect`,"vector-effect":`vectorEffect`,vertadvy:`vertAdvY`,"vert-adv-y":`vertAdvY`,vertoriginx:`vertOriginX`,"vert-origin-x":`vertOriginX`,vertoriginy:`vertOriginY`,"vert-origin-y":`vertOriginY`,vhanging:`vHanging`,"v-hanging":`vHanging`,videographic:`vIdeographic`,"v-ideographic":`vIdeographic`,viewbox:`viewBox`,viewtarget:`viewTarget`,vmathematical:`vMathematical`,"v-mathematical":`vMathematical`,wordspacing:`wordSpacing`,"word-spacing":`wordSpacing`,writingmode:`writingMode`,"writing-mode":`writingMode`,xchannelselector:`xChannelSelector`,xheight:`xHeight`,"x-height":`xHeight`,xlinkactuate:`xlinkActuate`,"xlink:actuate":`xlinkActuate`,xlinkarcrole:`xlinkArcrole`,"xlink:arcrole":`xlinkArcrole`,xlinkhref:`xlinkHref`,"xlink:href":`xlinkHref`,xlinkrole:`xlinkRole`,"xlink:role":`xlinkRole`,xlinkshow:`xlinkShow`,"xlink:show":`xlinkShow`,xlinktitle:`xlinkTitle`,"xlink:title":`xlinkTitle`,xlinktype:`xlinkType`,"xlink:type":`xlinkType`,xmlbase:`xmlBase`,"xml:base":`xmlBase`,xmllang:`xmlLang`,"xml:lang":`xmlLang`,"xml:space":`xmlSpace`,xmlnsxlink:`xmlnsXlink`,"xmlns:xlink":`xmlnsXlink`,xmlspace:`xmlSpace`,ychannelselector:`yChannelSelector`,zoomandpan:`zoomAndPan`,onblur:`onBlur`,onchange:`onChange`,onclick:`onClick`,oncontextmenu:`onContextMenu`,ondoubleclick:`onDoubleClick`,ondrag:`onDrag`,ondragend:`onDragEnd`,ondragenter:`onDragEnter`,ondragexit:`onDragExit`,ondragleave:`onDragLeave`,ondragover:`onDragOver`,ondragstart:`onDragStart`,ondrop:`onDrop`,onerror:`onError`,onfocus:`onFocus`,oninput:`onInput`,oninvalid:`onInvalid`,onkeydown:`onKeyDown`,onkeypress:`onKeyPress`,onkeyup:`onKeyUp`,onload:`onLoad`,onmousedown:`onMouseDown`,onmouseenter:`onMouseEnter`,onmouseleave:`onMouseLeave`,onmousemove:`onMouseMove`,onmouseout:`onMouseOut`,onmouseover:`onMouseOver`,onmouseup:`onMouseUp`,onscroll:`onScroll`,onsubmit:`onSubmit`,ontouchcancel:`onTouchCancel`,ontouchend:`onTouchEnd`,ontouchmove:`onTouchMove`,ontouchstart:`onTouchStart`,onwheel:`onWheel`};function Yj(e,t){let{key:n,level:r,...i}=t;switch(e.nodeType){case 1:return V.createElement(Qj(e.nodeName),Xj(e,n),Zj(e.childNodes,r,i));case 3:{let t=e.nodeValue?.toString()??``;if(!i.allowWhiteSpaces&&/^\s+$/.test(t)&&!/[\u00A0\u202F]/.test(t))return null;if(!e.parentNode)return t;let n=e.parentNode.nodeName.toLowerCase();return qj.includes(n)?(/\S/.test(t)&&console.warn(`A textNode is not allowed inside '${n}'. Your text "${t}" will be ignored`),null):t}case 8:return null;case 11:return Zj(e.childNodes,r,t);default:return null}}function Xj(e,t){let n={key:t};if(e instanceof Element){let t=e.getAttribute(`class`);t&&(n.className=t),[...e.attributes].forEach(e=>{switch(e.name){case`class`:break;case`style`:n[e.name]=Gj(e.value);break;case`allowfullscreen`:case`allowpaymentrequest`:case`async`:case`autofocus`:case`autoplay`:case`checked`:case`controls`:case`default`:case`defer`:case`disabled`:case`formnovalidate`:case`hidden`:case`ismap`:case`itemscope`:case`loop`:case`multiple`:case`muted`:case`nomodule`:case`novalidate`:case`open`:case`readonly`:case`required`:case`reversed`:case`selected`:case`typemustmatch`:n[Jj[e.name]||e.name]=!0;break;default:n[Jj[e.name]||e.name]=e.value}})}return n}function Zj(e,t,n){let r=[...e].map((e,r)=>eM(e,{...n,index:r,level:t+1})).filter(Boolean);return r.length?r:null}function Qj(e){return/[a-z]+[A-Z]+[a-z]+/.test(e)?e:e.toLowerCase()}function $j(e,t={}){return typeof e==`string`?tM(e,t):e instanceof Node?eM(e,t):null}function eM(e,t={}){if(!e||!(e instanceof Node))return null;let{actions:n=[],index:r=0,level:i=0,randomKey:a}=t,o=e,s=`${i}-${r}`,c=[];return a&&i===0&&(s=`${Kj()}-${s}`),Array.isArray(n)&&n.forEach(t=>{t.condition(o,s,i)&&(typeof t.pre==`function`&&(o=t.pre(o,s,i),o instanceof Node||(o=e)),typeof t.post==`function`&&c.push(t.post(o,s,i)))}),c.length?c:Yj(o,{key:s,level:i,...t})}function tM(e,t={}){if(!e||typeof e!=`string`)return null;let{includeAllNodes:n=!1,nodeOnly:r=!1,selector:i=`body > *`,type:a=`text/html`}=t;try{let o=new DOMParser().parseFromString(e,a);if(n){let{childNodes:e}=o.body;return r?e:[...e].map(e=>eM(e,t))}let s=o.querySelector(i)||o.body.childNodes[0];if(!(s instanceof Node))throw TypeError(`Error parsing input`);return r?s:eM(s,t)}catch{}return null}function nM(e){(0,V.useEffect)(e,[])}function rM(e){let t=(0,V.useRef)(void 0);return(0,V.useEffect)(()=>{t.current=e}),t.current}function iM(e,t,n){let r=e.matchAll(/\bid=(["'])([^"']+)\1/g),i=[...new Set([...r].map(e=>e[2]))];return i.length?(i.sort((e,t)=>t.length-e.length),e.replace(/<style[^>]*>([\S\s]*?)<\/style>/gi,(e,r)=>{let a=r;for(let e of i){let r=e.replace(/[$()*+.?[\\\]^{|}]/g,`\\$&`);a=a.replace(RegExp(`url\\((['"]?)#${r}\\1\\)`,`g`),`url($1${n}#${e}__${t}$1)`),a=a.replace(RegExp(`#${r}(?![a-zA-Z0-9_-])`,`g`),`#${e}__${t}`)}return e.replace(r,a)})):e}function aM(e){let{baseURL:t,content:n,description:r,handleError:i,hash:a,preProcessor:o,title:s,uniquifyIDs:c=!1}=e;try{let e=o?o(n):n;c&&(e=iM(e,a,t??``));let i=$j(e,{nodeOnly:!0});if(!i||!(i instanceof SVGSVGElement))throw Error(`Could not convert the src to a DOM Node`);let l=oM(i,{baseURL:t,hash:a,uniquifyIDs:c});if(r){let e=l.querySelector(`desc`);e?.parentNode&&e.parentNode.removeChild(e);let t=document.createElementNS(`http://www.w3.org/2000/svg`,`desc`);t.innerHTML=r,l.prepend(t)}if(s!==void 0){let e=l.querySelector(`title`);if(e?.parentNode&&e.parentNode.removeChild(e),s){let e=document.createElementNS(`http://www.w3.org/2000/svg`,`title`);e.innerHTML=s,l.prepend(e)}}return l}catch(e){return i(e)}}function oM(e,t){let{baseURL:n=``,hash:r,uniquifyIDs:i}=t,a=[`id`,`href`,`xlink:href`,`xlink:role`,`xlink:arcrole`],o=[`href`,`xlink:href`],s=(e,t)=>o.includes(e)&&(t?!t.includes(`#`):!1);return i&&[...e.children].forEach(e=>{if(e.attributes?.length){let t=Object.values(e.attributes).map(e=>{let t=e,i=/url\((.*?)\)/.exec(e.value);return i?.[1]&&(t.value=e.value.replace(i[0],`url(${n}${i[1]}__${r})`)),t});a.forEach(e=>{let n=t.find(t=>t.name===e);n&&!s(e,n.value)&&(n.value=`${n.value}__${r}`)})}return e.children.length?oM(e,t):e}),e}function sM(e,t){let{baseURL:n,cacheRequests:r=!0,description:i,fetchOptions:a,onError:o,onLoad:s,preProcessor:c,src:l,title:u,uniqueHash:d,uniquifyIDs:f}=e,p=(0,V.useRef)(d??Rj(8)),m=(0,V.useRef)(a),h=(0,V.useRef)(o),g=(0,V.useRef)(s),_=(0,V.useRef)(c);m.current=a,h.current=o,g.current=s,_.current=c;let[v,y]=(0,V.useReducer)((e,t)=>({...e,...t}),{content:``,element:null,isCached:!1,status:Nj.IDLE},n=>{if(!(r&&t.isCached(l)))return n;let i=t.getContent(l);try{let t=aM({...e,handleError:()=>{},hash:p.current,content:i});if(!t)return{...n,content:i,isCached:!0,status:Nj.LOADED};let r=$j(t);if(r&&(0,V.isValidElement)(r))return{content:i,element:r,isCached:!0,status:Nj.READY}}catch{}return{...n,content:i,isCached:!0,status:Nj.LOADED}}),{content:b,element:x,isCached:S,status:C}=v,w=rM(e),T=rM(v),E=(0,V.useRef)(!1),D=(0,V.useRef)(!1),O=(0,V.useCallback)(e=>{E.current&&(y({status:e.message===`Browser does not support SVG`?Nj.UNSUPPORTED:Nj.FAILED}),h.current?.(e))},[]),k=(0,V.useCallback)(()=>{try{let e=$j(aM({baseURL:n,content:b,description:i,handleError:O,hash:p.current,preProcessor:_.current,src:l,title:u,uniquifyIDs:f}));if(!e||!(0,V.isValidElement)(e))throw Error(`Could not convert the src to a React element`);y({element:e,status:Nj.READY})}catch(e){O(e)}},[n,b,i,O,l,u,f]);return nM(()=>{if(E.current=!0,Fj()&&!D.current){try{if(C===Nj.READY)g.current?.(l,S);else if(C===Nj.IDLE){if(!Ij())throw Error(`Browser does not support SVG`);if(!l)throw Error(`Missing src`);y({content:``,element:null,isCached:!1,status:Nj.LOADING})}}catch(e){O(e)}return D.current=!0,()=>{E.current=!1}}}),(0,V.useEffect)(()=>{if(Fj()&&w&&w.src!==l){if(!l){O(Error(`Missing src`));return}y({content:``,element:null,isCached:!1,status:Nj.LOADING})}},[O,w,l]),(0,V.useEffect)(()=>{if(C!==Nj.LOADING)return;let e=new AbortController,n=!0;return(async()=>{try{let i=/^data:image\/svg[^,]*?(;base64)?,(.*)/.exec(l),a;if(i?a=i[1]?window.atob(i[2]):decodeURIComponent(i[2]):l.includes(`<svg`)&&(a=l),a){n&&y({content:a,isCached:!1,status:Nj.LOADED});return}let o={...m.current,signal:e.signal},s,c=!1;r?(c=t.isCached(l),s=await t.get(l,o)):s=await zj(l,o),n&&y({content:s,isCached:c,status:Nj.LOADED})}catch(e){n&&e.name!==`AbortError`&&O(e)}})(),()=>{n=!1,e.abort()}},[r,t,O,l,C]),(0,V.useEffect)(()=>{C===Nj.LOADED&&b&&k()},[b,k,C]),(0,V.useEffect)(()=>{Fj()&&w&&w.src===l&&(w.title!==u||w.description!==i)&&k()},[i,k,w,l,u]),(0,V.useEffect)(()=>{T&&C===Nj.READY&&T.status!==Nj.READY&&g.current?.(l,S)},[S,T,l,C]),{element:x,status:C}}var cM=new Vj;function lM(e){let{children:t=null,innerRef:n,loader:r=null}=e,{element:i,status:a}=sM(e,Wj()??cM);return Fj()?i?(0,V.cloneElement)(i,{ref:n,...Lj(e,`baseURL`,`cacheRequests`,`children`,`description`,`fetchOptions`,`innerRef`,`loader`,`onError`,`onLoad`,`preProcessor`,`src`,`title`,`uniqueHash`,`uniquifyIDs`)}):[Nj.UNSUPPORTED,Nj.FAILED].includes(a)?t:r:r}var uM=window.location.hostname.endsWith(`iobroker.in`),dM=window.location.pathname.substring(0,window.location.pathname.lastIndexOf(`/`)+1),fM=V.forwardRef(function(e,t){if(e.src){if(typeof e.src==`string`){if(e.src.length<3)return e.sx?V.createElement(rp,{component:`span`,sx:e.sx,ref:t,title:e.title||void 0,style:{height:27,marginTop:-8,...e.styleUTF8||e.style},className:e.className?`iconOwn ${e.className}`:`iconOwn`},e.src):V.createElement(`span`,{ref:t,title:e.title||void 0,style:{height:27,marginTop:-8,...e.styleUTF8||e.style},className:e.className?`iconOwn ${e.className}`:`iconOwn`},e.src);if(e.src.startsWith(`data:image/svg`))return V.createElement(lM,{title:e.title||void 0,src:e.src,className:e.className?`iconOwn ${e.className}`:`iconOwn`,width:e.style?.width||28,height:e.style?.height||e.style?.width||28,style:e.style||void 0});if(uM&&!e.src.startsWith(`http://`)&&!e.src.startsWith(`https://`)){let n=e.src;return n.startsWith(`./`)?n=dM+n.substring(2):n.startsWith(`/`)||(n=dM+n),e.sx?V.createElement(rp,{component:`img`,sx:e.sx,title:e.title||void 0,style:e.style||void 0,className:e.className?`iconOwn ${e.className}`:`iconOwn`,src:`https://remote-files.iobroker.in${n}`,alt:e.alt||void 0,ref:t,onError:t=>e.onError?.(t)}):V.createElement(`img`,{title:e.title||void 0,style:e.style||void 0,className:e.className?`iconOwn ${e.className}`:`iconOwn`,src:`https://remote-files.iobroker.in${n}`,alt:e.alt||void 0,ref:t,onError:t=>e.onError?.(t)})}return e.sx?V.createElement(rp,{component:`img`,sx:e.sx,title:e.title||void 0,style:e.style||void 0,className:e.className?`iconOwn ${e.className}`:`iconOwn`,src:e.src,alt:e.alt||void 0,ref:t,onError:e.onError}):V.createElement(`img`,{title:e.title||void 0,style:e.style||void 0,className:e.className?`iconOwn ${e.className}`:`iconOwn`,src:e.src,alt:e.alt||void 0,ref:t,onError:e.onError})}return e.src}return null});fM.displayName=`Icon`;var pM={dialog:{height:`100%`},paper:{height:`calc(100% - 64px)`},content:{textAlign:`center`},textarea:{width:`100%`,height:`100%`},img:{width:`auto`,height:`calc(100% - 5px)`,objectFit:`contain`},dialogTitle:{justifyContent:`space-between`,display:`flex`}},mM={images:[`png`,`jpg`,`svg`,`jpeg`,`bmp`,`gif`,`apng`,`avif`,`webp`,`ico`],code:[`js`,`json`,`json5`,`md`],txt:[`log`,`txt`,`html`,`css`,`xml`,`ics`,`csv`],audio:[`mp3`,`wav`,`ogg`,`acc`],video:[`mp4`,`mov`,`avi`]};function hM(e,t){let n=``,r=new Uint8Array(e?.data||e),i=r.byteLength;for(let e=0;e<i&&(t||e<50);e++)n+=String.fromCharCode(r[e]);return window.btoa(n)}var gM=class extends V.Component{timeout=null;constructor(e){super(e);let t=Vk.getFileExtension(e.href);this.state={text:null,code:null,ext:t,editing:!1,editingValue:null,copyPossible:!!t&&(mM.code.includes(t)||mM.txt.includes(t)),forceUpdate:Date.now(),changed:!1,imgError:!1}}readFile(){if(this.props.href){let e=this.props.href.split(`/`);e.splice(0,2);let t=e[0],n=e.splice(1).join(`/`);this.props.socket.readFile(t,n).then(e=>{let t=``;e.file!==void 0&&(t=e.file);let r={copyPossible:this.state.copyPossible,ext:this.state.ext};if(t.type===`Buffer`){if(n.toLowerCase().endsWith(`.json5`)){r.ext=`json5`,r.copyPossible=!0;try{t=atob(hM(t,!0))}catch{console.error(`Cannot convert base64 to string`),t=``}}else{let e=Vk.detectMimeType(hM(t));e&&(r.ext=e,r.copyPossible=mM.code.includes(e)||mM.txt.includes(e))}}r.copyPossible&&(r.ext&&mM.txt.includes(r.ext)?(r.text=t,r.editingValue=t):r.ext&&mM.code.includes(r.ext)&&(r.code=t,r.editingValue=t)),this.setState(r)}).catch(e=>window.alert(`Cannot read file: ${e}`))}}componentDidMount(){this.readFile();let e=this.props.href.split(`/`);e.splice(0,2);let t=e[0],n=e.splice(1).join(`/`);this.props.supportSubscribes&&this.props.socket.subscribeFiles(t,n,this.onFileChanged).catch(e=>window.alert(`Cannot subscribe on file: ${e}`))}componentWillUnmount(){this.timeout&&=(clearTimeout(this.timeout),null);let e=this.props.href.split(`/`);e.splice(0,2);let t=e[0],n=e.splice(1).join(`/`);this.props.supportSubscribes&&this.props.socket.unsubscribeFiles(t,n,this.onFileChanged)}onFileChanged=(e,t,n)=>{this.state.changed||(this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.timeout=null,n===null?window.alert(`Show file was deleted!`):this.state.text!==null||this.state.code!==null?this.readFile():this.setState({forceUpdate:Date.now()})},300))};getEditorOrViewer(){return V.createElement(ry,{variant:`standard`,style:pM.textarea,multiline:!0,value:this.state.editingValue||this.state.code||this.state.text,slotProps:{htmlInput:{readOnly:!this.state.editing}}})}getContent(){return this.state.ext&&mM.images.includes(this.state.ext)?this.state.imgError?V.createElement(jj,{style:{...pM.img,...this.props.getStyleBackgroundImage()}}):V.createElement(fM,{onError:e=>{e.target.onerror=null,this.setState({imgError:!0})},style:{...pM.img,...this.props.getStyleBackgroundImage()},src:`${this.props.href}?ts=${this.state.forceUpdate}`,alt:this.props.href}):this.state.ext&&mM.audio.includes(this.state.ext)?V.createElement(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`,alignItems:`center`}},V.createElement(`audio`,{style:{width:`100%`},src:this.props.href,controls:!0})):this.state.ext&&mM.video.includes(this.state.ext)?V.createElement(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`,alignItems:`center`}},V.createElement(`video`,{style:{width:`100%`,height:`100%`},controls:!0},V.createElement(`source`,{src:this.props.href,type:`video/${this.state.ext}`}))):this.state.code!==null||this.state.text!==null||this.state.editing?this.getEditorOrViewer():null}onSave(){}render(){return V.createElement(Um,{sx:{"&.MuiDialog-scrollPaper":pM.dialog,"& .MuiDialog-paper":pM.paper},scroll:`paper`,open:!!this.props.href,onClose:()=>this.props.onClose(),fullWidth:!0,maxWidth:`xl`,"aria-labelledby":`ar_dialog_file_view_title`},V.createElement(`div`,{style:pM.dialogTitle},V.createElement(oh,{id:`ar_dialog_file_view_title`},`${this.props.t(this.state.editing?`Edit`:`View`)}: ${this.props.href}`),this.state.ext&&mM.images.includes(this.state.ext)&&V.createElement(`div`,null,V.createElement(Eu,{size:`large`,color:`inherit`,onClick:this.props.setStateBackgroundImage},V.createElement(RO,null)))),V.createElement($m,{style:pM.content},this.getContent()),V.createElement(qm,null,this.state.copyPossible?V.createElement(Dp,{color:`grey`,onClick:e=>{e.stopPropagation(),e.preventDefault(),Vk.copyToClipboard(this.state.text||this.state.code||``)},startIcon:V.createElement(UO,null)},this.props.t(`Copy content`)):null,this.state.editing?V.createElement(Dp,{color:`grey`,disabled:this.state.editingValue===this.state.code||this.state.editingValue===this.state.text,variant:`contained`,onClick:()=>this.onSave(),startIcon:V.createElement(ck,null)},this.props.t(`Save`)):null,V.createElement(Dp,{variant:`contained`,onClick:()=>this.props.onClose(),color:`primary`,startIcon:V.createElement(VO,null)},this.props.t(`Close`))))}},_M=Tj()(gM),vM=32,yM=32,bM=120,xM=64,SM=`Not found`,CM={all:$O,images:QO,code:HO,txt:ZO,audio:FO,video:pk},Q={root:{width:`100%`,overflow:`hidden`,height:`100%`,position:`relative`,display:`flex`,flexDirection:`column`},filesDiv:{width:`calc(100% - 8px)`,overflowX:`hidden`,overflowY:`auto`,padding:8,flex:`1 1 auto`,minHeight:0},filesDivHint:{position:`absolute`,bottom:0,left:20,opacity:.7,fontStyle:`italic`,fontSize:12},filesDivTable:{},filesDivTile:{display:`flex`,alignContent:`flex-start`,alignItems:`stretch`,flexWrap:`wrap`},itemTile:e=>({position:`relative`,userSelect:`none`,cursor:`pointer`,height:bM,width:xM,display:`inline-block`,textAlign:`center`,opacity:.1,transition:`opacity 1s`,margin:`4px`,borderRadius:`4px`,"&:hover":{background:e.palette.secondary.light,color:Vk.invertColor(e.palette.secondary.main,!0)}}),itemNameFolderTile:{fontWeight:`bold`},itemNameTile:{width:`100%`,height:32,overflow:`hidden`,textOverflow:`ellipsis`,fontSize:12,textAlign:`center`,wordBreak:`break-all`},itemFolderIconTile:e=>({width:`100%`,height:64,display:`block`,pl:1,color:e.palette.secondary.main||`#fbff7d`}),itemFolderIconBack:e=>({position:`absolute`,top:22,left:18,zIndex:1,color:e.palette.secondary.contrastText}),itemSizeTile:{width:`100%`,height:16,textAlign:`center`,fontSize:10},itemImageTile:{width:`calc(100% - 8px)`,height:64,margin:4,display:`block`,textAlign:`center`,objectFit:`contain`},itemIconTile:{width:`100%`,height:64,display:`block`,objectFit:`contain`},itemSelected:e=>({background:e.palette.primary.main,color:Vk.invertColor(e.palette.primary.main,!0)}),itemTable:e=>({userSelect:`none`,cursor:`pointer`,height:vM,display:`inline-flex`,lineHeight:`${vM}px`,"&:hover":{background:e.palette.secondary.light,color:Vk.invertColor(e.palette.secondary.main,!0)}}),itemNameTable:{display:`inline-block`,pl:`10px`,fontSize:`1rem`,verticalAlign:`top`,flexGrow:1,textOverflow:`ellipsis`,whiteSpace:`nowrap`,overflow:`hidden`,"@media screen and (max-width: 500px)":{textAlign:`end`,direction:`rtl`}},itemNameFolderTable:{fontWeight:`bold`},itemSizeTable:{display:`inline-block`,width:60,verticalAlign:`top`,textAlign:`right`,whiteSpace:`nowrap`},itemAccessTable:{verticalAlign:`top`,width:60,textAlign:`right`,paddingRight:5,display:`flex`,justifyContent:`center`},itemImageTable:{display:`inline-block`,width:30,marginTop:1,objectFit:`contain`,maxHeight:30},itemNoImageTable:{marginTop:6},itemIconTable:{display:`inline-block`,marginTop:1,width:30,height:30},itemFolderTable:{},itemFolderTemp:{opacity:.4},itemFolderIconTable:e=>({marginTop:`1px`,marginLeft:`8px`,display:`inline-block`,width:30,height:30,color:e.palette.secondary.main||`#fbff7d`}),itemDownloadButtonTable:e=>({display:`inline-block`,width:yM,height:vM,minWidth:yM,verticalAlign:`middle`,textAlign:`center`,padding:0,borderRadius:`${yM/2}px`,"&:hover":{backgroundColor:e.palette.mode===`dark`?`rgba(255, 255, 255, 0.08)`:`rgba(0, 0, 0, 0.08)`},"& span":{pt:`9px`},"& svg":{width:14,height:14,fontSize:`1rem`,mt:`-3px`,verticalAlign:`middle`,color:e.palette.mode===`dark`?`#EEE`:`#111`}}),itemDownloadEmptyTable:{display:`inline-block`,width:yM,height:vM,minWidth:yM,padding:0},itemAclButtonTable:{width:yM,height:vM,minWidth:yM,verticalAlign:`top`,padding:0,fontSize:12,display:`flex`},itemDeleteButtonTable:{display:`inline-block`,width:yM,height:vM,minWidth:yM,verticalAlign:`top`,padding:0,"& svg":{width:18,height:18,fontSize:`1.5rem`}},uploadDiv:{top:0,zIndex:1,bottom:0,left:0,right:0,position:`absolute`,opacity:.9,textAlign:`center`,background:`#FFFFFF`},uploadDivDragging:{opacity:1},uploadCenterDiv:e=>({m:`20px`,border:`3px dashed grey`,borderRadius:`30px`,width:`calc(100% - 40px)`,height:`calc(100% - 40px)`,position:`relative`,color:e.palette.mode===`dark`?`#222`:`#CCC`,display:`flex`,alignItems:`center`,justifyContent:`center`}),uploadCenterIcon:{width:`25%`,height:`25%`},uploadCenterText:{fontSize:24,fontWeight:`bold`},uploadCloseButton:{zIndex:2,position:`absolute`,top:30,right:30},uploadCenterTextAndIcon:{position:`absolute`,height:`30%`,width:`100%`,margin:`auto`,opacity:.3},menuButtonExpertActive:{color:`#c00000`},menuButtonRestrictActive:{color:`#c05000`},pathDiv:e=>({display:`flex`,width:`calc(100% - 16px)`,ml:1,mr:1,textOverflow:`clip`,overflow:`hidden`,whiteSpace:`nowrap`,backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText,borderRadius:`4px 4px 0 0`}),pathDivInput:{width:`100%`},pathDivBreadcrumbDir:e=>({pl:`2px`,pr:`2px`,cursor:`pointer`,color:`white`,"&:hover":{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText}}),pathDivBreadcrumbSelected:{color:`#FFF`},backgroundImageLight:{background:`white`},backgroundImageDark:{background:`black`},backgroundImageColored:{background:`silver`},specialFolder:e=>({color:e.palette.mode===`dark`?`#229b0f`:`#5dd300`}),tooltip:{pointerEvents:`none`}},wM=`0_userdata.0`;function TM(e){let t=(e||``).split(`/`);return t.length&&t.pop(),t.join(`/`)}function EM(e){let t=Vk.getFileExtension(e);return!!(t?.toLowerCase().match(/[a-z]+/)&&t.length<5)}var DM=`Table`,OM=`Tile`;function kM(e,t){return e.folder&&t.folder?e.name>t.name?1:e.name<t.name?-1:0:e.folder?-1:t.folder||e.name>t.name?1:e.name<t.name?-1:0}var AM=class e extends V.Component{imagePrefix;levelPadding;mounted;suppressDeleteConfirm;browseList;browseListRunning;initialReadFinished;supportSubscribes;_tempTimeout;limitToObjectID=null;limitToPath=null;lastSelect=null;lastNav=null;applyingNav=!1;setOpacityTimer=null;cacheFoldersTimeout=null;foldersLoading=null;cacheFolders=null;localStorage;scrollPositions={};refFileDiv;constructor(e){super(e),this.localStorage=window._localStorage||window.localStorage;let t=this.localStorage.getItem(`files.expanded`)||`[]`;if(this.refFileDiv=V.createRef(),this.props.limitPath){let e=this.props.limitPath.split(`/`);this.limitToObjectID=e[0],this.limitToPath=e.length?e.length===1&&e[0]===``?null:e.join(`/`):null,this.limitToPath&&this.limitToPath.endsWith(`/`)&&this.limitToPath.substring(0,this.limitToPath.length-1)}let n;try{n=JSON.parse(t),this.limitToPath&&(n=n.filter(e=>e.startsWith(`${this.limitToPath}/`)||e===this.limitToPath||this.limitToPath?.startsWith(`${e}/`)))}catch{n=[]}let r;r=this.props.showViewTypeButton&&this.localStorage.getItem(`files.viewType`)||DM;let i=this.props.selected||this.localStorage.getItem(`files.selected`)||wM,a;if(e.restrictToFolder){i=e.restrictToFolder,a=e.restrictToFolder;let t=e.restrictToFolder.split(`/`);n=[];let r=``;for(let e=0;e<t.length;e++)r+=(r?`/`:``)+t[e],n.push(r)}else Array.isArray(i)&&(i=i[0]),a=EM(i)?TM(i):i;let o=this.localStorage.getItem(`files.backgroundImage`)||null;this.state={viewType:r,folders:{},filterEmpty:this.localStorage.getItem(`files.empty`)!==`false`,expanded:n,currentDir:a,expertMode:!!e.expertMode,addFolder:!1,uploadFile:!1,deleteItem:``,viewer:``,formatEditFile:``,path:i,selected:i,errorText:``,modalEditOfAccess:!1,backgroundImage:o,queueLength:0,loadAllFolders:!1,fileErrors:[],filterByType:e.filterByType||window.localStorage.getItem(`files.filterByType`)||``,showTypesMenu:null,restrictToFolder:e.restrictToFolder||``,pathFocus:!1,suppressDeleteConfirm:!1},this.imagePrefix=this.props.imagePrefix||`./files/`,this.levelPadding=this.props.levelPadding||20,this.mounted=!0,this.suppressDeleteConfirm=0,this.browseList=[],this.browseListRunning=!1,this.initialReadFinished=!1,this.supportSubscribes=null,this._tempTimeout={}}static getDerivedStateFromProps(e,t){return e.expertMode!==void 0&&e.expertMode!==t.expertMode?{expertMode:e.expertMode,loadAllFolders:!0}:null}async loadFolders(){this.initialReadFinished=!1;let e=await this.browseFolder(`/`);this.state.viewType===DM?e=await this.browseFolders([...this.state.expanded],e):this.state.currentDir&&this.state.currentDir!==`/`&&(!this.limitToObjectID||this.state.currentDir.startsWith(this.limitToObjectID))&&(e=await this.browseFolder(this.state.currentDir,e)),this.setState({folders:e},()=>{if(this.state.viewType===DM&&!this.findItem(this.state.selected)){let e=this.state.selected.split(`/`);for(;e.length&&!this.findItem(e.join(`/`));)e.pop();let t;t=e.length?e.join(`/`):wM,this.setState({selected:t,path:t,pathFocus:!1},()=>this.scrollToSelected())}else this.scrollToSelected();this.initialReadFinished=!0})}scrollToSelected(){this.mounted&&document.getElementById(this.state.selected)?.scrollIntoView()}async componentDidMount(){this.mounted=!0,this.loadFolders().then(()=>this.applyInitialNavigateTo()).catch(e=>console.error(`Cannot load folders: ${e}`)),this.browseList=[],this.browseListRunning=!1,this.supportSubscribes=await this.props.socket.checkFeatureSupported(`BINARY_STATE_EVENT`),this.supportSubscribes&&await this.props.socket.subscribeFiles(`*`,`*`,this.onFileChange)}componentWillUnmount(){this.supportSubscribes&&this.props.socket.unsubscribeFiles(`*`,`*`,this.onFileChange),this.mounted=!1,this.browseList=null,this.browseListRunning=!1,this.setOpacityTimer&&=(clearTimeout(this.setOpacityTimer),null),this.cacheFoldersTimeout&&=(clearTimeout(this.cacheFoldersTimeout),null),Object.values(this._tempTimeout).forEach(e=>{e&&clearTimeout(e)}),this._tempTimeout={}}browseFoldersCb(e,t,n){if(!e?.length)n(t);else{let r=e.shift();r?this.browseFolder(r,t).catch(e=>console.error(`Cannot read folder ${r}: ${e.message}`)).then(()=>{setTimeout(()=>this.browseFoldersCb(e,t,n),0)}):setTimeout(()=>this.browseFoldersCb(e,t,n),0)}}browseFolders(e,t){let n;return t?n=t:(n={},Object.keys(this.state.folders).forEach(e=>n[e]=this.state.folders[e])),e?.length?new Promise(t=>{this.browseFoldersCb(e,n,t)}):Promise.resolve(n)}readDirSerial(e,t){return new Promise((n,r)=>{this.browseList&&(this.browseList.push({resolve:n,reject:r,adapter:e,relPath:t}),this.browseListRunning||this.processBrowseList())})}processBrowseList(e=0){!this.browseListRunning&&this.browseList&&this.browseList.length&&(this.browseListRunning=!0,this.browseList.length>10&&this.browseList.length%10||this.setState({queueLength:this.browseList.length}),this.browseList[0].processing=!0,this.props.socket.readDir(this.browseList[0].adapter,this.browseList[0].relPath||``).then(t=>{if(this.browseList){let n=this.browseList.shift();if(n){let r=n.resolve;n.resolve=null,n.reject=null,n.adapter=null,n.relPath=null,r&&r(t),this.browseListRunning=!1,this.browseList.length?e<5?this.processBrowseList(e+1):setTimeout(()=>this.processBrowseList(0),0):this.setState({queueLength:0})}else this.setState({queueLength:0})}}).catch(t=>{if(this.browseList){let n=this.browseList.shift();if(n){let r=n.reject;n.resolve=null,n.reject=null,n.adapter=null,n.relPath=null,r&&r(t),this.browseListRunning=!1,this.browseList.length?e<5?this.processBrowseList(e+1):setTimeout(()=>this.processBrowseList(0),0):this.setState({queueLength:0})}else this.setState({queueLength:0})}}))}async browseFolder(e,t,n,r){let i;if(t?i=t:(i={},Object.keys(this.state.folders).forEach(e=>{i[e]=this.state.folders[e]})),i[e]&&!r)return n?Promise.resolve(i):new Promise((t,n)=>{Promise.all(i[e].filter(e=>e.folder).map(e=>this.browseFolder(e.id,i,!0).catch(()=>void 0))).then(()=>t(i)).catch(e=>n(Error(e)))});if(!e||e===`/`){try{let t=await this.props.socket.readMetaItems(),r=[],a=null;if(this.state.restrictToFolder){let e=this.state.restrictToFolder.split(`/`)[0];t=t.filter(t=>t._id===e)}else this.state.expertMode||(t=t.filter(e=>!e._id.endsWith(`.admin`)));let o=t.findIndex(e=>e._id===`system.meta.uuid`);if(o!==-1&&t.splice(o,1),t.forEach(e=>{if(this.limitToObjectID&&this.limitToObjectID!==e._id)return;let t={id:e._id,name:e._id,title:e.common&&e.common.name||e._id,meta:!0,from:e.from,ts:e.ts,color:e.common&&e.common.color,icon:e.common&&e.common.icon,folder:!0,acl:e.acl,level:0};t.id===wM?a=t:r.push(t)}),r.sort((e,t)=>e.id>t.id?1:e.id<t.id?-1:0),(!this.limitToObjectID||this.limitToObjectID===wM)&&a&&r.unshift(a),i[e||`/`]=r,!n)return Promise.all(r.filter(e=>e.folder).map(e=>this.browseFolder(e.id,i,!0).catch(()=>void 0))).then(()=>i)}catch(t){let n=t;this.initialReadFinished&&window.alert(`Cannot read meta items: ${n.message}`),i[e||`/`]=[]}return i}let a=e.split(`/`),o=a.length,s=a.shift(),c=a.join(`/`),l;try{l=await this.readDirSerial(s||``,c)}catch(e){if(e===`Not exists`&&s===`0_userdata.0`)l=[];else throw e}try{let t=[];if(l.forEach(n=>{let r={id:`${e}/${n.file}`,ext:Vk.getFileExtension(n.file),folder:n.isDir,name:n.file,size:n.stats?.size,modified:n.modifiedAt,acl:n.acl,level:o};this.state.restrictToFolder?(r.folder&&(r.id.startsWith(`${this.state.restrictToFolder}/`)||r.id===this.state.restrictToFolder||this.state.restrictToFolder.startsWith(`${r.id}/`))||r.id.startsWith(`${this.state.restrictToFolder}/`))&&t.push(r):this.limitToPath?(r.folder&&(r.id.startsWith(`${this.limitToPath}/`)||r.id===this.limitToPath||this.limitToPath.startsWith(`${r.id}/`))||r.id.startsWith(`${this.limitToPath}/`))&&t.push(r):t.push(r)}),t.sort(kM),i[e]=t,!n)return Promise.all(t.filter(e=>e.folder).map(e=>this.browseFolder(e.id,i,!0))).then(()=>i)}catch(t){let n=t;this.initialReadFinished&&window.alert(`Cannot read ${s}${c?`/${c}`:``}: ${n?.message}`),i[e]=[]}return i}toggleFolder(e,t){t?.stopPropagation();let n=[...this.state.expanded],r=n.indexOf(e.id);r===-1?(n.push(e.id),n.sort(),this.localStorage.setItem(`files.expanded`,JSON.stringify(n)),e.temp?this.setState({expanded:n}):this.browseFolder(e.id).then(e=>this.setState({expanded:n,folders:e})).catch(t=>window.alert(t===SM?this.props.t(`ra_Cannot find "%s"`,e.id):this.props.t(`ra_Cannot read "%s"`,e.id)))):(n.splice(r,1),this.localStorage.setItem(`files.expanded`,JSON.stringify(n)),this.setState({expanded:n}))}onFileChange=(e,t,n)=>{let r=`${e}/${t}`,i=r.lastIndexOf(`/`),a=r.substring(0,i);console.log(`File changed ${r}[${n}]`),this.state.folders[a]&&(this._tempTimeout[a]&&clearTimeout(this._tempTimeout[a]),this._tempTimeout[a]=setTimeout(()=>{delete this._tempTimeout[a],this.browseFolder(a,null,!1,!0).then(e=>this.setState({folders:e})).catch(e=>console.error(`Cannot read folder: ${e.message}`))},300))};changeFolder(e,t){e?.stopPropagation(),this.lastSelect=Date.now();let n=t||TM(this.state.currentDir);n===`/`&&(n=``),this.state.viewType===`Tile`&&this.refFileDiv.current?.scrollTop&&(this.scrollPositions[this.state.currentDir]=this.refFileDiv.current.scrollTop),this.localStorage.setItem(`files.currentDir`,n),t&&e&&(e.altKey||e.shiftKey||e.ctrlKey||e.metaKey)?this.setState({selected:n}):n&&!this.state.folders[n]?this.browseFolder(n).then(e=>this.setState({folders:e,path:n,currentDir:n,selected:n,pathFocus:!1},()=>this.props.onSelect&&this.props.onSelect(``))).catch(e=>console.error(`Cannot read folder: ${e.message}`)):this.setState({currentDir:n,selected:n,path:n,pathFocus:!1},()=>{if(this.props.onSelect&&this.props.onSelect(``),this.state.viewType===`Tile`&&this.scrollPositions[this.state.currentDir]){let e=this.scrollPositions[this.state.currentDir];delete this.scrollPositions[this.state.currentDir],this.refFileDiv.current&&(this.refFileDiv.current.scrollTop=e)}})}select(e,t,n){t&&t.stopPropagation(),this.lastSelect=Date.now(),this.localStorage.setItem(`files.selected`,e),this.setState({selected:e,path:e,pathFocus:!1},()=>{if(this.props.onSelect){let t=Vk.getFileExtension(e);(!this.props.filterFiles||t&&this.props.filterFiles.includes(t))&&(!this.state.filterByType||t&&mM[this.state.filterByType].includes(t))?this.props.onSelect(e,!1,!!this.state.folders[e]):this.props.onSelect(``)}n&&n()})}getText(e){if(e)return typeof e==`object`?e[this.props.lang]||e.en||void 0:e}renderFolder(e,t){if(this.state.filterEmpty&&!this.state.folders[e.id]?.length&&e.id!==wM&&!e.temp)return null;let n=t?Aj:kj,r=this.state.viewType===DM?e.level*this.levelPadding:0,i=e.name===wM,a=i||e.name===`vis.0`||e.name===`vis-2.0`,o=Vk.getStyle(this.props.theme,Q[`itemFolderIcon${this.state.viewType}`],a&&Q.specialFolder);return V.createElement(rp,{component:`div`,key:e.id,id:e.id,style:this.state.viewType===DM?{marginLeft:r,width:`calc(100% - ${r}px)`}:void 0,onClick:t=>this.state.viewType===DM?this.select(e.id,t):this.changeFolder(t,e.id),onDoubleClick:t=>this.state.viewType===DM&&this.toggleFolder(e,t),title:this.getText(e.title),className:`browserItem`,sx:Vk.getStyle(this.props.theme,Q[`item${this.state.viewType}`],Q[`itemFolder${this.state.viewType}`],this.state.selected===e.id?Q.itemSelected:{},e.temp?Q.itemFolderTemp:{})},V.createElement(n,{style:o,onClick:this.state.viewType===DM?t=>this.toggleFolder(e,t):void 0}),V.createElement(rp,{component:`div`,sx:Vk.getStyle(this.props.theme,Q[`itemName${this.state.viewType}`],Q[`itemNameFolder${this.state.viewType}`])},i?this.props.t(`ra_User files`):e.name),V.createElement(rp,{component:`div`,style:Q[`itemSize${this.state.viewType}`],sx:{display:{md:`inline-block`,sm:`none`}}},this.state.viewType===DM&&this.state.folders[e.id]?this.state.folders[e.id].length:``),V.createElement(rp,{component:`div`,sx:{display:{md:`inline-block`,sm:`none`}}},this.state.viewType===DM&&this.props.expertMode?this.formatAcl(e.acl):null),this.state.viewType===DM&&this.props.expertMode?V.createElement(rp,{component:`div`,sx:{...Q.itemDeleteButtonTable,display:{md:`inline-block`,sm:`none`}}}):null,this.state.viewType===DM&&this.props.allowDownload?V.createElement(`div`,{style:Q[`itemDownloadEmpty${this.state.viewType}`]}):null,this.state.viewType===DM&&this.props.allowDelete&&this.state.folders[e.id]&&this.state.folders[e.id].length?V.createElement(Eu,{"aria-label":`delete`,onClick:t=>{t.stopPropagation(),this.suppressDeleteConfirm>Date.now()?this.deleteItem(e.id):this.setState({deleteItem:e.id})},sx:Q[`itemDeleteButton${this.state.viewType}`],size:`large`},V.createElement(GO,{fontSize:`small`})):this.state.viewType===DM&&this.props.allowDelete?V.createElement(rp,{component:`div`,sx:Q[`itemDeleteButton${this.state.viewType}`]}):null)}renderBackFolder(){return V.createElement(rp,{component:`div`,key:this.state.currentDir,id:this.state.currentDir,onClick:e=>this.changeFolder(e),title:this.props.t(`ra_Back to %s`,TM(this.state.currentDir)),className:`browserItem`,sx:Vk.getStyle(this.props.theme,Q[`item${this.state.viewType}`],Q[`itemFolder${this.state.viewType}`])},V.createElement(kj,{style:Vk.getStyle(this.props.theme,Q[`itemFolderIcon${this.state.viewType}`])}),V.createElement(PO,{sx:Q.itemFolderIconBack}),V.createElement(rp,{component:`div`,sx:Vk.getStyle(this.props.theme,Q[`itemName${this.state.viewType}`],Q[`itemNameFolder${this.state.viewType}`])},`..`))}formatSize(e){return V.createElement(`div`,{style:Q[`itemSize${this.state.viewType}`]},e||e===0?Vk.formatBytes(e):``)}formatAcl(e){let t=e?e.permissions||e.file:0,n;return n=t?t.toString(16).padStart(3,`0`):``,V.createElement(`div`,{style:Q[`itemAccess${this.state.viewType}`]},this.props.modalEditOfAccessControl?V.createElement(Eu,{size:`large`,onClick:()=>this.setState({modalEditOfAccess:!0}),sx:Q[`itemAclButton${this.state.viewType}`]},n||`---`):n||`---`)}getFileIcon(e){switch(e){case`json`:case`json5`:return V.createElement(IO,{style:Q[`itemIcon${this.state.viewType}`]});case`css`:return V.createElement(LO,{style:Q[`itemIcon${this.state.viewType}`]});case`js`:case`ts`:return V.createElement(HO,{style:Q[`itemIcon${this.state.viewType}`]});case`html`:case`md`:return V.createElement(KO,{style:Q[`itemIcon${this.state.viewType}`]});case`mp3`:case`ogg`:case`wav`:case`m4a`:case`mp4`:case`flac`:return V.createElement(rk,{style:Q[`itemIcon${this.state.viewType}`]});default:return V.createElement($O,{style:Q[`itemIcon${this.state.viewType}`]})}}static getEditFile(e){switch(e){case`json`:case`json5`:case`js`:case`html`:case`txt`:case`css`:case`log`:case`csv`:return!0;default:return!1}}setStateBackgroundImage=()=>{let e=[`light`,`dark`,`colored`,`delete`];this.setState(({backgroundImage:t})=>t&&e.indexOf(t)!==-1&&e.length-1!==e.indexOf(t)?(this.localStorage.setItem(`files.backgroundImage`,e[e.indexOf(t)+1]),{backgroundImage:e[e.indexOf(t)+1]}):(this.localStorage.setItem(`files.backgroundImage`,e[0]),{backgroundImage:e[0]}))};getStyleBackgroundImage=()=>{switch(this.state.backgroundImage){case`light`:return Q.backgroundImageLight;case`dark`:return Q.backgroundImageDark;case`colored`:return Q.backgroundImageColored;case`delete`:return null;default:return null}};renderFile(t){let n=this.state.viewType===DM?t.level*this.levelPadding:0,r=Vk.getFileExtension(t.name);return V.createElement(rp,{component:`div`,key:t.id,id:t.id,onDoubleClick:e=>{e.stopPropagation(),this.props.onSelect?(!this.props.filterFiles||t.ext&&this.props.filterFiles.includes(t.ext))&&(!this.state.filterByType||t.ext&&mM[this.state.filterByType].includes(t.ext))&&this.props.onSelect(t.id,!0,!!this.state.folders[t.id]):this.setState({viewer:this.imagePrefix+t.id,formatEditFile:r})},onClick:e=>this.select(t.id,e),style:this.state.viewType===DM?{marginLeft:n,width:`calc(100% - ${n}px)`}:void 0,className:`browserItem`,sx:Vk.getStyle(this.props.theme,Q[`item${this.state.viewType}`],Q[`itemFile${this.state.viewType}`],this.state.selected===t.id?Q.itemSelected:void 0)},r&&mM.images.includes(r)?this.state.fileErrors.includes(t.id)?V.createElement(jj,{style:{...Q[`itemImage${this.state.viewType}`],...this.getStyleBackgroundImage(),...Q[`itemNoImage${this.state.viewType}`]}}):V.createElement(fM,{onError:e=>{e.target.onerror=null;let n=[...this.state.fileErrors];n.includes(t.id)||(n.push(t.id),this.setState({fileErrors:n}))},style:{...Q[`itemImage${this.state.viewType}`],...this.getStyleBackgroundImage()},src:this.imagePrefix+t.id,alt:t.name}):this.getFileIcon(r),V.createElement(rp,{component:`div`,sx:Q[`itemName${this.state.viewType}`]},t.name),V.createElement(rp,{component:`div`,sx:{display:{md:`inline-block`,sm:`none`}}},this.formatSize(t.size)),V.createElement(rp,{component:`div`,sx:{display:{md:`inline-block`,sm:`none`}}},this.state.viewType===DM&&this.props.expertMode?this.formatAcl(t.acl):null),V.createElement(rp,{component:`div`,sx:{display:{md:`inline-block`,sm:`none`}}},this.state.viewType===DM&&this.props.expertMode&&e.getEditFile(r)?V.createElement(Eu,{"aria-label":`edit`,onClick:e=>{e.stopPropagation(),this.props.onSelect?(!this.props.filterFiles||t.ext&&this.props.filterFiles.includes(t.ext))&&(!this.state.filterByType||t.ext&&mM[this.state.filterByType].includes(t.ext))&&this.props.onSelect(t.id,!0,!!this.state.folders[t.id]):this.setState({viewer:this.imagePrefix+t.id,formatEditFile:r})},sx:Q.itemDeleteButtonTable,size:`large`},V.createElement(qO,{fontSize:`small`})):V.createElement(rp,{component:`div`,sx:Q[`itemDeleteButton${this.state.viewType}`]})),this.state.viewType===DM&&this.props.allowDownload?V.createElement(rp,{component:`a`,className:`MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge`,sx:Q.itemDownloadButtonTable,tabIndex:0,download:t.id,href:this.imagePrefix+t.id,onClick:e=>e.stopPropagation()},V.createElement(lk,null)):null,this.state.viewType===DM&&this.props.allowDelete&&t.id!==`vis.0/`&&t.id!==`vis-2.0/`&&t.id!==wM?V.createElement(Eu,{"aria-label":`delete`,onClick:e=>{e.stopPropagation(),this.suppressDeleteConfirm>Date.now()?this.deleteItem(t.id):this.setState({deleteItem:t.id})},sx:Q[`itemDeleteButton${this.state.viewType}`],size:`large`},V.createElement(GO,{fontSize:`small`})):this.state.viewType===DM&&this.props.allowDelete?V.createElement(rp,{component:`div`,sx:Q[`itemDeleteButton${this.state.viewType}`]}):null)}renderItems(e){if(this.state.folders?.[e]){if(this.state.viewType===OM){let t=[];return e&&e!==`/`&&t.push(this.renderBackFolder()),this.state.folders[e].forEach(e=>{e.folder?t.push(this.renderFolder(e)):(!this.props.filterFiles||e.ext&&this.props.filterFiles.includes(e.ext))&&(!this.state.filterByType||e.ext&&mM[this.state.filterByType].includes(e.ext))&&t.push(this.renderFile(e))}),t}let t=[];return this.state.folders[e].forEach(e=>{if(e.folder){let n=this.state.expanded.includes(e.id),r=this.renderFolder(e,n);if(Array.isArray(r)?r.forEach(e=>t.push(e)):t.push(r),this.state.folders[e.id]&&n){let n=this.renderItems(e.id);Array.isArray(n)?n.forEach(e=>t.push(e)):t.push(n)}}else(!this.props.filterFiles||e.ext&&this.props.filterFiles.includes(e.ext))&&(!this.state.filterByType||e.ext&&mM[this.state.filterByType].includes(e.ext))&&t.push(this.renderFile(e))}),t}return V.createElement(`div`,{key:e,style:{display:`flex`,alignItems:`center`,gap:8,width:`100%`}},V.createElement(dg,{color:`secondary`,style:{flexGrow:1}}),V.createElement(`div`,{style:{minWidth:24,textAlign:`right`}},this.state.queueLength))}renderToolbar(){let e=this.props.showTypeSelector?CM[this.state.filterByType||`all`]||CM.all:null,t=this.findFirstFolder(this.state.selected);return V.createElement(Jv,{key:`toolbar`,variant:`dense`},this.props.allowNonRestricted&&this.props.restrictToFolder?V.createElement(Eu,{edge:`start`,title:this.state.restrictToFolder?this.props.t(`ra_Show all folders`):this.props.t(`ra_Restrict to folder`),style:{...Q.menuButton,...this.state.restrictToFolder?Q.menuButtonRestrictActive:void 0},"aria-label":`restricted to folder`,onClick:()=>this.setState({restrictToFolder:(this.state.restrictToFolder?``:this.props.restrictToFolder)||``,loadAllFolders:!0}),size:`small`},V.createElement(XO,{fontSize:`small`})):null,this.props.showExpertButton?V.createElement(Eu,{edge:`start`,title:this.props.t(`ra_Toggle expert mode`),style:{...Q.menuButton,...this.state.expertMode?Q.menuButtonExpertActive:void 0},"aria-label":`expert mode`,onClick:()=>this.setState({expertMode:!this.state.expertMode}),size:`small`},V.createElement(Oj,null)):null,this.props.showViewTypeButton?V.createElement(Eu,{edge:`start`,title:this.props.t(`ra_Toggle view mode`),style:Q.menuButton,"aria-label":`view mode`,onClick:()=>{let e=this.state.viewType===DM?OM:DM;this.localStorage.setItem(`files.viewType`,e);let t=this.state.selected;EM(t)&&(t=TM(t)),this.setState({viewType:e,currentDir:t},()=>{this.state.viewType===DM&&this.scrollToSelected()})},size:`small`},this.state.viewType===DM?V.createElement(mk,{fontSize:`small`}):V.createElement(tk,{fontSize:`small`})):null,V.createElement(Eu,{edge:`start`,title:this.props.t(`ra_Hide empty folders`),style:Q.menuButton,color:this.state.filterEmpty?`secondary`:`inherit`,"aria-label":`filter empty`,onClick:()=>{this.localStorage.setItem(`file.empty`,this.state.filterEmpty?`false`:`true`),this.setState({filterEmpty:!this.state.filterEmpty})},size:`small`},V.createElement(YO,{fontSize:`small`})),V.createElement(Eu,{edge:`start`,title:this.props.t(`ra_Reload files`),style:Q.menuButton,color:`inherit`,"aria-label":`reload files`,onClick:()=>this.setState({folders:{}},()=>this.loadFolders()),size:`small`},V.createElement(ok,{fontSize:`small`})),this.props.allowCreateFolder?V.createElement(Eu,{edge:`start`,disabled:!this.state.selected||!t||!!this.limitToPath&&!this.state.selected.startsWith(`${this.limitToPath}/`)&&this.limitToPath!==this.state.selected,title:this.props.t(`ra_Create folder`),style:Q.menuButton,color:`inherit`,"aria-label":`add folder`,onClick:()=>this.setState({addFolder:!0}),size:`small`},V.createElement(WO,{fontSize:`small`})):null,this.props.allowUpload?V.createElement(Eu,{edge:`start`,disabled:!this.state.selected||!t||!!this.limitToPath&&!this.state.selected.startsWith(`${this.limitToPath}/`)&&this.limitToPath!==this.state.selected,title:this.props.t(`ra_Upload file`),style:Q.menuButton,color:`inherit`,"aria-label":`upload file`,onClick:()=>this.setState({uploadFile:!0}),size:`small`},V.createElement(ak,{fontSize:`small`})):null,this.props.showTypeSelector&&e?V.createElement(Uv,{title:this.props.t(`ra_Filter files`),slotProps:{popper:{sx:Q.tooltip}}},V.createElement(Eu,{size:`small`,onClick:e=>this.setState({showTypesMenu:e.target})},V.createElement(e,{fontSize:`small`}))):null,this.state.showTypesMenu?V.createElement(D_,{open:!0,anchorEl:this.state.showTypesMenu,onClose:()=>this.setState({showTypesMenu:null})},Object.keys(CM).map(e=>{let t=CM[e];return V.createElement(j_,{key:e,selected:this.state.filterByType===e,onClick:()=>{e===`all`?(this.localStorage.removeItem(`files.filterByType`),this.setState({filterByType:``,showTypesMenu:null})):(this.localStorage.setItem(`files.filterByType`,e),this.setState({filterByType:e,showTypesMenu:null}))}},V.createElement(xg,null,V.createElement(t,{fontSize:`small`})),V.createElement(Eg,null,this.props.t(`ra_fileType_${e}`)))})):null,V.createElement(Uv,{title:this.props.t(`ra_Background image`),slotProps:{popper:{sx:Q.tooltip}}},V.createElement(Eu,{color:`inherit`,edge:`start`,style:Q.menuButton,onClick:this.setStateBackgroundImage,size:`small`},V.createElement(RO,{fontSize:`small`}))),this.state.viewType!==DM&&this.props.allowDelete?V.createElement(Uv,{title:this.props.t(`ra_Delete`),slotProps:{popper:{sx:Q.tooltip}}},V.createElement(`span`,null,V.createElement(Eu,{"aria-label":`delete`,disabled:!this.state.selected||this.state.selected===`vis.0/`||this.state.selected===`vis-2.0/`||this.state.selected===wM,color:`inherit`,edge:`start`,style:Q.menuButton,onClick:e=>{e.stopPropagation(),this.suppressDeleteConfirm>Date.now()?this.deleteItem(this.state.selected):this.setState({deleteItem:this.state.selected})},size:`small`},V.createElement(GO,{fontSize:`small`})))):null)}findItem(e,t){if(t||=this.state.folders,!t)return null;let n=e.split(`/`);n.pop();let r=n.join(`/`)||`/`;return t[r]&&t[r].find(t=>t.id===e)||null}renderInputDialog(){if(this.state.addFolder){let e=this.findFirstFolder(this.state.selected);return e?V.createElement(Dj,{key:`inputDialog`,applyText:this.props.t(`ra_Create`),cancelText:this.props.t(`ra_Cancel`),titleText:this.props.t(`ra_Create new folder in %s`,this.state.selected),promptText:this.props.t(`ra_If no file will be created in the folder, it will disappear after the browser closed`),labelText:this.props.t(`ra_Folder name`),verify:t=>this.state.folders[e].find(e=>e.name===t)?this.props.t(`ra_Duplicate name`):``,onClose:t=>{if(t){let n={};Object.keys(this.state.folders).forEach(e=>n[e]=this.state.folders[e]);let r=this.findItem(e),i=`${e}/${t}`;n[e].push({id:i,level:(r?.level||0)+1,name:t,folder:!0,temp:!0}),n[e].sort(kM),n[i]=[];let a=[...this.state.expanded];a.includes(e)||(a.push(e),a.sort()),this.localStorage.setItem(`files.expanded`,JSON.stringify(a)),this.setState({addFolder:!1,folders:n,expanded:a},()=>this.select(i))}else this.setState({addFolder:!1})},replace:e=>e.replace(/[^-_\w]/,`_`)}):(window.alert(this.props.t(`ra_Invalid parent folder!`)),null)}return null}viewerToId(e){return e.startsWith(this.imagePrefix)?e.substring(this.imagePrefix.length):e}getStateNav(){return this.state.viewer?{mode:`view`,id:this.viewerToId(this.state.viewer)}:this.state.selected?{mode:`select`,id:this.state.selected}:null}static navEqual(e,t){return!e||!t?!e&&!t:e.mode===t.mode&&e.id===t.id}applyNavigateTo(e){this.applyingNav=!0;let t=()=>{this.applyingNav=!1};if(!e?.id){this.setState({viewer:``,formatEditFile:``},t);return}let{id:n}=e;this.select(n,null,()=>{this.scrollToSelected(),e.mode===`view`?this.setState({viewer:this.imagePrefix+n,formatEditFile:Vk.getFileExtension(n)},t):this.setState({viewer:``,formatEditFile:``},t)})}applyInitialNavigateTo(){let e=this.props.navigateTo??null;e?.id?(this.lastNav=e,this.applyNavigateTo(e)):this.lastNav=this.getStateNav()}reconcileNavigation(t){if(this.props.navigateTo===void 0&&!this.props.onNavigateTo||this.applyingNav)return;let n=this.props.navigateTo??null,r=this.getStateNav();e.navEqual(n,r)?this.lastNav=r:e.navEqual(n,t.navigateTo??null)?e.navEqual(r,this.lastNav)||(this.lastNav=r,this.props.onNavigateTo?.(r)):(this.lastNav=n,this.applyNavigateTo(n))}componentDidUpdate(e){this.setOpacityTimer&&clearTimeout(this.setOpacityTimer),this.setOpacityTimer=setTimeout(()=>{this.setOpacityTimer=null;let e=window.document.getElementsByClassName(`browserItem`);for(let t=0;t<e.length;t++)e[t].style.opacity=`1`},100),this.reconcileNavigation(e)}findFirstFolder(e){let t=e,n=this.findItem(t);if(n&&!n.folder){let e=t.split(`/`);for(e.pop(),t=``;e.length;){if(this.findItem(e.join(`/`))?.folder){t=e.join(`/`);break}e.pop()}if(!e.length)return null}return t}async uploadFile(e,t){let n=e.split(`/`),r=n.shift();try{await this.props.socket.writeFile64(r||``,n.join(`/`),t)}catch(e){let t=e;window.alert(`Cannot write file: ${t?.message}`)}}renderUpload(){return this.state.uploadFile?[V.createElement(fh,{key:`close`,color:`primary`,"aria-label":`close`,style:Q.uploadCloseButton,onClick:()=>this.setState({uploadFile:!1})},V.createElement(VO,null)),V.createElement(yj,{key:`dropzone`,onDragEnter:()=>this.setState({uploadFile:`dragging`}),onDragLeave:()=>this.setState({uploadFile:!0}),onDrop:e=>{let t=e.length;e.forEach(e=>{let n=new FileReader;n.onabort=()=>console.log(`file reading was aborted`),n.onerror=()=>console.log(`file reading has failed`),n.onload=()=>{let r=this.findFirstFolder(this.state.selected);if(!r)window.alert(this.props.t(`ra_Invalid parent folder!`));else{let i=`${r}/${e.name}`;this.uploadFile(i,n.result).then(()=>{--t||this.setState({uploadFile:!1},()=>{if(this.supportSubscribes){let e=[...this.state.expanded];e.includes(r)||(e.push(r),e.sort(),this.localStorage.setItem(`files.expanded`,JSON.stringify(e))),this.setState({expanded:e},()=>this.select(i))}else setTimeout(()=>this.browseFolder(r,null,!1,!0).then(e=>{let t=[...this.state.expanded];t.includes(r)||(t.push(r),t.sort(),this.localStorage.setItem(`files.expanded`,JSON.stringify(t))),this.setState({folders:e,expanded:t},()=>this.select(i))}),500)})})}},n.readAsArrayBuffer(e)})}},({getRootProps:e,getInputProps:t})=>V.createElement(`div`,{style:{...Q.uploadDiv,...this.state.uploadFile===`dragging`?Q.uploadDivDragging:void 0},...e()},V.createElement(`input`,{...t()}),V.createElement(rp,{component:`div`,sx:Q.uploadCenterDiv},V.createElement(`div`,{style:Q.uploadCenterTextAndIcon},V.createElement(ak,{style:Q.uploadCenterIcon}),V.createElement(`div`,{style:Q.uploadCenterText},this.state.uploadFile===`dragging`?this.props.t(`ra_Drop file here`):this.props.t(`ra_Place your files here or click here to open the browse dialog`))))))]:null}deleteRecursive(e){let t=this.findItem(e);if(t?.folder)return(this.state.folders[e]?Promise.all(this.state.folders[e].map(e=>this.deleteRecursive(e.id))):Promise.resolve()).then(()=>{if(t.level>=1){let n=e.split(`/`),r=n.shift();this.props.socket.deleteFolder(r||``,n.join(`/`)).then(()=>{let e=JSON.parse(JSON.stringify(this.state.folders));delete e[t.id];let n=TM(t.id),r=e[n];if(r){let i=r.findIndex(e=>e.id===t.id);i!==-1&&r.splice(i,1),this.select(n,null,()=>this.setState({folders:e}))}})}});let n=e.split(`/`),r=n.shift();return n.length?this.props.socket.deleteFile(r||``,n.join(`/`)).catch(e=>window.alert(`Cannot delete file: ${e}`)):Promise.resolve()}deleteItem(e){e||=this.state.deleteItem,this.state.suppressDeleteConfirm&&(this.suppressDeleteConfirm=Date.now()+3e5),this.setState({deleteItem:``,suppressDeleteConfirm:!1},()=>this.deleteRecursive(e).then(()=>{let t={},n=this.state.expanded.indexOf(e);if(n!==-1){let e=[...this.state.expanded];e.splice(n,1),this.localStorage.setItem(`files.expanded`,JSON.stringify(e)),t.expanded=e}if(this.state.selected===e){let e=this.state.selected.split(`/`);e.pop(),t.selected=e.join(`/`)}if(this.supportSubscribes)this.setState(t);else{let n=this.findFirstFolder(e),r={};Object.keys(this.state.folders).forEach(e=>{e!==n&&!e.startsWith(`${n}/`)&&(r[e]=this.state.folders[e])}),t.folders=r,this.setState(t,()=>setTimeout(()=>{this.browseFolders([...this.state.expanded],r).then(e=>this.setState({folders:e})).catch(e=>console.error(e))},200))}}))}renderDeleteDialog(){return this.state.deleteItem?V.createElement(Um,{key:`deleteDialog`,open:!0,onClose:()=>this.setState({deleteItem:``}),"aria-labelledby":`ar_dialog_file_delete_title`},V.createElement(oh,{id:`ar_dialog_file_delete_title`},this.props.t(`ra_Confirm deletion of %s`,this.state.deleteItem.split(`/`).pop()||``)),V.createElement($m,null,V.createElement(rh,null,this.props.t(`ra_Are you sure?`)),V.createElement(Eh,{control:V.createElement(Yp,{checked:this.state.suppressDeleteConfirm,onChange:()=>{this.setState({suppressDeleteConfirm:!this.state.suppressDeleteConfirm})}}),label:this.props.t(`ra_no confirm for 5 mins`)})),V.createElement(qm,null,V.createElement(Dp,{variant:`contained`,onClick:()=>this.deleteItem(``),color:`primary`,autoFocus:!0},this.props.t(`ra_Delete`)),V.createElement(Dp,{variant:`contained`,onClick:()=>this.setState({deleteItem:``}),color:`grey`},this.props.t(`ra_Cancel`)))):null}renderViewDialog(){let e=this.props.FileViewer||_M;return this.state.viewer?V.createElement(e,{supportSubscribes:this.supportSubscribes||void 0,key:this.state.viewer,href:this.state.viewer,formatEditFile:this.state.formatEditFile||void 0,themeType:this.props.themeType||`light`,setStateBackgroundImage:this.setStateBackgroundImage,getStyleBackgroundImage:this.getStyleBackgroundImage,t:this.props.t,socket:this.props.socket,onClose:()=>this.setState({viewer:``,formatEditFile:``})}):null}renderError(){return this.state.errorText?V.createElement(qk,{key:`errorDialog`,text:this.state.errorText,onClose:()=>this.setState({errorText:``})}):null}updateItemsAcl(e){this.cacheFolders||=JSON.parse(JSON.stringify(this.state.folders));let t;e.forEach(e=>{let n=this.findItem(e.id,this.cacheFolders);n&&JSON.stringify(n.acl)!==JSON.stringify(e.acl)&&(n.acl=e.acl,t=!0)}),t&&(this.cacheFoldersTimeout&&clearTimeout(this.cacheFoldersTimeout),this.cacheFoldersTimeout=setTimeout(()=>{this.cacheFoldersTimeout=null;let e=this.cacheFolders||{};this.cacheFolders=null,this.setState({folders:e})},200))}changeToPath(){setTimeout(()=>{if(this.state.path!==this.state.selected&&(!this.lastSelect||Date.now()-this.lastSelect>100)){let e=this.state.path;EM(this.state.path)&&(e=TM(this.state.path)),new Promise(t=>{this.state.folders[e]?t(!0):this.browseFolder(e).then(e=>this.setState({folders:e},()=>t(!0))).catch(t=>this.setState({errorText:t===SM?this.props.t(`ra_Cannot find "%s"`,e):this.props.t(`ra_Cannot read "%s"`,e)}))}).then(t=>t&&this.setState({selected:this.state.path,currentDir:e,pathFocus:!1})).catch(e=>console.error(e))}else(!this.lastSelect||Date.now()-this.lastSelect>100)&&this.setState({pathFocus:!1})},100)}renderBreadcrumb(){let e=this.state.currentDir.startsWith(`/`)?this.state.currentDir.split(`/`):`/${this.state.currentDir}`.split(`/`),t=[];return V.createElement(hp,{style:{paddingLeft:8,color:`#FFF`}},e.map((n,r)=>{n&&t.push(n);let i=t.join(`/`);return r<e.length-1?V.createElement(rp,{component:`div`,key:`${this.state.selected}_${r}`,sx:Q.pathDivBreadcrumbDir,onClick:e=>this.changeFolder(e,i||`/`)},n||this.props.t(`ra_Root`)):V.createElement(`div`,{style:Q.pathDivBreadcrumbSelected,key:`${this.state.selected}_${r}`,onClick:()=>this.setState({pathFocus:!0})},n)}))}renderPath(){return V.createElement(rp,{component:`div`,key:`path`,sx:Q.pathDiv},this.state.pathFocus?V.createElement(Gh,{value:this.state.path,onKeyDown:e=>{e.key===`Enter`?this.changeToPath():e.key===`Escape`&&this.setState({pathFocus:!1})},endAdornment:V.createElement(Eu,{size:`small`,onClick:()=>this.changeToPath()},V.createElement(ek,null)),onBlur:()=>this.changeToPath(),onChange:e=>this.setState({path:e.target.value}),style:Q.pathDivInput}):this.renderBreadcrumb())}render(){return this.props.ready?(this.state.loadAllFolders&&!this.foldersLoading&&(this.foldersLoading=!0,setTimeout(()=>{this.setState({loadAllFolders:!1,folders:{}},()=>{this.foldersLoading=!1,this.loadFolders().catch(e=>console.error(`Cannot load folders: ${e}`))})},300)),V.createElement(`div`,{style:{...Q.root,...this.props.style},className:this.props.className},this.props.showToolbar?this.renderToolbar():null,this.state.viewType===OM?this.renderPath():null,V.createElement(`div`,{style:{...Q.filesDiv,...Q[this.state.viewType===`Tile`?`filesDivTile`:`filesDivTable`]},onClick:e=>{this.state.viewType!==DM&&(this.state.selected===(this.state.currentDir||`/`)?e.stopPropagation():this.changeFolder(e,this.state.currentDir||`/`))},id:`dev`,ref:this.refFileDiv},this.state.viewType===DM?this.renderItems(`/`):this.renderItems(this.state.currentDir||`/`),this.state.viewType===DM?null:V.createElement(`div`,{style:Q.filesDivHint},this.props.t(`ra_select_folder_hint`))),this.props.allowUpload?this.renderInputDialog():null,this.props.allowUpload?this.renderUpload():null,this.props.allowDelete?this.renderDeleteDialog():null,this.props.allowView?this.renderViewDialog():null,this.state.modalEditOfAccess&&this.props.modalEditOfAccessControl?this.props.modalEditOfAccessControl(this):null,this.renderError())):V.createElement(dg,null)}};Tj()(AM);function jM(e){let t=document.createElement(`div`);t.innerHTML=e;let n=t.firstElementChild;return n?.remove?n.remove():n&&t.removeChild(n),t.remove(),n}function MM(e){let t={};if(!e)return t;for(let n,r=0;r<e.length;r++){let i=e[r].name;n=i===`class`?`className`:i.startsWith(`data-`)?i:i.replace(/[-|:]([a-z])/g,e=>e[1].toUpperCase()),t[n]=e[r].value}return t}(class e extends V.Component{svg;static REMOTE_SERVER=window.location.hostname.includes(`iobroker.in`);static REMOTE_PREFIX=window.location.pathname.substring(0,window.location.pathname.lastIndexOf(`/`)+1);constructor(e){super(e),this.state={svg:!!this.props.src?.startsWith(`data:`),created:!0,color:this.props.color||``,src:this.props.src||``,imgError:!1,showError:!!this.props.showError},this.svg=this.state.svg&&this.state.src?this.getSvgFromData(this.state.src):null}static getDerivedStateFromProps(e,t){let n={},r=!1;return e&&t&&e.src!==t.src&&(n.src=e.src,n.svg=e.src?.startsWith(`data:`),n.created=!1,r=!0),e&&t&&e.color!==t.color&&(n.color=e.color,n.created=!1,r=!0),e&&t&&e.showError!==t.showError&&(n.showError=e.showError,r=!0),r?n:null}getSvgFromData(e){if(!e.startsWith(`data:image/svg+xml;base64,`))return null;e=e.substring(26);try{e=atob(e);let t=jM(e),n,r;return t&&(n=t.innerHTML,r=MM(t.attributes),t.remove()),V.createElement(rp,{component:`svg`,sx:this.props.sx,className:this.props.className,style:this.state.color?{color:this.state.color}:void 0,...r,dangerouslySetInnerHTML:{__html:n||``}})}catch{}return null}render(){if(this.state.svg)return this.state.created||setTimeout(()=>{this.svg=this.state.src?this.getSvgFromData(this.state.src):null,this.setState({created:!0})},50),this.svg;if(this.state.src){if(this.state.imgError||!this.state.src)return V.createElement(jj,{className:this.props.className});if(e.REMOTE_SERVER&&!this.state.src.startsWith(`http://`)&&!this.state.src.startsWith(`https://`)){let t=(this.props.imagePrefix||``)+this.state.src;return t.startsWith(`./`)?t=e.REMOTE_PREFIX+t.substring(2):t.startsWith(`/`)||(t=e.REMOTE_PREFIX+t),V.createElement(rp,{component:`img`,sx:this.props.sx,className:this.props.className,src:`https://remote-files.iobroker.in${t}`,alt:``,onError:()=>this.props.showError?this.setState({imgError:!0}):this.setState({src:``})})}return V.createElement(rp,{component:`img`,sx:this.props.sx,className:this.props.className,src:(this.props.imagePrefix||``)+this.state.src,alt:``,onError:()=>this.props.showError?this.setState({imgError:!0}):this.setState({src:``})})}return null}});var NM=o((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.StateType=e.Types=void 0;var t;(function(e){e.unknown=`unknown`,e.airCondition=`airCondition`,e.airPurifier=`airPurifier`,e.airQuality=`airQuality`,e.blind=`blind`,e.blindButtons=`blindButtons`,e.button=`button`,e.buttonSensor=`buttonSensor`,e.camera=`camera`,e.chart=`chart`,e.coAlarm=`coAlarm`,e.contact=`contact`,e.cie=`cie`,e.ct=`ct`,e.dimmer=`dimmer`,e.electricity=`electricity`,e.door=`door`,e.fan=`fan`,e.fireAlarm=`fireAlarm`,e.floodAlarm=`floodAlarm`,e.gate=`gate`,e.hue=`hue`,e.humidity=`humidity`,e.illuminance=`illuminance`,e.image=`image`,e.info=`info`,e.instance=`instance`,e.light=`light`,e.location=`location`,e.locationOne=`locationOne`,e.lock=`lock`,e.media=`media`,e.motion=`motion`,e.percentage=`percentage`,e.pump=`pump`,e.rgb=`rgb`,e.rgbSingle=`rgbSingle`,e.rgbwSingle=`rgbwSingle`,e.slider=`slider`,e.socket=`socket`,e.temperature=`temperature`,e.fillLevel=`fillLevel`,e.flow=`flow`,e.pressure=`pressure`,e.thermostat=`thermostat`,e.vacuumCleaner=`vacuumCleaner`,e.volume=`volume`,e.volumeGroup=`volumeGroup`,e.warning=`warning`,e.weatherCurrent=`weatherCurrent`,e.weatherForecast=`weatherForecast`,e.window=`window`,e.windowTilt=`windowTilt`})(t||(e.Types=t={}));var n;(function(e){e.Number=`number`,e.String=`string`,e.Boolean=`boolean`})(n||(e.StateType=n={}))})),PM=o((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.checkEnum=t,e.roleOrEnum=n,e.roleOrEnumLight=a,e.roleOrEnumBlind=c,e.roleOrEnumGate=d,e.roleOrEnumWindow=p,e.roleOrEnumDoor=g,e.getEnums=_,e.getAllStatesInChannel=y,e.getAllStatesInDevice=b,e.getObjectsBelowId=x,e.getFunctionEnums=S,e.getParentId=C;function t(e,t){let n=!1;return e&&e.forEach(e=>{let r=e.lastIndexOf(`.`);r!==-1&&(e=e.substring(r+1));for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&t[r].find(t=>t.test(e)))return n=!0,!1}),n}function n(e,n,r,i){return e.common.role&&r?.includes(e.common.role)?!0:t(n,i)}var r={en:[/lights?/i,/lamps?/i,/ceilings?/i],de:[/licht(er)?/i,/lampen?/i,/beleuchtung(en)?/i],ru:[/свет/i,/ламп[аы]/i,/торшеры?/,/подсветк[аи]/i,/лампочк[аи]/i,/светильники?/i]},i=[`switch.light`,`dimmer`,`value.dimmer`,`level.dimmer`,`sensor.light`,`state.light`];function a(e,t){return n(e,t,i,r)}var o={en:[/blinds?/i,/windows?/i,/shutters?/i],de:[/rollladen?/i,/fenstern?/i,/beschattung(en)?/i,/jalousien?/i],ru:[/ставни/i,/рольставни/i,/окна|окно/,/жалюзи/i]},s=[`blind`,`level.blind`,`value.blind`,`action.stop`,`button.stop`,`button.stop.blind`,`button.open.blind`,`button.close.blind`,`level.tilt`,`value.tilt`,`button.tilt.open`,`button.tilt.close`,`button.tilt.stop`];function c(e,t){return n(e,t,s,o)}var l={en:[/gates?/i],de:[/^toren$/i,/^tor$/i],ru:[/ворота/i]},u=[`gate`,`value.gate`,`switch.gate`,`action.stop`,`button.stop`];function d(e,t){return n(e,t,u,l)}var f=[`window`,`state.window`,`sensor.window`,`value.window`];function p(e,t){return n(e,t,f,o)}var m={en:[/doors?/i,/gates?/i,/wickets?/i,/entry|entries/i],de:[/^türe?/i,/^tuere?/i,/^tore?$/i,/einfahrt(en)?/i,/pforten?/i],ru:[/двери|дверь/i,/ворота/i,/калитка|калитки/,/въезды?/i,/входы?/i]},h=[`door`,`state.door`,`sensor.door`];function g(e,t){return n(e,t,h,m)}function _(){return{door:{roles:h,words:m},window:{roles:f,words:o},blind:{roles:s,words:o},gate:{roles:u,words:l},light:{roles:i,words:r}}}function v(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function y(e,t){let n=[],r=RegExp(`^${v(t)}\\.[^.]+$`);return e.forEach(e=>r.test(e)&&n.push(e)),n}function b(e,t){let n=[],r=RegExp(`^${v(t)}\\.[^.]+\\.[^.]+$`);return e.forEach(e=>r.test(e)&&n.push(e)),n}function x(e,t){let n=[];t+=`.`;let r=0,i=e.length-1,a=-1;for(;r<=i;){let n=Math.floor((r+i)/2);e[n]<t?r=n+1:(a=n,i=n-1)}if(a===-1||a>=e.length)return n;for(let r=a;r<e.length;r++){let i=e[r];if(i===t||i.startsWith(t))n.push(i);else break}return n}function S(e,t){let n=[],r=/^enum\.functions\./,i=x(t,`enum`);for(let t of i)Object.prototype.hasOwnProperty.call(e,t)&&r.test(t)&&e[t]?.type===`enum`&&e[t].common?.members?.length&&n.push(t);return n}function C(e){let t=e.lastIndexOf(`.`);return t===-1?e:e.substring(0,t)}})),FM=o((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.patterns=void 0;var t=NM(),n=PM(),r=/^[^.]+\.setting\./,i=/^[^.]+\.setting\.|^level\.temperature\.(heating|cooling)$/,a={heating:{role:/^level\.temperature\.heating$/,indicator:!1,write:!0,type:t.StateType.Number,name:`SET_HEATING`,requiredOneOf:`setpoint`,defaultRole:`level.temperature.heating`,defaultUnit:`°C`,ignoreRole:r},cooling:{role:/^level\.temperature\.cooling$/,indicator:!1,write:!0,type:t.StateType.Number,name:`SET_COOLING`,requiredOneOf:`setpoint`,defaultRole:`level.temperature.cooling`,defaultUnit:`°C`,ignoreRole:r}},o={working:{role:/^indicator\.working$/,indicator:!0,notSingle:!0,name:`WORKING`,required:!1,defaultRole:`indicator.working`,defaultType:t.StateType.Boolean},unreach:{role:/^indicator(\.maintenance)?\.unreach$/,indicator:!0,type:t.StateType.Boolean,notSingle:!0,name:`UNREACH`,required:!1,defaultRole:`indicator.maintenance.unreach`},lowbat:{role:/^indicator(\.maintenance)?\.(lowbat|battery)$/,indicator:!0,type:t.StateType.Boolean,notSingle:!0,name:`LOWBAT`,required:!1,defaultRole:`indicator.maintenance.lowbat`},maintain:{role:/^indicator\.maintenance$/,indicator:!0,type:t.StateType.Boolean,notSingle:!0,name:`MAINTAIN`,required:!1,defaultRole:`indicator.maintenance`},error:{role:/^indicator\.error$/,indicator:!0,notSingle:!0,name:`ERROR`,required:!1,defaultRole:`indicator.error`,defaultType:t.StateType.String},direction:{role:/^indicator\.direction$/,indicator:!0,type:t.StateType.Boolean,notSingle:!0,name:`DIRECTION`,required:!1,defaultRole:`indicator.direction`},direction_enum:{role:/^(indicator|value)\.direction$/,type:t.StateType.Number,notSingle:!0,name:`DIRECTION_ENUM`,required:!1,defaultStates:{0:`None`,1:`Up/Open`,2:`Down/Close`,3:`Unknown`},defaultRole:`value.direction`},reachable:{role:/^indicator\.reachable$/,indicator:!0,type:t.StateType.Boolean,notSingle:!0,name:`CONNECTED`,required:!1,defaultRole:`indicator.reachable`,inverted:!0},rssi:{role:/^value\.rssi$/,indicator:!1,write:!1,type:t.StateType.Number,notSingle:!0,name:`RSSI`,required:!1,defaultRole:`value.rssi`,defaultUnit:`dBm`},onTime:{role:/^level\.timer\.off$/,indicator:!1,write:!0,type:t.StateType.Number,name:`ON_TIME`,required:!1,defaultRole:`level.timer.off`,defaultUnit:`s`,ignoreRole:r},battery:{role:/^value\.battery$/,indicator:!1,type:t.StateType.Number,write:!1,name:`BATTERY`,required:!1,defaultRole:`value.battery`,defaultUnit:`%`}},s={power:{role:/^value\.power$/,indicator:!1,type:t.StateType.Number,write:!1,name:`ELECTRIC_POWER`,required:!1,defaultRole:`value.power`,defaultUnit:`W`},current:{role:/^value\.current$/,indicator:!1,type:t.StateType.Number,write:!1,name:`CURRENT`,required:!1,defaultRole:`value.current`,defaultUnit:`mA`},voltage:{role:/^value\.voltage$/,indicator:!1,type:t.StateType.Number,write:!1,name:`VOLTAGE`,required:!1,defaultRole:`value.voltage`,defaultUnit:`V`},consumption:{role:/^value\.power\.consumption$/,indicator:!1,type:t.StateType.Number,write:!1,name:`CONSUMPTION`,required:!1,defaultRole:`value.power.consumption`,defaultUnit:`Wh`},frequency:{role:/^value\.frequency$/,indicator:!1,type:t.StateType.Number,write:!1,name:`FREQUENCY`,required:!1,defaultRole:`value.frequency`,defaultUnit:`Hz`}},c={speed:{role:/(speed|mode)\.fan$/,indicator:!1,write:!0,type:t.StateType.Number,name:`SPEED`,required:!1,defaultRole:`level.mode.fan`,defaultStates:{0:`AUTO`,1:`HIGH`,2:`LOW`,3:`MEDIUM`,4:`QUIET`,5:`TURBO`},ignoreRole:r},power:{role:/^switch(\.power)?$/,indicator:!1,write:!0,type:[t.StateType.Boolean,t.StateType.Number],searchInParent:!0,name:`POWER`,required:!1,defaultRole:`switch.power`},speedLevel:{role:/^level\.speed$/,indicator:!1,write:!0,type:t.StateType.Number,name:`SPEED_LEVEL`,required:!1,defaultRole:`level.speed`,defaultUnit:`%`,ignoreRole:r},swing:{role:/swing$/,indicator:!1,write:!0,type:t.StateType.Number,searchInParent:!0,name:`SWING`,required:!1,defaultRole:`level.mode.swing`,defaultStates:{0:`AUTO`,1:`HORIZONTAL`,2:`STATIONARY`,3:`VERTICAL`},ignoreRole:r},swingBoolean:{role:/swing$/,indicator:!1,write:!0,type:t.StateType.Boolean,searchInParent:!0,name:`SWING`,required:!1,defaultRole:`switch.mode.swing`,ignoreRole:r},airflowDirection:{role:/^level\.mode\.airflow$/,indicator:!1,write:!0,type:t.StateType.Number,name:`AIRFLOW_DIRECTION`,required:!1,defaultRole:`level.mode.airflow`,defaultStates:{0:`FORWARD`,1:`REVERSE`},ignoreRole:r}},l={0:`UNKNOWN`,1:`LOW`,2:`MEDIUM`,3:`HIGH`,4:`CRITICAL`};function u(e,n,r){return[{role:RegExp(`^value\\.${n}$`),indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,name:e,required:!1,defaultRole:`value.${n}`,defaultUnit:r},{role:RegExp(`^value\\.${n}\\.level$`),indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,name:`${e}_LEVEL`,required:!1,defaultRole:`value.${n}.level`,defaultStates:l}]}var d={thermostat:{role:/^value\.mode\.thermostat$/,indicator:!1,write:!1,type:[t.StateType.Number,t.StateType.String],searchInParent:!0,name:`WORKING_MODE`,required:!1,defaultRole:`value.mode.thermostat`,defaultStates:{0:`OFF`,1:`HEAT`,2:`COOL`}},airCondition:{role:/^value\.mode\.airconditioner$/,indicator:!1,write:!1,type:[t.StateType.Number,t.StateType.String],searchInParent:!0,name:`WORKING_MODE`,required:!1,defaultRole:`value.mode.airconditioner`,defaultStates:{0:`IDLE`,1:`HEAT`,2:`COOL`}}},f={condition:{role:/^value\.filter$/,indicator:!1,write:!1,type:t.StateType.Number,name:`FILTER_CONDITION`,required:!1,defaultRole:`value.filter`,defaultUnit:`%`},conditionCarbon:{role:/^value\.filter\.carbon$/,indicator:!1,write:!1,type:t.StateType.Number,name:`FILTER_CONDITION_CARBON`,required:!1,defaultRole:`value.filter.carbon`,defaultUnit:`%`},change:{role:/^indicator\.maintenance\.filter$/,indicator:!0,type:t.StateType.Boolean,name:`FILTER_CHANGE`,required:!1,defaultRole:`indicator.maintenance.filter`}},p={severity:{role:/^value\.severity$/,indicator:!1,write:!1,type:t.StateType.Number,name:`SEVERITY`,required:!1,defaultRole:`value.severity`,defaultStates:{0:`NORMAL`,1:`WARNING`,2:`CRITICAL`}},muted:{role:/^indicator\.alarm\.muted$/,indicator:!0,type:t.StateType.Boolean,name:`MUTED`,required:!1,defaultRole:`indicator.alarm.muted`},test:{role:/^indicator\.working\.test$/,indicator:!0,type:t.StateType.Boolean,name:`TEST`,required:!1,defaultRole:`indicator.working.test`}};e.patterns={chart:{states:[{objectType:`chart`,name:`CHART`}],type:t.Types.chart},mediaPlayer:{states:[{role:/^media\.state(\..*)?$/,indicator:!1,type:[t.StateType.Boolean,t.StateType.Number],name:`STATE`,required:!0,defaultRole:`media.state`},{role:/^(button|action)\.play(\..*)?$/,indicator:!1,write:!0,type:t.StateType.Boolean,name:`PLAY`,required:!1,noSubscribe:!0,defaultRole:`button.play`},{role:/^(button|action)\.pause(\..*)?$/,indicator:!1,write:!0,type:t.StateType.Boolean,name:`PAUSE`,required:!1,noSubscribe:!0,defaultRole:`button.pause`},{role:/^(button|action)\.stop(\..*)?$/,indicator:!1,write:!0,type:t.StateType.Boolean,name:`STOP`,required:!1,noSubscribe:!0,defaultRole:`button.stop`},{role:/^(button|action)\.next(\..*)?$/,indicator:!1,write:!0,type:t.StateType.Boolean,name:`NEXT`,required:!1,noSubscribe:!0,defaultRole:`button.next`},{role:/^(button|action)\.prev(\..*)?$/,indicator:!1,write:!0,type:t.StateType.Boolean,name:`PREV`,required:!1,noSubscribe:!0,defaultRole:`button.prev`},{role:/^media\.mode\.shuffle(\..*)?$/,indicator:!1,write:!0,type:t.StateType.Boolean,name:`SHUFFLE`,required:!1,defaultRole:`media.mode.shuffle`},{role:/^media\.mode\.repeat(\..*)?$/,indicator:!1,write:!0,type:t.StateType.Number,name:`REPEAT`,required:!1,defaultRole:`media.mode.repeat`},{role:/^media\.artist(\..*)?$/,indicator:!1,write:!1,type:t.StateType.String,name:`ARTIST`,required:!1,defaultRole:`media.artist`},{role:/^media\.album(\..*)?$/,indicator:!1,write:!1,type:t.StateType.String,name:`ALBUM`,required:!1,defaultRole:`media.album`},{role:/^media\.title(\..*)?$/,indicator:!1,write:!1,type:t.StateType.String,name:`TITLE`,required:!1,defaultRole:`media.title`},{role:/^media\.cover(\.big)?$/,indicator:!1,write:!1,type:t.StateType.String,name:`COVER`,required:!1,notSingle:!0,defaultRole:`media.cover`},{role:/^media\.cover(\..*)$/,indicator:!1,write:!1,type:t.StateType.String,name:`COVER`,required:!1,notSingle:!0},{role:/^media\.duration(\..*)?$/,indicator:!1,write:!1,type:t.StateType.Number,name:`DURATION`,required:!1,defaultRole:`media.duration`,defaultUnit:`sec`},{role:/^media\.elapsed(\..*)?$/,indicator:!1,type:t.StateType.Number,name:`ELAPSED`,required:!1,defaultRole:`media.elapsed`,defaultUnit:`sec`},{role:/^media\.seek(\..*)?$/,indicator:!1,write:!0,type:t.StateType.Number,name:`SEEK`,required:!1,defaultRole:`media.seek`},{role:/^media\.track(\..*)?$/,indicator:!1,type:t.StateType.String,name:`TRACK`,required:!1,defaultRole:`media.track`},{role:/^media\.episode(\..*)?$/,indicator:!1,type:t.StateType.String,name:`EPISODE`,required:!1,defaultRole:`media.episode`},{role:/^media\.season(\..*)?$/,indicator:!1,type:t.StateType.String,name:`SEASON`,required:!1,defaultRole:`media.season`},{role:/^level(\.volume)?$/,indicator:!1,type:t.StateType.Number,min:t.StateType.Number,max:t.StateType.Number,write:!0,name:`VOLUME`,required:!1,notSingle:!0,defaultRole:`level.volume`,defaultUnit:`%`},{role:/^value(\.volume)?$/,indicator:!1,type:t.StateType.Number,min:t.StateType.Number,max:t.StateType.Number,write:!1,name:`VOLUME_ACTUAL`,required:!1,notSingle:!0,defaultRole:`value.volume`,defaultUnit:`%`},{role:/^media(\.mute)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`MUTE`,required:!1,notSingle:!0,defaultRole:`media.mute`},{role:/^media\.player\.name$/,indicator:!1,type:t.StateType.String,name:`PLAYER_NAME`,required:!1,notSingle:!0,defaultRole:`media.player.name`},{role:/^media\.player\.type/,indicator:!1,type:t.StateType.String,write:!1,name:`PLAYER_TYPE`,required:!1,notSingle:!0,defaultRole:`media.player.type`},{stateName:/\.(paused|playerState)$/,indicator:!1,name:`IGNORE`,required:!1,multiple:!0,noSubscribe:!0},o.reachable,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.media},weatherForecast:{states:[{role:/^weather\.icon(\.forecast\.0)?$/,indicator:!1,type:t.StateType.String,name:`ICON`,required:!0,defaultRole:`weather.icon.forecast.0`},{role:/^value\.temperature\.min\.forecast\.0$/,indicator:!1,type:t.StateType.Number,name:`TEMP_MIN`,required:!0,defaultRole:`value.temperature.min.forecast.0`},{role:/^value\.temperature\.max\.forecast\.0$/,indicator:!1,type:t.StateType.Number,name:`TEMP_MAX`,required:!0,defaultRole:`value.temperature.max.forecast.0`},{role:/^value\.precipitation(\.forecast\.0)?$/,indicator:!1,type:t.StateType.Number,name:`PRECIPITATION_CHANCE`,unit:`%`,required:!1,defaultRole:`value.precipitation.forecast.0`},{role:/^value\.precipitation(\.forecast\.0)?$/,indicator:!1,type:t.StateType.Number,name:`PRECIPITATION`,unit:`mm`,required:!1,defaultRole:`value.precipitation.forecast.0`},{role:/^date(\.forecast\.0)?$/,indicator:!1,type:t.StateType.String,name:`DATE`,required:!1,defaultRole:`date.forecast.0`},{role:/^dayofweek(\.forecast\.0)?$/,indicator:!1,type:t.StateType.String,name:`DOW`,required:!1,defaultRole:`dayofweek.forecast.0`},{role:/^weather\.state(\.forecast\.0)?$/,indicator:!1,type:t.StateType.String,name:`STATE`,required:!1,defaultRole:`weather.state.forecast.0`},{role:/^value\.temperature(\.forecast\.0)?$/,indicator:!1,type:t.StateType.Number,name:`TEMP`,required:!1,defaultRole:`value.temperature.forecast.0`},{role:/^value\.pressure(\.forecast\.0)?$/,indicator:!1,type:t.StateType.Number,name:`PRESSURE`,required:!1,defaultRole:`value.pressure.forecast.0`},{role:/^value\.humidity(\.forecast\.0)?$/,indicator:!1,type:t.StateType.Number,name:`HUMIDITY`,required:!1,defaultRole:`value.humidity.forecast.0`},{role:/^(?:date|time)\.sunrise(?:\.forecast\.0)?$/,indicator:!1,type:[t.StateType.String,t.StateType.Number],name:`TIME_SUNRISE`,required:!1,defaultRole:`date.sunrise`},{role:/^(?:date|time)\.sunset(?:\.forecast\.0)?$/,indicator:!1,type:[t.StateType.String,t.StateType.Number],name:`TIME_SUNSET`,required:!1,defaultRole:`date.sunset`},{role:/^value\.temperature\.windchill(\.forecast\.0)?$/,indicator:!1,type:t.StateType.Number,name:`WIND_CHILL`,required:!1,defaultRole:`value.temperature.windchill.forecast.0`},{role:/^value\.temperature\.feelslike(\.forecast\.0)?$/,indicator:!1,type:t.StateType.Number,name:`FEELS_LIKE`,required:!1,defaultRole:`value.temperature.feelslike.forecast.0`},{role:/^value\.speed\.wind(\.forecast\.0)?$/,indicator:!1,type:t.StateType.Number,name:`WIND_SPEED`,required:!1,defaultRole:`value.speed.wind.forecast.0`},{role:/^value\.direction\.wind(\.forecast\.0)?$/,indicator:!1,type:t.StateType.Number,name:`WIND_DIRECTION`,required:!1,defaultRole:`value.direction.wind.forecast.0`},{role:/^weather\.direction\.wind(\.forecast\.0)?$/,indicator:!1,type:t.StateType.String,name:`WIND_DIRECTION_STR`,required:!1,defaultRole:`weather.direction.wind.forecast.0`},{role:/^weather\.icon\.wind(\.forecast\.0)?$/,indicator:!1,type:t.StateType.String,name:`WIND_ICON`,required:!1,defaultRole:`weather.icon.wind.forecast.0`},{role:/^weather\.chart\.url$/,indicator:!1,type:t.StateType.String,name:`HISTORY_CHART`,required:!1,noSubscribe:!0,defaultRole:`weather.chart.url`},{role:/^weather\.chart\.url\.forecast$/,indicator:!1,type:t.StateType.String,name:`FORECAST_CHART`,required:!1,noSubscribe:!0,defaultRole:`weather.chart.url.forecast`},{role:/^location$/,indicator:!1,type:t.StateType.String,name:`LOCATION`,required:!1,defaultRole:`location`},{role:/^weather\.icon\.forecast.(\d+)$/,indicator:!1,type:t.StateType.String,name:`ICON%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0,notSingle:!0},{role:/^value\.temperature\.min\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.Number,name:`TEMP_MIN%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^value\.temperature\.max\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.Number,name:`TEMP_MAX%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^date\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.String,name:`DATE%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^dayofweek\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.String,name:`DOW%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^weather\.state\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.String,name:`STATE%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^value\.temperature\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.Number,name:`TEMP%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^value\.pressure\.forecast\.(\d+)?$/,indicator:!1,type:t.StateType.Number,name:`PRESSURE%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^value\.humidity\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.Number,name:`HUMIDITY%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^value\.humidity\.max\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.Number,name:`HUMIDITY_MAX%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^value\.precipitation\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.Number,unit:`%`,name:`PRECIPITATION_CHANCE%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^value\.precipitation\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.Number,unit:`mm`,name:`PRECIPITATION%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^value\.speed\.wind\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.Number,name:`WIND_SPEED%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^value\.direction\.wind\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.Number,name:`WIND_DIRECTION%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^weather\.direction\.wind\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.String,name:`WIND_DIRECTION_STR%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^weather\.icon\.wind\.forecast\.(\d+)$/,indicator:!1,type:t.StateType.String,name:`WIND_ICON%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^(?:date|time)\.sunrise(?:\.forecast\.(\d+))?$/,indicator:!1,type:[t.StateType.String,t.StateType.Number],name:`TIME_SUNRISE%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0},{role:/^(?:date|time)\.sunset(?:\.forecast\.(\d+))?$/,indicator:!1,type:[t.StateType.String,t.StateType.Number],name:`TIME_SUNSET%d`,required:!1,searchInParent:!0,multiple:!0,noSubscribe:!0}],type:t.Types.weatherForecast},rgb:{states:[{role:/^level\.color\.red$/,indicator:!1,type:t.StateType.Number,write:!0,name:`RED`,required:!0,defaultRole:`level.color.red`},{role:/^level\.color\.green$/,indicator:!1,type:t.StateType.Number,write:!0,name:`GREEN`,required:!0,defaultRole:`level.color.green`},{role:/^level\.color\.blue$/,indicator:!1,type:t.StateType.Number,write:!0,name:`BLUE`,required:!0,defaultRole:`level.color.blue`},{role:/^level\.color\.white$/,indicator:!1,type:t.StateType.Number,write:!0,name:`WHITE`,required:!1,defaultRole:`level.color.white`},{role:/^level\.dimmer$/,indicator:!1,type:t.StateType.Number,write:!0,name:`DIMMER`,required:!1,defaultRole:`level.dimmer`,defaultUnit:`%`},{role:/^level\.brightness$/,indicator:!1,type:t.StateType.Number,write:!0,name:`BRIGHTNESS`,required:!1},{role:/^level\.color\.temperature$/,indicator:!1,type:t.StateType.Number,write:!0,name:`TEMPERATURE`,required:!1,defaultRole:`level.color.temperature`,defaultUnit:`°K`},{role:/^level\.effect$/,indicator:!1,type:[t.StateType.Number,t.StateType.String],write:!0,statesDefined:!0,name:`EFFECT`,required:!1,defaultRole:`level.effect`,defaultStates:{0:`None`}},{role:/^switch(\.light)?$|^state$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`ON`,required:!1,defaultRole:`switch.light`},{role:/^(state|switch|sensor)\.light$|^switch$/,indicator:!1,type:t.StateType.Boolean,write:!1,name:`ON_ACTUAL`,required:!1,defaultRole:`sensor.light`,ignoreRole:r},{role:/^time\.(span|interval)$/,indicator:!1,type:t.StateType.Number,write:!0,name:`TRANSITION_TIME`,required:!1,defaultRole:`time.span`,defaultUnit:`ms`},o.onTime,...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.rgb},rgbwSingle:{states:[{role:/^level\.color\.rgbw$/,indicator:!1,type:t.StateType.String,write:!0,name:`RGBW`,required:!0,defaultRole:`level.color.rgbw`},{role:/^level\.dimmer$/,indicator:!1,type:t.StateType.Number,write:!0,name:`DIMMER`,required:!1,defaultRole:`level.dimmer`,defaultUnit:`%`},{role:/^level\.brightness$/,indicator:!1,type:t.StateType.Number,write:!0,name:`BRIGHTNESS`,required:!1,defaultUnit:`%`},{role:/^level\.color\.temperature$/,indicator:!1,type:t.StateType.Number,write:!0,name:`TEMPERATURE`,required:!1,defaultRole:`level.color.temperature`,defaultUnit:`°K`},{role:/^level\.effect$/,indicator:!1,type:[t.StateType.Number,t.StateType.String],write:!0,statesDefined:!0,name:`EFFECT`,required:!1,defaultRole:`level.effect`,defaultStates:{0:`None`}},{role:/^switch(\.light)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`ON`,required:!1,defaultRole:`switch.light`},{role:/^(state|switch|sensor)\.light$|^switch$/,indicator:!1,type:t.StateType.Boolean,write:!1,name:`ON_ACTUAL`,required:!1,defaultRole:`sensor.light`,ignoreRole:r},{role:/^time\.(span|interval)$/,indicator:!1,type:t.StateType.Number,write:!0,name:`TRANSITION_TIME`,required:!1,defaultRole:`time.span`,defaultUnit:`ms`},o.onTime,...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.rgbwSingle},rgbSingle:{states:[{role:/^level\.color\.rgb$/,indicator:!1,type:t.StateType.String,write:!0,name:`RGB`,required:!0,defaultRole:`level.color.rgb`},{role:/^level\.dimmer$/,indicator:!1,type:t.StateType.Number,write:!0,name:`DIMMER`,required:!1,defaultRole:`level.dimmer`,defaultUnit:`%`},{role:/^level\.brightness$/,indicator:!1,type:t.StateType.Number,write:!0,name:`BRIGHTNESS`,required:!1,defaultUnit:`%`},{role:/^level\.color\.temperature$/,indicator:!1,type:t.StateType.Number,write:!0,name:`TEMPERATURE`,required:!1,defaultRole:`level.color.temperature`,defaultUnit:`°K`},{role:/^level\.effect$/,indicator:!1,type:[t.StateType.Number,t.StateType.String],write:!0,statesDefined:!0,name:`EFFECT`,required:!1,defaultRole:`level.effect`,defaultStates:{0:`None`}},{role:/^switch(\.light)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`ON`,required:!1,defaultRole:`switch.light`},{role:/^(state|switch|sensor)\.light$|^switch$/,indicator:!1,type:t.StateType.Boolean,write:!1,name:`ON_ACTUAL`,required:!1,defaultRole:`sensor.light`,ignoreRole:r},{role:/^time\.(span|interval)$/,indicator:!1,type:t.StateType.Number,write:!0,name:`TRANSITION_TIME`,required:!1,defaultRole:`time.span`,defaultUnit:`ms`},o.onTime,...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.rgbSingle},cie:{states:[{role:/^level\.color\.cie$/,indicator:!1,type:t.StateType.String,write:!0,name:`CIE`,required:!0,defaultRole:`level.color.cie`},{role:/^level\.dimmer$/,indicator:!1,type:t.StateType.Number,write:!0,name:`DIMMER`,required:!1,defaultRole:`level.dimmer`,defaultUnit:`%`},{role:/^level\.brightness$/,indicator:!1,type:t.StateType.Number,write:!0,name:`BRIGHTNESS`,required:!1,defaultUnit:`%`},{role:/^level\.color\.temperature$/,indicator:!1,type:t.StateType.Number,write:!0,name:`TEMPERATURE`,required:!1,defaultRole:`level.color.temperature`,defaultUnit:`°K`},{role:/^level\.effect$/,indicator:!1,type:[t.StateType.Number,t.StateType.String],write:!0,statesDefined:!0,name:`EFFECT`,required:!1,defaultRole:`level.effect`,defaultStates:{0:`None`}},{role:/^switch(\.light)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`ON`,required:!1,defaultRole:`switch.light`},{role:/^(state|switch|sensor)\.light$|^switch$/,indicator:!1,type:t.StateType.Boolean,write:!1,name:`ON_ACTUAL`,required:!1,defaultRole:`sensor.light`,ignoreRole:r},{role:/^time\.(span|interval)$/,indicator:!1,type:t.StateType.Number,write:!0,name:`TRANSITION_TIME`,required:!1,defaultRole:`time.span`,defaultUnit:`ms`},o.onTime,...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.cie},hue:{states:[{role:/^level\.color\.hue$/,indicator:!1,type:t.StateType.Number,write:!0,name:`HUE`,required:!0,defaultRole:`level.color.hue`,defaultUnit:`°`},{role:/^level\.dimmer$/,indicator:!1,type:t.StateType.Number,write:!0,name:`DIMMER`,required:!1,searchInParent:!0,defaultRole:`level.dimmer`,defaultUnit:`%`},{role:/^level\.brightness$/,indicator:!1,type:t.StateType.Number,write:!0,name:`BRIGHTNESS`,required:!1},{role:/^level\.color\.saturation$/,indicator:!1,type:t.StateType.Number,write:!0,name:`SATURATION`,required:!1,defaultRole:`level.color.saturation`,defaultUnit:`%`},{role:/^level\.color\.temperature$/,indicator:!1,type:t.StateType.Number,write:!0,name:`TEMPERATURE`,required:!1,defaultRole:`level.color.temperature`,defaultUnit:`°K`},{role:/^level\.effect$/,indicator:!1,type:[t.StateType.Number,t.StateType.String],write:!0,statesDefined:!0,name:`EFFECT`,required:!1,defaultRole:`level.effect`,defaultStates:{0:`None`}},{role:/^switch(\.light)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`ON`,required:!1,defaultRole:`switch.light`},{role:/^(state|switch|sensor)\.light$|^switch$/,indicator:!1,type:t.StateType.Boolean,write:!1,name:`ON_ACTUAL`,required:!1,defaultRole:`sensor.light`,ignoreRole:r},{role:/^time\.(span|interval)$/,indicator:!1,type:t.StateType.Number,write:!0,name:`TRANSITION_TIME`,required:!1,defaultRole:`time.span`,defaultUnit:`ms`},o.onTime,...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.hue},ct:{states:[{role:/^level\.color\.temperature$/,indicator:!1,type:t.StateType.Number,write:!0,name:`TEMPERATURE`,required:!0,defaultRole:`level.color.temperature`,defaultUnit:`°K`},{role:/^level\.dimmer$/,indicator:!1,type:t.StateType.Number,write:!0,name:`DIMMER`,required:!1,defaultRole:`level.dimmer`,defaultUnit:`%`},{role:/^level\.brightness$/,indicator:!1,type:t.StateType.Number,write:!0,name:`BRIGHTNESS`,required:!1},{role:/^switch(\.light)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`ON`,required:!1,defaultRole:`switch.light`},{role:/^(state|switch|sensor)\.light$|^switch$/,indicator:!1,type:t.StateType.Boolean,write:!1,name:`ON_ACTUAL`,required:!1,defaultRole:`sensor.light`,ignoreRole:r},{role:/^level\.effect$/,indicator:!1,type:[t.StateType.Number,t.StateType.String],write:!0,statesDefined:!0,name:`EFFECT`,required:!1,defaultRole:`level.effect`,defaultStates:{0:`None`}},{role:/^time\.(span|interval)$/,indicator:!1,type:t.StateType.Number,write:!0,name:`TRANSITION_TIME`,required:!1,defaultRole:`time.span`,defaultUnit:`ms`},o.onTime,...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.ct},warning:{states:[{role:/^value\.warning$/,indicator:!1,name:`LEVEL`,required:!0,defaultRole:`value.warning`},{role:/^weather\.title\.short$/,indicator:!1,type:t.StateType.String,name:`TITLE`,required:!1,defaultRole:`weather.title.short`},{role:/^weather\.title$/,indicator:!1,type:t.StateType.String,name:`INFO`,required:!1,defaultRole:`weather.title`},{role:/^date\.start$/,indicator:!1,type:t.StateType.String,name:`START`,required:!1,defaultRole:`date.start`},{role:/^date\.end$/,indicator:!1,type:t.StateType.String,name:`END`,required:!1,defaultRole:`date.end`},{role:/^date$/,indicator:!1,type:t.StateType.String,name:`START`,required:!1},{role:/^weather\.chart\.url/,indicator:!1,type:t.StateType.String,name:`ICON`,required:!1,defaultRole:`weather.chart.url`},{role:/^weather\.state$/,indicator:!1,type:t.StateType.String,name:`DESC`,required:!1,noSubscribe:!0,defaultRole:`weather.state`}],type:t.Types.warning},airCondition:{states:[{role:/temperature(\..*)?$/,indicator:!1,write:!0,type:t.StateType.Number,name:`SET`,requiredOneOf:`setpoint`,defaultRole:`level.temperature`,defaultUnit:`°C`,ignoreRole:i},a.heating,a.cooling,{role:/(level\.mode\.)?airconditioner$/,indicator:!1,write:!0,type:[t.StateType.Number,t.StateType.String],searchInParent:!0,name:`MODE`,required:!0,defaultRole:`level.mode.airconditioner`,defaultStates:{0:`AUTO`,3:`COOL`,4:`DRY`,5:`ECO`,6:`FAN_ONLY`,7:`HEAT`,8:`OFF`},ignoreRole:r},d.airCondition,c.speed,c.speedLevel,c.power,{role:/temperature(\..*)?$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,name:`ACTUAL`,required:!1,defaultRole:`value.temperature`,defaultUnit:`°C`,ignoreRole:r},{role:/humidity(\..*)?$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,name:`HUMIDITY`,required:!1,defaultRole:`value.humidity`,defaultUnit:`%`,ignoreRole:r},{role:/^switch\.boost(\..*)?$/,indicator:!1,write:!0,type:[t.StateType.Boolean,t.StateType.Number],searchInParent:!0,name:`BOOST`,required:!1,defaultRole:`switch.boost`},c.swing,c.swingBoolean,c.airflowDirection,f.condition,f.conditionCarbon,f.change,...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.rssi,o.battery],type:t.Types.airCondition},airPurifier:{states:[{...c.speed,required:!0},c.power,c.speedLevel,c.swing,c.swingBoolean,c.airflowDirection,{...f.condition,requiredOneOf:`filter`},{...f.conditionCarbon,requiredOneOf:`filter`},f.change,o.onTime,...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.airPurifier},fan:{states:[{...c.speed,required:!0},c.power,c.speedLevel,c.swing,c.swingBoolean,c.airflowDirection,o.onTime,...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.fan},thermostat:{states:[{role:/temperature(\..*)?$/,indicator:!1,write:!0,type:t.StateType.Number,name:`SET`,requiredOneOf:`setpoint`,defaultRole:`level.temperature`,defaultUnit:`°C`,ignoreRole:i},a.heating,a.cooling,{role:/temperature(\..*)?$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,name:`ACTUAL`,required:!1,defaultRole:`value.temperature`,defaultUnit:`°C`,ignoreRole:r},{role:/humidity(\..*)?$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,name:`HUMIDITY`,required:!1,defaultRole:`value.humidity`,defaultUnit:`%`,ignoreRole:r},{role:/^switch(\.mode)?\.boost(\..*)?$/,indicator:!1,write:!0,type:[t.StateType.Boolean,t.StateType.Number],searchInParent:!0,name:`BOOST`,required:!1,defaultRole:`switch.mode.boost`},{role:/^switch(\.power)?$/,indicator:!1,write:!0,type:[t.StateType.Boolean,t.StateType.Number],searchInParent:!0,name:`POWER`,required:!1,defaultRole:`switch.power`},{role:/^switch(\.mode)?\.party$/,indicator:!1,write:!0,type:[t.StateType.Boolean,t.StateType.Number],searchInParent:!0,name:`PARTY`,required:!1,defaultRole:`switch.mode.party`},{role:/^level(\.mode)?\.thermostat$/,indicator:!1,write:!0,type:[t.StateType.Number,t.StateType.String],searchInParent:!0,name:`MODE`,required:!1,defaultRole:`level.mode.thermostat`,defaultStates:{0:`AUTO`,1:`MANUAL`}},{role:/^(value|level)\.valve$/,indicator:!1,type:t.StateType.Number,searchInParent:!0,name:`VALVE`,required:!1,defaultRole:`value.valve`,defaultUnit:`%`,ignoreRole:r},d.thermostat,{role:/^(state|sensor)\.window$/,indicator:!1,write:!1,type:t.StateType.Boolean,name:`WINDOW`,required:!1,defaultRole:`sensor.window`},...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.thermostat},vacuumCleaner:{states:[{role:/^switch\.power$/,indicator:!1,write:!0,type:[t.StateType.Boolean,t.StateType.Number],searchInParent:!0,name:`POWER`,required:!0,defaultRole:`switch.power`},{role:/mode\.cleanup$/,indicator:!1,write:!0,type:[t.StateType.Number,t.StateType.String],searchInParent:!0,name:`MODE`,requiredOneOf:`vacuumMode`,defaultRole:`level.mode.cleanup`,defaultStates:{0:`AUTO`,1:`NORMAL`,2:`QUIET`,3:`ECO`,4:`EXPRESS`},ignoreRole:r},{role:/vacuum\.map\.base64$/,indicator:!1,write:!1,type:t.StateType.String,searchInParent:!0,name:`MAP_BASE64`,required:!1,defaultRole:`vacuum.map.base64`,ignoreRole:r},{role:/vacuum\.map\.url$/,indicator:!1,write:!1,type:t.StateType.String,searchInParent:!0,name:`MAP_URL`,required:!1,ignoreRole:r},{role:/mode\.work$/,indicator:!1,write:!0,type:t.StateType.Number,searchInParent:!0,name:`WORK_MODE`,required:!1,defaultRole:`level.mode.work`,defaultStates:{0:`AUTO`,1:`FAST`,2:`MEDIUM`,3:`SLOW`,4:`TURBO`},ignoreRole:r},{role:/^value\.water$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,unit:`%`,name:`WATER`,required:!1,defaultRole:`value.water`,defaultUnit:`%`},{role:/^value\.waste$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,unit:`%`,name:`WASTE`,required:!1,defaultRole:`value.waste`,defaultUnit:`%`},{role:/^value\.battery$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,unit:`%`,name:`BATTERY`,required:!1,defaultRole:`value.battery`,defaultUnit:`%`},{role:/^value\.state$/,indicator:!1,write:!1,type:[t.StateType.Number,t.StateType.String],searchInParent:!0,name:`STATE`,required:!1,defaultRole:`value.state`},{role:/^switch\.pause$/,indicator:!1,write:!0,type:t.StateType.Boolean,searchInParent:!0,name:`PAUSE`,required:!1,defaultRole:`switch.pause`},{role:/^indicator(\.maintenance)?\.waste$|^indicator(\.alarm)?\.waste/,indicator:!0,type:t.StateType.Boolean,searchInParent:!0,name:`WASTE_ALARM`,required:!1,defaultRole:`indicator.maintenance.waste`},{role:/^indicator(\.maintenance)?\.water$|^indicator(\.alarm)?\.water/,indicator:!0,type:t.StateType.Boolean,searchInParent:!0,name:`WATER_ALARM`,required:!1,defaultRole:`indicator.maintenance.water`},{role:/^value(\.usage)?\.filter/,indicator:!0,type:t.StateType.Number,searchInParent:!0,name:`FILTER`,required:!1,defaultRole:`value.usage.filter`,defaultUnit:`%`},{role:/^value(\.usage)?\.brush/,indicator:!0,type:t.StateType.Number,searchInParent:!0,name:`BRUSH`,required:!1,defaultRole:`value.usage.brush`,defaultUnit:`%`},{role:/^value(\.usage)?\.sensors/,indicator:!0,type:t.StateType.Number,searchInParent:!0,name:`SENSORS`,required:!1,defaultRole:`value.usage.sensors`,defaultUnit:`%`},{role:/^value(\.usage)?\.brush\.side/,indicator:!0,type:t.StateType.Number,searchInParent:!0,name:`SIDE_BRUSH`,required:!1,defaultRole:`value.usage.brush.side`,defaultUnit:`%`},{role:/^(button|action)\.home$/,indicator:!1,write:!0,type:t.StateType.Boolean,name:`HOME`,required:!1,noSubscribe:!0,defaultRole:`button.home`},{role:/^level\.mode\.vacuum$/,indicator:!1,write:!0,type:t.StateType.Number,name:`RUN_MODE`,requiredOneOf:`vacuumMode`,defaultRole:`level.mode.vacuum`,defaultStates:{0:`IDLE`,1:`CLEANING`,2:`MAPPING`},ignoreRole:r},{role:/^value\.progress$/,indicator:!1,write:!1,type:t.StateType.Number,name:`PROGRESS`,required:!1,defaultRole:`value.progress`,defaultUnit:`%`},{role:/^value\.vacuum\.phase$/,indicator:!1,write:!1,type:t.StateType.String,name:`PHASE`,required:!1,defaultRole:`value.vacuum.phase`},o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.vacuumCleaner},blinds:{states:[{role:/^level(\.blind)?$/,indicator:!1,type:t.StateType.Number,write:!0,enums:n.roleOrEnumBlind,name:`SET`,required:!0,defaultRole:`level.blind`,defaultUnit:`%`},{role:/^value(\.blind)?$/,indicator:!1,type:t.StateType.Number,enums:n.roleOrEnumBlind,name:`ACTUAL`,required:!1,defaultRole:`value.blind`,defaultUnit:`%`},{role:/^(button|action)\.stop(\.blind)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumBlind,name:`STOP`,required:!1,noSubscribe:!0,defaultRole:`button.stop.blind`},{role:/^(button|action)\.open(\.blind)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumBlind,name:`OPEN`,required:!1,noSubscribe:!0,defaultRole:`button.open.blind`},{role:/^(button|action)\.close(\.blind)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumBlind,name:`CLOSE`,required:!1,noSubscribe:!0,defaultRole:`button.close.blind`},{role:/^level(\.open)?\.tilt$/,indicator:!1,type:t.StateType.Number,write:!0,enums:n.roleOrEnumBlind,name:`TILT_SET`,required:!1,defaultRole:`level.tilt`},{role:/^value(\.open)?\.tilt$/,indicator:!1,type:t.StateType.Number,enums:n.roleOrEnumBlind,name:`TILT_ACTUAL`,required:!1,defaultRole:`value.tilt`},{role:/^(button|action)\.stop\.tilt$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumBlind,name:`TILT_STOP`,required:!1,noSubscribe:!0,defaultRole:`button.stop.tilt`},{role:/^(button|action)\.open\.tilt$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumBlind,name:`TILT_OPEN`,required:!1,noSubscribe:!0,defaultRole:`button.open.tilt`},{role:/^(button|action)\.close\.tilt$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumBlind,name:`TILT_CLOSE`,required:!1,noSubscribe:!0,defaultRole:`button.close.tilt`},o.direction,o.direction_enum,o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.blind},blindButtons:{states:[{role:/^(button|action)\.stop(\.blind)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumBlind,name:`STOP`,required:!0,noSubscribe:!0,defaultRole:`button.stop.blind`},{role:/^(button|action)\.open(\.blind)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumBlind,name:`OPEN`,required:!0,noSubscribe:!0,defaultRole:`button.open.blind`},{role:/^(button|action)\.close(\.blind)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumBlind,name:`CLOSE`,required:!0,noSubscribe:!0,defaultRole:`button.close.blind`},{role:/^level\.tilt$/,indicator:!1,type:t.StateType.Number,write:!0,enums:n.roleOrEnumBlind,name:`TILT_SET`,required:!1,defaultRole:`level.tilt`},{role:/^value\.tilt$/,indicator:!1,type:t.StateType.Number,enums:n.roleOrEnumBlind,name:`TILT_ACTUAL`,required:!1,defaultRole:`value.tilt`},{role:/^(button|action)\.stop\.tilt$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumBlind,name:`TILT_STOP`,required:!1,noSubscribe:!0,defaultRole:`button.stop.tilt`},{role:/^(button|action)\.open\.tilt$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumBlind,name:`TILT_OPEN`,required:!1,noSubscribe:!0,defaultRole:`button.open.tilt`},{role:/^(button|action)\.close\.tilt$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumBlind,name:`TILT_CLOSE`,required:!1,noSubscribe:!0,defaultRole:`button.close.tilt`},o.direction,o.direction_enum,o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.blindButtons},gate:{states:[{role:/^switch(\.gate)?$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumGate,name:`SET`,required:!0,defaultRole:`switch.gate`},{role:/^value(\.(position|gate))?$/,indicator:!1,type:t.StateType.Number,enums:n.roleOrEnumGate,name:`ACTUAL`,required:!1,defaultRole:`value.blind`,defaultUnit:`%`,ignoreRole:r},{role:/^(button|action)\.stop$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumGate,name:`STOP`,required:!1,noSubscribe:!0,defaultRole:`button.stop`},{role:/^indicator\.opened$/,indicator:!0,type:t.StateType.Boolean,name:`OPENED`,required:!1,defaultRole:`indicator.opened`},{role:/^indicator\.closed$/,indicator:!0,type:t.StateType.Boolean,name:`CLOSED`,required:!1,defaultRole:`indicator.closed`},o.direction,o.direction_enum,o.working,o.unreach,o.maintain,o.error,o.rssi],type:t.Types.gate},weatherCurrent:{states:[{role:/^value(\.temperature)?$/,indicator:!1,type:t.StateType.Number,name:`ACTUAL`,required:!0,defaultRole:`value.temperature`,defaultUnit:`°C`},{role:/^weather\.icon$/,indicator:!1,name:`ICON`,required:!0,defaultRole:`weather.icon`},{role:/^value\.precipitation\.chance$/,indicator:!1,type:t.StateType.Number,name:`PRECIPITATION_CHANCE`,defaultRole:`value.precipitation.chance`,defaultUnit:`%`},{role:/^value\.precipitation\.type$/,indicator:!1,type:t.StateType.Number,name:`PRECIPITATION_TYPE`,defaultRole:`value.precipitation.type`,defaultStates:{0:`NO`,1:`RAIN`,2:`SNOW`,3:`HAIL`}},{role:/^value\.pressure$/,indicator:!1,type:t.StateType.Number,name:`PRESSURE`,defaultRole:`value.pressure`,defaultUnit:`mbar`},{role:/^value\.pressure\.tendency$/,indicator:!1,type:t.StateType.String,name:`PRESSURE_TENDENCY`,defaultRole:`value.pressure.tendency`},{role:/^value\.temperature\.windchill$/,indicator:!1,type:t.StateType.Number,name:`REAL_FEEL_TEMPERATURE`,defaultRole:`value.temperature.windchill`,defaultUnit:`°C`},{role:/^value\.humidity$/,indicator:!1,type:t.StateType.Number,name:`HUMIDITY`,defaultRole:`value.humidity`,defaultUnit:`%`},{role:/^value\.uv$/,indicator:!1,type:t.StateType.Number,name:`UV`,defaultRole:`value.uv`},{role:/^weather\.state$/,indicator:!1,type:t.StateType.String,name:`WEATHER`,defaultRole:`weather.state`},{role:/^value\.direction\.wind$/,indicator:!1,type:t.StateType.String,name:`WIND_DIRECTION`,defaultRole:`value.direction.wind`,defaultUnit:`°`},{role:/^value\.speed\.wind\.gust$/,indicator:!1,type:t.StateType.Number,name:`WIND_GUST`,defaultRole:`value.speed.wind.gust`,defaultUnit:`km/h`},{role:/^value\.speed\.wind$/,indicator:!1,type:t.StateType.Number,name:`WIND_SPEED`,defaultRole:`value.speed.wind`,defaultUnit:`km/h`},o.lowbat,o.unreach,o.maintain,o.error,o.battery],type:t.Types.weatherCurrent},camera:{states:[{role:/^link\.camera(\.\w+)?$/,indicator:!1,type:t.StateType.String,name:`URL`,required:!0,defaultRole:`link.camera`},{role:/^switch(\.camera)?\.autofocus$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`AUTOFOCUS`,required:!1,defaultRole:`switch.camera.autofocus`},{role:/^switch(\.camera)?\.autowhitebalance$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`AUTOWHITEBALANCE`,required:!1,defaultRole:`switch.camera.autowhitebalance`},{role:/^switch(\.camera)?\.brightness$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`BRIGHTNESS`,required:!1,defaultRole:`switch.camera.brightness`},{role:/^switch(\.camera)?\.nightmode$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`NIGHTMODE`,required:!1,defaultRole:`switch.camera.nightmode`},{role:/^level(\.camera)?\.position$|^level(\.camera)?(\.ptz)$/,indicator:!1,type:t.StateType.Number,write:!0,name:`PTZ`,required:!1,defaultRole:`level.camera.position`},o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.camera,enumRequired:!1},lock:{states:[{role:/^switch\.lock$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`SET`,required:!0,defaultRole:`switch.lock`},{role:/^state$/,indicator:!1,type:t.StateType.Boolean,write:!1,name:`ACTUAL`,required:!1,defaultRole:`state`},{indicator:!1,type:t.StateType.Boolean,write:!0,read:!1,name:`OPEN`,required:!1,noSubscribe:!0,defaultRole:`button`,ignoreRole:r},{role:/^(state|sensor)(\.door)?$/,indicator:!1,type:t.StateType.Boolean,write:!1,name:`DOOR_STATE`,required:!1,defaultRole:`sensor.door`,ignoreRole:r},o.direction,o.direction_enum,o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.lock},motion:{states:[{role:/^(state\.)?motion$|^sensor\.motion$/,indicator:!1,type:t.StateType.Boolean,name:`ACTUAL`,required:!0,defaultRole:`sensor.motion`,ignoreRole:r},{role:/brightness$/,indicator:!1,type:t.StateType.Number,name:`SECOND`,required:!1,defaultRole:`value.brightness`,defaultUnit:`lux`,ignoreRole:r},o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.motion},contact:{states:[{role:/^sensor\.contact$/,indicator:!1,type:t.StateType.Boolean,write:!1,name:`ACTUAL`,required:!0,defaultRole:`sensor.contact`,defaultChannelRole:`sensor.contact`},o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.contact,enumRequired:!1},window:{states:[{role:/^(state|sensor)(\.window)?/,indicator:!1,type:t.StateType.Boolean,enums:n.roleOrEnumWindow,write:!1,name:`ACTUAL`,required:!0,defaultRole:`sensor.window`,ignoreRole:r},o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.window},windowTilt:{states:[{role:/^state$|^value(\.window)?$/,indicator:!1,type:t.StateType.Number,write:!1,enums:n.roleOrEnumWindow,name:`ACTUAL`,required:!0,defaultRole:`value.window`},o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.windowTilt},fireAlarm:{states:[{role:/^(state|sensor|indicator)(\.alarm)?\.fire$/,indicator:!1,type:t.StateType.Boolean,name:`ACTUAL`,required:!0,defaultRole:`sensor.alarm.fire`,defaultChannelRole:`sensor.alarm.fire`},{role:/^(state|sensor)(\.alarm)?\.co$/,indicator:!1,type:t.StateType.Boolean,name:`CO`,required:!1,defaultRole:`sensor.alarm.co`},p.severity,p.muted,p.test,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.fireAlarm,enumRequired:!1},coAlarm:{states:[{role:/^(state|sensor)(\.alarm)?\.co$/,indicator:!1,type:t.StateType.Boolean,name:`ACTUAL`,required:!0,defaultRole:`sensor.alarm.co`,defaultChannelRole:`sensor.alarm.co`},p.severity,p.muted,p.test,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.coAlarm,enumRequired:!1},floodAlarm:{states:[{role:/^(state|sensor|indicator)(\.alarm)?\.flood$/,indicator:!1,type:t.StateType.Boolean,name:`ACTUAL`,required:!0,defaultRole:`sensor.alarm.flood`,defaultChannelRole:`sensor.alarm.flood`},o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.floodAlarm},door:{states:[{role:/^(state|sensor)(\.door)?/,indicator:!1,type:t.StateType.Boolean,write:!1,enums:n.roleOrEnumDoor,name:`ACTUAL`,required:!0,defaultRole:`sensor.door`},o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.door},dimmer:{states:[{role:/^level(\.dimmer)?$|^level\.brightness$/,indicator:!1,type:t.StateType.Number,write:!0,enums:n.roleOrEnumLight,name:`SET`,required:!0,defaultRole:`level.dimmer`,ignoreRole:/^level\.dimspeed$/,defaultUnit:`%`},{role:/^value(\.dimmer)?$/,indicator:!1,type:t.StateType.Number,write:!1,enums:n.roleOrEnumLight,name:`ACTUAL`,required:!1,defaultRole:`value.dimmer`,defaultUnit:`%`},{role:/^switch(\.light)?$|^state$/,indicator:!1,type:t.StateType.Boolean,write:!0,enums:n.roleOrEnumLight,name:`ON_SET`,required:!1,defaultRole:`switch.light`},{role:/^level\.effect$/,indicator:!1,type:[t.StateType.Number,t.StateType.String],write:!0,statesDefined:!0,name:`EFFECT`,required:!1,defaultRole:`level.effect`,defaultStates:{0:`None`}},{role:/^(state|switch|sensor)\.light$|^switch$/,indicator:!1,type:t.StateType.Boolean,write:!1,enums:n.roleOrEnumLight,name:`ON_ACTUAL`,required:!1,defaultRole:`sensor.light`,ignoreRole:r},{role:/^time\.(span|interval)$/,indicator:!1,type:t.StateType.Number,write:!0,enums:n.roleOrEnumLight,name:`TRANSITION_TIME`,required:!1,defaultRole:`time.span`,defaultUnit:`ms`},o.onTime,...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.dimmer},light:{states:[{role:/^switch(\.light)?$|^state$/,enums:n.roleOrEnumLight,indicator:!1,type:t.StateType.Boolean,write:!0,name:`SET`,required:!0,defaultRole:`switch.light`},{role:/^(state|switch|sensor)\.light$|^switch$/,indicator:!1,type:t.StateType.Boolean,write:!1,enums:n.roleOrEnumLight,name:`ON_ACTUAL`,required:!1,defaultRole:`sensor.light`,ignoreRole:r},{role:/^level\.effect$/,indicator:!1,type:[t.StateType.Number,t.StateType.String],write:!0,statesDefined:!0,name:`EFFECT`,required:!1,defaultRole:`level.effect`,defaultStates:{0:`None`}},o.onTime,...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.light},volume:{states:[{role:/^level\.volume$/,indicator:!1,type:t.StateType.Number,min:t.StateType.Number,max:t.StateType.Number,write:!0,name:`SET`,required:!0,defaultRole:`level.volume`,defaultUnit:`%`},{role:/^value\.volume$/,indicator:!1,type:t.StateType.Number,min:t.StateType.Number,max:t.StateType.Number,write:!1,name:`ACTUAL`,required:!1,defaultRole:`value.volume`,defaultUnit:`%`},{role:/^media\.mute$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`MUTE`,required:!1,defaultRole:`media.mute`},o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.volume},locationOne:{states:[{role:/^value\.gps$/,indicator:!1,type:t.StateType.String,write:!1,name:`GPS`,required:!0,defaultRole:`value.gps`},{role:/^value\.gps\.elevation$/,indicator:!1,type:t.StateType.Number,write:!1,name:`ELEVATION`,required:!1,defaultRole:`value.gps.elevation`},{role:/^value(\.gps)?\.radius$/,indicator:!1,type:t.StateType.Number,write:!1,name:`RADIUS`,required:!1,defaultRole:`value.gps.radius`},{role:/^value(\.gps)?\.accuracy$/,indicator:!1,type:t.StateType.Number,write:!1,name:`ACCURACY`,required:!1,defaultRole:`value.gps.accuracy`},o.unreach,o.lowbat,o.maintain,o.error,o.battery],type:t.Types.locationOne},location:{states:[{role:/^value(\.gps)?\.longitude$/,indicator:!1,type:t.StateType.Number,write:!1,name:`LONGITUDE`,required:!0,defaultRole:`value.gps.longitude`,defaultUnit:`°`},{role:/^value(\.gps)?\.latitude$/,indicator:!1,type:t.StateType.Number,write:!1,name:`LATITUDE`,required:!0,defaultRole:`value.gps.latitude`,defaultUnit:`°`},{role:/^value(\.gps)?\.elevation$/,indicator:!1,type:t.StateType.Number,write:!1,name:`ELEVATION`,required:!1,defaultRole:`value.gps.elevation`},{role:/^value(\.gps)?\.radius$/,indicator:!1,type:t.StateType.Number,write:!1,name:`RADIUS`,required:!1,defaultRole:`value.gps.radius`},{role:/^value(\.gps)?\.accuracy$/,indicator:!1,type:t.StateType.Number,write:!1,name:`ACCURACY`,required:!1,defaultRole:`value.gps.accuracy`},o.unreach,o.lowbat,o.maintain,o.error,o.battery],type:t.Types.location},volumeGroup:{states:[{role:/^level\.volume\.group?$/,indicator:!1,type:t.StateType.Number,min:t.StateType.Number,max:t.StateType.Number,write:!0,name:`SET`,required:!0,defaultRole:`level.volume.group`,defaultUnit:`%`},{role:/^value\.volume\.group$/,indicator:!1,type:t.StateType.Number,min:t.StateType.Number,max:t.StateType.Number,write:!1,name:`ACTUAL`,required:!1,defaultRole:`value.volume.group`,defaultUnit:`%`},{role:/^media\.mute\.group$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`MUTE`,required:!1,defaultRole:`media.mute.group`},o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.volumeGroup},pump:{states:[{role:/^switch\.pump$/,indicator:!1,write:!0,type:[t.StateType.Boolean,t.StateType.Number],name:`POWER`,required:!0,defaultRole:`switch.pump`},{role:/^level\.pump$/,indicator:!1,write:!0,type:t.StateType.Number,name:`LEVEL`,required:!1,defaultRole:`level.pump`,defaultUnit:`%`,ignoreRole:r},{role:/temperature(\..*)?$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,name:`TEMPERATURE`,required:!1,defaultRole:`value.temperature`,defaultUnit:`°C`,ignoreRole:r},{role:/^value\.pressure$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,name:`PRESSURE`,required:!1,defaultRole:`value.pressure`,defaultUnit:`mbar`},{role:/^value\.flow$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,name:`FLOW`,required:!1,defaultRole:`value.flow`,defaultUnit:`m³/h`},...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.pump},percentage:{states:[{role:/^level(\..*)?$/,indicator:!1,type:t.StateType.Number,write:!0,unit:`%`,name:`SET`,required:!0,defaultRole:`level`,defaultUnit:`%`,ignoreRole:r},{role:/^value(\..*)?$/,indicator:!1,type:t.StateType.Number,write:!1,name:`ACTUAL`,required:!1,defaultRole:`value`,defaultUnit:`%`,ignoreRole:r},o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.percentage},levelSlider:{states:[{role:/^level(\..*)?$/,indicator:!1,type:t.StateType.Number,min:t.StateType.Number,max:t.StateType.Number,write:!0,name:`SET`,required:!0,defaultRole:`level`,defaultUnit:`%`,ignoreRole:r},{role:/^switch(\.active)?$/,indicator:!1,write:!0,type:t.StateType.Boolean,name:`ON`,required:!1,defaultRole:`switch`},{role:/^state\.active$|^sensor\.switch$/,indicator:!1,write:!1,type:t.StateType.Boolean,name:`ON_ACTUAL`,required:!1,defaultRole:`sensor.switch`},{role:/^value(\..*)?$/,indicator:!1,type:t.StateType.Number,min:t.StateType.Number,max:t.StateType.Number,write:!1,name:`ACTUAL`,required:!1,defaultRole:`value`,defaultUnit:`%`,ignoreRole:r},o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.slider},socket:{states:[{role:/^switch(\.active)?$|^state$/,indicator:!1,type:t.StateType.Boolean,write:!0,name:`SET`,required:!0,defaultRole:`switch`},{role:/^state\.active$|^sensor\.switch$/,indicator:!1,type:t.StateType.Boolean,write:!1,name:`ACTUAL`,required:!1,defaultRole:`sensor.switch`},o.onTime,...Object.values(s),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.rssi],type:t.Types.socket},button:{states:[{role:/^(button|action)(\.[.\w]+)?$/,indicator:!1,type:t.StateType.Boolean,read:!1,write:!0,name:`SET`,required:!0,noSubscribe:!0,defaultRole:`button`},o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.button},buttonSensor:{states:[{role:/^button(\.[.\w]+)?$/,indicator:!1,type:t.StateType.Boolean,read:!0,write:!1,name:`PRESS`,required:!0,defaultRole:`button.press`},{role:/^button\.long/,indicator:!1,type:t.StateType.Boolean,read:!0,write:!1,name:`PRESS_LONG`,required:!1,defaultRole:`button.long`},o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.buttonSensor},airQuality:{states:[{role:/^value\.airquality$/,indicator:!1,write:!1,type:t.StateType.Number,name:`AQI`,required:!0,defaultRole:`value.airquality`,defaultStates:{0:`UNKNOWN`,1:`GOOD`,2:`FAIR`,3:`MODERATE`,4:`POOR`,5:`VERY_POOR`,6:`EXTREMELY_POOR`}},{role:/^switch(\.power)?$/,indicator:!1,write:!0,type:t.StateType.Boolean,searchInParent:!0,name:`POWER`,required:!1,defaultRole:`switch.power`},...u(`CO2`,`co2`,`ppm`),...u(`TVOC`,`tvoc`),...u(`PM1`,`pm1`,`µg/m³`),...u(`PM25`,`pm25`,`µg/m³`),...u(`PM10`,`pm10`,`µg/m³`),...u(`CO`,`co`,`ppm`),...u(`NO2`,`no2`),...u(`O3`,`o3`),...u(`CH2O`,`ch2o`,`µg/m³`),...u(`RN`,`rn`,`Bq/m³`),...u(`SO2`,`so2`),{role:/^value\.pressure$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,name:`PRESSURE`,required:!1,defaultRole:`value.pressure`,defaultUnit:`mbar`},{role:/temperature(\..*)?$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,name:`ACTUAL`,required:!1,defaultRole:`value.temperature`,defaultUnit:`°C`,ignoreRole:r},{role:/humidity(\..*)?$/,indicator:!1,write:!1,type:t.StateType.Number,searchInParent:!0,name:`HUMIDITY`,required:!1,defaultRole:`value.humidity`,defaultUnit:`%`,ignoreRole:r},o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.airQuality},temperature:{states:[{role:/\.temperature$/,indicator:!1,write:!1,type:t.StateType.Number,name:`ACTUAL`,required:!0,defaultRole:`value.temperature`,defaultUnit:`°C`},{role:/\.humidity$/,indicator:!1,write:!1,type:t.StateType.Number,name:`SECOND`,required:!1,defaultRole:`value.humidity`,defaultUnit:`%`},o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.temperature},humidity:{states:[{role:/\.humidity$/,indicator:!1,write:!1,type:t.StateType.Number,name:`ACTUAL`,required:!0,defaultRole:`value.humidity`,defaultUnit:`%`},o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.humidity},illuminance:{states:[{role:/\.brightness$/,indicator:!1,write:!1,type:t.StateType.Number,name:`ACTUAL`,required:!0,defaultRole:`value.brightness`,defaultUnit:`lux`},o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.illuminance},pressure:{states:[{role:/^value\.pressure$/,indicator:!1,write:!1,type:t.StateType.Number,name:`PRESSURE`,required:!0,defaultRole:`value.pressure`,defaultUnit:`mbar`},o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.pressure},flow:{states:[{role:/^value\.flow$/,indicator:!1,write:!1,type:t.StateType.Number,name:`FLOW`,required:!0,defaultRole:`value.flow`,defaultUnit:`m³/h`},o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.flow},fillLevel:{states:[{role:/^value\.fill(\.[-.\w]+)?$/,indicator:!1,write:!1,type:t.StateType.Number,name:`ACTUAL`,required:!0,defaultRole:`value.fill`,defaultUnit:`%`},o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.fillLevel},image:{states:[{role:/\.icon$|^icon$|^icon\.|\.icon\.|\.chart\.url\.|\.chart\.url$|^url.icon$/,indicator:!1,write:!1,type:t.StateType.String,name:`URL`,defaultRole:`icon`,required:!0,ignoreRole:r},o.unreach,o.lowbat,o.maintain,o.error,o.battery],type:t.Types.image},electricity:{states:[...Object.values(s).map(e=>({...e,requiredOneOf:`electricity`})),o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.electricity},info:{states:[{indicator:!1,name:`ACTUAL`,required:!0,multiple:!0,noDeviceDetection:!0,ignoreRole:/\.inhibit$/,defaultRole:`state`},o.working,o.unreach,o.lowbat,o.maintain,o.error,o.battery,o.rssi],type:t.Types.info}}})),IM=o((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ChannelDetector=void 0;var t=NM(),n=PM(),r=FM(),i=class e{constructor(){this.enums=null,this.cache={}}_applyPattern(e,r,i,a,o){if(e[r]?.common){let s=null;if(i.role&&(s=i.role.test(e[r].common.role||``),s&&i.channelRole)){let t=(0,n.getParentId)(r),a=e[t]?.common.role||``;s=a&&(e[t].type===`channel`||e[t].type===`device`)?i.channelRole.test(a):!1}if(s===!1)return!1;if(i.type){if(typeof i.type==`string`){if(i.type!==e[r].common.type)return!1}else if(Array.isArray(i.type)){let t=!1;for(let n=0;n<i.type.length;n++)if(i.type[n]===e[r].common.type){t=!0;break}if(!t)return!1}}if(i.objectType&&e[r].type!==i.objectType||i.stateName&&!i.stateName.test(r)||i.unit&&i.unit!==e[r].common.unit)return!1;if(i.ignoreRole){let t=e[r].common.role||``;if(t&&i.ignoreRole.test(t))return!1}if(i.indicator===!1&&(e[r].common.role||``).match(/^indicator(\.[.\w]+)?$/))return!1;if(i.state){let e=r.split(`.`).pop()||``;if(e&&!i.state.test(e))return!1}let c=i.defaultRole&&e[r].common.role===i.defaultRole,l=i.defaultUnit?e[r].common.unit===i.defaultUnit:!1;if(i.min===t.StateType.Number&&typeof e[r].common.min!==t.StateType.Number&&(!l||e[r].common.unit!==`%`)||i.max===t.StateType.Number&&typeof e[r].common.max!==t.StateType.Number&&(!l||e[r].common.unit!==`%`)||i.statesDefined===!0&&typeof e[r].common.states!=`object`)return!1;if(!c){if(i.write!==void 0&&i.write!==!!e[r].common.write||i.read!==void 0&&i.read!==(e[r].common.read===void 0||e[r].common.read))return!1;if(typeof i.enums==`function`){let t=this._getEnumsForId(e,r,o);if(!a&&!i.enums(e[r],t||[]))return!1}}return!0}return!1}_getEnumsForId(e,t,r){this.enums||=(0,n.getFunctionEnums)(e,r);let i=[];if(this.enums.forEach(n=>{e[n].common.members.includes(t)&&i.push(n)}),!i.length&&e[t]?.type===`state`){let r=(0,n.getParentId)(t);e[r]&&(e[r].type===`channel`||e[r].type===`device`)&&this.enums.forEach(t=>{e[t].common.members.includes(r)&&i.push(t)})}return i.length?i:null}static copyState(e,t){let n=t||JSON.parse(JSON.stringify(e));return n.original=e.original||e,`enums`in e&&e.enums&&(n.enums=e.enums),`role`in e&&e.role&&(n.role=e.role),`channelRole`in e&&e.channelRole&&(n.channelRole=e.channelRole),n}_testOneState(t){let n=t.objects,i=t.pattern,a=t.state,o=t.channelStates,s=t.usedIds,c=t.usedInCurrentDevice,l=t.ignoreIndicators,u=t.ignoreEnums,d=t.sortedKeys,f=t.result,p=!1;for(let m of o)if(!(a.name===`COVER`&&f?.states.find(e=>e.id&&e.name===`COVER`))){if(a.indicator&&l){let e=m.split(`.`).pop()||``;if(e&&l.includes(e))continue}if(!a.indicator&&(c.includes(m)||!a.notSingle&&!t.detectAllPossibleDevices&&s.includes(m)))continue;if(this._applyPattern(n,m,a,u,d)){f||(f=JSON.parse(JSON.stringify(r.patterns[i])),t.result=f,f?.states.forEach((t,n)=>e.copyState(r.patterns[i].states[n],t)));let l=!1;if(f.states.find(({id:e})=>e===m))l=!0;else for(let r of f.states)if(r.name===a.name&&e.stateTypeMatches(r,n[m])){if(r.id){let e;t.favorId&&(m===t.favorId?e=!0:r.id===t.favorId&&(e=!1));let i=n[r.id]?.common?.role??``,a=n[m]?.common?.role??``,o=r.defaultRole;if(o&&e===void 0&&(a===o?e=!0:i===o&&(e=!1)),e===void 0){let t=a.split(`.`),n=t.length,r=i.split(`.`),o=r.length;e=a===``||t[0]===`state`&&r[0]!==`state`?!1:t[0]!==`state`&&r[0]===`state`||n>o?!0:n<o?!1:t[0]!==`state`}if(!e)break}let e=r.id;if(r.id=m,l=!0,e&&!a.indicator){for(let t=c.length-1;t>=0;t--)c[t]===e&&c.splice(t,1);t.rejectedInCurrentDevice.push(e)}break}if(!l)p&&!a.indicator&&t.rejectedInCurrentDevice.push(m);else if(p=!0,a.indicator||c.push(m),a.multiple&&o.length>1){for(let r of o)if(r!==m&&(a.indicator||!c.includes(r)&&!t.rejectedInCurrentDevice.includes(r)&&(a.notSingle||!s.includes(r)))&&this._applyPattern(n,r,a,u,d)){if(a.indicator||c.push(r),Array.isArray(a)){let t=e.copyState(a[0]);t.id=r,f.states.push(t)}else{let t=e.copyState(a);t.id=r,f.states.push(t)}}}}}return p}static findParentChannelOrDevice(e,t,n){if(!e[t])return;let r=t.split(`.`),i=t;if(e[t].type===`state`&&(r.pop(),t=r.join(`.`)),r.length<=2)return t;let a=e[t];if(a?.type===`device`||n&&a?.type===`channel`)return t;if(n)return;r.pop();let o=r.join(`.`),s=e[o];if(!s)return a?t:i;if(s.type===`device`||r.length<=2)return o;if(a?.type===`channel`)return t;r.pop();let c=r.join(`.`),l=e[c];return!l||l.type!==`device`&&l.type!==`channel`?o:c}static getChannelOrDeviceStates(t,r,i,a=!1,o=!1){let s=t[r]?.type;switch(s){case void 0:return[...(0,n.getObjectsBelowId)(i,r)];case`state`:case`channel`:case`device`:case`folder`:if(a&&s!==`device`){let a=e.findParentChannelOrDevice(t,r);return a&&a!==r?[...(0,n.getObjectsBelowId)(i,a)]:[r]}if(s!==`state`)return[...(0,n.getObjectsBelowId)(i,r)];if(o){let a=e.findParentChannelOrDevice(t,r,!0);return a&&a!==r?[...(0,n.getObjectsBelowId)(i,a)]:[r]}return[r];default:return[r]}}static patternIsAllowed(e,t,n){if(!e)return!1;if(Array.isArray(e.type)){for(let r=0;r<e.type.length;r++)if(t&&!t.includes(e.type[r])||n&&n.includes(e.type[r]))return!1;return!0}return t&&!t.includes(e.type)?!1:!n||!n.includes(e.type)}static stateTypeMatches(e,t){if(!e.type)return!0;let n=t?.common?.type;return n?Array.isArray(e.type)?e.type.includes(n):e.type===n:!0}static allRequiredStatesFound(e){if(!e.result)return!1;let t=e.result.states,n=new Map;for(let e=0;e<t.length;e++){let r=t[e].requiredOneOf;if(r)n.set(r,n.get(r)||!!t[e].id);else if(t[e].required&&!t[e].id)return!1}for(let e of n.values())if(!e)return!1;return!0}static cleanState(e,t){let n=t[e.id]?.common?.role||``;if(e.name.includes(`%d`)&&e.role&&e.id&&n){let t=e.role.exec(n);t&&(e.name=e.name.replace(`%d`,t[1]))}e.role&&delete e.role,e.enums&&delete e.enums,e.original&&delete e.original}sortTypes(e,t){return t.forEach(([t,n])=>{let r=e.indexOf(t),i=e.indexOf(n);if(r===-1||i===-1)return;let a=e.splice(r,1);e.splice(i,0,...a)}),e}_detectNext(t){let{objects:i,id:a,_usedIdsOptional:o=[],ignoreIndicators:s,prioritizedTypes:c,detectParent:l,detectOnlyChannel:u,allowedTypes:d,excludedTypes:f,_keysOptional:p,detectAllPossibleDevices:m}=t,{_patternList:h}=t;t._usedIdsOptional=o;let g=e.getChannelOrDeviceStates(i,a,p||[],l,u);if(!i[a]?.common&&!g.length)return null;if(t._checkedPatterns??=[],!h){let n=Object.keys(r.patterns).filter(t=>e.patternIsAllowed(r.patterns[t],d,f));h=c?this.sortTypes(n,c):n,t._patternList=h}let _={objects:i,channelStates:g,usedIds:o,ignoreIndicators:s||[],pattern:`unknown`,usedInCurrentDevice:[],rejectedInCurrentDevice:[],state:{},ignoreEnums:!!t.ignoreEnums,sortedKeys:p,favorId:t.detectParent?void 0:a,detectAllPossibleDevices:m},v=i[a]?.type;for(let s of h){if(t._checkedPatterns.includes(s))continue;t._checkedPatterns.push(s),delete _.result,_.pattern=s,_.usedInCurrentDevice=[],_.rejectedInCurrentDevice=[];let c=new Map;for(let e of r.patterns[s].states)e.requiredOneOf&&c.set(e.requiredOneOf,(c.get(e.requiredOneOf)??0)+1);let l=new Set;for(let e of r.patterns[s].states){let t=!1;_.state=e,this._testOneState(_)&&(t=!0);let n=e.requiredOneOf;if(n){t&&l.add(n);let e=(c.get(n)??0)-1;if(c.set(n,e),e<=0&&!l.has(n)){delete _.result;break}}else if(e.required&&!t){delete _.result;break}}if(!e.allRequiredStatesFound(_))continue;_.usedInCurrentDevice.forEach(e=>o.push(e)),_.rejectedInCurrentDevice.forEach(e=>!o.includes(e)&&o.push(e));let u;if(v!==`device`){let r=e.findParentChannelOrDevice(i,a)??a;if(i[r]&&(i[r].type===`channel`||i[r].type===`device`)){u=(0,n.getObjectsBelowId)(p,r);for(let e of u)_.result.states.forEach((n,r)=>{!n.id&&(n.indicator||n.searchInParent)&&!n.noDeviceDetection&&this._applyPattern(i,e,n.original,!!t.ignoreEnums,_.sortedKeys)&&_.result&&(_.result.states[r].id=e)})}}if(_.result.states.forEach(t=>e.cleanState(t,_.objects)),t.limitTypesToOneOf){for(let e of t.limitTypesToOneOf)if(e.includes(s))for(let n of e)n===s||t._checkedPatterns.includes(n)||t._checkedPatterns.push(n)}return _.result}return null}detect(e){let{objects:n,id:r,ignoreCache:i,detectAllPossibleDevices:a}=e,{_keysOptional:o,_usedIdsOptional:s}=e;if(!i&&this.cache[r]){let{allowedTypes:t=[],excludedTypes:n=[]}=e;if(!t.length&&!n.length)return this.cache[r];let i=this.cache[r].filter(({type:e})=>t.includes(e)&&!n.includes(e));if(i.length)return i}o?e._keysOptionalSorted||o.sort():(o=Object.keys(n),o.sort(),e._keysOptional=o),s&&!e.detectParent&&(s=[],e._usedIdsOptional=s),e.ignoreEnums===void 0&&e.allowedTypes?.length===1&&(e.ignoreEnums=!0),a&&(e.excludedTypes||=[],e.excludedTypes.includes(t.Types.info)||e.excludedTypes.push(t.Types.info)),e._checkedPatterns=[];let c=[],l;for(;l=this._detectNext(e);)c.push(l),e.detectAllPossibleDevices&&(e._usedIdsOptional=[]);return c.sort((e,n)=>{if(e.type===t.Types.info&&n.type!==t.Types.info)return 1;if(n.type===t.Types.info&&e.type!==t.Types.info)return-1;let i=+!!e.states.find(e=>e.id===r&&(e.required||e.requiredOneOf)),a=+!!n.states.find(e=>e.id===r&&(e.required||e.requiredOneOf));if(i!==a)return a-i;if(!i){let t=+!!e.states.find(e=>e.id===r),i=+!!n.states.find(e=>e.id===r);if(t!==i)return i-t}let o=e.states.filter(e=>e.id).length;return n.states.filter(e=>e.id).length-o}),this.cache[r]=c.length?c:null,this.cache[r]}static getPatterns(){let e={};return Object.keys(r.patterns).forEach(t=>{let n=JSON.parse(JSON.stringify(r.patterns[t]));n.states.forEach((e,i)=>{let a=r.patterns[t].states[i];a.role&&(n.states[i].role=a.role.toString()),a.enums&&(n.states[i].enums=!0)}),e[t]=n}),e}};e.ChannelDetector=i,i.getEnums=n.getEnums})),LM=o((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.StateType=e.Types=e.roleOrEnumGate=e.roleOrEnumDoor=e.roleOrEnumWindow=e.roleOrEnumBlind=e.roleOrEnumLight=void 0;var t=IM(),n=PM();Object.defineProperty(e,"roleOrEnumLight",{enumerable:!0,get:function(){return n.roleOrEnumLight}}),Object.defineProperty(e,"roleOrEnumBlind",{enumerable:!0,get:function(){return n.roleOrEnumBlind}}),Object.defineProperty(e,"roleOrEnumWindow",{enumerable:!0,get:function(){return n.roleOrEnumWindow}}),Object.defineProperty(e,"roleOrEnumDoor",{enumerable:!0,get:function(){return n.roleOrEnumDoor}}),Object.defineProperty(e,"roleOrEnumGate",{enumerable:!0,get:function(){return n.roleOrEnumGate}}),e.default=t.ChannelDetector;var r=NM();Object.defineProperty(e,"Types",{enumerable:!0,get:function(){return r.Types}}),Object.defineProperty(e,"StateType",{enumerable:!0,get:function(){return r.StateType}})})),RM={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},zM=V.createContext&&V.createContext(RM),BM=[`attr`,`size`,`title`];function VM(e,t){if(e==null)return{};var n,r,i=HM(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function HM(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function UM(){return UM=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},UM.apply(null,arguments)}function WM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function GM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?WM(Object(n),!0).forEach(function(t){KM(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function KM(e,t,n){return(t=qM(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qM(e){var t=JM(e,`string`);return typeof t==`symbol`?t:t+``}function JM(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function YM(e){return e&&e.map((e,t)=>V.createElement(e.tag,GM({key:t},e.attr),YM(e.child)))}function XM(e){return t=>V.createElement(ZM,UM({attr:GM({},e.attr)},t),YM(e.child))}function ZM(e){var t=t=>{var n=e.attr,r=e.size,i=e.title,a=VM(e,BM),o=r||t.size||`1em`,s;return t.className&&(s=t.className),e.className&&(s=(s?s+` `:``)+e.className),V.createElement(`svg`,UM({stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`},t.attr,n,a,{className:s,style:GM(GM({color:e.color||t.color},t.style),e.style),height:o,width:o,xmlns:`http://www.w3.org/2000/svg`}),i&&V.createElement(`title`,null,i),e.children)};return zM===void 0?t(RM):V.createElement(zM.Consumer,null,e=>t(e))}var $=LM();function QM(e){return XM({tag:`svg`,attr:{viewBox:`0 0 1024 1024`},child:[{tag:`path`,attr:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 0 0-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 0 0-11.3 0L266.3 586.7a8.03 8.03 0 0 0 0 11.3l39.5 39.7z`},child:[]}]})(e)}function $M(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`},child:[{tag:`path`,attr:{d:`M24 5.25v13a.75.75 0 0 1-1.136.643L16.5 15.075v2.175A1.75 1.75 0 0 1 14.75 19h-13A1.75 1.75 0 0 1 0 17.25v-11C0 5.284.784 4.5 1.75 4.5h13c.966 0 1.75.784 1.75 1.75v2.175l6.364-3.818A.75.75 0 0 1 24 5.25Zm-9 1a.25.25 0 0 0-.25-.25h-13a.25.25 0 0 0-.25.25v11c0 .138.112.25.25.25h13a.25.25 0 0 0 .25-.25v-11Zm1.5 7.075 6 3.6V6.575l-6 3.6Z`},child:[]}]})(e)}function eN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M507.73 109.1c-2.24-9.03-13.54-12.09-20.12-5.51l-74.36 74.36-67.88-11.31-11.31-67.88 74.36-74.36c6.62-6.62 3.43-17.9-5.66-20.16-47.38-11.74-99.55.91-136.58 37.93-39.64 39.64-50.55 97.1-34.05 147.2L18.74 402.76c-24.99 24.99-24.99 65.51 0 90.5 24.99 24.99 65.51 24.99 90.5 0l213.21-213.21c50.12 16.71 107.47 5.68 147.37-34.22 37.07-37.07 49.7-89.32 37.91-136.73zM64 472c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z`},child:[]}]})(e)}function tN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 576 512`},child:[{tag:`path`,attr:{d:`M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z`},child:[]}]})(e)}function nN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 384 512`},child:[{tag:`path`,attr:{d:`M215.03 72.04L126.06 161H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V89.02c0-21.47-25.96-31.98-40.97-16.98zm123.2 108.08c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 229.28 336 242.62 336 257c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.87z`},child:[]}]})(e)}function rN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M367.9 329.76c-4.62 5.3-9.78 10.1-15.9 13.65v22.94c66.52 9.34 112 28.05 112 49.65 0 30.93-93.12 56-208 56S48 446.93 48 416c0-21.6 45.48-40.3 112-49.65v-22.94c-6.12-3.55-11.28-8.35-15.9-13.65C58.87 345.34 0 378.05 0 416c0 53.02 114.62 96 256 96s256-42.98 256-96c0-37.95-58.87-70.66-144.1-86.24zM256 128c35.35 0 64-28.65 64-64S291.35 0 256 0s-64 28.65-64 64 28.65 64 64 64zm-64 192v96c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-96c17.67 0 32-14.33 32-32v-96c0-26.51-21.49-48-48-48h-11.8c-11.07 5.03-23.26 8-36.2 8s-25.13-2.97-36.2-8H208c-26.51 0-48 21.49-48 48v96c0 17.67 14.33 32 32 32z`},child:[]}]})(e)}function iN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 448 512`},child:[{tag:`path`,attr:{d:`M384 44v424c0 6.6-5.4 12-12 12h-48c-6.6 0-12-5.4-12-12V291.6l-195.5 181C95.9 489.7 64 475.4 64 448V64c0-27.4 31.9-41.7 52.5-24.6L312 219.3V44c0-6.6 5.4-12 12-12h48c6.6 0 12 5.4 12 12z`},child:[]}]})(e)}function aN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M496 384H160v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h80v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h336c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160h-80v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h336v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h80c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160H288V48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16C7.2 64 0 71.2 0 80v32c0 8.8 7.2 16 16 16h208v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h208c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16z`},child:[]}]})(e)}function oN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 448 512`},child:[{tag:`path`,attr:{d:`M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z`},child:[]}]})(e)}function sN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 352 512`},child:[{tag:`path`,attr:{d:`M96.06 454.35c.01 6.29 1.87 12.45 5.36 17.69l17.09 25.69a31.99 31.99 0 0 0 26.64 14.28h61.71a31.99 31.99 0 0 0 26.64-14.28l17.09-25.69a31.989 31.989 0 0 0 5.36-17.69l.04-38.35H96.01l.05 38.35zM0 176c0 44.37 16.45 84.85 43.56 115.78 16.52 18.85 42.36 58.23 52.21 91.45.04.26.07.52.11.78h160.24c.04-.26.07-.51.11-.78 9.85-33.22 35.69-72.6 52.21-91.45C335.55 260.85 352 220.37 352 176 352 78.61 272.91-.3 175.45 0 73.44.31 0 82.97 0 176zm176-80c-44.11 0-80 35.89-80 80 0 8.84-7.16 16-16 16s-16-7.16-16-16c0-61.76 50.24-112 112-112 8.84 0 16 7.16 16 16s-7.16 16-16 16z`},child:[]}]})(e)}function cN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z`},child:[]}]})(e)}function lN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z`},child:[]}]})(e)}function uN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M352.57 128c-28.09 0-54.09 4.52-77.06 12.86l12.41-123.11C289 7.31 279.81-1.18 269.33.13 189.63 10.13 128 77.64 128 159.43c0 28.09 4.52 54.09 12.86 77.06L17.75 224.08C7.31 223-1.18 232.19.13 242.67c10 79.7 77.51 141.33 159.3 141.33 28.09 0 54.09-4.52 77.06-12.86l-12.41 123.11c-1.05 10.43 8.11 18.93 18.59 17.62 79.7-10 141.33-77.51 141.33-159.3 0-28.09-4.52-54.09-12.86-77.06l123.11 12.41c10.44 1.05 18.93-8.11 17.62-18.59-10-79.7-77.51-141.33-159.3-141.33zM256 288a32 32 0 1 1 32-32 32 32 0 0 1-32 32z`},child:[]}]})(e)}function dN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 352 512`},child:[{tag:`path`,attr:{d:`M176 80c-52.94 0-96 43.06-96 96 0 8.84 7.16 16 16 16s16-7.16 16-16c0-35.3 28.72-64 64-64 8.84 0 16-7.16 16-16s-7.16-16-16-16zM96.06 459.17c0 3.15.93 6.22 2.68 8.84l24.51 36.84c2.97 4.46 7.97 7.14 13.32 7.14h78.85c5.36 0 10.36-2.68 13.32-7.14l24.51-36.84c1.74-2.62 2.67-5.7 2.68-8.84l.05-43.18H96.02l.04 43.18zM176 0C73.72 0 0 82.97 0 176c0 44.37 16.45 84.85 43.56 115.78 16.64 18.99 42.74 58.8 52.42 92.16v.06h48v-.12c-.01-4.77-.72-9.51-2.15-14.07-5.59-17.81-22.82-64.77-62.17-109.67-20.54-23.43-31.52-53.15-31.61-84.14-.2-73.64 59.67-128 127.95-128 70.58 0 128 57.42 128 128 0 30.97-11.24 60.85-31.65 84.14-39.11 44.61-56.42 91.47-62.1 109.46a47.507 47.507 0 0 0-2.22 14.3v.1h48v-.05c9.68-33.37 35.78-73.18 52.42-92.16C335.55 260.85 352 220.37 352 176 352 78.8 273.2 0 176 0z`},child:[]}]})(e)}function fN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`},child:[{tag:`path`,attr:{fill:`none`,d:`M0 0h24v24H0z`},child:[]},{tag:`path`,attr:{d:`M12 2c-4.96 0-9 4.04-9 9 0 3.91 2.51 7.24 6 8.47V22h2v-2.06a8.3 8.3 0 0 0 2 0V22h2v-2.53c3.49-1.24 6-4.57 6-8.47 0-4.96-4.04-9-9-9m2.25 12-3 3-1.5-1.5L11 14.25 9.75 13l3-3 1.5 1.5L13 12.75zM16 9H8V7h8z`},child:[]}]})(e)}function pN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`},child:[{tag:`path`,attr:{fill:`none`,d:`M0 0h24v24H0z`},child:[]},{tag:`path`,attr:{fill:`none`,d:`M0 0h24v24H0z`},child:[]},{tag:`path`,attr:{d:`m17 16-4-4V8.82C14.16 8.4 15 7.3 15 6c0-1.66-1.34-3-3-3S9 4.34 9 6c0 1.3.84 2.4 2 2.82V12l-4 4H3v5h5v-3.05l4-4.2 4 4.2V21h5v-5z`},child:[]}]})(e)}function mN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`},child:[{tag:`path`,attr:{fill:`none`,d:`M0 0h24v24H0z`},child:[]},{tag:`path`,attr:{d:`M15 16v1.26l-6-3v-3.17L11.7 8H16V2h-6v4.9L7.3 10H3v6h5l7 3.5V22h6v-6z`},child:[]}]})(e)}function hN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`},child:[{tag:`path`,attr:{fill:`none`,d:`M0 0h24v24H0z`},child:[]},{tag:`path`,attr:{d:`M16.56 8.94 7.62 0 6.21 1.41l2.38 2.38-5.15 5.15a1.49 1.49 0 0 0 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.58.59-1.53 0-2.12M5.21 10 10 5.21 14.79 10zM19 11.5s-2 2.17-2 3.5c0 1.1.9 2 2 2s2-.9 2-2c0-1.33-2-3.5-2-3.5M2 20h20v4H2z`},child:[]}]})(e)}function gN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`},child:[{tag:`path`,attr:{fill:`none`,d:`M0 0h24v24H0z`},child:[]},{tag:`path`,attr:{d:`M8.4 18.2c.38.5.6 1.12.6 1.8 0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3c.44 0 .85.09 1.23.26l1.41-1.77a4.5 4.5 0 0 1-1.09-3.69l-2.03-.68A2.997 2.997 0 0 1 0 9.5c0-1.66 1.34-3 3-3s3 1.34 3 3c0 .07 0 .14-.01.21l2.03.68a4.47 4.47 0 0 1 3.22-2.32V5.91A3.02 3.02 0 0 1 9 3c0-1.66 1.34-3 3-3s3 1.34 3 3c0 1.4-.96 2.57-2.25 2.91v2.16c1.4.23 2.58 1.11 3.22 2.32L18 9.71V9.5c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-1.06 0-1.98-.55-2.52-1.37l-2.03.68a4.49 4.49 0 0 1-1.09 3.69l1.41 1.77Q17.34 17 18 17c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.68.22-1.3.6-1.8l-1.41-1.77c-1.35.75-3.01.76-4.37 0z`},child:[]}]})(e)}function _N(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`},child:[{tag:`path`,attr:{fill:`none`,d:`M0 0h24v24H0z`},child:[]},{tag:`path`,attr:{d:`M14.5 17c0 1.65-1.35 3-3 3s-3-1.35-3-3h2c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1H2v-2h9.5c1.65 0 3 1.35 3 3M19 6.5C19 4.57 17.43 3 15.5 3S12 4.57 12 6.5h2c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S16.33 8 15.5 8H2v2h13.5c1.93 0 3.5-1.57 3.5-3.5m-.5 4.5H2v2h16.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5v2c1.93 0 3.5-1.57 3.5-3.5S20.43 11 18.5 11`},child:[]}]})(e)}function vN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`},child:[{tag:`path`,attr:{fill:`none`,d:`M0 0h24v24H0z`},child:[]},{tag:`path`,attr:{d:`M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z`},child:[]}]})(e)}function yN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`},child:[{tag:`path`,attr:{fill:`none`,d:`M0 0h24v24H0z`},child:[]},{tag:`path`,attr:{d:`M15.54 5.54 13.77 7.3 12 5.54 10.23 7.3 8.46 5.54 12 2zm2.92 10-1.76-1.77L18.46 12l-1.76-1.77 1.76-1.77L22 12zm-10 2.92 1.77-1.76L12 18.46l1.77-1.76 1.77 1.76L12 22zm-2.92-10 1.76 1.77L5.54 12l1.76 1.77-1.76 1.77L2 12z`},child:[]},{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`3`},child:[]}]})(e)}function bN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`},child:[{tag:`path`,attr:{fill:`none`,d:`M0 0h24v24H0z`},child:[]},{tag:`path`,attr:{d:`M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15M14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2`},child:[]}]})(e)}function xN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`},child:[{tag:`path`,attr:{fill:`none`,d:`M0 0h24v24H0z`},child:[]},{tag:`path`,attr:{d:`M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m8.94 3A8.994 8.994 0 0 0 13 3.06V1h-2v2.06A8.994 8.994 0 0 0 3.06 11H1v2h2.06A8.994 8.994 0 0 0 11 20.94V23h2v-2.06A8.994 8.994 0 0 0 20.94 13H23v-2zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7`},child:[]}]})(e)}function SN(e){return XM({tag:`svg`,attr:{version:`1.1`,id:`Layer_1`,x:`0px`,y:`0px`,viewBox:`0 0 30 30`,style:`enable-background:new 0 0 30 30;`},child:[{tag:`path`,attr:{d:`M3.89,17.6c0-0.99,0.31-1.88,0.93-2.65s1.41-1.27,2.38-1.49c0.26-1.17,0.85-2.14,1.78-2.88c0.93-0.75,2-1.12,3.22-1.12
|
|
644
|
+
c1.18,0,2.24,0.36,3.16,1.09c0.93,0.73,1.53,1.66,1.8,2.8h0.27c1.18,0,2.18,0.41,3.01,1.24s1.25,1.83,1.25,3
|
|
645
|
+
c0,1.18-0.42,2.18-1.25,3.01s-1.83,1.25-3.01,1.25H8.16c-0.58,0-1.13-0.11-1.65-0.34S5.52,21,5.14,20.62
|
|
646
|
+
c-0.38-0.38-0.68-0.84-0.91-1.36S3.89,18.17,3.89,17.6z M5.34,17.6c0,0.76,0.28,1.42,0.82,1.96s1.21,0.82,1.99,0.82h9.28
|
|
647
|
+
c0.77,0,1.44-0.27,1.99-0.82c0.55-0.55,0.83-1.2,0.83-1.96c0-0.76-0.27-1.42-0.83-1.96c-0.55-0.54-1.21-0.82-1.99-0.82h-1.39
|
|
648
|
+
c-0.1,0-0.15-0.05-0.15-0.15l-0.07-0.49c-0.1-0.94-0.5-1.73-1.19-2.35s-1.51-0.93-2.45-0.93c-0.94,0-1.76,0.31-2.46,0.94
|
|
649
|
+
c-0.7,0.62-1.09,1.41-1.18,2.34l-0.07,0.42c0,0.1-0.05,0.15-0.16,0.15l-0.45,0.07c-0.72,0.06-1.32,0.36-1.81,0.89
|
|
650
|
+
C5.59,16.24,5.34,16.87,5.34,17.6z M14.19,8.88c-0.1,0.09-0.08,0.16,0.07,0.21c0.43,0.19,0.79,0.37,1.08,0.55
|
|
651
|
+
c0.11,0.03,0.19,0.02,0.22-0.03c0.61-0.57,1.31-0.86,2.12-0.86c0.81,0,1.5,0.27,2.1,0.81c0.59,0.54,0.92,1.21,0.99,2l0.09,0.64h1.42
|
|
652
|
+
c0.65,0,1.21,0.23,1.68,0.7c0.47,0.47,0.7,1.02,0.7,1.66c0,0.6-0.21,1.12-0.62,1.57s-0.92,0.7-1.53,0.77c-0.1,0-0.15,0.05-0.15,0.16
|
|
653
|
+
v1.13c0,0.11,0.05,0.16,0.15,0.16c1.01-0.06,1.86-0.46,2.55-1.19s1.04-1.6,1.04-2.6c0-1.06-0.37-1.96-1.12-2.7
|
|
654
|
+
c-0.75-0.75-1.65-1.12-2.7-1.12h-0.15c-0.26-1-0.81-1.82-1.65-2.47c-0.83-0.65-1.77-0.97-2.8-0.97C16.28,7.29,15.11,7.82,14.19,8.88
|
|
655
|
+
z`},child:[]}]})(e)}function CN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M256 76c48.1 0 93.3 18.7 127.3 52.7S436 207.9 436 256s-18.7 93.3-52.7 127.3S304.1 436 256 436c-48.1 0-93.3-18.7-127.3-52.7S76 304.1 76 256s18.7-93.3 52.7-127.3S207.9 76 256 76m0-28C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48z`},child:[]},{tag:`path`,attr:{d:`M363.5 148.5C334.8 119.8 296.6 104 256 104c-40.6 0-78.8 15.8-107.5 44.5C119.8 177.2 104 215.4 104 256s15.8 78.8 44.5 107.5C177.2 392.2 215.4 408 256 408c40.6 0 78.8-15.8 107.5-44.5C392.2 334.8 408 296.6 408 256s-15.8-78.8-44.5-107.5z`},child:[]}]})(e)}function wN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M8 12a4 4 0 0 0 4 4m0 -8a4 4 0 0 0 -4 4`},child:[]},{tag:`path`,attr:{d:`M3 12h1`},child:[]},{tag:`path`,attr:{d:`M12 3v1`},child:[]},{tag:`path`,attr:{d:`M12 20v1`},child:[]},{tag:`path`,attr:{d:`M5.6 5.6l.7 .7`},child:[]},{tag:`path`,attr:{d:`M6.3 17.7l-.7 .7`},child:[]},{tag:`path`,attr:{d:`M20 7l-3 5h4l-3 5`},child:[]}]})(e)}function TN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M3 7c3 -2 6 -2 9 0s6 2 9 0`},child:[]},{tag:`path`,attr:{d:`M3 17c3 -2 6 -2 9 0s6 2 9 0`},child:[]},{tag:`path`,attr:{d:`M3 12c3 -2 6 -2 9 0s6 2 9 0`},child:[]}]})(e)}function EN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`},child:[]},{tag:`path`,attr:{d:`M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`},child:[]},{tag:`path`,attr:{d:`M13.41 10.59l2.59 -2.59`},child:[]},{tag:`path`,attr:{d:`M7 12a5 5 0 0 1 5 -5`},child:[]}]})(e)}function DN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M3 10v6`},child:[]},{tag:`path`,attr:{d:`M12 5v3`},child:[]},{tag:`path`,attr:{d:`M10 5h4`},child:[]},{tag:`path`,attr:{d:`M5 13h-2`},child:[]},{tag:`path`,attr:{d:`M6 10h2l2 -2h3.382a1 1 0 0 1 .894 .553l1.448 2.894a1 1 0 0 0 .894 .553h1.382v-2h2a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-2v-2h-3v2a1 1 0 0 1 -1 1h-3.465a1 1 0 0 1 -.832 -.445l-1.703 -2.555h-2v-6`},child:[]}]})(e)}function ON(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M2 12h2`},child:[]},{tag:`path`,attr:{d:`M20 12h2`},child:[]},{tag:`path`,attr:{d:`M4 12a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`},child:[]},{tag:`path`,attr:{d:`M16 12a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`},child:[]},{tag:`path`,attr:{d:`M8 12h8`},child:[]}]})(e)}function kN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M7.278 4h9.444a2 2 0 0 1 1.841 1.22c.958 2.26 1.437 4.52 1.437 6.78c0 2.26 -.479 4.52 -1.437 6.78a2 2 0 0 1 -1.841 1.22h-9.444a2 2 0 0 1 -1.841 -1.22c-.958 -2.26 -1.437 -4.52 -1.437 -6.78c0 -2.26 .479 -4.52 1.437 -6.78a2 2 0 0 1 1.841 -1.22`},child:[]},{tag:`path`,attr:{d:`M14 4c.667 2.667 1 5.333 1 8s-.333 5.333 -1 8`},child:[]},{tag:`path`,attr:{d:`M10 4c-.667 2.667 -1 5.333 -1 8s.333 5.333 1 8`},child:[]},{tag:`path`,attr:{d:`M4.5 16h15`},child:[]},{tag:`path`,attr:{d:`M19.5 8h-15`},child:[]}]})(e)}function AN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M18 8l-.8 3a1.25 1.25 0 0 1 -1.2 1h-8a1.25 1.25 0 0 1 -1.2 -1l-.8 -3`},child:[]},{tag:`path`,attr:{d:`M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1l0 -2`},child:[]},{tag:`path`,attr:{d:`M12 16c.643 .288 1.017 .756 1 1.25c.017 .494 -.357 .962 -1 1.25s-1.017 .756 -1 1.25c-.017 .494 .357 .962 1 1.25`},child:[]},{tag:`path`,attr:{d:`M7 16c.643 .288 1.017 .756 1 1.25c.017 .494 -.357 .962 -1 1.25s-1.017 .756 -1 1.25c-.017 .494 .357 .962 1 1.25`},child:[]},{tag:`path`,attr:{d:`M17 16c.643 .288 1.017 .756 1 1.25c.017 .494 -.357 .962 -1 1.25s-1.017 .756 -1 1.25c-.017 .494 .357 .962 1 1.25`},child:[]}]})(e)}function jN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 256 256`,fill:`currentColor`},child:[{tag:`path`,attr:{d:`M233,135a60,60,0,0,0-89.62-35.45l16.39-65.44a8,8,0,0,0-3.45-8.68A60,60,0,1,0,95.69,128.91L30.82,147.44a8,8,0,0,0-5.8,7.32,60,60,0,0,0,44.42,60.66,60.52,60.52,0,0,0,15.62,2.07,60.07,60.07,0,0,0,59.88-62l48.48,46.92a8,8,0,0,0,9.25,1.35A60,60,0,0,0,233,135Zm-121-7a16,16,0,1,1,16,16A16,16,0,0,1,112,128ZM80,76a44,44,0,0,1,62.75-39.82L127.77,96A32,32,0,0,0,99.85,112.8,43.85,43.85,0,0,1,80,76Zm27,119.57a44,44,0,0,1-65.86-34.43l59.31-16.94A32,32,0,0,0,128,160l.91,0A43.82,43.82,0,0,1,107,195.57Zm106.17-23a43.92,43.92,0,0,1-13,14.14l-44.32-42.89a31.91,31.91,0,0,0-.59-32.57,44,44,0,0,1,57.91,61.32Z`},child:[]}]})(e)}function MN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 256 256`,fill:`currentColor`},child:[{tag:`path`,attr:{d:`M224,127.17a96.48,96.48,0,0,1-2.39,22.18A24,24,0,0,1,198.21,168H152a24,24,0,0,0-24,24,24,24,0,0,1-32,22.61C58.73,201.44,32,169.81,32,128a96,96,0,0,1,95-96C179.84,31.47,223.55,74.35,224,127.17Z`,opacity:`0.2`},child:[]},{tag:`path`,attr:{d:`M200.77,53.89A103.27,103.27,0,0,0,128,24h-1.07A104,104,0,0,0,24,128c0,43,26.58,79.06,69.36,94.17A32,32,0,0,0,136,192a16,16,0,0,1,16-16h46.21a31.81,31.81,0,0,0,31.2-24.88,104.43,104.43,0,0,0,2.59-24A103.28,103.28,0,0,0,200.77,53.89Zm13,93.71A15.89,15.89,0,0,1,198.21,160H152a32,32,0,0,0-32,32,16,16,0,0,1-21.31,15.07C62.49,194.3,40,164,40,128a88,88,0,0,1,87.09-88h.9a88.35,88.35,0,0,1,88,87.25A88.86,88.86,0,0,1,213.81,147.6ZM140,76a12,12,0,1,1-12-12A12,12,0,0,1,140,76ZM96,100A12,12,0,1,1,84,88,12,12,0,0,1,96,100Zm0,56a12,12,0,1,1-12-12A12,12,0,0,1,96,156Zm88-56a12,12,0,1,1-12-12A12,12,0,0,1,184,100Z`},child:[]}]})(e)}function NN(e){return XM({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2`},child:[]},{tag:`path`,attr:{d:`M6 8h12`},child:[]},{tag:`path`,attr:{d:`M18.3 17.7a2.5 2.5 0 0 1-3.16 3.83 2.53 2.53 0 0 1-1.14-2V12`},child:[]},{tag:`path`,attr:{d:`M6.6 15.6A2 2 0 1 0 10 17v-5`},child:[]}]})(e)}function PN(e){return V.createElement(`svg`,{viewBox:`0 0 512 512`,...e},V.createElement(`g`,{fill:`currentColor`},V.createElement(`path`,{d:`M296,320H216a24,24,0,0,0,0,48h80a24,24,0,0,0,0-48Zm0,32H216a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Z`}),V.createElement(`path`,{d:`M68.071,123.492c22.578-13.918,52.2-25.229,85.674-32.71l-3.49-15.615c-35.688,7.977-66.163,19.653-90.58,34.705-17.914,11.043-32.041,23.643-41.99,37.451l12.98,9.354C39.376,144.588,51.961,133.423,68.071,123.492Z`}),V.createElement(`path`,{d:`M435.533,137.112C409.439,121.027,374,108.967,332.845,102.144,322.474,87,288.213,80,256,80s-66.474,7-76.845,22.144C138,108.967,102.561,121.027,76.467,137.112,47.376,155.045,32,176.792,32,200v96c0,29,24.155,55.7,68.016,75.193C141.813,389.77,197.209,400,256,400s114.187-10.23,155.984-28.807C455.845,351.7,480,325,480,296V200C480,176.792,464.624,155.045,435.533,137.112ZM177.64,151.23C185.676,168.192,221.98,176,256,176s70.324-7.808,78.36-24.77c21.862,4.212,41.832,10.19,58.13,17.44C422.343,181.941,432,195.509,432,200s-9.657,18.059-39.51,31.33C357.224,247.008,307.475,256,256,256s-101.224-8.992-136.49-24.67C89.657,218.059,80,204.491,80,200s9.657-18.059,39.512-31.331C135.808,161.42,155.778,155.442,177.64,151.23Zm14.36-19c15.6,8,40.35,11.773,64,11.773s48.4-3.775,64-11.773V144c0,.687-2.715,5.08-15.618,9.381C291.577,157.649,274.4,160,256,160s-35.577-2.351-48.382-6.619C194.715,149.08,192,144.687,192,144Zm15.618-29.608C220.423,98.351,237.605,96,256,96s35.577,2.351,48.382,6.619C317.285,106.92,320,111.313,320,112s-2.715,5.08-15.618,9.381C291.577,125.649,274.4,128,256,128s-35.577-2.351-48.382-6.619C194.715,117.08,192,112.687,192,112S194.715,106.92,207.618,102.619ZM176,118.937v16.319c-23.589,4.453-45.254,10.9-62.99,18.794C82.779,167.489,64,185.1,64,200s18.779,32.511,49.01,45.95C150.249,262.505,202.367,272,256,272s105.751-9.5,142.99-26.05C429.221,232.511,448,214.9,448,200s-18.779-32.511-49.008-45.95c-17.738-7.89-39.4-14.341-62.992-18.794V118.937C411.852,132.7,464,165.41,464,200c0,21.967-21.328,44.044-58.516,60.572C365.688,278.259,312.6,288,256,288s-109.688-9.741-149.484-27.428C69.328,244.044,48,221.967,48,200,48,165.41,100.148,132.7,176,118.937ZM464,296c0,21.967-21.327,44.044-58.514,60.572C365.689,374.259,312.6,384,256,384s-109.689-9.741-149.486-27.428C69.327,340.044,48,317.967,48,296V239.371c11.522,13.444,29.066,25.621,52.018,35.822C141.814,293.77,197.211,304,256,304s114.186-10.23,155.982-28.807c22.952-10.2,40.5-22.378,52.018-35.822Z`}),V.createElement(`path`,{d:`M418.482,385.814C374.684,405.28,316.979,416,256,416a488.01,488.01,0,0,1-78.705-6.23l-2.59,15.789A504.064,504.064,0,0,0,256,432c63.169,0,123.181-11.21,168.981-31.565q1.3-.576,2.572-1.16l-6.655-14.55Q419.7,385.274,418.482,385.814Z`}),V.createElement(`path`,{d:`M436.123,377.062l7.754,14c5.883-3.259,11.492-6.728,16.674-10.31l-9.1-13.161C446.7,370.871,441.546,374.059,436.123,377.062Z`}),V.createElement(`rect`,{x:`248`,y:`192`,width:`16`,height:`16`}),V.createElement(`rect`,{x:`280`,y:`192`,width:`16`,height:`16`}),V.createElement(`rect`,{x:`216`,y:`192`,width:`16`,height:`16`})))}function FN(e){return V.createElement(`svg`,{viewBox:`0 0 512 512`,...e},V.createElement(`path`,{fill:`currentColor`,d:`M298.667 298.667c17.643 0 32-14.357 32-32s-14.357-32-32-32-32 14.357-32 32c0 17.642 14.357 32 32 32zm0-42.667c5.867 0 10.667 4.779 10.667 10.667s-4.8 10.667-10.667 10.667S288 272.555 288 266.667 292.8 256 298.667 256z`}),V.createElement(`path`,{fill:`currentColor`,d:`M448 490.667h-32v-480C416 4.779 411.221 0 405.333 0H106.667c-.597 0-1.131.256-1.707.341-.555.085-1.088.149-1.621.32-.939.32-1.749.789-2.56 1.344-.32.213-.704.277-1.003.533-.107.085-.149.213-.256.32-.768.704-1.365 1.579-1.899 2.496-.213.341-.512.619-.661.981-.597 1.345-.96 2.774-.96 4.332v480H64c-5.888 0-10.667 4.779-10.667 10.667C53.333 507.221 58.112 512 64 512h42.667c.576 0 1.173-.043 1.749-.149l256-42.667a10.672 10.672 0 0 0 8.917-10.517V53.333c0-5.227-3.776-9.664-8.917-10.517L235.541 21.333h159.125v480c0 5.888 4.779 10.667 10.667 10.667H448c5.888 0 10.667-4.779 10.667-10.667s-4.779-10.666-10.667-10.666zm-96-428.31v387.264l-234.667 39.125V23.253L352 62.357z`}))}function IN(e){return V.createElement(`svg`,{viewBox:`0 0 512.006 512.006`,...e},V.createElement(`path`,{d:`M502.379 211.249c0 74.656-60.52 135.176-135.176 135.176-6.469.01-12.919-.473-19.311-1.448-66.487-9.598-115.837-66.555-115.866-133.728-.019-67.212 49.349-124.227 115.866-133.825a142.128 142.128 0 0 1 19.311-1.352c74.656 0 135.176 60.521 135.176 135.177z`,fill:`#c52828`}),V.createElement(`path`,{d:`M463.757 211.249c-.029 67.173-49.378 124.131-115.865 133.728-66.487-9.598-115.837-66.555-115.866-133.728-.019-67.212 49.349-124.227 115.866-133.825 66.516 9.598 115.875 66.613 115.865 133.825z`,fill:`#f44335`}),V.createElement(`g`,{fill:`#fdd834`},V.createElement(`path`,{d:`M380.527 230.56h-26.649a8.208 8.208 0 0 1-8.4-7.242l-7.242-90.472c-.212-4.47 3.235-8.275 7.705-8.497.232-.01.463-.01.695 0h41.036a8.105 8.105 0 0 1 8.4 7.802c.01.232.01.463 0 .695l-7.242 90.472c-.501 4.181-4.093 7.319-8.303 7.242zM362.085 269.181h10.235c7.84 0 14.194 6.353 14.194 14.194v10.235c0 7.84-6.353 14.194-14.194 14.194h-10.235c-7.84 0-14.194-6.353-14.194-14.194v-10.235c.001-7.84 6.354-14.194 14.194-14.194z`})),V.createElement(`path`,{d:`M308.015 332.714a132.057 132.057 0 0 1-24.332-15.256 138.367 138.367 0 0 1-25.587-26.456 134.123 134.123 0 0 1-26.07-79.754 136.453 136.453 0 0 1 3.09-28.966 129.801 129.801 0 0 1 9.655-28.966c-24.428-39.201-50.691-78.113-85.547-108.334-2.607-2.221-5.214-4.442-7.917-6.566a161.051 161.051 0 0 0-14.387-10.621 80.965 80.965 0 0 0-13.807-7.145c1.641 7.338 3.476 14.773 4.731 22.208a180.355 180.355 0 0 1 2.993 26.939v7.145a192.012 192.012 0 0 1-60.829 139.521 202.647 202.647 0 0 0-43.836 52.719 149.063 149.063 0 0 0-6.566 120.017 152.006 152.006 0 0 0 22.208 40.167 164.926 164.926 0 0 0 106.21 61.891 86.874 86.874 0 0 1-44.801-32.249 51.315 51.315 0 0 1-3.669-5.6 77.46 77.46 0 0 1-6.469-13.325 79.464 79.464 0 0 1 3.766-63.726 111.914 111.914 0 0 1 23.463-28.387 101.983 101.983 0 0 0 32.442-74.25v-3.862a97.875 97.875 0 0 0-4.731-27.132 112.539 112.539 0 0 1 10.911 6.566 108.053 108.053 0 0 1 30.222 30.801 100.963 100.963 0 0 1 15.835 46.443v8.4a100.92 100.92 0 0 1-18.249 57.933c22.98 13.035 38.622-8.593 44.994-28.966a60.067 60.067 0 0 0 2.51-12.842 88.458 88.458 0 0 1 28.966 61.312v5.214c-2.704 33.678-25.346 62.451-57.45 72.995 73.353-11.789 128.717-72.889 133.245-147.053a131.977 131.977 0 0 1-30.994-10.815z`,fill:`#f57c00`}),V.createElement(`path`,{d:`M263.117 417.489v-5.214a88.462 88.462 0 0 0-28.966-61.312 60.129 60.129 0 0 1-2.51 12.842c-5.986 20.47-22.014 42.098-44.994 28.966a100.923 100.923 0 0 0 18.249-57.933v-.966-7.338a100.971 100.971 0 0 0-15.835-46.443 108.027 108.027 0 0 0-30.222-30.801 108.949 108.949 0 0 0-39.877-35.532 97.838 97.838 0 0 1 4.731 27.132v3.862a101.988 101.988 0 0 1-32.442 74.25 111.924 111.924 0 0 0-23.366 28.387 79.491 79.491 0 0 0-3.573 63.726 83.948 83.948 0 0 0 35.436 42.291 51.315 51.315 0 0 0 3.669 5.6 86.886 86.886 0 0 0 44.415 32.249 164.927 164.927 0 0 1-106.21-61.892 152.082 152.082 0 0 1-22.014-40.167 149.055 149.055 0 0 1 6.564-120.015 202.714 202.714 0 0 1 44.029-53.202A192.012 192.012 0 0 0 131.03 76.458v-7.145a180.486 180.486 0 0 0-2.993-26.939c-1.255-7.435-3.09-14.869-4.731-22.208a80.965 80.965 0 0 1 13.807 7.145 159.446 159.446 0 0 1 14.773 10.718c2.704 2.124 5.311 4.345 7.917 6.566 34.856 30.222 61.119 69.133 85.547 108.334a129.75 129.75 0 0 0-9.655 28.966 136.634 136.634 0 0 0-3.669 29.353 134.116 134.116 0 0 0 26.07 79.754 138.396 138.396 0 0 0 25.587 26.456 132.164 132.164 0 0 0 24.332 15.256 152.203 152.203 0 0 1-44.898 84.775z`,fill:`#ff9801`}),V.createElement(`path`,{d:`M147.831 500.912h-1.448c-61.756-8.7-113.963-50.15-136.432-108.334a158.725 158.725 0 0 1 7.338-127.355 212.528 212.528 0 0 1 45.96-55.809 181.787 181.787 0 0 0 57.933-132.473v-6.759a171.298 171.298 0 0 0-2.8-25.587c-.966-5.697-2.221-11.2-3.476-16.704l-1.159-5.117c-1.178-5.204 2.076-10.37 7.28-11.548a9.663 9.663 0 0 1 5.948.541 89.473 89.473 0 0 1 15.449 8.014 172.47 172.47 0 0 1 15.449 11.2c41.036 32.732 70.871 77.244 95.589 117.314a9.673 9.673 0 0 1 .483 9.655 121.056 121.056 0 0 0-9.655 26.842 128.158 128.158 0 0 0-2.607 26.456c.01 59.198 41.374 110.333 99.258 122.721a9.655 9.655 0 0 1 7.628 9.655c-3.186 77.244-61.216 141.742-141.163 156.129-5.253.927-10.254-2.588-11.181-7.84a9.65 9.65 0 0 1 6.353-10.795c29.99-9.8 50.517-37.492 51.174-69.037a67.618 67.618 0 0 0-14.387-40.746 56.78 56.78 0 0 1-24.139 31.091 33.122 33.122 0 0 1-33.408-1.448c-4.644-2.626-6.276-8.516-3.659-13.16.145-.261.299-.502.473-.743a91.187 91.187 0 0 0 16.511-52.429v-.772a90.743 90.743 0 0 0-14.58-48.277 98.107 98.107 0 0 0-19.311-21.532v9.945a111.13 111.13 0 0 1-35.436 81.299 103.445 103.445 0 0 0-21.532 25.78 69.873 69.873 0 0 0-3.09 56.002 76.304 76.304 0 0 0 49.533 44.512c5.33.801 9.009 5.774 8.207 11.104-.801 5.328-5.774 8.997-11.103 8.205zM137.113 39.478v1.738a188.136 188.136 0 0 1 3.09 28.194v7.435A200.926 200.926 0 0 1 76.38 223.318a192.998 192.998 0 0 0-42.098 50.498 139.414 139.414 0 0 0-6.469 111.907 148.682 148.682 0 0 0 65.561 76.568 89.522 89.522 0 0 1-15.159-49.726 91.25 91.25 0 0 1 9.655-40.167 119.46 119.46 0 0 1 25.394-31.091 92.026 92.026 0 0 0 29.449-67.588v-3.09a88.799 88.799 0 0 0-4.248-24.911 9.653 9.653 0 0 1 6.237-12.147 9.638 9.638 0 0 1 7.473.657 119.392 119.392 0 0 1 44.705 40.649 110.062 110.062 0 0 1 17.669 58.898v1.159a110.343 110.343 0 0 1-13.035 52.139 12.555 12.555 0 0 0 4.731-1.448c9.655-5.31 17.283-22.497 18.345-35.436.434-5.31 5.088-9.269 10.409-8.844a9.61 9.61 0 0 1 6.006 2.761 95.586 95.586 0 0 1 32.153 68.168 89.528 89.528 0 0 1-13.711 47.408 146.774 146.774 0 0 0 69.133-108.817c-62.77-17.37-106.22-74.492-106.21-139.618a146.655 146.655 0 0 1 3.283-30.994 139.876 139.876 0 0 1 8.497-26.263c-23.27-37.077-51.27-78.402-88.541-108.045a113.049 113.049 0 0 0-8.496-6.467z`}),V.createElement(`path`,{d:`M367.203 356.081a144.841 144.841 0 0 1-89.506-30.994 143.882 143.882 0 0 1-55.326-113.838 146.655 146.655 0 0 1 3.283-30.994 140.652 140.652 0 0 1 10.814-31.091c23.965-50.498 74.839-82.699 130.735-82.747 79.986.019 144.813 64.875 144.803 144.861a144.848 144.848 0 0 1-55.297 113.809 143.543 143.543 0 0 1-89.506 30.994zm0-270.353c-48.47.019-92.586 27.943-113.355 71.74a121.83 121.83 0 0 0-9.655 26.939 127.805 127.805 0 0 0-2.51 26.842c.01 59.198 41.374 110.333 99.258 122.721a125.763 125.763 0 0 0 26.263 2.8c69.326 0 125.521-56.195 125.521-125.521S436.519 85.728 367.203 85.728z`}),V.createElement(`path`,{d:`M380.527 240.215h-26.649c-9.279.097-17.109-6.894-18.056-16.125l-7.242-90.085a17.201 17.201 0 0 1 4.538-13.035 18.38 18.38 0 0 1 13.518-5.89h41.036a18.375 18.375 0 0 1 13.518 5.89 17.204 17.204 0 0 1 4.635 13.035l-7.242 90.472c-1.139 9.076-8.912 15.854-18.056 15.738zm-25.49-19.311h24.525l6.952-86.899h-38.622l7.145 86.899zM372.32 317.459h-10.235c-13.151-.048-23.801-10.698-23.849-23.849v-10.235c.048-13.151 10.698-23.801 23.849-23.849h10.138c13.189 0 23.888 10.66 23.946 23.849v10.138c0 13.18-10.669 23.888-23.849 23.946zm-10.138-38.622a4.635 4.635 0 0 0-4.538 4.538v10.138a4.635 4.635 0 0 0 4.538 4.538h10.138a4.635 4.635 0 0 0 4.538-4.538v-10.138a4.635 4.635 0 0 0-4.538-4.538h-10.138z`}))}function LN(e){return V.createElement(`svg`,{viewBox:`0 0 512.002 512.002`,...e},V.createElement(`path`,{d:`M481.929 324.35c0 65.951-53.464 119.415-119.415 119.415a111.938 111.938 0 0 1-17.059-1.279c-58.735-8.478-102.33-58.795-102.356-118.135-.017-59.375 43.595-109.742 102.356-118.221a125.333 125.333 0 0 1 17.059-1.194c65.951-.001 119.415 53.462 119.415 119.414z`,fill:`#c52828`}),V.createElement(`path`,{d:`M447.81 324.35c-.026 59.341-43.621 109.657-102.356 118.135-58.735-8.478-102.33-58.795-102.356-118.135-.017-59.375 43.595-109.742 102.356-118.221 58.77 8.487 102.373 58.846 102.356 118.221z`,fill:`#f44335`}),V.createElement(`g`,{fill:`#fdd834`},V.createElement(`path`,{d:`M374.285 341.409h-23.542a7.251 7.251 0 0 1-7.421-6.397l-6.397-79.923a7.174 7.174 0 0 1 6.807-7.506c.205-.009.409-.009.614 0h36.251a7.16 7.16 0 0 1 7.421 6.892c.009.205.009.409 0 .614l-6.397 79.923a7.249 7.249 0 0 1-7.336 6.397zM357.993 375.527h9.041c6.926 0 12.539 5.612 12.539 12.539v9.041c0 6.926-5.612 12.539-12.539 12.539h-9.041c-6.926 0-12.539-5.612-12.539-12.539v-9.041c0-6.926 5.621-12.539 12.539-12.539z`})),V.createElement(`path`,{d:`M318.415 435.235a153.553 153.553 0 0 1-19.192 22.859 157.081 157.081 0 0 1-50.154 33.095 159.575 159.575 0 0 1-61.413 12.283 149.268 149.268 0 0 1-20.556-1.365 155.17 155.17 0 0 1-40.857-10.833 156.698 156.698 0 0 1-84.017-82.311 152.753 152.753 0 0 1-12.368-60.219 150.27 150.27 0 0 1 17.059-69.005 752.602 752.602 0 0 1 42.648-68.237c15.268-22.774 29.513-46.145 44.013-69.346l34.119-54.504 7.335-11.771c4.504-7.353 14.117-9.656 21.469-5.143a15.525 15.525 0 0 1 5.143 5.143l34.716 55.869c-2.644 4.18-5.032 8.53-7.335 12.709a96.424 96.424 0 0 0-11.515 44.439 98.026 98.026 0 0 0 8.018 38.725 100.313 100.313 0 0 0 21.921 31.56 106.83 106.83 0 0 0 9.98 8.53 115.344 115.344 0 0 0-11.6 31.048 120.546 120.546 0 0 0-2.729 25.589c.041 48.9 29.878 92.828 75.315 110.885z`,fill:`#0377bc`}),V.createElement(`path`,{d:`M277.217 435.235a153.553 153.553 0 0 1-19.192 22.859 157.081 157.081 0 0 1-50.154 33.095 158.847 158.847 0 0 1-40.772 10.833 155.17 155.17 0 0 1-40.857-10.833 156.698 156.698 0 0 1-84.017-82.311 152.657 152.657 0 0 1-12.368-60.134 150.27 150.27 0 0 1 17.059-69.005 752.602 752.602 0 0 1 42.648-68.237c15.268-22.774 29.513-46.145 44.013-69.346l34.119-54.504c9.212 14.671 18.339 29.427 27.465 44.098-2.644 4.18-5.032 8.53-7.335 12.709a96.502 96.502 0 0 0-10.833 44.354 98.026 98.026 0 0 0 8.018 38.725 100.313 100.313 0 0 0 21.921 31.56 106.83 106.83 0 0 0 9.98 8.53 115.323 115.323 0 0 0-12.283 31.133 120.546 120.546 0 0 0-2.729 25.589c.043 48.9 29.88 92.828 75.317 110.885z`,fill:`#02a9f4`}),V.createElement(`path`,{d:`M411.388 144.545a477.911 477.911 0 0 0-27.636-43.842c-9.894-14.586-19.192-29.598-28.489-44.525L328.395 13.53c-3.037-4.708-9.323-6.065-14.031-3.028a10.259 10.259 0 0 0-3.028 3.028l-12.794 20.215-14.074 22.433c-9.297 14.927-18.595 29.939-28.489 44.525-6.994 10.236-13.989 20.471-20.301 31.133-2.644 4.18-5.032 8.53-7.335 12.709a96.502 96.502 0 0 0-10.833 44.354 98.758 98.758 0 0 0 29.939 70.284 106.83 106.83 0 0 0 9.98 8.53 119.423 119.423 0 0 1 84.017-60.902 114.9 114.9 0 0 1 21.068-1.877c5.186.009 10.372.324 15.524.938a119.369 119.369 0 0 1 39.578 12.539 96.462 96.462 0 0 0-6.228-73.866z`,fill:`#0377bc`}),V.createElement(`path`,{d:`M379.573 188.899a93.046 93.046 0 0 1-1.535 17.059 131.537 131.537 0 0 0-15.524-1.024 114.797 114.797 0 0 0-21.068 1.877 119.425 119.425 0 0 0-84.017 60.902 106.96 106.96 0 0 1-9.98-8.53c-31.099-29.743-38.878-76.417-19.106-114.638 2.303-4.35 4.691-8.53 7.335-12.709 6.312-10.662 13.306-20.898 20.301-31.133 9.894-14.586 19.192-29.598 28.489-44.525l14.074-22.433 14.074 22.433c9.297 14.927 18.595 29.939 28.489 44.525a477.911 477.911 0 0 1 27.636 43.842 96.401 96.401 0 0 1 10.832 44.354z`,fill:`#02a9f4`}),V.createElement(`path`,{d:`M187.656 512.002a167.398 167.398 0 0 1-64.655-12.88 165.226 165.226 0 0 1-88.623-86.746 160.466 160.466 0 0 1-13.05-63.631 158.81 158.81 0 0 1 17.656-72.928 698.388 698.388 0 0 1 39.663-63.887l3.412-5.032c12.027-17.998 23.627-36.677 34.886-54.76L167.1 71.531c6.986-11.353 21.861-14.893 33.214-7.898a24.1 24.1 0 0 1 7.898 7.898l17.059 27.38 17.827 28.404a8.521 8.521 0 0 1 0 9.383c-2.559 4.009-4.777 8.018-6.994 12.112a87.69 87.69 0 0 0-10.065 40.089 89.456 89.456 0 0 0 7.335 35.398 92.438 92.438 0 0 0 20.045 28.83 99.608 99.608 0 0 0 9.212 7.847 8.534 8.534 0 0 1 2.303 10.918 106.955 106.955 0 0 0-10.747 28.745 112.483 112.483 0 0 0-2.559 23.712c.009 45.429 27.721 86.26 69.943 103.038 4.393 1.706 6.559 6.653 4.853 11.046a8.584 8.584 0 0 1-.93 1.749 162.407 162.407 0 0 1-20.301 24.139 164.29 164.29 0 0 1-52.884 34.886 167.489 167.489 0 0 1-64.653 12.795zm0-435.012a6.99 6.99 0 0 0-6.056 3.412l-50.154 80.69c-11.344 18.168-23.03 37.019-35.227 55.187l-3.412 5.032a687.543 687.543 0 0 0-38.725 62.266 141.613 141.613 0 0 0-15.695 65.166 143.56 143.56 0 0 0 11.686 56.893 148.16 148.16 0 0 0 79.411 77.79 152.855 152.855 0 0 0 116.344 0 147.616 147.616 0 0 0 47.425-31.133 143.446 143.446 0 0 0 12.027-13.306c-43.322-21.802-70.668-66.139-70.711-114.638a129.576 129.576 0 0 1 2.9-27.38 124.357 124.357 0 0 1 9.212-26.954 136.293 136.293 0 0 1-5.203-4.691 109.87 109.87 0 0 1-23.798-34.119 106.411 106.411 0 0 1-8.53-42.136c0-16.803 4.035-33.359 11.771-48.278 1.621-3.071 3.241-5.971 4.862-8.53l-14.927-24.054-17.059-27.38a7.087 7.087 0 0 0-6.141-3.837z`}),V.createElement(`path`,{d:`M99.971 442.4A8.521 8.521 0 0 1 94 439.926a129.631 129.631 0 0 1-28.318-41.113 126.28 126.28 0 0 1-10.236-50.069 124.503 124.503 0 0 1 13.818-57.234c1.868-4.325 6.883-6.32 11.208-4.452s6.32 6.883 4.452 11.208c-.162.375-.35.742-.563 1.092a107.494 107.494 0 0 0-11.856 49.387 109.211 109.211 0 0 0 8.53 43.331 112.626 112.626 0 0 0 24.565 35.739c3.344 3.318 3.369 8.717.051 12.061a8.549 8.549 0 0 1-6.022 2.525l.342-.001zM257.428 276.242a8.526 8.526 0 0 1-5.118-1.706 115.222 115.222 0 0 1-10.747-9.212 109.87 109.87 0 0 1-23.798-34.119 106.411 106.411 0 0 1-8.53-42.136c0-16.803 4.035-33.359 11.771-48.278 2.559-4.862 5.118-9.212 7.677-13.306 6.312-10.662 13.392-21.068 20.386-31.218 9.041-13.903 17.912-27.807 26.442-41.881L304 8.753c5.485-8.734 17.017-11.379 25.751-5.894a18.698 18.698 0 0 1 5.894 5.894l28.574 45.634c8.53 13.733 17.059 27.977 26.612 41.539l1.706 2.474a457.473 457.473 0 0 1 26.442 42.136 104.968 104.968 0 0 1 6.824 80.434c-1.433 4.487-6.235 6.969-10.722 5.536a8.282 8.282 0 0 1-1.39-.589 112.612 112.612 0 0 0-106.535 2.388 110.28 110.28 0 0 0-42.136 43.416 8.52 8.52 0 0 1-5.715 4.265l-1.877.256zm62.437-258.959a1.541 1.541 0 0 0-1.365.768l-28.489 45.378c-8.53 13.903-17.571 28.233-26.954 42.051-6.909 10.065-13.903 20.301-20.045 30.707-2.644 4.18-4.947 8.53-7.165 12.368a87.722 87.722 0 0 0-9.809 40.345 89.456 89.456 0 0 0 7.335 35.398 92.438 92.438 0 0 0 20.045 28.83l1.791 1.706a127.216 127.216 0 0 1 43.331-41.369 129.73 129.73 0 0 1 113.359-7.25 87.904 87.904 0 0 0-8.53-57.831 444.102 444.102 0 0 0-25.589-40.516l-1.706-2.474c-9.383-13.818-18.339-28.148-26.954-42.051L321.23 18.05a1.532 1.532 0 0 0-1.365-.767z`}),V.createElement(`path`,{d:`M271.246 243.233a8.519 8.519 0 0 1-5.971-2.388 75.502 75.502 0 0 1-16.292-23.456 71.923 71.923 0 0 1-5.885-28.489 70.537 70.537 0 0 1 7.933-32.498c1.877-3.582 4.009-7.25 6.227-10.833l.512-.768a8.538 8.538 0 0 1 11.609-3.284 8.538 8.538 0 0 1 3.284 11.609 6.997 6.997 0 0 1-.392.631l-.512.853c-2.132 3.327-3.924 6.568-5.63 9.724a53.307 53.307 0 0 0-5.971 24.565 54.816 54.816 0 0 0 4.435 21.665 58.198 58.198 0 0 0 12.624 18.083c3.395 3.267 3.489 8.666.222 12.061a8.518 8.518 0 0 1-6.193 2.61v-.085z`}),V.createElement(`path`,{d:`M362.514 452.294c-70.66 0-127.945-57.285-127.945-127.945a129.576 129.576 0 0 1 2.9-27.38 123.98 123.98 0 0 1 12.453-33.351 127.15 127.15 0 0 1 48.619-50.154c37.94-21.495 84.136-22.518 122.997-2.729 62.744 32.489 87.275 109.7 54.777 172.452-22.005 42.512-65.916 69.184-113.801 69.107zm0-238.83c-40.763.009-78.234 22.382-97.579 58.257a107.238 107.238 0 0 0-10.747 28.83 112.818 112.818 0 0 0-2.559 23.798c0 61.243 49.643 110.885 110.885 110.885s110.885-49.642 110.885-110.885-49.643-110.885-110.885-110.885z`}),V.createElement(`path`,{d:`M374.285 349.939h-23.542c-8.231.085-15.157-6.141-15.95-14.33l-6.397-79.496a15.26 15.26 0 0 1 4.009-11.515 16.312 16.312 0 0 1 11.942-5.203h36.251a16.31 16.31 0 0 1 11.941 5.203 15.27 15.27 0 0 1 4.094 11.515l-6.397 79.923c-.999 8.026-7.865 14.013-15.951 13.903zm-22.519-17.06h21.665l6.141-76.767h-34.119l6.313 76.767zM367.034 418.176h-9.041c-11.617-.043-21.026-9.451-21.068-21.068v-9.041c.043-11.617 9.451-21.026 21.068-21.068h8.956c11.651 0 21.102 9.417 21.153 21.068v8.956c.001 11.651-9.416 21.11-21.068 21.153zm-8.956-34.119a4.095 4.095 0 0 0-4.009 4.009v8.956a4.095 4.095 0 0 0 4.009 4.009h8.956a4.095 4.095 0 0 0 4.009-4.009v-8.956a4.095 4.095 0 0 0-4.009-4.009h-8.956z`}))}function RN(e){return V.createElement(`svg`,{viewBox:`0 0 512 512`,...e},V.createElement(`path`,{fill:`currentColor`,d:`M462,226c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.52,0,10-4.48,10-10S467.52,226,462,226z`}),V.createElement(`path`,{fill:`currentColor`,d:`M50,226c-5.52,0-10,4.48-10,10s4.48,10,10,10s10-4.48,10-10S55.52,226,50,226z`}),V.createElement(`path`,{fill:`currentColor`,d:`M502,126h-0.027C508.265,117.637,512,107.248,512,96c0-27.57-22.43-50-50-50s-50,22.43-50,50
|
|
656
|
+
c0,11.248,3.735,21.637,10.027,30H422c-5.522,0-10,4.478-10,10v50.03c-7.399,0.025-17.158,0.065-23,0.113V166.63
|
|
657
|
+
c0-5.522-4.478-10-10-10c-5.522,0-10,4.478-10,10v12.435c-0.931-0.964-1.899-2.045-2.923-3.258
|
|
658
|
+
c-10.745-12.754-24.515-23.761-40.077-32.106V121.83c0-5.522-4.478-10-10-10c-5.522,0-10,4.478-10,10v12.983
|
|
659
|
+
c-12.92-4.643-26.438-7.5-40-8.448V96c0-5.522-4.478-10-10-10c-5.522,0-10,4.478-10,10v30.365
|
|
660
|
+
c-13.565,0.948-27.084,3.807-40,8.452V120.17c0-5.522-4.477-10-10-10s-10,4.478-10,10v23.542
|
|
661
|
+
c-15.764,8.457-29.695,19.652-40.55,32.652c-0.758,0.908-1.587,1.755-2.45,2.566v-12.3c0-5.522-4.477-10-10-10s-10,4.478-10,10
|
|
662
|
+
v20.385c-4.189,0.067-14.913,0.05-23,0.024V136c0-5.522-4.477-10-10-10h-0.027C96.265,117.637,100,107.248,100,96
|
|
663
|
+
c0-27.57-22.43-50-50-50S0,68.43,0,96c0,11.248,3.735,21.637,10.027,30H10c-5.523,0-10,4.478-10,10v320c0,5.522,4.477,10,10,10h80
|
|
664
|
+
c5.523,0,10-4.478,10-10v-11h312v11c0,5.522,4.478,10,10,10h80c5.522,0,10-4.478,10-10V136C512,130.478,507.522,126,502,126z
|
|
665
|
+
M80,446H20V146h20v50c0,5.522,4.477,10,10,10s10-4.478,10-10v-50h20V446z M50,126c-16.542,0-30-13.458-30-30s13.458-30,30-30
|
|
666
|
+
s30,13.458,30,30S66.542,126,50,126z M123,425h-23v-19h23V425z M123,386h-23V247h23V386z M123,227h-23v-19.959
|
|
667
|
+
c3.808,0.011,8.197,0.022,12.244,0.022c4.378,0,8.351-0.012,10.756-0.046V227z M186,425h-43v-19h43V425z M186,276v40v70h-43
|
|
668
|
+
V244.817c16.149-3.513,31.29-11.046,43-21.321V276z M186,194.605c-2.373,2.327-4.659,4.785-6.815,7.365
|
|
669
|
+
c-8.521,10.2-21.771,18.214-36.185,22.224v-21.525c6.846-3.098,13.007-7.736,17.806-13.49c7.006-8.391,15.56-15.917,25.194-22.232
|
|
670
|
+
V194.605z M206,156.285c12.757-5.415,26.344-8.765,40-9.871v20.099c-14.162,1.416-27.777,5.83-40,12.895V156.285z M206,203.562
|
|
671
|
+
c11.538-9.26,25.37-15.088,40-16.922V266h-40V203.562z M246,425h-40v-19h40V425z M246,386h-40v-60h40V386z M306,425h-40v-19h40
|
|
672
|
+
V425z M306,386h-40v-60h40V386z M306,306H206v-20h100V306z M306,266h-40v-79.359c14.617,1.835,28.449,7.664,40,16.924V266z
|
|
673
|
+
M306,179.418c-12.232-7.071-25.847-11.487-40-12.904v-20.1c13.651,1.106,27.238,4.454,40,9.865V179.418z M369,425h-43v-19h43V425
|
|
674
|
+
z M369,386h-43v-70v-40v-52.635c11.722,10.137,26.674,17.329,43,20.634V386z M369,223.458
|
|
675
|
+
c-14.663-3.788-27.83-11.575-36.517-21.887c-2.039-2.417-4.216-4.742-6.483-6.965v-27.672c9.465,6.201,17.88,13.567,24.789,21.767
|
|
676
|
+
c4.64,5.496,10.324,11.234,18.211,14.57V223.458z M412,425h-23v-19h23V425z M412,386h-23V246h23V386z M412,226h-23v-19.856
|
|
677
|
+
c5.683-0.048,15.526-0.088,23-0.113V226z M492,446h-60V146h20v50c0,5.522,4.478,10,10,10c5.522,0,10-4.478,10-10v-50h20V446z
|
|
678
|
+
M462,126c-16.542,0-30-13.458-30-30s13.458-30,30-30s30,13.458,30,30S478.542,126,462,126z`}))}function zN(e){return V.createElement(`svg`,{viewBox:`0 0 511.448 511.448`,...e},V.createElement(`path`,{d:`M344.556 112.216C318.38 78.84 291.34 44.344 269.516 7.32c-5.76-9.76-21.824-9.76-27.552 0-21.856 37.024-48.896 71.52-75.072 104.896-53.056 67.68-103.168 131.616-103.168 207.232 0 105.888 86.112 192 192 192s192-86.112 192-192c0-75.616-50.112-139.552-103.168-207.232z`,fill:`#2196f3`}),V.createElement(`g`,{fill:`#fafafa`},V.createElement(`path`,{d:`M207.724 287.448c-26.464 0-48-21.536-48-48s21.536-48 48-48 48 21.536 48 48-21.536 48-48 48zm0-64c-8.832 0-16 7.168-16 16s7.168 16 16 16 16-7.168 16-16-7.168-16-16-16zM303.724 447.448c-26.464 0-48-21.536-48-48s21.536-48 48-48 48 21.536 48 48-21.536 48-48 48zm0-64c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16zM175.724 415.448a16.07 16.07 0 0 1-11.328-4.672c-6.24-6.24-6.24-16.384 0-22.624l160-160c6.24-6.24 16.384-6.24 22.624 0s6.24 16.384 0 22.624l-160 160a15.943 15.943 0 0 1-11.296 4.672z`})))}function BN(e){return V.createElement(`svg`,{viewBox:`0 0 508.16 508.16`,...e},V.createElement(`path`,{d:`M504.18 13.67a3.924 3.924 0 0 0-.42.02H4a4 4 0 0 0-4 4v47.28a4 4 0 0 0 4 4h19.72l-13.44 42.04a4 4 0 0 0 3.8 5.24h9.64l-13.44 42.04a4 4 0 0 0 3.8 5.24h9.64l-13.44 42.04a4 4 0 0 0 3.8 5.24h9.64l-13.44 42.04a4 4 0 0 0 3.8 5.24h9.64l-13.44 42.08a4 4 0 0 0 .56 3.56 4 4 0 0 0 3.24 1.64h9.64l-13.44 42.08a4 4 0 0 0 .56 3.56 4 4 0 0 0 3.24 1.64h9.64l-13.44 42.08a4 4 0 0 0 .56 3.56 4 4 0 0 0 3.24 1.64h9.64l-13.44 42.16a4 4 0 0 0 .56 3.56 4 4 0 0 0 3.24 1.64h9.64l-13.44 42a4 4 0 0 0 .56 3.56 4 4 0 0 0 3.24 1.64h479.8a4 4 0 0 0 3.24-1.64 4 4 0 0 0 .56-3.56l-13.44-42.08h9.64a4 4 0 0 0 3.24-1.64 4 4 0 0 0 .56-3.56l-13.44-42.08h9.64a4 4 0 0 0 3.24-1.64 4 4 0 0 0 .56-3.56l-13.44-42.08h9.64a4 4 0 0 0 3.24-1.64 4 4 0 0 0 .56-3.56l-13.44-42.08h9.64a4 4 0 0 0 3.24-1.64 4 4 0 0 0 .56-3.56l-13.64-42.08h9.84a4 4 0 0 0 4-5.24l-13.44-42.04h9.44a4 4 0 0 0 4-5.24l-13.44-42.04h9.44a4 4 0 0 0 4-5.24l-13.44-42.04h9.44a4 4 0 0 0 4-5.24l-13.44-42.04h19.72a4 4 0 0 0 4-4V17.69a4 4 0 0 0-3.98-4.02zM99.08 486.49H19.56l12.56-39.28h66.96v39.28zm0-47.28H19.56l12.56-39.28h66.96v39.28zm0-47.28H19.56l12.56-39.28h66.96v39.28zm0-47.28H19.56l12.56-39.28h66.96v39.28zm0-47.28H19.56l12.56-39.28h66.96v39.28zm0-47.28H19.56l12.56-39.28h66.96v39.28zm0-47.28H19.56l12.56-39.28h66.96v39.28zm0-47.28H19.56l12.56-39.28h66.96v39.28zm0-47.28H19.56l12.56-39.28h66.96v39.28zm26.8 378.24h-18.8v-39.28h18.8v39.28zm0-47.28h-18.8v-39.28h18.8v39.28zm0-47.28h-18.8v-39.28h18.8v39.28zm0-47.28h-18.8v-39.28h18.8v39.28zm0-47.28h-18.8v-39.28h18.8v39.28zm0-47.28h-18.8v-39.28h18.8v39.28zm0-47.28h-18.8v-39.28h18.8v39.28zm0-47.28h-18.8v-39.28h18.8v39.28zm.16-47.28h-18.96V68.97h18.96v39.28zm247.84 378.24h-240v-39.28h240v39.28zm-240-47.28v-39.28h239.68v39.28H133.88zm240-47.28h-240v-39.28h240v39.28zm0-47.28h-240v-39.28h240v39.28zm0-47.28h-240v-39.28h240v39.28zm0-47.28h-240v-39.28h240v39.28zm0-47.28h-240v-39.28h240v39.28zm0-47.28h-240v-39.28h240v39.28zm-240-47.28V68.97h239.84v39.28H133.88zm266.64 378.24h-18.64l-.32-39.28h18.96v39.28zm0-47.28h-18.96v-39.28h18.96v39.28zm0-47.28h-18.96v-39.28h18.96v39.28zm0-47.28h-18.96v-39.28h18.96v39.28zm.32-47.28h-18.96v-39.28h18.96v39.28zm0-47.28h-18.96v-39.28h18.96v39.28zm0-47.28h-18.96v-39.28h18.96v39.28zm0-47.28h-18.96v-39.28h18.96v39.28zm-18.96-47.28V68.97h18.8v39.28h-18.8zm63.56 8v39.28h-36.92v-39.28h36.92zm-36.76-8V68.97h36.92v39.28h-36.92zm36.76 55.28v39.28h-36.92v-39.28h36.92zm0 47.28v39.28h-36.92v-39.28h36.92zm0 47.28v39.28h-36.92v-39.28h36.92zm0 47.28v39.28h-36.76l-.16-39.28h36.92zm42.68 181.12h-79.44v-39.28h66.96l12.48 39.28zm0-47.28h-79.44v-39.28h66.96l12.48 39.28zm0-47.28h-79.44v-39.28h36.92v17.44a4 4 0 0 0 8 0v-17.44h22.04l12.48 39.28zm0-47.28h-34.6v-39.28h22.04l12.56 39.28zm0-47.28h-34.6v-39.28h22.04l12.56 39.28zm0-47.28h-34.6v-39.28h22.04l12.56 39.28zm0-47.28h-34.6v-39.28h22.04l12.56 39.28zm0-47.28h-34.6v-39.28h22.04l12.56 39.28zm0-47.28h-34.6V68.97h22.04l12.56 39.28zm11.56-47.28H8V21.69h491.76l-.08 39.28z`,fill:`currentColor`}),V.createElement(`path`,{d:`M454.32 37.33h-13.76a4 4 0 0 0 0 8h13.76a4 4 0 0 0 0-8zM414.84 37.33h-96a4 4 0 0 0 0 8h96a4 4 0 0 0 0-8z`,fill:`currentColor`}))}function VN(e){return V.createElement(`svg`,{viewBox:`0 0 63.907 63.907`,fill:`currentColor`,...e},V.createElement(`circle`,{fill:`currentColor`,cx:30.515,cy:6.136,r:6.136}),V.createElement(`path`,{fill:`currentColor`,d:`M47.399 27.455C42.346 24.53 38.2 20.579 34.71 15.931c-2.193-3.084-7.991-2.923-10.347-.097-3.584 3.487-6.625 7.081-9.037 10.677a3.209 3.209 0 0 0 5.329 3.573 54.205 54.205 0 0 1 3.59-4.734c-.051 3.333.116 9.347.2 12.05.028.9-.177 1.78-.595 2.579-3.308 6.317-5.424 12.294-7.572 19.606a3.37 3.37 0 1 0 6.465 1.901c1.982-6.742 3.897-12.201 6.884-17.981.152.006.304.006.458-.001 1.907 5.69 3.815 11.383 5.725 17.073 1.387 4.147 7.822 1.993 6.431-2.155-2.087-6.221-4.171-12.439-6.251-18.659-.121-.357-.414-1.755-.455-2.211-.344-3.832-.469-7.652-.432-11.477a51.027 51.027 0 0 0 9.782 7.328c3.597 2.088 6.063-3.891 2.514-5.948z`}))}function HN(e){return V.createElement(`svg`,{viewBox:`0 0 285 285`,...e},V.createElement(`g`,null,V.createElement(`path`,{fill:`currentColor`,d:`M88.4,87.996c2.525-2.146,2.832-5.933,0.687-8.458C82.801,72.144,79.34,62.719,79.34,53c0-22.607,18.393-41,41-41
|
|
679
|
+
c22.607,0,41,18.393,41,41c0,9.729-3.467,19.161-9.761,26.557c-2.148,2.523-1.843,6.311,0.681,8.458
|
|
680
|
+
c1.129,0.961,2.511,1.431,3.886,1.431c1.698,0,3.386-0.717,4.572-2.111C168.858,77.77,173.34,65.576,173.34,53
|
|
681
|
+
c0-29.225-23.775-53-53-53c-29.225,0-53,23.775-53,53c0,12.563,4.476,24.748,12.602,34.31C82.089,89.835,85.873,90.141,88.4,87.996
|
|
682
|
+
z`}),V.createElement(`path`,{fill:`currentColor`,d:`M120.186,41.201c13.228,0,23.812,8.105,27.313,19.879c0.761-2.562,1.176-5.271,1.176-8.08
|
|
683
|
+
c0-15.649-12.685-28.335-28.335-28.335c-15.648,0-28.334,12.686-28.334,28.335c0,2.623,0.364,5.16,1.031,7.571
|
|
684
|
+
C96.691,49.076,107.152,41.201,120.186,41.201z`}),V.createElement(`path`,{fill:`currentColor`,d:`M234.21,169.856c-3.769-22.452-19.597-26.04-27.034-26.462c-2.342-0.133-4.516-1.32-5.801-3.282
|
|
685
|
+
c-5.388-8.225-12.609-10.4-18.742-10.4c-4.405,0-8.249,1.122-10.449,1.932c-0.275,0.102-0.559,0.15-0.837,0.15
|
|
686
|
+
c-0.87,0-1.701-0.47-2.163-1.262c-5.472-9.387-13.252-11.809-19.822-11.809c-3.824,0-7.237,0.82-9.548,1.564
|
|
687
|
+
c-0.241,0.077-0.764,0.114-1.001,0.114c-1.256,0-2.637-1.03-2.637-2.376V69.753c0-11.035-8.224-16.552-16.5-16.552
|
|
688
|
+
c-8.276,0-16.5,5.517-16.5,16.552v84.912c0,4.989-3.811,8.074-7.918,8.074c-2.495,0-4.899-1.138-6.552-3.678l-7.937-12.281
|
|
689
|
+
c-3.508-5.788-8.576-8.188-13.625-8.189c-11.412-0.001-22.574,12.258-14.644,25.344l62.491,119.692
|
|
690
|
+
c0.408,0.782,1.225,1.373,2.108,1.373h87.757c1.253,0,2.289-1.075,2.365-2.325l2.196-35.816c0.025-0.413,0.162-0.84,0.39-1.186
|
|
691
|
+
C231.591,212.679,237.828,191.414,234.21,169.856z`})))}function UN(e){return V.createElement(`svg`,{viewBox:`1 -10 511.99999 511`,...e},V.createElement(`g`,{fill:`currentColor`},V.createElement(`path`,{d:`M 405.5 150 C 405.5 232.566406 338.566406 299.5 256 299.5 C 173.433594 299.5 106.5 232.566406 106.5 150 C 106.5 67.433594 173.433594 0.5 256 0.5 C 338.566406 0.5 405.5 67.433594 405.5 150 Z M 405.5 150 `,style:{stroke:`none`,fillRule:`nonzero`,fill:`rgb(25.882353%,75.294118%,88.627451%)`,fillOpacity:1}}),V.createElement(`path`,{d:`M 512 342.921875 C 512 425.488281 445.066406 492.421875 362.5 492.421875 C 279.933594 492.421875 213 425.488281 213 342.921875 C 213 260.355469 279.933594 193.421875 362.5 193.421875 C 445.066406 193.421875 512 260.355469 512 342.921875 Z M 512 342.921875 `,style:{stroke:`none`,fillRule:`nonzero`,fill:`rgb(100%,81.568627%,38.039216%)`,fillOpacity:1}}),V.createElement(`path`,{d:`M 220.746094 295.308594 C 232.050781 298.039062 243.855469 299.5 256 299.5 C 321.917969 299.5 377.871094 256.835938 397.753906 197.613281 C 386.449219 194.878906 374.644531 193.421875 362.5 193.421875 C 296.582031 193.421875 240.628906 236.085938 220.746094 295.308594 Z M 220.746094 295.308594 `,style:{stroke:`none`,fillRule:`nonzero`,fill:`rgb(28.627451%,74.117647%,56.470588%)`,fillOpacity:1}}),V.createElement(`path`,{d:`M 299 342.921875 C 299 425.488281 232.066406 492.421875 149.5 492.421875 C 66.933594 492.421875 0 425.488281 0 342.921875 C 0 260.355469 66.933594 193.421875 149.5 193.421875 C 232.066406 193.421875 299 260.355469 299 342.921875 Z M 299 342.921875 `,style:{stroke:`none`,fillRule:`nonzero`,fill:`rgb(98.039216%,43.921569%,69.803922%)`,fillOpacity:1}}),V.createElement(`path`,{d:`M 114.246094 197.613281 C 134.128906 256.835938 190.082031 299.5 256 299.5 C 268.144531 299.5 279.949219 298.039062 291.253906 295.308594 C 271.371094 236.085938 215.417969 193.421875 149.5 193.421875 C 137.355469 193.421875 125.550781 194.878906 114.246094 197.613281 Z M 114.246094 197.613281 `,style:{stroke:`none`,fillRule:`nonzero`,fill:`rgb(68.627451%,48.235294%,77.647059%)`,fillOpacity:1}}),V.createElement(`path`,{d:`M 213 342.921875 C 213 383.800781 229.414062 420.839844 256 447.828125 C 282.585938 420.839844 299 383.800781 299 342.921875 C 299 302.042969 282.585938 265.003906 256 238.015625 C 229.414062 265.003906 213 302.042969 213 342.921875 Z M 213 342.921875 `,style:{stroke:`none`,fillRule:`nonzero`,fill:`rgb(93.72549%,38.039216%,13.333333%)`,fillOpacity:1}}),V.createElement(`path`,{d:`M 291.253906 295.320312 C 279.949219 298.046875 268.140625 299.5 256 299.5 C 243.859375 299.5 232.050781 298.046875 220.746094 295.320312 C 228.058594 273.542969 240.242188 254.015625 256 238.015625 C 271.757812 254.015625 283.941406 273.542969 291.253906 295.320312 Z M 291.253906 295.320312 `,style:{stroke:`none`,fillRule:`nonzero`,fill:`rgb(100%,100%,100%)`,fillOpacity:1}})))}function WN(e){return V.createElement(`svg`,{width:32,height:32,viewBox:`0 0 365.445 365.445`,...e},V.createElement(`g`,{fill:`currentColor`},V.createElement(`path`,{d:`M146.7 162.775h-26.8a6.655 6.655 0 0 0-6.647 6.647v26.602a6.653 6.653 0 0 0 6.647 6.646h26.8a6.654 6.654 0 0 0 6.647-6.646v-26.602a6.655 6.655 0 0 0-6.647-6.647zM245.547 162.775h-26.801a6.653 6.653 0 0 0-6.646 6.647v26.602a6.652 6.652 0 0 0 6.646 6.646h26.801a6.654 6.654 0 0 0 6.646-6.646v-26.602a6.655 6.655 0 0 0-6.646-6.647z`})),V.createElement(`path`,{d:`M345.445 1.204H20c-11.046 0-20 8.954-20 20v323.037c0 11.045 8.954 20 20 20h325.445c11.045 0 20-8.955 20-20V21.204c0-11.045-8.953-20-20-20zM182.723 287.66c-57.955 0-104.937-46.981-104.937-104.937 0-57.957 46.982-104.938 104.937-104.938S287.66 124.767 287.66 182.723 240.678 287.66 182.723 287.66z`,fill:`currentColor`}))}function GN(e){return V.createElement(`svg`,{width:32,height:32,viewBox:`0 0 45.659 45.659`,...e},V.createElement(`path`,{fill:`currentColor`,d:`M30.619 27.309V7.781C30.619 3.49 27.124 0 22.833 0c-4.29 0-7.785 3.491-7.785 7.78v19.528a10.722 10.722 0 0 0-3.05 7.522c0 5.972 4.857 10.828 10.829 10.828 5.97 0 10.834-4.856 10.834-10.828 0-2.918-1.141-5.572-3.042-7.521zM22.825 42.66c-4.316 0-7.824-3.512-7.824-7.828 0-2.527 1.174-4.779 3.077-6.211V16.237h3.372c.552 0 1-.47 1-1.022 0-.553-.448-1.021-1-1.021h-3.372v-2.466h3.372c.552 0 1-.434 1-.986a.989.989 0 0 0-1-.986h-3.372V7.78c0-2.636 2.119-4.78 4.754-4.78 2.637 0 4.756 2.144 4.756 4.781v20.871c1.903 1.434 3.047 3.671 3.047 6.18 0 4.316-3.494 7.828-7.81 7.828z`}),V.createElement(`path`,{fill:`currentColor`,d:`M25.334 30.463V18.632h-5.002v11.831a4.973 4.973 0 0 0-2.537 4.369 5.038 5.038 0 0 0 5.038 5.046 5.034 5.034 0 0 0 5.034-5.046c0-1.866-.982-3.495-2.533-4.369z`}))}function KN(e){return V.createElement(`svg`,{viewBox:`0 0 297 297`,...e},V.createElement(`g`,null,V.createElement(`path`,{fill:`currentColor`,d:`m243.404,138.042c-5.775,0-10.458,4.683-10.458,10.458 0,46.564-37.883,84.446-84.446,84.446s-84.446-37.882-84.446-84.446 37.883-84.446 84.446-84.446c5.775,0 10.458-4.683 10.458-10.458s-4.683-10.457-10.458-10.457c-58.097,0-105.361,47.265-105.361,105.361s47.264,105.361 105.361,105.361 105.361-47.264 105.361-105.361c0-5.775-4.681-10.458-10.457-10.458z`}),V.createElement(`path`,{fill:`currentColor`,d:`m142.963,121.344l-20.272-30.41c-3.203-4.807-9.695-6.104-14.502-2.9-4.805,3.202-6.104,9.695-2.9,14.502l20.279,30.422c-3.015,4.436-4.78,9.787-4.78,15.543 0,15.281 12.432,27.713 27.713,27.713 15.281,0 27.713-12.432 27.713-27.713 0-15.281-12.432-27.713-27.713-27.713-1.897-0.001-3.749,0.191-5.538,0.556zm12.335,27.156c0,3.748-3.05,6.798-6.798,6.798s-6.798-3.05-6.798-6.798 3.05-6.798 6.798-6.798 6.798,3.05 6.798,6.798z`}),V.createElement(`path`,{fill:`currentColor`,d:`M148.5,0C66.617,0,0,66.617,0,148.5S66.617,297,148.5,297S297,230.383,297,148.5S230.383,0,148.5,0z M158.958,275.653 v-6.366c0-5.775-4.683-10.458-10.458-10.458c-5.775,0-10.458,4.683-10.458,10.458v6.366 c-62.027-5.056-111.64-54.668-116.695-116.695h6.366c5.775,0,10.458-4.683,10.458-10.458s-4.683-10.458-10.458-10.458h-6.366 c5.056-62.027,54.668-111.64,116.695-116.695v6.366c0,5.775,4.683,10.458,10.458,10.458c5.775,0,10.458-4.683,10.458-10.458v-6.366 c62.027,5.056,111.64,54.668,116.695,116.695h-6.366c-5.775,0-10.458,4.683-10.458,10.458s4.683,10.458,10.458,10.458h6.366 C270.598,220.985,220.985,270.598,158.958,275.653z`})))}function qN(e){return V.createElement(`svg`,{viewBox:`0 0 361 361`,...e},V.createElement(`path`,{d:`M267.826 263.303c0 3.91-3.156 7.082-7.05 7.082l-157.885.021c-3.894 0-7.05-3.171-7.05-7.083v-157.5c0-3.911 3.156-7.083 7.05-7.083l157.885-.021c3.894 0 7.05 3.172 7.05 7.083v157.501z`,fill:`none`,stroke:`currentColor`,strokeWidth:10,strokeMiterlimit:10}),V.createElement(`path`,{d:`M228.5 205.584h6.639c2.726 0 5-2.274 5-5s-2.274-5-5-5H228.5c-2.726 0-5 2.274-5 5s2.274 5 5 5z`,fill:`currentColor`}),V.createElement(`path`,{d:`M267.826 103.208c0 2.485-2.711 4.5-6.053 4.5l-159.88.021c-3.342 0-6.052-2.015-6.052-4.5v-9c0-2.485 2.71-4.5 6.052-4.5l159.88-.021c3.342 0 6.053 2.015 6.053 4.5v9z`,fill:`none`,stroke:`currentColor`,strokeWidth:10,strokeMiterlimit:10}),V.createElement(`path`,{d:`M232.826 280.905c-.339 3.356-18.813-.782-20.919-1.06l-45.073-5.94-45.074-5.94-14.507-1.912c-1.456-.192-6.201-.055-6.412-2.147-.621-6.157 0-12.699 0-18.878v-43.5-82.076-5.13c0-2.551 5.184-1.015 6.412-.853l35.438 4.67 83.723 11.035c1.457.192 6.201.055 6.412 2.147.169 1.673 0 3.451 0 5.13v144.454c0 6.448 10 6.448 10 0V136.451v-5.13c0-7.619-6.137-10.793-12.673-11.655l-28.531-3.76-88.411-11.652-9.897-1.304c-6.555-.864-12.473 4.9-12.473 11.38v144.832c0 2.023-.071 4.04.132 6.053.717 7.111 6.606 9.563 12.759 10.374l76.827 10.125 39.896 5.259 9.697 1.278c7.063.931 12.011-4.778 12.673-11.346.648-6.415-9.358-6.352-9.999 0z`,fill:`currentColor`}))}function JN(e){return V.createElement(`svg`,{width:361,height:361,viewBox:`0 0 361 361`,...e},V.createElement(`path`,{d:`M267.826 263.303c0 3.91-3.156 7.082-7.05 7.082l-157.885.021c-3.894 0-7.05-3.171-7.05-7.083v-157.5c0-3.911 3.156-7.083 7.05-7.083l157.885-.021c3.894 0 7.05 3.172 7.05 7.083v157.501z`,fill:`none`,stroke:`currentColor`,strokeWidth:10,strokeMiterlimit:10}),V.createElement(`path`,{d:`M267.826 103.208c0 2.485-2.711 4.5-6.053 4.5l-159.88.021c-3.342 0-6.052-2.015-6.052-4.5v-9c0-2.485 2.71-4.5 6.052-4.5l159.88-.021c3.342 0 6.053 2.015 6.053 4.5v9zM265.732 265.178c.584 2.887-1.629 5.228-4.942 5.228H103.457c-3.313 0-6.474-2.341-7.058-5.228L75.24 130.633c-.584-2.887 1.628-5.228 4.942-5.228h157.333c3.313 0 6.474 2.34 7.058 5.228l21.159 134.545z`,fill:`none`,stroke:`currentColor`,strokeWidth:10,strokeMiterlimit:10}),V.createElement(`path`,{d:`M247.194 199.667h6.639c2.726 0 5-2.274 5-5s-2.274-5-5-5h-6.639c-2.726 0-5 2.274-5 5s2.275 5 5 5z`,fill:`currentColor`}))}var YN={[$.Types.airCondition]:uN,[$.Types.airPurifier]:NN,[$.Types.airQuality]:_N,[$.Types.blind]:BN,[$.Types.blindButtons]:BN,[$.Types.button]:HN,[$.Types.buttonSensor]:CN,[$.Types.camera]:$M,[$.Types.chart]:QM,[$.Types.coAlarm]:AN,[$.Types.contact]:ON,[$.Types.image]:lN,[$.Types.dimmer]:dN,[$.Types.door]:FN,[$.Types.electricity]:fN,[$.Types.fan]:jN,[$.Types.fillLevel]:kN,[$.Types.fireAlarm]:IN,[$.Types.floodAlarm]:LN,[$.Types.flow]:TN,[$.Types.gate]:RN,[$.Types.humidity]:zN,[$.Types.illuminance]:wN,[$.Types.info]:cN,[$.Types.light]:sN,[$.Types.lock]:oN,[$.Types.location]:rN,[$.Types.locationOne]:xN,[$.Types.media]:iN,[$.Types.motion]:VN,[$.Types.ct]:hN,[$.Types.percentage]:aN,[$.Types.pressure]:EN,[$.Types.pump]:DN,[$.Types.rgb]:UN,[$.Types.rgbSingle]:UN,[$.Types.rgbwSingle]:MN,[$.Types.hue]:hN,[$.Types.cie]:UN,[$.Types.slider]:aN,[$.Types.socket]:WN,[$.Types.temperature]:GN,[$.Types.thermostat]:KN,[$.Types.vacuumCleaner]:PN,[$.Types.volume]:nN,[$.Types.volumeGroup]:tN,[$.Types.window]:qN,[$.Types.windowTilt]:JN,[$.Types.weatherCurrent]:SN,[$.Types.weatherForecast]:SN,[$.Types.warning]:vN,[$.Types.unknown]:bN,[$.Types.instance]:eN,invalid:vN,hub3:pN,node:mN,hub5:gN,controller:yN},XN={"sensor.alarm.fire":IN,"sensor.alarm.flood":LN};({...YN,...XN}),V.Component;var ZN={root:{height:`100%`,overflow:`hidden`},overflowAuto:{overflow:`auto`}};V.forwardRef(function(e,t){return V.createElement(Fh,{sx:{...ZN.root,...e?.style||void 0,...e.overflow===`auto`?ZN.overflowAuto:void 0},ref:t},e.children)});var QN={headerCellInput:{width:`calc(100% - 5px)`,height:32,pt:0,"& .itemIcon":{verticalAlign:`middle`,width:24,height:24,display:`inline-block`}},headerCellSelectItem:{"& .itemIcon":{width:24,height:24,mr:`5px`,display:`inline-block`}},selectNone:{opacity:.5},selectClearButton:{position:`absolute`,top:0,right:0,borderRadius:5,backgroundColor:`background.default`},cellIdTooltipLink:{color:`#7ec2fd`,"&:hover":{color:`#7ec2fd`},"&:visited":{color:`#7ec2fd`}},cellIdTooltip:{fontSize:14}};function $N(e){return V.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,onClick:t=>e.onClick&&e.onClick(t),viewBox:`0 0 512 512`,width:e.width||(e.fontSize===`small`?16:20),height:e.height||e.width||(e.fontSize===`small`?16:20),className:e.className,style:e.style},V.createElement(`path`,{fill:`currentColor`,d:`M448 0L320 96v62.06l-83.03 83.03c6.79 4.25 13.27 9.06 19.07 14.87 5.8 5.8 10.62 12.28 14.87 19.07L353.94 192H416l96-128-64-64zM128 278.59L10.92 395.67c-14.55 14.55-14.55 38.15 0 52.71l52.7 52.7c14.56 14.56 38.15 14.56 52.71 0L233.41 384c29.11-29.11 29.11-76.3 0-105.41s-76.3-29.11-105.41 0z`}))}function eP(e){return V.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,onClick:t=>e.onClick&&e.onClick(t),viewBox:`0 0 320 320`,width:e.width||(e.fontSize===`small`?16:20),height:e.height||e.width||(e.fontSize===`small`?16:20),className:e.className,style:e.style},V.createElement(`g`,{fill:`currentColor`},V.createElement(`rect`,{rx:`32`,height:`272`,width:`267`,y:`25`,x:`25`,strokeWidth:`15`,stroke:`currentColor`,fill:`none`}),V.createElement(`ellipse`,{stroke:`currentColor`,ry:`26`,rx:`26`,cy:`248`,cx:`160`,fill:`none`,strokeWidth:`15`}),V.createElement(`line`,{y2:`201.94531`,x2:`159.5`,y1:`46.94531`,x1:`159.5`,fillOpacity:`null`,strokeOpacity:`null`,strokeWidth:`15`,stroke:`currentColor`,fill:`none`}),V.createElement(`rect`,{height:`27`,width:`50`,y:`79.7979`,x:`133.5`,fillOpacity:`null`,strokeOpacity:`null`,strokeWidth:`15`,stroke:`currentColor`,fill:`#fff`})))}function tP(e){return V.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,onClick:t=>e.onClick&&e.onClick(t),viewBox:`0 0 320 320`,width:e.width||(e.fontSize===`small`?16:20),height:e.height||e.width||(e.fontSize===`small`?16:20),className:e.className,style:e.style},V.createElement(`g`,{fill:`currentColor`},V.createElement(`rect`,{rx:`32`,height:`272`,width:`267`,y:`25`,x:`25`,strokeWidth:`15`,stroke:`currentColor`,fill:`none`}),V.createElement(`ellipse`,{stroke:`currentColor`,ry:`26`,rx:`26`,cy:`252`,cx:`160`,fillOpacity:`null`,strokeOpacity:`null`,strokeWidth:`15`,fill:`#fff`}),V.createElement(`line`,{y2:`201.94531`,x2:`159.5`,y1:`46.94531`,x1:`159.5`,fillOpacity:`null`,strokeOpacity:`null`,strokeWidth:`15`,stroke:`currentColor`,fill:`none`}),V.createElement(`rect`,{height:`27`,width:`50`,y:`140.83068`,x:`133.5`,fillOpacity:`null`,strokeOpacity:`null`,strokeWidth:`15`,stroke:`currentColor`,fill:`#fff`}),V.createElement(`ellipse`,{stroke:`currentColor`,ry:`26`,rx:`26`,cy:`251`,cx:`241`,fillOpacity:`null`,strokeOpacity:`null`,strokeWidth:`15`,fill:`#fff`}),V.createElement(`line`,{y2:`200.94531`,x2:`240.5`,y1:`45.94531`,x1:`240.5`,fillOpacity:`null`,strokeOpacity:`null`,strokeWidth:`15`,stroke:`currentColor`,fill:`none`}),V.createElement(`rect`,{height:`27`,width:`50`,y:`78.7979`,x:`214.5`,strokeWidth:`15`,stroke:`currentColor`,fill:`#fff`}),V.createElement(`ellipse`,{stroke:`currentColor`,ry:`26`,rx:`26`,cy:`252`,cx:`84`,fillOpacity:`null`,strokeOpacity:`null`,strokeWidth:`15`,fill:`#fff`}),V.createElement(`line`,{y2:`201.94531`,x2:`83.5`,y1:`46.94531`,x1:`83.5`,fillOpacity:`null`,strokeOpacity:`null`,strokeWidth:`15`,stroke:`currentColor`,fill:`none`}),V.createElement(`rect`,{height:`27`,width:`50`,y:`79.7979`,x:`57.5`,fillOpacity:`null`,strokeOpacity:`null`,strokeWidth:`15`,stroke:`currentColor`,fill:`#fff`})))}function nP(e){return V.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,onClick:t=>e.onClick&&e.onClick(t),viewBox:`0 0 512 512`,width:e.width||(e.fontSize===`small`?16:20),height:e.height||e.width||(e.fontSize===`small`?16:20),className:e.className,style:e.style},V.createElement(`path`,{fill:`currentColor`,d:`M448 0L320 96v62.06l-83.03 83.03c6.79 4.25 13.27 9.06 19.07 14.87 5.8 5.8 10.62 12.28 14.87 19.07L353.94 192H416l96-128-64-64zM128 278.59L10.92 395.67c-14.55 14.55-14.55 38.15 0 52.71l52.7 52.7c14.56 14.56 38.15 14.56 52.71 0L233.41 384c29.11-29.11 29.11-76.3 0-105.41s-76.3-29.11-105.41 0z`}))}function rP(e){return V.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,onClick:t=>e.onClick&&e.onClick(t),viewBox:`0 0 320 320`,width:e.width||(e.fontSize===`small`?16:20),height:e.height||e.width||(e.fontSize===`small`?16:20),className:e.className,style:e.style},V.createElement(`rect`,{fill:`none`,rx:`32`,height:`272`,width:`267`,y:`25`,x:`25`,strokeWidth:`15`,stroke:`currentColor`}),V.createElement(`ellipse`,{fill:`none`,ry:`54`,rx:`54`,cy:`160`,cx:`160`,fillOpacity:`null`,strokeOpacity:`null`,strokeWidth:`15`,stroke:`currentColor`}))}V.createElement(rP,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement(eP,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement(tP,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement($N,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement(KO,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement(nP,{className:`itemIcon`,style:{color:`#7da7ff`,verticalAlign:`middle`}}),V.createElement(nk,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement(dk,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement(uk,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement(fk,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement(ik,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement(sk,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement(zO,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement(HO,{className:`itemIcon`,style:{verticalAlign:`middle`}}),V.createElement(kj,{className:`itemIcon itemIconFolder`,style:{verticalAlign:`middle`}}),{...QN},V.Component,V.Component;var iP=c(o(((e,t,n)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self,n.Cropper=r())})(n,(function(){function e(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t(t){if(Array.isArray(t))return e(t)}function n(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,f(r.key),r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,n){return(t=f(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function s(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
692
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?c(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e){return t(e)||o(e)||m(e)||s()}function d(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function f(e){var t=d(e,`string`);return typeof t==`symbol`?t:t+``}function p(e){"@babel/helpers - typeof";return p=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},p(e)}function m(t,n){if(t){if(typeof t==`string`)return e(t,n);var r={}.toString.call(t).slice(8,-1);return r===`Object`&&t.constructor&&(r=t.constructor.name),r===`Map`||r===`Set`?Array.from(t):r===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}var h=typeof window<`u`&&window.document!==void 0,g=h?window:{},_=h&&g.document.documentElement?`ontouchstart`in g.document.documentElement:!1,v=h?`PointerEvent`in g:!1,y=`cropper`,b=`all`,x=`crop`,S=`move`,C=`zoom`,w=`e`,T=`w`,E=`s`,D=`n`,O=`ne`,k=`nw`,ee=`se`,A=`sw`,j=`${y}-crop`,M=`${y}-disabled`,N=`${y}-hidden`,P=`${y}-hide`,F=`${y}-invisible`,I=`${y}-modal`,L=`${y}-move`,te=`${y}Action`,ne=`${y}Preview`,re=`crop`,R=`move`,z=`none`,ie=`crop`,ae=`cropend`,oe=`cropmove`,se=`cropstart`,ce=`dblclick`,le=_?`touchstart`:`mousedown`,B=_?`touchmove`:`mousemove`,ue=_?`touchend touchcancel`:`mouseup`,de=v?`pointerdown`:le,fe=v?`pointermove`:B,pe=v?`pointerup pointercancel`:ue,me=`ready`,he=`resize`,ge=`wheel`,_e=`zoom`,ve=`image/jpeg`,ye=/^(e|w|s|n|se|sw|ne|nw|all|crop|move|zoom)$/,be=/^data:/,xe=/^data:image\/jpeg;base64,/,Se=/\s+/,Ce=/^(img|canvas)$/i,we=200,Te=100,Ee={viewMode:0,dragMode:re,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:``,responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:we,minContainerHeight:Te,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},De=`<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>`,Oe=Number.isNaN||g.isNaN,ke=Number.isFinite||g.isFinite;function Ae(e){return typeof e==`number`&&!Oe(e)}var je=function(e){return e>0&&e<1/0};function Me(e){return e===void 0}function Ne(e){return p(e)===`object`&&e!==null}var Pe=Object.prototype.hasOwnProperty;function Fe(e){if(!Ne(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&Pe.call(n,`isPrototypeOf`)}catch{return!1}}function Ie(e){return typeof e==`function`}var Le=Array.prototype.slice;function Re(e){return Array.from?Array.from(e):Le.call(e)}function ze(e,t){return e&&Ie(t)&&(Array.isArray(e)||Ae(e.length)?Re(e).forEach(function(n,r){t.call(e,n,r,e)}):Ne(e)&&Object.keys(e).forEach(function(n){t.call(e,e[n],n,e)})),e}var Be=Object.assign||function(e){var t=[...arguments].slice(1);return Ne(e)&&t.length>0&&t.forEach(function(t){Ne(t)&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e},Ve=/\.\d*(?:0|9){12}\d*$/;function He(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return Ve.test(e)?Math.round(e*t)/t:e}var Ue=/^width|height|left|top|marginLeft|marginTop$/;function We(e,t){var n=e.style;ze(t,function(e,t){Ue.test(t)&&Ae(e)&&(e=`${e}px`),n[t]=e})}function Ge(e,t){return e.classList?e.classList.contains(t):e.className.split(Se).indexOf(t)>-1}function Ke(e,t){if(t){if(Ae(e.length))ze(e,function(e){Ke(e,t)});else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className=`${n} ${t}`):e.className=t}}}function qe(e,t){t&&(Ae(e.length)?ze(e,function(e){qe(e,t)}):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.split(Se).filter(function(e){return e&&e!==t}).join(` `)))}function Je(e,t,n){t&&(Ae(e.length)?ze(e,function(e){Je(e,t,n)}):n?Ke(e,t):qe(e,t))}var Ye=/([a-z\d])([A-Z])/g;function Xe(e){return typeof e==`string`?e.replace(Ye,`$1-$2`).toLowerCase():``}function Ze(e,t){return Ne(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute(`data-${Xe(t)}`)}function Qe(e,t,n){Ne(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute(`data-${Xe(t)}`,n)}function $e(e,t){if(Ne(e[t]))try{delete e[t]}catch{e[t]=void 0}else if(e.dataset)try{delete e.dataset[t]}catch{e.dataset[t]=void 0}else e.removeAttribute(`data-${Xe(t)}`)}var et=function(){var e=!1;if(h){var t=!1,n=function(){},r=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});g.addEventListener(`test`,n,r),g.removeEventListener(`test`,n,r)}return e}();function tt(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e&&t&&Ie(e.removeEventListener)){var i=n;t.trim().split(Se).forEach(function(t){if(!et){var a=e.__cropperListeners__||{};a[t]&&a[t][n]&&(i=a[t][n],delete a[t][n],Object.keys(a[t]).length===0&&delete a[t],Object.keys(a).length===0&&delete e.__cropperListeners__)}e.removeEventListener(t,i,r)})}}function nt(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e&&t&&Ie(e.addEventListener)&&Ie(n)){var i=n;t.trim().split(Se).forEach(function(t){if(r.once&&!et){var a=e.__cropperListeners__||{};i=function(){a[t]&&a[t][n]&&delete a[t][n],e.removeEventListener(t,i,r);var o=[...arguments];n.apply(e,o)},a[t]||(a[t]={}),a[t][n]&&e.removeEventListener(t,a[t][n],r),a[t][n]=i,e.__cropperListeners__=a}e.addEventListener(t,i,r)})}}function rt(e,t,n){if(!e||!t||!Ie(e.dispatchEvent))return!1;var r;if(Ie(Event)&&Ie(CustomEvent))r=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});else if(Ne(document)&&Ie(document.createEvent))r=document.createEvent(`CustomEvent`),r.initCustomEvent(t,!0,!0,n);else return!1;return e.dispatchEvent(r)}function it(e){if(!e||!Ie(e.getBoundingClientRect))return{left:0,top:0};var t=e.getBoundingClientRect(),n=(document||{}).documentElement,r=n===void 0?{}:n,i=g.pageXOffset||0,a=g.pageYOffset||0;return{left:t.left+(i-(r.clientLeft||0)),top:t.top+(a-(r.clientTop||0))}}var at=g.location,ot=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function st(e){var t=e.match(ot);return t!==null&&(t[1]!==at.protocol||t[2]!==at.hostname||t[3]!==at.port)}function ct(e){var t=e.indexOf(`#`),n=t>=0?e.slice(t):``,r=t>=0?e.slice(0,t):e,i=`timestamp=${new Date().getTime()}`;return`${r}${r.indexOf(`?`)===-1?`?`:`&`}${i}${n}`}function lt(e){var t=e.rotate,n=e.scaleX,r=e.scaleY,i=e.translateX,a=e.translateY,o=[];Ae(i)&&i!==0&&o.push(`translateX(${i}px)`),Ae(a)&&a!==0&&o.push(`translateY(${a}px)`),Ae(t)&&t!==0&&o.push(`rotate(${t}deg)`),Ae(n)&&n!==1&&o.push(`scaleX(${n})`),Ae(r)&&r!==1&&o.push(`scaleY(${r})`);var s=o.length?o.join(` `):`none`;return{WebkitTransform:s,msTransform:s,transform:s}}function ut(e){var t=l({},e),n=0;return ze(e,function(e,r){delete t[r],ze(t,function(t){var r=Math.abs(e.startX-t.startX),i=Math.abs(e.startY-t.startY),a=Math.abs(e.endX-t.endX),o=Math.abs(e.endY-t.endY),s=Math.sqrt(r*r+i*i),c=Math.sqrt(a*a+o*o);if(ke(s)&&ke(c)&&s!==0&&c!==s){var l=(c-s)/s;ke(l)&&Math.abs(l)>Math.abs(n)&&(n=l)}})}),n}function dt(e,t){var n=e.pageX,r=e.pageY,i={endX:n,endY:r};return t?i:l({startX:n,startY:r},i)}function V(e){var t=0,n=0,r=0;return ze(e,function(e){var i=e.startX,a=e.startY;t+=i,n+=a,r+=1}),t/=r,n/=r,{pageX:t,pageY:n}}function ft(e){var t=e.aspectRatio,n=e.height,r=e.width,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`contain`,a=je(r),o=je(n);if(a&&o){var s=n*t;i===`contain`&&s>r||i===`cover`&&s<r?n=r/t:r=n*t}else a?n=r/t:o&&(r=n*t);return{width:r,height:n}}function pt(e){var t=e.width,n=e.height,r=e.degree;if(r=Math.abs(r)%180,r===90)return{width:n,height:t};var i=r%90*Math.PI/180,a=Math.sin(i),o=Math.cos(i),s=t*o+n*a,c=t*a+n*o;return r>90?{width:c,height:s}:{width:s,height:c}}function mt(e,t,n,r){var i=t.aspectRatio,a=t.naturalWidth,o=t.naturalHeight,s=t.rotate,c=s===void 0?0:s,l=t.scaleX,d=l===void 0?1:l,f=t.scaleY,p=f===void 0?1:f,m=n.aspectRatio,h=n.naturalWidth,g=n.naturalHeight,_=r.fillColor,v=_===void 0?`transparent`:_,y=r.imageSmoothingEnabled,b=y===void 0||y,x=r.imageSmoothingQuality,S=x===void 0?`low`:x,C=r.maxWidth,w=C===void 0?1/0:C,T=r.maxHeight,E=T===void 0?1/0:T,D=r.minWidth,O=D===void 0?0:D,k=r.minHeight,ee=k===void 0?0:k,A=document.createElement(`canvas`),j=A.getContext(`2d`),M=ft({aspectRatio:m,width:w,height:E}),N=ft({aspectRatio:m,width:O,height:ee},`cover`),P=Math.min(M.width,Math.max(N.width,h)),F=Math.min(M.height,Math.max(N.height,g)),I=ft({aspectRatio:i,width:w,height:E}),L=ft({aspectRatio:i,width:O,height:ee},`cover`),te=Math.min(I.width,Math.max(L.width,a)),ne=Math.min(I.height,Math.max(L.height,o)),re=[-te/2,-ne/2,te,ne];return A.width=He(P),A.height=He(F),j.fillStyle=v,j.fillRect(0,0,P,F),j.save(),j.translate(P/2,F/2),j.rotate(c*Math.PI/180),j.scale(d,p),j.imageSmoothingEnabled=b,j.imageSmoothingQuality=S,j.drawImage.apply(j,[e].concat(u(re.map(function(e){return Math.floor(He(e))})))),j.restore(),A}var ht=String.fromCharCode;function gt(e,t,n){var r=``;n+=t;for(var i=t;i<n;i+=1)r+=ht(e.getUint8(i));return r}var _t=/^data:.*,/;function vt(e){var t=e.replace(_t,``),n=atob(t),r=new ArrayBuffer(n.length),i=new Uint8Array(r);return ze(i,function(e,t){i[t]=n.charCodeAt(t)}),r}function yt(e,t){for(var n=[],r=8192,i=new Uint8Array(e);i.length>0;)n.push(ht.apply(null,Re(i.subarray(0,r)))),i=i.subarray(r);return`data:${t};base64,${btoa(n.join(``))}`}function bt(e){var t=new DataView(e),n;try{var r,i,a;if(t.getUint8(0)===255&&t.getUint8(1)===216)for(var o=t.byteLength,s=2;s+1<o;){if(t.getUint8(s)===255&&t.getUint8(s+1)===225){i=s;break}s+=1}if(i){var c=i+4,l=i+10;if(gt(t,c,4)===`Exif`){var u=t.getUint16(l);if(r=u===18761,(r||u===19789)&&t.getUint16(l+2,r)===42){var d=t.getUint32(l+4,r);d>=8&&(a=l+d)}}}if(a){for(var f=t.getUint16(a,r),p,m=0;m<f;m+=1)if(p=a+m*12+2,t.getUint16(p,r)===274){p+=8,n=t.getUint16(p,r),t.setUint16(p,1,r);break}}}catch{n=1}return n}function xt(e){var t=0,n=1,r=1;switch(e){case 2:n=-1;break;case 3:t=-180;break;case 4:r=-1;break;case 5:t=90,r=-1;break;case 6:t=90;break;case 7:t=90,n=-1;break;case 8:t=-90}return{rotate:t,scaleX:n,scaleY:r}}var St={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var e=this.element,t=this.options,n=this.container,r=this.cropper,i=Number(t.minContainerWidth),a=Number(t.minContainerHeight);Ke(r,N),qe(e,N);var o={width:Math.max(n.offsetWidth,i>=0?i:we),height:Math.max(n.offsetHeight,a>=0?a:Te)};this.containerData=o,We(r,{width:o.width,height:o.height}),Ke(e,N),qe(r,N)},initCanvas:function(){var e=this.containerData,t=this.imageData,n=this.options.viewMode,r=Math.abs(t.rotate)%180==90,i=r?t.naturalHeight:t.naturalWidth,a=r?t.naturalWidth:t.naturalHeight,o=i/a,s=e.width,c=e.height;e.height*o>e.width?n===3?s=e.height*o:c=e.width/o:n===3?c=e.width/o:s=e.height*o;var l={aspectRatio:o,naturalWidth:i,naturalHeight:a,width:s,height:c};this.canvasData=l,this.limited=n===1||n===2,this.limitCanvas(!0,!0),l.width=Math.min(Math.max(l.width,l.minWidth),l.maxWidth),l.height=Math.min(Math.max(l.height,l.minHeight),l.maxHeight),l.left=(e.width-l.width)/2,l.top=(e.height-l.height)/2,l.oldLeft=l.left,l.oldTop=l.top,this.initialCanvasData=Be({},l)},limitCanvas:function(e,t){var n=this.options,r=this.containerData,i=this.canvasData,a=this.cropBoxData,o=n.viewMode,s=i.aspectRatio,c=this.cropped&&a;if(e){var l=Number(n.minCanvasWidth)||0,u=Number(n.minCanvasHeight)||0;o>1?(l=Math.max(l,r.width),u=Math.max(u,r.height),o===3&&(u*s>l?l=u*s:u=l/s)):o>0&&(l?l=Math.max(l,c?a.width:0):u?u=Math.max(u,c?a.height:0):c&&(l=a.width,u=a.height,u*s>l?l=u*s:u=l/s));var d=ft({aspectRatio:s,width:l,height:u});l=d.width,u=d.height,i.minWidth=l,i.minHeight=u,i.maxWidth=1/0,i.maxHeight=1/0}if(t){if(o>+!c){var f=r.width-i.width,p=r.height-i.height;i.minLeft=Math.min(0,f),i.minTop=Math.min(0,p),i.maxLeft=Math.max(0,f),i.maxTop=Math.max(0,p),c&&this.limited&&(i.minLeft=Math.min(a.left,a.left+(a.width-i.width)),i.minTop=Math.min(a.top,a.top+(a.height-i.height)),i.maxLeft=a.left,i.maxTop=a.top,o===2&&(i.width>=r.width&&(i.minLeft=Math.min(0,f),i.maxLeft=Math.max(0,f)),i.height>=r.height&&(i.minTop=Math.min(0,p),i.maxTop=Math.max(0,p))))}else i.minLeft=-i.width,i.minTop=-i.height,i.maxLeft=r.width,i.maxTop=r.height}},renderCanvas:function(e,t){var n=this.canvasData,r=this.imageData;if(t){var i=pt({width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0}),a=i.width,o=i.height,s=n.width*(a/n.naturalWidth),c=n.height*(o/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(c-n.height)/2,n.width=s,n.height=c,n.aspectRatio=a/o,n.naturalWidth=a,n.naturalHeight=o,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCanvas(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,We(this.canvas,Be({width:n.width,height:n.height},lt({translateX:n.left,translateY:n.top}))),this.renderImage(e),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(e){var t=this.canvasData,n=this.imageData,r=n.naturalWidth*(t.width/t.naturalWidth),i=n.naturalHeight*(t.height/t.naturalHeight);Be(n,{width:r,height:i,left:(t.width-r)/2,top:(t.height-i)/2}),We(this.image,Be({width:n.width,height:n.height},lt(Be({translateX:n.left,translateY:n.top},n)))),e&&this.output()},initCropBox:function(){var e=this.options,t=this.canvasData,n=e.aspectRatio||e.initialAspectRatio,r=Number(e.autoCropArea)||.8,i={width:t.width,height:t.height};n&&(t.height*n>t.width?i.height=i.width/n:i.width=i.height*n),this.cropBoxData=i,this.limitCropBox(!0,!0),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),i.width=Math.max(i.minWidth,i.width*r),i.height=Math.max(i.minHeight,i.height*r),i.left=t.left+(t.width-i.width)/2,i.top=t.top+(t.height-i.height)/2,i.oldLeft=i.left,i.oldTop=i.top,this.initialCropBoxData=Be({},i)},limitCropBox:function(e,t){var n=this.options,r=this.containerData,i=this.canvasData,a=this.cropBoxData,o=this.limited,s=n.aspectRatio;if(e){var c=Number(n.minCropBoxWidth)||0,l=Number(n.minCropBoxHeight)||0,u=o?Math.min(r.width,i.width,i.width+i.left,r.width-i.left):r.width,d=o?Math.min(r.height,i.height,i.height+i.top,r.height-i.top):r.height;c=Math.min(c,r.width),l=Math.min(l,r.height),s&&(c&&l?l*s>c?l=c/s:c=l*s:c?l=c/s:l&&(c=l*s),d*s>u?d=u/s:u=d*s),a.minWidth=Math.min(c,u),a.minHeight=Math.min(l,d),a.maxWidth=u,a.maxHeight=d}t&&(o?(a.minLeft=Math.max(0,i.left),a.minTop=Math.max(0,i.top),a.maxLeft=Math.min(r.width,i.left+i.width)-a.width,a.maxTop=Math.min(r.height,i.top+i.height)-a.height):(a.minLeft=0,a.minTop=0,a.maxLeft=r.width-a.width,a.maxTop=r.height-a.height))},renderCropBox:function(){var e=this.options,t=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCropBox(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,e.movable&&e.cropBoxMovable&&Qe(this.face,te,n.width>=t.width&&n.height>=t.height?S:b),We(this.cropBox,Be({width:n.width,height:n.height},lt({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),rt(this.element,ie,this.getData())}},Ct={initPreview:function(){var e=this.element,t=this.crossOrigin,n=this.options.preview,r=t?this.crossOriginUrl:this.url,i=e.alt||`The image to preview`,a=document.createElement(`img`);if(t&&(a.crossOrigin=t),a.src=r,a.alt=i,this.viewBox.appendChild(a),this.viewBoxImage=a,n){var o=n;typeof n==`string`?o=e.ownerDocument.querySelectorAll(n):n.querySelector&&(o=[n]),this.previews=o,ze(o,function(e){var n=document.createElement(`img`);Qe(e,ne,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML}),t&&(n.crossOrigin=t),n.src=r,n.alt=i,n.style.cssText=`display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;`,e.innerHTML=``,e.appendChild(n)})}},resetPreview:function(){ze(this.previews,function(e){var t=Ze(e,ne);We(e,{width:t.width,height:t.height}),e.innerHTML=t.html,$e(e,ne)})},preview:function(){var e=this.imageData,t=this.canvasData,n=this.cropBoxData,r=n.width,i=n.height,a=e.width,o=e.height,s=n.left-t.left-e.left,c=n.top-t.top-e.top;this.cropped&&!this.disabled&&(We(this.viewBoxImage,Be({width:a,height:o},lt(Be({translateX:-s,translateY:-c},e)))),ze(this.previews,function(t){var n=Ze(t,ne),l=n.width,u=n.height,d=l,f=u,p=1;r&&(p=l/r,f=i*p),i&&f>u&&(p=u/i,d=r*p,f=u),We(t,{width:d,height:f}),We(t.getElementsByTagName(`img`)[0],Be({width:a*p,height:o*p},lt(Be({translateX:-s*p,translateY:-c*p},e))))}))}},wt={bind:function(){var e=this.element,t=this.options,n=this.cropper;Ie(t.cropstart)&&nt(e,se,t.cropstart),Ie(t.cropmove)&&nt(e,oe,t.cropmove),Ie(t.cropend)&&nt(e,ae,t.cropend),Ie(t.crop)&&nt(e,ie,t.crop),Ie(t.zoom)&&nt(e,_e,t.zoom),nt(n,de,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&nt(n,ge,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&nt(n,ce,this.onDblclick=this.dblclick.bind(this)),nt(e.ownerDocument,fe,this.onCropMove=this.cropMove.bind(this)),nt(e.ownerDocument,pe,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&nt(window,he,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,n=this.cropper;Ie(t.cropstart)&&tt(e,se,t.cropstart),Ie(t.cropmove)&&tt(e,oe,t.cropmove),Ie(t.cropend)&&tt(e,ae,t.cropend),Ie(t.crop)&&tt(e,ie,t.crop),Ie(t.zoom)&&tt(e,_e,t.zoom),tt(n,de,this.onCropStart),t.zoomable&&t.zoomOnWheel&&tt(n,ge,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&tt(n,ce,this.onDblclick),tt(e.ownerDocument,fe,this.onCropMove),tt(e.ownerDocument,pe,this.onCropEnd),t.responsive&&tt(window,he,this.onResize)}},Tt={resize:function(){if(!this.disabled){var e=this.options,t=this.container,n=this.containerData,r=t.offsetWidth/n.width,i=t.offsetHeight/n.height,a=Math.abs(r-1)>Math.abs(i-1)?r:i;if(a!==1){var o,s;e.restore&&(o=this.getCanvasData(),s=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(ze(o,function(e,t){o[t]=e*a})),this.setCropBoxData(ze(s,function(e,t){s[t]=e*a})))}}},dblclick:function(){this.disabled||this.options.dragMode===z||this.setDragMode(Ge(this.dragBox,j)?R:re)},wheel:function(e){var t=this,n=Number(this.options.wheelZoomRatio)||.1,r=1;this.disabled||(e.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){t.wheeling=!1},50),e.deltaY?r=e.deltaY>0?1:-1:e.wheelDelta?r=-e.wheelDelta/120:e.detail&&(r=e.detail>0?1:-1),this.zoom(-r*n,e)))},cropStart:function(e){var t=e.buttons,n=e.button;if(!(this.disabled||(e.type===`mousedown`||e.type===`pointerdown`&&e.pointerType===`mouse`)&&(Ae(t)&&t!==1||Ae(n)&&n!==0||e.ctrlKey))){var r=this.options,i=this.pointers,a;e.changedTouches?ze(e.changedTouches,function(e){i[e.identifier]=dt(e)}):i[e.pointerId||0]=dt(e),a=Object.keys(i).length>1&&r.zoomable&&r.zoomOnTouch?C:Ze(e.target,te),ye.test(a)&&rt(this.element,se,{originalEvent:e,action:a})!==!1&&(e.preventDefault(),this.action=a,this.cropping=!1,a===x&&(this.cropping=!0,Ke(this.dragBox,I)))}},cropMove:function(e){var t=this.action;if(!this.disabled&&t){var n=this.pointers;e.preventDefault(),rt(this.element,oe,{originalEvent:e,action:t})!==!1&&(e.changedTouches?ze(e.changedTouches,function(e){Be(n[e.identifier]||{},dt(e,!0))}):Be(n[e.pointerId||0]||{},dt(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,n=this.pointers;e.changedTouches?ze(e.changedTouches,function(e){delete n[e.identifier]}):delete n[e.pointerId||0],t&&(e.preventDefault(),Object.keys(n).length||(this.action=``),this.cropping&&(this.cropping=!1,Je(this.dragBox,I,this.cropped&&this.options.modal)),rt(this.element,ae,{originalEvent:e,action:t}))}}},Et={change:function(e){var t=this.options,n=this.canvasData,r=this.containerData,i=this.cropBoxData,a=this.pointers,o=this.action,s=t.aspectRatio,c=i.left,l=i.top,u=i.width,d=i.height,f=c+u,p=l+d,m=0,h=0,g=r.width,_=r.height,v=!0,y;!s&&e.shiftKey&&(s=u&&d?u/d:1),this.limited&&(m=i.minLeft,h=i.minTop,g=m+Math.min(r.width,n.width,n.left+n.width),_=h+Math.min(r.height,n.height,n.top+n.height));var j=a[Object.keys(a)[0]],M={x:j.endX-j.startX,y:j.endY-j.startY},P=function(e){switch(e){case w:f+M.x>g&&(M.x=g-f);break;case T:c+M.x<m&&(M.x=m-c);break;case D:l+M.y<h&&(M.y=h-l);break;case E:p+M.y>_&&(M.y=_-p)}};switch(o){case b:c+=M.x,l+=M.y;break;case w:if(M.x>=0&&(f>=g||s&&(l<=h||p>=_))){v=!1;break}P(w),u+=M.x,u<0&&(o=T,u=-u,c-=u),s&&(d=u/s,l+=(i.height-d)/2);break;case D:if(M.y<=0&&(l<=h||s&&(c<=m||f>=g))){v=!1;break}P(D),d-=M.y,l+=M.y,d<0&&(o=E,d=-d,l-=d),s&&(u=d*s,c+=(i.width-u)/2);break;case T:if(M.x<=0&&(c<=m||s&&(l<=h||p>=_))){v=!1;break}P(T),u-=M.x,c+=M.x,u<0&&(o=w,u=-u,c-=u),s&&(d=u/s,l+=(i.height-d)/2);break;case E:if(M.y>=0&&(p>=_||s&&(c<=m||f>=g))){v=!1;break}P(E),d+=M.y,d<0&&(o=D,d=-d,l-=d),s&&(u=d*s,c+=(i.width-u)/2);break;case O:if(s){if(M.y<=0&&(l<=h||f>=g)){v=!1;break}P(D),d-=M.y,l+=M.y,u=d*s}else P(D),P(w),M.x>=0?f<g?u+=M.x:M.y<=0&&l<=h&&(v=!1):u+=M.x,M.y<=0?l>h&&(d-=M.y,l+=M.y):(d-=M.y,l+=M.y);u<0&&d<0?(o=A,d=-d,u=-u,l-=d,c-=u):u<0?(o=k,u=-u,c-=u):d<0&&(o=ee,d=-d,l-=d);break;case k:if(s){if(M.y<=0&&(l<=h||c<=m)){v=!1;break}P(D),d-=M.y,l+=M.y,u=d*s,c+=i.width-u}else P(D),P(T),M.x<=0?c>m?(u-=M.x,c+=M.x):M.y<=0&&l<=h&&(v=!1):(u-=M.x,c+=M.x),M.y<=0?l>h&&(d-=M.y,l+=M.y):(d-=M.y,l+=M.y);u<0&&d<0?(o=ee,d=-d,u=-u,l-=d,c-=u):u<0?(o=O,u=-u,c-=u):d<0&&(o=A,d=-d,l-=d);break;case A:if(s){if(M.x<=0&&(c<=m||p>=_)){v=!1;break}P(T),u-=M.x,c+=M.x,d=u/s}else P(E),P(T),M.x<=0?c>m?(u-=M.x,c+=M.x):M.y>=0&&p>=_&&(v=!1):(u-=M.x,c+=M.x),M.y>=0?p<_&&(d+=M.y):d+=M.y;u<0&&d<0?(o=O,d=-d,u=-u,l-=d,c-=u):u<0?(o=ee,u=-u,c-=u):d<0&&(o=k,d=-d,l-=d);break;case ee:if(s){if(M.x>=0&&(f>=g||p>=_)){v=!1;break}P(w),u+=M.x,d=u/s}else P(E),P(w),M.x>=0?f<g?u+=M.x:M.y>=0&&p>=_&&(v=!1):u+=M.x,M.y>=0?p<_&&(d+=M.y):d+=M.y;u<0&&d<0?(o=k,d=-d,u=-u,l-=d,c-=u):u<0?(o=A,u=-u,c-=u):d<0&&(o=O,d=-d,l-=d);break;case S:this.move(M.x,M.y),v=!1;break;case C:this.zoom(ut(a),e),v=!1;break;case x:if(!M.x||!M.y){v=!1;break}y=it(this.cropper),c=j.startX-y.left,l=j.startY-y.top,u=i.minWidth,d=i.minHeight,M.x>0?o=M.y>0?ee:O:M.x<0&&(c-=u,o=M.y>0?A:k),M.y<0&&(l-=d),this.cropped||(qe(this.cropBox,N),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}v&&(i.width=u,i.height=d,i.left=c,i.top=l,this.action=o,this.renderCropBox()),ze(a,function(e){e.startX=e.endX,e.startY=e.endY})}},Dt={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&Ke(this.dragBox,I),qe(this.cropBox,N),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=Be({},this.initialImageData),this.canvasData=Be({},this.initialCanvasData),this.cropBoxData=Be({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(Be(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),qe(this.dragBox,I),Ke(this.cropBox,N)),this},replace:function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,ze(this.previews,function(t){t.getElementsByTagName(`img`)[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,qe(this.cropper,M)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,Ke(this.cropper,M)),this},destroy:function(){var e=this.element;return e[y]&&(e[y]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate()),this},move:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=this.canvasData,r=n.left,i=n.top;return this.moveTo(Me(e)?e:r+Number(e),Me(t)?t:i+Number(t))},moveTo:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=this.canvasData,r=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(Ae(e)&&(n.left=e,r=!0),Ae(t)&&(n.top=t,r=!0),r&&this.renderCanvas(!0)),this},zoom:function(e,t){var n=this.canvasData;return e=Number(e),e=e<0?1/(1-e):1+e,this.zoomTo(n.width*e/n.naturalWidth,null,t)},zoomTo:function(e,t,n){var r=this.options,i=this.canvasData,a=i.width,o=i.height,s=i.naturalWidth,c=i.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&r.zoomable){var l=s*e,u=c*e;if(rt(this.element,_e,{ratio:e,oldRatio:a/s,originalEvent:n})===!1)return this;if(n){var d=this.pointers,f=it(this.cropper),p=d&&Object.keys(d).length?V(d):{pageX:n.pageX,pageY:n.pageY};i.left-=(l-a)*((p.pageX-f.left-i.left)/a),i.top-=(u-o)*((p.pageY-f.top-i.top)/o)}else Fe(t)&&Ae(t.x)&&Ae(t.y)?(i.left-=(l-a)*((t.x-i.left)/a),i.top-=(u-o)*((t.y-i.top)/o)):(i.left-=(l-a)/2,i.top-=(u-o)/2);i.width=l,i.height=u,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),Ae(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,Ae(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(Ae(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=this.imageData,r=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(Ae(e)&&(n.scaleX=e,r=!0),Ae(t)&&(n.scaleY=t,r=!0),r&&this.renderCanvas(!0,!0)),this},getData:function(){var e=arguments.length>0&&arguments[0]!==void 0&&arguments[0],t=this.options,n=this.imageData,r=this.canvasData,i=this.cropBoxData,a;if(this.ready&&this.cropped){a={x:i.left-r.left,y:i.top-r.top,width:i.width,height:i.height};var o=n.width/n.naturalWidth;if(ze(a,function(e,t){a[t]=e/o}),e){var s=Math.round(a.y+a.height),c=Math.round(a.x+a.width);a.x=Math.round(a.x),a.y=Math.round(a.y),a.width=c-a.x,a.height=s-a.y}}else a={x:0,y:0,width:0,height:0};return t.rotatable&&(a.rotate=n.rotate||0),t.scalable&&(a.scaleX=n.scaleX||1,a.scaleY=n.scaleY||1),a},setData:function(e){var t=this.options,n=this.imageData,r=this.canvasData,i={};if(this.ready&&!this.disabled&&Fe(e)){var a=!1;t.rotatable&&Ae(e.rotate)&&e.rotate!==n.rotate&&(n.rotate=e.rotate,a=!0),t.scalable&&(Ae(e.scaleX)&&e.scaleX!==n.scaleX&&(n.scaleX=e.scaleX,a=!0),Ae(e.scaleY)&&e.scaleY!==n.scaleY&&(n.scaleY=e.scaleY,a=!0)),a&&this.renderCanvas(!0,!0);var o=n.width/n.naturalWidth;Ae(e.x)&&(i.left=e.x*o+r.left),Ae(e.y)&&(i.top=e.y*o+r.top),Ae(e.width)&&(i.width=e.width*o),Ae(e.height)&&(i.height=e.height*o),this.setCropBoxData(i)}return this},getContainerData:function(){return this.ready?Be({},this.containerData):{}},getImageData:function(){return this.sized?Be({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&ze([`left`,`top`,`width`,`height`,`naturalWidth`,`naturalHeight`],function(n){t[n]=e[n]}),t},setCanvasData:function(e){var t=this.canvasData,n=t.aspectRatio;return this.ready&&!this.disabled&&Fe(e)&&(Ae(e.left)&&(t.left=e.left),Ae(e.top)&&(t.top=e.top),Ae(e.width)?(t.width=e.width,t.height=e.width/n):Ae(e.height)&&(t.height=e.height,t.width=e.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var e=this.cropBoxData,t;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(e){var t=this.cropBoxData,n=this.options.aspectRatio,r,i;return this.ready&&this.cropped&&!this.disabled&&Fe(e)&&(Ae(e.left)&&(t.left=e.left),Ae(e.top)&&(t.top=e.top),Ae(e.width)&&e.width!==t.width&&(r=!0,t.width=e.width),Ae(e.height)&&e.height!==t.height&&(i=!0,t.height=e.height),n&&(r?t.height=t.width/n:i&&(t.width=t.height*n)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,n=mt(this.image,this.imageData,t,e);if(!this.cropped)return n;var r=this.getData(e.rounded),i=r.x,a=r.y,o=r.width,s=r.height,c=n.width/Math.floor(t.naturalWidth);c!==1&&(i*=c,a*=c,o*=c,s*=c);var l=o/s,d=ft({aspectRatio:l,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),f=ft({aspectRatio:l,width:e.minWidth||0,height:e.minHeight||0},`cover`),p=ft({aspectRatio:l,width:e.width||(c===1?o:n.width),height:e.height||(c===1?s:n.height)}),m=p.width,h=p.height;m=Math.min(d.width,Math.max(f.width,m)),h=Math.min(d.height,Math.max(f.height,h));var g=document.createElement(`canvas`),_=g.getContext(`2d`);g.width=He(m),g.height=He(h),_.fillStyle=e.fillColor||`transparent`,_.fillRect(0,0,m,h);var v=e.imageSmoothingEnabled,y=v===void 0||v,b=e.imageSmoothingQuality;_.imageSmoothingEnabled=y,b&&(_.imageSmoothingQuality=b);var x=n.width,S=n.height,C=i,w=a,T,E,D,O,k,ee;C<=-o||C>x?(C=0,T=0,D=0,k=0):C<=0?(D=-C,C=0,T=Math.min(x,o+C),k=T):C<=x&&(D=0,T=Math.min(o,x-C),k=T),T<=0||w<=-s||w>S?(w=0,E=0,O=0,ee=0):w<=0?(O=-w,w=0,E=Math.min(S,s+w),ee=E):w<=S&&(O=0,E=Math.min(s,S-w),ee=E);var A=[C,w,T,E];if(k>0&&ee>0){var j=m/o;A.push(D*j,O*j,k*j,ee*j)}return _.drawImage.apply(_,[n].concat(u(A.map(function(e){return Math.floor(He(e))})))),g},setAspectRatio:function(e){var t=this.options;return!this.disabled&&!Me(e)&&(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,n=this.dragBox,r=this.face;if(this.ready&&!this.disabled){var i=e===re,a=t.movable&&e===R;e=i||a?e:z,t.dragMode=e,Qe(n,te,e),Je(n,j,i),Je(n,L,a),t.cropBoxMovable||(Qe(r,te,e),Je(r,j,i),Je(r,L,a))}return this}},Ot=g.Cropper,kt=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n(this,e),!t||!Ce.test(t.tagName))throw Error(`The first argument is required and must be an <img> or <canvas> element.`);this.element=t,this.options=Be({},Ee,Fe(r)&&r),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return i(e,[{key:`init`,value:function(){var e=this.element,t=e.tagName.toLowerCase(),n;if(!e[y]){if(e[y]=this,t===`img`){if(this.isImg=!0,n=e.getAttribute(`src`)||``,this.originalUrl=n,!n)return;n=e.src}else t===`canvas`&&window.HTMLCanvasElement&&(n=e.toDataURL());this.load(n)}}},{key:`load`,value:function(e){var t=this;if(e){this.url=e,this.imageData={};var n=this.element,r=this.options;if(!r.rotatable&&!r.scalable&&(r.checkOrientation=!1),!r.checkOrientation||!window.ArrayBuffer)this.clone();else if(be.test(e))xe.test(e)?this.read(vt(e)):this.clone();else{var i=new XMLHttpRequest,a=this.clone.bind(this);this.reloading=!0,this.xhr=i,i.onabort=a,i.onerror=a,i.ontimeout=a,i.onprogress=function(){i.getResponseHeader(`content-type`)!==ve&&i.abort()},i.onload=function(){t.read(i.response)},i.onloadend=function(){t.reloading=!1,t.xhr=null},r.checkCrossOrigin&&st(e)&&n.crossOrigin&&(e=ct(e)),i.open(`GET`,e,!0),i.responseType=`arraybuffer`,i.withCredentials=n.crossOrigin===`use-credentials`,i.send()}}}},{key:`read`,value:function(e){var t=this.options,n=this.imageData,r=bt(e),i=0,a=1,o=1;if(r>1){this.url=yt(e,ve);var s=xt(r);i=s.rotate,a=s.scaleX,o=s.scaleY}t.rotatable&&(n.rotate=i),t.scalable&&(n.scaleX=a,n.scaleY=o),this.clone()}},{key:`clone`,value:function(){var e=this.element,t=this.url,n=e.crossOrigin,r=t;this.options.checkCrossOrigin&&st(t)&&(n||=`anonymous`,r=ct(t)),this.crossOrigin=n,this.crossOriginUrl=r;var i=document.createElement(`img`);n&&(i.crossOrigin=n),i.src=r||t,i.alt=e.alt||`The image to crop`,this.image=i,i.onload=this.start.bind(this),i.onerror=this.stop.bind(this),Ke(i,P),e.parentNode.insertBefore(i,e.nextSibling)}},{key:`start`,value:function(){var e=this,t=this.image;t.onload=null,t.onerror=null,this.sizing=!0;var n=g.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(g.navigator.userAgent),r=function(t,n){Be(e.imageData,{naturalWidth:t,naturalHeight:n,aspectRatio:t/n}),e.initialImageData=Be({},e.imageData),e.sizing=!1,e.sized=!0,e.build()};if(t.naturalWidth&&!n)r(t.naturalWidth,t.naturalHeight);else{var i=document.createElement(`img`),a=document.body||document.documentElement;this.sizingImage=i,i.onload=function(){r(i.width,i.height),n||a.removeChild(i)},i.src=t.src,n||(i.style.cssText=`left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;`,a.appendChild(i))}}},{key:`stop`,value:function(){var e=this.image;e.onload=null,e.onerror=null,e.parentNode.removeChild(e),this.image=null}},{key:`build`,value:function(){if(this.sized&&!this.ready){var e=this.element,t=this.options,n=this.image,r=e.parentNode,i=document.createElement(`div`);i.innerHTML=De;var a=i.querySelector(`.${y}-container`),o=a.querySelector(`.${y}-canvas`),s=a.querySelector(`.${y}-drag-box`),c=a.querySelector(`.${y}-crop-box`),l=c.querySelector(`.${y}-face`);this.container=r,this.cropper=a,this.canvas=o,this.dragBox=s,this.cropBox=c,this.viewBox=a.querySelector(`.${y}-view-box`),this.face=l,o.appendChild(n),Ke(e,N),r.insertBefore(a,e.nextSibling),qe(n,P),this.initPreview(),this.bind(),t.initialAspectRatio=Math.max(0,t.initialAspectRatio)||NaN,t.aspectRatio=Math.max(0,t.aspectRatio)||NaN,t.viewMode=Math.max(0,Math.min(3,Math.round(t.viewMode)))||0,Ke(c,N),t.guides||Ke(c.getElementsByClassName(`${y}-dashed`),N),t.center||Ke(c.getElementsByClassName(`${y}-center`),N),t.background&&Ke(a,`${y}-bg`),t.highlight||Ke(l,F),t.cropBoxMovable&&(Ke(l,L),Qe(l,te,b)),t.cropBoxResizable||(Ke(c.getElementsByClassName(`${y}-line`),N),Ke(c.getElementsByClassName(`${y}-point`),N)),this.render(),this.ready=!0,this.setDragMode(t.dragMode),t.autoCrop&&this.crop(),this.setData(t.data),Ie(t.ready)&&nt(e,me,t.ready,{once:!0}),rt(e,me)}}},{key:`unbuild`,value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var e=this.cropper.parentNode;e&&e.removeChild(this.cropper),qe(this.element,N)}}},{key:`uncreate`,value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:`noConflict`,value:function(){return window.Cropper=Ot,e}},{key:`setDefaults`,value:function(e){Be(Ee,Fe(e)&&e)}}])}();return Be(kt.prototype,St,Ct,wt,Tt,Et,Dt),kt}))}))()),aP=function(){return aP=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},aP.apply(this,arguments)};function oP(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}var sP=`aspectRatio.autoCrop.autoCropArea.background.center.checkCrossOrigin.checkOrientation.cropBoxMovable.cropBoxResizable.data.dragMode.guides.highlight.initialAspectRatio.minCanvasHeight.minCanvasWidth.minContainerHeight.minContainerWidth.minCropBoxHeight.minCropBoxWidth.modal.movable.preview.responsive.restore.rotatable.scalable.toggleDragModeOnDblclick.viewMode.wheelZoomRatio.zoomOnTouch.zoomOnWheel.zoomable.cropstart.cropmove.cropend.crop.zoom.ready`.split(`.`),cP={opacity:0,maxWidth:`100%`};V.forwardRef((function(e,t){var n=oP(e,[]),r=n.dragMode,i=r===void 0?`crop`:r,a=n.src,o=n.style,s=n.className,c=n.crossOrigin,l=n.scaleX,u=n.scaleY,d=n.enable,f=n.zoomTo,p=n.rotateTo,m=n.alt,h=m===void 0?`picture`:m,g=n.ready,_=n.onInitialized,v=oP(n,[`dragMode`,`src`,`style`,`className`,`crossOrigin`,`scaleX`,`scaleY`,`enable`,`zoomTo`,`rotateTo`,`alt`,`ready`,`onInitialized`]),y={scaleY:u,scaleX:l,enable:d,zoomTo:f,rotateTo:p},b=function(){var e=[...arguments],t=(0,V.useRef)(null);return V.useEffect((function(){e.forEach((function(e){e&&(typeof e==`function`?e(t.current):e.current=t.current)}))}),[e]),t}(t,(0,V.useRef)(null));(0,V.useEffect)((function(){var e;(e=b.current)!=null&&e.cropper&&typeof f==`number`&&b.current.cropper.zoomTo(f)}),[n.zoomTo]),(0,V.useEffect)((function(){var e;(e=b.current)!=null&&e.cropper&&a!==void 0&&b.current.cropper.reset().clear().replace(a)}),[a]),(0,V.useEffect)((function(){if(b.current!==null){var e=new iP.default(b.current,aP(aP({dragMode:i},v),{ready:function(e){e.currentTarget!==null&&function(e,t){t===void 0&&(t={});var n=t.enable,r=n===void 0||n,i=t.scaleX,a=i===void 0?1:i,o=t.scaleY,s=o===void 0?1:o,c=t.zoomTo,l=c===void 0?0:c,u=t.rotateTo;r?e.enable():e.disable(),e.scaleX(a),e.scaleY(s),u!==void 0&&e.rotateTo(u),l>0&&e.zoomTo(l)}(e.currentTarget.cropper,y),g&&g(e)}}));_&&_(e)}return function(){var e;(e=b.current?.cropper)==null||e.destroy()}}),[b]);var x=function(e){return sP.reduce((function(e,t){var n=e,r=t;return n[r],oP(n,[typeof r==`symbol`?r:r+``])}),e)}(aP(aP({},v),{crossOrigin:c,src:a,alt:h}));return V.createElement(`div`,{style:o,className:s},V.createElement(`img`,aP({},x,{style:cP,ref:b})))})),{seconds:`seconds`,minutes:`minutes`}.minutes,V.Component,V.Component,V.Component,V.Component,V.Component;function lP(e,t){let n=typeof e==`string`?e:typeof e==`object`&&e?e.en??``:``,r=/\("(.*)"\)\s*$/.exec(n);return r?r[1]:n||t}function uP(e){let t=e.slice(0,e.lastIndexOf(`.`)),n=t.slice(t.lastIndexOf(`_`)+1);if(!/^\d{10,}$/.test(n))return;let r=Number(n);return Number.isFinite(r)?r:void 0}function dP(e,t,n,r){try{return`${new URL(e).origin}/${t}/${n}/${r}`}catch{return``}}function fP(e){if(e.endsWith(`.jpg`)||e.endsWith(`.jpeg`)||e.endsWith(`.png`))return`image`;if(e.endsWith(`.mp4`))return`video`}async function pP(e,t){let n=await e.getObjectViewSystem(`device`,`${t}.`,`${t}.香`),r=[];for(let i of Object.keys(n||{}).sort()){let a=i.slice(t.length+1);if(a.includes(`.`))continue;let o=await e.getStates(`${i}.*.url`),s=[];for(let e of Object.keys(o||{}).sort()){let t=o[e]?.val;if(typeof t!=`string`||!t)continue;let n=fP(t);if(!n)continue;let r=e.split(`.`);s.push({kind:r[r.length-2],type:n,currentUrl:t,recordings:[]})}if(!s.length)continue;let c={deviceId:a,fullId:i,name:lP(n[i]?.common?.name,a),media:s},l=[];try{l=await e.readDir(t,a)}catch{l=[]}for(let e of c.media){let t=e.kind.toLowerCase().includes(`hd`);e.recordings=l.filter(n=>fP(n.file)===e.type?e.type===`video`||n.file.toLowerCase().includes(`hdsnapshot`)===t:!1).map(e=>({file:e.file,timestamp:uP(e.file)})).filter(e=>e.timestamp!==void 0).sort((e,t)=>(t.timestamp??0)-(e.timestamp??0))}r.push(c)}return r}var mP=``;function hP({media:e,namespace:t,deviceId:n,dateFormat:r}){let[i,a]=(0,V.useState)(mP),o=(0,V.useRef)(null),s=(0,V.useMemo)(()=>i===mP?e.currentUrl:dP(e.currentUrl,t,n,i),[i,e.currentUrl,t,n]);(0,V.useEffect)(()=>{o.current?.load()},[s]);let c=Pk.t(e.kind);return(0,H.jsx)(jp,{variant:`outlined`,sx:{height:`100%`,display:`flex`,flexDirection:`column`},children:(0,H.jsxs)(Fp,{sx:{display:`flex`,flexDirection:`column`,gap:1,height:`100%`},children:[(0,H.jsx)(Mu,{variant:`h6`,color:`primary`,sx:{textAlign:`center`},children:c}),e.type===`image`?(0,H.jsx)(`img`,{src:s,alt:c,title:Pk.t(`Open in full screen`),style:{maxWidth:`100%`,cursor:`zoom-in`,borderRadius:4},onClick:e=>void e.currentTarget.requestFullscreen?.()}):(0,H.jsx)(`video`,{ref:o,playsInline:!0,preload:`auto`,controls:!0,style:{maxWidth:`100%`,borderRadius:4},children:(0,H.jsx)(`source`,{src:s,type:`video/mp4`})}),e.recordings.length>0&&(0,H.jsxs)(Sh,{fullWidth:!0,size:`small`,sx:{mt:`auto`},children:[(0,H.jsx)(Yh,{id:`${n}-${e.kind}-label`,children:Pk.t(`ChooseDate`)}),(0,H.jsxs)(bv,{labelId:`${n}-${e.kind}-label`,label:Pk.t(`ChooseDate`),value:i,onChange:e=>a(e.target.value),children:[(0,H.jsx)(j_,{value:mP,children:(0,H.jsx)(`em`,{children:Pk.t(`Latest recording`)})}),e.recordings.map(e=>(0,H.jsx)(j_,{value:e.file,children:r(e.timestamp)},e.file))]})]})]})})}var gP={"ring-adapter":`Ring Adapter`,"ring-access":`Access your Ring cameras and doorbell`,ChooseDate:`Please choose a date`,Snapshot:`Snapshot`,HDSnapshot:`HD snapshot`,Livestream:`Live stream`,"Latest recording":`Latest recording`,"No cameras found":`No cameras found`,"The adapter has not created any camera objects yet":`The adapter has not created any camera objects yet`,"Open in full screen":`Open in full screen`,"Could not read the media files":`Could not read the media files`},_P={"ring-adapter":`Ring Adapter`,"ring-access":`Zugriff auf Ihre Ring Kameras und Türklingeln`,ChooseDate:`Bitte ein Datum wählen`,Snapshot:`Schnappschuss`,HDSnapshot:`HD-Schnappschuss`,Livestream:`Livestream`,"Latest recording":`Neueste Aufnahme`,"No cameras found":`Keine Kameras gefunden`,"The adapter has not created any camera objects yet":`Der Adapter hat noch keine Kamera-Objekte angelegt`,"Open in full screen":`Im Vollbild öffnen`,"Could not read the media files":`Die Mediendateien konnten nicht gelesen werden`},vP={"ring-adapter":`Ring Адаптер`,"ring-access":`Доступ к вашим камерам и дверным звонкам Ring`,ChooseDate:`Выберите дату`,Snapshot:`Снимок`,HDSnapshot:`HD-снимок`,Livestream:`Прямая трансляция`,"Latest recording":`Последняя запись`,"No cameras found":`Камеры не найдены`,"The adapter has not created any camera objects yet":`Адаптер ещё не создал объекты камер`,"Open in full screen":`Открыть во весь экран`,"Could not read the media files":`Не удалось прочитать медиафайлы`},yP={"ring-adapter":`Adaptador Ring`,"ring-access":`Aceda às suas câmaras e campainhas Ring`,ChooseDate:`Escolha uma data`,Snapshot:`Instantâneo`,HDSnapshot:`Instantâneo HD`,Livestream:`Transmissão em direto`,"Latest recording":`Gravação mais recente`,"No cameras found":`Nenhuma câmara encontrada`,"The adapter has not created any camera objects yet":`O adaptador ainda não criou objetos de câmara`,"Open in full screen":`Abrir em ecrã inteiro`,"Could not read the media files":`Não foi possível ler os ficheiros de média`},bP={"ring-adapter":`Ring Adapter`,"ring-access":`Toegang tot uw Ring-camera’s en deurbel`,ChooseDate:`Kies een datum`,Snapshot:`Momentopname`,HDSnapshot:`HD-momentopname`,Livestream:`Livestream`,"Latest recording":`Nieuwste opname`,"No cameras found":`Geen camera’s gevonden`,"The adapter has not created any camera objects yet":`De adapter heeft nog geen cameraobjecten aangemaakt`,"Open in full screen":`Op volledig scherm openen`,"Could not read the media files":`Kon de mediabestanden niet lezen`},xP={"ring-adapter":`Adaptateur Ring`,"ring-access":`Accédez à vos caméras et sonnettes Ring`,ChooseDate:`Veuillez choisir une date`,Snapshot:`Instantané`,HDSnapshot:`Instantané HD`,Livestream:`Flux en direct`,"Latest recording":`Dernier enregistrement`,"No cameras found":`Aucune caméra trouvée`,"The adapter has not created any camera objects yet":`L’adaptateur n’a pas encore créé d’objets caméra`,"Open in full screen":`Ouvrir en plein écran`,"Could not read the media files":`Impossible de lire les fichiers multimédias`},SP={"ring-adapter":`Adattatore Ring`,"ring-access":`Accedi alle tue telecamere e ai campanelli Ring`,ChooseDate:`Scegli una data`,Snapshot:`Istantanea`,HDSnapshot:`Istantanea HD`,Livestream:`Diretta streaming`,"Latest recording":`Ultima registrazione`,"No cameras found":`Nessuna telecamera trovata`,"The adapter has not created any camera objects yet":`L’adattatore non ha ancora creato oggetti telecamera`,"Open in full screen":`Apri a schermo intero`,"Could not read the media files":`Impossibile leggere i file multimediali`},CP={"ring-adapter":`Adaptador Ring`,"ring-access":`Acceda a sus cámaras y timbres Ring`,ChooseDate:`Elija una fecha`,Snapshot:`Instantánea`,HDSnapshot:`Instantánea HD`,Livestream:`Transmisión en directo`,"Latest recording":`Última grabación`,"No cameras found":`No se encontraron cámaras`,"The adapter has not created any camera objects yet":`El adaptador aún no ha creado objetos de cámara`,"Open in full screen":`Abrir en pantalla completa`,"Could not read the media files":`No se pudieron leer los archivos multimedia`},wP={"ring-adapter":`Adapter Ring`,"ring-access":`Dostęp do kamer i dzwonków Ring`,ChooseDate:`Wybierz datę`,Snapshot:`Migawka`,HDSnapshot:`Migawka HD`,Livestream:`Transmisja na żywo`,"Latest recording":`Najnowsze nagranie`,"No cameras found":`Nie znaleziono kamer`,"The adapter has not created any camera objects yet":`Adapter nie utworzył jeszcze obiektów kamer`,"Open in full screen":`Otwórz na pełnym ekranie`,"Could not read the media files":`Nie można odczytać plików multimedialnych`},TP={"ring-adapter":`Адаптер Ring`,"ring-access":`Доступ до ваших камер і дзвінків Ring`,ChooseDate:`Виберіть дату`,Snapshot:`Знімок`,HDSnapshot:`HD-знімок`,Livestream:`Прямий ефір`,"Latest recording":`Останній запис`,"No cameras found":`Камер не знайдено`,"The adapter has not created any camera objects yet":`Адаптер ще не створив об’єкти камер`,"Open in full screen":`Відкрити на весь екран`,"Could not read the media files":`Не вдалося прочитати медіафайли`},EP={"ring-adapter":`Ring 适配器`,"ring-access":`访问您的 Ring 摄像头和门铃`,ChooseDate:`请选择日期`,Snapshot:`快照`,HDSnapshot:`高清快照`,Livestream:`实时视频`,"Latest recording":`最新录制`,"No cameras found":`未找到摄像头`,"The adapter has not created any camera objects yet":`适配器尚未创建任何摄像头对象`,"Open in full screen":`全屏打开`,"Could not read the media files":`无法读取媒体文件`},DP=class extends Zk{constructor(e){super(e,{translations:{en:gP,de:_P,ru:vP,pt:yP,nl:bP,fr:xP,it:SP,es:CP,pl:wP,uk:TP,"zh-cn":EP}}),Object.assign(this.state,{cameras:[],loadingCameras:!0,error:``})}async onConnectionReady(){await this.reload()}async reload(){this.setState({loadingCameras:!0,error:``});try{let e=await pP(this.socket,`${this.adapterName}.${this.instance}`);this.setState({cameras:e,loadingCameras:!1})}catch(e){this.setState({loadingCameras:!1,error:`${Pk.t(`Could not read the media files`)}: ${e.message??e}`})}}formatDate=e=>new Date(e).toLocaleString(Pk.getLanguage());render(){if(!this.state.loaded)return(0,H.jsx)(Wt,{injectFirst:!0,children:(0,H.jsx)(Ic,{theme:this.state.theme,children:(0,H.jsx)(Dk,{themeType:this.state.themeType})})});let e=`${this.adapterName}.${this.instance}`;return(0,H.jsx)(Wt,{injectFirst:!0,children:(0,H.jsxs)(Ic,{theme:this.state.theme,children:[(0,H.jsx)(om,{}),(0,H.jsxs)(rp,{sx:{height:`100%`,overflow:`auto`,pb:2},children:[(0,H.jsx)(Lu,{position:`static`,sx:{borderRadius:1,mb:2},children:(0,H.jsxs)(Jv,{sx:{display:`flex`,flexDirection:`column`,alignItems:`flex-start`,py:1},children:[(0,H.jsx)(Mu,{variant:`h6`,children:Pk.t(`ring-adapter`)}),(0,H.jsx)(Mu,{variant:`body2`,children:Pk.t(`ring-access`)})]})}),this.state.error?(0,H.jsx)(Dl,{sx:{p:2,mx:1},children:(0,H.jsx)(Mu,{color:`error`,children:this.state.error})}):null,this.state.loadingCameras?(0,H.jsx)(Dk,{themeType:this.state.themeType}):this.state.cameras.length===0?(0,H.jsxs)(Dl,{sx:{p:2,mx:1},children:[(0,H.jsx)(Mu,{variant:`h6`,children:Pk.t(`No cameras found`)}),(0,H.jsx)(Mu,{variant:`body2`,children:Pk.t(`The adapter has not created any camera objects yet`)})]}):this.state.cameras.map(t=>(0,H.jsxs)(rp,{sx:{mb:3,mx:1},children:[(0,H.jsx)(Mu,{variant:`h5`,sx:{textAlign:`center`,p:1,mb:1,borderRadius:1,backgroundColor:`#174475`,color:`#eceef0`},children:t.name}),(0,H.jsx)(Fh,{container:!0,spacing:2,children:t.media.map(n=>(0,H.jsx)(Fh,{size:{xs:12,md:6,lg:4},children:(0,H.jsx)(hP,{media:n,namespace:e,deviceId:t.deviceId,dateFormat:this.formatDate})},n.kind))})]},t.fullId))]})]})})}};window.adapterName=`ring`;var OP=document.getElementById(`root`);OP&&(0,ay.createRoot)(OP).render((0,H.jsx)(DP,{}));
|