mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-01 07:29:31 +08:00
3 lines
3 KiB
JavaScript
3 lines
3 KiB
JavaScript
import{S as Z,i as ee,s as te,w as J,a as S,l as d,r as z,x as K,c as V,m as h,n as p,u as G,h as l,p as r,y as O,b as Q,G as s,v as U,f as W,t as X,B as Y}from"../chunks/index-cd58b8d1.js";import{H as ae}from"../chunks/head-4a058b17.js";import{F as se}from"../chunks/footer-1abd9501.js";import"../chunks/icon-3aa13b39.js";function re(f){var L,M,R,T;let a,m,i,o,n,t,g,y=((L=f[2])!=null?L:"404")+"",k,C,w,H=((M=f[1].message)!=null?M:"Not found")+"",D,F,E,_,B,P,j,v,b;return a=new ae({props:{page:{title:(R=f[2])!=null?R:"404",path:(T=f[0])!=null?T:"/404"}}}),v=new se({props:{sticky:!0,class:"flex-1 md:flex-initial"}}),{c(){J(a.$$.fragment),m=S(),i=d("div"),o=d("div"),n=d("article"),t=d("main"),g=d("h1"),k=z(y),C=S(),w=d("h2"),D=z(H),F=S(),E=d("div"),_=d("a"),B=d("span"),P=z(`
|
|
Back to Home`),j=S(),J(v.$$.fragment),this.h()},l(e){K(a.$$.fragment,e),m=V(e),i=h(e,"DIV",{class:!0});var c=p(i);o=h(c,"DIV",{class:!0});var x=p(o);n=h(x,"ARTICLE",{itemscope:!0,itemtype:!0,class:!0});var I=p(n);t=h(I,"MAIN",{itemprop:!0,class:!0});var u=p(t);g=h(u,"H1",{class:!0});var A=p(g);k=G(A,y),A.forEach(l),C=V(u),w=h(u,"H2",{class:!0});var N=p(w);D=G(N,H),N.forEach(l),F=V(u),E=h(u,"DIV",{class:!0});var $=p(E);_=h($,"A",{href:!0,class:!0});var q=p(_);B=h(q,"SPAN",{class:!0}),p(B).forEach(l),P=G(q,`
|
|
Back to Home`),q.forEach(l),$.forEach(l),u.forEach(l),I.forEach(l),j=V(x),K(v.$$.fragment,x),x.forEach(l),c.forEach(l),this.h()},h(){r(g,"class","opacity-20 text-6xl md:text-[12rem] -mt-2 mb-0"),r(w,"class","-mt-12 md:-mt-24"),r(B,"class","i-heroicons-outline-home -ml-1 mr-2"),r(_,"href","/"),r(_,"class","btn btn-neutral no-underline shadow-xl hover:shadow-2xl mt-8"),r(E,"class","card-actions"),r(t,"itemprop","articleBody"),r(t,"class","card-body prose urara-prose"),r(n,"itemscope",""),r(n,"itemtype","https://schema.org/BlogPosting"),r(n,"class","card bg-base-100 rounded-none md:rounded-box shadow-xl md:mb-8 z-10"),r(o,"class","flex-none w-full max-w-screen-md mx-auto xl:mx-0"),r(i,"class","flex flex-col flex-nowrap justify-center xl:flex-row xl:flex-wrap")},m(e,c){O(a,e,c),Q(e,m,c),Q(e,i,c),s(i,o),s(o,n),s(n,t),s(t,g),s(g,k),s(t,C),s(t,w),s(w,D),s(t,F),s(t,E),s(E,_),s(_,B),s(_,P),s(o,j),O(v,o,null),b=!0},p(e,[c]){var I,u,A,N;const x={};c&5&&(x.page={title:(I=e[2])!=null?I:"404",path:(u=e[0])!=null?u:"/404"}),a.$set(x),(!b||c&4)&&y!==(y=((A=e[2])!=null?A:"404")+"")&&U(k,y),(!b||c&2)&&H!==(H=((N=e[1].message)!=null?N:"Not found")+"")&&U(D,H)},i(e){b||(W(a.$$.fragment,e),W(v.$$.fragment,e),b=!0)},o(e){X(a.$$.fragment,e),X(v.$$.fragment,e),b=!1},d(e){Y(a,e),e&&l(m),e&&l(i),Y(v)}}}const ce=({url:{pathname:f},error:a,status:m})=>({props:{pathname:f,error:a,status:m}});function oe(f,a,m){let{pathname:i}=a,{error:o}=a,{status:n}=a;return console.error(n,o.message),f.$$set=t=>{"pathname"in t&&m(0,i=t.pathname),"error"in t&&m(1,o=t.error),"status"in t&&m(2,n=t.status)},[i,o,n]}class fe extends Z{constructor(a){super(),ee(this,a,oe,re,te,{pathname:0,error:1,status:2})}}export{fe as default,ce as load};
|