PageSourceSearch

https://www.mitsubishielectric.com.cn/etc.clientlibs/melco-cms/cli…nit.min.7d4efcb1aba909523d45806596bca263.js

js mitsubishielectric.com.cn collected 2026-10-05 07:36:27 UTC 3,138 bytes, 111 lines download raw bytes

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.