1var inName; 2var pcsp; 3var array0, array1, array2, array3; 4var count = 0; 5 6$(window).on('load', function() { 7 // é¢åã®åå¾ 8 if($('#form')[0]) { 9 setTimeout(function() { 10 if(inName != '') { 11 $('.step2').show(); 12 } 13 }, 300); 14 } 15 16 fnCarte(); 17 fnResize(); 18}) 19 20var currentWidth = window.innerWidth; 21window.addEventListener("resize", function() { 22 if (currentWidth == window.innerWidth) { 23 return; 24 } 25 fnResize(); 26}); 27 28window.onpageshow = function(evt) { 29 if (evt.persisted) { 30 location.reload(); 31 } 32}; 33 34$(function() { 35 const isTargetUrl = window.location.href.includes('/coooff/rize/'); 36 37 if(isTargetUrl && $(".datepicker")[0]) { 38 $(".datepicker").datepicker({ 39 minDate: '-29d', 40 maxDate: 0, 41 onClose: function() { 42 $(this).validationEngine('validate'); 43 } 44 }) 45 } 46 47 fnFirst(); 48 fnCheck(); 49}); 50 51$('.datepicker').on('click change', function() { 52 fnWish(); 53}); 54 55function fnWish() { 56 //console.log('fnWish'); 57 //console.log('val:'+$('[name="month01"]').val()); 58 if($('[name="month01"]').val() == '') { 59 $('[name="month01"]').parents('li').prev().removeClass('wish_ok'); 60 } else { 61 $('[name="month01"]').parents('li').prev().addClass('wish_ok'); 62 } 63} 64 65// ããªãã¼ã¿ 66$('input, select').click(function() { 67 myVali(); 68}) 69$('.reserv_btn button').click(function() { 70 myVali(); 71 72 $('#form').submit(); 73}) 74function myVali() { 75 //console.log('myVali'); 76 // ããªãã¼ã¿ç¨ã®è¨è¿°ã䏿¬åé¤ 77 $('input, select').removeClass(function(index, className) { 78 return(className.match(/\bvalidate\[required\S+/g) || []).join(' '); 79 }); 80 81 // 表示ããã¦ããã³ã³ãã³ãã«å¯¾ãã¦ããªãã¼ã¿ãä»ä¸ 82 $('input.vali:visible, select.vali:visible').each(function() { 83 $(this).addClass($(this).attr('data-vali')); 84 }) 85} 86 87$('[name="checkCarte"]').change(function() { 88 fnCarte(); 89}) 90function fnCarte() { 91 if($('[name="checkCarte"]:checked').val() == 'ã¯ã') { 92 $('.checkYes').fadeIn('fast'); 93 } else { 94 $('.checkYes').fadeOut('fast'); 95 } 96} 97 98$('select').change(function() { 99 $(this).blur(); 100}) 101 102$(function() { 103 if(location.hash != '') { 104 $('.step2, .body_form').show(); 105 } 106 fnFirst(); 107 108 // ããªãã¼ã¿ã¨ãªãµã¤ãºããªã¬ã¼ 109 if($('#form')[0]) { 110 $("#form").validationEngine('attach', { 111 autoPositionUpdate: true, 112 }); 113 } 114 $('#form input, #form select').blur(function() { 115 $(window).trigger('resize'); 116 }) 117 118 $('label').click(function(){}); // labelè¦ç´ ãã¯ãªãã«ãã«ã« 119 120 if(inName === undefined) { 121 inName = ''; 122 } else { 123 if(inName !== '') { 124 $('.step2').show(); 125 } 126 } 127}) 128 129// é¢é¸ææ 130$('.iinBox li span').click(function() { 131 inName = $(this).text(); 132 $('[name="iin"]').val(inName); 133 134 $.removeCookie("iin"); 135 136 if(inName != '') { 137 $('.step2').hide(); 138 $('.body_form').show(); 139 $('.step2').fadeIn(); 140 if(parseInt(window.innerWidth) >= 768) { 141 headerHeight = 99; 142 } else { 143 headerHeight = $('.gmenu__head').css('padding-top').replace('px', ''); 144 } 145 $('body,html').animate({scrollTop: $('.step2').offset().top - headerHeight}, 400, 'swing'); 146 var hiddenFlag = false; 147 148 mySwitch(); 149 } else { 150 location.hash = ''; 151 $('.step2').fadeOut(); 152 } 153}); 154 155// 確èªç»é¢ã®ããã¹ãã¨ãªã¢ã®é«ã 156function fnResize() { 157 if($('main').hasClass('check')) { 158 $('textarea').each(function() { 159 $(this).css('height', '1.6em'); 160 if($(this).get(0).scrollHeight > $(this).innerHeight()) { 161 $(this).css('height', $(this).get(0).scrollHeight + 'px'); 162 } 163 }) 164 } 165} 166 167function mySwitch() { 168 //console.log('mySwitch'); 169 myAddress = address[inName]; 170 itenAddress = ''; 171 reserve_Tel = saishinTel[inName]; 172 myHref = push7[inName]; 173 myTeikei = teikei[inName]; 174 location.hash = alphabet[inName]; 175 fnFirst(); 176} 177 178function fnFirst() { 179 //console.log('fnFirst'); 180 inName = ''; 181 myAddress = ''; 182 reserve_Tel = ''; 183 switch(location.hash) { 184 case '#sapporo': 185 inName = 'æå¹é¢'; 186 break; 187 case '#aomori': 188 inName = '鿣®é¢'; 189 break; 190 case '#hachinohe': 191 inName = 'å «æ¸é¢'; 192 break; 193 case '#morioka': 194 inName = 'ç岡é¢'; 195 break; 196 case '#sendai': 197 inName = 'ä»å°é¢'; 198 break; 199 case '#iwaki': 200 inName = 'ãããé¢'; 201 break; 202 case '#koriyama': 203 inName = 'é¡å±±é¢'; 204 break; 205 case '#omiya_east': 206 inName = '大宮é¢'; 207 break; 208 case '#chiba': 209 inName = 'åèé¢'; 210 break; 211 case '#kashiwa': 212 inName = 'æé¢'; 213 break; 214 case '#ikebukuro': 215 inName = 'æ± è¢é¢'; 216 break; 217 case '#shinjuku_3chome': 218 inName = 'æ°å®¿æ±å£é¢'; 219 break; 220 case '#shibuya_inokashira': 221 inName = 'æ¸è°·é¢'; 222 break; 223 case '#ginza': 224 inName = 'é座é¢'; 225 break; 226 case '#tachikawa': 227 inName = 'ç«å·é¢'; 228 break; 229 case '#machida': 230 inName = 'çºç°é¢'; 231 break; 232 case '#kawasaki': 233 inName = 'å·å´é¢'; 234 break; 235 case '#yokohama': 236 inName = '横æµé¢'; 237 break; 238 case '#niigata': 239 inName = 'æ°æ½é¢'; 240 break; 241 case '#shizuoka': 242 inName = 'é岡é¢'; 243 break; 244 case '#nagoya_sakae': 245 inName = 'åå¤å±æ é¢'; 246 break; 247 case '#nagoya_ekimae': 248 inName = 'åå¤å±é§ åé¢'; 249 break; 250 case '#kyoto_kawaramachi': 251 inName = 'äº¬é½æ²³åçºé¢'; 252 break; 253 case '#osaka_umeda': 254 inName = 'å¤§éªæ¢ ç°é¢'; 255 break; 256 case '#osaka_shinsaibashi': 257 inName = 'å¿ææ©é¢'; 258 break; 259 case '#kobe_sannomiya': 260 inName = 'ç¥æ¸ä¸å®®é¢'; 261 break; 262 case '#hiroshima': 263 inName = 'åºå³¶é¢'; 264 break; 265 case '#fukuoka_tenjinekimae': 266 inName = 'ç¦å²¡å¤©ç¥é¢'; 267 break; 268 case '#kumamoto': 269 inName = 'çæ¬é¢'; 270 break; 271 } 272 273 if(inName != '') { 274 $('[name="iin"]').val(inName); 275 276 myZipCode = zipCode[inName]; 277 myAddress = address[inName]; 278 itenAddress = ''; 279 contact_Tel = contactTel[inName]; 280 myHref = yoyaku[inName]; 281 myTeikei = teikei[inName]; 282 location.hash = alphabet[inName]; 283 284 //$('.step2 img').attr('src', ''); 285 $('.step2 .zipCode').text('ã' + myZipCode); 286 $('.step2 h3 .inName').html(inName); 287 if(myTeikei != '') { 288 $('.step2 #addressArea .inName').html(inName + '<br /><span class="teikei">ææºï¼' + myTeikei + '</span>'); 289 } else { 290 $('.step2 #addressArea .inName').html(inName); 291 } 292 $('.step2 #addressArea img').prop('src', '/assets/img/locations/' + alphabet[inName] + '/img_gallery01.jpg'); 293 $('.step2 .address').text(myAddress); 294 $('.step2 .tel').html('<a href="tel:' + contact_Tel + '">' + contact_Tel + '</a>'); 295 } 296 if(inName == 'é座é¢') { 297 $('.ginzaOnly').show(); 298 } else { 299 $('.ginzaOnly').hide(); 300 } 301} 302 303function fnCheck() { 304 if($('main.check')[0]) { 305 if(teikei[$teikei].length > 0) { 306 $('#addressArea .inName').html($teikei + '<br /><span class="teikei">ææºï¼' + teikei[$teikei] + '</span>'); 307 } else { 308 $('#addressArea .inName').html($teikei); 309 } 310 } 311}
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.