function mfBlogLoadScripts(){function n(t,e){var n,o,c;window,n=document,o="script",t=t,e=e,document.getElementById(t)||(c=n.getElementsByTagName(o)[0],(n=n.createElement(o)).async=!0,n.src="https://blog.sfapp.magefan.top/js/"+e+".js?t="+function(){const t=new Date;return t.getFullYear().toString()+"-"+(t.getMonth()+1).toString()+"-"+t.getDate().toString()}(),n.id=t,c.parentNode.insertBefore(n,c))}let o=!1;document.querySelectorAll('form[action$="/search"]').forEach(t=>{const e=t.querySelector('input[type="search"]');e&&(o=!0,e.addEventListener("keyup",function(t){n("mf-auto-cmplt-script","mfAutoCompleteSearch")}))}),o||(o=!0,document.querySelectorAll('a[href="/search"]').forEach(t=>{t.addEventListener("click",function(t){setTimeout(function(){let t=null;(t=document.querySelector('input[type="search"]'))&&t.addEventListener("keyup",function(){document.getElementById("mf-auto-cmplt-script")?t.getAttribute("data-mf-inited")||(t.setAttribute("data-mf-inited",!0),window.mfInitSearch(null,t)):n("mf-auto-cmplt-script","mfAutoCompleteSearch")})},500)})})),"/search"===window.location.pathname&&n("mf-search-page-script","mfSearchPage")}"complete"===document.readyState?mfBlogLoadScripts():document.addEventListener("DOMContentLoaded",mfBlogLoadScripts);