PageSourceSearch

https://www.sideprojectors.com/build/assets/PaymentSuccess-aopdsHdJ.js

js sideprojectors.com collected 2026-09-24 08:44:54 UTC 1,742 bytes, 1 lines download raw bytes

1import{F as u}from"./Simple-BLjuFar5.js";import{b as _}from"./apiPost-C4xD0A-h.js";import{_ as h,c as r,a,F as c,f as n,t as g,g as d,w as l,d as y,b as k,m as f,r as m,u as x,o as t}from"./app-D-cVr9vr.js";import"./getCSRF-7MinvhD0.js";const b={components:{Footer:u},data(){return{done:!1,checked:!1,message:"Please keep this page open.",article:null}},computed:{...f(x)},async mounted(){var e;const o=await _("/articles/payment-success",{sessionId:this.$route.query.session_id},this.sideprojectorsStore.getToken);o.ok?(this.article=o.body,this.done=!0,this.message="Payment was confirmed and the sponsored article has been published."):this.message=((e=o.body)==null?void 0:e.error)||"We could not confirm the payment. Please contact us.",this.checked=!0}},v={class:"max-w-md mx-auto px-6 lg:px-8 mt-12"},w={class:"text-lg ml-2 dark:text-white"},F={class:"mt-4 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-700 p-6 rounded-lg"},S={class:"text-gray-600 dark:text-gray-300"},B={key:0,class:"mt-8"},P={class:"mt-6"};function C(o,e,N,V,s,j){const i=m("router-link"),p=m("Footer");return t(),r("div",v,[a("div",w,[s.done?(t(),r(c,{key:0},[n("✅   Your article is live")],64)):(t(),r(c,{key:1},[n("⏳   Confirming your payment")],64))]),a("div",F,[a("div",S,g(s.message),1),s.checked?(t(),r("div",B,[s.done?(t(),d(i,{key:0,to:{name:"article",params:{slug:s.article.slug}},class:"text-blue-500 hover:underline"},{default:l(()=>e[0]||(e[0]=[n("Read the article")])),_:1,__:[0]},8,["to"])):(t(),d(i,{key:1,to:{name:"articles-mine"},class:"text-blue-500 hover:underline"},{default:l(()=>e[1]||(e[1]=[n("Back to my articles")])),_:1,__:[1]}))])):y("",!0)]),a("div",P,[k(p)])])}const E=h(b,[["render",C]]);export{E as default};

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.