
    i!                         d dl Zd dlmZ d dlmZmZ ej                  rd dlmZ ej                   G d de             Z
y)    N)gettext)Plugin
PluginInfo)	PluginCfgc                   (     e Zd ZdZdZd fdZ xZS )
SXNGPluginzOAutomatically loads the next page when scrolling to bottom of the current page.infiniteScrollc                     t         |   |       t        | j                  t	        d      t	        d      d      | _        y )NzInfinite scrollzNAutomatically loads the next page when scrolling to bottom of the current pageui)idnamedescriptionpreference_section)super__init__r   r   r   info)selfplg_cfg	__class__s     ./root/searxng/searx/plugins/infinite_scroll.pyr   zSXNGPlugin.__init__   s8    !ww*+ pq#	
	    )r   r   returnN)__name__
__module____qualname____doc__r   r   __classcell__)r   s   @r   r   r      s    Y	B
 
r   r   )typingtflask_babelr   searx.pluginsr   r   TYPE_CHECKINGr   finalr    r   r   <module>r%      s9      ,??' 
 
 	
r   