PageSourceSearch

https://santorini-gatsby-prismic.netlify.app/component---src-templates-article-page-js-5da67d7201d3d165c6c6.js

js santorini-gatsby-prismic.netlify.app collected 2026-10-03 11:22:18 UTC 27,525 bytes, 2 lines download raw bytes

1(self.webpackChunksantorini_gatsby=self.webpackChunksantorini_gatsby||[]).push([[2317,4642],{4710:function(e,t,n){"use strict";var a=n(4160),l=n(7294);const o=e=>{let{data:t}=e;return l.createElement("div",{className:"breadcrumbs"},null==t?void 0:t.map((e=>{var t,n,o;return l.createElement(a.Link,{key:null==e||null===(t=e.link_text)||void 0===t?void 0:t.text,to:null===(n=e.link)||void 0===n?void 0:n.url,className:"breadcrumbs-item "+(e.disabled_link?"disabled":"")},null==e||null===(o=e.link_text)||void 0===o?void 0:o.text)})))};t.Z=(0,l.memo)(o)},6970:function(e,t,n){"use strict";var a=n(7294),l=n(8032);t.Z=e=>{let{image:t,alt:n,className:o,objectFit:r,noLazy:i}=e;return t?a.createElement(l.G,{image:t,alt:n,className:o,objectFit:r,loading:i?"eager":"lazy"}):null}},7546:function(e,t,n){"use strict";var a=n(7294),l=n(6981);const o=e=>{let{error:t,label:n,type:o="text",value:r,placeholder:i,className:c,required:s,onChange:u}=e;const d=t?"error":"";return a.createElement("div",{className:`input-block ${d}`},a.createElement("div",{className:"input-info"},n?a.createElement("label",{className:`label ${d}`},n,s&&a.createElement("span",{className:"asteriks"},"*")):null,t?a.createElement("div",{className:"error"},t):null),a.createElement("div",{className:"input-box"},a.createElement("input",{type:o,value:r,placeholder:i,className:`input ${c} ${d}`,required:s,onInput:e=>u(e.target.value)}),t?a.createElement(l.k,{className:"error-icon",color:"#DF2A50"}):null))};t.Z=(0,a.memo)(o)},832:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(7294),l=n(5785);const o="...",r=(e,t)=>{let n=t-e+1;return Array.from({length:n},((t,n)=>n+e))};var i=n(8668);var c=e=>{const{onPageChange:t,totalCount:n,siblingCount:c=1,currentPage:s,pageSize:u,className:d}=e,m=(e=>{let{totalCount:t,pageSize:n,siblingCount:i=1,currentPage:c}=e;return(0,a.useMemo)((()=>{const e=Math.ceil(t/n);if(i+5>=e)return r(1,e);const a=Math.max(c-i,1),s=Math.min(c+i,e),u=a>2,d=s<e-2,m=1,p=e;if(!u&&d){let t=r(1,3+2*i);return[].concat((0,l.Z)(t),[o,e])}if(u&&!d){let t=r(e-(3+2*i)+1,e);return[m,o].concat((0,l.Z)(t))}if(u&&d){let e=r(a,s);return[m,o].concat((0,l.Z)(e),[o,p])}}),[t,n,i,c])})({currentPage:s,totalCount:n,siblingCount:c,pageSize:u});if(0===s||m.length<2)return null;let p=m[m.length-1];return a.createElement("ul",{className:`pagination-container ${d}`},a.createElement("li",{className:"pagination-item more-button more-button-dark "+(1===s?"disabled":""),onClick:()=>{t(s-1)}},a.createElement("div",{className:"more-button-circle"},a.createElement(i.E,null))),m.map((e=>e===o?a.createElement("li",{key:e,className:"pagination-item dots"},"…"):a.createElement("li",{key:e,className:"pagination-item "+(e===s?"selected":""),onClick:()=>t(e)},e))),a.createElement("li",{className:"pagination-item more-button more-button-dark "+(s===p?"disabled":""),onClick:()=>{t(s+1)}},a.createElement("div",{className:"more-button-circle"},a.createElement(i.E,null))))}},2428:function(e,t,n){"use strict";var a=n(7294),l=n(3848),o=n(6970),r=n(9114);const i=e=>{var t,n,i,c,s,u,d;let{data:m,className:p}=e;const v=m.data,f=null===(t=(0,r.n)(null==v?void 0:v.article_categories))||void 0===t?void 0:t.article_category,h=null==v||null===(n=v.article_author)||void 0===n||null===(i=n.document)||void 0===i?void 0:i.data;return a.createElement("div",{className:`${p} post-preview`},a.createElement(o.Z,{image:null==v||null===(c=v.image)||void 0===c?void 0:c.gatsbyImageData,alt:null==v||null===(s=v.image)||void 0===s?void 0:s.alt,className:"post-image"}),f&&a.createElement(l.Z,{text:f,type:f}),a.createElement("p",{className:"post-title"},null==v?void 0:v.title.text),a.createElement("div",{className:"post-info"},a.createElement("div",{className:"author-box"},a.createElement(o.Z,{image:null==h||null===(u=h.photo)||void 0===u?void 0:u.gatsbyImageData,alt:null==h||null===(d=h.photo)||void 0===d?void 0:d.alt,className:"author-image"}),a.createElement("p",{className:"p-14 author-name"},null==h?void 0:h.name)),a.createElement("span",{className:"post-date"},null==v?void 0:v.publish_date)))};t.Z=(0,a.memo)(i)},3848:function(e,t,n){"use strict";var a=n(7294),l=n(5055);const o=e=>{let{text:t,type:n}=e;
1return a.createElement("div",{className:`tag tag-${(0,l.Fk)(n)}`},t)};t.Z=(0,a.memo)(o)},8550:function(e,t,n){"use strict";var a=n(4160),l=n(7294),o=n(7479),r=n(8002),i=n(832),c=n(2428);const s=e=>{let{data:t,currentPage:n,setCurrentPage:s}=e;const{isMatching:u,calculated:d}=(0,o.a)("(max-width:610px)",!0),m=u&&d?5:9;return l.createElement(l.Fragment,null,l.createElement("div",{className:"articles-list"},null==t?void 0:t.map((e=>l.createElement(a.Link,{to:(0,r.k)(e),key:e},l.createElement(c.Z,{data:e}))))),l.createElement(i.Z,{className:"pagination-bar",currentPage:n,totalCount:(null==t?void 0:t.length)||0,pageSize:m,onPageChange:e=>s(e)}))};t.Z=(0,l.memo)(s)},6878:function(e,t,n){"use strict";n.d(t,{IX:function(){return r},pE:function(){return i}});var a=n(5785),l=n(7294),o=n(8471);const r="title",i="header_medium",c=e=>{var t;let{context:n,data:i}=e;const{0:c,1:s}=(0,l.useState)([]),u=(e,t)=>{if(window.innerWidth>768||t){const t=document.getElementById((0,o.r)(e)),n=140;window.scrollTo({top:t.offsetTop-n,behavior:"smooth"})}else{const t=c.includes(e)?c.filter((t=>t!==e)):[].concat((0,a.Z)(c),[e]);s(t)}};return l.createElement("div",{className:"blog-dashboard"},l.createElement("div",{className:"blog-dashboard-title p p-26 "+(n.showMobileBlock?"open":""),onClick:n.toggleMobileBlock},null==i||null===(t=i.title2)||void 0===t?void 0:t.text),l.createElement("div",{className:"blog-dashboard-list block "+(n.showMobileBlock?"open":"")},null==n?void 0:n.data.map((e=>{if(e.slice_type===r){var t,n;const a=null==e||null===(t=e.primary)||void 0===t?void 0:t.title1.text;return l.createElement("div",{className:`title p p-20 ${c.includes(a)&&"open"}`,key:a,onClick:()=>u(a)},null==e||null===(n=e.primary)||void 0===n?void 0:n.title1.text)}{var a,o;const t=null==e||null===(a=e.primary)||void 0===a?void 0:a.header_medium.text;return l.createElement("div",{className:"subtitle p p-16",key:t,onClick:()=>u(t,!0)},null==e||null===(o=e.primary)||void 0===o?void 0:o.header_medium.text)}}))))};t.ZP=(0,l.memo)(c)},7698:function(e,t,n){"use strict";var a=n(4160),l=n(7294);const o=e=>{let{children:t,to:n,data:o,className:r}=e;const{type:i,article:c}=o;return l.createElement(a.Link,{to:n,state:{type:i,article:c},className:r},t)};t.Z=(0,l.memo)(o)},7479:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var a=n(7294);const l=(e,t)=>{const{0:n,1:l}=(0,a.useState)(t),{0:o,1:r}=(0,a.useState)(!1);return(0,a.useEffect)((()=>{const t=window.matchMedia(e);l(t.matches),r(!0);const n=e=>{l(e.matches)};return t.addEventListener?t.addEventListener("change",n):t.addListener(n),()=>t.removeEventListener?t.removeEventListener("change",n):t.removeListener(n)}),[e]),{isMatching:n,calculated:o}}},6981:function(e,t,n){"use strict";n.d(t,{k:function(){return l}});var a=n(7294);const l=e=>{let{color:t,className:n}=e;return a.createElement("svg",{className:n,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M12 11C11.7348 11 11.4804 11.1054 11.2929 11.2929C11.1054 11.4804 11 11.7348 11 12V16C11 16.2652 11.1054 16.5196 11.2929 16.7071C11.4804 16.8946 11.7348 17 12 17C12.2652 17 12.5196 16.8946 12.7071 16.7071C12.8946 16.5196 13 16.2652 13 16V12C13 11.7348 12.8946 11.4804 12.7071 11.2929C12.5196 11.1054 12.2652 11 12 11ZM12.38 7.08C12.1365 6.97998 11.8635 6.97998 11.62 7.08C11.4973 7.12759 11.3851 7.19896 11.29 7.29C11.2017 7.3872 11.1306 7.49882 11.08 7.62C11.024 7.73868 10.9966 7.86882 11 8C10.9992 8.13161 11.0245 8.26207 11.0742 8.38391C11.124 8.50574 11.1973 8.61656 11.29 8.71C11.3872 8.79833 11.4988 8.86936 11.62 8.92C11.7715 8.98224 11.936 9.00632 12.099 8.99011C12.2619 8.97391 12.4184 8.91792 12.5547 8.82707C12.691 8.73622 12.8029 8.61328 12.8805 8.46907C12.9582 8.32486 12.9992 8.16378 13 8C12.9963 7.73523 12.8927 7.48163 12.71 7.29C12.6149 7.19896 12.5028 7.12759 12.38 7.08ZM12 2C10.0222 2 8.08879 2.58649 6.4443 3.6853C4.79981 4.78412 3.51809 6.3459 2.76121 8.17317C2.00433 10.
10004 1.8063 12.0111 2.19215 13.9509C2.578 15.8907 3.53041 17.6725 4.92894 19.0711C6.32746 20.4696 8.10929 21.422 10.0491 21.8079C11.9889 22.1937 13.9996 21.9957 15.8268 21.2388C17.6541 20.4819 19.2159 19.2002 20.3147 17.5557C21.4135 15.9112 22 13.9778 22 12C22 10.6868 21.7413 9.38642 21.2388 8.17317C20.7363 6.95991 19.9997 5.85752 19.0711 4.92893C18.1425 4.00035 17.0401 3.26375 15.8268 2.7612C14.6136 2.25866 13.3132 2 12 2ZM12 20C10.4178 20 8.87104 19.5308 7.55544 18.6518C6.23985 17.7727 5.21447 16.5233 4.60897 15.0615C4.00347 13.5997 3.84504 11.9911 4.15372 10.4393C4.4624 8.88743 5.22433 7.46197 6.34315 6.34315C7.46197 5.22433 8.88743 4.4624 10.4393 4.15372C11.9911 3.84504 13.5997 4.00346 15.0615 4.60896C16.5233 5.21447 17.7727 6.23984 18.6518 7.55544C19.5308 8.87103 20 10.4177 20 12C20 14.1217 19.1572 16.1566 17.6569 17.6569C16.1566 19.1571 14.1217 20 12 20Z",fill:t}))}},4642:function(e,t,n){"use strict";n.r(t),n.d(t,{QUERY_KEY_Q:function(){return f},QUERY_KEY_TYPE:function(){return v},default:function(){return h}});var a=n(7294),l=n(7479),o=n(8550);const r=e=>{let{category:t,data:n,type:r}=e;const{0:i,1:c}=(0,a.useState)(null),{0:s,1:u}=(0,a.useState)(1),{isMatching:d,calculated:m}=(0,l.a)("(max-width:610px)",!0),p=d&&m?5:9;(0,a.useEffect)((()=>{const e=null==n?void 0:n.filter((e=>e.data.type===r));c(e)}),[]);const v=(0,a.useMemo)((()=>{const e=(s-1)*p,t=e+p;return null==i?void 0:i.slice(e,t)}),[s,i]),f=(0,a.useCallback)((e=>{u(e)}),[]);return a.createElement(o.Z,{data:null==v?void 0:v.filter((e=>!t||e.data.article_categories.some((e=>e.article_category===t)))),currentPage:s,setCurrentPage:f})};var i=(0,a.memo)(r),c=n(4160);const s=e=>{let{className:t}=e;return a.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M21.7104 20.2899L18.0004 16.6099C19.4405 14.8143 20.1379 12.5352 19.9492 10.2412C19.7605 7.94721 18.7001 5.81269 16.9859 4.27655C15.2718 2.74041 13.0342 1.91941 10.7333 1.98237C8.43243 2.04534 6.24311 2.98747 4.61553 4.61505C2.98795 6.24263 2.04582 8.43194 1.98286 10.7328C1.9199 13.0337 2.7409 15.2713 4.27704 16.9854C5.81318 18.6996 7.94769 19.76 10.2417 19.9487C12.5357 20.1374 14.8148 19.44 16.6104 17.9999L20.2904 21.6799C20.3834 21.7736 20.494 21.848 20.6158 21.8988C20.7377 21.9496 20.8684 21.9757 21.0004 21.9757C21.1324 21.9757 21.2631 21.9496 21.385 21.8988C21.5068 21.848 21.6174 21.7736 21.7104 21.6799C21.8906 21.4934 21.9914 21.2442 21.9914 20.9849C21.9914 20.7256 21.8906 20.4764 21.7104 20.2899ZM11.0004 17.9999C9.61592 17.9999 8.26255 17.5894 7.1114 16.8202C5.96026 16.051 5.06305 14.9578 4.53324 13.6787C4.00342 12.3996 3.8648 10.9921 4.1349 9.63427C4.40499 8.27641 5.07168 7.02912 6.05065 6.05016C7.02961 5.07119 8.27689 4.4045 9.63476 4.13441C10.9926 3.86431 12.4001 4.00293 13.6792 4.53275C14.9583 5.06256 16.0515 5.95977 16.8207 7.11091C17.5899 8.26206 18.0004 9.61544 18.0004 10.9999C18.0004 12.8564 17.2629 14.6369 15.9501 15.9497C14.6374 17.2624 12.8569 17.9999 11.0004 17.9999Z",fill:"#9AA5B8"}))},u=e=>{let{children:t,type:n,value:l}=e;return a.createElement("form",{className:"with-input-search",onSubmit:e=>{e.preventDefault(),(0,c.navigate)(`/${n}/search/?${f}=${l}`)}},a.createElement(s,null),t)};var d=(0,a.memo)(u),m=n(7546),p=n(3848);const v="type",f="q";var h=e=>{var t,n;let{slice:l,context:o}=e;const{primary:r,items:c}=l,{0:s,1:u}=(0,a.useState)(""),{0:h,1:b}=(0,a.useState)(""),g=(0,a.useCallback)((e=>u(e)),[]),E=(0,a.useCallback)((e=>{var t,n,a;b(e);const l=new URL(null===(t=window)||void 0===t?void 0:t.location);l.searchParams.set(v,encodeURIComponent(e)),null===(n=window)||void 0===n||null===(a=n.history)||void 0===a||a.pushState(null,"",l.toString())}),[]);return(0,a.useEffect)((()=>{var e,t;const n=new URLSearchParams(null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.search).get(v);n&&b(decodeURIComponent(n))}),[]),(0,a.useEffect)((()=>{var e,t;const n=new URLSearchParams(null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.search).get(f);u(n||"")}),[]),a.createElement("section",{className:`section recent-articles-section ${null==r?void 0:r.page}`},a.createElement("div",{className:"container"},(null==r||null===(t=r.title1)||void 0===t?void 0:t.text)&&a.createElement("h3",{className:"title"},null==r||null===(n=r.title1)||void 0===n?void 0:n.text),a.createElement("div",{className:"search-box"},a.createElement(d,{type:o.type,value:s},a.createElement(m.Z,{type:"search",placeholder:null==r?void 0:r.input_placeholder.text,value:s,onChange:g})),a.createElement("div",{className:"divider"}),a.createElement("div",{className:"tags-box"},null==c?void 0:c.map((e=>{const t=null==e?void 0:e.article_category;return a.createElement("button",{className:"tag-button",key:e,onClick:()=>E(t)},a.createElement(p.Z,{text:t,type:t}))})))),a.createElement(i,{category:h,data:o.relatedArticlesData,type:o.type})))}},1875:function(e,t,n){"use strict";n.r(t),n.d(t,{Head:function(){return M},default:function(){return O}});var a=n(7294),l=n(9656),o=n(8439),r=n(1808),i=n(2236),c=n(6102),s=n(4160),u=n(4642),d=n(7698),m=n(3848),p=n(6970),v=n(4710),f=n(8002),h=n(9114);const b=a.lazy((()=>n.e(3966).then(n.bind(n,3966)))),g=e=>{var t,n,l,o;let{breadcrumbs:r,categories:i,title:c,description:g,video:E,image:y,publish_date:C,author:w,pageContent:N,type:k}=e;const _=null===(t=(0,h.n)(i))||void 0===t?void 0:t.article_category,x=null==E?void 0:E.url,S=null==w||null===(n=w.document)||void 0===n?void 0:n.data;return a.createElement("section",{className:"article-header-section"},a.createElement("div",{className:"container"},a.createElement(v.Z,{data:r}),a.createElement("div",{className:"article-header-module"},a.createElement("div",{className:"article-head-info"},a.createElement("div",null,a.createElement(s.Link,{to:`/${k}/search/?${u.QUERY_KEY_TYPE}=${encodeURIComponent(_)}`},a.createElement(m.Z,{text:_,type:_})),a.createElement("h4",{className:"title"},c.text),a.createElement("p",{className:"p p-18"},g)),a.createElement(d.Z,{to:(0,f.k)(null==w?void 0:w.document),data:{type:N.data.article_overview,article:N},className:"author"},a.createElement("div",{className:"author-box"},a.createElement(p.Z,{image:null==S||null===(l=S.photo)||void 0===l?void 0:l.gatsbyImageData,alt:null==S||null===(o=S.photo)||void 0===o?void 0:o.alt,className:"author-image"}),a.createElement("div",{className:"author-info"},a.createElement("p",{className:"author-name p-14"},null==S?void 0:S.name),a.createElement("p",{className:"date"},C))))),a.createElement(a.Suspense,{fallback:null},a.createElement(b,{videoUrl:x,poster:null==y?void 0:y.url,isFluid:!1,height:420})))))};var E=(0,a.memo)(g),y=n(623),C=n(7552),w=n(8437),N=n(7479);const k=e=>{let{navigationData:t,author:n,data:l,tags:r,share:s,posts:u,slices:d,type:m}=e;const{isMatching:p,calculated:v}=(0,N.a)("(max-width: 768px)",!0),f=(0,a.useRef)(null),h=(0,a.useRef)(null),{0:b,1:g}=(0,a.useState)(0),{0:E,1:y}=(0,a.useState)(!1),k=(0,a.useCallback)((()=>{y(!E)}),[E]);(0,a.useEffect)((()=>{const e=setInterval((()=>{var e,t;g((null==f||null===(e=f.current)||void 0===e?void 0:e.offsetHeight)+(null==h||null===(t=h.current)||void 0===t?void 0:t.offsetHeight))}),100);0!==b&&clearInterval(e)}),[f,h,d]);const _=(0,C.gW)(d,w.SLICES.articleSideInfoSection),x=(0,C.gW)(d,w.SLICES.articleSidePostsSection),S=(0,C.gW)(d,w.SLICES.articleSideNavigationSection),P=()=>a.createElement(c.Z,{context:{data:t,toggleMobileBlock:k,showMobileBlock:E},slices:S?[S]:[],components:i.w});return a.createElement("div",{className:"article-aside-block"},a.createElement("div",{ref:f,className:`block ${E?"open":""} info`},a.createElement(c.Z,{context:{author:n,tags:r,share:s,data:l,type:m}
1,slices:_?[_]:[],components:i.w})),a.createElement("div",{ref:h,className:`block ${E?"open":""} posts-el`},a.createElement(c.Z,{context:{data:u},slices:x?[x]:[],components:i.w})),p&&v?P():a.createElement(o.Le,{disableCompensation:!0,topOffset:b},(e=>{let{style:t,isSticky:n}=e;return a.createElement("div",{style:t,className:n?"sticky":""},P())})))};var _=(0,a.memo)(k);const x=e=>{var t,n;let{author:l,pageContent:o}=e;const r=l.document.data;return a.createElement("section",{className:"writted-by"},a.createElement("p",{className:"p p-26"},"Written by"),a.createElement(d.Z,{to:(0,f.k)(null==l?void 0:l.document),data:{type:o.data.article_overview,article:o}},a.createElement("div",{className:"author-box"},a.createElement(p.Z,{image:null==r||null===(t=r.photo)||void 0===t?void 0:t.gatsbyImageData,alt:null==l||null===(n=l.photo)||void 0===n?void 0:n.alt,className:"author-image"}),a.createElement("div",null,a.createElement("p",{className:"author-name p-18"},null==r?void 0:r.name),a.createElement("p",{className:"author-position p p-14"},null==r?void 0:r.position),a.createElement("ul",{className:"socials"},null==r?void 0:r.socials.map((e=>{var t,n,l,o,r;return a.createElement("li",{key:e,className:"socials-item"},a.createElement(s.Link,{to:null==e||null===(t=e.social_link)||void 0===t?void 0:t.url,target:null==e||null===(n=e.social_link)||void 0===n?void 0:n.target,"aria-label":(null==e||null===(l=e.social_icon)||void 0===l?void 0:l.alt)||"Social Image",className:"social-link"},a.createElement(p.Z,{image:null==e||null===(o=e.social_icon)||void 0===o?void 0:o.gatsbyImageData,alt:null==e||null===(r=e.social_icon)||void 0===r?void 0:r.alt,className:"mobile-thumbnail"})))})))))))};var S=(0,a.memo)(x),P=n(6878),Z=n(4468);const M=e=>{let{data:t}=e;const{page:n,pageContent:l}=(0,y.c)(t,"prismicArticlePage");return a.createElement(Z.H,{meta:{title:null==n?void 0:n.meta_title,description:null==n?void 0:n.meta_description,image:null==n?void 0:n.meta_image,type:null==n?void 0:n.type,pageContent:l}})};var O=(0,l.O)((e=>{var t;const{data:n}=e;if(!n)return null;const l=n.headerArticles.nodes,{type:s}=n.prismicArticlePage.data,{topLine:u,footer:d,header:m,page:p,activeDoc:v,topMenu:f,pageContent:h}=(0,y.c)(n,"prismicArticlePage"),b=(0,C.yv)(p.body,[P.IX,P.pE]),g=null==p?void 0:p.article_author,w=null===(t=e.data.allPrismicArticlePage)||void 0===t?void 0:t.nodes;return a.createElement(r.A,{topMenu:f.data,footer:d.data,topLine:u.data,header:{nav:m.data.nav,articles:m.data.articles},activeDocMeta:v,headerArticlesData:l},a.createElement(E,{breadcrumbs:null==p?void 0:p.breadcrumbs,title:null==p?void 0:p.title,description:null==p?void 0:p.short_description,author:g,categories:null==p?void 0:p.article_categories,publish_date:null==p?void 0:p.publish_date,video:null==p?void 0:p.video,image:null==p?void 0:p.image,pageContent:h,type:s}),a.createElement("div",{className:"container"},a.createElement("section",{className:"article-section"},a.createElement("div",{className:"article-main-content"},a.createElement(c.Z,{slices:p.body,components:i.w})),a.createElement(o.L9,null,a.createElement("div",{className:"article-aside"},a.createElement(_,{slices:p.body2,navigationData:b,author:{author:g},data:{page:p,data:n},tags:{tags:p.article_categories},share:{post:p},posts:{posts:w},type:s})))),a.createElement(S,{author:g,pageContent:h})),a.createElement(c.Z,{context:{latestPosts:w},slices:p.body1,components:i.w}))}))},8471:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});const a=e=>e.split(" ").join("_")},9114:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});const a=e=>null==e?void 0:e.filter((e=>void 0!==typeof e)).shift()},75:function(e){(function(){var t,n,a,l,o,r;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-o)/1e6},n=process.hrtime,l=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),r=1e9*process.uptime(),o=l-r):Date.now?(e.exports=function(){return Date.now()-a},a=Date.now()):(e.exports=function(){return(new Date).getTime()-a},a=(new Date).getTime())}).call(this)},4087:function(e,t,n){for(var a=n(75),l="undefined"==typeof window?n.g:window,o=["moz","webkit"],r="AnimationFrame",i=l["request"+r],c=l["cancel"+r]||l["cancelRequest"+r],s=0;!i&&s<o.length;s++)i=l[o[s]+"Request"+r],c=l[o[s]+"Cancel"+r]||l[o[s]+"CancelRequest"+r];if(!i||!c){var u=0,d=0,m=[];i=function(e){if(0===m.length){var t=a(),n=Math.max(0,16.666666666666668-(t-u));u=n+t,setTimeout((function(){var e=m.slice(0);m.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}
1return m.push({handle:++d,callback:e,cancelled:!1}),d},c=function(e){for(var t=0;t<m.length;t++)m[t].handle===e&&(m[t].cancelled=!0)}}e.exports=function(e){return i.call(l,e)},e.exports.cancel=function(){c.apply(l,arguments)},e.exports.polyfill=function(e){e||(e=l),e.requestAnimationFrame=i,e.cancelAnimationFrame=c}},8474:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=n(7294),r=s(o),i=s(n(5697)),c=s(n(4087));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var l=arguments.length,o=Array(l),r=0;r<l;r++)o[r]=arguments[r];return n=a=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),a.events=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],a.subscribers=[],a.rafHandle=null,a.subscribe=function(e){a.subscribers=a.subscribers.concat(e)},a.unsubscribe=function(e){a.subscribers=a.subscribers.filter((function(t){return t!==e}))},a.notifySubscribers=function(e){if(!a.framePending){var t=e.currentTarget;a.rafHandle=(0,c.default)((function(){a.framePending=!1;var e=a.node.getBoundingClientRect(),n=e.top,l=e.bottom;a.subscribers.forEach((function(e){return e({distanceFromTop:n,distanceFromBottom:l,eventSource:t===window?document.body:a.node})}))})),a.framePending=!0}},a.getParent=function(){return a.node},u(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"getChildContext",value:function(){return{subscribe:this.subscribe,unsubscribe:this.unsubscribe,getParent:this.getParent}}},{key:"componentDidMount",value:function(){var e=this;this.events.forEach((function(t){return window.addEventListener(t,e.notifySubscribers)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.rafHandle&&(c.default.cancel(this.rafHandle),this.rafHandle=null),this.events.forEach((function(t){return window.removeEventListener(t,e.notifySubscribers)}))}},{key:"render",value:function(){var e=this;return r.default.createElement("div",a({},this.props,{ref:function(t){return e.node=t},onScroll:this.notifySubscribers,onTouchStart:this.notifySubscribers,onTouchMove:this.notifySubscribers,onTouchEnd:this.notifySubscribers}))}}]),t}(o.PureComponent);d.childContextTypes={subscribe:i.default.func,unsubscribe:i.default.func,getParent:i.default.func},t.default=d},8579:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=n(7294),o=c(l),r=c(n(3935)),i=c(n(5697));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var l=arguments.length,o=Array(l),r=0;r<l;r++)o[r]=arguments[r];return n=a=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),a.state={isSticky:!1,wasSticky:!1,style:{}},a.handleContainerEvent=function(e){var t=e.distanceFromTop,n=e.distanceFromBottom,l=e.eventSource,o=a.context.getParent(),r=!1;a.props.relative&&(r=l!==o,t=-(l.scrollTop+l.offsetTop)+a.placeholder.offsetTop);var i=a.placeholder.getBoundingClientRect(),c=a.content.getBoundingClientRect().height,s=n-a.props.bottomOffset-c,u=!!a.state.isSticky,d=r?u:t<=-a.props.topOffset&&n>-a.props.bottomOffset;n=(a.props.relative?o.scrollHeight-o.scrollTop:n)-c;var m=d?{position:"fixed",top:s>0?a.props.relative?o.offsetTop-o.offsetParent.scrollTop:0:s,left:i.left,width:i.width}:{};a.props.disableHardwareAcceleration||(m.transform="translateZ(0)"),a.setState({isSticky:d,wasSticky:u,distanceFromTop:t,distanceFromBottom:n,calculatedHeight:c,style:m})},s(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1(t,e),a(t,[{key:"componentWillMount",value:function(){if(!this.context.subscribe)throw new TypeError("Expected Sticky to be mounted within StickyContainer");this.context.subscribe(this.handleContainerEvent)}},{key:"componentWillUnmount",value:function(){this.context.unsubscribe(this.handleContainerEvent)}},{key:"componentDidUpdate",value:function(){this.placeholder.style.paddingBottom=this.props.disableCompensation?0:(this.state.isSticky?this.state.calculatedHeight:0)+"px"}},{key:"render",value:function(){var e=this,t=o.default.cloneElement(this.props.children({isSticky:this.state.isSticky,wasSticky:this.state.wasSticky,distanceFromTop:this.state.distanceFromTop,distanceFromBottom:this.state.distanceFromBottom,calculatedHeight:this.state.calculatedHeight,style:this.state.style}),{ref:function(t){e.content=r.default.findDOMNode(t)}});return o.default.createElement("div",null,o.default.createElement("div",{ref:function(t){return e.placeholder=t}}),t)}}]),t}(l.Component);u.propTypes={topOffset:i.default.number,bottomOffset:i.default.number,relative:i.default.bool,children:i.default.func.isRequired},u.defaultProps={relative:!1,topOffset:0,bottomOffset:0,disableCompensation:!1,disableHardwareAcceleration:!1},u.contextTypes={subscribe:i.default.func,unsubscribe:i.default.func,getParent:i.default.func},t.default=u},8439:function(e,t,n){"use strict";t.L9=t.Le=void 0;var a=o(n(8579)),l=o(n(8474));function o(e){return e&&e.__esModule?e:{default:e}}t.Le=a.default,t.L9=l.default,a.default}}]);
2//# sourceMappingURL=component---src-templates-article-page-js-5da67d7201d3d165c6c6.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.