1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[0],{2815:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dla-najmlodszych",function(){return t(6902)}])},9220:function(e,a,t){"use strict";t.d(a,{Z:function(){return SubpageLayout}});var n=t(5893),i=t(2600),r=t.n(i),o=t(9401),s=t(4359),c=t(6895),d=t(9008),l=t.n(d);function SubpageLayout(e){let{children:a,data:t}=e;return(0,n.jsxs)("div",{className:r().infoPage,children:[(0,n.jsx)(o.Z,{}),(0,n.jsxs)(l(),{children:[(0,n.jsxs)("title",{children:["Drugie życie ",t.title?"- "+t.title:""]}),(0,n.jsx)("meta",{name:"description",content:t.metaDesc?t.metaDesc:""}),t.canonicalUrl&&(0,n.jsx)("link",{rel:"canonical",href:t.canonicalUrl},"canonical")]}),(0,n.jsx)(s.Z,{data:t.logoUrl}),(0,n.jsx)("main",{className:r().contentContainer,children:a}),(0,n.jsx)(c.Z,{data:{infoPages:t.infoPages}})]})}},6902:function(e,a,t){"use strict";t.r(a),t.d(a,{__N_SSG:function(){return l},default:function(){return DlaNajmlodszych}});var n=t(5893),i=t(9220),r=t(7294),o=t(4007),s=t.n(o);let c=[[15,34,56],[0,77,145],[223,234,245]];function StoryReader(e){let{story:a}=e,t=[{type:"cover"},...a.pages.map(e=>({type:"page",sentences:e})),{type:"end"}],i=t.length-1,[o,d]=(0,r.useState)(0),[l,u]=(0,r.useState)(0),[p,_]=(0,r.useState)(!1),y=(0,r.useRef)(null),m=(0,r.useRef)(null),h=(0,r.useCallback)(e=>d(Math.max(0,Math.min(i,e))),[i]),j=(0,r.useCallback)(()=>h(o+1),[h,o]),g=(0,r.useCallback)(()=>h(o-1),[h,o]);(0,r.useEffect)(()=>{let onKey=e=>{if(!y.current)return;let a=y.current.getBoundingClientRect();a.bottom<0||a.top>window.innerHeight||("ArrowRight"===e.key&&j(),"ArrowLeft"===e.key&&g())};return window.addEventListener("keydown",onKey),()=>window.removeEventListener("keydown",onKey)},[j,g]);let onPointerUp=e=>{let a=m.current;if(m.current=null,!a||a.id!==e.pointerId)return;let t=y.current.offsetWidth,n=e.clientX-a.x;if(a.axis){if("x"===a.axis){let e=Math.abs(n)/(performance.now()-a.t);n<-(.18*t)||n<-30&&e>.5?j():(n>.18*t||n>30&&e>.5)&&g()}}else{let a=y.current.getBoundingClientRect();e.clientX-a.left>.35*a.width?j():g()}_(!1),u(0)},x=function(e){var a,t,n;let i=e*(c.length-1),r=Math.min(Math.floor(i),c.length-2),o=(a=c[r],t=c[r+1],n=i-r,a.map((e,a)=>Math.round(e+(t[a]-e)*n))),s=(.2126*o[0]+.7152*o[1]+.0722*o[2])/255;return{background:"rgb(".concat(o.join(","),")"),ink:s>.55?"#0f2238":"#f5f8fc"}}(o/i),w=y.current?y.current.offsetWidth:1,f=Math.max(0,Math.min(1,(o-l/w)/i));return(0,n.jsxs)("section",{className:s().reader,style:{"--sky":x.background,"--ink":x.ink,"--progress":f},"aria-roledescription":"karuzela","aria-label":"Opowiadanie ".concat(a.title),children:[(0,n.jsx)("div",{className:s().progress,"aria-hidden":"true",children:t.map((e,a)=>(0,n.jsx)("span",{className:a<=o?s().progressDone:void 0},a))}),(0,n.jsxs)("div",{ref:y,className:"".concat(s().stage," ").concat(p?s().dragging:""),onPointerDown:e=>{(void 0===e.button||0===e.button)&&(e.target.closest("button, a")||(m.current={x:e.clientX,y:e.clientY,t:performance.now(),axis:null,id:e.pointerId}))},onPointerMove:e=>{let a=m.current;if(!a||a.id!==e.pointerId)return;let t=e.clientX-a.x,n=e.clientY-a.y;if(!a.axis&&(Math.abs(t)>6||Math.abs(n)>6)&&(a.axis=Math.abs(t)>Math.abs(n)?"x":"y","x"===a.axis&&(e.currentTarget.setPointerCapture(e.pointerId),_(!0))),"x"!==a.axis)return;let r=0===o&&t>0||o===i&&t<0;u(r?.3*t:t)},onPointerUp:onPointerUp,onPointerCancel:onPointerUp,children:[(0,n.jsx)("div",{className:s().sun,"aria-hidden":"true"}),(0,n.jsx)("div",{className:s().track,style:{transform:"translate3d(calc(".concat(-(100*o),"% + ").concat(l,"px), 0, 0)")},children:t.map((e,i)=>(0,n.jsxs)("div",{className:"".concat(s().slide," ").concat(i===o?s().active:""),"aria-hidden":i!==o,role:"group","aria-roledescription":"strona","aria-label":"".concat(i+1," z ").concat(t.length),children:["cover"===e.type&&(0,n.jsxs)("div",{className:s().cover,children:[(0,n.jsx)("h1",{className:s().title,children:a.title}),(0,n.jsxs)("p",{className:s().hint,children:[(0,n.jsx)("span",{className:s().hintHand,"aria-hidden":"true"}),"PrzesuÅ palcem, żeby czytaÄ dalej"]})]}),"page"===e.type&&(0,n.jsx)("div",{className:s().page,children:e.sentences.map((e,a)=>(0,n.jsx)("p",{className:s().sentence,style:{"--i":a},children:e},a))}
1),"end"===e.type&&(0,n.jsxs)("div",{className:s().cover,children:[(0,n.jsx)("p",{className:s().endTitle,children:a.title}),(0,n.jsx)("button",{type:"button",className:s().restart,tabIndex:i===o?0:-1,onClick:()=>h(0),children:"Przeczytaj jeszcze raz"})]})]},i))})]}),(0,n.jsxs)("div",{className:s().controls,children:[(0,n.jsx)("button",{type:"button",onClick:g,disabled:0===o,"aria-label":"Poprzednia strona",children:(0,n.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M15 5l-7 7 7 7"})})}),(0,n.jsxs)("span",{className:s().counter,"aria-live":"polite",children:[o+1," / ",t.length]}),(0,n.jsx)("button",{type:"button",onClick:j,disabled:o===i,"aria-label":"NastÄpna strona",children:(0,n.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M9 5l7 7-7 7"})})})]})]})}let d={title:"âDrugie życieâ",pages:[["Podobno opowieÅci powinno siÄ zaczynaÄ od poczÄ
tku, ale ja mam na ten temat inne zdanie, wiÄc na przek\xf3r każdemu zrobiÄ odwrotnie."],["Zacznijmy wiÄc od koÅca.","DosÅownie, od koÅca życia, ponieważ mam wrażenie, że z każdym dniem osobiÅcie mam coraz mniej do zaoferowania, a jedynÄ
cechÄ
mojego charakteru jest to, że za niedÅugo mnie tu nie bÄdzie."],["PrzeciÄtnemu czÅowiekowi wydawaÅoby siÄ, że najgorszym co może go spotkaÄ jest ÅmierÄ.","Każdy siÄ jej boi i wÄ
tpiÄ, że istniejÄ
osoby, kt\xf3re chociaż trochÄ siÄ jej nie obawiajÄ
."],["GÅ\xf3wnie jest to spowodowane tym, że nie wiemy co siÄ p\xf3źniej stanie.","I może i istniejÄ
teorie, religie, wierzenia, kt\xf3re pr\xf3bujÄ
nam wytÅumaczyÄ istotÄ Åmierci, jednak prawda jest taka, że nasza wiedza o niej jest zerowa.","A jeÅli dla czÅowieka coÅ jest niewiadome - boi siÄ tego."],["Hah, to nie co dziwne, ale jak czÅowiek ma dużo czasu na rozmyÅlanie o r\xf3żnych rzeczach, jego myÅli wÄdrujÄ
aż za daleko i zaczyna myÅleÄ o takich sprawach."],['LeżÄ
c w Å\xf3żku i patrzÄ
c w sufit do gÅowy zaczynajÄ
napÅywaÄ niekoniecznie przyjazne myÅli i klasyczne pytanie "co bÄdzie, gdy mnie nie bÄdzie, gdy...umrÄ".'],["I mimo, że tak naprawdÄ przychodzÄ
c na Åwiat jedynÄ
rzeczÄ
, kt\xf3ra jest pewna, jest ÅmierÄ, to w momencie, gdy uÅwiadamiamy sobie, że na nas też przyjdzie czas, panikujemy.","WiÄc chyba tak naprawdÄ jedyne co możemy zrobiÄ, to pogodziÄ siÄ ze ÅmierciÄ
."]]};var l=!0;function DlaNajmlodszych(e){let{data:a}=e;return(0,n.jsx)(i.Z,{data:a,children:(0,n.jsx)(StoryReader,{story:d})})}},4007:function(e){e.exports={reader:"storyReader_reader__yC14x",progress:"storyReader_progress__BUmhW",progressDone:"storyReader_progressDone__FZVLO",stage:"storyReader_stage__t9YPQ",dragging:"storyReader_dragging__2FpgD",track:"storyReader_track__tdNFl",slide:"storyReader_slide__6pqM_",sun:"storyReader_sun__b7Dji",cover:"storyReader_cover__ZFlfn",title:"storyReader_title__ffa_r",endTitle:"storyReader_endTitle__eP9IK",hint:"storyReader_hint__jkX4S",hintHand:"storyReader_hintHand__U6pJi",swipeHint:"storyReader_swipeHint__McUPd",restart:"storyReader_restart__syVi4",page:"storyReader_page__uEKmw",sentence:"storyReader_sentence__UjD3H",active:"storyReader_active__tO06N",controls:"storyReader_controls___EqG3",counter:"storyReader_counter__sSIs9"}},2600:function(e){e.exports={infoPage:"subpage_infoPage__Ju08h",contentContainer:"subpage_contentContainer__g7XYv",coverContainer:"subpage_coverContainer__iAcgK",titleContainer:"subpage_titleContainer__mEav5",richTextContainer:"subpage_richTextContainer__FLZGB",newsMetadata:"subpage_newsMetadata__gpJT0"}}},function(e){e.O(0,[976,627,481,462,774,888,179],function(){return e(e.s=2815)}),_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.