1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17$(function() { 18 $('.plgwv_tab_01').each(function() { 19 var $container = $(this); 20 21 // åæè¨å®ï¼æåã®ã¿ãããã«ã®ã¿è¡¨ç¤º 22 $container.find('.tab_panel').hide(); 23 $container.find('.tab_panel').eq(0).show(); 24 25 // ã¿ãã¯ãªãã¯æã®æå 26 $container.find('.tab_menu .tab').click(function() { 27 var index = $(this).data('tab'); 28 29 // ã¯ãªãã¯ãããã¿ãã®ããã«ã表示ãä»ãé表示 30 $container.find('.tab_panel').hide(); 31 $container.find('.tab_panel').eq(index).fadeIn(); 32 33 // ã¿ãã®ã¹ã¿ã¤ã«ãæ´æ° 34 $container.find('.tab').removeClass('selected'); 35 $(this).addClass('selected'); 36 }); 37 }); 38}); 39$(function() { 40 $('.plgwv_tab_02').each(function() { 41 var $container = $(this); 42 43 // åæè¨å®ï¼æåã®ã¿ãããã«ã®ã¿è¡¨ç¤º 44 $container.find('.tab_panel').hide(); 45 $container.find('.tab_panel').eq(0).show(); 46 47 // ã¿ãã¯ãªãã¯æã®æå 48 $container.find('.tab_menu .tab').click(function() { 49 var index = $(this).data('tab'); 50 51 // ã¯ãªãã¯ãããã¿ãã®ããã«ã表示ãä»ãé表示 52 $container.find('.tab_panel').hide(); 53 $container.find('.tab_panel').eq(index).fadeIn(); 54 55 // ã¿ãã®ã¹ã¿ã¤ã«ãæ´æ° 56 $container.find('.tab').removeClass('selected'); 57 $(this).addClass('selected'); 58 }); 59 }); 60}); 61$(function() { 62 $('.plgwv_tab_03').each(function() { 63 var $container = $(this); 64 65 // åæè¨å®ï¼æåã®ã¿ãããã«ã®ã¿è¡¨ç¤º 66 $container.find('.tab_panel').hide(); 67 $container.find('.tab_panel').eq(0).show(); 68 69 // ã¿ãã¯ãªãã¯æã®æå 70 $container.find('.tab_menu .tab').click(function() { 71 var index = $(this).data('tab'); 72 73 // ã¯ãªãã¯ãããã¿ãã®ããã«ã表示ãä»ãé表示 74 $container.find('.tab_panel').hide(); 75 $container.find('.tab_panel').eq(index).fadeIn(); 76 77 // ã¿ãã®ã¹ã¿ã¤ã«ãæ´æ° 78 $container.find('.tab').removeClass('selected'); 79 $(this).addClass('selected'); 80 }); 81 }); 82}); 83 $(function() { 84 $('.plgwv_acco_01 > .ttl').on('click', function() { 85 const $ttl = $(this); 86 const $content = $ttl.next('.content'); 87 88 $content.slideToggle(200, function() { 89 if ($content.is(':visible')) { 90 $ttl.addClass('open'); 91 } else { 92 $ttl.removeClass('open'); 93 } 94 }); 95 }); 96 }); 97 $(function() { 98 $('.plgwv_acco_02 .item > .acco_head').on('click', function() { 99 const $ttl = $(this); 100 const $content = $ttl.next('.content'); 101 102 $content.slideToggle(200, function() { 103 if ($content.is(':visible')) { 104 $ttl.addClass('open'); 105 } else { 106 $ttl.removeClass('open'); 107 } 108 }); 109 }); 110 }); 111 112 113 114 115 116 117$(function(){ 118 $('.plgwv_info_blog .newsdate').each(function(){ 119 var txt = $(this).html(); 120 $(this).html(txt.replace(/\[/g,'').replace(/]/g,'').slice(0,-8)); 121 }); 122 123 $('.plgwv_info_blog .columndate').each(function(){ 124 var txt = $(this).html(); 125 $(this).html(txt.replace(/\[/g,'').replace(/]/g,'').replace(/æ´æ°/g,'')); 126 }); 127}); 128 129(function(){ 130 const boot = () => { 131 document.querySelectorAll('.plgwv_cal_02').forEach(container => { 132 try { 133 const labelThis = container.querySelector('.cal_label0'); 134 const labelNext = container.querySelector('.cal_label1'); 135 const holderNext = container.querySelector('.cal_next_holder'); 136 const iframeThis = container.querySelector('iframe'); 137 138 if (!iframeThis) { console.warn('[gcal] iframeãè¦ã¤ããã¾ãã', container); return; } 139 140 // ãã¼ã¹URLãåå¾ 141 let baseUrl = (iframeThis.getAttribute('src') || '').trim().replace(/&/g, '&'); 142 if (!baseUrl) { console.warn('[gcal] iframeã®srcã空ã§ã', iframeThis); return; } 143 144 // URL妥彿§ãã§ã㯠145 let urlObj; 146 try { urlObj = new URL(baseUrl); } 147 catch(e){ console.error('[gcal] 䏿£ãªURLã§ã:', baseUrl, e); return; } 148 149 // æ¢åã® dates ãã©ã¡ã¼ã¿ãåé¤ 150 urlObj.searchParams.delete('dates'); 151 baseUrl = urlObj.toString(); 152 153 // ã©ãã«è¨å® 154 const setMonthLabel = (el, dateObj)=>{ 155 if (!el) return; 156 el.textContent = dateObj.toLocaleDateString('ja-JP', { month:'long' }); 157 }; 158 const now = new Date(); 159 setMonthLabel(labelThis, now); 160
161 // æ¥ædatesçæ 162 const fmt = (y,m,d)=> String(y)+String(m).padStart(2,'0')+String(d).padStart(2,'0'); 163 const firstNext = new Date(now.getFullYear(), now.getMonth()+1, 1); 164 const firstAfter = new Date(now.getFullYear(), now.getMonth()+2, 1); 165 const datesParam = `dates=${fmt(firstNext.getFullYear(), firstNext.getMonth()+1, 1)}/${fmt(firstAfter.getFullYear(), firstAfter.getMonth()+1, 1)}`; 166 setMonthLabel(labelNext, firstNext); 167 168 // æ¥æiframeçæ 169 if (holderNext) { 170 holderNext.textContent = ''; 171 const ifr = document.createElement('iframe'); 172 ifr.src = `${baseUrl}${baseUrl.includes('?') ? '&' : '?'}${datesParam}`; 173 ifr.width = iframeThis.getAttribute('width') || '800'; 174 ifr.height = iframeThis.getAttribute('height') || '600'; 175 ifr.style.borderWidth = '0'; 176 ifr.frameBorder = '0'; 177 ifr.scrolling = 'no'; 178 ifr.loading = 'lazy'; 179 holderNext.appendChild(ifr); 180 } 181 182 } catch(err) { 183 console.error('[gcal] äºæãã¬ã¨ã©ã¼:', err); 184 } 185 }); 186 }; 187 if (document.readyState === 'loading') { 188 document.addEventListener('DOMContentLoaded', boot, { once:true }); 189 } else { 190 boot(); 191 } 192})();
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.