PageSourceSearch

https://www.bezrealitky.cz/_next/static/chunks/pages/blog/author/[...slug]-2e77240e1d47a752.js

js bezrealitky.cz collected 2026-09-25 14:18:19 UTC 16,004 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(e[a]=r[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:bezrealitky":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="15233f71-9c2b-4399-ab20-3c72acedb43b",e._sentryDebugIdIdentifier="sentry-dbid-15233f71-9c2b-4399-ab20-3c72acedb43b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[56],{18162:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var a=r(66284),o=r(59860),l=r(19318),n=r.n(l),s=r(15039),i=r.n(s),c=r(73041),u=r(37876),d=r(27885),g=r(54498),p=r(18529),h=r(72339);let b=["children","className"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){(0,a.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let m=Object.assign(e=>{let{children:t,className:r}=e,a=(0,o.A)(e,b);return(0,u.jsx)("div",y(y({className:i()(n().authorCard,r)},a),{},{children:t}))},{Image:e=>{let{ratio:t="4x3",children:r}=e;return(0,u.jsx)("figure",{className:i()(n().authorCardImage,{[n()["authorCardImage--".concat(t)]]:t}),children:(0,u.jsx)(c._,{layout:"fill",children:r})})},Content:e=>{let{children:t}=e;return(0,u.jsx)("div",{className:i()(n().authorCardContent),children:t})},Heading:e=>{let{children:t,linkedIn:r,headingLevel:a="h1"}=e;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("div",{className:"d-flex justify-content-between flex-wrap align-items-baseline",children:[(0,u.jsx)(d.o,{as:a,variant:"h3",children:t}),r&&(0,u.jsxs)(h.$,{variant:"link",href:r,children:[(0,u.jsx)("span",{className:"d-none d-md-inline",children:t}),(0,u.jsx)(p.A.LinkedIn,{position:"end"})]})]}),(0,u.jsx)(g.c,{className:"my-5",color:"grey-light"})]})},Body:e=>{let{children:t}=e;return(0,u.jsx)("div",{className:i()(n().authorCardBody),children:t})}})},19318:e=>{e.exports={authorCard:"AuthorCard_authorCard__W4IHM",authorCardImage:"AuthorCard_authorCardImage__2JdRg",authorCardContent:"AuthorCard_authorCardContent__leBpB","authorCardImage--4x3":"AuthorCard_authorCardImage--4x3__I7spw","authorCardImage--16x9":"AuthorCard_authorCardImage--16x9__EQMbr",authorCardHeading:"AuthorCard_authorCardHeading__45Sw0"}},29084:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/author/[...slug]",function(){return r(58582)}])},40201:(e,t,r)=>{"use strict";r.d(t,{g:()=>u});var a=r(66284),o=r(85572),l=r(6772),n=r(34820),s=r(14232);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){(0,a.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{breakpoint:"allUp"},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=Object.assign({},((0,o.A)(e),e)),{breakpoint:i}=t,u=c(c({},{containScroll:"trimSnaps",dragFree:!0}),a),[d,g]=(0,n.A)(c({},u),r),{0:p,1:h}
1=(0,s.useState)(!0),b=(0,l.y)(i),{0:f,1:y}=(0,s.useState)(!0),{0:m,1:j}=(0,s.useState)(!0),{0:O,1:v}=(0,s.useState)(0),{0:C,1:A}=(0,s.useState)([]),w=(0,s.useCallback)(()=>{g&&g.scrollPrev()},[g]),x=(0,s.useCallback)(()=>{g&&g.scrollNext()},[g]),_=(0,s.useCallback)(e=>{g&&g.scrollTo(e)},[g]),P=(0,s.useCallback)(()=>{g&&(v(g.selectedScrollSnap()),y(!g.canScrollPrev()),j(!g.canScrollNext()))},[g]),N=(0,s.useCallback)(()=>{h(b)},[h,b]);return(0,s.useEffect)(()=>{g&&(P(),A(g.scrollSnapList()),g.on("select",P))},[g,A,P]),(0,s.useEffect)(()=>(N(),window.addEventListener("resize",N),()=>{window.removeEventListener("resize",N)}),[N]),p?{embla:g,emblaRef:d,nextBtnDisabled:m,prevBtnDisabled:f,scrollNext:x,scrollPrev:w,scrollSnaps:C,scrollTo:_,selectedIndex:O}:{emableRef:null}}},48272:(e,t,r)=>{"use strict";r.d(t,{V:()=>m});var a=r(66284),o=r(72339),l=r(34965),n=r(54498),s=r(18529),i=r(92725),c=r(27885),u=r(40201),d=r(30747),g=r(15039),p=r.n(g),h=r(85327),b=r.n(h),f=r(37876);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}let m=e=>{let{articleClassName:t,articles:r,divider:g=!0,id:h,layoutVariant:m="default",orientation:j,title:O}=e,{emblaRef:v,nextBtnDisabled:C,prevBtnDisabled:A,scrollNext:w,scrollPrev:x}=(0,u.g)({align:"start",containScroll:"trimSnaps",dragFree:!1,loop:!1,skipSnaps:!0});return(0,f.jsx)(i.w,{className:p()("mb-5",{"mt-8":!g}),id:h,children:(0,f.jsxs)(l.m,{children:[g&&(0,f.jsx)(n.c,{className:"mb-8"}),O&&(0,f.jsx)(c.o,{as:"h2",className:"mb-3 mb-md-8 d-flex justify-content-between align-items-baseline align-items-md-start",variant:"h3",children:O}),(0,f.jsxs)("div",{className:p()(b().categoryCarousel,{[b().categoryCarouselHomepage]:"homepage"===m}),children:[(0,f.jsx)("div",{className:b().categoryCarouselViewport,ref:v,children:(0,f.jsx)("div",{className:b().categoryCarouselContainer,children:r.map(e=>(0,f.jsx)("div",{className:b().categoryCarouselSlide,children:(0,f.jsx)("div",{className:p()(b().categoryCarouselCardWrapper,{[b().categoryCarouselCardWrapperHomepage]:"homepage"===m}),children:(0,f.jsx)(d.J,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach(function(t){(0,a.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({className:p()(t,"h-100"),orientation:j},e))})},e.slug))})}),(0,f.jsxs)("div",{className:b().categoryCarouselButtons,children:[(0,f.jsx)(o.$,{className:p()(b().categoryCarouselPrev),disabled:A,onClick:x,variant:"light",children:(0,f.jsx)(s.A.ChevronBigLeft,{height:24,position:"middle",width:24})}),(0,f.jsx)(o.$,{className:p()(b().categoryCarouselNext),disabled:C,onClick:w,variant:"light",children:(0,f.jsx)(s.A.ChevronBigRight,{height:24,position:"middle",width:24})})]})]})]})})}},58582:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>k,default:()=>I});var a=r(18162),o=r(34965),l=r(38901),n=r(92725),s=r(83407),i=r(70775),c=r(48272),u=r(96240),d=r(61735),g=r(1553),p=r(85925),h=r(52557),b=r(47146),f=r(54587),y=r.n(f),m=r(48230),j=r.n(m),O=r(89099),v=r(45105),C=r.n(v),A=r(14232),w=r(61595),x=r(77742),_=r(8733),P=r(69585),N=r(36107),S=r(37876),k=!0;let I=()=>{var e,t,r,f,m,v,k,I,D,E,B,H,M,L,$;let J=(0,g.Ym)(),Z=(0,x.A)(),T=(0,O.useRouter)(),{pushPageView:W}=(0,d.vb)(),z=T.query.slug?(0,p._j)(T.query.slug):[],R=z.at(0),V=(0,p.i)(null!=(e=z.at(1))?e:"1");(0,A.useEffect)(()=>{W({pageType:"blog"})},[W,R]);let{data:q,fetchMore:G}=(0,s.de)({fetchPolicy:"cache-only",variables:{limit:10,locale:(0,N.K)(J),offset:(V-1)*10,slug:R}}),U=(0,A.useCallback)(e=>e>1?(0,h.nH)(h.JZ.blogAuthor,J,{slug:[R,e]}):(0,h.nH)(h.JZ.blogAuthor,J,{slug:[R]}),[J,R]),F=(0,A.useCallback)(()=>G({variables:{offset:10*V}}).then(()=>T.push((0,h.nH)(h.JZ.blogAuthor,J,{slug:[R,V+1]}),void 0,{shallow:!0})),[T,G,V,J,R]),Y=(0,A.useMemo)(()=>{var e;let t=null==(e=T.domainLocales)?void 0:e.find(e=>e.defaultLocale===T.locale),r=(t.http?"http://":"https://")+t.domain+T.basePath,a={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:r+(0,h.nH)(h.JZ.homepage,J),name:Z.formatMessage({id:"YJr2Z/",defaultMessage:[{type:0,value:"Domů"}]}),position:1},{"@type":"ListItem",item:r+(0,h.nH)(h.JZ.blog,J),name:Z.formatMessage({id:"tv5FG3",defaultMessage:[{type:0,value:"Blog"}]}),position:2}]};return null!=q&&q.blogAuthor&&a.itemListElement.push({"@type":"ListItem",item:r+(0,h.nH)(h.JZ.blogAuthor,J,{slug:R}),name:q.blogAuthor.firstName+" "+q.blogAuthor.lastName,position:a.itemListElement.length+1}),a},[null==q?void 0:q.blogAuthor,Z,J,T.basePath,T.domainLocales,T.locale,R]);if(!(null!=q&&q.blogAuthor))return null;let Q=null!=(t=null==(r=q.blogAuthor.articles)?void 0:r.list.map(e=>(0,P.W)(e,void 0)))?t:[],K=null!=(f=null==(m=q.blogAuthor.bestArticles)?void 0:m.list.map(e=>(0,P.W)(e,void 0)))?f:[],X=10*V<(null!=(v=null==(k=q.blogAuthor.articles)?void 0:k.totalCount)?v:0),ee=V>1;return(0,S.jsxs)(l.D,{children:[(0,S.jsx)(u.P,{description:null!=(I=q.blogAuthor.text)?I:void 0,hrefLangRoute:{params:{slug:V>1?[R]:[R,V]},route:h.JZ.blogAuthor},next:X?(0,h.nH)(h.JZ.blogAuthor,J,{slug:[R,V+1]}):void 0,prev:ee?(0,h.nH)(h.JZ.blogAuthor,J,{slug:V>2?[R,V-1]:[R]}):void 0,title:"Čl\xe1nky od: ".concat(q.blogAuthor.firstName," ").concat(q.blogAuthor.lastName," | BLOG Bezrealitky")}),(0,S.jsx)(n.w,{className:"mt-8 mb-3",children:(0,S.jsxs)(o.m,{children:[(0,S.jsx)(C(),{dangerouslySetInnerHTML:{__html:JSON.stringify(Y)},id:"breadcrumbs",type:"application/ld+json"}),(0,S.jsxs)(w.A,{children:[(0,S.jsx)(w.A.Item,{className:"d-none d-md-inline-block",children:(0,S.jsx)(j(),{href:(0,h.nH)(h.JZ.homepage,J),prefetch:!1,children:(0,S.jsx)(_.A,{id:"YJr2Z/",defaultMessage:[{type:0,value:"Domů"}]})})}),(0,S.jsx)(w.A.Item,{children:(0,S.jsx)(j(),{href:(0,h.nH)(h.JZ.blog,J),prefetch:!1,children:(0,S.jsx)(_.A,{id:"tv5FG3",defaultMessage:[{type:0,value:"Blog"}]})})}),(0,S.jsx)(w.A.Item,{active:!0,children:"".concat(q.blogAuthor.firstName," ").concat(q.blogAuthor.lastName)})]}),(0,S.jsxs)(a.A,{className:"mt-5",children:[(0,S.jsx)(a.A.Image,{children:(0,S.jsx)(y(),{alt:null!=(D=null==(E=q.blogAuthor.photo)?void 0:E.text)?D:"",f
1ill:!0,loading:"eager",sizes:"(min-width: 768px) 30vw; 100vw",src:null!=(B=null==(H=q.blogAuthor.photo)?void 0:H.url)?B:b.A})}),(0,S.jsxs)(a.A.Content,{children:[(0,S.jsx)(a.A.Heading,{linkedIn:null!=(M=q.blogAuthor.linkedIn)?M:void 0,children:"".concat(q.blogAuthor.firstName," ").concat(q.blogAuthor.lastName)}),(0,S.jsx)(a.A.Body,{children:q.blogAuthor.text})]})]})]})}),(0,S.jsx)(c.V,{articles:K,divider:!1,orientation:"portrait",title:(0,S.jsx)(_.A,{id:"QZGBBA",defaultMessage:[{type:0,value:"Nejčtenějš\xed čl\xe1nky autora"}]})}),(0,S.jsx)(i.y,{articles:Q,loadMore:X?F:void 0,orientation:"landscape",page:V,pageLinkGenerator:U,perPage:10,title:(0,S.jsx)(_.A,{id:"YZzOP6",defaultMessage:[{type:0,value:"Všechny čl\xe1nky autora"}]}),totalPages:Math.ceil((null!=(L=null==($=q.blogAuthor.articles)?void 0:$.totalCount)?L:0)/10)})]})}},61595:(e,t,r)=>{"use strict";r.d(t,{A:()=>j});var a=r(66284),o=r(59860),l=r(15039),n=r.n(l),s=r(14232),i=r(32786),c=r(10401),u=r(37876);let d=["bsPrefix","active","children","className","as","linkAs","linkProps","href","title","target"];function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){(0,a.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let h=s.forwardRef((e,t)=>{let{bsPrefix:r,active:a=!1,children:l,className:s,as:g="li",linkAs:h=c.A,linkProps:b={},href:f,title:y,target:m}=e,j=(0,o.A)(e,d),O=(0,i.oU)(r,"breadcrumb-item");return(0,u.jsx)(g,p(p({ref:t},j),{},{className:n()(O,s,{active:a}),"aria-current":a?"page":void 0,children:a?l:(0,u.jsx)(h,p(p({},b),{},{href:f,title:y,target:m,children:l}))}))});h.displayName="BreadcrumbItem";let b=["bsPrefix","className","listProps","children","label","as"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){(0,a.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let m=s.forwardRef((e,t)=>{let{bsPrefix:r,className:a,listProps:l={},children:s,label:c="breadcrumb",as:d="nav"}=e,g=(0,o.A)(e,b),p=(0,i.oU)(r,"breadcrumb");return(0,u.jsx)(d,y(y({"aria-label":c,className:a,ref:t},g),{},{children:(0,u.jsx)("ol",y(y({},l),{},{className:n()(p,null==l?void 0:l.className),children:s}))}))});m.displayName="Breadcrumb";let j=Object.assign(m,{Item:h})},83407:(e,t,r)=>{"use strict";r.d(t,{de:()=>p});var a,o=r(66284),l=r(32228),n=r(79350),s=r(11761),i=r(54431);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){(0,o.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let d={},g=(0,n.J1)(a||(a=(0,l.A)(["\n    query BlogAuthor($locale: Locale!, $slug: String!, $withArticles: Boolean = true, $offset: Int = 0, $limit: Int = 10) {\n  blogAuthor(slug: $slug, locale: $locale) {\n    id\n    firstName\n    lastName\n    linkedIn\n    published\n    photo(locale: $locale, filter: USER_PHOTO_BIG) {\n      text\n      size {\n        width\n        height\n      }\n      url\n    }\n    role\n    perex(locale: $locale)\n    text(locale: $locale)\n    articles(\n      locale: $locale\n      offset: $offset\n      limit: $limit\n      orderBy: TIME_PUBLISHED_DESC\n    ) @include(if: $withArticles) {\n      list {\n        ...BlogArticlePreview\n      }\n      totalCount\n    }\n    bestArticles: articles(orderBy: VISIT_COUNT_DESC, locale: $locale, limit: 12) @include(if: $withArticles) {\n      list {\n        ...BlogArticlePreview\n      }\n    }\n  }\n}\n    ",""])),s.j);function p(e){let t=u(u({},d),e);return i.IT(g,t)}},85327:e=>
1{e.exports={categoryCarousel:"CategoryCarousel_categoryCarousel__sbeo5",categoryCarouselHomepage:"CategoryCarousel_categoryCarouselHomepage__6q_QL",categoryCarouselViewport:"CategoryCarousel_categoryCarouselViewport__0q25y",categoryCarouselButtons:"CategoryCarousel_categoryCarouselButtons__0dvQk",categoryCarouselContainer:"CategoryCarousel_categoryCarouselContainer__MJsWs",categoryCarouselSlide:"CategoryCarousel_categoryCarouselSlide__q1amT",categoryCarouselCardWrapper:"CategoryCarousel_categoryCarouselCardWrapper__hy5a5",categoryCarouselCardWrapperHomepage:"CategoryCarousel_categoryCarouselCardWrapperHomepage__z2KYm"}}},e=>{e.O(0,[8226,4820,5934,636,6593,8792],()=>e(e.s=29084)),_N_E=e.O()}]);
2//# sourceMappingURL=[...slug]-2e77240e1d47a752.js.map

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.