(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subpackage/diyComponents/richText"],{"03f7":function(t,a,n){"use strict";var i=n("3e38"),e=n.n(i);e.a},"23a5":function(t,a,n){"use strict";n.d(a,"b",(function(){return e})),n.d(a,"c",(function(){return o})),n.d(a,"a",(function(){return i}));var i={jyfParser:function(){return Promise.all([n.e("common/vendor"),n.e("components/jyf-parser/jyf-parser")]).then(n.bind(null,"d294"))}},e=function(){var t=this,a=t.$createElement,n=(t._self._c,t.dataConfig.isHide?null:t.__get_style([t.richTextWrapStyle])),i=!t.dataConfig.isHide&&t.description?t.__get_style([t.richTextStyle]):null;t.$mp.data=Object.assign({},{$root:{s0:n,s1:i}})},o=[]},"2ad7":function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={name:"richText",props:{dataConfig:{type:Object,default:function(){}},isSortType:{type:String|Number,default:0}},components:{"jyf-parser":function(){Promise.all([n.e("common/vendor"),n.e("components/jyf-parser/jyf-parser")]).then(function(){return resolve(n("d294"))}.bind(null,n)).catch(n.oe)}},data:function(){return{bgColor:"",lrConfig:0,udConfig:0,tagStyle:{img:"width:100%;display:block;",table:"width:100%",video:"width:100%;float:left;"}}},computed:{description:function(){var t=this.dataConfig.richText.val;return t&&(t=t.replace(/<img/gi,'<img style="max-width:100%;height:auto;float:left;display:block" '),t=t.replace(/<video/gi,'<video style="width:100%;height:auto;display:block" ')),t},richTextStyle:function(){var t="".concat(2*this.dataConfig.fillet.val,"rpx");return this.dataConfig.fillet.type&&(t="".concat(2*this.dataConfig.fillet.valList[0].val,"rpx ").concat(2*this.dataConfig.fillet.valList[1].val,"rpx ").concat(2*this.dataConfig.fillet.valList[2].val,"rpx ").concat(2*this.dataConfig.fillet.valList[3].val,"rpx")),{"border-radius":t,background:this.dataConfig.bgColor.color[0].item}},richTextWrapStyle:function(){return{padding:"".concat(2*this.dataConfig.topConfig.val,"rpx ").concat(2*this.dataConfig.lrConfig.val,"rpx ").concat(2*this.dataConfig.bottomConfig.val,"rpx"),"margin-top":"".concat(2*this.dataConfig.udConfig.val,"rpx"),background:this.dataConfig.bottomBgColor.color[0].item}}}};a.default=i},"3e38":function(t,a,n){},7596:function(t,a,n){"use strict";n.r(a);var i=n("23a5"),e=n("acbc");for(var o in e)["default"].indexOf(o)<0&&function(t){n.d(a,t,(function(){return e[t]}))}(o);n("03f7");var r=n("828b"),l=Object(r["a"])(e["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);a["default"]=l.exports},acbc:function(t,a,n){"use strict";n.r(a);var i=n("2ad7"),e=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(a,t,(function(){return i[t]}))}(o);a["default"]=e.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'subpackage/diyComponents/richText-create-component',
    {
        'subpackage/diyComponents/richText-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("7596"))
        })
    },
    [['subpackage/diyComponents/richText-create-component']]
]);
