mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-09 15:46:41 +00:00
2 lines
1.8 KiB
JavaScript
2 lines
1.8 KiB
JavaScript
import{s as j,a as x,f as g,l as L,D as w,d as f,c as M,g as b,h as D,m as C,x as I,j as p,i as S,y as l,n as V,C as $,z as P}from"../chunks/scheduler.de195056.js";import{S as z,i as A}from"../chunks/index.c6f2ad36.js";import{p as B}from"../chunks/stores.6150b2da.js";function F(c){var q;let r,m,e,s,d=c[0].status+"",u,y,h=((q=c[0].error)==null?void 0:q.message)+"",_,H,n,E='<img src="https://media4.giphy.com/media/V9sdMLcmIFqqk/giphy.gif?cid=790b76118f409453704f5eaabaea1a3dc7380a9daf4fca63&rid=giphy.gif&ct=g" alt="Scene from a movie talking about something is missing" class="img-fluid w-100"/>',k,i,T='<i class="bi bi-arrow-left-short"></i> Back to Home';return document.title=r=c[0].status+" - PocketHost",{c(){m=x(),e=g("div"),s=g("h1"),u=L(d),y=L(": "),_=L(h),H=x(),n=g("div"),n.innerHTML=E,k=x(),i=g("a"),i.innerHTML=T,this.h()},l(t){w("svelte-9h4p1d",document.head).forEach(f),m=M(t),e=b(t,"DIV",{class:!0});var a=D(e);s=b(a,"H1",{class:!0});var v=D(s);u=C(v,d),y=C(v,": "),_=C(v,h),v.forEach(f),H=M(a),n=b(a,"DIV",{class:!0,"data-svelte-h":!0}),I(n)!=="svelte-6yek0n"&&(n.innerHTML=E),k=M(a),i=b(a,"A",{href:!0,class:!0,"data-svelte-h":!0}),I(i)!=="svelte-2mjmhs"&&(i.innerHTML=T),a.forEach(f),this.h()},h(){p(s,"class","mb-5"),p(n,"class","gif mb-5 svelte-14rxcuv"),p(i,"href","/"),p(i,"class","btn btn-light"),p(e,"class","container text-center py-4")},m(t,o){S(t,m,o),S(t,e,o),l(e,s),l(s,u),l(s,y),l(s,_),l(e,H),l(e,n),l(e,k),l(e,i)},p(t,[o]){var a;o&1&&r!==(r=t[0].status+" - PocketHost")&&(document.title=r),o&1&&d!==(d=t[0].status+"")&&V(u,d),o&1&&h!==(h=((a=t[0].error)==null?void 0:a.message)+"")&&V(_,h)},i:$,o:$,d(t){t&&(f(m),f(e))}}}function G(c,r,m){let e;return P(c,B,s=>m(0,e=s)),[e]}class O extends z{constructor(r){super(),A(this,r,G,F,j,{})}}export{O as component};
|