1const calcLogoMargin=()=>{const announceBarHeight=document.querySelector(".announcement-bar-section")?document.querySelector(".announcement-bar-section").clientHeight:0,currentScrollTop=window.scrollY,logoElem=document.querySelector(".header__heading-logo-wrapper");window.matchMedia("(max-width: 989px)").matches?logoElem.style.marginTop="2px":currentScrollTop-(announceBarHeight-40)<0?logoElem.style.marginTop="-25px":logoElem.style.marginTop="2px";const guideList=document.getElementById("user-guide-list");guideList&&(currentScrollTop-(announceBarHeight-40)<0?guideList.style.display="block":guideList.style.display="none")};window.addEventListener("DOMContentLoaded",()=>{const guideList=document.getElementById("user-guide-list");if(guideList){const guideListHTML=guideList.outerHTML;guideList.remove(),document.querySelector(".section-header").insertAdjacentHTML("afterbegin",guideListHTML),document.querySelector("#user-guide-opner .c-icon-wrapper").removeAttribute("hidden")}});const userGuideOpen=()=>{const guideList=document.getElementById("user-guide-list");guideList&&(guideList.classList.contains("is-open")?guideList.classList.remove("is-open"):guideList.classList.add("is-open"))},closeDrawer=()=>{const themeCloseBtn=document.querySelector("#Details-menu-drawer-container > summary");themeCloseBtn&&themeCloseBtn.click()},openHeaderDrawer=(_this,_drawerId)=>{_this.classList.contains("is-active")?_this.classList.remove("is-active"):_this.classList.add("is-active");const drawerElem=document.getElementById(_drawerId),bodyElem=document.querySelector("body");drawerElem.classList.contains("is-open")?(drawerElem.closest(".mega-menu").classList.remove("is-open"),drawerElem.classList.remove("is-open"),bodyElem.classList.remove("is-scroll-fixed-for-mega-menu")):(drawerElem.closest(".mega-menu").classList.add("is-open"),drawerElem.classList.add("is-open"),bodyElem.classList.add("is-scroll-fixed-for-mega-menu"))};window.addEventListener("resize",()=>{const drawerOpnerItems=document.querySelectorAll(".mega-menu__content-opner"),bodyElem=document.querySelector("body");drawerItems=document.querySelectorAll(".mega-menu__content"),mediaQuery=window.matchMedia("(max-width: 989px)"),mediaQuery.matches&&(drawerOpnerItems.forEach(elem=>elem.classList.remove("is-active")),bodyElem.classList.remove("is-scroll-fixed-for-mega-menu"),drawerItems.forEach(elem=>{elem.closest(".mega-menu").classList.remove("is-open"),elem.classList.remove("is-open")}))});const charToFuzzy=str=>{let returnStr="";returnStr=str.replace(/[\u3041-\u3096]/g,function(match){var char=match.charCodeAt(0)+96;return String.fromCharCode(char)});const ignoreChars=/[\s!"#ã¼ã»ï½¥$%&'()\*\+\-\.,\/:;<=>?@\[\\\]^_`{|}~]/g;return returnStr=returnStr.replace(ignoreChars,""),returnStr=returnStr.replace(/[ï¼-ï¼]/g,function(s){return String.fromCharCode(s.charCodeAt(0)-65248)}),returnStr=returnStr.replace(/ã¡|ã£|ã¥|ã§|ã©|ã|ã£|ã¥|ã§|ã®|ãµ|ã¶/g,function(s){return s.replace(/ã¡/g,"\u30A2").replace(/ã£/g,"\u30A4").replace(/ã¥/g,"\u30A6").replace(/ã§/g,"\u30A8").replace(/ã©/g,"\u30AA").replace(/ã/g,"\u30C4").replace(/ã£/g,"\u30E4").replace(/ã¥/g,"\u30E6").replace(/ã§/g,"\u30E8").replace(/ã®/g,"\u30EF")}),returnStr},charToSynonym=str=>{let returnStr=str;const synonymList=JSON.parse(document.getElementById("synonymKeywords").textContent);if(str.length>0){for(const[key,value]of Object.entries(synonymList))if(value.split(",").find(valueItem=>charToFuzzy(valueItem).includes(str))){returnStr=key;break}}return returnStr},predictedKeywords=JSON.parse(document.getElementById("predictedKeywords").textContent),createAutoComplete=_selector=>{const autoCompleteJS=new autoComplete({selector:_selector,placeHolder:"\u30AD\u30FC\u30EF\u30FC\u30C9\u3092\u5165\u529B \u203B\u3042\u3044\u307E\u3044\u691C\u7D22\u53EF",data:{src:predictedKeywords,cache:!0,filter:list=>{const results=[],resultsStartsWith=[],resultsPartial=[];return list.forEach(item=>{const inputValue=charToFuzzy(autoCompleteJS.input.value);charToFuzzy(item.value).startsWith(inputValue)?resultsStartsWith.push(item):resultsPartial.push(item)}),results.push(...resultsStartsWith),results.push(...resultsPartial),results}},resultItem:{highlight:!1},submit:!0,events:{input:{selection:event=>{const selection=event.detail.selection.value;autoCompleteJS.input.value=selection},focus:event=>{const inputValue=autoCompleteJS.input.value;autoCompleteJS.start()}}},threshold:0,resultsList:{maxResults:10},searchEngine:(query,record)=>
1{if(charToFuzzy(record).includes(charToSynonym(charToFuzzy(query))))return record}})};document.addEventListener("DOMContentLoaded",()=>{createAutoComplete("#Search-In-Modal-1"),createAutoComplete("#c-free-word-input"),createAutoComplete("#c-free-word-input--mobile")}); 2//# sourceMappingURL=/cdn/shop/t/3/assets/custom-header.js.map?v=75221662258842340041749598611
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.