gwchq-textjam 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +154 -379
- package/dist/style.css +4 -122
- package/package.json +1 -1
- package/dist/assets/gwc-logoa61b092912e3c38825d3.svg +0 -33
package/dist/index.js
CHANGED
|
@@ -281760,289 +281760,6 @@ module.exports.polyfill = function(object) {
|
|
|
281760
281760
|
}
|
|
281761
281761
|
|
|
281762
281762
|
|
|
281763
|
-
/***/ }),
|
|
281764
|
-
|
|
281765
|
-
/***/ 23350:
|
|
281766
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
281767
|
-
|
|
281768
|
-
var __webpack_unused_export__;
|
|
281769
|
-
|
|
281770
|
-
|
|
281771
|
-
__webpack_unused_export__ = ({
|
|
281772
|
-
value: true
|
|
281773
|
-
});
|
|
281774
|
-
__webpack_unused_export__ = undefined;
|
|
281775
|
-
|
|
281776
|
-
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
281777
|
-
|
|
281778
|
-
var _class, _temp2;
|
|
281779
|
-
|
|
281780
|
-
exports.ZX = confirmAlert;
|
|
281781
|
-
|
|
281782
|
-
var _react = __webpack_require__(51649);
|
|
281783
|
-
|
|
281784
|
-
var _react2 = _interopRequireDefault(_react);
|
|
281785
|
-
|
|
281786
|
-
var _propTypes = __webpack_require__(5556);
|
|
281787
|
-
|
|
281788
|
-
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
281789
|
-
|
|
281790
|
-
var _reactDom = __webpack_require__(7516);
|
|
281791
|
-
|
|
281792
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
281793
|
-
|
|
281794
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
281795
|
-
|
|
281796
|
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
281797
|
-
|
|
281798
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
281799
|
-
|
|
281800
|
-
var ReactConfirmAlert = (_temp2 = _class = function (_Component) {
|
|
281801
|
-
_inherits(ReactConfirmAlert, _Component);
|
|
281802
|
-
|
|
281803
|
-
function ReactConfirmAlert() {
|
|
281804
|
-
var _ref;
|
|
281805
|
-
|
|
281806
|
-
var _temp, _this, _ret;
|
|
281807
|
-
|
|
281808
|
-
_classCallCheck(this, ReactConfirmAlert);
|
|
281809
|
-
|
|
281810
|
-
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
281811
|
-
args[_key] = arguments[_key];
|
|
281812
|
-
}
|
|
281813
|
-
|
|
281814
|
-
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = ReactConfirmAlert.__proto__ || Object.getPrototypeOf(ReactConfirmAlert)).call.apply(_ref, [this].concat(args))), _this), _this.handleClickButton = function (button) {
|
|
281815
|
-
if (button.onClick) button.onClick();
|
|
281816
|
-
_this.close();
|
|
281817
|
-
}, _this.handleClickOverlay = function (e) {
|
|
281818
|
-
var _this$props = _this.props,
|
|
281819
|
-
closeOnClickOutside = _this$props.closeOnClickOutside,
|
|
281820
|
-
onClickOutside = _this$props.onClickOutside;
|
|
281821
|
-
|
|
281822
|
-
var isClickOutside = e.target === _this.overlay;
|
|
281823
|
-
|
|
281824
|
-
if (closeOnClickOutside && isClickOutside) {
|
|
281825
|
-
onClickOutside();
|
|
281826
|
-
_this.close();
|
|
281827
|
-
}
|
|
281828
|
-
}, _this.close = function () {
|
|
281829
|
-
var afterClose = _this.props.afterClose;
|
|
281830
|
-
|
|
281831
|
-
removeBodyClass();
|
|
281832
|
-
removeElementReconfirm();
|
|
281833
|
-
removeSVGBlurReconfirm(afterClose);
|
|
281834
|
-
}, _this.keyboardClose = function (event) {
|
|
281835
|
-
var _this$props2 = _this.props,
|
|
281836
|
-
closeOnEscape = _this$props2.closeOnEscape,
|
|
281837
|
-
onKeypressEscape = _this$props2.onKeypressEscape,
|
|
281838
|
-
keyCodeForClose = _this$props2.keyCodeForClose;
|
|
281839
|
-
|
|
281840
|
-
var keyCode = event.keyCode;
|
|
281841
|
-
var isKeyCodeEscape = keyCode === 27;
|
|
281842
|
-
|
|
281843
|
-
if (keyCodeForClose.includes(keyCode)) {
|
|
281844
|
-
_this.close();
|
|
281845
|
-
}
|
|
281846
|
-
|
|
281847
|
-
if (closeOnEscape && isKeyCodeEscape) {
|
|
281848
|
-
onKeypressEscape(event);
|
|
281849
|
-
_this.close();
|
|
281850
|
-
}
|
|
281851
|
-
}, _this.componentDidMount = function () {
|
|
281852
|
-
document.addEventListener('keydown', _this.keyboardClose, false);
|
|
281853
|
-
}, _this.componentWillUnmount = function () {
|
|
281854
|
-
document.removeEventListener('keydown', _this.keyboardClose, false);
|
|
281855
|
-
_this.props.willUnmount();
|
|
281856
|
-
}, _this.renderCustomUI = function () {
|
|
281857
|
-
var _this$props3 = _this.props,
|
|
281858
|
-
title = _this$props3.title,
|
|
281859
|
-
message = _this$props3.message,
|
|
281860
|
-
buttons = _this$props3.buttons,
|
|
281861
|
-
customUI = _this$props3.customUI;
|
|
281862
|
-
|
|
281863
|
-
var dataCustomUI = {
|
|
281864
|
-
title: title,
|
|
281865
|
-
message: message,
|
|
281866
|
-
buttons: buttons,
|
|
281867
|
-
onClose: _this.close
|
|
281868
|
-
};
|
|
281869
|
-
|
|
281870
|
-
return customUI(dataCustomUI);
|
|
281871
|
-
}, _temp), _possibleConstructorReturn(_this, _ret);
|
|
281872
|
-
}
|
|
281873
|
-
|
|
281874
|
-
_createClass(ReactConfirmAlert, [{
|
|
281875
|
-
key: 'render',
|
|
281876
|
-
value: function render() {
|
|
281877
|
-
var _this2 = this;
|
|
281878
|
-
|
|
281879
|
-
var _props = this.props,
|
|
281880
|
-
title = _props.title,
|
|
281881
|
-
message = _props.message,
|
|
281882
|
-
buttons = _props.buttons,
|
|
281883
|
-
childrenElement = _props.childrenElement,
|
|
281884
|
-
customUI = _props.customUI,
|
|
281885
|
-
overlayClassName = _props.overlayClassName;
|
|
281886
|
-
|
|
281887
|
-
|
|
281888
|
-
return _react2.default.createElement(
|
|
281889
|
-
'div',
|
|
281890
|
-
{
|
|
281891
|
-
className: 'react-confirm-alert-overlay ' + overlayClassName,
|
|
281892
|
-
ref: function ref(dom) {
|
|
281893
|
-
return _this2.overlay = dom;
|
|
281894
|
-
},
|
|
281895
|
-
onClick: this.handleClickOverlay
|
|
281896
|
-
},
|
|
281897
|
-
_react2.default.createElement(
|
|
281898
|
-
'div',
|
|
281899
|
-
{ className: 'react-confirm-alert' },
|
|
281900
|
-
customUI ? this.renderCustomUI() : _react2.default.createElement(
|
|
281901
|
-
'div',
|
|
281902
|
-
{ className: 'react-confirm-alert-body' },
|
|
281903
|
-
title && _react2.default.createElement(
|
|
281904
|
-
'h1',
|
|
281905
|
-
null,
|
|
281906
|
-
title
|
|
281907
|
-
),
|
|
281908
|
-
message,
|
|
281909
|
-
childrenElement(),
|
|
281910
|
-
_react2.default.createElement(
|
|
281911
|
-
'div',
|
|
281912
|
-
{ className: 'react-confirm-alert-button-group' },
|
|
281913
|
-
buttons.map(function (button, i) {
|
|
281914
|
-
return _react2.default.createElement(
|
|
281915
|
-
'button',
|
|
281916
|
-
{ key: i, onClick: function onClick() {
|
|
281917
|
-
return _this2.handleClickButton(button);
|
|
281918
|
-
}, className: button.className },
|
|
281919
|
-
button.label
|
|
281920
|
-
);
|
|
281921
|
-
})
|
|
281922
|
-
)
|
|
281923
|
-
)
|
|
281924
|
-
)
|
|
281925
|
-
);
|
|
281926
|
-
}
|
|
281927
|
-
}]);
|
|
281928
|
-
|
|
281929
|
-
return ReactConfirmAlert;
|
|
281930
|
-
}(_react.Component), _class.propTypes = {
|
|
281931
|
-
title: _propTypes2.default.string,
|
|
281932
|
-
message: _propTypes2.default.string,
|
|
281933
|
-
buttons: _propTypes2.default.array.isRequired,
|
|
281934
|
-
childrenElement: _propTypes2.default.func,
|
|
281935
|
-
customUI: _propTypes2.default.func,
|
|
281936
|
-
closeOnClickOutside: _propTypes2.default.bool,
|
|
281937
|
-
closeOnEscape: _propTypes2.default.bool,
|
|
281938
|
-
keyCodeForClose: _propTypes2.default.arrayOf(_propTypes2.default.number),
|
|
281939
|
-
willUnmount: _propTypes2.default.func,
|
|
281940
|
-
afterClose: _propTypes2.default.func,
|
|
281941
|
-
onClickOutside: _propTypes2.default.func,
|
|
281942
|
-
onKeypressEscape: _propTypes2.default.func,
|
|
281943
|
-
overlayClassName: _propTypes2.default.string
|
|
281944
|
-
}, _class.defaultProps = {
|
|
281945
|
-
buttons: [{
|
|
281946
|
-
label: 'Cancel',
|
|
281947
|
-
onClick: function onClick() {
|
|
281948
|
-
return null;
|
|
281949
|
-
},
|
|
281950
|
-
className: null
|
|
281951
|
-
}, {
|
|
281952
|
-
label: 'Confirm',
|
|
281953
|
-
onClick: function onClick() {
|
|
281954
|
-
return null;
|
|
281955
|
-
},
|
|
281956
|
-
className: null
|
|
281957
|
-
}],
|
|
281958
|
-
childrenElement: function childrenElement() {
|
|
281959
|
-
return null;
|
|
281960
|
-
},
|
|
281961
|
-
closeOnClickOutside: true,
|
|
281962
|
-
closeOnEscape: true,
|
|
281963
|
-
keyCodeForClose: [],
|
|
281964
|
-
willUnmount: function willUnmount() {
|
|
281965
|
-
return null;
|
|
281966
|
-
},
|
|
281967
|
-
afterClose: function afterClose() {
|
|
281968
|
-
return null;
|
|
281969
|
-
},
|
|
281970
|
-
onClickOutside: function onClickOutside() {
|
|
281971
|
-
return null;
|
|
281972
|
-
},
|
|
281973
|
-
onKeypressEscape: function onKeypressEscape() {
|
|
281974
|
-
return null;
|
|
281975
|
-
}
|
|
281976
|
-
}, _temp2);
|
|
281977
|
-
__webpack_unused_export__ = ReactConfirmAlert;
|
|
281978
|
-
|
|
281979
|
-
|
|
281980
|
-
function createSVGBlurReconfirm() {
|
|
281981
|
-
// If has svg ignore to create the svg
|
|
281982
|
-
var svg = document.getElementById('react-confirm-alert-firm-svg');
|
|
281983
|
-
if (svg) return;
|
|
281984
|
-
var svgNS = 'http://www.w3.org/2000/svg';
|
|
281985
|
-
var feGaussianBlur = document.createElementNS(svgNS, 'feGaussianBlur');
|
|
281986
|
-
feGaussianBlur.setAttribute('stdDeviation', '0.3');
|
|
281987
|
-
|
|
281988
|
-
var filter = document.createElementNS(svgNS, 'filter');
|
|
281989
|
-
filter.setAttribute('id', 'gaussian-blur');
|
|
281990
|
-
filter.appendChild(feGaussianBlur);
|
|
281991
|
-
|
|
281992
|
-
var svgElem = document.createElementNS(svgNS, 'svg');
|
|
281993
|
-
svgElem.setAttribute('id', 'react-confirm-alert-firm-svg');
|
|
281994
|
-
svgElem.setAttribute('class', 'react-confirm-alert-svg');
|
|
281995
|
-
svgElem.appendChild(filter);
|
|
281996
|
-
|
|
281997
|
-
document.body.appendChild(svgElem);
|
|
281998
|
-
}
|
|
281999
|
-
|
|
282000
|
-
function removeSVGBlurReconfirm(afterClose) {
|
|
282001
|
-
var svg = document.getElementById('react-confirm-alert-firm-svg');
|
|
282002
|
-
if (svg) {
|
|
282003
|
-
svg.parentNode.removeChild(svg);
|
|
282004
|
-
}
|
|
282005
|
-
document.body.children[0].classList.remove('react-confirm-alert-blur');
|
|
282006
|
-
afterClose();
|
|
282007
|
-
}
|
|
282008
|
-
|
|
282009
|
-
function createElementReconfirm(properties) {
|
|
282010
|
-
var divTarget = document.getElementById('react-confirm-alert');
|
|
282011
|
-
if (divTarget) {
|
|
282012
|
-
// Rerender - the mounted ReactConfirmAlert
|
|
282013
|
-
(0, _reactDom.render)(_react2.default.createElement(ReactConfirmAlert, properties), divTarget);
|
|
282014
|
-
} else {
|
|
282015
|
-
// Mount the ReactConfirmAlert component
|
|
282016
|
-
document.body.children[0].classList.add('react-confirm-alert-blur');
|
|
282017
|
-
divTarget = document.createElement('div');
|
|
282018
|
-
divTarget.id = 'react-confirm-alert';
|
|
282019
|
-
document.body.appendChild(divTarget);
|
|
282020
|
-
(0, _reactDom.render)(_react2.default.createElement(ReactConfirmAlert, properties), divTarget);
|
|
282021
|
-
}
|
|
282022
|
-
}
|
|
282023
|
-
|
|
282024
|
-
function removeElementReconfirm() {
|
|
282025
|
-
var target = document.getElementById('react-confirm-alert');
|
|
282026
|
-
if (target) {
|
|
282027
|
-
(0, _reactDom.unmountComponentAtNode)(target);
|
|
282028
|
-
target.parentNode.removeChild(target);
|
|
282029
|
-
}
|
|
282030
|
-
}
|
|
282031
|
-
|
|
282032
|
-
function addBodyClass() {
|
|
282033
|
-
document.body.classList.add('react-confirm-alert-body-element');
|
|
282034
|
-
}
|
|
282035
|
-
|
|
282036
|
-
function removeBodyClass() {
|
|
282037
|
-
document.body.classList.remove('react-confirm-alert-body-element');
|
|
282038
|
-
}
|
|
282039
|
-
|
|
282040
|
-
function confirmAlert(properties) {
|
|
282041
|
-
addBodyClass();
|
|
282042
|
-
createSVGBlurReconfirm();
|
|
282043
|
-
createElementReconfirm(properties);
|
|
282044
|
-
}
|
|
282045
|
-
|
|
282046
281763
|
/***/ }),
|
|
282047
281764
|
|
|
282048
281765
|
/***/ 97473:
|
|
@@ -323940,8 +323657,6 @@ function SvgTabbedView(props) {
|
|
|
323940
323657
|
})));
|
|
323941
323658
|
}
|
|
323942
323659
|
/* harmony default export */ const tabbed_view = (SvgTabbedView);
|
|
323943
|
-
// EXTERNAL MODULE: ./node_modules/react-confirm-alert/lib/index.js
|
|
323944
|
-
var react_confirm_alert_lib = __webpack_require__(23350);
|
|
323945
323660
|
;// ./node_modules/@remix-run/router/dist/router.js
|
|
323946
323661
|
/**
|
|
323947
323662
|
* @remix-run/router v1.20.0
|
|
@@ -331785,18 +331500,15 @@ function useViewTransitionState(to, opts) {
|
|
|
331785
331500
|
|
|
331786
331501
|
//# sourceMappingURL=index.js.map
|
|
331787
331502
|
|
|
331788
|
-
;// ./src/
|
|
331503
|
+
;// ./src/components/Button/styles.module.scss
|
|
331789
331504
|
// extracted by mini-css-extract-plugin
|
|
331790
|
-
|
|
331505
|
+
/* harmony default export */ const styles_module = ({"grey-rpi-grey-15":"#d5d7dc","grey-rpi-grey-40":"#9497a4","grey-rpi-grey-5":"#f1f2f3","grey-rpi-grey-70":"#4a4d59","grey-rpf-white":"#fff","btn":"styles-module__btn--0Px6W","btn--primary":"styles-module__btn--primary--k7oQ0","btn-outer":"styles-module__btn-outer--4KgkG","btn--secondary":"styles-module__btn--secondary--tK09f","btn--tertiary":"styles-module__btn--tertiary--jf5po","btn--danger":"styles-module__btn--danger--SmsoX","btn--small":"styles-module__btn--small--cJ2bM","btnOuter":"styles-module__btnOuter--ip64U","svgOnly":"styles-module__svgOnly--eXeyf","user":"styles-module__user--3fNDf","primary":"styles-module__primary--AeI1M","secondary":"styles-module__secondary--tAMJR","tertiary":"styles-module__tertiary--Kr5w9"});
|
|
331791
331506
|
;// ./src/components/Button/Button.jsx
|
|
331792
331507
|
|
|
331793
331508
|
|
|
331794
331509
|
|
|
331795
331510
|
|
|
331796
331511
|
|
|
331797
|
-
|
|
331798
|
-
|
|
331799
|
-
|
|
331800
331512
|
var Button = props => {
|
|
331801
331513
|
var {
|
|
331802
331514
|
className,
|
|
@@ -331809,35 +331521,25 @@ var Button = props => {
|
|
|
331809
331521
|
buttonOuterClassName,
|
|
331810
331522
|
buttonRef,
|
|
331811
331523
|
disabled,
|
|
331812
|
-
confirmText,
|
|
331813
331524
|
href,
|
|
331814
331525
|
text,
|
|
331815
331526
|
title,
|
|
331816
331527
|
label,
|
|
331817
331528
|
buttonIconPosition = "left",
|
|
331529
|
+
variant,
|
|
331818
331530
|
isUser
|
|
331819
331531
|
} = props;
|
|
331820
|
-
var {
|
|
331821
|
-
|
|
331822
|
-
|
|
331823
|
-
|
|
331824
|
-
|
|
331825
|
-
|
|
331826
|
-
|
|
331532
|
+
var VARIANT_CLASSES = {
|
|
331533
|
+
primary: styles_module.primary,
|
|
331534
|
+
secondary: styles_module.secondary,
|
|
331535
|
+
tertiary: styles_module.tertiary
|
|
331536
|
+
};
|
|
331537
|
+
var buttonClass = classnames_default()(styles_module.btn, className, {
|
|
331538
|
+
[styles_module.svgOnly]: !buttonText,
|
|
331539
|
+
[styles_module.user]: isUser
|
|
331540
|
+
}, VARIANT_CLASSES[variant] || '');
|
|
331827
331541
|
var onButtonClick = e => {
|
|
331828
|
-
|
|
331829
|
-
onClickHandler(e);
|
|
331830
|
-
return;
|
|
331831
|
-
}
|
|
331832
|
-
(0,react_confirm_alert_lib/* confirmAlert */.ZX)({
|
|
331833
|
-
message: confirmText,
|
|
331834
|
-
buttons: [{
|
|
331835
|
-
label: t("button.yes"),
|
|
331836
|
-
onClick: () => onClickHandler(e)
|
|
331837
|
-
}, {
|
|
331838
|
-
label: t("button.no")
|
|
331839
|
-
}]
|
|
331840
|
-
});
|
|
331542
|
+
onClickHandler(e);
|
|
331841
331543
|
};
|
|
331842
331544
|
var onKeyDown = e => {
|
|
331843
331545
|
e.stopPropagation();
|
|
@@ -331877,7 +331579,7 @@ var Button = props => {
|
|
|
331877
331579
|
});
|
|
331878
331580
|
if (buttonOuter) {
|
|
331879
331581
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
331880
|
-
className: classnames_default()(
|
|
331582
|
+
className: classnames_default()([styles_module.btnOuter], {
|
|
331881
331583
|
buttonOuterClassName
|
|
331882
331584
|
}),
|
|
331883
331585
|
onClick: onButtonClick,
|
|
@@ -331961,7 +331663,6 @@ var RunButton = _ref => {
|
|
|
331961
331663
|
};
|
|
331962
331664
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(Button_Button, _objectSpread2({
|
|
331963
331665
|
disabled: !activeRunner || activeRunner !== loadedRunner || codeRunLoading,
|
|
331964
|
-
className: "btn--primary btn--run".concat(className ? " ".concat(className) : ""),
|
|
331965
331666
|
onClickHandler: onClickRun
|
|
331966
331667
|
}, props));
|
|
331967
331668
|
};
|
|
@@ -332017,21 +331718,26 @@ var StopButton = _ref => {
|
|
|
332017
331718
|
return button;
|
|
332018
331719
|
};
|
|
332019
331720
|
/* harmony default export */ const RunButton_StopButton = (StopButton);
|
|
332020
|
-
;// ./src/assets/icons/run.svg
|
|
332021
|
-
var
|
|
332022
|
-
function
|
|
331721
|
+
;// ./src/assets/icons/tj-run.svg
|
|
331722
|
+
var tj_run_path;
|
|
331723
|
+
function tj_run_extends() { return tj_run_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, tj_run_extends.apply(null, arguments); }
|
|
332023
331724
|
|
|
332024
|
-
function
|
|
332025
|
-
return /*#__PURE__*/external_react_.createElement("svg",
|
|
332026
|
-
width:
|
|
331725
|
+
function SvgTjRun(props) {
|
|
331726
|
+
return /*#__PURE__*/external_react_.createElement("svg", tj_run_extends({
|
|
331727
|
+
width: 14,
|
|
332027
331728
|
height: 14,
|
|
332028
331729
|
fill: "none",
|
|
332029
331730
|
xmlns: "http://www.w3.org/2000/svg"
|
|
332030
|
-
}, props),
|
|
332031
|
-
d: "
|
|
331731
|
+
}, props), tj_run_path || (tj_run_path = /*#__PURE__*/external_react_.createElement("path", {
|
|
331732
|
+
d: "M2.917 1.75L11.083 7l-8.166 5.25V1.75z",
|
|
331733
|
+
fill: "#33625E",
|
|
331734
|
+
stroke: "#33625E",
|
|
331735
|
+
strokeWidth: 2,
|
|
331736
|
+
strokeLinecap: "round",
|
|
331737
|
+
strokeLinejoin: "round"
|
|
332032
331738
|
})));
|
|
332033
331739
|
}
|
|
332034
|
-
/* harmony default export */ const
|
|
331740
|
+
/* harmony default export */ const tj_run = (SvgTjRun);
|
|
332035
331741
|
;// ./src/assets/icons/stop.svg
|
|
332036
331742
|
var stop_path;
|
|
332037
331743
|
function stop_extends() { return stop_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, stop_extends.apply(null, arguments); }
|
|
@@ -332055,7 +331761,6 @@ function SvgStop(props) {
|
|
|
332055
331761
|
|
|
332056
331762
|
|
|
332057
331763
|
|
|
332058
|
-
|
|
332059
331764
|
var RunnerControls = _ref => {
|
|
332060
331765
|
var {
|
|
332061
331766
|
embedded = false,
|
|
@@ -332063,21 +331768,19 @@ var RunnerControls = _ref => {
|
|
|
332063
331768
|
} = _ref;
|
|
332064
331769
|
var codeRunTriggered = (0,external_react_redux_namespaceObject.useSelector)(state => state.editor.codeRunTriggered);
|
|
332065
331770
|
var drawTriggered = (0,external_react_redux_namespaceObject.useSelector)(state => state.editor.drawTriggered);
|
|
332066
|
-
var {
|
|
332067
|
-
t
|
|
332068
|
-
} = useTranslation_useTranslation();
|
|
332069
331771
|
return codeRunTriggered || drawTriggered ? /*#__PURE__*/(0,jsx_runtime.jsx)(RunButton_StopButton, {
|
|
332070
331772
|
embedded: embedded,
|
|
332071
|
-
buttonText:
|
|
331773
|
+
buttonText: "Stop",
|
|
332072
331774
|
ButtonIcon: stop,
|
|
332073
331775
|
buttonIconPosition: "right",
|
|
332074
331776
|
buttonOuter: skinny,
|
|
332075
331777
|
className: "btn--stop btn--primary".concat(skinny ? " btn--small" : "")
|
|
332076
331778
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(RunButton_RunButton, {
|
|
332077
331779
|
embedded: embedded,
|
|
332078
|
-
buttonText:
|
|
332079
|
-
ButtonIcon:
|
|
332080
|
-
buttonIconPosition: "
|
|
331780
|
+
buttonText: "Run",
|
|
331781
|
+
ButtonIcon: tj_run,
|
|
331782
|
+
buttonIconPosition: "left",
|
|
331783
|
+
variant: "primary",
|
|
332081
331784
|
buttonOuter: skinny,
|
|
332082
331785
|
className: skinny ? "btn--small" : ""
|
|
332083
331786
|
});
|
|
@@ -332915,7 +332618,7 @@ var RunnerFactory = _ref => {
|
|
|
332915
332618
|
/* harmony default export */ const Runners_RunnerFactory = (RunnerFactory);
|
|
332916
332619
|
;// ./src/components/RunButton/styles.module.scss
|
|
332917
332620
|
// extracted by mini-css-extract-plugin
|
|
332918
|
-
/* harmony default export */ const
|
|
332621
|
+
/* harmony default export */ const RunButton_styles_module = ({"grey-rpi-grey-15":"#d5d7dc","grey-rpi-grey-40":"#9497a4","grey-rpi-grey-5":"#f1f2f3","grey-rpi-grey-70":"#4a4d59","grey-rpf-white":"#fff","runBar":"styles-module__runBar--JA+8h"});
|
|
332919
332622
|
;// ./src/components/RunButton/RunBar.jsx
|
|
332920
332623
|
|
|
332921
332624
|
|
|
@@ -332926,7 +332629,7 @@ var RunBar = _ref => {
|
|
|
332926
332629
|
embedded = false
|
|
332927
332630
|
} = _ref;
|
|
332928
332631
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
332929
|
-
className:
|
|
332632
|
+
className: RunButton_styles_module.runBar,
|
|
332930
332633
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RunButton_RunnerControls, {
|
|
332931
332634
|
embedded: embedded
|
|
332932
332635
|
})
|
|
@@ -338359,23 +338062,47 @@ var SaveStatus = _ref => {
|
|
|
338359
338062
|
});
|
|
338360
338063
|
};
|
|
338361
338064
|
/* harmony default export */ const SaveStatus_SaveStatus = (SaveStatus);
|
|
338362
|
-
;// ./src/assets/icons/download.svg
|
|
338363
|
-
var
|
|
338364
|
-
function
|
|
338065
|
+
;// ./src/assets/icons/tj-download.svg
|
|
338066
|
+
var tj_download_path;
|
|
338067
|
+
function tj_download_extends() { return tj_download_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, tj_download_extends.apply(null, arguments); }
|
|
338365
338068
|
|
|
338366
|
-
function
|
|
338367
|
-
return /*#__PURE__*/external_react_.createElement("svg",
|
|
338368
|
-
width:
|
|
338369
|
-
height:
|
|
338069
|
+
function SvgTjDownload(props) {
|
|
338070
|
+
return /*#__PURE__*/external_react_.createElement("svg", tj_download_extends({
|
|
338071
|
+
width: 16,
|
|
338072
|
+
height: 16,
|
|
338370
338073
|
fill: "none",
|
|
338371
338074
|
xmlns: "http://www.w3.org/2000/svg"
|
|
338372
|
-
}, props),
|
|
338373
|
-
d: "
|
|
338075
|
+
}, props), tj_download_path || (tj_download_path = /*#__PURE__*/external_react_.createElement("path", {
|
|
338076
|
+
d: "M8 10V2m0 8L4.667 6.667M8 10l3.333-3.333M14 10v2.667A1.334 1.334 0 0112.667 14H3.333A1.334 1.334 0 012 12.667V10",
|
|
338077
|
+
stroke: "#33625E",
|
|
338078
|
+
strokeWidth: 1.5,
|
|
338079
|
+
strokeLinecap: "round",
|
|
338080
|
+
strokeLinejoin: "round"
|
|
338374
338081
|
})));
|
|
338375
338082
|
}
|
|
338376
|
-
/* harmony default export */ const
|
|
338083
|
+
/* harmony default export */ const tj_download = (SvgTjDownload);
|
|
338377
338084
|
;// ./src/assets/text_jam_logo.svg
|
|
338378
|
-
|
|
338085
|
+
var text_jam_logo_path, text_jam_logo_path2, _path3;
|
|
338086
|
+
function text_jam_logo_extends() { return text_jam_logo_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, text_jam_logo_extends.apply(null, arguments); }
|
|
338087
|
+
|
|
338088
|
+
function SvgTextJamLogo(props) {
|
|
338089
|
+
return /*#__PURE__*/external_react_.createElement("svg", text_jam_logo_extends({
|
|
338090
|
+
width: 155,
|
|
338091
|
+
height: 36,
|
|
338092
|
+
fill: "none",
|
|
338093
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
338094
|
+
}, props), text_jam_logo_path || (text_jam_logo_path = /*#__PURE__*/external_react_.createElement("path", {
|
|
338095
|
+
d: "M108.871 6.862h5.021v14.336c0 1.329-.306 2.515-.926 3.557a6.336 6.336 0 01-2.583 2.426c-1.104.572-2.337.858-3.693.858-2.276 0-4.047-.572-5.308-1.724-1.26-1.151-1.894-2.773-1.894-4.878h5.049c0 .954.164 1.649.497 2.078.334.43.886.647 1.656.647.702 0 1.234-.259 1.615-.783.382-.525.566-1.254.566-2.188V6.863zM125.592 27.76c-.171-.313-.327-.776-.457-1.39-.892 1.118-2.132 1.677-3.734 1.677-1.465 0-2.705-.443-3.734-1.329-1.029-.886-1.533-1.996-1.533-3.339 0-1.683.62-2.957 1.867-3.815 1.247-.859 3.053-1.295 5.424-1.295h1.492v-.824c0-1.431-.62-2.147-1.853-2.147-1.145 0-1.724.566-1.724 1.704h-4.838c0-1.5.641-2.72 1.915-3.653 1.274-.933 2.903-1.403 4.885-1.403 1.983 0 3.544.484 4.695 1.451 1.152.968 1.738 2.29 1.765 3.973v6.875c.02 1.424.238 2.514.661 3.27v.246h-4.838.007zm-3.026-3.161c.6 0 1.104-.13 1.5-.388.395-.26.681-.552.851-.872v-2.48h-1.403c-1.683 0-2.528.756-2.528 2.268 0 .443.15.797.443 1.07.293.273.674.409 1.131.409l.006-.007zM137.019 12.23l.156 1.82c1.097-1.404 2.576-2.112 4.436-2.112 1.962 0 3.284.777 3.972 2.337 1.05-1.56 2.576-2.337 4.566-2.337 3.148 0 4.763 1.9 4.851 5.71v10.105h-4.851v-9.805c0-.798-.137-1.37-.402-1.738-.266-.368-.757-.545-1.465-.545-.954 0-1.67.422-2.14 1.274l.014.198v10.602h-4.852v-9.771c0-.81-.129-1.404-.388-1.765-.259-.36-.749-.545-1.479-.545-.926 0-1.635.423-2.125 1.274V27.74h-4.838V12.21h4.538l.007.02zM93.322 32.148H3.462V0h89.86v32.148zM4.824 30.785H91.96V1.363H4.824v29.422z",
|
|
338096
|
+
fill: "#A31746"
|
|
338097
|
+
})), text_jam_logo_path2 || (text_jam_logo_path2 = /*#__PURE__*/external_react_.createElement("path", {
|
|
338098
|
+
d: "M14.343 10.092h3.584v14.33h3.584v-14.33h3.584V6.508H14.343v3.584zM32.27 24.422h10.745v-3.584h-7.168v-3.584h7.169V13.67h-7.169v-3.578h7.169V6.508H32.27v17.914zM71.695 6.508v3.584h3.584v14.33h3.584v-14.33h3.584V6.508H71.695zM64.52 20.694h-3.584v3.584h3.584v-3.584zM53.775 13.621h2.269v3.394h-2.27v3.679h7.162v-3.68h-2.42v-3.393h2.42V9.95h-7.161v3.672zM53.774 20.694H50.19v3.584h3.584v-3.584zM53.774 6.365H50.19v3.584h3.584V6.365zM64.52 6.365h-3.584v3.584h3.584V6.365z",
|
|
338099
|
+
fill: "#A31746"
|
|
338100
|
+
})), _path3 || (_path3 = /*#__PURE__*/external_react_.createElement("path", {
|
|
338101
|
+
d: "M88.498 30.785v3.843H1.362V5.213h2.664V3.85H0v32.14h89.86v-5.205h-1.362z",
|
|
338102
|
+
fill: "#A31746"
|
|
338103
|
+
})));
|
|
338104
|
+
}
|
|
338105
|
+
/* harmony default export */ const text_jam_logo = (SvgTextJamLogo);
|
|
338379
338106
|
;// ./src/assets/icons/pencil.svg
|
|
338380
338107
|
var pencil_path;
|
|
338381
338108
|
function pencil_extends() { return pencil_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, pencil_extends.apply(null, arguments); }
|
|
@@ -339814,8 +339541,6 @@ var jszip_utils_lib_default = /*#__PURE__*/__webpack_require__.n(jszip_utils_lib
|
|
|
339814
339541
|
|
|
339815
339542
|
|
|
339816
339543
|
|
|
339817
|
-
var DownloadButton_excluded = ["buttonText", "className", "Icon", "type"];
|
|
339818
|
-
|
|
339819
339544
|
|
|
339820
339545
|
|
|
339821
339546
|
|
|
@@ -339825,13 +339550,6 @@ var DownloadButton_excluded = ["buttonText", "className", "Icon", "type"];
|
|
|
339825
339550
|
|
|
339826
339551
|
|
|
339827
339552
|
var DownloadButton = props => {
|
|
339828
|
-
var {
|
|
339829
|
-
buttonText,
|
|
339830
|
-
className,
|
|
339831
|
-
Icon,
|
|
339832
|
-
type = "secondary"
|
|
339833
|
-
} = props,
|
|
339834
|
-
otherProps = objectWithoutProperties_objectWithoutProperties(props, DownloadButton_excluded);
|
|
339835
339553
|
var {
|
|
339836
339554
|
t
|
|
339837
339555
|
} = useTranslation_useTranslation();
|
|
@@ -339872,14 +339590,9 @@ var DownloadButton = props => {
|
|
|
339872
339590
|
return _ref.apply(this, arguments);
|
|
339873
339591
|
};
|
|
339874
339592
|
}();
|
|
339875
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)(
|
|
339876
|
-
|
|
339877
|
-
|
|
339878
|
-
text: buttonText,
|
|
339879
|
-
textAlways: true,
|
|
339880
|
-
icon: Icon ? /*#__PURE__*/(0,jsx_runtime.jsx)(Icon, {}) : null,
|
|
339881
|
-
type: type
|
|
339882
|
-
}, otherProps));
|
|
339593
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)(Button_Button, _objectSpread2({
|
|
339594
|
+
onClickHandler: onClickDownload
|
|
339595
|
+
}, props));
|
|
339883
339596
|
};
|
|
339884
339597
|
/* harmony default export */ const DownloadButton_DownloadButton = (DownloadButton);
|
|
339885
339598
|
;// ./src/events/WebComponentCustomEvents.js
|
|
@@ -339961,9 +339674,9 @@ var SaveButton = _ref => {
|
|
|
339961
339674
|
});
|
|
339962
339675
|
};
|
|
339963
339676
|
/* harmony default export */ const SaveButton_SaveButton = (SaveButton);
|
|
339964
|
-
;// ./src/
|
|
339677
|
+
;// ./src/components/ProjectBar/styles.module.scss
|
|
339965
339678
|
// extracted by mini-css-extract-plugin
|
|
339966
|
-
|
|
339679
|
+
/* harmony default export */ const ProjectBar_styles_module = ({"grey-rpi-grey-15":"#d5d7dc","grey-rpi-grey-40":"#9497a4","grey-rpi-grey-5":"#f1f2f3","grey-rpi-grey-70":"#4a4d59","grey-rpf-white":"#fff","btnSvg":"styles-module__btnSvg--Ri2uZ"});
|
|
339967
339680
|
;// ./src/components/ProjectBar/ProjectBar.jsx
|
|
339968
339681
|
|
|
339969
339682
|
|
|
@@ -339975,23 +339688,18 @@ var SaveButton = _ref => {
|
|
|
339975
339688
|
|
|
339976
339689
|
|
|
339977
339690
|
|
|
339978
|
-
|
|
339979
339691
|
var ProjectBar = _ref => {
|
|
339980
339692
|
var {
|
|
339981
339693
|
nameEditable = true
|
|
339982
339694
|
} = _ref;
|
|
339983
|
-
var {
|
|
339984
|
-
t
|
|
339985
|
-
} = useTranslation_useTranslation();
|
|
339986
339695
|
var loading = (0,external_react_redux_namespaceObject.useSelector)(state => state.editor.loading);
|
|
339987
339696
|
var saving = (0,external_react_redux_namespaceObject.useSelector)(state => state.editor.saving);
|
|
339988
339697
|
var lastSavedTime = (0,external_react_redux_namespaceObject.useSelector)(state => state.editor.lastSavedTime);
|
|
339989
339698
|
var readOnly = (0,external_react_redux_namespaceObject.useSelector)(state => state.editor.readOnly);
|
|
339990
339699
|
return loading === "success" && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
339991
339700
|
className: "project-bar",
|
|
339992
|
-
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(
|
|
339701
|
+
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(text_jam_logo, {
|
|
339993
339702
|
className: "textJam-logo",
|
|
339994
|
-
src: text_jam_logo_namespaceObject,
|
|
339995
339703
|
alt: "TextJam logo"
|
|
339996
339704
|
}), loading === "success" && /*#__PURE__*/(0,jsx_runtime.jsx)(ProjectName_ProjectName, {
|
|
339997
339705
|
editable: !readOnly && nameEditable,
|
|
@@ -340001,10 +339709,8 @@ var ProjectBar = _ref => {
|
|
|
340001
339709
|
children: [loading === "success" && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
340002
339710
|
className: "project-bar__btn-wrapper",
|
|
340003
339711
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(DownloadButton_DownloadButton, {
|
|
340004
|
-
|
|
340005
|
-
|
|
340006
|
-
Icon: download,
|
|
340007
|
-
type: "tertiary"
|
|
339712
|
+
className: ProjectBar_styles_module.btnSvg,
|
|
339713
|
+
ButtonIcon: tj_download
|
|
340008
339714
|
})
|
|
340009
339715
|
}), loading === "success" && !readOnly && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
340010
339716
|
className: "project-bar__btn-wrapper",
|
|
@@ -340054,7 +339760,77 @@ var SidebarBarOption = props => {
|
|
|
340054
339760
|
};
|
|
340055
339761
|
/* harmony default export */ const Sidebar_SidebarBarOption = (SidebarBarOption);
|
|
340056
339762
|
;// ./src/assets/gwc-logo.svg
|
|
340057
|
-
|
|
339763
|
+
var _rect, _rect2, _g, _defs;
|
|
339764
|
+
function gwc_logo_extends() { return gwc_logo_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, gwc_logo_extends.apply(null, arguments); }
|
|
339765
|
+
|
|
339766
|
+
function SvgGwcLogo(props) {
|
|
339767
|
+
return /*#__PURE__*/external_react_.createElement("svg", gwc_logo_extends({
|
|
339768
|
+
width: 44,
|
|
339769
|
+
height: 44,
|
|
339770
|
+
fill: "none",
|
|
339771
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
339772
|
+
}, props), _rect || (_rect = /*#__PURE__*/external_react_.createElement("rect", {
|
|
339773
|
+
width: 44,
|
|
339774
|
+
height: 44,
|
|
339775
|
+
rx: 12,
|
|
339776
|
+
fill: "url(#gwc-logo_svg__paint0_linear_103_10099)"
|
|
339777
|
+
})), _rect2 || (_rect2 = /*#__PURE__*/external_react_.createElement("rect", {
|
|
339778
|
+
x: 0.5,
|
|
339779
|
+
y: 0.5,
|
|
339780
|
+
width: 43,
|
|
339781
|
+
height: 43,
|
|
339782
|
+
rx: 11.5,
|
|
339783
|
+
stroke: "#000",
|
|
339784
|
+
strokeOpacity: 0.06
|
|
339785
|
+
})), _g || (_g = /*#__PURE__*/external_react_.createElement("g", {
|
|
339786
|
+
clipPath: "url(#gwc-logo_svg__clip0_103_10099)",
|
|
339787
|
+
filter: "url(#gwc-logo_svg__filter0_f_103_10099)",
|
|
339788
|
+
fill: "#fff"
|
|
339789
|
+
}, /*#__PURE__*/external_react_.createElement("path", {
|
|
339790
|
+
d: "M15.169 29.953a.05.05 0 01.024 0h-.024zM33.055 10.624h.011s-.011-.003-.011 0zM13.637 18.454a.04.04 0 000-.007v.012-.005zM21.797 9.706a1.061 1.061 0 000-.138.797.797 0 000 .138zM10.13 32.001zM17.91 18.974c0 .042.002.085.007.128 0-.043-.007-.086-.007-.128zM14.42 32.038a.01.01 0 01.006 0h-.005zM12.473 11.447s.005 0 .006.007v-.007h-.006zM10.945 14.73a.035.035 0 01-.027 0h.027zM13.646 16.387h-.01v.008l.01-.008z"
|
|
339791
|
+
}), /*#__PURE__*/external_react_.createElement("path", {
|
|
339792
|
+
d: "M34.248 9.398h-.783v.999c0 .209-.013.221-.214.221h-.187l-.012.431v1.658c0 .394 0 .394-.37.402l-.009.427v.793c.01.405.01.405-.374.402h-.028v.427c.01.398.01.398-.372.402v.033c0 .398 0 .398-.378.395-.013.415-.013.415-.408.398 0 .4 0 .4-.376.396h-.407c-.38 0-.38 0-.375-.399h-.028c-.378 0-.378 0-.38-.396-.376 0-.376 0-.376-.4v-.031V14.726v-.398-4.103h-.01c-.374-.007-.374-.007-.37-.402V9.43c-.13-.07-.27-.02-.404-.036h-.749v1.06c0 .138-.047.188-.172.177-.077-.007-.154 0-.233 0 0 .276-.006.552-.009.829v2.884c0 .397 0 .397-.37.398l-.007.395v.033c0 .404 0 .404-.376.4l-.021.006s0-.007-.01-.01l.013.008c0 .138-.01.276-.014.414.012.415.012.415-.375.405l-.371.007c0 .392 0 .392-.379.392h-.031c-.37 0-.37 0-.378-.394v-.008h-.377a.039.039 0 01-.025 0h-.015c-.42-.01-.372.102-.36-.4-.511.015-.399.045-.412-.414v-.414-.4a.195.195 0 00-.006-.03c-.376 0-.376 0-.371-.4V13.9v-.398-.398l-.012-.431h-.37c-.053-.054-.03-.124-.03-.188V9.952c0-.117-.023-.168-.146-.164-.25 0-.23.043-.232-.247v-.15h-.753a.036.036 0 000 .027v.673c0 .102-.034.138-.13.138h-.28V10.662c0 .397 0 .397-.372.402v.491c0 .304 0 .307-.282.334-.076.009-.09.045-.096.115 0 .095.033.197-.028.286 0 .396 0 .396-.376.396v.017c0 .4 0 .4-.375.414 0 .213-.008.427 0 .641 0 .148-.05.198-.183.184a2.197 2.197 0 00-.232 0c.009.502.064.388-.372.4v.013a.885.885 0 01-.012.34c-.056.113-.198.026-.299.051a.455.455 0 00-.085.035c0 .128-.006.258-.009.388.01.406.01.406-.375.4v.45c0 .396 0 .396-.38.378.016.397.016.397-.4.405 0 .094-.008.19 0 .276.01.119-.036.15-.144.15-.234 0-.234 0-.234-.25v-.154c-.056-.06-.03-.138-.03-.205v-6.606c0-.215 0-.224-.2-.214-.131.007-.2-.029-.176-.18.025-.153-.043-.204-.182-.19-.063 0-.131.029-.194-.03h-.774v.393c-.093.073-.198.025-.298.035a2.17 2.17 0 01-.232 0c-.244 0-.25 0-.248-.255 0-.12-.042-.153-.146-.138h-.233a.061.061 0 010-.031h-.006v.031c-.261.025-.522-.05-.784-.031H11.688c-.085.062-.18.024-.27.027-.09.003-.105.033-.109.116-.013.277-.017.277-.28.283l-.123.007c0 .405 0 .405-.381.391 0 .474.085.4-.376.397a.5.5 0 00-.025.258c.018.152-.043.196-.176.18a1.442 1.442 0 00-.204 0V11.49c0 .398 0 .398-.373.401 0 .13 0 .261-.007.391V12.718c0 .4 0 .4-.375.4v1.624c.375 0 .375 0 .374.4v.827c.44 0 .37-.026.372.434v.397h.015c.435.013.392-.098.392.434.463 0 .37-.076.376.398.37-.02.37-.02.383.384h-.007v-.01l.403.009c.202 0 .403.008.604 0 .147-.009.195.054.181.201a2.221 2.221 0 000 .228v.01h1.162l.377-.011c0-.424 0-.424.392-.426h.778c0-.393 0-.393.38-.393h.031c.376 0 .376 0 .374.4V19.276c0 .4 0 .4-.376.398v.397c0 .434 0 .434-.408.434v.033c0 .395 0 .395-.373.398v.066c0 .301 0 .304-.28.329-.075.007-.092.041-.097.113-.007.095.035.198-.029.287h-.376v.017c0 .396 0 .396-.377.414v.489c0 .308 0 .313-.28.339-.075.007-.092.041-.098.113-.007.094.04.198-.032.283h-.371V23.794c.01.414.01.414-.372.422 0 .22-.007.44 0 .658 0 .131-.044.18-.165.17-.082-.007-.165 0-.248 0 .023.395.021.396-.367.402v.489c0 .286 0 .289-.267.304-.08 0-.107.031-.11.116a.678.678 0 01-.026.319v.05c-.006.377-.006.377-.37.378h.01c0 .264-.007.528-.01.792v.033c0 .472.053.394-.37.402h.006v.829c.012.543 0 1.084-.03 1.626.066.128.016.265.032.398v.829c0 .138 0 .284.006.426.379 0 .379 0 .368.405v.391c.113 0 .248-.031.333.021.085.053.019.221.045.334a.414.414 0 00.028.076c.371 0 .371 0 .376.395h.373c.375-.006.375-.006.38.394h2.35v-.017c0-.39 0-.39.385-.373h.402c0-.397 0-.397.373-.399a.082.082 0 010-.03c-.02-.405-.02-.405.373-.4v-.674c0-.087.015-.145.115-.154.261-.024.261-.028.261-.314v-.083c.016-.138-.032-.276.03-.398v-.033c0-.396 0-.396.375-.398l.008-.392v-.799-.828-5.135c0-.24 0-.24.235-.242h.14v-3.49c0-.063-.022-.138.026-.189a.095.095 0 00.008-.025c-.021-.407-.021-.407.372-.405-.016-.4-.016-.4.37-.405a.048.048 0 000-.027c0-.216.006-.431 0-.645 0-.138.042-.169.155-.154h.11c.09.009.113-.037.115-.127.003-.09-.034-.188.028-.276.121-.065.252-.012.376-.033v-.388-.098c0-.29 0-.295.26-.307.094 0 .11-.047.113-.138.004-.091-.035-.208.029-.301h.376v-.398-.034c0-.4 0-.4.375-.4.052-.05.03-.113.03-.171 0-.227 0-.227.223-.227h.155c-.017-.402-.017-.402.368-.405v-.395-.098c.007-.104-.036-.225.02-.304.056-.079.174-.026.261-.032.087-.005.09-.045.094-.114 0-.096-.031-.197.029-.285a.096.096 0 000-.026c-.013-.4-.013-.4.37-.406v-.18c0-.217 0-.217.198-.217.197 0 .21 0 .21.22V15.139c.377 0 .377 0 .37.402v.827h.373c.065.082.03.178.03.267 0 .088.032.138.13.138h.154c.075 0 .1.033.098.108v.722c.38-.014.38-.014.379.392h1.013c.105 0 .155.027.145.147-.008.094 0 .188 0 .276v.01h.783l.375-.01c0-.427 0-.427.409-.425h.077c.274 0 .276 0 .297-.292 0-.076.029-.108.102-.106h.31c0-.4 0-.4.374-.402v-.033c-.01-.398-.01-.398.374-.402.014-.401.014-.401.406-.395.376 0 .376 0 .378.393.06.096.026.202.028.303.001.1.032.138.13.131h.109c.103-.012.156.022.145.138-.01.084 0 .172-.008.257.365-.022.365-.02.382.388.212 0 .424.009.637 0 .109 0 .153.032.143.15-.008.092 0 .186 0 .276v.01h1.163v-.01c0-.089.008-.177 0-.265-.01-.118.022-.17.145-.163.213.01.427 0 .64 0 0-.415 0-.415.385-.395l.365-.01c-.022-.24.04-.478.032-.717 0-.078.028-.11.1-.108h.28c-.015-.414-.015-.414.375-.4-.027-.247.04-.49.03-.736 0-.071.032-.096.096-.095h.28V15.08c0-.403 0-.403.375-.4v-.797-.433c0-.397 0-.397.372-.399v-1.087c0-.058-.02-.123.03-.173v-.398c0-.4 0-.4.375-.398v-1.99h-.376c-.007.393-.007.393-.38.393zM14.926 31.606c-.076 0-.094.038-.1.112-.006.108.035.22-.028.32 0 .405 0 .405-.381.395h-.077c-.276 0-.278 0-.295.29 0 .089-.04.112-.115.108h-1.071c-.377.02-.377.02-.382-.39-.13-.02-.282.054-.371-.037-.089-.09-.01-.26-.04-.39-.382 0-.382 0-.371-.404V29.958v-.398-.827c0-.4 0-.4.374-.4.03-.138-.018-.291.032-.43v-.117c0-.26 0-.262.248-.276.074 0 .098-.033.102-.11a.735.735 0 01.024-.324l.015.014-.015-.011V26.65c0-.396 0-.396.374-.397v-.082c0-.293 0-.296.274-.313.084 0 .103-.042.104-.12a.618.618 0 01.024-.29 2.187 2.187 0 000-.26c-.014-.139.04-.175.158-.162.072.004.144.004.217 0v-.391c0-.398 0-.398.37-.402V24.2c.016-.384.016-.384.376-.4-.02-.233.037-.46.032-.692 0-.095.05-.128.13-.138.08-.01.166 0 .25 0v-.18c0-.216 0-.216.198-.216.199 0 .208 0 .208.222v5.112a.04.04 0 01-.025 0h.025V31.274c.013.303.013.307-.267.332h.003zm.653-19.322v3.312c0 .398 0 .398-.375.399 0 .398 0 .398-.377.398H14.415l-.37.01c0 .393 0 .393-.378.393h-.829c-.365 0-.365 0-.359-.39l-.4-.016c-.378.03-.378.03-.392-.388-.119-.028-.284.057-.351-.041-.068-.099-.023-.252-.03-.38a.044.044 0 00-.02-.014c-.392.012-.392.012-.377-.431v-.398l-.012-.395c-.372 0-.372 0-.372-.398v-.437c0-.396 0-.396.372-.397a.063.063 0 00.008-.03v-.794c-.01-.407-.01-.407.375-.4.015-.139-.04-.293.03-.433h.374l.007.012-.01-.012c0-.119-.03-.261.02-.352.05-.091.203-.014.303-.044.152-.03.306-.04.46-.03 0-.397 0-.397.377-.397.209 0 .418.007.625 0 .124 0 .174.034.16.167a1.954 1.954 0 000 .232h.637c.05 0 .105-.018.146.032.372 0 .372 0 .376.394h.031c.37.012.37.012.378.399.376 0 .375 0 .373.4v.034l.012-.005z"
|
|
339793
|
+
}), /*#__PURE__*/external_react_.createElement("path", {
|
|
339794
|
+
d: "M14.418 23.786h-.031a.047.047 0 01.03.007v-.007zM33.838 34.06v2.884a.202.202 0 01-.151.053H20.959a.785.785 0 01-.294-.024.104.104 0 01-.043-.044.594.594 0 01-.029-.245V21.582a.466.466 0 01.038-.257.412.412 0 01.287-.048h12.659a.35.35 0 01.27.053v2.85c-.077.07-.17.047-.26.047H23.581a3.314 3.314 0 00-.573.04.119.119 0 00-.1.04.129.129 0 00-.031.106v8.991c-.008.137.031.213.165.205a.218.218 0 01.13.03.257.257 0 01.056.213c0 .112.04.162.141.156h.222a.886.886 0 01.148 0h9.813a.374.374 0 01.285.053z"
|
|
339795
|
+
}))), _defs || (_defs = /*#__PURE__*/external_react_.createElement("defs", null, /*#__PURE__*/external_react_.createElement("linearGradient", {
|
|
339796
|
+
id: "gwc-logo_svg__paint0_linear_103_10099",
|
|
339797
|
+
x1: 14.942,
|
|
339798
|
+
y1: 4.598,
|
|
339799
|
+
x2: 27.586,
|
|
339800
|
+
y2: 34.483,
|
|
339801
|
+
gradientUnits: "userSpaceOnUse"
|
|
339802
|
+
}, /*#__PURE__*/external_react_.createElement("stop", {
|
|
339803
|
+
stopColor: "#49D8CB"
|
|
339804
|
+
}), /*#__PURE__*/external_react_.createElement("stop", {
|
|
339805
|
+
offset: 1,
|
|
339806
|
+
stopColor: "#269B90"
|
|
339807
|
+
})), /*#__PURE__*/external_react_.createElement("clipPath", {
|
|
339808
|
+
id: "gwc-logo_svg__clip0_103_10099"
|
|
339809
|
+
}, /*#__PURE__*/external_react_.createElement("path", {
|
|
339810
|
+
fill: "#fff",
|
|
339811
|
+
transform: "translate(9 9)",
|
|
339812
|
+
d: "M0 0h26v28H0z"
|
|
339813
|
+
})), /*#__PURE__*/external_react_.createElement("filter", {
|
|
339814
|
+
id: "gwc-logo_svg__filter0_f_103_10099",
|
|
339815
|
+
x: 8.65,
|
|
339816
|
+
y: 8.65,
|
|
339817
|
+
width: 26.699,
|
|
339818
|
+
height: 28.699,
|
|
339819
|
+
filterUnits: "userSpaceOnUse",
|
|
339820
|
+
colorInterpolationFilters: "sRGB"
|
|
339821
|
+
}, /*#__PURE__*/external_react_.createElement("feFlood", {
|
|
339822
|
+
floodOpacity: 0,
|
|
339823
|
+
result: "BackgroundImageFix"
|
|
339824
|
+
}), /*#__PURE__*/external_react_.createElement("feBlend", {
|
|
339825
|
+
in: "SourceGraphic",
|
|
339826
|
+
in2: "BackgroundImageFix",
|
|
339827
|
+
result: "shape"
|
|
339828
|
+
}), /*#__PURE__*/external_react_.createElement("feGaussianBlur", {
|
|
339829
|
+
stdDeviation: 0.175,
|
|
339830
|
+
result: "effect1_foregroundBlur_103_10099"
|
|
339831
|
+
})))));
|
|
339832
|
+
}
|
|
339833
|
+
/* harmony default export */ const gwc_logo = (SvgGwcLogo);
|
|
340058
339834
|
;// ./src/components/Menus/Sidebar/SidebarBar.jsx
|
|
340059
339835
|
|
|
340060
339836
|
|
|
@@ -340073,9 +339849,8 @@ var SidebarBar = props => {
|
|
|
340073
339849
|
className: Sidebar_styles_module.bar,
|
|
340074
339850
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
340075
339851
|
className: Sidebar_styles_module.optionsTop,
|
|
340076
|
-
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(
|
|
339852
|
+
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(gwc_logo, {
|
|
340077
339853
|
className: Sidebar_styles_module.gwcLogo,
|
|
340078
|
-
src: gwc_logo_namespaceObject,
|
|
340079
339854
|
alt: "GWC Logo"
|
|
340080
339855
|
}), topMenuOptions.map((menuOption, i) => /*#__PURE__*/(0,jsx_runtime.jsx)(Sidebar_SidebarBarOption, {
|
|
340081
339856
|
Icon: menuOption.icon,
|
|
@@ -341290,7 +341065,7 @@ function shouldUpdate(dependencies, newCookies, oldCookies) {
|
|
|
341290
341065
|
// extracted by mini-css-extract-plugin
|
|
341291
341066
|
|
|
341292
341067
|
;// ./src/assets/icons/select_buttons_tick.svg
|
|
341293
|
-
var
|
|
341068
|
+
var select_buttons_tick_rect, select_buttons_tick_path;
|
|
341294
341069
|
function select_buttons_tick_extends() { return select_buttons_tick_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, select_buttons_tick_extends.apply(null, arguments); }
|
|
341295
341070
|
|
|
341296
341071
|
function SvgSelectButtonsTick(props) {
|
|
@@ -341299,7 +341074,7 @@ function SvgSelectButtonsTick(props) {
|
|
|
341299
341074
|
height: 24,
|
|
341300
341075
|
fill: "none",
|
|
341301
341076
|
xmlns: "http://www.w3.org/2000/svg"
|
|
341302
|
-
}, props),
|
|
341077
|
+
}, props), select_buttons_tick_rect || (select_buttons_tick_rect = /*#__PURE__*/external_react_.createElement("rect", {
|
|
341303
341078
|
width: 24,
|
|
341304
341079
|
height: 24,
|
|
341305
341080
|
rx: 12
|
|
@@ -341551,7 +341326,7 @@ function SvgTjActivity(props) {
|
|
|
341551
341326
|
}
|
|
341552
341327
|
/* harmony default export */ const tj_activity = (SvgTjActivity);
|
|
341553
341328
|
;// ./src/assets/icons/tj-font.svg
|
|
341554
|
-
var tj_font_path, tj_font_path2,
|
|
341329
|
+
var tj_font_path, tj_font_path2, tj_font_g;
|
|
341555
341330
|
function tj_font_extends() { return tj_font_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, tj_font_extends.apply(null, arguments); }
|
|
341556
341331
|
|
|
341557
341332
|
function SvgTjFont(props) {
|
|
@@ -341578,7 +341353,7 @@ function SvgTjFont(props) {
|
|
|
341578
341353
|
clipRule: "evenodd",
|
|
341579
341354
|
d: "M10.366 21.061l3.828-11.483-10.366.545L0 21.606l10.366-.545z",
|
|
341580
341355
|
fill: "#fff"
|
|
341581
|
-
}))),
|
|
341356
|
+
}))), tj_font_g || (tj_font_g = /*#__PURE__*/external_react_.createElement("g", {
|
|
341582
341357
|
mask: "url(#tj-font_svg__a)"
|
|
341583
341358
|
}, /*#__PURE__*/external_react_.createElement("path", {
|
|
341584
341359
|
d: "M10.062 11.574l-2.785 8.082H5.593l3.509-9.324h1.076l-.116 1.242zm2.331 8.082l-2.792-8.082-.121-1.242h1.082l3.522 9.324h-1.69zm-.134-3.458v1.274H7.187v-1.274h5.072z",
|