{ this.updateCount() }, 50) }, get isNotEmpty() { return this.selectedKeywords.size > 0 }, updateCount() { this.count.articles = document.querySelectorAll(".article-wrapper:not(.hidden) .card[data-type=\"article\"]").length this.count.thematics = document.querySelectorAll(".article-wrapper:not(.hidden) .card[data-type=\"dossier\"]:not(.hidden .card)").length }, itemsPerKeyword(keyword) { return this.keywordsCount[keyword]; }, init() { const query = "patrimoine"; if (query.length > 0) { this.selectedKeywords.add(query) } } }' x-init=" window.addEventListener('toggleKeyword', (event) => { toggleKeyword(event.explicitOriginalTarget.textContent) }) init() " >
this.keywords.includes(keyword)); return isKeywordsMatching || this.selectedKeywords.size === 0; } }'>