(function () { 'use strict'; function load(config = {}) { document.getElementById('enableWebhook').checked = config.enabled === true; } function read() { return { enabled: document.getElementById('enableWebhook').checked }; } window.FormWebhookSettings = { load, read }; })();