From afa87af01c79a9baa539f2992d32154d2a4739bd Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sat, 14 Feb 2026 14:46:37 -0800 Subject: task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq --- vanilla/coverage/app.js.html | 856 --------------------------------- vanilla/coverage/base.css | 224 --------- vanilla/coverage/block-navigation.js | 87 ---- vanilla/coverage/clover.xml | 159 ------ vanilla/coverage/coverage-final.json | 2 - vanilla/coverage/favicon.png | Bin 445 -> 0 bytes vanilla/coverage/index.html | 116 ----- vanilla/coverage/prettify.css | 1 - vanilla/coverage/prettify.js | 2 - vanilla/coverage/sort-arrow-sprite.png | Bin 138 -> 0 bytes vanilla/coverage/sorter.js | 210 -------- 11 files changed, 1657 deletions(-) delete mode 100644 vanilla/coverage/app.js.html delete mode 100644 vanilla/coverage/base.css delete mode 100644 vanilla/coverage/block-navigation.js delete mode 100644 vanilla/coverage/clover.xml delete mode 100644 vanilla/coverage/coverage-final.json delete mode 100644 vanilla/coverage/favicon.png delete mode 100644 vanilla/coverage/index.html delete mode 100644 vanilla/coverage/prettify.css delete mode 100644 vanilla/coverage/prettify.js delete mode 100644 vanilla/coverage/sort-arrow-sprite.png delete mode 100644 vanilla/coverage/sorter.js (limited to 'vanilla/coverage') diff --git a/vanilla/coverage/app.js.html b/vanilla/coverage/app.js.html deleted file mode 100644 index 954ba71..0000000 --- a/vanilla/coverage/app.js.html +++ /dev/null @@ -1,856 +0,0 @@ - - - - - - Code coverage report for app.js - - - - - - - - - -
-
-

All files app.js

-
- -
- 84.91% - Statements - 152/179 -
- - -
- 65.26% - Branches - 62/95 -
- - -
- 69.23% - Functions - 18/26 -
- - -
- 88.66% - Lines - 133/150 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -193 -194 -195 -196 -197 -198 -199 -200 -201 -202 -203 -204 -205 -206 -207 -208 -209 -210 -211 -212 -213 -214 -215 -216 -217 -218 -219 -220 -221 -222 -223 -224 -225 -226 -227 -228 -229 -230 -231 -232 -233 -234 -235 -236 -237 -238 -239 -240 -241 -242 -243 -244 -245 -246 -247 -248 -249 -250 -251 -252 -253 -254 -255 -256 -257 -2581x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -5x -5x -4x -4x -4x -4x -  -1x -1x -1x -1x -  -  -  -  -11x -11x -  -11x -11x -11x -11x -11x -11x -  -11x -5x -  -  -11x -11x -10x -10x -10x -10x -  -1x -1x -1x -  -  -  -  -5x -5x -  -  -5x -5x -5x -  -5x -5x -5x -5x -5x -1x -1x -1x -1x -  -5x -  -5x -5x -5x -5x -5x -1x -1x -1x -1x -  -5x -  -5x -5x -5x -5x -5x -1x -1x -1x -1x -  -5x -  -5x -5x -3x -3x -3x -3x -3x -5x -1x -1x -1x -1x -  -3x -  -  -  -  -  -12x -12x -12x -  -12x -10x -10x -  -  -2x -2x -2x -  -2x -  -2x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -2x -2x -  -2x -2x -  -2x -  -  -  -  -1x -1x -1x -  -  -  -  -1x -  -  -1x -1x -1x -  -  -1x -  -1x -  -  -  -  -  -  -  -  -1x -1x -1x -  -  -  -  -1x -  -  -1x -1x -1x -1x -  -  -1x -  -  -1x -1x -1x -1x -1x -1x -  -  -  -  -  -  -1x -  -  -  -  -  -  -  -  -4x -  -4x -3x -3x -  -3x -3x -3x -2x -2x -2x -1x -1x -1x -1x -  -  -  -  -  -  -  - 
document.addEventListener('DOMContentLoaded', () => {
-    fetchFeeds();
-    fetchItems(); // Default to fetching recent items
- 
-    const searchInput = document.getElementById('search-input');
-    searchInput.addEventListener('keypress', (e) => {
-        if (e.key === 'Enter') {
-            const query = searchInput.value.trim();
-            if (query) {
-                document.getElementById('feed-title').textContent = `Search: ${query}`;
-                document.querySelectorAll('.feed-item').forEach(el => el.classList.remove('active'));
-                fetchItems(null, null, query);
-            }
-        }
-    });
-});
- 
-export async function fetchFeeds(apiBase = '') {
-    try {
-        const response = await fetch(`${apiBase}/api/feed/`);
-        Iif (!response.ok) throw new Error('Failed to fetch feeds');
-        const feeds = await response.json();
-        renderFeeds(feeds);
-        return feeds;
-    } catch (err) {
-        console.error(err);
-        const nav = document.getElementById('feeds-nav');
-        Eif (nav) nav.innerHTML = '<div class="error">Error loading feeds</div>';
-        throw err;
-    }
-}
- 
-export async function fetchItems(feedId = null, filter = null, query = null, apiBase = '') {
-    const listEl = document.getElementById('entries-list');
-    Eif (listEl) listEl.innerHTML = '<div class="loading">Loading items...</div>';
- 
-    let url = `${apiBase}/api/stream/`;
-    const params = new URLSearchParams();
-    if (feedId) params.append('feed_id', feedId);
-    if (filter === 'unread') params.append('read_filter', 'unread');
-    if (filter === 'starred') params.append('starred', 'true');
-    if (query) params.append('q', query);
- 
-    if ([...params].length > 0) {
-        url += '?' + params.toString();
-    }
- 
-    try {
-        const response = await fetch(url);
-        Iif (!response.ok) throw new Error('Failed to fetch items');
-        const items = await response.json();
-        renderItems(items);
-        return items;
-    } catch (err) {
-        console.error(err);
-        Eif (listEl) listEl.innerHTML = '<div class="error">Error loading items</div>';
-        throw err;
-    }
-}
- 
-export function renderFeeds(feeds) {
-    const nav = document.getElementById('feeds-nav');
-    Iif (!nav) return;
- 
-    // Clear existing items but keep search container if present
-    const searchContainer = nav.querySelector('.search-container');
-    nav.innerHTML = '';
-    Eif (searchContainer) nav.appendChild(searchContainer);
- 
-    const allLink = document.createElement('div');
-    allLink.className = 'feed-item';
-    allLink.textContent = 'All Items';
-    allLink.onclick = () => {
-        document.querySelectorAll('.feed-item').forEach(el => el.classList.remove('active'));
-        allLink.classList.add('active');
-        const title = document.getElementById('feed-title');
-        Eif (title) title.textContent = 'All Items';
-        fetchItems();
-    };
-    nav.appendChild(allLink);
- 
-    const unreadLink = document.createElement('div');
-    unreadLink.className = 'feed-item';
-    unreadLink.textContent = 'Unread Items';
-    unreadLink.onclick = () => {
-        document.querySelectorAll('.feed-item').forEach(el => el.classList.remove('active'));
-        unreadLink.classList.add('active');
-        const title = document.getElementById('feed-title');
-        Eif (title) title.textContent = 'Unread Items';
-        fetchItems(null, 'unread');
-    };
-    nav.appendChild(unreadLink);
- 
-    const starredLink = document.createElement('div');
-    starredLink.className = 'feed-item';
-    starredLink.textContent = 'Starred Items';
-    starredLink.onclick = () => {
-        document.querySelectorAll('.feed-item').forEach(el => el.classList.remove('active'));
-        starredLink.classList.add('active');
-        const title = document.getElementById('feed-title');
-        Eif (title) title.textContent = 'Starred Items';
-        fetchItems(null, 'starred');
-    };
-    nav.appendChild(starredLink);
- 
-    Eif (Array.isArray(feeds)) {
-        feeds.forEach(feed => {
-            const div = document.createElement('div');
-            div.className = 'feed-item';
-            div.textContent = feed.title || feed.url;
-            div.title = feed.url;
-            div.onclick = () => {
-                document.querySelectorAll('.feed-item').forEach(el => el.classList.remove('active'));
-                div.classList.add('active');
-                const title = document.getElementById('feed-title');
-                Eif (title) title.textContent = feed.title;
-                fetchItems(feed.id);
-            };
-            nav.appendChild(div);
-        });
-    }
-}
- 
-export function renderItems(items) {
-    const list = document.getElementById('entries-list');
-    Iif (!list) return;
-    list.innerHTML = '';
- 
-    if (!items || items.length === 0) {
-        list.innerHTML = '<div class="empty">No items found.</div>';
-        return;
-    }
- 
-    items.forEach(item => {
-        const article = document.createElement('article');
-        article.className = 'entry';
- 
-        const date = new Date(item.published_at || item.created_at).toLocaleString();
- 
-        article.innerHTML = `
-            <header class="entry-header">
-                <div class="entry-controls">
-                    <button class="btn-star ${item.starred ? 'active' : ''}" data-id="${item.id}" data-starred="${item.starred}">${item.starred ? '★' : '☆'}</button>
-                    <button class="btn-read ${item.read ? 'read' : 'unread'}" data-id="${item.id}" data-read="${item.read}">${item.read ? 'Mark Unread' : 'Mark Read'}</button>
-                </div>
-                <a href="${item.url}" class="entry-title ${item.read ? 'read' : ''}" target="_blank">${item.title}</a>
-                <div class="entry-meta">
-                    ${item.feed ? `<span class="feed-name">${item.feed.title}</span> • ` : ''}
-                    <span class="date">${date}</span>
-                </div>
-            </header>
-            <div class="entry-content">
-                ${item.description || ''}
-            </div>
-        `;
- 
-        // Add event listeners programmatically to avoid inline onclick with modules
-        const starBtn = article.querySelector('.btn-star');
-        starBtn.onclick = () => toggleStar(item.id, item.starred, starBtn);
- 
-        const readBtn = article.querySelector('.btn-read');
-        readBtn.onclick = () => toggleRead(item.id, item.read, readBtn);
- 
-        list.appendChild(article);
-    });
-}
- 
-export async function toggleStar(id, currentStatus, btn, apiBase = '') {
-    const newStatus = !currentStatus;
-    try {
-        const response = await fetch(`${apiBase}/api/item/${id}`, {
-            method: 'PUT',
-            headers: { 'Content-Type': 'application/json' },
-            body: JSON.stringify({ id: id, starred: newStatus })
-        });
-        Iif (!response.ok) throw new Error('Failed to toggle star');
- 
-        // Update UI
-        btn.textContent = newStatus ? '★' : '☆';
-        btn.classList.toggle('active');
-        btn.onclick = () => toggleStar(id, newStatus, btn, apiBase);
- 
-        // Update data attributes
-        btn.dataset.starred = newStatus;
- 
-        return newStatus;
-    } catch (err) {
-        console.error(err);
-        alert('Error toggling star');
-        throw err;
-    }
-}
- 
-export async function toggleRead(id, currentStatus, btn, apiBase = '') {
-    const newStatus = !currentStatus;
-    try {
-        const response = await fetch(`${apiBase}/api/item/${id}`, {
-            method: 'PUT',
-            headers: { 'Content-Type': 'application/json' },
-            body: JSON.stringify({ id: id, read: newStatus })
-        });
-        Iif (!response.ok) throw new Error('Failed to toggle read');
- 
-        // Update UI
-        btn.textContent = newStatus ? 'Mark Unread' : 'Mark Read';
-        btn.classList.toggle('read');
-        btn.classList.toggle('unread');
-        btn.onclick = () => toggleRead(id, newStatus, btn, apiBase);
- 
-        // Update data attributes
-        btn.dataset.read = newStatus;
- 
-        // Find title and dim it if read
-        const header = btn.closest('.entry-header');
-        Eif (header) {
-            const title = header.querySelector('.entry-title');
-            Eif (title) {
-                if (newStatus) {
-                    title.classList.add('read');
-                } else E{
-                    title.classList.remove('read');
-                }
-            }
-        }
- 
-        return newStatus;
-    } catch (err) {
-        console.error(err);
-        alert('Error toggling read status');
-        throw err;
-    }
-}
- 
-export function init() {
-    Eif (typeof document !== 'undefined') {
-        // Only run if we're in a browser environment with these elements
-        if (document.getElementById('feeds-nav')) {
-            fetchFeeds();
-            fetchItems();
- 
-            const searchInput = document.getElementById('search-input');
-            Eif (searchInput) {
-                searchInput.addEventListener('keypress', (e) => {
-                    Eif (e.key === 'Enter') {
-                        const query = searchInput.value.trim();
-                        if (query) {
-                            const title = document.getElementById('feed-title');
-                            Eif (title) title.textContent = `Search: ${query}`;
-                            document.querySelectorAll('.feed-item').forEach(el => el.classList.remove('active'));
-                            fetchItems(null, null, query);
-                        }
-                    }
-                });
-            }
-        }
-    }
-}
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/vanilla/coverage/base.css b/vanilla/coverage/base.css deleted file mode 100644 index f418035..0000000 --- a/vanilla/coverage/base.css +++ /dev/null @@ -1,224 +0,0 @@ -body, html { - margin:0; padding: 0; - height: 100%; -} -body { - font-family: Helvetica Neue, Helvetica, Arial; - font-size: 14px; - color:#333; -} -.small { font-size: 12px; } -*, *:after, *:before { - -webkit-box-sizing:border-box; - -moz-box-sizing:border-box; - box-sizing:border-box; - } -h1 { font-size: 20px; margin: 0;} -h2 { font-size: 14px; } -pre { - font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace; - margin: 0; - padding: 0; - -moz-tab-size: 2; - -o-tab-size: 2; - tab-size: 2; -} -a { color:#0074D9; text-decoration:none; } -a:hover { text-decoration:underline; } -.strong { font-weight: bold; } -.space-top1 { padding: 10px 0 0 0; } -.pad2y { padding: 20px 0; } -.pad1y { padding: 10px 0; } -.pad2x { padding: 0 20px; } -.pad2 { padding: 20px; } -.pad1 { padding: 10px; } -.space-left2 { padding-left:55px; } -.space-right2 { padding-right:20px; } -.center { text-align:center; } -.clearfix { display:block; } -.clearfix:after { - content:''; - display:block; - height:0; - clear:both; - visibility:hidden; - } -.fl { float: left; } -@media only screen and (max-width:640px) { - .col3 { width:100%; max-width:100%; } - .hide-mobile { display:none!important; } -} - -.quiet { - color: #7f7f7f; - color: rgba(0,0,0,0.5); -} -.quiet a { opacity: 0.7; } - -.fraction { - font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; - font-size: 10px; - color: #555; - background: #E8E8E8; - padding: 4px 5px; - border-radius: 3px; - vertical-align: middle; -} - -div.path a:link, div.path a:visited { color: #333; } -table.coverage { - border-collapse: collapse; - margin: 10px 0 0 0; - padding: 0; -} - -table.coverage td { - margin: 0; - padding: 0; - vertical-align: top; -} -table.coverage td.line-count { - text-align: right; - padding: 0 5px 0 20px; -} -table.coverage td.line-coverage { - text-align: right; - padding-right: 10px; - min-width:20px; -} - -table.coverage td span.cline-any { - display: inline-block; - padding: 0 5px; - width: 100%; -} -.missing-if-branch { - display: inline-block; - margin-right: 5px; - border-radius: 3px; - position: relative; - padding: 0 4px; - background: #333; - color: yellow; -} - -.skip-if-branch { - display: none; - margin-right: 10px; - position: relative; - padding: 0 4px; - background: #ccc; - color: white; -} -.missing-if-branch .typ, .skip-if-branch .typ { - color: inherit !important; -} -.coverage-summary { - border-collapse: collapse; - width: 100%; -} -.coverage-summary tr { border-bottom: 1px solid #bbb; } -.keyline-all { border: 1px solid #ddd; } -.coverage-summary td, .coverage-summary th { padding: 10px; } -.coverage-summary tbody { border: 1px solid #bbb; } -.coverage-summary td { border-right: 1px solid #bbb; } -.coverage-summary td:last-child { border-right: none; } -.coverage-summary th { - text-align: left; - font-weight: normal; - white-space: nowrap; -} -.coverage-summary th.file { border-right: none !important; } -.coverage-summary th.pct { } -.coverage-summary th.pic, -.coverage-summary th.abs, -.coverage-summary td.pct, -.coverage-summary td.abs { text-align: right; } -.coverage-summary td.file { white-space: nowrap; } -.coverage-summary td.pic { min-width: 120px !important; } -.coverage-summary tfoot td { } - -.coverage-summary .sorter { - height: 10px; - width: 7px; - display: inline-block; - margin-left: 0.5em; - background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent; -} -.coverage-summary .sorted .sorter { - background-position: 0 -20px; -} -.coverage-summary .sorted-desc .sorter { - background-position: 0 -10px; -} -.status-line { height: 10px; } -/* yellow */ -.cbranch-no { background: yellow !important; color: #111; } -/* dark red */ -.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 } -.low .chart { border:1px solid #C21F39 } -.highlighted, -.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{ - background: #C21F39 !important; -} -/* medium red */ -.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE } -/* light red */ -.low, .cline-no { background:#FCE1E5 } -/* light green */ -.high, .cline-yes { background:rgb(230,245,208) } -/* medium green */ -.cstat-yes { background:rgb(161,215,106) } -/* dark green */ -.status-line.high, .high .cover-fill { background:rgb(77,146,33) } -.high .chart { border:1px solid rgb(77,146,33) } -/* dark yellow (gold) */ -.status-line.medium, .medium .cover-fill { background: #f9cd0b; } -.medium .chart { border:1px solid #f9cd0b; } -/* light yellow */ -.medium { background: #fff4c2; } - -.cstat-skip { background: #ddd; color: #111; } -.fstat-skip { background: #ddd; color: #111 !important; } -.cbranch-skip { background: #ddd !important; color: #111; } - -span.cline-neutral { background: #eaeaea; } - -.coverage-summary td.empty { - opacity: .5; - padding-top: 4px; - padding-bottom: 4px; - line-height: 1; - color: #888; -} - -.cover-fill, .cover-empty { - display:inline-block; - height: 12px; -} -.chart { - line-height: 0; -} -.cover-empty { - background: white; -} -.cover-full { - border-right: none !important; -} -pre.prettyprint { - border: none !important; - padding: 0 !important; - margin: 0 !important; -} -.com { color: #999 !important; } -.ignore-none { color: #999; font-weight: normal; } - -.wrapper { - min-height: 100%; - height: auto !important; - height: 100%; - margin: 0 auto -48px; -} -.footer, .push { - height: 48px; -} diff --git a/vanilla/coverage/block-navigation.js b/vanilla/coverage/block-navigation.js deleted file mode 100644 index 530d1ed..0000000 --- a/vanilla/coverage/block-navigation.js +++ /dev/null @@ -1,87 +0,0 @@ -/* eslint-disable */ -var jumpToCode = (function init() { - // Classes of code we would like to highlight in the file view - var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no']; - - // Elements to highlight in the file listing view - var fileListingElements = ['td.pct.low']; - - // We don't want to select elements that are direct descendants of another match - var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > ` - - // Selector that finds elements on the page to which we can jump - var selector = - fileListingElements.join(', ') + - ', ' + - notSelector + - missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b` - - // The NodeList of matching elements - var missingCoverageElements = document.querySelectorAll(selector); - - var currentIndex; - - function toggleClass(index) { - missingCoverageElements - .item(currentIndex) - .classList.remove('highlighted'); - missingCoverageElements.item(index).classList.add('highlighted'); - } - - function makeCurrent(index) { - toggleClass(index); - currentIndex = index; - missingCoverageElements.item(index).scrollIntoView({ - behavior: 'smooth', - block: 'center', - inline: 'center' - }); - } - - function goToPrevious() { - var nextIndex = 0; - if (typeof currentIndex !== 'number' || currentIndex === 0) { - nextIndex = missingCoverageElements.length - 1; - } else if (missingCoverageElements.length > 1) { - nextIndex = currentIndex - 1; - } - - makeCurrent(nextIndex); - } - - function goToNext() { - var nextIndex = 0; - - if ( - typeof currentIndex === 'number' && - currentIndex < missingCoverageElements.length - 1 - ) { - nextIndex = currentIndex + 1; - } - - makeCurrent(nextIndex); - } - - return function jump(event) { - if ( - document.getElementById('fileSearch') === document.activeElement && - document.activeElement != null - ) { - // if we're currently focused on the search input, we don't want to navigate - return; - } - - switch (event.which) { - case 78: // n - case 74: // j - goToNext(); - break; - case 66: // b - case 75: // k - case 80: // p - goToPrevious(); - break; - } - }; -})(); -window.addEventListener('keydown', jumpToCode); diff --git a/vanilla/coverage/clover.xml b/vanilla/coverage/clover.xml deleted file mode 100644 index 65df875..0000000 --- a/vanilla/coverage/clover.xml +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vanilla/coverage/coverage-final.json b/vanilla/coverage/coverage-final.json deleted file mode 100644 index f10f63b..0000000 --- a/vanilla/coverage/coverage-final.json +++ /dev/null @@ -1,2 +0,0 @@ -{"/Users/adam/workspace/vibecode/neko/vanilla/app.js": {"path":"/Users/adam/workspace/vibecode/neko/vanilla/app.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":16,"column":null}},"1":{"start":{"line":2,"column":4},"end":{"line":2,"column":null}},"2":{"start":{"line":3,"column":4},"end":{"line":3,"column":17}},"3":{"start":{"line":5,"column":24},"end":{"line":5,"column":63}},"4":{"start":{"line":6,"column":4},"end":{"line":15,"column":null}},"5":{"start":{"line":7,"column":8},"end":{"line":14,"column":null}},"6":{"start":{"line":8,"column":26},"end":{"line":8,"column":50}},"7":{"start":{"line":9,"column":12},"end":{"line":13,"column":null}},"8":{"start":{"line":10,"column":16},"end":{"line":10,"column":null}},"9":{"start":{"line":11,"column":16},"end":{"line":11,"column":null}},"10":{"start":{"line":11,"column":70},"end":{"line":11,"column":99}},"11":{"start":{"line":12,"column":16},"end":{"line":12,"column":null}},"12":{"start":{"line":19,"column":4},"end":{"line":30,"column":null}},"13":{"start":{"line":20,"column":25},"end":{"line":20,"column":60}},"14":{"start":{"line":21,"column":8},"end":{"line":21,"column":null}},"15":{"start":{"line":21,"column":26},"end":{"line":21,"column":null}},"16":{"start":{"line":22,"column":22},"end":{"line":22,"column":43}},"17":{"start":{"line":23,"column":8},"end":{"line":23,"column":null}},"18":{"start":{"line":24,"column":8},"end":{"line":24,"column":null}},"19":{"start":{"line":26,"column":8},"end":{"line":26,"column":null}},"20":{"start":{"line":27,"column":20},"end":{"line":27,"column":56}},"21":{"start":{"line":28,"column":8},"end":{"line":28,"column":null}},"22":{"start":{"line":28,"column":17},"end":{"line":28,"column":null}},"23":{"start":{"line":29,"column":8},"end":{"line":29,"column":null}},"24":{"start":{"line":34,"column":19},"end":{"line":34,"column":58}},"25":{"start":{"line":35,"column":4},"end":{"line":35,"column":null}},"26":{"start":{"line":35,"column":16},"end":{"line":35,"column":null}},"27":{"start":{"line":37,"column":14},"end":{"line":37,"column":38}},"28":{"start":{"line":38,"column":19},"end":{"line":38,"column":40}},"29":{"start":{"line":39,"column":4},"end":{"line":39,"column":null}},"30":{"start":{"line":39,"column":16},"end":{"line":39,"column":null}},"31":{"start":{"line":40,"column":4},"end":{"line":40,"column":null}},"32":{"start":{"line":40,"column":29},"end":{"line":40,"column":null}},"33":{"start":{"line":41,"column":4},"end":{"line":41,"column":null}},"34":{"start":{"line":41,"column":30},"end":{"line":41,"column":null}},"35":{"start":{"line":42,"column":4},"end":{"line":42,"column":null}},"36":{"start":{"line":42,"column":15},"end":{"line":42,"column":null}},"37":{"start":{"line":44,"column":4},"end":{"line":46,"column":null}},"38":{"start":{"line":45,"column":8},"end":{"line":45,"column":null}},"39":{"start":{"line":48,"column":4},"end":{"line":58,"column":null}},"40":{"start":{"line":49,"column":25},"end":{"line":49,"column":41}},"41":{"start":{"line":50,"column":8},"end":{"line":50,"column":null}},"42":{"start":{"line":50,"column":26},"end":{"line":50,"column":null}},"43":{"start":{"line":51,"column":22},"end":{"line":51,"column":43}},"44":{"start":{"line":52,"column":8},"end":{"line":52,"column":null}},"45":{"start":{"line":53,"column":8},"end":{"line":53,"column":null}},"46":{"start":{"line":55,"column":8},"end":{"line":55,"column":null}},"47":{"start":{"line":56,"column":8},"end":{"line":56,"column":null}},"48":{"start":{"line":56,"column":20},"end":{"line":56,"column":null}},"49":{"start":{"line":57,"column":8},"end":{"line":57,"column":null}},"50":{"start":{"line":62,"column":16},"end":{"line":62,"column":52}},"51":{"start":{"line":63,"column":4},"end":{"line":63,"column":null}},"52":{"start":{"line":63,"column":14},"end":{"line":63,"column":null}},"53":{"start":{"line":66,"column":28},"end":{"line":66,"column":66}},"54":{"start":{"line":67,"column":4},"end":{"line":67,"column":null}},"55":{"start":{"line":68,"column":4},"end":{"line":68,"column":null}},"56":{"start":{"line":68,"column":25},"end":{"line":68,"column":null}},"57":{"start":{"line":70,"column":20},"end":{"line":70,"column":49}},"58":{"start":{"line":71,"column":4},"end":{"line":71,"column":null}},"59":{"start":{"line":72,"column":4},"end":{"line":72,"column":null}},"60":{"start":{"line":73,"column":4},"end":{"line":79,"column":null}},"61":{"start":{"line":74,"column":8},"end":{"line":74,"column":null}},"62":{"start":{"line":74,"column":62},"end":{"line":74,"column":91}},"63":{"start":{"line":75,"column":8},"end":{"line":75,"column":null}},"64":{"start":{"line":76,"column":22},"end":{"line":76,"column":59}},"65":{"start":{"line":77,"column":8},"end":{"line":77,"column":null}},"66":{"start":{"line":77,"column":19},"end":{"line":77,"column":null}},"67":{"start":{"line":78,"column":8},"end":{"line":78,"column":null}},"68":{"start":{"line":80,"column":4},"end":{"line":80,"column":null}},"69":{"start":{"line":82,"column":23},"end":{"line":82,"column":52}},"70":{"start":{"line":83,"column":4},"end":{"line":83,"column":null}},"71":{"start":{"line":84,"column":4},"end":{"line":84,"column":null}},"72":{"start":{"line":85,"column":4},"end":{"line":91,"column":null}},"73":{"start":{"line":86,"column":8},"end":{"line":86,"column":null}},"74":{"start":{"line":86,"column":62},"end":{"line":86,"column":91}},"75":{"start":{"line":87,"column":8},"end":{"line":87,"column":null}},"76":{"start":{"line":88,"column":22},"end":{"line":88,"column":59}},"77":{"start":{"line":89,"column":8},"end":{"line":89,"column":null}},"78":{"start":{"line":89,"column":19},"end":{"line":89,"column":null}},"79":{"start":{"line":90,"column":8},"end":{"line":90,"column":null}},"80":{"start":{"line":92,"column":4},"end":{"line":92,"column":null}},"81":{"start":{"line":94,"column":24},"end":{"line":94,"column":53}},"82":{"start":{"line":95,"column":4},"end":{"line":95,"column":null}},"83":{"start":{"line":96,"column":4},"end":{"line":96,"column":null}},"84":{"start":{"line":97,"column":4},"end":{"line":103,"column":null}},"85":{"start":{"line":98,"column":8},"end":{"line":98,"column":null}},"86":{"start":{"line":98,"column":62},"end":{"line":98,"column":91}},"87":{"start":{"line":99,"column":8},"end":{"line":99,"column":null}},"88":{"start":{"line":100,"column":22},"end":{"line":100,"column":59}},"89":{"start":{"line":101,"column":8},"end":{"line":101,"column":null}},"90":{"start":{"line":101,"column":19},"end":{"line":101,"column":null}},"91":{"start":{"line":102,"column":8},"end":{"line":102,"column":null}},"92":{"start":{"line":104,"column":4},"end":{"line":104,"column":null}},"93":{"start":{"line":106,"column":4},"end":{"line":121,"column":null}},"94":{"start":{"line":107,"column":8},"end":{"line":120,"column":null}},"95":{"start":{"line":108,"column":24},"end":{"line":108,"column":53}},"96":{"start":{"line":109,"column":12},"end":{"line":109,"column":null}},"97":{"start":{"line":110,"column":12},"end":{"line":110,"column":null}},"98":{"start":{"line":111,"column":12},"end":{"line":111,"column":null}},"99":{"start":{"line":112,"column":12},"end":{"line":118,"column":null}},"100":{"start":{"line":113,"column":16},"end":{"line":113,"column":null}},"101":{"start":{"line":113,"column":70},"end":{"line":113,"column":99}},"102":{"start":{"line":114,"column":16},"end":{"line":114,"column":null}},"103":{"start":{"line":115,"column":30},"end":{"line":115,"column":67}},"104":{"start":{"line":116,"column":16},"end":{"line":116,"column":null}},"105":{"start":{"line":116,"column":27},"end":{"line":116,"column":null}},"106":{"start":{"line":117,"column":16},"end":{"line":117,"column":null}},"107":{"start":{"line":119,"column":12},"end":{"line":119,"column":null}},"108":{"start":{"line":125,"column":17},"end":{"line":125,"column":56}},"109":{"start":{"line":126,"column":4},"end":{"line":126,"column":null}},"110":{"start":{"line":126,"column":15},"end":{"line":126,"column":null}},"111":{"start":{"line":127,"column":4},"end":{"line":127,"column":null}},"112":{"start":{"line":129,"column":4},"end":{"line":132,"column":null}},"113":{"start":{"line":130,"column":8},"end":{"line":130,"column":null}},"114":{"start":{"line":131,"column":8},"end":{"line":131,"column":null}},"115":{"start":{"line":134,"column":4},"end":{"line":165,"column":null}},"116":{"start":{"line":135,"column":24},"end":{"line":135,"column":57}},"117":{"start":{"line":136,"column":8},"end":{"line":136,"column":null}},"118":{"start":{"line":138,"column":21},"end":{"line":138,"column":84}},"119":{"start":{"line":140,"column":8},"end":{"line":155,"column":null}},"120":{"start":{"line":158,"column":24},"end":{"line":158,"column":58}},"121":{"start":{"line":159,"column":8},"end":{"line":159,"column":null}},"122":{"start":{"line":159,"column":32},"end":{"line":159,"column":74}},"123":{"start":{"line":161,"column":24},"end":{"line":161,"column":58}},"124":{"start":{"line":162,"column":8},"end":{"line":162,"column":null}},"125":{"start":{"line":162,"column":32},"end":{"line":162,"column":71}},"126":{"start":{"line":164,"column":8},"end":{"line":164,"column":null}},"127":{"start":{"line":169,"column":22},"end":{"line":169,"column":36}},"128":{"start":{"line":170,"column":4},"end":{"line":191,"column":null}},"129":{"start":{"line":171,"column":25},"end":{"line":175,"column":10}},"130":{"start":{"line":176,"column":8},"end":{"line":176,"column":null}},"131":{"start":{"line":176,"column":26},"end":{"line":176,"column":null}},"132":{"start":{"line":179,"column":8},"end":{"line":179,"column":null}},"133":{"start":{"line":180,"column":8},"end":{"line":180,"column":null}},"134":{"start":{"line":181,"column":8},"end":{"line":181,"column":null}},"135":{"start":{"line":181,"column":28},"end":{"line":181,"column":67}},"136":{"start":{"line":184,"column":8},"end":{"line":184,"column":null}},"137":{"start":{"line":186,"column":8},"end":{"line":186,"column":null}},"138":{"start":{"line":188,"column":8},"end":{"line":188,"column":null}},"139":{"start":{"line":189,"column":8},"end":{"line":189,"column":null}},"140":{"start":{"line":190,"column":8},"end":{"line":190,"column":null}},"141":{"start":{"line":195,"column":22},"end":{"line":195,"column":36}},"142":{"start":{"line":196,"column":4},"end":{"line":231,"column":null}},"143":{"start":{"line":197,"column":25},"end":{"line":201,"column":10}},"144":{"start":{"line":202,"column":8},"end":{"line":202,"column":null}},"145":{"start":{"line":202,"column":26},"end":{"line":202,"column":null}},"146":{"start":{"line":205,"column":8},"end":{"line":205,"column":null}},"147":{"start":{"line":206,"column":8},"end":{"line":206,"column":null}},"148":{"start":{"line":207,"column":8},"end":{"line":207,"column":null}},"149":{"start":{"line":208,"column":8},"end":{"line":208,"column":null}},"150":{"start":{"line":208,"column":28},"end":{"line":208,"column":67}},"151":{"start":{"line":211,"column":8},"end":{"line":211,"column":null}},"152":{"start":{"line":214,"column":23},"end":{"line":214,"column":51}},"153":{"start":{"line":215,"column":8},"end":{"line":224,"column":null}},"154":{"start":{"line":216,"column":26},"end":{"line":216,"column":62}},"155":{"start":{"line":217,"column":12},"end":{"line":223,"column":null}},"156":{"start":{"line":218,"column":16},"end":{"line":222,"column":null}},"157":{"start":{"line":219,"column":20},"end":{"line":219,"column":null}},"158":{"start":{"line":221,"column":20},"end":{"line":221,"column":null}},"159":{"start":{"line":226,"column":8},"end":{"line":226,"column":null}},"160":{"start":{"line":228,"column":8},"end":{"line":228,"column":null}},"161":{"start":{"line":229,"column":8},"end":{"line":229,"column":null}},"162":{"start":{"line":230,"column":8},"end":{"line":230,"column":null}},"163":{"start":{"line":235,"column":4},"end":{"line":256,"column":null}},"164":{"start":{"line":237,"column":8},"end":{"line":255,"column":null}},"165":{"start":{"line":238,"column":12},"end":{"line":238,"column":null}},"166":{"start":{"line":239,"column":12},"end":{"line":239,"column":null}},"167":{"start":{"line":241,"column":32},"end":{"line":241,"column":71}},"168":{"start":{"line":242,"column":12},"end":{"line":254,"column":null}},"169":{"start":{"line":243,"column":16},"end":{"line":253,"column":null}},"170":{"start":{"line":244,"column":20},"end":{"line":252,"column":null}},"171":{"start":{"line":245,"column":38},"end":{"line":245,"column":62}},"172":{"start":{"line":246,"column":24},"end":{"line":251,"column":null}},"173":{"start":{"line":247,"column":42},"end":{"line":247,"column":79}},"174":{"start":{"line":248,"column":28},"end":{"line":248,"column":null}},"175":{"start":{"line":248,"column":39},"end":{"line":248,"column":null}},"176":{"start":{"line":249,"column":28},"end":{"line":249,"column":null}},"177":{"start":{"line":249,"column":82},"end":{"line":249,"column":111}},"178":{"start":{"line":250,"column":28},"end":{"line":250,"column":null}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":1,"column":46},"end":{"line":1,"column":47}},"loc":{"start":{"line":1,"column":52},"end":{"line":16,"column":1}},"line":1},"1":{"name":"(anonymous_1)","decl":{"start":{"line":6,"column":45},"end":{"line":6,"column":46}},"loc":{"start":{"line":6,"column":52},"end":{"line":15,"column":5}},"line":6},"2":{"name":"(anonymous_2)","decl":{"start":{"line":11,"column":64},"end":{"line":11,"column":66}},"loc":{"start":{"line":11,"column":70},"end":{"line":11,"column":99}},"line":11},"3":{"name":"fetchFeeds","decl":{"start":{"line":18,"column":22},"end":{"line":18,"column":32}},"loc":{"start":{"line":18,"column":47},"end":{"line":31,"column":null}},"line":18},"4":{"name":"fetchItems","decl":{"start":{"line":33,"column":22},"end":{"line":33,"column":32}},"loc":{"start":{"line":33,"column":91},"end":{"line":59,"column":null}},"line":33},"5":{"name":"renderFeeds","decl":{"start":{"line":61,"column":16},"end":{"line":61,"column":27}},"loc":{"start":{"line":61,"column":35},"end":{"line":122,"column":null}},"line":61},"6":{"name":"(anonymous_6)","decl":{"start":{"line":73,"column":22},"end":{"line":73,"column":23}},"loc":{"start":{"line":73,"column":28},"end":{"line":79,"column":5}},"line":73},"7":{"name":"(anonymous_7)","decl":{"start":{"line":74,"column":56},"end":{"line":74,"column":58}},"loc":{"start":{"line":74,"column":62},"end":{"line":74,"column":91}},"line":74},"8":{"name":"(anonymous_8)","decl":{"start":{"line":85,"column":25},"end":{"line":85,"column":26}},"loc":{"start":{"line":85,"column":31},"end":{"line":91,"column":5}},"line":85},"9":{"name":"(anonymous_9)","decl":{"start":{"line":86,"column":56},"end":{"line":86,"column":58}},"loc":{"start":{"line":86,"column":62},"end":{"line":86,"column":91}},"line":86},"10":{"name":"(anonymous_10)","decl":{"start":{"line":97,"column":26},"end":{"line":97,"column":27}},"loc":{"start":{"line":97,"column":32},"end":{"line":103,"column":5}},"line":97},"11":{"name":"(anonymous_11)","decl":{"start":{"line":98,"column":56},"end":{"line":98,"column":58}},"loc":{"start":{"line":98,"column":62},"end":{"line":98,"column":91}},"line":98},"12":{"name":"(anonymous_12)","decl":{"start":{"line":107,"column":22},"end":{"line":107,"column":26}},"loc":{"start":{"line":107,"column":30},"end":{"line":120,"column":9}},"line":107},"13":{"name":"(anonymous_13)","decl":{"start":{"line":112,"column":26},"end":{"line":112,"column":27}},"loc":{"start":{"line":112,"column":32},"end":{"line":118,"column":13}},"line":112},"14":{"name":"(anonymous_14)","decl":{"start":{"line":113,"column":64},"end":{"line":113,"column":66}},"loc":{"start":{"line":113,"column":70},"end":{"line":113,"column":99}},"line":113},"15":{"name":"renderItems","decl":{"start":{"line":124,"column":16},"end":{"line":124,"column":27}},"loc":{"start":{"line":124,"column":35},"end":{"line":166,"column":null}},"line":124},"16":{"name":"(anonymous_16)","decl":{"start":{"line":134,"column":18},"end":{"line":134,"column":22}},"loc":{"start":{"line":134,"column":26},"end":{"line":165,"column":5}},"line":134},"17":{"name":"(anonymous_17)","decl":{"start":{"line":159,"column":26},"end":{"line":159,"column":27}},"loc":{"start":{"line":159,"column":32},"end":{"line":159,"column":74}},"line":159},"18":{"name":"(anonymous_18)","decl":{"start":{"line":162,"column":26},"end":{"line":162,"column":27}},"loc":{"start":{"line":162,"column":32},"end":{"line":162,"column":71}},"line":162},"19":{"name":"toggleStar","decl":{"start":{"line":168,"column":22},"end":{"line":168,"column":32}},"loc":{"start":{"line":168,"column":71},"end":{"line":192,"column":null}},"line":168},"20":{"name":"(anonymous_20)","decl":{"start":{"line":181,"column":22},"end":{"line":181,"column":23}},"loc":{"start":{"line":181,"column":28},"end":{"line":181,"column":67}},"line":181},"21":{"name":"toggleRead","decl":{"start":{"line":194,"column":22},"end":{"line":194,"column":32}},"loc":{"start":{"line":194,"column":71},"end":{"line":232,"column":null}},"line":194},"22":{"name":"(anonymous_22)","decl":{"start":{"line":208,"column":22},"end":{"line":208,"column":23}},"loc":{"start":{"line":208,"column":28},"end":{"line":208,"column":67}},"line":208},"23":{"name":"init","decl":{"start":{"line":234,"column":16},"end":{"line":234,"column":20}},"loc":{"start":{"line":234,"column":23},"end":{"line":257,"column":null}},"line":234},"24":{"name":"(anonymous_24)","decl":{"start":{"line":243,"column":57},"end":{"line":243,"column":58}},"loc":{"start":{"line":243,"column":64},"end":{"line":253,"column":17}},"line":243},"25":{"name":"(anonymous_25)","decl":{"start":{"line":249,"column":76},"end":{"line":249,"column":78}},"loc":{"start":{"line":249,"column":82},"end":{"line":249,"column":111}},"line":249}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":8},"end":{"line":14,"column":null}},"type":"if","locations":[{"start":{"line":7,"column":8},"end":{"line":14,"column":null}},{"start":{},"end":{}}],"line":7},"1":{"loc":{"start":{"line":9,"column":12},"end":{"line":13,"column":null}},"type":"if","locations":[{"start":{"line":9,"column":12},"end":{"line":13,"column":null}},{"start":{},"end":{}}],"line":9},"2":{"loc":{"start":{"line":18,"column":33},"end":{"line":18,"column":45}},"type":"default-arg","locations":[{"start":{"line":18,"column":43},"end":{"line":18,"column":45}}],"line":18},"3":{"loc":{"start":{"line":21,"column":8},"end":{"line":21,"column":null}},"type":"if","locations":[{"start":{"line":21,"column":8},"end":{"line":21,"column":null}},{"start":{},"end":{}}],"line":21},"4":{"loc":{"start":{"line":28,"column":8},"end":{"line":28,"column":null}},"type":"if","locations":[{"start":{"line":28,"column":8},"end":{"line":28,"column":null}},{"start":{},"end":{}}],"line":28},"5":{"loc":{"start":{"line":33,"column":33},"end":{"line":33,"column":46}},"type":"default-arg","locations":[{"start":{"line":33,"column":42},"end":{"line":33,"column":46}}],"line":33},"6":{"loc":{"start":{"line":33,"column":48},"end":{"line":33,"column":61}},"type":"default-arg","locations":[{"start":{"line":33,"column":57},"end":{"line":33,"column":61}}],"line":33},"7":{"loc":{"start":{"line":33,"column":63},"end":{"line":33,"column":75}},"type":"default-arg","locations":[{"start":{"line":33,"column":71},"end":{"line":33,"column":75}}],"line":33},"8":{"loc":{"start":{"line":33,"column":77},"end":{"line":33,"column":89}},"type":"default-arg","locations":[{"start":{"line":33,"column":87},"end":{"line":33,"column":89}}],"line":33},"9":{"loc":{"start":{"line":35,"column":4},"end":{"line":35,"column":null}},"type":"if","locations":[{"start":{"line":35,"column":4},"end":{"line":35,"column":null}},{"start":{},"end":{}}],"line":35},"10":{"loc":{"start":{"line":39,"column":4},"end":{"line":39,"column":null}},"type":"if","locations":[{"start":{"line":39,"column":4},"end":{"line":39,"column":null}},{"start":{},"end":{}}],"line":39},"11":{"loc":{"start":{"line":40,"column":4},"end":{"line":40,"column":null}},"type":"if","locations":[{"start":{"line":40,"column":4},"end":{"line":40,"column":null}},{"start":{},"end":{}}],"line":40},"12":{"loc":{"start":{"line":41,"column":4},"end":{"line":41,"column":null}},"type":"if","locations":[{"start":{"line":41,"column":4},"end":{"line":41,"column":null}},{"start":{},"end":{}}],"line":41},"13":{"loc":{"start":{"line":42,"column":4},"end":{"line":42,"column":null}},"type":"if","locations":[{"start":{"line":42,"column":4},"end":{"line":42,"column":null}},{"start":{},"end":{}}],"line":42},"14":{"loc":{"start":{"line":44,"column":4},"end":{"line":46,"column":null}},"type":"if","locations":[{"start":{"line":44,"column":4},"end":{"line":46,"column":null}},{"start":{},"end":{}}],"line":44},"15":{"loc":{"start":{"line":50,"column":8},"end":{"line":50,"column":null}},"type":"if","locations":[{"start":{"line":50,"column":8},"end":{"line":50,"column":null}},{"start":{},"end":{}}],"line":50},"16":{"loc":{"start":{"line":56,"column":8},"end":{"line":56,"column":null}},"type":"if","locations":[{"start":{"line":56,"column":8},"end":{"line":56,"column":null}},{"start":{},"end":{}}],"line":56},"17":{"loc":{"start":{"line":63,"column":4},"end":{"line":63,"column":null}},"type":"if","locations":[{"start":{"line":63,"column":4},"end":{"line":63,"column":null}},{"start":{},"end":{}}],"line":63},"18":{"loc":{"start":{"line":68,"column":4},"end":{"line":68,"column":null}},"type":"if","locations":[{"start":{"line":68,"column":4},"end":{"line":68,"column":null}},{"start":{},"end":{}}],"line":68},"19":{"loc":{"start":{"line":77,"column":8},"end":{"line":77,"column":null}},"type":"if","locations":[{"start":{"line":77,"column":8},"end":{"line":77,"column":null}},{"start":{},"end":{}}],"line":77},"20":{"loc":{"start":{"line":89,"column":8},"end":{"line":89,"column":null}},"type":"if","locations":[{"start":{"line":89,"column":8},"end":{"line":89,"column":null}},{"start":{},"end":{}}],"line":89},"21":{"loc":{"start":{"line":101,"column":8},"end":{"line":101,"column":null}},"type":"if","locations":[{"start":{"line":101,"column":8},"end":{"line":101,"column":null}},{"start":{},"end":{}}],"line":101},"22":{"loc":{"start":{"line":106,"column":4},"end":{"line":121,"column":null}},"type":"if","locations":[{"start":{"line":106,"column":4},"end":{"line":121,"column":null}},{"start":{},"end":{}}],"line":106},"23":{"loc":{"start":{"line":110,"column":30},"end":{"line":110,"column":52}},"type":"binary-expr","locations":[{"start":{"line":110,"column":30},"end":{"line":110,"column":40}},{"start":{"line":110,"column":44},"end":{"line":110,"column":52}}],"line":110},"24":{"loc":{"start":{"line":116,"column":16},"end":{"line":116,"column":null}},"type":"if","locations":[{"start":{"line":116,"column":16},"end":{"line":116,"column":null}},{"start":{},"end":{}}],"line":116},"25":{"loc":{"start":{"line":126,"column":4},"end":{"line":126,"column":null}},"type":"if","locations":[{"start":{"line":126,"column":4},"end":{"line":126,"column":null}},{"start":{},"end":{}}],"line":126},"26":{"loc":{"start":{"line":129,"column":4},"end":{"line":132,"column":null}},"type":"if","locations":[{"start":{"line":129,"column":4},"end":{"line":132,"column":null}},{"start":{},"end":{}}],"line":129},"27":{"loc":{"start":{"line":129,"column":8},"end":{"line":129,"column":36}},"type":"binary-expr","locations":[{"start":{"line":129,"column":8},"end":{"line":129,"column":14}},{"start":{"line":129,"column":18},"end":{"line":129,"column":36}}],"line":129},"28":{"loc":{"start":{"line":138,"column":30},"end":{"line":138,"column":66}},"type":"binary-expr","locations":[{"start":{"line":138,"column":30},"end":{"line":138,"column":47}},{"start":{"line":138,"column":51},"end":{"line":138,"column":66}}],"line":138},"29":{"loc":{"start":{"line":143,"column":46},"end":{"line":143,"column":74}},"type":"cond-expr","locations":[{"start":{"line":143,"column":61},"end":{"line":143,"column":69}},{"start":{"line":143,"column":72},"end":{"line":143,"column":74}}],"line":143},"30":{"loc":{"start":{"line":143,"column":131},"end":{"line":143,"column":155}},"type":"cond-expr","locations":[{"start":{"line":143,"column":146},"end":{"line":143,"column":149}},{"start":{"line":143,"column":152},"end":{"line":143,"column":155}}],"line":143},"31":{"loc":{"start":{"line":144,"column":46},"end":{"line":144,"column":75}},"type":"cond-expr","locations":[{"start":{"line":144,"column":58},"end":{"line":144,"column":64}},{"start":{"line":144,"column":67},"end":{"line":144,"column":75}}],"line":144},"32":{"loc":{"start":{"line":144,"column":126},"end":{"line":144,"column":165}},"type":"cond-expr","locations":[{"start":{"line":144,"column":138},"end":{"line":144,"column":151}},{"start":{"line":144,"column":154},"end":{"line":144,"column":165}}],"line":144},"33":{"loc":{"start":{"line":146,"column":59},"end":{"line":146,"column":82}},"type":"cond-expr","locations":[{"start":{"line":146,"column":71},"end":{"line":146,"column":77}},{"start":{"line":146,"column":80},"end":{"line":146,"column":82}}],"line":146},"34":{"loc":{"start":{"line":148,"column":22},"end":{"line":148,"column":93}},"type":"cond-expr","locations":[{"start":{"line":148,"column":34},"end":{"line":148,"column":88}},{"start":{"line":148,"column":91},"end":{"line":148,"column":93}}],"line":148},"35":{"loc":{"start":{"line":153,"column":18},"end":{"line":153,"column":40}},"type":"binary-expr","locations":[{"start":{"line":153,"column":18},"end":{"line":153,"column":34}},{"start":{"line":153,"column":38},"end":{"line":153,"column":40}}],"line":153},"36":{"loc":{"start":{"line":168,"column":57},"end":{"line":168,"column":69}},"type":"default-arg","locations":[{"start":{"line":168,"column":67},"end":{"line":168,"column":69}}],"line":168},"37":{"loc":{"start":{"line":176,"column":8},"end":{"line":176,"column":null}},"type":"if","locations":[{"start":{"line":176,"column":8},"end":{"line":176,"column":null}},{"start":{},"end":{}}],"line":176},"38":{"loc":{"start":{"line":179,"column":26},"end":{"line":179,"column":47}},"type":"cond-expr","locations":[{"start":{"line":179,"column":38},"end":{"line":179,"column":41}},{"start":{"line":179,"column":44},"end":{"line":179,"column":47}}],"line":179},"39":{"loc":{"start":{"line":194,"column":57},"end":{"line":194,"column":69}},"type":"default-arg","locations":[{"start":{"line":194,"column":67},"end":{"line":194,"column":69}}],"line":194},"40":{"loc":{"start":{"line":202,"column":8},"end":{"line":202,"column":null}},"type":"if","locations":[{"start":{"line":202,"column":8},"end":{"line":202,"column":null}},{"start":{},"end":{}}],"line":202},"41":{"loc":{"start":{"line":205,"column":26},"end":{"line":205,"column":65}},"type":"cond-expr","locations":[{"start":{"line":205,"column":38},"end":{"line":205,"column":51}},{"start":{"line":205,"column":54},"end":{"line":205,"column":65}}],"line":205},"42":{"loc":{"start":{"line":215,"column":8},"end":{"line":224,"column":null}},"type":"if","locations":[{"start":{"line":215,"column":8},"end":{"line":224,"column":null}},{"start":{},"end":{}}],"line":215},"43":{"loc":{"start":{"line":217,"column":12},"end":{"line":223,"column":null}},"type":"if","locations":[{"start":{"line":217,"column":12},"end":{"line":223,"column":null}},{"start":{},"end":{}}],"line":217},"44":{"loc":{"start":{"line":218,"column":16},"end":{"line":222,"column":null}},"type":"if","locations":[{"start":{"line":218,"column":16},"end":{"line":222,"column":null}},{"start":{"line":220,"column":23},"end":{"line":222,"column":null}}],"line":218},"45":{"loc":{"start":{"line":235,"column":4},"end":{"line":256,"column":null}},"type":"if","locations":[{"start":{"line":235,"column":4},"end":{"line":256,"column":null}},{"start":{},"end":{}}],"line":235},"46":{"loc":{"start":{"line":237,"column":8},"end":{"line":255,"column":null}},"type":"if","locations":[{"start":{"line":237,"column":8},"end":{"line":255,"column":null}},{"start":{},"end":{}}],"line":237},"47":{"loc":{"start":{"line":242,"column":12},"end":{"line":254,"column":null}},"type":"if","locations":[{"start":{"line":242,"column":12},"end":{"line":254,"column":null}},{"start":{},"end":{}}],"line":242},"48":{"loc":{"start":{"line":244,"column":20},"end":{"line":252,"column":null}},"type":"if","locations":[{"start":{"line":244,"column":20},"end":{"line":252,"column":null}},{"start":{},"end":{}}],"line":244},"49":{"loc":{"start":{"line":246,"column":24},"end":{"line":251,"column":null}},"type":"if","locations":[{"start":{"line":246,"column":24},"end":{"line":251,"column":null}},{"start":{},"end":{}}],"line":246},"50":{"loc":{"start":{"line":248,"column":28},"end":{"line":248,"column":null}},"type":"if","locations":[{"start":{"line":248,"column":28},"end":{"line":248,"column":null}},{"start":{},"end":{}}],"line":248}},"s":{"0":1,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":5,"13":5,"14":4,"15":4,"16":4,"17":4,"18":4,"19":1,"20":1,"21":1,"22":1,"23":1,"24":11,"25":11,"26":11,"27":11,"28":11,"29":11,"30":2,"31":11,"32":2,"33":11,"34":1,"35":11,"36":2,"37":11,"38":5,"39":11,"40":11,"41":10,"42":10,"43":10,"44":10,"45":10,"46":1,"47":1,"48":1,"49":1,"50":5,"51":5,"52":0,"53":5,"54":5,"55":5,"56":5,"57":5,"58":5,"59":5,"60":5,"61":1,"62":5,"63":1,"64":1,"65":1,"66":1,"67":1,"68":5,"69":5,"70":5,"71":5,"72":5,"73":1,"74":5,"75":1,"76":1,"77":1,"78":1,"79":1,"80":5,"81":5,"82":5,"83":5,"84":5,"85":1,"86":5,"87":1,"88":1,"89":1,"90":1,"91":1,"92":5,"93":5,"94":5,"95":3,"96":3,"97":3,"98":3,"99":3,"100":1,"101":5,"102":1,"103":1,"104":1,"105":1,"106":1,"107":3,"108":12,"109":12,"110":0,"111":12,"112":12,"113":10,"114":10,"115":2,"116":2,"117":2,"118":2,"119":2,"120":2,"121":2,"122":0,"123":2,"124":2,"125":0,"126":2,"127":1,"128":1,"129":1,"130":1,"131":0,"132":1,"133":1,"134":1,"135":0,"136":1,"137":1,"138":0,"139":0,"140":0,"141":1,"142":1,"143":1,"144":1,"145":0,"146":1,"147":1,"148":1,"149":1,"150":0,"151":1,"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":0,"159":1,"160":0,"161":0,"162":0,"163":4,"164":4,"165":3,"166":3,"167":3,"168":3,"169":3,"170":2,"171":2,"172":2,"173":1,"174":1,"175":1,"176":1,"177":0,"178":1},"f":{"0":0,"1":0,"2":0,"3":5,"4":11,"5":5,"6":1,"7":5,"8":1,"9":5,"10":1,"11":5,"12":3,"13":1,"14":5,"15":12,"16":2,"17":0,"18":0,"19":1,"20":0,"21":1,"22":0,"23":4,"24":2,"25":0},"b":{"0":[0,0],"1":[0,0],"2":[5],"3":[0,4],"4":[1,0],"5":[11],"6":[11],"7":[11],"8":[11],"9":[11,0],"10":[2,9],"11":[2,9],"12":[1,10],"13":[2,9],"14":[5,6],"15":[0,10],"16":[1,0],"17":[0,5],"18":[5,0],"19":[1,0],"20":[1,0],"21":[1,0],"22":[5,0],"23":[3,0],"24":[1,0],"25":[0,12],"26":[10,2],"27":[12,12],"28":[2,2],"29":[1,1],"30":[1,1],"31":[0,2],"32":[0,2],"33":[0,2],"34":[2,0],"35":[2,2],"36":[1],"37":[0,1],"38":[1,0],"39":[1],"40":[0,1],"41":[1,0],"42":[1,0],"43":[1,0],"44":[1,0],"45":[4,0],"46":[3,1],"47":[3,0],"48":[2,0],"49":[1,1],"50":[1,0]},"meta":{"lastBranch":51,"lastFunction":26,"lastStatement":179,"seen":{"s:1:0:16:Infinity":0,"f:1:46:1:47":0,"s:2:4:2:Infinity":1,"s:3:4:3:17":2,"s:5:24:5:63":3,"s:6:4:15:Infinity":4,"f:6:45:6:46":1,"b:7:8:14:Infinity:undefined:undefined:undefined:undefined":0,"s:7:8:14:Infinity":5,"s:8:26:8:50":6,"b:9:12:13:Infinity:undefined:undefined:undefined:undefined":1,"s:9:12:13:Infinity":7,"s:10:16:10:Infinity":8,"s:11:16:11:Infinity":9,"f:11:64:11:66":2,"s:11:70:11:99":10,"s:12:16:12:Infinity":11,"f:18:22:18:32":3,"b:18:43:18:45":2,"s:19:4:30:Infinity":12,"s:20:25:20:60":13,"b:21:8:21:Infinity:undefined:undefined:undefined:undefined":3,"s:21:8:21:Infinity":14,"s:21:26:21:Infinity":15,"s:22:22:22:43":16,"s:23:8:23:Infinity":17,"s:24:8:24:Infinity":18,"s:26:8:26:Infinity":19,"s:27:20:27:56":20,"b:28:8:28:Infinity:undefined:undefined:undefined:undefined":4,"s:28:8:28:Infinity":21,"s:28:17:28:Infinity":22,"s:29:8:29:Infinity":23,"f:33:22:33:32":4,"b:33:42:33:46":5,"b:33:57:33:61":6,"b:33:71:33:75":7,"b:33:87:33:89":8,"s:34:19:34:58":24,"b:35:4:35:Infinity:undefined:undefined:undefined:undefined":9,"s:35:4:35:Infinity":25,"s:35:16:35:Infinity":26,"s:37:14:37:38":27,"s:38:19:38:40":28,"b:39:4:39:Infinity:undefined:undefined:undefined:undefined":10,"s:39:4:39:Infinity":29,"s:39:16:39:Infinity":30,"b:40:4:40:Infinity:undefined:undefined:undefined:undefined":11,"s:40:4:40:Infinity":31,"s:40:29:40:Infinity":32,"b:41:4:41:Infinity:undefined:undefined:undefined:undefined":12,"s:41:4:41:Infinity":33,"s:41:30:41:Infinity":34,"b:42:4:42:Infinity:undefined:undefined:undefined:undefined":13,"s:42:4:42:Infinity":35,"s:42:15:42:Infinity":36,"b:44:4:46:Infinity:undefined:undefined:undefined:undefined":14,"s:44:4:46:Infinity":37,"s:45:8:45:Infinity":38,"s:48:4:58:Infinity":39,"s:49:25:49:41":40,"b:50:8:50:Infinity:undefined:undefined:undefined:undefined":15,"s:50:8:50:Infinity":41,"s:50:26:50:Infinity":42,"s:51:22:51:43":43,"s:52:8:52:Infinity":44,"s:53:8:53:Infinity":45,"s:55:8:55:Infinity":46,"b:56:8:56:Infinity:undefined:undefined:undefined:undefined":16,"s:56:8:56:Infinity":47,"s:56:20:56:Infinity":48,"s:57:8:57:Infinity":49,"f:61:16:61:27":5,"s:62:16:62:52":50,"b:63:4:63:Infinity:undefined:undefined:undefined:undefined":17,"s:63:4:63:Infinity":51,"s:63:14:63:Infinity":52,"s:66:28:66:66":53,"s:67:4:67:Infinity":54,"b:68:4:68:Infinity:undefined:undefined:undefined:undefined":18,"s:68:4:68:Infinity":55,"s:68:25:68:Infinity":56,"s:70:20:70:49":57,"s:71:4:71:Infinity":58,"s:72:4:72:Infinity":59,"s:73:4:79:Infinity":60,"f:73:22:73:23":6,"s:74:8:74:Infinity":61,"f:74:56:74:58":7,"s:74:62:74:91":62,"s:75:8:75:Infinity":63,"s:76:22:76:59":64,"b:77:8:77:Infinity:undefined:undefined:undefined:undefined":19,"s:77:8:77:Infinity":65,"s:77:19:77:Infinity":66,"s:78:8:78:Infinity":67,"s:80:4:80:Infinity":68,"s:82:23:82:52":69,"s:83:4:83:Infinity":70,"s:84:4:84:Infinity":71,"s:85:4:91:Infinity":72,"f:85:25:85:26":8,"s:86:8:86:Infinity":73,"f:86:56:86:58":9,"s:86:62:86:91":74,"s:87:8:87:Infinity":75,"s:88:22:88:59":76,"b:89:8:89:Infinity:undefined:undefined:undefined:undefined":20,"s:89:8:89:Infinity":77,"s:89:19:89:Infinity":78,"s:90:8:90:Infinity":79,"s:92:4:92:Infinity":80,"s:94:24:94:53":81,"s:95:4:95:Infinity":82,"s:96:4:96:Infinity":83,"s:97:4:103:Infinity":84,"f:97:26:97:27":10,"s:98:8:98:Infinity":85,"f:98:56:98:58":11,"s:98:62:98:91":86,"s:99:8:99:Infinity":87,"s:100:22:100:59":88,"b:101:8:101:Infinity:undefined:undefined:undefined:undefined":21,"s:101:8:101:Infinity":89,"s:101:19:101:Infinity":90,"s:102:8:102:Infinity":91,"s:104:4:104:Infinity":92,"b:106:4:121:Infinity:undefined:undefined:undefined:undefined":22,"s:106:4:121:Infinity":93,"s:107:8:120:Infinity":94,"f:107:22:107:26":12,"s:108:24:108:53":95,"s:109:12:109:Infinity":96,"s:110:12:110:Infinity":97,"b:110:30:110:40:110:44:110:52":23,"s:111:12:111:Infinity":98,"s:112:12:118:Infinity":99,"f:112:26:112:27":13,"s:113:16:113:Infinity":100,"f:113:64:113:66":14,"s:113:70:113:99":101,"s:114:16:114:Infinity":102,"s:115:30:115:67":103,"b:116:16:116:Infinity:undefined:undefined:undefined:undefined":24,"s:116:16:116:Infinity":104,"s:116:27:116:Infinity":105,"s:117:16:117:Infinity":106,"s:119:12:119:Infinity":107,"f:124:16:124:27":15,"s:125:17:125:56":108,"b:126:4:126:Infinity:undefined:undefined:undefined:undefined":25,"s:126:4:126:Infinity":109,"s:126:15:126:Infinity":110,"s:127:4:127:Infinity":111,"b:129:4:132:Infinity:undefined:undefined:undefined:undefined":26,"s:129:4:132:Infinity":112,"b:129:8:129:14:129:18:129:36":27,"s:130:8:130:Infinity":113,"s:131:8:131:Infinity":114,"s:134:4:165:Infinity":115,"f:134:18:134:22":16,"s:135:24:135:57":116,"s:136:8:136:Infinity":117,"s:138:21:138:84":118,"b:138:30:138:47:138:51:138:66":28,"s:140:8:155:Infinity":119,"b:143:61:143:69:143:72:143:74":29,"b:143:146:143:149:143:152:143:155":30,"b:144:58:144:64:144:67:144:75":31,"b:144:138:144:151:144:154:144:165":32,"b:146:71:146:77:146:80:146:82":33,"b:148:34:148:88:148:91:148:93":34,"b:153:18:153:34:153:38:153:40":35,"s:158:24:158:58":120,"s:159:8:159:Infinity":121,"f:159:26:159:27":17,"s:159:32:159:74":122,"s:161:24:161:58":123,"s:162:8:162:Infinity":124,"f:162:26:162:27":18,"s:162:32:162:71":125,"s:164:8:164:Infinity":126,"f:168:22:168:32":19,"b:168:67:168:69":36,"s:169:22:169:36":127,"s:170:4:191:Infinity":128,"s:171:25:175:10":129,"b:176:8:176:Infinity:undefined:undefined:undefined:undefined":37,"s:176:8:176:Infinity":130,"s:176:26:176:Infinity":131,"s:179:8:179:Infinity":132,"b:179:38:179:41:179:44:179:47":38,"s:180:8:180:Infinity":133,"s:181:8:181:Infinity":134,"f:181:22:181:23":20,"s:181:28:181:67":135,"s:184:8:184:Infinity":136,"s:186:8:186:Infinity":137,"s:188:8:188:Infinity":138,"s:189:8:189:Infinity":139,"s:190:8:190:Infinity":140,"f:194:22:194:32":21,"b:194:67:194:69":39,"s:195:22:195:36":141,"s:196:4:231:Infinity":142,"s:197:25:201:10":143,"b:202:8:202:Infinity:undefined:undefined:undefined:undefined":40,"s:202:8:202:Infinity":144,"s:202:26:202:Infinity":145,"s:205:8:205:Infinity":146,"b:205:38:205:51:205:54:205:65":41,"s:206:8:206:Infinity":147,"s:207:8:207:Infinity":148,"s:208:8:208:Infinity":149,"f:208:22:208:23":22,"s:208:28:208:67":150,"s:211:8:211:Infinity":151,"s:214:23:214:51":152,"b:215:8:224:Infinity:undefined:undefined:undefined:undefined":42,"s:215:8:224:Infinity":153,"s:216:26:216:62":154,"b:217:12:223:Infinity:undefined:undefined:undefined:undefined":43,"s:217:12:223:Infinity":155,"b:218:16:222:Infinity:220:23:222:Infinity":44,"s:218:16:222:Infinity":156,"s:219:20:219:Infinity":157,"s:221:20:221:Infinity":158,"s:226:8:226:Infinity":159,"s:228:8:228:Infinity":160,"s:229:8:229:Infinity":161,"s:230:8:230:Infinity":162,"f:234:16:234:20":23,"b:235:4:256:Infinity:undefined:undefined:undefined:undefined":45,"s:235:4:256:Infinity":163,"b:237:8:255:Infinity:undefined:undefined:undefined:undefined":46,"s:237:8:255:Infinity":164,"s:238:12:238:Infinity":165,"s:239:12:239:Infinity":166,"s:241:32:241:71":167,"b:242:12:254:Infinity:undefined:undefined:undefined:undefined":47,"s:242:12:254:Infinity":168,"s:243:16:253:Infinity":169,"f:243:57:243:58":24,"b:244:20:252:Infinity:undefined:undefined:undefined:undefined":48,"s:244:20:252:Infinity":170,"s:245:38:245:62":171,"b:246:24:251:Infinity:undefined:undefined:undefined:undefined":49,"s:246:24:251:Infinity":172,"s:247:42:247:79":173,"b:248:28:248:Infinity:undefined:undefined:undefined:undefined":50,"s:248:28:248:Infinity":174,"s:248:39:248:Infinity":175,"s:249:28:249:Infinity":176,"f:249:76:249:78":25,"s:249:82:249:111":177,"s:250:28:250:Infinity":178}}} -} diff --git a/vanilla/coverage/favicon.png b/vanilla/coverage/favicon.png deleted file mode 100644 index c1525b8..0000000 Binary files a/vanilla/coverage/favicon.png and /dev/null differ diff --git a/vanilla/coverage/index.html b/vanilla/coverage/index.html deleted file mode 100644 index da539e0..0000000 --- a/vanilla/coverage/index.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - Code coverage report for All files - - - - - - - - - -
-
-

All files

-
- -
- 84.91% - Statements - 152/179 -
- - -
- 65.26% - Branches - 62/95 -
- - -
- 69.23% - Functions - 18/26 -
- - -
- 88.66% - Lines - 133/150 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
app.js -
-
84.91%152/17965.26%62/9569.23%18/2688.66%133/150
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/vanilla/coverage/prettify.css b/vanilla/coverage/prettify.css deleted file mode 100644 index b317a7c..0000000 --- a/vanilla/coverage/prettify.css +++ /dev/null @@ -1 +0,0 @@ -.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} diff --git a/vanilla/coverage/prettify.js b/vanilla/coverage/prettify.js deleted file mode 100644 index b322523..0000000 --- a/vanilla/coverage/prettify.js +++ /dev/null @@ -1,2 +0,0 @@ -/* eslint-disable */ -window.PR_SHOULD_USE_CONTINUATION=true;(function(){var h=["break,continue,do,else,for,if,return,while"];var u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var p=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var l=[p,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var x=[p,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var R=[x,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];var r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";var w=[p,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var I=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var f=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var H=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var A=[l,R,w,s+I,f,H];var e=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;var C="str";var z="kwd";var j="com";var O="typ";var G="lit";var L="pun";var F="pln";var m="tag";var E="dec";var J="src";var P="atn";var n="atv";var N="nocode";var M="(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(Z){var ad=0;var S=false;var ac=false;for(var V=0,U=Z.length;V122)){if(!(al<65||ag>90)){af.push([Math.max(65,ag)|32,Math.min(al,90)|32])}if(!(al<97||ag>122)){af.push([Math.max(97,ag)&~32,Math.min(al,122)&~32])}}}}af.sort(function(av,au){return(av[0]-au[0])||(au[1]-av[1])});var ai=[];var ap=[NaN,NaN];for(var ar=0;arat[0]){if(at[1]+1>at[0]){an.push("-")}an.push(T(at[1]))}}an.push("]");return an.join("")}function W(al){var aj=al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var ah=aj.length;var an=[];for(var ak=0,am=0;ak=2&&ai==="["){aj[ak]=X(ag)}else{if(ai!=="\\"){aj[ak]=ag.replace(/[a-zA-Z]/g,function(ao){var ap=ao.charCodeAt(0);return"["+String.fromCharCode(ap&~32,ap|32)+"]"})}}}}return aj.join("")}var aa=[];for(var V=0,U=Z.length;V=0;){S[ac.charAt(ae)]=Y}}var af=Y[1];var aa=""+af;if(!ag.hasOwnProperty(aa)){ah.push(af);ag[aa]=null}}ah.push(/[\0-\uffff]/);V=k(ah)})();var X=T.length;var W=function(ah){var Z=ah.sourceCode,Y=ah.basePos;var ad=[Y,F];var af=0;var an=Z.match(V)||[];var aj={};for(var ae=0,aq=an.length;ae=5&&"lang-"===ap.substring(0,5);if(am&&!(ai&&typeof ai[1]==="string")){am=false;ap=J}if(!am){aj[ag]=ap}}var ab=af;af+=ag.length;if(!am){ad.push(Y+ab,ap)}else{var al=ai[1];var ak=ag.indexOf(al);var ac=ak+al.length;if(ai[2]){ac=ag.length-ai[2].length;ak=ac-al.length}var ar=ap.substring(5);B(Y+ab,ag.substring(0,ak),W,ad);B(Y+ab+ak,al,q(ar,al),ad);B(Y+ab+ac,ag.substring(ac),W,ad)}}ah.decorations=ad};return W}function i(T){var W=[],S=[];if(T.tripleQuotedStrings){W.push([C,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(T.multiLineStrings){W.push([C,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{W.push([C,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(T.verbatimStrings){S.push([C,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var Y=T.hashComments;if(Y){if(T.cStyleComments){if(Y>1){W.push([j,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{W.push([j,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}S.push([C,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null])}else{W.push([j,/^#[^\r\n]*/,null,"#"])}}if(T.cStyleComments){S.push([j,/^\/\/[^\r\n]*/,null]);S.push([j,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(T.regexLiterals){var X=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");S.push(["lang-regex",new RegExp("^"+M+"("+X+")")])}var V=T.types;if(V){S.push([O,V])}var U=(""+T.keywords).replace(/^ | $/g,"");if(U.length){S.push([z,new RegExp("^(?:"+U.replace(/[\s,]+/g,"|")+")\\b"),null])}W.push([F,/^\s+/,null," \r\n\t\xA0"]);S.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[O,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[F,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[F,/^\\[\s\S]?/,null],[L,/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]);return g(W,S)}var K=i({keywords:A,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function Q(V,ag){var U=/(?:^|\s)nocode(?:\s|$)/;var ab=/\r\n?|\n/;var ac=V.ownerDocument;var S;if(V.currentStyle){S=V.currentStyle.whiteSpace}else{if(window.getComputedStyle){S=ac.defaultView.getComputedStyle(V,null).getPropertyValue("white-space")}}var Z=S&&"pre"===S.substring(0,3);var af=ac.createElement("LI");while(V.firstChild){af.appendChild(V.firstChild)}var W=[af];function ae(al){switch(al.nodeType){case 1:if(U.test(al.className)){break}if("BR"===al.nodeName){ad(al);if(al.parentNode){al.parentNode.removeChild(al)}}else{for(var an=al.firstChild;an;an=an.nextSibling){ae(an)}}break;case 3:case 4:if(Z){var am=al.nodeValue;var aj=am.match(ab);if(aj){var ai=am.substring(0,aj.index);al.nodeValue=ai;var ah=am.substring(aj.index+aj[0].length);if(ah){var ak=al.parentNode;ak.insertBefore(ac.createTextNode(ah),al.nextSibling)}ad(al);if(!ai){al.parentNode.removeChild(al)}}}break}}function ad(ak){while(!ak.nextSibling){ak=ak.parentNode;if(!ak){return}}function ai(al,ar){var aq=ar?al.cloneNode(false):al;var ao=al.parentNode;if(ao){var ap=ai(ao,1);var an=al.nextSibling;ap.appendChild(aq);for(var am=an;am;am=an){an=am.nextSibling;ap.appendChild(am)}}return aq}var ah=ai(ak.nextSibling,0);for(var aj;(aj=ah.parentNode)&&aj.nodeType===1;){ah=aj}W.push(ah)}for(var Y=0;Y=S){ah+=2}if(V>=ap){Z+=2}}}var t={};function c(U,V){for(var S=V.length;--S>=0;){var T=V[S];if(!t.hasOwnProperty(T)){t[T]=U}else{if(window.console){console.warn("cannot override language handler %s",T)}}}}function q(T,S){if(!(T&&t.hasOwnProperty(T))){T=/^\s*]*(?:>|$)/],[j,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[L,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);c(g([[F,/^[\s]+/,null," \t\r\n"],[n,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[m,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[P,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[L,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);c(g([],[[n,/^[\s\S]+/]]),["uq.val"]);c(i({keywords:l,hashComments:true,cStyleComments:true,types:e}),["c","cc","cpp","cxx","cyc","m"]);c(i({keywords:"null,true,false"}),["json"]);c(i({keywords:R,hashComments:true,cStyleComments:true,verbatimStrings:true,types:e}),["cs"]);c(i({keywords:x,cStyleComments:true}),["java"]);c(i({keywords:H,hashComments:true,multiLineStrings:true}),["bsh","csh","sh"]);c(i({keywords:I,hashComments:true,multiLineStrings:true,tripleQuotedStrings:true}),["cv","py"]);c(i({keywords:s,hashComments:true,multiLineStrings:true,regexLiterals:true}),["perl","pl","pm"]);c(i({keywords:f,hashComments:true,multiLineStrings:true,regexLiterals:true}),["rb"]);c(i({keywords:w,cStyleComments:true,regexLiterals:true}),["js"]);c(i({keywords:r,hashComments:3,cStyleComments:true,multilineStrings:true,tripleQuotedStrings:true,regexLiterals:true}),["coffee"]);c(g([],[[C,/^[\s\S]+/]]),["regex"]);function d(V){var U=V.langExtension;try{var S=a(V.sourceNode);var T=S.sourceCode;V.sourceCode=T;V.spans=S.spans;V.basePos=0;q(U,T)(V);D(V)}catch(W){if("console" in window){console.log(W&&W.stack?W.stack:W)}}}function y(W,V,U){var S=document.createElement("PRE");S.innerHTML=W;if(U){Q(S,U)}var T={langExtension:V,numberLines:U,sourceNode:S};d(T);return S.innerHTML}function b(ad){function Y(af){return document.getElementsByTagName(af)}var ac=[Y("pre"),Y("code"),Y("xmp")];var T=[];for(var aa=0;aa=0){var ah=ai.match(ab);var am;if(!ah&&(am=o(aj))&&"CODE"===am.tagName){ah=am.className.match(ab)}if(ah){ah=ah[1]}var al=false;for(var ak=aj.parentNode;ak;ak=ak.parentNode){if((ak.tagName==="pre"||ak.tagName==="code"||ak.tagName==="xmp")&&ak.className&&ak.className.indexOf("prettyprint")>=0){al=true;break}}if(!al){var af=aj.className.match(/\blinenums\b(?::(\d+))?/);af=af?af[1]&&af[1].length?+af[1]:true:false;if(af){Q(aj,af)}S={langExtension:ah,sourceNode:aj,numberLines:af};d(S)}}}if(X]*(?:>|$)/],[PR.PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],[PR.PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-handlebars",/^]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i],[PR.PR_DECLARATION,/^{{[#^>/]?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{&?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{{>?\s*[\w.][^}]*}}}/],[PR.PR_COMMENT,/^{{![^}]*}}/]]),["handlebars","hbs"]);PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\f"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],[PR.PR_COMMENT,/^(?:)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]); diff --git a/vanilla/coverage/sort-arrow-sprite.png b/vanilla/coverage/sort-arrow-sprite.png deleted file mode 100644 index 6ed6831..0000000 Binary files a/vanilla/coverage/sort-arrow-sprite.png and /dev/null differ diff --git a/vanilla/coverage/sorter.js b/vanilla/coverage/sorter.js deleted file mode 100644 index 4ed70ae..0000000 --- a/vanilla/coverage/sorter.js +++ /dev/null @@ -1,210 +0,0 @@ -/* eslint-disable */ -var addSorting = (function() { - 'use strict'; - var cols, - currentSort = { - index: 0, - desc: false - }; - - // returns the summary table element - function getTable() { - return document.querySelector('.coverage-summary'); - } - // returns the thead element of the summary table - function getTableHeader() { - return getTable().querySelector('thead tr'); - } - // returns the tbody element of the summary table - function getTableBody() { - return getTable().querySelector('tbody'); - } - // returns the th element for nth column - function getNthColumn(n) { - return getTableHeader().querySelectorAll('th')[n]; - } - - function onFilterInput() { - const searchValue = document.getElementById('fileSearch').value; - const rows = document.getElementsByTagName('tbody')[0].children; - - // Try to create a RegExp from the searchValue. If it fails (invalid regex), - // it will be treated as a plain text search - let searchRegex; - try { - searchRegex = new RegExp(searchValue, 'i'); // 'i' for case-insensitive - } catch (error) { - searchRegex = null; - } - - for (let i = 0; i < rows.length; i++) { - const row = rows[i]; - let isMatch = false; - - if (searchRegex) { - // If a valid regex was created, use it for matching - isMatch = searchRegex.test(row.textContent); - } else { - // Otherwise, fall back to the original plain text search - isMatch = row.textContent - .toLowerCase() - .includes(searchValue.toLowerCase()); - } - - row.style.display = isMatch ? '' : 'none'; - } - } - - // loads the search box - function addSearchBox() { - var template = document.getElementById('filterTemplate'); - var templateClone = template.content.cloneNode(true); - templateClone.getElementById('fileSearch').oninput = onFilterInput; - template.parentElement.appendChild(templateClone); - } - - // loads all columns - function loadColumns() { - var colNodes = getTableHeader().querySelectorAll('th'), - colNode, - cols = [], - col, - i; - - for (i = 0; i < colNodes.length; i += 1) { - colNode = colNodes[i]; - col = { - key: colNode.getAttribute('data-col'), - sortable: !colNode.getAttribute('data-nosort'), - type: colNode.getAttribute('data-type') || 'string' - }; - cols.push(col); - if (col.sortable) { - col.defaultDescSort = col.type === 'number'; - colNode.innerHTML = - colNode.innerHTML + ''; - } - } - return cols; - } - // attaches a data attribute to every tr element with an object - // of data values keyed by column name - function loadRowData(tableRow) { - var tableCols = tableRow.querySelectorAll('td'), - colNode, - col, - data = {}, - i, - val; - for (i = 0; i < tableCols.length; i += 1) { - colNode = tableCols[i]; - col = cols[i]; - val = colNode.getAttribute('data-value'); - if (col.type === 'number') { - val = Number(val); - } - data[col.key] = val; - } - return data; - } - // loads all row data - function loadData() { - var rows = getTableBody().querySelectorAll('tr'), - i; - - for (i = 0; i < rows.length; i += 1) { - rows[i].data = loadRowData(rows[i]); - } - } - // sorts the table using the data for the ith column - function sortByIndex(index, desc) { - var key = cols[index].key, - sorter = function(a, b) { - a = a.data[key]; - b = b.data[key]; - return a < b ? -1 : a > b ? 1 : 0; - }, - finalSorter = sorter, - tableBody = document.querySelector('.coverage-summary tbody'), - rowNodes = tableBody.querySelectorAll('tr'), - rows = [], - i; - - if (desc) { - finalSorter = function(a, b) { - return -1 * sorter(a, b); - }; - } - - for (i = 0; i < rowNodes.length; i += 1) { - rows.push(rowNodes[i]); - tableBody.removeChild(rowNodes[i]); - } - - rows.sort(finalSorter); - - for (i = 0; i < rows.length; i += 1) { - tableBody.appendChild(rows[i]); - } - } - // removes sort indicators for current column being sorted - function removeSortIndicators() { - var col = getNthColumn(currentSort.index), - cls = col.className; - - cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, ''); - col.className = cls; - } - // adds sort indicators for current column being sorted - function addSortIndicators() { - getNthColumn(currentSort.index).className += currentSort.desc - ? ' sorted-desc' - : ' sorted'; - } - // adds event listeners for all sorter widgets - function enableUI() { - var i, - el, - ithSorter = function ithSorter(i) { - var col = cols[i]; - - return function() { - var desc = col.defaultDescSort; - - if (currentSort.index === i) { - desc = !currentSort.desc; - } - sortByIndex(i, desc); - removeSortIndicators(); - currentSort.index = i; - currentSort.desc = desc; - addSortIndicators(); - }; - }; - for (i = 0; i < cols.length; i += 1) { - if (cols[i].sortable) { - // add the click event handler on the th so users - // dont have to click on those tiny arrows - el = getNthColumn(i).querySelector('.sorter').parentElement; - if (el.addEventListener) { - el.addEventListener('click', ithSorter(i)); - } else { - el.attachEvent('onclick', ithSorter(i)); - } - } - } - } - // adds sorting functionality to the UI - return function() { - if (!getTable()) { - return; - } - cols = loadColumns(); - loadData(); - addSearchBox(); - addSortIndicators(); - enableUI(); - }; -})(); - -window.addEventListener('load', addSorting); -- cgit v1.2.3