<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
Markus Frosch pushed to branch master
at <a href="https://salsa.debian.org/nagios-team/pkg-nagvis">Debian Nagios Maintainer Group / pkg-nagvis</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/commit/23754f8a1f04cbda7e7a4647d40a01ec1032351e">23754f8a</a></strong>
<div>
<span>by Markus Frosch</span>
<i>at 2020-03-24T16:43:16+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">New upstream version 1.9.18</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/commit/933359d4a44e8a18f7cdcbdbef031b1476c1a1a0">933359d4</a></strong>
<div>
<span>by Markus Frosch</span>
<i>at 2020-03-24T16:43:27+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update upstream source from tag 'upstream/1.9.18'
Update to upstream version '1.9.18'
with Debian dir 657223c4bda91964fd9a42ca92fe48546fc62e50</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/commit/2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15">2cd7620b</a></strong>
<div>
<span>by Markus Frosch</span>
<i>at 2020-03-24T16:46:04+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update changelog
</pre>
</li>
</ul>
<h4>20 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#00fe7828d56d7a3ee4030d6cea057cf13f50e70c">
ChangeLog
</a>
</li>
<li class="file-stats">
<a href="#9c96da0e9f91d7d8937b69b524702c106258f0d1">
debian/changelog
</a>
</li>
<li class="file-stats">
<a href="#1245469ae6d58f6d761e2d1ee5b25e9f851d193e">
docs/en_US/map_config_format_description.html
</a>
</li>
<li class="file-stats">
<a href="#3770a2ea0d23f0093490c4a376ed10279d527aa4">
<span class="new-file">
+
share/frontend/nagvis-js/images/nicedit/nicEditIcons-latest.gif
</span>
</a>
</li>
<li class="file-stats">
<a href="#18f8ca33384fea25d876810e290daaedf628d2cf">
share/frontend/nagvis-js/js/ElementLine.js
</a>
</li>
<li class="file-stats">
<a href="#bef53a83c004d02780e3dd12d572380197d0b685">
<span class="new-file">
+
share/frontend/nagvis-js/js/ExtNicEdit.js
</span>
</a>
</li>
<li class="file-stats">
<a href="#5786e34b0eade3e30f991e141bb881201d7921d2">
share/frontend/nagvis-js/js/ViewWorldmap.js
</a>
</li>
<li class="file-stats">
<a href="#f9cdf6c883f85116cd952d2bf6a46baa7c2060fa">
share/frontend/nagvis-js/js/ajax.js
</a>
</li>
<li class="file-stats">
<a href="#8846393f7686e46a8af66dd6152dafccd3ba4401">
share/frontend/nagvis-js/js/frontend.js
</a>
</li>
<li class="file-stats">
<a href="#295616b736a4bd281418f7ba7479e43c7fcf78fe">
share/frontend/nagvis-js/js/nagvis.js
</a>
</li>
<li class="file-stats">
<a href="#b27c9a7a487c30a9d89ecd1007e18b72b0f606ed">
share/server/core/classes/CoreModMap.php
</a>
</li>
<li class="file-stats">
<a href="#e1011f621c469098076b4f9694851e91a0830bd0">
share/server/core/classes/ViewMapAddModify.php
</a>
</li>
<li class="file-stats">
<a href="#d272112f94cec3d02cbaf2dc11e1a51d61bf48c1">
share/server/core/classes/objects/NagVisStatefulObject.php
</a>
</li>
<li class="file-stats">
<a href="#0c0bca5f067898705298f0d41eff5514a733efff">
share/server/core/defines/global.php
</a>
</li>
<li class="file-stats">
<a href="#45f03deb3ac8e4f18e0db62a46b44226e9aabfbd">
share/server/core/defines/matches.php
</a>
</li>
<li class="file-stats">
<a href="#37e64e7501a5b028f4df40eaf0f7d59b111df459">
share/server/core/functions/html.php
</a>
</li>
<li class="file-stats">
<a href="#c42d9c4dfd7fad72e33d83c95d0df35556093a65">
share/server/core/mapcfg/default.php
</a>
</li>
<li class="file-stats">
<a href="#03c5090bc23de2475b1e4736ed987161c1c39d79">
share/server/core/sources/worldmap.php
</a>
</li>
<li class="file-stats">
<a href="#1e6412419bc753c669a0ec3412a2cd3d53e84e2f">
share/userfiles/templates/default.css
</a>
</li>
<li class="file-stats">
<a href="#19317ed8859b28f9e8e5aef733c692998e50711f">
share/userfiles/templates/default.header.js
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="00fe7828d56d7a3ee4030d6cea057cf13f50e70c">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#00fe7828d56d7a3ee4030d6cea057cf13f50e70c"><strong>ChangeLog</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1" class="line" lang="plaintext">1.9.18</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="2" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
2
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC2" class="line" lang="plaintext">Core:</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="3" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
3
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC3" class="line" lang="plaintext"> * Add new map global option "ignore_linked_maps_summary_state" (issue #223)</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="4" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
4
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC4" class="line" lang="plaintext"> * FIX: Worldmap max_zoom is now 20 (issue #228)</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="5" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
5
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC5" class="line" lang="plaintext"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="6" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
6
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC6" class="line" lang="plaintext">Frontend:</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="7" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
7
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC7" class="line" lang="plaintext"> * Weathermap lines: New options line_label_in/line_label_out to configure</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="8" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
8
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC8" class="line" lang="plaintext"> the name of the perfdata values to use for in/out traffic (#244)</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="9" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
9
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC9" class="line" lang="plaintext"> * Weathermap lines: Use "CRITICAL" color when no perfdata is available (#243)</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="10" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
10
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC10" class="line" lang="plaintext"> * Sidebar map states now indicate acknowledgement and downtime states (issue #221)</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="11" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
11
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC11" class="line" lang="plaintext"> * Textboxes can now be edited using a simple WYSIWIG editor (issue #216)</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="12" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
12
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC12" class="line" lang="plaintext"> * Worldmap: render middle sections of long lines</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="13" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
13
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC13" class="line" lang="plaintext"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1
</td>
<td class="diff-line-num new_line" data-linenumber="14" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
14
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC14" class="line" lang="plaintext">1.9.17</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="2" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="15" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
15
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC15" class="line" lang="plaintext">Core:</span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="2" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2
</td>
<td class="diff-line-num new_line" data-linenumber="16" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
16
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC16" class="line" lang="plaintext"> * FIX: Fix PHP 5.3 incompatibility introduced with 1.9.16</span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="3" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
3
</td>
<td class="diff-line-num new_line" data-linenumber="17" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
17
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC17" class="line" lang="plaintext"> * FIX: Fix IE 11 incompatibility on worldmaps in relation to lines</span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="4" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
4
</td>
<td class="diff-line-num new_line" data-linenumber="18" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
18
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC18" class="line" lang="plaintext"> which was introduced with 1.9.13</span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="9c96da0e9f91d7d8937b69b524702c106258f0d1">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#9c96da0e9f91d7d8937b69b524702c106258f0d1"><strong>debian/changelog</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1
</td>
<td class="diff-line-num new_line old" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1" class="line" lang="plaintext">nagvis (1:1.9.1<span class="idiff left right">7-1) unstable</span>; urgency=medium</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="2" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1" class="line" lang="plaintext">nagvis (1:1.9.1<span class="idiff left right">8-1) UNRELEASED</span>; urgency=medium</span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="2" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2
</td>
<td class="diff-line-num new_line" data-linenumber="2" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC2" class="line" lang="plaintext"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="3" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
3
</td>
<td class="diff-line-num new_line" data-linenumber="3" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
3
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC3" class="line" lang="plaintext"> [ Debian Janitor ]</span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="4" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
4
</td>
<td class="diff-line-num new_line" data-linenumber="4" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
4
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC4" class="line" lang="plaintext"> * Trim trailing whitespace.</span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="20" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="20" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -20,7 +20,10 @@ nagvis (1:1.9.17-1) unstable; urgency=medium</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="20" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
20
</td>
<td class="diff-line-num new_line" data-linenumber="20" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
20
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC20" class="line" lang="plaintext"> * New upstream release (Closes: #949387).</span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="21" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
21
</td>
<td class="diff-line-num new_line" data-linenumber="21" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
21
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC21" class="line" lang="plaintext"> * Add myself to uploaders.</span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="22" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
22
</td>
<td class="diff-line-num new_line" data-linenumber="22" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
22
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC22" class="line" lang="plaintext"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="23" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
23
</td>
<td class="diff-line-num new_line old" data-linenumber="23" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC23" class="line" lang="plaintext"> -- Adam Cecile <acecile@le-vert.net> Mon, 20 Jan 2020 16:02:56 +0100</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="24" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="23" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
23
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC23" class="line" lang="plaintext"> [ Markus Frosch ]</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="24" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="24" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
24
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC24" class="line" lang="plaintext"> * [23754f8] New upstream version 1.9.18</span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="24" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="25" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
25
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC25" class="line" lang="plaintext"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="24" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="26" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
26
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC26" class="line" lang="plaintext"> -- Markus Frosch <lazyfrosch@debian.org> Tue, 24 Mar 2020 16:45:04 +0100</span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="24" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
24
</td>
<td class="diff-line-num new_line" data-linenumber="27" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
27
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC27" class="line" lang="plaintext"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="25" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
25
</td>
<td class="diff-line-num new_line" data-linenumber="28" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
28
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC28" class="line" lang="plaintext">nagvis (1:1.9.11-1) unstable; urgency=medium</span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="26" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
26
</td>
<td class="diff-line-num new_line" data-linenumber="29" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
29
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC29" class="line" lang="plaintext"></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="1245469ae6d58f6d761e2d1ee5b25e9f851d193e">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#1245469ae6d58f6d761e2d1ee5b25e9f851d193e"><strong>docs/en_US/map_config_format_description.html</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="259" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="259" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -259,6 +259,12 @@</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="259" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
259
</td>
<td class="diff-line-num new_line" data-linenumber="259" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
259
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC259" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span> show_in_lists <span class="nt" style="color: #000080;"></td><td></span> inherited (<span class="nt" style="color: #000080;"><a</span> <span class="na" style="color: #008080;">href=</span><span class="s" style="color: #d14;">"nagvis_config_format_description.html"</span><span class="nt" style="color: #000080;">></span>nagvis.ini.php<span class="nt" style="color: #000080;"></a></span>) <span class="nt" style="color: #000080;"></td><td></span> Show the maps in lists (dropdowns, index page, ...) <span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="260" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
260
</td>
<td class="diff-line-num new_line" data-linenumber="260" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
260
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC260" class="line" lang="html"> <span class="nt" style="color: #000080;"></tr></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="261" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
261
</td>
<td class="diff-line-num new_line" data-linenumber="261" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
261
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC261" class="line" lang="html"> <span class="nt" style="color: #000080;"><tr></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="262" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="262" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
262
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC262" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span>ignore_linked_maps_summary_state<span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="262" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
263
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC263" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span>0<span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="262" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="264" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
264
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC264" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span>Ignore child map summary state in parent's summary state<span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="262" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="265" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
265
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC265" class="line" lang="html"> <span class="nt" style="color: #000080;"></tr></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="262" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="266" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
266
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC266" class="line" lang="html"> <span class="nt" style="color: #000080;"><tr></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="262" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="267" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
267
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC267" class="line" lang="html"> </span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="262" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
262
</td>
<td class="diff-line-num new_line" data-linenumber="268" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
268
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC268" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span> show_in_multisite<span class="nt" style="color: #000080;"></td><td></span> inherited (<span class="nt" style="color: #000080;"><a</span> <span class="na" style="color: #008080;">href=</span><span class="s" style="color: #d14;">"nagvis_config_format_description.html"</span><span class="nt" style="color: #000080;">></span>nagvis.ini.php<span class="nt" style="color: #000080;"></a></span>) <span class="nt" style="color: #000080;"></td><td></span>Show the maps in multisite snapin<span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
263
</td>
<td class="diff-line-num new_line" data-linenumber="269" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
269
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC269" class="line" lang="html"> <span class="nt" style="color: #000080;"></tr></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="264" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
264
</td>
<td class="diff-line-num new_line" data-linenumber="270" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
270
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC270" class="line" lang="html"> <span class="nt" style="color: #000080;"><tr></span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="656" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="662" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -656,6 +662,16 @@</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="656" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
656
</td>
<td class="diff-line-num new_line" data-linenumber="662" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
662
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC662" class="line" lang="html"> <span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="657" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
657
</td>
<td class="diff-line-num new_line" data-linenumber="663" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
663
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC663" class="line" lang="html"> <span class="nt" style="color: #000080;"></tr></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="658" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
658
</td>
<td class="diff-line-num new_line" data-linenumber="664" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
664
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC664" class="line" lang="html"> <span class="nt" style="color: #000080;"><tr></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="665" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
665
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC665" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span>line_label_in<span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="666" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
666
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC666" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span>in<span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="667" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
667
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC667" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span>Specify which performance data name you want to use for the "inbound" weathermap line.<span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="668" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
668
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC668" class="line" lang="html"> <span class="nt" style="color: #000080;"></tr></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="669" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
669
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC669" class="line" lang="html"> <span class="nt" style="color: #000080;"><tr></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="670" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
670
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC670" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span>line_label_out<span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="671" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
671
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC671" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span>out<span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="672" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
672
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC672" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span>Specify which performance data name you want to use for the "outbound" weathermap line.<span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="673" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
673
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC673" class="line" lang="html"> <span class="nt" style="color: #000080;"></tr></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="674" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
674
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC674" class="line" lang="html"> <span class="nt" style="color: #000080;"><tr></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
659
</td>
<td class="diff-line-num new_line" data-linenumber="675" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
675
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC675" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span>line_label_y_offset<span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="660" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
660
</td>
<td class="diff-line-num new_line" data-linenumber="676" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
676
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC676" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span>2<span class="nt" style="color: #000080;"></td></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="661" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
661
</td>
<td class="diff-line-num new_line" data-linenumber="677" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
677
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC677" class="line" lang="html"> <span class="nt" style="color: #000080;"><td></span>This option defines the offset of the labels to the line when rendering weathermap lines which show percentage</span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="3770a2ea0d23f0093490c4a376ed10279d527aa4">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#3770a2ea0d23f0093490c4a376ed10279d527aa4"><strong>share/frontend/nagvis-js/images/nicedit/nicEditIcons-latest.gif</strong></a>
<hr>
No preview for this file type
<br>
</li>
<li id="18f8ca33384fea25d876810e290daaedf628d2cf">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#18f8ca33384fea25d876810e290daaedf628d2cf"><strong>share/frontend/nagvis-js/js/ElementLine.js</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="291" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="291" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -291,7 +291,7 @@ var ElementLine = Element.extend({</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="291" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
291
</td>
<td class="diff-line-num new_line" data-linenumber="291" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
291
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC291" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// are added later. But this container gets all event handlers assigned. Because</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="292" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
292
</td>
<td class="diff-line-num new_line" data-linenumber="292" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
292
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC292" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// the line is using erase(), render(), draw() within place() which is called while</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="293" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
293
</td>
<td class="diff-line-num new_line" data-linenumber="293" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
293
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC293" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// the user moves the object, this dom node must not be re-created, because this</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="294" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
294
</td>
<td class="diff-line-num new_line old" data-linenumber="294" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC294" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// would remove all event handlers<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="295" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="294" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
294
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC294" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// would remove all event handlers</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="295" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
295
</td>
<td class="diff-line-num new_line" data-linenumber="295" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
295
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC295" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">obj</span><span class="p">.</span><span class="nx">trigger_obj</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="296" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
296
</td>
<td class="diff-line-num new_line" data-linenumber="296" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
296
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC296" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">oLink</span> <span class="o" style="font-weight: 600;">=</span> <span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">createElement</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">a</span><span class="dl">'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="297" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
297
</td>
<td class="diff-line-num new_line" data-linenumber="297" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
297
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC297" class="line" lang="javascript"> <span class="nx">oLink</span><span class="p">.</span><span class="nx">setAttribute</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">id</span><span class="dl">'</span><span class="p">,</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">obj</span><span class="p">.</span><span class="nx">conf</span><span class="p">.</span><span class="nx">object_id</span><span class="o" style="font-weight: 600;">+</span><span class="dl">'</span><span class="s1" style="color: #d14;">-linelink</span><span class="dl">'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="655" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="655" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -655,6 +655,11 @@ var ElementLine = Element.extend({</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="655" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
655
</td>
<td class="diff-line-num new_line" data-linenumber="655" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
655
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC655" class="line" lang="javascript"> <span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="656" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
656
</td>
<td class="diff-line-num new_line" data-linenumber="656" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
656
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC656" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="657" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
657
</td>
<td class="diff-line-num new_line" data-linenumber="657" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
657
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC657" class="line" lang="javascript"> <span class="na" style="color: #008080;">renderLabel</span><span class="p">:</span> <span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">id</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="658" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="658" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
658
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC658" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">parts</span><span class="p">.</span><span class="nx">length</span> <span class="o" style="font-weight: 600;">===</span> <span class="mi" style="color: #099;">0</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="658" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
659
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC659" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="658" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="660" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
660
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC660" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">perfdata</span> <span class="o" style="font-weight: 600;">===</span> <span class="kc" style="font-weight: 600;">null</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="658" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="661" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
661
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC661" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="658" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="662" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
662
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC662" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="658" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
658
</td>
<td class="diff-line-num new_line" data-linenumber="663" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
663
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC663" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">x1</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">parts</span><span class="p">[</span><span class="nx">id</span><span class="p">][</span><span class="mi" style="color: #099;">0</span><span class="p">][</span><span class="mi" style="color: #099;">0</span><span class="p">],</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="659" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
659
</td>
<td class="diff-line-num new_line" data-linenumber="664" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
664
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC664" class="line" lang="javascript"> <span class="nx">y1</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">parts</span><span class="p">[</span><span class="nx">id</span><span class="p">][</span><span class="mi" style="color: #099;">0</span><span class="p">][</span><span class="mi" style="color: #099;">1</span><span class="p">],</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="660" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
660
</td>
<td class="diff-line-num new_line" data-linenumber="665" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
665
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC665" class="line" lang="javascript"> <span class="nx">x2</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">parts</span><span class="p">[</span><span class="nx">id</span><span class="p">][</span><span class="mi" style="color: #099;">1</span><span class="p">][</span><span class="mi" style="color: #099;">0</span><span class="p">],</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="666" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="671" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -666,9 +671,6 @@ var ElementLine = Element.extend({</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="666" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
666
</td>
<td class="diff-line-num new_line" data-linenumber="671" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
671
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC671" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">x</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">middle</span><span class="p">(</span><span class="nx">x1</span><span class="p">,</span> <span class="nx">x2</span><span class="p">,</span> <span class="nx">cut</span><span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="667" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
667
</td>
<td class="diff-line-num new_line" data-linenumber="672" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
672
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC672" class="line" lang="javascript"> <span class="nx">y</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">middle</span><span class="p">(</span><span class="nx">y1</span><span class="p">,</span> <span class="nx">y2</span><span class="p">,</span> <span class="nx">cut</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="668" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
668
</td>
<td class="diff-line-num new_line" data-linenumber="673" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
673
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC673" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="669" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
669
</td>
<td class="diff-line-num new_line old" data-linenumber="674" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC669" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">perfdata</span> <span class="o" style="font-weight: 600;">===</span> <span class="kc" style="font-weight: 600;">null</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="670" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
670
</td>
<td class="diff-line-num new_line old" data-linenumber="674" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC670" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="671" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
671
</td>
<td class="diff-line-num new_line old" data-linenumber="674" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC671" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="672" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
672
</td>
<td class="diff-line-num new_line" data-linenumber="674" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
674
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC674" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">txt</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="673" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
673
</td>
<td class="diff-line-num new_line" data-linenumber="675" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
675
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC675" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">obj</span><span class="p">.</span><span class="nx">conf</span><span class="p">.</span><span class="nx">line_type</span> <span class="o" style="font-weight: 600;">==</span> <span class="mi" style="color: #099;">13</span> <span class="o" style="font-weight: 600;">||</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">obj</span><span class="p">.</span><span class="nx">conf</span><span class="p">.</span><span class="nx">line_type</span> <span class="o" style="font-weight: 600;">==</span> <span class="mi" style="color: #099;">14</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="674" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
674
</td>
<td class="diff-line-num new_line" data-linenumber="676" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
676
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC676" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Show percentage label</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="777" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="779" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -777,7 +779,7 @@ var ElementLine = Element.extend({</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="777" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
777
</td>
<td class="diff-line-num new_line" data-linenumber="779" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
779
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC779" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="nx">oStates</span><span class="p">[</span><span class="dl">"</span><span class="s2" style="color: #d14;">ERROR</span><span class="dl">"</span><span class="p">].</span><span class="nx">color</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="778" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
778
</td>
<td class="diff-line-num new_line" data-linenumber="780" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
780
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC780" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="779" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
779
</td>
<td class="diff-line-num new_line" data-linenumber="781" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
781
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC781" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">perfdata</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="780" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
780
</td>
<td class="diff-line-num new_line old" data-linenumber="782" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC780" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="dl"><span class="idiff left">'</span></span><span class="s1" style="color: #d14;"><span class="idiff">#FFCC66</span></span><span class="dl"><span class="idiff right">'</span></span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="781" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="782" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
782
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC782" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="nx"><span class="idiff left">oStates</span></span><span class="p"><span class="idiff">[</span></span><span class="dl"><span class="idiff">"</span></span><span class="s2" style="color: #d14;"><span class="idiff">CRITICAL</span></span><span class="dl"><span class="idiff">"</span></span><span class="p"><span class="idiff">].</span></span><span class="nx"><span class="idiff right">color</span></span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="781" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
781
</td>
<td class="diff-line-num new_line" data-linenumber="783" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
783
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC783" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="782" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
782
</td>
<td class="diff-line-num new_line" data-linenumber="784" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
784
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC784" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">perfdata</span><span class="p">[</span><span class="nx">id</span><span class="p">][</span><span class="mi" style="color: #099;">2</span><span class="p">]</span> <span class="o" style="font-weight: 600;">==</span> <span class="dl">'</span><span class="s1" style="color: #d14;">%</span><span class="dl">'</span> <span class="o" style="font-weight: 600;">&&</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">perfdata</span><span class="p">[</span><span class="nx">id</span><span class="p">][</span><span class="mi" style="color: #099;">1</span><span class="p">]</span> <span class="o" style="font-weight: 600;">!==</span> <span class="kc" style="font-weight: 600;">null</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="783" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
783
</td>
<td class="diff-line-num new_line" data-linenumber="785" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
785
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC785" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">getColorFill</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">perfdata</span><span class="p">[</span><span class="nx">id</span><span class="p">][</span><span class="mi" style="color: #099;">1</span><span class="p">]);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="814" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="816" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -814,6 +816,8 @@ var ElementLine = Element.extend({</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="814" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
814
</td>
<td class="diff-line-num new_line" data-linenumber="816" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
816
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC816" class="line" lang="javascript"> <span class="na" style="color: #008080;">calculateUsage</span><span class="p">:</span> <span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="815" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
815
</td>
<td class="diff-line-num new_line" data-linenumber="817" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
817
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC817" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">newPerfdata</span> <span class="o" style="font-weight: 600;">=</span> <span class="p">[];</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="816" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
816
</td>
<td class="diff-line-num new_line" data-linenumber="818" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
818
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC818" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">foundNew</span> <span class="o" style="font-weight: 600;">=</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="817" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="819" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
819
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC819" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">line_label_in</span> <span class="o" style="font-weight: 600;">=</span> <span class="dl">'</span><span class="s1" style="color: #d14;">in</span><span class="dl">'</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="817" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="820" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
820
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC820" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">line_label_out</span> <span class="o" style="font-weight: 600;">=</span> <span class="dl">'</span><span class="s1" style="color: #d14;">out</span><span class="dl">'</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="817" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
817
</td>
<td class="diff-line-num new_line" data-linenumber="821" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
821
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC821" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="818" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
818
</td>
<td class="diff-line-num new_line" data-linenumber="822" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
822
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC822" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Check_MK if/if64 checks support switching between bytes/bits. The detection</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="819" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
819
</td>
<td class="diff-line-num new_line" data-linenumber="823" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
823
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC823" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// can be made by some curios hack. The most hackish hack I've ever seen. From hell.</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="824" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="828" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -824,8 +828,14 @@ var ElementLine = Element.extend({</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="824" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
824
</td>
<td class="diff-line-num new_line" data-linenumber="828" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
828
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC828" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="825" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
825
</td>
<td class="diff-line-num new_line" data-linenumber="829" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
829
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC829" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// This loop takes perfdata with the labels "in" and "out" and uses the current value</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="826" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
826
</td>
<td class="diff-line-num new_line" data-linenumber="830" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
830
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC830" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// and maximum values to parse the percentage usage of the line</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="827" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="831" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
831
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC831" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="k" style="font-weight: 600;">typeof</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">obj</span><span class="p">.</span><span class="nx">conf</span><span class="p">.</span><span class="nx">line_label_in</span> <span class="o" style="font-weight: 600;">!==</span> <span class="dl">'</span><span class="s1" style="color: #d14;">undefined</span><span class="dl">'</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="827" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="832" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
832
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC832" class="line" lang="javascript"> <span class="nx">line_label_in</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">obj</span><span class="p">.</span><span class="nx">conf</span><span class="p">.</span><span class="nx">line_label_in</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="827" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="833" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
833
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC833" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="827" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="834" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
834
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC834" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="k" style="font-weight: 600;">typeof</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">obj</span><span class="p">.</span><span class="nx">conf</span><span class="p">.</span><span class="nx">line_label_out</span> <span class="o" style="font-weight: 600;">!==</span> <span class="dl">'</span><span class="s1" style="color: #d14;">undefined</span><span class="dl">'</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="827" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="835" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
835
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC835" class="line" lang="javascript"> <span class="nx">line_label_out</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">obj</span><span class="p">.</span><span class="nx">conf</span><span class="p">.</span><span class="nx">line_label_out</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="827" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="836" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
836
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC836" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="827" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
827
</td>
<td class="diff-line-num new_line" data-linenumber="837" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
837
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC837" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">i</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">0</span><span class="p">;</span> <span class="nx">i</span> <span class="o" style="font-weight: 600;"><</span> <span class="nx">oldPerfdata</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span> <span class="nx">i</span><span class="o" style="font-weight: 600;">++</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="828" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
828
</td>
<td class="diff-line-num new_line old" data-linenumber="838" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC828" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">][</span><span class="mi" style="color: #099;">0</span><span class="p">]</span> <span class="o" style="font-weight: 600;">==</span> <span class="dl"><span class="idiff left">'</span></span><span class="s1" style="color: #d14;"><span class="idiff">in</span></span><span class="dl"><span class="idiff right">'</span></span> <span class="o" style="font-weight: 600;">&&</span> <span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">][</span><span class="mi" style="color: #099;">2</span><span class="p">]</span> <span class="o" style="font-weight: 600;">===</span> <span class="kc" style="font-weight: 600;">null</span> <span class="o" style="font-weight: 600;">||</span> <span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">][</span><span class="mi" style="color: #099;">2</span><span class="p">]</span> <span class="o" style="font-weight: 600;">===</span> <span class="dl">''</span><span class="p">))</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="829" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="838" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
838
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC838" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">][</span><span class="mi" style="color: #099;">0</span><span class="p">]</span> <span class="o" style="font-weight: 600;">==</span> <span class="nx"><span class="idiff left right">line_label_in</span></span> <span class="o" style="font-weight: 600;">&&</span> <span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">][</span><span class="mi" style="color: #099;">2</span><span class="p">]</span> <span class="o" style="font-weight: 600;">===</span> <span class="kc" style="font-weight: 600;">null</span> <span class="o" style="font-weight: 600;">||</span> <span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">][</span><span class="mi" style="color: #099;">2</span><span class="p">]</span> <span class="o" style="font-weight: 600;">===</span> <span class="dl">''</span><span class="p">))</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="829" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
829
</td>
<td class="diff-line-num new_line" data-linenumber="839" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
839
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC839" class="line" lang="javascript"> <span class="nx">newPerfdata</span><span class="p">[</span><span class="mi" style="color: #099;">0</span><span class="p">]</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">perfdataCalcPerc</span><span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">]);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="830" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
830
</td>
<td class="diff-line-num new_line" data-linenumber="840" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
840
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC840" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">display_bits</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="831" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
831
</td>
<td class="diff-line-num new_line" data-linenumber="841" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
841
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC841" class="line" lang="javascript"> <span class="nx">newPerfdata</span><span class="p">[</span><span class="mi" style="color: #099;">2</span><span class="p">]</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">perfdataCalcBytesReadable</span><span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">]);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="835" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="845" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -835,7 +845,7 @@ var ElementLine = Element.extend({</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="835" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
835
</td>
<td class="diff-line-num new_line" data-linenumber="845" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
845
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC845" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="836" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
836
</td>
<td class="diff-line-num new_line" data-linenumber="846" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
846
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC846" class="line" lang="javascript"> <span class="nx">foundNew</span> <span class="o" style="font-weight: 600;">=</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="837" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
837
</td>
<td class="diff-line-num new_line" data-linenumber="847" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
847
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC847" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="838" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
838
</td>
<td class="diff-line-num new_line old" data-linenumber="848" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC838" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">][</span><span class="mi" style="color: #099;">0</span><span class="p">]</span> <span class="o" style="font-weight: 600;">==</span> <span class="dl"><span class="idiff left">'</span></span><span class="s1" style="color: #d14;"><span class="idiff">out</span></span><span class="dl"><span class="idiff right">'</span></span> <span class="o" style="font-weight: 600;">&&</span> <span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">][</span><span class="mi" style="color: #099;">2</span><span class="p">]</span> <span class="o" style="font-weight: 600;">===</span> <span class="kc" style="font-weight: 600;">null</span> <span class="o" style="font-weight: 600;">||</span> <span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">][</span><span class="mi" style="color: #099;">2</span><span class="p">]</span> <span class="o" style="font-weight: 600;">===</span> <span class="dl">''</span><span class="p">))</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="839" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="848" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
848
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC848" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">][</span><span class="mi" style="color: #099;">0</span><span class="p">]</span> <span class="o" style="font-weight: 600;">==</span> <span class="nx"><span class="idiff left right">line_label_out</span></span> <span class="o" style="font-weight: 600;">&&</span> <span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">][</span><span class="mi" style="color: #099;">2</span><span class="p">]</span> <span class="o" style="font-weight: 600;">===</span> <span class="kc" style="font-weight: 600;">null</span> <span class="o" style="font-weight: 600;">||</span> <span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">][</span><span class="mi" style="color: #099;">2</span><span class="p">]</span> <span class="o" style="font-weight: 600;">===</span> <span class="dl">''</span><span class="p">))</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="839" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
839
</td>
<td class="diff-line-num new_line" data-linenumber="849" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
849
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC849" class="line" lang="javascript"> <span class="nx">newPerfdata</span><span class="p">[</span><span class="mi" style="color: #099;">1</span><span class="p">]</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">perfdataCalcPerc</span><span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">]);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="840" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
840
</td>
<td class="diff-line-num new_line" data-linenumber="850" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
850
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC850" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">display_bits</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="841" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
841
</td>
<td class="diff-line-num new_line" data-linenumber="851" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
851
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC851" class="line" lang="javascript"> <span class="nx">newPerfdata</span><span class="p">[</span><span class="mi" style="color: #099;">3</span><span class="p">]</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">perfdataCalcBytesReadable</span><span class="p">(</span><span class="nx">oldPerfdata</span><span class="p">[</span><span class="nx">i</span><span class="p">]);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="945" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="955" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -945,7 +955,7 @@ var ElementLine = Element.extend({</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="945" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
945
</td>
<td class="diff-line-num new_line" data-linenumber="955" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
955
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC955" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Break perfdata parts into array</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="946" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
946
</td>
<td class="diff-line-num new_line" data-linenumber="956" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
956
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC956" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">for</span> <span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">i</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">0</span><span class="p">;</span> <span class="nx">i</span> <span class="o" style="font-weight: 600;"><</span> <span class="nx">perfdataMatches</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span> <span class="nx">i</span><span class="o" style="font-weight: 600;">++</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="947" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
947
</td>
<td class="diff-line-num new_line" data-linenumber="957" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
957
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC957" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Get parts of perfdata from string</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="948" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
948
</td>
<td class="diff-line-num new_line old" data-linenumber="958" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC948" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">tmpSetMatches</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">perfdataMatches</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">match</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">(</span><span class="sr" style="color: #009926;">‘</span><span class="se" style="color: #d14;">)?([\w\s\=\']</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">)(</span><span class="sr" style="color: #009926;">‘</span><span class="se" style="color: #d14;">)?\=([\d\.\-\+]</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">)([\w</span><span class="sr" style="color: #009926;">%</span><span class="se" style="color: #d14;">]</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">)[\;</span><span class="sr" style="color: #009926;">|</span><span class="se" style="color: #d14;">\s]?([\d\.\-</span><span class="sr" style="color: #009926;">:~@</span><span class="se" style="color: #d14;">]</span><span class="sr" style="color: #009926;">+</span><span class="se" style="color: #d14;">)</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">[\;</span><span class="sr" style="color: #009926;">|</span><span class="se" style="color: #d14;">\s]?([\d\.\-</span><span class="sr" style="color: #009926;">:~@</span><span class="se" style="color: #d14;">]</span><span class="sr" style="color: #009926;">+</span><span class="se" style="color: #d14;">)</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">[\;</span><span class="sr" style="color: #009926;">|</span><span class="se" style="color: #d14;">\s]?([\d\.\-\+]</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">)[\;</span><span class="sr" style="color: #009926;">|</span><span class="se" style="color: #d14;">\s]?([\d\.\-\+]</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">)</span><span class="sr" style="color: #009926;">/</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="949" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="958" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
958
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC958" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">tmpSetMatches</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">perfdataMatches</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">match</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">(</span><span class="sr" style="color: #009926;">‘</span><span class="se" style="color: #d14;">)?([\w\s\=\'<span class="idiff left right">\-</span>]</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">)(</span><span class="sr" style="color: #009926;">‘</span><span class="se" style="color: #d14;">)?\=([\d\.\-\+]</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">)([\w</span><span class="sr" style="color: #009926;">%</span><span class="se" style="color: #d14;">]</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">)[\;</span><span class="sr" style="color: #009926;">|</span><span class="se" style="color: #d14;">\s]?([\d\.\-</span><span class="sr" style="color: #009926;">:~@</span><span class="se" style="color: #d14;">]</span><span class="sr" style="color: #009926;">+</span><span class="se" style="color: #d14;">)</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">[\;</span><span class="sr" style="color: #009926;">|</span><span class="se" style="color: #d14;">\s]?([\d\.\-</span><span class="sr" style="color: #009926;">:~@</span><span class="se" style="color: #d14;">]</span><span class="sr" style="color: #009926;">+</span><span class="se" style="color: #d14;">)</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">[\;</span><span class="sr" style="color: #009926;">|</span><span class="se" style="color: #d14;">\s]?([\d\.\-\+]</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">)[\;</span><span class="sr" style="color: #009926;">|</span><span class="se" style="color: #d14;">\s]?([\d\.\-\+]</span><span class="sr" style="color: #009926;">*</span><span class="se" style="color: #d14;">)</span><span class="sr" style="color: #009926;">/</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="949" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
949
</td>
<td class="diff-line-num new_line" data-linenumber="959" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
959
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC959" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="950" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
950
</td>
<td class="diff-line-num new_line" data-linenumber="960" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
960
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC960" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Check if we got any perfdata</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="951" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
951
</td>
<td class="diff-line-num new_line" data-linenumber="961" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
961
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC961" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">tmpSetMatches</span> <span class="o" style="font-weight: 600;">===</span> <span class="kc" style="font-weight: 600;">null</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="967" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="977" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -967,32 +977,32 @@ var ElementLine = Element.extend({</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="967" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
967
</td>
<td class="diff-line-num new_line" data-linenumber="977" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
977
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC977" class="line" lang="javascript"> <span class="cm" style="color: #998; font-style: italic;">/*</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="968" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
968
</td>
<td class="diff-line-num new_line" data-linenumber="978" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
978
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC978" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * There is a rectangle: viewport (current Leaflet map shown) + 10% on each side.</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="969" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
969
</td>
<td class="diff-line-num new_line" data-linenumber="979" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
979
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC979" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * This function cuts the lines protruding beyond the rectangle.</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="970" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
970
</td>
<td class="diff-line-num new_line old" data-linenumber="980" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC970" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * Shortened lines prevent renderLine() from generating many vast <canvas> (10000-ish pixels) which eventually lead<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="971" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
971
</td>
<td class="diff-line-num new_line old" data-linenumber="980" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC971" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * to memory exhaustion or crash the browser<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="972" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
972
</td>
<td class="diff-line-num new_line old" data-linenumber="980" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC972" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> *<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="973" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="980" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
980
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC980" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * Shortened lines prevent renderLine() from generating many vast <canvas> (10000-ish pixels) which eventually lead</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="973" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="981" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
981
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC981" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * to memory exhaustion or crash the browser</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="973" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="982" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
982
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC982" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> *</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="973" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
973
</td>
<td class="diff-line-num new_line" data-linenumber="983" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
983
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC983" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * Returns:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="974" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
974
</td>
<td class="diff-line-num new_line" data-linenumber="984" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
984
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC984" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * either: [xA, yA, xB, yB] - original or adjusted line A/B coordinates,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="975" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
975
</td>
<td class="diff-line-num new_line" data-linenumber="985" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
985
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC985" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * or: null - line out of a rectangle, don't render</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="976" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
976
</td>
<td class="diff-line-num new_line" data-linenumber="986" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
986
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC986" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> */</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="977" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
977
</td>
<td class="diff-line-num new_line old" data-linenumber="987" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC977" class="line" lang="javascript"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="978" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="987" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
987
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC987" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="978" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
978
</td>
<td class="diff-line-num new_line" data-linenumber="988" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
988
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC988" class="line" lang="javascript"> <span class="na" style="color: #008080;">cutLineBeyondViewport</span><span class="p">:</span> <span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">xA</span><span class="p">,</span> <span class="nx">yA</span><span class="p">,</span> <span class="nx">xB</span><span class="p">,</span> <span class="nx">yB</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="979" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
979
</td>
<td class="diff-line-num new_line" data-linenumber="989" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
989
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC989" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">g_map</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="980" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
980
</td>
<td class="diff-line-num new_line" data-linenumber="990" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
990
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC990" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span><span class="p">([</span><span class="nx">xA</span><span class="p">,</span> <span class="nx">yA</span><span class="p">,</span> <span class="nx">xB</span><span class="p">,</span> <span class="nx">yB</span><span class="p">]);</span> <span class="c1" style="color: #998; font-style: italic;">// no viewport - no clipping</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="981" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
981
</td>
<td class="diff-line-num new_line" data-linenumber="991" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
991
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC991" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="982" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
982
</td>
<td class="diff-line-num new_line" data-linenumber="992" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
992
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC992" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">viewport_size</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">g_map</span><span class="p">.</span><span class="nx">getSize</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="983" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
983
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC983" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">xMax</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">viewport_size</span><span class="p">.</span><span class="nx">x</span><span class="p">;</span> <span class="c1" style="color: #998; font-style: italic;">// 1920</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="984" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
984
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC984" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">yMax</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">viewport_size</span><span class="p">.</span><span class="nx">y</span><span class="p">;</span> <span class="c1" style="color: #998; font-style: italic;">// 1080</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="985" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
985
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC985" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">xTolerance</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">xMax</span> <span class="o" style="font-weight: 600;">*</span> <span class="mf" style="color: #099;">0.<span class="idiff left">1</span></span><span class="p"><span class="idiff">;</span></span><span class="idiff"> </span><span class="c1" style="color: #998; font-style: italic;"><span class="idiff right">// 192 (10</span>%)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="986" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
986
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC986" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">yTolerance</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">yMax</span> <span class="o" style="font-weight: 600;">*</span> <span class="mf" style="color: #099;">0.<span class="idiff left">1</span></span><span class="p"><span class="idiff">;</span></span><span class="idiff"> </span><span class="c1" style="color: #998; font-style: italic;"><span class="idiff right">// 108 (10</span>%)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="987" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
987
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC987" class="line" lang="javascript"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="988" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
988
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC988" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Cohen-Sutherland algorithm<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="989" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
989
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC989" class="line" lang="javascript"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="990" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
990
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC990" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// region codes<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="991" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
991
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC991" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">INSIDE</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">0</span><span class="p">;</span> <span class="c1" style="color: #998; font-style: italic;">// 0000<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="992" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
992
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC992" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">LEFT</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">1</span><span class="p">;</span> <span class="c1" style="color: #998; font-style: italic;">// 0001<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
993
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC993" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">RIGHT</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">2</span><span class="p">;</span> <span class="c1" style="color: #998; font-style: italic;">// 0010<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="994" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
994
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC994" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">BOTTOM</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">4</span><span class="p">;</span> <span class="c1" style="color: #998; font-style: italic;">// 0100<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="995" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
995
</td>
<td class="diff-line-num new_line old" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC995" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">TOP</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">8</span><span class="p">;</span> <span class="c1" style="color: #998; font-style: italic;">// 1000<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="993" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
993
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC993" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">xMax</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">viewport_size</span><span class="p">.</span><span class="nx">x</span><span class="p">;</span> <span class="idiff left right"> </span><span class="c1" style="color: #998; font-style: italic;">// 1920</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="994" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
994
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC994" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">yMax</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">viewport_size</span><span class="p">.</span><span class="nx">y</span><span class="p">;</span> <span class="idiff left right"> </span><span class="c1" style="color: #998; font-style: italic;">// 1080</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="995" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
995
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC995" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">xTolerance</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">xMax</span> <span class="o" style="font-weight: 600;">*</span> <span class="mf" style="color: #099;">0.<span class="idiff left">95</span></span><span class="p"><span class="idiff">;</span></span><span class="idiff"> </span><span class="c1" style="color: #998; font-style: italic;"><span class="idiff right">// 1824 (95</span>%)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
996
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC996" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">yTolerance</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">yMax</span> <span class="o" style="font-weight: 600;">*</span> <span class="mf" style="color: #099;">0.<span class="idiff left">95</span></span><span class="p"><span class="idiff">;</span></span><span class="idiff"> </span><span class="c1" style="color: #998; font-style: italic;"><span class="idiff right">// 1026 (95</span>%)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="997" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
997
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC997" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="998" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
998
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC998" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Cohen-Sutherland algorithm</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="999" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
999
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC999" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1000" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1000
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1000" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// region codes</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1001" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1001
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1001" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">INSIDE</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">0</span><span class="p">;</span> <span class="c1" style="color: #998; font-style: italic;">// 0000</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1002" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1002
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1002" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">LEFT</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">1</span><span class="p">;</span> <span class="c1" style="color: #998; font-style: italic;">// 0001</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1003" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1003
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1003" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">RIGHT</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">2</span><span class="p">;</span> <span class="c1" style="color: #998; font-style: italic;">// 0010</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1004" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1004
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1004" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">BOTTOM</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">4</span><span class="p">;</span> <span class="c1" style="color: #998; font-style: italic;">// 0100</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1005" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1005
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1005" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">TOP</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">8</span><span class="p">;</span> <span class="c1" style="color: #998; font-style: italic;">// 1000</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
996
</td>
<td class="diff-line-num new_line" data-linenumber="1006" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1006
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1006" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="997" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
997
</td>
<td class="diff-line-num new_line" data-linenumber="1007" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1007
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1007" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// boundaries</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="998" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
998
</td>
<td class="diff-line-num new_line" data-linenumber="1008" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1008
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1008" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">x_min</span> <span class="o" style="font-weight: 600;">=</span> <span class="o" style="font-weight: 600;">-</span><span class="nx">xTolerance</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="1001" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="1011" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -1001,102 +1011,102 @@ var ElementLine = Element.extend({</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1001" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1001
</td>
<td class="diff-line-num new_line" data-linenumber="1011" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1011
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1011" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">const</span> <span class="nx">y_max</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">yMax</span> <span class="o" style="font-weight: 600;">+</span> <span class="nx">yTolerance</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1002" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1002
</td>
<td class="diff-line-num new_line" data-linenumber="1012" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1012
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1012" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1003" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1003
</td>
<td class="diff-line-num new_line" data-linenumber="1013" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1013
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1013" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Function to compute region code</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1004" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1004
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1004" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">regionCode</span> <span class="o" style="font-weight: 600;">=</span> <span class="kd" style="font-weight: 600;">function</span> <span class="p">(</span><span class="nx">x</span><span class="p">,</span> <span class="nx">y</span><span class="p">)</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1005" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1005
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1005" class="line" lang="javascript"> <span class="p">{</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1006" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1006
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1006" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">code</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">INSIDE</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1007" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1007
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1007" class="line" lang="javascript"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1008" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1008
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1008" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">x</span> <span class="o" style="font-weight: 600;"><</span> <span class="nx">x_min</span><span class="p">)</span> <span class="c1" style="color: #998; font-style: italic;">// to the left of rectangle<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1009" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1009
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1009" class="line" lang="javascript"> <span class="nx">code</span> <span class="o" style="font-weight: 600;">|=</span> <span class="nx">LEFT</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1010" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1010
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1010" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">x</span> <span class="o" style="font-weight: 600;">></span> <span class="nx">x_max</span><span class="p">)</span> <span class="c1" style="color: #998; font-style: italic;">// to the right of rectangle<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1011" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1011
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1011" class="line" lang="javascript"> <span class="nx">code</span> <span class="o" style="font-weight: 600;">|=</span> <span class="nx">RIGHT</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1012" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1012
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1012" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">y</span> <span class="o" style="font-weight: 600;"><</span> <span class="nx">y_min</span><span class="p">)</span> <span class="c1" style="color: #998; font-style: italic;">// below the rectangle<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1013" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1013
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1013" class="line" lang="javascript"> <span class="nx">code</span> <span class="o" style="font-weight: 600;">|=</span> <span class="nx">BOTTOM</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1014
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1014" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">y</span> <span class="o" style="font-weight: 600;">></span> <span class="nx">y_max</span><span class="p">)</span> <span class="c1" style="color: #998; font-style: italic;">// above the rectangle<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1015" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1015
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1015" class="line" lang="javascript"> <span class="nx">code</span> <span class="o" style="font-weight: 600;">|=</span> <span class="nx">TOP</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1016" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1016
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1016" class="line" lang="javascript"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1017" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1017
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1017" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="nx">code</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1018" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1018
</td>
<td class="diff-line-num new_line old" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1018" class="line" lang="javascript"> <span class="p">}</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1014" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1014
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1014" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">regionCode</span> <span class="o" style="font-weight: 600;">=</span> <span class="kd" style="font-weight: 600;">function</span> <span class="p">(</span><span class="nx">x</span><span class="p">,</span> <span class="nx">y</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1015" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1015
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1015" class="line" lang="javascript"> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1016" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1016
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1016" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">code</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">INSIDE</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1017" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1017
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1017" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1018" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1018
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1018" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">x</span> <span class="o" style="font-weight: 600;"><</span> <span class="nx">x_min</span><span class="p">)</span> <span class="c1" style="color: #998; font-style: italic;">// to the left of rectangle</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1019
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1019" class="line" lang="javascript"> <span class="nx">code</span> <span class="o" style="font-weight: 600;">|=</span> <span class="nx">LEFT</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1020" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1020
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1020" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">x</span> <span class="o" style="font-weight: 600;">></span> <span class="nx">x_max</span><span class="p">)</span> <span class="c1" style="color: #998; font-style: italic;">// to the right of rectangle</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1021" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1021
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1021" class="line" lang="javascript"> <span class="nx">code</span> <span class="o" style="font-weight: 600;">|=</span> <span class="nx">RIGHT</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1022" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1022
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1022" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">y</span> <span class="o" style="font-weight: 600;"><</span> <span class="nx">y_min</span><span class="p">)</span> <span class="c1" style="color: #998; font-style: italic;">// below the rectangle</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1023" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1023
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1023" class="line" lang="javascript"> <span class="nx">code</span> <span class="o" style="font-weight: 600;">|=</span> <span class="nx">BOTTOM</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1024" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1024
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1024" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">y</span> <span class="o" style="font-weight: 600;">></span> <span class="nx">y_max</span><span class="p">)</span> <span class="c1" style="color: #998; font-style: italic;">// above the rectangle</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1025" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1025
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1025" class="line" lang="javascript"> <span class="nx">code</span> <span class="o" style="font-weight: 600;">|=</span> <span class="nx">TOP</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1026" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1026
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1026" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1027" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1027
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1027" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="nx">code</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1028" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1028
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1028" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1019" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1019
</td>
<td class="diff-line-num new_line" data-linenumber="1029" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1029
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1029" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1020" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1020
</td>
<td class="diff-line-num new_line" data-linenumber="1030" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1030
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1030" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">cohenSutherlandClip</span> <span class="o" style="font-weight: 600;">=</span> <span class="kd" style="font-weight: 600;">function</span> <span class="p">(</span><span class="nx">x1</span><span class="p">,</span> <span class="nx">y1</span><span class="p">,</span> <span class="nx">x2</span><span class="p">,</span> <span class="nx">y2</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1021" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1021
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1021" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">code1</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">regionCode</span><span class="p">(</span><span class="nx">x1</span><span class="p">,</span> <span class="nx">y1</span><span class="p">);</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1022" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1022
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1022" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">code2</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">regionCode</span><span class="p">(</span><span class="nx">x2</span><span class="p">,</span> <span class="nx">y2</span><span class="p">);</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1023" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1023
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1023" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1024" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1024
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1024" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">accept</span> <span class="o" style="font-weight: 600;">=</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1025" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1025
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1025" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1026" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1026
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1026" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">while</span> <span class="p">(</span><span class="kc" style="font-weight: 600;">true</span><span class="p">)</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1027" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1027
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1027" class="line" lang="javascript"> <span class="p">{</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1028" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1028
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1028" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">((</span><span class="nx">code1</span> <span class="o" style="font-weight: 600;">==</span> <span class="mi" style="color: #099;">0</span><span class="p">)</span> <span class="o" style="font-weight: 600;">&&</span> <span class="p">(</span><span class="nx">code2</span> <span class="o" style="font-weight: 600;">==</span> <span class="mi" style="color: #099;">0</span><span class="p">))</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1029" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1029
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1029" class="line" lang="javascript"> <span class="p">{</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1030" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1030
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1030" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// If both endpoints lie within rectangle<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1031
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1031" class="line" lang="javascript"> <span class="nx">accept</span> <span class="o" style="font-weight: 600;">=</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1032" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1032
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1032" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1033" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1033
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1033" class="line" lang="javascript"> <span class="p">}</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1034" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1034
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1034" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code1</span> <span class="o" style="font-weight: 600;">&</span> <span class="nx">code2</span><span class="p">)</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1035" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1035
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1035" class="line" lang="javascript"> <span class="p">{</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1036" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1036
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1036" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// If both endpoints are outside rectangle,<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1037" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1037
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1037" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// in same region<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1038" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1038
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1038" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1039" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1039
</td>
<td class="diff-line-num new_line old" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1039" class="line" lang="javascript"> <span class="p">}</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1031" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1031
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1031" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">code1</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">regionCode</span><span class="p">(</span><span class="nx">x1</span><span class="p">,</span> <span class="nx">y1</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1032" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1032
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1032" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">code2</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">regionCode</span><span class="p">(</span><span class="nx">x2</span><span class="p">,</span> <span class="nx">y2</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1033" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1033
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1033" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1034" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1034
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1034" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">accept</span> <span class="o" style="font-weight: 600;">=</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1035" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1035
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1035" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1036" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1036
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1036" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">while</span> <span class="p">(</span><span class="kc" style="font-weight: 600;">true</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1037" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1037
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1037" class="line" lang="javascript"> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1038" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1038
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1038" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">((</span><span class="nx">code1</span> <span class="o" style="font-weight: 600;">==</span> <span class="mi" style="color: #099;">0</span><span class="p">)</span> <span class="o" style="font-weight: 600;">&&</span> <span class="p">(</span><span class="nx">code2</span> <span class="o" style="font-weight: 600;">==</span> <span class="mi" style="color: #099;">0</span><span class="p">))</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1039" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1039
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1039" class="line" lang="javascript"> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1040
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1040" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// If both endpoints lie within rectangle</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1041" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1041
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1041" class="line" lang="javascript"> <span class="nx">accept</span> <span class="o" style="font-weight: 600;">=</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1042" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1042
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1042" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">break</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1043" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1043
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1043" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1044" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1044
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1044" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code1</span> <span class="o" style="font-weight: 600;">&</span> <span class="nx">code2</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1045" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1045
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1045" class="line" lang="javascript"> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1046" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1046
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1046" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// If both endpoints are outside rectangle,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1047" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1047
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1047" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// in same region</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1048" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1048
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1048" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">break</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1049" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1049
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1049" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1040" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1040
</td>
<td class="diff-line-num new_line" data-linenumber="1050" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1050
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1050" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1041" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1041
</td>
<td class="diff-line-num new_line old" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1041" class="line" lang="javascript"> <span class="p">{</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1042" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1042
</td>
<td class="diff-line-num new_line old" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1042" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Some segment of line lies within the<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1043" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1043
</td>
<td class="diff-line-num new_line old" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1043" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// rectangle<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1044" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1044
</td>
<td class="diff-line-num new_line old" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1044" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">code_out</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1045" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1045
</td>
<td class="diff-line-num new_line old" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1045" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">x</span><span class="p">,</span> <span class="nx">y</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1046" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1046
</td>
<td class="diff-line-num new_line old" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1046" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1047" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1047
</td>
<td class="diff-line-num new_line old" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1047" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// At least one endpoint is outside the<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1048" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1048
</td>
<td class="diff-line-num new_line old" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1048" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// rectangle, pick it.<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1049" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1049
</td>
<td class="diff-line-num new_line old" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1049" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code1</span> <span class="o" style="font-weight: 600;">!=</span> <span class="mi" style="color: #099;">0</span><span class="p">)</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1050" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1050
</td>
<td class="diff-line-num new_line old" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1050" class="line" lang="javascript"> <span class="nx">code_out</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">code1</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1051
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1051" class="line" lang="javascript"> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1052" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1052
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1052" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Some segment of line lies within the</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1053" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1053
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1053" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// rectangle</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1054" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1054
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1054" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">code_out</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1055" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1055
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1055" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">x</span><span class="p">,</span> <span class="nx">y</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1056" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1056
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1056" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1057" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1057
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1057" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// At least one endpoint is outside the</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1058" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1058
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1058" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// rectangle, pick it.</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1059" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1059
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1059" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code1</span> <span class="o" style="font-weight: 600;">!=</span> <span class="mi" style="color: #099;">0</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1060" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1060
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1060" class="line" lang="javascript"> <span class="nx">code_out</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">code1</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1051" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1051
</td>
<td class="diff-line-num new_line" data-linenumber="1061" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1061
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1061" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1052" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1052
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1052" class="line" lang="javascript"> <span class="nx">code_out</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">code2</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1053" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1053
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1053" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1054" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1054
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1054" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Find intersection point;<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1055" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1055
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1055" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// using formulas y = y1 + slope * (x - x1),<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1056" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1056
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1056" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// x = x1 + (1 / slope) * (y - y1)<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1057" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1057
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1057" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code_out</span> <span class="o" style="font-weight: 600;">&</span> <span class="nx">TOP</span><span class="p">)</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1058" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1058
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1058" class="line" lang="javascript"> <span class="p">{</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1059" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1059
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1059" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// point is above the clip rectangle<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1060" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1060
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1060" class="line" lang="javascript"> <span class="nx">x</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">x1</span> <span class="o" style="font-weight: 600;">+</span> <span class="p">(</span><span class="nx">x2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">x1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">*</span> <span class="p">(</span><span class="nx">y_max</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">y1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">/</span> <span class="p">(</span><span class="nx">y2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">y1</span><span class="p">);</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1061" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1061
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1061" class="line" lang="javascript"> <span class="nx">y</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">y_max</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1062
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1062" class="line" lang="javascript"> <span class="p">}</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1063" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1063
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1063" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code_out</span> <span class="o" style="font-weight: 600;">&</span> <span class="nx">BOTTOM</span><span class="p">)</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1064" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1064
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1064" class="line" lang="javascript"> <span class="p">{</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1065" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1065
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1065" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// point is below the rectangle<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1066" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1066
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1066" class="line" lang="javascript"> <span class="nx">x</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">x1</span> <span class="o" style="font-weight: 600;">+</span> <span class="p">(</span><span class="nx">x2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">x1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">*</span> <span class="p">(</span><span class="nx">y_min</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">y1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">/</span> <span class="p">(</span><span class="nx">y2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">y1</span><span class="p">);</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1067" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1067
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1067" class="line" lang="javascript"> <span class="nx">y</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">y_min</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1068" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1068
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1068" class="line" lang="javascript"> <span class="p">}</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1069" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1069
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1069" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code_out</span> <span class="o" style="font-weight: 600;">&</span> <span class="nx">RIGHT</span><span class="p">)</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1070" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1070
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1070" class="line" lang="javascript"> <span class="p">{</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1071" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1071
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1071" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// point is to the right of rectangle<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1072" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1072
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1072" class="line" lang="javascript"> <span class="nx">y</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">y1</span> <span class="o" style="font-weight: 600;">+</span> <span class="p">(</span><span class="nx">y2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">y1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">*</span> <span class="p">(</span><span class="nx">x_max</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">x1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">/</span> <span class="p">(</span><span class="nx">x2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">x1</span><span class="p">);</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1073" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1073
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1073" class="line" lang="javascript"> <span class="nx">x</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">x_max</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1074" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1074
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1074" class="line" lang="javascript"> <span class="p">}</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1075" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1075
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1075" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code_out</span> <span class="o" style="font-weight: 600;">&</span> <span class="nx">LEFT</span><span class="p">)</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1076" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1076
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1076" class="line" lang="javascript"> <span class="p">{</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1077" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1077
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1077" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// point is to the left of rectangle<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1078" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1078
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1078" class="line" lang="javascript"> <span class="nx">y</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">y1</span> <span class="o" style="font-weight: 600;">+</span> <span class="p">(</span><span class="nx">y2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">y1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">*</span> <span class="p">(</span><span class="nx">x_min</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">x1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">/</span> <span class="p">(</span><span class="nx">x2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">x1</span><span class="p">);</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1079" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1079
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1079" class="line" lang="javascript"> <span class="nx">x</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">x_min</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1080" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1080
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1080" class="line" lang="javascript"> <span class="p">}</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1081" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1081
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1081" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1082" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1082
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1082" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Now intersection point x,y is found<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1083" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1083
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1083" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// We replace point outside rectangle<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1084" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1084
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1084" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// by intersection point<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1085" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1085
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1085" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code_out</span> <span class="o" style="font-weight: 600;">==</span> <span class="nx">code1</span><span class="p">)</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1086" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1086
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1086" class="line" lang="javascript"> <span class="p">{</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1087" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1087
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1087" class="line" lang="javascript"> <span class="nx">x1</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">x</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1088" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1088
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1088" class="line" lang="javascript"> <span class="nx">y1</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">y</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1089" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1089
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1089" class="line" lang="javascript"> <span class="nx">code1</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">regionCode</span><span class="p">(</span><span class="nx">x1</span><span class="p">,</span> <span class="nx">y1</span><span class="p">);</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1090" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1090
</td>
<td class="diff-line-num new_line old" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1090" class="line" lang="javascript"> <span class="p">}</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1062" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1062
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1062" class="line" lang="javascript"> <span class="nx">code_out</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">code2</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1063" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1063
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1063" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1064" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1064
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1064" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Find intersection point;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1065" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1065
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1065" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// using formulas y = y1 + slope * (x - x1),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1066" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1066
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1066" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// x = x1 + (1 / slope) * (y - y1)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1067" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1067
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1067" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code_out</span> <span class="o" style="font-weight: 600;">&</span> <span class="nx">TOP</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1068" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1068
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1068" class="line" lang="javascript"> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1069" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1069
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1069" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// point is above the clip rectangle</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1070" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1070
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1070" class="line" lang="javascript"> <span class="nx">x</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">x1</span> <span class="o" style="font-weight: 600;">+</span> <span class="p">(</span><span class="nx">x2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">x1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">*</span> <span class="p">(</span><span class="nx">y_max</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">y1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">/</span> <span class="p">(</span><span class="nx">y2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">y1</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1071" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1071
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1071" class="line" lang="javascript"> <span class="nx">y</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">y_max</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1072" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1072
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1072" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1073" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1073
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1073" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code_out</span> <span class="o" style="font-weight: 600;">&</span> <span class="nx">BOTTOM</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1074" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1074
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1074" class="line" lang="javascript"> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1075" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1075
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1075" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// point is below the rectangle</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1076" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1076
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1076" class="line" lang="javascript"> <span class="nx">x</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">x1</span> <span class="o" style="font-weight: 600;">+</span> <span class="p">(</span><span class="nx">x2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">x1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">*</span> <span class="p">(</span><span class="nx">y_min</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">y1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">/</span> <span class="p">(</span><span class="nx">y2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">y1</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1077" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1077
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1077" class="line" lang="javascript"> <span class="nx">y</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">y_min</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1078" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1078
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1078" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1079" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1079
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1079" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code_out</span> <span class="o" style="font-weight: 600;">&</span> <span class="nx">RIGHT</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1080" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1080
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1080" class="line" lang="javascript"> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1081" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1081
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1081" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// point is to the right of rectangle</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1082" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1082
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1082" class="line" lang="javascript"> <span class="nx">y</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">y1</span> <span class="o" style="font-weight: 600;">+</span> <span class="p">(</span><span class="nx">y2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">y1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">*</span> <span class="p">(</span><span class="nx">x_max</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">x1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">/</span> <span class="p">(</span><span class="nx">x2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">x1</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1083" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1083
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1083" class="line" lang="javascript"> <span class="nx">x</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">x_max</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1084" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1084
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1084" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1085" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1085
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1085" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code_out</span> <span class="o" style="font-weight: 600;">&</span> <span class="nx">LEFT</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1086" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1086
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1086" class="line" lang="javascript"> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1087" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1087
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1087" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// point is to the left of rectangle</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1088" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1088
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1088" class="line" lang="javascript"> <span class="nx">y</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">y1</span> <span class="o" style="font-weight: 600;">+</span> <span class="p">(</span><span class="nx">y2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">y1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">*</span> <span class="p">(</span><span class="nx">x_min</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">x1</span><span class="p">)</span> <span class="o" style="font-weight: 600;">/</span> <span class="p">(</span><span class="nx">x2</span> <span class="o" style="font-weight: 600;">-</span> <span class="nx">x1</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1089" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1089
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1089" class="line" lang="javascript"> <span class="nx">x</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">x_min</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1090" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1090
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1090" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1091
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1091" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1092" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1092
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1092" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Now intersection point x,y is found</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1093" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1093
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1093" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// We replace point outside rectangle</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1094" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1094
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1094" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// by intersection point</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1095" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1095
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1095" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">code_out</span> <span class="o" style="font-weight: 600;">==</span> <span class="nx">code1</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1096" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1096
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1096" class="line" lang="javascript"> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1097" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1097
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1097" class="line" lang="javascript"> <span class="nx">x1</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">x</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1098" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1098
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1098" class="line" lang="javascript"> <span class="nx">y1</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">y</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1099" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1099
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1099" class="line" lang="javascript"> <span class="nx">code1</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">regionCode</span><span class="p">(</span><span class="nx">x1</span><span class="p">,</span> <span class="nx">y1</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1100" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1100
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1100" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1091" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1091
</td>
<td class="diff-line-num new_line" data-linenumber="1101" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1101
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1101" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1092" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1092
</td>
<td class="diff-line-num new_line old" data-linenumber="1102" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1092" class="line" lang="javascript"> <span class="p">{</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1093" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1093
</td>
<td class="diff-line-num new_line old" data-linenumber="1102" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1093" class="line" lang="javascript"> <span class="nx">x2</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">x</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1094" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1094
</td>
<td class="diff-line-num new_line old" data-linenumber="1102" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1094" class="line" lang="javascript"> <span class="nx">y2</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">y</span><span class="p">;</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1095" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1095
</td>
<td class="diff-line-num new_line old" data-linenumber="1102" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1095" class="line" lang="javascript"> <span class="nx">code2</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">regionCode</span><span class="p">(</span><span class="nx">x2</span><span class="p">,</span> <span class="nx">y2</span><span class="p">);</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1096" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1096
</td>
<td class="diff-line-num new_line old" data-linenumber="1102" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1096" class="line" lang="javascript"> <span class="p">}</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1097" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1097
</td>
<td class="diff-line-num new_line old" data-linenumber="1102" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1097" class="line" lang="javascript"> <span class="p">}</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1098" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1098
</td>
<td class="diff-line-num new_line old" data-linenumber="1102" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1098" class="line" lang="javascript"> <span class="p">}</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1099" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1099
</td>
<td class="diff-line-num new_line old" data-linenumber="1102" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1099" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">accept</span><span class="p">)</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1100" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1102" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1102
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1102" class="line" lang="javascript"> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1100" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1103" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1103
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1103" class="line" lang="javascript"> <span class="nx">x2</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">x</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1100" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1104" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1104
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1104" class="line" lang="javascript"> <span class="nx">y2</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">y</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1100" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1105" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1105
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1105" class="line" lang="javascript"> <span class="nx">code2</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">regionCode</span><span class="p">(</span><span class="nx">x2</span><span class="p">,</span> <span class="nx">y2</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1100" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1106" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1106
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1106" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1100" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1107" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1107
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1107" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1100" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1108" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1108
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1108" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1100" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1109" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1109
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1109" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">accept</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1100" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1100
</td>
<td class="diff-line-num new_line" data-linenumber="1110" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1110
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1110" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span><span class="p">([</span><span class="nx">x1</span><span class="p">,</span> <span class="nx">y1</span><span class="p">,</span> <span class="nx">x2</span><span class="p">,</span> <span class="nx">y2</span><span class="p">]);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1101" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1101
</td>
<td class="diff-line-num new_line" data-linenumber="1111" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1111
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1111" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1102" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1102
</td>
<td class="diff-line-num new_line" data-linenumber="1112" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1112
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1112" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">null</span><span class="p">;</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="bef53a83c004d02780e3dd12d572380197d0b685">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#bef53a83c004d02780e3dd12d572380197d0b685"><strong>share/frontend/nagvis-js/js/ExtNicEdit.js</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;">/* NicEdit - Micro Inline WYSIWYG</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="2" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
2
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC2" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * Copyright 2007-2008 Brian Kirchoff</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="3" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
3
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC3" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> *</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="4" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
4
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC4" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * NicEdit is distributed under the terms of the MIT license</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="5" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
5
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC5" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * For more information visit http://nicedit.com/</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="6" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
6
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC6" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> * Do not remove this copyright message</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="7" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
7
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC7" class="line" lang="javascript"><span class="cm" style="color: #998; font-style: italic;"> */</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="8" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
8
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC8" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">bkExtend</span><span class="o" style="font-weight: 600;">=</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nx">arguments</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="p">.</span><span class="nx">length</span><span class="o" style="font-weight: 600;">==</span><span class="mi" style="color: #099;">1</span><span class="p">){</span><span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="p">[</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">A</span><span class="p">[</span><span class="mi" style="color: #099;">0</span><span class="p">]]}</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">A</span><span class="p">[</span><span class="mi" style="color: #099;">1</span><span class="p">]){</span><span class="nx">A</span><span class="p">[</span><span class="mi" style="color: #099;">0</span><span class="p">][</span><span class="nx">B</span><span class="p">]</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">[</span><span class="mi" style="color: #099;">1</span><span class="p">][</span><span class="nx">B</span><span class="p">]}</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">A</span><span class="p">[</span><span class="mi" style="color: #099;">0</span><span class="p">]};</span><span class="kd" style="font-weight: 600;">function</span> <span class="nx">bkClass</span><span class="p">(){}</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">prototype</span><span class="p">.</span><span class="nx">construct</span><span class="o" style="font-weight: 600;">=</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){};</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="o" style="font-weight: 600;">=</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">arguments</span><span class="p">[</span><span class="mi" style="color: #099;">0</span><span class="p">]</span><span class="o" style="font-weight: 600;">!==</span><span class="nx">bkClass</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">construct</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">arguments</span><span class="p">)}};</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="k" style="font-weight: 600;">this</span><span class="p">(</span><span class="nx">bkClass</span><span class="p">);</span><span class="nx">bkExtend</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">C</span><span class="p">);</span><span class="nx">A</span><span class="p">.</span><span class="nx">prototype</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">;</span><span class="nx">A</span><span class="p">.</span><span class="nx">extend</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">extend</span><span class="p">;</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">A</span><span class="p">};</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">bkElement</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">construct</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">typeof</span> <span class="p">(</span><span class="nx">B</span><span class="p">)</span><span class="o" style="font-weight: 600;">==</span><span class="dl">"</span><span class="s2" style="color: #d14;">string</span><span class="dl">"</span><span class="p">){</span><span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="p">(</span><span class="nx">A</span><span class="o" style="font-weight: 600;">||</span><span class="nb" style="color: #0086b3;">document</span><span class="p">).</span><span class="nx">createElement</span><span class="p">(</span><span class="nx">B</span><span class="p">)}</span><span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">$BK</span><span class="p">(</span><span class="nx">B</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">B</span><span class="p">},</span><span class="na" style="color: #008080;">appendTo</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">appendChild</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">},</span><span class="na" style="color: #008080;">appendBefore</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">parentNode</span><span class="p">.</span><span class="nx">insertBefore</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">},</span><span class="na" style="color: #008080;">addEvent</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">},</span><span class="na" style="color: #008080;">setContent</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">innerHTML</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">;</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">},</span><span class="na" style="color: #008080;">pos</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="nx">curtop</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">obj</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">obj</span><span class="p">.</span><span class="nx">offsetParent</span><span class="p">){</span><span class="k" style="font-weight: 600;">do</span><span class="p">{</span><span class="nx">C</span><span class="o" style="font-weight: 600;">+=</span><span class="nx">obj</span><span class="p">.</span><span class="nx">offsetLeft</span><span class="p">;</span><span class="nx">curtop</span><span class="o" style="font-weight: 600;">+=</span><span class="nx">obj</span><span class="p">.</span><span class="nx">offsetTop</span><span class="p">}</span><span class="k" style="font-weight: 600;">while</span><span class="p">(</span><span class="nx">obj</span><span class="o" style="font-weight: 600;">=</span><span class="nx">obj</span><span class="p">.</span><span class="nx">offsetParent</span><span class="p">)}</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">opera</span><span class="p">)?</span><span class="nb" style="color: #0086b3;">parseInt</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">getStyle</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">border-width</span><span class="dl">"</span><span class="p">)</span><span class="o" style="font-weight: 600;">||</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">style</span><span class="p">.</span><span class="nx">border</span><span class="p">)</span><span class="o" style="font-weight: 600;">||</span><span class="mi" style="color: #099;">0</span><span class="p">:</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="k" style="font-weight: 600;">return</span><span class="p">[</span><span class="nx">C</span><span class="o" style="font-weight: 600;">+</span><span class="nx">A</span><span class="p">,</span><span class="nx">curtop</span><span class="o" style="font-weight: 600;">+</span><span class="nx">A</span><span class="o" style="font-weight: 600;">+</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">offsetHeight</span><span class="p">]},</span><span class="na" style="color: #008080;">noSelect</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">noSelect</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">},</span><span class="na" style="color: #008080;">parentTag</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">;</span><span class="k" style="font-weight: 600;">do</span><span class="p">{</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">B</span><span class="p">.</span><span class="nx">nodeName</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">B</span><span class="p">.</span><span class="nx">nodeName</span><span class="p">.</span><span class="nx">toUpperCase</span><span class="p">()</span><span class="o" style="font-weight: 600;">==</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">B</span><span class="p">}</span><span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">.</span><span class="nx">parentNode</span><span class="p">}</span><span class="k" style="font-weight: 600;">while</span><span class="p">(</span><span class="nx">B</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">},</span><span class="na" style="color: #008080;">hasClass</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">className</span><span class="p">.</span><span class="nx">match</span><span class="p">(</span><span class="k" style="font-weight: 600;">new</span> <span class="nb" style="color: #0086b3;">RegExp</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">(</span><span class="se" style="color: #d14;">\\</span><span class="s2" style="color: #d14;">s|^)nicEdit-</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">A</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">(</span><span class="se" style="color: #d14;">\\</span><span class="s2" style="color: #d14;">s|$)</span><span class="dl">"</span><span class="p">))},</span><span class="na" style="color: #008080;">addClass</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">hasClass</span><span class="p">(</span><span class="nx">A</span><span class="p">)){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">className</span><span class="o" style="font-weight: 600;">+=</span><span class="dl">"</span><span class="s2" style="color: #d14;"> nicEdit-</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">A</span><span class="p">}</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">},</span><span class="na" style="color: #008080;">removeClass</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">hasClass</span><span class="p">(</span><span class="nx">A</span><span class="p">)){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">className</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">className</span><span class="p">.</span><span class="nx">replace</span><span class="p">(</span><span class="k" style="font-weight: 600;">new</span> <span class="nb" style="color: #0086b3;">RegExp</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">(</span><span class="se" style="color: #d14;">\\</span><span class="s2" style="color: #d14;">s|^)nicEdit-</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">A</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">(</span><span class="se" style="color: #d14;">\\</span><span class="s2" style="color: #d14;">s|$)</span><span class="dl">"</span><span class="p">),</span><span class="dl">"</span><span class="s2" style="color: #d14;"> </span><span class="dl">"</span><span class="p">)}</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">},</span><span class="na" style="color: #008080;">setStyle</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">style</span><span class="p">;</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">switch</span><span class="p">(</span><span class="nx">C</span><span class="p">){</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">float</span><span class="dl">"</span><span class="p">:</span><span class="nx">B</span><span class="p">.</span><span class="nx">cssFloat</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">.</span><span class="nx">styleFloat</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">[</span><span class="nx">C</span><span class="p">];</span><span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">opacity</span><span class="dl">"</span><span class="p">:</span><span class="nx">B</span><span class="p">.</span><span class="nx">opacity</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">[</span><span class="nx">C</span><span class="p">];</span><span class="nx">B</span><span class="p">.</span><span class="nx">filter</span><span class="o" style="font-weight: 600;">=</span><span class="dl">"</span><span class="s2" style="color: #d14;">alpha(opacity=</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nb" style="color: #0086b3;">Math</span><span class="p">.</span><span class="nx">round</span><span class="p">(</span><span class="nx">A</span><span class="p">[</span><span class="nx">C</span><span class="p">]</span><span class="o" style="font-weight: 600;">*</span><span class="mi" style="color: #099;">100</span><span class="p">)</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">)</span><span class="dl">"</span><span class="p">;</span><span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">className</span><span class="dl">"</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">className</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">[</span><span class="nx">C</span><span class="p">];</span><span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="nl">default</span><span class="p">:</span><span class="nx">B</span><span class="p">[</span><span class="nx">C</span><span class="p">]</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">[</span><span class="nx">C</span><span class="p">]}}</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">},</span><span class="na" style="color: #008080;">getStyle</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">C</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">C</span><span class="p">)?</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">defaultView</span><span class="p">:</span><span class="nx">C</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nodeType</span><span class="o" style="font-weight: 600;">==</span><span class="mi" style="color: #099;">1</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span><span class="p">(</span><span class="nx">B</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">B</span><span class="p">.</span><span class="nx">getComputedStyle</span><span class="p">)?</span><span class="nx">B</span><span class="p">.</span><span class="nx">getComputedStyle</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="kc" style="font-weight: 600;">null</span><span class="p">).</span><span class="nx">getPropertyValue</span><span class="p">(</span><span class="nx">A</span><span class="p">):</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">currentStyle</span><span class="p">[</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">camelize</span><span class="p">(</span><span class="nx">A</span><span class="p">)]}},</span><span class="na" style="color: #008080;">remove</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">parentNode</span><span class="p">.</span><span class="nx">removeChild</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">},</span><span class="na" style="color: #008080;">setAttributes</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">[</span><span class="nx">B</span><span class="p">]</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">[</span><span class="nx">B</span><span class="p">]}</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">}});</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">bkLib</span><span class="o" style="font-weight: 600;">=</span><span class="p">{</span><span class="na" style="color: #008080;">isMSIE</span><span class="p">:(</span><span class="nb" style="color: #0086b3;">navigator</span><span class="p">.</span><span class="nx">appVersion</span><span class="p">.</span><span class="nx">indexOf</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">MSIE</span><span class="dl">"</span><span class="p">)</span><span class="o" style="font-weight: 600;">!=-</span><span class="mi" style="color: #099;">1</span><span class="p">),</span><span class="na" style="color: #008080;">addEvent</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">,</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">){(</span><span class="nx">C</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">)?</span><span class="nx">C</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">,</span><span class="kc" style="font-weight: 600;">false</span><span class="p">):</span><span class="nx">C</span><span class="p">.</span><span class="nx">attachEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">on</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">)},</span><span class="na" style="color: #008080;">toArray</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">.</span><span class="nx">length</span><span class="p">,</span><span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nb" style="color: #0086b3;">Array</span><span class="p">(</span><span class="nx">B</span><span class="p">);</span><span class="k" style="font-weight: 600;">while</span><span class="p">(</span><span class="nx">B</span><span class="o" style="font-weight: 600;">--</span><span class="p">){</span><span class="nx">A</span><span class="p">[</span><span class="nx">B</span><span class="p">]</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">[</span><span class="nx">B</span><span class="p">]}</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">A</span><span class="p">},</span><span class="na" style="color: #008080;">noSelect</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="p">.</span><span class="nx">setAttribute</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">B</span><span class="p">.</span><span class="nx">nodeName</span><span class="p">.</span><span class="nx">toLowerCase</span><span class="p">()</span><span class="o" style="font-weight: 600;">!=</span><span class="dl">"</span><span class="s2" style="color: #d14;">input</span><span class="dl">"</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">B</span><span class="p">.</span><span class="nx">nodeName</span><span class="p">.</span><span class="nx">toLowerCase</span><span class="p">()</span><span class="o" style="font-weight: 600;">!=</span><span class="dl">"</span><span class="s2" style="color: #d14;">textarea</span><span class="dl">"</span><span class="p">){</span><span class="nx">B</span><span class="p">.</span><span class="nx">setAttribute</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">unselectable</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">on</span><span class="dl">"</span><span class="p">)}</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">A</span><span class="o" style="font-weight: 600;"><</span><span class="nx">B</span><span class="p">.</span><span class="nx">childNodes</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">A</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">noSelect</span><span class="p">(</span><span class="nx">B</span><span class="p">.</span><span class="nx">childNodes</span><span class="p">[</span><span class="nx">A</span><span class="p">])}},</span><span class="na" style="color: #008080;">camelize</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">A</span><span class="p">.</span><span class="nx">replace</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">\-(</span><span class="sr" style="color: #009926;">.</span><span class="se" style="color: #d14;">)</span><span class="sr" style="color: #009926;">/g</span><span class="p">,</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">C</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">C</span><span class="p">.</span><span class="nx">toUpperCase</span><span class="p">()})},</span><span class="na" style="color: #008080;">inArray</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span><span class="p">(</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">search</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">B</span><span class="p">)</span><span class="o" style="font-weight: 600;">!=</span><span class="kc" style="font-weight: 600;">null</span><span class="p">)},</span><span class="na" style="color: #008080;">search</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">C</span><span class="p">){</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">B</span><span class="o" style="font-weight: 600;"><</span><span class="nx">A</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">B</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="p">[</span><span class="nx">B</span><span class="p">]</span><span class="o" style="font-weight: 600;">==</span><span class="nx">C</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">B</span><span class="p">}}</span><span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">null</span><span class="p">},</span><span class="na" style="color: #008080;">cancelEvent</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="o" style="font-weight: 600;">||</span><span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">event</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="p">.</span><span class="nx">preventDefault</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">A</span><span class="p">.</span><span class="nx">stopPropagation</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">preventDefault</span><span class="p">();</span><span class="nx">A</span><span class="p">.</span><span class="nx">stopPropagation</span><span class="p">()}</span><span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">},</span><span class="na" style="color: #008080;">domLoad</span><span class="p">:[],</span><span class="na" style="color: #008080;">domLoaded</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">arguments</span><span class="p">.</span><span class="nx">callee</span><span class="p">.</span><span class="nx">done</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="p">}</span><span class="nx">arguments</span><span class="p">.</span><span class="nx">callee</span><span class="p">.</span><span class="nx">done</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">true</span><span class="p">;</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="nx">i</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">i</span><span class="o" style="font-weight: 600;"><</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">domLoad</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">i</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">domLoad</span><span class="p">[</span><span class="nx">i</span><span class="p">]()}},</span><span class="na" style="color: #008080;">onDomLoaded</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">domLoad</span><span class="p">.</span><span class="nx">push</span><span class="p">(</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">){</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DOMContentLoaded</span><span class="dl">"</span><span class="p">,</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">domLoaded</span><span class="p">,</span><span class="kc" style="font-weight: 600;">null</span><span class="p">)}</span><span class="k" style="font-weight: 600;">else</span><span class="p">{</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">isMSIE</span><span class="p">){</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">write</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;"><style>.nicEdit-main p { margin: 0; }</style><script id=__ie_onload defer </span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="p">((</span><span class="nx">location</span><span class="p">.</span><span class="nx">protocol</span><span class="o" style="font-weight: 600;">==</span><span class="dl">"</span><span class="s2" style="color: #d14;">https:</span><span class="dl">"</span><span class="p">)?</span><span class="dl">"</span><span class="s2" style="color: #d14;">src='javascript:void(0)'</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">src=//0</span><span class="dl">"</span><span class="p">)</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">><</span><span class="se" style="color: #d14;">\</span><span class="s2" style="color: #d14;">/script></span><span class="dl">"</span><span class="p">);</span><span class="nx">$BK</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">__ie_onload</span><span class="dl">"</span><span class="p">).</span><span class="nx">onreadystatechange</span><span class="o" style="font-weight: 600;">=</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">readyState</span><span class="o" style="font-weight: 600;">==</span><span class="dl">"</span><span class="s2" style="color: #d14;">complete</span><span class="dl">"</span><span class="p">){</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">domLoaded</span><span class="p">()}}}}</span><span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">onload</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">domLoaded</span><span class="p">}};</span><span class="kd" style="font-weight: 600;">function</span> <span class="nx">$BK</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">typeof</span> <span class="p">(</span><span class="nx">A</span><span class="p">)</span><span class="o" style="font-weight: 600;">==</span><span class="dl">"</span><span class="s2" style="color: #d14;">string</span><span class="dl">"</span><span class="p">){</span><span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="nx">A</span><span class="p">)}</span><span class="k" style="font-weight: 600;">return</span><span class="p">(</span><span class="nx">A</span><span class="o" style="font-weight: 600;">&&!</span><span class="nx">A</span><span class="p">.</span><span class="nx">appendTo</span><span class="p">)?</span><span class="nx">bkExtend</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">bkElement</span><span class="p">.</span><span class="nx">prototype</span><span class="p">):</span><span class="nx">A</span><span class="p">}</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">bkEvent</span><span class="o" style="font-weight: 600;">=</span><span class="p">{</span><span class="na" style="color: #008080;">addEvent</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">eventList</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">eventList</span><span class="o" style="font-weight: 600;">||</span><span class="p">{};</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">eventList</span><span class="p">[</span><span class="nx">A</span><span class="p">]</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">eventList</span><span class="p">[</span><span class="nx">A</span><span class="p">]</span><span class="o" style="font-weight: 600;">||</span><span class="p">[];</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">eventList</span><span class="p">[</span><span class="nx">A</span><span class="p">].</span><span class="nx">push</span><span class="p">(</span><span class="nx">B</span><span class="p">)}</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">},</span><span class="na" style="color: #008080;">fireEvent</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">toArray</span><span class="p">(</span><span class="nx">arguments</span><span class="p">),</span><span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">.</span><span class="nx">shift</span><span class="p">();</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">eventList</span><span class="o" style="font-weight: 600;">&&</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">eventList</span><span class="p">[</span><span class="nx">C</span><span class="p">]){</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">B</span><span class="o" style="font-weight: 600;"><</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">eventList</span><span class="p">[</span><span class="nx">C</span><span class="p">].</span><span class="nx">length</span><span class="p">;</span><span class="nx">B</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">eventList</span><span class="p">[</span><span class="nx">C</span><span class="p">][</span><span class="nx">B</span><span class="p">].</span><span class="nx">apply</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">A</span><span class="p">)}}}};</span><span class="kd" style="font-weight: 600;">function</span> <span class="nx">__</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">A</span><span class="p">}</span><span class="nb" style="color: #0086b3;">Function</span><span class="p">.</span><span class="nx">prototype</span><span class="p">.</span><span class="nx">closure</span><span class="o" style="font-weight: 600;">=</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">toArray</span><span class="p">(</span><span class="nx">arguments</span><span class="p">),</span><span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">.</span><span class="nx">shift</span><span class="p">();</span><span class="k" style="font-weight: 600;">return</span> <span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">typeof</span> <span class="p">(</span><span class="nx">bkLib</span><span class="p">)</span><span class="o" style="font-weight: 600;">!=</span><span class="dl">"</span><span class="s2" style="color: #d14;">undefined</span><span class="dl">"</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">A</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="nx">C</span><span class="p">,</span><span class="nx">B</span><span class="p">.</span><span class="nx">concat</span><span class="p">(</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">toArray</span><span class="p">(</span><span class="nx">arguments</span><span class="p">)))}}};</span><span class="nb" style="color: #0086b3;">Function</span><span class="p">.</span><span class="nx">prototype</span><span class="p">.</span><span class="nx">closureListener</span><span class="o" style="font-weight: 600;">=</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">toArray</span><span class="p">(</span><span class="nx">arguments</span><span class="p">),</span><span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">.</span><span class="nx">shift</span><span class="p">();</span><span class="k" style="font-weight: 600;">return</span> <span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">E</span><span class="p">){</span><span class="nx">E</span><span class="o" style="font-weight: 600;">=</span><span class="nx">E</span><span class="o" style="font-weight: 600;">||</span><span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">event</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">E</span><span class="p">.</span><span class="nx">target</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="nx">E</span><span class="p">.</span><span class="nx">target</span><span class="p">}</span><span class="k" style="font-weight: 600;">else</span><span class="p">{</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="nx">E</span><span class="p">.</span><span class="nx">srcElement</span><span class="p">}</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">A</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="nx">B</span><span class="p">,[</span><span class="nx">E</span><span class="p">,</span><span class="nx">D</span><span class="p">].</span><span class="nx">concat</span><span class="p">(</span><span class="nx">C</span><span class="p">))}};</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="9" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
9
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC9" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="10" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
10
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC10" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="11" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
11
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC11" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="12" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
12
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC12" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorConfig</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="13" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
13
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC13" class="line" lang="javascript"> <span class="na" style="color: #008080;">buttons</span> <span class="p">:</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="14" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
14
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC14" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">bold</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Click to Bold</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">Bold</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">tags</span> <span class="p">:</span> <span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">B</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">STRONG</span><span class="dl">'</span><span class="p">],</span> <span class="na" style="color: #008080;">css</span> <span class="p">:</span> <span class="p">{</span><span class="dl">'</span><span class="s1" style="color: #d14;">font-weight</span><span class="dl">'</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">bold</span><span class="dl">'</span><span class="p">},</span> <span class="na" style="color: #008080;">key</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">b</span><span class="dl">'</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="15" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
15
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC15" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">italic</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Click to Italic</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">Italic</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">tags</span> <span class="p">:</span> <span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">EM</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">I</span><span class="dl">'</span><span class="p">],</span> <span class="na" style="color: #008080;">css</span> <span class="p">:</span> <span class="p">{</span><span class="dl">'</span><span class="s1" style="color: #d14;">font-style</span><span class="dl">'</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">italic</span><span class="dl">'</span><span class="p">},</span> <span class="na" style="color: #008080;">key</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">i</span><span class="dl">'</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="16" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
16
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC16" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">underline</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Click to Underline</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">Underline</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">tags</span> <span class="p">:</span> <span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">U</span><span class="dl">'</span><span class="p">],</span> <span class="na" style="color: #008080;">css</span> <span class="p">:</span> <span class="p">{</span><span class="dl">'</span><span class="s1" style="color: #d14;">text-decoration</span><span class="dl">'</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">underline</span><span class="dl">'</span><span class="p">},</span> <span class="na" style="color: #008080;">key</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">u</span><span class="dl">'</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="17" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
17
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC17" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">left</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Left Align</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">justifyleft</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">noActive</span> <span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="18" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
18
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC18" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">center</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Center Align</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">justifycenter</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">noActive</span> <span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="19" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
19
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC19" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">right</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Right Align</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">justifyright</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">noActive</span> <span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="20" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
20
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC20" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">justify</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Justify Align</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">justifyfull</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">noActive</span> <span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="21" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
21
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC21" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">ol</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Insert Ordered List</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">insertorderedlist</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">tags</span> <span class="p">:</span> <span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">OL</span><span class="dl">'</span><span class="p">]},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="22" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
22
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC22" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">ul</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Insert Unordered List</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">insertunorderedlist</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">tags</span> <span class="p">:</span> <span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">UL</span><span class="dl">'</span><span class="p">]},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="23" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
23
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC23" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">subscript</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Click to Subscript</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">subscript</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">tags</span> <span class="p">:</span> <span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">SUB</span><span class="dl">'</span><span class="p">]},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="24" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
24
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC24" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">superscript</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Click to Superscript</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">superscript</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">tags</span> <span class="p">:</span> <span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">SUP</span><span class="dl">'</span><span class="p">]},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="25" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
25
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC25" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">strikethrough</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Click to Strike Through</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">strikeThrough</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">css</span> <span class="p">:</span> <span class="p">{</span><span class="dl">'</span><span class="s1" style="color: #d14;">text-decoration</span><span class="dl">'</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">line-through</span><span class="dl">'</span><span class="p">}},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="26" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
26
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC26" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">removeformat</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Remove Formatting</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">removeformat</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">noActive</span> <span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="27" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
27
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC27" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">indent</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Indent Text</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">indent</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">noActive</span> <span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="28" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
28
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC28" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">outdent</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Remove Indent</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">outdent</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">noActive</span> <span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="29" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
29
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC29" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">hr</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Horizontal Rule</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">insertHorizontalRule</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">noActive</span> <span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="30" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
30
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC30" class="line" lang="javascript"> <span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="31" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
31
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC31" class="line" lang="javascript"> <span class="na" style="color: #008080;">iconsPath</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">images/nicedit/nicEditIcons-latest.gif</span><span class="dl">'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="32" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
32
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC32" class="line" lang="javascript"> <span class="na" style="color: #008080;">buttonList</span> <span class="p">:</span> <span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">save</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">bold</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">italic</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">underline</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">left</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">center</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">right</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">justify</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">ol</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">ul</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">fontSize</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">fontFamily</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">fontFormat</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">indent</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">outdent</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">image</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">upload</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">link</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">unlink</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">forecolor</span><span class="dl">'</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;">bgcolor</span><span class="dl">'</span><span class="p">],</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="33" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
33
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC33" class="line" lang="javascript"> <span class="na" style="color: #008080;">iconList</span> <span class="p">:</span> <span class="p">{</span><span class="dl">"</span><span class="s2" style="color: #d14;">xhtml</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">1</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">bgcolor</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">2</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">forecolor</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">3</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">bold</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">4</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">center</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">5</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">hr</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">6</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">indent</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">7</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">italic</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">8</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">justify</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">9</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">left</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">10</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">ol</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">11</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">outdent</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">12</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">removeformat</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">13</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">right</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">14</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">save</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">25</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">strikethrough</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">16</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">subscript</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">17</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">superscript</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">18</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">ul</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">19</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">underline</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">20</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">image</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">21</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">link</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">22</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">unlink</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">23</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">close</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">24</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">arrow</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">26</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">upload</span><span class="dl">"</span><span class="p">:</span><span class="mi" style="color: #099;">27</span><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="34" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
34
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC34" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="35" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
35
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC35" class="line" lang="javascript"><span class="p">});</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="36" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
36
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC36" class="line" lang="javascript"><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="37" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
37
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC37" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditors</span><span class="o" style="font-weight: 600;">=</span><span class="p">{</span><span class="na" style="color: #008080;">nicPlugins</span><span class="p">:[],</span><span class="na" style="color: #008080;">editors</span><span class="p">:[],</span><span class="na" style="color: #008080;">registerPlugin</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nicPlugins</span><span class="p">.</span><span class="nx">push</span><span class="p">({</span><span class="na" style="color: #008080;">p</span><span class="p">:</span><span class="nx">B</span><span class="p">,</span><span class="na" style="color: #008080;">o</span><span class="p">:</span><span class="nx">A</span><span class="p">})},</span><span class="na" style="color: #008080;">allTextAreas</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">getElementsByTagName</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">textarea</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">B</span><span class="o" style="font-weight: 600;"><</span><span class="nx">A</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">B</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">editors</span><span class="p">.</span><span class="nx">push</span><span class="p">(</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">nicEditor</span><span class="p">(</span><span class="nx">C</span><span class="p">).</span><span class="nx">panelInstance</span><span class="p">(</span><span class="nx">A</span><span class="p">[</span><span class="nx">B</span><span class="p">]))}</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">nicEditors</span><span class="p">.</span><span class="nx">editors</span><span class="p">},</span><span class="na" style="color: #008080;">findEditor</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">editors</span><span class="p">;</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">A</span><span class="o" style="font-weight: 600;"><</span><span class="nx">B</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">A</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="p">[</span><span class="nx">A</span><span class="p">].</span><span class="nx">instanceById</span><span class="p">(</span><span class="nx">C</span><span class="p">)){</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">B</span><span class="p">[</span><span class="nx">A</span><span class="p">].</span><span class="nx">instanceById</span><span class="p">(</span><span class="nx">C</span><span class="p">)}}}};</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditor</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">construct</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">nicEditorConfig</span><span class="p">();</span><span class="nx">bkExtend</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">,</span><span class="nx">C</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nicInstances</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nb" style="color: #0086b3;">Array</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">loadedPlugins</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nb" style="color: #0086b3;">Array</span><span class="p">();</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">nicPlugins</span><span class="p">;</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">B</span><span class="o" style="font-weight: 600;"><</span><span class="nx">A</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">B</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">loadedPlugins</span><span class="p">.</span><span class="nx">push</span><span class="p">(</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">A</span><span class="p">[</span><span class="nx">B</span><span class="p">].</span><span class="nx">p</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">A</span><span class="p">[</span><span class="nx">B</span><span class="p">].</span><span class="nx">o</span><span class="p">))}</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">editors</span><span class="p">.</span><span class="nx">push</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">);</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">body</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">mousedown</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selectCheck</span><span class="p">.</span><span class="nx">closureListener</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">))},</span><span class="na" style="color: #008080;">panelInstance</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">C</span><span class="p">){</span><span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">checkReplace</span><span class="p">(</span><span class="nx">$BK</span><span class="p">(</span><span class="nx">B</span><span class="p">));</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">width</span><span class="p">:(</span><span class="nb" style="color: #0086b3;">parseInt</span><span class="p">(</span><span class="nx">B</span><span class="p">.</span><span class="nx">getStyle</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">width</span><span class="dl">"</span><span class="p">))</span><span class="o" style="font-weight: 600;">||</span><span class="nx">B</span><span class="p">.</span><span class="nx">clientWidth</span><span class="p">)</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">px</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendBefore</span><span class="p">(</span><span class="nx">B</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">setPanel</span><span class="p">(</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">addInstance</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">C</span><span class="p">)},</span><span class="na" style="color: #008080;">checkReplace</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">findEditor</span><span class="p">(</span><span class="nx">B</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">removeInstance</span><span class="p">(</span><span class="nx">B</span><span class="p">);</span><span class="nx">A</span><span class="p">.</span><span class="nx">removePanel</span><span class="p">()}</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">B</span><span class="p">},</span><span class="na" style="color: #008080;">addInstance</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">C</span><span class="p">){</span><span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">checkReplace</span><span class="p">(</span><span class="nx">$BK</span><span class="p">(</span><span class="nx">B</span><span class="p">));</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="p">.</span><span class="nx">contentEditable</span><span class="o" style="font-weight: 600;">||!!</span><span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">opera</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">nicEditorInstance</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">C</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">)}</span><span class="k" style="font-weight: 600;">else</span><span class="p">{</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">nicEditorIFrameInstance</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">C</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">)}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nicInstances</span><span class="p">.</span><span class="nx">push</span><span class="p">(</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">},</span><span class="na" style="color: #008080;">removeInstance</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">){</span><span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="nx">$BK</span><span class="p">(</span><span class="nx">C</span><span class="p">);</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nicInstances</span><span class="p">;</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">A</span><span class="o" style="font-weight: 600;"><</span><span class="nx">B</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">A</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="p">[</span><span class="nx">A</span><span class="p">].</span><span class="nx">e</span><span class="o" style="font-weight: 600;">==</span><span class="nx">C</span><span class="p">){</span><span class="nx">B</span><span class="p">[</span><span class="nx">A</span><span class="p">].</span><span class="nx">remove</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nicInstances</span><span class="p">.</span><span class="nx">splice</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="mi" style="color: #099;">1</span><span class="p">)}}},</span><span class="na" style="color: #008080;">removePanel</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nicPanel</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nicPanel</span><span class="p">.</span><span class="nx">remove</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nicPanel</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">null</span><span class="p">}},</span><span class="na" style="color: #008080;">instanceById</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">){</span><span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="nx">$BK</span><span class="p">(</span><span class="nx">C</span><span class="p">);</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nicInstances</span><span class="p">;</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">A</span><span class="o" style="font-weight: 600;"><</span><span class="nx">B</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">A</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="p">[</span><span class="nx">A</span><span class="p">].</span><span class="nx">e</span><span class="o" style="font-weight: 600;">==</span><span class="nx">C</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">B</span><span class="p">[</span><span class="nx">A</span><span class="p">]}}},</span><span class="na" style="color: #008080;">setPanel</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nicPanel</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">nicEditorPanel</span><span class="p">(</span><span class="nx">$BK</span><span class="p">(</span><span class="nx">A</span><span class="p">),</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">panel</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nicPanel</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">},</span><span class="na" style="color: #008080;">nicCommand</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">.</span><span class="nx">nicCommand</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">)}},</span><span class="na" style="color: #008080;">getIcon</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">D</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">iconList</span><span class="p">[</span><span class="nx">D</span><span class="p">];</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="p">(</span><span class="nx">A</span><span class="p">.</span><span class="nx">iconFiles</span><span class="p">)?</span><span class="nx">A</span><span class="p">.</span><span class="nx">iconFiles</span><span class="p">[</span><span class="nx">D</span><span class="p">]:</span><span class="dl">""</span><span class="p">;</span><span class="k" style="font-weight: 600;">return</span><span class="p">{</span><span class="na" style="color: #008080;">backgroundImage</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">url('</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="p">((</span><span class="nx">C</span><span class="p">)?</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">iconsPath</span><span class="p">:</span><span class="nx">B</span><span class="p">)</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">')</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">backgroundPosition</span><span class="p">:((</span><span class="nx">C</span><span class="p">)?((</span><span class="nx">C</span><span class="o" style="font-weight: 600;">-</span><span class="mi" style="color: #099;">1</span><span class="p">)</span><span class="o" style="font-weight: 600;">*-</span><span class="mi" style="color: #099;">18</span><span class="p">):</span><span class="mi" style="color: #099;">0</span><span class="p">)</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">px 0px</span><span class="dl">"</span><span class="p">}},</span><span class="na" style="color: #008080;">selectCheck</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">false</span><span class="p">;</span><span class="k" style="font-weight: 600;">do</span><span class="p">{</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="p">.</span><span class="nx">className</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">A</span><span class="p">.</span><span class="nx">className</span><span class="p">.</span><span class="nx">indexOf</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">nicEdit</span><span class="dl">"</span><span class="p">)</span><span class="o" style="font-weight: 600;">!=-</span><span class="mi" style="color: #099;">1</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">}}</span><span class="k" style="font-weight: 600;">while</span><span class="p">(</span><span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">.</span><span class="nx">parentNode</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">blur</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">,</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">lastSelectedInstance</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">null</span><span class="p">;</span><span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">}});</span><span class="nx">nicEditor</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditor</span><span class="p">.</span><span class="nx">extend</span><span class="p">(</span><span class="nx">bkEvent</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="38" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
38
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC38" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorInstance</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">isSelected</span><span class="p">:</span><span class="kc" style="font-weight: 600;">false</span><span class="p">,</span><span class="na" style="color: #008080;">construct</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">G</span><span class="p">,</span><span class="nx">D</span><span class="p">,</span><span class="nx">C</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">e</span><span class="o" style="font-weight: 600;">=</span><span class="nx">G</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="o" style="font-weight: 600;">=</span><span class="nx">D</span><span class="o" style="font-weight: 600;">||</span><span class="p">{};</span><span class="kd" style="font-weight: 600;">let</span> <span class="nx">newX</span><span class="o" style="font-weight: 600;">=</span><span class="nb" style="color: #0086b3;">parseInt</span><span class="p">(</span><span class="nx">G</span><span class="p">.</span><span class="nx">getStyle</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">width</span><span class="dl">"</span><span class="p">))</span><span class="o" style="font-weight: 600;">||</span><span class="nx">G</span><span class="p">.</span><span class="nx">clientWidth</span><span class="p">;</span><span class="kd" style="font-weight: 600;">let</span> <span class="nx">newY</span><span class="o" style="font-weight: 600;">=</span><span class="nb" style="color: #0086b3;">parseInt</span><span class="p">(</span><span class="nx">G</span><span class="p">.</span><span class="nx">getStyle</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">height</span><span class="dl">"</span><span class="p">))</span><span class="o" style="font-weight: 600;">||</span><span class="nx">G</span><span class="p">.</span><span class="nx">clientHeight</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">initialHeight</span><span class="o" style="font-weight: 600;">=</span><span class="nx">newY</span><span class="o" style="font-weight: 600;">-</span><span class="mi" style="color: #099;">8</span><span class="p">;</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">H</span><span class="o" style="font-weight: 600;">=</span><span class="p">(</span><span class="nx">G</span><span class="p">.</span><span class="nx">nodeName</span><span class="p">.</span><span class="nx">toLowerCase</span><span class="p">()</span><span class="o" style="font-weight: 600;">==</span><span class="dl">"</span><span class="s2" style="color: #d14;">textarea</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">H</span><span class="o" style="font-weight: 600;">||</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">hasPanel</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="p">(</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">isMSIE</span><span class="o" style="font-weight: 600;">&&!</span><span class="p">((</span><span class="k" style="font-weight: 600;">typeof</span> <span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">body</span><span class="p">.</span><span class="nx">style</span><span class="p">.</span><span class="nx">maxHeight</span><span class="o" style="font-weight: 600;">!=</span><span class="dl">"</span><span class="s2" style="color: #d14;">undefined</span><span class="dl">"</span><span class="p">)</span><span class="o" style="font-weight: 600;">&&</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">compatMode</span><span class="o" style="font-weight: 600;">==</span><span class="dl">"</span><span class="s2" style="color: #d14;">CSS1Compat</span><span class="dl">"</span><span class="p">));</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">E</span><span class="o" style="font-weight: 600;">=</span><span class="p">{</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="nx">newX</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #ccc</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">borderTop</span><span class="p">:</span><span class="mi" style="color: #099;">0</span><span class="p">,</span><span class="na" style="color: #008080;">overflowY</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">auto</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">overflowX</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">};</span><span class="nx">E</span><span class="p">[(</span><span class="nx">B</span><span class="p">)?</span><span class="dl">"</span><span class="s2" style="color: #d14;">height</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">maxHeight</span><span class="dl">"</span><span class="p">]</span><span class="o" style="font-weight: 600;">=</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">maxHeight</span><span class="p">)?</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">maxHeight</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">px</span><span class="dl">"</span><span class="p">:</span><span class="kc" style="font-weight: 600;">null</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">editorContain</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">(</span><span class="nx">E</span><span class="p">).</span><span class="nx">appendBefore</span><span class="p">(</span><span class="nx">G</span><span class="p">);</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">width</span><span class="p">:(</span><span class="nx">newX</span><span class="o" style="font-weight: 600;">-</span><span class="mi" style="color: #099;">8</span><span class="p">)</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">margin</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">4px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">minHeight</span><span class="p">:</span><span class="nx">newY</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">px</span><span class="dl">"</span><span class="p">}).</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">main</span><span class="dl">"</span><span class="p">).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">editorContain</span><span class="p">);</span><span class="nx">G</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">display</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">none</span><span class="dl">"</span><span class="p">});</span><span class="nx">A</span><span class="p">.</span><span class="nx">innerHTML</span><span class="o" style="font-weight: 600;">=</span><span class="nx">G</span><span class="p">.</span><span class="nx">innerHTML</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">H</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">setContent</span><span class="p">(</span><span class="nx">G</span><span class="p">.</span><span class="nx">value</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">copyElm</span><span class="o" style="font-weight: 600;">=</span><span class="nx">G</span><span class="p">;</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">F</span><span class="o" style="font-weight: 600;">=</span><span class="nx">G</span><span class="p">.</span><span class="nx">parentTag</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">FORM</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">F</span><span class="p">){</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="nx">F</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">submit</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">saveContent</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">))}}</span><span class="nx">A</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">((</span><span class="nx">B</span><span class="p">)?{</span><span class="na" style="color: #008080;">height</span><span class="p">:</span><span class="nx">newY</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">px</span><span class="dl">"</span><span class="p">}:{</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">});</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">blur</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">blur</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">));</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">init</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">blur</span><span class="p">()},</span><span class="na" style="color: #008080;">init</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">setAttribute</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">contentEditable</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">true</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">getContent</span><span class="p">()</span><span class="o" style="font-weight: 600;">==</span><span class="dl">""</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">setContent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;"><br /></span><span class="dl">"</span><span class="p">)}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">instanceDoc</span><span class="o" style="font-weight: 600;">=</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">defaultView</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">mousedown</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selected</span><span class="p">.</span><span class="nx">closureListener</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">keypress</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">keyDown</span><span class="p">.</span><span class="nx">closureListener</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">focus</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selected</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">blur</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">blur</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">keyup</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selected</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">));</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">add</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">)},</span><span class="na" style="color: #008080;">remove</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">saveContent</span><span class="p">();</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">copyElm</span><span class="o" style="font-weight: 600;">||</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">hasPanel</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">editorContain</span><span class="p">.</span><span class="nx">remove</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">e</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">display</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">block</span><span class="dl">"</span><span class="p">});</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">removePanel</span><span class="p">()}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">disable</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">remove</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">)},</span><span class="na" style="color: #008080;">disable</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">setAttribute</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">contentEditable</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">false</span><span class="dl">"</span><span class="p">)},</span><span class="na" style="color: #008080;">getSel</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">return</span><span class="p">(</span><span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">getSelection</span><span class="p">)?</span><span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">getSelection</span><span class="p">():</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">selection</span><span class="p">},</span><span class="na" style="color: #008080;">getRng</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">getSel</span><span class="p">();</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">A</span><span class="o" style="font-weight: 600;">||</span><span class="nx">A</span><span class="p">.</span><span class="nx">rangeCount</span><span class="o" style="font-weight: 600;">===</span><span class="mi" style="color: #099;">0</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="p">}</span><span class="k" style="font-weight: 600;">return</span><span class="p">(</span><span class="nx">A</span><span class="p">.</span><span class="nx">rangeCount</span><span class="o" style="font-weight: 600;">></span><span class="mi" style="color: #099;">0</span><span class="p">)?</span><span class="nx">A</span><span class="p">.</span><span class="nx">getRangeAt</span><span class="p">(</span><span class="mi" style="color: #099;">0</span><span class="p">):</span><span class="nx">A</span><span class="p">.</span><span class="nx">createRange</span><span class="p">()},</span><span class="na" style="color: #008080;">selRng</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">getSelection</span><span class="p">){</span><span class="nx">B</span><span class="p">.</span><span class="nx">removeAllRanges</span><span class="p">();</span><span class="nx">B</span><span class="p">.</span><span class="nx">addRange</span><span class="p">(</span><span class="nx">A</span><span class="p">)}</span><span class="k" style="font-weight: 600;">else</span><span class="p">{</span><span class="nx">A</span><span class="p">.</span><span class="nx">select</span><span class="p">()}},</span><span class="na" style="color: #008080;">selElm</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">getRng</span><span class="p">();</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">C</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="p">}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">C</span><span class="p">.</span><span class="nx">startContainer</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">.</span><span class="nx">startContainer</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">C</span><span class="p">.</span><span class="nx">cloneContents</span><span class="p">().</span><span class="nx">childNodes</span><span class="p">.</span><span class="nx">length</span><span class="o" style="font-weight: 600;">==</span><span class="mi" style="color: #099;">1</span><span class="p">){</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">B</span><span class="o" style="font-weight: 600;"><</span><span class="nx">D</span><span class="p">.</span><span class="nx">childNodes</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">B</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nx">D</span><span class="p">.</span><span class="nx">childNodes</span><span class="p">[</span><span class="nx">B</span><span class="p">].</span><span class="nx">ownerDocument</span><span class="p">.</span><span class="nx">createRange</span><span class="p">();</span><span class="nx">A</span><span class="p">.</span><span class="nx">selectNode</span><span class="p">(</span><span class="nx">D</span><span class="p">.</span><span class="nx">childNodes</span><span class="p">[</span><span class="nx">B</span><span class="p">]);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">C</span><span class="p">.</span><span class="nx">compareBoundaryPoints</span><span class="p">(</span><span class="nx">Range</span><span class="p">.</span><span class="nx">START_TO_START</span><span class="p">,</span><span class="nx">A</span><span class="p">)</span><span class="o" style="font-weight: 600;">!=</span><span class="mi" style="color: #099;">1</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">C</span><span class="p">.</span><span class="nx">compareBoundaryPoints</span><span class="p">(</span><span class="nx">Range</span><span class="p">.</span><span class="nx">END_TO_END</span><span class="p">,</span><span class="nx">A</span><span class="p">)</span><span class="o" style="font-weight: 600;">!=-</span><span class="mi" style="color: #099;">1</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">$BK</span><span class="p">(</span><span class="nx">D</span><span class="p">.</span><span class="nx">childNodes</span><span class="p">[</span><span class="nx">B</span><span class="p">])}}}</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">$BK</span><span class="p">(</span><span class="nx">D</span><span class="p">)}</span><span class="k" style="font-weight: 600;">else</span><span class="p">{</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">$BK</span><span class="p">((</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">getSel</span><span class="p">().</span><span class="nx">type</span><span class="o" style="font-weight: 600;">==</span><span class="dl">"</span><span class="s2" style="color: #d14;">Control</span><span class="dl">"</span><span class="p">)?</span><span class="nx">C</span><span class="p">.</span><span class="nx">item</span><span class="p">(</span><span class="mi" style="color: #099;">0</span><span class="p">):</span><span class="nx">C</span><span class="p">.</span><span class="nx">parentElement</span><span class="p">())}},</span><span class="na" style="color: #008080;">saveRng</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">savedRange</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">getRng</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">savedSel</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">getSel</span><span class="p">()},</span><span class="na" style="color: #008080;">restoreRng</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">savedRange</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selRng</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">savedRange</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">savedSel</span><span class="p">)}},</span><span class="na" style="color: #008080;">keyDown</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="p">.</span><span class="nx">ctrlKey</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">key</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">B</span><span class="p">)}},</span><span class="na" style="color: #008080;">selected</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">A</span><span class="o" style="font-weight: 600;">&&!</span><span class="p">(</span><span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selElm</span><span class="p">)){</span><span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selElm</span><span class="p">()}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">C</span><span class="p">.</span><span class="nx">ctrlKey</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="o" style="font-weight: 600;">!=</span><span class="k" style="font-weight: 600;">this</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">blur</span><span class="dl">"</span><span class="p">,</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">)}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">focus</span><span class="dl">"</span><span class="p">,</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">)}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">selected</span><span class="dl">"</span><span class="p">,</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isFocused</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">true</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">selected</span><span class="dl">"</span><span class="p">)}</span><span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">},</span><span class="na" style="color: #008080;">blur</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isFocused</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">false</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">removeClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">selected</span><span class="dl">"</span><span class="p">)},</span><span class="na" style="color: #008080;">saveContent</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">copyElm</span><span class="o" style="font-weight: 600;">||</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">hasPanel</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">save</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">);(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">copyElm</span><span class="p">)?</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">copyElm</span><span class="p">.</span><span class="nx">value</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">getContent</span><span class="p">():</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">e</span><span class="p">.</span><span class="nx">innerHTML</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">getContent</span><span class="p">()}},</span><span class="na" style="color: #008080;">getElm</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">},</span><span class="na" style="color: #008080;">getContent</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">content</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">getElm</span><span class="p">().</span><span class="nx">innerHTML</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">get</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">content</span><span class="p">},</span><span class="na" style="color: #008080;">setContent</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">content</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">set</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">innerHTML</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">content</span><span class="p">},</span><span class="na" style="color: #008080;">nicCommand</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">execCommand</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="kc" style="font-weight: 600;">false</span><span class="p">,</span><span class="nx">A</span><span class="p">)}});</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="39" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
39
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC39" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorIFrameInstance</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditorInstance</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">savedStyles</span><span class="p">:[],</span><span class="na" style="color: #008080;">init</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">innerHTML</span><span class="p">.</span><span class="nx">replace</span><span class="p">(</span><span class="sr" style="color: #009926;">/^</span><span class="se" style="color: #d14;">\s</span><span class="sr" style="color: #009926;">+|</span><span class="se" style="color: #d14;">\s</span><span class="sr" style="color: #009926;">+$/g</span><span class="p">,</span><span class="dl">""</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">innerHTML</span><span class="o" style="font-weight: 600;">=</span><span class="dl">""</span><span class="p">;(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">B</span><span class="p">)?</span><span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="dl">"</span><span class="s2" style="color: #d14;"><br /></span><span class="dl">"</span><span class="p">:</span><span class="nx">B</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">initialContent</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elmFrame</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">iframe</span><span class="dl">"</span><span class="p">).</span><span class="nx">setAttributes</span><span class="p">({</span><span class="na" style="color: #008080;">src</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">javascript:;</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">frameBorder</span><span class="p">:</span><span class="mi" style="color: #099;">0</span><span class="p">,</span><span class="na" style="color: #008080;">allowTransparency</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">true</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">scrolling</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">no</span><span class="dl">"</span><span class="p">}).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">height</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">100px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">100%</span><span class="dl">"</span><span class="p">}).</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">frame</span><span class="dl">"</span><span class="p">).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">copyElm</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elmFrame</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">width</span><span class="p">:(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">offsetWidth</span><span class="o" style="font-weight: 600;">-</span><span class="mi" style="color: #099;">4</span><span class="p">)</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">px</span><span class="dl">"</span><span class="p">})}</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="p">[</span><span class="dl">"</span><span class="s2" style="color: #d14;">font-size</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">font-family</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">font-weight</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">color</span><span class="dl">"</span><span class="p">];</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="nx">itm</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">savedStyles</span><span class="p">[</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">camelize</span><span class="p">(</span><span class="nx">itm</span><span class="p">)]</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">getStyle</span><span class="p">(</span><span class="nx">itm</span><span class="p">)}</span><span class="nx">setTimeout</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">initFrame</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">),</span><span class="mi" style="color: #099;">50</span><span class="p">)},</span><span class="na" style="color: #008080;">disable</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">innerHTML</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">getContent</span><span class="p">()},</span><span class="na" style="color: #008080;">initFrame</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">$BK</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elmFrame</span><span class="p">.</span><span class="nx">contentWindow</span><span class="p">.</span><span class="nb" style="color: #0086b3;">document</span><span class="p">);</span><span class="nx">B</span><span class="p">.</span><span class="nx">designMode</span><span class="o" style="font-weight: 600;">=</span><span class="dl">"</span><span class="s2" style="color: #d14;">on</span><span class="dl">"</span><span class="p">;</span><span class="nx">B</span><span class="p">.</span><span class="nx">open</span><span class="p">();</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">externalCSS</span><span class="p">;</span><span class="nx">B</span><span class="p">.</span><span class="nx">write</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;"><html><head></span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="p">((</span><span class="nx">A</span><span class="p">)?</span><span class="dl">'</span><span class="s1" style="color: #d14;"><link href="</span><span class="dl">'</span><span class="o" style="font-weight: 600;">+</span><span class="nx">A</span><span class="o" style="font-weight: 600;">+</span><span class="dl">'</span><span class="s1" style="color: #d14;">" rel="stylesheet" type="text/css" /></span><span class="dl">'</span><span class="p">:</span><span class="dl">""</span><span class="p">)</span><span class="o" style="font-weight: 600;">+</span><span class="dl">'</span><span class="s1" style="color: #d14;"></head><body id="nicEditContent" style="margin: 0 !important; background-color: transparent !important;"></span><span class="dl">'</span><span class="o" style="font-weight: 600;">+</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">initialContent</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;"></body></html></span><span class="dl">"</span><span class="p">);</span><span class="nx">B</span><span class="p">.</span><span class="nx">close</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameDoc</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameWin</span><span class="o" style="font-weight: 600;">=</span><span class="nx">$BK</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elmFrame</span><span class="p">.</span><span class="nx">contentWindow</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameContent</span><span class="o" style="font-weight: 600;">=</span><span class="nx">$BK</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameWin</span><span class="p">.</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">body</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">savedStyles</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">instanceDoc</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameWin</span><span class="p">.</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">defaultView</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">heightUpdate</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameDoc</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">mousedown</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selected</span><span class="p">.</span><span class="nx">closureListener</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">keyup</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">heightUpdate</span><span class="p">.</span><span class="nx">closureListener</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">keydown</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">keyDown</span><span class="p">.</span><span class="nx">closureListener</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">keyup</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selected</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">));</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">add</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">)},</span><span class="na" style="color: #008080;">getElm</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameContent</span><span class="p">},</span><span class="na" style="color: #008080;">setContent</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">content</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">set</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameContent</span><span class="p">.</span><span class="nx">innerHTML</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">content</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">heightUpdate</span><span class="p">()},</span><span class="na" style="color: #008080;">getSel</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">return</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameWin</span><span class="p">)?</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameWin</span><span class="p">.</span><span class="nx">getSelection</span><span class="p">():</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameDoc</span><span class="p">.</span><span class="nx">selection</span><span class="p">},</span><span class="na" style="color: #008080;">heightUpdate</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elmFrame</span><span class="p">.</span><span class="nx">style</span><span class="p">.</span><span class="nx">height</span><span class="o" style="font-weight: 600;">=</span><span class="nb" style="color: #0086b3;">Math</span><span class="p">.</span><span class="nx">max</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameContent</span><span class="p">.</span><span class="nx">offsetHeight</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">initialHeight</span><span class="p">)</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">px</span><span class="dl">"</span><span class="p">},</span><span class="na" style="color: #008080;">nicCommand</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">frameDoc</span><span class="p">.</span><span class="nx">execCommand</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="kc" style="font-weight: 600;">false</span><span class="p">,</span><span class="nx">A</span><span class="p">);</span><span class="nx">setTimeout</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">heightUpdate</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">),</span><span class="mi" style="color: #099;">100</span><span class="p">)}});</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="40" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
40
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC40" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorPanel</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">construct</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">E</span><span class="p">,</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="o" style="font-weight: 600;">=</span><span class="nx">E</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">panelButtons</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nb" style="color: #0086b3;">Array</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">buttonList</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkExtend</span><span class="p">([],</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">buttonList</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">panelContain</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">100%</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #cccccc</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">#efefef</span><span class="dl">"</span><span class="p">}).</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">panelContain</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">panelElm</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">margin</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">2px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">marginTop</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">0px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">zoom</span><span class="p">:</span><span class="mi" style="color: #099;">1</span><span class="p">,</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">}).</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">panel</span><span class="dl">"</span><span class="p">).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">panelContain</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">panelContain</span><span class="p">.</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">E</span><span class="p">);</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">options</span><span class="p">;</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">.</span><span class="nx">buttons</span><span class="p">;</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="nx">button</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">D</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">addButton</span><span class="p">(</span><span class="nx">button</span><span class="p">,</span><span class="nx">C</span><span class="p">,</span><span class="kc" style="font-weight: 600;">true</span><span class="p">)}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">reorder</span><span class="p">();</span><span class="nx">E</span><span class="p">.</span><span class="nx">noSelect</span><span class="p">()},</span><span class="na" style="color: #008080;">addButton</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">buttonName</span><span class="p">,</span><span class="nx">options</span><span class="p">,</span><span class="nx">noOrder</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">button</span><span class="o" style="font-weight: 600;">=</span><span class="nx">options</span><span class="p">.</span><span class="nx">buttons</span><span class="p">[</span><span class="nx">buttonName</span><span class="p">];</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">type</span><span class="o" style="font-weight: 600;">=</span><span class="p">(</span><span class="nx">button</span><span class="p">.</span><span class="nx">type</span><span class="p">)?</span><span class="nb" style="color: #0086b3;">eval</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">(typeof(</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">button</span><span class="p">.</span><span class="nx">type</span><span class="o" style="font-weight: 600;">+</span><span class="dl">'</span><span class="s1" style="color: #d14;">) == "undefined") ? null : </span><span class="dl">'</span><span class="o" style="font-weight: 600;">+</span><span class="nx">button</span><span class="p">.</span><span class="nx">type</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">;</span><span class="dl">"</span><span class="p">):</span><span class="nx">nicEditorButton</span><span class="p">;</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">hasButton</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">inArray</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">buttonList</span><span class="p">,</span><span class="nx">buttonName</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">type</span><span class="o" style="font-weight: 600;">&&</span><span class="p">(</span><span class="nx">hasButton</span><span class="o" style="font-weight: 600;">||</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">fullPanel</span><span class="p">)){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">panelButtons</span><span class="p">.</span><span class="nx">push</span><span class="p">(</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">type</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">panelElm</span><span class="p">,</span><span class="nx">buttonName</span><span class="p">,</span><span class="nx">options</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">));</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">hasButton</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">buttonList</span><span class="p">.</span><span class="nx">push</span><span class="p">(</span><span class="nx">buttonName</span><span class="p">)}}},</span><span class="na" style="color: #008080;">findButton</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">A</span><span class="o" style="font-weight: 600;"><</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">panelButtons</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">A</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">panelButtons</span><span class="p">[</span><span class="nx">A</span><span class="p">].</span><span class="nx">name</span><span class="o" style="font-weight: 600;">==</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">panelButtons</span><span class="p">[</span><span class="nx">A</span><span class="p">]}}},</span><span class="na" style="color: #008080;">reorder</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">buttonList</span><span class="p">;</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">B</span><span class="o" style="font-weight: 600;"><</span><span class="nx">C</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">B</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">findButton</span><span class="p">(</span><span class="nx">C</span><span class="p">[</span><span class="nx">B</span><span class="p">]);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">panelElm</span><span class="p">.</span><span class="nx">appendChild</span><span class="p">(</span><span class="nx">A</span><span class="p">.</span><span class="nx">margin</span><span class="p">)}}},</span><span class="na" style="color: #008080;">remove</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">remove</span><span class="p">()}});</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="41" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
41
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC41" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorButton</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">construct</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">D</span><span class="p">,</span><span class="nx">A</span><span class="p">,</span><span class="nx">C</span><span class="p">,</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">.</span><span class="nx">buttons</span><span class="p">[</span><span class="nx">A</span><span class="p">];</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">name</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="o" style="font-weight: 600;">=</span><span class="nx">D</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">margin</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="dl">"</span><span class="s2" style="color: #d14;">float</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">left</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">marginTop</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">2px</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">D</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">20px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">height</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">20px</span><span class="dl">"</span><span class="p">}).</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">buttonContain</span><span class="dl">"</span><span class="p">).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">margin</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">border</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">#efefef</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #efefef</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">button</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">18px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">height</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">18px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">zoom</span><span class="p">:</span><span class="mi" style="color: #099;">1</span><span class="p">,</span><span class="na" style="color: #008080;">cursor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">pointer</span><span class="dl">"</span><span class="p">}).</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">button</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">getIcon</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">C</span><span class="p">)).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">border</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">button</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">mouseover</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">hoverOn</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">mouseout</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">hoverOff</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">mousedown</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">mouseClick</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">noSelect</span><span class="p">();</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">opera</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">button</span><span class="p">.</span><span class="nx">onmousedown</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">button</span><span class="p">.</span><span class="nx">onclick</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">cancelEvent</span><span class="p">}</span><span class="nx">B</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">selected</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">enable</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">blur</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">disable</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">key</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">key</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">));</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">disable</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">init</span><span class="p">()},</span><span class="na" style="color: #008080;">init</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){},</span><span class="na" style="color: #008080;">hide</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">display</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">none</span><span class="dl">"</span><span class="p">})},</span><span class="na" style="color: #008080;">updateState</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isDisabled</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">setBg</span><span class="p">()}</span><span class="k" style="font-weight: 600;">else</span><span class="p">{</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isHover</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">setBg</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">hover</span><span class="dl">"</span><span class="p">)}</span><span class="k" style="font-weight: 600;">else</span><span class="p">{</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isActive</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">setBg</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">active</span><span class="dl">"</span><span class="p">)}</span><span class="k" style="font-weight: 600;">else</span><span class="p">{</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">setBg</span><span class="p">()}}}},</span><span class="na" style="color: #008080;">setBg</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">switch</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">hover</span><span class="dl">"</span><span class="p">:</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="p">{</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #666</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">#ddd</span><span class="dl">"</span><span class="p">};</span><span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">active</span><span class="dl">"</span><span class="p">:</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="p">{</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #666</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">#ccc</span><span class="dl">"</span><span class="p">};</span><span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="nl">default</span><span class="p">:</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="p">{</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #efefef</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">#efefef</span><span class="dl">"</span><span class="p">}}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">border</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">(</span><span class="nx">B</span><span class="p">).</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">button-</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">A</span><span class="p">)},</span><span class="na" style="color: #008080;">checkNodes</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">;</span><span class="k" style="font-weight: 600;">do</span><span class="p">{</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">tags</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">inArray</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">tags</span><span class="p">,</span><span class="nx">B</span><span class="p">.</span><span class="nx">nodeName</span><span class="p">)){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">activate</span><span class="p">();</span><span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">}}</span><span class="k" style="font-weight: 600;">while</span><span class="p">(</span><span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">.</span><span class="nx">parentNode</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">B</span><span class="p">.</span><span class="nx">className</span><span class="o" style="font-weight: 600;">!=</span><span class="dl">"</span><span class="s2" style="color: #d14;">nicEdit</span><span class="dl">"</span><span class="p">);</span><span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">$BK</span><span class="p">(</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">while</span><span class="p">(</span><span class="nx">B</span><span class="p">.</span><span class="nx">nodeType</span><span class="o" style="font-weight: 600;">==</span><span class="mi" style="color: #099;">3</span><span class="p">){</span><span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">$BK</span><span class="p">(</span><span class="nx">B</span><span class="p">.</span><span class="nx">parentNode</span><span class="p">)}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">css</span><span class="p">){</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="nx">itm</span> <span class="k" style="font-weight: 600;">in</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">css</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="p">.</span><span class="nx">getStyle</span><span class="p">(</span><span class="nx">itm</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">.</span><span class="nx">instanceDoc</span><span class="p">)</span><span class="o" style="font-weight: 600;">==</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">css</span><span class="p">[</span><span class="nx">itm</span><span class="p">]){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">activate</span><span class="p">();</span><span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">}}}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">deactivate</span><span class="p">();</span><span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">},</span><span class="na" style="color: #008080;">activate</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isDisabled</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isActive</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">true</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">updateState</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">buttonActivate</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">)}},</span><span class="na" style="color: #008080;">deactivate</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isActive</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">false</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">updateState</span><span class="p">();</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isDisabled</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">buttonDeactivate</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">)}},</span><span class="na" style="color: #008080;">enable</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isDisabled</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">false</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">opacity</span><span class="p">:</span><span class="mi" style="color: #099;">1</span><span class="p">}).</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">buttonEnabled</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">updateState</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">checkNodes</span><span class="p">(</span><span class="nx">B</span><span class="p">)},</span><span class="na" style="color: #008080;">disable</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isDisabled</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">true</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">opacity</span><span class="p">:</span><span class="mf" style="color: #099;">0.6</span><span class="p">}).</span><span class="nx">removeClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">buttonEnabled</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">updateState</span><span class="p">()},</span><span class="na" style="color: #008080;">toggleActive</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isActive</span><span class="p">)?</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">deactivate</span><span class="p">():</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">activate</span><span class="p">()},</span><span class="na" style="color: #008080;">hoverOn</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isDisabled</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isHover</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">true</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">updateState</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">buttonOver</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">)}},</span><span class="na" style="color: #008080;">hoverOff</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isHover</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">false</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">updateState</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">buttonOut</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">)},</span><span class="na" style="color: #008080;">mouseClick</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">command</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">nicCommand</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">command</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">commandArgs</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">noActive</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">toggleActive</span><span class="p">()}}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">buttonClick</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">)},</span><span class="na" style="color: #008080;">key</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">key</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">B</span><span class="p">.</span><span class="nx">ctrlKey</span><span class="o" style="font-weight: 600;">&&</span><span class="nb" style="color: #0086b3;">String</span><span class="p">.</span><span class="nx">fromCharCode</span><span class="p">(</span><span class="nx">B</span><span class="p">.</span><span class="nx">keyCode</span><span class="o" style="font-weight: 600;">||</span><span class="nx">B</span><span class="p">.</span><span class="nx">charCode</span><span class="p">).</span><span class="nx">toLowerCase</span><span class="p">()</span><span class="o" style="font-weight: 600;">==</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">key</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">mouseClick</span><span class="p">();</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="p">.</span><span class="nx">preventDefault</span><span class="p">){</span><span class="nx">B</span><span class="p">.</span><span class="nx">preventDefault</span><span class="p">()}}}});</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="42" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
42
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC42" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicPlugin</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">construct</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">panel</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">loadPanel</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">));</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">init</span><span class="p">()},</span><span class="na" style="color: #008080;">loadPanel</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">buttons</span><span class="p">;</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">B</span><span class="p">){</span><span class="nx">C</span><span class="p">.</span><span class="nx">addButton</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">)}</span><span class="nx">C</span><span class="p">.</span><span class="nx">reorder</span><span class="p">()},</span><span class="na" style="color: #008080;">init</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){}});</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="43" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
43
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC43" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="44" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
44
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC44" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="45" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
45
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC45" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicPaneOptions</span> <span class="o" style="font-weight: 600;">=</span> <span class="p">{</span> <span class="p">};</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="46" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
46
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC46" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="47" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
47
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC47" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorPane</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">construct</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">D</span><span class="p">,</span><span class="nx">C</span><span class="p">,</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="o" style="font-weight: 600;">=</span><span class="nx">D</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pos</span><span class="o" style="font-weight: 600;">=</span><span class="nx">D</span><span class="p">.</span><span class="nx">pos</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">zIndex</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">99999</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">position</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">absolute</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">left</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pos</span><span class="p">[</span><span class="mi" style="color: #099;">0</span><span class="p">]</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">top</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pos</span><span class="p">[</span><span class="mi" style="color: #099;">1</span><span class="p">]</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">px</span><span class="dl">"</span><span class="p">});</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">fontSize</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">12px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #ccc</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">padding</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">4px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">textAlign</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">left</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">#ffffc9</span><span class="dl">"</span><span class="p">}).</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">pane</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">(</span><span class="nx">B</span><span class="p">).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="o" style="font-weight: 600;">&&!</span><span class="nx">A</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">noClose</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">close</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="dl">"</span><span class="s2" style="color: #d14;">float</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">right</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">height</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">16px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">16px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">cursor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">pointer</span><span class="dl">"</span><span class="p">}).</span><span class="nx">setStyle</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">getIcon</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">close</span><span class="dl">"</span><span class="p">,</span><span class="nx">nicPaneOptions</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">mousedown</span><span class="dl">"</span><span class="p">,</span><span class="nx">A</span><span class="p">.</span><span class="nx">removePane</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">)}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">.</span><span class="nx">noSelect</span><span class="p">().</span><span class="nx">appendTo</span><span class="p">(</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">body</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">position</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">init</span><span class="p">()},</span><span class="na" style="color: #008080;">init</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){},</span><span class="na" style="color: #008080;">position</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">nicPanel</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">nicPanel</span><span class="p">.</span><span class="nx">elm</span><span class="p">;</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">.</span><span class="nx">pos</span><span class="p">();</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">[</span><span class="mi" style="color: #099;">0</span><span class="p">]</span><span class="o" style="font-weight: 600;">+</span><span class="nb" style="color: #0086b3;">parseInt</span><span class="p">(</span><span class="nx">B</span><span class="p">.</span><span class="nx">getStyle</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">width</span><span class="dl">"</span><span class="p">))</span><span class="o" style="font-weight: 600;">-</span><span class="p">(</span><span class="nb" style="color: #0086b3;">parseInt</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">.</span><span class="nx">getStyle</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">width</span><span class="dl">"</span><span class="p">))</span><span class="o" style="font-weight: 600;">+</span><span class="mi" style="color: #099;">8</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">C</span><span class="o" style="font-weight: 600;"><</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pos</span><span class="p">[</span><span class="mi" style="color: #099;">0</span><span class="p">]){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">left</span><span class="p">:</span><span class="nx">C</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">px</span><span class="dl">"</span><span class="p">})}}},</span><span class="na" style="color: #008080;">toggle</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isVisible</span><span class="o" style="font-weight: 600;">=!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isVisible</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">display</span><span class="p">:((</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isVisible</span><span class="p">)?</span><span class="dl">"</span><span class="s2" style="color: #d14;">block</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">none</span><span class="dl">"</span><span class="p">)})},</span><span class="na" style="color: #008080;">remove</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">.</span><span class="nx">remove</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">null</span><span class="p">}},</span><span class="na" style="color: #008080;">append</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">)},</span><span class="na" style="color: #008080;">setContent</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">.</span><span class="nx">setContent</span><span class="p">(</span><span class="nx">A</span><span class="p">)}});</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="48" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
48
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC48" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="49" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
49
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC49" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="50" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
50
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC50" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicSelectOptions</span> <span class="o" style="font-weight: 600;">=</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="51" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
51
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC51" class="line" lang="javascript"> <span class="na" style="color: #008080;">buttons</span> <span class="p">:</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="52" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
52
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC52" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">fontSize</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Select Font Size</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">type</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">nicEditorFontSizeSelect</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">fontsize</span><span class="dl">'</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="53" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
53
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC53" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">fontFamily</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Select Font Family</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">type</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">nicEditorFontFamilySelect</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">fontname</span><span class="dl">'</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="54" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
54
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC54" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">fontFormat</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Select Font Format</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">type</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">nicEditorFontFormatSelect</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">formatBlock</span><span class="dl">'</span><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="55" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
55
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC55" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="56" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
56
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC56" class="line" lang="javascript"><span class="p">};</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="57" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
57
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC57" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="58" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
58
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC58" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorSelect</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">construct</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">D</span><span class="p">,</span><span class="nx">A</span><span class="p">,</span><span class="nx">C</span><span class="p">,</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">.</span><span class="nx">buttons</span><span class="p">[</span><span class="nx">A</span><span class="p">];</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="o" style="font-weight: 600;">=</span><span class="nx">D</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">name</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selOptions</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nb" style="color: #0086b3;">Array</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">margin</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="dl">"</span><span class="s2" style="color: #d14;">float</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">left</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">margin</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">2px 1px 0 1px</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">elm</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">90px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">height</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">20px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">cursor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">pointer</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">}).</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">selectContain</span><span class="dl">"</span><span class="p">).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">click</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">toggle</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">margin</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">items</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">zoom</span><span class="p">:</span><span class="mi" style="color: #099;">1</span><span class="p">,</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #ccc</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">paddingLeft</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">3px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">#fff</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">control</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">float</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">right</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">height</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">18px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">16px</span><span class="dl">"</span><span class="p">}).</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">selectControl</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">getIcon</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">arrow</span><span class="dl">"</span><span class="p">,</span><span class="nx">C</span><span class="p">)).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">items</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">txt</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">float</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">left</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">66px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">height</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">14px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">marginTop</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">fontFamily</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">sans-serif</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">textAlign</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">center</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">fontSize</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">12px</span><span class="dl">"</span><span class="p">}).</span><span class="nx">addClass</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">selectTxt</span><span class="dl">"</span><span class="p">).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">items</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">opera</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">.</span><span class="nx">onmousedown</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">control</span><span class="p">.</span><span class="nx">onmousedown</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">txt</span><span class="p">.</span><span class="nx">onmousedown</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">cancelEvent</span><span class="p">}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">margin</span><span class="p">.</span><span class="nx">noSelect</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">selected</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">enable</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">blur</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">disable</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">));</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">disable</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">init</span><span class="p">()},</span><span class="na" style="color: #008080;">disable</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isDisabled</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">true</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">close</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">opacity</span><span class="p">:</span><span class="mf" style="color: #099;">0.6</span><span class="p">})},</span><span class="na" style="color: #008080;">enable</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isDisabled</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">false</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">close</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">opacity</span><span class="p">:</span><span class="mi" style="color: #099;">1</span><span class="p">})},</span><span class="na" style="color: #008080;">setDisplay</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">txt</span><span class="p">.</span><span class="nx">setContent</span><span class="p">(</span><span class="nx">A</span><span class="p">)},</span><span class="na" style="color: #008080;">toggle</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isDisabled</span><span class="p">){(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">)?</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">close</span><span class="p">():</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">open</span><span class="p">()}},</span><span class="na" style="color: #008080;">open</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">nicEditorPane</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">items</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">,{</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">88px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">padding</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">0px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">borderTop</span><span class="p">:</span><span class="mi" style="color: #099;">0</span><span class="p">,</span><span class="na" style="color: #008080;">borderLeft</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #ccc</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">borderRight</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #ccc</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">borderBottom</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">0px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">#fff</span><span class="dl">"</span><span class="p">});</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">C</span><span class="o" style="font-weight: 600;"><</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selOptions</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">C</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selOptions</span><span class="p">[</span><span class="nx">C</span><span class="p">];</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">borderBottom</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #ccc</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">88px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">textAlign</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">left</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">cursor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">pointer</span><span class="dl">"</span><span class="p">});</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">padding</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">0px 4px</span><span class="dl">"</span><span class="p">}).</span><span class="nx">setContent</span><span class="p">(</span><span class="nx">B</span><span class="p">[</span><span class="mi" style="color: #099;">1</span><span class="p">]).</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">A</span><span class="p">).</span><span class="nx">noSelect</span><span class="p">();</span><span class="nx">D</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">click</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">update</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">B</span><span class="p">[</span><span class="mi" style="color: #099;">0</span><span class="p">])).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">mouseover</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">over</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">D</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">mouseout</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">out</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">D</span><span class="p">)).</span><span class="nx">setAttributes</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">id</span><span class="dl">"</span><span class="p">,</span><span class="nx">B</span><span class="p">[</span><span class="mi" style="color: #099;">0</span><span class="p">]);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">.</span><span class="nx">append</span><span class="p">(</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">opera</span><span class="p">){</span><span class="nx">D</span><span class="p">.</span><span class="nx">onmousedown</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">cancelEvent</span><span class="p">}}},</span><span class="na" style="color: #008080;">close</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">.</span><span class="nx">remove</span><span class="p">()}},</span><span class="na" style="color: #008080;">over</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">#ccc</span><span class="dl">"</span><span class="p">})},</span><span class="na" style="color: #008080;">out</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">#fff</span><span class="dl">"</span><span class="p">})},</span><span class="na" style="color: #008080;">add</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">selOptions</span><span class="p">.</span><span class="nx">push</span><span class="p">(</span><span class="k" style="font-weight: 600;">new</span> <span class="nb" style="color: #0086b3;">Array</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">))},</span><span class="na" style="color: #008080;">update</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">nicCommand</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">command</span><span class="p">,</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">close</span><span class="p">()}});</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorFontSizeSelect</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditorSelect</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">sel</span><span class="p">:{</span><span class="mi" style="color: #099;">1</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1 (8pt)</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">2</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">2 (10pt)</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">3</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">3 (12pt)</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">4</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">4 (14pt)</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">5</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">5 (18pt)</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">6</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">6 (24pt)</span><span class="dl">"</span><span class="p">},</span><span class="na" style="color: #008080;">init</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">setDisplay</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">Font Size...</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="nx">itm</span> <span class="k" style="font-weight: 600;">in</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">sel</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">add</span><span class="p">(</span><span class="nx">itm</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;"><font size="</span><span class="dl">'</span><span class="o" style="font-weight: 600;">+</span><span class="nx">itm</span><span class="o" style="font-weight: 600;">+</span><span class="dl">'</span><span class="s1" style="color: #d14;">"></span><span class="dl">'</span><span class="o" style="font-weight: 600;">+</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">sel</span><span class="p">[</span><span class="nx">itm</span><span class="p">]</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;"></font></span><span class="dl">"</span><span class="p">)}}});</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorFontFamilySelect</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditorSelect</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">sel</span><span class="p">:{</span><span class="na" style="color: #008080;">arial</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Arial</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">comic sans ms</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Comic Sans</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">courier new</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Courier New</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">georgia</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Georgia</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">helvetica</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Helvetica</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">impact</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Impact</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">times new roman</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Times</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">trebuchet ms</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Trebuchet</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">verdana</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Verdana</span><span class="dl">"</span><span class="p">},</span><span class="na" style="color: #008080;">init</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">setDisplay</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">Font Family...</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="nx">itm</span> <span class="k" style="font-weight: 600;">in</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">sel</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">add</span><span class="p">(</span><span class="nx">itm</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;"><font face="</span><span class="dl">'</span><span class="o" style="font-weight: 600;">+</span><span class="nx">itm</span><span class="o" style="font-weight: 600;">+</span><span class="dl">'</span><span class="s1" style="color: #d14;">"></span><span class="dl">'</span><span class="o" style="font-weight: 600;">+</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">sel</span><span class="p">[</span><span class="nx">itm</span><span class="p">]</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;"></font></span><span class="dl">"</span><span class="p">)}}});</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorFontFormatSelect</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditorSelect</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">sel</span><span class="p">:{</span><span class="na" style="color: #008080;">p</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Paragraph</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">pre</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Pre</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">h6</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Heading 6</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">h5</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Heading 5</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">h4</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Heading 4</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">h3</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Heading 3</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">h2</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Heading 2</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">h1</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Heading 1</span><span class="dl">"</span><span class="p">},</span><span class="na" style="color: #008080;">init</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">setDisplay</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">Font Format...</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="nx">itm</span> <span class="k" style="font-weight: 600;">in</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">sel</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nx">itm</span><span class="p">.</span><span class="nx">toUpperCase</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">add</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;"><</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">A</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">></span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;"><</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">itm</span><span class="o" style="font-weight: 600;">+</span><span class="dl">'</span><span class="s1" style="color: #d14;"> style="padding: 0px; margin: 0px;"></span><span class="dl">'</span><span class="o" style="font-weight: 600;">+</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">sel</span><span class="p">[</span><span class="nx">itm</span><span class="p">]</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;"></</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">A</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">></span><span class="dl">"</span><span class="p">)}}});</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">registerPlugin</span><span class="p">(</span><span class="nx">nicPlugin</span><span class="p">,</span><span class="nx">nicSelectOptions</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="59" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
59
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC59" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="60" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
60
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC60" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicButtonTips</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">construct</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">;</span><span class="nx">A</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">buttonOver</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">show</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">buttonOut</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">hide</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">))},</span><span class="na" style="color: #008080;">show</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">timer</span><span class="o" style="font-weight: 600;">=</span><span class="nx">setTimeout</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">create</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">A</span><span class="p">),</span><span class="mi" style="color: #099;">400</span><span class="p">)},</span><span class="na" style="color: #008080;">create</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">timer</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">null</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">nicEditorPane</span><span class="p">(</span><span class="nx">A</span><span class="p">.</span><span class="nx">button</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">,{</span><span class="na" style="color: #008080;">fontSize</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">12px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">marginTop</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">5px</span><span class="dl">"</span><span class="p">});</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">.</span><span class="nx">setContent</span><span class="p">(</span><span class="nx">A</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">name</span><span class="p">)}},</span><span class="na" style="color: #008080;">hide</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">timer</span><span class="p">){</span><span class="nx">clearTimeout</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">timer</span><span class="p">)}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">.</span><span class="nx">remove</span><span class="p">()}}});</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">registerPlugin</span><span class="p">(</span><span class="nx">nicButtonTips</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="61" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
61
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC61" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="62" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
62
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC62" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorAdvancedButton</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditorButton</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">init</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">selected</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">removePane</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">blur</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">removePane</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">))},</span><span class="na" style="color: #008080;">mouseClick</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">isDisabled</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="o" style="font-weight: 600;">&&</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">.</span><span class="nx">pane</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">removePane</span><span class="p">()}</span><span class="k" style="font-weight: 600;">else</span><span class="p">{</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">nicEditorPane</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">contain</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">,{</span><span class="na" style="color: #008080;">width</span><span class="p">:(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">width</span><span class="o" style="font-weight: 600;">||</span><span class="dl">"</span><span class="s2" style="color: #d14;">270px</span><span class="dl">"</span><span class="p">),</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">#fff</span><span class="dl">"</span><span class="p">},</span><span class="k" style="font-weight: 600;">this</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">addPane</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">.</span><span class="nx">saveRng</span><span class="p">()}}},</span><span class="na" style="color: #008080;">addForm</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">,</span><span class="nx">G</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">form</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">form</span><span class="dl">"</span><span class="p">).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">submit</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">submit</span><span class="p">.</span><span class="nx">closureListener</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">));</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">.</span><span class="nx">append</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">form</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="o" style="font-weight: 600;">=</span><span class="p">{};</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="nx">itm</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">C</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">[</span><span class="nx">itm</span><span class="p">];</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">F</span><span class="o" style="font-weight: 600;">=</span><span class="dl">""</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">G</span><span class="p">){</span><span class="nx">F</span><span class="o" style="font-weight: 600;">=</span><span class="nx">G</span><span class="p">.</span><span class="nx">getAttribute</span><span class="p">(</span><span class="nx">itm</span><span class="p">)}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">F</span><span class="p">){</span><span class="nx">F</span><span class="o" style="font-weight: 600;">=</span><span class="nx">D</span><span class="p">.</span><span class="nx">value</span><span class="o" style="font-weight: 600;">||</span><span class="dl">""</span><span class="p">}</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">[</span><span class="nx">itm</span><span class="p">].</span><span class="nx">type</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="o" style="font-weight: 600;">==</span><span class="dl">"</span><span class="s2" style="color: #d14;">title</span><span class="dl">"</span><span class="p">){</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setContent</span><span class="p">(</span><span class="nx">D</span><span class="p">.</span><span class="nx">txt</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">fontSize</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">14px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">fontWeight</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">bold</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">padding</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">0px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">margin</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">2px 0</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">form</span><span class="p">)}</span><span class="k" style="font-weight: 600;">else</span><span class="p">{</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">clear</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">both</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">form</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">D</span><span class="p">.</span><span class="nx">txt</span><span class="p">){</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">label</span><span class="dl">"</span><span class="p">).</span><span class="nx">setAttributes</span><span class="p">({</span><span class="dl">"</span><span class="s2" style="color: #d14;">for</span><span class="dl">"</span><span class="p">:</span><span class="nx">itm</span><span class="p">}).</span><span class="nx">setContent</span><span class="p">(</span><span class="nx">D</span><span class="p">.</span><span class="nx">txt</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">margin</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">2px 4px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">fontSize</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">13px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">50px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">lineHeight</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">20px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">textAlign</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">right</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">float</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">left</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">B</span><span class="p">)}</span><span class="k" style="font-weight: 600;">switch</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">text</span><span class="dl">"</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">[</span><span class="nx">itm</span><span class="p">]</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">input</span><span class="dl">"</span><span class="p">).</span><span class="nx">setAttributes</span><span class="p">({</span><span class="na" style="color: #008080;">id</span><span class="p">:</span><span class="nx">itm</span><span class="p">,</span><span class="na" style="color: #008080;">value</span><span class="p">:</span><span class="nx">F</span><span class="p">,</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">text</span><span class="dl">"</span><span class="p">}).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">margin</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">2px 0</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">fontSize</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">13px</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">float</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">left</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">height</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">20px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #ccc</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">}).</span><span class="nx">setStyle</span><span class="p">(</span><span class="nx">D</span><span class="p">.</span><span class="nx">style</span><span class="p">).</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">B</span><span class="p">);</span><span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">select</span><span class="dl">"</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">[</span><span class="nx">itm</span><span class="p">]</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">select</span><span class="dl">"</span><span class="p">).</span><span class="nx">setAttributes</span><span class="p">({</span><span class="na" style="color: #008080;">id</span><span class="p">:</span><span class="nx">itm</span><span class="p">}).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #ccc</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">float</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">left</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">margin</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">2px 0</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">B</span><span class="p">);</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="nx">opt</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">D</span><span class="p">.</span><span class="nx">options</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">E</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">option</span><span class="dl">"</span><span class="p">).</span><span class="nx">setAttributes</span><span class="p">({</span><span class="na" style="color: #008080;">value</span><span class="p">:</span><span class="nx">opt</span><span class="p">,</span><span class="na" style="color: #008080;">selected</span><span class="p">:(</span><span class="nx">opt</span><span class="o" style="font-weight: 600;">==</span><span class="nx">F</span><span class="p">)?</span><span class="dl">"</span><span class="s2" style="color: #d14;">selected</span><span class="dl">"</span><span class="p">:</span><span class="dl">""</span><span class="p">}).</span><span class="nx">setContent</span><span class="p">(</span><span class="nx">D</span><span class="p">.</span><span class="nx">options</span><span class="p">[</span><span class="nx">opt</span><span class="p">]).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">[</span><span class="nx">itm</span><span class="p">])}</span><span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">content</span><span class="dl">"</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">[</span><span class="nx">itm</span><span class="p">]</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">textarea</span><span class="dl">"</span><span class="p">).</span><span class="nx">setAttributes</span><span class="p">({</span><span class="na" style="color: #008080;">id</span><span class="p">:</span><span class="nx">itm</span><span class="p">}).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #ccc</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">float</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">left</span><span class="dl">"</span><span class="p">}).</span><span class="nx">setStyle</span><span class="p">(</span><span class="nx">D</span><span class="p">.</span><span class="nx">style</span><span class="p">).</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">B</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">[</span><span class="nx">itm</span><span class="p">].</span><span class="nx">value</span><span class="o" style="font-weight: 600;">=</span><span class="nx">F</span><span class="p">}}}</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">input</span><span class="dl">"</span><span class="p">).</span><span class="nx">setAttributes</span><span class="p">({</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">submit</span><span class="dl">"</span><span class="p">}).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">#efefef</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">1px solid #ccc</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">margin</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">3px 0</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">float</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">left</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">clear</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">both</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">form</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">form</span><span class="p">.</span><span class="nx">onsubmit</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">cancelEvent</span><span class="p">},</span><span class="na" style="color: #008080;">submit</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){},</span><span class="na" style="color: #008080;">findElm</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">,</span><span class="nx">A</span><span class="p">,</span><span class="nx">E</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">.</span><span class="nx">getElm</span><span class="p">().</span><span class="nx">getElementsByTagName</span><span class="p">(</span><span class="nx">B</span><span class="p">);</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">C</span><span class="o" style="font-weight: 600;"><</span><span class="nx">D</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">C</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">D</span><span class="p">[</span><span class="nx">C</span><span class="p">].</span><span class="nx">getAttribute</span><span class="p">(</span><span class="nx">A</span><span class="p">)</span><span class="o" style="font-weight: 600;">==</span><span class="nx">E</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">$BK</span><span class="p">(</span><span class="nx">D</span><span class="p">[</span><span class="nx">C</span><span class="p">])}}},</span><span class="na" style="color: #008080;">removePane</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">.</span><span class="nx">remove</span><span class="p">();</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">null</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">.</span><span class="nx">restoreRng</span><span class="p">()}}});</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="63" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
63
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC63" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="64" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
64
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC64" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="65" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
65
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC65" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicLinkOptions</span> <span class="o" style="font-weight: 600;">=</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="66" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
66
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC66" class="line" lang="javascript"> <span class="na" style="color: #008080;">buttons</span> <span class="p">:</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="67" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
67
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC67" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">link</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">Add Link</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">type</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">nicLinkButton</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">tags</span> <span class="p">:</span> <span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">A</span><span class="dl">'</span><span class="p">]},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="68" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
68
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC68" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">unlink</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">Remove Link</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">command</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">unlink</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">noActive</span> <span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="69" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
69
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC69" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="70" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
70
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC70" class="line" lang="javascript"><span class="p">};</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="71" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
71
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC71" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="72" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
72
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC72" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicLinkButton</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditorAdvancedButton</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">addPane</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ln</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">.</span><span class="nx">selElm</span><span class="p">().</span><span class="nx">parentTag</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">A</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">addForm</span><span class="p">({</span><span class="dl">""</span><span class="p">:{</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">title</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">txt</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Add/Edit Link</span><span class="dl">"</span><span class="p">},</span><span class="na" style="color: #008080;">href</span><span class="p">:{</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">text</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">txt</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">URL</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">value</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">http://</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">style</span><span class="p">:{</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">150px</span><span class="dl">"</span><span class="p">}},</span><span class="na" style="color: #008080;">title</span><span class="p">:{</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">text</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">txt</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Title</span><span class="dl">"</span><span class="p">},</span><span class="na" style="color: #008080;">target</span><span class="p">:{</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">select</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">txt</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Open In</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">options</span><span class="p">:{</span><span class="dl">""</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Current Window</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">_blank</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">New Window</span><span class="dl">"</span><span class="p">},</span><span class="na" style="color: #008080;">style</span><span class="p">:{</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">100px</span><span class="dl">"</span><span class="p">}}},</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ln</span><span class="p">)},</span><span class="na" style="color: #008080;">submit</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">.</span><span class="nx">href</span><span class="p">.</span><span class="nx">value</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="o" style="font-weight: 600;">==</span><span class="dl">"</span><span class="s2" style="color: #d14;">http://</span><span class="dl">"</span><span class="o" style="font-weight: 600;">||</span><span class="nx">A</span><span class="o" style="font-weight: 600;">==</span><span class="dl">""</span><span class="p">){</span><span class="nx">alert</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">You must enter a URL to Create a Link</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">removePane</span><span class="p">();</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ln</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="dl">"</span><span class="s2" style="color: #d14;">javascript:nicTemp();</span><span class="dl">"</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">nicCommand</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">createlink</span><span class="dl">"</span><span class="p">,</span><span class="nx">B</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ln</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">findElm</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">A</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">href</span><span class="dl">"</span><span class="p">,</span><span class="nx">B</span><span class="p">)}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ln</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ln</span><span class="p">.</span><span class="nx">setAttributes</span><span class="p">({</span><span class="na" style="color: #008080;">href</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">.</span><span class="nx">href</span><span class="p">.</span><span class="nx">value</span><span class="p">,</span><span class="na" style="color: #008080;">title</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">.</span><span class="nx">title</span><span class="p">.</span><span class="nx">value</span><span class="p">,</span><span class="na" style="color: #008080;">target</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">.</span><span class="nx">target</span><span class="p">.</span><span class="nx">options</span><span class="p">[</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">.</span><span class="nx">target</span><span class="p">.</span><span class="nx">selectedIndex</span><span class="p">].</span><span class="nx">value</span><span class="p">})}}});</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">registerPlugin</span><span class="p">(</span><span class="nx">nicPlugin</span><span class="p">,</span><span class="nx">nicLinkOptions</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="73" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
73
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC73" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="74" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
74
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC74" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="75" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
75
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC75" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicColorOptions</span> <span class="o" style="font-weight: 600;">=</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="76" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
76
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC76" class="line" lang="javascript"> <span class="na" style="color: #008080;">buttons</span> <span class="p">:</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="77" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
77
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC77" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">forecolor</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Change Text Color</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">type</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">nicEditorColorButton</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">noClose</span> <span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="78" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
78
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC78" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">bgcolor</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Change Background Color</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">type</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">nicEditorBgColorButton</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">noClose</span> <span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="79" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
79
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC79" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="80" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
80
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC80" class="line" lang="javascript"><span class="p">};</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="81" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
81
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC81" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="82" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
82
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC82" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorColorButton</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditorAdvancedButton</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">addPane</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="p">{</span><span class="mi" style="color: #099;">0</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">00</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">1</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">33</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">2</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">66</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">3</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">99</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">4</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">CC</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">5</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">FF</span><span class="dl">"</span><span class="p">};</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">H</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">270px</span><span class="dl">"</span><span class="p">});</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">D</span><span class="p">){</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">F</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">D</span><span class="p">){</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">E</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">D</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">I</span><span class="o" style="font-weight: 600;">=</span><span class="dl">"</span><span class="s2" style="color: #d14;">#</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">D</span><span class="p">[</span><span class="nx">A</span><span class="p">]</span><span class="o" style="font-weight: 600;">+</span><span class="nx">D</span><span class="p">[</span><span class="nx">E</span><span class="p">]</span><span class="o" style="font-weight: 600;">+</span><span class="nx">D</span><span class="p">[</span><span class="nx">F</span><span class="p">];</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">cursor</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">pointer</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">height</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">15px</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">float</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">left</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">H</span><span class="p">);</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">G</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">2px solid </span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">I</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">C</span><span class="p">);</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">DIV</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">backgroundColor</span><span class="p">:</span><span class="nx">I</span><span class="p">,</span><span class="na" style="color: #008080;">overflow</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">11px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">height</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">11px</span><span class="dl">"</span><span class="p">}).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">click</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">colorSelect</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">I</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">mouseover</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">on</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">G</span><span class="p">)).</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">mouseout</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">off</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">,</span><span class="nx">G</span><span class="p">,</span><span class="nx">I</span><span class="p">)).</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">G</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">opera</span><span class="p">){</span><span class="nx">C</span><span class="p">.</span><span class="nx">onmousedown</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">.</span><span class="nx">onmousedown</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">cancelEvent</span><span class="p">}}}}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">.</span><span class="nx">append</span><span class="p">(</span><span class="nx">H</span><span class="p">.</span><span class="nx">noSelect</span><span class="p">())},</span><span class="na" style="color: #008080;">colorSelect</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">nicCommand</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">foreColor</span><span class="dl">"</span><span class="p">,</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">removePane</span><span class="p">()},</span><span class="na" style="color: #008080;">on</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">2px solid #000</span><span class="dl">"</span><span class="p">})},</span><span class="na" style="color: #008080;">off</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">B</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">border</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">2px solid </span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">B</span><span class="p">})}});</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorBgColorButton</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditorColorButton</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">colorSelect</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">nicCommand</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">hiliteColor</span><span class="dl">"</span><span class="p">,</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">removePane</span><span class="p">()}});</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">registerPlugin</span><span class="p">(</span><span class="nx">nicPlugin</span><span class="p">,</span><span class="nx">nicColorOptions</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="83" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
83
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC83" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="84" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
84
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC84" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="85" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
85
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC85" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicImageOptions</span> <span class="o" style="font-weight: 600;">=</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="86" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
86
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC86" class="line" lang="javascript"> <span class="na" style="color: #008080;">buttons</span> <span class="p">:</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="87" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
87
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC87" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">image</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">Add Image</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">type</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">nicImageButton</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">tags</span> <span class="p">:</span> <span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">IMG</span><span class="dl">'</span><span class="p">]}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="88" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
88
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC88" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="89" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
89
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC89" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="90" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
90
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC90" class="line" lang="javascript"><span class="p">};</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="91" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
91
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC91" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="92" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
92
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC92" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicImageButton</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditorAdvancedButton</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">addPane</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">im</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">.</span><span class="nx">selElm</span><span class="p">().</span><span class="nx">parentTag</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">IMG</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">addForm</span><span class="p">({</span><span class="dl">""</span><span class="p">:{</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">title</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">txt</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Add/Edit Image</span><span class="dl">"</span><span class="p">},</span><span class="na" style="color: #008080;">src</span><span class="p">:{</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">text</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">txt</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">URL</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">value</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">http://</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">style</span><span class="p">:{</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">150px</span><span class="dl">"</span><span class="p">}},</span><span class="na" style="color: #008080;">alt</span><span class="p">:{</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">text</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">txt</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Alt Text</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">style</span><span class="p">:{</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">100px</span><span class="dl">"</span><span class="p">}},</span><span class="na" style="color: #008080;">align</span><span class="p">:{</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">select</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">txt</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Align</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">options</span><span class="p">:{</span><span class="na" style="color: #008080;">none</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Default</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">left</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Left</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">right</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Right</span><span class="dl">"</span><span class="p">}}},</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">im</span><span class="p">)},</span><span class="na" style="color: #008080;">submit</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">.</span><span class="nx">src</span><span class="p">.</span><span class="nx">value</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">C</span><span class="o" style="font-weight: 600;">==</span><span class="dl">""</span><span class="o" style="font-weight: 600;">||</span><span class="nx">C</span><span class="o" style="font-weight: 600;">==</span><span class="dl">"</span><span class="s2" style="color: #d14;">http://</span><span class="dl">"</span><span class="p">){</span><span class="nx">alert</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">You must enter a Image URL to insert</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">removePane</span><span class="p">();</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">im</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="dl">"</span><span class="s2" style="color: #d14;">javascript:nicImTemp();</span><span class="dl">"</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">nicCommand</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">insertImage</span><span class="dl">"</span><span class="p">,</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">im</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">findElm</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">IMG</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">src</span><span class="dl">"</span><span class="p">,</span><span class="nx">A</span><span class="p">)}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">im</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">im</span><span class="p">.</span><span class="nx">setAttributes</span><span class="p">({</span><span class="na" style="color: #008080;">src</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">.</span><span class="nx">src</span><span class="p">.</span><span class="nx">value</span><span class="p">,</span><span class="na" style="color: #008080;">alt</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">.</span><span class="nx">alt</span><span class="p">.</span><span class="nx">value</span><span class="p">,</span><span class="na" style="color: #008080;">align</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">.</span><span class="nx">align</span><span class="p">.</span><span class="nx">value</span><span class="p">})}}});</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">registerPlugin</span><span class="p">(</span><span class="nx">nicPlugin</span><span class="p">,</span><span class="nx">nicImageOptions</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="93" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
93
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC93" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="94" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
94
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC94" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="95" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
95
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC95" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicSaveOptions</span> <span class="o" style="font-weight: 600;">=</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="96" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
96
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC96" class="line" lang="javascript"> <span class="na" style="color: #008080;">buttons</span> <span class="p">:</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="97" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
97
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC97" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">save</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="nx">__</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">Save this content</span><span class="dl">'</span><span class="p">),</span> <span class="na" style="color: #008080;">type</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">nicEditorSaveButton</span><span class="dl">'</span><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="98" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
98
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC98" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="99" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
99
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC99" class="line" lang="javascript"><span class="p">};</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="100" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
100
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC100" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="101" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
101
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC101" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicEditorSaveButton</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditorButton</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">init</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">onSave</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">margin</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">display</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">none</span><span class="dl">"</span><span class="p">})}},</span><span class="na" style="color: #008080;">mouseClick</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">onSave</span><span class="p">;</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">;</span><span class="nx">B</span><span class="p">(</span><span class="nx">A</span><span class="p">.</span><span class="nx">getContent</span><span class="p">(),</span><span class="nx">A</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">id</span><span class="p">,</span><span class="nx">A</span><span class="p">)}});</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">registerPlugin</span><span class="p">(</span><span class="nx">nicPlugin</span><span class="p">,</span><span class="nx">nicSaveOptions</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="102" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
102
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC102" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="103" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
103
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC103" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicXHTML</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">stripAttributes</span><span class="p">:[</span><span class="dl">"</span><span class="s2" style="color: #d14;">_moz_dirty</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">_moz_resizing</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">_extended</span><span class="dl">"</span><span class="p">],</span><span class="na" style="color: #008080;">noShort</span><span class="p">:[</span><span class="dl">"</span><span class="s2" style="color: #d14;">style</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">title</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">script</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">textarea</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">a</span><span class="dl">"</span><span class="p">],</span><span class="na" style="color: #008080;">cssReplace</span><span class="p">:{</span><span class="dl">"</span><span class="s2" style="color: #d14;">font-weight:bold;</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">strong</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">font-style:italic;</span><span class="dl">"</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">em</span><span class="dl">"</span><span class="p">},</span><span class="na" style="color: #008080;">sizes</span><span class="p">:{</span><span class="mi" style="color: #099;">1</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">xx-small</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">2</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">x-small</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">3</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">small</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">4</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">medium</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">5</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">large</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">6</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">x-large</span><span class="dl">"</span><span class="p">},</span><span class="na" style="color: #008080;">construct</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">xhtml</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">get</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">cleanup</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">))}},</span><span class="na" style="color: #008080;">cleanup</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">.</span><span class="nx">getElm</span><span class="p">();</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">toXHTML</span><span class="p">(</span><span class="nx">B</span><span class="p">);</span><span class="nx">A</span><span class="p">.</span><span class="nx">content</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">},</span><span class="na" style="color: #008080;">toXHTML</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">C</span><span class="p">,</span><span class="nx">A</span><span class="p">,</span><span class="nx">L</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">G</span><span class="o" style="font-weight: 600;">=</span><span class="dl">""</span><span class="p">;</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">O</span><span class="o" style="font-weight: 600;">=</span><span class="dl">""</span><span class="p">;</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">P</span><span class="o" style="font-weight: 600;">=</span><span class="dl">""</span><span class="p">;</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">I</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">.</span><span class="nx">nodeType</span><span class="p">;</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">Q</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">.</span><span class="nx">nodeName</span><span class="p">.</span><span class="nx">toLowerCase</span><span class="p">();</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">N</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">.</span><span class="nx">hasChildNodes</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">C</span><span class="p">.</span><span class="nx">hasChildNodes</span><span class="p">();</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nb" style="color: #0086b3;">Array</span><span class="p">();</span><span class="k" style="font-weight: 600;">switch</span><span class="p">(</span><span class="nx">I</span><span class="p">){</span><span class="k" style="font-weight: 600;">case</span> <span class="mi" style="color: #099;">1</span><span class="p">:</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">H</span><span class="o" style="font-weight: 600;">=</span><span class="nx">C</span><span class="p">.</span><span class="nx">attributes</span><span class="p">;</span><span class="k" style="font-weight: 600;">switch</span><span class="p">(</span><span class="nx">Q</span><span class="p">){</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">b</span><span class="dl">"</span><span class="p">:</span><span class="nx">Q</span><span class="o" style="font-weight: 600;">=</span><span class="dl">"</span><span class="s2" style="color: #d14;">strong</span><span class="dl">"</span><span class="p">;</span><span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">i</span><span class="dl">"</span><span class="p">:</span><span class="nx">Q</span><span class="o" style="font-weight: 600;">=</span><span class="dl">"</span><span class="s2" style="color: #d14;">em</span><span class="dl">"</span><span class="p">;</span><span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">font</span><span class="dl">"</span><span class="p">:</span><span class="nx">Q</span><span class="o" style="font-weight: 600;">=</span><span class="dl">"</span><span class="s2" style="color: #d14;">span</span><span class="dl">"</span><span class="p">;</span><span class="k" style="font-weight: 600;">break</span><span class="p">}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">F</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">F</span><span class="o" style="font-weight: 600;"><</span><span class="nx">H</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">F</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">K</span><span class="o" style="font-weight: 600;">=</span><span class="nx">H</span><span class="p">[</span><span class="nx">F</span><span class="p">];</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">M</span><span class="o" style="font-weight: 600;">=</span><span class="nx">K</span><span class="p">.</span><span class="nx">nodeName</span><span class="p">.</span><span class="nx">toLowerCase</span><span class="p">();</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="nx">K</span><span class="p">.</span><span class="nx">nodeValue</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">K</span><span class="p">.</span><span class="nx">specified</span><span class="o" style="font-weight: 600;">||!</span><span class="nx">D</span><span class="o" style="font-weight: 600;">||</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">inArray</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">stripAttributes</span><span class="p">,</span><span class="nx">M</span><span class="p">)</span><span class="o" style="font-weight: 600;">||</span><span class="k" style="font-weight: 600;">typeof</span> <span class="p">(</span><span class="nx">D</span><span class="p">)</span><span class="o" style="font-weight: 600;">==</span><span class="dl">"</span><span class="s2" style="color: #d14;">function</span><span class="dl">"</span><span class="p">){</span><span class="k" style="font-weight: 600;">continue</span><span class="p">}</span><span class="k" style="font-weight: 600;">switch</span><span class="p">(</span><span class="nx">M</span><span class="p">){</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">style</span><span class="dl">"</span><span class="p">:</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">J</span><span class="o" style="font-weight: 600;">=</span><span class="nx">D</span><span class="p">.</span><span class="nx">replace</span><span class="p">(</span><span class="sr" style="color: #009926;">/ /g</span><span class="p">,</span><span class="dl">""</span><span class="p">);</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="nx">itm</span> <span class="k" style="font-weight: 600;">in</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">cssReplace</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">J</span><span class="p">.</span><span class="nx">indexOf</span><span class="p">(</span><span class="nx">itm</span><span class="p">)</span><span class="o" style="font-weight: 600;">!=-</span><span class="mi" style="color: #099;">1</span><span class="p">){</span><span class="nx">B</span><span class="p">.</span><span class="nx">push</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">cssReplace</span><span class="p">[</span><span class="nx">itm</span><span class="p">]);</span><span class="nx">J</span><span class="o" style="font-weight: 600;">=</span><span class="nx">J</span><span class="p">.</span><span class="nx">replace</span><span class="p">(</span><span class="nx">itm</span><span class="p">,</span><span class="dl">""</span><span class="p">)}}</span><span class="nx">P</span><span class="o" style="font-weight: 600;">+=</span><span class="nx">J</span><span class="p">;</span><span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="dl">""</span><span class="p">;</span><span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">class</span><span class="dl">"</span><span class="p">:</span><span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="nx">D</span><span class="p">.</span><span class="nx">replace</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">Apple-style-span</span><span class="dl">"</span><span class="p">,</span><span class="dl">""</span><span class="p">);</span><span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="k" style="font-weight: 600;">case</span><span class="dl">"</span><span class="s2" style="color: #d14;">size</span><span class="dl">"</span><span class="p">:</span><span class="nx">P</span><span class="o" style="font-weight: 600;">+=</span><span class="dl">"</span><span class="s2" style="color: #d14;">font-size:</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">sizes</span><span class="p">[</span><span class="nx">D</span><span class="p">]</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">;</span><span class="dl">"</span><span class="p">;</span><span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="dl">""</span><span class="p">;</span><span class="k" style="font-weight: 600;">break</span><span class="p">}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">D</span><span class="p">){</span><span class="nx">O</span><span class="o" style="font-weight: 600;">+=</span><span class="dl">"</span><span class="s2" style="color: #d14;"> </span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">M</span><span class="o" style="font-weight: 600;">+</span><span class="dl">'</span><span class="s1" style="color: #d14;">="</span><span class="dl">'</span><span class="o" style="font-weight: 600;">+</span><span class="nx">D</span><span class="o" style="font-weight: 600;">+</span><span class="dl">'</span><span class="s1" style="color: #d14;">"</span><span class="dl">'</span><span class="p">}}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">P</span><span class="p">){</span><span class="nx">O</span><span class="o" style="font-weight: 600;">+=</span><span class="dl">'</span><span class="s1" style="color: #d14;"> style="</span><span class="dl">'</span><span class="o" style="font-weight: 600;">+</span><span class="nx">P</span><span class="o" style="font-weight: 600;">+</span><span class="dl">'</span><span class="s1" style="color: #d14;">"</span><span class="dl">'</span><span class="p">}</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">F</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">F</span><span class="o" style="font-weight: 600;"><</span><span class="nx">B</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">F</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="nx">G</span><span class="o" style="font-weight: 600;">+=</span><span class="dl">"</span><span class="s2" style="color: #d14;"><</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">B</span><span class="p">[</span><span class="nx">F</span><span class="p">]</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">></span><span class="dl">"</span><span class="p">}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">O</span><span class="o" style="font-weight: 600;">==</span><span class="dl">""</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">Q</span><span class="o" style="font-weight: 600;">==</span><span class="dl">"</span><span class="s2" style="color: #d14;">span</span><span class="dl">"</span><span class="p">){</span><span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="kc" style="font-weight: 600;">false</span><span class="p">}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="nx">G</span><span class="o" style="font-weight: 600;">+=</span><span class="dl">"</span><span class="s2" style="color: #d14;"><</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">Q</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">Q</span><span class="o" style="font-weight: 600;">!=</span><span class="dl">"</span><span class="s2" style="color: #d14;">br</span><span class="dl">"</span><span class="p">){</span><span class="nx">G</span><span class="o" style="font-weight: 600;">+=</span><span class="nx">O</span><span class="p">}}}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">N</span><span class="o" style="font-weight: 600;">&&!</span><span class="nx">bkLib</span><span class="p">.</span><span class="nx">inArray</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">noShort</span><span class="p">,</span><span class="nx">M</span><span class="p">)){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="nx">G</span><span class="o" style="font-weight: 600;">+=</span><span class="dl">"</span><span class="s2" style="color: #d14;"> /></span><span class="dl">"</span><span class="p">}}</span><span class="k" style="font-weight: 600;">else</span><span class="p">{</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="nx">G</span><span class="o" style="font-weight: 600;">+=</span><span class="dl">"</span><span class="s2" style="color: #d14;">></span><span class="dl">"</span><span class="p">}</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">F</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">F</span><span class="o" style="font-weight: 600;"><</span><span class="nx">C</span><span class="p">.</span><span class="nx">childNodes</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">F</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">E</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">toXHTML</span><span class="p">(</span><span class="nx">C</span><span class="p">.</span><span class="nx">childNodes</span><span class="p">[</span><span class="nx">F</span><span class="p">],</span><span class="kc" style="font-weight: 600;">true</span><span class="p">,</span><span class="kc" style="font-weight: 600;">true</span><span class="p">);</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">E</span><span class="p">){</span><span class="nx">G</span><span class="o" style="font-weight: 600;">+=</span><span class="nx">E</span><span class="p">}}}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">N</span><span class="p">){</span><span class="nx">G</span><span class="o" style="font-weight: 600;">+=</span><span class="dl">"</span><span class="s2" style="color: #d14;"></</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">Q</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">></span><span class="dl">"</span><span class="p">}</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">F</span><span class="o" style="font-weight: 600;">=</span><span class="mi" style="color: #099;">0</span><span class="p">;</span><span class="nx">F</span><span class="o" style="font-weight: 600;"><</span><span class="nx">B</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span><span class="nx">F</span><span class="o" style="font-weight: 600;">++</span><span class="p">){</span><span class="nx">G</span><span class="o" style="font-weight: 600;">+=</span><span class="dl">"</span><span class="s2" style="color: #d14;"></</span><span class="dl">"</span><span class="o" style="font-weight: 600;">+</span><span class="nx">B</span><span class="p">[</span><span class="nx">F</span><span class="p">]</span><span class="o" style="font-weight: 600;">+</span><span class="dl">"</span><span class="s2" style="color: #d14;">></span><span class="dl">"</span><span class="p">}</span><span class="k" style="font-weight: 600;">break</span><span class="p">;</span><span class="k" style="font-weight: 600;">case</span> <span class="mi" style="color: #099;">3</span><span class="p">:</span><span class="nx">G</span><span class="o" style="font-weight: 600;">+=</span><span class="nx">C</span><span class="p">.</span><span class="nx">nodeValue</span><span class="p">;</span><span class="k" style="font-weight: 600;">break</span><span class="p">}</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">G</span><span class="p">}});</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">registerPlugin</span><span class="p">(</span><span class="nx">nicXHTML</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="104" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
104
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC104" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="105" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
105
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC105" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="106" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
106
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC106" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicCodeOptions</span> <span class="o" style="font-weight: 600;">=</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="107" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
107
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC107" class="line" lang="javascript"> <span class="na" style="color: #008080;">buttons</span> <span class="p">:</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="108" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
108
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC108" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">xhtml</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">Edit HTML</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">type</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">nicCodeButton</span><span class="dl">'</span><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="109" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
109
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC109" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="110" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
110
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC110" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="111" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
111
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC111" class="line" lang="javascript"><span class="p">};</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="112" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
112
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC112" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="113" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
113
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC113" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicCodeButton</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditorAdvancedButton</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">350px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">addPane</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">addForm</span><span class="p">({</span><span class="dl">""</span><span class="p">:{</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">title</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">txt</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Edit HTML</span><span class="dl">"</span><span class="p">},</span><span class="na" style="color: #008080;">code</span><span class="p">:{</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">content</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">value</span><span class="p">:</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">.</span><span class="nx">getContent</span><span class="p">(),</span><span class="na" style="color: #008080;">style</span><span class="p">:{</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">340px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">height</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">200px</span><span class="dl">"</span><span class="p">}}})},</span><span class="na" style="color: #008080;">submit</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">inputs</span><span class="p">.</span><span class="nx">code</span><span class="p">.</span><span class="nx">value</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">.</span><span class="nx">setContent</span><span class="p">(</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">removePane</span><span class="p">()}});</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">registerPlugin</span><span class="p">(</span><span class="nx">nicPlugin</span><span class="p">,</span><span class="nx">nicCodeOptions</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="114" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
114
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC114" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="115" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
115
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC115" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicBBCode</span><span class="o" style="font-weight: 600;">=</span><span class="nx">bkClass</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">construct</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">bbCode</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">get</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">bbGet</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">));</span><span class="nx">A</span><span class="p">.</span><span class="nx">addEvent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">set</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">bbSet</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">));</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">loadedPlugins</span><span class="p">;</span><span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="nx">itm</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">B</span><span class="p">[</span><span class="nx">itm</span><span class="p">].</span><span class="nx">toXHTML</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">xhtml</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">[</span><span class="nx">itm</span><span class="p">]}}}},</span><span class="na" style="color: #008080;">bbGet</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">xhtml</span><span class="p">.</span><span class="nx">toXHTML</span><span class="p">(</span><span class="nx">A</span><span class="p">.</span><span class="nx">getElm</span><span class="p">());</span><span class="nx">A</span><span class="p">.</span><span class="nx">content</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">toBBCode</span><span class="p">(</span><span class="nx">B</span><span class="p">)},</span><span class="na" style="color: #008080;">bbSet</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="nx">A</span><span class="p">.</span><span class="nx">content</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">fromBBCode</span><span class="p">(</span><span class="nx">A</span><span class="p">.</span><span class="nx">content</span><span class="p">)},</span><span class="na" style="color: #008080;">toBBCode</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">){</span><span class="kd" style="font-weight: 600;">function</span> <span class="nx">A</span><span class="p">(</span><span class="nx">D</span><span class="p">,</span><span class="nx">C</span><span class="p">){</span><span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">.</span><span class="nx">replace</span><span class="p">(</span><span class="nx">D</span><span class="p">,</span><span class="nx">C</span><span class="p">)}</span><span class="nx">A</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">\n</span><span class="sr" style="color: #009926;">/gi</span><span class="p">,</span><span class="dl">""</span><span class="p">);</span><span class="nx">A</span><span class="p">(</span><span class="sr" style="color: #009926;">/<strong></span><span class="se" style="color: #d14;">(</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)</span><span class="sr" style="color: #009926;"><</span><span class="se" style="color: #d14;">\/</span><span class="sr" style="color: #009926;">strong>/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">[b]$1[/b]</span><span class="dl">"</span><span class="p">);</span><span class="nx">A</span><span class="p">(</span><span class="sr" style="color: #009926;">/<em></span><span class="se" style="color: #d14;">(</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)</span><span class="sr" style="color: #009926;"><</span><span class="se" style="color: #d14;">\/</span><span class="sr" style="color: #009926;">em>/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">[i]$1[/i]</span><span class="dl">"</span><span class="p">);</span><span class="nx">A</span><span class="p">(</span><span class="sr" style="color: #009926;">/<span.*</span><span class="se" style="color: #d14;">?</span><span class="sr" style="color: #009926;">style="text-decoration:underline;"></span><span class="se" style="color: #d14;">(</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)</span><span class="sr" style="color: #009926;"><</span><span class="se" style="color: #d14;">\/</span><span class="sr" style="color: #009926;">span>/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">[u]$1[/u]</span><span class="dl">"</span><span class="p">);</span><span class="nx">A</span><span class="p">(</span><span class="sr" style="color: #009926;">/<ul></span><span class="se" style="color: #d14;">(</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)</span><span class="sr" style="color: #009926;"><</span><span class="se" style="color: #d14;">\/</span><span class="sr" style="color: #009926;">ul>/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">[list]$1[/list]</span><span class="dl">"</span><span class="p">);</span><span class="nx">A</span><span class="p">(</span><span class="sr" style="color: #009926;">/<li></span><span class="se" style="color: #d14;">(</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)</span><span class="sr" style="color: #009926;"><</span><span class="se" style="color: #d14;">\/</span><span class="sr" style="color: #009926;">li>/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">[*]$1[]</span><span class="dl">"</span><span class="p">);</span><span class="nx">A</span><span class="p">(</span><span class="sr" style="color: #009926;">/<ol></span><span class="se" style="color: #d14;">(</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)</span><span class="sr" style="color: #009926;"><</span><span class="se" style="color: #d14;">\/</span><span class="sr" style="color: #009926;">ol>/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">[list=1]$1[/list]</span><span class="dl">"</span><span class="p">);</span><span class="nx">A</span><span class="p">(</span><span class="sr" style="color: #009926;">/<img.*</span><span class="se" style="color: #d14;">?</span><span class="sr" style="color: #009926;">src="</span><span class="se" style="color: #d14;">(</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)</span><span class="sr" style="color: #009926;">".*</span><span class="se" style="color: #d14;">?</span><span class="sr" style="color: #009926;">>/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">[img]$1[/img]</span><span class="dl">"</span><span class="p">);</span><span class="nx">A</span><span class="p">(</span><span class="sr" style="color: #009926;">/<a.*</span><span class="se" style="color: #d14;">?</span><span class="sr" style="color: #009926;">href="</span><span class="se" style="color: #d14;">(</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)</span><span class="sr" style="color: #009926;">".*</span><span class="se" style="color: #d14;">?</span><span class="sr" style="color: #009926;">></span><span class="se" style="color: #d14;">(</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)</span><span class="sr" style="color: #009926;"><</span><span class="se" style="color: #d14;">\/</span><span class="sr" style="color: #009926;">a>/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">[url=$1]$2[/url]</span><span class="dl">"</span><span class="p">);</span><span class="nx">A</span><span class="p">(</span><span class="sr" style="color: #009926;">/<br.*</span><span class="se" style="color: #d14;">?</span><span class="sr" style="color: #009926;">>/gi</span><span class="p">,</span><span class="dl">"</span><span class="se" style="color: #d14;">\n</span><span class="dl">"</span><span class="p">);</span><span class="nx">A</span><span class="p">(</span><span class="sr" style="color: #009926;">/<.*</span><span class="se" style="color: #d14;">?</span><span class="sr" style="color: #009926;">>.*</span><span class="se" style="color: #d14;">?</span><span class="sr" style="color: #009926;"><</span><span class="se" style="color: #d14;">\/</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?</span><span class="sr" style="color: #009926;">>/gi</span><span class="p">,</span><span class="dl">""</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">B</span><span class="p">},</span><span class="na" style="color: #008080;">fromBBCode</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="kd" style="font-weight: 600;">function</span> <span class="nx">B</span><span class="p">(</span><span class="nx">D</span><span class="p">,</span><span class="nx">C</span><span class="p">){</span><span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">.</span><span class="nx">replace</span><span class="p">(</span><span class="nx">D</span><span class="p">,</span><span class="nx">C</span><span class="p">)}</span><span class="nx">B</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">\[</span><span class="sr" style="color: #009926;">b</span><span class="se" style="color: #d14;">\](</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)\[\/</span><span class="sr" style="color: #009926;">b</span><span class="se" style="color: #d14;">\]</span><span class="sr" style="color: #009926;">/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;"><strong>$1</strong></span><span class="dl">"</span><span class="p">);</span><span class="nx">B</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">\[</span><span class="sr" style="color: #009926;">i</span><span class="se" style="color: #d14;">\](</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)\[\/</span><span class="sr" style="color: #009926;">i</span><span class="se" style="color: #d14;">\]</span><span class="sr" style="color: #009926;">/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;"><em>$1</em></span><span class="dl">"</span><span class="p">);</span><span class="nx">B</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">\[</span><span class="sr" style="color: #009926;">u</span><span class="se" style="color: #d14;">\](</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)\[\/</span><span class="sr" style="color: #009926;">u</span><span class="se" style="color: #d14;">\]</span><span class="sr" style="color: #009926;">/gi</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;"><span style="text-decoration:underline;">$1</span></span><span class="dl">'</span><span class="p">);</span><span class="nx">B</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">\[</span><span class="sr" style="color: #009926;">list</span><span class="se" style="color: #d14;">\](</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)\[\/</span><span class="sr" style="color: #009926;">list</span><span class="se" style="color: #d14;">\]</span><span class="sr" style="color: #009926;">/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;"><ul>$1</ul></span><span class="dl">"</span><span class="p">);</span><span class="nx">B</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">\[</span><span class="sr" style="color: #009926;">list=1</span><span class="se" style="color: #d14;">\](</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)\[\/</span><span class="sr" style="color: #009926;">list</span><span class="se" style="color: #d14;">\]</span><span class="sr" style="color: #009926;">/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;"><ol>$1</ol></span><span class="dl">"</span><span class="p">);</span><span class="nx">B</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">\[\*\](</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)\[\/\*\]</span><span class="sr" style="color: #009926;">/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;"><li>$1</li></span><span class="dl">"</span><span class="p">);</span><span class="nx">B</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">\[</span><span class="sr" style="color: #009926;">img</span><span class="se" style="color: #d14;">\](</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)\[\/</span><span class="sr" style="color: #009926;">img</span><span class="se" style="color: #d14;">\]</span><span class="sr" style="color: #009926;">/gi</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;"><img src="$1" /></span><span class="dl">'</span><span class="p">);</span><span class="nx">B</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">\[</span><span class="sr" style="color: #009926;">url=</span><span class="se" style="color: #d14;">(</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)\](</span><span class="sr" style="color: #009926;">.*</span><span class="se" style="color: #d14;">?)\[\/</span><span class="sr" style="color: #009926;">url</span><span class="se" style="color: #d14;">\]</span><span class="sr" style="color: #009926;">/gi</span><span class="p">,</span><span class="dl">'</span><span class="s1" style="color: #d14;"><a href="$1">$2</a></span><span class="dl">'</span><span class="p">);</span><span class="nx">B</span><span class="p">(</span><span class="sr" style="color: #009926;">/</span><span class="se" style="color: #d14;">\n</span><span class="sr" style="color: #009926;">/gi</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;"><br /></span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="nx">A</span><span class="p">}});</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">registerPlugin</span><span class="p">(</span><span class="nx">nicBBCode</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="116" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
116
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC116" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="117" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
117
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC117" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="118" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
118
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC118" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicUploadOptions</span> <span class="o" style="font-weight: 600;">=</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="119" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
119
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC119" class="line" lang="javascript"> <span class="na" style="color: #008080;">buttons</span> <span class="p">:</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="120" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
120
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC120" class="line" lang="javascript"> <span class="dl">'</span><span class="s1" style="color: #d14;">upload</span><span class="dl">'</span> <span class="p">:</span> <span class="p">{</span><span class="na" style="color: #008080;">name</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">Upload Image</span><span class="dl">'</span><span class="p">,</span> <span class="na" style="color: #008080;">type</span> <span class="p">:</span> <span class="dl">'</span><span class="s1" style="color: #d14;">nicUploadButton</span><span class="dl">'</span><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="121" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
121
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC121" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="122" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
122
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC122" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="123" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
123
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC123" class="line" lang="javascript"><span class="p">};</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="124" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
124
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC124" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="0" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="125" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
125
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC125" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">var</span> <span class="nx">nicUploadButton</span><span class="o" style="font-weight: 600;">=</span><span class="nx">nicEditorAdvancedButton</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span><span class="na" style="color: #008080;">nicURI</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">https://api.imgur.com/3/image</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">errorText</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">Failed to upload image</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">addPane</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">typeof</span> <span class="nb" style="color: #0086b3;">window</span><span class="p">.</span><span class="nx">FormData</span><span class="o" style="font-weight: 600;">===</span><span class="dl">"</span><span class="s2" style="color: #d14;">undefined</span><span class="dl">"</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">onError</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">Image uploads are not supported in this browser, use Chrome, Firefox, or Safari instead.</span><span class="dl">"</span><span class="p">)}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">im</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">.</span><span class="nx">selElm</span><span class="p">().</span><span class="nx">parentTag</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">IMG</span><span class="dl">"</span><span class="p">);</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">padding</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">10px</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">pane</span><span class="p">.</span><span class="nx">pane</span><span class="p">);</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">div</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">fontSize</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">14px</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">fontWeight</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">bold</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">paddingBottom</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">5px</span><span class="dl">"</span><span class="p">}).</span><span class="nx">setContent</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">Insert an Image</span><span class="dl">"</span><span class="p">).</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">fileInput</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">input</span><span class="dl">"</span><span class="p">).</span><span class="nx">setAttributes</span><span class="p">({</span><span class="na" style="color: #008080;">type</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">file</span><span class="dl">"</span><span class="p">}).</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">progress</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">bkElement</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">progress</span><span class="dl">"</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">width</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">100%</span><span class="dl">"</span><span class="p">,</span><span class="na" style="color: #008080;">display</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">none</span><span class="dl">"</span><span class="p">}).</span><span class="nx">setAttributes</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">max</span><span class="dl">"</span><span class="p">,</span><span class="mi" style="color: #099;">100</span><span class="p">).</span><span class="nx">appendTo</span><span class="p">(</span><span class="nx">A</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">fileInput</span><span class="p">.</span><span class="nx">onchange</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">uploadFile</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">)},</span><span class="na" style="color: #008080;">onError</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">removePane</span><span class="p">();</span><span class="nx">alert</span><span class="p">(</span><span class="nx">A</span><span class="o" style="font-weight: 600;">||</span><span class="dl">"</span><span class="s2" style="color: #d14;">Failed to upload image</span><span class="dl">"</span><span class="p">)},</span><span class="na" style="color: #008080;">uploadFile</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">B</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">fileInput</span><span class="p">.</span><span class="nx">files</span><span class="p">[</span><span class="mi" style="color: #099;">0</span><span class="p">];</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">B</span><span class="o" style="font-weight: 600;">||!</span><span class="nx">B</span><span class="p">.</span><span class="nx">type</span><span class="p">.</span><span class="nx">match</span><span class="p">(</span><span class="sr" style="color: #009926;">/image.*/</span><span class="p">)){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">onError</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">Only image files can be uploaded</span><span class="dl">"</span><span class="p">);</span><span class="k" style="font-weight: 600;">return</span> <span class="p">}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">fileInput</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">display</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">none</span><span class="dl">"</span><span class="p">});</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">setProgress</span><span class="p">(</span><span class="mi" style="color: #099;">0</span><span class="p">);</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">FormData</span><span class="p">();</span><span class="nx">A</span><span class="p">.</span><span class="nx">append</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">image</span><span class="dl">"</span><span class="p">,</span><span class="nx">B</span><span class="p">);</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">new</span> <span class="nx">XMLHttpRequest</span><span class="p">();</span><span class="nx">C</span><span class="p">.</span><span class="nx">open</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">POST</span><span class="dl">"</span><span class="p">,</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">options</span><span class="p">.</span><span class="nx">uploadURI</span><span class="o" style="font-weight: 600;">||</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">nicURI</span><span class="p">);</span><span class="nx">C</span><span class="p">.</span><span class="nx">onload</span><span class="o" style="font-weight: 600;">=</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(){</span><span class="k" style="font-weight: 600;">try</span><span class="p">{</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="nx">JSON</span><span class="p">.</span><span class="nx">parse</span><span class="p">(</span><span class="nx">C</span><span class="p">.</span><span class="nx">responseText</span><span class="p">).</span><span class="nx">data</span><span class="p">}</span><span class="k" style="font-weight: 600;">catch</span><span class="p">(</span><span class="nx">E</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">onError</span><span class="p">()}</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">D</span><span class="p">.</span><span class="nx">error</span><span class="p">){</span><span class="k" style="font-weight: 600;">return</span> <span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">onError</span><span class="p">(</span><span class="nx">D</span><span class="p">.</span><span class="nx">error</span><span class="p">)}</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">onUploaded</span><span class="p">(</span><span class="nx">D</span><span class="p">)}.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">);</span><span class="nx">C</span><span class="p">.</span><span class="nx">onerror</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">onError</span><span class="p">.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">);</span><span class="nx">C</span><span class="p">.</span><span class="nx">upload</span><span class="p">.</span><span class="nx">onprogress</span><span class="o" style="font-weight: 600;">=</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">D</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">setProgress</span><span class="p">(</span><span class="nx">D</span><span class="p">.</span><span class="nx">loaded</span><span class="o" style="font-weight: 600;">/</span><span class="nx">D</span><span class="p">.</span><span class="nx">total</span><span class="p">)}.</span><span class="nx">closure</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">);</span><span class="nx">C</span><span class="p">.</span><span class="nx">setRequestHeader</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">Authorization</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">Client-ID c37fc05199a05b7</span><span class="dl">"</span><span class="p">);</span><span class="nx">C</span><span class="p">.</span><span class="nx">send</span><span class="p">(</span><span class="nx">A</span><span class="p">)},</span><span class="na" style="color: #008080;">setProgress</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">A</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">progress</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">({</span><span class="na" style="color: #008080;">display</span><span class="p">:</span><span class="dl">"</span><span class="s2" style="color: #d14;">block</span><span class="dl">"</span><span class="p">});</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">A</span><span class="o" style="font-weight: 600;"><</span><span class="mf" style="color: #099;">0.98</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">progress</span><span class="p">.</span><span class="nx">value</span><span class="o" style="font-weight: 600;">=</span><span class="nx">A</span><span class="p">}</span><span class="k" style="font-weight: 600;">else</span><span class="p">{</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">progress</span><span class="p">.</span><span class="nx">removeAttribute</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">value</span><span class="dl">"</span><span class="p">)}},</span><span class="na" style="color: #008080;">onUploaded</span><span class="p">:</span><span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">B</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">removePane</span><span class="p">();</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">D</span><span class="o" style="font-weight: 600;">=</span><span class="nx">B</span><span class="p">.</span><span class="nx">link</span><span class="p">;</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">im</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">.</span><span class="nx">restoreRng</span><span class="p">();</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">C</span><span class="o" style="font-weight: 600;">=</span><span class="dl">"</span><span class="s2" style="color: #d14;">javascript:nicImTemp();</span><span class="dl">"</span><span class="p">;</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">nicCommand</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">insertImage</span><span class="dl">"</span><span class="p">,</span><span class="nx">D</span><span class="p">);</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">im</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">findElm</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">IMG</span><span class="dl">"</span><span class="p">,</span><span class="dl">"</span><span class="s2" style="color: #d14;">src</span><span class="dl">"</span><span class="p">,</span><span class="nx">D</span><span class="p">)}</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">A</span><span class="o" style="font-weight: 600;">=</span><span class="nb" style="color: #0086b3;">parseInt</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">ne</span><span class="p">.</span><span class="nx">selectedInstance</span><span class="p">.</span><span class="nx">elm</span><span class="p">.</span><span class="nx">getStyle</span><span class="p">(</span><span class="dl">"</span><span class="s2" style="color: #d14;">width</span><span class="dl">"</span><span class="p">));</span><span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">im</span><span class="p">){</span><span class="k" style="font-weight: 600;">this</span><span class="p">.</span><span class="nx">im</span><span class="p">.</span><span class="nx">setAttributes</span><span class="p">({</span><span class="na" style="color: #008080;">src</span><span class="p">:</span><span class="nx">D</span><span class="p">,</span><span class="na" style="color: #008080;">width</span><span class="p">:(</span><span class="nx">A</span><span class="o" style="font-weight: 600;">&&</span><span class="nx">B</span><span class="p">.</span><span class="nx">width</span><span class="p">)?</span><span class="nb" style="color: #0086b3;">Math</span><span class="p">.</span><span class="nx">min</span><span class="p">(</span><span class="nx">A</span><span class="p">,</span><span class="nx">B</span><span class="p">.</span><span class="nx">width</span><span class="p">):</span><span class="dl">""</span><span class="p">})}}});</span><span class="nx">nicEditors</span><span class="p">.</span><span class="nx">registerPlugin</span><span class="p">(</span><span class="nx">nicPlugin</span><span class="p">,</span><span class="nx">nicUploadOptions</span><span class="p">);</span></span></pre>
</td>
</tr>
</table>
<br>
</li>
<li id="5786e34b0eade3e30f991e141bb881201d7921d2">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#5786e34b0eade3e30f991e141bb881201d7921d2"><strong>share/frontend/nagvis-js/js/ViewWorldmap.js</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="59" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="59" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -59,7 +59,7 @@ var ViewWorldmap = ViewMap.extend({</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="59" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
59
</td>
<td class="diff-line-num new_line" data-linenumber="59" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
59
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC59" class="line" lang="javascript"> <span class="dl">"</span><span class="s2" style="color: #d14;">map</span><span class="dl">"</span><span class="p">:</span> <span class="nx">L</span><span class="p">.</span><span class="nx">tileLayer</span><span class="p">(</span><span class="nx">oGeneralProperties</span><span class="p">.</span><span class="nx">worldmap_tiles_url</span><span class="p">,</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="60" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
60
</td>
<td class="diff-line-num new_line" data-linenumber="60" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
60
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC60" class="line" lang="javascript"> <span class="na" style="color: #008080;">attribution</span><span class="p">:</span> <span class="nx">oGeneralProperties</span><span class="p">.</span><span class="nx">worldmap_tiles_attribution</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="61" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
61
</td>
<td class="diff-line-num new_line" data-linenumber="61" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
61
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC61" class="line" lang="javascript"> <span class="na" style="color: #008080;">noWrap</span><span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">,</span> <span class="c1" style="color: #998; font-style: italic;">// don't repeat the world on horizontal axis</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="62" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
62
</td>
<td class="diff-line-num new_line old" data-linenumber="62" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC62" class="line" lang="javascript"> <span class="na" style="color: #008080;">detectRetina</span><span class="p">:</span> <span class="kc" style="font-weight: 600;"><span class="idiff left">true</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="c1" style="color: #998; font-style: italic;"><span class="idiff right">// look nice on high resolution screens</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="63" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="62" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
62
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC62" class="line" lang="javascript"> <span class="na" style="color: #008080;">detectRetina</span><span class="p">:</span> <span class="kc" style="font-weight: 600;"><span class="idiff left">false</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="c1" style="color: #998; font-style: italic;"><span class="idiff right">// this causes trouble with maximum zoom level (19 vs. 20), don't use</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="63" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
63
</td>
<td class="diff-line-num new_line" data-linenumber="63" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
63
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC63" class="line" lang="javascript"> <span class="na" style="color: #008080;">maxZoom</span><span class="p">:</span> <span class="mi" style="color: #099;">20</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="64" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
64
</td>
<td class="diff-line-num new_line" data-linenumber="64" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
64
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC64" class="line" lang="javascript"> <span class="p">}),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="65" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
65
</td>
<td class="diff-line-num new_line" data-linenumber="65" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
65
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC65" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="67" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="67" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -67,7 +67,7 @@ var ViewWorldmap = ViewMap.extend({</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="67" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
67
</td>
<td class="diff-line-num new_line" data-linenumber="67" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
67
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC67" class="line" lang="javascript"> <span class="nx">layers</span><span class="p">.</span><span class="nx">satellite</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">L</span><span class="p">.</span><span class="nx">tileLayer</span><span class="p">(</span><span class="nx">oGeneralProperties</span><span class="p">.</span><span class="nx">worldmap_satellite_tiles_url</span><span class="p">,</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="68" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
68
</td>
<td class="diff-line-num new_line" data-linenumber="68" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
68
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC68" class="line" lang="javascript"> <span class="na" style="color: #008080;">attribution</span><span class="p">:</span> <span class="nx">oGeneralProperties</span><span class="p">.</span><span class="nx">worldmap_satellite_tiles_attribution</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="69" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
69
</td>
<td class="diff-line-num new_line" data-linenumber="69" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
69
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC69" class="line" lang="javascript"> <span class="na" style="color: #008080;">noWrap</span><span class="p">:</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">,</span> <span class="c1" style="color: #998; font-style: italic;">// don't repeat the world on horizontal axis</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="70" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
70
</td>
<td class="diff-line-num new_line old" data-linenumber="70" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC70" class="line" lang="javascript"> <span class="na" style="color: #008080;">detectRetina</span><span class="p">:</span> <span class="kc" style="font-weight: 600;"><span class="idiff left">true</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="c1" style="color: #998; font-style: italic;"><span class="idiff right">// look nice on high resolution screens</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="71" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="70" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
70
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC70" class="line" lang="javascript"> <span class="na" style="color: #008080;">detectRetina</span><span class="p">:</span> <span class="kc" style="font-weight: 600;"><span class="idiff left">false</span></span><span class="p"><span class="idiff right">,</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="71" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
71
</td>
<td class="diff-line-num new_line" data-linenumber="71" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
71
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC71" class="line" lang="javascript"> <span class="na" style="color: #008080;">maxZoom</span><span class="p">:</span> <span class="mi" style="color: #099;">20</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="72" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
72
</td>
<td class="diff-line-num new_line" data-linenumber="72" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
72
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC72" class="line" lang="javascript"> <span class="p">})</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="73" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
73
</td>
<td class="diff-line-num new_line" data-linenumber="73" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
73
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC73" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="f9cdf6c883f85116cd952d2bf6a46baa7c2060fa">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#f9cdf6c883f85116cd952d2bf6a46baa7c2060fa"><strong>share/frontend/nagvis-js/js/ajax.js</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="155" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="155" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -155,7 +155,8 @@ function getFormParams(formId, skipHelperFields) {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="155" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
155
</td>
<td class="diff-line-num new_line" data-linenumber="155" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
155
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC155" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="nx">data</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="156" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
156
</td>
<td class="diff-line-num new_line" data-linenumber="156" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
156
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC156" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="157" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
157
</td>
<td class="diff-line-num new_line" data-linenumber="157" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
157
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC157" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Get relevant input elements</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
158
</td>
<td class="diff-line-num new_line old" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC158" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">aFields</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">oForm</span><span class="p">.</span><span class="nx">getElementsByTagName</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">input</span><span class="dl">'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="159" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
158
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC158" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">aFields</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">oForm</span><span class="p">.</span><span class="nx">querySelectorAll</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">input,textarea</span><span class="dl">'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="159" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="159" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
159
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC159" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="159" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
159
</td>
<td class="diff-line-num new_line" data-linenumber="160" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
160
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC160" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">for</span> <span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">i</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">0</span><span class="p">,</span> <span class="nx">len</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">aFields</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span> <span class="nx">i</span> <span class="o" style="font-weight: 600;"><</span> <span class="nx">len</span><span class="p">;</span> <span class="nx">i</span><span class="o" style="font-weight: 600;">++</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="160" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
160
</td>
<td class="diff-line-num new_line" data-linenumber="161" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
161
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC161" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Filter helper fields (if told to do so)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="161" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
161
</td>
<td class="diff-line-num new_line" data-linenumber="162" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
162
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC162" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">skipHelperFields</span> <span class="o" style="font-weight: 600;">&&</span> <span class="nx">aFields</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">name</span><span class="p">.</span><span class="nx">charAt</span><span class="p">(</span><span class="mi" style="color: #099;">0</span><span class="p">)</span> <span class="o" style="font-weight: 600;">===</span> <span class="dl">'</span><span class="s1" style="color: #d14;">_</span><span class="dl">'</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="173" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="174" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -173,6 +174,7 @@ function getFormParams(formId, skipHelperFields) {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="173" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
173
</td>
<td class="diff-line-num new_line" data-linenumber="174" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
174
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC174" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="174" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
174
</td>
<td class="diff-line-num new_line" data-linenumber="175" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
175
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC175" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">aFields</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">type</span> <span class="o" style="font-weight: 600;">==</span> <span class="dl">"</span><span class="s2" style="color: #d14;">hidden</span><span class="dl">"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="175" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
175
</td>
<td class="diff-line-num new_line" data-linenumber="176" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
176
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC176" class="line" lang="javascript"> <span class="o" style="font-weight: 600;">||</span> <span class="nx">aFields</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">type</span> <span class="o" style="font-weight: 600;">==</span> <span class="dl">"</span><span class="s2" style="color: #d14;">text</span><span class="dl">"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="176" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="177" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
177
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC177" class="line" lang="javascript"> <span class="o" style="font-weight: 600;">||</span> <span class="nx">aFields</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">type</span> <span class="o" style="font-weight: 600;">==</span> <span class="dl">"</span><span class="s2" style="color: #d14;">textarea</span><span class="dl">"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="176" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
176
</td>
<td class="diff-line-num new_line" data-linenumber="178" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
178
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC178" class="line" lang="javascript"> <span class="o" style="font-weight: 600;">||</span> <span class="nx">aFields</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">type</span> <span class="o" style="font-weight: 600;">==</span> <span class="dl">"</span><span class="s2" style="color: #d14;">password</span><span class="dl">"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="177" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
177
</td>
<td class="diff-line-num new_line" data-linenumber="179" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
179
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC179" class="line" lang="javascript"> <span class="o" style="font-weight: 600;">||</span> <span class="nx">aFields</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">type</span> <span class="o" style="font-weight: 600;">==</span> <span class="dl">"</span><span class="s2" style="color: #d14;">submit</span><span class="dl">"</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="178" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
178
</td>
<td class="diff-line-num new_line" data-linenumber="180" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
180
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC180" class="line" lang="javascript"> <span class="nx">add_data</span><span class="p">(</span><span class="nx">aFields</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">name</span><span class="p">,</span> <span class="nx">aFields</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">value</span><span class="p">);</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="8846393f7686e46a8af66dd6152dafccd3ba4401">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#8846393f7686e46a8af66dd6152dafccd3ba4401"><strong>share/frontend/nagvis-js/js/frontend.js</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="117" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="117" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -117,9 +117,6 @@ function clearFormValue(id) {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="117" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
117
</td>
<td class="diff-line-num new_line" data-linenumber="117" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
117
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC117" class="line" lang="javascript"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="118" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
118
</td>
<td class="diff-line-num new_line" data-linenumber="118" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
118
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC118" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="119" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
119
</td>
<td class="diff-line-num new_line" data-linenumber="119" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
119
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC119" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">function</span> <span class="nx">showFrontendDialog</span><span class="p">(</span><span class="nx">sUrl</span><span class="p">,</span> <span class="nx">sTitle</span><span class="p">,</span> <span class="nx">sWidth</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="120" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
120
</td>
<td class="diff-line-num new_line old" data-linenumber="120" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC120" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="k" style="font-weight: 600;">typeof</span> <span class="nx">sWidth</span> <span class="o" style="font-weight: 600;">===</span> <span class="dl">'</span><span class="s1" style="color: #d14;">undefined</span><span class="dl">'</span> <span class="o" style="font-weight: 600;">||</span> <span class="nx">sWidth</span> <span class="o" style="font-weight: 600;">===</span> <span class="kc" style="font-weight: 600;">null</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="121" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
121
</td>
<td class="diff-line-num new_line old" data-linenumber="120" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC121" class="line" lang="javascript"> <span class="nx">sWidth</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">450</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="122" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
122
</td>
<td class="diff-line-num new_line old" data-linenumber="120" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC122" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="123" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
123
</td>
<td class="diff-line-num new_line" data-linenumber="120" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
120
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC120" class="line" lang="javascript"> <span class="nx">call_ajax</span><span class="p">(</span><span class="nx">sUrl</span><span class="p">,</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="124" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
124
</td>
<td class="diff-line-num new_line" data-linenumber="121" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
121
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC121" class="line" lang="javascript"> <span class="na" style="color: #008080;">response_handler</span><span class="p">:</span> <span class="kd" style="font-weight: 600;">function</span><span class="p">(</span><span class="nx">response</span><span class="p">,</span> <span class="nx">data</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="125" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
125
</td>
<td class="diff-line-num new_line" data-linenumber="122" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
122
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC122" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">isset</span><span class="p">(</span><span class="nx">response</span><span class="p">))</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="127" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="124" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -127,7 +124,9 @@ function showFrontendDialog(sUrl, sTitle, sWidth) {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="127" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
127
</td>
<td class="diff-line-num new_line" data-linenumber="124" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
124
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC124" class="line" lang="javascript"> <span class="nx">response</span><span class="p">.</span><span class="nx">url</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">sUrl</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="128" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
128
</td>
<td class="diff-line-num new_line" data-linenumber="125" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
125
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC125" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="129" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
129
</td>
<td class="diff-line-num new_line" data-linenumber="126" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
126
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC126" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="k" style="font-weight: 600;">typeof</span> <span class="nx">response</span> <span class="o" style="font-weight: 600;">!==</span> <span class="dl">'</span><span class="s1" style="color: #d14;">undefined</span><span class="dl">'</span> <span class="o" style="font-weight: 600;">&&</span> <span class="k" style="font-weight: 600;">typeof</span> <span class="nx">response</span><span class="p">.</span><span class="nx">code</span> <span class="o" style="font-weight: 600;">!==</span> <span class="dl">'</span><span class="s1" style="color: #d14;">undefined</span><span class="dl">'</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="130" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
130
</td>
<td class="diff-line-num new_line old" data-linenumber="127" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC130" class="line" lang="javascript"> <span class="nx">popupWindow</span><span class="p">(</span><span class="nx">data</span><span class="p">.</span><span class="nx">title</span><span class="p">,</span> <span class="nx">response</span><span class="p">,</span> <span class="nx">data</span><span class="p">.</span><span class="nx">width</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="131" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="127" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
127
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC127" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">width</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">data</span><span class="p">.</span><span class="nx">sWidth</span> <span class="o" style="font-weight: 600;">||</span> <span class="mi" style="color: #099;">450</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="131" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="128" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
128
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC128" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">response</span><span class="p">.</span><span class="nx">object_type</span> <span class="o" style="font-weight: 600;">===</span> <span class="dl">'</span><span class="s1" style="color: #d14;">textbox</span><span class="dl">'</span><span class="p">)</span> <span class="nx">width</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">800</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="131" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="129" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
129
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC129" class="line" lang="javascript"> <span class="nx">popupWindow</span><span class="p">(</span><span class="nx">data</span><span class="p">.</span><span class="nx">title</span><span class="p">,</span> <span class="nx">response</span><span class="p">,</span> <span class="nx">width</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="131" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
131
</td>
<td class="diff-line-num new_line" data-linenumber="130" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
130
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC130" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="132" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
132
</td>
<td class="diff-line-num new_line" data-linenumber="131" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
131
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC131" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="133" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
133
</td>
<td class="diff-line-num new_line" data-linenumber="132" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
132
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC132" class="line" lang="javascript"> <span class="p">},</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="432" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="431" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -432,7 +431,7 @@ function set_zoom(val) {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="432" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
432
</td>
<td class="diff-line-num new_line" data-linenumber="431" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
431
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC431" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="433" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
433
</td>
<td class="diff-line-num new_line" data-linenumber="432" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
432
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC432" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">function</span> <span class="nx">zoom</span><span class="p">(</span><span class="nx">how</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="434" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
434
</td>
<td class="diff-line-num new_line" data-linenumber="433" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
433
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC433" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">cur_zoom</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">getZoomFactor</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="435" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
435
</td>
<td class="diff-line-num new_line old" data-linenumber="434" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC435" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// This is not really correct. Assume<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="436" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="434" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
434
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC434" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// This is not really correct. Assume</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="436" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
436
</td>
<td class="diff-line-num new_line" data-linenumber="435" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
435
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC435" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">cur_zoom</span> <span class="o" style="font-weight: 600;">==</span> <span class="dl">'</span><span class="s1" style="color: #d14;">fill</span><span class="dl">'</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="437" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
437
</td>
<td class="diff-line-num new_line" data-linenumber="436" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
436
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC436" class="line" lang="javascript"> <span class="nx">cur_zoom</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">100</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="438" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
438
</td>
<td class="diff-line-num new_line" data-linenumber="437" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
437
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC437" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">new_zoom</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">100</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="666" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="665" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -666,8 +665,11 @@ function getViewParams(update, userParams) {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="666" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
666
</td>
<td class="diff-line-num new_line" data-linenumber="665" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
665
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC665" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">isset</span><span class="p">(</span><span class="nx">params</span><span class="p">))</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="667" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
667
</td>
<td class="diff-line-num new_line" data-linenumber="666" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
666
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC666" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="dl">''</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="668" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
668
</td>
<td class="diff-line-num new_line" data-linenumber="667" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
667
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC667" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="669" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
669
</td>
<td class="diff-line-num new_line old" data-linenumber="668" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC669" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">g_map</span> <span class="o" style="font-weight: 600;">&&</span> <span class="nx">usesSource</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">worldmap</span><span class="dl">'</span><span class="p">))</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="670" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
670
</td>
<td class="diff-line-num new_line old" data-linenumber="668" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC670" class="line" lang="javascript"> <span class="nx">params</span><span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">bbox</span><span class="dl">'</span><span class="p">]</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">g_map</span><span class="p">.</span><span class="nx">getBounds</span><span class="p">().</span><span class="nx">toBBoxString</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="671" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="668" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
668
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC668" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">g_map</span> <span class="o" style="font-weight: 600;">&&</span> <span class="nx">usesSource</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">worldmap</span><span class="dl">'</span><span class="p">))</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="671" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="669" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
669
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC669" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">let</span> <span class="nx">bounds</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">g_map</span><span class="p">.</span><span class="nx">getBounds</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="671" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="670" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
670
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC670" class="line" lang="javascript"> <span class="nx">bounds</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">bounds</span><span class="p">.</span><span class="nx">pad</span><span class="p">(</span><span class="mf" style="color: #099;">0.95</span><span class="p">);</span> <span class="c1" style="color: #998; font-style: italic;">// also load objects within 95% beyond actual viewport (better dragging experience)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="671" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="671" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
671
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC671" class="line" lang="javascript"> <span class="nx">params</span><span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">bbox</span><span class="dl">'</span><span class="p">]</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">bounds</span><span class="p">.</span><span class="nx">toBBoxString</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="671" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="672" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
672
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC672" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="671" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
671
</td>
<td class="diff-line-num new_line" data-linenumber="673" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
673
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC673" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="672" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
672
</td>
<td class="diff-line-num new_line" data-linenumber="674" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
674
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC674" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">sParams</span> <span class="o" style="font-weight: 600;">=</span> <span class="dl">''</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="673" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
673
</td>
<td class="diff-line-num new_line" data-linenumber="675" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
675
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC675" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">for</span><span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">param</span> <span class="k" style="font-weight: 600;">in</span> <span class="nx">params</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="295616b736a4bd281418f7ba7479e43c7fcf78fe">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#295616b736a4bd281418f7ba7479e43c7fcf78fe"><strong>share/frontend/nagvis-js/js/nagvis.js</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="1237" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="1237" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -1237,7 +1237,7 @@ function getEffectiveStyle(e, attr) {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1237" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1237
</td>
<td class="diff-line-num new_line" data-linenumber="1237" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1237
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1237" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// Object local</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1238" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1238
</td>
<td class="diff-line-num new_line" data-linenumber="1238" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1238
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1238" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="nx">e</span><span class="p">.</span><span class="nx">style</span><span class="p">[</span><span class="nx">attr</span><span class="p">];</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1239" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1239
</td>
<td class="diff-line-num new_line" data-linenumber="1239" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1239
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1239" class="line" lang="javascript"> <span class="p">}</span> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">defaultView</span> <span class="o" style="font-weight: 600;">&&</span> <span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">defaultView</span><span class="p">.</span><span class="nx">getComputedStyle</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1240" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1240
</td>
<td class="diff-line-num new_line old" data-linenumber="1240" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1240" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// DOM<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1241" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1240" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1240
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1240" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// DOM</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1241" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1241
</td>
<td class="diff-line-num new_line" data-linenumber="1241" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1241
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1241" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">defaultView</span><span class="p">.</span><span class="nx">getComputedStyle</span><span class="p">(</span><span class="nx">e</span><span class="p">,</span> <span class="kc" style="font-weight: 600;">null</span><span class="p">).</span><span class="nx">getPropertyValue</span><span class="p">(</span><span class="nx">attr</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1242" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1242
</td>
<td class="diff-line-num new_line" data-linenumber="1242" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1242
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1242" class="line" lang="javascript"> <span class="p">}</span> <span class="k" style="font-weight: 600;">else</span> <span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nx">e</span><span class="p">.</span><span class="nx">currentStyle</span><span class="p">){</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1243" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1243
</td>
<td class="diff-line-num new_line" data-linenumber="1243" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1243
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1243" class="line" lang="javascript"> <span class="c1" style="color: #998; font-style: italic;">// IE</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -1263,7 +1263,7 @@ function getZoomFactor() {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1263
</td>
<td class="diff-line-num new_line" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1263
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1263" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">zoom</span> <span class="o" style="font-weight: 600;">===</span> <span class="kc" style="font-weight: 600;">null</span> <span class="o" style="font-weight: 600;">||</span> <span class="nx">zoom</span> <span class="o" style="font-weight: 600;">==</span> <span class="dl">'</span><span class="s1" style="color: #d14;">fill</span><span class="dl">'</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1264" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1264
</td>
<td class="diff-line-num new_line" data-linenumber="1264" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1264
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1264" class="line" lang="javascript"> <span class="nx">g_zoom_factor</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">100</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1265" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1265
</td>
<td class="diff-line-num new_line" data-linenumber="1265" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1265
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1265" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">else</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1266" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1266
</td>
<td class="diff-line-num new_line old" data-linenumber="1266" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1266" class="line" lang="javascript"> <span class="nx">g_zoom_factor</span> <span class="o" style="font-weight: 600;">=</span> <span class="nb" style="color: #0086b3;">parseInt</span><span class="p">(</span><span class="nx">zoom</span><span class="p">);</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1267" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1266" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1266
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1266" class="line" lang="javascript"> <span class="nx">g_zoom_factor</span> <span class="o" style="font-weight: 600;">=</span> <span class="nb" style="color: #0086b3;">parseInt</span><span class="p">(</span><span class="nx">zoom</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1267" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1267
</td>
<td class="diff-line-num new_line" data-linenumber="1267" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1267
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1267" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1268" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1268
</td>
<td class="diff-line-num new_line" data-linenumber="1268" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1268
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1268" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="nx">g_zoom_factor</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1269" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1269
</td>
<td class="diff-line-num new_line" data-linenumber="1269" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1269
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1269" class="line" lang="javascript"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="1397" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="1397" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -1397,14 +1397,8 @@ function _(s, replace) {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1397" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1397
</td>
<td class="diff-line-num new_line" data-linenumber="1397" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1397
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1397" class="line" lang="javascript"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1398" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1398
</td>
<td class="diff-line-num new_line" data-linenumber="1398" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1398
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1398" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1399" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1399
</td>
<td class="diff-line-num new_line" data-linenumber="1399" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1399
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1399" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">function</span> <span class="nx">has_class</span><span class="p">(</span><span class="nx">o</span><span class="p">,</span> <span class="nx">cn</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1400" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1400
</td>
<td class="diff-line-num new_line old" data-linenumber="1400" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1400" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="k" style="font-weight: 600;">typeof</span> <span class="nx">o</span><span class="p">.</span><span class="nx">className</span> <span class="o" style="font-weight: 600;">===</span> <span class="dl">'</span><span class="s1" style="color: #d14;">undefined</span><span class="dl">'</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1401" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1401
</td>
<td class="diff-line-num new_line old" data-linenumber="1400" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1401" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1402" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1402
</td>
<td class="diff-line-num new_line old" data-linenumber="1400" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1402" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">parts</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">o</span><span class="p">.</span><span class="nx">className</span><span class="p">.</span><span class="nx">split</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;"> </span><span class="dl">'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1403" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1403
</td>
<td class="diff-line-num new_line old" data-linenumber="1400" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1403" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">for</span> <span class="p">(</span><span class="kd" style="font-weight: 600;">var</span> <span class="nx">x</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">0</span><span class="p">;</span> <span class="nx">x</span> <span class="o" style="font-weight: 600;"><</span> <span class="nx">parts</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span> <span class="nx">x</span><span class="o" style="font-weight: 600;">++</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1404" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1404
</td>
<td class="diff-line-num new_line old" data-linenumber="1400" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1404" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">parts</span><span class="p">[</span><span class="nx">x</span><span class="p">]</span> <span class="o" style="font-weight: 600;">==</span> <span class="nx">cn</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1405" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1405
</td>
<td class="diff-line-num new_line old" data-linenumber="1400" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1405" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1406" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1406
</td>
<td class="diff-line-num new_line old" data-linenumber="1400" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1406" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1407" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1407
</td>
<td class="diff-line-num new_line old" data-linenumber="1400" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1407" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1408" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1400" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1400
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1400" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="o" style="font-weight: 600;">!</span><span class="nx">o</span><span class="p">.</span><span class="nx">classList</span><span class="p">)</span> <span class="k" style="font-weight: 600;">return</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1408" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1401" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1401
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1401" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">return</span> <span class="nx">o</span><span class="p">.</span><span class="nx">classList</span><span class="p">.</span><span class="nx">contains</span><span class="p">(</span><span class="nx">cn</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1408" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1408
</td>
<td class="diff-line-num new_line" data-linenumber="1402" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1402
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1402" class="line" lang="javascript"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1409" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1409
</td>
<td class="diff-line-num new_line" data-linenumber="1403" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1403
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1403" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1410" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1410
</td>
<td class="diff-line-num new_line" data-linenumber="1404" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1404
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1404" class="line" lang="javascript"><span class="kd" style="font-weight: 600;">function</span> <span class="nx">remove_class</span><span class="p">(</span><span class="nx">o</span><span class="p">,</span> <span class="nx">cn</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="b27c9a7a487c30a9d89ecd1007e18b72b0f606ed">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#b27c9a7a487c30a9d89ecd1007e18b72b0f606ed"><strong>share/server/core/classes/CoreModMap.php</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="130" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="130" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -130,7 +130,10 @@ class CoreModMap extends CoreModule {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="130" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
130
</td>
<td class="diff-line-num new_line" data-linenumber="130" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
130
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC130" class="line" lang="php"> <span class="k" style="font-weight: 600;">break</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="131" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
131
</td>
<td class="diff-line-num new_line" data-linenumber="131" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
131
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC131" class="line" lang="php"> <span class="k" style="font-weight: 600;">case</span> <span class="s1" style="color: #d14;">'addModify'</span><span class="o" style="font-weight: 600;">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="132" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
132
</td>
<td class="diff-line-num new_line" data-linenumber="132" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
132
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC132" class="line" lang="php"> <span class="nv" style="color: #008080;">$VIEW</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">new</span> <span class="nx">ViewMapAddModify</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="133" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
133
</td>
<td class="diff-line-num new_line old" data-linenumber="133" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC133" class="line" lang="php"> <span class="nv" style="color: #008080;">$sReturn</span> <span class="o" style="font-weight: 600;">=</span> <span class="nb" style="color: #0086b3;">json_encode</span><span class="p">(</span><span class="nx">Array</span><span class="p">(</span><span class="s1" style="color: #d14;">'code'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nv" style="color: #008080;">$VIEW</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">parse</span><span class="p">()));</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="134" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="133" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
133
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC133" class="line" lang="php"> <span class="nv" style="color: #008080;">$sReturn</span> <span class="o" style="font-weight: 600;">=</span> <span class="nb" style="color: #0086b3;">json_encode</span><span class="p">(</span><span class="nx">Array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="134" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="134" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
134
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC134" class="line" lang="php"> <span class="s1" style="color: #d14;">'code'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nv" style="color: #008080;">$VIEW</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">parse</span><span class="p">(),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="134" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="135" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
135
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC135" class="line" lang="php"> <span class="s1" style="color: #d14;">'object_type'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nv" style="color: #008080;">$VIEW</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">object_type</span><span class="p">()</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="134" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="136" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
136
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC136" class="line" lang="php"> <span class="p">));</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="134" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
134
</td>
<td class="diff-line-num new_line" data-linenumber="137" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
137
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC137" class="line" lang="php"> <span class="k" style="font-weight: 600;">break</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="135" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
135
</td>
<td class="diff-line-num new_line" data-linenumber="138" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
138
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC138" class="line" lang="php"> <span class="k" style="font-weight: 600;">case</span> <span class="s1" style="color: #d14;">'manageTmpl'</span><span class="o" style="font-weight: 600;">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="136" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
136
</td>
<td class="diff-line-num new_line" data-linenumber="139" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
139
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC139" class="line" lang="php"> <span class="nv" style="color: #008080;">$VIEW</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">new</span> <span class="nx">ViewMapManageTmpl</span><span class="p">();</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="e1011f621c469098076b4f9694851e91a0830bd0">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#e1011f621c469098076b4f9694851e91a0830bd0"><strong>share/server/core/classes/ViewMapAddModify.php</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="155" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="155" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -155,7 +155,7 @@ class ViewMapAddModify {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="155" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
155
</td>
<td class="diff-line-num new_line" data-linenumber="155" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
155
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC155" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="156" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
156
</td>
<td class="diff-line-num new_line" data-linenumber="156" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
156
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC156" class="line" lang="php"> <span class="nv" style="color: #008080;">$this</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">validateAttributes</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="157" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
157
</td>
<td class="diff-line-num new_line" data-linenumber="157" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
157
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC157" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
158
</td>
<td class="diff-line-num new_line old" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC158" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// Update the map configuration<span class="idiff left right"> </span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="159" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
158
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC158" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// Update the map configuration</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="159" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
159
</td>
<td class="diff-line-num new_line" data-linenumber="159" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
159
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC159" class="line" lang="php"> <span class="k" style="font-weight: 600;">if</span><span class="p">(</span><span class="nv" style="color: #008080;">$this</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">mode</span> <span class="o" style="font-weight: 600;">==</span> <span class="s1" style="color: #d14;">'view_params'</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="160" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
160
</td>
<td class="diff-line-num new_line" data-linenumber="160" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
160
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC160" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// Only modify/add the given attributes. Don't remove any</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="161" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
161
</td>
<td class="diff-line-num new_line" data-linenumber="161" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
161
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC161" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// set options in the array</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="441" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="441" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -441,6 +441,9 @@ class ViewMapAddModify {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="441" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
441
</td>
<td class="diff-line-num new_line" data-linenumber="441" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
441
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC441" class="line" lang="php"> <span class="k" style="font-weight: 600;">case</span> <span class="s1" style="color: #d14;">'text'</span><span class="o" style="font-weight: 600;">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="442" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
442
</td>
<td class="diff-line-num new_line" data-linenumber="442" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
442
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC442" class="line" lang="php"> <span class="nx">input</span><span class="p">(</span><span class="nv" style="color: #008080;">$propname</span><span class="p">,</span> <span class="nv" style="color: #008080;">$value</span><span class="p">,</span> <span class="s1" style="color: #d14;">''</span><span class="p">,</span> <span class="nv" style="color: #008080;">$hideField</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="443" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
443
</td>
<td class="diff-line-num new_line" data-linenumber="443" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
443
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC443" class="line" lang="php"> <span class="k" style="font-weight: 600;">break</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="444" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="444" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
444
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC444" class="line" lang="php"> <span class="k" style="font-weight: 600;">case</span> <span class="s1" style="color: #d14;">'textarea'</span><span class="o" style="font-weight: 600;">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="444" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="445" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
445
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC445" class="line" lang="php"> <span class="nx">textarea</span><span class="p">(</span><span class="nv" style="color: #008080;">$propname</span><span class="p">,</span> <span class="nv" style="color: #008080;">$value</span><span class="p">,</span> <span class="s1" style="color: #d14;">''</span><span class="p">,</span> <span class="nv" style="color: #008080;">$hideField</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="444" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="446" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
446
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC446" class="line" lang="php"> <span class="k" style="font-weight: 600;">break</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="444" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
444
</td>
<td class="diff-line-num new_line" data-linenumber="447" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
447
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC447" class="line" lang="php"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="445" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
445
</td>
<td class="diff-line-num new_line" data-linenumber="448" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
448
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC448" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="446" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
446
</td>
<td class="diff-line-num new_line" data-linenumber="449" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
449
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC449" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// Try to split too long values in chunks</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="621" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="624" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -621,5 +624,10 @@ class ViewMapAddModify {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="621" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
621
</td>
<td class="diff-line-num new_line" data-linenumber="624" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
624
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC624" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="622" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
622
</td>
<td class="diff-line-num new_line" data-linenumber="625" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
625
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC625" class="line" lang="php"> <span class="k" style="font-weight: 600;">return</span> <span class="nb" style="color: #0086b3;">ob_get_clean</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="623" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
623
</td>
<td class="diff-line-num new_line" data-linenumber="626" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
626
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC626" class="line" lang="php"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="624" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="627" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
627
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC627" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="624" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="628" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
628
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC628" class="line" lang="php"> <span class="k" style="font-weight: 600;">public</span> <span class="k" style="font-weight: 600;">function</span> <span class="nf" style="color: #900; font-weight: 600;">object_type</span><span class="p">()</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="624" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="629" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
629
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC629" class="line" lang="php"> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="624" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="630" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
630
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC630" class="line" lang="php"> <span class="k" style="font-weight: 600;">return</span> <span class="nv" style="color: #008080;">$this</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">object_type</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="624" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="631" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
631
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC631" class="line" lang="php"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="624" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
624
</td>
<td class="diff-line-num new_line" data-linenumber="632" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
632
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC632" class="line" lang="php"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="625" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
625
</td>
<td class="diff-line-num new_line" data-linenumber="633" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
633
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC633" class="line" lang="php"><span class="cp" style="color: #999; font-weight: 600;">?></span></span></pre>
</td>
</tr>
</table>
<br>
</li>
<li id="d272112f94cec3d02cbaf2dc11e1a51d61bf48c1">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#d272112f94cec3d02cbaf2dc11e1a51d61bf48c1"><strong>share/server/core/classes/objects/NagVisStatefulObject.php</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="766" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="766" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -766,6 +766,11 @@ class NagVisStatefulObject extends NagVisObject {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="766" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
766
</td>
<td class="diff-line-num new_line" data-linenumber="766" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
766
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC766" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// Loop all object to gather the worst state and set it as summary</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="767" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
767
</td>
<td class="diff-line-num new_line" data-linenumber="767" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
767
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC767" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// state of the current object</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
768
</td>
<td class="diff-line-num new_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
768
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC768" class="line" lang="php"> <span class="k" style="font-weight: 600;">foreach</span><span class="p">(</span><span class="nv" style="color: #008080;">$objects</span> <span class="nx">AS</span> <span class="nv" style="color: #008080;">$OBJ</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="769" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="769" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
769
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC769" class="line" lang="php"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nv" style="color: #008080;">$this</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">getType</span><span class="p">()</span><span class="o" style="font-weight: 600;">==</span><span class="s1" style="color: #d14;">'map'</span> <span class="o" style="font-weight: 600;">&&</span> <span class="nv" style="color: #008080;">$OBJ</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">getType</span><span class="p">()</span><span class="o" style="font-weight: 600;">==</span><span class="s1" style="color: #d14;">'map'</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="769" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="770" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
770
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC770" class="line" lang="php"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nv" style="color: #008080;">$this</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">MAPCFG</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">getValue</span><span class="p">(</span><span class="mi" style="color: #099;">0</span><span class="p">,</span> <span class="s1" style="color: #d14;">'ignore_linked_maps_summary_state'</span><span class="p">)</span> <span class="o" style="font-weight: 600;">!=</span> <span class="mi" style="color: #099;">0</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="769" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="771" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
771
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC771" class="line" lang="php"> <span class="k" style="font-weight: 600;">continue</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="769" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="772" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
772
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC772" class="line" lang="php"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="769" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="773" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
773
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC773" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="769" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
769
</td>
<td class="diff-line-num new_line" data-linenumber="774" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
774
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC774" class="line" lang="php"> <span class="nv" style="color: #008080;">$objSummaryState</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$OBJ</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">sum</span><span class="p">[</span><span class="nx">STATE</span><span class="p">];</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="770" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
770
</td>
<td class="diff-line-num new_line" data-linenumber="775" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
775
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC775" class="line" lang="php"> <span class="nv" style="color: #008080;">$objAck</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$OBJ</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">sum</span><span class="p">[</span><span class="nx">ACK</span><span class="p">];</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="771" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
771
</td>
<td class="diff-line-num new_line" data-linenumber="776" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
776
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC776" class="line" lang="php"> <span class="nv" style="color: #008080;">$objDowntime</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$OBJ</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">sum</span><span class="p">[</span><span class="nx">DOWNTIME</span><span class="p">];</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="0c0bca5f067898705298f0d41eff5514a733efff">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#0c0bca5f067898705298f0d41eff5514a733efff"><strong>share/server/core/defines/global.php</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="23" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="23" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -23,7 +23,7 @@</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="23" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
23
</td>
<td class="diff-line-num new_line" data-linenumber="23" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
23
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC23" class="line" lang="php"><span class="cd"> *****************************************************************************/</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="24" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
24
</td>
<td class="diff-line-num new_line" data-linenumber="24" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
24
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC24" class="line" lang="php"> </span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="25" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
25
</td>
<td class="diff-line-num new_line" data-linenumber="25" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
25
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC25" class="line" lang="php"><span class="c1" style="color: #998; font-style: italic;">// NagVis Version</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="26" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
26
</td>
<td class="diff-line-num new_line old" data-linenumber="26" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC26" class="line" lang="php"><span class="nb" style="color: #0086b3;">define</span><span class="p">(</span><span class="s1" style="color: #d14;">'CONST_VERSION'</span><span class="p">,</span> <span class="s1" style="color: #d14;">'1.9.1<span class="idiff left right">7</span>'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="27" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="26" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
26
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC26" class="line" lang="php"><span class="nb" style="color: #0086b3;">define</span><span class="p">(</span><span class="s1" style="color: #d14;">'CONST_VERSION'</span><span class="p">,</span> <span class="s1" style="color: #d14;">'1.9.1<span class="idiff left right">8</span>'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="27" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
27
</td>
<td class="diff-line-num new_line" data-linenumber="27" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
27
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC27" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="28" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
28
</td>
<td class="diff-line-num new_line" data-linenumber="28" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
28
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC28" class="line" lang="php"><span class="c1" style="color: #998; font-style: italic;">// Set PHP error handling to standard level</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="29" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
29
</td>
<td class="diff-line-num new_line" data-linenumber="29" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
29
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC29" class="line" lang="php"><span class="c1" style="color: #998; font-style: italic;">// Different levels for php versions below 5.1 because PHP 5.1 reports</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="45f03deb3ac8e4f18e0db62a46b44226e9aabfbd">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#45f03deb3ac8e4f18e0db62a46b44226e9aabfbd"><strong>share/server/core/defines/matches.php</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="25" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="25" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -25,7 +25,7 @@</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="25" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
25
</td>
<td class="diff-line-num new_line" data-linenumber="25" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
25
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC25" class="line" lang="php"><span class="cd">/**</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="26" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
26
</td>
<td class="diff-line-num new_line" data-linenumber="26" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
26
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC26" class="line" lang="php"><span class="cd"> * @author Lars Michelsen <lm@larsmichelsen.com></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="27" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
27
</td>
<td class="diff-line-num new_line" data-linenumber="27" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
27
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC27" class="line" lang="php"><span class="cd"> */</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="28" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
28
</td>
<td class="diff-line-num new_line old" data-linenumber="28" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC28" class="line" lang="php"><span class="nb" style="color: #0086b3;">define</span><span class="p">(</span><span class="s1" style="color: #d14;">'MATCH_ALL'</span><span class="p">,</span> <span class="s1" style="color: #d14;">'/^.*$/i'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="29" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="28" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
28
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC28" class="line" lang="php"><span class="nb" style="color: #0086b3;">define</span><span class="p">(</span><span class="s1" style="color: #d14;">'MATCH_ALL'</span><span class="p">,</span> <span class="s1" style="color: #d14;">'/^.*$/<span class="idiff left right">m</span>i'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="29" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
29
</td>
<td class="diff-line-num new_line" data-linenumber="29" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
29
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC29" class="line" lang="php"><span class="nb" style="color: #0086b3;">define</span><span class="p">(</span><span class="s1" style="color: #d14;">'MATCH_NOT_EMPTY'</span><span class="p">,</span> <span class="s1" style="color: #d14;">'/^.+$/'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="30" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
30
</td>
<td class="diff-line-num new_line" data-linenumber="30" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
30
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC30" class="line" lang="php"><span class="nb" style="color: #0086b3;">define</span><span class="p">(</span><span class="s1" style="color: #d14;">'MATCH_REGEX'</span><span class="p">,</span> <span class="s1" style="color: #d14;">'/^.*$/i'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="31" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
31
</td>
<td class="diff-line-num new_line" data-linenumber="31" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
31
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC31" class="line" lang="php"></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="37e64e7501a5b028f4df40eaf0f7d59b111df459">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#37e64e7501a5b028f4df40eaf0f7d59b111df459"><strong>share/server/core/functions/html.php</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="271" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="271" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -271,7 +271,21 @@ function textarea($name, $default = '', $class = '', $style = '') {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="271" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
271
</td>
<td class="diff-line-num new_line" data-linenumber="271" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
271
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC271" class="line" lang="php"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">submitted</span><span class="p">(</span><span class="nv" style="color: #008080;">$form_name</span><span class="p">))</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="272" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
272
</td>
<td class="diff-line-num new_line" data-linenumber="272" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
272
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC272" class="line" lang="php"> <span class="nv" style="color: #008080;">$default</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">post</span><span class="p">(</span><span class="nv" style="color: #008080;">$name</span><span class="p">,</span> <span class="nv" style="color: #008080;">$default</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="273" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
273
</td>
<td class="diff-line-num new_line" data-linenumber="273" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
273
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC273" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="274" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
274
</td>
<td class="diff-line-num new_line old" data-linenumber="274" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC274" class="line" lang="php"> <span class="k" style="font-weight: 600;">echo</span> <span class="s1" style="color: #d14;">'<textarea name="'</span><span class="o" style="font-weight: 600;">.</span><span class="nv" style="color: #008080;">$name</span><span class="o" style="font-weight: 600;">.</span><span class="s1" style="color: #d14;">'"'</span><span class="o" style="font-weight: 600;">.</span><span class="nv" style="color: #008080;">$class</span><span class="o" style="font-weight: 600;">.</span><span class="nv" style="color: #008080;">$style</span><span class="o" style="font-weight: 600;">.</span><span class="s1" style="color: #d14;">'>'</span><span class="o" style="font-weight: 600;">.</span><span class="nx">escape_html</span><span class="p">(</span><span class="nv" style="color: #008080;">$default</span><span class="p">)</span><span class="o" style="font-weight: 600;">.</span><span class="s1" style="color: #d14;">'</textarea>'</span><span class="o" style="font-weight: 600;">.</span><span class="nx">N</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="274" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
274
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC274" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// plain <textarea></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
275
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC275" class="line" lang="php"> <span class="k" style="font-weight: 600;">echo</span> <span class="s1" style="color: #d14;">'<textarea id="textarea_'</span><span class="o" style="font-weight: 600;">.</span><span class="nv" style="color: #008080;">$name</span><span class="o" style="font-weight: 600;">.</span><span class="s1" style="color: #d14;">'" name="'</span><span class="o" style="font-weight: 600;">.</span><span class="nv" style="color: #008080;">$name</span><span class="o" style="font-weight: 600;">.</span><span class="s1" style="color: #d14;">'"'</span><span class="o" style="font-weight: 600;">.</span><span class="nv" style="color: #008080;">$class</span><span class="o" style="font-weight: 600;">.</span><span class="nv" style="color: #008080;">$style</span><span class="o" style="font-weight: 600;">.</span><span class="s1" style="color: #d14;">'>'</span><span class="o" style="font-weight: 600;">.</span><span class="nx">escape_html</span><span class="p">(</span><span class="nv" style="color: #008080;">$default</span><span class="p">)</span><span class="o" style="font-weight: 600;">.</span><span class="s1" style="color: #d14;">'</textarea>'</span><span class="o" style="font-weight: 600;">.</span><span class="nx">N</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="276" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
276
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC276" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="277" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
277
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC277" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// better <textarea></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="278" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
278
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC278" class="line" lang="php"> <span class="k" style="font-weight: 600;">echo</span> <span class="s1" style="color: #d14;">'</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="279" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
279
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC279" class="line" lang="php"><span class="s1" style="color: #d14;"> <script></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="280" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
280
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC280" class="line" lang="php"><span class="s1" style="color: #d14;"> let script = document.createElement("script");</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="281" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
281
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC281" class="line" lang="php"><span class="s1" style="color: #d14;"> script.src = "js/ExtNicEdit.js"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="282" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
282
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC282" class="line" lang="php"><span class="s1" style="color: #d14;"> document.head.appendChild(script);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="283" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
283
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC283" class="line" lang="php"><span class="s1" style="color: #d14;"> script.onload = function() {</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="284" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
284
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC284" class="line" lang="php"><span class="s1" style="color: #d14;"> new nicEditor({fullPanel : true}).panelInstance("textarea_'</span><span class="o" style="font-weight: 600;">.</span><span class="nv" style="color: #008080;">$name</span><span class="o" style="font-weight: 600;">.</span><span class="s1" style="color: #d14;">'")</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="285" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
285
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC285" class="line" lang="php"><span class="s1" style="color: #d14;"> };</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="286" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
286
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC286" class="line" lang="php"><span class="s1" style="color: #d14;"> </script></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="287" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
287
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC287" class="line" lang="php"><span class="s1" style="color: #d14;"> '</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="288" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
288
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC288" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
275
</td>
<td class="diff-line-num new_line" data-linenumber="289" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
289
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC289" class="line" lang="php"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="276" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
276
</td>
<td class="diff-line-num new_line" data-linenumber="290" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
290
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC290" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="277" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
277
</td>
<td class="diff-line-num new_line" data-linenumber="291" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
291
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC291" class="line" lang="php"><span class="k" style="font-weight: 600;">function</span> <span class="nf" style="color: #900; font-weight: 600;">select</span><span class="p">(</span><span class="nv" style="color: #008080;">$name</span><span class="p">,</span> <span class="nv" style="color: #008080;">$options</span><span class="p">,</span> <span class="nv" style="color: #008080;">$default</span> <span class="o" style="font-weight: 600;">=</span> <span class="s1" style="color: #d14;">''</span><span class="p">,</span> <span class="nv" style="color: #008080;">$onchange</span> <span class="o" style="font-weight: 600;">=</span> <span class="s1" style="color: #d14;">''</span><span class="p">,</span> <span class="nv" style="color: #008080;">$style</span> <span class="o" style="font-weight: 600;">=</span> <span class="s1" style="color: #d14;">''</span><span class="p">,</span> <span class="nv" style="color: #008080;">$size</span> <span class="o" style="font-weight: 600;">=</span> <span class="kc" style="font-weight: 600;">null</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="c42d9c4dfd7fad72e33d83c95d0df35556093a65">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#c42d9c4dfd7fad72e33d83c95d0df35556093a65"><strong>share/server/core/mapcfg/default.php</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="543" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="543" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -543,6 +543,20 @@ $mapConfigVars = Array(</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="543" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
543
</td>
<td class="diff-line-num new_line" data-linenumber="543" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
543
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC543" class="line" lang="php"> <span class="s1" style="color: #d14;">'depends_on'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'view_type'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="544" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
544
</td>
<td class="diff-line-num new_line" data-linenumber="544" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
544
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC544" class="line" lang="php"> <span class="s1" style="color: #d14;">'depends_value'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'line'</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="545" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
545
</td>
<td class="diff-line-num new_line" data-linenumber="545" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
545
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC545" class="line" lang="php"> <span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
546
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC546" class="line" lang="php"> <span class="s1" style="color: #d14;">'line_label_in'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">Array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="547" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
547
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC547" class="line" lang="php"> <span class="s1" style="color: #d14;">'must'</span> <span class="o" style="font-weight: 600;">=></span> <span class="mi" style="color: #099;">0</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="548" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
548
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC548" class="line" lang="php"> <span class="s1" style="color: #d14;">'default'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'in'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="549" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
549
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC549" class="line" lang="php"> <span class="s1" style="color: #d14;">'match'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">MATCH_STRING</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="550" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
550
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC550" class="line" lang="php"> <span class="s1" style="color: #d14;">'depends_on'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'view_type'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="551" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
551
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC551" class="line" lang="php"> <span class="s1" style="color: #d14;">'depends_value'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'line'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="552" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
552
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC552" class="line" lang="php"> <span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="553" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
553
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC553" class="line" lang="php"> <span class="s1" style="color: #d14;">'line_label_out'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">Array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="554" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
554
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC554" class="line" lang="php"> <span class="s1" style="color: #d14;">'must'</span> <span class="o" style="font-weight: 600;">=></span> <span class="mi" style="color: #099;">0</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="555" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
555
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC555" class="line" lang="php"> <span class="s1" style="color: #d14;">'default'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'out'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="556" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
556
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC556" class="line" lang="php"> <span class="s1" style="color: #d14;">'match'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">MATCH_STRING</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="557" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
557
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC557" class="line" lang="php"> <span class="s1" style="color: #d14;">'depends_on'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'view_type'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="558" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
558
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC558" class="line" lang="php"> <span class="s1" style="color: #d14;">'depends_value'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'line'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="559" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
559
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC559" class="line" lang="php"> <span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="546" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
546
</td>
<td class="diff-line-num new_line" data-linenumber="560" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
560
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC560" class="line" lang="php"> <span class="s1" style="color: #d14;">'line_label_y_offset'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">Array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="547" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
547
</td>
<td class="diff-line-num new_line" data-linenumber="561" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
561
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC561" class="line" lang="php"> <span class="s1" style="color: #d14;">'must'</span> <span class="o" style="font-weight: 600;">=></span> <span class="mi" style="color: #099;">0</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="548" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
548
</td>
<td class="diff-line-num new_line" data-linenumber="562" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
562
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC562" class="line" lang="php"> <span class="s1" style="color: #d14;">'default'</span> <span class="o" style="font-weight: 600;">=></span> <span class="mi" style="color: #099;">2</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="652" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="666" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -652,6 +666,11 @@ $mapConfigVars = Array(</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="652" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
652
</td>
<td class="diff-line-num new_line" data-linenumber="666" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
666
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC666" class="line" lang="php"> <span class="s1" style="color: #d14;">'default'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">cfg</span><span class="p">(</span><span class="s1" style="color: #d14;">'defaults'</span><span class="p">,</span> <span class="s1" style="color: #d14;">'showinmultisite'</span><span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="653" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
653
</td>
<td class="diff-line-num new_line" data-linenumber="667" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
667
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC667" class="line" lang="php"> <span class="s1" style="color: #d14;">'match'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">MATCH_BOOLEAN</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="654" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
654
</td>
<td class="diff-line-num new_line" data-linenumber="668" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
668
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC668" class="line" lang="php"> <span class="s1" style="color: #d14;">'field_type'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'boolean'</span><span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="655" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="669" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
669
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC669" class="line" lang="php"> <span class="s1" style="color: #d14;">'ignore_linked_maps_summary_state'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">Array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="655" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="670" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
670
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC670" class="line" lang="php"> <span class="s1" style="color: #d14;">'must'</span> <span class="o" style="font-weight: 600;">=></span> <span class="mi" style="color: #099;">0</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="655" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="671" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
671
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC671" class="line" lang="php"> <span class="s1" style="color: #d14;">'default'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'0'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="655" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="672" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
672
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC672" class="line" lang="php"> <span class="s1" style="color: #d14;">'match'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">MATCH_BOOLEAN</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="655" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="673" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
673
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC673" class="line" lang="php"> <span class="s1" style="color: #d14;">'field_type'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'boolean'</span><span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="655" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
655
</td>
<td class="diff-line-num new_line" data-linenumber="674" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
674
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC674" class="line" lang="php"> <span class="s1" style="color: #d14;">'stylesheet'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">Array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="656" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
656
</td>
<td class="diff-line-num new_line" data-linenumber="675" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
675
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC675" class="line" lang="php"> <span class="s1" style="color: #d14;">'must'</span> <span class="o" style="font-weight: 600;">=></span> <span class="mi" style="color: #099;">0</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="657" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
657
</td>
<td class="diff-line-num new_line" data-linenumber="676" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
676
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC676" class="line" lang="php"> <span class="s1" style="color: #d14;">'default'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">cfg</span><span class="p">(</span><span class="s1" style="color: #d14;">'defaults'</span><span class="p">,</span> <span class="s1" style="color: #d14;">'stylesheet'</span><span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="834" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="853" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -834,6 +853,7 @@ $mapConfigVars = Array(</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="834" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
834
</td>
<td class="diff-line-num new_line" data-linenumber="853" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
853
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC853" class="line" lang="php"> <span class="s1" style="color: #d14;">'text'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">Array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="835" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
835
</td>
<td class="diff-line-num new_line" data-linenumber="854" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
854
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC854" class="line" lang="php"> <span class="s1" style="color: #d14;">'must'</span> <span class="o" style="font-weight: 600;">=></span> <span class="mi" style="color: #099;">1</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="836" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
836
</td>
<td class="diff-line-num new_line" data-linenumber="855" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
855
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC855" class="line" lang="php"> <span class="s1" style="color: #d14;">'match'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">MATCH_ALL</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="837" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="856" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
856
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC856" class="line" lang="php"> <span class="s1" style="color: #d14;">'field_type'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'textarea'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="837" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
837
</td>
<td class="diff-line-num new_line" data-linenumber="857" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
857
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC857" class="line" lang="php"> <span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="838" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
838
</td>
<td class="diff-line-num new_line" data-linenumber="858" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
858
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC858" class="line" lang="php"> <span class="s1" style="color: #d14;">'border_color'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">Array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="839" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
839
</td>
<td class="diff-line-num new_line" data-linenumber="859" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
859
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC859" class="line" lang="php"> <span class="s1" style="color: #d14;">'must'</span> <span class="o" style="font-weight: 600;">=></span> <span class="mi" style="color: #099;">0</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="890" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="910" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -890,9 +910,9 @@ $mapConfigVars = Array(</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="890" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
890
</td>
<td class="diff-line-num new_line" data-linenumber="910" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
910
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC910" class="line" lang="php"> <span class="s1" style="color: #d14;">'match'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">MATCH_STRING_NO_SPACE</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="891" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
891
</td>
<td class="diff-line-num new_line" data-linenumber="911" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
911
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC911" class="line" lang="php"> <span class="s1" style="color: #d14;">'list'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'listTemplateNames'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="892" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
892
</td>
<td class="diff-line-num new_line" data-linenumber="912" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
912
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC912" class="line" lang="php"> <span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="893" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
893
</td>
<td class="diff-line-num new_line old" data-linenumber="913" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC893" class="line" lang="php"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="894" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="913" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
913
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC913" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="894" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
894
</td>
<td class="diff-line-num new_line" data-linenumber="914" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
914
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC914" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// STATELESS LINE SPECIFIC OPTIONS</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="895" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
895
</td>
<td class="diff-line-num new_line old" data-linenumber="915" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC895" class="line" lang="php"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="896" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="915" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
915
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC915" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="896" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
896
</td>
<td class="diff-line-num new_line" data-linenumber="916" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
916
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC916" class="line" lang="php"> <span class="s1" style="color: #d14;">'view_type_line'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">Array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="897" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
897
</td>
<td class="diff-line-num new_line" data-linenumber="917" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
917
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC917" class="line" lang="php"> <span class="s1" style="color: #d14;">'must'</span> <span class="o" style="font-weight: 600;">=></span> <span class="mi" style="color: #099;">1</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="898" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
898
</td>
<td class="diff-line-num new_line" data-linenumber="918" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
918
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC918" class="line" lang="php"> <span class="s1" style="color: #d14;">'default'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'line'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="932" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="952" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -932,7 +952,7 @@ $mapConfigVars = Array(</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="932" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
932
</td>
<td class="diff-line-num new_line" data-linenumber="952" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
952
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC952" class="line" lang="php"> <span class="s1" style="color: #d14;">'default'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">''</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="933" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
933
</td>
<td class="diff-line-num new_line" data-linenumber="953" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
953
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC953" class="line" lang="php"> <span class="s1" style="color: #d14;">'field_type'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'dropdown'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="934" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
934
</td>
<td class="diff-line-num new_line" data-linenumber="954" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
954
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC954" class="line" lang="php"> <span class="s1" style="color: #d14;">'match'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">MATCH_DYN_GROUP_TYPES</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="935" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
935
</td>
<td class="diff-line-num new_line old" data-linenumber="955" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC935" class="line" lang="php"> <span class="s1" style="color: #d14;">'list'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'listDynGroupTypes'</span><span class="p">,</span><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="936" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="955" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
955
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC955" class="line" lang="php"> <span class="s1" style="color: #d14;">'list'</span> <span class="o" style="font-weight: 600;">=></span> <span class="s1" style="color: #d14;">'listDynGroupTypes'</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="936" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
936
</td>
<td class="diff-line-num new_line" data-linenumber="956" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
956
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC956" class="line" lang="php"> <span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="937" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
937
</td>
<td class="diff-line-num new_line" data-linenumber="957" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
957
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC957" class="line" lang="php"> <span class="s1" style="color: #d14;">'object_filter'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">Array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="938" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
938
</td>
<td class="diff-line-num new_line" data-linenumber="958" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
958
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC958" class="line" lang="php"> <span class="s1" style="color: #d14;">'must'</span> <span class="o" style="font-weight: 600;">=></span> <span class="mi" style="color: #099;">0</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="976" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -976,6 +996,7 @@ $mapConfigVarMap['global'] = Array(</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="976" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
976
</td>
<td class="diff-line-num new_line" data-linenumber="996" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
996
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC996" class="line" lang="php"> <span class="s1" style="color: #d14;">'in_maintenance'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="977" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
977
</td>
<td class="diff-line-num new_line" data-linenumber="997" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
997
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC997" class="line" lang="php"> <span class="s1" style="color: #d14;">'show_in_lists'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="978" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
978
</td>
<td class="diff-line-num new_line" data-linenumber="998" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
998
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC998" class="line" lang="php"> <span class="s1" style="color: #d14;">'show_in_multisite'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="979" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="999" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
999
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC999" class="line" lang="php"> <span class="s1" style="color: #d14;">'ignore_linked_maps_summary_state'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="979" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
979
</td>
<td class="diff-line-num new_line" data-linenumber="1000" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1000
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1000" class="line" lang="php"> <span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="980" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
980
</td>
<td class="diff-line-num new_line" data-linenumber="1001" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1001
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1001" class="line" lang="php"> <span class="s1" style="color: #d14;">'appearance'</span> <span class="o" style="font-weight: 600;">=></span> <span class="k" style="font-weight: 600;">array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="981" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
981
</td>
<td class="diff-line-num new_line" data-linenumber="1002" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1002
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1002" class="line" lang="php"> <span class="s1" style="color: #d14;">'map_image'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="1188" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="1209" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -1188,6 +1209,8 @@ $mapConfigVarMap['service'] = Array(</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1188" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1188
</td>
<td class="diff-line-num new_line" data-linenumber="1209" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1209
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1209" class="line" lang="php"> <span class="s1" style="color: #d14;">'line_type'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1189" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1189
</td>
<td class="diff-line-num new_line" data-linenumber="1210" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1210
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1210" class="line" lang="php"> <span class="s1" style="color: #d14;">'line_cut'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1190" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1190
</td>
<td class="diff-line-num new_line" data-linenumber="1211" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1211
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1211" class="line" lang="php"> <span class="s1" style="color: #d14;">'line_label_show'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1191" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1212" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1212
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1212" class="line" lang="php"> <span class="s1" style="color: #d14;">'line_label_in'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1191" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1213" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1213
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1213" class="line" lang="php"> <span class="s1" style="color: #d14;">'line_label_out'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1191" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1191
</td>
<td class="diff-line-num new_line" data-linenumber="1214" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1214
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1214" class="line" lang="php"> <span class="s1" style="color: #d14;">'line_label_pos_in'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1192" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1192
</td>
<td class="diff-line-num new_line" data-linenumber="1215" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1215
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1215" class="line" lang="php"> <span class="s1" style="color: #d14;">'line_label_pos_out'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1193" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1193
</td>
<td class="diff-line-num new_line" data-linenumber="1216" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1216
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1216" class="line" lang="php"> <span class="s1" style="color: #d14;">'line_label_y_offset'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="1580" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="1603" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -1580,7 +1603,7 @@ $mapConfigVarMap['aggr'] = Array(</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1580" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1580
</td>
<td class="diff-line-num new_line" data-linenumber="1603" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1603
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1603" class="line" lang="php"> <span class="s1" style="color: #d14;">'label_border'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1581" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1581
</td>
<td class="diff-line-num new_line" data-linenumber="1604" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1604
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1604" class="line" lang="php"> <span class="s1" style="color: #d14;">'label_style'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1582" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1582
</td>
<td class="diff-line-num new_line" data-linenumber="1605" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1605
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1605" class="line" lang="php"> <span class="s1" style="color: #d14;">'label_maxlen'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1583" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1583
</td>
<td class="diff-line-num new_line old" data-linenumber="1606" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1583" class="line" lang="php"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1584" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1606" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1606
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1606" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1584" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1584
</td>
<td class="diff-line-num new_line" data-linenumber="1607" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1607
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1607" class="line" lang="php"> <span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1585" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1585
</td>
<td class="diff-line-num new_line" data-linenumber="1608" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1608
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1608" class="line" lang="php"> <span class="s1" style="color: #d14;">'hidden'</span> <span class="o" style="font-weight: 600;">=></span> <span class="k" style="font-weight: 600;">array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1586" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1586
</td>
<td class="diff-line-num new_line" data-linenumber="1609" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1609
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1609" class="line" lang="php"> <span class="s1" style="color: #d14;">'type'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">null</span><span class="p">,</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="03c5090bc23de2475b1e4736ed987161c1c39d79">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#03c5090bc23de2475b1e4736ed987161c1c39d79"><strong>share/server/core/sources/worldmap.php</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="2" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="2" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -2,7 +2,7 @@</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="2" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2
</td>
<td class="diff-line-num new_line" data-linenumber="2" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC2" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="3" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
3
</td>
<td class="diff-line-num new_line" data-linenumber="3" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
3
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC3" class="line" lang="php"><span class="kd" style="font-weight: 600;">class</span> <span class="nc" style="color: #458; font-weight: 600;">WorldmapError</span> <span class="k" style="font-weight: 600;">extends</span> <span class="nx">MapSourceError</span> <span class="p">{}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="4" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
4
</td>
<td class="diff-line-num new_line" data-linenumber="4" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
4
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC4" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="5" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
5
</td>
<td class="diff-line-num new_line old" data-linenumber="5" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC5" class="line" lang="php"><span class="nb" style="color: #0086b3;">define</span><span class="p">(</span><span class="s1" style="color: #d14;">'MATCH_WORLDMAP_ZOOM'</span><span class="p">,</span> <span class="s1" style="color: #d14;">'/^1?[0-9]$/'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="6" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="5" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
5
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC5" class="line" lang="php"><span class="nb" style="color: #0086b3;">define</span><span class="p">(</span><span class="s1" style="color: #d14;">'MATCH_WORLDMAP_ZOOM'</span><span class="p">,</span> <span class="s1" style="color: #d14;">'/^1?[0-9]<span class="idiff left right">|20</span>$/'</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="6" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
6
</td>
<td class="diff-line-num new_line" data-linenumber="6" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
6
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC6" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="7" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
7
</td>
<td class="diff-line-num new_line" data-linenumber="7" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
7
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC7" class="line" lang="php"><span class="c1" style="color: #998; font-style: italic;">// Register this source as being selectable by the user</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="8" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
8
</td>
<td class="diff-line-num new_line" data-linenumber="8" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
8
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC8" class="line" lang="php"><span class="k" style="font-weight: 600;">global</span> <span class="nv" style="color: #008080;">$selectable</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="46" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="46" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -46,7 +46,7 @@ $configVars = array(</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="46" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
46
</td>
<td class="diff-line-num new_line" data-linenumber="46" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
46
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC46" class="line" lang="php"> <span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="47" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
47
</td>
<td class="diff-line-num new_line" data-linenumber="47" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
47
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC47" class="line" lang="php"> <span class="s1" style="color: #d14;">'max_zoom'</span> <span class="o" style="font-weight: 600;">=></span> <span class="k" style="font-weight: 600;">array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="48" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
48
</td>
<td class="diff-line-num new_line" data-linenumber="48" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
48
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC48" class="line" lang="php"> <span class="s1" style="color: #d14;">'must'</span> <span class="o" style="font-weight: 600;">=></span> <span class="kc" style="font-weight: 600;">false</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="49" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
49
</td>
<td class="diff-line-num new_line old" data-linenumber="49" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC49" class="line" lang="php"> <span class="s1" style="color: #d14;">'default'</span> <span class="o" style="font-weight: 600;">=></span> <span class="mi" style="color: #099;"><span class="idiff left right">18</span></span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="50" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="49" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
49
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC49" class="line" lang="php"> <span class="s1" style="color: #d14;">'default'</span> <span class="o" style="font-weight: 600;">=></span> <span class="mi" style="color: #099;"><span class="idiff left right">20</span></span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="50" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
50
</td>
<td class="diff-line-num new_line" data-linenumber="50" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
50
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC50" class="line" lang="php"> <span class="s1" style="color: #d14;">'match'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nx">MATCH_WORLDMAP_ZOOM</span><span class="p">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="51" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
51
</td>
<td class="diff-line-num new_line" data-linenumber="51" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
51
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC51" class="line" lang="php"> <span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="52" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
52
</td>
<td class="diff-line-num new_line" data-linenumber="52" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
52
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC52" class="line" lang="php"><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="155" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="155" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -155,24 +155,92 @@ function worldmap_init_db() {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="155" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
155
</td>
<td class="diff-line-num new_line" data-linenumber="155" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
155
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC155" class="line" lang="php"> <span class="nx">worldmap_init_schema</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="156" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
156
</td>
<td class="diff-line-num new_line" data-linenumber="156" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
156
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC156" class="line" lang="php"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="157" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
157
</td>
<td class="diff-line-num new_line" data-linenumber="157" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
157
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC157" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
158
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC158" class="line" lang="php"><span class="c1" style="color: #998; font-style: italic;">// compuetes 2D line constants from a segment (2 points)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="159" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
159
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC159" class="line" lang="php"><span class="c1" style="color: #998; font-style: italic;">// returns parameters r,s,t of the common 2D "rx + sy + t = 0" equation</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="160" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
160
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC160" class="line" lang="php"><span class="k" style="font-weight: 600;">function</span> <span class="nf" style="color: #900; font-weight: 600;">line_parameters</span><span class="p">(</span><span class="nv" style="color: #008080;">$ax</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ay</span><span class="p">,</span> <span class="nv" style="color: #008080;">$bx</span><span class="p">,</span> <span class="nv" style="color: #008080;">$by</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="161" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
161
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC161" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// segment vector</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="162" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
162
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC162" class="line" lang="php"> <span class="nv" style="color: #008080;">$ux</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$bx</span> <span class="o" style="font-weight: 600;">-</span> <span class="nv" style="color: #008080;">$ax</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="163" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
163
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC163" class="line" lang="php"> <span class="nv" style="color: #008080;">$uy</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$by</span> <span class="o" style="font-weight: 600;">-</span> <span class="nv" style="color: #008080;">$ay</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="164" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
164
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC164" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
165
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC165" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// perpendicular vector</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="166" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
166
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC166" class="line" lang="php"> <span class="nv" style="color: #008080;">$nx</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$uy</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="167" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
167
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC167" class="line" lang="php"> <span class="nv" style="color: #008080;">$ny</span> <span class="o" style="font-weight: 600;">=</span> <span class="o" style="font-weight: 600;">-</span><span class="nv" style="color: #008080;">$ux</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
168
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC168" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="169" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
169
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC169" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// r, s, t constants</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="170" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
170
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC170" class="line" lang="php"> <span class="nv" style="color: #008080;">$r</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$nx</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="171" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
171
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC171" class="line" lang="php"> <span class="nv" style="color: #008080;">$s</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$ny</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="172" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
172
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC172" class="line" lang="php"> <span class="nv" style="color: #008080;">$t</span> <span class="o" style="font-weight: 600;">=</span> <span class="o" style="font-weight: 600;">-</span><span class="p">(</span><span class="nv" style="color: #008080;">$r</span><span class="o" style="font-weight: 600;">*</span><span class="nv" style="color: #008080;">$ax</span> <span class="o" style="font-weight: 600;">+</span> <span class="nv" style="color: #008080;">$s</span><span class="o" style="font-weight: 600;">*</span><span class="nv" style="color: #008080;">$ay</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="173" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
173
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC173" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="174" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
174
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC174" class="line" lang="php"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nv" style="color: #008080;">$s</span> <span class="o" style="font-weight: 600;">==</span> <span class="o" style="font-weight: 600;">-</span><span class="mi" style="color: #099;">0</span><span class="p">)</span> <span class="nv" style="color: #008080;">$s</span> <span class="o" style="font-weight: 600;">=</span> <span class="mi" style="color: #099;">0</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="175" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
175
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC175" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="176" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
176
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC176" class="line" lang="php"> <span class="k" style="font-weight: 600;">return</span> <span class="p">[</span><span class="nv" style="color: #008080;">$r</span><span class="p">,</span> <span class="nv" style="color: #008080;">$s</span><span class="p">,</span> <span class="nv" style="color: #008080;">$t</span><span class="p">];</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="177" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
177
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC177" class="line" lang="php"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="158" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
158
</td>
<td class="diff-line-num new_line" data-linenumber="178" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
178
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC178" class="line" lang="php"><span class="k" style="font-weight: 600;">function</span> <span class="nf" style="color: #900; font-weight: 600;">worldmap_get_objects_by_bounds</span><span class="p">(</span><span class="nv" style="color: #008080;">$sw_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$sw_lat</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lat</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="159" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
159
</td>
<td class="diff-line-num new_line" data-linenumber="179" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
179
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC179" class="line" lang="php"> <span class="k" style="font-weight: 600;">global</span> <span class="nv" style="color: #008080;">$DB</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="160" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
160
</td>
<td class="diff-line-num new_line" data-linenumber="180" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
180
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC180" class="line" lang="php"> <span class="nx">worldmap_init_db</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="161" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
161
</td>
<td class="diff-line-num new_line" data-linenumber="181" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
181
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC181" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="162" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
162
</td>
<td class="diff-line-num new_line" data-linenumber="182" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
182
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC182" class="line" lang="php"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nv" style="color: #008080;">$sw_lat</span> <span class="o" style="font-weight: 600;">></span> <span class="nv" style="color: #008080;">$ne_lat</span><span class="p">)</span> <span class="nx">swap</span><span class="p">(</span><span class="nv" style="color: #008080;">$sw_lat</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lat</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="163" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
163
</td>
<td class="diff-line-num new_line" data-linenumber="183" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
183
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC183" class="line" lang="php"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nv" style="color: #008080;">$sw_lng</span> <span class="o" style="font-weight: 600;">></span> <span class="nv" style="color: #008080;">$ne_lng</span><span class="p">)</span> <span class="nx">swap</span><span class="p">(</span><span class="nv" style="color: #008080;">$sw_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lng</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="164" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
164
</td>
<td class="diff-line-num new_line old" data-linenumber="184" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC164" class="line" lang="php"> </span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="184" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
184
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC184" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="185" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
185
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC185" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// The 4 bounding lines expressed as common 2D "rx + sy + t = 0" equations</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="186" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
186
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC186" class="line" lang="php"> <span class="k" style="font-weight: 600;">list</span><span class="p">(</span><span class="nv" style="color: #008080;">$rWest</span><span class="p">,</span> <span class="nv" style="color: #008080;">$sWest</span><span class="p">,</span> <span class="nv" style="color: #008080;">$tWest</span><span class="p">)</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">line_parameters</span><span class="p">(</span><span class="nv" style="color: #008080;">$sw_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$sw_lat</span><span class="p">,</span> <span class="nv" style="color: #008080;">$sw_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lat</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="187" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
187
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC187" class="line" lang="php"> <span class="k" style="font-weight: 600;">list</span><span class="p">(</span><span class="nv" style="color: #008080;">$rNorth</span><span class="p">,</span> <span class="nv" style="color: #008080;">$sNorth</span><span class="p">,</span> <span class="nv" style="color: #008080;">$tNorth</span><span class="p">)</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">line_parameters</span><span class="p">(</span><span class="nv" style="color: #008080;">$sw_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lat</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lat</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="188" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
188
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC188" class="line" lang="php"> <span class="k" style="font-weight: 600;">list</span><span class="p">(</span><span class="nv" style="color: #008080;">$rEast</span><span class="p">,</span> <span class="nv" style="color: #008080;">$sEast</span><span class="p">,</span> <span class="nv" style="color: #008080;">$tEast</span><span class="p">)</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">line_parameters</span><span class="p">(</span><span class="nv" style="color: #008080;">$ne_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$sw_lat</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lat</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="189" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
189
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC189" class="line" lang="php"> <span class="k" style="font-weight: 600;">list</span><span class="p">(</span><span class="nv" style="color: #008080;">$rSouth</span><span class="p">,</span> <span class="nv" style="color: #008080;">$sSouth</span><span class="p">,</span> <span class="nv" style="color: #008080;">$tSouth</span><span class="p">)</span> <span class="o" style="font-weight: 600;">=</span> <span class="nx">line_parameters</span><span class="p">(</span><span class="nv" style="color: #008080;">$sw_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$sw_lat</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$sw_lat</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="190" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
190
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC190" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="191" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
191
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC191" class="line" lang="php"> <span class="cm" style="color: #998; font-style: italic;">/* SQLite 2D line equations */</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="192" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
192
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC192" class="line" lang="php"> <span class="nv" style="color: #008080;">$ux</span> <span class="o" style="font-weight: 600;">=</span> <span class="s1" style="color: #d14;">'(lng2-lng)'</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="193" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
193
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC193" class="line" lang="php"> <span class="nv" style="color: #008080;">$uy</span> <span class="o" style="font-weight: 600;">=</span> <span class="s1" style="color: #d14;">'(lat2-lat)'</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="194" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
194
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC194" class="line" lang="php"> <span class="nv" style="color: #008080;">$nx</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$uy</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="195" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
195
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC195" class="line" lang="php"> <span class="nv" style="color: #008080;">$ny</span> <span class="o" style="font-weight: 600;">=</span> <span class="s2" style="color: #d14;">"(-(</span><span class="nv" style="color: #008080;">$ux</span><span class="s2" style="color: #d14;">))"</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="196" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
196
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC196" class="line" lang="php"> <span class="nv" style="color: #008080;">$r</span> <span class="o" style="font-weight: 600;">=</span> <span class="s2" style="color: #d14;">"(</span><span class="nv" style="color: #008080;">$nx</span><span class="s2" style="color: #d14;">)"</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="197" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
197
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC197" class="line" lang="php"> <span class="nv" style="color: #008080;">$s</span> <span class="o" style="font-weight: 600;">=</span> <span class="s2" style="color: #d14;">"(</span><span class="nv" style="color: #008080;">$ny</span><span class="s2" style="color: #d14;">)"</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="198" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
198
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC198" class="line" lang="php"> <span class="nv" style="color: #008080;">$t</span> <span class="o" style="font-weight: 600;">=</span> <span class="s2" style="color: #d14;">"(-</span><span class="nv" style="color: #008080;">$r</span><span class="s2" style="color: #d14;">*lng-</span><span class="nv" style="color: #008080;">$s</span><span class="s2" style="color: #d14;">*lat)"</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="199" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
199
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC199" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="200" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
200
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC200" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// y-coordinate of line-vs-west-edge intersection</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="201" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
201
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC201" class="line" lang="php"> <span class="nv" style="color: #008080;">$intyWest</span> <span class="o" style="font-weight: 600;">=</span> <span class="s2" style="color: #d14;">"(</span><span class="nv" style="color: #008080;">$rWest</span><span class="s2" style="color: #d14;">*</span><span class="nv" style="color: #008080;">$t</span><span class="s2" style="color: #d14;"> - (</span><span class="nv" style="color: #008080;">$tWest</span><span class="s2" style="color: #d14;">)*</span><span class="nv" style="color: #008080;">$r</span><span class="s2" style="color: #d14;">)/(</span><span class="nv" style="color: #008080;">$sWest</span><span class="s2" style="color: #d14;">*</span><span class="nv" style="color: #008080;">$r</span><span class="s2" style="color: #d14;"> - (</span><span class="nv" style="color: #008080;">$rWest</span><span class="s2" style="color: #d14;">)*</span><span class="nv" style="color: #008080;">$s</span><span class="s2" style="color: #d14;">)"</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="202" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
202
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC202" class="line" lang="php"> <span class="nv" style="color: #008080;">$intWithinWestBound</span> <span class="o" style="font-weight: 600;">=</span> <span class="s2" style="color: #d14;">"(</span><span class="nv" style="color: #008080;">$intyWest</span><span class="s2" style="color: #d14;"> between :sw_lat and :ne_lat AND min(lng,lng2) <= :sw_lng AND max(lng,lng2) >= :sw_lng)"</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="203" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
203
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC203" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="204" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
204
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC204" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// x-coordinate of line-vs-south-edge intersection</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="205" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
205
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC205" class="line" lang="php"> <span class="nv" style="color: #008080;">$intxSouth</span> <span class="o" style="font-weight: 600;">=</span> <span class="s2" style="color: #d14;">"(</span><span class="nv" style="color: #008080;">$s</span><span class="s2" style="color: #d14;">*</span><span class="nv" style="color: #008080;">$tSouth</span><span class="s2" style="color: #d14;">-(</span><span class="nv" style="color: #008080;">$sSouth</span><span class="s2" style="color: #d14;">)*</span><span class="nv" style="color: #008080;">$t</span><span class="s2" style="color: #d14;">)/(</span><span class="nv" style="color: #008080;">$sSouth</span><span class="s2" style="color: #d14;">*</span><span class="nv" style="color: #008080;">$r</span><span class="s2" style="color: #d14;">-</span><span class="nv" style="color: #008080;">$s</span><span class="s2" style="color: #d14;">*</span><span class="nv" style="color: #008080;">$rSouth</span><span class="s2" style="color: #d14;">)"</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="206" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
206
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC206" class="line" lang="php"> <span class="nv" style="color: #008080;">$intWithinSouthBound</span> <span class="o" style="font-weight: 600;">=</span> <span class="s2" style="color: #d14;">"(</span><span class="nv" style="color: #008080;">$intxSouth</span><span class="s2" style="color: #d14;"> between :sw_lng and :ne_lng AND min(lat,lat2) <= :sw_lat AND max(lat,lat2) >= :sw_lat)"</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="207" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
207
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC207" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="208" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
208
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC208" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// y-coordinate of line-vs-east-edge intersection</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="209" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
209
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC209" class="line" lang="php"> <span class="nv" style="color: #008080;">$intyEast</span> <span class="o" style="font-weight: 600;">=</span> <span class="s2" style="color: #d14;">"(</span><span class="nv" style="color: #008080;">$rEast</span><span class="s2" style="color: #d14;">*</span><span class="nv" style="color: #008080;">$t</span><span class="s2" style="color: #d14;"> - (</span><span class="nv" style="color: #008080;">$tEast</span><span class="s2" style="color: #d14;">)*</span><span class="nv" style="color: #008080;">$r</span><span class="s2" style="color: #d14;">)/(</span><span class="nv" style="color: #008080;">$sEast</span><span class="s2" style="color: #d14;">*</span><span class="nv" style="color: #008080;">$r</span><span class="s2" style="color: #d14;"> - (</span><span class="nv" style="color: #008080;">$rEast</span><span class="s2" style="color: #d14;">)*</span><span class="nv" style="color: #008080;">$s</span><span class="s2" style="color: #d14;">)"</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="210" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
210
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC210" class="line" lang="php"> <span class="nv" style="color: #008080;">$intWithinEastBound</span> <span class="o" style="font-weight: 600;">=</span> <span class="s2" style="color: #d14;">"(</span><span class="nv" style="color: #008080;">$intyEast</span><span class="s2" style="color: #d14;"> between :sw_lat and :ne_lat AND min(lng,lng2) <= :ne_lng AND max(lng,lng2) >= :ne_lng)"</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="211" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
211
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC211" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="212" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
212
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC212" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// x-coordinate of line-vs-north-edge intersection</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="213" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
213
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC213" class="line" lang="php"> <span class="nv" style="color: #008080;">$intxNorth</span> <span class="o" style="font-weight: 600;">=</span> <span class="s2" style="color: #d14;">"(</span><span class="nv" style="color: #008080;">$s</span><span class="s2" style="color: #d14;">*</span><span class="nv" style="color: #008080;">$tNorth</span><span class="s2" style="color: #d14;">-(</span><span class="nv" style="color: #008080;">$sNorth</span><span class="s2" style="color: #d14;">)*</span><span class="nv" style="color: #008080;">$t</span><span class="s2" style="color: #d14;">)/(</span><span class="nv" style="color: #008080;">$sNorth</span><span class="s2" style="color: #d14;">*</span><span class="nv" style="color: #008080;">$r</span><span class="s2" style="color: #d14;">-</span><span class="nv" style="color: #008080;">$s</span><span class="s2" style="color: #d14;">*</span><span class="nv" style="color: #008080;">$rNorth</span><span class="s2" style="color: #d14;">)"</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="214" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
214
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC214" class="line" lang="php"> <span class="nv" style="color: #008080;">$intWithinNorthBound</span> <span class="o" style="font-weight: 600;">=</span> <span class="s2" style="color: #d14;">"(</span><span class="nv" style="color: #008080;">$intxNorth</span><span class="s2" style="color: #d14;"> between :sw_lng and :ne_lng AND min(lat,lat2) <= :ne_lat AND max(lat,lat2) >= :ne_lat)"</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="215" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
215
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC215" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="165" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
165
</td>
<td class="diff-line-num new_line" data-linenumber="216" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
216
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC216" class="line" lang="php"> <span class="nv" style="color: #008080;">$q</span> <span class="o" style="font-weight: 600;">=</span> <span class="s1" style="color: #d14;">'SELECT lat, lng, lat2, lng2, object FROM objects WHERE'</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="166" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="217" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
217
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC217" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// object lays, or line starts within bbox</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="166" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
166
</td>
<td class="diff-line-num new_line" data-linenumber="218" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
218
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC218" class="line" lang="php"> <span class="o" style="font-weight: 600;">.</span><span class="s1" style="color: #d14;">'(lat BETWEEN :sw_lat AND :ne_lat AND lng BETWEEN :sw_lng AND :ne_lng)'</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="167" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
167
</td>
<td class="diff-line-num new_line old" data-linenumber="219" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC167" class="line" lang="php"> <span class="o" style="font-weight: 600;">.</span><span class="s1" style="color: #d14;">'OR (lat2 BETWEEN :sw_lat AND :ne_lat AND lng2 BETWEEN :sw_lng AND :ne_lng)'</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="219" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
219
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC219" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// line ends within bbox</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="220" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
220
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC220" class="line" lang="php"> <span class="o" style="font-weight: 600;">.</span><span class="s1" style="color: #d14;">'OR (lat2 BETWEEN :sw_lat AND :ne_lat AND lng2 BETWEEN :sw_lng AND :ne_lng)'</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="221" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
221
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC221" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// line intersects one of 4 bbox borders</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="222" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
222
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC222" class="line" lang="php"> <span class="o" style="font-weight: 600;">.</span><span class="s2" style="color: #d14;">"OR (lat2>0 AND lng2>0 AND (</span><span class="nv" style="color: #008080;">$intWithinWestBound</span><span class="s2" style="color: #d14;"> OR </span><span class="nv" style="color: #008080;">$intWithinSouthBound</span><span class="s2" style="color: #d14;"> OR </span><span class="nv" style="color: #008080;">$intWithinEastBound</span><span class="s2" style="color: #d14;"> OR </span><span class="nv" style="color: #008080;">$intWithinNorthBound</span><span class="s2" style="color: #d14;">))"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="223" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
223
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC223" class="line" lang="php"> <span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="224" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
224
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC224" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="225" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
225
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC225" class="line" lang="php"> <span class="nv" style="color: #008080;">$q</span> <span class="o" style="font-weight: 600;">=</span> <span class="nb" style="color: #0086b3;">str_replace</span><span class="p">(</span><span class="s1" style="color: #d14;">':sw_lng'</span><span class="p">,</span> <span class="nv" style="color: #008080;">$sw_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$q</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="226" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
226
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC226" class="line" lang="php"> <span class="nv" style="color: #008080;">$q</span> <span class="o" style="font-weight: 600;">=</span> <span class="nb" style="color: #0086b3;">str_replace</span><span class="p">(</span><span class="s1" style="color: #d14;">':sw_lat'</span><span class="p">,</span> <span class="nv" style="color: #008080;">$sw_lat</span><span class="p">,</span> <span class="nv" style="color: #008080;">$q</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="227" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
227
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC227" class="line" lang="php"> <span class="nv" style="color: #008080;">$q</span> <span class="o" style="font-weight: 600;">=</span> <span class="nb" style="color: #0086b3;">str_replace</span><span class="p">(</span><span class="s1" style="color: #d14;">':ne_lng'</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lng</span><span class="p">,</span> <span class="nv" style="color: #008080;">$q</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="228" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
228
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC228" class="line" lang="php"> <span class="nv" style="color: #008080;">$q</span> <span class="o" style="font-weight: 600;">=</span> <span class="nb" style="color: #0086b3;">str_replace</span><span class="p">(</span><span class="s1" style="color: #d14;">':ne_lat'</span><span class="p">,</span> <span class="nv" style="color: #008080;">$ne_lat</span><span class="p">,</span> <span class="nv" style="color: #008080;">$q</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="229" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
229
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC229" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// error_log("Query objects: $q");</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="230" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
230
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC230" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="231" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
231
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC231" class="line" lang="php"> <span class="nv" style="color: #008080;">$RES</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$DB</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">query</span><span class="p">(</span><span class="nv" style="color: #008080;">$q</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="232" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
232
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC232" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="233" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
233
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC233" class="line" lang="php"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nv" style="color: #008080;">$RES</span> <span class="o" style="font-weight: 600;">==</span> <span class="kc" style="font-weight: 600;">false</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="234" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
234
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC234" class="line" lang="php"> <span class="nb" style="color: #0086b3;">error_log</span><span class="p">(</span><span class="nb" style="color: #0086b3;">implode</span><span class="p">(</span><span class="nv" style="color: #008080;">$DB</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">error</span><span class="p">(),</span><span class="s1" style="color: #d14;">','</span><span class="p">));</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="235" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
235
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC235" class="line" lang="php"> <span class="k" style="font-weight: 600;">throw</span> <span class="k" style="font-weight: 600;">new</span> <span class="nx">WorldmapError</span><span class="p">(</span><span class="nx">l</span><span class="p">(</span><span class="s1" style="color: #d14;">'Failed to fetch objects: [E]; Query was [Q]'</span><span class="p">,</span> <span class="k" style="font-weight: 600;">array</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="236" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
236
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC236" class="line" lang="php"> <span class="s1" style="color: #d14;">'E'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nb" style="color: #0086b3;">json_encode</span><span class="p">(</span><span class="nv" style="color: #008080;">$DB</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">error</span><span class="p">()),</span> <span class="s1" style="color: #d14;">'Q'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nv" style="color: #008080;">$q</span><span class="p">)));</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="237" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
237
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC237" class="line" lang="php"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="168" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
168
</td>
<td class="diff-line-num new_line" data-linenumber="238" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
238
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC238" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="169" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
169
</td>
<td class="diff-line-num new_line old" data-linenumber="239" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC169" class="line" lang="php"> <span class="nv" style="color: #008080;">$RES</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$DB</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">query</span><span class="p">(</span><span class="nv" style="color: #008080;">$q</span><span class="p">,</span> <span class="k" style="font-weight: 600;">array</span><span class="p">(</span><span class="s1" style="color: #d14;">'sw_lng'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nv" style="color: #008080;">$sw_lng</span><span class="p">,</span> <span class="s1" style="color: #d14;">'sw_lat'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nv" style="color: #008080;">$sw_lat</span><span class="p">,</span> <span class="s1" style="color: #d14;">'ne_lng'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nv" style="color: #008080;">$ne_lng</span><span class="p">,</span> <span class="s1" style="color: #d14;">'ne_lat'</span> <span class="o" style="font-weight: 600;">=></span> <span class="nv" style="color: #008080;">$ne_lat</span><span class="p">));</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="170" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
170
</td>
<td class="diff-line-num new_line" data-linenumber="239" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
239
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC239" class="line" lang="php"> <span class="nv" style="color: #008080;">$objects</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">array</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="171" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
171
</td>
<td class="diff-line-num new_line" data-linenumber="240" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
240
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC240" class="line" lang="php"> <span class="nv" style="color: #008080;">$referenced</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">array</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="172" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
172
</td>
<td class="diff-line-num new_line" data-linenumber="241" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
241
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC241" class="line" lang="php"> <span class="k" style="font-weight: 600;">while</span> <span class="p">(</span><span class="nv" style="color: #008080;">$data</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$RES</span><span class="o" style="font-weight: 600;">-></span><span class="na" style="color: #008080;">fetch</span><span class="p">())</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="173" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
173
</td>
<td class="diff-line-num new_line" data-linenumber="242" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
242
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC242" class="line" lang="php"> <span class="nv" style="color: #008080;">$obj</span> <span class="o" style="font-weight: 600;">=</span> <span class="nb" style="color: #0086b3;">json_decode</span><span class="p">(</span><span class="nv" style="color: #008080;">$data</span><span class="p">[</span><span class="s1" style="color: #d14;">'object'</span><span class="p">],</span> <span class="kc" style="font-weight: 600;">true</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="174" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
174
</td>
<td class="diff-line-num new_line" data-linenumber="243" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
243
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC243" class="line" lang="php"> <span class="nv" style="color: #008080;">$objects</span><span class="p">[</span><span class="nv" style="color: #008080;">$obj</span><span class="p">[</span><span class="s1" style="color: #d14;">'object_id'</span><span class="p">]]</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$obj</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="175" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
175
</td>
<td class="diff-line-num new_line old" data-linenumber="244" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC175" class="line" lang="php"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="176" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
176
</td>
<td class="diff-line-num new_line" data-linenumber="244" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
244
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC244" class="line" lang="php"> <span class="c1" style="color: #998; font-style: italic;">// check all coordinates for relative coords</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="177" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
177
</td>
<td class="diff-line-num new_line" data-linenumber="245" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
245
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC245" class="line" lang="php"> <span class="nv" style="color: #008080;">$coords</span> <span class="o" style="font-weight: 600;">=</span> <span class="k" style="font-weight: 600;">array</span><span class="p">(</span><span class="nv" style="color: #008080;">$data</span><span class="p">[</span><span class="s1" style="color: #d14;">'lat'</span><span class="p">],</span> <span class="nv" style="color: #008080;">$data</span><span class="p">[</span><span class="s1" style="color: #d14;">'lng'</span><span class="p">],</span> <span class="nv" style="color: #008080;">$data</span><span class="p">[</span><span class="s1" style="color: #d14;">'lat2'</span><span class="p">],</span> <span class="nv" style="color: #008080;">$data</span><span class="p">[</span><span class="s1" style="color: #d14;">'lng2'</span><span class="p">]);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="178" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
178
</td>
<td class="diff-line-num new_line" data-linenumber="246" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
246
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC246" class="line" lang="php"> <span class="k" style="font-weight: 600;">foreach</span> <span class="p">(</span><span class="nv" style="color: #008080;">$coords</span> <span class="k" style="font-weight: 600;">as</span> <span class="nv" style="color: #008080;">$coord</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="1e6412419bc753c669a0ec3412a2cd3d53e84e2f">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#1e6412419bc753c669a0ec3412a2cd3d53e84e2f"><strong>share/userfiles/templates/default.css</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="404" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="404" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -404,8 +404,6 @@ div#popupWindow h1 {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="404" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
404
</td>
<td class="diff-line-num new_line" data-linenumber="404" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
404
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC404" class="line" lang="css"> <span class="nl">overflow</span><span class="p">:</span> <span class="nb" style="color: #0086b3;">hidden</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="405" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
405
</td>
<td class="diff-line-num new_line" data-linenumber="405" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
405
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC405" class="line" lang="css"> <span class="nl">text-overflow</span><span class="p">:</span> <span class="n" style="color: #333;">ellipsis</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="406" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
406
</td>
<td class="diff-line-num new_line" data-linenumber="406" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
406
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC406" class="line" lang="css"> <span class="nl">white-space</span><span class="p">:</span> <span class="nb" style="color: #0086b3;">nowrap</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="407" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
407
</td>
<td class="diff-line-num new_line old" data-linenumber="407" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC407" class="line" lang="css"> <span class="nl">max-width</span><span class="p">:</span> <span class="m" style="color: #099;">167px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="408" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
408
</td>
<td class="diff-line-num new_line old" data-linenumber="407" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC408" class="line" lang="css"> <span class="nl">width</span><span class="p">:</span> <span class="m" style="color: #099;">165px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="409" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
409
</td>
<td class="diff-line-num new_line" data-linenumber="407" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
407
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC407" class="line" lang="css"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="410" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
410
</td>
<td class="diff-line-num new_line" data-linenumber="408" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
408
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC408" class="line" lang="css"><span class="nf" style="color: #900; font-weight: 600;">#popupWindowContent</span> <span class="nt" style="color: #000080;">input</span><span class="o" style="font-weight: 600;">[</span><span class="nt" style="color: #000080;">type</span><span class="o" style="font-weight: 600;">=</span><span class="s1" style="color: #d14;">"radio"</span><span class="o" style="font-weight: 600;">]</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="411" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
411
</td>
<td class="diff-line-num new_line" data-linenumber="409" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
409
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC409" class="line" lang="css"> <span class="nl">vertical-align</span><span class="p">:</span> <span class="nb" style="color: #0086b3;">middle</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="414" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="412" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -414,8 +412,12 @@ div#popupWindow h1 {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="414" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
414
</td>
<td class="diff-line-num new_line" data-linenumber="412" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
412
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC412" class="line" lang="css"> <span class="nl">width</span><span class="p">:</span> <span class="m" style="color: #099;">140</span><span class="n" style="color: #333;">x</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="415" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
415
</td>
<td class="diff-line-num new_line" data-linenumber="413" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
413
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC413" class="line" lang="css"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="416" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
416
</td>
<td class="diff-line-num new_line" data-linenumber="414" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
414
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC414" class="line" lang="css"><span class="nf" style="color: #900; font-weight: 600;">#popupWindowContent</span> <span class="nt" style="color: #000080;">table</span><span class="nc" style="color: #458; font-weight: 600;">.mytable</span> <span class="nt" style="color: #000080;">tr</span> <span class="nt" style="color: #000080;">td</span><span class="nc" style="color: #458; font-weight: 600;">.tdfield</span> <span class="nt" style="color: #000080;">input</span><span class="o" style="font-weight: 600;">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="417" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="415" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
415
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC415" class="line" lang="css"><span class="nf" style="color: #900; font-weight: 600;">#popupWindowContent</span> <span class="nt" style="color: #000080;">table</span><span class="nc" style="color: #458; font-weight: 600;">.mytable</span> <span class="nt" style="color: #000080;">tr</span> <span class="nt" style="color: #000080;">td</span><span class="nc" style="color: #458; font-weight: 600;">.tdfield</span> <span class="nt" style="color: #000080;">textarea</span><span class="o" style="font-weight: 600;">,</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="417" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
417
</td>
<td class="diff-line-num new_line" data-linenumber="416" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
416
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC416" class="line" lang="css"><span class="nf" style="color: #900; font-weight: 600;">#popupWindowContent</span> <span class="nt" style="color: #000080;">table</span><span class="nc" style="color: #458; font-weight: 600;">.mytable</span> <span class="nt" style="color: #000080;">tr</span> <span class="nt" style="color: #000080;">td</span><span class="nc" style="color: #458; font-weight: 600;">.tdfield</span> <span class="nt" style="color: #000080;">select</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="418" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
418
</td>
<td class="diff-line-num new_line old" data-linenumber="417" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC418" class="line" lang="css"> <span class="nl">width</span><span class="p">:</span> <span class="m" style="color: #099;">163px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="419" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="417" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
417
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC417" class="line" lang="css"> <span class="nl">width</span><span class="p">:</span> <span class="m" style="color: #099;">99%</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="419" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="418" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
418
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC418" class="line" lang="css"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="419" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="419" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
419
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC419" class="line" lang="css"><span class="nf" style="color: #900; font-weight: 600;">#popupWindowContent</span> <span class="nt" style="color: #000080;">table</span><span class="nc" style="color: #458; font-weight: 600;">.mytable</span> <span class="nt" style="color: #000080;">tr</span> <span class="nt" style="color: #000080;">td</span><span class="nc" style="color: #458; font-weight: 600;">.tdfield</span> <span class="nt" style="color: #000080;">textarea</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="419" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="420" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
420
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC420" class="line" lang="css"> <span class="nl">height</span><span class="p">:</span> <span class="m" style="color: #099;">250px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="419" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
419
</td>
<td class="diff-line-num new_line" data-linenumber="421" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
421
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC421" class="line" lang="css"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="420" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
420
</td>
<td class="diff-line-num new_line" data-linenumber="422" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
422
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC422" class="line" lang="css"><span class="nf" style="color: #900; font-weight: 600;">#popupWindowContent</span> <span class="nt" style="color: #000080;">table</span><span class="nc" style="color: #458; font-weight: 600;">.mytable</span> <span class="nt" style="color: #000080;">tr</span> <span class="nt" style="color: #000080;">td</span><span class="nc" style="color: #458; font-weight: 600;">.tdfield</span> <span class="nt" style="color: #000080;">input</span><span class="o" style="font-weight: 600;">[</span><span class="nt" style="color: #000080;">type</span><span class="o" style="font-weight: 600;">=</span><span class="s1" style="color: #d14;">"checkbox"</span><span class="o" style="font-weight: 600;">]</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="421" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
421
</td>
<td class="diff-line-num new_line" data-linenumber="423" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
423
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC423" class="line" lang="css"> <span class="nl">width</span><span class="p">:</span> <span class="nb" style="color: #0086b3;">auto</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="765" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="767" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -765,6 +767,19 @@ div.statediv.sPENDING, div.statediv.sUNCHECKED {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="765" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
765
</td>
<td class="diff-line-num new_line" data-linenumber="767" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
767
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC767" class="line" lang="css"> <span class="nl">background-color</span><span class="p">:</span> <span class="m" style="color: #099;">#C0C0C0</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="766" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
766
</td>
<td class="diff-line-num new_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
768
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC768" class="line" lang="css"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="767" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
767
</td>
<td class="diff-line-num new_line" data-linenumber="769" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
769
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC769" class="line" lang="css"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="770" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
770
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC770" class="line" lang="css"><span class="nt" style="color: #000080;">div</span><span class="nc" style="color: #458; font-weight: 600;">.statediv.sACK</span><span class="nd">:not</span><span class="o" style="font-weight: 600;">(</span><span class="nc" style="color: #458; font-weight: 600;">.sDOWNTIME</span><span class="o" style="font-weight: 600;">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="771" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
771
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC771" class="line" lang="css"> <span class="nl">border-style</span><span class="p">:</span> <span class="nb" style="color: #0086b3;">dotted</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="772" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
772
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC772" class="line" lang="css"> <span class="nl">clip-path</span><span class="p">:</span> <span class="n" style="color: #333;">polygon</span><span class="p">(</span><span class="m" style="color: #099;">100%</span> <span class="m" style="color: #099;">0</span><span class="p">,</span> <span class="m" style="color: #099;">100%</span> <span class="m" style="color: #099;">100%</span><span class="p">,</span> <span class="m" style="color: #099;">50%</span> <span class="m" style="color: #099;">50%</span><span class="p">,</span> <span class="m" style="color: #099;">0</span> <span class="m" style="color: #099;">100%</span><span class="p">,</span> <span class="m" style="color: #099;">0</span> <span class="m" style="color: #099;">0</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="773" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
773
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC773" class="line" lang="css"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="774" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
774
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC774" class="line" lang="css"><span class="nt" style="color: #000080;">div</span><span class="nc" style="color: #458; font-weight: 600;">.statediv.sDOWNTIME</span><span class="nd">:not</span><span class="o" style="font-weight: 600;">(</span><span class="nc" style="color: #458; font-weight: 600;">.sACK</span><span class="o" style="font-weight: 600;">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="775" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
775
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC775" class="line" lang="css"> <span class="nl">border-style</span><span class="p">:</span> <span class="nb" style="color: #0086b3;">dotted</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="776" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
776
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC776" class="line" lang="css"> <span class="nl">clip-path</span><span class="p">:</span> <span class="n" style="color: #333;">polygon</span><span class="p">(</span><span class="m" style="color: #099;">100%</span> <span class="m" style="color: #099;">0</span><span class="p">,</span> <span class="m" style="color: #099;">100%</span> <span class="m" style="color: #099;">100%</span><span class="p">,</span> <span class="m" style="color: #099;">0</span> <span class="m" style="color: #099;">100%</span><span class="p">,</span> <span class="m" style="color: #099;">0</span> <span class="m" style="color: #099;">0</span><span class="p">,</span> <span class="m" style="color: #099;">50%</span> <span class="m" style="color: #099;">50%</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="777" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
777
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC777" class="line" lang="css"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="778" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
778
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC778" class="line" lang="css"><span class="nt" style="color: #000080;">div</span><span class="nc" style="color: #458; font-weight: 600;">.statediv.sACK.sDOWNTIME</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="779" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
779
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC779" class="line" lang="css"> <span class="nl">border-style</span><span class="p">:</span> <span class="nb" style="color: #0086b3;">dotted</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="780" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
780
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC780" class="line" lang="css"> <span class="nl">clip-path</span><span class="p">:</span> <span class="n" style="color: #333;">polygon</span><span class="p">(</span><span class="m" style="color: #099;">50%</span> <span class="m" style="color: #099;">50%</span><span class="p">,</span> <span class="m" style="color: #099;">100%</span> <span class="m" style="color: #099;">0</span><span class="p">,</span> <span class="m" style="color: #099;">100%</span> <span class="m" style="color: #099;">100%</span><span class="p">,</span> <span class="m" style="color: #099;">50%</span> <span class="m" style="color: #099;">50%</span><span class="p">,</span> <span class="m" style="color: #099;">0</span> <span class="m" style="color: #099;">100%</span><span class="p">,</span> <span class="m" style="color: #099;">0</span> <span class="m" style="color: #099;">0</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="781" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
781
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC781" class="line" lang="css"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="782" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
782
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC782" class="line" lang="css"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="768" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
768
</td>
<td class="diff-line-num new_line" data-linenumber="783" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
783
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC783" class="line" lang="css"><span class="c" style="color: #998; font-style: italic;">/*</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="769" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
769
</td>
<td class="diff-line-num new_line" data-linenumber="784" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
784
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC784" class="line" lang="css"><span class="c" style="color: #998; font-style: italic;"> * Frontend eventlog styling</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="770" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
770
</td>
<td class="diff-line-num new_line" data-linenumber="785" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
785
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC785" class="line" lang="css"><span class="c" style="color: #998; font-style: italic;"> */</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="774" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="789" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -774,17 +789,17 @@ div.statediv.sPENDING, div.statediv.sUNCHECKED {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="774" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
774
</td>
<td class="diff-line-num new_line" data-linenumber="789" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
789
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC789" class="line" lang="css"> <span class="nl">bottom</span><span class="p">:</span> <span class="m" style="color: #099;">0px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="775" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
775
</td>
<td class="diff-line-num new_line" data-linenumber="790" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
790
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC790" class="line" lang="css"> <span class="nl">right</span><span class="p">:</span> <span class="m" style="color: #099;">20px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="776" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
776
</td>
<td class="diff-line-num new_line" data-linenumber="791" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
791
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC791" class="line" lang="css"> <span class="nl">z-index</span><span class="p">:</span> <span class="m" style="color: #099;">1000</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="777" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
777
</td>
<td class="diff-line-num new_line old" data-linenumber="792" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC777" class="line" lang="css"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="778" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="792" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
792
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC792" class="line" lang="css"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="778" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
778
</td>
<td class="diff-line-num new_line" data-linenumber="793" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
793
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC793" class="line" lang="css"> <span class="nl">width</span><span class="p">:</span> <span class="m" style="color: #099;">400px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="779" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
779
</td>
<td class="diff-line-num new_line" data-linenumber="794" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
794
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC794" class="line" lang="css"> <span class="nl">height</span><span class="p">:</span> <span class="m" style="color: #099;">70px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="780" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
780
</td>
<td class="diff-line-num new_line old" data-linenumber="795" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC780" class="line" lang="css"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="781" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="795" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
795
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC795" class="line" lang="css"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="781" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
781
</td>
<td class="diff-line-num new_line" data-linenumber="796" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
796
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC796" class="line" lang="css"> <span class="nl">background-color</span><span class="p">:</span> <span class="m" style="color: #099;">#d0d0d0</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="782" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
782
</td>
<td class="diff-line-num new_line" data-linenumber="797" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
797
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC797" class="line" lang="css"> <span class="nl">border</span><span class="p">:</span> <span class="m" style="color: #099;">1px</span> <span class="nb" style="color: #0086b3;">solid</span> <span class="m" style="color: #099;">#000000</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="783" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
783
</td>
<td class="diff-line-num new_line" data-linenumber="798" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
798
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC798" class="line" lang="css"> <span class="nl">border-bottom</span><span class="p">:</span> <span class="m" style="color: #099;">0</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="784" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
784
</td>
<td class="diff-line-num new_line old" data-linenumber="799" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC784" class="line" lang="css"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="785" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="799" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
799
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC799" class="line" lang="css"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="785" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
785
</td>
<td class="diff-line-num new_line" data-linenumber="800" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
800
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC800" class="line" lang="css"> <span class="nl">opacity</span><span class="p">:</span><span class="m" style="color: #099;">0.4</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="786" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
786
</td>
<td class="diff-line-num new_line" data-linenumber="801" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
801
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC801" class="line" lang="css"> <span class="c" style="color: #998; font-style: italic;">/*filter:alpha(opacity=40);*/</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="787" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
787
</td>
<td class="diff-line-num new_line old" data-linenumber="802" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC787" class="line" lang="css"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="788" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="802" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
802
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC802" class="line" lang="css"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="788" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
788
</td>
<td class="diff-line-num new_line" data-linenumber="803" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
803
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC803" class="line" lang="css"> <span class="nl">padding</span><span class="p">:</span> <span class="m" style="color: #099;">2px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="789" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
789
</td>
<td class="diff-line-num new_line" data-linenumber="804" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
804
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC804" class="line" lang="css"> <span class="nl">font-size</span><span class="p">:</span> <span class="m" style="color: #099;">0.8em</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="790" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
790
</td>
<td class="diff-line-num new_line" data-linenumber="805" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
805
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC805" class="line" lang="css"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="794" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="809" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -794,19 +809,19 @@ div.statediv.sPENDING, div.statediv.sUNCHECKED {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="794" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
794
</td>
<td class="diff-line-num new_line" data-linenumber="809" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
809
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC809" class="line" lang="css"> <span class="nl">bottom</span><span class="p">:</span> <span class="m" style="color: #099;">75px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="795" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
795
</td>
<td class="diff-line-num new_line" data-linenumber="810" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
810
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC810" class="line" lang="css"> <span class="nl">right</span><span class="p">:</span> <span class="m" style="color: #099;">20px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="796" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
796
</td>
<td class="diff-line-num new_line" data-linenumber="811" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
811
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC811" class="line" lang="css"> <span class="nl">z-index</span><span class="p">:</span> <span class="m" style="color: #099;">1001</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="797" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
797
</td>
<td class="diff-line-num new_line old" data-linenumber="812" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC797" class="line" lang="css"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="798" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="812" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
812
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC812" class="line" lang="css"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="798" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
798
</td>
<td class="diff-line-num new_line" data-linenumber="813" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
813
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC813" class="line" lang="css"> <span class="nl">width</span><span class="p">:</span> <span class="m" style="color: #099;">10px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="799" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
799
</td>
<td class="diff-line-num new_line" data-linenumber="814" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
814
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC814" class="line" lang="css"> <span class="nl">height</span><span class="p">:</span> <span class="m" style="color: #099;">10px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="800" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
800
</td>
<td class="diff-line-num new_line old" data-linenumber="815" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC800" class="line" lang="css"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="801" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="815" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
815
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC815" class="line" lang="css"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="801" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
801
</td>
<td class="diff-line-num new_line" data-linenumber="816" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
816
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC816" class="line" lang="css"> <span class="nl">background-color</span><span class="p">:</span> <span class="m" style="color: #099;">#d0d0d0</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="802" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
802
</td>
<td class="diff-line-num new_line" data-linenumber="817" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
817
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC817" class="line" lang="css"> <span class="nl">border</span><span class="p">:</span> <span class="m" style="color: #099;">1px</span> <span class="nb" style="color: #0086b3;">solid</span> <span class="m" style="color: #099;">#000000</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="803" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
803
</td>
<td class="diff-line-num new_line" data-linenumber="818" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
818
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC818" class="line" lang="css"> <span class="nl">border-bottom</span><span class="p">:</span> <span class="m" style="color: #099;">0</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="804" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
804
</td>
<td class="diff-line-num new_line old" data-linenumber="819" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC804" class="line" lang="css"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="805" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="819" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
819
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC819" class="line" lang="css"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="805" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
805
</td>
<td class="diff-line-num new_line" data-linenumber="820" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
820
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC820" class="line" lang="css"> <span class="nl">opacity</span><span class="p">:</span><span class="m" style="color: #099;">0.4</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="806" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
806
</td>
<td class="diff-line-num new_line" data-linenumber="821" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
821
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC821" class="line" lang="css"> <span class="c" style="color: #998; font-style: italic;">/*filter:alpha(opacity=40);*/</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="807" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
807
</td>
<td class="diff-line-num new_line old" data-linenumber="822" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC807" class="line" lang="css"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="808" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="822" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
822
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC822" class="line" lang="css"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="808" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
808
</td>
<td class="diff-line-num new_line" data-linenumber="823" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
823
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC823" class="line" lang="css"> <span class="nl">padding</span><span class="p">:</span> <span class="m" style="color: #099;">2px</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="809" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
809
</td>
<td class="diff-line-num new_line old" data-linenumber="824" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC809" class="line" lang="css"><span class="idiff left right"> </span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="810" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="824" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
824
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC824" class="line" lang="css"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="810" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
810
</td>
<td class="diff-line-num new_line" data-linenumber="825" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
825
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC825" class="line" lang="css"> <span class="nl">font-size</span><span class="p">:</span> <span class="m" style="color: #099;">0.8em</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="811" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
811
</td>
<td class="diff-line-num new_line" data-linenumber="826" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
826
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC826" class="line" lang="css"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="812" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
812
</td>
<td class="diff-line-num new_line" data-linenumber="827" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
827
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC827" class="line" lang="css"></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="19317ed8859b28f9e8e5aef733c692998e50711f">
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15#19317ed8859b28f9e8e5aef733c692998e50711f"><strong>share/userfiles/templates/default.header.js</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="103" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="103" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -103,6 +103,12 @@ function headerUpdateState(map_conf) {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="103" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
103
</td>
<td class="diff-line-num new_line" data-linenumber="103" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
103
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC103" class="line" lang="javascript"> <span class="kd" style="font-weight: 600;">var</span> <span class="nx">side</span> <span class="o" style="font-weight: 600;">=</span> <span class="nb" style="color: #0086b3;">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="dl">'</span><span class="s1" style="color: #d14;">side-state-</span><span class="dl">'</span> <span class="o" style="font-weight: 600;">+</span> <span class="nx">map</span><span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">name</span><span class="dl">'</span><span class="p">]);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="104" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
104
</td>
<td class="diff-line-num new_line" data-linenumber="104" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
104
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC104" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">side</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="105" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
105
</td>
<td class="diff-line-num new_line" data-linenumber="105" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
105
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC105" class="line" lang="javascript"> <span class="nx">side</span><span class="p">.</span><span class="nx">className</span> <span class="o" style="font-weight: 600;">=</span> <span class="dl">'</span><span class="s1" style="color: #d14;">statediv s</span><span class="dl">'</span> <span class="o" style="font-weight: 600;">+</span> <span class="nx">map</span><span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">summary_state</span><span class="dl">'</span><span class="p">];</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="106" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="106" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
106
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC106" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">map</span><span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">summary_problem_has_been_acknowledged</span><span class="dl">'</span><span class="p">]</span> <span class="o" style="font-weight: 600;">==</span> <span class="mi" style="color: #099;">1</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="106" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="107" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
107
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC107" class="line" lang="javascript"> <span class="nx">side</span><span class="p">.</span><span class="nx">className</span> <span class="o" style="font-weight: 600;">+=</span> <span class="dl">'</span><span class="s1" style="color: #d14;"> sACK</span><span class="dl">'</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="106" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="108" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
108
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC108" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="106" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="109" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
109
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC109" class="line" lang="javascript"> <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="nx">map</span><span class="p">[</span><span class="dl">'</span><span class="s1" style="color: #d14;">summary_in_downtime</span><span class="dl">'</span><span class="p">]</span> <span class="o" style="font-weight: 600;">==</span> <span class="mi" style="color: #099;">1</span><span class="p">)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="106" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="110" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
110
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC110" class="line" lang="javascript"> <span class="nx">side</span><span class="p">.</span><span class="nx">className</span> <span class="o" style="font-weight: 600;">+=</span> <span class="dl">'</span><span class="s1" style="color: #d14;"> sDOWNTIME</span><span class="dl">'</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="106" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="111" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
111
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC111" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="106" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
106
</td>
<td class="diff-line-num new_line" data-linenumber="112" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
112
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC112" class="line" lang="javascript"> <span class="nx">side</span> <span class="o" style="font-weight: 600;">=</span> <span class="kc" style="font-weight: 600;">null</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="107" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
107
</td>
<td class="diff-line-num new_line" data-linenumber="113" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
113
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC113" class="line" lang="javascript"> <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="108" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
108
</td>
<td class="diff-line-num new_line" data-linenumber="114" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
114
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC114" class="line" lang="javascript"></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
<a href="https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/1f5b4d453e236c8daa3ebc2caba60b7fd0bd782a...2cd7620b92fd0b2c09aca491b2e90e77b7d2dc15">View it on GitLab</a>.
<br>
You're receiving this email because of your account on salsa.debian.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
</p>
</div>
</body>
</html>