(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[841],{5987:function(e,t,a){"use strict";a.d(t,{J:function(){return r},t:function(){return i}});var s=a(5376),n=a(7206);async function i(e){var t=e;"all_book_reviews"==t&&(t="books"),"my_philanthropy"==t&&(t="philanthropy"),"all_book_reviews"==t&&(t="books"),"all_book_reviews"==t&&(t="books"),"all_book_reviews"==t&&(t="books");let a=(0,n.B)()?s.T2:s.KH,i='query MyQuery {\n  article_All(\n    limit: 1000\n    where: {_pageTaxonomySet: {gnTaxonomy: {containsAny: "'.concat(t,'"}}}\n  ) {\n    totalCount\n  }\n}'),r={method:"GET",headers:{"Content-Type":"application/json",Authorization:"bearer "+s.IF}},o=encodeURIComponent(i),l=await fetch(a+"/?query="+o,r),c=await l.json();return c&&c.data.article_All?c.data.article_All.totalCount:0}async function r(e){let t=((0,n.B)(),s.T2),a="query MyQuery {\n  article_All(limit: 50, offset: ".concat(e,", order: {date: desc}) {\n    items {\n      _system_ {\n        codename\n      }\n    }\n  }\n}"),i={method:"GET",headers:{"Content-Type":"application/json",Authorization:"bearer "+s.IF}},r=encodeURIComponent(a),o=await fetch(t+"/?query="+r,i),l=await o.json();return l&&l||"0"}},4422:function(e,t,a){"use strict";function s(e,t){for(var a=0;a<t.length;a++)if(t[a]==e)return a;return -1}function n(e,t){for(var a=0;a<e.length;a++)if(s(e[a].toLowerCase(),t)>-1)return a;return -1}a.d(t,{O:function(){return n},d:function(){return s}})},3462:function(e,t,a){"use strict";a.d(t,{kY:function(){return i},r1:function(){return r}}),a(957);var s=a(1590),n=a(4901);function i(e,t){let a=e+"_"+t;var i=!1;{let r=document.getElementById(a);if(null===r)return null;let o=new IntersectionObserver(e=>{e.forEach(e=>{if(e.intersectionRatio>.005&&"stack_spacertop"!=e.target.id){let a=(0,n.eW)(t);(0,s.dh)(a,!1),window.scrollY>10&&(i=!0)}})},{root:document.window,rootMargin:"-49% 0px -49% 0px",threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]});return o.observe(r),o}}function r(e,t){let a=e+"_"+t;var i=!1;{let r=document.getElementById(a);if(null===r)return null;let o=new IntersectionObserver(e=>{e.forEach(e=>{if(e.intersectionRatio>1e-4){let a=(0,n.eW)(t),r=document.getElementById("articlesHolder");r.scrollTop>10&&(i=!0),i&&(0,s.dh)(a)}})},{root:document.window,rootMargin:"-49% 0px -49% 0px",threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]});return o.observe(r),o}}},1959:function(e,t,a){"use strict";a.d(t,{C4:function(){return c},CF:function(){return o},UW:function(){return m},fp:function(){return g},hU:function(){return C},li:function(){return i},qR:function(){return x},vs:function(){return h},w:function(){return f}});var s=a(5376);async function n(e){try{let t=await fetch(s.Hw+"/comments/"+e+".json?date="+JSON.stringify(new Date),{method:"GET"});t.ok||console.log("getArticleComments: data error "+t.statusText);let a=await t.json();return a}catch(n){return""}}async function i(e){if(""!=e){let t=await n(e);if(t)return t}return""}async function r(){let e=await fetch(s.Hw+"/settings/master.json?date="+JSON.stringify(new Date),{method:"GET"});e.ok||console.log("getArticleComments Master: data error "+e.statusText);let t=await e.json();return t}async function o(){let e=await r();if(e)return e}async function l(e,t){let a=await fetch(s.Hw+"/updates/"+e+"_"+t+".txt?date="+JSON.stringify(new Date),{method:"GET"});if(!a.ok)return"";let n=await a.json();return n}async function c(e,t){let a=await l(e,t);if(a)return a}async function d(e,t){let a=await fetch(s.Hw+"/previous/"+e+"/"+t+".txt?date="+JSON.stringify(new Date),{method:"GET"});if(!a.ok)return"";let n=await a.json();return n}async function m(e,t){let a=await d(e,t);if(a)return a}async function u(e){let t=await fetch(s.Hw+"/moderate/"+e+".json",{method:"GET"});if(!t.ok)return console.log("getArticleComments getUserOffOrNewAPIRes: data error "+t.statusText),"";let a=await t.json();return a}async function h(e){let t=await u(e);if(t)return t}async function _(e){let t=await fetch(s.Hw+"/users/"+e+".json",{method:"GET"});if(!t.ok)return console.log("getArticleComments getSingleUserAPIRes: data error "+t.statusText),"";let a=await t.json();return a}async function g(e){let t=await _(e);if(t)return t}async function p(e){let t=await fetch(s.cB+'/api/QueryTags?container=moderate&query="state"=\''+e+"'",{method:"GET"});t.ok||console.log("getArticleComments ModerateStateAPIRes: data error "+t.statusText);let a=await t.json();return a.result}async function x(e){let t=await p(e);if(t)return t}async function v(e){var t="";let a=new Headers;a.append("Content-Type","application/json"),a.append("Authorization","Bearer "+localStorage.getItem("accessToken"));let n=await fetch(s.cB+"/api/moderate",{method:"POST",headers:a,body:JSON.stringify(e)});return await n.json(),t}async function C(e){let t=await v(e);if(t)return t}async function b(e){let t=new Headers;t.append("Content-Type","application/json"),t.append("Authorization","Bearer "+localStorage.getItem("accessToken"));let a=await fetch(s.cB+"/api/comment",{method:"POST",headers:t,body:JSON.stringify(e)}),n=await a.json();return n}async function f(e){let t=await b(e);if(t)return t}},9868:function(e,t,a){"use strict";function s(e){let t=function(e,t,a,s,n){return{ratio:e,width:t,height:a,poster:s,publicid:n}};if("[]"==e){let a=t(0,0,0,"","");return a}let s=JSON.parse(e);if(s){let n=s[0];return n.ratio=n.width/n.height,n.poster=n.url.replace("upload/","upload/so_4/").replace("mp4","jpg").replace("mov","jpg"),n}{let i=t(0,0,0,"","");return i}}a.d(t,{Q:function(){return s}})},5004:function(e,t,a){"use strict";var s=a(5893),n=a(7294),i=a(1590),r=a(4901);function o(e){let t=(0,n.useRef)(),[a,o]=(0,n.useState)("");var l=Number(e.width),c=Number(e.height);window.innerWidth;var d=l/c,m=Math.round(l/c*10),u=(0,i.uL)(l,c);m>10?(e.type,l=l>1023?1308:l>600?1024:350):m<10&&(e.type,l=394),c=Math.round(l/d);var h=e.src;let _=h,g="https://videos.gatesnotes.com/video/upload/w_"+l+"/q_auto/g_auto/ar_"+u+"/c_fill/v"+e.version+"/"+_+".mp4";var p="https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/62bd3dfa-ad15-471e-9ace-a0524ad1c75e/Fallback-Image-16.9.jpg?w=1308&fit=clip&fm=jpg&q=75";e.hasVTT&&(p="https://videos.gatesnotes.com/raw/upload/VTT/"+_+".vtt");var x="";x=e.hasPoster?"https://videos.gatesnotes.com/image/upload/c_scale,w_"+l+",ar_"+u+"/q_auto/video/"+_+".jpg":d>1?"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/62bd3dfa-ad15-471e-9ace-a0524ad1c75e/Fallback-Image-16.9.jpg":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/f51c6315-b929-47ee-bcdf-30d613164ea7/Fallback-Image-9.16.jpg";let v=(0,r.ql)(_);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{className:"CldVideoPosterFrame",width:l,height:c,src:x,alt:"CldVideoPosterFrame"}),(0,s.jsxs)("video",{id:v,ref:t,className:"CldVid "+a,onTimeUpdate:e=>(0,i.qB)(e,v),onProgress:e=>(0,i.qB)(e,v),width:e.width,preload:"metadata",crossOrigin:"anonymous",muted:!0,controls:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:g,type:"video/mp4"}),(0,s.jsx)("track",{src:p,kind:"subtitles",srcLang:"en",label:"English",default:!0})]})]})}t.Z=o},3708:function(e,t){"use strict";var a;a=0,function(e){function t(){return!0}function a(){return h||t()&&(h=window.gsap)&&h.registerPlugin&&h}function s(e){return Math.round(1e4*e)/1e4}function n(e){return parseFloat(e)||0}function i(e,t){var a=n(e);return~e.indexOf("%")?a/100*t:a}function r(e,t){return n(e.getAttribute(t))}function o(e,t,a,s,i,r){return S(Math.pow((n(a)-n(e))*i,2)+Math.pow((n(s)-n(t))*r,2))}function l(e){return console.warn(e)}function c(e){return"non-scaling-stroke"===e.getAttribute("vector-effect")}function d(e){if(!(e=_(e)[0]))return 0;var t,a,n,i,d,m,u,h=e.tagName.toLowerCase(),g=e.style,p=1,x=1;c(e)&&(p=S((x=e.getScreenCTM()).a*x.a+x.b*x.b),x=S(x.d*x.d+x.c*x.c));try{a=e.getBBox()}catch(C){l("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var b=a||{x:0,y:0,width:0,height:0},T=b.x,N=b.y,E=b.width,k=b.height;if(a&&(E||k)||!I[h]||(E=r(e,I[h][0]),k=r(e,I[h][1]),"rect"!==h&&"line"!==h&&(E*=2,k*=2),"line"===h&&(T=r(e,"x1"),N=r(e,"y1"),E=Math.abs(E-T),k=Math.abs(k-N))),"path"===h)i=g.strokeDasharray,g.strokeDasharray="none",t=e.getTotalLength()||0,s(p)!==s(x)&&!v&&(v=1)&&l("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),t*=(p+x)/2,g.strokeDasharray=i;else if("rect"===h)t=2*E*p+2*k*x;else if("line"===h)t=o(T,N,T+E,N+k,p,x);else if("polyline"===h||"polygon"===h)for(n=e.getAttribute("points").match(f)||[],"polygon"===h&&n.push(n[0],n[1]),t=0,d=2;d<n.length;d+=2)t+=o(n[d-2],n[d-1],n[d],n[d+1],p,x)||0;else"circle"!==h&&"ellipse"!==h||(t=Math.PI*(3*((m=E/2*p)+(u=k/2*x))-S((3*m+u)*(m+3*u))));return t||0}function m(e,t){if(!(e=_(e)[0]))return[0,0];t=t||d(e)+1;var a=g.getComputedStyle(e),s=a.strokeDasharray||"",i=n(a.strokeDashoffset),r=s.indexOf(",");return r<0&&(r=s.indexOf(" ")),t<(s=r<0?t:n(s.substr(0,r)))&&(s=t),[-i||0,s-i||0]}function u(){t()&&(g=window,x=h=a(),_=h.utils.toArray,C=h.core.getStyleSaver,b=h.core.reverting||function(){},p=-1!==((g.navigator||{}).userAgent||"").indexOf("Edge"))}var h,_,g,p,x,v,C,b,f=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,I={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},S=Math.sqrt,T={version:"3.12.2",name:"drawSVG",register:function(e){h=e,u()},init:function(e,t,a){if(!e.getBBox)return!1;x||u();var r,o,l,h,_,v,b,f,I,S=d(e);return this.styles=C&&C(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=a,this._style=e.style,this._target=e,t+""=="true"?t="0 100%":t?-1===(t+"").indexOf(" ")&&(t="0 "+t):t="0 0",r=t,o=S,l=(b=m(e,S))[0],_=(v=r.indexOf(" "))<0?(h=void 0!==l?l+"":r,r):(h=r.substr(0,v),r.substr(v+1)),h=i(h,o),f=(_=i(_,o))<h?[_,h]:[h,_],this._length=s(S),this._dash=s(b[1]-b[0]),this._offset=s(-b[0]),this._dashPT=this.add(this,"_dash",this._dash,s(f[1]-f[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,s(-f[0]),0,0,0,0,0,1),p&&(I=g.getComputedStyle(e)).strokeLinecap!==I.strokeLinejoin&&(f=n(I.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",f,f+.01)),this._live=c(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),1},render:function(e,t){if(t.tween._time||!b()){var a,s,n,i,r=t._pt,o=t._style;if(r){for(t._live&&(a=d(t._target))!==t._length&&(s=a/t._length,t._length=a,t._offsetPT&&(t._offsetPT.s*=s,t._offsetPT.c*=s),t._dashPT?(t._dashPT.s*=s,t._dashPT.c*=s):t._dash*=s);r;)r.r(e,r.d),r=r._next;n=t._dash||e&&1!==e&&1e-4||0,a=t._length-n+.1,i=t._offset,n&&i&&n+Math.abs(i%t._length)>t._length-.2&&(i+=i<0?.1:-.1)&&(a+=.1),o.strokeDashoffset=n?i:i+.001,o.strokeDasharray=a<.2?"none":n?n+"px,"+(t._nowrap?999999:a)+"px":"0px, 999999px"}}else t.styles.revert()},getLength:d,getPosition:m};a()&&h.registerPlugin(T),e.DrawSVGPlugin=T,e.default=T,"undefined"==typeof window||window!==e?Object.defineProperty(e,"__esModule",{value:!0}):delete e.default}(t)},2941:function(e,t,a){"use strict";var s=a(5893),n=a(7294),i=a(2121),r=a(4422),o=a(5376),l=a(7206);function c(e){var t=e.className;void 0===e.className&&(t="");var a=e.target;void 0===e.target&&(a="");let c=(0,n.useContext)(i.DN);var d=e.href.toLowerCase();e.preserveCase&&(d=e.href);let m=d.split("/");if(m.length>0){let u=(0,r.O)(m,o.zW);u>=0?(d=l.h+"/"+c.state.SC_section+"/"+c.state.SC_topic+"/"+m[u],m.length>u+1&&(d=d+"/"+m[u+1]),m.length>u+2&&(d=d+"/"+m[u+2])):d.includes("http")||(d=l.h+"/"+d)}return e.preserveCase?(0,s.jsx)("a",{href:d,className:t,target:a,rel:"noopener noreferrer",children:e.children}):(0,s.jsx)("a",{href:d.toLowerCase().replaceAll("_","-"),className:t,target:a,rel:"noopener noreferrer",children:e.children})}t.Z=(0,n.memo)(c)},7858:function(e,t,a){"use strict";a.d(t,{Z:function(){return E}});var s=a(5893),n=a(7294),i=a(9734),r=a(2121),o=a(3150),l=a(6115),c=a(3758),d=a(5675),m=a.n(d),u=a(4020),h=a(1590);function _(e){let t=e=>{(0,h.H5)(e,"stack");let t=document.getElementById("ChapterNavigation");t&&(t.classList.contains("ChapterNavigationOn")?t.classList.remove("ChapterNavigationOn"):t.classList.add("ChapterNavigationOn"))};(0,n.useEffect)(()=>{},[]);var a="";1==e.number&&(a="KChapterNavigationButtonActive");let{data:r}=(0,i.ZP)(e.codename);return r&&"article"==r.system.type?(0,s.jsxs)("div",{className:"KChapterNavigationButton "+a,onClick:()=>t("ChapterHolder"+r.system.codename),children:[(0,s.jsx)("div",{className:"KChapterNavigationButtonNum",children:e.number}),(0,s.jsx)("div",{className:"KChapterNavigationButtonTitle",children:r.elements.menuTitle.value})]}):(0,s.jsx)(s.Fragment,{})}var g=(0,n.memo)(_);let p=e=>{let t=document.getElementById("ChapterNavigation");t&&(t.classList.contains("ChapterNavigationOn")?t.classList.remove("ChapterNavigationOn"):t.classList.add("ChapterNavigationOn"))};function x(e){return e.item.elements.specialArticleType.value.length>0?"Article with chapters"!=e.item.elements.specialArticleType.value[0].name?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)("div",{className:"ChapterNavigationOuter",children:[(0,s.jsx)("div",{className:"ChapterNavigationMobile",onClick:p,children:(0,s.jsx)("div",{className:"ChapterNavigationMobileBase",children:(0,s.jsxs)("div",{className:"ChapterNavigationMobileSubMenu",children:[(0,s.jsxs)("div",{className:"ChapterNavigationMobileSubMenuL",children:[(0,s.jsx)("div",{className:"ChapterNavigationMobileSubMenuLnum",children:"1"}),(0,s.jsx)("div",{className:"ChapterNavigationMobileSubMenuLtitle",children:"Introduction"})]}),(0,s.jsx)("div",{className:"ChapterNavigationMobileSubMenuR",children:(0,s.jsx)("div",{className:"ChapterNavigationMobileSubMenuRArrow",children:(0,s.jsx)(m(),{className:"ChapterNavigationMobileSubMenuRArrowImg",width:24,height:24,src:"/icon_ArrowBack.svg",alt:"icon_Arrow"})})})]})})}),(0,s.jsx)("div",{className:"ChapterNavigation",id:"ChapterNavigation",children:e.item.elements.bodyContent.linkedItemCodenames.map((e,t)=>(0,s.jsx)(g,{codename:e,number:t+1},e))})]}):(0,s.jsx)(s.Fragment,{})}var v=(0,n.memo)(x),C=a(6064),b=a(4901),f=a(2941),I=a(8340),S=a(957);function T(e){var t=new Date,a=Math.floor(t.getTimezoneOffset()/60);t.setHours(t.getHours()+a);let s=new Date(e);var n=(t.getTime()-s.getTime())/1e3;if(n<0)return"... coming soon";if(n<60){var i=Math.floor(n);return 1==i?i+" second ago":i+" seconds ago"}if(n<3600){var i=Math.floor(n/60);return 1==i?i+" minute ago":i+" minutes ago"}if(n<=86400){var i=Math.floor(n/3600);return 1==i?i+" hour ago":i+" hours ago"}if(n<=691200){var i=Math.floor(n/86400);return 1==i?i+" day ago":i+" days ago"}let r={year:"numeric",month:"short",day:"numeric",weekday:"long"};return"on "+s.toLocaleString("en-US",r)}function N(e){let{data:t}=(0,i.ZP)(e.name),a=t;e.section,e.topic,e.name;let d=(0,n.useRef)(null);function _(e){if(e){var t=e.querySelector(".Share-modal");t&&(t.classList.contains("Share-modal-on")?t.classList.remove("Share-modal-on"):t.classList.add("Share-modal-on"));var a=document.querySelector(".overlay-background");a&&(a.classList.contains("overlay-background-on")?a.classList.remove("overlay-background-on"):a.classList.add("overlay-background-on"))}}let g=e=>{let t=e.target;_(t)},p=e=>{(0,I.nd)("share "+e)};var x="",N="";""!=e.section&&(x=e.section.replaceAll("_","-")+"/"),""!=e.topic&&(N=e.topic.replaceAll("_","-")+"/");let E="https://www.gatesnotes.com/"+x+N+e.name.replaceAll("_","-"),k=e=>{e.stopPropagation();let t=e.target,a=document.querySelector(".Share-modal-icons-stroke-sm");t&&(0,h.vQ)(E).then(()=>{(0,I.nd)("share copy link"),null==a||a.classList.add("checkOn"),setTimeout(()=>{null==a||a.classList.remove("checkOn")},3e3)}).catch(e=>{console.error("Failed to copy text: ",e)})},A=e=>{e.stopPropagation();let t=e.target;if(t){let a=t.parentElement.parentElement;_(a)}};(0,n.useEffect)(()=>{(0,h.YB)()});let j=(0,n.useContext)(r.c3);function y(e){null===S.H||void 0===S.H||S.H.trackEvent({name:"comments: open",properties:{artId:e}}),j.setArtGUID(e);let t=document.querySelector(".CommentsHolderContentHeaderTitle");t&&(t.innerHTML=U)}if(!t)return(0,s.jsx)(C.Z,{pageName:e.name});{if("article"!=t.system.type)return(0,s.jsx)(C.Z,{pageName:e.name});var w=!1;t.elements.specialArticleType.value.length>0&&"Article with chapters"==t.elements.specialArticleType.value[0].name&&(w=!0),(0,o.showLocalStorage)();let L=t.elements.bodyContent,O=(0,n.useContext)(r.DN),B={},R={};B.copy="",B.link="/",R.copy="",R.link="/";var D=!0,M=!0;O.state&&""!=O.state.SC_topicCN?(B.copy=(0,b.Z6)(O.state.SC_section),B.link=(0,b.eW)(O.state.SC_section),R.copy=(0,b.Z6)(O.state.SC_topicCN),R.link=(0,b.eW)(O.state.SC_section)+"/"+(0,b.eW)(O.state.SC_topicCN)):t.elements.pageTaxonomySetLocations.value.length>1?(B.copy=t.elements.pageTaxonomySetLocations.value[0],B.link=t.elements.pageTaxonomySetLocations.value[0],R.copy=(0,b.Z6)(t.elements.pageTaxonomySetLocations.value[1]),R.link=(0,b.eW)(t.elements.pageTaxonomySetLocations.value[1])+"/"+(0,b.eW)(t.elements.pageTaxonomySetLocations.value[1])):(D=!1,M=!1,t.elements.pageTaxonomySetLocations.value.length>0&&t.elements.pageTaxonomySetGnTaxonomy.value.length>0&&t.elements.pageTaxonomySetGnTaxonomy.value.forEach(e=>{var a="";"heroes"==e.codename&&(a="Heroes",D=!0,M=!0),"books"==e.codename&&(a="Books",D=!0,M=!0),"meet_bill"==e.codename&&(a="Meet-Bill",D=!0,M=!0),"work"==e.codename&&(a="Work",D=!0,M=!0),""!=a&&(B.copy=a,B.link=a,R.copy=(0,b.Z6)(t.elements.pageTaxonomySetLocations.value[0]),R.link=a+"/"+(0,b.eW)(t.elements.pageTaxonomySetLocations.value[0]))}));var H="",F=!1;t.elements.pageImageSetHeroSet2&&(H=t.elements.pageImageSetHeroSet2.value[0],void 0!=t.elements.pageImageSetHeroSet2.value[0]&&(F=!0));var P="",W=!1;t.elements.pageImageSetHeroSet1&&!F&&void 0!=(P=t.elements.pageImageSetHeroSet1.value[0])&&(W=!0);var G=!0,U=t.elements.articleTitle.value;""==t.elements.articleTitle.value&&(G=!1),"<p><br></p>"!=a.elements.articleTitleCustom.value&&(U=t.elements.articleTitleCustom.value);var V=(0,h.O$)()/2,Y="Bill Gates",Z=!0;""!=a.elements.byline.value&&(Y=a.elements.byline.value),"Bill Gates"!=Y&&(Z=!1);var K=a.elements.articleTitle.value;""!=a.elements.pageMetaSetTitle.value&&(K=a.elements.pageMetaSetTitle.value),""!=a.elements.pageSharingSetSharingTitle.value&&(K=a.elements.pageSharingSetSharingTitle.value);var q=a.elements.articleSubtitle.value;""!=a.elements.pageMetaSetDescription.value&&(q=a.elements.pageMetaSetDescription.value),""!=a.elements.pageSharingSetSharingDescription.value&&(q=a.elements.pageSharingSetSharingDescription.value);var Q=K;""!=a.elements.pageSharingSetTitleTw.value&&(Q=a.elements.pageSharingSetTitleTw.value);var z=q;""!=a.elements.pageSharingSetDescriptionTw.value&&(Q=a.elements.pageSharingSetDescriptionTw.value);var J=a.elements.externalId.value;""==J&&(J=a.system.id);var X="SUButtonLoggedOff",$="ComButtonLoggedOff";return(0,h.SN)()&&(X="SUbuttonLoggedIn",$="ComButtonLoggedIn"),(0,s.jsx)("div",{className:"ReaderShift",id:t.system.codename+"_a",style:{display:G?"block":"none",left:V+"px"},children:(0,s.jsxs)("div",{className:"articleHolder",children:[(0,s.jsx)("div",{className:"articleNavHolder",style:{display:w?"flex":"none"},children:(0,s.jsx)(v,{item:t})}),(0,s.jsxs)("div",{className:"articleInner",children:[(0,s.jsx)("div",{className:"articleInnerHeroIS",style:{display:F?"flex":"none",minHeight:F?"480px":"0px"},children:(0,s.jsx)(c.Z,{itemCN:H,isCanvas:!1,width:"1400",height:"900"})}),(0,s.jsx)("div",{className:"articleTopSpacer",style:{display:F?"none":"flex"}}),(0,s.jsxs)("div",{className:"ArticleTop",children:[(0,s.jsx)("div",{className:"Arteyebrow",dangerouslySetInnerHTML:{__html:t.elements.eyebrow.value},ref:d,id:"asr/"+e.name}),(0,s.jsx)("h1",{className:"ArtHeadline",dangerouslySetInnerHTML:{__html:U}}),(0,s.jsx)("div",{className:"ArtDesc GNDescCopy",dangerouslySetInnerHTML:{__html:t.elements.articleSubtitle.value}}),(0,s.jsxs)("div",{className:"ArticleTopLock",children:[(0,s.jsxs)("div",{className:"ArticleTopLockLeft",children:[(0,s.jsx)("img",{className:"ArticleTopLockLeftImageBill",src:"/image160160810.png",alt:"Bill profile picture",style:{display:Z?"block":"none"}}),(0,s.jsx)("img",{className:"ArticleTopLockLeftImageOff",src:"/image160160810off.png",alt:"blue dot",style:{display:Z?"none":"block"}})]}),(0,s.jsxs)("div",{className:"ArticleTopLockRight",children:[(0,s.jsxs)("div",{className:"ArticleDateAuth",children:[(0,s.jsxs)("span",{className:"ArtAuth",children:["By ",(0,s.jsx)("span",{className:"ArtAuthName",children:Y})]}),(0,s.jsxs)("span",{className:"ArtDate",children:[" published ",(0,s.jsx)("span",{className:"ArtDateTime",children:T(t.elements.date.value)})]})]}),(0,s.jsxs)("div",{className:"KBreadCrumbs",children:[(0,s.jsx)("div",{style:{display:D?"block":"none"},children:(0,s.jsx)(u.Z,{item:B})}),(0,s.jsx)("div",{style:{display:M?"block":"none"},children:(0,s.jsx)(u.Z,{item:R})})]})]})]})]}),(0,s.jsx)("div",{className:"ArticleLegacyImage TopicTimelineSpacer",style:{display:W?"flex":"none"},children:(0,s.jsx)("div",{className:"ArticleLegacyImageAsset",children:(0,s.jsx)(c.Z,{itemCN:P,isCanvas:!0})})}),(0,s.jsx)("div",{className:"ArtBody",children:(0,s.jsx)(l.Z,{richTextElement:L,parentItem:t})}),(0,s.jsxs)("div",{className:"articleEnd",children:[(0,s.jsxs)("div",{className:"primaryButton buttonShare",onClick:g,children:[(0,s.jsx)("div",{className:"primaryButtonIcon",children:(0,s.jsx)(m(),{className:"primaryButtonIconImg",width:24,height:24,src:"/icon_Share.svg",alt:"icon_Share"})}),(0,s.jsx)("div",{className:"primaryButtonCopy",children:"Share"}),(0,s.jsxs)("div",{className:"Share-modal",children:[(0,s.jsxs)("div",{className:"Share-modal-SA-title",onClick:A,children:[(0,s.jsx)("div",{className:"Share-modal-SA-copy",children:"Share article"}),(0,s.jsx)("div",{className:"Share-modal-SA-icons",children:(0,s.jsx)("div",{className:"Share-modal-SA-icon",children:(0,s.jsx)("div",{className:"Share-modal-SA-x",children:(0,s.jsx)(m(),{className:"primaryButtonIconImg",width:14,height:14,src:"/icon_Close.svg",alt:"icon_Close"})})})})]}),(0,s.jsxs)("div",{className:"Share-modal-content",children:[(0,s.jsxs)("div",{className:"Share-modal-item",onClick:k,children:[(0,s.jsx)("div",{className:"Share-modal-icons-stroke",children:(0,s.jsx)("div",{className:"Share-modal-icon",children:(0,s.jsx)(m(),{className:"primaryButtonIconImg",width:20,height:20,src:"/icon_Link.svg",alt:"icon_Link"})})}),(0,s.jsx)("div",{className:"Share-modal-title",children:"Copy link"}),(0,s.jsx)("div",{className:"Share-modal-icons-stroke-sm",children:(0,s.jsx)("div",{className:"Share-modal-icon-sm",children:(0,s.jsx)(m(),{className:"primaryButtonIconImg",width:13,height:13,src:"/icon_Checkmark.svg",alt:"icon_Checkmark"})})})]}),(0,s.jsx)(f.Z,{href:"https://www.facebook.com/sharer/sharer.php?u="+E+"?WT.mc_id=00_00_00_share_fb&title="+K+"&quote="+q,target:"_blank",children:(0,s.jsxs)("div",{className:"Share-modal-item",onClick:()=>p("FB"),children:[(0,s.jsx)("div",{className:"Share-modal-icons-stroke",children:(0,s.jsx)("div",{className:"Share-modal-icon",children:(0,s.jsx)(m(),{className:"primaryButtonIconImg",width:20,height:20,src:"/icon_Facebook.svg",alt:"icon_Facebook"})})}),(0,s.jsx)("div",{className:"Share-modal-title",children:"Facebook"})]})}),(0,s.jsx)(f.Z,{href:"https://twitter.com/intent/tweet?text="+z+"&url="+a.elements.bitlyUrl.value+"?WT.mc_id=00_00_00_share_tw&via=billgates",target:"_blank",children:(0,s.jsxs)("div",{className:"Share-modal-item",onClick:()=>p("TW"),children:[(0,s.jsx)("div",{className:"Share-modal-icons-stroke",children:(0,s.jsx)("div",{className:"Share-modal-icon",children:(0,s.jsx)(m(),{className:"primaryButtonIconImg",width:20,height:20,src:"/icon_Twitter.svg",alt:"icon_Twitter"})})}),(0,s.jsx)("div",{className:"Share-modal-title",children:"X"})]})}),(0,s.jsx)(f.Z,{href:"https://www.linkedin.com/shareArticle?mini=true&source=GatesNotes&url="+E+"?WT.mc_id=00_00_00_share_li&title="+K,target:"_blank",children:(0,s.jsxs)("div",{className:"Share-modal-item",onClick:()=>p("LI"),children:[(0,s.jsx)("div",{className:"Share-modal-icons-stroke",children:(0,s.jsx)("div",{className:"Share-modal-icon",children:(0,s.jsx)(m(),{className:"primaryButtonIconImg",width:20,height:20,src:"/icon_LinkedIn.svg",alt:"icon_LinkedIn"})})}),(0,s.jsx)("div",{className:"Share-modal-title",children:"LinkedIn"})]})})]})]})]}),(0,s.jsxs)("div",{className:"primaryButton buttonComments "+$,onClick:()=>y(J),children:[(0,s.jsx)("div",{className:"primaryButtonIcon",children:(0,s.jsx)(m(),{className:"primaryButtonIconImg",width:24,height:24,src:"/icon_Comments.svg",alt:"icon_Comments"})}),(0,s.jsx)("div",{className:"primaryButtonCopy",children:"Comments"})]}),(0,s.jsx)(f.Z,{className:"primaryButton buttonLogin "+X,href:"signup",children:(0,s.jsx)("div",{className:"primaryButton buttonLogin",children:(0,s.jsx)("div",{className:"primaryButtonCopy",children:"Get my newsletter"})})})]})]}),(0,s.jsx)("div",{className:"ArticleSeperator",children:(0,s.jsx)("div",{className:"ArticleSeperatorTop"})})]})})}}var E=(0,n.memo)(N)},7287:function(e,t,a){"use strict";var s=a(5893),n=a(7294),i=a(5675),r=a.n(i),o=a(521),l=a(1590),c=a(2121),d=a(1163),m=a.n(d);function u(e){let[t,a]=(0,n.useState)({email:"",password:"",user:"",SUFirst:"",SULast:""}),[i,d]=(0,n.useState)(!0),[u,h]=(0,n.useState)(!1),[_,g]=(0,n.useState)(!1),[p,x]=(0,n.useState)(!1),[v,C]=(0,n.useState)(!1),[b,f]=(0,n.useState)(""),I=(0,n.useContext)(c.bW);async function S(){let e=await (0,o.LF)(t.email);"OK"==e&&f(" gnAuthError3")}(0,n.useEffect)(()=>{});let T=e=>{let s=e.target.value;a({...t,[e.target.name]:s}),e.target.name};var N=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;async function E(){var e=t.email;if("Email address"!=e){if(N.test(e)){let s=await (0,o.EC)(e);""!=s?(d(!1),h(!0),f(""),a({...t,user:s})):(d(!1),x(!0),f(""))}else f(" gnAuthError1")}}async function k(){await (0,o.cb)()}async function A(){var e=t.password;if(" "!=e){let a=await (0,o.ZP)(t.user,e);if(""!=a){d(!1),h(!1),f(""),k();let s=document.getElementById("AuthHolder");s&&(s.classList.contains("AuthHolderOn")?s.classList.remove("AuthHolderOn"):s.classList.add("AuthHolderOn")),setTimeout(()=>{I.setAuth(!0);let e=document.querySelector(".KPage_Signup");e&&m().push("/","",{scroll:!1,shallow:!0})},2e3)}else f(" gnAuthError2")}}async function j(){let e=await (0,o.YE)(t.password);if(""!=e){let a=document.getElementById("Auth_SI_Form");a&&a.classList.remove("Hidden");let s=document.getElementById("Auth_ForgotPass");s&&s.classList.remove("Shown"),d(!0),h(!1),x(!1),g(!1),C(!1),f("")}else f(" gnAuthError2")}async function y(){var e=!0,a="";(""==t.SUFirst||""==t.SULast)&&(a+=" gnAuthSUError3",e=!1),t.password.length<7&&(a+=" gnAuthSUError4",e=!1);var s=t.email;if(N.test(s)||(a+=" gnAuthSUError2",e=!1),f(a),e){f("");let n=await (0,o.SX)(t.email,t.SUFirst,t.SULast,t.password);""!=n?(d(!1),h(!1),x(!1),g(!0),C(!1),f(""),k(),setTimeout(()=>{localStorage.setItem("authParamCampaignstatus","newUser"),I.setAuth(!0)},2e3)):f(" gnAuthSUError5")}}return(0,s.jsxs)("div",{className:"AuthHolder",id:"AuthHolder",children:[(0,s.jsx)("div",{className:"AuthHolderImageArea"}),(0,s.jsxs)("div",{className:"AuthHolderFormArea"+b,children:[(0,s.jsxs)("div",{className:"AuthHolderNav",children:[(0,s.jsx)("div",{className:"icon_Holder AuthHolderNavBack",children:(0,s.jsx)(r(),{className:"icon_Img icon_ArrowBackIcon",width:44,height:15,src:"/icon_ArrowBack.svg",alt:"icon_ArrowBack"})}),(0,s.jsx)("div",{className:"AuthHolderNavLogo",children:(0,s.jsx)(r(),{className:"AuthHolderNavLogoImg",width:44,height:15,src:"/Logo.svg",alt:"logo"})}),(0,s.jsx)("div",{className:"icon_Holder AuthHolderNavClose",onClick:l.Ok,children:(0,s.jsx)(r(),{className:"icon_Img icon_CloseIcon",width:44,height:15,src:"/icon_Close.svg",alt:"icon_Close"})})]}),(0,s.jsxs)("div",{className:"AuthHolderForm",id:"Auth_SI_Form",style:{display:i?"flex":"none"},children:[(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Log in or sign up"}),(0,s.jsx)("div",{className:"AuthHolderFormBody",children:"Want good news in your inbox? Become a Gates Notes Insider today to get my newsletter and receive updates on inspiring stories and remarkable heroes from around the world. You'll learn about the incredible progress being made in global health, energy innovation, and more."}),(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"Your email"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",placeholder:"Email Address",name:"email",type:"email",onChange:T,value:t.email}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline",children:"Please enter a valid email address"})]}),(0,s.jsx)("div",{className:"AuthHolderFormButton",onClick:()=>E(),children:(0,s.jsx)("div",{className:"AuthHolderFormButtonLabel",children:"Next"})})]}),(0,s.jsxs)("div",{className:"AuthHolderForm",id:"Auth_SI_Form2",style:{display:u?"flex":"none"},children:[(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Welcome back, Insider"}),(0,s.jsxs)("div",{className:"AuthHolderFormBody",children:["Log in with ",(0,s.jsx)("span",{className:"AuthHolderFormEmail",children:t.email})]}),(0,s.jsx)("div",{className:"AuthHolderFormPassword",children:(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"password"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",name:"password",type:"password",onChange:T,value:t.password}),(0,s.jsxs)("div",{className:"AuthHolderFormInputUnderline",children:["I'm sorry that email and password combination are invalid, click ",(0,s.jsx)("span",{className:"AuthHolderFormInputUnderlineLink",onClick:S,children:"here"})," to reset your password."]}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline AuthHolderFormInputUnderlineOK",children:"You should receive an email shortly with instructions on how to reset your password."})]})}),(0,s.jsx)("div",{className:"AuthHolderFormButton",onClick:()=>A(),children:(0,s.jsx)("div",{className:"AuthHolderFormButtonLabel",children:"Log in"})})]}),(0,s.jsxs)("div",{className:"AuthHolderForm",id:"Auth_Thanks",style:{display:_?"flex":"none"},children:[(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Thanks for signing up!"}),(0,s.jsx)("div",{className:"AuthHolderFormTermsHolder",children:(0,s.jsx)("div",{className:"AuthHolderFormTerms",children:"Please check your email and click on the link provided to verify your account."})}),(0,s.jsx)("div",{className:"AuthHolderFormResend",children:"Resend verification email"})]}),(0,s.jsxs)("div",{className:"AuthHolderForm",id:"Auth_ForgotPass",style:{display:v?"flex":"none"},children:[(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Reset your password."}),(0,s.jsx)("div",{className:"AuthHolderFormPassword",children:(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"New password"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",name:"password",type:"password",onChange:T,value:t.password}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline",children:"Password must be at least 7 characters"})]})}),(0,s.jsx)("div",{className:"AuthHolderFormButton",onClick:()=>j(),children:(0,s.jsx)("div",{className:"AuthHolderFormButtonLabel",children:"Set new password"})}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline",id:"SUError6",children:"Sorry something went wrong please try again later."}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline AuthHolderFormInputUnderlineOK",id:"SUError7",children:"Your password has been reset."})]}),(0,s.jsxs)("div",{className:"AuthHolderForm",id:"Auth_SU_Form",style:{display:p?"flex":"none"},children:[(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Become a Gates Notes Insider"}),(0,s.jsx)("div",{className:"AuthHolderFormBody",children:"Want good news in your inbox? Become a Gates Notes Insider today to get my newsletter and receive updates on inspiring stories and remarkable heroes from around the world. You'll learn about the incredible progress being made in global health, energy innovation, and more."}),(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"Your email"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",name:"email",type:"email",placeholder:"Email address",id:"SUF_Email",onChange:T,value:t.email}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline",id:"SUError1",children:"This email is already registered. Try using another instead."}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline",id:"SUError2",children:"Please enter a valid email address"})]}),(0,s.jsxs)("div",{className:"AuthHolderFormInputTwo",children:[(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"First name"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",placeholder:"First",name:"SUFirst",type:"first name",onChange:T,value:t.SUFirst}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline",id:"SUError3",children:"Enter a first and last name. For example, “Richard Feynman”."})]}),(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"Last name"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",placeholder:"Last",name:"SULast",type:"last name",onChange:T,value:t.SULast}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline"})]})]}),(0,s.jsx)("div",{className:"AuthHolderFormPassword",children:(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"password"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",name:"password",type:"password",onChange:T,value:t.password}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline",id:"SUError4",children:"Password must be at least 7 characters"})]})}),(0,s.jsx)("div",{className:"AuthHolderFormTermsHolder",children:(0,s.jsx)("div",{className:"AuthHolderFormTerms",children:'We will never share or spam your email address. For more information see our Sign Up FAQ. By clicking "Sign Up" you agree to the Gates Notes Terms of Use and Privacy Policy.'})}),(0,s.jsx)("div",{className:"AuthHolderFormButton",onClick:()=>y(),children:(0,s.jsx)("div",{className:"AuthHolderFormButtonLabel",children:"Sign up"})}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline",id:"SUError5",children:"Sorry something went wrong please try again later."})]})]})]})}t.Z=(0,n.memo)(u)},4020:function(e,t,a){"use strict";var s=a(5893),n=a(7294),i=a(2941);function r(e){var t="Home page topic",a="Work section topic",n="Books home topic",r="Meet Bill home topic",o="Heroes home topic";if(!e.item.copy)return(0,s.jsx)(s.Fragment,{});var l="",c="";return(e.item&&("cure_alzheimer_s"==e.item.copy&&(e.item.copy="Cure Alzheimer's"),"meet_bill"==e.item.copy&&(e.item.copy="Meet Bill"),""==e.item.copy&&(e.item.copy="Home"),l=e.item.copy.replaceAll("-"," ").replaceAll("_"," "),c=e.item.link.replaceAll(" ","-").toLowerCase()),l.toLowerCase()==t.toLowerCase()||l.toLowerCase()==a.toLowerCase()||l.toLowerCase()==n.toLowerCase()||l.toLowerCase()==o.toLowerCase()||l.toLowerCase()==r.toLowerCase())?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(i.Z,{className:"KBreadCrumbLink",href:c,children:(0,s.jsx)("div",{className:"KBreadCrumb",children:(0,s.jsx)("div",{className:"KBreadCrumbCopy",children:l})})})}t.Z=(0,n.memo)(r)},1221:function(e,t,a){"use strict";a.d(t,{Z:function(){return eT}});var s=a(5893),n=a(7294);let i={card_types:{codename:"card_types",id:"a1feca21-51a2-4e93-ac21-253d3b73403f",externalId:void 0,name:"Card types",terms:{banner_card:{codename:"banner_card",id:"927106c7-c0f2-45e2-8d06-4b661fadcdc6",externalId:void 0,name:"Banner card",terms:{}},book_card:{codename:"book_card",id:"59ce34dc-cec9-4ed3-a160-0ede56b5e008",externalId:void 0,name:"Book card",terms:{}},book_quote_card:{codename:"book_quote_card",id:"497a0b08-55ae-4848-8840-5a8b8dbfabe7",externalId:void 0,name:"Book quote card",terms:{}},campaign_articles_card:{codename:"campaign_articles_card",id:"597d22d5-0f1a-4b4e-bc44-96e893eabf7e",externalId:void 0,name:"Campaign articles or books card",terms:{}},campaign_podcasts_card:{codename:"campaign_podcasts_card",id:"717ca1c5-3705-4c60-8f7e-9181d99bde84",externalId:void 0,name:"Campaign podcasts card",terms:{}},data_card:{codename:"data_card",id:"c996048b-72bf-4069-bde4-f6546e093207",externalId:void 0,name:"Data card",terms:{}},featured_in_card:{codename:"featured_in_card",id:"8b272dee-2a09-4f26-9291-8d2e0630b0b5",externalId:void 0,name:"Featured in card",terms:{}},header_card:{codename:"header_card",id:"d317473d-1adb-47fb-9d6e-2aed5c372e54",externalId:void 0,name:"Header card",terms:{}},hero_card:{codename:"hero_card",id:"a2ec1872-5a87-4475-8390-ac7298e72e1d",externalId:void 0,name:"Hero card",terms:{}},load_more_card:{codename:"load_more_card",id:"a14464de-dfca-410f-bc39-47f8d494f3cc",externalId:void 0,name:"Load more card",terms:{}},long_read_card:{codename:"long_read_card",id:"318bb798-b7b8-4dd7-84a7-c30a4ef89139",externalId:void 0,name:"Long read card",terms:{}},memo_card:{codename:"memo_card",id:"d514dc01-d753-42d0-85af-3c9f800f3a27",externalId:void 0,name:"Memo card",terms:{}},menu_card:{codename:"menu_card",id:"a9ee0cdc-47bf-40db-b668-3d7b91a17731",externalId:void 0,name:"Menu card",terms:{}},podcast_card:{codename:"podcast_card",id:"6258496d-35d5-4bd4-ac37-5a30d6e6f946",externalId:void 0,name:"Podcast card",terms:{}},quote_card:{codename:"quote_card",id:"446da05e-8e79-49b1-a47b-facf20a3e032",externalId:void 0,name:"Quote card",terms:{}},section_card:{codename:"section_card",id:"d24e571a-2071-4e33-a67e-b2db4907312f",externalId:void 0,name:"Section card",terms:{}},sign_up_banner_card:{codename:"sign_up_banner_card",id:"cea617ad-1732-4e79-a8d2-f4b722c52cb6",externalId:void 0,name:"Sign up banner card",terms:{}},sign_up_modal_card:{codename:"sign_up_modal_card",id:"225335bb-4984-4844-b10b-760a8a554c39",externalId:void 0,name:"Sign up modal card",terms:{}},standalone_image_card:{codename:"standalone_image_card",id:"0266dd24-adba-41bf-8bb5-4578ddef2a88",externalId:void 0,name:"Standalone image card",terms:{}},standalone_video_card:{codename:"standalone_video_card",id:"6000f2be-4c1e-4bff-a28c-6cb5b351b663",externalId:void 0,name:"Standalone video card",terms:{}},standard_article_card:{codename:"standard_article_card",id:"4437bde1-7035-4c78-9ff4-c815125dc288",externalId:void 0,name:"Standard article card",terms:{}},topic_card:{codename:"topic_card",id:"bccc2f81-13d7-405d-8c85-12e7c5adc3bc",externalId:void 0,name:"Topic card",terms:{}},trailer_card:{codename:"trailer_card",id:"87253bba-b989-4fec-b46f-52f743dd6d90",externalId:void 0,name:"Trailer card",terms:{}},vertical_list_card:{codename:"vertical_list_card",id:"c713e25b-17b3-4bd9-a131-f645b8e8e6ca",externalId:void 0,name:"Vertical list card",terms:{}},vertical_slider_card:{codename:"vertical_slider_card",id:"59886afa-4abb-4180-bbc0-0845b91e8703",externalId:void 0,name:"Vertical slider card",terms:{}}}},master_taxonomy:{codename:"master_taxonomy",id:"b5f5d4b1-39f9-4c02-ad1a-a6294c2f28fd",externalId:void 0,name:"Master Taxonomy",terms:{books:{codename:"books",id:"335c5498-a1a6-4b2f-8d0a-a6e46d8adccd",externalId:void 0,name:"Books",terms:{books_i_wrote:{codename:"books_i_wrote",id:"e5fac198-da4c-4bbb-9a6f-468b765c590e",externalId:void 0,name:"Books I wrote",terms:{}},economics:{codename:"economics",id:"1b069965-3718-4280-ac02-f776e75ebc15",externalId:void 0,name:"Economics",terms:{}},education:{codename:"education",id:"3e8659ab-883b-40cb-b345-ba10f879d167",externalId:void 0,name:"Education",terms:{}},fiction:{codename:"fiction",id:"97629569-c74c-4247-8c62-617be49238d1",externalId:void 0,name:"Fiction",terms:{}},health:{codename:"health",id:"82921a72-e43e-430f-ba71-21c659c92df6",externalId:void 0,name:"Health",terms:{}},history:{codename:"history",id:"4db59483-ebd2-4576-88d6-7d5b99050599",externalId:void 0,name:"History",terms:{}},movies_and_tv:{codename:"movies_and_tv",id:"91bc03a9-6b3e-4ec2-bc95-8437075f851f",externalId:void 0,name:"Movies and TV",terms:{}},people:{codename:"people",id:"fd12e55a-7278-4c08-b51f-9c2485ed3f67",externalId:void 0,name:"People",terms:{}},reading_lists:{codename:"reading_lists",id:"e8db7aaa-7886-41a8-ad85-0b2273c5aaaf",externalId:void 0,name:"Reading Lists",terms:{}},science:{codename:"science",id:"0b4ecc33-b773-4567-bdc2-f9188666a121",externalId:void 0,name:"Science",terms:{}},science_fiction:{codename:"science_fiction",id:"b4818b25-47d6-47ef-849a-47080abffee9",externalId:void 0,name:"Science fiction",terms:{}},society:{codename:"society",id:"be6d0bad-cefa-43a2-91ce-7487f05ce6a7",externalId:void 0,name:"Society",terms:{}}}},heroes:{codename:"heroes",id:"00fab00d-0db2-428b-b221-46006dd57a3c",externalId:void 0,name:"Heroes",terms:{}},meet_bill:{codename:"meet_bill",id:"511d2241-9e02-47eb-8af5-f3d41a3bf95e",externalId:void 0,name:"Meet Bill",terms:{family_and_friends:{codename:"family_and_friends",id:"b4f1def5-7425-4c1c-9a53-64ecf17fa809",externalId:void 0,name:"Family and friends",terms:{}},games_i_love:{codename:"games_i_love",id:"d6d1973b-dace-4273-901e-9c3cc4f6ad52",externalId:void 0,name:"Games I love",terms:{}},microsoft:{codename:"microsoft",id:"11128a9f-f36a-4c08-b29d-77d689de4e2d",externalId:void 0,name:"Microsoft",terms:{}},my_podcasts:{codename:"my_podcasts",id:"0f01d213-7508-4514-9aac-ce64c15e85fc",externalId:void 0,name:"My podcasts",terms:{}},netflix:{codename:"netflix",id:"e144152a-0b49-4e51-8a12-150aac311d7c",externalId:void 0,name:"Netflix",terms:{}},philanthropy:{codename:"philanthropy",id:"59513239-a20e-49e3-b711-ed2f1377a99c",externalId:void 0,name:"Philanthropy",terms:{}},source_code:{codename:"source_code",id:"c0b9958b-21ac-4fe2-938a-f8f5f32e4592",externalId:void 0,name:"Source Code",terms:{}},tech_thinking:{codename:"tech_thinking",id:"36d0f637-56d4-406f-b229-8047f2850d17",externalId:void 0,name:"Tech thinking",terms:{}}}},work:{codename:"work",id:"d2a7c659-5c4a-4055-b747-d3d81ada4202",externalId:void 0,name:"Work",terms:{accelerate_climate_innovation:{codename:"accelerate_climate_innovation",id:"51c819ea-f8af-469d-9556-c280f6f04fbe",externalId:void 0,name:"Accelerate climate innovation",terms:{}},cure_alzheimer_s:{codename:"cure_alzheimer_s",id:"aaec3187-fb1e-4d51-a299-e9a62b91f7f1",externalId:void 0,name:"Cure Alzheimer’s",terms:{}},provide_quality_education:{codename:"provide_quality_education",id:"e65da71d-cbcc-49a8-8863-97e95ba24a7b",externalId:void 0,name:"Provide quality education",terms:{}},reduce_inequities:{codename:"reduce_inequities",id:"1aaa4764-f0cc-4d87-b22a-745b5b6d7d4b",externalId:void 0,name:"Reduce inequities",terms:{}},save_lives:{codename:"save_lives",id:"3b68b92a-efd3-4b54-be1d-3dfe865e638f",externalId:void 0,name:"Save lives",terms:{}}}}}}};var r=a(381),o=a.n(r),l=a(4390),c=a(6115),d=a(990),m=a(6546),u=a(2941),h=a(5376),_=a(9355);function g(e){let t=e.cdata.card.elements.cardTargetsLightboxTargets.value[0];e.cdata.card.elements.cardTargetsMainTarget.value[0],o().locale("en"),(0,n.useContext)(l.J);let a=e.cdata.cardSource.elements.secondSection;return e.cdata.cardSource.elements.date.value,(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"memoOuterHolder Card","data-bh":e.cdata.cardBackgroundColor,style:{background:e.cdata.cardBackgroundColor},children:(0,s.jsxs)("div",{id:"memoHolder"+e.cdata.card.system.codename,className:"memoHolder",children:[(0,s.jsx)("div",{className:"memoStart"}),(0,s.jsxs)("div",{className:"memoLeftThenTop",children:[(0,s.jsxs)("div",{className:"memoLeftThenTopLockup",children:[(0,s.jsx)("div",{className:"memoPreHeader",children:e.cdata.cardEyebrow}),(0,s.jsx)("div",{className:"memoHeader",dangerouslySetInnerHTML:{__html:e.cdata.cardSource.elements.title.value}})]}),(0,s.jsxs)(u.Z,{href:h.l3+"/"+t,className:"memoBodyLeftThumb GNLink",children:[(0,s.jsxs)("div",{id:"memoBodyLeftThumb"+e.cdata.card.system.codename,className:"memoBodyLeftThumbinner",children:[(0,s.jsx)(_.Z,{codename:e.cdata.cardHeroImageForegroundImageSet,parentItem:e.cdata.card}),(0,s.jsx)("div",{className:"memoBodyLeftThumbIcons",children:(0,s.jsx)("div",{className:"memoBodyLeftThumbIcon",style:{background:e.cdata.cardBackgroundColor},children:(0,s.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})})})]}),(0,s.jsxs)("div",{id:"memoBodyLeftThumbMT"+e.cdata.card.system.codename,className:"memoBodyLeftThumbMT",children:[(0,s.jsx)(_.Z,{codename:e.cdata.cardHeroImageForegroundImageSet,parentItem:e.cdata.card}),(0,s.jsx)("div",{className:"memoBodyLeftThumbIcons",children:(0,s.jsx)("div",{className:"memoBodyLeftThumbIcon",style:{background:e.cdata.cardBackgroundColor},children:(0,s.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})})})]})]})]}),(0,s.jsxs)("div",{className:"memoRightThenBottom",children:[(0,s.jsxs)("div",{className:"memoBody",children:[(0,s.jsx)("div",{className:"memoBodyRight",dangerouslySetInnerHTML:{__html:e.cdata.cardSource.elements.body.value}}),(0,s.jsx)("div",{className:"memoSignature",children:(0,s.jsx)("img",{src:"/bill-gates-signature.svg",alt:"Bill Signature"})})]}),(0,s.jsx)("div",{className:"memoSecondSection TopicTimelineSpacer",children:(0,s.jsx)(c.Z,{richTextElement:a,parentItem:e.cdata.card})}),(0,s.jsx)("div",{className:"memoEnd"})]})]})}),(0,s.jsxs)("div",{className:"ArticleSeperator TopicTimelineSpacer",children:[(0,s.jsx)("div",{className:"ArticleSeperatorTop",style:{background:e.cdata.cardBackgroundColor}}),(0,s.jsx)("div",{className:"ArticleSeperatorBot"})]})]})}d.p8.registerPlugin(m.ScrollTrigger);var p=(0,n.memo)(g);function x(e){(0,n.useEffect)(()=>{setTimeout(()=>{var t=document.getElementById(e.cdata.card.system.codename+"dv");if(t){t.setAttribute("src",e.cdata.cardBackgroundImage);var a=t.querySelector("source");a&&a.setAttribute("src",e.cdata.cardBackgroundImage),t.play()}var s=document.getElementById(e.cdata.card.system.codename+"tv");if(s){s.setAttribute("src",e.cdata.cardBackgroundImageTablet);var n=s.querySelector("source");n&&n.setAttribute("src",e.cdata.cardBackgroundImageTablet),s.play()}var i=document.getElementById(e.cdata.card.system.codename+"mv");if(i){i.setAttribute("src",e.cdata.cardBackgroundImageMobile);var r=i.querySelector("source");r&&r.setAttribute("src",e.cdata.cardBackgroundImageMobile),i.play()}},50)},[e.cdata.card.system.codename,e.cdata.cardBackgroundImage,e.cdata.cardBackgroundImageMobile,e.cdata.cardBackgroundImageTablet]);var t=void 0,a="",i=e.cdata.artLink;e.cdata.card.elements&&(t=e.cdata.card.elements.cardTargetsLightboxTargets.value[0],a=e.cdata.card.elements.cardTargetsMainTarget.value[0]),""==a&&(a=i),""==i&&(i=h.he+"/"+a),(0,n.useContext)(l.J);var r=!0,o="LongRead";"long_read_card"!=e.cdata.cardType&&(r=!1,o="");var c=!0;void 0==t&&(c=!1);var d=!0;""==e.cdata.cardForegroundImage&&(d=!1);var m=!0;("Hide"==e.cdata.cardShowBackgroundImage||""==e.cdata.cardBackgroundImage)&&(m=!1);var _=!1;e.cdata.cardBackgroundImage.includes(".mp4")&&(m=!1,_=!0),"#FFFFFF"==e.cdata.cardBackgroundColor&&(e.cdata.cardBackgroundColor="#F0F1F4");var g="";return e.cdata.card.elements&&e.cdata.card.elements.cardDisplayOptionsVariant.value.length>0&&"Pin top"==e.cdata.card.elements.cardDisplayOptionsVariant.value[0].name&&(g=" articleLeftFBPinTop"),(0,s.jsxs)("div",{className:"articleFB TopicTimelineSpacer Card "+o,"data-cardtype":"StandardArticleCardFBV","data-codename":e.cdata.cardType,style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsxs)(u.Z,{href:c?h.l3+"/"+t:"",className:c?"articleBackFB GNLink":"articleBackFB GNLinkDisabled",children:[(0,s.jsxs)("div",{className:"articleBackFBinner",style:{background:e.cdata.cardBackgroundColor,display:m?"flex":"none"},children:[(0,s.jsx)("img",{className:"DesktopOnly",src:e.cdata.cardBackgroundImage+"?w=1440&fit=clip&fm=jpg",alt:e.cdata.cardBackgroundImageDesc,style:{cursor:c?"pointer":"auto"}}),(0,s.jsx)("img",{className:"TabletOnly",src:e.cdata.cardBackgroundImageTablet+"?w=960&fit=clip&fm=jpg",alt:e.cdata.cardBackgroundImageDesc,style:{cursor:c?"pointer":"auto"}}),(0,s.jsx)("img",{className:"MobileOnly",src:e.cdata.cardBackgroundImageMobile+"?w=630&fit=clip&fm=jpg",alt:e.cdata.cardBackgroundImageDesc,style:{cursor:c?"pointer":"auto"}})]}),(0,s.jsxs)("div",{className:"articleBackFBvHolder",style:{display:_?"flex":"none"},children:[(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"dv",className:"DesktopOnly articleBackFBv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImage,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"tv",className:"TabletOnly articleBackFBv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageTablet,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"mv",className:"MobileOnly articleBackFBv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageMobile,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]})]})]}),(0,s.jsx)("div",{className:"articleMaskGroupFB",children:(0,s.jsx)("div",{className:"articleMaskFB",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, "+e.cdata.cardBackgroundColor+" 23.33%)"}})}),(0,s.jsxs)("div",{className:"articleInnerLock",children:[(0,s.jsxs)(u.Z,{href:c?h.l3+"/"+t:"",className:c?"articleRightFB GNLink":"articleRightFB GNLinkDisabled",children:[(0,s.jsx)("div",{className:"articleRightFBi",style:{display:d?"flex":"none",cursor:c?"pointer":"auto",backgroundImage:"url("+e.cdata.cardForegroundImage+"?w=488&h=488&fit=clip&fm=jpg&q=75)"}}),(0,s.jsx)("div",{className:"ImgPlayButton",style:{display:c?"flex":"none"},children:(0,s.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})})]}),(0,s.jsxs)(u.Z,{href:r?a:i,className:"articleLeftFB GNLink"+g,children:[(0,s.jsxs)("div",{className:"articlePreLock",children:[(0,s.jsx)("div",{className:"long-read-label",style:{display:r?"inline-block":"none"},children:"IN DEPTH "}),(0,s.jsx)("div",{className:"articlePre",dangerouslySetInnerHTML:{__html:e.cdata.cardEyebrow}})]}),(0,s.jsx)("div",{className:"articleHeadline",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"articleDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}})]})]})]})}var v=(0,n.memo)(x);function C(e){(0,n.useEffect)(()=>{setTimeout(()=>{var t=document.getElementById(e.cdata.card.system.codename+"dv");if(t){t.setAttribute("src",e.cdata.cardBackgroundImage);var a=t.querySelector("source");a&&a.setAttribute("src",e.cdata.cardBackgroundImage),t.play()}var s=document.getElementById(e.cdata.card.system.codename+"tv");if(s){s.setAttribute("src",e.cdata.cardBackgroundImageTablet);var n=s.querySelector("source");n&&n.setAttribute("src",e.cdata.cardBackgroundImageTablet),s.play()}var i=document.getElementById(e.cdata.card.system.codename+"mv");if(i){i.setAttribute("src",e.cdata.cardBackgroundImageMobile);var r=i.querySelector("source");r&&r.setAttribute("src",e.cdata.cardBackgroundImageMobile),i.play()}},50)},[e.cdata.card.system.codename,e.cdata.cardBackgroundImage,e.cdata.cardBackgroundImageMobile,e.cdata.cardBackgroundImageTablet]);var t=void 0,a="",i=e.cdata.artLink;e.cdata.card.elements&&(t=e.cdata.card.elements.cardTargetsLightboxTargets.value[0],a=e.cdata.card.elements.cardTargetsMainTarget.value[0]),""==i&&(i=h.he+"/"+a),(0,n.useContext)(l.J);var r=!0,o="LongRead";"long_read_card"!=e.cdata.cardType&&(r=!1,o="");var c=!0;void 0==t&&(c=!1);var d=!0;""==e.cdata.cardForegroundImage&&(d=!1);var m=!0;"Hide"==e.cdata.cardShowBackgroundImage&&(m=!1);var _=!1;e.cdata.cardBackgroundImage.includes(".mp4")&&(m=!1,_=!0),""==e.cdata.cardBackgroundImage&&(m=!1),"#FFFFFF"==e.cdata.cardBackgroundColor&&(e.cdata.cardBackgroundColor="#F0F1F4");var g="";return e.cdata.card.elements.cardDisplayOptionsVariant.value.length>0&&"Pin top"==e.cdata.card.elements.cardDisplayOptionsVariant.value[0].name&&(g=" articleLeftFWPinTop"),(0,s.jsxs)("div",{className:"articleFW TopicTimelineSpacer Card "+o,"data-cardtype":"StandardArticleCardFW","data-codename":e.cdata.cardType,style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsx)(u.Z,{href:c?h.l3+"/"+t:"",className:c?"articleBackFW GNLink":"articleBackFW GNLinkDisabled",children:(0,s.jsxs)("div",{className:"articleBackFWinner",style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsxs)("div",{className:"articleBackGroup",style:{cursor:c?"pointer":"auto",display:m?"flex":"none"},children:[(0,s.jsx)("img",{className:"DesktopOnly articleBackFWi",src:e.cdata.cardBackgroundImage+"?w=1440&h=900&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc}),(0,s.jsx)("img",{className:"TabletOnly articleBackFWi",src:e.cdata.cardBackgroundImageTablet+"?w=891&h=891&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc}),(0,s.jsx)("img",{className:"MobileOnly articleBackFWi",src:e.cdata.cardBackgroundImageMobile+"?w=495&h=495&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc})]}),(0,s.jsxs)("div",{className:"articleBackFWvHolder",style:{display:_?"flex":"none"},children:[(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"dv",className:"DesktopOnly articleBackFWv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImage,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"tv",className:"TabletOnly articleBackFWv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageTablet,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"mv",className:"MobileOnly articleBackFWv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageMobile,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]})]})]})}),(0,s.jsx)("div",{className:"articleMaskGroupFW",children:(0,s.jsx)("div",{className:"articleMaskFW",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, "+e.cdata.cardBackgroundColor+" 23.33%)"}})}),(0,s.jsxs)("div",{className:"articleInnerLock",children:[(0,s.jsxs)(u.Z,{href:c?h.l3+"/"+t:"",className:c?"articleRightFW GNLink":"articleRightFW GNLinkDisabled",children:[(0,s.jsx)("div",{className:"articleRightFWi",style:{display:d?"flex":"none",cursor:c?"pointer":"auto",backgroundImage:"url("+e.cdata.cardForegroundImage+"?w=488&h=488&fit=clip&fm=jpg&q=75)"}}),(0,s.jsx)("div",{className:"ImgPlayButton",style:{display:c?"flex":"none"},children:(0,s.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})})]}),(0,s.jsxs)(u.Z,{href:r?a:i,className:"articleLeftFW GNLink"+g,children:[(0,s.jsxs)("div",{className:"articlePreLock",children:[(0,s.jsx)("div",{className:"long-read-label",style:{display:r?"inline-block":"none"},children:"IN DEPTH "}),(0,s.jsx)("div",{className:"articlePre",dangerouslySetInnerHTML:{__html:e.cdata.cardEyebrow}})]}),(0,s.jsx)("div",{className:"articleHeadline",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"articleDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}})]})]})]})}var b=(0,n.memo)(C);function f(e){(0,n.useEffect)(()=>{setTimeout(()=>{var t=document.getElementById(e.cdata.card.system.codename+"dv");if(t){t.setAttribute("src",e.cdata.cardBackgroundImage);var a=t.querySelector("source");a&&a.setAttribute("src",e.cdata.cardBackgroundImage),t.play()}var s=document.getElementById(e.cdata.card.system.codename+"tv");if(s){s.setAttribute("src",e.cdata.cardBackgroundImageTablet);var n=s.querySelector("source");n&&n.setAttribute("src",e.cdata.cardBackgroundImageTablet),s.play()}var i=document.getElementById(e.cdata.card.system.codename+"mv");if(i){i.setAttribute("src",e.cdata.cardBackgroundImageMobile);var r=i.querySelector("source");r&&r.setAttribute("src",e.cdata.cardBackgroundImageMobile),i.play()}},50)},[e.cdata.card.system.codename,e.cdata.cardBackgroundImage,e.cdata.cardBackgroundImageMobile,e.cdata.cardBackgroundImageTablet]);let t=e.cdata.card.elements.cardTargetsLightboxTargets.value[0],a=e.cdata.card.elements.cardTargetsMainTarget.value[0];(0,n.useContext)(l.J);var i=!0,r="LongRead",o=e.cdata.artLink;""==o&&(o=h.he+"/"+a),"long_read_card"!=e.cdata.cardType&&(i=!1,r="");var c=!0;void 0==t&&(c=!1);var d=!0;""==e.cdata.cardForegroundImage&&(d=!1);var m=!0;"Hide"==e.cdata.cardShowBackgroundImage&&(m=!1);var _=!1;return e.cdata.cardBackgroundImage.includes(".mp4")&&(m=!1,_=!0),""==e.cdata.cardBackgroundImage&&(m=!1),(0,s.jsxs)("div",{className:"article TopicTimelineSpacer Card "+r,"data-cardtype":"StandardArticleCardLV","data-codename":e.cdata.cardType,children:[(0,s.jsxs)(u.Z,{href:i?a:o,className:"articleLeft GNLink",children:[(0,s.jsxs)("div",{className:"articlePreLock",children:[(0,s.jsx)("div",{className:"long-read-label",style:{display:i?"inline-block":"none"},children:"IN DEPTH "}),(0,s.jsx)("div",{className:"articlePre",dangerouslySetInnerHTML:{__html:e.cdata.cardEyebrow}})]}),(0,s.jsx)("div",{className:"articleHeadline",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"articleDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}})]}),(0,s.jsx)(u.Z,{href:c?h.l3+"/"+t:"",className:c?"articleRight GNLink":"articleRight GNLinkDisabled",children:(0,s.jsxs)("div",{className:"articleRightinner",style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsx)("div",{className:"ImgPlayButton",style:{display:c?"flex":"none"},children:(0,s.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})}),(0,s.jsxs)("div",{className:"articleBackGroup",style:{cursor:c?"pointer":"auto",display:m?"flex":"none"},children:[(0,s.jsx)("img",{className:"DesktopOnly articleBackLi",src:e.cdata.cardBackgroundImage+"?w=845&h=507&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc}),(0,s.jsx)("img",{className:"TabletOnly articleBackLi",src:e.cdata.cardBackgroundImage+"?w=704&h=440&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc}),(0,s.jsx)("img",{className:"MobileOnly articleBackLi",src:e.cdata.cardBackgroundImage+"?w=368&h=221&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc})]}),(0,s.jsxs)("div",{className:"articleBackLvHolder",style:{display:_?"flex":"none"},children:[(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"dv",className:"DesktopOnly articleBackLv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImage,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"tv",className:"TabletOnly articleBackLv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageTablet,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"mv",className:"MobileOnly articleBackLv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageMobile,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]})]}),(0,s.jsx)("div",{className:"articleRightLi",style:{display:d?"flex":"none",cursor:c?"pointer":"auto",backgroundImage:"url("+e.cdata.cardForegroundImage+"?w=488&h=488&fit=clip&fm=jpg&q=75)"}})]})})]})}var I=(0,n.memo)(f);function S(e){(0,n.useEffect)(()=>{setTimeout(()=>{var t=document.getElementById(e.cdata.card.system.codename+"dv");if(t){t.setAttribute("src",e.cdata.cardBackgroundImage);var a=t.querySelector("source");a&&a.setAttribute("src",e.cdata.cardBackgroundImage),t.play()}var s=document.getElementById(e.cdata.card.system.codename+"tv");if(s){s.setAttribute("src",e.cdata.cardBackgroundImageTablet);var n=s.querySelector("source");n&&n.setAttribute("src",e.cdata.cardBackgroundImageTablet),s.play()}var i=document.getElementById(e.cdata.card.system.codename+"mv");if(i){i.setAttribute("src",e.cdata.cardBackgroundImageMobile);var r=i.querySelector("source");r&&r.setAttribute("src",e.cdata.cardBackgroundImageMobile),i.play()}},50)},[e.cdata.card.system.codename,e.cdata.cardBackgroundImage,e.cdata.cardBackgroundImageMobile,e.cdata.cardBackgroundImageTablet]);let t=e.cdata.card.elements.cardTargetsLightboxTargets.value[0],a=e.cdata.card.elements.cardTargetsMainTarget.value[0];(0,n.useContext)(l.J),e.cdata.parentItem.system.codename;var i=!0,r="LongRead",o=e.cdata.artLink;""==o&&(o=h.he+"/"+a),"long_read_card"!=e.cdata.cardType&&(i=!1,r="");var c=!0;void 0==t&&(c=!1);var d=!0;""==e.cdata.cardForegroundImage&&(d=!1);var m=!0;("Hide"==e.cdata.cardShowBackgroundImage||""==e.cdata.cardBackgroundImage)&&(m=!1);var _=!1;e.cdata.cardBackgroundImage.includes(".mp4")&&(m=!1,_=!0);var g="?w=190&h=190&fit=clip&fm=jpg&q=75)";return e.cdata.cardForegroundImage.includes(".png")&&(g="?w=190&h=190&fit=clip)"),(0,s.jsxs)("div",{className:"CollectionArticle Card "+r,children:[(0,s.jsxs)(u.Z,{href:i?a:o,className:"CollectionArticleLockupTop GNLink",children:[(0,s.jsx)("div",{className:"CollectionLine"}),(0,s.jsxs)("div",{className:"articlePreLock",children:[(0,s.jsx)("div",{className:"long-read-label",style:{display:i?"inline-block":"none"},children:"IN DEPTH "}),(0,s.jsx)("div",{className:"CollectionarticlePre",dangerouslySetInnerHTML:{__html:e.cdata.cardEyebrow}})]}),(0,s.jsx)("div",{className:"CollectionArticleTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"CollectionArticleDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}})]}),(0,s.jsx)("div",{className:"CollectionArticleLockupBottom",style:{background:e.cdata.cardBackgroundColor},children:(0,s.jsxs)(u.Z,{href:c?h.l3+"/"+t:"",className:c?"CollectionArticleImg GNLink":"CollectionArticleImg GNLinkDisabled",children:[(0,s.jsx)("div",{className:"ImgPlayButton",style:{display:c?"flex":"none"},children:(0,s.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})}),(0,s.jsxs)("div",{className:"articleBackMvHolder",style:{display:_?"flex":"none"},children:[(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"dv",className:"DesktopOnly articleBackMv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImage,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"tv",className:"TabletOnly articleBackMv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageTablet,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"mv",className:"MobileOnly articleBackMv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageMobile,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]})]}),(0,s.jsx)("img",{className:"articleBackMi",src:e.cdata.cardBackgroundImage+"?w=381&h=238&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc,style:{cursor:c?"pointer":"auto",display:m?"flex":"none"}}),(0,s.jsx)("div",{className:"articleRightMi",style:{display:d?"flex":"none",cursor:c?"pointer":"auto",backgroundImage:"url("+e.cdata.cardForegroundImage+g}})]})})]})}var T=(0,n.memo)(S),N=a(4020);function E(e){let t=e.cdata.card.elements.cardTargetsLightboxTargets.value[0],a=e.cdata.card.elements.cardTargetsMainTarget.value[0];(0,n.useContext)(l.J);var i=!0,r="LongRead",o=e.cdata.artLink;""==o&&(o=h.he+"/"+a),"long_read_card"!=e.cdata.cardType&&(i=!1,r="");var c=!0;void 0==t&&(c=!1);var d=!0;""==e.cdata.cardForegroundImage&&(d=!1);var m=!0;"Hide"==e.cdata.cardShowBackgroundImage&&(m=!1),e.cdata.cardBackgroundImage.includes(".mp4")&&(m=!1);let _={};return _.copy="placeholder",_.link="/",(0,s.jsxs)("div",{className:"articleS Card "+r,"data-cardtype":"StandardArticleCardSV","data-codename":e.cdata.cardType,children:[(0,s.jsxs)("div",{className:"articleLeftS",children:[(0,s.jsxs)(u.Z,{href:i?a:o,className:"GNLink",children:[(0,s.jsxs)("div",{className:"articlePreLock",children:[(0,s.jsx)("div",{className:"long-read-label",style:{display:i?"inline-block":"none"},children:"IN DEPTH "}),(0,s.jsx)("div",{className:"articlePre",dangerouslySetInnerHTML:{__html:e.cdata.cardEyebrow}})]}),(0,s.jsx)("div",{className:"articleHeadline",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"articleDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}})]}),(0,s.jsx)("div",{className:"KBreadCrumbs",children:(0,s.jsx)(N.Z,{item:_})})]}),(0,s.jsx)(u.Z,{href:c?h.l3+"/"+t:"",className:"articleRightS GNLink",children:(0,s.jsxs)("div",{className:"articleRightSinner",style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsx)("div",{className:"ImgPlayButton",style:{display:c?"flex":"none"},children:(0,s.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})}),(0,s.jsx)("img",{className:"articleBackSi",src:e.cdata.cardBackgroundImage+"?w=381&h=238&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc,style:{cursor:c?"pointer":"auto",display:m?"flex":"none"}}),(0,s.jsx)("div",{className:"articleRightSi",style:{display:d?"flex":"none",cursor:c?"pointer":"auto",backgroundImage:"url("+e.cdata.cardForegroundImage+"?w=160&h=160&fit=clip&fm=jpg&q=75)"}})]})})]})}var k=(0,n.memo)(E),A=a(1590);function j(e){let t=e.cdata.card.elements.cardTargetsLightboxTargets.value[0];(0,n.useContext)(l.J);var a="";return e.cdata.cardSource.elements.posterImage.value.length>0&&(a=(0,A.t6)(e.cdata.cardSource.elements.posterImage.value[0].url)),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"TrailerHolder Card",style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsxs)("div",{className:"TrailerContent",children:[(0,s.jsx)("div",{className:"TrailerTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"TrailerDescription",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}})]}),(0,s.jsxs)(u.Z,{href:h.l3+"/"+t,className:"TrailerAssets GNLink",children:[(0,s.jsx)("div",{className:"TrailerAsset",style:{backgroundImage:"url("+a+")"}}),(0,s.jsx)("div",{className:"TrailerIcons",children:(0,s.jsx)("div",{className:"TrailerIcon",children:(0,s.jsx)("img",{className:"TrailerPlayIcon",src:"/play_circle.svg",alt:"Play button"})})})]})]})})}var y=(0,n.memo)(j),w=a(3758);function L(e){var t="SectionCardLight",a=e.cdata.cardBackgroundColor;return e.cdata.card.elements.cardDisplayOptionsTheme.value.length>0&&"Dark"==e.cdata.card.elements.cardDisplayOptionsTheme.value[0].name&&(t="SectionCardDark","#FFFFFF"==a&&(a="#777777")),"#FFFFFF"==a&&(a="#CCCCCC"),(0,s.jsxs)("div",{className:"SectionCard_FB Card TopicTimelineSpacer "+t,"data-cardtype":"SectionCard_FB","data-codename":e.cdata.cardType,children:[(0,s.jsx)("div",{className:"CardTopEdge"}),(0,s.jsx)("div",{className:"SectionCard_FBBack",style:{background:a},children:(0,s.jsx)(w.Z,{itemCN:e.cdata.card.elements.cardDisplayOptionsHeroItem.value[0],isCanvas:!1})}),(0,s.jsx)(u.Z,{href:e.cdata.cardSource.system.codename,className:"SectionCard_FBInner GNLink",children:(0,s.jsx)("div",{className:"SectionCard_FBInnerLockup",children:(0,s.jsx)("div",{className:"SectionCard_FBTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}})})}),(0,s.jsx)("div",{className:"CardBottomEdge"})]})}var O=(0,n.memo)(L);function B(e){var t="SectionCardLight",a=e.cdata.cardBackgroundColor;return e.cdata.card.elements.cardDisplayOptionsTheme.value.length>0&&"Dark"==e.cdata.card.elements.cardDisplayOptionsTheme.value[0].name&&(t="SectionCardDark","#FFFFFF"==a&&(a="#777777")),"#FFFFFF"==a&&(a="#CCCCCC"),(0,s.jsxs)("div",{className:"SectionCard_FW TopicTimelineSpacer Card "+t,"data-cardtype":"SectionCard_FW","data-codename":e.cdata.cardType,children:[(0,s.jsx)(u.Z,{href:e.cdata.cardSource.system.codename,children:(0,s.jsxs)("div",{className:"SectionCard_FWLeft",style:{background:a},children:[(0,s.jsx)("div",{className:"SectionCard_FWTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"SectionCard_FWDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}}),(0,s.jsx)("div",{className:"SectionCard_FWCTA",children:"Explore"})]})}),(0,s.jsx)("div",{className:"SectionCard_FWRight",children:(0,s.jsx)(w.Z,{itemCN:e.cdata.card.elements.cardDisplayOptionsHeroItem.value[0],isCanvas:!0})})]})}var R=(0,n.memo)(B);function D(e){var t="SectionCardLight",a=e.cdata.cardBackgroundColor;return e.cdata.card.elements.cardDisplayOptionsTheme.value.length>0&&"Dark"==e.cdata.card.elements.cardDisplayOptionsTheme.value[0].name&&(t="SectionCardDark","#FFFFFF"==a&&(a="#777777")),"#FFFFFF"==a&&(a="#CCCCCC"),(0,s.jsxs)("div",{className:"SectionCard_Def Card "+t,"data-cardtype":"SectionCard_Def","data-codename":e.cdata.cardType,children:[(0,s.jsx)("div",{className:"SectionCard_DefBack",style:{background:a},children:(0,s.jsx)(w.Z,{itemCN:e.cdata.card.elements.cardDisplayOptionsHeroItem.value[0],isCanvas:!1})}),(0,s.jsx)(u.Z,{href:e.cdata.cardSource.system.codename,children:(0,s.jsxs)("div",{className:"SectionCard_DefInner",children:[(0,s.jsx)("div",{className:"SectionCard_DefTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"SectionCard_DefDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}}),(0,s.jsx)("div",{className:"SectionCard_DefCTA",children:"Explore"})]})})]})}var M=(0,n.memo)(D);let H={};function F(e){var t="Home";return e.cdata.cardSource.elements.mySection.value&&(t=e.cdata.cardSource.elements.mySection.value[0]),H.copy=t,H.link="/"+t,(0,s.jsxs)("div",{className:"TopicCard_Def TopicTimelineSpacer Card","data-cardtype":"TopicCard_Def","data-codename":e.cdata.cardType,children:[(0,s.jsx)("div",{className:"TopicCard_DefBack",children:(0,s.jsx)(w.Z,{itemCN:e.cdata.card.elements.cardDisplayOptionsHeroItem.value[0],isCanvas:!1})}),(0,s.jsxs)("div",{className:"TopicCard_DefInner",children:[(0,s.jsxs)(u.Z,{href:H.link+"/"+e.cdata.cardSource.system.codename,children:[(0,s.jsx)("div",{className:"TopicCard_DefInnerTop",children:(0,s.jsx)("div",{className:"TopicCard_DefTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}})}),(0,s.jsx)("div",{className:"TopicCard_DefDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}})]}),(0,s.jsx)(N.Z,{item:H})]})]})}var P=(0,n.memo)(F);function W(e){var t="Home";e.cdata.cardSource.elements.mySection.value&&(t=e.cdata.cardSource.elements.mySection.value[0]);let a={};return a.copy=t,a.link="/"+t,(0,s.jsxs)("div",{className:"TopicCard_FW TopicTimelineSpacer Card","data-cardtype":"TopicCard_FW","data-codename":e.cdata.cardType,children:[(0,s.jsx)(u.Z,{href:a.link+"/"+e.cdata.cardSource.system.codename,children:(0,s.jsxs)("div",{className:"TopicCard_FWLeft",children:[(0,s.jsxs)("div",{className:"TopicCard_FWLeftTop",children:[(0,s.jsx)("div",{className:"TopicCard_FWTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"TopicCard_FWDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}})]}),(0,s.jsx)(N.Z,{item:a})]})}),(0,s.jsx)("div",{className:"TopicCard_FWRight",children:(0,s.jsx)(w.Z,{itemCN:e.cdata.card.elements.cardDisplayOptionsHeroItem.value[0],isCanvas:!0})})]})}var G=(0,n.memo)(W);function U(e){(0,n.useEffect)(()=>{setTimeout(()=>{var t=document.getElementById(e.cdata.card.system.codename+"dv");if(t){t.setAttribute("src",e.cdata.cardBackgroundImage);var a=t.querySelector("source");a&&a.setAttribute("src",e.cdata.cardBackgroundImage),t.play()}var s=document.getElementById(e.cdata.card.system.codename+"tv");if(s){s.setAttribute("src",e.cdata.cardBackgroundImageTablet);var n=s.querySelector("source");n&&n.setAttribute("src",e.cdata.cardBackgroundImageTablet),s.play()}var i=document.getElementById(e.cdata.card.system.codename+"mv");if(i){i.setAttribute("src",e.cdata.cardBackgroundImageMobile);var r=i.querySelector("source");r&&r.setAttribute("src",e.cdata.cardBackgroundImageMobile),i.play()}},50)},[e.cdata.card.system.codename,e.cdata.cardBackgroundImage,e.cdata.cardBackgroundImageMobile,e.cdata.cardBackgroundImageTablet]);let t=e.cdata.card.elements.cardTargetsLightboxTargets.value[0],a=e.cdata.card.elements.cardTargetsMainTarget.value[0];(0,n.useContext)(l.J);var i=e.cdata.artLink;""==i&&(i=h.he+"/"+a);var r=!0,o="LongRead";"long_read_card"!=e.cdata.cardType&&(r=!1,o="");var c=!0;void 0==t&&(c=!1);var d=!0;""==e.cdata.cardForegroundImage&&(d=!1);var m=!0;("Hide"==e.cdata.cardShowBackgroundImage||""==e.cdata.cardBackgroundImage)&&(m=!1);var _=!1;e.cdata.cardBackgroundImage.includes(".mp4")&&(m=!1,_=!0),"#FFFFFF"==e.cdata.cardBackgroundColor&&(e.cdata.cardBackgroundColor="#F0F1F4");var g="";return e.cdata.card.elements.cardDisplayOptionsVariant.value.length>0&&"Pin top"==e.cdata.card.elements.cardDisplayOptionsVariant.value[0].name&&(g=" articleLeftFBHPinTop"),(0,s.jsxs)("div",{className:"articleFBH TopicTimelineSpacer Card "+o,"data-cardtype":"StandardArticleCardFBHV","data-codename":e.cdata.cardType,style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsxs)("div",{className:"articleBackFBH",style:{background:e.cdata.cardBackgroundColor,display:m?"flex":"none"},children:[(0,s.jsx)("img",{className:"DesktopOnly articleBackFBHi",src:e.cdata.cardBackgroundImage+"?w=1440&h=900&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc,style:{cursor:c?"pointer":"auto"}}),(0,s.jsx)("img",{className:"TabletOnly articleBackFBHi",src:e.cdata.cardBackgroundImageTablet+"?w=960&h=960&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc,style:{cursor:c?"pointer":"auto"}}),(0,s.jsx)("img",{className:"MobileOnly articleBackFBHi",src:e.cdata.cardBackgroundImageMobile+"?w=500&h=800&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc,style:{cursor:c?"pointer":"auto"}})]}),(0,s.jsxs)("div",{className:"articleBackFBHvHolder",style:{display:_?"flex":"none"},children:[(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"dv",className:"DesktopOnly articleBackFBHv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImage,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"tv",className:"TabletOnly articleBackFBHv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageTablet,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"mv",className:"MobileOnly articleBackFBHv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageMobile,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]})]}),(0,s.jsx)("div",{className:"articleMaskGroupFBH",children:(0,s.jsx)("div",{className:"articleMaskFBH",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, "+e.cdata.cardBackgroundColor+" 23.33%)"}})}),(0,s.jsxs)("div",{className:"articleInnerLock",children:[(0,s.jsxs)(u.Z,{href:c?h.l3+"/"+t:"",className:c?"articleRightFBH GNLink":"articleRightFBH GNLinkDisabled",children:[(0,s.jsx)("div",{className:"articleRightFBHi",style:{display:d?"flex":"none",cursor:c?"pointer":"auto",backgroundImage:"url("+e.cdata.cardForegroundImage+"?w=488&h=488&fit=clip&fm=jpg&q=75)"}}),(0,s.jsx)("div",{className:"ImgPlayButton",style:{display:c?"flex":"none"},children:(0,s.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})})]}),(0,s.jsxs)(u.Z,{href:r?a:i,className:"articleLeftFBH GNLink"+g,children:[(0,s.jsxs)("div",{className:"articlePreLock",children:[(0,s.jsx)("div",{className:"long-read-label",style:{display:r?"inline-block":"none"},children:"IN DEPTH "}),(0,s.jsx)("div",{className:"articlePre",dangerouslySetInnerHTML:{__html:e.cdata.cardEyebrow}})]}),(0,s.jsx)("div",{className:"articleHeadline",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"articleDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}})]})]})]})}var V=(0,n.memo)(U);function Y(e){var t=!0;""==e.cdata.cardSource.elements.quoteCta.value&&(t=!1),"– Bill Gates"==e.cdata.cardSource.elements.quoteCta.value&&(e.cdata.cardSource.elements.quoteCta.value="Bill Gates");var a=!0,n="QuoteImage";if(""==e.cdata.cardBackgroundImage){a=!1;var n="NoImage";e.cdata.cardBackgroundImage=""}if(e.cdata.card.elements.cardDisplayOptionsTheme.value.length>0&&"No image"==e.cdata.card.elements.cardDisplayOptionsTheme.value[0].name){a=!1;var n="NoImage"}var i="";e.cdata.card.elements.cardDisplayOptionsTheme.value.length>0&&"Dark"==e.cdata.card.elements.cardDisplayOptionsTheme.value[0].name&&(i="QuoteThemeDark");var r="";if(e.cdata.card.elements.cardDisplayOptionsType.value.length>0&&("Large image"==e.cdata.card.elements.cardDisplayOptionsType.value[0].name&&(r="QuoteTypeLarge"),"No image"==e.cdata.card.elements.cardDisplayOptionsType.value[0].name)){r="QuoteTypeNoImage",a=!1;var n="NoImage"}var o="";return e.cdata.card.elements.cardDisplayOptionsVariant.value.length>0&&"Right image"!=e.cdata.card.elements.cardDisplayOptionsVariant.value[0].name&&(o="QuoteTypeLeft"),(0,s.jsxs)("div",{className:"QuoteCard_FW TopicTimelineSpacer Card "+i+" "+n,"data-cardtype":"QuoteCard_FW","data-codename":e.cdata.cardType,children:[(0,s.jsxs)("div",{className:"QuoteCard_Background",children:[(0,s.jsx)("div",{className:"QuoteCard_BackgroundAsset",children:(0,s.jsx)("div",{className:"QuoteCard_BackgroundImg",style:{backgroundImage:"url("+e.cdata.cardBackgroundImage+")"}})}),(0,s.jsx)("div",{className:"QuoteCard_BackgroundBlur"})]}),(0,s.jsx)("div",{className:"CardTopEdge"}),(0,s.jsxs)("div",{className:"QuoteCardInner "+o+" "+r,children:[(0,s.jsx)("div",{className:"QuoteCard_FWLeft",children:(0,s.jsxs)("div",{className:"QuoteCard_FWLeftQuoteHolder",children:[(0,s.jsxs)("div",{className:"QuoteCard_FWLeftQuote",children:[(0,s.jsx)("img",{className:"QuoteCard_FWLeftQuoteImg",src:"/quote.png",alt:""}),(0,s.jsx)("img",{className:"QuoteCard_FWLeftQuoteImgW",src:"/quoteW.png",alt:""})]}),(0,s.jsx)("div",{className:"QuoteCard_FWLeftBody GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSource.elements.quoteCopy.value}}),(0,s.jsx)("div",{className:"QuoteCard_FWLeftAttrib",dangerouslySetInnerHTML:{__html:e.cdata.cardSource.elements.quoteCta.value},style:{display:t?"flex":"none"}})]})}),(0,s.jsx)("div",{className:"QuoteCard_FWRight",style:{display:a?"flex":"none"},children:(0,s.jsx)("div",{className:"QuoteCard_FWRightHolder",children:(0,s.jsx)("div",{className:"QuoteCard_FWRightImg",style:{backgroundImage:"url("+e.cdata.cardBackgroundImage+"?w=1018&h=900&fit=clip&fm=jpg&q=75)"}})})})]}),(0,s.jsx)("div",{className:"CardBottomEdge"})]})}var Z=(0,n.memo)(Y);function K(e){(0,n.useEffect)(()=>{setTimeout(()=>{var t=document.getElementById(e.cdata.card.system.codename+"dv");if(t){t.setAttribute("src",e.cdata.cardBackgroundImage);var a=t.querySelector("source");a&&a.setAttribute("src",e.cdata.cardBackgroundImage),t.play()}var s=document.getElementById(e.cdata.card.system.codename+"tv");if(s){s.setAttribute("src",e.cdata.cardBackgroundImageTablet);var n=s.querySelector("source");n&&n.setAttribute("src",e.cdata.cardBackgroundImageTablet),s.play()}var i=document.getElementById(e.cdata.card.system.codename+"mv");if(i){i.setAttribute("src",e.cdata.cardBackgroundImageMobile);var r=i.querySelector("source");r&&r.setAttribute("src",e.cdata.cardBackgroundImageMobile),i.play()}},50)},[e.cdata.card.system.codename,e.cdata.cardBackgroundImage,e.cdata.cardBackgroundImageMobile,e.cdata.cardBackgroundImageTablet]);let t=e.cdata.card.elements.cardTargetsLightboxTargets.value[0],a=e.cdata.card.elements.cardTargetsMainTarget.value[0];(0,n.useContext)(l.J);var i=!0,r="LongRead",o=e.cdata.artLink;""==o&&(o=h.he+"/"+a),"long_read_card"!=e.cdata.cardType&&(i=!1,r="");var c=!0;void 0==t&&(c=!1);var d=!0;""==e.cdata.cardForegroundImage&&(d=!1);var m="?w=488&h=488&fit=clip&fm=jpg&q=75)";e.cdata.cardForegroundImage.includes(".png")&&(m="?w=488&h=488&fit=clip)");var _=!0;"Hide"==e.cdata.cardShowBackgroundImage&&(_=!1);var g=!1;e.cdata.cardBackgroundImage.includes(".mp4")&&(_=!1,g=!0),"#FFFFFF"==e.cdata.cardBackgroundColor&&(e.cdata.cardBackgroundColor="#F0F1F4");var p="";return e.cdata.card.elements.cardDisplayOptionsVariant.value.length>0&&"Pin top"==e.cdata.card.elements.cardDisplayOptionsVariant.value[0].name&&(p=" articleLeftTCPinTop"),0==e.cdata.card.elements.cardDisplayOptionsHeroItem.value.length&&(e.cdata.cardBackgroundImageTablet=e.cdata.cardBackgroundImage,e.cdata.cardBackgroundImageMobile=e.cdata.cardBackgroundImage),(0,s.jsxs)("div",{className:"articleTC Card "+r,"data-cardtype":"StandardArticleCardTCV","data-codename":e.cdata.cardType,style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsx)(u.Z,{href:c?h.l3+"/"+t:"",className:c?"articleBackTC GNLink":"articleBackTC GNLinkDisabled",children:(0,s.jsxs)("div",{className:"articleBackTCinner",style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsxs)("div",{className:"articleBackTC_img",style:{cursor:c?"pointer":"auto",display:_?"flex":"none"},children:[(0,s.jsx)("img",{className:"DesktopOnly",src:e.cdata.cardBackgroundImage+"?w=810&h=528&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc}),(0,s.jsx)("img",{className:"TabletOnly",src:e.cdata.cardBackgroundImageTablet+"?w=704&h=440&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc}),(0,s.jsx)("img",{className:"MobileOnly",src:e.cdata.cardBackgroundImageMobile+"?w=350&h=220&fit=clip&fm=jpg&q=75",alt:e.cdata.cardBackgroundImageDesc})]}),(0,s.jsxs)("div",{className:"articleBackTCvHolder",style:{display:g?"flex":"none"},children:[(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"dv",className:"DesktopOnly articleBackTCv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImage,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"tv",className:"TabletOnly articleBackTCv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageTablet,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"mv",className:"MobileOnly articleBackTCv",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageMobile,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]})]}),(0,s.jsx)("div",{className:"articleBackTC_maskGroup",children:(0,s.jsx)("div",{className:"articleBackTC_mask",style:{background:"linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, "+e.cdata.cardBackgroundColor+" 18.4%)"}})})]})}),(0,s.jsxs)("div",{className:"articleInnerLockTC",children:[(0,s.jsx)("div",{className:"articleRightTCiWrap",style:{pointerEvents:c?"all":"none"},children:(0,s.jsxs)(u.Z,{href:h.l3+"/"+t,className:"articleRightTC GNLink",children:[(0,s.jsx)("div",{className:"articleRightTCi",style:{display:d?"flex":"none",cursor:c?"pointer":"auto",backgroundImage:"url("+e.cdata.cardForegroundImage+m}}),(0,s.jsx)("div",{className:"ImgPlayButton",style:{display:c?"flex":"none"},children:(0,s.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})})]})}),(0,s.jsxs)(u.Z,{href:i?a:o,className:"articleLeftTC GNLink"+p,children:[(0,s.jsxs)("div",{className:"articlePreLock",children:[(0,s.jsx)("div",{className:"long-read-label",style:{display:i?"inline-block":"none"},children:"IN DEPTH "}),(0,s.jsx)("div",{className:"articlePre",dangerouslySetInnerHTML:{__html:e.cdata.cardEyebrow}})]}),(0,s.jsx)("div",{className:"articleHeadline",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"articleDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}})]})]})]})}var q=(0,n.memo)(K);function Q(e){var t="";return e.cdata.card.elements.cardDisplayOptionsTheme.value.length>0&&"Dark"==e.cdata.card.elements.cardDisplayOptionsTheme.value[0].name&&(t="BannerThemeDark"),(0,s.jsxs)("div",{className:"BannerCard_Std TopicTimelineSpacer Card "+t,"data-cardtype":"BannerCard_Std","data-codename":e.cdata.cardType,style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsx)("div",{className:"CardTopEdge"}),(0,s.jsxs)("div",{className:"BannerCard_Inner",children:[(0,s.jsxs)("div",{className:"BannerCard_StdLeft",children:[(0,s.jsx)("div",{className:"BannerCard_StdTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"BannerCard_StdDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}}),(0,s.jsx)("div",{className:"BannerCard_StdSource",dangerouslySetInnerHTML:{__html:e.cdata.cardEyebrow}})]}),(0,s.jsx)("div",{className:"BannerCard_StdRight",children:(0,s.jsx)(w.Z,{itemCN:e.cdata.cardBackgroundImageSet,isCanvas:!1})})]}),(0,s.jsx)("div",{className:"CardBottomEdge"})]})}var z=(0,n.memo)(Q);function J(e){e.cdata.card.elements.cardTargetsLightboxTargets.value[0],(0,n.useContext)(l.J);let t=e.cdata.card.elements.cardSource.value;t.shift();var a="";return(e.cdata.card.elements.cardDisplayOptionsHideCampaignHeader.value.length>0&&"hide_header"==e.cdata.card.elements.cardDisplayOptionsHideCampaignHeader.value[0].codename&&(a=" CampaignArticlesHolderHideHeader"),"Full bleed hero"==e.cdata.cardSize)?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"CampaignArticlesHolderFBH TopicTimelineSpacer Card"+a,children:[(0,s.jsx)(V,{cdata:e.cdata}),(0,s.jsxs)("div",{className:"CampaignArticles",children:[(0,s.jsx)("div",{className:"CampaignArticlesSpacer"}),(0,s.jsx)("div",{className:"CampaignArticlesList",children:t.map((t,a)=>(0,s.jsxs)("div",{className:"CampaignArticlesRow",children:[(0,s.jsxs)("div",{className:"CampaignArticlesNumber",children:[a+1,"."]}),(0,s.jsx)(_.Z,{codename:t,parentItem:e.cdata.card},a)]},"R"+a))})]})]})}):(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"CampaignArticlesHolder TopicTimelineSpacer Card"+a,children:[(0,s.jsx)(v,{cdata:e.cdata}),(0,s.jsxs)("div",{className:"CampaignArticles",children:[(0,s.jsx)("div",{className:"CampaignArticlesSpacer"}),(0,s.jsx)("div",{className:"CampaignArticlesList",children:t.map((t,a)=>(0,s.jsxs)("div",{className:"CampaignArticlesRow",children:[(0,s.jsxs)("div",{className:"CampaignArticlesNumber",children:[a+1,"."]}),(0,s.jsx)(_.Z,{codename:t,parentItem:e.cdata.card},a)]},"R"+a))})]})]})})}var X=(0,n.memo)(J);function $(e){var t="SectionCardLight",a=e.cdata.cardBackgroundColor;return e.cdata.card.elements.cardDisplayOptionsTheme.value.length>0&&"Dark"==e.cdata.card.elements.cardDisplayOptionsTheme.value[0].name&&(t="SectionCardDark","#FFFFFF"==a&&(a="#777777")),"#FFFFFF"==a&&(a="#CCCCCC"),(0,s.jsxs)("div",{className:"SectionCard_FBH TopicTimelineSpacer Card "+t,"data-cardtype":"SectionCard_FBH","data-codename":e.cdata.cardType,children:[(0,s.jsx)("div",{className:"CardTopEdge"}),(0,s.jsx)("div",{className:"SectionCard_FBHBack",style:{background:a},children:(0,s.jsx)(w.Z,{itemCN:e.cdata.card.elements.cardDisplayOptionsHeroItem.value[0],isCanvas:!1})}),(0,s.jsx)(u.Z,{href:e.cdata.cardSource.system.codename,children:(0,s.jsxs)("div",{className:"SectionCard_FBHInner",children:[(0,s.jsx)("div",{className:"SectionCard_FBHTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"SectionCard_FBHDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}}),(0,s.jsx)("div",{className:"SectionCard_FBHCTA",children:"Explore"})]})}),(0,s.jsx)("div",{className:"CardBottomEdge"})]})}var ee=(0,n.memo)($);function et(e){return e.cdata.card.elements.cardTargetsLightboxTargets.value[0],(0,n.useContext)(l.J),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"CampaignPodcastsHolder Card",children:(0,s.jsx)(v,{cdata:e.cdata})})})}var ea=(0,n.memo)(et);function es(e){return(0,s.jsxs)("div",{className:"HybridHeader Card","data-cardtype":"HybridHeaderCard","data-codename":e.cdata.cardType,children:[(0,s.jsx)("div",{className:"HybridHeaderInner",children:(0,s.jsx)("div",{className:"HybridHeaderTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}})}),(0,s.jsx)("div",{className:"CardBottomEdge"})]})}var en=(0,n.memo)(es);function ei(e){return(0,s.jsxs)("div",{className:"BannerCard_LG Card","data-cardtype":"BannerCard_LG","data-codename":e.cdata.cardType,style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsx)("div",{className:"CardTopEdge"}),(0,s.jsxs)("div",{className:"BannerCard_Inner",children:[(0,s.jsxs)("div",{className:"BannerCard_LGLeft",children:[(0,s.jsx)("div",{className:"BannerCard_LGTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"BannerCard_LGDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}}),(0,s.jsx)("div",{className:"BannerCard_LGSource",dangerouslySetInnerHTML:{__html:e.cdata.cardEyebrow}})]}),(0,s.jsx)("div",{className:"BannerCard_LGRight",children:(0,s.jsx)(w.Z,{itemCN:e.cdata.cardBackgroundImageSet,isCanvas:!1})})]}),(0,s.jsx)("div",{className:"CardBottomEdge"})]})}var er=(0,n.memo)(ei);function eo(e){var t=!1;e.cdata.cardBackgroundImage.includes(".mp4")&&(t=!0);var a=e.cdata.cardSource.system.name.toLowerCase();return(0,s.jsx)("div",{className:"MenuCard Card","data-cardtype":"MenuCard","data-codename":e.cdata.cardType,children:(0,s.jsxs)(u.Z,{href:a,children:[(0,s.jsxs)("div",{className:"MenuCard-text-container ",children:[(0,s.jsxs)("div",{className:"MenuCard-title-container",children:[(0,s.jsxs)("div",{className:"MenuCard-eyebrow-container",children:[(0,s.jsx)("div",{className:"MenuCard-long-read",style:{display:"none"}}),(0,s.jsx)("div",{className:"MenuCard-eyebrow",dangerouslySetInnerHTML:{__html:e.cdata.cardEyebrow}})]}),(0,s.jsx)("div",{className:"MenuCard-article-title",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}})]}),(0,s.jsx)("div",{className:"MenuCard-subtitle-container",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}})]}),(0,s.jsxs)("div",{className:"MenuCard-image-container",children:[(0,s.jsx)("div",{className:"MenuCard-background-color",style:{background:e.cdata.cardBackgroundColor}}),(0,s.jsxs)("div",{className:"MenuCard-assets",children:[(0,s.jsx)("div",{className:"MenuCard-image DesktopOnly",style:{backgroundImage:"url("+e.cdata.cardBackgroundImage+"?w=341&h=213&fit=clip&fm=jpg&q=75)",display:t?"none":"flex"}}),(0,s.jsx)("div",{className:"MenuCard-video-holder",style:{display:t?"flex":"none"},children:(0,s.jsxs)("video",{loop:!0,autoPlay:!0,muted:!0,playsInline:!0,className:"MenuCard-video",children:[(0,s.jsx)("source",{src:(0,A.t6)(e.cdata.cardBackgroundImage),type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]})})]}),(0,s.jsx)("div",{className:"MenuCard-book-podcast-container"})]})]})})}var el=(0,n.memo)(eo);function ec(e){(0,n.useEffect)(()=>{setTimeout(()=>{var t=document.getElementById(e.cdata.card.system.codename+"dv");if(t){t.setAttribute("src",e.cdata.cardBackgroundImage);var a=t.querySelector("source");a&&a.setAttribute("src",e.cdata.cardBackgroundImage),t.play()}var s=document.getElementById(e.cdata.card.system.codename+"tv");if(s){s.setAttribute("src",e.cdata.cardBackgroundImageTablet);var n=s.querySelector("source");n&&n.setAttribute("src",e.cdata.cardBackgroundImageTablet),s.play()}var i=document.getElementById(e.cdata.card.system.codename+"mv");if(i){i.setAttribute("src",e.cdata.cardBackgroundImageMobile);var r=i.querySelector("source");r&&r.setAttribute("src",e.cdata.cardBackgroundImageMobile),i.play()}},50)},[e.cdata.card.system.codename,e.cdata.cardBackgroundImage,e.cdata.cardBackgroundImageMobile,e.cdata.cardBackgroundImageTablet]);var t="showTopicHeaderImage";(""==e.cdata.cardBackgroundImage||e.cdata.card.elements.cardDisplayOptionsHideBackgroundItem.value.length>0)&&(t="");var a="topicHeaderThemeDefault";e.cdata.card.elements.cardDisplayOptionsTheme.value.length>0&&(a="topicHeaderTheme"+e.cdata.card.elements.cardDisplayOptionsTheme.value[0].name),""==e.cdata.card.elements.backgroundSnippetHexColor.value&&("topicHeaderThemeDark"==a&&(e.cdata.cardBackgroundColor="#212429"),"topicHeaderThemeLight"==a&&(e.cdata.cardBackgroundColor="#F0F1F4"));var i=!1;return e.cdata.cardBackgroundImage.includes(".mp4")&&(i=!0),(0,s.jsxs)("div",{className:"topicHeader TopicTimelineSpacer Card "+t+" "+a,"data-cardtype":"TopicHeaderCard","data-codename":e.cdata.cardType,style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsxs)("div",{className:"topicHeaderAssets",style:{display:i?"none":"flex"},children:[(0,s.jsx)("div",{className:"topicHeaderImage DesktopOnly",style:{background:"url("+e.cdata.cardBackgroundImage+"?w=1441&h=810&fit=clip&fm=jpg&q=75) 50% / cover no-repeat"}}),(0,s.jsx)("div",{className:"topicHeaderImage TabletOnly",style:{background:"url("+e.cdata.cardBackgroundImageTablet+"?w=769&h=433&fit=clip&fm=jpg&q=75) 50% / cover no-repeat"}}),(0,s.jsx)("div",{className:"topicHeaderImage MobileOnly",style:{background:"url("+e.cdata.cardBackgroundImageMobile+"?w=390&h=400&fit=clip&fm=jpg&q=75) 50% / cover no-repeat"}})]}),(0,s.jsxs)("div",{className:"topicHeaderVideoLoop",style:{display:i?"flex":"none"},children:[(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"dv",className:"topicHeaderVideoAsset DesktopOnly",height:"266",width:"1440",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImage}),"Your browser does not support the video tag..."]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"tv",className:"topicHeaderVideoAsset TabletOnly",height:"312",width:"962",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageTablet}),"Your browser does not support the video tag..."]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"mv",className:"topicHeaderVideoAsset MobileOnly",height:"390",width:"400",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageMobile}),"Your browser does not support the video tag..."]})]}),(0,s.jsx)("div",{className:"topicHeaderInner",children:(0,s.jsx)("div",{className:"topicHeaderTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}})}),(0,s.jsx)("div",{className:"topicHeaderSeparator"})]})}var ed=(0,n.memo)(ec);function em(e){(0,n.useEffect)(()=>{setTimeout(()=>{var t=document.getElementById(e.cdata.card.system.codename+"dv");if(t){t.setAttribute("src",e.cdata.cardBackgroundImage);var a=t.querySelector("source");a&&a.setAttribute("src",e.cdata.cardBackgroundImage),t.play()}var s=document.getElementById(e.cdata.card.system.codename+"tv");if(s){s.setAttribute("src",e.cdata.cardBackgroundImageTablet);var n=s.querySelector("source");n&&n.setAttribute("src",e.cdata.cardBackgroundImageTablet),s.play()}var i=document.getElementById(e.cdata.card.system.codename+"mv");if(i){i.setAttribute("src",e.cdata.cardBackgroundImageMobile);var r=i.querySelector("source");r&&r.setAttribute("src",e.cdata.cardBackgroundImageMobile),i.play()}},50)},[e.cdata.card.system.codename,e.cdata.cardBackgroundImage,e.cdata.cardBackgroundImageMobile,e.cdata.cardBackgroundImageTablet]);var t="showTopicHeaderImage";(""==e.cdata.cardBackgroundImage||e.cdata.card.elements.cardDisplayOptionsHideBackgroundItem.value.length>0)&&(t="");var a=!1;e.cdata.cardBackgroundImage.includes(".mp4")&&(a=!0);var i="topicHeaderThemeDefault";return e.cdata.card.elements.cardDisplayOptionsTheme.value.length>0&&(i="topicHeaderTheme"+e.cdata.card.elements.cardDisplayOptionsTheme.value[0].name),""==e.cdata.card.elements.backgroundSnippetHexColor.value&&("topicHeaderThemeDark"==i&&(e.cdata.cardBackgroundColor="#212429"),"topicHeaderThemeLight"==i&&(e.cdata.cardBackgroundColor="#F0F1F4")),(0,s.jsxs)("div",{className:"topicHeaderExpanded TopicTimelineSpacer Card "+t+" "+i,"data-cardtype":"TopicHeaderCardExpanded","data-codename":e.cdata.cardType,style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsxs)("div",{className:"topicHeaderAssetsExpanded",style:{display:a?"none":"flex"},children:[(0,s.jsx)("div",{className:"topicHeaderImageExpanded DesktopOnly",style:{background:"url("+e.cdata.cardBackgroundImage+"?w=1441&h=810&fit=clip&fm=jpg&q=75) 50% / cover no-repeat"}}),(0,s.jsx)("div",{className:"topicHeaderImageExpanded TabletOnly",style:{background:"url("+e.cdata.cardBackgroundImageTablet+"?w=769&h=433&fit=clip&fm=jpg&q=75) 50% / cover no-repeat"}}),(0,s.jsx)("div",{className:"topicHeaderImageExpanded MobileOnly",style:{background:"url("+e.cdata.cardBackgroundImageMobile+"?w=390&h=400&fit=clip&fm=jpg&q=75) 50% / cover no-repeat"}})]}),(0,s.jsxs)("div",{className:"topicHeaderVideoLoop",style:{display:a?"flex":"none"},children:[(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"dv",className:"topicHeaderVideoAsset DesktopOnly",height:"720",width:"1440",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImage}),"Your browser does not support the video tag..."]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"tv",className:"topicHeaderVideoAsset TabletOnly",height:"433",width:"769",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageTablet}),"Your browser does not support the video tag..."]}),(0,s.jsxs)("video",{id:e.cdata.card.system.codename+"mv",className:"topicHeaderVideoAsset MobileOnly",height:"272",width:"482",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:e.cdata.cardBackgroundImageMobile}),"Your browser does not support the video tag..."]})]}),(0,s.jsx)("div",{className:"topicHeaderInnerExpanded",children:(0,s.jsx)("div",{className:"topicHeaderTitleExpanded",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}})}),(0,s.jsx)("div",{className:"topicHeaderSeparator"})]})}var eu=(0,n.memo)(em);function eh(e){var t="topicHeaderThemeDefault";return e.cdata.card.elements.cardDisplayOptionsTheme.value.length>0&&(t="topicHeaderTheme"+e.cdata.card.elements.cardDisplayOptionsTheme.value[0].name),""==e.cdata.card.elements.backgroundSnippetHexColor.value&&("topicHeaderThemeDark"==t&&(e.cdata.cardBackgroundColor="#212429"),"topicHeaderThemeLight"==t&&(e.cdata.cardBackgroundColor="#F0F1F4")),(0,s.jsx)("div",{className:"topicHeaderTextOnly TopicTimelineSpacer Card "+t,"data-cardtype":"TopicHeaderCardTextOnly","data-codename":e.cdata.cardType,style:{background:e.cdata.cardBackgroundColor},children:(0,s.jsx)("div",{className:"topicHeaderInner",children:(0,s.jsx)("div",{className:"topicHeaderTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}})})})}var e_=(0,n.memo)(eh),eg=a(9868);function ep(e){let t=e.cdata.card.elements.cardTargetsLightboxTargets.value[0];(0,n.useContext)(l.J);var a="SANVThemeLight";e.cdata.card.elements.cardDisplayOptionsTheme.value.length>0&&"Dark"==e.cdata.card.elements.cardDisplayOptionsTheme.value[0].name&&(a="SANVThemeDark");var i="SANV_Whole";e.cdata.card.elements.cardDisplayOptionsVariant.value.length>0&&"Right image"==e.cdata.card.elements.cardDisplayOptionsVariant.value[0].name&&(i="SANV_Split");let r=(0,eg.Q)(e.cdata.cardSource.elements.kloudinary.value);r.ratio;var o=(0,A.uL)(r.width,r.height),c="SANV_Medium";if(e.cdata.card.elements.cardDisplayOptionsSize.value.length>0)switch(e.cdata.card.elements.cardDisplayOptionsSize.value[0].name){case"Full width":var c="SANV_FW TopicTimelineSpacer";break;case"two column card":var c="SANV_TC"}var d="",m="",_="";let g=r.poster.split("/");g.length>1&&(d="https://videos.gatesnotes.com/image/upload/c_scale,w_"+r.width+",ar_"+o+"/q_auto/video/"+g[g.length-1],m="https://videos.gatesnotes.com/image/upload/c_scale,w_"+r.width+",ar_"+o+"/q_auto/video/"+g[g.length-1],_="https://videos.gatesnotes.com/image/upload/c_scale,w_"+r.width+",ar_"+o+"/q_auto/video/"+g[g.length-1]);let p=e.cdata.cardSource;var x="",v="",C="",b="Fallback image",f="Fallback image",I="Fallback image",S="",T="",N="",E="",k="",j="";p.elements.posterImage.value.length>0&&(x=(0,A.t6)(p.elements.posterImage.value[0].url),b=p.elements.posterImage.value[0].description,p.elements.posterImage.value[0].url.includes(".mp4")&&(S="video85",E=(0,A.t6)(p.elements.posterImage.value[0].url),x=(0,A.t6)(p.elements.posterImage.value[1].url),b=p.elements.posterImage.value[1].description)),p.elements.posterImagePortrait.value.length>0&&(v=(0,A.t6)(p.elements.posterImagePortrait.value[0].url),f=p.elements.posterImagePortrait.value[0].description,p.elements.posterImagePortrait.value[0].url.includes(".mp4")&&(T="video58",k=(0,A.t6)(p.elements.posterImagePortrait.value[0].url),v=(0,A.t6)(p.elements.posterImagePortrait.value[1].url),f=p.elements.posterImagePortrait.value[1].description)),p.elements.posterImageSquare.value.length>0&&(C=(0,A.t6)(p.elements.posterImageSquare.value[0].url),I=p.elements.posterImageSquare.value[0].description,p.elements.posterImageSquare.value[0].url.includes(".mp4")&&(N="video11",j=(0,A.t6)(p.elements.posterImageSquare.value[0].url),C=(0,A.t6)(p.elements.posterImageSquare.value[1].url),I=p.elements.posterImageSquare.value[1].description)),""==x&&(x=d),""==v&&(v=m),""==C&&(C=_),x+="?w=868&fit=clip&fm=jpg&q=75",v+="?w=380&fit=clip&fm=jpg&q=75",C+="?w=528&fit=clip&fm=jpg&q=75";var y=!0;return""==e.cdata.cardTitle&&(y=!1),(0,s.jsx)("div",{className:"StandAloneNewVideoCard Card "+c+" "+a+" "+i+" "+S+" "+T+" "+N,children:(0,s.jsxs)(u.Z,{href:h.l3+"/"+t,className:"GNLink",children:[(0,s.jsx)("img",{className:"SAVC_Img SAVC_Img_85",src:x,alt:b}),(0,s.jsxs)("video",{className:"SAVC_Vid_85",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:E,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsx)("img",{className:"SAVC_Img SAVC_Img_58",src:v,alt:f}),(0,s.jsx)("img",{className:"SAVC_Img SAVC_Img_58_Mask",src:v,alt:f}),(0,s.jsxs)("video",{className:"SAVC_Vid_58",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:k,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsx)("img",{className:"SAVC_Img SAVC_Img_11",src:C,alt:I}),(0,s.jsx)("img",{className:"SAVC_Img SAVC_Img_11_Mask",src:C,alt:I}),(0,s.jsxs)("video",{className:"SAVC_Vid_11",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:j,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsx)("div",{style:{display:y?"flex":"none"},className:"StandAloneNewVideoCard_LockupTop",children:(0,s.jsx)("div",{className:"StandAloneNewVideoCard_Title",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}})}),(0,s.jsx)("div",{className:"StandAloneNewVideoCard_LockupBottom",children:(0,s.jsx)("div",{className:"StandAloneNewVideoCard_ImgP",children:(0,s.jsx)("div",{className:"ImgPlayButton",children:(0,s.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})})})})]})})}var ex=(0,n.memo)(ep),ev=a(9734);function eC(e){var t=e.cdata.cardSource,a="SANIThemeLight";e.cdata.card.elements.cardDisplayOptionsTheme.value.length>0&&"Dark"==e.cdata.card.elements.cardDisplayOptionsTheme.value[0].name&&(a="SANIThemeDark");var n="SANI_Whole";e.cdata.card.elements.cardDisplayOptionsVariant.value.length>0&&"Right image"==e.cdata.card.elements.cardDisplayOptionsVariant.value[0].name&&(n="SANI_Split");var i="SANI_Medium";if(e.cdata.card.elements.cardDisplayOptionsSize.value.length>0)switch(e.cdata.card.elements.cardDisplayOptionsSize.value[0].name){case"Full width":i="SANI_FW TopicTimelineSpacer";break;case"two column card":i="SANI_TC"}var r="";t.elements.itemImageSet.value.length>0&&(r=t.elements.itemImageSet.value[0]);let{data:o}=(0,ev.ZP)(r);if(!o)return(0,s.jsx)(s.Fragment,{});let l=o;var c=(0,A.t6)(l.elements.desktopImage.value[0].url),d=l.elements.desktopImage.value[0].description;l.elements.tabletImage.value.length>0&&(c=(0,A.t6)(l.elements.tabletImage.value[0].url),d=l.elements.tabletImage.value[0].description);var m=(0,A.t6)(l.elements.desktopImage.value[0].url),u=l.elements.desktopImage.value[0].description;l.elements.mobileImage.value.length>0&&(m=(0,A.t6)(l.elements.mobileImage.value[0].url),u=l.elements.mobileImage.value[0].description);var h=!0;return"<p><br></p>"==t.elements.caption.value&&(h=!1),(0,s.jsxs)("div",{className:"StandAloneNewImage Card "+i+" "+a+" "+n,children:[(0,s.jsx)("img",{className:"SANI_Image SANI85",src:(0,A.t6)(l.elements.desktopImage.value[0].url),alt:l.elements.desktopImage.value[0].description}),(0,s.jsx)("img",{className:"SANI_Image SANI58",src:c,alt:d}),(0,s.jsx)("img",{className:"SANI_Image SANI58_Mask",src:c,alt:d}),(0,s.jsx)("img",{className:"SANI_Image SANI11",src:m,alt:u}),(0,s.jsx)("img",{className:"SANI_Image SANI11_Mask",src:m,alt:u}),(0,s.jsx)("div",{style:{display:h?"flex":"none"},className:"StandAloneNewImage_LockupCopy",children:(0,s.jsx)("div",{className:"StandAloneNewImage_Desc GNDescCopy",dangerouslySetInnerHTML:{__html:t.elements.caption.value}})})]})}var eb=(0,n.memo)(eC);function ef(e){let t=e.cdata.card.elements.cardTargetsLightboxTargets.value[0];(0,n.useContext)(l.J);var a="";return e.cdata.cardSource.elements.posterImage.value.length>0&&(a=(0,A.t6)(e.cdata.cardSource.elements.posterImage.value[0].url)),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"TrailerHolderTC Card",style:{background:e.cdata.cardBackgroundColor},children:[(0,s.jsxs)("div",{className:"TrailerContent",children:[(0,s.jsx)("div",{className:"TrailerTitle",dangerouslySetInnerHTML:{__html:e.cdata.cardTitle}}),(0,s.jsx)("div",{className:"TrailerDescription",dangerouslySetInnerHTML:{__html:e.cdata.cardSubtitle}})]}),(0,s.jsxs)(u.Z,{href:h.l3+"/"+t,className:"TrailerAssets GNLink",children:[(0,s.jsx)("div",{className:"TrailerAsset",style:{backgroundImage:"url("+a+")"}}),(0,s.jsx)("div",{className:"TrailerIcons",children:(0,s.jsx)("div",{className:"TrailerIcon",children:(0,s.jsx)("img",{className:"TrailerPlayIcon",src:"/play_circle.svg",alt:"Play button"})})})]})]})})}var eI=(0,n.memo)(ef);function eS(e){switch(e.cdata.cardType){case i.card_types.terms.memo_card.codename:return(0,s.jsx)(p,{cdata:e.cdata});case i.card_types.terms.header_card.codename:if(e.cdata.cardSource.system){if("hybrid_header"===e.cdata.cardSource.system.type)return(0,s.jsx)(en,{cdata:e.cdata});switch(e.cdata.cardSize){case"Expanded":return(0,s.jsx)(eu,{cdata:e.cdata});case"Text only":return(0,s.jsx)(e_,{cdata:e.cdata});default:return(0,s.jsx)(ed,{cdata:e.cdata})}}else{if(0==e.cdata.card.elements.cardDisplayOptionsType.value.length)return(0,s.jsx)(s.Fragment,{children:"Set Type to Section Topic or Book-topic"});if("Section"==e.cdata.card.elements.cardDisplayOptionsType.value[0].name)switch(e.cdata.cardSize){case"Expanded":return(0,s.jsx)(eu,{cdata:e.cdata});case"Text only":return(0,s.jsx)(e_,{cdata:e.cdata});default:return(0,s.jsx)(ed,{cdata:e.cdata})}else if("Topic"!=e.cdata.card.elements.cardDisplayOptionsType.value[0].name&&"Book-topic"!=e.cdata.card.elements.cardDisplayOptionsType.value[0].name)return(0,s.jsx)(s.Fragment,{children:"Set Type to Section Topic or Book-topic"});else switch(e.cdata.cardSize){case"Expanded":return(0,s.jsx)(eu,{cdata:e.cdata});case"Text only":return(0,s.jsx)(e_,{cdata:e.cdata});default:return(0,s.jsx)(ed,{cdata:e.cdata})}}break;case i.card_types.terms.banner_card.codename:switch(e.cdata.cardSize){case"Full bleed hero":case"Full bleed":case"Full width":case"Medium card":case"Article listing":case"Default":return(0,s.jsx)(z,{cdata:e.cdata});case"Large card":return(0,s.jsx)(er,{cdata:e.cdata});default:return(0,s.jsx)(s.Fragment,{})}break;case i.card_types.terms.section_card.codename:switch(e.cdata.cardSize){case"Full bleed hero":return(0,s.jsx)(ee,{cdata:e.cdata});case"Full bleed":return(0,s.jsx)(O,{cdata:e.cdata});case"Full width":return(0,s.jsx)(R,{cdata:e.cdata});default:return(0,s.jsx)(M,{cdata:e.cdata})}break;case i.card_types.terms.topic_card.codename:switch(e.cdata.cardSize){case"Full bleed":case"Full width":return(0,s.jsx)(G,{cdata:e.cdata});default:return(0,s.jsx)(P,{cdata:e.cdata})}break;case i.card_types.terms.standalone_video_card.codename:return(0,s.jsx)(ex,{cdata:e.cdata});case i.card_types.terms.standalone_image_card.codename:return(0,s.jsx)(eb,{cdata:e.cdata});case i.card_types.terms.quote_card.codename:return(0,s.jsx)(Z,{cdata:e.cdata});case i.card_types.terms.trailer_card.codename:if("two column card"===e.cdata.cardSize)return(0,s.jsx)(eI,{cdata:e.cdata});return(0,s.jsx)(y,{cdata:e.cdata});case i.card_types.terms.campaign_articles_card.codename:return(0,s.jsx)(X,{cdata:e.cdata});case i.card_types.terms.campaign_podcasts_card.codename:return(0,s.jsx)(ea,{cdata:e.cdata});case i.card_types.terms.menu_card.codename:return(0,s.jsx)(el,{cdata:e.cdata});default:case i.card_types.terms.podcast_card.codename:case i.card_types.terms.book_card.codename:case i.card_types.terms.long_read_card.codename:case i.card_types.terms.standard_article_card.codename:switch(e.cdata.cardSize){case"Full bleed hero":return(0,s.jsx)(V,{cdata:e.cdata});case"Full bleed":return(0,s.jsx)(v,{cdata:e.cdata});case"Full width":case"Default":return(0,s.jsx)(b,{cdata:e.cdata});case"Large card":return(0,s.jsx)(I,{cdata:e.cdata});case"Medium card":return(0,s.jsx)(T,{cdata:e.cdata});case"Article listing":return(0,s.jsx)(k,{cdata:e.cdata});case"two column card":return(0,s.jsx)(q,{cdata:e.cdata});default:return(0,s.jsx)(s.Fragment,{children:e.cdata.cardSize+": size not coded"})}}}var eT=(0,n.memo)(eS)},2199:function(e,t,a){"use strict";a.d(t,{U:function(){return u}});var s=a(5893),n=a(7294),i=a(5675),r=a.n(i),o=a(521),l=a(1590),c=a(1959),d=a(8340),m=a(957);function u(){let e=document.getElementById("CommentsHolder"),t=document.getElementById("post-comment-input-text-area");e&&(e.classList.remove("SubmitComment"),""!=t.value&&e.classList.add("SubmitComment"))}function h(e){if(!e.CommMaster||!e.CommNew||!e.CommOff||!e.CommMaster.depois||0==e.CommNew.length||0==e.CommOff.length)return(0,s.jsx)(s.Fragment,{});let t=document.getElementById("post-comment-feedback");var a,n,i,u="";function _(){let e=document.getElementById("CommentsHolder");document.getElementById("post-comment-input-text-area"),e&&e.classList.contains("SubmitComment")&&(e.classList.remove("SubmitComment"),e.classList.contains("ReplyComment")?et("reply",e.getAttribute("data-postg"),e.getAttribute("data-postg"),!1,e.getAttribute("data-posta")):et())}setInterval(()=>{_()},100);var g="",p=!1;function x(){return(0,l.Gx)(),{c:(0,l.Gx)(),d:(0,l.Gx)(),n:(0,o.me)("FullName"),g:localStorage.getItem("gniUsr"),m:g,t:q("state","new")}}function v(e){null!=e.gui&&null!=e.gui.g&&null!=e.gui.ui&&null!=e.g&&""!=e.gui.g&&""!=e.gui.ui&&""!=e.g&&ei(e.g,e.gui.g,e.gui.ui)}function C(t){if(null!=t.ui&&(t.ui.bozc||t.ui.delc)){var a=en(e=>e.g===t.g,e.CommData.posts);a.ui=t.ui,t.a==$||a.r.length}}function b(t){return!!e.CommMaster.depois.includes(t)}function f(t){if(null!=t.b&&null!=t.g&&""!=t.b&&""!=t.g){var a=en(e=>e.g===t.g,e.CommData.posts);a.b=t.b,(b(a.a)||W(a))&&a.a==$&&("deleted"==a.s||"banned"==a.s||a.ui.delc)}}function I(e){var t=0;return e.guil&&e.guil.forEach(e=>{e.ui.interactions&&e.ui.interactions.forEach(e=>{let a=e;a.l&&(t+=1)})}),t}function S(e){0==I(e)||V(e,$,"l")}function T(t){S(en(e=>e.g===t.g,e.CommData.posts))}function N(e){null==e||void 0==e||V(e,$,"f")}function E(t){N(en(e=>e.g===t.g,e.CommData.posts))}function k(e){v(e),C(e),f(e),T(e),E(e)}var A="www.gatesnotes.com";function j(e,t,a){if(window.location.host==A){if(null==e.t);else for(var s=0;s<e.t.length;s++)if("site"==e.t[s].k&&e.t[s].v!=A)return}var n=e.a,i=!0;if(i=!b(n)||n==$||null!=e.r){null==e.guil&&(e.guil=[]),null==e.ui&&(e.ui=[]),null==e.r&&(e.r=[]),n==$&&0==e.guil.length&&e.r.length,Date.parse(e.d.replace("Z","")),b(n)||W(e);for(var r=e.r,o="",s=0;s<r.length;s++)0==s?o+=r[s].g:o+=","+r[s].g;r.some(e=>"active"===e.s),S(e),e.s,E(e);for(var s=0;s<r.length;s++)j(r[s],e.g)}}async function y(a,s,n,i,r){let o=await (0,c.w)(a);o?(null===m.H||void 0===m.H||m.H.trackEvent({name:"comments: return",properties:{postJSON:JSON.stringify(o)}}),ee=!1,null!=o&&(-1==o.error?t&&(t.innerHTML="Something went wrong, please try again later:1"):0==o.error?(r.g=o.guid,n?k(i):(e.CommData.posts.push(r),null==s||""==s?j(r,"",!0):j(r,s,!0)),(0,d.EZ)()):t&&(t.innerHTML="Something went wrong, please try again later:2")),t&&(t.innerHTML="")):(ee=!1,t&&(t.innerHTML="Something went wrong, please try again later:3"))}async function w(e){await (0,c.hU)(e)}async function L(){w(x())}async function O(e){let t=await (0,c.vs)(e);""!=t&&L()}function B(e){var t=new Date,a=Math.floor(t.getTimezoneOffset()/60);t.setHours(t.getHours()+a);var s=(t.getTime()-e)/1e3;if(s<60){var n=Math.floor(s);return 1==n?n+" second ago":n+" seconds ago"}if(s<3600){var n=Math.floor(s/60);return 1==n?n+" minute ago":n+" minutes ago"}if(s<=86400){var n=Math.floor(s/3600);return 1==n?n+" hour ago":n+" hours ago"}if(s<=5184e3){var n=Math.floor(s/86400);return 1==n?n+" day ago":n+" days ago"}if(s<=31536e3){var n=Math.floor(s/2592e3);return 1==n?n+" month ago":n+" months ago"}var n=Math.floor(s/31536e3);return 1==n?n+" year ago":n+" years ago"}var R=(a=e.CommPost.a,n="",e.CommData.users.forEach(e=>{a==e.g&&(n=e.n)}),n),D=B(Date.parse(e.CommPost.d.replace("Z",""))),M=!1;e.CommPost.r&&e.CommPost.r.length>0&&(M=!0);var H="";e.CommPost.ui&&e.CommPost.ui.length>0&&e.CommPost.ui.forEach(e=>{if(e.bozc||e.delc)return H=" bozc",(0,s.jsx)(s.Fragment,{})});var F="";if(P(e.CommPost.a))return F=" authorBanOrBozo",(0,s.jsx)(s.Fragment,{});function P(t){var a=!1;return e.CommMaster.depois&&(e.CommMaster.depois.forEach(e=>{e==t&&(a=!0)}),e.CommMaster.bans.forEach(e=>{e==t&&(a=!0)})),e.CommNew&&e.CommNew.forEach(e=>{e==t&&(a=!0)}),e.CommOff&&e.CommOff.forEach(e=>{e==t&&(a=!0)}),a}function W(e){return"unapproved"==e.s||"deleted"==e.s||"banned"==e.s}if(W(e.CommPost))return(0,s.jsx)(s.Fragment,{});var G=0,U="";function V(e,t,a){var s=!1;return e.guil&&e.guil.forEach(e=>{e.g&&e.g==t&&e.ui.interactions&&e.ui.interactions.forEach(e=>{let t=e;t[a]&&(s=t[a])})}),s}function Y(t){p=!0;var a=t;let s=en(e=>e.g===t,e.CommData.posts);var n=s.a,i=s.p;V(s,$,"l")?et("like",a,i,p,n,{l:!1}):et("like",a,i,p,n,{l:!0})}function Z(t){let a=document.querySelector(".post-comment-leave");if(a){a.classList.add("Replying");let s=en(e=>e.g===t.a,e.CommData.users);s?a.innerHTML="Replying to comment from "+s.n:a.innerHTML="Replying to comment from "+t.a;let n=document.getElementById("CommentsHolder");n&&(n.setAttribute("data-postg",t.g),n.setAttribute("data-postp",t.p),n.setAttribute("data-posta",t.a),n.classList.add("ReplyComment"))}}function K(t){p=!0;var a=t;let s=en(e=>e.g===t,e.CommData.posts);var n=s.a,i=s.p;V(s,$,"f")?et("flag",a,i,p,n,{f:!1}):et("flag",a,i,p,n,{f:!0})}function q(e,t){var a=[];return a.push({k:e,v:t}),a}function Q(e){var t="";let a=document.querySelector(".post-comment-input-text-area");return a&&(t=a.value),t}function z(){return e.CommData.article}function J(e){var t=e.replace(/\s/g,"");return"<p></p>"==t||"<p><br></p>"==t||""==t}function X(t){return void 0!=en(e=>e.b===t,e.CommData)}null===(i=e.CommPost.guil)||void 0===i||i.forEach(e=>{if(e.ui){var t;null===(t=e.ui.interactions)||void 0===t||t.forEach(t=>{t.l&&(G+=1,U="hasLikes",e.g==localStorage.getItem("gniUsr")&&(U="hasUserLikes"))})}});var $=localStorage.getItem("gniUsr"),ee=!1;function et(){let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"new",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5?arguments[5]:void 0;var l=a;if(!ee){if(ee=!0,e.CommMaster.bans.includes(r)||e.CommMaster.bans.includes($)){t&&(t.innerHTML="Something went wrong, please try again later:4");return}var c=z(),d=es($);if((""==d.g||null==d.g||"null"==d.g)&&(d.g=$),""==d.g||null==d.g||"null"==d.g){t&&(t.innerHTML="Something went wrong, please try again later:5");return}var h=ea(a,s,n,i),_=er(a,i,$,s,r,o);if("edit"==a||"flag"==a||"like"==a){if("edit"==a){if(!_.b)return;if(J(_.b)){t&&(t.innerHTML="Please fill in a comment to post");return}l+=":"+_.b}var g=eo(c,null,_,d)}else if("reply"==a){if(J(h.b)){t&&(t.innerHTML="Please fill in a comment to post");return}if(X(h.b)){t&&(t.innerHTML="That looks to be a duplicate post");return}l+=":"+h.b,g=eo(c,h,_,d)}else{if(J(h.b)){t&&(t.innerHTML="Please fill in a comment to post");return}if(X(h.b)){t&&(t.innerHTML="That looks to be a duplicate post");return}l+=":"+h.b,g=eo(c,h,null,d)}t&&(t.innerHTML=""),""!=u&&O(localStorage.getItem("gniUsr")),y(g,n,i,_,h),null===m.H||void 0===m.H||m.H.trackEvent({name:"comments: post",properties:{gncs:JSON.stringify(g)}})}}function ea(e,t,a,s){var n=(0,l.Gx)();null==t&&(t="");var i=n,t=t,a=a,r=q("site",window.location.host),o={d:i,a:localStorage.getItem("gniUsr"),g:t,b:Q(e),r:null,p:a,s:null,guil:null,ui:null,t:r};return"reply"==e&&(o.g=""),o}function es(t){var a=(0,l.Gx)(),s=e.CommData.users.find(e=>(0,l.l4)(e.g)===(0,l.l4)(t));return null==s&&(s={g:t,d:a,u:"GNI "+t,n:(0,o.me)("FullName"),ui:null,t:null}),s}let en=(e,t)=>{if(Object(t)===t){if(!0===e(t))return t;for(let[a,s]of Object.entries(t)){let n=en(e,s);if(void 0!==n)return n}}};function ei(t,a,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"transfer";var i=en(e=>e.g===t,e.CommData.posts),r=!1,o=0;for(let l=0;l<i.guil.length;l++)i.guil[l].g==a&&(r=!0,o=l);if(r){if("transfer"==n&&(i.guil[o].ui=s),"like"==n){if(null==i.guil[o].ui.interactions||void 0==i.guil[o].ui.interactions)i.guil[o].ui.interactions=[],i.guil[o].ui.interactions.push(s);else{var c=i.guil[o].ui.interactions.find(e=>!0===e.l||!1===e.l);null==c?i.guil[o].ui.interactions.push(s):c.l=s.l}}if("flag"==n){if(null==i.guil[o].ui.interactions||void 0==i.guil[o].ui.interactions)i.guil[o].ui.interactions=[],i.guil[o].ui.interactions.push(s);else{var c=i.guil[o].ui.interactions.find(e=>!0===e.f||!1===e.f);null==c?i.guil[o].ui.interactions.push(s):c.f=s.f}}}else{let d={g:a,ui:{interactions:[]}};if(void 0==s.interactions||null==s.interactions)d.ui.interactions.push(s);else for(let m=0;m<s.interactions.length;m++)d.ui.interactions.push(s.interactions[m]);i.guil.push(d)}}function er(t,a,s,n,i,r){var o=(0,l.Gx)(),c=null,d=q("site",window.location.host);("flag"==t||"like"==t)&&(ei(n,s,r,t),c=en(e=>e.g===n,e.CommData).guil.find(e=>e.g===s));var m={d:o,g:n,a:i,b:Q(t),ui:r,gui:c,t:d},u={d:o,g:n,a:i,b:null,ui:null,gui:c,t:d};return("reply"==t&&(m.g=""),"flag"==t||"like"==t)?u:m}function eo(e,t,a,s){return{a:JSON.stringify(e),p:JSON.stringify(t),m:JSON.stringify(a),u:JSON.stringify(s)}}return(0,s.jsxs)("div",{id:e.CommPost.g,className:"posted-comment-holder"+H+F,"data-a":e.CommPost.a,"data-l":G,"data-parent":e.CommPost.p,children:[(0,s.jsxs)("div",{className:"posted-comments",children:[(0,s.jsxs)("div",{className:"posted-comments-user-and-date",children:[(0,s.jsx)("div",{className:"posted-comments-user-name",children:R}),(0,s.jsx)("div",{className:"posted-comments-time",children:D})]}),(0,s.jsx)("div",{className:"posted-comments-body",dangerouslySetInnerHTML:{__html:e.CommPost.b.replaceAll("<p><br></p>","")}}),(0,s.jsxs)("div",{className:"posted-comments-actions",children:[(0,s.jsxs)("div",{className:"posted-comments-like "+U,onClick:()=>Y(e.CommPost.g),children:[(0,s.jsx)(r(),{className:"primaryButtonIconImg posted-comments-like-off",width:24,height:24,src:"/icon_Like.svg",alt:"icon_Like"}),(0,s.jsx)(r(),{className:"primaryButtonIconImg posted-comments-like-on",width:24,height:24,src:"/icon_LikeFull.svg",alt:"icon_LikeFull"}),(0,s.jsx)("span",{className:"postlikesnum",children:G})]}),(0,s.jsx)("div",{className:"posted-comments-reply",onClick:()=>Z(e.CommPost),children:"Reply"}),(0,s.jsx)("div",{className:"posted-comments-flag",onClick:()=>K(e.CommPost.g),children:"Flag"})]})]}),(0,s.jsx)("div",{className:"posted-comments-container",style:{display:M?"flex":"none"},children:e.CommPost.r?e.CommPost.r.map(t=>(0,s.jsx)(h,{CommPost:t,CommData:e.CommData,CommMaster:e.CommMaster,CommNew:e.CommNew,CommOff:e.CommOff},t.g)):(0,s.jsx)(s.Fragment,{})})]})}t.Z=(0,n.memo)(h)},5051:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5893),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7294),_js_commenting__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1959),_js_analytics__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8340),_KCommentPost__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(2199),_js_gni__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(521),_js_Helpers__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1590);function KCommentsRender(props){let[comdata,setComData]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({}),[commaster,setComMaster]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({}),[commOff,setCommOff]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)([]),[commNew,setCommNew]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)([]),[commSingleUser,setCommSingleUser]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({});var GNCupdatestries=0,GNCupdatestriesMax=4,GNC_ArticleComments_Version=0,GN_Com_currentReplyLevel=0,GN_Com_UserItemsUpdated=!1,GN_Com_currentUserStatusCheckedLocal="unknown",currentUserStatusChecked="unknown";function Update_GN_Com_UserInfoItems(){if(GN_Com_currentUserStatusCheckedLocal!=(0,_js_Helpers__WEBPACK_IMPORTED_MODULE_5__.Me)()&&comdata.article){GN_Com_currentUserStatusCheckedLocal=(0,_js_Helpers__WEBPACK_IMPORTED_MODULE_5__.Me)();var e=localStorage.getItem("gniUsr");"true"==GN_Com_currentUserStatusCheckedLocal&&e&&console.log(GN_Com_currentUserStatusCheckedLocal)}}async function getSingleUserJSON(e){let t=await (0,_js_commenting__WEBPACK_IMPORTED_MODULE_2__.fp)(e);if(""!=t){var a=comdata.users.find(t=>(0,_js_Helpers__WEBPACK_IMPORTED_MODULE_5__.l4)(t.g)===(0,_js_Helpers__WEBPACK_IMPORTED_MODULE_5__.l4)(e));if(null==a)(a=JSON.parse(t)).n=(0,_js_gni__WEBPACK_IMPORTED_MODULE_4__.me)("FullName"),comdata.users.push(a);else for(var s in comdata.users)if(comdata.users[s].g==e){comdata.users[s].n=(0,_js_gni__WEBPACK_IMPORTED_MODULE_4__.me)("FullName");break}}else{var n=makeGNUser(e);comdata.users.push(n)}}function makeGNUser(e){var t=(0,_js_Helpers__WEBPACK_IMPORTED_MODULE_5__.Gx)(),a=comdata.users.find(t=>(0,_js_Helpers__WEBPACK_IMPORTED_MODULE_5__.l4)(t.g)===(0,_js_Helpers__WEBPACK_IMPORTED_MODULE_5__.l4)(e));return null==a&&(a={g:e,d:t,u:"GNI "+e,n:(0,_js_gni__WEBPACK_IMPORTED_MODULE_4__.me)("FullName"),ui:null,t:null}),a}return(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{let CommentsHolderContent=document.getElementById("CommentsHolderContent");async function getCommentsJSON(e){console.log("artid:"+e);let t=await (0,_js_commenting__WEBPACK_IMPORTED_MODULE_2__.li)(e);if(""!=t)console.log("set full data"),CommentsHolderContent&&CommentsHolderContent.setAttribute("data-artid",props.artid),setComData(t),GetPrevVersions(GNC_ArticleComments_Version=t.article.v),setInterval(Update_GN_Com_UserInfoItems,3e3);else{console.log("set empty data"),setComData(t),GetPrevVersions(GNC_ArticleComments_Version);let a=document.getElementById("CommentsHolderContentHeaderCountNum");a&&(a.innerHTML="0")}}async function getMasterJSON(){let e=await (0,_js_commenting__WEBPACK_IMPORTED_MODULE_2__.CF)();""!=e&&setComMaster(e)}var commOff=[],commNew=[];function addUtoDepoisList(e,t){if("error"!=e){if("off"==t){for(var a=0;a<e.length;a++)commOff.push(e[a].replace(".json",""));setCommOff(commOff)}else{for(var a=0;a<e.length;a++)commNew.push(e[a].replace(".json",""));setCommNew(commNew)}}}async function GetModerateStateOffOrNew(e){let t=await (0,_js_commenting__WEBPACK_IMPORTED_MODULE_2__.qR)(e);""!=t&&addUtoDepoisList(t,e)}var comments=document.querySelector(".CommentsHolder"),overlay=document.querySelector(".overlay-background");if(""!=props.artid){if(CommentsHolderContent){if(CommentsHolderContent.getAttribute("data-artid")!=props.artid)localStorage.getItem("commentArticle")!=props.artid&&(localStorage.setItem("commentArticle",props.artid),console.log("New Comment Article"),getMasterJSON(),GetModerateStateOffOrNew("new"),GetModerateStateOffOrNew("off"),getCommentsJSON(props.artid));else{let dataC=comdata,data=dataC;console.log("RA:"+data);let CommentsHolderContentHeaderCountNum=document.getElementById("CommentsHolderContentHeaderCountNum");CommentsHolderContentHeaderCountNum&&(data.posts?CommentsHolderContentHeaderCountNum.innerHTML=data.posts.length:CommentsHolderContentHeaderCountNum.innerHTML="0")}}comments&&(comments.classList.add("CommentsHolder-on"),(0,_js_analytics__WEBPACK_IMPORTED_MODULE_6__.y3)()),overlay&&overlay.classList.add("overlay-background-on")}else comments&&comments.classList.remove("CommentsHolder-on"),overlay&&overlay.classList.remove("overlay-background-on");var UpdatesJson="",ReadingUpdates=!1,PrevVersionCounter=0,UpdatesFound=!1;async function getPrevVersionsJSON(e){let t=await (0,_js_commenting__WEBPACK_IMPORTED_MODULE_2__.UW)(props.artid,e);t?(AddUpdatesToStores(UpdatesJson=JSON.parse("["+t.substring(0,t.length-1)+"]"),"prev"),UpdatesFound=!0):GetUpdates()}function GetPrevVersions(e){ReadingUpdates=!0,getPrevVersionsJSON(PrevVersionCounter=e+1)}async function GetUpdates(){var e=GNC_ArticleComments_Version;UpdatesFound&&(e=PrevVersionCounter-1);let t=await (0,_js_commenting__WEBPACK_IMPORTED_MODULE_2__.C4)(props.artid,e);t?(GNCupdatestries=0,ReadingUpdates=!1,AddUpdatesToStores(UpdatesJson=JSON.parse("["+t.substring(0,t.length-1)+"]"),"updates")):(ReadingUpdates=!1,GNCupdatestries+=1)}function setPropUI(e,t,a){if(null==e){let s={};s[t]=a}else e[t]=a;return e}function pairInObject(e,t){return -1!=JSON.stringify(e).indexOf(t)}var updatesTotal=0,updatesMetrics=null;function AddUpdatesToStores(data,source){updatesTotal=data.length-1;for(var commentStreamEdits=[],i=0;i<data.length;i++){var json=data[i];json.a=JSON.parse(json.a),json.m=JSON.parse(json.m),json.p=JSON.parse(json.p),json.u=JSON.parse(json.u),null!=json.p&&""!=json.p?pairInObject(comdata.posts,'"g":"'+json.p.g+'"')||comdata.posts.push(json.p):null!=json.m&&""!=json.m&&commentStreamEdits.push(json.m);for(var gfound=!1,j=0;j<comdata.users.length;j++)if(comdata.users[j].g==json.u.g){if(comdata.users[j].n=json.u.n,comdata.users[j].u=json.u.u,comdata.users[j].s=json.u.s,null!=json.u.ui){if(null==comdata.users[j].ui)comdata.users[j].ui=json.u.ui;else for(let[key,value]of Object.entries(json.u.ui))comdata.users[j].ui=eval(setPropUI(comdata.users[j].ui,key,value))}gfound=!0}gfound||comdata.users.push(json.u)}"prev"==source?GetPrevVersions(PrevVersionCounter):(PrevVersionCounter=GNC_ArticleComments_Version,setComData(comdata))}},[props.artid,comdata,commaster,commNew,commOff]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{id:"CommentsHolderContent",className:"CommentsHolderContent","data-artid":"","data-shown":"",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{className:"CommentsHolderContentHeader",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{className:"CommentsHolderContentHeaderTop",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",{className:"CommentsHolderContentHeaderTitle"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{className:"CommentsHolderContentHeaderCount",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{id:"CommentsHolderContentHeaderCountNum",className:"CommentsHolderContentHeaderCountNum"})," comments"]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",{className:"CommentsHolderContentHeaderWarning",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{className:"CommentsHolderContentHeaderButton",children:["Not seeing your comment? Read our ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{className:"CommentsHolderContentHeaderButtonLink",children:"Content Moderation Policy"}),"."]})})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",{className:"threaded-comments",id:"threaded-comments",children:comdata.posts?comdata.posts.map(e=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_KCommentPost__WEBPACK_IMPORTED_MODULE_3__.Z,{CommPost:e,CommData:comdata,CommMaster:commaster,CommNew:commNew,CommOff:commOff},e.g)):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{})})]})})}__webpack_exports__.Z=(0,react__WEBPACK_IMPORTED_MODULE_1__.memo)(KCommentsRender)},9841:function(e,t,a){"use strict";var s=a(5893),n=a(2121),i=a(9734),r=a(4901),o=a(7294);function l(e){var t=[];let{data:a}=(0,i.ZP)(r.d3);if(!a)return(0,s.jsx)("div",{});0===e.pathArray.length&&e.pathArray.push(r.f9),null==a||a.elements.sections.value.map(e=>t.push(e)),t.push(r.BZ),t.push(r.zd),1===e.pathArray.length&&e.pathArray[0]===r.f9&&e.pathArray.push(r.wI);let o=Date.now();function l(){let e=document.querySelectorAll(".CldVid");e.forEach(e=>{let t=e;if(!t.paused){var a;let s=null===(a=t.parentElement)||void 0===a?void 0:a.querySelector(".lightBoxControls");null==s||s.classList.remove("visible")}})}return setInterval(()=>{l()},3e3),(0,s.jsx)(n.ZP,{pathArray:e.pathArray,sections:t},o)}t.Z=(0,o.memo)(l)},3758:function(e,t,a){"use strict";var s=a(5893),n=a(9734),i=a(7294),r=a(1590);function o(e){let{data:t}=(0,n.ZP)(e.itemCN);if(!t)return(0,s.jsx)(s.Fragment,{});var a=!1;let i=t;var o="";if(e.width&&e.height)o="?w="+e.width+"&h="+e.height+"&fit=clip&fm=jpg&q=75";else if(i.elements.desktopImage.value.length>0){var l=i.elements.desktopImage.value[0].width,c=i.elements.desktopImage.value[0].height;c&&l&&(o=l>1200?"?w="+l/2+"&h="+c/2+"&fit=clip&fm=jpg&q=75":"?w="+l+"&h="+c+"&fit=clip&fm=jpg&q=95")}else o="?fit=clip&fm=jpg&q=75";if(t){var d="",m="",u="";if(!((null==t?void 0:t.elements.desktopImage.value.length)>0))return(0,s.jsx)(s.Fragment,{});if((d=(0,r.t6)(null==t?void 0:t.elements.desktopImage.value[0].url)).includes(".mp4")&&(a=!0),u=(null==t?void 0:t.elements.mobileImage.value.length)>0?(0,r.t6)(null==t?void 0:t.elements.mobileImage.value[0].url):d,m=(null==t?void 0:t.elements.tabletImage.value.length)>0?(0,r.t6)(null==t?void 0:t.elements.tabletImage.value[0].url):d,a)return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("video",{className:"DesktopOnly",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:d,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{className:"TabletOnly",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:m,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]}),(0,s.jsxs)("video",{className:"MobileOnly",loop:!0,autoPlay:!0,muted:!0,playsInline:!0,children:[(0,s.jsx)("source",{src:u,type:"video/mp4"}),(0,s.jsx)("p",{children:"Your browser doesn't support HTML video."})]})]});if(!e.isCanvas)return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{className:"imageset_cn DesktopOnly",src:d+o,alt:""}),(0,s.jsx)("img",{className:"imageset_cn TabletOnly",src:m+o,alt:""}),(0,s.jsx)("img",{className:"imageset_cn MobileOnly",src:u+o,alt:""})]});var h={backgroundImage:"url("+d+o+")"},_={backgroundImage:"url("+m+o+")"},g={backgroundImage:"url("+u+o+")"};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("canvas",{className:"imageset_cn_canvas DesktopOnly",style:h}),(0,s.jsx)("canvas",{className:"imageset_cn_canvas TabletOnly",style:_}),(0,s.jsx)("canvas",{className:"imageset_cn_canvas MobileOnly",style:g})]})}return e.isCanvas?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("canvas",{className:"imageset_cn_canvas emptyImageSet","data-url":"","data-src-desktop":"","data-src-tablet":"","data-src-mobile":""})}):(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("img",{className:"imageset_cn emptyImageSet",src:"","data-di":"","data-mi":"","data-ti":"",alt:""})})}t.Z=(0,i.memo)(o)},9835:function(e,t,a){"use strict";let s;a.r(t),a.d(t,{default:function(){return oS}});var n=a(5893),i=a(7294),r=a(1221),o=a(9734),l=a(1590);function c(e){var t="";e.item.elements.cardType.value.map(e=>{t=e.codename});var a="";a="card_collections_and_rails"==e.parentItem.system.type?e.parentItem.elements.cardDisplayOptionsSize.value.length>0?e.parentItem.elements.cardDisplayOptionsSize.value[0].name:e.item.elements.cardDisplayOptionsSize.value.length>0?e.item.elements.cardDisplayOptionsSize.value[0].name:"Medium card":e.item.elements.cardDisplayOptionsSize.value.length>0?e.item.elements.cardDisplayOptionsSize.value[0].name:"Full width";let{data:s}=(0,o.ZP)(e.item.elements.cardSource.value[0]);var i=!1;s&&e.item.elements.cardDisplayOptionsHeroItem.value.length>0&&(i=!0);let{data:c}=(0,o.ZP)(i?e.item.elements.cardDisplayOptionsHeroItem.value[0]:null);var d=!1;s&&e.item.elements.cardDisplayOptionsHeroItemForeground.value.length>0&&(d=!0);let{data:m}=(0,o.ZP)(d?e.item.elements.cardDisplayOptionsHeroItemForeground.value[0]:null),u={};u.card=e.item,u.parentItem=e.parentItem,u.cardType=t,u.cardSize=a,u.cardSource={},u.cardTitle="",u.cardSubtitle="",u.cardBackgroundColor="#FFFFFF",u.cardForegroundImage="",u.cardBackgroundImageSet="",u.cardBackgroundImage="",u.cardBackgroundImageDesc="",u.cardBackgroundImageMobile="",u.cardBackgroundImageTablet="",u.cardHeroImageForegroundImageSet="",u.cardShowBackgroundImage="",u.artLink="","<p><br></p>"!=u.card.elements.cardCopyOverRidesArticleTitle.value&&(u.cardTitle=u.card.elements.cardCopyOverRidesArticleTitle.value),"<p><br></p>"!=u.card.elements.cardCopyOverRidesArticleSubtitle.value&&(u.cardSubtitle=u.card.elements.cardCopyOverRidesArticleSubtitle.value),""!=u.card.elements.backgroundSnippetHexColor.value&&(u.cardBackgroundColor=u.card.elements.backgroundSnippetHexColor.value);var h=!1;if(u.card.elements.cardDisplayOptionsHeroItem.value.length>0&&(u.cardBackgroundImageSet=u.card.elements.cardDisplayOptionsHeroItem.value[0],h=!0),u.card.elements.cardDisplayOptionsHideBackgroundItem.value.length>0&&(u.cardShowBackgroundImage="Hide"),u.card.elements.cardDisplayOptionsHeroItemForeground.value.length>0&&(u.cardHeroImageForegroundImageSet=u.card.elements.cardDisplayOptionsHeroItemForeground.value[0]),h&&c&&c.elements.desktopImage.value.length>0){var _=(0,l.t6)(c.elements.desktopImage.value[0].url);if(u.cardBackgroundImage=_,u.cardBackgroundImageDesc=c.elements.desktopImage.value[0].description,c.elements.mobileImage.value.length>0){var g=(0,l.t6)(c.elements.mobileImage.value[0].url);u.cardBackgroundImageMobile=g,u.cardBackgroundImageTablet=g}else u.cardBackgroundImageMobile=_,u.cardBackgroundImageTablet=_;if(c.elements.tabletImage.value.length>0){var p=(0,l.t6)(c.elements.tabletImage.value[0].url);u.cardBackgroundImageTablet=p}}if(""!=u.cardHeroImageForegroundImageSet&&m&&m.elements.desktopImage.value.length>0){var x=(0,l.t6)(m.elements.desktopImage.value[0].url);if(u.cardForegroundImage=x,m.elements.mobileImage.value.length>0){var v=(0,l.t6)(m.elements.mobileImage.value[0].url);u.cardForegroundImageMobile=v,u.cardForegroundImageTablet=v}else u.cardForegroundImageMobile=x,u.cardForegroundImageTablet=x;if(m.elements.tabletImage.value.length>0){var C=(0,l.t6)(m.elements.tabletImage.value[0].url);u.cardForegroundImageTablet=C}}if(""!=u.card.elements.cardCopyOverRidesEyebrow.value&&(u.cardEyebrow=u.card.elements.cardCopyOverRidesEyebrow.value),(null==u.cardBackgroundImageDesc||void 0==u.cardBackgroundImageDesc||""==u.cardBackgroundImageDesc)&&(u.cardBackgroundImageDesc="Alt description not provided"),s){switch(u.cardSource=s,u.cardSource.system.type){case"memo":u.cardSource.elements.thumbnail.value.length>0&&(u.cardForegroundImage=(0,l.t6)(u.cardSource.elements.thumbnail.value[0].url)),u.cardEyebrow=u.cardSource.elements.eyebrow.value;break;case"inline_video_item":case"topic":case"section":"<p><br></p>"!=u.card.elements.cardCopyOverRidesArticleTitle.value?u.cardTitle=u.card.elements.cardCopyOverRidesArticleTitle.value:u.cardTitle=s.elements.title.value,"<p><br></p>"!=u.card.elements.cardCopyOverRidesArticleSubtitle.value?u.cardSubtitle=u.card.elements.cardCopyOverRidesArticleSubtitle.value:u.cardSubtitle=s.elements.description.value;break;case"article":s.elements.pageImageSetBlogroll.value.length>0&&!h&&(u.cardBackgroundImage=(0,l.t6)(s.elements.pageImageSetBlogroll.value[0].url),u.cardBackgroundImageDesc=s.elements.pageImageSetBlogroll.value[0].description),s.elements.pageImageSetThumbnail.value.length>0&&!h&&(u.cardBackgroundImageMobile=(0,l.t6)(s.elements.pageImageSetThumbnail.value[0].url),u.cardBackgroundImageTablet=(0,l.t6)(s.elements.pageImageSetThumbnail.value[0].url)),""!=u.card.elements.cardCopyOverRidesEyebrow.value?u.cardEyebrow=u.card.elements.cardCopyOverRidesEyebrow.value:u.cardEyebrow=s.elements.eyebrow.value,"<p><br></p>"!=u.card.elements.cardCopyOverRidesArticleTitle.value?u.cardTitle=u.card.elements.cardCopyOverRidesArticleTitle.value:"<p><br></p>"!=s.elements.articleTitleCustom.value?u.cardTitle=s.elements.articleTitleCustom.value:u.cardTitle=s.elements.articleTitle.value,"<p><br></p>"!=u.card.elements.cardCopyOverRidesArticleSubtitle.value?u.cardSubtitle=u.card.elements.cardCopyOverRidesArticleSubtitle.value:u.cardSubtitle=s.elements.articleSubtitle.value,(null==u.cardBackgroundImageDesc||void 0==u.cardBackgroundImageDesc||""==u.cardBackgroundImageDesc)&&(u.cardBackgroundImageDesc="Alt description not provided");break;case"content_lockup_list_slide_or_photo_essay":break;case"podcast_episode":s.elements.thumbnail.value.length>0&&(u.cardForegroundImage=(0,l.t6)(s.elements.thumbnail.value[0].url)),""!=u.card.elements.cardCopyOverRidesEyebrow.value?u.cardEyebrow=u.card.elements.cardCopyOverRidesEyebrow.value:u.cardEyebrow="podcast","<p><br></p>"!=u.card.elements.cardCopyOverRidesArticleTitle.value?u.cardTitle=u.card.elements.cardCopyOverRidesArticleTitle.value:u.cardTitle=s.elements.title.value,"<p><br></p>"!=u.card.elements.cardCopyOverRidesArticleSubtitle.value?u.cardSubtitle=u.card.elements.cardCopyOverRidesArticleSubtitle.value:u.cardSubtitle=s.elements.description.value}return(0,n.jsx)(r.Z,{cdata:u},e.item.system.codename)}switch(t){case"banner_card":return""!=u.card.elements.cardCopyOverRidesEyebrow.value&&(u.cardEyebrow=u.card.elements.cardCopyOverRidesEyebrow.value),"<p><br></p>"!=u.card.elements.cardCopyOverRidesArticleTitle.value&&(u.cardTitle=u.card.elements.cardCopyOverRidesArticleTitle.value),"<p><br></p>"!=u.card.elements.cardCopyOverRidesArticleSubtitle.value&&(u.cardSubtitle=u.card.elements.cardCopyOverRidesArticleSubtitle.value),(0,n.jsx)(r.Z,{cdata:u},e.item.system.codename);case"header_card":return(0,n.jsx)(r.Z,{cdata:u},e.item.system.codename);default:return(0,n.jsx)("div",{})}}var d=(0,i.memo)(c),m=a(9355),u=a(990),h=a(3145),_=a(4715),g=a(5675),p=a.n(g),x=a(4020);function v(e){var t=!0;"<p><br></p>"==e.bodyCopy&&(t=!1);let a={};a.copy=e.BreadCrumbCopy,a.link=e.BreadCrumbLink;var s=!0;return""==e.BreadCrumbCopy&&(s=!1),(0,n.jsx)("div",{className:"NavigationalHeader "+e.NHTheme+" "+e.NHType,children:(0,n.jsxs)("div",{className:"KNavigationalHeaderInner",children:[(0,n.jsx)("div",{className:"NavigationalHeaderDividerHolder",style:{display:e.showDivider?"flex":"none"},children:(0,n.jsx)("div",{className:"NavigationalHeaderDivider"})}),(0,n.jsxs)("div",{className:"KNavigationalHeaderLockup",children:[(0,n.jsx)("div",{className:"KNavigationalHeaderTitle",children:e.title}),(0,n.jsx)("div",{className:"KNavigationalHeaderBreadcrumb",style:{display:s?"flex":"none"},children:(0,n.jsx)(x.Z,{item:a})})]}),(0,n.jsx)("div",{className:"KNavigationalHeaderBody",style:{display:t?"flex":"none"},children:(0,n.jsx)("div",{className:"KNavigationalHeaderBodyCopyHolder",children:(0,n.jsx)("div",{className:"KNavigationalHeaderBodyCopy GNDescCopy",dangerouslySetInnerHTML:{__html:e.bodyCopy}})})})]})})}var C=(0,i.memo)(v);function b(e){let[t,a]=(0,i.useState)(null),[s,r]=(0,i.useState)(null),o=e=>{e.preventDefault();let t=e;t&&a({x:t.touches[0].clientX,y:t.touches[0].clientY})},c=e=>{e.preventDefault();let t=e;t&&r({x:t.touches[0].clientX,y:t.touches[0].clientY})},d=()=>{var e=0;t&&s&&t.x&&s.x&&(e=t.x-s.x),e>30&&A(),e<-30&&k(),a(null),r(null)},h=(0,i.useRef)(null);(0,i.useRef)(null);let[g,x]=(0,i.useState)(0),[v,b]=(0,i.useState)(0),[f,I]=(0,i.useState)(381),[S,T]=(0,i.useState)(0),N=[];for(var E=-1;E<e.col.elements.content.value.length-1;E++)N.push(E);let k=()=>{g>0&&x(g-1)},A=()=>{let e=(0,l.KZ)();var t=3;e.includes("Tablet")&&(t=2),e.includes("Mobile")&&(t=1),g<S-t&&x(g+1)};function j(){let e=u.p8.context(e=>{let t=e.selector(".Card");T(t.length),t.length>0&&I(t[0].offsetWidth+48),u.p8.fromTo(t,{left:function(e){return(e-v)*f}},{left:function(e){return(e-g)*f}})},h);return()=>e.revert()}(0,i.useEffect)(()=>{A(),k()},[]);let y=(0,l.P2)(j,250);window.addEventListener("resize",()=>{y()}),window.addEventListener("scroll",()=>{y()}),(0,_.V)(()=>{setTimeout(()=>{let e=u.p8.context(e=>{let t=e.selector(".Card"),a=e.selector(".Rail_ControlsL_L"),s=e.selector(".Rail_ControlsL_R");if(s.length>0&&a.length>0){s[0].classList.remove("Rail_ControlsIconDisabled"),a[0].classList.remove("Rail_ControlsIconDisabled"),0==g&&a[0].classList.add("Rail_ControlsIconDisabled");var n=window.innerWidth,i="Desktop",r=3;"Tablet"==(i=n>1440?"Desktop":n>1279?"Desktop":n>768?"Tablet":"Mobile")&&(r=2),"Mobile"==i&&(r=1),g==S-r&&s[0].classList.add("Rail_ControlsIconDisabled")}T(t.length),t.length>0&&I(t[0].offsetWidth+48),u.p8.fromTo(t,{left:function(e){return(e-v)*f}},{left:function(e){return(e-g)*f}}),b(g)},h);return()=>e.revert()},100)},[g,f]);let w={};var L=!0;w.copy=e.col.elements.breadcrumbCopy.value,w.link=e.col.elements.breadcrumbLink.value,""==w.copy&&(L=!1);var O=!0;return""==e.col.elements.title.value&&"<p><br></p>"==e.col.elements.subtitle.value&&(O=!1),e.col.elements.subtitle.value,(0,n.jsxs)("div",{id:e.col.system.codename,ref:h,className:"TopicTimelineSpacer "+e.theme,children:[(0,n.jsx)("div",{className:"CardTopEdge"}),(0,n.jsxs)("div",{className:"Rail_Inner",children:[(0,n.jsx)("div",{className:"Rail_Inner_Top",style:{display:O?"flex":"none"},children:(0,n.jsx)(C,{showDivider:!0,NHTheme:e.theme,NHType:"NavigationalHeaderSmall",title:e.col.elements.title.value,bodyCopy:e.col.elements.subtitle.value,BreadCrumbCopy:"",BreadCrumbLink:""})}),(0,n.jsx)("div",{className:"Rail_Content",style:{marginTop:L?"52px":"0px"},onTouchStart:o,onTouchMove:c,onTouchEnd:d,children:e.col.elements.content.value.map((t,a)=>(0,n.jsx)(m.Z,{codename:t,parentItem:e.col},a))}),(0,n.jsxs)("div",{className:"Rail_Controls",children:[(0,n.jsxs)("div",{className:"Rail_ControlsL",children:[(0,n.jsx)("div",{id:"prevButton",onClick:k,children:(0,n.jsx)("div",{className:"Rail_ControlsL_L Rail_ControlsIconDisabled",children:(0,n.jsx)(p(),{className:"primaryButtonIconImg",width:24,height:24,src:"/icon_ArrowBack.svg",alt:"icon_Share"})})}),(0,n.jsx)("div",{className:"Rail_ControlsRM",children:(0,n.jsxs)("span",{className:"Rail_ControlsRMC",children:[v+1," of ",S]})}),(0,n.jsx)("div",{id:"nextButton",onClick:A,children:(0,n.jsx)("div",{className:"Rail_ControlsL_R",children:(0,n.jsx)(p(),{className:"primaryButtonIconImg",width:24,height:24,src:"/icon_ArrowForward.svg",alt:"icon_Share"})})})]}),(0,n.jsx)("div",{className:"Rail_ControlsR",children:(0,n.jsx)("span",{className:"Rail_ControlsRC",children:S})})]})]}),(0,n.jsx)("div",{className:"CardBottomEdge"})]})}u.p8.registerPlugin(h.Draggable);var f=(0,i.memo)(b),I=a(6735);function S(e){let{data:t}=(0,o.ZP)(e.codename);return t||(0,n.jsx)(n.Fragment,{})}var T=(0,i.memo)(S),N=a(3758);function E(e){let{data:t}=(0,o.ZP)(e.codename);if(!t)return(0,n.jsx)(n.Fragment,{});let a=t;return(0,n.jsx)("div",{className:"BookCoverSet","data-number":e.number,id:"BCS_"+e.book,style:{zIndex:2-e.number},children:(0,n.jsx)(N.Z,{itemCN:a.elements.cardDisplayOptionsHeroItemForeground.value[0],isCanvas:!0})})}var k=(0,i.memo)(E),A=a(2941);function j(e){let{data:t}=(0,o.ZP)(e.codename);if(!t)return(0,n.jsx)(n.Fragment,{});let a=t.system.name,s=t;var i=!0;"<p><br></p>"==s.elements.articleSubtitle.value&&(i=!1);let r={};var l=!0;return r.copy="",r.link="/",""==r.copy&&(l=!1),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"RailBooks_Copy","data-number":e.number,id:"BAC_"+e.book,children:[(0,n.jsx)(A.Z,{href:a,className:"",children:(0,n.jsxs)("div",{className:"RailBooks_Copy1",children:[(0,n.jsx)("div",{className:"RailBooks_Eyebrow",dangerouslySetInnerHTML:{__html:s.elements.eyebrow.value}}),(0,n.jsx)("div",{className:"RailBooks_Title",children:s.elements.articleTitle.value})]})}),(0,n.jsxs)("div",{className:"RailBooks_Copy2",children:[(0,n.jsx)("div",{className:"RailBooks_Subtitle",dangerouslySetInnerHTML:{__html:s.elements.articleSubtitle.value},style:{display:i?"flex":"none"}}),(0,n.jsx)("div",{className:"RailBooks_Topic",style:{display:l?"flex":"none"},children:(0,n.jsx)(x.Z,{item:r})})]})]})})}var y=(0,i.memo)(j);function w(e){let{data:t}=(0,o.ZP)(e.codename);if(!t)return(0,n.jsx)(n.Fragment,{});let a=t;return(0,n.jsx)(y,{codename:a.elements.cardSource.value[0],number:e.number,book:e.book})}var L=(0,i.memo)(w);function O(e){let t=(0,i.useRef)(null),[a,s]=(0,i.useState)(0),[r,o]=(0,i.useState)(0),[c,d]=(0,i.useState)(-12),[m,h]=(0,i.useState)(0),g=[];for(var x=-1;x<e.data.elements.content.value.length-1;x++)g.push(x);let v=()=>{a>0&&s(a-1)},b=()=>{let e=(0,l.KZ)();var t=1;"Desktop"!=e&&(t=1),a<m-t&&s(a+1)};(0,i.useEffect)(()=>{b(),v()},[]),(0,_.V)(()=>{setTimeout(()=>{let e=u.p8.context(e=>{let t=e.selector(".BookCoverSet");if(0!=m){let s=e.selector(".RailBooks_Copy"),n=e.selector(".Rail_ControlsL_L"),i=e.selector(".Rail_ControlsL_R"),l=e.selector(".RailBooks_LabelCopy1");l[0].innerHTML=a+1,i.length>0&&n.length>0&&(0==a?n[0].classList.add("Rail_ControlsIconDisabled"):n[0].classList.remove("Rail_ControlsIconDisabled"),a==m-1?i[0].classList.add("Rail_ControlsIconDisabled"):i[0].classList.remove("Rail_ControlsIconDisabled"));let c=document.querySelector(".RailBooks_BookStack"),d=document.querySelector(".RailBooks_FrameTop");if(a>r){null==c||c.append(t[0]);let u=e.selector(".BookCoverSet");u.forEach((e,t)=>{e.style.zIndex=""+(3-t)}),null==d||d.append(s[0])}else{null==c||c.prepend(t[t.length-1]);let _=e.selector(".BookCoverSet");_.forEach((e,t)=>{e.style.zIndex=""+(3-t)}),null==d||d.prepend(s[s.length-1])}o(a)}else h(t.length)},t);return()=>e.revert()},100)},[a]),e.data.elements.subtitle.value;let f=e.data.elements.content.value;var I=[];return null==f||f.forEach(e=>{I.push((0,n.jsx)(T,{codename:e}))}),I[0],(0,n.jsxs)("div",{className:"RailBooksHolder TopicTimelineSpacer",children:[(0,n.jsx)(C,{showDivider:!0,NHTheme:"",NHType:"NavigationalHeaderSmall",title:e.data.elements.title.value,bodyCopy:e.data.elements.subtitle.value,BreadCrumbCopy:"",BreadCrumbLink:""}),(0,n.jsxs)("div",{className:"RailBooks_Content",ref:t,children:[(0,n.jsxs)("div",{className:"RailBooks_Frame",children:[(0,n.jsx)("div",{className:"RailBooks_FrameTop",children:e.data.elements.content.value.map((e,t)=>(0,n.jsx)(L,{codename:e,number:t,book:f[t]},t))}),(0,n.jsx)("div",{className:"RailBooks_UI",children:(0,n.jsxs)("div",{className:"Rail_ControlsL",children:[(0,n.jsx)("div",{id:"prevButton",onClick:v,children:(0,n.jsx)("div",{className:"Rail_ControlsL_L Rail_ControlsIconDisabled",children:(0,n.jsx)(p(),{className:"primaryButtonIconImg",width:24,height:24,src:"/icon_ArrowBack.svg",alt:"icon_Share"})})}),(0,n.jsx)("div",{id:"nextButton",onClick:b,children:(0,n.jsx)("div",{className:"Rail_ControlsL_R",children:(0,n.jsx)(p(),{className:"primaryButtonIconImg",width:24,height:24,src:"/icon_ArrowForward.svg",alt:"icon_Share"})})})]})})]}),(0,n.jsx)("div",{className:"RailBooks_BookStack",children:e.data.elements.content.value.map((e,t)=>(0,n.jsx)(k,{codename:e,number:t,book:f[t]},t))}),(0,n.jsx)("div",{className:"RailBooks_Numbers",children:(0,n.jsx)("div",{className:"RailBooks_NumbersInner",children:(0,n.jsx)("div",{className:"RailBooks_Label",children:(0,n.jsxs)("div",{className:"RailBooks_LabelCopy",children:[(0,n.jsx)("span",{className:"RailBooks_LabelCopy1",children:"1"}),(0,n.jsx)("span",{className:"RailBooks_LabelCopy2",children:" of "}),(0,n.jsx)("span",{className:"RailBooks_LabelCopy3",children:e.data.elements.content.value.length})]})})})})]})]})}u.p8.registerPlugin(h.Draggable);var B=(0,i.memo)(O);function R(e){var t="",a="",s="",i="";e.data.elements.content.value.length>1&&(s=e.data.elements.content.value[0],i=e.data.elements.content.value[1]);let{data:r}=(0,o.ZP)(s);r&&r.elements.itemImageSet.value.length>0&&(t=r.elements.itemImageSet.value[0]);let{data:l}=(0,o.ZP)(i);return l&&l.elements.itemImageSet.value.length>0&&(a=l.elements.itemImageSet.value[0]),(0,n.jsx)("div",{className:"StandaloneImageGallery TopicTimelineSpacer "+e.size,children:(0,n.jsxs)("div",{className:"StandaloneImageGalleryImage",style:{background:e.data.elements.eyebrow.value},children:[(0,n.jsx)("div",{className:"StandaloneImage_Content",children:(0,n.jsx)("div",{className:"StandaloneImage_Text",children:(0,n.jsx)("div",{className:"StandaloneImage_Copy",dangerouslySetInnerHTML:{__html:e.data.elements.subtitle.value}})})}),(0,n.jsxs)("div",{className:"StandaloneImage_Media",children:[(0,n.jsx)("div",{className:"StandaloneImage_Asset2",children:(0,n.jsx)(N.Z,{itemCN:a,isCanvas:!1})}),(0,n.jsx)("div",{className:"StandaloneImage_Asset1",children:(0,n.jsx)(N.Z,{itemCN:t,isCanvas:!1})}),(0,n.jsx)("div",{className:"StandaloneImage_Icon",children:(0,n.jsx)(p(),{className:"icon_StandaloneImage_Gallery",width:24,height:24,src:"/icon_Gallery.svg",alt:"icon_Gallery"})})]})]})})}var D=(0,i.memo)(R);function M(e){var t="default";e.col.elements.collectionDisplayOptions.value.length>0&&(t=e.col.elements.collectionDisplayOptions.value[0].name);var a="default";switch(e.col.elements.cardDisplayOptionsTheme.value.length>0&&(a=e.col.elements.cardDisplayOptionsTheme.value[0].name),t){case"rail":switch(a){case"Light":return(0,n.jsx)(f,{col:e.col,parentItem:e.parentItem,theme:"KRail_HolderGray"});case"Dark":return(0,n.jsx)(f,{col:e.col,parentItem:e.parentItem,theme:"KRail_HolderBlack"});default:return(0,n.jsx)(f,{col:e.col,parentItem:e.parentItem,theme:"KRail_Holder"})}break;case"rail verticle":case"list items":return(0,n.jsxs)(n.Fragment,{children:["Option not coded yet: ",t]});case"rail books":return(0,n.jsx)(B,{data:e.col,parentItem:e.parentItem});case"standalone image gallery":var s="SIG_large";return"card_collections_and_rails"==e.parentItem.system.type&&(s="SIG_Medium",e.col.elements.cardDisplayOptionsSize.value.length>0&&"two_column_card"==e.col.elements.cardDisplayOptionsSize.value[0].codename&&(s="SIG_TwoCollumn")),(0,n.jsx)(D,{codename:e.col.system.codename,parentItem:e.parentItem,data:e.col,size:s});case"Media Carousel":return(0,n.jsx)(I.Z,{codename:e.col.system.codename,parentItem:e.parentItem,num:0,data:e.col,lbId:"NotInLightbox"});default:return(0,n.jsx)("div",{className:"CollectionHolder TopicTimelineSpacer",children:e.col.elements.content.value.map((t,a)=>(0,n.jsx)(m.Z,{codename:t,parentItem:e.col},a))})}}var H=(0,i.memo)(M);function F(e){let[t,a]=(0,i.useState)(!1);function s(){a(e=>!e)}var r="";e.item.elements.posterFrame.value.length>0&&e.item.elements.posterFrame.value[0]&&(r=(0,l.t6)(e.item.elements.posterFrame.value[0].url));var o="";return e.item.elements.video.value.length>0&&e.item.elements.video.value[0]&&(o=e.item.elements.video.value[0].url),(0,n.jsxs)("div",{className:"videoHolder",children:[(0,n.jsxs)("div",{className:"videoOverlay",children:[(0,n.jsx)("rect",{className:"videoLine"}),(0,n.jsxs)("div",{className:"videoFlex",children:[(0,n.jsxs)("div",{className:"videoOverlayLeft",children:[(0,n.jsx)("div",{className:"videoTitle",children:e.item.elements.title.value}),(0,n.jsx)("div",{className:"videoDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.item.elements.description.value}})]}),(0,n.jsx)("div",{className:"videoOverlayRight",children:(0,n.jsxs)("div",{onClick:s,className:"videoTimeCode",children:["Play: ",new Date(1e3*e.item.elements.length.value).toISOString().slice(15,19)," ",(0,n.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})]})})]})]}),(0,n.jsxs)("video",{playsInline:!0,poster:r,children:[(0,n.jsx)("source",{src:o,type:"video/mp4"}),(0,n.jsx)("p",{children:"Your browser doesn't support HTML video."})]})]})}var P=(0,i.memo)(F);function W(e){var t=!0,a="";return"<p><br></p>"==e.item.elements.itemTitle.value&&(t=!1,a=" listTwoCol"),(0,n.jsxs)("div",{className:"listItemHolder",children:[(0,n.jsx)("div",{className:"listTitle",id:e.item.system.codename,dangerouslySetInnerHTML:{__html:e.item.elements.itemTitle.value},style:{display:t?"flex":"none"}}),(0,n.jsx)("div",{className:"listBody GNDescCopy"+a,dangerouslySetInnerHTML:{__html:e.item.elements.body.value}})]})}var G=(0,i.memo)(W);function U(e){let t=e.item.elements.title.value.replaceAll(" ","-").replaceAll("’","-");return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(A.Z,{href:e.parentItem.elements.title.value.replaceAll(" ","-").replaceAll("’","-")+"/"+t,children:(0,n.jsx)("p",{children:e.item.elements.title.value})})})}var V=(0,i.memo)(U);function Y(e){let{data:t}=(0,o.ZP)(e.codename);return t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"memoTableHeader",dangerouslySetInnerHTML:{__html:t.elements.eyebrow.value}}),(0,n.jsx)("table",{className:"memoTable",children:(0,n.jsx)("tbody",{children:t.elements.content.value.map((e,a)=>(0,n.jsx)(m.Z,{codename:e,parentItem:t},a))})})]}):(0,n.jsx)(n.Fragment,{})}var Z=(0,i.memo)(Y),K=a(9868),q=a(5004),Q=a(470),z=a(5376),J=a(2121);function X(e){let t=e.item,a=(0,i.useRef)(null),s=(0,K.Q)(e.item.elements.kloudinary.value);var r=s.ratio;let o=(0,i.useContext)(J.DN);var c=!1;e.item.elements.dbsrtlink.value.includes("dropbox.com")&&(c=!0);var d=!1;e.item.elements.dbposterlink.value.includes("dropbox.com")&&(d=!0),(0,i.useEffect)(()=>{let e={root:null,rootMargin:"0px",threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]},t=new IntersectionObserver(e=>{let t=e[0],a=t.target.querySelector(".CldVid"),s=a;if(t.target.querySelector(".lightBoxPlayPause"),t.isIntersecting)s.paused||(0,l.Vr)(),(0,l.iv)("V_AutoPlayOn");else if(!s.paused&&((0,l.Vr)(),(0,l.iv)("V_AutoPlayOn"))){var n;null===(n=t.target.firstElementChild)||void 0===n||n.classList.add("LI_VideoHolderPIP")}},e);a.current&&t.observe(a.current)},[s]);let m=(0,Q.Z)();var u=350,h=0;h=(u=m[0]>1280?1308:m[0]>768?1020:350)/r;let _=Math.round(u),g=Math.round(h);if(!e.item)return(0,n.jsx)(n.Fragment,{});var x=!1;function v(){(0,l.f5)(!1),(0,l.Vr)()}return(t.elements.n360Vr.value.length>0&&(x=!0),void 0==s.public_id||x)?(0,n.jsxs)("div",{className:"gnYoutube_VR_Outer",children:[(0,n.jsxs)("div",{className:"gnYoutube_VR_Span",style:{display:x?"block":"none"},children:[(0,n.jsx)("span",{className:"gnYoutube_VR_SpanT1",children:"Mobile device users: "}),(0,n.jsx)("span",{className:"gnYoutube_VR_SpanT2",children:"To view the virtual reality film below, "}),(0,n.jsx)("a",{href:"https://www.youtube.com/watch?v="+t.elements.youtubeId.value+"&amp;feature=youtu.be",children:(0,n.jsx)("span",{className:"gnYoutube_VR_SpanT3",children:"click here to open YouTube."})})]}),(0,n.jsx)("div",{className:"gnYoutubeHolder videoEmbed",children:(0,n.jsx)("iframe",{width:"810",height:"456",frameBorder:"0",src:"https://www.youtube.com/embed/"+e.item.elements.youtubeId.value+"?rel=0&amp;modestbranding=1&amp;playsinline=1&amp;color=white&amp;showinfo=0"})}),(0,n.jsxs)("div",{className:"gnYoutube_VR_Span",style:{display:x?"block":"none"},children:[(0,n.jsx)("span",{className:"gnYoutube_VR_SpanT1",children:"Note: "}),(0,n.jsx)("span",{className:"gnYoutube_VR_SpanT2",children:"This is a virtual reality film that you can view using a VR headset, or in your browser as a 360* video. "}),(0,n.jsx)("a",{href:"https://www.gatesnotes.com/VR-On-GatesNotes",children:(0,n.jsx)("span",{className:"gnYoutube_VR_SpanT3",children:"Learn more"})})]})]}):(0,n.jsx)("div",{className:"inlineVideoHolder TopicTimelineSpacer",ref:a,id:z.l3+"_"+e.item.system.codename+"_lb",onMouseEnter:()=>navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)?null:(0,l.cy)(e.item.system.codename,!1),onMouseLeave:()=>navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)?null:(0,l.jk)(e.item.system.codename,!1),onTouchStart:()=>(0,l.cy)(e.item.system.codename,!0),onTouchEnd:()=>(0,l.jk)(e.item.system.codename,!0),children:(0,n.jsxs)("div",{className:"LI_VideoHolder",children:[(0,n.jsx)("div",{className:"LI_VideoIcons",children:(0,n.jsx)("div",{className:"LI_VideoIcon",children:(0,n.jsx)(p(),{className:"icon_Img icon_CloseIcon",width:44,height:15,src:"/icon_Close.svg",alt:"icon_Close",onClick:v})})}),(0,n.jsx)(q.Z,{src:s.public_id,width:_.toString(),height:g.toString(),ratio:r,stopped:!0,type:"inline",hasVTT:c,hasPoster:d,version:s.version}),(0,n.jsxs)("div",{className:"lightBoxControls visible",children:[(0,n.jsxs)("div",{className:"lightBoxProgress",onMouseDown:t=>(0,l.Pv)(t,e.item.system.codename),children:[(0,n.jsx)("div",{className:"lightBoxProgressBar","data-perc":"0"}),(0,n.jsx)("div",{className:"lightBoxProgressBack"})]}),(0,n.jsx)("div",{className:"lightBoxCenter",children:(0,n.jsxs)("div",{className:"lightBoxPlayPause",onClick:()=>(0,l.QM)(e.item.system.codename),children:[(0,n.jsx)(p(),{className:"lightBoxPlay",width:56,height:56,src:"/play_circle56.svg",alt:"LI_Play"}),(0,n.jsx)(p(),{className:"lightBoxPause",width:56,height:56,src:"/Pause.svg",alt:"LI_Pause"})]})}),(0,n.jsx)("div",{className:"lightBoxFullscreen",children:(0,n.jsx)(A.Z,{href:o.state.SC_section+"/"+o.state.SC_topic+"/"+z.l3+"/"+e.item.system.codename,className:"lightBoxFullscreenLink GNLink",children:(0,n.jsx)("div",{className:"lightBoxIcon",children:(0,n.jsx)(p(),{className:"lightBoxIconOn",width:24,height:24,src:"/icon_FullScreen.svg",alt:"LI_FS"})})})}),(0,n.jsx)("div",{className:"lightBoxCaptions",children:(0,n.jsxs)("div",{className:"lightBoxIcon",onClick:()=>(0,l.sx)(z.l3+"_"+e.item.system.codename+"_lb"),children:[(0,n.jsx)(p(),{className:"lightBoxIconOn",width:44,height:15,src:"/icon_Captions.svg",alt:"LI_Cap"}),(0,n.jsx)(p(),{className:"lightBoxIconOff",width:44,height:15,src:"/icon_CaptionsOff.svg",alt:"LI_Cap"})]})}),(0,n.jsx)("div",{className:"lightBoxVolume",children:(0,n.jsxs)("div",{className:"lightBoxIcon",onClick:()=>(0,l.Po)(z.l3+"_"+e.item.system.codename+"_lb"),children:[(0,n.jsx)(p(),{className:"lightBoxIconOn",width:44,height:15,src:"/icon_SoundOn.svg",alt:"LI_Volume"}),(0,n.jsx)(p(),{className:"lightBoxIconOff",width:44,height:15,src:"/icon_SoundOff.svg",alt:"LI_Volume"})]})})]})]})})}var $=(0,i.memo)(X);function ee(e){let{data:t}=(0,o.ZP)(e.codename);return t?("<p><br></p>"==t.elements.description.value&&(t.elements.description.value=""),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"PhotoEssayHolder",children:[(0,n.jsx)("div",{className:"PE_title",children:t.elements.title.value}),(0,n.jsx)("div",{className:"PE_description",children:t.elements.description.value}),t.elements.contentItems.value.map((e,a)=>(0,n.jsx)(m.Z,{codename:e,parentItem:t},a))]})})):(0,n.jsx)(n.Fragment,{})}var et=(0,i.memo)(ee),ea=a(6115);function es(e){let{data:t}=(0,o.ZP)(e.codename);return t?(0,n.jsx)(ea.Z,{richTextElement:t.elements.bodyCopyBlockRt,parentItem:t}):(0,n.jsx)(n.Fragment,{})}var en=(0,i.memo)(es);function ei(e){let{data:t}=(0,o.ZP)(e.codename);return t?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"ContentComboHolder",children:t.elements.contentItems.value.map((e,a)=>(0,n.jsx)(m.Z,{codename:e,parentItem:t},a))})}):(0,n.jsx)(n.Fragment,{})}var er=(0,i.memo)(ei);function eo(e){var t="default",a="default",s="showTitle",i="showSubTitle",r="";let{data:l}=(0,o.ZP)(e.codename);if(!l)return(0,n.jsx)(n.Fragment,{});if(""==l.elements.subTitle.value&&(i="hideSubTitle"),""==l.elements.title.value&&(s="hideTitle"),"<p><br></p>"==l.elements.caption.value&&(l.elements.caption.value=""),l.elements.imageStyle.value.length>0&&(t=l.elements.imageStyle.value[0].name),l.elements.inlineImageWidth.value.length>0&&(a=l.elements.inlineImageWidth.value[0].name),"initial___topic_paragraph"==e.parentItem.system.type)return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"TopicParagraphImage",children:l.elements.itemImageSet.value.map((e,t)=>(0,n.jsx)(m.Z,{codename:e,parentItem:l},t))})});if("content_combo"==e.parentItem.system.type)r="small"===t?"ContentLockupListSlideOrPEHolder40 TopicTimelineSpacer":"ContentLockupListSlideOrPEHolder TopicTimelineSpacer";else switch(a){case"Full bleed":r="ContentLockupListSlideOrPEHolderFB TopicTimelineSpacer";break;case"12 column":r="ContentLockupListSlideOrPEHolder12c TopicTimelineSpacer";break;case"10 column":r="right"==t?"ContentLockupListSlideOrPEHolder10cRight TopicTimelineSpacer":"ContentLockupListSlideOrPEHolder10c TopicTimelineSpacer";break;case"8 column":r="ContentLockupListSlideOrPEHolder8c TopicTimelineSpacer";break;case"4 column":r="ContentLockupListSlideOrPEHolder4c TopicTimelineSpacer";break;default:r="ContentLockupListSlideOrPEHolder6c TopicTimelineSpacer"}return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:r,children:[(0,n.jsx)("div",{className:"CL_title "+s,dangerouslySetInnerHTML:{__html:l.elements.title.value}}),(0,n.jsx)("div",{className:"CL_subTitle "+i,children:l.elements.subTitle.value}),l.elements.itemImageSet.value.map((e,t)=>(0,n.jsx)(m.Z,{codename:e,parentItem:l},t)),(0,n.jsx)("div",{className:"CL_caption",children:(0,n.jsx)(ea.Z,{richTextElement:l.elements.caption,parentItem:l})})]})})}var el=(0,i.memo)(eo),ec=a(4390);function ed(e){let{data:t}=(0,o.ZP)(e.codename),a=t,s=e.codename;(0,i.useContext)(ec.J);var r=t.elements.articleTitle.value,l=t.elements.eyebrow.value;if("Books"==e.type&&(r=a.elements.bookTitle.value,l=t.elements.bookAuthor.value),!t)return(0,n.jsx)(n.Fragment,{});{let c={};c.copy="";var d=!1;return t.elements.pageTaxonomySetGnTaxonomy.value.length>0&&(c.copy=t.elements.pageTaxonomySetGnTaxonomy.value[0].name,d=!0),c.link="Books/"+c.copy.replaceAll(" ","_").toLowerCase(),(0,n.jsxs)("div",{className:"ArticleListItem",children:[(0,n.jsxs)("div",{className:"CampaignArticlesTitleHolder",children:[(0,n.jsx)(A.Z,{href:z.he+"/"+s,className:"CampaignArticlesTitle GNLink",children:r}),(0,n.jsx)("div",{className:"CampaignArticlesNameMobile",dangerouslySetInnerHTML:{__html:l}})]}),(0,n.jsxs)("div",{className:"CampaignArticlesLockup",children:[(0,n.jsx)("div",{className:"CampaignArticlesName",dangerouslySetInnerHTML:{__html:l}}),(0,n.jsx)("div",{className:"CampaignArticlesBC",style:{display:d?"flex":"none"},children:(0,n.jsx)(x.Z,{item:c})})]})]})}}var em=(0,i.memo)(ed);function eu(e){(0,i.useEffect)(()=>{setInterval(()=>{let e=document.querySelectorAll(".SignUpBannerHolder");e.forEach(e=>{(0,l.SN)()&&e.classList.add("Hidden")})},2e3)},[]);var t="";let{data:a}=(0,o.ZP)(e.item.elements.imageAsset.value[0]);if(!a||(0,l.SN)())return(0,n.jsx)(n.Fragment,{});t=(0,l.t6)(a.elements.desktopImage.value[0].url);var s="";let r=e.item;return r.elements.signupStyle&&r.elements.signupStyle.value.length>0&&(s="SignUpBannerHolderThin"),(0,n.jsx)("div",{className:"SignUpBannerHolder TopicTimelineSpacer "+s,children:(0,n.jsxs)("div",{className:"SignUpBannerHolderInner",children:[(0,n.jsxs)("div",{className:"SignUpBannerHolderImage",children:[(0,n.jsx)("div",{className:"SignUpBannerHolderAsset",children:(0,n.jsx)("div",{className:"SignUpBannerHolderAssetImg",style:{backgroundImage:"url("+t+"?w=598&h=600&fit=clip&fm=jpg&q=75)"}})}),(0,n.jsx)("div",{className:"SignUpBannerHolderIcon"})]}),(0,n.jsxs)("div",{className:"SignUpBannerHolderContent",children:[(0,n.jsxs)("div",{className:"SignUpBannerHolderText",children:[(0,n.jsx)("div",{className:"SignUpBannerHolderTitle",children:e.item.elements.title.value}),(0,n.jsx)("div",{className:"SignUpBannerHolderBody GNDescCopy",dangerouslySetInnerHTML:{__html:e.item.elements.body.value}})]}),(0,n.jsx)("div",{className:"SignUpBannerHolderButtons",onClick:l.Ok,children:(0,n.jsx)("div",{className:"SignUpBannerHolderLabel",children:e.item.elements.buttonLabel.value})})]})]})})}var eh=(0,i.memo)(eu);function e_(e){var t=!0;e.item.elements.divider.value.length>0&&"Off"==e.item.elements.divider.value[0].name&&(t=!1);var a="";e.item.elements.theme.value.length>0&&"Black"==e.item.elements.theme.value[0].name&&(a="NavigationalHeaderBlack");var s="";e.item.elements.type.value.length>0&&"Small"==e.item.elements.type.value[0].name&&(s="NavigationalHeaderSmall");var i=!0;"<p><br></p>"==e.item.elements.bodyCopy.value&&(i=!1);let r={};r.copy="",r.link="/";var o=!1;return""!=e.item.elements.breadcrumbCopy.value&&(o=!0,r.copy=e.item.elements.breadcrumbCopy.value,r.link=e.item.elements.breadcrumbLink.value),(0,n.jsx)("div",{className:"NavigationalHeader "+a+" "+s,children:(0,n.jsxs)("div",{className:"KNavigationalHeaderInner",children:[(0,n.jsx)("div",{className:"NavigationalHeaderDividerHolder",style:{display:t?"flex":"none"},children:(0,n.jsx)("div",{className:"NavigationalHeaderDivider"})}),(0,n.jsxs)("div",{className:"KNavigationalHeaderLockup",children:[(0,n.jsx)("div",{className:"KNavigationalHeaderTitle",children:e.item.elements.title.value}),(0,n.jsx)("div",{className:"KNavigationalHeaderBreadcrumb",style:{display:o?"flex":"none"},children:(0,n.jsx)(x.Z,{item:r})})]}),(0,n.jsx)("div",{className:"KNavigationalHeaderBody",style:{display:i?"flex":"none"},children:(0,n.jsx)("div",{className:"KNavigationalHeaderBodyCopyHolder",children:(0,n.jsx)("div",{className:"KNavigationalHeaderBodyCopy GNDescCopy",dangerouslySetInnerHTML:{__html:e.item.elements.bodyCopy.value}})})})]})})}var eg=(0,i.memo)(e_),ep=a(5987),ex=a(3150);function ev(e){let[t,a]=(0,i.useState)({number:0,count:0}),{data:s}=(0,o.ZP)(e.codename);if((0,i.useEffect)(()=>{s(e.codename);async function s(e){let s=await (0,ep.t)(e);return s!=t.number&&t.count<700&&0!=s&&a({...t,number:s,count:t.count+1}),s}},[e.codename,t]),!s)return(0,n.jsx)(n.Fragment,{});let r=(0,ex.getKNameFromCodename)(e.codename),l=(0,ex.getKNameFromCodename)(e.section).replace(" ","-").toLowerCase(),c=r.replace(" ","-").toLowerCase();return(0,n.jsx)(A.Z,{href:""+l+"/"+c,children:(0,n.jsxs)("div",{className:"TopicGridItem",style:{background:null==s?void 0:s.elements.backgroundSnippetHexColor.value},children:[(0,n.jsx)("div",{className:"TopicGridItemHeading",children:r}),(0,n.jsx)("div",{className:"TopicGridItemLabel",children:(0,n.jsxs)("div",{className:"TopicGridItemLabelCopy",children:[t.number," Articles"]})})]})})}var eC=(0,i.memo)(ev);function eb(e){let t={};t.copy=e.item.elements.section.value[0],t.link="/"+e.item.elements.section.value[0];let{data:a}=(0,o.ZP)(e.item.elements.section.value[0]);if(!a)return(0,n.jsx)(n.Fragment,{});let s=a.elements.topics.value,i=s.filter((e,t)=>t%2==0),r=s.filter((e,t)=>t%2!=0);return(0,n.jsxs)("div",{className:"TopicGrid TopicTimelineSpacer",children:[(0,n.jsxs)("div",{className:"TopicGrid_navHead",children:[(0,n.jsx)("div",{className:"TopicGrid_divider",children:(0,n.jsx)("div",{className:"TopicGrid_dividerInner"})}),(0,n.jsxs)("div",{className:"TopicGrid_heading",children:[(0,n.jsx)("div",{className:"TopicGrid_header",children:e.item.elements.navigationHeading.value}),(0,n.jsx)("div",{className:"TopicGrid_breadCrumb",children:(0,n.jsx)(x.Z,{item:t})})]})]}),(0,n.jsxs)("div",{className:"TopicGrid_catagories",children:[(0,n.jsx)("div",{className:"TopicGrid_left",children:i.map((t,a)=>(0,n.jsx)(eC,{codename:t,section:e.item.elements.section.value[0]},t))}),(0,n.jsx)("div",{className:"TopicGrid_right",children:r.map((t,a)=>(0,n.jsx)(eC,{codename:t,section:e.item.elements.section.value[0]},t))})]}),(0,n.jsxs)("div",{className:"TopicGrid_Topic ",children:[(0,n.jsx)("div",{className:"TopicGrid_heading"}),(0,n.jsx)("div",{className:"TopicGrid_label"})]})]})}var ef=(0,i.memo)(eb);function eI(e){var t="left";let{data:a}=(0,o.ZP)(e.codename);if(!a)return(0,n.jsx)(n.Fragment,{});"<p><br></p>"==a.elements.subTitle.value&&(a.elements.subTitle.value=""),"<p><br></p>"==a.elements.caption.value&&(a.elements.caption.value=""),a.elements.imageStyle.value.length>0&&(t=a.elements.imageStyle.value[0].name.replaceAll(" ","_").toLowerCase()),""==a.elements.subTitle.value&&""==a.elements.caption.value&&(t="FullBleed");var s="";"card_collections_and_rails"==e.parentItem.system.type&&(s=" isInCollection");var i="";return a.elements.inlineImageWidth.value.length>0&&(i=" TIL_imageWidth_"+a.elements.inlineImageWidth.value[0].codename),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"TextImageLockup TopicTimelineSpacer TIL_imageStyle"+t+s+i,children:[(0,n.jsxs)("div",{className:"TIL_content",children:[(0,n.jsx)("div",{className:"TIL_title",children:(0,n.jsx)("div",{className:"TIL_titleCopy",children:a.elements.title.value})}),(0,n.jsx)("div",{className:"TIL_subTitle",children:(0,n.jsx)("div",{className:"TIL_subTitleCopy",children:a.elements.subTitle.value})})]}),(0,n.jsxs)("div",{className:"TIL_image",children:[a.elements.itemImageSet.value.map((e,t)=>(0,n.jsx)(m.Z,{codename:e,parentItem:a},t)),(0,n.jsx)("div",{className:"TIL_caption GNDescCopy",dangerouslySetInnerHTML:{__html:a.elements.caption.value}})]})]})})}var eS=(0,i.memo)(eI);function eT(e){var t="Small";e.item.elements.typeSize.value.length>0&&(t=e.item.elements.typeSize.value[0].name);var a=!0;return""==e.item.elements.eyebrow.value&&(a=!1),(0,n.jsx)("div",{className:"NoteItem TopicTimelineSpacer Card NoteItem"+e.item.elements.size.value[0].codename+" typeSize"+t,style:{background:e.item.elements.backgroundColor.value},children:(0,n.jsxs)("div",{className:"NoteItemCopy",children:[(0,n.jsx)("div",{className:"NoteItemEyebrow",style:{display:a?"block":"none"},children:e.item.elements.eyebrow.value}),(0,n.jsx)("div",{className:"NoteItemTitle",children:e.item.elements.title.value})]})})}var eN=(0,i.memo)(eT);function eE(e){let{data:t}=(0,o.ZP)(e.codename);return t?(0,n.jsxs)("div",{className:"ListHolder TopicTimelineSpacer",children:[(0,n.jsx)("div",{className:"ListHeader",dangerouslySetInnerHTML:{__html:t.elements.eyebrow.value}}),(0,n.jsx)("div",{className:"listTable",children:t.elements.content.value.map((e,a)=>(0,n.jsx)(m.Z,{codename:e,parentItem:t},a))})]}):(0,n.jsx)(n.Fragment,{})}var ek=(0,i.memo)(eE);function eA(e){var t=!1;return e.item.elements.hideNumbers.value.length>0&&(t=!0),(0,n.jsxs)("div",{className:"InlineListHolder showNum"+t,children:[(0,n.jsx)("div",{className:"InlineListIntro",dangerouslySetInnerHTML:{__html:e.item.elements.introParagraph.value}}),e.item.elements.listItems.value.map((t,a)=>(0,n.jsx)(m.Z,{codename:t,parentItem:e.item},a)),(0,n.jsx)("div",{className:"InlineListConclusion",dangerouslySetInnerHTML:{__html:e.item.elements.conclusionParagraph.value}})]})}var ej=(0,i.memo)(eA);function ey(e){let t=e.item.elements.bodyContent,a=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e={root:null,rootMargin:"0px 0px -100%",threshold:[0,.5]},t=new IntersectionObserver(e=>{let t=e[0];if(t.isIntersecting){t.target.classList.add("ChapterHolderVis");let a=document.querySelectorAll(".ChapterHolder"),s=document.querySelector(".ChapterNavigationMobileSubMenuLnum"),n=document.querySelector(".ChapterNavigationMobileSubMenuLtitle");var i=1;a.forEach(e=>{if(e.classList.contains("ChapterHolderVis")){if(s&&n){s.innerHTML=i.toString();var t=document.querySelectorAll(".KChapterNavigationButton");t.forEach(e=>{e.classList.remove("KChapterNavigationButtonActive")});var a=t[i-1];if(a){a.classList.add("KChapterNavigationButtonActive");var r=a.querySelector(".KChapterNavigationButtonTitle");r&&(n.innerHTML=r.innerHTML)}}}else i+=1})}else t.target.classList.remove("ChapterHolderVis")},e);a.current&&t.observe(a.current)},[]),(0,n.jsxs)("div",{className:"ChapterHolder",id:"ChapterHolder"+e.item.system.codename,ref:a,children:[(0,n.jsx)("div",{className:"ChapterHeader",children:(0,n.jsxs)("div",{className:"ChapterHeaderContent",children:[(0,n.jsx)("div",{className:"ChapterHeaderNumber",children:e.number}),(0,n.jsx)("div",{className:"ChapterHeaderCopy",children:e.item.elements.articleTitle.value})]})}),(0,n.jsx)("div",{className:"ArtBody",children:(0,n.jsx)(ea.Z,{richTextElement:t,parentItem:e.item})})]})}var ew=(0,i.memo)(ey);function eL(e){var t=!0;return""==e.item.elements.quoteCta.value&&(t=!1),e.item.elements.quoteCopy.value=e.item.elements.quoteCopy.value.replaceAll('"',"").replaceAll("“","").replaceAll("”",""),(0,n.jsx)("div",{className:"ArticleQuoteHolder TopicTimelineSpacer",children:(0,n.jsxs)("div",{className:"ArticleQuoteContent",children:[(0,n.jsx)("div",{className:"ArticleQuotePar",children:(0,n.jsx)("img",{className:"QuoteCard_FWLeftQuoteImg",src:"/quote.png",alt:""})}),(0,n.jsx)("div",{className:"ArticleQuoteBody GNDescCopy",dangerouslySetInnerHTML:{__html:e.item.elements.quoteCopy.value}}),(0,n.jsx)("div",{className:"ArticleQuoteAttr",style:{display:t?"flex":"none"},children:e.item.elements.quoteCta.value})]})})}var eO=(0,i.memo)(eL);function eB(e){let[t,a]=(0,i.useState)(!0);return(0,l.SN)()||(e.item.elements.requireLogin.value.length>0?t&&a(!1):t||a(!0)),(0,i.useEffect)(()=>{var e=setInterval(()=>{(0,l.SN)()&&(clearInterval(e),a(!1))},3e3)},[]),(0,n.jsxs)("div",{className:"Downloadholder TopicTimelineSpacer",children:[(0,n.jsxs)("div",{className:"DownloadContent",children:[(0,n.jsxs)("div",{className:"DownloadContentText",children:[(0,n.jsx)("div",{className:"DownloadTitle",dangerouslySetInnerHTML:{__html:e.item.elements.title.value}}),(0,n.jsx)("div",{className:"DownloadSub",dangerouslySetInnerHTML:{__html:e.item.elements.subtitle.value}})]}),(0,n.jsx)("div",{className:"DownloadContentImage",children:(0,n.jsx)("img",{className:"DownloadImage",src:(0,l.t6)(e.item.elements.image.value[0].url),alt:""})})]}),(0,n.jsx)("div",{className:"DownloadButtonOut",style:{display:t?"flex":"none"},children:(0,n.jsx)("div",{className:"DownloadLabel",onClick:l.Ok,children:"Sign up or log in to download"})}),(0,n.jsx)(A.Z,{href:(0,l.t6)(e.item.elements.download.value[0].url),preserveCase:!0,target:"_blank",children:(0,n.jsxs)("div",{className:"DownloadButtonIn",style:{display:t?"none":"flex"},children:[(0,n.jsx)("div",{className:"DownloadType",children:(0,n.jsx)("div",{className:"DownloadCopy",children:"Download"})}),(0,n.jsx)("div",{className:"DownloadIcons",children:(0,n.jsx)("div",{className:"DownloadIcon",children:(0,n.jsx)(p(),{className:"DownloadIconImg",width:24,height:24,src:"/icon_Download.svg",alt:"DownloadIconImg"})})})]})})]})}var eR=(0,i.memo)(eB);function eD(e){var t=!0,a=!0;""==e.appleLink&&(a=!1);var s=!0;""==e.spotifyLink&&(s=!1);var i=!0;""==e.ytLink&&(i=!1);var r=!0;return""==e.googleLink&&(r=!1),a||s||i||r||(t=!1),(0,n.jsxs)("div",{className:"PodcastBottom",style:{display:t?"flex":"none"},children:[(0,n.jsx)("div",{className:"PodcastListen",children:"Listen on:"}),(0,n.jsxs)("a",{href:e.spotifyLink,className:s?"PodcastButton":"PodcastButtonOff",target:"_blank",rel:"noreferrer",children:[(0,n.jsx)("div",{className:"PodcastIcon",children:(0,n.jsx)(p(),{className:"PodcastIconImg",width:20,height:20,src:"/icon_Podcast_Spotify.svg",alt:"PodcastIconImg"})}),(0,n.jsx)("div",{className:"PodcastIconCopy",children:"Spotify"})]}),(0,n.jsxs)("a",{href:e.ytLink,className:i?"PodcastButton":"PodcastButtonOff",target:"_blank",rel:"noreferrer",children:[(0,n.jsx)("div",{className:"PodcastIcon",children:(0,n.jsx)(p(),{className:"PodcastIconImg",width:20,height:20,src:"/icon_Podcast_YT.svg",alt:"PodcastIconImg"})}),(0,n.jsx)("div",{className:"PodcastIconCopy",children:"YouTube"})]}),(0,n.jsxs)("a",{href:e.googleLink,className:r?"PodcastButton":"PodcastButtonOff",target:"_blank",rel:"noreferrer",children:[(0,n.jsx)("div",{className:"PodcastIcon",children:(0,n.jsx)(p(),{className:"PodcastIconImg",width:20,height:20,src:"/icon_Podcast_GooglePod.svg",alt:"PodcastIconImg"})}),(0,n.jsx)("div",{className:"PodcastIconCopy",children:"Google Podcast"})]}),(0,n.jsxs)("a",{href:e.appleLink,className:a?"PodcastButton":"PodcastButtonOff",target:"_blank",rel:"noreferrer",children:[(0,n.jsx)("div",{className:"PodcastIcon",children:(0,n.jsx)(p(),{className:"PodcastIconImg",width:20,height:20,src:"/icon_Podcast_Apple.svg",alt:"PodcastIconImg"})}),(0,n.jsx)("div",{className:"PodcastIconCopy",children:"Apple"})]})]})}var eM=(0,i.memo)(eD);function eH(e){let[t,a]=(0,i.useState)(!1),[s,r]=(0,i.useState)(!1),[o,c]=(0,i.useState)(0),[d,m]=(0,i.useState)("00:00"),u=e.item.elements.audioFile.value,h=(0,i.useRef)(new Audio(u));h.current.preload="none";let _=()=>{a(!0),h.current.play()},g=()=>{a(!1),h.current.pause()},p=()=>{r(!0),h.current.volume=0},x=()=>{r(!1),h.current.volume=1,h.current},v=()=>{let e=h.current.currentTime/h.current.duration*100,t=Math.floor(h.current.duration/3600),a=Math.floor(h.current.duration/60),s=h.current.duration-60*a;t>0?m(t.toFixed(1)+":"+a.toFixed(0)+":"+s.toFixed(0)):m(a.toFixed(0)+":"+s.toFixed(0)),c(e)};h.current.addEventListener("timeupdate",v),h.current.duration.toFixed(2);var C=!0;return""==e.item.elements.transcriptLink.value&&(C=!1),e.item.elements.articleLink.value,(0,n.jsxs)("div",{className:"PodcastHolder TopicTimelineSpacer",children:[(0,n.jsxs)("div",{className:"PodcastTop",children:[(0,n.jsx)("div",{className:"PodcastAsset",children:(0,n.jsx)("img",{className:"PodcastImg",src:(0,l.t6)(e.item.elements.thumbnail.value[0].url),alt:""})}),(0,n.jsxs)("div",{className:"PodcastContent",children:[(0,n.jsxs)("div",{className:"PodcastContentInner",children:[(0,n.jsx)("div",{className:"PodcastEyebrow",children:e.item.elements.podcastSeasonName.value}),(0,n.jsx)("div",{className:"PodcastTitle",children:e.item.elements.title.value}),(0,n.jsx)("div",{className:"PodcastSubTitle",dangerouslySetInnerHTML:{__html:e.item.elements.descriptionRich.value}}),(0,n.jsx)("div",{className:"PodcastButtons",children:(0,n.jsx)("div",{style:{display:C?"flex":"none"},children:(0,n.jsx)(A.Z,{href:e.item.elements.transcriptLink.value,preserveCase:!0,children:(0,n.jsx)("div",{className:"PodcastButtonsTranscript",children:"Episode transcript"})})})})]}),(0,n.jsxs)("div",{className:"PodcastControl",children:[(0,n.jsx)("div",{className:"PodcastControlIconSet",children:(0,n.jsxs)("div",{className:t?"PodcastControl_PlayPause PodcastControl_Icons PodcastControl_Playing":"PodcastControl_PlayPause PodcastControl_Icons PodcastControl_Paused",onClick:t?g:_,children:[(0,n.jsx)("div",{className:"PodcastControl_Play PodcastControl_Icon",children:(0,n.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})}),(0,n.jsx)("div",{className:"PodcastControl_Pause PodcastControl_Icon",children:(0,n.jsx)("img",{className:"gnIcon",src:"/Pause.svg",alt:"Pause button"})})]})}),(0,n.jsx)("div",{className:"PodcastControl_TimeNow",children:o.toFixed(2).padStart(5,"0")}),(0,n.jsxs)("div",{className:"PodcastControl_ScrubBar",children:[(0,n.jsx)("div",{className:"PodcastControl_ScrubBarProg","data-playstatus":"unplayed",style:{width:o+"%"}}),(0,n.jsx)("div",{className:"PodcastControl_ScrubSelect",style:{left:o+"%"}})]}),(0,n.jsx)("div",{className:"PodcastControl_Time",children:d}),(0,n.jsx)("div",{className:"PodcastControlIconSet",children:(0,n.jsxs)("div",{className:s?"PodcastControl_Volume PodcastControl_Icons PodcastControlMuted":"PodcastControl_Volume PodcastControl_Icons PodcastControlPlaying",onClick:s?x:p,children:[(0,n.jsx)("div",{className:"PodcastControl_VolumeOn PodcastControl_Icon",children:(0,n.jsx)("img",{className:"gnIcon",src:"/icon_SoundOn.svg",alt:"Sound On button"})}),(0,n.jsx)("div",{className:"PodcastControl_VolumeOff PodcastControl_Icon",children:(0,n.jsx)("img",{className:"gnIcon",src:"/icon_SoundOff.svg",alt:"Sound Off button"})})]})})]})]})]}),(0,n.jsx)(eM,{appleLink:e.item.elements.appleLink.value,spotifyLink:e.item.elements.spotifyLink.value,ytLink:e.item.elements.ytLink.value,googleLink:e.item.elements.googleLink.value})]})}var eF=(0,i.memo)(eH);function eP(e){return(0,n.jsx)("div",{className:"FeaturedInOuter TopicTimelineSpacer",children:(0,n.jsx)(A.Z,{href:e.item.elements.link.value,children:(0,n.jsxs)("div",{className:"FeaturedIn",children:[(0,n.jsxs)("div",{className:"FeaturedInText",children:[(0,n.jsx)("div",{className:"FeaturedInEyebrow",children:e.item.elements.eyebrow.value}),(0,n.jsx)("div",{className:"FeaturedInTitle",children:e.item.elements.articleTitle.value})]}),(0,n.jsx)("div",{className:"FeaturedInImageHolder",children:(0,n.jsx)("div",{className:"FeaturedInAsset",children:(0,n.jsx)("img",{className:"FeaturedInImg",alt:e.item.elements.articleTitle.value+" image",src:(0,l.t6)(e.item.elements.image.value[0].url)+"?w=420&h=250&fit=clip&fm=jpg&q=75"})})})]})})})}var eW=(0,i.memo)(eP);function eG(e){return(0,n.jsxs)("div",{className:"podcastSeasonHolder",children:[(0,n.jsx)("div",{className:"podcastSeasonHero",children:(0,n.jsx)(m.Z,{codename:e.item.elements.podcastSeasonBanner.value[0],parentItem:e.item},e.item.elements.podcastSeasonBanner.value[0])}),(0,n.jsxs)("div",{className:"ArticleTop",children:[(0,n.jsx)("div",{className:"Arteyebrow",dangerouslySetInnerHTML:{__html:e.item.elements.podcastheroPre.value}}),(0,n.jsx)("h1",{className:"ArtHeadline",dangerouslySetInnerHTML:{__html:e.item.elements.podcastheroTitle.value}}),(0,n.jsx)("div",{className:"ArtDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.item.elements.podcastheroDesc.value}})]}),(0,n.jsx)("div",{className:"ArtBody",children:e.item.elements.podcastEpisodes.value.map((t,a)=>(0,n.jsx)("div",{className:"PodcastLandingEpisode",children:(0,n.jsx)(m.Z,{codename:t,parentItem:e.item},a)},a))})]})}var eU=(0,i.memo)(eG);function eV(e){let{data:t}=(0,o.ZP)(e.codename);if(!t)return(0,n.jsx)(n.Fragment,{});let a=t;switch(a.elements.containerType.value[0].name){case"<canvas>":return(0,n.jsx)("canvas",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<ul>":return(0,n.jsx)("ul",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<object>":return(0,n.jsx)("object",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<li>":return(0,n.jsx)("li",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<p>":return(0,n.jsx)("p",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<strong>":return(0,n.jsx)("strong",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<sup>":return(0,n.jsx)("sup",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<img>":return(0,n.jsx)("img",{alt:"",children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<em>":return(0,n.jsx)("em",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<div>":return(0,n.jsx)("div",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<iframe>":return(0,n.jsx)("iframe",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<hr>":return(0,n.jsx)("hr",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<br>":return(0,n.jsx)("br",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<a>":return(0,n.jsx)("a",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<blockquote>":return(0,n.jsx)("blockquote",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})});case"<span>":return(0,n.jsx)("span",{children:(0,n.jsx)(ea.Z,{richTextElement:a.elements.bodyCopyAndInlineElements,parentItem:t})})}return(0,n.jsx)(n.Fragment,{})}var eY=(0,i.memo)(eV);function eZ(e){let t=e.item.elements.initialTopicParagraph;return(0,n.jsx)("div",{className:"InitialTopicParagraphHolder TopicTimelineSpacer",children:(0,n.jsx)(ea.Z,{richTextElement:t,parentItem:e.item})})}var eK=(0,i.memo)(eZ);function eq(e){return(0,n.jsx)("div",{className:"InitialTopicParagraphLinkHolder",children:(0,n.jsx)(A.Z,{href:e.item.elements.initialTopicParagraphLinkUrl.value,className:"InitialTopicParagraphLinkHolderLink",children:e.item.elements.initialTopicParagraphLinkWords.value.map((t,a)=>(0,n.jsx)(m.Z,{codename:t,parentItem:e.item},a))})})}var eQ=(0,i.memo)(eq);function ez(e){return(0,n.jsx)("div",{className:"InitialTopicParagraphLinkWordHolder",children:e.item.elements.word.value})}var eJ=(0,i.memo)(ez);function eX(e){return(0,n.jsx)("div",{className:"SpacerTop TopicTimelineSpacer"})}var e$=(0,i.memo)(eX);function e0(e){return(0,n.jsx)("div",{children:(0,n.jsxs)("div",{className:"PageBreak","data-module-name":"Page-break","data-module-type":"page_break",children:[(0,n.jsx)("span",{className:"PageBreakSpan"}),(0,n.jsx)("span",{className:"PageBreakSpan"}),(0,n.jsx)("span",{className:"PageBreakSpan"})]})})}var e1=(0,i.memo)(e0),e2=a(957);function e4(){var e,t,a,s,n,i,r,o,l,c,d,m,u,h,_,g,p,x,v,C,b,f,I,S,T,N,E=(t=[],a=75,s=function(){null==e&&(e=setTimeout(function(){e=null;var a=t.shift();a&&(a[0].apply(null,a[1]),0!=t.length&&s())},a))},{delay:function(e){return function(){t.push([e,arguments]),s()}}}),k={},A=0,j="game:",y="",w="",L="";k.createIterator=function(){var e,t,a,s,n,i=0,r=120,o=1,l=32500,c=16500,d=.001,m=1.8,u=!1,h=!1,_=function(){e=(Math.sqrt(o*o+2*r*d)-o)/d,o+=d*e,i+=e},g=function(){i+=e,t-=e,l-=e*n,r=a,o=s},p=function(){for(;e>=.005;)e=2*r/(o+Math.sqrt(o*o+2*r*(d-m*n/l))),v(),g()},x=function(){for(;;){var t=(1-l*d/(m*n))/2;if(e=l*o/(m*n*(t+Math.sqrt(t*t+o/m)))+.05,v(),a<=0)return p(),"onTheMoon";if(g(),s>=0||o<=0)return"continue"}},v=function(){var t=e*n/l;s=o+d*e+m*(-t-t**2/2-t**3/3-t**4/4-t**5/5),a=r-d*e*e/2-o*e+m*e*(t/2+t**2/6+t**3/12+t**4/20+t**5/30)};return{next:function(d){for(n=d,t=10;u&&!h;){if(l-c-.001<0){var m=i;_(),h=!0;break}if(t-.001<0)break;if(l-c-(e=t)*n<0&&(e=(l-c)/n),v(),a<=0){p(),h=!0;break}if(o>0&&s<0){if("onTheMoon"===x()){h=!0;break}}else g()}return u=!0,{value:{time:i,altitude:r,velocity:o,fuel:l-c,fuelOutAt:m},done:h}}}},n=k,o=function(e,t){var a=Math.pow(10,t),e=Math.round(e*a)/a,s=Math.trunc(e),n=Math.abs(e-s);s=Math.abs(s);var i=e<0?"-":"",r=n.toString().substr(2,t).padEnd(t,"0");return i+s.toString()+"."+r},l=function(){window.innerWidth>768?(i.log("CONTROL YOUR ENGINES BY ENTERING A VALUE FOR K, WHICH IS THE AMOUNT OF FUEL "),i.log("BURNED PER SECOND. K CAN BE ZERO (IN WHICH CASE YOUR ENGINES AREN’T FIRING AT ALL),"),i.log("OR BETWEEN 8 AND 200."),i.log(""),i.log("EACH TIME YOU ENTER A VALUE FOR K, TEN SECONDS WILL TICK OFF AND YOUR FUEL LEVEL "),i.log("WILL BE REDUCED ACCORDINGLY."),i.log(""),i.log("GOOD LUCK!")):(i.log("CONTROL YOUR ENGINES"),i.log("BY ENTERING A VALUE FOR K,"),i.log("WHICH IS THE AMOUNT OF FUEL"),i.log("BURNED PER SECOND."),i.log("K CAN BE ZERO"),i.log("(IN WHICH CASE YOUR ENGINES AREN’T FIRING AT ALL),"),i.log("OR BETWEEN 8 AND 200."),i.log(""),i.log("EACH TIME YOU ENTER A VALUE FOR K,"),i.log("TEN SECONDS WILL TICK OFF AND YOUR FUEL LEVEL"),i.log("WILL BE REDUCED ACCORDINGLY."),i.log(""),i.log("GOOD LUCK!"))},c=function(){i.log()},d=function(){c();var e=n.createIterator(),t=function(a){var s=e.next(a);if(s.done){h(s.value);return}i.prompt(u(s.value),function(e){m(e,t)})};t()},m=function(e,t){console.log("validateInput:"+e);var a=Number.parseInt(e);Number.isFinite(a)&&(0===a||a>=8&&a<=200)?(j+=" "+a+"-",t(a)):i.prompt("NOT POSSIBLE",function(e){m(e,t)})},u=function(e){console.log("getResultLine:"+e.fuel);var t=e.time,a=e.altitude,s=e.velocity,n=e.fuel,i=Math.round(t).toString(),r=Math.floor(a).toString(),l=Math.round(5280*(a-Math.floor(a))).toString(),c=o(3600*s,2),d=o(n,1);return j+=","+e.fuel+"("+c+")","".concat(i,",").concat(r,",").concat(l,",").concat(c,",").concat(d)},h=function(e){if(i.log(""),e.fuelOutAt){var t=o(e.fuelOutAt,2).padStart(8);i.log('FUEL OUT AT <span class="lander-green">'.concat(t," SECS</span>"),"span"),j+=",fuel out "}var a=o(e.time,2).padStart(8);i.log('ON THE MOON AT <span class="lander-green">'.concat(a," SECS</span>"),"span");var s=3600*e.velocity,n=o(s,2).padStart(8);i.log('IMPACT VELOCITY OF <span class="lander-green">'.concat(n," M.P.H.</span>"),"span");var r=o(e.fuel,2).padStart(8);i.log('FUEL LEFT: <span class="lander-green">'.concat(r," LBS</span>"),"span"),j+=",on the moon t:"+a+" w:"+n+" f:"+r,y=r,w=a,L=n;var c="Landed";if(s<1)i.log("PERFECT LANDING !-(LUCKY)");else if(s<10)i.log("GOOD LANDING-(COULD BE BETTER)");else if(s<22)i.log("CONGRATULATIONS ON A POOR LANDING");else if(s<40)i.log("CRAFT DAMAGE. GOOD LUCK");else if(s<60)i.log("CRASH LANDING-YOU'VE 5 HRS OXYGEN");else{c="Crashed",i.log("SORRY,BUT THERE WERE NO SURVIVORS-YOU BLEW IT!");var m=o(.277777*s,2).padStart(8);i.log('IN FACT YOU BLASTED A NEW LUNAR CRATER <span class="lander-green">'.concat(m," FT.</span> DEEP"),"span")}i.log(""),i.log(""),i.log("TRY AGAIN? (Y OR N)");let u=document.getElementById("console-root");console.log("ailogstring:"+j),null===e2.H||void 0===e2.H||e2.H.trackEvent({name:"Lunar Lander Game "+c,properties:{console:j,fuel:y,velocity:L,time:w}}),j="";let h=document.getElementById("lander-yn");h.classList.add("yn-on");var _=document.querySelector(".lander-input-yn");document.querySelector(".yn-input-form").onsubmit=function(e){if(e.preventDefault(),"Y"==_.value.toUpperCase()){_.classList.remove("yn-on"),A=0,u&&(u.innerHTML="");var t=u.getBoundingClientRect().top;let a=document.getElementById("articlesHolder");a&&(offsetPosition=t+a.scrollTop,null==a||a.scrollTo({top:offsetPosition,behavior:"auto"})),l(),d()}else"N"==_.value&&(_.classList.remove("yn-on"),i.log("CONTROL OUT"));return!1}},_=function(){i.prompt(",,,,,",function(e){"YES"===e?(i.log(""),i.log(""),i.log(""),d()):"NO"===e?(i.log("CONTROL OUT"),r()):_()})},g={run:function(e,t){i=e,r=t||function(){},l(),d()}},p=E,v=document.getElementById("console-root"),C=function(){},b=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"input";if(T(),console.log("log:"+e+":"+t),"input"==t){var a=I(e);a.disabled=!0,v.appendChild(a)}else{var s=S(e);v.appendChild(s)}C()},f=function(e,t){if(T(),console.log("prompt:"+A),0==A&&window.innerWidth>768){var a=document.getElementById("lander-desktop-labels").cloneNode(!0);v.appendChild(a),a.classList.add("lander-desktop-labels-on")}A+=1;var s=document.getElementById("lander-response-template").cloneNode(!0);s.id="res"+A,s.classList.add("lander-response-on");var n=e.split(","),i=s.querySelector(".lander-data-1");i&&(i.innerHTML=n[0]);var r=s.querySelector(".lander-data-2");r&&(n[1]?r.innerHTML=n[1]+"/"+n[2]:r.innerHTML="");var o=s.querySelector(".lander-data-3");o&&(n[3]?o.innerHTML=n[3]:o.innerHTML="");var l=s.querySelector(".lander-data-4");l&&(n[4]?l.innerHTML=n[4]:l.innerHTML=""),v.appendChild(s);var c=s.querySelector(".lander-input");c.id="input"+A;var d=s.querySelector(".lander-input-form");c.focus(),d.onsubmit=function(e){return e.preventDefault(),t(document.getElementById("input"+A).value),!1},x=d,C()},I=function(e){console.log("message:"+e);var t=document.createElement("input");return t.className="console-line",e&&(t.value=e),t},S=function(e){var t=document.createElement("div");return t.className="console-line-div console-line",e&&(t.innerHTML=e),t},T=function(){x&&(x.onsubmit=null,x.firstElementChild.disabled=!0,x=null)},(N={log:p.delay(b),prompt:p.delay(f)}).log(),g.run(N,function(){N.log(),window.location.href="home"})}function e3(){return(0,i.useEffect)(()=>{e4()},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"lander",children:[(0,n.jsx)("div",{className:"lander-header",children:(0,n.jsx)("div",{className:"lander-header-copy",children:"PLAY LUNAR LANDER"})}),(0,n.jsx)("div",{className:"lander-dashes",children:(0,n.jsx)("div",{className:"lander-dashes-copy",children:"-------------------------------------------------------------------------------------------------------"})}),(0,n.jsx)("div",{id:"console-root",className:"lunar"}),(0,n.jsx)("div",{className:"lander-yn-root",children:(0,n.jsx)("form",{className:"yn-input-form",children:(0,n.jsx)("input",{id:"lander-yn",className:"lander-input-yn"})})})]}),(0,n.jsx)("div",{id:"lunar_lander_bottom",children:(0,n.jsx)("img",{src:"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/51e953c7-4655-46e3-b602-f99f33788927/LunarLanderBottomRow.jpg",alt:"Lunar Lander bottom edge"})}),(0,n.jsxs)("div",{id:"lander-desktop-labels",className:"lander-desktop-labels",children:[(0,n.jsxs)("div",{className:"lander-row",children:[(0,n.jsxs)("div",{className:"lander-data-point",children:[(0,n.jsxs)("div",{className:"lander-title",children:["TIME",(0,n.jsx)("br",{}),"SECS"]}),(0,n.jsx)("div",{className:"lander-line",children:"---------------------------------"})]}),(0,n.jsxs)("div",{className:"lander-data-point",children:[(0,n.jsxs)("div",{className:"lander-title",children:["ALTITUDE",(0,n.jsx)("br",{}),"MILES/FEET"]}),(0,n.jsx)("div",{className:"lander-line",children:"---------------------------------"})]})]}),(0,n.jsxs)("div",{className:"lander-row",children:[(0,n.jsxs)("div",{className:"lander-data-point",children:[(0,n.jsxs)("div",{className:"lander-title",children:["VELOCITY",(0,n.jsx)("br",{}),"MPH"]}),(0,n.jsx)("div",{className:"lander-line",children:"---------------------------------"})]}),(0,n.jsxs)("div",{className:"lander-data-point",children:[(0,n.jsxs)("div",{className:"lander-title",children:["FUEL",(0,n.jsx)("br",{}),"LBS"]}),(0,n.jsx)("div",{className:"lander-line",children:"---------------------------------"})]})]}),(0,n.jsxs)("div",{className:"lander-input-holder",children:[(0,n.jsxs)("div",{className:"lander-title",children:["FUEL",(0,n.jsx)("br",{}),"RATE"]}),(0,n.jsx)("div",{className:"lander-line",children:"---------------------------------"})]})]}),(0,n.jsxs)("div",{id:"lander-response-template",className:"lander-response",children:[(0,n.jsxs)("div",{className:"lander-row",children:[(0,n.jsxs)("div",{className:"lander-data-point",children:[(0,n.jsxs)("div",{className:"lander-title",children:["TIME",(0,n.jsx)("br",{}),"SECS"]}),(0,n.jsx)("div",{className:"lander-line",children:"---------------------------------"}),(0,n.jsx)("div",{className:"lander-data lander-data-1",children:"0"})]}),(0,n.jsxs)("div",{className:"lander-data-point",children:[(0,n.jsxs)("div",{className:"lander-title",children:["ALTITUDE",(0,n.jsx)("br",{}),"MILES/FEET"]}),(0,n.jsx)("div",{className:"lander-line",children:"---------------------------------"}),(0,n.jsx)("div",{className:"lander-data lander-data-2",children:"0"})]})]}),(0,n.jsxs)("div",{className:"lander-row",children:[(0,n.jsxs)("div",{className:"lander-data-point",children:[(0,n.jsxs)("div",{className:"lander-title",children:["VELOCITY",(0,n.jsx)("br",{}),"MPH"]}),(0,n.jsx)("div",{className:"lander-line",children:"---------------------------------"}),(0,n.jsx)("div",{className:"lander-data lander-data-3",children:"0"})]}),(0,n.jsxs)("div",{className:"lander-data-point",children:[(0,n.jsxs)("div",{className:"lander-title",children:["FUEL",(0,n.jsx)("br",{}),"LBS"]}),(0,n.jsx)("div",{className:"lander-line",children:"---------------------------------"}),(0,n.jsx)("div",{className:"lander-data lander-data-4",children:"0"})]})]}),(0,n.jsxs)("div",{className:"lander-input-holder",children:[(0,n.jsxs)("div",{className:"lander-title",children:["FUEL",(0,n.jsx)("br",{}),"RATE"]}),(0,n.jsx)("form",{className:"lander-input-form",children:(0,n.jsx)("input",{className:"lander-input"})})]})]})]})}let e5={mobile:767,tablet:1279};function e8(e){return e<=e5.mobile?"mobile":e<=e5.tablet?"tablet":"desktop"}function e6(){let[e,t]=(0,i.useState)(void 0);return(0,i.useEffect)(()=>{function e(){t(e8(window.innerWidth))}return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}let e7={rootMargin:"0px",triggerOnce:!0},e9=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{rootMargin:t,triggerOnce:a,onChange:s,viewOffsetDelay:n}={...e7,...e},r=(0,i.useRef)(),[o,l]=(0,i.useState)(!1),c=(0,i.useRef)(!1),d=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=new IntersectionObserver(e=>{e.forEach(e=>{if(a&&c.current)return;d.current&&clearTimeout(d.current);let t=e.isIntersecting;if(t){if(c.current=!0,e.isIntersecting){if(n){let i=e.boundingClientRect.top/window.innerHeight*n*1e3;d.current=setTimeout(()=>{l(!0)},i)}else l(!0)}}else l(t);"function"==typeof s&&s(t)})},{rootMargin:t});return e.observe(r.current),()=>{null==e||e.disconnect()}},[n]),(0,i.useEffect)(()=>()=>{d.current&&clearTimeout(d.current)},[]),{inViewRef:r,isInView:o}};var te=a(5309),tt=a.n(te),ta=function(e){let{image:t,alt:a="",onLoaded:s,layout:r="fluid"}=e,{isInView:o,inViewRef:l}=e9({triggerOnce:!0,rootMargin:"50% 0%"}),c=(0,i.useRef)(null),[d,m]=(0,i.useState)(!1),u=o&&d,h=null==t?void 0:t.src,_=(null==t?void 0:t.width)||100,g=(null==t?void 0:t.height)||100;return(0,i.useEffect)(()=>{let e=()=>{"function"==typeof s&&s(),m(!0)},t=c.current;return t.addEventListener("load",e),()=>{t.removeEventListener("load",e)}},[h]),(0,n.jsx)("div",{className:tt().ComicImage,"data-layout":r,ref:l,style:{"--aspect-ratio":"".concat(_," / ").concat(g),opacity:u?1:0},children:(0,n.jsx)("img",{ref:c,src:o?null==t?void 0:t.src:void 0,alt:(null==t?void 0:t.alt)||a,width:_,height:g,className:tt().img})})},ts=function(e){let{image:t,alt:a="",onLoaded:s}=e;return(0,n.jsx)(ta,{image:t,alt:a,onLoaded:s})};let tn=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(0,i.useRef)([]),a=(0,i.useRef)(0),s=200;return(0,i.useEffect)(()=>{let n;let i=()=>{var e;let s=(null===(e=t.current)||void 0===e?void 0:e.length)||0;t.current.forEach((e,t)=>{e.style.opacity=t===a.current?1:0}),a.current=(a.current+1)%s};return i(),e&&(n=setInterval(i,s)),()=>{n&&clearInterval(n)}},[e]),t};var ti=a(8660),tr=a.n(ti),to=function(e){let{images:t,alt:a="",onLoaded:s,isPlaying:r}=e,o=(null==t?void 0:t.length)||0,l=(0,i.useRef)(0),c=tn(r),d=()=>{l.current=l.current+1,l.current>=o&&"function"==typeof s&&s()};return(0,n.jsx)("div",{className:tr().ComicInkSequence,children:null==t?void 0:t.map((e,t)=>(0,n.jsx)("div",{className:tr().image,ref:e=>c.current[t]=e,children:(0,n.jsx)(ta,{image:e,alt:0===t?a:"",onLoaded:d})},e.id))})},tl=a(5317),tc=a(3708),td=a.n(tc);let tm=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return e<t?t:e>a?a:e},tu=(e,t,a)=>t+e*(a-t),th=(e,t,a)=>(e-t)/(a-t),t_=(e,t,a,s,n,i)=>(e=tu(th(e,t,a),s,n),i&&(e=tm(e,s,n)),e),tg={desktop:{min:26,max:5472},tablet:{min:8,max:6159},mobile:{min:22,max:6333}},tp=e=>{let{isReady:t=!0,animation:a=[],onComplete:s}=e,n=(0,i.useRef)(null),r=(0,i.useRef)(),o=(0,i.useRef)(!1),[l,c]=(0,i.useState)(!1),d=e6();return(0,_.V)(()=>{var e;u.p8.registerPlugin(td()),!o.current&&t&&(null===(e=r.current)||void 0===e||e.kill(),r.current=u.p8.timeline({onComplete(){o.current=!0,c(!0),"function"==typeof s&&s()}}).set(n.current,{opacity:1}),a.forEach(e=>{let t=u.p8.utils.toArray(e.selector).at(0),a=null==t?void 0:t.getTotalLength(),s=20,n=.5;tg[d]&&(s=Math.floor(t_(a,tg[d].min,tg[d].max,3,20,!0)),n=t_(a,tg[d].min,tg[d].max,.25,1,!0)),t?r.current.fromTo(t,{drawSVG:e.reversePath?"0% 100%":"100% 0%"},{drawSVG:e.reversePath?"0% 0%":"100% 100%",ease:tl.NB.config(s),duration:e.duration||n,delay:e.delay||0},e.position):console.log('usePathAnimation: Missing Path for "'.concat(e.selector,'"'))}))},{scope:n,dependencies:[t]}),{rootRef:n,isComplete:l}};var tx=a(4947),tv=a.n(tx),tC=function(e){let{isReady:t=!0,children:a,animation:s=[],onComplete:i,isSvgHeightBased:r=!1}=e,{rootRef:o,isComplete:l}=tp({isReady:t,animation:s,onComplete:i});return(0,n.jsxs)("div",{className:"".concat(tv().ComicInkReveal," ").concat(r?tv().svgHeightBased:""),ref:o,style:{opacity:l?0:1},children:[(0,n.jsx)("div",{className:tv().overlay,style:{opacity:t?0:1}}),a]})},tb=function(e){let{image:t,alt:a="",onLoaded:s}=e;return(0,n.jsx)(ta,{image:t,alt:a,onLoaded:s,layout:"fill"})},tf=a(4085),tI=a.n(tf),tS=function(e){let{isReady:t=!0,children:a,animation:s=[]}=e,{rootRef:i,isComplete:r}=tp({isReady:t,animation:s});return(0,n.jsx)("div",{ref:i,className:tI().ComicHighlightReveal,style:{opacity:r?0:1},children:a})};function tT(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=()=>{t(!0),window.removeEventListener("scroll",e,!0)};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[]),e}var tN=a(8690),tE=a.n(tN),tk=function(e){let{inkImageSequence:t,inkImage:a,highlightImage:s,inkRevealSVG:r,highlightRevealSVG:o,inkRevealAnimation:l,highlightRevealAnimation:c,children:d,spacingBottom:m=0}=e,[u,h]=(0,i.useState)(!a),[_,g]=(0,i.useState)(!s),[p,x]=(0,i.useState)(!1),v=tT(),{inViewRef:C,isInView:b}=e9({rootMargin:"0px 0px -100px 0px",triggerOnce:!0,viewOffsetDelay:v?.4:4}),{inViewRef:f,isInView:I}=e9({triggerOnce:!1}),S=u&&_,T=b&&S,N=b&&S&&p,E=b&&I&&S,k=N&&I,A=()=>h(!0),j=()=>g(!0),y=()=>x(!0);return(0,n.jsx)("div",{className:tE().ComicBlock,ref:C,style:{"--spacing-bottom":m},children:(0,n.jsxs)("div",{ref:f,children:[(0,n.jsxs)("div",{className:tE().highlight,"data-paused":k?"false":"true",children:[s&&(0,n.jsx)(tb,{image:s,onLoaded:j}),o&&(0,n.jsx)(tS,{isReady:N,animation:c,children:o})]}),(null==t?void 0:t.length)?(0,n.jsx)(to,{images:t,onLoaded:A,isPlaying:E}):(0,n.jsx)(n.Fragment,{children:a&&(0,n.jsx)(ts,{image:a,onLoaded:A})}),(0,n.jsx)(tC,{isReady:T,animation:l,onComplete:y,children:r}),d&&(0,n.jsx)("div",{className:tE().children,style:{opacity:T?1:0},children:d})]})})},tA=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 1440 460",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_2668_22664)",children:[(0,n.jsx)("path",{id:"border-outline-1",d:"M87 35.7094C87 35.7094 1326.5 21.7093 1331.5 29.2095C1336.5 36.7096 1343.56 439.445 1334.5 448.5C1325.5 457.5 114.5 457 109.5 444C102 436 106 43.7094 106 43.7094",stroke:"white",strokeWidth:"23"}),(0,n.jsx)("path",{id:"text-reveal-1",d:"M143 110.5L738 97L166 153.5L719.5 166.5L134 209.5L701 205",stroke:"white",strokeWidth:"60"}),(0,n.jsx)("path",{id:"text-reveal-2",d:"M146.5 283.5L686 262L150.5 327.5L686 317L139.5 365.5L704.5 374",stroke:"white",strokeWidth:"60"}),(0,n.jsx)("path",{id:"bill-reveal",d:"M1002 39L1200 32L1002 66.5L1224 70.5L995 111.5H1212.5L1007.5 149L1212.5 158.5L1002 182L1217 197.5L1007.5 211L1200 241L1024 254.5L1241.5 300L982 305L1252.5 326L926.5 343L1317.5 337L896 374.5L1317.5 409.5L880.5 406L1085.5 412",stroke:"white",strokeWidth:"60"}),(0,n.jsx)("path",{id:"signature-reveal-1",d:"M1098 417.277C1105.5 404.277 1108 377.277 1138.5 379.277C1142.5 379.54 1135.9 396.577 1117.5 401.777C1115.5 402.577 1121.67 408.111 1125 410.777C1123.5 414.777 1118.1 422.077 1108.5 419.277C1098.9 416.477 1132.5 406.777 1148.5 397.777C1142.17 398.777 1130 406.277 1137.5 414.277C1145 422.277 1188 384.777 1181 378.277C1175.04 372.739 1144.5 415.777 1162 412.277C1179.5 408.777 1202.77 388.238 1197 384.777C1189.5 380.277 1169 405.777 1180 415.277",stroke:"white",strokeWidth:"7"}),(0,n.jsx)("path",{id:"signature-reveal-2",d:"M1209 413.777C1225 411.777 1245.94 373.5 1235 370C1222.58 366.026 1231 405.892 1259 372.777C1254.17 392.611 1237.04 432.33 1227.5 416.277C1218.88 401.777 1243.5 403.777 1255 401.777C1264.5 396.777 1281.98 393.302 1265.5 409.777C1253.5 421.777 1245.5 402.776 1268.5 398.777C1271.5 398.277 1265.5 411.777 1272.5 410.777C1279.67 404.944 1299 378.777 1293 376.777C1290.5 376.277 1270.5 413.577 1284.5 410.777C1293.5 408.944 1311.1 402.977 1309.5 393.777C1307.5 382.277 1286 411.277 1297 410.777C1308 410.277 1323.5 400.277 1326 398.277C1328.5 396.277 1324 415.777 1316.5 412.777C1310.5 410.377 1309.67 406.777 1309.5 405.277",stroke:"white",strokeWidth:"7"}),(0,n.jsx)("path",{id:"signature-reveal-3",d:"M1305 383.777C1297.83 385.611 1282.5 388.777 1278.5 386.777",stroke:"white",strokeWidth:"7"}),(0,n.jsx)("path",{id:"signature-reveal-4",d:"M1150 379L1161 380",stroke:"white",strokeWidth:"12"}),(0,n.jsx)("path",{id:"speech-bubble-reveal",d:"M803.669 157.925C729.169 176.425 682.169 294.925 772.669 323.925C867.648 354.36 938.669 310.425 958.169 263.425C958.169 263.425 1036.84 243.259 1021.67 242.925C1006.5 242.592 969.5 243.5 972.169 225.425C975.748 201.188 961.669 92.9252 792.169 161.425",stroke:"white",strokeWidth:"25"}),(0,n.jsx)("path",{id:"text-bubble-reveal",d:"M749.5 218L935.5 171L752.5 234L935.5 190L731 253L947.5 210.5L737 269L947.5 229.5L749.5 292L943.5 250L752.5 304L947.5 269",stroke:"white",strokeWidth:"18"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2668_22664",children:(0,n.jsx)("rect",{width:"1440",height:"460",fill:"white"})})})]})},tj=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 1440 460",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"my-first-code-highlight-reveal",d:"M130.5 173C273.667 178.667 590.2 185.4 711 167C565.167 179 243.2 201.6 122 196L700 203L122 216H700",stroke:"white",strokeWidth:"34"}),(0,n.jsx)("path",{id:"bill-highlight-reveal",d:"M1047.52 257C1041.02 273 1022.92 306.4 1002.52 312C977.019 319 889.519 406.5 891.019 426.5C892.219 442.5 995.852 351.5 1047.52 304L938.52 433.5L1074.02 322L966.02 444.5L1082.02 351.5L1011.02 444.5L1096.52 356.5L1055.52 444.5L1102.52 338L1082.02 444.5L1111.02 328.5V444.5L1132.02 322L1143.02 444.5L1154.02 304L1171.52 441L1175.02 295.5L1204.02 442.5L1175.02 268.5L1231.02 441L1205.52 290L1263.02 438L1244.52 306L1299.02 436.5L1282.02 324.5L1322.52 422.5",stroke:"white",strokeWidth:"34"})]})};let ty=[{selector:"#border-outline-1"},{selector:"#text-reveal-1",position:.5},{selector:"#text-reveal-2"},{selector:"#bill-reveal",position:.5},{selector:"#text-bubble-reveal",position:.5},{selector:"#speech-bubble-reveal",position:.75,reversePath:!0},{selector:"#signature-reveal-1"},{selector:"#signature-reveal-2"},{selector:"#signature-reveal-3"},{selector:"#signature-reveal-4"}],tw=[{selector:"#my-first-code-highlight-reveal"},{selector:"#bill-highlight-reveal"}];var tL=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(tA,{}),highlightRevealSVG:(0,n.jsx)(tj,{}),inkRevealAnimation:ty,highlightRevealAnimation:tw,spacingBottom:32})},tO=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 1440 223",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-reveal-4",d:"M99 191.5L1376 198",stroke:"white",strokeWidth:"42"}),(0,n.jsx)("path",{id:"text-reveal-3",d:"M97 134.5L1376 148.5",stroke:"white",strokeWidth:"42"}),(0,n.jsx)("path",{id:"text-reveal-2",d:"M93.5 78.5L1373 92",stroke:"white",strokeWidth:"45"}),(0,n.jsx)("path",{id:"text-reveal-1",d:"M98 28L1373 31.5",stroke:"white",strokeWidth:"42"})]})},tB=function(e){let t=[{selector:"#text-reveal-1",position:0},{selector:"#text-reveal-2",position:.2},{selector:"#text-reveal-3",position:.4},{selector:"#text-reveal-4",position:.8}];return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(tO,{}),inkRevealAnimation:t,spacingBottom:32})},tR=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 1440 205",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-reveal-layer",d:"M577 29L834 40.5L118 104L1300 83L129 143L1308 130",stroke:"white",strokeWidth:"48"}),(0,n.jsx)("path",{id:"border-reveal",d:"M831.5 40L1320.5 31V181L112 193.5L117.5 65L577 50",stroke:"white",strokeWidth:"20"})]})},tD=function(){return(0,n.jsx)("svg",{viewBox:"0 0 1440 205",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"highlight-reveal",d:"M564.5 16H858.5L561 31L858.5 35.5L95 64.5L1294 35L102 93L1325 47L115.5 112.5L1331 73L115.5 137L1339 101.5L102 160.5L1334.5 131L108.5 186.5L1322 155",stroke:"white",strokeWidth:"30"})})};let tM=[{selector:"#border-reveal"},{selector:"#text-reveal-layer"}],tH=[{selector:"#highlight-reveal"}];var tF=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(tR,{}),highlightRevealSVG:(0,n.jsx)(tD,{}),inkRevealAnimation:tM,highlightRevealAnimation:tH,spacingBottom:32})},tP=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 1440 1025",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"highlight-reveal-1",d:"M197 124L435.5 131",stroke:"white",strokeWidth:"35"}),(0,n.jsx)("path",{id:"highlight-reveal-2",d:"M172.5 268.5C285.5 278 435.5 273 435.5 273",stroke:"white",strokeWidth:"42"}),(0,n.jsx)("path",{id:"highlight-reveal-3",d:"M116 329.555C248.5 317.056 288 329.556 288 329.556",stroke:"white",strokeWidth:"46.8"}),(0,n.jsx)("path",{id:"highlight-reveal-4",d:"M243 566.5C351 575.5 469 564.5 469 564.5",stroke:"white",strokeWidth:"45"}),(0,n.jsx)("path",{id:"highlight-reveal-5",d:"M130 617.5C130 617.5 238.5 622.5 311 617.5",stroke:"white",strokeWidth:"35"}),(0,n.jsx)("path",{id:"highlight-reveal-6",d:"M1049 59L1196.5 63",stroke:"white",strokeWidth:"35"}),(0,n.jsx)("path",{id:"highlight-reveal-7",d:"M1019 453.5C1114 461.5 1238.5 451.5 1238.5 451.5",stroke:"white",strokeWidth:"35"}),(0,n.jsx)("path",{id:"highlight-reveal-8",d:"M972 498C1067 506 1214 502.5 1214 502.5",stroke:"white",strokeWidth:"37"}),(0,n.jsx)("path",{id:"highlight-reveal-9",d:"M905.5 556.5C1019 551.5 1265 551.5 1265 551.5",stroke:"white",strokeWidth:"37"})]})},tW=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 1440 1025",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_2050_162193)",children:[(0,n.jsx)("path",{id:"arrow-text-reveal",d:"M164 812C164 861.5 215 940 310.5 933.5C435.5 913.5 502.5 943 537 955.5",stroke:"white",strokeWidth:"42"}),(0,n.jsx)("path",{id:"teletype-ink-reveal",d:"M35 72.5L1341.5 43.5L66.5 197L1315 155.5L131 293H1280L109.5 425L1280 467.5L117 567L1263.5 588.5L131 679L1208 713L487 786L884.5 863",stroke:"white",strokeWidth:"120"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2050_162193",children:(0,n.jsx)("rect",{width:"1440",height:"1025",fill:"white"})})})]})};let tG=[{selector:"#teletype-ink-reveal"},{selector:"#arrow-text-reveal"}];var tU=function(e){let t=[{selector:"#highlight-reveal-1",position:0},{selector:"#highlight-reveal-2",position:.2},{selector:"#highlight-reveal-3",position:"<0.2"},{selector:"#highlight-reveal-4",position:.4},{selector:"#highlight-reveal-5",position:"<0.2"},{selector:"#highlight-reveal-6",position:.6},{selector:"#highlight-reveal-7",position:.8},{selector:"#highlight-reveal-8",position:"<0.2"},{selector:"#highlight-reveal-9",position:"<0.4"}];return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(tW,{}),inkRevealAnimation:tG,highlightRevealSVG:(0,n.jsx)(tP,{}),highlightRevealAnimation:t,spacingBottom:18})},tV=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 1440 544",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"arrow-reveal-1",d:"M716 34.0006C730.5 17.5005 772.5 17.0005 786.5 59.5005",stroke:"white",strokeWidth:"44"}),(0,n.jsx)("path",{id:"arrow-reveal-2",d:"M1004 54.5C1035 25.9999 1096 74.5001 1100 101.1",stroke:"white",strokeWidth:"32"}),(0,n.jsx)("path",{id:"arrow-reveal-3",d:"M1207 262L1207 310",stroke:"white",strokeWidth:"26"}),(0,n.jsx)("path",{id:"arrow-reveal-4",d:"M1137.5 479.5C1137.5 479.5 1101.5 488 1022 485",stroke:"white",strokeWidth:"44.5"}),(0,n.jsx)("path",{id:"arrow-reveal-5",d:"M683.8 426H610",stroke:"white",strokeWidth:"34"}),(0,n.jsx)("path",{id:"arrow-reveal-6",d:"M321.001 409C307.001 409 278.5 404.5 280 330",stroke:"white",strokeWidth:"53"}),(0,n.jsx)("path",{id:"arrow-reveal-7",d:"M424.5 66.5006C405 62.5005 342 38.5009 342 92.5008",stroke:"white",strokeWidth:"54"}),(0,n.jsx)("path",{id:"textbox-reveal-1",d:"M512.5 33.9999C584 32.4999 726.3 18.0997 727.5 64.4997C728.7 110.9 731.501 161 727.5 169.5C721.833 175 704.2 186.2 679 187C653.8 187.8 580.167 185 546.5 183.5C546.5 183.5 478.5 188.167 468.5 183.5C458.5 178.833 435.501 174.5 437 150.5C437.951 135.282 433.5 86.8331 432.5 64.4997C435.5 51 438.751 30.9999 473.5 30.9997C500.5 30.9996 520 30.9999 528.5 30.9999",stroke:"white",strokeWidth:"13"}),(0,n.jsx)("path",{id:"textbox-reveal-2",d:"M872.499 63.9992L793.499 64.9992C783.333 66.3325 763.497 72.9993 765.999 102.499C768.501 131.996 765.667 160.833 766.499 170.999C768.666 178.166 767.999 195.499 797.999 190.999C817.814 188.027 941.166 191.666 1001.5 193.499C1009 194.333 1025.6 190.499 1022 162.499C1018.4 134.499 1020.5 105.499 1022 94.4992C1025 83.8325 1003.5 64.4992 978.999 62.4992C937.537 59.1145 893 67.9995 871.499 64.0119",stroke:"white",strokeWidth:"11"}),(0,n.jsx)("path",{id:"textbox-reveal-3",d:"M1113 107.501C1087.5 106.5 1044.2 101.201 1045 144.001C1045.8 186.801 1046.67 226.167 1047.5 240.501C1046.83 247.667 1054.1 261.201 1084.5 260.001C1114.9 258.801 1242.5 253.001 1302.5 250.001C1315.67 250.667 1337.55 244.965 1336 211.501C1334.5 179.001 1332.67 148.001 1332 137.501C1332 127.334 1323 107.501 1281 108.501C1241.01 109.453 1166.67 107.001 1134 107.001L1112.5 107.011",stroke:"white",strokeWidth:"11"}),(0,n.jsx)("path",{id:"textbox-reveal-4",d:"M1066 340.499C1066 295.5 1133 325 1191.5 315.8C1224.17 315.8 1246.5 318.5 1287 317.5C1326.99 316.512 1331.33 320.5 1334.5 330C1338 340.5 1340 391.5 1330.5 424.5C1326.78 437.415 1316 452 1303 452.5C1230 447.5 1132.32 449.883 1096.5 455C1065 459.5 1062.59 442.5 1060 435C1055 420.5 1066 383.307 1066 340.499Z",stroke:"white",strokeWidth:"10"}),(0,n.jsx)("path",{id:"textbox-reveal-5",d:"M711 340L764.5 342.5C815.667 340.667 920.6 339.8 963 337C1005.4 334.2 1016.33 349.5 1016.5 357.5C1016.17 389.5 1017.5 462 1014 492.5C1010.44 523.56 983.5 526 967 528C902 523.5 794.5 521.5 720 531C698.34 533.762 687 521 683.5 504C686.5 480 694 419 692 378C690.577 348.824 694.5 339.5 711 340Z",stroke:"white",strokeWidth:"12"}),(0,n.jsx)("path",{id:"textbox-reveal-6",d:"M431.001 339.5H580.001C588.667 339.334 605.901 347.1 605.501 379.5C605.101 411.9 600.833 450.96 601 466.46C600 479.627 591.6 505.86 566 505.46C540.4 505.06 421.501 504.934 363.001 506.1C349.834 507.267 324.101 504.701 326.501 475.501C328.901 446.301 329.167 387.334 329 361.501C331 351.5 330.4 337.5 358 339.5C385.6 341.5 422.167 338.334 437 336.5",stroke:"white",strokeWidth:"14"}),(0,n.jsx)("path",{id:"textbox-reveal-7",d:"M259.999 100.5H352.499C363.499 100.167 385.899 107.2 387.499 138C389.099 168.8 390.366 245.5 391.699 280C389.7 293.5 380 317 357.499 317C325.089 317 200.666 324.667 142.499 328C129.666 331.333 103.899 329 103.499 293C103.099 257 103.332 170 103.499 131C101.333 118.5 105.401 94.1997 139.001 97C172.601 99.8004 234 99.5001 260.5 101",stroke:"white",strokeWidth:"14"})]})},tY=function(){return(0,n.jsx)("svg",{viewBox:"0 0 1440 544",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"feedback-loop-highlight-reveal",d:"M439 238.5C625.5 240.333 993.9 238.4 1005.5 238C1017.1 237.6 625.667 252.667 424.5 258.5L1003 257.5L423.5 278H992L454.5 294H987.5",stroke:"white",strokeWidth:"20"})})},tZ=function(e){let t=[{selector:"#textbox-reveal-1"},{selector:"#arrow-reveal-1",position:"<+=0.3",duration:.3},{selector:"#textbox-reveal-2",reversePath:!0},{selector:"#arrow-reveal-2",position:"<+=0.3",duration:.3},{selector:"#textbox-reveal-3",reversePath:!0},{selector:"#arrow-reveal-3",position:"<+=0.3",duration:.3},{selector:"#textbox-reveal-4",reversePath:!0},{selector:"#arrow-reveal-4",position:"<+=0.3",duration:.3},{selector:"#textbox-reveal-5",reversePath:!0},{selector:"#arrow-reveal-5",position:"<+=0.3",duration:.3},{selector:"#textbox-reveal-6"},{selector:"#arrow-reveal-6",position:"<+=0.3",duration:.3},{selector:"#textbox-reveal-7"},{selector:"#arrow-reveal-7",position:"<+=0.3",duration:.3}],a=[{selector:"#feedback-loop-highlight-reveal",duration:1,delay:0,drawStart:"0% 100%",drawEnd:"0% 0%"}];return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(tV,{}),highlightRevealSVG:(0,n.jsx)(tY,{}),inkRevealAnimation:t,highlightRevealAnimation:a,spacingBottom:32})},tK=a(4633),tq=a.n(tK),tQ=function(e){let{isPlaying:t=!0,videoSources:a=[],className:s}=e,r=(0,i.useRef)(null),[o,l]=(0,i.useState)(!1),{inViewRef:c,isInView:d}=e9({triggerOnce:!1,onChange(e){e&&!o&&l(!0)}});return(0,i.useEffect)(()=>{var e,a;d&&t?null===(e=r.current)||void 0===e||e.play():null===(a=r.current)||void 0===a||a.pause()},[d,t]),(0,n.jsx)("div",{className:"".concat(tq().ComicVideoLoop," ").concat(s),ref:c,style:{opacity:o?1:0},children:(0,n.jsx)("video",{loop:!0,autoPlay:!0,muted:!0,playsInline:!0,ref:r,children:a.map(e=>(0,n.jsx)("source",{src:e.src,type:e.type},e.src))})})},tz=a(2190),tJ=a.n(tz),tX=function(){return(0,n.jsx)("svg",{viewBox:"0 0 1440 304",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"border-reveal",d:"M1134.5 35.5C998.5 26.8333 718.8 14.6 682 25C645.2 35.4 304.666 29.3334 139 25C127.333 22.8334 104 24.7001 104 49.5001C104 74.3001 104 166.167 104 209C102.666 219.667 106.7 240.8 133.5 240C160.3 239.2 367 239.667 467 240H1126.5",stroke:"white",strokeWidth:"34"})})},t$=function(){return(0,n.jsx)("svg",{viewBox:"0 0 1440 304",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"souce-code-highlight-reveal",d:"M667.5 193.501C725.5 177 909.5 182 945.5 193.501",stroke:"white",strokeWidth:"34"})})},t0=function(e){let{inkImage:t,highlightImage:a,videoSources:s}=e,i=[{selector:"#border-reveal"}],r=[{selector:"#souce-code-highlight-reveal"}];return(0,n.jsx)("div",{className:tJ().ComicSourceCodeQuoteDesktop,children:(0,n.jsx)(tk,{inkImage:t,highlightImage:a,inkRevealAnimation:i,highlightRevealAnimation:r,inkRevealSVG:(0,n.jsx)(tX,{}),highlightRevealSVG:(0,n.jsx)(t$,{}),spacingBottom:0,children:!!(null==s?void 0:s.length)&&(0,n.jsx)(tQ,{videoSources:s,isPlaying:!0,className:tJ().video})})})},t1=a(3345),t2=a.n(t1),t4=function(e){return(0,n.jsxs)("div",{className:t2().ComicBookDesktop,children:[(0,n.jsx)(tL,{...e.header}),(0,n.jsx)(tB,{...e.subheading}),(0,n.jsx)(tF,{...e.teletypeBanner}),(0,n.jsx)(tU,{...e.teletype}),(0,n.jsx)(tZ,{...e.feedbackLoop}),(0,n.jsx)(t0,{...e.sourceCodeQuote})]})},t3=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 329",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"signature-reveal-4",d:"M783.237 269.088L791.494 269.838",stroke:"white",strokeWidth:"9.00704"}),(0,n.jsx)("path",{id:"signature-reveal-3",d:"M891.696 272.841C886.317 274.217 874.808 276.594 871.806 275.092",stroke:"white",strokeWidth:"5.2541"}),(0,n.jsx)("path",{id:"signature-reveal-2",d:"M824.52 294.739C838.405 295.358 848.163 262.708 843.284 262.332C832.121 261.473 839.907 288.777 860.548 265.335C864.676 269.463 847.037 304.74 837.498 296.493C831.449 286.322 845.35 287.003 853.417 285.601C860.082 282.093 874.822 279.473 864.301 291.981C857.315 300.284 847.037 290.855 866.26 284.218C868.364 283.867 864.155 293.336 869.066 292.635C874.093 288.543 887.656 270.188 883.447 268.785C881.693 268.435 867.663 294.599 877.484 292.635C883.798 291.349 896.144 287.164 895.022 280.71C893.619 272.643 878.536 292.986 886.253 292.635C893.97 292.284 904.843 285.27 906.597 283.867C908.351 282.464 905.194 296.142 899.933 294.038C895.723 292.354 895.139 289.829 895.022 288.777",stroke:"white",strokeWidth:"6.00469"}),(0,n.jsx)("path",{id:"signature-reveal-1",d:"M744.957 297.301C750.31 288.022 753.213 269.088 773.866 270.177C776.723 270.328 774.228 281.138 761.095 284.85C759.667 285.421 761.85 290.758 764.229 292.662C763.159 295.517 759.304 300.728 752.452 298.729C745.599 296.73 782.486 288.603 780.985 282.223C777.983 276.218 769.726 291.98 774.605 294.983C779.484 297.985 809.198 274.103 804.202 269.464C799.944 265.51 779.753 295.605 792.244 293.106C804.735 290.608 819.254 276.812 815.137 274.342C809.783 271.13 798.624 287.477 803.488 295.874",stroke:"white",strokeWidth:"6.00469"}),(0,n.jsx)("path",{id:"bill-reveal",d:"M672.15 28.1494L820.766 22.8953L672.15 48.7905L838.78 51.7928L666.896 82.5669H830.148L676.278 110.714L830.148 117.844L672.15 135.483L833.526 147.117L699.624 158.627L820.766 179.768L697.624 185.627L879.312 227.805L661.124 215.627L860.172 243.568H631.124L908.96 251.824L600.124 263.127L897.124 279.627C906.062 284.229 722.124 299.427 579.077 283.782",stroke:"white",strokeWidth:"44.04"}),(0,n.jsx)("path",{id:"text-bubble-reveal",d:"M489.382 154.248L628.991 118.97L491.634 166.257L628.991 133.231L475.496 180.518L637.998 148.618L480 192.528L637.998 162.88L489.382 209.791L634.996 178.267L491.634 218.798L637.998 192.528",stroke:"white",strokeWidth:"13.5106"}),(0,n.jsx)("path",{id:"speech-bubble-reveal",d:"M530.041 110.658C474.123 124.544 438.845 213.488 506.773 235.255C578.063 258.099 631.37 225.122 646.007 189.845C646.007 189.845 695.053 174.708 683.669 174.458C672.285 174.207 656.515 171.601 656.515 161.322C656.515 142.933 648.634 61.8696 521.409 113.285",stroke:"white",strokeWidth:"13.5106"}),(0,n.jsx)("path",{id:"text-reveal-2",d:"M60.5953 207.758L426.652 193.17L63.3093 237.613L432.713 230.432L55.8457 263.396L443.222 269.088",stroke:"white",strokeWidth:"40.7106"}),(0,n.jsx)("path",{id:"text-reveal-1",d:"M62.025 83.0951L465.739 73.9352L70.9301 112.215L453.186 121.092L52.916 151.996L440.634 147.214",stroke:"white",strokeWidth:"40.7106"}),(0,n.jsx)("path",{id:"border-outline-1",d:"M15.3867 26.4301C15.3867 26.4301 923.596 20.2682 927.349 25.8977C931.102 31.5272 927.349 298.127 929.601 310.588C927.536 312.653 841.766 319.33 725.625 320.427C457.125 319.927 34.8808 317.938 32.2749 316.375C26.6455 310.37 29.6479 32.4348 29.6479 32.4348",stroke:"white",strokeWidth:"15.3"})]})},t5=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 328",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"bill-highlight-reveal",d:"M708.318 183.521C703.886 194.43 691.544 217.204 677.635 221.022C660.247 225.795 600.586 285.457 601.609 299.094C602.427 310.003 673.089 247.955 708.318 215.568L633.997 303.867L726.387 227.841L653.011 312.622L731.842 247.955L680.783 315.624L741.728 251.364L713.773 311.367L745.819 238.75L731.842 311.367L751.615 232.273V311.367L765.934 227.841L773.434 311.367L780.935 215.568L792.867 308.98L795.253 209.772L815.027 310.003L797.874 191.777L833.437 308.98L816.05 206.022L855.256 306.935L842.642 216.931L879.802 305.912L868.211 229.545L897.327 303.99",stroke:"white",strokeWidth:"22.5176"}),(0,n.jsx)("path",{id:"my-first-code-highlight-reveal",d:"M53.6521 129.577C154.543 133.57 377.607 138.315 462.736 125.348C359.966 133.805 133.073 149.731 47.6621 145.785L454.985 148.618L47.6621 162.129L454.985 159.879",stroke:"white",strokeWidth:"21.1413"})]})},t8=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(t3,{}),highlightRevealSVG:(0,n.jsx)(t5,{}),inkRevealAnimation:ty,highlightRevealAnimation:tw,spacingBottom:18})},t6=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 262",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-reveal-5",d:"M24.0234 234.786L418.9 235.537",stroke:"white",strokeWidth:"36.0344"}),(0,n.jsx)("path",{id:"text-reveal-4",d:"M24.0234 187.679L236.476 187.116L448.929 192.559L877.963 187.679",stroke:"white",strokeWidth:"36.0344"}),(0,n.jsx)("path",{id:"text-reveal-3",d:"M24.0234 134.378L505.233 135.129L941.399 143.387",stroke:"white",strokeWidth:"37.5358"}),(0,n.jsx)("path",{id:"text-reveal-2",d:"M27.0254 84.0802C426.031 70.5673 541.641 91.212 929.762 87.4584",stroke:"white",strokeWidth:"41.2894"}),(0,n.jsx)("path",{id:"text-reveal-1",d:"M29.2773 27.0258C374.231 35.659 568.667 24.3982 917.375 35.659",stroke:"white",strokeWidth:"33.7822"})]})};let t7=[{selector:"#text-reveal-1"},{selector:"#text-reveal-2"},{selector:"#text-reveal-3"},{selector:"#text-reveal-4"},{selector:"#text-reveal-5"}];var t9=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(t6,{}),inkRevealAnimation:t7,spacingBottom:18})},ae=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 157",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"border-reveal",d:"M563.314 27.7719L930.351 21.0166V133.605L23.2676 142.987L27.3958 46.5365L372.29 35.2777",stroke:"white",strokeWidth:"15.0117"}),(0,n.jsx)("path",{id:"text-reveal-layer",d:"M377.545 27.7715L570.445 36.4032L33.0254 84.0655L920.219 68.3031L41.2818 113.338L926.223 103.581",stroke:"white",strokeWidth:"36.0281"})]})},at=function(){return(0,n.jsx)("svg",{viewBox:"0 0 960 157",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"highlight-reveal",d:"M363.66 15.7622H584.332L361.033 27.021L584.332 30.3986L11.2598 52.1656L911.213 30.0233L16.5139 73.5574L934.481 39.0304L26.6468 88.1938L938.985 58.5456L26.6468 106.583L944.989 79.9373L16.5139 124.222L941.612 102.08L21.3927 145.238L931.103 124.597",stroke:"white",strokeWidth:"22.5176"})})},aa=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(ae,{}),highlightRevealSVG:(0,n.jsx)(at,{}),inkRevealAnimation:tM,highlightRevealAnimation:tH,spacingBottom:0})},as=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 791",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{clipPath:"url(#clip0_2060_370580)",children:(0,n.jsxs)("g",{clipPath:"url(#clip1_2060_370580)",children:[(0,n.jsx)("path",{id:"line-18",d:"M632.745 468.823L1027.18 762.596",stroke:"white",strokeWidth:"24.0188"}),(0,n.jsx)("path",{id:"line-17",d:"M652.259 372.38L1059.08 659.391",stroke:"white",strokeWidth:"24.0188"}),(0,n.jsx)("path",{id:"line-16",d:"M828.648 407.193L1282 642.877",stroke:"white",strokeWidth:"22.5176"}),(0,n.jsx)("path",{id:"line-15",d:"M717.561 292.93L1164.16 433.839",stroke:"white",strokeWidth:"22.5176"}),(0,n.jsx)("path",{id:"line-14",d:"M727.693 256.325L1092.85 205.285",stroke:"white",strokeWidth:"22.5176"}),(0,n.jsx)("path",{id:"line-13",d:"M704.801 206.411L1178.8 -49.5391",stroke:"white",strokeWidth:"22.5176"}),(0,n.jsx)("path",{id:"line-12",d:"M644.754 159.499L935.23 -69.8047",stroke:"white",strokeWidth:"18.7647"}),(0,n.jsx)("path",{id:"line-11",d:"M601.719 109.278L788.866 -98.7021",stroke:"white",strokeWidth:"18.7647"}),(0,n.jsx)("path",{id:"line-10",d:"M528.126 112.281L692.791 -95.3242",stroke:"white",strokeWidth:"18.7647"}),(0,n.jsx)("path",{id:"line-9",d:"M313.37 102.83L115.215 -70.9307",stroke:"white",strokeWidth:"17.2635"}),(0,n.jsx)("path",{id:"line-8",d:"M236.81 145.989L-17.6387 -66.4268",stroke:"white",strokeWidth:"17.2635"}),(0,n.jsx)("path",{id:"line-7",d:"M224.638 193.593L-224.426 20.6416",stroke:"white",strokeWidth:"17.2635"}),(0,n.jsx)("path",{id:"line-6",d:"M105.912 198.93L-311.494 112.963",stroke:"white",strokeWidth:"17.2635"}),(0,n.jsx)("path",{id:"line-5",d:"M219.25 257.792L-254.449 232.682",stroke:"white",strokeWidth:"17.2635"}),(0,n.jsx)("path",{id:"line-4",d:"M120.094 305.864L-305.863 408.319",stroke:"white",strokeWidth:"21.0164"}),(0,n.jsx)("path",{id:"line-3",d:"M260.454 312.994L-273.588 551.306",stroke:"white",strokeWidth:"24.0188"}),(0,n.jsx)("path",{id:"line-2",d:"M251.821 383.611L-151.994 688.663",stroke:"white",strokeWidth:"24.0188"}),(0,n.jsx)("path",{id:"line-1",d:"M264.206 470.243L-19.1407 792.995",stroke:"white",strokeWidth:"24.0188"})]})}),(0,n.jsxs)("defs",{children:[(0,n.jsx)("clipPath",{id:"clip0_2060_370580",children:(0,n.jsx)("rect",{width:"960",height:"790.367",fill:"white"})}),(0,n.jsx)("clipPath",{id:"clip1_2060_370580",children:(0,n.jsx)("rect",{width:"1552.96",height:"957.748",fill:"white",transform:"translate(-295.73 -126.099)"})})]})]})},an=function(){return(0,n.jsx)("svg",{viewBox:"0 0 960 791",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"teletype-ink-reveal",d:"M281.469 4.50391L553.557 23.6439L303.987 76.9355L523.158 112.964L298.357 161.752L649.632 201.158L250.695 225.927L711.93 257.827L236.059 299.484L711.93 328.757L289.35 364.035L629.366 403.441L281.469 440.595L619.233 481.502L289.35 519.781L612.478 549.054L270.21 603.472L668.772 628.241L281.469 681.533L699.546 689.414L391.055 747.96",stroke:"white",strokeWidth:"75.0586"})})};let ai=[{selector:"#teletype-ink-reveal"}],ar=[{selector:"#line-1",position:0,reversePath:!0},{selector:"#line-2",position:0,reversePath:!0},{selector:"#line-3",position:0,reversePath:!0},{selector:"#line-4",position:0,reversePath:!0},{selector:"#line-5",position:0,reversePath:!0},{selector:"#line-6",position:0,reversePath:!0},{selector:"#line-7",position:0,reversePath:!0},{selector:"#line-8",position:0,reversePath:!0},{selector:"#line-9",position:0,reversePath:!0},{selector:"#line-10",position:0,reversePath:!0},{selector:"#line-11",position:0,reversePath:!0},{selector:"#line-12",position:0,reversePath:!0},{selector:"#line-13",position:0,reversePath:!0},{selector:"#line-14",position:0,reversePath:!0},{selector:"#line-15",position:0,reversePath:!0},{selector:"#line-16",position:0,reversePath:!0},{selector:"#line-17",position:0,reversePath:!0},{selector:"#line-18",position:0,reversePath:!0}];var ao=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(an,{}),inkRevealAnimation:ai,highlightRevealSVG:(0,n.jsx)(as,{}),highlightRevealAnimation:ar,spacingBottom:0})},al=a(2008),ac=a.n(al),ad=function(e){let{isInView:t,inkImage:a,highlightImage:s,inkRevealSVG:r,highlightRevealSVG:o,inkRevealAnimation:l,highlightRevealAnimation:c}=e,[d,m]=(0,i.useState)(!a),[u,h]=(0,i.useState)(!s),_=t&&d&&u,g=()=>m(!0),p=()=>h(!0);return(0,n.jsxs)("div",{className:ac().ComicCarouselSlide,children:[s&&(0,n.jsx)(tb,{image:s,onLoaded:p,isBoilPlaying:t}),o&&(0,n.jsx)(tS,{isReady:_,animation:c,children:o}),a&&(0,n.jsx)(ts,{image:a,onLoaded:g}),r&&(0,n.jsx)(tC,{isReady:_,animation:l,children:r})]})},am=a(4696),au=a.n(am),ah=function(e){let{onClick:t,label:a="Arrow",direction:s="right",isAnimating:i}=e;return(0,n.jsx)("button",{onClick:t,"aria-label":a,className:au().ComicArrowButton,"data-animating":i?"true":"false",children:(0,n.jsx)("svg",{viewBox:"0 0 80 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:au().svg,children:"left"===s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{id:"arrow-1",d:"M17.3077 15.6132C19.637 13.3797 28.4493 5.18117 22.994 3.18997C20.3106 1.80239 13.1117 8.40101 11.0033 10.5094C9.50212 12.0106 3.60632 16.4332 3.79751 20.417C3.95352 23.74 8.41175 26.9074 10.4028 27.9228C15.2066 30.9251 19.7581 34.6346 24.2136 36.6296C27.8923 38.2822 31.4051 36.6034 29.1599 32.6181L14.0051 21.6179C31.6784 21.6179 43.7283 22.2185 63.2436 22.2184C63.2436 22.2184 77.0544 22.8189 77.0544 19.2161C77.0544 15.9135 70.149 16.2137 70.149 16.2137C52.4351 16.2138 37.9877 15.6132 18.5087 15.6132H17.3077Z",fill:"black"}),(0,n.jsx)("path",{id:"arrow-2",d:"M16.504 16.0361C18.8333 13.8026 28.4587 6.02687 23.0034 4.03567C20.3199 2.64808 13.1112 8.40125 11.0028 10.5096C9.50162 12.0108 2.81282 16.5524 3.00402 20.5361C3.16002 23.8591 7.51295 27.0208 9.50402 28.0361C14.3078 31.0385 18.0484 34.0411 22.5039 36.0361C26.1825 37.6887 31.4046 36.6036 29.1594 32.6184L13.004 21.5361C30.6773 21.5361 43.9886 22.5362 63.5039 22.5361C63.5039 22.5361 76.5039 22.6389 76.5039 19.0361C76.5039 15.7336 66.5039 15.5361 66.5039 15.5361C48.79 15.5362 39.483 15.0361 20.004 15.0361L16.504 16.0361Z",fill:"black"}),(0,n.jsx)("path",{id:"arrow-3",d:"M17.3061 15.6124C19.6354 13.3789 28.4592 7.02627 23.0039 5.03507C20.3204 3.64749 13.6123 7.42678 11.5039 9.53515C10.0027 11.0363 2.81255 15.2315 3.00374 19.2152C3.15975 22.5382 7.51284 28.0197 9.50391 29.0351C14.3077 32.0374 20.5484 34.5402 25.0039 36.5352C28.6825 38.1877 32.2491 36.0204 30.0039 32.0352L12.5039 21.5351C30.1772 21.535 42.4886 21.5351 62.0039 21.5351C62.0039 21.5351 76.5039 22.138 76.5039 18.5352C76.5039 15.2326 70.0039 15.0352 70.0039 15.0352C51.5039 14.0352 44.9829 15.0351 25.5039 15.0352L17.3061 15.6124Z",fill:"black"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{id:"arrow-1",d:"M62.747 15.9238C60.4177 13.6903 51.6054 5.49172 57.0606 3.50052C59.7441 2.11293 66.943 8.71156 69.0514 10.8199C70.5526 12.3211 76.4484 16.7438 76.2572 20.7275C76.1012 24.0505 71.6429 27.218 69.6519 28.2333C64.8481 31.2357 60.2966 34.9452 55.8411 36.9402C52.1624 38.5927 48.6496 36.9139 50.8948 32.9287L66.0496 21.9285C48.3763 21.9284 36.3264 22.529 16.8111 22.5289C16.8111 22.5289 3.0003 23.1294 3.0003 19.5266C3.0003 16.224 9.90569 16.5243 9.90569 16.5243C27.6196 16.5243 42.067 15.9238 61.546 15.9238H62.747Z",fill:"black"}),(0,n.jsx)("path",{id:"arrow-2",d:"M63.3457 16.6914C61.0164 14.4579 50.3852 6.18257 55.8405 4.19136C58.524 2.80378 66.2376 9.083 68.3459 11.1914C69.8471 12.6925 77.5373 16.7079 77.3461 20.6917C77.1901 24.0146 71.3368 26.6761 69.3457 27.6914C64.542 30.6938 58.8012 35.1964 54.3457 37.1914C50.6671 38.844 47.3457 35.6914 50.3457 32.1914L64.3457 21.6914C46.6724 21.6913 36.861 22.1915 17.3457 22.1914C17.3457 22.1914 3.3457 24.2942 3.3457 20.6914C3.3457 17.3888 13.8457 17.1914 13.8457 17.1914C31.5596 17.1915 41.8667 16.6914 61.3457 16.6914H63.3457Z",fill:"black"}),(0,n.jsx)("path",{id:"arrow-3",d:"M62.747 15.6132C60.4177 13.3797 51.6054 5.18117 57.0606 3.18997C59.7441 1.80239 66.943 8.40101 69.0514 10.5094C70.5526 12.0106 76.4484 16.4332 76.2572 20.417C76.1012 23.74 71.6429 26.9074 69.6519 27.9228C64.8481 30.9251 60.2966 34.6346 55.8411 36.6296C52.1624 38.2822 48.6496 36.6034 50.8948 32.6181L66.0496 21.6179C48.3763 21.6179 36.3264 22.2185 16.8111 22.2184C16.8111 22.2184 3.0003 22.8189 3.0003 19.2161C3.0003 15.9135 9.90569 16.2137 9.90569 16.2137C27.6196 16.2138 42.067 15.6132 61.546 15.6132H62.747Z",fill:"black"})]})})})},a_=a(5767),ag=a.n(a_),ap=function(e){let{onClick:t,isActive:a,isAnimating:s}=e;return(0,n.jsx)("button",{onClick:t,className:ag().ComicDotButton,"data-animating":s?"true":"false",children:(0,n.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:ag().svg,children:[(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{id:"dot-1",d:"M15.6864 7.50297L15.7361 7.54963L15.7878 7.59398C17.5146 9.07461 18.041 10.6049 18.0287 11.9306C18.0156 13.3431 17.3815 14.8505 16.2207 16.1028C13.8839 18.6241 10.23 19.4323 7.17718 16.8844C4.56467 14.5175 4.8066 10.8734 7.15381 8.11443C8.29137 6.7773 9.73182 5.9493 11.1309 5.76266C12.4321 5.58907 14.0045 5.92292 15.6864 7.50297Z",stroke:"black",strokeWidth:"6.00469"}),(0,n.jsx)("path",{id:"dot-2",d:"M6.75249 17.3933C4.32911 14.9572 4.48158 11.0061 6.84248 7.92738C8.008 6.40748 9.53853 5.40161 11.1304 5.10027C12.6297 4.81644 14.499 5.09403 16.6177 6.70872C18.3424 8.21032 18.9408 9.77352 18.9842 11.1387C19.03 12.5801 18.4635 14.1162 17.3228 15.4425C15.1106 18.0147 11.0448 19.4473 6.75249 17.3933Z",stroke:"black",strokeWidth:"6.00469"}),(0,n.jsx)("path",{id:"dot-3",d:"M15.6864 7.50297L15.7361 7.54963L15.7878 7.59398C17.5146 9.07461 18.041 10.6049 18.0287 11.9306C18.0156 13.3431 17.3815 14.8505 16.2207 16.1028C13.8839 18.6241 10.23 19.4323 7.17718 16.8844C4.56467 14.5175 4.8066 10.8734 7.15381 8.11443C8.29137 6.7773 9.73182 5.9493 11.1309 5.76266C12.4321 5.58907 14.0045 5.92292 15.6864 7.50297Z",stroke:"black",strokeWidth:"6.00469"})]}),a&&(0,n.jsx)("circle",{id:"active",cx:"12.0137",cy:"11.8799",r:"7.5",fill:"black"})]})})},ax=a(7471),av=a.n(ax),aC=function(e){let{onClickPrev:t,onClickNext:a,onClickDot:s,totalSlides:i=0,currentIndex:r}=e,{inViewRef:o,isInView:l}=e9({triggerOnce:!1}),c=e6();return(0,n.jsxs)("nav",{className:av().ComicCarouselNav,ref:o,"data-size":"mobile"===c?"small":"large",children:[(0,n.jsx)(ah,{onClick:t,label:"Previous",direction:"left",isAnimating:l}),(0,n.jsx)("div",{className:av().dots,children:Array.from(Array(i).keys()).map(e=>(0,n.jsx)(ap,{isActive:e===r,onClick:()=>s(e),isAnimating:l},"dot-".concat(e)))}),(0,n.jsx)(ah,{onClick:a,label:"Next",direction:"right",isAnimating:l})]})},ab=a(6122),af=a.n(ab);let aI="#f7d03c";var aS=function(){let{inViewRef:e,isInView:t}=e9({triggerOnce:!1});return(0,n.jsx)("div",{className:af().ComicCarouselBg,ref:e,"data-animating":t?"true":"false",children:(0,n.jsxs)("div",{className:af().inner,children:[(0,n.jsx)("div",{className:af().top,children:(0,n.jsx)("svg",{viewBox:"0 0 1279 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M81.8036 32.5976C89.804 30.9125 93.9772 26.3956 102.551 24.3717C106.23 23.5031 113.034 23.1991 113.617 22.9906C114.596 22.6431 114.715 19.7159 117.118 18.3955C118.631 17.5617 122.181 17.2576 124.308 16.224C136.155 10.4476 140.318 6.78198 158.02 5.8873C189.834 4.28033 228.174 5.47036 260.73 5.04473C360.937 3.7331 455.874 4.21953 555.864 5.86124C651.108 7.42477 746.47 -2.60789 841.485 0.658156C857.605 1.21408 859.692 4.01975 870.639 5.67883C899.555 10.0741 948.596 4.05449 970.075 17.9525C1070.32 22.8516 1175.31 24.1024 1274.06 34.5781L1279 35.0369V80H0V47.615C3.50172 44.5502 7.25584 41.8488 10.3439 40.311C13.9732 38.5043 19.1453 38.3393 20.8858 37.3577C22.8043 36.2806 22.2802 34.1872 24.7228 32.5194C25.7118 31.8419 47.7944 22.3131 49.6437 21.7745C71.7462 15.3293 73.6746 23.8853 81.8431 32.5889L81.8036 32.5976Z",fill:aI})})}),(0,n.jsx)("div",{className:af().body,style:{backgroundColor:aI}}),(0,n.jsx)("div",{className:af().bottom,children:(0,n.jsx)("svg",{viewBox:"0 0 1279 81",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M1269.41 54.1583C1257.18 55.5394 1234.88 55.8521 1221.71 56.1127C1211.33 56.3125 1158.7 55.1397 1154.39 56.8422L1154.28 57.2489C1151.62 66.9075 1148.93 76.6697 1127.06 77.6633C1049.3 76.0651 971.905 72.3908 894.393 71.6003C891.733 71.5743 888.855 70.61 886.373 70.7316C882.081 70.9488 878.956 75.1095 873.418 74.9966C759.108 78.9141 644.353 72.5384 530.261 70.6969C437.381 69.2029 346.845 70.6361 254.282 74.1888C216.584 75.6394 170.53 80.4168 134.019 80.2431C122.953 80.191 87.213 75.6568 75.3261 73.7805C73.724 73.5286 62.5591 70.1583 61.4317 69.6024C54.5883 66.2234 59.0385 61.8282 44.7584 58.3102C33.091 55.4286 14.5485 54.7005 0 52.9319V0H1279V51.5C1276.25 52.8029 1273.06 53.7465 1269.41 54.1583Z",fill:aI})})})]})})},aT=a(1296),aN=a.n(aT);let aE=100,ak=.5;var aA=function(e){let{slides:t,slideInkRevealSVGs:a,slideHighlightRevealSVGs:s,slideInkRevealAnimations:r,slideHighlightRevealAnimations:o,carouselInkSVG:l,carouselInkRevealAnimation:c,spacingBottom:d=0}=e,[m,h]=(0,i.useState)(0),_=(0,i.useRef)(null),g=(0,i.useRef)(0),p=(0,i.useRef)(0),x=(0,i.useRef)(!1),v=tT(),{inViewRef:C,isInView:b}=e9({rootMargin:"0px 0px -100px 0px",triggerOnce:!0,viewOffsetDelay:v?.4:4}),f=(null==t?void 0:t.length)||0,I=a[m],S=s[m],T=t[m],N=()=>{h(e=>u.p8.utils.wrap(0,f,e+1))},E=()=>{h(e=>u.p8.utils.wrap(0,f,e-1))},k=e=>{h(e)},A=e=>{g.current=e.touches[0].clientX,p.current=Date.now(),x.current=!0},j=e=>{if(!x.current)return;let t=e.touches[0].clientX-g.current,a=Date.now()-p.current,s=Math.abs(t/a);(Math.abs(t)>aE||s>ak)&&(t>0?E():N(),x.current=!1)},y=()=>{x.current=!1};return(0,i.useEffect)(()=>{let e=_.current;return e.addEventListener("touchstart",A),e.addEventListener("touchmove",j),e.addEventListener("touchend",y),()=>{e.removeEventListener("touchstart",A),e.removeEventListener("touchmove",j),e.removeEventListener("touchend",y)}},[]),(0,n.jsxs)("div",{className:aN().ComicCarousel,ref:_,style:{"--spacing-bottom":d},children:[(0,n.jsx)("div",{className:aN().reveal,ref:C,children:(0,n.jsx)(tC,{isReady:b,animation:c,isSvgHeightBased:!0,children:l})}),(0,n.jsx)("div",{className:aN().carousel,children:(0,n.jsx)("div",{className:aN().slide,children:(0,n.jsx)(ad,{inkImage:null==T?void 0:T.inkImage,highlightImage:null==T?void 0:T.highlightImage,inkRevealSVG:(0,n.jsx)(I,{}),inkRevealAnimation:r[m]||void 0,highlightRevealSVG:(0,n.jsx)(S,{}),highlightRevealAnimation:o[m]||void 0},m)})}),(0,n.jsx)(aC,{onClickPrev:E,onClickNext:N,onClickDot:k,totalSlides:f,currentIndex:m}),(0,n.jsx)(aS,{})]})},aj=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 322",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{clipPath:"url(#clip0_2532_164222)",children:(0,n.jsx)("path",{id:"highlight-reveal-bg",d:"M-0.625977 9.3877H480.626L-0.625977 67.5885L480.626 88.8662L-0.625977 160.209L480.626 182.113L-0.625977 239.062H480.626L-0.625977 307.901L480.626 314.16",stroke:"white",strokeWidth:"93.8722"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2532_164222",children:(0,n.jsx)("rect",{width:"480",height:"322",fill:"white"})})})]})},ay=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 322",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-1-text-reveal-1",d:"M64 139H416",stroke:"#F7D03C",strokeWidth:"34"}),(0,n.jsx)("path",{id:"text-1-text-reveal-2",d:"M104.001 179.568L354.506 179.568",stroke:"#F7D03C",strokeWidth:"34"})]})},aw=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 322",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-2-text-reveal-1",d:"M114 102L249 105L384 102",stroke:"#F7D03C",strokeWidth:"34"}),(0,n.jsx)("path",{id:"text-2-text-reveal-2",d:"M24.5 141.001L238 144.501L453 141.001",stroke:"#F7D03C",strokeWidth:"41"}),(0,n.jsx)("path",{id:"text-2-text-reveal-3",d:"M20 184H459.5",stroke:"#F7D03C",strokeWidth:"34"}),(0,n.jsx)("path",{id:"text-2-text-reveal-4",d:"M141.5 220.001H337.5",stroke:"#F7D03C",strokeWidth:"34"})]})},aL=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 322",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-3-text-reveal-1",d:"M62 120H425",stroke:"#F7D03C",strokeWidth:"34"}),(0,n.jsx)("path",{id:"text-3-text-reveal-2",d:"M62 165.5H425",stroke:"#F7D03C",strokeWidth:"34"}),(0,n.jsx)("path",{id:"text-3-text-reveal-3",d:"M144.5 204.5H343",stroke:"#F7D03C",strokeWidth:"34"})]})},aO=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 322",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-4-text-reveal-1",d:"M38 81H439",stroke:"#F7D03C",strokeWidth:"34"}),(0,n.jsx)("path",{id:"text-4-text-reveal-2",d:"M56 123H424",stroke:"#F7D03C",strokeWidth:"34"}),(0,n.jsx)("path",{id:"text-4-text-reveal-3",d:"M47 161H439",stroke:"#F7D03C",strokeWidth:"34"}),(0,n.jsx)("path",{id:"text-4-text-reveal-4",d:"M67 198H416",stroke:"#F7D03C",strokeWidth:"34"}),(0,n.jsx)("path",{id:"text-4-text-reveal-5",d:"M128 234H354",stroke:"#F7D03C",strokeWidth:"34"})]})},aB=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 322",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-5-text-reveal-1",d:"M35 119H436",stroke:"#F7D03C",strokeWidth:"34"}),(0,n.jsx)("path",{id:"text-5-text-reveal-3",d:"M41.5 193H443.5",stroke:"#F7D03C",strokeWidth:"34"}),(0,n.jsx)("path",{id:"text-5-text-reveal-2",d:"M105 157H371",stroke:"#F7D03C",strokeWidth:"34"})]})},aR=function(){return(0,n.jsx)("svg",{viewBox:"0 0 480 322",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"text-1-highlight-reveal-1",d:"M221.5 142.174C352 133.174 420.998 146.174 420.998 146.174",stroke:"#F7D03C",strokeWidth:"38"})})},aD=function(){return(0,n.jsxs)("svg",{width:"480",height:"322",viewBox:"0 0 480 322",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-2-highlight-reveal-1",d:"M152 98L324.63 102H394",stroke:"#F7D03C",strokeWidth:"41"}),(0,n.jsx)("path",{id:"text-2-highlight-reveal-2",d:"M41.5 134.5C41.5 134.5 98.2387 144.691 133.347 141.113C183.5 136 218 146 218 146",stroke:"#F7D03C",strokeWidth:"39"})]})},aM=function(){return(0,n.jsx)("svg",{width:"480",height:"322",viewBox:"0 0 480 322",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"text-3-highlight-reveal-1",d:"M101 119H423",stroke:"#F7D03C",strokeWidth:"44"})})},aH=function(){return(0,n.jsx)("svg",{width:"480",height:"322",viewBox:"0 0 480 322",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"text-4-highlight-reveal-1",d:"M79 82H202H219.5",stroke:"#F7D03C",strokeWidth:"36"})})},aF=function(){return(0,n.jsx)("svg",{width:"480",height:"322",viewBox:"0 0 480 322",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"text-5-highlight-reveal-1",d:"M57.5 127H431L99 151L376 166",stroke:"#F7D03C",strokeWidth:"46"})})};let aP=[ay,aw,aL,aO,aB],aW=[aR,aD,aM,aH,aF],aG={position:">",duration:.25,drawStart:"100% 0%",drawEnd:"100% 100%"},aU=[[{selector:"#text-1-text-reveal-1",...aG},{selector:"#text-1-text-reveal-2",...aG,duration:.6*aG.duration}],[{selector:"#text-2-text-reveal-1",...aG,duration:.8*aG.duration},{selector:"#text-2-text-reveal-2",...aG},{selector:"#text-2-text-reveal-3",...aG},{selector:"#text-2-text-reveal-4",...aG,duration:.5*aG.duration}],[{selector:"#text-3-text-reveal-1",...aG},{selector:"#text-3-text-reveal-2",...aG},{selector:"#text-3-text-reveal-3",...aG,duration:.6*aG.duration}],[{selector:"#text-4-text-reveal-1",...aG},{selector:"#text-4-text-reveal-2",...aG},{selector:"#text-4-text-reveal-3",...aG},{selector:"#text-4-text-reveal-4",...aG},{selector:"#text-4-text-reveal-5",...aG,duration:.8*aG.duration}],[{selector:"#text-5-text-reveal-1",...aG},{selector:"#text-5-text-reveal-2",...aG},{selector:"#text-5-text-reveal-3",...aG}]],aV={position:">",duration:.2,drawStart:"100% 0%",drawEnd:"100% 100%"},aY=[[{selector:"#text-1-highlight-reveal-1",...aV,delay:aU[0].length*aG.duration}],[{selector:"#text-2-highlight-reveal-1",...aV,delay:aU[1].length*aG.duration},{selector:"#text-2-highlight-reveal-2",...aV,delay:">".concat(aU[1].length*aG.duration)}],[{selector:"#text-3-highlight-reveal-1",...aV,delay:aU[2].length*aG.duration}],[{selector:"#text-4-highlight-reveal-1",...aV,delay:aU[3].length*aG.duration}],[{selector:"#text-5-highlight-reveal-1",...aV,delay:aU[4].length*aG.duration,duration:2*aV.duration}]],aZ=[{selector:"#highlight-reveal-bg"}];var aK=function(e){let{slides:t}=e;return(0,n.jsx)(aA,{slides:t,slideInkRevealSVGs:aP,slideHighlightRevealSVGs:aW,slideInkRevealAnimations:aU,slideHighlightRevealAnimations:aY,carouselInkSVG:(0,n.jsx)(aj,{}),carouselInkRevealAnimation:aZ,spacingBottom:16})},aq=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 442",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{clipPath:"url(#clip0_2519_90301)",children:(0,n.jsx)("path",{id:"highlight-reveal-bg",d:"M-4.50391 48.7883L964.128 32.2754L-4.50391 147.49H960L-4.50391 218.796L963.002 270.962L-4.50391 331.384L963.002 401.189L-4.50391 424.457",stroke:"white",strokeWidth:"129.851"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2519_90301",children:(0,n.jsx)("rect",{width:"960",height:"442",fill:"white"})})})]})},aQ=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 442",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-1-text-reveal-1",d:"M243 177.937H708.5",stroke:"#F7D03C",strokeWidth:"60"}),(0,n.jsx)("path",{id:"text-1-text-reveal-2",d:"M315 247.438L640.5 247.436",stroke:"#F7D03C",strokeWidth:"60"})]})},az=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 442",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-2-text-reveal-1",d:"M241 157L719 162.5",stroke:"#F7D03C",strokeWidth:"48"}),(0,n.jsx)("path",{id:"text-2-text-reveal-2",d:"M202.801 209.401L819.601 215.001",stroke:"#F7D03C",strokeWidth:"48"}),(0,n.jsx)("path",{id:"text-2-text-reveal-3",d:"M224 265.202L767.2 267.609",stroke:"#F7D03C",strokeWidth:"48"})]})},aJ=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 442",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-3-text-reveal-1",d:"M181 165L797.8 170.6",stroke:"#F7D03C",strokeWidth:"48"}),(0,n.jsx)("path",{id:"text-3-text-reveal-2",d:"M305.801 216L673 223",stroke:"#F7D03C",strokeWidth:"48"}),(0,n.jsx)("path",{id:"text-3-text-reveal-3",d:"M369.801 269.4L611 274",stroke:"#F7D03C",strokeWidth:"48"})]})},aX=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 553",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-4-text-reveal-1",d:"M230 115.536L729.596 115.536",stroke:"#F7D03C",strokeWidth:"48"}),(0,n.jsx)("path",{id:"text-4-text-reveal-2",d:"M230.001 170.472L716.8 170.472",stroke:"#F7D03C",strokeWidth:"48"}),(0,n.jsx)("path",{id:"text-4-text-reveal-3",d:"M235.999 220.756L722 220.756",stroke:"#F7D03C",strokeWidth:"48"}),(0,n.jsx)("path",{id:"text-4-text-reveal-4",d:"M262 275.137L694.802 271.137",stroke:"#F7D03C",strokeWidth:"48"}),(0,n.jsx)("path",{id:"text-4-text-reveal-5",d:"M341.199 328.336L620.4 322.336",stroke:"#F7D03C",strokeWidth:"48"})]})},a$=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 442",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-5-text-reveal-1",d:"M240.199 151.607L740.586 148.542",stroke:"#F7D03C",strokeWidth:"48"}),(0,n.jsx)("path",{id:"text-5-text-reveal-2",d:"M319.001 201.214L661.799 201.214",stroke:"#F7D03C",strokeWidth:"48"}),(0,n.jsx)("path",{id:"text-5-text-reveal-3",d:"M214.999 259.912L768.201 259.912",stroke:"#F7D03C",strokeWidth:"48"})]})},a0=function(){return(0,n.jsx)("svg",{viewBox:"0 0 960 442",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"text-1-highlight-reveal-1",d:"M455 183H723",stroke:"#F7D03C",strokeWidth:"60"})})},a1=function(){return(0,n.jsx)("svg",{viewBox:"0 0 960 442",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"text-2-highlight-reveal-1",d:"M262 154L754 154",stroke:"#F7D03C",strokeWidth:"80"})})},a2=function(){return(0,n.jsx)("svg",{viewBox:"0 0 960 443",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"text-3-highlight-reveal-1",d:"M290 154H676.5",stroke:"#F7D03C",strokeWidth:"94"})})},a4=function(){return(0,n.jsx)("svg",{viewBox:"0 0 960 442",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"text-4-highlight-reveal-1",d:"M254 110H478.5",stroke:"#F7D03C",strokeWidth:"60"})})},a3=function(){return(0,n.jsx)("svg",{viewBox:"0 0 960 442",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"text-5-highlight-reveal-1",d:"M276 135L729.5 136.5L276 192.5L696 199.5",stroke:"#F7D03C",strokeWidth:"92"})})};let a5=[aQ,az,aJ,aX,a$],a8=[a0,a1,a2,a4,a3],a6=aU.map(e=>e.map(e=>({...e})));a6[1].splice(3,1);let a7=aY.map(e=>e.map(e=>({...e})));a7[1].splice(1,2);let a9=[{selector:"#highlight-reveal-bg"}];var se=function(e){let{slides:t}=e;return(0,n.jsx)(aA,{slides:t,slideInkRevealSVGs:a5,slideHighlightRevealSVGs:a8,slideInkRevealAnimations:a6,slideHighlightRevealAnimations:a7,carouselInkSVG:(0,n.jsx)(aq,{}),carouselInkRevealAnimation:a9,spacingBottom:32})},st=function(){return(0,n.jsx)("svg",{viewBox:"0 0 960 478",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"arrow-text-reveal",d:"M317.574 90.127C337.69 111.344 390.531 145.971 593.79 125.254C687.463 109.642 720.189 136.363 744.208 188.304",stroke:"white",strokeWidth:"47.4371"})})},sa=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 478",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"highlight-3-reveal",d:"M46.0723 412.395C102.797 394.805 246.221 354.005 394.224 373.676C290.871 389.289 13.5989 441.433 65.1191 443.619C155.358 427.487 345.077 398.344 382.047 410.834L65.1191 458.607L363 432.691",stroke:"white",strokeWidth:"37.4693"}),(0,n.jsx)("path",{id:"highlight-2-reveal",d:"M30.7734 264.393C111.124 242.952 332.089 192.264 572.516 224.426C419.101 238.372 99.592 280.879 67.6182 301.862C184.814 292.182 447.432 267.203 544.102 277.195C406.299 292.599 118.889 332.649 71.6774 352.133C205.63 337.77 472.598 328.091 534.423 333.399",stroke:"white",strokeWidth:"53.0814"}),(0,n.jsx)("path",{id:"highlight-1-reveal",d:"M33.9004 203.742C87.2941 203.742 175.534 172.143 243.728 169.396",stroke:"white",strokeWidth:"62.4488"})]})};let ss=[{selector:"#arrow-text-reveal"}],sn=[{selector:"#highlight-1-reveal"},{selector:"#highlight-2-reveal"},{selector:"#highlight-3-reveal"}];var si=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(st,{}),highlightRevealSVG:(0,n.jsx)(sa,{}),inkRevealAnimation:ss,highlightRevealAnimation:sn,spacingBottom:-40})},sr=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 889",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_2153_52275)",children:[(0,n.jsx)("path",{id:"textbox-reveal-1",d:"M442.564 56.5727L790.836 53.5703L435.058 84.7947L814.555 99.8064L434.158 101.908L814.555 123.825L435.058 145.442L833.169 149.345L435.058 170.061L702.867 195.881H430.555L702.867 216.297",stroke:"white",strokeWidth:"39.0305"}),(0,n.jsx)("path",{id:"textbox-border-reveal-1",d:"M520.922 15.7422C484.493 11.9392 412.177 17.7237 414.338 71.2855C416.5 124.847 423.846 186.075 427.248 209.994C428.349 217.9 441.719 233.832 486.394 234.313C531.069 234.793 707.967 238.116 790.832 239.717C807.145 241.418 839.23 234.073 837.068 191.079C834.906 148.085 836.167 85.4964 837.068 59.5762C839.17 49.5684 831.784 28.5319 785.428 24.4487C739.072 20.3656 583.77 21.1462 511.914 22.0469",stroke:"white",strokeWidth:"23.4183"}),(0,n.jsx)("path",{id:"textbox-reveal-2",d:"M145.932 276.346H320.369L145.932 304.868L387.621 318.078L148.635 325.584L383.118 338.794L139.928 352.005L353.094 368.818L142.33 380.527L360.3 385.931L145.932 408.449L388.822 406.648L142.33 426.763L377.113 429.766L139.928 456.486L292.747 459.189",stroke:"white",strokeWidth:"39.0305"}),(0,n.jsx)("path",{id:"textbox-border-reveal-2",d:"M233 231.009H369.006C379.314 230.909 401.191 237.314 406.235 263.735C412.54 296.76 412.24 473.599 409.238 472.998C406.235 472.398 416.443 508.726 369.006 504.222C331.057 500.62 210.282 497.317 154.639 496.116C143.63 495.616 121.913 485.668 123.114 449.88C124.315 414.092 126.216 310.871 127.016 263.735C127.016 243.619 150.134 223.203 241.105 234.612",stroke:"white",strokeWidth:"23.4183"}),(0,n.jsx)("path",{id:"textbox-reveal-3",d:"M542.842 335.492L790.535 343.899L553.35 355.308L794.739 365.516L545.844 384.731L817.857 390.435L542.842 404.846L796.54 407.548L538.038 430.667L814.854 432.468L542.842 447.78L809.75 453.184L542.842 477.503L794.739 479.004L542.842 501.522L801.344 511.43L538.038 524.94L814.854 531.545L542.842 565.772H771.02",stroke:"white",strokeWidth:"33.0258"}),(0,n.jsx)("path",{id:"textbox-border-reveal-3",d:"M596.286 307.268H789.336C805.549 304.166 837.674 308.349 836.473 349.902C835.272 391.454 835.973 500.119 836.473 549.257C838.074 559.966 833.711 582.764 803.447 588.288C773.184 593.812 627.51 604.2 558.456 608.704C546.647 609.104 522.788 602.279 521.827 571.775C520.867 541.271 521.427 405.345 521.827 341.195C521.427 330.587 537.379 307.749 604.391 301.264",stroke:"white",strokeWidth:"23.4183"}),(0,n.jsx)("path",{id:"textbox-reveal-4",d:"M319.169 688.867L621.805 700.276L302.956 716.789L607.094 736.304L301.155 750.115L621.805 758.522L309.862 781.94L641.921 785.543L296.051 815.566L651.228 830.878L296.051 842.587",stroke:"white",strokeWidth:"36.0281"}),(0,n.jsx)("path",{id:"textbox-border-reveal-4",d:"M423.949 664.847L668.64 674.455C675.045 673.554 686.474 685.803 680.95 742.007C675.425 798.211 666.038 834.279 662.035 845.288C659.033 851.793 641.799 863.903 596.884 860.3C551.969 856.697 400.431 863.802 330.276 867.806C311.461 869.407 274.432 864.623 276.834 832.678C279.236 800.733 283.04 725.294 284.641 691.568C289.045 679.458 305.658 657.161 336.882 664.847C370.028 667.009 419.747 670.151 440.463 671.452",stroke:"white",strokeWidth:"23.4183"}),(0,n.jsx)("path",{id:"arrow-1-ink-reveal",d:"M407.993 159.295C369.622 167.295 360.421 192.894 361.622 219.795",stroke:"white",strokeWidth:"42.23"}),(0,n.jsx)("path",{id:"arrow-2-ink-reveal",d:"M419.625 387.295C438.44 387.795 493.125 414.795 501.625 449.295",stroke:"white",strokeWidth:"40.03"}),(0,n.jsx)("path",{id:"arrow-3-ink-reveal",d:"M510.119 589.789C493.807 595.994 454.626 623.295 469.626 656.795",stroke:"white",strokeWidth:"30.6239"}),(0,n.jsx)("path",{id:"arrow-4-ink-reveal",d:"M255.851 801.295C245.343 812.003 221.885 861.433 222.125 889.295",stroke:"white",strokeWidth:"38.43"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2153_52275",children:(0,n.jsx)("rect",{width:"960",height:"887.944",fill:"white",transform:"translate(0 0.941406)"})})})]})};let so=[{selector:"#textbox-reveal-1",position:0},{selector:"#textbox-border-reveal-1",position:0,reversePath:!0},{selector:"#arrow-1-ink-reveal",position:0},{selector:"#textbox-reveal-2",position:.2},{selector:"#textbox-border-reveal-2",position:.2},{selector:"#arrow-2-ink-reveal",position:.2},{selector:"#textbox-reveal-3",position:.5},{selector:"#textbox-border-reveal-3",position:.5},{selector:"#arrow-3-ink-reveal",position:.5},{selector:"#textbox-reveal-4",position:.7},{selector:"#textbox-border-reveal-4",position:.7},{selector:"#arrow-4-ink-reveal",position:.7}];var sl=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(sr,{}),inkRevealAnimation:so,spacingBottom:0})},sc=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 808",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_2153_52276)",children:[(0,n.jsx)("path",{id:"textbox-reveal-5",d:"M167.114 54.0322L412.752 47.0332L167.114 75.3376L414.507 91.8505L167.114 110.465L407.301 131.481L171.617 144.692L442.127 166.394L160.809 176.517L421.112 190.928L160.809 214.032L421.112 217.349L160.809 250.675H386.885L160.809 283.4L450.752 276.032",stroke:"white",strokeWidth:"36.0281"}),(0,n.jsx)("path",{id:"textbox-border-reveal-5",d:"M189.63 16.1927H440.326C453.336 12.69 478.636 14.5114 475.753 49.819C472.871 85.1266 469.148 219.051 467.647 281.6C466.746 292.709 459.12 314.926 435.822 314.926C412.524 314.926 248.376 321.531 169.214 324.834C157.605 321.531 135.408 309.402 139.491 287.304C143.574 265.207 146.997 107.364 148.198 31.2043C148.298 28.8024 155.555 17.1535 199.75 16.1927",stroke:"white",strokeWidth:"23.4183"}),(0,n.jsx)("path",{id:"textbox-border-reveal-6",d:"M637.28 202.037H800.608C816.32 201.637 847.084 209.723 844.442 245.271C841.8 280.819 835.135 350.553 832.132 380.977C832.232 388.583 823.125 402.954 785.896 399.592C748.667 396.229 596.048 401.393 524.392 404.396C515.485 409.5 497.731 407.758 497.971 359.961C498.211 312.164 501.674 252.577 503.375 228.758C497.75 209.031 532.695 202.037 543.25 202.037C561.695 202.037 639.982 205.44 668.204 207.141",stroke:"white",strokeWidth:"23.4183"}),(0,n.jsx)("path",{id:"textbox-reveal-6",d:"M517.487 240.467H799.107L517.487 265.032L814.719 285.202L517.487 295.41L820.123 322.431L515.986 327.835L817.248 362.532L514.484 366.866",stroke:"white",strokeWidth:"36.0281"}),(0,n.jsx)("path",{id:"textbox-border-reveal-7",d:"M355.546 444.123L603.953 445.527C628.873 442.225 687.249 444.123 681.414 495.666C676.005 543.447 688.119 657.793 690.121 708.833C694.824 726.947 693.363 764.256 649.889 768.58C606.415 772.903 401.195 784.392 304.019 789.596C288.407 788.695 257.543 776.746 258.984 736.154C260.425 695.563 259.585 550.709 258.984 483.357C251.249 445.527 284.444 443.365 357.461 445.527",stroke:"white",strokeWidth:"23.4183"}),(0,n.jsx)("path",{id:"textbox-reveal-7",d:"M278.199 484.031H658.75L273.996 510.076L654.093 503.471L284.805 537.398L633.077 540.7L293.812 575.828H616.264L313.327 621.463L579.034 623.865L278.199 665.598L665.802 663.496L275.75 705.031L664.301 707.33L320.532 748.162L591.25 742.031",stroke:"white",strokeWidth:"36.0281"}),(0,n.jsx)("path",{id:"arrow-5-ink-reveal",d:"M495.57 127.88C510.382 125.578 544.48 139.645 556.249 181.438",stroke:"white",strokeWidth:"64.04"}),(0,n.jsx)("path",{id:"arrow-6-ink-reveal",d:"M478.876 338.578C460.25 345.406 437.376 385.078 440.25 430.532",stroke:"white",strokeWidth:"34.03"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2153_52276",children:(0,n.jsx)("rect",{width:"960",height:"807.631",fill:"white",transform:"translate(0 0.078125)"})})})]})};let sd=[{selector:"#textbox-reveal-5",position:0},{selector:"#textbox-border-reveal-5",position:0},{selector:"#arrow-5-ink-reveal",position:0},{selector:"#textbox-reveal-6",position:.2},{selector:"#textbox-border-reveal-6",position:.2},{selector:"#arrow-6-ink-reveal",position:.2},{selector:"#textbox-reveal-7",position:.5},{selector:"#textbox-border-reveal-7",position:.5}];var sm=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(sc,{}),inkRevealAnimation:sd,spacingBottom:0})},su=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 169",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"textbox-border-reveal-1",d:"M381.49 87.3105C349.065 84.9087 284.695 86.5299 286.616 112.23C289.018 144.355 298.733 156.665 338.857 156.665C361.44 156.665 547.62 156.465 637.891 156.665C649.7 157.566 676.623 150.988 675.903 129.851C675.002 103.431 662.51 87.3105 621.378 87.3105C588.472 87.3105 434.932 85.0088 361.975 83.1074",stroke:"white",strokeWidth:"18.7647"}),(0,n.jsx)("path",{id:"text-reveal-1",d:"M301.025 122.439H658.004",stroke:"white",strokeWidth:"30.0235"}),(0,n.jsx)("path",{id:"ellipses-text-reveal-1",d:"M468.559 12.252L492.277 19.7578",stroke:"white",strokeWidth:"23.4183"}),(0,n.jsx)("path",{id:"ellipses-text-reveal-2",d:"M468.859 35.0703L492.578 42.5762",stroke:"white",strokeWidth:"23.4183"}),(0,n.jsx)("path",{id:"ellipses-text-reveal-3",d:"M468.859 56.0859L492.578 63.5918",stroke:"white",strokeWidth:"23.4183"})]})};let sh=[{selector:"#ellipses-text-reveal-1"},{selector:"#ellipses-text-reveal-2"},{selector:"#ellipses-text-reveal-3"},{selector:"#textbox-border-reveal-1",reversePath:!0},{selector:"#text-reveal-1"}];var s_=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(su,{}),inkRevealAnimation:sh,spacingBottom:50})},sg=a(9722),sp=a.n(sg),sx=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 960 760",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-reveal-1",d:"M120.844 396.498L856.418 401.002",stroke:"white",strokeWidth:"52.541"}),(0,n.jsx)("path",{id:"text-reveal-2",d:"M120.844 461.799L856.418 466.302",stroke:"white",strokeWidth:"52.541"}),(0,n.jsx)("path",{id:"text-reveal-3",d:"M120.844 522.596L856.418 527.099",stroke:"white",strokeWidth:"52.541"}),(0,n.jsx)("path",{id:"text-reveal-4",d:"M87.0684 582.268L881.939 595.403",stroke:"white",strokeWidth:"52.541"}),(0,n.jsx)("path",{id:"text-reveal-5",d:"M323.127 656.576L648.506 661.08",stroke:"white",strokeWidth:"45.0352"}),(0,n.jsx)("path",{id:"border-reveal",d:"M325.382 306.427L80.689 310.18C63.0481 310.18 31.3776 307.103 33.7795 345.833C36.1814 384.563 29.2736 616.044 26.2715 717.374C27.3944 730.884 28.0758 728.107 74.3119 730.509C120.548 732.911 628.244 738.265 876.312 740.642C891.198 743.894 920.747 742.293 919.846 709.868C918.945 677.442 930.479 442.784 932.606 326.693C935.233 304.176 914.216 304.176 888.697 304.176C863.177 304.176 721.441 306.427 651.136 306.427",stroke:"white",strokeWidth:"22.5176"})]})},sv=function(){return(0,n.jsx)("svg",{viewBox:"0 0 960 760",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"highlight-reveal",d:"M298.734 663.894C373.293 656.388 551.682 646.331 668.773 666.146",stroke:"white",strokeWidth:"45.0352"})})};let sC=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=[];return Array.from(Array(e).keys()).forEach(e=>{t.push({selector:"#text-reveal-".concat(e+1),position:0})}),t.push({selector:"#border-reveal",position:0,reversePath:!0}),t},sb=sC(5),sf=[{selector:"#highlight-reveal"}];var sI=function(e){let{inkImage:t,highlightImage:a,videoSources:s}=e;return(0,n.jsx)("div",{className:sp().ComicSourceCodeQuoteTablet,children:(0,n.jsx)(tk,{inkImage:t,highlightImage:a,inkRevealAnimation:sb,highlightRevealAnimation:sf,inkRevealSVG:(0,n.jsx)(sx,{}),highlightRevealSVG:(0,n.jsx)(sv,{}),spacingBottom:0,children:!!(null==s?void 0:s.length)&&(0,n.jsx)(tQ,{videoSources:s,isPlaying:!0,className:sp().video})})})},sS=a(5127),sT=a.n(sS),sN=function(e){return(0,n.jsxs)("div",{className:sT().ComicBookTablet,children:[(0,n.jsx)(t8,{...e.header}),(0,n.jsx)(t9,{...e.subheading}),(0,n.jsx)(aa,{...e.teletypeBanner}),(0,n.jsx)(ao,{...e.teletype}),(0,n.jsx)(se,{slides:e.teletypeCarousel.slides}),(0,n.jsx)(si,{...e.feedbackLoopHeader}),(0,n.jsx)(sl,{...e.feedbackLoopBody01}),(0,n.jsx)(sm,{...e.feedbackLoopBody02}),(0,n.jsx)(s_,{...e.feedbackLoopFooter}),(0,n.jsx)(sI,{...e.sourceCodeQuote})]})},sE=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 497",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_2055_245872)",children:[(0,n.jsx)("path",{id:"text-reveal-1",d:"M49.5717 51.2699L443.704 44.2048L58.2655 79.6988L431.449 88.9905L36.1875 115.5L429.834 113.867",stroke:"white",strokeWidth:"43.807"}),(0,n.jsx)("path",{id:"text-reveal-2",d:"M57.5742 167.803L408.688 153.5L99.5038 189.081L413.098 182.287L60.7033 211.61L421.86 214.517",stroke:"white",strokeWidth:"33.9432"}),(0,n.jsx)("path",{id:"text-bubble-reveal",d:"M59.8212 343.868L194.186 309.916L61.9884 355.426L194.186 323.641L46.458 371L202.854 338.45L46.457 383.084L202.854 352.176L55.374 400.771L199.965 366.985L64.1865 407L133.688 396.5L202.854 379",stroke:"white",strokeWidth:"13"}),(0,n.jsx)("path",{id:"speech-bubble-reveal",d:"M96.874 305.576C32.3734 321.273 15.1856 400 75.374 426.471C118.602 445.483 192.873 417.272 213.373 382.272C213.373 382.272 231.373 378.021 247.373 369.372C263.373 360.724 221.373 371.784 221.373 361.272C221.375 333 218.374 256.271 93.3736 306.549",stroke:"white",strokeWidth:"10.01"}),(0,n.jsx)("path",{id:"border-outline-1",d:"M13.7695 9.07746C13.7695 9.07746 457.181 8.33092 462.188 9.50012C462.188 17.9952 465.088 479.5 459.688 487.5C441.188 482.5 10.876 493.773 16.2728 486.031C14.3062 483.933 19.1673 400.238 21.376 304.273C24.4386 171.205 28.1875 14.0001 28.1875 14.0001",stroke:"white",strokeWidth:"13.599"}),(0,n.jsx)("path",{id:"bill-reveal",d:"M242.191 252.272H366.103L242.191 263.554L381.122 266.057L237.811 291.715H373.925L245.633 315.183L373.925 321.128L242.191 335.835L376.742 345.535L262.875 357.272L366.103 372.758L262.875 378.772L414.916 412.81H217.472L398.958 425.952L188.058 436.278L439.636 432.836L175.875 448.772L431.375 456.304C438.827 460.141 290.16 457.476 164.375 460.772",stroke:"white",strokeWidth:"37.5489"}),(0,n.jsx)("path",{id:"signature-reveal-4",d:"M337.625 440.989L344.509 441.614",stroke:"white",strokeWidth:"7.50978"}),(0,n.jsx)("path",{id:"signature-reveal-3",d:"M425.553 445.369C421.068 446.516 411.472 448.498 408.969 447.247",stroke:"white",strokeWidth:"4.3807"}),(0,n.jsx)("path",{id:"signature-reveal-2",d:"M370.168 462.889C381.325 463.402 389.164 436.293 385.244 435.981C376.275 435.268 382.531 457.938 399.115 438.474C402.432 441.902 388.26 471.192 380.595 464.345C375.736 455.9 386.904 456.465 393.386 455.301C398.74 452.389 410.584 450.213 402.13 460.598C396.518 467.492 388.26 459.663 403.704 454.152C405.395 453.861 402.013 461.724 405.959 461.141C409.998 457.744 420.895 442.504 417.513 441.339C416.104 441.048 404.831 462.772 412.722 461.141C417.795 460.074 427.715 456.598 426.813 451.24C425.686 444.543 413.568 461.432 419.768 461.141C425.968 460.85 434.704 455.026 436.113 453.861C437.522 452.696 434.986 464.053 430.758 462.306C427.377 460.908 426.907 458.812 426.813 457.938",stroke:"white",strokeWidth:"5.00652"}),(0,n.jsx)("path",{id:"signature-reveal-1",d:"M307.586 464.523C311.839 457.184 314.146 442.209 330.553 443.071C332.824 443.19 330.842 451.74 320.407 454.675C319.273 455.127 321.007 459.348 322.898 460.853C322.047 463.112 318.985 467.233 313.54 465.652C308.096 464.071 337.402 457.643 336.21 452.598C333.824 447.849 327.265 460.315 331.141 462.689C335.017 465.064 358.625 446.176 354.655 442.507C351.273 439.38 335.231 463.181 345.155 461.205C355.079 459.229 366.614 448.318 363.343 446.365C359.09 443.824 350.224 456.753 354.088 463.394",stroke:"white",strokeWidth:"5.00652"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2055_245872",children:(0,n.jsx)("rect",{width:"480",height:"496.271",fill:"white"})})})]})},sk=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 497",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"my-first-code-highlight-reveal",d:"M36.9235 97.3142C134.277 100.644 349.205 92.6206 432.126 94.498C332.959 101.548 114.333 116.078 31.917 112.788L424.958 113.899L31.917 128.918L424.958 124.539",stroke:"white",strokeWidth:"17.6269"}),(0,n.jsx)("path",{id:"bill-highlight-reveal",d:"M279.597 375.708C276.042 384.458 266.144 402.723 254.988 405.785C241.043 409.613 193.193 457.463 194.013 468.401C194.67 477.15 251.342 427.386 279.597 401.41L219.989 472.229L294.089 411.254L235.239 479.25L298.463 427.386L257.513 481.658L306.393 430.12L283.972 478.244L309.674 420.004L298.463 478.244L314.322 414.808V478.244L325.806 411.254L331.822 478.244L337.837 401.41L347.407 476.33L349.321 396.762L365.18 477.15L351.423 382.33L379.945 476.33L366 393.754L397.445 474.689L387.328 402.504L417.132 473.869L407.835 412.621L431.187 472.327",stroke:"white",strokeWidth:"18.0597"})]})};let sA=[{selector:"#text-reveal-1"},{selector:"#text-reveal-2"},{selector:"#text-bubble-reveal"},{selector:"#speech-bubble-reveal",reversePath:!0},{selector:"#border-outline-1"},{selector:"#bill-reveal"}],sj=[{selector:"#my-first-code-highlight-reveal"},{selector:"#bill-highlight-reveal"}];var sy=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(sE,{}),highlightRevealSVG:(0,n.jsx)(sk,{}),inkRevealAnimation:sA,highlightRevealAnimation:sj,spacingBottom:16})},sw=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 425",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-reveal-1",d:"M15.6484 20.4873C303.259 27.6854 134.26 29.7312 419.68 25.0368",stroke:"white",strokeWidth:"33.7997"}),(0,n.jsx)("path",{id:"text-reveal-2",d:"M14.3965 71.3549C302.633 62.592 208.432 79.9497 449.411 75.1104",stroke:"white",strokeWidth:"33.7997"}),(0,n.jsx)("path",{id:"text-reveal-3",d:"M14.3965 120.812C302.633 109.849 194.662 122.199 435.641 117.36",stroke:"white",strokeWidth:"33.7997"}),(0,n.jsx)("path",{id:"text-reveal-4",d:"M17.5254 168.057C286.358 164.617 206.553 169.769 447.533 164.93",stroke:"white",strokeWidth:"38.8071"}),(0,n.jsx)("path",{id:"text-reveal-5",d:"M19.4033 213.124C303.258 204.676 333.928 232.529 471.318 213.752",stroke:"white",strokeWidth:"33.7997"}),(0,n.jsx)("path",{id:"text-reveal-6",d:"M13.7705 260.381C282.603 256.94 202.798 266.474 443.778 261.635",stroke:"white",strokeWidth:"38.8071"}),(0,n.jsx)("path",{id:"text-reveal-7",d:"M13.7705 308.094C282.603 304.654 202.798 314.187 443.778 309.348",stroke:"white",strokeWidth:"38.8071"}),(0,n.jsx)("path",{id:"text-reveal-8",d:"M11.2666 354.412C280.099 350.972 202.798 362.383 443.778 357.544",stroke:"white",strokeWidth:"38.8071"}),(0,n.jsx)("path",{id:"text-reveal-9",d:"M11.2666 403.125C280.099 399.684 202.798 405.463 443.778 400.623",stroke:"white",strokeWidth:"38.8071"})]})};let sL=[{selector:"#text-reveal-1"},{selector:"#text-reveal-2"},{selector:"#text-reveal-3"},{selector:"#text-reveal-4"},{selector:"#text-reveal-5"},{selector:"#text-reveal-6"},{selector:"#text-reveal-7"},{selector:"#text-reveal-8"},{selector:"#text-reveal-9"}];var sO=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(sw,{}),inkRevealAnimation:sL,spacingBottom:16})},sB=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"border-reveal",d:"M325.111 32.5425H462.164L456.532 197.132L13.4551 193.064L17.8358 37.549L166.154 32.5425",stroke:"white",strokeWidth:"12.5163"}),(0,n.jsx)("path",{id:"text-reveal-layer",d:"M164.902 24.7197L316.037 28.4746L31.291 79.7914L443.077 68.5268L40.6782 109.831L443.077 93.8723L74.7851 138.618L394.264 129.544L66.6496 168.344L403.964 154.576",stroke:"white",strokeWidth:"30.0391"})]})},sR=function(){return(0,n.jsx)("svg",{viewBox:"0 0 480 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"highlight-reveal",d:"M154.889 20.0259H338.879L14.0809 34.4196L409.283 31.2905L14.0809 52.5683L469.987 38.4874L14.0809 82.9203L474.681 67.9007L14.0809 112.959L467.797 98.5656L5.94531 134.237L465.919 124.85L15.9584 157.392L474.681 149.257L21.2778 187.431L474.681 180.547",stroke:"white",strokeWidth:"31.2907"})})};let sD=[{selector:"#border-reveal"},{selector:"#text-reveal-layer"}],sM=[{selector:"#highlight-reveal"}];var sH=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(sB,{}),highlightRevealSVG:(0,n.jsx)(sR,{}),inkRevealAnimation:sD,highlightRevealAnimation:sM,spacingBottom:20})},sF=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 587",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_2060_370845)",children:[(0,n.jsx)("path",{id:"line-1",d:"M90.7435 390.418L-189.309 614.275",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-2",d:"M80.7304 317.782L-244.693 567.625",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-3",d:"M90.73 263.082L-346.387 460.237",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-5",d:"M50.2912 221.799L-328.864 204.132",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-6",d:"M50.8435 175.5L-305.398 33.8125",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-7",d:"M66.4865 130.526L-186.493 -80.4632",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-8",d:"M101.221 66.7861L-222.163 -217.908",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-9",d:"M284.502 78.9524L542.581 -341.891",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-10",d:"M356.713 107.074L602.346 -167.189",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-11",d:"M391.757 143.08L761.616 -146.838",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-12",d:"M440.261 182.843L823.26 -23.168",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-13",d:"M443.389 217.282L735.332 184.095",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-14",d:"M427.431 270.819L789.465 379.773",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-15",d:"M398.331 344.081L732.203 577.018",stroke:"white",strokeWidth:"21.916"}),(0,n.jsx)("path",{id:"line-16",d:"M367.041 409.829L673.377 626.172",stroke:"white",strokeWidth:"21.916"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2060_370845",children:(0,n.jsx)("rect",{width:"480",height:"587",fill:"white"})})})]})},sP=function(){return(0,n.jsx)("svg",{viewBox:"0 0 480 587",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"teletype-ink-reveal",d:"M93.8725 14.0889L311.343 17.8459L121.909 66.7444L280.202 92.78L111.338 123.043L379.244 140.576L63.5205 162.492L416.54 197.465L63.5205 215.716L416.54 248.723L97.5146 272.072L356.909 302.692L101.695 327.175L349.591 359.103L101.695 379.46L343.26 415.465L97.5146 434.564L379.244 472.76L101.695 489.667L398.331 530.055L121.909 544.77L262.843 572.948",stroke:"white",strokeWidth:"54.2409"})})};let sW=[{selector:"#teletype-ink-reveal"}],sG=[{selector:"#line-1",position:0,reversePath:!0},{selector:"#line-2",position:0,reversePath:!0},{selector:"#line-3",position:0,reversePath:!0},{selector:"#line-5",position:0,reversePath:!0},{selector:"#line-6",position:0,reversePath:!0},{selector:"#line-7",position:0,reversePath:!0},{selector:"#line-8",position:0,reversePath:!0},{selector:"#line-9",position:0,reversePath:!0},{selector:"#line-10",position:0,reversePath:!0},{selector:"#line-11",position:0,reversePath:!0},{selector:"#line-12",position:0,reversePath:!0},{selector:"#line-13",position:0,reversePath:!0},{selector:"#line-14",position:0,reversePath:!0},{selector:"#line-15",position:0,reversePath:!0},{selector:"#line-16",position:0,reversePath:!0}];var sU=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(sP,{}),inkRevealAnimation:sW,highlightRevealSVG:(0,n.jsx)(sF,{}),highlightRevealAnimation:sG,spacingBottom:16})},sV=function(){return(0,n.jsx)("svg",{viewBox:"0 0 480 325",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"arrow-text-reveal",d:"M64.1465 60.0781C80.4639 77.2885 110.793 94.0925 275.672 77.288C351.658 64.6238 371.964 98.9881 391.448 141.121",stroke:"white",strokeWidth:"38.4799"})})},sY=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 325",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"highlight-3-reveal",d:"M2.55143 274.939C45.0596 271.382 131.52 246.553 225.12 263.23C158.932 270.255 -1.25051 294.224 13.79 298.468C71.6496 290.743 195.556 276.478 218.723 285.463L13.3684 308.002L208.71 299.857",stroke:"white",strokeWidth:"23.8596"}),(0,n.jsx)("path",{id:"highlight-2-reveal",d:"M9.05797 195.311C60.5061 182.764 201.875 153.528 354.497 177.303C256.636 184.076 52.6436 206.751 32.0001 219.67C106.743 215.117 274.277 202.82 335.683 210.508C247.742 218.423 64.2178 239.975 33.8942 251.731C119.37 244.425 289.463 241.928 328.749 246.156",stroke:"white",strokeWidth:"33.8011"}),(0,n.jsx)("path",{id:"highlight-1-reveal",d:"M13 156.904C47 156.904 88.5755 148.154 132 146.404",stroke:"white",strokeWidth:"39.766"})]})},sZ=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(sV,{}),highlightRevealSVG:(0,n.jsx)(sY,{}),inkRevealAnimation:ss,highlightRevealAnimation:sn,spacingBottom:0})},sK=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 650",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_2532_179319)",children:[(0,n.jsx)("path",{id:"arrow-1-ink-reveal",d:"M97 253.999C101.276 271.626 130.463 329.751 158.5 328.5",stroke:"white",strokeWidth:"44.67"}),(0,n.jsx)("path",{id:"arrow-2-ink-reveal",d:"M145.035 577.104C125.578 579.594 85.997 609.884 74.5 643",stroke:"white",strokeWidth:"53.55"}),(0,n.jsx)("path",{id:"textbox-reveal-1",d:"M57.6383 67.3594L405.36 64.3618L50.1443 95.5368L429.041 110.525L49.2451 112.623L429.041 134.506L50.1443 156.088L447.626 159.985L50.1443 180.669L317.53 206.448H45.6479L317.53 226.832",stroke:"white",strokeWidth:"38.9688"}),(0,n.jsx)("path",{id:"textbox-border-reveal-1",d:"M135.875 26.5922C99.5043 22.7953 27.3021 28.5707 29.4604 82.0478C31.6187 135.525 38.9525 196.656 42.3496 220.537C43.4487 228.43 56.798 244.338 101.402 244.817C146.007 245.297 322.625 248.614 405.359 250.213C421.646 251.912 453.68 244.577 451.522 201.652C449.364 158.726 450.623 96.2362 451.522 70.357C453.62 60.365 446.246 39.3618 399.963 35.2851C353.68 31.2083 198.624 31.9877 126.882 32.887",stroke:"white",strokeWidth:"23.3813"}),(0,n.jsx)("path",{id:"textbox-reveal-2",d:"M189.372 359.579H364.131L189.372 388.154L431.508 401.389L192.079 408.909L426.996 422.143L183.356 435.378L396.917 452.222L185.763 463.953L404.136 469.367L189.372 491.926L432.711 490.122L185.763 510.275L420.98 513.282L183.356 540.053L336.458 542.76",stroke:"white",strokeWidth:"39.1026"}),(0,n.jsx)("path",{id:"textbox-border-reveal-2",d:"M275.352 313.534H411.61C421.937 313.434 443.854 319.851 448.908 346.32C455.224 379.407 454.923 556.572 451.915 555.971C448.908 555.369 459.134 591.765 411.61 587.253C373.59 583.643 252.592 580.335 196.846 579.131C185.817 578.63 164.06 568.664 165.263 532.81C166.466 496.956 168.371 393.544 169.173 346.32C169.173 326.168 192.333 305.714 283.473 317.144",stroke:"white",strokeWidth:"23.4616"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2532_179319",children:(0,n.jsx)("rect",{width:"480",height:"649.596",fill:"white"})})})]})};let sq=[{selector:"#textbox-reveal-1"},{selector:"#textbox-border-reveal-1",reversePath:!0},{selector:"#arrow-1-ink-reveal"},{selector:"#textbox-reveal-2"},{selector:"#textbox-border-reveal-2"},{selector:"#arrow-2-ink-reveal"}];var sQ=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(sK,{}),inkRevealAnimation:sq,spacingBottom:0})},sz=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 1060",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_2153_64169)",children:[(0,n.jsx)("path",{id:"textbox-border-reveal-3",d:"M106.314 13.6803H307.514C324.411 10.4469 357.892 14.8068 356.64 58.1131C355.388 101.42 356.119 214.671 356.64 265.884C358.309 277.044 353.761 300.804 322.22 306.561C290.679 312.319 138.856 323.146 66.8877 327.839C54.58 328.256 29.7143 321.143 28.713 289.352C27.7117 257.56 28.2958 115.897 28.713 49.0387C28.2957 37.9827 39.6885 17.1582 110.768 11.8027",stroke:"white",strokeWidth:"20.0261"}),(0,n.jsx)("path",{id:"textbox-reveal-3",d:"M50.6149 54.9409L308.764 51.8535L61.5667 63.744L313.144 74.3829L53.744 94.4089L337.238 100.354L50.6149 115.374L315.022 118.19L45.6084 142.284L334.109 144.161L50.6149 160.119L328.79 165.752L50.6149 191.097L313.144 192.662L50.6149 216.13L320.028 226.456L45.6084 240.537L334.109 247.421L50.6149 283.092L289.497 279.441",stroke:"white",strokeWidth:"34.4198"}),(0,n.jsx)("path",{id:"arrow-3-ink-reveal",d:"M359.999 297.441C370.951 308.602 410.749 353.404 410.499 382.441",stroke:"white",strokeWidth:"40.0521"}),(0,n.jsx)("path",{id:"textbox-border-reveal-4",d:"M208.502 384.941H310.002L411.002 393.941C458.688 399.658 452.502 410.941 450.079 471.227C447.601 532.892 435.2 578.243 425.002 588.441C417.002 596.441 414.95 598.724 367.502 600.941C318.291 603.241 167.002 595.941 81.0019 607.441C61.1875 607.441 26.4022 599.019 28.9054 565.725C31.4087 532.432 35.373 453.809 37.0422 418.659C41.6316 406.038 58.9458 382.049 91.4881 390.059C126.033 392.312 196.411 386.085 218.002 387.441",stroke:"white",strokeWidth:"11.61"}),(0,n.jsx)("path",{id:"textbox-reveal-4",d:"M73.499 430.941L388.317 427.969L56.0094 445.179L372.985 465.518L54.1319 479.911L388.317 488.673L63.2062 513.08L407.999 508.941L48.8125 548.125L425.499 531.941L51.499 561.442L416.499 557.441",stroke:"white",strokeWidth:"59.55"}),(0,n.jsx)("path",{id:"arrow-4-ink-reveal",d:"M72.1865 614.658C66.1459 636.013 58.5 683.441 91.5 691.941",stroke:"white",strokeWidth:"50.0652"}),(0,n.jsx)("path",{id:"textbox-border-reveal-5",d:"M408.999 670.942L164.499 673.442C106.188 662.658 95.4992 687.941 103.499 692.441C92.4992 780.658 96.7547 940.411 92.4992 963.441C88.2436 986.471 117.005 1002.94 128.5 998.441C218 990.941 382.688 989.658 409.792 993.13C418.719 994.274 448.336 980.554 446.792 951.44C443.292 885.44 448 762.941 451 706.441C452.957 669.573 422.558 667.291 408.999 670.942Z",stroke:"white",strokeWidth:"13.4"}),(0,n.jsx)("path",{id:"textbox-reveal-5",d:"M119.732 706.658L381.949 705.873L126.303 736.225L384.139 753.435L119.732 777.8L375.69 799.703L126.303 808.507L407.65 829.594L119.732 841.675L391.023 856.694L114.413 880.788L391.023 884.23L114.413 917.398L355.351 918.963L109.406 954.634L428.259 953.07",stroke:"white",strokeWidth:"38.55"}),(0,n.jsx)("path",{id:"arrow-5-ink-reveal",d:"M422.688 998.658C439.688 1025.16 439.003 1031.97 439.003 1060.44",stroke:"white",strokeWidth:"54.7"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2153_64169",children:(0,n.jsx)("rect",{width:"480",height:"1060",fill:"white"})})})]})};let sJ=[{selector:"#textbox-reveal-3"},{selector:"#textbox-border-reveal-3"},{selector:"#arrow-3-ink-reveal"},{selector:"#textbox-reveal-4"},{selector:"#textbox-border-reveal-4"},{selector:"#arrow-4-ink-reveal"},{selector:"#textbox-reveal-5"},{selector:"#textbox-border-reveal-5"},{selector:"#arrow-5-ink-reveal"}];var sX=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(sz,{}),inkRevealAnimation:sJ,spacingBottom:0})},s$=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 669",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_2153_64170)",children:[(0,n.jsx)("path",{id:"textbox-border-reveal-6",d:"M150.822 9.78719H382.374C397.188 7.87305 428.684 14.873 428.684 56.4104C428.684 93.5608 425.688 166.873 418.045 198.47C418.149 206.397 391.994 226.652 353.193 223.147C314.393 219.642 154.264 231.651 79.7114 226.276C67.188 225.373 53.1879 202.373 55.6206 176.837C60.345 127.246 59.4798 64.9201 61.2529 40.0961C59.0625 28.31 63.6936 5.48865 99.7405 8.49243C135.787 11.4962 208.274 10.5999 237.687 12.373",stroke:"white",strokeWidth:"24"}),(0,n.jsx)("path",{id:"textbox-reveal-6",d:"M77.918 47.2949L376.119 49.1724L77.918 72.6404L392.39 93.9181L82.6116 104.557L398.022 135.222L81.047 138.351L398.022 177.464L79.4825 179.029",stroke:"white",strokeWidth:"37.5489"}),(0,n.jsx)("path",{id:"arrow-6-ink-reveal",d:"M54.6873 224.875C41.5451 238.539 21.4117 277.842 41.1875 302.875",stroke:"white",strokeWidth:"38.41"}),(0,n.jsx)("path",{id:"textbox-border-reveal-7",d:"M112.687 296.498L371.046 300.553C395.556 297.389 448.561 298.358 450.687 344.376C452.813 390.394 451.718 504.482 453.687 553.376C458.313 570.729 447.687 627.567 418.687 630.376C375.927 634.518 173.687 645.376 76.6845 645.376C52.687 648.376 32.2694 618.762 33.6868 579.876C35.1043 540.991 37.2775 400.898 36.6869 336.376C36.628 329.96 23.6865 298.496 112.706 296",stroke:"white",strokeWidth:"16.06"}),(0,n.jsx)("path",{id:"textbox-reveal-7",d:"M47.1865 336.996L430.186 336.875L46.4443 354.36L435.589 349.294L54.1855 389.875L400.105 384.522L67.8994 428.773H384.562L81.9803 475.145L347.013 474.145L52.2541 521.516L430.858 517.013L47.6855 566.375L435.239 560.528L90.4288 605.253H376.739",stroke:"white",strokeWidth:"32.48"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2153_64170",children:(0,n.jsx)("rect",{width:"480",height:"669",fill:"white"})})})]})};let s0=[{selector:"#textbox-reveal-6"},{selector:"#textbox-border-reveal-6"},{selector:"#arrow-6-ink-reveal"},{selector:"#textbox-reveal-7"},{selector:"#textbox-border-reveal-7"}];var s1=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(s$,{}),inkRevealAnimation:s0,spacingBottom:0})},s2=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 148",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"ellipses-text-reveal-1",d:"M232.178 13.7676L253.714 20.5828",stroke:"white",strokeWidth:"11.2647"}),(0,n.jsx)("path",{id:"ellipses-text-reveal-2",d:"M232.178 30.0391L253.714 36.8543",stroke:"white",strokeWidth:"11.2647"}),(0,n.jsx)("path",{id:"ellipses-text-reveal-3",d:"M233.429 46.9355L254.965 53.7508",stroke:"white",strokeWidth:"11.2647"}),(0,n.jsx)("path",{id:"textbox-border-reveal-1",d:"M148.449 67.6491C119.007 65.4682 68.8402 65.7601 68.8398 92.1178C68.8394 123.409 84.1129 131.167 109.738 130.622C130.238 130.186 299.293 130.44 381.258 130.622C391.98 131.44 408.657 129.156 408.657 109.954C408.657 78.6628 403.611 67.6491 366.264 67.6491C336.386 67.6491 196.973 68.0624 130.729 66.3359",stroke:"white",strokeWidth:"20.0261"}),(0,n.jsx)("path",{id:"text-reveal-1",d:"M88.8652 100.756L386.44 100.756",stroke:"white",strokeWidth:"31.2907"})]})},s4=function(e){return(0,n.jsx)(tk,{...e,inkRevealSVG:(0,n.jsx)(s2,{}),inkRevealAnimation:sh,spacingBottom:32})},s3=a(5440),s5=a.n(s3),s8=function(){return(0,n.jsxs)("svg",{viewBox:"0 0 480 546",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{id:"text-reveal-1",d:"M61.9561 250.123L429.309 252",stroke:"white",strokeWidth:"43.807"}),(0,n.jsx)("path",{id:"text-reveal-2",d:"M61.9561 298.938L429.309 300.815",stroke:"white",strokeWidth:"43.807"}),(0,n.jsx)("path",{id:"text-reveal-3",d:"M60.7041 346.498L428.057 349.001",stroke:"white",strokeWidth:"43.807"}),(0,n.jsx)("path",{id:"text-reveal-4",d:"M48.501 388.742L441.826 397.817",stroke:"white",strokeWidth:"43.807"}),(0,n.jsx)("path",{id:"text-reveal-5",d:"M56.9492 434.113L420.548 439.433",stroke:"white",strokeWidth:"37.5489"}),(0,n.jsx)("path",{id:"text-reveal-6",d:"M36.2969 481.049H444.954",stroke:"white",strokeWidth:"37.5489"}),(0,n.jsx)("path",{id:"border-reveal",d:"M162.629 190.557L39.8267 193.498C30.9734 193.498 15.0792 191.087 16.2846 221.437C17.49 251.788 14.0232 433.186 12.5166 512.591C13.0802 523.179 13.4221 521.002 36.6263 522.885C59.8305 524.767 314.624 528.963 439.121 530.825C446.592 533.374 461.421 532.119 460.969 506.709C460.517 481.3 466.305 297.412 467.372 206.439C468.691 188.793 458.144 188.793 445.336 188.793C432.528 188.793 361.397 190.557 326.113 190.557",stroke:"white",strokeWidth:"18.7744"})]})},s6=function(){return(0,n.jsx)("svg",{viewBox:"0 0 480 546",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{id:"highlight-reveal",d:"M202.451 482.473C264.615 476.214 348.579 469.026 446.206 485.548",stroke:"white",strokeWidth:"31.2907"})})};let s7=sC(6),s9=[{selector:"#highlight-reveal"}];var ne=function(e){let{inkImage:t,highlightImage:a,videoSources:s}=e;return(0,n.jsx)("div",{className:s5().ComicSourceCodeQuoteMobile,children:(0,n.jsx)(tk,{inkImage:t,highlightImage:a,inkRevealSVG:(0,n.jsx)(s8,{}),highlightRevealSVG:(0,n.jsx)(s6,{}),inkRevealAnimation:s7,highlightRevealAnimation:s9,spacingBottom:0,children:!!(null==s?void 0:s.length)&&(0,n.jsx)(tQ,{videoSources:s,isPlaying:!0,className:s5().video})})})},nt=a(4172),na=a.n(nt),ns=function(e){return(0,n.jsxs)("div",{className:na().ComicBookMobile,children:[(0,n.jsx)(sy,{...e.header}),(0,n.jsx)(sO,{...e.subheading}),(0,n.jsx)(sH,{...e.teletypeBanner}),(0,n.jsx)(sU,{...e.teletype}),(0,n.jsx)(aK,{slides:e.teletypeCarousel.slides}),(0,n.jsx)(sZ,{...e.feedbackLoopHeader}),(0,n.jsx)(sQ,{...e.feedbackLoopBody01}),(0,n.jsx)(sX,{...e.feedbackLoopBody02}),(0,n.jsx)(s1,{...e.feedbackLoopBody03}),(0,n.jsx)(s4,{...e.feedbackLoopFooter}),(0,n.jsx)(ne,{...e.sourceCodeQuote})]})},nn=a(6110),ni=a.n(nn),nr=function(e){let{effectId:t,displacementScale:a=10,displacementFrequency:s=.02,displacementNumOctaves:i=1}=e;return(0,n.jsx)("div",{className:ni().ComicFilterBoilSource,children:(0,n.jsxs)("svg",{width:"0",height:"0",children:[(0,n.jsxs)("filter",{id:"".concat(t,"-frame-1"),children:[(0,n.jsx)("feTurbulence",{type:"turbulence",baseFrequency:s,numOctaves:i,seed:"1",result:"turbulence"}),(0,n.jsx)("feDisplacementMap",{in:"SourceGraphic",in2:"turbulence",scale:a,xChannelSelector:"R",yChannelSelector:"G"})]}),(0,n.jsxs)("filter",{id:"".concat(t,"-frame-2"),children:[(0,n.jsx)("feTurbulence",{type:"turbulence",baseFrequency:s,numOctaves:i,seed:"2",result:"turbulence"}),(0,n.jsx)("feDisplacementMap",{in:"SourceGraphic",in2:"turbulence",scale:a,xChannelSelector:"R",yChannelSelector:"G"})]}),(0,n.jsxs)("filter",{id:"".concat(t,"-frame-3"),children:[(0,n.jsx)("feTurbulence",{type:"turbulence",baseFrequency:s,numOctaves:i,seed:"3",result:"turbulence"}),(0,n.jsx)("feDisplacementMap",{in:"SourceGraphic",in2:"turbulence",scale:a,xChannelSelector:"R",yChannelSelector:"G"})]})]})})},no=a(9164),nl=a.n(no),nc=function(e){let{config:t}=e,a=e6(),s=void 0!==a,i=6,r=.02;return(0,n.jsxs)("div",{className:nl().ComicBook,style:{display:s?void 0:"none"},children:["desktop"===a&&(0,n.jsx)(t4,{...t.desktop}),"tablet"===a&&(0,n.jsx)(sN,{...t.tablet}),"mobile"===a&&(0,n.jsx)(ns,{...t.mobile}),(0,n.jsx)(nr,{effectId:"filter-highlight-boil",displacementScale:i,displacementFrequency:r})]})};let nd={"carousel-mobile-text-1-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/a278af98-5e02-477b-b0f5-c7a89dc01590/carousel-mobile-text-1-highlight.webp","carousel-mobile-text-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/a503fcc7-1009-4c9a-b0d7-687c6c229a97/carousel-mobile-text-1.webp","carousel-mobile-text-2-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/ac364e82-f71b-41a5-a202-2517ab2a2130/carousel-mobile-text-2-highlight.webp","carousel-mobile-text-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/21cda112-bfa4-4397-99b4-c95f50673c3c/carousel-mobile-text-2.webp","carousel-mobile-text-3-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/19cae6db-ebd4-4ea5-9312-5ead617cdb8a/carousel-mobile-text-3-highlight.webp","carousel-mobile-text-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/7574137c-9aff-485a-a88e-ca8bb9ce8abf/carousel-mobile-text-3.webp","carousel-mobile-text-4-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/e3c27a6e-e44e-4fec-883f-aa85b28c5003/carousel-mobile-text-4-highlight.webp","carousel-mobile-text-4.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/7c795450-f581-4b43-9b0d-812f5ede4f19/carousel-mobile-text-4.webp","carousel-mobile-text-5-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/6e2c790c-c9eb-49e6-9118-3376382cdeb6/carousel-mobile-text-5-highlight.webp","carousel-mobile-text-5.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/2379ec46-2c70-4584-9ff1-639a9e334803/carousel-mobile-text-5.webp","carousel-tablet-text-1-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/20e97fe6-66a1-47cf-a6d9-160ef87140dd/carousel-tablet-text-1-highlight.webp","carousel-tablet-text-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/422f88d9-86a4-4007-827c-79d859555fda/carousel-tablet-text-1.webp","carousel-tablet-text-2-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/2bb84840-209b-4a42-80c7-e81fdcb701f8/carousel-tablet-text-2-highlight.webp","carousel-tablet-text-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/45dbf07f-a244-40d1-993e-f1cc94fc1ad6/carousel-tablet-text-2.webp","carousel-tablet-text-3-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/a244d68c-3cc9-466b-b8e6-831ed56849b9/carousel-tablet-text-3-highlight.webp","carousel-tablet-text-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/50d4d5e4-8c9a-46e3-b9b2-8f9beb3d69c7/carousel-tablet-text-3.webp","carousel-tablet-text-4-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/482730aa-92fd-4ebe-b6fb-6e9e827562b5/carousel-tablet-text-4-highlight.webp","carousel-tablet-text-4.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/52cc619a-5bea-4f10-98df-74cd453127c6/carousel-tablet-text-4.webp","carousel-tablet-text-5-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/58815217-8897-4c9e-8b68-028ac5f2c89f/carousel-tablet-text-5-highlight.webp","carousel-tablet-text-5.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/d3e84036-698e-47ec-9366-5e5181461d70/carousel-tablet-text-5.webp","comic-header-desktop-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/351beb4c-e615-4c18-b1c0-8d8eb4764592/comic-header-desktop-highlight.webp","comic-header-desktop-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/9a1453b3-b789-4b7a-b0fe-ddd713016de5/comic-header-desktop-ink-1.webp","comic-header-desktop-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/04fb108b-8842-44b8-aaab-76a233696f34/comic-header-desktop-ink-2.webp","comic-header-desktop-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/dc4c92a3-5540-4c0e-b3fa-7bc049a2da5c/comic-header-desktop-ink-3.webp","comic-header-mobile-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/7e6c1964-a60d-4da0-bf43-cab663de2271/comic-header-mobile-highlight.webp","comic-header-mobile-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/4091ffee-d583-480c-b26e-c8fe7443f28b/comic-header-mobile-ink-1.webp","comic-header-mobile-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/1f09c57e-b887-48c0-a0fc-bf3c2c983970/comic-header-mobile-ink-2.webp","comic-header-mobile-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/d99dbe8c-648b-4f12-bc7b-6a54522c650e/comic-header-mobile-ink-3.webp","comic-header-tablet-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/2a474c96-104a-4f73-a9e0-b2eb9a5ab311/comic-header-tablet-highlight.webp","comic-header-tablet-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/266c453a-e80e-4aa5-bab0-ea600bb9add6/comic-header-tablet-ink-1.webp","comic-header-tablet-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/16029eb2-a09f-4e1f-b4ed-2ad28f8a715f/comic-header-tablet-ink-2.webp","comic-header-tablet-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/8252b693-18e3-4beb-9e10-a9e8c718eccc/comic-header-tablet-ink-3.webp","feedback-loop-body-mobile-01-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/a7f1fc7f-b804-489d-9cb8-748ff40a06de/feedback-loop-body-mobile-01-ink-1.webp","feedback-loop-body-mobile-01-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/2d8eb7a1-6464-48ba-9e47-cb5156246d01/feedback-loop-body-mobile-01-ink-2.webp","feedback-loop-body-mobile-01-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/d4acb45e-7628-461c-8895-9c1cc592d9f3/feedback-loop-body-mobile-01-ink-3.webp","feedback-loop-body-mobile-02-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/f9326d5f-726f-46c0-9abd-615bccc44cc2/feedback-loop-body-mobile-02-ink-1.webp","feedback-loop-body-mobile-02-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/6330c70a-2009-4061-badf-a6a7ee77c232/feedback-loop-body-mobile-02-ink-2.webp","feedback-loop-body-mobile-02-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/201b1aec-6208-429e-aef1-a358fd64cc76/feedback-loop-body-mobile-02-ink-3.webp","feedback-loop-body-mobile-03-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/e7bd28da-02bf-4806-a5ec-b7af80e13034/feedback-loop-body-mobile-03-ink-1.webp","feedback-loop-body-mobile-03-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/224c86db-4295-4088-b18d-0eecf6a38244/feedback-loop-body-mobile-03-ink-2.webp","feedback-loop-body-mobile-03-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/16223643-3880-4079-a528-3bc220f158cd/feedback-loop-body-mobile-03-ink-3.webp","feedback-loop-body-tablet-01-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/2be86d32-c632-41ac-af45-e8bae7afe437/feedback-loop-body-tablet-01-ink-1.webp","feedback-loop-body-tablet-01-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/4d3c9949-6bb3-48cf-9490-b18d611f4c44/feedback-loop-body-tablet-01-ink-2.webp","feedback-loop-body-tablet-01-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/83294937-1a74-4a1b-a2bd-4293e8179e2f/feedback-loop-body-tablet-01-ink-3.webp","feedback-loop-body-tablet-02-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/3612bc73-25fb-40d3-ba0e-19a685bb5b71/feedback-loop-body-tablet-02-ink-1.webp","feedback-loop-body-tablet-02-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/253a8e97-79f4-4179-ae8f-8a78ef6d62d9/feedback-loop-body-tablet-02-ink-2.webp","feedback-loop-body-tablet-02-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/d0235463-49bc-4c1c-bea7-5dd972e815a8/feedback-loop-body-tablet-02-ink-3.webp","feedback-loop-button-mobile.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/5c2ee69b-ef58-4404-b26e-4524d563d70e/feedback-loop-button-mobile.webp","feedback-loop-button-tablet.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/b45b3492-9dbe-4131-a3a7-49e55aa878a5/feedback-loop-button-tablet.webp","feedback-loop-desktop-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/92a30246-1893-4d0b-9e33-9d3e69119654/feedback-loop-desktop-highlight.webp","feedback-loop-desktop-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/c55ec84e-13d8-423f-a9f5-dca85b40fec5/feedback-loop-desktop-ink-1.webp","feedback-loop-desktop-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/55eecc07-a1f3-49b3-9891-ffac28b97380/feedback-loop-desktop-ink-2.webp","feedback-loop-desktop-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/85052684-5b90-42d4-b801-892dec82fcac/feedback-loop-desktop-ink-3.webp","feedback-loop-footer-mobile-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/ba46d922-0ae3-43e2-852c-c68f659f8d32/feedback-loop-footer-mobile-ink-1.webp","feedback-loop-footer-mobile-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/733246a0-8122-449e-bbda-6fd29807a51b/feedback-loop-footer-mobile-ink-2.webp","feedback-loop-footer-mobile-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/81509397-4513-4e5d-88d5-29ee8e0045b4/feedback-loop-footer-mobile-ink-3.webp","feedback-loop-footer-tablet-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/cb83fe13-1dd3-417b-b5fb-7d184b102851/feedback-loop-footer-tablet-ink-1.webp","feedback-loop-footer-tablet-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/2b137610-4798-45e3-a7e8-1e928edfee95/feedback-loop-footer-tablet-ink-2.webp","feedback-loop-footer-tablet-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/e50d8251-deb4-4963-bfc2-49775bd08514/feedback-loop-footer-tablet-ink-3.webp","feedback-loop-header-mobile-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/80f20911-e8f8-4a8b-bb1c-c5b4699d3e5b/feedback-loop-header-mobile-highlight.webp","feedback-loop-header-mobile-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/30a2b99d-1312-4998-a3b9-aec0c5406e40/feedback-loop-header-mobile-ink-1.webp","feedback-loop-header-mobile-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/2404a1a3-f465-4750-9f30-3eb8ab970765/feedback-loop-header-mobile-ink-2.webp","feedback-loop-header-mobile-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/21a9bcb9-dc23-4746-9648-29eec95d607e/feedback-loop-header-mobile-ink-3.webp","feedback-loop-header-tablet-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/15849abb-9711-43da-8941-b7323d47e671/feedback-loop-header-tablet-highlight.webp","feedback-loop-header-tablet-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/2a509673-a33d-4813-81f3-aaf7129526ef/feedback-loop-header-tablet-ink-1.webp","feedback-loop-header-tablet-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/a0e0138c-dd2d-447e-ab4a-6d623df0b9d7/feedback-loop-header-tablet-ink-2.webp","feedback-loop-header-tablet-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/daf92866-e45e-4b4f-8fc0-0ef7768e50b2/feedback-loop-header-tablet-ink-3.webp","source-code-quote-desktop-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/50842a37-71b0-49fd-af1f-cd182367ea55/source-code-quote-desktop-highlight.webp","source-code-quote-desktop-ink.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/e45cd317-1232-4ba2-bd1c-1efbe50152fd/source-code-quote-desktop-ink.webp","source-code-quote-mobile-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/4ca549c3-4041-466a-9472-10e64d5a9667/source-code-quote-mobile-highlight.webp","source-code-quote-mobile-ink.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/6aa2dd96-a274-4f2e-9adb-2ee041ddb1b5/source-code-quote-mobile-ink.webp","source-code-quote-tablet-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/203d8b9c-036e-4fd9-bd34-3789a1bf1e82/source-code-quote-tablet-highlight.webp","source-code-quote-tablet-ink.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/e576f739-9fa4-4e40-b125-54df4c1640ce/source-code-quote-tablet-ink.webp","source-code-quote-video-h265-hevc-safari.mp4":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/05c14be2-c730-43bb-a84e-05e9f3a62a50/source-code-quote-video-h265-hevc-safari.mp4","source-code-quote-video-h265-vp9-chrome.webm":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/1d3ba484-60e8-454e-b0e8-fba3fd952735/source-code-quote-video-h265-vp9-chrome.webm","subheading-desktop-ink.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/46f76fbd-47a5-484a-b69d-d4cb336d7a44/subheading-desktop-ink.webp","subheading-mobile-ink.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/474b1c08-ebcb-49e4-8849-e97e0c664947/subheading-mobile-ink.webp","subheading-tablet-ink.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/1b21ba9d-5237-4484-bc3d-5921a81ea974/subheading-tablet-ink.webp","teletype-arrow-mobile.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/46d6d840-c9b1-4f11-b339-fa9bfe4e136e/teletype-arrow-mobile.webp","teletype-arrow-tablet.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/c7fef0ae-25e3-4cad-8f72-c58eadddbd9c/teletype-arrow-tablet.webp","teletype-banner-desktop-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/2415ee8c-c1e5-4557-ab95-f3a10b694804/teletype-banner-desktop-highlight.webp","teletype-banner-desktop-ink.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/5e77e436-9277-4a1c-9998-06574492a219/teletype-banner-desktop-ink.webp","teletype-banner-mobile-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/c52140a0-e158-4357-9cac-dfda090d4f66/teletype-banner-mobile-highlight.webp","teletype-banner-mobile-ink.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/a45ba824-bf7f-4b20-945a-ea4f723bd997/teletype-banner-mobile-ink.webp","teletype-banner-tablet-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/fe8cab8e-4e3e-49af-a635-e46168e90529/teletype-banner-tablet-highlight.webp","teletype-banner-tablet-ink.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/df368e2b-2124-4e58-b6d8-d444dc41abe8/teletype-banner-tablet-ink.webp","teletype-desktop-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/65b9ffd5-9f40-4fe3-a3e2-26030306c86c/teletype-desktop-highlight.webp","teletype-desktop-ink-1.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/2544767d-d649-4cbc-911f-7eac83e1f998/teletype-desktop-ink-1.webp","teletype-desktop-ink-2.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/96af1501-45a0-4f2e-85ef-22d8bde5b9f0/teletype-desktop-ink-2.webp","teletype-desktop-ink-3.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/e15c94e8-8082-4540-ade1-cda1169eceb9/teletype-desktop-ink-3.webp","teletype-mobile-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/d2d1761e-6242-4dd0-a17c-42d92bb8e1eb/teletype-mobile-highlight.webp","teletype-mobile-ink.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/84a8106c-85ff-4a59-9a95-f67d850eb1f7/teletype-mobile-ink.webp","teletype-tablet-highlight.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/c483f6eb-5036-4363-bcf2-8020e29a3d36/teletype-tablet-highlight.webp","teletype-tablet-ink.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/b7c9b31d-c1e1-4d7a-a888-1f33dcc7b733/teletype-tablet-ink.webp"};var nm=nd;let nu=nm,nh={header:{inkImageSequence:[{id:"comic-header-desktop-ink-1",src:nu["comic-header-desktop-ink-1.webp"],width:2880,height:920},{id:"comic-header-desktop-ink-2",src:nu["comic-header-desktop-ink-2.webp"],width:2880,height:920},{id:"comic-header-desktop-ink-3",src:nu["comic-header-desktop-ink-3.webp"],width:2880,height:920}],highlightImage:{id:"comic-header-desktop-highlight",src:nu["comic-header-desktop-highlight.webp"]}},subheading:{inkImage:{id:"subheading-desktop-ink",src:nu["subheading-desktop-ink.webp"],width:2880,height:446}},teletypeBanner:{inkImage:{id:"teletype-banner-desktop-ink",src:nu["teletype-banner-desktop-ink.webp"],width:2880,height:410},highlightImage:{id:"teletype-banner-desktop-highlight",src:nu["teletype-banner-desktop-highlight.webp"]}},teletype:{inkImageSequence:[{id:"teletype-desktop-ink-1",src:nu["teletype-desktop-ink-1.webp"],width:2880,height:2050},{id:"teletype-desktop-ink-2",src:nu["teletype-desktop-ink-2.webp"],width:2880,height:2050},{id:"teletype-desktop-ink-3",src:nu["teletype-desktop-ink-3.webp"],width:2880,height:2050}],highlightImage:{id:"teletype-desktop-highlight",src:nu["teletype-desktop-highlight.webp"]}},feedbackLoop:{inkImageSequence:[{id:"feedback-loop-desktop-ink-1",src:nu["feedback-loop-desktop-ink-1.webp"],width:2880,height:1088},{id:"feedback-loop-desktop-ink-2",src:nu["feedback-loop-desktop-ink-2.webp"],width:2880,height:1088},{id:"feedback-loop-desktop-ink-3",src:nu["feedback-loop-desktop-ink-3.webp"],width:2880,height:1088}],highlightImage:{id:"feedback-loop-desktop-highlight",src:nu["feedback-loop-desktop-highlight.webp"]}},sourceCodeQuote:{inkImage:{id:"source-code-quote-desktop-ink",src:nu["source-code-quote-desktop-ink.webp"],width:2880,height:608},highlightImage:{id:"source-code-quote-desktop-highlight",src:nu["source-code-quote-desktop-highlight.webp"]},videoSources:[{src:nu["source-code-quote-video-h265-hevc-safari.mp4"],type:"video/mp4;codecs=hvc1"},{src:nu["source-code-quote-video-h265-vp9-chrome.webm"],type:"video/webm"}]}},n_={header:{inkImageSequence:[{id:"comic-header-tablet-ink-1",src:nu["comic-header-tablet-ink-1.webp"],width:1920,height:657},{id:"comic-header-tablet-ink-2",src:nu["comic-header-tablet-ink-2.webp"],width:1920,height:657},{id:"comic-header-tablet-ink-3",src:nu["comic-header-tablet-ink-3.webp"],width:1920,height:657}],highlightImage:{id:"comic-header-tablet-highlight",src:nu["comic-header-tablet-highlight.webp"]}},subheading:{inkImage:{id:"subheading-tablet-ink",src:nu["subheading-tablet-ink.webp"],width:1920,height:524}},teletypeBanner:{inkImage:{id:"teletype-banner-tablet-ink",src:nu["teletype-banner-tablet-ink.webp"],width:1920,height:314},highlightImage:{id:"teletype-banner-tablet-highlight",src:nu["teletype-banner-tablet-highlight.webp"]}},teletype:{inkImage:{id:"teletype-tablet-ink",src:nu["teletype-tablet-ink.webp"],width:1920,height:1581},highlightImage:{id:"teletype-tablet-highlight",src:nu["teletype-tablet-highlight.webp"]}},teletypeCarousel:{slides:[{id:"carousel-slide-01",inkImage:{id:"carousel-tablet-text-1",src:nu["carousel-tablet-text-1.webp"],width:1920,height:883},highlightImage:{id:"carousel-tablet-text-1-highlight",src:nu["carousel-tablet-text-1-highlight.webp"],width:1920,height:883}},{id:"carousel-slide-02",inkImage:{id:"carousel-tablet-text-2",src:nu["carousel-tablet-text-2.webp"],width:1920,height:883},highlightImage:{id:"carousel-tablet-text-2-highlight",src:nu["carousel-tablet-text-2-highlight.webp"],width:1920,height:883}},{id:"carousel-slide-03",inkImage:{id:"carousel-tablet-text-3",src:nu["carousel-tablet-text-3.webp"],width:1920,height:883},highlightImage:{id:"carousel-tablet-text-1-highlight",src:nu["carousel-tablet-text-3-highlight.webp"],width:1920,height:883}},{id:"carousel-slide-04",inkImage:{id:"carousel-tablet-text-4",src:nu["carousel-tablet-text-4.webp"],width:1920,height:883},highlightImage:{id:"carousel-tablet-text-4-highlight",src:nu["carousel-tablet-text-4-highlight.webp"],width:1920,height:883}},{id:"carousel-slide-05",inkImage:{id:"carousel-tablet-text-5",src:nu["carousel-tablet-text-5.webp"],width:1920,height:883},highlightImage:{id:"carousel-tablet-text-5-highlight",src:nu["carousel-tablet-text-5-highlight.webp"],width:1920,height:883}}],arrow:{id:"teletype-arrow-tablet",src:nu["teletype-arrow-tablet.webp"],width:2559,height:831}},feedbackLoopHeader:{inkImageSequence:[{id:"feedback-loop-header-tablet-ink-1",src:nu["feedback-loop-header-tablet-ink-1.webp"],width:1920,height:955},{id:"feedback-loop-header-tablet-ink-2",src:nu["feedback-loop-header-tablet-ink-2.webp"],width:1920,height:955},{id:"feedback-loop-header-tablet-ink-3",src:nu["feedback-loop-header-tablet-ink-3.webp"],width:1920,height:955}],highlightImage:{id:"feedback-loop-header-tablet-highlight",src:nu["feedback-loop-header-tablet-highlight.webp"]}},feedbackLoopBody01:{inkImageSequence:[{id:"feedback-loop-body-tablet-01-ink-1",src:nu["feedback-loop-body-tablet-01-ink-1.webp"],width:1920,height:1776},{id:"feedback-loop-body-tablet-01-ink-2",src:nu["feedback-loop-body-tablet-01-ink-2.webp"],width:1920,height:1776},{id:"feedback-loop-body-tablet-01-ink-3",src:nu["feedback-loop-body-tablet-01-ink-3.webp"],width:1920,height:1776}]},feedbackLoopBody02:{inkImageSequence:[{id:"feedback-loop-body-tablet-02-ink-1",src:nu["feedback-loop-body-tablet-02-ink-1.webp"],width:1920,height:1617},{id:"feedback-loop-body-tablet-02-ink-2",src:nu["feedback-loop-body-tablet-02-ink-2.webp"],width:1920,height:1617},{id:"feedback-loop-body-tablet-02-ink-3",src:nu["feedback-loop-body-tablet-02-ink-3.webp"],width:1920,height:1617}]},feedbackLoopFooter:{inkImageSequence:[{id:"feedback-loop-footer-tablet-ink-1",src:nu["feedback-loop-footer-tablet-ink-1.webp"],width:1920,height:339},{id:"feedback-loop-footer-tablet-ink-2",src:nu["feedback-loop-footer-tablet-ink-2.webp"],width:1920,height:339},{id:"feedback-loop-footer-tablet-ink-3",src:nu["feedback-loop-footer-tablet-ink-3.webp"],width:1920,height:339}]},sourceCodeQuote:{inkImage:{id:"source-code-quote-tablet-ink",src:nu["source-code-quote-tablet-ink.webp"],width:1920,height:1520},highlightImage:{id:"source-code-quote-tablet-highlight",src:nu["source-code-quote-tablet-highlight.webp"]},videoSources:[{src:nu["source-code-quote-video-h265-hevc-safari.mp4"],type:"video/mp4;codecs=hvc1"},{src:nu["source-code-quote-video-h265-vp9-chrome.webm"],type:"video/webm"}]}},ng={header:{inkImageSequence:[{id:"comic-header-mobile-ink-1",src:nu["comic-header-mobile-ink-1.webp"],width:961,height:993},{id:"comic-header-mobile-ink-2",src:nu["comic-header-mobile-ink-2.webp"],width:961,height:993},{id:"comic-header-mobile-ink-3",src:nu["comic-header-mobile-ink-3.webp"],width:961,height:993}],highlightImage:{id:"comic-header-mobile-highlight",src:nu["comic-header-mobile-highlight.webp"]}},subheading:{inkImage:{id:"subheading-mobile-ink",src:nu["subheading-mobile-ink.webp"],width:960,height:850}},teletypeBanner:{inkImage:{id:"teletype-banner-mobile-ink",src:nu["teletype-banner-mobile-ink.webp"],width:960,height:415},highlightImage:{id:"teletype-banner-mobile-highlight",src:nu["teletype-banner-mobile-highlight.webp"]}},teletype:{inkImage:{id:"teletype-mobile-ink",src:nu["teletype-mobile-ink.webp"],width:960,height:1174},highlightImage:{id:"teletype-mobile-highlight",src:nu["teletype-mobile-highlight.webp"]}},teletypeCarousel:{slides:[{id:"01",inkImage:{id:"carousel-mobile-text-1",src:nu["carousel-mobile-text-1.webp"],width:960,height:643},highlightImage:{id:"carousel-mobile-text-1-highlight",src:nu["carousel-mobile-text-1-highlight.webp"],width:960,height:643}},{id:"02",inkImage:{id:"carousel-mobile-text-2",src:nu["carousel-mobile-text-2.webp"],width:960,height:643},highlightImage:{id:"carousel-mobile-text-2-highlight",src:nu["carousel-mobile-text-2-highlight.webp"],width:960,height:643}},{id:"03",inkImage:{id:"carousel-mobile-text-3",src:nu["carousel-mobile-text-3.webp"],width:960,height:643},highlightImage:{id:"carousel-mobile-text-3-highlight",src:nu["carousel-mobile-text-3-highlight.webp"],width:960,height:643}},{id:"04",inkImage:{id:"carousel-mobile-text-4",src:nu["carousel-mobile-text-4.webp"],width:960,height:643},highlightImage:{id:"carousel-mobile-text-4-highlight",src:nu["carousel-mobile-text-4-highlight.webp"],width:960,height:643}},{id:"05",inkImage:{id:"carousel-mobile-text-5",src:nu["carousel-mobile-text-5.webp"],width:960,height:643},highlightImage:{id:"carousel-mobile-text-5-highlight",src:nu["carousel-mobile-text-5-highlight.webp"],width:960,height:643}}],arrow:{id:"teletype-arrow-mobile",src:nu["teletype-arrow-mobile.webp"],width:1535,height:631}},feedbackLoopHeader:{inkImageSequence:[{id:"feedback-loop-header-mobile-ink-1",src:nu["feedback-loop-header-mobile-ink-1.webp"],width:960,height:650},{id:"feedback-loop-header-mobile-ink-2",src:nu["feedback-loop-header-mobile-ink-2.webp"],width:960,height:650},{id:"feedback-loop-header-mobile-ink-3",src:nu["feedback-loop-header-mobile-ink-3.webp"],width:960,height:650}],highlightImage:{id:"feedback-loop-header-mobile-highlight",src:nu["feedback-loop-header-mobile-highlight.webp"]}},feedbackLoopBody01:{inkImageSequence:[{id:"feedback-loop-body-mobile-01-ink-1",src:nu["feedback-loop-body-mobile-01-ink-1.webp"],width:960,height:1300},{id:"feedback-loop-body-mobile-01-ink-2",src:nu["feedback-loop-body-mobile-01-ink-2.webp"],width:960,height:1300},{id:"feedback-loop-body-mobile-01-ink-3",src:nu["feedback-loop-body-mobile-01-ink-3.webp"],width:960,height:1300}]},feedbackLoopBody02:{inkImageSequence:[{id:"feedback-loop-body-mobile-02-ink-1",src:nu["feedback-loop-body-mobile-02-ink-1.webp"],width:960,height:2120},{id:"feedback-loop-body-mobile-02-ink-2",src:nu["feedback-loop-body-mobile-02-ink-2.webp"],width:960,height:2120},{id:"feedback-loop-body-mobile-02-ink-3",src:nu["feedback-loop-body-mobile-02-ink-3.webp"],width:960,height:2120}]},feedbackLoopBody03:{inkImageSequence:[{id:"feedback-loop-body-mobile-03-ink-1",src:nu["feedback-loop-body-mobile-03-ink-1.webp"],width:960,height:1338},{id:"feedback-loop-body-mobile-03-ink-2",src:nu["feedback-loop-body-mobile-03-ink-2.webp"],width:960,height:1338},{id:"feedback-loop-body-mobile-03-ink-3",src:nu["feedback-loop-body-mobile-03-ink-3.webp"],width:960,height:1338}]},feedbackLoopFooter:{inkImageSequence:[{id:"feedback-loop-footer-mobile-ink-1",src:nu["feedback-loop-footer-mobile-ink-1.webp"],width:960,height:295},{id:"feedback-loop-footer-mobile-ink-2",src:nu["feedback-loop-footer-mobile-ink-2.webp"],width:960,height:295},{id:"feedback-loop-footer-mobile-ink-3",src:nu["feedback-loop-footer-mobile-ink-3.webp"],width:960,height:295}]},sourceCodeQuote:{inkImage:{id:"source-code-quote-mobile-ink",src:nu["source-code-quote-mobile-ink.webp"],width:956,height:1087},highlightImage:{id:"source-code-quote-mobile-highlight",src:nu["source-code-quote-mobile-highlight.webp"]},videoSources:[{src:nu["source-code-quote-video-h265-hevc-safari.mp4"],type:"video/mp4;codecs=hvc1"},{src:nu["source-code-quote-video-h265-vp9-chrome.webm"],type:"video/webm"}]}},np={desktop:nh,tablet:n_,mobile:ng};var nx=np,nv=a(5879),nC=a.n(nv),nb=a(3120),nf=a.n(nb);let nI=()=>{if("undefined"==typeof document)return 0;let e=document.createElement("div");e.style.cssText="overflow:scroll; visibility:hidden; position:absolute;",document.body.appendChild(e);let t=e.offsetWidth-e.clientWidth;return e.remove(),t||0},nS={desktop:{designWidth:1280,range:[1279,Number.POSITIVE_INFINITY]},tablet:{designWidth:768,range:[767,1279]},mobile:{designWidth:390,range:[0,767]}},nT=0,nN=e=>{nT=nT||nI();let t=nS.mobile.range[1]-nT,a=nS.tablet.range[1]-nT;return e<t?"mobile":e<a?"tablet":"desktop"},nE=e=>{let t=nN(e),{designWidth:a}=nS[t],s=e/a,n=nI();return{breakpoint_name:t,scale:s,scrollbar_width:n}},nk=(0,i.createContext)(),nA=()=>(0,i.useContext)(nk),nj=e=>{let{children:t,containerRef:a,article:s,assetMap:r}=e,[o,l]=(0,i.useState)(1),[c,d]=(0,i.useState)("16px"),[m,u]=(0,i.useState)("desktop");(0,i.useEffect)(()=>{let e=()=>{if(a.current){let e=a.current.offsetWidth,{breakpoint_name:t,scale:s,scrollbar_width:n}=nE(e);l(s),u(t),d("".concat(16*s,"px")),a.current.style.setProperty("--sc-scale",s),a.current.style.setProperty("--sc-scrollbar-width",n+"px")}};e(),window.addEventListener("resize",e);let t=setInterval(e,1e3);return()=>{window.removeEventListener("resize",e),clearInterval(t)}},[a]);let h={columnScale:o,fontSize:c,breakpointName:m,article:s,assetMap:r};return(0,n.jsx)(nk.Provider,{value:h,children:(0,n.jsx)("div",{className:"".concat(nf().SourceCodeContext," sc-").concat(m),style:{fontSize:c},children:t})})},ny=!0,nw=ny?i.useLayoutEffect:i.useEffect;function nL(e){let[t,a]=(0,i.useState)(void 0);return nw(()=>{if(!ny||!(null==e?void 0:e.current))return;let t=()=>{let t=e.current.offsetWidth;a(nN(t))},s=new ResizeObserver(t);return s.observe(e.current),t(),()=>s.disconnect()},[e]),t}var nO=a(9994),nB=a.n(nO),nR=function(e){let{sectionId:t,className:a="",children:s,guideImage:i,guideOpacity:r=.5,guideOffset:o=0}=e,l=0;return a||(l=i?i.height/i.width*100:0),(0,n.jsxs)("div",{"data-id":t,className:"".concat(nB().SectionBlock," ").concat(a),style:a?null:{paddingBottom:showGuide&&i?"".concat(l,"%"):"auto"},children:[(0,n.jsx)("a",{id:t,className:nB().Anchor}),s]})},nD=a(4935),nM=a.n(nD),nH=function(e){let{children:t,className:a=""}=e;return(0,n.jsx)("div",{className:"".concat(nM().RowBlock," ").concat(a),children:t})};let nF={HEADER:"\n+=================================================================+\n|                                                                 |\n| :'######:::'#######::'##::::'##:'########:::'######::'########: |\n| '##... ##:'##.... ##: ##:::: ##: ##.... ##:'##... ##: ##.....:: |\n|  ##:::..:: ##:::: ##: ##:::: ##: ##:::: ##: ##:::..:: ##::::::: |\n| . ######:: ##:::: ##: ##:::: ##: ########:: ##::::::: ######::: |\n| :..... ##: ##:::: ##: ##:::: ##: ##.. ##::: ##::::::: ##...:::: |\n| '##::: ##: ##:::: ##: ##:::: ##: ##::. ##:: ##::: ##: ##::::::: |\n| . ######::. #######::. #######:: ##:::. ##:. ######:: ########: |\n| :......::::.......::::.......:::..:::::..:::......:::........:: |\n| :'######:::'#######::'########::'########::::::: '## ::::::..:: |\n| '##... ##:'##.... ##: ##.... ##: ##.....:::::::  ## :::::::..:: |\n|  ##:::..:: ##:::: ##: ##:::: ##: ##:::::::::::  ## ::'##:::..:: |\n|  ##::::::: ##:::: ##: ##:::: ##: ######::::::  ## ::::: ##:..:: |\n|  ##::::::: ##:::: ##: ##:::: ##: ##...::::::  ## ::::::: ##:::  |\n|  ##::: ##: ##:::: ##: ##:::: ##: ##::::::::  ## ::::::: ##:.::  |\n| . ######::. #######:: ########:: ########:  ##.:::::: ## :...:: |\n| :......::::.......:::........:::........::..::.......::........ |\n|                                                                 |\n+=================================================================+",HEADER_DETAIL_LEFT:"\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>–>\n\n\n*\n\n\n\n\n\n\n\n\n\n\n*\n*",HEADER_DETAIL_RIGHT:"\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>\n–>–>\n\n\n *\n\n\n\n\n\n\n\n\n\n\n *\n *",SECTION_CODE_TITLE:"\n+-+-+-+ +-+-+-+-+-+-+-+  \n|T|H|E| |C|O|O|L|E|S|T|  \n+-+-+-+-+-+-+-+-+-+-+-+  \n|C|O|D|E| |I|'|V|E|      \n+-+-+-+-+ +-+-+-+-+-+-+-+\n|E|V|E|R| |W|R|I|T|T|E|N|\n+-+-+-+-+ +-+-+-+-+-+-+-+",SECTION_BASICS_TITLE:"\n+-+-+-+            \n|T|H|E|            \n+-+-+-+-+-+-+ +-+-+\n|B|A|S|I|C|S| |O|F|\n+-+-+-+-+-+-+ +-+-+\n|B|A|S|I|C|        \n+-+-+-+-+-+",SECTION_GETTING_STARTED_TITLE:"\n+-+-+-+-+-+-+-+ \n|G|E|T|T|I|N|G|\n+-+-+-+-+-+-+-+-+\n  |S|T|A|R|T|E|D|    \n  +-+-+-+-+-+-+-+",SECTION_HOW_IT_WORKS_TITLE:"\n+-+-+-+-+-+-+-+-+-+-+-+\n|T|R|A|N|S|L|A|T|I|N|G|           \n+-+-+-+-+-+-+-+-+-+-+-+\n|B|A|S|I|C|\n+-+-+-+-+-+",SECTION_OBSTACLES_TITLE:"\n+-+-+-+-+-+-+-+-+-+-+           \n|O|V|E|R|C|O|M|I|N|G|       \n+-+-+-+-+-+-+-+-+-+-+-+ \n    |O|B|S|T|A|C|L|E|S|\n    +-+-+-+-+-+-+ +-+-+",SECTION_MICROSOFT_TITLE:"\n+-+-+-+            \n|T|H|E|            \n+-+-+-+-+-+-+-+ +-+-+-+-+\n  |B|I|R|T|H| |O|F|.|.|.|\n  +-+-+-+-+-+-+-+-+-+-+-+",SECTION_MICROSOFT_TITLE_2:"\n+-+-+-+-+-+-+-+-+-+\n|M|I|C|R|O|S|O|F|T|\n+-+-+-+-+-+-+-+-+-+",SECTION_DOWNLOAD_TITLE:"\n+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n|D|O|W|N|L|O|A|D| |T|H|E| |C|O|D|E|\n+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+",PARAGRAPH_INTRO:"–>     ",DIVIDER:"\n--------------------------------------------------------------------------------------------------------",SECTION_CODE_DETAIL_END:"\n-->",SECTION_BASICS_DETAIL_RIGHT:"\nTHE   \n **   \n      \n*     \n      \n      \n*     \n      \n  *   \n      \n      \n *    \nBASICS\n** ** \n      \n  *  *\n *    \n* *  *\n    * \n      \n      \n      \n      \n      \n   *",SECTION_BASICS_LINE:"\n--------------------------------->",SECTION_GETTING_STARTED_DETAIL_LEFT_1:"\n.\n.\n.\n.\n.\n. _start\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.",SECTION_GETTING_STARTED_DETAIL_LEFT_2:"\n// x = 0   \n   *     \\ \n     *    D\n       *   \\\n     *      F\n   *         \\\n   *\n    *\n     *\n         x = 1\n   *",SECTION_HOW_IT_WORKS_DETAIL_LEFT:"\n*\n*\n *\n \n\n*\n *\n  *\n *\n*",SECTION_HOW_IT_WORKS_DETAIL_RIGHT:"\n–>\n–>\n-1\n–>\n–>\n–2\n–>\n–>\n–3\n–>\n–>\n–4>>\n\n\n   *\n",SECTION_HOW_IT_WORKS_DETAIL_LEFT_2:"\n–>\n–>\n-1\n–>\n–>\n–2\n–>\n–>\n–3\n–>\n–>\n–4>>\n\n\n   *\n",SECTION_HOW_IT_WORKS_DETAIL_RIGHT_2:"\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.",SECTION_MICROSOFT_DETAIL_LEFT:"\n(ALTAIR BASIC: =\n*\n *\n \n\n\n         *\n         MICRO-\n         SOFT   \n *  \n*",SECTION_MICROSOFT_DETAIL_RIGHT:"\n**\n *)",SECTION_MICROSOFT_LOGO:"\n                          %%%%%%%%%%%%%%%%%%%%% \n%%   %                %%%%%%%%%%%%%%%%%%%%%%%%%%\n%% %%%  %%  %%% %%%%%%%%%%%%%%###%%#+=++*##%%%%%\n   #% %%%%%%%%%%%%%%%%%%%#*=----=%%#=------*%%%%\n--  --%%% @%%%#%%%%%%%%%#-------=%%#=------*%%%%\n   ---  -- =---*=--=%%%%#-------=%%#=------*%%%%\n -    ----=--------=%%%%+-------=%%#=------*%%%%\n-- --- -  ---------=%%%%#-------=%%#=------*%%%%\n   ---=------------=%%%%#---=+**#%%%%####*+#%%%%\n%%  %%-------------+%%%%#*#%%%%%%%%%%##%%%%%%%%%\n%% %%%  %% +%%#-+#%%%%%%%%%%##**#%%*:.....:*%%%%\n   #% %%%%%%%%%%%%%%%%%%#*++++++*%%*:......+%%%%\n++ +++%%% @%%%*%%%%#%%%%#+++++++*%%*:......+%%%%\n   +++ +++ ++++++++*%%%%#+++++++*%%*:......+%%%%\n+=    +++++++++++++*%%%%*+++++++*%%*:......+%%%%\n+  +++    ++ ==+++++%%%%#+++++++*%%#-:.....+%%%%\n   =+ +++++++++++++*%%%%#+*#%%%%%%%%%%%%%%%%%%%%\n%%  %%+++++++++++++#%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%  %%% #%% #%%%+#%%%%%%%%%%%%%%%%%    %%%%%%%%%%\n   %  %%%%%%%%%%%%%%%%%%%%%                   %%\n       %% %%%%#%%%%%%%%                         ",SECTION_DOWNLOAD_DETAIL_LEFT:"\n/*\n.\n.\n.\n. \n. \n. \n.  \n|<== span\n.\n.\n.",SECTION_DOWNLOAD_DETAIL_RIGHT:"\n.dl\n*   [s-c]\n *\n   \n   *\n100%",SECTION_BASIC_TICKER:"\n_____/\\\\\\\\\\\\\\\\\\\\\\\\_______/\\\\\\\\\\_____________________________\n____/\\\\\\//////////______/\\\\\\///\\\\\\__________________________\n____/\\\\\\_______________/\\\\\\/__\\///\\\\\\_______________________\n____\\/\\\\\\____/\\\\\\\\\\\\\\__/\\\\\\______\\//\\\\\\______/\\\\\\\\\\\\\\\\\\\\\\___\n_____\\/\\\\\\___\\/////\\\\\\_\\/\\\\\\_______\\/\\\\\\_____\\///////////___\n______\\/\\\\\\_______\\/\\\\\\_\\//\\\\\\______/\\\\\\____________________\n_______\\/\\\\\\_______\\/\\\\\\__\\///\\\\\\__/\\\\\\_____________________\n________\\//\\\\\\\\\\\\\\\\\\\\\\\\/_____\\///\\\\\\\\\\/_____________________\n_________\\////////////_________\\/////_______________________",SECTION_OBSTACLES_SCENE_MOUNTAINS:"\n-------------------------------------  |@@@| -----------------------------------------------------------\n-------------------------------------  |@@@| -----------------------------------------------------------\n-------------------------------------  |     -----------------------------------------------------------\n---------------------------------------/\\---------------------------------------------------------------\n--------------------------------------/  \\--/\\----------------------------------------------------------\n-------------------------------------/    \\/  \\------------------------/\\-------------------------------\n------------------------------------/      \\   \\--/\\------------------/  \\--/\\--------------------------\n-----------------------------------/    /\\      \\/  \\----------------/    \\/  \\-------------------------\n---------------/\\-----------------/    /  \\      \\   \\--------------/      \\   \\/\\--/\\------------------\n--------------/  \\-/\\------------/         \\          \\---/\\-------/              \\/  \\-----------------\n---------- /\\/    \\  \\ ----/\\---/                      \\-/  \\-----/                    \\--/\\------------\n---------_/  \\     \\  \\---/  \\-/    /\\                  \\    \\/\\-/                /\\    \\/  \\--/\\-------\n--------/ /\\  \\     \\  \\-/    /    /  \\/\\    /\\               \\ \\                /  \\        \\/  \\------\n------ /             \\  \\    /         \\ \\/\\/  \\                          /\\         \\            \\-----\n------/          /\\   \\  \\  /                   \\                        /  \\                      \\----\n_--..---..-,--___...,-.,-___.._---_...;._..;---..-,--___...,-.,-___.._---_...;.--_...-.:-....-_..____;_-\n--------------------------------------------------------------------------------------------------------",SECTION_OBSTACLES_SCENE_CLOUDS:"\n---------------------------------------------------------------------_----------------------------------\n-----------------------------------------------------__-------------(‘ ):.------------------------------\n--------------------------------------------------.:(‘ )-----------(       )----------------------------\n---(    )------------_---------------------------(       ):.--------------------------__.. -------------\n--(`    ,  )---------(`).-------------------------(’..      )).----------------------(      ))----------\n-(  .:    .  )------(     )’.-------------------------------------------------------( (       )`.-------\n-----------------(   .:     ).-------------------------------------------------------(`..          ):.--\n--------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n                     \n                     \n                     \n                     ",SECTION_OBSTACLES_SCENE_FLAG:["\n   |@@|  \n   |@@@| \n   |     ","\n   |@@@| \n   |@@|  \n   |     ","\n   |@@@| \n   |@@@| \n   |     ","\n   |@@@| \n   |@@@| \n   |     "],SECTION_OBSTACLES_SCENE_FLAG_INSTRUCTION:["\n   |@@|  \n   |@@@| \n   |     ","\n   |@@@| \n   |@@|  \n   |     ","\n   |@@@| \n   |@@@| \n   |     ","\n   |@@@| \n   |@@@| \n   |     ","\n   |@@|  \n   |@@@| \n   |     ","\n   |@@@| \n   |@@|  \n   |     ","\n   |@@@| \n   | @@| \n   |     ","\n   | @@| \n   |A @| \n   |     ","\n   |  |  \n   |AS | \n   |     ","\n   | W | \n   |AS|  \n   |     ","\n   | W | \n   |ASD| \n   |     ","\n   | W | \n   |ASD| \n   |     ","\n   | W|  \n   | SD| \n   |     ","\n   | W | \n   |A |  \n   |     ","\n   |   | \n   |ASD| \n   |     ","\n   | W | \n   |AS | \n   |     ","\n   | W|  \n   |ASD| \n   |     ","\n   | W | \n   |ASD|  \n   |     ","\n   | W | \n   | SD| \n   |     ","\n   | W | \n   |  D| \n   |     ","\n   |  |  \n   |@ D| \n   |     ","\n   |@  | \n   |@@|  \n   |     ","\n   |@@ | \n   |@@@| \n   |     ","\n   |@@@| \n   |@@@| \n   |     "],SECTION_OBSTACLES_SCENE_BILL:["\n- O \n-/|\\\n-/ \\","\n-\\O/\n- | \n-/ \\"],SECTION_OBSTACLES_SCENE_JET:["\n+++\n(((\n ) ","\n+++\n)))\n ( "],SECTION_OBSTACLES_SCENE_BILL_PATH:[[3,18],[3,17],[2,16],[1,15],[1,14],[1,13],[2,12],[3,11],[4,10],[6,9],[7,8],[9,7],[10,7],[11,6],[13,5],[15,5],[16,6],[18,6],[20,7],[21,8],[22,9],[23,8],[25,7],[27,7],[28,8],[29,7],[30,6],[31,5],[32,4],[33,3],[34,2],[35,1]],SECTION_DOWNLOAD_FRAME:"\n+==================================================+\n|                                                  |\n|                                                  |                                                 \n|                                                  |\n|                                                  |\n|                                                  |\n|                                                  |\n|                                                  |\n|                                                  |\n|                                                  |\n|                                                  |\n|                                                  |\n|                                                  |\n|                                                  |\n|                                                  |\n|                                                  |\n|                                                  |\n|                                                  |\n+==================================================+",SECTION_DOWNLOAD_INFO_DETAIL:"\n**\n*\n\n *\n*",SECTION_DOWNLOAD_BUTTON_FRAME:"\n##########################################\n#                                        #\n#                                        #\n##########################################",SECTION_DOWNLOAD_BUTTON_FRAME_ROLLOVER:"\n##########################################\n#############                #############\n#############                #############\n##########################################"},nP={rootMargin:"0px",triggerOnce:!0},nW=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e={...nP,...e};let{rootMargin:t,triggerOnce:a,onChange:s,viewOffsetDelay:n}=e,{inViewRef:r}=e,o=(0,i.useRef)(),[l,c]=(0,i.useState)(!1),d=(0,i.useRef)(!1),m=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=new IntersectionObserver(e=>{e.forEach(e=>{if(a&&d.current)return;m.current&&clearTimeout(m.current);let t=e.isIntersecting;if(t){if(d.current=!0,e.isIntersecting){if(n){let i=e.boundingClientRect.top/window.innerHeight*n*1e3;m.current=setTimeout(()=>{c(!0)},i)}else c(!0)}}else c(t);"function"==typeof s&&s(t)})},{rootMargin:t});return e.observe(r?r.current:o.current),()=>{null==e||e.disconnect()}},[n]),(0,i.useEffect)(()=>()=>{m.current&&clearTimeout(m.current)},[]),{inViewRef:r||o,isInView:l}},nG=()=>{var e;let t=!0,a=t&&(null===(e=window.matchMedia("(pointer:fine)"))||void 0===e?void 0:e.matches);return{isUsingMouse:a}};function nU(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=()=>{t(!0),window.removeEventListener("scroll",e,!0)};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[]),e}var nV=a(8358),nY=a.n(nV);let nZ={CHAR_CYCLE:"char-cycle",CURSOR_REACTIVE_CYCLE:"cursor-reactive-cycle",CHAR_CASCADE:"char-cascade",CHAR_CYCLE_CASCADE:"char-cycle-cascade",NONE:"none"},nK={TYPE_REVEAL_LINE:"type-reveal-line",TYPE_REVEAL_ARTICLE_INFO:"type-reveal-artcile-info",TYPE_REVEAL_ARTICLE_TITLE:"type-reveal-artcile-title",TYPE_REVEAL_ARTICLE_INTRO_COPY:"type-reveal-artcile-intro-copy",TYPE_REVEAL_DETAILS:"type-reveal-details",TYPE_REVEAL:"type-reveal",TYPE_REVEAL_CONTENT:"type-reveal-content",REVEAL_HEADER:"reveal-header"},nq=["-","‐","‒","–","—","―","−"],nQ="<>";function nz(e){let{text:t,alt:a,altTag:s="p",className:r="",contentClassName:o=nY().contentArt,paragraphBreakClassName:l="",wrapMaxCols:c=null,formatParagraphs:d=!1,animation:m=null,animationSettings:u=null,maxLines:h=null,ticker:_=!1,tickerSettings:g={},effects:p=[],sprites:x=null,firstIndentPrefix:v=null,enableReactivity:C=!0,reactiveAsciiScale:b,reactiveEffect:f=nX.CURSOR_REACTIVE_CYCLE,onMouseOver:I=null,onMouseOut:S=null,onPointerDown:T=null,onPointerUp:N=null,inViewAppearRootMargin:E="0px 0px -5% 0px",keepUpdating:k=!1,links:A=null,debug:j=!1}=e;if(void 0===t)throw Error("AsciiBlock: text prop is required.",Error().stack);let y=(0,i.useRef)(),w=nU(),{isInView:L}=nW({triggerOnce:!0,rootMargin:E,viewOffsetDelay:w?.2:1,inViewRef:y}),O=(0,i.useRef)(L);(0,i.useEffect)(()=>{O.current=L,L&&R(!0)},[L]);let[B,R]=(0,i.useState)(!1),{isInView:D}=nW({triggerOnce:!1,rootMargin:"0px 0px 0px 0px",inViewRef:y}),M=(0,i.useRef)(D);(0,i.useEffect)(()=>{M.current=D,D&&ep.current!==eh.current&&(!u.renderEmptyAsSpaces||""!==eh.current)&&eg(eh.current)},[D]);let{columnScale:H}=nA(),F=(0,i.useRef)(H);(0,i.useEffect)(()=>{F.current=H},[H]);let P=(0,i.useRef)(h);(0,i.useEffect)(()=>{P.current=h},[h]);let W=(0,i.useRef)(p),G=(0,i.useRef)(p&&p.length),U=(0,i.useRef)(u),V=(0,i.useRef)(!1),Y=(0,i.useRef)(x),Z=(0,i.useRef)([]),K=(0,i.useRef)([]),q=(0,i.useRef)(null),Q=(0,i.useRef)("");(0,i.useRef)("");let z=(0,i.useRef)(null),J=(0,i.useRef)(null),X=(0,i.useRef)(0),$=(0,i.useRef)(0),ee=(0,i.useRef)(0),et=(0,i.useRef)(0),ea=(0,i.useRef)(0),es=(0,i.useRef)([]),en=(0,i.useRef)([]),ei=(0,i.useRef)([]),er=(0,i.useRef)({x:-999,y:-999}),eo=(0,i.useRef)({x:er.current.x,y:er.current.y}),el=(0,i.useRef)({x:0,y:0}),ec=(0,i.useRef)(0),ed=(0,i.useRef)(!1),em=(0,i.useRef)({x:-999,y:-999}),eu=(0,i.useRef)(-99999),eh=(0,i.useRef)(""),[e_,eg]=(0,i.useState)(""),ep=(0,i.useRef)("");(0,i.useEffect)(()=>{ep.current=e_},[e_]);let{isUsingMouse:ex}=nG(),ev="[[br]]",eC={animation:m,frameRate:24,charsPerFrame:0,renderEmptyAsSpaces:!0};switch(m){case nK.TYPE_REVEAL_LINE:eC.linesPerFrame=1,eC.animationStyle=nY().animateIn;break;case nK.TYPE_REVEAL_DETAILS:case nK.TYPE_REVEAL_ARTICLE_INFO:eC.frameRate=12,eC.charsPerFrame={from:1,to:6},eC.animationStyle=nY().animateIn;break;case nK.TYPE_REVEAL_ARTICLE_TITLE:eC.frameRate=24,eC.charsPerFrame={from:2,to:5},eC.animationStyle=nY().animateIn;break;case nK.TYPE_REVEAL_ARTICLE_INTRO_COPY:eC.frameRate=24,eC.charsPerFrame={from:3,to:8},eC.animationStyle=nY().animateIn;break;case nK.TYPE_REVEAL:eC.charsPerFrame={from:20,to:50},eC.animationStyle=nY().animateIn;break;case nK.TYPE_REVEAL_CONTENT:eC.delay=.1,eC.charsPerFrame={from:40,to:60},eC.animationStyle=nY().animateIn_content;break;case nK.REVEAL_HEADER:eC.delay=.3,eC.charsPerFrame={from:3,to:12},eC.animationStyle=nY().animateIn_content}u?m||(m=!0):u={},u={...eC,...u};let eb=(e,t,a)=>e+a*(t-e),ef=()=>{J.current&&(clearTimeout(J.current),J.current=null),z.current&&(clearInterval(z.current),z.current=null)},eI=(e,t)=>{if("object"!=typeof e)return e;{let{from:a,to:s,biasPower:n}=e,i=Math.random();return(n&&(i=Math.pow(i,n)),i*=s-a,t)?i:a+i}},eS=(e,t)=>{if("object"!=typeof e)return e;{let{from:a,to:s}=e;return t?Math.floor(Math.random()*(s-a+1)):a+Math.floor(Math.random()*(s-a+1))}},eT=(e,t)=>{if("object"!=typeof e)return e;{let{from:a,to:s}=e,n=(9301*t+49297)%233280,i=a+n/233280*(s-a),r=Math.floor(i);return r}},eN=(e,t)=>{let a=!1;return e=e.map(e=>{let s=e.split(t);return s.length>1?(s=s.map((e,a)=>(a<s.length-1&&(e+=t),e)),a=!0,s):e}),a&&(e=e.flat()),e},eE=(e,t)=>{let a=e.split(ev),s=a.map(e=>{let a=e.split("\n"),s=a.map(e=>{let a=e.split(" ");a=a.map(e=>e+" ");let s="",n="";return nq.map(e=>{a=eN(a,e)}),a.forEach(e=>{(n+e).trim().length>t&&(s+=n.trim()+"\n",n=""),n+=e}),s+=n.trim()});return s.join("\n")});return s.join(ev)},ek=e=>(A&&(e=eP(e)),e.split(ev).map((t,a)=>(0,n.jsxs)(i.Fragment,{children:[A&&A.length?t.split(nQ).map((e,t)=>{var s;return(0,n.jsx)(i.Fragment,{children:t%2==1?(0,n.jsx)("a",{className:nY().linkText,href:null===(s=A[(t-1)/2])||void 0===s?void 0:s.url,target:"_blank",rel:"noopener noreferrer","data-new-window":"true",children:e}):e},"segment-".concat(a,"-").concat(t))}):t,a<e.split("\n").length-1&&(0,n.jsx)("div",{className:"".concat(nY().paragraphBreak," ").concat(l)})]},"line-".concat(a)))),eA=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{numCols:a}=t,s=ea.current,n="",i=e.split("\n");if(i.length){let r=i[0].length;a||(a=r),i.forEach((e,t)=>{let i="";for(let o=0;o<a;o++){let l=(s+o)%r;l<e.length&&(i+=e[l])}n+=i+"\n"})}return n},ej=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:" ",s="";t=eF(t);let n=e.split("\n"),i=t.split("\n");return n.forEach((e,t)=>{let n="";for(let r=0;r<e.length;r++){let o=t<i.length&&r<i[t].length?i[t][r]:null,l=e[r];o&&o!==a?n+=o:n+=l}s+=n+"\n"}),s},ey=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=e;return Array.isArray(a)&&(a=a[t%a.length]),a||(a=""),a=eF(a)},ew=e=>{let t=Z.current[e];return t||(t={init:!1},Z.current[e]=t),t},eL=e=>{let t=K.current[e];return t||(t={init:!1},K.current[e]=t),t},eO=(e,t)=>void 0!==e?e:t,eB=(e,t,a)=>{let s=e.split("\n"),n=0,i=0;t.forEach((e,t)=>{let{text:s,visible:r=!0,interval:o,position:l,frame:c,path:d,pathSettings:m={}}=e;if(r){let u=ew(t);if(u.inited||(u.inited=!0,u.position={x:0,y:0},u.currentFrame=0,u.pathFrame=0),l&&(u.position={...l}),void 0===c||o||(u.currentFrame=c),d){u.pathFrame<d.length&&a>m.delay&&eO(m.playing,!0)&&m.interval&&et.current%m.interval==0&&(u.pathFrame=u.pathFrame+1),u.pathFrame>=d.length&&(eO(m.loop,!0)?u.pathFrame=0:!u.completed&&(u.completed=!0,m.onComplete&&m.onComplete()));let h=d[u.pathFrame];h&&(u.position={x:h[0],y:h[1]})}let _=ey(s,u.currentFrame),g=_.split("\n");0===t?(n=u.position.y,i=u.position.y+g.length):(n=Math.min(n,u.position.y),i=Math.max(i,u.position.y+g.length))}});let r="";return s.forEach((e,a)=>{if(a>=n&&a<i){let s=e.split("");t.forEach((e,t)=>{let{text:n,visible:i=!0,maskCharacter:r=null}=e;if(i){let o=ew(t),l=ey(n,o.currentFrame),c=l.split("\n"),d=a-o.position.y;if(d>=0&&d<c.length){let m=c[d];m.split("").forEach((e,t)=>{if(!r||e!==r){let a=o.position.x+t;a<s.length&&(s[a]=e)}})}}}),r+=s.join("")+"\n"}else r+=e+"\n"}),t.forEach((e,t)=>{let{text:a,interval:s,visible:n=!0,resetFrameCountOnLoop:i}=e;if(n){let r=ew(t);if(s&&et.current%s==0&&(r.currentFrame=r.currentFrame+1,Array.isArray(a))){let o=a;r.currentFrame=r.currentFrame%o.length,i&&r.currentFrame>=o.length&&(r.currentFrame=0)}}}),r},eR=(e,t,a)=>{let s=F.current,n=.09/s,i=.045/s;a&&(a.x&&(n*=a.x),a.y&&(i*=a.y));let r=Math.round(e.x*n),o=Math.round(e.y*i),l=t.split("\n"),c=-1,m=0,u=0,h=0;for(let _=0;_<l.length;_++){let g=l[_]+"\n";for(let p=0;p<g.length;p++){if(d&&g[p]===ev[0]){let x=g.slice(p,p+ev.length);x===ev&&(p+=ev.length,m+=ev.length)}if(u===o&&h===r){c=m;break}h++,m++}if(-1!==c)break;u++,h=0}return c};(0,i.useEffect)(()=>{U.current=u},[u]),(0,i.useEffect)(()=>{Y.current=x&&x.length?x.map(e=>({...e})):x},[x]);let eD=e=>{if(!q.current||!O.current)return{x:-999,y:-999};{let t=q.current.getBoundingClientRect(),a=e.clientX-t.left,s=e.clientY-t.top;return{x:a,y:s}}},eM=e=>{er.current=eD(e)},eH=e=>{if(C){ed.current=!0,em.current=eD(e);let t=new Date().getTime()/1e3;eu.current=t}T&&T()};(0,i.useEffect)(()=>{W.current=p.map(e=>({...e}));let e=null;if(C){let t=f.map(e=>({...e}));W.current=W.current.concat(t)}return G.current=W.current&&W.current.length,()=>{e&&e()}},[p,C,f,ex]);let eF=e=>(e.length&&"\n"===e[0]&&(e=e.slice(1)),e),eP=e=>{let t=0;return A.forEach(a=>{let s=e.slice(0,a.startIndex+t)+nQ+e.slice(a.startIndex,a.endIndex)+nQ+e.slice(a.endIndex+t);e=s,t+=2*nQ.length}),e},eW=(e,t,a,s,n,i,r,o,l,c)=>{let{numChars:d,rippleDistMin:m,rippleDist:u,rippleDistPower:h,mobileDuration:_,mobileRippleDistStart:g,mobileRippleDistEnd:p,mobileRippleDistPower:x,mobileRippleDistNumCharsPower:v,minCursorSpeed:C,maxCursorSpeed:f,filterChars:I,outputChars:S,interval:T,duration:N,delay:E,origCharRatio:k}=r;for(let A=0;A<n;A++){let j=Math.random();j=e?Math.pow(j,x):Math.pow(j,h),j*=i;let y=Math.random()*Math.PI*2,w={};w.x=t.current.x+Math.cos(y)*j,w.y=t.current.y+Math.sin(y)*j;let L=eR(w,a,b);if(-1!==L){let O=s[L];if(O&&" "!==O&&(!I||I.includes(O))&&!" \n".includes(O)){let B=en.current.find(e=>e.index===L);if(!B){let R={effect:o,effectIndex:l,outputChars:S,index:L,interval:eI(T),duration:eI(N),delay:eI(E),origCharRatio:k,curChar:null,startTime:c};en.current.push(R)}}}}},eG=(e,t,a,s,n)=>{e.current.length&&(e.current.forEach(e=>{let{effect:i,index:r,duration:o,interval:l,delay:c,outputChars:d,origCharRatio:m,startTime:u,lastIntervalTime:h}=e;if(!n||i.type===n){let _=s-u,g=s-(h||u);if(!c||_>=c){if(!l||g>=(h?l:c)){if(Math.random()<m)e.curChar=t[r];else if(d){let p=Math.floor(Math.random()*d.length);e.curChar=d[p]}else e.curChar=null;e.lastIntervalTime=s}!e.expired&&o&&_>=c+o&&(e.expired=!0),e.curChar&&!e.expired&&r<a.length&&(a[r]=e.curChar)}}}),e.current=e.current.filter(e=>n&&e.effect.type!==n||!e.expired))},eU=(e,t)=>{let a=t.slice(e.length),s=a.split(ev);s.forEach((e,t)=>{s[t]=e.replace(/[^\n]/g," ")});let n=s.join(ev);return e+n};return(0,i.useEffect)(()=>{let e=eF(t);if(d&&(e=e.replace(/\n\n/g,ev)),v&&(e=v+e),c&&(e=eE(e,c)),Q.current=e,m){if(!V.current&&u.renderEmptyAsSpaces){let a=eU("",e);eg(a)}}else eh.current=e,eg(e)},[t,d,v,c]),(0,i.useEffect)(()=>{if(B){let{frameRate:e,renderEmptyAsSpaces:t}=U.current;return z.current=setInterval(()=>{V.current=!0;let e=new Date().getTime()/1e3;O.current&&!X.current&&(X.current=e);let a=e-X.current,s=Q.current;if(P.current){let n=s.split("\n");s=n.slice(0,P.current).join("\n")}if((_||x)&&(et.current=et.current+1),_){let{interval:i,staticForegroundText:r,staticMaskCharacter:o}=g;i&&et.current%i!=0||(ea.current=ea.current+1),s=eA(s,g),r&&(s=ej(s,r,o))}Y.current&&(s=eB(s,Y.current,a));let l="";if(m){if(O.current){let{charsPerFrame:c,linesPerFrame:u,delayOffset:h}=U.current,{delay:p}=U.current;if(h&&(p+=h),$.current>=s.length)l=s;else if(!p||a>p){let v=s.split("\n");if(u)ee.current=ee.current+u,l=v.slice(0,ee.current).join("\n");else if(c){let C=eS(c);if(d){let b=s.slice($.current,$.current+C+ev.length+1);for(let f=0;f<b.length;f++)if(b[f]===ev[0]){let I=b.slice(f,f+ev.length);I===ev&&(C=Math.max(C,f+ev.length))}}let S=$.current+C;S=Math.min(S,s.length),$.current=S,l=s.slice(0,$.current)}else l=s}}}else l=s;O.current&&W.current.length&&W.current.forEach((t,a)=>{switch(t.type){case nZ.CHAR_CYCLE:if(O.current){let{charInterval:n=1,filterChars:i,outputChars:r=" ",interval:o=0,duration:c=0,delay:m=0,origCharRatio:u=.5}=t.settings||{},h=eL(a);h.inited||(h.inited=!0,h.currentCycleCharIndex=0);let _=s.split(""),g=l.split("");for(;h.currentCycleCharIndex<l.length;){let p=0===h.currentCycleCharIndex&&"object"==typeof n;if(p&&(h.currentCycleCharIndex+=eS(n,!0)),d){let x=Math.max(h.currentCycleCharIndex-ev.length,0);for(let v=x;v<x+2*ev.length+1;v++)if(s[v]===ev[0]){let C=s.slice(v,v+ev.length);C===ev&&(h.currentCycleCharIndex=Math.max(h.currentCycleCharIndex,v+ev.length))}}let b=_[h.currentCycleCharIndex];if((!i||i.includes(b))&&!" \n".includes(b)){let f=es.current.find(e=>e.index===h.currentCycleCharIndex),I=!1;if(f){let S=f.effectIndex<a;S?es.current=es.current.filter(e=>e.index!==h.currentCycleCharIndex):I=!0}if(!I){let T={effect:t,effectIndex:a,outputChars:r,index:h.currentCycleCharIndex,interval:eI(o),duration:eI(c),delay:eI(m),origCharRatio:eI(u),curChar:null,startTime:e};es.current.push(T)}}if(!p){let N=eS(n);h.currentCycleCharIndex+=N}}eG(es,_,g,e,t.type),(l=g.join("")).length!==s.length||es.current.length||ei.current.length||(t.complete=!0)}break;case nZ.CURSOR_REACTIVE_CYCLE:if(O.current){el.current={x:er.current.x-eo.current.x,y:er.current.y-eo.current.y},ec.current=Math.sqrt(el.current.x*el.current.x+el.current.y*el.current.y),eo.current={x:er.current.x,y:er.current.y};let E={numChars:{from:15,to:30},rippleDistMin:50,rippleDist:150,rippleDistPower:3,mobileDuration:.75,mobileRippleDistStart:50,mobileRippleDistEnd:400,mobileRippleDistPower:.2,mobileRippleDistNumCharsPower:.2,minCursorSpeed:2,maxCursorSpeed:40,outputChars:" ",interval:0,duration:0,delay:0,origCharRatio:.5},k={...E,...t.settings},{numChars:A,rippleDistMin:j,rippleDist:y,rippleDistPower:w,mobileDuration:L,mobileRippleDistStart:B,mobileRippleDistEnd:R,mobileRippleDistPower:D,mobileRippleDistNumCharsPower:M,minCursorSpeed:H,maxCursorSpeed:F,filterChars:P,outputChars:W,interval:G,duration:U,delay:V,origCharRatio:Y}=k;t.inited||(t.inited=!0);let Z=s.split(""),K=l.split("");if(ex){let q=eS(A),Q=0,z=Math.min(1,Math.max(0,ec.current-H)/F);eW(!1,er,l,K,q*=z,Q=eb(j,y,z),k,t,a,e)}if(ed.current){let J=eS(A),X=0,$=e-eu.current,ee=Math.min(1,$/L);J*=Math.pow(1-ee,M),ee>=1&&(ed.current=!1),eW(!0,em,l,K,J,X=eb(B,R,ee),k,t,a,e)}eG(en,Z,K,e,t.type),l=K.join("")}break;case nZ.CHAR_CASCADE:if(O.current){let{filterChars:et,outputChars:ea=" ",speed:eh=10,verticalCharDiagonalOffset:e_=1,charOffset:eg=0,inInitialState:ep=!1,firstIsInitialState:eC=!1,interval:ef=0,delay:eN=0}=t.settings||{},eE=eL(a);if(!eE.inited&&(eE.inited=!0,eE.curOutputChars=ea,eE.cascadeLastIntervalTime=0,eE.curOutputCharSetIndex=0,ef)){let ek=eI(eN);eE.changeTime=e+ek}let eA=l.split("\n"),ej=s.split("\n"),ey=ep;Array.isArray(ea)&&eC&&(ey=0===eE.curOutputCharSetIndex);let ew=!1;if(eE.curOutputChars!==ea)ew=!0;else if(ef&&e>=eE.changeTime){ew=!0;let eO=eI(ef);eE.changeTime=e+eO}if(ew){eE.curOutputChars=ea;let eB=eg.to?eg.to:eg,eR=eI(eh),eD=eI(e_),eM=eA.length,eH=eA.length?eA[0].length:0,eF=(eH+eM*eD+eB)/eR,eP=e+eF,eU=ea,eV=null;if(ea){Array.isArray(ea)&&(eE.curOutputCharSetIndex++,eE.curOutputCharSetIndex>=ea.length&&(eE.curOutputCharSetIndex=0),eU=ea[eE.curOutputCharSetIndex]);let eY=Math.floor(Math.random()*eU.length);eV=eU[eY]}let eZ={outputChar:eV,startTime:e,endTime:eP,curCascadeSpeed:eR,curVerticalCharDiagonalOffset:eD};ei.current.push(eZ)}ei.current.forEach(t=>{let{outputChar:a,startTime:s,endTime:n,curCascadeSpeed:i,curVerticalCharDiagonalOffset:r}=t,o=e-s,l=0;eA.forEach((e,t)=>{let s=e.split(""),n=ej[t].split("");s.forEach((e,c)=>{let d=n[c];if((!et||et.includes(d))&&!" \n".includes(d)){let m=i*o,u=eT(eg,l-100*o);c+t*r+u<m&&(a?s[c]=a:s[c]=d),l++}}),eA[t]=s.join("")}),!t.expired&&e>n&&(t.expired=!0)}),l=eA.join("\n");let eK=ei.current.every(e=>e.expired);ei.current.length&&eK&&ey&&(ei.current=[])}break;case nZ.CHAR_CYCLE_CASCADE:if(O.current){let{filterChars:eq,outputChars:eQ=" ",speed:ez=10,verticalCharDiagonalOffset:eJ=1,interval:eX=0,delay:e$=0,charCycleProbability:e0=.25,charCycleInterval:e1={from:.08,to:.2},charCycleDuration:e2={from:.1,to:.8,biasPower:6},charCycleDelay:e4={from:0,to:.3},origCharRatio:e3={from:.2,to:.7}}=t.settings||{},e5=eL(a);if(!e5.inited&&(e5.inited=!0,e5.curOutputChars=eQ,e5.cascadeLastIntervalTime=0,e5.curOutputCharSetIndex=0,eX)){let e8=eI(e$);e5.changeTime=e+e8}let e6=!1;if(e5.curOutputChars!==eQ)eQ&&(e6=!0);else if(eX&&e>=e5.changeTime){e6=!0;let e7=eI(eX);e5.changeTime=e+e7}if(e6){let e9=eI(ez),te=eI(eJ),tt=eQ;Array.isArray(eQ)&&(e5.curOutputCharSetIndex++,e5.curOutputCharSetIndex>=eQ.length&&(e5.curOutputCharSetIndex=0),tt=eQ[e5.curOutputCharSetIndex]);let ta=s.split("\n"),ts=0;ta.forEach((s,n)=>{let i=ta[n].split("");i.forEach((s,r)=>{let o=i[r];if((!eq||eq.includes(o))&&!" \n".includes(o)&&Math.random()<e0){let l=es.current.find(e=>e.index===ts);if(l){let c=l.effectIndex<a;c&&(es.current=es.current.filter(e=>e.index!==ts))}let d=r/e9+n/e9*te,m={effect:t,effectIndex:a,outputChars:tt,index:ts,interval:eI(e1),duration:eI(e2),delay:d+eI(e4),origCharRatio:eI(e3),curChar:null,startTime:e};es.current.push(m)}ts++}),ts++})}e5.curOutputChars=eQ;let tn=s.split(""),ti=l.split("");eG(es,tn,ti,e,t.type),l=ti.join("")}}});let T=l.length;t&&(l=eU(l,s)),T===s.length&&!k&&!_&&(!G.current||W.current.every(e=>e.complete))&&ef(),eh.current!=l&&(eh.current=l,M.current&&eg(l))},1e3/e),()=>ef()}},[B]),(0,n.jsxs)("div",{ref:q,className:"".concat(nY().AsciiBlock," ").concat(r),onMouseOver:I||null,onMouseOut:S||null,onMouseMove:C&&ex?eM:null,onPointerDown:eH,onPointerUp:N||null,children:[void 0!==a&&(0,n.jsx)(s,{className:nY().altText,"aria-hidden":"false",children:a}),(0,n.jsx)("div",{className:"".concat(m&&u.animationStyle?u.animationStyle:""),"data-inview":L?"true":"false",ref:y,"aria-hidden":"true",children:(0,n.jsx)("div",{className:"".concat(nY().contentBase,"  ").concat(o),children:d?ek(e_):e_})})]})}nz.EFFECT_TYPES=nZ,nz.REVEAL_ANIMS=nK;var nJ=nz;let nX={ASCII_DETAIL_ASTERISKS:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.85,filterChars:"*",outputChars:" ",interval:{from:.2,to:.5}}}],BASIC_DETAIL:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}}],HEADER:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:5,to:10},interval:{from:.05,to:.1},duration:{from:.1,to:.5,biasPower:6},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:1,to:5},filterChars:"#",outputChars:" #:%",interval:{from:.05,to:.1},duration:{from:.1,to:.9,biasPower:6},delay:{from:.05,to:.1}}}],HEADER_INFO:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:5,to:10},interval:{from:.05,to:.1},duration:{from:.1,to:.5,biasPower:6},delay:{from:.05,to:.1}}}],HEADER_DETAILS:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:1,to:5},filterChars:"–>",outputChars:" ->*",interval:{from:.1,to:.2},duration:{from:.1,to:1.1,biasPower:8},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:1,to:3},filterChars:"–>*",outputChars:" ",origCharRatio:.95,interval:{from:.3,to:.6},delay:{from:1,to:2}}}],SECTION_HEADER:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:1,to:3},outputChars:" +=-*",interval:{from:.05,to:.1},duration:{from:.1,to:.5,biasPower:6},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{filterChars:"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.",outputChars:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",interval:.05,duration:{from:.1,to:.5,biasPower:4},delay:{from:.1,to:.2}}}],IMAGE_NUMBER:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,filterChars:"0123456789",outputChars:" 0123456789",origCharRatio:0,interval:{from:.02,to:.04},duration:{from:.1,to:.4,biasPower:1.6},delay:0}}],BASIC_LINE:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:2,to:6},outputChars:" ",interval:{from:.2,to:.4},duration:{from:.1,to:1,biasPower:2},delay:{from:.02,to:.05}}}],SECTION_BASICS_TICKER:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:5,to:20},interval:{from:.05,to:.1},duration:{from:.1,to:.5,biasPower:6},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:2,to:10},outputChars:" ",interval:{from:.05,to:.1},duration:{from:.1,to:.8,biasPower:8},delay:{from:.05,to:.1}}}],DIVIDER:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:3,to:14},outputChars:" ",interval:{from:.2,to:.5},duration:{from:.1,to:.8,biasPower:3},delay:0}}],SECTION_BASICS_DETAIL:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.85,filterChars:"*",outputChars:" ",interval:{from:.2,to:.5}}}],TEXT_BLOCK:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:1,to:3},filterChars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",outputChars:"    abcdefghijklmnopqrstuvwxyz",origCharRatio:.8,interval:{from:.05,to:.2},duration:{from:.1,to:.4,biasPower:8},delay:{from:0,to:.1}}}],SECTION_GETTING_STARTED_DETAIL_LEFT:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.85,filterChars:"*",outputChars:" ",interval:{from:.2,to:.5}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.9,filterChars:".",outputChars:" ",interval:{from:.4,to:1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.8,filterChars:"0DFx1",outputChars:" y1DFX137",interval:{from:.4,to:1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.5,filterChars:"^",outputChars:".",interval:{from:.2,to:1}}}],SECTION_GETTING_STARTED_DETAIL_END:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:1,to:3},filterChars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",outputChars:"    abcdefghijklmnopqrstuvwxyz",origCharRatio:.8,interval:{from:.05,to:.2},duration:{from:.1,to:.4,biasPower:8},delay:{from:0,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.85,filterChars:"<=",outputChars:" <>=",duration:{from:.5,to:1.5,biasPower:2},interval:{from:.2,to:.5}}}],SECTION_HOW_IT_WORKS_DETAIL_LEFT:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.85,filterChars:"*",outputChars:" ",interval:{from:.2,to:.5}}}],SECTION_HOW_IT_WORKS_DETAIL_RIGHT:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.85,filterChars:"*",outputChars:" ",interval:{from:.2,to:.5}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.9,filterChars:"->",outputChars:" -",interval:{from:.4,to:1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.9,filterChars:"1234",outputChars:" ",interval:{from:.4,to:1.2}}}],SECTION_MICROSOFT_DETAIL_LEFT:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.85,filterChars:"*",outputChars:" ",interval:{from:.2,to:.5}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.5,filterChars:"^",outputChars:".",interval:{from:.2,to:1}}}],SECTION_DOWNLOAD_DETAIL_LEFT:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.85,filterChars:"*",outputChars:" ",interval:{from:.2,to:.5}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.8,filterChars:"<=",outputChars:" =<",interval:{from:.4,to:1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.9,filterChars:".",outputChars:" ",interval:{from:.4,to:1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.5,filterChars:"|",outputChars:".",interval:{from:.2,to:1}}}],SECTION_DOWNLOAD_DETAIL_RIGHT:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.85,filterChars:"*",outputChars:" ",interval:{from:.2,to:.5}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.8,filterChars:".",outputChars:" ",interval:{from:.4,to:1}}}],SECTION_DOWNLOAD_BUTTON:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.7,filterChars:"#",outputChars:"@# ",interval:{from:.2,to:.5},duration:{from:.1,to:1,biasPower:4}}}],SECTION_MICROSOFT_LOGO:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:"   *#--+=..",interval:{from:.05,to:.2},duration:{from:.1,to:.8,biasPower:6},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:1,to:3},origCharRatio:.75,filterChars:"*#+=",outputChars:"   *#--+=..",interval:{from:.2,to:.5}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:1,to:3},origCharRatio:.88,filterChars:"#%-",outputChars:" ##%%",interval:{from:.5,to:2}}}],ASTERISK_FLICKER:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,origCharRatio:.85,filterChars:"*",outputChars:" ",interval:{from:.2,to:.5}}}],DOWNLOAD_FRAME:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,outputChars:" ",interval:{from:.1,to:.2},duration:{from:.1,to:1,biasPower:4},delay:{from:.05,to:.1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:2,to:8},origCharRatio:.95,filterChars:"|",outputChars:"+",interval:{from:.2,to:1}}},{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:{from:2,to:8},origCharRatio:.95,filterChars:"=",outputChars:"+",interval:{from:.2,to:1}}}],CURSOR_REACTIVE_CYCLE:[{type:nJ.EFFECT_TYPES.CURSOR_REACTIVE_CYCLE,settings:{origCharRatio:.1,outputChars:"      ******@#$%&*\\/<>",interval:{from:.2,to:.4},duration:{from:.2,to:.8,biasPower:4}}}],SECTION_MICROSOFT_DATE:[{type:nJ.EFFECT_TYPES.CHAR_CYCLE,settings:{charInterval:1,filterChars:"0123456789",outputChars:" 123456789",origCharRatio:0,interval:{from:.02,to:.04},duration:{from:.1,to:.4,biasPower:1.6},delay:0}}]},n$={ASCII_DETAIL:{delay:.7,charsPerFrame:{from:1,to:5}},ASCII_DETAIL_ASTERISKS:{delay:.7,charsPerFrame:{from:1,to:2}},IMAGE_NUMBER:{delay:.2,charsPerFrame:1},DIVIDER_DESKTOP:{delay:0,charsPerFrame:{from:3,to:12}},DIVIDER_TABLET:{delay:0,charsPerFrame:{from:2,to:5}},DIVIDER_MOBILE:{delay:0,charsPerFrame:{from:2,to:5}},CAPTION:{delay:0,charsPerFrame:{from:3,to:17}},SECTION_HEADER_DETAIL_LEFT:{delay:.4},SECTION_HEADER_DETAIL_RIGHT:{delay:.5},SECTION_HEADER_IMAGE:{delay:.35,startHidden:!0},SECTION_HEADER_AUTHOR_BY:{delay:.1},SECTION_HEADER_AUTHOR:{delay:.3},SECTION_HEADER_PUBLISHED:{delay:.5},SECTION_HEADER_EYEBROW:{delay:.7},SECTION_BASICS_DETAIL_RIGHT:{delay:.5,charsPerFrame:{from:2,to:14}},SECTION_BASICS_LINE:{delay:.3,charsPerFrame:{from:2,to:3}},SECTION_BASICS_TICKER:{delay:.3,charsPerFrame:{from:10,to:60}},SECTION_GETTING_STARTED_DETAIL_LEFT:{delay:.7,charsPerFrame:{from:2,to:14}},SECTION_GETTING_STARTED_DETAIL_END:{delay:.5,charsPerFrame:{from:1,to:2}},SECTION_HOW_IT_WORKS_DETAIL:{delay:.7,charsPerFrame:{from:1,to:5}},OBSTACLES_SCENE:{delay:.3,charsPerFrame:{from:10,to:60}},SECTION_HEADER_TITLE:{delay:.1},SECTION_HEADER_INTRO_COPY:{delay:.2},SECTION_MICROSOFT_TITLE:{delay:.5},SECTION_MICROSOFT_DETAIL:{delay:.7,charsPerFrame:{from:1,to:8}},SECTION_MICROSOFT_DATE:{delay:1,charsPerFrame:1},SECTION_MICROSOFT_DETAIL_END:{delay:.1},SECTION_MICROSOFT_LOGO:{delay:.3,charsPerFrame:{from:25,to:75}},DOWNLOAD_FRAME:{delay:0,charsPerFrame:{from:30,to:80}},DOWNLOAD_INFO:{delay:.3,charsPerFrame:{from:3,to:17}},DOWNLOAD_BUTTON:{delay:.6,charsPerFrame:{from:10,to:60}},DOWNLOAD_BUTTON_LABEL:{delay:.8,charsPerFrame:{from:2,to:4}}};var n0=a(3551),n1=a.n(n0),n2=function(e){let{className:t}=e;return(0,n.jsx)("div",{className:"".concat(n1().Divider," ").concat(t),children:(0,n.jsx)("div",{className:n1().dividerContainer,children:(0,n.jsx)(nJ,{className:n1().dividerBlock,text:nF.DIVIDER,animation:!0,animationSettings:{...n$.DIVIDER_DESKTOP},effects:[...nX.DIVIDER],inViewAppearRootMargin:"0px 0px -10% 0px"})})})},n4=a(9554),n3=a.n(n4),n5=function(e){let{text:t,className:a="",paragraphIndent:s=!0,asciiSettings:r={},animationSettings:o=null,links:l=null,debug:c=!1}=e,d=(0,i.useRef)(null),{breakpointName:m}=nA(),u={text:t,alt:t,className:"".concat(n3().text," ").concat(a),contentClassName:nY().contentBody,paragraphBreakClassName:n3().paragraphBreak,formatParagraphs:!0,wrapMaxCols:50,firstIndentPrefix:s?nF.PARAGRAPH_INTRO:"",animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_CONTENT,effects:[...nX.TEXT_BLOCK],inViewAppearRootMargin:"0px 0px -5% 0px",reactiveAsciiScale:{x:1.2,y:"mobile"===m?.85:.75},debug:c};return o&&o.effects&&"hi"===o.effects.length&&console.log("text",t,"asciiSettings",r),r={...u,...r},(0,n.jsx)("div",{ref:d,className:"".concat(n3().TextBlock),children:(0,n.jsx)(nJ,{...r,links:l})})},n8=a(3863),n6=a.n(n8),n7=function(e){let{image:t,className:a,alt:s=null,showReveal:r=!0}=e,[o,l]=(0,i.useState)(!1),{inViewRef:c,isInView:d}=nW({triggerOnce:!0,rootMargin:"0px 0px -20% 0px"});return(0,i.useEffect)(()=>{d&&l(!0)},[d]),(0,n.jsx)("img",{ref:c,src:t,alt:s,"data-inview":o,className:"".concat(n6().image," ").concat(a," ").concat(r&&n6().animateIn)})},n9=a(2655),ie=a.n(n9),it=function(e){let{id:t,index:a,image:s,className:r,alt:o="",animationSettings:l={},useAlpha:c=!1}=e,d=(0,i.useRef)(null),[m,u]=(0,i.useState)(!1),[h,_]=(0,i.useState)(!l.startHidden),g=nU(),p=(0,i.useRef)(null),x={delay:0,startHidden:!1};l={...x,...l};let{isInView:v}=nW({triggerOnce:!0,inViewRef:d,rootMargin:"0px 0px 0px 0px",viewOffsetDelay:g?.2:1}),C=()=>{p.current&&clearTimeout(p.current)};return(0,i.useEffect)(()=>(v&&(l.delay?(C(),p.current=setTimeout(()=>{_(!0),u(!0)},1e3*l.delay)):(_(!0),u(!0))),()=>{C()}),[v]),(0,n.jsx)("div",{className:"".concat(ie().DitherImageBlock," ").concat(r," ditherImageRect"),ref:d,"data-src":s,"data-id":t,"data-index":a,"data-reveal":m,"data-visible":h,"data-use-alpha":c,role:"image","aria-label":o})},ia=a(6433),is=a.n(ia),ii=function(e){let{image:t,className:a="",alt:s="",id:i="",index:r=0,staticImage:o=!1,animationSettings:l,useAlpha:c=!0}=e;if(void 0===t)throw Error("image is not defined for ImageBlock at id: ".concat(i));return(0,n.jsxs)("div",{className:"".concat(is().ImageBlock),children:[o&&(0,n.jsx)(n7,{image:t,alt:s,className:"".concat(a),showReveal:!0}),!o&&(0,n.jsx)(it,{id:i,index:r,useAlpha:c,image:t,alt:s,className:"".concat(a),animationSettings:l})]})};let ir=e=>{let{shineFirstDelay:t=2.5,shineIntervalDuration:a={from:2,to:4},shineTriggerDebounceDuration:s=.6,shineSpeed:n=140,shineCharDiagonalOffset:r=2,shineFilterChars:o="#",shineChars:l="@",shinePasses:c=[{delay:0,duration:.05},{delay:.15,duration:.15},{delay:.15,duration:.075}],charCycleProbability:d=.25,charCycleInterval:m={from:.08,to:.2},charCycleDuration:u={from:.1,to:.8,biasPower:6},charCycleDelay:h={from:0,to:.3},origCharRatio:_={from:.2,to:.7}}=e,[g,p]=(0,i.useState)(!1),x=(0,i.useRef)(!1),v=(0,i.useRef)([]),C=(0,i.useRef)(null),b=(0,i.useRef)(null),f={type:nJ.EFFECT_TYPES.CHAR_CYCLE_CASCADE,settings:{filterChars:o,outputChars:g?l:null,inInitialState:!g,speed:n,verticalCharDiagonalOffset:r,charCycleProbability:d,charCycleInterval:m,charCycleDuration:u,charCycleDelay:h,origCharRatio:_}},I=()=>{for(x.current=!1;v.current.length>0;){let e=v.current.pop();e&&clearTimeout(e)}C.current&&(clearTimeout(C.current),C.current=null),b.current&&(clearTimeout(b.current),b.current=null)},S=(e,t)=>{if("object"!=typeof e)return e;{let{from:a,to:s,biasPower:n}=e,i=Math.random();return(n&&(i=Math.pow(i,n)),i*=s-a,t)?i:a+i}},T=()=>{if(!x.current){I(),x.current=!0,C.current=setTimeout(()=>{x.current=!1},1e3*s);let e=0;c.forEach(t=>{let{delay:a,duration:s}=t;e+=a,v.current.push(setTimeout(()=>{p(!0)},1e3*e)),e+=s,v.current.push(setTimeout(()=>{p(!1)},1e3*e))}),b.current=setTimeout(()=>{T()},1e3*S(a))}};return(0,i.useEffect)(()=>(I(),b.current=setTimeout(()=>{T()},1e3*t),()=>I()),[]),{shineEffect:f,triggerShine:T}},io={SECTION_CODE_TITLE:"\n+-+-+-+ +-+-+-+-+-+-+-+  \n|T|H|E| |C|O|O|L|E|S|T|  \n+-+-+-+-+-+-+-+-+-+-+-+  \n|C|O|D|E| |I|'|V|E|      \n+-+-+-+-+ +-+-+-+-+-+-+-+\n|E|V|E|R| |W|R|I|T|T|E|N|\n+-+-+-+-+ +-+-+-+-+-+-+-+",SECTION_BASICS_TITLE:"\n+-+-+-+            \n|T|H|E|            \n+-+-+-+-+-+-+ +-+-+\n|B|A|S|I|C|S| |O|F|\n+-+-+-+-+-+-+ +-+-+\n|B|A|S|I|C|        \n+-+-+-+-+-+",SECTION_GETTING_STARTED_TITLE:"\n+-+-+-+-+-+-+-+ \n|G|E|T|T|I|N|G|\n+-+-+-+-+-+-+-+-+\n  |S|T|A|R|T|E|D|    \n  +-+-+-+-+-+-+-+\n",SECTION_HOW_IT_WORKS_TITLE:"\n+-+-+-+-+-+-+-+-+-+-+-+\n|T|R|A|N|S|L|A|T|I|N|G|\n+-+-+-+-+-+-+-+-+-+-+-+\n|B|A|S|I|C|\n+-+-+-+-+-+",SECTION_OBSTACLES_TITLE:"\n+-+-+-+-+-+-+-+-+-+-+\n|O|V|E|R|C|O|M|I|N|G| \n+-+-+-+-+-+-+-+-+-+-+-+-+\n      |O|B|S|T|A|C|L|E|S|\n      +-+-+-+-+-+-+ +-+-+",SECTION_MICROSOFT_TITLE:"\n+-+-+-+            \n|T|H|E|            \n+-+-+-+-+-+-+-+ +-+-+-+-+\n  |B|I|R|T|H| |O|F|.|.|.|\n  +-+-+-+-+-+-+-+-+-+-+-+",SECTION_MICROSOFT_TITLE_2:"\n+-+-+-+-+-+-+-+-+-+\n|M|I|C|R|O|S|O|F|T|\n+-+-+-+-+-+-+-+-+-+",SECTION_DOWNLOAD_TITLE:"\n+-+-+-+-+-+-+-+-+-+-+-+-+\n|D|O|W|N|L|O|A|D| |T|H|E|\n+-+-+-+-+-+-+-+-+-+-+-+-+\n|C|O|D|E|\n+-+-+-+-+",HEADER_CONTENT:"\n                                                                                                                               \n\n:':::'######:::'#######::'##:::'##:'########::'#####::'#######:’ :'######:::'#######:: ########::'########.: ::::::'##:..::::::\n: :‘ ##... ##:'##.... ##: ##::: ##: ##... ##:'##.. ##: ##.....:  '##... ##:'##.... ##: ##.... ##: ##.....:: :.:::: ## :::..::::\n: ::.##:::..:: ##:::: ##: ##::: ##: ##::: ##: ##:::.:  ##:::::   .##:::..:: ##:::: ##: ##:::: ##: ##::::::: ::::: ## :'##::::::\n:::.   ######::##:::: ##: ##::: ##: ########: ##:::::: ######::  ;##::::::: ##:::: ##: ##:::: ##: ######:::..::: ## ::: ##:::::\n: ::...... ##: ##:::: ##: ##::: ##: ##.. ##:: ##:::::: ##...:::  .##::::::: ##:::: ##: ##:::: ##: ##...::::..:: ## :::::. ##:::\n: :'.##::: ##: ##:::: ##: ##::: ##: ##:: ##:: ##:: ##: ##::::::  .##::: ##: ##:::: ##: ##:::: ##: ##:::::::..: ##  :::.: ##::::\n:.:.  ######::. #######::. ######:: ##::. ##:. #####:: ########  .:######::. #######:: ########:: ########:.. ##:::::: :## ..::\n:.::......::::.......::::......:::..:::::..:::......:::.....::   :......::::.......:::........:::........::.........::..::....:\n\n                                                                                                                               ",HEADER_FRAME:"\n+========================================+\n\n\n\n\n\n\n\n\n\n\n+========================================+",HEADER_DETAIL_LEFT:"\n–>\n–>\n–>–>\n\n\n*\n\n\n\n\n\n\n\n\n\n\n\n*\n*\n*",HEADER_DETAIL_RIGHT:"\n–>\n–>\n–>\n–>\n–>–>\n\n\n   *\n\n\n\n\n\n\n\n   *\n   *",DIVIDER:"\n---------------------------------------------",SECTION_CODE_DETAIL_END:"\n-->",SECTION_BASICS_LINE:"\n----------------------------->",SECTION_BASICS_DETAIL_LEFT:"\n*       Altair 8800\n*",SECTION_BASICS_DETAIL_RIGHT:"\n THE \n * \n  * \n * \n   \nBASICS\n      \n   *\n    *\n  *",SECTION_BASIC_TICKER:"\n_______________________________________________________\n_______________________________________________________\n_____/\\\\\\\\\\\\\\\\\\\\\\\\_______/\\\\\\\\\\________________________\n____/\\\\\\//////////______/\\\\\\///\\\\\\_____________________\n___/\\\\\\________________/\\\\/\\_\\\\///\\\\___________________\n___\\/\\\\\\_______________/\\\\\\/__\\///\\\\\\__________________\n____\\/\\\\\\____/\\\\\\\\\\\\\\__/\\\\\\______\\//\\\\\\____/\\\\\\\\\\\\\\\\\\\\\\\n_____\\/\\\\\\___\\/////\\\\\\_\\/\\\\\\_______\\/\\\\\\___\\///////////\n______\\/\\\\\\_______\\/\\\\\\_\\//\\\\\\______/\\\\\\_______________\n_______\\/\\\\\\_______\\/\\\\\\__\\///\\\\\\__/\\\\\\________________\n________\\///________\\///\\__\\/\\///__\\///________________\n_________\\//\\\\\\\\\\\\\\\\\\\\\\\\/_____\\///\\\\\\\\/________________\n__________\\////////////_________\\/////_________________\n_______________________________________________________",SECTION_GETTING_STARTED_DETAIL_LEFT_1:"\n.\n.\n.\n.\n.\n^_start\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.",SECTION_GETTING_STARTED_DETAIL_LEFT_2:"\n// x = 0   \n   *     \\ \n     *    D\n       *   \\\n     *      F\n   *         \\\n   *",SECTION_HOW_IT_WORKS_DETAIL_LEFT:"\n*\n*\n *\n",SECTION_HOW_IT_WORKS_DETAIL_RIGHT:"\n–>\n–>\n-1\n–>\n–>\n–2\n–>\n–>\n–3\n–>\n–>\n–4>>\n\n\n   *\n",SECTION_HOW_IT_WORKS_DETAIL_LEFT_2:"\n–>\n–>\n-1\n–>\n–>\n–2\n–>\n–>",SECTION_MICROSOFT_LOGO:"\n                          %%%%%%%%%%%%%%%%%% \n %   %                %%%%%%%%%%%%%%%%%%%%%%\n % %%%  %%  %%%  %%%%%%%%%%%%###%#+=++*##%%%\n   #%  %%%%%%%%%%%%%%%%%#*=----=%#=------*%%\n -  --%%%  @%%%#%%%%%%%#-------=%#=------*%%\n   ---   -- =---*=--=%%#-------=%#=------*%%\n -     ----=--------=%%+-------=%#=------*%%\n - --- -   ---------=%%#-------=%%#=------*%\n   ---=-------------=%%#---=+**#%%%####*+#%%\n %  %%--------------+%%#*#%%%%%%%%%##%%%%%%%\n % %%%  %%  +%%#-+#%%%%%%%%##**#%*:.....:*%%\n   #%  %%%%%%%%%%%%%%%%#*++++++*%*:......+%%\n + +++%%%  @%%%*%%%%#%%#+++++++*%*:......+%%\n   +++ +++  ++++++++*%%#+++++++*%*:......+%%\n =     +++++++++++++*%%*+++++++*%*:......+%%\n   +++     ++ ==+++++%%#+++++++*%#-:.....+%%\n   =+  +++++++++++++*%%#+*#%%%%%%%%%%%%%%%%%\n %   %%+++++++++++++#%%%%%%%%%%%%%%%%%%%%%%%\n   %%%  #%% #%%%+#%%%%%%%%%%%%%%    %%%%%%%%\n   %  %%%%%%%%%%%%%%%%%%%%                  \n       %% %%%%#%%%%%%%                        \n",SECTION_MICROSOFT_DETAIL_LEFT:"\n(ALTAIR BASIC: =\n*\n *\n \n\n\n         *\n         MICRO-\n         SOFT   \n *  \n*",SECTION_MICROSOFT_DETAIL_END:"\n/*\n.\n.  \n|<== span\n.\n.\n.",SECTION_DOWNLOAD_FRAME:"\n+===========================================+\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           |\n|                                           | \n+===========================================+",SECTION_DOWNLOAD_INFO_DETAIL:"\n.dl\n*   [s-c]\n *\n   \n   *\n100%",SECTION_DOWNLOAD_BUTTON_FRAME:"\n#################################\n#                               #\n#                               #\n#################################",SECTION_DOWNLOAD_BUTTON_FRAME_ROLLOVER:"\n#################################\n########                 ########\n########                 ########\n#################################",SECTION_OBSTACLES_SCENE_MOUNTAINS:"\n--------------------- |@@@| -----------------\n--------------------- |@@@| -----------------\n--------------------- |     -----------------\n----------------------/\\---------------------\n---------------------/  \\--/\\----------------\n--------------------/    \\/  \\---------------\n-------------------/      \\   \\-/\\-----------\n------------------/    /\\      \\/ \\----------\n-----------------/    /  \\/\\       \\-/\\------\n--/\\------------/    /   /  \\       \\  \\-----\n\\/  \\----------/    /        \\       \\  \\----\n     \\--------/               \\       \\------\n\\     \\--/\\--/                 \\       \\-----\n \\     \\/  \\/    /\\                     \\----\n  \\/\\           /  \\/\\    /\\             \\-/\\\n  /  \\              \\ \\/\\/  \\           /\\/  \n /    \\                      \\         /  \\  \n-,--___...,-.,-___.._---_...;._..;---..-,--_-\n---------------------------------------------",SECTION_OBSTACLES_SCENE_CLOUDS:"\n---------------------------------------------------------------------\n-----------------------------------------------------------(‘ ):.----\n-----------------------------------------.:(‘ )-----------(       )--\n------------_---------------------------(       ):.------------------\n------------(`).-------------------------(’..      )).---------------\n-----------(     )’.-------------------------------------------------\n--------(   .:     ).------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n                     \n                     \n                     \n                     \n                     ",SECTION_OBSTACLES_SCENE_FLAG:["\n   |@@|  \n   |@@@| \n   |     ","\n   |@@@| \n   |@@|  \n   |     ","\n   |@@@| \n   |@@@| \n   |     "],SECTION_OBSTACLES_SCENE_BILL:["\n- O \n-/|\\\n-/ \\","\n-\\O/\n- | \n-/ \\"],SECTION_OBSTACLES_SCENE_JET:["\n+++\n(((\n ) ","\n+++\n)))\n ( "],SECTION_OBSTACLES_SCENE_BILL_PATH:[[7,20],[6,20],[5,20],[5,19],[5,18],[4,17],[4,16],[4,15],[3,14],[3,13],[3,12],[4,11],[5,10],[6,9],[9,9],[10,9],[11,8],[12,7],[13,6],[14,5],[15,4],[16,3],[17,2],[18,1]]},il={HEADER:"\n+===================================================================+\n|                                                                   |\n|  :'######:::'#######::'##::::'##:'########:::'######::'########:  |\n|  '##... ##:'##.... ##: ##:::: ##: ##.... ##:'##... ##: ##.....::  |\n|   ##:::..:: ##:::: ##: ##:::: ##: ##:::: ##: ##:::..:: ##:::::::  |\n|  . ######:: ##:::: ##: ##:::: ##: ########:: ##::::::: ######:::  |\n|  :..... ##: ##:::: ##: ##:::: ##: ##.. ##::: ##::::::: ##...::::  |\n|  '##::: ##: ##:::: ##: ##:::: ##: ##::. ##:: ##::: ##: ##:::::::  |\n|  . ######::. #######::. #######:: ##:::. ##:. ######:: ########:  |\n|  :......::::.......::::.......:::..:::::..:::......:::........::  |\n|  :'######:::'#######::'########::'########:::::::: '##::::::..::  |\n|  '##... ##:'##.... ##: ##.... ##: ##.....::::::::: ##:::::::..::  |\n|   ##:::..:: ##:::: ##: ##:::: ##: ##::::::::::::  ##  '##:::..::  |\n|   ##::::::: ##:::: ##: ##:::: ##: ######:::::::  ## :::: ##:..::  |\n|   ##::::::: ##:::: ##: ##:::: ##: ##...:::::::  ## ::::::: ##:::  |\n|   ##::: ##: ##:::: ##: ##:::: ##: ##:::::::::: ##::::::  ##:..::  |\n|  . ######::. #######:: ########:: ########::: ##.::::::## :...::  |\n|  :......::::.......:::........:::........::::::.:::::: :: :...::  |\n|                                                                   |\n+===================================================================+",HEADER_DETAIL_LEFT:"\n–>\n–>\n–>\n–>–>\n\n*\n\n\n\n\n\n\n  \n\n\n*\n*",HEADER_DETAIL_RIGHT:"\n–>\n–>\n–>\n–>\n–>\n–>–>\n–>\n–>\n–>\n–>–>\n\n\n *\n\n *\n *",SECTION_CODE_TITLE:"\n+-+-+-+ +-+-+-+-+-+-+-+  \n|T|H|E| |C|O|O|L|E|S|T|  \n+-+-+-+-+-+-+-+-+-+-+-+  \n|C|O|D|E| |I|'|V|E|      \n+-+-+-+-+ +-+-+-+-+-+-+-+\n|E|V|E|R| |W|R|I|T|T|E|N|\n+-+-+-+-+ +-+-+-+-+-+-+-+",SECTION_BASICS_TITLE:"\n+-+-+-+            \n|T|H|E|            \n+-+-+-+-+-+-+ +-+-+\n|B|A|S|I|C|S| |O|F|\n+-+-+-+-+-+-+ +-+-+\n|B|A|S|I|C|        \n+-+-+-+-+-+",SECTION_GETTING_STARTED_TITLE:"\n+-+-+-+-+-+-+-+ \n|G|E|T|T|I|N|G|\n+-+-+-+-+-+-+-+-+\n  |S|T|A|R|T|E|D|    \n  +-+-+-+-+-+-+-+",SECTION_HOW_IT_WORKS_TITLE:"\n+-+-+-+-+-+-+-+-+-+-+-+\n|T|R|A|N|S|L|A|T|I|N|G|\n+-+-+-+-+-+-+-+-+-+-+-+\n|B|A|S|I|C|\n+-+-+-+-+-+",SECTION_OBSTACLES_TITLE:"\n+-+-+-+-+-+-+-+-+-+-+ \n|O|V|E|R|C|O|M|I|N|G|\n+-+-+-+-+-+-+-+-+-+-+-+-+\n      |O|B|S|T|A|C|L|E|S|\n      +-+-+-+-+-+-+ +-+-+",SECTION_MICROSOFT_TITLE:"\n+-+-+-+            \n|T|H|E|            \n+-+-+-+-+-+-+-+ +-+-+-+-+\n  |B|I|R|T|H| |O|F|.|.|.|\n  +-+-+-+-+-+-+-+-+-+-+-+",SECTION_MICROSOFT_TITLE_2:"\n+-+-+-+-+-+-+-+-+-+\n|M|I|C|R|O|S|O|F|T|\n+-+-+-+-+-+-+-+-+-+",SECTION_DOWNLOAD_TITLE:"\n+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n|D|O|W|N|L|O|A|D| |T|H|E| |C|O|D|E|\n+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+",PARAGRAPH_INTRO:"–>     ",DIVIDER:"---------------------------------------------------------------------",SECTION_CODE_DETAIL_END:"\n-->",SECTION_BASICS_DETAIL_RIGHT:"\n THE   \n *  \n  *   \n * \n   \nBASICS\n        \n   *\n    *\n  *",SECTION_BASICS_LINE:"-------------------------------->",SECTION_GETTING_STARTED_DETAIL_LEFT:"\n.\n.\n.\n^_start\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.",SECTION_GETTING_STARTED_DETAIL_LEFT_2:"\n// x = 0   \n   *     \\ \n     *    D\n       *   \\\n     *      F\n   *         \\\n   *\n     *\n   *",SECTION_HOW_IT_WORKS_ASTERISK:"\n*\n*",SECTION_HOW_IT_WORKS_DETAIL_RIGHT:"\n–>\n-1\n–>\n–2\n–>\n–3\n–>\n–4>>\n\n\n   *\n\n\n\n\n\n\n\n\n   *\n   *",SECTION_HOW_IT_WORKS_DETAIL_LEFT_01:"\n*\n*\n *\n \n\n*\n *\n  *\n *\n*",SECTION_HOW_IT_WORKS_DETAIL_LEFT_02:"\n–>\n–>\n-1\n–>\n–>\n–2\n–>\n–>\n–3\n–>\n–>\n–4>>\n\n\n   *",SECTION_MICROSOFT_DETAIL_LEFT:"\n**\n  *)",SECTION_MICROSOFT_LOGO:"\n                          %%%%%%%%%%%%%%%%%%%%% \n%%   %                %%%%%%%%%%%%%%%%%%%%%%%%%%\n%% %%%  %%  %%% %%%%%%%%%%%%%%###%%#+=++*##%%%%%\n   #% %%%%%%%%%%%%%%%%%%%#*=----=%%#=------*%%%%\n--  --%%% @%%%#%%%%%%%%%#-------=%%#=------*%%%%\n   ---  -- =---*=--=%%%%#-------=%%#=------*%%%%\n -    ----=--------=%%%%+-------=%%#=------*%%%%\n-- --- -  ---------=%%%%#-------=%%#=------*%%%%\n   ---=------------=%%%%#---=+**#%%%%####*+#%%%%\n%%  %%-------------+%%%%#*#%%%%%%%%%%##%%%%%%%%%\n%% %%%  %% +%%#-+#%%%%%%%%%%##**#%%*:.....:*%%%%\n   #% %%%%%%%%%%%%%%%%%%#*++++++*%%*:......+%%%%\n++ +++%%% @%%%*%%%%#%%%%#+++++++*%%*:......+%%%%\n   +++ +++ ++++++++*%%%%#+++++++*%%*:......+%%%%\n+=    +++++++++++++*%%%%*+++++++*%%*:......+%%%%\n+  +++    ++ ==+++++%%%%#+++++++*%%#-:.....+%%%%\n   =+ +++++++++++++*%%%%#+*#%%%%%%%%%%%%%%%%%%%%\n%%  %%+++++++++++++#%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%  %%% #%% #%%%+#%%%%%%%%%%%%%%%%%    %%%%%%%%%%\n   %  %%%%%%%%%%%%%%%%%%%%%                   %%\n       %% %%%%#%%%%%%%%                         ",SECTION_MICROSOFT_DETAIL_RIGHT:"\n(ALTAIR BASIC: =\n*\n *\n \n\n\n         *\n         MICRO-\n         SOFT   \n *  \n*",SECTION_MICROSOFT_DETAIL_END:"\n/*\n.\n.  \n|<== span\n.\n.\n.",SECTION_DOWNLOAD_DETAIL_RIGHT:"\n.dl\n*   [s-c]\n *\n   \n   *\n100%",SECTION_DOWNLOAD_FRAME:"\n+=================================================+\n|                                                 |\n|                                                 |\n|                                                 |\n|                                                 |\n|                                                 |\n|                                                 |\n|                                                 |\n|                                                 |\n|                                                 |\n|                                                 | \n|                                                 |\n|                                                 | \n|                                                 | \n|                                                 |    \n|                                                 | \n|                                                 |\n+=================================================+",SECTION_DOWNLOAD_BUTTON_FRAME:"\n#################################################\n#                                               #\n#                                               #\n#################################################",SECTION_DOWNLOAD_BUTTON_FRAME_ROLLOVER:"\n#################################################\n############                         ############\n############                         ############\n#################################################",SECTION_BASIC_TICKER:"\n_____/\\\\\\\\\\\\\\\\\\\\\\\\_______/\\\\\\\\\\_____________________________\n____/\\\\\\//////////______/\\\\\\///\\\\\\__________________________\n____/\\\\\\_______________/\\\\\\/__\\///\\\\\\_______________________\n____\\/\\\\\\____/\\\\\\\\\\\\\\__/\\\\\\______\\//\\\\\\______/\\\\\\\\\\\\\\\\\\\\\\___\n_____\\/\\\\\\___\\/////\\\\\\_\\/\\\\\\_______\\/\\\\\\_____\\///////////___\n______\\/\\\\\\_______\\/\\\\\\_\\//\\\\\\______/\\\\\\____________________\n_______\\/\\\\\\_______\\/\\\\\\__\\///\\\\\\__/\\\\\\_____________________\n________\\//\\\\\\\\\\\\\\\\\\\\\\\\/_____\\///\\\\\\\\\\/_____________________\n_________\\////////////_________\\/////_______________________",SECTION_OBSTACLES_SCENE_MOUNTAINS:"\n----------------------------  |@@@| ---------------------------------\n----------------------------  |@@@| ---------------------------------\n----------------------------  |     ---------------------------------\n------------------------------/\\-------------------------------------\n-----------------------------/  \\--/\\--------------------------------\n----------------------------/    \\/  \\------------------------/\\-----\n---------------------------/      \\   \\--/\\------------------/  \\--/\\\n--------------------------/    /\\      \\/  \\----------------/    \\/  \n------/\\-----------------/    /  \\      \\   \\--------------/      \\  \n-----/  \\-/\\------------/         \\          \\---/\\-------/          \n- /\\/    \\  \\ ----/\\---/                      \\-/  \\-----/           \n_/  \\     \\  \\---/  \\-/    /\\                  \\    \\/\\-/            \n /\\  \\     \\  \\-/    /    /  \\/\\    /\\               \\ \\             \n            \\  \\    /         \\ \\/\\/  \\                          /\\  \n        /\\   \\  \\  /                   \\                        /  \\ \n.-,--___...,-.,-___.._---_...;._..;---..-,--___...,-.,-___.._---_...;\n---------------------------------------------------------------------",SECTION_OBSTACLES_SCENE_CLOUDS:"\n---------------------------------------------------------------------\n-----------------------------------------------------------(‘ ):.----\n-----------------------------------------.:(‘ )-----------(       )--\n------------_---------------------------(       ):.------------------\n------------(`).-------------------------(’..      )).---------------\n-----------(     )’.-------------------------------------------------\n--------(   .:     ).------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n---------------------------------------------------------------------\n                     \n                     \n                     \n                     \n                     ",SECTION_OBSTACLES_SCENE_FLAG:["\n   |@@|  \n   |@@@| \n   |     ","\n   |@@@| \n   |@@|  \n   |     ","\n   |@@@| \n   |@@@| \n   |     "],SECTION_OBSTACLES_SCENE_BILL:["\n- O \n-/|\\\n-/ \\","\n-\\O/\n- | \n-/ \\"],SECTION_OBSTACLES_SCENE_JET:["\n+++\n(((\n ) ","\n+++\n)))\n ( "],SECTION_OBSTACLES_SCENE_BILL_PATH:[[8,19],[7,18],[6,17],[5,16],[4,15],[3,14],[2,13],[1,12],[0,11],[0,10],[0,9],[0,8],[1,7],[2,6],[3,5],[6,5],[7,6],[10,6],[11,7],[12,8],[13,9],[14,8],[15,7],[18,7],[19,8],[20,7],[21,6],[22,5],[23,4],[24,3],[25,2],[26,1]]},ic={SECTION_HEADER_IMAGE_ALT:"Source Code",SECTION_HEADER_TITLE:"Source Code",HEADER_AUTHOR_BY:"By ",HEADER_EYEBROW:"BASIC INSTINCT",HEADER_TITLE:"\nCelebrate 50 years of Microsoft with the company’s original source code",HEADER_BODY:"\nBefore there was Office or Windows 95 or Xbox or AI, there was Altair BASIC.",SECTION_CODE_TITLE:"The Coolest Code I’ve Ever Written",SECTION_CODE_CONTENT_PART1:"\nIn 1975, Paul Allen and I created Microsoft because we believed in our vision of a computer on every desk and in every home.",SECTION_CODE_CONTENT_PART2:"\nFive decades later, Microsoft continues to innovate new ways to make life easier and work more productive. Making it 50 years is a huge accomplishment, and we couldn’t have done it without incredible leaders like Steve Ballmer and Satya Nadella—along with the many people who have worked at Microsoft over the years.",SECTION_CODE_CONTENT_PART3:"\nAlthough I am excited to celebrate the anniversary, reaching this milestone feels bittersweet. I always love reflecting back on Microsoft’s history and dreaming about its future. But it’s also hard to believe that such a significant piece of my life has been around for a half-century!",SECTION_CODE_CONTENT_PART4:"\nIt feels like just yesterday that Paul and I were hunched over the PDP-10 in Harvard’s computer lab, writing the code that would become the first product of our new company.",SECTION_CODE_CONTENT_PART5:"\nThat code remains the coolest code I’ve ever written to this day—and you can see it for yourself at the bottom of this page.",SECTION_CODE_CONTENT_PART6:"\nThe story of how Microsoft came to be begins with, of all things, a magazine. The January 1975 issue of Popular Electronics featured an Altair 8800 on the cover. The Altair 8800, created by a small electronics company called MITS, was a groundbreaking personal computer kit that promised to bring computing power to hobbyists. When Paul and I saw that cover, we knew two things: the PC revolution was imminent, and we wanted to get in on the ground floor.",SECTION_CODE_CONTENT_PART7:"\nAt the time, personal computers were practically non-existent. Paul and I knew that creating software that let people program the Altair could revolutionize the way people interacted with these machines. So, we reached out to Ed Roberts, the founder of MITS, and told him we had a version of the programming language BASIC for the chip that the Altair 8800 ran on.",SECTION_CODE_CONTENT_PART8:"\nThere was just one problem: We didn’t. It was time to get to work.",SECTION_CODE_IMAGE_ALT:"A Popular Electronics magazine cover advertising the Altair 8800.",SECTION_CODE_NUMBER:"0001",SECTION_CODE_CAPTION:"This\xa0magazine cover changed my life.",SECTION_CODE_IMAGE_2_ALT:"A young Bill Gates and Paul Allen work together.",SECTION_CODE_NUMBER_2:"0002",SECTION_CODE_CAPTION_2:"Paul and I fell in love with computers while we were students at Lakeside.",SECTION_CODE_CAPTION_ASTERISK:"\n*\n*",SECTION_BASICS_TITLE:"The Basics of BASIC",SECTION_BASICS_CONTENT:"\nInvented by two Dartmouth College professors in 1964, BASIC was designed to be easy to learn for people with no computer experience. With little study or technical aptitude, a person can write their own software in BASIC—anything from a checkbook-balancing program to a tic-tac-toe game. BASIC was the first language Paul and I learned (and it’s still used today).\xa0\n\nComputer languages like BASIC serve the same purpose as English or any other language. In the same way that you can use English to order a coffee at a caf\xe9, you can use BASIC to tell a computer to run a program, solve a math problem, or perform some other task.",SECTION_BASICS_IMAGE_ALT:"Bitmap illustration of an Altair 8800.",SECTION_BASICS_NUMBER:"0003",SECTION_BASICS_CAPTION:"Altair 8800",SECTION_BASICS_CAPTION_ASTERISK:"\n*\n*",SECTION_HOW_IT_WORKS_TITLE:"Translating Basic",SECTION_HOW_IT_WORKS_CONTENT:"\nThere is a catch, though: Computers don’t speak BASIC. And the language they do speak is so complex and unintuitive that programming in it is incredibly difficult. To bridge the gap, Paul and I set out to create a BASIC interpreter, which would translate code into instructions the computer understood line by line as the program runs.\xa0\n\nWe considered creating a similar tool called a compiler that translates the entire program and then runs it all at once. But we figured the line-by-line approach of an interpreter would be helpful to novice programmers since it would give instant feedback on their code, allowing them to fix any mistakes as they crop up.\xa0",SECTION_HOW_IT_WORKS_ASTERISKS:"\n*\n*",SECTION_GETTING_STARTED_TITLE:"Getting Started",SECTION_GETTING_STARTED_CONTENT:"\nPaul and I decided to divide and conquer. We didn’t have the Intel 8080 chip that the Altair computer ran on, so Paul got to work writing a program that would simulate one on Harvard’s PDP-10 mainframe. This allowed us to test our software without needing an actual Altair. Meanwhile, I focused on writing the main code for the program while another friend, Monte Davidoff, worked on a portion called the math package. We coded day and night for the two months to create the software we had said already existed.",SECTION_GETTING_STARTED_IMAGE_ALT:"Detail of Harvard's mainframe PDP-10.",SECTION_GETTING_STARTED_NUMBER:"0007",SECTION_GETTING_STARTED_CAPTION:"The mainframe of Harvard's PDP-10",SECTION_GETTING_STARTED_CAPTION_ASTERISK:"\n*\n*",SECTION_GETTING_STARTED_END:"<= end =>",SECTION_HOW_IT_WORKS_NUMBER_1:"0004",SECTION_HOW_IT_WORKS_CAPTION_1:"There is no better feeling than when you learn that your approach works.",SECTION_HOW_IT_WORKS_IMAGE_ALT_1:"The team review code printouts from a Teletype Model 33 Terminal.",SECTION_HOW_IT_WORKS_NUMBER_2:"0005",SECTION_HOW_IT_WORKS_CAPTION_2:"I was always a very good math student and found that the logic and problem-solving needed in math helped me learn computer programming.",SECTION_HOW_IT_WORKS_IMAGE_ALT_2:"A young Bill Gates works at a blackboard on a math problem.",SECTION_HOW_IT_WORKS_NUMBER_3:"0006",SECTION_HOW_IT_WORKS_CAPTION_3:"Paul and I went to school with Ric Weiland, who later became Microsoft's second employee.",SECTION_HOW_IT_WORKS_IMAGE_ALT_3:"Bill, Paul and Ric Weiland - Microsoft's first employee - work together.",SECTION_OBSTACLES_TITLE:"Overcoming obstacles",SECTION_OBSTACLES_CONTENT:"\nComputer memory back then was expensive. Extra memory for the Altair could easily cost more than the computer itself, so every byte mattered. We thought that if we could fit our BASIC code into just four kilobytes, Altair owners using BASIC could still have enough memory left to run the programs they wrote (and not have to spend a lot of extra money). \n\nTo meet that constraint, I used various techniques to optimize memory usage, like compact data structures and efficient algorithms. It was a fun challenge, and although Paul and I were stressed about getting Altair BASIC to MITS as quickly as possible, I had a blast figuring out how to make everything fit.",SECTION_OBSTACLES_ASTERISKS:"\n*\n*",SECTION_MICROSOFT_TITLE:"The Birth of Microsoft",SECTION_MICROSOFT_CONTENT:"\nFinally, after lots of sleepless nights, we were ready to show our BASIC interpreter to Ed Roberts, the president of MITS. The demonstration was a success, and MITS agreed to license the software. This was a pivotal moment for Paul and me. Altair BASIC became the first product of our new company, which we decided to call Micro-Soft. (We later dropped the hyphen.)\xa0\n\nYou can read more about the origin of Altair BASIC—including about how Paul had to finish part of the code on a flight to Albuquerque—in my memoir Source Code.\xa0\n\nIt’s amazing to think about how this one piece of code led to a half century of innovation from Microsoft. Before there was Office or Windows 95 or Xbox or AI, there was the original source code—and I still get a kick out of seeing it, even all these years later.",SECTION_MICROSOFT_LINKS:[{url:"https://www.gatesnotes.com/home/home-page-topic/reader/my-first-memoir-source-code",startIndex:516,endIndex:537}],SECTION_MICROSOFT_LINKS_TABLET:[{url:"https://www.gatesnotes.com/home/home-page-topic/reader/my-first-memoir-source-code",startIndex:517,endIndex:538}],SECTION_MICROSOFT_LINKS_MOBILE:[{url:"https://www.gatesnotes.com/home/home-page-topic/reader/my-first-memoir-source-code",startIndex:516,endIndex:537}],SECTION_MICROSOFT_IMAGE_ALT:"Bill Gates & Paul Allen stand together in an early Microsoft office.",SECTION_MICROSOFT_NUMBER:"0008",SECTION_MICROSOFT_DATE:"[1975]",SECTION_DOWNLOAD_TITLE:"Download the Code",SECTION_DOWNLOAD_CONTENT:"Lorem ipsum dolor sit amet consectetur adipiscing elit Ut et massa mi. Aliquam in hendrerit urna.",DOWNLOAD_CODE_ALTTEXT:"Download",SECTION_DOWNLOAD_INFO:"\nLook through the original Microsoft source code for yourself. Computer programming has come a long way over the last fifty years, but I’m still super proud of how it turned out.",SECTION_DOWNLOAD_BUTTON_TEXT:" < Download >",SECTION_DOWNLOAD_BUTTON_ALT:"Download",SECTION_DOWNLOAD_BUTTON_URL:"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/34d561c8-cf5c-4e69-af47-3782ea11482e/Original-Microsoft-Source-Code.pdf"};var id=a(6527),im=a.n(id),iu=function(){let{breakpointName:e}=nA(),t=(0,i.useRef)(null),{shineEffect:a,triggerShine:s}=ir({shineFirstDelay:4,shineIntervalDuration:{from:4,to:8},shineTriggerDebounceDuration:1,shineSpeed:100,shineCharDiagonalOffset:0,shineFilterChars:"#",shineChars:" @*#$%&*\\/<>....:::::'''",charCycleProbability:.8,charCycleInterval:{from:.05,to:.2},charCycleDuration:{from:.1,to:1,biasPower:10},charCycleDelay:{from:0,to:.1},origCharRatio:{from:.1,to:.3},shinePasses:[{delay:0,duration:.2}]}),r=()=>{s()};return(0,n.jsx)("div",{ref:t,className:"".concat(im().HeaderBlock),children:"mobile"===e&&(0,n.jsx)(nJ,{className:im().headerBlock,contentClassName:im().headerContent,text:io.HEADER_CONTENT,alt:ic.SECTION_HEADER_TITLE,altTag:"h1",ticker:!0,tickerSettings:{interval:4,numCols:42,staticForegroundText:io.HEADER_FRAME},animation:nJ.REVEAL_ANIMS.TYPE_REVEAL,animationSettings:{delay:.2},effects:[a,...nX.HEADER],onMouseOver:r},"header-mobile")||"tablet"===e&&(0,n.jsx)(nJ,{className:im().headerBlock,contentClassName:im().headerContent,text:il.HEADER,alt:ic.SECTION_HEADER_TITLE,altTag:"h1",animation:nJ.REVEAL_ANIMS.TYPE_REVEAL,animationSettings:{delay:.2},effects:[a,...nX.HEADER],onMouseOver:r},"header-tablet")||(0,n.jsx)(nJ,{className:im().headerBlock,contentClassName:im().headerContent,text:nF.HEADER,alt:ic.SECTION_HEADER_TITLE,altTag:"h1",animation:nJ.REVEAL_ANIMS.TYPE_REVEAL,animationSettings:{delay:.2},effects:[a,...nX.HEADER],onMouseOver:r},"header-desktop")})},ih={src:"/_next/static/media/guide_header.a810dccf.png",height:2404,width:2560,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAQAAABuBnYAAAAAXUlEQVR42k3BTQ7BQBgA0Pf1j1CZSSqYrmQkFnZO5Qgu4TCWjqfLvgeh1SxbAe59Ki5mxQbv0CnpanY0gM/uVeRTMuoFfvtvBo1Y1oOnx3QzooVtrlN17gY0rIUQf7AJBfIJN0wvAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},i_=a(3241),ig=a.n(i_);let ip={basics_desktop:"basics_desktop.webp",basics_mobile:"basics_mobile.webp",basics_tablet:"basics_tablet.webp",code_1_desktop:"code_1_desktop.webp",code_1_mobile:"code_1_mobile.webp",code_1_tablet:"code_1_tablet.webp",code_2_desktop:"code_2_desktop.webp",code_2_mobile:"code_2_mobile.webp",code_2_tablet:"code_2_tablet.webp",code_desktop:"code_desktop.webp",code_mobile:"code_mobile.webp",code_tablet:"code_tablet.webp",getting_started_desktop:"getting-started_desktop.webp",getting_started_mobile:"getting-started_mobile.webp",getting_started_tablet:"getting-started_tablet.webp",header_author_desktop:"header_author_desktop.webp",how_it_works_1_desktop:"how-it-works_1_desktop.webp",how_it_works_1_mobile:"how-it-works_1_mobile.webp",how_it_works_1_tablet:"how-it-works_1_tablet.webp",how_it_works_2_desktop:"how-it-works_2_desktop.webp",how_it_works_2_mobile:"how-it-works_2_mobile.webp",how_it_works_2_tablet:"how-it-works_2_tablet.webp",how_it_works_3_desktop:"how-it-works_3_desktop.webp",how_it_works_3_mobile:"how-it-works_3_mobile.webp",how_it_works_3_tablet:"how-it-works_3_tablet.webp",microsoft_desktop:"microsoft_desktop.webp",microsoft_mobile:"microsoft_mobile.webp",microsoft_tablet:"microsoft_tablet.webp",pattern_shadow_desktop:"pattern_shadow_desktop.webp",pattern_shadow_mobile:"pattern_shadow_mobile.webp",pattern_shadow_tablet:"pattern_shadow_tablet.webp"};var ix=ip,iv=function(){let{assetMap:e,article:t}=nA(),{author:a,published:s}=t;return(0,n.jsx)(nR,{sectionId:"header",className:ig().SectionHeader,guideImage:ih,guideOffset:-64,children:(0,n.jsxs)(nH,{className:ig().rowBlock1,children:[(0,n.jsx)(iu,{}),(0,n.jsx)(nJ,{className:ig().detailLeft,text:nF.HEADER_DETAIL_LEFT,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_DETAILS,animationSettings:{...n$.SECTION_HEADER_DETAIL_LEFT},effects:[...nX.HEADER_DETAILS]}),(0,n.jsx)(nJ,{className:ig().detailRight,text:nF.HEADER_DETAIL_RIGHT,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_DETAILS,animationSettings:{...n$.SECTION_HEADER_DETAIL_RIGHT},effects:[...nX.HEADER_DETAILS]}),(0,n.jsx)(ii,{image:e[ix.header_author_desktop],alt:ic.SECTION_HEADER_IMAGE_ALT,className:ig().authorImage,id:"desktop_header",index:-1,animationSettings:{...n$.SECTION_HEADER_IMAGE}}),(0,n.jsx)(nJ,{className:ig().articleAuthorBy,text:"".concat(ic.HEADER_AUTHOR_BY),alt:void 0,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INFO,animationSettings:{...n$.SECTION_HEADER_AUTHOR_BY},effects:[...nX.HEADER_INFO]}),(0,n.jsx)(nJ,{className:ig().articleAuthor,contentClassName:nY().contentBodyBold,text:a,alt:"".concat(ic.HEADER_AUTHOR_BY).concat(a),animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INFO,animationSettings:{...n$.SECTION_HEADER_AUTHOR},effects:[...nX.HEADER_INFO]}),(0,n.jsx)(nJ,{className:ig().articlePublished,contentClassName:nY().contentBody,text:s,alt:s,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INFO,animationSettings:{...n$.SECTION_HEADER_PUBLISHED},effects:[...nX.HEADER_INFO]}),(0,n.jsx)(nJ,{className:ig().eyebrow,contentClassName:ig().eyebrowContent,text:ic.HEADER_EYEBROW,alt:ic.HEADER_EYEBROW,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INFO,animationSettings:{...n$.SECTION_HEADER_EYEBROW},enableReactivity:!1}),(0,n.jsx)(nJ,{className:ig().title,contentClassName:ig().titleContent,text:ic.HEADER_TITLE,alt:ic.HEADER_TITLE,altTag:"h2",wrapMaxCols:30,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_TITLE,animationSettings:{...n$.SECTION_HEADER_TITLE},enableReactivity:!1}),(0,n.jsx)(n5,{paragraphIndent:!1,className:ig().body,contentClassName:nY().contentBody,text:ic.HEADER_BODY,alt:ic.HEADER_BODY,asciiSettings:{wrapMaxCols:45,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INTRO_COPY,animationSettings:{...n$.SECTION_HEADER_INTRO_COPY},effects:[]}}),(0,n.jsx)(n2,{className:ig().divider})]})})},iC=a(8698),ib=a.n(iC),iI=function(e){let{text:t,textAscii:a,className:s="",asciiSettings:r={}}=e,o=(0,i.useRef)(null),l={text:a,className:"".concat(ib().title," ").concat(s),contentClassName:nY().contentTitle,animation:nJ.REVEAL_ANIMS.REVEAL_HEADER,inViewAppearRootMargin:"0px 0px -10% 0px",effects:[...nX.SECTION_HEADER]};return r={...l,...r},(0,n.jsx)("div",{ref:o,className:"".concat(ib().TitleBlock),children:(0,n.jsx)(nJ,{...r,alt:t,altTag:"h3"})})},iS={src:"/_next/static/media/guide_code.64a10420.png",height:3606,width:2560,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAQAAABwz0azAAAAc0lEQVR42gFoAJf/APUBuXvAVwAFSg4AAAD/ArX/vrv/AHwZIwQAUwK0Xt8u/wAABwAFAOAA/wR2bbuB9mi/AgDLANUtcP+S/9To/wQAcQBYDSYwoSmAIP8BAG0BABAAA6oAnQD/AAAAAP8AXAJlB3IFqwDaNCP8lwXOxQAAAABJRU5ErkJggg==",blurWidth:6,blurHeight:8},iT=a(278),iN=a.n(iT),iE=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"code",className:iN().SectionCode,guideImage:iS,children:[(0,n.jsxs)(nH,{className:iN().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_CODE_TITLE,textAscii:nF.SECTION_CODE_TITLE,className:iN().titleBlock}),(0,n.jsx)(n5,{text:ic.SECTION_CODE_CONTENT_PART1+"\n"+ic.SECTION_CODE_CONTENT_PART2+"\n"+ic.SECTION_CODE_CONTENT_PART3+"\n"+ic.SECTION_CODE_CONTENT_PART4,className:iN().textBlock1}),(0,n.jsx)(ii,{image:e[ix.pattern_shadow_desktop],className:iN().image1shadow,id:"desktop_0_shadow",staticImage:!0}),(0,n.jsx)(ii,{image:e[ix.code_desktop],alt:ic.SECTION_CODE_IMAGE_ALT,className:iN().image1,useAlpha:!1,id:"desktop_0",index:0}),(0,n.jsx)(nJ,{text:ic.SECTION_CODE_NUMBER,className:iN().number,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(nJ,{text:ic.SECTION_CODE_CAPTION_ASTERISK,className:iN().asterisks,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:0},effects:[...nX.ASCII_DETAIL_ASTERISKS]}),(0,n.jsx)(n5,{text:ic.SECTION_CODE_CAPTION,paragraphIndent:!1,asciiSettings:{wrapMaxCols:38,className:iN().caption,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}})]}),(0,n.jsxs)(nH,{className:iN().rowBlock2,children:[(0,n.jsx)(ii,{image:e[ix.code_2_desktop],alt:ic.SECTION_CODE_IMAGE_2_ALT,className:iN().image2,id:"desktop_0_2",index:0}),(0,n.jsx)(n5,{text:ic.SECTION_CODE_CAPTION_2,paragraphIndent:!1,asciiSettings:{wrapMaxCols:40,className:iN().caption2,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(n5,{text:ic.SECTION_CODE_CONTENT_PART5+"\n"+ic.SECTION_CODE_CONTENT_PART6+"\n"+ic.SECTION_CODE_CONTENT_PART7,className:iN().textBlock2,paragraphIndent:!1,asciiSettings:{wrapMaxCols:50}}),(0,n.jsx)(nJ,{text:ic.SECTION_CODE_NUMBER_2,className:iN().number2,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(nJ,{text:ic.SECTION_CODE_CAPTION_ASTERISK,className:iN().asterisks2,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:.1},effects:[...nX.ASCII_DETAIL_ASTERISKS]})]}),(0,n.jsxs)(nH,{className:iN().rowBlock3,children:[(0,n.jsx)(n5,{text:ic.SECTION_CODE_CONTENT_PART8,className:iN().textBlock3,paragraphIndent:!1,asciiSettings:{wrapMaxCols:38}}),(0,n.jsx)(nJ,{className:iN().detailEnd,text:nF.SECTION_CODE_DETAIL_END,animationSettings:{...n$.IMAGE_NUMBER,delayOffset:0},effects:[...nX.BASIC_DETAIL]}),(0,n.jsx)(n2,{className:iN().divider})]})]})},ik={src:"/_next/static/media/guide_basics.d2963b76.png",height:3152,width:2561,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAQAAACfDS2NAAAAZ0lEQVR42mNgYGDi4WFnQIAAvgzxSv7vzB8YIXxOBhYGMHgCEnhn82XF9+lfl/+yYQCB97kP/1/+f+v/p3wGEPiv97ThevGn+v86DAwMi1gYmBkggLGXlYGBOYWvWaCZp48/np+BDQBWQR4udrbA6QAAAABJRU5ErkJggg==",blurWidth:7,blurHeight:8},iA=a(673),ij=a.n(iA),iy=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"basics",className:ij().SectionBasics,guideImage:ik,children:[(0,n.jsxs)(nH,{className:ij().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_BASICS_TITLE,textAscii:nF.SECTION_BASICS_TITLE,className:ij().titleBlock}),(0,n.jsx)(n5,{text:ic.SECTION_BASICS_CONTENT,className:ij().textBlock,asciiSettings:{wrapMaxCols:50}}),(0,n.jsx)(ii,{image:e[ix.basics_desktop],useAlpha:!0,alt:ic.SECTION_BASICS_IMAGE_ALT,className:ij().image1,id:"desktop_1",index:1})]}),(0,n.jsxs)(nH,{className:ij().rowBlock2,children:[(0,n.jsx)(nJ,{className:ij().detailRight,text:nF.SECTION_BASICS_DETAIL_RIGHT,animation:!0,animationSettings:{...n$.SECTION_BASICS_DETAIL_RIGHT,delayOffset:0},effects:[...nX.SECTION_BASICS_DETAIL]}),(0,n.jsx)(nJ,{text:ic.SECTION_BASICS_NUMBER,className:ij().number,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(nJ,{className:ij().line,text:nF.SECTION_BASICS_LINE,animation:!0,animationSettings:{...n$.SECTION_BASICS_LINE,delayOffset:0},effects:[...nX.BASIC_LINE]}),(0,n.jsx)(nJ,{text:ic.SECTION_BASICS_CAPTION_ASTERISK,className:ij().asterisks,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:0},effects:[...nX.ASCII_DETAIL_ASTERISKS]}),(0,n.jsx)(n5,{text:ic.SECTION_BASICS_CAPTION,paragraphIndent:!1,asciiSettings:{wrapMaxCols:"36",className:ij().caption,contentClassName:nY().contentArt,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{className:ij().ticker,text:nF.SECTION_BASIC_TICKER,ticker:!0,tickerSettings:{interval:2,numCols:99},animation:!0,animationSettings:{...n$.SECTION_BASICS_TICKER,delayOffset:0},effects:[...nX.SECTION_BASICS_TICKER]})]})]})},iw={src:"/_next/static/media/guide_getting-started.886bae34.png",height:2928,width:2561,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAQAAACfDS2NAAAAY0lEQVR42mNgYGHgY2BkgAFN5gb2Fcz2XG4SOcIpCGGgKhCwU59Z3lqUULy68Ea5ijqDe+TS/9v/r/i/7P/5/2ujGRjCm/5P+N/4v+D/3P8HgVypjKBu/36/GX4zg+qlGVABAIIdIRZRjyqcAAAAAElFTkSuQmCC",blurWidth:7,blurHeight:8},iL=a(2457),iO=a.n(iL),iB=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"getting-started",className:iO().SectionGettingStarted,guideImage:iw,children:[(0,n.jsxs)(nH,{className:iO().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_GETTING_STARTED_TITLE,textAscii:nF.SECTION_GETTING_STARTED_TITLE,className:iO().titleBlock}),(0,n.jsx)(nJ,{className:iO().detailLeft1,text:nF.SECTION_GETTING_STARTED_DETAIL_LEFT_1,animation:!0,animationSettings:{...n$.SECTION_GETTING_STARTED_DETAIL_LEFT},effects:[...nX.SECTION_GETTING_STARTED_DETAIL_LEFT]}),(0,n.jsx)(nJ,{className:iO().detailLeft2,text:nF.SECTION_GETTING_STARTED_DETAIL_LEFT_2,animation:!0,animationSettings:{...n$.SECTION_GETTING_STARTED_DETAIL_LEFT,delayOffset:.1},effects:[...nX.SECTION_GETTING_STARTED_DETAIL_LEFT]}),(0,n.jsx)(n5,{text:ic.SECTION_GETTING_STARTED_CONTENT,className:iO().textBlock,asciiSettings:{wrapMaxCols:"44"}})]}),(0,n.jsxs)(nH,{className:iO().rowBlock2,children:[(0,n.jsx)(nJ,{text:ic.SECTION_GETTING_STARTED_NUMBER,className:iO().number,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(ii,{image:e[ix.getting_started_desktop],alt:ic.SECTION_GETTING_STARTED_IMAGE_ALT,className:iO().image1,id:"desktop_2",index:2}),(0,n.jsx)(nJ,{text:ic.SECTION_GETTING_STARTED_CAPTION_ASTERISK,className:iO().asterisks,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:0},effects:[...nX.ASCII_DETAIL_ASTERISKS]}),(0,n.jsx)(n5,{text:ic.SECTION_GETTING_STARTED_CAPTION,paragraphIndent:!1,asciiSettings:{wrapMaxCols:36,className:iO().caption,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{text:ic.SECTION_GETTING_STARTED_END,className:iO().end,animationSettings:{...n$.SECTION_GETTING_STARTED_DETAIL_END,delayOffset:0},effects:[...nX.SECTION_GETTING_STARTED_DETAIL_END]})]}),(0,n.jsx)(n2,{className:iO().divider})]})},iR={src:"/_next/static/media/guide_how-it-works.7d57e0e9.png",height:5124,width:2560,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAQAAAB0OpaOAAAAUklEQVR42mOQZ2bg+8/wloGBgclXcKL0P34GJYbtDG1ndx1iUFGb6NIY0C7DwLCk53/+khUMDAz8Cbq7/J6LMQgxMBiv/n8on4GBQZHLQN2VDwD41hTxx7Fx9gAAAABJRU5ErkJggg==",blurWidth:4,blurHeight:8},iD=a(425),iM=a.n(iD),iH=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"how-it-works",className:iM().SectionHowItWorks,guideImage:iR,children:[(0,n.jsxs)(nH,{className:iM().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_HOW_IT_WORKS_TITLE,textAscii:nF.SECTION_HOW_IT_WORKS_TITLE,className:iM().titleBlock}),(0,n.jsx)(n5,{text:ic.SECTION_HOW_IT_WORKS_CONTENT,className:iM().textBlock}),(0,n.jsx)(nJ,{className:iM().detailLeft,text:nF.SECTION_HOW_IT_WORKS_DETAIL_LEFT,animation:!0,animationSettings:{...n$.SECTION_HOW_IT_WORKS_DETAIL,delayOffset:0},effects:[...nX.SECTION_HOW_IT_WORKS_DETAIL_LEFT]}),(0,n.jsx)(nJ,{className:iM().detailRight,text:nF.SECTION_HOW_IT_WORKS_DETAIL_RIGHT,animation:!0,animationSettings:{...n$.SECTION_HOW_IT_WORKS_DETAIL,delayOffset:0},effects:[...nX.SECTION_HOW_IT_WORKS_DETAIL_RIGHT]}),(0,n.jsx)(nJ,{text:ic.SECTION_HOW_IT_WORKS_ASTERISKS,className:iM().asterisks,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:0},effects:[...nX.ASCII_DETAIL_ASTERISKS]})]}),(0,n.jsxs)(nH,{className:iM().RowBlock2,children:[(0,n.jsx)(nJ,{text:ic.SECTION_HOW_IT_WORKS_NUMBER_1,className:iM().number1,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(ii,{image:e[ix.how_it_works_1_desktop],alt:ic.SECTION_HOW_IT_WORKS_IMAGE_ALT_1,className:iM().image1,id:"desktop_3",index:3}),(0,n.jsx)(n5,{text:ic.SECTION_HOW_IT_WORKS_CAPTION_1,paragraphIndent:!1,asciiSettings:{wrapMaxCols:40,className:iM().caption1,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{text:ic.SECTION_HOW_IT_WORKS_NUMBER_2,className:iM().number2,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(nJ,{className:iM().detailRight2,text:nF.SECTION_HOW_IT_WORKS_DETAIL_RIGHT_2,animation:!0,animationSettings:{...n$.SECTION_HOW_IT_WORKS_DETAIL,delayOffset:0},effects:[...nX.SECTION_HOW_IT_WORKS_DETAIL_RIGHT]}),(0,n.jsx)(ii,{image:e[ix.how_it_works_2_desktop],alt:ic.SECTION_HOW_IT_WORKS_IMAGE_ALT_2,className:iM().image2,id:"desktop_4",index:4}),(0,n.jsx)(n5,{text:ic.SECTION_HOW_IT_WORKS_CAPTION_2,paragraphIndent:!1,asciiSettings:{wrapMaxCols:50,className:iM().caption2,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{text:ic.SECTION_HOW_IT_WORKS_NUMBER_3,className:iM().number3,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(ii,{image:e[ix.how_it_works_3_desktop],alt:ic.SECTION_HOW_IT_WORKS_IMAGE_ALT_3,className:iM().image3,id:"desktop_5",index:5}),(0,n.jsx)(n5,{text:ic.SECTION_HOW_IT_WORKS_CAPTION_3,paragraphIndent:!1,asciiSettings:{wrapMaxCols:50,className:iM().caption3,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{className:iM().detailLeft2,text:nF.SECTION_HOW_IT_WORKS_DETAIL_LEFT_2,animationSettings:{...n$.SECTION_HOW_IT_WORKS_DETAIL,delayOffset:0},effects:[...nX.SECTION_HOW_IT_WORKS_DETAIL_RIGHT]})]}),(0,n.jsx)(n2,{className:iM().divider})]})},iF=a(3886),iP=a.n(iF),iW=function(e){let{className:t}=e,{breakpointName:a}=nA(),[s,r]=(0,i.useState)({x:0,y:0}),o=(0,i.useRef)(s);(0,i.useEffect)(()=>{o.current=s},[s]);let[l,c]=(0,i.useState)(0),d=(0,i.useRef)(l);(0,i.useEffect)(()=>{d.current=l},[l]);let[m,u]=(0,i.useState)(!1),h=(0,i.useRef)(m);(0,i.useEffect)(()=>{h.current=m},[m]);let[_,g]=(0,i.useState)(!1),p=(0,i.useRef)({left:0,right:0,top:0,bottom:0}),[x,v]=(0,i.useState)(0),[C,b]=(0,i.useState)(null),[f,I]=(0,i.useState)(""),[S,T]=(0,i.useState)(""),[N,E]=(0,i.useState)(null),[k,A]=(0,i.useState)({x:0,y:0});(0,i.useEffect)(()=>{switch(a){case"mobile":T(io.SECTION_OBSTACLES_SCENE_MOUNTAINS),I(io.SECTION_OBSTACLES_SCENE_CLOUDS),A({x:19,y:0}),E(io.SECTION_OBSTACLES_SCENE_BILL_PATH),r({x:18,y:1}),p.current={left:-3,right:43,top:0,bottom:16},v(30),b(45);break;case"tablet":T(il.SECTION_OBSTACLES_SCENE_MOUNTAINS),I(il.SECTION_OBSTACLES_SCENE_CLOUDS),A({x:27,y:0}),E(il.SECTION_OBSTACLES_SCENE_BILL_PATH),r({x:26,y:1}),p.current={left:-3,right:67,top:0,bottom:14},v(17),b(null);break;default:T(nF.SECTION_OBSTACLES_SCENE_MOUNTAINS),I(nF.SECTION_OBSTACLES_SCENE_CLOUDS),A({x:36,y:0}),E(nF.SECTION_OBSTACLES_SCENE_BILL_PATH),r({x:35,y:1}),p.current={left:-3,right:102,top:0,bottom:14},v(17),b(null)}},[a]);let{inViewRef:j,isInView:y}=nW({rootMargin:"0px 0px -50% 0px",triggerOnce:!0}),w=(0,i.useRef)({}),L=(0,i.useRef)(null),O=80,B=e=>{if(!h.current)return;let t=!1,a=0;switch(e.key){case"a":w.current.left=!0,t=!0;break;case"d":w.current.right=!0,t=!0;break;case"w":w.current.up=!0,a=1,t=!0;break;case"s":w.current.down=!0,t=!0}d.current!==a&&c(a);let s=Object.values(w.current).some(e=>e);s&&!L.current&&(D(),L.current=setInterval(D,O)),t&&(g(!0),e.preventDefault())},R=e=>{if(!h.current)return;let t=!1;switch(e.key){case"ArrowLeft":case"a":w.current.left=!1,t=!0;break;case"ArrowRight":case"d":w.current.right=!1,t=!0;break;case"ArrowUp":case"w":w.current.up&&c(0),w.current.up=!1,t=!0;break;case"ArrowDown":case"s":w.current.down=!1,t=!0}let a=Object.values(w.current).some(e=>e);a||(clearInterval(L.current),L.current=null),t&&e.preventDefault()},D=()=>{let e={x:o.current.x,y:o.current.y};w.current.left&&(e.x-=1),w.current.right&&(e.x+=1),w.current.up&&(e.y-=1),w.current.down&&(e.y+=1),e.y<p.current.top?e.y=p.current.top:e.y>p.current.bottom&&(e.y=p.current.bottom),e.x<p.current.left?e.x=p.current.right:e.x>p.current.right&&(e.x=p.current.left),r(e)};(0,i.useEffect)(()=>(document.addEventListener("keydown",B),document.addEventListener("keyup",R),()=>{document.removeEventListener("keydown",B),document.removeEventListener("keyup",R)}),[]);let M="desktop"===a&&m&&!_;return(0,n.jsx)("div",{ref:j,className:"".concat(iP().ObstaclesScene," ").concat(t),children:(0,n.jsx)(nJ,{className:iP().ObstaclesScene,contentClassName:iP().ObstaclesSceneContent,text:f,ticker:!0,tickerSettings:{interval:16,numCols:C,staticForegroundText:S,staticMaskCharacter:"-"},maxLines:m?x:null,animation:!0,animationSettings:{...n$.OBSTACLES_SCENE},sprites:[{interval:6,text:M?nF.SECTION_OBSTACLES_SCENE_FLAG_INSTRUCTION:nF.SECTION_OBSTACLES_SCENE_FLAG,resetFrameCountOnLoop:!M,position:k},{frame:l,text:nF.SECTION_OBSTACLES_SCENE_BILL,maskCharacter:"-",position:m?{x:s.x,y:s.y}:null,path:N,pathSettings:{playing:y&&!m,delay:3,interval:4,loop:!1,onComplete(){u(!0),c(1)}}},{text:nF.SECTION_OBSTACLES_SCENE_JET,maskCharacter:"-",visible:_,interval:4,position:m?{x:s.x+1,y:s.y+3}:null}],effects:[...nX.SECTION_BASICS_TICKER]},"header-".concat(a))})},iG={src:"/_next/static/media/guide_obstacles.b4f56b6d.png",height:2146,width:2561,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAQAAACfUMTVAAAAQElEQVR42j2I2wrAIAzF4qytr7uw///UBZQlnELDJnmYgHQGyXTlOoRPYSQoZwv1kis0FhevJj8nt3FA2x7a4AND9AEo56AzcAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:7},iU=a(451),iV=a.n(iU),iY=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"obstacles",className:iV().SectionObstacles,guideImage:iG,children:[(0,n.jsxs)(nH,{className:iV().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_OBSTACLES_TITLE,textAscii:nF.SECTION_OBSTACLES_TITLE,className:iV().titleBlock}),(0,n.jsx)(n5,{text:ic.SECTION_OBSTACLES_CONTENT,className:iV().textBlock,asciiSettings:{wrapMaxCols:"55"}}),(0,n.jsx)(nJ,{text:ic.SECTION_OBSTACLES_ASTERISKS,className:iV().asterisks,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:0},effects:[...nX.ASCII_DETAIL_ASTERISKS]}),(0,n.jsx)(iW,{className:iV().obstaclesScene})]}),(0,n.jsx)(n2,{className:iV().divider})]})},iZ={src:"/_next/static/media/guide_microsoft.fab2eeb9.png",height:3848,width:2560,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAQAAACb+P2wAAAAYUlEQVR42mNg4GTgYWBkYGZgZWAQYBBlYGNgYGBisOdw5PbglJdlEGfoYshiEGZg4JMQZCi1SMuUTrFJZuBjaJjc8n/j/97/DKoMRb0z/z/6v+wPgzLDOuNtKXNj+yMZeAE1fRWHkCKwRwAAAABJRU5ErkJggg==",blurWidth:5,blurHeight:8},iK=a(1489),iq=a.n(iK),iQ=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"microsoft",className:iq().SectionMicrosoft,guideImage:iZ,children:[(0,n.jsxs)(nH,{className:iq().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_MICROSOFT_TITLE,textAscii:nF.SECTION_MICROSOFT_TITLE,className:iq().titleBlock1}),(0,n.jsx)(iI,{textAscii:nF.SECTION_MICROSOFT_TITLE_2,className:iq().titleBlock2,asciiSettings:{animationSettings:{...n$.SECTION_MICROSOFT_TITLE,delayOffset:0}}}),(0,n.jsx)(n5,{text:ic.SECTION_MICROSOFT_CONTENT,links:ic.SECTION_MICROSOFT_LINKS,className:iq().textBlock,asciiSettings:{wrapMaxCols:55}})]}),(0,n.jsxs)(nH,{className:iq().rowBlock2,children:[(0,n.jsx)(nJ,{className:iq().detailLeft,text:nF.SECTION_MICROSOFT_DETAIL_LEFT,animation:!0,animationSettings:{...n$.SECTION_MICROSOFT_DETAIL,delayOffset:0},effects:[...nX.SECTION_MICROSOFT_DETAIL_LEFT]}),(0,n.jsx)(nJ,{className:iq().detailRight,text:nF.SECTION_MICROSOFT_DETAIL_RIGHT,animationSettings:{...n$.IMAGE_NUMBER,delayOffset:0},effects:[...nX.SECTION_MICROSOFT_DETAIL_LEFT]}),(0,n.jsx)(nJ,{className:iq().logo,text:nF.SECTION_MICROSOFT_LOGO,animation:!0,animationSettings:{...n$.SECTION_MICROSOFT_LOGO,delayOffset:0},effects:[...nX.SECTION_MICROSOFT_LOGO]})]}),(0,n.jsxs)(nH,{className:iq().rowBlock3,children:[(0,n.jsx)(ii,{image:e[ix.microsoft_desktop],alt:ic.SECTION_MICROSOFT_IMAGE_ALT,className:iq().image1,id:"desktop_6",index:6}),(0,n.jsx)(nJ,{className:iq().number,text:ic.SECTION_MICROSOFT_NUMBER,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(nJ,{className:iq().date,text:ic.SECTION_MICROSOFT_DATE,animationSettings:{...n$.SECTION_MICROSOFT_DATE},effects:[...nX.SECTION_MICROSOFT_DATE]})]}),(0,n.jsx)(n2,{className:iq().divider})]})},iz=a(6914),iJ=a.n(iz),iX=function(e){let{frameAscii:t,frameAsciiRollover:a}=e,s=(0,i.useRef)(null),[r,o]=(0,i.useState)(!1),{isUsingMouse:l}=nG();(0,i.useEffect)(()=>{l||o(!0)},[l]);let{shineEffect:c,triggerShine:d}=ir({shineFirstDelay:4,shineIntervalDuration:{from:4,to:6},shineTriggerDebounceDuration:1,shineSpeed:80,shineCharDiagonalOffset:0,shineFilterChars:"#",shineChars:" .:*@#$%&\\/",charCycleProbability:.8,charCycleInterval:{from:.05,to:.2},charCycleDuration:{from:.1,to:1,biasPower:10},charCycleDelay:{from:0,to:.1},origCharRatio:{from:.1,to:.3},shinePasses:[{delay:0,duration:.2}]}),m=()=>{l&&(d(),o(!0))},u=()=>{l&&o(!1)},h=()=>{d()};return(0,n.jsx)("div",{ref:s,className:"".concat(iJ().DownloadButton),children:(0,n.jsxs)("a",{href:ic.SECTION_DOWNLOAD_BUTTON_URL,target:"_blank",rel:"noopener noreferrer","data-new-window":"true",className:iJ().downloadLink,children:[(0,n.jsx)(nJ,{text:ic.SECTION_DOWNLOAD_BUTTON_TEXT,alt:ic.SECTION_DOWNLOAD_BUTTON_ALT,className:iJ().label,enableReactivity:!1,contentClassName:iJ().labelContent,animationSettings:{...n$.DOWNLOAD_BUTTON_LABEL}}),(0,n.jsx)(nJ,{text:r&&a?a:t,keepUpdating:!0,className:iJ().frame,contentClassName:iJ().frameContent,onMouseOver:m,onMouseOut:u,onPointerDown:h,enableReactivity:!1,animationSettings:{...n$.DOWNLOAD_BUTTON},effects:[c,...nX.SECTION_DOWNLOAD_BUTTON]})]})})},i$={src:"/_next/static/media/guide_download.bf7fc7e7.png",height:1018,width:2560,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAQAAAAEwYbDAAAAN0lEQVR42mO4wvKfKUsgUjxDsI3rP9N/Job/QMjAwsDLwPYfwv7v+t/lq/e7gLeBn33+uv1yBwDQ+RTnn1FGawAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:3},i0=a(1502),i1=a.n(i0),i2=function(){return(0,n.jsx)(nR,{sectionId:"download",className:i1().SectionDownload,guideImage:i$,children:(0,n.jsxs)(nH,{className:i1().rowBlock1,children:[(0,n.jsx)(nJ,{className:i1().frame,text:nF.SECTION_DOWNLOAD_FRAME,animationSettings:{...n$.DOWNLOAD_FRAME},effects:[...nX.DOWNLOAD_FRAME]}),(0,n.jsx)(iI,{text:ic.SECTION_DOWNLOAD_TITLE,textAscii:nF.SECTION_DOWNLOAD_TITLE,className:i1().titleBlock}),(0,n.jsx)(nJ,{className:i1().detailLeft,text:nF.SECTION_DOWNLOAD_DETAIL_LEFT,animationSettings:{...n$.ASCII_DETAIL},effects:[...nX.SECTION_DOWNLOAD_DETAIL_LEFT]}),(0,n.jsx)(nJ,{className:i1().detailRight,text:nF.SECTION_DOWNLOAD_DETAIL_RIGHT,animationSettings:{...n$.ASCII_DETAIL,delayOffset:.3},effects:[...nX.SECTION_DOWNLOAD_DETAIL_RIGHT]}),(0,n.jsx)(n5,{paragraphIndent:!1,className:i1().info,text:ic.SECTION_DOWNLOAD_INFO,alt:ic.SECTION_DOWNLOAD_INFO,asciiSettings:{wrapMaxCols:40,animationSettings:{...n$.DOWNLOAD_INFO}}}),(0,n.jsx)(nJ,{className:i1().detail,text:nF.SECTION_DOWNLOAD_INFO_DETAIL,animationSettings:{...n$.ASCII_DETAIL,delay:1.2},effects:[...nX.ASTERISK_FLICKER]}),(0,n.jsx)(iX,{frameAscii:nF.SECTION_DOWNLOAD_BUTTON_FRAME,frameAsciiRollover:nF.SECTION_DOWNLOAD_BUTTON_FRAME_ROLLOVER})]})})},i4=a(6359),i3=a.n(i4),i5=function(){return(0,n.jsxs)("div",{className:i3().SourceCodeDesktop,children:[(0,n.jsx)(iv,{}),(0,n.jsx)(iE,{}),(0,n.jsx)(iy,{}),(0,n.jsx)(iH,{}),(0,n.jsx)(iB,{}),(0,n.jsx)(iY,{}),(0,n.jsx)(iQ,{}),(0,n.jsx)(i2,{})]})},i8=a(2150),i6=a.n(i8),i7=function(e){let{className:t}=e;return(0,n.jsx)("div",{className:"".concat(i6().Divider," ").concat(t),children:(0,n.jsx)("div",{className:i6().dividerContainer,children:(0,n.jsx)(nJ,{className:i6().dividerBlock,text:il.DIVIDER,animation:!0,animationSettings:{...n$.DIVIDER_TABLET},effects:[...nX.DIVIDER],inViewAppearRootMargin:"0px 0px -10% 0px"})})})},i9={src:"/_next/static/media/guide_header.50fdb555.png",height:2192,width:1536,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAQAAABwz0azAAAAVUlEQVR42iXFQQqCUBRA0ROGfcp6KVGJ0aAohy7MsetxD25QBblcDrnkIElyl2vZqK0LwrN8e6ic9DE0og6FZDqP3xn2Mv6620+rwis+d0V2xA5WthZgcwaAfLpFKwAAAABJRU5ErkJggg==",blurWidth:6,blurHeight:8},re=a(6916),rt=a.n(re),ra=function(){let{assetMap:e,article:t}=nA(),{author:a,published:s}=t;return(0,n.jsx)(nR,{sectionId:"header",className:rt().SectionHeader,guideImage:i9,guideOffset:-64,children:(0,n.jsxs)(nH,{className:rt().rowBlock1,children:[(0,n.jsx)(iu,{}),(0,n.jsx)(nJ,{className:rt().detailLeft,text:il.HEADER_DETAIL_LEFT,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_DETAILS,animationSettings:{...n$.SECTION_HEADER_DETAIL_LEFT},effects:[...nX.HEADER_DETAILS]}),(0,n.jsx)(nJ,{className:rt().detailRight,text:il.HEADER_DETAIL_RIGHT,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_DETAILS,animationSettings:{...n$.SECTION_HEADER_DETAIL_RIGHT},effects:[...nX.HEADER_DETAILS]}),(0,n.jsx)(ii,{image:e[ix.header_author_desktop],alt:ic.SECTION_HEADER_IMAGE_ALT,className:rt().authorImage,id:"tablet_header",index:-1,animationSettings:{...n$.SECTION_HEADER_IMAGE}}),(0,n.jsx)(nJ,{className:rt().articleAuthorBy,contentClassName:nY().contentBody,text:"".concat(ic.HEADER_AUTHOR_BY),alt:void 0,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INFO,animationSettings:{...n$.SECTION_HEADER_AUTHOR_BY},effects:[...nX.HEADER_INFO]}),(0,n.jsx)(nJ,{className:rt().articleAuthor,contentClassName:nY().contentBodyBold,text:a,alt:"".concat(ic.HEADER_AUTHOR_BY).concat(a),animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INFO,animationSettings:{...n$.SECTION_HEADER_AUTHOR},effects:[...nX.HEADER_INFO]}),(0,n.jsx)(nJ,{className:rt().articlePublished,contentClassName:nY().contentBody,text:s,alt:s,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INFO,animationSettings:{...n$.SECTION_HEADER_PUBLISHED},effects:[...nX.HEADER_INFO]}),(0,n.jsx)(nJ,{className:rt().eyebrow,contentClassName:rt().eyebrowContent,text:ic.HEADER_EYEBROW,alt:ic.HEADER_EYEBROW,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INFO,animationSettings:{...n$.SECTION_HEADER_EYEBROW},enableReactivity:!1}),(0,n.jsx)(nJ,{className:rt().title,contentClassName:rt().titleContent,text:ic.HEADER_TITLE,alt:ic.HEADER_TITLE,altTag:"h2",wrapMaxCols:32,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_TITLE,animationSettings:{...n$.SECTION_HEADER_TITLE},enableReactivity:!1}),(0,n.jsx)(n5,{paragraphIndent:!1,className:rt().body,contentClassName:nY().contentBody,text:ic.HEADER_BODY,alt:ic.HEADER_BODY,asciiSettings:{wrapMaxCols:40,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INTRO_COPY,animationSettings:{...n$.SECTION_HEADER_INTRO_COPY},effects:[]}}),(0,n.jsx)(i7,{className:rt().divider})]})})},rs={src:"/_next/static/media/guide_code.4417c224.png",height:4656,width:1536,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAICAQAAACW5o33AAAAQklEQVR42mNgYH/J8IuBYbPylpYDUgxbvLb/P2/K0MS/RZuBmSGZt0jjiTLDYu3GR6dPMDBwGsooCjLYMzIw/WcAACLeEZzxhvYqAAAAAElFTkSuQmCC",blurWidth:3,blurHeight:8},rn=a(9420),ri=a.n(rn),rr=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"code",className:ri().SectionCode,guideImage:rs,children:[(0,n.jsxs)(nH,{className:ri().rowBlock1,children:[(0,n.jsx)(iI,{className:ri().titleBlock,text:ic.SECTION_CODE_TITLE,textAscii:il.SECTION_CODE_TITLE}),(0,n.jsx)(n5,{className:ri().textBlock1,text:ic.SECTION_CODE_CONTENT_PART1+"\n"+ic.SECTION_CODE_CONTENT_PART2+"\n"+ic.SECTION_CODE_CONTENT_PART3+"\n"+ic.SECTION_CODE_CONTENT_PART4,asciiSettings:{wrapMaxCols:"54"}})]}),(0,n.jsxs)(nH,{className:ri().rowBlock2,children:[(0,n.jsx)(ii,{image:e[ix.pattern_shadow_tablet],className:ri().image1shadow,id:"tablet_0_shadow",staticImage:!0}),(0,n.jsx)(ii,{image:e[ix.code_tablet],alt:ic.SECTION_CODE_IMAGE_ALT,className:ri().image,useAlpha:!1,id:"tablet_0",index:0}),(0,n.jsx)(n5,{text:ic.SECTION_CODE_CAPTION,paragraphIndent:!1,asciiSettings:{wrapMaxCols:40,className:ri().caption,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{text:ic.SECTION_CODE_NUMBER,className:ri().number,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(nJ,{text:ic.SECTION_CODE_CAPTION_ASTERISK,className:ri().asterisks,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:0},effects:[...nX.ASCII_DETAIL_ASTERISKS]})]}),(0,n.jsx)(nH,{className:ri().rowBlock3,children:(0,n.jsx)(n5,{className:ri().textBlock2,text:ic.SECTION_CODE_CONTENT_PART5+"\n"+ic.SECTION_CODE_CONTENT_PART6,asciiSettings:{wrapMaxCols:"54"},paragraphIndent:!1})}),(0,n.jsxs)(nH,{className:ri().rowBlock4,children:[(0,n.jsx)(ii,{image:e[ix.code_2_tablet],alt:ic.SECTION_CODE_IMAGE_2_ALT,className:ri().image2,id:"tablet_0_2",index:0}),(0,n.jsx)(n5,{text:ic.SECTION_CODE_CAPTION_2,paragraphIndent:!1,asciiSettings:{wrapMaxCols:40,className:ri().caption2,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{text:ic.SECTION_CODE_NUMBER_2,className:ri().number2,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(n5,{className:ri().textBlock3,text:ic.SECTION_CODE_CONTENT_PART7,asciiSettings:{wrapMaxCols:"54"},paragraphIndent:!1}),(0,n.jsx)(n5,{className:ri().textBlock4,text:ic.SECTION_CODE_CONTENT_PART8,paragraphIndent:!1,asciiSettings:{wrapMaxCols:38}}),(0,n.jsx)(nJ,{className:ri().detailEnd,text:il.SECTION_CODE_DETAIL_END,animationSettings:{...n$.IMAGE_NUMBER,delayOffset:0},effects:[...nX.BASIC_DETAIL]}),(0,n.jsx)(i7,{className:ri().divider})]})]})},ro={src:"/_next/static/media/guide_basics.676f78ee.png",height:3164,width:1536,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAQAAAB0OpaOAAAAUElEQVR42mNgYhPkYGCoY2CQ4Y8RLeD/xsTAwMfA9J/hKgPDXf53895ueT+V4b/oo/dX/j97xPCf+aPwf9H/IgwMbCA1DIwMSlzBvKlc2ZwAHKIXWDkBlygAAAAASUVORK5CYII=",blurWidth:4,blurHeight:8},rl=a(4982),rc=a.n(rl),rd=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"basics",className:rc().SectionBasics,guideImage:ro,children:[(0,n.jsxs)(nH,{className:rc().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_BASICS_TITLE,textAscii:il.SECTION_BASICS_TITLE,className:rc().titleBlock}),(0,n.jsx)(n5,{text:ic.SECTION_BASICS_CONTENT,className:rc().textBlock,asciiSettings:{wrapMaxCols:"54"}})]}),(0,n.jsxs)(nH,{className:rc().rowBlock2,children:[(0,n.jsx)(ii,{image:e[ix.basics_tablet],useAlpha:!0,alt:ic.SECTION_BASICS_IMAGE_ALT,className:rc().image,id:"tablet_1",index:1}),(0,n.jsx)(nJ,{text:ic.SECTION_BASICS_NUMBER,className:rc().number,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(nJ,{className:rc().detailRight,text:il.SECTION_BASICS_DETAIL_RIGHT,animation:!0,animationSettings:{...n$.SECTION_BASICS_DETAIL_RIGHT,delayOffset:0},effects:[...nX.SECTION_BASICS_DETAIL]}),(0,n.jsx)(nJ,{className:rc().line,text:il.SECTION_BASICS_LINE,animation:!0,animationSettings:{...n$.SECTION_BASICS_LINE,delayOffset:0},effects:[...nX.BASIC_LINE]}),(0,n.jsx)(nJ,{text:ic.SECTION_BASICS_CAPTION_ASTERISK,className:rc().asterisks,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:0},effects:[...nX.ASCII_DETAIL_ASTERISKS]}),(0,n.jsx)(n5,{text:ic.SECTION_BASICS_CAPTION,paragraphIndent:!1,asciiSettings:{wrapMaxCols:"36",className:rc().caption,contentClassName:nY().contentArt,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{className:rc().ticker,text:il.SECTION_BASIC_TICKER,ticker:!0,tickerSettings:{interval:2,numCols:69},animation:!0,animationSettings:{...n$.SECTION_BASICS_TICKER,delayOffset:0},effects:[...nX.SECTION_BASICS_TICKER]})]})]})},rm={src:"/_next/static/media/guide_getting-started.3623f781.png",height:2576,width:1536,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAQAAACb+P2wAAAAXElEQVR42mNg4jXkYGD4z8DAwODPwMDpI8QgxMDLkM8EpCQKxAsFGCwtF7yd+3LNp5MHGRjMWl51Pat9t3w/AwMLAzsD2yVWIO3GyMDQxLCDAQQYA5iymXKZApkAY/IUQeBungoAAAAASUVORK5CYII=",blurWidth:5,blurHeight:8},ru=a(1673),rh=a.n(ru),r_=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"getting-started",className:rh().SectionGettingStarted,guideImage:rm,children:[(0,n.jsxs)(nH,{className:rh().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_GETTING_STARTED_TITLE,textAscii:il.SECTION_GETTING_STARTED_TITLE,className:rh().titleBlock}),(0,n.jsx)(n5,{className:rh().textBlock,text:ic.SECTION_GETTING_STARTED_CONTENT,asciiSettings:{wrapMaxCols:"54"}}),(0,n.jsx)(nJ,{className:rh().detailLeft,text:il.SECTION_GETTING_STARTED_DETAIL_LEFT,animation:!0,animationSettings:{...n$.SECTION_GETTING_STARTED_DETAIL_LEFT},effects:[...nX.SECTION_GETTING_STARTED_DETAIL_LEFT]})]}),(0,n.jsxs)(nH,{className:rh().rowBlock2,children:[(0,n.jsx)(nJ,{text:ic.SECTION_GETTING_STARTED_NUMBER,className:rh().number,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(ii,{image:e[ix.getting_started_tablet],alt:ic.SECTION_GETTING_STARTED_IMAGE_ALT,className:rh().image,id:"tablet_2",index:2}),(0,n.jsx)(n5,{text:ic.SECTION_GETTING_STARTED_CAPTION,paragraphIndent:!1,asciiSettings:{wrapMaxCols:40,className:rh().caption,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}})]}),(0,n.jsxs)(nH,{className:rh().rowBlock3,children:[(0,n.jsx)(nJ,{className:rh().detailBottom,text:il.SECTION_GETTING_STARTED_DETAIL_LEFT_2,animationSettings:{...n$.SECTION_GETTING_STARTED_DETAIL_LEFT},effects:[...nX.SECTION_GETTING_STARTED_DETAIL_LEFT]}),(0,n.jsx)(nJ,{text:ic.SECTION_GETTING_STARTED_END,className:rh().end,animationSettings:{...n$.SECTION_GETTING_STARTED_DETAIL_END,delayOffset:0},effects:[...nX.SECTION_GETTING_STARTED_DETAIL_END]})]}),(0,n.jsx)(i7,{className:rh().divider})]})},rg={src:"/_next/static/media/guide_how-it-works.843229b4.png",height:4688,width:1536,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAICAYAAAA870V8AAAAb0lEQVR4nGNkYGDgFBIWYvnx/cc3xuDgYM61a9f+a29v/8mYmZmpKSsru9be3v41o5+fn6Cenl60trb2d0YXF5cjAQEBYtu2betl1NXV9UlMTJT4/v37RUagCMP9+/fnAZXqgYxmTE1NtVRWVuYCAK+IJSEGdJInAAAAAElFTkSuQmCC",blurWidth:3,blurHeight:8},rp=a(1094),rx=a.n(rp),rv=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"how-it-works",className:rx().SectionHowItWorks,guideImage:rg,children:[(0,n.jsxs)(nH,{className:rx().rowBlock1,children:[(0,n.jsx)(nJ,{className:rx().asterisks,text:il.SECTION_HOW_IT_WORKS_ASTERISK,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:0},effects:[...nX.ASCII_DETAIL_ASTERISKS]}),(0,n.jsx)(iI,{className:rx().titleBlock,text:ic.SECTION_HOW_IT_WORKS_TITLE,textAscii:il.SECTION_HOW_IT_WORKS_TITLE}),(0,n.jsx)(nJ,{className:rx().detailRight,text:il.SECTION_HOW_IT_WORKS_DETAIL_RIGHT,animation:!0,animationSettings:{...n$.SECTION_HOW_IT_WORKS_DETAIL,delayOffset:0},effects:[...nX.SECTION_HOW_IT_WORKS_DETAIL_RIGHT]}),(0,n.jsx)(n5,{className:rx().textBlock,text:ic.SECTION_HOW_IT_WORKS_CONTENT,asciiSettings:{wrapMaxCols:45}})]}),(0,n.jsxs)(nH,{className:rx().rowBlock2,children:[(0,n.jsx)(nJ,{text:ic.SECTION_HOW_IT_WORKS_NUMBER_1,className:rx().number1,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(ii,{className:rx().image1,image:e[ix.how_it_works_1_tablet],alt:ic.SECTION_HOW_IT_WORKS_IMAGE_ALT_1,id:"tablet_3",index:3}),(0,n.jsx)(n5,{text:ic.SECTION_HOW_IT_WORKS_CAPTION_1,paragraphIndent:!1,asciiSettings:{wrapMaxCols:55,className:rx().caption1,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{className:rx().detailLeft1,text:il.SECTION_HOW_IT_WORKS_DETAIL_LEFT_01,animation:!0,animationSettings:{...n$.SECTION_HOW_IT_WORKS_DETAIL,delayOffset:0},effects:[...nX.SECTION_HOW_IT_WORKS_DETAIL_LEFT]})]}),(0,n.jsxs)(nH,{className:rx().rowBlock3,children:[(0,n.jsx)(nJ,{className:rx().number2,text:ic.SECTION_HOW_IT_WORKS_NUMBER_2,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(ii,{className:rx().image2,image:e[ix.how_it_works_2_tablet],alt:ic.SECTION_HOW_IT_WORKS_IMAGE_ALT_2,id:"tablet_4",index:4}),(0,n.jsx)(n5,{text:ic.SECTION_HOW_IT_WORKS_CAPTION_2,paragraphIndent:!1,asciiSettings:{wrapMaxCols:50,className:rx().caption2,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}})]}),(0,n.jsxs)(nH,{className:rx().rowBlock4,children:[(0,n.jsx)(nJ,{className:rx().number3,text:ic.SECTION_HOW_IT_WORKS_NUMBER_3,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(nJ,{className:rx().detailLeft2,text:il.SECTION_HOW_IT_WORKS_DETAIL_LEFT_02,animationSettings:{...n$.SECTION_HOW_IT_WORKS_DETAIL,delayOffset:0},effects:[...nX.SECTION_HOW_IT_WORKS_DETAIL_RIGHT]}),(0,n.jsx)(ii,{className:rx().image3,image:e[ix.how_it_works_3_tablet],alt:ic.SECTION_HOW_IT_WORKS_IMAGE_ALT_3,id:"tablet_5",index:5}),(0,n.jsx)(n5,{text:ic.SECTION_HOW_IT_WORKS_CAPTION_3,paragraphIndent:!1,asciiSettings:{wrapMaxCols:55,className:rx().caption3,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}})]}),(0,n.jsx)(i7,{className:rx().divider})]})},rC={src:"/_next/static/media/guide_obstacles.5f5a5d79.png",height:2648,width:1536,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAQAAACb+P2wAAAAPElEQVR42iXKSwrAIBAE0WdQ8wGFQBa5/0kdnF4UDVXcpsNe1Vx6MHBqwSpk6gLd8OSdfm+64TN3s+uiLCVfAOTxIpyBAAAAAElFTkSuQmCC",blurWidth:5,blurHeight:8},rb=a(5876),rf=a.n(rb),rI=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"obstacles",className:rf().SectionObstacles,guideImage:rC,children:[(0,n.jsxs)(nH,{className:rf().rowBlock1,children:[(0,n.jsx)(iI,{className:rf().titleBlock,text:ic.SECTION_OBSTACLES_TITLE,textAscii:il.SECTION_OBSTACLES_TITLE}),(0,n.jsx)(iW,{className:rf().obstaclesScene})]}),(0,n.jsxs)(nH,{className:rf().rowBlock2,children:[(0,n.jsx)(n5,{className:rf().textBlock,text:ic.SECTION_OBSTACLES_CONTENT,asciiSettings:{wrapMaxCols:"44"}}),(0,n.jsx)(nJ,{className:rf().asterisks,text:ic.SECTION_OBSTACLES_ASTERISKS,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:0},effects:[...nX.ASCII_DETAIL_ASTERISKS]})]}),(0,n.jsx)(i7,{className:rf().divider})]})},rS={src:"/_next/static/media/guide_microsoft.9532bff5.png",height:3696,width:1536,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAICAQAAACW5o33AAAAO0lEQVR42mNgYANCLgYgEABCIOBj4GVg4GYQZWBmEJCwVGxkZWBgOcCwmYEhS65tcdNkBg/jtf83fAAAausJgS+hI2AAAAAASUVORK5CYII=",blurWidth:3,blurHeight:8},rT=a(4125),rN=a.n(rT),rE=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"microsoft",className:rN().SectionMicrosoft,guideImage:rS,children:[(0,n.jsxs)(nH,{className:rN().rowBlock1,children:[(0,n.jsx)(iI,{className:rN().titleBlockLeft,text:ic.SECTION_MICROSOFT_TITLE,textAscii:il.SECTION_MICROSOFT_TITLE}),(0,n.jsx)(iI,{className:rN().titleBlockRight,textAscii:il.SECTION_MICROSOFT_TITLE_2,asciiSettings:{animationSettings:{...n$.SECTION_MICROSOFT_TITLE,delayOffset:0}}}),(0,n.jsx)(nJ,{className:rN().date,text:ic.SECTION_MICROSOFT_DATE,animationSettings:{...n$.SECTION_MICROSOFT_DATE},effects:[...nX.SECTION_MICROSOFT_DATE]})]}),(0,n.jsxs)(nH,{className:rN().rowBlock2,children:[(0,n.jsx)(n5,{className:rN().textBlock,text:ic.SECTION_MICROSOFT_CONTENT,links:ic.SECTION_MICROSOFT_LINKS_TABLET,asciiSettings:{wrapMaxCols:"44"}}),(0,n.jsx)(nJ,{className:rN().detailLeft,text:il.SECTION_MICROSOFT_DETAIL_LEFT,animationSettings:{...n$.IMAGE_NUMBER,delayOffset:0},effects:[...nX.SECTION_MICROSOFT_DETAIL_LEFT]})]}),(0,n.jsxs)(nH,{className:rN().rowBlock3,children:[(0,n.jsx)(nJ,{className:rN().microsoftLogo,text:il.SECTION_MICROSOFT_LOGO,animation:!0,animationSettings:{...n$.SECTION_MICROSOFT_LOGO,delayOffset:0},effects:[...nX.SECTION_MICROSOFT_LOGO]}),(0,n.jsx)(nJ,{className:rN().detailRight,text:il.SECTION_MICROSOFT_DETAIL_RIGHT,animationSettings:{...n$.SECTION_MICROSOFT_DETAIL,delayOffset:0},effects:[...nX.SECTION_MICROSOFT_DETAIL_LEFT]})]}),(0,n.jsxs)(nH,{className:rN().rowBlock4,children:[(0,n.jsx)(nJ,{className:rN().number,text:ic.SECTION_MICROSOFT_NUMBER,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(ii,{className:rN().image,image:e[ix.microsoft_tablet],alt:ic.SECTION_MICROSOFT_IMAGE_ALT,id:"tablet_6",index:6}),(0,n.jsx)(nJ,{className:rN().detailBottom,text:il.SECTION_MICROSOFT_DETAIL_END,animationSettings:{...n$.SECTION_MICROSOFT_DETAIL_END},effects:[...nX.SECTION_DOWNLOAD_DETAIL_LEFT]})]})]})},rk={src:"/_next/static/media/guide_download.f672479f.png",height:1446,width:1536,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAQAAABuBnYAAAAAVklEQVR42mNgYGFgZEABTEAhGGRmAAMuBmEGATBkYQADbqCAEIMoUIIBrF1WQFRKWlBKSFxMmZsBBNwFzWTtRe1FTeXcBRmwgP+T/0/+B8Qg+HvKnykARDQQV1+Rm/AAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},rA=a(7227),rj=a.n(rA),ry=function(){return(0,n.jsx)(nR,{sectionId:"download",className:rj().SectionDownload,guideImage:rk,children:(0,n.jsxs)(nH,{className:rj().rowBlock1,children:[(0,n.jsx)(nJ,{className:rj().frame,text:il.SECTION_DOWNLOAD_FRAME,animationSettings:{...n$.DOWNLOAD_FRAME},effects:[...nX.DOWNLOAD_FRAME]}),(0,n.jsx)(iI,{className:rj().titleBlock,text:ic.SECTION_DOWNLOAD_TITLE,textAscii:il.SECTION_DOWNLOAD_TITLE}),(0,n.jsx)(n5,{paragraphIndent:!1,className:rj().info,text:ic.SECTION_DOWNLOAD_INFO,alt:ic.SECTION_DOWNLOAD_INFO,asciiSettings:{wrapMaxCols:42,animationSettings:{...n$.DOWNLOAD_INFO}}}),(0,n.jsx)(iX,{frameAscii:il.SECTION_DOWNLOAD_BUTTON_FRAME,frameAsciiRollover:il.SECTION_DOWNLOAD_BUTTON_FRAME_ROLLOVER}),(0,n.jsx)(nH,{className:rj().rowBlock2,children:(0,n.jsx)(nJ,{className:rj().detailRight,text:il.SECTION_DOWNLOAD_DETAIL_RIGHT,animationSettings:{...n$.ASCII_DETAIL,delayOffset:.5},effects:[...nX.SECTION_DOWNLOAD_DETAIL_RIGHT]})})]})})},rw=a(6902),rL=a.n(rw),rO=function(){return(0,n.jsxs)("div",{className:rL().SourceCodeTablet,children:[(0,n.jsx)(ra,{}),(0,n.jsx)(rr,{}),(0,n.jsx)(rd,{}),(0,n.jsx)(rv,{}),(0,n.jsx)(r_,{}),(0,n.jsx)(rI,{}),(0,n.jsx)(rE,{}),(0,n.jsx)(ry,{})]})},rB=a(9657),rR=a.n(rB),rD=function(e){let{className:t}=e;return(0,n.jsx)("div",{className:"".concat(rR().Divider," ").concat(t),children:(0,n.jsx)("div",{className:rR().dividerContainer,children:(0,n.jsx)(nJ,{className:rR().dividerBlock,contentClassName:rR().content,text:io.DIVIDER,animation:!0,animationSettings:{...n$.DIVIDER_MOBILE},effects:[...nX.DIVIDER],inViewAppearRootMargin:"0px 0px -10% 0px"})})})},rM={src:"/_next/static/media/guide_header.f7d4ccf6.png",height:1538,width:781,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAQAAAB0OpaOAAAAS0lEQVR42gWAsQmAMBAA75NPockrqJ0IBoKFIJau4gouY+syDhfIugRUAgzkZmXjsXuiGxO/vTPuEygcttOSznhRgoLSE/EgODxSAeG5BVM2GoMcAAAAAElFTkSuQmCC",blurWidth:4,blurHeight:8},rH=a(7070),rF=a.n(rH),rP=function(){let{assetMap:e,article:t}=nA(),{author:a,published:s}=t;return(0,n.jsx)(nR,{sectionId:"header",className:rF().SectionHeader,guideImage:rM,guideOffset:-64,children:(0,n.jsxs)(nH,{className:rF().rowBlock1,children:[(0,n.jsx)(iu,{}),(0,n.jsx)(nJ,{className:rF().detailLeft,text:io.HEADER_DETAIL_LEFT,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_DETAILS,animationSettings:{...n$.SECTION_HEADER_DETAIL_LEFT},effects:[...nX.HEADER_DETAILS]}),(0,n.jsx)(nJ,{className:rF().detailRight,text:io.HEADER_DETAIL_RIGHT,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_DETAILS,animationSettings:{...n$.SECTION_HEADER_DETAIL_RIGHT},effects:[...nX.HEADER_DETAILS]}),(0,n.jsx)(ii,{image:e[ix.header_author_desktop],alt:ic.SECTION_HEADER_IMAGE_ALT,className:rF().authorImage,id:"mobile_header",index:-1,animationSettings:{...n$.SECTION_HEADER_IMAGE}}),(0,n.jsx)(nJ,{className:rF().articleAuthorBy,contentClassName:nY().contentBody,text:"".concat(ic.HEADER_AUTHOR_BY),alt:void 0,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INFO,animationSettings:{...n$.SECTION_HEADER_AUTHOR_BY},effects:[...nX.HEADER_INFO]}),(0,n.jsx)(nJ,{className:rF().articleAuthor,contentClassName:nY().contentBodyBold,text:a,alt:"".concat(ic.HEADER_AUTHOR_BY).concat(a),animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INFO,animationSettings:{...n$.SECTION_HEADER_AUTHOR},effects:[...nX.HEADER_INFO]}),(0,n.jsx)(nJ,{className:rF().articlePublished,contentClassName:nY().contentBody,text:s,alt:s,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INFO,animationSettings:{...n$.SECTION_HEADER_PUBLISHED},effects:[...nX.HEADER_INFO]}),(0,n.jsx)(nJ,{className:rF().eyebrow,contentClassName:rF().eyebrowContent,text:ic.HEADER_EYEBROW,alt:ic.HEADER_EYEBROW,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INFO,animationSettings:{...n$.SECTION_HEADER_EYEBROW},enableReactivity:!1}),(0,n.jsx)(nJ,{className:rF().title,contentClassName:rF().titleContent,text:ic.HEADER_TITLE,alt:ic.HEADER_TITLE,altTag:"h2",wrapMaxCols:24,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_TITLE,animationSettings:{...n$.SECTION_HEADER_TITLE},enableReactivity:!1}),(0,n.jsx)(n5,{paragraphIndent:!1,className:rF().body,contentClassName:nY().contentBody,text:ic.HEADER_BODY,alt:ic.HEADER_BODY,asciiSettings:{wrapMaxCols:28,animation:nJ.REVEAL_ANIMS.TYPE_REVEAL_ARTICLE_INTRO_COPY,animationSettings:{...n$.SECTION_HEADER_INTRO_COPY},effects:[]}}),(0,n.jsx)(rD,{breakpoint:"mobile",className:rF().divider})]})})},rW={src:"/_next/static/media/guide_code.b60b3049.png",height:4602,width:780,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAICAQAAACSE13KAAAAIElEQVR42mP4z8CwOZVh+xYGBjaGOmmGxXkMDLwMrhwAU4kFjd+gykgAAAAASUVORK5CYII=",blurWidth:1,blurHeight:8},rG=a(4231),rU=a.n(rG),rV=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"code",className:rU().SectionCode,guideImage:rW,children:[(0,n.jsxs)(nH,{className:rU().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_CODE_TITLE,textAscii:io.SECTION_CODE_TITLE,className:rU().titleBlock}),(0,n.jsx)(n5,{text:ic.SECTION_CODE_CONTENT_PART1+"\n"+ic.SECTION_CODE_CONTENT_PART2+"\n"+ic.SECTION_CODE_CONTENT_PART3+"\n"+ic.SECTION_CODE_CONTENT_PART4,className:rU().textBlock1,asciiSettings:{wrapMaxCols:"30"}})]}),(0,n.jsxs)(nH,{className:rU().rowBlock2,children:[(0,n.jsx)(ii,{image:e[ix.pattern_shadow_mobile],className:rU().image1shadow,id:"mobile_shadow",staticImage:!0}),(0,n.jsx)(ii,{image:e[ix.code_mobile],alt:ic.SECTION_CODE_IMAGE_ALT,className:rU().image1,useAlpha:!1,id:"mobile_0",index:0}),(0,n.jsx)(n5,{text:ic.SECTION_CODE_CAPTION,paragraphIndent:!1,asciiSettings:{wrapMaxCols:29,className:rU().caption,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(n5,{text:ic.SECTION_CODE_CONTENT_PART5+"\n"+ic.SECTION_CODE_CONTENT_PART6,className:rU().textBlock2,paragraphIndent:!1,asciiSettings:{wrapMaxCols:"30"}}),(0,n.jsx)(nJ,{text:ic.SECTION_CODE_NUMBER,className:rU().number,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(nJ,{text:ic.SECTION_CODE_CAPTION_ASTERISK,className:rU().asterisks,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:0},effects:[...nX.ASCII_DETAIL_ASTERISKS]})]}),(0,n.jsxs)(nH,{className:rU().rowBlock3,children:[(0,n.jsx)(ii,{image:e[ix.code_2_mobile],alt:ic.SECTION_CODE_IMAGE_2_ALT,className:rU().image2,id:"mobile_0_2",index:0}),(0,n.jsx)(n5,{text:ic.SECTION_CODE_CAPTION_2,paragraphIndent:!1,asciiSettings:{wrapMaxCols:30,className:rU().caption2,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{text:ic.SECTION_CODE_NUMBER_2,className:rU().number2,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(nJ,{className:rU().detailEnd,text:io.SECTION_CODE_DETAIL_END,animationSettings:{...n$.IMAGE_NUMBER,delayOffset:0},effects:[...nX.BASIC_DETAIL]}),(0,n.jsx)(n5,{text:ic.SECTION_CODE_CONTENT_PART7,className:rU().textBlock3,paragraphIndent:!1,asciiSettings:{wrapMaxCols:30}}),(0,n.jsx)(n5,{text:ic.SECTION_CODE_CONTENT_PART8,className:rU().textBlock4,paragraphIndent:!1,asciiSettings:{wrapMaxCols:25}}),(0,n.jsx)(rD,{className:rU().divider})]})]})},rY={src:"/_next/static/media/guide_basics.24bfd661.png",height:2864,width:780,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAICAQAAAB5JObJAAAAMUlEQVR42mNg4GRgYbAS8xZiYBBi4GY4q3hLg+HxogcPGe7zPBFgYGBjYGVw4PHlAQCa4gidgJAs8gAAAABJRU5ErkJggg==",blurWidth:2,blurHeight:8},rZ=a(3432),rK=a.n(rZ),rq=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"basics",className:rK().SectionBasics,guideImage:rY,children:[(0,n.jsxs)(nH,{className:rK().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_BASICS_TITLE,textAscii:io.SECTION_BASICS_TITLE,className:rK().titleBlock}),(0,n.jsx)(n5,{text:ic.SECTION_BASICS_CONTENT,className:rK().textBlock,asciiSettings:{wrapMaxCols:"37"}})]}),(0,n.jsxs)(nH,{className:rK().rowBlock2,children:[(0,n.jsx)(ii,{image:e[ix.basics_mobile],useAlpha:!0,alt:ic.SECTION_BASICS_IMAGE_ALT,className:rK().image1,id:"mobile_1",index:1}),(0,n.jsx)(nJ,{text:ic.SECTION_BASICS_NUMBER,className:rK().number,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(nJ,{className:rK().detailRight,text:io.SECTION_BASICS_DETAIL_RIGHT,animation:!0,animationSettings:{...n$.SECTION_BASICS_DETAIL_RIGHT,delayOffset:0},effects:[...nX.SECTION_BASICS_DETAIL]}),(0,n.jsx)(nJ,{className:rK().line,text:io.SECTION_BASICS_LINE,animation:!0,animationSettings:{...n$.SECTION_BASICS_LINE,delayOffset:0},effects:[...nX.BASIC_LINE]}),(0,n.jsx)(nJ,{className:rK().detailLeft,text:io.SECTION_BASICS_DETAIL_LEFT,animation:!0,animationSettings:{...n$.SECTION_BASICS_DETAIL_RIGHT,delayOffset:0},effects:[...nX.SECTION_BASICS_DETAIL]}),(0,n.jsx)(nJ,{className:rK().ticker,text:io.SECTION_BASIC_TICKER,contentClassName:rK().tickerAsciiContent,ticker:!0,tickerSettings:{interval:2,numCols:45},animation:!0,animationSettings:{...n$.SECTION_BASICS_TICKER,delayOffset:0},effects:[...nX.SECTION_BASICS_TICKER]})]})]})},rQ={src:"/_next/static/media/guide_getting-started.401dedc3.png",height:2630,width:780,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAICAQAAAB5JObJAAAAKElEQVR42mNg4GAAAi4GfgYGEUZRBjchbyEGMOhbv2I9Q23ehDwwDwBHXwV+ZXMcngAAAABJRU5ErkJggg==",blurWidth:2,blurHeight:8},rz=a(8098),rJ=a.n(rz),rX=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"getting-started",className:rJ().SectionGettingStarted,guideImage:rQ,children:[(0,n.jsxs)(nH,{className:rJ().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_GETTING_STARTED_TITLE,textAscii:io.SECTION_GETTING_STARTED_TITLE,className:rJ().titleBlock}),(0,n.jsx)(nJ,{className:rJ().detailLeft1,text:io.SECTION_GETTING_STARTED_DETAIL_LEFT_1,animation:!0,animationSettings:{...n$.SECTION_GETTING_STARTED_DETAIL_LEFT},effects:[...nX.SECTION_GETTING_STARTED_DETAIL_LEFT]}),(0,n.jsx)(n5,{text:ic.SECTION_GETTING_STARTED_CONTENT,className:rJ().textBlock,asciiSettings:{wrapMaxCols:"30"}})]}),(0,n.jsxs)(nH,{className:rJ().rowBlock2,children:[(0,n.jsx)(nJ,{className:rJ().detailLeft2,text:io.SECTION_GETTING_STARTED_DETAIL_LEFT_2,animation:!0,animationSettings:{...n$.SECTION_GETTING_STARTED_DETAIL_LEFT},effects:[...nX.SECTION_GETTING_STARTED_DETAIL_LEFT]}),(0,n.jsx)(nJ,{text:ic.SECTION_GETTING_STARTED_NUMBER,className:rJ().number,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(ii,{image:e[ix.getting_started_mobile],alt:ic.SECTION_GETTING_STARTED_IMAGE_ALT,className:rJ().image1,id:"mobile_2",index:2}),(0,n.jsx)(n5,{text:ic.SECTION_GETTING_STARTED_CAPTION,className:rJ().caption,paragraphIndent:!1,asciiSettings:{className:rJ().caption,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{text:ic.SECTION_GETTING_STARTED_END,className:rJ().end,animationSettings:{...n$.SECTION_GETTING_STARTED_DETAIL_END,delayOffset:0},effects:[...nX.SECTION_GETTING_STARTED_DETAIL_END]})]}),(0,n.jsx)(rD,{className:rJ().divider})]})},r$={src:"/_next/static/media/guide_how-it-works.b7eca948.png",height:3716,width:780,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAICAQAAAB5JObJAAAAMElEQVR42mOQ5rPjYmAQZeBiSFJcrcBQnrx2OUNuRXUCQ3Zqly9Dve22xQzuQrlKAK4sCnH0eukjAAAAAElFTkSuQmCC",blurWidth:2,blurHeight:8},r0=a(1483),r1=a.n(r0),r2=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"how-it-works",className:r1().SectionHowItWorks,guideImage:r$,children:[(0,n.jsxs)(nH,{className:r1().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_HOW_IT_WORKS_TITLE,textAscii:io.SECTION_HOW_IT_WORKS_TITLE,className:r1().titleBlock}),(0,n.jsx)(nJ,{text:ic.SECTION_HOW_IT_WORKS_ASTERISKS,className:r1().asterisks,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:0},effects:[...nX.ASCII_DETAIL_ASTERISKS]}),(0,n.jsx)(n5,{text:ic.SECTION_HOW_IT_WORKS_CONTENT,className:r1().textBlock,asciiSettings:{wrapMaxCols:32}})]}),(0,n.jsxs)(nH,{className:r1().rowBlock2,children:[(0,n.jsx)(nJ,{text:ic.SECTION_HOW_IT_WORKS_NUMBER_1,className:r1().number1,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(ii,{image:e[ix.how_it_works_1_mobile],alt:ic.SECTION_HOW_IT_WORKS_IMAGE_ALT_1,className:r1().image1,id:"mobile_3",index:3}),(0,n.jsx)(n5,{text:ic.SECTION_HOW_IT_WORKS_CAPTION_1,paragraphIndent:!1,asciiSettings:{wrapMaxCols:35,className:r1().caption1,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{className:r1().detailLeft,text:io.SECTION_HOW_IT_WORKS_DETAIL_LEFT,animation:!0,animationSettings:{...n$.SECTION_HOW_IT_WORKS_DETAIL,delayOffset:0},effects:[...nX.SECTION_HOW_IT_WORKS_DETAIL_LEFT]})]}),(0,n.jsxs)(nH,{className:r1().rowBlock3,children:[(0,n.jsx)(nJ,{text:ic.SECTION_HOW_IT_WORKS_NUMBER_2,className:r1().number2,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(ii,{image:e[ix.how_it_works_2_mobile],alt:ic.SECTION_HOW_IT_WORKS_IMAGE_ALT_2,className:r1().image2,id:"mobile_4",index:4}),(0,n.jsx)(n5,{text:ic.SECTION_HOW_IT_WORKS_CAPTION_2,paragraphIndent:!1,asciiSettings:{wrapMaxCols:29,className:r1().caption2,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}}),(0,n.jsx)(nJ,{className:r1().detailLeft2,text:io.SECTION_HOW_IT_WORKS_DETAIL_LEFT_2,animationSettings:{...n$.SECTION_HOW_IT_WORKS_DETAIL,delayOffset:0},effects:[...nX.SECTION_HOW_IT_WORKS_DETAIL_RIGHT]})]}),(0,n.jsxs)(nH,{className:r1().rowBlock4,children:[(0,n.jsx)(nJ,{text:ic.SECTION_HOW_IT_WORKS_NUMBER_3,className:r1().number3,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(ii,{image:e[ix.how_it_works_3_mobile],alt:ic.SECTION_HOW_IT_WORKS_IMAGE_ALT_3,className:r1().image3,id:"mobile_5",index:5}),(0,n.jsx)(n5,{text:ic.SECTION_HOW_IT_WORKS_CAPTION_3,paragraphIndent:!1,asciiSettings:{wrapMaxCols:30,className:r1().caption3,contentClassName:nY().caption,animationSettings:{...n$.CAPTION,delayOffset:0}}})]}),(0,n.jsx)(rD,{className:r1().divider})]})},r4={src:"/_next/static/media/guide_obstacles.18ecff5e.png",height:2562,width:780,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAICAQAAAB5JObJAAAAJklEQVR42hXGMQoAIAwEsICtiyB08P9flVtCODYdysqa8biGTKkPCqQAoYzsWk4AAAAASUVORK5CYII=",blurWidth:2,blurHeight:8},r3=a(8817),r5=a.n(r3),r8=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"obstacles",className:r5().SectionObstacles,guideImage:r4,children:[(0,n.jsxs)(nH,{className:r5().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_OBSTACLES_TITLE,textAscii:io.SECTION_OBSTACLES_TITLE,className:r5().titleBlock}),(0,n.jsx)(iW,{className:r5().obstaclesScene})]}),(0,n.jsxs)(nH,{className:r5().RowBlock2,children:[(0,n.jsx)(nJ,{text:ic.SECTION_OBSTACLES_ASTERISKS,className:r5().asterisks,animationSettings:{...n$.ASCII_DETAIL_ASTERISKS,delayOffset:0},effects:[...nX.ASCII_DETAIL_ASTERISKS]}),(0,n.jsx)(n5,{text:ic.SECTION_OBSTACLES_CONTENT,className:r5().textBlock,asciiSettings:{wrapMaxCols:"30"}})]}),(0,n.jsx)(rD,{className:r5().divider})]})},r6={src:"/_next/static/media/guide_microsoft.4c881ed9.png",height:3828,width:780,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAICAQAAAB5JObJAAAALklEQVR42mNg4GBgZ2AQZeAFEVwMDPwM3AyKgmJSDAwsDMwMMQq+cgxznix9AgAhkQTENF/efwAAAABJRU5ErkJggg==",blurWidth:2,blurHeight:8},r7=a(7454),r9=a.n(r7),oe=function(){let{assetMap:e}=nA();return(0,n.jsxs)(nR,{sectionId:"microsoft",className:r9().SectionMicrosoft,guideImage:r6,children:[(0,n.jsxs)(nH,{className:r9().rowBlock1,children:[(0,n.jsx)(iI,{text:ic.SECTION_MICROSOFT_TITLE,textAscii:io.SECTION_MICROSOFT_TITLE,className:r9().titleBlock1}),(0,n.jsx)(nJ,{className:r9().date,text:ic.SECTION_MICROSOFT_DATE,animationSettings:{...n$.SECTION_MICROSOFT_DATE},effects:[...nX.SECTION_MICROSOFT_DATE]}),(0,n.jsx)(iI,{textAscii:io.SECTION_MICROSOFT_TITLE_2,className:r9().titleBlock2,asciiSettings:{animationSettings:{...n$.SECTION_MICROSOFT_TITLE,delayOffset:0}}}),(0,n.jsx)(n5,{text:ic.SECTION_MICROSOFT_CONTENT,links:ic.SECTION_MICROSOFT_LINKS_MOBILE,className:r9().textBlock,asciiSettings:{wrapMaxCols:"32"}})]}),(0,n.jsxs)(nH,{className:r9().rowBlock2,children:[(0,n.jsx)(nJ,{className:r9().logo,text:io.SECTION_MICROSOFT_LOGO,animation:!0,animationSettings:{...n$.SECTION_MICROSOFT_LOGO,delayOffset:0},effects:[...nX.SECTION_MICROSOFT_LOGO]}),(0,n.jsx)(nJ,{className:r9().detailLeft,text:io.SECTION_MICROSOFT_DETAIL_LEFT,animation:!0,animationSettings:{...n$.SECTION_MICROSOFT_DETAIL,delayOffset:0},effects:[...nX.SECTION_MICROSOFT_DETAIL_LEFT]}),(0,n.jsx)(nJ,{className:r9().number,text:ic.SECTION_MICROSOFT_NUMBER,animationSettings:{...n$.IMAGE_NUMBER},effects:[...nX.IMAGE_NUMBER]}),(0,n.jsx)(ii,{image:e[ix.microsoft_mobile],alt:ic.SECTION_MICROSOFT_IMAGE_ALT,className:r9().image1,id:"mobile_6",index:6}),(0,n.jsx)(nJ,{className:r9().detailRight,text:io.SECTION_MICROSOFT_DETAIL_END,animation:!0,animationSettings:{...n$.SECTION_MICROSOFT_DETAIL_END},effects:[...nX.SECTION_DOWNLOAD_DETAIL_LEFT]})]})]})},ot={src:"/_next/static/media/guide_download.96b936aa.png",height:1616,width:780,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAQAAAB0OpaOAAAAP0lEQVR42g2GsRGAMBDD5OQhBdTMweIswUT0IXH+7JMEIIDKlivkD1rSgTKCHjf+Wz93cVEQQ059vFXzkS1rARfSDe9CF6YgAAAAAElFTkSuQmCC",blurWidth:4,blurHeight:8},oa=a(4678),os=a.n(oa),on=function(){return(0,n.jsx)(nR,{sectionId:"download",className:os().SectionDownload,guideImage:ot,children:(0,n.jsxs)(nH,{className:os().rowBlock1,children:[(0,n.jsx)(nJ,{className:os().frame,text:io.SECTION_DOWNLOAD_FRAME,animationSettings:{...n$.DOWNLOAD_FRAME},effects:[...nX.DOWNLOAD_FRAME]}),(0,n.jsx)(iI,{text:ic.SECTION_DOWNLOAD_TITLE,textAscii:io.SECTION_DOWNLOAD_TITLE,className:os().titleBlock}),(0,n.jsx)(n5,{paragraphIndent:!1,className:os().info,text:ic.SECTION_DOWNLOAD_INFO,alt:ic.SECTION_DOWNLOAD_INFO,asciiSettings:{wrapMaxCols:30,animationSettings:{...n$.DOWNLOAD_INFO}},effects:[...nX.DOWNLOAD_FRAME]}),(0,n.jsx)(iX,{frameAscii:io.SECTION_DOWNLOAD_BUTTON_FRAME,frameAsciiRollover:io.SECTION_DOWNLOAD_BUTTON_FRAME_ROLLOVER}),(0,n.jsx)(nJ,{className:os().detail,text:io.SECTION_DOWNLOAD_INFO_DETAIL,animationSettings:{...n$.ASCII_DETAIL,delayOffset:.6},effects:[...nX.SECTION_DOWNLOAD_DETAIL_RIGHT]})]})})},oi=a(3500),or=a.n(oi),oo=function(){return(0,n.jsxs)("div",{className:or().SourceCodeMobile,children:[(0,n.jsx)(rP,{}),(0,n.jsx)(rV,{}),(0,n.jsx)(rq,{}),(0,n.jsx)(r2,{}),(0,n.jsx)(rX,{}),(0,n.jsx)(r8,{}),(0,n.jsx)(oe,{}),(0,n.jsx)(on,{})]})},ol=a(8726),oc=a.n(ol);s=a(9079).Z;var od=function(e){let{pageContainer:t}=e,a=(0,i.useRef)(null),r=(0,i.useRef)(null),o=(0,i.useRef)(null);return(0,i.useEffect)(()=>(a.current&&s&&(o.current=new s({element:r.current,pageContainer:t})),()=>{var e;null===(e=o.current)||void 0===e||e.destroy(),o.current=null}),[a]),(0,n.jsx)("div",{className:oc().SourceCodeGLLayer,ref:a,children:(0,n.jsx)("div",{className:oc().canvasParent,ref:r})})},om=function(e){let{config:t}=e,a=(0,i.useRef)(null),s=nL(a);return(0,n.jsx)(nj,{containerRef:a,article:t.article,assetMap:t.assetMap,children:(0,n.jsxs)("div",{className:"".concat(nC().SourceCode),ref:a,children:["mobile"===s&&(0,n.jsx)(oo,{})||"tablet"===s&&(0,n.jsx)(rO,{})||(0,n.jsx)(i5,{}),void 0!==s&&(0,n.jsx)(od,{pageContainer:a.current})]})})};let ou={"basics_desktop.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/7c1ce251-6476-49e3-8de4-345d9d958e50/basics_desktop.webp","basics_mobile.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/86b79873-f424-4677-b607-55643921c618/basics_mobile.webp","basics_tablet.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/1855fd27-3fd4-4f96-a990-92a6756f0827/basics_tablet.webp","code_1_desktop.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/cd473f74-1dab-440d-83c5-61668e8f86d6/code_1_desktop.webp","code_1_mobile.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/af08381d-a580-4426-8f73-5baa37475d4c/code_1_mobile.webp","code_1_tablet.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/10ab6716-6f53-41d1-83d8-f453c29fe818/code_1_tablet.webp","code_2_desktop.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/cc141f07-e58d-4bc8-881c-73bddc99ca59/code_2_desktop.webp","code_2_mobile.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/c6f5fb2e-e58e-4263-9cbf-c2cd1f8211e7/code_2_mobile.webp","code_2_tablet.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/5985a667-c194-4de7-b226-b53f19230946/code_2_tablet.webp","code_desktop.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/0f7cf208-5db8-4245-9436-d422e7288af1/code_desktop.webp","code_mobile.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/9c1540ec-4735-4220-9065-fda75aff7717/code_mobile.webp","code_tablet.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/e9668edb-8727-4ce4-8cd6-1e775952ecb2/code_tablet.webp","getting-started_desktop.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/9089c2c6-6fd7-40f9-9d3a-e69f9ecefa58/getting-started_desktop.webp","getting-started_mobile.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/1c926cc7-33a2-478c-b8f7-9ed142e6f066/getting-started_mobile.webp","getting-started_tablet.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/0ec84a61-65d8-4148-ac73-bb3c74b44b15/getting-started_tablet.webp","header_author_desktop.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/ec473112-6582-466e-b7a7-dfa91db5b0c0/header_author_desktop.webp","how-it-works_1_desktop.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/4581e4d7-23f0-441f-a7ee-260900e37d07/how-it-works_1_desktop.webp","how-it-works_1_mobile.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/f48cebff-b8ba-4990-af8c-985dd26bd3da/how-it-works_1_mobile.webp","how-it-works_1_tablet.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/bf428e2f-687f-4518-a2c0-d44a6465dac6/how-it-works_1_tablet.webp","how-it-works_2_desktop.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/8ff0ecab-acc2-46fe-9086-b2bcef8440ec/how-it-works_2_desktop.webp","how-it-works_2_mobile.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/ad4da78b-5d2f-40d7-a263-05d2557cfe49/how-it-works_2_mobile.webp","how-it-works_2_tablet.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/e0c7b953-6846-4ed3-9a5e-4521db481dea/how-it-works_2_tablet.webp","how-it-works_3_desktop.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/be240723-9b50-4560-8878-c73375ad78c9/how-it-works_3_desktop.webp","how-it-works_3_mobile.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/bfde48a3-0cd8-4e3c-8dd1-a3f299e0e049/how-it-works_3_mobile.webp","how-it-works_3_tablet.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/90299994-e31a-4a60-8335-ffbbb4b7be4a/how-it-works_3_tablet.webp","microsoft_desktop.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/408d4ccf-0827-4a72-a7d4-ca2956ca17f6/microsoft_desktop.webp","microsoft_mobile.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/5bddc3c9-abbb-4a4c-9d82-2cc43c094106/microsoft_mobile.webp","microsoft_tablet.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/cead0ba2-65da-4217-a619-8b8d349e383d/microsoft_tablet.webp","pattern_shadow_desktop.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/c2d620a1-4b30-4334-81a6-539d0c204b93/pattern_shadow_desktop.webp","pattern_shadow_mobile.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/972c86a6-aeb1-4f64-873f-8ac4830e99de/pattern_shadow_mobile.webp","pattern_shadow_tablet.webp":"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/52aecf0c-f72c-4b5c-831b-b8f1386879df/pattern_shadow_tablet.webp"};var oh=ou;let o_=oh,og={article:{published:"April 2, 2025",author:"Bill Gates"},assetMap:o_};var op=og;function ox(e){let{data:t}=(0,o.ZP)(e.itemCN);if(!t)return(0,n.jsx)(n.Fragment,{});let a=t,s=a.elements.componentName.value;return""===s?(0,n.jsx)(n.Fragment,{}):(console.log("KTakeOver "+s),"Lunar"===s)?(0,n.jsx)(e3,{}):"ComicBook"===s?(0,n.jsx)(nc,{config:nx}):"SourceCode"===s?(0,n.jsx)(om,{config:op}):(0,n.jsx)(n.Fragment,{})}var ov=(0,i.memo)(ox);function oC(e){(0,i.useEffect)(()=>{setInterval(()=>{let e=document.querySelectorAll(".SignupBannerArticleHolder");e.forEach(e=>{(0,l.SN)()&&e.classList.add("Hidden")})},2e3)},[]);var t="",a="",s="";let{data:r}=(0,o.ZP)(e.item.elements.imageAsset.value[0]);return!r||(0,l.SN)()?(0,n.jsx)(n.Fragment,{}):(t=(0,l.t6)(r.elements.desktopImage.value[0].url),a=r.elements.tabletImage.value.length>0?(0,l.t6)(r.elements.tabletImage.value[0].url):(0,l.t6)(r.elements.desktopImage.value[0].url),s=r.elements.mobileImage.value.length>0?(0,l.t6)(r.elements.mobileImage.value[0].url):(0,l.t6)(r.elements.desktopImage.value[0].url),(0,n.jsx)("div",{className:"SignupBannerArticleHolder TopicTimelineSpacer",children:(0,n.jsxs)("div",{className:"SignupBannerArticleHolderInner",children:[(0,n.jsxs)("div",{className:"SignupBannerArticleHolderBack",children:[(0,n.jsx)("img",{className:"DesktopOnly SignupBannerArticleHolderBacki",src:t+"?w=596&h=224&fit=crop&fm=jpg&q=75",alt:"sign up image"}),(0,n.jsx)("img",{className:"TabletOnly SignupBannerArticleHolderBacki",src:a+"?w=522&h=224&fit=crop&fm=jpg&q=75",alt:"sign up image"}),(0,n.jsx)("img",{className:"MobileOnly SignupBannerArticleHolderBacki",src:s+"?w=352&h=454&fit=crop&fm=jpg&q=75",alt:"sign up image"})]}),(0,n.jsxs)("div",{className:"SignupBannerArticleHolderContent",children:[(0,n.jsx)("div",{className:"SignupBannerArticleHolderText",children:(0,n.jsx)("div",{className:"SignupBannerArticleHolderTitle",children:e.item.elements.title.value})}),(0,n.jsx)("div",{className:"SignupBannerArticleHolderButtons",onClick:l.Ok,children:(0,n.jsx)("div",{className:"SignupBannerArticleHolderLabel",children:e.item.elements.buttonLabel.value})})]})]})}))}var ob=(0,i.memo)(oC);let of=0;function oI(e){let{data:t}=(0,o.ZP)(e.codename);if(!t)return(0,n.jsx)(n.Fragment,{});if(!t)return(0,n.jsx)("div",{children:"KItem undefined"});var a=t.system.type;switch(a){case"card":return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(d,{item:t,parentItem:e.parentItem},t.system.codename)});case"card_collections_and_rails":return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(H,{col:t,parentItem:e.parentItem},t.system.codename)});case"list_item":return(0,n.jsx)(G,{item:t,parentItem:e.parentItem},t.system.codename);case"list":if("card"==e.parentItem.system.type)return(0,n.jsx)(Z,{codename:t.system.codename,parentItem:e.parentItem},t.system.codename);return(0,n.jsx)(ek,{codename:t.system.codename,parentItem:e.parentItem},t.system.codename);case"photo_essay":return(0,n.jsx)(et,{codename:t.system.codename,parentItem:e.parentItem},t.system.codename);case"page_break":return(0,n.jsx)(e1,{},t.system.codename);case"body_copy_block":if("topic"==e.parentItem.system.type)return(0,n.jsx)("div",{className:"ArtBody",children:(0,n.jsx)(en,{codename:t.system.codename,parentItem:e.parentItem},t.system.codename)});return(0,n.jsx)(en,{codename:t.system.codename,parentItem:e.parentItem},t.system.codename);case"body_copy_constrained":if("topic"==e.parentItem.system.type)return(0,n.jsx)("div",{className:"ArtBody",children:(0,n.jsx)(eY,{codename:t.system.codename,parentItem:e.parentItem},t.system.codename)});return(0,n.jsx)(eY,{codename:t.system.codename,parentItem:e.parentItem},t.system.codename);case"content_combo":return(0,n.jsx)(er,{codename:t.system.codename,parentItem:e.parentItem},t.system.codename);case"content_lockup_list_slide_or_photo_essay":if("topic"==e.parentItem.system.type||"card_collections_and_rails"==e.parentItem.system.type)return(0,n.jsx)(eS,{codename:t.system.codename,parentItem:e.parentItem},t.system.codename);return(0,n.jsx)(el,{codename:t.system.codename,parentItem:e.parentItem},t.system.codename);case"html_block":return(0,n.jsx)("div",{className:"htmlBlockHolder",dangerouslySetInnerHTML:{__html:t.elements.htmlBlockText.value}});case"menu":return(0,n.jsxs)("p",{children:["menu: ",t.system.name]});case"quote":return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(eO,{item:t})});case"article":if("card_collections_and_rails"==e.parentItem.system.type)return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{children:"article not supported directly in collection, must be wrapped in a card"})});if("card"==e.parentItem.system.type){var s="Articles";return e.parentItem.elements.cardDisplayOptionsListItemType.value.length>0&&(s="Books"),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(em,{codename:t.system.codename,type:s})})}var i="Standard";if(t.elements.specialArticleType.value.length>0&&(i=t.elements.specialArticleType.value[0].name),"Chapter"===i)return of+=1,(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(ew,{item:t,number:of})});return(0,n.jsxs)("p",{children:["article: ",t.system.name+" "+e.parentItem.system.type]});case"inline_video_item":return(0,n.jsx)($,{item:t,parentItem:e.parentItem},t.system.codename);case"sign_up_banner":if("article"==e.parentItem.system.type)return(0,n.jsx)(ob,{item:t,parentItem:e.parentItem},t.system.codename);return(0,n.jsx)(eh,{item:t,parentItem:e.parentItem},t.system.codename);case"video":if("topic"==e.parentItem.system.type)return(0,n.jsx)(n.Fragment,{children:"video"==a?(0,n.jsx)(P,{item:t,parentItem:e.parentItem},t.system.codename):(0,n.jsxs)("div",{children:[" ",t.system.codename," is a ",a]})});if("card_collections_and_rails"==e.parentItem.system.type)return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{children:"video not supported directly in collection, must be wrapped in a card"})});return(0,n.jsx)(n.Fragment,{});case"image_set":if("gallery"==e.parentItem.system.type)return(0,n.jsx)("div",{className:"LI_GalleryItem",children:(0,n.jsx)(N.Z,{itemCN:t.system.codename,isCanvas:!1})});return(0,n.jsx)(N.Z,{itemCN:t.system.codename,isCanvas:!1});case"takeover":return(0,n.jsx)(ov,{itemCN:t.system.codename});case"topic":if("section"==e.parentItem.system.type)return(0,n.jsx)(n.Fragment,{children:"topic"==a?(0,n.jsx)(V,{item:t,parentItem:e.parentItem},t.system.codename):(0,n.jsxs)("div",{children:[" ",t.system.codename," is a ",a]})});return(0,n.jsx)(n.Fragment,{});case"header":return(0,n.jsx)(eg,{item:t,parentItem:e.parentItem},t.system.codename);case"topic_grid":return(0,n.jsx)(ef,{item:t},t.system.codename);case"note":return(0,n.jsx)(eN,{item:t},t.system.codename);case"inline_list":return(0,n.jsx)(ej,{item:t},t.system.codename);case"download":return(0,n.jsx)(eR,{item:t},t.system.codename);case"podcast_episode":return(0,n.jsx)(eF,{item:t},t.system.codename);case"podcasts_config":return(0,n.jsx)(eU,{item:t},t.system.codename);case"featured_in":return(0,n.jsx)(eW,{item:t},t.system.codename);case"initial___topic_paragraph":return(0,n.jsx)(eK,{item:t},t.system.codename);case"initial___topic_paragraph_link":return(0,n.jsx)(eQ,{item:t},t.system.codename);case"initial___topic_paragraph_link_word":return(0,n.jsx)(eJ,{item:t},t.system.codename);case"spacertop":return(0,n.jsx)(e$,{},t.system.codename);default:return(0,n.jsx)(n.Fragment,{})}}var oS=(0,i.memo)(oI)},9355:function(e,t,a){"use strict";var s=a(5893),n=a(6319);function i(e){return(0,s.jsx)(n.Z,{codename:e.codename,parentItem:e.parentItem},e.codename)}t.Z=i},6319:function(e,t,a){"use strict";var s=a(5893),n=a(7294),i=a(5152),r=a.n(i),o=a(9835);function l(e){(0,n.useEffect)(()=>{var e=document.querySelectorAll(".ContentComboHolder");e.length>0&&e.forEach(e=>{e.querySelectorAll(".ContentLockupListSlideOrPEHolder").length>1&&e.classList.add("ContentComboPairedEqual")})},[]);let[t,a]=(0,n.useState)(!1),i=(0,n.useRef)(null);return((0,n.useEffect)(()=>{let e={root:null,rootMargin:"200px",threshold:[.1,.2,.3,.4,.5,.6,.7,.8,.9,1]},t=new IntersectionObserver(e=>{let s=e[0];s.isIntersecting&&(setTimeout(()=>{a(!0)},100),t.disconnect())},e);i.current&&t.observe(i.current)},[]),t)?(0,s.jsx)(o.default,{codename:e.codename,parentItem:e.parentItem},e.codename):(0,s.jsx)("div",{id:"ph_"+e.codename,className:"ItemPlaceHolder",ref:i})}r()(()=>Promise.resolve().then(a.bind(a,9835)),{loadableGenerated:{webpack:()=>[9835]},loading:()=>(0,s.jsx)("h1",{})}),t.Z=(0,n.memo)(l)},730:function(e,t,a){"use strict";a.r(t);var s=a(5893),n=a(7294),i=a(9734),r=a(9868),o=a(4390),l=a(5675),c=a.n(l),d=a(470),m=a(5004),u=a(6735),h=a(5376),_=a(2941),g=a(1590),p=a(4901);function x(e){var t=e.getBoundingClientRect(),a=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(t.bottom<0||t.top-a>=0)}function v(e){let t=(0,n.useContext)(o.Iz),a=(0,n.useRef)(-1),{data:l}=(0,i.ZP)(e.codename);var v="";function C(){let t=h.l3+"_"+e.codename+"_lb",a=document.getElementById(t);var s=null;if(a){let n=a.querySelector("video");if(s=a.querySelector(".LI_VideoHolderLB")){var i,r=x(s);let o=a.querySelector(".IntersectionData");if(o&&(o.innerHTML="CV:"+r),r){let l=null===(i=n.parentElement)||void 0===i?void 0:i.querySelector(".lightBoxControls");n.paused?null==l||l.classList.remove("Hidden"):null==l||l.classList.add("Hidden"),(0,g.f5)(!1),setTimeout(()=>{(null==l?void 0:l.matches(":hover"))?(0,g.cy)(n.id,!1):(0,g.jk)(n.id,!1)},300),(0,g.iv)("V_AutoPlayOn")&&(0,g.ZP)(n.id),(0,g.lG)(n.id);let c=(0,p.eW)(n.id);(0,g.dh)(c)}}}}let b=(0,g.P2)(C,1e3);(0,n.useRef)(null),(0,n.useEffect)(()=>{let e=document.getElementById("LightboxHolder");e&&e.addEventListener("scroll",()=>{b()})},[]);let f=(0,d.Z)();if(!l)return(0,s.jsx)(s.Fragment,{});{let I=e.codename;-1==a.current&&(t.lists.scrollerList.push(I),a.current=t.lists.scrollerList.length-1);var S="",T="0.01",N="none",E="LI_BelowRightRead_Hide";if((null==l?void 0:l.system.type)!="inline_video_item")return(0,s.jsx)(u.Z,{codename:e.codename,parentItem:e.parentItem,num:0,data:l,lbId:e.codename+"_lightbox"});{let k=l;var A=!1;k.elements.dbsrtlink.value.includes("dropbox.com")&&(A=!0);var j=!1;k.elements.dbposterlink.value.includes("dropbox.com")&&(j=!0),e.parentItem.system&&"card"==e.parentItem.system.type&&("<p><br></p>"!=e.parentItem.elements.cardCopyOverRidesArticleTitle.value&&(l.elements.title.value=e.parentItem.elements.cardCopyOverRidesArticleTitle.value),"<p><br></p>"!=e.parentItem.elements.cardCopyOverRidesArticleSubtitle.value&&(l.elements.description.value=e.parentItem.elements.cardCopyOverRidesArticleSubtitle.value),e.parentItem.elements.cardTargetsMainTarget.value.length>0&&(S=e.parentItem.elements.cardTargetsMainTarget.value[0],T="1",N="all",E=""));let y=(0,r.Q)(null==l?void 0:l.elements.kloudinary.value);var w=y.ratio,L=0,O=0,B=40,R=122;f[0]>767&&(B=64,R=192),f[0]>1279&&(B=160);var D="LB_VidPortrait";w>1?(D="LB_VidLandscape",(O=f[0]-B)>1360&&(O=1360),(L=O/w)>.9*f[1]-R&&(O=(L=.9*f[1]-R)*w)):O=(L=.9*f[1]-R)*w;let M=e=>e==I,H=t.lists.scrollerList.findIndex(M);if(H!=a.current)return(0,s.jsx)(s.Fragment,{});var F=null==l?void 0:l.elements.title.value,P=null==l?void 0:l.elements.description.value;if(""!=P&&(F=P),F.length>140&&(F=F.substring(0,140)+"..."),void 0==y.public_id)return(0,s.jsx)(s.Fragment,{});v=y.public_id;let W=Math.round(O),G=Math.round(L);var U=(0,g.uL)(W,G);return(0,s.jsx)("div",{className:"lightboxitem "+D,id:h.l3+"_"+e.codename+"_lb",children:(0,s.jsxs)("div",{className:"lightboxitemInner",children:[(0,s.jsx)("div",{className:"LI_Top"}),(0,s.jsxs)("div",{className:"LI_VideoHolderLB",style:{width:"".concat(W,"px"),aspectRatio:"".concat(U)},onMouseEnter:()=>navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)?null:(0,g.cy)(e.codename,!1),onMouseLeave:()=>navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)?null:(0,g.jk)(e.codename,!1),onTouchStart:()=>(0,g.cy)(e.codename,!0),onTouchEnd:()=>(0,g.jk)(e.codename,!0),children:[(0,s.jsx)(m.Z,{src:v,width:W.toString(),height:G.toString(),ratio:w,stopped:!0,type:"lightbox",hasVTT:A,hasPoster:j,version:y.version}),(0,s.jsxs)("div",{className:"lightBoxControls visible",style:{width:W.toString()+"px"},children:[(0,s.jsxs)("div",{className:"lightBoxProgress",onMouseDown:t=>(0,g.Pv)(t,e.codename),children:[(0,s.jsx)("div",{className:"lightBoxProgressBar","data-perc":"0"}),(0,s.jsx)("div",{className:"lightBoxProgressBack"})]}),(0,s.jsx)("div",{className:"lightBoxCenter",children:(0,s.jsxs)("div",{className:"lightBoxPlayPause",onClick:()=>(0,g.QM)(e.codename),children:[(0,s.jsx)(c(),{className:"lightBoxPlay",width:56,height:56,src:"/play_circle56.svg",alt:"LI_Play"}),(0,s.jsx)(c(),{className:"lightBoxPause",width:56,height:56,src:"/Pause.svg",alt:"LI_Pause"})]})}),(0,s.jsx)("div",{className:"lightBoxCaptions",children:(0,s.jsxs)("div",{className:"lightBoxIcon",onClick:()=>(0,g.sx)(h.l3+"_"+e.codename+"_lb"),children:[(0,s.jsx)(c(),{className:"lightBoxIconOn",width:44,height:15,src:"/icon_Captions.svg",alt:"LI_Cap"}),(0,s.jsx)(c(),{className:"lightBoxIconOff",width:44,height:15,src:"/icon_CaptionsOff.svg",alt:"LI_Cap"})]})}),(0,s.jsx)("div",{className:"lightBoxVolume",children:(0,s.jsxs)("div",{className:"lightBoxIcon",onClick:()=>(0,g.Po)(h.l3+"_"+e.codename+"_lb"),children:[(0,s.jsx)(c(),{className:"lightBoxIconOn",width:44,height:15,src:"/icon_SoundOn.svg",alt:"LI_Volume"}),(0,s.jsx)(c(),{className:"lightBoxIconOff",width:44,height:15,src:"/icon_SoundOff.svg",alt:"LI_Volume"})]})})]})]}),(0,s.jsxs)("div",{className:"LI_Below",style:{width:"".concat(W,"px")},children:[(0,s.jsxs)("div",{className:"LI_BelowLeft",children:[(0,s.jsx)("div",{className:"LI_BelowLeftTitle",dangerouslySetInnerHTML:{__html:F}}),(0,s.jsx)("div",{className:"IntersectionData"})]}),(0,s.jsx)(_.Z,{href:h.he+"/"+S,className:"LI_BelowRightRead GNLink "+E,children:(0,s.jsx)("div",{className:"LI_BelowRightReadinner",style:{opacity:T,pointerEvents:N},"data-lcn":S,children:"Read article"})})]})]})})}}}t.default=(0,n.memo)(v)},6735:function(e,t,a){"use strict";var s=a(5893),n=a(7294),i=a(9355),r=a(5675),o=a.n(r);function l(e){let[t,a]=(0,n.useState)(e.data.elements.content.value.length),[r,l]=(0,n.useState)(1);var c="";e.data.elements.cardDisplayOptionsTheme.value.length>0&&("Dark"==e.data.elements.cardDisplayOptionsTheme.value[0].name&&(c="MediaCarouselThemeDark"),"Light"==e.data.elements.cardDisplayOptionsTheme.value[0].name&&(c="MediaCarouselThemeLight"));var d="";"NotInLightbox"!=e.lbId&&(c="MediaCarouselThemeDark",d="lightboxitem"),(0,n.useEffect)(()=>{let t=()=>{let t=document.getElementById(e.codename+e.lbId+e.num),a=Array.from(null==t?void 0:t.querySelectorAll(".MediaCarousel_GalleryItem"));if(null==a?void 0:a.length){let s=a[0].querySelector(".TIL_caption"),n=null==t?void 0:t.querySelector(".MediaCarousel_BelowCaption");n&&(n.innerHTML=null==s?void 0:s.innerHTML)}};if("complete"!==document.readyState)return window.addEventListener("load",t),()=>document.removeEventListener("load",t);t()},[]);let m=a=>{let s=document.getElementById(e.codename+e.lbId+e.num),n=Array.from(null==s?void 0:s.querySelectorAll(".MediaCarousel_GalleryItem")),i=null==s?void 0:s.querySelector(".MediaCarousel_GalleryL"),r=null==s?void 0:s.querySelector(".MediaCarousel_GalleryR"),o=null==s?void 0:s.querySelector(".MediaCarousel_BelowCaption");null==i||i.classList.add("MediaCarousel_GalleryActive"),null==r||r.classList.add("MediaCarousel_GalleryActive"),null==n||n.forEach(e=>{if(e.classList.remove("galleryItemVisible"),e.classList.add("galleryItemHide"),e.getAttribute("id")=="MCI_"+a){e.classList.add("galleryItemVisible"),e.classList.remove("galleryItemHide");let t=e.querySelector(".TIL_caption");o&&(o.innerHTML=null==t?void 0:t.innerHTML)}}),1==a&&(null==i||i.classList.remove("MediaCarousel_GalleryActive")),a==t&&(null==r||r.classList.remove("MediaCarousel_GalleryActive"))},u=()=>{r>1&&(l(r-1),m(r-1))},h=()=>{r<t&&(l(r+1),m(r+1))};return(0,s.jsxs)("div",{className:"MediaCarousel TopicTimelineSpacer "+c+" "+d,"data-lbid":e.lbId,id:e.codename+e.lbId+e.num,children:[(0,s.jsx)("div",{className:"CardTopEdge"}),(0,s.jsxs)("div",{className:"MediaCarousel_GalleryHolder",children:[(0,s.jsxs)("div",{className:"MediaCarousel_Header",children:[(0,s.jsx)("div",{className:"MediaCarousel_Title",children:e.data.elements.title.value}),(0,s.jsx)("div",{className:"MediaCarousel_Subtitle",dangerouslySetInnerHTML:{__html:e.data.elements.subtitle.value}})]}),(0,s.jsx)("div",{className:"MediaCarousel_GalleryItems",children:e.data.elements.content.value.map((t,a)=>(0,s.jsx)("div",{className:"MediaCarousel_GalleryItem",id:"MCI_"+(a+1),children:(0,s.jsx)(i.Z,{codename:t,parentItem:e.data},"MCI_"+a)},"MCI_"+a))}),(0,s.jsxs)("div",{className:"MediaCarousel_Below",children:[(0,s.jsx)("div",{className:"MediaCarousel_BelowCaption"}),(0,s.jsxs)("div",{className:"MediaCarousel_UI",children:[(0,s.jsx)("div",{className:"MediaCarousel_GalleryL",onClick:u,children:(0,s.jsx)(o(),{className:"MediaCarousel_Left",width:44,height:15,src:"/LI_Left.svg",alt:"MediaCarousel_Left"})}),(0,s.jsxs)("div",{className:"MediaCarousel_GalleryNumber",children:[(0,s.jsx)("span",{className:"MediaCarousel_BelowLeftCount1",children:r}),(0,s.jsx)("span",{className:"MediaCarousel_BelowLeftCount2",children:"of"}),(0,s.jsx)("span",{className:"MediaCarousel_BelowLeftCount3",children:t})]}),(0,s.jsx)("div",{className:"MediaCarousel_GalleryR MediaCarousel_GalleryActive",onClick:h,children:(0,s.jsx)(o(),{className:"MediaCarousel_Right",width:44,height:15,src:"/LI_Right.svg",alt:"MediaCarousel_Right"})})]})]})]}),(0,s.jsx)("div",{className:"CardBottomEdge"})]})}t.Z=(0,n.memo)(l)},6064:function(e,t,a){"use strict";a.d(t,{Z:function(){return en}});var s=a(5893),n=a(7294),i=a(145),r=a(957);function o(e){let t=e=>{e.target.value},a=e=>{e.target.value},n=e=>{e.target.value};async function i(){var e=document.querySelector("#ContactFirst"),t=document.querySelector("#ContactLast"),a=document.querySelector("#ContactEmail"),s=document.querySelector("#KPage_ContactUs_commentsField");null===r.H||void 0===r.H||r.H.trackEvent({name:"Contact Us Page Submit",properties:{firstName:e.value,lastName:t.value,email:a.value,comment:s.value}});let n=document.querySelector(".ContactUs_Feedback");n&&n.classList.remove("Hidden");let i=document.querySelector(".ContactUs_Form");i&&i.classList.add("Hidden")}return(0,s.jsx)("div",{className:"KPage_ContactUs",children:(0,s.jsxs)("div",{className:"AccountHolderForm",children:[(0,s.jsxs)("div",{className:"ContactUs_Form",id:"ContactUs_Form",children:[(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Contact Us"}),(0,s.jsxs)("div",{className:"AuthHolderFormPairedInputs",children:[(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"First name"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",placeholder:"First name",name:"firstname",id:"ContactFirst",onChange:t})]}),(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"Last name"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",placeholder:"Last name",name:"lastname",id:"ContactLast",onChange:a})]})]}),(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"Your email"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",placeholder:"Email Address",name:"email",id:"ContactEmail",type:"email",onChange:n}),(0,s.jsx)("div",{id:"AccountEmailError",className:"AuthHolderFormInputUnderline",children:"Please enter a valid email address"})]}),(0,s.jsx)("textarea",{className:"KPage_ContactUs_textArea",rows:5,cols:60,maxLength:1e3,name:"KPage_ContactUs_commentsField",placeholder:"Send us your questions and feedback",id:"KPage_ContactUs_commentsField"}),(0,s.jsx)("div",{className:"AuthHolderFormButton",onClick:()=>i(),children:(0,s.jsx)("div",{className:"AuthHolderFormButtonLabel",children:"Send"})})]}),(0,s.jsx)("div",{className:"ContactUs_Feedback Hidden",children:"Thank You!"})]})})}var l=(0,n.memo)(o),c=a(5675),d=a.n(c);function m(e){return setTimeout(()=>{let e=document.querySelector(".KPage_404");e&&e.classList.add("KPage_404_On")},2e3),(0,s.jsxs)("div",{className:"KPage_404",children:[(0,s.jsx)("div",{className:"KPage_404_Top",children:(0,s.jsx)(d(),{className:"KPage_404_Image",width:400,height:186,src:"/a-404-knockout_400x186.png",alt:"404 image"})}),(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Uh oh."}),(0,s.jsx)("div",{className:"AuthSmall",children:"That page doesn't exist."}),(0,s.jsxs)("div",{className:"KPage_404_Hidden",children:["No Article: ... ",e.pagename]})]})}var u=(0,n.memo)(m),h=a(5376),_=a(9734),g=a(4020);function p(e){let{data:t}=(0,_.ZP)(e.topicCN);if(!t||""==e.topicCN)return(0,s.jsx)(s.Fragment,{});if("topic"==t.system.type){let a=t,n={};n.copy=a.elements.mySection.value[0],n.link=n.copy.toLowerCase();let i={};return i.copy=a.system.name,i.link=n.link+"/"+i.copy.toLowerCase(),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g.Z,{item:n}),(0,s.jsx)(g.Z,{item:i})]})}if("section"!=t.system.type)return(0,s.jsx)(s.Fragment,{});{let r=t,o={};return o.copy=r.system.name,o.link=o.copy.toLowerCase(),(0,s.jsx)(g.Z,{item:o})}}var x=(0,n.memo)(p),v=a(2941),C=a(1590);function b(e){var t="";e.data.elements.pageTaxonomySetLocations.value.length>0&&(t=e.data.elements.pageTaxonomySetLocations.value[0]);var a="",n="";return e.data.elements.pageImageSetBlogroll.value.length>0&&(n=(0,C.t6)(e.data.elements.pageImageSetBlogroll.value[0].url),a=e.data.elements.pageImageSetBlogroll.value[0].description),(0,s.jsx)("div",{className:"KSearchResultItem KSearchResultItem_Article","data-date":e.data.elements.date.value,"data-score":e.score,children:(0,s.jsxs)("div",{className:"searchResult Card","data-cardtype":"KSearchResult","data-codename":e.data.system.codename,children:[(0,s.jsxs)("div",{className:"searchResultLeft",children:[(0,s.jsx)("div",{className:"searchResultEyebrow",dangerouslySetInnerHTML:{__html:e.data.elements.eyebrow.value}}),(0,s.jsx)(v.Z,{href:"search_reader?readerfocus="+e.data.system.codename,children:(0,s.jsx)("div",{className:"searchResultHeadlineHolder",children:(0,s.jsx)("div",{className:"searchResultHeadline",dangerouslySetInnerHTML:{__html:e.data.elements.articleTitle.value}})})}),(0,s.jsx)("div",{className:"searchResultDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.data.elements.articleSubtitle.value}}),(0,s.jsx)("div",{className:"KBreadCrumbs",children:(0,s.jsx)(x,{topicCN:t})})]}),(0,s.jsxs)("div",{className:"searchResultBack",children:[(0,s.jsx)("img",{className:"DesktopOnly",src:n,alt:a}),(0,s.jsx)("img",{className:"TabletOnly",src:n,alt:a}),(0,s.jsx)("img",{className:"MobileOnly",src:n,alt:a})]})]})})}var f=(0,n.memo)(b);function I(e){let t={};t.copy="My podcasts",t.link="meet-bill/my-podcasts";var a="",n="";return e.data.elements.thumbnail&&e.data.elements.thumbnail.value.length>0&&(n=(0,C.t6)(e.data.elements.thumbnail.value[0].url),a=e.data.elements.thumbnail.value[0].description),(0,s.jsx)("div",{className:"KSearchResultItem KSearchResultItem_Podcast","data-date":e.data.elements.podcastAirDate.value,"data-score":20*e.score,children:(0,s.jsxs)("div",{className:"searchResult Card","data-cardtype":"KSearchResult","data-codename":e.data.system.codename,children:[(0,s.jsxs)("div",{className:"searchResultLeft",children:[(0,s.jsx)("div",{className:"searchResultEyebrow",dangerouslySetInnerHTML:{__html:e.data.elements.podcastSeasonName.value}}),(0,s.jsx)("div",{className:"searchResultHeadlineHolder",children:(0,s.jsx)(v.Z,{href:"search_reader?readerfocus="+e.data.elements.articleLink.value,children:(0,s.jsx)("div",{className:"searchResultHeadline",dangerouslySetInnerHTML:{__html:e.data.elements.title.value}})})}),(0,s.jsx)("div",{className:"searchResultDesc GNDescCopy",dangerouslySetInnerHTML:{__html:e.data.elements.description.value}}),(0,s.jsx)("div",{className:"KBreadCrumbs",children:(0,s.jsx)(g.Z,{item:t})})]}),(0,s.jsx)("div",{className:"searchResultBack",style:{background:"#166eb6"},children:(0,s.jsx)("div",{className:"searchResultForei",style:{display:"flex",backgroundImage:"url("+n+"?w=128&h=128&fit=clip&fm=jpg&q=75"}})})]})})}var S=(0,n.memo)(I),T=a(9868);function N(e){let t=(0,T.Q)(e.data.elements.kloudinary.value);t.ratio;var a=(0,C.uL)(t.width,t.height),n="";let i=t.poster.split("/");i.length>1&&(n="https://videos.gatesnotes.com/image/upload/c_scale,w_"+t.width+",ar_"+a+"/q_auto/video/"+i[i.length-1]);var r="",o="";e.data.elements.posterImage.value.length>0?(o=(0,C.t6)(e.data.elements.posterImage.value[0].url)+"?w=160&h=256&fit=clip&fm=jpg&q=75",r=e.data.elements.posterImage.value[0].description):o=n,o.includes(".jpg")||(o="https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/62bd3dfa-ad15-471e-9ace-a0524ad1c75e/Fallback-Image-16.9.jpg");var l=e.data.elements.description.value;return""==e.data.elements.description.value&&(l=e.data.elements.title.value),(0,s.jsx)("div",{className:"KSearchResultItem KSearchResultItem_Video","data-date":e.data.elements.videoDate.value,"data-score":538*e.score,children:(0,s.jsxs)("div",{className:"searchResult Card","data-cardtype":"KSearchResult","data-codename":e.data.system.codename,children:[(0,s.jsxs)("div",{className:"searchResultLeft",children:[(0,s.jsx)("div",{className:"searchResultEyebrow",dangerouslySetInnerHTML:{__html:e.data.elements.articleName.value}}),(0,s.jsx)("div",{className:"searchResultDesc GNDescCopy",dangerouslySetInnerHTML:{__html:l}})]}),(0,s.jsx)("div",{className:"searchResultBack",children:(0,s.jsxs)(v.Z,{href:"search_lightbox?lightboxfocus="+e.data.system.codename,className:"searchResultBackImg GNLink",children:[(0,s.jsx)("div",{className:"ImgPlayButton",style:{display:"flex"},children:(0,s.jsx)("img",{className:"gnIcon",src:"/play_circle.svg",alt:"Play button"})}),(0,s.jsx)("div",{className:"searchResultBacki",style:{display:"flex",cursor:"pointer",backgroundImage:"url("+o+")"}})]})})]})})}var E=(0,n.memo)(N);function k(e){let{data:t}=(0,_.ZP)(e.codename);if(!t)return(0,s.jsx)(s.Fragment,{});switch(t.system.type){case"article":{let a=t;return(0,s.jsx)(f,{data:a,score:e.score})}case"inline_video_item":{let n=t;return(0,s.jsx)(E,{data:n,score:e.score})}case"podcast_episode":{let i=t;return(0,s.jsx)(S,{data:i,score:e.score})}default:return(0,s.jsx)(s.Fragment,{})}}var A=(0,n.memo)(k);function j(e){let{data:t}=(0,_.ZP)(e.codename);if(!t)return(0,s.jsx)(s.Fragment,{});let a=t;var n="",i="",r=!1;a.elements.pageImageSetBlogroll.value.length>0&&(n=(0,C.t6)(a.elements.pageImageSetBlogroll.value[0].url),i=a.elements.pageImageSetBlogroll.value[0].description,r=!0);let o=new Date;return o.setFullYear(o.getFullYear()-1),(0,s.jsx)("div",{className:"SR_SectionCard","data-score":e.score-500,"data-date":o,children:(0,s.jsx)("div",{className:"SR_SectionCardContainer",children:(0,s.jsxs)("div",{className:"SR_SectionCardContent",children:[(0,s.jsx)("div",{className:"SR_SectionCardTextContainer",children:(0,s.jsx)("div",{className:"SR_SectionCardCopy",children:(0,s.jsx)(v.Z,{href:a.system.codename,children:a.elements.title.value})})}),(0,s.jsx)("div",{className:"SR_SectionCardImage",style:{backgroundColor:a.elements.backgroundSnippetHexColor.value},children:(0,s.jsx)("img",{className:"SR_SectionCardImageImg",style:{display:r?"block":"none"},src:n+"?h=213&ar=8/5&fit=clip&fm=jpg&q=75",alt:i})})]})})})}var y=(0,n.memo)(j);function w(e){let{data:t}=(0,_.ZP)(e.codename);if(!t)return(0,s.jsx)(s.Fragment,{});let a=t;var n="";a.elements.mySection.value&&(n=a.elements.mySection.value[0]);var i="",r="",o=!1;a.elements.pageImageSetBlogroll.value.length>0&&(i=(0,C.t6)(a.elements.pageImageSetBlogroll.value[0].url),r=a.elements.pageImageSetBlogroll.value[0].description,o=!0);let l={};l.copy=n.replaceAll("_"," "),l.link=n;let c=new Date;return c.setFullYear(c.getFullYear()-1),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(y,{codename:n,score:e.score}),(0,s.jsx)("div",{className:"SR_TopicCard","data-score":e.score+500,"data-date":c,children:(0,s.jsx)("div",{className:"SR_SectionCardContainer",children:(0,s.jsxs)("div",{className:"SR_SectionCardContent",children:[(0,s.jsxs)("div",{className:"SR_SectionCardTextContainer",children:[(0,s.jsx)("div",{className:"SR_SectionCardCopy",children:(0,s.jsx)(v.Z,{href:a.system.codename,children:a.elements.title.value})}),(0,s.jsx)(g.Z,{item:l})]}),(0,s.jsx)("div",{className:"SR_SectionCardImage",style:{backgroundColor:a.elements.backgroundSnippetHexColor.value},children:(0,s.jsx)("img",{className:"SR_SectionCardImageImg",style:{display:o?"block":"none"},src:i+"?h=213&ar=8/5&fit=clip&fm=jpg&q=75",alt:r})})]})})})]})}var L=(0,n.memo)(w);function O(e){let{data:t}=(0,_.ZP)(e.codename);if(!t)return(0,s.jsx)(s.Fragment,{});let a=t;var n="";return a.elements.pageTaxonomySetLocations.value.length>0&&(n=a.elements.pageTaxonomySetLocations.value[0]),(0,s.jsx)(L,{codename:n,score:e.score})}var B=(0,n.memo)(O),R=a(7206);async function D(e){let t=await fetch(((0,R.B)()?h.lf:h.CN)+"?topic=%22"+e+"%22&nowalk=true",{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded"}}),a=await t.json();return a.error?"error":a}function M(e){let t='{"hits":{"articles":[],"memos":[],"podcasts":[],"videos":[]},"sections":{"articles":[],"memos":[],"podcasts":[],"videos":[]},"topics":{"articles":[],"memos":[],"podcasts":[],"videos":[]},"cardsandcolls":{"articles":{"cards":[],"collections":[]},"memos":{"cards":[],"collections":[]},"podcasts":{"cards":[],"collections":[]},"videos":{"cards":[],"collections":[]}}}';var a=JSON.parse(t);let[i,r]=(0,n.useState)(a);async function o(){let e=document.getElementById("SearchInput");if(e&&e.removeEventListener("keyup",h),""!=u.current){let t=await D(u.current);if(u.current="",""!=t&&"error"!=t){r(t);let a=t;var s=a.hits.articles.slice(0,10);localStorage.setItem("searcharticles",JSON.stringify(s));let n=a.hits.videos.slice(0,6);localStorage.setItem("searchvideos",JSON.stringify(n)),l.current=!0}}}let l=(0,n.useRef)(!0);function c(){if(l.current){let e=document.querySelector(".Search_ResultsAreaInner_Articles"),t=Array.from((null==e?void 0:e.children)||[]);t.sort((e,t)=>{let a=e.dataset.date,s=t.dataset.date,n=new Date(a),i=new Date(s);return i.getTime()-n.getTime()}),t.forEach(t=>null==e?void 0:e.appendChild(t)),t.length>4&&(l.current=!1)}}function m(){let e=document.getElementById("SearchInput");u.current=e.value}let u=(0,n.useRef)("Books"),h=e=>{e.preventDefault(),("Enter"==e.code||"Enter"==e.key)&&o()};return(0,n.useEffect)(()=>{let e=document.getElementById("SearchInput");e&&e.addEventListener("keyup",h);var t=(0,C.ak)("search");let a=document.getElementById("SearchInput");a&&t?a.value!=t&&"Books"==u.current&&(a.value=t,u.current=t,o()):""!=u.current&&o(),setInterval(()=>{c()},1e3)}),(0,s.jsxs)("div",{className:"SearchPageHeader",children:[(0,s.jsxs)("div",{className:"SearchField",children:[(0,s.jsx)("input",{className:"SearchInput",placeholder:"Search",name:"Search",id:"SearchInput",autoComplete:"off",onChange:m}),(0,s.jsx)("div",{className:"SearchIcon",onClick:o,children:(0,s.jsx)(d(),{className:"SearchIconImg",width:20,height:18,src:"/Search.svg",alt:"icon_Search"})})]}),(0,s.jsxs)("div",{className:"SearchDetail",children:[(0,s.jsx)("div",{className:"CardBottomEdge"}),(0,s.jsx)("div",{className:"Search_Filter",children:(0,s.jsxs)("div",{className:"Search_Content",children:[(0,s.jsxs)("div",{className:"Search_Buttons",children:[(0,s.jsx)("div",{className:"Search_Icons",children:(0,s.jsx)(d(),{className:"Search_Icon",width:20,height:18,src:"/icon_Filter.svg",alt:"icon_SearchFilter"})}),(0,s.jsxs)("div",{className:"Search_Name",children:[(0,s.jsx)("div",{className:"Search_NameCopy",children:"Filters"}),(0,s.jsx)("div",{className:"Search_NameBadge",children:(0,s.jsx)(d(),{className:"Search_Badge",width:20,height:18,src:"/icon_Badge.svg",alt:"icon_Search_Badge"})})]})]}),(0,s.jsx)("div",{className:"Search_Clear",children:"Clear all filters"})]})}),(0,s.jsx)("div",{className:"Search_Results"}),(0,s.jsx)("div",{className:"Search_TopicLabel",children:(0,s.jsx)("div",{className:"Search_TopicLabelCopy",children:"125 results"})})]}),(0,s.jsx)("div",{className:"Search_ResultsArea",children:(0,s.jsxs)("div",{className:"Search_ResultsAreaInner",children:[(0,s.jsx)("div",{className:"Search_ResultsAreaInner_Articles",children:i.hits.articles.slice(0,10).map((e,t)=>(0,s.jsx)(A,{codename:e.codename,score:e.score},"SR"+e.codename+t))}),(0,s.jsx)("div",{className:"Search_ResultsAreaInner_TopicSection",children:i.hits.articles.slice(0,1).map((e,t)=>(0,s.jsx)(B,{codename:i.hits.articles[0].codename,score:e.score},"SRST"+e.codename+t))}),(0,s.jsx)("div",{className:"Search_ResultsAreaInner_Videos",children:i.hits.videos.slice(0,6).map((e,t)=>(0,s.jsx)(A,{codename:e.codename,score:e.score},"SR"+e.codename+t))}),(0,s.jsx)("div",{className:"Search_ResultsEmpty Search_ResultsEmpty"+i.hits.articles.length+i.hits.videos.length,children:"Sorry, there are no posts that match your query."})]})})]})}var H=(0,n.memo)(M),F=a(7287),P=a(1163),W=a.n(P),G=a(2121),U=a(8340);function V(e){let t=(0,n.useContext)(G.bW);return(0,n.useEffect)(()=>{t.auth?W().push("/","",{scroll:!1,shallow:!0}):(0,U.ET)()}),(0,s.jsx)("div",{className:"KPage_Signup",children:(0,s.jsx)(F.Z,{})})}var Y=(0,n.memo)(V),Z=a(730);function K(e){let[t,a]=(0,n.useState)(!1);function i(){W().back()}let r=localStorage.getItem("searchvideos");r||W().push("/","",{scroll:!1,shallow:!0}),"[]"==r&&W().push("/","",{scroll:!1,shallow:!0});let o=JSON.parse(r),l=(0,n.useRef)(null);return(0,n.useEffect)(()=>{(0,C.VE)();let e={root:null,rootMargin:"200px",threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]},t=new IntersectionObserver(e=>{let a=e[0];a.isIntersecting&&(t.disconnect(),i())},e);setTimeout(()=>{l.current&&t.observe(l.current)},1e4);let s=()=>{W().asPath===window.location.pathname&&a(!0)};W().events.on("routeChangeComplete",s);var n=document.querySelectorAll(".LightboxHolder");n.forEach(e=>{e.classList.remove("lightboxitemSnap")});let r=document.querySelector(".LightboxHolderInner");var o=(0,C.ak)("lightboxfocus");let c=document.getElementById("lightbox_"+o+"_lb");return c&&(null==r||r.prepend(c)),setTimeout(()=>{n.forEach(e=>{e.classList.add("lightboxitemSnap")})},1e3),()=>{W().events.off("routeChangeComplete",s)}}),(0,s.jsxs)("div",{className:"LightboxHolder lightboxitemSnap Page_Search_Lightbox",style:{display:"block"},id:"LightboxHolder",children:[(0,s.jsx)("div",{className:"icon_Holder",id:"LightboxHolderClose",onClick(){i()},children:(0,s.jsx)(d(),{className:"icon_Img icon_CloseIcon",width:44,height:15,src:"/icon_Close.svg",alt:"icon_Close"})}),(0,s.jsxs)("div",{className:"LightboxHolderInner",id:"LightboxHolderInner",children:[o.map(e=>(0,s.jsx)(Z.default,{num:0,codename:e.codename,parentItem:o},e.codename)),(0,s.jsx)("div",{className:"LightboxEndFrame",children:(0,s.jsx)("div",{className:"LightboxEndClose",ref:l})})]})]})}var q=(0,n.memo)(K),Q=a(6501);function z(e){let t=localStorage.getItem("searcharticles");(0,n.useEffect)(()=>{let e=document.querySelector(".FooterHolder"),t=document.querySelector("#articlesHolder");if(e&&t){setTimeout(()=>{t.append(e)},8e3);var a=(0,C.O$)()/2;e.setAttribute("style","left: "+a+"px")}function s(){let e=document.querySelector(".articlesHolder"),t=Array.from((null==e?void 0:e.children)||[]);t.sort((e,t)=>{let a=e.dataset.date,s=t.dataset.date,n=new Date(a),i=new Date(s);return i.getTime()-n.getTime()}),t.forEach(t=>null==e?void 0:e.appendChild(t));var a=(0,C.ak)("readerfocus");let s=document.getElementById("reader_"+a.replaceAll("-","_").toLowerCase());s&&(null==e||e.prepend(s))}setTimeout(()=>{s()},100)}),t||W().push("/","",{scroll:!1,shallow:!0}),"[]"==t&&W().push("/","",{scroll:!1,shallow:!0});var a=0;let i=JSON.parse(t);return(0,s.jsx)("div",{className:"articlesHolder articleAutoPlayOff",style:{display:"block",left:a+"px"},id:"articlesHolder",children:i.map(e=>(0,s.jsx)(Q.default,{name:e.codename,topic:"",section:""},e.codename))})}var J=(0,n.memo)(z),X=a(5987);function $(e){let{data:t}=(0,_.ZP)(e.codename);if(!t)return(0,s.jsx)(s.Fragment,{});let a=t;if(a.elements.specialArticleType.value.length>0&&"Chapter"==a.elements.specialArticleType.value[0].name)return(0,s.jsx)(s.Fragment,{});var n="";a.elements.pageTaxonomySetLocations.value.length>0&&(n=a.elements.pageTaxonomySetLocations.value[0]);var i="",r="";return a.elements.pageImageSetBlogroll.value.length>0&&(r=(0,C.t6)(a.elements.pageImageSetBlogroll.value[0].url),i=a.elements.pageImageSetBlogroll.value[0].description),(0,s.jsx)("div",{className:"KSearchResultItem KSearchResultItem_Article","data-date":a.elements.date.value,children:(0,s.jsxs)("div",{className:"searchResult Card","data-cardtype":"KSearchResult","data-codename":a.system.codename,children:[(0,s.jsxs)("div",{className:"searchResultLeft",children:[(0,s.jsx)("div",{className:"searchResultEyebrow",dangerouslySetInnerHTML:{__html:a.elements.eyebrow.value}}),(0,s.jsx)(v.Z,{href:a.system.codename,children:(0,s.jsx)("div",{className:"searchResultHeadlineHolder",children:(0,s.jsx)("div",{className:"searchResultHeadline",dangerouslySetInnerHTML:{__html:a.elements.articleTitle.value}})})}),(0,s.jsx)("div",{className:"searchResultDesc GNDescCopy",dangerouslySetInnerHTML:{__html:a.elements.articleSubtitle.value}}),(0,s.jsx)("div",{className:"KBreadCrumbs",children:(0,s.jsx)(x,{topicCN:n})})]}),(0,s.jsxs)("div",{className:"searchResultBack",children:[(0,s.jsx)("img",{className:"DesktopOnly",src:r,alt:i}),(0,s.jsx)("img",{className:"TabletOnly",src:r,alt:i}),(0,s.jsx)("img",{className:"MobileOnly",src:r,alt:i})]})]})})}var ee=(0,n.memo)($);function et(e){let[t,a]=(0,n.useState)({data:""}),i=(0,C.ak)("startArticle");var r=0;if(i&&(r=parseInt(i)),(0,n.useEffect)(()=>{""==t.data&&e();async function e(){let e=await (0,X.J)(r);return"0"!=e&&a({...t,data:e}),e}},[t]),!t.data)return(0,s.jsx)(s.Fragment,{children:"no data"});{let o=t.data;return(0,s.jsx)("div",{className:"KPage_AllRecentArticles",children:o.data.article_All.items.map((e,t)=>(0,s.jsx)(ee,{codename:o.data.article_All.items[t]._system_.codename},t))})}}var ea=(0,n.memo)(et);function es(e){switch(e.pageName){case"search_lightbox":return(0,s.jsx)(q,{});case"search_reader":return(0,s.jsx)(J,{});case"account":return(0,s.jsx)(i.Z,{});case"contact_us":return(0,s.jsx)(l,{});case"search":return(0,s.jsx)(H,{});case"all_recent_articles":return(0,s.jsx)(ea,{});case"signin":case"signup":case"sign-in":case"sign-up":return(0,s.jsx)(Y,{pagename:e.pageName});default:return(0,s.jsx)(u,{pagename:e.pageName})}}var en=(0,n.memo)(es)},145:function(e,t,a){"use strict";a.d(t,{U:function(){return h}});var s=a(5893),n=a(7294),i=a(5675),r=a.n(i),o=a(521),l=a(2121),c=a(1163),d=a.n(c);function m(){localStorage.removeItem("UserInfo2"),localStorage.removeItem("accessToken"),localStorage.removeItem("gniPwd"),localStorage.removeItem("gniState"),localStorage.removeItem("gniUsr"),d().push("/","",{scroll:!1,shallow:!0})}function u(){(0,o.qt)(localStorage.getItem("gniUsr"))}function h(){(0,o.H6)().then(function(e){})}function _(){var e=(0,o.me)("CurrentEmail");(0,o.oR)(e).then(function(e){if("OK"==e){let t=document.getElementById("AuthHolderFormAccountPasswordError");t&&t.classList.remove("AuthHolderOn");var a=document.getElementById("ChangePasswordExtra");a&&a.classList.remove("ChangePasswordExtraOn")}})}function g(e,t){(0,o.cJ)(e,t).then(function(e){if("OK"==e){let t=document.getElementById("AuthHolderFormAccountPasswordOK");t&&t.classList.add("AuthHolderOn");let a=document.getElementById("AuthHolderFormAccountPasswordError");a&&a.classList.remove("AuthHolderOn");var s=document.getElementById("ChangePasswordExtra");s&&s.classList.remove("ChangePasswordExtraOn")}else{let n=document.getElementById("AuthHolderFormAccountPasswordError");n&&n.classList.add("AuthHolderOn");let i=document.getElementById("AuthHolderFormAccountPasswordOK");i&&i.classList.remove("AuthHolderOn")}})}var p=0;function x(e){let t=(0,n.useContext)(l.bW);var a={FirstName:"",LastName:"",FullName:"",CurrentEmail:"",IsApproved:"",AccountCreatedDate:""};t.auth&&(a=JSON.parse(localStorage.getItem("UserInfo2"))),!t.auth&&(p+=1)>1&&d().push("/","",{scroll:!1,shallow:!0});let i=e=>{let t=e.target.value;a.FirstName=t,a.FullName=t+" "+a.LastName,(0,o.l2)("FirstName",t),(0,o.l2)("FullName",a.FullName),setTimeout(()=>{x()},1e3)},c=e=>{let t=e.target.value;a.LastName=t,a.FullName=a.FirstName+" "+t,(0,o.l2)("LastName",t),(0,o.l2)("FullName",a.FullName),setTimeout(()=>{x()},1e3)};async function x(){let e=await (0,o.nt)();if("OK"==e){let t=document.getElementById("AccountHolderTextName");t&&(t.innerHTML=(0,o.me)("FullName"))}}var v=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;async function C(e){if(v.test(e)){let t=await (0,o.EC)(e);if(""==t){a.CurrentEmail=e,(0,o.l2)("CurrentEmail",e),(0,o.WG)(e);let s=document.getElementById("AccountEmailError");s&&(s.innerHTML="Your email has been updated",s.classList.add("AuthHolderOnGreen"))}else{let n=document.getElementById("AccountEmailError");n&&(n.innerHTML="Sorry we were unable to change your email at this time",n.classList.add("AuthHolderOn"),n.classList.remove("AuthHolderOnGreen"))}}else{let i=document.getElementById("AccountEmailError");i&&(i.innerHTML="Please enter a valid email address",i.classList.add("AuthHolderOn"),i.classList.remove("AuthHolderOnGreen"))}}let b=e=>{let t=e.target.value;C(t)};var f="";let I=e=>{let t=e.target.value;f=t},S=e=>{var t=document.getElementById("ChangePasswordExtra");t&&t.classList.add("ChangePasswordExtraOn")};var T="";let N=e=>{let t=e.target.value;T=t};var E=!0,k="",A="",j="",y="",w=new Date;if(""!=a.FirstName){k=a.FirstName,A=a.LastName,j=a.FullName,y=a.CurrentEmail,a.IsApproved&&""!=a.IsApproved&&"false"!=a.IsApproved&&(E=!1),w=new Date(a.AccountCreatedDate);let L=document.getElementById("AccountFirst");L.value=k;let O=document.getElementById("AccountLast");O.value=A;let B=document.getElementById("AccountEmail");B.value=y}return(0,n.useEffect)(()=>{}),(0,s.jsxs)("div",{className:"AccountHolder",children:[(0,s.jsxs)("div",{className:"AccountHolderHeader",children:[(0,s.jsxs)("div",{className:"AccountHolderText",children:[(0,s.jsx)("div",{className:"AccountHolderTextName",id:"AccountHolderTextName",children:j}),(0,s.jsxs)("div",{className:"AccountHolderTextCopy",children:["Insider since ",(0,s.jsx)("span",{className:"AccountHolderTextCopyYear",children:w.getFullYear()})]})]}),(0,s.jsx)("div",{className:"CardBottomEdge"})]}),(0,s.jsxs)("div",{className:"AccountHolderWarning",style:{display:E?"flex":"none"},children:[(0,s.jsx)("div",{className:"AccountHolderWarningIcons",children:(0,s.jsx)(r(),{className:"AccountHolderWarningIcon",width:20,height:18,src:"/icon_CheckmarkRed.svg",alt:"icon_CheckmarkRed"})}),(0,s.jsxs)("div",{className:"AccountHolderWarningFrame",children:[(0,s.jsx)("div",{className:"AccountHolderWarningCopy1",children:"Please verify your account"}),(0,s.jsx)("div",{className:"AccountHolderWarningCopy2",onClick:()=>h(),children:"Resend verification email"})]})]}),(0,s.jsxs)("div",{className:"AccountHolderForm",children:[(0,s.jsxs)("div",{className:"AuthHolderForm",id:"Auth_PersonalInfo_Form",children:[(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Personal information"}),(0,s.jsxs)("div",{className:"AuthHolderFormPairedInputs",children:[(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"First name"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",placeholder:"First name",name:"firstname",id:"AccountFirst",onChange:i}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline",children:"Error copy"})]}),(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"Last name"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",placeholder:"Last name",name:"lastname",id:"AccountLast",onChange:c}),(0,s.jsx)("div",{className:"AuthHolderFormInputUnderline",children:"Error copy"})]})]}),(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"Your email"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",placeholder:"Email Address",name:"email",id:"AccountEmail",type:"email",onChange:b}),(0,s.jsx)("div",{id:"AccountEmailError",className:"AuthHolderFormInputUnderline",children:"Please enter a valid email address"})]}),(0,s.jsx)("div",{className:"AuthHolderFormAccountPassword",children:(0,s.jsxs)("div",{className:"AuthHolderFormInput",children:[(0,s.jsx)("div",{className:"AuthHolderFormInputPlaceHolder",children:"password"}),(0,s.jsx)("input",{className:"AuthHolderFormInputField",type:"password",placeholder:"Old password",name:"password",id:"AccountPassword",onChange:I,onFocus:S}),(0,s.jsxs)("div",{className:"ChangePasswordExtra",id:"ChangePasswordExtra",children:[(0,s.jsx)("input",{className:"AuthHolderFormInputField",type:"password",placeholder:"New password",name:"passwordnew",id:"AccountPasswordNew",onChange:N}),(0,s.jsx)("div",{className:"AuthVSpace"}),(0,s.jsx)("div",{className:"AuthHolderFormButton",onClick:()=>g(f,T),children:(0,s.jsx)("div",{className:"AuthHolderFormButtonLabel",children:"Save new password"})}),(0,s.jsxs)("div",{id:"AuthHolderFormAccountPasswordError",className:"AuthHolderFormInputUnderline",children:["We're unable to change the password, check that the old password is correct and the new one is at least 7 characters, or ",(0,s.jsx)("span",{className:"AuthHolderFormReset",onClick:()=>_(),children:"click here to reset your password"})," via email."]})]}),(0,s.jsx)("div",{id:"AuthHolderFormAccountPasswordOK",className:"AuthHolderFormInputUnderline AuthHolderFormInputUnderlineOK",children:"Your password has been reset."})]})})]}),(0,s.jsxs)("div",{className:"AuthHolderForm",id:"Auth_YourInterests_Form",children:[(0,s.jsx)("div",{className:"AuthVSpace"}),(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Your interests"}),(0,s.jsx)("div",{className:"AuthHolderFormBody",children:"Select topics that interest you to personalize your experience on Gates Notes."}),(0,s.jsx)("div",{className:"AuthTagsGroup",children:(0,s.jsxs)("div",{className:"AuthTags",children:[(0,s.jsx)("div",{className:"AuthTag AuthTagOn",children:(0,s.jsx)("div",{className:"AuthTagTitle",children:"Accelerate climate innovation"})}),(0,s.jsx)("div",{className:"AuthTag",children:(0,s.jsx)("div",{className:"AuthTagTitle",children:"Save Lives"})}),(0,s.jsx)("div",{className:"AuthTag",children:(0,s.jsx)("div",{className:"AuthTagTitle",children:"Cure Alzheimer's"})}),(0,s.jsx)("div",{className:"AuthTag",children:(0,s.jsx)("div",{className:"AuthTagTitle",children:"Provide Quality Education"})})]})})]}),(0,s.jsxs)("div",{className:"AuthHolderForm",id:"Auth_Notifications_Form",style:{display:"none"},children:[(0,s.jsx)("div",{className:"AuthVSpace"}),(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Notifications"}),(0,s.jsxs)("div",{className:"AuthToggle AuthToggleOn",children:[(0,s.jsx)(r(),{className:"AuthToggleIconOn",width:36,height:18,src:"/icon_ToggleOn.svg",alt:"icon_ToggleOn"}),(0,s.jsx)(r(),{className:"AuthToggleIconOff",width:36,height:18,src:"/icon_ToggleOff.svg",alt:"icon_ToggleOff"}),(0,s.jsx)("div",{className:"AuthToggleCopy",children:"Email me comment notifications"})]})]}),(0,s.jsxs)("div",{className:"AuthHolderForm",id:"Auth_CommentHistory_Form",style:{display:"none"},children:[(0,s.jsx)("div",{className:"AuthVSpace"}),(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Comment history"}),(0,s.jsxs)("div",{className:"Auth_CommentHistory",children:[(0,s.jsxs)("div",{className:"Auth_CommentHistoryItem",children:[(0,s.jsx)("span",{className:"Auth_CommentHistoryItemDate",children:"20/10/23"}),": ",(0,s.jsx)("span",{className:"Auth_CommentHistoryItemTitle",children:"Meet the teacher helping deaf students..."}),(0,s.jsx)("span",{className:"Auth_CommentHistoryItemCopy",children:"Congratulations to Professor Dana for the marvellous contribution that she and her team..."})]}),(0,s.jsxs)("div",{className:"Auth_CommentHistoryItem",children:[(0,s.jsx)("span",{className:"Auth_CommentHistoryItemDate",children:"20/10/23"}),": ",(0,s.jsx)("span",{className:"Auth_CommentHistoryItemTitle",children:"Meet the teacher helping deaf students..."}),(0,s.jsx)("span",{className:"Auth_CommentHistoryItemCopy",children:"Congratulations to Professor Dana for the marvellous contribution that she and her team..."})]})]})]}),(0,s.jsxs)("div",{className:"AuthHolderForm",id:"Auth_Logout_Form",children:[(0,s.jsx)("div",{className:"AuthVSpace"}),(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Log out"}),(0,s.jsx)("div",{className:"AuthHolderFormButton",onClick:()=>m(),children:(0,s.jsx)("div",{className:"AuthHolderFormButtonLabel",children:"Log out"})})]}),(0,s.jsxs)("div",{className:"AuthHolderForm",id:"Auth_Deactivate_Form",children:[(0,s.jsx)("div",{className:"AuthVSpace"}),(0,s.jsx)("div",{className:"AuthHolderFormHeadline",children:"Account deactivation"}),(0,s.jsx)("div",{className:"AuthHolderFormButton",onClick:()=>u(),children:(0,s.jsx)("div",{className:"AuthHolderFormButtonLabel",children:"Deactivate account"})}),(0,s.jsxs)("div",{className:"AuthSmall",children:["If you would like to permanently delete your Gates Notes account and remove its content, please ",(0,s.jsx)("span",{className:"AuthSmallLink",children:"send us a request."})]})]})]})]})}t.Z=(0,n.memo)(x)},6501:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return g}});var s=a(5893),n=a(7294),i=a(9734),r=a(7858),o=a(4390),l=a(5376),c=a(3462),d=a(1221),m=a(1590);function u(e){let t={};t.card={},t.card.system={},t.card.system.codename=e.artSId,t.parentItem=e.data,t.cardType="long_read_card",t.cardSize="Full bleed",t.cardSource={},t.cardTitle=e.data.elements.articleTitle.value,t.cardSubtitle=e.data.elements.articleSubtitle.value,t.cardBackgroundColor="#FFFFFF",t.cardForegroundImage="",t.cardBackgroundImageSet="",t.cardBackgroundImage=(0,m.t6)(e.data.elements.pageImageSetBlogroll.value[0].url),t.cardBackgroundImageDesc=e.data.elements.pageImageSetBlogroll.value[0].description,t.cardBackgroundImageMobile=(0,m.t6)(e.data.elements.pageImageSetThumbnail.value[0].url),t.cardBackgroundImageTablet=(0,m.t6)(e.data.elements.pageImageSetThumbnail.value[0].url),t.cardHeroImageForegroundImageSet="",t.cardShowBackgroundImage="",t.artLink=e.data.system.name;var a=(0,m.O$)()/2;return(0,s.jsx)("div",{className:"ReaderShift",id:e.artSId,style:{left:a+"px"},children:(0,s.jsx)(d.Z,{cdata:t})})}var h=(0,n.memo)(u);function _(e){let t=(0,n.useContext)(o.Iz),{data:a}=(0,i.ZP)(e.name),d=(0,n.useRef)(-1),m=l.he,u=(0,n.useRef)(null);if((0,n.useEffect)(()=>{if(a){if(-1==d.current);else if(null==u.current){let e=null==a?void 0:a.system.codename;u.current=(0,c.r1)(m,e)}}}),!a)return(0,s.jsx)(s.Fragment,{});let _=e.name,g=m+"_"+(null==a?void 0:a.system.codename);if("article"!=a.system.type)return(0,s.jsx)(s.Fragment,{});{let p=e=>e==_,x=t.lists.scrollerList.findIndex(p);if(-1!=x&&x!=d.current)return(0,s.jsx)(s.Fragment,{});if(-1==d.current&&(t.lists.scrollerList.push(_),d.current=t.lists.scrollerList.length-1),a.elements.specialArticleType.value.length>0&&"Article with chapters"==a.elements.specialArticleType.value[0].name)return(0,s.jsx)(h,{data:a,artSId:g});let v=a;return(0,s.jsx)("div",{id:g,"data-date":v.elements.date.value,children:(0,s.jsx)(r.Z,{name:e.name,topic:e.topic,section:e.section},e.name)})}}var g=(0,n.memo)(_)},6115:function(e,t,a){"use strict";a.d(t,{Z:function(){return u}});var s=a(5893),n=a(4407),i=a(9355),r=a(7294),o=a(2941),l=a(1590);function c(e){var t="ContentLockupListSlideOrPEHolder4c TopicTimelineSpacer";return e.image.width&&(e.image.width>596&&(t="ContentLockupListSlideOrPEHolder6c TopicTimelineSpacer"),e.image.width>=800&&(t="ContentLockupListSlideOrPEHolder8c TopicTimelineSpacer")),(0,s.jsx)("img",{src:(0,l.t6)(e.image.url),alt:e.image.description?e.image.description:e.image.imageId,width:e.image.width?e.image.width:"596",className:t})}var d=(0,r.memo)(c);function m(e){return(0,s.jsx)(n.RichTextElement,{richTextElement:e.richTextElement,resolvers:{resolveLinkedItem(t,a){let{domElement:r,domToReact:o}=a;var l=r.attribs["data-codename"];if((0,n.isComponent)(r)||(0,n.isLinkedItem)(r))return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(i.Z,{codename:l,parentItem:e.parentItem},l)});throw Error("Unknown type of the linked item's dom node")},resolveImage(e,t){let{domElement:a,domToReact:n}=t;return(0,s.jsx)(d,{image:e,children:n(a.children)})},resolveLink(e,t){let{domElement:a,domToReact:n}=t;return(0,s.jsx)(o.Z,{href:"".concat(e.type,"/").concat(e.urlSlug),children:n(a.children)})}}})}var u=(0,r.memo)(m)},2121:function(e,t,a){"use strict";a.d(t,{DN:function(){return ec},bW:function(){return eg},c3:function(){return ex},ZP:function(){return eb}});var s=a(5893),n=a(7294),i=a(9734),r=a(2941),o=a(1590);function l(e){var t=void 0;return(0,s.jsx)(r.Z,{href:e.item.elements.title.value.replaceAll(" ","-").replaceAll("’","-"),children:(0,s.jsx)("div",{className:"SectionItem SectionItem_"+e.item.elements.title.value.replaceAll(" ","-").replaceAll("’","-"),onMouseEnter(){t=setTimeout(()=>{(0,o.PU)(e.item.elements.title.value)},50)},onMouseLeave(){clearTimeout(t)},children:(0,s.jsx)("div",{className:"section",id:e.item.elements.title.value,children:e.item.elements.title.value})})})}var c=(0,n.memo)(l);function d(e){let{data:t}=(0,i.ZP)(e.codename);return t?(0,s.jsx)(c,{item:t},t.system.codename):(0,s.jsx)(s.Fragment,{})}var m=(0,n.memo)(d),u=a(9355);function h(e){var t,a;return e.includes("rgba")?e:/^#([A-Fa-f0-9]{3}){1,2}$/.test(e)?(3==(t=e.substring(1).split("")).length&&(t=[t[0],t[0],t[1],t[1],t[2],t[2]]),"rgba("+[(a="0x"+t.join(""))>>16&255,a>>8&255,255&a].join(",")+",.9)"):"rgba(232,232,232,.9)"}var _=a(5675),g=a.n(_);function p(e){let t=(0,n.useContext)(eg),a=e.item.elements.backgroundSnippetHexColor.value;var i,l=h(a),c="";"rgba(238, 76, 59, 0.96)"==l&&(c="expandedMenuRedMenu"),i="Hide"!=e.item.elements.ctaCopy.value;var d="";if(t.auth){var m=JSON.parse(localStorage.getItem("UserInfo2"));m&&(d=m.FullName)}var _=e.item.elements.title.value,p=!1;return"Work"==e.item.elements.title.value&&(_="work",p=!0),"Books"==e.item.elements.title.value&&(_="books"),(0,s.jsx)("div",{className:"expandedMenus",children:(0,s.jsxs)("div",{className:"expandedMenu "+c,id:e.item.elements.title.value.replaceAll(" ","")+"menu",style:{background:l},onMouseLeave(){(0,o.PU)("")},children:[(0,s.jsx)("div",{className:"expandedMenuBack",children:(0,s.jsx)("img",{src:"https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542cf683b/a8dfce67-8889-4a88-902d-f11fd6fd3eb7/image-of-bill7.png",alt:"Bill"})}),(0,s.jsxs)("div",{className:"expandedMenuInner",children:[(0,s.jsxs)("div",{className:"expandedMenuInnerLeft",children:[(0,s.jsxs)(r.Z,{href:e.item.elements.title.value.replaceAll(" ","-").replaceAll("’","-"),children:[(0,s.jsx)("div",{className:"expandedMenuExplore",style:{display:i?"block":"none"},children:e.item.elements.ctaCopy.value+" "+_}),(0,s.jsx)("div",{className:"expandedMenuDivider",style:{display:i?"block":"none"}})]}),(0,s.jsxs)("div",{className:"expandedMenuTopicsList",children:[e.item.elements.topics.value.map((t,a)=>(0,s.jsx)(u.Z,{codename:t,parentItem:e.item},a)),(0,s.jsx)("div",{className:"GFL_Holder",style:{display:p?"flex":"none"},children:(0,s.jsx)(r.Z,{href:"https://www.gatesfoundation.org/",target:"_blank",children:(0,s.jsxs)("div",{className:"GFL_Link",children:["Visit the Gates Foundation ",(0,s.jsx)(g(),{className:"icon_Link_Arrow",width:10,height:10,src:"/Link_Arrow.svg",alt:"icon link arrow"})]})})})]}),(0,s.jsx)("div",{className:"SignUpMenuButton",onClick:o.Ok,style:{display:t.auth?"none":"flex"},children:(0,s.jsx)("div",{className:"SignUpMenuButtonLabel",children:"Sign up to get my newsletter"})}),(0,s.jsx)(r.Z,{href:"account",children:(0,s.jsxs)("div",{className:"expandedMenuLogin",style:{display:t.auth?"block":"none"},children:[d," ",(0,s.jsx)("span",{className:"expandedMenuLoginButton",children:"Manage your account"})]})})]}),(0,s.jsx)("div",{className:"expandedMenuInnerRight",children:(0,s.jsx)(u.Z,{codename:e.item.elements.heroCard.value[0],parentItem:e.item})})]})]})})}var x=(0,n.memo)(p);function v(e){let{data:t}=(0,i.ZP)(e.codename);return t&&t.elements.topics.value.length>0?(0,s.jsx)(x,{item:t},t.system.codename+"menu"):(0,s.jsx)(s.Fragment,{})}var C=(0,n.memo)(v),b=a(1163),f=a.n(b);function I(e){e.item.elements.backgroundSnippetHexColor.value;let[t,a]=(0,n.useState)(!1),i=e=>{if(0==e){let s=document.querySelector(".siteHeaderExpandedMobile");s&&s.classList.remove("MenuItemOn"),f().push("/heroes","",{scroll:!1,shallow:!1});return}t?a(!1):a(!0)};e.item.elements.ctaCopy.value,o=!0;var o,l=!1;e.item.elements.topics.value.length>0&&(l=!0);var c=!1;return"Work"==e.item.elements.title.value&&(c=!0),(0,s.jsx)("div",{className:"expandedMenusMobile",children:(0,s.jsxs)("div",{className:"expandedMenuMobile",id:e.item.elements.title.value+"menuMobile",children:[(0,s.jsx)("div",{className:"expandedMenuMobileButton",children:(0,s.jsxs)("div",{className:"expandedMenuMobileButtonInner",onClick(){i(e.item.elements.topics.value.length)},children:[(0,s.jsx)("div",{className:"expandedMenuMobileButtonInnerCopy",children:e.item.elements.title.value}),(0,s.jsx)("div",{className:"expandedMenuMobileButtonInnerIcon "+(t?"expandedMenuMobileButtonInnerIconOn":""),style:{display:l?"block":"none"}})]})}),(0,s.jsxs)("div",{className:"expandedMenuMobileLockup "+(t?"expandedMenuMobileLockupOn":""),children:[(0,s.jsxs)("div",{style:{display:o?"block":"none"},children:[(0,s.jsx)(r.Z,{href:e.item.elements.title.value.replaceAll(" ","-").replaceAll("’","-"),children:(0,s.jsx)("div",{className:"expandedMenuMobileCTA",children:e.item.elements.ctaCopy.value+" "+e.item.elements.title.value})}),(0,s.jsx)("div",{className:"expandedMenuDividerMobile",style:{display:o?"block":"none"}})]}),(0,s.jsxs)("div",{className:"expandedMenuTopicsListMobile",children:[e.item.elements.topics.value.map((t,a)=>(0,s.jsx)(u.Z,{codename:t,parentItem:e.item},a)),(0,s.jsx)("div",{className:"GFL_Holder",style:{display:c?"flex":"none"},children:(0,s.jsx)(r.Z,{href:"https://www.gatesfoundation.org/",target:"_blank",children:(0,s.jsxs)("div",{className:"GFL_Link",children:["Visit the Gates Foundation ",(0,s.jsx)(g(),{className:"icon_Link_Arrow",width:10,height:10,src:"/Link_Arrow.svg",alt:"icon link arrow"})]})})})]})]})]})})}var S=(0,n.memo)(I);function T(e){let{data:t}=(0,i.ZP)(e.codename);return t?(0,s.jsx)(S,{item:t},t.system.codename+"menu"):(0,s.jsx)(s.Fragment,{})}var N=(0,n.memo)(T);function E(e){let t=(0,n.useContext)(eg);t.auth&&localStorage.getItem("gniUser");var a,i,l,c="";if(t.auth){var d=JSON.parse(localStorage.getItem("UserInfo2"));d&&(c=d.FullName)}return(0,s.jsxs)("div",{className:"siteHeader",children:[(0,s.jsxs)("div",{className:"siteHeaderInner",children:[(0,s.jsxs)("div",{className:"siteHeaderLeft",children:[(0,s.jsx)(r.Z,{href:"",children:(0,s.jsx)(g(),{className:"siteHeaderLogoStack",width:44,height:35,src:"/LogoStack.svg",alt:"siteHeaderLogo"})}),(0,s.jsxs)("div",{className:"siteHeaderLeftMobile",onClick(){(0,o.PU)("mobile")},children:[(0,s.jsx)(g(),{className:"siteHeaderHamburger",width:44,height:15,src:"/Hamburger.svg",alt:"siteHeaderMenu"}),(0,s.jsx)(g(),{className:"siteHeaderHamburgerClose Hidden",width:44,height:15,src:"/icon_Close.svg",alt:"siteHeaderMenu"})]})]}),(0,s.jsxs)("div",{className:"siteHeaderCenter",children:[(0,s.jsx)("div",{className:"SiteSections",children:null===(a=e.data)||void 0===a?void 0:a.elements.sections.value.map(e=>(0,s.jsx)(m,{codename:e},e))}),(0,s.jsx)(r.Z,{href:"",children:(0,s.jsx)("div",{className:"siteHeaderCenterMobile",children:(0,s.jsx)(g(),{className:"siteHeaderCenterLogo",width:44,height:15,src:"/Logo.svg",alt:"Logo"})})})]}),(0,s.jsx)(r.Z,{href:"search",children:(0,s.jsx)("div",{className:"siteHeaderRight",children:(0,s.jsx)("div",{className:"siteHeaderRightSearch",children:(0,s.jsx)(g(),{className:"siteHeaderRightIcon",width:24,height:24,src:"/Search.svg",alt:"siteHeaderRight"})})})})]}),(0,s.jsx)("div",{className:"siteHeaderExpandedDesktop",children:null===(i=e.data)||void 0===i?void 0:i.elements.sections.value.map(e=>(0,s.jsx)(C,{codename:e},e))}),(0,s.jsx)("div",{className:"siteHeaderExpandedMobile",children:(0,s.jsxs)("div",{className:"expandedMenusMobileInner",children:[(0,s.jsx)("div",{className:"expandedMenusMobileInnerFlex",children:null===(l=e.data)||void 0===l?void 0:l.elements.sections.value.map(e=>(0,s.jsx)(N,{codename:e},e))}),(0,s.jsx)("div",{className:"SignUpMenuButton",onClick:o.Ok,style:{display:t.auth?"none":"flex"},children:(0,s.jsx)("div",{className:"SignUpMenuButtonLabel",children:"Sign up to get my newsletter"})}),(0,s.jsx)("div",{style:{display:t.auth?"block":"none",width:"100%"},children:(0,s.jsx)(r.Z,{href:"account",children:(0,s.jsxs)("div",{className:"expandedMenuLoginMobile",onClick:o.GP,style:{display:t.auth?"block":"none"},children:[c," ",(0,s.jsx)("span",{className:"expandedMenuLoginButtonMobile",children:"Manage your account"})]})})})]})})]})}var k=(0,n.memo)(E),A=a(7858),j=a(4390);function y(e){return(0,s.jsx)(r.Z,{href:e.item.elements.title.value.replaceAll(" ","-").replaceAll("’","-"),children:(0,s.jsx)("div",{className:"FooterSectionItem",children:(0,s.jsx)("div",{className:"FooterSection",id:"F"+e.item.elements.title.value,children:e.item.elements.title.value})})})}var w=(0,n.memo)(y);function L(e){let{data:t}=(0,i.ZP)(e.codename);return t?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(w,{item:t},t.system.codename)}):(0,s.jsx)(s.Fragment,{})}var O=(0,n.memo)(L);function B(e){var t;let a=new Date,n=a.getFullYear();return(0,s.jsxs)("div",{className:"FooterHolder",children:[(0,s.jsxs)("div",{className:"FooterMain",children:[(0,s.jsx)("div",{className:"CardTopEdge"}),(0,s.jsxs)("div",{className:"FooterMainTop",children:[(0,s.jsx)("div",{className:"FooterMainTopL",children:(0,s.jsx)("div",{className:"FooterSiteSections",children:null===(t=e.data)||void 0===t?void 0:t.elements.sections.value.map(e=>(0,s.jsx)(O,{codename:e},e))})}),(0,s.jsxs)("div",{className:"FooterMainTopR",children:[(0,s.jsx)("a",{href:"https://www.facebook.com/BillGates/",rel:"noopener noreferrer",children:(0,s.jsx)(g(),{className:"FooterMainTopR_socialIcon",width:44,height:15,src:"/fb.svg",alt:"fb"})}),(0,s.jsx)("a",{href:"https://x.com/BillGates",rel:"noopener noreferrer",children:(0,s.jsx)(g(),{className:"FooterMainTopR_socialIcon",width:44,height:15,src:"/tw.svg",alt:"tw"})}),(0,s.jsx)("a",{href:"https://www.youtube.com/user/thegatesnotes",rel:"noopener noreferrer",children:(0,s.jsx)(g(),{className:"FooterMainTopR_socialIcon",width:44,height:15,src:"/yt.svg",alt:"yt"})}),(0,s.jsx)("a",{href:"https://www.instagram.com/thisisbillgates/",rel:"noopener noreferrer",children:(0,s.jsx)(g(),{className:"FooterMainTopR_socialIcon",width:44,height:15,src:"/ig.svg",alt:"ig"})}),(0,s.jsx)("a",{href:"https://www.linkedin.com/in/williamhgates/",rel:"noopener noreferrer",children:(0,s.jsx)(g(),{className:"FooterMainTopR_socialIcon",width:44,height:15,src:"/in.svg",alt:"in"})})]})]}),(0,s.jsxs)("div",{className:"FooterMainBottom",children:[(0,s.jsxs)("div",{className:"FooterMainBottomList",children:[(0,s.jsx)("div",{className:"FooterMainBottomListItem",children:(0,s.jsx)(r.Z,{href:"privacy-policy",children:"Privacy policy"})}),(0,s.jsx)("div",{className:"FooterMainBottomListItem",children:(0,s.jsx)(r.Z,{href:"Terms-of-Use",children:"Terms of use"})}),(0,s.jsx)("div",{className:"FooterMainBottomListItem",children:(0,s.jsx)(r.Z,{href:"Contact-Us",children:"Contact us"})})]}),(0,s.jsxs)("div",{className:"FooterMainBottomCR",children:["\xa9 ",n," The Gates Notes LLC"]})]})]}),(0,s.jsxs)("div",{className:"FooterLower",children:[(0,s.jsx)(g(),{className:"text",width:44,height:15,src:"/text.svg",alt:"text"}),(0,s.jsx)(g(),{className:"quote",width:44,height:15,src:"/quote.svg",alt:"quote"}),(0,s.jsx)(g(),{className:"bill-gates-signature",width:44,height:15,src:"/bill-gates-signature.svg",alt:"bill-gates-signature"})]})]})}var R=(0,n.memo)(B),D=a(5376),M=a(6064);function H(e){let{data:t}=(0,i.ZP)(e.name);return t?(e.name,(0,s.jsx)("div",{children:t.elements.sectionPageTopic.value.map((e,t)=>(0,s.jsx)(j.ZP,{name:e,codename:t,scroller:D.rO,item:"",subItem:""},e))})):(0,s.jsx)(M.Z,{pageName:e.name})}var F=(0,n.memo)(H),P=a(9008),W=a.n(P),G=a(6166),U=a(5868),V=a(2136),Y=a(521),Z=a(4901);function K(e){return(0,s.jsx)("div",{style:{margin:"100px"},children:(0,s.jsxs)(r.Z,{href:"https://www.gatesnotes.com",className:"GNLink",children:[(0,s.jsx)("h1",{children:"DevTest"}),(0,s.jsxs)("p",{children:["Item: ",e.item]}),(0,s.jsxs)("p",{children:["SubItem: ",e.subItem]})]})})}var q=(0,n.memo)(K),Q=a(4422),z=a(5051);function J(e){let t=(0,n.useContext)(ex);return(0,n.useEffect)(()=>{},[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(z.Z,{artid:t.artguid})})}var X=(0,n.memo)(J),$=a(145),ee=a(2199);function et(e){let t=(0,n.useContext)(ex);function a(){t.setArtGUID("")}let i=(0,o.Me)();var r="CommNotAble";"true"==i&&(r="CommAble"),"needsVerify"==i&&(r="CommVerify");var l="",c=document.querySelector(".CommentsHolder"),d=document.querySelector(".overlay-background");return""!=t.artguid?(c&&c.classList.add("CommentsHolder-on"),d&&d.classList.add("overlay-background-on"),l=" CommentsHolder-on"):(c&&c.classList.remove("CommentsHolder-on"),d&&d.classList.remove("overlay-background-on")),(0,s.jsxs)("div",{className:"CommentsHolder "+r+l,id:"CommentsHolder",children:[(0,s.jsx)("div",{className:"CommentsHolderClose",children:(0,s.jsx)("div",{className:"CommentsHolderCloseIcons",onClick:()=>a(),children:(0,s.jsx)("div",{className:"CommentsHolderCloseIcon",children:(0,s.jsx)(g(),{className:"primaryButtonIconImg",width:24,height:24,src:"/icon_Close.svg",alt:"icon_Close"})})})}),(0,s.jsx)(X,{}),(0,s.jsxs)("div",{className:"CommentsHolderBottomContent",children:[(0,s.jsx)("div",{className:"CommentsHolderBottomContentLogIn",children:(0,s.jsx)("div",{className:"CommentsHolderBottomContentLogInButtons",onClick:o.Ok,children:(0,s.jsx)("div",{className:"CommentsHolderBottomContentLogInButton",children:"Log in or sign up to comment"})})}),(0,s.jsxs)("div",{className:"AccountHolderWarning",children:[(0,s.jsx)("div",{className:"AccountHolderWarningIcons",children:(0,s.jsx)(g(),{className:"AccountHolderWarningIcon",width:20,height:18,src:"/icon_CheckmarkRed.svg",alt:"icon_CheckmarkRed"})}),(0,s.jsxs)("div",{className:"AccountHolderWarningFrame",children:[(0,s.jsx)("div",{className:"AccountHolderWarningCopy1",children:"Please verify your account"}),(0,s.jsx)("div",{className:"AccountHolderWarningCopy2",onClick:()=>(0,$.U)(),children:"Resend verification email"})]})]}),(0,s.jsxs)("div",{className:"CommentsHolderBottomContentPost",children:[(0,s.jsxs)("div",{className:"post-comment-top",children:[(0,s.jsx)("div",{className:"post-comment-leave",children:"Leave a comment"}),(0,s.jsx)("span",{id:"post-comment-feedback"})]}),(0,s.jsxs)("div",{className:"post-comment-text-area",children:[(0,s.jsx)("div",{className:"post-comment-input",children:(0,s.jsx)("textarea",{id:"post-comment-input-text-area",className:"post-comment-input-text-area",maxLength:750,placeholder:"Write a comment...",name:"comment"})}),(0,s.jsxs)("div",{className:"post-comment-buttons",children:[(0,s.jsxs)("div",{className:"post-comment-links",children:[(0,s.jsx)("div",{className:"post-comment-bold",children:(0,s.jsx)(g(),{className:"primaryButtonIconImg",width:24,height:24,src:"/icon_Bold.svg",alt:"icon_Bold"})}),(0,s.jsx)("div",{className:"post-comment-italic",children:(0,s.jsx)(g(),{className:"primaryButtonIconImg",width:24,height:24,src:"/icon_Italics.svg",alt:"icon_Italics"})}),(0,s.jsx)("div",{className:"post-comment-link",children:(0,s.jsx)(g(),{className:"primaryButtonIconImg",width:24,height:24,src:"/icon_Link.svg",alt:"icon_Link"})})]}),(0,s.jsx)("div",{className:"post-comment-button",onClick:()=>(0,ee.U)(),children:(0,s.jsx)("div",{className:"post-comment-button-copy",children:"Submit"})})]})]})]})]})]})}var ea=(0,n.memo)(et),es=a(7287),en=a(4020);function ei(e){let t={};t.copy="Microsoft",t.link="/";let a={};return a.copy="Reading lists",a.link="/",(0,s.jsxs)("div",{className:"SearchMenuHolder",id:"SearchMenuHolder",children:[(0,s.jsx)("div",{className:"SearchMenuClose",onClick:o.UY,children:(0,s.jsx)(g(),{className:"icon_Img icon_CloseIcon",width:44,height:15,src:"/icon_Close.svg",alt:"icon_Close"})}),(0,s.jsxs)("div",{className:"SearchMenuLockup",children:[(0,s.jsxs)("div",{className:"SearchMenuBar",children:[(0,s.jsx)("input",{className:"SearchMenuInput",placeholder:"Search Gates Notes..."}),(0,s.jsx)("div",{className:"SearchMenuIcon",children:(0,s.jsx)(g(),{className:"icon_SearchIcon",width:44,height:15,src:"/Search.svg",alt:"icon_Search"})})]}),(0,s.jsxs)("div",{className:"SearchMenuTags",children:[(0,s.jsx)("div",{className:"SearchMenuTagsTitle",children:"POPULAR SEARCHES"}),(0,s.jsx)("div",{className:"SearchMenuTagsGroup",children:(0,s.jsxs)("div",{className:"KBreadCrumbs",children:[(0,s.jsx)(en.Z,{item:t}),(0,s.jsx)(en.Z,{item:a})]})})]})]})]})}var er=(0,n.memo)(ei),eo=a(7206);let el={state:{SC_article:"",SC_section:"",SC_topic:"",SC_scroller:"",SC_scrollerItem:"",SC_scrollerSubItem:"",SC_articleCN:"",SC_topicCN:"",SC_scrollerItemCN:"",SC_scrollerSubItemCN:""},setState(e){}},ec=(0,n.createContext)(el),ed=(0,o.ak)("validate"),em=(0,o.ak)("reset"),eu=(0,o.ak)("hash"),eh=(0,o.ak)("WT.mc_id"),e_={auth:!1,setAuth(e){}},eg=(0,n.createContext)(e_),ep={artguid:"",setArtGUID(e){}},ex=(0,n.createContext)(ep);function ev(e,t,a){var s={...a};let n=(0,Q.O)(e,D.zW);var i=e.length;n>-1&&(s.SC_scroller=e[n],n<e.length-1&&(s.SC_scrollerItem=e[n+1],s.SC_scrollerItemCN=(0,Z.DK)(e[n+1]),n<e.length-2&&(s.SC_scrollerSubItem=e[n+2],s.SC_scrollerSubItemCN=(0,Z.DK)(e[n+2]))),i=n);let r=(0,Z.DK)(e[0]);1==i&&-1==(0,Q.d)(r,t)?s.SC_articleCN=r:("home"==e[0].toLowerCase()&&(s.SC_topic=Z.wI,s.SC_topicCN=Z.j7),s.SC_section=e[0],i>1?(s.SC_topic=e[1],s.SC_topicCN=(0,Z.DK)(e[1])):((r==Z.JH||r==Z.W0)&&(s.SC_topic=Z.VR,s.SC_topicCN=Z.Sv),(r==Z.fw||r==Z.X1)&&(s.SC_topic=Z.S2,s.SC_topicCN=Z.cE),(r==Z.xB||r==Z.cJ)&&(s.SC_topic=Z.PJ,s.SC_topicCN=Z.ij),(r==Z.Hc||r==Z.NO)&&(s.SC_topic=Z.uk,s.SC_topicCN=Z.X3)),""==s.SC_scroller&&(s.SC_scroller=D.rO,eo.h,s.SC_section,""!=s.SC_topic&&s.SC_topic,s.SC_scroller,window.location.href));let o=e.join("/"),l=e.length,c={name:"KSite: Parsed Path"},d={pathSize:l,pathArray:o,article:s.SC_article,articleCN:s.SC_articleCN,section:s.SC_section,topic:s.SC_topic,topicCN:s.SC_topicCN,scroller:s.SC_scroller,scrollerItem:s.SC_scrollerItem,scrollerSubItem:s.SC_scrollerSubItem,scrollerItemCN:s.SC_scrollerItemCN,scrollerSubItemCN:s.SC_scrollerSubItemCN};return V.I.trackEvent(c,d),s}function eC(e){let t=ev(e.pathArray,e.sections,el.state),[a,r]=(0,n.useState)(t),[l,c]=(0,n.useState)(0),[d,m]=(0,n.useState)(!1),[u,h]=(0,n.useState)(""),{data:_}=(0,i.ZP)(Z.d3),g=_;(0,n.useEffect)(()=>{if(em&&eu){localStorage.setItem("authParamReset",em),localStorage.setItem("authParamHash",eu);let e=document.getElementById("AuthHolder");if(e){e.classList.add("AuthHolderOn");let t=document.getElementById("Auth_SI_Form");t&&t.classList.add("Hidden");let s=document.getElementById("Auth_ForgotPass");s&&s.classList.add("Shown")}}if(ed&&eu&&(localStorage.setItem("authParamValidate",ed),localStorage.setItem("authParamHash",eu),(0,Y.mX)()),eh){if(eh!=localStorage.getItem("authParamCampaign")&&(localStorage.setItem("authParamCampaignstatus","newCampaign"),localStorage.setItem("authParamCampaign",eh),null==p||p.trackEvent({name:"Campaign query param: WT.mc_id",properties:{authParamCampaign:eh,user:localStorage.getItem("UserInfo2")}})),"SentToCRM"!=localStorage.getItem("authParamCampaignstatus")&&(0,o.SN)()){var n=localStorage.getItem("authParamCampaignstatus");localStorage.setItem("authParamCampaign",eh),"newUser"==n?(console.log("crm cookie SET:gn_origincampaign "+eh),(0,Y.lE)("gn_origincampaign",eh)):(console.log("crm cookie SET:new_signupcampaign "+eh),(0,Y.lE)("new_signupcampaign",eh)),console.log("crm new_signupcampaign SENT: "+eh),localStorage.setItem("authParamCampaignstatus","SentToCRM")}else console.log("crm cookie blank or already sent or no user logged in: "+localStorage.getItem("authParamCampaign"))}c((0,o.O$)()),m((0,o.SN)()),x({SC_article:a.SC_article,SC_section:a.SC_section,SC_topic:a.SC_topic,SC_scroller:a.SC_scroller,SC_scrollerItem:a.SC_scrollerItem,SC_scrollerSubItem:a.SC_scrollerSubItem,SC_topicCN:a.SC_topicCN,SC_articleCN:a.SC_articleCN,SC_scrollerItemCN:a.SC_scrollerItemCN,SC_scrollerSubItemCN:a.SC_scrollerSubItemCN}),setInterval(()=>{let e=document.querySelectorAll(".CLDVid");e.forEach(e=>{let t=e;if(t){var a;let s=null===(a=t.parentElement)||void 0===a?void 0:a.querySelector(".lightBoxControls");t.paused||null==s||s.classList.add("Hidden")}})},2e3)},[a]);let p=(0,G.u)(),x=(0,U.Z)(p,"KSite: State",a);var v={},C=(0,o.WS)(t);let{data:b}=(0,i.ZP)(t.SC_topicCN),{data:f}=(0,i.ZP)(t.SC_articleCN),{data:I}=(0,i.ZP)(t.SC_scrollerItemCN);var S="";I&&I.elements.cardSource&&I.elements.cardSource.value.length&&(S=I.elements.cardSource.value[0]);let{data:T}=(0,i.ZP)(S);if("topic"==C){if(b&&"topic"==b.system.type){let N=b;v=(0,o.DA)(N,g,e.pathArray)}}else if("article"==C){if(f&&"article"==f.system.type){let E=f;v=(0,o.SW)(E,g,e.pathArray)}}else if(I)switch(I.system.type){case"article":let y=I;v=(0,o.SW)(y,g,e.pathArray);break;case"card":let w=I;v=(0,o.V0)(w,T,g,e.pathArray);break;case"inline_video_item":let L=I;v=(0,o.hP)(L,g,e.pathArray);break;default:let O=I,B=b;v=(0,o.d0)(O,B,g,e.pathArray)}if(v.metaName&&(v.metaName=v.metaName.toLowerCase().replaceAll("_","-")),v.metaUrl){v.metaUrl=v.metaUrl.toLowerCase().replaceAll("_","-");var D=v.metaUrl.split("/");7==D.length&&v.metaUrl.includes("/reader/")&&(v.metaUrl="https://www.gatesnotes.com/"+D[D.length-1])}var M="https://assets.adobedtm.com/ee4236cad46a/017c9210d029/launch-d084cc3ee988-development.min.js";return(0,eo.B)()&&(M="https://assets.adobedtm.com/ee4236cad46a/017c9210d029/launch-d9135d6ecfbf.min.js"),v.metaDesc&&(v.metaDesc=v.metaDesc.replaceAll('"',"'")),v.metaCodename||(console.log("path last: "+e.pathArray[e.pathArray.length-1]),"contact-us"==e.pathArray[e.pathArray.length-1]||"search"==e.pathArray[e.pathArray.length-1]?v.metaResCode="200":v.metaResCode="404"),v.metaTitle&&(v.metaTitle=v.metaTitle.replaceAll("<p>","").replaceAll("</p>","")),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(W(),{children:[(0,s.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge,chrome=1"}),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width,minimum-scale=1,maximum-scale=1,initial-scale=1,user-scalable=0"}),(0,s.jsx)("meta",{name:"mobile-web-app-capable",content:"yes"}),(0,s.jsx)("meta",{name:"SKYPE_TOOLBAR",content:"SKYPE_TOOLBAR_PARSER_COMPATIBLE"}),(0,s.jsx)("meta",{name:"msapplication-TileColor",content:"#cc6633"}),(0,s.jsx)("title",{children:v.metaTitle}),(0,s.jsx)("a",{rel:"icon",href:"/favicon.png"}),(0,s.jsx)("a",{rel:"stylesheet",href:"https://use.typekit.net/cya0eea.css"}),(0,s.jsx)("script",{src:M,async:!0}),(0,s.jsx)("meta",{name:"google-site-verification",content:"Jnt34x_c-b7O4rgxluRMsvvc52OWWOhpxMxTJOhqaek"}),(0,s.jsx)("meta",{property:"twitter:account_id",content:"50393960"}),(0,s.jsx)("link",{rel:"icon",type:"image/ico",href:"/gatesnotes_badge.ico"}),(0,s.jsx)("link",{rel:"apple-touch-icon",href:"/touch-icon-iphone-v2.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon-precomposed",href:"/touch-icon-iphone-v2.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon-precomposed",sizes:"72x72",href:"/touch-icon-ipad-v2.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon-precomposed",sizes:"114x114",href:"/touch-icon-iphone-retina-v2.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon-precomposed",sizes:"144x144",href:"/touch-icon-ipad-retina-v2.png"}),(0,s.jsx)("meta",{name:"pageName",content:v.metaName}),(0,s.jsx)("meta",{name:"author",content:v.metaAuthor}),(0,s.jsx)("meta",{name:"keywords",content:v.metaKeywords}),(0,s.jsx)("meta",{name:"title",content:v.metaTitle}),(0,s.jsx)("meta",{name:"description",content:v.metaDesc}),(0,s.jsx)("meta",{name:"pageName",content:v.metaName}),(0,s.jsx)("meta",{name:"channel",content:v.metaTax}),(0,s.jsx)("meta",{name:"subTopic",content:v.metaTax}),(0,s.jsx)("meta",{name:"contentType",content:v.metaType}),(0,s.jsx)("meta",{name:"pageCN",content:v.metaCodename}),(0,s.jsx)("meta",{name:"pageID",content:v.metaExtID}),(0,s.jsx)("meta",{name:"pageKID",content:v.metaKonID}),(0,s.jsx)("meta",{name:"prerender-status-code",content:v.metaResCode}),(0,s.jsx)("meta",{name:"pageTCN",content:v.metaType}),(0,s.jsx)("meta",{name:"pageCP",content:v.metaUrl}),(0,s.jsx)("meta",{property:"og:title",content:v.metaTitle}),(0,s.jsx)("meta",{property:"og:description",content:v.metaDesc}),(0,s.jsx)("meta",{property:"og:image",content:v.metaImage}),(0,s.jsx)("meta",{property:"og:type",content:v.metaType}),(0,s.jsx)("meta",{property:"og:url",content:v.metaUrl}),(0,s.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,s.jsx)("meta",{property:"og:site_name",content:"gatesnotes.com"}),(0,s.jsx)("meta",{property:"og:EmailSubject",content:v.metaTitle}),(0,s.jsx)("meta",{property:"og:EmailBody",content:v.metaDesc}),(0,s.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{name:"twitter:site",content:"@BillGates"}),(0,s.jsx)("meta",{name:"twitter:title",content:v.metaTitle}),(0,s.jsx)("meta",{name:"twitter:description",content:v.metaDesc}),(0,s.jsx)("meta",{name:"twitter:image",content:v.metaImage}),(0,s.jsx)("link",{rel:"canonical",href:v.metaUrl}),(0,s.jsx)("script",{id:"schemantra",type:"application/ld+json",dangerouslySetInnerHTML:{__html:'\n        {\n  "@context": "https://schema.org",\n  "@type": "WebPage",\n  "@id": "WebPage",\n  "copyrightNotice": "The Gates Notes LLC ",\n  "copyrightYear": "2024",\n  "description": "'+v.metaDesc+'",\n  "headline": "'+v.metaName+'",\n  "image": "'+v.metaImage+'",\n  "isAccessibleForFree": true,\n  "keywords": "'+v.metaKeywords+'",\n  "url": "'+v.metaUrl+'"\n        }\n      '}}),(0,s.jsx)("script",{src:"../../../../../../../js/GTM_H_P.js",async:!0})]}),(0,s.jsx)("iframe",{src:"https://www.googletagmanager.com/ns.html?id=GTM-NV84C88",height:"0",width:"0",style:{display:"none",visibility:"hidden"}}),(0,s.jsxs)("div",{id:"kSite",className:"V_AutoPlayOff V_CaptionsOn V_VolumeOn Section_"+t.SC_section,"data-sbw":l,children:[(0,s.jsx)("div",{className:"titleHide Hidden",children:v.metaTitle}),(0,s.jsx)("div",{className:"descHide Hidden",children:v.metaDesc}),(0,s.jsx)("div",{className:"keywordsHide Hidden",children:v.metaKeywords}),(0,s.jsx)("input",{type:"text",className:"Hidden"}),(0,s.jsx)("input",{type:"password",className:"Hidden"}),(0,s.jsx)("div",{id:"scrollWidth",children:(0,s.jsx)("div",{id:"scrollWidthInner"})}),(0,s.jsx)(ex.Provider,{value:{artguid:u,setArtGUID:h},children:(0,s.jsx)(eg.Provider,{value:{auth:d,setAuth:m},children:(0,s.jsx)(ec.Provider,{value:{state:a,setState:r},children:(0,s.jsx)("div",{className:"layout",children:(0,s.jsxs)("main",{children:[(0,s.jsx)("div",{className:"overlay-background",children:(0,s.jsx)("div",{className:"overlay-background-inner"})}),(0,s.jsx)(ea,{}),(0,s.jsx)(k,{data:_}),""!=t.SC_articleCN?(0,s.jsx)(A.Z,{section:t.SC_section,topic:t.SC_topicCN,name:t.SC_articleCN}):""!=t.SC_topic?(0,s.jsx)(j.ZP,{name:t.SC_topic,codename:t.SC_topicCN,scroller:t.SC_scroller,item:t.SC_scrollerItemCN,subItem:t.SC_scrollerSubItemCN},t.SC_topicCN):t.SC_section==Z.zd.toLowerCase()?(0,s.jsx)(q,{item:t.SC_scrollerItemCN,subItem:t.SC_scrollerSubItemCN}):(0,s.jsx)(F,{name:t.SC_section}),(0,s.jsx)(es.Z,{}),(0,s.jsx)("div",{className:"SearchMenuOuterHolder",id:"SearchMenuOuterHolder",children:(0,s.jsx)(er,{})}),(0,s.jsx)(R,{data:_})]})})})})})]})]})}var eb=(0,n.memo)(eC)},4390:function(e,t,a){"use strict";a.d(t,{J:function(){return U},Iz:function(){return V},ZP:function(){return Z}});var s=a(5893),n=a(7294),i=a(9734),r=a(3462),o=a(6319);function l(e){let t=(0,n.useRef)(null);(0,n.useEffect)(()=>{t.current=(0,r.kY)(e.scroller,e.codename)});let a=e.scroller+"_"+e.codename;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"CardOuterHolder",id:a,children:(0,s.jsx)(o.Z,{codename:e.codename,parentItem:e.parentItem},e.codename)})})}var c=(0,n.memo)(l),d=a(6064);function m(e){let{data:t}=(0,i.ZP)(e.name);return((0,n.useEffect)(()=>{}),t&&"topic"==t.system.type)?(0,s.jsx)("div",{className:"TopicTimelineHolder",id:"TopicTimelineHolder",children:null==t?void 0:t.elements.content.value.map((a,n)=>(0,s.jsx)(c,{codename:a,parentItem:t,scroller:e.scroller},a))}):(0,s.jsx)(d.Z,{pageName:e.name})}var u=(0,n.memo)(m),h=a(5376),_=a(5152),g=a.n(_),p=a(730);function x(e){let[t,a]=(0,n.useState)(!1),i=(0,n.useRef)(null);return((0,n.useEffect)(()=>{let e={root:null,rootMargin:"200px",threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]},t=new IntersectionObserver(e=>{let s=e[0];s.isIntersecting&&(setTimeout(()=>{a(!0)},100),t.disconnect())},e);i.current&&t.observe(i.current)},[]),t)?(0,s.jsx)("div",{className:"KLB_Outer",id:h.l3+"_"+e.codename,children:(0,s.jsx)(p.default,{num:e.num,codename:e.codename,parentItem:e.parentItem},e.codename)}):(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"KLB_Outer",id:h.l3+"_"+e.codename,children:(0,s.jsx)(p.default,{num:e.num,codename:e.codename,parentItem:e.parentItem},e.codename)})})}g()(()=>Promise.resolve().then(a.bind(a,730)),{loadableGenerated:{webpack:()=>[730]},loading:()=>(0,s.jsx)("h1",{})});var v=(0,n.memo)(x);function C(e){let{data:t}=(0,i.ZP)(e.codename);return(null==t?void 0:t.elements.cardTargetsMainTarget)?(null==t||t.system.codename,(0,s.jsx)(s.Fragment,{children:null==t?void 0:t.elements.cardTargetsLightboxTargets.value.map((a,n)=>(0,s.jsx)(v,{num:e.num,codename:a,parentItem:t},Math.random()))})):(0,s.jsxs)(s.Fragment,{children:[" "," "]})}var b=(0,n.memo)(C);function f(e){let{data:t}=(0,i.ZP)(e.codename);if(!t)return(0,s.jsx)(s.Fragment,{});switch(t.system.type){case"card":if(!t.elements.cardTargetsLightboxTargets)return(0,s.jsx)(s.Fragment,{});return t.system.codename,(0,s.jsx)(s.Fragment,{children:t.elements.cardTargetsLightboxTargets.value.map((e,a)=>(0,s.jsx)(v,{num:a,codename:e,parentItem:t},a))});case"card_collections_and_rails":return(0,s.jsx)(s.Fragment,{children:t.elements.content.value.map((e,t)=>(0,s.jsx)(b,{num:t,codename:e},t))});default:return(0,s.jsx)(s.Fragment,{})}}var I=(0,n.memo)(f),S=a(5675),T=a.n(S),N=a(1163),E=a(1590),k=a(2121);function A(e){(0,n.useContext)(k.DN);let t=(0,N.useRouter)(),[a,r]=(0,n.useState)(!1);function o(){a?t.push("/"):t.back()}let l=(0,n.useRef)(null),{data:c}=(0,i.ZP)(e.name);return((0,n.useRef)(0),(0,n.useEffect)(()=>{(0,E.VE)();let e={root:null,rootMargin:"200px",threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]},a=new IntersectionObserver(e=>{let t=e[0];t.isIntersecting&&(a.disconnect(),o())},e);setTimeout(()=>{l.current&&a.observe(l.current)},1e4);let s=()=>{t.asPath===window.location.pathname&&r(!0)};return t.events.on("routeChangeComplete",s),()=>{t.events.off("routeChangeComplete",s)}}),c)?(0,s.jsxs)("div",{className:"LightboxHolder lightboxitemSnap",style:{display:"block"},id:"LightboxHolder",children:[(0,s.jsx)("div",{className:"icon_Holder",id:"LightboxHolderClose",onClick(){o()},children:(0,s.jsx)(T(),{className:"icon_Img icon_CloseIcon",width:44,height:15,src:"/icon_Close.svg",alt:"icon_Close"})}),(0,s.jsxs)("div",{className:"LightboxHolderInner",id:"LightboxHolderInner",children:[c.elements.content.value.map((e,t)=>(0,s.jsx)(I,{codename:e,parentItem:c},e)),(0,s.jsx)("div",{className:"LightboxEndFrame",children:(0,s.jsx)("div",{className:"LightboxEndClose",ref:l})})]})]}):(0,s.jsx)(d.Z,{pageName:e.name})}var j=(0,n.memo)(A),y=a(6501);function w(e){let{data:t}=(0,i.ZP)(e.codename);return(null==t?void 0:t.elements.cardTargetsMainTarget)?(0,s.jsx)(s.Fragment,{children:null==t?void 0:t.elements.cardTargetsMainTarget.value.map((e,t)=>(0,s.jsx)(y.default,{name:e,topic:"",section:""},e))}):(0,s.jsxs)(s.Fragment,{children:[" "," "]})}var L=(0,n.memo)(w);function O(e){let[t,a]=(0,n.useState)(!1),i=(0,n.useRef)(null);return((0,n.useEffect)(()=>{let e={root:null,rootMargin:"200px",threshold:[.1,.2,.3,.4,.5,.6,.7,.8,.9,1]},t=new IntersectionObserver(e=>{let s=e[0];s.isIntersecting&&(setTimeout(()=>{a(!0)},100),t.disconnect())},e);i.current&&t.observe(i.current)},[]),t)?(0,s.jsx)(y.default,{name:e.name,topic:"",section:""},e.name):(0,s.jsx)("div",{id:"ph_"+e.name,className:"ItemPlaceHolder",ref:i})}g()(()=>Promise.resolve().then(a.bind(a,6501)),{loadableGenerated:{webpack:()=>[6501]},loading:()=>(0,s.jsx)("h1",{})});var B=(0,n.memo)(O);function R(e){let{data:t}=(0,i.ZP)(e.codename);if(!t)return(0,s.jsx)(s.Fragment,{});switch(null==t?void 0:t.system.type){case"card":if("campaign_articles_card"==t.elements.cardType.value[0].codename)return(0,s.jsx)(s.Fragment,{children:t.elements.cardSource.value.map(e=>(0,s.jsx)(B,{name:e,topic:"",section:""},e))});if(!t.elements.cardTargetsMainTarget)return(0,s.jsxs)(s.Fragment,{children:[" "," "]});return(0,s.jsx)(s.Fragment,{children:t.elements.cardTargetsMainTarget.value.map(e=>(0,s.jsx)(y.default,{name:e,topic:"",section:""},e))});case"card_collections_and_rails":return(0,s.jsx)(s.Fragment,{children:t.elements.content.value.map((e,t)=>(0,s.jsx)(L,{codename:e},e))});default:return(0,s.jsx)(s.Fragment,{})}}var D=(0,n.memo)(R);function M(e){let{data:t}=(0,i.ZP)(e.name);if((0,n.useRef)(0),(0,n.useEffect)(()=>{let e=document.querySelector(".FooterHolder"),t=document.querySelector("#articlesHolder");if(e&&t){setTimeout(()=>{t.append(e)},8e3);var a=(0,E.O$)()/2;e.setAttribute("style","left: "+a+"px")}}),!t)return(0,s.jsx)(d.Z,{pageName:e.name});var a=0;return(0,E.p4)("V_AutoPlayOn",!1),(0,s.jsx)("div",{className:"articlesHolder articleAutoPlayOff",style:{display:"block",left:a+"px"},id:"articlesHolder",children:t.elements.content.value.map((e,a)=>(0,s.jsx)(D,{codename:e,parentItem:t},e))})}var H=(0,n.memo)(M),F=a(3150),P=a(7206);let W={state:{articles:""},setState(e){}},G={lists:{scrollerList:[]},setLists(e){}},U=(0,n.createContext)(W),V=(0,n.createContext)(G);function Y(e){let t=(0,n.useContext)(k.DN),[a,i]=(0,n.useState)(W.state),[r,o]=(0,n.useState)(G.lists);function l(){if(e.scroller.toLowerCase()==h.he.toLowerCase()&&""!=e.item){let t=document.getElementById("articlesHolder");var a="ph_"+(0,F.getKCodenameFromName)(e.item);if(t){let s=t.querySelector("#"+a);s&&(null==t||t.prepend(s));var n=e.scroller+"_"+(0,F.getKCodenameFromName)(e.item);let i=t.querySelector("#"+n);i&&(null==t||t.prepend(i))}}if(e.scroller.toLowerCase()==h.l3.toLowerCase()&&""!=e.item){let r=document.getElementById("LightboxHolderInner");var a="ph_"+(0,F.getKCodenameFromName)(e.item);let o=document.getElementById(a);o&&(null==r||r.prepend(o));var n=e.scroller+"_"+(0,F.getKCodenameFromName)(e.item);let l=document.getElementById(n);l&&(null==r||r.prepend(l))}}function c(t,a){if(e.scroller.toLowerCase()==h.rO.toLowerCase())t.scrollIntoView(),setTimeout(()=>{(0,E.H5)(a,"stack")},500);else if(e.scroller.toLowerCase()==h.l3.toLowerCase()){document.getElementById("LightboxHolderInner");var s=document.querySelectorAll(".LightboxHolder");s.forEach(e=>{e.classList.remove("lightboxitemSnap")}),(0,E.H5)(a,"lightbox");let n=document.getElementById("LightboxHolder");null==n||n.scrollTo({top:0,behavior:"auto"}),setTimeout(()=>{s.forEach(e=>{e.classList.add("lightboxitemSnap")})},2e3)}}return(0,n.useEffect)(()=>{setTimeout(()=>{l()},10),setTimeout(()=>{l()},2e3),setTimeout(()=>{l()},3e3),setTimeout(()=>{l()},4e3),setTimeout(()=>{l()},5e3),setTimeout(()=>{l()},6e3),setTimeout(()=>{l()},7e3),setTimeout(()=>{l()},8e3),setTimeout(()=>{l()},9e3),setTimeout(()=>{l()},1e4),setTimeout(()=>{l()},11e3),setTimeout(()=>{l()},12e3),setTimeout(()=>{l()},13e3),setTimeout(()=>{l()},14e3),setTimeout(()=>{l()},15e3),setTimeout(()=>{if(""!=e.item){var t="ph_"+(0,F.getKCodenameFromName)(e.item);let a=document.getElementById(t);var s=e.scroller+"_"+(0,F.getKCodenameFromName)(e.item);let n=document.getElementById(s);n?c(n,s):a&&c(a,t),setTimeout(()=>{e.scroller,(0,F.getKCodenameFromName)(e.item);let t=document.getElementById(s);t&&c(t,s)},1e3)}},10)}),P.h,t.state.SC_section,e.name,e.scroller,(0,s.jsx)(U.Provider,{value:{state:a,setState:i},children:(0,s.jsx)(V.Provider,{value:{lists:r,setLists:o},children:e.scroller.toLowerCase()===h.l3.toLowerCase()?(0,s.jsx)(j,{name:e.codename,item:e.item,subItem:e.subItem,scroller:e.scroller}):e.scroller.toLowerCase()===h.he.toLowerCase()?(0,s.jsx)(H,{name:e.codename,item:e.item,subItem:e.subItem,scroller:e.scroller}):(0,s.jsx)(u,{name:e.codename,item:e.item,subItem:e.subItem,scroller:e.scroller})})})}var Z=(0,n.memo)(Y)},9079:function(e,t,a){"use strict";a.d(t,{Z:function(){return u}});var s=a(4924),n=a(8460);let i=()=>"\n  attribute vec4 position;\n  attribute vec2 texcoord;\n  \n  uniform mat4 u_viewProjection;\n  uniform vec3 u_translation;\n  uniform vec3 u_scale;  \n  \n  varying vec2 v_uv;\n     \n  void main() {\n    vec3 scaledPosition = position.xyz * u_scale; // Scale the quad\n    vec4 worldPosition = vec4(scaledPosition + u_translation, 1.0);\n    gl_Position = u_viewProjection * worldPosition;\n    \n    v_uv = texcoord;\n  }\n",r=()=>"\n#ifdef GL_ES\nprecision mediump float;\n#endif\n\nvarying vec2 v_uv;\n\nuniform vec2 u_res;\nuniform sampler2D u_texture;\nuniform float u_pixelation;\nuniform float u_pixel;\nuniform float u_fade;\nuniform float u_useAlpha;\n\nconst float FADE_DITHER_SCALE = 4.0;\nconst float FADE_DITHER_SCALE_2 = 16.0;\nconst float FADE_DITHER_SCALE_3 = 64.0;\nconst float FADE_DITHER_SCALE_MIX_2 = 0.25;\nconst float FADE_DITHER_SCALE_MIX_3 = 0.25;\n\nfloat linearstep(float edge0, float edge1, float x){\n    return  clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0);\n}\n\nbool getOrderedDither(float brightness, vec2 pos) {\n    \n    // do the simple math first\n    if (brightness > 16.0/17.0) return false;\n    if (brightness < 01.0/17.0) return true;\n    \n    vec2 pixel = floor(mod((pos.xy)/u_pixel, 4.0));\n    int x = int(pixel.x);\n    int y = int(pixel.y);\n    bool result = false;\n    \n    // compute the 16 values by hand, store when it's a match\n    if (x == 0 && y == 0) result = brightness < 16.0/17.0;\n   else if (x == 2 && y == 2) result = brightness < 15.0/17.0;\n   else if (x == 2 && y == 0) result = brightness < 14.0/17.0;\n   else if (x == 0 && y == 2) result = brightness < 13.0/17.0;\n   else if (x == 1 && y == 1) result = brightness < 12.0/17.0;\n   else if (x == 3 && y == 3) result = brightness < 11.0/17.0;\n   else if (x == 3 && y == 1) result = brightness < 10.0/17.0;\n   else if (x == 1 && y == 3) result = brightness < 09.0/17.0;\n   else if (x == 1 && y == 0) result = brightness < 08.0/17.0;\n   else if (x == 3 && y == 2) result = brightness < 07.0/17.0;\n   else if (x == 3 && y == 0) result = brightness < 06.0/17.0;\n    else if (x == 0 && y == 1) result =brightness < 05.0/17.0;\n   else if (x == 1 && y == 2) result = brightness < 04.0/17.0;\n   else if (x == 2 && y == 3) result = brightness < 03.0/17.0;\n   else if (x == 2 && y == 1) result = brightness < 02.0/17.0;\n   else if (x == 0 && y == 3) result = brightness < 01.0/17.0;\n        \n   return result;\n}\n\nvoid main() {\n    float ratio = u_res.x / u_res.y;\n\n    // derive fragcoord pixels\n    vec2 fragCoord = vec2(v_uv * u_res);\n    //vec2 fragCoord = vec2(gl_FragCoord.xy );\n\n    // todo add ratio\n    vec2 pixilate = u_res / u_pixelation;\n    vec2 ratioUV = vec2(v_uv.x,  v_uv.y);\n   \n    // center cell sample in grid\n    vec2 quantizeUV = (floor(ratioUV*pixilate)+ 0.5) / pixilate;\n    vec4 color = texture2D(u_texture, quantizeUV);\n    \n    float toneInput = max(color.r, max(color.g, color.b));\n    toneInput = mix(toneInput,length(color.rgb), 0.1);\n    \n    // rough gamma\n    float toneInputGamma = toneInput * mix(1.0, toneInput, 0.5);\n    \n    float tone = getOrderedDither(toneInputGamma, fragCoord.xy) ? 0.0 : 1.0;\n    \n    float ditherFadeValue = getOrderedDither(u_fade, floor(fragCoord.xy / FADE_DITHER_SCALE)) ? 0.0 : 1.0;\n    float ditherFadeValue2 = getOrderedDither(u_fade, floor(fragCoord.xy / FADE_DITHER_SCALE_2)) ? 0.0 : 1.0;\n    ditherFadeValue = mix(ditherFadeValue, ditherFadeValue2, FADE_DITHER_SCALE_MIX_2);\n    float ditherFadeValue3 = getOrderedDither(u_fade, floor(fragCoord.xy / FADE_DITHER_SCALE_3)) ? 0.0 : 1.0;\n    ditherFadeValue = mix(ditherFadeValue, ditherFadeValue3, FADE_DITHER_SCALE_MIX_3);\n\n    // fade into final image using dither\n    tone = mix(tone, toneInput, ditherFadeValue);\n\n    if (u_useAlpha > 0.01) {\n      gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0 - tone);\n    } else {\n      gl_FragColor = vec4(tone, tone, tone, 1.0);\n    }\n}\n",o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return e<t?t:a<e?a:e},l=(e,t,a)=>{let s=Math.max(Math.min((a-e)/(t-e),1),0);return s},c=(e,t,a)=>e+a*(t-e);class d{getPixelationStep(e,t,a){let s=Math.log2(e),n=Math.log2(t),i=c(s,n-1,a);i=Math.max(i,n);let r=Math.ceil(i),o=Math.pow(2,r);return o}get visible(){return this._visible}set visible(e){e&&(this._visible=!0)}get reveal(){return this._reveal}set reveal(e){e&&(this._reveal=!0,this.revealing=!0,this.revealStart=Date.now())}destroy(){this.texture=null,this.element=null}constructor({id:e,index:t,src:a,texture:n,element:i}={}){(0,s.Z)(this,"id",""),(0,s.Z)(this,"index",0),(0,s.Z)(this,"src",""),(0,s.Z)(this,"texture",null),(0,s.Z)(this,"element",null),(0,s.Z)(this,"position",[0,0,0]),(0,s.Z)(this,"size",[1e3,500,1]),(0,s.Z)(this,"startPixelationAmount",128),(0,s.Z)(this,"pixelationBiasPower",.6),(0,s.Z)(this,"revealDurationSeconds",2),(0,s.Z)(this,"pixelationFadeStartProgress",.6),(0,s.Z)(this,"pixelationFadeBiasPower",.5),(0,s.Z)(this,"shaderState",{u_pixelation:this.startPixelationAmount,u_pixel:1,u_fade:0,u_useAlpha:0}),(0,s.Z)(this,"_visible",!1),(0,s.Z)(this,"_reveal",!1),(0,s.Z)(this,"revealing",!1),(0,s.Z)(this,"revealProgress",0),(0,s.Z)(this,"revealStart",0),(0,s.Z)(this,"revealUpdate",()=>{if(this.checkVisible(),this.visible&&(this.checkReveal(),this.revealing)){let e=(Date.now()-this.revealStart)/1e3;this.revealProgress=o(e/this.revealDurationSeconds);let t=this.revealProgress,a=this.shaderState,s=t;s=Math.pow(s,this.pixelationBiasPower);let n=this.getPixelationStep(this.startPixelationAmount,1,s);a.u_pixelation=n,a.u_fade=Math.pow(l(this.pixelationFadeStartProgress,1,t),this.pixelationFadeBiasPower),1===this.revealProgress&&(this.revealing=!1)}}),(0,s.Z)(this,"checkVisible",()=>{this.visible?"false"===this.element.dataset.visible&&(this.visible=!1):"true"===this.element.dataset.visible&&(this.visible=!0)}),(0,s.Z)(this,"checkReveal",()=>{this.reveal||"true"!==this.element.dataset.reveal||(this.reveal=!0)}),(0,s.Z)(this,"layoutUpdate",e=>{let t=this.element.getBoundingClientRect(),a=Math.round(t.left-e.left),s=Math.round(t.top-e.top),n=Math.round(t.width),i=Math.round(t.height);this.position=[a,s,0],this.size=[n,i,1]}),this.id=e,this.index=parseInt(t),this.src=a,this.texture=n,this.element=i,this.shaderState.u_useAlpha="true"==i.dataset.useAlpha?1:0}}class m{setupCanvas(){this.canvas=document.createElement("canvas"),this.canvas.style.cssText="\n      position: absolute;\n      top:0px;\n      left:0px;\n      width: 100%;\n      height: 100%;\n      ",this.canvas.setAttribute("aria-hidden","true"),this.element.appendChild(this.canvas),this.resizeObserver=new ResizeObserver(e=>{this.onResize()}),this.resizeObserver.observe(this.pageContainer),window.addEventListener("resize",this.onResize)}getTexture(e){let t=this.canvas.getContext("webgl");if(!this.textures[e]){let a=new Image;a.crossOrigin="",this.textures[e]={img:a,texture:null};let s={src:a};a.onload=()=>{this.textures[e].texture=n.cU(t,s)},a.src=e}return this.textures[e]}create(){this.setupCanvas(),this.resizeCanvas();let e=this.canvas.getContext("webgl");this.programInfo=n.EK(e,[i(),r()]),this.quadBufferInfo=n.qX(e,{position:{numComponents:3,data:[0,1,0,1,1,0,0,0,0,1,0,0]},texcoord:{numComponents:2,data:[0,1,1,1,0,0,1,0]},indices:[0,1,2,2,1,3]})}updateLayerOffset(){let e=this.element.getBoundingClientRect();this.elementY=e.top+this.viewportMargin,this.canvas.style.top="".concat(0-this.elementY,"px")}getQuadObject(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t){let{src:a,reveal:s,index:n}=t.dataset,i=this.getTexture(a);this.quadObjects[e]=this.quadObjects[e]||new d({id:e,index:n,src:a,texture:i,element:t}),this.quadObjects[e].element=t}return this.quadObjects[e]}updateQuadReveals(){for(let e of this.quadRenderList)e.revealUpdate()}updateLayerRects(){let e=e=>Array.from(document.querySelectorAll(e)),t=e(".ditherImageRect"),a=this.element.getBoundingClientRect();this.quadRenderList=[],t.forEach(e=>{let t=e.dataset.id,s=this.getQuadObject(t,e);s.layoutUpdate(a),this.quadRenderList.push(s)})}destroy(){if(!this.destroyed){var e,t,a,s;this.destroyed=!0,cancelAnimationFrame(this.rafID),null===(e=this.resizeObserver)||void 0===e||e.disconnect(),window.removeEventListener("resize",this.onResize);let n=null===(t=this.canvas)||void 0===t?void 0:t.getContext("webgl");for(let i in this.quadRenderList=[],this.quadObjects)this.quadObjects[i].destroy(),delete this.quadObjects[i];for(let r in this.quadObjects={},this.textures)this.textures[r].img.src="",n.deleteTexture(this.textures[r].texture),delete this.textures[r];if(this.textures={},this.quadBufferInfo){for(let o in this.quadBufferInfo.attribs){let l=this.quadBufferInfo.attribs[o].buffer;n.deleteBuffer(l)}n.deleteBuffer(this.quadBufferInfo.indices),this.quadBufferInfo=null}this.programInfo.program&&n.deleteProgram(this.programInfo.program),this.programInfo=null,null===(a=null==n?void 0:n.getExtension("WEBGL_lose_context"))||void 0===a||a.loseContext(),null===(s=this.canvas)||void 0===s||s.remove(),this.canvas=null}}constructor({element:e,pageContainer:t}={}){(0,s.Z)(this,"rafID",0),(0,s.Z)(this,"programInfo",null),(0,s.Z)(this,"quadBufferInfo",null),(0,s.Z)(this,"canvas",null),(0,s.Z)(this,"element",null),(0,s.Z)(this,"container",null),(0,s.Z)(this,"resizeObserver",null),(0,s.Z)(this,"devicePixelRatio",1),(0,s.Z)(this,"maxDevicePixelRatio",1),(0,s.Z)(this,"elementY",0),(0,s.Z)(this,"viewportMargin",100),(0,s.Z)(this,"quadObjects",{}),(0,s.Z)(this,"quadRenderList",[]),(0,s.Z)(this,"textures",{}),(0,s.Z)(this,"destroyed",!1),(0,s.Z)(this,"onResize",()=>{this.resizeCanvas(),setTimeout(this.resizeCanvas,20)}),(0,s.Z)(this,"resizeCanvas",()=>{let e=this.element.getBoundingClientRect(),t=Math.min(this.maxDevicePixelRatio,window.devicePixelRatio||1),a=e.width*t,s=e.height*t;this.devicePixelRatio=t,this.canvas.width=a,this.canvas.height=s,this.updateLayerRects(),this.viewportMargin=.1*window.innerHeight}),(0,s.Z)(this,"onRaf",()=>{this.updateLayerOffset(),this.updateQuadReveals(),this.render(),this.rafID=requestAnimationFrame(this.onRaf)}),(0,s.Z)(this,"getProjectionMatrix",()=>{let e=0,t=this.canvas.width,a=this.canvas.height,s=0,i=-100,r=100;return n.m4.ortho(e,t,a,s,i,r)}),(0,s.Z)(this,"render",()=>{let e=this.canvas.getContext("webgl"),t=this.getProjectionMatrix();e.enable(e.BLEND),e.blendFunc(e.SRC_ALPHA,e.ONE_MINUS_SRC_ALPHA);let{width:a,height:s}=e.canvas;e.viewport(0,0,a,s),e.clear(e.COLOR_BUFFER_BIT),this.quadRenderList.forEach((a,i)=>{var r;let o=null===(r=a.texture)||void 0===r?void 0:r.texture;if(!o)return;let l=[a.position[0]*this.devicePixelRatio,(a.position[1]+this.elementY)*this.devicePixelRatio,a.position[2]*this.devicePixelRatio];if(!a.visible)return;let c=l[1]<s&&l[1]+a.size[1]*this.devicePixelRatio>0;if(!c)return;let{u_pixelation:d,u_pixel:m,u_fade:u,u_useAlpha:h}=a.shaderState,_={u_viewProjection:t,u_translation:l,u_scale:[a.size[0]*this.devicePixelRatio,a.size[1]*this.devicePixelRatio,a.size[2]],u_res:[a.size[0],a.size[1]],u_texture:o,u_pixelation:d*m,u_useAlpha:h,u_pixel:m,u_fade:u};e.useProgram(this.programInfo.program),n.o8(e,this.programInfo,this.quadBufferInfo),n.N9(this.programInfo,_),n.y0(e,this.quadBufferInfo)})}),this.element=e,this.pageContainer=t,this.create(),this.onRaf()}}var u=m},470:function(e,t,a){"use strict";var s=a(7294),n=a(1590);let i=()=>{let[e,t]=(0,s.useState)([window.innerWidth,window.innerHeight]);return(0,s.useEffect)(()=>{let e=()=>{t([window.innerWidth,window.innerHeight])},a=(0,n.P2)(e,250);window.addEventListener("resize",()=>{a()})},[]),e};t.Z=i},9164:function(e){e.exports={ComicBook:"ComicBook_ComicBook___o3Rt"}},2190:function(e){e.exports={ComicSourceCodeQuoteDesktop:"ComicSourceCodeQuoteDesktop_ComicSourceCodeQuoteDesktop__kLtV3",video:"ComicSourceCodeQuoteDesktop_video__VraCb"}},5440:function(e){e.exports={ComicSourceCodeQuoteMobile:"ComicSourceCodeQuoteMobile_ComicSourceCodeQuoteMobile__ma9nO",video:"ComicSourceCodeQuoteMobile_video__ynh4G"}},9722:function(e){e.exports={ComicSourceCodeQuoteTablet:"ComicSourceCodeQuoteTablet_ComicSourceCodeQuoteTablet__wDAnH",video:"ComicSourceCodeQuoteTablet_video__KVnTL"}},4696:function(e){e.exports={ComicArrowButton:"ComicArrowButton_ComicArrowButton__Nr_DC",svg:"ComicArrowButton_svg__oRCqS","arrow-animation-loop":"ComicArrowButton_arrow-animation-loop__XyOX3"}},8690:function(e){e.exports={ComicBlock:"ComicBlock_ComicBlock__YgXed",highlight:"ComicBlock_highlight__Su5xe","ani-filter-highlight-boil":"ComicBlock_ani-filter-highlight-boil__jFyYJ",children:"ComicBlock_children__H3EJw"}},3345:function(e){e.exports={ComicBookDesktop:"ComicBookDesktop_ComicBookDesktop__RAlpF"}},4172:function(e){e.exports={ComicBookMobile:"ComicBookMobile_ComicBookMobile__o_y9v"}},5127:function(e){e.exports={ComicBookTablet:"ComicBookTablet_ComicBookTablet__is4rb"}},1296:function(e){e.exports={ComicCarousel:"ComicCarousel_ComicCarousel__nG_eW",carousel:"ComicCarousel_carousel__VTtHe",reveal:"ComicCarousel_reveal__MNAxC",slide:"ComicCarousel_slide__c2YES"}},6122:function(e){e.exports={ComicCarouselBg:"ComicCarouselBg_ComicCarouselBg__dgMG_",inner:"ComicCarouselBg_inner__7zZEy","ani-filter-highlight-boil":"ComicCarouselBg_ani-filter-highlight-boil__E8g3_",body:"ComicCarouselBg_body__yvqtT",top:"ComicCarouselBg_top___KZ0B",bottom:"ComicCarouselBg_bottom__TWjG1"}},7471:function(e){e.exports={ComicCarouselNav:"ComicCarouselNav_ComicCarouselNav__LfRu8",dots:"ComicCarouselNav_dots__2Jfj_"}},2008:function(e){e.exports={ComicCarouselSlide:"ComicCarouselSlide_ComicCarouselSlide__ufhEK"}},5767:function(e){e.exports={ComicDotButton:"ComicDotButton_ComicDotButton__Aiy0H",svg:"ComicDotButton_svg__3qBr0","dot-animation-loop":"ComicDotButton_dot-animation-loop__vTYM0"}},6110:function(e){e.exports={ComicFilterBoilSource:"ComicFilterBoilSource_ComicFilterBoilSource__NesB2"}},4085:function(e){e.exports={ComicHighlightReveal:"ComicHighlightReveal_ComicHighlightReveal__SmnWT"}},5309:function(e){e.exports={ComicImage:"ComicImage_ComicImage__ZJlkG",img:"ComicImage_img__EGMiR"}},4947:function(e){e.exports={ComicInkReveal:"ComicInkReveal_ComicInkReveal__eAxZ6",overlay:"ComicInkReveal_overlay__O_RwC",svgHeightBased:"ComicInkReveal_svgHeightBased__JwKxO"}},8660:function(e){e.exports={ComicInkSequence:"ComicInkSequence_ComicInkSequence__xHyBC",image:"ComicInkSequence_image__I9h3s"}},4633:function(e){e.exports={ComicVideoLoop:"ComicVideoLoop_ComicVideoLoop__edNme"}},5879:function(e){e.exports={SourceCode:"SourceCode_SourceCode__QP6B9"}},6359:function(e){e.exports={SourceCodeDesktop:"SourceCodeDesktop_SourceCodeDesktop__17Qh_"}},3500:function(e){e.exports={SourceCodeMobile:"SourceCodeMobile_SourceCodeMobile__vWza4"}},6902:function(e){e.exports={SourceCodeTablet:"SourceCodeTablet_SourceCodeTablet__AF4hG"}},3120:function(e){e.exports={SourceCodeContext:"SourceCodeContext_SourceCodeContext__nxMXL"}},673:function(e){e.exports={SectionBasics:"SectionBasicsDesktop_SectionBasics__Cmf1c",rowBlock1:"SectionBasicsDesktop_rowBlock1__8uOOP",rowBlock2:"SectionBasicsDesktop_rowBlock2__sRlU4",titleBlock:"SectionBasicsDesktop_titleBlock__EdBxn",textBlock:"SectionBasicsDesktop_textBlock__Wbyp4",detailRight:"SectionBasicsDesktop_detailRight__C9lUu",line:"SectionBasicsDesktop_line__H6QvK",ticker:"SectionBasicsDesktop_ticker___G0uQ",image1:"SectionBasicsDesktop_image1__Iv3Qg",number:"SectionBasicsDesktop_number__1L7gt",asterisks:"SectionBasicsDesktop_asterisks__Q_eWQ",caption:"SectionBasicsDesktop_caption__gkZo_"}},3432:function(e){e.exports={SectionBasics:"SectionBasicsMobile_SectionBasics__fvzOu",rowBlock1:"SectionBasicsMobile_rowBlock1__C1dCo",rowBlock2:"SectionBasicsMobile_rowBlock2__DZDKE",titleBlock:"SectionBasicsMobile_titleBlock__CdFRm",textBlock:"SectionBasicsMobile_textBlock__4xZVZ",detailRight:"SectionBasicsMobile_detailRight__Qyapj",detailLeft:"SectionBasicsMobile_detailLeft__i1YFl",line:"SectionBasicsMobile_line__maToU",ticker:"SectionBasicsMobile_ticker__0SwaC",tickerAsciiContent:"SectionBasicsMobile_tickerAsciiContent__Ttiov",image1:"SectionBasicsMobile_image1__85HMU",number:"SectionBasicsMobile_number__pS_rk"}},4982:function(e){e.exports={SectionBasics:"SectionBasicsTablet_SectionBasics__6rgLJ",rowBlock1:"SectionBasicsTablet_rowBlock1__lPT6g",titleBlock:"SectionBasicsTablet_titleBlock__JjdNU",textBlock:"SectionBasicsTablet_textBlock__DXDH0",rowBlock2:"SectionBasicsTablet_rowBlock2__5OuCM",image:"SectionBasicsTablet_image__96uLi",number:"SectionBasicsTablet_number__8Wlnd",detailRight:"SectionBasicsTablet_detailRight__Tp6wp",line:"SectionBasicsTablet_line__oBNiz",asterisks:"SectionBasicsTablet_asterisks__RAJB8",caption:"SectionBasicsTablet_caption__w_NR8",ticker:"SectionBasicsTablet_ticker__5CWm5"}},278:function(e){e.exports={SectionCode:"SectionCodeDesktop_SectionCode__PEZfZ",rowBlock1:"SectionCodeDesktop_rowBlock1__LR2C9",rowBlock2:"SectionCodeDesktop_rowBlock2__gmkOk",rowBlock3:"SectionCodeDesktop_rowBlock3__ZulTA",titleBlock:"SectionCodeDesktop_titleBlock__2IUWu",textBlock1:"SectionCodeDesktop_textBlock1__6btAs",textBlock2:"SectionCodeDesktop_textBlock2__s7ui0",textBlock3:"SectionCodeDesktop_textBlock3__k7XdL",divider:"SectionCodeDesktop_divider__eZgzO",image1:"SectionCodeDesktop_image1__UGM8j",image1shadow:"SectionCodeDesktop_image1shadow__L2X3b",number:"SectionCodeDesktop_number___G2Zj",asterisks:"SectionCodeDesktop_asterisks__XUO9H",caption:"SectionCodeDesktop_caption__Y8aHM",image2:"SectionCodeDesktop_image2__A8Mg5",number2:"SectionCodeDesktop_number2__RyGGu",asterisks2:"SectionCodeDesktop_asterisks2__WRacs",caption2:"SectionCodeDesktop_caption2__JXjn4",detailEnd:"SectionCodeDesktop_detailEnd__f9Sjp"}},4231:function(e){e.exports={SectionCode:"SectionCodeMobile_SectionCode__edRlz",rowBlock1:"SectionCodeMobile_rowBlock1__XYctf",rowBlock2:"SectionCodeMobile_rowBlock2__xhy0E",rowBlock3:"SectionCodeMobile_rowBlock3__2nZeM",rowBlock4:"SectionCodeMobile_rowBlock4__P4KaS",divider:"SectionCodeMobile_divider__0Izgc",titleBlock:"SectionCodeMobile_titleBlock__CYEjt",textBlock1:"SectionCodeMobile_textBlock1__8nJ__",textBlock2:"SectionCodeMobile_textBlock2__3Dj97",textBlock3:"SectionCodeMobile_textBlock3__eYhqu",textBlock4:"SectionCodeMobile_textBlock4__6uTrv",image1:"SectionCodeMobile_image1__2DpoV",image1shadow:"SectionCodeMobile_image1shadow__aGcg2",number:"SectionCodeMobile_number__wYy5X",asterisks:"SectionCodeMobile_asterisks__iF31_",caption:"SectionCodeMobile_caption__V2e_c",image2:"SectionCodeMobile_image2__GpA5M",number2:"SectionCodeMobile_number2__VfL04",caption2:"SectionCodeMobile_caption2__gneU4",detailEnd:"SectionCodeMobile_detailEnd__qN6Bk"}},9420:function(e){e.exports={SectionCode:"SectionCodeTablet_SectionCode__dHbVP",rowBlock1:"SectionCodeTablet_rowBlock1__8D6sK",rowBlock2:"SectionCodeTablet_rowBlock2__s0VK2",rowBlock3:"SectionCodeTablet_rowBlock3__wRBQW",rowBlock4:"SectionCodeTablet_rowBlock4__1z2A7",titleBlock:"SectionCodeTablet_titleBlock__iEdqy",textBlock1:"SectionCodeTablet_textBlock1__5BV3N",textBlock2:"SectionCodeTablet_textBlock2__MPdSm",textBlock3:"SectionCodeTablet_textBlock3__MYetW",textBlock4:"SectionCodeTablet_textBlock4__tZST5",image:"SectionCodeTablet_image__nsRRt",image1shadow:"SectionCodeTablet_image1shadow__MR57d",number:"SectionCodeTablet_number__teH_j",asterisks:"SectionCodeTablet_asterisks__r3Skn",caption:"SectionCodeTablet_caption__rf_wm",image2:"SectionCodeTablet_image2__SIP7X",number2:"SectionCodeTablet_number2__rijPU",caption2:"SectionCodeTablet_caption2__gai0R",detailEnd:"SectionCodeTablet_detailEnd__SQMOU",divider:"SectionCodeTablet_divider__dbi4d"}},1502:function(e){e.exports={SectionDownload:"SectionDownloadDesktop_SectionDownload__PxL4_",rowBlock1:"SectionDownloadDesktop_rowBlock1__bcvUG",titleBlock:"SectionDownloadDesktop_titleBlock__Xw3Y6",detailLeft:"SectionDownloadDesktop_detailLeft__Aw6hi",detailRight:"SectionDownloadDesktop_detailRight__o1XYS",frame:"SectionDownloadDesktop_frame__fE_i_",info:"SectionDownloadDesktop_info__zKgdD",detail:"SectionDownloadDesktop_detail__Q9gRm"}},4678:function(e){e.exports={SectionDownload:"SectionDownloadMobile_SectionDownload__E2DxA",rowBlock1:"SectionDownloadMobile_rowBlock1__qHT7X",titleBlock:"SectionDownloadMobile_titleBlock__3Y40_",detailLeft:"SectionDownloadMobile_detailLeft__hXV6m",detailRight:"SectionDownloadMobile_detailRight__IZBDg",frame:"SectionDownloadMobile_frame__dDx19",info:"SectionDownloadMobile_info__wJaTg",detail:"SectionDownloadMobile_detail__hjUim"}},7227:function(e){e.exports={SectionDownload:"SectionDownloadTablet_SectionDownload__dpHYu",rowBlock1:"SectionDownloadTablet_rowBlock1__FaXbw",titleBlock:"SectionDownloadTablet_titleBlock__WDFiu",info:"SectionDownloadTablet_info___h792",frame:"SectionDownloadTablet_frame__HkLcH",rowBlock2:"SectionDownloadTablet_rowBlock2__xNKfL",detailRight:"SectionDownloadTablet_detailRight__shFh_"}},2457:function(e){e.exports={SectionGettingStarted:"SectionGettingStartedDesktop_SectionGettingStarted__6rS3P",rowBlock1:"SectionGettingStartedDesktop_rowBlock1__dx2Wx",rowBlock2:"SectionGettingStartedDesktop_rowBlock2__MOD_k",divider:"SectionGettingStartedDesktop_divider__pwK9V",titleBlock:"SectionGettingStartedDesktop_titleBlock___P8Tq",textBlock:"SectionGettingStartedDesktop_textBlock__S79GK",detailLeft1:"SectionGettingStartedDesktop_detailLeft1__OipAE",detailLeft2:"SectionGettingStartedDesktop_detailLeft2__e2jaM",image1:"SectionGettingStartedDesktop_image1__VPWwe",number:"SectionGettingStartedDesktop_number__TDZ6y",asterisks:"SectionGettingStartedDesktop_asterisks__uiw15",caption:"SectionGettingStartedDesktop_caption__fTtfB",end:"SectionGettingStartedDesktop_end__dLW3U"}},8098:function(e){e.exports={SectionGettingStarted:"SectionGettingStartedMobile_SectionGettingStarted__Bvyox",rowBlock1:"SectionGettingStartedMobile_rowBlock1__BMVu3",rowBlock2:"SectionGettingStartedMobile_rowBlock2__nEAcq",divider:"SectionGettingStartedMobile_divider__S5UnT",titleBlock:"SectionGettingStartedMobile_titleBlock__ROPLC",textBlock:"SectionGettingStartedMobile_textBlock__WENdE",image1:"SectionGettingStartedMobile_image1__g_hEV",detailLeft1:"SectionGettingStartedMobile_detailLeft1__Z63rF",detailLeft2:"SectionGettingStartedMobile_detailLeft2__2XJL6",number:"SectionGettingStartedMobile_number__0T4MF",caption:"SectionGettingStartedMobile_caption__iG9iq",end:"SectionGettingStartedMobile_end__NXP14"}},1673:function(e){e.exports={SectionGettingStarted:"SectionGettingStartedTablet_SectionGettingStarted__JUMQ_",rowBlock1:"SectionGettingStartedTablet_rowBlock1__ahONq",titleBlock:"SectionGettingStartedTablet_titleBlock__RCLj1",textBlock:"SectionGettingStartedTablet_textBlock__ct68x",detailLeft:"SectionGettingStartedTablet_detailLeft__zMyWy",rowBlock2:"SectionGettingStartedTablet_rowBlock2__FNL6H",number:"SectionGettingStartedTablet_number__CEMeU",caption:"SectionGettingStartedTablet_caption__1DVAp",image:"SectionGettingStartedTablet_image__48NCc",rowBlock3:"SectionGettingStartedTablet_rowBlock3__eDySd",detailBottom:"SectionGettingStartedTablet_detailBottom__WJiti",end:"SectionGettingStartedTablet_end__K3Yx_",divider:"SectionGettingStartedTablet_divider__5G5Z6"}},3241:function(e){e.exports={SectionHeader:"SectionHeaderDesktop_SectionHeader__maSQ9",rowBlock1:"SectionHeaderDesktop_rowBlock1__SyZEc",divider:"SectionHeaderDesktop_divider__IyW3j",detailLeft:"SectionHeaderDesktop_detailLeft__HNimD",detailRight:"SectionHeaderDesktop_detailRight__IUF81",authorImage:"SectionHeaderDesktop_authorImage__EDXA_",articleAuthorBy:"SectionHeaderDesktop_articleAuthorBy__JmbCq",articleAuthor:"SectionHeaderDesktop_articleAuthor__WIqNl",articlePublished:"SectionHeaderDesktop_articlePublished__c9bj8",eyebrow:"SectionHeaderDesktop_eyebrow__oSzgb",title:"SectionHeaderDesktop_title___RRqt",body:"SectionHeaderDesktop_body__LtQtD",titleContent:"SectionHeaderDesktop_titleContent__QBwxi",eyebrowContent:"SectionHeaderDesktop_eyebrowContent__19oHY"}},7070:function(e){e.exports={SectionHeader:"SectionHeaderMobile_SectionHeader__SmAp_",rowBlock1:"SectionHeaderMobile_rowBlock1__crCua",divider:"SectionHeaderMobile_divider__muTQq",detailLeft:"SectionHeaderMobile_detailLeft__kpViz",detailRight:"SectionHeaderMobile_detailRight__ZOUQo",authorImage:"SectionHeaderMobile_authorImage__Km3cR",articleAuthorBy:"SectionHeaderMobile_articleAuthorBy__k9cIo",articleAuthor:"SectionHeaderMobile_articleAuthor__Sbwp0",articlePublished:"SectionHeaderMobile_articlePublished__gUs0X",eyebrow:"SectionHeaderMobile_eyebrow__Vub5e",title:"SectionHeaderMobile_title__e5tGO",body:"SectionHeaderMobile_body__2JdOi",titleContent:"SectionHeaderMobile_titleContent__Q_vLj",eyebrowContent:"SectionHeaderMobile_eyebrowContent__7aTrh"}},6916:function(e){e.exports={SectionHeader:"SectionHeaderTablet_SectionHeader__0tSmV",rowBlock1:"SectionHeaderTablet_rowBlock1__PST9t",divider:"SectionHeaderTablet_divider__374mM",detailLeft:"SectionHeaderTablet_detailLeft__HBgEo",detailRight:"SectionHeaderTablet_detailRight__vWeY0",authorImage:"SectionHeaderTablet_authorImage__MjHmO",articleAuthorBy:"SectionHeaderTablet_articleAuthorBy__BTpk_",articleAuthor:"SectionHeaderTablet_articleAuthor__hjxGE",articlePublished:"SectionHeaderTablet_articlePublished__ceHPo",eyebrow:"SectionHeaderTablet_eyebrow__vRGeg",title:"SectionHeaderTablet_title__PnvMY",body:"SectionHeaderTablet_body__S6ODb",titleContent:"SectionHeaderTablet_titleContent__2y9gh",eyebrowContent:"SectionHeaderTablet_eyebrowContent__5kaWx"}},425:function(e){e.exports={SectionHowItWorks:"SectionHowItWorksDesktop_SectionHowItWorks__pIqw6",rowBlock1:"SectionHowItWorksDesktop_rowBlock1__N_5yb",rowBlock2:"SectionHowItWorksDesktop_rowBlock2__gUIqL",divider:"SectionHowItWorksDesktop_divider__ljTPR",titleBlock:"SectionHowItWorksDesktop_titleBlock__GmaD4",textBlock:"SectionHowItWorksDesktop_textBlock__tP_Uo",detailLeft:"SectionHowItWorksDesktop_detailLeft__H2jbx",detailLeft2:"SectionHowItWorksDesktop_detailLeft2__t33Nm",detailRight:"SectionHowItWorksDesktop_detailRight__GYu8l",detailRight2:"SectionHowItWorksDesktop_detailRight2__hF2tv",image1:"SectionHowItWorksDesktop_image1__QLiwB",image2:"SectionHowItWorksDesktop_image2__tJ14L",image3:"SectionHowItWorksDesktop_image3___HVFV",asterisks:"SectionHowItWorksDesktop_asterisks__Y3cRJ",number1:"SectionHowItWorksDesktop_number1__SPNQC",number2:"SectionHowItWorksDesktop_number2__8splD",number3:"SectionHowItWorksDesktop_number3__816g2",caption1:"SectionHowItWorksDesktop_caption1__9G8sA",caption2:"SectionHowItWorksDesktop_caption2__RUtvH",caption3:"SectionHowItWorksDesktop_caption3__McxSL"}},1483:function(e){e.exports={SectionHowItWorks:"SectionHowItWorksMobile_SectionHowItWorks__DSavP",rowBlock1:"SectionHowItWorksMobile_rowBlock1__2V9pj",rowBlock2:"SectionHowItWorksMobile_rowBlock2__MPLhm",rowBlock3:"SectionHowItWorksMobile_rowBlock3__pEWmk",rowBlock4:"SectionHowItWorksMobile_rowBlock4__djtQq",divider:"SectionHowItWorksMobile_divider__YdouD",titleBlock:"SectionHowItWorksMobile_titleBlock__lHdwP",textBlock:"SectionHowItWorksMobile_textBlock__6HCb3",detailLeft:"SectionHowItWorksMobile_detailLeft__8tjN_",detailLeft2:"SectionHowItWorksMobile_detailLeft2__Pk9lg",image1:"SectionHowItWorksMobile_image1__oB6Nh",image2:"SectionHowItWorksMobile_image2__qVwRl",image3:"SectionHowItWorksMobile_image3__2padQ",asterisks:"SectionHowItWorksMobile_asterisks__Nkbn0",number1:"SectionHowItWorksMobile_number1__aNRjV",number2:"SectionHowItWorksMobile_number2__dI3Sn",number3:"SectionHowItWorksMobile_number3___zI6I",caption1:"SectionHowItWorksMobile_caption1__dclps",caption2:"SectionHowItWorksMobile_caption2__PZrjH",caption3:"SectionHowItWorksMobile_caption3__Wp1rr"}},1094:function(e){e.exports={SectionHowItWorks:"SectionHowItWorksTablet_SectionHowItWorks__oZoEI",rowBlock1:"SectionHowItWorksTablet_rowBlock1__Dc7ba",asterisks:"SectionHowItWorksTablet_asterisks__Ofzif",titleBlock:"SectionHowItWorksTablet_titleBlock__AKS_f",detailRight:"SectionHowItWorksTablet_detailRight__dny3a",textBlock:"SectionHowItWorksTablet_textBlock__hiFfq",rowBlock2:"SectionHowItWorksTablet_rowBlock2__2xVPN",number1:"SectionHowItWorksTablet_number1__uuKBT",image1:"SectionHowItWorksTablet_image1__TSRld",caption1:"SectionHowItWorksTablet_caption1__WAFa6",detailLeft1:"SectionHowItWorksTablet_detailLeft1__jMMo_",rowBlock3:"SectionHowItWorksTablet_rowBlock3__dQ6eL",number2:"SectionHowItWorksTablet_number2__e_5cq",image2:"SectionHowItWorksTablet_image2__CscWS",caption2:"SectionHowItWorksTablet_caption2__TmbCT",rowBlock4:"SectionHowItWorksTablet_rowBlock4__PUtTv",number3:"SectionHowItWorksTablet_number3__FmhrC",detailLeft2:"SectionHowItWorksTablet_detailLeft2__3rKUV",image3:"SectionHowItWorksTablet_image3__ZWRg1",caption3:"SectionHowItWorksTablet_caption3__RDK0L",divider:"SectionHowItWorksTablet_divider__ZsiSr"}},1489:function(e){e.exports={SectionMicrosoft:"SectionMicrosoftDesktop_SectionMicrosoft__KxYHH",rowBlock1:"SectionMicrosoftDesktop_rowBlock1__n41W7",rowBlock2:"SectionMicrosoftDesktop_rowBlock2__4X1Ag",divider:"SectionMicrosoftDesktop_divider__iV0Jv",titleBlock1:"SectionMicrosoftDesktop_titleBlock1__Zkzgw",titleBlock2:"SectionMicrosoftDesktop_titleBlock2__DYFIa",textBlock:"SectionMicrosoftDesktop_textBlock__8iXpI",detailLeft:"SectionMicrosoftDesktop_detailLeft__r6o7L",detailRight:"SectionMicrosoftDesktop_detailRight__DKxi7",logo:"SectionMicrosoftDesktop_logo__1Ilxk",image1:"SectionMicrosoftDesktop_image1__kQ0UM",number:"SectionMicrosoftDesktop_number__BXrjQ",date:"SectionMicrosoftDesktop_date__4vpVO"}},7454:function(e){e.exports={SectionMicrosoft:"SectionMicrosoftMobile_SectionMicrosoft__h5knf",rowBlock1:"SectionMicrosoftMobile_rowBlock1__7wVQR",rowBlock2:"SectionMicrosoftMobile_rowBlock2__FtZuL",divider:"SectionMicrosoftMobile_divider__y6HQo",titleBlock1:"SectionMicrosoftMobile_titleBlock1__norGy",titleBlock2:"SectionMicrosoftMobile_titleBlock2__cKk0v",textBlock:"SectionMicrosoftMobile_textBlock__lPsny",detailLeft:"SectionMicrosoftMobile_detailLeft__P6YWW",detailRight:"SectionMicrosoftMobile_detailRight__FFSfb",logo:"SectionMicrosoftMobile_logo__zEBO2",image1:"SectionMicrosoftMobile_image1__wj9w1",number:"SectionMicrosoftMobile_number__FGtGJ",date:"SectionMicrosoftMobile_date__EpfXl"}},4125:function(e){e.exports={SectionMicrosoft:"SectionMicrosoftTablet_SectionMicrosoft__hDOsz",rowBlock1:"SectionMicrosoftTablet_rowBlock1__oHZnf",titleBlockLeft:"SectionMicrosoftTablet_titleBlockLeft__bUytt",titleBlockRight:"SectionMicrosoftTablet_titleBlockRight__We4P2",date:"SectionMicrosoftTablet_date__QmXtC",rowBlock2:"SectionMicrosoftTablet_rowBlock2__B_h3Q",textBlock:"SectionMicrosoftTablet_textBlock__uv970",detailLeft:"SectionMicrosoftTablet_detailLeft__DzrKC",rowBlock3:"SectionMicrosoftTablet_rowBlock3__xhe_Y",microsoftLogo:"SectionMicrosoftTablet_microsoftLogo__tQrOB",detailRight:"SectionMicrosoftTablet_detailRight__DwlU9",rowBlock4:"SectionMicrosoftTablet_rowBlock4__BIV0h",number:"SectionMicrosoftTablet_number__i8ChT",image:"SectionMicrosoftTablet_image__TRF9p",detailBottom:"SectionMicrosoftTablet_detailBottom__OV9_0"}},451:function(e){e.exports={SectionObstacles:"SectionObstaclesDesktop_SectionObstacles__6GNmO",rowBlock1:"SectionObstaclesDesktop_rowBlock1__oXJxn",divider:"SectionObstaclesDesktop_divider__0hyc6",titleBlock:"SectionObstaclesDesktop_titleBlock__4V10C",textBlock:"SectionObstaclesDesktop_textBlock__xA5QO",obstaclesScene:"SectionObstaclesDesktop_obstaclesScene__pRNc0",asterisks:"SectionObstaclesDesktop_asterisks__3n2I_"}},8817:function(e){e.exports={SectionObstacles:"SectionObstaclesMobile_SectionObstacles__80hhR",rowBlock1:"SectionObstaclesMobile_rowBlock1__QO0Ic",rowBlock2:"SectionObstaclesMobile_rowBlock2__v5GlO",divider:"SectionObstaclesMobile_divider__FUMYw",titleBlock:"SectionObstaclesMobile_titleBlock__yaGb4",textBlock:"SectionObstaclesMobile_textBlock__OkAtz",obstaclesScene:"SectionObstaclesMobile_obstaclesScene__R_QUU",asterisks:"SectionObstaclesMobile_asterisks__Asf0i"}},5876:function(e){e.exports={SectionObstacles:"SectionObstaclesTablet_SectionObstacles__zKj5M",rowBlock1:"SectionObstaclesTablet_rowBlock1__lUUmv",titleBlock:"SectionObstaclesTablet_titleBlock__4e1hg",obstaclesScene:"SectionObstaclesTablet_obstaclesScene__ZAf9l",rowBlock2:"SectionObstaclesTablet_rowBlock2__BlrSI",textBlock:"SectionObstaclesTablet_textBlock__wf43c",asterisks:"SectionObstaclesTablet_asterisks__1iRnu",divider:"SectionObstaclesTablet_divider__WVghh"}},8358:function(e){e.exports={AsciiBlock:"AsciiBlock_AsciiBlock__crYoG",contentBase:"AsciiBlock_contentBase__mqXOj",contentTitle:"AsciiBlock_contentTitle__3WubH",contentBody:"AsciiBlock_contentBody__07pIO",contentBodyBold:"AsciiBlock_contentBodyBold__DBosz",contentBodyRegular:"AsciiBlock_contentBodyRegular__jgT_i",contentArt:"AsciiBlock_contentArt__7ahju",caption:"AsciiBlock_caption__ESTUO",paragraphBreak:"AsciiBlock_paragraphBreak__9Z_Zx",animateIn:"AsciiBlock_animateIn__AWZSp",animateIn_content:"AsciiBlock_animateIn_content__fm2xA",altText:"AsciiBlock_altText__jpaeV",linkText:"AsciiBlock_linkText__VGebK"}},2655:function(e){e.exports={DitherImageBlock:"DitherImageBlock_DitherImageBlock__0GqiT",hidden:"DitherImageBlock_hidden__egYzR"}},3551:function(e){e.exports={Divider:"DividerDesktop_Divider__25TH5",dividerContainer:"DividerDesktop_dividerContainer__Eyyzu",dividerBlock:"DividerDesktop_dividerBlock__GPp_Q"}},9657:function(e){e.exports={Divider:"DividerMobile_Divider__XfDQT",dividerContainer:"DividerMobile_dividerContainer__hWOcC",dividerBlock:"DividerMobile_dividerBlock__QDUln",content:"DividerMobile_content__K8fw1"}},2150:function(e){e.exports={Divider:"DividerTablet_Divider__CwDI1",dividerContainer:"DividerTablet_dividerContainer__cA19A",dividerBlock:"DividerTablet_dividerBlock__18nam"}},6914:function(e){e.exports={DownloadButton:"DownloadButton_DownloadButton__fE_sI",frame:"DownloadButton_frame__43UJw",frameContent:"DownloadButton_frameContent__r63Wn",label:"DownloadButton_label__qrY5n",labelContent:"DownloadButton_labelContent__2U19f",downloadLink:"DownloadButton_downloadLink__vqUKq"}},6527:function(e){e.exports={HeaderBlock:"HeaderBlock_HeaderBlock__mtCYz",headerContent:"HeaderBlock_headerContent__Ae7Zy"}},6433:function(e){e.exports={ImageBlock:"ImageBlock_ImageBlock___8TZ7",image:"ImageBlock_image__w3ZLr",animateIn:"ImageBlock_animateIn__t5c2R"}},3886:function(e){e.exports={ObstaclesScene:"ObstaclesScene_ObstaclesScene__Bxnx9",ObstaclesSceneContent:"ObstaclesScene_ObstaclesSceneContent__w9rDw"}},4935:function(e){e.exports={RowBlockContainer:"RowBlock_RowBlockContainer__Tko17",RowBlock:"RowBlock_RowBlock__UWqmX"}},9994:function(e){e.exports={SectionBlock:"SectionBlock_SectionBlock____3mS",BackgroundGuideWrap:"SectionBlock_BackgroundGuideWrap__WEZrF",BackgroundGuide:"SectionBlock_BackgroundGuide__ym4vi",Anchor:"SectionBlock_Anchor___kseY"}},8726:function(e){e.exports={SourceCodeGLLayer:"SourceCodeGLLayer_SourceCodeGLLayer__pKT9G",background:"SourceCodeGLLayer_background__wOilE",canvasParent:"SourceCodeGLLayer_canvasParent__fK4gs"}},3863:function(e){e.exports={StaticImageBlock:"StaticImageBlock_StaticImageBlock__hSHWg",image:"StaticImageBlock_image__iPeFv",animateIn:"StaticImageBlock_animateIn__trPpe"}},9554:function(e){e.exports={TextBlock:"TextBlock_TextBlock__LW9LC",text:"TextBlock_text__m7fsI",paragraphBreak:"TextBlock_paragraphBreak__06TwM"}},8698:function(e){e.exports={TitleBlock:"TitleBlock_TitleBlock__biohr",title:"TitleBlock_title__v97Cv"}}}]);