Module 207135

963 characters · in e76b0f3552014092.js
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(t,e,r){"use strict";var n=r(724039);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var o=r(595042),a=r(64700),s=r(679443),u=r(181038);t.exports=function(t){function e(){return t.apply(this,arguments)||this}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t,e.prototype.render=function(){var t=this.props,e=t.block,r=t.children,n=t.contentState,c=t.decorator,l=t.decoratorKey,f=t.direction,p=t.leafSet,h=t.text,d=e.getKey(),g=p.get("leaves"),y=c.getComponentForKey(l),v=c.getPropsForKey(l),m=o.encode(d,parseInt(l,10),0),_=h.slice(g.first().get("start"),g.last().get("end")),b=u.getHTMLDirIfDifferent(s.getDirection(_),f);return a.createElement(y,i({},v,{contentState:n,decoratedText:_,dir:b,key:m,entityKey:e.getEntityAt(p.get("start")),offsetKey:m}),r)},e}(a.Component)}