AnddAjax = function() { this.initialize = function() { this.xhr = new XMLHttpRequest(); }; this.post = function(url, data, success = function() {}, fail = function() {}) { this.xhr.onreadystatechange = function () { if (this.readyState == XMLHttpRequest.DONE) { if (this.status == 200) { success(this); } else { fail(this); } } }; this.xhr.open("POST", url); this.xhr.setRequestHeader("Content-Type", "application/json"); this.xhr.send(JSON.stringify(data)); }; this.getJSON = function(url, success = function() {}, fail = function() {}) { this.xhr.onreadystatechange = function () { if (this.readyState == XMLHttpRequest.DONE) { if (this.status == 200) { success(JSON.parse(this.responseText)); } else { fail(this); } } }; this.xhr.open("GET", url); this.xhr.send(); }; this.initialize(); }; var anddAjax = new AnddAjax(); CartAttributes = function() { this.initialize = function() { this.min_delivery_date = "2025-03-07"; this.max_delivery_date = "2025-03-24"; }; this.updateMinDate = function() { let ua = navigator.userAgent.toLowerCase(); let delivery_date_element = document.getElementById("delivery-date"); let delivery_time_element = document.getElementById("delivery-time"); let delivery_date_element_next_engine = document.getElementById("delivery-date-next-engine"); let delivery_time_element_next_engine = document.getElementById("delivery-time-next-engine"); let delivery_date_element_openlogi = document.getElementById("delivery-date-openlogi"); let delivery_time_element_openlogi = document.getElementById("delivery-time-openlogi"); let delivery_type_element = document.getElementById("delivery-type"); let min_delivery_date = this.min_delivery_date; let max_delivery_date = this.max_delivery_date; if (delivery_date_element) { delivery_date_element.setAttribute('min', min_delivery_date); delivery_date_element.setAttribute('max', max_delivery_date); let event_name = 'change'; if (ua.indexOf('iphone') > 0 && ua.indexOf('safari') > 0 && ua.indexOf('iphone os 13') < 0) { // ios14以降で不具合が発生したためこちらの対応を入れる // ios safariかつios13以外のバージョンの時だけ // ios13でテストができず挙動が不明だが、まだ結構利用されてるみたいなので、この処理は例外とする event_name = 'blur'; } delivery_date_element.addEventListener(event_name, function() { if (this.value != "" && this.value > max_delivery_date) { alert("最大で設定可能な配送希望日は、" + max_delivery_date + "です。"); this.value = max_delivery_date; } if (this.value != "" && this.value < min_delivery_date) { alert("最短で設定可能な配送希望日は、" + min_delivery_date + "です。"); this.value = min_delivery_date; } let attributes = {"配送希望日" : this.value} anddAjax.post('/cart/update.js', {attributes: attributes}); }); delivery_date_element.addEventListener('touchstart', function () { if (document.getElementById("delivery-date-boolean-true")) { if (this.value == "") { if (document.getElementById("delivery-date-boolean-true").checked) { this.value = min_delivery_date; if (delivery_date_element_next_engine) { delivery_date_element_next_engine.value = min_delivery_date.replace(/-/g, "/"); } if (delivery_date_element_openlogi) { delivery_date_element_openlogi.value = min_delivery_date; } } } } else { if (this.value == "") { this.value = min_delivery_date; if (delivery_date_element_next_engine) { delivery_date_element_next_engine.value = min_delivery_date.replace(/-/g, "/"); } if (delivery_date_element_openlogi) { delivery_date_element_openlogi.value = min_delivery_date; } } } }); } if (delivery_time_element) { delivery_time_element.addEventListener('change', function() { let attributes = {"配送時間帯" : this.value}; let replaced_value = this.value.replace(/~/g, "-"); anddAjax.post('/cart/update.js', {attributes: attributes}); }); } if (delivery_type_element) { delivery_type_element.addEventListener('change', function() { anddAjax.post('/cart/update.js', {attributes: {"置き配の利用" : this.value}}); }); } }; /*** * 配送希望日が期限切れかどうかをチェックし、期限切れなら削除する. */ this.removeExpiredAttributes = function () { let delivery_type_element = document.getElementById("delivery-type"); let delivery_date_element_next_engine = document.getElementById("delivery-date-next-engine"); let delivery_time_element_next_engine = document.getElementById("delivery-time-next-engine"); let delivery_date_element_openlogi = document.getElementById("delivery-date-openlogi"); let delivery_time_element_openlogi = document.getElementById("delivery-time-openlogi"); let min_delivery_date = this.min_delivery_date; let max_delivery_date = this.max_delivery_date; anddAjax.getJSON('/cart.js', function(d){ // 配送希望日の期限切れとは関係ないが、cart.jsを叩いたついでに置き配設定をセットする. const product_delivery_dates = "[]"; const jsonString = product_delivery_dates.replace(/"/g, '"'); const parseData = JSON.parse(jsonString); if(parseData?.length) { console.log("exsists product delivery dates"); return } console.log("from old ui") function convertDateFormat(dateStr) { // 正規表現を使用して年、月、日を抽出 if(dateStr === "指定なし" || dateStr === "") return; const match = dateStr?.match(/^(\d{4})年(\d{2})月(\d{2})日$/); console.log({match}) // マッチしない場合はnullを返すか、エラー処理を行う if (!!match === false) { return dateStr; } const [, year, month, day] = match; return `${year}-${month}-${day}`; } if (d.attributes["配送希望日"] !== "" && convertDateFormat(d.attributes["配送希望日"]) > max_delivery_date) { if(d.attributes["配送希望日"] === "指定なし") return; resetCartAttributes(); console.log("リセット") } if (d.attributes["配送希望日"] != "" && convertDateFormat(d.attributes["配送希望日"]) < min_delivery_date) { if(d.attributes["配送希望日"] === "指定なし") return; resetCartAttributes(); console.log("リセット") } }); }; this.initialize(); } function resetCartAttributes() { let delivery_date_element = document.getElementById("delivery-date"); let delivery_time_element = document.getElementById("delivery-time"); let delivery_date_element_next_engine = document.getElementById("delivery-date-next-engine"); let delivery_time_element_next_engine = document.getElementById("delivery-time-next-engine"); let delivery_date_element_openlogi = document.getElementById("delivery-date-openlogi"); let delivery_time_element_openlogi = document.getElementById("delivery-time-openlogi"); let delivery_date_boolean_false = document.getElementById("delivery-date-boolean-false"); let delivery_type_element = document.getElementById("delivery-type"); anddAjax.post('/cart/update.js', { attributes: { "配送日の指定" : "", "配送希望日" : "", "配送時間帯" : "", "置き配の利用" : "", "delivery_date" : "", "delivery_time" : "", "unattended_delivery_location" : "", "openlogi_delivery_date" : "", "openlogi_delivery_time_slot" : "" } }); if (delivery_date_element) { delivery_date_element.value = ""; delivery_date_element.disabled = true; }; if (delivery_time_element) {delivery_time_element.value = "指定なし";}; if (delivery_type_element) {delivery_type_element.value = "指定なし";}; if (delivery_date_boolean_false) {delivery_date_boolean_false.checked = true;}; if (delivery_date_element_next_engine) {delivery_date_element_next_engine.value = ""}; if (delivery_time_element_next_engine) {delivery_time_element_next_engine.value = "指定なし";}; if (delivery_date_element_openlogi) {delivery_date_element_openlogi.value = ""}; if (delivery_time_element_openlogi) {delivery_time_element_openlogi.value = "指定なし";}; }; function executeCartAttributes() { let cartAttributes = new CartAttributes(); cartAttributes.updateMinDate(); cartAttributes.removeExpiredAttributes(); let elems = document.getElementsByClassName('cart-attributes-delivery-datetime'); for(let i = 0; i < elems.length; i ++) { elems[i].style.display = ''; } }; function appendDeliveryType() { let appendHtml = '
' + '' + '※配送業者によって、正しく配置されない可能性がございます。ご理解の上ご指定ください。
'; let appendNode = document.createElement('div'); appendNode.innerHTML = appendHtml; let elems = document.getElementsByClassName('cart-attributes-delivery-datetime'); if (elems.length > 0) { let last_element = elems[elems.length - 1]; last_element.parentNode.insertBefore(appendNode, last_element.nextSibling); } }; function appendNextEngineInputs() { let appendHtml = ' ' let appendNode = document.createElement('div'); appendNode.innerHTML = appendHtml; let elems = document.getElementsByClassName('cart-attributes-delivery-datetime'); if (elems.length > 0) { let last_element = elems[elems.length - 1]; last_element.parentNode.insertBefore(appendNode, last_element.nextSibling); } }; function appendOpenlogiInputs() { let appendHtml = ' ' let appendNode = document.createElement('div'); appendNode.innerHTML = appendHtml; let elems = document.getElementsByClassName('cart-attributes-delivery-datetime'); if (elems.length > 0) { let last_element = elems[elems.length - 1]; last_element.parentNode.insertBefore(appendNode, last_element.nextSibling); } }; function changeDeliveryDateBoolean() { if (document.getElementById("delivery-date-boolean-true")) { let delivery_date_element = document.getElementById("delivery-date"); let delivery_date_element_next_engine = document.getElementById("delivery-date-next-engine"); let delivery_date_element_openlogi = document.getElementById("delivery-date-openlogi"); let is_delivery_date_on = document.getElementById("delivery-date-boolean-true").checked; let min_delivery_date = "2025-03-07"; let replaced_date = min_delivery_date.replace(/-/g, "/"); if (is_delivery_date_on) { if (delivery_date_element) { delivery_date_element.disabled = false; delivery_date_element.value = min_delivery_date; } let attributes = {"配送日の指定": "指定する", "配送希望日": min_delivery_date}; anddAjax.post('/cart/update.js', {attributes: attributes}); } else { if (delivery_date_element) { delivery_date_element.value = "" delivery_date_element.disabled = true; } if (delivery_date_element_next_engine) { delivery_date_element_next_engine.value = ""; } if (delivery_date_element_openlogi) { delivery_date_element_openlogi.value = ""; } anddAjax.post('/cart/update.js', { attributes: {"配送日の指定": "なし","配送希望日" : "", "delivery_date" : "", "openlogi_delivery_date" : ""} }); } } } function reflectDeliveryDateBoolean() { if (document.getElementById("delivery-date-boolean-true")) { let delivery_date_element = document.getElementById("delivery-date"); let delivery_date_element_next_engine = document.getElementById("delivery-date-next-engine"); let is_delivery_date_on = document.getElementById("delivery-date-boolean-true").checked; if (delivery_date_element) { if (is_delivery_date_on) { delivery_date_element.disabled = false; } else { delivery_date_element.value = "" delivery_date_element.disabled = true; if (delivery_date_element_next_engine) { delivery_date_element_next_engine.value = "" } } } } } function startAnddCartAttributes() { executeCartAttributes(); reflectDeliveryDateBoolean(); MutationObserver = window.MutationObserver || window.WebKitMutationObserver; var observer = new MutationObserver(function(mutations, observer) { for (var i = 0; i < mutations.length; i++) { for (var j = 0; j < mutations[i].addedNodes.length; j++) { if (mutations[i].addedNodes[j].tagName === "FORM") { if (!mutations[i].addedNodes[j].classList.contains("andd-cart-attributes")) { executeCartAttributes(); mutations[i].addedNodes[j].classList.add("andd-cart-attributes") } } } } }); observer.observe(document, {childList: true, subtree: true}); }; if (document.readyState == 'loading') { document.addEventListener('DOMContentLoaded', startAnddCartAttributes, false); } else { startAnddCartAttributes(); } !function(){"use strict";var e={167:function(e,t,n){var r=n(354),i=n.n(r),a=n(314),o=n.n(a)()(i());o.push([e.id,'@keyframes react-loading-skeleton{100%{transform:translateX(100%)}}.react-loading-skeleton{--base-color: #ebebeb;--highlight-color: #f5f5f5;--animation-duration: 1.5s;--animation-direction: normal;--pseudo-element-display: block;background-color:var(--base-color);width:100%;border-radius:.25rem;display:inline-flex;line-height:1;position:relative;user-select:none;overflow:hidden}.react-loading-skeleton::after{content:" ";display:var(--pseudo-element-display);position:absolute;top:0;left:0;right:0;height:100%;background-repeat:no-repeat;background-image:var(--custom-highlight-background, linear-gradient(90deg, var(--base-color) 0%, var(--highlight-color) 50%, var(--base-color) 100%));transform:translateX(-100%);animation-name:react-loading-skeleton;animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-timing-function:ease-in-out;animation-iteration-count:infinite}@media(prefers-reduced-motion){.react-loading-skeleton{--pseudo-element-display: none}}',"",{version:3,sources:["webpack://./node_modules/react-loading-skeleton/dist/skeleton.css"],names:[],mappings:"AAAA,kCACE,KACE,0BAAA,CAAA,CAIJ,wBACE,qBAAA,CACA,0BAAA,CACA,0BAAA,CACA,6BAAA,CACA,+BAAA,CAEA,kCAAA,CAEA,UAAA,CACA,oBAAA,CACA,mBAAA,CACA,aAAA,CAEA,iBAAA,CACA,gBAAA,CACA,eAAA,CAGF,+BACE,WAAA,CACA,qCAAA,CACA,iBAAA,CACA,KAAA,CACA,MAAA,CACA,OAAA,CACA,WAAA,CACA,2BAAA,CACA,qJAAA,CASA,2BAAA,CAEA,qCAAA,CACA,8CAAA,CACA,4CAAA,CACA,qCAAA,CACA,kCAAA,CAGF,+BACE,wBACE,8BAAA,CAAA",sourcesContent:["@keyframes react-loading-skeleton {\n 100% {\n transform: translateX(100%);\n }\n}\n\n.react-loading-skeleton {\n --base-color: #ebebeb;\n --highlight-color: #f5f5f5;\n --animation-duration: 1.5s;\n --animation-direction: normal;\n --pseudo-element-display: block; /* Enable animation */\n\n background-color: var(--base-color);\n\n width: 100%;\n border-radius: 0.25rem;\n display: inline-flex;\n line-height: 1;\n\n position: relative;\n user-select: none;\n overflow: hidden;\n}\n\n.react-loading-skeleton::after {\n content: ' ';\n display: var(--pseudo-element-display);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n background-repeat: no-repeat;\n background-image: var(\n --custom-highlight-background,\n linear-gradient(\n 90deg,\n var(--base-color) 0%,\n var(--highlight-color) 50%,\n var(--base-color) 100%\n )\n );\n transform: translateX(-100%);\n\n animation-name: react-loading-skeleton;\n animation-direction: var(--animation-direction);\n animation-duration: var(--animation-duration);\n animation-timing-function: ease-in-out;\n animation-iteration-count: infinite;\n}\n\n@media (prefers-reduced-motion) {\n .react-loading-skeleton {\n --pseudo-element-display: none; /* Disable animation */\n }\n}\n"],sourceRoot:""}]),t.A=o},345:function(e,t,n){var r=n(354),i=n.n(r),a=n(314),o=n.n(a)()(i());o.push([e.id,'.delivery-container{max-width:400px;margin-left:auto;margin-bottom:20px;text-align:left}@media screen and (max-width: 749px){.delivery-container{margin:0 auto 20px}}.delivery-container .flex-modifier{display:flex;flex-direction:row;align-items:stretch;justify-content:center;gap:4px}.delivery-container .flex-center{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:4px}.delivery-container .title-border{border-bottom:1px solid #ccc;padding:20px 0;margin-top:0 !important}.delivery-container .delivery-title{margin-bottom:0;margin-top:20px}.delivery-container .delivery-title .display-inline{display:inline}.delivery-container .delivery-mindate-caution{position:relative;text-align:center;padding:0px 3px;margin:0;color:#4455ac;font-size:14px;font-weight:700;line-height:1.3;justify-content:center}.delivery-container .delivery-mindate-help{font-size:14px;display:block;padding-top:5px;font-weight:400}.delivery-container .delivery-caution__container{display:flex}.delivery-container .delivery-caution__statement{flex-basis:90%;margin:4px 0}.delivery-container .error-message{color:#df5d5d}.delivery-container .delivery-select-container{cursor:pointer;background:#fff;position:relative !important}.delivery-container .delivery-select-container__select{color:#000;background-color:#fff;background-image:none !important;border:#ccc solid 1px;border-radius:1px;width:100%;line-height:44px;display:block;height:44px;margin:0;padding:0 10px;font-size:16px !important;-webkit-appearance:none;-moz-appearance:none;appearance:none}.delivery-container .delivery-select-container__select select:-moz-focusring{color:rgba(0,0,0,0);text-shadow:0 0 0 #000}.delivery-container .delivery-select-container__select ::-ms-expand{display:none !important}.delivery-container .delivery-select-container--close{display:inline-flex;position:absolute !important;right:14px !important;top:50% !important;transform:translateY(-50%);opacity:.5}.delivery-container .delivery-select-container--close:hover{opacity:1}.delivery-container .delivery-select-container--calendar{position:absolute !important;right:18px;top:0}.delivery-container .amp-select-allow::after{content:"";position:absolute !important;right:19px;top:19px;width:10px;height:10px;border-top:2px solid dimgray;border-left:2px solid dimgray;transform:translateY(-50%) rotate(-135deg);font-size:20px;pointer-events:none}.delivery-container .pop-over__container{position:relative}.delivery-container .pop-over__label{cursor:pointer}.delivery-container .pop-over__label:hover{opacity:.5}.delivery-container .pop-over__content{transition:all .1s;font-size:1.2rem;font-weight:400;position:absolute;z-index:9999;min-width:280px;color:#333;border-radius:4px;text-align:left;padding:10px;background-color:#fff;right:-10px;top:38px;line-height:1.3;border:2px solid #666;z-index:99}.delivery-container .pop-over__content::before{border-style:solid;border-width:0 10px 10px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff rgba(0,0,0,0);content:"";position:absolute;top:-9px;right:8px;display:block;width:0px;height:0px;z-index:1}.delivery-container .pop-over__content::after{border-style:solid;border-width:0 12px 12px 12px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) #666 rgba(0,0,0,0);content:"";position:absolute;top:-12px;right:6px;display:block;width:0px;height:0px;z-index:0}.delivery-container .pop-over__content--hidden{visibility:hidden;opacity:0}.delivery-container .pop-over__content__content--visible{visibility:visible;opacity:1}.delivery-container .icon-text{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:6px}.delivery-container .icon-text>svg{fill:currentColor}.delivery-container .loading-spinner{border:4px #ddd solid;border-top:4px #2e93e6 solid;border-radius:50%;animation:sp-anime 1s infinite linear;width:18px;height:18px;display:block !important}@keyframes sp-anime{100%{transform:rotate(360deg)}}.delivery-container .amp-text__field{position:relative;width:100%}.delivery-container .amp-text__field input{box-sizing:border-box;align-items:center;padding:8px;gap:8px;width:100%;height:40px;font-size:16px;color:#000 !important;background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:4px}.delivery-container .amp-text__field input[data-style-icon=true]{padding-left:35px}.delivery-container .amp-text__field input::placeholder{color:#ccc}.delivery-container .amp-text__field-icon{position:absolute;top:10px;left:10px;color:#aaa}.delivery-container .amp-text__field--error{border:solid 1px red !important}.delivery-container .amp-text__field--error:focus{outline:solid 1px red}.delivery-container .statement__wrapper--warning{align-items:center;padding:0 4px;background-color:#ffd8d6;border-radius:4px}.delivery-container .statement__wrapper__title-block{display:flex;align-items:center}.amp-ui-component--calendar_section{min-width:330px;margin-top:20px;margin-right:25px}@media screen and (max-width: 749px){.amp-ui-component--calendar_section{border-bottom:.5px solid #ccc;padding:20px 0}}@media screen and (min-width: 750px){.amp-ui-component--calendar_section{max-width:450px}}.amp-ui-component--calendar_section .monthTitle{margin:0;color:#666;text-align:center;font-size:18px;font-weight:400;padding-top:10px}@media screen and (max-width: 749px){.amp-ui-component--calendar_section .monthTitle{padding-top:0;text-align:left;margin:0 0 10px 16px}}.amp-ui-component--calendar_container{margin:0 32px;overflow-x:hidden;display:flex;justify-content:space-between;position:relative}@media screen and (max-width: 749px){.amp-ui-component--calendar_container{margin:0 auto;flex-direction:column}.amp-ui-component--calendar_container>div{margin:0;overflow-y:scroll}}@media screen and (max-width: 749px){.amp-ui-component--calendar_container{margin:0;margin-bottom:115px}}.amp-ui-component--calendar_container .prev-month--allow{cursor:pointer;position:absolute;top:45px;left:20px}@media screen and (max-width: 749px){.amp-ui-component--calendar_container .prev-month--allow{display:none}}.amp-ui-component--calendar_container .next-month--allow{cursor:pointer;position:absolute;top:45px;right:20px}@media screen and (max-width: 749px){.amp-ui-component--calendar_container .next-month--allow{display:none}}.amp-ui-element--table{border:none;background:#fff !important;width:100%;display:table;border-spacing:0;border-collapse:collapse;margin-top:25px;margin-bottom:0}@media screen and (max-width: 749px){.amp-ui-element--table{margin:0 auto;min-width:280px}}.amp-ui-element--table[data-style-display=true]{display:none}@media screen and (max-width: 749px){.amp-ui-element--table[data-style-display=true]{display:table}}.amp-ui-element--table-row{background:#fff !important;color:inherit;display:table-row;outline:0;vertical-align:middle}.amp-ui-element--table-row:first-child td:after,.amp-ui-element--table-row:first-child th:after{border-bottom:none}.amp-ui-element--table-cell{background:#fff !important;padding:0 !important;border:none;position:relative;height:45px !important;width:45px !important;display:table-cell;text-align:center;font-family:"Roboto","Helvetica","Arial",sans-serif;font-weight:300;line-height:1.43;letter-spacing:.01071em;vertical-align:inherit}.amp-ui-element--table-cell p{margin:0;padding:0;font-size:15px;height:34px;line-height:34px;color:#000}.amp-ui-element--table-cell p[data-style-color=blue]{color:#4455ac}.amp-ui-element--table-cell p[data-style-color=red]{color:#df5d5d}.amp-ui-element--table-cell p[data-style-color=disabled]{color:#efefef}.amp-ui-element--table-cell p[data-style-color=selected]{background:#4455ac;border-radius:50%;width:34px;height:34px;line-height:34px;text-align:center;display:inline-block;color:#fff}.amp-ui-element--table-body{display:table-row-group}.amp-ui-element--table-body tr td{height:45px;font-weight:900}.amp-ui-element--table-body tr td p{cursor:pointer;color:#000;border-radius:50%}.amp-ui-element--table-body tr td p[data-style-color=disabled]{cursor:default}.amp-ui-element--table-body tr td p[data-style-color=disabled]:hover{background:#fff;color:#efefef}@media screen and (min-width: 750px){.amp-ui-element--table-body tr td p:hover{background:#efefef;border-radius:50%;width:34px;height:34px;line-height:34px;text-align:center;display:inline-block;color:#000;transition:background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}}.amp-ui-element--table-head{display:table-header-group}@media screen and (max-width: 749px){.amp-ui-element--table-head{display:none}}.amp-ui-element--table-head tr td p{font-size:12px}.amp-ui-element--table-head-md{display:none}@media screen and (max-width: 749px){.amp-ui-element--table-head-md{margin:0 auto;display:table-header-group}}@media screen and (min-width: 750px){.delivery-modal__modal-off{display:none}}.delivery-modal__overlay{z-index:999999999;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;animation-name:modal;animation-fill-mode:forwards;animation-duration:.5s}@media screen and (max-width: 749px){.delivery-modal__bottom-drawer .delivery-modal__content{transform:translated3d(0, 0, 0);transform:translateY(120%) !important}}.delivery-modal__content{position:relative;border-radius:8px;z-index:9999;width:749px;background:#fff;animation-name:modal;animation-fill-mode:forwards !important;animation-duration:.3s}@media screen and (max-width: 749px){.delivery-modal__content{position:fixed;top:0;right:0;width:100%;height:100%;text-align:left;font-size:18px;z-index:9999;transform:translateY(5px) !important;transition:.3s all}}.delivery-modal__header{position:relative;font-size:18px;color:#666;text-align:center;padding:25px 0px;border-bottom:#ccc solid 1px}@media screen and (max-width: 749px){.delivery-modal__header{padding:20px 0px 0px 0px;margin-top:45px}}.delivery-modal__body{padding-bottom:30px;overflow-y:scroll;margin:0}@media screen and (max-width: 749px){.delivery-modal__body{height:100%}}.delivery-modal__close-button{display:inline-flex;cursor:pointer;background-color:#fff !important;border:none;position:absolute;right:5%;top:50%;transform:translateY(-50%)}@media screen and (max-width: 749px){.delivery-modal__close-button{transform:initial;top:-20px;right:20px}}@keyframes modal{0%{opacity:0}100%{opacity:1}}.amp-ui-element--button{cursor:pointer;font-size:14px;color:#fff;background:#4455ac;border:solid 1px #333;padding:6px 10px;border-radius:2px;transition:.5s}.amp-ui-element--button:disabled{background:#97a4cd;border:solid 1px #99abcf;color:#ccc}',"",{version:3,sources:["webpack://./style/style.scss","webpack://./style/_mixin.scss","webpack://./style/_flex.scss","webpack://./style/_main.scss","webpack://./style/_color.scss","webpack://./style/_popover.scss","webpack://./style/_icon-text.scss","webpack://./style/_loading.scss","webpack://./style/_text-field.scss","webpack://./style/_statement.scss","webpack://./style/_calendar.scss","webpack://./style/_font.scss","webpack://./style/_modal.scss"],names:[],mappings:"AAMA,oBACE,eAAA,CACA,gBAAA,CACA,kBAAA,CACA,eAAA,CCTE,qCDKJ,oBAMI,kBAAA,CAAA,CEJJ,mCAPE,YAAA,CACA,kBAOwB,CANxB,mBAH+D,CAI/D,sBAK6B,CAJ7B,OAAA,CAOF,iCAXE,YAAA,CACA,kBAWwB,CAVxB,kBAUqC,CATrC,sBAS6B,CAR7B,OAAA,CCLF,kCACE,4BAAA,CACA,cAAA,CACA,uBAAA,CAIF,oCACE,eAAA,CACA,eAAA,CAEA,oDACE,cAAA,CAKF,8CACE,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,QAAA,CACA,aCnBO,CDoBP,cAAA,CACA,eAAA,CACA,eAAA,CACA,sBAAA,CAEF,2CACE,cAAA,CACA,aAAA,CACA,eAAA,CACA,eAAA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BAAA,CACA,sBAAA,CXrBJ,qCWyBQ,wDACI,+BAAA,CACA,qCAAA,CAAA,CAIZ,yBACI,iBAAA,CACA,iBAAA,CACA,YAAA,CACA,WAAA,CACA,eAAA,CACA,oBAAA,CACA,uCAAA,CACA,sBAAA,CXvCJ,qCW+BA,yBAWQ,cAAA,CACA,KAAA,CACA,OAAA,CACA,UAAA,CACA,WAAA,CACA,eAAA,CACA,cAAA,CACA,YAAA,CACA,oCAAA,CACA,kBAAA,CAAA,CAIR,wBACI,iBAAA,CACA,cAAA,CACA,UR3DE,CQ4DF,iBAAA,CACA,gBAAA,CACA,4BAAA,CX7DJ,qCWuDA,wBAQQ,wBAAA,CACA,eAAA,CAAA,CAGR,sBAEI,mBAAA,CACA,iBAAA,CACA,QAAA,CXvEJ,qCWmEA,sBAMQ,WAAA,CAAA,CAGR,8BACI,mBAAA,CACA,cAAA,CACA,gCAAA,CACA,WAAA,CACA,iBAAA,CACA,QAAA,CACA,OAAA,CACA,0BAAA,CXpFJ,qCW4EA,8BAUQ,iBAAA,CACA,SAAA,CACA,UAAA,CAAA,CAKZ,iBACI,GACI,SAAA,CAEJ,KACI,SAAA,CAAA,CAMJ,wBACI,cAAA,CACA,cAAA,CACA,UAAA,CACA,kBR1GG,CQ2GH,qBAAA,CACA,gBAAA,CACA,iBAAA,CACA,cAAA,CACA,iCACI,kBAAA,CACA,wBAAA,CACA,URpHF",sourcesContent:["@use 'color';\n@use 'prefix';\n@use 'font';\n@import 'breakpoint';\n@import 'mixin';\n\n.delivery-container {\n max-width: 400px;\n margin-left: auto;\n margin-bottom: 20px;\n text-align: left;\n @include mq(md) {\n margin: 0 auto 20px;\n }\n @import 'flex';\n @import 'main';\n @import 'popover';\n @import 'icon-text';\n @import 'loading';\n @import 'text-field';\n @import 'statement';\n}\n\n@import 'calendar';\n@import 'modal';\n","@mixin mq($breakpoint) {\n @media #{map-get($breakpoints, $breakpoint)} {\n @content;\n }\n}\n\n@mixin calendar-link__decoration {\n text-decoration: underline;\n cursor: pointer;\n color: color.$blue-100;\n}","@mixin flex-container($direction: row, $justify: nowrap, $align: stretch) {\n display: flex;\n flex-direction: $direction;\n align-items: $align;\n justify-content: $justify;\n gap: 4px;\n}\n\n.flex-modifier {\n @include flex-container(row, center);\n}\n\n.flex-center {\n @include flex-container(row, center, center);\n}\n",".title-border {\n border-bottom: 1px solid color.$dark-40;\n padding: 20px 0;\n margin-top: 0 !important\n;\n}\n\n.delivery-title {\n margin-bottom: 0;\n margin-top: 20px;\n\n .display-inline {\n display: inline;\n }\n}\n\n.delivery-mindate {\n &-caution {\n position: relative;\n text-align: center;\n padding: 0px 3px;\n margin: 0;\n color: color.$blue-100;\n font-size: 14px;\n font-weight: 700;\n line-height: 1.3;\n justify-content: center;\n }\n &-help {\n font-size: 14px;\n display: block;\n padding-top: 5px;\n font-weight: 400;\n }\n}\n\n.delivery-caution {\n &__container {\n display: flex;\n }\n &__statement {\n flex-basis: 90%;\n margin: 4px 0;\n }\n}\n\n.error-message {\n color: color.$coral;\n}\n\n// --------------SelectElement---------------\n.delivery-select-container {\n cursor: pointer;\n background: white;\n position: relative !important;\n\n &__select {\n color: black;\n background-color: white;\n background-image: none !important;\n border: color.$dark-40 solid 1px;\n border-radius: 1px;\n width: 100%;\n line-height: 44px;\n display: block;\n height: 44px;\n margin: 0;\n padding: 0 10px;\n font-size: 16px !important;\n\n select:-moz-focusring {\n color: transparent;\n text-shadow: 0 0 0 #000;\n }\n\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n\n ::-ms-expand {\n /* select要素のデザインを無効にする(IE用) */\n display: none !important;\n }\n }\n\n &--close {\n display: inline-flex;\n position: absolute !important;\n right: 14px !important;\n top: 50% !important;\n transform: translateY(-50%);\n opacity: 0.5;\n\n &:hover {\n opacity: 1;\n }\n }\n\n &--calendar {\n // カレンダーのアイコン\n position: absolute !important;\n right: 18px;\n top: 0;\n }\n}\n\n.amp-select-allow {\n &::after {\n content: '';\n position: absolute !important;\n right: 19px;\n top: 19px;\n width: 10px;\n height: 10px;\n border-top: 2px solid dimgray;\n border-left: 2px solid dimgray;\n transform: translateY(-50%) rotate(-135deg);\n font-size: 20px;\n pointer-events: none;\n }\n}\n","$dark-80: #666666;\n$dark-40: #CCCCCC;\n$dark-20: #EFEFEF;\n$blue-100: #4455ac;\n$coral: #DF5D5D;",".pop-over {\n &__container {\n position: relative;\n // @include mq(sm) {\n // position: initial;\n // }\n }\n &__label {\n cursor: pointer;\n &:hover {\n opacity: 0.5;\n }\n }\n &__content {\n transition: all 0.1s;\n font-size: 1.2rem;\n font-weight: 400;\n position: absolute;\n z-index: 9999;\n min-width: 280px;\n color: #333;\n border-radius: 4px;\n text-align: left;\n padding: 10px;\n background-color: #ffffff;\n right: -10px;\n top: 38px; // タイトル要素の直下に配置\n line-height: 1.3;\n border: 2px solid #666666; // 枠線の色を指定します\n z-index: 99;\n &::before {\n border-style: solid;\n border-width: 0 10px 10px 10px;\n border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #fff rgba(0, 0, 0, 0);\n content: '';\n position: absolute;\n top: -9px;\n /* left: 50%; */\n right: 8px;\n /* margin-left: -9px; */\n display: block;\n width: 0px;\n height: 0px;\n z-index: 1;\n }\n &::after {\n border-style: solid;\n border-width: 0 12px 12px 12px;\n border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #666666 rgba(0, 0, 0, 0);\n content: '';\n position: absolute;\n top: -12px;\n right: 6px;\n display: block;\n width: 0px;\n height: 0px;\n z-index: 0;\n }\n &--hidden {\n visibility: hidden;\n opacity: 0;\n // transition: visibility 0s linear 0.1s, opacity 0.2s linear;\n }\n\n &__content--visible {\n visibility: visible;\n opacity: 1;\n // transition: opacity 0.1s;\n }\n }\n}\n",".icon-text {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 12px;\n margin-top: 6px;\n & > svg {\n // 仮にアイコンがSVGの場合\n fill: currentColor; // アイコンの色をテキストの色に合わせる\n }\n}\n","$small: 18px;\n\n.loading-spinner {\n // margin: auto;\n border: 4px #ddd solid;\n border-top: 4px #2e93e6 solid;\n border-radius: 50%;\n animation: sp-anime 1s infinite linear;\n width: $small;\n height: $small;\n display: block !important;\n}\n\n@keyframes sp-anime {\n 100% {\n transform: rotate(360deg);\n }\n}\n",".amp-text__field {\n position: relative;\n width: 100%;\n input {\n box-sizing: border-box;\n align-items: center;\n padding: 8px;\n gap: 8px;\n width: 100%;\n height: 40px;\n font-size: 16px;\n color: black !important;\n background: #ffffff;\n border: 1px solid rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n &[data-style-icon='true'] {\n padding-left: 35px;\n }\n &::placeholder {\n color: color.$dark-40;\n }\n }\n &-icon {\n position: absolute;\n top: 10px;\n left: 10px;\n color: #aaaaaa;\n }\n &--error {\n border: solid 1px red !important;\n &:focus {\n outline: solid 1px red;\n }\n }\n}\n","@mixin statement__wrapper($bg-color) {\n align-items: center;\n padding: 0 4px;\n background-color: $bg-color;\n border-radius: 4px;\n}\n\n.statement__wrapper {\n &--warning {\n @include statement__wrapper(#ffd8d6);\n }\n &__title-block {\n display: flex;\n align-items: center;\n }\n}\n",'//---------カレンダーUI-----------\n@mixin table-cell__checked ($color, $bgcolor) {\n background: $bgcolor;\n border-radius: 50%;\n width: font.$cell-font;\n height: font.$cell-font;\n line-height: font.$cell-font;\n text-align: center;\n display: inline-block;\n color: $color;\n}\n\n.#{prefix.$ui-component} {\n &--calendar_section {\n min-width: 330px;\n margin-top: 20px;\n margin-right: 25px;\n @include mq(md) {\n border-bottom: 0.5px solid color.$dark-40;\n padding: 20px 0;\n }\n @include mq(up-md) {\n max-width: 450px;\n }\n // overflowの仮デザイン\n .monthTitle {\n margin: 0;\n color: color.$dark-80;\n text-align: center;\n font-size: 18px;\n font-weight: 400;\n padding-top: 10px;\n @include mq(md) {\n padding-top: 0;\n text-align: left;\n margin: 0 0 10px 16px;\n }\n }\n }\n &--calendar_container {\n margin: 0 32px;\n overflow-x: hidden;\n display: flex;\n justify-content: space-between;\n position: relative;\n @include mq(md) {\n margin: 0 auto;\n flex-direction: column;\n >div {\n margin: 0;\n overflow-y: scroll;\n }\n }\n @include mq(md) {\n margin: 0;\n margin-bottom: 115px;\n }\n @mixin pagination-button($position: \'left\') {\n cursor: pointer;\n position: absolute;\n top: 45px;\n @if($position==\'left\') {\n left: 20px;\n }\n @else if($position==\'right\') {\n right: 20px;\n }\n @include mq(md) {\n display: none;\n }\n }\n .prev-month--allow {\n @include pagination-button\n }\n .next-month--allow {\n @include pagination-button(right)\n }\n }\n}\n\n.#{prefix.$ui-element} {\n &--table {\n border: none;\n background: white !important;\n width: 100%;\n display: table;\n border-spacing: 0;\n border-collapse: collapse;\n margin-top: 25px;\n margin-bottom: 0;\n @include mq(md) {\n margin: 0 auto;\n min-width: 280px; // GalaxyFoldのサイズ\n }\n // モーダルのヘッダーに曜日を含める場合\n &[data-style-display=true] {\n display: none;\n @include mq(md) {\n display: table;\n }\n }\n }\n &--table-row {\n background: white !important;\n color: inherit;\n display: table-row;\n outline: 0;\n vertical-align: middle;\n &:first-child td:after,\n &:first-child th:after {\n border-bottom: none;\n }\n // height: 45px; // 各テーブルの行の高さ hoverなど設定の必要あり\n }\n &--table-cell {\n background: white !important;\n padding: 0 !important;\n border: none;\n position: relative;\n height: 45px !important;\n width: 45px !important;\n display: table-cell;\n text-align: center;\n font-family: "Roboto", "Helvetica", "Arial", sans-serif;\n font-weight: 300;\n line-height: 1.43;\n letter-spacing: 0.01071em;\n vertical-align: inherit;\n // --------仮---------\n p {\n margin: 0;\n padding: 0;\n font-size: 15px;\n height: font.$cell-font;\n line-height: font.$cell-font;\n color: black;\n &[data-style-color="blue"] {\n color: color.$blue-100;\n }\n &[data-style-color="red"] {\n color: color.$coral;\n }\n &[data-style-color="disabled"] {\n color: color.$dark-20;\n }\n &[data-style-color="selected"] {\n @include table-cell__checked(white, color.$blue-100)\n }\n }\n }\n &--table-body {\n display: table-row-group;\n tr {\n td {\n height: 45px;\n font-weight: 900;\n p {\n cursor: pointer;\n color: black;\n border-radius: 50%;\n &[data-style-color=\'disabled\'] {\n cursor: default;\n &:hover {\n background: white;\n color: color.$dark-20;\n }\n }\n @include mq(up-md) {\n &:hover {\n @include table-cell__checked(black, color.$dark-20);\n transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n }\n }\n }\n }\n }\n }\n &--table-head {\n display: table-header-group;\n @include mq(md) {\n display: none;\n }\n tr {\n td {\n p {\n font-size: 12px;\n }\n }\n }\n }\n &--table-head-md {\n display: none;\n // max-width: %;\n @include mq(md) {\n margin: 0 auto;\n display: table-header-group;\n }\n }\n}\n',"$cell-font : 34px;","// ------------ModalElement--------------\n.delivery-modal {\n &__modal-off {\n @include mq(up-md) {\n display: none;\n }\n }\n &__overlay {\n /* 画面全体を覆う設定 */\n z-index: 999999999;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n /* 画面の中央に要素を表示させる設定 */\n display: flex;\n align-items: center;\n justify-content: center;\n animation-name: modal;\n animation-fill-mode: forwards;\n animation-duration: 0.5s;\n }\n &__bottom-drawer {\n @include mq(md) {\n .delivery-modal__content {\n transform: translated3d(0, 0, 0);\n transform: translateY(120%) !important;\n }\n }\n }\n &__content {\n position: relative;\n border-radius: 8px;\n z-index: 9999;\n width: 749px;\n background: #fff;\n animation-name: modal;\n animation-fill-mode: forwards !important;\n animation-duration: 0.3s;\n // 749px以下の場合、ボトムドロワーのスタイル\n @include mq(md) {\n position: fixed;\n top: 0;\n right: 0;\n width: 100%;\n height: 100%;\n text-align: left;\n font-size: 18px;\n z-index: 9999;\n transform: translateY(5px) !important; // モーダル上の余白\n transition: .3s all;\n }\n }\n // ボトムドロワーのアニメーション\n &__header {\n position: relative;\n font-size: 18px;\n color: color.$dark-80;\n text-align: center;\n padding: 25px 0px;\n border-bottom: color.$dark-40 solid 1px;\n @include mq(md) {\n padding: 20px 0px 0px 0px;\n margin-top: 45px;\n }\n }\n &__body {\n // min-height: 430px;\n padding-bottom: 30px;\n overflow-y: scroll;\n margin: 0;\n @include mq(md) {\n height: 100%;\n }\n }\n &__close-button {\n display: inline-flex;\n cursor: pointer;\n background-color: #fff !important;\n border: none;\n position: absolute;\n right: 5%;\n top: 50%;\n transform: translateY(-50%);\n @include mq(md) {\n transform: initial;\n top: -20px;\n right: 20px;\n }\n }\n}\n\n@keyframes modal {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n\n// --------button------------\n.#{prefix.$ui-element} {\n &--button {\n cursor: pointer;\n font-size: 14px;\n color: white;\n background: color.$blue-100;\n border: solid 1px #333333;\n padding: 6px 10px;\n border-radius: 2px;\n transition: .5s;\n &:disabled {\n background: #97A4CD;\n border: solid 1px #99ABCF;\n color: color.$dark-40;\n }\n }\n}"],sourceRoot:""}]),t.A=o},314:function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,a){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(r)for(var l=0;l!!e&&ke.includes(e),Ee=e=>{const t=(e=>e?.enable_undeliverable_vacation?h(_(e?.vac_start),_(e?.vac_end)):[])(e);return(e=>e.map((e=>y(e,!0))))(t)},Se=e=>{let{shopData:t,minDeliveryDate:n,maxDeliveryDate:r,undeliverableDeliveryDate:i}=e;const a=Ee(t),o=Ne({shopData:t,minDeliveryDate:n,maxDeliveryDate:r});return Be(t?.shopify_domain)?[...i,...a]:[...i,...a,...o]},Ne=e=>{let{shopData:t,minDeliveryDate:n,maxDeliveryDate:r}=e;return t?.enable_undeliverable_holidays?g(n,r,t?.holidays,!0):[]},Pe=e=>{let{shopData:t,minDeliveryDate:n,maxDeliveryDate:r}=e;return t?.enable_undeliverable_holidays?g(n,r,t?.holidays||[],!1):(i=n)<(a=r)?p({start:i,end:a}).map((e=>y(e,!0))):[];var i,a},Ie=e=>{const t=_(e),n=function(e,t){u(1,arguments);var n=e||{},r=A(n.start),i=A(n.end),a=i.getTime();if(!(r.getTime()<=a))throw new RangeError("Invalid interval");var o=xe(r,t),l=xe(i,t);o.setHours(15),l.setHours(15),a=l.getTime();for(var s=[],c=o;c.getTime()<=a;)c.setHours(0),s.push(A(c)),(c=he(c,1)).setHours(15);return s}({start:De(t),end:we(t)});return n.map((e=>h(e,function(e,t){var n,r,i,a,o,l,s,c;u(1,arguments);var d=be(),p=ue(null!==(n=null!==(r=null!==(i=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t||null===(o=t.locale)||void 0===o||null===(l=o.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==i?i:d.weekStartsOn)&&void 0!==r?r:null===(s=d.locale)||void 0===s||null===(c=s.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var _=A(e),f=_.getDay(),m=6+(f
{const{productDeliveryDate:t}=ye(e),n=e?.product_delivery_dates?.length&&t.minDeliveryDate?new Date(t.minDeliveryDate??""):new Date(e?.min_delivery_date??""),r=Ce((e=>e.prefectureEarliestDeliveryDate))||0,i=new Date,a=t.maxDeliveryDate?new Date(t.maxDeliveryDate??""):new Date(e?.max_delivery_date??""),o=e?.undeliverable_delivery_date||[],l=(0,$.hb)((t=>{if(!t)return y(_(n),!0);const r=Se({minDeliveryDate:n,maxDeliveryDate:a,shopData:e,undeliverableDeliveryDate:o});let i=t;for(;r.includes(i);)i=y(Ae(new Date(i),1),!0);return i}),[Se,t,r,e]),s=(0,$.hb)((i=>{const a=(e=>{let{minDeliveryDate:t,prefectureEarliestDeliveryDate:n,shopData:r,productDeliveryDate:i,type:a}=e;const o="absolute"===i?.delivery_date_type&&i?.minDeliveryDate,l=r?.enable_prefecture_delivery_date&&o;return!r?.enable_prefecture_delivery_date||l||i?.minDeliveryDate&&!r?.enable_pref_delivery_date_from_product?t:Ae(new Date(t),n)})({minDeliveryDate:n,prefectureEarliestDeliveryDate:r,shopData:e,productDeliveryDate:t,type:i}),o=y(a,!0);return l(o||"")}),[e,r,t,n,l]),c=(0,$.hb)((e=>{let{isDateFormat:t,type:n}=e;const r=s(n);if(t){return{exclusionMinDate:_((e=>{const t=_(e);return t.setHours(0,0,0,0),t})(r))}}return{exclusionMinDate:r}}),[e,t,r]),d=(0,$.hb)((()=>{const t=Pe({shopData:e,minDeliveryDate:c({isDateFormat:!0,type:"list"})?.exclusionMinDate,maxDeliveryDate:a}),n=Ee(e),r=e?.undeliverable_delivery_date||[],i=[...n,...r],o=t.filter((e=>!i.includes(e)));return{canSelectExclusionHoliday:t,vacation:n,formatWeekDateExclusionDateList:[e?.is_require_delivery_date?"":e?.delivery_date_unspecified_label??"指定なし",...o.map(C)].filter(Boolean)}}),[e,t,n]),u=(0,$.hb)((()=>{if(!e?.enable_undeliverable_holidays)return[];if(Be(e?.shopify_domain))return[];return e.holidays.filter((e=>""!==e))}),[e]);return{today:i,minDeliveryDate:n,maxDeliveryDate:a,getExclusionDateList:d,getApiHolidays:u,getNextAvailableDeliveryDate:l,getCalcMinDeliveryDate:c,customMaxDate:()=>{const e=document.getElementsByName("attributes[パーティー開催日]")[0];if(e&&!Number.isNaN(new Date(e?.value).getTime()))return _(e?.value)},productDeliveryDate:t}},Te=n(172).h;var Me=e=>{let{fillColor:t}=e;return Te("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{marginBottom:"-2px"}},Te("path",{d:"M13.3333 2.33333H12.6667V1C12.6667 0.734784 12.5613 0.480429 12.3738 0.292893C12.1862 0.105357 11.9319 0 11.6667 0C11.4015 0 11.1471 0.105357 10.9596 0.292893C10.772 0.480429 10.6667 0.734784 10.6667 1V2.33333H5.33333V1C5.33333 0.734784 5.22798 0.480429 5.04044 0.292893C4.8529 0.105357 4.59855 0 4.33333 0C4.06812 0 3.81376 0.105357 3.62623 0.292893C3.43869 0.480429 3.33333 0.734784 3.33333 1V2.33333H2.66667C1.95942 2.33333 1.28115 2.61428 0.781048 3.11438C0.280951 3.61448 0 4.29276 0 5V13.3333C0 14.0406 0.280951 14.7189 0.781048 15.219C1.28115 15.719 1.95942 16 2.66667 16H13.3333C14.0406 16 14.7189 15.719 15.219 15.219C15.719 14.7189 16 14.0406 16 13.3333V5C16 4.29276 15.719 3.61448 15.219 3.11438C14.7189 2.61428 14.0406 2.33333 13.3333 2.33333ZM14.6667 13.3333C14.6667 13.687 14.5262 14.0261 14.2761 14.2761C14.0261 14.5262 13.687 14.6667 13.3333 14.6667H2.66667C2.31304 14.6667 1.97391 14.5262 1.72386 14.2761C1.47381 14.0261 1.33333 13.687 1.33333 13.3333V6.66667H14.6667V13.3333Z",fill:t||"#4455ac"}))},Fe=n(172).h;var $e=()=>Fe("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fe("circle",{cx:"12",cy:"12",r:"8",fill:"#666666"}),Fe("circle",{cx:"12",cy:"12",r:"8",fill:"#666666"}),Fe("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.64117 8.6413C8.93406 8.34841 9.40894 8.34841 9.70183 8.6413L15.3587 14.2982C15.6516 14.591 15.6516 15.0659 15.3587 15.3588C15.0658 15.6517 14.5909 15.6517 14.298 15.3588L8.64117 9.70196C8.34828 9.40907 8.34828 8.93419 8.64117 8.6413Z",fill:"white"}),Fe("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.64118 15.3588C8.34829 15.0659 8.34829 14.5911 8.64118 14.2982L14.298 8.64132C14.5909 8.34842 15.0658 8.34842 15.3587 8.64132C15.6516 8.93421 15.6516 9.40908 15.3587 9.70198L9.70184 15.3588C9.40895 15.6517 8.93407 15.6517 8.64118 15.3588Z",fill:"white"})),Ue=n(172).h;const Le=(0,O.memo)((e=>{let{value:t,isRequireDeliveryDate:n,minDate:r,handleSelect:i,customLabel:a}=e;const{openCalendarModal:o}=de(),[l,s]=(0,O.useState)(!1),c=((e,t,n,r)=>"指定なし"!==e&&""!==e?e:""===e&&t?t:"指定なし"===e&&n?C(r):t||"指定なし")(t,a,n,r),{iconColor:d,borderColor:u}=ee((e=>e.themeBlockStyle));return Ue("div",{className:"delivery-select-container"},Ue("div",{className:"delivery-select-container__select "+(l?"focused":""),style:{borderColor:u},tabIndex:0,"aria-hidden":"true",onClick:()=>o(),onFocus:()=>s(!0),onBlur:()=>s(!1)},Ue("div",null,c),t?Ue("span",{className:"delivery-select-container--close",onClick:e=>{e.stopPropagation();const t=n?C(r):"";i(e,{target_name:"delivery_date",target_value:t})},role:"button","aria-hidden":"true"},Ue($e,null)):Ue("span",{className:"delivery-select-container--calendar"},Ue(Me,{fillColor:d}))))}));var Oe=Le;Le.displayName="SelectCalendar";const qe=O.default.createContext({}),Re=!0;function ze({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:i,circle:a,direction:o,duration:l,enableAnimation:s=true,customHighlightBackground:c}){const d={};return"rtl"===o&&(d["--animation-direction"]="reverse"),"number"==typeof l&&(d["--animation-duration"]=`${l}s`),s||(d["--pseudo-element-display"]="none"),"string"!=typeof n&&"number"!=typeof n||(d.width=n),"string"!=typeof r&&"number"!=typeof r||(d.height=r),"string"!=typeof i&&"number"!=typeof i||(d.borderRadius=i),a&&(d.borderRadius="50%"),void 0!==e&&(d["--base-color"]=e),void 0!==t&&(d["--highlight-color"]=t),"string"==typeof c&&(d["--custom-highlight-background"]=c),d}function He({count:e=1,wrapper:t,className:n,containerClassName:r,containerTestId:i,circle:a=!1,style:o,...l}){var s,c,d;const u=O.default.useContext(qe),A={...l};for(const[e,t]of Object.entries(l))void 0===t&&delete A[e];const p={...u,...A,circle:a},_={...o,...ze(p)};let f="react-loading-skeleton";n&&(f+=` ${n}`);const m=null!==(s=p.inline)&&void 0!==s&&s,v=[],y=Math.ceil(e);for(let t=0;t