"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["CartContents-public"],{NvLb:function(t,e,n){n.r(e),n.d(e,{default:function(){return g}});var a=n("LpH3"),i=n("ILlM"),r=n("V+k2"),o=n("dGr1"),s=wp.element.lazy((function(){return n.e("CartLineItem-public").then(n.bind(n,"Bp6t"))})),l={name:"xf6pk8-CartLineItemsCSS",styles:"list-style:none;padding:0;margin:0;li:last-child .wps-cart-lineitem{border:none;};label:CartLineItemsCSS;"},p=function(){var t=(0,r.v)(),e=(0,i.useTrail)(t.cartData.lines.edges.length,{from:{x:150},to:{x:0}}),n=l;return(0,a.tZ)(React.Fragment,null,(0,a.tZ)(o.ce,{name:"before.cartLineItems",args:[t.cartData]}),(0,a.tZ)("ul",{css:n},e.map((function(e,n){var r=t.cartData.lines.edges[n];return(0,a.tZ)(i.animated.li,{style:e,key:r.node.id},(0,a.tZ)(s,{key:r.node.id,lineItem:r.node,index:n}))}))),(0,a.tZ)(o.ce,{name:"after.cartLineItems",args:[t.cartData]}))},d=n("y+oc"),c=n("Ktwk"),m=n("U039"),u={name:"17z7n7s-CartTitleCSS",styles:"top:48%;text-align:center;color:#ddd;position:absolute;margin:0;width:100%;font-size:22px;font-weight:normal;margin:0;text-align:center;label:CartTitleCSS;"},g=function(){var t=(0,d.K)(),e=(0,r.v)(),n=(0,r.h)();(0,m.aY)(n);var i=u,o=(0,a.iv)("overflow-y:scroll;-webkit-overflow-scrolling:touch;overflow-x:hidden;position:relative;flex:1;transition:all 0.2s ease;opacity:",e.isCartUpdating?"0.3":"1",";filter:",e.isCartUpdating?"blur(2px)":"none",';padding-top:20px;>.wps-notice{position:relative;top:30%;}.wps-cart-lineitem{border-bottom:1px solid #ddd;padding-bottom:20px;margin-bottom:20px;}>div:last-child{border-bottom:none;padding-bottom:0;}&[data-is-cart-empty="true"] .wps-notice-info{background:none;border:none;font-size:24px;}svg{width:auto;height:69px;position:absolute;top:-64px;left:149px;};label:CartContentsCSS;');return(0,a.tZ)("section",{className:"wps-cart-contents","data-is-cart-empty":t.isCartEmpty,css:o},t.isCartEmpty&&!e.isCartUpdating?(0,a.tZ)("h2",{css:i},(0,a.tZ)(c.m,{color:"#dedede"}),t.settings.emptyCartText):e.cartData.lines&&e.cartData.lines.edges.length?(0,a.tZ)(p,null):null)}}}]);