import{getAttributesStringValue as a,toAttribute as t}from"../otlp.js";const r=e=>[t("cloudevents.event_data.search.method",a(e.get("redocly.event_data.method")))],d=e=>[t("cloudevents.event_data.search.ai.object","search.ai"),t("cloudevents.event_data.search.ai.question",a(e.get("redocly.event_data.question"))),t("cloudevents.event_data.search.ai.answer",a(e.get("redocly.event_data.answer"))),t("cloudevents.event_data.search.ai.resources",a(e.get("redocly.event_data.resources")))],c=e=>[t("cloudevents.event_data.search.query","search.query"),t("cloudevents.event_data.search.query",a(e.get("redocly.event_data.query"))),t("cloudevents.event_data.search.result_count",a(e.get("redocly.event_data.result_count")))],o=e=>[t("cloudevents.event_data.search.query",a(e.get("redocly.event_data.query"))),t("cloudevents.event_data.search.url",a(e.get("redocly.event_data.url"))),t("cloudevents.event_data.search.total_results",a(e.get("redocly.event_data.total_results"))),t("cloudevents.event_data.search.index",a(e.get("redocly.event_data.index"))),t("cloudevents.event_data.search.search_engine",a(e.get("redocly.event_data.search_engine")))],v=e=>[t("cloudevents.event_data.search.query",a(e.get("redocly.event_data.query"))),t("cloudevents.event_data.search.index",a(e.get("redocly.event_data.index")))];export{d as handleSearchAiQueryEvent,r as handleSearchOpenedEvent,c as handleSearchQueryEvent,v as handleSearchRecentClickedEvent,o as handleSearchResultClickedEvent};
