Module 885019

483 characters · in e76b0f3552014092.js
Dependencies
Required by (1)
Lazily required by (0)none
Requires (2)
Lazily requires (0)none
Source Raw
function(t,e,r){"use strict";var n=r(1140),i=r(265930),o=function(t,e){return t===e},a=function(t){return!!t},s=[];t.exports=function(t){var e=t.getCharacterList().map(function(t){return t.getStyle()}).toList(),r=e.flatten().toSet().map(function(r){var s;return s=[],i(e.map(function(t){return t.has(r)}).toList(),o,a,function(e,i){var o=t.getText();s.push({offset:n.strlen(o.slice(0,e)),length:n.strlen(o.slice(e,i)),style:r})}),s});return Array.prototype.concat.apply(s,r.toJS())}}