1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,98817,e=>{"use strict";var t=e.i(91398),a=e.i(91788),i=e.i(11535),r=e.i(57126),l=e.i(39016),s=e.i(62946),n=e.i(51723),o=a,d=e.i(12600);function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class c extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,n.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,a=(0,n.isHTMLElement)(e)&&e.offsetWidth||0,i=(0,n.isHTMLElement)(e)&&e.offsetHeight||0,r=getComputedStyle(t),l=this.props.sizeRef.current;l.height=parseFloat(r.height),l.width=parseFloat(r.width),l.top=t.offsetTop,l.left=t.offsetLeft,l.right=a-l.width-l.left,l.bottom=i-l.height-l.top,l.direction=r.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:e,isPresent:i,anchorX:r,anchorY:l,root:s,pop:n}){let f=(0,o.useId)(),m=(0,o.useRef)(null),h=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:x}=(0,o.useContext)(d.MotionConfigContext),v=function(...e){return a.useCallback(function(...e){return t=>{let a=!1,i=e.map(e=>{let i=u(e,t);return a||"function"!=typeof i||(a=!0),i});if(a)return()=>{for(let t=0;t<i.length;t++){let a=i[t];"function"==typeof a?a():u(e[t],null)}}}}(...e),e)}(m,!1!==n?e.props?.ref??e?.ref:void 0);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:a,left:o,right:d,bottom:u,direction:c}=h.current;if(i||!1===n||!m.current||!e||!t)return;let p="rtl"===c,v="left"===r?p?`right: ${d}`:`left: ${o}`:p?`left: ${o}`:`right: ${d}`,g="bottom"===l?`bottom: ${u}`:`top: ${a}`;m.current.dataset.motionPopId=f;let b=document.createElement("style");x&&(b.nonce=x);let y=s??document.head;return y.appendChild(b),b.sheet&&b.sheet.insertRule(` 2 [data-motion-pop-id="${f}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${v}px !important; 7 ${g}px !important; 8 } 9 `),()=>{m.current?.removeAttribute("data-motion-pop-id"),y.contains(b)&&y.removeChild(b)}},[i]),(0,t.jsx)(c,{isPresent:i,childRef:m,sizeRef:h,pop:n,children:!1===n?e:o.cloneElement(e,{ref:v})})}let f=({children:e,initial:i,isPresent:n,onExitComplete:o,custom:d,presenceAffectsLayout:u,mode:c,anchorX:f,anchorY:h,root:x})=>{let v=(0,r.useConstant)(m),g=(0,a.useId)(),b=(0,a.useRef)(n),y=(0,a.useRef)(o);(0,l.useIsomorphicLayoutEffect)(()=>{b.current=n,y.current=o});let C=!0,j=(0,a.useMemo)(()=>(C=!1,{id:g,initial:i,isPresent:n,custom:d,onExitComplete:e=>
9{for(let t of(v.set(e,!0),v.values()))if(!t)return;o&&o()},register:e=>(v.set(e,!1),()=>{v.delete(e),b.current||v.size||y.current?.()})}),[n,v,o]);return u&&C&&(j={...j}),(0,a.useMemo)(()=>{v.forEach((e,t)=>v.set(t,!1))},[n]),a.useEffect(()=>{n||v.size||!o||o()},[n]),e=(0,t.jsx)(p,{pop:"popLayout"===c,isPresent:n,anchorX:f,anchorY:h,root:x,children:e}),(0,t.jsx)(s.PresenceContext.Provider,{value:j,children:e})};function m(){return new Map}var h=e.i(86398);let x=e=>e.key||"";function v(e){let t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:s,initial:n=!0,onExitComplete:o,presenceAffectsLayout:d=!0,mode:u="sync",propagate:c=!1,anchorX:p="left",anchorY:m="top",root:g})=>{let[b,y]=(0,h.usePresence)(c),C=(0,a.useMemo)(()=>v(e),[e]),j=c&&!b?[]:C.map(x),P=(0,a.useRef)(!0),w=(0,a.useRef)(C),N=(0,r.useConstant)(()=>new Map),T=(0,a.useRef)(new Set),[E,z]=(0,a.useState)(C),[I,R]=(0,a.useState)(C);(0,l.useIsomorphicLayoutEffect)(()=>{P.current=!1,w.current=C;for(let e=0;e<I.length;e++){let t=x(I[e]);j.includes(t)?(N.delete(t),T.current.delete(t)):!0!==N.get(t)&&N.set(t,!1)}},[I,j.length,j.join("-")]);let M=[];if(C!==E){let e=[...C];for(let t=0;t<I.length;t++){let a=I[t],i=x(a);j.includes(i)||(e.splice(t,0,a),M.push(a))}return"wait"===u&&M.length&&(e=M),R(v(e)),z(C),null}let{forceRender:k}=(0,a.useContext)(i.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:I.map(e=>{let a=x(e),i=(!c||!!b)&&(C===I||j.includes(a));return(0,t.jsx)(f,{isPresent:i,initial:(!P.current||!!n)&&void 0,custom:s,presenceAffectsLayout:d,mode:u,root:g,onExitComplete:i?void 0:()=>{if(T.current.has(a)||!N.has(a))return;T.current.add(a),N.set(a,!0);let e=!0;N.forEach(t=>{t||(e=!1)}),e&&(k?.(),R(w.current),c&&y?.(),o&&o())},anchorX:p,anchorY:m,children:e},a)})})}],98817)},17033,e=>{"use strict";var t=e.i(17917),a=e.i(33642),i=e.i(91788),r=e.i(30943);let l=i.default.createContext(null);function s(e){let{children:t}=e,a=(0,i.useContext)(l),[r,s]=(0,i.useState)(0),n=(0,i.useMemo)(()=>({parent:a,modalCount:r,addModal(){s(e=>e+1),a&&a.addModal()},removeModal(){s(e=>e-1),a&&a.removeModal()}}),[a,r]);return i.default.createElement(l.Provider,{value:n},t)}function n(e){let t,{modalProviderProps:a}={modalProviderProps:{"aria-hidden":!!(t=(0,i.useContext)(l))&&t.modalCount>0||void 0}};return i.default.createElement("div",{"data-overlay-container":!0,...e,...a})}function o(e){return i.default.createElement(s,null,i.default.createElement(n,e))}e.s(["OverlayContainer",0,function(e){let l=(0,t.useIsSSR)(),{portalContainer:s=l?null:document.body,...n}=e,{getContainer:d}=(0,a.useUNSAFE_PortalContext)();if(!e.portalContainer&&d&&(s=d()),i.default.useEffect(()=>{if(s?.closest("[data-overlay-container]"))throw Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[s]),!s)return null;let u=i.default.createElement(o,n);return r.default.createPortal(u,s)},"OverlayProvider",0,o,"useModal",0,function(e){let t=(0,i.useContext)(l);if(!t)throw Error("Modal is not contained within a provider");return(0,i.useEffect)(()=>{if(!e?.isDisabled&&t&&t.parent)return t.parent.addModal(),()=>{t&&t.parent&&t.parent.removeModal()}},[t,t.parent,e?.isDisabled]),{modalProps:{"data-ismodal":!e?.isDisabled}}}])},70918,e=>{"use strict";var t=e.i(91398),a=e.i(75253);e.i(71587);var i=e.i(71179),r=e.i(67680);e.s(["default",0,({alias:e,variant:l="page"})=>{let{t:s}=(0,i.useTranslation)();if(!e)return null;let n={page:s("AliasInfoMessage.message.page"),article:s("AliasInfoMessage.message.article")};return(0,t.jsx)("div",{className:"py-8 italic",children:(0,t.jsxs)(a.Typography,{variant:"p-default",children:[`${n[l]} `,(0,t.jsxs)(r.default,{href:`/${e}`,variant:"underlined",children:["bratislava.sk/",e]}),"."]})})}])},51848,41727,e=>{"use strict";var t=e.i(91398),a=e.i(75253),i=e.i(91788),r=e.i(63406),l=e.i(37159),s=e.i(82512),n=e.i(76237),o=e.i(82184),d=e.i(85319),u=e.i(83804);e.s(["default",0,({images:e})=>{let{t:c}=(0,d.useTranslation)(),{isMobile:p}=(0,o.useTailwindBreakpointValue)(),f=e.length,m=f;f>4&&p||f>4&&f<8?m=3:f>8&&!p&&(m=7);let h=e.slice(0,m),x=f-m,v=(0,r.useOverlayTriggerState)({defaultOpen:!1}),[g,b]=(0,i.useState)(0),y=(0,i.useCallback)(e=>{b(e),v.open()},[v]);return(0,t.jsxs)(t.Fragment,{children:[h.length>0&&(0,t.jsxs)("div",{className:(0,s.default)("grid grid-cols-2 gap-2 md:gap-8",{"md:grid-cols-2":1===f||2===f,"md:grid-cols-3":3===f,"md:grid-cols-4":f>3}),children:[h.map((e,i)=>e?(0,t.jsx)(a.Button,{"aria-label":c("Gallery.aria.openGallery"),"aria-haspopup":"dialog",onPress:()=>{y(i)},className:(0,s.default)("relative aspect-square w-full cursor-pointer overflow-hidden","rounded-lg outline-offset-4 focus:outline-4",{"md:aspect-592/400":1===f||2===f,"md:aspect-384/272":3===f,"col-span-2 aspect-288/140":p&&3===f&&0===i}),children:(0,t.jsx)(l.default,{image:e,fill:!0,className:"absolute top-0 object-cover"})},e.documentId):null).filter(n.isDefined),x>0&&(0,t.jsx)(a.Button,{"aria-label":c("Gallery.aria.openGallery"),"aria-haspopup":"dialog",onPress:()=>{y(0)},className:"relative w-full cursor-pointer overflow-hidden rounded-lg border border-border-active-primary-default pt-[100%]",children:(0,t.jsxs)("div",{className:"absolute top-0 flex size-full flex-col items-center justify-center gap-0.5 bg-background-passive-base p-2 text-center",children:[(0,t.jsxs)(a.Typography,{variant:"h2",as:"p",className:"font-semibold",children:["+",x]}),(0,t.jsx)(a.Typography,{variant:"p-large",className:"max-md:hidden",children:c("Gallery.morePhotos",{count:x})})]})})]}),(0,t.jsx)(u.default,{onClose:()=>{v.close()},isOpen:v.isOpen,images:e,initialImageIndex:g,isDismissable:!0})]})}],51848);var c=e.i(64618),p=e.i(18992),f=e.i(53967),m=e.i(37338),h=e.i(98094),x=e.i(29005),v=e.i(45317);e.i(95107),e.i(86567),e.i(63529);let g=(0,i.createContext)({});var b=e.i(1020),y=e.i(1201),C=e.i(42074),j=e.i(24667);let P=(0,i.createContext)(null),w=(0,C.createHideableComponent)(function(e,t){[e,t]=(0,c.useContextProps)(e,t,P);let{validationBehavior:a}=(0,c.useSlottedContext)(m.FormContext)||{},r=e.validationBehavior??a??"native",l=(0,i.useRef)(null);[e,l]=(0,c.useContextProps)(e,l,f.FieldInputContext);let[s,n]=(0,c.useSlot)(!e["aria-label"]&&!e["aria-labelledby"]),[o,d]=(0,i.useState)("input"),{labelProps:u,inputProps:C,descriptionProps:w,errorMessageProps:N,...T}=(0,y.useTextField)({...(0,c.removeDataAttributes)(e),inputElementType:o,label:n,validationBehavior:r},l),E=(0,i.useCallback)(e=>{l.current=e,e&&d(e instanceof HTMLTextAreaElement?"textarea":"input")},[l]),z=(0,c.useRenderProps)({...e,values:{isDisabled:e.isDisabled||!1,isInvalid:T.isInvalid,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:"react-aria-TextField"}),I=(0,j.filterDOMProps)(e,{global:!0});return delete I.id,i.default.createElement(c.dom.div,{...I,...z,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":T.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},i.default.createElement(c.Provider,{values:[[v.LabelContext,{...u,ref:s}],[x.InputContext,{...C,ref:E}],[g,{...C,ref:E}],[h.GroupContext,{role:"presentation",isInvalid:T.isInvalid,isDisabled:e.isDisabled||!1}],[b.TextContext,{slots:{description:w,errorMessage:N}}],[p.FieldErrorContext,T]]},z.children))});e.s(["TextField",0,w],41727)},83804,e=>{"use strict";var t=e.i(91398),a=e.i(75253),i=e.i(91788),r=e.i(17605),l=e.i(98817),s=e.i(98311),n=e.i(17033),o=e.i(69888),d=e.i(66353),u=e.i(39851),c=e.i(82512),p=e.i(85319);let f=e=>{let{isOpen:f,onClose:m,children:h,isDismissable:x,underlayClassName:v,overlayClassName:g,showCloseButton:b=!1,
9centerVertically:y=!0,noAnimation:C=!1}=e,{t:j}=(0,p.useTranslation)(),P=(0,i.useRef)(null),{overlayProps:w,underlayProps:N}=(0,o.useOverlay)({...e,isDismissable:void 0===x||x},P),{unlock:T}=(0,d.useScrollLock)({autoLock:f});(0,i.useEffect)(()=>{f||T()},[f,T]);let{modalProps:E}=(0,n.useModal)();return(0,d.useIsClient)()?(0,t.jsx)(n.OverlayContainer,{children:(0,t.jsx)(l.AnimatePresence,{children:f&&(0,t.jsx)(s.motion.div,{className:"relative z-50",transition:{duration:.2*!C},initial:{opacity:0},animate:{opacity:1},children:(0,t.jsx)("div",{...N,className:(0,c.default)("fixed inset-0 z-50 overflow-x-hidden overflow-y-auto bg-background-passive-inverted-base/60",v),children:(0,t.jsx)("div",{className:(0,c.default)({"flex min-h-full items-center":y}),children:(0,t.jsx)(r.FocusTrap,{children:(0,t.jsxs)("div",{className:(0,c.default)("mx-auto flex w-fit items-center",g),...w,...E,ref:P,children:[b&&(0,t.jsx)(a.Button,{variant:"solid-inverted",className:"pointer-events-auto fixed top-6 right-6 z-30 rounded-full","aria-label":j("Gallery.aria.closeGallery"),onPress:m,icon:(0,t.jsx)(u.default,{name:"close"})}),h]})})})})})})}):null},m={enter:e=>({x:e>0?1e3:-1e3,opacity:0}),center:{zIndex:1,x:0,opacity:1},exit:e=>({zIndex:0,x:e<0?1e3:-1e3,opacity:0})},h=(0,i.forwardRef)(({pages:e,autoSwipeDuration:a=0,pagination:r,initialPage:n,allowKeyboardNavigation:o=!1,description:d},u)=>{let{t:c}=(0,p.useTranslation)(),[f,h]=(0,i.useState)(!1),[[x,v],g]=(0,i.useState)([n??0,0]),[b,y]=(0,i.useState)(!1),C=x%e.length,j=(0,i.useCallback)(e=>{g(([t])=>[t+e,e])},[]),P=(0,i.useCallback)(()=>{j(1)},[j]),w=(0,i.useCallback)(()=>{j(-1)},[j]),N=(0,i.useCallback)((e,{offset:t,velocity:a})=>{let i=Math.abs(t.x)*a.x;i<-1e4?P():i>1e4&&w(),y(!1)},[P,w]),T=(0,i.useCallback)(()=>{y(!0)},[]);(0,i.useEffect)(()=>{if(!a||b||e.length<2||f)return()=>{};let t=setInterval(()=>{j(1)},a);return()=>{clearInterval(t)}},[a,j,b,e,f]);let E=(0,i.useCallback)(e=>{let t=C<e?1:-1;g([e,t])},[C]),z=(0,i.useCallback)(e=>{if(o){if("ArrowLeft"===e.code){e.preventDefault(),e.stopPropagation(),w();return}"ArrowRight"===e.code&&(e.stopPropagation(),e.preventDefault(),P())}},[P,w,o]);return(0,t.jsxs)("div",{tabIndex:0,onFocus:()=>{h(!0)},onBlur:()=>{h(!1)},ref:u,onKeyUp:z,role:"application","aria-label":d??c("Gallery.aria.descriptionSlider"),className:"relative z-0 flex size-full items-center justify-center overflow-hidden",children:[(0,t.jsx)(l.AnimatePresence,{initial:!1,custom:v,children:(0,t.jsx)(s.motion.div,{className:"absolute size-full outline-hidden",custom:v,variants:m,initial:"enter",animate:"center",exit:"exit",transition:{x:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}},drag:e.length>1?"x":void 0,dragConstraints:{left:0,right:0},dragElastic:1,onDragStart:T,onDragEnd:N,children:e[C]},x)}),r&&(0,t.jsx)(r,{count:e.length,activeIndex:C,goToPage:E,goToNext:P,goToPrevious:w})]})});var x=e.i(37159);e.s(["default",0,e=>{let{images:r,initialImageIndex:l,...s}=e,{isOpen:n}=s,{t:o}=(0,p.useTranslation)(),d=(0,i.useRef)(null);return(0,i.useEffect)(()=>{n&&d.current?.focus()},[n]),(0,t.jsx)(f,{overlayClassName:"w-full h-screen pointer-events-none",showCloseButton:!0,...s,children:(0,t.jsx)(h,{ref:d,description:o("Gallery.aria.imageLightBoxDescription"),allowKeyboardNavigation:r.length>1,initialPage:l,pages:r.map(e=>(0,t.jsxs)("div",{className:"pointer-events-none container m-auto flex size-full max-w-6xl flex-col items-center justify-center md:px-[88px]",children:[(0,t.jsx)(x.default,{draggable:"false",image:e,className:"pointer-events-auto h-auto max-h-[86vh] w-full object-contain select-none",sizes:"100vw"}),e.caption!==e.name&&e.caption&&(0,t.jsx)("div",{className:"mt-4 bg-background-passive-base px-2.5 py-0.5",children:e.caption})]},e.documentId)),pagination:({goToPrevious:e,goToNext:i})=>(0,t.jsx)("div",{className:"pointer-events-none absolute bottom-0 z-20 container flex w-full max-w-6xl justify-between p-6 md:bottom-auto",children:r.length>1&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Button,{variant:"solid-inverted",className:"pointer-events-auto rounded-full","aria-label":o("Gallery.aria.previousImage"),onPress:e,icon:(0,t.jsx)(u.default,{name:"arrow-left"})}),(0,t.jsx)(a.Button,{variant:"solid-inverted",className:"pointer-events-auto rounded-full","aria-label":o("Gallery.aria.nextImage"),onPress:i,icon:(0,t.jsx)(u.default,{name:"arrow-right"})})]})})})})}],83804)},37764,e=>{"use strict";var t=e.i(91398),a=e.i(91788),i=e.i(29005),r=e.i(41727),l=e.i(82512),s=e.i(24722);let n=(0,a.forwardRef)(({label:e,displayOptionalLabel:a,labelSize:n,helptext:o,helptextFooter:d,errorMessage:u,placeholder:c,endIcon:p,autoCapitalize:f,autoCorrect:m,spellCheck:h,autoComplete:x,...v},g)=>(0,t.jsx)(r.TextField,{...v,isInvalid:!!u,validationBehavior:"aria",className:(0,l.default)("flex w-full flex-col gap-2",v.className),children:(0,t.jsx)(s.default,{label:e,isRequired:v.isRequired,displayOptionalLabel:a,labelSize:n,helptext:o,helptextFooter:d,errorMessage:u,children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(i.Input,{ref:g,placeholder:c,autoCapitalize:f,autoCorrect:m,spellCheck:h,autoComplete:x,"data-cy":v.name?`input-${v.name}`:void 0,className:({isFocused:e,isDisabled:t,isInvalid:a})=>(0,l.default)("w-full rounded-lg border bg-background-passive-base text-size-p-small-r text-content-passive-secondary outline-hidden lg:text-size-p-small","px-3 py-2 lg:px-4 lg:py-3","placeholder:text-content-passive-tertiary",{"border-border-active-default":!a&&!e,"border-border-active-focused":!a&&e,"border-border-error":a,"border-border-active-disabled bg-background-passive-tertiary":t,"hover:border-border-active-hover":!t&&!a&&!e})}),p?(0,t.jsx)("div",{className:"absolute inset-y-0 right-0 flex items-center",children:p}):null]})})}));e.s(["default",0,n])},24722,e=>{"use strict";var t=e.i(91398),a=e.i(75253);e.i(71587);var i=e.i(71179),r=e.i(18992),l=e.i(45317),s=e.i(1020),n=e.i(82512);let o={default:"*:text-size-p-small-r lg:*:text-size-p-small",h3:"*:text-size-h3-r lg:*:text-size-h3",h4:"*:text-size-h4-r lg:*:text-size-h4",h5:"*:text-size-h5-r lg:*:text-size-h5"};e.s(["default",0,({label:e,isRequired:d,displayOptionalLabel:u=!0,labelSize:c="default",helptext:p,helptextFooter:f,errorMessage:m,children:h})=>{let{t:x}=(0,i.useTranslation)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsxs)(l.Label,{className:(0,n.default)("flex items-baseline text-content-passive-primary",o[c]),children:[e?(0,t.jsx)(a.Typography,{as:"span",className:"font-semibold",children:e}):null,!u&&d?(0,t.jsx)(a.Typography,{as:"span",className:"ml-0.5 font-semibold text-content-error-default",children:"*"}):null,u&&!d?(0,t.jsx)(a.Typography,{variant:"p-small",className:"ml-1 font-normal",children:x("FieldHeader.optional")}):null]}),p?(0,t.jsx)(s.Text,{slot:"description",elementType:"div",className:"text-size-p-small-r text-content-passive-secondary lg:text-size-p-small",children:p}):null]}),h,f?(0,t.jsx)(s.Text,{slot:"description",elementType:"div",className:"text-size-p-small-r text-content-passive-secondary lg:text-size-p-small",children:f}):null,(0,t.jsx)(r.FieldError,{className:"text-size-p-small-r text-content-error-default lg:text-size-p-small","data-cy":"error-message",children:m})]})}])},82184,e=>{"use strict";var t=e.i(66353),a=e.i(95752);e.s(["useTailwindBreakpointValue",0,()=>{let{width:e}=(0,t.useWindowSize)();return{isMobile:e<parseInt(a.screens.md.slice(0,-2),10),isDesktop:e>=parseInt(a.screens.lg.slice(0,-2),10)}}])}]);
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.