/**1* Incognito2*3* This program is free software: you can redistribute it and/or modify4* it under the terms of the GNU General Public License as published by5* the Free Software Foundation, either version 3 of the License, or6* (at your option) any later version.7*8* This program is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11* GNU General Public License for more details.12*13* You should have received a copy of the GNU General Public License14* along with this program. If not, see <https://www.gnu.org/licenses/>.15*/1617/*18_____ _ _ _19| __ \ | | | | | |20| |__) | ___ _ __ | |_ ___ __| | | |__ _ _21| ___/ / _ \ | '__| | __| / _ \ / _` | | '_ \ | | | |22| | | (_) | | | | |_ | __/ | (_| | | |_) | | |_| |23|_| \___/ |_| \__| \___| \__,_| |_.__/ \__, |24__/ |25|___/26_ _ _ _ _ _ _27/\ | | | | | | | \ | | | | | |28/ \ _ __ ___ ___ | |_ | |__ _ _ ___ | |_ | \| | ___ | |_ __ __ ___ _ __ | | __29/ /\ \ | '_ ` _ \ / _ \ | __| | '_ \ | | | | / __| | __| | . ` | / _ \ | __| \ \ /\ / / / _ \ | '__| | |/ /30/ ____ \ | | | | | | | __/ | |_ | | | | | |_| | \__ \ | |_ | |\ | | __/ | |_ \ V V / | (_) | | | | <31/_/ \_\ |_| |_| |_| \___| \__| |_| |_| \__, | |___/ \__| |_| \_| \___| \__| \_/\_/ \___/ |_| |_|\_\32__/ |33|___/34*/35async function support(app) {36app.search.title.style.display = 'block';37app.search.title.textContent = 'Support';38app.search.input.style.display = 'none';39app.main.support = app.createElement(40'div',41await getData(app));42app.search.back.style.display = 'inline';43app.search.back.href = '#';44};4546async function getData(app) {47const res = await fetch('./support.json');48const json = await res.json();4950const entries = [];5152for (const entry of json) {53entries.push(54app.createElement('section', [55app.createElement('span', entry.question, {56style: {57display: 'block',58'margin-bottom': '6px',59'font-size': '18px',60'font-weight': '500'61}62}),63app.createElement('p', entry.answer, {64style: {65'margin-bottom': '0'66}67})68], {69class: 'data-section'70})71)72};73return entries;74};7576export { support };7778