1var module_210435748623=void function(){var SP_SUBMIT_ICON_URL="https://mgw-ryoden-8118932.hs-sites.com/hubfs/raw_assets/public/ryoden-renewal/images/search_black.svg";function injectIcons(){var injected=!1;return document.querySelectorAll(".header .mf_finder_searchBox_items").forEach(function(el){if(!el.querySelector(":scope > .header__main__content__above__search__submit__icon--pc")){var span=document.createElement("span");span.className="header__main__content__above__search__submit__icon--pc",el.appendChild(span),injected=!0}}),document.querySelectorAll(".header .mf_finder_searchBox_query_wrap").forEach(function(el){if(!el.querySelector(":scope > .header__main__content__above__search__submit__icon--pc--close")){var span=document.createElement("span");span.className="header__main__content__above__search__submit__icon--pc--close",el.appendChild(span),injected=!0}}),document.querySelectorAll(".header .mf_finder_searchBox_submit").forEach(function(el){var img;el.querySelector(":scope > .header__main__content__above__search__submit__icon--sp")||(el.appendChild(((img=document.createElement("img")).className="header__main__content__above__search__submit__icon--sp",img.src=SP_SUBMIT_ICON_URL,img.width=24,img.height=24,img.alt="",img.addEventListener("mouseenter",function(){img.src="https://mgw-ryoden-8118932.hs-sites.com/hubfs/raw_assets/public/ryoden-renewal/images/search_primary.svg"}),img.addEventListener("mouseleave",function(){img.src=SP_SUBMIT_ICON_URL}),img)),injected=!0)}),document.querySelectorAll(".header .mf_finder_searchBox").forEach(function(box){var submit=box.querySelector(".mf_finder_searchBox_submit"),wrap=box.querySelector(".mf_finder_searchBox_query_wrap");submit&&wrap&&submit.parentElement!==wrap&&(wrap.appendChild(submit),injected=!0)}),injected}function fadeIn(el,displayValue){el&&(el._fadeTimer&&clearTimeout(el._fadeTimer),el.style.transition="",el.style.opacity="0",el.style.display=displayValue||"block",el.offsetWidth,el.style.transition="opacity 300ms",el.style.opacity="1")}function fadeOut(el){el&&(el._fadeTimer&&clearTimeout(el._fadeTimer),el.style.transition="opacity 300ms",el.style.opacity="0",el._fadeTimer=setTimeout(function(){el.style.display="none"},300))}var clickBound=!1;function bindClicks(){clickBound||(clickBound=!0,document.addEventListener("click",function(e){var pcIcon=e.target.closest(".header__main__content__above__search__submit__icon--pc"),closeIcon=e.target.closest(".header__main__content__above__search__submit__icon--pc--close");if(pcIcon&&!closeIcon)return document.querySelectorAll(".header .mf_finder_searchBox_query_wrap").forEach(function(el){fadeIn(el,"block")}),document.querySelectorAll(".header__main__content__above__search__submit__icon--pc--close").forEach(function(el){fadeIn(el,"inline")}),void document.querySelectorAll(".header__main__content__above__search__submit__icon--sp").forEach(function(el){el.style.visibility="visible",el.style.opacity="1"});closeIcon&&(document.querySelectorAll(".header .mf_finder_searchBox_query_wrap").forEach(fadeOut),document.querySelectorAll(".header__main__content__above__search__submit__icon--pc--close").forEach(fadeOut),document.querySelectorAll(".header__main__content__above__search__submit__icon--sp").forEach(function(el){el.style.visibility="hidden",el.style.opacity="0"}))}))}function init(){!function(){var items=document.querySelectorAll(".header__nav-item[data-nav-url]");if(items.length){var current=new URL(window.location.href),currentPath=current.pathname.replace(/\/+$/,"");items.forEach(function(li){var rawUrl=li.getAttribute("data-nav-url")||"";if(rawUrl){var itemUrl;try{itemUrl=new URL(rawUrl,window.location.origin)}catch(e){return}if(itemUrl.hostname===current.hostname&&itemUrl.pathname.replace(/\/+$/,"")===currentPath){var itemParams=itemUrl.searchParams,currentParams=current.searchParams,itemKeys=Array.from(itemParams.keys()),match=!0;0===itemKeys.length?Array.from(currentParams.keys()).length>0&&(match=!1):itemParams.forEach(function(value,key){currentParams.get(key)!==value&&(match=!1)}),match&&li.classList.add("is-active")}}})}}(),document.querySelector(".header .mf_finder_searchBox_items")&&(injectIcons(),bindClicks()),new MutationObserver(function(){document.querySelector(".header .mf_finder_searchBox_items")&&injectIcons()&&bindClicks()}).observe(document.body,{childList:!0,subtree:!0})}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",init):init()}(); 2//# sourceURL=https://8118932.fs1.hubspotusercontent-na1.net/hubfs/8118932/hub_generated/module_assets/1/210435748623/1782270998921/module_header.js
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.