async function anonymous(__self,scope ) { with (scope) { __self.result = $nextTick(() => { for (element of document.getElementsByClassName('font-serif')) { element.style.visibility = 'visible' } searchHistory = getSearchHistory() window.user_uuid = Cookies.get('user_uuid') if (! window.user_uuid) { if (window.crypto && window.crypto.randomUUID) { window.user_uuid = window.crypto.randomUUID() } else { const generateUUID = () => { let d = new Date().getTime() let d2 = ((typeof performance !== 'undefined') && performance.now && (performance.now()*1000)) || 0 return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => { let r = Math.random() * 16 if (d > 0) { r = (d + r) % 16 | 0 d = Math.floor(d / 16) } else { r = (d2 + r) % 16 | 0 d2 = Math.floor(d2 / 16) } return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16) }); } window.user_uuid = generateUUID() } Cookies.set('user_uuid', window.user_uuid, { expires: 365 }) } if (! window.localStorage.getItem('slot')) { window.localStorage.setItem('slot', Math.floor(Math.random() * 12) + 1); } const iframes = document.querySelectorAll('iframe[data-src]') let iframe for (iframe of iframes) { iframe.setAttribute('src', iframe.getAttribute('data-src')) } setInterval(() => { currentSearchPlaceholderIndex = currentSearchPlaceholderIndex + 1 < searchPlaceholderTexts.length ? currentSearchPlaceholderIndex + 1 : 0 }, 3000) }) }; __self.finished = true; return __self.result; }