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2B,IAAjBD,EAA0B,QAAUA,EAC9CE,EAAWN,EAAKM,SAChBC,EAAcP,EAAKO,YAGnBC,EAAa3C,GADD,EAAIvB,EAAOmE,WAAU,GACM,GACvCzE,EAAOwE,EAAW,GAClBE,EAAUF,EAAW,GAErBG,GAAM,EAAIlD,EAAW7C,WAEzB,OAAKE,EAIewB,EAAO1B,QAAQgG,cAAc,MAAO,CACtDC,UAAW,eACGvE,EAAO1B,QAAQgG,cAAcd,EAAY,CACvDe,UAAWF,EAAI7F,KACfgG,UAAW,MACXT,QAASA,EACTC,SAAUA,GACIhE,EAAO1B,QAAQgG,cAAc,MAAO,CAClDC,WAAW,EAAIrD,EAAO5C,UAlDDR,EAkD0B,GAlDrB2C,EAkDyB4D,EAAI3E,KAlDxBxB,EAkD8BwB,EAlDjBe,KAAO3C,EAAOC,OAAOC,eAAeF,EAAK2C,EAAK,CAAEvC,MAAOA,EAAOuG,YAAY,EAAMC,cAAc,EAAMC,UAAU,IAAkB7G,EAAI2C,GAAOvC,EAAgBJ,IAmDvM8G,wBAAyB,CACvBC,OAAQrG,MAEPkB,GAAQlB,EAAKsG,QAAQ,0BAA8B,GAAkB9E,EAAO1B,QAAQgG,cAAcf,EAAQ,CAC7GwB,MAAOpB,EACPE,KAAMA,EACNO,QAASA,EACTH,YAAaA,MAnBOjE,EAAO1B,QAAQgG,cAActE,EAAO1B,QAAQ0G,SAAU,OAuB9EvB,EAAYwB,UAAY,CACtBtB,YAAa5C,EAAWzC,QAAQ4G,OAChCrB,KAAM9C,EAAWzC,QAAQ4G,OACzB1G,KAAMuC,EAAWzC,QAAQ4G,OAAOC,WAChCpB,QAAShD,EAAWzC,QAAQ4G,OAC5BlB,SAAUjD,EAAWzC,QAAQ8G,OAC7BnB,YAAalD,EAAWzC,QAAQ8G,QAElC,IAAIjH,EAAWsF,EACfxF,EAAAA,QAAkBE","sources":["../node_modules/@micado-digital/react-text/ReactText01/ReactText01.styles.js","../node_modules/@micado-digital/react-text/ReactText01/index.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _makeStyles = _interopRequireDefault(require(\"@material-ui/styles/makeStyles\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar styles = (0, _makeStyles.default)(function (theme) {\n return {\n text: {\n \"& span.hidden\": {\n display: \"none\"\n },\n \"& ul\": {\n listStyle: \"none\",\n margin: theme.spacing(2, 0),\n \"& li\": {\n margin: theme.spacing(1, 0),\n paddingLeft: theme.spacing(3),\n position: \"relative\",\n \"&:before\": {\n background: theme.palette.text.primary,\n borderRadius: \"50%\",\n content: \"''\",\n height: 6,\n left: theme.spacing(1),\n position: \"absolute\",\n top: \"50%\",\n transform: \"translate(0, -50%)\",\n width: 6\n }\n }\n },\n \"& a\": {\n fontWeight: 700\n }\n },\n show: {\n \"& span.hidden\": {\n display: \"block\"\n }\n }\n };\n});\nvar _default = styles;\nexports.default = _default;","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireWildcard(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _component = _interopRequireDefault(require(\"@loadable/component\"));\n\nvar _clsx2 = _interopRequireDefault(require(\"clsx\"));\n\nvar _ReactText = _interopRequireDefault(require(\"./ReactText01.styles\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar Button = (0, _component.default)(function () {\n return import(\"./Button\");\n});\nvar Typography = (0, _component.default)(function () {\n return import(\"@micado-digital/react-ui/components/Typography\");\n});\n\nvar ReactText01 = function ReactText01(_ref) {\n var buttonLabel = _ref.buttonLabel,\n _ref$lang = _ref.lang,\n lang = _ref$lang === void 0 ? \"de\" : _ref$lang,\n text = _ref.text,\n _ref$variant = _ref.variant,\n variant = _ref$variant === void 0 ? \"body1\" : _ref$variant,\n variants = _ref.variants,\n ButtonProps = _ref.ButtonProps;\n\n var _useState = (0, _react.useState)(false),\n _useState2 = _slicedToArray(_useState, 2),\n show = _useState2[0],\n setShow = _useState2[1];\n\n var css = (0, _ReactText.default)();\n\n if (!text) {\n return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);\n }\n\n return /*#__PURE__*/_react.default.createElement(\"div\", {\n className: \"mco-text-01\"\n }, /*#__PURE__*/_react.default.createElement(Typography, {\n className: css.text,\n component: \"div\",\n variant: variant,\n variants: variants\n }, /*#__PURE__*/_react.default.createElement(\"div\", {\n className: (0, _clsx2.default)(_defineProperty({}, css.show, show)),\n dangerouslySetInnerHTML: {\n __html: text\n }\n }), !show && text.indexOf(\"\") > -1 && /*#__PURE__*/_react.default.createElement(Button, {\n label: buttonLabel,\n lang: lang,\n setShow: setShow,\n ButtonProps: ButtonProps\n })));\n};\n\nReactText01.propTypes = {\n buttonLabel: _propTypes.default.string,\n lang: _propTypes.default.string,\n text: _propTypes.default.string.isRequired,\n variant: _propTypes.default.string,\n variants: _propTypes.default.object,\n ButtonProps: _propTypes.default.object\n};\nvar _default = ReactText01;\nexports.default = _default;"],"names":["obj","Object","defineProperty","exports","value","_default","require","__esModule","default","theme","text","display","listStyle","margin","spacing","paddingLeft","position","background","palette","primary","borderRadius","content","height","left","top","transform","width","fontWeight","show","_typeof","Symbol","iterator","constructor","prototype","_react","nodeInterop","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","hasOwnProperty","call","desc","set","_interopRequireWildcard","_propTypes","_interopRequireDefault","_component","_clsx2","_ReactText","WeakMap","cacheBabelInterop","cacheNodeInterop","_slicedToArray","arr","i","Array","isArray","_arrayWithHoles","_i","_s","_e","_arr","_n","_d","next","done","push","length","err","_iterableToArrayLimit","o","minLen","_arrayLikeToArray","n","toString","slice","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","len","arr2","Button","Typography","ReactText01","_ref","buttonLabel","_ref$lang","lang","_ref$variant","variant","variants","ButtonProps","_useState2","useState","setShow","css","createElement","className","component","enumerable","configurable","writable","dangerouslySetInnerHTML","__html","indexOf","label","Fragment","propTypes","string","isRequired","object"],"sourceRoot":""}