PageSourceSearch

https://cdn.wisgate.ai/wisgate/_nuxt/BlslGPjb.js

js wisgate.ai collected 2026-10-04 13:26:14 UTC 3,911 bytes, 1 lines download raw bytes

1import{d as N,u as j,aM as D,bG as C,a as m,U as V,j as o,o as a,l as t,s as u,m as e,k as l,K as x,J as $,F as z,x as L,p as n,n as B,E as F,dD as G,W as I}from"./DZ7mik94.js";import{_ as T}from"./56p-yg89.js";import{u as E}from"./Bupw4VqN.js";import"./iik6CYzq.js";const M={class:"min-h-screen bg-slate-50"},S={class:"relative overflow-hidden pt-38 pb-32 bg-slate-900"},U={key:0,class:"absolute inset-0 z-0"},W=["src","alt"],A={class:"relative z-10 max-w-[1000px] mx-auto px-6"},H={class:"w-9 h-9 rounded-lg bg-white/10 flex items-center justify-center mr-3 group-hover:bg-white/20 transition-all"},J={class:"font-medium text-sm"},K={key:0,class:"animate-fade-in-up"},P={class:"flex flex-wrap gap-2 mb-6"},R={class:"text-3xl md:text-4xl lg:text-5xl font-bold tracking-tight text-white mb-6 leading-tight"},q={class:"flex items-center gap-5 text-slate-400 text-sm font-medium"},O={class:"flex items-center gap-2"},Q={key:0,class:"flex items-center gap-2"},X={class:"max-w-5xl mx-auto px-0 md:px-6 -mt-10 md:-mt-16 relative z-20 pb-10 md:pb-20"},Y={class:"bg-white p-6 md:p-12 lg:p-16 rounded-none md:rounded-2xl shadow-none md:shadow-xl shadow-slate-200/50"},Z={key:0,class:"flex justify-center py-20"},tt={key:1,class:"text-center py-20"},et={class:"w-16 h-16 rounded-full bg-red-50 text-red-500 flex items-center justify-center mx-auto mb-4"},st={class:"text-slate-600 mb-6"},ot={key:2,class:"prose prose-slate prose-lg max-w-none"},at=N({__name:"[slug]",async setup(lt){let c,_;const{t:r,locale:g}=j(),f=D().params.slug,{data:s,pending:b,error:v}=([c,_]=C(()=>E(`/webapi/blogs/${f}`,"$tp6NU9GNr8")),c=await c,_(),c),w=m(()=>s.value?.date?new Date(s.value.date).toLocaleDateString(G(g),{year:"numeric",month:"long",day:"numeric"}):"");return V({title:m(()=>s.value?.title?`${s.value.title} - WisGate`:"Loading..."),meta:[{name:"description",content:m(()=>s.value?.title||"")}]}),(y,d)=>{const i=B,p=$,k=T;return a(),o("div",M,[t("div",S,[d[1]||(d[1]=t("div",{class:"absolute inset-0 z-0"},[t("div",{class:"absolute top-0 right-0 w-96 h-96 bg-white/5 rounded-full -mr-48 -mt-48"}),t("div",{class:"absolute bottom-0 left-0 w-72 h-72 bg-white/5 rounded-full -ml-36 -mb-36"})],-1)),e(s)?.cover?(a(),o("div",U,[t("img",{src:e(s).cover,alt:e(s).title,class:"w-full h-full object-cover opacity-50"},null,8,W),d[0]||(d[0]=t("div",{class:"absolute inset-0 bg-gradient-to-t from-slate-900 via-slate-900/60 to-slate-900/30"},null,-1))])):u("",!0),t("div",A,[l(p,{to:y.$localePath("/blogs"),class:"inline-flex items-center text-slate-400 hover:text-white mb-8 transition-colors group"},{default:x(()=>[t("div",H,[l(i,{name:"lucide:arrow-left",class:"w-4 h-4 transition-transform"})]),t("span",J,n(e(r)("blog.back_to_blog")),1)]),_:1},8,["to"]),e(s)?(a(),o("div",K,[t("div",P,[(a(!0),o(z,null,L(e(s).tags,h=>(a(),o("span",{key:h,class:"px-3 py-1 bg-white/10 text-white/90 text-xs font-medium tracking-wider uppercase rounded-lg"},n(h),1))),128))]),t("h1",R,n(e(s).title),1),t("div",q,[t("div",O,[l(i,{name:"lucide:calendar",class:"w-4 h-4 opacity-70"}),t("span",null,n(w.value),1)]),e(s).readingTime?(a(),o("div",Q,[l(i,{name:"lucide:clock",class:"w-4 h-4 opacity-70"}),t("span",null,n(e(r)("blog.min_read",{time:e(s).readingTime})),1)])):u("",!0)])])):u("",!0)])]),t("div",X,[t("article",Y,[e(b)?(a(),o("div",Z,[l(i,{name:"lucide:loader-2",class:"w-10 h-10 text-slate-400 animate-spin"})])):e(v)?(a(),o("div",tt,[t("div",et,[l(i,{name:"lucide:x",class:"w-8 h-8"})]),t("p",st,n(e(r)("blog.not_found")),1),l(p,{to:"/blogs",class:"inline-flex items-center justify-center px-5 py-2.5 rounded-xl bg-slate-900 text-white font-medium hover:bg-slate-800 transition-colors shadow-lg shadow-slate-200"},{default:x(()=>[F(n(e(r)("blog.return_to_blog")),1)]),_:1})])):(a(),o("div",ot,[l(k,{value:e(s)?.content||"",class:"mdc-content"},null,8,["value"])]))])])])}}}),mt=I(at,[["__scopeId","data-v-178f6d4e"]]);export{mt 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.