(hideServiceSelection = true)} on:keydown={null}> { selectedService = e.detail.value window.location.hash = `services:${e.detail.value}` hideServiceSelection = false }} on:pointerup={() => (hideServiceSelection = false)} on:focus={() => (hideServiceSelection = true)} on:blur={() => (hideServiceSelection = false)} items={[ ...servicesEntries.map(([serviceKey, service]) => { return { value: serviceKey, label: service.name } }), ]} >
{item.label}
{#if !hideServiceSelection} {selection.label} {:else} {browser.i18n.getMessage("searchService") || "Search Service"} {/if}
🮦

{ serviceOptions.enabled = e.target.checked options.set(_options) }} /> { if (e.target.checked && !_options.popupServices.includes(selectedService)) { _options.popupServices.push(selectedService) } else if (_options.popupServices.includes(selectedService)) { const index = _options.popupServices.indexOf(selectedService) if (index !== -1) _options.popupServices.splice(index, 1) } options.set(_options) }} />
(hideFrontendSelection = true)} on:keydown={null}> { serviceOptions.frontend = e.detail.value options.set(_options) hideFrontendSelection = false }} on:pointerup={() => (hideServiceSelection = false)} on:focus={() => (hideFrontendSelection = true)} on:blur={() => (hideFrontendSelection = false)} items={[ ...frontendEntries.map(([frontendId, frontend]) => ({ value: frontendId, label: frontend.name, })), ]} >
{item.label}
{#if !hideFrontendSelection} {selection.label} {:else} {browser.i18n.getMessage("search_frontend") || "Search Frontend"} {/if}
🮦