PageSourceSearch

https://aidea.biz/77FYYpY5/wp-content/themes/aidea/js/script.min.js

js aidea.biz collected 2026-10-08 07:37:47 UTC 3,340 bytes, 1 lines download raw bytes

1"use strict";function _createForOfIteratorHelper(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,i=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){i=!0,a=e},f:function(){try{l||null==r.return||r.return()}finally{if(i)throw a}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var _step,domain=document.domain,regexp=new RegExp(domain),links=document.getElementsByTagName("a"),_iterator=_createForOfIteratorHelper(links);try{for(_iterator.s();!(_step=_iterator.n()).done;){var link=_step.value;regexp.test(link.href)?link.href.match(/\.pdf/)&&(link.setAttribute("target","_blank"),link.setAttribute("rel","noopener")):(link.href.match(/^https:\/\//)||link.href.match(/^http:\/\//))&&(link.setAttribute("target","_blank"),link.setAttribute("rel","noopener"))}}catch(e){_iterator.e(e)}finally{_iterator.f()}var scrollValue,menuBtn=document.getElementById("js-menu-toggle"),gnav=document.getElementById("js-global-menu"),logo=document.getElementById("js-logo"),body=document.querySelector("body");menuBtn.addEventListener("click",(function(){menuBtn.classList.toggle("open"),gnav.classList.toggle("open"),logo.classList.toggle("open"),body.classList.toggle("open"),body.classList.contains("open")?(scrollValue=window.pageYOffset,body.style.top=-scrollValue+"px"):(body.style.removeProperty("top"),window.scrollTo(0,scrollValue))}));var menus=document.querySelectorAll(".global__menu > ul > li > a");menus.forEach((function(e){e.addEventListener("click",(function(){body.classList.contains("open")&&(body.classList.remove("open"),gnav.classList.remove("open"))}))})),window.matchMedia("(max-width: 970px)").matches&&gsap.from(".l-header",{duration:.8,scrollTrigger:{trigger:"body",start:"top+=60 top",toggleClass:{targets:".l-header",className:"active"}}}),window.onload=function(){""!=window.location.hash&&document.getElementById(window.location.hash.slice(1)).scrollIntoView(!0)},document.addEventListener("dblclick",(function(e){e.preventDefault()}),{passive:!1});var lastScrollTop=0;gsap.to(".js-header",{scrollTrigger:{trigger:"body",start:"top+=50 top",endTrigger:"footer",end:window.innerWidth<=869?"bottom top":"bottom+=3500 top",onUpdate:function(e){var t=e.scroller.scrollTop||window.pageYOffset;0===t?document.querySelector(".js-header").classList.remove("hide"):t>lastScrollTop?document.querySelector(".js-header").classList.add("hide"):t<lastScrollTop&&document.querySelector(".js-header").classList.remove("hide"),lastScrollTop=t}}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.