<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"use strict";

// 窶ｻ(縺顔衍繧峨○)PC縺ｨSP縺ｯ蛟句挨縺ｫ螳溯｡後′蠢�ｦ�
$(function () {

  var schema = $('#schema').val();

  // (騾壼ｸｸ縺ｮ縺顔衍繧峨○)    ".info_modal_trg" 縺後ヨ繝ｪ繧ｬ繝ｼ縲…ommonModal 縺稽odal繧ｳ繝ｳ繝�Φ繝�
  // (蟷ｴ譛ｫ蟷ｴ蟋九�縺顔衍繧峨○) ".newyear_modal_trg" 縺後ヨ繝ｪ繧ｬ繝ｼ縲］ewyearModal 縺稽odal繧ｳ繝ｳ繝�Φ繝�
  // (萓�) var commonInfo = "&lt;span class='info-flag'&gt;縲舌♀遏･繧峨○縲大ｹｴ譛ｫ蟷ｴ蟋九�蝟ｶ讌ｭ繝ｻ驟埼√↓縺､縺�※ &lt;a class='newyear_modal_trg' href='javascript:void(0);'&gt;隧ｳ邏ｰ&lt;/a&gt; | &lt;a class='info_modal_trg' href='javascript:void(0);'&gt;驟埼�≦蟒ｶ諠��ｱ&lt;/a&gt;&lt;/span&gt;";

  // 騾壼ｸｸ縺顔衍繧峨○
  var commonInfo = "&lt;span class='info-flag'&gt;縲舌♀遏･繧峨○縲大､ｧ髮ｪ縺ｮ蠖ｱ髻ｿ縺ｫ繧医ｋ驟埼�≦蟒ｶ縺ｫ縺､縺�※ &lt;a class='info_modal_trg' href='javascript:void(0);'&gt;隧ｳ邏ｰ&lt;/a&gt;&lt;/span&gt;";
  
  // 騾壼ｸｸ縺顔衍繧峨○ modal繧ｳ繝ｳ繝�Φ繝�
  var commonModal
  = "&lt;div class='remodal' data-remodal-id='info_modal' data-remodal-options='hashTracking:false'&gt;"
  +   "&lt;button data-remodal-action='close' class='remodal-close'&gt;&lt;/button&gt;"
  +   "&lt;div class='modal_contents'&gt;"
  +     "&lt;h2&gt;驟埼√�驕�ｻｶ縺ｫ縺､縺�※&lt;/h2&gt;"
  +     "&lt;h3&gt;縲舌Ζ繝槭ヨ驕玖ｼｸ縲�&lt;a href='https://www.kuronekoyamato.co.jp/ytc/chien/chien_hp.html' class='label_yamato' target='_blank'&gt;蝟ｶ讌ｭ諠��ｱ&lt;/a&gt;&lt;/h3&gt;"
  +     "&lt;p class='detail_text'&gt;&lt;a href='https://www.yamato-hd.co.jp/important/' target='_blank'&gt;驥崎ｦ√↑縺顔衍繧峨○&lt;/a&gt;&lt;/p&gt;"
  +   "&lt;/div&gt;"
  + "&lt;/div&gt;"
  + "&lt;style&gt;"
  + ".info-flag {display:block; text-align: center; padding: 6px; background-color: #f0f0f0; color:#666; font-size: 11px; line-height:1.5; box-sizing: border-box; border-bottom: 1px solid #fff; letter-spacing: 0;}"
  + ".info_modal_trg, .newyear_modal_trg {text-decoration: underline; cursor: pointer; text-underline-offset: 3px; font-size:10px;}"
  + ".modal_contents h2 {font-size:20px;}"
  + ".modal_contents {text-align: left; line-height: 1.7;}"
  + ".modal_contents h3 {margin-top:20px;font-weight: bold; font-size:120%;}"
  + ".modal_contents .detail_text {margin:15px 5px 0; font-size:12px;}"
  + ".modal_contents .detail_text a {display:inline-block;text-decoration: underline;text-underline-offset: .3em;}"
  + ".remodal-close {right: 0; left: unset;}"
  + ".label_yamato {font-size: 11px; padding: 0.5em; border-radius: 5px; background: #fccf02;}"
  + "@media (max-width: 767px) {"
  +   "body:has(.remodal-is-opened), html:has(.remodal-is-opened){overflow: hidden;}"
  +   ".modal_contents {background: #fff; max-height: calc(100vh - 200px); border-radius: 5px; padding: 20px;}"
  +   ".modal_contents h2 + .modal_contents .detail_text {margin-top:20px;}"
  +   ".modal_contents .detail_text {margin-top:10px;}"
  +   ".remodal-close {right: 10px; left: auto; z-index: 1;}"
  + "}"
  + "&lt;/style&gt;"
  + "&lt;script&gt;$('body').on('click', '.info_modal_trg', function() {$('[data-remodal-id=info_modal]').remodal().open()});&lt;/script&gt;";

  // 笆ｼ 蟷ｴ譛ｫ蟷ｴ蟋句ｯｾ蠢� 笆ｼ

  // 蟷ｴ譛ｫ蟷ｴ蟋九き繧ｹ繧ｿ繝槭�蝟ｶ讌ｭ譎る俣
  var schema = $('#schema').val();
  var customer_NewYearClosed = '2024蟷ｴ12譛�31譌･ �� 2025蟷ｴ1譛�3譌･縺ｮ譛滄俣荳ｭ縺ｫ縺�◆縺�縺�◆縺雁撫縺�粋繧上○縺ｯ縲∝�螳ｹ縺ｫ繧医ｊ1譛�4譌･';
  if (schema == 'fitfit') {
    var customer_NewYearClosed = '2024蟷ｴ12譛�28譌･(蝨�)��2025蟷ｴ1譛�5譌･(譌･)縺ｮ譛滄俣荳ｭ縺ｫ縺�◆縺�縺�◆縺雁撫縺�粋繧上○縺ｯ縲∝�螳ｹ縺ｫ繧医ｊ1譛�6譌･';
  } else if (schema == 'clarks') {
    var customer_NewYearClosed = '2024蟷ｴ12譛�31譌･ �� 2025蟷ｴ1譛�5譌･縺ｮ譛滄俣荳ｭ縺ｫ縺�◆縺�縺�◆縺雁撫縺�粋繧上○縺ｯ縲∝�螳ｹ縺ｫ繧医ｊ1譛�6譌･';
  } else if (schema == 'mej') {
    var customer_NewYearClosed = '2024蟷ｴ12譛�31譌･ �� 2025蟷ｴ1譛�3譌･縺ｮ譛滄俣荳ｭ縺ｫ縺�◆縺�縺�◆縺雁撫縺�粋繧上○縺ｯ縲∝�螳ｹ縺ｫ繧医ｊ1譛�4譌･';
  }

  var shipping_NewYearClosed = '12譛�30譌･14譎ゆｻ･髯阪�縺疲ｳｨ譁��縲�1譛�2譌･莉･髯埼��ｬ｡縺ｮ蜃ｺ闕ｷ';
  if (schema == 'charles') {
    var shipping_NewYearClosed = '12譛�30譌･13譎�59蛻�∪縺ｧ縺ｮ縺疲ｳｨ譁��12譛�31譌･縺ｫ蜃ｺ闕ｷ縲�14譎ゆｻ･髯阪�縺疲ｳｨ譁��縲�1譛�2譌･莉･髯埼��ｬ｡縺ｮ蜃ｺ闕ｷ';
  } else if (schema == 'fitfit') {
    var shipping_NewYearClosed = '12譛�30譌･14譎ゆｻ･髯阪�縺疲ｳｨ譁��縲�1譛�2譌･莉･髯埼��ｬ｡縺ｮ蜃ｺ闕ｷ';
  }

  // 蟷ｴ譛ｫ蟷ｴ蟋狗畑 modal繧ｳ繝ｳ繝�Φ繝�
  var newyearModal =  "&lt;span class='info-flag'&gt;縲舌♀遏･繧峨○縲大ｹｴ譛ｫ蟷ｴ蟋九�蝟ｶ讌ｭ繝ｻ驟埼√↓縺､縺�※ &lt;a class='newyear_modal_trg' href='javascript:void(0);'&gt;隧ｳ邏ｰ&lt;/a&gt;&lt;/span&gt;"
  + "&lt;div class='remodal' data-remodal-id='newyear_modal' data-remodal-options='hashTracking:false'&gt;"
  + "&lt;button data-remodal-action='close' class='remodal-close'&gt;&lt;/button&gt;"
  + "&lt;div class='modal_contents' style='text-align: left;line-height: 1.7;'&gt;"
  + "&lt;h2 style='font-size:20px;'&gt;蟷ｴ譛ｫ蟷ｴ蟋九�蝟ｶ讌ｭ縺ｫ縺､縺�※縺ｮ縺疲｡亥�&lt;/h2&gt;"
  + "&lt;h3 style='margin-top:20px;font-weight: bold;font-size:120%;'&gt;縲仙膚蜩√�縺雁ｱ翫￠縺ｫ縺､縺�※縲�&lt;/h3&gt;"
  + "&lt;p class='newyear_shipping_detail_text'&gt;蛟牙ｺｫ縺ｯ2025蟷ｴ1譛�1譌･縺御ｼ第･ｭ譌･縺ｮ縺溘ａ縲�&lt;span class='charles_addText' style='display:none;'&gt;蟷ｴ蜀��闕ｷ譛邨よ律縺ｯ12譛�31譌･縺ｨ縺ｪ繧翫∪縺吶�&lt;/span&gt;&lt;span style='color:#ff0000'&gt;" + shipping_NewYearClosed + "&lt;/span&gt;縺ｨ縺ｪ繧翫∪縺吶ゅ∪縺溘�&lt;span style='color:#ff0000'&gt;蟷ｴ譛ｫ蟷ｴ蟋九�莠､騾壽ｸ区ｻ樒ｭ峨↓繧医ｊ縺雁ｱ翫￠縺ｫ驕�ｌ&lt;/span&gt;縺檎函縺倥ｋ縺薙→縺後≠繧翫∪縺吶�&lt;/p&gt;"
  + "&lt;div class='toNewyearPage'&gt;&lt;a href='/contents/newyear'&gt;隧ｳ縺励￥縺ｯ縺薙■繧� (蜷�ヶ繝ｩ繝ｳ繝峨�縺雁ｱ翫￠迥ｶ豕�)&lt;/a&gt;&lt;/div&gt;"
  + "&lt;h3 style='margin-top:20px;font-weight: bold;font-size:120%;'&gt;縲舌♀蝠上＞蜷医ｏ縺帙↓縺､縺�※縲�&lt;/h3&gt;"
  + "&lt;p class='newyear_customer_detail_text'&gt;繧ｫ繧ｹ繧ｿ繝槭�繧ｵ繝昴�繝医�縲∽ｼ第･ｭ譌･縺ｮ縺溘ａ &lt;span style='color:#ff0000' class='newyear_customer_detail_date'&gt;" + customer_NewYearClosed + "&lt;/span&gt;莉･髯埼��ｬ｡縺ｮ縺碑ｿ比ｿ｡縺ｨ縺ｪ繧翫∪縺吶�&lt;/p&gt;"
  + "&lt;/div&gt;&lt;/div&gt;"
  + "&lt;script&gt;$('body').on('click', '.newyear_modal_trg', function() {$('[data-remodal-id=newyear_modal]').remodal().open()});&lt;/script&gt;"
  + "&lt;style&gt;"
  + ".info-flag {display:block; text-align: center; padding: 6px; background-color: #f0f0f0; color:#666; font-size: 11px; line-height:1.5; box-sizing: border-box; border-bottom: 1px solid #fff; letter-spacing: 0;}"
  + ".info_modal_trg, .newyear_modal_trg {text-decoration: underline; cursor: pointer; text-underline-offset: 3px;/* font-size:10px;*/}"
  + ".modal_contents h2 {font-size:20px;}"
  + ".modal_contents {text-align: left; line-height: 1.7;}"
  + ".modal_contents h3 {margin-top:20px;font-weight: bold; font-size:120%;}"
  + ".modal_contents .detail_text {margin:15px 5px 0; font-size:12px;}"
  + ".modal_contents .detail_text a {display:inline-block;text-decoration: underline;text-underline-offset: .3em;}"
  + ".remodal-close {right: 0; left: unset;}"
  + ".label_yamato {font-size: 11px; padding: 0.5em; border-radius: 5px; background: #fccf02;}"
  + ".toNewyearPage {display:none; margin-top:1em; margin-bottom:3em;}"
  + ".toNewyearPage &gt; a {display:inline-block; line-height:1; padding:1em 1.5em; border:1px solid #999; border-radius:2px;}"
  + ".site_magaseek .toNewyearPage {display:block;}"
  + ".site_fashionwalker .toNewyearPage {display:block;}"
  + "@media (max-width: 767px) {"
  +   "body:has(.remodal-is-opened), html:has(.remodal-is-opened){overflow: hidden;}"
  +   ".modal_contents {background: #fff; max-height: calc(100vh - 200px); border-radius: 5px; padding: 20px;}"
  +   ".modal_contents h2 + .modal_contents .detail_text {margin-top:20px;}"
  +   ".modal_contents .detail_text {margin-top:10px;}"
  +   ".remodal-close {right: 10px; left: auto; z-index: 1;}"
  + "}"
  + "&lt;/style&gt;";
  // 笆ｲ 蟷ｴ譛ｫ蟷ｴ蟋句ｯｾ蠢� 笆ｲ

  // 縺顔衍繧峨○谺�ｒ繝倥ャ繝繝ｼ繧ｨ繝ｪ繧｢縺ｫ謗ｲ霈�
  if (schema != 'charles' &amp;&amp; schema != 'uf') {
    //$('#headerInformation').prepend(commonInfo + commonModal/* + newyearModal*/);
  }
  // launalea讒倥�繝医ャ繝励�繝ｼ繧ｸ縺ｮ蛻ｶ蠕｡縺ｧ蝗ｺ螳壼ｸｯ繧偵□縺励※縺�ｋ縺ｮ縺ｧ蛻･縺ｮ縺ｨ縺薙ｍ縺ｫ謗ｲ霈�
  if (schema == 'uf') {
    //$('#info_box_bottom').prepend(commonInfo + commonModal/* + newyearModal */);
  }

  // 螳溯｡�
  var showInfomations = function showInfomations() {
    var params = {
      type: 'POST',
      dataType: 'json',
      cache: false,
      timeout: 30000,
      url: '/api/header/info'
    };
    $.ajax(params).done(function (data, sts) {
      if (data.cartCount != 0) {
        $('.js-cartCount').html('&lt;span class="inner"&gt;' + data.cartCount + '&lt;/span&gt;'); // 繧ｫ繝ｼ繝亥膚蜩∵焚��PC縲ヾP蜈ｱ騾夲ｼ�
      }

      if (data.unreadMessageCount != 0) {
        $('.js-unreadMessageCount').html('&lt;span class="inner"&gt;' + data.unreadMessageCount + '&lt;/span&gt;'); // 譛ｪ隱ｭ繝｡繝�そ繝ｼ繧ｸ謨ｰ��PC縲ヾP蜈ｱ騾夲ｼ�
      }

      $('.reviewNum').text(data.reviewNum); // 繝ｬ繝薙Η繝ｼ蜿ｯ閭ｽ謨ｰ

      data.informationsInHeader.forEach(function (info) {
        $('#informationsInHeader').append(info.content); // 繝倥ャ繝縺顔衍繧峨○
      });
      data.informationsOnGrobalNavi.forEach(function (info) {
        $('#informationsOnGrobalNavi').append(info.content); // 繧ｰ繝ｭ繝ｼ繝舌Ν縺顔衍繧峨○
      });
      /* 竊都tarcrea蛟句挨蟇ｾ蠢� */
    }).then(function () {
      if ($('#schema').val() == 'starcrea') {
        /* header縺ｮ鬮倥＆蛻�padding繧貞�繧後ｋ */
        if ($('.sp_header').length) {
          var headerHeight = $('header').outerHeight();
          var headerPromoHeight = $('#promotion').outerHeight();
          if ($('.container_top_starcrea').length) {
            if ($('.lc-content-body').length) {
              $('.lc-content-body').css('padding-top', headerPromoHeight);
            }
          } else {
            if ($('.lc-content-body').length) {
              $('.lc-content-body').css('padding-top', headerHeight);
            }
          }
        }
      }
    })
    /* 竊壮tarcrea蛟句挨蟇ｾ蠢� */
  };
  showInfomations();

});</pre></body></html>