"use strict";(self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp=self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp||[]).push([[8127],{7260:(e,c,o)=>{o.r(c),o.d(c,{default:()=>m});var t=o(1609),s=o(7723),a=o(8223),l=o(8645),r=o(1e3),n=o(7143),p=o(7594),u=o(3835),i=o(3643);const m=({className:e=""})=>{const{cartNeedsShipping:c,shippingRates:o,shippingAddress:m}=(0,l.V)(),d=(0,n.useSelect)((e=>e(p.checkoutStore).prefersCollection()));if(!c)return null;const k=(0,u.PU)((0,u.uo)(o,null!=d&&d)),h=(0,i.KY)(m,["state","country","postcode","city"]);return(0,t.createElement)(r.TotalsWrapper,{className:e},(0,t.createElement)(a.w7,{label:k?(0,s.__)("Pickup","woocommerce"):(0,s.__)("Delivery","woocommerce"),placeholder:(0,t.createElement)("span",{className:"wc-block-components-shipping-placeholder__value"},h?(0,s.__)("No available delivery option","woocommerce"):(0,s.__)("Enter address to calculate","woocommerce"))}))}}}]);