"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[19],{108:(s,e,a)=>{a.d(e,{a:()=>D});var t=a(1),n=(a(2),a(94)),i=a(45),c=a(4),l=a(43),o=a(48),r=a(95);const{closeModalButton:p,shiptectionModal:d,shiptectionModalWrapper:h,shiptectionModalWrapperClose:j,shiptectionModalWrapperHeading:g,shiptectionModalWrapperHeadingTitle:x,shiptectionModalWrapperHeadingSubtitle:b,shiptectionModalWrapperBottom:m,shiptectionModalWrapperBottomDescription:v,shiptectionModalWrapperBottomContent:O,shiptectionModalWrapperBottomFooter:u}=r.a,w=({modalData:s,isModalOpen:e,closeModal:a})=>{if(!s)return null;const{dangerouslySetInnerHTML:n,description:i,footer:c,subtitle:r,title:w}=s;return(0,t.jsx)(l.a,Object.assign({extraClassNameContent:d,closeButtonStyle:p,isOpen:e,onClose:a},{children:(0,t.jsxs)("div",Object.assign({className:h},{children:[(0,t.jsx)("button",Object.assign({onClick:a,className:j},{children:(0,t.jsx)(o.a,{})})),(0,t.jsxs)("div",Object.assign({className:g},{children:[(0,t.jsx)("p",Object.assign({className:x},{children:w})),(0,t.jsx)("p",Object.assign({className:b},{children:r}))]})),(0,t.jsxs)("div",Object.assign({className:m},{children:[(0,t.jsx)("span",Object.assign({className:v},{children:i})),(0,t.jsx)("div",{dangerouslySetInnerHTML:n,className:O}),(0,t.jsx)("p",Object.assign({className:u},{children:c}))]}))]}))}))};var N=a(5);const{wrapper:C,wrapperContent:M,wrapperContentIcon:B,wrapperContentText:W,wrapperContentTextTitle:k,wrapperContentTextDescription:H,wrapperContentPrice:T,wrapperContentPriceButton:L,wrapperContentPriceButtonRemove:S,wrapperLabel:f}=n.a,D=({shiptection:s,toggleShiptection:e})=>{if(!s)return null;const{addLabel:a,removeLabel:n,active:l,modalActiveLabel:o,description:r,price:p,modalData:d,label:h}=s,[j,g]=(0,c.useState)(!1);return(0,t.jsxs)("div",Object.assign({className:C},{children:[(0,t.jsx)(w,Object.assign({},{modalData:d,isModalOpen:j,closeModal:()=>g(!1)})),(0,t.jsxs)("div",Object.assign({className:M},{children:[(0,t.jsx)("div",Object.assign({className:B},{children:(0,t.jsx)(i.a.q,{})})),(0,t.jsxs)("div",Object.assign({className:W},{children:[(0,t.jsx)("p",Object.assign({className:k},{children:h})),(0,t.jsx)("p",Object.assign({className:H},{children:r}))]})),(0,t.jsxs)("div",Object.assign({className:T},{children:[(0,t.jsx)("p",{children:p}),(0,t.jsx)("button",Object.assign({onClick:()=>e(),className:(0,N.c)(L,l&&S)},{children:l?n:a}))]}))]})),(0,t.jsx)("div",Object.assign({className:f},{children:(0,t.jsx)("button",Object.assign({onClick:()=>g(!0)},{children:o}))}))]}))}},50:(s,e,a)=>{a.d(e,{a:()=>c});var t=a(1),n=a(51);const{spinner:i}=n.a,c=()=>(0,t.jsx)("div",{className:i})},107:(s,e,a)=>{a.d(e,{a:()=>n});var t=a(1);a(2);const n=()=>(0,t.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",class:"icon",viewBox:"0 0 20 20"},{children:(0,t.jsx)("path",{d:"M17.543 11.029H2.1A1.032 1.032 0 0 1 1.071 10c0-.566.463-1.029 1.029-1.029h15.443c.566 0 1.029.463 1.029 1.029 0 .566-.463 1.029-1.029 1.029z"})}))},93:(s,e,a)=>{a.d(e,{a:()=>n});var t=a(1);a(2);const n=()=>(0,t.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",class:"icon",viewBox:"0 0 20 20"},{children:(0,t.jsx)("path",{d:"M17.409 8.929h-6.695V2.258c0-.566-.506-1.029-1.071-1.029s-1.071.463-1.071 1.029v6.671H1.967C1.401 8.929.938 9.435.938 10s.463 1.071 1.029 1.071h6.605V17.7c0 .566.506 1.029 1.071 1.029s1.071-.463 1.071-1.029v-6.629h6.695c.566 0 1.029-.506 1.029-1.071s-.463-1.071-1.029-1.071z"})}))}}]);