utxo22-web/_app/pages/changelog.svelte-6f773197.js

2 řádky
1.9 KiB
JavaScript

import{S as $,i as g,s as x,k as S,e as b,Y as E,d as u,m as C,c as v,a as w,b as y,g as p,n as L,o as f,p as N,q as d,L as O,v as q,t as T,h as G,E as _,w as I,x as M,y as U,B as X}from"../chunks/index-695b5929.js";import{b as j}from"../chunks/stores-ca1bbb18.js";import{L as z,S as A}from"../chunks/Link-9c9f68ae.js";import"../chunks/index-57c7a2a5.js";function B(l){let n;return{c(){n=T("Na\u010D\xEDt\xE1m..")},l(t){n=G(t,"Na\u010D\xEDt\xE1m..")},m(t,o){p(t,n,o)},p:_,i:_,o:_,d(t){t&&u(n)}}}function D(l){let n,t,o;return t=new A({props:{source:l[0],renderers:l[2]}}),{c(){n=b("div"),I(t.$$.fragment),this.h()},l(e){n=v(e,"DIV",{class:!0});var s=w(n);M(t.$$.fragment,s),s.forEach(u),this.h()},h(){y(n,"class","utxo-markdown")},m(e,s){p(e,n,s),U(t,n,null),o=!0},p(e,s){const r={};s&1&&(r.source=e[0]),t.$set(r)},i(e){o||(d(t.$$.fragment,e),o=!0)},o(e){f(t.$$.fragment,e),o=!1},d(e){e&&u(n),X(t)}}}function H(l){let n,t,o,e,s,r;document.title=n="Speci\xE1ln\xED vstupenky | "+(l[1]?l[1].name:"UTXO.22");const h=[D,B],c=[];function k(a,i){return a[0]?0:1}return e=k(l),s=c[e]=h[e](l),{c(){t=S(),o=b("section"),s.c(),this.h()},l(a){E('[data-svelte="svelte-jebagi"]',document.head).forEach(u),t=C(a),o=v(a,"SECTION",{class:!0});var m=w(o);s.l(m),m.forEach(u),this.h()},h(){y(o,"class","relative mx-auto py-6 sm:py-10 px-6 max-w-6xl text-blue-web")},m(a,i){p(a,t,i),p(a,o,i),c[e].m(o,null),r=!0},p(a,[i]){(!r||i&2)&&n!==(n="Speci\xE1ln\xED vstupenky | "+(a[1]?a[1].name:"UTXO.22"))&&(document.title=n);let m=e;e=k(a),e===m?c[e].p(a,i):(L(),f(c[m],1,1,()=>{c[m]=null}),N(),s=c[e],s?s.p(a,i):(s=c[e]=h[e](a),s.c()),d(s,1),s.m(o,null))},i(a){r||(d(s),r=!0)},o(a){f(s),r=!1},d(a){a&&u(t),a&&u(o),c[e].d()}}}const P=!0;function V(l,n,t){let o;O(l,j,r=>t(1,o=r));const e={link:z};let s=null;return q(async()=>{const r=await fetch("https://spec.utxo.cz/22/CHANGELOG.md");t(0,s=await r.text())}),[s,o,e]}class Q extends ${constructor(n){super();g(this,n,V,H,x,{})}}export{Q as default,P as prerender};