import{Pt as e,yt as n}from"./630ba094.L_X-5TXi.js";import{gO as t,kp as r,xO as o,yf as a}from"./6ec9a0fa.rdcQt2v8.js";import{B as s,F as u,M as m}from"./8d9b1fe6.DS8AsfPU.js";import{y as c}from"./41038fc5.BSZHhowl.js";function i(){const{checkout:{journey:t}}=o(),i=e(()=>"thankYou"!==t.currentDetour.value?.type),{setAnnouncementHasChildren:f}=c(),h=a();if(!i.value&&0!==h.length)return n(r,{customizations:h,transformComponents:(e,{apiVersion:n})=>"2025-07"===n?e:{...Object.fromEntries(Object.entries(e).map(([e,n])=>u(e)?[e,s(n,p)]:[e,n])),...m},render:(e,n)=>(f(n??!1),e)})}function p(){throw new t("Content must be wrapped in an component. All content in the purchase.thank-you.announcement.render target requires the s-announcement wrapper.")}export{i as default};