1import{h as i,A as g,x as p,q as l,_ as b,u as o,g as h,S as C}from"./esnext-vendor.7EcvH7tF.js";import{Q as c}from"./utilities-previous.BNOUhCqt.js";import{iY as m,ca as P,hU as f,k as d,p as k,U as y,a1 as S,en as v,n as A,$ as N}from"./hydrate.CvWSYK3c.js";var x=(e=>(e.Loading="loading",e.Usable="usable",e.Complete="complete",e))(x||{});function w({stage:e,id:n}){if(typeof window>"u")return;const{client:t}=c(),s=t.unstable_legacyNavigationPerformance;i(()=>{e==="usable"?s?.usable():e==="complete"?s?.finish():s?.mark(e,n)},[s,e,n])}function z(e,n=!0){const t=m();b(()=>{if(!(!t||!n))return t.registerComponent(e)},[t,e,n])}function R(e){const n=m(),t=g(e);i(()=>{t.current=e},[e]),i(()=>{let s=!1;if(!n)return;const{pendingComponentsSignal:a}=n;return t.current(a.value),a.subscribe(r=>{s&&t.current(r),s=!0})},[n])}function Y(){const e=p(P),n=l(()=>{e&&(e.completeStatusSignal.value=!0)},[e]);return{id:e?.id,markAsLoaded:n}}function D({id:e,stage:n}){const{client:t}=c(),s=t.unstable_legacyNavigationPerformance;R(a=>{const r=n({pendingComponents:a});switch(r){case"usable":{s?.usable();break}case"complete":{s?.finish();break}default:s?.mark(r,e)}})}const L=class extends Error{constructor(){super(...arguments),this.name="SkeletonNotRemovedError"}};function _(e){const{observability:n}=c();i(()=>{let t=document.body.classList.contains("Loading");if(!t)return;const s=setTimeout(()=>{t=document.body.classList.contains("Loading"),t&&n.error(new L("The skeleton is still in the DOM after 10 seconds."))},1e4);return()=>clearTimeout(s)},[n,e])}const T="MV9Am",u={Actions:T};function B({children:e}){return o(N,{containerName:"s-shell-section",accessibilityRole:"presentation",children:o(d,{gap:"large-300",children:e})})}function I({grouped:e,children:n}){return o(d,{gap:e?"base":"large-400",className:f.ThankYouEntranceCards,children:n})}function V({children:e}){const n=k("Checkout::Actions::RenderBefore");return o(C,{children:[o(y,{customizations:n,gap:"base"}),o("div",{className:h(u.Actions,f.ThankYouEntranceActions),children:e})]})}function q({children:e}){const n=S({base:!0,medium:!1}),{setTriggerNode:t}=v("chat"),{currentDetour:s}=A().value,a=l(r=>{t(n&&s?.type!=="thankYou"?r:null)},[n,s,t]);return o("div",{className:u.PrimaryAction,ref:a,children:e})}function H({children:e}){return o("div",{className:u.SecondaryAction,children:e})}export{q as P,x as S,H as a,B as b,V as c,I as d,z as e,_ as f,Y as g,D as h,w as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.