text: (function(z){
  'use strict';var B7=function(a){z.K.call(this);this.C(a)},C7=function(a){z.K.call(this);this.C(a)},f3a=function(a,b){this.user=a;this.quotes=b},g3a=function(a,b){b=b.g();if(b===Number||b.$isProtoEnum)return a=Number(a),Number.isNaN(a)?void 0:a;if(b===Boolean)return!!a;if(b===String)return String(a)},D7=function(a){return a.XA.best||null},E7=function(a,b){b=b.filter(function(a){return"anon"!=a.Ta()});b=z.lb(b,function(a){return a.Ta()},a);return z.qb(b).map(function(a){return new f3a(a[0].Yb(),a)},
  a)},h3a=function(a,b,c,d){return(0,z.$d)(a.Ft[b.name]||[],function(a){return a.kd()==c&&a.he()==d})},F7=function(){this.CF=1},G7=function(a){z.Si.call(this);this.C(a)},i3a=function(a,b){return z.J(a,"slots",b)},j3a=function(a,b){return z.J(a,"requestContext",b)},H7=function(a){z.K.call(this);this.C(a)},I7=function(a){return z.I(a,"inResponseToMediaResource")},J7=function(a){return z.I(a,"mediumQuote")},k3a=function(a,b){a.oN=b;return a},K7=function(a,b){return D7(a)?z.SD(D7(a)).filter(function(a){return this.h0(a)==
  b},a):[]},l3a=function(a){a=new Date(a);return Date.UTC(a.getFullYear(),a.getMonth()+1,1)-1},m3a=function(a){var b=z.qN(a.Lj.bt,a.Lj.yr(),a.Ul.bt,a.Ul.yr()).ra().trim();0<a.Lj.yr()&&(b="…"+b);var c=z.DE(a.ic,a.Ul.bt);a.Ul.yr()<c.ra().length&&(b+="…");return b},n3a=function(a){var b=z.wC(a.dua),c=a.Lj.bt,d=c?b.indexOf(c):-1,e=(c=a.Ul.bt)?b.indexOf(c):-1;if(-1==d||-1==e)return"";for(c=[];d<=e;d++)c.push(z.DE(a.ic,b[d]));b=z.Ra(c);a=z.Lu(c.indexOf(c[0]),a.Lj.yr(),c.indexOf(b),a.Ul.yr(),!1);return z.Jia(new z.yu(z.Kn,
  z.cCa),c,a,!0)},o3a=function(a,b,c){c=c.Xx;b=b.getAttribute("name").split(" ");var d=z.Fb(b);a=(a.Ft[c.name]||[]).filter(function(a){return d[a.Gi()]});return a.length?z.uua(a):null},p3a=function(a,b,c,d){b=h3a(a,b,c,d);return E7(a,b)},q3a=function(a,b){var c=0;(a.Ft[b]||[]).forEach(function(a){"anon"==a.Ta()&&(c+=a.se())});return c},r3a=function(a,b,c){var d=a.V.R(z.MBa,{postId:b},{filter:c});return z.pE(a,d,function(){return this.qb.kl(d)})},s3a=function(a,b){return z.ua(b)in a.Wz},t3a=function(a,
  b){z.gu(a,7);var c=new z.Yt("",1,a.ra());b.forEach(function(a){z.eu(c,z.Pt(a.startOffset,a.endOffset,[a.quoteId],[a.userId]))},a);b=z.wia(c);for(var d=z.xia(c,b),e=0;e<b.length;e++){var g=d[e];if(g.length){for(var k={},l=[],p=0;p<g.length;p++){var r=g[p];k[z.I(r,"creatorIds")]=!0;l.push(r.getName())}g=b[e];p=e<b.length-1?b[e+1]:a.ra().length;z.eu(a,z.Pt(g,p,l,Object.keys(k)))}}},u3a=function(a,b){var c=a.text,d=a.l,e="";a=""+z.A(z.ij(a));a=(0,z.M)(a);e+=z.A(z.N({s:c,Pb:!0,Wd:!0,href:(0,z.L)(""+z.F(b.Sp)),
  source:a,style:"link.obvious",ca:!0,l:d},b));return(0,z.y)(e)},v3a=function(a,b,c){b="";a.jBa?a=z.n("Top highlight"):(c=""+z.A(z.tQ(z.D({g1:!0,wga:!c.useragent.isMobile},a),c)),1==a.ii&&a.isActive&&(a=z.n("highlighted"),c+=" "+a),a=(0,z.y)(c));b+=a;return(0,z.y)(b)},L7=function(a,b){this.Th=a;this.Fna=b;this.xe=(this.zk=b=z.rC(a.node,b))&&b.getAttribute("name");this.cN=b?z.vx(a,b):-1},M7=function(a){var b=a.length;a=a.match(w3a);if(!a)return b;for(var c=0;c<a.length;c++)b+=23-a[c].length;return b},
  x3a=function(a,b,c){return(0,z.y)(z.gQ(z.D({user:c.currentUser,type:"quoteResponses"},a),c))},N7=function(a,b,c){return(0,z.y)(z.A(z.xl({icon:(0,z.M)(""+z.A(z.dl())),ca:!0,action:"dismiss-meter",l:"js-dismissMeterButton"},c)))},y3a=function(a,b){var c,d="";if(b.variants.enable_meter_banner_copy_test)switch(z.sa(c=a.meteringInfo.postIds.length)?c.toString():c){case 0:case 1:a=z.n("Smart stories. New ideas. No ads. $5/month.");d+=a;break;case 2:a=z.n("Read smarter, not harder.");d+=a;break;default:a=
  z.n("This is the only ad on {$productName}. You can make it go away.",{productName:z.A(b.productName)}),d+=a}else switch(z.sa(c=a.meteringInfo.postIds.length)?c.toString():c){case 0:case 1:a=z.n("Your first three are on the house.");d+=a;break;case 2:a=z.n("That’s two for you...");d+=a;break;default:a=z.n("We like your style."),d+=a}return(0,z.y)(d)},O7=function(a){z.K.call(this);this.C(a)},z3a=function(a,b,c){b="\x3cdiv class\x3d'u-marginLeft10'\x3e\x3cdiv class\x3d\"buttonSet u-inlineBlock\"\x3e"+
  z.A(z.xl({action:"quote",source:"quote_popover",icon:(0,z.M)(""+z.A(z.sda())),l:(0,z.M)("button--highlightMenu u-sm-height42 u-sm-lineHeight44 u-accentColor--highlightStrong js-quoteAttributions-pileOn"),Pb:!0,lk:!0,QO:"quote",ca:!0,isActive:a.isActive},c))+(c.supportsEdit?z.A(z.xl({action:"quote-respond",source:"quote_popover",icon:(0,z.M)(""+z.A(z.wda())),l:"button--highlightMenu u-sm-height42 u-sm-lineHeight44",Pb:!0,ca:!0},c)):"")+(a.DR?z.A(z.xl({action:"twitter",source:"quote_popover",icon:(0,z.M)(""+
  z.A(z.jl(null))),l:"button--highlightMenu u-sm-height42 u-sm-lineHeight44",Pb:!0,ca:!0},c)):"")+'\x3cdiv class\x3d"buttonSet-separator"\x3e\x3c/div\x3e\x3c/div\x3e';b+='\x3cdiv class\x3d"'+z.E(z.bi("js-quoteAttributions-info u-inlineBlock u-verticalAlignTop u-noWrapWithEllipsis u-maxWidth414 u-paddingTop11 u-paddingRight18 u-paddingBottom0 u-paddingLeft10 u-xs-paddingTop13 u-xs-paddingLeft4 u-xs-maxWidth160"))+'"\x3e'+v3a(a,0,c)+"\x3c/div\x3e\x3c/div\x3e";return(0,z.y)(b)},P7=function(a){z.Mn.call(this);
  var b=z.Uo();this.Lj=b&&new L7(z.vp(b,!0),a);this.Ul=b&&new L7(z.vp(b,!1),a)},Q7=function(a,b){var c=new z.jj(z.Jn(b)),c=new z.Pe(c.R(z.WAa)),d=new z.Pe("https://www.facebook.com/v2.7/dialog/share");z.Ze(d,z.mf({app_id:b.facebook.key,href:a.toString(),display:"popup",redirect_uri:c.toString()}));return d},A3a=function(a,b,c){function d(a){return a.replace(/“/g,"‘").replace(/”/g,"’").replace(/„/g,"‚").replace(/'/g,"’")}b.content=d(b.content);b.name&&(b.name=d(b.name));var e=String(a(b,null,c)),g=M7(e)-
  280;0<g&&(b.content=z.Di(b.content,b.content.length-g),e=String(a(b,null,c)));return e},B3a=function(a,b){b=new z.jj(b.authBaseUrl);return new z.Pe(b.kp(a))},C3a=function(){var a=z.n("Highlights");return(0,z.y)(""+a)},D3a=function(a,b,c){b=a.post.virtuals.responsesCreatedCount>=c.j.B2&&(a.post.creator.userId==c.currentUser.userId||(null==a.post.homeCollection?null:null==a.post.homeCollection.virtuals?null:null==a.post.homeCollection.virtuals.permissions?null:a.post.homeCollection.virtuals.permissions.canManageAll));
  var d=z.D({WEa:b},a),d=d||{},e=d.WEa,d=z.y,g=(0,z.M)(""+z.A(z.dm()));c.supportsEdit&&e?(e={},e=e.l,e=""+z.A(z.vl({fi:!0,action:"show-responses-stream-editor",l:z.bi("js-showResponsesStreamEditorButton"+(e?" "+e:"")),s:(0,z.M)(""+z.A(z.gHa()))},c)),e=(0,z.y)(e)):e="";a=""+('\x3cdiv class\x3d"container u-maxWidth740"\x3e\x3cdiv class\x3d"responsesStreamWrapper u-maxWidth640 u-hide js-responsesStreamWrapper"\x3e'+d('\x3cdiv class\x3d"container responsesStream-title u-paddingTop15"\x3e\x3cdiv class\x3d"row"\x3e'+
  z.A(z.MP({title:g,sI:!0,Cg:(0,z.M)(""+e)},c))+"\x3c/div\x3e\x3c/div\x3e")+z.oLa(z.D({Kd:b},a),c)+(b?z.pLa(a,c):"")+z.nLa(c)+"\x3c/div\x3e\x3c/div\x3e");return(0,z.y)(a)},E3a=function(a,b,c){var d=a.l;b="";var e=c.useragent.isMobile&&!c.useragent.isTablet||1<(null==a.meteringInfo.postIds?null:a.meteringInfo.postIds.length),g;g=(0,z.M)(""+(e?"u-bottom15 u-sm-bottom10":"u-backgroundWhite u-boxShadowTop u-borderBottomLightest u-bottom0"));var k;k=(0,z.M)(""+(e?"u-backgroundWhite u-borderLightest u-boxShadow2px10pxBlackLighter u-borderRadius4":
  ""));d='\x3cdiv class\x3d"postMeterBar u-sizeFullWidth u-fixed '+z.E(g)+(d?" "+z.E(d):"")+' js-meterBanner" role\x3d"alert" aria-live\x3d"assertive"\x3e\x3cdiv class\x3d"u-borderBox u-maxWidth1040 u-marginAuto u-paddingTop25 u-paddingBottom25 u-paddingLeft20 u-paddingRight20 '+(e?z.E(k):"")+' u-sm-maxWidth740 u-xs-marginLeft10 u-xs-marginRight10 u-xs-paddingTop15 u-xs-paddingBottom15 u-xs-paddingLeft10 u-xs-paddingRight10"\x3e\x3cdiv class\x3d"u-flexCenter"\x3e\x3cdiv class\x3d"u-flex0 u-flexCenter"\x3e'+
  z.fG(a,c)+'\x3c/div\x3e\x3cdiv class\x3d"u-flex1 u-marginLeft20 u-marginTop8 u-xs-marginLeft10 u-xs-marginTop0"\x3e\x3cdiv class\x3d"'+z.E(z.Lm({eb:"small"}))+' u-xs-hide"\x3e\x3cdiv class\x3d"ui-brand2"\x3e'+z.A(z.LA({location:c.j.Zc.TS,s:(0,z.M)(""+y3a(a,c)),postId:a.post.id,collectionId:a.post.homeCollectionId,authorId:a.post.creatorId,Uf:!0},c))+'\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"'+z.E(z.Lm({eb:"small"}))+' u-xs-show"\x3e\x3cdiv class\x3d"ui-h4"\x3e'+z.A(z.LA({location:c.j.Zc.TS,s:(0,z.M)(""+
  y3a(a,c)),postId:a.post.id,collectionId:a.post.homeCollectionId,authorId:a.post.creatorId,Uf:!0},c))+'\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"u-flex0 u-marginLeft20 u-xs-marginLeft10'+(c.variants.enable_direct_upsell_in_meter||c.variants.enable_direct_upsell_expanded_in_meter?" u-xs-show":"")+' js-expandMeterButton"\x3e';if(c.variants.enable_direct_upsell_expanded_in_meter)g=N7(0,0,c);else{g="";k=""+z.A(z.HO(null));k=(0,z.M)(k);if(c.useragent.isMobile)g+=z.A(z.xl({icon:k,ca:!0,action:"expand-meter"},
  c));else{var l=z.n("Details");g+=z.A(z.xl({text:(0,z.M)(""+l),Ed:!0,icon:k,ca:!0,action:"expand-meter"},c))}g=(0,z.y)(g)}var e=d+g+"\x3c/div\x3e"+(c.variants.enable_direct_upsell_in_meter?'\x3cdiv class\x3d"u-xs-hide js-directUpsell"\x3e'+z.A(z.LA({location:c.j.Zc.SS,Ra:!0,la:!0,dd:!0,dh:!0,postId:a.post.id,collectionId:a.post.homeCollectionId,authorId:a.post.creatorId},c))+"\x3c/div\x3e":"")+'\x3cdiv class\x3d"u-flex0 u-marginLeft40 u-flexCenter u-textColorNormal u-xs-marginLeft10 u-xs-hide js-dismissMeterIndicator"\x3e'+
  (e&&!c.variants.enable_sticky_meter?(0,z.y)('\x3cfigure class\x3d"circleCountdown"\x3e\x3csvg role\x3d"img" xmlns\x3d"http://www.w3.org/2000/svg"\x3e\x3ccircle class\x3d"circleCountdown-fill" cx\x3d"50%" cy\x3d"50%" r\x3d"8px" /\x3e\x3c/svg\x3e\x3c/figure\x3e'):N7(0,0,c))+'\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"postMeterBar-details u-marginLeft137 u-paddingLeft20 u-paddingRight20 '+z.E(z.Lm({eb:"regular"}))+" u-sm-marginLeft137 u-xs-margin0 u-xs-padding0"+(c.variants.enable_direct_upsell_expanded_in_meter?
  " is-visible":"")+' js-moreInfo"\x3e\x3cp class\x3d"ui-body u-marginVertical10 u-xs-paddingTop10 u-xs-borderTopLight"\x3e',p,d="";k=z.n("We’ve built a better place on the internet for readers, not advertisers. This is the last free story in your member preview this month, so upgrade today for more big ideas and insightful stories — all without an ad in sight.");g=a.post.lockedPostSource==c.j.rv.vz;k=(0,z.M)(""+k);if(c.useragent.isMobile)if(g)switch(z.sa(p=a.meteringInfo.postIds.length)?p.toString():
  p){case 0:case 1:p=z.n("Enjoy daily, ad-free selections from The New York Times, The Atlantic, Fast Company, and more for $5/month.");d+=p;break;default:p=z.n("Access dozens of ad-free selections daily from the world’s leading publications for $5/month."),d+=p}else switch(z.sa(p=a.meteringInfo.postIds.length)?p.toString():p){case 0:case 1:p=z.n("Welcome to your free member preview for this month. Upgrade for unlimited access");d+=p;c.isAuthenticated||(p=z.n("sign in"),g=z.n(" or "),d+=g+u3a({text:(0,z.M)(""+
  p),susiEntry:c.j.qa.A5},c));d+=".";break;case 2:p=z.n("You’ve read two of the three stories in your free member preview this month.");d+=p;break;case 3:c.variants.enable_meter_banner_copy_test?d+=z.A(k):(p=z.n("This is the last free story in your member preview this month. Upgrade for unlimited access."),d+=p);break;default:p=z.n("This is the last free story in your member preview this month. Upgrade for unlimited access."),d+=p}else if(g)switch(z.sa(p=a.meteringInfo.postIds.length)?p.toString():
  p){case 0:case 1:p=z.n("Enjoy daily, ad-free selections from The New York Times, The Atlantic, Fast Company, and more, when you upgrade for $5/month.");d+=p;break;case 3:c.variants.enable_meter_banner_copy_test?d+=z.A(k):(p=z.n("Unlock the best of {$productName} when you upgrade for $5/month. Access dozens of ad-free selections daily from the world’s leading publications.",{productName:z.A(c.productName)}),d+=p);break;default:p=z.n("Unlock the best of {$productName} when you upgrade for $5/month. Access dozens of ad-free selections daily from the world’s leading publications.",
  {productName:z.A(c.productName)}),d+=p}else switch(z.sa(p=a.meteringInfo.postIds.length)?p.toString():p){case 0:case 1:p=z.n("Members get unlimited access to the best stories on {$productName} — but you can read three for free each month. Upgrade for $5/month.",{productName:z.A(c.productName)});d+=p;c.isAuthenticated||(p=z.n("Already a member?"),d+='\x3cspan class\x3d"u-block u-marginTop20"\x3e'+p+" "+u3a({text:(0,z.M)("Sign in"),susiEntry:c.j.qa.A5},c)+".\x3c/span\x3e");break;case 3:c.variants.enable_meter_banner_copy_test?
  d+=z.A(k):(p=z.n("Unlock the best of {$productName} when you upgrade for $5/month. Access in-depth, insightful stories from top writers and leading experts.",{productName:z.A(c.productName)}),d+=p);break;default:p=z.n("Unlock the best of {$productName} when you upgrade for $5/month. Access in-depth, insightful stories from top writers and leading experts.",{productName:z.A(c.productName)}),d+=p}d=(0,z.y)(d);b+=e+d+'\x3c/p\x3e\x3cdiv class\x3d"u-marginTop20 u-xs-marginTop15"\x3e'+z.A(z.LA({location:c.j.Zc.SS,
  Ra:!0,la:!0,dd:!0,dh:!0,postId:a.post.id,collectionId:a.post.homeCollectionId,authorId:a.post.creatorId,l:"u-xs-sizeFullWidth"},c))+"\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e";return(0,z.y)(b)},R7=function(a,b,c){z.O.call(this);this.ce=a.get("quotes-data");var d=this.ce.So;d.subscribe("add",this.E$,this);d.subscribe("remove",this.E$,this);this.Ka=b;this.Zd=b.Nl;this.Zl=c;this.Z6=[];this.va=a.get("app");this.pa=a.get("popover");this.V=a.get("route-builder");this.kV=a.get("global-event-bus");
  this.rua=a.get("progressive-media-loader")},G3a=function(a,b,c,d){var e=F3a(a,b);if(e){var g=a.Ka.isPublished(),k=z.Oua(a.Ka);e.DR=g&&k;if(c=z.EH(z.qD(z.pD(z.rD(z.SF(z.sD(a.pa).Ua(z3a,e),z.TF),c),{S0:!0,lI:!0,la:!0}),"popover--quoteAttributions"),d).ba())c.vk("deactivate",function(){this.$o===b&&S7(this,null)},a),c.Mn().O("quote",a.Eoa.bind(a,c)).O("quote-respond",a.Foa.bind(a,c)).O("twitter",a.Goa.bind(a))}},F3a=function(a,b){if("anon"==b.Ta())return{isActive:!1,jBa:!0};var c=T7(a,b),d=b.kd();b=
  b.he();a=p3a(a.ce,c,d,b);if(!a||!a.length)return null;a=(0,z.Gb)(a,function(a){return a.user});c=(0,z.$d)(a,function(a){return a.userId!=z.Lr().userId});return{isActive:(0,z.xd)(a,function(a){return a.userId==z.Lr().userId}),social:c,ii:a.length}},H3a=function(a,b){a=a.Zd.querySelectorAll('.markup--quote[name~\x3d"'+b.Gi()+'"]');return z.ab(a)},T7=function(a,b){b=b.Sb()[0].name;return(b=z.At(a.Zd,b))?a.Ka.Fi(b):null},I3a=function(a,b){var c=z.Vo(b);return(c=z.AF(a.Zl,c))?o3a(a.ce,b,c):null},S7=function(a,
  b){a.$o!==b&&(a.$o&&J3a(a,a.$o,!1),b&&J3a(a,b,!0),a.$o=b)},J3a=function(a,b,c){H3a(a,b).map(function(a){z.ie(a,"is-targeted",c)})},U7=function(a,b){(b=K3a(a,b))&&z.yF(a.Uj(),b)},K3a=function(a,b){var c=b.Sb(),d=z.At(a.Zd,c[0].getName());a=z.At(a.Zd,z.Ra(c).getName());return z.qN(d,b.kd(),a,b.he())},V7=function(a,b,c,d){a={postId:a.Ka.za(),quoteId:b,source:d};z.wy(c?z.Gua:z.oDa,a)},L3a=function(){var a=z.n("Copied");return(0,z.y)(""+a)},M3a=function(a,b,c){b="";var d=z.n("Copy");b+='\x3cdiv class\x3d"u-textAlignLeft u-padding10"\x3e\x3cdiv class\x3d"popover-description"\x3e';
  var e=c.variants.enable_prepublish_flow_2_milestone_2?z.n("This link guarantees anyone free access to your story, even if they’ve read all of their complimentary stories for this month."):z.n("This link gives anyone free access to your story, even if they’ve read all of their complimentary stories for this month.");b+=e;b+=" ";var e="",g=c.variants.enable_prepublish_flow_2_milestone_2?z.n("Learn more"):z.n("Learn more about Friend Links"),e=e+g;b+=z.A(z.N({fb:!0,href:(0,z.L)("https://help.medium.com/hc/en-us/articles/360006543813"),
  source:c.j.Jb.AK,s:(0,z.M)(e)},c));b+='\x3c/div\x3e\x3cdiv class\x3d"u-flex u-borderBottomLighter u-borderBottomWidth2 u-paddingBottom5 u-marginTop20"\x3e\x3cinput class\x3d"u-textColorNormal u-textInput u-border0 u-lineHeightBase u-sizeFullWidth u-marginLeft0 u-marginRight16 js-friendLinkUrl" value\x3d"'+z.E(z.Vta(a,c))+'" disabled\x3d"disabled"/\x3e'+z.A(z.vl({action:"copy-community-link",s:(0,z.M)(""+d),isPrimary:!0,ca:!0,l:"js-friendLinkCopyButton"},c))+"\x3c/div\x3e\x3c/div\x3e";return(0,z.y)(b)},
  N3a=function(a){return(0,z.$d)(z.wC(a),function(a){return 1==z.tC(a)})},O3a=function(a,b){z.vC(a,z.uC,z.bc(b,z.Yb(!0)),void 0)},P3a=function(a,b,c){z.pa(a)||(a=a.toString());var d=window,e={scrollbars:!0,jEa:!0,toolbar:!1,location:!0,width:670,height:690};z.Cb(e,c||{});e.left||e.top||(e.width=(0,window.parseInt)(e.width,10),e.height=(0,window.parseInt)(e.height,10),e.left=Math.max(d.screenX+Math.round(d.outerWidth/2-e.width/2),0),e.top=Math.max(d.screenY+Math.round(d.outerHeight/2-e.height/2),0));
  var g={scrollbars:"scrollbars",jEa:"resizable",toolbar:"toolbar",location:"location",width:"width",height:"height",left:"left",top:"top"};c=z.Kga(e,function(a,b,c){g[c]&&("boolean"==typeof b&&(b=b?"yes":"no"),a.push(g[c]+"\x3d"+b));return a},[]).join();return d.open(a,b,c)},Q3a=function(a){var b=z.Ww(z.ewa,{gCa:!0});b&&(b=b.split(/\s+/),b=b.filter(function(a){return!z.Ca(a)}),b.length&&z.Yd(a,b))},R3a=function(a){return(0,z.y)(z.A(z.cm(String(a.content)))+" — "+z.A(z.ot(a))+" "+z.A(a.url))},S3a=function(a,
  b,c){return(0,z.ej)("https://"+z.ki(c.textshotHost)+"/image")},T3a=function(a,b,c){return(0,z.ej)("https://twitter.com/"+z.ki(c.currentUser.twitterScreenName)+"/status/"+z.ki(a.id))},U3a=function(){var a=z.y,b;b=z.n("Failed to load image");b=(0,z.y)(""+b);return a('\x3cspan class\x3d"tweetEditor-imageStatusIcon"\x3e\x26times;\x3c/span\x3e'+z.A(b))},V3a=function(a,b,c){b=z.y;a='\x3cdiv class\x3d"tweetEditor u-sizeFullWidth"\x3e\x3cdiv class\x3d"js-tweetEditor-error tweetEditor-error u-paddingBottom10 u-textAlignCenter u-textColorRed"\x3e\x3c/div\x3e\x3cdiv class\x3d"tweetEditor-avatar"\x3e'+
  z.A(z.sm({user:a.user,nf:!0},c))+'\x3c/div\x3e\x3cdiv class\x3d"tweetEditor-tweetContainer"\x3e\x3cdiv class\x3d"tweetEditor-textContainer"\x3e\x3cdiv class\x3d"js-tweetEditor-text textInput textInput--chromeless u-textAlignLeft"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"tweetEditor-textshot"\x3e\x3cdiv class\x3d"js-tweetEditor-imageStatus tweetEditor-imageStatus"\x3e';var d;d=z.n("Loading image attachment…");d=(0,z.y)(""+d);a=a+z.A(d)+"\x3c/div\x3e";d={};d=(0,z.y)(z.Ok(z.D({name:"addCircled",
  size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" viewBox\x3d"0 0 21 21" \x3e\x3cpath d\x3d"M2.286 12.691a8.358 8.358 0 0 0 2.192 3.831A8.298 8.298 0 0 0 8.3 18.715c.73.19 1.462.288 2.192.29a8.363 8.363 0 0 0 2.2-.29 8.286 8.286 0 0 0 3.822-2.193 8.264 8.264 0 0 0 2.201-3.82c.19-.732.285-1.462.285-2.193a8.248 8.248 0 0 0-.285-2.2 8.265 8.265 0 0 0-2.2-3.823 8.258 8.258 0 0 0-3.822-2.2A8.66 8.66 0 0 0 10.5 2a8.188 8.188 0 0 0-2.192.286 8.33 8.33 0 0 0-3.831 2.2 8.298 8.298 0 0 0-2.193 3.822A8.66 8.66 0 0 0 2 10.5c0 .731.095 1.461.286 2.191zm1.557-.413a6.74 6.74 0 0 1-.239-1.773c0-.592.08-1.184.24-1.773a6.77 6.77 0 0 1 1.786-3.09 6.73 6.73 0 0 1 3.085-1.79c.59-.16 1.181-.24 1.777-.24.596 0 1.188.08 1.777.24a6.736 6.736 0 0 1 3.094 1.786 6.801 6.801 0 0 1 1.787 3.094c.16.59.239 1.178.239 1.768 0 .59-.08 1.182-.24 1.778a6.75 6.75 0 0 1-1.786 3.093 6.801 6.801 0 0 1-3.094 1.787 6.707 6.707 0 0 1-3.545 0A6.74 6.74 0 0 1 5.63 15.37a6.746 6.746 0 0 1-1.787-3.093zm2.937-2.055c0-.134.049-.25.148-.345a.494.494 0 0 1 .359-.143H9.23a.478.478 0 0 0 .35-.148.475.475 0 0 0 .147-.35V7.303c0-.141.048-.262.144-.363a.458.458 0 0 1 .345-.152h.562c.134 0 .25.05.35.152a.502.502 0 0 1 .147.363v1.934c0 .135.048.252.143.35a.46.46 0 0 0 .345.148h1.945c.14 0 .26.048.358.143.099.096.148.21.148.345v.562a.476.476 0 0 1-.148.35.486.486 0 0 1-.358.147h-1.945a.472.472 0 0 0-.345.143.47.47 0 0 0-.143.345v1.944c0 .14-.05.262-.148.36a.478.478 0 0 1-.35.147h-.56a.498.498 0 0 1-.489-.507V11.77a.461.461 0 0 0-.148-.345.487.487 0 0 0-.35-.143H7.287a.488.488 0 0 1-.36-.147.476.476 0 0 1-.147-.35v-.562z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},
  d)));d=(0,z.M)(""+z.A(d));var e;e=z.n("Include quote image");e=(0,z.y)(""+e);a=a+z.A(z.xl({icon:d,isPrimary:!0,ca:!0,l:"js-tweetEditor-addTextshot u-hide",action:"add-textshot",text:(0,z.M)(""+z.A(e))},c))+'\x3cdiv class\x3d"js-tweetEditor-imageContainer tweetEditor-imageContainer"\x3e';d=(0,z.M)("\x26times;");e=z.n("Remove quote image from tweet");e=(0,z.y)(""+e);return b(a+z.A(z.vl({s:d,Wc:!0,l:"js-tweetEditor-removeTextshot tweetEditor-removeTextshot",title:(0,z.M)(""+z.A(e)),action:"remove-textshot"},
  c))+'\x3cimg class\x3d"js-tweetEditor-image tweetEditor-image" data-action\x3d"toggle-expand-image"\x3e\x3c/img\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'+(c.variants.textshots_userid?'\x3cdiv class\x3d"u-textColorRed"\x3eTweet to test account @fuzzyoctopusfee\x3c/div\x3e':""))},W3a=function(){var a=z.n("An error occurred, and the tweet wasn’t posted to Twitter.");return(0,z.y)(""+a)},X3a=function(a,b,c){var d="";b=z.n("Tweet posted.");a=a.yFa;var e;e=z.n("View the tweet");e=(0,z.y)(""+
  e);d+=b+" "+z.A(z.N({fb:!0,href:a,s:(0,z.M)(""+e)},c));return(0,z.y)(d)},Y3a=function(a,b,c){a=z.n("Tweet must be {$twitterMaxTweetLength} characters or less.",{twitterMaxTweetLength:z.A(c.j.zFa)});return(0,z.y)(""+a)},Z3a=function(a){if(!a)return"";var b=[],c=z.Ab(["grafId","noteId","command","startIndex","endIndex"]),d;for(d in a)b[c[d]]=a[d];return b.join("-")},$3a=function(a,b){return a instanceof z.id?z.t(a.yc(!0),b,void 0):z.t(z.Hd(a),b,void 0)},W7=function(a){z.Ux.call(this);this.ic=a.get("dom-model-converter");
  this.t9={};this.k8={};this.pX={};this.W=a;this.Uk=a.get("request");this.V=a.get("route-builder");this.ia=a.get("model-store");this.$a="";this.X9=z.yn;this.W6=!1;this.ih=null},X7=function(a,b){var c=a.t9[b];c||(c=a.t9[b]=new z.ND,a.fa("new_note_list",c,a));return c},a4a=function(a,b){if(!b)return!1;var c=b.ra();if(a.content==c.substring(a.startIndex,a.endIndex))return!0;var d=new RegExp(z.Ha(a.content),"gi"),c=(b=d.exec(c))&&d.exec(c);return b&&!c?(c=a.endIndex-a.startIndex,a.startIndex=b.index,a.endIndex=
  b.index+c,a.content=b[0],!0):!1},Y7=function(a,b,c){var d=b.za(),e=b.ig(),g=X7(a,b.ge()),k=g?g.indexOf(b):-1,l=b.su();b.$p(c);"HIDDEN"==c?a.ia.remove(b):b=z.nD(a.ia,b);var p=g?g.indexOf(b):-1;return{$k:a.Uk.put(a.V.R(z.eBa,{postId:d,noteId:e}),{state:c}),RI:function(){b.$p(l);-1==p&&(-1==k?g.add(b):z.PD(g,b,k))}}},Z7=function(a,b,c,d,e,g){var k=z.I(a.tp(c,e),"replies"),l=z.Sa(k,function(a){return a.Rx()==b}),p=k[l];"HIDDEN"==g&&z.Xa(k,l);c=a.V.R(z.hBa,{postId:d,noteId:c,replyId:b});a=a.Uk.put(c,{state:g});
  var r=z.Sa(k,function(a){return a.Rx()==b});return{$k:a,RI:function(){-1==r&&z.eb(k,l,0,p)}}},b4a=function(a,b,c){this.range=a;this.anchor=b;this.uB=b.getAttribute("name");this.highlight=c},$7=function(a,b){z.O.call(this);this.Pa=a.get("screen-request");this.eva=b;this.LT=[];this.Jv=null;this.jn={};this.OX=!1;this.saa=null},a8=function(a,b,c){z.O.call(this);this.ya=a.get("screen");this.nh=c;this.Ha(b)},b8=function(a,b){z.O.call(this);this.jb=a.get("dom-monitor");this.nb=a.get("element-tracker");this.pa=
  a.get("popover");this.ya=a.get("screen");this.Gv=z.SC(a.get("activity-monitor"),1E4);this.At=a.get("placements-store");this.Ka=b;this.uF=!1},c4a=function(a){var b=a.query(".js-postActionsFooter");return b?(a=z.KC(a.nb),0>z.ux(b).top-a.height):!1},d4a=function(a){var b=a.query(".js-readNextMetabarRight");a.At&&b&&z.t(a.At.zr(2),function(a){a&&z.Vw(b,z.LQ,{items:a.items,context:2})})},c8=function(a,b,c,d){z.O.call(this);this.ya=a.get("screen");this.Ro=c;this.nh=d;this.wM=!1;this.Z=this.Iv=this.PA=this.O9=
  null;this.Ha(b)},e4a=function(a){return Math.floor((l3a(a)-a)/1E3)},d8=function(a,b,c){z.O.call(this);this.ya=a.get("screen");this.EX=this.Ro=null;this.Z=b;this.Ka=c;this.X=a.get("request");this.af=null;this.V=a.get("route-builder")},g4a=function(a){if(f4a(a)){var b=a.V.R(z.bya),c=a.Z.id,d=Date.now(),e=z.I(z.Kn,"meterConfig").maxUnlockCount,g=z.rE.get("mpids")?z.rE.get("mpids").split(","):[];g&&!z.Va(g,c)&&g.length<e&&(g.push(c),z.rE.set("mpids",g.join(","),e4a(d),"/"));return a.X.put(b,{postIds:g})}return z.Hd({})},
  f4a=function(a){var b=z.Lr();return a.Z&&a.Z.isSubscriptionLocked&&!z.wm(b)&&a.Z.creatorId!=b.userId&&!(a.Z&&3==a.Z.lockedPostSource&&!z.Mr())&&!a.af},e8=function(a,b){z.O.call(this);this.af=null;this.pa=a.get("popover");this.Z=b;this.X=a.get("request");this.ya=a.get("screen");this.W=a},f8=function(a){z.O.call(this);this.At=a.get("placements-store")},h4a=function(a){a.At&&z.t(a.At.zr(1),function(b){b&&z.Vw(a.U(),z.LQ,{items:b.items,context:9})})},g8=function(a){z.O.call(this);this.nb=a.get("element-tracker");
  this.SN=this.Bt=null;this.RF=[];this.$q=0;this.kZ=i4a;this.BU=this.CU=null},h8=function(a){z.O.call(this);this.At=a.get("placements-store");this.nb=a.get("element-tracker");this.Bt=null;this.RF=[];this.$q=this.HN=null},j4a=function(a){a.At&&z.t(z.t(a.At.zr(3),function(b){if(b)return z.Vw(a.U(),z.LQ,{items:b.items,context:44}),z.Wx(a,a.nb,"refresh",a.Saa.bind(a)),a.nb.hk()}),a.Saa,a)},k4a=function(a){var b=z.GC(a.nb,a.Bt),c=z.bC(b)+b.Be()/3,b=N3a(a.Bt).map(function(b){return[b,z.GC(a.nb,b)]}).filter(function(a){a=
  z.ja(a);var b=a.next().value;return z.bC(a.next().value)<c&&!z.Tt(z.CC(b))}),d=a.HN.Sc();return(b=b.map(function(a){var b=z.ja(a);a=b.next().value;var c=b.next().value,b=d.clone(),c=z.bC(c);a=z.qp(a).top||0;b.top=c+a;return b}).find(function(b){return!a.jW(b)}))?b.top:null},i8=function(a,b){z.O.call(this);this.W=a;this.nb=a.get("element-tracker");this.Ka=b;this.AX=this.Ka.Nl;this.GX=this.uN=this.sN=null},j8=function(){},l4a=function(a){this.bN=a},k8=function(a,b){return b?z.At(a.bN,b):null},m4a=function(a,
  b,c){O3a(a.bN,function(a){var e=a.getAttribute("name");e&&b.call(c,a,e)})},n4a=function(a,b){return z.zh(a.bN,b)?a.bN:null},l8=function(a,b,c,d,e){z.lX.call(this,a,b);this.Ia(new z.EW(c));this.Ia(new z.zX(!1));this.Ia(new z.CX(a));this.Ia(new z.mX);this.Ia(new z.FX(a,!1,!1));this.Ia(new z.FU(d,!0));this.Pk=!0;this.Yl=d;this.Uk=a.get("request");this.na=a.get("dialog");this.VW=e;this.ba()},o4a=function(){var a=z.n("Saving failed. You may be having connectivity issues or notes might be disabled on this post. Please try again.");
  return(0,z.y)(""+a)},p4a=function(){var a=z.n("Yikes! Something happened and we couldn’t dismiss this note.");return(0,z.y)(""+a)},q4a=function(){var a=z.n("Yikes! Something happened and we couldn’t delete this note.");return(0,z.y)(""+a)},r4a=function(){var a=z.n("Yikes! Something happened and we couldn’t delete this reply.");return(0,z.y)(""+a)},s4a=function(){var a=z.n("The note has been dismissed.");return(0,z.y)(""+a)},t4a=function(){var a=z.n("The note has been deleted.");return(0,z.y)(""+a)},
  u4a=function(){var a=z.n("The reply has been deleted.");return(0,z.y)(""+a)},v4a=function(){var a=z.n("Write a note…");return(0,z.y)(""+a)},w4a=function(){var a=z.n("Cancel");return(0,z.y)(""+a)},m8=function(a,b,c,d,e){l8.call(this,a,b,e||"Leave a note",400,d||null);this.$a=c;this.V=a.get("route-builder");this.bf=a.get("notes-data")},n8=function(a,b,c,d,e,g){l8.call(this,a,b,"Leave a reply…",200,d);this.V=a.get("route-builder");this.bf=a.get("notes-data");this.$a=c;this.A$=g||null;this.xe=e},y4a=
  function(a,b,c){var d='\x3cdiv class\x3d"quoteResponses js-quoteResponses"\x3e',e=a.quotes.length,g=a.responses.length||a.c4;b=a.notes.length||a.AR;if(e||g||b){if(e){var e='\x3cdiv class\x3d"quoteResponses-section"\x3e'+z.A(z.GA({title:(0,z.M)(z.A(C3a())+" ("+z.A(a.quotes.length)+")"),Tf:!0},c)),k;k={Kfa:a.quotes,WFa:!0};var l='\x3cdiv class\x3d"js-quotesList"\x3e';if(!k.WFa)var p=z.n("Learn more"),l=l+z.A(z.GA({title:(0,z.M)(""+z.A(C3a())),Tf:!0,Cg:(0,z.M)(""+z.A(z.FA({href:(0,z.L)(""+z.F((0,z.ej)("https://medium.com/the-story/introducing-highlights-a4df69e8ed43"))),
  moreText:(0,z.M)(""+p),lb:!0},c)))},c));for(var p="list u-marginTop5 u-marginBottom15"+(k.Kfa.length?"":" u-hide"),p=(0,z.M)(p),l=l+('\x3cul class\x3d"'+z.E(p)+'"\x3e'),p=k.Kfa,r=p.length,u=0;u<r;u++){for(var w=p[u],C="",H=w.quotes,R=H.length,S=0;S<R;S++)C+=""+H[S].quoteId+(S!=R-1?",":"");C=z.bi(C);l+='\x3cli class\x3d"list-item list-item--inline u-border0" data-quote-ids\x3d"'+z.E(C)+'" data-quote-creator-id\x3d"'+z.E(w.user.userId)+'" data-action\x3d"highlight-quote" data-action-type\x3d"hover"\x3e'+
  z.A(z.qm(z.D({user:w.user,Ge:!0},k),c))+"\x3c/li\x3e"}k=(0,z.y)(l+"\x3c/ul\x3e\x3c/div\x3e");e=e+z.A(k)+"\x3c/div\x3e"}else e="";g?(g='\x3cdiv class\x3d"quoteResponses-section'+(a.c4?" is-withEditor":"")+'"\x3e'+z.A(z.GA({title:(0,z.M)(""+z.A(z.dm())),Tf:!0},c)),a.c4&&c.supportsEdit&&c.isAuthenticated?(k={},k=(0,z.y)('\x3cdiv class\x3d"js-inlineNewPostControl inlineNewPostControl inlineNewPostControl--quoteResponses"\x3e'+z.gQ(z.D({user:c.currentUser,isCollapsed:!0,qC:!0,type:"quoteResponses",Pu:(0,z.M)(""+
  z.A(z.xea()))},k),c)+"\x3c/div\x3e"),k=z.A(k)):k="",g=g+k+x4a(a,0,c)+"\x3c/div\x3e"):g="";d+=e+g;if(a.nDa&&b){g=z.n("Who can see this?");d+='\x3cdiv class\x3d"quoteResponses-section quoteResponses-section--fullBleed u-paddingLeft0 u-paddingRight0"\x3e';e=b="";k=a.post.homeCollection;k=a.post.creator.userId!=c.currentUser.userId?k?z.n("Private notes are visible to you, the author, and the editors of {$name}.",{name:z.A(k.name)}):z.n("Private notes are visible to you, the author, and the editors of any publication this story is added to."):
  k?z.n("Private notes are visible to you and the editors of {$name}.",{name:z.A(k.name)}):z.n("Private notes are visible to you and the editors of any publication this story is added to.");e+=k;e=(0,z.y)(e);e=""+z.A(e);e=(0,z.M)(e);b+='\x3cspan data-tooltip\x3d"'+z.E(e)+'"\x3e'+g+"\x3c/span\x3e";g={};g=(0,z.y)(z.Ok(z.D({name:"lock",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" viewBox\x3d"0 0 19 19" \x3e\x3cpath d\x3d"M14 14.052a1 1 0 0 1-.992.998H5.992A.99.99 0 0 1 5 14.052v-4.004a1 1 0 0 1 .992-.998h7.016a.99.99 0 0 1 .992.998v4.004zM7 5.445C7 4.187 8.114 3.15 9.5 3.15c1.385 0 2.5 1.04 2.5 2.295V8.05H7V5.445zm6.008 2.605H13V5.445c0-1.822-1.578-3.295-3.5-3.295C7.577 2.15 6 3.618 6 5.445V8.05h-.008A2 2 0 0 0 4 10.048v4.004a1.99 1.99 0 0 0 1.992 1.998h7.016A2 2 0 0 0 15 14.052v-4.004a1.99 1.99 0 0 0-1.992-1.998z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},
  g)));g=(0,z.M)(""+z.A(g));e=z.n("Private notes");e=(0,z.y)(""+e);b={sFa:g,title:(0,z.M)(""+z.A(e)),Tf:!0,Cg:(0,z.M)(b),l:"heading--privateNotes"};b=(0,z.y)(z.DA(z.D({yi:(0,z.M)(""+z.EA(b,c)),aCa:!0},b)));b=d+=z.A(b);d=""+('\x3cdiv class\x3d"privateNotes-list js-notesList'+(a.AR?" is-showingNoteEditor":"")+(0==a.notes.length?" is-empty":"")+'"\x3e');g=a.notes;e=g.length;for(k=0;k<e;k++)d+=o8({note:g[k],post:a.post,sJ:a.sJ},0,c);a.AR?(g=a.post.creator,a="",g=c.currentUser.userId==g.userId?z.n("Leave yourself a note"):
  z.n("Send {$name} a private note…",{name:z.A(g.name)}),a+=g,a=(0,z.y)(a),a='\x3cdiv class\x3d"privateNotes-actions js-noteActions"\x3e'+z.A(z.wl({action:"show-note-editor",text:(0,z.M)(""+z.A(a)),l:"privateNotes-prompt"},0,c)),g=z.y,e='\x3cdiv class\x3d"privateNotes-editor"\x3e'+z.A(z.rm({user:c.currentUser,nf:!0},c))+'\x3cdiv class\x3d"js-noteEditor"\x3e\x3c/div\x3e\x3cdiv class\x3d"buttonSet"\x3e',k=z.n("Send"),k=(0,z.y)(""+k),c=g(e+z.A(z.wl({action:"save-note",isPrimary:!0,l:"js-saveNoteButton",
  text:(0,z.M)(""+z.A(k))},0,c))+z.A(z.wl({action:"hide-note-editor",text:(0,z.M)(""+z.A(w4a()))},0,c))+"\x3c/div\x3e\x3c/div\x3e"),c=a+c+"\x3c/div\x3e"):c="";c=(0,z.y)(d+("\x3c/div\x3e"+c));d=b+('\x3cdiv class\x3d"quoteResponses-inner privateNotes"\x3e'+c+"\x3c/div\x3e\x3c/div\x3e")}}else 0<a.lD&&(a=z.n("Show next tip"),b=z.n("Show previous tip"),d+='\x3cdiv class\x3d"quoteResponses-section quoteResponses-section--fullBleed quoteResponses-section--tips u-textAlignCenter u-paddingLeft0 u-paddingRight0"\x3e\x3cdiv class\x3d"quoteResponses-section--tipsInner u-alignMiddle"\x3e'+
  z.A(z.xl({sb:!0,Wc:!0,ca:!0,action:"previous-highlight-tip",icon:(0,z.M)(""+z.A(z.ida())),title:(0,z.M)(""+b)},c))+"\x3cdiv class\x3d'u-alignBlock quoteResponses-section--tipsContent u-paddingLeft20 u-paddingRight20 js-highlightTip'\x3e\x3c/div\x3e"+z.A(z.xl({sb:!0,Wc:!0,ca:!0,action:"next-highlight-tip",icon:(0,z.M)(""+z.A(z.jda())),title:(0,z.M)(""+a)},c))+"\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e");return(0,z.y)(d+"\x3c/div\x3e")},x4a=function(a,b,c){return(0,z.y)(z.A(z.PQ({posts:a.responses,source:"quoteResponses",
  bQ:!0},0,c)))},o8=function(a,b,c){var d,e=null==a.note.replies?null:a.note.replies.length,g=null==a.note.replyId,k=a.post.creator.userId==c.currentUser.userId,l=a.post.creator.userId==a.note.author.userId;d=a.note.author.userId==c.currentUser.userId;b=k||(null==a.post.homeCollection?null:a.post.homeCollection.virtuals.permissions.canEditPosts);var p=""+(g?"js-note-item"+(a.note.noteId?" js-note-"+a.note.noteId:""):"js-reply-item"+(a.note.replyId?" js-reply-"+a.note.replyId:"")),p=z.bi(p),p='\x3cdiv class\x3d"privateNotes-item '+
  z.E(p)+' js-note" data-note-id\x3d"'+z.E(a.note.noteId)+'"\x3e'+(g?z.A(z.qm({user:a.note.author},c)):z.A(z.rO({user:a.note.author},c)))+'\x3cdiv class\x3d"privateNotes-authorLockup"\x3e\x3cdiv class\x3d"privateNotes-author"\x3e'+z.A(z.Pl({user:a.note.author},c));g||!(k||d||(null==a.post.homeCollection?0:a.post.homeCollection.virtuals.permissions.canEditPosts))||l||a.lea?k="":(k=z.n("(Editor)"),k=(0,z.y)(""+k),k='\x3cspan class\x3d"privateNotes-author--supplemental"\x3e '+z.A(k)+"\x3c/span\x3e");p=
  p+k+'\x3c/div\x3e\x3cdiv class\x3d"privateNotes-supplemental"\x3e'+z.A(z.Ai(Number(a.note.createdAt),c))+'\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"privateNotes-content js-privateNotesContent"\x3e';k=z.A(z.Cv(String(a.note.content),c));l=String(k).replace(/(\r\n|\r|\n)/g,"\x3cbr\x3e");k=z.Gh(k,z.Ih)?(0,z.y)(l,z.uba(k)):l;d=""+(p+k+"\x3c/div\x3e"+(d?z4a({note:a.note,isPrimary:g},c):""));if(g){d+='\x3cdiv class\x3d"privateNotes-replies'+(e?"":" is-empty")+' js-repliesList"\x3e';if(e)for(e=a.note.replies,
  g=e.length,p=0;p<g;p++)k=e[p],d+=o8({note:k,post:a.post,lea:a.note.author.userId==k.author.userId},0,c);e=d;a.sJ?(g=z.y,d='\x3cdiv class\x3d"privateNotes-editor privateNotes-editor--reply"\x3e'+z.A(z.VQ({user:c.currentUser,nf:!0},c))+'\x3cdiv class\x3d"js-replyEditor"\x3e\x3c/div\x3e\x3cdiv class\x3d"buttonSet"\x3e',p=z.n("Send"),p=(0,z.y)(""+p),g=g(d+z.A(z.wl({action:"save-reply",isPrimary:!0,text:(0,z.M)(""+z.A(p))},0,c))+z.A(z.wl({action:"hide-reply-editor",text:(0,z.M)(""+z.A(w4a()))},0,c))+"\x3c/div\x3e\x3c/div\x3e")):
  g="";g="\x3c/div\x3e"+g+'\x3cdiv class\x3d"privateNotes-actions'+(b?" privateNotes-actions--withDismiss":"")+' u-clearfix"\x3e';a.sJ?(d=z.y,p=z.n("Reply"),p=(0,z.y)(""+p),d='\x3cdiv class\x3d"u-floatLeft"\x3e'+d(z.A(z.wl({isPrimary:!0,action:"show-reply-editor",l:"privateNotes-prompt",text:(0,z.M)(""+z.A(p))},0,c)))+"\x3c/div\x3e"):d="";d=e+(g+d+(b?'\x3cdiv class\x3d"u-floatRight"\x3e'+z4a({note:a.note,isPrimary:!0,Sda:!0},c)+"\x3c/div\x3e":"")+"\x3c/div\x3e")}return(0,z.y)(d+"\x3c/div\x3e")},z4a=
  function(a,b){var c=z.y,d=a.isPrimary?a.note.noteId:a.note.replyId,e=a.Sda?"dismiss-note":a.isPrimary?"delete-note":"delete-reply";a=a.Sda?z.n("Dismiss note"):z.n("Delete");a=(0,z.y)(""+a);a=z.A(a);return c(z.A(z.wl({actionValue:d,action:e,l:"privateNotes-delete js-deleteNote",text:(0,z.M)(""+a)},0,b)))},A4a=function(a,b,c){b="";if(0==a.P3)a=1==a.lD?z.n("People highlighted this passage. You can click on an existing highlight to add to it, like below:"):z.n("{$topQuoteCount} people highlighted this passage. You can click on an existing highlight to add to it, like below:",
  {topQuoteCount:z.A(a.lD)}),b+=a,b+='\x3cimg class\x3d"quoteResponses-tipAnimation" src\x3d"'+z.E(z.ni(z.pk({imageId:"1*SyXCciYXeNpx4-GUAuh0XQ.gif"},0,c)))+'"\x3e';else if(1==a.P3)a=z.n("Or, select any passage to create your own highlight and tell the author and others what resonated with you:"),b+=a+'\x3cimg class\x3d"quoteResponses-tipAnimation" src\x3d"'+z.E(z.ni(z.pk({imageId:"1*dEp02HXMKtAeKxsV5MWqGg.gif"},0,c)))+'"\x3e';else if(2==a.P3){a=z.n("so that you can save your highlights and share them with others.");
  var d=z.n("Sign up and create a profile");b+=z.A(z.wl({text:(0,z.M)(""+d),Pb:!0,source:(0,z.M)(""+z.A(z.ij({name:c.j.Jb.Bia,susiEntry:c.j.qa.HD}))),l:"u-textUnderline"},0,c))+" "+a}return(0,z.y)(b)},p8=function(a,b,c,d,e,g,k,l){z.O.call(this);this.W=a;this.ha=a.get("butter-bar");this.Ka=b;this.xe=c;this.Gj=e;this.ce=a.get("quotes-data");this.bf=a.get("notes-data");this.$i=a.get("responses-data");this.Re=g;this.VW=d;this.UX=(this.rG=k)?k.Gi():null;this.sf=this.Hc=null;this.Ij={};this.w8=!!z.Mr();this.x8=
  !!z.Or();this.wA=this.w8&&this.x8&&z.KF(b);this.Dq=null;this.iM=0;this.Haa=q3a(this.ce,this.xe);this.nw=l;this.Ha(this.uq());this.x9=z.Mr()?2:3},B4a=function(a){a.Ya(".js-block").forEach(function(a){this.Ea(a,"mouseenter",this.ipa,this);this.Ea(a,"mouseleave",this.lZ,this)},a)},C4a=function(a){a.Ya(".js-note").forEach(function(a){this.Ea(a,"mouseenter",this.gpa,this);this.Ea(a,"mouseleave",this.lZ,this)},a)},D4a=function(a,b){var c=a.query(".js-note-"+b);a.Ij[b]||(a.Ij[b]=new n8(a.W,c.querySelector(".js-replyEditor"),
  a.Ka.za(),b,a.xe),z.Wx(a,a.Ij[b],"saving",a.Gsa,a),z.Wx(a,a.Ij[b],"save",a.Bsa,a),z.Wx(a,a.Ij[b],"fail",a.zra,a));z.Xd(c,"is-noteEditorVisible");a.Ij[b].focus()},E4a=function(a,b){var c=a.Ij[b];c&&(c.bb()&&c.Ec(""),a=a.query(".js-note-"+b),z.ae(a,"is-noteEditorVisible"))},F4a=function(a,b,c){var d=k8(a.Re,a.xe);if(d){var e=[];a.nw&&(e=a.nw.quotes.map(function(a){return a.Gi()}));(0,z.Gb)(d.querySelectorAll(".markup--quote"),function(a){var d=a.getAttribute("data-creator-ids").split(" "),d=z.Va(d,
  b);if(this.nw)var l=a.getAttribute("name").split(" "),d=d&&(0,z.xd)(l,z.Va.bind(null,e));z.ie(a,"is-selected",c&&d)},a)}},q8=function(a){return(a=z.xt(a,function(a){return z.Ud(a,"js-note-item")}))&&a.getAttribute("data-note-id")},G4a=function(a,b,c,d){b=new z.qF(b,300);b.Ha(c);b.subscribe("dismiss",d,a);b.ba();return b},r8=function(a){var b=a.Sb(),c=a.kd();a=a.he();1<b.length&&(a=b[0].ra().length);var d=new z.oy;d.Vp(b[0].getName());d.qg(c);z.J(d,"endIndex",a);d.Ec(b[0].ra().substring(c,a));return d},
  s8=function(a,b){b%=a.x9;0>b&&(b=a.x9-1);a.iM=b;(b=a.query(".js-highlightTip"))&&z.Vw(b,A4a,{P3:a.iM,lD:a.Haa})},t8=function(a,b,c,d){z.O.call(this);this.Ha(this.uq(d));this.jb=a.get("dom-monitor");this.Ka=b;this.C8=!b.Ja().xr()||b.Gb();this.$a=b.za();this.Re=c;this.ce=a.get("quotes-data");this.$i=a.get("responses-data");this.bf=a.get("notes-data");this.Sv=null;this.mh={}},H4a=function(a,b){b.forEach(function(a){a&&u8(this,a)},a)},u8=function(a,b){if(!a.Sv)if(k8(a.Re,b)){var c=I4a(a,b),c=J4a(a,c),
  c=K4a(a,c),c=L4a(a,c);a.mh[b]=c;M4a(a,b)}else delete a.mh[b]},N4a=function(a,b){if(!a.Sv){var c=a.mh[b];if(c){var d=c.length,c=K4a(a,c),c=L4a(a,c);a.mh[b]=c;d!=c.length?M4a(a,b):c.forEach(function(a){a.Na&&a.offsetTop&&(a.Na.style.top=a.offsetTop+"px")})}}},O4a=function(a,b,c){return z.Ta(a.mh[b]||[],function(a){return a.Na==c})},I4a=function(a,b){var c=[];X7(a.bf,b).Dg(function(a){var e=a.RB(),g;e?(g=this.bf.DP(e),e=g.Oa(),g=z.I(g,"endIndex")):(e=0,g=a.bb().length);c.push({anchor:b,startIndex:e,
  endIndex:g,notes:[a],quotes:[],responses:[]})},a);if(a.C8)return c;(a.ce.Ft[b]||[]).forEach(function(a){var e=P4a(a);c.push({anchor:b,startIndex:e.startIndex,endIndex:e.endIndex,notes:[],quotes:[a],responses:[]})},a);K7(a.$i,b).forEach(function(a){var e=I7(a);e&&(e=J7(e)&&J7(e).Ln())&&(e=P4a(e),c.push({anchor:b,startIndex:e.startIndex,endIndex:e.endIndex,notes:[],quotes:[],responses:[a]}))},a);return c},J4a=function(a,b){var c=[];b.sort(function(a,b){return a.startIndex-b.startIndex});b.forEach(function(a){var b=
  z.Sa(c,function(b){return b.endIndex>=a.startIndex-1&&b.startIndex<=a.endIndex+1});0<=b?this.MF(c[b],a):c.push(a)},a);return c},L4a=function(a,b){var c=[];b.forEach(function(a){if(a.offsetTop){var b=z.Sa(c,function(b){return 30>=Math.abs(b.offsetTop-a.offsetTop)});0<=b?this.MF(c[b],a):c.push(a)}},a);return c},M4a=function(a,b){a.Ya(".js-paragraphControl-"+b).forEach(z.oh);a.mh[b]=a.mh[b].map(function(a){var b=Q4a(this,a),b=z.Xw(R4a,b);b.style.top=a.offsetTop+"px";a.Na=b;this.U().appendChild(a.Na);
  z.Xd(b,"is-visible");return a},a)},Q4a=function(a,b){var c=b.notes,d=b.responses,e=E7(a.ce,b.quotes),g=d?d.length:0,k=c?c.length:0,l=0,p=0,r=0,u=!1,w=!1,C={},H={},R=z.Lr().userId,S=a.Ka.Ja().te().Ta();c.forEach(function(a){var b=a.EH();b&&((a=z.I(a,"replies"))&&a.forEach(function(a){k++;a.author&&(a.author.userId==R&&l++,a.author.social&&a.author.social.isFollowing&&(C[a.author.userId]=a.author),H[a.author.userId]=!0)}),H[b.userId]=!0,b.userId==R&&l++,b.userId==S?p++:r++,b.social&&b.social.isFollowing&&
  (C[b.userId]=b))});e.forEach(function(a){a=a.user;H[a.userId]=!0;a.userId==R&&(u=!0);a.social&&a.social.isFollowing&&(C[a.userId]=a)});d.forEach(function(a){a=a.te();H[a.userId]=!0;a.userId==R&&(w=!0);a.social&&a.social.isFollowing&&(C[a.userId]=a)});c=b.quotes.filter(function(a){return"anon"==a.Ta()});return{postId:a.$a,uB:b.anchor,kDa:k,kEa:g,By:w,sy:l,efa:p,mDa:r,YXa:e.length,Ay:u,Hda:Object.keys(H).length,bBa:z.qb(C),lD:c.length}},P4a=function(a){var b=a.kd(),c=a.he();1<a.paragraphs.length&&(c=
  a.paragraphs[0].text.length);return{startIndex:b,endIndex:c}},K4a=function(a,b){var c=z.rx();return b.map(function(a){var b=this.Re.get(a.anchor),g=this.Ka.Fi(b);if(!g)return a;var k;4==g.type&&(g.ra()&&(k=b.querySelector("figcaption")),k||(k=b));if(!k){g=a.startIndex+1;b=[b];k=0;for(var l=null;0<b.length&&k<g;)if(l=b.pop(),!(l.nodeName in z.HIa))if(3==l.nodeType){var p=l.nodeValue.replace(/(\r\n|\r|\n)/g,"").replace(/ +/g," ");k+=p.length}else if(l.nodeName in z.uR)k+=z.uR[l.nodeName].length;else for(p=
  l.childNodes.length-1;0<=p;p--)b.push(l.childNodes[p]);k=l}g=z.ux(k,!0);a.offsetTop=Math.round(g.top+c.top);return a},a)},R4a=function(a,b,c){b=z.y;var d='\x3cdiv class\x3d"paragraphControls js-paragraphControl js-paragraphControl-'+z.E(a.uB)+' u-noUserSelect"\x3e',e=z.y,g;if(a.kDa||a.kEa){g='\x3cdiv class\x3d"notesMarker u-noUserSelect" data-action\x3d"select-anchor" data-action-value\x3d"'+z.E(a.uB)+'"\x3e';var k;k={};k=(0,z.y)(z.Ok(z.D({name:"asteriskFilled",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" viewBox\x3d"0 0 19 19" \x3e\x3cpath d\x3d"M14.78 8.07a8.681 8.681 0 0 0-.427-1.383.478.478 0 0 0-.584-.27l-3.12.77V4.034c0-.247-.19-.48-.43-.5a7.23 7.23 0 0 0-1.38 0c-.24.02-.43.253-.43.5V7.19L5.3 6.415a.48.48 0 0 0-.583.27c-.18.448-.324.91-.426 1.383-.05.24.1.5.32.58l3.06.754-1.98 2.956c-.14.196-.13.502.04.67.34.332.7.632 1.09.896.2.136.49.077.63-.117l2.09-3.114 2.09 3.112c.15.193.43.252.63.116.39-.26.75-.56 1.09-.89.17-.17.19-.47.04-.67L11.4 9.41l3.06-.76a.517.517 0 0 0 .32-.58" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},
  k)));g=g+z.A(k)+"\x3c/div\x3e"}else g="";var l=k="",p="",r=1==a.sy?z.n("a note"):z.n("notes"),p=p+(""+r),p=z.bi(p);1==a.Hda&&(0<a.sy||a.Ay||a.By)&&(0<a.sy&&a.Ay&&a.By?(p=z.n("highlighted, responded, and left {$noteCountText}",{noteCountText:""+p}),l+=" "+p):0<a.sy&&a.By?(p=z.n("responded and left {$noteCountText}",{noteCountText:""+p}),l+=" "+p):0<a.sy&&a.Ay?(p=z.n("highlighted and left {$noteCountText}",{noteCountText:""+p}),l+=" "+p):a.Ay&&a.By?(p=z.n("highlighted and responded"),l+=" "+p):a.Ay?
  (p=z.n("highlighted"),l+=" "+p):0<a.sy?(p=z.n("left {$noteCountText}",{noteCountText:""+p}),l+=" "+p):a.By&&(p=z.n("responded"),l+=" "+p));l=z.bi(l);k+='\x3cspan class\x3d"paragraphControls-itemText"\x3e';p="";if(0<a.efa&&0==a.mDa&&!a.Ay&&!a.By)c=1==a.efa?z.n("Note to self"):z.n("Notes to self"),p+=c;else{r="";if(0<a.lD)var u=z.n("Top highlight"),r=r+u;p+=z.A(z.tQ(z.D({social:a.bBa,isActive:0<a.sy||a.Ay||a.By,ii:a.Hda,g1:!0,FDa:!0,gca:(0,z.M)(r)},a),c));p+=z.A(l)}p=(0,z.M)(p);k+=z.A(z.XGa(z.D({text:p},
  a)))+"\x3c/span\x3e";a=(0,z.y)(k);a=e(g+a);return b(d+a+"\x3c/div\x3e")},v8=function(a,b,c){z.O.call(this);this.W=a;this.va=a.get("app");this.Jna=a.get("floating-components");this.ya=a.get("screen");this.Wa=a.get("screen-service");this.jb=a.get("dom-monitor");this.Ka=b;this.Zd=b.Zd;this.Nl=this.Zd.querySelector(".js-postField");this.P9=this.ya.U().querySelector(".js-notesPositionContainer");this.ce=a.get("quotes-data");this.bf=a.get("notes-data");this.bf.subscribe("new_note_list",this.Xra,this);this.$i=
  a.get("responses-data");this.Ll=null;this.Re=new l4a(this.Zd.querySelector(".js-notesSource"));this.JF=this.mh=this.TN=null;this.mh=new t8(a,b,this.Re,this.P9);this.track(this.mh);this.JF=this.mh.U();this.Ml=this.yW=null;this.ze=c},x8=function(a,b){if(a.isActive()){var c=(b=b||a.yW)&&b.WP,d=b&&b.noteId;c&&(a.Nw(c),d&&a.bf.tp(d,c)&&a.Ml&&z.t(a.Ml,function(){return w8(a,c,null,d)}));z.Tma(a.va,"")}else a.yW=b||null},w8=function(a,b,c,d,e,g){var k={Am:!0,$0:z.ax()};a.bY();c=new p8(a.W,a.Ka,b,d||"",c||
  null,a.Re,e||null,g||null);c.subscribe("set-active-highlight",a.Q$,a);c.subscribe("reset-highlight",a.lva,a);c.subscribe("close",a.bY,a);b=g&&g.Na?g.Na:a.Re.get(b);g=z.Hwa(a.Jna);g.tn=b;b=g.qD(c);b.TG=k;k=b.YR(a.mn.bind(a));k.NN=!0;a.Ll=k.ba()},S4a=function(a,b,c){var d=a.Ka.Fi(k8(a.Re,b));if(d&&4!=d.type){z.gu(d,4);if(c){if(!a4a(c,d))return;z.eu(d,z.Ot(c.startIndex,c.endIndex,c.id))}c=a.Ka.Gb();var e=a.Ka.Ja();c={mode:c?"edit":"view",sj:z.tu(e),media:null,ul:null,sections:!0,ik:!1,ak:!1,Yk:!1,xf:!1,
  postId:e.id};a.Re.get(b).innerHTML=z.Qu(d,z.Kn,c)}},T4a=function(a,b){var c=z.Uo();if(!c||c.isCollapsed())if(b&&(c=b),!c||c.isCollapsed())return null;b=c.Af();var d=n4a(a.Re,b);if(!d)return null;a=(b=z.xt(b,z.uC,d))&&a.Ka.Fi(b);if(!b)return null;var d=z.wx(c,b,!0),e=z.wx(c,b,!1);return-1==d||-1==e?null:new b4a(c,b,new z.oy({anchor:b.getAttribute("name"),startIndex:d,endIndex:e,content:a.ra().substring(d,e)}))},U4a=function(){},y8=function(a,b){z.O.call(this);this.sh=b||D3a;this.Pa=a.get("screen-request");
  this.Z=null;this.vZ=a.get("screen-view-state");this.W=a;this.caa=this.BY=!1;this.nX=this.Hc=null},z8=function(a){z.Ux.call(this);this.Xy=a},V4a=function(a,b,c){a=z.pa(a)?new z.Pe(a):a;(a=P3a(a,b,c||{}))&&(new z8(a)).focus()},A8=function(a){this.X=a.get("request");this.V=a.get("route-builder")},B8=function(a){z.Mn.call(this);this.W=a;this.JE=a.get("dialog");this.X=a.get("request");this.V=a.get("route-builder");this.ha=a.get("butter-bar");this.aH=this.na=this.ax=this.Z=null;this.nM=!1},X4a=function(a){var b=
  a.na.query(".js-tweetEditor-image"),c=a.na.query(".js-tweetEditor-imageContainer"),d=a.na.query(".js-tweetEditor-imageStatus");z.Xd(c,"u-hide");var e=W4a(a);e.base64=!0;z.v(z.t(a.X.post(z.Ww(S3a),e,{vB:!1,withCredentials:!1}),function(a){b.src="data:image/png;base64,"+a;z.ae(c,"u-hide");z.Xd(d,"u-hide");this.nM=!0},a),function(a){z.Qx(a);z.Vw(d,U3a)},a)},Y4a=function(a,b){return 280>=M7(b)?!0:(b=a.na.query(".js-tweetEditor-text"),(new z.hB(b,{name:"shimmy-shake",duration:400})).start(),a=a.na.query(".js-tweetEditor-error"),
  z.Vw(a,Y3a),!1)},W4a=function(a){var b=a.Z,c=a.ax.pFa;a=a.ax.oFa;var d=b.creator,e=b.approvedHomeCollection,g=z.Kn,k=null;e&&(k=e.image);var l=null;e&&e.logo&&e.logo.imageId&&(l=e.logo.imageId);var p=null;e&&e.tintColor&&2==e.colorBehavior&&e.logo&&e.logo.imageId&&(p=e.tintColor);var r=null;e&&e.tintColor&&(r=z.yIa(e.tintColor),r=z.Zs(r,.6).color);return new O7({content:c,altText:a,title:b.title,author:d&&d.name,date:z.zi(b.createdAt,g),authorAvatarId:d&&d.imageId,collection:e&&e.name,collectionAvatarId:k?
  k.imageId:null,collectionLogoId:l,collectionBackgroundColor:p,collectionHighlightColor:r,version:2})},Z4a=function(a){this.X=a.get("request");this.V=a.get("route-builder");this.W=a},$4a={JMa:1,LMa:2,KMa:3,MMa:4,NMa:5,IMa:6,$isProtoEnum:!0};z.q(B7,z.K);z.f=B7.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Wu=z.h(329);z.f.jd=z.h(458);z.f.xb=z.h(462);z.f.J=function(){return B7.prototype};
  z.f.D={name:"PlacementSlot",L:!1,fields:{location:{name:"location",g:function(){return $4a},h:1},index:{name:"index",g:z.V,h:2}},N:{}};z.f.xb=z.Y(462,function(a){return z.J(this,"index",a)});z.f.jd=z.Y(458,function(){return z.I(this,"index")});z.q(C7,z.K);z.f=C7.prototype;z.f.F=function(){return""};z.f.H=function(){return"Placement"};z.f.Ve=function(){return z.I(this,"items")};z.f.qc=z.h(412);z.f.Wu=z.h(328);z.f.jd=z.h(457);z.f.xb=z.h(461);z.f.J=function(){return C7.prototype};
  z.f.D={name:"Placement",L:!1,fields:{items:{name:"items",g:function(){return z.zM},aa:z.T,h:1},location:{name:"location",g:function(){return $4a},h:2},index:{name:"index",g:z.V,h:3}},N:{}};z.f.xb=z.Y(461,function(a){return z.J(this,"index",a)});z.f.jd=z.Y(457,function(){return z.I(this,"index")});z.f.qc=z.Y(412,function(a){return z.J(this,"items",a)});z.m(F7,z.Ff);F7.prototype.Tj=function(a){var b={};z.nE(this,b,a.Ib(),"");return b};
  F7.prototype.tb=function(a,b){if(!a||!b)return null;var c=new a;Object.keys(b).forEach(function(a){for(var e=a.split(/[[\]]+/).filter(function(a){return!!a}),g=c,k=e.shift();k;){var l=g.D.jj[k];if(!l)break;var p=l.g();if(l.aa()){var r=z.Ni(g,k)||[],u=e.shift(),w=Number(u);if(void 0===u||!Number.isInteger(w)||0>w)break;if(p.prototype instanceof z.Gi)l=r[w],l||(l=new p,r[w]=l),z.J(g,k,r),g=l;else{if(void 0!==e.shift())break;p=g3a(b[a],l);r[w]=p;z.J(g,k,r)}}else if(p.prototype instanceof z.Gi)r=z.Ni(g,
  k),r||(r=new p,z.J(g,k,r)),g=r;else{if(void 0!==e.shift())break;p=g3a(b[a],l);z.J(g,k,p)}k=e.shift()}});return c};z.q(G7,z.Si);z.f=G7.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.zr=z.h(596);z.f.yR=z.h(453);z.f.J=function(){return G7.prototype};z.f.D={name:"PlacementsResponse",L:!1,fields:{placements:{name:"placements",g:function(){return C7},aa:z.T,h:1},stateParams:{name:"stateParams",g:function(){return z.mN},h:2}},N:{}};z.q(H7,z.K);z.f=H7.prototype;z.f.F=function(){return""};
  z.f.H=function(){return""};z.f.yR=z.h(454);z.f.J=function(){return H7.prototype};z.f.D={name:"PlacementsRequestQuery",L:!1,fields:{requestContext:{name:"requestContext",g:function(){return z.bs},h:1},slots:{name:"slots",g:function(){return B7},aa:z.T,h:2},stateParams:{name:"stateParams",g:function(){return z.mN},h:3}},N:{}};z.yH.prototype.YR=z.Y(603,function(a){this.mn=a;return this});z.DH.prototype.YR=z.Y(602,function(a){this.mn=a;return this});
  z.jH.prototype.h0=z.Y(601,function(a){a=I7(a);if(!a)return null;a=J7(a)&&J7(a).Ln();return a?(a=a.Sb())&&a.length?a[0].getName():null:null});G7.prototype.zr=z.Y(596,function(){return z.I(this,"placements")});z.oE.prototype.zr=z.Y(595,function(a,b,c){var d=this;a=i3a(j3a(new H7,a),b);c&&a.yR(c);c=(new F7).Tj(a);var e=this.V.R(z.cya,{},c);return z.pE(this,e,function(){return z.t(d.X.get(e,{background:!0}),function(a){a=d.Ba.dc(G7,a);d.ia.hc(a);return a})})});
  z.ry.prototype.tp=z.Y(516,function(){return z.I(this,"note")});z.iE.prototype.tp=z.Y(515,function(a){return this.gc("Note",a)});z.ny.prototype.Rx=z.Y(514,function(){return z.I(this,"replyId")});z.ry.prototype.Rx=z.Y(513,function(){return z.I(this,"replyId")});z.ly.prototype.Iy=z.Y(512,function(a){return z.J(this,"highlight",a)});z.ly.prototype.DP=z.Y(511,function(){return z.I(this,"highlight")});z.ly.prototype.Su=z.Y(510,function(a){return z.J(this,"author",a)});
  z.ny.prototype.Su=z.Y(509,function(a){return z.J(this,"author",a)});z.ly.prototype.EH=z.Y(508,function(){return z.I(this,"author")});z.ny.prototype.EH=z.Y(507,function(){return z.I(this,"author")});z.ly.prototype.RB=z.Y(506,function(){return z.I(this,"highlightId")});z.ly.prototype.ig=z.Y(505,function(){return z.I(this,"noteId")});z.ny.prototype.ig=z.Y(504,function(){return z.I(this,"noteId")});z.ry.prototype.ig=z.Y(503,function(){return z.I(this,"noteId")});
  z.iy.prototype.$p=z.Y(500,function(a){return z.J(this,"state",a)});z.ly.prototype.$p=z.Y(499,function(a){return z.J(this,"state",a)});z.ny.prototype.$p=z.Y(498,function(a){return z.J(this,"state",a)});z.Es.prototype.Tu=z.Y(474,function(a){return z.J(this,"authorId",a)});z.ly.prototype.Tu=z.Y(473,function(a){return z.J(this,"authorId",a)});z.ny.prototype.Tu=z.Y(472,function(a){return z.J(this,"authorId",a)});H7.prototype.yR=z.Y(454,function(a){return z.J(this,"stateParams",a)});
  G7.prototype.yR=z.Y(453,function(a){return z.J(this,"stateParams",a)});z.Br.prototype.Ne=z.Y(374,function(){return z.I(this,"catalogId")});z.LK.prototype.Ne=z.Y(373,function(){return z.I(this,"catalogId")});z.CK.prototype.Ne=z.Y(372,function(){return z.I(this,"catalogId")});z.zM.prototype.Ne=z.Y(371,function(){return z.I(this,"catalogId")});z.iK.prototype.Ne=z.Y(370,function(){return z.I(this,"catalogId")});z.eM.prototype.Ne=z.Y(369,function(){return z.I(this,"catalogId")});
  z.$K.prototype.Ne=z.Y(368,function(){return z.I(this,"catalogId")});z.XL.prototype.Ne=z.Y(367,function(){return z.I(this,"catalogId")});z.WL.prototype.Ne=z.Y(366,function(){return z.I(this,"catalogId")});z.VL.prototype.Ne=z.Y(365,function(){return z.I(this,"catalogId")});z.Es.prototype.Ne=z.Y(364,function(){return z.I(this,"catalogId")});z.ry.prototype.Ne=z.Y(363,function(){return z.I(this,"catalogId")});z.eI.prototype.Ne=z.Y(362,function(){return z.I(this,"catalogId")});
  z.sr.prototype.Wu=z.Y(331,function(a){return z.J(this,"location",a)});z.Xr.prototype.Wu=z.Y(330,function(a){return z.J(this,"location",a)});B7.prototype.Wu=z.Y(329,function(a){return z.J(this,"location",a)});C7.prototype.Wu=z.Y(328,function(a){return z.J(this,"location",a)});z.Op.prototype.MP=z.Y(70,function(){return z.I(this,"point")});var w3a=/(?:https?:\/\/|www\.)\w[\w~#-@![\]]*/g;
  L7.prototype.MP=function(){var a=window.document.body;return z.zh(a,this.Th.node)?this.Th:this.zk&&z.zh(a,this.zk)?z.iN(this.cN,this.zk):this.xe&&(a=z.At(this.Fna,this.xe))?z.iN(this.cN,a):null};z.q(O7,z.K);z.f=O7.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.bb=function(){return z.I(this,"content")};z.f.Ec=function(a){return z.J(this,"content",a)};z.f.ib=function(){return z.I(this,"title")};z.f.ec=function(a){return z.J(this,"title",a)};z.f.EH=function(){return z.I(this,"author")};
  z.f.Su=function(a){return z.J(this,"author",a)};z.f.getDate=function(){return z.I(this,"date")};z.f.setDate=function(a){return z.J(this,"date",a)};z.f.Lb=function(){return z.I(this,"collection")};z.f.setVersion=function(a){return z.J(this,"version",a)};z.f.nJ=function(a){return z.J(this,"template",a)};z.f.Mc=function(){return z.I(this,"subtitle")};z.f.Yd=function(a){return z.J(this,"subtitle",a)};z.f.J=function(){return O7.prototype};
  z.f.D={name:"TextshotInfo",L:!1,fields:{content:{name:"content",g:z.U,h:1},altText:{name:"altText",g:z.U,h:2},title:{name:"title",g:z.U,h:3},author:{name:"author",g:z.U,h:4},date:{name:"date",g:z.U,h:5},authorAvatarId:{name:"authorAvatarId",g:z.U,h:6},collection:{name:"collection",g:z.U,h:7},collectionAvatarId:{name:"collectionAvatarId",g:z.U,h:8},collectionLogoId:{name:"collectionLogoId",g:z.U,h:9},collectionBackgroundColor:{name:"collectionBackgroundColor",g:z.U,h:10},collectionHighlightColor:{name:"collectionHighlightColor",
  g:z.U,h:11},version:{name:"version",g:z.V,h:12},base64:{name:"base64",g:z.W,h:13},template:{name:"template",g:z.U,h:14},mainStat:{name:"mainStat",g:z.U,h:15},mainStatTitle:{name:"mainStatTitle",g:z.U,h:16},subtitle:{name:"subtitle",g:z.U,h:17},icon:{name:"icon",g:z.U,h:18},imgKey:{name:"imgKey",g:z.U,h:19}},N:{}};z.q(P7,z.Xn);P7.prototype.OI=function(){if(!this.Lj)return null;var a=this.Lj.MP();if(!a)return null;var b=this.Ul.MP();return b?z.yo(a.node,a.offset,b.node,b.offset):null};var a5a={UNa:"quote-respond"};
  z.q(R7,z.O);z.f=R7.prototype;z.f.Uj=function(){return this.Zl.Uj()};z.f.S=function(){R7.ea.S.call(this);z.Wx(this,this.kV,"data-redirect-type-quote",this.gra,this);this.Ea(this.Zd,"click",this.cw,this);z.LF(this.Ka)&&z.Zw()&&this.Ea(this.Zd,"mouseover",this.xoa,this);this.Ka.Ja().xr()&&!this.Ka.Gb()&&z.v(this.ce.load(this.Ka.za()),z.Qx);var a=this.Uj();a&&(z.Wx(this,a,"quote",this.uoa,this),z.Wx(this,a,"quote-respond",this.voa,this),z.Wx(this,a,"show",this.nZ,this),z.Wx(this,a,"hide",this.Ara,this))};
  z.f.gra=function(a){var b=z.AF(this.Zl,this.Uj().Yw);b&&(a.url=new z.Pe(this.V.R(z.kBa,{postId:this.Ka.za()},{paragraphs:JSON.stringify([b.Xx.tb().Ib()]),startOffset:b.start,endOffset:b.end})))};z.f.cw=function(a){z.xt(a.target,function(a){if(a===this.Zd)return!0;var c=z.DC(a);if(3==c)return!0;if(7==c){if(c=I3a(this,a))if(S7(this,c),z.Zw())U7(this,c);else{var d=new z.oF;G3a(this,c,a,d)}return!0}return!1}.bind(this))};
  z.f.xoa=function(a){z.xt(a.target,function(a){if(a===this.Zd)return!0;var c=z.DC(a);if(3==c)return!0;if(7==c){c=z.Uo();if(!(c&&!c.isCollapsed()||this.Uj()&&this.Uj().Lp())&&(c=I3a(this,a))){var d=this.Zd.querySelector('.markup--quote[name~\x3d"'+c.Gi()+'"]');a=new z.qF(a,100);G3a(this,c,d,a);S7(this,c)}return!0}return!1}.bind(this))};
  z.f.nZ=function(){var a=z.Uo();a&&!a.isCollapsed()&&S7(this,null);if(z.LF(this.Ka)&&(a=z.AF(this.Zl,this.Uj().Yw))){var a=z.sua(this.ce,a.Xx,a.start,a.end),b=this.Uj().Da().querySelector(".js-highlightMenuQuoteButton");z.ie(b,"is-active",!!a)}};z.f.Ara=function(){this.$o&&S7(this,null)};
  z.f.uoa=function(){if(z.LF(this.Ka)){var a=z.vF(this.Uj());if(a){var b=a.range,c=a.xCa,a=this.Uj().Da().querySelector(".js-highlightMenuQuoteButton"),d=z.Ud(a,"is-active"),b=z.AF(this.Zl,b);z.v(z.t(this.ce.toggle(b.Xx,b.start,b.end,!c),function(a){z.CIa();d?z.xF(this.Uj()):U7(this,a);var b=c?"selection_menu":"quote_click_menu";V7(this,a.Gi(),!d,b)},this),z.Qx)}}};
  z.f.voa=function(){if(z.LF(this.Ka)&&z.Kn.supportsEdit){var a=z.vF(this.Uj());if(a){var b=z.AF(this.Zl,a.range);z.v(z.t(this.ce.create(b.Xx,b.start,b.end,1,!0),function(a){V7(this,a.Gi(),!0,"selection_menu_quote_respond");this.fa("quote-respond",a,b.Xx.name)},this),z.Qx)}}};
  z.f.Eoa=function(a){var b=this.$o,c=T7(this,b),d=b.kd(),e=b.he(),b=a.query(".js-quoteAttributions-pileOn"),g=z.Ud(b,"is-active");z.v(z.t(this.ce.toggle(c,d,e,!0),function(b){var l=a.query(".js-quoteAttributions-pileOn");z.je(l,"is-active");if(l=z.mF(this.ce,c,d,e)){var p=F3a(this,l),r=a.query(".js-quoteAttributions-info");z.Vw(r,v3a,p)}else a.bc();!g&&z.Zw()&&(a.bc(),U7(this,l));l=z.Zw()?"quote_hover":"quote_click_mobile";V7(this,b.Gi(),!g,l)},this),z.Qx)};
  z.f.Foa=function(){if(z.LF(this.Ka)&&z.Kn.supportsEdit){var a=T7(this,this.$o),b=this.$o.kd(),c=this.$o.he();z.v(z.t(this.ce.create(a,b,c,1,!0),function(b){V7(this,b.Gi(),!0,"quote_respond");this.fa("quote-respond",b,a.name)},this),z.Qx)}};z.f.Goa=function(){var a=K3a(this,this.$o);a&&z.Hua(this.Zl,a)};
  z.f.E$=function(){var a=new P7(this.Zd),b=this.ce.Ft,c=Object.keys(b).concat(this.Z6);z.fb(c);c.forEach(function(a){var c=b[a]||[],g=this.Ka;if(g=(a=g.Zd&&z.At(g.Zd,a))&&this.Ka.Fi(a))t3a(g,c),a.innerHTML=z.Qu(g,z.Kn,z.Nua(this.Ka)),z.Vwa(this.rua,a)},this);this.Z6=Object.keys(b);(a=a.restore())&&a.select()};z.q(W7,z.Ux);z.f=W7.prototype;
  z.f.load=function(a){if(!z.Mr())return z.Hd([]);this.$a=a;this.ih||(this.ih=z.v(z.t(this.Uk.get(this.V.R(z.cBa,{postId:a}),{background:!0}),this.pua,this),z.Qx));return this.ih.yc()};z.f.Gp=function(){return this.W6};z.f.lj=function(){return this.X9};z.f.DP=function(a){return this.k8[a]||null};z.f.tp=function(a,b){return z.RN(X7(this,b),a)};z.f.Iy=function(a,b){this.k8[a]=b};z.f.za=function(){return this.$a};
  z.f.pua=function(a){var b=a.references.User;this.X9=a.post.visibility;var c=a.value;if(c)for(var d=0;d<c.length;d++){var e=c[d];if("HIDDEN"!=e.state){var g=e.replies,k=b;if(g)for(var l=0;l<g.length;l++){var p=g[l],r=p.authorId||null;p.author=r&&k[r]||null}g=e.anchor;k=e.authorId||null;e.author=k&&b[k]||null;g=X7(this,g);e=z.my(e);g.add(z.nD(this.ia,e))}}if(a=a.highlights)for(b=0;b<a.length;b++)this.Iy(a[b].id,z.Fp.tb(z.oy,a[b]));this.W6=!0};z.m($7,z.O);$7.prototype.zr=function(a){var b=this;if(this.OX){var c=new z.id;(0,window.setTimeout)(function(){return c.callback()},b5a);return $3a(c,function(){return b.zr(a)})}if(this.jn[a])throw Error("Requesting multiple placements for the same location ("+a+") is not supported.");this.LT.push((new B7).Wu(a).xb(0));var d=new z.id;this.jn[a]=d;this.Jv||(this.Jv=(0,window.setTimeout)(this.oua.bind(this),c5a));return d};
  $7.prototype.oua=function(){var a=this;this.OX=!0;z.vd(z.v(z.t(this.Pa.zr(this.eva,this.LT,this.saa),function(b){var c=b.placements;b=b.stateParams;if(!c)return z.qb(a.jn).forEach(function(a){return a.callback(null)});c.forEach(function(b){a.jn[b.location].callback(b)});a.saa=b}),function(b){z.qb(a.jn).forEach(function(a){return a.yh(b)})}),function(){var b=a.LT;if(!z.na(b))for(var c=b.length-1;0<=c;c--)delete b[c];b.length=0;z.wb(a.jn);(0,window.clearTimeout)(a.Jv);a.Jv=null;a.OX=!1})};
  var b5a=20,c5a=500;z.m(a8,z.O);a8.prototype.S=function(){z.O.prototype.S.call(this);z.t(z.Tn(300),this.Hla,this)};
  a8.prototype.Hla=function(){if(this.nh&&this.nh.postIds&&this.nh.postIds.length){for(var a=this.Ya(".js-meterThumbnail"),b=new z.id,c=0;c<this.nh.postIds.length;c++){var d=a[c],e=d.querySelector(".js-thumbnailImage"),g=z.Ww(z.pk,{imageId:this.nh.previewImageIds[c]?this.nh.previewImageIds[c]:"1*gqOHypRwp9HBuHaiSx6kWQ.png",strategy:"crop-fixed",width:40,height:40});z.fp(e,"background-image",'url("'+g+'"');z.t(b,this.DT.bind(this,d,c==a.length-1))}b.callback()}};
  a8.prototype.DT=function(a,b){b=new z.hB(a,{name:b?"pulse-grow-50-110":"pulse-grow-50-105",duration:800+(b?200:0)});var c=z.t(new z.hB(a.querySelector(".js-thumbnailImage"),{name:"fade-in",duration:800}),function(){z.Xd(a,"is-read")}),d=new z.hB(a.querySelector(".js-thumbnailText"),{name:"color-light-to-white",duration:800});return new z.Ln([b.start(),c.start(),d.start()])};z.m(b8,z.O);b8.prototype.S=function(){z.O.prototype.S.call(this);var a=this.ya.query(".js-postActionsBar");a&&(this.Ha(a),(a=this.ya.Ow)?(z.Wx(this,a,"show",this.fB.bind(this,!0)),z.Wx(this,a,"dock",this.fB.bind(this,!0))):z.Wx(this,this.jb,"scroll-up",this.fB.bind(this,!0)),z.Wx(this,this.jb,"scroll-down",this.fB.bind(this,!1)),this.fB(!0),z.Kn.variants.enable_branch_io||z.Dt(this.ya.query(".js-openInAppButton")),d4a(this),z.Yw()||this.Ea(this.ya.U(),"mousemove",z.Rn(200,this.bG,this)))};
  b8.prototype.ka=function(){z.O.prototype.ka.call(this)};b8.prototype.bG=function(a){if(!this.uF){var b=z.KC(this.nb);a.clientY>b.height-100&&this.fB(!0)}};b8.prototype.fB=function(a){if(this.Ka.isPublished()&&!(this.uF===a||a&&c4a(this))&&(a||z.Mr()||c4a(this))){var b=this.pa.Jc(),c;b&&(c=b.ge())&&z.Eh(c,"js-postActionsBarContent")&&b.bc();(this.uF=a)?this.fa(d5a):this.fa(e5a);z.ie(this.U(),"is-visible",this.uF)}};var d5a="show",e5a="hide";z.m(c8,z.O);z.f=c8.prototype;
  z.f.S=function(){var a=this;z.O.prototype.S.call(this);this.Ro&&(z.Wx(this,this.Ro,d5a,function(){z.Xd(a.U(),"is-abovePostActions");a.wM=!0}),z.Wx(this,this.Ro,e5a,function(){z.ae(a.U(),"is-abovePostActions");a.wM=!1}));z.P(this.U()).O("dismiss-meter",this.Ss,this).O("expand-meter",this.Ana,this);var b=this.nh.postIds&&1<this.nh.postIds.length,c=z.Dr().isMobile&&!z.Dr().isTablet;z.Ui(z.Kn).enable_sticky_meter||!b&&!c||(this.Iv=(0,window.setTimeout)(this.Ss.bind(this),f5a));z.t(z.Tn(300),this.Pua,
  this)};z.f.ka=function(){this.PA&&(this.PA.cancel(),this.PA=null);this.Iv&&((0,window.clearTimeout)(this.Iv),this.Iv=null);z.O.prototype.ka.call(this)};z.f.Ss=function(){var a=this;this.PA=new z.hB(this.U(),{name:this.wM?z.Dr().isMobile?"pop-shift-down-35":"pop-shift-down-44":"pop-shift-down-0",duration:550,timing:"ease-in-out"});z.t(this.PA,function(){z.Ct(a.U());a.fa(g5a)});this.PA.start()};
  z.f.Ana=function(){var a=this.query(h5a),b=this.query(i5a),c=this.query(j5a);z.Ct(a);z.Xd(b,"is-visible");this.Iv&&((0,window.clearTimeout)(this.Iv),this.Iv=null);z.Vw(c,N7);z.ae(c,"u-xs-hide");z.wy(z.NEa,{unlockCount:this.nh.postIds.length})};
  z.f.Pua=function(){var a=this;this.ya.U().appendChild(this.U());this.O9=new z.hB(this.U(),{name:this.wM?z.Dr().isMobile?"pop-shift-up-35":"pop-shift-up-44":"pop-shift-up-0",duration:800,timing:"ease-in-out"});z.t(this.O9.start(),function(){z.wy(z.MEa,{unlockCount:a.nh.postIds.length,postId:a.Z?a.Z.id:""});if(a.nh&&a.nh.postIds&&a.nh.postIds.length){for(var b=a.Ya(".js-meterThumbnail"),c=new z.id,d=0;d<a.nh.postIds.length;d++)z.t(c,a.DT.bind(a,b[d],d==b.length-1));c.callback()}})};
  z.f.DT=function(a,b){b=new z.hB(a,{name:b?"pulse-grow-50-110":"pulse-grow-50-105",duration:800+(b?200:0)});var c=z.t(new z.hB(a.querySelector(".js-thumbnailImage"),{name:"fade-in",duration:800}),function(){z.Xd(a,"is-read")}),d=new z.hB(a.querySelector(".js-thumbnailText"),{name:"color-light-to-white",duration:800});return new z.Ln([b.start(),c.start(),d.start()])};z.f.Wb=function(a){this.Z=a;return this};
  var f5a=6E3,j5a=".js-dismissMeterIndicator",h5a=".js-expandMeterButton",i5a=".js-moreInfo",g5a="dismissed";z.m(d8,z.O);d8.prototype.S=function(){var a=this;z.O.prototype.S.call(this);return z.t(z.v(g4a(this),z.Qx),function(b){b=b.meteringInfo;var c=a.ya.oa();a.Ro=new b8(c,a.Ka);var d=a.ya.query(".js-paywall");d?a.ya.track(new a8(c,d,b)):b&&0<=(0,z.Ua)(b.postIds,a.Z.id)&&(d=z.Xw(E3a,{post:a.Z,meteringInfo:b}),a.EX=(new c8(c,d,a.Ro,b)).Wb(a.Z),a.ya.track(a.EX),z.Wx(a,a.EX,g5a,function(){!z.Mr()&&z.Kn.useragent.isMobile&&(s3a(a.ya,a.Ro)||a.ya.track(a.Ro))}));if(!f4a(a)||z.Mr())s3a(a.ya,a.Ro)||a.ya.track(a.Ro)})};
  d8.prototype.qs=function(a){this.af=a};z.m(e8,z.O);z.f=e8.prototype;z.f.S=function(){z.O.prototype.S.call(this);z.P(this.ya.U()).O("show-share-community-link-popover",this.Kwa,this).O("copy-community-link",this.bU,this)};z.f.ka=function(){var a=z.P(this.ya.U());a.clear("show-share-community-link-popover");a.clear("copy-community-link");z.O.prototype.ka.call(this)};z.f.qs=function(a){this.af=a};
  z.f.Kwa=function(a){var b=this;z.t(this.Z.uniqueSlug?z.Hd(this.Z.uniqueSlug):z.t(z.sE(this.X,z.pJ,{postId:this.Z.ob()}),function(a){return a.value.uniqueSlug}),function(c){var d=b.pa.Jc(),d=d?d.ge():a.target;z.pD(z.rD(z.sD(b.pa),d).Ua(M3a,{post:b.Z,uniqueSlug:c,shareKey:b.af}),{Tn:!0,sQ:!0}).ba();c={postId:b.Z.ob()};z.wy(z.OCa,c)})};z.f.bU=function(a){var b=this.ya.query(".js-friendLinkUrl");b.disabled=!1;b.select();window.document.execCommand("copy");b.disabled=!0;z.Vw(a.target,L3a)};z.m(f8,z.O);f8.prototype.S=function(){z.O.prototype.S.call(this);h4a(this)};z.m(g8,z.O);z.f=g8.prototype;z.f.S=function(){z.O.prototype.S.call(this);this.RF=this.iV();this.SN=z.GC(this.nb,this.U(),"fixed");z.Wx(this,this.nb,"refresh",this.W3.bind(this));var a=this.U();z.Yd(a,["u-fixed","u-transition--fadeOut300"]);z.fp(a,"transform","translateY("+this.kZ+"px)");this.dH();this.W3()};z.f.g3=function(a){this.Bt=a;return this};z.f.W3=function(){this.EW();this.GW()};
  z.f.EW=function(){this.dH();var a=this.SN.Sc(),a=a.top+a.height;if(z.KC(this.nb).top+this.kZ<=this.CU)return this.jZ();if(a>=this.BU)return this.eA()};z.f.GW=function(){var a=this.SN.Sc(),b=z.KC(this.nb);return b.height<k5a||this.$q>b.top||this.jW(a)?this.BV():this.gB()};z.f.jW=function(a){return(0,z.xd)(this.RF,function(b){return z.kO(a,b.Sc())})};z.f.gB=function(){z.oS(this.U(),"u-transition--fadeOut300","u-transition--fadeIn300")};z.f.BV=function(){z.oS(this.U(),"u-transition--fadeIn300","u-transition--fadeOut300")};
  z.f.eA=function(){var a=this.U();z.oS(a,"u-fixed","u-absolute");z.fp(a,"transform","translateY("+this.CU+"px)")};z.f.jZ=function(){var a=this.U();z.oS(a,"u-absolute","u-fixed");z.fp(a,"transform","translateY("+this.kZ+"px)")};z.f.dH=function(){var a=z.GC(this.nb,this.Bt);this.BU=z.bC(a)+a.Be();this.CU=this.BU-this.SN.Be()};z.f.iV=function(){var a=this;return z.JR(this.Bt).map(function(b){return z.GC(a.nb,b)})};var i4a=150,k5a=400;z.m(h8,z.O);z.f=h8.prototype;z.f.S=function(){z.O.prototype.S.call(this);this.HN=z.GC(this.nb,this.U());this.RF=this.iV();j4a(this)};z.f.g3=function(a){this.Bt=a;return this};z.f.Saa=function(){if(0==this.HN.Be())this.fa(C8,!1,0,0);else{var a=this.U(),b=k4a(this);this.$q!=b&&((this.$q=b)?(z.fp(this.U(),"transform","translateY("+b+"px)"),a&&z.ae(a,"u-invisible")):a&&z.Xd(a,"u-invisible"),this.fa(C8,!z.Ud(a,"u-invisible"),b||0,this.HN.Be()))}};
  z.f.jW=function(a){return this.RF.some(function(b){return z.kO(a,b.Sc())})};z.f.iV=function(){var a=this;return z.JR(this.Bt).map(function(b){return z.GC(a.nb,b)})};var C8="positioned";z.m(i8,z.O);i8.prototype.S=function(){z.O.prototype.S.call(this);this.sN=z.GC(this.nb,this.AX);if(this.Ka.isPublished()&&this.sN.Be()>l5a){var a=z.Vx(this,".js-postShareWidget"),a=(new g8(this.W)).Ha(a).g3(this.AX);a.$q=z.bC(this.sN);this.uN=a;this.track(this.uN);z.Kn.variants.enable_related_reads_discovery&&(a=z.Vx(this,".js-sidebarRecirc"),this.GX=(new h8(this.W)).Ha(a).g3(this.AX),z.Wx(this,this.GX,C8,this.Wxa.bind(this)),this.track(this.GX))}};
  i8.prototype.Wxa=function(a,b,c){this.uN.$q=a?b+c:z.bC(this.sN);this.uN.W3()};var l5a=300;j8.prototype.eP=function(a,b,c){return new R7(a,b,c)};j8.prototype.Nn=function(){return a5a};l4a.prototype.get=function(a){return k8(this,a)};z.q(l8,z.lX);z.f=l8.prototype;z.f.DG=!1;z.f.sA="";z.f.EG=0;z.f.Mr=z.T;z.f.ig=function(){return this.VW};z.f.save=function(){this.bb().length<=this.Yl&&this.Vq()};z.f.pb=function(){(0,window.clearTimeout)(this.EG);l8.ea.pb.call(this)};z.f.S=function(){function a(a){a.stopPropagation()}l8.ea.S.call(this);this.sA=this.bb();this.Ec(this.sA);this.kx(13,this.$W,this);this.kx(27,this.aX,this);this.kb.Ea("blur",this.ZW,!1,this);var b=this.kb.Da();z.jx(b,"keydown",a);z.jx(b,"keyup",a);z.jx(b,"keypress",a)};
  z.f.l2=function(a){return a};z.f.Vq=function(){if(this.isEnabled()){var a=this.bb().trim();if(a){this.aJ(!1);var b=this.Xca(),a=this.Wca(a);this.fa("saving",a);z.ud(z.v(z.t(this.Uk.post(b,a.Ib()),this.asa,this),this.Zra.bind(this,a)),this.aJ.bind(this,!0))}}};z.f.asa=function(a){this.fa("save",this.l2(a.value))};z.f.Zra=function(a,b){this.fa("fail",a);this.na.error(o4a());z.Qx(b)};z.f.$W=function(a){if(this.er&&z.NX(this.er))return!1;a.shiftKey||(a.preventDefault(),this.save());return!0};
  z.f.aX=function(a){if(this.er&&z.NX(this.er))return!1;a.preventDefault();this.Ec(this.sA);this.fa("cancel");return!1};z.f.ZW=function(){this.DG&&(this.bb().length>=this.Yl?(0,window.confirm)(this.Zca())?(this.Ec(this.sA),this.fa("cancel")):this.focus():this.EG=(0,window.setTimeout)(this.Vq.bind(this),100))};z.q(m8,l8);z.f=m8.prototype;z.f.AT=null;z.f.t6=null;z.f.BT=null;z.f.Gj=null;z.f.HV=null;z.f.GV=null;z.f.j8=null;z.f.Iy=function(a){this.Gj=a;this.HV=a.startIndex;this.GV=a.endIndex;this.j8=a.content;return this};z.f.Zca=function(){var a=z.n("Your note is too long; do you want to abandon your changes?");return(0,z.y)(""+a)};z.f.l2=function(a){var b=z.Tw();a=z.my(a).Su(b).Tu(b.Ta());this.Gj&&a.RB()&&this.bf.Iy(a.RB(),this.Gj);var b=this.bf,c;c=z.nD(b.ia,a);X7(b,c.ge()).add(c);return a};
  z.f.Xca=function(){return this.ig()?this.V.R(z.dBa,{postId:this.$a,noteId:this.ig()}):this.V.R(z.bBa,{postId:this.$a})};z.f.Wca=function(a){var b=z.Tw();a=(new z.ly({content:a,anchor:this.AT,anchorContent:this.t6,anchorImage:this.BT?this.BT.Ib():null,replies:[],createdAt:Date.now()})).Su(b);null!=this.HV&&null!=this.GV&&(b=new z.oy({anchor:this.AT,startIndex:this.HV,endIndex:this.GV,content:this.j8}),a.Iy(b));return a};z.q(n8,l8);n8.prototype.Zca=function(){var a=z.n("Your reply is too long; do you want to abandon your changes?");return(0,z.y)(""+a)};n8.prototype.l2=function(a){var b=z.Tw();a=z.$la(a).Su(b).Tu(b.Ta());z.I(this.bf.tp(a.ig(),this.xe),"replies").push(a);return a};n8.prototype.Xca=function(){return this.A$?this.V.R(z.gBa,{postId:this.$a,noteId:this.ig(),replyId:this.A$}):this.V.R(z.fBa,{postId:this.$a,noteId:this.ig()})};
  n8.prototype.Wca=function(a){var b=z.Tw();return(new z.ny({replyId:"",postId:this.$a,noteId:this.ig(),content:a,createdAt:Date.now()})).Su(b)};z.q(p8,z.O);z.f=p8.prototype;
  z.f.S=function(){p8.ea.S.call(this);z.P(this.U()).O("show-note-editor",this.GY,this).O("hide-note-editor",this.DV.bind(this,!0)).O("show-reply-editor",this.Jwa,this).O("hide-reply-editor",this.epa,this).O("save-note",this.Eva,this).O("save-reply",this.Fva,this).O("highlight-quote",this.hpa,this).O("dismiss-note",this.d7.bind(this,!0),this).O("delete-note",this.d7.bind(this,!1),this).O("delete-reply",this.Qma,this).O("previous-highlight-tip",this.mua,this).O("next-highlight-tip",this.Dqa,this);C4a(this);
  this.$i&&D7(this.$i)&&(B4a(this),z.Wx(this,D7(this.$i),"add",this.Yra,this));if(this.UX&&this.w8&&this.x8){var a=this.query(".js-inlineNewPostControl"),b=this.UX,c=this.Ka.za(),d=new z.iT(this.W);d.cJ("web-inline-quote-responses");d.Ha(a);d.LE=!0;d.xU=!0;d.uU=!0;d.nJ(x3a);d.rA=b;d.iJ(c);z.jT(d,!0);this.Hc=d;this.Hc.ba();a=r8(this.rG);this.fa("set-active-highlight",this.xe,a)}this.Gj&&(this.GY(),this.sf&&this.sf.focus());s8(this,0)};
  z.f.ka=function(){this.Dq&&this.Dq.z_();(this.Gj||this.rG)&&this.fa("reset-highlight",this.xe,null);p8.ea.ka.call(this)};z.f.pb=function(){z.Dy(this.U());z.oh(this.U());z.On(this.Hc);z.On(this.sf);z.On(this.Dq);z.Pn(z.qb(this.Ij));this.Dq=this.Ij=this.sf=this.Hc=null;p8.ea.pb.call(this)};z.f.Qn=function(){if(this.sf&&this.sf.bb())return!0;for(var a=z.qb(this.Ij),b=0;b<a.length;b++)if(a[b]&&a[b].bb())return!0;return this.Hc&&!this.Hc.isDismissable()?!0:!1};
  z.f.uq=function(){var a=[],b=[],c=[],d=this.wA&&(this.Gj||this.rG);d||(this.nw?(a=this.ce?E7(this.ce,this.nw.quotes):[],b=this.nw.notes,c=this.nw.responses):(b=this.bf?z.SD(X7(this.bf,this.xe)):[],this.VW||(this.ce?(a=this.ce,a=E7(a,a.Ft[this.xe]||[])):a=[],c=this.$i?K7(this.$i,this.xe):[])));return z.Xw(y4a,{post:this.Ka.Ja(),quotes:a,notes:b,responses:c,c4:!!this.UX,AR:d,sJ:this.wA,lD:this.Haa,nDa:z.KF(this.Ka)})};
  z.f.Yra=function(){var a=this.query(".js-postList"),b=z.Xw(x4a,{responses:K7(this.$i,this.xe)});z.ph(b,a);B4a(this)};
  z.f.GY=function(){if(this.wA){if(!this.sf){var a=this.query(".js-noteEditor"),b=z.Ww(v4a),a=this.sf=new m8(this.W,a,this.Ka.za(),null,b),b=this.xe,c=this.Ka.Fi(this.Re.get(this.xe)),d=c.ra(),c=4==c.type?c.ie():null;a.AT=b;a.t6=d;a.BT=c;(a=this.Gj)&&this.sf.Iy(a);z.Wx(this,this.sf,"saving",this.Fsa,this);z.Wx(this,this.sf,"fail",this.yra,this);z.Wx(this,this.sf,"save",this.Asa,this)}z.Xd(this.query(".js-noteActions"),"is-noteEditorVisible");this.sf&&this.sf.focus()}};z.f.Eva=function(){this.sf&&this.sf.save()};
  z.f.Fsa=function(a){this.sf.Ec("");var b=this.query(".js-notesList");a={note:a,post:this.Ka.Ja(),AR:this.wA,sJ:this.wA};a=z.Xw(o8,a);b.appendChild(a);z.ae(b,"is-empty");C4a(this);this.DV()};z.f.Asa=function(a){var b=this.query(".js-notesList").lastChild;a=a.ig();z.Xd(b,"js-note-"+a);b.setAttribute("data-note-id",a);(b=b.querySelector(".js-deleteNote"))&&b.setAttribute("data-action-value",a)};z.f.yra=function(){var a=this.query(".js-notesList");a.removeChild(a.lastChild);z.Xd(a,"is-empty");this.GY()};
  z.f.DV=function(a){a?this.fa("close"):this.sf&&(this.sf.bb()&&this.sf.Ec(""),z.ae(this.query(".js-noteActions"),"is-noteEditorVisible"))};z.f.Jwa=function(a){(a=q8(a.target))&&this.wA&&D4a(this,a)};z.f.Fva=function(a){a=q8(a.target);(a=this.Ij[a])&&a.save()};
  z.f.Gsa=function(a){var b=a.ig();this.Ij[b]&&this.Ij[b].Ec("");var c=this.bf.tp(b,this.xe).author.userId==a.author.userId,d=this.query(".js-note-"+a.ig()+" .js-repliesList");a={note:a,post:this.Ka.Ja(),lea:c};a=z.Xw(o8,a);d.appendChild(a);z.ae(d,"is-empty");E4a(this,b)};z.f.Bsa=function(a){var b=this.query(".js-note-"+a.ig()).querySelector(".js-repliesList").lastChild;a=a.Rx();z.Xd(b,"js-reply-"+a);(b=b.querySelector(".js-deleteNote"))&&b.setAttribute("data-action-value",a)};
  z.f.zra=function(a){var b=this.query(".js-note-"+a.ig()+" .js-repliesList");b.removeChild(b.lastChild);z.Xd(b,"is-empty");D4a(this,a.ig())};z.f.epa=function(a){(a=q8(a.target))&&E4a(this,a)};z.f.hpa=function(a){a=a.target;var b=a.getAttribute("data-quote-creator-id"),c=k8(this.Re,this.xe);c&&(this.Dq&&this.Dq.z_(),this.Dq=G4a(this,c,a,function(){F4a(this,b,!1);z.On(this.Dq);this.Dq=null}),F4a(this,b,!0))};
  z.f.gpa=function(a){var b=k8(this.Re,this.xe);(a=this.bf.tp(a.target.getAttribute("data-note-id"),this.xe))&&b&&(b=(b=a.RB())?this.bf.DP(b):null,this.fa("set-active-highlight",this.xe,b))};z.f.ipa=function(a){var b=k8(this.Re,this.xe),c;c=this.$i;a=a.target.getAttribute("data-post-id");c=D7(c)?z.RN(D7(c),a):null;b&&c&&(b=I7(c))&&(b=J7(b)&&J7(b).Ln())&&(c=b.Sb())&&c.length&&(b=r8(b),this.fa("set-active-highlight",this.xe,b))};
  z.f.lZ=function(){var a=null;this.rG&&(a=r8(this.rG));this.Gj&&(a=this.Gj);this.fa("reset-highlight",this.xe,a)};
  z.f.d7=function(a,b){b=b.value;var c=this.bf.tp(b,this.xe),d=this.query(".js-note-"+b);if(c&&d){z.Ct(d);this.lZ();this.Ya(".js-note-item").every(function(a){return z.Ud(a,"u-hide")})&&this.DV(!0);var e=Y7(this.bf,c,"HIDDEN");z.v(e.$k,function(b){this.ha.ba(a?p4a():q4a(),"error");e.RI();z.Dt(d);(400>b.status||499<b.status)&&Y7(this.bf,c,"NEW")},this);z.t(this.ha.ba(a?s4a():t4a(),{type:"success",mD:!0}),function(){this.ha.bc();e.RI();Y7(this.bf,c,"NEW");z.Dt(d)},this)}};
  z.f.Qma=function(a){var b=a.value,c=this.query(".js-reply-"+b),d=q8(a.target);if(d&&c){z.Ct(c);var e=Z7(this.bf,b,d,this.Ka.za(),this.xe,"HIDDEN");z.v(e.$k,function(){this.ha.ba(r4a(),"error");e.RI();z.Dt(c);Z7(this.bf,b,d,this.Ka.za(),this.xe,"")},this);z.t(this.ha.ba(u4a(),{type:"success",mD:!0}),function(){this.ha.bc();e.RI();Z7(this.bf,b,d,this.Ka.za(),this.xe,"");z.Dt(c)},this)}};z.f.mua=function(){s8(this,this.iM-1)};z.f.Dqa=function(){s8(this,this.iM+1)};z.q(t8,z.O);z.f=t8.prototype;z.f.S=function(){t8.ea.S.call(this);var a=[];z.KF(this.Ka)&&a.push(this.bf.load(this.$a));this.C8||(a.push(this.ce.load(this.$a)),a.push(this.$i.load(this.$a)));this.Sv=z.t(z.t(z.t(z.aS(a),function(){this.Sv=null},this),this.render,this),this.Nla,this);z.Wx(this,this.jb,"resize-end",this.Ef,this)};z.f.ka=function(){this.Sv&&this.Sv.cancel();t8.ea.ka.call(this)};z.f.pb=function(){this.Sv=null;t8.ea.pb.call(this)};
  z.f.render=function(){m4a(this.Re,function(a,b){u8(this,b)},this)};z.f.Ef=function(){m4a(this.Re,function(a,b){N4a(this,b)},this)};z.f.Nla=function(){var a=this.ce.So;z.Wx(this,a,"add",this.E9,this);z.Wx(this,a,"remove",this.E9,this);(a=D7(this.$i))&&z.Wx(this,a,"add",this.xsa,this)};z.f.E9=function(a){H4a(this,Object.keys(z.wua(this.ce,a instanceof Array?a:[a])))};z.f.xsa=function(a){H4a(this,(a instanceof Array?a:[a]).map(this.$i.h0,this.$i))};
  z.f.uq=function(a){var b=window.document.createElement("div");b.className="notesMarkers";a.appendChild(b);return b};z.f.MF=function(a,b){z.Cb(a,{startIndex:Math.min(a.startIndex,b.startIndex),endIndex:Math.max(a.endIndex,b.endIndex),notes:a.notes.concat(b.notes),quotes:a.quotes.concat(b.quotes),responses:a.responses.concat(b.responses)})};z.q(v8,z.O);z.f=v8.prototype;
  z.f.S=function(){v8.ea.S.call(this);this.Ea(this.ya.U(),"click",this.gqa,this,!0);z.P(this.JF).O("select-anchor",this.Msa,this);var a=this.Ka.Ja();if(a.xr()&&!this.Ka.Gb()){var b=z.vr(a),b=2==a.visibility&&b;a.allowResponses&&!b&&z.v(this.$i.load(this.Ka.za(),"best"),z.Qx);z.v(this.ce.load(this.Ka.za()),z.Qx)}a.Yj().DH()&&(this.aN=z.t(this.bf.load(this.Ka.za()),this.bsa,this));this.yW&&x8(this,null);z.Wx(this,this.Wa,"historyUpdate",function(){x8(this,z.BF())},this);this.ze&&z.Wx(this,this.ze,"highlight",
  this.$ra,this)};z.f.pb=function(){z.On(this.mh);this.mh=null;z.On(this.Ll);this.Ll=null;this.JF&&z.P(this.JF).clear("select-anchor");this.aN&&this.aN.cancel();this.aN=null;v8.ea.pb.call(this)};z.f.ADa=function(a,b){w8(this,b,null,null,a)};z.f.FFa=function(){this.mh&&this.mh.Ef()};z.f.Qn=function(){if(!this.Ll)return!1;var a=this.Ll.bb();return a?a.Qn():!1};z.f.Xra=function(a){a.subscribe("add",this.Raa,this);a.subscribe("remove",this.Raa,this)};
  z.f.Raa=function(a){(z.na(a)?a:[a]).forEach(function(a){u8(this.mh,a.ge())},this)};z.f.bsa=function(){var a=(0,z.Ja)();this.aN=null;x8(this,z.BF());this.Ea(this.Nl,z.MI,this.jX,this);z.qz(z.nDa,(0,z.Ja)()-a)};z.f.jX=function(a){(a=a.target.getAttribute("name"))&&k8(this.Re,a)&&N4a(this.mh,a)};z.f.$ra=function(){if(this.ze){var a=T4a(this,this.ze.Yw);z.xF(this.ze);a&&(a=a.highlight,this.Q$(a.anchor,a),w8(this,a.anchor,a))}};
  z.f.gqa=function(a){if(this.Ll){var b=a.target;if(!z.zh(this.Ll.U(),b)){var c=this.Ll.bb(),d;if(!(d=!c)){a:if(c.sf&&c.sf.bb())c=!0;else{d=z.qb(c.Ij);for(var e=0;e<d.length;e++)if(d[e]&&d[e].bb()){c=!0;break a}c=c.Hc&&!c.Hc.Ii()?!0:!1}d=!c}d&&(c=this.Ll&&this.Ll.tn,d="select-anchor"==b.getAttribute("data-action"),this.bY(),c&&d&&z.zh(c,b)&&a.stopPropagation())}}};
  z.f.mn=function(a){if(!z.ax()){var b=a.tn,c=z.ux(b);a.fl();a=a.U();var d=z.ux(a),e=window.innerHeight,g=window.innerWidth,k=this.ya.query(".js-metabar"),l=0;k&&(l=z.ux(k).height);d.height>=e-l?Q3a(a):(z.qx(b),b=c.top+d.height>=e?z.rx().top+e-d.height-10:z.qx(b),c=z.ux(this.JF).left+10,c+d.width>=g&&(c=g-d.width-10),a.style.top=b+"px",a.style.left=c+"px")}};z.f.bY=function(){z.On(this.Ll);this.Ll=null};
  z.f.Msa=function(a){var b=z.xt(a.target,function(a){return z.Ud(a,"js-paragraphControl")},this.P9),b=O4a(this.mh,a.value,b);w8(this,a.value,null,null,null,b)};z.f.Q$=function(a,b){if(this.Ka.Gb()){var c=z.Uo();this.TN=(c=c&&n4a(this.Re,c.Af()))&&new P7(c)}S4a(this,a,b)};z.f.lva=function(a,b){S4a(this,a,b);this.Ka.Gb()&&this.TN&&(a=this.TN.restore())&&a.select();this.TN=null};
  z.f.Nw=function(a){if(this.Re&&(a=k8(this.Re,a))){a=Math.max(z.qx(a),0);var b=z.Bz(this.ya);this.Ml&&this.Ml.cancel();this.Ml=new z.Ap(b,"scrollTop",600,a)}};U4a.prototype.eP=function(a,b,c){return new v8(a,b,c)};z.m(y8,z.O);z.f=y8.prototype;z.f.Wb=function(a){this.Z=a};z.f.nJ=function(a){this.sh=a};z.f.IEa=function(a){this.BY=a};z.f.JEa=function(a){this.caa=a};z.f.S=function(){this.U()?(z.O.prototype.S.call(this),z.P(this.U()).O("show-responses-stream-editor",this.Zsa,this).O("show-other-responses",this.haa,this),z.Vw(this.U(),this.sh,{post:this.Z}),this.Z.xr()&&z.v(z.t(z.t(z.t(r3a(this.Pa,this.Z.ob(),"best"),this.x$.bind(this,"best")),this.Uua,this),function(){this.vZ.y3&&this.haa()},this),z.Qx)):z.Qx("Attempted to initialize ResponsesStreamControl without root element.")};
  z.f.ka=function(){z.P(this.U()).clear("show-other-responses");z.O.prototype.ka.call(this)};z.f.x$=function(a,b){this.isActive()&&(b=b.we,"best"==a?(a=this.query(".js-responsesStream"),z.Wx(this,b,"add",this.g9.bind(this,b)),this.g9(b)):a=this.query(".js-responsesStreamOther"),b&&(z.Or()||0<b.se())&&a&&(z.Vw(a,z.LQ,{items:z.SD(b),context:2}),b=new z.MS(this.W,b),b.Ha(a),b.ld(2),this.track(b),z.Dt(this.query(".js-responsesStreamWrapper"))),this.caa&&(a=z.qx(a),z.nx(window.document.body,0,a)))};
  z.f.Uua=function(){var a=this.query(".js-inlineNewPostControl"),b=this.query(".js-responsesLoggedOutPrompt");z.Or()?a?(this.Hc=z.jT(k3a((new z.iT(this.W)).cJ("web-inline-post-response").iJ(this.Z.ob()),z.Uw(z.kj,{post:this.Z,nR:!0})),this.BY).Ha(a),this.track(this.Hc)):b&&this.BY&&(a=z.px(b),b=z.qx(b),z.nx(a,0,b)):b&&z.Xd(b,"u-hide")};
  z.f.haa=function(){this.nX||(this.nX=z.ud(z.t(z.t(r3a(this.Pa,this.Z.ob(),"other"),this.x$.bind(this,"other")),function(){z.Ct(this.query(".js-showOtherResponses"));this.vZ.y3=!0},this),function(){this.nX=null},this))};z.f.g9=function(a){(a=a.Nk)&&a.next&&"other"==a.next.filter&&!this.vZ.y3&&(z.Dt(this.query(".js-responsesStreamWrapper")),z.Dt(this.query(".js-showOtherResponses")))};z.f.Dx=function(){this.Hc&&(z.PR(this.Hc.U(),new z.$o(60,0,200,0)),this.Hc.Dx())};
  z.f.Zsa=function(){var a=this.query(".js-responsesStreamEditor"),b=this.query(".js-showResponsesStreamEditorButton");z.Et(a)&&(z.Dt(a),z.Ct(b),this.Dx())};z.q(z8,z.Ux);z8.prototype.focus=function(){this.isActive&&this.Xy.focus()};z8.prototype.close=function(){this.Xy&&!this.Xy.closed&&this.Xy.close();this.fa("close");this.Nf()};z8.prototype.isActive=function(){return this.Xy?!this.Xy.closed:!1};z8.prototype.Ga=function(){this.Xy=null;z8.ea.Ga.call(this)};A8.prototype.Zu=function(a,b,c){var d;d=z.Kn;var e=new z.jj(z.Jn(d)),e=new z.Pe(e.kp(a));d=Q7(e,d);this.vw(d);z.wy(z.cG,{postId:a.id,type:b,source:c,dest:"facebook",dialogType:"native"})};A8.prototype.r3=function(a){var b;b=z.Kn;var c=new z.jj(z.Jn(b));a=new z.Pe(c.R(z.tw,{catalogSlug:a.Ne(),username:a.te().Xj()}));b=Q7(a,b);this.vw(b)};A8.prototype.s3=function(a){var b;b=z.Kn;var c=new z.jj(z.Jn(b));a=new z.Pe(c.R(z.kw,{sequenceSlug:a.Vc()}));b=Q7(a,b);this.vw(b)};
  A8.prototype.vw=function(a){V4a(a,"facebook-share",{width:550,height:320})};z.q(B8,z.Mn);
  B8.prototype.open=function(a,b){this.Z=a;this.ax=b;this.na=this.JE.open({bodyHtml:z.Uw(V3a,this.ax),type:"tweet"},!0);a=this.na.query(".js-tweetEditor-text");b=this.W;var c=String,d;d=z.n("Enter tweet text.");d=(0,z.y)(""+d);this.aH=new z.iY(b,a,c(d),!0);a=new z.FU(280,!0);a.S6=M7;this.aH.Ia(a);a=A3a(R3a,this.ax,z.Kn);this.aH.Ec(a);this.aH.focus();X4a(this);z.P(this.na.Ob).O("remove-textshot",this.W$.bind(this,!1),this).O("add-textshot",this.W$.bind(this,!0),this).O("toggle-expand-image",this.yxa,
  this);this.na.subscribe(z.wA,this.dya.bind(this))};B8.prototype.dya=function(){var a=this.aH.bb();if(Y4a(this,a)){var b=this.nM?W4a(this):null;z.v(z.t(this.X.post(this.V.R(z.JAa),{tweet:a,textshotInfo:b}),function(a){a=z.Ww(T3a,{id:a.value});a=z.Uw(X3a,{yFa:a});this.ha.ba(a,{type:"success",zl:1E4})},this),function(a){z.Qx(a);this.ha.ba(W3a(),"error")},this);z.kz(z.cDa,{postId:this.Z.id,type:this.ax.shareType,source:this.ax.MEa,dest:"twitter",style:this.nM?"textshot":null});this.na.close()}};
  B8.prototype.W$=function(a){this.nM=a;z.ie(this.na.query(".js-tweetEditor-imageContainer"),"u-hide",!a);z.ie(this.na.query(".js-tweetEditor-addTextshot"),"u-hide",a)};B8.prototype.yxa=function(){var a=this.na.query(".js-tweetEditor-image");z.je(a,"tweetEditor-image--expanded")};z.f=Z4a.prototype;z.f.LEa=function(a,b){var c=z.Lr(),d=a.creator||{},e=n3a(b),g=m3a(b),k=B3a(a,z.Kn);(b=Z3a(b.e0()))&&z.$e(k,b||"");var l={name:d.name||"",username:d.username||"",twitterScreenName:d.twitterScreenName||"",url:k.toString(),content:a.title,user:c,pFa:e,oFa:g,shareType:"highlight",MEa:"highlight_menu"};z.v(z.t(this.W.load("tweet-dialog"),function(b){b.open(a,l)}),z.Qx);z.kz(z.cG,{postId:a.id,type:"highlight",source:"highlight_menu",dest:"twitter",dialogType:"inapp"});return!0};
  z.f.Zu=function(a,b,c,d,e){var g=z.Lr().userId,k="highlight"==c?R3a:z.lia,l=z.Kn,p=a.creator||{};b={content:b,name:p.name||"",username:p.username||"",twitterScreenName:p.twitterScreenName||"",Bba:p.userId==g,url:B3a(a,l).toString(),collaborators:d||[]};d=d&&d.length?String(k(b,null,l)):A3a(k,b,l);k=new z.Pe("https://twitter.com/intent/tweet");z.df(k,"text",d);this.vw(k);z.wy(z.cG,{postId:a.id,type:c,source:e,dest:"twitter",dialogType:"native"})};
  z.f.r3=function(a){var b=z.Kn,c=new z.jj(z.Jn(b)),c=(new z.Pe(c.R(z.tw,{catalogSlug:a.Ne(),username:a.te().Xj()}))).toString();a=z.B(""+z.cm(String(a.name))+((null==a.creator?null:a.creator.userId)!=b.currentUser.userId?" — "+z.ot({twitterScreenName:null==a.creator?null:a.creator.twitterScreenName,name:null==a.creator?null:a.creator.name}):"")+" "+(""+c));b=new z.Pe("https://twitter.com/intent/tweet");z.df(b,"text",a);this.vw(b)};
  z.f.s3=function(a){var b=new z.jj(z.Jn(z.Kn)),b=(new z.Pe(b.R(z.kw,{sequenceSlug:a.Vc()}))).toString();a=z.B(""+z.cm(String(a.title))+" "+(""+b));b=new z.Pe("https://twitter.com/intent/tweet");z.df(b,"text",a);this.vw(b)};z.f.vw=function(a){V4a(a,"twitter-share",{width:670,height:420})};var m5a=z.Ty,n5a=m5a.oa();z.Wy(z.Wy(z.Wy(z.Wy(z.Wy(z.Wy(n5a.scope("screen").add("quotes",j8).add("quote-responses",U4a).add("responses-stream-control",y8).add("notes-data",W7),"PlacementsStore",$7),"FriendLinkControl",e8),"Meter",d8),"PostMeterBar",c8),"PostFooterReadNext",f8),"PostSidebar",i8);n5a.scope("app").add("twitter",Z4a).add("facebook",A8).add("tweet-dialog",B8);z.SN(m5a,"notes");}).call(this, _mdm);
  