PageSourceSearch

https://fudomae-ent.com/wp-content/themes/theme/js/add33.js?ver=ea61d980c258025dd2b4f4057adf910f

js fudomae-ent.com collected 2026-10-06 08:08:29 UTC 6,574 bytes, 201 lines download raw bytes

1$(function(){
2  //診療時間にアイコン搭載
3  $('.header_week').each(function(){
4    var txt = $(this).html();
5    $(this).html(
6      txt.replace(/診療時間はこちら/g,'<i class="material-icons">chevron_right</i>  診療時間'));
7  });
8});
9
10$(function () {
11  $('#images').insertBefore('#contents');
12});
13
14//地図にアイコン搭載
15$(function(){
16  $('.mapSec_tomappage').each(function(){
17    var txt = $(this).html();
18    $(this).html(
19      txt.replace(/大きい地図はこちら/g,'<i class="material-icons">location_on</i> 大きい地図はこちら'));
20  });
21});
22
23//スマホにメニューのアイコンを記載
24$(function(){
25  $('#mobile a').each(function(){
26    var txt = $(this).html();
27    $(this).html(
28      txt.replace(/<img .*?src="(.*?)".*?>/g,'<i class="material-icons">menu</i>'));
29  });
30});
31
32//$(function(){
33//$('#footer').wrapAll('<div class="footercontents" />');
34//});
35
36$(function(){
37  $('table').wrap('<div class="scroll-table" />');
38});
39
40$(function(){
41  //以下まとめてfunction
42  var headerWeek = $('.header_week p');
43  if (headerWeek.length != 0) {
44    headerWeek.html(headerWeek.html().replace(/\<br\>/gi,''));
45    headerWeek.find('i').appendTo(headerWeek.find('a'));
46  }
47  //var infoData = $('.infoSec .info_date');
48  //if (infoData.length != 0) {
49  //  infoData.html(infoData.html().replace(/\[|\]|\s/gi,''));
50  //}
51  $('#searchsubmit').attr('src','https://wevery.jp/wp-content/uploads/2019/05/icon_find.png');
52  //$('.flexslider .slides').append($('.caption-wrap'));
53  for(var i = 0; i < $('.flexslider .slides .ms-image').length; i++){
54    //alert($('.caption-wrap').eq(i).html());
55    $('.flexslider .slides .ms-image').append($('.caption-wrap').eq(i).val());
56  }
57  $('#footer').append($('#footer .address'));
58
59  //$('.banner.smart_phonebottom').before($('.banner.smart_phonetop'));
60  $('#menu-main_menu').before('<div class="menu-side_top"></div>');
61
62  //$('.menu-side_top #page_search').attr('id','page_search2');
63  //$('.menu-side_top #s').attr('id','s2');
64  //$('.menu-side_top #searchsubmit').attr('id','searchsubmit2');
65  $('#mobile').on('click', function() {
66    if ($(this).hasClass('side-open')) {
67      $(this).delay(300).queue(function() {
68        $(this).removeClass('side-open').dequeue();
69        $('#header .header_tel').removeClass('side-open').dequeue();
70      });
71    } else {
72      $(this).addClass('side-open');
73      $('#header .header_tel').addClass('side-open');
74    }
75  });
76
77  $('#sidr .close').on('click', function() {
78    if ($('#mobile').hasClass('side-open')) {
79      $('#mobile').delay(300).queue(function() {
80        $('#mobile').removeClass('side-open').dequeue();
81        $('#header .header_tel').removeClass('side-open').dequeue();
82      });
83    }
84  });
85
86  $('#sidr .menu_box h2').on('click', function() {
87    $(this).toggleClass('active').next().slideToggle(400);
88  });
89
90  $('#sidr ul#menu-main_menu > li').each(function(index, element){
91    if ($(this).find('.sub-menu').length > 0) {
92      $(this).children('a').after('<div class="accordion-elm">▼</div>');
93    }
94  });
95
96  $('#sidr ul#menu-main_menu > li .accordion-elm').on('click', function() {
97    $(this).toggleClass('active').next().slideToggle(400);
98  });
99  //まとめてfunctionここまで
100});
101
102//2022.03.08 del start function.phpに移動
103//2021.03.01 add start
104//--------------------------------------------
105// main article内に「<p><a href="hogehoge.com"></p>」の形式があったら
106// <a>に自動的に class="css_btn_class" を追加
107//--------------------------------------------
108//$(function(){
109//  //正規表現を指定
110//  var match_str = new RegExp('^<a (.*)href=(.*)>([^<]*[^>])</a>$', 'gm');
111//  var match_str_except = new RegExp('</a>[^.*]<a(.*)', 'gm');
112//  //pタグの中から、正規表現で一致する対象を検索
113//  $('#main article p').each(function(index, element){
114//    if($(element).html().match(match_str)){
115//      //<a>が連続している場合に、間に他の文章がなければボタンにする
116//      if(!$(element).html().match(match_str_except)){
117//        //「class=css_btn_class」を付与
118//        $(element).children('a').addClass('css_btn_class');
119//      }
120//    }
121//  });
122//});
vendor: 2,254 bytes, lines 123-201
123//2021.03.01 add end
124//2022.03.08 del end
125
126//detailsをIEに対応させる
127window.onload = function(){
128  void (function (root, factory) {
129    if (typeof define === 'function' && define.amd) define(factory)
130    else if (typeof exports === 'object') module.exports = factory()
131    else factory()
132  }(this, function () {
133    var DETAILS = 'details'
134    var SUMMARY = 'summary'
135
136    var supported = checkSupport()
137    if (supported) return
138
139    // Add a classname
140    document.documentElement.className += ' no-details'
141
142    window.addEventListener('click', clickHandler)
143
144    injectStyle('details-polyfill-style',
145      'html.no-details ' + DETAILS + ':not([open]) > :not(' + SUMMARY + ') { display: none; }\n' +
146      'html.no-details ' + DETAILS + ' > ' + SUMMARY + ':before { content: "\u25b6"; display: inline-block; font-size: .8em; width: 1.5em; }\n' +
147      'html.no-details ' + DETAILS + '[open] > ' + SUMMARY + ':before { content: "\u25bc"; }')
148
149    /*
150    * Click handler for `<summary>` tags
151    */
152
153    function clickHandler (e) {
154      if (e.target.nodeName.toLowerCase() === 'summary') {
155        var details = e.target.parentNode
156        if (!details) return
157
158        if (details.getAttribute('open')) {
159          details.open = false
160          details.removeAttribute('open')
161        } else {
162          details.open = true
163          details.setAttribute('open', 'open')
164        }
165      }
166    }
167
168    /*
169    * Checks for support for `<details>`
170    */
171
172    function checkSupport () {
173      var el = document.createElement(DETAILS)
174      if (!('open' in el)) return false
175
176      el.innerHTML = '<' + SUMMARY + '>a</' + SUMMARY + '>b'
177      document.body.appendChild(el)
178
179      var diff = el.offsetHeight
180      el.open = true
181      var result = (diff != el.offsetHeight)
182
183      document.body.removeChild(el)
184      return result
185    }
186
187    /*
188    * Injects styles (idempotent)
189    */
190
191    function injectStyle (id, style) {
192      if (document.getElementById(id)) return
193
194      var el = document.createElement('style')
195      el.id = id
196      el.innerHTML = style
197
198      document.getElementsByTagName('head')[0].appendChild(el)
199    }
200  }))
201}; // eslint-disable-line semi

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.