PageSourceSearch

https://www.ceskacermna.cz/_next/static/chunks/0dfw3q8qu7za9.js

js ceskacermna.cz collected 2026-10-02 22:24:21 UTC 7,297 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,79203,92627,e=>{"use strict";var t=e.i(38693);let i=(0,t.default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,i],79203);let a=(0,t.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,a],92627)},53736,e=>{"use strict";var t=e.i(70030),i=e.i(62006),a=e.i(81867),r=e.i(62985),s=e.i(88529);function n(){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",width:20,height:20,fill:"currentColor","aria-hidden":!0,className:"shrink-0 text-pine-600",children:(0,t.jsx)("path",{d:"M13.5 21v-7h2.4l.4-3h-2.8V9.1c0-.9.3-1.5 1.6-1.5h1.3V4.9c-.3 0-1.1-.1-2-.1-2 0-3.4 1.2-3.4 3.5V11H8.5v3H11v7h2.5Z"})})}e.s(["default",0,function(){let[e,o]=(0,i.useState)(null),l=(0,i.useRef)(null);function c(){let e=l.current?.clientWidth;return e?Math.max(180,Math.min(500,Math.floor(e))):500}(0,i.useEffect)(()=>{let e=()=>o((0,s.precistSouhlas)()?.facebook?c():null);return e(),window.addEventListener(s.SOUHLAS_UDALOST,e),()=>window.removeEventListener(s.SOUHLAS_UDALOST,e)}
1,[]),(0,i.useEffect)(()=>{if(null===e)return;let t=()=>o(c());return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[e]);let d=null!==e,p="https://www.facebook.com/plugins/page.php?"+new URLSearchParams({href:r.externiOdkazy.facebook,tabs:"timeline",width:String(e??500),height:"560",adapt_container_width:"true",small_header:"false",hide_cover:"false",show_facepile:"false"}).toString();return(0,t.jsx)("div",{className:"rounded-card border border-line bg-card p-5 sm:p-6",children:(0,t.jsxs)("div",{ref:l,children:[(0,t.jsxs)("p",{className:"flex items-center gap-2.5 font-display text-lg font-semibold text-pine-900",children:[(0,t.jsx)(n,{}),"Obec na Facebooku"]}),d?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("iframe",{src:p,title:"Příspěvky obce na Facebooku",width:e??void 0,height:560,className:"mt-4 block max-w-full rounded border border-line",style:{border:"none",overflow:"hidden"},scrolling:"no",allow:"encrypted-media"},e),(0,t.jsx)("p",{className:"mt-3 text-sm text-muted",children:"Nezobrazují se příspěvky? Facebook je někdy nezobrazí návštěvníkům, kteří nejsou přihlášení."})]}):(0,t.jsx)("p",{className:"mt-2 text-muted text-pretty",children:"Příspěvky se načítají přímo z Facebooku. Kliknutím na tlačítko souhlasíte s tím, že se do vašeho prohlížeče načte obsah společnosti Meta, která může ukládat cookies. Volba se zapamatuje a kdykoli ji změníte přes Nastavení cookies v patičce webu."}),(0,t.jsxs)("div",{className:"mt-5 flex flex-wrap gap-3",children:[!d&&(0,t.jsx)("button",{type:"button",onClick:()=>(0,s.ulozitSouhlas)(!0),className:"inline-flex min-h-12 items-center rounded-card bg-pine-700 px-5 font-medium text-white transition-colors hover:bg-pine-800",children:"Načíst příspěvky z Facebooku"}),(0,t.jsxs)("a",{href:r.externiOdkazy.facebook,target:"_blank",rel:"noopener",className:"inline-flex min-h-12 items-center gap-2 rounded-card border border-line px-5 font-medium text-pine-700 transition-colors hover:bg-pine-50",children:["Otevřít profil obce",(0,t.jsx)(a.ExternalLink,{size:16,"aria-label":"(externí odkaz)"})]})]})]})})}])},71914,e=>{"use strict";var t=e.i(70030),i=e.i(62006),a=e.i(34026),r=e.i(79203),s=e.i(92627);let n=[{src:"/images/hero-naves-rybnik.jpg",popis:"",pozice:"center 50%"},{src:"/images/hero-sportovni-areal.jpg",popis:"",pozice:"center 50%"},{src:"/images/hero-koupaliste.jpg",popis:"",pozice:"center 50%"},{src:"/images/hero-detske-hriste.jpg",popis:"",pozice:"center 50%"},{src:"/images/hero-odpocinkove-jaro.jpg",popis:"",pozice:"center 50%"},{src:"/images/hero-koupaliste-vecer.jpg",popis:"",pozice:"center 50%"}];e.s(["default",0,function(){let[e,o]=(0,i.useState)(0),[l,c]=(0,i.useState)(!1),d=(0,i.useRef)(null),p=n.length,m=(0,i.useCallback)(e=>o(t=>(t+e+p)%p),[p]);(0,i.useEffect)(()=>{if(p<2||l||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=setInterval(()=>m(1),6e3);return()=>clearInterval(e)},[p,l,m]);let h=p<2;return(0,t.jsxs)("div",{className:"relative overflow-clip",...h?{}:{role:"group","aria-roledescription":"karusel","aria-label":"Fotografie obce",onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),onFocusCapture:()=>c(!0),onBlurCapture:()=>c(!1)},children:[(0,t.jsxs)("div",{className:"relative min-h-[17rem] md:min-h-[34rem]",children:[n.map((i,r)=>(0,t.jsx)(a.default,{src:i.src,alt:i.popis,fill:!0,preload:0===r,loading:0===r?void 0:"lazy",sizes:"100vw",style:{objectPosition:i.pozice??"center 62%"},className:`object-cover transition-opacity duration-700 ${r===e?"opacity-100":"opacity-0"}`,"aria-hidden":h?void 0:r!==e},i.src)),(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-0 hidden bg-gradient-to-t to-transparent md:block md:h-[30%] md:from-pine-950/10 md:via-pine-950/4"}),!h&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",onClick:()=>m(-1),"aria-label":"Předchozí fotografie",className:"absolute left-2 top-1/2 z-10 grid size-11 -translate-y-1/2 place-items-center rounded-full bg-pine-950/65 text-white transition-colors hover:bg-pine-950/85 md:left-4",children:(0,t.jsx)(r.ChevronLeft,{size:24,"aria-hidden":!0})}),(0,t.jsx)("button",{type:"button",onClick:()=>m(1),"aria-label":"Další fotografie",className:"absolute right-2 top-1/2 z-10 grid size-11 -translate-y-1/2 place-items-center rounded-full bg-pine-950/65 text-white transition-colors hover:bg-pine-950/85 md:right-4",children:(0,t.jsx)(s.ChevronRight,{size:24,"aria-hidden":!0})}),(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-2 z-10 flex justify-center md:bottom-[4.5rem]",children:(0,t.jsx)("div",{className:"flex items-center gap-1 rounded-full bg-pine-950/60 px-1.5",children:n.map((i,a)=>(0,t.jsx)("button",{type:"button",onClick:()=>o(a),"aria-label":`Fotografie ${a+1} z ${p}`,"aria-current":a===e,className:"grid size-6 place-items-center",children:(0,t.jsx)("span",{className:`block size-2.5 rounded-full transition-colors ${a===e?"bg-white":"bg-white/70"}`})},i.src))})}),(0,t.jsxs)("p",{ref:d,className:"sr-only","aria-live":"polite",children:["Fotografie ",e+1," z ",p]})]})]}),(0,t.jsx)("div",{className:"bg-pine-800 md:absolute md:inset-x-0 md:bottom-0 md:bg-transparent",children:(0,t.jsx)("div",{className:"mx-auto w-full max-w-6xl px-4 py-7 md:pt-16 md:pb-28",children:(0,t.jsxs)("div",{className:"relative md:py-5",children:[(0,t.jsx)("div",{"aria-hidden":!0,
1className:"pointer-events-none absolute -top-5 -bottom-32 -left-[50vw] -right-[50vw] hidden [mask-image:linear-gradient(to_bottom,transparent_0%,black_9%,black_100%)] md:block md:bg-[linear-gradient(to_right,rgba(44,11,10,0.680)_0%,rgba(44,11,10,0.645)_54%,rgba(44,11,10,0.500)_64%,rgba(44,11,10,0.175)_74%,transparent_86%)]"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("p",{className:"text-lg font-bold text-pine-100",children:"Obec v Orlických horách"}),(0,t.jsx)("h1",{className:"font-display text-4xl font-bold text-balance md:text-6xl",children:"Česká Čermná"}),(0,t.jsx)("p",{className:"mt-2 max-w-xl text-lg text-pine-50 text-pretty",children:"Pohraniční obec nad údolím Olešenky, poprvé zmíněná roku 1448."})]})]})})})]})}],71914)}]);

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.