"use strict";(self.webpackChunkauspice=self.webpackChunkauspice||[]).push([[452],{42452:(e,r,t)=>{t.r(r),t.d(r,{default:()=>l});var n=t(82684),a=t(22224),o=["mdstring","placeholder"];function s(){return s=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},s.apply(this,arguments)}function l(e){var r=e.mdstring,t=e.placeholder,l=function(e,r){if(null==e)return{};var t,n,a=function(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}(e,o);try{return n.createElement("div",s({},l,{dangerouslySetInnerHTML:{__html:(0,a.e)(r)}}))}catch(e){return"string"==typeof r?(console.error("There was an error parsing the provided text as Markdown. Using the raw text as-is. Error: ".concat(e)),n.createElement("div",l,n.createElement("p",null,r),n.createElement("p",null,"Note: This message was meant to be rendered with formatting, however there was an error parsing the message as Markdown."))):(console.error("There was an error parsing the provided text as Markdown or raw text. Error: ".concat(e)),n.createElement("div",l,n.createElement("p",null,t)))}}}}]);