window.suggestmeyes_loaded=!0,location.hostname,$gsm={tag:function(e,t,n,o){var s=document.createElement(e);for(var i in t)s.setAttribute(i,t[i]);return n&&(s.innerHTML=n),o&&o.appendChild(s),s},hasClass:function(e,t){if(e)return e.classList&&t?e.classList.contains(t):new RegExp("(\\s|^)"+t+"(\\s|$)").test(e.className)},addClass:function(e,t){if(e)return e.classList&&t?e.classList.add(t):void($gsm.hasClass(e,t)||(e.className+=" "+t))},removeClass:function(e,t){if(e)return e.classList&&t?e.classList.remove(t):void(e.className=e.className.replace(new RegExp("(\\s+|^)"+t+"(\\s+|$)")," "))},toggleClass:function(e,t,n){if(e){if(e.classList&&t)return e.classList.toggle(t,n);void 0===n&&(n=!$gsm.hasClass(e,t)),n?$gsm.addClass(e,t):$gsm.removeClass(e,t)}},isMobile:"undefined"!=typeof MOBILE_SITE&&MOBILE_SITE,addEventListener:function(e,t,n,o){for(var s=t.split(/\s+/),i=0;i400||0==c.status)&&s&&s(c)};try{c.send(o)}catch(e){s(c,e)}},draggable:function(e,t,n,o,s){let i,a,c,r,l=!1,d="";const u=function(t){l=!0,i=t.screenX,a=t.screenY,c=t.screenX,r=t.screenY,d=document.body.style.userSelect,document.body.style.userSelect="none",o&&o.call(e,i,a)};e.addEventListener("mousedown",u);const g=function(n){l&&(s?(c+=n.screenX-c,r+=n.screenY-r,t.call(e,c-i,r-a)):(t.call(e,n.screenX-i,n.screenY-a),i=n.screenX,a=n.screenY))};document.addEventListener("mousemove",g);const m=function(t){l&&(l=!1,n&&(s?(c+=t.screenX-c,r+=t.screenY-r,n.call(e,c-i,r-a)):n.call(e,t.screenX-i,t.screenY-a)),document.body.style.userSelect=d)};document.addEventListener("mouseup",m,!0),e.addEventListener("touchstart",function(e){u({screenX:e.touches[0].clientX,screenY:e.touches[0].clientY})}),document.addEventListener("touchmove",function(e){g({screenX:e.touches[0].clientX,screenY:e.touches[0].clientY})}),document.addEventListener("touchend",function(){m({screenX:s?c:0,screenY:s?r:0})})},__animations:[],animate:function(e,t,n,o,s,i){$gsm.__animations.push([e,t,1e3*n,0,o,s,i]),requestAnimationFrame($gsm.__animate)},__animate:function(e){const t=0,n=1,o=2,s=3,i=4,a=5,c=6;for(let r=0;r<$gsm.__animations.length;r++){const l=$gsm.__animations[r];0==l[s]&&(l[s]=e);let d=e-l[s],u=!1;d>=l[o]&&(d=l[o],u=!0);const g=d/l[o];let m=g;const h=l[i];h&&(m=g<.5?Math.pow(2,h-1)*Math.pow(g,h):1-Math.pow(-2*g+2,h)/2);const f=l[t]+(l[n]-l[t])*m;if(l[a](f),u){const e=l[c];"function"==typeof e&&e(),$gsm.__animations.splice(r,1)}}$gsm.__animations.length&&requestAnimationFrame($gsm.__animate)},animateSpeed:function(e,t,n,o,s,i){let a=Math.abs(e-t)/n;a=Math.max(a,5/60),$gsm.animate(e,t,a,o,s,i)},setCookie:function(e,t,n,o,s){if(n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3);var a="; expires="+i.toGMTString()}else a="";document.cookie=e+"="+t+a+"; path="+(o||"/")+(s?"; domain="+s:"")},getCookie:function(e){for(var t=e+"=",n=document.cookie.split(";"),o=0;o=2&&t.length<=3){let e=60*parseInt(t[0],10)+parseInt(t[1],10);return 3==t.length&&(e+=parseInt(t[2],10)/60),e}console.error("$gsm.timeToMinutes: wrong time format! ("+e+")")},minutesToHours:function(e,t){const n=Math.floor(e/60),o=t?Math.floor(e%60):Math.round(e%60),s=Math.round(e%1*60);return n+":"+(o<10?"0":"")+o+(t?":"+(s<10?"0":"")+s:"")},LOGO:ASSETS_BASE_URL+"i/logo.svg",LOGO_FALLBACK:ASSETS_BASE_URL+"i/logo-fallback.gif",__toastContainer:null,toastCookieName:"hideToast",toastNotification:function(e,t,n,o,s,i){const a=.5,c=1;o=o||0,s=s||0,i=i||"",null==$gsm.__toastContainer&&($gsm.__toastContainer=$gsm.tag("div",{class:"toast-container"},"",document.body));const r=$gsm.tag("div",{class:"toast"},""),l=function(){$gsm.__toastContainer.appendChild(r),setTimeout(function(){r.style.transition="transform "+c+"s",r.classList.add("show")},100)},d=function(e){$gsm.setCookie($gsm.toastCookieName,"1",a),e.classList.remove("show"),setTimeout(function(){e.remove(),0==$gsm.__toastContainer.childElementCount&&$gsm.__toastContainer.remove()},1e3*c)},u=$gsm.tag("a",{},"",r);t&&(u.setAttribute("href",t),u.setAttribute("target","_blank"),u.onclick=function(e){const t=e.target.closest(".toast");d(t)}),n&&$gsm.tag("img",{src:n,class:"thumb"},"",u);const g=$gsm.tag("span",{},e,u),m=$gsm.tag("span",{class:"label"},i);g.insertAdjacentElement("afterbegin",m);const h=$gsm.tag("div",{class:"close"},"",r),f=$gsm.tag("i",{class:"head-icon icon-close"},"",h);if(f.onclick=function(e){const t=e.target.closest(".toast");d(t)},o){const e=$gsm.tag("div",{class:"timer"},"",r),t=f.cloneNode(!0);e.appendChild(t),e.style.transition="right "+o+"s linear",setTimeout(function(){e.style.right="0%",t.style.left=f.offsetLeft+"px",t.style.top=f.offsetTop+"px",t.style.width=f.offsetWidth+"px",t.style.height=f.offsetHeight+"px"},1e3*(s+c)),setTimeout(function(){d(r)},1e3*(s+c+o))}s?setTimeout(l,1e3*s):l()}},$gsm.onload(function(){$gsm.__loaded=!0,$gsm.LOADED_MODULES&&$gsm.__insertModules()}),$gsm.loadModules(),$gsm.onload(function(){const e=document.querySelectorAll("#switch-version");for(let t=0;te,n=e+this.getViewportHeight()>this.getScrollerHeight();return t||n},toleranceExceeded:function(e,t){return Math.abs(e-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(e,t){var n=e>this.lastKnownScrollY,o=e>=this.offset;return n&&o&&t},shouldPin:function(e,t){var n=ethis.lastKnownScrollY?"down":"up",n=this.toleranceExceeded(e,t);this.isOutOfBounds(e)||(e<=this.offset?this.top():this.notTop(),this.shouldUnpin(e,n)?this.unpin():this.shouldPin(e,n)&&this.pin(),this.lastKnownScrollY=e)}},a.options={tolerance:{up:0,down:0},offset:0,scroller:e,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",initial:"headroom"}},a.cutsTheMustard=void 0!==c&&c.rAF&&c.bind&&c.classList,e.Headroom=a}(window,document),$gsm.onload(function(){var e=document.querySelector(".lines-button");e&&(e.onclick=function(){var t=!$gsm.hasClass(e,"open");$gsm.toggleClass(e,"open",t),$gsm.toggleClass(document.querySelector("#menu"),"open",t),$gsm.toggleClass(document.querySelector("#header"),"open",t),$gsm.setCookie("sSubmenuState",t?"open":"close",7)}),"Headroom"in window&&($gsm.headroom=new Headroom(document.getElementById("header"),{tolerance:{down:10,up:20},offset:52,classes:{initial:"slide",pinned:"slide--reset",unpinned:"slide--up"}}),$gsm.headroom.init(),$gsm.__oldOnPinFunction=null,$gsm.forceHeadroomToHide=function(){$gsm.__oldOnPinFunction=$gsm.headroom.onPin,$gsm.headroom.onPin=function(){$gsm.headroom.unpin(),$gsm.__oldOnPinFunction&&$gsm.__oldOnPinFunction()}},$gsm.allowHeadroomToShow=function(){$gsm.headroom.onPin=$gsm.__oldOnPinFunction});var t=document.querySelector(".more-reviews-list-container"),n=document.querySelector(".more-reviews-list-toggle");n&&(n.onclick=function(){return"block"==t.style.display?(t.style.display="none",n.innerHTML="▲"):(t.style.display="block",n.innerHTML="▼"),!1});var o=""!==$gsm.getCookie("sLoginCookie"),s=document.querySelector(".specs-fans"),i=!1;"undefined"!=typeof BECOME_FAN_URL&&s&&(s.onclick=function(){if(i)return!1;var e=!$gsm.hasClass(s.parentNode,"active");return o?(i=!0,$gsm.xhr("GET",BECOME_FAN_URL+"&nFan="+(e?1:0),function(t){if(i=!1,$gsm.toggleClass(s.parentNode,"active","1"==t&&e),"1"==t){var n=s.querySelector("strong"),o=parseInt(n.lastChild.nodeValue,10);o+=e?1:-1,n.replaceChild(document.createTextNode(""+o),n.lastChild),s.querySelector("span").innerHTML=e?"You're a fan":"Become a fan"}},null,function(){i=!1,$gsm.removeClass(s.parentNode,"active")},!0)):($gsm.addClass(s.parentNode,"not-logged"),setTimeout(function(){$gsm.removeClass(s.parentNode,"not-logged")},4e3)),!1});var a=document.querySelector("#login-active"),c=document.querySelector("#login-popup")||document.querySelector("#login-popup2");$gsm.toggleLoginPopup=function(e){if(!o){e.preventDefault();var t="block"==c.style.display;c.style.display=t?"none":"block",$gsm.hasClass(r,"headroom--top")||($gsm.toggleClass(r,"slide--reset",!t),$gsm.toggleClass(r,"slide--up",t))}},a&&(a.onclick=$gsm.toggleLoginPopup);var r=document.querySelector("#header"),l=document.querySelector("#footer-side"),d=document.querySelector(".adv.sticky");if(d){var u,g=d.previousElementSibling;function m(){u=d.offsetHeight+(l?l.offsetHeight:0)+r.offsetHeight+30,window.innerHeight0?(d.style.position="",d.style.top=""):window.innerHeight>u&&"fixed"!==d.style.position&&d.getBoundingClientRect().top<10&&(d.style.position="fixed",d.style.top="8px"),"fixed"==d.style.position&&(d.style.top=8+(r.getBoundingClientRect().bottom>0?r.offsetHeight:0)+"px")}m(),$gsm.addEventListener(window,"resize",m),$gsm.addEventListener(window,"scroll",h)}}),window.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".speedo");e&&e.length&&window.addEventListener("scroll",function(){for(var t=0;e&&t",ue)}function o(e,t){return window.getComputedStyle?parseInt(window.getComputedStyle(e)[t],10):parseInt(e.currentStyle[t],10)}function s(e){var t=I.querySelector(".thumb.active"),n=he.offsetHeight;if(e){var o=Math.floor(he.scrollTop/n);o+=e}else o=Math.floor(t.offsetTop/n);he.scrollTop=o*n}function i(){Se={};var e=document.querySelectorAll("a[onclick^='javascript:ShowImg']");he.innerHTML="";Ee=e.length;for(var t=0;t'),I.style.display=e?"":"none",(Ce||Te&&!location.hostname.match(/^m\./))&&(e?a(I):c()),r(e)}function d(){ue.innerHTML=""}function u(){return be=$e=!1,l(!1),X.checked=!1,$gsm.removeClass(I,"multipic-mode"),history.replaceState({},"",window.location.pathname+window.location.search),d(),A={},!1}function g(t,o,a){if(""!=x){if(F.classList.contains("multipic-compare")){let e;if(e=void 0!==o?Le[o]:Se[t],""==Wt)return Wt=t,e.link.classList.add("selected"),void(Ut.innerText=It[2]);if(t==Wt)return Wt="",e.link.classList.remove("selected"),void(Ut.innerText=It[1]);if("[multipic]"!=t)return F.classList.remove("multipic-compare"),Yt.style.display="",Ut.innerText=It[0],showMultipic(Wt,t)}if(l(!0),"[multipic]"==t)return I.classList.add("multipic-mode"),I.classList.remove("zoomable"),mt.src=x+mt._src,ht.src=x+ht._src,ut.src=Se[mt._src].smallUrl,gt.src=Se[ht._src].smallUrl,S(),n(),void(location.hostname.match(/^m\./)?e("m-comparegallery"):e("comparegallery"));if(location.hostname.match(/^m\./)?e("m-gallery"):e("gallery"),Se||i(),void 0!==o){var c=Le[o];ke=o}else{c=Se[t];ke=c.index}return Me.src=x+t,He.src=c.smallUrl,te.style.backgroundImage="url("+x+t+"), url("+c.smallUrl+")",te.style.backgroundPosition="",te.style.backgroundSize="",G.setAttribute("href",Me.src),le.innerHTML=c.alt,de.innerHTML=c.index+1+"/"+Ee,$gsm.removeClass(I.querySelector(".thumb.active"),"active"),$gsm.addClass(c.thumbLink,"active"),s(),$e=!1,be=!!t.match(/\/camera\//),$gsm.removeClass(I,"zoomed-in"),ie.style.display="none",ie.style.backgroundImage="url("+x+t+")",Ue=1,S(),history.replaceState({},"","#image"+c.index),X.checked=!1,j.setAttribute("href","//www.facebook.com/sharer.php?u="+encodeURIComponent(window.location)),Z.setAttribute("href","https://x.com/intent/post?text="+escape(c.alt)+"&url="+encodeURIComponent(window.location)),!1}"ShowImg"==a?ShowImg(t):ShowImg2(t)}function m(e,t){var n=ke+e;n=(n+Ee)%Ee;var o=Le[n];return t==_e?o:t==xe?o.smallUrl:t==Ae?x+o.bigUrl:void 0}function h(e,t){var n=t||this.getAttribute("href").replace("#","");if(!qe){I.querySelector(".thumb.active"),t="next"==n?1:-1;var o=m(t,_e).thumbLink.onclick;ee.style.display="",ee.style.backgroundImage="url("+m(t,xe)+")";var s=new Image;s.src=m(2*t,Ae);var i=0;return qe=setTimeout(function(){qe=0,o(),ee.style.display="none"},1e3*i+50),!1}}function f(){var e=this.getAttribute("href").replace("#","");return s("up"==e?-1:1),!1}function p(e,t,n){var o=[0,0],s=e[0]/e[1],i=t[0]/t[1];return s>i?(o[0]=t[0],o[1]=t[0]/s):(o[0]=t[1]*s,o[1]=t[1]),n||(o[0]=Math.floor(o[0]),o[1]=Math.floor(o[1])),o}function v(){var e,t;Fe=p([Me.width,Me.height],[ie.offsetWidth,ie.offsetHeight]);try{var n=Math.min(Fe[0],Fe[1]);e=Math.round(n*te.offsetWidth/(Me.height*Ue)),t=Math.round(n*te.offsetHeight/(Me.height*Ue))}catch(n){e=20,t=20}return ae.style.width=e+"px",ae.style.height=t+"px",[e,t]}function y(e,t){We=Math.min(Math.max(0,e),1),Oe=Math.min(Math.max(0,t),1),$e?(te.style.backgroundPosition=100*We+"% "+100*Oe+"%",te.style.backgroundSize=Ue*Me.naturalWidth+"px "+Ue*Me.naturalHeight+"px, contain"):(te.style.backgroundPosition="center, center",te.style.backgroundSize="contain, contain"),ae.style.transform="translate("+Math.round(We*(Fe[0]-ae.offsetWidth))+"px, "+Math.round(Oe*(Fe[1]-ae.offsetHeight))+"px)"}function w(e){return Math.hypot(e[0].screenX-e[1].screenX,e[0].screenY-e[1].screenY)}function b(e){return[(e[0].screenX+e[1].screenX)/2,(e[0].screenY+e[1].screenY)/2]}function $(e){Ue=Math.min(e,Be),(Me.naturalWidth*ewindow.innerHeight?R.style.display=t?"none":"":R.style.display="none"):(Y.style.visibility="",e=!(window.innerWidth>window.innerHeight)||ce.offsetHeightte.offsetWidth||Me.height>te.offsetHeight,$gsm.toggleClass(I,"zoomable",be),!be&&$e&&B.onclick(),S()&&d(),r(!0)},10)}function k(){st=(ht.naturalWidth-dt.offsetWidth)/(mt.naturalWidth-lt.offsetWidth),it=(ht.naturalHeight-dt.offsetHeight)/(mt.naturalHeight-lt.offsetHeight),et=-mt.naturalWidth+lt.offsetWidth,tt=-mt.naturalHeight+lt.offsetHeight,nt=-ht.naturalWidth+dt.offsetWidth,ot=-ht.naturalHeight+dt.offsetHeight}function E(e){if(mt.complete&&ht.complete||e){e||($gsm.removeClass(rt,"loading"),Ht=!0,k()),bt=-(mt.naturalWidth-lt.offsetWidth)/2,$t=-(mt.naturalHeight-lt.offsetHeight)/2,St=-(ht.naturalWidth-dt.offsetWidth)/2,Lt=-(ht.naturalHeight-dt.offsetHeight)/2;var t=window.location.hash.match(/#compare-\d+,\d+-at-(-?\d+)x(-?\d+),(-?\d+)x(-?\d+)/);t&&(bt=parseInt(t[1],10),$t=parseInt(t[2],10),St=parseInt(t[3],10),Lt=parseInt(t[4],10)),H(0,0,0,0)}}function M(e,t,n){return Math.min(e,Math.max(t,n))}function H(e,t,n,o){bt+=e,$t+=t,St+=n*st,Lt+=o*it,Mt?(kt<=0?(bt=M(-kt/st,bt,et),St=M(0,St,nt+kt)):(bt=M(0,bt,et-kt/st),St=M(kt,St,nt)),Et<=0?($t=M(-Et/it,$t,tt),Lt=M(0,Lt,ot+Et)):($t=M(0,$t,tt-Et/it),Lt=M(Et,Lt,ot))):(bt=M(St/st+mt.naturalWidth*at,bt,St/st-mt.naturalWidth*at),$t=M(Lt/it+mt.naturalHeight*at,$t,Lt/it-mt.naturalHeight*at),St=M(bt*st+ht.naturalWidth*at,St,bt*st-ht.naturalWidth*at),Lt=M($t*it+ht.naturalHeight*at,Lt,$t*it-ht.naturalHeight*at),kt=Math.round(St-bt*st),Et=Math.round(Lt-$t*it)),mt.style.transform="translate("+Math.round(bt)+"px,"+Math.round($t)+"px)",ht.style.transform="translate("+Math.round(St)+"px,"+Math.round(Lt)+"px)"}function C(){ct||history.replaceState({},"",Qe+"-at-"+Math.round(bt)+"x"+Math.round($t)+","+Math.round(St)+"x"+Math.round(Lt))}function T(e,t,n){let o=!0,s=0;const i=new IntersectionObserver(function(e){for(const t of e)t.isIntersecting?s++:o||s--;o=!1,t(s,e)},n||{root:null,rootMargin:"0px",threshold:.49});for(const t of e)i.observe(t)}var _=!1,x="";ImagePopup=function(e,t){x=e,g(t)};var A={},q="gsmarena-gallery",W=localStorage.getItem(q),O=W?JSON.parse(W):{},F=document.querySelector("#review-body")||document.querySelector("#content"),I=$gsm.tag("div",{class:"image-gallery",style:"display: none;",draggable:"false"},"",document.body);if(_)$gsm.tag("div",{style:"display: none; position: absolute; z-index: 999; background: antiquewhite; padding: 2px; max-width: 80%; font-family: auto; position: fixed; top: 0; left: 0;"},"",I);var D=$gsm.tag("div",{class:"top-row",draggable:"false"},"",I),U=$gsm.tag("div",{class:"header",draggable:"false"},"",D),Y=$gsm.tag("span",{class:"title",draggable:"false"},"",U),R=$gsm.tag("div",{class:"logo",draggable:"false"},"",U),P=$gsm.tag("div",{class:"buttons"},"",D),B=$gsm.tag("div",{class:"gbutton zoom",title:"Zoom in"},"",P),G=$gsm.tag("a",{class:"gbutton new-tab",title:"Open image in new tab",target:"_blank"},"",P),X=$gsm.tag("input",{type:"checkbox",id:"gallery-share-checkbox"},"",P),N=$gsm.tag("label",{class:"gbutton share",title:"Share image",for:"gallery-share-checkbox"},"",P),V=$gsm.tag("div",{class:"gbutton close",title:"Close gallery"},"",P),z=$gsm.tag("span",{class:"share-panel"},"",N),j=$gsm.tag("a",{class:"facebook",title:"Share on Facebook"},'',z),Z=$gsm.tag("a",{class:"twitter",title:"Share on Twitter"},'',z),J=$gsm.tag("div",{class:"bottom-row"},"",I),K=$gsm.tag("div",{class:"left-column"},"",J),Q=$gsm.tag("div",{class:"image-container"},"",K),ee=$gsm.tag("div",{class:"second image"},"",Q),te=$gsm.tag("div",{class:"image"},"",Q),ne=$gsm.tag("div",{class:"next-prev"},"",Q),oe=$gsm.tag("a",{class:"go-left",href:"#prev"},"",ne),se=$gsm.tag("a",{class:"go-right",href:"#next"},"",ne),ie=$gsm.tag("div",{class:"map",style:"display: none;"},"",te),ae=$gsm.tag("div",{class:"view"},"",ie),ce=$gsm.tag("div",{class:"right-column"},"",J),re=$gsm.tag("div",{class:"image-details"},"",ce),le=$gsm.tag("span",{class:"image-text"},"",re),de=$gsm.tag("span",{class:"image-count"},"",re),ue=$gsm.tag("div",{class:"ad"},"",ce),ge=$gsm.tag("div",{class:"thumb-gallery"},"",ce),me=$gsm.tag("a",{class:"go-up",href:"#up"},"▲",ge),he=$gsm.tag("div",{class:"thumbs"},"",ge),fe=$gsm.tag("a",{class:"go-down",href:"#down"},"▼",ge),pe=document.querySelector(".article-info-name"),ve=document.querySelector("#gallery .normal-text h2"),ye=document.querySelector("#content h1.section");Y.innerHTML=(pe||ve||ye||{innerHTML:""}).innerHTML;var we=!1,be=!1,$e=!1,Se=!1,Le=[],ke=0,Ee=0,Me=new Image,He=new Image;i();var Ce=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Te=/Android/.test(navigator.userAgent);Ce&&(I.style.touchAction="unset"),V.onclick=u,Me.onload=function(){L(),te.style.backgroundImage="url("+m(0,Ae)+")"};var _e=0,xe=1,Ae=2,qe=0;se.onclick=h,oe.onclick=h,$gsm.addEventListener(document,"keyup",function(e){"none"!=I.style.display&&(27==e.which?u():37!=e.which&&39!=e.which||h(null,37==e.which?"prev":"next"))}),fe.onclick=f,me.onclick=f,B.onclick=function(e){if($e=!$e,$gsm.toggleClass(I,"zoomed-in"),ie.style.display=$e?"":"none",$e)if(Ue=1,v(),e.target==B)y(.5,.5);else{var t=p([Me.width,Me.height],[te.clientWidth,te.clientHeight]),n=e.offsetX-(te.offsetWidth-t[0])/2,o=e.offsetY-(te.offsetHeight-t[1])/2;y(n/t[0],o/t[1])}else y(.5,.5);return!1};var We,Oe,Fe=[1,1];$gsm.addEventListener(te,"click",function(e){be&&B.onclick(e),X.checked=!1}),$gsm.addEventListener(te,"mousemove",function(e){if(be&&$e){var t=e.offsetX/te.offsetWidth,n=e.offsetY/te.offsetHeight;y(t,n)}});var Ie,De,Ue,Ye,Re,Pe,Be=4,Ge=(Math.sqrt(window.devicePixelRatio||1),0),Xe=0,Ne=0,Ve=0,ze=0;$gsm.addEventListener(te,"touchstart",function(e){Ge=e.touches[0].clientX,Xe=e.touches[0].clientY,2==e.touches.length&&(Ye=Ue,Ie=w(e.touches),De=b(e.touches)),X.checked=!1}),$gsm.addEventListener(te,"touchmove",function(e){if($e){if(1==e.touches.length)Ce||e.preventDefault(),dx=(Ge-e.touches[0].clientX)/(Me.height*Ue),dy=(Xe-e.touches[0].clientY)/(Me.height*Ue),Ge=e.touches[0].clientX,Xe=e.touches[0].clientY;else if(2==e.touches.length){if(Ce)return;e.preventDefault();var t=b(e.touches);dx=(De[0]-t[0])/(Me.height*Ue),dy=(De[1]-t[1])/(Me.height*Ue),De=t;var n=w(e.touches)/Ie;$(Ye+(n-1)*Ye)}y(We+dx,Oe+dy);var o=Date.now()-Ne+1,s=40;Ne=Date.now(),Ve=(Re-e.touches[0].clientX)/(o*s),ze=(Pe-e.touches[0].clientY)/(o*s),Re=e.touches[0].clientX,Pe=e.touches[0].clientY}}),$gsm.addEventListener(te,"touchend",function(e){if($e){if(1==e.touches.length&&1==e.changedTouches.length)return Ge=e.touches[0].clientX,Xe=e.touches[0].clientY,Re=Ge,void(Pe=Xe);var t=.8,n=We,o=Oe,s=Ve/Ue,i=ze/Ue;function a(){s*=t,i*=t,n+=s,o+=i,y(n,o),Math.abs(s*i)>1e-7&&requestAnimationFrame(a)}requestAnimationFrame(a)}}),$gsm.addEventListener(te,"wheel",function(e){e.deltaY<0&&$(Ue+.25),e.deltaY>0&&$(Ue-.25),y(We,Oe)});var je=620,Ze=o(U,"padding-left")+o(R,"width")+20;$gsm.addEventListener(window,"resize",L),$gsm.addEventListener(window,"orientationchange",L);var Je=window.location.hash.match(/#image(\d+)/);if(we=!!Je,Je){var Ke=parseInt(Je[1],10);Se||i(),Le[Ke].thumbLink.onclick()}j.onclick=function(){var e="//www.facebook.com/sharer.php?u="+encodeURIComponent(window.location);return window.open(e,"fbookshare","width=500,height=400,left="+(screen.availWidth/2-225)+",top="+(screen.availHeight/2-150)),!1},Z.onclick=function(){var e="https://x.com/intent/post";return e+="?text="+escape(le.innerHTML),e+="&url="+encodeURIComponent(window.location),window.open(e,"twitshare","width=500,height=400,left="+(screen.availWidth/2-225)+",top="+(screen.availHeight/2-150)),!1},$gsm.addEventListener(ce,"click",function(){X.checked=!1});var Qe,et,tt,nt,ot,st,it,at=.2,ct=!("fit-to-screen-view"in O)||O["fit-to-screen-view"],rt=$gsm.tag("div",{class:"multipic"+(ct?" fit-to-screen-view":""),draggable:"false"},"",I),lt=$gsm.tag("div",{class:"left",draggable:"false"},"",rt),dt=$gsm.tag("div",{class:"right",draggable:"false"},"",rt),ut=$gsm.tag("img",{class:"preview"},"",lt),gt=$gsm.tag("img",{class:"preview"},"",dt),mt=$gsm.tag("img",{draggable:"false",class:"side-image"},"",lt),ht=$gsm.tag("img",{draggable:"false",class:"side-image"},"",dt),ft=$gsm.tag("span",{class:"label"},"",lt),pt=$gsm.tag("span",{class:"label"},"",dt),vt=$gsm.tag("div",{class:"ad-top",id:"crt-1097675",draggable:"false"},"",U),yt=$gsm.tag("div",{class:"lock",draggable:"false"},"",rt),wt=$gsm.tag("div",{class:"fit-to-screen-toggle",draggable:"false"},"",rt),bt=0,$t=0,St=0,Lt=0,kt=0,Et=0,Mt=!0;$gsm.addEventListener(rt,"click",function(){X.checked=!1});var Ht=!1;mt.onload=function(){E(!1)},ht.onload=mt.onload,$gsm.draggable(lt,function(e,t){Ht&&(ct||(Mt?H(e,t,e,t):H(e,t,0,0),X.checked=!1))},C),$gsm.draggable(dt,function(e,t){Ht&&(ct||(Mt?H(e,t,e,t):H(0,0,e,t),X.checked=!1))},C) ;var Ct={true:"Unlock to align images separately",false:"Lock to move images simultaneously"};yt.onclick=function(){$gsm.toggleClass(yt,"unlock"),Mt=!Mt,yt.setAttribute("title",Ct[Mt])},yt.setAttribute("title",Ct[Mt]);var Tt={true:"Zoom in to see details",false:"Zoom out to see the whole image"};wt.onclick=function(){ct=!ct,t("fit-to-screen-view",ct),rt.classList.toggle("fit-to-screen-view",ct),wt.setAttribute("title",Tt[ct])},wt.setAttribute("title",Tt[ct]);var _t=function(e){if(ct){var t=M((e.offsetX-(lt.offsetWidth-mt.offsetWidth)/2)/mt.offsetWidth,0,1),n=M((e.offsetY-(lt.offsetHeight-mt.offsetHeight)/2)/mt.offsetHeight,0,1);bt=-(mt.naturalWidth*t-lt.offsetWidth/2),$t=-(mt.naturalHeight*n-lt.offsetHeight/2),St=-(ht.naturalWidth*t-dt.offsetWidth/2),Lt=-(ht.naturalHeight*n-dt.offsetHeight/2),wt.onclick(),H(0,0,0,0)}};lt.addEventListener("click",_t),dt.addEventListener("click",_t);var xt=function(){ct||wt.onclick()};if(lt.addEventListener("dblclick",xt),dt.addEventListener("dblclick",xt),showMultipic=function(e,t){Ht=!1,$gsm.addClass(rt,"loading"),Mt=!0,$gsm.removeClass(yt,"unlock"),mt.src="",ht.src="",ut.src="",gt.src="",mt._src=e,ht._src=t,ShowImg2("[multipic]"),ft.innerHTML=Se[e].alt,pt.innerHTML=Se[t].alt;var n="translate(calc(-50% + "+lt.offsetWidth/2+"px), calc(-50% + "+lt.offsetHeight/2+"px))";E(!0),ut.style.transform=n,gt.style.transform=n,Qe="#compare-"+Se[e].index+","+Se[t].index,location.hash.match(/^#compare/)||history.replaceState({},"",Qe),Ft()},Je=null,Je=window.location.hash.match(/#compare-(\d+),(\d+)/),we=we||!!Je,Je){Se||i();var At=Le[parseInt(Je[1],10)],qt=Le[parseInt(Je[2],10)];showMultipic(At.bigUrl,qt.bigUrl)}let Wt="";const Ot=document.querySelectorAll(".image-row.comparable"),Ft=function(){const e=document.querySelectorAll(".image-row.comparable a.selected");for(const t of e)t.classList.remove("selected");Wt=""},It=["Click here to compare two photos","Pick the first photo","Pick another photo"],Dt=$gsm.tag("div",{class:"multipic-select-images-button"},""),Ut=$gsm.tag("span",{},It[0],Dt);F&&"1"!=$gsm.getCookie("hide-multipic-compare-button")&&F.appendChild(Dt);const Yt=$gsm.tag("i",{class:"head-icon icon-close",title:"Hide this for a day."},"",Dt);Yt.onclick=function(e){$gsm.setCookie("hide-multipic-compare-button","1",1),Dt.remove(),e.stopPropagation()},Dt.onclick=function(){F.classList.toggle("multipic-compare")?(Ut.innerText=It[1],Yt.style.display="none"):(Ft(),Ut.innerText=It[0],Yt.style.display="")},"undefined"!=typeof IntersectionObserver&&Ot.length>0&&T(Ot,function(e){0==e&&""==Wt?(Dt.style.display="none",Ft()):Dt.style.display="flex"})}),document.addEventListener("DOMContentLoaded",function(){const e=document.querySelectorAll("a[data-click");for(const t of e)t.hostname!==location.hostname&&t.addEventListener("click",function(){const e=this.hasAttribute("data-method")?this.getAttribute("data-method"):null;$gsm.beacon(DESKTOP_BASE_URL+this.getAttribute("data-click"),e)})}),document.addEventListener("DOMContentLoaded",function(){function e(e){return new Promise(t=>{setTimeout(()=>{0==e.offsetHeight?t(!0):t(!1)},100)})}function t(){const t=atob("cHViXzMwMHgyNTAgcHViXzMwMHgyNTBtIHB1Yl83Mjh4OTAgdGV4dC1hZCB0ZXh0QWQgdGV4dC1hZC1saW5rcyBhZC11bml0IGFkdi1tcHUgc3RpY2t5YWRzIGFkc19iYW5uZXIgQWRCb3ggdGV4dC1hZC10b3A="),n=atob("d2lkdGg6IDFweCAhaW1wb3J0YW50OyBoZWlnaHQ6IDFweCAhaW1wb3J0YW50OyBwb3NpdGlvbjogYWJzb2x1dGUgIWltcG9ydGFudDsgbGVmdDogLTEwMDAwcHggIWltcG9ydGFudDsgdG9wOiAtMTAwMHB4ICFpbXBvcnRhbnQ7"),o=$gsm.tag("div",{class:t,style:n},"",document.body);return e(o).then(e=>!!e||fetch(atob("aHR0cHM6Ly9hZC5kb3VibGVjbGljay5uZXQvZmF2aWNvbi5pY28=")).then(e=>e.headers.get(atob("Q29udGVudC1UeXBl"))!=atob("aW1hZ2UveC1pY29u")).catch(()=>!0))}const n=document.getElementById(atob("c3ViSGVhZGVyMg=="))||document.getElementById(atob("c3ViSGVhZGVyMw=="));n&&t().then(function(e){const t=1e4+2*Math.round(999*Math.random());$gsm.setCookie(atob("RGV2aWNlSUQ="),e?t+1:t+0,7),e&&window.addEventListener("beforeunload",function(){$gsm.setCookie(atob("RGV2aWNlSUQ="),e?t+1:t+0,7)})})}),document.addEventListener("DOMContentLoaded",function(){const e=document.querySelector(".article-blurb.article-blurb-findings.two-columns");e&&$gsm.ensureJS(ASSETS_BASE_URL+"js/sticky-toc.js","b")});