PageSourceSearch

https://low.ms/_nuxt/kITa5JnG.js

js low.ms collected 2026-10-03 19:47:57 UTC 7,074 bytes, 1 lines download raw bytes

1import{b0 as I,aL as S,b5 as $,aW as N,aU as P,aV as U,aX as L}from"#entry";import{u as A,_ as M}from"./BehcRoRw.js";import{u as B}from"./q1T-hZev.js";import{u as V}from"./CBhdTrtU.js";import{s as X}from"./Dsxq2egh.js";import{d as j,r as T,o as q,b as z,E as u,a8 as e,V as n,a3 as i,I as _,ac as s,a6 as F,D as k,a2 as m,ag as r}from"./BQmUMq8P.js";import"./DJlyOly4.js";import"./ByCM5PZ5.js";(function(){try{var p=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};p.SENTRY_RELEASE={id:"6be9758297c19841282f0f2f141a80fdd4e83eee"};var g=new p.Error().stack;g&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[g]="25e4011b-8841-47c0-8249-ff2688a8b612",p._sentryDebugIdIdentifier="sentry-dbid-25e4011b-8841-47c0-8249-ff2688a8b612")}catch{}})();const G={class:"success-page"},H={class:"container"},Y={class:"row justify-center"},K={class:"col-md-8 col-lg-6"},Q={class:"success-content text-center"},W={key:0},J={class:"text-muted"},Z={key:1},ee={class:"lead mb-6"},te={class:"success-actions mb-6"},se={key:0,class:"text-muted small mt-6"},oe={key:2},ae={class:"lead mb-6"},ne={class:"success-note rounded-lg border border-yellow-500/30 bg-yellow-500/10 p-5 text-left"},ie={class:"flex items-start gap-3"},re={class:"text-yellow-400 text-base"},le={class:"mb-0 mt-2 text-gray-300 text-sm leading-relaxed"},de={key:3},ce={class:"text-muted mb-6"},ue={key:4},_e={class:"text-muted mb-6"},me={key:5},pe={class:"text-muted mb-6"},ve=j({__name:"success",setup(p){const g=I(),w=S(),d=B(),{trackPurchase:C}=V(),{isAuthenticated:E}=A(),b=w.public.panelUrl||"https://panel.low.ms",D=w.public.apiUrl,a=T("loading"),y=T(5);let h=null;q(async()=>{const t=g.query.session_id;if(g.query.source==="whmcs"){d.resetForm(),a.value="fulfilled",O();return}if(!t){a.value="error";return}if(d.game&&d.basket){const R=d.pricing,x=d.selectedPricingTier;C({transactionId:t,value:R.totalDueToday||0,currency:"USD",coupon:d.promo?.code,items:[{item_id:d.game.id,item_name:d.game.name,item_category:"Game Server",item_variant:x?.id,price:R.totalDueToday||0,quantity:1}]})}d.resetForm();const l=30;let f=0;const c=async()=>{try{const R=await $fetch(`${D}/payments/checkout-status`,{params:{session_id:t}});if(R.status==="fulfilled"){a.value="fulfilled",O();return}if(R.status==="claim_ready"){a.value="claim_ready";return}if(R.status==="support_required"){a.value="support_required";return}if(f++,f>=l){a.value="timeout";return}h=setTimeout(c,2e3)}catch{if(f++,f>=l){a.value="timeout";return}h=setTimeout(c,2e3)}};await c()});let v=null;function O(){E.value&&(v=X(()=>{y.value--,y.value<=0&&(clearInterval(v),v=null,$(b,{external:!0}))},1e3))}return z(()=>{h&&(clearTimeout(h),h=null),v&&(clearInterval(v),v=null)}),N({title:"Order Complete - LOW.MS",meta:[{name:"description",content:"Your game server order is complete. Your server is being set up and will be ready shortly."}]}),(t,o)=>{const l=P,f=M,c=U;return m(),u("section",G,[e("div",H,[n(l,{level:"1",class:"sr-only"},{default:i(()=>[...o[0]||(o[0]=[r("Order Complete",-1)])]),_:1}),e("div",Y,[e("div",K,[e("div",Q,[_(a)==="loading"?(m(),u("div",W,[n(f),n(l,{level:"2",class:"mt-6"},{default:i(()=>[r(s(t.$t("ORDER_PROCESSING")),1)]),_:1}),e("p",J,s(t.$t("ORDER_PROCESSING_TEXT")),1)])):_(a)==="fulfilled"?(m(),u("div",Z,[o[1]||(o[1]=e("div",{class:"success-icon mb-6"},[e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"text-success"},[e("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),e("polyline",{points:"22 4 12 14.01 9 11.01"})])],-1)),n(l,{level:"2",size:"md",class:"mb-6"},{default:i(()=>[r(s(t.$t("ORDER_CONFIRMED")),1)]),_:1}),e("p",ee,s(t.$t("ORDER_CONFIRMED_TEXT")),1),e("div",te,[n(c,{href:_(b),size:"lg"},{default:i(()=>[r(s(t.$t("ORDER_GO_TO_PANEL")),1)]),_:1},8,["href"])]),_(E)?(m(),u("p",se," Redirecting to control panel in "+s(_(y))+" seconds... ",1)):F("",!0)])):_(a)==="claim_ready"?(m(),u("div",oe,[o[3]||(o[3]=e("div",{class:"success-icon mb-6"},[e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"text-success"},[e("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),e("polyline",{points:"22 4 12 14.01 9 11.01"})])],-1)),n(l,{level:"2",size:"md",class:"mb-6"},{default:i(()=>[r(s(t.$t("ORDER_CONFIRMED")),1)]),_:1}),e("p",ae,s(t.$t("ORDER_CONFIRMED_TEXT")),1),e("div",ne,[e("div",ie,[o[2]||(o[2]=e("i",{class:"fa-solid fa-envelope text-yellow-400 text-lg mt-0.5"},null,-1)),e("div",null,[e("strong",re,s(t.$t("ORDER_CLAIM_CHECK_EMAIL")),1
1),e("p",le,s(t.$t("ORDER_CLAIM_CHECK_EMAIL_TEXT")),1)])])])])):_(a)==="support_required"?(m(),u("div",de,[o[4]||(o[4]=k('<div class="success-icon mb-6" data-v-ea88ad59><svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-warning" data-v-ea88ad59><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" data-v-ea88ad59></path><line x1="12" y1="9" x2="12" y2="13" data-v-ea88ad59></line><line x1="12" y1="17" x2="12.01" y2="17" data-v-ea88ad59></line></svg></div>',1)),n(l,{level:"2",size:"md",class:"mb-6"},{default:i(()=>[r(s(t.$t("ORDER_SUPPORT_REQUIRED")),1)]),_:1}),e("p",ce,s(t.$t("ORDER_SUPPORT_REQUIRED_TEXT")),1),n(c,{variant:"outline",to:"/support"},{default:i(()=>[r(s(t.$t("ORDER_CONTACT_SUPPORT")),1)]),_:1})])):_(a)==="timeout"?(m(),u("div",ue,[o[5]||(o[5]=e("div",{class:"success-icon mb-6"},[e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"text-warning"},[e("circle",{cx:"12",cy:"12",r:"10"}),e("polyline",{points:"12 6 12 12 16 14"})])],-1)),n(l,{level:"2",size:"md",class:"mb-6"},{default:i(()=>[r(s(t.$t("ORDER_STILL_PROCESSING")),1)]),_:1}),e("p",_e,s(t.$t("ORDER_STILL_PROCESSING_TEXT")),1),n(c,{variant:"outline",to:"/support"},{default:i(()=>[r(s(t.$t("ORDER_CONTACT_SUPPORT")),1)]),_:1})])):(m(),u("div",me,[o[6]||(o[6]=k('<div class="error-icon mb-6" data-v-ea88ad59><svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-danger" data-v-ea88ad59><circle cx="12" cy="12" r="10" data-v-ea88ad59></circle><line x1="15" y1="9" x2="9" y2="15" data-v-ea88ad59></line><line x1="9" y1="9" x2="15" y2="15" data-v-ea88ad59></line></svg></div>',1)),n(l,{level:"2"},{default:i(()=>[r(s(t.$t("ORDER_ERROR")),1)]),_:1}),e("p",pe,s(t.$t("ORDER_ERROR_TEXT")),1),n(c,{variant:"outline",to:"/support"},{default:i(()=>[r(s(t.$t("ORDER_CONTACT_SUPPORT")),1)]),_:1})]))])])])])])}}}),Oe=L(ve,[["__scopeId","data-v-ea88ad59"]]);export{Oe 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.