PageSourceSearch

https://www.article.com/assets/CreditKeyCancelPage.ac47e684.js

js article.com collected 2026-10-01 10:19:56 UTC 1,671 bytes, 10 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b0d7c2a0-462a-491b-ba0b-349e5b144641",e._sentryDebugIdIdentifier="sentry-dbid-b0d7c2a0-462a-491b-ba0b-349e5b144641")}catch(h){}import{cz as e,cI as t,b$ as a,c2 as c,ca as r,cs as n,cf as o,e1 as s,c3 as i}from"./index.92caaaf3.js";import{L as u}from"./Loading.30bfc3c2.js";import{u as d}from"./useStatusCode.01513725.js";const l={id:"creditKey-cancel-page"},y=e({__name:"CreditKeyCancelPage",setup(e){const{redirectPermanent:y}=d(),f=t`
2  mutation CREDITKEY_CANCEL($checkoutHashKey: String!) {
3    cancelCreditKeyCheckout(checkoutHashKey: $checkoutHashKey) {
4      success
5      message
6      errors
7    }
8  }
9`,b=a();return c((async()=>{await async function(){var e,t,a,c;let r="";try{const n=null==(t=null==(e=b.currentRoute.value)?void 0:e.query)?void 0:t.checkoutHashKey;if(r=null==(c=null==(a=b.currentRoute.value)?void 0:a.query)?void 0:c.paymentLinkToken,!n)throw new Error("No Checkout Hash Key provided for cancelling creditKey checkout.");const{cancelCreditKeyCheckout:o}=await s(f,{checkoutHashKey:n});if(!o||!o.success)throw new Error("Failed to cancel creditKey checkout")}catch(h){i.sentryCaptureError(h)}r?y(b.resolve({name:"paymentLink",params:{token:r}}).href,"Redirecting to payment link page"):y(b.resolve({name:"cart"}).href,"Redirecting to cart page")}()})),(e,t)=>(r(),n("div",l,[o(u,{message:"Returning to the cart..."})]))}});export{y as default};
10//# sourceMappingURL=CreditKeyCancelPage.ac47e684.js.map

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.