PageSourceSearch

https://shop.widgit.com/_nuxt/DAD9OfG4.js

js widgit.com collected 2026-09-24 18:54:51 UTC 2,146 bytes, 2 lines download raw bytes

1import{az as M,aA as d,aF as r,aJ as T,b0 as B,aC as y,b4 as C,b6 as O,aN as f,b7 as A,bN as N,aK as x,bw as E,aD as h}from"#entry";import{b as F,c as $}from"./BvgtSfJV.js";import{u as L}from"./CbN9NMCq.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new s.Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="15815d49-2ac6-45a0-941a-65711de420d4",s._sentryDebugIdIdentifier="sentry-dbid-15815d49-2ac6-45a0-941a-65711de420d4")}catch{}})();const V={key:0},P=M({__name:"checkoutSuccess",async setup(s){let e,a;const{getByTypeSingle:b}=E(),{checkOrderForSubscriptions:w}=F(),{lastOrder:_}=$(),{data:g}=([e,a]=d(()=>_()),e=await e,a(),e),{data:k}=([e,a]=d(()=>L()),e=await e,a(),e),{data:m,error:D}=([e,a]=d(()=>b("myAccount")),e=await e,a(),e);D.value&&console.warn("Failed to get account page for default subscription redirect.");const o=r(()=>k.value?.paymentSuccessTemplate),p=r(()=>g.value),v=r(()=>p.value?.orderId),i=r(()=>o.value?.subRedirectUrl??null),I=r(()=>m?.value?.route?.path?`${m.value.route.path}#our-subscriptions`:null),c=r(()=>{const t=i.value;return t?.url??t?.route?.path??I.value??null}),R=r(()=>{const t=Number(o.value?.subRedirectDelay??0),u=Math.max(0,t)*1e3;return Math.round(u)});let n=null;async function S(){const t=v.value,u=i.value;if(!(!t||!c.value))try{if(!await w(t))return;u&&u.target==="_blank"?window.open(c.value,"_blank","noopener,noreferrer"):window.location.href=c.value}catch{}}T(()=>({hasOrderId:!!v.value,hasRedirectUrl:!!c.value,delayMs:R.value,redirectLink:i.value,redirectUrl:c.value}),t=>{!t.hasOrderId||!t.hasRedirectUrl||!t.redirectUrl||(n&&window.clearTimeout(n),n=window.setTimeout(()=>{S()},t.delayMs))},{immediate:!0,deep:!0,flush:"post"}),B(()=>{n&&(window.clearTimeout(n),n=null)});const U=r(()=>{const t=`${p.value?.orderReference??"unknown"}`;return o.value?.message?.replace("[ref]",t)??""});return(t,u)=>{const l=N("safe-html");return h(),y("div",null,[f(o)?.title?(h(),y("h1",V,A(f(o).title),1)):C("",!0),O(x("div",null,null,512),[[l,f(U)]])])}}});export{P as default};
2//# sourceMappingURL=DAD9OfG4.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.