1import{a as f,f as g}from"../chunks/SDtLGXl7.js";import"../chunks/Bom5CQ_t.js";import{p as h,t as _,a as y,c as t,s as l,r as a,n as k}from"../chunks/BhzG5ji-.js";import{s as w}from"../chunks/Df5KdosI.js";import{h as S}from"../chunks/DJTMW3VL.js";import{d as j,a as p}from"../chunks/R0jIdA9s.js";import{i as D}from"../chunks/COZ4mAUZ.js";import{g as I,s as x}from"../chunks/L-e-FooV.js";const P=!0,z=()=>({meta:{title:"Paraglide i18n Demo - MerginIT e.U.",description:"Interactive demonstration of internationalization (i18n) using Paraglide. Switch between languages and see the translation system in action."}}),q=Object.freeze(Object.defineProperty({__proto__:null,load:z,prerender:P},Symbol.toStringTag,{value:"Module"})),T=e=>`Hello, ${e==null?void 0:e.name} from en!`,$=e=>`Hello, ${e==null?void 0:e.name} from de!`,H=((e,r={})=>(r.locale??I())==="en"?T(e):$(e));var L=g('<meta name="robots" content="noindex, nofollow"/>'),M=g('<div class="min-h-screen bg-brand-dark py-16 px-4 sm:px-8 md:px-16 lg:px-24 xl:px-36"><div class="max-w-4xl mx-auto"><div class="text-center mb-8"><h1 class="text-4xl font-bold text-white mb-6 tracking-tight">Internationalization Demo</h1> <p class="text-xl text-gray-300 max-w-2xl mx-auto leading-relaxed mb-8">This demo shows multi-language support using Paraglide</p></div> <div class="flex justify-center mb-16"><a href="/demo" class="text-gray-400 hover:text-gray-200 transition-colors duration-300 flex items-center gap-2">â Back to Demos</a></div> <div class="glass-card p-8 text-center"><h2 class="text-2xl font-semibold text-white mb-6"> </h2> <div class="flex justify-center gap-4 mb-8"><button class="bg-[#ffaa40] text-black px-6 py-3 rounded-lg font-medium hover:bg-[#ff9520] transition-colors duration-300">English</button> <button class="bg-[#ffaa40] text-black px-6 py-3 rounded-lg font-medium hover:bg-[#ff9520] transition-colors duration-300">Deutsch</button></div> <div class="bg-gray-800/50 border border-gray-600/50 rounded-xl p-6"><p class="text-gray-300 mb-4">If you use VSCode, install the <a href="https://marketplace.visualstudio.com/items?itemName=inlang.vs-code-extension" target="_blank" class="text-[#ffaa40] hover:text-[#ff9520] underline">Sherlock i18n extension</a> for a better i18n experience.</p></div></div></div></div>');function A(e,r){h(r,!1),D();var o=M();S("7ev61o",s=>{var b=L();f(s,b)});var i=t(o),d=l(t(i),4),n=t(d),u=t(n,!0);a(n);var c=l(n,2),m=t(c),v=l(m,2);a(c),k(2),a(d),a(i),a(o),_(s=>w(u,s),[()=>H({name:"SvelteKit User"})]),p("click",m,()=>x("en")),p("click",v,()=>x("de")),f(e,o),y()}j(["click"]);export{A as component,q as universal};
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.