var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}var window = _____WB$wombat$assign$function_____("window");
var self = _____WB$wombat$assign$function_____("self");
var document = _____WB$wombat$assign$function_____("document");
var location = _____WB$wombat$assign$function_____("location");
var top = _____WB$wombat$assign$function_____("top");
var parent = _____WB$wombat$assign$function_____("parent");
var frames = _____WB$wombat$assign$function_____("frames");
var opener = _____WB$wombat$assign$function_____("opener");
import{a as e,U as c,as as f,aO as g,aS as m,G as l,fR as p,jv as b,dD as _,aX as A,bm as S,bk as k,i as y,aB as i,H as u,I as P,D as x,E as h,j as v,k as R,T as C,aI as N,z as B,b4 as I}from"./app.ZXowmuNl.js";import{C as T}from"./NoAddressLocationFullDetour.DGhydYbu.js";const z="MV9Am",d={Actions:z};function H({children:n}){return e(f,{accessibilityRole:"presentation",children:e(c,{spacing:"large300",children:n})})}function U({grouped:n,children:t}){return e(c,{spacing:n?"base":"large400",children:t})}function M({children:n}){const t=g("Checkout::Actions::RenderBefore");return e(l,{children:[e(m,{extensions:t,spacing:"base"}),e("div",{className:d.Actions,children:n})]})}function E({children:n}){const t=p({base:!0,medium:!1}),{setChatHideTriggerNode:o}=b(),{currentDetour:a}=_(),s=A(r=>{o(t&&a?.type!=="thankYou"&&r?r:null)},[t,a,o]);return e("div",{className:d.PrimaryAction,ref:s,children:n})}function W({children:n}){return e("div",{className:d.SecondaryAction,children:n})}function j(){const n=S(),{hasStorefront:t,contactEmail:o}=k(),a=y(),s=e(E,{children:e(i,{variant:"primary",size:"large",inlineSize:"fill",href:`mailto:${o}`,children:a("no_address_location.email_us_button_label","Send us an email")})}),r=t?e(W,{children:e(i,{href:n.cart(),variant:"plain",inlineSize:"fill",textDecoration:"none",children:[e(u,{above:"small",children:e(P,{spacing:"small400",blockAlignment:"center",children:[e(x,{type:"chevron-left",size:"small-200",appearance:"monochrome"}),e(h,{children:a("general.back_to_cart","Return to cart")})]})}),e(u,{below:"medium",children:e(h,{children:a("general.back_to_cart","Return to cart")})})]})}):null;return v({stage:R.Usable,id:"NoAddressLocation"}),e(l,{children:[e(C,{children:a("no_address_location.title","Location with no address")}),e(c,{spacing:"large500",children:[e(T,{status:"warning",children:[e(N,{children:a("no_address_location.header","You don’t have a shipping address for this location")}),e(B,{color:"subdued",children:a("no_address_location.message","Contact us to add an address for this location to complete checkout.")})]}),e(H,{children:(s||r)&&e(M,{children:[s,r]})})]})]})}const w=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"}));function O(n){const t=I(),o=n.href?"span":l,{pixelId:a,...s}=n;return e(o,{ref:s.href?t(a):void 0,children:e(i,{...s,ref:s.href?void 0:t(a)})})}export{O as B,w as N,H as P,U as a,M as b,E as c,W as d};