function e(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0})}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},r={},i={},o=t.parcelRequire94c2;null==o&&((o=function(e){if(e in r)return r[e].exports;if(e in i){var t=i[e];delete i[e];var o={id:e,exports:{}};return r[e]=o,t.call(o.exports,o,o.exports),o.exports}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=function(e,t){i[e]=t},t.parcelRequire94c2=o);var n=o.register;n("5DCgy",function(t,r){e(t.exports,"ConfigData",()=>n);var i=o("c3q6z");class n{dataStore={};constructor(e=[],t={}){let r={};for(let t of e)r[t.theme]={header:t.theme,visible:!0,expanded:!1,sections:{}};for(let i of e)r[i.theme].sections[i.section]={header:i.section,visible:!0,expanded:!1,configSettings:{},tableOpen:t[i.section],tableClose:"</table>"};for(let t of e)r[t.theme].sections[t.section].configSettings[t.configKey]={visible:!0,html:t.html,helpText:(0,i.stripHtml)(t.helpText)};this.setDataStore(r)}isEmpty(){for(let[e,t]of Object.entries(this.dataStore))if(t.visible)return!1;return!0}getDataStore(){return this.dataStore}configSearch(e){let t=structuredClone(this.getDataStore());for(let r of Object.values(t)){let t=r.header,o=!1;for(let n of(r.visible=(0,i.strKeywordSearch)(t,e),r.expanded=r.visible,Object.values(r.sections))){let s=n.header,l=!1;for(let[o,a]of(n.visible=(0,i.strKeywordSearch)([s,t].join(" "),e)||r.visible,n.expanded||=(0,i.strKeywordSearch)([s,t].join(" "),e),Object.entries(n.configSettings)))a.visible=(0,i.strKeywordSearch)([t,s,o,a.helpText].join(" "),e)||n.visible,l||=a.visible,n.expanded||=(0,i.strKeywordSearch)([t,s,o,a.helpText].join(" "),e);n.visible||=l,o||=n.visible,r.expanded||=n.expanded}r.visible||=o}return new s(t)}setDataStore(e){this.dataStore=e}}class s extends n{constructor(e){super(),this.setDataStore(e)}}}),n("c3q6z",function(t,r){function i(e){let t=document.createElement("DIV");return t.innerHTML=e,t.textContent||t.innerText||""}function o(e,t){let r=t.toLowerCase().trim().split(" ").filter(e=>!!e),i=e.toLowerCase(),o=!0;for(let e of r)o&&=i.includes(e);return o}async function n(e){return new Promise(t=>{setTimeout(()=>t(),e)})}e(t.exports,"stripHtml",()=>i),e(t.exports,"strKeywordSearch",()=>o),e(t.exports,"getDelay",()=>n)}),o("5DCgy");
//# sourceMappingURL=Data.js.map
