1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6d63272e-5bbc-4a88-ba7f-4322a13c4b47",e._sentryDebugIdIdentifier="sentry-dbid-6d63272e-5bbc-4a88-ba7f-4322a13c4b47")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9195],{67801:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return n(16440)}])},32435:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(67294);function a(){var e=(0,r.useRef)(!0);return e.current?(e.current=!1,!0):e.current}},79989:function(e,t,n){"use strict";var r=n(67294),a=function(e,t){return"boolean"==typeof t?t:!e};t.Z=function(e){return(0,r.useReducer)(a,e)}},29846:function(e,t,n){"use strict";var r=n(67294),a=n(32435);t.Z=function(e,t){var n=(0,a.Z)();(0,r.useEffect)(function(){if(!n)return e()},t)}},76740:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(85893),a=n(72253),i=n(15725),s=n(60159),l=n(26423),c=n(41664),o=n.n(c),u=n(11163),d=n(29846),g=n(27
1734),f=n(80631),p=n(40909),m=function(e){var t,n=e.initialPagination,c=e.articles,m=e.category,x=(0,u.useRouter)(),h=x.query,v=x.pathname,b=x.asPath,y=+(null==h?void 0:h[p.O])||+(null===(t=b.match(new RegExp("[&?]".concat(p.O,"=(.*)(&|$)"))))||void 0===t?void 0:t[1])||n.page;return(0,d.Z)(function(){var e=document.getElementById("articles-section");e&&e.scrollIntoView()},[y]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Z,{noData:!(null==c?void 0:c.length),children:null==c?void 0:c.map(function(e,t){return(0,r.jsx)(s.Z,{tags:e.blogTags,perex:e.perex,title:e.title,image:e.blogSeo.ogImage,date:e.date,slug:e.slug,i:t},e.slug)})}),(0,r.jsx)("div",{className:"flex justify-center w-full",children:(0,r.jsx)(i.Z,{page:y,renderItem:function(e){return(0,r.jsx)(o(),{href:{pathname:v,query:{p:e.page}},as:m&&"".concat(f.ZP.BLOG.CATEGORY,"/").concat(m,"?p=").concat(e.page),passHref:!0,children:(0,r.jsx)(g.Z,(0,a._)({},e))})},pagesCount:n.pageCount})})]})},x=n(248),h=n(23123),v=n(67294),b=n(93967),y=n.n(b),j=function(e){var t=e.navItems,n=e.activeCategorySlug,a=(0,h.$G)().t,i=(0,v.useMemo)(function(){return{title:a("blog.nav.all"),slug:""}},[]);return(0,r.jsx)("div",{className:"page-layout--desktop pt-4 sm:pl-2",children:(0,r.jsx)("nav",{className:"flex mb-2 border-b overflow-x-auto scrollbar-hide gap-4 sm:pr-2",children:[i].concat((0,x._)(t)).map(function(e){var t=n?e.slug===n:!e.slug;return(0,r.jsx)(o(),{href:e.slug?"".concat(f.ZP.BLOG.CATEGORY,"/").concat(e.slug):f.ZP.BLOG.HOME,passHref:!0,scroll:!1,className:y()("hover:text-primary-blue whitespace-nowrap font-bold h4 pb-1",t?"text-primary-blue border-b border-primary-blue ":"text-neutral-gray2","transition-colors ease-in-out"),children:e.title},e.slug||e.title)})})})},Z=n(40128),w=n(46220),_=function(e){var t=e.articles,n=e.initialPagination,a=e.initialCategories,i=e.categorySlug,s=e.categoryPerex,l=e.heroBanner;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Z.Z,{component:l}),(0,r.jsx)(j,{activeCategorySlug:i,navItems:null==a?void 0:a.map(function(e){return{title:e.title,slug:e.slug}})}),(0,r.jsxs)("section",{className:"space-y-4 py-0.5 pb-4 page-layout",children:[!!s&&(0,r.jsx)(w.Z,{text:s}),(0,r.jsx)(m,{articles:t,initialPagination:n,category:i})]})]})}},15725:function(e,t,n){"use strict";var r=n(85893),a=n(70590),i=n(78385),s=n(88240),l=(0,a.ZL)()({root:{"& .Mui-selected":{color:"#FFF",backgroundColor:"#00519E"}}});t.Z=function(e){var t=e.pagesCount,n=e.page,a=e.renderItem,c=l().classes,o=(0,s.Z)().isMobile;return(0,r.jsx)(i.Z,{classes:{root:c.root},className:"flex justify-end my-1",count:t,shape:"rounded",siblingCount:1,renderItem:a,page:n,size:o?"small":"medium"})}},72602:function(e,t,n){"use strict";var r=n(85893);t.Z=function(e){var t=e.label;return t?(0,r.jsx)("p",{className:"text-primary-blue bg-primary-bluelight2 py-0.5 px-1 text-13 w-fit rounded-sm whitespace-nowrap",children:t}):null}},60159:function(e,t,n){"use strict";var r=n(85893),a=n(72602),i=n(17232),s=n(22980),l=n(41664),c=n.n(l),o=n(93967),u=n.n(o),d=n(31453),g=n(80631);t.Z=function(e){var t=e.title,n=e.date,l=e.image,o=e.slug,f=e.tags,p=e.i,m=e.perex,x=0===p||1===p||5===p||6===p;return(0,r.jsxs)(c(),{href:"".concat(g.ZP.BLOG.HOME,"/").concat(o),className:u()("h-full w-full rounded-sm grid-cols-1 grid-rows-auto",x?"lg:col-span-3":"lg:col-span-2"),children:[(0,r.jsx)(d.Z,{image:l,fitCover:!0,className:"w-full object-cover rounded-t-sm h-[250px]"}),(0,r.jsxs)("div",{className:u()("p-2 rounded-b-sm shadow-blogCard space-y-2",x?"lg:h-[250px]":"lg:h-[300px]","sm:h-auto"),children:[(0,r.jsx)("h3",{className:"font-bold text-h3 line-clamp-1",children:t}),(0,r.jsx)("p",{className:u()("text-neutral-gray",x?"lg:line-clamp-3":"lg:line-clamp-5","sm:line-clamp-5"),children:m}),(0,r.jsx)("p",{className:"text-neutral-gray",children:(0,i.Z)((0,s.Z)(n),"d.M.yyyy")}),(0,r.jsx)("div",{className:"flex gap-0.5 overflow-x-scroll scrollbar-hide pt-1",children:null==f?void 0:f.map(function(e){return(0,r.jsx)(a.Z,{label:e.label},e.value)})})]})]})}},26423:function(e,t,n){"use strict";var r=n(85893),a=n(23123),i=n(496);t.Z=function(e){var t=e.children,n=e.noData;return(0,r.jsx)("div",{id:"articles-section",children:n?(0,r.jsx)(i.Z,{children:(0,r.jsx)(a.cC,{i18nKey:"blog.articles.noData"})}):(0,r.jsx)("section",{className:"grid grid-cols-6 sm:grid-cols-1 gap-2 relative",children:t})})}},80723:function(e,t,n){"use strict";var r=n(85893),a=n(2962),i=n(11163),s=n(14013);t.Z=function(e){var t=e.title,n=e.preview,l=(0,i.useRouter)(),c=l.asPath,o=l.locale,u=(0,s.I0)(c,o);return(0,r.jsx)(a.PB,{nofollow:n,noindex:n,title:"".concat(t||"Blog"," | RegioJet"),canonical:u})}},16440:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return s}});var r=n(85893),a=n(76740),i=n(80723),s=!0;t.default=function(e){var t=e.articles,n=e.initialPagination,s=e.initialCategories,l=e.sharedBlogData;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z,{}),(0,r.jsx)(a.Z,{heroBanner:null==l?void 0:l.heroBanner,categoryPerex:null==l?void 0:l.perex,articles:t,initialPagination:n,initialCategories:s})]})}},40909:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var r="p"},14013:function(e,t,n){"use strict";n.d(t,{I0:function(){return c}});var r=n(11010),a=n(70655);n(40865);var i=n(58818),s=n(61165),l=n(40909);n(80631);var c=function(e,t){var n="https://".concat(s.HF[t]).concat(e.split("#")[0].split("?")[0]),r=e.match(new RegExp("[&?]".concat(l.O,"=(.*)(&|$)")));return!r||1>=+r[1]?n:"".concat(n).concat(r[0])};(0,r._)(function(e){return(0,a.__generator)(this,function(t){switch(t.label){case 0:return[4,(0,i.V2)(e,{params:{locale:"all",fields:["slug"]}})];case 1:return[2,t.sent().map(function(e){return{params:{slug:e.slug}}})]}})})}},function(e){e.O(0,[53221,78385,25669,96909,19963,93509,40128,92888,49774,40179],function(){return e(e.s=67801)}),_N_E=e.O()}]);
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.