Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/wincloud_gateway/node_modules/@buffetjs/core/node_modules/reactstrap/es/ drwxr-xr-x | |
| Viewing file: Select action/file-type: import _extends from "@babel/runtime/helpers/esm/extends";
import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose";
import React, { Component } from 'react';
import Alert from './Alert';
var UncontrolledAlert = /*#__PURE__*/function (_Component) {
_inheritsLoose(UncontrolledAlert, _Component);
function UncontrolledAlert(props) {
var _this;
_this = _Component.call(this, props) || this;
_this.state = {
isOpen: true
};
_this.toggle = _this.toggle.bind(_assertThisInitialized(_this));
return _this;
}
var _proto = UncontrolledAlert.prototype;
_proto.toggle = function toggle() {
this.setState({
isOpen: !this.state.isOpen
});
};
_proto.render = function render() {
return /*#__PURE__*/React.createElement(Alert, _extends({
isOpen: this.state.isOpen,
toggle: this.toggle
}, this.props));
};
return UncontrolledAlert;
}(Component);
export default UncontrolledAlert; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0055 ]-- |