PageSourceSearch

https://gambrinus.cz/_next/static/chunks/3x53znqyd_lu3.js

js gambrinus.cz collected 2026-10-02 12:41:35 UTC 10,091 bytes, 24 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,93117,e=>{e.q("/_next/static/media/marker.1yax0voe157p6.png")},41843,e=>{"use strict";var t=e.i(43476),n=e.i(71645);e.i(76861);var r=e.i(49897),a=e.i(87651);let i=({burgerClick:e,isOpen:n})=>{let i="absolute w-8 group-hover:bg-gold-light transition-[transform top width opacity height backgroundColor] bg-white ease-in-out duration-250 h-[2px]";return(0,t.jsx)("button",{onClick:e,className:(0,r.cn)("flex cursor-pointer py-1 xl:hidden"),children:(0,t.jsxs)(a.Stack,{alignItems:"items-center",className:"group relative h-8 w-9 gap-0 py-0 transition",children:[(0,t.jsx)("span",{className:(0,r.cn)("top-2",i,n?"w-0":"w-8")}),(0,t.jsx)("span",{className:(0,r.cn)("top-[15px]",i,n?"w-10 rotate-45":"rotate-0")}),(0,t.jsx)("span",{className:(0,r.cn)("top-[15px]",i,n?"w-10 -rotate-45":"rotate-0")}),(0,t.jsx)("span",{className:(0,r.cn)("top-[22px]",i,n?"w-0":"w-8")})]})})};var o=e.i(44789),s=e.i(29308),l=e.i(57688);e.s(["Navigation",0,({children:e})=>{let[u,c]=(0,n.useState)(!1);return(0,t.jsx)("div",{className:(0,r.cn)("w-full bg-maroon"),children:(0,t.jsx)(o.Container,{size:"xlarge",className:"relative",children:(0,t.jsxs)(a.Stack,{justify:"justify-between",alignItems:"items-center",direction:"flex-row",className:(0,r.cn)(`
2            mx-auto h-full py-6
3            after:absolute after:inset-0 after:-z-1 after:h-0 after:bg-maroon
4            after:transition-[height] after:duration-200
5            xl:after:hidden
6          `,u?"after:h-full":"after:delay-300"),children:[(0,t.jsx)("div",{children:(0,t.jsx)(s.LinkCMS,{url:"/",className:`
7                relative inline-block w-[103px] transition-[width] duration-300
8                md:w-[133px]
9                2xl:w-[192px]
10              `,children:(0,t.jsx)(l.default,{src:"/gambrinus-logo.svg",alt:"Gambrinus",width:192,height:180,className:"block w-full"})})}),(0,t.jsxs)("nav",{children:[(0,t.jsx)("div",{className:(0,r.cn)(`
11              absolute top-full left-0 z-50 h-0 w-full flex-col overflow-y-auto
12              bg-maroon px-10 transition-[height] duration-300
13              xl:relative xl:h-fit xl:overflow-y-visible xl:bg-transparent
14              xl:px-0 xl:transition-none
15            `,u?`
16                h-[calc(100svh-144px)] delay-200
17                md:h-[calc(100svh-179px)]
18                xl:h-fit
19              `:"h-0"),children:(0,t.jsx)(a.Stack,{alignItems:"items-center",className:`
20                  no-scrollbar size-full justify-start gap-6 overflow-auto py-8
21                  text-center
22                  xl:w-auto xl:flex-row xl:justify-between xl:gap-1
23                  xl:overflow-visible xl:border-0 xl:py-0
24                `,children:e})}),(0,t.jsx)(i,{burgerClick:()=>{c(!u)},isOpen:u})]})]})})})}],41843)},11572,24113,34872,e=>{"use strict";var t=e.i(43476);let n=(e,...t)=>{!function(e,t,...n){if(typeof console>"u")return;let r=console[e];r&&r(t,...n)}("warn",e,...t)};function r(e){return RegExp(`/${e}($|/)`)}let a=(e,t,n)=>{let a=function(e){try{let t=/^http(s?):\/\//i.test(e)?e:"http://valid-url.com"+(e.startsWith("/")?e:"/"+e);return new URL(t)}catch{return console.warn("requestUrl is not a valid URL"),!1}}(e),i={isMagnolia:!1,isMagnoliaEdit:!1,isMagnoliaPreview:!1,version:void 0,nodePath:void 0,currentLanguage:void 0,searchParams:void 0,search:void 0};if(a){let e=a.pathname,o=new URLSearchParams(a.search),s=o.get("mgnlPreview"),l=o.get("mgnlPreviewAsVisitor"),u=o.get("mgnlVersion"),c=s??l;c&&(i.isMagnolia=!0,"false"===c&&(i.isMagnoliaEdit=!0),"true"===c&&(i.isMagnoliaPreview=!0)),i.isMagnolia&&!l&&o.set("variants","all"),u?(i.version=u,o.set("version",u)):delete i.version;let d=e,f=!1;if(n&&n.length>0&&(i.currentLanguage=n[0],f=n.some(e=>!!r(e).test(d)&&(i.currentLanguage=e,!0)),o.set("lang",i.currentLanguage)),t){f&&(d=d.replace(r(i.currentLanguage),"/"));let e=RegExp("(.html|/$)"),n=RegExp(`^${t}($|/)`);i.nodePath=t+(d=d.replace(n,"/").replace(e,""))}i.searchParams=Object.fromEntries(o),i.search="?"+o.toString()}return i},i=function(){var e;let t=()=>{try{let{href:e}=window.parent.location;return null!=e}catch{return!1}};function r(){if(!(typeof window>"u"))return t()?window.parent:window}let i={serverUrl:t()&&"u">typeof window?null==(e=r())?void 0:e.location.href:""},o=e=>new Promise(t=>{setTimeout(t,e)}),s=async(e,t,r=5e3)=>{for(;!e();)if(await o(200),r>0&&t&&Date.now()-t.getTime()>r){n("Wait timeout");break}return e()},l=()=>{var e;return!!(null!=(e=i.serverUrl)&&e.endsWith(":edit"))},u=null,c=e=>{u&&clearTimeout(u),u=setTimeout(d,e)},d=()=>{let e=r();null!=e&&e.mgnlRefresh&&(document.documentElement.innerHTML.indexOf("cms:page content=")>-1?e.mgnlRefresh():c(200))};return{isSameOrigin:t,inIframe:()=>"u">typeof window&&window!==window.parent,inEditorAsync:async e=>{var t;return await s(()=>{var e;return(null==(e=i.serverUrl)?void 0:e.length)||!1},new Date,e),!!(null!=(t=i.serverUrl)&&t.endsWith(":edit"))},inEditorPreview:()=>{var e;return!!(null!=(e=i.serverUrl)&&e.endsWith(":view"))},inPreviewAsVisitor:()=>{let e=r();return"true"===new URLSearchParams(null==e?void 0:e.location.search).get("mgnlPreviewAsVisitor")},isRenderingAnnotation:()=>l()||!i.serverUrl,isPageEditorReady:()=>{let e=r();return(null==e?void 0:e.mgnlFrameReady)!==void 0},onFrameReady:()=>{let e=r();null!=e&&e.mgnlFrameReady&&e.mgnlFrameReady()},setServerUrl:e=>{i.serverUrl=e},inEditor:l,refresh:c,getMagnoliaContext:a}}(),o="selectedComponentVariants",s=(e,t,n)=>{if(!t||"function"!=typeof n)return;let r=t.toLowerCase();e[r]=e[r]||[],e[r].push(n)};function l(e){let t=new URL(e);return`${t.protocol}//${t.hostname}${t.port?`:${t.port}`:""}${t.pathname.substring(0,t.pathname.indexOf(".magnolia"))}`}let u=()=>{window.parent.postMessage(JSON.stringify({element:{dialog:"",path:"/",workspace:"website"},action:"initialize",elementType:"page"}),"*")},c=Object.freeze(Object.defineProperty({__proto__:null,getBaseServerUrl:l,init:(e,t)=>
24{typeof window>"u"||i.isSameOrigin()||(window.addEventListener("message",t=>{var n;if(!t.data||!("string"==typeof t.data&&t.data.startsWith("{")))return;let r=JSON.parse(t.data);((n=r.action)&&e[n.toLowerCase()]||[]).forEach(e=>{try{e(r)}catch(e){console.error(e)}})}),s(e,"updateState",e=>{let n=e.serverUrl;i.setServerUrl(n),function(e,t){var n;let r="mgnlPageEditorBridge",a=document.getElementById(r);if(a||!t){"function"==typeof e&&e();return}let o=l(t),s=document.getElementsByTagName("script")[0];(a=document.createElement("script")).id=r,a.src=`${o}VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js`,null==(n=s.parentNode)||n.insertBefore(a,s),a.onload=()=>{setTimeout(function t(){i.isPageEditorReady()?(i.onFrameReady(),i.refresh(),"function"==typeof e&&e()):setTimeout(t,100)},50)};let u=document.createElement("link");u.href=`${o}VAADIN/themes/pages-app/page-editor.css`,u.type="text/css",u.rel="stylesheet",document.head.insertBefore(u,document.head.firstChild)}(t,n)}),u())},initialVariantsHandler:(e,t)=>{s(e,"updateState",e=>{let n,r,a=new URL(window.location.href);n=e.selectedComponentVariants,r=a.searchParams,"object"==typeof n&&Object.keys(n).length>0&&JSON.stringify(n)!==r.get(o)&&(a.searchParams.set(o,JSON.stringify(e.selectedComponentVariants)),t?(window.history.pushState({},"",a.toString()),window.dispatchEvent(new Event("popstate"))):window.location.href=a.toString())})},onMessage:s,requestServerUrl:u},Symbol.toStringTag,{value:"Module"}));e.s(["EditorContextService",0,i,"PageEditorBridge",0,c],24113);var d=e.i(71645),f=Object.defineProperty;class g{constructor(e){(e=>{let t;return t=void 0,"sym"in e?f(e,"sym",{enumerable:!0,configurable:!0,writable:!0,value:t}):e.sym=t})(this),this.sym=Symbol.for(e)}getValue(){return this.getGlobal()[this.sym]}setValue(e){this.getGlobal()[this.sym]=e}getGlobal(){return typeof window>"u"?e.g:window}}let m="mgnl_contextStoreId",p=()=>new g(m).getValue();e.s(["getMagnoliaContextRef",0,p,"setMagnoliaContextRef",0,e=>{new g(m).setValue(e)},"setTemplateAnnotationsRef",0,e=>{new g("mgnl_templateAnnotationsStoreId").setValue(e)}],34872),e.i(43794),e.s(["default",0,({annotation:e,alwaysRender:n=!1,shouldRefresh:r=!1,shouldRunOnFrameReady:a=!1})=>{let o=(0,d.useRef)(null),[s,l]=(0,d.useState)(n&&!!e),u=(0,d.useRef)({commentNode:null}),c=p();return(0,d.useEffect)(()=>{c||(c=p()),null!=c&&c.isMagnoliaEdit&&!s&&l(!0)},[n,e,c]),(0,d.useEffect)(()=>{var t;if(!s||!o.current||!e)return;u.current.commentNode&&u.current.commentNode.remove();let n=document.createComment(e);return u.current.commentNode=n,null==(t=o.current)||t.before(n),r&&setTimeout(()=>{i.refresh(),a&&i.onFrameReady()},0),()=>{n.remove()}},[s,e,o.current]),s&&(0,t.jsx)("span",{style:{display:"none"},ref:o})}],11572)},28946,e=>{"use strict";var t=e.i(43476),n=e.i(11572),r=e.i(24113),a=e.i(71645),i=e.i(34872);e.i(43794);let o={listeners:{}};e.s(["default",0,({content:e,magnoliaContext:s,templateAnnotations:l,useHistoryPushState:u})=>{let c=(0,a.useRef)(o);return l&&(0,i.setTemplateAnnotationsRef)(l),(0,a.useEffect)(()=>{s&&(0,i.setMagnoliaContextRef)(s),null!=s&&s.isMagnoliaEdit&&(r.PageEditorBridge.initialVariantsHandler(c.current.listeners,u),r.PageEditorBridge.init(c.current.listeners))},[s,u]),(0,t.jsx)(n.default,{alwaysRender:null==s?void 0:s.isMagnolia,annotation:e&&l&&l[e["@path"]]?l[e["@path"]]:"",shouldRefresh:!0,shouldRunOnFrameReady:!0})}])},43794,(e,t,n)=>{!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var i in e)n.call(e,i)&&e[i]&&(t=a(t,i));return t}(i)))}return e}function a(e,t){return t?e?e+" "+t:e+t:e}if(t.exports)r.default=r,t.exports=r;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==r&&e.v(r);else window.classNames=r}()}]);

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.