File: //usr/lib/python3/dist-packages/trac/search/__pycache__/web_ui.cpython-310.pyc
o
�k�`�- � @ s� d dl Z d dlZd dlmZmZ d dlT d dlmZ d dlm Z d dl
mZmZ d dl
mZmZmZmZ d dlmZ d d lmZ d d
lmZ d dlmZ d dlmZmZmZmZmZm Z m!Z!m"Z" d d
l#m$Z$ d dl%m&Z& G dd� de'�Z(dS )� N)� IntOption�
ListOption)�*)�IPermissionRequestor)�
ISearchSource)�format_datetime� user_time)�Markup�escape�find_element�tag)� Paginator)�quote_query_string)�_)�IRequestHandler)�INavigationContributor�ITemplateProvider� accesskey�add_link�
add_notice�add_stylesheet�add_warning�web_context)�IWikiSyntaxProvider)�extract_linkc @ s� e Zd ZdZeeeeee � e
e�ZdZ
edddd�Zedddd �Zd
d� Zdd
� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Z d(d)� Z!d*d+� Z"d,S )-�SearchModulez$Controller for the search sub-system�
�search�min_query_length� zIMinimum length of query string allowed when performing a search.
�default_disabled_filtersap Specifies which search filters should be disabled by
default on the search page. This will also restrict the
filters for the quick search function. The filter names
defined by default components are: `wiki`, `ticket`,
`milestone` and `changeset`. For plugins, look for
their implementation of the ISearchSource interface, in
the `get_search_filters()` method, the first member of
returned tuple. Once disabled, search filters can still
be manually enabled by the user on the search page.
)�docc C s dS �Nr � ��self�reqr# r# �4/usr/lib/python3/dist-packages/trac/search/web_ui.py�get_active_navigation_itemB � z'SearchModule.get_active_navigation_itemc c s<