PageSourceSearch

https://www.sideprojectors.com/build/assets/PaymentMade-QQIi8faY.js

js sideprojectors.com collected 2026-10-01 10:13:08 UTC 3,287 bytes, 1 lines download raw bytes

1import{_ as c,c as s,a as r,F as o,x as n,t as g,d as y,h as p,m as u,u as m,o as i}from"./app-RdmXVdLP.js";import{a as k}from"./apiPost-C4xD0A-h.js";import"./getCSRF-7MinvhD0.js";const b={data(){return{loading:!0,status:null,error:null}},computed:{...u(m)},async mounted(){await this.processPaymentAndStartVerification()},methods:{async processPaymentAndStartVerification(){try{let e=(await p("/billing/checkout",{sessionId:this.$route.params.sessionId},this.sideprojectorsStore.getToken)).body;if(!e||!e.client_reference_id){this.status="failed",this.loading=!1;return}if(e.payment_status!=="paid"){this.status="canceled",this.loading=!1;return}let t=(await k("/identity-verification/save-checkout-session",{sessionId:this.$route.params.sessionId},this.sideprojectorsStore.getToken)).body;if(t.error){this.error=t.error,this.loading=!1;return}t.stripe_url?window.location.href=t.stripe_url:(this.error="Failed to get verification URL",this.loading=!1)}catch{this.error="An error occurred. Please try again.",this.loading=!1}}}},x={class:"mt-4 p-6 rounded border bg-white border pr-10 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:bg-gray-800 dark:border-gray-700 dark:text-white"},v={key:0,class:"text-center"},f={class:"mt-4 dark:text-gray-300"};function w(d,e,l,t,a,h){return i(),s(o,null,[e[5]||(e[5]=r("div",{class:"text-lg ml-2 dark:text-white"}," 🫆   Processing Verification ",-1)),r("div",x,[a.loading?(i(),s("div",v,e[0]||(e[0]=[r("img",{src:"/img/ajax-loader.gif",class:"mx-auto"},null,-1),r("div",{class:"mt-4 text-gray-600 dark:text-gray-300"},"Processing payment and setting up verification...",-1)]))):a.status==="canceled"?(i(),s(o,{key:1},[e[1]||(e[1]=n('<div class="bg-yellow-50 p-4 rounded-lg border border-yellow-200 dark:bg-yellow-900 dark:border-yellow-800 dark:text-white"><div class="text-yellow-600 dark:text-yellow-400"> ⚠️   Payment was canceled </div></div><div class="mt-4 dark:text-gray-300"> Your payment was not completed. You can try again when you&#39;re ready. </div><div class="mt-4"><span class="bg-gray-400 text-white px-6 py-3 rounded text-sm inline-block cursor-not-allowed">Try Again (temporarily unavailable)</span></div>',3))],64)):a.status==="failed"?(i(),s(o,{key:2},[e[2]||(e[2]=n('<div class="bg-red-50 p-4 rounded-lg border border-red-200 dark:bg-red-900 dark:border-red-800 dark:text-white"><div class="text-red-600 dark:text-red-400"> ❌   Payment failed </div></div><div class="mt-4 dark:text-gray-300"> Your payment could not be processed. Please try again with a different payment method. </div><div class="mt-4"><span class="bg-gray-400 text-white px-6 py-3 rounded text-sm inline-block cursor-not-allowed">Try Again (temporarily unavailable)</span></div>',3))],64)):a.error?(i(),s(o,{key:3},[e[3]||(e[3]=r("div",{class:"bg-orange-50 p-4 rounded-lg border border-orange-200 dark:bg-orange-900 dark:border-orange-800 dark:text-white"},[r("div",{class:"text-orange-600 dark:text-orange-400"}," ⚠️   Something Went Wrong ")],-1)),r("div",f,g(a.error),1),e[4]||(e[4]=r("div",{class:"mt-4"},[r("span",{class:"bg-gray-400 text-white px-6 py-3 rounded text-sm inline-block cursor-not-allowed"},"Try Again (temporarily unavailable)")],-1))],64)):y("",!0)])],64)}const A=c(b,[["render",w]]);export{A 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.