PageSourceSearch

https://royalehosting.net/_app/immutable/nodes/68.CCFZBe44.js

js royalehosting.net collected 2026-10-05 19:16:50 UTC 2,817 bytes, 1 lines download raw bytes

1import"../chunks/DsnmJJEf.js";import{p as G,b as J,k as e,y as Q,a as V,l as Y,C as i,s as t,o as r,B as l,N as h,f as Z,z as o,u as s,n as _}from"../chunks/C2ZciOkT.js";import{F as m,I as ee,K as ae,L as te,B as re}from"../chunks/Bs8jZ7KO.js";import{P as se}from"../chunks/Dnn8x7r9.js";import{R as ie}from"../chunks/BEZxqQAB.js";import{S as le}from"../chunks/JUSAv8ag.js";import{g as oe}from"../chunks/4XdH-Rbo.js";var ne=Z('<!> <div class="billing-layout svelte-1olrmtx"><section class="box billing-summary svelte-1olrmtx"><div class="summary-header svelte-1olrmtx"><span> </span> <!></div> <h2 class="svelte-1olrmtx"> </h2> <div class="price svelte-1olrmtx"> </div> <p class="svelte-1olrmtx"> </p> <div class="due-date svelte-1olrmtx"><!> <span> </span></div></section> <section class="actions svelte-1olrmtx"><a class="box action svelte-1olrmtx"><!> <div><h3 class="svelte-1olrmtx">Renew Service</h3><p class="svelte-1olrmtx">Extend this colocation service.</p></div></a> <a class="box action svelte-1olrmtx"><!> <div><h3 class="svelte-1olrmtx">Upgrade Service</h3><p class="svelte-1olrmtx">Request more power, space, or network capacity.</p></div></a> <a class="box action danger svelte-1olrmtx"><!> <div><h3 class="svelte-1olrmtx">Cancel Service</h3><p class="svelte-1olrmtx">Schedule cancellation for this service.</p></div></a></section> <div class="recurring svelte-1olrmtx"><!></div></div>',1);function ge(P,f){G(f,!0);const a=i(()=>f.data.service),n=i(oe),k=i(()=>!e(n)||e(n).isOwner||e(n).superadmin||e(n).permissions?.perm_write_services!==!1),F={monthly:1,quarterly:3,semiannually:6,annually:12,biennially:24,triennially:36},L=i(()=>F[e(a).billingCycle]||1),N=i(()=>(Number(e(a).price||0)*e(L)).toFixed(2)),c=i(()=>e(a).duedate?new Date(e(a).duedate):null),O=i(()=>e(c)?Math.max(0,Math.floor((e(c).getTime()-Date.now())/(1e3*3600*24))):0);var y=ne(),b=J(y);se(b,{title:"Billing"});var S=t(b,2),p=r(S),u=r(p),w=r(u),q=o(w),z=t(w,2);le(z,{get value(){return e(a).status}}),s(u);var R=t(u,2),A=o(R,!0),C=t(R,2),T=o(C),D=t(C,2),U=o(D,!0),M=t(D,2),$=r(M);m($,{get icon(){return ee}});var W=t($,2),E=o(W);s(M),s(p);var x=t(p,2),v=r(x),H=r(v);m(H,{get icon(){return ae}}),_(2),s(v);var d=t(v,2),I=r(d);m(I,{get icon(){return te}}),_(2),s(d);var g=t(d,2),K=r(g);m(K,{get icon(){return re}}),_(2),s(g),s(x);var B=t(x,2),X=r(B);ie(X,{get service(){return e(a)},get canWriteServices(){return e(k)}}),s(B),s(S),Q(j=>{l(q,`Service #${e(a).id??""}`),l(A,e(a).product?.name),l(T,`€${e(N)??""}`),l(U,e(a).billingCycle),l(E,`${j??""} · ${e(O)??""} days left`),h(v,"href",`/dashboard/services/${e(a).id??""}/renew`),h(d,"href",`/dashboard/services/${e(a).id??""}/upgrade`),h(g,"href",`/dashboard/services/${e(a).id??""}/cancel`)},[()=>e(c)?e(c).toLocaleDateString():"No due date"]),V(P,y),Y()}export{ge as component};

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.