window.searx=function(t,a){"use strict";if(t.Element){(function(e){e.matches=e.matches||e.matchesSelector||e.webkitMatchesSelector||e.msMatchesSelector||function(e){vart=this,n=(t.parentNode||t.document).querySelectorAll(e),i=-1;while(n[++i]&&n[i]!=t);return!!n[i]}})(Element.prototype)}functiono(e,t,n){try{e.call(t,n)}catch(e){console.log(e)}}vars=window.searx||{};s.on=function(i,e,r,t){t=t||false;if(typeofi!=="string"){i.addEventListener(e,r,t)}else{a.addEventListener(e,function(e){vart=e.target||e.srcElement,n=false;while(t&&t.matches&&t!==a&&!(n=t.matches(i)))t=t.parentElement;if(n)o(r,t,e)},t)}};s.ready=function(e){if(document.readyState!="loading"){e.call(t)}else{t.addEventListener("DOMContentLoaded",e.bind(t))}};s.http=function(e,t,n){vari=newXMLHttpRequest,r=function(){},a=function(){},o={then:function(e){r=e;returno},catch:function(e){a=e;returno}};try{i.open(e,t,true);i.onload=function(){if(i.status==200){r(i.response,i.responseType)}else{a(Error(i.statusText))}};i.onerror=function(){a(Error("Network Error"))};i.onabort=function(){a(Error("Transaction is aborted"))};i.send()}catch(e){a(e)}returno};s.loadStyle=function(e){vart=s.static_path+e,n="style_"+e.replace(".","_"),i=a.getElementById(n);if(i===null){i=a.createElement("link");i.setAttribute("id",n);i.setAttribute("rel","stylesheet");i.setAttribute("type","text/css");i.setAttribute("href",t);a.body.appendChild(i)}};s.loadScript=function(e,t){varn=s.static_path+e,i="script_"+e.replace(".","_"),r=a.getElementById(i);if(r===null){r=a.createElement("script");r.setAttribute("id",i);r.setAttribute("src",n);r.onload=t;r.onerror=function(){r.setAttribute("error","1")};a.body.appendChild(r)}elseif(!r.hasAttribute("error")){try{t.apply(r,[])}catch(e){console.log(e)}}else{console.log("callback not executed : script '"+n+"' not loaded.")}};s.insertBefore=function(e,t){element.parentNode.insertBefore(e,t)};s.insertAfter=function(e,t){t.parentNode.insertBefore(e,t.nextSibling)};s.on(".close","click",function(e){vart=e.target||e.srcElement;this.parentNode.classList.add("invisible")});returns}(window,document);(function(e){if(typeofexports==="object"&&typeofmodule!=="undefined"){module.exports=e()}elseif(typeofdefine==="function"&&define.amd){define([],e)}else{vart;if(typeofwindow!=="undefined"){t=window}elseif(typeofglobal!=="undefined"){t=global}elseif(typeofself!=="undefined"){t=self}else{t=this}t.AutoComplete=e()}})(function(){vare,t,n;returnfunctiona(o,s,l){functionu(n,e){if(!s[n]){if(!o[n]){vart=typeofrequire=="function"&&require;if(!e&&t)returnt(n,!0);if(c)returnc(n,!0);vari=newError("Cannot find module '"+n+"'");throwi.code="MODULE_NOT_FOUND",i}varr=s[n]={exports:{}};o[n][0].call(r.exports,function(e){vart=o[n][1][e];returnu(t?t:e)},r,r.exports,a,o,s,l)}returns[n].exports}varc=typeofrequire=="function"&&require;for(vare=0;e<l.length;e++)u(l[e]);returnu}({1:[function(e,t,n){