orgmode-to-gemini-blog/exports/html/L’aventure Superphénix🔥. Superphénix… s’il est un réacteur… _ by Dragonfeu _ Medium_fichiers/main.e66fdbd5.js
2024-11-03 11:06:34 +01:00

3 lines
867 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see main.e66fdbd5.js.LICENSE.txt */
"use strict";(self.webpackChunklite=self.webpackChunklite||[]).push([[8792],{26148:(e,n,t)=>{t(60328),"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype||t(95127),"setImmediate"in window||t(42791)},27412:(e,n,t)=>{t.d(n,{A:()=>o});var i,a=t(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},r.apply(null,arguments)}const o=function(e){return a.createElement("svg",r({width:19,height:19,className:"svgIcon-use",viewBox:"0 0 19 19"},e),i||(i=a.createElement("path",{fillRule:"evenodd",d:"M11.47 13.969 6.986 9.484 11.47 5l.553.492L8.03 9.484l3.993 3.993z"})))}},38090:(e,n,t)=>{t.d(n,{A:()=>o});var i,a=t(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},r.apply(null,arguments)}const o=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,fill:"none",viewBox:"0 0 12 12"},e),i||(i=a.createElement("path",{fill:"#757575",d:"M.646 10.646a.5.5 0 0 0 .708.708zM11 1h.5a.5.5 0 0 0-.5-.5zm-.5 7a.5.5 0 0 0 1 0zM4 .5a.5.5 0 0 0 0 1zM1.354 11.354l10-10-.708-.708-10 10zM10.5 1v7h1V1zM4 1.5h7v-1H4z"})))}},93089:(e,n,t)=>{t.d(n,{A:()=>d});var i,a,r,o,l,c,s=t(96540);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},u.apply(null,arguments)}const d=function(e){return s.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none",viewBox:"0 0 32 32"},e),i||(i=s.createElement("path",{fill:"url(#paint0_radial)",fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5v18a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})),a||(a=s.createElement("path",{fill:"#E5E5E5",fillOpacity:.01,fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5v18a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})),r||(r=s.createElement("mask",{id:"path-3-outside-1",width:25,height:7,x:3.568,y:12,fill:"#000",maskUnits:"userSpaceOnUse"},s.createElement("path",{fill:"#fff",d:"M3.568 12h25v7h-25z"}),s.createElement("path",{fillRule:"evenodd",d:"m7.396 16.067.667-1.835h.015l.645 1.835zM7.504 13l-1.936 5H6.7l.401-1.113h1.915L9.404 18h1.169l-1.915-5zm3.513 0v5h1.054v-3.508h.015L13.34 18h.867l1.255-3.543h.014V18h1.054v-5h-1.584l-1.133 3.438H13.8L12.602 13zm6.504 0v5h3.886v-.924h-2.76V15.85h2.48v-.854h-2.48v-1.072h2.703V13zm5.901 2.381L21.637 18h1.262l1.14-1.73L25.157 18h1.341l-1.785-2.612L26.355 13H25.12l-1.04 1.597L23.079 13h-1.305z",clipRule:"evenodd"}))),o||(o=s.createElement("path",{fill:"#1793C0",fillOpacity:.01,fillRule:"evenodd",d:"m7.396 16.067.667-1.835h.015l.645 1.835zM7.504 13l-1.936 5H6.7l.401-1.113h1.915L9.404 18h1.169l-1.915-5zm3.513 0v5h1.054v-3.508h.015L13.34 18h.867l1.255-3.543h.014V18h1.054v-5h-1.584l-1.133 3.438H13.8L12.602 13zm6.504 0v5h3.886v-.924h-2.76V15.85h2.48v-.854h-2.48v-1.072h2.703V13zm5.901 2.381L21.637 18h1.262l1.14-1.73L25.157 18h1.341l-1.785-2.612L26.355 13H25.12l-1.04 1.597L23.079 13h-1.305z",clipRule:"evenodd"})),l||(l=s.createElement("path",{fill:"#fff",d:"m7.396 16.067-.94-.341-.487 1.341h1.427zm.667-1.835v-1h-.7l-.24.659zm.015 0 .943-.331-.235-.668h-.708zm.645 1.835v1h1.412l-.469-1.332zM7.503 13v-1H6.82l-.248.639zm-1.935 5-.933-.361L4.108 19h1.46zM6.7 18v1h.702l.239-.66zm.401-1.113v-1H6.4l-.238.66zm1.915 0 .944-.329-.233-.671h-.711zM9.404 18l-.944.328.233.672h.711zm1.169 0v1h1.454l-.52-1.358zm-1.915-5 .934-.358L9.346 12h-.688zm2.36 0v-1h-1v1zm0 5h-1v1h1zm1.053 0v1h1v-1zm0-3.508v-1h-1v1zm.015 0 .941-.337-.237-.663h-.704zM13.34 18l-.942.337.237.663h.705zm.867 0v1h.707l.236-.666zm1.255-3.543v-1h-.707l-.236.666zm.014 0h1v-1h-1zm0 3.543h-1v1h1zm1.054 0v1h1v-1zm0-5h1v-1h-1zm-1.584 0v-1h-.724l-.226.687zm-1.133 3.438v1h.723l.227-.687zm-.014 0-.945.33.234.67h.71zM12.602 13l.944-.329-.233-.671h-.711zm4.919 0v-1h-1v1zm0 5h-1v1h1zm3.886 0v1h1v-1zm0-.924h1v-1h-1zm-2.76 0h-1v1h1zm0-1.226v-1h-1v1zm2.48 0v1h1v-1zm0-.854h1v-1h-1zm-2.48 0h-1v1h1zm0-1.072v-1h-1v1zm2.703 0v1h1v-1zm0-.924h1v-1h-1zm2.072 2.381.826.563.387-.568-.39-.564zM21.637 18l-.827-.563L19.745 19h1.892zm1.262 0v1h.538l.297-.45zm1.14-1.73.84-.543-.832-1.286-.843 1.279zM25.157 18l-.84.543.296.457h.544zm1.341 0v1h1.895l-1.07-1.564zm-1.785-2.612-.824-.567-.389.565.387.566zM26.355 13l.824.567L28.256 12h-1.901zm-1.234 0v-1h-.542l-.296.454zm-1.04 1.597-.846.532.832 1.323.853-1.31zM23.079 13l.846-.532L23.63 12h-.552zm-1.305 0v-1h-1.91l1.088 1.57zM8.336 16.409l.667-1.835-1.88-.683-.666 1.835zm-.273-1.176h.015v-2h-.015zm-.929-.669L7.78 16.4l1.886-.664-.645-1.834zm1.589.503H7.396v2h1.327zM6.57 12.64l-1.936 5 1.865.722 1.936-5zM5.568 19H6.7v-2H5.568zm2.074-.66.401-1.114-1.881-.679-.402 1.114zm-.54-.453h1.915v-2H7.102zm.97-.672.388 1.113 1.889-.656-.388-1.114zM9.404 19h1.169v-2H9.404zm2.103-1.358-1.915-5-1.868.716 1.915 5zM8.658 12H7.504v2h1.154zm1.36 1v5h2v-5zm1 6h1.053v-2h-1.054zm2.053-1v-3.508h-2V18zm-1-2.508h.015v-2h-.015zm-.927-.664 1.255 3.509 1.883-.674-1.255-3.508zM13.341 19h.867v-2h-.867zm1.81-.666 1.255-3.544-1.886-.667-1.254 3.543zm.312-2.877h.014v-2h-.014zm-.986-1V18h2v-3.543zm1 4.543h1.054v-2h-1.054zm2.054-1v-5h-2v5zm-1-6h-1.584v2h1.584zm-2.534.687-1.133 3.438 1.9.626 1.133-3.438zm-.183 2.751H13.8v2h.014zm.93.672-1.198-3.439-1.888.658 1.197 3.438zM12.602 12h-1.585v2h1.585zm3.919 1v5h2v-5zm1 6h3.886v-2h-3.886zm4.886-1v-.924h-2V18zm-1-1.924h-2.76v2h2.76zm-1.76 1V15.85h-2v1.226zm-1-.226h2.48v-2h-2.48zm3.48-1v-.854h-2v.854zm-1-1.854h-2.48v2h2.48zm-1.48 1v-1.072h-2v1.072zm-1-.072h2.703v-2h-2.703zm3.703-1V13h-2v.924zm-1-1.924h-3.83v2h3.83zm1.246 2.818-1.786 2.619 1.653 1.126 1.785-2.619zM21.636 19H22.9v-2h-1.262zm2.098-.45 1.14-1.73-1.67-1.1-1.14 1.73zm-.535-1.737 1.119 1.73 1.679-1.086-1.119-1.73zM25.157 19h1.341v-2h-1.34zm2.167-1.564-1.786-2.612-1.65 1.128 1.785 2.612zm-1.787-1.481 1.642-2.388-1.648-1.134-1.642 2.388zM26.355 12H25.12v2h1.234zm-2.072.454-1.04 1.597 1.677 1.091 1.04-1.596zm.645 1.61-1.004-1.596-1.693 1.064 1.004 1.597zM23.078 12h-1.305v2h1.305zm-2.127 1.57 1.649 2.38 1.644-1.138-1.649-2.381z",mask:"url(#path-3-outside-1)"})),c||(c=s.createElement("defs",null,s.createElement("radialGradient",{id:"paint0_radial",cx:0,cy:0,r:1,gradientTransform:"matrix(0 21 -32 0 10.746 8.98)",gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#71C8F2"}),s.createElement("stop",{offset:1,stopColor:"#0071BD"})))))}},98599:(e,n,t)=>{t.d(n,{A:()=>u});var i,a,r,o,l,c=t(96540);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},s.apply(null,arguments)}const u=function(e){return c.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none",viewBox:"0 0 32 32"},e),i||(i=c.createElement("path",{fill:"#F2F2F2",fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5v18a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})),a||(a=c.createElement("path",{fill:"#E5E5E5",fillOpacity:.01,fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5v18a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})),r||(r=c.createElement("path",{fill:"url(#paint0_linear)",fillRule:"evenodd",d:"M17.313 20.48c2.704.013 5.17-2.224 5.17-4.946 0-2.977-2.466-5.035-5.17-5.034h-2.326C12.252 10.499 10 12.557 10 15.534c0 2.722 2.252 4.96 4.987 4.946z",clipRule:"evenodd"})),o||(o=c.createElement("path",{fill:"#F4F6F7",fillRule:"evenodd",d:"M14.997 10.916c-2.5 0-4.525 2.045-4.526 4.569s2.026 4.567 4.526 4.568c2.5-.001 4.526-2.046 4.526-4.568 0-2.524-2.026-4.568-4.526-4.57m-2.87 4.569a2.9 2.9 0 0 1 1.843-2.703v5.404a2.9 2.9 0 0 1-1.842-2.701m3.896 2.703v-5.406a2.9 2.9 0 0 1 1.843 2.703 2.9 2.9 0 0 1-1.843 2.703",clipRule:"evenodd"})),l||(l=c.createElement("defs",null,c.createElement("linearGradient",{id:"paint0_linear",x1:25.074,x2:21.873,y1:18.57,y2:8.108,gradientUnits:"userSpaceOnUse"},c.createElement("stop",{stopColor:"#009BE0"}),c.createElement("stop",{offset:1,stopColor:"#006BA8"})))))}},91857:(e,n,t)=>{t.d(n,{A:()=>u});var i,a,r,o,l,c=t(96540);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},s.apply(null,arguments)}const u=function(e){return c.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none",viewBox:"0 0 32 32"},e),i||(i=c.createElement("path",{fill:"#F2F2F2",fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5v18a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})),a||(a=c.createElement("path",{fill:"#E5E5E5",fillOpacity:.01,fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5v18a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})),r||(r=c.createElement("path",{fill:"#212D34",fillRule:"evenodd",d:"M7.016 16.333c-.21.191-.484.275-.917.275h-.18v-2.286h.18c.433 0 .696.078.917.28.232.207.371.53.371.86 0 .332-.139.663-.37.871m-.782-2.596H5.25v3.456h.978c.52 0 .896-.123 1.226-.4.392-.325.624-.817.624-1.326 0-1.02-.758-1.73-1.844-1.73M8.386 17.193h.67v-3.457h-.67zM10.695 15.063c-.403-.15-.52-.248-.52-.435 0-.218.21-.383.498-.383.201 0 .366.083.54.28l.351-.463a1.5 1.5 0 0 0-1.009-.383c-.608 0-1.071.425-1.071.99 0 .477.215.72.845.949.262.093.396.155.463.196.134.088.2.213.2.358 0 .28-.22.488-.52.488-.319 0-.576-.161-.73-.461l-.434.42c.31.455.68.657 1.19.657.696 0 1.185-.466 1.185-1.135 0-.55-.226-.798-.989-1.078M11.894 15.467c0 1.016.793 1.804 1.813 1.804.288 0 .536-.057.84-.201v-.794c-.268.27-.505.378-.809.378-.675 0-1.154-.492-1.154-1.192 0-.663.495-1.187 1.123-1.187.32 0 .562.115.84.389v-.793a1.7 1.7 0 0 0-.824-.213 1.81 1.81 0 0 0-1.83 1.81M19.86 16.058l-.916-2.322h-.732l1.458 3.546h.36l1.484-3.546h-.726zM21.817 17.193h1.9v-.585h-1.23v-.933h1.185v-.586h-1.185v-.767h1.23v-.586h-1.9zM25.026 15.328h-.195V14.28h.206c.417 0 .644.176.644.512 0 .348-.227.535-.655.535m1.345-.571c0-.647-.443-1.02-1.216-1.02h-.994v3.456h.67v-1.389h.087l.927 1.389h.825l-1.082-1.456c.505-.104.783-.45.783-.98",clipRule:"evenodd"})),o||(o=c.createElement("g",{filter:"url(#filter0_i)"},c.createElement("path",{fill:"url(#paint0_linear)",fillRule:"evenodd",d:"M18.42 15.477a1.833 1.833 0 0 1-1.827 1.838 1.833 1.833 0 0 1-1.827-1.838c0-1.016.818-1.84 1.827-1.84 1.01 0 1.828.824 1.828 1.84",clipRule:"evenodd"}))),l||(l=c.createElement("defs",null,c.createElement("linearGradient",{id:"paint0_linear",x1:18.832,x2:16.663,y1:15.828,y2:13.264,gradientUnits:"userSpaceOnUse"},c.createElement("stop",{stopColor:"#FFA700"}),c.createElement("stop",{offset:1,stopColor:"#E75A10"})),c.createElement("filter",{id:"filter0_i",width:3.655,height:3.678,x:14.766,y:13.638,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},c.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),c.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),c.createElement("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),c.createElement("feOffset",{dx:1,dy:1}),c.createElement("feComposite",{in2:"hardAlpha",k2:-1,k3:1,operator:"arithmetic"}),c.createElement("feColorMatrix",{values:"0 0 0 0 0.314068 0 0 0 0 0.00146228 0 0 0 0 0.00146228 0 0 0 0.5 0"}),c.createElement("feBlend",{in2:"shape",result:"effect1_innerShadow"})))))}},70185:(e,n,t)=>{t.d(n,{A:()=>f});var i,a,r,o,l,c,s,u,d,m=t(96540);function p(){return p=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},p.apply(null,arguments)}const f=function(e){return m.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none",viewBox:"0 0 32 32"},e),i||(i=m.createElement("path",{fill:"#F2F2F2",fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5v18a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})),a||(a=m.createElement("path",{fill:"#E5E5E5",fillOpacity:.01,fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5v18a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})),r||(r=m.createElement("path",{fill:"url(#paint0_linear)",fillRule:"evenodd",d:"M20.746 11a3 3 0 0 0-.302.014c-.39.04-.758.213-1.021.482-.196.199-.331.446-.39.71-.027.13-.031.26-.031.392v1.426c0 .033-.009.036.031.036h1.872c.204 0 .41-.007.614.01.2.017.405.07.567.184a.62.62 0 0 1 .243.691c-.075.245-.3.409-.556.477l-.086.02c-.017.002-.04.002-.055.008-.007.004-.026.008-.012.02.003.003.018.003.03.003h.01q.12.01.238.04c.24.06.471.19.582.402a.64.64 0 0 1-.148.759c-.166.153-.399.232-.63.258-.115.013-.231.01-.347.01H19.09c-.017 0-.068-.008-.082 0-.01.005-.006.012-.006.025v2.995c0 .006-.004.03 0 .035.005.006.047.001.057.001h2.263c.371 0 .725-.09 1.026-.297.409-.283.65-.732.652-1.203v-7.494h-1.852q-.187-.002-.375-.004zm-.744 3.61c-.004.014 0 .042 0 .056v.734c0 .02-.006.086.003.096.008.009.044 0 .054 0h.394q.11.002.22 0a.29.29 0 0 0 .243-.137.6.6 0 0 0 .018-.591.3.3 0 0 0-.225-.165c-.04-.005-.083-.002-.124-.002h-.561l-.013-.001q-.005-.001-.009.01m.447.89h-.447v.833c0 .014-.004.043 0 .056.006.019.061.008.08.008h.561c.073 0 .143-.006.208-.062a.48.48 0 0 0 .145-.315.6.6 0 0 0-.097-.406.27.27 0 0 0-.225-.114h-.225",clipRule:"evenodd"})),o||(o=m.createElement("mask",{id:"mask0",width:4,height:9,x:19,y:11,"mask-type":"alpha",maskUnits:"userSpaceOnUse"},m.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M20.746 11a3 3 0 0 0-.302.014c-.39.04-.758.213-1.021.482-.196.199-.331.446-.39.71-.027.13-.031.26-.031.392v1.426c0 .033-.009.036.031.036h1.872c.204 0 .41-.007.614.01.2.017.405.07.567.184a.62.62 0 0 1 .243.691c-.075.245-.3.409-.556.477l-.086.02c-.017.002-.04.002-.055.008-.007.004-.026.008-.012.02.003.003.018.003.03.003h.01q.12.01.238.04c.24.06.471.19.582.402a.64.64 0 0 1-.148.759c-.166.153-.399.232-.63.258-.115.013-.231.01-.347.01H19.09c-.017 0-.068-.008-.082 0-.01.005-.006.012-.006.025v2.995c0 .006-.004.03 0 .035.005.006.047.001.057.001h2.263c.371 0 .725-.09 1.026-.297.409-.283.65-.732.652-1.203v-7.494h-1.852q-.187-.002-.375-.004zm-.744 3.61c-.004.014 0 .042 0 .056v.734c0 .02-.006.086.003.096.008.009.044 0 .054 0h.394q.11.002.22 0a.29.29 0 0 0 .243-.137.6.6 0 0 0 .018-.591.3.3 0 0 0-.225-.165c-.04-.005-.083-.002-.124-.002h-.561l-.013-.001q-.005-.001-.009.01m.447.89h-.447v.833c0 .014-.004.043 0 .056.006.019.061.008.08.008h.561c.073 0 .143-.006.208-.062a.48.48 0 0 0 .145-.315.6.6 0 0 0-.097-.406.27.27 0 0 0-.225-.114h-.225",clipRule:"evenodd"}))),l||(l=m.createElement("path",{fill:"url(#paint1_linear)",fillRule:"evenodd",d:"M10.359 11.02c-.23.035-.451.117-.644.237-.445.279-.711.75-.713 1.246v3.678c0 .028 0 .022.033.037l.113.048c.304.124.623.219.953.256.237.027.49.034.715-.053.18-.07.322-.2.396-.367a.8.8 0 0 0 .06-.338v-1.658c0-.01-.005-.038 0-.046.007-.01.063-.003.079-.003h1.316v1.733c0 .173-.028.346-.104.505a1 1 0 0 1-.35.393c-.365.247-.85.311-1.292.33a7 7 0 0 1-.949-.027 6.5 6.5 0 0 1-.97-.154v3.13c0 .005-.004.027 0 .03.006.007.066 0 .078 0h1.868c.276 0 .559.018.828-.045a1.61 1.61 0 0 0 1.076-.827c.111-.224.148-.462.148-.706V11h-2.276c-.122 0-.244.002-.365.02",clipRule:"evenodd"})),c||(c=m.createElement("mask",{id:"mask1",width:4,height:9,x:9,y:11,"mask-type":"alpha",maskUnits:"userSpaceOnUse"},m.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M10.359 11.02c-.23.035-.451.117-.644.237-.445.279-.711.75-.713 1.246v3.678c0 .028 0 .022.033.037l.113.048c.304.124.623.219.953.256.237.027.49.034.715-.053.18-.07.322-.2.396-.367a.8.8 0 0 0 .06-.338v-1.658c0-.01-.005-.038 0-.046.007-.01.063-.003.079-.003h1.316v1.733c0 .173-.028.346-.104.505a1 1 0 0 1-.35.393c-.365.247-.85.311-1.292.33a7 7 0 0 1-.949-.027 6.5 6.5 0 0 1-.97-.154v3.13c0 .005-.004.027 0 .03.006.007.066 0 .078 0h1.868c.276 0 .559.018.828-.045a1.61 1.61 0 0 0 1.076-.827c.111-.224.148-.462.148-.706V11h-2.276c-.122 0-.244.002-.365.02",clipRule:"evenodd"}))),s||(s=m.createElement("path",{fill:"url(#paint2_linear)",fillRule:"evenodd",d:"M15.52 11.004c-.176.01-.35.047-.512.109a1.6 1.6 0 0 0-.832.71c-.115.21-.173.443-.174.677v1.963a2 2 0 0 1 .159-.11 2.5 2.5 0 0 1 .894-.31c.255-.044.515-.063.775-.068q.383-.007.765.03a8 8 0 0 1 .865.135c.017.004.08.008.09.02.006.009 0 .043 0 .052v.582l-.11-.049a3.4 3.4 0 0 0-.872-.255c-.408-.06-.869-.058-1.22.167-.34.218-.459.604-.422.971a.95.95 0 0 0 .609.807c.355.141.768.122 1.14.054.305-.056.596-.158.874-.287v.582c0 .01.007.044 0 .053-.008.011-.073.016-.09.02a9 9 0 0 1-.971.145 7 7 0 0 1-.77.017 4.7 4.7 0 0 1-.778-.087c-.338-.069-.673-.187-.938-.398v3.418c0 .007-.005.036 0 .042.011.012.102.002.123.002h1.664c.234 0 .473.011.706-.004a1.68 1.68 0 0 0 1.105-.51c.268-.284.4-.643.4-1.017v-7.464h-2.18L15.674 11q-.077-.001-.155.004",clipRule:"evenodd"})),u||(u=m.createElement("mask",{id:"mask2",width:4,height:9,x:14,y:11,"mask-type":"alpha",maskUnits:"userSpaceOnUse"},m.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M15.52 11.004c-.176.01-.35.047-.512.109a1.6 1.6 0 0 0-.832.71c-.115.21-.173.443-.174.677v1.963a2 2 0 0 1 .159-.11 2.5 2.5 0 0 1 .894-.31c.255-.044.515-.063.775-.068q.383-.007.765.03a8 8 0 0 1 .865.135c.017.004.08.008.09.02.006.009 0 .043 0 .052v.582l-.11-.049a3.4 3.4 0 0 0-.872-.255c-.408-.06-.869-.058-1.22.167-.34.218-.459.604-.422.971a.95.95 0 0 0 .609.807c.355.141.768.122 1.14.054.305-.056.596-.158.874-.287v.582c0 .01.007.044 0 .053-.008.011-.073.016-.09.02a9 9 0 0 1-.971.145 7 7 0 0 1-.77.017 4.7 4.7 0 0 1-.778-.087c-.338-.069-.673-.187-.938-.398v3.418c0 .007-.005.036 0 .042.011.012.102.002.123.002h1.664c.234 0 .473.011.706-.004a1.68 1.68 0 0 0 1.105-.51c.268-.284.4-.643.4-1.017v-7.464h-2.18L15.674 11q-.077-.001-.155.004",clipRule:"evenodd"}))),d||(d=m.createElement("defs",null,m.createElement("linearGradient",{id:"paint0_linear",x1:23,x2:19.135,y1:10.611,y2:10.611,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#43C311"}),m.createElement("stop",{offset:1,stopColor:"#288C00"})),m.createElement("linearGradient",{id:"paint1_linear",x1:9.01,x2:13.05,y1:20.023,y2:20.023,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#21469E"}),m.createElement("stop",{offset:1,stopColor:"#1E81EB"})),m.createElement("linearGradient",{id:"paint2_linear",x1:18,x2:14,y1:11,y2:11,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#F42D3E"}),m.createElement("stop",{offset:1,stopColor:"#9C0017"})))))}},63976:(e,n,t)=>{t.d(n,{A:()=>m});var i,a,r,o,l,c,s,u=t(96540);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},d.apply(null,arguments)}const m=function(e){return u.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none",viewBox:"0 0 32 32"},e),i||(i=u.createElement("path",{fill:"#F2F2F2",fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5v18a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})),a||(a=u.createElement("path",{fill:"#D8232A",fillRule:"evenodd",d:"M12.5 21a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11",clipRule:"evenodd"})),r||(r=u.createElement("path",{fill:"#ED9F2D",fillRule:"evenodd",d:"M16 19.743a5.5 5.5 0 1 0 0-8.486 5.49 5.49 0 0 1 2 4.243 5.49 5.49 0 0 1-2 4.243",clipRule:"evenodd"})),o||(o=u.createElement("path",{fill:"#D8232A",fillRule:"evenodd",d:"M16 11.257a5.49 5.49 0 0 0-2 4.243c0 1.708.778 3.234 2 4.243a5.49 5.49 0 0 0 2-4.243 5.49 5.49 0 0 0-2-4.243",clipRule:"evenodd"})),l||(l=u.createElement("mask",{id:"mask0",width:4,height:9,x:14,y:11,"mask-type":"alpha",maskUnits:"userSpaceOnUse"},u.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M16 11.257a5.49 5.49 0 0 0-2 4.243c0 1.708.778 3.234 2 4.243a5.49 5.49 0 0 0 2-4.243 5.49 5.49 0 0 0-2-4.243",clipRule:"evenodd"}))),c||(c=u.createElement("g",{mask:"url(#mask0)"},u.createElement("path",{fill:"#ED9F2D",fillRule:"evenodd",d:"M13 12h6v1h-6zm0 2h6v1h-6zm6 2h-6v1h6zm-6 2h6v1h-6zm6 2h-6v1h6z",clipRule:"evenodd"}))),s||(s=u.createElement("path",{fill:"#E5E5E5",fillOpacity:.01,fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5v18a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})))}},22267:(e,n,t)=>{t.d(n,{A:()=>u});var i,a,r,o,l,c=t(96540);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},s.apply(null,arguments)}const u=function(e){return c.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none",viewBox:"0 0 32 32"},e),i||(i=c.createElement("path",{fill:"#F2F2F2",fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5v18a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})),a||(a=c.createElement("path",{fill:"#4095DB",fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5V10H0z",clipRule:"evenodd"})),r||(r=c.createElement("path",{fill:"#F4B662",fillRule:"evenodd",d:"M0 21h32v3.5a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})),o||(o=c.createElement("path",{fill:"#0071CE",fillRule:"evenodd",d:"M20.14 12.285A3.6 3.6 0 0 0 18.73 12c-1.558 0-2.653.92-2.663 2.238-.01.975.782 1.518 1.38 1.842.613.333.82.545.817.842-.004.454-.49.662-.943.662-.63 0-.965-.102-1.483-.355l-.202-.108-.22 1.518c.367.188 1.047.352 1.754.361 1.654 0 2.73-.91 2.742-2.316.006-.773-.414-1.36-1.323-1.843-.55-.314-.888-.523-.884-.84 0-.283.286-.584.902-.584.515-.01.888.122 1.179.26l.141.078zM12.855 18.9l.985-6.782h1.575l-.986 6.781zm10.01-4.3s-.496 1.505-.627 1.895h1.308l-.365-1.957-.106-.585c-.042.134-.1.312-.145.448-.04.12-.069.207-.064.199m1.316-2.475h-1.217c-.377 0-.66.12-.825.562l-2.339 6.215h1.654s.27-.836.331-1.02l.907.002h.002l1.108.002c.047.236.192 1.016.192 1.016h1.462zm-12.647-.001L9.99 16.747l-.165-.94-.552-3.116c-.095-.43-.372-.557-.714-.572H6.021L6 12.26a6 6 0 0 1 1.654.745l1.4 5.89 1.667-.002 2.48-6.768z",clipRule:"evenodd"})),l||(l=c.createElement("path",{fill:"#E5E5E5",fillOpacity:.01,fillRule:"evenodd",d:"M0 6.5A1.5 1.5 0 0 1 1.5 5h29A1.5 1.5 0 0 1 32 6.5v18a1.5 1.5 0 0 1-1.5 1.5h-29A1.5 1.5 0 0 1 0 24.5z",clipRule:"evenodd"})))}},34539:(e,n,t)=>{t.d(n,{A:()=>l});var i,a,r=t(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o.apply(null,arguments)}const l=function(e){return r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),i||(i=r.createElement("circle",{cx:12,cy:12.001,r:10.5,stroke:"currentColor"})),a||(a=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m16.083 6.167-.147.989-.984 6.636-.036.247-.22.119-5.899 3.194-.88.476.147-.989.984-6.635.037-.248.22-.119 5.899-3.194zM9.92 11.15 9.2 15.997l4.308-2.333zm4.163 1.695-3.59-2.514L14.8 8z",clipRule:"evenodd"})))}},9112:(e,n,t)=>{t.d(n,{A:()=>o});var i,a=t(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},r.apply(null,arguments)}const o=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),i||(i=a.createElement("g",{id:"facebook"},a.createElement("g",{id:"facebook-vector"},a.createElement("path",{fill:"#1877F2",d:"M22 12.002c0-5.523-4.477-10-10-10s-10 4.477-10 10c0 4.991 3.657 9.128 8.438 9.879v-6.988h-2.54v-2.891h2.54V9.799c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562v1.876h2.773l-.443 2.89h-2.33v6.989c4.78-.75 8.437-4.888 8.437-9.879"}),a.createElement("path",{fill:"#fff",d:"m15.893 14.893.443-2.891h-2.773v-1.876c0-.79.387-1.562 1.63-1.562h1.26v-2.46s-1.144-.196-2.238-.196c-2.284 0-3.777 1.385-3.777 3.89v2.204h-2.54v2.89h2.54v6.989a10 10 0 0 0 3.124 0v-6.988z"})))))}},63191:(e,n,t)=>{t.d(n,{A:()=>o});var i,a=t(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},r.apply(null,arguments)}const o=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24"},e),i||(i=a.createElement("path",{fillRule:"evenodd",d:"M12 20.5a8.5 8.5 0 1 0 0-17 8.5 8.5 0 0 0 0 17m0 1a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19m.95-12.035h-1.9v8.867h1.9zM11.05 8.2h1.9V6.3h-1.9z",clipRule:"evenodd"})))}},89547:(e,n,t)=>{t.d(n,{A:()=>l});var i,a,r=t(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o.apply(null,arguments)}const l=function(e){return r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),i||(i=r.createElement("path",{fill:"currentColor",d:"M7.5 5.75a2 2 0 0 0-2 2v14a.5.5 0 0 0 .8.4l5.7-4.4 5.7 4.4a.5.5 0 0 0 .8-.4v-14a2 2 0 0 0-2-2z"})),a||(a=r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",d:"M12.5 2.75h-8a2 2 0 0 0-2 2v11.5"})))}},84372:(e,n,t)=>{t.d(n,{A:()=>o});var i,a=t(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},r.apply(null,arguments)}const o=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:29,height:29,viewBox:"0 0 29 29"},e),i||(i=a.createElement("path",{fillRule:"evenodd",d:"m20.13 8.11-5.61 5.61-5.609-5.61-.801.801 5.61 5.61-5.61 5.61.801.8 5.61-5.609 5.61 5.61.8-.801-5.609-5.61 5.61-5.61"})))}},96445:(e,n,t)=>{t.d(n,{A:()=>o});var i,a=t(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},r.apply(null,arguments)}const o=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),i||(i=a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.092 11.06a6.95 6.95 0 1 1 13.9 0 6.95 6.95 0 0 1-13.9 0m6.95-8.05a8.05 8.05 0 1 0 5.13 14.26l3.75 3.75a.56.56 0 1 0 .79-.79l-3.73-3.73A8.05 8.05 0 0 0 11.042 3z",clipRule:"evenodd"})))}},5940:(e,n,t)=>{t.d(n,{A:()=>o});var i,a=t(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},r.apply(null,arguments)}const o=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:25,height:25,viewBox:"0 0 25 25"},e),i||(i=a.createElement("path",{d:"m20.067 18.933-4.157-4.157a6 6 0 1 0-.884.884l4.157 4.157a.624.624 0 1 0 .884-.884M6.5 11c0-2.62 2.13-4.75 4.75-4.75S16 8.38 16 11s-2.13 4.75-4.75 4.75S6.5 13.62 6.5 11"})))}},75061:(e,n,t)=>{t.d(n,{A:()=>c});var i,a,r,o=t(96540);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},l.apply(null,arguments)}const c=function(e){return o.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none",viewBox:"0 0 40 40"},e),i||(i=o.createElement("mask",{id:"path-1-outside-1_5853_41067",width:38,height:38,x:1,y:1,fill:"#000",maskUnits:"userSpaceOnUse"},o.createElement("path",{fill:"#fff",d:"M1 1h38v38H1z"}),o.createElement("path",{d:"m24.7 25.435-3.552 9.767a1.224 1.224 0 0 1-2.296 0L15.3 25.435a1.24 1.24 0 0 0-.735-.735L4.8 21.148a1.225 1.225 0 0 1 0-2.296l9.766-3.552a1.24 1.24 0 0 0 .735-.735L18.852 4.8a1.224 1.224 0 0 1 2.296 0l3.552 9.766a1.24 1.24 0 0 0 .735.735l9.767 3.552a1.224 1.224 0 0 1 0 2.296L25.435 24.7a1.24 1.24 0 0 0-.735.735"}))),a||(a=o.createElement("path",{fill:"#FFC017",d:"m24.7 25.435-3.552 9.767a1.224 1.224 0 0 1-2.296 0L15.3 25.435a1.24 1.24 0 0 0-.735-.735L4.8 21.148a1.225 1.225 0 0 1 0-2.296l9.766-3.552a1.24 1.24 0 0 0 .735-.735L18.852 4.8a1.224 1.224 0 0 1 2.296 0l3.552 9.766a1.24 1.24 0 0 0 .735.735l9.767 3.552a1.224 1.224 0 0 1 0 2.296L25.435 24.7a1.24 1.24 0 0 0-.735.735"})),r||(r=o.createElement("path",{fill:"#fff",d:"m21.148 35.202 2.813 1.043.007-.018zm-2.296 0-2.82 1.025.007.018zM15.3 25.435l2.82-1.026-.005-.012zm-.735-.735 1.038-2.815-.012-.005zM4.8 21.148l-1.044 2.813.018.007zm0-2.296-1.026-2.82-.018.007zm9.766-3.552 1.026 2.82.012-.005zm.735-.735 2.815 1.038.005-.012zM18.852 4.8l-2.813-1.044-.007.018zM20 4v3zm1.148.799 2.82-1.026-.007-.018zm3.552 9.766-2.82 1.026.005.012zm.735.735-1.038 2.815.012.005zm9.767 3.552 1.043-2.813-.018-.007zm0 2.296 1.025 2.82.018-.007zM25.435 24.7l-1.026-2.82-.012.005zm-3.555-.29-3.551 9.766 5.639 2.05 3.551-9.766zm-3.544 9.747c.126-.34.353-.632.65-.84l3.426 4.927a4.22 4.22 0 0 0 1.549-1.999zm.65-.84A1.78 1.78 0 0 1 20 33v6c.862 0 1.704-.264 2.412-.756zM20 33c.362 0 .716.11 1.014.318l-3.426 4.926c.708.492 1.55.756 2.412.756zm1.014.318c.297.207.524.5.65.84l-5.625 2.087c.3.809.84 1.506 1.549 1.999zm.657.858L18.12 24.41l-5.64 2.05 3.552 9.768zm-3.556-9.779a4.2 4.2 0 0 0-.98-1.532l-4.243 4.243a1.8 1.8 0 0 1-.407-.636zm-.98-1.532a4.2 4.2 0 0 0-1.532-.98l-2.075 5.63a1.8 1.8 0 0 1-.636-.407zm-1.544-.985L5.824 18.33l-2.05 5.639 9.766 3.551zm-9.749-3.544c.34.126.633.353.84.65l-4.926 3.426a4.22 4.22 0 0 0 1.999 1.549zm.84.65C6.89 19.284 7 19.638 7 20H1c0 .862.264 1.704.756 2.412zM7 20c0 .362-.11.716-.318 1.014l-4.926-3.426A4.22 4.22 0 0 0 1 20zm-.318 1.014c-.207.297-.5.524-.84.65L3.755 16.04c-.809.3-1.506.84-1.999 1.549zm-.858.657 9.767-3.551-2.05-5.64-9.768 3.552zm9.779-3.556a4.2 4.2 0 0 0 1.532-.98l-4.243-4.243c.18-.18.397-.319.636-.407zm1.532-.98c.434-.434.768-.957.98-1.532l-5.63-2.075a1.8 1.8 0 0 1 .407-.636zm.985-1.544 3.551-9.767-5.639-2.05-3.551 9.766zm3.544-9.749c-.126.34-.353.633-.65.84l-3.426-4.926a4.22 4.22 0 0 0-1.549 1.999zm-.65.84A1.78 1.78 0 0 1 20 7V1c-.862 0-1.704.264-2.412.756zM20 7c-.362 0-.716-.11-1.014-.318l3.426-4.926A4.22 4.22 0 0 0 20 1zm-1.014-.318a1.78 1.78 0 0 1-.65-.84l5.625-2.087a4.22 4.22 0 0 0-1.549-1.999zm-.657-.858 3.551 9.767 5.64-2.05-3.552-9.768zm3.556 9.779c.212.575.546 1.098.98 1.532l4.243-4.243c.18.18.319.397.407.636zm.98 1.532c.434.434.957.768 1.532.98l2.075-5.63c.239.088.456.227.636.407zm1.544.985 9.767 3.551 2.05-5.639-9.766-3.551zm9.749 3.544a1.78 1.78 0 0 1-.84-.65l4.926-3.426a4.22 4.22 0 0 0-1.999-1.549zm-.84-.65A1.78 1.78 0 0 1 33 20h6c0-.862-.264-1.704-.756-2.412zM33 20c0-.362.11-.716.318-1.014l4.926 3.426c.492-.708.756-1.55.756-2.412zm.318-1.014c.207-.297.5-.524.84-.65l2.087 5.625c.809-.3 1.506-.84 1.999-1.549zm.858-.657L24.41 21.88l2.05 5.64 9.768-3.552zm-9.779 3.556a4.2 4.2 0 0 0-1.532.98l4.243 4.243a1.8 1.8 0 0 1-.636.407zm-1.532.98a4.2 4.2 0 0 0-.98 1.532l5.63 2.075a1.8 1.8 0 0 1-.407.636z",mask:"url(#path-1-outside-1_5853_41067)"})))}},21835:(e,n,t)=>{t.d(n,{A:()=>o});var i,a=t(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},r.apply(null,arguments)}const o=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:64,height:64,fill:"none",viewBox:"0 0 64 64"},e),i||(i=a.createElement("path",{fill:"#FFC017",d:"m39.637 40.831-5.771 15.871a1.99 1.99 0 0 1-3.732 0l-5.771-15.87a2.02 2.02 0 0 0-1.194-1.195L7.298 33.866a1.99 1.99 0 0 1 0-3.732l15.87-5.771a2.02 2.02 0 0 0 1.195-1.194l5.771-15.871a1.99 1.99 0 0 1 3.732 0l5.771 15.87a2.02 2.02 0 0 0 1.194 1.195l15.871 5.771a1.99 1.99 0 0 1 0 3.732l-15.87 5.771a2.02 2.02 0 0 0-1.195 1.194"})))}},46083:(e,n,t)=>{t.d(n,{A:()=>o});var i,a=t(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},r.apply(null,arguments)}const o=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),i||(i=a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 14V2h10v12zM2.75 1a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h10.5a.75.75 0 0 0 .75-.75V1.75a.75.75 0 0 0-.75-.75zM5 10.5a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1zM4.5 9a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m1.25-2.5h4.5a.25.25 0 0 0 .25-.25v-1.5a.25.25 0 0 0-.25-.25h-4.5a.25.25 0 0 0-.25.25v1.5c0 .138.112.25.25.25",clipRule:"evenodd"})))}},83615:(e,n,t)=>{t.d(n,{A:()=>o});var i,a=t(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},r.apply(null,arguments)}const o=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),i||(i=a.createElement("path",{fill:"#242424",d:"M13.346 10.932 18.88 4.5h-1.311l-4.805 5.585L8.926 4.5H4.5l5.803 8.446L4.5 19.69h1.311l5.074-5.898 4.053 5.898h4.426zM11.55 13.02l-.588-.84-4.678-6.693h2.014l3.776 5.4.588.842 4.907 7.02h-2.014z"})))}},38021:(e,n,t)=>{t.d(n,{A:()=>o});var i,a=t(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},r.apply(null,arguments)}const o=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:19,height:19,viewBox:"0 0 19 19"},e),i||(i=a.createElement("path",{fillRule:"evenodd",d:"m13.792 4.6-4.29 4.29-4.29-4.29-.612.613 4.29 4.29-4.29 4.29.613.612 4.29-4.29 4.29 4.29.612-.613-4.29-4.29 4.29-4.29"})))}},73927:(e,n,t)=>{t.d(n,{E:()=>u,W:()=>d});var i=t(64467),a=t(69843),r=t.n(a),o=t(11054);function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function c(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?l(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var s={keyArgs:function(e,n){var t,i=n.field;return u({alias:null==i||null===(t=i.alias)||void 0===t?void 0:t.value,userId:e.userId,pagingOptions:e.pagingOptions,type:e.type,visibility:e.visibility})},merge:(0,o.L)("catalogs",["id"])};function u(e){var n=e.alias,t=e.userId,i=e.pagingOptions,a=e.type,l=e.visibility,c=[];t&&c.push(["userId",t]),r()(a)||c.push(["type",a]),i&&c.push(["limit",i.limit]),r()(l)||c.push(["visibility",l]);var s=(0,o.z)(c),u=n?"@".concat(n):"";return"".concat(s).concat(u)}var d={Query:{fields:{catalogsByUser:{keyArgs:!1,read:function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,i=t.args,a=t.field,r=i,o=r.userId,l=r.type,c=r.pagingOptions,s=r.visibility;return n[u({alias:null==a||null===(e=a.alias)||void 0===e?void 0:e.value,userId:o,type:l,pagingOptions:c,visibility:s})]},merge:function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,r=a.args,l=a.field,s=r,d=s.userId,m=s.type,p=s.pagingOptions,f=s.visibility,g=u({alias:null==l||null===(e=l.alias)||void 0===e?void 0:e.value,userId:d,type:m,pagingOptions:p,visibility:f}),h=(0,o.L)("catalogs",["id"])(n[g],t,a);return c(c({},n),{},(0,i.A)({},g,h))}}}},CatalogItemV2:{keyFields:["catalogItemId"]},Catalog:{fields:{itemsConnection:{keyArgs:function(e,n){var t,i,a=n.field,r=null!==(t=null==a||null===(i=a.alias)||void 0===i?void 0:i.value)&&void 0!==t?t:"";return"".concat(r,"(limit:").concat(e.pagingOptions.limit,")")},merge:(0,o.L)("items",["catalogItemId"])},threadedCatalogResponses:{keyArgs:["paging",["limit"],"sortType"],merge:(0,o.L)("posts",["id"])}}},CatalogClapper:{keyFields:["user",["id"]]},CatalogViewerEdge:{fields:{clappers:{keyArgs:function(e,n){var t,i,a=n.field,r=null!==(t=null==a||null===(i=a.alias)||void 0===i?void 0:i.value)&&void 0!==t?t:"";return"".concat(r,"(limit:").concat(e.pagingOptions.limit,")")},merge:(0,o.L)("clappers",["user","id"])}}},EntityCatalogsConnection:{fields:{catalogs:s}},UserViewerEdge:{fields:{catalogsConnection:s,followingCatalogsConnection:s}}}},11054:(e,n,t)=>{t.d(n,{L:()=>u,z:()=>d});var i=t(80296),a=t(64467),r=t(45458);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function l(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function c(e,n,t){for(var i=(0,r.A)(n),a=e;i.length>0;){var o=i.shift();o&&(a=t(o,a))}return a}function s(e,n){return n?n(e):e}function u(e,n,t){return function(i,o,u){var d=u.readField,m=u.args,p=u.variables,f=null!=i&&i[e]?null==i?void 0:i[e].slice(0):[],g=(null==o?void 0:o[e])||[];if(function(e,n){if(null!=e&&e.pagingOptions){var t=Object.keys(e.pagingOptions);if(1===t.length&&"limit"===t[0])return!0}else if(null===(null==n?void 0:n.cursor))return!0;return!1}(m,p))return o;var h=new Set(f.map((function(e){return s(c(e,n,d),t)})));return g=g.filter((function(e){var i=s(c(e,n,d),t);return!h.has(i)})),f.push.apply(f,(0,r.A)(g)),l(l({},o),{},(0,a.A)({},e,f))}}function d(e){return e.map((function(e){var n=(0,i.A)(e,2),t=n[0],a=n[1];return"".concat(t,":").concat(a)})).join(",")}},60781:(e,n,t)=>{t.d(n,{e:()=>l,i:()=>o});var i=t(58168),a=t(96540);function r(e){var n=e.content,t=e.params,r=(0,e.useLoader)(t);return a.createElement(n,(0,i.A)({},r,{params:t}))}var o=function(e,n){var t=e.useLoader,i=n.content,o=n.params;return a.createElement(r,{content:i,params:o,useLoader:t})},l=function(e){return function(n,t){var i=t.params,o=n[e],l=n.useLoader;if(l)return a.createElement(r,{content:o,params:i,useLoader:l});var c=o;return a.createElement(c,{loading:!1,params:i})}}},45136:(e,n,t)=>{t.d(n,{h:()=>s,u:()=>u});var i=t(80296),a=t(64467),r=t(96540);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}var l={globalSearchOnly:!1,setGlobalSearchOnly:function(){return null}},c=r.createContext(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({},l)),s=function(e){var n=e.children,t=r.useState(l.globalSearchOnly),a=(0,i.A)(t,2),o=a[0],s=a[1],u=r.useMemo((function(){return{globalSearchOnly:o,setGlobalSearchOnly:s}}),[o]);return r.createElement(c.Provider,{value:u},n)},u=function(){return r.useContext(c)}},46225:(e,n,t)=>{t.d(n,{fI:()=>r,g_:()=>i,mW:()=>a});var i=680,a=24,r=function(){return{minWidth:"0",width:"100%",margin:"0 ".concat(a,"px"),maxWidth:{xs:void 0,sm:void 0,md:"".concat(i,"px"),lg:"".concat(i,"px"),xl:"".concat(i,"px")}}}},2556:(e,n,t)=>{t.d(n,{n:()=>we,J:()=>Pe});var i=t(96540),a=t(53259),r=t.n(a),o=t(60781),l=r()({loader:function(){return Promise.all([t.e(4728),t.e(5842),t.e(6882),t.e(5564)]).then(t.bind(t,99984))},modules:["src/app/pages/customize-following/MainContent"],webpack:function(){return[99984]},loading:function(){return null},render:o.i}),c={id:"customize-following",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:{content:r()({loader:function(){return Promise.all([t.e(4728),t.e(5842),t.e(6882),t.e(5564)]).then(t.bind(t,99984))},modules:["src/app/pages/customize-following/MainContent"],webpack:function(){return[99984]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:l},RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5492),t.e(4785),t.e(3857)]).then(t.bind(t,35261))},modules:["src/app/pages/customize-following/RightColumnContent"],webpack:function(){return[35261]},loading:function(){return null},render:(0,o.e)("RightColumnContent")})}}},s=r()({loader:function(){return Promise.all([t.e(4728),t.e(1488)]).then(t.bind(t,28398))},modules:["src/app/pages/customize-muted/MainContent"],webpack:function(){return[28398]},loading:function(){return null},render:o.i}),u={id:"customize-muted",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:{content:r()({loader:function(){return Promise.all([t.e(4728),t.e(1488)]).then(t.bind(t,28398))},modules:["src/app/pages/customize-muted/MainContent"],webpack:function(){return[28398]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:s},RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5492),t.e(4785),t.e(8901)]).then(t.bind(t,70145))},modules:["src/app/pages/customize-muted/RightColumnContent"],webpack:function(){return[70145]},loading:function(){return null},render:(0,o.e)("RightColumnContent")})}}},d=r()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(2921)]).then(t.bind(t,18127))},modules:["src/app/pages/customize-reading-history/MainContent"],webpack:function(){return[18127]},loading:function(){return null},render:o.i}),m={id:"customize-reading-history",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(2921)]).then(t.bind(t,18127))},modules:["src/app/pages/customize-reading-history/MainContent"],webpack:function(){return[18127]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:d},RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5492),t.e(4785),t.e(702)]).then(t.bind(t,77447))},modules:["src/app/pages/customize-reading-history/RightColumnContent"],webpack:function(){return[77447]},loading:function(){return null},render:(0,o.e)("RightColumnContent")})}}},p=r()({loader:function(){return Promise.all([t.e(4728),t.e(5842),t.e(6882),t.e(4782)]).then(t.bind(t,13153))},modules:["src/app/pages/customize-suggestions/MainContent"],webpack:function(){return[13153]},loading:function(){return null},render:o.i}),f={id:"customize-suggestions",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:{content:r()({loader:function(){return Promise.all([t.e(4728),t.e(5842),t.e(6882),t.e(4782)]).then(t.bind(t,13153))},modules:["src/app/pages/customize-suggestions/MainContent"],webpack:function(){return[13153]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:p},RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5492),t.e(4785),t.e(6095)]).then(t.bind(t,57527))},modules:["src/app/pages/customize-suggestions/RightColumnContent"],webpack:function(){return[57527]},loading:function(){return null},render:(0,o.e)("RightColumnContent")})}}},g={id:"global-unsubscribe-newsletters",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:{content:r()({loader:function(){return t.e(802).then(t.bind(t,22608))},modules:["src/app/pages/global-unsubscribe-newsletters/MainContent"],webpack:function(){return[22608]},loading:function(){return null},render:(0,o.e)("MainContent")})},RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(719),t.e(649),t.e(2291)]).then(t.bind(t,50706))},modules:["src/app/pages/global-unsubscribe-newsletters/RightColumnContent"],webpack:function(){return[50706]},loading:function(){return null},render:(0,o.e)("RightColumnContent")})}}},h=t(50754),v=t(44883),k=r()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(8414),t.e(1832),t.e(1386),t.e(9977),t.e(6349),t.e(3735),t.e(4124),t.e(4769),t.e(6546),t.e(3591),t.e(1676),t.e(3346),t.e(3974),t.e(9491),t.e(6576),t.e(1899)]).then(t.bind(t,21414))},modules:["src/app/pages/publication-about/MainContent"],webpack:function(){return[21414]},loading:function(){return null},render:o.i}),S={content:r()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(8414),t.e(1832),t.e(1386),t.e(9977),t.e(6349),t.e(3735),t.e(4124),t.e(4769),t.e(6546),t.e(3591),t.e(1676),t.e(3346),t.e(3974),t.e(9491),t.e(6576),t.e(1899)]).then(t.bind(t,21414))},modules:["src/app/pages/publication-about/MainContent"],webpack:function(){return[21414]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:k},b=r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(5492),t.e(4124),t.e(2278),t.e(4769),t.e(3591),t.e(3346),t.e(4350),t.e(2068)]).then(t.bind(t,88673))},modules:["src/app/pages/publication-about/RightColumnContent"],webpack:function(){return[88673]},loading:function(){return null},render:o.i}),E={id:"publication-about",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:S,RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(5492),t.e(4124),t.e(2278),t.e(4769),t.e(3591),t.e(3346),t.e(4350),t.e(2068)]).then(t.bind(t,88673))},modules:["src/app/pages/publication-about/RightColumnContent"],webpack:function(){return[88673]},loading:function(){return null},render:(0,o.e)("RightColumnContent")}),loader:b}}},y=r()({loader:function(){return Promise.all([t.e(4728),t.e(5842),t.e(6882),t.e(5199),t.e(3713)]).then(t.bind(t,88153))},modules:["src/app/pages/publication-followers/MainContent"],webpack:function(){return[88153]},loading:function(){return null},render:o.i}),N={content:r()({loader:function(){return Promise.all([t.e(4728),t.e(5842),t.e(6882),t.e(5199),t.e(3713)]).then(t.bind(t,88153))},modules:["src/app/pages/publication-followers/MainContent"],webpack:function(){return[88153]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:y},w=r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(5492),t.e(4124),t.e(2278),t.e(4769),t.e(3591),t.e(3346),t.e(5542)]).then(t.bind(t,76788))},modules:["src/app/pages/publication-followers/RightColumnContent"],webpack:function(){return[76788]},loading:function(){return null},render:o.i}),P={id:"publication-followers",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:N,RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(5492),t.e(4124),t.e(2278),t.e(4769),t.e(3591),t.e(3346),t.e(5542)]).then(t.bind(t,76788))},modules:["src/app/pages/publication-followers/RightColumnContent"],webpack:function(){return[76788]},loading:function(){return null},render:(0,o.e)("RightColumnContent")}),loader:w}}},O=t(14593),T=r()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(5642),t.e(4124),t.e(1676),t.e(3798)]).then(t.bind(t,8873))},modules:["src/app/pages/publication-tagged/MainContent"],webpack:function(){return[8873]},loading:function(){return null},render:o.i}),C={content:r()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(5642),t.e(4124),t.e(1676),t.e(3798)]).then(t.bind(t,8873))},modules:["src/app/pages/publication-tagged/MainContent"],webpack:function(){return[8873]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:T},A=r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(5492),t.e(4124),t.e(2278),t.e(4769),t.e(3591),t.e(3346),t.e(4350),t.e(8199)]).then(t.bind(t,14205))},modules:["src/app/pages/publication-tagged/RightColumnContent"],webpack:function(){return[14205]},loading:function(){return null},render:o.i}),_={id:"publication-tagged",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:C,RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(5492),t.e(4124),t.e(2278),t.e(4769),t.e(3591),t.e(3346),t.e(4350),t.e(8199)]).then(t.bind(t,14205))},modules:["src/app/pages/publication-tagged/RightColumnContent"],webpack:function(){return[14205]},loading:function(){return null},render:(0,o.e)("RightColumnContent")}),loader:A}}},I=r()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(6834),t.e(5002)]).then(t.bind(t,61341))},modules:["src/app/pages/search/MainContent"],webpack:function(){return[61341]},loading:function(){return null},render:o.i}),R={content:r()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(6834),t.e(5002)]).then(t.bind(t,61341))},modules:["src/app/pages/search/MainContent"],webpack:function(){return[61341]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:I},F=r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(719),t.e(5492),t.e(649),t.e(1652),t.e(5115)]).then(t.bind(t,49764))},modules:["src/app/pages/search/RightColumnContent"],webpack:function(){return[49764]},loading:function(){return null},render:o.i}),L={id:"search",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:R,RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(719),t.e(5492),t.e(649),t.e(1652),t.e(5115)]).then(t.bind(t,49764))},modules:["src/app/pages/search/RightColumnContent"],webpack:function(){return[49764]},loading:function(){return null},render:(0,o.e)("RightColumnContent")}),loader:F}}},M={content:r()({loader:function(){return Promise.all([t.e(4124),t.e(709)]).then(t.bind(t,10898))},modules:["src/app/pages/settings/MainContent"],webpack:function(){return[10898]},loading:function(){return null},render:(0,o.e)("MainContent")})},D=r()({loader:function(){return t.e(5866).then(t.bind(t,37119))},modules:["src/app/pages/settings/RightColumnContent"],webpack:function(){return[37119]},loading:function(){return null},render:o.i}),x={id:"settings",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:M,RightColumnModule:{content:r()({loader:function(){return t.e(5866).then(t.bind(t,37119))},modules:["src/app/pages/settings/RightColumnContent"],webpack:function(){return[37119]},loading:function(){return null},render:(0,o.e)("RightColumnContent")}),loader:D}}},U=r()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(8414),t.e(1386),t.e(9977),t.e(6349),t.e(3735),t.e(4124),t.e(4769),t.e(6546),t.e(3591),t.e(1676),t.e(3346),t.e(3974),t.e(3561),t.e(9491),t.e(6576),t.e(8748)]).then(t.bind(t,67961))},modules:["src/app/pages/user-about/MainContent"],webpack:function(){return[67961]},loading:function(){return null},render:o.i}),B={content:r()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(8414),t.e(1386),t.e(9977),t.e(6349),t.e(3735),t.e(4124),t.e(4769),t.e(6546),t.e(3591),t.e(1676),t.e(3346),t.e(3974),t.e(3561),t.e(9491),t.e(6576),t.e(8748)]).then(t.bind(t,67961))},modules:["src/app/pages/user-about/MainContent"],webpack:function(){return[67961]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:U},j=r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(9201)]).then(t.bind(t,36523))},modules:["src/app/pages/user-about/RightColumnContent"],webpack:function(){return[36523]},loading:function(){return null},render:o.i}),V={id:"user-about",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:B,RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(9201)]).then(t.bind(t,36523))},modules:["src/app/pages/user-about/RightColumnContent"],webpack:function(){return[36523]},loading:function(){return null},render:(0,o.e)("RightColumnContent")}),loader:j}}},H=r()({loader:function(){return Promise.all([t.e(1386),t.e(6349),t.e(3735),t.e(4124),t.e(1676),t.e(3561),t.e(7929)]).then(t.bind(t,14405))},modules:["src/app/pages/user-books/MainContent"],webpack:function(){return[14405]},loading:function(){return null},render:o.i}),G={content:r()({loader:function(){return Promise.all([t.e(1386),t.e(6349),t.e(3735),t.e(4124),t.e(1676),t.e(3561),t.e(7929)]).then(t.bind(t,14405))},modules:["src/app/pages/user-books/MainContent"],webpack:function(){return[14405]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:H},W=r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(8830)]).then(t.bind(t,80301))},modules:["src/app/pages/user-books/RightColumnContent"],webpack:function(){return[80301]},loading:function(){return null},render:o.i}),z={id:"user-books",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:G,RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(8830)]).then(t.bind(t,80301))},modules:["src/app/pages/user-books/RightColumnContent"],webpack:function(){return[80301]},loading:function(){return null},render:(0,o.e)("RightColumnContent")}),loader:W}}},Y=r()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(6834),t.e(839),t.e(230),t.e(7314)]).then(t.bind(t,86517))},modules:["src/app/pages/user-catalog/MainContent"],webpack:function(){return[86517]},loading:function(){return null},render:o.i}),q={content:r()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(6834),t.e(839),t.e(230),t.e(7314)]).then(t.bind(t,86517))},modules:["src/app/pages/user-catalog/MainContent"],webpack:function(){return[86517]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:Y},K=r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(5139)]).then(t.bind(t,72388))},modules:["src/app/pages/user-catalog/RightColumnContent"],webpack:function(){return[72388]},loading:function(){return null},render:o.i}),Q={id:"user-catalog",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:q,RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(5139)]).then(t.bind(t,72388))},modules:["src/app/pages/user-catalog/RightColumnContent"],webpack:function(){return[72388]},loading:function(){return null},render:(0,o.e)("RightColumnContent")}),loader:K}}},X={content:r()({loader:function(){return Promise.all([t.e(1386),t.e(5250),t.e(6349),t.e(3735),t.e(4124),t.e(6834),t.e(1676),t.e(3561),t.e(7880),t.e(4715)]).then(t.bind(t,22577))},modules:["src/app/pages/user-catalogs/MainContent"],webpack:function(){return[22577]},loading:function(){return null},render:(0,o.e)("MainContent")})},Z=r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(2884)]).then(t.bind(t,36826))},modules:["src/app/pages/user-catalogs/RightColumnContent"],webpack:function(){return[36826]},loading:function(){return null},render:o.i}),$={id:"user-catalogs",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:X,RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(2884)]).then(t.bind(t,36826))},modules:["src/app/pages/user-catalogs/RightColumnContent"],webpack:function(){return[36826]},loading:function(){return null},render:(0,o.e)("RightColumnContent")}),loader:Z}}},J=r()({loader:function(){return Promise.all([t.e(4728),t.e(5842),t.e(6882),t.e(5199),t.e(8502)]).then(t.bind(t,93424))},modules:["src/app/pages/user-followers/MainContent"],webpack:function(){return[93424]},loading:function(){return null},render:o.i}),ee={content:r()({loader:function(){return Promise.all([t.e(4728),t.e(5842),t.e(6882),t.e(5199),t.e(8502)]).then(t.bind(t,93424))},modules:["src/app/pages/user-followers/MainContent"],webpack:function(){return[93424]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:J},ne=r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(7575)]).then(t.bind(t,72330))},modules:["src/app/pages/user-followers/RightColumnContent"],webpack:function(){return[72330]},loading:function(){return null},render:o.i}),te={id:"user-followers",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:ee,RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(7575)]).then(t.bind(t,72330))},modules:["src/app/pages/user-followers/RightColumnContent"],webpack:function(){return[72330]},loading:function(){return null},render:(0,o.e)("RightColumnContent")}),loader:ne}}},ie=r()({loader:function(){return Promise.all([t.e(4728),t.e(5842),t.e(6882),t.e(5199),t.e(8250)]).then(t.bind(t,62987))},modules:["src/app/pages/user-following/MainContent"],webpack:function(){return[62987]},loading:function(){return null},render:o.i}),ae={content:r()({loader:function(){return Promise.all([t.e(4728),t.e(5842),t.e(6882),t.e(5199),t.e(8250)]).then(t.bind(t,62987))},modules:["src/app/pages/user-following/MainContent"],webpack:function(){return[62987]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:ie},re=r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(2795)]).then(t.bind(t,70098))},modules:["src/app/pages/user-following/RightColumnContent"],webpack:function(){return[70098]},loading:function(){return null},render:o.i}),oe={id:"user-following",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:ae,RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(2795)]).then(t.bind(t,70098))},modules:["src/app/pages/user-following/RightColumnContent"],webpack:function(){return[70098]},loading:function(){return null},render:(0,o.e)("RightColumnContent")}),loader:re}}},le=t(594),ce={id:"your-catalog",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(7057),t.e(1386),t.e(9977),t.e(5250),t.e(2648),t.e(8393),t.e(3735),t.e(6546),t.e(6834),t.e(2420),t.e(839),t.e(7975),t.e(2106),t.e(2961),t.e(1915),t.e(2919),t.e(3994)]).then(t.bind(t,17679))},modules:["src/app/pages/your-catalog/MainContent"],webpack:function(){return[17679]},loading:function(){return null},render:(0,o.e)("MainContent")})},RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(719),t.e(5492),t.e(649),t.e(1652),t.e(4907)]).then(t.bind(t,54445))},modules:["src/app/pages/your-catalog/RightColumnContent"],webpack:function(){return[54445]},loading:function(){return null},render:(0,o.e)("RightColumnContent")})}}},se=t(94317),ue=r()({loader:function(){return Promise.all([t.e(5250),t.e(6834),t.e(1311)]).then(t.bind(t,41655))},modules:["src/app/pages/your-followed-catalogs/MainContent"],webpack:function(){return[41655]},loading:function(){return null},render:o.i}),de={id:"your-followed-catalogs",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:{content:r()({loader:function(){return Promise.all([t.e(5250),t.e(6834),t.e(1311)]).then(t.bind(t,41655))},modules:["src/app/pages/your-followed-catalogs/MainContent"],webpack:function(){return[41655]},loading:function(){return null},render:(0,o.e)("MainContent")}),loader:ue},RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(719),t.e(5492),t.e(649),t.e(1652),t.e(8760)]).then(t.bind(t,10581))},modules:["src/app/pages/your-followed-catalogs/RightColumnContent"],webpack:function(){return[10581]},loading:function(){return null},render:(0,o.e)("RightColumnContent")})}}},me={id:"your-reading-history",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(7483)]).then(t.bind(t,95026))},modules:["src/app/pages/your-reading-history/MainContent"],webpack:function(){return[95026]},loading:function(){return null},render:(0,o.e)("MainContent")})},RightColumnModule:{content:r()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(719),t.e(5492),t.e(649),t.e(1652),t.e(1620)]).then(t.bind(t,43411))},modules:["src/app/pages/your-reading-history/RightColumnContent"],webpack:function(){return[43411]},loading:function(){return null},render:(0,o.e)("RightColumnContent")})}}},pe=t(88878),fe=t(11245),ge=t(5863),he=t(11891),ve=t(64074),ke=t(52290),Se=t(12378),be=t(49287),Ee=t(45136),ye=t(35554),Ne=t(69261),we=function(e){var n=e.children,t=(0,Se.c)(ye.f+Ne.f+240);return i.createElement(ke.a,{maxWidth:t,margin:"auto"},i.createElement(ke.a,{display:"flex",justifyContent:"space-evenly",flexDirection:"row"},n))},Pe=i.memo((function(e){var n,t=e.pageName,a=e.params;switch(t){case"publication-about":n=E;break;case"publication-followers":n=P;break;case"publication-profile":n=O.PublicationProfilePage;break;case"publication-tagged":n=_;break;case"home":n=h.HomePage;break;case"notifications":n=v.NotificationsPage;break;case"user-followers":n=te;break;case"user-following":n=oe;break;case"user-profile":n=le.UserProfilePage;break;case"search":n=L;break;case"your-stories":n=pe.YourStoriesPage;break;case"customize-following":n=c;break;case"customize-reading-history":n=m;break;case"customize-muted":n=u;break;case"customize-suggestions":n=f;break;case"settings":n=x;break;case"user-about":n=V;break;case"user-books":n=z;break;case"user-catalogs":n=$;break;case"user-catalog":n=Q;break;case"your-catalogs":n=se.YourCatalogsPage;break;case"your-catalog":n=ce;break;case"your-followed-catalogs":n=de;break;case"your-reading-history":n=me;break;case"global-unsubscribe-newsletters":n=g;break;default:throw new Error("Expected ".concat(t," page to exist."))}var r,o=n.modules,l=o.MainModule.content,s=o.RightColumnModule.content;return r="search"===t?Ee.h:i.Fragment,i.createElement(fe.n,null,i.createElement(ge.m,null,i.createElement(ke.a,{backgroundColor:"BACKGROUND"},i.createElement(be.Ne,{source:{dimension:"two_column_layout_nav"}},i.createElement(he.b,null)),i.createElement(be.Ne,{source:{dimension:"two_column_layout_upsell"}},i.createElement(ve.w,null)),i.createElement(we,null,i.createElement(r,null,i.createElement(ye.S,null,i.createElement(l,{params:a})),i.createElement(Ne.$,null,i.createElement(be.Ne,{source:{dimension:"two_column_layout_sidebar"}},i.createElement(s,{params:a}))))))))}))},35554:(e,n,t)=>{t.d(n,{S:()=>c,f:()=>l});var i=t(96540),a=t(46225),r=t(52290),o=t(12378),l=a.g_+2*a.mW,c=function(e){var n=e.children;return i.createElement(r.a,{flexGrow:"1",flexShrink:"1",minWidth:{xl:(0,o.c)(l),lg:"0",md:"0",sm:"0",xs:"0"},maxWidth:{xl:(0,o.c)(l),lg:void 0,md:void 0,sm:void 0,xs:void 0},tag:"main"},n)}},69261:(e,n,t)=>{t.d(n,{$:()=>f,f:()=>d});var i=t(96540),a=t(52290),r=t(27049),o=t(12378),l=t(44402),c=t(46963),s=(0,o.c)(24),u=(0,o.c)(352),d=368,m={xs:u,sm:u,md:u,lg:u,xl:(0,o.c)(d)},p=function(e){return{paddingRight:s,paddingLeft:{xs:s,sm:s,md:s,lg:s,xl:"clamp(".concat(24,"px, ").concat(24,"px + 100vw - ").concat(e.breakpoints.xl,"px, ").concat(40,"px)")},boxSizing:"border-box",backgroundColor:e.backgroundColor,borderLeft:"".concat(1,"px solid ").concat(e.colorTokens.border.neutral.primary.base),display:{xs:"none",sm:"none",md:"none",lg:"block",xl:"block"},minHeight:"100vh",minWidth:m,maxWidth:m}},f=function(e){var n=e.children,t=(0,l.l)(),o=(0,c.U)();return o===r.i.xs||o===r.i.sm||o===r.i.md?null:i.createElement("div",{className:t(p)},i.createElement(a.a,{position:"relative",width:"100%",height:"100%",display:"inline-block"},n))}},15295:(e,n,t)=>{t.d(n,{B:()=>v,l:()=>k});var i=t(45458),a=t(64800),r=t(3545),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationProfileHeader_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionFollowButton_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"HeaderUserMenu_collection"}}]}}].concat((0,i.A)(r.f.definitions),(0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"HeaderUserMenu_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"domain"}},{kind:"Field",name:{kind:"Name",value:"newsletterV3"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"slug"}}]}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isEditor"}},{kind:"Field",name:{kind:"Name",value:"isMuting"}}]}}]}}]))},l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationProfileHeader_publication"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publication"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"avatar"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationHeader_imageMetadata"}}]}},{kind:"Field",name:{kind:"Name",value:"homepage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"header"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"size"}},{kind:"Field",name:{kind:"Name",value:"color"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rgb"}}]}},{kind:"Field",name:{kind:"Name",value:"backgroundImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationHeader_imageMetadata"}}]}}]}}]}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationHeader_imageMetadata"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ImageMetadata"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"alt"}},{kind:"Field",name:{kind:"Name",value:"focusPercentX"}},{kind:"Field",name:{kind:"Name",value:"focusPercentY"}},{kind:"Field",name:{kind:"Name",value:"originalWidth"}},{kind:"Field",name:{kind:"Name",value:"originalHeight"}}]}}]))},c=t(30898),s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationProfileAbout_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublisherFollowersCount_publisher"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionFollowButton_collection"}}]}}].concat((0,i.A)(c.c.definitions),(0,i.A)(r.f.definitions))},u=t(72457),d=t(54696),m=t(64623),p={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationProfileNewsletter_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEditor"}}]}},{kind:"Field",name:{kind:"Name",value:"newsletterV3"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"showPromo"}},{kind:"FragmentSpread",name:{kind:"Name",value:"NewsletterV3PublicationSubscribe_newsletterV3"}}]}}]}}].concat((0,i.A)(m._.definitions))},f={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationProfileContent_publication"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publication"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationProfileHeader_publication"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationProfileNavBar_publication"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationProfileAbout_publication"}},{kind:"Field",name:{kind:"Name",value:"homepage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"sections"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationSections_publicationSection"}}]}}]}}]}}].concat((0,i.A)(l.definitions),(0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationProfileNavBar_publication"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publication"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"navigationItems"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"value"}},{kind:"Field",name:{kind:"Name",value:"destination"}}]}}]}}]),(0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationProfileAbout_publication"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publication"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"homepage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}},{kind:"Field",name:{kind:"Name",value:"avatar"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]),(0,i.A)(u.lz.definitions))},g={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationProfileContent_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"usePublicationAnalytics_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationProfileHeader_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationProfileAbout_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationProfileNewsletter_collection"}}]}}].concat((0,i.A)(d.p.definitions),(0,i.A)(o.definitions),(0,i.A)(s.definitions),(0,i.A)(p.definitions))},h=t(80604),v={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PublicationProfileMainCollectionQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainOrSlug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"collection"},name:{kind:"Name",value:"collectionByDomainOrSlug"},arguments:[{kind:"Argument",name:{kind:"Name",value:"domainOrSlug"},value:{kind:"Variable",name:{kind:"Name",value:"domainOrSlug"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationCanonicalizer_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationProfileContent_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionMetadata_collection"}}]}}]}}]}}].concat((0,i.A)(a.m.definitions),(0,i.A)(g.definitions),(0,i.A)(h.D.definitions))},k={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PublicationProfileMainPublicationQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publication"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publication"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationProfileContent_publication"}}]}}]}}]}}].concat((0,i.A)(f.definitions))}},52254:(e,n,t)=>{t.d(n,{dl:()=>r,nI:()=>o,tY:()=>a});var i=t(20026),a=100,r=function(e){var n=e.amount,t=e.currency,a=e.excludeCurrencySign,r=void 0!==a&&a,o=e.isLongFormat,l=void 0!==o&&o,c=e.isAmountInDollars,s=void 0!==c&&c?n:n/100;return r?(0,i.GR)(s,t,l):(0,i.vv)({amount:s,currency:t,floatingDigits:[0,2],isLongFormat:l})},o=function(e){var n=e.membershipPrice,t=e.isLongFormat,i=void 0!==t&&t,a=e.isNegativeFormat,o=void 0!==a&&a,l=n.amount,c=n.crossoutAmount,s=0;return c&&(s=c-l),0!==(s=o?-s:s)?r({amount:s,currency:n.currency,isLongFormat:i}):void 0}},50754:(e,n,t)=>{t.r(n),t.d(n,{HomePage:()=>l});var i=t(53259),a=t.n(i),r=t(60781),o=a()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(2883)]).then(t.bind(t,1155))},modules:["src/app/pages/home/MainContent"],webpack:function(){return[1155]},loading:function(){return null},render:r.i}),l={id:"home",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:{content:a()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(2883)]).then(t.bind(t,1155))},modules:["src/app/pages/home/MainContent"],webpack:function(){return[1155]},loading:function(){return null},render:(0,r.e)("MainContent")}),loader:o},RightColumnModule:{content:a()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(719),t.e(5492),t.e(649),t.e(1652),t.e(6812)]).then(t.bind(t,83))},modules:["src/app/pages/home/RightColumnContent"],webpack:function(){return[83]},loading:function(){return null},render:(0,r.e)("RightColumnContent")})}}}},44883:(e,n,t)=>{t.r(n),t.d(n,{NotificationsPage:()=>l});var i=t(53259),a=t.n(i),r=t(60781),o=a()({loader:function(){return Promise.all([t.e(6260),t.e(720)]).then(t.bind(t,99429))},modules:["src/app/pages/notifications/MainContent"],webpack:function(){return[99429]},loading:function(){return null},render:r.i}),l={id:"notifications",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:{content:a()({loader:function(){return Promise.all([t.e(6260),t.e(720)]).then(t.bind(t,99429))},modules:["src/app/pages/notifications/MainContent"],webpack:function(){return[99429]},loading:function(){return null},render:(0,r.e)("MainContent")}),loader:o},RightColumnModule:{content:a()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(719),t.e(5492),t.e(649),t.e(1652),t.e(8005)]).then(t.bind(t,33496))},modules:["src/app/pages/notifications/RightColumnContent"],webpack:function(){return[33496]},loading:function(){return null},render:(0,r.e)("RightColumnContent")})}}}},90696:(e,n,t)=>{t.r(n),t.d(n,{PostPage:()=>l});var i=t(53259),a=t.n(i),r=t(60781),o=a()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(6618),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(5642),t.e(6546),t.e(6834),t.e(1781),t.e(2420),t.e(839),t.e(7975),t.e(2106),t.e(7394),t.e(2961),t.e(230),t.e(4391),t.e(5304)]).then(t.bind(t,41679))},modules:["src/app/pages/post/MainContent"],webpack:function(){return[41679]},loading:function(){return null},render:r.i}),l={id:"post",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:a()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(6618),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(5642),t.e(6546),t.e(6834),t.e(1781),t.e(2420),t.e(839),t.e(7975),t.e(2106),t.e(7394),t.e(2961),t.e(230),t.e(4391),t.e(5304)]).then(t.bind(t,41679))},modules:["src/app/pages/post/MainContent"],webpack:function(){return[41679]},loading:function(){return null},render:(0,r.e)("MainContent")}),loader:o}}}},90016:(e,n,t)=>{t.d(n,{G:()=>r});var i=t(45458),a=t(64800),r={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PublicationProfileQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainOrSlug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"collection"},name:{kind:"Name",value:"collectionByDomainOrSlug"},arguments:[{kind:"Argument",name:{kind:"Name",value:"domainOrSlug"},value:{kind:"Variable",name:{kind:"Name",value:"domainOrSlug"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationCanonicalizer_collection"}}]}}]}}]}}].concat((0,i.A)(a.m.definitions))}},14593:(e,n,t)=>{t.r(n),t.d(n,{PublicationProfilePage:()=>s});var i=t(53259),a=t.n(i),r=t(60781),o=a()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(5642),t.e(4124),t.e(4769),t.e(3591),t.e(1676),t.e(6858),t.e(6594),t.e(6827)]).then(t.bind(t,1810))},modules:["src/app/pages/publication-profile/MainContent"],webpack:function(){return[1810]},loading:function(){return null},render:r.i}),l={content:a()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(5642),t.e(4124),t.e(4769),t.e(3591),t.e(1676),t.e(6858),t.e(6594),t.e(6827)]).then(t.bind(t,1810))},modules:["src/app/pages/publication-profile/MainContent"],webpack:function(){return[1810]},loading:function(){return null},render:(0,r.e)("MainContent")}),loader:o},c=a()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(5492),t.e(4124),t.e(2278),t.e(4769),t.e(3591),t.e(3346),t.e(4350),t.e(5012)]).then(t.bind(t,83114))},modules:["src/app/pages/publication-profile/RightColumnContent"],webpack:function(){return[83114]},loading:function(){return null},render:r.i}),s={id:"publication-profile",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:l,RightColumnModule:{content:a()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(5492),t.e(4124),t.e(2278),t.e(4769),t.e(3591),t.e(3346),t.e(4350),t.e(5012)]).then(t.bind(t,83114))},modules:["src/app/pages/publication-profile/RightColumnContent"],webpack:function(){return[83114]},loading:function(){return null},render:(0,r.e)("RightColumnContent")}),loader:c}}}},65464:(e,n,t)=>{t.d(n,{a:()=>r,u:()=>o});var i=t(72346),a=t(4334);function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"LLLL d, yyyy";return(0,a.u)(e,n)}function o(e){return(0,i.A)(new Date(e,1),"yyyy")}},18496:(e,n,t)=>{t.d(n,{J:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"getPaymentMethodInfo_membershipStatus"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MembershipStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasCreditCardExpired"}},{kind:"Field",name:{kind:"Name",value:"paymentMethod"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditCard"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cardType"}},{kind:"Field",name:{kind:"Name",value:"expirationMonth"}},{kind:"Field",name:{kind:"Name",value:"expirationYear"}},{kind:"Field",name:{kind:"Name",value:"lastFour"}}]}}]}}]}}]}},16221:(e,n,t)=>{var i;t.d(n,{m:()=>r,K:()=>o}),function(e){e.UNKNOWN="Unknow",e.VISA="Visa",e.MASTERCARD="Mastercard",e.AMEX="Amex",e.JCB="JCB",e.DISCOVER="Discover",e.DINERS_CLUB="Diners club",e.CARTE_BLANCHE="Carte Blanche",e.CHINA_UNIONPAY="China Unionpay",e.ELO="Elo",e.LASER="Laser",e.UK_MAESTRO="UK Maestro",e.MAESTRO="Maestro",e.SOLO="Solo",e.SWITCH="Switch"}(i||(i={}));var a=t(65464),r=function(e){var n=e.lastFour,t=e.expirationMonth,r=e.expirationYear,o=e.cardType,l=e.hasExpired,c=o?i[o]:"";return"".concat(c?"".concat(c," ending in"):"Ending in"," ").concat(n," (").concat(l?"Expired":"Expires"," ").concat(t,"/").concat((0,a.u)(r),")")};function o(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Paid via ",t=null==e?void 0:e.paymentMethod;switch(null==t?void 0:t.__typename){case"CreditCard":return r({lastFour:t.lastFour,expirationMonth:t.expirationMonth,expirationYear:t.expirationYear,cardType:t.cardType,hasExpired:null==e?void 0:e.hasCreditCardExpired});case"ApplePayCard":return"".concat(n,"Apple pay");case"GooglePayCard":return"".concat(n,"Google pay");case"PaypalAccount":return"".concat(n,"PayPal");default:return""}}},594:(e,n,t)=>{t.r(n),t.d(n,{UserProfilePage:()=>s});var i=t(53259),a=t.n(i),r=t(60781),o=a()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(5642),t.e(4124),t.e(4769),t.e(3591),t.e(6834),t.e(1676),t.e(3561),t.e(7880),t.e(6594),t.e(5008)]).then(t.bind(t,61356))},modules:["src/app/pages/user-profile/MainContent"],webpack:function(){return[61356]},loading:function(){return null},render:r.i}),l={content:a()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(5642),t.e(4124),t.e(4769),t.e(3591),t.e(6834),t.e(1676),t.e(3561),t.e(7880),t.e(6594),t.e(5008)]).then(t.bind(t,61356))},modules:["src/app/pages/user-profile/MainContent"],webpack:function(){return[61356]},loading:function(){return null},render:(0,r.e)("MainContent")}),loader:o},c=a()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(21)]).then(t.bind(t,18841))},modules:["src/app/pages/user-profile/RightColumnContent"],webpack:function(){return[18841]},loading:function(){return null},render:r.i}),s={id:"user-profile",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:l,RightColumnModule:{content:a()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(3735),t.e(2278),t.e(1781),t.e(408),t.e(21)]).then(t.bind(t,18841))},modules:["src/app/pages/user-profile/RightColumnContent"],webpack:function(){return[18841]},loading:function(){return null},render:(0,r.e)("RightColumnContent")}),loader:c}}}},94317:(e,n,t)=>{t.r(n),t.d(n,{YourCatalogsPage:()=>l});var i=t(53259),a=t.n(i),r=t(60781),o=a()({loader:function(){return Promise.all([t.e(2621),t.e(5250),t.e(2648),t.e(6834),t.e(1331)]).then(t.bind(t,75965))},modules:["src/app/pages/your-catalogs/MainContent"],webpack:function(){return[75965]},loading:function(){return null},render:r.i}),l={id:"your-catalogs",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:{content:a()({loader:function(){return Promise.all([t.e(2621),t.e(5250),t.e(2648),t.e(6834),t.e(1331)]).then(t.bind(t,75965))},modules:["src/app/pages/your-catalogs/MainContent"],webpack:function(){return[75965]},loading:function(){return null},render:(0,r.e)("MainContent")}),loader:o},RightColumnModule:{content:a()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(719),t.e(5492),t.e(649),t.e(1652),t.e(2748)]).then(t.bind(t,93822))},modules:["src/app/pages/your-catalogs/RightColumnContent"],webpack:function(){return[93822]},loading:function(){return null},render:(0,r.e)("RightColumnContent")})}}}},88878:(e,n,t)=>{t.r(n),t.d(n,{YourStoriesPage:()=>l});var i=t(53259),a=t.n(i),r=t(60781),o=a()({loader:function(){return Promise.all([t.e(4284),t.e(4216)]).then(t.bind(t,18999))},modules:["src/app/pages/your-stories/MainContent"],webpack:function(){return[18999]},loading:function(){return null},render:r.i}),l={id:"your-stories",layoutConfig:{name:"TwoColumnLayout"},modules:{MainModule:{content:a()({loader:function(){return Promise.all([t.e(4284),t.e(4216)]).then(t.bind(t,18999))},modules:["src/app/pages/your-stories/MainContent"],webpack:function(){return[18999]},loading:function(){return null},render:(0,r.e)("MainContent")}),loader:o},RightColumnModule:{content:a()({loader:function(){return Promise.all([t.e(5049),t.e(1386),t.e(9977),t.e(719),t.e(5492),t.e(649),t.e(1652),t.e(3645)]).then(t.bind(t,47671))},modules:["src/app/pages/your-stories/RightColumnContent"],webpack:function(){return[47671]},loading:function(){return null},render:(0,r.e)("RightColumnContent")})}}}},10517:(e,n,t)=>{t.d(n,{a:()=>u,j:()=>d});var i=t(96540),a=t(80545),r=t(55695),o=t(39160),l=t(31372);function c(){var e=(0,l.L)().timer,n=function n(t){var i=t.resource,a=t.callback,r=t.max,o=t.ms,l=t.tries;if(l<r)try{a(i())}catch(t){e((function(){return n({resource:i,callback:a,max:r,ms:2*o,tries:l+1})}),o)}};return function(e){var t=e.resource,i=e.callback,a=e.max,r=e.ms;return n({resource:t,callback:i,max:a||Number.POSITIVE_INFINITY,ms:r||1,tries:0})}}var s=function(){return null},u=function(){var e=(0,o.d4)((function(e){return e.config.googleAnalyticsCode}));return(0,o.d4)((function(e){return e.client.viewerIsBot}))?null:i.createElement(r.Q,{name:"dont_track_user",placeholder:s},(function(n){return n?null:i.createElement(a.mg,null,i.createElement("script",{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(e)}),i.createElement("script",null,"window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '".concat(e,"');")))}))},d=function(e){var n=e.ids,t=c(),a=(0,o.d4)((function(e){return e.client.viewerIsBot}));i.useEffect((function(){!a&&n&&t({resource:function(){return window.ga},callback:function(){return n.forEach((function(e,n){var t="tracker".concat(n);ga("create",e,"auto",t),ga("".concat(t,".send"),"pageview")}))},max:10})}),[null==n?void 0:n.join(","),a])}},78723:(e,n,t)=>{t.d(n,{H:()=>p,L:()=>u});var i=t(80296),a=t(96540),r=t(75636),o=t(27721),l=t(39160),c=t(66973),s=(0,a.createContext)(void 0),u=function(){return(0,a.useContext)(s)},d=new c.A("sprig-attributes"),m=function(e){var n=e.children,t=(0,a.useState)(),c=(0,i.A)(t,2),u=c[0],m=c[1],p=(0,l.d4)((function(e){return e.client.viewerIsBot})),f=(0,r.z)({name:"enable_sprig",placeholder:!1}),g=(0,o.R)(),h=g.loading,v=g.value,k=(0,l.d4)((function(e){return"production"===e.config.target})),S=(0,a.useCallback)((function(e,n){return d.set(e,n)}),[]),b=(0,a.useCallback)((function(){var e=d.getItems();d.clean(),null==u||u.setAttributes(e)}),[u]),E=(0,a.useCallback)((function(){b();for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];null==u||u.track.apply(u,n)}),[u]),y=(0,a.useCallback)((function(){null==u||u.logoutUser()}),[u]);return(0,a.useEffect)((function(){var e;if(!p&&!h&&v&&f&&!window.Sprig){var n;window.Sprig=function(){n._queue.push(arguments)},(n=window.Sprig).appId=k?"WISfSM8eD3":"n1KwQ44F4",n._queue=[],window.UserLeap=n;var t=document.createElement("script");t.async=!0,t.src="https://cdn.sprig.com/shim.js?id=".concat(n.appId);var i=document.getElementsByTagName("script")[0];null===(e=i.parentNode)||void 0===e||e.insertBefore(t,i),window.Sprig("setUserId",v.id),window.Sprig("addListener","sdk.ready",(function(){m((function(){return window.Sprig}))}))}}),[p,h,v,f,window.Sprig]),a.createElement(s.Provider,{value:u?{setLocalAttribute:S,flushLocalAttributes:b,fireEvent:E,logoutUser:y}:void 0},n)},p=(0,a.memo)(m)},88609:(e,n,t)=>{t.d(n,{K:()=>k});var i,a,r=t(96540),o=t(12378),l=t(44402);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},c.apply(null,arguments)}const s=function(e){return r.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:64,height:64,fill:"none",viewBox:"0 0 64 64"},e),i||(i=r.createElement("path",{fill:"#fff",d:"M60 32c0 2.6-1.875 4.575-3.525 6.3-.95.975-1.925 2-2.3 2.875s-.35 2.175-.375 3.5c-.025 2.425-.075 5.2-2 7.125s-4.7 1.975-7.125 2c-1.325.025-2.675.05-3.5.375s-1.9 1.35-2.875 2.3C36.575 58.125 34.6 60 32 60s-4.575-1.875-6.3-3.525c-.975-.95-2-1.925-2.875-2.3s-2.175-.35-3.5-.375c-2.425-.025-5.2-.075-7.125-2s-1.975-4.7-2-7.125c-.025-1.325-.05-2.675-.375-3.5s-1.35-1.9-2.3-2.875C5.875 36.575 4 34.6 4 32s1.875-4.575 3.525-6.3c.95-.975 1.925-2 2.3-2.875s.35-2.175.375-3.5c.025-2.425.075-5.2 2-7.125s4.7-1.975 7.125-2c1.325-.025 2.675-.05 3.5-.375s1.9-1.35 2.875-2.3C27.425 5.875 29.4 4 32 4s4.575 1.875 6.3 3.525c.975.95 2 1.925 2.875 2.3s2.175.35 3.5.375c2.425.025 5.2.075 7.125 2s1.975 4.7 2 7.125c.025 1.325.05 2.675.375 3.5s1.35 1.9 2.3 2.875C58.125 27.425 60 29.4 60 32"})),a||(a=r.createElement("path",{fill:"#FFC017",fillRule:"evenodd",d:"M56.475 38.3C58.125 36.575 60 34.6 60 32s-1.875-4.575-3.525-6.3c-.95-.975-1.975-2.05-2.3-2.875-.325-.824-.35-2.17-.375-3.494v-.006c-.025-2.425-.075-5.2-2-7.125s-4.7-1.975-7.125-2l-.431-.007c-1.172-.017-2.29-.034-3.069-.368-.875-.375-1.9-1.35-2.875-2.3C36.575 5.875 34.6 4 32 4s-4.575 1.875-6.3 3.525c-.975.95-2.05 1.975-2.875 2.3-.824.325-2.17.35-3.494.375h-.006c-2.425.025-5.2.075-7.125 2s-1.975 4.7-2 7.125l-.007.431c-.017 1.172-.034 2.29-.368 3.069-.375.875-1.35 1.9-2.3 2.875C5.875 27.425 4 29.4 4 32s1.875 4.575 3.525 6.3c.95.975 1.975 2.05 2.3 2.875.325.824.35 2.17.375 3.494v.006c.025 2.425.075 5.2 2 7.125s4.7 1.975 7.125 2l.431.007c1.172.017 2.29.034 3.069.368.875.375 1.9 1.35 2.875 2.3C27.425 58.125 29.4 60 32 60s4.575-1.875 6.3-3.525c.975-.95 2.05-1.975 2.875-2.3.824-.325 2.17-.35 3.494-.375h.006c2.425-.025 5.2-.075 7.125-2s1.975-4.7 2-7.125l.007-.431c.017-1.172.034-2.29.368-3.069.375-.875 1.35-1.9 2.3-2.875m-23.36 6.846a1.92 1.92 0 0 1-2.226 0h-.003C27.574 42.8 18.006 35.762 18 28.909s6.503-10.252 13.259-4.45c.43.37 1.052.37 1.482 0 6.755-5.805 13.265-2.403 13.259 4.45-.006 6.56-9.574 13.892-12.886 16.237",clipRule:"evenodd"})))};var u,d;function m(){return m=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},m.apply(null,arguments)}const p=function(e){return r.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",width:64,height:64,fill:"none",viewBox:"0 0 64 64"},e),u||(u=r.createElement("g",{clipPath:"url(#clip0_5852_33342)"},r.createElement("path",{fill:"#fff",stroke:"#fff",strokeWidth:4,d:"m57.908 39.696.006-.007.006-.007.147-.153C59.6 37.93 62 35.427 62 32s-2.399-5.93-3.933-7.53l-.147-.152-.006-.007-.007-.007a27 27 0 0 1-1.286-1.386c-.391-.464-.548-.732-.585-.826-.052-.132-.122-.437-.168-.994a30 30 0 0 1-.068-1.802l-.002-.165c-.022-2.272-.055-5.817-2.584-8.345s-6.073-2.562-8.345-2.584l-.165-.002-.468-.007c-.502-.008-.928-.014-1.334-.044-.534-.039-.811-.107-.94-.162-.163-.07-.458-.256-.9-.628a26 26 0 0 1-1.366-1.266l-.007-.007-.007-.006-.153-.147C37.93 4.4 35.427 2 32 2s-5.93 2.399-7.53 3.933l-.152.147-.007.006-.007.007c-.49.478-.955.924-1.386 1.286-.464.391-.732.548-.826.585-.132.052-.437.122-.994.168a30 30 0 0 1-1.802.068l-.165.002c-2.272.022-5.817.055-8.345 2.584s-2.562 6.073-2.584 8.345l-.002.165-.007.468c-.008.502-.014.928-.044 1.334-.039.534-.107.811-.162.94-.07.163-.256.458-.628.9-.356.425-.788.876-1.266 1.366l-.007.007-.006.007-.147.152C4.4 26.07 2 28.574 2 32s2.399 5.93 3.933 7.53l.147.152.006.007.007.007c.478.49.924.955 1.286 1.386.391.464.548.732.585.826.052.132.122.437.168.994.043.529.055 1.128.068 1.802l.002.165c.022 2.272.055 5.817 2.584 8.345s6.073 2.563 8.345 2.584l.165.002.468.007c.502.008.928.014 1.334.044.534.039.811.108.94.162.163.07.458.256.9.628.425.356.876.788 1.366 1.267l.007.006.007.006.152.147C26.07 59.6 28.574 62 32 62s5.93-2.399 7.53-3.933l.152-.147.007-.006.007-.007c.49-.478.955-.924 1.386-1.286.464-.391.732-.548.826-.585.132-.052.437-.122.994-.168a30 30 0 0 1 1.967-.07c2.272-.022 5.817-.055 8.345-2.584s2.563-6.073 2.584-8.345l.002-.165.007-.468c.008-.502.014-.928.044-1.334.039-.534.108-.811.162-.94.07-.163.256-.458.628-.9.356-.424.788-.876 1.267-1.366Z"}),r.createElement("path",{fill:"#FFC017",fillRule:"evenodd",d:"M56.475 38.3C58.125 36.575 60 34.6 60 32s-1.875-4.575-3.525-6.3c-.95-.975-1.975-2.05-2.3-2.875-.325-.824-.35-2.17-.375-3.494v-.006c-.025-2.425-.075-5.2-2-7.125s-4.7-1.975-7.125-2l-.431-.007c-1.172-.017-2.29-.034-3.069-.368-.875-.375-1.9-1.35-2.875-2.3C36.575 5.875 34.6 4 32 4s-4.575 1.875-6.3 3.525c-.975.95-2.05 1.975-2.875 2.3-.824.325-2.17.35-3.494.375h-.006c-2.425.025-5.2.075-7.125 2s-1.975 4.7-2 7.125l-.007.431c-.017 1.172-.034 2.29-.368 3.069-.375.875-1.35 1.9-2.3 2.875C5.875 27.425 4 29.4 4 32s1.875 4.575 3.525 6.3c.95.975 1.975 2.05 2.3 2.875.325.824.35 2.17.375 3.494v.006c.025 2.425.075 5.2 2 7.125s4.7 1.975 7.125 2l.431.007c1.172.017 2.29.034 3.069.368.875.375 1.9 1.35 2.875 2.3C27.425 58.125 29.4 60 32 60s4.575-1.875 6.3-3.525c.975-.95 2.05-1.975 2.875-2.3.824-.325 2.17-.35 3.494-.375h.006c2.425-.025 5.2-.075 7.125-2s1.975-4.7 2-7.125l.007-.431c.017-1.172.034-2.29.368-3.069.375-.875 1.35-1.9 2.3-2.875m-23.36 6.846a1.92 1.92 0 0 1-2.226 0h-.003C27.574 42.8 18.006 35.762 18 28.909s6.503-10.252 13.259-4.45c.43.37 1.052.37 1.482 0 6.755-5.805 13.265-2.403 13.259 4.45-.006 6.56-9.574 13.892-12.886 16.237",clipRule:"evenodd"}))),d||(d=r.createElement("defs",null,r.createElement("clipPath",{id:"clip0_5852_33342"},r.createElement("path",{fill:"#fff",d:"M0 0h64v64H0z"})))))};var f;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},g.apply(null,arguments)}const h=function(e){return r.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:64,height:64,fill:"none",viewBox:"0 0 64 64"},e),f||(f=r.createElement("path",{fill:"#FFC017",fillRule:"evenodd",d:"M56.475 38.3C58.125 36.575 60 34.6 60 32s-1.875-4.575-3.525-6.3c-.95-.975-1.975-2.05-2.3-2.875-.325-.824-.35-2.17-.375-3.494v-.006c-.025-2.425-.075-5.2-2-7.125s-4.7-1.975-7.125-2l-.431-.007c-1.172-.017-2.29-.034-3.069-.368-.875-.375-1.9-1.35-2.875-2.3C36.575 5.875 34.6 4 32 4s-4.575 1.875-6.3 3.525c-.975.95-2.05 1.975-2.875 2.3-.824.325-2.17.35-3.494.375h-.006c-2.425.025-5.2.075-7.125 2s-1.975 4.7-2 7.125l-.007.431c-.017 1.172-.034 2.29-.368 3.069-.375.875-1.35 1.9-2.3 2.875C5.875 27.425 4 29.4 4 32s1.875 4.575 3.525 6.3c.95.975 1.975 2.05 2.3 2.875.325.824.35 2.17.375 3.494v.006c.025 2.425.075 5.2 2 7.125s4.7 1.975 7.125 2l.431.007c1.172.017 2.29.034 3.069.368.875.375 1.9 1.35 2.875 2.3C27.425 58.125 29.4 60 32 60s4.575-1.875 6.3-3.525c.975-.95 2.05-1.975 2.875-2.3.824-.325 2.17-.35 3.494-.375h.006c2.425-.025 5.2-.075 7.125-2s1.975-4.7 2-7.125l.007-.431c.017-1.172.034-2.29.368-3.069.375-.875 1.35-1.9 2.3-2.875m-23.36 6.846a1.92 1.92 0 0 1-2.226 0h-.003C27.574 42.8 18.006 35.762 18 28.909s6.503-10.252 13.259-4.45c.43.37 1.052.37 1.482 0 6.755-5.805 13.265-2.403 13.259 4.45-.006 6.56-9.574 13.892-12.886 16.237",clipRule:"evenodd"})))};var v=function(e){return{width:(0,o.c)(e),height:(0,o.c)(e)}},k=function(e){var n,t=e.withBorder,i=e.size,a=e.rules,o=e.filled,c=(0,l.l)();return n=t?p:o?s:h,r.createElement(n,{role:"presentation","aria-hidden":"true",focusable:"false",className:c(a||v(null!=i?i:20))})}},48795:(e,n,t)=>{t.d(n,{a:()=>s});var i=t(96540),a=t(12378),r=t(44402),o=t(75061),l=t(21835),c=function(e){return{width:(0,a.c)(e),height:(0,a.c)(e)}},s=function(e){var n=e.size,t=e.withBorder,a=e.rules,s={role:"presentation","aria-hidden":"true",focusable:"false",className:(0,r.l)()(a||c(null!=n?n:20))};return t?i.createElement(o.A,s):i.createElement(l.A,s)}},56173:(e,n,t)=>{t.d(n,{s:()=>E});var i=t(96540),a=t(41299),r=t(52290),o=t(36557),l=t(44402),c=t(42976),s=t(88609),u=t(72346),d=t(27721),m=t(99731),p=t(86527),f=t(77662),g=t(56942),h=t(51260),v=t(46879),k=function(e){var n,t,a,l=e.user,s=(0,d.R)(),k=s.value,S=s.loading,b=(0,h.au)(),E=(null==k||null===(n=k.membership)||void 0===n?void 0:n.tier)===c.T3.MEMBER,y=(null==k||null===(t=k.membership)||void 0===t?void 0:t.tier)===c.T3.FRIEND,N="Become a Friend of Medium to increase your contribution to writers and strengthen your support for our independent, ad-free platform.";if((null==k?void 0:k.id)===l.id)N="Youre currently a Friend of Medium and have been since ".concat((0,u.A)(null==k||null===(a=k.membership)||void 0===a?void 0:a.friendSince,"LLLL yyyy"),".");else if(y){var w;N="".concat(l.name," has been a Friend of Medium since ").concat((0,u.A)(null==l||null===(w=l.membership)||void 0===w?void 0:w.friendSince,"LLLL yyyy"),".")}return i.createElement(r.a,{alignItems:"center",display:"flex",flexDirection:"column",width:"240px",padding:"24px",textAlign:"center"},S?i.createElement(f.k,null):i.createElement(i.Fragment,null,i.createElement(g.DZ,{scale:"XS"},"Friend of Medium"),i.createElement(r.a,{marginTop:"8px"},i.createElement(o.kZ,{scale:"M"},N)),!y&&i.createElement(r.a,{marginTop:"24px",width:"100%"},i.createElement(m.$n,{buttonStyle:"STRONG",width:"100%",href:b(E?"ShowManageMembershipPage":"ShowPay",{})},"Upgrade")),i.createElement(r.a,{marginTop:"16px",width:"100%"},i.createElement(p.N,{href:v.lqp},i.createElement(o.kZ,{scale:"M",color:"ACCENT"},"Learn more")))))},S=t(48795),b=t(4676),E=function(e){var n=e.tier,t=e.size,u=e.withBorder,d=e.withText,m=e.withPopover,p=e.user,f=(0,l.l)(),g=(0,i.useCallback)((function(e){return function(){return i.createElement(k,{user:e})}}),[]),h=i.createElement(S.a,{size:t});return n===c.T3.FRIEND&&(h=i.createElement(s.K,{withBorder:u,size:t}),m&&p&&(h=i.createElement(a.R,{targetDistance:15,mouseLeaveDelay:100,popoverRenderFn:g(p),display:"flex"},h)),d&&(h=i.createElement(r.a,{display:"flex"},i.createElement(r.a,{display:"flex",marginRight:"5px"},h),i.createElement(o.kZ,{scale:"M"},i.createElement("span",{className:f({fontWeight:500})},b.uz[c.T3.FRIEND]," of Medium"))))),h}},64800:(e,n,t)=>{t.d(n,{m:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationCanonicalizer_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"customDomainState"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"live"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"domain"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"slug"}}]}}]}},68715:(e,n,t)=>{t.d(n,{n:()=>l});var i=t(45458),a=t(82567),r=t(3545),o=t(12790),l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CollectionTooltip_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"subscriberCount"}},{kind:"Field",name:{kind:"Name",value:"customStyleSheet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"header"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"backgroundImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionAvatar_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionFollowButton_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"EntityPresentationRankedModulePublishingTracker_entity"}}]}}].concat((0,i.A)(a.$.definitions),(0,i.A)(r.f.definitions),(0,i.A)(o.c.definitions))}},26365:(e,n,t)=>{t.d(n,{z:()=>g});var i=t(96540),a=t(54239),r=t(52290),o=(t(34181),t(56942),t(36557),function(e){return e.error,null}),l=t(86527),c=t(95107),s=t(41070),u=t(44402),d=t(39160),m=t(18642),p=t(46879),f={fontSize:"48px",fontWeight:600,lineHeight:"120px",width:"120px",height:"120px",textAlign:"center"};function g(e){var n=e.error,t=e.tag,g=void 0===t?"div":t,h=(0,u.l)(),v=(0,d.d4)((function(e){return e.config.authDomain})),k=(0,d.d4)((function(e){return e.config.productName}));(0,s.NJ)(new Error("[500]: ".concat(n.message)),{status:500,err:n});var S=g;return i.createElement(a.qh,{render:function(e){var t=e.staticContext;return t&&(n.message.includes("409: Conflict")?t.statusCode=409:t.statusCode=500),i.createElement(S,null,i.createElement(r.a,{tag:"section",paddingTop:"60px",paddingBottom:"60px",display:"flex",justifyContent:"center"},i.createElement("div",{className:h({background:(0,m.CM)(.15),color:m.ON,marginRight:"20px"})},i.createElement("div",{className:h(f)},"500")),i.createElement(r.a,{display:"flex",flexDirection:"column",justifyContent:"space-between"},i.createElement(c.mz,{scale:"M"},"Apologies, but something went wrong on our end."),i.createElement("div",null,"Refresh the page, check"," ",i.createElement(l.N,{href:(0,p.hG4)(),linkStyle:"OBVIOUS",inline:!0},k,"s site status"),", or"," ",i.createElement(l.N,{href:"https://".concat(v,"/browse/top"),linkStyle:"OBVIOUS",inline:!0},"find something interesting to read"),"."))),i.createElement(o,{error:n}))}})}},51622:(e,n,t)=>{t.d(n,{u:()=>q});var i=t(39181),a=t(96540),r=t(69733),o=t(39204),l=t(91271),c=t(42136),s=t(23393),u=t(52290),d=t(86975),m=t(36557),p=t(39160),f=t(27715),g=t(46879),h=(0,r.Ng)((function(e){return{currentLocation:e.navigation.currentLocation}}))((function(e){var n=e.currentLocation,t=e.post,i=(0,p.d4)((function(e){return e.config.authDomain})),r=t.creator,h=t.readingTime;return r?a.createElement(u.a,{display:"flex",alignItems:"center"},a.createElement(s.H8,{user:r,scale:"S",link:!0}),a.createElement(u.a,{marginLeft:"16px"},a.createElement(m.kZ,{scale:"S",color:"DARKER",tag:"div"},a.createElement(d.D,{href:(0,g.EpC)(r,i)},r.name),"APPROVED"===t.statusForCollection&&t.collection&&t.collection.name&&a.createElement(d.D,{href:(0,g.eBL)(t.collection,n)}," in ",t.collection&&t.collection.name)),a.createElement(u.a,{display:"flex",alignItems:"center",flexWrap:"wrap"},a.createElement(m.kZ,{scale:"S",tag:"div"},a.createElement(c.z,{middotPadding:"4px",marginRight:"8px",display:"flex",flexWrap:"wrap"},t&&t.updatedAt&&a.createElement(l.n9,{timestamp:t.updatedAt}),"".concat((0,f.M8)(h||0)," min read"))),t.isLocked&&a.createElement(o.F,{post:t})))):null})),v=t(82284),k=t(11331),S=t.n(k),b=t(44402),E=t(38667),y=t(90383),N={display:"block",backgroundOrigin:"border-box",backgroundSize:"cover"},w=function(e){var n,t=e.post,i=e.width,r=e.height,o=e.miroWidth,l=e.miroHeight,c=(0,b.l)(),s=(0,p.Dy)((function(e){return e.config.defaultImages})),u=i||o,m=r||l,f=t.previewImage,h=null==s||null===(n=s.postPreviewImage)||void 0===n?void 0:n.imageId,k=(0,y.rP)({miroId:(null==f?void 0:f.id)||h,width:o,height:l,strategy:y.qY.Resample}),w=(null==f?void 0:f.focusPercentX)||50,P=(null==f?void 0:f.focusPercentY)||50;return a.createElement(d.D,{href:(0,g.us)(t),className:c([N,function(e){var n={backgroundPosition:"".concat(w,"% ").concat(P,"%"),backgroundImage:"url(".concat(k,")"),height:"number"==typeof m?"".concat(m,"px"):m,width:"number"==typeof u?"".concat(u,"px"):u};return"object"===(0,v.A)(u)&&S()(u)&&Object.keys(u).forEach((function(t){if("base"!==t){var i=E[t](e);if(u[t]){n[i]=n[i]||{};var a=u[t];n[i].width="number"==typeof a?"".concat(a,"px"):a}}})),"object"===(0,v.A)(m)&&S()(m)&&Object.keys(m).forEach((function(t){if("base"!==t){var i=E[t](e);if(m[t]){n[i]=n[i]||{};var a=m[t];n[i].height="number"==typeof a?"".concat(a,"px"):a}}})),n}])})},P=t(56942),O=function(e){var n=e.post;return a.createElement(d.D,{href:(0,g.us)(n)},a.createElement(P.DZ,{scale:"S",tag:"h4",clamp:2},n.title))},T=function(e){var n=e.post,t=e.imageWidth,i=void 0===t?767:t,r=e.imageHeight,o=void 0===r?271:r;return a.createElement(u.a,{display:"flex",flexDirection:"column",minHeight:"266px"},a.createElement(w,{post:n,miroWidth:i,miroHeight:o}),a.createElement(u.a,{flexGrow:"1",margin:"16px 16px 0 16px"},a.createElement(O,{post:n})),a.createElement(u.a,{marginTop:"20px",marginBottom:"20px",paddingLeft:"16px",paddingRight:"16px"},a.createElement(h,{post:n})))},C=t(86527),A=t(20621),_=t(615),I=t(28072),R=t(85050),F=t(95107),L=t(20239),M=t(51260),D=t(18642),x=t(80890),U=t(45458),B=t(77485),j=t(59265),V=t(4424),H={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostListingItemBylineWithAvatar_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"imageId"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserAvatar_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}}]}},{kind:"Field",name:{kind:"Name",value:"isLocked"}},{kind:"Field",name:{kind:"Name",value:"readingTime"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"statusForCollection"}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"collectionUrl_collection"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"Star_post"}}]}}].concat((0,U.A)(B.R.definitions),(0,U.A)(j.v0.definitions),(0,U.A)(j.dl.definitions),(0,U.A)(V.c.definitions))},G={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostCard_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PostCardTitle_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostListingItemImage_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostListingItemBylineWithAvatar_post"}}]}}].concat((0,U.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"PostCardTitle_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"mediumUrl"}},{kind:"Field",name:{kind:"Name",value:"title"}}]}}]),(0,U.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"PostListingItemImage_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"mediumUrl"}},{kind:"Field",name:{kind:"Name",value:"previewImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"focusPercentX"}},{kind:"Field",name:{kind:"Name",value:"focusPercentY"}}]}}]}}]),(0,U.A)(H.definitions))},W={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"NotFoundScreenQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"staffPicksFeed"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"paging"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"4"}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"post"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PostCard_post"}}]}}]}}]}}]}}].concat((0,U.A)(G.definitions))};function z(e){var n=e.marginTop,t=void 0===n?"40px":n,i=(0,b.l)(),r=(0,p.d4)((function(e){return e.config.productName})),o=(0,M.om)();return a.createElement(u.a,{textAlign:"center"},a.createElement(u.a,{marginTop:t},a.createElement("div",{className:i((0,x.B_)({fontSize:13}))},"PAGE NOT FOUND")),a.createElement(u.a,{marginTop:"8px"},a.createElement(F.mz,{scale:"XXXL"},a.createElement("span",{className:i({color:D.Dx})},"404"))),a.createElement(u.a,{marginTop:"8px"},a.createElement(F.mz,{scale:"L"},"Out of nothing, something.")),a.createElement(u.a,{marginTop:"16px"},a.createElement("div",{className:i((0,x.B_)({fontSize:16}))},"You can find (just about) anything on ",r," — apparently even a page that doesnt exist. Maybe these stories will take you somewhere new?")),a.createElement(u.a,{marginTop:"16px"},a.createElement("div",{className:i((0,x.B_)({fontSize:16}))},a.createElement(C.N,{href:o("ShowHome",{}),inline:!0,linkStyle:"OBVIOUS"},"Home"))))}function Y(){var e=(0,L.D)(),n=(0,i.I)(W).data,t=null==n?void 0:n.staffPicksFeed.items.map((function(e){return e.post})).filter((function(e){return!!e}));return null!=t&&t.length?a.createElement(u.a,{marginTop:"40px"},a.createElement(A.E,{gutters:!1},t.map((function(n,t){return a.createElement(_.E,{key:t,size:{xs:12,sm:12,md:12,lg:12,xl:6}},a.createElement(u.a,{key:t,border:"neutral.primary",borderRadius:"5px",boxShadow:"0 1px 4px ".concat(e.colorTokens.border.neutral.primary.base),margin:"8px",overflow:"hidden"},a.createElement(R.V,{xl:!0},a.createElement(T,{post:n,imageWidth:330,imageHeight:101})),a.createElement(R.V,{lg:!0,md:!0,sm:!0,xs:!0},a.createElement(T,{post:n}))))})))):null}function q(e){var n=e.marginTop;return a.createElement(I.P,{size:"app"},a.createElement(z,{marginTop:n}),a.createElement(Y,null))}},49912:(e,n,t)=>{t.d(n,{O:()=>m});var i=t(96540),a=t(69733),r=t(32097),o=t(2550),l=t(27721),c=t(42126),s=t(50684),u=t(39160),d=t(41216),m=function(e){var n=e.data,t=void 0===n?{}:n,m=e.isBlocked,p=void 0!==m&&m,f=e.loading,g=e.show,h=t.canonicalUrl,v=t.collectionViewerEdge,k=t.creatorViewerEdge,S=t.pageType,b=t.post,E=t.profileName,y=t.profilePhoto,N=t.profileUsername,w=t.topicViewerEdge,P=(0,a.wA)(),O=(0,o.A)(),T=O.loading,C=O.viewerId,A=(0,d.d)(),_=A.loading,I=A.inAppBrowser,R=(0,l.R)(),F=R.loading,L=R.value,M=(0,u.d4)((function(e){return e.navigation.referrer})),D=(0,s.MW)();(0,i.useEffect)((function(){if(!(f||F||T||!C||_)){var e=(0,r.Qy)({collectionViewerEdge:v,creatorViewerEdge:k,currentUserId:C,inAppBrowser:I,page_type:S,post:b,profile_name:E,profile_photo:y,profile_username:N,referrer:M,referrerSource:D,viewer:L,topicViewerEdge:w});return h&&(e.data.$canonical_url=h),(0,r.Wp)(e),P((0,c.NJ)(e)),g&&(P((0,c.a1)()),P((0,c.QT)(p))),function(){P((0,c.NZ)())}}}),[f,F,T,C,_])}},95765:(e,n,t)=>{t.d(n,{x:()=>o});var i=t(96540),a=t(52290),r=t(77662);function o(e){var n=e.height,t=void 0===n?"100vh":n,o=e.width,l=void 0===o?"100%":o;return i.createElement(a.a,{height:t,width:l,display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"BACKGROUND"},i.createElement(r.k,null))}},60491:(e,n,t)=>{t.d(n,{o:()=>o});var i=t(96540),a=t(72130),r=t(79429),o=function(e){var n=e.tag,t=void 0===n?"span":n,o=e.children,l=t,c=(0,a.$L)(),s=(0,r.s)({onPresentedFn:function(){c.event("mastodonForMembers.presented",{})}});return i.createElement(l,{ref:s},o)}},43964:(e,n,t)=>{t.d(n,{u:()=>V});var i=t(80296),a=t(95420),r=t(39181),o=t(2118),l=t(96540),c=t(65464),s=t(64314),u=t(52290),d=t(95107),m=t(36557),p=t(72130),f=t(49287),g=t(42976),h=t(50684),v=t(39160),k=t(60603),S=t(79959),b=t(10531),E=function(e){var n=e.maxWidth;return l.createElement(u.a,{maxWidth:n,width:"100%",margin:"auto auto 8px",height:"18px",backgroundColor:"BASE_NORMAL"})},y=function(){return l.createElement(u.a,{display:"block",margin:"32px 0",textAlign:"center"},l.createElement(E,{maxWidth:"280px"}),l.createElement(E,{maxWidth:"280px"}),l.createElement(u.a,{height:"18px"}),l.createElement(E,{maxWidth:"210px"}),l.createElement(u.a,{height:"18px"}),l.createElement(E,{maxWidth:"80px"}))},N=function(){return l.createElement(b.H,{itemPlaceholder:y,numPlaceholders:1})},w=t(45458),P=t(5276),O=t(43769),T=t(18496),C={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserPaymentMethod_membershipStatus"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MembershipStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paymentMethod"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditCard"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cardType"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"getPaymentMethodInfo_membershipStatus"}}]}}].concat((0,w.A)(T.J.definitions))},A={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ReactivateMembershipConfirmationModalWrapper_membershipStatus"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MembershipStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"membershipId"}},{kind:"Field",name:{kind:"Name",value:"currentPeriodEndsAt"}},{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",name:{kind:"Name",value:"planV2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"discount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"numCycles"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"switchPlanSchedule"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startAt"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"getCurrentMembershipPlanFormatedPrice_membershipStatus"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useCurrentMembershipType_membershipStatus"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserPaymentMethod_membershipStatus"}}]}}].concat((0,w.A)(P.r.definitions),(0,w.A)(O.M.definitions),(0,w.A)(C.definitions))},_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ReactivateMembershipConfirmationModalWrapperQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"membership"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReactivateMembershipConfirmationModalWrapper_membershipStatus"}}]}}]}}]}}]}}].concat((0,w.A)(A.definitions))},I={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UncancelMembershipMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UncancelMembershipInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uncancelMembership"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]},R=t(58168),F=t(16221),L=t(70106),M=function(e){var n,t=e.membership,i=e.containerProps;return l.createElement(u.a,(0,R.A)({display:"flex",alignItems:"center"},i),l.createElement(m.kZ,{scale:"M",color:"LIGHTER"},(0,F.K)(t,"")),"CreditCard"===(null===(n=t.paymentMethod)||void 0===n?void 0:n.__typename)&&l.createElement(u.a,{marginLeft:"16px",tag:"span"},l.createElement(L.B,{cardType:t.paymentMethod.cardType})))},D=t(44576),x=t(4676),U=t(13585),B=t(40739),j=function(){return null},V=function(e){var n,t,b,E=e.children,y=e.withOpenFromUrl,w=void 0!==y&&y,P=(0,l.useState)(""),O=(0,i.A)(P,2),T=O[0],C=O[1],A=(0,p.$L)(),R=(0,f.Fo)(),F=(0,f.PJ)((0,h.MW)()||""),L="email"===(null==F?void 0:F.name)?null==F?void 0:F.dimension:null==R?void 0:R.dimension,V=(0,a.n)(I,{onCompleted:function(e){"MutationSuccess"===e.uncancelMembership.__typename?(A.event("reactivateMembership.converted",{dimension:L}),(0,S.gG)(),window.location.reload()):C("We couldn't process your request, please try again.")}}),H=(0,i.A)(V,2),G=H[0],W=H[1],z=W.loading,Y=W.data,q=(0,k.e)(!1),K=(0,i.A)(q,3),Q=K[0],X=K[1],Z=K[2],$=(0,v.d4)((function(e){return e.client.hydrated})),J=(0,r.I)(_,{skip:!Q}).data,ee=null==J||null===(n=J.viewer)||void 0===n||null===(t=n.viewerEdge)||void 0===t?void 0:t.membership,ne=(0,U.T)(ee),te=(0,B.M)("#reactivateMembership",w?X:j,w?Z:j).cleanUrlAndHideModal,ie=(0,l.useCallback)((function(){ee&&(C(""),G({variables:{input:{membershipId:ee.membershipId}}}))}),[G,null==ee?void 0:ee.membershipId]),ae=(0,l.useMemo)((function(){var e,n;if(!ee)return null;var t="";if((null===(e=ee.switchPlanSchedule)||void 0===e||!e.startAt)&&null!==(n=ee.planV2)&&void 0!==n&&n.discount&&ne===g.VM.MONTHLY){var i=(0,D.s)(ee),a=(0,c.a)((0,o.A)(new Date(ee.startedAt),ee.planV2.discount.numCycles).getTime());t=" ".concat(i," monthly until ").concat(a," and then")}var r=(0,D.s)(ee,{ignoreDiscount:!0}),l=(0,x.O9)(ne,{yearLabel:"annually"});return"You'll be charged".concat(t," ").concat(r," ").concat(l," with this payment method:")}),[ee,ne]);(0,l.useEffect)((function(){Q&&A.event("reactivateMembership.confirmationViewed",{dimension:L})}),[Q,L]);var re="MutationSuccess"===(null==Y||null===(b=Y.uncancelMembership)||void 0===b?void 0:b.__typename);return l.createElement(l.Fragment,null,E({showConfirmation:X}),l.createElement(s.m,{isVisible:Q&&$,hide:w?te:Z,disableConfirm:z||re||!ee,confirmText:"Reactivate my membership",hideOnConfirm:!1,onConfirm:ie},l.createElement(u.a,{margin:"0 auto",width:{xs:"100%",sm:"100%",md:"426px",lg:"426px",xl:"426px"},paddingTop:{xs:"10px",sm:"10px",md:"0",lg:"0",xl:"0"}},l.createElement(u.a,{textAlign:"center",margin:"0 20px"},l.createElement(d.mz,{tag:"h1",scale:{xs:"M",sm:"M",md:"L",lg:"L",xl:"L"}},"Reactivate your Membership")),!!ee&&l.createElement(u.a,{display:"block",margin:"32px 0",textAlign:"center"},l.createElement(m.kZ,{scale:"L",color:"DARKER"},"Youll enjoy your membership benefits without interruption, and your next billing cycle will start on ",(0,c.a)(ee.currentPeriodEndsAt),".",l.createElement("br",null),l.createElement("br",null),ae),l.createElement(M,{membership:ee,containerProps:{marginTop:"32px",justifyContent:"center"}}),T&&l.createElement(u.a,{textAlign:"center",marginTop:"32px"},l.createElement(m.kZ,{scale:"M",color:"ERROR"},T))),!ee&&l.createElement(N,null))))}},59031:(e,n,t)=>{t.d(n,{Z:()=>l});var i=t(96540),a=t(72130),r=t(49287),o=t(79429),l=function(e){var n=e.tag,t=void 0===n?"span":n,l=e.children,c=t,s=(0,a.$L)(),u=(0,r.Fo)(),d=(0,o.s)({onPresentedFn:function(){s.event("reactivateMembership.presented",{dimension:null==u?void 0:u.dimension})}});return i.createElement(c,{ref:d},l)}},5276:(e,n,t)=>{t.d(n,{r:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"getCurrentMembershipPlanFormatedPrice_membershipStatus"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MembershipStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"discountEndsAt"}},{kind:"Field",name:{kind:"Name",value:"planV2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"discount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"regularPrice"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"switchPlanSchedule"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"plan"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}}]}}]}}]}}]}},44576:(e,n,t)=>{t.d(n,{s:()=>a});var i=t(52254);function a(e,n){var t,a;if(e.switchPlanSchedule)return(0,i.dl)({amount:e.switchPlanSchedule.plan.price.amount,currency:e.switchPlanSchedule.plan.price.currency});var r=!!e.discountEndsAt;return(0,i.dl)({amount:null!=n&&n.ignoreDiscount&&r&&null!==(t=e.planV2)&&void 0!==t&&t.discount?e.planV2.discount.regularPrice.amount:e.amount,currency:null!=n&&n.ignoreDiscount&&r&&null!==(a=e.planV2)&&void 0!==a&&a.discount?e.planV2.discount.regularPrice.currency:e.currency})}},4676:(e,n,t)=>{t.d(n,{$m:()=>k,EY:()=>f,IC:()=>h,O9:()=>b,Oj:()=>v,eu:()=>m,pZ:()=>g,uR:()=>S,uz:()=>E});var i,a,r,o=t(64467),l=t(14792),c=t.n(l),s=t(78493),u=t(42976),d=(i={},(0,o.A)(i,u.T3.MEMBER,[u.VM.MONTHLY,u.VM.YEARLY]),(0,o.A)(i,u.T3.FRIEND,[u.VM.PREMIUM_MONTHLY,u.VM.PREMIUM_YEARLY]),i);function m(e,n){return e.filter((function(e){return d[n].includes(e.membershipType)}))}var p=(a={},(0,o.A)(a,u.$F.MONTHLY,[u.VM.MONTHLY,u.VM.PREMIUM_MONTHLY]),(0,o.A)(a,u.$F.ANNUAL,[u.VM.YEARLY,u.VM.PREMIUM_YEARLY]),a);function f(e,n){return e.filter((function(e){return p[n].includes(e.membershipType)}))}function g(e){return d[u.T3.MEMBER].includes(e)?u.T3.MEMBER:u.T3.FRIEND}var h=function(e){return e===u.VM.YEARLY||e===u.VM.PREMIUM_YEARLY},v=function(e){return e===u.VM.MONTHLY||e===u.VM.PREMIUM_MONTHLY},k=function(e){return e===u.VM.MONTHLY||e===u.VM.YEARLY},S=function(e){return e===u.VM.PREMIUM_MONTHLY||e===u.VM.PREMIUM_YEARLY},b=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.capitalize,i=n.monthLabel,a=void 0===i?"monthly":i,r=n.yearLabel,o=void 0===r?"yearly":r,l="";switch(e){case u.VM.MONTHLY:case u.VM.PREMIUM_MONTHLY:case s.yV.Monthly:case s.yV.PremiumMonthly:case u.$F.MONTHLY:l=a;break;case u.VM.YEARLY:case u.VM.PREMIUM_YEARLY:case s.yV.Yearly:case s.yV.PremiumYearly:case u.$F.ANNUAL:l=o}return t?c()(l):l},E=(r={},(0,o.A)(r,u.T3.MEMBER,"Member"),(0,o.A)(r,u.T3.FRIEND,"Friend"),r)},33285:(e,n,t)=>{t.d(n,{p:()=>r,u:()=>a});var i=t(45458),a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"useCanSwitchMembershipPlan_membershipStatus"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MembershipStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paymentProvider"}},{kind:"Field",name:{kind:"Name",value:"isCancelled"}},{kind:"Field",name:{kind:"Name",value:"paymentFailedAt"}}]}}]},r={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UseCanSwitchMembershipPlanQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"membership"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"useCanSwitchMembershipPlan_membershipStatus"}}]}}]}}]}}]}}].concat((0,i.A)(a.definitions))}},59301:(e,n,t)=>{t.d(n,{z:()=>o});var i=t(39181),a=t(42976),r=t(33285);function o(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.skip,l=void 0!==o&&o,c=t.membership,s=(0,i.I)(r.p,{skip:l||!!c}),u=s.data,d=s.loading,m=c||(null==u||null===(e=u.viewer)||void 0===e||null===(n=e.viewerEdge)||void 0===n?void 0:n.membership),p=null==m?void 0:m.paymentProvider,f=null==m?void 0:m.paymentFailedAt,g=null==m?void 0:m.isCancelled;return{canSwitchMembershipPlan:!(p!==a.CA.BRAINTREE&&p!==a.CA.STRIPE||f||g),loading:d}}},43769:(e,n,t)=>{t.d(n,{M:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"useCurrentMembershipType_membershipStatus"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MembershipStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"membershipType"}},{kind:"Field",name:{kind:"Name",value:"switchPlanSchedule"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"plan"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"membershipType"}}]}}]}}]}}]}},13585:(e,n,t)=>{function i(e){var n,t;return e?(null===(n=e.switchPlanSchedule)||void 0===n||null===(t=n.plan)||void 0===t?void 0:t.membershipType)||e.membershipType:null}t.d(n,{T:()=>i})},99886:(e,n,t)=>{t.d(n,{r:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"useIsReactivateMembershipVisible_membershipStatus"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MembershipStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isCancelled"}},{kind:"Field",name:{kind:"Name",value:"paymentProvider"}},{kind:"Field",name:{kind:"Name",value:"paymentMethod"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]}},65498:(e,n,t)=>{t.d(n,{U:()=>a});var i=t(42976),a=function(e){var n=(null==e?void 0:e.paymentProvider)===i.CA.STRIPE||(null==e?void 0:e.paymentProvider)===i.CA.BRAINTREE;return!!e&&n&&e.isCancelled&&!!e.paymentMethod}},4424:(e,n,t)=>{t.d(n,{c:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"Star_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},39204:(e,n,t)=>{t.d(n,{F:()=>C});var i=t(80296),a=t(89089),r=t(96540),o=t(52290),l=t(24960),c=t(5600),s=t(85050),u=t(36557),d=t(72130),m=t(44402),p=t(79429),f=t(21835),g=t(60603),h=t(72346),v=t(27721),k=t(43634),S=t(99731),b=t(86527),E=t(56942),y=t(49287),N=t(51260),w=function(e){var n,t=e.creatorId,i=(0,v.R)().value,a=(0,N.Nw)("ShowPay",{}),l=(0,N.Nw)("ShowSubscriptionsLanding",{}),c=(null==i?void 0:i.id)===t,s=!(null==i||!i.membership),d=(0,r.useMemo)((function(){return c?"This story is only viewable by Medium Members. It is behind the paywall and is eligible to earn money.":s?"Youre currently a Medium Member and have been since ".concat((0,h.A)(i.membership.memberSince,"LLL yyyy"),"."):"Become a Medium member to enjoy unlimited access and directly support the writers you read most."}),[c,s,null==i||null===(n=i.membership)||void 0===n?void 0:n.memberSince]);return r.createElement(y.Ne,{extendSource:!0,source:{name:"moc_star_popover"}},r.createElement(o.a,{alignItems:"center",display:"flex",flexDirection:"column",maxWidth:"240px",padding:"24px",textAlign:"center"},r.createElement(E.DZ,{scale:"XS"},"Member-only story"),r.createElement(o.a,{paddingTop:"8px"}),r.createElement(u.kZ,{scale:"M"},d),(c||!s)&&r.createElement(r.Fragment,null,r.createElement(o.a,{paddingTop:"24px"}),!c&&r.createElement(r.Fragment,null,i?r.createElement(S.$n,{buttonStyle:"STRONG",href:a,width:"100%"},"Get unlimited access"):r.createElement(k.r,{isButton:!0,buttonStyle:"STRONG",buttonWidth:"100%",operation:"login",susiEntry:"moc_star_popover",redirectTo:a},"Get unlimited access"),r.createElement(o.a,{paddingTop:"16px"})),r.createElement(u.kZ,{scale:"M"},r.createElement(b.N,{linkStyle:"OBVIOUS",href:l,target:"_blank"},"Learn more")))))},P={display:"block",border:"none",cursor:"pointer",padding:"0"},O={marginRight:"4px",marginTop:"2px"},T=function(e){var n,t=e.margin,h=e.padding,v=e.post,k=e.scale,S=void 0===k?"M":k,b=e.hideLabelDesktop,E=e.showLabelMobile,y=e.label,N=void 0===y?"Member-only":y,T=(0,m.l)(),C=(0,g.e)(!1),A=(0,i.A)(C,3),_=A[0],I=A[1],R=A[2],F=(0,d.$L)(),L=(0,r.useCallback)((function(){F.event("button.clientPresented",{buttonType:"moc_star",postId:v.id})}),[F]),M=(0,p.s)({onPresentedFn:L}),D=(0,r.useCallback)((function(){F.event("button.clicked",{buttonType:"moc_star",postId:v.id}),I()}),[F,I]),x=null===(n=v.creator)||void 0===n?void 0:n.id,U=(0,r.useCallback)((function(){return r.createElement(w,{creatorId:x})}),[x]),B=(0,a.B)();return r.createElement(o.a,{boxSizing:"content-box",margin:t,padding:h,display:"flex"},r.createElement(l.A,{ariaId:B,isVisible:_,hide:R,popoverRenderFn:U,targetDistance:10},r.createElement("button",{className:T(P),onClick:D,ref:M,"aria-label":"Member-only story"},r.createElement(s.V,{xs:!E,sm:!E,md:b,lg:b,xl:b},r.createElement(c.G,{tooltipText:"Member-only story",targetDistance:10},r.createElement(f.A,{width:"16",height:"16"}))),!b&&r.createElement(s.V,{xs:E,sm:E,md:!0,lg:!0,xl:!0,displayValue:"flex",alignItems:"center"},r.createElement(f.A,{className:T(O),width:"16",height:"16"}),r.createElement(u.kZ,{scale:S},N)))))},C=(0,r.memo)(T)},40739:(e,n,t)=>{t.d(n,{$:()=>l,M:()=>o});var i=t(96540),a=t(54239),r=t(79959);function o(e,n,t){var o=(0,a.zy)();return i.useEffect((function(){o.hash===e&&n()}),[o,n,e]),{cleanUrlAndHideModal:i.useCallback((function(){o.hash===e&&(0,r.gG)(),t&&t()}),[o,t,e])}}function l(e){return{setHash:i.useCallback((function(){window.location.hash=e}),[e]),removeHash:r.gG}}},64623:(e,n,t)=>{t.d(n,{_:()=>u});var i=t(45458),a=t(62742),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SubscribeButton_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SusiClickable_collection"}}]}}].concat((0,i.A)(a.Km.definitions))},o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SubscribeButton_newsletterV3"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewsletterV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SubscribeButton_collection"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"SusiClickable_newsletterV3"}}]}}].concat((0,i.A)(r.definitions),(0,i.A)(a.ei.definitions))},l=t(53301),c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"NewsletterV3PublicationSubscribeButton_newsletterV3"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewsletterV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SubscribeButton_newsletterV3"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useNewsletterV3Subscription_newsletterV3"}}]}}].concat((0,i.A)(o.definitions),(0,i.A)(l.oY.definitions))},s=t(11860),u={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"NewsletterV3PublicationSubscribe_newsletterV3"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewsletterV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SusiClickable_collection"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"NewsletterV3PublicationSubscribeButton_newsletterV3"}},{kind:"FragmentSpread",name:{kind:"Name",value:"NewsletterV3PublicationSubscribeByEmail_newsletterV3"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useNewsletterV3Subscription_newsletterV3"}}]}}].concat((0,i.A)(a.Km.definitions),(0,i.A)(c.definitions),(0,i.A)(s.L.definitions),(0,i.A)(l.oY.definitions))}},11860:(e,n,t)=>{t.d(n,{D:()=>a,L:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"NewsletterV3PublicationSubscribeByEmail_newsletterV3"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewsletterV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]},a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"NewsletterV3PublicationSubscribeByEmailMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"newsletterV3Id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"redirect"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"captchaValue"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"operation"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sendNewsletterSubscriptionAcctAuthEmail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"newsletterV3Id"},value:{kind:"Variable",name:{kind:"Name",value:"newsletterV3Id"}}},{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"redirect"},value:{kind:"Variable",name:{kind:"Name",value:"redirect"}}},{kind:"Argument",name:{kind:"Name",value:"captchaValue"},value:{kind:"Variable",name:{kind:"Name",value:"captchaValue"}}},{kind:"Argument",name:{kind:"Name",value:"operation"},value:{kind:"Variable",name:{kind:"Name",value:"operation"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SusiMethod"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BadRequest"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FailedChallenge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NotFound"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]}},1620:(e,n,t)=>{t.d(n,{Fr:()=>r,LN:()=>l,xb:()=>o,zY:()=>s});var i=t(96540),a=t(52290),r=52,o=48,l={xs:"24px",sm:"24px",md:"".concat(r,"px"),lg:"".concat(r,"px"),xl:"".concat(r,"px")},c={xs:"24px",sm:"24px",md:"".concat(o,"px"),lg:"".concat(o,"px"),xl:"".concat(o,"px")},s=function(e){var n=e.heading,t=e.navbar,r=e.marginTop,o=e.marginBottom,s=e.navbarMargin,u=o?{xs:"24px",sm:"24px",md:"".concat(o,"px"),lg:"".concat(o,"px"),xl:"".concat(o,"px")}:c;return i.createElement(a.a,{marginTop:r||l,marginBottom:u},i.createElement(a.a,{marginBottom:s||"40px"},n),t)}},7367:(e,n,t)=>{t.d(n,{DN:()=>u,x5:()=>d});var i=t(80296),a=t(96540),r=t(44402),o=t(20239),l=t(66305),c=t(27412),s=t(97114),u=26,d=function(e){var n,t,c=e.children,s=e.childrenWidth,u=e.firstItemRef,d=e.scrollPixels,m=void 0===d?100:d,p=e.arrowPadding,g=e.arrowHeight,h=e.selectedItemRef,v=(0,r.l)(),k=(0,o.D)(),S=(0,a.useState)(!1),b=(0,i.A)(S,2),E=b[0],y=b[1],N=(0,a.useState)(!1),w=(0,i.A)(N,2),P=w[0],O=w[1],T=(0,a.useRef)(null),C=(0,a.useCallback)((function(e){T.current&&T.current.scrollBy({left:e,behavior:"smooth"})}),[]),A=(0,a.useCallback)((function(){C(m)}),[C,m]),_=(0,a.useCallback)((function(){C(-m)}),[C,m]),I=(0,a.useCallback)((function(){var e=T.current;if(e){var n,t,i=Math.floor(e.scrollWidth-(e.clientWidth+e.scrollLeft));y(i>0),O(e.scrollLeft>(null!==(n=null==u||null===(t=u.current)||void 0===t?void 0:t.offsetLeft)&&void 0!==n?n:0))}}),[u]);return(0,a.useEffect)((function(){I()}),[I,c]),(0,a.useEffect)((function(){return l.R5.on("resize",I),function(){return l.R5.off("resize",I)}}),[I]),(0,a.useEffect)((function(){var e=T.current;e&&s&&y(s>e.clientWidth)}),[s]),(0,a.useEffect)((function(){var e=null==h?void 0:h.current,n=T.current;if(e&&n){var t=e.offsetLeft,i=t+e.clientWidth,a=n.scrollLeft+72,r=n.scrollLeft+n.clientWidth-72;t<a?n.scrollTo({left:t-72,behavior:"smooth"}):i>r&&n.scrollTo({left:i-n.clientWidth+72,behavior:"smooth"})}}),[null==h?void 0:h.current]),a.createElement("div",{ref:T,onScroll:I,className:v((n={arrowHeight:g},t={display:"flex",alignItems:"center",overflowX:"scroll",overflowY:"hidden","::-webkit-scrollbar":{height:0,width:0,background:"transparent"},scrollbarWidth:"none",msOverflowStyle:"none"},void 0!==n.arrowHeight&&(t["::-webkit-scrollbar:horizontal"]={height:0}),t))},c,a.createElement(f,{onClick:A,backgroundColor:k.backgroundColor,padding:p,isVisible:E,isRight:!0,arrowHeight:g}),a.createElement(f,{onClick:_,backgroundColor:k.backgroundColor,padding:p,isVisible:P,arrowHeight:g}))},m=function(e){var n=e.background,t=e.isRight,i=e.padding,a=e.isVisible,r=e.arrowHeight,o={position:"absolute",right:t?"0":void 0,left:t?void 0:"0",top:"0",bottom:"12px",paddingLeft:t?"42px":i,paddingRight:t?i:"42px",display:"flex",alignItems:"center",pointerEvents:"none",opacity:a?1:0,background:n};return void 0!==r&&(o.height=r),o},p=function(e){return function(n){return{border:"none",padding:"0",margin:"2px",cursor:"pointer","& svg path":{fill:n.colorTokens.foreground.neutral.secondary.base},":hover svg path":{fill:n.colorTokens.foreground.neutral.primary.hover},pointerEvents:e?"all":void 0}}},f=function(e){var n=e.isRight,t=e.onClick,i=e.backgroundColor,o=e.padding,l=e.isVisible,d=e.arrowHeight,f=(0,r.l)(),g=(0,a.useCallback)((function(e,n){return"".concat((0,s.Sl)(i,e)," ").concat(n,"%")}),[i]),h="linear-gradient(".concat(n?90:270,"deg, ").concat(g(0,0),", ").concat(g(.75,25),", ").concat(g(.9,50),", ").concat(g(1,75),")");return a.createElement("div",{className:f(m({background:h,isRight:n,padding:o,isVisible:l,arrowHeight:d}))},a.createElement("button",{className:f(p(l)),onClick:t,"aria-label":n?"next sections":"previous sections",tabIndex:l?0:-1},a.createElement(c.A,{height:"".concat(u,"px"),width:"".concat(u,"px"),style:n?{transform:"rotate(180deg)"}:void 0,"aria-hidden":"true"})))}},26947:(e,n,t)=>{t.d(n,{F:()=>d});var i=t(96540),a=t(52290),r=t(49287),o=t(44402),l=t(20239),c=t(6707),s=t(7367),u=t(36541),d=function(e){var n=e.items,t=e.isSearchPage,d=(0,o.l)(),m=(0,l.D)(),p="scroller-items",f=(0,c.P)("#".concat(p)).width;return i.createElement(a.a,{position:"relative",boxShadow:"inset 0 -1px 0 ".concat(m.colorTokens.border.neutral.primary.base),overflow:"hidden"},i.createElement(s.x5,{childrenWidth:f},i.createElement("div",{id:p,className:d({display:"flex"})},n.map((function(e,a){var o=a===n.length-1?"50px":e.marginRight,l=e.tab,c=e.text,s=e.onClick,d=e.isActive,m=e.target,p=e.tabIndex,f=e.ariaControls,g=e.href;return i.createElement(r.Ne,{source:{index:a},extendSource:!0,key:"page-navigation-tab-".concat(c,"-").concat(a)},i.createElement(u.X,{tab:l,text:c,href:g,onClick:s,isActive:d,target:m,tabIndex:p,ariaControls:f,marginRight:o,isSearchPage:t}))})))))}},36541:(e,n,t)=>{t.d(n,{X:()=>p});var i=t(96540),a=t(54239),r=t(52290),o=t(86527),l=t(36557),c=t(44402),s=t(39160),u=t(39289),d=t(40728),m=function(e){return{":hover":{color:"".concat(e.colorTokens.foreground.neutral.primary.hover," !important")}}},p=function(e){var n=(0,c.l)(),t=(0,u.i)(),p=e.tab,f=e.target,g=e.text,h=e.isSearchPage,v=e.marginRight,k=void 0===v?"32px":v,S="href"in e?e.href:void 0,b="onClick"in e?e.onClick:void 0,E="tabIndex"in e?e.tabIndex:void 0,y="ariaControls"in e?e.ariaControls:void 0,N="isActive"in e?e.isActive:t(S||""),w=(0,s.d4)((function(e){return e.navigation.currentLocation})),P=(0,a.zy)(),O=(0,d.JO)(P.search).q,T="".concat(w,"?q=").concat(O),C=h?S===T:N||t(null!=S?S:"");return i.createElement(r.a,{marginRight:k,paddingBottom:"16px",minWidth:"max-content",borderBottom:C?"neutral.secondary":"neutral.primary"},i.createElement(o.N,{role:"tab",onClick:b,href:S,target:f,tabIndex:E,"aria-controls":y,"data-testid":p?"".concat(p,"Tab"):void 0,className:n({border:"none",cursor:"pointer",padding:"0px"})},i.createElement(l.kZ,{scale:"M",color:C?"DARKER":"LIGHTER"},i.createElement("span",{className:n(m)},g))))}},11134:(e,n,t)=>{t.d(n,{F:()=>w,x:()=>P});var i=t(96540),a=t(80296),r=t(54239),o=t(2550),l=t(65138),c=t(61538),s=t(51260),u=t(61333),d=(0,i.memo)((function(e){var n=e.name,t=e.module,a=e.params,r=e.onDataPreload,o=(0,i.useMemo)((function(){return m(n,r)}),[r]);if(!t.loader)return null;var l=t.loader;return i.createElement(l,{content:o,params:a})})),m=function(e,n){return function(t){var a=t.loading;return(0,i.useEffect)((function(){a||n(e)}),[a]),null}},p=(0,i.memo)((function(e){var n=e.page,t=e.paramsKey,m=e.onDataPreload;!function(e){var n=(0,c.$L)(),t=(0,r.zy)().pathname,a=(0,s.W5)(t),d=(0,o.A)(),m=d.loading,p=d.viewerId;(0,i.useEffect)((function(){if(n&&!m&&p){var t={currentPage:null!=a&&a.route.mediumAppPage?a.route.mediumAppPage:"unidentified",preloadedPage:e.id,loggedIn:!!p&&(0,l.C)(p),mobileOrTablet:(0,u.Gz)(navigator.userAgent)};n&&(null==n||n.reportPagePreload(t))}}),[m,p])}(n);var p=(0,i.useState)(new Set),f=(0,a.A)(p,2),g=f[0],h=f[1],v=(0,i.useMemo)((function(){return JSON.parse(t)}),[t]);(0,i.useEffect)((function(){Object.keys(n.modules).every((function(e){return g.has(e)}))&&m(n,v)}),[n,g,v]);var k=(0,i.useCallback)((function(e){h((function(n){return new Set(n).add(e)}))}),[]);return i.createElement(i.Fragment,null,Object.entries(n.modules).map((function(e){var n=(0,a.A)(e,2),t=n[0],r=n[1];return i.createElement(d,{key:t,name:t,module:r,params:v,onDataPreload:k})})))})),f=(0,i.memo)((function(e){var n=e.name,t=e.module,a=e.onJsPreload;return(0,i.useEffect)((function(){t.content.preload(),a(n)}),[]),null})),g=(0,i.memo)((function(e){var n=e.page,t=e.onJsPreload,r=(0,i.useState)(new Set),o=(0,a.A)(r,2),l=o[0],c=o[1];(0,i.useEffect)((function(){Object.keys(n.modules).every((function(e){return l.has(e)}))&&t(n)}),[n,l]);var s=(0,i.useCallback)((function(e){c((function(n){return new Set(n).add(e)}))}),[]);return i.createElement(i.Fragment,null,Object.entries(n.modules).filter((function(e){var n=(0,a.A)(e,2),t=n[0];return n[1],!l.has(t)})).map((function(e){var n=(0,a.A)(e,2),t=n[0],r=n[1];return i.createElement(f,{key:t,name:t,module:r,onJsPreload:s})})))})),h=function(e){var n=e.pageState,t=n.page,r=n.jsPreloaded,o=n.dataPreloadedState,l=e.onJsPreload,c=e.onDataPreload;return i.createElement(i.Fragment,null,!r&&i.createElement(g,{page:t,onJsPreload:l}),Array.from(o).filter((function(e){var n=(0,a.A)(e,2);return n[0],!n[1]})).map((function(e){var n=(0,a.A)(e,2),r=n[0];return n[1],i.createElement(p,{key:r,page:t,paramsKey:r,onDataPreload:c})})))},v=(0,i.memo)((function(e){var n=e.state,t=e.onJsPreload,r=e.onDataPreload;return i.createElement(i.Fragment,null,Array.from(n).map((function(e){var n=(0,a.A)(e,2),o=n[0],l=n[1];return i.createElement(h,{key:o,pageState:l,onJsPreload:t,onDataPreload:r})})))})),k=t(64467),S=t(47517);function b(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function E(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?b(Object(t),!0).forEach((function(n){(0,k.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var y=function(e){return e?JSON.stringify(e,Object.keys(e).sort()):""},N=function(e,n){switch(n.type){case"AddPage":var t=n.page,i=n.params,a=e.get(t.id);if(!a){var r=new Map(e),o=y(i);return r.set(t.id,{page:t,jsPreloaded:!1,dataPreloadedState:new Map(o?[[o,!1]]:[])}),r}var l=a.dataPreloadedState,c=y(i);if(c&&!l.has(c)){var s=new Map(e),u=new Map(l);return u.set(c,!1),s.set(t.id,E(E({},a),{},{dataPreloadedState:u})),s}return e;case"JsPreload":var d=n.page,m=e.get(d.id);if(!m)return e;var p=new Map(e),f=E(E({},m),{},{jsPreloaded:!0});return p.set(d.id,f),p;case"DataPreload":var g=n.page,h=n.params,v=e.get(g.id);if(!v)return e;var k=new Map(e),S=new Map(v.dataPreloadedState);S.set(y(h),!0);var b=E(E({},v),{},{dataPreloadedState:S});return k.set(g.id,b),k;default:return e}},w=(0,i.createContext)({isPreloaded:function(){return!1},preloadPage:function(){}}),P=function(e){var n=e.children,t=function(){var e=(0,i.useReducer)(N,new Map),n=(0,a.A)(e,2),t=n[0],r=n[1],o=(0,i.useCallback)((function(e,n){var i=t.get(e);return!!i&&i.jsPreloaded&&!!i.dataPreloadedState.get(y(n))}),[t]),l=(0,i.useCallback)((function(e){var n=e.page,t=e.params;r({type:"AddPage",page:n,params:t}),S.v.debug({page:n,params:t},"Preloading page")}),[]),c=(0,i.useCallback)((function(e){r({type:"JsPreload",page:e})}),[]),s=(0,i.useCallback)((function(e,n){r({type:"DataPreload",page:e,params:n})}),[]);return{state:t,isPreloaded:o,preloadPage:l,onJsPreload:c,onDataPreload:s}}(),r=t.state,o=t.isPreloaded,l=t.preloadPage,c=t.onJsPreload,s=t.onDataPreload;return i.createElement(w.Provider,{value:{isPreloaded:o,preloadPage:l}},i.createElement(v,{state:r,onJsPreload:c,onDataPreload:s}),n)}},20026:(e,n,t)=>{function i(e){var n=e.amount,t=e.currency,i=e.locale,a=e.floatingDigits,r=void 0===a?[2,2]:a,o=e.isLongFormat,l=void 0!==o&&o,c=i||"undefined"!=typeof window&&window.navigator.language||"en-US",s=t||"USD";if(!Intl)return"".concat(n," ").concat(s);var u=n%1!=0;try{var d=new Intl.NumberFormat(c,{style:"currency",currency:s,minimumFractionDigits:u&&r[1]>0?r[1]:r[0],maximumFractionDigits:r[1],currencyDisplay:"narrowSymbol"}).format(n);return l?"".concat(d," ").concat(t):d}catch(e){return String(n)}}t.d(n,{GR:()=>a,Y9:()=>r,vv:()=>i});var a=function(e,n,t){var i=String(e);return t?"".concat(i," ").concat(n):i},r=function(e){return Math.ceil(4*e)/4}},49643:(e,n,t)=>{t.d(n,{BU:()=>c,VX:()=>o,b4:()=>l,gB:()=>a});var i,a,r=t(64467);!function(e){e.gift="gift",e.groupGift="group-gift"}(a||(a={}));var o=(i={},(0,r.A)(i,a.gift,29),(0,r.A)(i,a.groupGift,31),i),l=function(e){return e===a.gift||e===a.groupGift},c=function(e){return l(e)?e:a.gift}},70106:(e,n,t)=>{t.d(n,{B:()=>f});var i,a=t(96540),r=t(42976),o=t(93089),l=t(98599),c=t(91857);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},s.apply(null,arguments)}const u=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none",viewBox:"0 0 32 32"},e),i||(i=a.createElement("path",{fill:"#292929",fillRule:"evenodd",d:"M7.75 9A1.75 1.75 0 0 0 6 10.75v10.5c0 .966.784 1.75 1.75 1.75h17.5A1.75 1.75 0 0 0 27 21.25v-10.5A1.75 1.75 0 0 0 25.25 9zm-.583 1.75c0-.322.26-.583.583-.583h17.5c.322 0 .583.26.583.583v1.75H7.167zm0 4.083v6.417c0 .322.26.583.583.583h17.5a.583.583 0 0 0 .583-.583v-6.417zm1.166 3.5h2.334V19.5H8.333zm5.834 0h-2.334V19.5h2.334zm1.166 0h2.334V19.5h-2.334zm5.834 0h-2.334V19.5h2.334z",clipRule:"evenodd"})))};var d=t(70185),m=t(63976),p=t(22267);function f(e){var n=e.cardType;return n===r.dt.AMEX?a.createElement(o.A,null):n===r.dt.DINERS_CLUB?a.createElement(l.A,null):n===r.dt.DISCOVER?a.createElement(c.A,null):n===r.dt.JCB?a.createElement(d.A,null):n===r.dt.MASTERCARD?a.createElement(m.A,null):n===r.dt.VISA?a.createElement(p.A,null):a.createElement(u,null)}},50500:(e,n,t)=>{t.d(n,{c:()=>a});var i=t(45458),a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"NegativeSignalModal_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NegativeSignalModal_publisher"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isMuting"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NegativeSignalModal_publisher"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isMuting"}}]}}]}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"NegativeSignalModal_publisher"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publisher"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]))}},14153:(e,n,t)=>{t.d(n,{p:()=>s});var i=t(45458),a=t(2674),r=t(94405),o=t(50500),l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ExplicitSignalMenuOptions_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NegativeSignalModal_post"}}]}}].concat((0,i.A)(o.c.definitions))},c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OverflowMenu_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"OverflowMenuItemUndoClaps_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"AddToCatalogBase_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ExplicitSignalMenuOptions_post"}}]}}].concat((0,i.A)(a.n.definitions),(0,i.A)(r.od.definitions),(0,i.A)(l.definitions))},s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OverflowMenuButton_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"visibility"}},{kind:"FragmentSpread",name:{kind:"Name",value:"OverflowMenu_post"}}]}}].concat((0,i.A)(c.definitions))}},2674:(e,n,t)=>{t.d(n,{n:()=>r});var i=t(45458),a=t(80721),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OverflowMenuItemUndoClaps_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"clapCount"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ClapMutation_post"}}]}}].concat((0,i.A)(a.h5.definitions))}},22071:(e,n,t)=>{t.d(n,{T:()=>h});var i=t(45458),a=t(55918),r=t(59265),o=t(23445),l=t(77485),c=t(3531),s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ReadNextPostAuthorDetails_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"useIsVerifiedBookAuthor_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserMentionTooltip_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserAvatar_user"}}]}}].concat((0,i.A)(a.s.definitions),(0,i.A)(r.v0.definitions),(0,i.A)(o.pB.definitions),(0,i.A)(l.R.definitions))},u={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ReadNextPostAuthorDetails_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionLinkWithPopover_collection"}}]}}].concat((0,i.A)(c.v.definitions))},d={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserLinkWithPopover_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useIsVerifiedBookAuthor_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserMentionTooltip_user"}}]}}].concat((0,i.A)(a.s.definitions),(0,i.A)(r.v0.definitions),(0,i.A)(o.pB.definitions))},m={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewByLineAuthor_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserMentionTooltip_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserAvatar_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserLinkWithPopover_user"}}]}}].concat((0,i.A)(o.pB.definitions),(0,i.A)(l.R.definitions),(0,i.A)(d.definitions))},p=t(82567),f=t(68715),g={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewByLineCollection_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionAvatar_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionTooltip_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionLinkWithPopover_collection"}}]}}].concat((0,i.A)(p.$.definitions),(0,i.A)(f.n.definitions),(0,i.A)(c.v.definitions))},h={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewByLine_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReadNextPostAuthorDetails_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewByLineAuthor_user"}}]}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReadNextPostAuthorDetails_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewByLineCollection_collection"}}]}}]}}].concat((0,i.A)(s.definitions),(0,i.A)(m.definitions),(0,i.A)(u.definitions),(0,i.A)(g.definitions))}},29371:(e,n,t)=>{t.d(n,{V:()=>o});var i=t(45458),a=t(20698),r=t(25703),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewContainer_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"extendedPreviewContent"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isFullContent"}}]}},{kind:"Field",name:{kind:"Name",value:"visibility"}},{kind:"Field",name:{kind:"Name",value:"pinnedAt"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostScrollTracker_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"usePostUrl_post"}}]}}].concat((0,i.A)(a.$.definitions),(0,i.A)(r.c.definitions))}},45020:(e,n,t)=>{t.d(n,{v:()=>d});var i=t(45458),a=t(5890),r=t(14029),o=t(14153),l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewFooterMenu_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BookmarkButton_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"OverflowMenuButton_post"}}]}}].concat((0,i.A)(r.Q.definitions),(0,i.A)(o.p.definitions))},c=t(76790),s=t(4424),u={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewFooterMeta_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isLocked"}},{kind:"Field",name:{kind:"Name",value:"postResponses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"usePostPublishedAt_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Star_post"}}]}}].concat((0,i.A)(c.a.definitions),(0,i.A)(s.c.definitions))},d={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewFooter_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewFooterSocial_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewFooterMenu_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewFooterMeta_post"}}]}}].concat((0,i.A)(a.s.definitions),(0,i.A)(l.definitions),(0,i.A)(u.definitions))}},5890:(e,n,t)=>{t.d(n,{s:()=>r});var i=t(45458),a=t(97595),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewFooterSocial_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MultiVote_post"}},{kind:"Field",name:{kind:"Name",value:"allowResponses"}},{kind:"Field",name:{kind:"Name",value:"isPublished"}},{kind:"Field",name:{kind:"Name",value:"isLimitedState"}},{kind:"Field",name:{kind:"Name",value:"postResponses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"}}]}}]}}].concat((0,i.A)(a.D.definitions))}},99142:(e,n,t)=>{t.d(n,{Q:()=>o});var i=t(45458),a=t(4424),r=t(76790),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewInformation_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"readingTime"}},{kind:"Field",name:{kind:"Name",value:"isLocked"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Star_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"usePostPublishedAt_post"}}]}}].concat((0,i.A)(a.c.definitions),(0,i.A)(r.a.definitions))}},18591:(e,n,t)=>{t.d(n,{e:()=>u});var i=t(45458),a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"GridPostPreviewImage_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"previewImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"GridPostPreviewImage_imageMetadata"}}]}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"GridPostPreviewImage_imageMetadata"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ImageMetadata"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"focusPercentX"}},{kind:"Field",name:{kind:"Name",value:"focusPercentY"}},{kind:"Field",name:{kind:"Name",value:"alt"}}]}}]))},r=t(45020),o=t(22071),l=t(99142),c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"GridPostPreviewContent_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"extendedPreviewContent"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"subtitle"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"GridPostPreviewImage_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewFooter_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewByLine_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewInformation_post"}}]}}].concat((0,i.A)(a.definitions),(0,i.A)(r.v.definitions),(0,i.A)(o.T.definitions),(0,i.A)(l.Q.definitions))},s=t(29371),u={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"GridPostPreview_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"GridPostPreviewContent_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewContainer_post"}}]}}].concat((0,i.A)(c.definitions),(0,i.A)(s.V.definitions))}},8075:(e,n,t)=>{t.d(n,{Y:()=>f,O:()=>g});var i=t(45458),a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StreamPostPreviewImage_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"previewImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StreamPostPreviewImage_imageMetadata"}}]}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"StreamPostPreviewImage_imageMetadata"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ImageMetadata"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"focusPercentX"}},{kind:"Field",name:{kind:"Name",value:"focusPercentY"}},{kind:"Field",name:{kind:"Name",value:"alt"}}]}}]))},r=t(45020),o=t(22071),l=t(99142),c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StreamPostPreviewContent_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"previewImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"extendedPreviewContent"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"subtitle"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"StreamPostPreviewImage_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewFooter_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewByLine_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewInformation_post"}}]}}].concat((0,i.A)(a.definitions),(0,i.A)(r.v.definitions),(0,i.A)(o.T.definitions),(0,i.A)(l.Q.definitions))},s=t(29371),u=t(59265),d=t(23445),m={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewReason_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserMentionTooltip_user"}}]}}].concat((0,i.A)(u.v0.definitions),(0,i.A)(d.pB.definitions))},p={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewReason_postProviderExplanation"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PostProviderExplanation"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reason"}},{kind:"Field",name:{kind:"Name",value:"interactedUsers"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewReason_user"}}]}},{kind:"Field",name:{kind:"Name",value:"tagObject"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewReason_tag"}}]}}]}}].concat((0,i.A)(m.definitions),(0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewReason_tag"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Tag"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"normalizedTagSlug"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"displayTitle"}}]}}]))},f={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StreamPostPreview_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"StreamPostPreviewContent_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewContainer_post"}}]}}].concat((0,i.A)(c.definitions),(0,i.A)(s.V.definitions))},g={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StreamPostPreview_postProviderExplanation"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PostProviderExplanation"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewReason_postProviderExplanation"}}]}}].concat((0,i.A)(p.definitions))}},76790:(e,n,t)=>{t.d(n,{a:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"usePostPublishedAt_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"firstPublishedAt"}},{kind:"Field",name:{kind:"Name",value:"latestPublishedAt"}},{kind:"Field",name:{kind:"Name",value:"pinnedAt"}}]}}]}},54696:(e,n,t)=>{t.d(n,{p:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"usePublicationAnalytics_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"googleAnalyticsId"}}]}}]}},72457:(e,n,t)=>{t.d(n,{LL:()=>u,SR:()=>o,lz:()=>l});var i=t(45458),a=t(8075),r=t(18591),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationSections_publicationPostsSection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PublicationPostsSection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"posts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"layout"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationSectionOverflow_publicationPostsSection"}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationSectionOverflow_publicationPostsSection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PublicationPostsSection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"hasOverflow"}},{kind:"Field",name:{kind:"Name",value:"source"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"normalizedTagSlug"}}]}}]}}]))},l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationSections_publicationSection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PublicationSection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PublicationPromotionSection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationPromo_publicationPromotionSection"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PublicationPostsSection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationSections_publicationPostsSection"}}]}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationPromo_publicationPromotionSection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PublicationPromotionSection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"backgroundColor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rgb"}}]}},{kind:"Field",name:{kind:"Name",value:"buttonText"}},{kind:"Field",name:{kind:"Name",value:"headlineText"}},{kind:"Field",name:{kind:"Name",value:"imageId"}},{kind:"Field",name:{kind:"Name",value:"url"}}]}}]),(0,i.A)(o.definitions))},c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationSectionsStream_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"StreamPostPreview_post"}}]}}].concat((0,i.A)(a.Y.definitions))},s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublicationSectionsGrid_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"GridPostPreview_post"}}]}}].concat((0,i.A)(r.e.definitions))},u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GridPostQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"postIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"postResults"},arguments:[{kind:"Argument",name:{kind:"Name",value:"postIds"},value:{kind:"Variable",name:{kind:"Name",value:"postIds"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationSectionsGrid_post"}}]}}]}}]}}].concat((0,i.A)(s.definitions))};[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"StreamPostQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"postIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"postResults"},arguments:[{kind:"Argument",name:{kind:"Name",value:"postIds"},value:{kind:"Variable",name:{kind:"Name",value:"postIds"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PublicationSectionsStream_post"}}]}}]}}]}}].concat((0,i.A)(c.definitions))},10894:(e,n,t)=>{t.d(n,{p:()=>m});var i=t(96540),a=t(54239),r=t(51260),o=t(39181),l=t(45458),c={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PublicationNavigationContextQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainOrSlug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"collection"},name:{kind:"Name",value:"collectionByDomainOrSlug"},arguments:[{kind:"Argument",name:{kind:"Name",value:"domainOrSlug"},value:{kind:"Variable",name:{kind:"Name",value:"domainOrSlug"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionNavigationContextProvider_collection"}}]}}]}}].concat((0,l.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"CollectionNavigationContextProvider_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"domain"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"isAuroraVisible"}}]}}]))},s=t(33581),u=t(39160),d=function(e){var n=e.children,t=(0,a.zy)().pathname,l=(0,r.W5)(t),d=null==l?void 0:l.params.collectionSlug,m=(0,u.d4)((function(e){return e.navigation.hostname})),p=(0,o.I)(c,{variables:{domainOrSlug:d||m}}),f=p.data,g=p.error;return p.loading||g||null==f||!f.collection?i.createElement(i.Fragment,null,n):i.createElement(s.D,{collection:f.collection},n)},m=function(e){var n=e.children,t=(0,a.zy)().pathname,o=(0,r.W5)(t);return null!=o&&o.route.params.includes("collectionSlug")?i.createElement(i.Fragment,null,n):i.createElement(d,null,n)}},11245:(e,n,t)=>{t.d(n,{n:()=>f});var i=t(96540),a=t(10894),r=t(53259),o=t.n(r),l=t(54239),c=t(69979),s=t(51260),u=t(31905),d=t(39160),m=o()({loader:function(){return t.e(9120).then(t.bind(t,99120))},modules:["./PublicationThemingProvider"],webpack:function(){return[99120]},loading:function(e){var n=e.children;return i.createElement(i.Fragment,null,n)},render:(0,u.X)("PublicationThemingProvider")}),p=function(e){var n=e.children,t=(0,l.zy)().pathname,a=(0,s.W5)(t),r=(0,d.d4)((function(e){return e.navigation.hostname})),o=n;if(!a)return o;if(c.d.has(a.route.name)){var u=a.params.collectionSlug;return i.createElement(m,{domainOrSlug:u||r},n)}return o},f=function(e){var n=e.children;return i.createElement(a.p,null,i.createElement(p,null,n))}},69979:(e,n,t)=>{t.d(n,{d:()=>i});var i=new Set(["ShowCollectionHome","ShowPostUnderCollection","ShowCollectionMasthead","ShowCollectionTagged","ShowLiteCollectionFollowers","ShowCollectionNewsletterPromotionPage","ShowCollectionNewsletterLandingPage"])},26191:(e,n,t)=>{t.d(n,{G:()=>i});var i="#redeemGiftMembership"},5811:(e,n,t)=>{t.d(n,{j:()=>f});var i=t(96540),a=t(52290),r=t(86527),o=t(36557),l=t(72130),c=t(39160),s=t(46879),u=["Help","Status","About","Careers","Press","Blog","Privacy","Terms","Text to speech","Teams"],d={XS:"6px",S:"8px",M:"26px",L:"16px"},m={XS:void 0,S:"4px",M:"8px",L:"0px"},p=u.length,f=(0,i.memo)((function(e){var n=e.padding,t=void 0===n?"24px 0":n,f=e.spacing,g=void 0===f?"M":f,h=e.detailScale,v=void 0===h?"M":h,k=e.backgroundColor,S=e.hideHelpCenterLink,b=void 0!==S&&S,E=e.detailColor,y=void 0===E?"LIGHTER":E,N=e.justifyContent,w=(0,l.$L)(),P=(0,c.d4)((function(e){return e.config.authDomain}));return i.createElement(a.a,{padding:t,display:"flex",flexDirection:"row",flexWrap:"wrap",backgroundColor:k,justifyContent:N},u.map((function(e,n){var t=function(e,n,t){switch(e){case"Help":return t?null:{name:"Help",href:s.y4K,onClickEventName:null};case"Status":return{name:"Status",href:(0,s.hG4)(),onClickEventName:null};case"About":return{name:"About",href:(0,s.$pq)({authDomain:n}),onClickEventName:"homepage.footer.aboutClicked"};case"Careers":return{name:"Careers",href:(0,s.K1h)(),onClickEventName:null};case"Press":return{name:"Press",href:s.bPs,onClickEventName:null};case"Blog":return{name:"Blog",href:(0,s.oSs)(n),onClickEventName:null};case"Privacy":return{name:"Privacy",href:s.wuc,onClickEventName:null};case"Terms":return{name:"Terms",href:s.x0D,onClickEventName:null};case"Text to speech":return{name:"Text to speech",href:"https://speechify.com/medium",onClickEventName:null};case"Teams":return{name:"Teams",href:(0,s.Vqn)(n),onClickEventName:null}}}(e,P,b),l=n===p-1;return t&&i.createElement(a.a,{key:"rc-footer-link-".concat(t.name),marginRight:l?void 0:d[g],marginBottom:m[g]},i.createElement(r.N,{href:t.href,onClick:function(){null!=t&&t.onClickEventName&&w.event(t.onClickEventName,{})}},i.createElement(o.kZ,{scale:v,color:y},t.name)))})))}))},30898:(e,n,t)=>{t.d(n,{c:()=>r});var i=t(45458),a=t(59265),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublisherFollowersCount_publisher"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publisher"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"subscriberCount"}},{kind:"FragmentSpread",name:{kind:"Name",value:"collectionUrl_collection"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"socialStats"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"followerCount"}}]}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}}]}}]}}].concat((0,i.A)(a.dl.definitions),(0,i.A)(a.v0.definitions))}},26679:(e,n,t)=>{t.d(n,{x:()=>i});var i=function(e,n){switch(e){case"ShowHome":return"home";case"ShowPost":case"ShowSequencePost":case"ShowPostUnderCollection":case"ShowPostUnderUser":return"post_page";case"ShowCollectionHome":return"collection_home";case"ShowCollectionTagged":return"collection_tagged";case"ShowCollectionArchive":case"ShowCollectionYearlyArchive":case"ShowCollectionMonthlyArchive":case"ShowCollectionDailyArchive":return"collection_archive";case"ShowUser":return"user_profile_page";case"ShowUserLists":return"user_lists";case"ShowUserBooks":return"user_books";default:return n}}},25703:(e,n,t)=>{t.d(n,{c:()=>r});var i=t(45458),a=t(59265),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"usePostUrl_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}}]}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"domain"}},{kind:"Field",name:{kind:"Name",value:"slug"}}]}},{kind:"Field",name:{kind:"Name",value:"isSeries"}},{kind:"Field",name:{kind:"Name",value:"mediumUrl"}},{kind:"Field",name:{kind:"Name",value:"sequence"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"slug"}}]}},{kind:"Field",name:{kind:"Name",value:"uniqueSlug"}}]}}].concat((0,i.A)(a.v0.definitions))}},64122:(e,n,t)=>{t.d(n,{W:()=>l,f:()=>c});var i=t(96540),a=t(39160),r=t(79959),o=function(e,n){var t=e.id,i=e.hasSubdomain,a=e.username;return a?i?"https://".concat(a,".").concat(n):"https://".concat(n,"/@").concat(a):"https://".concat(n,"/u/").concat(t)},l=function(){var e=(0,a.d4)((function(e){return e.config.authDomain})),n=(0,r.fo)();return(0,i.useCallback)((function(t){var i,a,r,l=t.id,c=t.hasSubdomain,s=t.username,u="customDomainState"in t&&null!==(i=null===(a=t.customDomainState)||void 0===a||null===(r=a.live)||void 0===r?void 0:r.domain)&&void 0!==i?i:null;return n?o({id:l,hasSubdomain:!1,username:s},e):u?"https://".concat(u):o({id:l,hasSubdomain:c,username:s},e)}),[n])},c=function(e){return l()(e)}},83553:(e,n,t)=>{t.d(n,{V:()=>a});var i=t(45458),a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SearchInline_publisher"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publisher"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"domain"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"useAlgoliaSearch_publisher"}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"useAlgoliaSearch_publisher"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publisher"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]))}},89522:(e,n,t)=>{t.d(n,{q:()=>pe,c:()=>me});var i=t(80296),a=t(96540),r=t(54239),o=t(14782),l=t(52290),c=t(33154),s=function(e){var n=e.title;return a.createElement(l.a,{width:"100%",padding:"0 20px"},a.createElement(l.a,{display:"flex",justifyContent:"space-between",marginBottom:"8px"},a.createElement(c.bz,null,n)),a.createElement(o.eS,{paddingTopBottom:"0"}))},u=t(87039),d=t(7580),m=t(86527),p=t(36557),f=t(72130),g=t(44402),h=t(46083),v=t(42600),k=t(50499),S={display:"block",textAlign:"left",width:"252px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},b={fill:"rgba(0, 0, 0, 0.54)",display:"block",marginLeft:"5px",marginRight:"6px"},E=function(e){var n=e.type,t=e.name,i=e.url,r=e.imageId,o=e.query,c=e.queryId,s=e.index,E=e.itemId,y=e.algoliaIndexName,N=e.isFocus,w=e.isLastItem,P=e.description,O=(0,f.$L)(),T=(0,g.l)(),C=(0,k.eb)({queryId:c,indexName:y}),A=a.useRef(null),_=a.useCallback((function(e){O.event("search.predictiveResultClicked",{type:n.toLowerCase(),query:o,path:e.currentTarget.href,rank:0,total:0}),C(E,s)}),[o,n,C,E,s]),I=a.useMemo((function(){return"TAG"===n?a.createElement("div",{className:T(b)},a.createElement(h.A,null)):"COLLECTION"===n?a.createElement(d.r,{miroId:r||"",freezeGifs:!1,alt:t||"Publication avatar",diameter:24}):"USER"===n?a.createElement(d.r,{miroId:r||v._3,alt:t||"",diameter:24,freezeGifs:!1}):a.createElement(a.Fragment,null)}),[t,r]),R=a.useMemo((function(){return a.createElement(p.kZ,{color:"DARKER",scale:"M"},a.createElement("span",{className:T(S)},t))}),[t]);return a.useEffect((function(){N&&A.current&&A.current.focus()}),[N,A.current]),a.createElement(l.a,{display:"flex",tag:"li",paddingLeft:"20px",paddingRight:"12px",marginBottom:w?void 0:"12px"},a.createElement(m.N,{ref:A,tabIndex:-1,linkStyle:"SUBTLE",href:i,onClick:_},a.createElement(u.K,{avatar:I,title:R,description:P&&a.createElement(l.a,{tag:"span",textAlign:"left"},P),clampDescription:1})))},y=t(12378),N=t(56742),w=t(42976),P=t(46879),O=t(88726),T=t(51260),C=t(38090),A=t(34539),_=t(84372),I=t(96445),R=t(79959),F=(0,y.c)(20),L=(0,y.c)(24),M=(0,y.c)(8);function D(e){var n=e.icon,t=e.text,i=e.actionElement,r=e.margin,o=e.href,c=e.isFocus,s=e.rules,u=(0,g.l)(),d=a.useRef(null);return a.useEffect((function(){c&&d.current&&d.current.focus()}),[c,d.current]),a.createElement(l.a,{margin:r},a.createElement("div",{className:u(s)},a.createElement(l.a,{display:"flex",alignItems:"center"},a.createElement(l.a,{flexGrow:"1",flexShrink:"1"},a.createElement(m.N,{href:o,ref:d,tabIndex:-1,linkStyle:"SUBTLE"},a.createElement(l.a,{display:"flex",alignItems:"center"},a.createElement(l.a,{flexShrink:"0",marginRight:"15px"},n),a.createElement(p.kZ,{scale:"M",color:"DARKER",clamp:1},t)))),a.createElement(l.a,{flexShrink:"0"},i))))}var x=function(e){return function(n){return{color:n.colorTokens.foreground.neutral.secondary.base,"& path":{fill:n.colorTokens.foreground.neutral.secondary.base},":hover path":e?{fill:n.colorTokens.foreground.neutral.primary.hover}:void 0}}},U=function(e){return{"&:hover [data-explore-topics-arrow]":{"& path":{fill:e.colorTokens.foreground.neutral.primary.hover}}}};function B(e){var n=e.queries,t=e.refIndex,i=(0,g.l)(),r=(0,T.au)(),o=t===n.length,c=n.length>0?"16px":"24px";return a.createElement(D,{icon:a.createElement(A.A,{className:i(x(!1)),width:L,height:L}),text:"Explore topics",actionElement:a.createElement(m.N,{href:r("ShowExploreTopics",{})},a.createElement(l.a,{width:L,height:L,display:"flex",justifyContent:"center",alignItems:"center",marginLeft:M},a.createElement(C.A,{"data-explore-topics-arrow":!0,className:i(x(!1)),width:"11",height:"11"}))),margin:"".concat(c," ").concat(F),href:r("ShowExploreTopics",{}),isFocus:o,rules:U})}function j(e){var n=e.queries,t=e.setQueries,i=e.refIndex,r=(0,g.l)(),o=(0,T.au)(),c=a.useCallback((function(e){(0,k.uL)(e),t((0,k.oj)())}),[t]);return a.createElement(l.a,{marginTop:"25px"},a.createElement(s,{title:"Recent Searches"}),a.createElement(l.a,{margin:"0px ".concat(F," 16px")},n.map((function(e,n){return a.createElement(D,{key:e,icon:a.createElement(I.A,{className:r(x(!1)),width:L,height:L}),text:e,actionElement:a.createElement(l.a,{marginLeft:M},a.createElement(m.N,{onClick:function(){return c(e)}},a.createElement(_.A,{className:r(x(!0)),width:L,height:L}))),margin:"12px 0 0",href:(0,R.ST)(o("ShowSearch",{}),{q:e}),isFocus:i===n})}))),a.createElement(O.i,null))}function V(e){var n=e.queries,t=e.setQueries,i=e.refIndex;return a.createElement(a.Fragment,null,n.length>0&&a.createElement(j,{queries:n,setQueries:t,refIndex:i}),a.createElement(B,{queries:n,refIndex:i}))}var H=t(91271),G={width:"252px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},W=function(e){var n=e.post,t=e.queryId,i=e.index,r=e.isEntityRouter,o=e.isFocus,c=(0,g.l)(),s=a.useRef(null),u=(0,P.us)({id:n.postId},r),d=(0,k.eb)({queryId:t,indexName:w.XK.POST}),f=a.useCallback((function(){d(n.objectID,i)}),[d,i,n.objectID]);return a.useEffect((function(){o&&s.current&&s.current.focus()}),[o,s.current]),a.createElement(l.a,{display:"flex",tag:"li",paddingLeft:"20px",paddingRight:"12px"},a.createElement(l.a,{marginBottom:"16px"},a.createElement(m.N,{ref:s,onClick:f,tabIndex:-1,linkStyle:"SUBTLE",href:u},a.createElement(p.kZ,{scale:"S",color:"DARKER"},a.createElement("div",{className:c(G)},n.title)),a.createElement(p.kZ,{scale:"S"},a.createElement(H.n9,{timestamp:n.latestPublishedAt})))))},z=(0,y.c)(316);function Y(e){var n=e.data,t=e.refIndex,i=e.isLastPopover,r=e.query,o=n.collections;return a.createElement(a.Fragment,null,a.createElement(s,{title:"Publications"}),a.createElement(l.a,{marginTop:"12px",marginBottom:i?void 0:"15px"},o.hits.map((function(e,n){var i=e.collectionId,l=e.objectID,c=e.imageId,s=e.name;return a.createElement(E,{isFocus:t===n,key:i,algoliaIndexName:w.XK.COLLECTION,index:n,itemId:l,queryId:o.queryId,type:"COLLECTION",name:s,imageId:c,url:(0,P.jiC)(i),query:r,isLastItem:o.hits.length-1===n})}))))}function q(e){var n=e.data,t=e.authDomain,i=e.entityType,r=e.refIndex,o=e.isLastPopover,c=e.query,u=e.hideTagPopoverHeading,d=void 0!==u&&u,m=n.tags;return a.createElement(a.Fragment,null,!d&&a.createElement(s,{title:"Topics"}),a.createElement(l.a,{marginTop:d?"0":"12px",marginBottom:o?void 0:"15px"},m.hits.map((function(e,n){var o=e.displayText,l=e.objectID,s=e.tagSlug;return a.createElement(E,{isFocus:r===n,key:s,type:"TAG",algoliaIndexName:w.XK.TAG,index:n,itemId:l,queryId:m.queryId,name:o,url:(0,P.cpj)(s,t,i),query:c,isLastItem:m.hits.length-1===n})}))))}function K(e){var n=e.data,t=e.authDomain,i=e.refIndex,r=e.isLastPopover,o=e.query,c=n.users;return a.createElement(a.Fragment,null,a.createElement(s,{title:"People"}),a.createElement(l.a,{marginTop:"12px",marginBottom:r?void 0:"15px"},c.hits.map((function(e,n){var r=e.imageId,l=e.objectID,s=e.name,u=e.userId,d=e.username,m=(0,P.GGp)(d,t);return a.createElement(E,{isFocus:i===n,key:u,type:"USER",algoliaIndexName:w.XK.USER,index:n,queryId:c.queryId,itemId:l,imageId:r,name:s,url:m,query:o,isLastItem:c.hits.length-1===n})}))))}function Q(e){var n=e.data,t=e.isCollection,i=e.refIndex,r=e.entityType,o=e.isLastPopover,c=e.isCatalog,u=n.posts,d="Profile";c?d="List":t&&(d="Publication");var m="From this ".concat(d);return a.createElement(a.Fragment,null,a.createElement(s,{title:m}),a.createElement(l.a,{marginTop:"12px",marginBottom:o?void 0:"15px"},u.hits.map((function(e,n){return a.createElement(W,{key:"story-item-".concat(n),post:e,index:n,queryId:u.queryId,isEntityRouter:r!==N.S9.DEFAULT,isFocus:i===n})}))))}function X(e){var n=e.data,t=e.authDomain,i=e.query,r=e.entityType,c=e.focusIndex,s=e.isCollection,u=e.isCatalog,d=e.recentSearches,m=e.setRecentSearches,p=e.hideTagPopoverHeading,f=e.showPopoverEmptyQueryState;if(!i)return f?a.createElement(l.a,{width:z},a.createElement(o.Ni,{padding:"0px"},a.createElement(V,{queries:d,setQueries:m,refIndex:c}))):null;var g=n.collections,h=n.tags,v=n.users,k=n.posts,S=v.hits.length>0,b=g.hits.length>0,E=h.hits.length>0,y=k.hits.length>0;return S||b||E||y?a.createElement(l.a,{width:z},a.createElement(o.Ni,{padding:"30px"},y&&a.createElement(Q,{data:n,isCollection:s,isCatalog:u,isLastPopover:!b&&!E&&!S,refIndex:c,query:i,entityType:r}),S&&a.createElement(K,{data:n,authDomain:t,refIndex:c,isLastPopover:!b&&!E,query:i}),b&&a.createElement(Y,{data:n,refIndex:null!==c?c-v.hits.length:null,isLastPopover:!E,query:i}),E&&a.createElement(q,{data:n,authDomain:t,entityType:r,refIndex:null!==c?c-v.hits.length-g.hits.length:null,isLastPopover:!0,query:i,hideTagPopoverHeading:p}))):null}var Z=t(75636),$=t(24960),J=t(20239),ee=t(39160),ne=t(80890),te=t(5940),ie=t(36178),ae=t(17756),re=t(60603),oe=t(40728),le=function(e){return function(n){return{display:"flex",border:"1px solid ".concat(n.colorTokens.border.neutral.primary.base),borderRadius:"20px",width:e?"100%":"inherit"}}},ce=function(e){return{boxShadow:"0px 2px 10px 0px #00000026",border:"1px solid ".concat(e.colorTokens.border.neutral.primary.base)}},se=function(e){return{":after":{boxShadow:"-1px -1px 1px -1px #00000026",border:"1px solid ".concat(e.colorTokens.border.neutral.primary.base)}}},ue=function(e){return{border:"none",outline:"none",fontFamily:ne.p0,fontSize:"14px",lineHeight:"20px",width:"100%",padding:"10px 20px 10px 0",backgroundColor:"transparent",color:e.colorTokens.foreground.neutral.primary.base,"::placeholder":{color:e.colorTokens.foreground.neutral.secondary.base}}},de="searchResults";function me(e){var n=e.searchPlaceholder,t=e.isPopoverVisible,o=e.onQueryChange,c=e.entityType,s=e.authDomain,u=e.children,d=e.onKeyDown,m=e.watchQueryUrl,p=e.fullWidth,f=e.collectionSlug,h=e.mainSearchCategory,v=e.searchIcon,S=e.searchContainerRules,b=e.initializeQueryFromUrl,E=e.onFocus,y=e.setRecentSearches,N=e.testId,w=(0,g.l)(),O=(0,J.D)(),T=(0,r.zy)(),C=(0,oe.JO)(T.search).q,A=a.useRef(null),_=a.useState(m||b?C:null),I=(0,i.A)(_,2),R=I[0],F=I[1],L=(0,ee.d4)((function(e){return e.navigation.hostname})),M=(0,P.oef)({category:h,collectionSlug:f}),D=(0,ae.r)({queryParams:{q:null!=R?R:""}}),x=a.useCallback((function(){E&&E()}),[E]),U=a.useCallback((function(e){F(e.target.value),o(e.target.value)}),[o]),B=a.useCallback((function(e){"Enter"===e.key&&R&&((0,k.nG)(R),null==y||y((0,k.oj)())),d?d(e):"Enter"===e.key?L===s?D(M):window.location.assign("https://".concat(s).concat(M,"?q=").concat(R)):"ArrowDown"===e.key&&A.current&&A.current.blur()}),[A.current,R,c,s,L,M,D,d]);return a.useEffect((function(){C&&m&&(F(C),o(C))}),[C,o,m]),a.createElement("div",{className:w([le(!!p),S])},u,v||a.createElement(l.a,{tag:"span",padding:"7px 7px 6px 8px"},a.createElement(te.A,{fill:O.colorTokens.foreground.neutral.primary.hover})),a.createElement("input",{role:"combobox","aria-controls":de,"aria-expanded":t?"true":"false","aria-label":"search","data-testid":N,tabIndex:0,className:w(ue),placeholder:n,ref:A,value:null!=R?R:"",onChange:U,onKeyDown:B,onFocus:x}))}function pe(e){var n=e.algoliaIndexes,t=e.algoliaQueryContext,r=e.mainSearchCategory,o=e.publisher,l=e.catalogId,c=e.hitsPerPagePerIndex,s=e.searchIcon,u=e.searchContainerRules,d=e.searchPlaceholder,m=void 0===d?"Search":d,p=e.initializeQueryFromUrl,g=e.hideTagPopoverHeading,h=e.showPopoverEmptyQueryState,v=e.testId,S=(0,f.$L)(),b=(0,re.e)(!1),E=(0,i.A)(b,3),y=E[0],N=E[1],w=E[2],P=(0,ee.d4)((function(e){return e.config.productName})),O=(0,ee.d4)((function(e){return e.config.algolia})),T=(0,ee.d4)((function(e){return e.config.authDomain})),C=(0,ee.d4)((function(e){return e.client.routingEntity.type})),A=a.useState(null),_=(0,i.A)(A,2),I=_[0],R=_[1],F=a.useState(""),L=(0,i.A)(F,2),M=L[0],D=L[1],x="Collection"===(null==o?void 0:o.__typename),U="Collection"===(null==o?void 0:o.__typename)?o.slug:void 0,B=!!(0,Z.z)({name:"can_view_unfiltered_search",placeholder:!1}),j=!B,V=(0,ie.fY)(t,M,n,{filterForHighQuality:j,publisher:o,catalogId:l,hitsPerPagePerIndex:c}),H=(0,i.A)(V,2),G=H[0],W=H[1],z=a.useState((0,k.oj)()),Y=(0,i.A)(z,2),q=Y[0],K=Y[1],Q=h&&!M,J=1+q.length,ne=Q?J:W,te=a.useCallback((function(){Q&&(R(null),y||(N(),S.event("search.predictiveOpened",{})))}),[Q,R,y,N,S]),ae=a.useCallback((function(e){D(e),e||h||w(),R(null),y||(N(),S.event("search.predictiveOpened",{})),S.event("search.predictiveQueried",{query:e})}),[B,N,O,M,h]),oe=a.useCallback((function(){return a.createElement(X,{productName:P,entityType:C,authDomain:T,query:M,data:G,focusIndex:I,isCollection:x,isCatalog:!!l,recentSearches:q,setRecentSearches:K,hideTagPopoverHeading:g,showPopoverEmptyQueryState:h})}),[P,C,T,M,G,I,x,q,K]);return a.useEffect((function(){if(y){var e=function(e){var n="ArrowUp"===e.key,t="ArrowDown"===e.key;if(n||t){e.preventDefault();var i=ne-1;if(null===I&&t)R(0);else if(null!==I){var a=(I+(t?1:-1))%ne;R(a<0?i:a)}}};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}}),[I,y,ne]),a.createElement(me,{authDomain:T,entityType:C,isPopoverVisible:ne>0&&y,searchPlaceholder:m,onQueryChange:ae,collectionSlug:U,mainSearchCategory:r,searchIcon:s,searchContainerRules:u,initializeQueryFromUrl:p,onFocus:te,setRecentSearches:K,testId:v},a.createElement($.A,{ariaId:de,isVisible:ne>0&&y,hide:w,arrowPadding:{left:32},popoverRenderFn:oe,setMaxHeight:!0,popoverRules:ce,arrowRules:se,placement:"bottom-start",targetDistance:25},a.createElement(a.Fragment,null)))}},22805:(e,n,t)=>{t.d(n,{W:()=>i,R:()=>_});var i,a=t(96540),r=t(80545),o=t(1620),l=t(26947),c=t(91967),s=t(28072),u=t(52290),d=t(51260),m=t(39160),p=t(17756),f=t(80296),g=t(88609),h=t(4441),v=t(78968),k=t(27721),S=t(99731),b=t(48198),E=t(85050),y=t(39410),N=t(36557),w=t(42976),P=t(42600),O=t(60603),T=t(59301),C=30*P.ei*6,A=function(e){var n=e.onClose,t=(0,d.au)();return a.createElement(u.a,{display:"flex",borderRadius:"4px",backgroundColor:"BASE_LIGHT",padding:"16px 40px 16px 24px",gap:{xs:"8px",sm:"8px",md:"24px",lg:"24px",xl:"24px"},flexDirection:{xs:"column",sm:"column",md:"row",lg:"row",xl:"row"},alignItems:{xs:"flex-start",sm:"flex-start",md:"center",lg:"center",xl:"center"},position:"relative",marginTop:"40px"},a.createElement(E.V,{xs:!0,sm:!0},a.createElement(g.K,{size:32,filled:!0})),a.createElement(E.V,{md:!0,lg:!0,xl:!0},a.createElement(g.K,{size:64,filled:!0})),a.createElement(u.a,{display:"flex",flexWrap:"wrap",gap:"8px",flexBasis:"0",flexGrow:"1",flexDirection:{xs:"column",sm:"column",md:"row",lg:"row",xl:"row"}},a.createElement(u.a,{display:"flex",flexDirection:"column",gap:"4px",flexGrow:"1"},a.createElement(y.hE,{scale:{xs:"XS",sm:"XS",md:"S",lg:"S",xl:"S"}},"Become a Friend of Medium"),a.createElement(N.kZ,{scale:{xs:"M",sm:"M",md:"L",lg:"L",xl:"L"}},"Give 4x more to the writers you read most.")),a.createElement(u.a,{alignSelf:{xs:"flex-start",sm:"flex-start",md:"center",lg:"center",xl:"center"}},a.createElement(S.$n,{href:t("ShowManageMembershipPage",{}),buttonStyle:"SUBTLE",size:"REGULAR"},"Upgrade"))),a.createElement(b.J,{onClick:n,absoluteOffset:"8px",size:"REGULAR"}))};!function(e){e.Account="account",e.Publishing="publishing",e.Notifications="notifications",e.Membership="membership",e.Security="security"}(i||(i={}));var _=function(e){var n,t,g,S,b,E,y,N,P,_=e.children,I=e.activeTab,R=(0,p.r)(),F=(t=(0,k.R)().value,g=(0,T.z)().canSwitchMembershipPlan,S=(0,O.e)(!1),E=(b=(0,f.A)(S,2))[0],y=b[1],N=(0,m.d4)((function(e){return e.client.hydrated})),P=(0,m.d4)((function(e){return e.client.isNativeMedium})),{isVisible:g&&N&&!P&&!E&&(null==t||null===(n=t.membership)||void 0===n?void 0:n.tier)===w.T3.MEMBER&&!(0,h.y)((0,v.iY)(),C),hide:(0,a.useCallback)((function(){y(),(0,v.yi)(new Date)}),[y])}),L=F.isVisible,M=F.hide,D=(0,d.DI)("ShowSettings",{}),x=(0,d.DI)("ShowSettingsTab",{setting:i.Publishing}),U=(0,d.DI)("ShowSettingsTab",{setting:i.Notifications}),B=(0,d.DI)("ShowSettingsTab",{setting:i.Membership}),j=(0,d.DI)("ShowSettingsTab",{setting:i.Security}),V=(0,a.useMemo)((function(){return[{text:"Account",onClick:function(){return R(D)},isActive:I===i.Account},{text:"Publishing",onClick:function(){return R(x)},isActive:I===i.Publishing},{text:"Notifications",onClick:function(){return R(U)},isActive:I===i.Notifications},{text:"Membership and payment",onClick:function(){return R(B)},isActive:I===i.Membership},{text:"Security and apps",onClick:function(){return R(j)},isActive:I===i.Security}]}),[I,R]),H=(0,m.d4)((function(e){return e.config.productName})),G=(0,a.useMemo)((function(){return a.createElement(c.s,null,"Settings")}),[]);return a.createElement(s.P,{size:"app"},a.createElement(r.mg,null,a.createElement("title",null,"Settings",H?" - ".concat(H):null)),L&&a.createElement(A,{onClose:M}),a.createElement(u.a,{paddingBottom:"32px"},a.createElement(o.zY,{heading:G,marginTop:L?"40px":void 0,navbarMargin:{xs:"32px",sm:"32px",md:"56px",lg:"56px",xl:"56px"},navbar:a.createElement(l.F,{items:V})}),_))}},97078:(e,n,t)=>{t.d(n,{AA:()=>r,Fo:()=>s,Jp:()=>g,Mz:()=>c,bK:()=>h,cZ:()=>a,gu:()=>p,i4:()=>f,nE:()=>u,oC:()=>o,pJ:()=>d,q2:()=>i,t4:()=>m,t_:()=>l});var i="#email",a="#profileInformation",r="#username",o="#audience-development",l="#followers",c="#managePublications",s="#email-settings",u="#manageSubscriptions",d="#membership",m="#payment",p="#connections",f="#developers",g="#security",h="#tokens"},91967:(e,n,t)=>{t.d(n,{s:()=>l});var i=t(96540),a=t(52290),r=t(56942),o={xs:"M",sm:"M",md:"XL",lg:"XL",xl:"XL"},l=function(e){var n=e.children;return i.createElement(a.a,null,i.createElement(r.DZ,{scale:o,tag:"h1",clamp:1},n))}},3326:(e,n,t)=>{t.d(n,{r:()=>f});var i=t(58168),a=t(80296),r=t(96540),o=t(19228),l=t(52290),c=t(44402),s=t(20239),u=t(11334),d=t(66305),m=t(79429),p=t(40064),f=function(e){var n=e.children,t=e.height,f=e.setHeight,g=e.contentPadding,h=e.onHide,v=e.isVisible,k=e.containerRules,S=e.hideDirection,b=e.contentProps,E=e.hideOnEscapeKey,y=e.onTransitionEnd,N=(0,c.l)(),w=(0,s.D)(),P=(0,o.qt)().baseTheme,O=(0,p._I)(w,P),T=(0,r.useState)(!1),C=(0,a.A)(T,2),A=C[0],_=C[1],I=(0,m.s)({onPresentedFn:function(e){f(e.boundingClientRect.height)}});(0,r.useEffect)((function(){var e=function(){if(I.current){var e=I.current;f(e.getBoundingClientRect().height)}};return d.R5.on("resize_throttled",e),function(){d.R5.off("resize_throttled",e)}}),[]);var R=(0,r.useCallback)((function(){if(I.current){_(!0);var e=I.current;e.style.transition="margin .3s","up"===S?e.style.marginTop="-".concat(t,"px"):"down"===S&&(e.style.marginBottom="-".concat(t,"px"))}}),[t,S]),F=(0,r.useCallback)((function(){A?(null==h||h(),f(0)):null==y||y()}),[h,f,A,y]),L=(0,r.useCallback)((function(e){"Escape"===e.key&&R()}),[R]);return(0,r.useEffect)((function(){if(E&&v)return window.addEventListener("keydown",L),function(){window.removeEventListener("keydown",L)}}),[L,v,E]),v?r.createElement(u.N,{theme:O},r.createElement("div",{ref:I,onTransitionEnd:F,className:N(k)},r.createElement(l.a,(0,i.A)({position:"relative",padding:g,display:"flex",alignItems:{xs:"flex-start",sm:"flex-start",md:"center",lg:"center",xl:"center"},justifyContent:{xs:"space-between",sm:"space-between",md:"center",lg:"center",xl:"center"}},b),n({hide:R,containerRef:I})))):null}},72113:(e,n,t)=>{t.d(n,{I:()=>u});var i=t(58168),a=t(96540),r=t(52290),o=t(48198),l=t(85050),c=t(20239),s={position:"relative",":after":{position:"absolute",content:'""',left:"-8px",right:"-8px",top:"-8px",bottom:"-8px"}},u=function(e){var n=e.onClose,t=e.isDark,u=e.containerProps,d=e.iconColor,m=(0,c.D)(),p=t?m.colorTokens.foreground.neutral.primary.base:void 0,f=d||p,g=(0,a.useMemo)((function(){return{onClick:n,size:"REGULAR",isPositionAbsolute:!1,compensateInnerPadding:!1,"data-testid":"close-button",iconFillColor:f}}),[n,t,m]);return a.createElement(r.a,(0,i.A)({position:{xs:void 0,sm:void 0,md:"absolute",lg:"absolute",xl:"absolute"},padding:{xs:"13px 24px 0 24px",sm:"13px 24px 0 24px",md:void 0,lg:void 0,xl:void 0},right:"24px"},u),a.createElement(l.V,{md:!0,lg:!0,xl:!0},a.createElement(o.J,g)),a.createElement(l.V,{xs:!0,sm:!0},a.createElement(o.J,(0,i.A)({},g,{linkRules:s}))))}},4441:(e,n,t)=>{function i(e,n){if(!e)return!1;var t=(new Date).getTime()-e.getTime();return t>=0&&t<n}t.d(n,{y:()=>i})},35460:(e,n,t)=>{t.d(n,{m:()=>r});var i=t(56742),a=t(51260),r=function(e){var n,t=(0,a.RW)(),r=(null==t?void 0:t.type)===i.S9.USER&&null!==(n=t.id)&&void 0!==n?n:null,o=e.username;return{id:r,username:void 0===o?null:o}}},91052:(e,n,t)=>{t.d(n,{i:()=>r,k:()=>a});var i=t(45458),a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserPronouns_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pronouns"}}]}}]},r={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserPronounsQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserPronouns_user"}}]}}]}}].concat((0,i.A)(a.definitions))}},55918:(e,n,t)=>{t.d(n,{s:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"useIsVerifiedBookAuthor_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"verifications"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isBookAuthor"}}]}}]}}]}},88474:(e,n,t)=>{function i(e){var n;return!!e&&!(null===(n=e.verifications)||void 0===n||!n.isBookAuthor)}t.d(n,{E:()=>i})},32097:(e,n,t)=>{t.d(n,{Qy:()=>s,Wp:()=>d,tY:()=>c,v4:()=>m});var i=t(80296),a=t(78968),r=t(49287),o=t(53413),l=function(){return window.branch&&window.branch.closeJourney&&window.branch.setBranchViewData&&window.branch.track&&window.branch.link},c=function(e){l()&&window.branch.closeJourney((function(){e&&e()}))},s=function(e){var n,t,i=e.inAppBrowser,r=e.post,o=e.referrer,l=e.referrerSource,c=e.viewer,s=e.profile_name,d=e.profile_photo,m=e.profile_username,p=e.page_type,f=e.currentUserId,g=e.creatorViewerEdge,h=e.collectionViewerEdge,v=e.topicViewerEdge,k=null!==(n=null==c||null===(t=c.membership)||void 0===t?void 0:t.memberSince)&&void 0!==n?n:null,S=r||{},b=S.creator,E=S.layerCake,y=S.primaryTopic,N=S.collection,w=S.content,P=E&&(1===E||2===E||3===E),O=P&&y?y.name:null,T=P&&y?y.slug:null,C=o&&l?u(o,l):"Other",A={data:{in_app_browser:i||"Null",is_logged_in:!!c,is_member:!!k&&k>0,user_created_at:c?c.viewerEdge.createdAt:"Null",medium_member_at:k||"Null",post_topic_name:O||"Null",post_topic_slug:T||"Null",post_publication_name:N?N.name:"Null",post_publication_id:N?N.id:"Null",layer_cake:E,num_nonmoc_posts_in_month:(0,a._1)(),num_posts_in_day:(0,a.nW)(),num_posts_in_week:(0,a.tU)(),num_posts_in_month:(0,a.ri)(),post_creator_name:b?b.name:"Null",post_creator_id:b?b.id:"Null",source:C||"Null",following_author:!(null==g||!g.isFollowing),following_pub:!(null==h||!h.isFollowing),following_topic:!(!P||null==v||!v.isFollowing),profile_name:s||"Null",profile_photo:d||"Null",profile_username:m||"Null",page_type:p||"Null",uid:f}};return w&&w.isLockedPreviewOnly?A.data.meter_state="paywalled":A.data.is_member?A.data.meter_state="member":A.data.meter_state="not_metered",A},u=function(e,n){if((0,o.p2)(e))return"Twitter";if((0,o.In)(e))return"Facebook";if(n){var t=(0,r.PJ)(n),a=t.name,l=t.dimension;if("email"===a&&l){var c=l.split("."),s=(0,i.A)(c,2),u=s[0],d=s[1];if("newsletter"===u)return"Pub Digest";if("member"===u)return"Marketing Email";if("digest"===u){if("reader"===d)return"Daily Digest";if("weekly"===d)return"Weekly Digest"}}}return(0,o.c5)(e,n)?"Search":"Other"},d=function e(n){l()?(window.branch.setIdentity(n.data.uid),delete n.data.uid,window.branch.setBranchViewData(n)):setTimeout((function(){e(n)}),500)},m=function e(n){l()?window.branch.track("pageview",(function(){n&&n()})):setTimeout((function(){e(n)}),500)}},94405:(e,n,t)=>{t.d(n,{jq:()=>u,od:()=>c});var i=t(45458),a=t(62742),r=t(37561),o=t(20631),l=t(6925),c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"AddToCatalogBase_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isPublished"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SusiClickable_post"}}]}}].concat((0,i.A)(a.CV.definitions))},s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"AddToCatalogBaseQuery_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogsConnection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogsContainingThis"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"EnumValue",value:"LISTS"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogId"}},{kind:"Field",name:{kind:"Name",value:"catalogItemIds"}}]}},{kind:"Field",name:{kind:"Name",value:"predefinedContainingThis"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogId"}},{kind:"Field",name:{kind:"Name",value:"predefined"}},{kind:"Field",name:{kind:"Name",value:"catalogItemIds"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"editCatalogItemsMutation_postViewerEdge"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useAddItemToPredefinedCatalog_postViewerEdge"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"WithToggleInsideCatalog_post"}}]}}].concat((0,i.A)(r.t.definitions),(0,i.A)(o.W.definitions),(0,i.A)(l.n.definitions))},u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AddToCatalogBaseQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"postId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isPostKind"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"postResult"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"postId"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"isPostKind"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AddToCatalogBaseQuery_post"}}]}}]}}]}}].concat((0,i.A)(s.definitions))}},52144:(e,n,t)=>{t.d(n,{P:()=>r});var i=t(45458),a=t(94405),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"AddToCatalogBookmarkButton_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AddToCatalogBase_post"}}]}}].concat((0,i.A)(a.od.definitions))}},6925:(e,n,t)=>{t.d(n,{C:()=>i,n:()=>a});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"WithToggleInsideCatalog_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"predefined"}}]}}]},a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"WithToggleInsideCatalog_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogsConnection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogsContainingThis"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"EnumValue",value:"LISTS"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogId"}}]}},{kind:"Field",name:{kind:"Name",value:"predefinedContainingThis"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"predefined"}}]}}]}}]}}]}}]}},20631:(e,n,t)=>{t.d(n,{M:()=>a,W:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"useAddItemToPredefinedCatalog_postViewerEdge"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PostViewerEdge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"catalogsConnection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"predefinedContainingThis"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogId"}},{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"predefined"}},{kind:"Field",name:{kind:"Name",value:"catalogItemIds"}}]}}]}}]}}]},a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddToPredefinedCatalog"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"type"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PredefinedCatalogType"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"operation"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PredefinedCatalogAddOperationInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addToPredefinedCatalog"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"Variable",name:{kind:"Name",value:"type"}}},{kind:"Argument",name:{kind:"Name",value:"operation"},value:{kind:"Variable",name:{kind:"Name",value:"operation"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AddToPredefinedCatalogSucces"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"insertedItem"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"catalogItemId"}},{kind:"Field",name:{kind:"Name",value:"catalogId"}}]}}]}}]}}]}}]}},37561:(e,n,t)=>{t.d(n,{t:()=>i,u:()=>a});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"editCatalogItemsMutation_postViewerEdge"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PostViewerEdge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"catalogsConnection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogsContainingThis"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"EnumValue",value:"LISTS"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogId"}},{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"catalogItemIds"}}]}},{kind:"Field",name:{kind:"Name",value:"predefinedContainingThis"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogId"}},{kind:"Field",name:{kind:"Name",value:"predefined"}},{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"catalogItemIds"}}]}}]}}]}}]},a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"EditCatalogItems"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"catalogId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"version"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"operations"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CatalogItemMutateOperationInput"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"editCatalogItems"},arguments:[{kind:"Argument",name:{kind:"Name",value:"catalogId"},value:{kind:"Variable",name:{kind:"Name",value:"catalogId"}}},{kind:"Argument",name:{kind:"Name",value:"version"},value:{kind:"Variable",name:{kind:"Name",value:"version"}}},{kind:"Argument",name:{kind:"Name",value:"operations"},value:{kind:"Variable",name:{kind:"Name",value:"operations"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"EditCatalogItemsSuccess"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"operations"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"preprend"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"catalogItemId"}}]}},{kind:"Field",name:{kind:"Name",value:"append"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"catalogItemId"}}]}},{kind:"Field",name:{kind:"Name",value:"move"}}]}}]}}]}}]}}]}},82567:(e,n,t)=>{t.d(n,{$:()=>r});var i=t(45458),a=t(59265),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CollectionAvatar_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"avatar"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"collectionUrl_collection"}}]}}].concat((0,i.A)(a.dl.definitions))}},3545:(e,n,t)=>{t.d(n,{V:()=>o,f:()=>l});var i=t(45458),a=t(59265),r=t(62742),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CollectionFollowButton_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]},l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CollectionFollowButton_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"FragmentSpread",name:{kind:"Name",value:"collectionUrl_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SusiClickable_collection"}}]}}].concat((0,i.A)(a.dl.definitions),(0,i.A)(r.Km.definitions))}},3531:(e,n,t)=>{t.d(n,{v:()=>o});var i=t(45458),a=t(59265),r=t(68715),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CollectionLinkWithPopover_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"collectionUrl_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionTooltip_collection"}}]}}].concat((0,i.A)(a.dl.definitions),(0,i.A)(r.n.definitions))}},80604:(e,n,t)=>{t.d(n,{D:()=>o});var i=t(45458),a=t(59265),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CollectionJsonLd_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"logo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PrepareLogoForJsonLd_imageMetadata"}}]}},{kind:"Field",name:{kind:"Name",value:"avatar"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"focusPercentX"}},{kind:"Field",name:{kind:"Name",value:"focusPercentY"}},{kind:"Field",name:{kind:"Name",value:"originalHeight"}},{kind:"Field",name:{kind:"Name",value:"originalWidth"}}]}},{kind:"Field",name:{kind:"Name",value:"domain"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"collectionUrl_collection"}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"PrepareLogoForJsonLd_imageMetadata"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ImageMetadata"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"originalWidth"}},{kind:"Field",name:{kind:"Name",value:"originalHeight"}}]}}]),(0,i.A)(a.dl.definitions))},o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CollectionMetadata_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"avatar"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"focusPercentX"}},{kind:"Field",name:{kind:"Name",value:"focusPercentY"}},{kind:"Field",name:{kind:"Name",value:"originalHeight"}},{kind:"Field",name:{kind:"Name",value:"originalWidth"}}]}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"twitterScreenName"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}}]}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"domain"}},{kind:"Field",name:{kind:"Name",value:"facebookPageId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"tags"}},{kind:"Field",name:{kind:"Name",value:"twitterUsername"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"ptsQualifiedAt"}},{kind:"Field",name:{kind:"Name",value:"customDomainState"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"live"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"isSubdomain"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"collectionUrl_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionJsonLd_collection"}}]}}].concat((0,i.A)(a.v0.definitions),(0,i.A)(a.dl.definitions),(0,i.A)(r.definitions))}},33581:(e,n,t)=>{t.d(n,{$:()=>o,D:()=>l});var i=t(96540),a=t(39160),r=(0,i.createContext)({canBypassVanityForHref:function(){return!1}}),o=function(){return(0,i.useContext)(r)},l=function(e){var n=e.collection,t=e.children,o=(0,a.d4)((function(e){return e.config.authDomain})),l=(0,i.useCallback)((function(e){if(!n)return!1;var t=n.isAuroraVisible,i=n.slug,a=n.domain;return!!t&&(a?e.startsWith("https://".concat(a))||e.startsWith("/"):e.startsWith("https://".concat(o,"/").concat(i))||e.startsWith("/".concat(i)))}),[n]);return i.createElement(r.Provider,{value:{canBypassVanityForHref:l}},t)}},91271:(e,n,t)=>{t.d(n,{Yr:()=>c,ay:()=>l,n9:()=>o});var i=t(72379),a=t(72346),r=t(96540),o=function(e){var n=e.timestamp,t=e.testId,i=e.isShorthand;return r.createElement("span",{suppressHydrationWarning:!0,"data-testid":t},l(n,i))};function l(e,n){return(0,i.A)(e)===(0,i.A)(t.g.Date.now())?n?(0,a.A)(e,"LLL d"):(0,a.A)(e,"LLL d, yyyy"):n?(0,a.A)(e,"MMM d, yyyy"):(0,a.A)(e,"LLL d, yyyy")}var c={jan:{label:"January",index:1},feb:{label:"February",index:2},mar:{label:"March",index:3},apr:{label:"April",index:4},may:{label:"May",index:5},jun:{label:"June",index:6},jul:{label:"July",index:7},aug:{label:"August",index:8},sep:{label:"September",index:9},oct:{label:"October",index:10},nov:{label:"November",index:11},dec:{label:"December",index:12}}},5863:(e,n,t)=>{t.d(n,{m:()=>f,s:()=>g});var i=t(80296),a=t(96720),r=t(96540),o=t(27049),l=t(46963),c=t(57005),s=t(34223),u=t(62830),d=t(27721),m=(0,r.createContext)({fullNavbarHeight:0,addHeightChangeHandler:function(){return null},removeHeightChangeHandler:function(){return null},setTopNavUpsellHeight:function(){return null},topNavUpsellHeight:0}),p="nav_bar_height_change",f=function(e){var n=e.children,t=e.isFixed,f=(0,r.useMemo)((function(){return new a.A}),[]),g=(0,d.R)(),h=g.value,v=!g.loading&&!!h,k=(0,r.useState)(0),S=(0,i.A)(k,2),b=S[0],E=S[1],y=(0,l.U)(),N=(0,r.useMemo)((function(){var e=u.oe+s.Jm;switch(y){case o.i.xs:case o.i.sm:return e;case o.i.md:return v?u.oe:e;default:return u.oe}}),[y,v]),w=(0,r.useCallback)((function(e){f.emit(p,{currentHeight:e,fullHeight:N})}),[f,N]),P=(0,r.useRef)(N),O=(0,r.useCallback)((function(){return Math.max(0,window.scrollY)}),[]),T=(0,r.useRef)(0),C=(0,r.useCallback)((function(e){P.current!==e&&w(e),P.current=e}),[w]),A=(0,r.useCallback)((function(e){var n=Math.min(Math.max(P.current-e,0),N);C(n)}),[C,N]);(0,c.E)((function(){var e=function(){var e=O();0===e?C(N):e!==T.current&&A(e-T.current),T.current=e};if(!t)return e(),window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)};C(N)}),[t,C,N]);var _=(0,r.useCallback)((function(e){return e({currentHeight:P.current,fullHeight:N}),f.on(p,e)}),[f,N]),I=(0,r.useCallback)((function(e){return f.off(p,e)}),[f]),R=(0,r.useMemo)((function(){return{fullNavbarHeight:N,addHeightChangeHandler:_,removeHeightChangeHandler:I,setTopNavUpsellHeight:E,topNavUpsellHeight:b}}),[N,_,I,E,b]);return r.createElement(m.Provider,{value:R},n)},g=function(){return(0,r.useContext)(m)}},70663:(e,n,t)=>{t.d(n,{S:()=>E});var i,a=t(96540),r=t(44402),o=t(46989);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},l.apply(null,arguments)}const c=function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:696,height:196,fill:"none",viewBox:"0 0 696 196"},e),i||(i=a.createElement("path",{fill:"#242424",d:"M63.3 154.005c42.062 0 74.545-24.779 74.545-73.296 0-44.768-28.11-72.462-74.96-72.462H0v1.25c10.203 2.498 14.368 6.454 14.368 19.989v102.03c0 14.784-4.373 18.741-14.368 21.239v1.25zm-7.704-5.206h-7.08V13.452h7.08c30.61 0 45.185 17.075 45.185 69.964 0 50.807-13.326 65.383-45.185 65.383m134.781 8.329c18.115 0 37.064-10.828 42.27-40.812l-1.458-.416c-6.039 13.118-15.617 16.449-26.861 16.449-20.198 0-33.941-14.784-36.023-41.437h64.133c.209-34.357-20.614-47.059-40.812-47.059-28.527 0-47.475 24.571-47.475 58.72 0 35.815 22.072 54.555 46.226 54.555m13.743-71.421h-36.023v-2.29c0-20.823 7.287-33.733 18.948-33.733 10.411 0 17.283 9.37 17.075 36.023m77.726 70.38 39.771-90.786c4.79-11.036 7.913-15.2 14.993-17.075v-1.25h-31.026v1.25c8.121 1.041 11.244 4.581 11.244 9.787 0 2.707-1.041 5.83-2.29 9.162l-19.782 46.434-19.781-46.85c-1.458-3.54-2.291-6.664-2.291-8.955 0-5.622 3.54-8.537 11.244-9.578v-1.25h-58.095v1.25c6.455 1.666 10.412 6.455 14.993 17.075l39.771 90.786zm92.511 1.041c18.115 0 37.064-10.828 42.27-40.812l-1.458-.416c-6.038 13.118-15.617 16.449-26.861 16.449-20.198 0-33.941-14.784-36.023-41.437h64.133c.209-34.357-20.614-47.059-40.812-47.059-28.527 0-47.475 24.571-47.475 58.72 0 35.815 22.072 54.555 46.226 54.555M388.1 85.707h-36.023v-2.29c0-20.823 7.288-33.733 18.948-33.733 10.411 0 17.283 9.37 17.075 36.023m87.305 68.298v-1.25c-8.121-1.874-12.286-5.413-12.286-13.742V2l-43.102 12.702v1.25c9.162 1.04 12.285 4.788 12.285 14.367v108.694c0 8.329-4.165 11.868-12.285 13.742v1.25zm56.487 3.123c32.275 0 53.931-23.529 53.931-56.637s-21.656-56.638-53.931-56.638-54.139 23.53-54.139 56.638 21.864 56.637 54.139 56.637m0-6.663c-14.992 0-21.239-15.409-21.239-49.974 0-34.774 6.247-49.974 21.239-49.974 14.784 0 21.239 15.2 21.239 49.974 0 34.565-6.455 49.974-21.239 49.974M643.56 195.65v-1.249c-11.245-1.458-16.45-4.373-16.45-13.743v-28.944c4.581 3.124 11.244 5.414 17.907 5.414 28.944 0 50.391-25.195 50.391-62.051 0-31.026-16.242-51.224-38.522-51.224-13.118 0-24.571 6.872-29.776 18.533V44.27l-43.103 11.869v1.25c9.37.832 12.285 4.164 12.285 15.2v108.069c0 8.329-4.164 11.869-12.285 13.743v1.249zm-3.54-43.936c-6.663 0-10.828-3.539-12.91-6.455V64.884c2.29-4.164 6.455-6.663 12.077-6.663 14.159 0 22.905 18.116 22.905 46.851 0 28.943-9.37 46.642-22.072 46.642"})))};var s,u;function d(){return d=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},d.apply(null,arguments)}const m=function(e){return a.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:534,height:160,fill:"none",viewBox:"0 0 534 160"},e),s||(s=a.createElement("g",{clipPath:"url(#clip0_12180_3252)"},a.createElement("path",{fill:"#242424",d:"M62.885 154.007v-1.249c-9.995-2.499-14.368-7.705-14.368-20.615v-49.35h52.058v49.35c0 12.91-4.165 18.116-14.368 20.615v1.249h62.885v-1.249c-9.995-2.499-14.368-7.705-14.368-20.615V30.111c0-12.91 4.373-18.116 14.368-20.615v-1.25H86.207v1.25c10.203 2.499 14.368 7.705 14.368 20.615v46.851H48.517V30.111c0-12.91 4.373-18.116 14.368-20.615v-1.25H0v1.25c9.995 2.499 14.368 7.705 14.368 20.615v102.032c0 12.91-4.373 18.116-14.368 20.615v1.249zm169.973 3.124c14.576 0 25.612-8.746 29.152-25.821l-1.874-.208c-2.29 7.704-6.871 9.995-10.828 9.995-4.581 0-8.121-3.748-8.121-11.036V88.207c0-26.653-12.077-44.353-39.771-44.353-24.571 0-40.397 14.993-43.728 38.939l1.665.416c4.582-16.242 14.16-22.697 27.695-22.697 17.491 0 23.322 11.037 23.322 27.07v4.373l-17.283 3.54c-23.947 4.997-38.939 17.075-38.939 35.607 0 13.743 9.995 26.029 27.902 26.029 15.618 0 25.821-9.579 28.736-19.99l.416 1.665c1.458 11.037 8.746 18.325 21.656 18.325m-34.774-15.826c-9.995 0-15.201-8.329-15.201-18.949 0-10.203 3.124-20.406 19.366-23.738l8.121-1.457v36.44c-2.499 5.414-6.456 7.704-12.286 7.704m98.551 15.826c18.116 0 29.36-12.494 33.941-27.695l-1.666-.625c-2.499 7.08-7.08 12.286-15.409 12.286-7.704 0-11.661-6.455-11.661-16.034V51.559h21.032v-4.165H301.84V13.036h-.833c-11.66 16.242-26.028 27.903-42.27 37.481v1.041h12.077v78.295c0 16.241 8.329 27.278 25.821 27.278m79.601 0c22.906 0 39.356-16.451 41.23-41.438l-1.25-.416c-4.581 12.493-14.576 16.866-27.069 16.866-24.78 0-37.065-22.28-37.065-42.479 0-20.823 9.162-34.15 27.486-34.15 15.201 0 24.571 11.453 25.821 33.11l1.249.207 10.62-37.064c-8.954-4.79-21.24-7.913-34.983-7.913-31.651 0-53.098 23.738-53.098 58.721 0 32.691 19.157 54.556 47.059 54.556m94.178-3.124v-1.249c-7.079-1.666-9.37-4.79-9.37-12.494V68.009c2.707-5.623 7.288-10.204 15.409-10.204 9.578 0 14.784 6.247 14.784 18.95v63.509c0 7.704-2.499 10.828-9.37 12.494v1.249h52.474v-1.249c-8.121-1.874-12.286-5.414-12.286-13.743V75.297c0-19.157-10.62-31.443-30.401-31.443-15.201 0-26.654 8.33-30.61 20.615V2l-43.103 12.702v1.25c9.162 1.04 12.285 4.789 12.285 14.367v108.696c0 8.329-4.164 11.869-12.285 13.743v1.249z"}))),u||(u=a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_12180_3252"},a.createElement("path",{fill:"#fff",d:"M0 0h534v160H0z"})))))};var p;function f(){return f=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},f.apply(null,arguments)}const g=function(e){return a.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:719,height:160,fill:"none",viewBox:"0 0 719 160"},e),p||(p=a.createElement("path",{fill:"#242424",d:"m174.104 9.734.215-.047V8.02H130.39L89.6 103.89 48.81 8.021H1.472v1.666l.212.047c8.018 1.81 12.09 4.509 12.09 14.242V137.93c0 9.734-4.087 12.433-12.106 14.243l-.212.047v1.671h32.118v-1.665l-.213-.048c-8.018-1.809-12.089-4.509-12.089-14.242V30.586l52.399 123.305h2.972l53.925-126.743V140.75c-.687 7.688-4.721 10.062-11.982 11.701l-.215.05v1.652h55.948v-1.652l-.215-.05c-7.269-1.639-11.4-4.013-12.087-11.701l-.037-116.774h.037c0-9.733 4.071-12.432 12.087-14.242m25.555 75.488c.915-20.474 8.268-35.252 20.606-35.507 3.806.063 6.998 1.312 9.479 3.714 5.272 5.118 7.751 15.812 7.368 31.793zm-.553 5.77h65.573v-.275c-.186-15.656-4.721-27.834-13.466-36.196-7.559-7.227-18.751-11.203-30.507-11.203h-.263c-6.101 0-13.584 1.48-18.909 4.16-6.061 2.807-11.407 7.003-15.855 12.511-7.161 8.874-11.499 20.866-12.554 34.343q-.05.606-.092 1.212a50 50 0 0 0-.065 1.151 85.807 85.807 0 0 0-.094 5.689c.71 30.524 17.198 54.917 46.483 54.917 25.705 0 40.675-18.791 44.407-44.013l-1.886-.664c-6.557 13.556-18.334 21.771-31.738 20.769-18.297-1.369-32.314-19.922-31.042-42.395m139.722 41.359c-2.151 5.101-6.639 7.908-12.653 7.908s-11.513-4.129-15.418-11.63c-4.197-8.053-6.405-19.436-6.405-32.92 0-28.067 8.729-46.22 22.24-46.22 5.657 0 10.111 2.807 12.236 7.704zm43.499 20.008c-8.019-1.897-12.089-4.722-12.089-14.951V1.309l-48.716 14.353v1.757l.299-.024c6.72-.543 11.278.386 13.925 2.83 2.072 1.915 3.082 4.853 3.082 8.987v18.66c-4.803-3.067-10.516-4.56-17.448-4.56-14.059 0-26.909 5.92-36.176 16.672-9.66 11.205-14.767 26.518-14.767 44.278-.003 31.72 15.612 53.039 38.851 53.039 13.595 0 24.533-7.449 29.54-20.013v16.865h43.711v-1.746zM424.1 19.819c0-9.904-7.468-17.374-17.375-17.374-9.859 0-17.573 7.632-17.573 17.374s7.721 17.374 17.573 17.374c9.907 0 17.375-7.47 17.375-17.374m11.499 132.546c-8.019-1.897-12.089-4.722-12.089-14.951h-.035V43.635l-43.714 12.551v1.705l.263.024c9.458.842 12.047 4.1 12.047 15.152v81.086h43.751v-1.746zm112.013 0c-8.018-1.897-12.089-4.722-12.089-14.951V43.635l-41.621 12.137v1.71l.246.026c7.733.813 9.967 4.257 9.967 15.36v59.279c-2.578 5.102-7.415 8.131-13.274 8.336-9.503 0-14.736-6.419-14.736-18.073V43.638l-43.714 12.55v1.703l.262.024c9.459.84 12.05 4.097 12.05 15.152v50.17a56.3 56.3 0 0 0 .91 10.444l.787 3.423c3.701 13.262 13.398 20.197 28.59 20.197 12.868 0 24.147-7.966 29.115-20.43v17.311h43.714v-1.747zm169.818 1.788v-1.749l-.213-.05c-8.7-2.006-12.089-5.789-12.089-13.49v-63.79c0-19.89-11.171-31.761-29.883-31.761-13.64 0-25.141 7.882-29.569 20.16-3.517-13.01-13.639-20.16-28.606-20.16-13.146 0-23.449 6.938-27.869 18.657V43.643L545.487 55.68v1.715l.263.024c9.345.829 12.047 4.181 12.047 14.95v81.784h40.787v-1.746l-.215-.053c-6.941-1.631-9.181-4.606-9.181-12.239V66.998c1.836-4.289 5.537-9.37 12.853-9.37 9.086 0 13.692 6.296 13.692 18.697v77.828h40.797v-1.746l-.215-.053c-6.94-1.631-9.18-4.606-9.18-12.239V75.066a42 42 0 0 0-.578-7.26c1.947-4.661 5.86-10.177 13.475-10.177 9.214 0 13.691 6.114 13.691 18.696v77.828z"})))};var h=t(97114),v=t(39160),k=function(){return(0,v.d4)((function(e){return e.config.productName}))},S={XS:{height:"22px"},S:{height:"25px"},M:{height:"27px"},L:{height:"32px"}},b=function(e){return function(n){var t=e||n.colorTokens.foreground.neutral.primary.base;return{width:"auto","& path":{fill:(0,h.HD)(n.backgroundColor)?o.aX:t}}}},E=function(e){var n=e.size,t=void 0===n?"S":n,i=e.fill,o="Hatch"===k(),l="Develop"===k(),s=(0,r.l)(),u=g;return l?u=c:o&&(u=m),a.createElement(u,{className:s([b(i),S[t]])})}},34223:(e,n,t)=>{t.d(n,{Jm:()=>y,hP:()=>P,oX:()=>E});var i,a=t(64467),r=t(96540),o=t(54239),l=t(60301),c=t(86527),s=t(39),u=t(44402),d=t(56742),m=t(51260),p=t(39160);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},f.apply(null,arguments)}const g=function(e){return r.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:10,height:10,fill:"none",viewBox:"0 0 10 10"},e),i||(i=r.createElement("path",{fill:"currentColor",d:"M.985 8.485a.375.375 0 1 0 .53.53zM8.75 1.25h.375A.375.375 0 0 0 8.75.875zM8.375 6.5a.375.375 0 1 0 .75 0zM3.5.875a.375.375 0 1 0 0 .75zm-1.985 8.14 7.5-7.5-.53-.53-7.5 7.5zm6.86-7.765V6.5h.75V1.25zM3.5 1.625h5.25v-.75H3.5z"})))};var h=t(46879),v=t(99404);function k(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function S(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?k(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var b={marginLeft:"8px"},E=function(e){return{padding:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0 24px",alignItems:"center",borderBottom:"solid 1px ".concat(e.colorTokens.border.neutral.primary.base)}},y=41,N=function(e){return function(){return{flex:e?"1":void 0,display:{xs:"flex",sm:"flex",md:"flex",lg:"none",xl:"none"},alignItems:"center",justifyContent:e?"center":void 0,height:"100%"}}},w=function(e){var n=e.postId,t=e.collectionSlug,i=e.isMember,a=e.routeName,o=e.catalogSlugId,f=e.username,h=(0,u.l)(),v=(0,m.RW)().type,k=(0,p.d4)((function(e){return e.navigation.hostname})),S=(0,s.Z)({name:"detail",color:"LIGHTER",scale:"S"}),E=(0,l.c)({postId:n,collectionSlug:t,collectionHostname:v===d.S9.COLLECTION?k:null,routeName:a,username:f,catalogSlugId:o}),y=E.onClick,w=E.href;return r.createElement(c.N,{href:w,onClick:y,rules:[N(i),S],inheritBorder:!1},"Open in app",r.createElement(g,{className:h(b)}))},P=function(e){var n,t=e.loading,i=e.viewer,a=(0,u.l)(),l=(0,o.zy)(),c=(0,m.W5)(l.pathname),s=c?(0,h.quc)(c):"",d=null==c?void 0:c.route.name,f=!t&&!!i,g=f&&!!i.membership;return(0,p.d4)((function(e){return e.client.isNativeMedium}))?null:r.createElement("div",{className:a((n=!f,function(e){var t=n?"space-between":"center";return S(S({},E(e,n?void 0:"0")),{},{display:{xs:"flex",sm:"flex",md:"flex",lg:"none",xl:"none"},justifyContent:{xs:t,sm:t,md:t,lg:void 0,xl:void 0},height:"".concat(y,"px"),lineHeight:"20px"})}))},!t&&r.createElement(r.Fragment,null,r.createElement(w,{postId:s,collectionSlug:null==c?void 0:c.params.collectionSlug,isMember:g,routeName:d,username:null==c?void 0:c.params.username,catalogSlugId:null==c?void 0:c.params.catalogSlugId}),!f&&r.createElement(v.K,{routeName:d})))}},62830:(e,n,t)=>{t.d(n,{oe:()=>Wn,ps:()=>zn,jq:()=>Qn,ED:()=>Kn});var i,a,r=t(64467),o=t(96540),l=t(54239),c=t(22805),s=t(52290),u=t(86527),d=t(85050),m=t(12378),p=t(44402),f=t(51260),g=t(80296),h=t(39181),v=t(7580),k=t(23393),S=t(24960),b=t(72130),E=t(49287),y=t(42600),N=t(31372),w=t(60603),P=t(45458),O=t(59265),T=t(55918),C={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CollectionMenuItem_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"avatar"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"collectionUrl_collection"}}]}}].concat((0,P.A)(O.dl.definitions))},A=t(99886),_=t(33285),I={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"AvatarMenu_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"membership"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"memberSince"}},{kind:"Field",name:{kind:"Name",value:"tier"}}]}},{kind:"Field",name:{kind:"Name",value:"emailObfuscated"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useIsVerifiedBookAuthor_user"}},{kind:"Field",name:{kind:"Name",value:"adminCollections"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionMenuItem_collection"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedAccounts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mediumMastodon"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"membership"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"useIsReactivateMembershipVisible_membershipStatus"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useCanSwitchMembershipPlan_membershipStatus"}}]}}]}}]}}].concat((0,P.A)(O.v0.definitions),(0,P.A)(T.s.definitions),(0,P.A)(C.definitions),(0,P.A)(A.r.definitions),(0,P.A)(_.u.definitions))},R={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AvatarMenuQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AvatarMenu_user"}}]}},{kind:"Field",name:{kind:"Name",value:"partnerProgramEnrollment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}].concat((0,P.A)(I.definitions))},F=t(88609),L=t(48795),M=t(56173),D=t(60491),x=t(43964),U=t(59031),B=t(59301),j=t(65498),V=t(5811),H=t(88474),G=t(75636),W=t(66305),z=t(42976),Y=t(39160),q=t(46879);function K(){return K=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},K.apply(null,arguments)}const Q=function(e){return o.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),i||(i=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",d:"M15 18.5a3 3 0 1 1-6 0"})),a||(a=o.createElement("path",{stroke:"currentColor",strokeLinejoin:"round",d:"M5.5 10.532V9a6.5 6.5 0 0 1 13 0v1.532c0 1.42.564 2.782 1.568 3.786l.032.032c.256.256.4.604.4.966v2.934a.25.25 0 0 1-.25.25H3.75a.25.25 0 0 1-.25-.25v-2.934c0-.363.144-.71.4-.966l.032-.032A5.35 5.35 0 0 0 5.5 10.532Z"})))};var X,Z;function $(){return $=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},$.apply(null,arguments)}const J=function(e){return o.createElement("svg",$({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),X||(X=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",d:"M15 18.5a3 3 0 1 1-6 0"})),Z||(Z=o.createElement("path",{fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round",d:"M5.5 10.532V9a6.5 6.5 0 0 1 13 0v1.532c0 1.42.564 2.782 1.568 3.786l.032.032c.256.256.4.604.4.966v2.934a.25.25 0 0 1-.25.25H3.75a.25.25 0 0 1-.25-.25v-2.934c0-.363.144-.71.4-.966l.032-.032A5.35 5.35 0 0 0 5.5 10.532Z"})))};var ee,ne;function te(){return te=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},te.apply(null,arguments)}const ie=function(e){return o.createElement("svg",te({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),ee||(ee=o.createElement("path",{stroke:"currentColor",d:"M6.44 6.69a1.5 1.5 0 0 1 1.06-.44h9a1.5 1.5 0 0 1 1.06.44l.354-.354-.353.353A1.5 1.5 0 0 1 18 7.75v14l-5.694-4.396-.306-.236-.306.236L6 21.75v-14c0-.398.158-.78.44-1.06Z"})),ne||(ne=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",d:"M12.5 2.75h-8a2 2 0 0 0-2 2v11.5"})))};var ae,re=t(89547);function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},oe.apply(null,arguments)}const le=function(e){return o.createElement("svg",oe({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),ae||(ae=o.createElement("path",{stroke:"currentColor",d:"M2.75 19h4.5a.25.25 0 0 0 .25-.25v-6.5a.25.25 0 0 0-.25-.25h-4.5a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25ZM9.75 19h4.5a.25.25 0 0 0 .25-.25V8.25a.25.25 0 0 0-.25-.25h-4.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25ZM16.75 19h4.5a.25.25 0 0 0 .25-.25V4.25a.25.25 0 0 0-.25-.25h-4.5a.25.25 0 0 0-.25.25v14.5c0 .138.112.25.25.25Z"})))};var ce;function se(){return se=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},se.apply(null,arguments)}const ue=function(e){return o.createElement("svg",se({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),ce||(ce=o.createElement("path",{fill:"currentColor",stroke:"currentColor",d:"M2.75 19h4.5a.25.25 0 0 0 .25-.25v-6.5a.25.25 0 0 0-.25-.25h-4.5a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25ZM9.75 19h4.5a.25.25 0 0 0 .25-.25V8.25a.25.25 0 0 0-.25-.25h-4.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25ZM16.75 19h4.5a.25.25 0 0 0 .25-.25V4.25a.25.25 0 0 0-.25-.25h-4.5a.25.25 0 0 0-.25.25v14.5c0 .138.112.25.25.25Z"})))};var de,me;function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},pe.apply(null,arguments)}const fe=function(e){return o.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),de||(de=o.createElement("path",{stroke:"currentColor",d:"M4.75 21.5h14.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25H4.75a.25.25 0 0 0-.25.25v18.5c0 .138.112.25.25.25Z"})),me||(me=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",d:"M8 8.5h8M8 15.5h5M8 12h8"})))};var ge;function he(){return he=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},he.apply(null,arguments)}const ve=function(e){return o.createElement("svg",he({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),ge||(ge=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 2.75A.75.75 0 0 1 4.75 2h14.5a.75.75 0 0 1 .75.75v18.5a.75.75 0 0 1-.75.75H4.75a.75.75 0 0 1-.75-.75zM7 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m0 7a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5M7 12a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 7 12",clipRule:"evenodd"})))};var ke,Se;function be(){return be=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},be.apply(null,arguments)}const Ee=function(e){return o.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),ke||(ke=o.createElement("path",{fill:"currentColor",d:"M14 4a.5.5 0 0 0 0-1zm7 6a.5.5 0 0 0-1 0zm-7-7H4v1h10zM3 4v16h1V4zm1 17h16v-1H4zm17-1V10h-1v10zm-1 1a1 1 0 0 0 1-1h-1zM3 20a1 1 0 0 0 1 1v-1zM4 3a1 1 0 0 0-1 1h1z"})),Se||(Se=o.createElement("path",{stroke:"currentColor",d:"m17.5 4.5-8.458 8.458a.25.25 0 0 0-.06.098l-.824 2.47a.25.25 0 0 0 .316.316l2.47-.823a.25.25 0 0 0 .098-.06L19.5 6.5m-2-2 2.323-2.323a.25.25 0 0 1 .354 0l1.646 1.646a.25.25 0 0 1 0 .354L19.5 6.5m-2-2 2 2"})))};var ye,Ne;function we(){return we=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},we.apply(null,arguments)}const Pe=function(e){return o.createElement("svg",we({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),ye||(ye=o.createElement("circle",{cx:12,cy:7,r:4.5,stroke:"currentColor",strokeWidth:1.75})),Ne||(Ne=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.75,d:"M3.5 21.5v-4.342C3.5 15.414 7.306 14 12 14s8.5 1.414 8.5 3.158V21.5"})))};var Oe,Te;function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ce.apply(null,arguments)}const Ae=function(e){return o.createElement("svg",Ce({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),Oe||(Oe=o.createElement("circle",{cx:12,cy:7,r:4.5,stroke:"currentColor"})),Te||(Te=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",d:"M3.5 21.5v-4.342C3.5 15.414 7.306 14 12 14s8.5 1.414 8.5 3.158V21.5"})))};var _e,Ie=t(96445);function Re(){return Re=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Re.apply(null,arguments)}const Fe=function(e){return o.createElement("svg",Re({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),_e||(_e=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m14.937 15.397-2.22 6.104a.766.766 0 0 1-1.435 0l-2.22-6.104a.78.78 0 0 0-.459-.46L2.5 12.717a.766.766 0 0 1 0-1.435l6.104-2.22a.78.78 0 0 0 .46-.459l2.22-6.104a.766.766 0 0 1 1.435 0l2.22 6.104a.78.78 0 0 0 .459.46l6.104 2.22a.766.766 0 0 1 0 1.435l-6.104 2.22a.78.78 0 0 0-.46.459"})))};var Le,Me=function(e){var n=e.routeName,t=e.isActive;switch(n){case"ShowNewPost":return o.createElement(Ee,{"aria-label":"Write"});case"ShowPartnerDashboard":return o.createElement(Fe,{"aria-label":"Partner Dashboard"});case"ShowSearch":return o.createElement(Ie.A,{"aria-label":"Search"});case"ShowStats":return t?o.createElement(ue,{"aria-label":"Stats"}):o.createElement(le,{"aria-label":"Stats"});case"ShowUser":return t?o.createElement(Pe,{"aria-label":"Profile"}):o.createElement(Ae,{"aria-label":"Profile"});case"ShowYourLists":return t?o.createElement(re.A,{"aria-label":"Lists"}):o.createElement(ie,{"aria-label":"Lists"});case"ShowYourNotifications":return t?o.createElement(J,{"aria-label":"Notifications"}):o.createElement(Q,{"aria-label":"Notifications"});case"ShowYourStories":return t?o.createElement(ve,{"aria-label":"Stories"}):o.createElement(fe,{"aria-label":"Stories"});default:return null}},De=t(36557),xe=function(e){var n=e.icon,t=e.text,i=e.isActive;return o.createElement(s.a,{display:"flex",alignItems:"center"},n,o.createElement(s.a,{marginLeft:"16px"},o.createElement(De.kZ,{scale:"M",clamp:1,color:i?"DARKER":"LIGHTER"},t)))},Ue=t(80045),Be=t(43634),je=t(39),Ve=["href","onClick","isLoggedIn","susiEntry","target"],He=function(e,n){return function(t){return{padding:"".concat(n?8:6,"px 24px"),"&:hover":{color:t.colorTokens.foreground.neutral.primary.base},"&:hover p":e?void 0:{color:t.colorTokens.foreground.neutral.primary.base}}}},Ge={width:"100%",border:"none",textAlign:"left"},We=function(e){var n=e.children,t=e.staticDetailColor,i=e.withIcon,a=e.isActive,r=(0,p.l)(),l=(0,je.Z)({name:"detail",color:a?"DARKER":"LIGHTER",scale:"M"});return o.createElement("div",{className:r([l,He(t,i)])},n)},ze=function(e){var n=e.href,t=e.onClick,i=e.isLoggedIn,a=e.susiEntry,r=e.target,l=(0,Ue.A)(e,Ve);return!i&&a?o.createElement(Be.r,{operation:"register",susiEntry:a,redirectTo:n},o.createElement(We,l)):o.createElement(u.N,{href:n,onClick:t,rules:Ge,target:r},o.createElement(We,l))},Ye=function(e){var n=e.routeName,t=e.isActive,i=e.onClick,a=e.href,r=e.text,l=e.routeParams,c=void 0===l?{}:l,s=(0,f.au)();return o.createElement(ze,{href:null!=a?a:s(n,c),onClick:i,isActive:t,withIcon:!0},o.createElement(xe,{icon:o.createElement(Me,{routeName:n,isActive:t}),text:r,isActive:t}))},qe=function(e){var n=e.children,t=e.padding,i=void 0===t?"16px 0":t;return o.createElement(s.a,{padding:i,borderBottom:"neutral.primary"},n)},Ke=t(78723),Qe=t(47517),Xe=function(e){var n=e.viewer,t=(0,f.au)(),i=(0,Ke.L)(),a=(0,o.useState)(""),r=(0,g.A)(a,2),l=r[0],c=r[1],u=(0,Y.ZA)((function(e){return e.session.xsrf})),d=t("AcctSignout",{xsrf:u}),m=(0,o.useCallback)((function(){c(d)}),[c,d]);return o.useEffect((function(){l&&(null==i||i.logoutUser(),window.location.assign(l))}),[l,i]),u||Qe.v.error({userId:n.id,mobile:!1},"No xsrf token found."),o.createElement(ze,{onClick:m,staticDetailColor:!0},o.createElement(s.a,{marginBottom:"4px"},"Sign out"),o.createElement(De.kZ,{scale:"S",clamp:1},n.emailObfuscated))},Ze=t(56942),$e="global_nav",Je=function(){return o.createElement(qe,null,o.createElement(s.a,{padding:"16px 24px 8px",textAlign:"center"},o.createElement(Ze.DZ,{scale:"XS"},"Get started on Medium"),o.createElement(s.a,{paddingTop:"24px"},o.createElement(Be.r,{operation:"register",susiEntry:$e,isButton:!0,buttonSize:"SMALL",buttonStyle:"STRONG",buttonWidth:"100%"},"Sign up")),o.createElement(s.a,{marginTop:"16px"},o.createElement(Be.r,{operation:"login",susiEntry:$e,isButton:!0,buttonSize:"SMALL",buttonStyle:"SUBTLE",buttonWidth:"100%"},"Sign in"))))},en=t(72346),nn=t(64122),tn=t(97078);function an(){return an=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},an.apply(null,arguments)}const rn=function(e){return o.createElement("svg",an({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,fill:"none",viewBox:"0 0 18 18"},e),Le||(Le=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.289 9q.002.619.442 1.058c.293.3.645.442 1.058.442.412 0 .765-.15 1.057-.442.3-.293.443-.645.443-1.058q-.002-.619-.443-1.057A1.45 1.45 0 0 0 4.79 7.5q-.619.002-1.058.443c-.3.292-.442.645-.442 1.057m4.215 0c0 .413.15.765.435 1.058.3.3.652.442 1.065.442s.765-.15 1.057-.442c.3-.293.443-.645.443-1.058q-.002-.619-.443-1.057A1.45 1.45 0 0 0 9.004 7.5c-.413 0-.773.15-1.065.443A1.44 1.44 0 0 0 7.504 9m4.2 0c0 .413.15.765.435 1.058.3.3.652.442 1.072.442s.773-.15 1.065-.442c.293-.293.435-.645.435-1.058 0-.412-.15-.765-.435-1.057a1.45 1.45 0 0 0-1.065-.443q-.632.002-1.072.443A1.44 1.44 0 0 0 11.704 9",clipRule:"evenodd"})))};var on=t(79959),ln=function(e){var n,t=e.collection,i=e.onClick,a=(0,Y.d4)((function(e){return e.navigation.currentLocation})),r=(0,Y.d4)((function(e){return e.config.authDomain})),l=(0,q.eBL)(t,a,r),c=t.name||"";return o.createElement(ze,{href:l,withIcon:!0,onClick:i},o.createElement(xe,{icon:o.createElement(v.r,{miroId:(null===(n=t.avatar)||void 0===n?void 0:n.id)||y._3,alt:c,diameter:24,freezeGifs:!0}),text:c}))},cn=function(e){return{margin:"8px 24px",height:"1px",width:"24px",backgroundColor:e.colorTokens.background.neutral.secondary.base}},sn=function(){var e=(0,p.l)();return o.createElement("div",{className:e(cn)})},un=function(e){var n,t=e.viewer,i=e.hide,a=e.isPartnerProgramEnrolled,r=(0,f.au)(),u=!(null===(n=t.membership)||void 0===n||!n.memberSince),m=(0,nn.f)(t),p=t.adminCollections,g=(0,on.ST)(r("ShowSettingsTab",{setting:c.W.Publishing}),{},tn.Mz),h=(0,l.zy)(),v=(0,f.W5)(h.pathname),k=null==v?void 0:v.route.name,S=(0,o.useMemo)((function(){if("ShowUser"!==k)return!1;var e=window.location.href;return e.endsWith("/")&&(e=e.substring(0,e.length-1)),e===m}),[m,k]);return o.createElement(o.Fragment,null,u&&o.createElement(s.a,{margin:"4px 4px 0",borderRadius:"4px",backgroundColor:"BASE_LIGHT",padding:"8px",display:"flex",alignItems:"center",justifyContent:"center"},o.createElement(s.a,{marginRight:"8px",display:"flex",alignItems:"center"},o.createElement(M.s,{tier:t.membership.tier,size:14})),o.createElement(De.kZ,{scale:"XS"},"Member since ",(0,en.A)(t.membership.memberSince,"LLLL yyyy"))),o.createElement(qe,{padding:u?"8px 0 16px":void 0},o.createElement(d.V,{xs:!0,sm:!0},o.createElement(Ye,{routeName:"ShowNewPost",onClick:i,text:"Write"}),o.createElement(sn,null)),o.createElement(Ye,{href:m,routeName:"ShowUser",text:"Profile",isActive:S,onClick:i}),o.createElement(Ye,{routeName:"ShowYourLists",onClick:i,text:"Library",isActive:"ShowYourLists"===k}),o.createElement(Ye,{routeName:"ShowYourStories",routeParams:{filterBy:"drafts"},onClick:i,text:"Stories",isActive:"ShowYourStories"===k}),o.createElement(Ye,{onClick:i,routeName:"ShowStats",text:"Stats",isActive:"ShowStats"===k}),a&&o.createElement(Ye,{onClick:i,routeName:"ShowPartnerDashboard",text:"Partner Program",isActive:"ShowPartnerDashboard"===k}),p.length?o.createElement(o.Fragment,null,o.createElement(sn,null),p.slice(0,3).map((function(e){return o.createElement(ln,{key:e.id,collection:e,onClick:i})})),p.length>3&&o.createElement(ze,{href:g,withIcon:!0,onClick:i},o.createElement(xe,{icon:o.createElement(s.a,{height:"24px",width:"24px",backgroundColor:"BASE_NORMAL",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center"},o.createElement(rn,null)),text:"See all publications"}))):null),o.createElement(qe,{padding:"18px 0"},o.createElement(ze,{href:r("ShowSettings",{}),onClick:i},"Settings"),o.createElement(ze,{href:r("ShowFollowsIndex",{}),onClick:i},"Refine recommendations"),o.createElement(ze,{href:g,onClick:i},"Manage publications"),o.createElement(ze,{href:q.y4K,onClick:i},"Help")))},dn="global_nav",mn=function(e){var n,t,i,a,r,l,c,u,m=e.viewer,p=e.isPartnerProgramEnrolled,g=e.hide,h=(0,f.au)(),v=!!(0,G.z)({name:"disable_lite_gift_page",placeholder:!1}),k=(0,G.z)({name:"enable_mastodon_for_members",placeholder:!1}),S=(0,H.E)(m),b=(null==m||null===(n=m.membership)||void 0===n?void 0:n.tier)===z.T3.MEMBER,E=(null==m||null===(t=m.membership)||void 0===t?void 0:t.tier)===z.T3.FRIEND,y=(0,j.U)(null==m||null===(i=m.viewerEdge)||void 0===i?void 0:i.membership),N=(0,B.z)({membership:null==m||null===(a=m.viewerEdge)||void 0===a?void 0:a.membership,skip:!0}).canSwitchMembershipPlan,w=(0,q.FwS)(),P=!(null==m||null===(r=m.linkedAccounts)||void 0===r||null===(l=r.viewerEdge)||void 0===l||!l.mediumMastodon);(0,o.useEffect)((function(){return W.R5.on("scroll",g),function(){W.R5.off("scroll",g)}}),[]),u=m?o.createElement(un,{viewer:m,isPartnerProgramEnrolled:p,hide:g}):o.createElement(o.Fragment,null,o.createElement(Je,null),o.createElement(d.V,{xs:!0,sm:!0},o.createElement(qe,null,o.createElement(Ye,{routeName:"ShowNewPost",onClick:g,text:"Write"}))));var O=[];b||E||O.push(o.createElement(ze,{key:"become-member",href:h("ShowPay",{}),susiEntry:dn,isLoggedIn:!!m,target:"_blank"},o.createElement(s.a,{display:"flex",justifyContent:"space-between",alignItems:"center"},"Become a Medium member",o.createElement(L.a,{size:16})))),null!=m&&null!==(c=m.viewerEdge)&&void 0!==c&&c.membership&&y&&O.push(o.createElement(x.u,{key:"reactivate-membership"},(function(e){var n,t=e.showConfirmation;return o.createElement(ze,{susiEntry:dn,isLoggedIn:!0,onClick:t},o.createElement(s.a,{display:"flex",justifyContent:"space-between",alignItems:"center"},o.createElement(U.Z,{tag:"span"},"Reactivate Membership"),o.createElement(M.s,{tier:null===(n=m.membership)||void 0===n?void 0:n.tier,size:16})))}))),b&&!y&&N&&O.push(o.createElement(ze,{key:"switch-membership",href:h("ShowManageMembershipPage",{}),susiEntry:dn,isLoggedIn:!!m,target:"_blank"},o.createElement(s.a,{display:"flex",justifyContent:"space-between",alignItems:"center"},"Become a Friend of Medium",o.createElement(F.K,{size:16})))),k&&P?O.push(o.createElement(ze,{href:w,target:"_blank",key:"mastodon"},"Go to me.dm")):k&&O.push(o.createElement(ze,{key:"mastodon",href:h("ShowMastodonForMembersPage",{}),susiEntry:dn,isLoggedIn:!!m,target:"_blank"},o.createElement(D.o,null,"Create a Mastodon account"))),S||O.push(o.createElement(ze,{key:"apply-verified-author",href:h("ShowLandingVerifiedAuthors",{}),susiEntry:dn,isLoggedIn:!!m},"Apply for author verification")),p||O.push(o.createElement(ze,{key:"apply-partner-program",href:h("ShowLandingPartnerProgram",{}),susiEntry:dn,isLoggedIn:!!m},"Apply to the Partner Program")),v||O.push(o.createElement(ze,{key:"gift-membership",href:h(m?"ShowLiteGiftCheckout":"ShowGiftLanding",{}),target:"_blank"},"Gift a membership"));var T=O.length>0?o.createElement(qe,{padding:"18px 0"},O):null,C=(0,Y.d4)((function(e){return e.client.isNativeMedium}));return o.createElement(s.a,{width:"264px"},u,T,m&&!C&&o.createElement(qe,{padding:"18px 0"},o.createElement(Xe,{viewer:m})),o.createElement(d.V,{xs:!0,sm:!0,md:!0},o.createElement(V.j,{padding:"16px 24px",detailScale:"XS",spacing:"S",backgroundColor:"BASE_LIGHT",hideHelpCenterLink:!0})))},pn=function(e){return{border:"none",background:"transparent",padding:"0",display:"flex",alignItems:"center",cursor:"pointer","& svg":{marginLeft:"4px",fill:e.colorTokens.foreground.neutral.secondary.base},":hover svg":{fill:e.colorTokens.foreground.neutral.primary.base}}},fn=function(e){return function(n){return{backgroundColor:n.backgroundColor,opacity:e?0:1,transition:"opacity ".concat(300,"ms")}}},gn=function(e){var n,t=e.viewer,i=(0,p.l)(),a=(0,b.$L)(),r=(0,E.Fo)(),l=(0,w.e)(!1),c=(0,g.A)(l,3),s=c[0],u=c[1],d=c[2],m=(0,o.useState)(!1),f=(0,g.A)(m,2),P=f[0],O=f[1],T=(0,N.L)().timer,C=(0,h.I)(R,{ssr:!1}).data,A=null==C?void 0:C.viewer,_="PartnerProgramEnrollment"===(null==C||null===(n=C.partnerProgramEnrollment)||void 0===n?void 0:n.__typename),I=(0,o.useCallback)((function(){O(!0),T((function(){d(),O(!1)}),300)}),[T,O,d]),F=(0,o.useCallback)((function(){return o.createElement(mn,{viewer:A,isPartnerProgramEnrolled:_,hide:I})}),[A,_,I]),L=(0,o.useCallback)((function(){a.event("nav.avatarMenuOpened",{dimension:null==r?void 0:r.dimension}),u()}),[a,r,u]);return o.createElement(o.Fragment,null,o.createElement(S.A,{noPortal:!0,display:"block",isVisible:s,hide:I,targetDistance:8,horizontalTargetDistance:8,placement:"bottom-end",popoverRules:fn(P),flip:!1,setMaxHeight:!0,popoverRenderFn:F,noArrow:!0,hideOnOutsideClick:!0,overflowPadding:16},o.createElement("button",{className:i(pn),"aria-label":"user options menu",onClick:s?I:L,"data-testid":"headerUserIcon"},t?o.createElement(k.H8,{user:t,scale:"XS",showBadge:!0,showHoverState:!0}):o.createElement(v.r,{miroId:y._3,diameter:32,alt:"",showHoverState:!0}))))},hn=t(58168),vn=["height","width","borderRadius"],kn=function(e){var n=e.height,t=void 0===n?"24px":n,i=e.width,a=void 0===i?{xs:"24px",sm:"24px",md:"64px",lg:"64px",xl:"64px"}:i,r=e.borderRadius,l=void 0===r?"4px":r,c=(0,Ue.A)(e,vn);return o.createElement(d.V,(0,hn.A)({marginLeft:"24px",height:t,width:a,backgroundColor:"BASE_LIGHT",borderRadius:l},c))},Sn=function(){return o.createElement(o.Fragment,null,o.createElement(kn,{xs:!0,sm:!0,md:!0,lg:!0,xl:!0}),o.createElement(kn,{md:!0,lg:!0,xl:!0}),o.createElement(kn,{md:!0,lg:!0,xl:!0}),o.createElement(kn,{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,borderRadius:"50%",height:"32px",width:"32px"}))},bn=t(70663),En=t(34223),yn=t(27721),Nn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UnreadNotificationCount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"notificationStatus"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"unreadNotificationCount"}}]}}]}}]},wn=function(e,n){return function(t){return{position:"absolute",top:"-9px",left:e,right:n,borderRadius:"7px",minWidth:"14px",minHeight:"16px",color:t.colorTokens.background.neutral.primary.base,background:t.colorTokens.background.accent.primary.base,textAlign:"center",display:"inline-block",padding:"0 4px",border:"solid 3px ".concat(t.backgroundColor)}}},Pn=function(e){var n,t=e.left,i=e.right,a=(0,p.l)(),r=!!(0,yn.R)().value,l=(0,h.I)(Nn,{ssr:!1,skip:!r}).data,c=null==l||null===(n=l.notificationStatus)||void 0===n?void 0:n.unreadNotificationCount,s=(0,je.Z)({name:"detail",color:"LIGHTER",scale:"XS"});return c?o.createElement("div",{className:a([s,wn(t,i)]),"data-testid":"headerNotificationCount"},c>99?"99+":c):null},On=function(e){return function(n){var t=n.colorTokens.foreground.neutral.primary.base,i=n.colorTokens.foreground.neutral.secondary.base;return{position:"relative",color:e?t:i,fill:e?t:i,display:"flex",alignItems:"center",":hover":{color:t,fill:t}}}},Tn=function(e){var n=e.children,t=e.routeName,i=e.isActive,a=(0,p.l)(),r=(0,je.Z)({name:"detail",color:"DARKER",scale:"M"});return o.createElement("div",{className:a([r,On(i)])},o.createElement(Me,{routeName:t,isActive:i}),n&&o.createElement(s.a,{marginLeft:"8px"},n),"ShowYourNotifications"===t&&o.createElement(Pn,{right:"-7px"}))},Cn=function(e){var n=e.children,t=e.routeName,i=e.onClick,a=e.susiEntry,r=e.preloadOn,l=e.isActive,c=e.testId,d=(0,f.Nw)(t,{}),m=!!(0,yn.R)().value;return o.createElement(s.a,{display:"flex",marginRight:"32px"},!m&&a?o.createElement(Be.r,{operation:"register",susiEntry:a,redirectTo:d,testId:c},o.createElement(Tn,{children:n,routeName:t,isActive:l})):o.createElement(u.N,{href:d,onClick:i,EXPERIMENTAL_preloadOn:r,"data-testid":c},o.createElement(Tn,{children:n,routeName:t,isActive:l})))},An=t(89522),_n=["algoliaQueryContext","algoliaIndexes"],In=function(e){return{border:"none",width:"240px",background:e.colorTokens.background.neutral.tertiary.base,alignItems:"center","& path":{fill:e.colorTokens.foreground.neutral.secondary.base},":focus-within path":{fill:e.colorTokens.foreground.neutral.primary.base}}},Rn=function(e){var n=e.algoliaQueryContext,t=void 0===n?"homepage":n,i=e.algoliaIndexes,a=void 0===i?["user","collection","tag"]:i,r=(0,Ue.A)(e,_n);return o.createElement(An.q,(0,hn.A)({algoliaQueryContext:t,algoliaIndexes:a,searchPlaceholder:"Search"},r,{searchIcon:o.createElement(s.a,{marginRight:"12px",marginLeft:"12px",display:"flex"},o.createElement(Ie.A,null)),searchContainerRules:In,initializeQueryFromUrl:!0,showPopoverEmptyQueryState:!0}))},Fn=t(83553),Ln={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PublicationSearchQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainOrSlug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"collection"},name:{kind:"Name",value:"collectionByDomainOrSlug"},arguments:[{kind:"Argument",name:{kind:"Name",value:"domainOrSlug"},value:{kind:"Variable",name:{kind:"Name",value:"domainOrSlug"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SearchInline_publisher"}}]}}]}}].concat((0,P.A)(Fn.V.definitions))},Mn=function(e){var n,t=e.collectionSlug,i=e.testId,a=(0,Y.d4)((function(e){return e.navigation.hostname})),r=(0,h.I)(Ln,{variables:{domainOrSlug:t||a}}).data;return o.createElement(Rn,{algoliaIndexes:["post"],algoliaQueryContext:"publication-right-column",hitsPerPagePerIndex:{post:8},publisher:null!==(n=null==r?void 0:r.collection)&&void 0!==n?n:void 0,testId:i})},Dn=t(35460),xn=t(15371),Un={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserSearchQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"username"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userResult"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"username"},value:{kind:"Variable",name:{kind:"Name",value:"username"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SearchInline_publisher"}}]}}]}}].concat((0,P.A)(Fn.V.definitions))},Bn=function(e){var n,t=e.params,i=void 0===t?{}:t,a=e.testId,r=(0,Dn.m)(i),l=r.id,c=r.username,s=(0,h.I)(Un,{variables:{id:l,username:c},skip:!l&&!c}).data;if("User"!==(null==s||null===(n=s.userResult)||void 0===n?void 0:n.__typename))return o.createElement(Rn,null);var u=i.catalogSlugId?(0,xn.OV)(i.catalogSlugId,s.userResult.id):void 0;return o.createElement(Rn,{algoliaIndexes:["post"],algoliaQueryContext:"user-profile",publisher:null==s?void 0:s.userResult,hitsPerPagePerIndex:{post:8},catalogId:u,testId:a})},jn=function(){var e,n,t=(0,l.zy)(),i=(0,f.W5)(t.pathname),a="headerSearchInput";if(null!=i&&null!==(e=i.params)&&void 0!==e&&e.postId)return o.createElement(Rn,{algoliaIndexes:["post"],algoliaQueryContext:"post",testId:a});switch(null==i?void 0:i.route.name){case"ShowCollectionHome":case"ShowCollectionMasthead":case"ShowCollectionTagged":return o.createElement(Mn,{collectionSlug:null==i||null===(n=i.params)||void 0===n?void 0:n.collectionSlug,testId:a});case"ShowTagPosts":return o.createElement(Rn,{algoliaQueryContext:"topics-right-column",testId:a});case"ShowUser":case"ShowUserAbout":case"ShowUserList":case"ShowUserLists":return o.createElement(Bn,{params:null==i?void 0:i.params,testId:a});case"ShowYourNotifications":return o.createElement(Rn,{algoliaQueryContext:"notifications",testId:a});case"ShowYourStories":return o.createElement(Rn,{algoliaQueryContext:"your-stories",testId:a});default:return o.createElement(Rn,{testId:a})}},Vn=t(99404);function Hn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Gn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Hn(Object(t),!0).forEach((function(n){(0,r.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Wn=57,zn=(0,m.c)(Wn,0),Yn=function(e){return Gn(Gn({},(0,En.oX)(e)),{},{display:"flex",height:"".concat(Wn,"px")})},qn={display:"flex"};function Kn(e){var n=e.rules,t=(0,p.l)(),i=(0,l.zy)(),a=(0,f.W5)(i.pathname),r=null==a?void 0:a.route.name;return o.createElement("div",{className:t([Yn,n])},o.createElement(s.a,{display:"flex",flexGrow:"1",alignItems:"center",justifyContent:"center"},o.createElement(Xn,{routeName:r})))}var Qn=function(e){var n=e.loading,t=e.viewer,i=(0,p.l)(),a=(0,l.zy)(),r=(0,f.W5)(a.pathname),c=null==r?void 0:r.route.name;return o.createElement("div",{className:i(Yn)},o.createElement(s.a,{flexGrow:"1",display:"flex",alignItems:"center"},o.createElement(Xn,{routeName:c}),o.createElement(d.V,{sm:!0,md:!0,lg:!0,xl:!0,marginLeft:"16px"},o.createElement(jn,null))),n?o.createElement(Sn,null):o.createElement(o.Fragment,null,o.createElement(d.V,{md:!0,lg:!0,xl:!0,displayValue:"flex"},o.createElement(Cn,{routeName:"ShowNewPost",susiEntry:"new_post_topnav",testId:"headerWriteButton"},"Write")),o.createElement(d.V,{xs:!0},o.createElement(Cn,{routeName:"ShowSearch",testId:"headerSearchButton"})),t?o.createElement(Cn,{routeName:"ShowYourNotifications",preloadOn:"none",isActive:"ShowYourNotifications"===c,testId:"headerNotificationButton"}):o.createElement(d.V,{lg:!0,xl:!0,marginRight:"32px"},o.createElement(Vn.K,{routeName:c})),o.createElement(gn,{viewer:t})))},Xn=function(e){var n,t,i=e.routeName,a=(0,f.au)(),r="ShowHome"===i,l=(0,o.useCallback)((function(){r&&window.scrollTo(0,0)}),[r]);switch(i){case"ShowManageMembershipPage":case"ShowManageMembershipConfirmationPage":n=a("ShowSettingsTab",{setting:c.W.Membership}),t="Membership settings";break;default:n=a("ShowHome",{}),t="Homepage"}return o.createElement(u.N,{href:n,"aria-label":t,"data-testid":"headerMediumLogo",onClick:l,rules:qn},o.createElement(bn.S,null))}},60301:(e,n,t)=>{t.d(n,{c:()=>h,z:()=>v});var i=t(96540),a=t(54239),r=t(27721),o=t(52290),l=t(99731),c=t(86527),s=t(36557),u=t(72130),d=t(20239),m=t(51260),p=t(39160),f=t(46879),g="https://rsci.app.link/s1cSf8zJT3?",h=function(e){var n=e.collectionSlug,t=e.collectionHostname,o=e.appEntry,l=e.postId,c=e.topicSlug,s=e.username,m=e.catalogSlugId,h=e.routeName,v=(0,p.d4)((function(e){return e.config.authDomain})),k=(0,r.R)().value,S=(0,u.$L)(),b=(0,a.zy)(),E=(0,d.D)();return i.useEffect((function(){window.innerWidth<E.breakpoints.md&&S.event("openInApp.viewed",{entryPoint:o})}),[]),{href:(0,i.useMemo)((function(){var e="".concat(k?"Li":"Lo","OpenInAppButton"),i="~feature=".concat(e),a=o?"&~stage=".concat(o):"";if(!h)return"".concat(g).concat(i,"&~channel=general").concat(a);var r="&~channel=".concat(h),u="".concat(i).concat(r).concat(a);switch(h){case"ShowPost":case"ShowSequencePost":case"ShowPostUnderCollection":case"ShowPostUnderUser":return l?"https://rsci.app.link/?$canonical_url=https%3A%2F%2F".concat(v,"/p/").concat(l,"&").concat(u):"".concat(g).concat(u);case"ShowCollectionHome":case"ShowCollectionTagged":case"ShowCollectionMasthead":return n?"https://rsci.app.link/?$canonical_url=https%3A%2F%2F".concat(v,"/").concat(n,"&").concat(u):t?"https://rsci.app.link/?$canonical_url=https%3A%2F%2F".concat(t,"&").concat(u):"".concat(g).concat(u);case"ShowTopic":return c?"https://rsci.app.link/?$canonical_url=https%3A%2F%2F".concat(v,"/topic/").concat(c,"&").concat(u):"".concat(g).concat(u);case"ShowUser":case"ShowUserFollowers":case"ShowUserFollowing":case"ShowUserAbout":case"ShowTagPosts":return"https://rsci.app.link/?$canonical_url=https%3A%2F%2F".concat(v).concat(b.pathname,"&").concat(u);case"ShowUserLists":return s?"https://rsci.app.link/?$canonical_url=https%3A%2F%2F".concat(v,"/@").concat(s,"&").concat(u):"".concat(g).concat(u);case"ShowUserList":return s&&m?"https://rsci.app.link/?$canonical_url=https%3A%2F%2F".concat(v).concat((0,f.iMX)(s,m),"&").concat(u):"".concat(g).concat(u);case"ShowSettings":return"https://rsci.app.link/?$canonical_url=https%3A%2F%2F".concat(v,"/me/settings&").concat(u);default:return"".concat(g).concat(i,"&~channel=other").concat(a)}}),[k,o,v,b,h,s,n,t,c,m]),onClick:(0,i.useCallback)((function(){return S.event("openInApp.clicked",{entryPoint:o})}),[S,o])}},v=function(e){var n=e.isButton,t=e.buttonSize,r=e.collectionSlug,u=e.collectionHostname,d=e.copy,p=void 0===d?"Open in app":d,f=e.appEntry,g=void 0===f?"mobileNavBar":f,v=e.postId,k=e.topicSlug,S=e.username,b=e.removeSpacing,E=void 0!==b&&b,y=e.catalogSlugId,N=(0,m.IF)()((0,a.zy)().pathname),w=null==N?void 0:N.route.name,P=h({collectionSlug:r,collectionHostname:u,appEntry:g,postId:v,topicSlug:k,username:S,catalogSlugId:y,routeName:w}),O=P.href,T=P.onClick;return n&&!t&&(t="LARGE"),"ShowCollectionNewsletterLandingPage"===w||"ShowCollectionNewsletterPromotionPage"===w?i.createElement(i.Fragment,null):i.createElement(o.a,{marginLeft:E||"mobileNavBar"!==g?"0px":"16px",display:{xs:"block",sm:"block",md:"none",lg:"none",xl:"none"}},n?i.createElement(l.$n,{buttonStyle:"STRONG",href:O,size:t,onClick:T},p):i.createElement(s.kZ,{scale:"M",tag:"span"},i.createElement(c.N,{linkStyle:"OBVIOUS",href:O,onClick:T},p)))}},99404:(e,n,t)=>{t.d(n,{K:()=>m});var i=t(96540),a=t(26679),r=t(43634),o=t(52290),l=t(36557),c=t(39160),s=t(79959),u={xs:"S",sm:"S",md:"S",lg:"M",xl:"M"},d="global_nav",m=function(e){var n=e.routeName,t=(0,c.d4)((function(e){return e.config.authDomain})),m=(0,c.d4)((function(e){return e.navigation.currentLocation})),p=(0,s.mk)(m,t)?"":m;return i.createElement(o.a,{display:"flex",alignItems:"center"},i.createElement(l.kZ,{scale:u},i.createElement(r.r,{operation:"register",pageSource:(0,a.x)(n,"register"),susiEntry:d,isButton:!0,buttonSize:{xs:"COMPACT",sm:"COMPACT",md:"COMPACT",lg:"SMALL",xl:"SMALL"},buttonStyle:"STRONG",redirectTo:p,testId:"headerSignUpButton"},"ShowHome"===n?"Get started":"Sign up")),i.createElement(o.a,{marginLeft:"16px"},i.createElement(l.kZ,{scale:u,color:"LIGHTER"},i.createElement(r.r,{operation:"login",susiEntry:d,pageSource:(0,a.x)(n,"login"),redirectTo:p,testId:"headerSignInButton"},"Sign in"))))}},11891:(e,n,t)=>{t.d(n,{b:()=>g});var i=t(96540),a=t(19228),r=t(20239),o=t(11334),l=t(40064),c=t(34223),s=t(62830),u=t(52290),d=t(78693),m=t(5863),p=function(e){var n=e.children,t=(0,i.useRef)(null),a=(0,m.s)(),r=a.addHeightChangeHandler,o=a.removeHeightChangeHandler;return(0,i.useEffect)((function(){var e=function(e){var n=e.currentHeight,i=e.fullHeight;t.current&&(t.current.style.transform="translateY(".concat(n-i,"px)"))};return r(e),function(){o(e)}}),[]),i.createElement(u.a,{backgroundColor:"BACKGROUND",zIndex:d.Ay.metabar,position:"sticky",top:"0",ref:t},n)},f=t(9234),g=function(){var e=(0,f._)(),n=e.loading,t=e.value,u=(0,r.D)(),d=(0,a.qt)().baseTheme,m=(0,l._I)(u,d);return i.createElement(o.N,{theme:m},i.createElement(p,null,i.createElement(c.hP,{loading:n,viewer:t}),i.createElement(s.jq,{loading:n,viewer:t})))}},64074:(e,n,t)=>{t.d(n,{w:()=>ae});var i=t(96540),a=t(3326),r=t(80296),o=t(20026),l=t(4441),c=t(78493),s=t(78968),u=t(27721),d=t(52290),m=t(86527),p=t(85050),f=t(36557),g=t(72130),h=t(49287),v=t(44402),k=t(79429),S=t(51260),b=t(42976),E=t(39160),y=t(42600),N=t(60603),w=t(72113),P=t(56173),O=function(e){return{display:"flex","& > svg > path":{fill:e.colorTokens.background.neutral.quaternary.base}}},T=function(e){var n=e.children,t=e.badgeTier,a=e.isBadgeDark,r=e.showBadge,o=void 0===r||r,l=(0,v.l)();return i.createElement(d.a,{display:"flex",alignItems:{xs:"flex-start",sm:"flex-start",md:"center",lg:"center",xl:"center"},padding:{xs:"16px 0",sm:"16px 0",md:void 0,lg:void 0,xl:void 0},position:"relative"},o&&i.createElement(d.a,{display:"flex",paddingLeft:{xs:"24px",sm:"24px",md:void 0,lg:void 0,xl:void 0},marginRight:{xs:"12px",sm:"12px",md:"8px",lg:"8px",xl:"8px"}},a?i.createElement("div",{className:l(O)},i.createElement(P.s,{tier:t,size:18})):i.createElement(P.s,{tier:t,size:18})),n)},C=90*y.ei,A={fontWeight:"500"},_={":after":{position:"absolute",content:'""',height:"100%",width:"100%",top:0,left:0}},I=function(){var e=(0,v.l)();return i.createElement(i.Fragment,null,i.createElement(p.V,{xs:!0,sm:!0},i.createElement("span",{className:e([A,_])},"Become a member")),i.createElement(p.V,{md:!0,lg:!0,xl:!0},i.createElement("span",{className:e(A)},"Become a member")))},R=function(e){var n=e.onClose,t=(0,S.au)(),a=(0,h.Fo)(),r=(0,g.$L)(),l=(0,k.s)({onPresentedFn:function(){r.event("upsell.viewed",{dimension:null==a?void 0:a.dimension})}}),u=(0,i.useCallback)((function(){(0,s.p1)(new Date),r.event("upsell.dismissed",{dimension:null==a?void 0:a.dimension}),n()}),[n,r,null==a?void 0:a.dimension]),p=(0,i.useCallback)((function(){r.event("upsell.clicked",{dimension:null==a?void 0:a.dimension})}),[r,null==a?void 0:a.dimension]),v=(0,c.xu)({membershipType:c.yV.Yearly}).amount;return i.createElement(i.Fragment,null,i.createElement(T,{badgeTier:b.T3.MEMBER},i.createElement(f.kZ,{scale:"M",color:"DARKER"},i.createElement(d.a,{tag:"span",display:"inline",marginRight:"8px"},"Get unlimited access to the best of Medium for less than $",(0,o.Y9)(v/52),"/week."),i.createElement(d.a,{ref:l,display:"inline-block"},i.createElement(h.Ne,{extendSource:!0,source:{name:"upgrade_membership"}},i.createElement(m.N,{onClick:p,display:"inline-block",href:t("ShowPay",{}),inline:!0,linkStyle:"OBVIOUS"},i.createElement(I,null)))))),i.createElement(w.I,{onClose:u}))},F=t(18642),L=t(63191),M=function(e){var n=e.onClose,t=e.text,a=e.linkText,r=e.isDismissible,o=(0,S.au)(),l=(0,h.Fo)(),c=(0,g.$L)(),s=(0,k.s)({onPresentedFn:function(){c.event("updatePaymentMethodBanner.viewed",{dimension:null==l?void 0:l.dimension})}}),u=(0,i.useCallback)((function(){c.event("updatePaymentMethodBanner.dismissed",{dimension:null==l?void 0:l.dimension}),n()}),[n,c,null==l?void 0:l.dimension]),p=(0,i.useCallback)((function(){c.event("updatePaymentMethodBanner.clicked",{dimension:null==l?void 0:l.dimension})}),[c,null==l?void 0:l.dimension]);return t&&a?i.createElement(i.Fragment,null,i.createElement(T,{showBadge:!1},i.createElement(d.a,{display:"flex",alignItems:"baseline",paddingLeft:{xs:"24px",sm:"24px",md:void 0,lg:void 0,xl:void 0},paddingRight:r?void 0:{xs:"24px",sm:"24px",md:void 0,lg:void 0,xl:void 0}},i.createElement(d.a,{marginRight:"8px"},i.createElement(L.A,{fill:F.ON})),i.createElement(f.kZ,{scale:"M",color:"WHITE",tag:"div"},i.createElement(d.a,{display:"inline-block",marginRight:"8px"},t),i.createElement(d.a,{ref:s,display:"inline-block"},i.createElement(h.Ne,{extendSource:!0,source:{name:"update_payment_method_banner"}},i.createElement(m.N,{onClick:p,href:o("ShowPaymentMethod",{}),inline:!0,linkStyle:"OBVIOUS",display:"inline-block"},a)))))),r&&i.createElement(w.I,{onClose:u,iconColor:F.ON})):null},D=t(39181),x=t(95420),U=t(54239),B=t(48011),j=t(45458),V={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UsePaymentMethodRetentionQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"membership"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isCancelled"}},{kind:"Field",name:{kind:"Name",value:"paymentProvider"}},{kind:"FragmentSpread",name:{kind:"Name",value:"usePaymentMethodRetentionBannerContent_membershipStatus"}}]}}]}}]}}]}}].concat((0,j.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"usePaymentMethodRetentionBannerContent_membershipStatus"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MembershipStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currentPeriodEndsAt"}},{kind:"Field",name:{kind:"Name",value:"hasRecurringPaymentFailedMoreThanOnce"}},{kind:"Field",name:{kind:"Name",value:"hasCreditCardExpired"}},{kind:"Field",name:{kind:"Name",value:"paymentFailedAt"}},{kind:"Field",name:{kind:"Name",value:"paymentMethod"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditCard"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expirationMonth"}},{kind:"Field",name:{kind:"Name",value:"expirationYear"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ApplePayCard"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expirationMonth"}},{kind:"Field",name:{kind:"Name",value:"expirationYear"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GooglePayCard"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expirationMonth"}},{kind:"Field",name:{kind:"Name",value:"expirationYear"}}]}}]}}]}}]))},H=t(20239);function G(e){return!!e&&e-(new Date).getTime()<y.ks}var W="Update to keep your membership";var z=["ShowHome","ShowSettings","ShowSettingsTab","ShowPost","ShowPostUnderUser","ShowPostUnderCollection"],Y=t(65464),q=t(43964),K=t(59031),Q=t(65498),X=t(99886),Z={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"useReactivateMembershipUpsell_membershipStatus"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MembershipStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currentPeriodEndsAt"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useIsReactivateMembershipVisible_membershipStatus"}}]}}].concat((0,j.A)(X.r.definitions))},$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UseReactivateMembershipUpsellQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"membership"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"useReactivateMembershipUpsell_membershipStatus"}}]}}]}}]}}]}}].concat((0,j.A)(Z.definitions))},J=14*y.ei;function ee(e){return!(null==e||!e.currentPeriodEndsAt)&&e.currentPeriodEndsAt-(new Date).getTime()<4*y.ks}var ne=function(e){var n,t=e.onClose,a=e.membership,r=(0,u.R)().value,o=(0,i.useCallback)((function(){(0,s.bm)(new Date),t()}),[t]);return i.createElement(i.Fragment,null,i.createElement(T,{badgeTier:null==r||null===(n=r.membership)||void 0===n?void 0:n.tier},i.createElement(f.kZ,{scale:"M",color:"DARKER"},i.createElement(d.a,{tag:"span",display:"inline",marginRight:{xs:"8px",sm:"8px",md:"16px",lg:"16px",xl:"16px"}},"Your membership will expire on ",(0,Y.a)(null==a?void 0:a.currentPeriodEndsAt)),i.createElement(d.a,{display:"inline-block"},i.createElement(q.u,null,(function(e){var n=e.showConfirmation;return i.createElement(m.N,{onClick:n,display:"inline-block",inline:!0,linkStyle:"OBVIOUS"},i.createElement(K.Z,{tag:"span"},"Reactivate membership"))}))))),!ee(a)&&i.createElement(w.I,{onClose:o}))},te=t(5863),ie=function(e){return function(n){return{backgroundColor:e||n.colorTokens.background.neutral.tertiary.base}}},ae=function(e){var n=function(e){var n=e.isPostLocked,t=(0,E.d4)((function(e){return e.client.hydrated})),i=(0,u.R)(),a=i.loading,o=i.value,c=(0,N.e)((0,l.y)((0,s.TI)(),C)),d=(0,r.A)(c,2),m=d[0],p=d[1];return{isVisible:!(a||!t||!o||null!=o&&o.membership||m||n),hide:p,loading:!!a}}({isPostLocked:e.isPostLocked}),t=n.isVisible,o=n.hide,c=n.loading,d=function(){var e,n,t=(0,N.e)((0,l.y)((0,s.Vn)(),J)),i=(0,r.A)(t,2),a=i[0],o=i[1],c=(0,u.R)(),d=c.value,m=c.loading,p=!(null==d||!d.membership),f=(0,D.I)($,{skip:!p}),g=f.data,h=f.loading,v=null==g||null===(e=g.viewer)||void 0===e||null===(n=e.viewerEdge)||void 0===n?void 0:n.membership,k=!!(0,Q.U)(v);return{isVisible:!!d&&k&&(!a||ee(v)),membership:v,hide:o,loading:h||m}}(),m=d.isVisible,p=d.hide,f=d.membership,g=d.loading,h=function(){var e,n,t,a=(0,u.R)(),o=a.value,l=a.loading,c=(0,U.zy)(),s=(0,S.W5)(c.pathname),d=null==s||null===(e=s.route)||void 0===e?void 0:e.name,m=!(null==o||!o.membership),p=(0,D.I)(V,{skip:!m}),f=p.data,g=p.loading,h=null==f||null===(n=f.viewer)||void 0===n||null===(t=n.viewerEdge)||void 0===t?void 0:t.membership,v=function(e){var n=(0,H.D)();if(null!=e&&e.hasCreditCardExpired){var t=!1,i=void 0,a=void 0;return e.paymentFailedAt?i=n.colorTokens.background.error.primary.base:(i=n.colorTokens.background.neutral.quaternary.base,G(e.currentPeriodEndsAt)||(t=!0,a=b.bT.PAYMENT_METHOD_EXPIRED_MEMBERSHIP_LAST_WEEK_BANNER)),{text:"Your payment method has expired.",linkText:W,color:i,isDismissible:t,flag:a}}if(null!=e&&e.hasRecurringPaymentFailedMoreThanOnce)return{text:"Your subscription payment failed.",linkText:"Update payment method",color:n.colorTokens.background.error.primary.base,isDismissible:!1};var r,o,l,c,s=null==e?void 0:e.paymentMethod;return("CreditCard"===(null==s?void 0:s.__typename)||"GooglePayCard"===(null==s?void 0:s.__typename)||"ApplePayCard"===(null==s?void 0:s.__typename))&&(r=s.expirationYear,o=s.expirationMonth,l=null==e?void 0:e.currentPeriodEndsAt,c=new Date(r,o,1,0,0,0,0).getTime(),l&&G(l)&&c<=l)?{text:"Your payment method will expire soon.",linkText:W,color:n.colorTokens.background.neutral.quaternary.base,isDismissible:!0,flag:b.bT.PAYMENT_METHOD_WILL_EXPIRE_MEMBERSHIP_LAST_WEEK_BANNER}:void 0}(h),k=null==v?void 0:v.text,E=!(null==v||!v.isDismissible),y=null==v?void 0:v.flag,w=!!y&&!(null==o||!o.dismissableFlags.includes(y)),P=(0,N.e)(!1),O=(0,r.A)(P,2),T=O[0],C=O[1],A=i.useMemo((function(){return T||w}),[T,w]),_=(0,x.n)(B.x),I=(0,r.A)(_,1)[0],R=(0,i.useCallback)((function(){null!=o&&o.id&&y&&I({variables:{userId:o.id,flag:y}}),C()}),[I,C,null==o?void 0:o.id,y]),F=!!d&&z.includes(d),L=(null==h?void 0:h.paymentProvider)===b.CA.BRAINTREE||(null==h?void 0:h.paymentProvider)===b.CA.STRIPE,M=F&&m&&!(null!=h&&h.isCancelled)&&L&&!!k;return{isVisible:E?!A&&M:M,isDismissible:E,text:k,linkText:null==v?void 0:v.linkText,color:null==v?void 0:v.color,hide:R,loading:g||l}}(),v=h.isVisible,k=h.hide,y=h.color,w=h.text,P=h.linkText,O=h.isDismissible,T=h.loading,A=t||m||v,_=null,I=ie();t?_=o:m?_=p:v&&(_=k,I=ie(y));var F=(0,te.s)(),L=F.setTopNavUpsellHeight,j=F.topNavUpsellHeight,Y=c||g||T,q=(0,E.d4)((function(e){return e.client.isNativeMedium})),K=(0,i.useCallback)((function(e){return t?i.createElement(R,{onClose:e}):m&&f?i.createElement(ne,{membership:f,onClose:e}):v?i.createElement(M,{onClose:e,text:w,linkText:P,isDismissible:O}):void 0}),[t,m,v,f,w,P,O]);return q||Y?null:i.createElement(a.r,{contentPadding:{xs:"0",sm:"0",md:"12px 0",lg:"12px 0",xl:"12px 0"},containerRules:I,height:j,setHeight:L,isVisible:A,hideDirection:"up",onHide:_},(function(e){var n=e.hide;return K(n)}))}},91317:(e,n,t)=>{function i(e){if((e.match(/ /g)||[]).length>1)return"";var n=e.indexOf(" ");return e.substring(0,n)}function a(e){return e.google?"google":e.facebook?"facebook":e.twitter?"twitter":"medium"}t.d(n,{E:()=>i,g:()=>a})},34208:(e,n,t)=>{t.d(n,{E:()=>a,j:()=>i});var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"FollowCollectionMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"followCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetCollectionId"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isFollowing"}}]}}]}}]}}]},a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UnfollowCollectionMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"unfollowCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetCollectionId"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isFollowing"}}]}}]}}]}}]}},79193:(e,n,t)=>{t.d(n,{Q:()=>r});var i=t(95420),a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeletePostMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetPostId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deletePost"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetPostId"},value:{kind:"Variable",name:{kind:"Name",value:"targetPostId"}}}]}]}}]},r=function(e){var n=e?{variables:{targetPostId:e}}:{};return(0,i.n)(a,n)}},1771:(e,n,t)=>{t.d(n,{T:()=>c});var i=t(5249),a=t(96540),r=t(69733),o=t(91830),l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SendVerificationEmailMutation"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sendVerificationEmail"}}]}}]},c=(0,r.Ng)()((function(e){var n=e.children,t=e.dispatch;return a.createElement(i.s,{mutation:l,onCompleted:function(){t((0,o.MZ)({duration:"FOREVER",toastStyle:"SENT_VERIFICATION_EMAIL"}))}},(function(e){return n({mutate:e})}))}))},44205:(e,n,t)=>{t.d(n,{b:()=>a,g:()=>i});var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"FollowUserMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetUserId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"followUser"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetUserId"},value:{kind:"Variable",name:{kind:"Name",value:"targetUserId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isFollowing"}}]}}]}}]}}]},a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UnfollowUserMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetUserId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"unfollowUser"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetUserId"},value:{kind:"Variable",name:{kind:"Name",value:"targetUserId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isFollowing"}}]}}]}}]}}]}},63933:(e,n,t)=>{t.d(n,{u:()=>v});var i=t(80296),a=t(64467),r=t(95420),o=t(96540),l=t(34208),c=t(44205),s=t(2550),u=t(15473),d=t(72130),m=t(49287),p=t(91830),f=t(50684),g=t(39160);function h(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}var v=function(e,n,t){var v,k=(0,p.zF)(),S=(0,s.A)().viewerId,b=null!==(v=(0,m.Fo)())&&void 0!==v?v:{},E=(0,d.$L)(),y=(0,f.MW)(),N=(0,g.d4)((function(e){return e.navigation.referrer})),w=(0,g.d4)((function(e){return e.navigation.currentLocation})),P=(0,o.useCallback)((function(e,n){t&&E.event(e,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?h(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({location:w,referrer:N,followSource:(0,m.wv)(b),source:(0,m.wv)(b),referrerSource:y,trackingV2:t},n))}),[b,y,N,w,t]),O=(0,r.n)(c.g,{variables:{targetUserId:e},update:function(n){n.modify({id:"User:".concat(S),fields:{missionControl:(0,u.A4)("followedAuthors",!0),followingUserConnection:(0,u.nu)(e),socialStats:(0,u.PV)("followingCount",1)}}),n.modify({id:"User:".concat(e),fields:{socialStats:(0,u.PV)("followerCount",1)}})},onCompleted:function(n){var i=n.followUser;P("user.followed",{targetUserId:e}),k({toastStyle:"FOLLOW_PUBLISHER",extraParams:{publisherName:(null==i?void 0:i.name)||"",authorId:e,source:b,trackingV2:t}})}}),T=(0,i.A)(O,1)[0],C=(0,r.n)(c.b,{variables:{targetUserId:e},update:function(n){n.modify({id:"User:".concat(S),fields:{missionControl:(0,u.A4)("followedAuthors",!1),socialStats:(0,u.PV)("followingCount",-1)}}),n.modify({id:"User:".concat(e),fields:{socialStats:(0,u.PV)("followerCount",-1)}})},onCompleted:function(n){var t=n.unfollowUser;P("user.unfollowed",{targetUserId:e}),k({message:"You've unfollowed ".concat(null==t?void 0:t.name),extraParams:{hideCloseButton:!0}})}}),A=(0,i.A)(C,1)[0],_=(0,r.n)(l.j,{variables:{id:n},update:function(e){e.modify({id:"User:".concat(S),fields:{missionControl:(0,u.A4)("followedCollections",!0),followingCollectionConnection:(0,u.CQ)(n)}})},onCompleted:function(e){var i=e.followCollection;P("collection.followed",{collectionId:n}),k({toastStyle:"FOLLOW_PUBLISHER",extraParams:{publisherName:(null==i?void 0:i.name)||"",collectionId:n,source:b,trackingV2:t}})}}),I=(0,i.A)(_,1)[0],R=(0,r.n)(l.E,{variables:{id:n},update:function(e){e.modify({id:"User:".concat(S),fields:{missionControl:(0,u.A4)("followedCollections",!1)}})},onCompleted:function(e){var t=e.unfollowCollection;P("collection.unfollowed",{collectionId:n}),k({message:"You've unfollowed ".concat(null==t?void 0:t.name),extraParams:{hideCloseButton:!0}})}});return{followUser:T,unfollowUser:A,followCollection:I,unfollowCollection:(0,i.A)(R,1)[0]}}},53843:(e,n,t)=>{t.d(n,{d:()=>b});var i=t(80296),a=t(64467),r=t(95420),o=t(96540),l=t(2550),c=t(15473),s=t(72130),u=t(49287),d=t(91830),m=t(50684),p=t(39160),f={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"MuteAuthorMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"authorId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"muteUser"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetUserId"},value:{kind:"Variable",name:{kind:"Name",value:"authorId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isMuting"}}]}}]}}]}}]},g={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UnmuteAuthorMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"authorId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"unmuteUser"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetUserId"},value:{kind:"Variable",name:{kind:"Name",value:"authorId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isMuting"}}]}}]}}]}}]},h={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"MutePubMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pubId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"muteCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetCollectionId"},value:{kind:"Variable",name:{kind:"Name",value:"pubId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isMuting"}}]}}]}}]}}]},v={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UnmutePubMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pubId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"unmuteCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetCollectionId"},value:{kind:"Variable",name:{kind:"Name",value:"pubId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isMuting"}}]}}]}}]}}]};function k(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}var S=function(){return null},b=function(e){var n,t=e.authorId,b=e.collectionId,E=e.postId,y=(0,d.zF)(),N=(0,l.A)().viewerId,w=(0,s.$L)(),P=null!==(n=(0,u.Fo)())&&void 0!==n?n:{},O=(0,m.MW)(),T=(0,p.d4)((function(e){return e.navigation.referrer})),C=(0,p.d4)((function(e){return e.navigation.currentLocation})),A=(0,o.useCallback)((function(e,n){w.event(e,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?k(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({location:C,referrer:T,source:(0,u.wv)(P),referrerSource:O,postId:E},n))}),[P,O,T,C,E]),_=(0,r.n)(f,{variables:{authorId:t},update:function(e){e.modify({id:"User:".concat(N),fields:{missionControl:(0,c.A4)("mutedAuthors",!0),mutedUserConnection:(0,c.nu)(t)}})},onCompleted:function(e){var n=e.muteUser.name;A("user.muted",{targetUserId:t}),y({toastStyle:"MUTE_ENTITY",extraParams:{isMutingAuthor:!0,authorId:t,authorName:n,source:P}})}}),I=(0,i.A)(_,1)[0],R=(0,r.n)(g,{variables:{authorId:t},update:function(e){e.modify({id:"User:".concat(N),fields:{missionControl:(0,c.A4)("mutedAuthors",!1)}})},onCompleted:function(e){var n=e.unmuteUser.name;A("user.unmuted",{targetUserId:t}),y({message:"".concat(n," has been unmuted.")})}}),F=(0,i.A)(R,1)[0],L=(0,r.n)(h,{variables:{pubId:b},update:function(e){e.modify({id:"User:".concat(N),fields:{missionControl:(0,c.A4)("mutedCollections",!0),mutedCollectionConnection:(0,c.CQ)(b)}})},onCompleted:function(e){var n=e.muteCollection.name;A("collection.muted",{collectionId:b}),y({toastStyle:"MUTE_ENTITY",extraParams:{isMutingAuthor:!1,pubId:b,pubName:n,source:P}})}}),M=(0,i.A)(L,1)[0],D=(0,r.n)(v,{variables:{pubId:b},update:function(e){e.modify({id:"User:".concat(N),fields:{missionControl:(0,c.A4)("mutedCollections",!1)}})},onCompleted:function(e){var n=e.unmuteCollection.name;A("collection.unmuted",{collectionId:b}),y({message:"".concat(n," has been unmuted.")})}}),x=(0,i.A)(D,1)[0];return{muteAuthor:t?I:S,unmuteAuthor:t?F:S,mutePub:b?M:S,unmutePub:b?x:S}}},14596:(e,n,t)=>{t.d(n,{M:()=>V});var i=t(58168),a=t(80045),r=t(96540),o=t(33581),l=t(92554),c=t(49287),s=t(51260),u=t(39160),d=t(32166),m=t(79959),p=["children","EXPERIMENTAL_preloadOn","forwardedRef"],f=function(e){var n=e.children,t=(e.EXPERIMENTAL_preloadOn,e.forwardedRef),o=(0,a.A)(e,p);return r.createElement("a",(0,i.A)({},o,{ref:t}),n)},g=(0,r.forwardRef)((function(e,n){return r.createElement(f,(0,i.A)({},e,{forwardedRef:n}))})),h=t(87599),v=t(82284),k=t(10467),S=t(80296),b=t(84058),E=t.n(b),y=t(55808),N=t.n(y),w=function(e){return"".concat(N()(E()(e)),"Page")},P=t(41070),O=t(11134);function T(){T=function(){return n};var e,n={},t=Object.prototype,i=t.hasOwnProperty,a=Object.defineProperty||function(e,n,t){e[n]=t.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",l=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function s(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{s({},"")}catch(e){s=function(e,n,t){return e[n]=t}}function u(e,n,t,i){var r=n&&n.prototype instanceof k?n:k,o=Object.create(r.prototype),l=new R(i||[]);return a(o,"_invoke",{value:C(e,t,l)}),o}function d(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(e){return{type:"throw",arg:e}}}n.wrap=u;var m="suspendedStart",p="suspendedYield",f="executing",g="completed",h={};function k(){}function S(){}function b(){}var E={};s(E,o,(function(){return this}));var y=Object.getPrototypeOf,N=y&&y(y(F([])));N&&N!==t&&i.call(N,o)&&(E=N);var w=b.prototype=k.prototype=Object.create(E);function P(e){["next","throw","return"].forEach((function(n){s(e,n,(function(e){return this._invoke(n,e)}))}))}function O(e,n){function t(a,r,o,l){var c=d(e[a],e,r);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==(0,v.A)(u)&&i.call(u,"__await")?n.resolve(u.__await).then((function(e){t("next",e,o,l)}),(function(e){t("throw",e,o,l)})):n.resolve(u).then((function(e){s.value=e,o(s)}),(function(e){return t("throw",e,o,l)}))}l(c.arg)}var r;a(this,"_invoke",{value:function(e,i){function a(){return new n((function(n,a){t(e,i,n,a)}))}return r=r?r.then(a,a):a()}})}function C(n,t,i){var a=m;return function(r,o){if(a===f)throw new Error("Generator is already running");if(a===g){if("throw"===r)throw o;return{value:e,done:!0}}for(i.method=r,i.arg=o;;){var l=i.delegate;if(l){var c=A(l,i);if(c){if(c===h)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(a===m)throw a=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a=f;var s=d(n,t,i);if("normal"===s.type){if(a=i.done?g:p,s.arg===h)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(a=g,i.method="throw",i.arg=s.arg)}}}function A(n,t){var i=t.method,a=n.iterator[i];if(a===e)return t.delegate=null,"throw"===i&&n.iterator.return&&(t.method="return",t.arg=e,A(n,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),h;var r=d(a,n.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,h;var o=r.arg;return o?o.done?(t[n.resultName]=o.value,t.next=n.nextLoc,"return"!==t.method&&(t.method="next",t.arg=e),t.delegate=null,h):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function _(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function I(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function F(n){if(n||""===n){var t=n[o];if(t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var a=-1,r=function t(){for(;++a<n.length;)if(i.call(n,a))return t.value=n[a],t.done=!1,t;return t.value=e,t.done=!0,t};return r.next=r}}throw new TypeError((0,v.A)(n)+" is not iterable")}return S.prototype=b,a(w,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:S,configurable:!0}),S.displayName=s(b,c,"GeneratorFunction"),n.isGeneratorFunction=function(e){var n="function"==typeof e&&e.constructor;return!!n&&(n===S||"GeneratorFunction"===(n.displayName||n.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},n.awrap=function(e){return{__await:e}},P(O.prototype),s(O.prototype,l,(function(){return this})),n.AsyncIterator=O,n.async=function(e,t,i,a,r){void 0===r&&(r=Promise);var o=new O(u(e,t,i,a),r);return n.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},P(w),s(w,c,"Generator"),s(w,o,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var n=Object(e),t=[];for(var i in n)t.push(i);return t.reverse(),function e(){for(;t.length;){var i=t.pop();if(i in n)return e.value=i,e.done=!1,e}return e.done=!0,e}},n.values=F,R.prototype={constructor:R,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!n)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var t=this;function a(i,a){return l.type="throw",l.arg=n,t.next=i,a&&(t.method="next",t.arg=e),!!a}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],l=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,n){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var r=a;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=n&&n<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=n,r?(this.method="next",this.next=r.finallyLoc,h):this.complete(o)},complete:function(e,n){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&n&&(this.next=n),h},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),I(t),h}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var i=t.completion;if("throw"===i.type){var a=i.arg;I(t)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(n,t,i){return this.delegate={iterator:F(n),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=e),h}},n}var C=function(e,n){return function(t){e&&e(t),t.defaultPrevented||n(t)}},A=new Map([["home",function(){return Promise.resolve().then(t.bind(t,50754))}],["post",function(){return Promise.resolve().then(t.bind(t,90696))}],["user-profile",function(){return Promise.resolve().then(t.bind(t,594))}],["publication-profile",function(){return Promise.resolve().then(t.bind(t,14593))}],["notifications",function(){return Promise.resolve().then(t.bind(t,44883))}],["your-catalogs",function(){return Promise.resolve().then(t.bind(t,94317))}],["your-stories",function(){return Promise.resolve().then(t.bind(t,88878))}]]),_=["children","forwardedRef","relativeHref","routeMatch","EXPERIMENTAL_preloadOn"],I=function(e){var n=e.children,t=e.forwardedRef,o=e.relativeHref,l=e.routeMatch,c=e.EXPERIMENTAL_preloadOn,s=void 0===c?"none":c,u=(0,a.A)(e,_),d=function(e){var n=e.preloadBehavior,t=void 0===n?"none":n,i=e.preloadDelay,a=void 0===i?100:i,o=e.routeMatch,l=e.theirElementProps,c=(0,r.useState)(!1),s=(0,S.A)(c,2),u=s[0],d=s[1],m=(0,r.useState)(!1),p=(0,S.A)(m,2),f=p[0],g=p[1],h=l.onFocus,v=l.onBlur,b=l.onMouseEnter,E=l.onMouseLeave;(0,r.useEffect)((function(){"render"===t&&g(!0)}),[t]);var y=(0,r.useCallback)((function(){"intent"===t&&d(!0)}),[t]),N=(0,r.useCallback)((function(){"intent"===t&&d(!1)}),[t]);return(0,r.useEffect)((function(){if(u){var e=setTimeout((function(){g(!0)}),a);return function(){clearTimeout(e)}}}),[u]),function(e,n){var t=(0,P.ld)(),i=(0,r.useContext)(O.F).preloadPage,a=(0,r.useRef)(!1),o=(0,r.useCallback)((0,k.A)(T().mark((function e(){var r,o,l,c,s,u;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=null==n?void 0:n.route.mediumAppPage){e.next=3;break}return e.abrupt("return");case 3:if(o=A.get(r)){e.next=6;break}return e.abrupt("return");case 6:return e.prev=6,e.next=9,o();case 9:l=e.sent,c=w(r),(d=s=l[c])&&d.id&&d.layoutConfig&&d.modules||t.reportOnce(new Error("Expected DotApp Page module to export a valid Page object"),{pageName:r,pageObject:s}),u=n.params,i({page:s,params:u}),a.current=!0,e.next=21;break;case 18:e.prev=18,e.t0=e.catch(6),t.reportOnce(new Error("Unable to import DotApp Page module"),{pageName:r});case 21:case"end":return e.stop()}var d}),e,null,[[6,18]])}))),[t,a,n]);e&&!a.current&&o()}(f,o),{onFocus:C(h,y),onBlur:C(v,N),onMouseEnter:C(b,y),onMouseLeave:C(E,N)}}({preloadBehavior:s,routeMatch:l,theirElementProps:u}),m=d.onFocus,p=d.onBlur,f=d.onMouseEnter,g=d.onMouseLeave;return r.createElement(h.N_,(0,i.A)({},u,{to:o,onFocus:m,onBlur:p,onMouseEnter:f,onMouseLeave:g,ref:t}),n)},R=(0,r.memo)((0,r.forwardRef)((function(e,n){return r.createElement(I,(0,i.A)({},e,{forwardedRef:n}))}))),F=t(75636),L=["children","href","relativeHref","forwardedRef","routeMatch"],M=function(e){var n=e.children,t=e.href,o=e.relativeHref,l=e.forwardedRef,c=e.routeMatch,s=(0,a.A)(e,L),u=c.route.serviceVariantFlag,d=(0,F.z)({name:u,placeholder:!1});return u&&!d?r.createElement(g,(0,i.A)({},s,{href:t,ref:l}),n):r.createElement(R,(0,i.A)({},s,{relativeHref:o,routeMatch:c,ref:l}),n)},D=(0,r.memo)((0,r.forwardRef)((function(e,n){return r.createElement(M,(0,i.A)({},e,{forwardedRef:n}))}))),x=["children","disableSourceParam","href","follow","forwardedRef","target","UNSAFE_disableClientNav"],U=["ShowCollectionHome","ShowCollectionMasthead","ShowCollectionTagged"],B=function(e){var n=e.children,t=e.disableSourceParam,p=void 0!==t&&t,f=e.href,h=e.follow,v=void 0!==h&&h,k=e.forwardedRef,S=e.target,b=e.UNSAFE_disableClientNav,E=void 0!==b&&b,y=(0,a.A)(e,x),N=(0,c.jI)(),w=(0,s.IF)(),P=(0,u.d4)((function(e){return e.navigation.hostname})),O=(0,u.d4)((function(e){return e.config.tierOneDomains}))||[],T=(0,u.d4)((function(e){return e.client.viewerIsBot})),C=O.filter((function(e){return!!e})).map((function(e){return new RegExp("^(.+\\.)?".concat(e,"$"))})),A=(0,o.$)().canBypassVanityForHref,_=!!C.find((function(e){return e.test(P)})),I=(0,m.yg)(f,P),R=!I,F=["http:","https:",""].includes((0,m.Jr)(f)),L=(0,r.useContext)(l.r),M=(0,m.EW)(f),B=!T&&!p,j=(0,d.L)()&&R?"_blank":S,V="#"===f[0];N&&B?f=(0,m.ST)(f,{source:N}):B||(f=(0,m.oP)(f,["source"]));var H=V?void 0:j,G="noopener",W=C.find((function(e){return e.test(M)}));(v||(I&&_||W)&&!L)&&(G="".concat(G," follow").trim()),L&&!W&&(G="".concat(G.replace("follow","")," ugc nofollow").trim());var z=(0,m.Yn)(f),Y=(0,m.yH)(f),q=(0,m.iy)(P),K=new RegExp("^/@".concat(q));q&&K.test(z)&&(z=z.replace(K,""),Y=Y.replace(K,""));var Q=w(z),X=null==Q?void 0:Q.route;return!F||R||V||E||!Q||!X||"lite"!==X.service||!A(f)&&U.includes(X.name)?r.createElement(g,(0,i.A)({},y,{href:f,ref:k,rel:G,target:H}),n):r.createElement(D,(0,i.A)({},y,{href:f,relativeHref:Y,ref:k,rel:G,routeMatch:Q,target:H}),n)},j=(0,r.forwardRef)((function(e,n){return r.createElement(B,(0,i.A)({},e,{forwardedRef:n}))})),V=(0,r.memo)(j)},9942:(e,n,t)=>{t.d(n,{r:()=>c});var i=t(96540),a=t(54239),r=t(95765),o=301,l=302;function c(e){var n=e.to,c=e.temporary,s=void 0!==c&&c,u=e.replace,d=void 0!==u&&u;if(t.g.window)return d?t.g.window.location.replace(n):t.g.window.location.assign(n),i.createElement(r.x,null);var m={pathname:n,state:{statusCode:s?l:o}};return i.createElement(a.rd,{to:m})}},53301:(e,n,t)=>{t.d(n,{H$:()=>l,fh:()=>r,oY:()=>a,vw:()=>c,yS:()=>o});var i=t(45458),a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"useNewsletterV3Subscription_newsletterV3"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewsletterV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"slug"}}]}},{kind:"Field",name:{kind:"Name",value:"user"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"newsletterV3"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"useNewsletterV3Subscription_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"newsletterV3"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"useNewsletterV3Subscription_newsletterV3"}}]}}]}}].concat((0,i.A)(a.definitions))},o={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SubscribeNewsletterV3Mutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"newsletterV3Id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shouldRecordConsent"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"subscribeNewsletterV3"},arguments:[{kind:"Argument",name:{kind:"Name",value:"newsletterV3Id"},value:{kind:"Variable",name:{kind:"Name",value:"newsletterV3Id"}}},{kind:"Argument",name:{kind:"Name",value:"shouldRecordConsent"},value:{kind:"Variable",name:{kind:"Name",value:"shouldRecordConsent"}}}]}]}}]},l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UnsubscribeNewsletterV3Mutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"newsletterV3Id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"unsubscribeNewsletterV3"},arguments:[{kind:"Argument",name:{kind:"Name",value:"newsletterV3Id"},value:{kind:"Variable",name:{kind:"Name",value:"newsletterV3Id"}}}]}]}}]},c={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"FetchOrLazilyCreateNewsletterV3AndMaybeSubscribeMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fetchOrLazilyCreateNewsletterV3AndMaybeSubscribe"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useNewsletterV3Subscription_newsletterV3"}}]}}]}}].concat((0,i.A)(a.definitions))}},78493:(e,n,t)=>{t.d(n,{XF:()=>u,xu:()=>s,yV:()=>a});var i,a,r,o=t(64467),l=t(20026);!function(e){e.Monthly="monthly",e.Yearly="yearly",e.PremiumMonthly="premiumMonthly",e.PremiumYearly="premiumYearly",e.PremiumYearlyCrossout="premiumYearlyCrossout",e.YearlyCrossout="yearlyCrossout",e.YearlyStaff="yearlyStaff",e.YearlyPriceSaved="yearlyPriceSaved",e.YearlyStaffPriceSaved="YearlyStaffPriceSaved",e.FiftyPercentOffOneYearDiscountPrice="FiftyPercentOffOneYearDiscountPrice",e.FiftyPercentOffOneYearDiscountCrossoutPrice="FiftyPercentOffOneYearDiscountCrossoutPrice",e.FiftyPercentOffOneYearDiscountSavedMembershipPrice="FiftyPercentOffOneYearDiscountSavedMembershipPrice"}(a||(a={})),function(e){e[e.NoDiscount=0]="NoDiscount",e[e.FiftyPercentOffOneYear=1]="FiftyPercentOffOneYear"}(r||(r={}));var c={plan:(i={},(0,o.A)(i,a.Monthly,5),(0,o.A)(i,a.Yearly,50),(0,o.A)(i,a.PremiumMonthly,15),(0,o.A)(i,a.PremiumYearly,150),(0,o.A)(i,a.PremiumYearlyCrossout,180),(0,o.A)(i,a.YearlyCrossout,60),(0,o.A)(i,a.YearlyStaff,1),(0,o.A)(i,a.YearlyPriceSaved,10),(0,o.A)(i,a.YearlyStaffPriceSaved,49),(0,o.A)(i,a.FiftyPercentOffOneYearDiscountPrice,25),(0,o.A)(i,a.FiftyPercentOffOneYearDiscountCrossoutPrice,50),(0,o.A)(i,a.FiftyPercentOffOneYearDiscountSavedMembershipPrice,25),i),currency:"USD"},s=function(e){var n=e.membershipType,t=c.currency,i=c.plan[n||a.Yearly];if(!i)throw new Error("Unavailable membership price");return{amount:i,currency:t}},u=function(e){var n=e.membershipType,t=e.excludeCurrencySign,i=void 0!==t&&t,a=e.isLongFormat,r=void 0!==a&&a,o=s({membershipType:n}),c=o.amount,u=o.currency;return i?(0,l.GR)(c,u,r):(0,l.vv)({amount:c,currency:u,floatingDigits:[0,2],isLongFormat:r})}},92554:(e,n,t)=>{t.d(n,{r:()=>i});var i=t(96540).createContext(!1)},14029:(e,n,t)=>{t.d(n,{Q:()=>o});var i=t(45458),a=t(62742),r=t(52144),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"BookmarkButton_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"visibility"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SusiClickable_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"AddToCatalogBookmarkButton_post"}}]}}].concat((0,i.A)(a.CV.definitions),(0,i.A)(r.P.definitions))}},78968:(e,n,t)=>{t.d(n,{TI:()=>I,Vn:()=>L,kG:()=>y,D9:()=>U,iY:()=>V,nW:()=>g,ri:()=>v,_1:()=>S,tU:()=>h,V7:()=>O,b0:()=>E,$r:()=>f,qo:()=>k,p1:()=>R,bm:()=>M,pm:()=>B,yi:()=>H,u2:()=>T,V$:()=>A});var i=t(82284),a=t(10467),r=t(66973),o=t(42600),l=function(e){var n=new Date(e);return Date.UTC(n.getFullYear(),n.getMonth(),1)};function c(){c=function(){return n};var e,n={},t=Object.prototype,a=t.hasOwnProperty,r=Object.defineProperty||function(e,n,t){e[n]=t.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function d(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{d({},"")}catch(e){d=function(e,n,t){return e[n]=t}}function m(e,n,t,i){var a=n&&n.prototype instanceof S?n:S,o=Object.create(a.prototype),l=new R(i||[]);return r(o,"_invoke",{value:C(e,t,l)}),o}function p(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(e){return{type:"throw",arg:e}}}n.wrap=m;var f="suspendedStart",g="suspendedYield",h="executing",v="completed",k={};function S(){}function b(){}function E(){}var y={};d(y,l,(function(){return this}));var N=Object.getPrototypeOf,w=N&&N(N(F([])));w&&w!==t&&a.call(w,l)&&(y=w);var P=E.prototype=S.prototype=Object.create(y);function O(e){["next","throw","return"].forEach((function(n){d(e,n,(function(e){return this._invoke(n,e)}))}))}function T(e,n){function t(r,o,l,c){var s=p(e[r],e,o);if("throw"!==s.type){var u=s.arg,d=u.value;return d&&"object"==(0,i.A)(d)&&a.call(d,"__await")?n.resolve(d.__await).then((function(e){t("next",e,l,c)}),(function(e){t("throw",e,l,c)})):n.resolve(d).then((function(e){u.value=e,l(u)}),(function(e){return t("throw",e,l,c)}))}c(s.arg)}var o;r(this,"_invoke",{value:function(e,i){function a(){return new n((function(n,a){t(e,i,n,a)}))}return o=o?o.then(a,a):a()}})}function C(n,t,i){var a=f;return function(r,o){if(a===h)throw new Error("Generator is already running");if(a===v){if("throw"===r)throw o;return{value:e,done:!0}}for(i.method=r,i.arg=o;;){var l=i.delegate;if(l){var c=A(l,i);if(c){if(c===k)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(a===f)throw a=v,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a=h;var s=p(n,t,i);if("normal"===s.type){if(a=i.done?v:g,s.arg===k)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(a=v,i.method="throw",i.arg=s.arg)}}}function A(n,t){var i=t.method,a=n.iterator[i];if(a===e)return t.delegate=null,"throw"===i&&n.iterator.return&&(t.method="return",t.arg=e,A(n,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),k;var r=p(a,n.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,k;var o=r.arg;return o?o.done?(t[n.resultName]=o.value,t.next=n.nextLoc,"return"!==t.method&&(t.method="next",t.arg=e),t.delegate=null,k):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,k)}function _(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function I(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function F(n){if(n||""===n){var t=n[l];if(t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var r=-1,o=function t(){for(;++r<n.length;)if(a.call(n,r))return t.value=n[r],t.done=!1,t;return t.value=e,t.done=!0,t};return o.next=o}}throw new TypeError((0,i.A)(n)+" is not iterable")}return b.prototype=E,r(P,"constructor",{value:E,configurable:!0}),r(E,"constructor",{value:b,configurable:!0}),b.displayName=d(E,u,"GeneratorFunction"),n.isGeneratorFunction=function(e){var n="function"==typeof e&&e.constructor;return!!n&&(n===b||"GeneratorFunction"===(n.displayName||n.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,d(e,u,"GeneratorFunction")),e.prototype=Object.create(P),e},n.awrap=function(e){return{__await:e}},O(T.prototype),d(T.prototype,s,(function(){return this})),n.AsyncIterator=T,n.async=function(e,t,i,a,r){void 0===r&&(r=Promise);var o=new T(m(e,t,i,a),r);return n.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},O(P),d(P,u,"Generator"),d(P,l,(function(){return this})),d(P,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var n=Object(e),t=[];for(var i in n)t.push(i);return t.reverse(),function e(){for(;t.length;){var i=t.pop();if(i in n)return e.value=i,e.done=!1,e}return e.done=!0,e}},n.values=F,R.prototype={constructor:R,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!n)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var t=this;function i(i,a){return l.type="throw",l.arg=n,t.next=i,a&&(t.method="next",t.arg=e),!!a}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],l=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),s=a.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,n){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=n&&n<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=n,r?(this.method="next",this.next=r.finallyLoc,k):this.complete(o)},complete:function(e,n){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&n&&(this.next=n),k},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),I(t),k}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var i=t.completion;if("throw"===i.type){var a=i.arg;I(t)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(n,t,i){return this.delegate={iterator:F(n),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=e),k}},n}var s=new r.A("post-article"),u=function(e){return new Date(e).setUTCHours(0,0,0,0)},d=function(e){var n;Number(s.get("first-post-viewed-today-timestamp","0"))<u(e)?(n=1,s.set("first-post-viewed-today-timestamp",e)):n=s.get("posts-viewed-today-count","0")+1,s.set("posts-viewed-today-count",n)},m=function(e){var n,t;Number(s.get("first-post-viewed-timestamp","0"))<u(n=e)-new Date(n).getDay()*o.ei?(t=1,s.set("first-post-viewed-timestamp",e)):t=s.get("posts-viewed-count","0")+1,s.set("posts-viewed-count",t)},p=function(e){var n;Number(s.get("first-post-viewed-month-timestamp","0"))<l(e)?(n=1,s.set("first-post-viewed-month-timestamp",e)):n=s.get("posts-viewed-month-count","0")+1,s.set("posts-viewed-month-count",n)};function f(){var e=Date.now();d(e),m(e),p(e)}function g(){var e=parseInt(s.get("posts-viewed-today-count","0"),10);return isNaN(e)&&(e=0),e}function h(){var e=parseInt(s.get("posts-viewed-count","0"),10);return isNaN(e)&&(e=0),e}function v(){var e=parseInt(s.get("posts-viewed-month-count","0"),10);return isNaN(e)&&(e=0),e}function k(){var e,n=Date.now();Number(s.get("first-non-moc-post-viewed-month-timestamp","0"))<l(n)?(e=1,s.set("first-non-moc-post-viewed-month-timestamp",n)):e=s.get("non-moc-posts-viewed-month-count","0")+1,s.set("non-moc-posts-viewed-month-count",e)}function S(){var e=parseInt(s.get("non-moc-posts-viewed-month-count","0"),10);return isNaN(e)&&(e=0),e}var b=new r.A("google-one-tap");function E(){b.set("hide-at",Date.now())}function y(){return Number(b.get("hide-at","0"))}var N="sign-in-confirmation-banner",w=new r.A(N),P=function(){var e=(0,a.A)(c().mark((function e(n,t){var i,a,r,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=new TextEncoder,a=i.encode("".concat(N,"-").concat(n,"-").concat(t)),e.next=4,crypto.subtle.digest("SHA-256",a);case 4:return r=e.sent,o=Array.from(new Uint8Array(r)),e.abrupt("return",o.map((function(e){return e.toString(16).padStart(2,"0")})).join(""));case 7:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),O=function(){var e=(0,a.A)(c().mark((function e(n,t){var i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P(n,t);case 2:return i=e.sent,e.abrupt("return",i===w.get(n));case 4:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),T=function(){var e=(0,a.A)(c().mark((function e(n,t){var i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P(n,t);case 2:i=e.sent,w.set(n,i);case 4:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),C=new r.A("viewer-status"),A=function(e){C.set("is-logged-in",e)},_=new r.A("global-membership-upsell"),I=function(){var e=_.get("dismissed-at");return e?new Date(e):null},R=function(e){_.set("dismissed-at",e)},F=new r.A("global-reactivate-membership-upsell"),L=function(){var e=F.get("dismissed-at");return e?new Date(e):null},M=function(e){F.set("dismissed-at",e)},D=new r.A("lo-non-moc-membership-upsell"),x=new r.A("lo-non-moc-discount-membership-upsell"),U=function(e){var n=(e?x:D).get("dismissed-at");return n?new Date(n):null},B=function(e,n){(n?x:D).set("dismissed-at",e)},j=new r.A("settings-friend-tier-banner"),V=function(){var e=j.get("dismissed-at");return e?new Date(e):null},H=function(e){j.set("dismissed-at",e)}},80721:(e,n,t)=>{t.d(n,{h5:()=>r,w$:()=>o});var i=t(45458),a=t(56788),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ClapMutation_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"clapCount"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MultiVoteCount_post"}}]}}].concat((0,i.A)(a.U.definitions))},o={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ClapMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetPostId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"numClaps"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clap"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetPostId"},value:{kind:"Variable",name:{kind:"Name",value:"targetPostId"}}},{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"numClaps"},value:{kind:"Variable",name:{kind:"Name",value:"numClaps"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ClapMutation_viewerEdge"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ClapMutation_post"}}]}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"ClapMutation_viewerEdge"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PostViewerEdge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"clapCount"}}]}}]),(0,i.A)(r.definitions))}},97595:(e,n,t)=>{t.d(n,{D:()=>o});var i=t(45458),a=t(62742),r=t(56788),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MultiVote_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SusiClickable_user"}}]}},{kind:"Field",name:{kind:"Name",value:"isPublished"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SusiClickable_post"}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"slug"}}]}},{kind:"Field",name:{kind:"Name",value:"isLimitedState"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MultiVoteCount_post"}}]}}].concat((0,i.A)(a.LI.definitions),(0,i.A)(a.CV.definitions),(0,i.A)(r.U.definitions))}},56788:(e,n,t)=>{t.d(n,{U:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MultiVoteCount_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},81799:(e,n,t)=>{t.d(n,{IY:()=>s,mq:()=>c,Eq:()=>u});var i=t(27721),a=t(60014),r=function(){var e=(0,i.R)(),n=e.loading,t=e.error,r=e.value,o=(0,a.F)(),l=o.loading,c=o.error,s=o.visitor;return null!=r&&r.geolocation?{loading:n,error:t,geolocation:r.geolocation}:null!=s&&s.geolocation?{loading:l,error:c,geolocation:s.geolocation}:{loading:n||l,error:t||c}},o=t(66973),l=new Set(["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","GB"]),c="accepted",s=new o.A("201805-policy");function u(){var e=r(),n=e.loading,t=e.geolocation;if(n)return{loading:n,isEu:void 0,hasAcceptedPrivacyBanner:void 0};var i,a=!(null==t||!t.country)&&(i=t.country,l.has(i));return{loading:!1,isEu:a,hasAcceptedPrivacyBanner:a&&s.get(c)}}},88726:(e,n,t)=>{t.d(n,{i:()=>u});var i=t(80045),a=t(64467),r=t(96540),o=t(44402),l=["borderColor","height"];function c(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}var s=function(e,n,t){return function(i){return function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?c(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({height:"0px",width:"100%",borderBottom:"solid ".concat(t||"1px"," ").concat(n||i.colorTokens.border.neutral.primary.base)},e)}},u=function(e){var n=e.borderColor,t=e.height,a=(0,i.A)(e,l),c=(0,o.l)();return r.createElement("div",{className:c(s(a,n,t))})}},51739:(e,n,t)=>{var i;t.d(n,{gH:()=>r,qg:()=>a,rE:()=>i}),function(e){e[e.LEGACY=1]="LEGACY",e[e.STORY=2]="STORY",e[e.SIMPLE=3]="SIMPLE"}(i||(i={}));var a=3,r="414px"},79756:(e,n,t)=>{t.d(n,{DL:()=>d,Fl:()=>c,G$:()=>s,J6:()=>f,TC:()=>l,bY:()=>u,gz:()=>p,it:()=>g,rz:()=>m});var i=t(64467),a=t(51739);function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function o(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?r(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):r(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var l=10,c=function(e,n,t,i,a){e.preventDefault();var r=e.currentTarget;r.scrollHeight-r.scrollTop-r.clientHeight<1.5*r.clientHeight&&n&&!t&&a&&(i(!0),a())},s=function(e){return(a.qg-1)*(e+1)},u=function(e){return"Catalog"===e?"list":"Post"===e?"story":""},d=function(e,n){return"Catalog"===n?{rootCatalogId:e}:"Post"===n?{rootPostId:e}:{}},m=function(e,n){return"Post"===n?{parentPostId:e}:{}},p=function(e){return"Catalog"===e?"respond_list_sidebar":"respond_sidebar"},f=function(e,n,t,i){var a=!1;if(i){var r,l,c,s=(null===(r=i.threadedPostResponses)||void 0===r?void 0:r.posts)||[];return{responses:{posts:[o(o({},i),{},{threadedPostResponses:{posts:s,autoExpandedPostIds:null!==(l=i.threadedPostResponses)&&void 0!==l&&l.posts?null===(c=i.threadedPostResponses)||void 0===c?void 0:c.posts.map((function(e){return e.id})):[],pagingInfo:null,__typename:"ThreadedPostResponseConnection"}})],pagingInfo:null,autoExpandedPostIds:null,__typename:"ThreadedPostResponseConnection"},showCreateReplyEditor:s.length<1}}return!e&&n?{responses:{posts:[],pagingInfo:null,autoExpandedPostIds:null,__typename:"ThreadedPostResponseConnection"},showCreateReplyEditor:a}:{responses:{posts:(null==t?void 0:t.posts)||[],pagingInfo:(null==t?void 0:t.pagingInfo)||null,autoExpandedPostIds:null,__typename:"ThreadedPostResponseConnection"},showCreateReplyEditor:a}},g=function(e){var n=u(e);return"The author has closed discussion".concat(n?" for this ".concat(n):"",". We are unable to save changes to your response.")}},18565:(e,n,t)=>{t.d(n,{C:()=>i});var i=new(t(66973).A)("uid")},55695:(e,n,t)=>{t.d(n,{Q:()=>r});var i=t(96540),a=t(75636),r=function(e){var n=e.children,t=e.name,r=e.placeholder,o=(0,a.p)(t),l=o.error,c=o.loading,s=o.value,u=o.isVisible;return l||c||!u?i.createElement(r,null):n(s)}},75636:(e,n,t)=>{t.d(n,{p:()=>o,z:()=>r});var i=t(39160),a=t(19723),r=function(e){var n=e.name,t=e.placeholder,i=o(n),a=i.error,r=i.loading,l=i.value,c=i.isVisible;return a||r||!c?t:l},o=function(e){var n=(0,i.d4)((function(e){return e.client.hydrated})),t=(0,a.iT)(e);return{error:t.error,loading:t.loading,value:t.value,isVisible:n}}},19723:(e,n,t)=>{t.d(n,{_P:()=>u,iT:()=>s,D0:()=>d});var i=t(39181),a=t(82484),r=function(e,n){a.L.addFeatureFlagEvaluation(e,null!=n&&n)},o=t(45458),l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VariantFlagsQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"variantFlags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"VariantFlag_variantFlag"}}]}}]}}].concat((0,o.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"VariantFlag_variantFlag"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VariantFlag"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"valueType"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VariantFlagBoolean"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"booleanValue"},name:{kind:"Name",value:"value"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VariantFlagString"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"stringValue"},name:{kind:"Name",value:"value"}}]}}]}}]}}]))},c=function(e){var n=null;return e&&"VariantFlagBoolean"===e.valueType.__typename&&void 0!==e.valueType.booleanValue?n=e.valueType.booleanValue:e&&"VariantFlagString"===e.valueType.__typename&&void 0!==e.valueType.stringValue&&(n=e.valueType.stringValue),n},s=function(e){var n=(0,i.I)(l),t=n.data,a=(t=void 0===t?{}:t).variantFlags,o=void 0===a?[]:a,s=n.loading,u=n.error;if(s)return{loading:s};if(u)return{error:u};var d=function(e,n){var t=e.find((function(e){return e.name===n}));return c(t)}(o,e);return r(e,d),{value:d}},u=function(e){var n=s(e).value;return r(e,n),n},d=function(){var e=(0,i.I)(l),n=e.data,t=(n=void 0===n?{}:n).variantFlags,a=void 0===t?[]:t,r=e.loading,o=e.error;return r||o?{}:a.reduce((function(e,n){return e[n.name]=c(n),e}),{})}},74515:(e,n,t)=>{t.d(n,{R:()=>i});var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ViewerQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"allowEmailAddressSharingEditorWriter"}},{kind:"Field",name:{kind:"Name",value:"atsQualifiedAt"}},{kind:"Field",name:{kind:"Name",value:"dismissableFlags"}},{kind:"Field",name:{kind:"Name",value:"emailObfuscated"}},{kind:"Field",name:{kind:"Name",value:"geolocation"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"}}]}},{kind:"Field",name:{kind:"Name",value:"hasGroupGiftingEnabled"}},{kind:"Field",name:{kind:"Name",value:"hasPastMemberships"}},{kind:"Field",name:{kind:"Name",value:"hasSubdomain"}},{kind:"Field",name:{kind:"Name",value:"imageId"}},{kind:"Field",name:{kind:"Name",value:"isEligibleToImportEmails"}},{kind:"Field",name:{kind:"Name",value:"isEligibleToViewNewResponses"}},{kind:"Field",name:{kind:"Name",value:"isMembershipTrialEligible"}},{kind:"Field",name:{kind:"Name",value:"isSuspended"}},{kind:"Field",name:{kind:"Name",value:"membership"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tier"}},{kind:"Field",name:{kind:"Name",value:"memberSince"}},{kind:"Field",name:{kind:"Name",value:"friendSince"}}]}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"partnerProgramEnrollment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}}]}},{kind:"Field",name:{kind:"Name",value:"postSubscribeMembershipUpsellShownAt"}},{kind:"Field",name:{kind:"Name",value:"styleEditorOnboardingVersionSeen"}},{kind:"Field",name:{kind:"Name",value:"twitterScreenName"}},{kind:"Field",name:{kind:"Name",value:"unverifiedEmail"}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}}]}}]}},65138:(e,n,t)=>{t.d(n,{C:()=>i});var i=function(e){return e.length>0&&!e.match(/^lo_/)}},2550:(e,n,t)=>{t.d(n,{A:()=>r});var i=t(27721),a=t(60014),r=function(){var e=(0,i.R)(),n=e.loading,t=e.error,r=e.value,o=(0,a.F)(),l=o.loading,c=o.error,s=o.visitor;return null!=r&&r.id?{loading:n,error:t,viewerId:r.id}:null!=s&&s.id?{loading:l,error:c,viewerId:s.id}:{loading:n||l,error:t||c}}},27721:(e,n,t)=>{t.d(n,{R:()=>o});var i=t(39181),a=t(46473),r=t(74515),o=function(){var e=(0,a.HG)(),n=(0,i.I)(r.R,{ssr:!e}),t=n.data,o=(t=void 0===t?{}:t).viewer,l=void 0===o?null:o,c=n.loading,s=n.error;return c?{loading:c}:s?{error:s}:{value:l,loading:c}}},60014:(e,n,t)=>{t.d(n,{F:()=>r});var i=t(39181),a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VisitorQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"visitor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"geolocation"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"}}]}}]}}]}}]},r=function(){var e=(0,i.I)(a,{ssr:!1}),n=e.loading,t=e.error,r=e.data;return{loading:n,error:t,visitor:(null==r?void 0:r.visitor)||null}}},9234:(e,n,t)=>{t.d(n,{_:()=>r});var i=t(39181),a=t(74515),r=function(){var e=(0,i.I)(a.R),n=e.data,t=(n=void 0===n?{}:n).viewer,r=void 0===t?null:t,o=e.loading,l=e.error;return o?{loading:o}:l?{error:l}:{value:r,loading:o}}},19228:(e,n,t)=>{t.d(n,{Cq:()=>c,U1:()=>s,qt:()=>l});var i=t(96540),a=t(11334),r=t(26298),o=i.createContext({baseTheme:r.z}),l=function(){return i.useContext(o)},c=function(e){var n=e.children,t=l().baseTheme;return i.createElement(a.N,{theme:t},n)},s=function(e){var n=e.children;return i.createElement(o.Provider,{value:{baseTheme:r.z}},i.createElement(c,null,n))}},62878:(e,n,t)=>{t.d(n,{G:()=>d,y:()=>m});var i=t(80296),a=t(96540),r=t(27049),o=t(20239),l=t(66305),c=t(39160),s=t(18721),u=Object.values(r.i),d=a.createContext({}),m=function(e){var n=e.children,t=(0,c.d4)((function(e){return e.client.hydrated})),r=(0,o.D)(),m=a.useCallback((function(){if(t&&"undefined"!=typeof window&&window.matchMedia)for(var e=0,n=u;e<n.length;e++){var i=n[e];if(window.matchMedia(s[i](r).replace("@media all and ","")).matches)return i}}),[t,r]),p=a.useState(m),f=(0,i.A)(p,2),g=f[0],h=f[1];a.useEffect((function(){var e=function(){h(m)};return l.R5.on("resize",e),function(){return l.R5.off("resize",e)}}),[m]),a.useEffect((function(){h(m)}),[t]);var v=a.useMemo((function(){return{responsiveSize:g}}),[g]);return a.createElement(d.Provider,{value:v},n)}},82811:(e,n,t)=>{t.d(n,{P:()=>o});var i=t(45631),a=t(96540),r=t(8636),o=a.createContext((0,i.A)({filterClassName:r.S}))},8636:(e,n,t)=>{t.d(n,{A:()=>u,S:()=>s});var i=t(45631),a=t(85835),r=t(88473);const o={html:{boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},"*, *:before, *:after":{boxSizing:"inherit"},body:{margin:0,padding:0,textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",color:"rgba(0,0,0,0.8)",position:"relative",minHeight:"100vh"},"h1, h2, h3, h4, h5, h6, dl, dd, ol, ul, menu, figure, blockquote, p, pre, form":{margin:0},"menu, ol, ul":{padding:0,listStyle:"none",listStyleImage:"none"},main:{display:"block"},a:{color:"inherit",textDecoration:"none"},"a, button, input":{WebkitTapHighlightColor:"transparent"},"img, svg":{verticalAlign:"middle"},button:{background:"transparent",overflow:"visible"},"button, input, optgroup, select, textarea":{margin:0},":root":{"--reach-tabs":1,"--reach-menu-button":1},"#speechify-root":{fontFamily:"Sohne, sans-serif"},'div[data-popper-reference-hidden="true"]':{visibility:"hidden",pointerEvents:"none"},".grecaptcha-badge":{visibility:"hidden"}};var l="\n/*\n\nXCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>\n\n*/\n\n.hljs {\n background: #fff;\n color: black;\n}\n\n/* Gray DOCTYPE selectors like WebKit */\n.xml .hljs-meta {\n color: #c0c0c0;\n}\n\n.hljs-comment,\n.hljs-quote {\n color: #007400;\n}\n\n.hljs-tag,\n.hljs-attribute,\n.hljs-keyword,\n.hljs-selector-tag,\n.hljs-literal,\n.hljs-name {\n color: #aa0d91;\n}\n\n.hljs-variable,\n.hljs-template-variable {\n color: #3F6E74;\n}\n\n.hljs-code,\n.hljs-string,\n.hljs-meta .hljs-string {\n color: #c41a16;\n}\n\n.hljs-regexp,\n.hljs-link {\n color: #0E0EFF;\n}\n\n.hljs-title,\n.hljs-symbol,\n.hljs-bullet,\n.hljs-number {\n color: #1c00cf;\n}\n\n.hljs-section,\n.hljs-meta {\n color: #643820;\n}\n\n\n.hljs-title.class_,\n.hljs-class .hljs-title,\n.hljs-type,\n.hljs-built_in,\n.hljs-params {\n color: #5c2699;\n}\n\n.hljs-attr {\n color: #836C28;\n}\n\n.hljs-subst {\n color: #000;\n}\n\n.hljs-formula {\n background-color: #eee;\n font-style: italic;\n}\n\n.hljs-addition {\n background-color: #baeeba;\n}\n\n.hljs-deletion {\n background-color: #ffc8bd;\n}\n\n.hljs-selector-id,\n.hljs-selector-class {\n color: #9b703f;\n}\n\n.hljs-doctag,\n.hljs-strong {\n font-weight: bold;\n}\n\n.hljs-emphasis {\n font-style: italic;\n}\n",c=new Set(["en","ad"]);function s(e){return!c.has(e)}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.noGlobals,t=e.ssrMode,c=(0,i.A)({plugins:[(0,r.A)()],mediaQueryOrder:["all and (min-width: 1080px)","all and (max-width: 1079.98px)","all and (max-width: 903.98px)","all and (max-width: 727.98px)","all and (max-width: 551.98px)","all and (min-width: 904px) and (max-width: 1079.98px)","all and (min-width: 728px) and (max-width: 903.98px)","all and (min-width: 552px) and (max-width: 727.98px)","print"],filterClassName:s});return t||(0,a.A)(c),n||(Object.keys(o).forEach((function(e){return c.renderStatic(o[e],e)})),c.renderStatic(l)),c}},61477:(e,n,t)=>{t.d(n,{J:()=>r});var i=t(96540),a=t(82811),r=function(){return i.useContext(a.P)}},65802:(e,n,t)=>{t.d(n,{n:()=>c});var i=t(80296),a=t(96540),r=t(75636),o=t(72130),l=t(39160),c=function(e){var n=e.callback,t=e.shouldExecuteRecaptcha,c=e.action,s=e.susiEntry,u=e.viewerId,d=(0,o.$L)(),m=(0,l.d4)((function(e){return e.config.recaptchaKey})),p=(0,l.d4)((function(e){return e.config.recaptchaEnterpriseKeyId})),f=(0,r.z)({name:"enable_recaptcha_enterprise",placeholder:!1}),g=a.useState(!1),h=(0,i.A)(g,2),v=h[0],k=h[1],S=a.useState(!1),b=(0,i.A)(S,2),E=b[0],y=b[1],N=a.useState(null),w=(0,i.A)(N,2),P=w[0],O=w[1];a.useEffect((function(){E&&(n(P),y(!1))}),[E]);var T=a.useCallback((function(){d.event("susi.recaptcha.invoked",{entryPoint:s,loggedOutUserId:u})}),[d,s,u]);return a.useEffect((function(){if(t){var e=window.grecaptcha;if(!e)return;f?e.enterprise.ready((function(){T(),e.enterprise.execute(p,{action:c}).then((function(e){O(e),y(!0)}))})):(v||(e.render("g-recaptcha",{callback:function(n){O(n),y(!0),e.reset()},sitekey:m,size:"invisible"}),k(!0)),e.execute()),d.event("site.loginByEmailCaptchaInvoked",{})}}),[t,T]),a.createElement("div",{id:"g-recaptcha"})}},62742:(e,n,t)=>{t.d(n,{CV:()=>o,Km:()=>r,LI:()=>l,ei:()=>c});var i=t(45458),a=t(51999),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SusiClickable_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SusiContainer_collection"}}]}}].concat((0,i.A)(a.Xv.definitions))},o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SusiClickable_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"mediumUrl"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SusiContainer_post"}}]}}].concat((0,i.A)(a.pp.definitions))},l=([{kind:"FragmentDefinition",name:{kind:"Name",value:"SusiClickable_topic"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Topic"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SusiContainer_topic"}}]}}].concat((0,i.A)(a.oN.definitions)),{kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SusiClickable_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SusiContainer_user"}}]}}].concat((0,i.A)(a.SL.definitions))}),c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SusiClickable_newsletterV3"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewsletterV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SusiContainer_newsletterV3"}}]}}].concat((0,i.A)(a.zl.definitions))};[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SusiClickableAccountTokenQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SusiContainer_query"}}]}}].concat((0,i.A)(a.PQ.definitions))},43634:(e,n,t)=>{t.d(n,{r:()=>h});var i=t(64467),a=t(96540),r=t(18565),o=t(28263),l=t(99731),c=t(86527),s=t(49287),u=t(67033),d=t(39160),m=t(79959),p=t(46879);function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function g(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var h=function(e){var n,t=e.actionUrl,i=e.additionalClickActions,f=e.buttonSize,h=e.buttonStyle,v=e.children,k=e.collection,S=e.isButton,b=e.linkStyle,E=e.operation,y=e.post,N=e.susiEntry,w=e.topic,P=e.user,O=e.newsletterV3,T=e.inline,C=e.redirectTo,A=e.buttonWidth,_=e.pageSource,I=e.testId,R=E,F=(0,d.d4)((function(e){return e.config.authDomain})),L=(0,d.d4)((function(e){return e.navigation.currentLocation})),M="http[s]?://[^/]*"+F,D=null==L.match(M),x=(0,o.C)().openModal,U=null!=k&&k.name?k.name:"",B=null!=k&&k.id?k.id:"",j=null!=O&&O.name?O.name:"",V=null!=O&&O.id?O.id:"",H=null!=P&&P.name?P.name:"",G=null!=P&&P.id?P.id:"",W=L;C?W=C:y&&(W=y.mediumUrl||(0,p.KI2)(F,y.id)),n=(0,m.ST)((0,p.cR0)(F),g(g({},t&&{actionUrl:t}),{},{operation:R,redirect:W})),k&&(n=(0,m.ST)(n,{collection:U,collectionId:B})),O&&(n=(0,m.ST)(n,{newsletterV3:j,newsletterV3Id:V})),P&&(n=(0,m.ST)(n,{user:H,userId:G}));var z=function(e){e.preventDefault(),i&&i(),r.C.set("susiEntry",N),x({actionUrl:t,collection:k,step:"login"===R?"SIGNIN_OPTIONS":"SIGNUP_OPTIONS",susiEntry:N,post:y,operation:R,topic:w,newsletterV3:O,user:P,redirectTo:C})};return a.createElement(s.Ne,{source:{name:_,susiEntry:N},extendSource:!0},a.createElement(u.b,{eventData:{operation:R,postId:null==y?void 0:y.id},tag:"span"},D?S?a.createElement(l.$n,{href:n,buttonStyle:h||"SUBTLE",size:f,width:A,"data-testid":I},v):a.createElement(c.N,{href:n,linkStyle:b||"SUBTLE",inline:T,"data-testid":I},v):S?a.createElement(l.$n,{onClick:z,buttonStyle:h||"SUBTLE",size:f,width:A,"data-testid":I},v):a.createElement(c.N,{href:n,onClick:function(e){e.metaKey||e.ctrlKey||z(e)},linkStyle:b||"SUBTLE",inline:T,"data-testid":I},v)))}},85836:(e,n,t)=>{t.d(n,{$q:()=>m,Dq:()=>p,cg:()=>u,kV:()=>s});var i=t(64467),a=t(78968),r=t(79959);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function l(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var c=function(e,n){switch(e){case"bookmark_footer":case"bookmark_preview":case"bookmark_sidebar":return"bookmark";case"clap_footer":case"clap_preview":case"clap_sidebar":return"clap";case"email_homepage":return"direct_email_signup";case"follow_custom_page":case"follow_pub":case"follow_sidebar":case"follow_header":return"follow_co_brand";case"follow_byline":case"follow_profile":case"follow_list":case"follow_topicgrid":case"follow_topicpage":case"follow_tag":case"follow_oneclick":case"follow_topic_recommendation":return"follow";case"follow_card":case"follow_footer":case"follow_search":case"follow_topicfeatured":return n&&n.collection?"follow_co_brand":"follow";case"highlight_sidebar":case"highlight_text":return"highlight";case"landing_benefits":case"post_regwall_subscribe":case"lohp_upsell":case"lo_non_moc_upsell":case"membership_plans":return"subscribe";case"landing_creator":return"writer";case"lohp_hero_writing":return"start_reading";case"landing_gift":return"gift";case"smart_meter":return"smart_meter_1";case"metered_view_2":return"smart_meter_2";case"metered_view_3":return"smart_meter_3";case"post_audio_button":return"audio";case"post_custom_domain":case"post_free":return"post_prompt";case"post_friend_link":return"friend_link";case"post_paywall":case"post_regwall":return"read_exclusive";case"privatenote_text":case"respond_text":case"respond_box":case"respond_sidebar":return"respond";case"collection_newsletter_v3_landing":case"newsletter_v3_promo":return"subscribe_newsletter_v3";case"subscribe_user":return"subscribe_user";case"user_subdomain_creation":case"user_style_editor":return"marketing_page";case"list_sidebar":case"list":return"list";case"your_catalogs":return"your_catalogs";case"notifications":return"notifications";case"your_stories":return"your_stories";case"new_post_topnav":return"new_post_topnav";case"clap_list_footer":case"clap_list_sidebar":return"clap_list";case"respond_list_sidebar":return"respond_list";case"entity_driven_subscription_lp":return"referred_member";case"discount_plans":return"discount_plans";case"unrecognized_account":return"unrecognized_account";default:return null!=e&&e.includes("earn_page")?"marketing_page":null!=e&&e.includes("membership_page")?"marketing_membership_page":null!=e&&e.includes("creators_page")?"marketing_creators_page":"general"}},s=function(e,n){var t=n.collection,i=(t=void 0===t?{name:""}:t).name,a=n.productName,r=n.collectionSlug,o=n.topic,l=(o=void 0===o?{name:""}:o).name,s=n.user,u=(s=void 0===s?{name:""}:s).name,d=c(e,n),m=r?r.charAt(0).toUpperCase()+r.slice(1):"";switch(d){case"bookmark":return{subheader:"Sign in to save stories to your personalized bookmarks and access them anytime, anywhere."};case"clap":return{subheader:u?"Sign in to clap for this story and show ".concat(u," how much you appreciated it."):"Sign in to clap for this story"};case"discount_plans":return{title:"First, sign in to your Medium account.",subheader:"Then youll be able to select a membership plan and enter a discount code."};case"follow":return{subheader:"Sign in to follow"+(u?" ".concat(u):l?" ".concat(l):"")+"."};case"follow_co_brand":return{subheader:"Sign in to follow"+(r?" ".concat(m,"."):" ".concat(i)),poweredBy:"".concat(r?m:i)+" is powered by ".concat(a,".")};case"highlight":return{subheader:"Sign in to highlight this passage and show the author it resonates with you."};case"read_exclusive":return{subheader:"Sign in to read this story and get personalized recommendations from ".concat(a,".")};case"respond":case"respond_list":return{subheader:"Sign in to keep the conversation moving with a response."};case"subscribe":return{subheader:"Sign in to your existing account to continue."};case"smart_meter_1":case"general":case"marketing_page":return{subheader:""};case"marketing_membership_page":return{title:"Get Started.",subheader:""};case"marketing_creators_page":return{title:"Share your ideas.",subheader:"On ".concat(a,", you and your writing have the opportunity to connect with people around the world.")};case"subscribe_newsletter_v3":return{subheader:"Sign in to get this newsletter in your inbox."};case"start_reading":case"subscribe_user":case"list":return{title:"Welcome back.",subheader:""};case"clap_list":return{subheader:u?"Sign in to clap for this list and show ".concat(u," how much you appreciated it."):"Sign in to clap for this list"};case"referred_member":return{subheader:"Sign in to your account so you can upgrade to membership."};default:return{subheader:"Sign in to get personalized story recommendations, follow authors and topics you love, and interact with stories."}}},u=function(e,n,t){var i=n.collection,r=(i=void 0===i?{name:""}:i).name,o=n.productName,l=n.collectionSlug,s=n.topic,u=(s=void 0===s?{name:""}:s).name,d=n.user,m=(d=void 0===d?{name:""}:d).name,p=c(e,n),f=l?l.charAt(0).toUpperCase()+l.slice(1):"";switch(p){case"audio":return{title:"Create a ".concat(o," account to listen to stories"),subheader:"Once youve created your account, you can upgrade to listen to stories and enjoy access to every story on ".concat(o,".")};case"bookmark":return{title:"Create an account to save this story.",subheader:"Save stories to your personalized lists and access them anytime, anywhere."};case"clap":return{title:"Create an account to clap for this story.",subheader:"Applause shows ".concat(m?m+" ":"","how much you appreciated this story.")};case"discount_plans":return{title:"First, create an account.",subheader:"Then youll be able to select a membership plan and enter a discount code."};case"friend_link":return{title:"Create a Medium account to share a Friend Link.",subheader:"Once youve created your account, you can upgrade to access Friend Links and read every story on Medium."};case"follow":return{title:"Never miss a story"+(m?" from ".concat(m):u?" about ".concat(u):"")+".",subheader:"Create a ".concat(o," account to follow your favorite authors, publications, and topics.")};case"follow_co_brand":return{title:"Never miss a story"+(l?" from ".concat(f):r?" from ".concat(r):u?" about ".concat(u):"")+".",subheader:"Create an account to follow your favorite authors, publications, and topics.",poweredBy:"".concat(l?f:r)+" is powered by ".concat(o,".")};case"highlight":return{title:"Create an account to highlight this passage.",subheader:"Highlighting on ".concat(o," shows the author and readers which ideas resonate with you.")};case"notifications":return{title:"Create an account to stay connected.",subheader:""};case"your_stories":case"new_post_topnav":return{title:"Create an account to start writing.",subheader:""};case"your_catalogs":return{title:"Create an account to curate and share lists.",subheader:""};case"post_prompt":var g=(0,a._1)()||0;return{title:"Pardon the interruption.",subheader:g<3?"We see youve read on ".concat(o," before - theres a personalized experience waiting just a few clicks away. Ready to make ").concat(o," yours?"):"Youve read ".concat(g," stories this month. Theres a lot more where that came from. Ready to make ").concat(o," yours?")};case"read_exclusive":return{title:"Create an account to read this story.",subheader:"Signing up for ".concat(o," is quick, easy, and free.")};case"respond":return{title:"Create an account to write a response.",subheader:"Build on this storys ideas with your own responses keep the conversation moving."};case"respond_list":return{title:"Create an account to write a response.",subheader:"Build on this list with ideas of your own — responses keep the conversation moving."};case"smart_meter_2":return{title:"Keep reading.",subheader:"Read more stories this month when you create a free ".concat(o," account.")};case"smart_meter_3":return{title:"Read to your minds desire.",subheader:"Sign up for a free ".concat(o," account, and youll get one more story in your member preview this month.")};case"subscribe":return{title:"First, create an account",subheader:"Once you've created your account, you'll be able to upgrade for unlimited access to ".concat(o,".")};case"subscribe_newsletter_v3":return{title:"Create a free ".concat(o," account to get this newsletter in your inbox."),subheader:""};case"subscribe_user":return{title:"Create a ".concat(o," account to get an email when ").concat(m," publishes."),subheader:""};case"start_reading":case"smart_meter_1":case"general":return{title:"Join ".concat(o,"."),subheader:t?"":"Create an account to receive great stories in your inbox, personalize your homepage, and follow authors and topics that you love."};case"marketing_page":case"marketing_creators_page":return{title:"Share your ideas.",subheader:"On ".concat(o,", you and your writing have the opportunity to connect with people around the world.")};case"marketing_membership_page":return{title:"Get Started.",subheader:""};case"list":return{title:"Join ".concat(o," to add this story to a list."),subheader:"Easily organize and share stories with lists."};case"clap_list":return{title:"Create an account to clap for this list.",subheader:"Applause shows ".concat(m?m+" ":"","how much you appreciated this list.")};case"referred_member":return{title:"First, create an account.",subheader:"Once youve created your account, youll be able to upgrade for unlimited access to Medium."};case"unrecognized_account":return{title:"Sorry, we didn't recognize that account",subheader:"Would you like to create a new ".concat(o," account?")};default:return{title:"Join ".concat(o,"."),subheader:"Create an account to receive great stories in your inbox, personalize your homepage, and follow authors and topics that you love."}}},d=["clap_footer","clap_preview","clap_sidebar","landing_benefits","landing_gifts","highlight_sidebar","highlight_text","landing_home_hero","post_free","post_custom_domain","post_paywall","post_regwall","privatenote_text","respond_box","report_footer","report_profile","respond_text","clap_list_footer","clap_list_sidebar"],m=function(e,n,t,i,a,o,c){var s=t&&d.includes(t),u=(0,r.ST)(e,l(l({source:n},s&&{skipOnboarding:"1"}),!!o&&o),c),m=i&&a?(0,r.ST)(i,{token:a,source:n}):"";return m?(0,r.ST)(m,{redirectUrl:u}):u},p=function(e,n){var t,i,a,r,o,l=Date.now();switch(e){case"InvalidPassword":return t=null==n?void 0:n.failCount,"That password was incorrect. You have ".concat(o=6-t," more attempt").concat(o>1?"s":""," before your account is locked for 1 minute.");case"PasswordSoftLockout":return i=null==n?void 0:n.lockedOutUntil,a=Math.ceil((i-l)/6e4),"Due to too many password attempts, your account is locked for ".concat(a," minute").concat(a>1?"s":"",".");case"PasswordPermanentLockout":return"Due to security reasons, you can no longer sign in with password. Recover your password by requesting a magic link below.";case"InvalidTwoFactorAuthCode":return t=null==n?void 0:n.failCount,"That verification code was incorrect. You have ".concat(o=6-t," more attempt").concat(o>1?"s":""," before your account is locked for 1 minute.");case"TwoFactorAuthSoftLockout":return i=null==n?void 0:n.lockedOutUntil,a=Math.ceil((i-l)/6e4),"You reached your maximum number of attempts. Your account will be locked for ".concat(a," minute").concat(a>1?"s":"",".");case"TwoFactorAuthPermanentLockout":return"Your account has been locked, because you have attempted to enter a verification code too many times.";case"IpAuthLockout":return i=null==n?void 0:n.lockedOutUntil,r=Math.ceil((i-l)/864e5),"For security reasons, you cannot sign in from this network for ".concat(r," day").concat(r>1?"s":"",".");default:return"Please try again."}}},28263:(e,n,t)=>{t.d(n,{C:()=>o});var i=t(69733),a=t(91830),r=t(39160),o=function(){var e=(0,i.wA)(),n=(0,r.Dy)((function(e){return e.navigation.susiModal})),t=function(n){return e((0,a.mZ)(n))};return{goToSignInOptions:function(){return t({operation:"login",step:"SIGNIN_OPTIONS"})},goToSignUpOptions:function(){return t({operation:"register",step:"SIGNUP_OPTIONS"})},openModal:function(n){return e((0,a.mZ)(n))},resetModal:function(){return e((0,a.mZ)({step:null,operation:"login"}))},setOperation:function(e){return t({operation:e})},setStep:function(e){return t({step:e})},setToken:function(e){return t({token:e})},susiModalConfig:n,toggleOperation:function(){return t({operation:"login"===n.operation?"register":"login"})},updateModal:t}}},81512:(e,n,t)=>{t.d(n,{Q:()=>l});var i=t(45458),a=t(39160),r=t(79959),o=t(46879),l=function(e,n,t,l){var c=l&&"connect"===t?l:void 0,s=function(e){var n=(0,a.d4)((function(e){return e.config.authDomain}));switch(e){case"Apple":return(0,o.G0g)(n);case"Facebook":return(0,o.Ody)(n);case"Google":return(0,o.BBv)(n);case"Twitter":return(0,o.rlF)(n)}}(e),u={state:["".concat(e.toLowerCase(),"-"),n,t].concat((0,i.A)(c?[c]:[])).join("|")};return(0,r.ST)(s,u)}},79:(e,n,t)=>{t.d(n,{B:()=>u});var i,a=t(58168),r=t(96540),o=t(19723),l=t(72479);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},c.apply(null,arguments)}const s=function(e){return r.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24"},e),i||(i=r.createElement("g",{id:"apple"},r.createElement("path",{id:"apple-vector",fill:"currentColor",d:"M18.52 8.23c-.106.086-1.993 1.183-1.993 3.62 0 2.82 2.401 3.818 2.473 3.843-.011.06-.381 1.366-1.266 2.696-.788 1.17-1.612 2.34-2.865 2.34s-1.575-.751-3.022-.751c-1.41 0-1.91.775-3.056.775S6.845 19.67 5.925 18.34C4.86 16.778 4 14.35 4 12.048c0-3.694 2.329-5.653 4.621-5.653 1.218 0 2.233.825 2.998.825.728 0 1.863-.874 3.248-.874.525 0 2.412.05 3.654 1.885m-4.31-3.448c.572-.701.978-1.674.978-2.647 0-.135-.011-.272-.035-.382-.933.036-2.042.64-2.71 1.44-.526.616-1.016 1.589-1.016 2.575 0 .148.024.296.035.344a1.4 1.4 0 0 0 .25.025c.837 0 1.89-.578 2.497-1.355"}))))};var u=function(e){var n=(0,a.A)({},e);return(0,o._P)("disable_login_apple")?null:r.createElement(l.q,(0,a.A)({},n,{icon:s,service:"Apple"}))}},4765:(e,n,t)=>{t.d(n,{P:()=>k});var i,a=t(96540),r=t(55695),o=t(2550),l=t(99731),c=t(52290),s=t(72130),u=t(49287),d=t(39160);function m(){return m=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},m.apply(null,arguments)}const p=function(e){return a.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),i||(i=a.createElement("g",{id:"email-icon"},a.createElement("g",{id:"Group 10123",stroke:"#242424"},a.createElement("rect",{id:"Rectangle 1488",width:17,height:13,x:3.5,y:5.505,rx:1}),a.createElement("path",{id:"Vector 107",strokeLinecap:"round",d:"m3.5 8.005 8.5 6 8.5-6"})))))};var f=t(79959),g=t(46879),h=t(85836),v=function(){return null},k=function(e){var n=e.operation,t=e.goToEmailAuthStep,i=(0,s.$L)(),m=(0,u.Zj)(),k=(0,d.d4)((function(e){return e.config.authDomain})),S=(0,d.d4)((function(e){return e.navigation.currentLocation})),b=(0,o.A)().viewerId,E=!(0,f.mk)(S,k),y=(0,h.$q)(S,(0,u.jI)(),m,void 0,void 0),N=(0,f.ST)((0,g.cR0)(k),{redirect:y,operation:n,stepOverride:"ENTER_EMAIL"}),w=E?N:void 0,P=E?void 0:function(){i.event("susi.methodClicked",{loogedOutUserId:b,entryPoint:m,operation:n,susiMethod:"medium"}),t()};return a.createElement(r.Q,{name:"disable_login_email",placeholder:v},(function(e){return e?null:a.createElement(l.$n,{buttonStyle:"SOCIAL",onClick:P,href:w,size:"LARGE",width:l.Gk,padding:l.Rc},a.createElement(c.a,{alignItems:"center",display:"flex",justifyContent:"space-between"},a.createElement(c.a,{tag:p}),"Sign ".concat("login"===n?"in":"up"," with email"),a.createElement(c.a,{height:"24px",width:"24px"})))}))}},71336:(e,n,t)=>{t.d(n,{N:()=>c});var i=t(58168),a=t(96540),r=t(19723),o=t(72479),l=t(9112),c=function(e){var n=(0,i.A)({},e);return(0,r._P)("disable_login_facebook")?null:a.createElement(o.q,(0,i.A)({},n,{icon:l.A,service:"Facebook"}))}},88909:(e,n,t)=>{t.d(n,{s:()=>p});var i,a=t(58168),r=t(96540),o=t(55695),l=t(72479);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},c.apply(null,arguments)}const s=function(e){return r.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),i||(i=r.createElement("g",{id:"google"},r.createElement("g",{id:"google-vector",fillRule:"evenodd",clipRule:"evenodd"},r.createElement("path",{id:"Shape",fill:"#4285F4",d:"M20.64 12.205q-.002-.957-.164-1.84H12v3.48h4.844a4.14 4.14 0 0 1-1.796 2.717v2.258h2.908c1.702-1.567 2.684-3.874 2.684-6.615"}),r.createElement("path",{id:"Shape_2",fill:"#34A853",d:"M12 21c2.43 0 4.468-.806 5.957-2.18L15.05 16.56c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H3.958v2.332A9 9 0 0 0 12.001 21"}),r.createElement("path",{id:"Shape_3",fill:"#FBBC05",d:"M6.964 13.712a5.4 5.4 0 0 1-.282-1.71c0-.593.102-1.17.282-1.71V7.96H3.957A9 9 0 0 0 3 12.002c0 1.452.348 2.827.957 4.042z"}),r.createElement("path",{id:"Shape_4",fill:"#EA4335",d:"M12 6.58c1.322 0 2.508.455 3.441 1.346l2.582-2.58C16.463 3.892 14.427 3 12 3a9 9 0 0 0-8.043 4.958l3.007 2.332c.708-2.127 2.692-3.71 5.036-3.71"})))))};var u=t(41216),d=t(61333),m=function(){return null},p=function(e){var n=(0,a.A)({},e),t=(0,u.d)().inAppBrowser;return t&&(t===d.S7||d.uW.includes(t))?null:r.createElement(o.Q,{name:"disable_login_google",placeholder:m},(function(e){return e?null:r.createElement(l.q,(0,a.A)({},n,{icon:s,service:"Google"}))}))}},72479:(e,n,t)=>{t.d(n,{q:()=>g});var i=t(96540),a=t(2550),r=t(85836),o=t(81512),l=t(86527),c=t(52290),s=t(99731),u=t(36557),d=t(72130),m=t(49287),p=t(39160),f={Facebook:"Facebook",Twitter:"X",Google:"Google",Apple:"Apple"},g=function(e){var n=e.actionUrl,t=e.customCopy,g=e.icon,h=e.isLink,v=e.operation,k=e.redirectTo,S=e.token,b=e.service,E=e.buttonPadding,y=(0,d.$L)(),N=(0,m.Zj)(),w=(0,p.d4)((function(e){return e.navigation.currentLocation})),P=k||w,O=v,T=(0,r.$q)(P,(0,m.jI)(),N,n,S),C=(0,a.A)(),A=C.loading,_=C.error,I=C.viewerId,R=(0,o.Q)(b,T,O,I);if(A||_)return null;var F=function(){y.event("susi.methodClicked",{entryPoint:N,operation:O,loggedOutUserId:I,susiMethod:b.toLowerCase()})},L=f[b],M="Sign ".concat("login"===O?"in":"up"," with ").concat(L),D=t||M;return h?i.createElement(u.kZ,{scale:"S",color:"DARKER"},i.createElement(l.N,{linkStyle:"SUBTLE",href:R,onClick:F},i.createElement(c.a,{display:"flex",alignItems:"center",justifyContent:"center"},i.createElement(c.a,{marginRight:"12px",marginTop:"-2px",tag:g}),L))):i.createElement(s.$n,{buttonStyle:"SOCIAL",href:R,onClick:F,size:"LARGE",width:s.Gk,padding:null!=E?E:s.Rc},i.createElement(c.a,{display:"flex",alignItems:"center",justifyContent:"space-between"},i.createElement(c.a,{tag:g}),D,i.createElement(c.a,{height:"24px",width:"24px"})))}},93967:(e,n,t)=>{t.d(n,{q:()=>c});var i=t(58168),a=t(96540),r=t(19723),o=t(72479),l=t(83615),c=function(e){var n=(0,i.A)({},e);return(0,r._P)("disable_login_twitter")?null:a.createElement(o.q,(0,i.A)({},n,{icon:l.A,service:"Twitter"}))}},38289:(e,n,t)=>{t.d(n,{p:()=>u});var i=t(96540),a=t(52290),r=t(86527),o=t(36557),l=t(49287),c=t(39160),s=t(46879),u=function(e){var n=e.ctaText,t=e.margin,u=e.width,d=(0,c.d4)((function(e){return e.config.productName})),m=(0,l.Zj)();return i.createElement(a.a,{width:u,margin:t,sm:{width:"80%"}},i.createElement(o.kZ,{scale:"S"},"Click “",n,"” to agree to ",d,"s"," ",i.createElement(r.N,{href:s.x0D,linkStyle:"OBVIOUS",inline:!0,target:"_blank"},"Terms of Service")," ","and acknowledge that ",d,"s"," ",i.createElement(r.N,{href:s.wuc,linkStyle:"OBVIOUS",inline:!0,target:"_blank"},"Privacy Policy")," ","applies to you."),"newsletter_v3_promo"===m||"subscribe_user"===m&&i.createElement(o.kZ,{scale:"S"},"When you subscribe to a writer or publication, your email address will be shared with them so they can stay in contact with you outside of Medium. Opt out any time by unsubscribing in Settings."))}},51999:(e,n,t)=>{t.d(n,{fS:()=>v,Xv:()=>d,zl:()=>g,pp:()=>m,PQ:()=>h,oN:()=>p,SL:()=>f});var i=t(45458),a=[{kind:"FragmentDefinition",name:{kind:"Name",value:"OAuthClickable_query"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountToken"}}]}}],r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"AppleSusiButton_query"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OAuthClickable_query"}}]}}].concat((0,i.A)(a))},o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"FacebookSusiButton_query"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OAuthClickable_query"}}]}}].concat((0,i.A)(a))},l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"GoogleSusiButton_query"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OAuthClickable_query"}}]}}].concat((0,i.A)(a))},c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"TwitterSusiButton_query"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OAuthClickable_query"}}]}}].concat((0,i.A)(a))},s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SignInOptions_query"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AppleSusiButton_query"}},{kind:"FragmentSpread",name:{kind:"Name",value:"FacebookSusiButton_query"}},{kind:"FragmentSpread",name:{kind:"Name",value:"GoogleSusiButton_query"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TwitterSusiButton_query"}},{kind:"FragmentSpread",name:{kind:"Name",value:"EmailSusiButton_query"}}]}}].concat((0,i.A)(r.definitions),(0,i.A)(o.definitions),(0,i.A)(l.definitions),(0,i.A)(c.definitions),(0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"EmailSusiButton_query"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountToken"}}]}}]))},u={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SignUpOptions_query"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FacebookSusiButton_query"}},{kind:"FragmentSpread",name:{kind:"Name",value:"GoogleSusiButton_query"}}]}}].concat((0,i.A)(o.definitions),(0,i.A)(l.definitions))},d={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SusiContainer_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SignInOptions_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SignUpOptions_collection"}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"SignInOptions_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]),(0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"SignUpOptions_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]))},m={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SusiContainer_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]},p={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SusiContainer_topic"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Topic"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SignInOptions_topic"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SignUpOptions_topic"}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"SignInOptions_topic"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Topic"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]),(0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"SignUpOptions_topic"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Topic"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]))},f={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SusiContainer_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SignInOptions_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SignUpOptions_user"}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"SignInOptions_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]),(0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"SignUpOptions_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]))},g={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SusiContainer_newsletterV3"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewsletterV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SignInOptions_newsletterV3"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SignUpOptions_newsletterV3"}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"SignInOptions_newsletterV3"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewsletterV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]),(0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"SignUpOptions_newsletterV3"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewsletterV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]))},h={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SusiContainer_query"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SignInOptions_query"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SignUpOptions_query"}}]}}].concat((0,i.A)(s.definitions),(0,i.A)(u.definitions))},v={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AccountTokenQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountToken"}}]}}]}},79637:(e,n,t)=>{t.d(n,{N:()=>o});var i=t(96540),a=t(52290),r=t(18642),o=function(e){var n=e.children;return i.createElement(a.a,{background:r.ON,borderRadius:{xs:"0",sm:"0",md:"4px",lg:"4px",xl:"4px"},boxShadow:"0 2px 10px ".concat((0,r.qy)(.15)),width:{xs:"100vw !important",sm:"100vw !important",md:"600px",lg:"678px",xl:"678px"},height:{xs:"100vh !important",sm:"100vh !important",md:"auto",lg:void 0,xl:void 0},position:"relative",playwrightClassName:"pw-susi-modal"},n)}},98426:(e,n,t)=>{t.d(n,{u:()=>m});var i=t(96540),a=t(38289),r=t(52290),o=t(86527),l=t(36557),c=t(46879),s=function(e){var n=e.margin,t=e.width;return i.createElement(r.a,{width:t,margin:n,sm:{width:"80%"}},i.createElement(l.kZ,{scale:"S"},"This site is protected by reCAPTCHA Enterprise and the",i.createElement("br",null),i.createElement(o.N,{href:c.Ppt,linkStyle:"OBVIOUS",inline:!0,target:"_blank"},"Google Privacy Policy")," ","and"," ",i.createElement(o.N,{href:c.aMX,linkStyle:"OBVIOUS",inline:!0,target:"_blank"},"Terms of Service")," ","apply."))},u=t(95107),d=t(90383),m=function(e){var n=e.bottomImageId,t=e.children,o=e.ctaText,c=e.isSubHeaderResponsive,m=void 0===c||c,p=e.poweredBy,f=e.subheader,g=e.title,h=e.showRecaptchaDisclaimer,v=void 0!==h&&h;return i.createElement(r.a,{background:"white",borderRadius:"4px",display:"flex",flexDirection:n?"column":"row",height:"100%",minHeight:"695px",justifyContent:"space-between",md:{display:"flex",justifyContent:"center",height:"100vh"},width:"100%"},i.createElement(r.a,{alignItems:"center",display:"flex",flexDirection:"column",flexGrow:"1",justifyContent:"center",md:{display:"flex",width:"100%"},padding:"44px 56px",sm:{paddingTop:"120px"},textAlign:"center",width:n?"100%":"360px"},i.createElement(u.mz,{scale:"M"},g),!!p&&i.createElement(r.a,{sm:{display:"none"}},i.createElement(l.kZ,{color:"LIGHTER",scale:"M"},p)),i.createElement(r.a,{marginTop:p?"20px":"30px",maxWidth:"316px",sm:m?{display:"none"}:{}},i.createElement(l.kZ,{color:"DARKER",scale:"L",tag:"h4"},f)),i.createElement(r.a,{marginTop:"50px"},t),o&&i.createElement(a.p,{ctaText:o,width:"450px"}),v&&i.createElement(s,null)),function(e){if(!e)return null;var n=(0,d.rP)({width:1800,height:212,miroId:e,strategy:d.qY.Resample}),t="url(".concat(n,")");return e&&i.createElement(r.a,{backgroundImage:t,backgroundPositionX:"center",backgroundPositionY:"center",backgroundSize:"cover",height:"212px",maxWidth:"900px"})}(n))}},87039:(e,n,t)=>{t.d(n,{K:()=>c});var i=t(96540),a=t(52290),r=t(36557),o=t(44402),l=function(e){return{alignItems:e,display:"flex"}},c=function(e){var n=e.avatar,t=e.button,c=e.description,s=e.isOneLine,u=void 0!==s&&s,d=e.title,m=e.clampDescription,p=e.leftMargin,f=void 0===p?"8px":p,g=e.alignItems,h=void 0===g?"center":g,v=(0,o.l)();return i.createElement("div",{className:v(l(h))},i.createElement("div",null,n),i.createElement(a.a,{display:u?"flex":void 0,marginLeft:n?f:void 0,width:"100%",flexWrap:u?"nowrap":void 0},i.createElement(a.a,{display:"flex"},d&&i.createElement("div",{style:{flex:1}},i.createElement(r.kZ,{scale:"M",color:"DARKER",tag:"span"},d)),t&&i.createElement("span",null,t)),c&&i.createElement(a.a,{flexShrink:"0"},i.createElement(r.kZ,{scale:"M",tag:"span",clamp:m},c))))}},42136:(e,n,t)=>{t.d(n,{z:()=>u});var i=t(80045),a=t(56449),r=t.n(a),o=t(96540),l=t(5562),c=t(52290),s=["children","middotPadding"];function u(e){var n=e.children,t=e.middotPadding,a=(0,i.A)(e,s),u=(r()(n)?n:[n]).filter((function(e){return!!e})).reduce((function(e,n,i){return 0!==i&&e.push(o.createElement(c.a,{paddingLeft:t,paddingRight:t,key:"middot-".concat(i),ariaHidden:"true"},o.createElement(l.d,null))),e.push(n),e}),[]);return o.createElement(c.a,a,u)}},5562:(e,n,t)=>{t.d(n,{d:()=>o});var i=t(96540),a=t(52290),r=t(36557),o=function(e){var n=e.scale,t=void 0===n?"M":n,o=e.margin,l=e.display,c=e.color,s=void 0===c?"LIGHTER":c;return i.createElement(a.a,{tag:"span",ariaHidden:"true",margin:o,display:l},i.createElement(r.kZ,{scale:t,tag:"span",color:s},"·"))}},14782:(e,n,t)=>{t.d(n,{Ni:()=>u,eS:()=>s,q3:()=>c});var i=t(96540),a=t(52290),r=t(39),o=t(44402),l={opacity:.3,cursor:"progress"};function c(e){var n=e.children,t=e.paddingTopBottom,a=void 0===t?"8px":t,c=e.paddingLeftRight,s=void 0===c?"20px":c,u=e.loading,d=(0,o.l)(),m=(0,r.Z)({name:"detail",scale:"M",color:"LIGHTER"}),p={padding:"".concat(a," ").concat(s),lineHeight:void 0};return i.createElement("li",{className:d([m,p,u?l:void 0])},n)}function s(e){var n=e.paddingTopBottom,t=void 0===n?"8px":n,r=(0,o.l)();return i.createElement(a.a,{paddingTop:t,paddingBottom:t,tag:"li"},i.createElement("div",{className:r((function(e){return{borderTop:"1px solid ".concat(e.colorTokens.border.neutral.primary.base)}}))}))}function u(e){var n=e.padding,t=e.children,r=e.width;return i.createElement(a.a,{display:"flex",flexDirection:"column",alignItems:"stretch",paddingTop:n||"8px",paddingBottom:n||"8px",tag:"ul",width:r},t)}},7580:(e,n,t)=>{t.d(n,{J:()=>d,r:()=>m});var i=t(96540),a=t(90280),r=t(52290),o=t(12378),l=t(44402),c=t(18642),s=t(90383),u=function(e){return function(n){return{display:"block",boxSizing:"border-box",borderRadius:"50%",height:(0,o.c)(e),width:(0,o.c)(e),backgroundColor:n.colorTokens.background.neutral.secondary.base}}},d=function(e,n,t,i){return{boxShadow:n?"none":"inset 0 0 0 1px ".concat((0,c.qy)(.05)),borderRadius:"50%",display:"block",height:"".concat(e,"px"),width:"".concat(e,"px"),position:"absolute",top:0,border:t?"1px solid ".concat((0,c.qy)(.05)):"none",":hover":{backgroundColor:i?(0,c.qy)(.1):"none"}}};function m(e){var n=e.alt,t=e.diameter,o=e.miroId,c=e.freezeGifs,m=e.rules,p=e.noBackgroundShadow,f=e.showBorder,g=void 0!==f&&f,h=e.showHoverState,v=void 0!==h&&h,k=e.testId,S=(0,l.l)(),b=[[u(t)],m];return i.createElement(r.a,{position:"relative"},i.createElement(a.pg,{rules:b,alt:n,miroId:o,width:t,height:t,strategy:s.qY.Crop,freezeGifs:c,testId:k}),i.createElement("div",{className:S(d(t,p,g,v))}))}},77865:(e,n,t)=>{t.d(n,{_:()=>l,u:()=>i});var i,a=t(58168),r=t(96540),o=t(44402);!function(e){e.LAZY="lazy",e.EAGER="eager"}(i||(i={}));var l=function(e){var n=e.alt,t=e.src,l=e.height,c=e.width,s=e.rules,u=e.imgRef,d=e.srcSet,m=e.sizes,p=e.loading,f=void 0===p?i.LAZY:p,g=e.handleError,h=e.testId,v=(0,o.l)(),k=l?Math.round(l):void 0,S=c?Math.round(c):void 0,b=null===c,E={alt:n,src:t,width:b?void 0:S,height:b?void 0:k,srcSet:d,sizes:m,loading:f,"data-testid":h};return n||(E.role="presentation"),r.createElement("img",(0,a.A)({alt:n,className:v(s),ref:u,onError:g},E))}},90280:(e,n,t)=>{t.d(n,{$S:()=>v,au:()=>g,l8:()=>r,pg:()=>k});var i,a,r,o=t(80045),l=t(64467),c=t(96540),s=t(77865),u=t(90383),d=["alt","rules","loading","testId"];function m(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?m(Object(t),!0).forEach((function(n){(0,l.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}!function(e){e.FourToThree="4:3",e.Square="1:1",e.ThreeToTwo="3:2",e.TwoToOne="2:1"}(r||(r={}));var f=(i={},(0,l.A)(i,r.FourToThree,.75),(0,l.A)(i,r.Square,1),(0,l.A)(i,r.ThreeToTwo,.67),(0,l.A)(i,r.TwoToOne,.5),i),g=(a={},(0,l.A)(a,r.FourToThree,1.33),(0,l.A)(a,r.Square,1),(0,l.A)(a,r.ThreeToTwo,1.5),(0,l.A)(a,r.TwoToOne,2),a),h=function(e,n,t){return t&&e?Math.round(e*f[t]):n};function v(e){var n=e.miroId,t=e.width,i=e.height,a=e.aspectRatio,r=e.strategy,o={miroId:n,width:t,freezeGifs:e.freezeGifs,focusPercentX:e.focusPercentX,focusPercentY:e.focusPercentY,webp:e.webp},l=h(t,i,a);return l?(0,u.rP)(p(p({},o),{},{height:l,strategy:r})):(0,u.rP)(p(p({},o),{},{strategy:u.qY.Resample}))}function k(e){var n=e.alt,t=e.rules,i=e.loading,a=e.testId,r=(0,o.A)(e,d),l=r.height,u=r.width,m=v(r);return c.createElement(s._,{src:m,alt:n,rules:t,height:l,width:u,loading:i,testId:a})}},48011:(e,n,t)=>{t.d(n,{x:()=>a});var i=t(45458),a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DismissFlag"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"flag"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UserDismissableFlags"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userDismissFlag"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"flag"},value:{kind:"Variable",name:{kind:"Name",value:"flag"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"DismissFlag_user"}}]}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"DismissFlag_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"dismissableFlags"}}]}}]))}},77485:(e,n,t)=>{t.d(n,{R:()=>r});var i=t(45458),a=t(59265),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserAvatar_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"imageId"}},{kind:"Field",name:{kind:"Name",value:"membership"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tier"}}]}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}}]}}].concat((0,i.A)(a.v0.definitions))}},23393:(e,n,t)=>{t.d(n,{Fj:()=>y,H8:()=>N,eV:()=>h});var i=t(96540),a=t(88609),r=t(48795),o=t(64122),l=t(7580),c=t(86975),s=t(52290),u=t(24960),d=t(85864),m=t(36557),p=t(44402),f=t(42976),g=t(42600),h={XXXS:20,XXS:28,XS:32,S:40,M:48,L:64,XL:80,XXL:128},v=function(e){switch(e){case"XS":return{position:"-4px",right:"-4px",height:"16px",width:"16px"};case"L":return{position:"-8px",right:"-8px",height:"32px",width:"32px"};case"XL":return{position:"-10px",right:"-10px",height:"40px",width:"40px"};default:return{position:"-6px",right:"-6px",height:"24px",width:"24px"}}},k=function(e){return{position:"absolute",top:v(e).position,right:v(e).right,height:v(e).height,width:v(e).width}},S=function(e){return{color:e.backgroundColor,display:"inline-block",padding:"12px 16px",whiteSpace:"nowrap"}},b=function(e){var n=e.children,t=e.href,a=e.link,r=e.target,o=e.skipTab;return a?i.createElement(c.D,{target:r,href:t,tabIndex:o?-1:0},n):n},E=function(e){var n=e.children,t=e.hasPopover,a=e.name,r=(0,p.l)();return t&&a?i.createElement(d.B,null,(function(e){var t,o=e.isVisible,l=e.show,c=e.hide,s=function(){t&&clearTimeout(t),l()},d=function(){t=setTimeout(c,100)};return i.createElement("span",{onMouseEnter:s,onMouseLeave:d,onFocus:s,onBlur:d},i.createElement(u.A,{darkTheme:!0,disablePortalOverlay:!0,display:"block",placement:"top",hide:d,isVisible:o,shouldAnimateOpen:!0,popoverRenderFn:function(){return i.createElement("div",{onMouseEnter:s},i.createElement(m.kZ,{scale:"S",tag:"h4"},i.createElement("span",{className:r(S)},a)))}},n))})):n};function y(e){var n=e.scale;return i.createElement(l.r,{miroId:g._3,alt:"Unknown user",diameter:h[n],freezeGifs:!1})}var N=function(e){var n=e.hasPopover,t=void 0!==n&&n,c=e.link,u=void 0!==c&&c,d=e.target,m=e.scale,p=e.user,v=e.showHoverState,S=e.showBadge,y=void 0!==S&&S,N=e.badgeScale,w=void 0===N?"XS":N,P=e.showBadgeRegardlessCurrentMembership,O=e.skipTab,T=p.username,C=p.imageId,A=p.name,_=(0,o.f)(p);if(!T)return null;var I=i.createElement(l.r,{miroId:C||g._3,alt:A||"",diameter:h[m],freezeGifs:!1,showHoverState:v}),R=I;if(y||P){var F,L=null;if(null!=p&&null!==(F=p.membership)&&void 0!==F&&F.tier||P){var M,D=(null==p||null===(M=p.membership)||void 0===M?void 0:M.tier)===f.T3.FRIEND,x=i.createElement(r.a,{withBorder:!0,rules:k(w)}),U=i.createElement(a.K,{withBorder:!0,rules:k(w)});L=P?P===f.T3.FRIEND?U:x:D?U:x}R=i.createElement(s.a,{position:"relative"},I,L)}return i.createElement(E,{hasPopover:t,name:A},i.createElement(b,{target:d,href:_,link:u,skipTab:O},R))}},52897:(e,n,t)=>{t.d(n,{c:()=>c,l:()=>l});var i=t(45458),a=t(62742),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserFollowButtonSignedOut_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SusiClickable_user"}}]}}].concat((0,i.A)(a.LI.definitions))},o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserFollowButtonSignedOut_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SusiClickable_post"}}]}}].concat((0,i.A)(a.CV.definitions))},l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserFollowButton_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserFollowButtonSignedIn_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserFollowButtonSignedOut_user"}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"UserFollowButtonSignedIn_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]),(0,i.A)(r.definitions))},c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserFollowButton_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserFollowButtonSignedOut_post"}}]}}].concat((0,i.A)(o.definitions))}},23445:(e,n,t)=>{t.d(n,{AB:()=>u,pB:()=>c});var i=t(45458),a=t(77485),r=t(52897),o=t(55918),l=t(91052),c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserMentionTooltip_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"bio"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserAvatar_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserFollowButton_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useIsVerifiedBookAuthor_user"}}]}}].concat((0,i.A)(a.R.definitions),(0,i.A)(r.l.definitions),(0,i.A)(o.s.definitions))},s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserMentionTooltipContent_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"socialStats"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"followerCount"}}]}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"lastPostCreatedAt"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserPronouns_user"}}]}}].concat((0,i.A)(l.k.definitions))},u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserMentionTooltipContentQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userResult"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserMentionTooltipContent_user"}}]}}]}}]}}].concat((0,i.A)(s.definitions))}},15473:(e,n,t)=>{t.d(n,{A4:()=>u,CQ:()=>p,PV:()=>d,nu:()=>m});var i=t(45458),a=t(64467),r=t(55364),o=t.n(r),l=t(98023),c=t.n(l),s=t(67194);function u(e,n){return function(t){var i,r=null===(i=t.counts)||void 0===i?void 0:i[e];return!c()(r)||!n&&r<1?t:o()({},t,{counts:(0,a.A)({},e,n?r+1:r-1)})}}function d(e,n){return function(t){var i=null==t?void 0:t[e];return!c()(i)||0===i&&n<0?t:o()({},t,(0,a.A)({},e,i+n))}}function m(e){return function(n,t){var a=t.readField;return n.users.find((function(n){return a("id",n)===e}))?n:o()({},n,{users:[(0,s.WU)("User:".concat(e))].concat((0,i.A)(n.users))})}}function p(e){return function(n,t){var a=t.readField;return n.collections.find((function(n){return a("id",n)===e}))?n:o()({},n,{collections:[(0,s.WU)("Collection:".concat(e))].concat((0,i.A)(n.collections))})}}},72041:(e,n,t)=>{t.d(n,{P:()=>l});var i=t(95420),a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UndeletePostMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetPostId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"undeletePost"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetPostId"},value:{kind:"Variable",name:{kind:"Name",value:"targetPostId"}}}]}]}}]},r=t(51260),o=t(79959),l=function(e,n,t){var l=(0,r.au)()("ShowYourStories",{filterBy:"deleted"}),c=(0,o.ST)(l,{undeletedPost:"true",undeletedPostId:e,undeletedPostTitle:n,tab:t});return(0,i.n)(a,{variables:{targetPostId:e},onCompleted:function(){window.location.replace(c)}})}},5600:(e,n,t)=>{t.d(n,{A:()=>u,G:()=>d});var i=t(96540),a=t(52290),r=t(41299),o=t(39),l=t(12378),c=t(44402),s=t(18642),u=500;function d(e){var n=e.children,t=e.tooltipText,d=e.isVisible,m=void 0===d||d,p=e.onMouseLeave,f=e.placement,g=void 0===f?"top":f,h=e.maxWidth,v=e.targetDistance,k=e.darkTheme,S=void 0===k||k,b=e.mouseEnterDelay,E=void 0===b?u:b,y=e.mouseLeaveDelay,N=void 0===y?0:y,w=e.display,P=(0,c.l)(),O=(0,o.Z)({name:"detail",scale:"S",color:"DARKER"});return i.createElement(r.R,{darkTheme:S,hideOnClick:!0,isVisible:m,noPortal:!0,mouseEnterDelay:E,mouseLeaveDelay:N,placement:g,popoverRenderFn:function(){return i.createElement(a.a,{padding:"8px",maxWidth:h?(0,l.c)(h):void 0,textAlign:"center"},i.createElement("span",{className:P([O,{color:s.ON,whiteSpace:h?void 0:"nowrap"}])},t))},role:"tooltip",targetDistance:v,onMouseLeave:p,display:w},n)}},52290:(e,n,t)=>{t.d(n,{a:()=>x});var i=t(80045),a=t(64467),r=t(80296),o=t(96540),l=function(e,n){var t,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e},r={};return t=e,i=function(e,n){return r[e]=a(n)},n.forEach((function(e){null!=t[e]&&i(e,t[e])})),r},c=function(e){return["".concat(e,"Bottom"),"".concat(e,"Left"),"".concat(e,"Top"),"".concat(e,"Right")]},s=t(9459),u=t(44402),d=t(38667),m=t(18642),p=t(15578),f=["backgroundColor"],g=["children","tag","ariaHidden","ariaRole","ariaLabel","onClickTracking","playwrightClassName","speechifyIgnore","testId"];function h(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function v(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?h(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var k=function(e){return function(n){var t=c("border");t.push("border");var i={"neutral.primary":n.colorTokens.border.neutral.primary.base,"neutral.secondary":n.colorTokens.border.neutral.secondary.base,"neutral.tertiary":n.colorTokens.border.neutral.tertiary.base,"error.primary":n.colorTokens.border.error.primary.base,ACCENT_LIGHT:n.accentColor.border.light,BACKGROUND:n.backgroundColor,NONE:"none",WHITE:m.ON};return l(e,t,(function(e){return(0,s.Fv)((function(e){var t,a=(0,r.A)(e,1)[0];return(t=i[a])===i.NONE?i.NONE:"".concat(n.borderWidth,"px ").concat(n.borderStyle," ").concat(t)}),e)}))}},S=function(e){return l(e,["borderRadius"])},b=function(e){return l(e,["boxShadow"])},E=function(e){var n=c("margin");return n.push("margin"),l(e,n)},y=function(e){var n=c("padding");return n.push("padding"),l(e,n)},N=function(e){return l(e,["height","width","maxHeight","maxWidth","minHeight","minWidth","boxSizing"])},w=function(e){return l(e,["overflow","overscrollBehavior"])},P=function(e){return l(e,["position","top","right","bottom","left"])},O=function(e){return l(e,["zIndex"])},T=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.allowFlexProps,i=n.noDefault,a=e.display,r=void 0===a?i?void 0:"block":a,o={display:r,float:e.float};return("flex"===r||"inline-flex"===r||t||(0,s.n_)(r)&&Object.values(r).some((function(e){return"flex"===e||"inline-flex"===e||"none"===e})))&&(o=v(v({},o),l(e,["alignContent","alignItems","flexDirection","justifyContent","flexWrap"]))),o},C=function(e){if(void 0===e.alignSelf&&void 0===e.flexGrow&&void 0===e.flexShrink&&void 0===e.flexBasis&&void 0===e.justifySelf&&void 0===e.order)return{};var n=e.alignSelf,t=e.flexGrow,i=void 0===t?0:t,a=e.flexShrink,o=void 0===a?0:a,l=e.flexBasis,c=void 0===l?"auto":l,u=e.justifySelf,d=e.order;return(0,s.Fv)((function(e){var n=(0,r.A)(e,6),t=n[0],i=n[1],a=n[2],o=n[3],l=n[4],c=n[5];return{alignSelf:t,flex:"".concat(i," ").concat(a," ").concat(o),justifySelf:l,order:c}}),n,i,o,c,u,d)},A=function(e){return function(n){var t={ACCENT_LIGHT:n.colorTokens.background.accent.secondary.hover,ACCENT_NORMAL:n.colorTokens.background.accent.primary.base,ACCENT_DARK:n.colorTokens.background.accent.primary.hover,BASE_LIGHT:n.colorTokens.background.neutral.tertiary.base,BASE_NORMAL:n.colorTokens.background.neutral.secondary.base,BASE_DARK:n.baseColor.background.dark,SAGE_LIGHT:n.colorTokens.background.accent.quaternary.base,SAGE_NORMAL:n.colorTokens.background.accent.primary.base,SAGE_DARK:n.colorTokens.background.accent.primary.base,BACKGROUND:n.backgroundColor,NONE:void 0};return l(e,["backgroundColor"],(function(e){return(0,s.Fv)((function(e){var n;return(n=(0,r.A)(e,1)[0])&&t[n]}),e)}))}},_=function(e){e.backgroundColor;var n=(0,i.A)(e,f);return l(n,["background","backgroundImage","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"])},I=function(e){return l(e,["gap"])},R=function(e){return l(e,["textAlign"])},F=function(e){return l(e,["whiteSpace"])},L=function(e){return l(e,["wordBreak"])};function M(e,n){var t=n[e];return t?function(n){return(0,a.A)({},d[e](n),v(v(v(v(v(v(v(v(v(v(v(v(v(v(v({},y(t)),k(t)(n)),S(t)),b(t)),E(t)),N(t)),w(t)),T(t,{allowFlexProps:!0,noDefault:!0})),C(t)),P(t)),O(t)),R(t)),_(t)),A(t)(n)),F(t)))}:{}}var D=function(e){var n=e.print;return n?function(){return(0,a.A)({},p.yy(),v({},T(n,{allowFlexProps:!0,noDefault:!0})))}:{}},x=o.forwardRef((function(e,n){var t=e.children,a=e.tag,r=void 0===a?"div":a,l=e.ariaHidden,c=e.ariaRole,s=e.ariaLabel,d=e.onClickTracking,m=e.playwrightClassName,p=e.speechifyIgnore,f=e.testId,h=(0,i.A)(e,g),v=(0,u.l)(),x=r,U=[y(h),k(h),S(h),b(h),E(h),N(h),w(h),T(h),C(h),I(h),P(h),O(h),_(h),A(h),R(h),F(h),L(h),M("xs",h),M("sm",h),M("md",h),M("lg",h),M("xl",h),D(h)],B="".concat(v(U));return m&&(B="".concat(m," ").concat(B).trim()),p&&(B="speechify-ignore ".concat(B).trim()),o.createElement(x,{className:B,onClick:d,ref:n,"aria-hidden":l,role:c,"aria-label":s,id:h.id,"data-testid":f},t)}))},99731:(e,n,t)=>{t.d(n,{$n:()=>E,Gk:()=>p,Rc:()=>f});var i=t(58168),a=t(80045),r=t(80296),o=t(96540),l=t(86975),c=t(39),s=t(9459),u=t(44402),d=t(18642),m=["buttonStyle","size","shape","width","loading","padding","displayOnly","onClick","forwardedRef"],p={xs:"100%",sm:"100%",md:"300px",lg:"300px",xl:"300px"},f="8px",g={COMPACT:"0px 8px 1px",SMALL:"5px 12px",REGULAR:"8px 16px",LARGE:"8px 20px",FULL:"12px",BADGE:"4px 0px"},h={BADGE:"auto"},v={COMPACT:"S",BADGE:"M",SMALL:"S",REGULAR:"M",FULL:"M",LARGE:"L"},k={borderWidth:"1px",borderStyle:"solid",boxSizing:"border-box",display:"inline-block",textDecoration:"none",":hover":{cursor:"pointer"},textAlign:"center"},S=function(e){var n,t,d=e.buttonStyle,p=void 0===d?"SUBTLE":d,f=e.size,S=void 0===f?"REGULAR":f,b=e.shape,E=void 0===b?"CIRCLE":b,P=e.width,O=e.loading,T=void 0!==O&&O,C=e.padding,A=e.displayOnly,_=void 0!==A&&A,I=e.onClick,R=e.forwardedRef,F=(0,a.A)(e,m),L=(0,s.Fv)((function(e){var n=(0,r.A)(e,1)[0];return v[n]}),S),M=(0,u.l)(),D=[(0,c.Z)({name:"detail",scale:L,color:"LIGHTER"}),(n=S,t=C,{padding:null!=t?t:(0,s.Fv)((function(e){return n=(0,r.A)(e,1)[0],g[n];var n}),n),margin:(0,s.Fv)((function(e){return n=(0,r.A)(e,1)[0],h[n];var n}),n)}),N[p],w[E],y(P),k];_&&D.push((function(){return{":hover":{cursor:"not-allowed"}}})),T&&D.push((function(e){return{color:e.colorTokens.background.neutral.secondary.base,fill:e.colorTokens.background.neutral.secondary.base,background:e.colorTokens.background.neutral.secondary.base,borderColor:e.colorTokens.border.neutral.primary.base,":hover":{cursor:"wait",color:e.colorTokens.background.neutral.secondary.base,fill:e.colorTokens.background.neutral.secondary.base,background:e.colorTokens.background.neutral.secondary.base,borderColor:e.colorTokens.border.neutral.primary.base}}}));var x=(0,o.useCallback)((function(e){!T&&I&&I(e)}),[T,I]);return o.createElement(l.D,(0,i.A)({className:M(D)},F,{onClick:I&&x,ref:R}))},b=(0,o.forwardRef)((function(e,n){return o.createElement(S,(0,i.A)({},e,{forwardedRef:n}))})),E=(0,o.memo)(b),y=function(e){return function(){return e?{width:e}:{}}},N={SUBTLE:function(e){return{color:e.colorTokens.foreground.neutral.primary.base,fill:e.colorTokens.foreground.neutral.primary.base,background:0,borderColor:e.colorTokens.border.neutral.secondary.base,":hover":{color:e.colorTokens.foreground.neutral.primary.hover,fill:e.colorTokens.foreground.neutral.primary.hover,borderColor:e.colorTokens.border.neutral.secondary.base},":disabled":{cursor:"inherit !important",opacity:.3,":hover":{color:e.colorTokens.foreground.neutral.primary.base,fill:e.colorTokens.foreground.neutral.primary.base,borderColor:e.colorTokens.border.neutral.secondary.base}}}},OBVIOUS:function(e){return{background:0,color:e.colorTokens.foreground.accent.primary.base,fill:e.colorTokens.background.accent.primary.base,borderColor:e.colorTokens.border.accent.primary.base,":hover":{color:e.colorTokens.foreground.accent.primary.hover,fill:e.colorTokens.background.accent.primary.hover,borderColor:e.colorTokens.border.accent.primary.hover},":disabled":{cursor:"inherit !important",opacity:.3,":hover":{color:e.colorTokens.foreground.accent.primary.base,fill:e.colorTokens.background.accent.primary.base,borderColor:e.colorTokens.border.accent.primary.base}}}},STRONG:function(e){return{color:e.colorTokens.background.neutral.primary.base,fill:e.colorTokens.background.neutral.primary.base,background:e.colorTokens.background.accent.primary.base,borderColor:e.colorTokens.border.accent.primary.base,":hover":{background:e.colorTokens.background.accent.primary.hover,borderColor:e.colorTokens.border.accent.primary.hover},":disabled":{cursor:"inherit !important",opacity:.3,":hover":{background:e.colorTokens.background.accent.primary.base,borderColor:e.colorTokens.border.accent.primary.base}}}},BRAND:function(e){return{color:e.backgroundColor,fill:e.backgroundColor,background:e.baseColor.fill.dark,borderColor:e.baseColor.fill.dark,":hover":{background:e.colorTokens.foreground.neutral.primary.hover,borderColor:e.colorTokens.border.neutral.secondary.base},":disabled":{cursor:"inherit !important",opacity:.1,":hover":{background:e.baseColor.fill.dark,borderColor:e.baseColor.fill.dark}}}},ERROR:function(e){return{color:e.backgroundColor,fill:e.backgroundColor,background:e.colorTokens.background.error.primary.base,borderColor:e.colorTokens.border.error.primary.base,":hover":{background:e.colorTokens.foreground.error.primary.hover,borderColor:e.colorTokens.foreground.error.primary.hover},":disabled":{cursor:"inherit !important",opacity:.3,":hover":{background:e.colorTokens.background.error.primary.base,borderColor:e.colorTokens.border.error.primary.base}}}},ERROR_SUBTLE:function(e){return{borderColor:e.colorTokens.border.error.primary.base,color:e.colorTokens.foreground.error.primary.base,background:0,fill:e.colorTokens.foreground.neutral.secondary.base,":hover":{color:e.colorTokens.foreground.error.primary.hover,borderColor:e.colorTokens.foreground.error.primary.hover},":disabled":{cursor:"inherit !important",opacity:.3,":hover":{color:e.colorTokens.foreground.error.primary.base,borderColor:e.colorTokens.border.error.primary.base}}}},WARN:function(e){return{color:e.colorTokens.foreground.neutral.secondary.base,fill:e.colorTokens.foreground.neutral.secondary.base,background:0,borderColor:e.colorTokens.border.neutral.secondary.base,":hover":{borderColor:e.colorTokens.border.error.primary.base,color:e.colorTokens.foreground.error.primary.base}}},FACEBOOK:function(e){return{color:e.backgroundColor,fill:e.backgroundColor,background:d.bJ,borderColor:d.bJ}},SOCIAL:function(e){return{color:e.colorTokens.foreground.neutral.primary.base,background:e.backgroundColor,textAlign:"left",borderColor:e.colorTokens.border.neutral.secondary.base,":hover":{color:e.colorTokens.foreground.neutral.primary.base,borderColor:e.colorTokens.border.neutral.secondary.base}}}},w={RECTANGLE:function(){return{borderRadius:"8px"}},CIRCLE:function(){return{borderRadius:"99em"}}}},86975:(e,n,t)=>{t.d(n,{D:()=>u});var i=t(58168),a=t(80045),r=t(96540),o=t(14596),l=["forwardedRef"];function c(e){var n=e.forwardedRef,t=(0,a.A)(e,l),c="disabled"in t&&!!t.disabled;return function(e){return"href"in e&&!!e.href}(t)&&!c?r.createElement(o.M,(0,i.A)({follow:!0},t,{ref:n})):r.createElement("button",(0,i.A)({},t,{ref:n}))}var s=(0,r.forwardRef)((function(e,n){return r.createElement(c,(0,i.A)({},e,{forwardedRef:n}))})),u=(0,r.memo)(s)},10531:(e,n,t)=>{t.d(n,{H:()=>c});var i=t(6638),a=t.n(i),r=t(96540),o=t(44402),l=t(21202),c=function(e){var n=e.numPlaceholders,t=void 0===n?4:n,i=e.itemPlaceholder,c=(0,o.l)(),s=(0,l.L)();return r.createElement("div",{className:c((function(){return s}))},a()(t,(function(e){return r.createElement(i,{key:"placeholder-".concat(e)})})))}},84569:(e,n,t)=>{t.d(n,{h:()=>o});var i=t(80296),a=t(96540),r=t(44402),o=function(e){var n=e.containerTag,t=void 0===n?"div":n,o=e.children,l=e.onMouseEnter,c=e.onMouseLeave,s=e.leaveOnClick,u=void 0!==s&&s,d=e.mouseEnterDelay,m=void 0===d?0:d,p=e.mouseLeaveDelay,f=void 0===p?0:p,g=e.rules,h=(0,r.l)(),v=a.useState(null),k=(0,i.A)(v,2),S=k[0],b=k[1],E=a.useCallback((function(){S&&clearTimeout(S),b(null)}),[S]),y=a.useCallback((function(e){c&&u&&(E(),c(e))}),[E,c,u]),N=a.useCallback((function(e){l&&(E(),b(setTimeout((function(){return l(e)}),m)))}),[E,l,m]),w=a.useCallback((function(e){c&&(E(),b(setTimeout((function(){return c(e)}),f)))}),[E,c,f]),P=t;return a.createElement(P,{onMouseDown:y,onMouseEnter:N,onMouseLeave:w,className:g?h(g):void 0},o)}},86527:(e,n,t)=>{t.d(n,{N:()=>f});var i=t(64467),a=t(58168),r=t(80045),o=t(96540),l=t(86975),c=t(44402),s=["display","inline","linkStyle","loading","inheritBorder","cursor","wrapLinks","rules","color","forwardedRef"];function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function d(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?u(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var m=function(e){var n=(0,c.l)(),t=e.display,i=e.inline,u=void 0!==i&&i,d=e.linkStyle,m=void 0===d?"SUBTLE":d,p=e.loading,f=e.inheritBorder,b=void 0===f||f,E=e.cursor,y=void 0===E?"pointer":E,N=e.wrapLinks,w=void 0!==N&&N,P=e.rules,O=e.color,T=e.forwardedRef,C=(0,r.A)(e,s),A=u?"INLINE":"STANDALONE",_=[g(b,y),v[A][m],h(t),{wordWrap:w?"break-word":void 0},P];return O&&_.push(k[O]),_.push(P),p&&_.push(S),o.createElement(l.D,(0,a.A)({className:n(_)},C,{ref:T}))},p=(0,o.forwardRef)((function(e,n){return o.createElement(m,(0,a.A)({},e,{forwardedRef:n}))})),f=(0,o.memo)(p),g=function(e,n){return function(t){return d(d({color:"inherit",fill:"inherit",fontSize:"inherit"},e?{border:"inherit"}:{}),{},{fontFamily:"inherit",letterSpacing:"inherit",fontWeight:"inherit",padding:0,margin:0,cursor:n,":disabled":{cursor:"not-allowed",color:t.colorTokens.foreground.neutral.secondary.base,fill:t.colorTokens.foreground.neutral.secondary.base}})}},h=function(e){return e?{display:e}:{}},v={INLINE:{SUBTLE:function(){return{":hover":{textDecoration:"underline"}}},OBVIOUS:function(){return{textDecoration:"underline"}}},STANDALONE:{SUBTLE:function(e){return{":hover:not(:disabled)":{color:e.baseColor.text.dark,fill:e.baseColor.fill.dark}}},OBVIOUS:function(e){return{color:e.colorTokens.foreground.accent.primary.base,fill:e.colorTokens.background.accent.primary.base,":hover:not(:disabled)":{color:e.colorTokens.foreground.accent.primary.hover,fill:e.colorTokens.background.accent.primary.hover},":disabled":{opacity:.3}}}}},k={NORMAL:function(e){return{color:e.colorTokens.foreground.neutral.primary.base}},RED:function(e){return{color:e.colorTokens.foreground.error.primary.base,":hover:not(:disabled)":{color:e.colorTokens.foreground.error.primary.hover}}}},S=function(){return{visibility:"hidden"}}},24960:(e,n,t)=>{t.d(n,{A:()=>L,j:()=>I});var i=t(58168),a=t(80296),r=t(64467),o=t(96540),l=t(51036),c=t(49054),s=t(19228),u=t(37661),d=t(33781),m=t(24252),p=t(44402),f=t(11334),g=t(26061),h=t(39160),v=t(18642),k=t(15578),S=t(78693),b=t(74169);function E(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?E(Object(t),!0).forEach((function(n){(0,r.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):E(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var N={bottom:"top center",top:"bottom center"},w="0px 0px 4px rgba(0, 0, 0, 0.05), 0px 2px 8px rgba(0, 0, 0, 0.15)",P=function(){return{"0%":{transform:"matrix(0.97, 0, 0, 1, 0, 12)",opacity:0},"20%":{transform:"matrix(0.99, 0, 0, 1, 0, 2)",opacity:.7},"40%":{transform:"matrix(1, 0, 0, 1, 0, -1)",opacity:1},"70%":{transform:"matrix(1, 0, 0, 1, 0, 0)",opacity:1},"100%":{transform:"matrix(1, 0, 0, 1, 0, 0)",opacity:1}}},O=function(e,n){return function(t){return{boxSizing:"border-box",borderRadius:"".concat(t.borderRadius.regular,"px"),boxShadow:e?void 0:w,color:e?v.ON:void 0,zIndex:n||S.Ay.popover}}},T=function(e,n){return function(t){return(0,r.A)({},(0,k.Oe)("no-preference"),y({animation:"".concat(e," 100ms forwards linear"),transformOrigin:N[n],willChange:"transform"},A(t)))}},C=function(e){return function(n){return{background:e?n.colorTokens.foreground.neutral.primary.base:n.backgroundColor,borderRadius:"".concat(n.borderRadius.regular-n.borderWidth,"px")}}},A=function(e){return{background:e.backgroundColor,borderRadius:"".concat(e.borderRadius.regular,"px")}},_=function(e,n){return function(t){return{position:"absolute",pointerEvents:"none",top:"bottom"===e?"-14px":"top"===e?void 0:"50%",right:"left"===e?"-14px":void 0,bottom:"top"===e?"-14px":void 0,left:"right"===e?"-14px":"left"===e?void 0:"50%",zIndex:-1,":after":{content:"''",display:"block",width:"11.3px",height:"11.3px",borderRadius:"2px 0",background:n?t.colorTokens.foreground.neutral.primary.base:t.backgroundColor,transform:{top:"rotate(45deg) translate(-6px, -6px)",right:"rotate(-45deg) translate(6px, 6px)",bottom:"rotate(45deg) translate(6px, 6px)",left:"rotate(-45deg) translate(-6px, -6px)"}[e],boxShadow:n?void 0:w}}}},I=function(){return{fontWeight:700,color:"WHITE"}};function R(e){var n=e.children,t=e.shouldAnimateOpen,i=e.placement,a=(0,p.l)();return t?o.createElement(u.w,{keyframes:{scaleUpKeyframes:P}},(function(e){var t=e.scaleUpKeyframes;return o.createElement("div",{className:a(T(t,i))},n)})):o.createElement("div",{className:a(A)},n)}var F=function(e){var n=e.ariaId,t=e.darkTheme,i=e.hide,a=e.popoverRole,r=e.popoverRenderFn,l=e.update,s=e.hideOnOutsideClick,u=e.hideOnScroll,d=(0,p.l)(),m=(0,o.useRef)(null),f=(0,o.useRef)(null),g=(0,o.useRef)(null),v=(0,o.useRef)(null),k=(0,h.d4)((function(e){return e.client.isSafari})),S=(0,h.d4)((function(e){return e.client.isFirefox}));(0,o.useEffect)((function(){var e;if(!v.current&&(v.current=document.activeElement,"tooltip"!==a&&m.current&&"INPUT"!==(null===(e=document.activeElement)||void 0===e?void 0:e.tagName))){var n=(0,c.Kr)(m.current);n.length>2&&!k&&!S&&n[1].focus({preventScroll:!0})}}),[m.current]);var b=(0,o.useCallback)((function(e){e.relatedTarget&&v.current&&"tooltip"!==a&&(e.relatedTarget!==f.current&&e.relatedTarget!==g.current||(null==i||i(),v.current.focus()))}),[i,a]),E=(0,o.useCallback)((function(e){var n,t,a=e.target;null!==(n=m.current)&&void 0!==n&&n.contains(a)||null!==(t=v.current)&&void 0!==t&&t.contains(a)||null==i||i()}),[i]),y=(0,o.useCallback)((function(){return null==i?void 0:i()}),[i]);return(0,o.useEffect)((function(){if(s)return document.addEventListener("click",E),function(){return document.removeEventListener("click",E)}}),[s,E]),(0,o.useEffect)((function(){if(u)return document.addEventListener("scroll",y),function(){return document.removeEventListener("scroll",y)}}),[u,y]),o.createElement("div",{id:n,className:d(C(t)),ref:m,onBlur:b},o.createElement("span",{tabIndex:0,ref:f}),r(l),o.createElement("span",{tabIndex:0,ref:g}))};function L(e){var n=e.children,t=e.darkTheme,r=void 0!==t&&t,c=e.disablePortalOverlay,u=void 0!==c&&c,h=e.display,v=e.flip,k=void 0===v||v,S=e.hide,E=e.isVisible,N=e.noArrow,w=void 0!==N&&N,P=e.noPortal,T=void 0!==P&&P,C=e.overflowPadding,A=void 0===C?5:C,I=e.placement,L=void 0===I?"bottom":I,M=e.popoverRenderFn,D=e.popoverTheme,x=e.referenceHeight,U=e.referenceWidth,B=e.refTag,j=void 0===B?"div":B,V=e.setMaxHeight,H=void 0!==V&&V,G=e.shouldAnimateOpen,W=void 0!==G&&G,z=e.targetDistance,Y=void 0===z?5:z,q=e.horizontalTargetDistance,K=e.customZIndex,Q=e.role,X=e.ariaId,Z=e.arrowPadding,$=e.popoverRules,J=e.arrowRules,ee=e.styleOverrides,ne=void 0===ee?{}:ee,te=e.hideOnOutsideClick,ie=e.hideOnScroll,ae=e.fallbackPlacements,re=e.positioningStrategy,oe=(0,s.qt)().baseTheme,le=(0,p.l)(),ce={display:h||"inline-block",height:x,width:U},se=j,ue=(0,o.useCallback)((function(e){var n=e.state,t=n.elements.popper.children[0];if(t&&!k&&("bottom-end"===L||"bottom-start"===L||"bottom"===L||"top-end"===L||"top-start"===L||"top"===L)){var i,a=n.elements.reference.getBoundingClientRect();switch(L){case"bottom-end":case"bottom-start":case"bottom":i=window.innerHeight-(a.y+n.rects.reference.height)-Y-A;break;case"top-end":case"top-start":case"top":i=a.y-Y-A}t.style.overflowY="auto",t.style.maxHeight="".concat(i,"px")}}),[k,b.bb,L,A,Y]),de=(0,o.useState)(null),me=(0,a.A)(de,2),pe=me[0],fe=me[1],ge=(0,o.useState)(null),he=(0,a.A)(ge,2),ve=he[0],ke=he[1],Se=(0,o.useState)(null),be=(0,a.A)(Se,2),Ee=be[0],ye=be[1],Ne=(0,o.useCallback)((function(e){return fe(e)}),[]),we=(0,o.useCallback)((function(e){return ke(e)}),[]),Pe=(0,o.useCallback)((function(e){return ye(e)}),[]),Oe=(0,l.E)(pe,ve,{modifiers:[{name:"arrow",options:{element:Ee,padding:Z}},{name:"flip",enabled:k,options:{padding:Y,fallbackPlacements:ae}},{name:"preventOverflow",enabled:!0,options:{padding:A}},{name:"offset",enabled:!0,options:{offset:[null!=q?q:0,Y]}},{name:"setMaxHeight",enabled:H,fn:ue,phase:"afterWrite"},{name:"hide",data:{isReferenceHidden:!(pe&&!pe.offsetParent)}}],placement:L,strategy:re}),Te=Oe.styles,Ce=Oe.attributes,Ae=Oe.state,_e=Oe.update,Ie=Ae?Ae.placement:L,Re=o.createElement(f.N,{theme:D||oe},o.createElement(g.A,null,(function(e){return o.createElement("div",(0,i.A)({ref:we,style:y(y({},Te.popper),ne),className:e([O(r,K),$])},Ce.popper),o.createElement(R,{placement:Ie,shouldAnimateOpen:W},o.createElement(F,{ariaId:X,darkTheme:r,hide:S,popoverRole:Q,popoverRenderFn:M,update:_e,hideOnOutsideClick:te,hideOnScroll:ie,role:Q}),!w&&o.createElement("div",{className:e([_((Ie||"").split("-")[0],r),J]),ref:Pe,style:Te.arrow})))})));return T||(Re=o.createElement(d.i,{disableOverlay:u,onClick:S?function(e){return(0,m.D)(S,e)}:void 0,onKeyDown:S?function(e){return(0,m.x)(S,e)}:void 0,customZIndex:K},Re)),o.createElement(o.Fragment,null,o.createElement(se,{ref:Ne,className:le(ce),"aria-hidden":E,"aria-describedby":X,"aria-labelledby":X,"aria-haspopup":"tooltip"!==Q?Q:void 0},n),E?Re:null)}},34181:(e,n,t)=>{t.d(n,{r:()=>f});var i=t(58168),a=t(80045),r=t(64467),o=t(96540),l=t(52290),c=t(20239),s=["tag","columns","gutter","centered"];function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function d(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?u(Object(t),!0).forEach((function(n){(0,r.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var m=new Map([[6,"xs"],[8,"sm"],[10,"md"],[12,"lg"]]),p=function(e){var n,t=e.centered,i=e.columns,a=e.gutter,r=e.theme,o=i?m.get(i):null,l={xs:"".concat(r.breakpoints.sm,"px"),sm:"".concat(r.breakpoints.md,"px"),md:"".concat(r.breakpoints.lg,"px"),lg:"".concat(r.breakpoints.xl,"px"),xl:"".concat(r.grid.xlMaxContentWidth,"px")},c={xs:"".concat(r.grid.marginSteps.xs*r.grid.xStep,"px"),sm:"".concat(r.grid.marginSteps.sm*r.grid.xStep,"px"),md:"".concat(r.grid.marginSteps.md*r.grid.xStep,"px"),lg:"".concat(r.grid.marginSteps.lg*r.grid.xStep,"px"),xl:"".concat(r.grid.marginSteps.xl*r.grid.xStep,"px")};return n=o?d({maxWidth:l[o]},a?{paddingLeft:c[o],paddingRight:c[o]}:{}):{xs:d({maxWidth:l.xs},a?{paddingLeft:c.xs,paddingRight:c.xs}:{}),sm:d({maxWidth:l.sm},a?{paddingLeft:c.sm,paddingRight:c.sm}:{}),md:d({maxWidth:l.md},a?{paddingLeft:c.md,paddingRight:c.md}:{}),lg:d({maxWidth:l.lg},a?{paddingLeft:c.lg,paddingRight:c.lg}:{}),xl:d({maxWidth:l.xl},a?{paddingLeft:c.xl,paddingRight:c.xl}:{})},d(d(d({boxSizing:"border-box"},t?{marginLeft:"auto",marginRight:"auto"}:{}),n),{},{width:"100%"})};function f(e){var n=e.tag,t=void 0===n?"section":n,r=e.columns,u=e.gutter,m=void 0===u||u,f=e.centered,g=void 0===f||f,h=(0,a.A)(e,s),v=(0,c.D)(),k=p({centered:g,columns:r,gutter:m,theme:v});return o.createElement(l.a,(0,i.A)({tag:t},d(d({},k),h)))}},41299:(e,n,t)=>{t.d(n,{R:()=>c});var i=t(80296),a=t(89089),r=t(96540),o=t(84569),l=t(24960);function c(e){var n=e.popoverTag,t=e.onMouseEnter,c=e.onMouseLeave,s=e.isVisible,u=void 0===s||s,d=e.darkTheme,m=e.hide,p=e.noArrow,f=void 0!==p&&p,g=e.noPortal,h=void 0===g||g,v=e.disablePortalOverlay,k=void 0!==v&&v,S=e.display,b=e.placement,E=e.targetDistance,y=e.popoverRenderFn,N=e.mouseEnterDelay,w=void 0===N?0:N,P=e.mouseLeaveDelay,O=void 0===P?1e3:P,T=e.hideOnClick,C=void 0!==T&&T,A=e.customZIndex,_=e.referenceWidth,I=e.children,R=e.fallbackPlacements,F=e.hoverableRules,L=r.useState(!1),M=(0,i.A)(L,2),D=M[0],x=M[1],U=r.useCallback((function(e){t&&t(e),x(!0)}),[t,x]),B=r.useCallback((function(e){c&&c(e),x(!1)}),[c,x]),j=(0,a.B)();return r.createElement(o.h,{containerTag:n,leaveOnClick:C,onMouseEnter:U,onMouseLeave:B,mouseEnterDelay:w,mouseLeaveDelay:O,rules:F},r.createElement(l.A,{refTag:n,isVisible:u&&D,darkTheme:d,hide:m,noArrow:f,noPortal:h,disablePortalOverlay:k,display:S,placement:b,popoverRenderFn:y,targetDistance:E,customZIndex:A,role:"tooltip",ariaId:j,referenceWidth:_,fallbackPlacements:R,positioningStrategy:"fixed"},I))}},48198:(e,n,t)=>{t.d(n,{J:()=>p});var i,a=t(96540),r=t(52290),o=t(86527),l=t(44402);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},c.apply(null,arguments)}var s;function u(){return u=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},u.apply(null,arguments)}var d={SMALL:t(38021).A,REGULAR:function(e){return a.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),s||(s=a.createElement("path",{stroke:"currentColor",strokeLinecap:"round",d:"m5 5 7 7m7 7-7-7m0 0 7-7m-7 7-7 7"})))},LARGE:function(e){return a.createElement("svg",c({width:29,height:29,className:"svgIcon-use"},e),i||(i=a.createElement("path",{fillRule:"evenodd",d:"m20.13 8.11-5.61 5.61-5.609-5.61-.801.801 5.61 5.61-5.61 5.61.801.8 5.61-5.609 5.61 5.61.8-.801-5.609-5.61 5.61-5.61"})))}},m=function(e){return{fill:e.colorTokens.foreground.neutral.secondary.base,color:e.colorTokens.foreground.neutral.secondary.base,":hover":{fill:e.colorTokens.foreground.neutral.primary.base,color:e.colorTokens.foreground.neutral.primary.base}}};function p(e){var n=e.absoluteOffset,t=void 0===n?"12px":n,i=e.onClick,c=e.size,s=void 0===c?"SMALL":c,u=e.isPositionAbsolute,p=void 0===u||u,f=e.iconFillColor,g=e.compensateInnerPadding,h=e.linkRules,v=e.testId,k=(0,l.l)(),S=d[s],b=f?{fill:f,color:f}:m,E=g?"-7px":"0";return a.createElement(r.a,{position:!0===p?"absolute":"relative",right:p?t:E,top:p?t:"0"},a.createElement(o.N,{onClick:i,"data-testid":null!=v?v:"close-button","aria-label":"close",display:"flex",rules:h},a.createElement(S,{className:k(b)})))}},5870:(e,n,t)=>{t.d(n,{n:()=>l});var i=t(96540),a=t(36557),r=t(44402),o=function(e,n){return function(t){return{color:n>e?t.colorTokens.foreground.error.primary.base:t.baseColor.text.dark}}},l=function(e){var n=e.count,t=void 0===n?0:n,l=e.limit,c=e.scale,s=void 0===c?"S":c,u=(0,r.l)();return i.createElement(a.kZ,{scale:s},i.createElement("span",{className:u(o(l,t))},t),"/",l)}},46844:(e,n,t)=>{t.d(n,{A:()=>L});var i,a,r=t(58168),o=t(80296),l=t(80045),c=t(96540),s=t(52290),u=t(39),d=t(44402),m=t(8883),p={border:0,flex:1,overflow:"hidden",resize:"none",width:"100%"},f={color:"inherit",background:"inherit",fontStyle:"inherit"},g=function(e){var n=[m.F,p];return e?[].concat(n,[f]):n},h=function(e,n){if(e.current){e.current.rows=1;var t=e.current.scrollHeight/parseInt(getComputedStyle(e.current).lineHeight);e.current.rows=Number.isInteger(t)?Math.max(n,t):n}},v=(0,c.forwardRef)((function(e,n){var t=e.ariaLabel,i=e.autoFocus,a=e.inheritCustomStyleSheet,r=e.initialRows,o=e.isEditable,l=void 0===o||o,s=e.name,u=e.onChange,m=e.placeholder,p=e.testId,f=e.value,v=function(e,n){var t=c.useRef(null);return c.useEffect((function(){[e,n].forEach((function(e){e&&("function"==typeof e?e(t.current):e.current=t.current)}))}),[e,n]),t}((0,c.useRef)(null),n),k=(0,c.useCallback)((function(e){u&&u(e),h(v,r)}),[u,v,r]);(0,c.useEffect)((function(){return h(v,r)}),[f,r]);var S=(0,d.l)();return c.createElement("textarea",{"aria-label":t,autoFocus:i,className:S(g(a)),"data-testid":p,disabled:!l,name:s,onChange:k,placeholder:m,ref:v,rows:r,value:f})})),k=t(5870),S={height:"1em",width:"100%",textAlign:"inherit"},b=function(e){var n=e.characterCount,t=e.characterCountLimit,i=e.characterCountScale,a=e.description,r=e.keepBottomContentSpace,o=e.status,l=e.value,m=(0,d.l)(),p="LIGHTER";switch(o){case"ERROR":p="ERROR";break;case"SUCCESS":p="ACCENT"}var f=(0,u.Z)({name:"detail",scale:"S",color:p});return t||a||r?c.createElement(s.a,{marginTop:"8px",display:"flex",justifyContent:a?"space-between":"flex-end"},c.createElement("span",{className:m([f,S])},a),!!t&&c.createElement(k.n,{count:null!=n?n:null==l?void 0:l.length,limit:t,scale:i})):null},E={flex:"1"},y={number:"[0-9]*",email:".*",tel:"[0-9]{10}"},N=function(e){var n=e.ariaLabel,t=e.autoFocus,i=e.isEditable,a=void 0===i||i,r=e.name,o=e.onChange,l=e.onSubmit,s=e.placeholder,u=e.testId,p=e.type,f=e.value,g=(0,d.l)(),h=(0,c.useCallback)((function(e){"Enter"===e.key&&l&&l(e)}),[l]);return c.createElement("input",{"aria-label":n,autoFocus:t,className:g([[m.F,E]]),"data-testid":u,disabled:!a,name:r,onChange:o,onKeyDown:h,pattern:p&&y[p],placeholder:s,type:p,value:f})},w=t(14852);function P(){return P=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},P.apply(null,arguments)}const O=function(e){return c.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:25,height:25,viewBox:"0 0 25 25"},e),i||(i=c.createElement("path",{fill:"#CC5454",d:"m13.293 13.9.146-7.076h-1.78l.15 7.075h1.48zm-.733 1.427c-.68 0-1.134.447-1.134 1.128 0 .666.454 1.113 1.135 1.113.68 0 1.13-.447 1.13-1.113 0-.68-.44-1.128-1.12-1.128"})),a||(a=c.createElement("path",{fill:"#CC5454",d:"M12.5 21a8.5 8.5 0 1 0-.001-17.001A8.5 8.5 0 0 0 12.5 21m0 1C7.253 22 3 17.747 3 12.5S7.253 3 12.5 3 22 7.253 22 12.5 17.747 22 12.5 22"})))};var T=t(77662),C=function(e){return e.colorTokens.foreground.neutral.primary.base},A=function(e){var n,t=e.status;if(!t)return null;var i={};switch(t){case"LOADING":n=c.createElement(T.k,{borderWidth:"1px",color:C,size:"20px"});break;case"SUCCESS":n=c.createElement(w.a,{color:"foreground.accent.primary",size:"24"}),i={marginTop:"-2px"};break;case"ERROR":n=c.createElement(O,{width:"24",height:"24"}),i={marginTop:"-2px"}}return c.createElement(s.a,(0,r.A)({height:"20px",paddingLeft:"24px",tag:"span"},i),n)},_=["bold","characterCount","characterCountLimit","characterCountScale","children","customFieldRules","description","forwardedRef","hideIcon","inheritCustomStyleSheet","initialRows","isMultiline","keepBottomContentSpace","label","onFocus","onSubmit","prefix","readOnlyFieldWithGradient","scale","suffix","status","type","value","width"],I=function(e){return{fontWeight:e.newFonts.detail.boldWeight}},R=function(e){return{marginBottom:"8px",color:e.colorTokens.foreground.neutral.primary.base}},F=function(e){return{color:e.colorTokens.foreground.neutral.secondary.base}},L=function(e){var n,t=e.bold,i=void 0!==t&&t,a=e.characterCount,p=e.characterCountLimit,f=e.characterCountScale,g=e.children,h=e.customFieldRules,k=e.description,S=e.forwardedRef,E=e.hideIcon,y=e.inheritCustomStyleSheet,w=void 0!==y&&y,P=e.initialRows,O=void 0===P?1:P,T=e.isMultiline,C=void 0!==T&&T,L=e.keepBottomContentSpace,M=e.label,D=e.onFocus,x=e.onSubmit,U=e.prefix,B=(e.readOnlyFieldWithGradient,e.scale),j=void 0===B?"M":B,V=e.suffix,H=e.status,G=e.type,W=void 0===G?"text":G,z=e.value,Y=e.width,q=(0,l.A)(e,_),K=(0,d.l)(),Q=q.autoFocus,X=q.onBlur,Z=q.isEditable,$=void 0===Z||Z,J=q.testId,ee=(0,c.useState)(!!Q),ne=(0,o.A)(ee,2),te=ne[0],ie=ne[1],ae=(0,c.useCallback)((function(e){D&&D(e),ie(!0)}),[D,ie]),re=(0,c.useCallback)((function(e){X&&X(e),ie(!1)}),[X,ie]),oe=(0,u.Z)({name:"detail",scale:j,color:"DARKER"});return n=g||(C?c.createElement(v,(0,r.A)({},q,{inheritCustomStyleSheet:w,initialRows:O,ref:S,testId:J,value:z})):c.createElement(N,(0,r.A)({},q,{type:W,onSubmit:x,testId:J,value:z}))),c.createElement("span",{className:K(i?[oe,I]:oe)},c.createElement(s.a,{display:"flex",flexDirection:"column",width:Y||"100%"},M&&c.createElement("label",{className:K(R)},M),c.createElement("div",{onFocus:ae,onBlur:re,className:K([(0,m.a)({isFocused:te,isEditable:$,status:H,width:Y}),h])},U&&c.createElement("span",{className:K([F,m.F])},U),n,!E&&c.createElement(A,{status:H}),V&&c.createElement(s.a,{paddingLeft:"24px",tag:"span"},V)),c.createElement(b,{characterCount:a,characterCountLimit:p,characterCountScale:f,description:k,keepBottomContentSpace:L,status:H,value:z})))}},8883:(e,n,t)=>{t.d(n,{F:()=>o,a:()=>r});var i=function(e){var n=e.isFocused,t=e.status,i=e.theme;switch(t){case"ERROR":return i.colorTokens.border.error.primary.base;case"SUCCESS":return i.colorTokens.border.accent.primary.base}return n?i.colorTokens.border.neutral.secondary.base:"transparent"},a=function(e){var n=e.theme;return e.isFocused?n.colorTokens.background.neutral.tertiary.base:n.colorTokens.background.neutral.secondary.base},r=function(e){var n=e.isEditable,t=e.isFocused,r=e.status,o=e.width;return function(e){return{display:"flex",width:o||"100%",borderStyle:"solid",borderWidth:"1px",borderRadius:"4px",padding:"8px 12px",borderColor:i({theme:e,isFocused:t,status:r}),backgroundColor:a({theme:e,isFocused:t}),opacity:n?1:.3,"& input, textarea":{padding:"0"}}}},o=function(e){return{backgroundColor:"inherit",fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",lineHeight:"inherit",textAlign:"inherit",borderWidth:0,outline:0,"::placeholder":{color:e.colorTokens.foreground.neutral.secondary.base}}}},20621:(e,n,t)=>{t.d(n,{E:()=>c});var i=t(80296),a=t(96540),r=t(62561),o=t(9459),l=t(44402),c=(0,a.forwardRef)((function(e,n){var t=e.alignItems,c=void 0===t?"center":t,s=e.children,u=e.direction,d=void 0===u?"row":u,m=e.gutters,p=void 0===m||m,f=e.role,g=(0,l.l)(),h=function(e){var n=e.alignItems,t=e.direction,a=e.gutters;return function(e){var r={xs:e.grid.gutterSteps.xs*e.grid.xStep,sm:e.grid.gutterSteps.sm*e.grid.xStep,md:e.grid.gutterSteps.md*e.grid.xStep,lg:e.grid.gutterSteps.lg*e.grid.xStep,xl:e.grid.gutterSteps.xl*e.grid.xStep},l=a?(0,o.Fv)((function(e){var n=(0,i.A)(e,1)[0];return"-".concat(n/2,"px")}),r):0;return{alignItems:n,display:"flex",flexDirection:t,flexWrap:"wrap",width:a?(0,o.Fv)((function(e){var n=(0,i.A)(e,1)[0];return"calc(100% + ".concat(n,"px)")}),r):"100%",marginLeft:l,marginRight:l}}}({alignItems:c,direction:d,gutters:p});return a.createElement(r.k.Provider,{value:{gutters:p}},a.createElement("div",{className:g(h),role:f,ref:n},s))}))},62561:(e,n,t)=>{t.d(n,{k:()=>i});var i=t(96540).createContext({gutters:!0})},615:(e,n,t)=>{t.d(n,{E:()=>u});var i=t(80296),a=t(96540),r=t(62561),o=t(9459),l=t(44402),c=function(e){return"".concat(Math.round(e/12*1e8)/1e6,"%")},s=function(e){return function(n){var t={xs:n.grid.gutterSteps.xs*n.grid.xStep,sm:n.grid.gutterSteps.sm*n.grid.xStep,md:n.grid.gutterSteps.md*n.grid.xStep,lg:n.grid.gutterSteps.lg*n.grid.xStep,xl:n.grid.gutterSteps.xl*n.grid.xStep},a=e?(0,o.Fv)((function(e){var n=(0,i.A)(e,1)[0];return"".concat(n/2,"px")}),t):"0px";return{paddingLeft:a,paddingRight:a}}},u=(0,a.forwardRef)((function(e,n){var t,u=e.children,d=e.size,m=e.rules,p=(0,a.useContext)(r.k).gutters,f=(0,l.l)(),g=[s(p),(t=d,{flexBasis:(0,o.Fv)((function(e){var n=(0,i.A)(e,1)[0];return c(n)}),t),flexGrow:0,maxWidth:(0,o.Fv)((function(e){var n=(0,i.A)(e,1)[0];return c(n)}),t)}),m];return a.createElement("div",{className:f(g),ref:n},u)}))},28072:(e,n,t)=>{t.d(n,{P:()=>u});var i=t(80296),a=t(96540),r=t(46225),o=t(9459),l=t(44402),c={display:"flex",justifyContent:"center"},s=function(e,n){return"app"===e?(0,r.fI)():function(t){return{margin:null!=n?n:(0,o.Fv)((function(e){var n=(0,i.A)(e,2),a=n[0],r=n[1];return"full"===a?"0":"0 ".concat(r*t.grid.xStep,"px")}),e,t.grid.marginSteps),maxWidth:(0,o.Fv)((function(e){var n=(0,i.A)(e,1)[0];return"full"===n?"100%":"".concat(t.maxWidths[n],"px")}),e),minWidth:"0",width:"100%"}}},u=function(e){var n=e.children,t=e.size,i=void 0===t?"outset":t,r=e.margin,o=e.rules,u=(0,l.l)();return a.createElement("div",{className:u([c,o])},a.createElement("div",{className:u(s(i,r))},n))}},49597:(e,n,t)=>{t.d(n,{X:()=>u});var i=t(96540),a=t(77884),r=t(92901),o=t(23029),l=(0,r.A)((function e(n,t){var i=this;(0,o.A)(this,e),this.timeoutId=void 0,this.resumedAt=void 0,this.duration=void 0,this.elapsed=void 0,this.completed=void 0,this.onComplete=void 0,this.complete=function(){i.pause(),i.completed=!0,i.onComplete()},this.resume=function(){if(!(i.resumedAt||i.timeoutId||i.completed)){var e=i.duration-i.elapsed;e<=0?i.complete():(i.resumedAt=Date.now(),i.timeoutId=setTimeout(i.complete,e))}},this.pause=function(){i.timeoutId&&!i.completed&&(i.elapsed+=Date.now()-i.resumedAt,clearTimeout(i.timeoutId),i.resumedAt=0,delete i.timeoutId)},this.setDuration=function(e){e!==i.duration&&(i.duration=e,i.timeoutId&&(i.pause(),i.resume()))},this.resumedAt=0,this.elapsed=0,this.duration=n,this.completed=!1,this.onComplete=t})),c=t(44402),s=t(78693),u=function(e){var n=e.children,t=e.container,r=e.duration,o=e.onComplete,u=e.rules,d=e.zIndex,m=void 0===d?s.Ay.floating:d,p=e.onTransitionEnd,f=function(e,n){var t=(0,i.useRef)();return(0,i.useEffect)((function(){return function(){var e;null===(e=t.current)||void 0===e||e.pause()}}),[]),(0,i.useEffect)((function(){var i;e&&n&&(t.current?t.current.setDuration(e):(t.current=new l(e,n),null===(i=t.current)||void 0===i||i.resume()))}),[e,n]),t}(r,o),g=(0,c.l)(),h=(0,i.useCallback)((function(){var e;null===(e=f.current)||void 0===e||e.pause()}),[]),v=(0,i.useCallback)((function(){var e;null===(e=f.current)||void 0===e||e.resume()}),[]);return i.createElement(a.Z,{container:t},i.createElement("div",{className:g([u,{zIndex:m}]),onMouseEnter:h,onMouseLeave:v,onTransitionEnd:p},n))}},33781:(e,n,t)=>{t.d(n,{i:()=>p});var i=t(23029),a=t(92901),r=t(85501),o=t(56822),l=t(53954),c=t(96540),s=t(26061),u=t(77884),d=t(78693);var m=function(e,n){return function(){return{position:"absolute",top:"0",bottom:e?"unset":"0",left:"0",right:e?"unset":"0",zIndex:n||d.Ay.metabar,":focus":{outline:"none"}}}},p=function(e){(0,r.A)(p,e);var n,t,d=(n=p,t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=(0,l.A)(n);if(t){var a=(0,l.A)(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return(0,o.A)(this,e)});function p(){var e;(0,i.A)(this,p);for(var n=arguments.length,t=new Array(n),a=0;a<n;a++)t[a]=arguments[a];return(e=d.call.apply(d,[this].concat(t))).ref=void 0,e}return(0,a.A)(p,[{key:"render",value:function(){var e=this.props,n=e.children,t=e.customZIndex,i=e.disableOverlay,a=e.onClick,r=e.onKeyDown;return c.createElement(u.Z,null,c.createElement(s.A,null,(function(e){return c.createElement("div",{className:e(m(i,t)),onClick:a,onKeyDown:r,tabIndex:-1},n)})))}}]),p}(c.Component);p.defaultProps={onClick:function(){return null},onKeyDown:function(){return null}}},77884:(e,n,t)=>{t.d(n,{Z:()=>u});var i=t(23029),a=t(92901),r=t(85501),o=t(56822),l=t(53954),c=t(96540),s=t(40961);var u=function(e){(0,r.A)(u,e);var n,t,c=(n=u,t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=(0,l.A)(n);if(t){var a=(0,l.A)(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return(0,o.A)(this,e)});function u(e){var n;return(0,i.A)(this,u),(n=c.call(this,e)).portalEl=void 0,n.portalEl=document.createElement("div"),n}return(0,a.A)(u,[{key:"componentDidMount",value:function(){var e=this.props.container;e&&e.appendChild(this.portalEl)}},{key:"componentWillUnmount",value:function(){var e=this.props.container;e&&e.removeChild(this.portalEl)}},{key:"componentDidUpdate",value:function(e){}},{key:"render",value:function(){return s.createPortal(this.props.children,this.portalEl)}}]),u}(c.Component);u.defaultProps={container:"undefined"==typeof document?null:document.body}},64314:(e,n,t)=>{t.d(n,{m:()=>d});var i=t(80296),a=t(96540),r=t(99731),o=t(3005),l=t(52290),c=t(48198),s=t(36557),u=t(18642),d=function(e){var n=e.ariaLabelledBy,t=e.buttonStyle,d=void 0===t?"STRONG":t,m=e.buttonSize,p=void 0===m?"REGULAR":m,f=e.cancelText,g=void 0===f?"Cancel":f,h=e.children,v=e.confirmText,k=e.footer,S=void 0===k?null:k,b=e.hide,E=e.isVisible,y=e.noPortal,N=e.isResponse,w=void 0!==N&&N,P=e.onConfirm,O=e.showCancelButton,T=void 0===O||O,C=e.withCloseButton,A=void 0===C||C,_=e.isDestructiveAction,I=e.disableConfirm,R=void 0!==I&&I,F=e.hideOnConfirm,L=void 0===F||F,M=e.secondaryButton,D=e.customBackgroundColor,x=e.hrefConfirm,U=e.childrenAlign,B=void 0===U?"center":U,j=e.actionsAlign,V=void 0===j?"center":j,H=e.footerAlign,G=void 0===H?"center":H,W=e.testId,z=a.useState(0),Y=(0,i.A)(z,2),q=Y[0],K=Y[1];a.useEffect((function(){q||K(window.innerWidth)}),[]);var Q=a.useCallback((function(e){P&&P(e),L&&(null==b||b())}),[P,b,L]),X=!M&&T?a.createElement(r.$n,{buttonStyle:"SUBTLE",size:p,onClick:b,"data-testid":W?"".concat(W,"CancelButton"):void 0},g):M;return a.createElement(o.l,{ariaLabelledBy:n,isVisible:E,hide:b,noPortal:y,withCloseButton:!1,customBackgroundColor:(0,u.u7)(.94),isResponse:w},a.createElement(l.a,{position:"relative"},a.createElement(l.a,{background:w?"none":D||"white",borderRadius:"4px",display:"flex",flexDirection:"column",alignItems:"center",minHeight:"550px",width:w?"100%":"900px",justifyContent:"space-between",boxShadow:w?"none":"rgba(0, 0, 0, 0.15) 0px 2px 10px",padding:w?"0px":"18px",md:{display:"flex",justifyContent:"center",width:"720px"},sm:{width:"540px"},xs:{width:q<=320?"272px":"320px"}},a.createElement(l.a,{alignItems:"center",display:"flex",flexDirection:"column",flexGrow:"1",justifyContent:"center",md:{display:"flex",width:"100%"},padding:w?"0px":"44px 56px",sm:{padding:"32px 7px"},maxWidth:"680px"},a.createElement(l.a,{display:"flex",flexDirection:"column",alignItems:B},h,a.createElement(l.a,{display:"flex",justifyContent:V,width:"100%"},X,v&&a.createElement(l.a,{paddingLeft:X?"8px":void 0,display:"inline-block"},a.createElement(r.$n,{buttonStyle:_?"ERROR":d,size:p,onClick:Q,disabled:R,href:x,"data-testid":W?"".concat(W,"ConfirmButton"):void 0},v))),S?a.createElement(l.a,{paddingTop:"48px",textAlign:G,width:"100%"},a.createElement(s.kZ,{scale:"M",tag:"span"},S)):null))),A&&a.createElement(c.J,{onClick:b,size:"LARGE",absoluteOffset:"18px",testId:W?"".concat(W,"CloseButton"):void 0})))}},3005:(e,n,t)=>{t.d(n,{l:()=>v});var i=t(80296),a=t(64467),r=t(96540),o=t(19228),l=t(37661),c=t(52290),s=t(48198),u=t(98806),d=t(24252),m=t(44402),p=t(15578),f=function(e){return function(n){return{padding:"".concat(void 0!==e?e:n.grid.columnWidth,"px"),marginTop:"auto",marginBottom:"auto"}}},g={"0%":{opacity:0},"25%":{transform:"scale(.9)"},"100%":{opacity:1,transform:"scale(1)"}},h={"0%":{opacity:1,transform:"scale(1)"},"25%":{opacity:0},"100%":{opacity:0,transform:"scale(.9)"}},v=function(e){var n=e.ariaLabelledBy,t=e.children,v=e.hide,k=e.isVisible,S=e.padding,b=e.customBackgroundColor,E=e.noPortal,y=e.shouldTrapFocus,N=void 0===y||y,w=e.withCloseButton,P=void 0===w||w,O=e.withAnimation,T=void 0!==O&&O,C=e.withPageScroll,A=void 0!==C&&C,_=e.layerRules,I=e.containerRules,R=e.withLayerAnimation,F=void 0===R||R,L=e.onAnimationEnd,M=(0,m.l)(),D=r.useState(k&&T),x=(0,i.A)(D,2),U=x[0],B=x[1];r.useEffect((function(){k&&T&&B(!0)}),[k,T]);var j=r.useCallback((function(){!k&&U&&B(!1),null==L||L()}),[k,U,L]);return k||U?r.createElement(o.Cq,null,r.createElement(u.W,{ariaLabelledBy:n,rules:[_],shouldTrapFocus:N,isVisible:k,onMouseDown:v?function(e){return(0,d.D)(v,e)}:void 0,onKeyDown:v?function(e){return(0,d.x)(v,e)}:void 0,withAnimation:T&&F,noPortal:E,withPageScroll:A,customBackgroundColor:b},T?r.createElement(l.w,{keyframes:{animation:k?g:h}},(function(e){var n,i=e.animation;return r.createElement("div",{className:M([f(S),(n=i,function(){return(0,a.A)({animation:"".concat(n," 300ms forwards cubic-bezier(.25, .1, .25, 1)"),transformOrigin:"bottom center"},(0,p.Oe)("reduce"),{animationDuration:"0.1ms"})}),I]),onAnimationEnd:j},t)})):r.createElement("div",{className:M([f(S),I])},t),P&&r.createElement(c.a,{display:"flex",alignSelf:"flex-start"},r.createElement(c.a,{position:"absolute",top:"100px",right:"200px",sm:{top:"0px",right:"0px"},md:{top:"100px",right:"40px"},lg:{right:"100px"}},r.createElement(s.J,{onClick:v,size:"LARGE"}))))):null}},98806:(e,n,t)=>{t.d(n,{D:()=>f,W:()=>S});var i=t(80296),a=t(64467),r=t(24208),o=t(52697),l=t(96540),c=t(77884),s=t(44402),u=t(98761),d=t(15578),m=t(78693),p=(0,l.createContext)({ref:(0,l.createRef)()}),f=function(){return(0,l.useContext)(p).ref},g={position:"fixed",top:"0",bottom:"0",left:"0",right:"0",zIndex:m.Ay.modal},h={"0%":{opacity:1},"100%":{opacity:0}},v={"0%":{opacity:0},"100%":{opacity:1}},k=function(e){return function(n){return(0,a.A)({display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:e||n.baseColor.overlay.dark,overflowX:"hidden",overflowY:"auto"},(0,d.Oe)("no-preference"),{"-webkit-overflow-scrolling":"touch",scrollBehavior:"smooth"})}},S=function(e){var n=e.ariaLabelledBy,t=e.children,m=e.container,f=e.isVisible,S=e.noPortal,b=e.onClick,E=e.onMouseDown,y=e.onKeyDown,N=e.rules,w=e.shouldTrapFocus,P=void 0===w||w,O=e.withAnimation,T=e.withPageScroll,C=e.customBackgroundColor,A=(0,s.l)(),_=(0,u.h)({animation:f?v:h}).animation,I=(0,l.useState)(null),R=(0,i.A)(I,2),F=R[0],L=R[1],M=(0,l.useRef)(null);l.useEffect((function(){var e=M.current;e&&(f&&!T?(0,r.mh)(e):(0,r.fY)(e))}),[f,T]),l.useEffect((function(){return function(){(0,r.qY)()}}),[]),(0,l.useEffect)((function(){var e=M.current;if(e){if(P){if(!F){var n=(0,o.K)(e,{initialFocus:e,fallbackFocus:e});n.activate(),L(n)}return function(){F&&(F.deactivate(),L(null))}}e.contains(document.activeElement)||e.focus()}}),[F,L,P]);var D,x=(0,l.useMemo)((function(){return{ref:M}}),[M]),U=[k(C),N,g],B=l.createElement("div",{role:"dialog","aria-modal":"true","aria-labelledby":n,className:A(O?[U,(D=_,(0,a.A)({},(0,d.Oe)("no-preference"),{animation:"".concat(D," 300ms forwards cubic-bezier(.25, .1, .25, 1)")}))]:U),onClick:b,onKeyDown:y,onMouseDown:E,ref:M,tabIndex:-1},l.createElement(p.Provider,{value:x},t));return S?l.createElement(l.Fragment,null,B):l.createElement(c.Z,{container:m},B)}},77662:(e,n,t)=>{t.d(n,{k:()=>l});var i=t(96540),a=t(98761),r=t(44402),o={from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},l=function(e){var n=e.size,t=void 0===n?"40px":n,l=e.borderWidth,c=void 0===l?"2px":l,s=e.color,u=void 0===s?function(e){return e.colorTokens.border.neutral.secondary.base}:s,d=(0,a.h)({keyframesName:o}).keyframesName,m=(0,i.useMemo)((function(){return function(e,n,t,i){return function(a){return{width:n,height:n,borderRadius:"50%",borderWidth:t,borderStyle:"solid",borderColor:"".concat(i(a)," transparent ").concat(i(a)," ").concat(i(a)),animation:"".concat(e," 2s infinite linear;")}}}(d,t,c,u)}),[d,t,u]),p=(0,r.l)();return i.createElement("div",{className:p(m)})}},46146:(e,n,t)=>{t.d(n,{y:()=>Ve});var i=t(58168),a=t(80296),r=t(96540),o=t(11334),l=t(49597),c=t(82484),s=t(81799),u=t(86527),d=t(72130),m=t(39160),p=t(46879),f=t(52290),g=t(48198),h=t(36557),v=t(20239),k=function(e){var n=e.children,t=e.closeButtonAction,i=e.closeLink,a=e.testId,o=(0,v.D)();return r.createElement(h.kZ,{color:"WHITE",scale:"S",tag:"div"},r.createElement(f.a,{display:"flex",justifyContent:"space-between",xs:{flexDirection:t?"row":"column"},sm:{flexDirection:t?"row":"column"}},r.createElement(f.a,{ariaRole:"alert"},n),(t||i)&&r.createElement(f.a,{alignSelf:"flex-start",xs:{paddingTop:i?"8px":"0"},sm:{paddingTop:i?"8px":"0"},paddingLeft:{xs:i?"0":"16px",sm:i?"0":"16px",md:"16px",lg:"16px",xl:"16px"}},i,t&&r.createElement(g.J,{onClick:t,isPositionAbsolute:!1,iconFillColor:o.colorTokens.foreground.neutral.quaternary.base,testId:a?"".concat(a,"CloseButton"):void 0}))))},S=function(e){var n=e.hide,t=(0,d.$L)(),i=(0,m.d4)((function(e){return e.config.productName}));(0,r.useEffect)((function(){t.event("privacyBanner.shown",{})}),[]);var a=(0,r.useCallback)((function(){n(),s.IY.set(s.mq,1),t.event("privacyBanner.accepted",{}),c.L.setTrackingConsent("granted")}),[n]);return r.createElement(k,{closeButtonAction:a},"To make ",i," work, we log user data. By using ",i,", you agree to our"," ",r.createElement(u.N,{href:p.wuc,inline:!0,linkStyle:"OBVIOUS",target:"_blank"},"Privacy Policy"),", including cookie policy.")},b=function(e){var n=e.hide;return r.createElement(k,{closeLink:r.createElement(u.N,{linkStyle:"OBVIOUS",inline:!0,onClick:n},"Okay, got it")},"We're preparing your list to export. We'll email you a link to download the .zip file soon.")},E=t(1771),y=function(){var e=(0,d.$L)(),n=function(){e.event("user.sendVerificationEmailButterClicked",{})};r.useEffect((function(){e.event("user.sendVerificationEmailButterShown",{})}),[]);var t=r.useMemo((function(){return r.createElement(E.T,null,(function(e){var t=e.mutate;return r.createElement(u.N,{onClick:function(){n(),t()},inline:!0,linkStyle:"OBVIOUS"},"Resend email")}))}),[n]);return r.createElement(k,{closeLink:t},"Verify your email to get full access to your account.")},N=t(27721),w=function(){var e=(0,N.R)().value,n=(0,m.d4)((function(e){return e.config.authDomain})),t=r.useMemo((function(){return r.createElement(u.N,{href:(0,p.USZ)(n),inline:!0,linkStyle:"OBVIOUS",target:"_blank"},"Change email")}),[n]);return r.createElement(k,{closeLink:t},"A verification email has been sent to ",e&&e.unverifiedEmail,".")},P=function(){return r.createElement(k,null,"The following content is under review as a potential violation of our"," ",r.createElement(u.N,{href:"https://medium.com/policy/medium-rules-30e5502c4eb4",inline:!0,linkStyle:"OBVIOUS",target:"_blank"},"rules."))},O=function(e){var n=e.hide;return r.createElement(k,{closeButtonAction:n},r.createElement("strong",null,"An error occured.")," Please try again or"," ",r.createElement(u.N,{href:p.HHm,inline:!0,linkStyle:"OBVIOUS",target:"_blank"},"contact our support team")," ","for help.")},T=t(22805),C=t(51260),A=function(e){var n=e.hide,t=e.newsletterName,i=e.hideEmailSettingsLink,a=e.hideCloseButton,o=(0,C.au)();return r.createElement(k,{closeButtonAction:a?void 0:n},"You have unsubscribed from ",r.createElement("strong",null,t),". Changes will take effect within 24 hours.",!i&&r.createElement(r.Fragment,null," ",r.createElement(u.N,{inline:!0,href:o("ShowSettingsTab",{setting:T.W.Notifications}),linkStyle:"OBVIOUS"},"Manage all my email settings")))},_=t(42976),I=function(e){var n=e.hide,t=e.newsletterName,i=e.newsletterType,a=e.unsubscribeFn,o=(0,m.d4)((function(e){return e.config.authDomain}));return r.createElement(k,{closeButtonAction:n},r.createElement("strong",null,"You're"," ",i===_.$J.NEWSLETTER_TYPE_AUTHOR?"subscribed"+(t&&" to ".concat(t)):"signed up"+(t&&" for ".concat(t)),".")," ","You can"," ",r.createElement(u.N,{onClick:function(){a(),n()},linkStyle:"OBVIOUS",inline:!0},"unsubscribe")," ",i===_.$J.NEWSLETTER_TYPE_COLLECTION&&"from this newsletter ","or manage your"," ",r.createElement(u.N,{href:(0,p.hxZ)(o),linkStyle:"OBVIOUS",inline:!0,target:"_blank"},"email settings")," ","at any time.")},R=function(){return r.createElement(k,null,"Your account was found in violation of the Medium Rules."," ",r.createElement(u.N,{href:p.S6e,inline:!0,linkStyle:"OBVIOUS",target:"_blank"},"Learn more about reasons for suspension."))},F=function(){return r.createElement(k,null,"This story was found in violation of the Medium Rules."," ",r.createElement(u.N,{href:p.S6e,inline:!0,linkStyle:"OBVIOUS",target:"_blank"},"Learn more about reasons for suspension."))},L=t(95420),M=t(79756),D={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RefetchThreadedPostResponsesQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"postId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"postResponsesPaging"}},type:{kind:"NamedType",name:{kind:"Name",value:"PagingOptions"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortType"}},type:{kind:"NamedType",name:{kind:"Name",value:"ResponseSortType"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"post"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"postId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"responsesCount"}},{kind:"Field",name:{kind:"Name",value:"postResponses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"}}]}},{kind:"Field",name:{kind:"Name",value:"threadedPostResponses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"paging"},value:{kind:"Variable",name:{kind:"Name",value:"postResponsesPaging"}}},{kind:"Argument",name:{kind:"Name",value:"sortType"},value:{kind:"Variable",name:{kind:"Name",value:"sortType"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"pagingInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"next"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"limit"}},{kind:"Field",name:{kind:"Name",value:"to"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"posts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]}}]}}]},x={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UnhidePostResponseOnParentPost"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentPostId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"postResponseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"unhidePostResponseOnParentPost"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentPostId"},value:{kind:"Variable",name:{kind:"Name",value:"parentPostId"}}},{kind:"Argument",name:{kind:"Name",value:"postResponseId"},value:{kind:"Variable",name:{kind:"Name",value:"postResponseId"}}}]}]}}]},U=function(e){var n=e.hide,t=e.parentPostId,i=e.responseId,o=e.sortType,l=(0,L.n)(x,{variables:{postResponseId:i,parentPostId:t},awaitRefetchQueries:!0,refetchQueries:[{query:D,variables:{postId:t,postResponsesPaging:{limit:M.TC},sortType:o}}],onCompleted:n}),c=(0,a.A)(l,2),s=c[0],d=c[1].loading;return r.createElement(k,{closeButtonAction:n},"Response has been hidden from this story."," ",r.createElement(u.N,{linkStyle:"OBVIOUS",inline:!0,disabled:d,onClick:function(){return s()}},"Undo"))},B={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RefetchThreadedCatalogResponsesQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"catalogId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"catalogResponsesPagingOptions"}},type:{kind:"NamedType",name:{kind:"Name",value:"PagingOptions"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortType"}},type:{kind:"NamedType",name:{kind:"Name",value:"ResponseSortType"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogById"},arguments:[{kind:"Argument",name:{kind:"Name",value:"catalogId"},value:{kind:"Variable",name:{kind:"Name",value:"catalogId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"responsesCount"}},{kind:"Field",name:{kind:"Name",value:"threadedCatalogResponses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"paging"},value:{kind:"Variable",name:{kind:"Name",value:"catalogResponsesPagingOptions"}}},{kind:"Argument",name:{kind:"Name",value:"sortType"},value:{kind:"Variable",name:{kind:"Name",value:"sortType"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pagingInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"next"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"limit"}},{kind:"Field",name:{kind:"Name",value:"to"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"posts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]}}]}}]}}]},j={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ShowCatalogResponseOnParent"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentCatalogId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"catalogResponseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"showCatalogResponseOnParent"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentCatalogId"},value:{kind:"Variable",name:{kind:"Name",value:"parentCatalogId"}}},{kind:"Argument",name:{kind:"Name",value:"catalogResponseId"},value:{kind:"Variable",name:{kind:"Name",value:"catalogResponseId"}}}]}]}}]},V=function(e){var n=e.hide,t=e.parentCatalogId,i=e.responseId,o=e.sortType,l={catalogId:t,catalogResponsesPagingOptions:{limit:M.TC},sortType:o},c=(0,L.n)(j,{variables:{parentCatalogId:t,catalogResponseId:i},awaitRefetchQueries:!0,refetchQueries:[{query:B,variables:l}],onCompleted:n}),s=(0,a.A)(c,2),d=s[0],m=s[1].loading,p=r.useCallback((function(){d()}),[]);return r.createElement(k,{closeButtonAction:n},"Response has been hidden from this list."," ",r.createElement(u.N,{linkStyle:"OBVIOUS",inline:!0,disabled:m,onClick:p},"Undo"))},H=function(e){var n=e.name,t=(0,m.d4)((function(e){return e.config.productName}));return r.createElement(k,null,"You are now following ",r.createElement("strong",null,n)," on ",t)},G=function(e){var n=e.name,t=(0,m.d4)((function(e){return e.config.productName}));return r.createElement(k,null,"You're already following ",r.createElement("strong",null,n)," on ",t)},W=function(){return r.createElement(k,null,"Sorry, that didn't work. Click ",r.createElement("strong",null,"Follow")," on the page below to try again.")},z=function(){var e=(0,m.d4)((function(e){return e.config.productName}));return r.createElement(k,null,"You cannot follow yourself on ",e)},Y=t(64467),q=t(53843),K=t(49287);function Q(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function X(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Q(Object(t),!0).forEach((function(n){(0,Y.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Q(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Z=function(e){var n=e.hide,t=e.isMutingAuthor,i=e.authorId,a=e.authorName,o=e.pubId,l=e.pubName,c=e.source;return r.createElement(K.Ne,{source:X(X({},c),{},{dimension:"toast"})},r.createElement(k,{closeButtonAction:n},t?a:l," has been muted. You will no longer see their stories on your homepage or in your email digests."," ",r.createElement($,{isMutingAuthor:t,authorId:i,pubId:o})))};function $(e){var n=e.isMutingAuthor,t=e.authorId,i=e.pubId,o=(0,r.useState)(!1),l=(0,a.A)(o,2),c=l[0],s=l[1],d=(0,q.d)({authorId:t,collectionId:i}),m=d.unmuteAuthor,p=d.unmutePub,f=(0,r.useCallback)((function(){m(),s(!0)}),[m]),g=(0,r.useCallback)((function(){p(),s(!0)}),[p]);return r.createElement(u.N,{linkStyle:"OBVIOUS",inline:!0,disabled:c,onClick:n?f:g},"Undo")}var J=t(39),ee=t(44402),ne=t(18642),te=function(){return{color:ne.ON}};function ie(e){var n=e.children,t=(0,ee.l)(),i=(0,J.Z)({name:"detail",scale:"M",color:"DARKER"});return r.createElement(f.a,{backgroundColor:"ACCENT_NORMAL",textAlign:"center",padding:"8px 4px"},r.createElement("span",{className:t([i,te])},n))}var ae=t(85836),re=function(e){var n=e.errorType,t=e.failCount,i=e.hide,a=e.lockedOutUntil,o={failCount:Number(t),lockedOutUntil:Number(a)};return r.createElement(k,{closeButtonAction:i},(0,ae.Dq)(n,o))},oe=t(28263),le=t(79429),ce="signin_confirmation_banner",se=function(e){var n=e.hide,t=(0,d.$L)(),i=(0,N.R)().value,a=(0,oe.C)().openModal,o=(0,le.s)({onPresentedFn:function(){return t.event("signInConfirmationBanner.viewed",{})}}),l=(0,r.useCallback)((function(){n(),t.event("signInConfirmationBanner.notYouClicked",{}),a({operation:"login",step:"SIGNIN_OPTIONS",susiEntry:ce})}),[t,a,n]);return i?r.createElement(k,{closeButtonAction:n},r.createElement(K.Ne,{source:{susiEntry:ce},extendSource:!0},r.createElement(f.a,{ref:o,display:"flex",alignItems:"center"},r.createElement(h.kZ,{color:"WHITE",scale:"M"},"Welcome back. You are signed"," ",i.membership?"into your member account ":"in as ",r.createElement("b",null,i.emailObfuscated),"."," ",r.createElement(u.N,{onClick:l,rules:{textDecoration:"underline"}},"Not you?"))))):null},ue=t(46963),de=function(e){var n=e.isCheckboxEnabled,t=(0,m.d4)((function(e){return e.config.authDomain})),i=(0,N.R)().value,a=(0,ue.U)(),o=["xs","sm"].includes(a||"");return r.createElement(k,null,r.createElement(f.a,{display:"flex",justifyContent:"space-between"},r.createElement(f.a,{width:o?"180px":"",paddingRight:o?"0px":"250px"},"Your subscription promotions are now ",n?"enabled":"disabled","."," "),r.createElement(f.a,{paddingTop:o?"10px":"0px"},r.createElement(u.N,{href:(0,p.EpC)(i,t),inline:!0,linkStyle:"OBVIOUS",target:"_blank"},"Take a look"))))},me=t(72041),pe=function(e){var n=e.hide,t=e.postTitle,i=e.postId,o=e.tab,l=(0,me.P)(i,t,o),c=(0,a.A)(l,1)[0];return r.createElement(k,{closeButtonAction:n},r.createElement("b",null,'"',t,'"')," moved to Trash. After 14 days, it'll be permanently deleted."," ",r.createElement(u.N,{onClick:function(){return c()},inline:!0,linkStyle:"OBVIOUS"},"Undo"))},fe=function(e){var n=e.hide;return r.createElement(k,{closeButtonAction:n},r.createElement("strong",null,"An error occured during deactivation of the subdomain.")," Please try again or"," ",r.createElement(u.N,{href:p.HHm,inline:!0,linkStyle:"OBVIOUS",target:"_blank"},"contact our support team")," ","for help.")},ge=t(79193),he=function(e){var n=e.hide,t=e.postTitle,i=e.postId,o=e.tab,l=(0,ge.Q)(i),c=(0,a.A)(l,1)[0],s=r.useCallback((function(){c().then((function(){return window.location.reload()}))}),[c]);return r.createElement(k,{closeButtonAction:n},r.createElement("b",null,'"',t,'"')," moved to ",o,"."," ",r.createElement(u.N,{onClick:function(){return s()},inline:!0,linkStyle:"OBVIOUS"},"Undo"))},ve=t(91317),ke=t(43634),Se="alternate_user_top_banner",be=function(e){var n=e.hide,t=e.userSocialLogins,i=(0,ee.l)(),a=(0,d.$L)(),o=(0,N.R)().value,l=(0,le.s)({onPresentedFn:function(){a.event("alternateUserBanner.viewed",{alternateUserSuggestionAccountType:(0,ve.g)(t),alternateUserSuggestionTargetUserId:t.userId,alternateUserSuggestionSourceUserId:null==o?void 0:o.id})}}),c=(0,r.useCallback)((function(){a.event("alternateUserBanner.dismissed",{alternateUserSuggestionAccountType:(0,ve.g)(t),alternateUserSuggestionTargetUserId:t.userId,alternateUserSuggestionSourceUserId:null==o?void 0:o.id}),n()}),[a,n,t,o]),s=(0,r.useMemo)((function(){return o?r.createElement(r.Fragment,null,"You are signed in to a different account than the member account linked to the email digest (",r.createElement("strong",null,t.redactedEmailAddress),")."):r.createElement(r.Fragment,null,"You are signed out. Sign in with your member account (",r.createElement("strong",null,t.redactedEmailAddress),") to view other member-only stories.")}),[o,t]);return r.createElement(k,{closeButtonAction:c},r.createElement(K.Ne,{source:{susiEntry:Se},extendSource:!0},r.createElement(f.a,{ref:l,display:"flex",alignItems:"center"},r.createElement(h.kZ,{color:"WHITE",scale:"M"},s," ",r.createElement(ke.r,{operation:"login",susiEntry:Se,additionalClickActions:n},r.createElement("span",{className:i({textDecoration:"underline"})},o?"Switch account":"Sign in"))))))};function Ee(e){var n=e.children,t=e.hide,i=e.hideCloseButton,a=e.testId;return r.createElement(k,{closeButtonAction:i?void 0:t,testId:a},n)}var ye=function(e){var n=e.hide,t=(0,C.au)();return r.createElement(k,{closeLink:r.createElement(u.N,{href:t("ShowYourFollowedLists",{}),linkStyle:"OBVIOUS",inline:!0,onClick:n},"View library")},"List saved to Your Library")},Ne=t(63933);function we(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Pe(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?we(Object(t),!0).forEach((function(n){(0,Y.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):we(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Oe(e){var n=e.hide,t=e.authorId,i=void 0===t?"":t,a=e.collectionId,o=void 0===a?"":a,l=e.publisherName,c=e.source,s=e.trackingV2;return r.createElement(K.Ne,{source:Pe(Pe({},c),{},{dimension:"toast"})},r.createElement(k,{closeLink:r.createElement(Te,{authorId:i,collectionId:o,hide:n,trackingV2:s})},"You're now following ",l))}function Te(e){var n=e.authorId,t=e.collectionId,i=e.trackingV2,a=e.hide,o=(0,Ne.u)(n,t,i),l=o.unfollowUser,c=o.unfollowCollection,s=(0,r.useCallback)((function(){l(),a()}),[l]),d=(0,r.useCallback)((function(){c(),a()}),[c]);return r.createElement(u.N,{linkStyle:"OBVIOUS",inline:!0,onClick:n?s:d},"Undo")}var Ce=t(69733),Ae=t(91830),_e=function(e){var n=e.response,t=(0,Ce.wA)(),i=r.useMemo((function(){return r.createElement(u.N,{onClick:function(){t((0,Ae.he)())},href:(0,p.us)(n),linkStyle:"OBVIOUS",inline:!0},"View story")}),[Ae.he,n]);return r.createElement(k,{closeLink:i},"Your response is also published as a story on your profile.")},Ie=t(12378),Re=t(98761),Fe=t(78693),Le=t(40064),Me=function(e){var n=e.hide,t=e.collectionName,i=e.becamePinned,a=(0,ee.l)();return r.createElement(k,{closeButtonAction:n},"The story has been ",i?"pinned to":"unpinned from"," the"," ",r.createElement("strong",{className:a((function(e){var n;return{fontWeight:null!==(n=e.newFonts.detail.boldWeight)&&void 0!==n?n:"bold"}}))},t)," homepage")},De=function(e){var n=e.hide;return r.createElement(k,{closeButtonAction:n},r.createElement("strong",null,"An error occured")," while we were recording your payout information. Please try again or"," ",r.createElement(u.N,{href:p.HHm,inline:!0,linkStyle:"OBVIOUS"},"contact our support team")," ","for help.")};function xe(e){var n=e.onClickUndo,t=e.hide,i=(0,r.useCallback)((function(){n(),t()}),[n,t]),a=(0,r.useMemo)((function(){return r.createElement(u.N,{linkStyle:"OBVIOUS",inline:!0,onClick:i},"Undo")}),[i]);return r.createElement(k,{closeLink:a},"Great, well recommend more like this.")}var Ue=function(){return{"0%":{transform:"translate(-50%, -100px)"},"100%":{transform:"translate(-50%, 0)"}}},Be=function(e,n){return function(t){return{position:"fixed",top:"0",left:"50%",transform:"translateX(-50%)",marginTop:"16px",width:{xs:"300px",sm:"500px",md:"640px",lg:"640px",xl:"640px"},maxWidth:"".concat((0,Ie.z)(t,8),"px"),padding:{xs:"12px",sm:"16px 24px",md:"16px 24px",lg:"16px 24px",xl:"16px 24px"},borderRadius:"".concat(t.borderRadius.regular,"px"),backgroundColor:t.backgroundColor,boxShadow:"0 0 2px ".concat(t.colorTokens.border.neutral.tertiary.base),animation:"".concat(e," 300ms ease-out"),opacity:n?0:1,transition:"opacity 300ms"}}},je=function(e,n){switch(n){case"ERROR":case"USER_SUSPENDED":case"POST_SUSPENDED":case"RETRY_STRIPE_CONNECTION":return(0,Le.Sr)(e);default:return(0,Le.S5)(e)}},Ve=function(e){var n,t=e.children,c=e.duration,s=e.hide,u=e.isVisible,d=e.toastStyle,m=void 0===d?"MESSAGE":d,p=e.extraParams,f=(0,v.D)(),g=(0,Re.h)({slideDownKeyName:Ue}).slideDownKeyName,h=(0,r.useState)(!1),k=(0,a.A)(h,2),E=k[0],N=k[1],T=(0,r.useCallback)((function(){N(!0)}),[]),C=(0,r.useCallback)((function(){s(),N(!1)}),[s]);if(!u)return null;var _=!1;switch(m){case"EU_PRIVACY_BANNER":n=S,_=!0;break;case"EXPORT_EMAIL_SUBSCRIBERS":n=b;break;case"VERIFY_EMAIL":n=y;break;case"SENT_VERIFICATION_EMAIL":n=w;break;case"LIMITED_STATE_BANNER":n=P;break;case"RETRYABLE_ERROR":n=O;break;case"NEWSLETTER_UNSUBSCRIBE":n=A;break;case"NEWSLETTER_SUBSCRIBE":n=I;break;case"USER_SUSPENDED":n=R,_=!0;break;case"POST_SUSPENDED":n=F,_=!0;break;case"HIDE_POST_RESPONSE":n=U;break;case"HIDE_CATALOG_RESPONSE":n=V;break;case"POST_PINNED_TO_COLLECTION_HOMEPAGE":n=Me;break;case"SUBSCRIBE_SUCCESS":n=H;break;case"SUBSCRIBE_FAIL":n=W;break;case"SUBSCRIBE_SELF":n=z;break;case"SUBSCRIBED_ALREADY":n=G;break;case"MUTE_ENTITY":n=Z;break;case"ACCENT":return r.createElement(ie,null,t);case"PUBLISH_RESPONSE":n=_e;break;case"ACCOUNT_LOCKOUT":n=re;break;case"FOLLOW_PUBLISHER":n=Oe;break;case"USER_POSITIVE_SIGNAL":n=xe;break;case"SIGN_IN_CONFIRMATION":n=se;break;case"SUBSCRIPTION_PROMOTION":n=de;break;case"MOVE_POST_TO_TRASH":n=pe;break;case"UNCLAIM_SUBDOMAIN_ERROR":n=fe;break;case"UNDELETE_POST":n=he;break;case"ALTERNATE_USER":n=be;break;case"ERROR":_=!0,n=Ee;break;case"FOLLOW_CATALOG":n=ye;break;case"RETRY_STRIPE_CONNECTION":n=De;break;default:n=Ee}var L=r.createElement(n,(0,i.A)({hide:T},p),t||null);return _||(L=r.createElement("div",null,r.createElement("div",{className:"branch-journeys-top"},L))),r.createElement(o.N,{theme:je(f,m)},r.createElement(l.X,{duration:c,onComplete:T,rules:Be(g,E),zIndex:Fe.Ay.toast,onTransitionEnd:C},L))}},85864:(e,n,t)=>{t.d(n,{B:()=>c});var i=t(23029),a=t(92901),r=t(85501),o=t(56822),l=t(53954);var c=function(e){(0,r.A)(s,e);var n,t,c=(n=s,t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=(0,l.A)(n);if(t){var a=(0,l.A)(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return(0,o.A)(this,e)});function s(e){var n;return(0,i.A)(this,s),(n=c.call(this,e)).show=function(){n.setState({isVisible:!0})},n.hide=function(){n.setState({isVisible:!1})},n.toggle=function(){return n.state.isVisible?n.hide():n.show()},n.state={isVisible:e.initialVisibility||!1},n}return(0,a.A)(s,[{key:"render",value:function(){var e=this.show,n=this.hide,t=this.toggle,i=this.state.isVisible;return this.props.children({isVisible:i,show:e,hide:n,toggle:t})}}]),s}(t(96540).Component)},14852:(e,n,t)=>{t.d(n,{a:()=>g});var i,a=t(58168),r=t(80045),o=t(96540),l=t(44402);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},c.apply(null,arguments)}const s=function(e){return o.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),i||(i=o.createElement("path",{stroke:"#242424",strokeLinecap:"round",strokeLinejoin:"round",d:"M3 8.79 7.103 13 13 3"})))};var u;function d(){return d=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},d.apply(null,arguments)}const m=function(e){return o.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),u||(u=o.createElement("path",{stroke:"#242424",strokeLinecap:"round",strokeLinejoin:"round",d:"M3.5 13.263 10.064 20 19.5 4"})))};var p=["color","size"],f=function(e){var n=e.color;return function(e){var t;switch(n){case"foreground.neutral.primary":t=e.colorTokens.foreground.neutral.primary.base;break;case"foreground.accent.primary":t=e.colorTokens.foreground.accent.primary.base}return{"& path":{stroke:t}}}},g=function(e){var n,t=e.color,i=void 0===t?"foreground.neutral.primary":t,c=e.size,u=(0,r.A)(e,p),d=(0,l.l)();switch(c){case"16":n=s;break;case"24":n=m}return o.createElement(n,(0,a.A)({className:d(f({color:i}))},u))}},85050:(e,n,t)=>{t.d(n,{V:()=>c});var i=t(58168),a=t(80045),r=t(96540),o=t(52290),l=["xs","sm","md","lg","xl","displayValue","alignItems","children"],c=r.memo((function(e){var n=e.xs,t=e.sm,c=e.md,s=e.lg,u=e.xl,d=e.displayValue,m=e.alignItems,p=e.children,f=(0,a.A)(e,l);return r.createElement(o.a,(0,i.A)({display:{xs:n?d:"none",sm:t?d:"none",md:c?d:"none",lg:s?d:"none",xl:u?d:"none"},alignItems:m},f),p)}))},27049:(e,n,t)=>{var i;t.d(n,{i:()=>i}),function(e){e.xs="xs",e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"}(i||(i={}))},6482:(e,n,t)=>{t.d(n,{Jz:()=>l,nB:()=>c});var i=t(96540),a=t(39),r=t(44402),o=function(e){return e.colorTokens.foreground.neutral.primary.base},l=function(e){return{color:o(e)}},c=function(e){var n=e.scale,t=e.children,o=e.tag,l=void 0===o?"p":o,c=e.clamp,s=e.leadingTrim,u=(0,r.l)(),d=(0,a.Z)({name:"body",scale:n,clamp:c,leadingTrim:s});return i.createElement(l,{className:u(d)},t)}},95107:(e,n,t)=>{t.d(n,{GG:()=>c,mz:()=>s});var i=t(96540),a=t(39),r=t(44402),o=t(18642),l=function(e){return function(n){var t;return{WHITE:o.ON,DARKER:null!==(t=n.colorTokens.foreground.neutral.primary.hover)&&void 0!==t?t:n.colorTokens.foreground.neutral.primary.base}[e]}},c=function(e){return function(n){return{color:l(e)(n)}}},s=function(e){var n=e.scale,t=e.children,o=e.tag,l=void 0===o?"h2":o,c=e.leadingTrim,s=e.color,u=void 0===s?"DARKER":s,d=e.clamp,m=e.testId,p=(0,r.l)(),f=(0,a.Z)({name:"brand",scale:n,leadingTrim:c,color:u,clamp:d});return i.createElement(l,{className:p(f),"data-testid":m},t)}},36557:(e,n,t)=>{t.d(n,{kZ:()=>s,sQ:()=>c});var i=t(96540),a=t(39),r=t(44402),o=t(18642),l=function(e){return function(n){return{DARKER:n.colorTokens.foreground.neutral.primary.base,LIGHTER:n.colorTokens.foreground.neutral.secondary.base,ACCENT:n.colorTokens.foreground.accent.primary.base,ERROR:n.colorTokens.foreground.error.primary.base,WHITE:o.ON}[e]}},c=function(e){return function(n){return{color:l(e)(n)}}},s=function(e){var n=e.scale,t=e.color,o=void 0===t?"LIGHTER":t,l=e.children,c=e.tag,s=void 0===c?"p":c,u=e.clamp,d=e.leadingTrim,m=e.ariaLabelledById,p=e.ariaHidden,f=e.ariaLabel,g=e.playwrightClassName,h=e.testId,v=(0,r.l)(),k=(0,a.Z)({name:"detail",scale:n,clamp:u,leadingTrim:d,color:o}),S="".concat(v(k));return g&&(S="".concat(g," ").concat(S).trim()),i.createElement(s,{className:S,id:m,"aria-hidden":p,"aria-label":f,"data-testid":h},l)}},56942:(e,n,t)=>{t.d(n,{DZ:()=>s,n6:()=>c});var i=t(96540),a=t(39),r=t(44402),o=function(e){return function(n){return{NORMAL:n.colorTokens.foreground.neutral.primary.base,LIGHTER:n.colorTokens.foreground.neutral.secondary.base,ERROR:n.colorTokens.foreground.error.primary.base}[e]}},l=function(e){return{NORMAL:500,EDITORIAL:700,INLINE:600}[e]},c=function(e,n){return function(t){return{color:o(n)(t),fontWeight:l(e)}}},s=function(e){var n=e.ariaLabelledById,t=e.children,o=e.clamp,l=e.playwrightClassName,c=e.leadingTrim,s=e.scale,u=e.tag,d=void 0===u?"h2":u,m=e.fontWeight,p=void 0===m?"NORMAL":m,f=e.color,g=void 0===f?"NORMAL":f,h=e.testId,v=(0,r.l)(),k=(0,a.Z)({name:"heading",scale:s,clamp:o,leadingTrim:c,fontWeight:p,color:g}),S=l?"".concat(l," ").concat(v(k)):v(k);return i.createElement(d,{className:S,id:n,"data-testid":h?"".concat(h,"Title"):void 0},t)}},33154:(e,n,t)=>{t.d(n,{bz:()=>c,pB:()=>l});var i=t(96540),a=t(39),r=t(44402),o=function(e){return function(n){return{LIGHTER:n.colorTokens.foreground.neutral.secondary.base,ACCENT:n.colorTokens.foreground.accent.primary.base,DARKER:n.colorTokens.foreground.neutral.primary.base}[e]}},l=function(e){return function(n){return{color:o(e)(n),textTransform:"uppercase"}}},c=function(e){var n=e.children,t=e.clamp,o=e.color,l=void 0===o?"LIGHTER":o,c=e.scale,s=void 0===c?"M":c,u=e.tag,d=void 0===u?"p":u,m=e.leadingTrim,p=(0,r.l)(),f=(0,a.Z)({name:"overline",scale:s,clamp:t,color:l,leadingTrim:m});return i.createElement(d,{className:p(f)},n)}},39607:(e,n,t)=>{t.d(n,{ab:()=>c,uC:()=>l});var i=t(96540),a=t(39),r=t(44402),o=function(e){return e.colorTokens.foreground.neutral.secondary.base},l=function(e){return{color:o(e)}},c=function(e){var n=e.scale,t=e.children,o=e.tag,l=void 0===o?"blockquote":o,c=e.leadingTrim,s=(0,r.l)(),u=(0,a.Z)({name:"pullQuote",scale:n,leadingTrim:c});return i.createElement(l,{className:s(u)},t)}},27622:(e,n,t)=>{t.d(n,{$m:()=>l,Pd:()=>c});var i=t(96540),a=t(39),r=t(44402),o=function(e){return function(n){return{DARKER:n.colorTokens.foreground.neutral.primary.base,LIGHTER:n.colorTokens.foreground.neutral.secondary.base}[e]}},l=function(e){return function(n){return{color:o(e)(n)}}},c=function(e){var n=e.scale,t=e.children,o=e.color,l=void 0===o?"LIGHTER":o,c=e.tag,s=void 0===c?"h3":c,u=e.clamp,d=e.leadingTrim,m=(0,r.l)(),p=(0,a.Z)({name:"subtitle",scale:n,clamp:u,leadingTrim:d,color:l});return i.createElement(s,{className:m(p)},t)}},39410:(e,n,t)=>{t.d(n,{hE:()=>c,zU:()=>l});var i=t(96540),a=t(39),r=t(44402),o=function(e){return function(n){var t;return{NORMAL:n.colorTokens.foreground.neutral.primary.base,DARKER:null!==(t=n.colorTokens.foreground.neutral.primary.hover)&&void 0!==t?t:n.colorTokens.foreground.neutral.primary.base}[e]}},l=function(e){return function(n){return{color:o(e)(n)}}},c=function(e){var n=e.scale,t=e.children,o=e.tag,l=void 0===o?"h2":o,c=e.clamp,s=e.leadingTrim,u=e.color,d=void 0===u?"NORMAL":u,m=e.wordBreak,p=e.testId,f=(0,r.l)(),g=(0,a.Z)({name:"title",scale:n,clamp:c,leadingTrim:s,color:d}),h=m?{wordBreak:m}:void 0;return i.createElement(l,{className:f([g,h]),"data-testid":p},t)}},97529:(e,n,t)=>{t.d(n,{S:()=>c});var i=t(64467),a=t(80296),r=t(9459),o=t(20239),l=t(15578),c=function(e){var n=e.clamp,t=e.lineHeight;return function(){var e=(0,o.D)();return(0,i.A)({overflow:"hidden",maxHeight:(0,r.Fv)((function(e){var n=(0,a.A)(e,2),t=n[0],i=n[1];return"".concat(i*t,"px")}),n,t),textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:n,WebkitBoxOrient:"vertical",wordBreak:1===n?"break-all":void 0},(0,l.Ci)(e.breakpoints.lg-.02),{maxHeight:"none"})}}},921:(e,n,t)=>{t.d(n,{U:()=>r});var i=t(80296),a=t(9459),r=function(e){var n=e.fontConfig,t=e.scale;return function(){return{fontSize:(0,a.Fv)((function(e){var t=(0,i.A)(e,1)[0];return"".concat(n.fontSize[t],"px")}),t),lineHeight:(0,a.Fv)((function(e){var t=(0,i.A)(e,1)[0];return"".concat(n.lineHeight[t],"px")}),t)}}}},39:(e,n,t)=>{t.d(n,{Z:()=>v});var i=t(80296),a=t(6482),r=t(95107),o=t(36557),l=t(56942),c=t(33154),s=t(39607),u=t(27622),d=t(39410),m=t(97529),p=t(9459),f=t(921),g=t(20239),h=t(39160),v=function(e){var n=e.name,t=e.scale,v=e.clamp,k=e.leadingTrim,S=(0,g.D)(),b=(0,h.d4)((function(e){return e.debug.shouldHighlightDSType})),E=S.newFonts[n],y={fontFamily:E.family,fontWeight:E.weight},N=(0,f.U)({fontConfig:E,scale:t}),w=(0,p.Fv)((function(e){var n=(0,i.A)(e,1)[0];return E.lineHeight[n]}),t),P=v?(0,m.S)({clamp:v,lineHeight:w}):void 0,O=k?function(e){var n=e.fontConfig,t=e.scale,a=function(e,n){return(0,p.Fv)((function(n){var t=(0,i.A)(n,1)[0];return 0-Math.round((e.lineHeight[t]-e.fontSize[t])/2+e.fontSize[t]*e.topLeadingPct)}),n)}(n,t),r=function(e,n){return(0,p.Fv)((function(n){var t=(0,i.A)(n,1)[0];return 0-Math.round((e.lineHeight[t]-e.fontSize[t])/2+e.fontSize[t]*e.bottomLeadingPct)}),n)}(n,t);return[{":before":(0,p.Fv)((function(e){var n=(0,i.A)(e,1)[0];return{marginBottom:"".concat(n,"px")}}),a),":after":(0,p.Fv)((function(e){var n=(0,i.A)(e,1)[0];return{marginTop:"".concat(n,"px")}}),r)},{":before":{content:'""',display:"table",borderCollapse:"collapse"},":after":{content:'""',display:"table",borderCollapse:"collapse"}}]}({fontConfig:E,scale:t}):void 0,T=E.letterSpacing,C=T?{letterSpacing:(0,p.Fv)((function(e){var n=(0,i.A)(e,1)[0];return T[n]}),t)}:void 0,A=E.fontFeatureSettings,_=[y,N,P,O,C,A?{fontFeatureSettings:A}:void 0,b?{boxShadow:"inset 0 0 10px fuchsia",outline:"3px solid fuchsia"}:void 0];switch(e.name){case"body":_.push(a.Jz);break;case"detail":_.push((0,o.sQ)(e.color));break;case"heading":_.push((0,l.n6)(e.fontWeight,e.color));break;case"brand":_.push((0,r.GG)(e.color));break;case"overline":_.push((0,c.pB)(e.color));break;case"pullQuote":_.push(s.uC);break;case"subtitle":_.push((0,u.$m)(e.color));break;case"title":_.push((0,d.zU)(e.color))}return _}},24252:(e,n,t)=>{t.d(n,{D:()=>i,x:()=>a});var i=function(e,n){n.target===n.currentTarget&&e(n)},a=function(e,n){27===n.keyCode&&e(n)}},12378:(e,n,t)=>{t.d(n,{c:()=>r,z:()=>o});var i=t(36944),a=t.n(i),r=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"".concat(a()(e,n),"px")},o=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=(e.grid.columnWidth+e.grid.gutterWidth)*n-e.grid.gutterWidth;return t&&(i+=2*e.grid.gutterWidth),i}},9459:(e,n,t)=>{t.d(n,{DG:()=>v,Fv:()=>k,fc:()=>p,n_:()=>h});var i=t(45458),a=t(80296),r=t(63560),o=t.n(r),l=t(11331),c=t.n(l),s=t(56449),u=t.n(s),d=t(27049),m=t(18721),p=[d.i.xs,d.i.sm,d.i.md,d.i.lg,d.i.xl],f=function(e){return!!d.i[e]},g=function(e){return c()(e)},h=function(e){if(!g(e))return!1;var n=Object.keys(e);return n.length===p.length&&n.every(f)},v=function e(n,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return h(t)?Object.entries(t).reduce((function(e,t){var r=(0,a.A)(t,2),c=r[0],s=r[1];return o()(e,[m[c](n)].concat((0,i.A)(l)),s)}),r):Object.entries(t).reduce((function(t,r){var c=(0,a.A)(r,2),s=c[0],d=c[1];return!g(d)||u()(d)?o()(t,[].concat((0,i.A)(l),[s]),d):e(n,d,t,[].concat((0,i.A)(l),[s]))}),r)},k=function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),i=1;i<n;i++)t[i-1]=arguments[i];if(function(e){return e.every((function(e){return!h(e)}))}(t))return e(t);var a={};return p.forEach((function(n){var i=t.map((function(e){return h(e)?e[n]:e}));a[n]=e(i)})),a}},41070:(e,n,t)=>{t.d(n,{NJ:()=>l,ld:()=>o});var i=t(80296),a=t(96540),r=a.createContext(null),o=function(){var e=a.useState(!1),n=(0,i.A)(e,2),t=n[0],o=n[1],l=a.useContext(r);return a.useMemo((function(){return{reportOnce:function(e,n){!t&&l&&(l.report(e,n),o(!0))}}}),[t,l])},l=function(e,n){var t=a.useContext(r);e&&t&&t.report(e,n)}},72130:(e,n,t)=>{t.d(n,{x1:()=>C,$L:()=>A});var i=t(96540),a=function(e,n){var t;if(!e)throw void 0===n?t=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."):(t=new Error(n)).name="Invariant Violation",t.framesToPop=1,t},r=t(23029),o=t(92901),l=t(85501),c=t(56822),s=t(53954),u=t(46879),d=t(82284),m=t(64467),p=t(10467),f=t(60328),g=t.n(f),h=t(66973);function v(){v=function(){return n};var e,n={},t=Object.prototype,i=t.hasOwnProperty,a=Object.defineProperty||function(e,n,t){e[n]=t.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",l=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function s(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{s({},"")}catch(e){s=function(e,n,t){return e[n]=t}}function u(e,n,t,i){var r=n&&n.prototype instanceof S?n:S,o=Object.create(r.prototype),l=new R(i||[]);return a(o,"_invoke",{value:C(e,t,l)}),o}function m(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(e){return{type:"throw",arg:e}}}n.wrap=u;var p="suspendedStart",f="suspendedYield",g="executing",h="completed",k={};function S(){}function b(){}function E(){}var y={};s(y,o,(function(){return this}));var N=Object.getPrototypeOf,w=N&&N(N(F([])));w&&w!==t&&i.call(w,o)&&(y=w);var P=E.prototype=S.prototype=Object.create(y);function O(e){["next","throw","return"].forEach((function(n){s(e,n,(function(e){return this._invoke(n,e)}))}))}function T(e,n){function t(a,r,o,l){var c=m(e[a],e,r);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==(0,d.A)(u)&&i.call(u,"__await")?n.resolve(u.__await).then((function(e){t("next",e,o,l)}),(function(e){t("throw",e,o,l)})):n.resolve(u).then((function(e){s.value=e,o(s)}),(function(e){return t("throw",e,o,l)}))}l(c.arg)}var r;a(this,"_invoke",{value:function(e,i){function a(){return new n((function(n,a){t(e,i,n,a)}))}return r=r?r.then(a,a):a()}})}function C(n,t,i){var a=p;return function(r,o){if(a===g)throw new Error("Generator is already running");if(a===h){if("throw"===r)throw o;return{value:e,done:!0}}for(i.method=r,i.arg=o;;){var l=i.delegate;if(l){var c=A(l,i);if(c){if(c===k)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(a===p)throw a=h,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a=g;var s=m(n,t,i);if("normal"===s.type){if(a=i.done?h:f,s.arg===k)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(a=h,i.method="throw",i.arg=s.arg)}}}function A(n,t){var i=t.method,a=n.iterator[i];if(a===e)return t.delegate=null,"throw"===i&&n.iterator.return&&(t.method="return",t.arg=e,A(n,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),k;var r=m(a,n.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,k;var o=r.arg;return o?o.done?(t[n.resultName]=o.value,t.next=n.nextLoc,"return"!==t.method&&(t.method="next",t.arg=e),t.delegate=null,k):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,k)}function _(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function I(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function F(n){if(n||""===n){var t=n[o];if(t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var a=-1,r=function t(){for(;++a<n.length;)if(i.call(n,a))return t.value=n[a],t.done=!1,t;return t.value=e,t.done=!0,t};return r.next=r}}throw new TypeError((0,d.A)(n)+" is not iterable")}return b.prototype=E,a(P,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:b,configurable:!0}),b.displayName=s(E,c,"GeneratorFunction"),n.isGeneratorFunction=function(e){var n="function"==typeof e&&e.constructor;return!!n&&(n===b||"GeneratorFunction"===(n.displayName||n.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,s(e,c,"GeneratorFunction")),e.prototype=Object.create(P),e},n.awrap=function(e){return{__await:e}},O(T.prototype),s(T.prototype,l,(function(){return this})),n.AsyncIterator=T,n.async=function(e,t,i,a,r){void 0===r&&(r=Promise);var o=new T(u(e,t,i,a),r);return n.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},O(P),s(P,c,"Generator"),s(P,o,(function(){return this})),s(P,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var n=Object(e),t=[];for(var i in n)t.push(i);return t.reverse(),function e(){for(;t.length;){var i=t.pop();if(i in n)return e.value=i,e.done=!1,e}return e.done=!0,e}},n.values=F,R.prototype={constructor:R,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!n)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var t=this;function a(i,a){return l.type="throw",l.arg=n,t.next=i,a&&(t.method="next",t.arg=e),!!a}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],l=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,n){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var r=a;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=n&&n<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=n,r?(this.method="next",this.next=r.finallyLoc,k):this.complete(o)},complete:function(e,n){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&n&&(this.next=n),k},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),I(t),k}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var i=t.completion;if("throw"===i.type){var a=i.arg;I(t)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(n,t,i){return this.delegate={iterator:F(n),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=e),k}},n}var k=function(){try{if(!window.indexedDB)return!1}catch(e){return!1}return!0}(),S=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.dbName,a=void 0===i?"default":i,o=t.version,l=void 0===o?1:o,c=t.keyPath,s=t.cropIndexKeyPath,u=t.onImportData;(0,r.A)(this,e),this.dbPromise=void 0,this.dbName=void 0,this.version=void 0,this.keyPath=void 0,this.storeName=void 0,this.cropIndexKeyPath=void 0,this.fallbackStorage=void 0,this.fallbackStorage=new h.A(n),this.storeName=n,this.cropIndexKeyPath=s,this.keyPath=null!=c?c:"id",this.dbName=a,this.version=l,this.dbPromise=this.openDB(u)}var n,t,i;return(0,o.A)(e,[{key:"openDB",value:function(e){var n=this;if(k)return new Promise((function(t){try{var i=window.indexedDB.open(n.dbName,n.version);i.onsuccess=function(){i.result.onclose=function(){n.dbPromise=void 0},t(i.result)},i.onupgradeneeded=function(){var t=i.result;if(!t.objectStoreNames.contains(n.storeName)){var a=t.createObjectStore(n.storeName,{keyPath:n.keyPath});n.cropIndexKeyPath&&a.createIndex(n.cropIndexKeyPath,n.cropIndexKeyPath,{unique:!1})}null==e||e(n)},i.onerror=function(){t(void 0)}}catch(e){t(void 0)}}))}},{key:"set",value:function(e){var n=this;return this.transaction("readwrite",(function(n){return n.put(e)}),(function(){var t=e[n.keyPath];return n.fallbackStorage.set(t,e),t}))}},{key:"get",value:function(e){var n=this;return this.transaction("readonly",(function(n){return n.get(e)}),(function(){return n.fallbackStorage.get("".concat(e))}))}},{key:"getAll",value:function(e,n){var t=this;return this.transaction("readonly",(function(t){return t.getAll(e,n)}),(function(){return Object.values(t.fallbackStorage.getItems(n))}))}},{key:"remove",value:function(e){var n=this;return this.transaction("readwrite",(function(n){return n.delete(e)}),(function(){return n.fallbackStorage.remove("".concat(e))}))}},{key:"crop",value:(i=(0,p.A)(v().mark((function e(n){var t,i,a,r,o=this;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDB();case 2:if(!(t=e.sent)){e.next=9;break}return e.next=6,new Promise((function(e,i){try{var a=t.transaction(o.storeName,"readonly").objectStore(o.storeName).count();a.onsuccess=function(){var r=a.result;if(r<=n)e();else{var l=t.transaction(o.storeName,"readwrite").objectStore(o.storeName),c=o.cropIndexKeyPath?l.index(o.cropIndexKeyPath).openCursor():l.openCursor();c.onsuccess=function(){var t=c.result;!t||r<=n?e():(t.delete(),r--,t.continue())},c.onerror=function(){i(c.error)}}},a.onerror=function(){i(a.error)}}catch(n){e()}}));case 6:return e.abrupt("return",e.sent);case 9:if(i=this.fallbackStorage.getKeys(),!((a=i.length-n)<0)){e.next=13;break}return e.abrupt("return");case 13:for(r=0;r<a;r++)this.fallbackStorage.remove(i[r]);case 14:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"getDB",value:(t=(0,p.A)(v().mark((function e(){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.dbPromise||(this.dbPromise=this.openDB()),e.next=3,this.dbPromise;case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"transaction",value:(n=(0,p.A)(v().mark((function e(n,t,i){var a,r;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDB();case 2:if(!(a=e.sent)){e.next=13;break}return e.prev=4,r=a.transaction(this.storeName,n),e.next=8,this.wrapRequest(t(r.objectStore(this.storeName)));case 8:return e.abrupt("return",e.sent);case 11:e.prev=11,e.t0=e.catch(4);case 13:return e.abrupt("return",i());case 14:case"end":return e.stop()}}),e,this,[[4,11]])}))),function(e,t,i){return n.apply(this,arguments)})},{key:"wrapRequest",value:function(e){return new Promise((function(n,t){e.onsuccess=function(){n(e.result)},e.onerror=function(){t(e.error)}}))}}]),e}(),b=t(42600);function E(){E=function(){return n};var e,n={},t=Object.prototype,i=t.hasOwnProperty,a=Object.defineProperty||function(e,n,t){e[n]=t.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",l=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function s(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{s({},"")}catch(e){s=function(e,n,t){return e[n]=t}}function u(e,n,t,i){var r=n&&n.prototype instanceof k?n:k,o=Object.create(r.prototype),l=new R(i||[]);return a(o,"_invoke",{value:C(e,t,l)}),o}function m(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(e){return{type:"throw",arg:e}}}n.wrap=u;var p="suspendedStart",f="suspendedYield",g="executing",h="completed",v={};function k(){}function S(){}function b(){}var y={};s(y,o,(function(){return this}));var N=Object.getPrototypeOf,w=N&&N(N(F([])));w&&w!==t&&i.call(w,o)&&(y=w);var P=b.prototype=k.prototype=Object.create(y);function O(e){["next","throw","return"].forEach((function(n){s(e,n,(function(e){return this._invoke(n,e)}))}))}function T(e,n){function t(a,r,o,l){var c=m(e[a],e,r);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==(0,d.A)(u)&&i.call(u,"__await")?n.resolve(u.__await).then((function(e){t("next",e,o,l)}),(function(e){t("throw",e,o,l)})):n.resolve(u).then((function(e){s.value=e,o(s)}),(function(e){return t("throw",e,o,l)}))}l(c.arg)}var r;a(this,"_invoke",{value:function(e,i){function a(){return new n((function(n,a){t(e,i,n,a)}))}return r=r?r.then(a,a):a()}})}function C(n,t,i){var a=p;return function(r,o){if(a===g)throw new Error("Generator is already running");if(a===h){if("throw"===r)throw o;return{value:e,done:!0}}for(i.method=r,i.arg=o;;){var l=i.delegate;if(l){var c=A(l,i);if(c){if(c===v)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(a===p)throw a=h,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a=g;var s=m(n,t,i);if("normal"===s.type){if(a=i.done?h:f,s.arg===v)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(a=h,i.method="throw",i.arg=s.arg)}}}function A(n,t){var i=t.method,a=n.iterator[i];if(a===e)return t.delegate=null,"throw"===i&&n.iterator.return&&(t.method="return",t.arg=e,A(n,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var r=m(a,n.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,v;var o=r.arg;return o?o.done?(t[n.resultName]=o.value,t.next=n.nextLoc,"return"!==t.method&&(t.method="next",t.arg=e),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function _(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function I(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function F(n){if(n||""===n){var t=n[o];if(t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var a=-1,r=function t(){for(;++a<n.length;)if(i.call(n,a))return t.value=n[a],t.done=!1,t;return t.value=e,t.done=!0,t};return r.next=r}}throw new TypeError((0,d.A)(n)+" is not iterable")}return S.prototype=b,a(P,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:S,configurable:!0}),S.displayName=s(b,c,"GeneratorFunction"),n.isGeneratorFunction=function(e){var n="function"==typeof e&&e.constructor;return!!n&&(n===S||"GeneratorFunction"===(n.displayName||n.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,c,"GeneratorFunction")),e.prototype=Object.create(P),e},n.awrap=function(e){return{__await:e}},O(T.prototype),s(T.prototype,l,(function(){return this})),n.AsyncIterator=T,n.async=function(e,t,i,a,r){void 0===r&&(r=Promise);var o=new T(u(e,t,i,a),r);return n.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},O(P),s(P,c,"Generator"),s(P,o,(function(){return this})),s(P,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var n=Object(e),t=[];for(var i in n)t.push(i);return t.reverse(),function e(){for(;t.length;){var i=t.pop();if(i in n)return e.value=i,e.done=!1,e}return e.done=!0,e}},n.values=F,R.prototype={constructor:R,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!n)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var t=this;function a(i,a){return l.type="throw",l.arg=n,t.next=i,a&&(t.method="next",t.arg=e),!!a}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],l=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,n){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var r=a;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=n&&n<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=n,r?(this.method="next",this.next=r.finallyLoc,v):this.complete(o)},complete:function(e,n){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&n&&(this.next=n),v},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),I(t),v}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var i=t.completion;if("throw"===i.type){var a=i.arg;I(t)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(n,t,i){return this.delegate={iterator:F(n),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=e),v}},n}function y(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function N(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?y(Object(t),!0).forEach((function(n){(0,m.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var w=function(){function e(n){var t=this,i=n.authDomain,a=n.options;(0,r.A)(this,e),this.options=void 0,this.fetchPromise=void 0,this.db=void 0,this.sending=!1,this.url=void 0,this.options=a,this.db=new S(this.getPrefix(),{keyPath:"eventId",cropIndexKeyPath:"timestamp"}),this.url="".concat(i||"").concat(this.getPathname()),window.addEventListener("beforeunload",(function(){t.flush()}))}var n,t;return(0,o.A)(e,[{key:"send",value:(t=(0,p.A)(E().mark((function n(t){var i,a,r,o=this;return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=(null==t?void 0:t.overrideCommonData)&&0!==Object.keys(null==t?void 0:t.overrideCommonData).length,t.data=i?N(N(N({},t.data),this.getCommonData()),t.overrideCommonData):N(N({},t.data),this.getCommonData()),a=Date.now().toString(36)+Math.round(1e16*Math.random()).toString(36),n.next=5,this.db.crop(e.maxQueuedEvents-1);case 5:return r=N(N({},t),this.getCommonStorageData(a)),n.next=8,this.db.set(r);case 8:if(!this.sending){n.next=11;break}return n.next=11,this.fetchPromise;case 11:return this.fetchPromise||(this.fetchPromise=new Promise((function(n){setTimeout((function(){o.sendNow().then(n)}),e.sendRate)}))),n.abrupt("return",this.fetchPromise);case 13:case"end":return n.stop()}}),n,this)}))),function(e){return t.apply(this,arguments)})},{key:"flush",value:function(){return this.sendNow({beforeUnload:!0})}},{key:"sendNow",value:(n=(0,p.A)(E().mark((function e(){var n,t,i,a=this,r=arguments;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(r.length>0&&void 0!==r[0]?r[0]:{beforeUnload:!1}).beforeUnload,e.next=3,this.db.getAll();case 3:if(t=e.sent,i=t.map((function(e){return e.eventId})),t){e.next=7;break}return e.abrupt("return",Promise.resolve());case 7:return this.sending=!0,e.abrupt("return",g()(this.url,N({credentials:"same-origin",method:"POST",headers:{"x-xsrf-token":"1","content-type":"application/json"},body:JSON.stringify(t)},n?{mode:"same-origin",keepalive:!0}:{})).then((function(e){e.ok&&i.forEach((function(e){a.db.remove(e)})),delete a.fetchPromise,a.sending=!1})).catch());case 9:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})}]),e}();w.sendRate=5*b.G1,w.maxQueuedEvents=1e3;var P=function(e){(0,l.A)(a,e);var n,t,i=(n=a,t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=(0,s.A)(n);if(t){var a=(0,s.A)(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return(0,c.A)(this,e)});function a(){return(0,r.A)(this,a),i.apply(this,arguments)}return(0,o.A)(a,[{key:"event",value:function(e,n,t){return this.send({key:e,data:n,overrideCommonData:t,type:"e"})}},{key:"getPathname",value:function(){return(0,u.Go6)()}},{key:"getPrefix",value:function(){return"EventReporter"}},{key:"getCommonData",value:function(){var e,n,t,i,a=(null===(e=this.options.reduxStore)||void 0===e?void 0:e.getState()).navigation,r=a.referrer,o=a.queryString,l=new URLSearchParams(o);return{service:"lite",location:null===(n=window)||void 0===n||null===(t=n.location)||void 0===t?void 0:t.href,browserWidth:null===(i=window)||void 0===i?void 0:i.innerWidth,referrer:r&&encodeURI(r),referrerSource:l.get("source")||void 0}}},{key:"getCommonStorageData",value:function(e){return{timestamp:Date.now(),eventId:e}}}]),a}(w),O=i.createContext(null),T=function(e){var n=e.children,t=e.reporter;return i.createElement(O.Provider,{value:t},n)};function C(e){var n=e.children,t=e.reduxStore,a=(0,i.useMemo)((function(){return new P({options:{reduxStore:t}})}),[]);return i.createElement(T,{reporter:a},n)}function A(){var e=i.useContext(O);return function(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).valueName;a(!!e,"Expected ".concat(null!=n?n:"value"," not to be null"))}(e,{valueName:"reporter"}),e}},61538:(e,n,t)=>{t.d(n,{Kq:()=>E,a8:()=>b,$L:()=>y});var i=t(23029),a=t(92901),r=t(64467),o=t(60328),l=t.n(o),c=t(96540),s=t(45458),u=new Set(["ready","fcp","lcp","fid","inp","before_domain_lookup","domain_lookup","connect","request","response","load","processing","overall_fcp","client","render"]),d=new Set(["cls"]),m=new Set([].concat((0,s.A)(u),(0,s.A)(d))),p=t(47517),f=t(46879);function g(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function h(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?g(Object(t),!0).forEach((function(n){(0,r.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var v=c.createContext(null),k=new Set(["collection-about","collection-homepage","collection-tagged","homepage","list","post","profile","sequence-post","stats-post","tag","topic"]),S=["loggedIn","mobileOrTablet"],b=function(){function e(n){var t=n.host,a=n.version;(0,i.A)(this,e),this.baseURL=void 0,this.version=void 0,this.baseURL=t?"".concat(window.location.protocol,"//").concat(t):"",this.version=a}return(0,a.A)(e,[{key:"reportRender",value:function(e,n){for(var t,i=function(e){for(var n={},t=0,i=Object.keys(e);t<i.length;t++){var a=i[t],r=e[a];null!=r&&(n[a]=r.duration)}return n}(n),a=[],r=0,o=Object.keys(i);r<o.length;r++){var l=o[r];t=l,m.has(t)?a.push({type:l,data:h({duration:i[l]},e)}):p.v.warn("Event of type ".concat(l," is not supported by Clientele."))}this._sendClientele.apply(this,a)}},{key:"reportFirstInputDelay",value:function(e,n){this._sendClientele({type:"fid",data:h(h({},e),{},{duration:n.duration})})}},{key:"reportInteractionNextPaint",value:function(e,n){this._sendClientele({type:"inp",data:h(h({},e),{},{duration:n})})}},{key:"reportFirstContentfulPaint",value:function(e,n){this._sendClientele({type:"fcp",data:h(h({},e),{},{duration:n.duration})})}},{key:"reportLargestContentfulPaint",value:function(e,n){this._sendClientele({type:"lcp",data:h(h({},e),{},{duration:n.duration})})}},{key:"reportCumulativeLayoutShift",value:function(e,n){this._sendClientele({type:"cls",data:h(h({},e),{},{value:n})})}},{key:"reportClientNav",value:function(e,n){this._sendClientele({type:"nav",data:h(h({},e),{},{nav:n.duration})})}},{key:"reportUnsupportedPerfObserver",value:function(e){this._sendClientele({type:"unsupported",data:e})}},{key:"reportClientReady",value:function(e,n){var t;this._sendClientele({type:"ready",data:h(h({},e),{},{duration:null===(t=n.duration)||void 0===t?void 0:t.duration})})}},{key:"reportPagePreload",value:function(e){this._sendClientele({type:"page_preload",data:e})}},{key:"reportPagePreloadSuccess",value:function(e){this._sendClientele({type:"page_preload_success",data:e})}},{key:"_sendClientele",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];n.forEach((function(e){return e.data=function(e){var n=h({},e);"route"in e&&(n.route=k.has(e.route)?e.route:"other");for(var t=0,i=S;t<i.length;t++){var a=i[t];a in e&&(n[a]=e[a]?"yes":"no")}return n}(e.data)}));var i="".concat(this.baseURL).concat((0,f.l9p)());l()(i,{credentials:"same-origin",method:"POST",headers:{"Content-Type":"application/json","Medium-Clientele-Client":"lite"},body:JSON.stringify({client:{name:"lite",version:this.version},events:n})})}}]),e}(),E=function(e){return c.createElement(v.Provider,{value:e.reporter},e.children)},y=function(){return c.useContext(v)}},49287:(e,n,t)=>{t.d(n,{Fo:()=>h,Ne:()=>g,PJ:()=>p,W9:()=>k,Zj:()=>S,gX:()=>u,jI:()=>v,wv:()=>m});var i=t(64467),a=t(80296),r=t(52420),o=t.n(r),l=t(96540);function c(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?c(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var u={NONE:1,FEATURED_STORIES:20,FEATURED_WRITER:21,MOST_POPULAR_STORIES_IN_TOPIC:23,READ_NEXT_SIDEBAR:25,YOUR_TOPICS:27,RELATED_TAGS:28,TOP_WRITERS:29,RECOMMENDED_TOPICS:30,HOMEPAGE_FILTERED_TAG:31},d={name:1,userId:2,dimension:4,collectionId:5,postId:6,tagSlug:7,promoId:9,index:10,postFeedReason:11,catalogId:17,topicId:21,authorId:23,susiEntry:27,sectionType:28,feedId:31,rankPosition:33,notificationType:34,newsletterV3Id:37,rankedModuleType:38};function m(e){var n=[];return o()(d,(function(t,i){var a=e[i];null!=a&&(a=a.toString().replace(/-/g,"_")),n[t-1]=a})),n.join("-")}function p(e){var n=e.split("-");return Object.entries(d).reduce((function(e,t){var i=(0,a.A)(t,2),r=i[0],o=i[1],l=n[Number(o)-1];return l&&(e[r]=function(e,n){switch(n){case"index":case"sectionType":return Number(e);default:return e}}(l,r)),e}),{})}var f=l.createContext(null),g=function(e){var n=e.source,t=e.extendSource,i=void 0!==t&&t,a=e.children,r=h();return i&&r&&(n=s(s({},r),n)),l.createElement(f.Provider,{value:n},a)},h=function(){return l.useContext(f)},v=function(){var e=l.useContext(f);return e?m(e):""},k=function(){var e=l.useContext(f);return e&&e.name?e.name:""},S=function(){var e=l.useContext(f);return e&&e.susiEntry}},5968:(e,n,t)=>{t.d(n,{D:()=>r});var i=t(96540),a=t(26298),r=i.createContext(a.z)},11334:(e,n,t)=>{t.d(n,{N:()=>r});var i=t(96540),a=t(5968),r=function(e){var n=e.theme,t=e.children;return i.createElement(a.D.Provider,{value:n},t)}},26061:(e,n,t)=>{t.d(n,{A:()=>a});var i=t(44402);function a(e){return(0,e.children)((0,i.l)())}},37661:(e,n,t)=>{t.d(n,{w:()=>a});var i=t(98761);function a(e){var n=e.children,t=e.keyframes;return n((0,i.h)(t))}},44402:(e,n,t)=>{t.d(n,{l:()=>u});var i=t(61477),a=t(20239),r=t(45458),o=t(3176),l=t.n(o),c=t(51662),s=t(9459),u=function(){var e=(0,a.D)();return function(e,n){return function(t){var i=l()([t]).filter((function(e){return!!e})).map((function(e){return function(){return(0,s.DG)(n,"function"==typeof e?e(n):e)}})),a=c.A.apply(void 0,(0,r.A)(i));return e.renderRule(a,n)}}((0,i.J)(),e)}},98761:(e,n,t)=>{t.d(n,{h:()=>l});var i=t(73916),a=t.n(i),r=t(61477),o=t(20239);function l(e){var n=(0,o.D)(),t=(0,r.J)();return a()(e,(function(e){var i="function"==typeof e?e:function(){return e};return t.renderKeyframe(i,n)}))}},20239:(e,n,t)=>{t.d(n,{D:()=>r});var i=t(96540),a=t(5968),r=function(){return i.useContext(a.D)}},66305:(e,n,t)=>{t.d(n,{$U:()=>g,R5:()=>h,ZJ:()=>f});var i=t(23029),a=t(92901),r=t(7350),o=t.n(r),l=t(38221),c=t.n(l),s=t(50411),u=t.n(s),d=t(96720),m=100,p=function(){function e(){(0,i.A)(this,e)}return(0,a.A)(e,[{key:"on",value:function(){}},{key:"off",value:function(){}}]),e}(),f=function(){function e(n){var t=this;(0,i.A)(this,e),this._emitter=void 0,this._onScrollEnd=void 0,this._onScrollThrottled=void 0,this._onResizeThrottled=void 0,this._onResizeEnd=void 0,this._resizingTimeout=void 0,this._lastKnownPageYOffset=void 0,this.singularEventsFired={load:!1},this.ref=void 0,this.ref=n||window,this._emitter=new d.A,this._onScrollEnd=c()((function(){t._emitter.emit("scroll_end")}),m),this._onScrollThrottled=o()((function(){t._emitter.emit("scroll_throttled")}),m),this._onResizeThrottled=o()((function(){t._emitter.emit("resize_throttled")}),m),this._onResizeEnd=o()((function(){t._emitter.emit("resize_end")}),m),this._resizingTimeout=null,this.ref.addEventListener("load",this._onLoad.bind(this)),this.ref.addEventListener("scroll",this._onScroll.bind(this)),this.ref.addEventListener("resize",this._onResize.bind(this),{passive:!0})}return(0,a.A)(e,[{key:"on",value:function(e,n){this.singularEventsFired[e]?n():this._emitter.on(e,n)}},{key:"off",value:function(e,n){this._emitter.off(e,n)}},{key:"_onLoad",value:function(){var e=this;this.singularEventsFired.load||setTimeout((function(){e._emitter.emit("load"),e.singularEventsFired.load=!0}),500)}},{key:"_onScroll",value:function(){this._emitter.emit("scroll"),this._onScrollThrottled(),this._onScrollEnd();var e=this.ref instanceof Window?this.ref.pageYOffset:this.ref.scrollTop;"number"==typeof this._lastKnownPageYOffset&&(this._lastKnownPageYOffset>e?this._emitter.emit("scroll_up"):this._emitter.emit("scroll_down")),this._lastKnownPageYOffset=e}},{key:"_onResize",value:function(){var e=this;this._emitter.emit("resize"),this._onResizeThrottled(),this._resizingTimeout&&clearTimeout(this._resizingTimeout),this._resizingTimeout=setTimeout((function(){e._onResizeEnd(),e._resizingTimeout=null}),m)}}]),e}(),g=u().canUseDOM?function(e){return new f(e)}:function(){return new p},h=g()},12790:(e,n,t)=>{t.d(n,{c:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"EntityPresentationRankedModulePublishingTracker_entity"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RankedModulePublishingEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},31104:(e,n,t)=>{t.d(n,{B:()=>r});var i=t(45458),a=t(96540),r=function(e,n){var t=e.onIntersect,r=e.root,o=e.disconnect,l=e.target,c=e.threshold,s=e.rootMargin;a.useEffect((function(){if((!o||!o())&&null!=l&&l.current){var e={root:r?r.current:null,rootMargin:s,threshold:c},n=new IntersectionObserver((function(e){t(e[0])}),e);return n.observe(l.current),function(){n.disconnect()}}}),[].concat((0,i.A)(n),[r,c,s]))}},20698:(e,n,t)=>{t.d(n,{$:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostScrollTracker_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"sequence"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sequenceId"}}]}}]}}]}},79429:(e,n,t)=>{t.d(n,{s:()=>o});var i=t(80296),a=t(96540),r=t(31104),o=function(e){var n=e.onPresentedFn,t=e.intersectionThreshold,o=void 0===t?.25:t,l=a.useState(!1),c=(0,i.A)(l,2),s=c[0],u=c[1],d=a.useRef(null),m=a.useCallback((function(e){!s&&e.isIntersecting&&(u(!0),n(e))}),[n,s]);return(0,r.B)({onIntersect:m,target:d,disconnect:function(){return s},threshold:o},[s,m,d.current,o]),d}},6707:(e,n,t)=>{t.d(n,{P:()=>r});var i=t(80296),a=t(96540);function r(e){var n=a.useState(),t=(0,i.A)(n,2),r=t[0],o=t[1];return a.useEffect((function(){var n=new ResizeObserver((function(e){var n,t,i=null===(n=e[0])||void 0===n||null===(t=n.contentRect)||void 0===t?void 0:t.width;i&&o(i)})),t=document.querySelector(e);return t&&n.observe(t),function(){n.disconnect()}}),[e]),{width:r}}},67033:(e,n,t)=>{t.d(n,{b:()=>s});var i=t(64467),a=t(96540),r=t(72130),o=t(49287),l=t(79429);function c(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}var s=function(e){var n=e.children,t=e.eventData,s=e.tag,u=void 0===s?"div":s,d=(0,r.$L)(),m=(0,o.Zj)(),p=(0,l.s)({onPresentedFn:function(){return d.event("susi.viewed",function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?c(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({entryPoint:m},t))}});return a.createElement(u,{ref:p},n)}},73302:(e,n,t)=>{var i=t(82284),a=t(64467),r=t(80045),o=t(10467),l=t(96540),c=t(40961),s=t(5338),u=t(80545),d=t(53259),m=t.n(d),p=t(69733),f=t(87599),g=t(10517),h=t(45458),v=t(54239),k=t(47517),S=t(51260),b=t(59036),E=t(13051),y=t(46473),N=t(50684),w={group:E.AN.Control,tags:[],reason:"",error:void 0,loading:!1};function P(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function O(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?P(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):P(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var T=function(e){return"ShowHome"===(null==e?void 0:e.route.name)?O(O({},w),{},{group:E.AN.Enabled,tags:["group-edgeCacheHome"]}):w},C=t(80296),A=t(77969),_=t(19723),I=t(69547),R=t(46879),F={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PostCacheController"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"postResult"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isPublished"}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]}}]};function L(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function M(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?L(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):L(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var D=function(e){var n=(0,A._)(F,{fetchPolicy:"cache-only"}),t=(0,C.A)(n,2),i=t[0],a=t[1],r=a.called,o=a.data,l=(o=void 0===o?{postResult:null}:o).postResult,c=a.error,s=a.loading,u=(0,I.t)(l)?l:null,d=(0,_.iT)("can_view_suspended_content"),m=d.loading,p=d.error,f=d.value,g=e?(0,R.quc)(e):void 0;if(!g)return M({},w);if(r||i({variables:{id:g}}),!r||c||m||p)return M(M({},w),{},{error:(null==c?void 0:c.message)||(null==p?void 0:p.message),loading:s||m||!r});if(!u)return M({},w);var h=u.id,v=u.collection,k=u.creator,S=["group-edgeCachePosts","post-".concat(h)];return null!=k&&k.id&&S.push("user-".concat(k.id)),null!=v&&v.id&&S.push("collection-".concat(v.id)),u.isPublished?M(M({},w),{},f?{group:E.AN.Disabled,tags:S,reason:"This is a suspended post - user can view suspended content"}:{group:E.AN.Enabled,tags:S}):M(M({},w),{},{group:E.AN.Disabled,tags:S,reason:"This is a draft post"})},x={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TopicCacheController"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"topicSlug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tagFromSlug"},arguments:[{kind:"Argument",name:{kind:"Name",value:"tagSlug"},value:{kind:"Variable",name:{kind:"Name",value:"topicSlug"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]};function U(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function B(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?U(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):U(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var j=function(e){var n,t=(0,A._)(x,{fetchPolicy:"cache-only"}),i=(0,C.A)(t,2),a=i[0],r=i[1],o=r.called,l=r.data,c=r.error,s=r.loading,u=null!=l&&null!==(n=l.tagFromSlug)&&void 0!==n&&n.id?l.tagFromSlug:null,d=e?e.params.tagSlug:void 0;if(!d)return B({},w);if(o||a({variables:{topicSlug:d}}),!o||s||c)return B(B({},w),{},{error:null==c?void 0:c.message,loading:s||!o});if(!u)return B({},w);var m=u.id,p=["group-edgeCacheTags","tag-".concat(m)];return B(B({},w),{},{group:E.AN.Enabled,tags:p})},V=t(39181),H=t(74515),G=t(39160);function W(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function z(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?W(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):W(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Y(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function q(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Y(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Y(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function K(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}var Q=function(){var e=(0,p.wA)(),n=(0,v.zy)().pathname,t=(0,S.W5)(n),i=(0,N.Oj)(),a=(0,y.q0)(),r=(0,y.Qw)(),o=(0,y.E2)();(0,l.useEffect)((function(){return function(){o||e((0,b.vW)())}}),[o,e,i]);var c=function(e){var n,t,i,a,r,o,l,c,s,u,d,m,p,f,g=e.routeMatch;return[(n=(0,_.iT)("is_internal_ip"),t=n.value,i=n.loading,a=(0,_.iT)("is_medium_staff"),r=a.value,o=a.loading,l=(0,V.I)(H.R,{fetchPolicy:"no-cache"}),c=l.data,s=(c=void 0===c?{}:c).viewer,u=void 0===s?null:s,d=l.loading,m=(0,G.d4)((function(e){return e.cache.shouldUseCache})),p=(0,G.d4)((function(e){return e.client.viewerIsBot})),f="",m||(f="Edgy did not set shouldUseCache to true"),(0,G.ZA)((function(e){return e.session.isSpoofed}))&&(f="This request has a spoofed session"),t&&(f="This request came from an Internal IP"),r&&(f="This request came from a Medium Staff user"),(0,y.lL)()||(f="This request is not using the cache middleware worker"),p&&(f="This request came from a bot"),u&&(f="User is logged in"),z(z({},w),{},{loading:!!(i||o||d),reason:f,group:f?E.AN.Disabled:E.AN.Control})),T(g),D(g),j(g)]}({routeMatch:t});if(!r&&!a){var s,u=w,d=function(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return K(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?K(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){l=!0,r=e},f:function(){try{o||null==t.return||t.return()}finally{if(l)throw r}}}}(c);try{for(d.s();!(s=d.n()).done;){var m=s.value;if(m.loading)return;m.error?k.v.error({message:m.error,pathname:n},"useCacheController error"):u=q(q({},u),{},{tags:[].concat((0,h.A)(u.tags),(0,h.A)(m.tags)),reason:u.reason||m.reason,group:(0,E.tO)(u.group,m.group)})}}catch(e){d.e(e)}finally{d.f()}u.group===E.AN.Disabled&&e((0,b.vW)()),u.group===E.AN.Enabled&&e((0,b.kV)()),e((0,b.H8)(u.reason)),e((0,b.JE)(u.tags))}},X=t(32097),Z=t(55695),$=t(42126),J=function(){return null},ee=function(){var e=(0,G.d4)((function(e){return e.config.branchKey})),n=(0,G.d4)((function(e){return e.client.hydrated})),t=(0,G.Dy)((function(e){return e.navigation.branch})),i=t.blockedByCTA,a=t.hasRendered,r=t.show,o=(0,p.wA)(),c=(0,v.zy)();return l.useEffect((function(){r&&(0,X.tY)()}),[c]),l.useEffect((function(){r&&!i&&(0,X.v4)((function(){}))}),[i]),l.useEffect((function(){n&&!a&&o((0,$.E2)(!0))}),[n,a]),!(0,G.d4)((function(e){return e.client.viewerIsBot}))&&n&&a?l.createElement(Z.Q,{name:"dont_track_user",placeholder:J},(function(n){return l.createElement(u.mg,null,l.createElement("script",{type:"text/javascript"},function(e){var n=e.branchKey,t=String(e.dontTrackUser);return'\n(function(b,r,a,n,c,h,_,s,d,k){if(!b[n]||!b[n]._q){for(;s<_.length;)c(h,_[s++]);d=r.createElement(a);d.async=1;d.src="https://cdn.branch.io/branch-latest.min.js";k=r.getElementsByTagName(a)[0];k.parentNode.insertBefore(d,k);b[n]=h}})(window,document,"script","branch",function(b,r){b[r]=function(){b._q.push([r,arguments])}},{_q:[],_v:1},"addListener applyCode autoAppIndex banner closeBanner closeJourney creditHistory credits data deepview deepviewCta first getCode init link logout redeem referrals removeListener sendSMS setBranchViewData setIdentity track validateCode trackCommerceEvent logEvent".split(" "), 0);\nbranch.init(\''.concat(n,"', {metadata: {}, 'no_journeys': true, 'disable_exit_animation': true, 'disable_entry_animation': true, 'tracking_disabled': ").concat(t,"}, function(err, data) {});\n").trim()}({branchKey:e,dontTrackUser:n})))})):null},ne=t(31905),te=function(){return null},ie=m()({loader:function(){return t.e(8930).then(t.bind(t,7453))},modules:["src/components/devtool/Devtool"],webpack:function(){return[7453]},loading:function(){return null},render:(0,ne.X)("Devtool")}),ae=function(){return l.createElement(Z.Q,{name:"enable_devtool",placeholder:te},(function(e){return e?l.createElement(ie,null):null}))},re=t(78968),oe=function(){return l.createElement("script",null,"document.domain = document.domain;")},le=t(75636),ce=t(27721),se=function(){var e=(0,ce.R)().loading,n=(0,le.z)({name:"allow_iframe",placeholder:!0});return e||n?null:l.createElement("div",{dangerouslySetInnerHTML:{__html:'<script>if (window.self !== window.top) window.location = "about:blank"<\/script>'}})},ue=function(){var e=(0,G.d4)((function(e){return e.client.viewerIsBot})),n=(0,G.d4)((function(e){return e.client.hydrated})),t=(0,G.d4)((function(e){return e.config.recaptchaEnterpriseKeyId})),i=(0,G.d4)((function(e){return e.client.isNativeMedium})),a=(0,_.iT)("enable_recaptcha_enterprise"),r=a.value,o=a.loading;if(i||e||!n||o)return null;var c=r?"https://www.google.com/recaptcha/enterprise.js?render=".concat(t):"https://www.google.com/recaptcha/api.js";return l.createElement(u.mg,null,l.createElement("script",{src:c}))},de=t(19228),me=t(44402),pe=t(38667),fe=t(18721),ge=function(e){var n;return n={},(0,a.A)(n,pe.xl(e),{display:"none"}),(0,a.A)(n,pe.lg(e),{display:"none"}),(0,a.A)(n,pe.md(e),{display:"none"}),(0,a.A)(n,pe.sm(e),{display:"none"}),(0,a.A)(n,pe.xs(e),{display:"none"}),(0,a.A)(n,fe.xl(e),{display:"none"}),(0,a.A)(n,fe.lg(e),{display:"none"}),(0,a.A)(n,fe.md(e),{display:"none"}),(0,a.A)(n,fe.sm(e),{display:"none"}),(0,a.A)(n,fe.xs(e),{display:"none"}),n};function he(){var e=(0,me.l)();return l.createElement("div",{className:e(ge)})}var ve=t(20239),ke=t(56742),Se=t(42600),be=t(46963),Ee=t(79959),ye=t(53413),Ne=t(18565),we=t(72130),Pe=new Set,Oe=t(26365),Te=t(9942),Ce=t(85836),Ae=t(49287),_e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EmailAvailability"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"emailAvailability"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}}]}]}}]},Ie=t(43634),Re=t(38289),Fe=t(52290),Le=t(48198),Me=t(99731),De=t(56942),xe=t(36557),Ue=t(25548),Be=t(78693),je=function(e){var n=e.idToken,t=e.susiEntry,i=(0,p.wA)(),a=(0,G.d4)((function(e){return e.config.authDomain})),r=(0,G.d4)((function(e){return e.navigation.currentLocation})),o=(0,G.d4)((function(e){return e.client.routingEntity.type===ke.S9.DEFAULT})),c=(0,G.d4)((function(e){return e.config.productName})),s={state:["google-",(0,Ce.$q)(r,(0,Ae.wv)({susiEntry:t,name:"register"}),o?"google_one_tap":"google_one_tap_cd"),"register"].join("|"),accessToken:n},u=(0,R.fXi)(a),d=(0,Ee.ST)(u,s);return d="".concat(d,"#id_token=").concat(n),l.createElement(Fe.a,{border:"neutral.tertiary",backgroundColor:"BACKGROUND",borderRadius:"4px",height:"183px",padding:"12px 26px 12px 16px",position:"fixed",top:"34px",right:"22px",width:"378px",zIndex:Be.Ay.floating,sm:{top:"initial",bottom:"0px",right:"initial",left:"0px",width:"100%"}},l.createElement(Fe.a,{display:"flex",justifyContent:"space-between",marginRight:"-16px"},l.createElement(De.DZ,{scale:"S"},"Continue to ",c),l.createElement(Le.J,{isPositionAbsolute:!1,onClick:function(){return i((0,Ue.j)(!0))},size:"LARGE"})),l.createElement(Fe.a,{marginTop:"15px",display:"flex",alignItems:"center",justifyContent:"flex-start"},l.createElement(Fe.a,{marginRight:"12px"},l.createElement(Me.$n,{buttonStyle:"STRONG",href:d},"Sign up")),l.createElement(xe.kZ,{scale:"M"},"Already have an account?"," ",l.createElement(Fe.a,{display:"inline",marginLeft:"6px"},l.createElement(Ie.r,{linkStyle:"OBVIOUS",operation:"login",susiEntry:t},"Sign in")))),l.createElement(Fe.a,{marginTop:"16px"},l.createElement(Re.p,{ctaText:"Sign up"})))},Ve=function(e){var n=e.credential,t=e.susiEntry,i=(0,G.d4)((function(e){return e.navigation.currentLocation})),a=(0,G.d4)((function(e){return e.config.authDomain})),r=(0,V.I)(_e,{variables:{email:n.email}}),o=r.data,c=r.error;if(c)return l.createElement(Oe.z,{error:c});if(!o)return null;if(o.emailAvailability)return l.createElement(Ae.Ne,{source:{susiEntry:t}},l.createElement(je,{idToken:n.idToken,susiEntry:t}));var s={state:["google-",(0,Ce.$q)(i,(0,Ae.wv)({susiEntry:t,name:"login"}),t)].join("|"),accessToken:n.idToken},u=(0,R.fXi)(a),d=(0,Ee.ST)(u,s);return d="".concat(d,"|#id_token=").concat(n.idToken),l.createElement(Te.r,{to:d})},He=function(e){var n,t,i,a,r,o=e.susiEntry,c=(0,G.d4)((function(e){return e.config.authGoogleClientId})),s=(0,G.d4)((function(e){return e.client.hydrated})),u=(0,G.d4)((function(e){return e.navigation.hideGoogleOneTap})),d=(0,l.useState)(!1),m=(0,C.A)(d,2),p=m[0],f=m[1],g=(0,l.useState)(!1),h=(0,C.A)(g,2),v=h[0],k=h[1],S=(0,l.useState)(),b=(0,C.A)(S,2),E=b[0],y=b[1],N=(0,we.$L)();return(0,l.useEffect)((function(){p&&N.event("susi.viewed",{entryPoint:o,operation:"connect"})}),[p]),(0,l.useEffect)((function(){var e,n,t;u&&s&&null!==(e=window)&&void 0!==e&&null!==(n=e.google)&&void 0!==n&&null!==(t=n.accounts)&&void 0!==t&&t.id&&window.google.accounts.id.cancel()}),[u,s]),(0,l.useEffect)((function(){var e,n,t;!u&&v&&null!==(e=window)&&void 0!==e&&null!==(n=e.google)&&void 0!==n&&null!==(t=n.accounts)&&void 0!==t&&t.id&&(window.google.accounts.id.initialize({client_id:c,cancel_on_tap_outside:!1,callback:function(e){y({email:JSON.parse(atob(e.credential.split(".")[1])).email,idToken:e.credential}),Ne.C.set("susiEntry",o)}}),window.google.accounts.id.prompt((function(e){e.isSkippedMoment()?"user_cancel"===e.getSkippedReason()&&(0,re.b0)():e.isNotDisplayed()||f(!0)})))}),[u,v]),(0,l.useEffect)((function(){s&&(window.onGoogleLibraryLoad=function(){return k(!0)})}),[s]),n="https://accounts.google.com/gsi/client",t=l.useState({loaded:!1,error:!1}),a=(i=(0,C.A)(t,2))[0],r=i[1],l.useEffect((function(){if(!Pe.has(n)){Pe.add(n);var e=document.createElement("script");e.src=n,e.async=!0;var t=function(){r({loaded:!0,error:!1})},i=function(){Pe.has(n)&&Pe.delete(n),e.remove(),r({loaded:!0,error:!0})};return e.addEventListener("load",t),e.addEventListener("error",i),document.body.appendChild(e),function(){e.removeEventListener("load",t),e.removeEventListener("error",i)}}r({loaded:!0,error:!1})}),[n]),a.loaded,a.error,E&&!u?l.createElement(Ve,{credential:E,susiEntry:o}):null},Ge=new Set(["ShowHome","ShowPost","ShowPostUnderUser","ShowPostUnderCollection","ShowUser","ShowSequenceLibrary","ShowSequencePost","ShowCollectionHome"]);function We(e){return!!e&&Ge.has(e.route.name)}var ze=function(){var e=(0,ce.R)(),n=e.value,t=e.loading,i=(0,be.U)(),a="xs"===i||"sm"===i,r=!!n,o=(0,G.d4)((function(e){return e.config.authDomain})),c=(0,G.d4)((function(e){return e.navigation.currentLocation})),s=(0,G.d4)((function(e){return e.client.routingEntity.type===ke.S9.DEFAULT})),u=(0,G.d4)((function(e){return e.navigation.referrer})),d=(0,_._P)("enable_google_one_tap_on_subdomains"),m=(0,_._P)("enable_google_one_tap"),p=(0,l.useState)(!1),f=(0,C.A)(p,2),g=f[0],h=f[1],v=(0,ve.D)(),k=(0,S.IF)(),b=(0,Ee.mk)(c,o),E=s?"google_one_tap":"google_one_tap_cd";return(0,l.useEffect)((function(){var e;t||r||(e=(0,re.kG)())&&e>Date.now()-Se.ks||!(s||d&&b)||(0,ye.p2)(u)&&window.innerWidth<v.breakpoints.md||!(We(k(window.location.pathname))||d&&We(k(window.location.pathname)))||h(!0)}),[r,t]),!a&&g&&m?l.createElement(He,{susiEntry:E}):null},Ye=t(28263),qe=t(58168),Ke=t(95420),Qe=t(2550),Xe=t(46844),Ze={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"VerifyLoginCode"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"loginCode"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"verifyLoginCode"},arguments:[{kind:"Argument",name:{kind:"Name",value:"loginCode"},value:{kind:"Variable",name:{kind:"Name",value:"loginCode"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Token"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BadRequest"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NotFound"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"TooManyRequests"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RateLimited"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},$e=function(e){var n=e.operation,t=(0,we.$L)(),i=(0,Ae.Zj)(),a=(0,G.d4)((function(e){return e.config.authDomain})),r=l.useState(""),o=(0,C.A)(r,2),c=o[0],s=o[1],u=l.useState(""),d=(0,C.A)(u,2),m=d[0],p=d[1],f=(0,Qe.A)().viewerId,g=(0,Ke.n)(Ze,{variables:{loginCode:m},onCompleted:function(e){var r=e.verifyLoginCode;switch(t.event("susi.loginCode.submitted",{operation:n,entryPoint:i,loggedOutUserId:f}),null==r?void 0:r.__typename){case"Token":t.event("susi.loginCode.success",{operation:n,entryPoint:i,loggedOutUserId:f});var o=R.d4,l=(0,Ee.ST)(o(a),{token:r.value||"",state:"medium",operation:n});window.location.replace(l);break;case"TooManyRequests":t.event("susi.loginCode.exceededAttempts",{operation:n,entryPoint:i,loggedOutUserId:f}),s(r.message||"Too many attempts. Please try again later.");break;case"BadRequest":case"NotFound":case"RateLimited":s(r.message||"Invalid code.")}}}),h=(0,C.A)(g,1)[0];l.useEffect((function(){f&&t.event("susi.loginCode.viewed",{operation:n,entryPoint:i,loggedOutUserId:f})}),[f]);var v=l.useCallback((function(e){p(e.target.value)}),[p]),k=l.useCallback((function(){if(!function(e){return null!=e.match(/^[0-9]+$/)&&6===e.length}(m))return s("Login code must be 6 digits.");h()}),[m,h,s]);return l.createElement(Fe.a,{alignItems:"center",display:"flex",flexDirection:"column"},l.createElement(Fe.a,{marginTop:"12px",marginBottom:"28px"},l.createElement(Xe.A,{description:c,onChange:v,onSubmit:k,status:c?"ERROR":void 0,type:"number",value:m})),l.createElement(Fe.a,{marginTop:"12px",marginBottom:"15px"},l.createElement(Me.$n,{buttonStyle:"BRAND",onClick:k},"OK")))},Je=t(98426),en=t(86527),nn=t(42976),tn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SendAcctAuthEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"redirect"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fullName"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"captchaValue"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"operation"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"type"}},type:{kind:"NamedType",name:{kind:"Name",value:"AuthEmailFlowType"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sendAcctAuthEmail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"redirect"},value:{kind:"Variable",name:{kind:"Name",value:"redirect"}}},{kind:"Argument",name:{kind:"Name",value:"fullName"},value:{kind:"Variable",name:{kind:"Name",value:"fullName"}}},{kind:"Argument",name:{kind:"Name",value:"captchaValue"},value:{kind:"Variable",name:{kind:"Name",value:"captchaValue"}}},{kind:"Argument",name:{kind:"Name",value:"operation"},value:{kind:"Variable",name:{kind:"Name",value:"operation"}}},{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"Variable",name:{kind:"Name",value:"type"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SusiMethod"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BadRequest"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FailedChallenge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NotFound"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},an=function(e){var n=e.hide,t=e.email,i=e.isEmbedded,a=e.redirectTo,r=e.operation,o=(0,ve.D)(),c=(0,we.$L)(),s=(0,Ae.Zj)(),u=window.innerWidth<o.breakpoints.md,d=l.useState(u?"code":"link"),m=(0,C.A)(d,2),p=m[0],f=m[1],g=(0,S.om)(),h=(0,Qe.A)().viewerId,v=i?{href:a||g("ShowHome",{})}:{},k=t?" to ".concat(t):"",b="".concat("login"===r?"sign in":"complete your account set-up");l.useEffect((function(){"link"===p&&h&&c.event("susi.magicLinkSent.viewed",{operation:r,entryPoint:s,loggedOutUserId:h})}),[p,h,r,s]);var E=l.useMemo((function(){return"login"===r&&!i}),[i,r]),y=l.useMemo((function(){var e="";switch(p){case"code":e="Enter the code we sent".concat(k," to ").concat(b,".");break;case"link":e="Click the link we sent".concat(k," to ").concat(b,".")}return{title:"Check your inbox.",subheader:e}}),[k,p,b]),N=l.useMemo((function(){return{email:t,redirect:null!=a?a:null,operation:r,captchaValue:null,fullName:null,resetPasswordFlow:null,type:nn.h8.LOGIN_CODE}}),[t]),w=(0,Ke.n)(tn,{}),P=(0,C.A)(w,1)[0],O=l.useCallback((function(){f("code"),P({variables:N})}),[f,N]);return l.createElement(Je.u,(0,qe.A)({bottomImageId:"1*Xtzi4EuWq2-KKmKqWEbAgw.png",isSubHeaderResponsive:!1},y),"code"===p?l.createElement($e,{operation:r}):l.createElement(l.Fragment,null,l.createElement(Fe.a,{marginBottom:"28px",marginTop:"12px"},l.createElement(Me.$n,(0,qe.A)({buttonStyle:"BRAND"},v,{onClick:n}),"OK")),E&&l.createElement(Fe.a,{marginBottom:"32px"},l.createElement(xe.kZ,{scale:"S"},"Cant use a magic link for some reason? We can"," ",l.createElement(en.N,{onClick:O,linkStyle:"OBVIOUS",inline:!0,target:"_blank"},"send you a code instead"),"."))))},rn=t(65802),on=t(88909),ln=t(91830),cn=t(37317);function sn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function un(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?sn(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):sn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var dn=/@gm/,mn=/@goo/,pn=function(e){var n=e.actionUrl,t=e.children,i=e.email,a=e.operation,r=e.redirectTo,o=e.setEmail,c=e.setStep,s=(0,p.wA)(),u=(0,ve.D)(),d=(0,we.$L)(),m=(0,Ae.jI)(),f=(0,Ae.Zj)(),g=(0,G.d4)((function(e){return e.config.authDomain})),h=(0,G.d4)((function(e){return e.navigation.currentLocation})),v=(0,l.useState)(""),k=(0,C.A)(v,2),b=k[0],E=k[1],y=(0,l.useState)(!1),N=(0,C.A)(y,2),w=N[0],P=N[1],O=(0,l.useState)(!1),T=(0,C.A)(O,2),A=T[0],_=T[1],I=(0,l.useState)(!1),F=(0,C.A)(I,2),L=F[0],M=F[1],D=(0,S.au)(),x=(0,Ye.C)().setOperation,U=(0,Qe.A)().viewerId,B=window.innerWidth<u.breakpoints.md;l.useEffect((function(){U&&d.event("susi.emailForm.viewed",{operation:a,entryPoint:f,loggedOutUserId:U})}),[U,a,f]);var j,V=function(e){P(arguments.length>1&&void 0!==arguments[1]&&arguments[1]),E(e),M(!1)},H=l.useCallback((function(e){d.event("susi.error",{operation:a,entryPoint:f,susiMethod:"medium",errorMessage:e,loggedOutUserId:U})}),[U,a,f]),W=function(){return V("Please try again.")},z=(0,Ke.n)(tn,{onCompleted:function(e){var n,t,r,l;switch(null===(n=e.sendAcctAuthEmail)||void 0===n?void 0:n.__typename){case"SusiMethod":"login"!==(l=null!==(t=e.sendAcctAuthEmail.value)&&void 0!==t?t:"")&&"register"!==l||x(l),d.event("site.loginLinkSent",{}),X(),o(i),c("CHECK_YOUR_INBOX"),s((0,ln.PU)(i));break;case"FailedChallenge":case"BadRequest":case"NotFound":l=null!==(r=e.sendAcctAuthEmail.message)&&void 0!==r?r:"",d.event("susi.blocked",{operation:a,entryPoint:f,susiMethod:"medium",errorMessage:l}),H(l),"FailedChallenge"===e.sendAcctAuthEmail.__typename?(d.event("site.loginByEmailCaptchaFailure",{}),Z(),V(l="reCAPTCHA verification failed.",!0)):"NotFound"===e.sendAcctAuthEmail.__typename?(o(""),M(!1),c("UNRECOGNIZED_EMAIL")):V(l);break;default:H(),W()}},onError:function(e){H(e.message),W()}}),Y=(0,C.A)(z,1)[0];if(r&&r.includes("redirectUrl")&&r.includes("token"))j=r;else{var q=r||((0,R.cR0)(g)===h?D("ShowHome",{}):h);j=(0,Ce.$q)(q,m,f,n)}var K={email:i,operation:a,redirect:j,type:B?nn.h8.LOGIN_CODE:nn.h8.DEFAULT_MAGIC_LINK,fullName:null,captchaValue:null},Q=function(){if(!(0,cn.x)(i))return V("Please enter a valid email address.");d.event("susi.emailForm.submitted",{operation:a,entryPoint:f,loggedOutUserId:U}),"login"===a?Y({variables:K}):M(!0)},X=l.useCallback((function(){d.event("susi.recaptcha.success",{entryPoint:f,loggedOutUserId:U})}),[d,f,U]),Z=l.useCallback((function(){d.event("susi.recaptcha.failure",{entryPoint:f,loggedOutUserId:U})}),[d,f,U]),$=l.useCallback((function(){d.event("susi.recaptcha.helpClicked",{entryPoint:f,loggedOutUserId:U})}),[d,f,U]),J=w?l.createElement(l.Fragment,null,b," ",l.createElement(en.N,{href:(0,R._bE)(),linkStyle:"OBVIOUS",target:"_blank",inline:!0,onClick:$},"Need help?")):b;return l.createElement(Fe.a,{alignItems:"center",display:"flex",flexDirection:"column"},"login"!==a&&l.createElement(rn.n,{callback:function(e){return Y({variables:un(un({},K),{},{captchaValue:e})})},shouldExecuteRecaptcha:L,action:"signup",susiEntry:f,viewerId:U}),l.createElement(Fe.a,{marginTop:"12px",marginBottom:"28px"},l.createElement(Xe.A,{description:J,label:"Your email",onChange:function(e){o(e.target.value.trim()),_(dn.test(e.target.value)||mn.test(e.target.value))},onSubmit:Q,status:b?"ERROR":void 0,type:"email",value:i,width:"270px"})),l.createElement(Fe.a,{marginTop:"12px",marginBottom:"15px"},l.createElement(Me.$n,{width:"226px",buttonStyle:"BRAND",onClick:Q,size:"REGULAR"},"Continue")),A&&l.createElement(on.s,{operation:a,actionUrl:n||"",redirectTo:j}),t)},fn=t(27412),gn={height:"25px",width:"25px",marginBottom:"2px"},hn=function(e){var n=e.actionUrl,t=e.email,i=e.goToSignInOptions,a=e.goToSignUpOptions,r=e.operation,o=e.redirectTo,c=e.setEmail,s=e.setStep,u=(0,me.l)(),d=(0,Ye.C)().susiModalConfig.susiEntry,m=(0,le.z)({name:"enable_recaptcha_enterprise",placeholder:!1}),p={title:"Sign ".concat("login"===r?"in":"up"," with email"),subheader:"login"===r?"Enter the email address associated with your account, and well send a magic link to your inbox.":"discount_plans"===d?l.createElement(l.Fragment,null,"Enter your personal email address to create an account. ",l.createElement("br",null)," This is your primary access to Medium, so dont use a school or work email."):"Enter your email address to create an account.",showRecaptchaDisclaimer:"register"===r&&!0===m};"email_login_timeout"===d&&(p={title:"Your sign ".concat("login"===r?"in":"up"," link has expired"),subheader:"Enter your email address, and well send a new link to your inbox.",showRecaptchaDisclaimer:!1});var f="All sign ".concat("login"===r?"in":"up"," options");return l.createElement(Je.u,p,l.createElement(pn,{actionUrl:n,email:t,operation:r,setEmail:c,redirectTo:o,setStep:s},l.createElement(Fe.a,{marginBottom:"28px",marginTop:"12px",paddingRight:"21px"},l.createElement(xe.kZ,{scale:"M"},l.createElement(en.N,{linkStyle:"OBVIOUS",onClick:"login"===r?i:a},l.createElement(fn.A,{className:u(gn)}),f)))))},vn=t(79),kn=t(4765),Sn=t(71336),bn=t(93967);function En(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}var yn="login",Nn=function(e){var n=e.actionUrl,t=e.collection,i=e.collectionSlug,r=e.goToEmailAuthStep,o=e.postId,c=e.redirectTo,s=e.toggleOperation,u=e.token,d=e.topic,m=e.user,p=e.newsletterV3,f=(0,we.$L)(),g=(0,Ae.Zj)(),h=(0,G.d4)((function(e){return e.config.productName})),v={actionUrl:n||"",operation:yn,redirectTo:c,token:u||""},k=(0,Qe.A)().viewerId,S={collection:t,collectionSlug:i,productName:h,topic:d,user:m,newsletterV3:p},b=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?En(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):En(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({ctaText:"Sign in",isSubHeaderResponsive:!1,title:"Welcome back."},(0,Ce.kV)(g,S));l.useEffect((function(){k&&f.event("susi.modalViewed",{postId:o,entryPoint:g,operation:"login",loggedOutUserId:k})}),[k]);var E=l.useCallback((function(){f.event("susi.signInHelpCenter.clicked",{})}),[f]);return l.createElement(l.Fragment,null,l.createElement(Je.u,b,l.createElement(on.s,v),l.createElement(Fe.a,{marginTop:"12px",marginBottom:"12px"},l.createElement(Sn.N,v)),l.createElement(Fe.a,{marginTop:"12px",marginBottom:"12px"},l.createElement(vn.B,v)),l.createElement(Fe.a,{marginTop:"12px",marginBottom:"12px"},l.createElement(bn.q,v)),l.createElement(Fe.a,{marginBottom:"40px"},l.createElement(kn.P,{goToEmailAuthStep:r,operation:yn})),l.createElement(Fe.a,{marginBottom:"64px"},l.createElement(xe.kZ,{color:"DARKER",scale:"L"},"No account?"," ",l.createElement(en.N,{onClick:s,linkStyle:"OBVIOUS"},l.createElement("b",null,"Create one")))),l.createElement(Fe.a,{marginBottom:"32px"},l.createElement(xe.kZ,{scale:"S"},"Forgot email or trouble signing in?"," ",l.createElement(en.N,{href:R.hbf,onClick:E,linkStyle:"OBVIOUS",inline:!0,target:"_blank"},"Get help"),"."))))};function wn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}var Pn="register",On=function(e){var n=e.actionUrl,t=e.collection,i=e.collectionSlug,r=e.goToEmailAuthStep,o=e.postId,c=e.redirectTo,s=e.toggleOperation,u=e.token,d=e.topic,m=e.user,p=e.newsletterV3,f=(0,we.$L)(),g=(0,Ae.Zj)(),h=(0,G.d4)((function(e){return e.config.productName})),v=(0,le.z)({name:"disable_signup_facebook",placeholder:!1}),k=(0,Qe.A)().viewerId,S={actionUrl:n||"",operation:Pn,redirectTo:c,token:u||""},b={collection:t,productName:h,collectionSlug:i,topic:d,user:m,newsletterV3:p},E=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?wn(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({ctaText:"Sign up",isSubHeaderResponsive:!1},(0,Ce.cg)(g,b,!0));return l.useEffect((function(){k&&f.event("susi.modalViewed",{postId:o,entryPoint:g,operation:"register",loggedOutUserId:k})}),[k]),l.useEffect((function(){f.event("experiment.eligible",{experimentId:"7d671dd8817b"})})),l.createElement(l.Fragment,null,l.createElement(Je.u,E,l.createElement(on.s,S),!v&&l.createElement(Fe.a,{marginTop:"12px"},l.createElement(Sn.N,S)),l.createElement(rn.n,{callback:function(){return null},shouldExecuteRecaptcha:!0,action:"signup_modal_open",susiEntry:g,viewerId:k}),l.createElement(Fe.a,{marginTop:"12px"},l.createElement(kn.P,{goToEmailAuthStep:r,operation:Pn})),l.createElement(Fe.a,{marginTop:"40px",marginBottom:"100px"},l.createElement(xe.kZ,{color:"DARKER",scale:"L"},"Already have an account?"," ",l.createElement(en.N,{onClick:s,linkStyle:"OBVIOUS"},l.createElement("b",null,"Sign in"))))))},Tn=function(e){var n=e.actionUrl,t=e.operation,i=e.setEmail,a=e.setStep,r=e.goToSignUpWithEmail,o=e.email,c=e.redirect,s={title:"Sorry, we didn't recognize that email.",subheader:"Would you like to sign in with a different email?"};return l.createElement(Je.u,s,l.createElement(pn,{actionUrl:n,operation:t,setEmail:i,setStep:a,email:o,redirectTo:c},l.createElement(Fe.a,{marginTop:"12px",marginBottom:"28px",paddingRight:"21px"},l.createElement(xe.kZ,{scale:"M"},l.createElement(en.N,{linkStyle:"OBVIOUS",onClick:function(){return a("SIGNIN_OPTIONS")}},"See all sign in options")," or ",l.createElement(en.N,{linkStyle:"OBVIOUS",onClick:r},"create a new account")))))},Cn=t(3005),An=t(51999),_n=t(79637);function In(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Rn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?In(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):In(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Fn=function(e){var n=e.hide,t=(0,p.wA)(),i=(0,Ae.Zj)(),a=(0,G.d4)((function(e){return e.navigation.currentLocation})),r=(0,G.d4)((function(e){return e.config.authDomain})),o=l.useState(""),c=(0,C.A)(o,2),s=c[0],u=c[1],d=(0,Ye.C)(),m=d.goToSignInOptions,f=d.goToSignUpOptions,g=d.resetModal,h=d.setStep,v=d.setToken,k=d.susiModalConfig,S=k.actionUrl,b=k.collection,E=k.collectionSlug,y=k.isEmbedded,N=k.operation,w=k.post,P=k.redirectTo,O=k.step,T=k.topic,A=k.token,_=k.user,I=k.newsletterV3,R=d.toggleOperation,F=d.updateModal,L=function(){y||(n(),u(""),g())},M=null==a.match("http[s]?://[^/]*".concat(r));return(0,V.I)(An.fS,{fetchPolicy:"no-cache",skip:!S||!O||M,onCompleted:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{accountToken:null}).accountToken;return e&&v(e)}}),l.useEffect((function(){i&&t((0,Ue.j)(!0))}),[i]),l.createElement(Cn.l,{isVisible:!!O,hide:L,withAnimation:!0,withCloseButton:!1,padding:0},l.createElement(_n.N,null,function(){switch(O){case"ENTER_EMAIL":return l.createElement(hn,{actionUrl:S,email:s,goToSignInOptions:m,goToSignUpOptions:f,redirectTo:P,setEmail:u,setStep:h,operation:N});case"UNRECOGNIZED_EMAIL":return l.createElement(Tn,{actionUrl:S,email:s,setEmail:u,goToSignUpWithEmail:function(){F({operation:"register",step:"ENTER_EMAIL"})},setStep:h,operation:N,redirect:P});case"CHECK_YOUR_INBOX":return l.createElement(an,{email:s,hide:L,redirectTo:P,isEmbedded:!!y,operation:N});default:var e="login"===N?Nn:On,n=Rn(Rn(Rn(Rn(Rn(Rn(Rn(Rn(Rn(Rn({},S&&{actionUrl:S}),b&&{collection:b}),w&&{postId:w.id}),T&&{topic:T}),A&&{token:A}),P&&{redirectTo:P}),_&&{user:_}),I&&{newsletterV3:I}),E&&{collectionSlug:E}),{},{toggleOperation:R,goToEmailAuthStep:function(){return h("ENTER_EMAIL")}});return l.createElement(e,n)}}(),!y&&l.createElement(Le.J,{onClick:L,size:"LARGE"})))},Ln=t(85864),Mn=function(){var e=(0,Ye.C)(),n=e.resetModal,t=e.susiModalConfig,i=t.step,a=t.susiEntry,r=t.operation,o=t.post;return l.createElement(Ln.B,{initialVisibility:!!i},(function(e){var t=e.hide;return l.createElement(Ae.Ne,{source:{postId:null==o?void 0:o.id,susiEntry:a,name:r},extendSource:!0},l.createElement(Fn,{hide:function(){t(),n()}}))}))},Dn=t(46146),xn=function(){var e=(0,p.wA)(),n=(0,l.useState)(0),t=(0,C.A)(n,2),i=t[0],a=t[1],r=(0,G.d4)((function(e){return e.navigation.currentLocation})),o=(0,G.Dy)((function(e){return e.navigation.enqueuedToast})),c=(0,l.useState)(null),s=(0,C.A)(c,2),u=s[0],d=s[1];if((0,l.useEffect)((function(){o&&(e((0,ln.he)()),d(o),a((function(e){return e+1})))}),[o,e]),(0,l.useEffect)((function(){"NEXTPAGE"===(null==u?void 0:u.duration)&&d(null)}),[r]),!u)return null;var m="FOREVER"===u.duration||"NEXTPAGE"===u.duration?void 0:u.duration,f=u&&u.extraParams&&"testId"in u.extraParams?u.extraParams.testId:null;return l.createElement(Ln.B,{key:i,initialVisibility:!0},(function(e){var n=e.isVisible,t=e.hide;return l.createElement(Dn.y,{isVisible:n,hide:t,toastStyle:u.toastStyle,duration:m,extraParams:u.extraParams},l.createElement(xe.kZ,{scale:"M",color:"DARKER",tag:"span",testId:f?"".concat(f,"Text"):void 0},u.message))}))},Un=t(81799),Bn=function(e){var n=e.loggedIn,t=(0,p.wA)(),i=(0,l.useState)(!1),a=(0,C.A)(i,2),r=a[0],o=a[1],c=(0,Un.Eq)(),s=c.isEu,u=c.hasAcceptedPrivacyBanner,d=s&&!u&&!n;return(0,l.useEffect)((function(){d&&!r&&(o(!0),t((0,ln.MZ)({duration:"FOREVER",toastStyle:"EU_PRIVACY_BANNER"})))}),[d,r,ln.MZ]),null},jn=(0,p.Ng)()((function(e){var n=e.emailObfuscated,t=e.dispatch,i=e.isLoggedin&&!n;return l.useEffect((function(){i&&t((0,ln.MZ)({duration:"FOREVER",toastStyle:"VERIFY_EMAIL"}))}),[i,ln.MZ]),null}));function Vn(e){var n=e.isSuspended,t=(0,p.wA)();return l.useEffect((function(){n&&t((0,ln.MZ)({duration:"FOREVER",toastStyle:"USER_SUSPENDED"}))}),[n]),null}var Hn=function(){var e,n=(0,ce.R)().value,t=!!n;return l.createElement(l.Fragment,null,l.createElement(Bn,{loggedIn:t}),l.createElement(jn,{emailObfuscated:n&&n.emailObfuscated,isLoggedin:t}),l.createElement(Vn,{isSuspended:null!==(e=null==n?void 0:n.isSuspended)&&void 0!==e&&e}))},Gn=t(26061),Wn=t(61538),zn=t(10131),Yn=t(61333),qn=t(90383),Kn="10fd5c419ac61637245384e7099e131627900034828f4f386bdaa47a74eae156";function Qn(e,n){return(0,qn.rP)({miroId:e,width:n,height:n,strategy:qn.qY.Crop,freezeGifs:!1})}var Xn=function(e){var n=e.productName,t=(0,y.HG)();return l.createElement(l.Fragment,null,l.createElement(u.mg,{htmlAttributes:{lang:"en"}},l.createElement("meta",{charSet:"utf-8"}),l.createElement("meta",{name:"viewport",content:"width=device-width,minimum-scale=1,initial-scale=1,maximum-scale=1"}),l.createElement("title",null,n),l.createElement("meta",{name:"theme-color",content:"#000000"}),l.createElement("meta",{name:"twitter:app:name:iphone",content:"Medium"}),l.createElement("meta",{name:"twitter:app:id:iphone",content:"828256236"}),l.createElement("meta",{property:"al:ios:app_name",content:"Medium"}),l.createElement("meta",{property:"al:ios:app_store_id",content:"828256236"}),l.createElement("meta",{property:"al:android:package",content:"com.medium.reader"}),l.createElement("meta",{property:"al:android:app_name",content:"Medium"}),l.createElement("meta",{property:"fb:app_id",content:"542599432471018"}),l.createElement("meta",{property:"og:site_name",content:"Medium"}),l.createElement("link",{rel:"search",type:"application/opensearchdescription+xml",title:"Medium",href:"/osd.xml"}),'\x3c!--[if lt IE 9]><script charset="UTF-8" src="https://cdn-static-1.medium.com/_/fp/js/shiv.RI2ePTZ5gFmMgLzG5bEVAA.js"><\/script><![endif]--\x3e',l.createElement("link",{rel:"apple-touch-icon",sizes:"152x152",href:Qn(Kn,152)}),l.createElement("link",{rel:"apple-touch-icon",sizes:"120x120",href:Qn(Kn,120)}),l.createElement("link",{rel:"apple-touch-icon",sizes:"76x76",href:Qn(Kn,76)}),l.createElement("link",{rel:"apple-touch-icon",sizes:"60x60",href:Qn(Kn,60)}),l.createElement("link",{rel:"mask-icon",href:Qn("7*GAOKVe--MXbEJmV9230oOQ.png",500),color:"#171717"}),t&&l.createElement("link",{rel:"preconnect",href:"https://glyph.medium.com",crossOrigin:""})))},Zn=t(92171),$n=function(e){var n=e.glyphUrl,t=(0,Zn.w)({fontFamilyPath:"",glyphFontSet:"unbound",glyphUrl:n});return l.createElement(u.mg,null,l.createElement("link",{id:"glyph_preload_link",rel:"preload",as:"style",type:"text/css",href:t}),l.createElement("link",{id:"glyph_link",rel:"stylesheet",type:"text/css",href:t}))},Jn="CLIENT_HYDRATED",et=t(80890),nt=t(32166),tt=t(11134),it=m()({loader:function(){return t.e(2951).then(t.bind(t,88414))},modules:["src/routes/NavigationTimingReporter"],webpack:function(){return[88414]},loading:function(){return null},render:function(e,n){var t=e.NavigationTimingReporter;return l.createElement(t,n)}});function at(e){var n,t,i,a,r,o,c,s,u,d,m,p,f=e.to,g=e.from;return n=(0,G.d4)((function(e){return e.navigation.currentLocation})),t=(0,G.d4)((function(e){return e.navigation.referrer})),i=(0,we.$L)(),a=(0,N.MW)(),r=new URL(n).pathname,o=(0,S.IF)(),c=(0,l.useContext)(tt.F).isPreloaded,s=(0,Wn.$L)(),u=(0,ce.R)(),d=u.loading,m=u.error,p=!!u.value,(0,l.useEffect)((function(){i.event("client.navigate",{metadata:{},newPath:n||"",oldPath:t||"",source:a||""});var e=o(r);null!=e&&e.route.mediumAppPage&&s&&(d||m||c(e.route.mediumAppPage,e.params)&&(null==s||s.reportPagePreloadSuccess({page:e.route.mediumAppPage,loggedIn:p,mobileOrTablet:(0,Yn.Gz)(navigator.userAgent)})))}),[n]),l.createElement(it,{to:f,from:g})}var rt=t(2404),ot=t.n(rt),lt=t(40728);function ct(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}var st=new Set(["_branch_view_id","q","p","feed","tag","coupon"]);function ut(e){var n=e.children,t=e.name,i=e.statusCode,r=void 0===i?200:i,o=(0,p.wA)(),c=(0,v.zy)(),s="undefined"!=typeof document?document.referrer:"",u=function(e){o((0,ln.n_)(e)),e.hash&&o((0,ln._q)(e.hash)),e.search&&o((0,ln.Vw)(e.search))};return(0,l.useEffect)((function(){u(c)}),[null==c?void 0:c.pathname]),(0,l.useEffect)((function(){s&&o((0,ln.r3)(new URL(s).href))}),[s]),l.createElement(v.qh,{location:c,render:function(e){var i;if(c){if(i=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ct(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ct(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({},c),u(c),i.search){var s=(0,lt.JO)(i.search.slice(1)),d=(0,lt.zH)(s,st);i.search=(0,lt.Rm)(d)}i.pathname.match(/.+\/$/)&&(i.pathname=i.pathname.replace(/\/+$/,""))}var m=null;return e.staticContext?(e.staticContext.route={name:t},e.staticContext.statusCode=r,i&&o((0,ln.n_)(i))):(o((0,ln.n_)(c)),i&&!ot()(c,i)&&(m=l.createElement(v.rd,{to:i}))),l.createElement(l.Fragment,null,m,"function"==typeof n?n(e):n)}})}var dt=t(51622),mt=t(11245),pt=t(5863),ft=t(11891),gt=function(){return l.createElement(ut,{name:"unknown",statusCode:404},l.createElement(mt.n,null,l.createElement(pt.m,null,l.createElement(Fe.a,{backgroundColor:"BACKGROUND"},l.createElement(Ae.Ne,{source:{dimension:"not_found_layout_nav"}},l.createElement(ft.b,null)),l.createElement(dt.u,{marginTop:"80px"})))))},ht=t(60781),vt=m()({loader:function(){return t.e(6317).then(t.bind(t,4129))},modules:["src/app/pages/billing-receipt/MainContent"],webpack:function(){return[4129]},loading:function(){return null},render:ht.i}),kt={id:"billing-receipt",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(6317).then(t.bind(t,4129))},modules:["src/app/pages/billing-receipt/MainContent"],webpack:function(){return[4129]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:vt}}},St=m()({loader:function(){return t.e(2662).then(t.bind(t,83132))},modules:["src/app/pages/embed-catalog/MainContent"],webpack:function(){return[83132]},loading:function(){return null},render:ht.i}),bt={id:"embed-catalog",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(2662).then(t.bind(t,83132))},modules:["src/app/pages/embed-catalog/MainContent"],webpack:function(){return[83132]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:St}}},Et={id:"home-lo-legacy",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(7049).then(t.bind(t,22773))},modules:["src/app/pages/home-lo-legacy/MainContent"],webpack:function(){return[22773]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},yt={id:"internal-status",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(2343).then(t.bind(t,26317))},modules:["src/app/pages/internal-status/MainContent"],webpack:function(){return[26317]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},Nt={id:"landing-about",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(6434).then(t.bind(t,97153))},modules:["src/app/pages/landing-about/MainContent"],webpack:function(){return[97153]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},wt={id:"landing-b2b",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5978),t.e(9203)]).then(t.bind(t,6239))},modules:["src/app/pages/landing-b2b/MainContent"],webpack:function(){return[6239]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},Pt=m()({loader:function(){return t.e(2991).then(t.bind(t,61868))},modules:["src/app/pages/landing-gift/MainContent"],webpack:function(){return[61868]},loading:function(){return null},render:ht.i}),Ot={id:"landing-gift",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(2991).then(t.bind(t,61868))},modules:["src/app/pages/landing-gift/MainContent"],webpack:function(){return[61868]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Pt}}},Tt={id:"landing-membership",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(3207),t.e(4065)]).then(t.bind(t,22493))},modules:["src/app/pages/landing-membership/MainContent"],webpack:function(){return[22493]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},Ct=m()({loader:function(){return t.e(7211).then(t.bind(t,80013))},modules:["src/app/pages/landing-partner-program/MainContent"],webpack:function(){return[80013]},loading:function(){return null},render:ht.i}),At={id:"landing-partner-program",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(7211).then(t.bind(t,80013))},modules:["src/app/pages/landing-partner-program/MainContent"],webpack:function(){return[80013]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Ct}}},_t={id:"landing-verified-authors",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5978),t.e(1733)]).then(t.bind(t,90615))},modules:["src/app/pages/landing-verified-authors/MainContent"],webpack:function(){return[90615]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},It={id:"legacy-topic-redirect",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(9734).then(t.bind(t,2430))},modules:["src/app/pages/legacy-topic-redirect/MainContent"],webpack:function(){return[2430]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},Rt={id:"mastodon-callback",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(1470).then(t.bind(t,42252))},modules:["src/app/pages/mastodon-callback/MainContent"],webpack:function(){return[42252]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},Ft=m()({loader:function(){return t.e(9417).then(t.bind(t,8319))},modules:["src/app/pages/mastodon-for-members/MainContent"],webpack:function(){return[8319]},loading:function(){return null},render:ht.i}),Lt={id:"mastodon-for-members",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(9417).then(t.bind(t,8319))},modules:["src/app/pages/mastodon-for-members/MainContent"],webpack:function(){return[8319]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Ft}}},Mt={id:"mobile-web-editor-redirect",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(7251).then(t.bind(t,88078))},modules:["src/app/pages/mobile-web-editor-redirect/MainContent"],webpack:function(){return[88078]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},Dt=m()({loader:function(){return Promise.all([t.e(3921),t.e(8951),t.e(9606),t.e(2414),t.e(4744)]).then(t.bind(t,2486))},modules:["src/app/pages/partner-program-application/MainContent"],webpack:function(){return[2486]},loading:function(){return null},render:ht.i}),xt={id:"partner-program-application",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(3921),t.e(8951),t.e(9606),t.e(2414),t.e(4744)]).then(t.bind(t,2486))},modules:["src/app/pages/partner-program-application/MainContent"],webpack:function(){return[2486]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Dt}}},Ut=m()({loader:function(){return Promise.all([t.e(3921),t.e(8951),t.e(3207),t.e(9606),t.e(2414),t.e(7729)]).then(t.bind(t,67143))},modules:["src/app/pages/partner-program-payout-settings/MainContent"],webpack:function(){return[67143]},loading:function(){return null},render:ht.i}),Bt={id:"partner-program-payout-settings",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(3921),t.e(8951),t.e(3207),t.e(9606),t.e(2414),t.e(7729)]).then(t.bind(t,67143))},modules:["src/app/pages/partner-program-payout-settings/MainContent"],webpack:function(){return[67143]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Ut}}},jt={id:"partner-program-stripe-finish",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(6754).then(t.bind(t,19308))},modules:["src/app/pages/partner-program-stripe-finish/MainContent"],webpack:function(){return[19308]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},Vt={id:"partner-program-stripe-reconnect-success",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(455).then(t.bind(t,80432))},modules:["src/app/pages/partner-program-stripe-reconnect-success/MainContent"],webpack:function(){return[80432]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},Ht={id:"partner-program-stripe-reconnect",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(16).then(t.bind(t,9246))},modules:["src/app/pages/partner-program-stripe-reconnect/MainContent"],webpack:function(){return[9246]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},Gt=m()({loader:function(){return Promise.all([t.e(9606),t.e(5497)]).then(t.bind(t,99876))},modules:["src/app/pages/partner-program-unenroll/MainContent"],webpack:function(){return[99876]},loading:function(){return null},render:ht.i}),Wt={id:"partner-program-unenroll",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(9606),t.e(5497)]).then(t.bind(t,99876))},modules:["src/app/pages/partner-program-unenroll/MainContent"],webpack:function(){return[99876]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Gt}}},zt=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(6618),t.e(6244),t.e(7462),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(5642),t.e(5492),t.e(4124),t.e(2278),t.e(4769),t.e(6546),t.e(3591),t.e(1781),t.e(1676),t.e(408),t.e(2420),t.e(839),t.e(3346),t.e(7975),t.e(2106),t.e(7394),t.e(9926),t.e(7679)]).then(t.bind(t,35384))},modules:["src/app/pages/publication-design-editor/MainContent"],webpack:function(){return[35384]},loading:function(){return null},render:ht.i}),Yt={id:"publication-design-editor",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(6618),t.e(6244),t.e(7462),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(5642),t.e(5492),t.e(4124),t.e(2278),t.e(4769),t.e(6546),t.e(3591),t.e(1781),t.e(1676),t.e(408),t.e(2420),t.e(839),t.e(3346),t.e(7975),t.e(2106),t.e(7394),t.e(9926),t.e(7679)]).then(t.bind(t,35384))},modules:["src/app/pages/publication-design-editor/MainContent"],webpack:function(){return[35384]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:zt}}},qt=m()({loader:function(){return t.e(4440).then(t.bind(t,81267))},modules:["src/app/pages/redeem-gift-membership/MainContent"],webpack:function(){return[81267]},loading:function(){return null},render:ht.i}),Kt={id:"redeem-gift-membership",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(4440).then(t.bind(t,81267))},modules:["src/app/pages/redeem-gift-membership/MainContent"],webpack:function(){return[81267]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:qt}}},Qt=m()({loader:function(){return t.e(7628).then(t.bind(t,68734))},modules:["src/app/pages/sign-in/MainContent"],webpack:function(){return[68734]},loading:function(){return null},render:ht.i}),Xt={id:"sign-in",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(7628).then(t.bind(t,68734))},modules:["src/app/pages/sign-in/MainContent"],webpack:function(){return[68734]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Qt}}},Zt=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(6618),t.e(6244),t.e(7462),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(5642),t.e(5492),t.e(4124),t.e(2278),t.e(4769),t.e(6546),t.e(3591),t.e(1781),t.e(1676),t.e(408),t.e(2420),t.e(839),t.e(3346),t.e(7975),t.e(2106),t.e(7394),t.e(9926),t.e(8974)]).then(t.bind(t,47116))},modules:["src/app/pages/user-design-editor/MainContent"],webpack:function(){return[47116]},loading:function(){return null},render:ht.i}),$t={id:"user-design-editor",layoutConfig:{name:"BasicLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(6618),t.e(6244),t.e(7462),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(5642),t.e(5492),t.e(4124),t.e(2278),t.e(4769),t.e(6546),t.e(3591),t.e(1781),t.e(1676),t.e(408),t.e(2420),t.e(839),t.e(3346),t.e(7975),t.e(2106),t.e(7394),t.e(9926),t.e(8974)]).then(t.bind(t,47116))},modules:["src/app/pages/user-design-editor/MainContent"],webpack:function(){return[47116]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Zt}}},Jt=function(e){var n,t=e.pageName,i=e.params;switch(t){case"billing-receipt":n=kt;break;case"embed-catalog":n=bt;break;case"home-lo":n=Et;break;case"internal-status":n=yt;break;case"landing-about":n=Nt;break;case"landing-b2b":n=wt;break;case"landing-gift":n=Ot;break;case"landing-membership":n=Tt;break;case"landing-partner-program":n=At;break;case"landing-verified-authors":n=_t;break;case"legacy-topic-redirect":n=It;break;case"mastodon-callback":n=Rt;break;case"mastodon-for-members":n=Lt;break;case"mobile-web-editor-redirect":n=Mt;break;case"partner-program-application":n=xt;break;case"partner-program-payout-settings":n=Bt;break;case"partner-program-stripe-finish":n=jt;break;case"partner-program-stripe-reconnect":n=Ht;break;case"partner-program-stripe-reconnect-success":n=Vt;break;case"partner-program-unenroll":n=Wt;break;case"publication-design-editor":n=Yt;break;case"redeem-gift-membership":n=Kt;break;case"sign-in":n=Xt;break;case"user-design-editor":n=$t;break;default:throw new Error("Expected ".concat(t," page to exist."))}var a=n.modules.MainModule.content;return l.createElement(a,{params:i})},ei=m()({loader:function(){return t.e(9956).then(t.bind(t,85568))},modules:["src/app/pages/cancel-membership/MainContent"],webpack:function(){return[85568]},loading:function(){return null},render:ht.i}),ni={id:"cancel-membership",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(9956).then(t.bind(t,85568))},modules:["src/app/pages/cancel-membership/MainContent"],webpack:function(){return[85568]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:ei}}},ti=m()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(7057),t.e(1386),t.e(9977),t.e(5250),t.e(2648),t.e(8393),t.e(3735),t.e(6546),t.e(6834),t.e(2420),t.e(839),t.e(7975),t.e(2106),t.e(2961),t.e(1915),t.e(2919),t.e(8714)]).then(t.bind(t,27767))},modules:["src/app/pages/collections-library/MainContent"],webpack:function(){return[27767]},loading:function(){return null},render:ht.i}),ii={id:"collections-library",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(7057),t.e(1386),t.e(9977),t.e(5250),t.e(2648),t.e(8393),t.e(3735),t.e(6546),t.e(6834),t.e(2420),t.e(839),t.e(7975),t.e(2106),t.e(2961),t.e(1915),t.e(2919),t.e(8714)]).then(t.bind(t,27767))},modules:["src/app/pages/collections-library/MainContent"],webpack:function(){return[27767]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:ti}}},ai=m()({loader:function(){return Promise.all([t.e(9553),t.e(4685)]).then(t.bind(t,2824))},modules:["src/app/pages/explore-topics/MainContent"],webpack:function(){return[2824]},loading:function(){return null},render:ht.i}),ri={id:"explore-topics",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(9553),t.e(4685)]).then(t.bind(t,2824))},modules:["src/app/pages/explore-topics/MainContent"],webpack:function(){return[2824]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:ai}}},oi=m()({loader:function(){return t.e(6650).then(t.bind(t,93296))},modules:["src/app/pages/import-mailing-list/MainContent"],webpack:function(){return[93296]},loading:function(){return null},render:ht.i}),li={id:"import-mailing-list",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(6650).then(t.bind(t,93296))},modules:["src/app/pages/import-mailing-list/MainContent"],webpack:function(){return[93296]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:oi}}},ci=m()({loader:function(){return Promise.all([t.e(5049),t.e(3921),t.e(954),t.e(1386),t.e(9977),t.e(719),t.e(3432),t.e(5450)]).then(t.bind(t,14942))},modules:["src/app/pages/partner-program-dashboard/MainContent"],webpack:function(){return[14942]},loading:function(){return null},render:ht.i}),si={id:"partner-program-dashboard",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(3921),t.e(954),t.e(1386),t.e(9977),t.e(719),t.e(3432),t.e(5450)]).then(t.bind(t,14942))},modules:["src/app/pages/partner-program-dashboard/MainContent"],webpack:function(){return[14942]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:ci}}},ui=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(6244),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(4391),t.e(2111)]).then(t.bind(t,4352))},modules:["src/app/pages/post-settings/MainContent"],webpack:function(){return[4352]},loading:function(){return null},render:ht.i}),di={id:"post-settings",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(6244),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(4391),t.e(2111)]).then(t.bind(t,4352))},modules:["src/app/pages/post-settings/MainContent"],webpack:function(){return[4352]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:ui}}},mi=t(90696),pi=m()({loader:function(){return Promise.all([t.e(5568),t.e(7584)]).then(t.bind(t,27867))},modules:["src/app/pages/publication-custom-domain-settings/MainContent"],webpack:function(){return[27867]},loading:function(){return null},render:ht.i}),fi={id:"publication-custom-domain-settings",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5568),t.e(7584)]).then(t.bind(t,27867))},modules:["src/app/pages/publication-custom-domain-settings/MainContent"],webpack:function(){return[27867]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:pi}}},gi=m()({loader:function(){return t.e(6841).then(t.bind(t,38788))},modules:["src/app/pages/publication-digest-stats/MainContent"],webpack:function(){return[38788]},loading:function(){return null},render:ht.i}),hi={id:"publication-digest-stats",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(6841).then(t.bind(t,38788))},modules:["src/app/pages/publication-digest-stats/MainContent"],webpack:function(){return[38788]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:gi}}},vi=m()({loader:function(){return Promise.all([t.e(4124),t.e(4769),t.e(3591),t.e(958)]).then(t.bind(t,67393))},modules:["src/app/pages/publication-newsletter-landing/MainContent"],webpack:function(){return[67393]},loading:function(){return null},render:ht.i}),ki={id:"publication-newsletter-landing",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(4124),t.e(4769),t.e(3591),t.e(958)]).then(t.bind(t,67393))},modules:["src/app/pages/publication-newsletter-landing/MainContent"],webpack:function(){return[67393]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:vi}}},Si={id:"publication-newsletter-promotion",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(9044).then(t.bind(t,18453))},modules:["src/app/pages/publication-newsletter-promotion/MainContent"],webpack:function(){return[18453]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},bi=m()({loader:function(){return t.e(5e3).then(t.bind(t,81857))},modules:["src/app/pages/publication-newsletter-settings/MainContent"],webpack:function(){return[81857]},loading:function(){return null},render:ht.i}),Ei={id:"publication-newsletter-settings",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(5e3).then(t.bind(t,81857))},modules:["src/app/pages/publication-newsletter-settings/MainContent"],webpack:function(){return[81857]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:bi}}},yi=m()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(4013),t.e(1386),t.e(9977),t.e(6546),t.e(2420),t.e(1581)]).then(t.bind(t,48574))},modules:["src/app/pages/series/MainContent"],webpack:function(){return[48574]},loading:function(){return null},render:ht.i}),Ni={id:"series",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(4013),t.e(1386),t.e(9977),t.e(6546),t.e(2420),t.e(1581)]).then(t.bind(t,48574))},modules:["src/app/pages/series/MainContent"],webpack:function(){return[48574]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:yi}}},wi=m()({loader:function(){return Promise.all([t.e(5568),t.e(120)]).then(t.bind(t,75595))},modules:["src/app/pages/settings-custom-domain/MainContent"],webpack:function(){return[75595]},loading:function(){return null},render:ht.i}),Pi={id:"settings-custom-domain",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5568),t.e(120)]).then(t.bind(t,75595))},modules:["src/app/pages/settings-custom-domain/MainContent"],webpack:function(){return[75595]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:wi}}},Oi=m()({loader:function(){return Promise.all([t.e(5049),t.e(3921),t.e(954),t.e(3240),t.e(1386),t.e(9977),t.e(719),t.e(3432),t.e(1968),t.e(6969),t.e(6701)]).then(t.bind(t,11349))},modules:["src/app/pages/stats-homepage/MainContent"],webpack:function(){return[11349]},loading:function(){return null},render:ht.i}),Ti={id:"stats-homepage",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(3921),t.e(954),t.e(3240),t.e(1386),t.e(9977),t.e(719),t.e(3432),t.e(1968),t.e(6969),t.e(6701)]).then(t.bind(t,11349))},modules:["src/app/pages/stats-homepage/MainContent"],webpack:function(){return[11349]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Oi}}},Ci=m()({loader:function(){return Promise.all([t.e(3921),t.e(954),t.e(3240),t.e(7522),t.e(839),t.e(7975),t.e(1968),t.e(8043)]).then(t.bind(t,72381))},modules:["src/app/pages/stats-post/MainContent"],webpack:function(){return[72381]},loading:function(){return null},render:ht.i}),Ai={id:"stats-post",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(3921),t.e(954),t.e(3240),t.e(7522),t.e(839),t.e(7975),t.e(1968),t.e(8043)]).then(t.bind(t,72381))},modules:["src/app/pages/stats-post/MainContent"],webpack:function(){return[72381]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Ci}}},_i=m()({loader:function(){return t.e(3264).then(t.bind(t,15897))},modules:["src/app/pages/subscription-stats/MainContent"],webpack:function(){return[15897]},loading:function(){return null},render:ht.i}),Ii={id:"subscription-stats",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(3264).then(t.bind(t,15897))},modules:["src/app/pages/subscription-stats/MainContent"],webpack:function(){return[15897]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:_i}}},Ri=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(3921),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(7560),t.e(6332)]).then(t.bind(t,41902))},modules:["src/app/pages/tag-archive/MainContent"],webpack:function(){return[41902]},loading:function(){return null},render:ht.i}),Fi={id:"tag-archive",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(3921),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(7560),t.e(6332)]).then(t.bind(t,41902))},modules:["src/app/pages/tag-archive/MainContent"],webpack:function(){return[41902]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Ri}}},Li=m()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(1370),t.e(1386),t.e(9977),t.e(6546),t.e(2420),t.e(2106),t.e(6872)]).then(t.bind(t,62922))},modules:["src/app/pages/the-trump-45/MainContent"],webpack:function(){return[62922]},loading:function(){return null},render:ht.i}),Mi={id:"the-trump-45",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(1370),t.e(1386),t.e(9977),t.e(6546),t.e(2420),t.e(2106),t.e(6872)]).then(t.bind(t,62922))},modules:["src/app/pages/the-trump-45/MainContent"],webpack:function(){return[62922]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Li}}},Di=m()({loader:function(){return t.e(2534).then(t.bind(t,8516))},modules:["src/app/pages/ticks/MainContent"],webpack:function(){return[8516]},loading:function(){return null},render:ht.i}),xi={id:"ticks",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(2534).then(t.bind(t,8516))},modules:["src/app/pages/ticks/MainContent"],webpack:function(){return[8516]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Di}}},Ui=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(6834),t.e(6882),t.e(9553),t.e(7560),t.e(9287)]).then(t.bind(t,36077))},modules:["src/app/pages/topic-portal/MainContent"],webpack:function(){return[36077]},loading:function(){return null},render:ht.i}),Bi={id:"topic-portal",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(6834),t.e(6882),t.e(9553),t.e(7560),t.e(9287)]).then(t.bind(t,36077))},modules:["src/app/pages/topic-portal/MainContent"],webpack:function(){return[36077]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Ui}}},ji=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(912)]).then(t.bind(t,34147))},modules:["src/app/pages/topic-recommended/MainContent"],webpack:function(){return[34147]},loading:function(){return null},render:ht.i}),Vi={id:"topic-recommended",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(912)]).then(t.bind(t,34147))},modules:["src/app/pages/topic-recommended/MainContent"],webpack:function(){return[34147]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:ji}}},Hi=m()({loader:function(){return Promise.all([t.e(4728),t.e(5842),t.e(8613)]).then(t.bind(t,74539))},modules:["src/app/pages/topic-who-to-follow/MainContent"],webpack:function(){return[74539]},loading:function(){return null},render:ht.i}),Gi={id:"topic-who-to-follow",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(4728),t.e(5842),t.e(8613)]).then(t.bind(t,74539))},modules:["src/app/pages/topic-who-to-follow/MainContent"],webpack:function(){return[74539]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Hi}}},Wi=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(6618),t.e(336),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(6546),t.e(2420),t.e(839),t.e(7975),t.e(2106),t.e(7394),t.e(1915),t.e(9549)]).then(t.bind(t,28091))},modules:["src/app/pages/tribute/MainContent"],webpack:function(){return[28091]},loading:function(){return null},render:ht.i}),zi={id:"tribute",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(6618),t.e(336),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(3735),t.e(6546),t.e(2420),t.e(839),t.e(7975),t.e(2106),t.e(7394),t.e(1915),t.e(9549)]).then(t.bind(t,28091))},modules:["src/app/pages/tribute/MainContent"],webpack:function(){return[28091]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Wi}}},Yi=m()({loader:function(){return Promise.all([t.e(5805),t.e(1286),t.e(9247)]).then(t.bind(t,46599))},modules:["src/app/pages/update-payment/MainContent"],webpack:function(){return[46599]},loading:function(){return null},render:ht.i}),qi={id:"update-payment",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5805),t.e(1286),t.e(9247)]).then(t.bind(t,46599))},modules:["src/app/pages/update-payment/MainContent"],webpack:function(){return[46599]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Yi}}},Ki=m()({loader:function(){return Promise.all([t.e(4124),t.e(4769),t.e(1569)]).then(t.bind(t,95206))},modules:["src/app/pages/writer-subscription-promotion/MainContent"],webpack:function(){return[95206]},loading:function(){return null},render:ht.i}),Qi={id:"writer-subscription-promotion",layoutConfig:{name:"TopNavLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(4124),t.e(4769),t.e(1569)]).then(t.bind(t,95206))},modules:["src/app/pages/writer-subscription-promotion/MainContent"],webpack:function(){return[95206]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Ki}}},Xi=function(e){var n,t=e.pageName,i=e.params,a=e.fixedNavbar;switch(t){case"cancel-membership":n=ni;break;case"collections-library":n=ii;break;case"explore-topics":n=ri;break;case"import-mailing-list":n=li;break;case"partner-program-dashboard":n=si;break;case"post":n=mi.PostPage;break;case"post-settings":n=di;break;case"publication-custom-domain-settings":n=fi;break;case"publication-digest-stats":n=hi;break;case"publication-newsletter-settings":n=Ei;break;case"publication-newsletter-landing":n=ki;break;case"publication-newsletter-promotion":n=Si;break;case"series":n=Ni;break;case"settings-custom-domain":n=Pi;break;case"stats-homepage":n=Ti;break;case"stats-post":n=Ai;break;case"subscription-stats":n=Ii;break;case"tag-archive":n=Fi;break;case"ticks":n=xi;break;case"the-trump-45":n=Mi;break;case"topic":n=Bi;break;case"topic-recommended":n=Vi;break;case"topic-who-to-follow":n=Gi;break;case"tribute":n=zi;break;case"update-payment":n=qi;break;case"writer-subscription-promotion":n=Qi;break;default:throw new Error("Expected ".concat(t," page to exist."))}var r=n.modules.MainModule.content;return l.createElement(mt.n,null,l.createElement(pt.m,{isFixed:a},l.createElement(Fe.a,{backgroundColor:"BACKGROUND"},l.createElement(Ae.Ne,{source:{dimension:"top_nav_layout_nav"}},l.createElement(ft.b,null)),l.createElement(r,{params:i}))))},Zi={id:"crupdate-password",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(6953).then(t.bind(t,97469))},modules:["src/app/pages/crupdate-password/MainContent"],webpack:function(){return[97469]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},$i=m()({loader:function(){return Promise.all([t.e(5805),t.e(1286),t.e(4189),t.e(2727)]).then(t.bind(t,51458))},modules:["src/app/pages/discount-plans/MainContent"],webpack:function(){return[51458]},loading:function(){return null},render:ht.i}),Ji={id:"discount-plans",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5805),t.e(1286),t.e(4189),t.e(2727)]).then(t.bind(t,51458))},modules:["src/app/pages/discount-plans/MainContent"],webpack:function(){return[51458]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:$i}}},ea={id:"download-app",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(6981).then(t.bind(t,2551))},modules:["src/app/pages/download-app/MainContent"],webpack:function(){return[2551]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},na=m()({loader:function(){return Promise.all([t.e(5805),t.e(9334),t.e(1286),t.e(6344)]).then(t.bind(t,48370))},modules:["src/app/pages/gift-membership/MainContent"],webpack:function(){return[48370]},loading:function(){return null},render:ht.i}),ta={id:"gift-membership",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5805),t.e(9334),t.e(1286),t.e(6344)]).then(t.bind(t,48370))},modules:["src/app/pages/gift-membership/MainContent"],webpack:function(){return[48370]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:na}}},ia=m()({loader:function(){return Promise.all([t.e(5805),t.e(1286),t.e(6563)]).then(t.bind(t,51008))},modules:["src/app/pages/group-gift-membership/MainContent"],webpack:function(){return[51008]},loading:function(){return null},render:ht.i}),aa={id:"group-gift-membership",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5805),t.e(1286),t.e(6563)]).then(t.bind(t,51008))},modules:["src/app/pages/group-gift-membership/MainContent"],webpack:function(){return[51008]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:ia}}},ra=m()({loader:function(){return Promise.all([t.e(6337),t.e(1407)]).then(t.bind(t,37462))},modules:["src/app/pages/manage-membership/MainContent"],webpack:function(){return[37462]},loading:function(){return null},render:ht.i}),oa={id:"manage-membership",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(6337),t.e(1407)]).then(t.bind(t,37462))},modules:["src/app/pages/manage-membership/MainContent"],webpack:function(){return[37462]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:ra}}},la=m()({loader:function(){return t.e(8874).then(t.bind(t,7884))},modules:["src/app/pages/not-available/MainContent"],webpack:function(){return[7884]},loading:function(){return null},render:ht.i}),ca={id:"not-available",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(8874).then(t.bind(t,7884))},modules:["src/app/pages/not-available/MainContent"],webpack:function(){return[7884]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:la}}},sa=m()({loader:function(){return Promise.all([t.e(6337),t.e(8405)]).then(t.bind(t,93177))},modules:["src/app/pages/onboarding-plans/MainContent"],webpack:function(){return[93177]},loading:function(){return null},render:ht.i}),ua={id:"onboarding-plans",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(6337),t.e(8405)]).then(t.bind(t,93177))},modules:["src/app/pages/onboarding-plans/MainContent"],webpack:function(){return[93177]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:sa}}},da=m()({loader:function(){return Promise.all([t.e(5805),t.e(1286),t.e(6337),t.e(4189),t.e(8132)]).then(t.bind(t,61279))},modules:["src/app/pages/plans/MainContent"],webpack:function(){return[61279]},loading:function(){return null},render:ht.i}),ma={id:"plans",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5805),t.e(1286),t.e(6337),t.e(4189),t.e(8132)]).then(t.bind(t,61279))},modules:["src/app/pages/plans/MainContent"],webpack:function(){return[61279]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:da}}},pa={id:"share-success",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(3244).then(t.bind(t,16264))},modules:["src/app/pages/share-success/MainContent"],webpack:function(){return[16264]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},fa=m()({loader:function(){return t.e(6005).then(t.bind(t,92080))},modules:["src/app/pages/topics-onboarding/MainContent"],webpack:function(){return[92080]},loading:function(){return null},render:ht.i}),ga={id:"topics-onboarding",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(6005).then(t.bind(t,92080))},modules:["src/app/pages/topics-onboarding/MainContent"],webpack:function(){return[92080]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:fa}}},ha={id:"unrecognized-account",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(7602).then(t.bind(t,50758))},modules:["src/app/pages/unrecognized-account/MainContent"],webpack:function(){return[50758]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},va={id:"welcome-member",layoutConfig:{name:"WordmarkLayout"},modules:{MainModule:{content:m()({loader:function(){return t.e(2194).then(t.bind(t,77568))},modules:["src/app/pages/welcome-member/MainContent"],webpack:function(){return[77568]},loading:function(){return null},render:(0,ht.e)("MainContent")})}}},ka=t(62830),Sa={marginBottom:{xs:"56px",sm:"56px",md:"88px",lg:"88px",xl:"88px"}},ba=function(e){var n,t=e.pageName,i=e.params,a=e.fixedNavbar,r=Sa;switch(t){case"crupdate-password":n=Zi;break;case"discount-plans":n=Ji;break;case"download-app":n=ea,r=void 0;break;case"gift-membership":n=ta;break;case"group-gift-membership":n=aa;break;case"manage-membership":case"manage-membership-confirmation":n=oa;break;case"not-available":n=ca;break;case"onboarding-plans":n=ua;break;case"plans":case"plans-confirmation":n=ma;break;case"share-success":n=pa;break;case"topics-onboarding":n=ga;break;case"unrecognized-account":n=ha;break;case"welcome-member":n=va;break;default:throw new Error("Expected ".concat(t," page to exist."))}var o=n.modules.MainModule.content;return l.createElement(mt.n,null,l.createElement(pt.m,{isFixed:a},l.createElement(Fe.a,{backgroundColor:"BACKGROUND"},l.createElement(Ae.Ne,{source:{dimension:"wordmark_layout_nav"}},l.createElement(ka.ED,{rules:r})),l.createElement(o,{params:i}))))},Ea=t(2556),ya=m()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(8414),t.e(1832),t.e(1386),t.e(9977),t.e(6546),t.e(5361),t.e(3974),t.e(9491),t.e(8370)]).then(t.bind(t,84918))},modules:["src/app/pages/community-publication-about/MainContent"],webpack:function(){return[84918]},loading:function(){return null},render:ht.i}),Na={id:"community-publication-about",layoutConfig:{name:"PublicationLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(6618),t.e(8414),t.e(1832),t.e(1386),t.e(9977),t.e(6546),t.e(5361),t.e(3974),t.e(9491),t.e(8370)]).then(t.bind(t,84918))},modules:["src/app/pages/community-publication-about/MainContent"],webpack:function(){return[84918]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:ya}}},wa=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(3921),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(6472),t.e(3399)]).then(t.bind(t,44768))},modules:["src/app/pages/community-publication-archive/MainContent"],webpack:function(){return[44768]},loading:function(){return null},render:ht.i}),Pa={id:"community-publication-archive",layoutConfig:{name:"PublicationLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(3921),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(6472),t.e(3399)]).then(t.bind(t,44768))},modules:["src/app/pages/community-publication-archive/MainContent"],webpack:function(){return[44768]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:wa}}},Oa=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(6582)]).then(t.bind(t,24554))},modules:["src/app/pages/community-publication-feature-section/MainContent"],webpack:function(){return[24554]},loading:function(){return null},render:ht.i}),Ta={id:"community-publication-feature-section",layoutConfig:{name:"PublicationLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(6582)]).then(t.bind(t,24554))},modules:["src/app/pages/community-publication-feature-section/MainContent"],webpack:function(){return[24554]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Oa}}},Ca=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(8578),t.e(159)]).then(t.bind(t,54221))},modules:["src/app/pages/community-publication-feature/MainContent"],webpack:function(){return[54221]},loading:function(){return null},render:ht.i}),Aa={id:"community-publication-feature",layoutConfig:{name:"PublicationLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(8578),t.e(159)]).then(t.bind(t,54221))},modules:["src/app/pages/community-publication-feature/MainContent"],webpack:function(){return[54221]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Ca}}},_a=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(6472),t.e(936)]).then(t.bind(t,8015))},modules:["src/app/pages/community-publication-latest/MainContent"],webpack:function(){return[8015]},loading:function(){return null},render:ht.i}),Ia={id:"community-publication-latest",layoutConfig:{name:"PublicationLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(6472),t.e(936)]).then(t.bind(t,8015))},modules:["src/app/pages/community-publication-latest/MainContent"],webpack:function(){return[8015]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:_a}}},Ra=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(6472),t.e(812),t.e(2449)]).then(t.bind(t,60706))},modules:["src/app/pages/community-publication-newsletter-promotion/MainContent"],webpack:function(){return[60706]},loading:function(){return null},render:ht.i}),Fa={id:"community-publication-newsletter-promotion",layoutConfig:{name:"PublicationLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(6472),t.e(812),t.e(2449)]).then(t.bind(t,60706))},modules:["src/app/pages/community-publication-newsletter-promotion/MainContent"],webpack:function(){return[60706]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Ra}}},La=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(8578),t.e(812),t.e(6858),t.e(2602)]).then(t.bind(t,69929))},modules:["src/app/pages/community-publication-profile/MainContent"],webpack:function(){return[69929]},loading:function(){return null},render:ht.i}),Ma={id:"community-publication-profile",layoutConfig:{name:"PublicationLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(8578),t.e(812),t.e(6858),t.e(2602)]).then(t.bind(t,69929))},modules:["src/app/pages/community-publication-profile/MainContent"],webpack:function(){return[69929]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:La}}},Da=m()({loader:function(){return Promise.all([t.e(5049),t.e(3921),t.e(954),t.e(3240),t.e(1386),t.e(9977),t.e(719),t.e(5361),t.e(3432),t.e(1968),t.e(6969),t.e(4536)]).then(t.bind(t,34108))},modules:["src/app/pages/community-publication-stats/MainContent"],webpack:function(){return[34108]},loading:function(){return null},render:ht.i}),xa={id:"community-publication-stats",layoutConfig:{name:"PublicationLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(3921),t.e(954),t.e(3240),t.e(1386),t.e(9977),t.e(719),t.e(5361),t.e(3432),t.e(1968),t.e(6969),t.e(4536)]).then(t.bind(t,34108))},modules:["src/app/pages/community-publication-stats/MainContent"],webpack:function(){return[34108]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Da}}},Ua=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(6472),t.e(8957)]).then(t.bind(t,78373))},modules:["src/app/pages/community-publication-tagged/MainContent"],webpack:function(){return[78373]},loading:function(){return null},render:ht.i}),Ba={id:"community-publication-tagged",layoutConfig:{name:"PublicationLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(6472),t.e(8957)]).then(t.bind(t,78373))},modules:["src/app/pages/community-publication-tagged/MainContent"],webpack:function(){return[78373]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:Ua}}},ja=m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(6472),t.e(5774)]).then(t.bind(t,2073))},modules:["src/app/pages/community-publication-trending/MainContent"],webpack:function(){return[2073]},loading:function(){return null},render:ht.i}),Va={id:"community-publication-trending",layoutConfig:{name:"PublicationLayout"},modules:{MainModule:{content:m()({loader:function(){return Promise.all([t.e(5049),t.e(4810),t.e(1386),t.e(9977),t.e(719),t.e(5250),t.e(6349),t.e(2648),t.e(8393),t.e(1443),t.e(5642),t.e(5361),t.e(6472),t.e(5774)]).then(t.bind(t,2073))},modules:["src/app/pages/community-publication-trending/MainContent"],webpack:function(){return[2073]},loading:function(){return null},render:(0,ht.e)("MainContent")}),loader:ja}}},Ha=t(10894),Ga=t(64074),Wa=l.memo((function(e){var n,t=e.pageName,i=e.params;switch(t){case"community-publication-about":n=Na;break;case"community-publication-archive":n=Pa;break;case"community-publication-feature":n=Aa;break;case"community-publication-feature-section":n=Ta;break;case"community-publication-latest":n=Ia;break;case"community-publication-newsletter-promotion":n=Fa;break;case"community-publication-profile":n=Ma;break;case"community-publication-stats":n=xa;break;case"community-publication-tagged":n=Ba;break;case"community-publication-trending":n=Va;break;default:throw new Error("Expected ".concat(t," page to exist."))}var a=n.modules.MainModule.content;return l.createElement(Ha.p,null,l.createElement(pt.m,null,l.createElement(Ae.Ne,{source:{dimension:"publication_layout_nav"}},l.createElement(ft.b,null)),l.createElement(Ae.Ne,{source:{dimension:"publication_layout_upsell"}},l.createElement(Ga.w,null)),l.createElement(a,{params:i})))})),za=function(){var e=(0,v.zy)();return l.useEffect((function(){window.history.scrollRestoration&&"manual"===window.history.scrollRestoration&&(window.history.scrollRestoration="auto")}),[]),l.useEffect((function(){window.scrollTo(0,0)}),[e.pathname]),null},Ya=t(49912),qa=t(95765),Ka={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CacheUnsafeLoggedInStateQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isLoggedIn"}}]}}]},Qa=function(e){var n,t,i,a=e.params,r=(t=(0,ce.R)(),i=(0,V.I)(Ka),t.value?{loading:t.loading,error:t.error,isLoggedIn:!!t.value}:{loading:i.loading,error:i.error,isLoggedIn:null===(n=i.data)||void 0===n?void 0:n.isLoggedIn}),o=r.isLoggedIn,c=r.loading,s=(0,v.zy)(),u=(0,S.au)();return"#giftMembership"===s.hash?l.createElement(Te.r,{to:u("ShowLiteGiftCheckout",{})}):c?l.createElement(qa.x,null):o?l.createElement(Ae.Ne,{source:{name:"home"}},l.createElement(za,null),l.createElement(Ea.J,{pageName:"home",params:a})):l.createElement(Xa,{params:a})};function Xa(e){var n=e.params,t=(0,we.$L)();return(0,Ya.O)({data:{pageType:"lo_homepage"},show:!0}),(0,l.useEffect)((function(){t.event("homepage.viewed",{})}),[]),l.createElement(Jt,{pageName:"home-lo",params:n})}var Za=t(15295),$a=t(90016),Ja="publication-profile",er=function(e){var n=e.params,t=e.pageName,i=!!(0,_._P)("enable_lite_publications"),a=n.collectionSlug,r=(0,G.d4)((function(e){return e.navigation.hostname})),o=a||r;return i?l.createElement(nr,{domainOrSlug:o,pageName:t,params:n}):l.createElement(tr,{domainOrSlug:o,pageName:t,params:n})};function nr(e){var n=e.domainOrSlug,t=e.pageName,i=e.params,a=(0,V.I)(Za.B,{variables:{domainOrSlug:n},skip:t!==Ja}),r=a.loading,o=a.error,c=a.data,s="community-".concat(t);return l.createElement(ir,{loading:r,error:o,collection:null==c?void 0:c.collection,pageName:t},l.createElement(za,null),l.createElement(Wa,{pageName:s,params:i}))}function tr(e){var n=e.domainOrSlug,t=e.pageName,i=e.params,a=(0,V.I)($a.G,{variables:{domainOrSlug:n},skip:t!==Ja}),r=a.loading,o=a.error,c=a.data;return l.createElement(ir,{loading:r,error:o,collection:null==c?void 0:c.collection,pageName:t},l.createElement(za,null),l.createElement(Ea.J,{pageName:t,params:i}))}function ir(e){var n=e.loading,t=e.error,i=e.collection,a=e.pageName,r=e.children;return n?l.createElement(qa.x,null):a!==Ja||t||null!=i&&i.id?l.createElement(l.Fragment,null,r):l.createElement(gt,null)}var ar=["ShowTagPostsTop"],rr=function(e){var n=e.params,t=(0,v.zy)().pathname,i=(0,S.W5)(t),a=(0,S.au)(),r=(null==i?void 0:i.route.name)||"";return ar.includes(r)?l.createElement(Te.r,{to:a("ShowTagPosts",{tagSlug:n.tagSlug||""}),temporary:!0}):l.createElement(l.Fragment,null,l.createElement(za,null),l.createElement(Xi,{pageName:"topic",params:n}))},or=l.memo((function(e){var n=e.pageName,t=e.params;switch(n){case"billing-receipt":case"embed-catalog":case"internal-status":case"landing-about":case"landing-b2b":case"landing-gift":case"landing-membership":case"landing-partner-program":case"landing-verified-authors":case"legacy-topic-redirect":case"mastodon-callback":case"mastodon-for-members":case"mobile-web-editor-redirect":case"partner-program-application":case"partner-program-payout-settings":case"partner-program-stripe-finish":case"partner-program-stripe-reconnect":case"partner-program-stripe-reconnect-success":case"partner-program-unenroll":case"publication-design-editor":case"redeem-gift-membership":case"sign-in":case"user-design-editor":return l.createElement(Jt,{pageName:n,params:t});case"cancel-membership":case"collections-library":case"explore-topics":case"import-mailing-list":case"partner-program-dashboard":case"post-settings":case"publication-custom-domain-settings":case"publication-digest-stats":case"publication-newsletter-landing":case"publication-newsletter-promotion":case"publication-newsletter-settings":case"series":case"settings-custom-domain":case"stats-homepage":case"stats-post":case"subscription-stats":case"tag-archive":case"ticks":case"the-trump-45":case"topic-recommended":case"topic-who-to-follow":case"tribute":case"two-factor-auth":case"update-payment":case"writer-subscription-promotion":case"post":return l.createElement(l.Fragment,null,l.createElement(za,null),l.createElement(Xi,{pageName:n,params:t}));case"crupdate-password":case"discount-plans":case"download-app":case"gift-membership":case"group-gift-membership":case"manage-membership":case"manage-membership-confirmation":case"not-available":case"onboarding-plans":case"plans":case"plans-confirmation":case"share-success":case"topics-onboarding":case"unrecognized-account":case"welcome-member":return l.createElement(l.Fragment,null,l.createElement(za,null),l.createElement(ba,{pageName:n,params:t}));case"customize-following":case"customize-reading-history":case"customize-muted":case"customize-suggestions":case"global-unsubscribe-newsletters":case"notifications":case"publication-followers":case"search":case"settings":case"user-about":case"user-books":case"user-catalog":case"user-catalogs":case"user-followers":case"user-following":case"user-profile":case"your-catalog":case"your-catalogs":case"your-followed-catalogs":case"your-reading-history":case"your-stories":return l.createElement(l.Fragment,null,l.createElement(za,null),l.createElement(Ea.J,{pageName:n,params:t}));case"community-publication-archive":case"community-publication-feature":case"community-publication-feature-section":case"community-publication-latest":case"community-publication-stats":case"community-publication-trending":return l.createElement(l.Fragment,null,l.createElement(za,null),l.createElement(Wa,{pageName:n,params:t}));case"publication-about":case"publication-profile":case"publication-tagged":return l.createElement(er,{pageName:n,params:t});case"topic":return l.createElement(rr,{params:t});case"home":return l.createElement(Qa,{params:t});default:throw new Error("Expected ".concat(n," page to be handled in AppLayoutSwitch."))}})),lr=(0,l.memo)((function(){var e=(0,v.zy)(),n=(0,S.W5)(e.pathname),t=(0,S.au)(),i=(0,l.useState)(e),a=(0,C.A)(i,2),r=a[0],o=a[1];if((0,l.useEffect)((function(){o(e)}),[e]),!n)return l.createElement(gt,null);var c=n.params,s=n.route,u=s.mediumAppPage,d=s.name,m=s.redirectTo;if(m){if(!function(e){return Object.values(e).every((function(e){return!!e}))}(c))return k.v.error({params:c},'Route "'.concat(d,'" had invalid params when attempting to redirect')),l.createElement(gt,null);var p=t(m,c);return l.createElement(Te.r,{to:p})}return u?l.createElement(ut,{name:d},l.createElement(tt.x,null,l.createElement(at,{to:e,from:r}),l.createElement(or,{pageName:u,params:c}))):l.createElement(gt,null)})),cr=function(){return null},sr=function(){return(0,G.d4)((function(e){return e.client.viewerIsBot}))?null:l.createElement(Z.Q,{name:"lite_clarity_analytics",placeholder:cr},(function(e){return e?l.createElement(u.mg,null,l.createElement("script",{type:"text/javascript"},'\n(function(c,l,a,r,i,t,y){\n c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};\n t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;\n y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);\n})(window, document, "clarity", "script", "ec8gzbypob");\n')):null}))},ur=t(65138),dr="previous",mr="list",pr=function(){var e=(0,we.$L)(),n=(0,Qe.A)(),t=n.loading,i=n.viewerId;return(0,l.useEffect)((function(){var n;if(e&&i&&!t&&Ne.C.get(dr)!==i&&(Ne.C.set(dr,i),(0,ur.C)(i))){var a=null!==(n=Ne.C.get(mr))&&void 0!==n?n:[];a.includes(i)||(a.push(i),Ne.C.set(mr,a)),a.length>0&&e.event("susi.clientSuccess",{entryPoint:Ne.C.get("susiEntry"),operation:"login"}),a.length<2||e.event("user.multiUserLogin",{entryPoint:Ne.C.get("susiEntry"),itemCount:a.length})}}),[e,i,t]),null},fr=t(82484);function gr(){var e=(0,G.d4)((function(e){var n=e.config;return[n.target,n.version]})),n=(0,C.A)(e,2),t=n[0],i=n[1],a=(0,G.d4)((function(e){var n=e.config.datadog;return[n.applicationId,n.rumToken]})),r=(0,C.A)(a,2),o=r[0],c=r[1],s=(0,Un.Eq)(),u=s.loading,d=s.isEu,m=s.hasAcceptedPrivacyBanner,p=(0,ce.R)().value,f=(0,le.p)("enable_track_user_interactions"),g=f.loading,h=f.value;return(0,l.useEffect)((function(){u||g||fr.L.init({applicationId:o,clientToken:c,site:"datadoghq.com",service:"lite",version:i,env:t,sessionSampleRate:h?100:1,trackUserInteractions:!!h,trackingConsent:!d||p||m?"granted":"not-granted",silentMultipleInit:!0})}),[u,d,m,p,g,h]),null}var hr=t(69979),vr=function(){var e;switch((0,G.d4)((function(e){return e.config.favicon}))){case"development":e="https://miro.medium.com/v2/1*w2NJ5vmw4gu0M5hAHHvsGw@2x.png";break;case"staging":e="https://miro.medium.com/v2/1*Zinnd_ADkbyCCKAWqXK_Vw@2x.png";break;default:e="https://miro.medium.com/v2/5d8de952517e8160e40ef9841c781cdc14a5db313057fa3c3de41c6f5b494b19"}return l.createElement(u.mg,null,l.createElement("link",{rel:"icon",href:e}))},kr={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PublicationFaviconQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainOrSlug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"collection"},name:{kind:"Name",value:"collectionByDomainOrSlug"},arguments:[{kind:"Argument",name:{kind:"Name",value:"domainOrSlug"},value:{kind:"Variable",name:{kind:"Name",value:"domainOrSlug"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"favicon"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},Sr=function(e){var n,t,i=e.domainOrSlug,a=(0,V.I)(kr,{variables:{domainOrSlug:i}}),r=a.data,o=a.error;if(a.loading||o||null==r||null===(n=r.collection)||void 0===n||null===(t=n.favicon)||void 0===t||!t.id)return l.createElement(vr,null);var c=(0,qn.rP)({miroId:r.collection.favicon.id,width:128,height:128,strategy:qn.qY.Crop});return l.createElement(u.mg,null,l.createElement("link",{rel:"icon",href:c}))},br=function(){var e=(0,G.d4)((function(e){return e.navigation.hostname})),n=(0,v.zy)().pathname,t=(0,S.W5)(n);if(!t)return l.createElement(vr,null);if(hr.d.has(t.route.name)){var i=t.params.collectionSlug;return l.createElement(Sr,{domainOrSlug:i||e})}return l.createElement(vr,null)},Er=(0,l.memo)(br);function yr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}var Nr=m()({loader:function(){return t.e(6183).then(t.bind(t,51731))},modules:["src/framework/perf/PerformanceLogger"],webpack:function(){return[51731]},loading:function(){return null}}),wr=function(e){return function(n){return{backgroundColor:e?void 0:n.backgroundColor}}},Pr=function(){var e,n,t,i,r,o,c,s=(0,ln.zF)(),u=(0,N.pE)("updatedPayment"),d=(0,G.d4)((function(e){return e.config.productName})),m=(0,G.d4)((function(e){return e.config.glyphUrl})),f=(0,G.d4)((function(e){return!!e.navigation.susiModal})),h=(0,p.wA)();(0,l.useEffect)((function(){window.__MIDDLEWARE_STATE__&&h((0,b.jT)(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?yr(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({},window.__MIDDLEWARE_STATE__))),h({type:Jn})}),[h]),e=(0,G.d4)((function(e){return e.client.viewerIsBot})),n=(0,ce.R)(),t=n.loading,i=n.error,r=!!n.value,o=(0,Wn.$L)(),c=(0,S.IF)(),l.useEffect((function(){if(o&&!e&&!t&&!i){var n=c(window.location.pathname),a={route:n?n.route.metricName:"unidentified",loggedIn:r,mobileOrTablet:(0,Yn.Gz)(navigator.userAgent)},l=window.performance&&window.performance.timing?{duration:new zn.JW(window.performance.timing.navigationStart,Date.now())}:{};o.reportClientReady(a,l)}}),[e,t,i,r]);var v=(0,nt.L)(),k=(0,ce.R)().value;return(0,_._P)(""),(0,l.useEffect)((function(){(0,re.V$)(!!k)}),[k]),Q(),(0,l.useEffect)((function(){"1"===u&&s({message:"Your payment method has been updated successfully."})}),[u,s]),l.createElement(l.Fragment,null,l.createElement(Nr,null),l.createElement(gr,null),l.createElement(de.U1,null,l.createElement(Gn.A,null,(function(e){return l.createElement("div",{className:e([(0,et.yv)(),wr(v)])},l.createElement(Er,null),l.createElement(Xn,{productName:d}),!v&&l.createElement(xn,null),!v&&l.createElement(Hn,null),l.createElement($n,{glyphUrl:m}),l.createElement(he,null),f&&l.createElement(Mn,null),l.createElement(oe,null),l.createElement(se,null),l.createElement(lr,null),l.createElement(ae,null),l.createElement(g.a,null),l.createElement(ze,null),l.createElement(ee,null),l.createElement(pr,null),l.createElement(sr,null),l.createElement(ue,null))}))))},Or=t(23029),Tr=t(92901),Cr=t(85501),Ar=t(56822),_r=t(53954),Ir=t(6741),Rr=t(28797),Fr=t(5556),Lr=t.n(Fr);var Mr=function(e){(0,Cr.A)(a,e);var n,t,i=(n=a,t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=(0,_r.A)(n);if(t){var a=(0,_r.A)(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return(0,Ar.A)(this,e)});function a(){return(0,Or.A)(this,a),i.apply(this,arguments)}return(0,Tr.A)(a,[{key:"getChildContext",value:function(){return{renderPromises:this.props.renderPromises}}},{key:"render",value:function(){return this.props.children}}]),a}(l.Component);Mr.childContextTypes={renderPromises:Lr().object};var Dr=function(e){var n=e.children,t=e.client,i=(0,Ir.l)();return l.createElement(Rr.X,{client:t},l.createElement(i.Consumer,null,(function(e){var t=e.renderPromises;return l.createElement(Mr,{renderPromises:t},n)})))},xr=t(55364),Ur=t.n(xr),Br=t(48747),jr=t(59106),Vr=t(33242),Hr=t(84824),Gr=t(67194),Wr=t(3902),zr=t(42446);const Yr=JSON.parse('{"s":{"CatalogsConnectionV2":["edges[]","pageInfo"],"Connection":["edges[]","pageInfo"],"BoostNomination":["boostable"],"Post":["boostNomination","awards","collaborators[]","content","dailyStats[]","distributionState","earnings","experimental","extendedPreviewContent","highlights[]","hourlyStats[]","internalLinks","linkMetadataList[]","milestones","postResponses","previewContent","primaryTopicsConnection","privateNotes[]","prototypeNestedResponses[]","readersTopics[]","readersTopicsV2[]","readNext[]","recirc","recommenders[]","referrers[]","responseRootPost","sequence","tags[]","tagsConnection","threadedPostResponseChain[]","threadedPostResponses","tippers","topics[]","topicsConnection","totalStats","voters"],"PartnerProgramEnrollment":["currentStatus","delinquency","permissions"],"CreateCuratorAppraisalSuccess":["quality"],"UpdatePostQualityLabelSuccess":["newQuality"],"UpdateWriterLevelSuccess":["newLogs[]"],"UpdateWriterNoteSuccess":["newNote"],"PostCurationMetadata":["metaFlag","quality","qualityLogs[]"],"MeteringInfo":["postIds[]","previewImageIds[]"],"User":["partnerProgramEligibility","postsConnection","adminCollections[]","audienceStats","authoredBooks[]","clapsStreamConnection","customDomainState","customDomainStateNoCache","dismissableFlags[]","emailSubscriberConnection","followedTags","followedTopics[]","followersUserConnection","followingCollectionConnection","followingEntityConnection","followingUserConnection","geolocation","highlightsStreamConnection","homepagePostsConnection","latestPostsConnection","latestStreamConnection","membershipCharges[]","missionControl","mutedCollectionConnection","mutedUserConnection","navItems[]","postsGivenAwards","postsReceivedAwards","profileStreamConnection","pronouns[]","readingHistory","readingList","responsesStreamConnection","seriesStreamConnection","social","socialStats","taggedPostsConnection","userPostCounts","userPromos","userTaxDocuments","verifications","writerCollections[]"],"DigestsConnection":["edges[]","pageInfo"],"Digest":["posts[]"],"Draft":["imageIds[]","tags[]"],"UserViewerEdge":["earnings","audienceStats","blockedUsers[]","catalogsConnection","followingCatalogsConnection","linkedExternalAccounts","membership","oAuthAccessTokens[]","settings","writerLevelLogs[]","writerNote"],"UserEarnings":["currentBalance","projectedEarnings","listProjectedEarnings[]","transactionHistory"],"ProjectedEarnings":["credits[]","debits[]","subtotal","total"],"ProjectedEarningsSummaryBucket":["total"],"Credit":["amount"],"BonusCredit":["amount"],"PostCredit":["amount"],"ReferralCredit":["amount"],"CorrectionCredit":["amount"],"BaseDebit":["amount"],"Debit":["amount"],"ForfeitureDebit":["amount"],"ProcessingFee":["amount"],"TaxWithholding":["amount"],"PartnerProgramEligibility":["requirements[]"],"PostEarnings":["dailyEarnings[]","total"],"TransactionHistoryConnection":["edges[]","pageInfo"],"TransactionHistoryEdge":["node"],"Transaction":["amount"],"Transfer":["amount","debits[]","grossAmount"],"Discount":["regularPrice"],"Membership":["membershipPlan"],"MembershipPlansResult":["plans[]"],"MembershipPlanV2":["discount","price"],"BillingHistoryConnection":["edges[]","pageInfo"],"MembershipPlansForUpdate":["plans[]"],"UpdateMembershipPlanSuccess":["switchPlanSchedule"],"OnboardingFeaturedUsersConnection":["edges[]","pageInfo"],"Paragraph":["codeBlockMetadata","iframe","markups[]","mixtapeMetadata"],"PostContent":["bodyModel"],"PostVersion":["content"],"PostResponses":["responsesConnection"],"PostTimeline":["years[]"],"PostTimelineMonth":["days[]"],"PostTimelineYear":["months[]"],"PublicationFeeds":["latestPosts","newsletterPosts","taggedPosts"],"PublicationPage":["header","sections[]"],"PublicationPageHeader":["color"],"Publication":["postsConnection","publicationPostsConnection","pages[]","feeds","navigationItems[]","socialNavigationItems[]","followGraph"],"RelayPublicationPostConnection":["edges[]","pageInfo"],"PublicationFeedConnection":["edges[]","pageInfo"],"PublicationFormattedTextSection":["content"],"PublicationPostsSection":["posts[]","tags[]"],"PublicationPromotionSection":["backgroundColor"],"PublicationTagSetSection":["tags[]"],"PublicationUserGroupSection":["users[]"],"ViewedPostsResult":["posts[]"],"FeedItemConnection":["edges[]","pageInfo"],"FeedItemEdge":["node"],"LoggedOutRecommendedPublishersConnection":["edges[]","pageInfo"],"RecommendedPublishersConnection":["edges[]","pageInfo"],"RecommendedTagsConnection":["edges[]","pageInfo"],"AddToPredefinedCatalogSucces":["insertedItem"],"AppConfig":["ios"],"AudienceStats":["timeseries[]","totals"],"Author":["biographies[]","booksConnection","readersUserConnection"],"AuthorBook":["authors[]","isbns[]","links[]"],"AuthorCollectionRecircFeedResult":["items[]","pagingInfo"],"AuthorRecircFeedResult":["items[]","pagingInfo"],"AwardConnection":["awards[]","next"],"BaseRankedModule":["footerWithLink","heading","items[]","metadata","style"],"Book":["editions[]","userConnection"],"BookEdition":["audienceRanges[]","audiences[]","authors[]","collections[]","complexities[]","contentWarnings[]","descriptionObject","extents[]","prizes[]","relatedEditions[]","subjects[]"],"BookEditionDescription":["html","plainText"],"BookEditionViewerEdge":["catalogsConnection","highlightsConnection","license","prices[]"],"BooksConnection":["books[]","paging"],"BooksConnectionPageParams":["ignoredIds[]"],"BooksConnectionPaging":["next","previous"],"Catalog":["itemsConnection","threadedCatalogResponses"],"CatalogClapperConnection":["clappers[]","paging"],"CatalogItem":["userAnnotation"],"CatalogItemsConnection":["items[]","paging"],"CatalogItemV2":["userAnnotation"],"CatalogsConnection":["catalogs[]","paging"],"CatalogsConnectionsContainingEntity":["catalogItemIds[]"],"CatalogsConnectionsPredefinedContainingEntity":["catalogItemIds[]"],"CatalogViewerEdge":["clappers"],"Collection":["colorPalette","customDomainState","customDomainStateNoCache","editors[]","editorsNoteV2","followersUserConnection","homepagePostsConnection","latestPosts[]","latestPostsConnection","navItems[]","permissions","taggedPostsConnection","tags[]"],"CollectionConnection":["collections[]","pagingInfo"],"CollectionRecircFeedResult":["items[]","pagingInfo"],"ColorPalette":["darkBackgroundSpectrum","defaultBackgroundSpectrum","highlightSpectrum","tintBackgroundSpectrum"],"ColorSpectrum":["colorPoints[]"],"ColorValue":["colorPalette"],"CompressedPostListItem":["postSuggestionReasons[]"],"ContentHighlightsConnection":["highlightedQuotes","topHighlights"],"ContentHighlightsResponse":["followingHighlights[]","topHighlights[]","userHighlights[]"],"ContentQuoteHighlightersResponse":["users[]"],"CustomDomainState":["live","pending"],"CustomStyleSheet":["blogroll","global","header","homepage","homepageArticleByline","homepageArticleDate","homepageArticleKicker","homepageArticleSubtitle","homepageArticleTitle","homepageArticleTTR","homepageHeader","homepageName","homepagePinned","homepagePinnedByline","homepagePinnedDate","homepagePinnedKicker","homepagePinnedSubtitle","homepagePinnedTitle","homepagePinnedTTR","homepageTagline","navigation","postBody","postBodyBQ","postBodyDropcap","postBodyH2","postBodyH3","postBodyHR","postBodyIframe","postBodyImage","postBodyImageCaption","postBodyLink","postBodyOLI","postBodyP","postBodyPQ","postBodyPRE","postBodyULI","postHeader","postHeaderByline","postHeaderDate","postHeaderKicker","postHeaderSubtitle","postHeaderTitle","postHeaderTTR"],"Debug":["variantFlagByName","variants[]"],"EbookAssetData":["dependencies[]","fonts[]","viewport"],"EbookAssetDataFont":["properties"],"EbookAssetMeta":["image","pages[]","rendition"],"EbookAssetRendition":["spread"],"EbookContent":["assets[]","latestPings[]","sample","spine[]","tableOfContents[]"],"EbookPing":["position"],"EbookQuote":["end","start"],"EbookSample":["filteredAssets[]","includedAssets[]"],"EbookTableOfContentsItem":["position"],"EditCatalogItemMutationOperationResponse":["append","preprend"],"EditCatalogItemsSuccess":["operations[]"],"EntityCarouselRankedModule":["items[]","metadata"],"EntityCatalogsConnection":["catalogs","catalogsContainingThis[]","predefinedContainingThis[]"],"EntityConnection":["entities[]","pagingInfo"],"ExperimentalPostFeatures":["versions[]"],"ExtendedFeedItem":["metadata"],"ExtendedFeedRankedModule":["extendedFeedItems[]","feedItems[]","metadata"],"FacebookAccountItem":["image"],"FeaturedEntityRankedModule":["featuredPosts[]","metadata"],"FeaturedStoryCarouselRankedModule":["metadata","posts[]"],"FeaturedTopicWriter":["posts"],"FirehoseQuotes":["quotes[]"],"FirehoseResponses":["responses[]","trendingThreads[]"],"FollowedStoriesRankedModule":["items[]","metadata"],"FolloweesWhoFollow":["users[]"],"FontConfigOverrides":["fontSize","lineHeight"],"GFI":["tagIndices[]"],"GlobalStyles":["colorPalette","fonts"],"HeaderNavigation":["navItems[]"],"HeaderNavigationItem":["tags[]","tagSlugs[]"],"HeaderStyles":["appNameColor","backgroundColor","followColor","nameColor","postBackgroundColor","secondaryBackgroundColor","socialColor","taglineColor"],"HighlightedQuote":["followees[]"],"HighlightedQuotesConnection":["highlightedQuotes[]"],"HomeFeedItem":["postProviderExplanation"],"HomeFeedResult":["items[]","pagingInfo"],"HomeSeparator":["primaryAction"],"IntentionalFeedConnection":["items[]","pagingInfo"],"InternalLinksConnection":["items[]","pagingInfo"],"IpAuthLockout":["lockoutInfo"],"LinkedExternalAccounts":["facebookAccount","twitterAccount"],"LinkMetadata":["alts[]"],"Markup":["creatorIds[]","linkMetadata"],"MediumNewsletters":["newsletters[]"],"MembershipStatus":["switchPlanSchedule"],"ModuleItemCollection":["itemFooter"],"ModuleItemPost":["itemFooter"],"ModuleItemTopic":["itemFooter"],"ModuleItemUser":["itemFooter"],"Modules":["modules[]"],"MutationSuccessWithQuery":["query"],"NewsletterV2StatsList":["entries[]"],"NewsletterV3":["publishedPosts[]"],"NewsletterV3UserSettings":["ownedNewsletterCollections[]","ownedNewsletters[]","subscribedNewsletterCollections[]","subscribedNewsletters[]"],"Note":["replies[]"],"Notification":["rollupItems[]"],"NotificationsConnection":["notifications[]","pagingInfo"],"PageParams":["ignoredIds[]"],"Paging":["next","previous"],"PaymentMethod":["missingLocalizationForTaxComputation"],"PaymentMethods":["methods[]"],"PersonalisedTagFeedResult":["items[]","pagingInfo"],"PostConnection":["pagingInfo","posts[]"],"PostCursorConnection":["next","posts[]"],"PostListRankedModule":["footer","metadata","posts[]"],"PostMilestones":["boostedAt[]","milestoneTimeline[]"],"PostPaywall":["creatorSpotlights[]"],"PostPreviewConnection":["pagingInfo","postPreviews[]"],"PostProviderExplanation":["interactedUsers[]"],"PostSuggestionReason":["collections[]","tags[]","topics[]","users[]"],"PostTagsConnection":["edges[]"],"PostTopicsConnection":["edges[]"],"PostViewerEdge":["awardAvailability[]","awardByType","catalogsConnection","curationLock","curationMetadata","fullContent","paywall","recirc"],"PreviewContent":["bodyModel"],"PrimaryPostTopicsConnection":["edge"],"Publisher":["customDomainState","customDomainStateNoCache","followersUserConnection","homepagePostsConnection","taggedPostsConnection"],"PurchaseConnection":["paging","purchases[]"],"PurchaseConnectionPaging":["next","previous"],"Quote":["paragraphs[]"],"RankedModuleMetadata":["heading"],"RecentFromFollowedEntitiesItem":["postIds[]","posts[]"],"RecentlyUpdatedEntitiesRankedModule":["items[]","metadata"],"RecircItemConnection":["items[]","pagingInfo"],"Referrer":["internal","search","site"],"RexRecircItem":["postProviderExplanation"],"RexRecircResult":["items[]","pagingInfo"],"RichText":["paragraphs[]","sections[]"],"Section":["backgroundVideo"],"Sequence":["postIds[]"],"StaffPicksFeedResult":["items[]","pagingInfo"],"StreamConnection":["pagingInfo","stream[]"],"StreamItemCompressedPostList":["heading","items[]"],"StreamItemEntityCarousel":["heading","items[]"],"StreamItemHeading":["heading"],"StreamItemPillbox":["entities[]","pillIndices[]"],"StreamItemPostPreview":["postSuggestionReasons[]"],"StreamItemQuoteList":["heading","items[]"],"StreamItemRecentFromFollowedEntitiesSection":["heading","items[]"],"StreamItemSection":["heading","items[]"],"StreamItemSequence":["sequence"],"StreamItemSeriesHeroCarousel":["cards[]"],"StyleNode":["container","type"],"StyleSheetColorPalette":["background","primary"],"StyleSheetFonts":["font1","font2","font3"],"SubscriberConnection":["pagingInfo","subscribers[]"],"SuggestedPost":["postSuggestionReasons[]"],"SuggestionReasonUser":["image"],"TaggedPostConnection":["pagingInfo","posts[]"],"ThreadedCatalogResponseConnection":["pagingInfo","posts[]"],"ThreadedPostResponseConnection":["autoExpandedPostIds[]","pagingInfo","posts[]"],"TippersResult":["users"],"TopHighlight":["followees[]"],"TopHighlightsConnection":["topHighlights[]"],"Topic":["featuredPosts","featuredTopicWriters[]","latestPosts","popularPosts","relatedTopics[]"],"Topics":["all[]"],"TrendingPostsContent":["pagingInfo","posts[]"],"TwitterAccountItem":["image"],"UserConnection":["pagingInfo","users[]"],"UserCursorConnection":["next","users[]"],"UserFollowedTags":["pagingInfo","tags[]"],"UserMeta":["collections[]","topWriterInTags[]","userSuggestionReason"],"UserMissionControl":["authorPreview","counts","readingHistoryPreview[]"],"UserPromos":["promos[]"],"UserReadingHistory":["postPreviewConnection"],"UserReadingList":["counts","postPreviewConnection"],"UserSocialLogins":["userAvatar"],"UserUsernameAvailability":["usernames[]"],"Visitor":["geolocation"],"VoterConnection":["items[]","pagingInfo"],"SearchBookEdition":["items[]","pagingInfo"],"SearchCatalog":["items[]","pagingInfo"],"SearchCollection":["items[]","pagingInfo"],"SearchCommonResult":["pagingInfo"],"SearchPeople":["items[]","pagingInfo"],"SearchPost":["items[]","pagingInfo"],"SearchReferrer":["keywords[]"],"SearchTag":["items[]","pagingInfo"],"AggregatePostTimeseriesStats":["points[]","totalStats"],"PostStatsBreakdown":["statsBreakdownByMemberTier[]","total"],"PostStatsByMemberTier":["stats"],"PostStatsPoint":["stats"],"TagCatalogConnection":["edges[]","pageInfo"],"TagPostConnection":["edges[]","pageInfo"],"TagRecommendedFollowConnection":["edges[]","pageInfo"],"Tag":["childTags[]","curatedLists","posts","postTimelines","recommendedFollows","recommendedLists","tagFeatures"],"TagFeedItem":["postProviderExplanation"],"TagFeedResult":["items[]","pagingInfo"],"TagPostTimelines":["allPosts","mostReadPosts"],"TagViewerEdge":["recommendedPostsFeed"],"LinkedAccounts":["viewerEdge"],"MastodonAccountValidationError":["problems[]"],"RelayPostConnection":["pageInfo","edges[]"],"PostStatsDailyBundle":["buckets[]"],"PostStatsTotalBundlesConnection":["edges[]","pageInfo"],"PostStatsTotalBundleEdge":["node"]},"P":{"Catalog":"Catalog","CatalogEdge.node":"Catalog","Node":"Node","Edge.node":"Node","User":"User","BoostNomination.nominator":"User","Collection":"Collection","Post.collection":"Collection","Post.creator":"User","CustomStyleSheet":"CustomStyleSheet","Post.customStyleSheet":"CustomStyleSheet","MediaResource":"MediaResource","Post.inResponseToMediaResource":"MediaResource","Post":"Post","Post.inResponseToPost":"Post","Post.pendingCollection":"Collection","ImageMetadata":"ImageMetadata","Post.previewImage":"ImageMetadata","Topic":"Topic","Post.primaryTopic":"Topic","Post.translationSourcePost":"Post","PostViewerEdge":"PostViewerEdge","Post.viewerEdge":"PostViewerEdge","PostCurationLock.lockedBy":"User","MetaFlag.flaggedBy":"User","PostCurationMetadataQuality.curator":"User","PostCurationMetadataQualityLog.curator":"User","NextPostInTrueQualityQueue.post":"Post","WriterLevelLog.curator":"User","WriterNote.lastUpdatedBy":"User","PartnerProgramEnrollment":"PartnerProgramEnrollment","User.partnerProgramEnrollment":"PartnerProgramEnrollment","Membership":"Membership","User.membership":"Membership","Author":"Author","User.bookAuthor":"Author","User.customStyleSheet":"CustomStyleSheet","LinkedAccounts":"LinkedAccounts","User.linkedAccounts":"LinkedAccounts","NewsletterV3":"NewsletterV3","User.newsletterV3":"NewsletterV3","UserMeta":"UserMeta","User.userMeta":"UserMeta","UserViewerEdge":"UserViewerEdge","User.viewerEdge":"UserViewerEdge","Digest":"Digest","DigestEdge.node":"Digest","Digest.user":"User","Draft.collection":"Collection","Draft.creator":"User","PayoutAccount":"PayoutAccount","Transfer.account":"PayoutAccount","MembershipPlanV2":"MembershipPlanV2","MembershipPlanUpdatePreviewV2.plan":"MembershipPlanV2","MembershipV2.plan":"MembershipPlanV2","ChargeV2":"ChargeV2","ChargeV2Edge.node":"ChargeV2","MembershipPlanForUpdate.plan":"MembershipPlanV2","SwitchPlanSchedule.plan":"MembershipPlanV2","OnboardingFeaturedUsersEdge.node":"User","Paragraph.dropCapImage":"ImageMetadata","Paragraph.metadata":"ImageMetadata","PostContent.shareKeyCreator":"User","Publication":"Publication","PublicationFollowGraph.publication":"Publication","PublicationNavigationItem.icon":"ImageMetadata","PublicationPageHeader.backgroundImage":"ImageMetadata","Publication.avatar":"ImageMetadata","PublicationPage":"PublicationPage","Publication.homepage":"PublicationPage","Publication.aboutPage":"PublicationPage","Publication.newsletter":"NewsletterV3","RelayPublicationPostEdge.node":"Post","PublicationPostEdge.node":"Post","ViewedPost.post":"Post","Tag":"Tag","RecommendedTagEdge.node":"Tag","Author.user":"User","Award.post":"Post","Award.user":"User","BookAuthor.user":"User","Book":"Book","BookEdition.book":"Book","BookEditionViewerEdge":"BookEditionViewerEdge","BookEdition.viewerEdge":"BookEditionViewerEdge","Catalog.creator":"User","CatalogViewerEdge":"CatalogViewerEdge","Catalog.viewerEdge":"CatalogViewerEdge","CatalogClapper.user":"User","CatalogItem.post":"Post","CatalogPagingCursor":"CatalogPagingCursor","CatalogPagingResult.nextPageCursor":"CatalogPagingCursor","Charge.membership":"Membership","Charge.plan":"MembershipPlanV2","EditionPrice":"EditionPrice","CheckoutNotAvailable.price":"EditionPrice","Collaborator.user":"User","Collection.avatar":"ImageMetadata","Collection.creator":"User","Collection.customStyleSheet":"CustomStyleSheet","Collection.draftStyleSheet":"CustomStyleSheet","Collection.favicon":"ImageMetadata","Collection.legacyHeaderBackgroundImage":"ImageMetadata","Collection.logo":"ImageMetadata","Collection.newsletterV3":"NewsletterV3","Collection.polarisCoverImage":"ImageMetadata","CollectionViewerEdge":"CollectionViewerEdge","Collection.viewerEdge":"CollectionViewerEdge","CollectionMastheadUserItem.user":"User","CompressedPostListItem.post":"Post","BookEdition":"BookEdition","EditionPrice.edition":"BookEdition","ExtendedFeedItem.post":"Post","ExtendedFeedItemRankMetadata.topic":"Topic","FeaturedTopicWriter.user":"User","GiftMembershipRedeemed.membership":"Membership","HeaderStyles.backgroundImage":"ImageMetadata","HeaderStyles.logoImage":"ImageMetadata","Highlight.user":"User","Highlight":"Highlight","HighlightedQuote.myHighlight":"Highlight","HomeFeedItem.post":"Post","Iframe.mediaResource":"MediaResource","MediaResource.mediumCatalog":"Catalog","MediaResource.mediumPost":"Post","Quote":"Quote","MediaResource.mediumQuote":"Quote","MembershipStatus.planV2":"MembershipPlanV2","MixtapeMetadata.mediaResource":"MediaResource","ModuleItemCollection.collection":"Collection","ModuleItemPost.post":"Post","ModuleItemTopic.tag":"Tag","ModuleItemTopic.topic":"Topic","ModuleItemUser.user":"User","NewsletterV3.collection":"Collection","NewsletterV3.user":"User","NewsletterV3ViewerEdge":"NewsletterV3ViewerEdge","NewsletterV3.viewerEdge":"NewsletterV3ViewerEdge","Note.anchorImage":"ImageMetadata","Note.author":"User","Note.post":"Post","NoteReply.author":"User","Notification.actor":"User","Notification.catalog":"Catalog","Notification.collection":"Collection","Note":"Note","Notification.note":"Note","NoteReply":"NoteReply","Notification.noteReply":"NoteReply","Notification.post":"Post","Notification.quote":"Quote","Notification.responsePost":"Post","PostPreview.post":"Post","PostProviderExplanation.collection":"Collection","PostProviderExplanation.tagObject":"Tag","PostProviderExplanation.topic":"Topic","PostProviderExplanation.user":"User","PostTagsEdge.node":"Tag","PostTopicsEdge.classifiedBy":"User","PostTopicsEdge.node":"Topic","Publisher.customStyleSheet":"CustomStyleSheet","Quote.post":"Post","Paragraph":"Paragraph","Quote.quoteParagraphPreview":"Paragraph","Quote.user":"User","QuoteListItem.quote":"Quote","RankedModuleFollowedStoriesItem.post":"Post","ReadersTopic.topic":"Topic","ReadersTopicV2.tag":"Tag","ReadNextItem.post":"Post","RecentFromFollowedCollectionEntity.collection":"Collection","RecentFromFollowedCreatorEntity.creator":"User","RelatedTopic.topic":"Topic","ResponseRootPost.post":"Post","RexRecircItem.post":"Post","Section.backgroundImage":"ImageMetadata","Sequence.coverImage":"ImageMetadata","Sequence.featuredUser":"User","Sequence.tabletImage":"ImageMetadata","Sequence.thumbnailImage":"ImageMetadata","SeriesCarouselHeroCard.post":"Post","StreamItemCollectionPreview.collection":"Collection","StreamItemPostPreview.post":"Post","StreamItemPostSimpleResponse.post":"Post","StreamItemPostStoryResponse.post":"Post","StreamItemQuotePreview.quote":"Quote","StreamItemSeriesGridCard.post":"Post","StreamItemUserPreview.user":"User","SuggestedPost.post":"Post","Topic.image":"ImageMetadata","TopicViewerEdge":"TopicViewerEdge","Topic.viewerEdge":"TopicViewerEdge","TrendingPostsContent.topic":"Topic","TrendingThread.post":"Post","VoterItem.user":"User","TagCatalogEdge.node":"Catalog","TagPostEdge.node":"Post","Tag.parentTag":"Tag","TagViewerEdge":"TagViewerEdge","Tag.viewerEdge":"TagViewerEdge","TagFeedItem.post":"Post","MastodonAccount":"MastodonAccount","LinkedAccounts.mastodon":"MastodonAccount","LinkedAccountsViewerEdge.mediumMastodon":"MastodonAccount","RelayPostEdge.node":"Post","PostStatsTotalBundle.post":"Post"}}');function qr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Kr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?qr(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):qr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Qr={kind:"Field",name:{kind:"Name",value:"id"}},Xr=Yr.P,Zr=function(e){(0,Cr.A)(a,e);var n,t,i=(n=a,t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=(0,_r.A)(n);if(t){var a=(0,_r.A)(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return(0,Ar.A)(this,e)});function a(){var e;(0,Or.A)(this,a);for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];return(e=i.call.apply(i,[this].concat(t))).documentCache=new Map,e}return(0,Tr.A)(a,[{key:"transformDocument",value:function(e){var n=this.documentCache.get(e);return n||(n=function(e){return(0,zr.YR)((0,Hr.sw)(e),{SelectionSet:{enter:function(e,n,t,i,a){if(!t||"OperationDefinition"!==t.kind){var r=e.selections;if(r&&!r.some((function(e){return(0,Gr.dt)(e)&&"id"===e.name.value}))){var o=a[1][i[1]];if("FragmentDefinition"===o.kind){for(var l=[o.typeCondition.name.value],c=i.indexOf("selections")+1;c>0&&!(a.length<=c);c=i.indexOf("selections",c)+1){var s=a[c][i[c]];if("Field"===s.kind)l.push(s.name.value);else{if("InlineFragment"!==s.kind)return;var u;s.typeCondition&&(l=[null===(u=s.typeCondition)||void 0===u?void 0:u.name.value])}}for(;l.length>2&&"".concat(l[0],".").concat(l[1])in Xr;)l=[Xr["".concat(l[0],".").concat(l[1])]].concat((0,h.A)(l.slice(2)));if(Xr[l.join(".")])return Kr(Kr({},e),{},{selections:[].concat((0,h.A)(r),[Qr])})}}}}}})}((0,Wr.XY)(e)),this.documentCache.set(e,n),this.documentCache.set(n,n)),n}}]),a}(Vr.D),$r=t(91188);function Jr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function eo(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Jr(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Jr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function no(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function to(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?no(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):no(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var io={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"userByUserIdNormalizingQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"user"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},ao={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"userByUsernameNormalizingQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"username"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"user"},arguments:[{kind:"Argument",name:{kind:"Name",value:"username"},value:{kind:"Variable",name:{kind:"Name",value:"username"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},ro={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"userResultByUserIdNormalizingQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userResult"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},oo={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"userResultByUsernameNormalizingQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"username"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userResult"},arguments:[{kind:"Argument",name:{kind:"Name",value:"username"},value:{kind:"Variable",name:{kind:"Name",value:"username"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},lo=t(73927),co=t(11054),so={Query:{fields:{notificationsConnectionByActivityTypes:{keyArgs:function(e,n){var t,i,a=n.field,r=[];null!=e&&e.activityTypes&&r.push(["actitivityTypes",e.activityTypes.join(",")]);var o=(0,co.z)(r),l=null!==(t=null==a||null===(i=a.alias)||void 0===i?void 0:i.value)&&void 0!==t?t:"";return"".concat(l).concat(o?"(".concat(o,")"):"")},merge:(0,co.L)("notifications",["notificationName"])}}}},uo={Post:{fields:{threadedPostResponses:{keyArgs:["paging",["limit"],"sortType"],merge:(0,co.L)("posts",["id"])},voters:{keyArgs:["paging",["limit"]],merge:(0,co.L)("items",["user","id"])}}}},mo=t(867);function po(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function fo(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?po(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):po(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var go={keyArgs:function(e,n){var t,i,a=n.field,r=null!=e&&null!==(t=e.paging)&&void 0!==t&&t.limit?"(limit:".concat(e.paging.limit,")"):"";return"".concat((null==a||null===(i=a.alias)||void 0===i?void 0:i.value)||"").concat(r)},merge:(0,co.L)("tags",["id"])},ho={keyArgs:["paging",["limit"],"includeDistributedResponses"],merge:(0,co.L)("posts",["id"])},vo={keyArgs:!1,merge:(0,co.L)("users",["id"])},ko={keyArgs:!1,merge:(0,co.L)("users",["id"])},So={fields:{homepagePostsConnection:ho,followersUserConnection:vo,taggedPostsConnection:{keyArgs:["paging",["limit"],"tag"],merge:(0,co.L)("posts",["id"])},followingUserConnection:ko}},bo={Collection:So,Publisher:So,User:{fields:fo(fo({},So.fields),{},{followingEntityConnection:{keyArgs:["paging",["limit"]],merge:(0,co.L)("entities",["id"])},followedTags:go,postsConnection:(0,mo.NB)(["first","orderBy","filter","timeRange",["startAt","endAt"]])})}},Eo={Query:{fields:{sequenceStreamConnection:{keyArgs:!1,merge:(0,co.L)("stream",["itemType","sequence","slug"])},trending:{keyArgs:["mode","topic"],merge:(0,co.L)("posts",["id"])},publicationPostFeed:(0,mo.NB)(["options"]),billingHistory:(0,mo.NB)()}}},yo=function(e,n){var t,i=n.variables,a=n.fieldName,r=null!==(t=null==i?void 0:i.query)&&void 0!==t?t:"",o=Object.keys(e.algoliaOptions||{}).sort().map((function(n){return"".concat(n,":").concat(e.algoliaOptions[n])})).join(","),l="".concat(a,"-").concat(r),c="(limit:".concat(e.pagingOptions.limit,")"),s="(algoliaOptions:".concat(o,")"),u="(searchInCollection:".concat(!(null==i||!i.searchInCollection),")");return"".concat(l).concat(c).concat(s).concat(u)},No={Search:{keyFields:[],fields:{tags:{keyArgs:yo,merge:(0,co.L)("items",["id"])},people:{keyArgs:yo,merge:(0,co.L)("items",["id"])},collections:{keyArgs:yo,merge:(0,co.L)("items",["id"])},posts:{keyArgs:yo,merge:(0,co.L)("items",["id"])},catalogs:{keyArgs:yo,merge:(0,co.L)("items",["id"])}}}},wo={Topic:{fields:{latestPosts:{keyArgs:!1,merge:(0,co.L)("postPreviews",["postId"])}}}},Po={UserViewerEdge:{fields:{emailSubscriberConnection:{keyArgs:!1,merge:(0,co.L)("subscribers",["id"])}}}};const Oo=JSON.parse('{"v":{"AddToPredefinedCatalogResult":["AddToPredefinedCatalogSucces","BadRequest","Unauthorized"],"AddTopicPostRelationResult":["MutationSuccessWithQuery","Unauthorized"],"AuthorResult":["Author","NotFound"],"BillingHistoryResult":["BadRequest","BillingHistoryConnection","Unauthorized"],"BookEditionResult":["BookEdition","NotFound"],"BookPurchaseResult":["BadRequest","Forbidden","MutationSuccess","NotFound","Unauthorized"],"BookResult":["Book","NotFound"],"Boostable":["Post"],"CancelMembershipResult":["MutationSuccess","NotFound","Unauthorized"],"CatalogEntity":["BookEdition","Post","User"],"CatalogResult":["Catalog","Forbidden","NotFound"],"ChargeV2Result":["BadRequest","ChargeV2","Forbidden","NotFound","Unauthorized"],"CheckoutResult":["CheckoutNotAvailable","CheckoutSuccess","Forbidden","MissingLocalizationInformation","NotFound","Unauthorized"],"ClapCatalogResult":["BadRequest","Catalog","NotFound","Unauthorized"],"ConnectMastodonInstanceResult":["MastodonInstance","MastodonInstanceConnectionError"],"Connection":["BillingHistoryConnection","PublicationFeedConnection","RelayPostConnection","RelayPublicationPostConnection"],"CreateAccountResult":["AlreadyExists","AppleIdAlreadyExists","AuthInfo","BadRequest","FacebookIdAlreadyExists","Forbidden","GoogleIdAlreadyExists","TwitterIdAlreadyExists","UserCreationRateLimited"],"CreateBoostNominationResult":["BoostNomination","Unauthorized"],"CreateCatalogResult":["BadRequest","Catalog","Unauthorized"],"CreateCuratorAppraisalResult":["CreateCuratorAppraisalSuccess","Unauthorized"],"CreateHighlightResult":["Highlight","NotFound"],"CreatePaymentMethodResult":["BadRequest","PaymentError","PaymentMethod","Unauthorized"],"CreatePayoutAccountResult":["BadRequest","StripeAccount","Unauthorized"],"CreatePostShareKeyResult":["Forbidden","PostShareKey","RateLimited"],"Credit":["BonusCredit","CorrectionCredit","PostCredit","ReferralCredit"],"CurationAccessRightsResult":["CurationAccessRights","Unauthorized"],"CustomDomainLinkResult":["AlreadyExists","CustomDomain","CustomDomainFailure"],"CustomStyleSheetUpdateResult":["BadRequest","Conflict","CustomStyleSheet","NotFound"],"Debit":["BaseDebit","ForfeitureDebit","ProcessingFee","TaxWithholding"],"DeleteCatalogResult":["Forbidden","MutationSuccess","NotFound"],"DeleteExternalAccountResult":["MutationSuccess","Unauthorized"],"DeleteMembershipPaymentMethodResult":["BadRequest","Forbidden","MutationSuccess","NotFound"],"DeleteSelfIssuedAccessTokenResult":["MutationSuccess","Unauthorized"],"DeleteTopicPostRelationResult":["MutationSuccessWithQuery","Unauthorized"],"DigestsConnectionResponse":["DigestsConnection","Unauthorized"],"DraftResult":["Draft","NotFound","Unauthorized"],"EbookAssetDataResult":["EbookAssetData","Forbidden","NotFound","ServiceUnavailable"],"Edge":["ChargeV2Edge","PublicationPostEdge","RelayPostEdge","RelayPublicationPostEdge"],"EditCatalogItemAnnotationResult":["BadRequest","CatalogItemV2","Forbidden","NotFound"],"EditCatalogItemsResult":["BadRequest","EditCatalogItemsSuccess","Forbidden","NotFound"],"EditionAudienceRange":["EditionAudienceRangeEndOnly","EditionAudienceRangeFull","EditionAudienceRangeStartOnly"],"EditionContent":["AudiobookContent","EbookContent"],"EditionPriceResult":["EditionPrice","NotFound"],"EntityCarouselType":["Collection","User"],"EntityType":["RecentFromFollowedCollectionEntity","RecentFromFollowedCreatorEntity"],"FollowCatalogMutationResult":["BadRequest","Forbidden","MutationSuccess","NotFound","Unauthorized"],"FollowPublicationMutationResult":["BadRequest","Forbidden","MutationSuccess","NotFound","Unauthorized"],"FollowedEntity":["Collection","User"],"GiveTipToPostResult":["BadRequest","Forbidden","MutationSuccess","NotFound","Unauthorized"],"GrantAwardToPostResult":["AlreadyExists","Award","BadRequest","Forbidden","Unauthorized"],"HeadingType":["HeadingBasic","HeadingDismissible","HeadingWithAction","HeadingWithLink","HeadingWithSubtitle"],"HighlightQuote":["EbookQuote","PostQuote"],"IntentionalFeedItem":["BaseRankedModule","Heading","HomeFeedItem","HomeSeparator","RecentlyUpdatedEntitiesRankedModule"],"IsEditionPriceValidInCountryResult":["IsEditionPriceValidInCountry","NotFound"],"LinkMobileDeviceResult":["MutationSuccess","Unauthorized"],"LoggedOutRecommendedPublishersConnectionEdgeNode":["Collection","User"],"LoginUserResult":["AuthInfo","AuthToken","IpAuthLockout","MissingOAuthTokens","NotFound"],"MagicLinkPreferredResult":["NotFound","PrefersMagicLink"],"MembershipActivationStatusResult":["BadRequest","Forbidden","MembershipActivation","NotFound","Unauthorized"],"MembershipPlanUpdatePreviewResult":["BadRequest","Forbidden","MembershipPlanUpdatePreviewV2","NotFound","Unauthorized"],"MembershipPlansForUpdateResult":["BadRequest","MembershipPlansForUpdate","NotFound","Unauthorized"],"MilestoneType":["PostMilestoneDistributionUserDisabled","PostMilestoneDistributionUserEnabled"],"ModulesResult":["GraphqlEmptyId","Modules"],"MutationCreateUserNewsletterV3Result":["BadRequest","Forbidden","NewsletterV3","NotFound","Unauthorized"],"MutationDisableImportForEmailResult":["BadRequest","Forbidden","MutationSuccess","NotFound","Unauthorized"],"MutationGlobalUnsubscribeNewsletterResult":["BadRequest","Forbidden","MutationSuccess","NotFound","Unauthorized"],"MutationLeaveCollectionResult":["Forbidden","MutationSuccess","NotFound"],"MutationUpdatePartialNewsletterV3Result":["BadRequest","Forbidden","MutationSuccess","NotFound","Unauthorized"],"NewsletterV2StatsListResult":["Forbidden","NewsletterV2StatsList"],"NextPostInTrueQualityQueueResult":["EmptyQueue","NextPostInTrueQualityQueue","NoAssignedTagsError"],"Node":["ChargeV2","Post","User"],"PartnerProgramEnrollmentQueryResult":["NotFound","PartnerProgramEnrollment","Unauthorized"],"PartnerProgramEnrollmentUpdateResult":["BadRequest","PartnerProgramEnrollment","Unauthorized"],"PaymentMethodKind":["ApplePayCard","CreditCard","GooglePayCard","PaypalAccount"],"PaymentMethodResult":["Forbidden","NotFound","PaymentMethod","Unauthorized"],"PaymentMethodsResult":["Forbidden","PaymentMethods","Unauthorized"],"PaymentProviderClientTokenResult":["BadRequest","PaymentProviderClientToken","Unauthorized"],"PayoutAccount":["StripeAccount"],"PayoutAccountResult":["NotFound","StripeAccount","Unauthorized"],"People":["Author","User"],"PostResult":["AccountDeleted","AccountSuspended","Blocked","Blocking","GraphqlEmptyId","NotFound","Post","PostSuspended","RemovedByUser","Unauthorized","UnavailableForLegalReasons","WithheldInCountry"],"PostStatsTotalBundlesConnectionResponse":["PostStatsTotalBundlesConnection","Unauthorized"],"PublicationAggregateTimeseriesStatsResponse":["AggregatePostTimeseriesStats","Unauthorized"],"PublicationSection":["PublicationFormattedTextSection","PublicationPostsSection","PublicationPromotionSection","PublicationTagSetSection","PublicationUserGroupSection"],"PublishCatalogResponseResult":["BadRequest","Forbidden","NotFound","Post"],"PublishHighlightResponseResult":["Forbidden","NotFound","Post"],"Publisher":["Collection","User"],"PurchaseMembershipResult":["BadRequest","Forbidden","MembershipV2","PaymentMethodDeclined","StripeAsyncData","StripeClientSecret","Unauthorized"],"PutPaymentMethodLocalizationResult":["BadRequest","MutationSuccess"],"RankedModule":["BaseRankedModule","EntityCarouselRankedModule","ExtendedFeedRankedModule","FeaturedEntityRankedModule","FeaturedStoryCarouselRankedModule","FollowedStoriesRankedModule","PostListRankedModule","RecentlyUpdatedEntitiesRankedModule"],"RankedModuleItem":["ModuleItemCollection","ModuleItemPost","ModuleItemTopic","ModuleItemUser"],"RankedModulePublishingEntity":["Collection","User"],"RecircItem":["Post","SuggestedPost"],"RecommendedPublishersConnectionEdgeNode":["Collection","User"],"SearchBookEditionResult":["SearchBookEdition","ServiceUnavailable"],"SearchCatalogResult":["SearchCatalog","ServiceUnavailable"],"SearchCollectionResult":["SearchCollection","ServiceUnavailable"],"SearchCommonResult":["SearchBookEdition","SearchCatalog","SearchCollection","SearchPeople","SearchPost","SearchTag"],"SearchPeopleResult":["SearchPeople","ServiceUnavailable"],"SearchPostResult":["SearchPost","ServiceUnavailable"],"SearchResult":["BadRequest","NotFound","Search"],"SearchTagResult":["SearchTag","ServiceUnavailable"],"SectionItemType":["Post","Topic"],"SelfIssuedAccessTokenResult":["OAuthAccessToken","Unauthorized"],"SendAcctAuthEmailResult":["BadRequest","FailedChallenge","NotFound","SusiMethod"],"SendExplicitSignalResult":["MutationSuccess","Unauthorized"],"SetPostPinnedOnCreatorProfileResult":["BadRequest","MaxPinnedStoriesReached","MutationSuccess","NotFound"],"SetPostPublishedResult":["AccountSuspended","MutationSuccess","NotFound","PublishingRestrictedBannedLinks","RateLimited"],"SetUserPronounsResult":["BadRequest","MutationSuccess","Unauthorized"],"SetupPaymentMethodResult":["Forbidden","MutationSuccess","PaymentMethodDeclined","StripeClientSecret","Unauthorized"],"StageUpdatePostFeaturedImageResult":["MutationSuccess","NotFound","Unauthorized"],"StageUpdatePostMetadataResult":["MutationSuccess","NotFound","Unauthorized"],"StreamItemType":["StreamItemCollectionPreview","StreamItemCompressedPostList","StreamItemEntityCarousel","StreamItemHeading","StreamItemPillbox","StreamItemPostPreview","StreamItemPostSimpleResponse","StreamItemPostStoryResponse","StreamItemQuoteList","StreamItemQuotePreview","StreamItemRecentFromFollowedEntitiesSection","StreamItemSection","StreamItemSequence","StreamItemSeriesGridCard","StreamItemSeriesHeroCarousel","StreamItemUserPreview"],"SubscribeSessionToCatalogResult":["Forbidden","MutationSuccess","NotFound","Unauthorized"],"SubscriberConnectionResult":["BadRequest","Forbidden","NotFound","SubscriberConnection","Unauthorized"],"TagRecommendedFollow":["Publication","User"],"Transaction":["BaseDebit","BonusCredit","CorrectionCredit","ForfeitureDebit","PostCredit","ProcessingFee","ReferralCredit","TaxWithholding","Transfer"],"UncancelMembershipResult":["BadRequest","MutationSuccess","NotFound","Unauthorized"],"UnlinkMobileDeviceResult":["MutationSuccess","NotFound","Unauthorized"],"UnsubscribeFromAllNewsletterV3Result":["MutationSuccess","Unauthorized"],"UnsubscribeSessionFromCatalogResult":["MutationSuccess","NotFound","Unauthorized"],"UpdateAndroidMembershipPlanResult":["BadRequest","Conflict","Forbidden","MutationSuccess","NotFound","Unauthorized"],"UpdateCatalogResult":["BadRequest","Catalog","Forbidden","NotFound"],"UpdateMembershipPlanResult":["BadRequest","Conflict","Forbidden","NotFound","Unauthorized","UpdateMembershipPlanSuccess"],"UpdatePostMetaFlagResult":["MutationSuccessWithQuery","Unauthorized"],"UpdatePostQualityLabelResult":["Unauthorized","UpdatePostQualityLabelSuccess"],"UpdateStringSettingResult":["BadRequest","Conflict","Forbidden","MutationSuccess","RateLimited","Unauthorized"],"UpdateUserTippingLinkResult":["BadRequest","MutationSuccess","Unauthorized"],"UpdateWriterLevelResult":["MutationSuccessWithQuery","Unauthorized","UpdateWriterLevelSuccess"],"UpdateWriterNoteResult":["MutationSuccessWithQuery","Unauthorized","UpdateWriterNoteSuccess"],"UserAddPaymentMethodResult":["BadRequest","NotFound","PaymentMethodAdded","PaymentMethodDeclined","ServiceUnavailable","TooManyRequests","Unauthorized"],"UserBookPurchasesResult":["Forbidden","NotFound","PurchaseConnection","Unauthorized"],"UserConnectMastodonAccountResult":["MastodonAccount","MastodonAccountConnectionError"],"UserCreateMastodonAccountResult":["MastodonAccount","MastodonAccountValidationError"],"UserMediumNewslettersResult":["Forbidden","MediumNewsletters"],"UserNavItemType":["UserNavItemTypeSystemItem"],"UserPostsAggregateTimeseriesStatsResponse":["AggregatePostTimeseriesStats","Unauthorized"],"UserPurchaseGiftMembershipResult":["BadRequest","GiftMembershipPurchased","PaymentMethodDeclined","ServiceUnavailable","TooManyRequests","Unauthorized"],"UserRedeemGiftMembershipResult":["BadRequest","GiftMembershipRedeemed","TooManyRequests"],"UserResult":["AccountSuspended","Blocked","GraphqlEmptyId","NotFound","Suspended","User"],"UserSuggestionReasonType":["FolloweesWhoFollow","Topic"],"UserUsernameAvailabilityResult":["BadRequest","Conflict","UserUsernameAvailability"],"VariantFlagValueType":["VariantFlagBoolean","VariantFlagNumber","VariantFlagString"],"VariantFlagWithCustomIDsResult":["NotFound","VariantFlag"],"VerifyLoginCodeResult":["BadRequest","NotFound","RateLimited","Token","TooManyRequests"]}}');var To={Query:{fields:{webRecommendedFeed:{keyArgs:!1,merge:(0,co.L)("items",["post","id"])},followingFeed:{keyArgs:["sortType"],merge:(0,co.L)("items",["post","id"])},staffPicksFeed:{keyArgs:[],merge:(0,co.L)("items",["post","id"])}}}},Co={Query:{fields:{membershipPlans:{keyArgs:!1}}}},Ao={Publication:{fields:{postsConnection:(0,mo.NB)(["first","orderBy","filter"]),publicationPostsConnection:(0,mo.NB)(["first","orderBy","filter"])}},PublicationFeeds:{fields:{taggedPosts:(0,mo.NB)(["tagSlugs"]),latestPosts:(0,mo.NB)(),newsletterPosts:(0,mo.NB)()}}},_o={Query:{fields:{postStatsTotalBundle:{keyArgs:["postStatsTotalBundleInput",["postId"]]}}},PostStatsTotalBundle:{keyFields:["post",["id"]]}},Io={keyArgs:function(e,n){var t,i,a,r=n.field,o=[];null!=e&&e.mode&&o.push(["mode",e.mode]),null!=e&&e.tagSlug&&o.push(["tagSlug",e.tagSlug]),null!=e&&null!==(t=e.paging)&&void 0!==t&&t.limit&&o.push(["limit",e.paging.limit]);var l=(0,co.z)(o),c=null!==(i=null==r||null===(a=r.alias)||void 0===a?void 0:a.value)&&void 0!==i?i:"";return"".concat(c).concat(l?"(".concat(l,")"):"")},merge:(0,co.L)("items",["post","id"])},Ro={Query:{fields:{tagFeed:Io,personalisedTagFeed:Io}},TagViewerEdge:{fields:{recommendedPostsFeed:Io}},Tag:{fields:{posts:(0,mo.NB)(["sortOrder","timeRange"])}}},Fo=Yr.s,Lo=Oo.v,Mo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,t=(arguments.length>2?arguments[2]:void 0).mergeObjects;return n?n.map((function(n,i){return e?t(e[i],n):n})):e},Do={UserViewerEdge:"load-light",CollectionViewerEdge:"load-light",TagViewerEdge:"load-light",TopicViewerEdge:"load-light",PostViewerEdgeQuery:"load-light",CatalogMixtapeParagraphQuery:"load-light",TagFeaturesQuery:"load-light",AddToCatalogBaseQuery:"load-light",ClapCountQuery:"load-light",ExplicitSignalPostQuery:"load-light",MoreFromMediumRecircQuery:"load-medium",MoreFromMediumRecommendedListsQuery:"load-medium",MoreFromListQuery:"load-medium",MoreFromAuthorAndMaybePubQuery:"load-medium",TopicPortalQuery:"load-lo-topic",TopicPortalNavigationQuery:"load-lo-topic",TopicPortalPersonalizedQuery:"load-lo-topic",TopicLatestStorieQuery:"load-lo-topic",TopicCuratedListQuery:"load-lo-topic",TopicRecommendedListsQuery:"load-lo-topic"},xo=function(e){var n=e.uri,t=e.state,i=e.ssrMode,a=e.transformLink,r=e.version,o=0,l=new jr.z({uri:n,batchMax:20,batchInterval:20,credentials:"same-origin",batchKey:function(e){var n;return null!==(n=Do[e.operationName])&&void 0!==n?n:"batch-operation-".concat(o++)}});l=new $r.C((function(e,n){var t=e.operationName;return t&&e.setContext((function(e){return{headers:to(to({},e.headers||{}),{},{"Graphql-Operation":t})}})),n?n(e):null})).concat(l),a&&(l=a(l));var c,s,u=new Zr((c={},Object.keys(Fo).forEach((function(e){var n={};Fo[e].forEach((function(e){e.endsWith("[]")?n[e.slice(0,-2)]={merge:Mo}:n[e]={merge:!0}})),c[e]={fields:n}})),{possibleTypes:Lo,typePolicies:Ur()({NotificationStatus:{keyFields:[]},PostPreview:{keyFields:["postId"]},CreditCard:{keyFields:[]},User:{fields:{userMeta:{merge:!0}}},MembershipStatus:{keyFields:[]}},c,lo.W,No,so,To,Co,uo,Ao,bo,Eo,Ro,wo,Po,_o,{UserReadingList:{fields:{postPreviewConnection:{keyArgs:["type","searchQuery"],merge:(0,co.L)("postPreviews",["postId"])}}},User:{fields:{highlightsStreamConnection:{keyArgs:function(e,n){var t,i,a,r=n.field,o=null!==(t=null==r||null===(i=r.alias)||void 0===i?void 0:i.value)&&void 0!==t?t:"";return null!=e&&null!==(a=e.paging)&&void 0!==a&&a.limit?"".concat(o,"(limit:").concat(e.paging.limit,")"):o},merge:(0,co.L)("stream",["itemType","quote"])},latestPostsConnection:{keyArgs:["type","includeResponses","includeSuspended"],merge:(0,co.L)("postPreviews",["postId"])},mutedCollectionConnection:{keyArgs:["paging",["limit"]],merge:(0,co.L)("collections",["id"])},mutedUserConnection:{keyArgs:["paging",["limit"]],merge:(0,co.L)("users",["id"])}}},UserReadingHistory:{fields:{postPreviewConnection:{keyArgs:["paging",["limit"],"searchQuery"],merge:(0,co.L)("postPreviews",["postId"])}}}})}));return l=function(e){return new $r.C((function(n,t){return t?t(n).map((function(t){if(n.query.definitions.find((function(e){return"OperationDefinition"===e.kind&&"query"===e.operation&&e.selectionSet.selections&&"Field"===e.selectionSet.selections[0].kind&&("user"===e.selectionSet.selections[0].name.value||"userResult"===e.selectionSet.selections[0].name.value)&&e.selectionSet.selections[0].arguments&&("username"===e.selectionSet.selections[0].arguments[0].name.value||"id"===e.selectionSet.selections[0].arguments[0].name.value)}))){var i=t.data&&(t.data.user||t.data.userResult);if(i){var a={user:i},r={userResult:i};i.id&&(e.writeQuery({query:io,data:a,variables:{userId:i.id}}),e.writeQuery({query:ro,data:r,variables:{userId:i.id}})),i.username&&(e.writeQuery({query:ao,data:a,variables:{username:i.username}}),e.writeQuery({query:oo,data:r,variables:{username:i.username}}))}}return t})):null}))}(u).concat(l),l=(s=new $r.C((function(e,n){var t=new Set,i=e.query.definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n="".concat(e.name.value,"-").concat(e.typeCondition.name.value);return!t.has(n)&&(t.add(n),!0)})),a=eo(eo({},e.query),{},{definitions:i});return e.query=a,n(e)})),s).concat(l),{cache:u,client:new Br.R({link:l,cache:!i&&t?u.restore(t):u,ssrMode:i,connectToDevTools:!0,name:"lite",version:r,assumeImmutableResults:!0,defaultOptions:{watchQuery:{errorPolicy:"all"},query:{errorPolicy:"all"},mutate:{errorPolicy:"all"}}})}};function Uo(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Bo(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Uo(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Uo(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function jo(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Vo(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?jo(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jo(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Ho(e,n){var t=Go(e);return new $r.C((function(e,i){var r=n.getMatch(window.location.pathname),o=r?r.route.metricName:"unidentified";return e.setContext((function(e){var n,i;return{headers:Vo(Vo({},e.headers||{}),{},(i={},(0,a.A)(i,"Medium-Frontend-App",t),(0,a.A)(i,"Medium-Frontend-Route",o),(0,a.A)(i,"Medium-Frontend-Path","".concat(window.location.pathname).concat(null!==(n=window.location.search)&&void 0!==n?n:"")),i))}})),i?i(e):null}))}var Go=function(e){return"lite/".concat(e)},Wo=t(78723);function zo(){var e=(0,l.useContext)(qo).getAllCSS();return e?l.createElement("style",null,e):null}var Yo={register:function(){return null},unregister:function(){return null},getAllCSS:function(){return null}},qo=(0,l.createContext)(Yo),Ko=function(e){var n=e.children,t=(0,l.useRef)(new Map),i=(0,l.useRef)(new Map),a=(0,l.useState)(0),r=(0,C.A)(a,2)[1],o=(0,l.useCallback)((function(e,n){var a,o=t.current,l=i.current;o.has(e)||o.set(e,n);var c=null!==(a=l.get(e))&&void 0!==a?a:0;l.set(e,c+1),r((function(e){return e+1}))}),[t.current,i.current]),c=(0,l.useCallback)((function(e){var n,a=t.current,o=i.current;(null!==(n=o.get(e))&&void 0!==n?n:0)-1<=0&&(a.delete(e),o.delete(e)),r((function(e){return e+1}))}),[t.current,i.current]),s=Array.from(t.current.keys()).sort().join(),u=(0,l.useCallback)((function(){var e=t.current;return 0===e.size?null:Array.from(e.values()).join("")}),[t.current,s]),d=(0,l.useMemo)((function(){return{register:o,unregister:c,getAllCSS:u}}),[o,c,u]);return l.createElement(qo.Provider,{value:d},n)},Qo=t(62878),Xo=t(3200),Zo=t(82811);var $o=function(e){(0,Cr.A)(a,e);var n,t,i=(n=a,t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=(0,_r.A)(n);if(t){var a=(0,_r.A)(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return(0,Ar.A)(this,e)});function a(){return(0,Or.A)(this,a),i.apply(this,arguments)}return(0,Tr.A)(a,[{key:"componentDidMount",value:function(){var e=this.props,n=e.ssrMode,t=e.renderer;n||(0,Xo.A)(t)}},{key:"render",value:function(){return l.createElement(Zo.P.Provider,{value:this.props.renderer},l.Children.only(this.props.children))}}]),a}(l.Component),Jo=t(8636);var el=function(e){(0,Cr.A)(a,e);var n,t,i=(n=a,t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=(0,_r.A)(n);if(t){var a=(0,_r.A)(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return(0,Ar.A)(this,e)});function a(e){var n;return(0,Or.A)(this,a),(n=i.call(this,e)).state={caughtError:!1},n}return(0,Tr.A)(a,[{key:"componentDidCatch",value:function(e,n){var t=n.componentStack,i=this.props.reporter;this.setState({caughtError:!0}),i.report(e,{via:"componentDidCatch",componentStack:t}),fr.L.addError(e)}},{key:"render",value:function(){var e=this.props,n=e.children,t=e.whenError;return this.state.caughtError?t:n}}]),a}(l.Component),nl=t(60328),tl=t.n(nl);function il(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function al(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?il(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):il(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var rl=function(){function e(){var n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).authDomain;(0,Or.A)(this,e),this.authDomain=void 0,this._queue=void 0,this._reported=void 0,this._timeout=void 0,this._userId=void 0,this.authDomain=n,this._queue=[],this._reported=0}return(0,Tr.A)(e,[{key:"userId",set:function(e){this._userId=e}},{key:"report",value:function(e,n){var t=this;this._queue.length>=10||this._reported>=50||(this._queue.push({name:e.name,message:e.message,stack:e.stack,timestamp:Date.now(),fileName:"fileName"in e?e.fileName:void 0,lineNumber:"lineNumber"in e?e.lineNumber:void 0,extra:al({client:"lite",build:window.__BUILD_ID__,userId:this._userId,userAgent:navigator.userAgent,location:window.location.href},n)}),void 0===this._timeout&&(this._timeout=setTimeout((function(){return t._send()}),5e3)))}},{key:"_send",value:function(){delete this._timeout;var e="".concat(this.authDomain||"").concat((0,R.a0M)());tl()(e,{credentials:"same-origin",method:"POST",headers:{"content-type":"application/json","x-xsrf-token":"1"},body:JSON.stringify(this._queue)}).catch(),this._reported+=this._queue.length,this._queue=[]}}]),e}(),ol=function(e){var n=e.reporter,t=(0,Qe.A)(),i=t.loading,a=t.viewerId;return(0,l.useEffect)((function(){!i&&a&&(n.userId=a)}),[i,a]),null},ll=t(70663),cl=["medium-content-sans-serif-font",'"Lucida Grande"','"Lucida Sans Unicode"','"Lucida Sans"',"Geneva","Arial","sans-serif"].join(", "),sl={layout:{display:"flex",flexDirection:"column",height:"100vh"},header:{paddingTop:"20px"},logo:{display:"block",margin:"auto"},container:{display:"flex",flex:"1",justifyContent:"center",alignItems:"center"},main:{boxSizing:"border-box",paddingBottom:"20px",paddingLeft:"24px",paddingRight:"24px"},heading:{fontFamily:cl,fontSize:"44px",lineHeight:1.1,marginBottom:"0.3em"},paragraph:{fontFamily:cl,fontSize:"22px",lineHeight:1.25,marginBottom:"0.3em"}},ul=function(e){var n=e.children;return l.createElement("div",{style:sl.layout},n)},dl=function(e){var n=e.children;return l.createElement("header",{style:sl.header},n)},ml=function(){var e=(0,me.l)();return l.createElement("a",{href:"/",className:e(sl.logo)},l.createElement(ll.S,null))},pl=function(e){var n=e.children;return l.createElement("div",{style:sl.container},n)},fl=function(e){var n=e.children;return l.createElement("main",{style:sl.main},n)},gl=function(e){var n=e.children;return l.createElement("h1",{style:sl.heading},n)},hl=function(e){var n=e.children;return l.createElement("p",{style:sl.paragraph},n)};function vl(){return l.createElement(ul,null,l.createElement(dl,null,l.createElement(ml,null)),l.createElement(pl,null,l.createElement(fl,null,l.createElement(gl,null,"Error"),l.createElement(hl,null,"Were sorry, but there was a problem displaying this page."),l.createElement(hl,null,"Please reload and try again."))))}function kl(e){return function(n,t,i,a,r){if(null!=r)e.report(r,{via:"window.onerror"});else{var o=String(t).split(/[/\\]/).pop();e.report({message:"string"==typeof n?n:n.type,fileName:o,lineNumber:i})}}}function Sl(){Sl=function(){return n};var e,n={},t=Object.prototype,a=t.hasOwnProperty,r=Object.defineProperty||function(e,n,t){e[n]=t.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{u({},"")}catch(e){u=function(e,n,t){return e[n]=t}}function d(e,n,t,i){var a=n&&n.prototype instanceof k?n:k,o=Object.create(a.prototype),l=new I(i||[]);return r(o,"_invoke",{value:T(e,t,l)}),o}function m(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(e){return{type:"throw",arg:e}}}n.wrap=d;var p="suspendedStart",f="suspendedYield",g="executing",h="completed",v={};function k(){}function S(){}function b(){}var E={};u(E,l,(function(){return this}));var y=Object.getPrototypeOf,N=y&&y(y(R([])));N&&N!==t&&a.call(N,l)&&(E=N);var w=b.prototype=k.prototype=Object.create(E);function P(e){["next","throw","return"].forEach((function(n){u(e,n,(function(e){return this._invoke(n,e)}))}))}function O(e,n){function t(r,o,l,c){var s=m(e[r],e,o);if("throw"!==s.type){var u=s.arg,d=u.value;return d&&"object"==(0,i.A)(d)&&a.call(d,"__await")?n.resolve(d.__await).then((function(e){t("next",e,l,c)}),(function(e){t("throw",e,l,c)})):n.resolve(d).then((function(e){u.value=e,l(u)}),(function(e){return t("throw",e,l,c)}))}c(s.arg)}var o;r(this,"_invoke",{value:function(e,i){function a(){return new n((function(n,a){t(e,i,n,a)}))}return o=o?o.then(a,a):a()}})}function T(n,t,i){var a=p;return function(r,o){if(a===g)throw new Error("Generator is already running");if(a===h){if("throw"===r)throw o;return{value:e,done:!0}}for(i.method=r,i.arg=o;;){var l=i.delegate;if(l){var c=C(l,i);if(c){if(c===v)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(a===p)throw a=h,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a=g;var s=m(n,t,i);if("normal"===s.type){if(a=i.done?h:f,s.arg===v)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(a=h,i.method="throw",i.arg=s.arg)}}}function C(n,t){var i=t.method,a=n.iterator[i];if(a===e)return t.delegate=null,"throw"===i&&n.iterator.return&&(t.method="return",t.arg=e,C(n,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var r=m(a,n.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,v;var o=r.arg;return o?o.done?(t[n.resultName]=o.value,t.next=n.nextLoc,"return"!==t.method&&(t.method="next",t.arg=e),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function A(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function _(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function R(n){if(n||""===n){var t=n[l];if(t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var r=-1,o=function t(){for(;++r<n.length;)if(a.call(n,r))return t.value=n[r],t.done=!1,t;return t.value=e,t.done=!0,t};return o.next=o}}throw new TypeError((0,i.A)(n)+" is not iterable")}return S.prototype=b,r(w,"constructor",{value:b,configurable:!0}),r(b,"constructor",{value:S,configurable:!0}),S.displayName=u(b,s,"GeneratorFunction"),n.isGeneratorFunction=function(e){var n="function"==typeof e&&e.constructor;return!!n&&(n===S||"GeneratorFunction"===(n.displayName||n.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,s,"GeneratorFunction")),e.prototype=Object.create(w),e},n.awrap=function(e){return{__await:e}},P(O.prototype),u(O.prototype,c,(function(){return this})),n.AsyncIterator=O,n.async=function(e,t,i,a,r){void 0===r&&(r=Promise);var o=new O(d(e,t,i,a),r);return n.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},P(w),u(w,s,"Generator"),u(w,l,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var n=Object(e),t=[];for(var i in n)t.push(i);return t.reverse(),function e(){for(;t.length;){var i=t.pop();if(i in n)return e.value=i,e.done=!1,e}return e.done=!0,e}},n.values=R,I.prototype={constructor:I,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!n)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var t=this;function i(i,a){return l.type="throw",l.arg=n,t.next=i,a&&(t.method="next",t.arg=e),!!a}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],l=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),s=a.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,n){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=n&&n<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=n,r?(this.method="next",this.next=r.finallyLoc,v):this.complete(o)},complete:function(e,n){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&n&&(this.next=n),v},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),_(t),v}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var i=t.completion;if("throw"===i.type){var a=i.arg;_(t)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(n,t,i){return this.delegate={iterator:R(n),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=e),v}},n}function bl(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function El(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?bl(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):bl(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var yl={silent:100,error:50,warn:40,info:30,debug:20,trace:10},Nl=function(e,n){return"string"==typeof e?{message:e}:El(El({},e),{},{message:n})},wl=function(){function e(n){var t=n.beforeSend,i=n.config,a=n.context,r=n.level;(0,Or.A)(this,e),this.config=void 0,this.context=void 0,this.beforeSend=void 0,this.isInitialized=!1,this.level=void 0,this.config=i,this.context=a,this.beforeSend=t,this.level=yl[r]}var n;return(0,Tr.A)(e,[{key:"setLevel",value:function(e){this.level=yl[e]}},{key:"debug",value:function(e,n){this.level>yl.debug||this.log(Nl(e,n),"debug")}},{key:"info",value:function(e,n){this.level>yl.info||this.log(Nl(e,n),"info")}},{key:"warn",value:function(e,n){this.level>yl.warn||this.log(Nl(e,n),"warn")}},{key:"error",value:function(e,n){this.level>yl.error||this.log(Nl(e,n),"error")}},{key:"log",value:(n=(0,o.A)(Sl().mark((function e(n,t){var i,a,r,o;return Sl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=this.getUrl(),a=Object.assign({},this.context,n),this.beforeSend&&(a=null!==(r=this.beforeSend(a))&&void 0!==r?r:{}),o=JSON.stringify(El(El({},a),{},{ddsource:"lite",service:"lite",status:t})),e.abrupt("return",tl()(i,{headers:{"Content-Type":"application/json"},method:"POST",body:o}).catch());case 5:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"getUrl",value:function(){var e,n;if(null===(e=this.config)||void 0===e||!e.clientToken)throw new Error("Expected a config with a clientToken");if(null===(n=this.config)||void 0===n||!n.datacenter)throw new Error("Expected a config with a datacenter");var t="us"===this.config.datacenter?"com":"eu";return"https://browser-http-intake.logs.datadoghq.".concat(t,"/v1/input/").concat(this.config.clientToken)}}]),e}(),Pl=t(82960),Ol=t(21966),Tl=t(18865);function Cl(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Al(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Cl(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Cl(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _l={queries:{}};function Il(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_l,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Tl.MY.LoadingRequest:return Al(Al({},n),{},{queries:Al(Al({},n.queries),{},(0,a.A)({},t.query,{status:"loading",data:(null===(e=n.queries[t.query])||void 0===e?void 0:e.data)||null}))});case Tl.MY.ErrorRequest:return Al(Al({},n),{},{queries:Al(Al({},n.queries),{},(0,a.A)({},t.query,{status:"error",data:null}))});case Tl.MY.ResultRequest:return Al(Al({},n),{},{queries:Al(Al({},n.queries),{},(0,a.A)({},t.query,{status:"success",data:t.data}))});default:return n}}function Rl(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Fl(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Rl(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Rl(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ll={hydrated:!1,isUs:!1,isNativeMedium:!1,isSafariMobile:!1,isSafari:!1,isFirefox:!1,routingEntity:{type:ke.S9.DEFAULT,explicit:!1},viewerIsBot:!1},Ml=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ll;return(arguments.length>1?arguments[1]:void 0).type===Jn?Fl(Fl({},e),{},{hydrated:!0,isNativeMedium:(0,Yn.dC)(navigator.userAgent),isSafariMobile:(0,Yn.dX)(navigator.userAgent),isSafari:(0,Yn.nr)(navigator.userAgent),isFirefox:(0,Yn.gm)(navigator.userAgent)}):e},Dl={planId:"",name:"",description:""},xl={nodeEnv:"production",version:"",target:"",productName:"",authDomain:"",authGoogleClientId:"",branchKey:"",favicon:"production",glyphUrl:"",algolia:{appId:"",apiKeySearch:"",indexPrefix:"",host:""},publicUrl:"",googleAnalyticsCode:"",googlePay:{apiVersion:"",apiVersionMinor:"",merchantId:"",merchantName:"",instanceMerchantId:0},recaptchaKey:"",recaptcha3Key:"",recaptchaEnterpriseKeyId:"",signInWallCustomDomainCollectionIds:[],mediumMastodonDomainName:"",mediumOwnedAndOperatedCollectionIds:[],tierOneDomains:[],topicsToFollow:[],topicToTagMappings:{},defaultImages:{},datadog:{applicationId:"",clientToken:"",context:{deployment:{target:"production",tag:void 0,commit:void 0}},datacenter:"us",rumToken:""},collectionStructuredData:{},embeddedPostIds:{},sharedCdcMessaging:{COVID_APPLICABLE_TAG_SLUGS:[],COVID_APPLICABLE_TOPIC_NAMES:[],COVID_APPLICABLE_TOPIC_NAMES_FOR_TOPIC_PAGE:[],COVID_BANNER_POST_ID_OVERRIDE_WHITELIST:[]},sharedVoteMessaging:{TAGS:[],TOPICS:[],EXCLUDE_POSTS:[]},embedPostRules:[],recircOptions:{},braintreeClientKey:"",braintree:{enabled:!1,merchantId:"",publicKey:"",braintreeEnvironment:"",dashboardUrl:"",gracePeriodDurationInDays:0,mediumMembershipPlanId:{monthly:"",monthlyWithTrial:"",yearly:"",yearlyStaff:"",yearlyWithTrial:""},braintreeDiscountId:{oneMonthFree:"",threeMonthsFree:"",sixMonthsFree:""},"3DSecureVersion":"2"},paypalClientId:"",paypal:{host:"",clientMode:"",serverMode:"",webhookId:"",oneYearGift:{name:"",description:"",price:"",currency:""},newDailyPlan:Dl,monthlyPlan:Dl,yearlyPlan:Dl,oldMonthlyPlan:Dl,oldYearlyPlan:Dl,oldMonthlyPlanNoSetupFee:Dl,oldYearlyPlanNoSetupFee:Dl,sdkUrl:""},stripePublishableKey:"",applePay:{version:3},log:{json:!0,level:"silent"},imageUploadMaxSizeMb:0,staffPicks:{title:"",catalogId:""}};const Ul=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:xl};var Bl=t(50741);function jl(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Vl(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?jl(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jl(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Hl={};function Gl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Hl,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case Bl.D:return Vl(Vl({},e),{},{performanceTraceUrl:n.performanceTraceUrl});case Bl.JT:return Vl(Vl({},e),{},{originalSpanCarrier:n.originalSpanCarrier});case Bl.Ve:return Vl(Vl({},e),{},{debugMenuHidden:!0});case Bl.Wx:return Vl(Vl({},e),{},{shouldHighlightDSType:n.shouldHighlightDSType});default:return e}}var Wl=t(56743);function zl(e){var n=function(e,n){if("object"!==(0,i.A)(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!==(0,i.A)(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,i.A)(n)?n:String(n)}function Yl(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function ql(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Yl(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Yl(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Kl={clapsPerPost:{}};function Ql(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Kl,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case Wl.iP:return ql(ql({},e),{},{clapsPerPost:ql(ql({},e.clapsPerPost),{},(0,a.A)({},n.postId,{clapCount:n.clapCount,viewerClapCount:n.viewerClapCount,viewerHasClappedSinceFetch:n.viewerHasClappedSinceFetch}))});case Wl.fl:var t=e.clapsPerPost,i=n.postId;return t[i],{clapsPerPost:(0,r.A)(t,[i].map(zl))};default:return e}}var Xl=t(90384),Zl=t(21506);function $l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Jl(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$l(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$l(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ec={selectedCountryCode:null};function nc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ec,n=arguments.length>1?arguments[1]:void 0;return n.type===Zl.m?Jl(Jl({},e),{},{selectedCountryCode:n.countryCode}):e}function tc(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function ic(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?tc(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tc(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ac={host:"",hostname:"",currentLocation:"",susiModal:{step:null,operation:"login"},branch:{show:null,hasRendered:null,blockedByCTA:null},postRead:!1,referrer:"",hasSetReferrer:!1,partnerProgram:ec};function rc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ac,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case ln.IS:return ic(ic({},e),{},{currentHash:n.hash});case ln.DL:var t=(0,Ee.jp)(e.host,n.location.pathname),i=e.currentLocation!==t;return ic(ic({},e),{},{currentLocation:i?t:e.currentLocation,referrer:i?e.currentLocation:e.referrer,queryString:i?n.location.search:e.queryString,currentHash:i?n.location.hash:e.currentHash});case ln.u5:return ic(ic({},e),{},{queryString:n.queryString});case ln.$p:var a=new URLSearchParams(e.queryString);return a.delete(n.param),ic(ic({},e),{},{queryString:"?".concat(a.toString())});case ln.F6:return e.hasSetReferrer?ic({},e):ic(ic({},e),{},{referrer:n.referrer,hasSetReferrer:!0});case ln.v5:var r=n.duration,o=n.message,l=n.toastStyle,c=n.extraParams;return ic(ic({},e),{},{enqueuedToast:{duration:r,message:o,toastStyle:l,extraParams:c}});case ln.qF:return ic(ic({},e),{},{enqueuedToast:null});case $.BG:return ic(ic({},e),{},{branch:ic(ic({},e.branch),{},{data:n.data})});case $.IL:return ic(ic({},e),{},{branch:ic(ic({},e.branch),{},{show:!0})});case $.e_:return ic(ic({},e),{},{branch:ic(ic({},e.branch),{},{hasRendered:n.hasRendered})});case $.H8:return ic(ic({},e),{},{branch:ic(ic({},e.branch),{},{blockedByCTA:n.blockedByCTA})});case $.ox:return ic(ic({},e),{},{branch:ic(ic({},e.branch),{},{show:!0})});case Ue.w:var s=n.hideGoogleOneTap;return ic(ic({},e),{},{hideGoogleOneTap:s});case Xl.T:var u=n.hasRenderedAlternateUserBanner;return ic(ic({},e),{},{hasRenderedAlternateUserBanner:u});case ln.u9:var d=n.susiModal;return ic(ic({},e),{},{susiModal:ic(ic({},e.susiModal),d)});case ln.BJ:var m=n.susiEmail;return ic(ic({},e),{},{susiEmail:m});case ln.RF:var p=n.postRead;return ic(ic({},e),{},{postRead:p});case Zl.m:return ic(ic({},e),{},{partnerProgram:nc(e.partnerProgram,n)});default:return e}}function oc(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function lc(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?oc(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):oc(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var cc={xsrf:"",isLoggedInCookie:!1,isSpoofed:!1};function sc(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:cc,i=arguments.length>1?arguments[1]:void 0;switch(i.type){case"POPULATE_SESSION":return lc(lc({},t),{},{isLoggedInCookie:i.isLoggedInCookie,isSpoofed:i.isSpoofed,xsrf:i.xsrf});case b.Zb:var a=null!==(e=null===(n=i.middlewareState.session)||void 0===n?void 0:n.xsrf)&&void 0!==e?e:t.xsrf;return lc(lc({},t),{},{xsrf:a});default:return t}}var uc=function(){return Pl.HY({algolia:Il,cache:E.Rt,client:Ml,config:Ul,debug:Gl,multiVote:Ql,navigation:rc,session:sc})},dc=function(e){var n=uc();return Pl.y$(n,e,(0,Ol.Pq)({}))};function mc(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function pc(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?mc(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mc(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var fc=function(){var e,n=window.__PRELOADED_STATE__;if(!n)throw new Error("Expected window.__PRELOADED_STATE__ to exist.");return pc(pc({},n),{},{config:n.config,session:pc(pc({},n.session),{},{isLoggedInCookie:!1,isSpoofed:!1,xsrf:null!==(e=n.session.xsrf)&&void 0!==e?e:""})})},gc=["preExpandedLocation"];function hc(){hc=function(){return n};var e,n={},t=Object.prototype,a=t.hasOwnProperty,r=Object.defineProperty||function(e,n,t){e[n]=t.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{u({},"")}catch(e){u=function(e,n,t){return e[n]=t}}function d(e,n,t,i){var a=n&&n.prototype instanceof k?n:k,o=Object.create(a.prototype),l=new I(i||[]);return r(o,"_invoke",{value:T(e,t,l)}),o}function m(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(e){return{type:"throw",arg:e}}}n.wrap=d;var p="suspendedStart",f="suspendedYield",g="executing",h="completed",v={};function k(){}function S(){}function b(){}var E={};u(E,l,(function(){return this}));var y=Object.getPrototypeOf,N=y&&y(y(R([])));N&&N!==t&&a.call(N,l)&&(E=N);var w=b.prototype=k.prototype=Object.create(E);function P(e){["next","throw","return"].forEach((function(n){u(e,n,(function(e){return this._invoke(n,e)}))}))}function O(e,n){function t(r,o,l,c){var s=m(e[r],e,o);if("throw"!==s.type){var u=s.arg,d=u.value;return d&&"object"==(0,i.A)(d)&&a.call(d,"__await")?n.resolve(d.__await).then((function(e){t("next",e,l,c)}),(function(e){t("throw",e,l,c)})):n.resolve(d).then((function(e){u.value=e,l(u)}),(function(e){return t("throw",e,l,c)}))}c(s.arg)}var o;r(this,"_invoke",{value:function(e,i){function a(){return new n((function(n,a){t(e,i,n,a)}))}return o=o?o.then(a,a):a()}})}function T(n,t,i){var a=p;return function(r,o){if(a===g)throw new Error("Generator is already running");if(a===h){if("throw"===r)throw o;return{value:e,done:!0}}for(i.method=r,i.arg=o;;){var l=i.delegate;if(l){var c=C(l,i);if(c){if(c===v)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(a===p)throw a=h,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a=g;var s=m(n,t,i);if("normal"===s.type){if(a=i.done?h:f,s.arg===v)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(a=h,i.method="throw",i.arg=s.arg)}}}function C(n,t){var i=t.method,a=n.iterator[i];if(a===e)return t.delegate=null,"throw"===i&&n.iterator.return&&(t.method="return",t.arg=e,C(n,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var r=m(a,n.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,v;var o=r.arg;return o?o.done?(t[n.resultName]=o.value,t.next=n.nextLoc,"return"!==t.method&&(t.method="next",t.arg=e),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function A(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function _(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function R(n){if(n||""===n){var t=n[l];if(t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var r=-1,o=function t(){for(;++r<n.length;)if(a.call(n,r))return t.value=n[r],t.done=!1,t;return t.value=e,t.done=!0,t};return o.next=o}}throw new TypeError((0,i.A)(n)+" is not iterable")}return S.prototype=b,r(w,"constructor",{value:b,configurable:!0}),r(b,"constructor",{value:S,configurable:!0}),S.displayName=u(b,s,"GeneratorFunction"),n.isGeneratorFunction=function(e){var n="function"==typeof e&&e.constructor;return!!n&&(n===S||"GeneratorFunction"===(n.displayName||n.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,s,"GeneratorFunction")),e.prototype=Object.create(w),e},n.awrap=function(e){return{__await:e}},P(O.prototype),u(O.prototype,c,(function(){return this})),n.AsyncIterator=O,n.async=function(e,t,i,a,r){void 0===r&&(r=Promise);var o=new O(d(e,t,i,a),r);return n.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},P(w),u(w,s,"Generator"),u(w,l,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var n=Object(e),t=[];for(var i in n)t.push(i);return t.reverse(),function e(){for(;t.length;){var i=t.pop();if(i in n)return e.value=i,e.done=!1,e}return e.done=!0,e}},n.values=R,I.prototype={constructor:I,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!n)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var t=this;function i(i,a){return l.type="throw",l.arg=n,t.next=i,a&&(t.method="next",t.arg=e),!!a}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],l=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),s=a.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,n){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=n&&n<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=n,r?(this.method="next",this.next=r.finallyLoc,v):this.complete(o)},complete:function(e,n){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&n&&(this.next=n),v},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),_(t),v}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var i=t.completion;if("throw"===i.type){var a=i.arg;_(t)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(n,t,i){return this.delegate={iterator:R(n),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=e),v}},n}function vc(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function kc(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?vc(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vc(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Sc=function(){var e=(0,o.A)(hc().mark((function e(){var n,i,o,d,m,g,h,v,b,E,y,N,w,P,O,T,C,A,_,I,R,F;return hc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&-1===navigator.userAgent.indexOf("Chromium")||console.log(" ... \n .,ok000Oxc. 'oxo, .' \n ,kWMMMMMMMMXo;. ;KMWMX: lK,\n,0MMMMMMMMMMMWNd'xMMMMMO;xWl\nlWMMMMMMMMMMMMM0lOMMMMMKoOMo\ncNMMMMMMMMMMMMMk:OMMMMM0lkWl\n.dNMMMMMMMMMMKx; lWMMMWd.dN:\n ;kXWMMMMWKd' .oXWXx. ;o.\n .;ccc:,. .,. \n"),console.log("We're hiring! https://medium.com/jobs-at-medium/work-at-medium-959d1a85284e"),e.next=7;break;case 4:(0,e.sent.default)(l,c,1e3);case 7:if(i=fc(),o=dc(i),d=i.config,m=d.version,g=d.datadog,h=i.client.routingEntity,v=i.navigation.host,b=(0,S.Kw)({routingEntityType:h.type}),E=b.pathMatcher,null!=(y=window.history.state)&&null!==(n=y.state)&&void 0!==n&&n.preExpandedLocation&&((N=y.state).preExpandedLocation,w=(0,r.A)(N,gc),window.history.replaceState(kc(kc({},y),{},{state:w}),"")),P=window.__GRAPHQL_URI__){e.next=19;break}throw new Error("Expected window.__GRAPHQL_URI__ to exist.");case 19:if(O=window.__APOLLO_STATE__){e.next=22;break}throw new Error("Expected window.__APOLLO_STATE__ to exist.");case 22:if(T=xo({uri:P,ssrMode:!1,state:O,transformLink:function(e){return e=Ho(m,E).concat(e),e=new $r.C((function(e,n){var t=e.getContext().__fixtures;return t&&e.setContext((function(e){var n,i;try{i=JSON.stringify(t)}catch(e){i=JSON.stringify({errors:[{message:"Could not stringify provided fixtures: ".concat(e)}]})}var r=Bo(Bo({},e),{},{headers:Bo((n={},(0,a.A)(n,"medium-enable-graphql-fixtures","true"),(0,a.A)(n,"medium-graphql-fixture-data",i),n),e.headers)});return delete r.__fixtures,r})),n?n(e):null})).concat(e),e},version:m}),C=T.client,A=(0,Jo.A)(),_=new rl,I=new Wn.a8({host:v,version:m}),window.onerror=kl(_),R=new wl({level:i.config.log.level,beforeSend:function(e){var n=E.getMatch(window.location.pathname);return e.route=kc(kc({},e.route),{},{router:h.type,name:n?n.route.metricName:"unidentified"}),e.req=kc(kc({},e.req),{},{url:t.g.window.location.pathname+t.g.window.location.search}),e},config:{clientToken:g.clientToken,datacenter:"us",forwardErrorsToLogs:!1},context:kc(kc({},g.context),{},{origin:"client",service:"lite",req:{authority:t.g.window.location.host,id:i.debug.requestId},"medium-request-tag":i.debug.requestTag})}),(0,k.B)(R),F=document.getElementById("root")){e.next=33;break}return R.warn("Expected root element to exist"),e.abrupt("return",null);case 33:(0,s.c)(F,l.createElement(el,{reporter:_,whenError:l.createElement(vl,null)},l.createElement(p.Kq,{store:o},l.createElement(Dr,{client:C},l.createElement(we.x1,{reduxStore:o},l.createElement(Wn.Kq,{reporter:I},l.createElement($o,{renderer:A},l.createElement(Qo.y,null,l.createElement(Ko,null,l.createElement(zo,null),l.createElement(u.vd,null,l.createElement(ol,{reporter:_}),l.createElement(f.Kd,null,l.createElement(S.wp.Provider,{value:b},l.createElement(Wo.H,null,l.createElement(Pr,null))))))))))))));case 34:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();window.main=function(){(0,zn.c6)(),m().preloadReady().then(Sc)}},47517:(e,n,t)=>{t.d(n,{B:()=>c,v:()=>l});var i=t(64467);function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function r(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var o=function(e,n){return"string"==typeof e?{msg:e}:r(r({},e),{},{msg:n})},l={debug:function(e,n){console.debug(o(e,n))},info:function(e,n){console.log(o(e,n))},warn:function(e,n){console.warn(o(e,n))},error:function(e,n){console.error(o(e,n))}},c=function(e){l=e}},97336:(e,n,t)=>{t.d(n,{c:()=>r});var i=t(23029),a=t(92901),r=function(){function e(){(0,i.A)(this,e),this._tree=void 0,this._tree={children:{}}}return(0,a.A)(e,[{key:"add",value:function(e,n){var t=this._getPathParts(e),i=[],a=this._tree;if(t.forEach((function(e){if("@"===e[0]){var n=e.indexOf(":"),t=e.slice(1,n),r=e.slice(n+1);return a.children["@"]||(a.children["@"]={children:{}}),(a=a.children["@"]).children[t]||(a.children[t]={children:{},re:new RegExp(r)}),i.push(t),void(a=a.children[t])}var o=e;":"===e[0]&&(o=":",i.push(e.slice(1))),a.children[o]||(a.children[o]={children:{}}),a=a.children[o]})),a.routeMetadata){var r=a.routeMetadata.pathPattern;throw new Error("Can not register [".concat(e,"], path is ambiguous. [").concat(r,"] previously registered."))}a.routeMetadata={route:n,pathPattern:e,capturedNames:i}}},{key:"getMatch",value:function(e){var n=e.replace(/\?.*(?:#|$)/,"").replace(/#.*$/,""),t=this._getPathParts(n);return this._getMatchRecursive(t,0,this._tree)}},{key:"_getMatchRecursive",value:function(e,n,t){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(n>=e.length){if(!t.routeMetadata)return;var a=t.routeMetadata;return{route:a.route,params:a.capturedNames.reduce((function(e,n,t){return e[n]=i[t],e}),{})}}var r=e[n];if(t.children[r]){var o=this._getMatchRecursive(e,n+1,t.children[r],i);if(o)return o}if(t.children["@"]){var l=t.children["@"];for(var c in l.children){var s=l.children[c];if(s.re){var u=r.match(s.re);if(null!=u&&u[1]){i.push(u[1]);var d=this._getMatchRecursive(e,n+1,s,i);if(d)return d;i.pop()}}}}if(t.children[":"]){i.push(r);var m=this._getMatchRecursive(e,n+1,t.children[":"],i);if(m)return m;i.pop()}}},{key:"_getPathParts",value:function(e){return e.replace(/(^\/|\/+$)/g,"").split("/").map((function(e){try{return decodeURIComponent(e)}catch(e){return""}}))}}]),e}()},83474:(e,n,t)=>{t.d(n,{u:()=>a});var i=t(56742);function a(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{routingEntityType:i.S9.DEFAULT}).routingEntityType,t=e.name,a=e.pathPattern,o=e.params,l=e.handler,c=e.mediumAppPage,s=e.metricName,u=e.service,d=void 0===u?"":u,m=e.serviceVariantFlag,p=void 0===m?"":m,f=e.customDomainServiceVariantFlag,g=void 0===f?"":f,h=e.redirectTo;return{name:t,service:d,handler:l,mediumAppPage:c,metricName:s||t,serviceVariantFlag:void 0===n||n===i.S9.DEFAULT?p:g,pathPattern:r(a,{routingEntityType:n}),params:o,redirectTo:h}}function r(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).routingEntityType,t=void 0===n?void 0:n,a=e;if(t===i.S9.COLLECTION&&e.startsWith("/{collectionSlug}")&&(a=a.replace(/^\/\{collectionSlug\}/,"")),t===i.S9.USER&&e.startsWith("/@{username}")&&(a=a.replace(/^\/@\{username\}/,"")),(a=a.replace(/\/@\{([^}]+)\}/g,"/@$1:@(.*)").replace(/\{([^}]+)\}/g,":$1")).includes("{"))throw new Error("Could not format route: ".concat(e,"."));return a}},56742:(e,n,t)=>{t.d(n,{S9:()=>i,aE:()=>s});var i,a=t(47517),r=t(97336),o=t(83474);function l(e){var n=e.routeTable;return"user"===n||"all"===n}function c(e){var n=e.routeTable;return"collection"===n||"all"===n}function s(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{routingEntityType:i.DEFAULT}).routingEntityType,t=new r.c;return n===i.COLLECTION?e=e.filter(c):n===i.USER&&(e=e.filter(l)),e.forEach((function(e){var i=(0,o.u)(e,{routingEntityType:n});try{t.add(i.pathPattern,i)}catch(e){a.v.warn({route:i,error:e},"Cannot add route")}})),t}!function(e){e.DEFAULT="DEFAULT",e.USER="USER",e.COLLECTION="COLLECTION"}(i||(i={}))},51260:(e,n,t)=>{t.d(n,{wp:()=>s,Kw:()=>d,om:()=>h,IF:()=>p,Nw:()=>S,_i:()=>f,W5:()=>m,DI:()=>k,RW:()=>b,au:()=>v});var i=t(96540),a=t(47517),r=t(97336),o=t(83474),l=t(56742),c=t(39160),s=(0,i.createContext)({pathMatcher:new r.c,routeDefinitionMap:new Map}),u=Object.values({ShowMediumAbout:{name:"ShowMediumAbout",pathPattern:"/about",params:[],service:"lite",mediumAppPage:"landing-about"},RedirectToTickpocalypse:{name:"RedirectToTickpocalypse",pathPattern:"/ticks",params:[]},RedirectToTrump45:{name:"RedirectToTrump45",pathPattern:"/45",params:[]},RedirectToCointalk:{name:"RedirectToCointalk",pathPattern:"/cointalk",params:[]},RedirectToFutureHuman:{name:"RedirectToFutureHuman",pathPattern:"/futurehuman",params:[]},RedirectToGreatEscape:{name:"RedirectToGreatEscape",pathPattern:"/greatescape",params:[]},RedirectToGreatEscapePub:{name:"RedirectToGreatEscapePub",pathPattern:"/s/greatescape",params:[]},RedirectToUnrulybodies:{name:"RedirectToUnrulybodies",pathPattern:"/unrulybodies",params:[]},RedirectToPlayback:{name:"RedirectToPlayback",pathPattern:"/playback",params:[]},RedirectToTrustIssues:{name:"RedirectToTrustIssues",pathPattern:"/trustissues",params:[]},RedirectToYouthNow:{name:"RedirectToYouthNow",pathPattern:"/youthnow",params:[]},RedirectToPowerTrip:{name:"RedirectToPowerTrip",pathPattern:"/powertrip",params:[]},RedirectToTheNewNew:{name:"RedirectToTheNewNew",pathPattern:"/thenewnew",params:[]},RedirectToLoveHate:{name:"RedirectToLoveHate",pathPattern:"/lovehate",params:[]},RedirectToReasonableDoubt:{name:"RedirectToReasonableDoubt",pathPattern:"/reasonabledoubt",params:[]},RedirectToFreakonomicsRadio:{name:"RedirectToFreakonomicsRadio",pathPattern:"/freakonomicsradio",params:[]},RedirectToHumanParts:{name:"RedirectToHumanParts",pathPattern:"/s/human-parts",params:[]},RedirectToTimelineOfSounds:{name:"RedirectToTimelineOfSounds",pathPattern:"/s/timeline-of-sounds",params:[]},RedirectToTeamHumanRushkoff:{name:"RedirectToTeamHumanRushkoff",pathPattern:"/s/douglas-rushkoff",params:[]},RedirectToTeamHuman:{name:"RedirectToTeamHuman",pathPattern:"/s/teamhuman",params:[]},ShowHome:{name:"ShowHome",pathPattern:"/",params:[],service:"lite",metricName:"homepage",mediumAppPage:"home"},ShowNewPost:{name:"ShowNewPost",pathPattern:"/new-story",params:[]},ShowNewRepost:{name:"ShowNewRepost",pathPattern:"/new-story/repost/{repostId}",params:["repostId"]},LegacyShowNewPost:{name:"LegacyShowNewPost",pathPattern:"/p/new-post",params:[]},FetchResponses:{name:"FetchResponses",pathPattern:"/p/{postId}/responses",params:["postId"]},ShowStandaloneResponses:{name:"ShowStandaloneResponses",pathPattern:"/p/{postId}/responses/show",params:["postId"]},ShowNewResponse:{name:"ShowNewResponse",pathPattern:"/p/{inResponseToPostId}/responses/new",params:["inResponseToPostId"]},FetchCollectionPermissions:{name:"FetchCollectionPermissions",pathPattern:"/{collectionSlug}/permissions",params:["collectionSlug"]},ShowCollectionNewPost:{name:"ShowCollectionNewPost",pathPattern:"/{collectionSlug}/new-story",params:["collectionSlug"]},ShowEditPost:{name:"ShowEditPost",pathPattern:"/p/{postId}/edit",params:["postId"]},ShowRevertPost:{name:"ShowRevertPost",pathPattern:"/p/{postId}/revert/{versionId}/{baseRev}",params:["postId","versionId","baseRev"]},FetchQuote:{name:"FetchQuote",pathPattern:"/p/{postId}/quotes/{quoteId}",params:["postId","quoteId"]},FetchQuotes:{name:"FetchQuotes",pathPattern:"/p/{postId}/quotes",params:["postId"]},GetPostDeltas:{name:"GetPostDeltas",pathPattern:"/p/{postId}/deltas",params:["postId"]},FetchNotes:{name:"FetchNotes",pathPattern:"/p/{postId}/notes",params:["postId"]},ShowCollectionEditPost:{name:"ShowCollectionEditPost",pathPattern:"/{collectionSlug}/{postId}/edit",params:["collectionSlug","postId"]},ShowUserEditPost:{name:"ShowUserEditPost",pathPattern:"/@{username}/{postId}/edit",params:["username","postId"]},ShowImportPost:{name:"ShowImportPost",pathPattern:"/p/import",params:[]},ShowCreateImportPost:{name:"ShowCreateImportPost",pathPattern:"/p/import-story",params:[]},ShowPost:{name:"ShowPost",pathPattern:"/p/{postId}",params:["postId"],service:"lite",metricName:"post",mediumAppPage:"post"},ShowPostUnderUser:{name:"ShowPostUnderUser",pathPattern:"/@{username}/{postId}",params:["username","postId"],routeTable:"user",service:"lite",metricName:"post",mediumAppPage:"post"},ShowPostUnderCollection:{name:"ShowPostUnderCollection",pathPattern:"/{collectionSlug}/{postId}",params:["collectionSlug","postId"],routeTable:"collection",service:"lite",metricName:"post",mediumAppPage:"post"},ShowPostInfo:{name:"ShowPostInfo",pathPattern:"/p/{postId}/info",params:["postId"]},ShowPostInfoOrdered:{name:"ShowPostInfoOrdered",pathPattern:"/p/{postId}/info/{order}/{filter}",params:["postId","order","filter"]},RedirectShowPostShare:{name:"RedirectShowPostShare",pathPattern:"/p/{postId}/share/{channel}",params:["postId","channel"],routeTable:"collection"},ShowProxyPostRedirect:{name:"ShowProxyPostRedirect",pathPattern:"/posts/proxies/save",params:[]},ShowPostSettings:{name:"ShowPostSettings",pathPattern:"/p/{postId}/settings",params:["postId"],service:"lite",metricName:"post-settings",mediumAppPage:"post-settings"},ShowUserDesignEditor:{name:"ShowUserDesignEditor",pathPattern:"/me/design",params:[],service:"lite",metricName:"user-style-editor",mediumAppPage:"user-design-editor"},ShowUserDesignEditorRedirect:{name:"ShowUserDesignEditorRedirect",pathPattern:"/me/styles",params:[],metricName:"user-style-editor"},ShowCollectionDesignEditor:{name:"ShowCollectionDesignEditor",pathPattern:"/{collectionSlug}/design",params:["collectionSlug"],service:"lite",metricName:"collection-style-editor",mediumAppPage:"publication-design-editor"},ShowCollectionDesignEditorRedirect:{name:"ShowCollectionDesignEditorRedirect",pathPattern:"/{collectionSlug}/styles",params:["collectionSlug"],metricName:"collection-style-editor"},FetchRecommendationsForPost:{name:"FetchRecommendationsForPost",pathPattern:"/p/{postId}/upvotes",params:["postId"]},ShowSearch:{name:"ShowSearch",pathPattern:"/search",params:[],service:"lite",metricName:"search",mediumAppPage:"search"},ShowSearchUsers:{name:"ShowSearchUsers",pathPattern:"/search/users",params:[],service:"lite",metricName:"search",mediumAppPage:"search"},ShowSearchCollections:{name:"ShowSearchCollections",pathPattern:"/search/publications",params:[],service:"lite",metricName:"search",mediumAppPage:"search"},ShowSearchTags:{name:"ShowSearchTags",pathPattern:"/search/tags",params:[],service:"lite",metricName:"search",mediumAppPage:"search"},ShowSearchPosts:{name:"ShowSearchPosts",pathPattern:"/search/posts",params:[],service:"lite",metricName:"search",mediumAppPage:"search"},ShowSearchLists:{name:"ShowSearchLists",pathPattern:"/search/lists",params:[],service:"lite",metricName:"search",mediumAppPage:"search"},ShowCollectionSearch:{name:"ShowCollectionSearch",pathPattern:"/{collectionSlug}/search",params:["collectionSlug"],routeTable:"collection",service:"lite",metricName:"search",mediumAppPage:"search"},ShowCollectionSearchCategory:{name:"ShowCollectionSearchCategory",pathPattern:"/{collectionSlug}/search/{category}",params:["collectionSlug","category"],routeTable:"collection",service:"lite",metricName:"search",mediumAppPage:"search"},ShowEmailSettings:{name:"ShowEmailSettings",pathPattern:"/me/email-settings/{userId}/{hash}",params:["userId","hash"]},GlobalUnsubscribeAuthorNewsletters:{name:"GlobalUnsubscribeAuthorNewsletters",pathPattern:"/me/unsubscribe-all-author-newsletters",params:[],service:"lite",mediumAppPage:"global-unsubscribe-author-newsletters"},GlobalUnsubscribeNewsletters:{name:"GlobalUnsubscribeNewsletters",pathPattern:"/me/unsubscribe-all-newsletters",params:[],service:"lite",mediumAppPage:"global-unsubscribe-newsletters"},ShowYourStoriesRedirect:{name:"ShowYourStoriesRedirect",pathPattern:"/me/stories",params:[],service:"lite",metricName:"stories",mediumAppPage:"your-stories"},ShowYourStories:{name:"ShowYourStories",pathPattern:"/me/stories/{filterBy}",params:["filterBy"],service:"lite",metricName:"stories",mediumAppPage:"your-stories"},ShowCatalog:{name:"ShowCatalog",pathPattern:"/collections/{catalogSlug}",params:["catalogSlug"]},TopStories:{name:"TopStories",pathPattern:"/top-stories",params:[]},TopStoriesDate:{name:"TopStoriesDate",pathPattern:"/top-stories/{monthDayYearSlug}",params:["monthDayYearSlug"]},ShowTop:{name:"ShowTop",pathPattern:"/browse/top",params:[]},ShowTopByDate:{name:"ShowTopByDate",pathPattern:"/browse/top/{monthDayYearSlug}",params:["monthDayYearSlug"]},ShowTopicFollows:{name:"ShowTopicFollows",pathPattern:"/me/following/topics",params:[],service:"lite",redirectTo:"ShowFollowsIndex"},ShowFollows:{name:"ShowFollows",pathPattern:"/me/following/{entityName}",params:["entityName"],service:"lite",mediumAppPage:"customize-suggestions"},ShowFollowsIndex:{name:"ShowFollowsIndex",pathPattern:"/me/following",params:[],service:"lite",mediumAppPage:"customize-following"},ShowSeries:{name:"ShowSeries",pathPattern:"/series/{postId}",params:["postId"],service:"lite",metricName:"series",mediumAppPage:"series"},RedirectShowYourSeries:{name:"RedirectShowYourSeries",pathPattern:"/me/series",params:[]},ShowYourSeries:{name:"ShowYourSeries",pathPattern:"/me/series/{filterBy}",params:["filterBy"]},ShowExploreTopics:{name:"ShowExploreTopics",pathPattern:"/explore-topics",params:[],service:"lite",mediumAppPage:"explore-topics"},ShowTagPostsLatest:{name:"ShowTagPostsLatest",pathPattern:"/tag/{tagSlug}/latest",params:["tagSlug"],service:"lite",metricName:"tag",mediumAppPage:"topic",redirectTo:"ShowTagPosts"},ShowTagPosts:{name:"ShowTagPosts",pathPattern:"/tag/{tagSlug}",params:["tagSlug"],service:"lite",metricName:"tag",mediumAppPage:"topic"},ShowTagPostsRecommended:{name:"ShowTagPostsRecommended",pathPattern:"/tag/{tagSlug}/recommended",params:["tagSlug"],service:"lite",metricName:"tag",mediumAppPage:"topic-recommended"},ShowTagWhoToFollow:{name:"ShowTagWhoToFollow",pathPattern:"/tag/{tagSlug}/who-to-follow",params:["tagSlug"],service:"lite",metricName:"tag",mediumAppPage:"topic-who-to-follow"},ShowTagPostsTop:{name:"ShowTagPostsTop",pathPattern:"/tag/{tagSlug}/top/{timePeriod}",params:["tagSlug","timePeriod"],service:"lite",metricName:"tag",mediumAppPage:"topic"},ShowTopWritersInTag:{name:"ShowTopWritersInTag",pathPattern:"/tag/{tagSlug}/top-writers",params:["tagSlug"],service:"lite",metricName:"tag",mediumAppPage:"topic",redirectTo:"ShowTagPosts"},ShowTagArchive:{name:"ShowTagArchive",pathPattern:"/tag/{tagSlug}/archive",params:["tagSlug"],service:"lite",serviceVariantFlag:"enable_lite_archive_page",mediumAppPage:"tag-archive"},ShowTagYearlyArchive:{name:"ShowTagYearlyArchive",pathPattern:"/tag/{tagSlug}/archive/{year}",params:["tagSlug","year"],service:"lite",serviceVariantFlag:"enable_lite_archive_page",mediumAppPage:"tag-archive"},ShowTagMonthlyArchive:{name:"ShowTagMonthlyArchive",pathPattern:"/tag/{tagSlug}/archive/{year}/{month}",params:["tagSlug","year","month"],service:"lite",serviceVariantFlag:"enable_lite_archive_page",mediumAppPage:"tag-archive"},ShowTagDailyArchive:{name:"ShowTagDailyArchive",pathPattern:"/tag/{tagSlug}/archive/{year}/{month}/{day}",params:["tagSlug","year","month","day"]},SubscribeTagAndRedirect:{name:"SubscribeTagAndRedirect",pathPattern:"/signedin/subscriptions/tag/{tagSlug}",params:["tagSlug"]},ShowStats:{name:"ShowStats",pathPattern:"/me/stats",params:[],service:"lite",mediumAppPage:"stats-homepage"},ShowStatsResponses:{name:"ShowStatsResponses",pathPattern:"/me/stats/responses",params:[],service:"lite",redirectTo:"ShowStats"},ShowUserStats:{name:"ShowUserStats",pathPattern:"/@{username}/stats",params:["username"],service:"lite",mediumAppPage:"stats-homepage"},ShowUserStatsResponses:{name:"ShowUserStatsResponses",pathPattern:"/@{username}/stats/responses",params:["username"],service:"lite",redirectTo:"ShowUserStats"},ShowStatsPost:{name:"ShowStatsPost",pathPattern:"/me/stats/post/{postId}",params:["postId"],service:"lite",metricName:"stats-post",mediumAppPage:"stats-post"},ShowUserStatsPost:{name:"ShowUserStatsPost",pathPattern:"/@{username}/stats/post/{postId}",params:["username","postId"],service:"lite",metricName:"stats-post",mediumAppPage:"stats-post"},ShowOnboarding2:{name:"ShowOnboarding2",pathPattern:"/get-started",params:[]},ShowTopicsOnboarding:{name:"ShowTopicsOnboarding",pathPattern:"/get-started/topics",params:[],service:"lite",mediumAppPage:"topics-onboarding"},ShowPlansOnboarding:{name:"ShowPlansOnboarding",pathPattern:"/get-started/plans",params:[],service:"lite",mediumAppPage:"onboarding-plans"},ShowUserOneClickFollow:{name:"ShowUserOneClickFollow",pathPattern:"/@{username}/follow",params:["username"],routeTable:"user",service:"lite",redirectTo:"ShowUser"},ShowVerifyAccount:{name:"ShowVerifyAccount",pathPattern:"/me/send-verify",params:[]},ShowUser:{name:"ShowUser",pathPattern:"/@{username}",params:["username"],routeTable:"user",service:"lite",metricName:"profile",mediumAppPage:"user-profile"},ShowEditUserProfile:{name:"ShowEditUserProfile",pathPattern:"/@{username}/edit",params:["username"]},ShowUserLatest:{name:"ShowUserLatest",pathPattern:"/@{username}/latest",params:["username"]},ShowUserHasRecommended:{name:"ShowUserHasRecommended",pathPattern:"/@{username}/has-recommended",params:["username"]},ShowUserHighlights:{name:"ShowUserHighlights",pathPattern:"/@{username}/highlights",params:["username"]},ShowUserSeries:{name:"ShowUserSeries",pathPattern:"/@{username}/series",params:["username"]},ShowUserFollowers:{name:"ShowUserFollowers",pathPattern:"/@{username}/followers",params:["username"],routeTable:"user",service:"lite",mediumAppPage:"user-followers"},ShowUserFollowing:{name:"ShowUserFollowing",pathPattern:"/@{username}/following",params:["username"],routeTable:"user",service:"lite",mediumAppPage:"user-following"},ShowUserAbout:{name:"ShowUserAbout",pathPattern:"/@{username}/about",params:["username"],routeTable:"user",service:"lite",mediumAppPage:"user-about"},ShowUserAboutRedirect:{name:"ShowUserAboutRedirect",pathPattern:"/me/about",params:[]},ShowUserBooks:{name:"ShowUserBooks",pathPattern:"/@{username}/books",params:["username"],routeTable:"user",service:"lite",mediumAppPage:"user-books"},ShowUserLists:{name:"ShowUserLists",pathPattern:"/@{username}/lists",params:["username"],routeTable:"user",service:"lite",mediumAppPage:"user-catalogs"},ShowUserList:{name:"ShowUserList",pathPattern:"/@{username}/list/{catalogSlugId}",params:["username","catalogSlugId"],routeTable:"user",service:"lite",metricName:"list",mediumAppPage:"user-catalog"},RedirectShowCatalogShare:{name:"RedirectShowCatalogShare",pathPattern:"/@{username}/list/{catalogSlug}/share/{channel}",params:["username","catalogSlug","channel"],routeTable:"user"},ShowEmbedCatalog:{name:"ShowEmbedCatalog",pathPattern:"/embed/list/{catalogSlugId}",params:["catalogSlugId"],routeTable:"all",service:"lite",mediumAppPage:"embed-catalog"},ShowUserAwards:{name:"ShowUserAwards",pathPattern:"/@{username}/awards/{kind}",params:["username","kind"]},ShowAwardedPosts:{name:"ShowAwardedPosts",pathPattern:"/awards/{type}",params:["type"]},ShowUserFilterByCollection:{name:"ShowUserFilterByCollection",pathPattern:"/{collectionSlug}/@{username}",params:["collectionSlug","username"],routeTable:"collection"},ShowSubscriptionStatsPage:{name:"ShowSubscriptionStatsPage",pathPattern:"/@{username}/audience",params:["username"],routeTable:"user",service:"lite",mediumAppPage:"subscription-stats"},ShowSubscriptionStatsPageWithDetails:{name:"ShowSubscriptionStatsPageWithDetails",pathPattern:"/@{username}/audience/{details}",params:["username","details"],routeTable:"user",service:"lite",mediumAppPage:"subscription-stats"},ShowUserResponses:{name:"ShowUserResponses",pathPattern:"/@{username}/responses",params:["username"]},ShowReceipt:{name:"ShowReceipt",pathPattern:"/me/billing-history/receipt/{chargeId}",params:["chargeId"],service:"lite",mediumAppPage:"billing-receipt"},RedirectToPayoutSetup:{name:"RedirectToPayoutSetup",pathPattern:"/me/settings/payout/setup",params:[]},FinishPayoutSetup:{name:"FinishPayoutSetup",pathPattern:"/me/settings/payout/stripe/finish",params:[]},RedirectToPayoutDashboard:{name:"RedirectToPayoutDashboard",pathPattern:"/me/settings/payout/dashboard",params:[]},RedirectToPartnerEnrollStep:{name:"RedirectToPartnerEnrollStep",pathPattern:"/me/partner/enroll",params:[]},ShowPartnerEnroll:{name:"ShowPartnerEnroll",pathPattern:"/me/partner/enroll/{step}",params:["step"]},ShowPartnerProgramUnenrollmentSelfService:{name:"ShowPartnerProgramUnenrollmentSelfService",pathPattern:"/me/partner/unenroll",params:[],service:"lite",mediumAppPage:"partner-program-unenroll"},ShowPartnerDashboard:{name:"ShowPartnerDashboard",pathPattern:"/me/partner/dashboard",params:[],service:"lite",mediumAppPage:"partner-program-dashboard"},ShowPartnerDashboardTab:{name:"ShowPartnerDashboardTab",pathPattern:"/me/partner/dashboard/{tab}",params:["tab"],service:"lite",mediumAppPage:"partner-program-dashboard"},ShowUserPartnerDashboard:{name:"ShowUserPartnerDashboard",pathPattern:"/@{username}/partner/dashboard",params:["username"],service:"lite",mediumAppPage:"partner-program-dashboard"},ShowUserPartnerDashboardTab:{name:"ShowUserPartnerDashboardTab",pathPattern:"/@{username}/partner/dashboard/{tab}",params:["username","tab"],service:"lite",mediumAppPage:"partner-program-dashboard"},ShowPartnerTaxes:{name:"ShowPartnerTaxes",pathPattern:"/me/partner/taxes",params:[]},ShowPartnerProgramApplication:{name:"ShowPartnerProgramApplication",pathPattern:"/m/partner-program",params:[]},FetchExport:{name:"FetchExport",pathPattern:"/me/export/{exportId}",params:["exportId"]},AdminShowInternalStatus:{name:"AdminShowInternalStatus",pathPattern:"/_/admin/internal-status",params:[],service:"lite",mediumAppPage:"internal-status"},ShowCollectionHome:{name:"ShowCollectionHome",pathPattern:"/{collectionSlug}",params:["collectionSlug"],routeTable:"collection",service:"lite",metricName:"collection-homepage",mediumAppPage:"publication-profile"},ShowCollectionMasthead:{name:"ShowCollectionMasthead",pathPattern:"/{collectionSlug}/about",params:["collectionSlug"],routeTable:"collection",service:"lite",metricName:"collection-about",mediumAppPage:"publication-about"},ShowEditCollectionMasthead:{name:"ShowEditCollectionMasthead",pathPattern:"/{collectionSlug}/settings/about",params:["collectionSlug"]},ShowCollectionCreate:{name:"ShowCollectionCreate",pathPattern:"/new-publication",params:[]},ShowCollectionEdit:{name:"ShowCollectionEdit",pathPattern:"/{collectionSlug}/edit",params:["collectionSlug"]},ShowCollectionSettings:{name:"ShowCollectionSettings",pathPattern:"/{collectionSlug}/settings",params:["collectionSlug"]},ShowCollectionCustomDomainSettings:{name:"ShowCollectionCustomDomainSettings",pathPattern:"/{collectionSlug}/settings/custom-domain",params:["collectionSlug"],service:"lite",mediumAppPage:"publication-custom-domain-settings"},ShowCollectionNavigationSettings:{name:"ShowCollectionNavigationSettings",pathPattern:"/{collectionSlug}/settings/navigation",params:["collectionSlug"]},ShowCollectionLatest:{name:"ShowCollectionLatest",pathPattern:"/{collectionSlug}/latest",params:["collectionSlug"],routeTable:"collection",service:"lite",serviceVariantFlag:"enable_lite_publications",customDomainServiceVariantFlag:"enable_lite_publications",mediumAppPage:"community-publication-latest"},ShowCollectionTrending:{name:"ShowCollectionTrending",pathPattern:"/{collectionSlug}/trending",params:["collectionSlug"],routeTable:"collection",service:"lite",serviceVariantFlag:"enable_lite_publications",customDomainServiceVariantFlag:"enable_lite_publications",mediumAppPage:"community-publication-trending"},ShowCollectionTagged:{name:"ShowCollectionTagged",pathPattern:"/{collectionSlug}/tagged/{tagSlug}",params:["collectionSlug","tagSlug"],routeTable:"collection",service:"lite",metricName:"collection-tagged",mediumAppPage:"publication-tagged"},ShowCollectionFeaturePageTagged:{name:"ShowCollectionFeaturePageTagged",pathPattern:"/{collectionSlug}/{featureSlug}/tagged/{tagSlug}",params:["collectionSlug","featureSlug","tagSlug"],routeTable:"collection",service:"lite",mediumAppPage:"publication-tagged"},ShowCollectionFeatured:{name:"ShowCollectionFeatured",pathPattern:"/{collectionSlug}/featured",params:["collectionSlug"],routeTable:"collection"},ShowCollectionArchive:{name:"ShowCollectionArchive",pathPattern:"/{collectionSlug}/archive",params:["collectionSlug"],routeTable:"collection",service:"lite",serviceVariantFlag:"enable_lite_publications",customDomainServiceVariantFlag:"enable_lite_publications",mediumAppPage:"community-publication-archive"},ShowCollectionYearlyArchive:{name:"ShowCollectionYearlyArchive",pathPattern:"/{collectionSlug}/archive/{year}",params:["collectionSlug","year"],routeTable:"collection",service:"lite",serviceVariantFlag:"enable_lite_publications",customDomainServiceVariantFlag:"enable_lite_publications",mediumAppPage:"community-publication-archive"},ShowCollectionMonthlyArchive:{name:"ShowCollectionMonthlyArchive",pathPattern:"/{collectionSlug}/archive/{year}/{month}",params:["collectionSlug","year","month"],routeTable:"collection",service:"lite",serviceVariantFlag:"enable_lite_publications",customDomainServiceVariantFlag:"enable_lite_publications",mediumAppPage:"community-publication-archive"},ShowCollectionDailyArchive:{name:"ShowCollectionDailyArchive",pathPattern:"/{collectionSlug}/archive/{year}/{month}/{day}",params:["collectionSlug","year","month","day"],routeTable:"collection",service:"lite",serviceVariantFlag:"enable_lite_publications",customDomainServiceVariantFlag:"enable_lite_publications",mediumAppPage:"community-publication-archive"},ShowCollectionAll:{name:"ShowCollectionAll",pathPattern:"/{collectionSlug}/all",params:["collectionSlug"],routeTable:"collection"},ShowCollectionAllPaged:{name:"ShowCollectionAllPaged",pathPattern:"/{collectionSlug}/all/{page}",params:["collectionSlug","page"],routeTable:"collection"},ShowPaymentMethod:{name:"ShowPaymentMethod",pathPattern:"/me/settings/payment/update",params:[],service:"lite",metricName:"update-payment",mediumAppPage:"update-payment"},ShowCancelMembership:{name:"ShowCancelMembership",pathPattern:"/me/membership/cancel",params:[],service:"lite",mediumAppPage:"cancel-membership"},ShowCollectionFollowers:{name:"ShowCollectionFollowers",pathPattern:"/{collectionSlug}/settings/followers",params:["collectionSlug"],service:"lite",redirectTo:"ShowLiteCollectionFollowers"},ShowLiteCollectionFollowers:{name:"ShowLiteCollectionFollowers",pathPattern:"/{collectionSlug}/followers",params:["collectionSlug"],routeTable:"collection",service:"lite",mediumAppPage:"publication-followers"},ShowUserCollectionFollowers:{name:"ShowUserCollectionFollowers",pathPattern:"/{collectionSlug}/@{username}/followers",params:["collectionSlug","username"],routeTable:"collection"},ShowUserCollectionFollowing:{name:"ShowUserCollectionFollowing",pathPattern:"/{collectionSlug}/@{username}/following",params:["collectionSlug","username"],routeTable:"collection"},ShowCollectionTopic:{name:"ShowCollectionTopic",pathPattern:"/{collectionSlug}/{topicSlug}/home",params:["collectionSlug","topicSlug"],routeTable:"collection",service:"lite",serviceVariantFlag:"enable_lite_publications",customDomainServiceVariantFlag:"enable_lite_publications",mediumAppPage:"community-publication-feature"},ShowCollectionFeatureSection:{name:"ShowCollectionFeatureSection",pathPattern:"/{collectionSlug}/home/{sectionId}",params:["collectionSlug","sectionId"],routeTable:"collection",service:"lite",mediumAppPage:"community-publication-feature-section"},ShowCollectionFeaturePageSection:{name:"ShowCollectionFeaturePageSection",pathPattern:"/{collectionSlug}/{featureSlug}/home/{sectionId}",params:["collectionSlug","featureSlug","sectionId"],routeTable:"collection",service:"lite",mediumAppPage:"community-publication-feature-section"},ShowCollectionTopicList:{name:"ShowCollectionTopicList",pathPattern:"/{collectionSlug}/settings/feature-pages",params:["collectionSlug"]},ShowCollectionTopicCreate:{name:"ShowCollectionTopicCreate",pathPattern:"/{collectionSlug}/settings/feature-pages/new",params:["collectionSlug"]},ShowCollectionTopicEdit:{name:"ShowCollectionTopicEdit",pathPattern:"/{collectionSlug}/settings/feature-pages/{topicSlug}/edit",params:["collectionSlug","topicSlug"]},ShowEditTopic:{name:"ShowEditTopic",pathPattern:"/topic/{topicSlug}/edit",params:["topicSlug"]},ShowAddPostsToTopic:{name:"ShowAddPostsToTopic",pathPattern:"/topic/{topicSlug}/add-posts",params:["topicSlug"]},ShowTopic:{name:"ShowTopic",pathPattern:"/topic/{topicSlug}",params:["topicSlug"],service:"lite",metricName:"topic",mediumAppPage:"legacy-topic-redirect"},RenderTopicFeed:{name:"RenderTopicFeed",pathPattern:"/feed/topic/{topicSlug}",params:["topicSlug"]},RenderFlipboardFeed:{name:"RenderFlipboardFeed",pathPattern:"/feed/flipboard/{topicSlug}",params:["topicSlug"]},ShowTopicExplore:{name:"ShowTopicExplore",pathPattern:"/topics",params:[],metricName:"topic"},ShowAcceptedFeatureLockPostRequest:{name:"ShowAcceptedFeatureLockPostRequest",pathPattern:"/p/{postId}/requests/partner/feature/{token}",params:["postId","token"]},ShowAcctSignIn:{name:"ShowAcctSignIn",pathPattern:"/m/signin",params:[],service:"lite",mediumAppPage:"sign-in"},FetchGlobalIdentityUrl:{name:"FetchGlobalIdentityUrl",pathPattern:"/m/global-identity",params:[]},GlobalIdentity:{name:"GlobalIdentity",pathPattern:"/m/global-identity-2",params:[],service:"auth"},GlobalIdentity3:{name:"GlobalIdentity3",pathPattern:"/m/global-identity-3",params:[],service:"auth"},StartGoogleAuth:{name:"StartGoogleAuth",pathPattern:"/m/connect/google",params:[]},StartAppleAuth:{name:"StartAppleAuth",pathPattern:"/m/start-auth/apple",params:[]},AcctToken:{name:"AcctToken",pathPattern:"/m/token",params:[]},ShowAcctAuthCallback:{name:"ShowAcctAuthCallback",pathPattern:"/m/callback/authenticate",params:[]},ShowPasswordCrupdateFlow:{name:"ShowPasswordCrupdateFlow",pathPattern:"/password",params:[],service:"lite",mediumAppPage:"crupdate-password"},FetchAppSiteAssociation:{name:"FetchAppSiteAssociation",pathPattern:"/apple-app-site-association",params:[],routeTable:"all"},FetchAppSiteAssociationWellKnown:{name:"FetchAppSiteAssociationWellKnown",pathPattern:"/.well-known/apple-app-site-association",params:[],routeTable:"all"},FetchDeveloperDomainAssociationWellKnown:{name:"FetchDeveloperDomainAssociationWellKnown",pathPattern:"/.well-known/apple-developer-domain-association.txt",params:[]},FetchDeveloperMerchantidDomainAssociationWellKnown:{name:"FetchDeveloperMerchantidDomainAssociationWellKnown",pathPattern:"/.well-known/apple-developer-merchantid-domain-association",params:[]},AndroidAssetlinks:{name:"AndroidAssetlinks",pathPattern:"/.well-known/assetlinks.json",params:[],routeTable:"all"},LoginRedirect:{name:"LoginRedirect",pathPattern:"/m/login-redirect",params:[]},ShowAppsLanding:{name:"ShowAppsLanding",pathPattern:"/m/app",params:[]},ShowGoodbye:{name:"ShowGoodbye",pathPattern:"/m/goodbye",params:[]},ReadersLandingRedirect:{name:"ReadersLandingRedirect",pathPattern:"/m/getting-started",params:[]},ShowSuspended:{name:"ShowSuspended",pathPattern:"/suspended",params:[]},ShowSubscriptionsLanding:{name:"ShowSubscriptionsLanding",pathPattern:"/membership",params:[],service:"lite",metricName:"membership",mediumAppPage:"landing-membership"},ShowCreatorsLanding:{name:"ShowCreatorsLanding",pathPattern:"/creators",params:[]},ShowCreatorTools:{name:"ShowCreatorTools",pathPattern:"/creator-tools",params:[]},ShowEarnLanding:{name:"ShowEarnLanding",pathPattern:"/earn",params:[]},ShowGiftLanding:{name:"ShowGiftLanding",pathPattern:"/gift",params:[],service:"lite",metricName:"gift",mediumAppPage:"landing-gift"},ShowWriterSubscriptionLanding:{name:"ShowWriterSubscriptionLanding",pathPattern:"/subscribe/@{username}",params:["username"],routeTable:"user",service:"lite",redirectTo:"ShowWriterSubscriptionCustomDomainPromotionPage"},ShowWriterSubscriptionCustomDomainPromotionPage:{name:"ShowWriterSubscriptionCustomDomainPromotionPage",pathPattern:"/@{username}/subscribe",params:["username"],routeTable:"user",service:"lite",mediumAppPage:"writer-subscription-promotion"},ShowLandingB2b:{name:"ShowLandingB2b",pathPattern:"/business",params:[],service:"lite",mediumAppPage:"landing-b2b"},ShowLandingVerifiedAuthors:{name:"ShowLandingVerifiedAuthors",pathPattern:"/verified-authors",params:[],service:"lite",mediumAppPage:"landing-verified-authors"},ShowLandingPartnerProgram:{name:"ShowLandingPartnerProgram",pathPattern:"/partner-program",params:[],service:"lite",mediumAppPage:"landing-partner-program"},ShowMastodonCallbackPage:{name:"ShowMastodonCallbackPage",pathPattern:"/m/callback/mastodon",params:[],service:"lite",serviceVariantFlag:"enable_mastodon_for_members",mediumAppPage:"mastodon-callback"},ShowMastodonForMembersPage:{name:"ShowMastodonForMembersPage",pathPattern:"/mastodon",params:[],service:"lite",serviceVariantFlag:"enable_mastodon_for_members",mediumAppPage:"mastodon-for-members"},ShowManageMembershipPage:{name:"ShowManageMembershipPage",pathPattern:"/manage-membership",params:[],service:"lite",serviceVariantFlag:"enable_switch_plan_premium_tier",mediumAppPage:"manage-membership"},ShowManageMembershipConfirmationPage:{name:"ShowManageMembershipConfirmationPage",pathPattern:"/manage-membership/confirmation/{membershipType}",params:["membershipType"],service:"lite",serviceVariantFlag:"enable_switch_plan_premium_tier",mediumAppPage:"manage-membership-confirmation"},ShowPartnerProgramApplicationPage:{name:"ShowPartnerProgramApplicationPage",pathPattern:"/partner-program-application",params:[],service:"lite",mediumAppPage:"partner-program-application"},ShowPartnerProgramStripeFinishPage:{name:"ShowPartnerProgramStripeFinishPage",pathPattern:"/partner-program/stripe/finish",params:[],service:"lite",mediumAppPage:"partner-program-stripe-finish"},ShowPartnerProgramReconnectStripePage:{name:"ShowPartnerProgramReconnectStripePage",pathPattern:"/partner-program/stripe/reconnect",params:[],service:"lite",mediumAppPage:"partner-program-stripe-reconnect"},ShowPartnerProgramReconnectStripeSuccessPage:{name:"ShowPartnerProgramReconnectStripeSuccessPage",pathPattern:"/partner-program/stripe/reconnect/success",params:[],service:"lite",mediumAppPage:"partner-program-stripe-reconnect-success"},ShowPartnerProgramPayoutSettings:{name:"ShowPartnerProgramPayoutSettings",pathPattern:"/partner-program/payout/{step}",params:["step"],service:"lite",mediumAppPage:"partner-program-payout-settings"},ShowPay:{name:"ShowPay",pathPattern:"/plans",params:[],service:"lite",metricName:"pay",mediumAppPage:"plans"},ShowPayConfirmation:{name:"ShowPayConfirmation",pathPattern:"/plans/confirmation/{membershipType}",params:["membershipType"],service:"lite",metricName:"pay",mediumAppPage:"plans-confirmation"},ShowDiscountPlans:{name:"ShowDiscountPlans",pathPattern:"/discount",params:[],service:"lite",metricName:"pay",mediumAppPage:"discount-plans"},RedirectMediumMembershipUpgrade:{name:"RedirectMediumMembershipUpgrade",pathPattern:"/upgrade",params:[]},ShowMediumMembershipPayment:{name:"ShowMediumMembershipPayment",pathPattern:"/payment",params:[]},ShowGiftCheckout:{name:"ShowGiftCheckout",pathPattern:"/gift-checkout",params:[]},ShowLiteGiftCheckout:{name:"ShowLiteGiftCheckout",pathPattern:"/gift-plans",params:[],service:"lite",mediumAppPage:"gift-membership"},ShowGroupGiftCheckout:{name:"ShowGroupGiftCheckout",pathPattern:"/group-gift",params:[],service:"lite",metricName:"group-gift-checkout",mediumAppPage:"group-gift-membership"},ShowRedeemGift:{name:"ShowRedeemGift",pathPattern:"/redeem",params:[]},ShowLiteRedeemGift:{name:"ShowLiteRedeemGift",pathPattern:"/redeem-gift",params:[],service:"lite",metricName:"redeem",mediumAppPage:"redeem-gift-membership"},ShowMemberOnboarding:{name:"ShowMemberOnboarding",pathPattern:"/welcome-member",params:[],service:"lite",mediumAppPage:"welcome-member"},DownloadApp:{name:"DownloadApp",pathPattern:"/download-app",params:[],service:"lite",mediumAppPage:"download-app"},ShowRedirect:{name:"ShowRedirect",pathPattern:"/r",params:[],routeTable:"collection"},ShowMissionControl:{name:"ShowMissionControl",pathPattern:"/me/missioncontrol",params:[],service:"lite",redirectTo:"ShowFollowsIndex"},ShowReadingHistory:{name:"ShowReadingHistory",pathPattern:"/me/readinghistory",params:[],service:"lite",mediumAppPage:"customize-reading-history"},ShowYourReadingHistory:{name:"ShowYourReadingHistory",pathPattern:"/me/lists/reading-history",params:[],service:"lite",mediumAppPage:"your-reading-history"},ShowList:{name:"ShowList",pathPattern:"/me/list/{catalogSlugId}",params:["catalogSlugId"],service:"lite",mediumAppPage:"your-catalog"},ShowYourLists:{name:"ShowYourLists",pathPattern:"/me/lists",params:[],service:"lite",mediumAppPage:"your-catalogs"},ShowYourFollowedLists:{name:"ShowYourFollowedLists",pathPattern:"/me/lists/saved",params:[],service:"lite",mediumAppPage:"your-followed-catalogs"},ShowYourActivity:{name:"ShowYourActivity",pathPattern:"/me/activity",params:[]},ShowYourNotifications:{name:"ShowYourNotifications",pathPattern:"/me/notifications",params:[],service:"lite",mediumAppPage:"notifications"},ShowSequence:{name:"ShowSequence",pathPattern:"/s/{sequenceSlug}",params:["sequenceSlug"]},ShowSequencePost:{name:"ShowSequencePost",pathPattern:"/s/{sequenceSlug}/{postId}",params:["sequenceSlug","postId"],service:"lite",metricName:"sequence-post",mediumAppPage:"post"},RedirectSequenceShare:{name:"RedirectSequenceShare",pathPattern:"/s/{sequenceSlug}/share/{channel}",params:["sequenceSlug","channel"]},ShowSequenceLibrary:{name:"ShowSequenceLibrary",pathPattern:"/collections",params:[],service:"lite",metricName:"sequence-library",mediumAppPage:"collections-library"},ShowEditSequence:{name:"ShowEditSequence",pathPattern:"/s/{sequenceSlug}/edit",params:["sequenceSlug"]},ShowCreateSequence:{name:"ShowCreateSequence",pathPattern:"/s/new",params:[]},ShowTickLandingPage:{name:"ShowTickLandingPage",pathPattern:"/l/ticks",params:[],service:"lite",metricName:"landing-pages/ticks",mediumAppPage:"ticks"},ShowTrumplandLandingPage:{name:"ShowTrumplandLandingPage",pathPattern:"/l/the-trump-45",params:[],service:"lite",metricName:"landing-pages/trumpland",mediumAppPage:"the-trump-45"},ShowTributeLandingPage:{name:"ShowTributeLandingPage",pathPattern:"/l/tribute",params:[],service:"lite",metricName:"landing-pages/tribute",mediumAppPage:"tribute"},ShowNotAvailable:{name:"ShowNotAvailable",pathPattern:"/not-available",params:[],service:"lite",metricName:"not-available",mediumAppPage:"not-available"},FetchMediaResourceEmbed:{name:"FetchMediaResourceEmbed",pathPattern:"/media/{mediaResourceId}",params:["mediaResourceId"],routeTable:"all"},ShowMediumJobs:{name:"ShowMediumJobs",pathPattern:"/jobs",params:[]},ShowTermsOfService:{name:"ShowTermsOfService",pathPattern:"/m/tos",params:[]},AcctTwitterCallback:{name:"AcctTwitterCallback",pathPattern:"/m/callback/twitter",params:[]},AcctFacebookCallback:{name:"AcctFacebookCallback",pathPattern:"/m/callback/v2/facebook",params:[]},AcctGoogleCallback:{name:"AcctGoogleCallback",pathPattern:"/m/callback/google",params:[]},AcctAppleCallback:{name:"AcctAppleCallback",pathPattern:"/m/callback/apple",params:[]},AcctEmailCallback:{name:"AcctEmailCallback",pathPattern:"/m/callback/email",params:[]},OnboardingBeginRedirect:{name:"OnboardingBeginRedirect",pathPattern:"/welcome",params:[]},ProfileCollectionsRedirect:{name:"ProfileCollectionsRedirect",pathPattern:"/@{username}/publications",params:["username"]},ProfileRecommendedRedirect:{name:"ProfileRecommendedRedirect",pathPattern:"/@{username}/recommended",params:["username"]},ProfileHomeRedirect:{name:"ProfileHomeRedirect",pathPattern:"/u/{userId}",params:["userId"]},ProfileSelfRedirect:{name:"ProfileSelfRedirect",pathPattern:"/me",params:[]},ShowSettings:{name:"ShowSettings",pathPattern:"/me/settings",params:[],service:"lite",mediumAppPage:"settings"},ShowSettingsTab:{name:"ShowSettingsTab",pathPattern:"/me/settings/{setting}",params:["setting"],service:"lite",mediumAppPage:"settings"},ShowUserCustomDomainSettings:{name:"ShowUserCustomDomainSettings",pathPattern:"/me/settings/custom-domain",params:[],service:"lite",mediumAppPage:"settings-custom-domain"},ShowOauthApplicationsList:{name:"ShowOauthApplicationsList",pathPattern:"/me/applications",params:[]},ShowOauthApplicationSettings:{name:"ShowOauthApplicationSettings",pathPattern:"/me/applications/{oauthApplicationId}",params:["oauthApplicationId"]},ShowNewOauthApplication:{name:"ShowNewOauthApplication",pathPattern:"/me/applications/new",params:[]},ShowCollectionStatsOverview:{name:"ShowCollectionStatsOverview",pathPattern:"/{collectionSlug}/stats/overview",params:["collectionSlug"],routeTable:"collection",service:"lite",redirectTo:"FetchCollectionStats"},ShowCollectionStatsStories:{name:"ShowCollectionStatsStories",pathPattern:"/{collectionSlug}/stats/stories",params:["collectionSlug"],routeTable:"collection",service:"lite",redirectTo:"FetchCollectionStats"},FetchCollectionStats:{name:"FetchCollectionStats",pathPattern:"/{collectionSlug}/stats",params:["collectionSlug"],routeTable:"collection",service:"lite",mediumAppPage:"community-publication-stats"},CollectionSubmissionsRedirect:{name:"CollectionSubmissionsRedirect",pathPattern:"/{collectionSlug}/submissions",params:["collectionSlug"],routeTable:"collection"},ShowCollectionStoriesManager:{name:"ShowCollectionStoriesManager",pathPattern:"/{collectionSlug}/stories/{filterBy}",params:["collectionSlug","filterBy"],routeTable:"collection"},PostReferrersRedirect:{name:"PostReferrersRedirect",pathPattern:"/p/{postId}/referrers",params:["postId"]},FetchOauthAuthorization:{name:"FetchOauthAuthorization",pathPattern:"/m/oauth/authorize",params:[]},CollectionDirect:{name:"CollectionDirect",pathPattern:"/c/{collectionId}",params:["collectionId"]},FetchCreatorAudienceStatsCsv:{name:"FetchCreatorAudienceStatsCsv",pathPattern:"/@{username}/audience/stats/export",params:["username"]},ShowStatsNewsletterV2:{name:"ShowStatsNewsletterV2",pathPattern:"/{collectionSlug}/stats/publication-digests",params:["collectionSlug"],service:"lite",metricName:"newsletterV2-stats",mediumAppPage:"publication-digest-stats"},ShowCreateCollectionNewsletterV3:{name:"ShowCreateCollectionNewsletterV3",pathPattern:"/{collectionSlug}/new-newsletter",params:["collectionSlug"],service:"lite",mediumAppPage:"publication-newsletter-settings"},ShowUpdateCollectionNewsletterV3:{name:"ShowUpdateCollectionNewsletterV3",pathPattern:"/{collectionSlug}/newsletters/{newsletterSlug}/settings",params:["collectionSlug","newsletterSlug"],service:"lite",mediumAppPage:"publication-newsletter-settings"},FetchNewsletterPosts:{name:"FetchNewsletterPosts",pathPattern:"/_api/newsletters/{newsletterV3Id}/posts",params:["newsletterV3Id"]},ShowCollectionNewsletterPromotionPage:{name:"ShowCollectionNewsletterPromotionPage",pathPattern:"/{collectionSlug}/newsletters/{newsletterSlug}",params:["collectionSlug","newsletterSlug"],service:"lite",mediumAppPage:"publication-newsletter-promotion"},ShowCollectionNewsletterLandingPage:{name:"ShowCollectionNewsletterLandingPage",pathPattern:"/{collectionSlug}/newsletter",params:["collectionSlug"],routeTable:"collection",service:"lite",mediumAppPage:"publication-newsletter-landing"},ShowNewNewsletterPost:{name:"ShowNewNewsletterPost",pathPattern:"/newsletters/{newsletterV3Id}/new-email",params:["newsletterV3Id"]},FetchExportedNewsletterV3:{name:"FetchExportedNewsletterV3",pathPattern:"/export/newsletters/{newsletterV3Id}",params:["newsletterV3Id"]},ShowStatsNewsletterV3:{name:"ShowStatsNewsletterV3",pathPattern:"/newsletters/{newsletterV3Id}/stats",params:["newsletterV3Id"]},FetchNewsletterV3SubscribersCsv:{name:"FetchNewsletterV3SubscribersCsv",pathPattern:"/@{username}/newsletters/{newsletterV3Id}/subscribers/csv-export",params:["username","newsletterV3Id"]},ShowImportMailingList:{name:"ShowImportMailingList",pathPattern:"/me/subscribers/import",params:[],service:"lite",mediumAppPage:"import-mailing-list"},ShowMobileWebEditorRedirectNewStory:{name:"ShowMobileWebEditorRedirectNewStory",pathPattern:"/m-write",params:[],service:"lite",mediumAppPage:"mobile-web-editor-redirect"},ShowMobileWebEditorRedirectEditStory:{name:"ShowMobileWebEditorRedirectEditStory",pathPattern:"/m-write/{postId}",params:["postId"],service:"lite",mediumAppPage:"mobile-web-editor-redirect"},ShowMutedEntities:{name:"ShowMutedEntities",pathPattern:"/me/settings/mute/{activeTab}",params:["activeTab"],service:"lite",mediumAppPage:"customize-muted"},ShowMuted:{name:"ShowMuted",pathPattern:"/me/settings/mute",params:[],service:"lite",mediumAppPage:"customize-muted"},OauthV1Identity:{name:"OauthV1Identity",pathPattern:"/v1/me",params:[]},OauthV1UserPublications:{name:"OauthV1UserPublications",pathPattern:"/v1/users/{applicationSpecificUserId}/publications",params:["applicationSpecificUserId"]},OauthV1PublicationContributors:{name:"OauthV1PublicationContributors",pathPattern:"/v1/publications/{publicationId}/contributors",params:["publicationId"]},IftttUserInfo:{name:"IftttUserInfo",pathPattern:"/ifttt/v1/user/info",params:[]},IftttStatus:{name:"IftttStatus",pathPattern:"/ifttt/v1/status",params:[]},StartFacebookAuth:{name:"StartFacebookAuth",pathPattern:"/m/connect/facebook",params:[]},AcctNamecheapCallback:{name:"AcctNamecheapCallback",pathPattern:"/m/callback/namecheap",params:[]},FetchProfileFollowList:{name:"FetchProfileFollowList",pathPattern:"/@{username}/follow-list",params:["username"]},FetchCollectionStoriesManagerRedirect:{name:"FetchCollectionStoriesManagerRedirect",pathPattern:"/{collectionSlug}/stories",params:["collectionSlug"]},FetchCollectionStoriesManagerLoadMore:{name:"FetchCollectionStoriesManagerLoadMore",pathPattern:"/{collectionSlug}/stories/{filterBy}/loadMore",params:["collectionSlug","filterBy"]},FetchAppLogin:{name:"FetchAppLogin",pathPattern:"/m/app/login/{token}",params:["token"]},RedirectHelpCenter:{name:"RedirectHelpCenter",pathPattern:"/help",params:[]},PloverProxy:{name:"PloverProxy",pathPattern:"/js/plovr/proxy/*",params:[]},PloverMain:{name:"PloverMain",pathPattern:"/js/main-base.bundle.js",params:[]},CreateUpload:{name:"CreateUpload",pathPattern:"/_/upload",params:[]},CreateUploadUrl:{name:"CreateUploadUrl",pathPattern:"/_/upload-url",params:[]},FetchMediaResourceHref:{name:"FetchMediaResourceHref",pathPattern:"/media/{mediaResourceId}/href",params:["mediaResourceId"],routeTable:"all"},ShowShareSuccess:{name:"ShowShareSuccess",pathPattern:"/m/share/success",params:[],service:"lite",mediumAppPage:"share-success"},FetchPostRead:{name:"FetchPostRead",pathPattern:"/p/{postId}/state/read",params:["postId"]},FetchPostState:{name:"FetchPostState",pathPattern:"/p/{postId}/state",params:["postId"]},FetchPostNote:{name:"FetchPostNote",pathPattern:"/p/{postId}/notes/{noteId}",params:["postId","noteId"]},FetchPostNoteReplySingle:{name:"FetchPostNoteReplySingle",pathPattern:"/p/notereplies/{replyId}",params:["replyId"]},AcctAuthTwitter:{name:"AcctAuthTwitter",pathPattern:"/m/account/authenticate-twitter",params:[]},AcctConfirm:{name:"AcctConfirm",pathPattern:"/m/account/confirm/{key}",params:["key"]},ShowUnrecognizedAccountScreen:{name:"ShowUnrecognizedAccountScreen",pathPattern:"/unrecognized-account",params:[],service:"lite",mediumAppPage:"unrecognized-account"},AcctSignout:{name:"AcctSignout",pathPattern:"/m/signout/{xsrf}",params:["xsrf"],routeTable:"all"},FetchStatsPostAt:{name:"FetchStatsPostAt",pathPattern:"/me/stats/{postId}/{startTimeMs}/{endTimeMs}",params:["postId","startTimeMs","endTimeMs"]},FetchPostStatsAt:{name:"FetchPostStatsAt",pathPattern:"/stats/{postId}/{startTimeMs}/{endTimeMs}",params:["postId","startTimeMs","endTimeMs"]},FetchFeedLatest:{name:"FetchFeedLatest",pathPattern:"/feed/latest",params:[]},FetchFeedCollection:{name:"FetchFeedCollection",pathPattern:"/feed/{collectionSlug}",params:["collectionSlug"]},FetchFeedUser:{name:"FetchFeedUser",pathPattern:"/feed/@{username}",params:["username"]},FetchUserFeed:{name:"FetchUserFeed",pathPattern:"/@{username}/feed",params:["username"],routeTable:"user"},FetchFeedUserRecommends:{name:"FetchFeedUserRecommends",pathPattern:"/feed/@{username}/has-recommended",params:["username"]},FetchFeedTag:{name:"FetchFeedTag",pathPattern:"/feed/tag/{tagSlug}",params:["tagSlug"]},FetchFeedCatalog:{name:"FetchFeedCatalog",pathPattern:"/feed/collections/{catalogSlug}",params:["catalogSlug"]},FetchFeedCollectionNews:{name:"FetchFeedCollectionNews",pathPattern:"/feed/{collectionSlug}/news",params:["collectionSlug"]},FetchFeedCollectionTag:{name:"FetchFeedCollectionTag",pathPattern:"/feed/{collectionSlug}/tagged/{tagSlug}",params:["collectionSlug","tagSlug"]},FetchFeedCollectionTagNews:{name:"FetchFeedCollectionTagNews",pathPattern:"/feed/{collectionSlug}/news/tagged/{tagSlug}",params:["collectionSlug","tagSlug"]},FetchEmbed:{name:"FetchEmbed",pathPattern:"/embed",params:[],routeTable:"all"},FetchCollectionMore:{name:"FetchCollectionMore",pathPattern:"/{collectionSlug}/load-more",params:["collectionSlug"]},FetchCollectionPostFeatured:{name:"FetchCollectionPostFeatured",pathPattern:"/{collectionSlug}/{postId}/featured",params:["collectionSlug","postId"]},FetchOpensearchDescription:{name:"FetchOpensearchDescription",pathPattern:"/osd.xml",params:[],routeTable:"all"},StaticFetchBootstrap:{name:"StaticFetchBootstrap",pathPattern:"/bootstrap/*",params:[]},StaticFetchCss:{name:"StaticFetchCss",pathPattern:"/css/*",params:[]},StaticFetchIcons:{name:"StaticFetchIcons",pathPattern:"/icons/*",params:[]},StaticFetchJs:{name:"StaticFetchJs",pathPattern:"/js/*",params:[]},StaticFetchCrossDomain:{name:"StaticFetchCrossDomain",pathPattern:"/crossdomain.xml",params:[]},StaticFetchEmbedTest:{name:"StaticFetchEmbedTest",pathPattern:"/embed-test.html",params:[]},StaticFetchFaviconRebrand:{name:"StaticFetchFaviconRebrand",pathPattern:"/favicon-rebrand.ico",params:[]},StaticFetchFavicon:{name:"StaticFetchFavicon",pathPattern:"/favicon.ico",params:[],routeTable:"all"},StaticFetchHumans:{name:"StaticFetchHumans",pathPattern:"/humans.txt",params:[]}});function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{routingEntityType:l.S9.DEFAULT},n=e.routeDefs,t=void 0===n?u:n,i=e.routingEntityType;return{pathMatcher:(0,l.aE)(t,{routingEntityType:i}),routeDefinitionMap:new Map(t.map((function(e){return[e.name,e]})))}}function m(e){var n=(0,i.useContext)(s).pathMatcher;return(0,i.useMemo)((function(){return n.getMatch(e)}),[e])}function p(){var e=(0,i.useContext)(s).pathMatcher;return e.getMatch.bind(e)}function f(e){return(0,i.useContext)(s).routeDefinitionMap.get(e)}var g=function(e,n){var t="(:(?<stringParam>".concat(e,"))"),i="(?:@(?<atRegexParam>".concat(e,"):@\\(\\.\\*\\))");return new RegExp("".concat(t,"|").concat(i),n)},h=function(){var e=(0,c.d4)((function(e){return e.client.routingEntity})),n=(0,i.useContext)(s).routeDefinitionMap;return(0,i.useCallback)((function(t,i){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).routingEntityType,l=n.get(t);if(!l)throw Error("Route with name ".concat(t," does not exist"));var c=(0,o.u)(l,{routingEntityType:r||(null==e?void 0:e.type)}).pathPattern,s=function(e){var n=g("\\w+","g");return Array.from(e.matchAll(n),(function(e){var n,t;return(null===(n=e.groups)||void 0===n?void 0:n.stringParam)||(null===(t=e.groups)||void 0===t?void 0:t.atRegexParam)})).filter((function(e){return!!e}))}(c),u=Object.keys(i);if(!s.every((function(e){return u.indexOf(e)>-1})))throw Error("One or more required param(s) not provided: ".concat(s));return s.forEach((function(e){var n;c=null===(n=c)||void 0===n?void 0:n.replace(g(e),(function(){var n,r=(n=arguments.length-1)<0||arguments.length<=n?void 0:arguments[n],o=i[e];return""===o?(a.v.warn('When constructing route "'.concat(t,'", the param "').concat(e,'" value was an empty string.')),o):o?null!=r&&r.atRegexParam?"@".concat(o):(null!=r&&r.stringParam,o):(a.v.warn('When constructing route "'.concat(t,'", the param "').concat(e,'" value was undefined.')),o)}))})),c||"/"}),[e,n])};function v(){var e=(0,c.d4)((function(e){return e.config.authDomain})),n=(0,c.d4)((function(e){return e.navigation.host})),t=h(),a=p();return(0,i.useCallback)((function(i,r){var o=t(i,r),c=a(o);if((null==c?void 0:c.route.name)===i)return"https://".concat(n).concat(o);var s=t(i,r,{routingEntityType:l.S9.DEFAULT});return"https://".concat(e).concat(s)}),[e,n,t,a])}function k(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return h()(e,n,t)}function S(e,n){return v()(e,n)}function b(){return(0,c.d4)((function(e){return e.client.routingEntity}))}},31905:(e,n,t)=>{t.d(n,{X:()=>p});var i=t(58168),a=t(80045),r=t(2404),o=t.n(r),l=t(96540),c=t(69733),s=["Component"],u=["match"],d=["match"],m=(0,l.memo)((function(e){var n=e.Component,t=(0,a.A)(e,s);return l.createElement(n,t)}),(function(e,n){var t=e.match,i=(0,a.A)(e,u),r=n.match,l=(0,a.A)(n,d);return(0,c.bN)(i,l)&&o()(t,r)})),p=function(e){return function(n,t){var a=n[e];return l.createElement(m,(0,i.A)({Component:a},t))}}},42976:(e,n,t)=>{var i,a,r,o,l,c,s,u,d,m,p,f,g,h,v,k,S,b,E,y,N,w,P,O,T,C,A,_,I,R,F,L,M,D,x,U,B,j,V,H,G,W,z,Y,q,K,Q,X,Z,$,J,ee,ne,te,ie,ae,re,oe,le,ce,se,ue,de,me,pe,fe,ge,he,ve,ke,Se,be,Ee,ye,Ne,we,Pe,Oe,Te,Ce,Ae,_e,Ie,Re,Fe,Le,Me,De,xe,Ue,Be,je,Ve,He,Ge,We,ze,Ye,qe,Ke,Qe,Xe,Ze,$e,Je,en,nn,tn,an,rn,on,ln,cn,sn,un,dn,mn,pn,fn,gn,hn,vn,kn,Sn,bn,En,yn,Nn,wn,Pn,On,Tn,Cn,An,_n,In,Rn,Fn,Ln,Mn,Dn,xn,Un;t.d(n,{$F:()=>le,$J:()=>ve,$X:()=>Ce,Bd:()=>h,C1:()=>a,CA:()=>Le,CD:()=>hn,D_:()=>Rn,EW:()=>nn,FU:()=>Oe,Fi:()=>J,Fo:()=>U,Gv:()=>yn,HC:()=>Y,H_:()=>wn,IJ:()=>r,IZ:()=>gn,Iv:()=>$,KQ:()=>In,Mh:()=>v,N$:()=>on,Nn:()=>Ke,Oh:()=>sn,Oy:()=>xn,PK:()=>ae,Pr:()=>On,T3:()=>ce,U2:()=>Se,U7:()=>g,VE:()=>he,VM:()=>se,WE:()=>O,WN:()=>L,X7:()=>te,XK:()=>i,Yf:()=>En,ZE:()=>E,ZY:()=>we,aL:()=>Te,a_:()=>Je,bT:()=>Ln,bY:()=>bn,c6:()=>p,cA:()=>$e,cC:()=>re,d6:()=>S,dF:()=>_e,dJ:()=>He,dL:()=>Ze,dt:()=>w,e6:()=>x,eQ:()=>Z,ex:()=>tn,g4:()=>B,gC:()=>oe,h8:()=>u,m2:()=>Fe,nQ:()=>We,nj:()=>ee,p5:()=>Q,pJ:()=>Fn,pV:()=>z,qv:()=>An,rq:()=>ne,si:()=>en,tj:()=>an,uZ:()=>cn,vK:()=>_n,vP:()=>y,vV:()=>De,w0:()=>Cn,wK:()=>Ae,wo:()=>fe,xj:()=>Xe,y_:()=>k}),function(e){e.BOOK_EDITION="BOOK_EDITION",e.CATALOG="CATALOG",e.COLLECTION="COLLECTION",e.POST="POST",e.TAG="TAG",e.USER="USER"}(i||(i={})),function(e){e.CENTER="CENTER",e.END="END",e.START="START"}(a||(a={})),function(e){e.AUDIO="AUDIO",e.LINK="LINK",e.USER="USER"}(r||(r={})),function(e){e.ANDROID="ANDROID",e.IOS="IOS"}(o||(o={})),function(e){e.DEPRECATED="DEPRECATED",e.DROPPED="DROPPED",e.INVALID_VERSION="INVALID_VERSION",e.SUPPORTED="SUPPORTED"}(l||(l={})),function(e){e.ANDROID="ANDROID",e.IOS="IOS",e.WEB="WEB"}(c||(c={})),function(e){e.OTF="OTF",e.TTF="TTF",e.WOFF="WOFF",e.WOFF2="WOFF2"}(s||(s={})),function(e){e.DEFAULT_MAGIC_LINK="DEFAULT_MAGIC_LINK",e.LOGIN_CODE="LOGIN_CODE"}(u||(u={})),function(e){e.MAIN="MAIN",e.NARRATOR="NARRATOR",e.UNSPECIFIED="UNSPECIFIED",e.WITH="WITH"}(d||(d={})),function(e){e.STAFF_PICK="STAFF_PICK"}(m||(m={})),function(e){e.BLOGROLL_VISIBILITY_HIDDEN="BLOGROLL_VISIBILITY_HIDDEN",e.BLOGROLL_VISIBILITY_SIDEBAR="BLOGROLL_VISIBILITY_SIDEBAR",e.BLOGROLL_VISIBILITY_UNSET="BLOGROLL_VISIBILITY_UNSET"}(p||(p={})),function(e){e.ACCOUNT_HIDE_EXTERNAL_SERVICES="ACCOUNT_HIDE_EXTERNAL_SERVICES",e.NOTIFICATIONS_ALLOW_ALL_EMAILS="NOTIFICATIONS_ALLOW_ALL_EMAILS",e.NOTIFICATIONS_ALLOW_AUTHOR_NEWSLETTER_V3_EMAILS="NOTIFICATIONS_ALLOW_AUTHOR_NEWSLETTER_V3_EMAILS",e.NOTIFICATIONS_ALLOW_CATALOG_EMAILS="NOTIFICATIONS_ALLOW_CATALOG_EMAILS",e.NOTIFICATIONS_ALLOW_CATALOG_FOLLOWED_PUSH_NOTIFICATIONS="NOTIFICATIONS_ALLOW_CATALOG_FOLLOWED_PUSH_NOTIFICATIONS",e.NOTIFICATIONS_ALLOW_COLLECTION_EMAILS="NOTIFICATIONS_ALLOW_COLLECTION_EMAILS",e.NOTIFICATIONS_ALLOW_EDITORIAL_OUTREACH_EMAILS="NOTIFICATIONS_ALLOW_EDITORIAL_OUTREACH_EMAILS",e.NOTIFICATIONS_ALLOW_EDITORIAL_TOPIC_PUSH_NOTIFICATIONS="NOTIFICATIONS_ALLOW_EDITORIAL_TOPIC_PUSH_NOTIFICATIONS",e.NOTIFICATIONS_ALLOW_EMAILS="NOTIFICATIONS_ALLOW_EMAILS",e.NOTIFICATIONS_ALLOW_FOLLOWED_CATALOG_EMAILS="NOTIFICATIONS_ALLOW_FOLLOWED_CATALOG_EMAILS",e.NOTIFICATIONS_ALLOW_FOLLOWER_EMAILS="NOTIFICATIONS_ALLOW_FOLLOWER_EMAILS",e.NOTIFICATIONS_ALLOW_ITEM_ADDED_TO_FOLLOWED_CATALOG_PUSH_NOTIFICATIONS="NOTIFICATIONS_ALLOW_ITEM_ADDED_TO_FOLLOWED_CATALOG_PUSH_NOTIFICATIONS",e.NOTIFICATIONS_ALLOW_MEMBERSHIP_EMAILS="NOTIFICATIONS_ALLOW_MEMBERSHIP_EMAILS",e.NOTIFICATIONS_ALLOW_NEWSLETTER_V3_EMAILS="NOTIFICATIONS_ALLOW_NEWSLETTER_V3_EMAILS",e.NOTIFICATIONS_ALLOW_OUTREACH_EMAILS="NOTIFICATIONS_ALLOW_OUTREACH_EMAILS",e.NOTIFICATIONS_ALLOW_PRODUCT_EMAILS="NOTIFICATIONS_ALLOW_PRODUCT_EMAILS",e.NOTIFICATIONS_ALLOW_SOCIAL_POST_PUSH_NOTIFICATIONS="NOTIFICATIONS_ALLOW_SOCIAL_POST_PUSH_NOTIFICATIONS",e.NOTIFICATIONS_ALLOW_TODAY_HIGHLIGHTS_PUSH_NOTIFICATIONS="NOTIFICATIONS_ALLOW_TODAY_HIGHLIGHTS_PUSH_NOTIFICATIONS",e.NOTIFICATIONS_ALLOW_TOPIC_DIGEST_EMAILS="NOTIFICATIONS_ALLOW_TOPIC_DIGEST_EMAILS",e.PUBLISHING_ALLOW_PRIVATE_NOTES="PUBLISHING_ALLOW_PRIVATE_NOTES"}(f||(f={})),function(e){e.ALREADY_LABELED="ALREADY_LABELED",e.ALREADY_NOMINATED="ALREADY_NOMINATED",e.NONE="NONE",e.PERMISSION_DENIED="PERMISSION_DENIED",e.POST_DELETED="POST_DELETED",e.POST_NOT_FOUND="POST_NOT_FOUND",e.POST_UNLISTED="POST_UNLISTED",e.RESPONSES_NOT_SUPPORTED="RESPONSES_NOT_SUPPORTED",e.TOO_OLD="TOO_OLD"}(g||(g={})),function(e){e.BOOK_EDITION="BOOK_EDITION",e.CATALOG="CATALOG",e.COLLECTION="COLLECTION",e.PARAGRAPH="PARAGRAPH",e.POST="POST",e.TOPIC="TOPIC",e.USER="USER"}(h||(h={})),function(e){e.DEFAULT="DEFAULT",e.HOME_MODULE="HOME_MODULE",e.LISTS="LISTS",e.PREDEFINED_LIST="PREDEFINED_LIST",e.SEQUENCE="SEQUENCE",e.SERIES="SERIES",e.TOPIC="TOPIC"}(v||(v={})),function(e){e.LOCKED="LOCKED",e.PRIVATE="PRIVATE",e.PUBLIC="PUBLIC"}(k||(k={})),function(e){e.APPROVED="APPROVED",e.PENDING="PENDING",e.REMOVED="REMOVED"}(S||(S={})),function(e){e.ACCENT_COLOR="ACCENT_COLOR",e.ACCENT_COLOR_AND_FILL_BACKGROUND="ACCENT_COLOR_AND_FILL_BACKGROUND"}(b||(b={})),function(e){e.COLOR_DISPLAY_MODE_SOLID="COLOR_DISPLAY_MODE_SOLID",e.COLOR_DISPLAY_MODE_VERTICAL_GRADIENT="COLOR_DISPLAY_MODE_VERTICAL_GRADIENT"}(E||(E={})),function(e){e.ALREADY_USED="ALREADY_USED",e.EXPIRED="EXPIRED",e.NOT_FOUND="NOT_FOUND",e.NOT_REDEEMABLE_BY_PAST_MEMBERS="NOT_REDEEMABLE_BY_PAST_MEMBERS",e.VALID="VALID"}(y||(y={})),function(e){e.AUDIENCE_STATS_DAILY="AUDIENCE_STATS_DAILY",e.AUDIENCE_STATS_MONTHLY="AUDIENCE_STATS_MONTHLY",e.AUDIENCE_STATS_WEEKLY="AUDIENCE_STATS_WEEKLY"}(N||(N={})),function(e){e.AMEX="AMEX",e.CARTE_BLANCHE="CARTE_BLANCHE",e.CHINA_UNIONPAY="CHINA_UNIONPAY",e.DINERS_CLUB="DINERS_CLUB",e.DISCOVER="DISCOVER",e.ELO="ELO",e.JCB="JCB",e.LASER="LASER",e.MAESTRO="MAESTRO",e.MASTERCARD="MASTERCARD",e.SOLO="SOLO",e.SWITCH="SWITCH",e.UK_MAESTRO="UK_MAESTRO",e.UNKNOWN="UNKNOWN",e.VISA="VISA"}(w||(w={})),function(e){e.CURATION_STATUS_DISABLED="CURATION_STATUS_DISABLED",e.CURATION_STATUS_DISTRIBUTED="CURATION_STATUS_DISTRIBUTED",e.CURATION_STATUS_DISTRIBUTED_AND_DISABLED="CURATION_STATUS_DISTRIBUTED_AND_DISABLED",e.CURATION_STATUS_NOT_DISTRIBUTED="CURATION_STATUS_NOT_DISTRIBUTED",e.CURATION_STATUS_NOT_REVIEWED="CURATION_STATUS_NOT_REVIEWED",e.CURATION_STATUS_PENDING="CURATION_STATUS_PENDING"}(P||(P={})),function(e){e.ACTIVE="ACTIVE",e.CREATED="CREATED",e.DELETED="DELETED",e.FAILED="FAILED",e.UNSPECIFIED="UNSPECIFIED",e.VERIFIED="VERIFIED"}(O||(O={})),function(e){e.CHILDREN="CHILDREN",e.EDUCATION_ADULT="EDUCATION_ADULT",e.EDUCATION_HIGHERED="EDUCATION_HIGHERED",e.EDUCATION_K12="EDUCATION_K12",e.GENERAL="GENERAL",e.PROFESSIONAL="PROFESSIONAL",e.SECOND_LANGUAGE_TEACHING="SECOND_LANGUAGE_TEACHING",e.YOUNG_ADULT="YOUNG_ADULT"}(T||(T={})),function(e){e.INTEREST_AGE="INTEREST_AGE",e.READING_AGE="READING_AGE",e.READING_SPEED="READING_SPEED"}(C||(C={})),function(e){e.ATOS="ATOS",e.FLESCH_KINCAID="FLESCH_KINCAID",e.FOUNTAS_PINNELL="FOUNTAS_PINNELL",e.FRY="FRY",e.GUIDED_READING_LEVEL="GUIDED_READING_LEVEL",e.IOE_BOOK_BAND="IOE_BOOK_BAND",e.LEXILE="LEXILE",e.LEXILE_CODE="LEXILE_CODE",e.READING_RECOVERY_LEVEL="READING_RECOVERY_LEVEL"}(A||(A={})),function(e){e.DRUGS="DRUGS",e.INTOLERANCE="INTOLERANCE",e.LANGUAGE="LANGUAGE",e.SEX="SEX",e.UNSPECIFIED="UNSPECIFIED",e.VIOLENCE="VIOLENCE"}(_||(_={})),function(e){e.COMPUTED_PAGES="COMPUTED_PAGES",e.COMPUTED_PAGES_IN_SPINE="COMPUTED_PAGES_IN_SPINE",e.DURATION="DURATION",e.PAGES="PAGES"}(I||(I={})),function(e){e.AUDIO="AUDIO",e.EBOOK="EBOOK"}(R||(R={})),function(e){e.BISAC="BISAC",e.CLIL="CLIL",e.THEMA="THEMA"}(F||(F={})),function(e){e.CLEAR_SIGNAL="CLEAR_SIGNAL",e.SHOW_LESS="SHOW_LESS",e.SHOW_MORE="SHOW_MORE"}(L||(L={})),function(e){e.FONT_DECORATION_BOLD="FONT_DECORATION_BOLD",e.FONT_DECORATION_ITALIC="FONT_DECORATION_ITALIC",e.FONT_DECORATION_REGULAR="FONT_DECORATION_REGULAR"}(M||(M={})),function(e){e.INACTIVE="INACTIVE",e.SUSPENDED="SUSPENDED",e.UNKNOWN="UNKNOWN"}(D||(D={})),function(e){e.MAYBE="MAYBE",e.NO="NO",e.YES="YES"}(x||(x={})),function(e){e.NAV_TYPE_LINK="NAV_TYPE_LINK",e.NAV_TYPE_NONE="NAV_TYPE_NONE",e.NAV_TYPE_TAG="NAV_TYPE_TAG"}(U||(U={})),function(e){e.HEADER_SCALE_LARGE="HEADER_SCALE_LARGE",e.HEADER_SCALE_MEDIUM="HEADER_SCALE_MEDIUM",e.HEADER_SCALE_SMALL="HEADER_SCALE_SMALL"}(B||(B={})),function(e){e.HEADING_ACTION_DENSITY_TOGGLE="HEADING_ACTION_DENSITY_TOGGLE",e.HEADING_ACTION_SORT="HEADING_ACTION_SORT",e.HEADING_ACTION_SORT_AND_DENSITY_TOGGLE="HEADING_ACTION_SORT_AND_DENSITY_TOGGLE"}(j||(j={})),function(e){e.ALL="ALL",e.FOLLOWEES="FOLLOWEES",e.ME="ME"}(V||(V={})),function(e){e.HIGHLIGHT="HIGHLIGHT"}(H||(H={})),function(e){e.POST_AWARDED_BONUS="POST_AWARDED_BONUS",e.POST_EXCLUDED_CALL_TO_ACTION="POST_EXCLUDED_CALL_TO_ACTION",e.POST_EXCLUDED_META_POST="POST_EXCLUDED_META_POST",e.POST_MINIMUM_GUARANTEE_ACCUMULATION="POST_MINIMUM_GUARANTEE_ACCUMULATION",e.POST_MINIMUM_GUARANTEE_FULFILLED="POST_MINIMUM_GUARANTEE_FULFILLED",e.USER_EXCLUDED="USER_EXCLUDED"}(G||(G={})),function(e){e.ICELAND_BETA_EXPANDED_YDR="ICELAND_BETA_EXPANDED_YDR",e.ICELAND_BETA_GENERIC_MODULE="ICELAND_BETA_GENERIC_MODULE",e.ICELAND_GENERAL_RELEASE="ICELAND_GENERAL_RELEASE"}(W||(W={})),function(e){e.IMAGE_DISPLAY_MODE_AUTO="IMAGE_DISPLAY_MODE_AUTO",e.IMAGE_DISPLAY_MODE_FILL="IMAGE_DISPLAY_MODE_FILL",e.IMAGE_DISPLAY_MODE_FIT="IMAGE_DISPLAY_MODE_FIT",e.IMAGE_DISPLAY_MODE_TILE="IMAGE_DISPLAY_MODE_TILE"}(z||(z={})),function(e){e.CATALOG="CATALOG",e.POST="POST"}(Y||(Y={})),function(e){e.RECENT_BEST_OF="RECENT_BEST_OF",e.RECENT_BEST_OF_HYBRID="RECENT_BEST_OF_HYBRID",e.RECENT_REVERSE_CHRON="RECENT_REVERSE_CHRON"}(q||(q={})),function(e){e.ACTIVITY="ACTIVITY",e.ANDROID="ANDROID",e.COLLECTION="COLLECTION",e.EMAIL="EMAIL",e.HOMEPAGE="HOMEPAGE",e.IOS="IOS",e.OTHERS="OTHERS",e.POST="POST",e.PROFILE="PROFILE",e.RELATED="RELATED",e.SOCIAL="SOCIAL"}(K||(K={})),function(e){e.CONSTRAINED_HEIGHT_PREVIEW="CONSTRAINED_HEIGHT_PREVIEW",e.CROPPED_HEIGHT_PREVIEW="CROPPED_HEIGHT_PREVIEW",e.FULL_WIDTH="FULL_WIDTH",e.FULL_WIDTH_CROPPED_COVER="FULL_WIDTH_CROPPED_COVER",e.INSET_CENTER="INSET_CENTER",e.INSET_CENTER_SMALL="INSET_CENTER_SMALL",e.INSET_LEFT="INSET_LEFT",e.INSET_RIGHT="INSET_RIGHT",e.OUTSET_CENTER="OUTSET_CENTER",e.OUTSET_LEFT="OUTSET_LEFT",e.OUTSET_ROW="OUTSET_ROW",e.OUTSET_ROW_CONTINUE="OUTSET_ROW_CONTINUE"}(Q||(Q={})),function(e){e.AMP="AMP",e.ANDROID_APPLINK="ANDROID_APPLINK",e.IOS_APPLINK="IOS_APPLINK"}(X||(X={})),function(e){e.MONTHLY="MONTHLY"}(Z||(Z={})),function(e){e.LOCKED_POST_SOURCE_COMMISSIONED="LOCKED_POST_SOURCE_COMMISSIONED",e.LOCKED_POST_SOURCE_FEATURE_LOCK="LOCKED_POST_SOURCE_FEATURE_LOCK",e.LOCKED_POST_SOURCE_NONE="LOCKED_POST_SOURCE_NONE",e.LOCKED_POST_SOURCE_PARTNERSHIPS="LOCKED_POST_SOURCE_PARTNERSHIPS",e.LOCKED_POST_SOURCE_PUBLICATION_MEMBERSHIP="LOCKED_POST_SOURCE_PUBLICATION_MEMBERSHIP",e.LOCKED_POST_SOURCE_SYNDICATED="LOCKED_POST_SOURCE_SYNDICATED",e.LOCKED_POST_SOURCE_UGC="LOCKED_POST_SOURCE_UGC",e.LOCKED_POST_SOURCE_UGC_UNENROLLED="LOCKED_POST_SOURCE_UGC_UNENROLLED"}($||($={})),function(e){e.A="A",e.CODE="CODE",e.COMMENT="COMMENT",e.EM="EM",e.HIGHLIGHT="HIGHLIGHT",e.QUERY="QUERY",e.QUOTE="QUOTE",e.SENTENCE_DEPRECATED="SENTENCE_DEPRECATED",e.STRONG="STRONG",e.UNUSED_DETAIL="UNUSED_DETAIL",e.WARNING="WARNING"}(J||(J={})),function(e){e.ACCOUNT_TAKEN="ACCOUNT_TAKEN",e.ALREADY_CONNECTED="ALREADY_CONNECTED",e.NON_MEMBER="NON_MEMBER",e.UNKNOWN="UNKNOWN"}(ee||(ee={})),function(e){e.EMAIL_TAKEN="EMAIL_TAKEN",e.NON_MEMBER="NON_MEMBER",e.PASSWORD_TOO_LONG="PASSWORD_TOO_LONG",e.PASSWORD_TOO_SHORT="PASSWORD_TOO_SHORT",e.UNKNOWN="UNKNOWN",e.USERNAME_INVALID="USERNAME_INVALID",e.USERNAME_TAKEN="USERNAME_TAKEN",e.USERNAME_TOO_LONG="USERNAME_TOO_LONG"}(ne||(ne={})),function(e){e.ALREADY_CONNECTED="ALREADY_CONNECTED",e.INVALID_DOMAIN="INVALID_DOMAIN",e.NON_MEMBER="NON_MEMBER",e.UNKNOWN="UNKNOWN"}(te||(te={})),function(e){e.FREE="FREE",e.FRIEND="FRIEND",e.MEMBER="MEMBER"}(ie||(ie={})),function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE",e.PENDING="PENDING",e.UNKNOWN="UNKNOWN"}(ae||(ae={})),function(e){e.CONTENT_REASON="CONTENT_REASON",e.COSTS_REASON="COSTS_REASON",e.DUPLICATE_ACCOUNTS_REASON="DUPLICATE_ACCOUNTS_REASON",e.FEATURE_USAGE_REASON="FEATURE_USAGE_REASON",e.OTHER_REASON="OTHER_REASON",e.PREMIUM_TIER_SUBSCRIPTION_REASON="PREMIUM_TIER_SUBSCRIPTION_REASON",e.SWITCHING_PRODUCT_REASON="SWITCHING_PRODUCT_REASON",e.TIME_REASON="TIME_REASON"}(re||(re={})),function(e){e.FIFTY_PERCENT_OFF_ONE_YEAR="FIFTY_PERCENT_OFF_ONE_YEAR",e.NO_DISCOUNT="NO_DISCOUNT",e.TWENTY_PERCENT_OFF_ONE_YEAR="TWENTY_PERCENT_OFF_ONE_YEAR"}(oe||(oe={})),function(e){e.ANNUAL="ANNUAL",e.MONTHLY="MONTHLY"}(le||(le={})),function(e){e.FRIEND="FRIEND",e.MEMBER="MEMBER"}(ce||(ce={})),function(e){e.MONTHLY="MONTHLY",e.PREMIUM_MONTHLY="PREMIUM_MONTHLY",e.PREMIUM_YEARLY="PREMIUM_YEARLY",e.YEARLY="YEARLY"}(se||(se={})),function(e){e.METERING_WINDOW_DAILY="METERING_WINDOW_DAILY",e.METERING_WINDOW_HOURLY="METERING_WINDOW_HOURLY",e.METERING_WINDOW_MONTHLY="METERING_WINDOW_MONTHLY"}(ue||(ue={})),function(e){e.FCM="FCM"}(de||(de={})),function(e){e.FOLLOW="FOLLOW",e.NONE="NONE"}(me||(me={})),function(e){e.CAROUSEL_BASIC="CAROUSEL_BASIC",e.CAROUSEL_BOLD="CAROUSEL_BOLD",e.HERO="HERO",e.VERTICAL_LIST="VERTICAL_LIST",e.VERTICAL_LIST_NUMBERED="VERTICAL_LIST_NUMBERED"}(pe||(pe={})),function(e){e.NAME_TREATMENT_LOGO="NAME_TREATMENT_LOGO",e.NAME_TREATMENT_TEXT="NAME_TREATMENT_TEXT"}(fe||(fe={})),function(e){e.POST_ID="POST_ID",e.TAG_SLUG="TAG_SLUG",e.TOPIC_ID="TOPIC_ID"}(ge||(ge={})),function(e){e.ABOUT_PAGE_NAV_ITEM="ABOUT_PAGE_NAV_ITEM",e.ARCHIVE_NAV_ITEM="ARCHIVE_NAV_ITEM",e.EXTERNAL_LINK_NAV_ITEM="EXTERNAL_LINK_NAV_ITEM",e.LATEST_NAV_ITEM="LATEST_NAV_ITEM",e.POST_NAV_ITEM="POST_NAV_ITEM",e.TAG_NAV_ITEM="TAG_NAV_ITEM",e.TOPIC_PAGE="TOPIC_PAGE",e.TRENDING_NAV_ITEM="TRENDING_NAV_ITEM"}(he||(he={})),function(e){e.NEWSLETTER_TYPE_AUTHOR="NEWSLETTER_TYPE_AUTHOR",e.NEWSLETTER_TYPE_COLLECTION="NEWSLETTER_TYPE_COLLECTION",e.NEWSLETTER_TYPE_UNKNOWN="NEWSLETTER_TYPE_UNKNOWN"}(ve||(ve={})),function(e){e.ALL="ALL",e.NETWORK="NETWORK",e.OFF="OFF"}(ke||(ke={})),function(e){e.ALL="ALL",e.NETWORK="NETWORK",e.OFF="OFF"}(Se||(Se={})),function(e){e.ALL="ALL",e.NETWORK="NETWORK",e.OFF="OFF"}(be||(be={})),function(e){e.ALL="ALL",e.NETWORK="NETWORK",e.OFF="OFF"}(Ee||(Ee={})),function(e){e.ALL="ALL",e.NETWORK="NETWORK",e.OFF="OFF"}(ye||(ye={})),function(e){e.ALL="ALL",e.NETWORK="NETWORK",e.OFF="OFF"}(Ne||(Ne={})),function(e){e.DAILY="DAILY",e.OFF="OFF",e.WEEKLY="WEEKLY"}(we||(we={})),function(e){e.NOT_ONBOARDED="NOT_ONBOARDED",e.ONBOARDED="ONBOARDED",e.SKIPPED="SKIPPED"}(Pe||(Pe={})),function(e){e.BQ="BQ",e.COVER_TITLE="COVER_TITLE",e.H1="H1",e.H2="H2",e.H3="H3",e.H4="H4",e.HR="HR",e.IFRAME="IFRAME",e.IMG="IMG",e.MIXTAPE_EMBED="MIXTAPE_EMBED",e.OLI="OLI",e.P="P",e.PQ="PQ",e.PRE="PRE",e.SECTION_CAPTION="SECTION_CAPTION",e.ULI="ULI"}(Oe||(Oe={})),function(e){e.LACK_OF_MEMBERSHIP="LACK_OF_MEMBERSHIP",e.UNKNOWN="UNKNOWN"}(Te||(Te={})),function(e){e.ENROLLED="ENROLLED",e.NOT_ENROLLED="NOT_ENROLLED",e.PERMISSION_DENIED="PERMISSION_DENIED"}(Ce||(Ce={})),function(e){e.IS_MEMBER="IS_MEMBER",e.LOCATION="LOCATION",e.POST_ACTIVITY="POST_ACTIVITY"}(Ae||(Ae={})),function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE",e.PENDING_ACTION="PENDING_ACTION",e.SUSPENDED="SUSPENDED",e.UNKNOWN="UNKNOWN"}(_e||(_e={})),function(e){e.ADMIN_ACTION="ADMIN_ACTION",e.DELINQUENCY_SYSTEM_ACTION="DELINQUENCY_SYSTEM_ACTION",e.UNKNOWN="UNKNOWN",e.USER_SELF_ACTION="USER_SELF_ACTION"}(Ie||(Ie={})),function(e){e.CAD="CAD",e.CURRENCY_NOT_APPLICABLE="CURRENCY_NOT_APPLICABLE",e.UNKNOWN_CURRENCY="UNKNOWN_CURRENCY",e.USD="USD"}(Re||(Re={})),function(e){e.ANNUAL_MEMBERSHIP="ANNUAL_MEMBERSHIP",e.CUSTOM_DOMAIN="CUSTOM_DOMAIN",e.GIFT_MEMBERSHIP="GIFT_MEMBERSHIP",e.GROUP_GIFT_MEMBERSHIP="GROUP_GIFT_MEMBERSHIP",e.MONTHLY_MEMBERSHIP="MONTHLY_MEMBERSHIP",e.PREMIUM_ANNUAL_MEMBERSHIP="PREMIUM_ANNUAL_MEMBERSHIP",e.PREMIUM_MONTHLY_MEMBERSHIP="PREMIUM_MONTHLY_MEMBERSHIP"}(Fe||(Fe={})),function(e){e.APPLE="APPLE",e.BRAINTREE="BRAINTREE",e.GOOGLE="GOOGLE",e.MEDIUM_GIFT="MEDIUM_GIFT",e.PAYPAL="PAYPAL",e.STRIPE="STRIPE",e.UNKNOWN="UNKNOWN"}(Le||(Le={})),function(e){e.ALREADY_CONNECTED="ALREADY_CONNECTED",e.ELIGIBLE="ELIGIBLE",e.INELIGIBLE="INELIGIBLE"}(Me||(Me={})),function(e){e.STRIPE_EXPRESS="STRIPE_EXPRESS",e.STRIPE_STANDARD="STRIPE_STANDARD"}(De||(De={})),function(e){e.AUTHOR="AUTHOR",e.COLLECTION="COLLECTION"}(xe||(xe={})),function(e){e.ANDROID="ANDROID",e.IOS="IOS",e.WEB="WEB"}(Ue||(Ue={})),function(e){e.AOL_MAIL="AOL_MAIL",e.ASANA="ASANA",e.FACEBOOK="FACEBOOK",e.FLIPBOARD="FLIPBOARD",e.GMAIL="GMAIL",e.GPLUS="GPLUS",e.HACKER_NEWS="HACKER_NEWS",e.INSTAGRAM="INSTAGRAM",e.LINKEDIN="LINKEDIN",e.LIVE_MAIL="LIVE_MAIL",e.POCKET="POCKET",e.REDDIT="REDDIT",e.TWITTER="TWITTER",e.YAHOO="YAHOO",e.YAHOO_MAIL="YAHOO_MAIL"}(Be||(Be={})),function(e){e.NO_CARD_TYPE="NO_CARD_TYPE",e.SHORT_STORY_CARD="SHORT_STORY_CARD",e.STANDARD_CARD="STANDARD_CARD"}(je||(je={})),function(e){e.EXPERIMENT="EXPERIMENT",e.META_RETRAINING="META_RETRAINING",e.POTENTIAL_MODERATION_VIOLATION="POTENTIAL_MODERATION_VIOLATION",e.PRIORITIZED_WRITER="PRIORITIZED_WRITER",e.QUALITY_SCORE="QUALITY_SCORE",e.VETTED_PUBLICATION="VETTED_PUBLICATION"}(Ve||(Ve={})),function(e){e.AMPLIFIED_NEW_STORY="AMPLIFIED_NEW_STORY",e.BOOKMARKED="BOOKMARKED",e.CF_POST_SIMILAR_TO_POST="CF_POST_SIMILAR_TO_POST",e.CLAPPED_BY_NETWORK="CLAPPED_BY_NETWORK",e.COLD_START="COLD_START",e.COLLABORATIVE_FILTERING="COLLABORATIVE_FILTERING",e.COLLABORATIVE_FILTERING_UNDER_QUOTA="COLLABORATIVE_FILTERING_UNDER_QUOTA",e.CURATED_IN_POPCHUNK="CURATED_IN_POPCHUNK",e.CURATED_IN_POPULAR_TOPIC="CURATED_IN_POPULAR_TOPIC",e.CURATED_IN_PRMT_CATALOG="CURATED_IN_PRMT_CATALOG",e.CURATED_IN_SUGGESTED_TOPIC="CURATED_IN_SUGGESTED_TOPIC",e.CURATED_IN_TAG="CURATED_IN_TAG",e.CURATED_IN_TOPIC="CURATED_IN_TOPIC",e.CURATED_NOTEWORTHY_WRITER="CURATED_NOTEWORTHY_WRITER",e.CURATED_POSTS_SHARING_TAGS_DEPRECATED="CURATED_POSTS_SHARING_TAGS_DEPRECATED",e.DEEP_RETRIEVAL_MODEL="DEEP_RETRIEVAL_MODEL",e.DEEP_RETRIEVAL_MODEL_TQP="DEEP_RETRIEVAL_MODEL_TQP",e.DEEP_RETRIEVAL_MODEL_UNDER_QUOTA="DEEP_RETRIEVAL_MODEL_UNDER_QUOTA",e.EVERGREEN="EVERGREEN",e.EXPLORE_POST_UNDER_PRESENTED="EXPLORE_POST_UNDER_PRESENTED",e.FEATURED_IN_TOPIC="FEATURED_IN_TOPIC",e.GENERIC_SQL_POST_LIST="GENERIC_SQL_POST_LIST",e.GLOBAL_LATEST="GLOBAL_LATEST",e.HIGHLIGHTED_BY_NETWORK="HIGHLIGHTED_BY_NETWORK",e.HOMEPAGE_FEATURED="HOMEPAGE_FEATURED",e.LATEST_IN_PREMIUM_TOPIC="LATEST_IN_PREMIUM_TOPIC",e.PERSONALIZED_IN_COLLECTION_NEWSLETTER="PERSONALIZED_IN_COLLECTION_NEWSLETTER",e.PERSONALIZED_IN_PREMIUM_TOPIC="PERSONALIZED_IN_PREMIUM_TOPIC",e.POSTS_FROM_BG="POSTS_FROM_BG",e.POSTS_FROM_BG_EXPERIMENTAL="POSTS_FROM_BG_EXPERIMENTAL",e.POSTS_FROM_RECOMMENDED_AUTHORS="POSTS_FROM_RECOMMENDED_AUTHORS",e.POSTS_FROM_SPECIFIED_AUTHORS="POSTS_FROM_SPECIFIED_AUTHORS",e.POSTS_FROM_SPECIFIED_COLLECTIONS="POSTS_FROM_SPECIFIED_COLLECTIONS",e.POSTS_SHARING_AUTHOR="POSTS_SHARING_AUTHOR",e.POSTS_SHARING_COLLECTION_AND_TAGS="POSTS_SHARING_COLLECTION_AND_TAGS",e.POSTS_SHARING_TAGS="POSTS_SHARING_TAGS",e.POST_FEED_REASON_UNKNOWN="POST_FEED_REASON_UNKNOWN",e.POST_UNDER_QUOTA="POST_UNDER_QUOTA",e.PROMOTED_POSTS="PROMOTED_POSTS",e.PUBLISHED_BY_AUTHOR="PUBLISHED_BY_AUTHOR",e.PUBLISHED_BY_COLLECTION="PUBLISHED_BY_COLLECTION",e.PUBLISHED_BY_CURRENT_USER="PUBLISHED_BY_CURRENT_USER",e.PUBLISHED_BY_USER="PUBLISHED_BY_USER",e.PUBLISHED_IN_COLLECTION="PUBLISHED_IN_COLLECTION",e.PUBLISHED_IN_TAG="PUBLISHED_IN_TAG",e.RECENT_OXO="RECENT_OXO",e.RECENT_STAFF_RECOMMENDATION="RECENT_STAFF_RECOMMENDATION",e.RECOMMENDED_BY_AUTHOR="RECOMMENDED_BY_AUTHOR",e.RECOMMENDED_BY_CURRENT_USER="RECOMMENDED_BY_CURRENT_USER",e.RECOMMENDED_BY_EDITOR="RECOMMENDED_BY_EDITOR",e.RECOMMENDED_BY_STAFF="RECOMMENDED_BY_STAFF",e.RECOMMENDED_BY_USER="RECOMMENDED_BY_USER",e.RECOMMENDED_IN_TAG="RECOMMENDED_IN_TAG",e.RECOMMENDED_MEMBER_ONLY_CONTENT="RECOMMENDED_MEMBER_ONLY_CONTENT",e.RESPONSES_MOST_RECOMMENDED="RESPONSES_MOST_RECOMMENDED",e.SIMILAR_TO_ONBOARDED_POST="SIMILAR_TO_ONBOARDED_POST",e.SIMILAR_TO_RECENTLY_READ_OR_VOTED="SIMILAR_TO_RECENTLY_READ_OR_VOTED",e.SIMILAR_TO_RECENTLY_VOTED_POSTS="SIMILAR_TO_RECENTLY_VOTED_POSTS",e.STARSPACE="STARSPACE",e.STARSPACE_UNDER_QUOTA="STARSPACE_UNDER_QUOTA",e.TAG_IN_INTEREST_GRAPH="TAG_IN_INTEREST_GRAPH",e.TOP_CONVERSATION_STARTER="TOP_CONVERSATION_STARTER",e.TOP_FOR_THE_DAY="TOP_FOR_THE_DAY",e.TOP_FOR_THE_DAY_GLOBALLY="TOP_FOR_THE_DAY_GLOBALLY",e.TOP_IN_COLLECTION="TOP_IN_COLLECTION",e.TOP_IN_OPENED_DIGESTS="TOP_IN_OPENED_DIGESTS",e.TOP_IN_POPULAR_ON_MEDIUM="TOP_IN_POPULAR_ON_MEDIUM",e.TOP_IN_QUICK_READS="TOP_IN_QUICK_READS",e.TOP_IN_TOPIC="TOP_IN_TOPIC",e.TOP_LONG_READ="TOP_LONG_READ",e.TOP_MEDIUM_READ="TOP_MEDIUM_READ",e.TOP_MOMENTUM="TOP_MOMENTUM",e.TOP_NEW_AUTHOR="TOP_NEW_AUTHOR",e.TOP_NEW_PUBLISHED="TOP_NEW_PUBLISHED",e.TOP_POSTS_GLOBALLY="TOP_POSTS_GLOBALLY",e.TOP_POSTS_INTERNALLY="TOP_POSTS_INTERNALLY",e.TOP_POSTS_IN_FOLLOWED_TOPICS_WITH_FALLBACK="TOP_POSTS_IN_FOLLOWED_TOPICS_WITH_FALLBACK",e.TOP_POSTS_SHARING_TAGS="TOP_POSTS_SHARING_TAGS",e.TOP_PUBLISHED_BY_COLLECTION="TOP_PUBLISHED_BY_COLLECTION",e.TOP_PUBLISHED_BY_USER="TOP_PUBLISHED_BY_USER",e.TOP_RECOMMENDED_BY_USER="TOP_RECOMMENDED_BY_USER",e.TOP_RECOMMENDED_IN_TAG="TOP_RECOMMENDED_IN_TAG",e.TOP_REFERRED="TOP_REFERRED",e.TOP_RESPONSE="TOP_RESPONSE",e.TOP_SHORT_READ="TOP_SHORT_READ",e.TOP_SIMILAR_TO_POST="TOP_SIMILAR_TO_POST",e.TOP_STORY_ON_MEDIUM="TOP_STORY_ON_MEDIUM",e.TOP_TRENDING="TOP_TRENDING",e.USER_IN_DEEP_SOCIAL_GRAPH="USER_IN_DEEP_SOCIAL_GRAPH",e.USER_PROFILE_FEATURED="USER_PROFILE_FEATURED",e.USER_PROFILE_HAS_RECOMMENDED="USER_PROFILE_HAS_RECOMMENDED",e.USER_PROFILE_MOST_RECOMMENDED="USER_PROFILE_MOST_RECOMMENDED",e.USER_PROFILE_NOT_A_COMMENT="USER_PROFILE_NOT_A_COMMENT",e.USER_PROFILE_ROOT_POSTS="USER_PROFILE_ROOT_POSTS"}(He||(He={})),function(e){e.ALL_RIGHTS_RESERVED="ALL_RIGHTS_RESERVED",e.CC_40_BY="CC_40_BY",e.CC_40_BY_NC="CC_40_BY_NC",e.CC_40_BY_NC_ND="CC_40_BY_NC_ND",e.CC_40_BY_NC_SA="CC_40_BY_NC_SA",e.CC_40_BY_ND="CC_40_BY_ND",e.CC_40_BY_SA="CC_40_BY_SA",e.CC_40_ZERO="CC_40_ZERO",e.PUBLIC_DOMAIN="PUBLIC_DOMAIN"}(Ge||(Ge={})),function(e){e.ASPIRATIONAL="ASPIRATIONAL",e.PROGRAMMING="PROGRAMMING"}(We||(We={})),function(e){e.AVERAGE="AVERAGE",e.HOST_ONLY="HOST_ONLY",e.MARQUEE="MARQUEE",e.UNKNOWN="UNKNOWN"}(ze||(ze={})),function(e){e.CURATION_TOOL="CURATION_TOOL",e.POST_CURATION_DEBUGGER="POST_CURATION_DEBUGGER",e.UNKNOWN="UNKNOWN"}(Ye||(Ye={})),function(e){e.SIMPLE="SIMPLE",e.STORY="STORY"}(qe||(qe={})),function(e){e.MEMBER="MEMBER",e.NONMEMBER="NONMEMBER",e.UNKNOWN="UNKNOWN"}(Ke||(Ke={})),function(e){e.PUBLISHED_AT="PUBLISHED_AT",e.READERS_COUNT="READERS_COUNT",e.VIEWERS_COUNT="VIEWERS_COUNT"}(Qe||(Qe={})),function(e){e.POST_TYPE_DELETED="POST_TYPE_DELETED",e.POST_TYPE_DRAFT="POST_TYPE_DRAFT",e.POST_TYPE_PUBLIC="POST_TYPE_PUBLIC",e.POST_TYPE_PUBLISHED="POST_TYPE_PUBLISHED",e.POST_TYPE_RESPONSE="POST_TYPE_RESPONSE",e.POST_TYPE_UNKNOWN="POST_TYPE_UNKNOWN",e.POST_TYPE_UNLISTED="POST_TYPE_UNLISTED"}(Xe||(Xe={})),function(e){e.LOCKED="LOCKED",e.PUBLIC="PUBLIC",e.UNLISTED="UNLISTED"}(Ze||(Ze={})),function(e){e.CURRENTLY_READING="CURRENTLY_READING",e.PURCHASED="PURCHASED",e.READING_LIST="READING_LIST"}($e||($e={})),function(e){e.ARCHIVE="ARCHIVE",e.EXTERNAL_URL="EXTERNAL_URL",e.LATEST="LATEST",e.PAGE="PAGE",e.POST="POST",e.SECTION="SECTION",e.SOCIAL="SOCIAL",e.TAG_FEED="TAG_FEED",e.TRENDING="TRENDING"}(Je||(Je={})),function(e){e.LARGE="LARGE",e.MEDIUM="MEDIUM",e.SMALL="SMALL",e.UNKNOWN="UNKNOWN"}(en||(en={})),function(e){e.PUBLISHED_DATE="PUBLISHED_DATE",e.TRENDING_RANK="TRENDING_RANK"}(nn||(nn={})),function(e){e.GRID="GRID",e.LIST="LIST"}(tn||(tn={})),function(e){e.LATEST="LATEST",e.STATIC="STATIC",e.TAG="TAG",e.TRENDING="TRENDING"}(an||(an={})),function(e){e.AUTHORS_YOU_FOLLOW_ON_TWITTER="AUTHORS_YOU_FOLLOW_ON_TWITTER",e.CURATED_THEME_ENTITY_SET="CURATED_THEME_ENTITY_SET",e.CURATED_THEME_POSTS="CURATED_THEME_POSTS",e.CURATED_TODAYS_MUST_FOLLOW="CURATED_TODAYS_MUST_FOLLOW",e.DISCOVER_TOPICS="DISCOVER_TOPICS",e.EDITORS_PICKS_POSTS="EDITORS_PICKS_POSTS",e.ENTITIES_TO_FOLLOW="ENTITIES_TO_FOLLOW",e.ENTITIES_TO_FOLLOW_ONBOARDING="ENTITIES_TO_FOLLOW_ONBOARDING",e.ENTITIES_WITH_AFFINITY="ENTITIES_WITH_AFFINITY",e.FDH_FEED="FDH_FEED",e.FOLLOWED_TOPICS="FOLLOWED_TOPICS",e.HOME_FEED="HOME_FEED",e.MIXED_POSTS_AT_TOP="MIXED_POSTS_AT_TOP",e.POSTS_FROM_FOLLOWED="POSTS_FROM_FOLLOWED",e.READING_LIST="READING_LIST",e.RECENTLY_UPDATED_ENTITIES="RECENTLY_UPDATED_ENTITIES",e.TOPIC_POSTS="TOPIC_POSTS",e.TOP_POSTS="TOP_POSTS",e.TRENDING_POSTS="TRENDING_POSTS",e.TRENDING_POSTS_PERSONALIZED="TRENDING_POSTS_PERSONALIZED",e.UNKNOWN="UNKNOWN",e.YOUR_DAILY_READ="YOUR_DAILY_READ"}(rn||(rn={})),function(e){e.READING_LIST_ARCHIVE="READING_LIST_ARCHIVE",e.READING_LIST_NONE="READING_LIST_NONE",e.READING_LIST_QUEUE="READING_LIST_QUEUE"}(on||(on={})),function(e){e.MODULAR_MOBILE_HP="MODULAR_MOBILE_HP",e.MODULAR_WEB_HP="MODULAR_WEB_HP"}(ln||(ln={})),function(e){e.ALL="ALL",e.PUBLICATIONS_ONLY="PUBLICATIONS_ONLY",e.USERS_ONLY="USERS_ONLY"}(cn||(cn={})),function(e){e.ACCELERATED_MOBILE_PAGES="ACCELERATED_MOBILE_PAGES",e.DIRECT="DIRECT",e.INSTANT_ARTICLES="INSTANT_ARTICLES",e.INTERNAL="INTERNAL",e.OTHER="OTHER",e.PLATFORM="PLATFORM",e.RSS="RSS",e.SEARCH="SEARCH",e.SITE="SITE"}(sn||(sn={})),function(e){e.PRINT="PRINT",e.UNKNOWN="UNKNOWN"}(un||(un={})),function(e){e.PREPAGINATED="PREPAGINATED",e.REFLOWABLE="REFLOWABLE"}(dn||(dn={})),function(e){e.BOTH="BOTH",e.LANDSCAPE="LANDSCAPE",e.PORTRAIT="PORTRAIT"}(mn||(mn={})),function(e){e.BOTH="BOTH",e.LANDSCAPE="LANDSCAPE",e.PORTRAIT="PORTRAIT"}(pn||(pn={})),function(e){e.BOTH="BOTH",e.LEFT="LEFT",e.RIGHT="RIGHT"}(fn||(fn={})),function(e){e.DISTRIBUTED="DISTRIBUTED",e.NOT_DISTRIBUTED="NOT_DISTRIBUTED"}(gn||(gn={})),function(e){e.RECOMMENDS="RECOMMENDS",e.REVERSE_CHRON="REVERSE_CHRON",e.TOP="TOP",e.TOP_CATALOG="TOP_CATALOG"}(hn||(hn={})),function(e){e.ASPECT_RATIO="ASPECT_RATIO",e.ASPECT_RATIO_VIEWPORT="ASPECT_RATIO_VIEWPORT",e.CONTENT="CONTENT",e.COVER_FADE="COVER_FADE",e.FULL_BLEED="FULL_BLEED",e.FULL_SCREEN="FULL_SCREEN",e.NONE="NONE",e.SECTION_FILL_CROP="SECTION_FILL_CROP",e.SECTION_FILL_OVERFLOW_X="SECTION_FILL_OVERFLOW_X",e.UNUSED_LEFT="UNUSED_LEFT",e.UNUSED_RIGHT="UNUSED_RIGHT"}(vn||(vn={})),function(e){e.BOTTOM_CENTER="BOTTOM_CENTER",e.CAPTION_ONLY="CAPTION_ONLY",e.FLOW="FLOW",e.MIDDLE_CENTER="MIDDLE_CENTER",e.SERIES_COVER="SERIES_COVER",e.SERIES_COVER_TITLELESS="SERIES_COVER_TITLELESS",e.TOP_CENTER="TOP_CENTER"}(kn||(kn={})),function(e){e.NO_VIDEO="NO_VIDEO",e.SECTION_ASPECT_FIT_VIDEO="SECTION_ASPECT_FIT_VIDEO"}(Sn||(Sn={})),function(e){e.SHORTFORM_TYPE_LINK="SHORTFORM_TYPE_LINK",e.SHORTFORM_TYPE_MEDIA="SHORTFORM_TYPE_MEDIA",e.SHORTFORM_TYPE_NOTE="SHORTFORM_TYPE_NOTE",e.SHORTFORM_TYPE_QUOTE="SHORTFORM_TYPE_QUOTE"}(bn||(bn={})),function(e){e.ASC="ASC",e.DESC="DESC"}(En||(En={})),function(e){e.HIGHLIGHT="HIGHLIGHT",e.RESPONSE="RESPONSE"}(yn||(yn={})),function(e){e.ACCOUNT_AVATAR_IMAGE_ID="ACCOUNT_AVATAR_IMAGE_ID",e.ACCOUNT_BIO="ACCOUNT_BIO",e.ACCOUNT_EMAIL="ACCOUNT_EMAIL",e.ACCOUNT_NAME="ACCOUNT_NAME",e.ACCOUNT_USERNAME="ACCOUNT_USERNAME",e.NOTIFICATIONS_ALLOW_HIGHLIGHT_PUSH_NOTIFICATIONS="NOTIFICATIONS_ALLOW_HIGHLIGHT_PUSH_NOTIFICATIONS",e.NOTIFICATIONS_ALLOW_MENTION_EMAILS="NOTIFICATIONS_ALLOW_MENTION_EMAILS",e.NOTIFICATIONS_ALLOW_MENTION_PUSH_NOTIFICATIONS="NOTIFICATIONS_ALLOW_MENTION_PUSH_NOTIFICATIONS",e.NOTIFICATIONS_ALLOW_POST_PUSH_NOTIFICATIONS="NOTIFICATIONS_ALLOW_POST_PUSH_NOTIFICATIONS",e.NOTIFICATIONS_ALLOW_RECOMMEND_PUSH_NOTIFICATIONS="NOTIFICATIONS_ALLOW_RECOMMEND_PUSH_NOTIFICATIONS",e.NOTIFICATIONS_ALLOW_RESPONSE_PUSH_NOTIFICATIONS="NOTIFICATIONS_ALLOW_RESPONSE_PUSH_NOTIFICATIONS",e.NOTIFICATIONS_ALLOW_SOCIAL_EMAILS="NOTIFICATIONS_ALLOW_SOCIAL_EMAILS",e.PUBLISHING_TIPPING_LINK="PUBLISHING_TIPPING_LINK"}(Nn||(Nn={})),function(e){e.SANS_SERIF_1="SANS_SERIF_1",e.SANS_SERIF_2="SANS_SERIF_2",e.SERIF_1="SERIF_1",e.SERIF_2="SERIF_2"}(wn||(wn={})),function(e){e.SUGGESTION_COLLAB_FILTERING="SUGGESTION_COLLAB_FILTERING",e.SUGGESTION_COLLECTION_INTEREST_GRAPH="SUGGESTION_COLLECTION_INTEREST_GRAPH",e.SUGGESTION_CURATED="SUGGESTION_CURATED",e.SUGGESTION_FEATURED="SUGGESTION_FEATURED",e.SUGGESTION_RELATED_TOPIC="SUGGESTION_RELATED_TOPIC",e.SUGGESTION_TAG_INTEREST_GRAPH="SUGGESTION_TAG_INTEREST_GRAPH",e.SUGGESTION_TOPIC_INTEREST_GRAPH="SUGGESTION_TOPIC_INTEREST_GRAPH",e.SUGGESTION_USER_INTEREST_GRAPH="SUGGESTION_USER_INTEREST_GRAPH",e.SUGGESTION_WRITER_IN_TOPIC="SUGGESTION_WRITER_IN_TOPIC"}(Pn||(Pn={})),function(e){e.AUTO="AUTO",e.DISABLED="DISABLED",e.EXPLICIT="EXPLICIT"}(On||(On={})),function(e){e.HOT="HOT",e.NEW="NEW",e.TOP_ALL_TIME="TOP_ALL_TIME",e.TOP_MONTH="TOP_MONTH",e.TOP_WEEK="TOP_WEEK",e.TOP_YEAR="TOP_YEAR"}(Tn||(Tn={})),function(e){e.MOST_READ="MOST_READ",e.NEWEST="NEWEST",e.OLDEST="OLDEST"}(Cn||(Cn={})),function(e){e.ALL_TIME="ALL_TIME",e.IN_MONTH="IN_MONTH",e.IN_YEAR="IN_YEAR"}(An||(An={})),function(e){e.TAGLINE_TREATMENT_HEADER="TAGLINE_TREATMENT_HEADER",e.TAGLINE_TREATMENT_SIDEBAR="TAGLINE_TREATMENT_SIDEBAR"}(_n||(_n={})),function(e){e.TOPIC_VISIBILITY_PUBLIC="TOPIC_VISIBILITY_PUBLIC",e.TOPIC_VISIBILITY_SPECIAL="TOPIC_VISIBILITY_SPECIAL",e.TOPIC_VISIBILITY_STAFF="TOPIC_VISIBILITY_STAFF"}(In||(In={})),function(e){e.CREDIT="CREDIT",e.DEBIT="DEBIT",e.TRANSFER="TRANSFER",e.UNKNOWN="UNKNOWN"}(Rn||(Rn={})),function(e){e.FORFEITED="FORFEITED",e.INTERNAL_FAILED="INTERNAL_FAILED",e.ON_HOLD="ON_HOLD",e.PAID="PAID",e.PENDING="PENDING",e.PROCESSING="PROCESSING",e.PROVIDER_FAILED="PROVIDER_FAILED",e.REVERSED="REVERSED",e.UNKNOWN="UNKNOWN"}(Fn||(Fn={})),function(e){e.AURORA_NAV_AVAILABLE="AURORA_NAV_AVAILABLE",e.AUTHOR_PAYWALL_OPEN_EDITOR_MODAL="AUTHOR_PAYWALL_OPEN_EDITOR_MODAL",e.BETA_CUSTOM_HEADER_LOGO_TOOLTIP="BETA_CUSTOM_HEADER_LOGO_TOOLTIP",e.BETA_LEGACY_PUB_HEADER_PERSONAL_TOOLTIP="BETA_LEGACY_PUB_HEADER_PERSONAL_TOOLTIP",e.BETA_LEGACY_PUB_HEADER_TOOLTIP="BETA_LEGACY_PUB_HEADER_TOOLTIP",e.BETA_PUB_CUSTOM_HEADER_LOGO_PERSONAL_TOOLTIP="BETA_PUB_CUSTOM_HEADER_LOGO_PERSONAL_TOOLTIP",e.BETA_PUB_CUSTOM_HEADER_LOGO_TOOLTIP="BETA_PUB_CUSTOM_HEADER_LOGO_TOOLTIP",e.BLOGROLL_ENABLE="BLOGROLL_ENABLE",e.BLOGROLL_UPDATE="BLOGROLL_UPDATE",e.CREATE_CATALOGS_CTA="CREATE_CATALOGS_CTA",e.CUSTOMIZE_MEMBERSHIP_PROMOTIONS_BANNER="CUSTOMIZE_MEMBERSHIP_PROMOTIONS_BANNER",e.DEPRECATED_CUSTOM_THEME_BANNER="DEPRECATED_CUSTOM_THEME_BANNER",e.DEPRECATED_REFERRED_MEMBERS_BANNER="DEPRECATED_REFERRED_MEMBERS_BANNER",e.EXPLICIT_SIGNAL_TOOLTIP="EXPLICIT_SIGNAL_TOOLTIP",e.EXTERNAL_PLATFORM_TIPPING_AWARENESS="EXTERNAL_PLATFORM_TIPPING_AWARENESS",e.FIRST_USE_ABOUT_BOOKS_AUTHOR_TOOLTIP="FIRST_USE_ABOUT_BOOKS_AUTHOR_TOOLTIP",e.FIRST_USE_BOOKS_HIGHLIGHTS_PRIVACY_TOOLTIP="FIRST_USE_BOOKS_HIGHLIGHTS_PRIVACY_TOOLTIP",e.FIRST_USE_GET_MORE_FROM_BOOKS_MODAL="FIRST_USE_GET_MORE_FROM_BOOKS_MODAL",e.FIRST_USE_GLOBAL_NAV_TOOLTIP="FIRST_USE_GLOBAL_NAV_TOOLTIP",e.FIRST_USE_YOUR_BOOKS_MODALS="FIRST_USE_YOUR_BOOKS_MODALS",e.FOLLOWERS_TOOLTIP="FOLLOWERS_TOOLTIP",e.HOMEPAGE_MEMBERSHIP_BANNER_CTA="HOMEPAGE_MEMBERSHIP_BANNER_CTA",e.HOMEPAGE_TOPIC_FILTERING_TOOLTIP="HOMEPAGE_TOPIC_FILTERING_TOOLTIP",e.HOMEPAGE_TWITTER_CTA="HOMEPAGE_TWITTER_CTA",e.MOBILE_OFFLINE_MODE_EDUCATIONAL_DIALOG="MOBILE_OFFLINE_MODE_EDUCATIONAL_DIALOG",e.MOBILE_PREMIUM_TIER_EDUCATIONAL_DIALOG="MOBILE_PREMIUM_TIER_EDUCATIONAL_DIALOG",e.PAYMENT_METHOD_EXPIRED_MEMBERSHIP_LAST_WEEK_BANNER="PAYMENT_METHOD_EXPIRED_MEMBERSHIP_LAST_WEEK_BANNER",e.PAYMENT_METHOD_WILL_EXPIRE_MEMBERSHIP_LAST_WEEK_BANNER="PAYMENT_METHOD_WILL_EXPIRE_MEMBERSHIP_LAST_WEEK_BANNER",e.PP_AWARENESS_BANNER="PP_AWARENESS_BANNER",e.PP_TERMS_ACKNOWLEDGEMENT="PP_TERMS_ACKNOWLEDGEMENT",e.PUB_STATS_UPDATE_TOAST="PUB_STATS_UPDATE_TOAST",e.RECEIPT_EDITABLE_TOOLTIP="RECEIPT_EDITABLE_TOOLTIP",e.SAVE_TO_LIST_FROM_MOBILE_BOTTOM_BAR_TOOLTIP="SAVE_TO_LIST_FROM_MOBILE_BOTTOM_BAR_TOOLTIP",e.SAVE_TO_LIST_FROM_MORE_MENU_TOOLTIP="SAVE_TO_LIST_FROM_MORE_MENU_TOOLTIP",e.SETTINGS_IMPORT_AWARENESS_TOOLTIP="SETTINGS_IMPORT_AWARENESS_TOOLTIP",e.SETTINGS_IMPORT_GET_STARTED_TOOLTIP="SETTINGS_IMPORT_GET_STARTED_TOOLTIP",e.TOOLTIP_ABOUT_EDITOR="TOOLTIP_ABOUT_EDITOR",e.USER_SIGNAL_MENU="USER_SIGNAL_MENU",e.VERIFIED_BOOK_AUTHORS_CTA="VERIFIED_BOOK_AUTHORS_CTA",e.WRITER_ONBOARDING="WRITER_ONBOARDING",e.WRITER_SUBSCRIPTIONS_TOOLTIP="WRITER_SUBSCRIPTIONS_TOOLTIP"}(Ln||(Ln={})),function(e){e.PROFILE_HAS_RECOMMENDED="PROFILE_HAS_RECOMMENDED",e.PROFILE_HIGHLIGHTS="PROFILE_HIGHLIGHTS",e.PROFILE_HOME="PROFILE_HOME",e.PROFILE_LATEST="PROFILE_LATEST",e.PROFILE_RESPONSES="PROFILE_RESPONSES",e.PROFILE_SERIES="PROFILE_SERIES"}(Mn||(Mn={})),function(e){e.ARCHIVED="ARCHIVED",e.HIGHLIGHTS="HIGHLIGHTS",e.RECENT="RECENT",e.SAVED="SAVED"}(Dn||(Dn={})),function(e){e.APPROVED="APPROVED",e.INVALID="INVALID",e.NOT_SUBMITTED="NOT_SUBMITTED",e.ON_HOLD="ON_HOLD",e.PENDING="PENDING",e.UNKNOWN="UNKNOWN"}(xn||(xn={})),function(e){e.DEPRIORITISED="DEPRIORITISED",e.PRIORITISED="PRIORITISED",e.UNKNOWN="UNKNOWN"}(Un||(Un={}))},18865:(e,n,t)=>{var i;function a(e){return{type:i.LoadingRequest,query:e}}function r(e){return{type:i.ErrorRequest,query:e}}function o(e,n){return{type:i.ResultRequest,query:e,data:n}}t.d(n,{MY:()=>i,PR:()=>r,sP:()=>o,t3:()=>a}),function(e){e.LoadingRequest="ALGOLIA/LoadingRequest",e.ResultRequest="ALGOLIA/ResultRequest",e.ErrorRequest="ALGOLIA/ErrorRequest"}(i||(i={}))},59036:(e,n,t)=>{t.d(n,{GJ:()=>a,H8:()=>d,Hq:()=>r,JE:()=>c,Zb:()=>l,bs:()=>i,eF:()=>o,jT:()=>m,kV:()=>u,vW:()=>s});var i="CACHE_ADD_TAGS",a="CACHE_DISABLED",r="CACHE_ENABLED",o="CACHE_REASON",l="HYDRATE_MIDDLEWARE_STATE",c=function(e){return{type:i,values:e}},s=function(){return{type:a}},u=function(){return{type:r}},d=function(e){return{type:o,reason:e}},m=function(e){return{type:l,middlewareState:e}}},13051:(e,n,t)=>{t.d(n,{AN:()=>i,Rt:()=>m,lJ:()=>a,tO:()=>d});var i,a,r=t(45458),o=t(64467),l=t(59036);function c(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?c(Object(t),!0).forEach((function(n){(0,o.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}!function(e){e.Disabled="disabled",e.Enabled="enabled",e.Control="control"}(i||(i={})),function(e){e.Dynamic="DYNAMIC",e.Expired="EXPIRED",e.Hit="HIT",e.Miss="MISS"}(a||(a={}));var u={experimentGroupSet:!1,group:i.Control,tags:[],serverVariantState:"",reason:"",middlewareEnabled:!1,cacheStatus:a.Dynamic,shouldUseCache:!1,vary:[],lohpSummerUpsellEnabled:!1,publicationHierarchyEnabled:!1},d=function(e,n){return e!==i.Disabled&&n!==i.Control?n:e},m=function(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,a=arguments.length>1?arguments[1]:void 0,o=function(e){var n=d(t.group,e);return s(s({},t),{},{group:n,experimentGroupSet:t.experimentGroupSet||n!==i.Control})};switch(a.type){case l.bs:return s(s({},t),{},{tags:[].concat((0,r.A)(t.tags),(0,r.A)(a.values))});case l.GJ:return o(i.Disabled);case l.Hq:return o(i.Enabled);case l.eF:return s(s({},t),{},{reason:a.reason});case l.Zb:var c=null!==(e=null===(n=a.middlewareState.cache)||void 0===n?void 0:n.cacheStatus)&&void 0!==e?e:t.cacheStatus;return s(s({},t),{},{cacheStatus:c});default:return t}}},46473:(e,n,t)=>{t.d(n,{$o:()=>m,E2:()=>u,HG:()=>c,JB:()=>f,Qw:()=>h,lL:()=>k,q0:()=>o});var i=t(13051),a=t(39160),r=function(e){return e.cache.experimentGroupSet},o=function(){return(0,a.d4)(r)},l=function(e){return e.cache.group===i.AN.Enabled},c=function(){return(0,a.d4)(l)},s=function(e){return e.cache.group===i.AN.Disabled},u=function(){return(0,a.d4)(s)},d=function(e){return e.cache.group===i.AN.Control},m=function(){return(0,a.d4)(d)},p=function(e){return e.cache.tags},f=function(){return(0,a.d4)(p)},g=function(e){var n=e.cache.reason;return void 0===n?"":n},h=function(){return(0,a.d4)(g)},v=function(e){return e.cache.middlewareEnabled},k=function(){return(0,a.d4)(v)}},50741:(e,n,t)=>{t.d(n,{D:()=>i,Fz:()=>l,JT:()=>a,Ve:()=>r,Wx:()=>o,ub:()=>c});var i="SET_TRACE_URL",a="SET_ORIGINAL_SPAN_CARRIER",r="HIDE_DEBUG_MENU",o="HIGHLIGHT_DS_TYPE",l=function(){return{type:r}},c=function(e){return{type:o,shouldHighlightDSType:e}}},56743:(e,n,t)=>{t.d(n,{K7:()=>r,dy:()=>o,fl:()=>a,iP:()=>i});var i="SET_CLAP_COUNTS_FOR_POST",a="CLEAR_CLAP_COUNTS_FOR_POST";function r(e){var n=e.postId,t=e.clapCount,a=e.viewerClapCount,r=e.viewerHasClappedSinceFetch;return{type:i,postId:n,clapCount:t,viewerClapCount:a,viewerHasClappedSinceFetch:r}}function o(e){var n=e.postId;return{type:a,postId:n}}},91830:(e,n,t)=>{t.d(n,{$p:()=>d,BJ:()=>k,DL:()=>r,F6:()=>m,IS:()=>l,MZ:()=>E,PU:()=>S,RF:()=>f,Vw:()=>u,_q:()=>c,he:()=>w,jo:()=>g,mZ:()=>v,n_:()=>o,qF:()=>N,r3:()=>p,u5:()=>s,u9:()=>h,v5:()=>b,zF:()=>y});var i=t(96540),a=t(69733),r="SET_CURRENT_LOCATION";function o(e){return{type:r,location:e}}var l="SET_CURRENT_HASH";function c(e){return{type:l,hash:e.length>1?e.substring(1):e}}var s="SET_CURRENT_QUERY_STRING";function u(e){return{type:s,queryString:e}}var d="REMOVE_PARAM_FROM_QUERY_STRING",m="SET_REFERRER_ONCE";function p(e){return{type:m,referrer:e}}var f="SET_POST_READ";function g(e){return{type:f,postRead:e}}var h="SET_SUSI_MODAL";function v(e){return{type:h,susiModal:e}}var k="SET_SUSI_EMAIL";function S(e){return{type:k,susiEmail:e}}var b="ENQUEUE_TOAST";function E(e){var n=e.duration,t=void 0===n?5e3:n,i=e.message,a=void 0===i?"":i,r=e.toastStyle,o=void 0===r?"MESSAGE":r,l=e.extraParams;return{type:b,duration:t,message:a,toastStyle:o,extraParams:l}}var y=function(){var e=(0,a.wA)();return(0,i.useCallback)((function(n){return e(E(n))}),[e])},N="CLEAR_TOASTS";function w(){return{type:N}}},90384:(e,n,t)=>{t.d(n,{J:()=>a,T:()=>i});var i="HAS_RENDERED_ALTERNATE_USER_BANNER";function a(e){return{type:i,hasRenderedAlternateUserBanner:e}}},42126:(e,n,t)=>{t.d(n,{BG:()=>r,E2:()=>d,H8:()=>l,IL:()=>o,NJ:()=>m,NZ:()=>f,QT:()=>p,a1:()=>u,e_:()=>s,ox:()=>c});var i=t(64467);function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}var r="SET_BRANCH_DATA",o="SHOW_BRANCH_BANNER",l="BRANCH_BLOCKED_BY_CTA",c="RESET_SHOW_BRANCH_BANNER",s="RENDERED_BRANCH_BANNER";function u(){return{type:o}}function d(e){return{type:s,hasRendered:e}}function m(e){return e.data.loaded=!0,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({type:r},e)}function p(e){return{type:l,blockedByCTA:e}}function f(){return{type:c}}},25548:(e,n,t)=>{t.d(n,{j:()=>a,w:()=>i});var i="HIDE_GOOGLE_ONE_TAP";function a(e){return{type:i,hideGoogleOneTap:e}}},21506:(e,n,t)=>{t.d(n,{m:()=>i,n:()=>a});var i="SET_SELECTED_COUNTRY_CODE";function a(e){return{type:i,countryCode:e}}},50684:(e,n,t)=>{t.d(n,{MW:()=>c,Oj:()=>r,WZ:()=>s,oC:()=>u,pE:()=>l,sq:()=>o});var i=t(96540),a=t(39160),r=function(){return(0,a.d4)((function(e){return e.navigation.currentLocation}))},o=function(){var e=(0,a.d4)((function(e){return e.navigation.queryString}));return(0,i.useMemo)((function(){return new URLSearchParams(e)}),[e])},l=function(e){var n=o().get(e);return Array.isArray(n)?n[0]:n},c=function(){return l("source")},s=function(){return l("sk")},u=function(){return l("interstitial")}},39160:(e,n,t)=>{t.d(n,{Dy:()=>l,ZA:()=>c,d4:()=>o});var i=t(2404),a=t.n(i),r=t(69733);function o(e){return(0,r.d4)(e,r.bN)}var l=function(e){return(0,r.d4)(e,a())},c=function(e){return o(e)}},38667:(e,n,t)=>{t.r(n),t.d(n,{lg:()=>o,md:()=>r,sm:()=>a,xl:()=>l,xs:()=>i});var i=function(e){return"@media all and (max-width: ".concat(e.breakpoints.sm-.02,"px)")},a=function(e){return"@media all and (max-width: ".concat(e.breakpoints.md-.02,"px)")},r=function(e){return"@media all and (max-width: ".concat(e.breakpoints.lg-.02,"px)")},o=function(e){return"@media all and (max-width: ".concat(e.breakpoints.xl-.02,"px)")},l=function(e){return"@media all and (min-width: ".concat(e.breakpoints.xl,"px)")}},46989:(e,n,t)=>{t.d(n,{$7:()=>c,$N:()=>S,Cu:()=>b,Gm:()=>P,Gn:()=>m,Hk:()=>o,Hw:()=>l,JQ:()=>C,Je:()=>v,Jq:()=>h,KM:()=>O,Mg:()=>k,Mh:()=>I,OA:()=>a,R9:()=>T,U5:()=>A,UW:()=>E,Vc:()=>r,W9:()=>L,Wz:()=>u,YF:()=>d,ZZ:()=>w,aX:()=>i,bV:()=>g,c3:()=>_,ei:()=>N,gK:()=>F,qI:()=>R,qQ:()=>M,tW:()=>f,vU:()=>s,vl:()=>y,z9:()=>p});var i="#FFFFFF",a="#F9F9F9",r="#F2F2F2",o="#E5E5E5",l="#D2D2D2",c="#B3B3B3",s="#6B6B6B",u="#3F3F3F",d="#242424",m="#121212",p="#000000",f="#E8F3E8",g="#D2E7D1",h="#BBDBBA",v="#9FCC9E",k="#84C082",S="#1A8917",b="#156D12",E="#C94A4A",y="#B63636",N="#E5F2FF",w="#C4E2FF",P="#437AFF",O="#FFFAE1",T="#FAEDAF",C="#FFC017",A="#FEA010",_="#F24D2E",I="#34AA45",R="#B5E5A4",F="#9E39FF",L="#E6C0FF",M="#F55189"},18642:(e,n,t)=>{t.d(n,{CM:()=>r,Dx:()=>u,ON:()=>l,Ql:()=>o,Qt:()=>m,bJ:()=>g,kI:()=>d,kn:()=>h,nN:()=>c,qy:()=>i,so:()=>f,tS:()=>p,u7:()=>a,vz:()=>s});var i=function(e){return"rgba(0, 0, 0, ".concat(e,")")},a=function(e){return"rgba(255, 255, 255, ".concat(e,")")},r=function(e){var n=Math.round(255*(1-e));return"rgba(".concat(n,", ").concat(n,", ").concat(n,", 1)")},o=r(1),l=r(0),c="#218799",s="#EE6F70",u="#757575",d="#F6F8FF",m="rgb(201, 74, 74)",p="#AB4141",f="#006AF5",g="#1b74e4",h="#1d9bf0"},80890:(e,n,t)=>{t.d(n,{B_:()=>k,Bf:()=>w,M7:()=>p,N_:()=>S,RC:()=>d,WL:()=>E,eh:()=>h,jP:()=>u,nx:()=>P,or:()=>N,p0:()=>m,q8:()=>T,qy:()=>b,sI:()=>v,uE:()=>O,xG:()=>s,yW:()=>C,yv:()=>y});var i=t(80296),a=t(9459),r=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.map((function(e){return e.includes(" ")?'"'.concat(e,'"'):e})).join(", ")},o=r("medium-content-title-font","Georgia","Cambria","Times New Roman","Times","serif"),l=r("medium-content-sans-serif-font","Lucida Grande","Lucida Sans Unicode","Lucida Sans","Geneva","Arial","sans-serif"),c=r("medium-content-serif-font","Georgia","Cambria","Times New Roman","Times","serif"),s=r("source-code-pro","Menlo","Monaco","Courier New","Courier","monospace"),u=r("fell","Georgia","Cambria","Times New Roman","Times","serif"),d=r("source-serif-pro","Georgia","Cambria","Times New Roman","Times","serif"),m=r("sohne","Helvetica Neue","Helvetica","Arial","sans-serif"),p=r("gt-super","Georgia","Cambria","Times New Roman","Times","serif"),f=r("medium-content-sans-serif-font","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Open Sans","Helvetica Neue","sans-serif"),g=function(e,n){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(r){var o=(t||{}).fontSize,l={fontFamily:e,fontWeight:n};if(o&&r){var c={fontSize:(0,a.Fv)((function(e){var n=(0,i.A)(e,1)[0];return"".concat(n,"px")}),o)};Object.assign(l,c)}return l}}},h=g(o,400),v=g(l,600),k=g(l,300),S=g(c,400),b=g(s,700),E=g(s,400),y=g(f,400),N=g(m,700),w={xHeight:.342,baseline:.22},P={xHeight:.375,baseline:.17},O={xHeight:.342,baseline:.22},T={xHeight:0,baseline:0},C={xHeight:.5,baseline:.16}},15578:(e,n,t)=>{t.d(n,{Ci:()=>o,Oe:()=>a,kA:()=>r,yy:()=>i});var i=function(){return"@media print"},a=function(e){return"@media (prefers-reduced-motion: ".concat(e,")")},r=function(e,n,t,i){var a=i?window.innerWidth-i.offsetWidth:0,r=2*(n+t+e.grid.xStep*e.grid.marginSteps.lg)+e.maxWidths.inset+a;return"@media all and (max-width: ".concat(r,"px)")},o=function(e){return"@media (orientation: landscape)"+(e?" and (max-width: ".concat(e,"px)"):"")}},18721:(e,n,t)=>{t.r(n),t.d(n,{lg:()=>o,md:()=>r,sm:()=>a,xl:()=>l,xs:()=>i});var i=function(e){return"@media all and (max-width: ".concat(e.breakpoints.sm-.02,"px)")},a=function(e){return"@media all and "+"(min-width: ".concat(e.breakpoints.sm,"px) and ")+"(max-width: ".concat(e.breakpoints.md-.02,"px)")},r=function(e){return"@media all and "+"(min-width: ".concat(e.breakpoints.md,"px) and ")+"(max-width: ".concat(e.breakpoints.lg-.02,"px)")},o=function(e){return"@media all and "+"(min-width: ".concat(e.breakpoints.lg,"px) and ")+"(max-width: ".concat(e.breakpoints.xl-.02,"px)")},l=function(e){return"@media all and (min-width: ".concat(e.breakpoints.xl,"px)")}},26298:(e,n,t)=>{t.d(n,{z:()=>o});var i=t(18642),a=t(80890),r=t(46989),o={newFonts:{body:{family:a.RC,weight:400,boldWeight:700,fontSize:{XS:16,S:18,SM:20,M:21,L:32},lineHeight:{XS:24,S:28,SM:32,M:32,L:48},letterSpacing:{XS:"0",S:"-0.003em",SM:"-0.003em",M:"-0.003em",L:"0"},topLeadingPct:.375,bottomLeadingPct:.17},brand:{family:a.M7,weight:400,fontSize:{XS:18,S:24,M:28,L:32,XL:48,XXL:70,XXXL:85,XXXXL:106},lineHeight:{XS:21,S:28,M:32,L:36,XL:52,XXL:74,XXXL:88,XXXXL:95},letterSpacing:{XS:"-0.015em",S:"-0.02em",M:"-0.03em",L:"-0.035em",XL:"-0.04em",XXL:"-0.05em",XXXL:"-0.055em",XXXXL:"-0.05em"},fontFeatureSettings:"'pnum' on, 'lnum' on;",topLeadingPct:.35,bottomLeadingPct:.16},detail:{family:a.p0,weight:400,boldWeight:600,fontSize:{XS:11,S:13,M:14,L:16,XL:20},lineHeight:{XS:16,S:20,M:20,L:24,XL:28},topLeadingPct:.38,bottomLeadingPct:.1},heading:{family:a.p0,weight:500,fontSize:{XXS:16,XS:16,S:20,M:24,L:32,XL:42},lineHeight:{XXS:20,XS:20,S:24,M:30,L:38,XL:52},letterSpacing:{XXS:"0",XS:"0",S:"0",M:"-0.016em",L:"-0.014em",XL:"-0.011em"},topLeadingPct:.38,bottomLeadingPct:.1},overline:{family:a.p0,weight:400,fontSize:{XS:10,S:12,M:13,L:16},lineHeight:{XS:16,S:16,M:18,L:24},letterSpacing:{XS:"0.05em",S:"0.083em",M:"0.077em",L:"0.063em"},topLeadingPct:.18,bottomLeadingPct:.1},pullQuote:{family:a.p0,weight:300,fontSize:{S:20,M:24,L:28},lineHeight:{S:28,M:32,L:40},letterSpacing:{S:"0",M:"0",L:"-0.009em"},topLeadingPct:.38,bottomLeadingPct:.1},subtitle:{family:a.p0,weight:400,fontSize:{S:16,M:18,L:22},lineHeight:{S:20,M:24,L:28},topLeadingPct:.38,bottomLeadingPct:.1},title:{family:a.p0,weight:700,fontSize:{XS:16,S:20,M:24,L:32,XL:42},lineHeight:{XS:20,S:24,M:30,L:38,XL:52},letterSpacing:{XS:"0",S:"0",M:"-0.016em",L:"-0.014em",XL:"-0.011em"},topLeadingPct:.38,bottomLeadingPct:.1}},breakpoints:{xs:0,sm:552,md:728,lg:904,xl:1080},maxWidths:{inset:680,outset:1192},grid:{xStep:4,yStep:4,gutterSteps:{xs:6,sm:6,md:7,lg:8,xl:8},marginSteps:{xs:6,sm:6,md:12,lg:16,xl:16},xlMaxContentWidth:1320,columnWidth:64,gutterWidth:24},borderRadius:{regular:4},borderWidth:1,borderWidthThick:2,borderStyle:"solid",backgroundColor:i.ON,accentColor:{border:{light:"rgba(163, 208, 162, 1)",normal:"rgba(26, 137, 23, 1)",dark:"rgba(15, 115, 12, 1)",darker:"rgba(15, 115, 12, 1)"},fill:{light:"rgba(163, 208, 162, 1)",normal:"rgba(26, 137, 23, 1)",dark:"rgba(15, 115, 12, 1)"},fillTransparent:{light:"rgba(26, 137, 23, 0.3)"},text:{light:"rgba(26, 137, 23, 1)",normal:"rgba(26, 137, 23, 1)",dark:"rgba(15, 115, 12, 1)"},background:i.ON},baseColor:{background:{light:i.CM(.02),normal:i.CM(.05),dark:i.CM(.07)},border:{lighter:i.CM(.1),light:i.CM(.2),normal:i.CM(.34),dark:i.CM(.54),darker:i.CM(.84)},text:{lighter:i.CM(.54),light:i.CM(.76),normal:i.CM(.84),dark:i.CM(.9),darker:i.CM(.97)},fill:{lighter:i.CM(.54),light:i.CM(.76),normal:i.CM(.84),dark:i.CM(.9),darker:i.CM(.97)},overlay:{lighter:i.u7(.2),light:i.u7(.4),normal:i.u7(.5),dark:i.u7(.95)}},brandColor:{sage:{light:r.tW,normal:r.$N,dark:r.$N}},errorColor:i.Qt,errorHoverColor:i.tS,highlightColor:{light:r.tW,normal:r.bV,dark:r.Jq},colorTokens:{background:{neutral:{primary:{base:r.aX},secondary:{base:r.Vc},tertiary:{base:r.OA},quaternary:{base:r.YF}},accent:{primary:{base:r.$N,hover:r.Cu},secondary:{base:r.Jq,hover:r.Je},tertiary:{base:r.bV},quaternary:{base:r.tW}},error:{primary:{base:r.UW,hover:r.vl}},utilityYellow:{primary:{base:r.KM}},utilityBlue:{primary:{base:r.ei}}},foreground:{neutral:{primary:{base:r.YF,hover:r.z9},secondary:{base:r.vU,hover:r.Wz},tertiary:{base:r.aX},quaternary:{base:r.aX}},accent:{primary:{base:r.$N,hover:r.Cu}},error:{primary:{base:r.UW,hover:r.vl}},utilityYellow:{primary:{base:r.JQ}},utilityBlue:{primary:{base:r.Gm}}},border:{neutral:{primary:{base:r.Vc,hover:r.Hk},secondary:{base:r.YF,hover:r.z9},tertiary:{base:r.Hk,hover:r.Hw}},accent:{primary:{base:r.$N,hover:r.Cu}},error:{primary:{base:r.UW,hover:r.vl}}}}}},78693:(e,n,t)=>{t.d(n,{Ay:()=>o,l9:()=>r,q5:()=>a});var i={metabar:500,metabarProgress:510,responseSidebarPopover:530,metabarCenter:600,popover:700,modal:800,floating:900,toast:900,loading:1e3,debug:1100,selectionMenu:400,elevatedLink:2,expandedLink:1},a={cardTop1:11,cardTop2:8,cardTop3:7,cardCur:10,cardBottom1:9,cardBottom2:8,cardBottom3:7,foreground:1,cardContainer:2,authorLockup:3,cursor:1e3},r={sidebar:i.metabar+50,sidebarButton:i.metabar+60,metabar:i.metabar+100};const o=i},66973:(e,n,t)=>{t.d(n,{A:()=>c});var i=t(23029),a=t(92901),r=t(47517),o=function(){var e=!1;try{window.localStorage||(e=!1),window.localStorage.setItem("storage-test","1"),e=!!window.localStorage.getItem("storage-test")}catch(n){e=!1}finally{return e&&window.localStorage.removeItem("storage-test"),e}}(),l=function(){function e(){(0,i.A)(this,e),this.data=void 0,this.data={}}return(0,a.A)(e,[{key:"setItem",value:function(e,n){this.data[e]=n}},{key:"getItem",value:function(e){return this.data[e]}},{key:"removeItem",value:function(e){delete this.data[e]}}]),e}(),c=function(){function e(n){(0,i.A)(this,e),this.prefix=void 0,this.storage=void 0,this.prefix=n,this.storage=o?window.localStorage:e.fallbackStorage}return(0,a.A)(e,[{key:"withPrefix",value:function(e){return"".concat(this.prefix,"|").concat(e)}},{key:"newChild",value:function(n){return new e("".concat(this.prefix,"|").concat(n))}},{key:"set",value:function(e,n){this.storage.setItem(this.withPrefix(e),JSON.stringify(n))}},{key:"get",value:function(e,n){var t=this.storage.getItem(this.withPrefix(e));if(t)try{return JSON.parse(t)}catch(n){r.v.warn({msg:"Error parsing JSON from LocalStorage",err:n,key:e})}return n}},{key:"getItems",value:function(e){var n=this,t=this.storage instanceof l?this.storage.data:this.storage,i=Object.keys(t);return i.sort(),i.reduce((function(t,i){return void 0!==e&&Object.keys(t).length>=e?t:i.startsWith(n.prefix)&&(i=i.split("|")[1])?(t[i]=n.get(i),t):t}),{})}},{key:"remove",value:function(e){this.storage.removeItem(this.withPrefix(e))}},{key:"getKeys",value:function(){var e=[],n=this.withPrefix(""),t=this.storage;for(var i in t)0===i.indexOf(n)&&e.push(i.slice(n.length));return e.sort(),e}},{key:"getCount",value:function(){return this.getKeys().length}},{key:"clean",value:function(){var e=this;this.getKeys().forEach((function(n){return e.remove(n)}))}}]),e}();c.fallbackStorage=new l},93240:(e,n,t)=>{t.d(n,{S:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"getCatalogSlugId_Catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},15371:(e,n,t)=>{t.d(n,{DX:()=>u,FW:()=>a,J8:()=>c,KY:()=>p,OV:()=>m,cm:()=>s});var i,a,r=t(64467),o=t(42976),l=t(94644),c=(i={},(0,r.A)(i,o.y_.LOCKED,1),(0,r.A)(i,o.y_.PRIVATE,1),(0,r.A)(i,o.y_.PUBLIC,0),i);function s(e){var n;return(n={},(0,r.A)(n,o.cA.READING_LIST,"Reading list"),(0,r.A)(n,o.cA.CURRENTLY_READING,"Resume reading"),(0,r.A)(n,o.cA.PURCHASED,"Purchased"),n)[e]}function u(e){if(d(e.id)){var n=o.cA[e.id.split(":")[2]];if(n)return s(n)}return e.name}function d(e){return e.startsWith("predefined:")&&3===e.split(":").length}function m(e,n){if(n){var t=(i=e,(l={},(0,r.A)(l,a.READING_LIST,o.cA.READING_LIST),(0,r.A)(l,a.CURRENTLY_READING,o.cA.CURRENTLY_READING),(0,r.A)(l,a.PURCHASED,o.cA.PURCHASED),l)[i]);if(t)return function(e,n){return"predefined:".concat(e,":").concat(n)}(n,t)}var i,l,c=e.split("-");return c[c.length-1]}function p(e){if(d(e.id))return n=e.id.split(":")[2],(t={},(0,r.A)(t,o.cA.READING_LIST,a.READING_LIST),(0,r.A)(t,o.cA.CURRENTLY_READING,a.CURRENTLY_READING),(0,r.A)(t,o.cA.PURCHASED,a.PURCHASED),t)[n]||e.id;var n,t,i=(0,l.Yv)(e.name);return i.length>0?"".concat(i,"-").concat(e.id):e.id}!function(e){e.READING_LIST="reading-list",e.CURRENTLY_READING="currently-reading",e.PURCHASED="purchased"}(a||(a={}))},97114:(e,n,t)=>{t.d(n,{FZ:()=>m,HD:()=>S,N3:()=>f,Sl:()=>k,i7:()=>g,ku:()=>v,tL:()=>p});var i=t(80296),a=t(36944),r=t.n(a),o=t(78659),l=t.n(o),c=t(47990),s=/^#([a-fA-F0-9]{2})([a-fA-F0-9]{6})$/,u=/^#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})?$/,d=/^rgba\((\d+),\s*(\d+),\s*(\d+),\s*([0-9.]+)\)$/,m=function(e){if(!function(e){return s.test(e)}(e))throw new Error("Invalid color string");return[parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),parseInt(e.slice(7,9),16),parseInt(e.slice(1,3),16)/255]},p=function(e){return"rgba(".concat(function(e){var n=(0,i.A)(e,4),t=n[0],a=n[1],o=n[2],l=n[3];return[r()(t),r()(a),r()(o),r()(l,3)]}(e).join(", "),")")},f=function(e){var n=d.exec(e);if(n)return[+n[1],+n[2],+n[3],+n[4]];var t=u.exec(e);if(t)return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16),t[4]?parseInt(t[4],16)/255:1];throw new Error("Unrecognized or invalid color string: ".concat(e))},g=function(e){return p(m(e))},h=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5;return e*(t=l()(t,0,1))+n*(1-t)},v=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,a=(0,i.A)(e,4),r=a[0],o=a[1],l=a[2],c=a[3],s=(0,i.A)(n,4),u=s[0],d=s[1],m=s[2],p=s[3];return[h(r,u,t),h(o,d,t),h(l,m,t),h(c,p,t)]},k=function(e,n){if(d.exec(e)){var t=f(e);return t.pop(),t.push(n),p(t)}throw new Error("Unrecognized or invalid color string: ".concat(e))},S=function(e){return!function(e){return(0,c.Nl)(e)}(e)}},42600:(e,n,t)=>{t.d(n,{CJ:()=>a,G1:()=>i,WU:()=>r,_3:()=>c,ei:()=>o,ks:()=>l});var i=1e3,a=60*i,r=60*a,o=24*r,l=7*o,c="1*dmbNkD5D-u45r44go_cf0g.png"},74169:(e,n,t)=>{function i(e){return e.getBoundingClientRect()}function a(e){var n=o();return{left:e.left+n.left,top:e.top+n.top,width:e.width,height:e.height}}function r(){return{left:0,top:0,width:window.innerWidth,height:window.innerHeight}}function o(){var e=document.documentElement||{},n=document.body||{};return{left:e.scrollLeft||n.scrollLeft||0,top:e.scrollTop||n.scrollTop||0,width:e.scrollWidth||n.scrollWidth||0,height:e.scrollHeight||n.scrollHeight||0}}function l(e){return function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=Math.max(e.left,n.left),a=Math.max(e.top,n.top),r=Math.min(e.left+e.width,n.left+n.width);return Math.min(e.top+e.height,n.top+n.height)-a>=-t&&r-i>=-t}(r(),e)}function c(){return"undefined"!=typeof window&&window.devicePixelRatio||2}t.d(n,{$5:()=>a,$S:()=>r,G9:()=>i,bb:()=>o,mZ:()=>c,zN:()=>l})},37317:(e,n,t)=>{t.d(n,{x:()=>a});var i=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,a=function(e){return!!e.match(i)}},92171:(e,n,t)=>{t.d(n,{w:()=>i});var i=function(e){var n=e.fontFamilyPath,t=e.glyphFontSet,i=e.glyphUrl,a="".concat(i,"/css");return"".concat(a).concat(n,"/").concat(t,".css")}},36178:(e,n,t)=>{t.d(n,{fY:()=>A,su:()=>g});var i,a=t(64467),r=t(36119),o=t.n(r),l=t(60328),c=t.n(l),s=t(96540),u=t(69733),d=t(27721),m=t(18865),p=t(39160);function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}!function(e){e[e.User=1]="User",e[e.Author=2]="Author"}(i||(i={}));var g={numericFilters:"peopleType!=".concat(i.Author)},h={collection:"collections",post:"posts",user:"users",tag:"tags"},v="/1/indexes/*/queries",k=3,S="user",b="collection",E="tag",y="post",N="numericFilters",w="filters",P="facetFilters",O="attributesToRetrieve";function T(e,n){return"".concat(e,"-").concat(n)}var C={collections:{hits:[]},posts:{hits:[]},users:{hits:[]},tags:{hits:[]}};function A(e,n,t){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=s.useRef(""),l=i.filterForHighQuality,A=i.filters,_=i.publisher,I=i.catalogId,R=i.hitsPerPagePerIndex,F=(null==_?void 0:_.id)||null,L=(0,d.R)(),M=L.value,D=L.loading,x=(0,p.d4)((function(e){return e.client.viewerIsBot})),U=!!M,B=(0,u.wA)(),j=(0,p.d4)((function(e){return e.config.algolia})),V=(0,p.d4)((function(e){var t;return null===(t=e.algolia.queries[n])||void 0===t?void 0:t.status})),H="https://".concat(j.appId).concat(j.host).concat(v),G=T(e,n),W=T(e,r.current),z=(0,p.Dy)((function(e){var n;return null===(n=e.algolia.queries[W])||void 0===n?void 0:n.data})),Y=(0,p.Dy)((function(e){var n;return null===(n=e.algolia.queries[G])||void 0===n?void 0:n.data})),q=Y||z||C;s.useEffect((function(){Y&&(r.current=n)}),[n,Y,r.current]);var K=s.useMemo((function(){return o()(Object.values(q).map((function(e){return e.hits.length})))}),[q]),Q=s.useMemo((function(){var e=["web-typeahead",U?"logged-in":"logged-out"],i=t.map((function(t){var i=t===y&&I,r=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,a.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({query:n,hitsPerPage:R&&R[t]||k,numericFilters:"",clickAnalytics:!D&&!x,analyticsTags:i?e.concat(["list"]):e},A);return t===y&&(I?r[w]="_tags:'list_".concat(I,"'"):F&&(r[P]="Collection"===(null==_?void 0:_.__typename)?"collectionId:".concat(F):"authorId:".concat(F))),t===E?r[N]="postCount>=1":t===S&&l?r[w]="highQualityUser:true":t===b&&l?r[w]="isHighQualityCollection:true":t===y&&(r[O]="title,postId,latestPublishedAt"),t===S&&(r[N]=g.numericFilters),{indexName:j.indexPrefix+t,params:Object.keys(r).map((function(e){return e+"="+r[e]})).join("&")}}));return JSON.stringify({requests:i})}),[j,D,x,n,l,A,U]),X=s.useCallback((function(e){var n=e.results,i={users:{hits:[]},collections:{hits:[]},tags:{hits:[]},posts:{hits:[]}};return t.forEach((function(e,t){var a,r;i[h[e]]={hits:(null===(a=n[t])||void 0===a?void 0:a.hits)||[],queryId:null===(r=n[t])||void 0===r?void 0:r.queryID}})),i}),[t]);return s.useEffect((function(){if(n&&!D&&"loading"!==V&&"error"!==V&&"success"!==V){var e={"X-Algolia-API-Key":j.apiKeySearch,"X-Algolia-Application-Id":j.appId};M&&(e["X-Algolia-UserToken"]=M.id),B((0,m.t3)(G)),c()(H,{method:"POST",headers:e,body:Q}).then((function(e){return e.json()})).then((function(e){e.status>=400?B((0,m.PR)(G)):B((0,m.sP)(G,X(e)))})).catch((function(){B((0,m.PR)(G))}))}}),[H,j,Q,M,D,n,V,X,G]),[q,K]}},41216:(e,n,t)=>{t.d(n,{d:()=>o});var i=t(80296),a=t(96540),r=t(61333),o=function(){var e=a.useState(),n=(0,i.A)(e,2),t=n[0],o=n[1],l=a.useState(!0),c=(0,i.A)(l,2),s=c[0],u=c[1];return a.useEffect((function(){o((0,r.bf)(navigator.userAgent)),u(!1)}),[]),{inAppBrowser:t,loading:s}}},17756:(e,n,t)=>{t.d(n,{r:()=>o});var i=t(96540),a=t(54239),r=t(49287);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,a.W6)(),t=(0,r.jI)();return i.useCallback((function(i){var a=new URLSearchParams;if(t&&a.set("source",t),e.queryParams)for(var r in e.queryParams)a.set(r,e.queryParams[r]);var o={pathname:i,search:a.toString()?"?".concat(a.toString()):"",hash:e.hash,state:e.state};e.replace?n.replace(o):n.push(o)}),[n,t,e.queryParams,e.hash,e.state])}},46963:(e,n,t)=>{t.d(n,{U:()=>r});var i=t(96540),a=t(62878),r=function(){return i.useContext(a.G).responsiveSize}},39289:(e,n,t)=>{t.d(n,{i:()=>l});var i=t(96540),a=t(54239),r=t(39160),o=t(79959),l=function(){var e=(0,a.zy)(),n=(0,r.d4)((function(e){return e.navigation.hostname}));return(0,i.useCallback)((function(t){return(0,o.ci)(t,n,e)}),[e,n])}},32166:(e,n,t)=>{t.d(n,{L:()=>r});var i=t(80296),a=t(96540),r=function(){var e=a.useState(!1),n=(0,i.A)(e,2),t=n[0],r=n[1];return a.useEffect((function(){"undefined"!=typeof window&&window.self!==window.top&&r(!0)}),[]),t}},57005:(e,n,t)=>{t.d(n,{E:()=>o});var i=t(50411),a=t.n(i),r=t(96540),o=a().canUseDOM?r.useLayoutEffect:r.useEffect},21202:(e,n,t)=>{t.d(n,{L:()=>o});var i=t(96540),a=t(98761),r={"0%":{opacity:"0.8"},"50%":{opacity:"0.5"},"100%":{opacity:"0.8"}},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,n=(0,a.h)({shimmerKeyframesName:e}).shimmerKeyframesName;return i.useMemo((function(){return{animation:"".concat(n," 1.2s ease-in-out infinite")}}),[n])}},31372:(e,n,t)=>{t.d(n,{L:()=>a});var i=t(96540),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=(0,i.useRef)(null),t=(0,i.useCallback)((function(){n.current&&clearTimeout(n.current)}),[n]);return(0,i.useEffect)((function(){return t}),e),{timer:(0,i.useCallback)((function(e,i){return t(),n.current=setTimeout(e,i),t}),[t,n]),cancel:t}}},60603:(e,n,t)=>{t.d(n,{e:()=>r});var i=t(80296),a=t(96540),r=function(e){var n=a.useState(e),t=(0,i.A)(n,2),r=t[0],o=t[1],l=a.useCallback((function(){o(!0)}),[]),c=a.useCallback((function(){o(!1)}),[]),s=a.useCallback((function(){o((function(e){return!e}))}),[]);return a.useMemo((function(){return[r,l,c,s]}),[r])}},90383:(e,n,t)=>{t.d(n,{As:()=>u,Gw:()=>m,dP:()=>d,qY:()=>i,rP:()=>s});var i,a=t(98023),r=t.n(a),o=t(74169);!function(e){e.Resample="RESAMPLE",e.Crop="CROP",e.Letterbox="LETTERBOX",e.Proxy="PROXY"}(i||(i={}));var l=function(e){var n=e.pixelRatioAdjustedWidth,t=e.pixelRatioAdjustedHeight,i=e.focusPercentX,a=e.focusPercentY,r=e.cropType,o=void 0===r?"c":r,l="resize:fill:".concat(n,":").concat(t);return i&&a?l=l.concat("/g:fp:".concat(i/100,":").concat(a/100)):"t"===o&&(l=l.concat("/g:fp:0.5:0.45")),l},c=/@2x\.\w+$/,s=function(e){var n=e.miroId,t=e.width,a=e.height,r=e.strategy,c=e.cropType,s=void 0===c?"c":c,u=e.blur,d=e.verticalGradient,m=e.darken,p=e.lighten,f=e.freezeGifs,g=void 0===f||f,h=e.focusPercentX,v=e.focusPercentY,k=e.ignorePixelRatio,S=void 0!==k&&k,b=e.pixelRatioCap,E=void 0===b?2:b,y=e.leftPosition,N=void 0===y?0:y,w=e.topPosition,P=void 0===w?0:w,O=e.quality,T=e.webp,C=void 0!==T&&T,A=e.transcodeVersion,_=[i.Resample,i.Proxy];if(void 0===a&&r&&!_.includes(r))throw new Error("MiroUrl: Expected a height param when using ".concat(r," but none given."));a=Math.round(a||0),t=Math.round(t||0);var I=[],R=["https://miro.medium.com/v2"],F=/\.gif$/.test(n),L=h&&h>=0&&v&&v>=0,M=S?1:(0,o.mZ)(),D=Math.min(E,M),x=Math.round(t*D),U=Math.round(a*D);switch(!g||!F&&n.includes(".")||R.push("da:true"),r){case"CROP":L?(h=Math.round(h||0),v=Math.round(v||0),R.push(l({pixelRatioAdjustedHeight:U,pixelRatioAdjustedWidth:x,focusPercentX:h,focusPercentY:v}))):R.push(l({pixelRatioAdjustedWidth:x,pixelRatioAdjustedHeight:U,cropType:s}));break;case"LETTERBOX":R.push("s:".concat(x,":").concat(U,":false:1")),R.push("ex:true:nowe:".concat(N,":").concat(P)),R.push("bg:000000");break;case"RESAMPLE":R.push("resize:fit:".concat(x))}if(A&&R.push("cachebuster:".concat(A)),C&&R.push("format:webp"),m&&R.push("gr:".concat(m/100,":000:down:-9999:1")),p&&R.push("gr:".concat(p/100,":fff:down:-9999:1")),u&&R.push("blur:".concat(Math.floor(.75*u))),d){var B=d.start,j=d.end,V=d.opacity;R.push("gr:".concat(V/100,":000:down:").concat(B/100,":").concat(j/100))}R.push(n),O&&I.push("q=".concat(O));var H=I.join("&");return R.join("/")+(H?"?".concat(H):"")},u=function(e){var n=e.miroId,t=e.aspectRatio,a=e.croppedWidth,r=e.originalWidth,o=e.originalHeight,l=e.focusPercentX,c=e.focusPercentY;return s(l&&c&&r&&o&&o*t>a?{focusPercentX:l,focusPercentY:c,height:Math.round(a/t),ignorePixelRatio:!0,miroId:n,strategy:i.Crop,width:a}:{miroId:n,strategy:i.Resample,width:a,ignorePixelRatio:!0})},d=function(e){return c.test(e)};function m(e){return r()(e)&&e>=0?e:50}},79959:(e,n,t)=>{t.d(n,{EW:()=>s,GA:()=>b,Jr:()=>m,ST:()=>h,Yn:()=>u,ci:()=>f,fo:()=>S,gG:()=>y,iy:()=>p,jp:()=>k,mk:()=>E,oP:()=>v,yH:()=>d,yg:()=>c});var i=t(64467),a=t(39160),r=t(40728);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function l(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function c(e,n){try{var t=new URL(e,"http://"+n);return!(!t||t.hostname&&t.hostname!==n)}catch(e){return!1}}function s(e){try{var n=new URL(e);return n&&n.hostname||""}catch(e){return""}}function u(e){try{var n=new URL(e,"http://example.com");return n.pathname+n.search}catch(e){return""}}function d(e){try{var n=new URL(e,"http://example.com");return n.pathname+n.search+n.hash}catch(e){return""}}function m(e){try{return new URL(e).protocol||""}catch(e){return""}}function p(e){var n=e.split(".");return n.length>2?n[0]:null}function f(e,n,t){try{var i=new URL(e),a=i.pathname+i.search;return t.pathname+(t.search||"")===a&&(!i.hostname||i.hostname===n)}catch(e){return!1}}function g(e){try{return!!new URL(e).hostname}catch(e){return!1}}function h(e,n,t){try{var i=new URL(e,"http://example.com"),a=l(l({},(0,r.JO)(i.search||"")),n);i.search=(0,r.Rm)(a),t&&(i.hash=t);var o=e.startsWith("//");return g(e)||o?o?i.toString().slice(i.protocol.length):i.toString():i.pathname+i.search+i.hash}catch(n){return e}}function v(e,n){var t;try{t=new URL(e,"http://example.com")}catch(n){return e}if(!t.search)return e;var i=(0,r.JO)(t.search);n.forEach((function(e){delete i[e]})),t.search=(0,r.Rm)(i);var a=e.startsWith("//");return g(e)||a?a?t.toString().slice(t.protocol.length):t.toString():t.pathname+t.search+t.hash}function k(e,n){return"https://".concat(e).concat(n)}var S=function(){return e=(0,a.d4)((function(e){return e.navigation.currentLocation})),n=(0,a.d4)((function(e){return e.config.authDomain})),t="http[s]?://".concat(n),null!==e.toLowerCase().match(t);var e,n,t},b=function(){var e=S(),n=(0,a.d4)((function(e){return e.client.hydrated}));return e&&n},E=function(e,n){var t="http[s]?://[^/]*"+n;return null!=e.toLowerCase().match(t)};function y(){window.history.replaceState(null,""," ")}},27715:(e,n,t)=>{function i(e){if(isNaN(e))return String(e);for(var n=["","K","M"],t=e=e?Math.round(e):0,i=e%1e3/1e3,a=0;e>999&&a<n.length;a++)i=e%1e3,t=e,e=Math.floor(e/1e3);if(a>=n.length)return t+n[n.length-1];for(var r=e+1,o=0;r%10==0&&o<9;o++)r/=10;var l=-1!==[1,2,5,null].indexOf(r),c=e<100&&l,s=e<20||l&&!c;return e+(c&&i>=990?".99":c&&i>=980?".98":c&&i>=970?".97":c&&i>=960?".96":c&&i>=950?".95":c&&i>=940?".94":c&&i>=930?".93":c&&i>=920?".92":c&&i>=910?".91":(c||s)&&i>=900?".9":s&&i>=800?".8":s&&i>=700?".7":s&&i>=600?".6":s&&i>=500?".5":s&&i>=400?".4":s&&i>=300?".3":s&&i>=200?".2":s&&i>=100?".1":"")+n[a]}function a(e){return Math.max(1,Math.ceil(e))}function r(e){var n=Math.floor(e/60),t=Math.floor(e%60),i=n<1?Math.round(60*(e-t)):0;return e<1?"".concat(Math.round(i)," sec"):(n>0?"".concat(n," hr "):"")+"".concat(t," min")+(n<1?" ".concat(i," sec"):"")}function o(e,n){var t=n||"undefined"!=typeof window&&window.navigator.language||"en-US";return e.toLocaleString(t)}t.d(n,{CI:()=>r,Ct:()=>i,M8:()=>a,fw:()=>o})},17163:(e,n,t)=>{t.d(n,{c:()=>o});var i=t(23029),a=t(92901);function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}var o=function(){function e(){(0,i.A)(this,e),this.result=null,this.observers=[],this.closed=!1}return(0,a.A)(e,[{key:"observe",value:function(e){null!=this.result&&e(this.result),this.observers.push(e)}},{key:"map",value:function(n){var t=new e;return this.observe((function(e){t.set(n(e))})),t}},{key:"set",value:function(e){if(!this.closed){this.result=e;var n,t=function(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return l=e.done,e},e:function(e){c=!0,o=e},f:function(){try{l||null==t.return||t.return()}finally{if(c)throw o}}}}(this.observers);try{for(t.s();!(n=t.n()).done;)(0,n.value)(e)}catch(e){t.e(e)}finally{t.f()}}}},{key:"complete",value:function(){this.closed=!0}}]),e}()},10131:(e,n,t)=>{t.d(n,{BI:()=>S,JW:()=>d,Nm:()=>k,UX:()=>g,Wn:()=>h,XX:()=>m,c6:()=>b,ge:()=>p,sP:()=>f,xF:()=>v});var i=t(64467),a=t(23029),r=t(92901),o=t(33237),l=t(17163);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function s(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function u(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?s(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var d=function(){function e(n,t){(0,a.A)(this,e),this.start=void 0,this.end=void 0,this.start=n,this.end=t}return(0,r.A)(e,[{key:"duration",get:function(){return this.end-this.start}}],[{key:"fromTiming",value:function(n,t){var i=window.performance.timing;return new e(i[n],i[t])}},{key:"fromEntry",value:function(n,t){var i=window.performance.timing,a=i.navigationStart+t.startTime+t.duration;return new e(i[n],a)}}]),e}(),m=new l.c,p=new l.c,f=new l.c,g=new l.c,h=new l.c,v=new l.c,k=new l.c,S=new l.c,b=function(){!function(){var e,n,t,i;try{(0,o.zB)((function(e){var n=window.performance.timing.navigationStart;p.set(new d(n,n+e.value))})),(0,o.fK)((function(e){var n=window.performance.timing.navigationStart;f.set(new d(n,n+e.value))})),(0,o.lt)((function(e){var n=e.entries.length>0?e.entries[0].startTime:window.performance.timing.navigationStart;g.set(new d(n,n+e.value))})),(0,o.rH)((function(e){h.set(e.value)}),{reportAllChanges:!0}),(0,o.IN)((function(e){v.set(e.value)})),n={sizes:u({},e={beacon:0,css:0,fetch:0,img:0,other:0,script:0,total:0,link:0,xmlhttprequest:0}),transferSizes:u({},e)},t=function(e,t,i){if(t[i]&&t.initiatorType){var a=t[i];n[e][t.initiatorType]+=a,n[e].total+=a}},i=new PerformanceObserver((function(e){var n,i=function(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return c(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?c(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){l=!0,r=e},f:function(){try{o||null==t.return||t.return()}finally{if(l)throw r}}}}(e.getEntries());try{for(i.s();!(n=i.n()).done;){var a=n.value;t("sizes",a,"decodedBodySize"),t("transferSizes",a,"transferSize")}}catch(e){i.e(e)}finally{i.f()}})),setTimeout((function(){i.disconnect(),S.set(n),S.complete()}),2500),i.observe({type:"resource",buffered:!0}),k.set(!1)}catch(e){k.set(!0)}}(),new Promise((function(e){document&&"complete"!==document.readyState?document.addEventListener("readystatechange",(function n(){"complete"===document.readyState&&(document.removeEventListener("readystatechange",n),e())})):e()})).then((function(){setTimeout((function(){return function(){if(window.performance&&window.performance.timing){var e=null;if(window.performance.getEntriesByName){var n=window.performance.getEntriesByName("first-contentful-paint","paint");n.length>0&&(e=n[0])}var t={before_domain_lookup:d.fromTiming("navigationStart","domainLookupStart"),domain_lookup:d.fromTiming("domainLookupStart","domainLookupEnd"),connect:d.fromTiming("connectStart","connectEnd"),request:d.fromTiming("requestStart","responseStart"),response:d.fromTiming("responseStart","responseEnd"),load:d.fromTiming("navigationStart","loadEventStart"),processing:d.fromTiming("domLoading","loadEventStart")};null!=e&&Object.assign(t,{overall_fcp:d.fromEntry("navigationStart",e),client:d.fromEntry("responseStart",e),render:d.fromEntry("responseEnd",e)}),m.set(t)}}()}),0)}))}},69547:(e,n,t)=>{t.d(n,{t:()=>i});var i=function(e){return"Post"===(null==e?void 0:e.__typename)}},40728:(e,n,t)=>{function i(e){var n=e.startsWith("?")?e.slice(1):e;return Object.fromEntries(new URLSearchParams(n).entries())}function a(e){return new URLSearchParams(e).toString()}function r(e,n){return Object.keys(e).reduce((function(t,i){if(n.has(i)){var a=e[i];t[i]=a}return t}),{})}t.d(n,{JO:()=>i,Rm:()=>a,zH:()=>r})},53413:(e,n,t)=>{t.d(n,{In:()=>d,c5:()=>m,p2:()=>u});var i=/(https?|android-app):\/\/(m\.|www\.|l\.|lm\.|search\.|)(bing|duckduckgo|yahoo|yandex)(\.com|\.ru|\.co\.jp)/,a=/(https?|android-app):\/\/(www\.|)google(\.co[m]?|)(\.[a-z]*|)/,r=/android-app:\/\/com\.google\.android\.(googlequicksearchbox|gm)/,o=["twitter.com","t.co","twitterrific.com"],l=["www.facebook.com","facebook.com"],c=["news.google.com","news.url.google.com"],s=function(e){try{return new URL(e).hostname}catch(e){return null}},u=function(e){return!!e&&o.includes(s(e)||"")},d=function(e){return!!e&&l.includes(s(e)||"")},m=function(e,n){if(!e)return!1;var t=s(e)||"";return!!(c.includes(t)||i.test(e)||n&&n.includes("acceleratedMobilePages")||a.test(e)||r.test(e))}},59265:(e,n,t)=>{t.d(n,{DW:()=>l,Rm:()=>c,dl:()=>r,v0:()=>o});var i=t(45458),a=t(93240),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"collectionUrl_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"domain"}},{kind:"Field",name:{kind:"Name",value:"slug"}}]}}]},o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"userUrl_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"customDomainState"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"live"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"domain"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"hasSubdomain"}},{kind:"Field",name:{kind:"Name",value:"username"}}]}}]},l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"publisherUrl_publisher"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publisher"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"collectionUrl_collection"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}}]}}]}}].concat((0,i.A)(r.definitions),(0,i.A)(o.definitions))},c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"catalogUrl_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"predefined"}},{kind:"FragmentSpread",name:{kind:"Name",value:"getCatalogSlugId_Catalog"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}}]}}]}}].concat((0,i.A)(a.S.definitions),(0,i.A)(o.definitions))}},46879:(e,n,t)=>{t.d(n,{$4l:()=>ot,$Jl:()=>Re,$pq:()=>m,A4e:()=>V,AEe:()=>Ee,Ak5:()=>Ot,BAZ:()=>Gn,BBv:()=>Zn,BXb:()=>pt,BdX:()=>Ie,Br7:()=>In,C4:()=>lt,Csn:()=>Ye,D5P:()=>X,DZK:()=>gn,E83:()=>kn,EV1:()=>Ge,Eol:()=>$,EpC:()=>G,FwS:()=>Ct,G0g:()=>$n,GGp:()=>z,GPf:()=>Ve,Gdq:()=>kt,GiS:()=>Qe,Go6:()=>nt,HHm:()=>an,HUU:()=>p,HeZ:()=>Fn,Hs6:()=>cn,IBs:()=>Ce,III:()=>j,IUH:()=>yn,Icz:()=>f,Ij9:()=>An,JAD:()=>Se,JhS:()=>se,K1h:()=>sn,K5i:()=>Nt,K6V:()=>Xe,KI2:()=>w,Kno:()=>_e,L5l:()=>at,L6o:()=>ie,Lpe:()=>mt,Lsb:()=>B,Luy:()=>ne,M2i:()=>Be,MNO:()=>Y,Mlp:()=>h,MnC:()=>je,O6f:()=>q,OHd:()=>L,Oc9:()=>zn,Ody:()=>Xn,PKv:()=>_n,PdS:()=>R,Ppt:()=>It,Pu1:()=>it,PyM:()=>Te,Q0v:()=>le,QGS:()=>jn,QI8:()=>Z,QXw:()=>Fe,Qbf:()=>wn,Qok:()=>k,RE2:()=>$e,RWH:()=>en,S6e:()=>Mn,T37:()=>oe,TGb:()=>ke,TZX:()=>Un,Tlw:()=>st,U13:()=>we,USZ:()=>re,VE2:()=>Cn,VMD:()=>He,Vqn:()=>_t,XB6:()=>Qn,X_g:()=>A,Xj4:()=>Sn,Xws:()=>We,YHu:()=>Dn,YHv:()=>x,Yb6:()=>mn,Yrp:()=>D,ZZI:()=>Ae,Zyx:()=>wt,_6D:()=>F,_bE:()=>pn,a0M:()=>d,aMX:()=>Rt,aNC:()=>be,aQm:()=>Tn,are:()=>u,avd:()=>S,bPs:()=>un,ba4:()=>Hn,bjV:()=>Ke,cR0:()=>_,cZB:()=>Nn,ce9:()=>K,cpj:()=>U,d4:()=>et,dG4:()=>De,dHr:()=>Je,dZ2:()=>Ln,doj:()=>pe,eAi:()=>Q,eAj:()=>qe,eBL:()=>he,eRy:()=>Wn,eYE:()=>Ne,f6:()=>Vn,fSq:()=>fn,fXi:()=>dt,gYp:()=>ce,gj9:()=>M,hG4:()=>Yn,hOq:()=>ht,hbf:()=>vn,hrQ:()=>C,hxZ:()=>de,i33:()=>ft,i89:()=>Kn,iMX:()=>St,iTJ:()=>te,iq0:()=>Rn,jT7:()=>ye,jXU:()=>H,jiC:()=>ge,k9W:()=>O,kYd:()=>ve,l9p:()=>tt,lqp:()=>xn,mjn:()=>ue,n1u:()=>bt,n6r:()=>rn,n_Y:()=>En,oSs:()=>Pn,oef:()=>T,ok5:()=>bn,pC7:()=>Pe,pIy:()=>tn,pNp:()=>rt,pU$:()=>Tt,puv:()=>dn,qE5:()=>Pt,quc:()=>P,rlF:()=>Jn,sAh:()=>Ue,sl6:()=>J,t3V:()=>On,tBk:()=>Le,tI4:()=>on,tJG:()=>Bn,tWN:()=>hn,tX7:()=>ct,twx:()=>nn,uWT:()=>ze,us:()=>E,uwg:()=>v,vEY:()=>N,vU:()=>ln,vce:()=>me,w5g:()=>vt,wLt:()=>b,wZO:()=>gt,wpe:()=>g,wuc:()=>xe,x0D:()=>Me,x4P:()=>ee,xFU:()=>At,xNA:()=>I,xsx:()=>ae,y4K:()=>Oe,yIQ:()=>ut,ycK:()=>y,zgJ:()=>Ze,zkG:()=>qn});var i=t(49643),a=t(26191),r=t(56742),o=t(39160),l=t(15371),c=t(79959),s=t(24023),u=function(e,n){return"https://".concat(e,"/_/bookmark/p/").concat(n)},d=function(){return"/_/oh-noes"},m=function(e){var n=e.authDomain,t=e.autoplay,i=void 0===t||t;return"https://".concat(n,"/about").concat(i?"?autoplay=1":"")},p=function(e,n){return"https://".concat(e,"/new-story")+(n&&n.inResponseToQuoteId?"?inResponseToQuoteId=".concat(n.inResponseToQuoteId):"")},f=function(e){return"https://".concat(e,"/membership")},g=function(e,n){return"https://".concat(e,"/_/admin/users/").concat(n)},h=function(e,n,t){var r={};return n&&(r.giftCode=n),(0,i.b4)(t)&&(r.giftType=t),(0,c.ST)("https://".concat(e,"/").concat(a.G),r)},v=function(e){return"https://".concat(e,"/me/readinghistory")},k=function(e){return"https://".concat(e,"/plans")},S=function(e,n){return"Medium"===n?"https://about.".concat(e,"/earn/"):"https://".concat(e,"/earn")},b=function(e){return e?"/p/".concat(e.id,"/edit"):""},E=function(e,n){return e?e.mediumUrl||(n?"/".concat(e.id):"/p/".concat(e.id)):""},y=function(e,n){return"https://".concat(e,"/p/").concat(n,"/edit")},N=function(e,n){return"https://".concat(e,"/p/").concat(n,"/settings")},w=function(e,n){return"https://".concat(e,"/p/").concat(n)},P=function(e){var n=e.params.postId,t=/^(?:[^/]*-)?([0-9a-f]+)$/.exec(n||"");return t&&t[1]||null},O=function(e,n){return"https://".concat(e,"/_/p/").concat(n,"/quotes/create")},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.category,t=e.queryParam,i=e.collectionSlug,a=i?"/".concat(i):"";return"".concat(a,"/search").concat(n?"/".concat(n):"").concat(t||"")},C=function(e){return"/s/".concat(e)},A=function(e){return"/series/".concat(e)},_=function(e){return"https://".concat(e,"/m/signin")},I=function(e,n){return"https://".concat(e,"/_/subscribe/collection/").concat(n)},R=function(e,n,t){return"https://".concat(e,"/_/subscribe/collection/").concat(n,"/").concat(t)},F=function(e,n){return"https://".concat(e,"/_/subscribe/user/").concat(n)},L=function(e,n,t){return"https://".concat(e,"/_/subscribe/user/").concat(n,"/").concat(t)},M=function(e){return"/_/api/subscriptions/newsletters/".concat(e)},D=function(e){return"/_/api/users/".concat(e,"/lazily-enable-writer-subscription")},x=function(e){return"/_/api/newsletters/".concat(e,"/import/process-unvalidated-files")},U=function(e,n,t){var i="/".concat(t===r.S9.COLLECTION?"tagged":"tag","/").concat(e);return t===r.S9.USER?"https://".concat(n).concat(i):i},B=function(e,n){return"https://".concat(n,"/tag/").concat(e)},j=function(e,n){return"//".concat(e,"/p/").concat(n,"/share/twitter")},V=function(e,n){return"https://".concat(e,"/_/vote/p/").concat(n)},H=function(e,n,t){return"https://".concat(e,"/_/vote/").concat(n,"/").concat(t)},G=function(e,n){var t,i;if(!e)return"";if(!("customDomainState"in e))return W(e,n);var a=null==e||null===(t=e.customDomainState)||void 0===t||null===(i=t.live)||void 0===i?void 0:i.domain;return a?"https://".concat(a):W(e,n)},W=function(e,n){return e?e.hasSubdomain?Y(e.username,n):z(e.username,n):""},z=function(e,n){return e?"https://".concat(n,"/@").concat(e):""},Y=function(e,n){return e?"https://".concat(e,".").concat(n):""},q=function(e){return"/@".concat(e,"/series")},K=function(e){return"/@".concat(e,"/has-recommended")},Q=function(e){return"/@".concat(e,"/highlights")},X=function(e){return"/@".concat(e,"/responses")},Z=function(e){return"/@".concat(e,"/following")},$=function(e){return"/@".concat(e,"/followers")},J=function(e){return"/@".concat(e,"/about")},ee=function(e,n){return"https://".concat(e).concat(function(e){return"/u/".concat(e)}(n))},ne=function(){return"/me/stories/drafts"},te=function(){return"/me/stories/public"},ie=function(){return"/me/stories/responses"},ae=function(){return"/me/stories/unlisted"},re=function(e){return"https://".concat(e,"/me/settings")},oe=function(){return"/me/settings#membership"},le=function(e){return"https://".concat(e,"/me/following")},ce=function(e){return"https://".concat(e,"/me/following/suggestions")},se=function(e){return"https://".concat(e,"/me/settings/mute")},ue=function(){return"/me/stories/deleted"},de=function(e){return"https://".concat(e,"/me/settings")},me=function(e){return"https://".concat(e,"/me/stats")},pe=function(e,n){return"https://".concat(e,"/me/stats/post/").concat(n)},fe=function(e){return e.slug?"/".concat(e.slug):"/c/".concat(e.id)},ge=function(e){return"/c/".concat(e)},he=function(e,n,t){var i=null,a=null;try{var r=new URL(n);i=r.port,a=r.host}catch(e){}if(e.domain)return"https://".concat(e.domain).concat(i?":".concat(i):"");var o=fe(e);return t&&a!==t?"https://".concat(t).concat(o):o},ve=function(e,n){var t=he(e,n);return e.domain?"".concat(t,"/feed"):"/feed".concat(t)},ke=function(e,n){return"https://".concat(n).concat(fe(e),"/stories/submissions")},Se=function(e,n){return"https://".concat(n).concat(fe(e),"/settings")},be=function(e,n){return"https://".concat(n).concat(fe(e),"/design")},Ee=function(e,n){return"https://".concat(n).concat(fe(e),"/new-newsletter")},ye=function(e,n,t){return"https://".concat(t).concat(fe(e),"/newsletters/").concat(n,"/settings")},Ne=function(e,n,t){var i=e.domain;return i?"https://".concat(i,"/tagged/").concat(n):"https://".concat(t).concat(fe(e),"/tagged/").concat(n)},we=function(e,n,t){var i=he(e,n);return e.domain?"".concat(i,"/feed/tagged/").concat(t):"/feed".concat(i,"/tagged/").concat(t)},Pe=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t={};return n.unfold&&(t.unfold=n.unfold),n.action&&(t.action=n.action),(0,c.ST)("https://".concat(e,"/me/design"),t)},Oe="https://help.medium.com/hc/en-us",Te="https://help.medium.com/hc/en-us/articles/21158266278167",Ce=function(){return"https://help.medium.com/hc/en-us/articles/360006543813"},Ae=function(){return"https://help.medium.com/hc/en-us/articles/360006543813-Friend-Links"},_e="https://help.medium.com/hc/en-us/articles/360006362473",Ie=function(){return"https://help.medium.com/hc/en-us/articles/360018677974"},Re=function(){return"https://help.medium.com/hc/en-us/articles/214035868-Leave-a-note"},Fe="https://help.medium.com/hc/en-us/articles/4405927192215-About-referred-memberships",Le=function(){return"https://help.medium.com/hc/en-us/articles/360036691193"},Me="https://policy.medium.com/medium-terms-of-service-9db0094a1e0f",De="https://help.medium.com/hc/en-us/articles/115004932468-Membership-Terms-of-Service",xe="https://policy.medium.com/medium-privacy-policy-f03bf92035c9",Ue="https://help.medium.com/hc/en-us/articles/213477928-Medium-Rules",Be="https://policy.medium.com/medium-partner-program-terms-fcfe9cf777b8",je="https://medium.com/@Medium/cccf29534bf4",Ve=function(){return"https://help.medium.com/hc/en-us/articles/217048127-Manage-responses"},He=function(){return"https://help.medium.com/hc/en-us/articles/115004746707"},Ge=function(){return"https://help.medium.com/hc/en-us/articles/115003053487"},We="https://help.medium.com/hc/en-us/categories/26572799602583-Boost-Nomination-Program",ze="https://help.medium.com/hc/en-us/sections/360001924873-Taxes",Ye="https://help.medium.com/hc/en-us/articles/360011483893-Will-I-still-earn-money-if-I-don-t-add-my-taxpayer-information",qe="https://help.medium.com/hc/en-us/articles/360011582673-I-am-a-nonresident-alien-non-US-taxpayer-Which-tax-form-do-I-fill-out",Ke="https://help.medium.com/hc/en-us/articles/360022952913-Filling-out-the-W-8BEN-and-W-8BEN-E-tax-form-for-nonresident-aliens",Qe="https://help.medium.com/hc/en-us/articles/360022773274-Will-a-portion-of-my-earnings-be-withheld-for-US-taxes",Xe="https://tipalti.com",Ze="https://tipalti.com/industries",$e="https://www.track1099.com",Je="https://www.irs.gov/instructions/iw9#idm139782067764880",en="https://www.irs.gov/instructions/iw8ben#idm139981206915520",nn="https://help.medium.com/hc/en-us/articles/360059837393-Email-subscriptions#h_01FS6T7ZVM4T6VAX1EZ2Q3KC7N",tn="https://help.medium.com/hc/en-us/articles/360037655954",an="https://help.medium.com/hc/en-us/requests/new",rn="https://help.medium.com/hc/en-us/requests/new?ticket_form_id=1900000637185",on="https://help.medium.com/hc/en-us/requests/new?form=bnp",ln="https://help.medium.com/hc/en-us/articles/22379888313751-Reasons-for-Revocation-from-the-Medium-Partner-Program",cn=function(e){return"https://".concat(e,"/about")},sn=function(){return"https://medium.com/jobs-at-medium/work-at-medium-959d1a85284e"},un="mailto:pressinquiries@medium.com",dn=function(){return"https://help.medium.com/hc/en-us/articles/225168768"},mn=function(){return"https://help.medium.com/hc/en-us/articles/115004747067-Your-profile-page"},pn=function(){return"https://help.medium.com/hc/en-us/articles/115004915268"},fn="https://help.medium.com/hc/en-us/requests/new?ticket_form_id=360001727774",gn="https://help.medium.com/hc/en-us/articles/115011694187-Getting-started-with-the-Partner-Program",hn="https://help.medium.com/hc/en-us/articles/115011694187-Partner-Program-Guide#h_01HC30YGABDPHR098R5WES11FM",vn="https://help.medium.com/hc/en-us/requests/new?ticket_form_id=9455427953559&form=true",kn="https://help.medium.com/hc/en-us/articles/360012281034-Gift-subscriptions",Sn="https://help.medium.com/hc/en-us/articles/215552778-Unlisted-publishing",bn="https://help.medium.com/hc/en-us/articles/12384903110295",En="https://help.medium.com/hc/en-us/articles/115004681607",yn="https://help.medium.com/hc/en-us/articles/360034099393",Nn="https://medium.com/p/eda2499ccb5",wn="https://medium.com/p/2cb471e61e40/",Pn=function(e){return"https://blog.".concat(e)},On="https://blog.medium.com/bnp-editors-9c0a6f5a133a",Tn="https://blog.medium.com/sound-on-now-you-can-listen-to-medium-stories-41741987d6c9",Cn="https://blog.medium.com/join-mastodon-with-medium-e2d6d814325b",An="https://blog.medium.com/were-updating-the-partner-program-to-incentivize-high-quality-human-stories-7335f8557f6e",_n="https://blog.medium.com/read-stories-offline-e9d3ddcd4497",In="https://blog.medium.com/new-student-discounts-cc10e964495b",Rn="https://help.medium.com/hc/en-us/articles/115011928308-Make-a-post-eligible-to-earn-money",Fn="https://help.medium.com/hc/en-us/articles/16030675401879-How-stories-earn-in-the-new-Partner-Program",Ln="https://help.medium.com/hc/en-us/articles/217048077-Block-a-user",Mn="https://help.medium.com/hc/en-us/articles/21308869037975-Reasons-for-Suspensions-or-Restrictions",Dn="https://help.medium.com/hc/en-us/articles/21310355607831-Reporting-Other-Issues",xn="https://medium.com/@benzer/become-a-friend-of-medium-dd2fa7bf16c3",Un="https://help.medium.com/hc/en-us/articles/213904978-Add-a-draft-or-post-to-publication",Bn="https://help.medium.com/hc/en-us/articles/23866640775063",jn="https://help.medium.com/hc/en-us/articles/25267297935895",Vn="https://help.medium.com/hc/en-us/articles/25267383906711",Hn="https://help.medium.com/hc/en-us/articles/26200682190487-Partner-Program-Payout-States",Gn=function(e){return"https://twitter.com/".concat(e)},Wn=function(e){return"https://www.facebook.com/".concat(e)},zn=function(e){return"https://www.instagram.com/".concat(e)},Yn=function(){return"https://medium.statuspage.io"},qn=function(){return"https://itunes.apple.com/app/medium-everyones-stories/id828256236?pt=698524&mt=8"},Kn=function(){return"https://play.google.com/store/apps/details?id=com.medium.reader"},Qn=function(e,n){return"https://cdn-videos-1.medium.com/".concat(e[0],"/").concat(e[1],"/").concat(e[2],"/").concat(e,"/")+(n?"hls/playlist.m3u8":"dash/manifest.mpd")},Xn=function(e){return"//".concat(e,"/m/connect/facebook")},Zn=function(e){return"//".concat(e,"/m/connect/google")},$n=function(e){return"//".concat(e,"/m/start-auth/apple")},Jn=function(e){return"//".concat(e,"/m/account/authenticate-twitter")},et=function(e){return"//".concat(e,"/m/callback/email")},nt=function(){return"/_/batch"},tt=function(){return"/_/clientele/reports/performance/"},it=function(e){return"medium://p/".concat(e)},at=function(e){return"medium://".concat(e.slug)},rt=function(e){return"android-app://com.medium.reader/".concat(e.replace("https://","https/"))},ot=function(){return"https://medium.com/@Medium/licensing-your-work-on-medium-517fa7096e62"},lt=function(e,n){return"https://".concat(e,"/p/").concat(n,"/info")},ct=function(e){return"https://".concat(e,"/welcome-member")},st=function(e,n){return"//".concat(n,"/newsletters/").concat(e,"/stats")},ut=function(e,n){return"https://".concat(n,"/newsletters/").concat(e,"/new-email")},dt=function(e){return"https://".concat(e,"/m/callback/authenticate")},mt=function(e,n,t,i){return t?"https://".concat(n).concat(fe(t),"/newsletters/").concat(e):i?"https://".concat(n,"/@").concat(i):""},pt=function(e,n){switch(e.__typename){case"Collection":return Se(e,n);case"User":return de(n);default:(0,s.xb)(e)}return"#"},ft=function(e,n){return"https://".concat(n,"/@").concat(e,"/audience/stats/export")},gt=function(e,n,t){return"https://".concat(n,"/@").concat(e,"/audience/").concat(t)};function ht(e){return"/@".concat(e,"/lists")}var vt=function(e,n){return"".concat(G(e,n),"/lists")};function kt(e,n){return"/@".concat(e,"/list/").concat(n)}function St(e,n){return"/@".concat(e,"/list/").concat(n)}var bt=function(e,n){return"".concat(G(e.creator,n),"/list/").concat((0,l.KY)(e))};function Et(e){var n=function(e,n){return"/@".concat(e,"/list/").concat((0,l.KY)(n))}(e.creator.username||"",e);return e.predefined?"".concat(n,"-").concat(e.id):n}var yt=function(e,n){return n.authDomain?"//".concat(n.authDomain).concat(e):"/".concat(e)},Nt=function(e,n){var t="".concat(Et(e),"/share/linkedIn");return yt(t,n)},wt=function(e,n){var t="".concat(Et(e),"/share/twitter");return yt(t,n)},Pt=function(e,n){var t="".concat(Et(e),"/share/facebook");return yt(t,n)},Ot=function(e){return"medium:/".concat(Et(e))},Tt="https://form.typeform.com/to/Zj4rXboM";function Ct(){var e=(0,o.d4)((function(e){return e.config.mediumMastodonDomainName}));return"https://".concat(e)}function At(){return"".concat(Ct(),"/auth/sign_in")}var _t=function(e){return"https://".concat(e,"/business")},It="https://policies.google.com/privacy",Rt="https://policies.google.com/terms"},50499:(e,n,t)=>{t.d(n,{nG:()=>w,oj:()=>N,uL:()=>P,tk:()=>T,bq:()=>h,TK:()=>O,eb:()=>y,$U:()=>E});var i=t(45458),a=t(80296),r=t(64467),o=t(95420),l=t(96540),c=t(19723),s=t(42976),u=t(91830),d=t(66973),m=t(36178),p={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SearchClickEventMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queryId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"indexName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AlgoliaIndexName"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"objectIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"positions"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"searchClickEvent"},arguments:[{kind:"Argument",name:{kind:"Name",value:"queryId"},value:{kind:"Variable",name:{kind:"Name",value:"queryId"}}},{kind:"Argument",name:{kind:"Name",value:"indexName"},value:{kind:"Variable",name:{kind:"Name",value:"indexName"}}},{kind:"Argument",name:{kind:"Name",value:"objectIds"},value:{kind:"Variable",name:{kind:"Name",value:"objectIds"}}},{kind:"Argument",name:{kind:"Name",value:"positions"},value:{kind:"Variable",name:{kind:"Name",value:"positions"}}}]}]}}]};function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function g(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,r.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var h={users:"search_user",posts:"search_post",tags:"search_tag",publications:"search_publication",none:"search_post",lists:"search_list"},v={filters:"highQualityUser:true OR writtenByHighQulityUser:true"},k={filters:"writtenByHighQualityUser:true"},S=new d.A("recent_searches"),b="queries";function E(e){var n=e.searchAnalyticsTag,t=e.canViewUnfiltered,i=void 0!==t&&t,a=!!(0,c._P)("can_view_unfiltered_search"),o=!i&&!a,u=l.useMemo((function(){return{clickAnalytics:!0,analyticsTags:[n]}}),[n]),d=l.useMemo((function(){return g(g({},o?v:{}),m.su)}),[o]),p=l.useMemo((function(){return o?k:{}}),[o]);return l.useMemo((function(){var e;return e={},(0,r.A)(e,s.XK.CATALOG,u),(0,r.A)(e,s.XK.COLLECTION,u),(0,r.A)(e,s.XK.POST,g(g({},p),u)),(0,r.A)(e,s.XK.USER,g(g({},d),u)),(0,r.A)(e,s.XK.TAG,g({numericFilters:"postCount>=1"},u)),(0,r.A)(e,s.XK.BOOK_EDITION,{}),e}),[u,p,d])}function y(e){var n=e.queryId,t=e.indexName,i=(0,o.n)(p),r=(0,a.A)(i,1)[0];return l.useCallback((function(e,i){n&&e&&r({variables:{queryId:n,indexName:t,positions:[i+1],objectIds:[e]}})}),[r,n,t])}function N(){return S.get(b)||[]}function w(e){var n=N();if(e){var t=[e].concat((0,i.A)(n.filter((function(n){return n!==e}))));S.set(b,t.slice(0,10))}}function P(e){var n=N();S.set(b,n.filter((function(n){return e!==n})))}function O(e,n,t){var i=new URLSearchParams(n.location.search);e?i.set("q",e):i.delete("q");var a=i.toString();t((0,u.Vw)(a)),n.push({search:a})}function T(e){var n=e.split("/"),t=n.indexOf("search"),i=t>-1?n[t+1]:null;return i?["users","tags","posts","publications","lists"].includes(i)?i:null:"none"}},94644:(e,n,t)=>{t.d(n,{DU:()=>o,Mc:()=>a,NZ:()=>l,PK:()=>c,Yv:()=>r,cw:()=>i});var i=function(e){return/^[\s\xa0]*$/.test(e)},a=function(e,n){if(e.length<n)return e;var t=e.substr(0,n),i=t.charCodeAt(t.length-1),a=t.charCodeAt(t.length-2);return i>=55296&&i<=57343&&!(a>=55296&&a<=57343)&&(t=t.substr(0,t.length-1)),(t=(t=t.replace(/(\s+\S+|\s+)$/,"")).replace(/[.,:;?!-]+$/,""))+"…"};function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",t=e;return void 0!==String.prototype.normalize&&(t=e.normalize("NFD")),t.replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9 ]/g,"").trim().replace(/\s+/g,n)}function o(){return Math.round(0xffffffffffff*Math.random()).toString(16)}function l(e){return e.split(" ").map((function(e){return"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1))})).join(" ")}function c(e){return e.endsWith("s")?"".concat(e,"'"):"".concat(e,"'s")}},40064:(e,n,t)=>{t.d(n,{CY:()=>_,JM:()=>S,KC:()=>A,S5:()=>y,Sr:()=>E,V_:()=>N,_I:()=>I,a5:()=>w,lj:()=>b,q3:()=>C,s9:()=>P,ty:()=>T,vU:()=>O});var i=t(64467),a=t(80296),r=t(55364),o=t.n(r),l=t(42976),c=t(18642),s=t(80890),u=t(97114);function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function m(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?d(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var p=function(e,n){return(0,u.tL)(function(e,n){var t=e.colorPoints;if(!t.length)return[255,255,255,0];for(var i=t.slice().sort((function(e,n){return e.point===n.point?0:e.point<n.point?-1:1})),r=0;i[r+1]&&Math.abs(n-i[r+1].point)<Math.abs(n-i[r].point);)r+=1;var o=i[r];if(n===o.point)return(0,u.FZ)(o.color);var l=n>o.point?[i[r],i[r+1]]:[i[r-1],i[r]],c=(0,a.A)(l,2),s=c[0],d=c[1];if(null==s||null==d||s.point===d.point)return(0,u.FZ)(o.color);var m=(n-s.point)/(d.point-s.point);return(0,u.ku)((0,u.FZ)(s.color),(0,u.FZ)(d.color),m)}(e,n))},f=function(e){return{text:{light:p(e,0),normal:p(e,0),dark:p(e,.2)},border:{light:p(e,0),normal:p(e,0),dark:p(e,.2),darker:p(e,.2)},fill:{light:p(e,0),normal:p(e,0),dark:p(e,.2)}}},g=function(e){return{accent:{primary:{base:p(e,0),hover:p(e,.2)},secondary:{hover:p(e,0)}}}},h=function(e){return{accent:{primary:{base:p(e,0),hover:p(e,.2)}}}},v=function(e){return{accent:{primary:{base:p(e,0),hover:p(e,.2)}}}},k=function(e){return{background:g(e),foreground:h(e),border:v(e)}},S=function(e,n){var t=e.tint,i=e.accentTint;if(!t)return n;var a=i?o()({},f(i),{background:p(i,1)}):{text:{light:p(t,.8),normal:p(t,.9),dark:p(t,1)},border:{light:p(t,.7),normal:p(t,.8),dark:p(t,.9),darker:p(t,1)},fill:{light:p(t,.8),normal:p(t,.9),dark:p(t,1)},background:p(t,0)};return o()({},n,{backgroundColor:(0,u.i7)(t.backgroundColor),accentColor:a,baseColor:{background:{light:p(t,.05),normal:p(t,.1),dark:p(t,.2)},border:{lighter:p(t,.2),light:p(t,.4),normal:p(t,.6),dark:p(t,.8),darker:p(t,1)},text:{lighter:p(t,.7),light:p(t,.8),normal:p(t,.9),dark:p(t,.95),darker:p(t,1)},fill:{lighter:p(t,.7),light:p(t,.8),normal:p(t,.9),dark:p(t,.95),darker:p(t,1)}},highlightColor:{light:p(t,.1),normal:p(t,.2),dark:p(t,.3)},colorTokens:{background:{neutral:{primary:{base:i?p(i,1):p(t,0)},secondary:{base:p(t,.1)},tertiary:{base:p(t,.05)},quaternary:{base:p(t,.9)}},accent:{primary:{base:i?p(i,0):p(t,.9),hover:i?p(i,.2):p(t,1)},secondary:{base:p(t,.3),hover:i?p(i,0):p(t,.8)},tertiary:{base:p(t,.2)},quaternary:{base:p(t,.1)}}},foreground:{neutral:{primary:{base:p(t,.9),hover:p(t,1)},secondary:{base:p(t,.7)},tertiary:{base:p(t,1)},quaternary:{base:p(t,1)}},accent:{primary:{base:i?p(i,0):p(t,.8),hover:i?p(i,.2):p(t,1)}}},border:{neutral:{primary:{base:p(t,.1),hover:p(t,.2)},secondary:{base:p(t,.6)},tertiary:{base:p(t,.2),hover:p(t,.2)}},accent:{primary:{base:i?p(i,0):p(t,.8),hover:i?p(i,.2):p(t,1)}}}}})},b=function(e){return o()({},e,{backgroundColor:(0,c.u7)(1),accentColor:{text:{light:(0,c.u7)(.8),normal:(0,c.u7)(.95),dark:(0,c.u7)(1)},border:{light:(0,c.u7)(.65),normal:(0,c.u7)(.8),dark:(0,c.u7)(.9),darker:(0,c.u7)(1)},fill:{light:(0,c.u7)(.6),normal:(0,c.u7)(.7),dark:(0,c.u7)(1)},background:(0,c.u7)(1)},baseColor:{background:{light:(0,c.u7)(.9),normal:(0,c.u7)(.95),dark:(0,c.u7)(1)},border:{lighter:(0,c.u7)(.4),light:(0,c.u7)(.65),normal:(0,c.u7)(.8),dark:(0,c.u7)(.9),darker:(0,c.u7)(1)},text:{lighter:(0,c.u7)(.6),light:(0,c.u7)(.8),normal:(0,c.u7)(.95),dark:(0,c.u7)(1),darker:(0,c.u7)(1)},fill:{lighter:(0,c.u7)(.45),light:(0,c.u7)(.6),normal:(0,c.u7)(.7),dark:(0,c.u7)(.9),darker:(0,c.u7)(1)}},colorTokens:{background:{neutral:{primary:{base:(0,c.u7)(1)},secondary:{base:(0,c.u7)(.95)},tertiary:{base:(0,c.u7)(.9)},quaternary:{base:(0,c.u7)(.7)}},accent:{primary:{base:(0,c.u7)(.7),hover:(0,c.u7)(1)},secondary:{hover:(0,c.u7)(.6)}}},foreground:{neutral:{primary:{base:(0,c.u7)(.95),hover:(0,c.u7)(1)},secondary:{base:(0,c.u7)(.6)}},accent:{primary:{base:(0,c.u7)(.95),hover:(0,c.u7)(1)}}},border:{neutral:{primary:{base:(0,c.u7)(.65)},secondary:{base:(0,c.u7)(.8)},tertiary:{base:(0,c.u7)(.4)}},accent:{primary:{base:(0,c.u7)(.8),hover:(0,c.u7)(.9)}}}}})},E=function(e){return m(m({},b(e)),{},{backgroundColor:e.colorTokens.foreground.error.primary.base})},y=function(e){var n;return m(m({},b(e)),{},{backgroundColor:null!==(n=e.colorTokens.foreground.neutral.primary.hover)&&void 0!==n?n:e.colorTokens.foreground.neutral.primary.base})},N=function(e){return o()({},e,{backgroundColor:(0,c.u7)(.2),accentColor:{text:{light:(0,c.u7)(.8),normal:(0,c.u7)(.95),dark:(0,c.u7)(1)},border:{light:(0,c.u7)(.65),normal:(0,c.u7)(.8),dark:(0,c.u7)(.9),darker:(0,c.u7)(1)},fill:{light:(0,c.u7)(.6),normal:(0,c.u7)(.7),dark:(0,c.u7)(1)},background:(0,c.u7)(.2)},baseColor:{background:{light:(0,c.u7)(.9),normal:(0,c.u7)(.95),dark:(0,c.u7)(1)},border:{lighter:(0,c.u7)(.2),light:(0,c.u7)(.65),normal:(0,c.u7)(.8),dark:(0,c.u7)(.9),darker:(0,c.u7)(1)},text:{lighter:(0,c.u7)(.8),light:(0,c.u7)(.9),normal:(0,c.u7)(.95),dark:(0,c.u7)(1),darker:(0,c.u7)(1)},fill:{lighter:(0,c.u7)(.45),light:(0,c.u7)(.6),normal:(0,c.u7)(.7),dark:(0,c.u7)(.9),darker:(0,c.u7)(1)}},colorTokens:{background:{neutral:{primary:{base:(0,c.u7)(.2)},secondary:{base:(0,c.u7)(.95)},tertiary:{base:(0,c.u7)(.9)},quaternary:{base:(0,c.u7)(.2)}},accent:{primary:{base:(0,c.u7)(.7),hover:(0,c.u7)(1)},secondary:{hover:(0,c.u7)(.6)}}},foreground:{neutral:{primary:{base:(0,c.u7)(.95),hover:(0,c.u7)(1)},secondary:{base:(0,c.u7)(.8)}},accent:{primary:{base:(0,c.u7)(.95),hover:(0,c.u7)(1)}}},border:{neutral:{primary:{base:(0,c.u7)(.65)},secondary:{base:(0,c.u7)(.8)}},tertiary:{base:(0,c.u7)(.2)},accent:{primary:{base:(0,c.u7)(.8),hover:(0,c.u7)(.9)}}}}})},w=function(e,n){var t=n||(0,c.qy)(1);return o()({},e,{backgroundColor:t,accentColor:{background:t},baseColor:{background:{light:(0,c.u7)(.9),normal:(0,c.u7)(.95),dark:(0,c.u7)(1)},border:{lighter:(0,c.u7)(.4),light:(0,c.u7)(.65),normal:(0,c.u7)(.8),dark:(0,c.u7)(.9),darker:(0,c.u7)(1)},text:{lighter:(0,c.u7)(.6),light:(0,c.u7)(.8),normal:(0,c.u7)(.95),dark:(0,c.u7)(1),darker:(0,c.u7)(1)},fill:{lighter:(0,c.u7)(.45),light:(0,c.u7)(.6),normal:(0,c.u7)(.7),dark:(0,c.u7)(.9),darker:(0,c.u7)(1)}},colorTokens:{background:{neutral:{secondary:{base:(0,c.u7)(.95)},tertiary:{base:(0,c.u7)(.9)}}},foreground:{neutral:{primary:{base:(0,c.u7)(.95),hover:(0,c.u7)(1)},secondary:{base:(0,c.u7)(.6)}}},border:{neutral:{primary:{base:(0,c.u7)(.65)},secondary:{base:(0,c.u7)(.8)},tertiary:{base:(0,c.u7)(.4)}}}}})},P=function(e,n,t){var i,a,r,l=(null==e||null===(i=e.global)||void 0===i?void 0:i.colorPalette)||{},c=l.primary,s=l.background,u=null==c?void 0:c.colorPalette,d=null==s?void 0:s.colorPalette;if(d){var m=d.tintBackgroundSpectrum,g=(u||{}).tintBackgroundSpectrum;return S({tint:m,accentTint:g},n)}return t||u?(e?(a=null==u?void 0:u.defaultBackgroundSpectrum,r=null==u?void 0:u.highlightSpectrum):(a=null==t?void 0:t.defaultBackgroundSpectrum,r=null==t?void 0:t.highlightSpectrum),function(e,n){var t=e.accent,i=e.highlight;return t&&i?o()({},n,{accentColor:f(t),highlightColor:{light:p(i,.1),normal:p(i,.6),dark:p(i,1)},colorTokens:o()({},k(t),{background:{accent:{secondary:{base:p(i,1)},tertiary:{base:p(i,.6)},quaternary:{base:p(i,.1)}}}})}):n}({accent:a,highlight:r},n)):n},O=function(e,n){if(!e)return n;var t=e.colorPalette,i=e.customStyleSheet;return P(i,n,t)},T=function(e,n){return e?function(e,n,t){var i,a,r,o=null==e||null===(i=e.global)||void 0===i||null===(a=i.colorPalette)||void 0===a||null===(r=a.primary)||void 0===r?void 0:r.colorPalette,l=null==o?void 0:o.tintBackgroundSpectrum,c=e?null==o?void 0:o.tintBackgroundSpectrum:null==t?void 0:t.tintBackgroundSpectrum;return S({tint:c,accentTint:l},n)}(e.customStyleSheet,n,e.colorPalette):n},C=function(e){switch(e){case l.H_.SERIF_1:return s.jP;case l.H_.SERIF_2:return s.RC;case l.H_.SANS_SERIF_1:return s.p0}},A=function(e){switch(e){case l.H_.SERIF_1:return 600;case l.H_.SERIF_2:return 700;case l.H_.SANS_SERIF_1:return 500}},_=function(e,n){var t;if(!e)return n;var i=m({},n.newFonts),a=null===(t=e.global)||void 0===t?void 0:t.fonts;if(null!=a&&a.font1){var r=C(a.font1.name),c=A(a.font1.name),s=function(e){switch(e){case l.H_.SERIF_1:case l.H_.SERIF_2:return 400;case l.H_.SANS_SERIF_1:return 700}}(a.font1.name);i.pullQuote=o()({},i.pullQuote,{family:r,boldWeight:c}),i.title=o()({},i.title,{family:r,weight:s,boldWeight:s})}if(null!=a&&a.font2){var u=C(a.font2.name),d=A(a.font2.name),p=function(e){switch(e){case l.H_.SERIF_1:case l.H_.SERIF_2:return 600;case l.H_.SANS_SERIF_1:return 500}}(a.font2.name);i.heading=o()({},i.heading,{family:u,weight:p,boldWeight:p});for(var f=0,g=["subtitle","detail","overline"];f<g.length;f++){var h=g[f];i[h]=o()({},i[h],{family:u,boldWeight:d})}}if(null!=a&&a.font3){var v=C(a.font3.name),k=A(a.font3.name);i.body=o()({},i.body,{family:v,boldWeight:k})}return m(m({},n),{},{newFonts:i})},I=function(e,n){var t=m({},e);return t.newFonts=n.newFonts,t}},4334:(e,n,t)=>{t.d(n,{u:()=>a});var i=t(72346),a=function(e,n){if(!e)return"";var t=new Date(e),a=new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds());return(0,i.A)(a,n)}},24023:(e,n,t)=>{function i(e){return null!=e}t.d(n,{se:()=>i,xb:()=>a});var a=function(e){throw new Error("Expected unreachable")}},61333:(e,n,t)=>{t.d(n,{Gz:()=>p,S7:()=>l,bf:()=>S,cX:()=>v,dC:()=>k,dX:()=>f,gm:()=>h,n8:()=>b,nr:()=>g,uW:()=>i});var i=["FBAN/FBIOS","FB_IAB/FB4A"],a="Flipboard",r="Gmail",o="Instagram",l="LinkedIn",c="donkey",s="hangtag",u="Pinterest",d="Twitter";function m(e,n){return n.some((function(n){return-1!==e.indexOf(n)}))}function p(e){if(!e)return!1;if(k(e))return!0;var n=m(e,["iPad","Nexus 10"]),t=!n&&m(e,["iPhone","iphone","Android","BlackBerry"]);return n||t}function f(e){return!!e&&-1!==e.indexOf("Safari")&&(-1!==e.indexOf("iPad")||-1!==e.indexOf("iPhone"))}function g(e){return!!e&&-1!==e.indexOf("Safari")&&-1===e.indexOf("Chrome")&&-1===e.indexOf("Chromium")}function h(e){return!!e&&-1!==e.indexOf("Firefox")&&-1===e.indexOf("Chrome")&&-1===e.indexOf("Chromium")}function v(e){return!!e&&-1!==e.indexOf("Macintosh")}function k(e){return!!e&&(function(e){return!!e&&-1!==e.indexOf(c)}(e)||function(e){return!!e&&-1!==e.indexOf(s)}(e))}function S(e){var n=[].concat(i,[r,d,l,a,o,u]);return e?n.find((function(n){return-1!==e.indexOf(n)})):""}function b(e){return!!e&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])/i.test(e)}}},e=>{var n=n=>e(e.s=n);e.O(0,[9865],(()=>(n(26148),n(73302)))),e.O()}]);
//# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/main.e66fdbd5.js.map