PageSourceSearch

https://udiscovermusic.co/cdn/shopifycloud/checkout-web/assets/c1/OffsitePaymentFailed.DkmtFalS.js

js udiscovermusic.co collected 2026-09-30 19:03:10 UTC 2,997 bytes, 1 lines download raw bytes

1import{u as e}from"./esnext-vendor.BDPAaZdq.js";import{B as s,ie as d,c as l,P as i}from"./hydrate.B0xlt2dG.js";import{F as m}from"./hooks-useHasOrdersFromMultipleShops.C_XGQrjx.js";import{T as f}from"./helpers-getNormalizedPaymentMethodName.B-mE5wnL.js";import{O as p}from"./hooks-useReplaceShopPayInHistory.C8UL-mAH.js";import{u,S as g,b as h}from"./hooks-usePostPurchase.BPY08f0g.js";const y=t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 50 50",...t,children:[e("path",{strokeWidth:2,d:"M49 25c0 13.255-10.745 24-24 24S1 38.255 1 25 11.745 1 25 1s24 10.745 24 24Z",style:{stroke:"currentColor"}}),e("path",{d:"M39 12 12 39m0-27 27 27",style:{stroke:"currentColor"}})]}),_=t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 50 50",...t,children:[e("path",{strokeWidth:2,d:"M49 25c0 13.255-10.745 24-24 24S1 38.255 1 25 11.745 1 25 1s24 10.745 24 24Z",style:{stroke:"currentColor"}}),e("path",{strokeWidth:2,d:"m15 24.511 7.307 7.307L35.125 19",style:{stroke:"currentColor"}})]}),k=t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 50 50",...t,children:[e("path",{strokeWidth:2,d:"M49 25c0 13.255-10.745 24-24 24S1 38.255 1 25 11.745 1 25 1s24 10.745 24 24Z",style:{stroke:"currentColor"}}),e("path",{strokeLinecap:"square",strokeWidth:2,d:"M25 11v19",style:{stroke:"currentColor"}}),e("path",{fillRule:"evenodd",d:"M25 39a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3",clipRule:"evenodd",style:{fill:"currentColor"}})]}),S="GrCfj",x={AnimatedIcon:S},v={success:_,cancelled:y,warning:k},o="48px";function c({status:t,color:n="var(--x-default-color-accent)",animated:r=!1}){const a=v[t];return e(s,{maxBlockSize:o,maxInlineSize:o,minBlockSize:o,minInlineSize:o,className:r?x.AnimatedIcon:void 0,children:e(a,{focusable:"false","aria-hidden":"true",style:{color:n}})})}function M({children:t,status:n}){return e(l,{accessibilityRole:"header",direction:"inline",alignItems:"center",justifyContent:"start",gap:"base",className:d.ThankYouEntranceHeading,children:[e(c,{status:n,animated:n==="success"}),e(s,{children:t})]})}function C(){const{i18n:t,router:n}=p(),r=n.currentUrl.value.searchParams.get("expired")==="true";u({stage:g.Complete,id:"OffsitePaymentFailed"}),h("OffsitePaymentFailed");const a=r?t.translate("offsite_payment_failed.payment_link_expired_title"):t.translate("offsite_payment_failed.payment_not_processed_title");return e(m,{children:e(s,{padding:"none large-500",children:e(l,{gap:"large-300",alignItems:"center",children:[e(f,{children:a}),e(c,{status:"warning",color:"var(--x-default-color-critical)"}),e(l,{gap:"base",children:[e(i,{textAlign:"center",children:a}),e(i,{textAlign:"center",color:"subdued",fonts:"secondary",children:r?t.translate("offsite_payment_failed.payment_link_expired_text"):t.translate("offsite_payment_failed.payment_not_processed_text")})]})]})})})}const A=Object.freeze(Object.defineProperty({__proto__:null,default:C},Symbol.toStringTag,{value:"Module"}));export{M as C,A as O,c as a};

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.