/* automatically generated by JSCoverage - do not edit */
try {
  if (typeof top === 'object' && top !== null && typeof top.opener === 'object' && top.opener !== null) {
    // this is a browser window that was opened from another window

    if (! top.opener._$jscoverage) {
      top.opener._$jscoverage = {};
    }
  }
}
catch (e) {}

try {
  if (typeof top === 'object' && top !== null) {
    // this is a browser window

    try {
      if (typeof top.opener === 'object' && top.opener !== null && top.opener._$jscoverage) {
        top._$jscoverage = top.opener._$jscoverage;
      }
    }
    catch (e) {}

    if (! top._$jscoverage) {
      top._$jscoverage = {};
    }
  }
}
catch (e) {}

try {
  if (typeof top === 'object' && top !== null && top._$jscoverage) {
    _$jscoverage = top._$jscoverage;
  }
}
catch (e) {}
if (typeof _$jscoverage !== 'object') {
  _$jscoverage = {};
}
if (! _$jscoverage['core/filternode.js']) {
  _$jscoverage['core/filternode.js'] = [];
  _$jscoverage['core/filternode.js'][24] = 0;
  _$jscoverage['core/filternode.js'][25] = 0;
  _$jscoverage['core/filternode.js'][26] = 0;
  _$jscoverage['core/filternode.js'][28] = 0;
  _$jscoverage['core/filternode.js'][30] = 0;
  _$jscoverage['core/filternode.js'][31] = 0;
  _$jscoverage['core/filternode.js'][32] = 0;
  _$jscoverage['core/filternode.js'][33] = 0;
  _$jscoverage['core/filternode.js'][34] = 0;
  _$jscoverage['core/filternode.js'][35] = 0;
  _$jscoverage['core/filternode.js'][37] = 0;
  _$jscoverage['core/filternode.js'][38] = 0;
  _$jscoverage['core/filternode.js'][39] = 0;
  _$jscoverage['core/filternode.js'][40] = 0;
  _$jscoverage['core/filternode.js'][41] = 0;
  _$jscoverage['core/filternode.js'][42] = 0;
  _$jscoverage['core/filternode.js'][43] = 0;
  _$jscoverage['core/filternode.js'][48] = 0;
  _$jscoverage['core/filternode.js'][49] = 0;
  _$jscoverage['core/filternode.js'][50] = 0;
  _$jscoverage['core/filternode.js'][51] = 0;
  _$jscoverage['core/filternode.js'][58] = 0;
  _$jscoverage['core/filternode.js'][59] = 0;
  _$jscoverage['core/filternode.js'][60] = 0;
  _$jscoverage['core/filternode.js'][61] = 0;
  _$jscoverage['core/filternode.js'][62] = 0;
  _$jscoverage['core/filternode.js'][64] = 0;
  _$jscoverage['core/filternode.js'][65] = 0;
  _$jscoverage['core/filternode.js'][66] = 0;
  _$jscoverage['core/filternode.js'][67] = 0;
  _$jscoverage['core/filternode.js'][68] = 0;
  _$jscoverage['core/filternode.js'][69] = 0;
  _$jscoverage['core/filternode.js'][72] = 0;
  _$jscoverage['core/filternode.js'][74] = 0;
  _$jscoverage['core/filternode.js'][75] = 0;
  _$jscoverage['core/filternode.js'][79] = 0;
  _$jscoverage['core/filternode.js'][81] = 0;
  _$jscoverage['core/filternode.js'][82] = 0;
  _$jscoverage['core/filternode.js'][83] = 0;
  _$jscoverage['core/filternode.js'][84] = 0;
  _$jscoverage['core/filternode.js'][85] = 0;
  _$jscoverage['core/filternode.js'][92] = 0;
  _$jscoverage['core/filternode.js'][93] = 0;
  _$jscoverage['core/filternode.js'][95] = 0;
  _$jscoverage['core/filternode.js'][97] = 0;
  _$jscoverage['core/filternode.js'][98] = 0;
  _$jscoverage['core/filternode.js'][99] = 0;
  _$jscoverage['core/filternode.js'][100] = 0;
  _$jscoverage['core/filternode.js'][101] = 0;
  _$jscoverage['core/filternode.js'][106] = 0;
  _$jscoverage['core/filternode.js'][108] = 0;
  _$jscoverage['core/filternode.js'][112] = 0;
  _$jscoverage['core/filternode.js'][113] = 0;
  _$jscoverage['core/filternode.js'][114] = 0;
  _$jscoverage['core/filternode.js'][116] = 0;
  _$jscoverage['core/filternode.js'][117] = 0;
  _$jscoverage['core/filternode.js'][118] = 0;
  _$jscoverage['core/filternode.js'][119] = 0;
  _$jscoverage['core/filternode.js'][122] = 0;
  _$jscoverage['core/filternode.js'][123] = 0;
  _$jscoverage['core/filternode.js'][124] = 0;
  _$jscoverage['core/filternode.js'][125] = 0;
  _$jscoverage['core/filternode.js'][128] = 0;
}
_$jscoverage['core/filternode.js'].source = ["<span class=\"c\">/**</span>","<span class=\"c\"> * UE&#36807;&#28388;&#33410;&#28857;&#30340;&#38745;&#24577;&#26041;&#27861;</span>","<span class=\"c\"> * @file</span>","<span class=\"c\"> */</span>","","<span class=\"c\">/**</span>","<span class=\"c\"> * UEditor&#20844;&#29992;&#31354;&#38388;&#65292;UEditor&#25152;&#26377;&#30340;&#21151;&#33021;&#37117;&#25346;&#36733;&#22312;&#35813;&#31354;&#38388;&#19979;</span>","<span class=\"c\"> * @module UE</span>","<span class=\"c\"> */</span>","","","<span class=\"c\">/**</span>","<span class=\"c\"> * &#26681;&#25454;&#20256;&#20837;&#33410;&#28857;&#21644;&#36807;&#28388;&#35268;&#21017;&#36807;&#28388;&#30456;&#24212;&#33410;&#28857;</span>","<span class=\"c\"> * @module UE</span>","<span class=\"c\"> * @since 1.2.6.1</span>","<span class=\"c\"> * @method filterNode</span>","<span class=\"c\"> * @param { Object } root &#25351;&#23450;root&#33410;&#28857;</span>","<span class=\"c\"> * @param { Object } rules &#36807;&#28388;&#35268;&#21017;json&#23545;&#35937;</span>","<span class=\"c\"> * @example</span>","<span class=\"c\"> * ```javascript</span>","<span class=\"c\"> * UE.filterNode(root,editor.options.filterRules);</span>","<span class=\"c\"> * ```</span>","<span class=\"c\"> */</span>","<span class=\"k\">var</span> filterNode <span class=\"k\">=</span> UE<span class=\"k\">.</span>filterNode <span class=\"k\">=</span> <span class=\"k\">function</span> <span class=\"k\">()</span> <span class=\"k\">{</span>","    <span class=\"k\">function</span> filterNode<span class=\"k\">(</span>node<span class=\"k\">,</span>rules<span class=\"k\">)</span><span class=\"k\">{</span>","        <span class=\"k\">switch</span> <span class=\"k\">(</span>node<span class=\"k\">.</span>type<span class=\"k\">)</span> <span class=\"k\">{</span>","            <span class=\"k\">case</span> <span class=\"s\">'text'</span><span class=\"k\">:</span>","                <span class=\"k\">break</span><span class=\"k\">;</span>","            <span class=\"k\">case</span> <span class=\"s\">'element'</span><span class=\"k\">:</span>","                <span class=\"k\">var</span> val<span class=\"k\">;</span>","                <span class=\"k\">if</span><span class=\"k\">(</span>val <span class=\"k\">=</span> rules<span class=\"k\">[</span>node<span class=\"k\">.</span>tagName<span class=\"k\">])</span><span class=\"k\">{</span>","                   <span class=\"k\">if</span><span class=\"k\">(</span>val <span class=\"k\">===</span> <span class=\"s\">'-'</span><span class=\"k\">)</span><span class=\"k\">{</span>","                       node<span class=\"k\">.</span>parentNode<span class=\"k\">.</span>removeChild<span class=\"k\">(</span>node<span class=\"k\">)</span>","                   <span class=\"k\">}</span><span class=\"k\">else</span> <span class=\"k\">if</span><span class=\"k\">(</span>utils<span class=\"k\">.</span>isFunction<span class=\"k\">(</span>val<span class=\"k\">))</span><span class=\"k\">{</span>","                       <span class=\"k\">var</span> parentNode <span class=\"k\">=</span> node<span class=\"k\">.</span>parentNode<span class=\"k\">,</span>","                           index <span class=\"k\">=</span> node<span class=\"k\">.</span>getIndex<span class=\"k\">();</span>","                       val<span class=\"k\">(</span>node<span class=\"k\">);</span>","                       <span class=\"k\">if</span><span class=\"k\">(</span>node<span class=\"k\">.</span>parentNode<span class=\"k\">)</span><span class=\"k\">{</span>","                           <span class=\"k\">if</span><span class=\"k\">(</span>node<span class=\"k\">.</span>children<span class=\"k\">)</span><span class=\"k\">{</span>","                               <span class=\"k\">for</span><span class=\"k\">(</span><span class=\"k\">var</span> i <span class=\"k\">=</span> <span class=\"s\">0</span><span class=\"k\">,</span>ci<span class=\"k\">;</span>ci<span class=\"k\">=</span>node<span class=\"k\">.</span>children<span class=\"k\">[</span>i<span class=\"k\">];)</span><span class=\"k\">{</span>","                                   filterNode<span class=\"k\">(</span>ci<span class=\"k\">,</span>rules<span class=\"k\">);</span>","                                   <span class=\"k\">if</span><span class=\"k\">(</span>ci<span class=\"k\">.</span>parentNode<span class=\"k\">)</span><span class=\"k\">{</span>","                                       i<span class=\"k\">++;</span>","                                   <span class=\"k\">}</span>","                               <span class=\"k\">}</span>","                           <span class=\"k\">}</span>","                       <span class=\"k\">}</span><span class=\"k\">else</span><span class=\"k\">{</span>","                           <span class=\"k\">for</span><span class=\"k\">(</span><span class=\"k\">var</span> i <span class=\"k\">=</span> index<span class=\"k\">,</span>ci<span class=\"k\">;</span>ci<span class=\"k\">=</span>parentNode<span class=\"k\">.</span>children<span class=\"k\">[</span>i<span class=\"k\">];)</span><span class=\"k\">{</span>","                               filterNode<span class=\"k\">(</span>ci<span class=\"k\">,</span>rules<span class=\"k\">);</span>","                               <span class=\"k\">if</span><span class=\"k\">(</span>ci<span class=\"k\">.</span>parentNode<span class=\"k\">)</span><span class=\"k\">{</span>","                                   i<span class=\"k\">++;</span>","                               <span class=\"k\">}</span>","                           <span class=\"k\">}</span>","                       <span class=\"k\">}</span>","","","                   <span class=\"k\">}</span><span class=\"k\">else</span><span class=\"k\">{</span>","                       <span class=\"k\">var</span> attrs <span class=\"k\">=</span> val<span class=\"k\">[</span><span class=\"s\">'$'</span><span class=\"k\">];</span>","                       <span class=\"k\">if</span><span class=\"k\">(</span>attrs <span class=\"k\">&amp;&amp;</span> node<span class=\"k\">.</span>attrs<span class=\"k\">)</span><span class=\"k\">{</span>","                           <span class=\"k\">var</span> tmpAttrs <span class=\"k\">=</span> <span class=\"k\">{}</span><span class=\"k\">,</span>tmpVal<span class=\"k\">;</span>","                           <span class=\"k\">for</span><span class=\"k\">(</span><span class=\"k\">var</span> a <span class=\"k\">in</span> attrs<span class=\"k\">)</span><span class=\"k\">{</span>","                               tmpVal <span class=\"k\">=</span> node<span class=\"k\">.</span>getAttr<span class=\"k\">(</span>a<span class=\"k\">);</span>","                               <span class=\"c\">//todo &#21482;&#20808;&#23545;style&#21333;&#29420;&#22788;&#29702;</span>","                               <span class=\"k\">if</span><span class=\"k\">(</span>a <span class=\"k\">==</span> <span class=\"s\">'style'</span> <span class=\"k\">&amp;&amp;</span> utils<span class=\"k\">.</span>isArray<span class=\"k\">(</span>attrs<span class=\"k\">[</span>a<span class=\"k\">]))</span><span class=\"k\">{</span>","                                   <span class=\"k\">var</span> tmpCssStyle <span class=\"k\">=</span> <span class=\"k\">[];</span>","                                   utils<span class=\"k\">.</span>each<span class=\"k\">(</span>attrs<span class=\"k\">[</span>a<span class=\"k\">],</span><span class=\"k\">function</span><span class=\"k\">(</span>v<span class=\"k\">)</span><span class=\"k\">{</span>","                                       <span class=\"k\">var</span> tmp<span class=\"k\">;</span>","                                       <span class=\"k\">if</span><span class=\"k\">(</span>tmp <span class=\"k\">=</span> node<span class=\"k\">.</span>getStyle<span class=\"k\">(</span>v<span class=\"k\">))</span><span class=\"k\">{</span>","                                           tmpCssStyle<span class=\"k\">.</span>push<span class=\"k\">(</span>v <span class=\"k\">+</span> <span class=\"s\">':'</span> <span class=\"k\">+</span> tmp<span class=\"k\">);</span>","                                       <span class=\"k\">}</span>","                                   <span class=\"k\">}</span><span class=\"k\">);</span>","                                   tmpVal <span class=\"k\">=</span> tmpCssStyle<span class=\"k\">.</span>join<span class=\"k\">(</span><span class=\"s\">';'</span><span class=\"k\">)</span>","                               <span class=\"k\">}</span>","                               <span class=\"k\">if</span><span class=\"k\">(</span>tmpVal<span class=\"k\">)</span><span class=\"k\">{</span>","                                   tmpAttrs<span class=\"k\">[</span>a<span class=\"k\">]</span> <span class=\"k\">=</span> tmpVal<span class=\"k\">;</span>","                               <span class=\"k\">}</span>","","                           <span class=\"k\">}</span>","                           node<span class=\"k\">.</span>attrs <span class=\"k\">=</span> tmpAttrs<span class=\"k\">;</span>","                       <span class=\"k\">}</span>","                       <span class=\"k\">if</span><span class=\"k\">(</span>node<span class=\"k\">.</span>children<span class=\"k\">)</span><span class=\"k\">{</span>","                           <span class=\"k\">for</span><span class=\"k\">(</span><span class=\"k\">var</span> i <span class=\"k\">=</span> <span class=\"s\">0</span><span class=\"k\">,</span>ci<span class=\"k\">;</span>ci<span class=\"k\">=</span>node<span class=\"k\">.</span>children<span class=\"k\">[</span>i<span class=\"k\">];)</span><span class=\"k\">{</span>","                               filterNode<span class=\"k\">(</span>ci<span class=\"k\">,</span>rules<span class=\"k\">);</span>","                               <span class=\"k\">if</span><span class=\"k\">(</span>ci<span class=\"k\">.</span>parentNode<span class=\"k\">)</span><span class=\"k\">{</span>","                                   i<span class=\"k\">++;</span>","                               <span class=\"k\">}</span>","                           <span class=\"k\">}</span>","                       <span class=\"k\">}</span>","                   <span class=\"k\">}</span>","                <span class=\"k\">}</span><span class=\"k\">else</span><span class=\"k\">{</span>","                    <span class=\"c\">//&#22914;&#26524;&#19981;&#22312;&#21517;&#21333;&#37324;&#25187;&#20986;&#23376;&#33410;&#28857;&#24182;&#21024;&#38500;&#35813;&#33410;&#28857;,cdata&#38500;&#22806;</span>","                    <span class=\"k\">if</span><span class=\"k\">(</span>dtd<span class=\"k\">.</span>$cdata<span class=\"k\">[</span>node<span class=\"k\">.</span>tagName<span class=\"k\">])</span><span class=\"k\">{</span>","                        node<span class=\"k\">.</span>parentNode<span class=\"k\">.</span>removeChild<span class=\"k\">(</span>node<span class=\"k\">)</span>","                    <span class=\"k\">}</span><span class=\"k\">else</span><span class=\"k\">{</span>","                        <span class=\"k\">var</span> parentNode <span class=\"k\">=</span> node<span class=\"k\">.</span>parentNode<span class=\"k\">,</span>","                            index <span class=\"k\">=</span> node<span class=\"k\">.</span>getIndex<span class=\"k\">();</span>","                        node<span class=\"k\">.</span>parentNode<span class=\"k\">.</span>removeChild<span class=\"k\">(</span>node<span class=\"k\">,</span><span class=\"k\">true</span><span class=\"k\">);</span>","                        <span class=\"k\">for</span><span class=\"k\">(</span><span class=\"k\">var</span> i <span class=\"k\">=</span> index<span class=\"k\">,</span>ci<span class=\"k\">;</span>ci<span class=\"k\">=</span>parentNode<span class=\"k\">.</span>children<span class=\"k\">[</span>i<span class=\"k\">];)</span><span class=\"k\">{</span>","                            filterNode<span class=\"k\">(</span>ci<span class=\"k\">,</span>rules<span class=\"k\">);</span>","                            <span class=\"k\">if</span><span class=\"k\">(</span>ci<span class=\"k\">.</span>parentNode<span class=\"k\">)</span><span class=\"k\">{</span>","                                i<span class=\"k\">++;</span>","                            <span class=\"k\">}</span>","                        <span class=\"k\">}</span>","                    <span class=\"k\">}</span>","                <span class=\"k\">}</span>","                <span class=\"k\">break</span><span class=\"k\">;</span>","            <span class=\"k\">case</span> <span class=\"s\">'comment'</span><span class=\"k\">:</span>","                node<span class=\"k\">.</span>parentNode<span class=\"k\">.</span>removeChild<span class=\"k\">(</span>node<span class=\"k\">)</span>","        <span class=\"k\">}</span>","","    <span class=\"k\">}</span>","    <span class=\"k\">return</span> <span class=\"k\">function</span><span class=\"k\">(</span>root<span class=\"k\">,</span>rules<span class=\"k\">)</span><span class=\"k\">{</span>","        <span class=\"k\">if</span><span class=\"k\">(</span>utils<span class=\"k\">.</span>isEmptyObject<span class=\"k\">(</span>rules<span class=\"k\">))</span><span class=\"k\">{</span>","            <span class=\"k\">return</span> root<span class=\"k\">;</span>","        <span class=\"k\">}</span>","        <span class=\"k\">var</span> val<span class=\"k\">;</span>","        <span class=\"k\">if</span><span class=\"k\">(</span>val <span class=\"k\">=</span> rules<span class=\"k\">[</span><span class=\"s\">'-'</span><span class=\"k\">])</span><span class=\"k\">{</span>","            utils<span class=\"k\">.</span>each<span class=\"k\">(</span>val<span class=\"k\">.</span>split<span class=\"k\">(</span><span class=\"s\">' '</span><span class=\"k\">),</span><span class=\"k\">function</span><span class=\"k\">(</span>k<span class=\"k\">)</span><span class=\"k\">{</span>","                rules<span class=\"k\">[</span>k<span class=\"k\">]</span> <span class=\"k\">=</span> <span class=\"s\">'-'</span>","            <span class=\"k\">}</span><span class=\"k\">)</span>","        <span class=\"k\">}</span>","        <span class=\"k\">for</span><span class=\"k\">(</span><span class=\"k\">var</span> i<span class=\"k\">=</span> <span class=\"s\">0</span><span class=\"k\">,</span>ci<span class=\"k\">;</span>ci<span class=\"k\">=</span>root<span class=\"k\">.</span>children<span class=\"k\">[</span>i<span class=\"k\">];)</span><span class=\"k\">{</span>","            filterNode<span class=\"k\">(</span>ci<span class=\"k\">,</span>rules<span class=\"k\">);</span>","            <span class=\"k\">if</span><span class=\"k\">(</span>ci<span class=\"k\">.</span>parentNode<span class=\"k\">)</span><span class=\"k\">{</span>","               i<span class=\"k\">++;</span>","            <span class=\"k\">}</span>","        <span class=\"k\">}</span>","        <span class=\"k\">return</span> root<span class=\"k\">;</span>","    <span class=\"k\">}</span>","<span class=\"k\">}</span><span class=\"k\">();</span>"];
_$jscoverage['core/filternode.js'][24]++;
var filterNode = (UE.filterNode = (function () {
  _$jscoverage['core/filternode.js'][25]++;
  function filterNode(node, rules) {
    _$jscoverage['core/filternode.js'][26]++;
    switch (node.type) {
    case "text":
      _$jscoverage['core/filternode.js'][28]++;
      break;
    case "element":
      _$jscoverage['core/filternode.js'][30]++;
      var val;
      _$jscoverage['core/filternode.js'][31]++;
      if ((val = rules[node.tagName])) {
        _$jscoverage['core/filternode.js'][32]++;
        if ((val === "-")) {
          _$jscoverage['core/filternode.js'][33]++;
          node.parentNode.removeChild(node);
        }
        else {
          _$jscoverage['core/filternode.js'][34]++;
          if (utils.isFunction(val)) {
            _$jscoverage['core/filternode.js'][35]++;
            var parentNode = node.parentNode, index = node.getIndex();
            _$jscoverage['core/filternode.js'][37]++;
            val(node);
            _$jscoverage['core/filternode.js'][38]++;
            if (node.parentNode) {
              _$jscoverage['core/filternode.js'][39]++;
              if (node.children) {
                _$jscoverage['core/filternode.js'][40]++;
                for (var i = 0, ci; (ci = node.children[i]);) {
                  _$jscoverage['core/filternode.js'][41]++;
                  filterNode(ci, rules);
                  _$jscoverage['core/filternode.js'][42]++;
                  if (ci.parentNode) {
                    _$jscoverage['core/filternode.js'][43]++;
                    (i++);
                  }
}
              }
            }
            else {
              _$jscoverage['core/filternode.js'][48]++;
              for (var i = index, ci = ci; (ci = parentNode.children[i]);) {
                _$jscoverage['core/filternode.js'][49]++;
                filterNode(ci, rules);
                _$jscoverage['core/filternode.js'][50]++;
                if (ci.parentNode) {
                  _$jscoverage['core/filternode.js'][51]++;
                  (i++);
                }
}
            }
          }
          else {
            _$jscoverage['core/filternode.js'][58]++;
            var attrs = val.$;
            _$jscoverage['core/filternode.js'][59]++;
            if ((attrs && node.attrs)) {
              _$jscoverage['core/filternode.js'][60]++;
              var tmpAttrs = {}, tmpVal;
              _$jscoverage['core/filternode.js'][61]++;
              for (var a in attrs) {
                _$jscoverage['core/filternode.js'][62]++;
                tmpVal = node.getAttr(a);
                _$jscoverage['core/filternode.js'][64]++;
                if (((a == "style") && utils.isArray(attrs[a]))) {
                  _$jscoverage['core/filternode.js'][65]++;
                  var tmpCssStyle = [];
                  _$jscoverage['core/filternode.js'][66]++;
                  utils.each(attrs[a], (function (v) {
  _$jscoverage['core/filternode.js'][67]++;
  var tmp;
  _$jscoverage['core/filternode.js'][68]++;
  if ((tmp = node.getStyle(v))) {
    _$jscoverage['core/filternode.js'][69]++;
    tmpCssStyle.push((v + ":" + tmp));
  }
}));
                  _$jscoverage['core/filternode.js'][72]++;
                  tmpVal = tmpCssStyle.join(";");
                }
                _$jscoverage['core/filternode.js'][74]++;
                if (tmpVal) {
                  _$jscoverage['core/filternode.js'][75]++;
                  tmpAttrs[a] = tmpVal;
                }
}
              _$jscoverage['core/filternode.js'][79]++;
              node.attrs = tmpAttrs;
            }
            _$jscoverage['core/filternode.js'][81]++;
            if (node.children) {
              _$jscoverage['core/filternode.js'][82]++;
              for (var i = 0, ci = ci; (ci = node.children[i]);) {
                _$jscoverage['core/filternode.js'][83]++;
                filterNode(ci, rules);
                _$jscoverage['core/filternode.js'][84]++;
                if (ci.parentNode) {
                  _$jscoverage['core/filternode.js'][85]++;
                  (i++);
                }
}
            }
          }
        }
      }
      else {
        _$jscoverage['core/filternode.js'][92]++;
        if (dtd.$cdata[node.tagName]) {
          _$jscoverage['core/filternode.js'][93]++;
          node.parentNode.removeChild(node);
        }
        else {
          _$jscoverage['core/filternode.js'][95]++;
          var parentNode = node.parentNode, index = node.getIndex();
          _$jscoverage['core/filternode.js'][97]++;
          node.parentNode.removeChild(node, true);
          _$jscoverage['core/filternode.js'][98]++;
          for (var i = index, ci = ci; (ci = parentNode.children[i]);) {
            _$jscoverage['core/filternode.js'][99]++;
            filterNode(ci, rules);
            _$jscoverage['core/filternode.js'][100]++;
            if (ci.parentNode) {
              _$jscoverage['core/filternode.js'][101]++;
              (i++);
            }
}
        }
      }
      _$jscoverage['core/filternode.js'][106]++;
      break;
    case "comment":
      _$jscoverage['core/filternode.js'][108]++;
      node.parentNode.removeChild(node);
    }
}
  _$jscoverage['core/filternode.js'][112]++;
  return (function (root, rules) {
  _$jscoverage['core/filternode.js'][113]++;
  if (utils.isEmptyObject(rules)) {
    _$jscoverage['core/filternode.js'][114]++;
    return root;
  }
  _$jscoverage['core/filternode.js'][116]++;
  var val;
  _$jscoverage['core/filternode.js'][117]++;
  if ((val = rules["-"])) {
    _$jscoverage['core/filternode.js'][118]++;
    utils.each(val.split(" "), (function (k) {
  _$jscoverage['core/filternode.js'][119]++;
  rules[k] = "-";
}));
  }
  _$jscoverage['core/filternode.js'][122]++;
  for (var i = 0, ci; (ci = root.children[i]);) {
    _$jscoverage['core/filternode.js'][123]++;
    filterNode(ci, rules);
    _$jscoverage['core/filternode.js'][124]++;
    if (ci.parentNode) {
      _$jscoverage['core/filternode.js'][125]++;
      (i++);
    }
}
  _$jscoverage['core/filternode.js'][128]++;
  return root;
});
})());
