@matterbridge/frontend 3.4.17 → 3.4.18-dev-20260620-9802e5b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import{a as e}from"./rolldown-runtime.js";import{c as t}from"./vendor_emotion.js";import{s as n}from"./vendor_node_modules.js";import{qt as r}from"./vendor_mui.js";var i=e(t()),a=e(r());function o(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=o(e[t]))&&(r&&(r+=` `),r+=n);else for(t in e)e[t]&&(r&&(r+=` `),r+=t);return r}function s(){for(var e,t,n=0,r=``;n<arguments.length;)(e=arguments[n++])&&(t=o(e))&&(r&&(r+=` `),r+=t);return r}function c(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,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function f(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function p(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}var m=function(){return``},h=i.createContext({enqueueSnackbar:m,closeSnackbar:m}),g={downXs:`@media (max-width:599.95px)`,upSm:`@media (min-width:600px)`},_=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},v=function(e){return``+_(e.vertical)+_(e.horizontal)},y=function(e){return!!e||e===0},b=`unmounted`,x=`exited`,S=`entering`,C=`entered`,w=`exiting`,T=function(e){d(t,e);function t(t){var n=e.call(this,t)||this,r=t.appear,i;return n.appearStatus=null,t.in?r?(i=x,n.appearStatus=S):i=C:i=t.unmountOnExit||t.mountOnEnter?b:x,n.state={status:i},n.nextCallback=null,n}t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===b?{status:x}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==S&&n!==C&&(t=S):(n===S||n===C)&&(t=w)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=e,n=e;return e!=null&&typeof e!=`number`&&typeof e!=`string`&&(n=e.exit,t=e.enter),{exit:n,enter:t}},n.updateStatus=function(e,t){e===void 0&&(e=!1),t===null?this.props.unmountOnExit&&this.state.status===x&&this.setState({status:b}):(this.cancelNextCallback(),t===S?this.performEnter(e):this.performExit())},n.performEnter=function(e){var t=this,n=this.props.enter,r=e,i=this.getTimeouts();if(!e&&!n){this.safeSetState({status:C},function(){t.props.onEntered&&t.props.onEntered(t.node,r)});return}this.props.onEnter&&this.props.onEnter(this.node,r),this.safeSetState({status:S},function(){t.props.onEntering&&t.props.onEntering(t.node,r),t.onTransitionEnd(i.enter,function(){t.safeSetState({status:C},function(){t.props.onEntered&&t.props.onEntered(t.node,r)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts();if(!t){this.safeSetState({status:x},function(){e.props.onExited&&e.props.onExited(e.node)});return}this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:w},function(){e.props.onExiting&&e.props.onExiting(e.node),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:x},function(){e.props.onExited&&e.props.onExited(e.node)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&this.nextCallback.cancel&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(){n&&(n=!1,t.nextCallback=null,e())},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=e==null&&!this.props.addEndListener;if(!this.node||n){setTimeout(this.nextCallback,0);return}this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),e!=null&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===b)return null;var t=this.props,n=t.children;return n(e,f(t,[`children`,`in`,`mountOnEnter`,`unmountOnExit`,`appear`,`enter`,`exit`,`timeout`,`addEndListener`,`onEnter`,`onEntering`,`onEntered`,`onExit`,`onExiting`,`onExited`,`nodeRef`]))},l(t,[{key:`node`,get:function(){var e=this.props.nodeRef?.current;if(!e)throw Error(`notistack - Custom snackbar is not refForwarding`);return e}}]),t}(i.Component);function E(){}T.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E};function D(e,t){typeof e==`function`?e(t):e&&(e.current=t)}function O(e,t){return(0,i.useMemo)(function(){return e==null&&t==null?null:function(n){D(e,n),D(t,n)}},[e,t])}function k(e){var t=e.timeout,n=e.style,r=n===void 0?{}:n,i=e.mode;return{duration:typeof t==`object`?t[i]||0:t,easing:r.transitionTimingFunction,delay:r.transitionDelay}}var A={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)`},j=function(e){e.scrollTop=e.scrollTop},ee=function(e){return Math.round(e)+`ms`};function M(e,t){e===void 0&&(e=[`all`]);var n=t||{},r=n.duration,i=r===void 0?300:r,a=n.easing,o=a===void 0?A.easeInOut:a,s=n.delay,c=s===void 0?0:s;return(Array.isArray(e)?e:[e]).map(function(e){var t=typeof i==`string`?i:ee(i),n=typeof c==`string`?c:ee(c);return e+` `+t+` `+o+` `+n}).join(`,`)}function te(e){return e&&e.ownerDocument||document}function ne(e){return te(e).defaultView||window}function re(e,t){t===void 0&&(t=166);var n;function r(){var r=this,i=[...arguments];clearTimeout(n),n=setTimeout(function(){e.apply(r,i)},t)}return r.clear=function(){clearTimeout(n)},r}function ie(e,t){var n=t.getBoundingClientRect(),r=ne(t),i;if(t.fakeTransform)i=t.fakeTransform;else{var a=r.getComputedStyle(t);i=a.getPropertyValue(`-webkit-transform`)||a.getPropertyValue(`transform`)}var o=0,s=0;if(i&&i!==`none`&&typeof i==`string`){var c=i.split(`(`)[1].split(`)`)[0].split(`,`);o=parseInt(c[4],10),s=parseInt(c[5],10)}switch(e){case`left`:return`translateX(`+(r.innerWidth+o-n.left)+`px)`;case`right`:return`translateX(-`+(n.left+n.width-o)+`px)`;case`up`:return`translateY(`+(r.innerHeight+s-n.top)+`px)`;default:return`translateY(-`+(n.top+n.height-s)+`px)`}}function N(e,t){if(t){var n=ie(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}}var P=(0,i.forwardRef)(function(e,t){var n=e.children,r=e.direction,a=r===void 0?`down`:r,o=e.in,s=e.style,c=e.timeout,l=c===void 0?0:c,d=e.onEnter,p=e.onEntered,m=e.onExit,h=e.onExited,g=f(e,[`children`,`direction`,`in`,`style`,`timeout`,`onEnter`,`onEntered`,`onExit`,`onExited`]),_=(0,i.useRef)(null),v=O(O(n.ref,_),t),y=function(e,t){N(a,e),j(e),d&&d(e,t)},b=function(e){var t=s?.transitionTimingFunction||A.easeOut,n=k({timeout:l,mode:`enter`,style:u({},s,{transitionTimingFunction:t})});e.style.webkitTransition=M(`-webkit-transform`,n),e.style.transition=M(`transform`,n),e.style.webkitTransform=`none`,e.style.transform=`none`},x=function(e){var t=s?.transitionTimingFunction||A.sharp,n=k({timeout:l,mode:`exit`,style:u({},s,{transitionTimingFunction:t})});e.style.webkitTransition=M(`-webkit-transform`,n),e.style.transition=M(`transform`,n),N(a,e),m&&m(e)},S=function(e){e.style.webkitTransition=``,e.style.transition=``,h&&h(e)},C=(0,i.useCallback)(function(){_.current&&N(a,_.current)},[a]);return(0,i.useEffect)(function(){if(!(o||a===`down`||a===`right`)){var e=re(function(){_.current&&N(a,_.current)}),t=ne(_.current);return t.addEventListener(`resize`,e),function(){e.clear(),t.removeEventListener(`resize`,e)}}},[a,o]),(0,i.useEffect)(function(){o||C()},[o,C]),(0,i.createElement)(T,Object.assign({appear:!0,nodeRef:_,onEnter:y,onEntered:p,onEntering:b,onExit:x,onExited:S,in:o,timeout:l},g),function(e,t){return(0,i.cloneElement)(n,u({ref:v,style:u({visibility:e===`exited`&&!o?`hidden`:void 0},s,{},n.props.style)},t))})});P.displayName=`Slide`;var F=function(e){return i.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,focusable:`false`,style:{fontSize:20,marginInlineEnd:8,userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,fill:`currentColor`,flexShrink:0}},e))},I={maxSnack:3,persist:!1,hideIconVariant:!1,disableWindowBlurListener:!1,variant:`default`,autoHideDuration:5e3,iconVariant:{default:void 0,success:i.createElement(function(){return i.createElement(F,null,i.createElement(`path`,{d:`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41
1
+ import{a as e}from"./rolldown-runtime.js";import{c as t}from"./vendor_emotion.js";import{f as n}from"./vendor_node_modules.js";import{qt as r}from"./vendor_mui.js";var i=e(t()),a=e(r());function o(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=o(e[t]))&&(r&&(r+=` `),r+=n);else for(t in e)e[t]&&(r&&(r+=` `),r+=t);return r}function s(){for(var e,t,n=0,r=``;n<arguments.length;)(e=arguments[n++])&&(t=o(e))&&(r&&(r+=` `),r+=t);return r}function c(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,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function f(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function p(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}var m=function(){return``},h=i.createContext({enqueueSnackbar:m,closeSnackbar:m}),g={downXs:`@media (max-width:599.95px)`,upSm:`@media (min-width:600px)`},_=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},v=function(e){return``+_(e.vertical)+_(e.horizontal)},y=function(e){return!!e||e===0},b=`unmounted`,x=`exited`,S=`entering`,C=`entered`,w=`exiting`,T=function(e){d(t,e);function t(t){var n=e.call(this,t)||this,r=t.appear,i;return n.appearStatus=null,t.in?r?(i=x,n.appearStatus=S):i=C:i=t.unmountOnExit||t.mountOnEnter?b:x,n.state={status:i},n.nextCallback=null,n}t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===b?{status:x}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==S&&n!==C&&(t=S):(n===S||n===C)&&(t=w)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=e,n=e;return e!=null&&typeof e!=`number`&&typeof e!=`string`&&(n=e.exit,t=e.enter),{exit:n,enter:t}},n.updateStatus=function(e,t){e===void 0&&(e=!1),t===null?this.props.unmountOnExit&&this.state.status===x&&this.setState({status:b}):(this.cancelNextCallback(),t===S?this.performEnter(e):this.performExit())},n.performEnter=function(e){var t=this,n=this.props.enter,r=e,i=this.getTimeouts();if(!e&&!n){this.safeSetState({status:C},function(){t.props.onEntered&&t.props.onEntered(t.node,r)});return}this.props.onEnter&&this.props.onEnter(this.node,r),this.safeSetState({status:S},function(){t.props.onEntering&&t.props.onEntering(t.node,r),t.onTransitionEnd(i.enter,function(){t.safeSetState({status:C},function(){t.props.onEntered&&t.props.onEntered(t.node,r)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts();if(!t){this.safeSetState({status:x},function(){e.props.onExited&&e.props.onExited(e.node)});return}this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:w},function(){e.props.onExiting&&e.props.onExiting(e.node),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:x},function(){e.props.onExited&&e.props.onExited(e.node)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&this.nextCallback.cancel&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(){n&&(n=!1,t.nextCallback=null,e())},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=e==null&&!this.props.addEndListener;if(!this.node||n){setTimeout(this.nextCallback,0);return}this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),e!=null&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===b)return null;var t=this.props,n=t.children;return n(e,f(t,[`children`,`in`,`mountOnEnter`,`unmountOnExit`,`appear`,`enter`,`exit`,`timeout`,`addEndListener`,`onEnter`,`onEntering`,`onEntered`,`onExit`,`onExiting`,`onExited`,`nodeRef`]))},l(t,[{key:`node`,get:function(){var e=this.props.nodeRef?.current;if(!e)throw Error(`notistack - Custom snackbar is not refForwarding`);return e}}]),t}(i.Component);function E(){}T.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E};function D(e,t){typeof e==`function`?e(t):e&&(e.current=t)}function O(e,t){return(0,i.useMemo)(function(){return e==null&&t==null?null:function(n){D(e,n),D(t,n)}},[e,t])}function k(e){var t=e.timeout,n=e.style,r=n===void 0?{}:n,i=e.mode;return{duration:typeof t==`object`?t[i]||0:t,easing:r.transitionTimingFunction,delay:r.transitionDelay}}var A={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)`},j=function(e){e.scrollTop=e.scrollTop},ee=function(e){return Math.round(e)+`ms`};function M(e,t){e===void 0&&(e=[`all`]);var n=t||{},r=n.duration,i=r===void 0?300:r,a=n.easing,o=a===void 0?A.easeInOut:a,s=n.delay,c=s===void 0?0:s;return(Array.isArray(e)?e:[e]).map(function(e){var t=typeof i==`string`?i:ee(i),n=typeof c==`string`?c:ee(c);return e+` `+t+` `+o+` `+n}).join(`,`)}function te(e){return e&&e.ownerDocument||document}function ne(e){return te(e).defaultView||window}function re(e,t){t===void 0&&(t=166);var n;function r(){var r=this,i=[...arguments];clearTimeout(n),n=setTimeout(function(){e.apply(r,i)},t)}return r.clear=function(){clearTimeout(n)},r}function ie(e,t){var n=t.getBoundingClientRect(),r=ne(t),i;if(t.fakeTransform)i=t.fakeTransform;else{var a=r.getComputedStyle(t);i=a.getPropertyValue(`-webkit-transform`)||a.getPropertyValue(`transform`)}var o=0,s=0;if(i&&i!==`none`&&typeof i==`string`){var c=i.split(`(`)[1].split(`)`)[0].split(`,`);o=parseInt(c[4],10),s=parseInt(c[5],10)}switch(e){case`left`:return`translateX(`+(r.innerWidth+o-n.left)+`px)`;case`right`:return`translateX(-`+(n.left+n.width-o)+`px)`;case`up`:return`translateY(`+(r.innerHeight+s-n.top)+`px)`;default:return`translateY(-`+(n.top+n.height-s)+`px)`}}function N(e,t){if(t){var n=ie(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}}var P=(0,i.forwardRef)(function(e,t){var n=e.children,r=e.direction,a=r===void 0?`down`:r,o=e.in,s=e.style,c=e.timeout,l=c===void 0?0:c,d=e.onEnter,p=e.onEntered,m=e.onExit,h=e.onExited,g=f(e,[`children`,`direction`,`in`,`style`,`timeout`,`onEnter`,`onEntered`,`onExit`,`onExited`]),_=(0,i.useRef)(null),v=O(O(n.ref,_),t),y=function(e,t){N(a,e),j(e),d&&d(e,t)},b=function(e){var t=s?.transitionTimingFunction||A.easeOut,n=k({timeout:l,mode:`enter`,style:u({},s,{transitionTimingFunction:t})});e.style.webkitTransition=M(`-webkit-transform`,n),e.style.transition=M(`transform`,n),e.style.webkitTransform=`none`,e.style.transform=`none`},x=function(e){var t=s?.transitionTimingFunction||A.sharp,n=k({timeout:l,mode:`exit`,style:u({},s,{transitionTimingFunction:t})});e.style.webkitTransition=M(`-webkit-transform`,n),e.style.transition=M(`transform`,n),N(a,e),m&&m(e)},S=function(e){e.style.webkitTransition=``,e.style.transition=``,h&&h(e)},C=(0,i.useCallback)(function(){_.current&&N(a,_.current)},[a]);return(0,i.useEffect)(function(){if(!(o||a===`down`||a===`right`)){var e=re(function(){_.current&&N(a,_.current)}),t=ne(_.current);return t.addEventListener(`resize`,e),function(){e.clear(),t.removeEventListener(`resize`,e)}}},[a,o]),(0,i.useEffect)(function(){o||C()},[o,C]),(0,i.createElement)(T,Object.assign({appear:!0,nodeRef:_,onEnter:y,onEntered:p,onEntering:b,onExit:x,onExited:S,in:o,timeout:l},g),function(e,t){return(0,i.cloneElement)(n,u({ref:v,style:u({visibility:e===`exited`&&!o?`hidden`:void 0},s,{},n.props.style)},t))})});P.displayName=`Slide`;var F=function(e){return i.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,focusable:`false`,style:{fontSize:20,marginInlineEnd:8,userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,fill:`currentColor`,flexShrink:0}},e))},I={maxSnack:3,persist:!1,hideIconVariant:!1,disableWindowBlurListener:!1,variant:`default`,autoHideDuration:5e3,iconVariant:{default:void 0,success:i.createElement(function(){return i.createElement(F,null,i.createElement(`path`,{d:`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41
2
2
  10.59L10 14.17L17.59 6.58L19 8L10 17Z`}))},null),warning:i.createElement(function(){return i.createElement(F,null,i.createElement(`path`,{d:`M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z`}))},null),error:i.createElement(function(){return i.createElement(F,null,i.createElement(`path`,{d:`M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,
3
3
  6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,
4
4
  13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z`}))},null),info:i.createElement(function(){return i.createElement(F,null,i.createElement(`path`,{d:`M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,