(e)
| 42 | }), r; |
| 43 | } |
| 44 | function c(e) { |
| 45 | var t = []; |
| 46 | return (function a(e, n) { |
| 47 | for ( |
| 48 | var i = e.firstChild; |
| 49 | i; |
| 50 | i = i.nextSibling |
| 51 | ) 3 === i.nodeType ? (n += i.nodeValue.length) : 1 === i.nodeType && (t.push({ event: 'start', offset: n, node: i }), (n = a(i, n)), r(i).match(/br|hr|img|input/) || t.push({ event: 'stop', offset: n, node: i })); |
| 52 | return n; |
| 53 | })(e, 0), t; |
| 54 | } |
| 55 | function o(e, a, n) { |
| 56 | function i() { |
| 57 | return e.length && a.length |