1(function() { 2 'use strict'; 3 var MEL_YOUTUBE_SETTINGS = window.MEL_YOUTUBE_SETTINGS || {}; 4 var MEL_CMS_SETTINGS = window.MEL_CMS_SETTINGS || {}; 5 var MEG_GS = window.MEG_GS; 6 7 // JS ã® Global ãªè¨å® 8 // HTMLä¸ã§äºåã«è¨å®ããã¦ããå ´åã¯ãã®å 容ãåªå ãã 9 var MEL_SETTINGS = MEG_GS.helper.merge( 10 { 11 enable_fly_out: true 12 }, 13 window.MEL_SETTINGS 14 ); 15 16 // Header åæå 17 MEG_GS.header = new MEG_GS.Header({ 18 enableFlyOut: MEL_SETTINGS.enable_fly_out, 19 currentDirectory: MEL_SETTINGS.current_directory, 20 regionsJsonPath: null, 21 enableLangURL: false 22 }); 23 24 // Header åæå 25 MEG_GS.footer = new MEG_GS.Footer(); 26 27 // script è¦ç´ ã® layz load å®è¡ 28 new MEG_GS.LazyLoadScripts({ 29 $el: document.querySelectorAll('script[data-lazy-load-sns-plugin]') 30 }); 31 32 new MEG_GS.LazyLoadBackground({ 33 $el: document.querySelectorAll('.lazyload[data-bg-style]') 34 }); 35 36 // ã°ãã¼ãã«ããã²ã¼ã·ã§ã³ã®é«ãæã 37 new MEG_GS.EqHeight({ 38 root: '.gs24-LocalNav', 39 target: 40 '.gs24-LocalNavList--Root, .gs24-LocalNavItem.is-current > .gs24-LocalNavList', 41 responsive: true // true ã«ããã¨ã¦ã£ã³ãã¦ãªãµã¤ãºæã«åå®è¡ãfalse ã«ããã¨ãã¼ã¸è¡¨ç¤ºæã®ã¿å®è¡ 42 }); 43 44 // Smooth Scroll ã®åæå 45 new MEG_GS.SmoothScroll(); 46 47 // Youtube Channel ã®è¡¨ç¤º 48 new MEG_GS.GetYoutubeChannel({ 49 root: '[data-js-gs24-youtube]', 50 settings: window.MEL_YOUTUBE_SETTINGS 51 }); 52 53 // MicroMacro ã®åæå 54 new MEG_GS.MicroMacro({ 55 $el: document.querySelectorAll('[data-js-gs24-micro-macro]') 56 }); 57 58 new MEG_GS.Accordion({ 59 $el: document.querySelectorAll('[data-js-gs24-accordion]') 60 }); 61 62 // PullDownLink ã®è¨å® 63 new MEG_GS.PullDownLink({ 64 $el: document.querySelectorAll('select[data-js-gs24-pulldown-link]') 65 }); 66 67 // ResponsiveTable 68 // data-js-gs24-responsive-table 69 new MEG_GS.ResponsiveTable({ 70 $el: document.querySelectorAll('[data-js-gs24-responsive-table]') 71 }); 72 73 // ç»åã«ä¾åããã®ã§å®è¡é ãã¦åé¡ãªã 74 new MEG_GS.AdjustCaptionWidth({ 75 $el: document.querySelectorAll('[data-js-gs24-adjust-caption-width]') 76 }); 77 78 // RelatedLinks ã®åæå 79 new MEG_GS.RelatedLinks({ root: '[data-js-gs24-related-slide]' }); 80 81 // ModalBanner ã®åæå 82 if ( 83 window.MEL_SETTINGS.country === 'TH' && 84 window.MEL_SETTINGS.dialogContentPath 85 ) { 86 new MEG_GS.ModalBanner({ 87 country: window.MEL_SETTINGS.country, 88 contentPath: window.MEL_SETTINGS.dialogContentPath, 89 beforeHideDialog: function () { 90 const $header = document.querySelector('.gs24-Header'); 91 const $main = document.querySelector('.gs24-Main'); 92 const $footer = document.querySelector('.gs24-Footer'); 93 94 if ($header) $header.classList.add('show'); 95 if ($main) $main.classList.add('show'); 96 if ($footer) $footer.classList.add('show'); 97 } 98 }) 99 } 100})(); 101 102// INå¤æå¯¾å¿ 103(function convertINtoID() { 104 document.addEventListener("DOMContentLoaded", function () { 105 const abbr = document.querySelector('a[hreflang="in"] abbr[title]'); 106 if (abbr && abbr.textContent.trim() === "IN") { 107 abbr.textContent = "ID"; 108 abbr.style.visibility = "visible"; 109 } 110 }); 111 })();
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.