Created
September 12, 2018 06:05
-
-
Save cowlicks/94536df0ffdb0791fc378de5aafd79fd to your computer and use it in GitHub Desktop.
fingerprinting on medium.com at https://cdn-static-1.medium.com/_/fp/gen-js/main-base.bundle.z9wcxy6LaqHdrH_6pfvOLw.js
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PLOVR_MODULE_INFO={"common-async":["base"],"pubs":["common-async"],"notes":["common-async"],"stats":["common-async"],"payments":["common-async"],"posters":["common-async"],"home-screens":["common-async"],"misc-screens":["common-async"],"hightower":["common-async"],"power-readers":["common-async"],"base":[]}; | |
PLOVR_MODULE_URIS={"common-async":"fingerprint:common-async","pubs":"fingerprint:pubs","notes":"fingerprint:notes","stats":"fingerprint:stats","payments":"fingerprint:payments","posters":"fingerprint:posters","home-screens":"fingerprint:home-screens","misc-screens":"fingerprint:misc-screens","hightower":"fingerprint:hightower","power-readers":"fingerprint:power-readers","base":"fingerprint:base"}; | |
PLOVR_MODULE_USE_DEBUG_MODE=false; | |
var _mdm={};(function(z){ | |
'use strict';var ea,fa,aaa,ia,ha,daa,ma,faa,gaa,Ga,Oa,Na,oaa,paa,hb,qaa,raa,jb,saa,taa,Db,uaa,vaa,waa,xaa,Mb,Nb,Ob,Pb,Qb,yaa,ac,bc,gc,zaa,hc,ic,Baa,Aaa,lc,Caa,Dc,Daa,Ec,Qc,Tc,Xc,Yc,fd,Eaa,Lc,Faa,ed,$c,ad,id,Gaa,hd,pd,rd,yd,Fd,nd,qd,Id,qe,Jaa,Kaa,Laa,Maa,Naa,Fe,Ce,Oaa,Qaa,Ke,Saa,Se,We,Taa,Uaa,af,x,Vaa,Waa,df,Xaa,of,qf,Yaa,sf,tf,aba,bba,If,Gf,eba,gba,Rf,hba,iba,Jf,jba,Kf,kba,Uf,mba,Vf,oba,Xf,Yf,rba,Zf,$f,dg,eg,uba,Cba,kg,mg,Dba,og,sg,Hba,Jba,Oba,Tba,Sba,Rba,Lba,pg,Xg,Uba,Vba,Zg,ah,bh,dh,eh,ih,jh,kh, | |
Yba,oh,Zba,eca,fca,wh,th,Dh,gca,sca,tca,uca,vca,Yh,yca,zca,di,Eca,gi,hi,Fca,Gca,Ica,Hca,mi,Dca,Aca,Jca,Lca,Mca,Kca,Di,Ri,Vca,Wca,Yi,Xca,$i,pj,qj,rj,tj,uj,vj,wj,ada,zj,$ca,cda,fda,gda,Ij,Kj,hda,ida,jda,kda,lda,mda,nda,oda,pda,qda,rda,vda,xda,zda,Cda,Dda,Eda,Fda,Gda,Mda,Nda,Pda,lk,Qda,Rda,Sda,Uda,Wda,Zda,$da,aea,Ek,dea,Ck,eea,fea,gea,Yk,hea,Zk,gl,iea,jea,kea,lea,ll,mea,nea,oea,pea,qea,rea,sea,tea,uea,vea,wea,xea,yea,zea,Aea,Bea,Cea,Dea,Eea,Fea,Gea,Hea,Iea,Jea,Kea,Lea,Mea,Sea,Tea,Uea,Wea,Zea,$ea,afa, | |
ffa,gfa,hfa,ifa,jfa,kfa,lfa,mfa,nfa,ofa,pfa,qfa,rfa,sfa,tfa,ul,vl,ufa,vfa,wl,wfa,xfa,yfa,zfa,xl,Afa,Bfa,Cfa,Dfa,Efa,Ffa,Gfa,Hfa,Ifa,Jfa,Lfa,Nfa,Ofa,Pfa,cm,dm,Sfa,Qfa,Rfa,Ufa,Vfa,Wfa,Xfa,Yfa,Zfa,$fa,aga,cga,ega,fga,gga,iga,km,lm,kga,jga,lga,mm,mga,nm,nga,qga,vm,rga,sga,tga,wga,yga,Aga,zga,Bga,Dga,Cga,Ega,Cm,Fga,Gga,Iga,Jga,Lga,Mga,Kga,Zca,Nga,Oga,Pga,sj,Qga,Rga,Sga,Tga,Uga,Gm,Vga,Hm,Wga,Xga,Jm,Yga,Zga,$ga,aha,bha,cha,dha,eha,Km,Lm,fha,Mm,gha,hha,Om,iha,hn,Cn,In,Jn,Kn,Mn,pha,On,qha,rha,sha,Rn,Sn,uha, | |
Nn,Hn,Wn,$n,bo,vha,co,fo,wha,io,jo,xha,Xn,oo,wo,zha,Go,Cha,Io,Aha,Dha,Lo,Fha,No,Vo,To,Wo,$o,Hha,ip,Iha,jp,lp,sp,Jha,Kha,Fp,Lha,Yp,bq,dq,Mha,iq,Nha,qq,rq,vq,xq,Hq,Pha,Qha,Oq,Pq,Qq,Rha,Tq,mr,nr,pr,yr,zr,Cr,Er,Tha,Uha,Vha,Jr,Or,Pr,Wha,Xha,Yha,aia,cs,es,cia,dia,ms,gia,hia,rs,ss,ts,us,iia,jia,ws,xs,vs,lia,mia,kia,nia,oia,pia,ys,tia,qia,sia,ria,xia,yia,zia,As,Cs,Bia,Gia,Hia,Hs,Ks,Ms,Ns,Os,Ps,Qs,Rs,Iia,Ss,Jia,Kia,Ts,Mia,Lia,Us,Pia,$s,Xs,Ys,Sia,Bt,Dt,bja,dja,au,fja,cu,gja,jja,tja,iu,zja,uja,Eja,vja,wja,Cja, | |
Dja,ku,sja,ju,gu,fu,Mja,Bja,Aja,Nja,Oja,xu,Qja,Rja,Cu,Tja,eda,Ola,yw,Fj,Pla,zw,Qla,Rla,Sla,Hw,Tla,Wla,Ow,Ula,Xla,Yla,Tw,Zla,$la,cma,dma,gx,ix,jx,ema,kx,fma,gma,mx,hma,ima,lx,px,jma,kma,nma,qx,rx,sx,tx,oma,pma,wx,qma,rma,sma,tma,yx,vma,zx,uma,xma,yma,zma,Ama,Gx,Lx,Mx,Nx,Bma,Cma,Rx,Yx,$x,ay,fy,Ima,Hma,gy,hy,iy,Jma,ny,oy,Uma,Oma,Pma,Vma,Qma,Rma,Wma,Nma,Sma,Tma,Mma,py,sy,Xma,uy,Yma,Zma,$ma,wy,xy,yy,ana,zy,bna,By,cna,Cy,Ey,Fy,dna,Gy,Hy,Ky,Iy,fna,gna,Ny,hna,Oy,Py,ina,lna,nna,Qy,kna,mna,ona,pna,qna,Vy,Xy, | |
Wy,sna,Yy,tna,az,bz,cz,dz,ez,una,fz,vna,xna,hz,Bna,zna,kz,gz,iz,yna,Dna,Ena,Ana,Hna,Ina,Jna,Kna,nz,Lna,Mna,uz,wz,zz,Qna,Rna,Sna,Bz,Tna,Una,Vna,Cz,Dz,Xna,Yna,Fz,Zna,aoa,boa,Lz,coa,sA,tA,doa,eoa,foa,goa,wA,hoa,koa,ioa,joa,loa,moa,zA,xA,yA,poa,ooa,noa,roa,soa,toa,voa,woa,xoa,yoa,FA,uoa,DA,CA,IA,KA,qoa,GA,EA,LA,Aoa,Boa,Doa,Coa,PA,NA,TA,UA,Eoa,Hoa,XA,YA,Joa,Loa,Moa,aB,$A,Poa,Roa,Soa,Qoa,Toa,bB,hB,Voa,Woa,apa,bpa,dB,cB,Uoa,Noa,gB,ipa,fB,mpa,kpa,rpa,Ooa,tpa,upa,vpa,lB,mB,oB,wpa,xpa,ypa,sB,uB,vB,Bpa,Apa, | |
wB,Cpa,Dpa,xB,yB,zB,Epa,Fpa,AB,Gpa,BB,CB,Hpa,EB,GB,HB,IB,JB,KB,LB,NB,OB,PB,QB,RB,SB,Lpa,Mpa,rC,sC,tC,Qpa,vC,wC,xC,yC,zC,AC,BC,DC,Opa,Ppa,Rpa,Spa,Tpa,Upa,Vpa,Wpa,Ypa,Gna,KC,LC,MC,NC,OC,QC,Zpa,TC,Cna,UC,pqa,VC,WC,XC,sqa,tqa,uqa,vqa,$C,wqa,yqa,Cqa,Eqa,Dqa,fD,iD,jD,kD,Jqa,lD,mD,Kqa,zta,yta,Lqa,Ata,nD,Cta,oD,Dta,pD,qD,rD,sD,Eta,tD,Gta,uD,Jta,Ita,Kta,Mta,Nta,Ota,Pta,vD,Lta,wD,zD,Qta,Hqa,Rta,Sta,Tta,ID,Vta,Wta,LD,MD,hD,SD,Xta,Yta,TD,Zta,XD,aua,cua,gua,fua,jua,$ta,bE,kua,lua,nua,mua,oua,pua,nE,sua,tua,xua, | |
zua,Aua,Bua,Cua,Dua,wE,xE,yE,zE,Eua,Fua,Jua,Lua,Mua,Oua,DE,EE,FE,Pua,Qua,PE,Rua,Sua,Tua,RE,QE,Vua,Xua,Zua,$ua,ava,bva,eva,cva,dva,VE,fva,gva,XE,iva,ZE,kva,aF,ova,pva,qva,dF,sva,kF,nF,yva,zva,xva,Bva,rF,xF,Gva,Hva,Iva,Lva,Kva,Nva,Mva,Pva,GF,Ova,Qva,Rva,Tva,Uva,Xva,Yva,JF,yF,awa,LF,bwa,NF,jwa,iwa,ewa,fwa,gwa,mwa,owa,pwa,qwa,ZF,YF,rwa,wwa,vwa,wua,xwa,Awa,zwa,fG,Bwa,Cwa,Dwa,Ewa,Fwa,gG,Iwa,Hwa,Lwa,Mwa,Nwa,iG,jG,Owa,Pwa,lG,Rwa,Swa,Twa,Vwa,Wwa,Xwa,mG,Zwa,iua,pG,cxa,sG,fxa,qxa,sxa,yz,zoa,txa,uxa,vxa,uG,vG, | |
xxa,xG,yxa,zG,Axa,zxa,Bxa,eD,DG,EG,FG,Fxa,GG,HG,IG,JG,Gxa,Hxa,KG,Jxa,Ixa,DH,Lxa,Mxa,EH,Oxa,FH,GH,Pxa,Qxa,Rxa,Sxa,HH,IH,JH,KH,hua,Fna,LH,Vxa,OH,Wxa,Xxa,PH,QH,RH,$xa,SH,TH,bya,aya,VH,cya,dya,eya,da,ca,caa,baa,ta,eaa;z.h=function(a){return function(){return z.aa[a].apply(this,arguments)}};ea=function(a,b){(ca[a]=ca[a]||[]).push(b);var c=da;a=a.split(".");for(var d=0;d<a.length-1&&c;d++)c=c[a[d]];a=a[a.length-1];c&&c[a]instanceof Function&&(c[a]=b(c[a]))}; | |
fa=function(){fa=function(){};if(!da.Symbol){da.Symbol=aaa;var a=[],b=function(b){return function(d){a=[];d=b(d);for(var e=[],g=0,k=d.length;g<k;g++){var l;a:if(l=d[g],14>l.length)l=!1;else{for(var q=0;14>q;q++)if(l[q]!="jscomp_symbol_"[q]){l=!1;break a}l=!0}l?a.push(d[g]):e.push(d[g])}return e}};ea("Object.keys",b);ea("Object.getOwnPropertyNames",b);ea("Object.getOwnPropertySymbols",function(c){return function(d){b.MZa=Object.getOwnPropertyNames(d);a.push.apply(c(d));return a}})}}; | |
aaa=function(a){return"jscomp_symbol_"+a+baa++};ia=function(){fa();var a=da.Symbol.iterator;a||(a=da.Symbol.iterator=da.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&caa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ha(this)}});ia=function(){}};ha=function(a){var b=0;return daa(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})};daa=function(a){ia();a={next:a};a[da.Symbol.iterator]=function(){return this};return a}; | |
z.ja=function(a){ia();fa();ia();var b=a[window.Symbol.iterator];return b?b.call(a):ha(a)};z.m=function(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a;for(var d in b)if(Object.defineProperties){var e=Object.getOwnPropertyDescriptor(b,d);e&&Object.defineProperty(a,d,e)}else a[d]=b[d]};z.ka=function(a){return void 0!==a};z.la=function(){}; | |
ma=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; | |
else if("function"==b&&"undefined"==typeof a.call)return"object";return b};z.na=function(a){return"array"==ma(a)};z.oa=function(a){var b=ma(a);return"array"==b||"object"==b&&"number"==typeof a.length};z.pa=function(a){return"string"==typeof a};z.qa=function(a){return"number"==typeof a};z.ra=function(a){return"function"==ma(a)};z.sa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};z.va=function(a){return a[ta]||(a[ta]=++eaa)};faa=function(a,b,c){return a.call.apply(a.bind,arguments)}; | |
gaa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}};z.wa=function(a,b,c){z.wa=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?faa:gaa;return z.wa.apply(null,arguments)}; | |
z.xa=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}};z.n=function(a,b){b&&(a=a.replace(/\{\$([^}]+)}/g,function(a,d){return null!=b&&d in b?b[d]:a}));return a}; | |
z.p=function(a,b){function c(){}c.prototype=b.prototype;a.ea=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.MTa=function(a,c,g){for(var k=Array(arguments.length-2),l=2;l<arguments.length;l++)k[l-2]=arguments[l];return b.prototype[c].apply(a,k)}};z.za=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,z.za);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};z.Aa=function(a,b){return 0==a.lastIndexOf(b,0)}; | |
z.Ba=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};z.Ca=function(a){return/^[\s\xa0]*$/.test(a)};z.Da=function(a){return z.Ca(null==a?"":String(a))}; | |
z.Ea=function(a){if(!haa.test(a))return a;-1!=a.indexOf("\x26")&&(a=a.replace(iaa,"\x26amp;"));-1!=a.indexOf("\x3c")&&(a=a.replace(jaa,"\x26lt;"));-1!=a.indexOf("\x3e")&&(a=a.replace(kaa,"\x26gt;"));-1!=a.indexOf('"')&&(a=a.replace(laa,"\x26quot;"));-1!=a.indexOf("'")&&(a=a.replace(maa,"\x26#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(naa,"\x26#0;"));return a};Ga=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a};z.Ha=function(a,b){return-1!=a.indexOf(b)}; | |
z.Ia=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};z.Ka=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,z.Ja)()).toString(36)}; | |
Oa=function(a,b){var c=0;a=(0,z.La)(String(a)).split(".");b=(0,z.La)(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var g=a[e]||"",k=b[e]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];if(0==g[0].length&&0==k[0].length)break;c=Na(0==g[1].length?0:(0,window.parseInt)(g[1],10),0==k[1].length?0:(0,window.parseInt)(k[1],10))||Na(0==g[2].length,0==k[2].length)||Na(g[2],k[2]);g=g[3];k=k[3]}while(0==c)}return c}; | |
Na=function(a,b){return a<b?-1:a>b?1:0};z.Qa=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};z.Sa=function(a){var b=z.pa(void 0)?z.Ia(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};z.Ta=function(a){return a[a.length-1]};z.Va=function(a,b,c){b=z.Ua(a,b,c);return 0>b?null:z.pa(a)?a.charAt(b):a[b]}; | |
z.Ua=function(a,b,c){for(var d=a.length,e=z.pa(a)?a.split(""):a,g=0;g<d;g++)if(g in e&&b.call(c,e[g],g,a))return g;return-1};oaa=function(a,b){for(var c=a.length,d=z.pa(a)?a.split(""):a,c=c-1;0<=c;c--)if(c in d&&b.call(void 0,d[c],c,a))return c;return-1};z.Xa=function(a,b){return 0<=(0,z.Wa)(a,b)};z.Za=function(a,b){b=(0,z.Wa)(a,b);var c;(c=0<=b)&&z.Ya(a,b);return c};z.Ya=function(a,b){Array.prototype.splice.call(a,b,1)};z.$a=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)}; | |
z.ab=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};z.bb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(z.oa(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var k=0;k<g;k++)a[e+k]=d[k]}else a.push(d)}};z.eb=function(a,b,c,d){Array.prototype.splice.apply(a,z.db(arguments,1))};z.db=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}; | |
z.fb=function(a,b,c){function d(a){return z.sa(a)?"o"+z.va(a):(typeof a).charAt(0)+a}b=b||a;c=c||d;for(var e={},g=0,k=0;k<a.length;){var l=a[k++],q=c(l);Object.prototype.hasOwnProperty.call(e,q)||(e[q]=!0,b[g++]=l)}b.length=g};paa=function(a,b){return hb(a,b,!0,void 0,void 0)};hb=function(a,b,c,d,e){for(var g=0,k=a.length,l;g<k;){var q=g+k>>1,r;r=c?b.call(e,a[q],q,a):b(d,a[q]);0<r?g=q+1:(k=q,l=!r)}return l?g:~g};z.kb=function(a,b){a.sort(b||jb)}; | |
qaa=function(a,b){var c=jb;z.kb(a,function(a,e){return c(b(a),b(e))})};raa=function(a){qaa(a,function(a){return a.langName})};jb=function(a,b){return a>b?1:a<b?-1:0};z.lb=function(a,b,c){for(var d={},e=0;e<a.length;e++){var g=a[e],k=b.call(c,g,e,a);z.ka(k)&&(d[k]||(d[k]=[])).push(g)}return d};z.ob=function(a,b){var c={};(0,z.nb)(a,function(d,e){c[b.call(void 0,d,e,a)]=d});return c};z.pb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)}; | |
saa=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};z.qb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};z.tb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};taa=function(a,b){return null!==a&&b in a};z.ub=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};z.vb=function(a){for(var b in a)return!1;return!0};z.wb=function(a){for(var b in a)delete a[b]};z.xb=function(a){var b={},c;for(c in a)b[c]=a[c];return b}; | |
z.zb=function(a){var b={},c;for(c in a)b[a[c]]=c;return b};z.Cb=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<Ab.length;g++)c=Ab[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};Db=function(a){var b=arguments.length;if(1==b&&z.na(arguments[0]))return Db.apply(null,arguments[0]);if(b%2)throw Error("Uneven number of arguments");for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c}; | |
z.Eb=function(a){var b=arguments.length;if(1==b&&z.na(arguments[0]))return z.Eb.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};uaa=function(a){var b=Array.prototype.slice.call(arguments);b.unshift(this);return z.wa.apply(null,b)};vaa=function(a){var b=Array.prototype.slice.call(arguments);b.unshift(this);return z.Wa.apply(null,b)};waa=function(a){var b=Array.prototype.slice.call(arguments);b.unshift(this);return z.Hb.apply(null,b)}; | |
xaa=function(a){var b=Array.prototype.slice.call(arguments);b.unshift(this);return z.Va.apply(null,b)};Mb=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0};Nb=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};Ob=function(a,b,c){this.YCa=c;this.zza=a;this.yEa=b;this.QQ=0;this.$P=null};Pb=function(){this.aS=this.qD=null};Qb=function(){this.next=this.scope=this.Vd=null}; | |
z.Vb=function(a){Rb[Rb.length]=a;if(Tb)for(var b=0;b<Ub.length;b++)a((0,z.wa)(Ub[b].az,Ub[b]))};yaa=function(){var a=Wb;Tb=!0;for(var b=(0,z.wa)(a.az,a),c=0;c<Rb.length;c++)Rb[c](b);Ub.push(a)};z.$b=function(a){return function(){return a}};ac=function(a){return a};bc=function(){return function(){throw Error("Not implemented");}};z.cc=function(a){var b=arguments,c=b.length;return function(){for(var a,e=0;e<c;e++)a=b[e].apply(this,arguments);return a}};gc=function(a){return z.Ha(dc,a)}; | |
zaa=function(a){for(var b=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c};hc=function(){return gc("Trident")||gc("MSIE")};ic=function(){return(gc("Chrome")||gc("CriOS"))&&!gc("Edge")}; | |
Baa=function(){function a(a){a=z.Va(a,d);return c[a]||""}var b=dc;if(hc())return Aaa(b);var b=zaa(b),c={};(0,z.nb)(b,function(a){c[a[0]]=a[1]});var d=z.xa(taa,c);return gc("Opera")?a(["Version","Opera"]):gc("Edge")?a(["Edge"]):ic()?a(["Chrome","CriOS"]):(b=b[2])&&b[1]||""}; | |
Aaa=function(a){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])return b[1];var b="",c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];return b};lc=function(a){z.kc.setTimeout(function(){throw a;},0)}; | |
z.tc=function(a){a=pc(a);!z.ra(z.kc.setImmediate)||z.kc.Window&&z.kc.Window.prototype&&!gc("Edge")&&z.kc.Window.prototype.setImmediate==z.kc.setImmediate?(qc||(qc=Caa()),qc(a)):z.kc.setImmediate(a)}; | |
Caa=function(){var a=z.kc.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!gc("Presto")&&(a=function(){var a=window.document.createElement("IFRAME");a.style.display="none";a.src="";window.document.documentElement.appendChild(a);var b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host,a=(0,z.wa)(function(a){if(("*"== | |
d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!hc()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(z.ka(c.next)){c=c.next;var a=c.Oba;c.Oba=null;a()}};return function(a){d.next={Oba:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof window.document&&"onreadystatechange"in window.document.createElement("SCRIPT")?function(a){var b=window.document.createElement("SCRIPT"); | |
b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};window.document.documentElement.appendChild(b)}:function(a){z.kc.setTimeout(a,0)}};Dc=function(a,b){uc||Daa();Ac||(uc(),Ac=!0);Bc.add(a,b)};Daa=function(){var a=z.kc.Promise;if(-1!=String(a).indexOf("[native code]")){var b=a.resolve(void 0);uc=function(){b.then(Ec)}}else uc=function(){z.tc(Ec)}};Ec=function(){for(var a;a=Bc.remove();){try{a.Vd.call(a.scope)}catch(b){lc(b)}Fc.put(a)}Ac=!1}; | |
Qc=function(a,b){this.jo=Kc;this.bs=void 0;this.uB=this.au=this.yj=null;this.ZP=this.C_=!1;if(a!=z.la)try{var c=this;a.call(b,function(a){Lc(c,Mc,a)},function(a){Lc(c,Oc,a)})}catch(d){Lc(this,Oc,d)}};Tc=function(){this.next=this.context=this.BC=this.DI=this.ux=null;this.RO=!1};Xc=function(a,b,c){var d=Vc.get();d.DI=a;d.BC=b;d.context=c;return d}; | |
Yc=function(a,b){if(a.jo==Kc)if(a.yj){var c=a.yj;if(c.au){for(var d=0,e=null,g=null,k=c.au;k&&(k.RO||(d++,k.ux==a&&(e=k),!(e&&1<d)));k=k.next)e||(g=k);e&&(c.jo==Kc&&1==d?Yc(c,b):(g?(d=g,d.next==c.uB&&(c.uB=d),d.next=d.next.next):$c(c),ad(c,e,Oc,b)))}a.yj=null}else Lc(a,Oc,b)};fd=function(a,b){a.au||a.jo!=Mc&&a.jo!=Oc||ed(a);a.uB?a.uB.next=b:a.au=b;a.uB=b}; | |
Eaa=function(a,b,c,d){var e=Xc(null,null,null);e.ux=new Qc(function(a,k){e.DI=b?function(c){try{var e=b.call(d,c);a(e)}catch(r){k(r)}}:a;e.BC=c?function(b){try{var e=c.call(d,b);!z.ka(e)&&b instanceof hd?k(b):a(e)}catch(r){k(r)}}:k});e.ux.yj=a;fd(a,e);return e.ux}; | |
Lc=function(a,b,c){if(a.jo==Kc){a===c&&(b=Oc,c=new TypeError("Promise cannot resolve to itself"));a.jo=1;var d;a:{var e=c,g=a.SFa,k=a.TFa;if(e instanceof Qc)fd(e,Xc(g||z.la,k||null,a)),d=!0;else if(Nb(e))e.then(g,k,a),d=!0;else{if(z.sa(e))try{var l=e.then;if(z.ra(l)){Faa(e,l,g,k,a);d=!0;break a}}catch(q){k.call(a,q);d=!0;break a}d=!1}}d||(a.bs=c,a.jo=b,a.yj=null,ed(a),b!=Oc||c instanceof hd||Gaa(a,c))}}; | |
Faa=function(a,b,c,d,e){function g(a){l||(l=!0,d.call(e,a))}function k(a){l||(l=!0,c.call(e,a))}var l=!1;try{b.call(a,k,g)}catch(q){g(q)}};ed=function(a){a.C_||(a.C_=!0,Dc(a.bAa,a))};$c=function(a){var b=null;a.au&&(b=a.au,a.au=b.next,b.next=null);a.au||(a.uB=null);return b};ad=function(a,b,c,d){if(c==Oc&&b.BC&&!b.RO)for(;a&&a.ZP;a=a.yj)a.ZP=!1;if(b.ux)b.ux.yj=null,id(b,c,d);else try{b.RO?b.DI.call(b.context):id(b,c,d)}catch(e){jd.call(null,e)}Vc.put(b)}; | |
id=function(a,b,c){b==Mc?a.DI.call(a.context,c):a.BC&&a.BC.call(a.context,c)};Gaa=function(a,b){a.ZP=!0;Dc(function(){a.ZP&&jd.call(null,b)})};hd=function(a){z.za.call(this,a)};z.kd=function(a,b){this.sR=[];this.nfa=a;this.hca=b||null;this.ZH=this.cf=!1;this.bs=void 0;this.C3=this.aza=this.TZ=!1;this.NR=0;this.yj=null;this.XO=0};pd=function(a,b,c){a.cf=!0;a.bs=c;a.ZH=!b;nd(a)};rd=function(a){if(a.cf){if(!a.C3)throw new qd(a);a.C3=!1}};z.u=function(a,b,c){return yd(a,b,null,c)}; | |
z.v=function(a,b,c){return yd(a,null,b,c)};z.zd=function(a,b,c){return yd(a,b,b,c)};z.Ad=function(a,b,c){return yd(a,b,function(a){var c=b.call(this,a);if(!z.ka(c))throw a;return c},c)};yd=function(a,b,c,d){a.sR.push([b,c,d]);a.cf&&nd(a);return a};z.Bd=function(a,b){return b instanceof z.kd?z.u(a,(0,z.wa)(b.yc,b)):z.u(a,function(){return b})};Fd=function(a){return(0,z.Cd)(a.sR,function(a){return z.ra(a[1])})}; | |
nd=function(a){if(a.NR&&a.cf&&Fd(a)){var b=a.NR,c=Hd[b];c&&(Haa.call(z.kc,c.Dp),delete Hd[b]);a.NR=0}a.yj&&(a.yj.XO--,delete a.yj);for(var b=a.bs,d=c=!1;a.sR.length&&!a.TZ;){var e=a.sR.shift(),g=e[0],k=e[1],e=e[2];if(g=a.ZH?k:g)try{var l=g.call(e||a.hca,b);z.ka(l)&&(a.ZH=a.ZH&&(l==b||l instanceof Error),a.bs=b=l);if(Nb(b)||"function"===typeof z.kc.Promise&&b instanceof z.kc.Promise)d=!0,a.TZ=!0}catch(q){b=q,a.ZH=!0,Fd(a)||(c=!0)}}a.bs=b;d&&(l=(0,z.wa)(a.Wba,a,!0),d=(0,z.wa)(a.Wba,a,!1),b instanceof | |
z.kd?(yd(b,l,d),b.aza=!0):b.then(l,d));c&&(b=new Id(b),Hd[b.Dp]=b,a.NR=b.Dp)};z.Jd=function(a){var b=new z.kd;b.callback(a);return b};z.Kd=function(a){var b=new z.kd;b.Bh(a);return b};z.Rd=function(){var a=new z.kd;a.cancel();return a};qd=function(a){z.za.call(this);this.al=a};z.Sd=function(a){z.za.call(this);this.al=a};Id=function(a){this.Dp=Iaa.call(z.kc,(0,z.wa)(this.GFa,this),0);this.aAa=a};z.Td=function(a){if(a.classList)return a.classList;a=a.className;return z.pa(a)&&a.match(/\S+/g)||[]}; | |
z.Ud=function(a,b){return a.classList?a.classList.contains(b):z.Xa(z.Td(a),b)};z.Vd=function(a,b){a.classList?a.classList.add(b):z.Ud(a,b)||(a.className+=0<a.className.length?" "+b:b)};z.Wd=function(a,b){if(a.classList)(0,z.nb)(b,function(b){z.Vd(a,b)});else{var c={};(0,z.nb)(z.Td(a),function(a){c[a]=!0});(0,z.nb)(b,function(a){c[a]=!0});a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}}; | |
z.de=function(a,b){a.classList?a.classList.remove(b):z.Ud(a,b)&&(a.className=(0,z.be)(z.Td(a),function(a){return a!=b}).join(" "))};z.ee=function(a,b){a.classList?(0,z.nb)(b,function(b){z.de(a,b)}):a.className=(0,z.be)(z.Td(a),function(a){return!z.Xa(b,a)}).join(" ")};z.fe=function(a,b,c){c?z.Vd(a,b):z.de(a,b)};z.me=function(a,b){var c=!z.Ud(a,b);z.fe(a,b,c);return c};z.ne=function(a,b,c){z.de(a,b);z.Vd(a,c)};z.oe=function(a){this.Cd=a||{cookie:""}}; | |
qe=function(a){a=(a.Cd.cookie||"").split(pe);for(var b=[],c=[],d,e,g=0;e=a[g];g++)d=e.indexOf("\x3d"),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};Jaa=function(a){if(a.sj&&"function"==typeof a.sj)return a.sj();if(z.pa(a))return a.split("");if(z.oa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return z.qb(a)}; | |
Kaa=function(a){if(a.Ei&&"function"==typeof a.Ei)return a.Ei();if(!a.sj||"function"!=typeof a.sj){if(z.oa(a)||z.pa(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return z.tb(a)}};Laa=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(z.oa(a)||z.pa(a))(0,z.nb)(a,b,c);else for(var d=Kaa(a),e=Jaa(a),g=e.length,k=0;k<g;k++)b.call(c,e[k],d&&d[k],a)};z.re=function(a,b,c){return Math.min(Math.max(a,b),c)}; | |
z.ve=function(a){return se(arguments,function(a,c){return a+c},0)};Maa=function(a){return z.ve.apply(null,arguments)/arguments.length};z.xe=function(){};z.ze=function(a){if(a instanceof z.xe)return a;if("function"==typeof a.Jv)return a.Jv(!1);if(z.oa(a)){var b=0,c=new z.xe;c.next=function(){for(;;){if(b>=a.length)throw z.ye;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");};z.Ae=function(a){try{return z.ze(a).next()}catch(b){if(b!=z.ye)throw b;return null}}; | |
z.Be=function(a,b){this.Em={};this.Oe=[];this.JJ=this.We=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};Naa=function(a,b){return a===b};Fe=function(a){if(a.We!=a.Oe.length){for(var b=0,c=0;b<a.Oe.length;){var d=a.Oe[b];Ce(a.Em,d)&&(a.Oe[c++]=d);b++}a.Oe.length=c}if(a.We!=a.Oe.length){for(var e={},c=b=0;b<a.Oe.length;)d=a.Oe[b],Ce(e,d)||(a.Oe[c++]=d,e[d]=1),b++;a.Oe.length=c}}; | |
Ce=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};z.He=function(a,b){return b.match(Ge)[a]||null};Oaa=function(a,b){if(a){a=a.split("\x26");for(var c=0;c<a.length;c++){var d=a[c].indexOf("\x3d"),e,g=null;0<=d?(e=a[c].substring(0,d),g=a[c].substring(d+1)):e=a[c];b(e,g?(0,window.decodeURIComponent)(g.replace(/\+/g," ")):"")}}}; | |
Qaa=function(a,b){var c=a.search(Paa),d;a:{d=0;for(var e=b.length;0<=(d=a.indexOf(b,d))&&d<c;){var g=a.charCodeAt(d-1);if(38==g||63==g)if(g=a.charCodeAt(d+e),!g||61==g||38==g||35==g)break a;d+=e+1}d=-1}if(0>d)return null;e=a.indexOf("\x26",d);if(0>e||e>c)e=c;d+=b.length+1;return(0,window.decodeURIComponent)(a.substr(d,e-d).replace(/\+/g," "))}; | |
z.Ie=function(a,b){this.qp=this.Wy=this.If="";this.ul=null;this.EH=this.II="";this.ym=this.mea=!1;var c;a instanceof z.Ie?(this.ym=z.ka(b)?b:a.ym,z.Je(this,a.If),c=a.Wy,Ke(this),this.Wy=c,this.Jm(a.Dd()),z.Le(this,a.ul),this.tk(a.Ed()),z.Qe(this,a.dg.clone()),z.Re(this,a.EH)):a&&(c=String(a).match(Ge))?(this.ym=!!b,z.Je(this,c[1]||"",!0),a=c[2]||"",Ke(this),this.Wy=Se(a),this.Jm(c[3]||"",!0),z.Le(this,c[4]),this.tk(c[5]||"",!0),z.Qe(this,c[6]||"",!0),z.Re(this,c[7]||"",!0)):(this.ym=!!b,this.dg=new z.Ve(null, | |
0,this.ym))};z.Je=function(a,b,c){Ke(a);a.If=c?Se(b,!0):b;a.If&&(a.If=a.If.replace(/:$/,""));return a};z.Le=function(a,b){Ke(a);if(b){b=Number(b);if((0,window.isNaN)(b)||0>b)throw Error("Bad port number "+b);a.ul=b}else a.ul=null;return a};z.Qe=function(a,b,c){Ke(a);b instanceof z.Ve?(a.dg=b,a.dg.S2(a.ym)):(c||(b=We(b,Raa)),a.dg=new z.Ve(b,0,a.ym));return a};z.Xe=function(a,b,c){Ke(a);a.dg.set(b,c)};z.Re=function(a,b,c){Ke(a);a.EH=c?Se(b):b;return a}; | |
Ke=function(a){if(a.mea)throw Error("Tried to modify a read-only Uri");};z.Ye=function(a){return a instanceof z.Ie?a.clone():new z.Ie(a,void 0)};Saa=function(a,b,c,d,e,g){var k=new z.Ie(null,void 0);a&&z.Je(k,a);b&&k.Jm(b);c&&z.Le(k,c);d&&k.tk(d);e&&z.Qe(k,e);g&&z.Re(k,g);return k};Se=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""}; | |
We=function(a,b,c){return z.pa(a)?(a=(0,window.encodeURI)(a).replace(b,Taa),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};Taa=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};z.Ve=function(a,b,c){this.We=this.Zf=null;this.dl=a||null;this.ym=!!c};z.Ze=function(a){a.Zf||(a.Zf=new z.Be,a.We=0,a.dl&&Oaa(a.dl,function(b,c){a.add((0,window.decodeURIComponent)(b.replace(/\+/g," ")),c)}))}; | |
z.$e=function(a){var b=Kaa(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new z.Ve(null,0,void 0);a=Jaa(a);for(var d=0;d<b.length;d++){var e=b[d],g=a[d];z.na(g)?Uaa(c,e,g):c.add(e,g)}return c};Uaa=function(a,b,c){a.remove(b);0<c.length&&(a.dl=null,a.Zf.set(af(a,b),z.ab(c)),a.We+=c.length)};af=function(a,b){b=String(b);a.ym&&(b=b.toLowerCase());return b};z.bf=function(a,b,c){a.lE||(a.lE={});a.lE[b]=c};z.cf=function(a,b){b&&Object.keys(b).forEach(function(c){z.bf(a,c,b[c])})}; | |
x=function(a,b,c,d,e,g,k,l,q){this.Nk=a;this.za=b;this.iua=c;this.Ho=d;this.At=e;this.tw=g;this.GL=k;this.hwa=l;this.Q$=q};Vaa=function(a){a=a.replace(/\/@\{([^}]+)\}/g,"/@$1:@.*").replace(/\/\{([^}]+)\}/g,"/:$1");if(-1!=a.indexOf("{"))throw Error("Could not format route");return a};Waa=function(a,b){this.Nk=a;this.Hva=b};df=function(a){"undefined"!=typeof window.console&&window.console.warn.apply(window.console,arguments)}; | |
Xaa=function(a){"undefined"!=typeof window.console&&window.console.error.apply(window.console,arguments)};of=function(a){"undefined"!=typeof window.console&&window.console.error.apply(window.console,arguments)};z.pf=function(a){this.EF=a||2};qf=function(){this.EF=1}; | |
Yaa=function(a,b,c){b=b.g();if(b==String||b==Number||b==Boolean||b==Object||b.$isProtoEnum)return c;if(b.prototype.JD){if(null==c)return null;if(c.JD)return a.Vj(c);throw Error("Bad field value "+c);}throw Error('Unknown schema type "'+b+'"');};sf=function(){return gc("iPhone")&&!gc("iPod")&&!gc("iPad")};tf=function(a){tf[" "](a);return a};z.Zaa=function(a,b){try{return tf(a[b]),!0}catch(c){}return!1};aba=function(a,b){var c=$aa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)}; | |
bba=function(){var a=z.kc.document;return a?a.documentMode:void 0};z.vf=function(a){return aba(a,function(){return 0<=Oa(uf,a)})};z.wf=function(a){return Number(cba)>=a}; | |
If=function(a,b,c){this.kI=b||xf.hia;this.Bza=c||dba;this.NQ=40;this.bo=1;this.cD=0;this.qy=3;this.OQ=this.Ur=0;this.zga=this.hha=!1;this.KI=this.xy="";this.Ru="-";this.yC="";this.Fm=1;this.sy=!1;this.$x=[];this.SR=this.fca=!1;this.xH=Cf;this.Fba=null;if("number"==typeof a)switch(a){case 1:Gf(this,xf.A4);break;case 2:Gf(this,xf.yka);break;case 3:Gf(this,xf.Fja);break;case 4:a=xf.cia;b=["0"];c=Hf[this.kI][0]&7;if(0<c){b.push(".");for(var d=0;d<c;d++)b.push("0")}a=a.replace(/0.00/g,b.join(""));Gf(this, | |
a);break;case 5:eba(this,1);break;case 6:eba(this,2);break;default:throw Error("Unsupported pattern type.");}else Gf(this,a)}; | |
Gf=function(a,b){b.replace(/ /g,"Â ");var c=[0];a.xy=Jf(a,b,c);for(var d=c[0],e=-1,g=0,k=0,l=0,q=-1,r=b.length,t=!0;c[0]<r&&t;c[0]++)switch(b.charAt(c[0])){case "#":0<k?l++:g++;0<=q&&0>e&&q++;break;case "0":if(0<l)throw Error('Unexpected "0" in pattern "'+b+'"');k++;0<=q&&0>e&&q++;break;case ",":0<q&&a.$x.push(q);q=0;break;case ".":if(0<=e)throw Error('Multiple decimal separators in pattern "'+b+'"');e=g+k+l;break;case "E":if(a.SR)throw Error('Multiple exponential symbols in pattern "'+b+'"');a.SR= | |
!0;a.OQ=0;c[0]+1<r&&"+"==b.charAt(c[0]+1)&&(c[0]++,a.hha=!0);for(;c[0]+1<r&&"0"==b.charAt(c[0]+1);)c[0]++,a.OQ++;if(1>g+k||1>a.OQ)throw Error('Malformed exponential pattern "'+b+'"');t=!1;break;default:c[0]--,t=!1}0==k&&0<g&&0<=e&&(k=e,0==k&&k++,l=g-k,g=k-1,k=1);if(0>e&&0<l||0<=e&&(e<g||e>g+k)||0==q)throw Error('Malformed pattern "'+b+'"');l=g+k+l;a.qy=0<=e?l-e:0;0<=e&&(a.Ur=g+k-e,0>a.Ur&&(a.Ur=0));a.bo=(0<=e?e:l)-g;a.SR&&(a.NQ=g+a.bo,0==a.qy&&0==a.bo&&(a.bo=1));a.$x.push(Math.max(0,q));a.fca=0== | |
e||e==l;d=c[0]-d;a.KI=Jf(a,b,c);c[0]<b.length&&b.charAt(c[0])==fba?(c[0]++,1!=a.Fm&&(a.sy=!0),a.Ru=Jf(a,b,c),c[0]+=d,a.yC=Jf(a,b,c)):(a.Ru=a.xy+a.Ru,a.yC+=a.KI)};eba=function(a,b){a.xH=b;Gf(a,xf.A4);a.Ur=0;a.qy=2;if(0<a.Ur)throw Error("Can't combine significant digits and minimum fraction digits");a.cD=2}; | |
gba=function(a,b){var c=Math.pow(10,a.qy),d;if(0>=a.cD)d=Math.round(b*c);else{d=b*c;var e=a.qy;d&&(a=a.cD-Kf(d)-1,a<-e?(e=Math.pow(10,e),d=Math.round(d/e)*e):(e=Math.pow(10,a),d=Math.round(d*e)/e));d=Math.round(d)}(0,window.isFinite)(d)?(b=Math.floor(d/c),c=Math.floor(d-b*c)):c=0;return{Kda:b,nAa:c}}; | |
Rf=function(a,b,c,d){if(a.Ur>a.qy)throw Error("Min value must be less than max value");d||(d=[]);b=gba(a,b);var e=Math.pow(10,a.qy),g=b.Kda,k=b.nAa,l=0==g?0:Kf(g)+1,q=0<a.Ur||0<k||a.zga&&l<a.cD;b=a.Ur;q&&(b=a.zga&&0<a.cD?a.cD-l:a.Ur);for(var r="",l=g;1E20<l;)r="0"+r,l=Math.round(l/10);var r=l+r,t=xf.B4,l=xf.tT.charCodeAt(0),w=r.length,C=0;if(0<g||0<c){for(g=w;g<c;g++)d.push(String.fromCharCode(l));if(2<=a.$x.length)for(c=1;c<a.$x.length;c++)C+=a.$x[c];c=w-C;if(0<c)for(var g=a.$x,C=w=0,J,Q=xf.xS,R= | |
r.length,S=0;S<R;S++){if(d.push(String.fromCharCode(l+1*Number(r.charAt(S)))),1<R-S)if(J=g[C],S<c){var ba=c-S;(1===J||0<J&&1===ba%J)&&d.push(Q)}else C<g.length&&(S===c?C+=1:J===S-c-w+1&&(d.push(Q),w+=J,C+=1))}else{c=r;r=a.$x;g=xf.xS;J=c.length;Q=[];for(w=r.length-1;0<=w&&0<J;w--){C=r[w];for(R=0;R<C&&0<=J-R-1;R++)Q.push(String.fromCharCode(l+1*Number(c.charAt(J-R-1))));J-=C;0<J&&Q.push(g)}d.push.apply(d,Q.reverse())}}else q||d.push(String.fromCharCode(l));(a.fca||q)&&d.push(t);a=""+(k+e);for(e=a.length;"0"== | |
a.charAt(e-1)&&e>b+1;)e--;for(g=1;g<e;g++)d.push(String.fromCharCode(l+1*Number(a.charAt(g))))};hba=function(a,b,c){c.push(xf.G4);0>b?(b=-b,c.push(xf.lja)):a.hha&&c.push(xf.Ija);b=""+b;for(var d=xf.tT,e=b.length;e<a.OQ;e++)c.push(d);c.push(b)};iba=function(a){a=a.charCodeAt(0);if(48<=a&&58>a)return a-48;var b=xf.tT.charCodeAt(0);return b<=a&&a<b+10?a-b:-1}; | |
Jf=function(a,b,c){for(var d="",e=!1,g=b.length;c[0]<g;c[0]++){var k=b.charAt(c[0]);if("'"==k)c[0]+1<g&&"'"==b.charAt(c[0]+1)?(c[0]++,d+="'"):e=!e;else if(e)d+=k;else switch(k){case "#":case "0":case ",":case ".":case fba:return d;case "¤":if(c[0]+1<g&&"¤"==b.charAt(c[0]+1))c[0]++,d+=a.kI;else switch(a.Bza){case dba:d+=Hf[a.kI][1];break;case 2:var k=a.kI,l=Hf[k],d=d+(k==l[1]?k:k+" "+l[1]);break;case 1:d+=Hf[a.kI][2]}break;case "%":if(!a.sy&&1!=a.Fm)throw Error("Too many percent/permill");if(a.sy&& | |
100!=a.Fm)throw Error("Inconsistent use of percent/permill characters");a.Fm=100;a.sy=!1;d+=xf.s5;break;case "‰":if(!a.sy&&1!=a.Fm)throw Error("Too many percent/permill");if(a.sy&&1E3!=a.Fm)throw Error("Inconsistent use of percent/permill characters");a.Fm=1E3;a.sy=!1;d+=xf.t5;break;default:d+=k}}return d}; | |
jba=function(a,b){a=1==a.xH?Sf.u4:Sf.Tha;null==a&&(a=Sf.u4);if(3>b)return Tf;b=Math.min(14,b);var c=a[Math.pow(10,b)];for(--b;!c&&3<=b;)c=a[Math.pow(10,b)],b--;if(!c)return Tf;a=c.other;return a&&"0"!=a?(a=/([^0]*)(0+)(.*)/.exec(a))?{prefix:a[1],Lga:a[3],x_:b+1-(a[2].length-1)}:Tf:Tf};Kf=function(a){for(var b=0;1<=(a/=10);)b++;return b};kba=function(a){return 1==a%10&&11!=a%100?"one":2==a%10&&12!=a%100?"two":3==a%10&&13!=a%100?"few":"other"};Uf=function(){this.J3="";this.Kka=lba}; | |
mba=function(a){return a instanceof Uf&&a.constructor===Uf&&a.Kka===lba?a.J3:"type_error:Const"};Vf=function(){this.h2="";this.wka=nba};oba=function(a){if(a instanceof Vf&&a.constructor===Vf&&a.wka===nba)return a.h2;ma(a);return"type_error:SafeStyle"};z.Wf=function(){this.g2="";this.vka=pba};Xf=function(){this.yy="";this.xka=qba};Yf=function(a){if(a instanceof Xf&&a.constructor===Xf&&a.xka===qba)return a.yy;ma(a);return"type_error:SafeUrl"};rba=function(a){var b=new Xf;b.yy=a;return b}; | |
Zf=function(){this.Jfa="";this.ela=sba};$f=function(a){if(a instanceof Zf&&a.constructor===Zf&&a.ela===sba)return a.Jfa;ma(a);return"type_error:TrustedResourceUrl"};dg=function(){this.yy="";this.uka=tba;this.nca=null};eg=function(a){if(a instanceof dg&&a.constructor===dg&&a.uka===tba)return a.yy;ma(a);return"type_error:SafeHtml"};uba=function(a){if(a instanceof dg)return a;var b=null;a.x0&&(b=a.KB());return z.jg(z.Ea(a.Cu?a.Fr():String(a)),b)}; | |
Cba=function(a,b,c){var d=String(a);if(!vba.test(d))throw Error("Invalid tag name \x3c"+d+"\x3e.");if(d.toUpperCase()in wba)throw Error("Tag name \x3c"+d+"\x3e is not allowed for SafeHtml.");a=String(a);var d=null,e,g="\x3c"+a,k="";if(b)for(e in b){if(!vba.test(e))throw Error('Invalid attribute name "'+e+'".');var l=b[e];if(null!=l){var q,r=a;q=e;if(l instanceof Uf)l=mba(l);else if("style"==q.toLowerCase()){if(!z.sa(l))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+ | |
typeof l+" given: "+l);if(!(l instanceof Vf)){var r="",t=void 0;for(t in l){if(!/^[-_a-zA-Z0-9]+$/.test(t))throw Error("Name allows only [-_a-zA-Z0-9], got: "+t);var w=l[t];if(null!=w){if(w instanceof Uf)w=mba(w);else if(xba.test(w)){for(var C=!0,J=!0,Q=0;Q<w.length;Q++){var R=w.charAt(Q);"'"==R&&J?C=!C:'"'==R&&C&&(J=!J)}C&&J||(w="zClosurez")}else w="zClosurez";r+=t+":"+w+";"}}l=r?(new Vf).Eu(r):yba}l=oba(l)}else{if(/^on/i.test(q))throw Error('Attribute "'+q+'" requires goog.string.Const value, "'+ | |
l+'" given.');if(q.toLowerCase()in zba)if(l instanceof Zf)l=$f(l);else if(l instanceof Xf)l=Yf(l);else if(z.pa(l))l instanceof Xf||(l=l.Cu?l.Fr():String(l),Aba.test(l)||(l="about:invalid#zClosurez"),l=rba(l)),l=l.Fr();else throw Error('Attribute "'+q+'" on tag "'+r+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+l+'" given.');}l.Cu&&(l=l.Fr());q=q+'\x3d"'+z.Ea(String(l))+'"';k+=" "+q}}e=g+k;null!=c?z.na(c)||(c=[c]):c=[];!0===Bba[a.toLowerCase()]?e+="\x3e":(c=kg(c),e+="\x3e"+ | |
eg(c)+"\x3c/"+a+"\x3e",d=c.KB());(b=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(b)?0:null);return z.jg(e,d)};kg=function(a){function b(a){z.na(a)?(0,z.nb)(a,b):(a=uba(a),d+=eg(a),a=a.KB(),0==c?c=a:0!=a&&c!=a&&(c=null))}var c=0,d="";(0,z.nb)(arguments,b);return z.jg(d,c)};z.jg=function(a,b){return(new dg).Eu(a,b)};z.lg=function(a,b){this.x=z.ka(a)?a:0;this.y=z.ka(b)?b:0};mg=function(a,b){return new z.lg(a.x-b.x,a.y-b.y)};z.ng=function(a,b){this.width=a;this.height=b}; | |
Dba=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};og=function(a,b){return a.scale(a.width/a.height>b.width/b.height?b.width/a.width:b.height/a.height)};z.rg=function(a){return a?new pg(z.qg(a)):Eba||(Eba=new pg)}; | |
sg=function(a,b,c){b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){for(var d={},e=0,g=0,k;k=a[g];g++)b==k.nodeName&&(d[e++]=k);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(g=e=0;k=a[g];g++)b=k.className,"function"==typeof b.split&&z.Xa(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a}; | |
z.Gba=function(a,b){z.pb(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Fba.hasOwnProperty(d)?a.setAttribute(Fba[d],b):z.Aa(d,"aria-")||z.Aa(d,"data-")?a.setAttribute(d,b):a[d]=b})};z.ug=function(a){a=(a||window).document;a=z.tg(a)?a.documentElement:a.body;return new z.ng(a.clientWidth,a.clientHeight)}; | |
z.yg=function(a){var b=Hba(a);a=a.parentWindow||a.defaultView;return z.vg&&z.vf("10")&&a.pageYOffset!=b.scrollTop?new z.lg(b.scrollLeft,b.scrollTop):new z.lg(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};Hba=function(a){return a.scrollingElement?a.scrollingElement:!z.zg&&z.tg(a)?a.documentElement:a.body||a.documentElement};z.Ag=function(a){return a?a.parentWindow||a.defaultView:window}; | |
z.Kba=function(a,b){var c=String(b[0]),d=b[1];if(!Iba&&d&&(d.name||d.type)){c=["\x3c",c];d.name&&c.push(' name\x3d"',z.Ea(d.name),'"');if(d.type){c.push(' type\x3d"',z.Ea(d.type),'"');var e={};z.Cb(e,d);delete e.type;d=e}c.push("\x3e");c=c.join("")}c=a.createElement(c);d&&(z.pa(d)?c.className=d:z.na(d)?c.className=d.join(" "):z.Gba(c,d));2<b.length&&Jba(a,c,b,2);return c}; | |
Jba=function(a,b,c,d){function e(c){c&&b.appendChild(z.pa(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var g=c[d];!z.oa(g)||z.sa(g)&&0<g.nodeType?e(g):(0,z.nb)(Lba(g)?z.ab(g):g,e)}};z.Nba=function(a,b){var c=a.createElement("DIV");z.vg?(b=kg(Mba,b),c.innerHTML=eg(b),c.removeChild(c.firstChild)):c.innerHTML=eg(b);if(1==c.childNodes.length)c=c.removeChild(c.firstChild);else{for(a=a.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);c=a}return c}; | |
z.tg=function(a){return"CSS1Compat"==a.compatMode};z.Bg=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};Oba=function(a,b){a.appendChild(b)}; | |
z.Cg=function(a,b){Jba(z.qg(a),a,arguments,1)};z.Dg=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};z.Eg=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)};z.Fg=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};z.Gg=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};z.Hg=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)};z.Ig=function(a){return Pba&&void 0!=a.children?a.children:(0,z.be)(a.childNodes,function(a){return 1==a.nodeType})}; | |
z.Kg=function(a){return z.ka(a.nextElementSibling)?a.nextElementSibling:z.Jg(a.nextSibling,!0)};z.Jg=function(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;return a};z.Lg=function(a){return z.sa(a)&&1==a.nodeType};z.Mg=function(a){var b;if(Qba&&!(z.vg&&z.vf("9")&&!z.vf("10")&&z.kc.SVGElement&&a instanceof z.kc.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return z.Lg(b)?b:null}; | |
z.Og=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}; | |
Tba=function(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(z.vg&&!z.wf(9)){if(9==a.nodeType)return-1;if(9==b.nodeType)return 1}if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,g=b.parentNode;return e==g?Rba(a,b):!c&&z.Og(e,b)?-1*Sba(a,b):!d&&z.Og(g,a)?Sba(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:g.sourceIndex)}d=z.qg(a); | |
c=d.createRange();c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b);a.collapse(!0);return c.compareBoundaryPoints(z.kc.Range.START_TO_END,a)};Sba=function(a,b){var c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return Rba(b,a)};Rba=function(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1}; | |
z.Pg=function(a){var b,c=arguments.length;if(!c)return null;if(1==c)return arguments[0];var d=[],e=window.Infinity;for(b=0;b<c;b++){for(var g=[],k=arguments[b];k;)g.unshift(k),k=k.parentNode;d.push(g);e=Math.min(e,g.length)}g=null;for(b=0;b<e;b++){for(var k=d[0][b],l=1;l<c;l++)if(k!=d[l][b])return g;g=k}return g};z.qg=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document}; | |
z.Tg=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else z.Dg(a),a.appendChild(z.qg(a).createTextNode(String(b)))};Lba=function(a){if(a&&"number"==typeof a.length){if(z.sa(a))return"function"==typeof a.item||"string"==typeof a.item;if(z.ra(a))return"function"==typeof a.item}return!1}; | |
z.Vg=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return z.Ug(a,function(a){return(!e||a.nodeName==e)&&(!c||z.pa(a.className)&&z.Xa(a.className.split(/\s+/),c))},!0,d)};z.Wg=function(a,b){return z.Vg(a,null,b,void 0)};z.Ug=function(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null};pg=function(a){this.Cd=a||z.kc.document||window.document};Xg=function(){throw Error("Do not instantiate directly");};Uba=function(){Xg.call(this)}; | |
Vba=function(){Xg.call(this)};z.Yg=function(a,b){return null!=a&&a.contentKind===b};z.Wba=function(a){if(null!=a)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null};Zg=function(){Xg.call(this)};z.A=function(a){return null!=a&&a.contentKind===z.$g?a:a instanceof dg?(0,z.y)(eg(a),a.KB()):(0,z.y)(z.Ea(String(String(a))),z.Wba(a))};ah=function(){Xg.call(this)};bh=function(){Xg.call(this)};dh=function(){Xg.call(this)};eh=function(){Xg.call(this)};ih=function(){Xg.call(this)}; | |
jh=function(a,b){this.content=String(a);this.contentDir=null!=b?b:null};kh=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a){return new b(String(a))}};z.B=function(a){return new jh(a,void 0)};z.D=function(a,b){for(var c in b)c in a||(a[c]=b[c]);return a};z.mh=function(a,b,c){var d="key_"+a+":"+b,e=Xba[d];if(void 0===e||0>e)Xba[d]=0,lh[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');}; | |
z.nh=function(a,b,c){var d=lh["key_"+a+":"+b];d||""==b||(d=lh["key_"+a+":"]);if(d)return d;if(c)return Yba;throw Error('Found no active impl for delegate call to "'+a+":"+b+'" (and not allowemptydefault\x3d"true").');};Yba=function(){return""};oh=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a){return(a=String(a))?new b(a):""}};z.ph=function(a){return(a=String(a))?new jh(a,void 0):""};Zba=function(a){return a.replace(/<\//g,"\x3c\\/").replace(/\]\]>/g,"]]\\\x3e")}; | |
z.E=function(a){return z.Yg(a,z.$g)?z.qh(String(a.cb()).replace(z.$ba,"").replace(z.aca,"\x26lt;")):z.Ea(String(a))};z.rh=function(a){z.Yg(a,bca)?a=a.cb().replace(/([^"'\s])$/,"$1 "):(a=String(a),a=cca.test(a)?a:"zSoyz");return a};eca=function(a){if(null==a)return" null ";if(z.Yg(a,dca))return a.cb();switch(typeof a){case "boolean":case "number":return" "+a+" ";default:return"'"+String(String(a)).replace(sh,th)+"'"}};fca=function(a){return"%"+a.charCodeAt(0).toString(16)}; | |
wh=function(a){a=(0,window.encodeURIComponent)(String(String(a)));uh.lastIndex=0;return uh.test(a)?a.replace(uh,fca):a};z.F=function(a){return z.Yg(a,xh)||z.Yg(a,Ah)?z.Bh(a):a instanceof Xf?z.Bh(Yf(a)):a instanceof Zf?z.Bh($f(a)):gca(a)};z.Eh=function(a){z.Yg(a,xh)||z.Yg(a,Ah)?a=z.Bh(a):a instanceof Xf?a=z.Bh(Yf(a)):a instanceof Zf?a=z.Bh($f(a)):(a=String(a),a=hca.test(a)?a.replace(Ch,Dh):"about:invalid#zSoyz");return a}; | |
z.G=function(a){z.Yg(a,ica)?a=Zba(a.cb()):null==a?a="":a instanceof Vf?a=Zba(oba(a)):(a=String(a),a=jca.test(a)?a:"zSoyz");return a};z.Fh=function(a,b){var c=!0;a=String(a);if(a.length<=b)return a;c&&(3<b?b-=3:c=!1);var d=a.charCodeAt(b-1);if(d=55296<=d&&56319>=d)d=a.charCodeAt(b),d=56320<=d&&57343>=d;d&&--b;a=a.substring(0,b);c&&(a+="...");return a};z.Gh=function(a){return kca[a]};th=function(a){return lca[a]};Dh=function(a){return mca[a]};z.qh=function(a){return String(a).replace(nca,z.Gh)}; | |
z.Bh=function(a){return String(a).replace(Ch,Dh)};gca=function(a){a=String(a);return oca.test(a)?a.replace(Ch,Dh):"about:invalid#zSoyz"};z.Hh=function(a){a=String(a);return pca.test(a)?a:"zSoyz"}; | |
z.Ih=function(a){var b="";1==a.month?(a=z.n("January"),b+=a):2==a.month?(a=z.n("February"),b+=a):3==a.month?(a=z.n("March"),b+=a):4==a.month?(a=z.n("April"),b+=a):5==a.month?(a=z.n("May"),b+=a):6==a.month?(a=z.n("June"),b+=a):7==a.month?(a=z.n("July"),b+=a):8==a.month?(a=z.n("August"),b+=a):9==a.month?(a=z.n("September"),b+=a):10==a.month?(a=z.n("October"),b+=a):11==a.month?(a=z.n("November"),b+=a):12==a.month&&(a=z.n("December"),b+=a);return(0,z.y)(b)}; | |
z.qca=function(){var a=z.n("just now");return z.B(""+a)};z.rca=function(){var a=z.n("yesterday");return z.B(""+a)};sca=function(a){a=z.n("{$minutes} mins ago",{minutes:""+a.z1});return z.B(""+a)};tca=function(){var a=z.n("1 hr ago");return z.B(""+a)};uca=function(a){a=z.n("{$hours} hrs ago",{hours:""+a.s0});return z.B(""+a)};vca=function(a){a=z.n("{$days} days ago",{days:""+a.Sj});return z.B(""+a)};z.Kh=function(a){Jh||(Jh=new If(1));return Jh.format(a)};z.Lh=function(a){return a.replace(wca,"$1Â $2$3")}; | |
z.Mh=function(a){if((0,window.isNaN)(a))return String(a);a=Math.round(a);var b=z.n("K"),b=(0,z.y)(""+b).toString(),c;c=z.n("M");c=(0,z.y)(""+c);var b=["",b,c.toString()],d=a;c=a%1E3/1E3;for(var e=0;999<a&&e<b.length;e++)c=a%1E3,d=a,a=Math.floor(a/1E3);if(e>=b.length)return z.Kh(d)+b[b.length-1];for(var d=a+1,g=0;0==d%10&&9>g;g++)d/=10;g=-1!=(0,z.Wa)([1,2,5,null],d);d=100>a&&g;g=20>a||g&&!d;return a+(d&&990<=c?".99":d&&980<=c?".98":d&&970<=c?".97":d&&960<=c?".96":d&&950<=c?".95":d&&940<=c?".94":d&& | |
930<=c?".93":d&&920<=c?".92":d&&910<=c?".91":(d||g)&&900<=c?".9":g&&800<=c?".8":g&&700<=c?".7":g&&600<=c?".6":g&&500<=c?".5":g&&400<=c?".4":g&&300<=c?".3":g&&200<=c?".2":g&&100<=c?".1":"")+b[e]};z.Ph=function(a,b){var c=((0,z.Ja)()-a)/1E3,d=Math.round(c/60),e=Math.round(d/60),g=Math.round(e/24);a=z.Nh(a,b);return(120>=c&&z.qca()||45>=d&&sca({z1:d})||90>=d&&tca()||22>=e&&uca({s0:e})||36>=e&&z.rca()||5>=g&&vca({Sj:g})||a).toString()}; | |
z.Nh=function(a,b){var c=480;b&&z.qa(Number(b.DJ))&&(c=b.DJ);b=new Date(a);b.getTimezoneOffset()!=c&&(b=new Date(a+6E4*(b.getTimezoneOffset()-c)));a=Qh.U5[b.getMonth()]+" "+b.getDate();(new Date).getFullYear()>b.getFullYear()&&(a+=", "+b.getFullYear());return a}; | |
z.Rh=function(a,b){if("number"==typeof a)return z.Rh(new Date(a),b);b||(b="%A, %b %d at %I:%M%p");var c=String(a.getFullYear()),d=Qh.rla[a.getDay()],e=a.getDate(),g=a.getDay(),k=Qh.U5[a.getMonth()],l=Qh.nja[a.getMonth()],q=a.getHours(),r=11<q?"pm":"am",q="pm"==r?q-12:q;0===q&&(q=12);var t=a.getMinutes();10>t&&(t="0"+t);var w=a=a.getMonth()+1;10>w&&(w="0"+w);var C=String(e);switch(xca(e)){case "one":C+="st";break;case "two":C+="nd";break;case "few":C+="rd";break;default:C+="th"}var J=c.slice(2);return b.replace("%A", | |
String(d)).replace("%a",String(g)).replace("%b",String(k)).replace("%B",String(l)).replace("%m",String(w)).replace("%xm",String(a)).replace("%I",String(q)).replace("%M",String(t)).replace("%p",String(r)).replace("%d",String(e)).replace("%Y",c).replace("%-d",C).replace("%y",J)}; | |
z.Sh=function(a,b){if(a.length<b)return a;a=a.substr(0,b);b=a[a.length-1];var c=a[a.length-2];55296<=b&&57343>=b&&!(55296<=c&&57343>=c)&&(a=a.substr(0,a.length-1));a=a.replace(/(\s+\S+|\s+)$/,"");a=a.replace(/[.,:;?!-]+$/,"");return a+"…"};Yh=function(a){this.EF=a||2}; | |
yca=function(a,b,c,d){b=b.g();if(b==Boolean)return null==c?c:!!c;if(b==String||b==Number||b==Object||b.$isProtoEnum)return c;if(b.prototype.JD){if(null==c)return null;if(c instanceof Object)return c instanceof b?c:a.tb(b,c,d);throw Error("Bad field value "+c);}throw Error('Unknown schema type "'+b+'"');}; | |
zca=function(a,b,c){b=b.g();if(b==String||b==Number||b==Boolean||b==Object||b.$isProtoEnum)return c;if(b.prototype.JD){if(null==c)return null;if(c.JD)return a.Vj(c);throw Error("Bad field value "+c);}throw Error('Unknown schema type "'+b+'"');}; | |
z.bi=function(){var a=this.D;if(!a.nBa){var b=this.L(),c={},d={},e;for(e in a.O){var g=a.O[e],k=g.name;c[k]=g;d[g.na()]=k;Aca(b,e,k);e!=k&&Aca(b,k,k)}a.CC=c;a.PXa=d;c={};e={};var g={},k={},l;for(l in a.fields){var q=a.fields[l],r=q;r.isRemoved||(r.isRemoved=z.ai);r.jCa||(r.jCa=z.ai);r.aa||(r.aa=z.ai);r.wa||(r.wa=z.ai);r.na||(r.na=Bca);r.yQ||(r.yQ=z.ai);r.DCa||(r.DCa=z.ai);r.path||(r.path=Cca);r.dDa||(r.dDa=z.la);r.maxLength||(r.maxLength=z.la);r.tf||(r.tf=z.la);r.defaultValue||(r.defaultValue=z.la); | |
q.isRemoved()?(g[q.name]=!0,delete a.fields[l]):(r=q.name,e[r]=q,c[q.h]=r,q.wa()&&(q=d[q.na()],k[q]=k[q]||[],k[q].push(r)),Dca(b,l,r),l!=r&&Dca(b,r,r))}a.sZa=c;a.kj=e;a.xEa=g;a.QXa=k;a.nBa=!0}this.Yg={};this.nr={};this.lH={};this.Ppa=this.oW=this.dZ=!1;this.$M=this.No=null;this.sW={}};z.ci=function(a,b){a.dZ=b;return a};di=function(a,b){var c=a.D.kj[b];if(!c&&!a.P0(b))throw Error("Unrecognized field ("+b+")");return c}; | |
z.ei=function(a){z.wb(a.nr);for(var b in a.Yg){var c=a.Yg[b];if(Array.isArray(c))for(var d=0;d<c.length;d++)c[d]instanceof z.bi&&z.ei(c[d]);else c instanceof z.bi&&z.ei(c)}return a};z.fi=function(a){for(var b in a.Yg){var c=a.D.kj[b];if(c){var d=a.Yg[b];if(c.aa())if(d&&d.length)for(c=0;c<d.length;c++){var e=d[c];e instanceof z.bi&&z.fi(e)}else delete a.Yg[b];else d==gi(a,b)?delete a.Yg[b]:d instanceof z.bi&&(z.fi(d),z.vb(d.Yg)&&delete a.Yg[b])}}return a}; | |
z.ii=function(a,b){if(b in a.nr)return a.nr[b];if(a.D.CC[b])return hi(a,b);di(a,b);return z.H(a,b)};z.H=function(a,b){if(a.No){var c=z.H(a.$M,b);return a.No.zYa(b,c)}return b in a.Yg?(c=a.Yg[b],!c&&a.D.N&&(c=gi(a,b)),c):gi(a,b)};z.ji=function(a,b){if(a.No)return a.No.HTa(b),z.ji(a.$M,b);if(b in a.nr)return!0;if(a.D.CC[b])return!!hi(a,b);di(a,b);return b in a.Yg}; | |
z.ki=function(a,b){if(a.No)return a.No.Oya(b),z.ki(a.$M,b),a;var c=di(a,b);if(c.wa()){var d=c.na();a.lH[d]==c.name&&delete a.lH[d]}delete a.Yg[b];delete a.nr[b];return a}; | |
z.I=function(a,b,c){if(a.oW)throw Error("Calling setFieldValue on a read-only object");if(a.Ppa)throw Error("Calling setFieldValue on an immutable object");var d=a.D;if(d.CC[b])return null;if(a.No)return a.No.Oya(b),z.I(a.$M,b,c),a;var e=(d=d.kj[b])&&d.g();if(!a.P0(b)){if(!d)return a.nr[b]=c,delete a.Yg[b],a;if(e.$isProtoEnum&&!d.aa()&&"number"==typeof c&&!z.ub(e,c))return a.nr[b]=c,delete a.Yg[b],a}if(a.dZ&&d&&null!==c&&void 0!==c)if(d.aa()){if(!Array.isArray(c))throw Error("Type mismatch. Expected Array. Actual: "+ | |
c);for(e=0;e<c.length;e++)Eca(b,d,c[e])}else Eca(b,d,c);if(d&&d.wa()){var e=d.na(),g=a.lH[e]||"";d.name!=g&&g&&z.ki(a,g);a.lH[e]=d.name}a.Yg[b]=c;delete a.nr[b];delete a.sW[b];return a};z.li=function(a,b,c){a=a.D.kj;for(var d in a)b.call(c,d,a[d])}; | |
Eca=function(a,b,c){var d=b.g();b=d.name||d;if(d==Number||d.$isProtoEnum)d="number"==typeof c;else if(d==String)d="string"==typeof c;else if(d==Boolean)d="boolean"==typeof c||1===c||0===c;else if(d==Object)d=c&&"object"==typeof c&&!(c instanceof z.bi);else if(d.prototype instanceof z.bi)d=c instanceof d||null==c;else throw Error("I don't know how to type-check "+b+" on field "+a);if(!d)throw Error("Type mismatch. Expected field '"+a+"' to be of type '"+b+"', "+("instead it is: '"+c+"' ("+typeof c+ | |
")"));};gi=function(a,b){b=di(a,b);if(!b)return null;a=a.D.N;if(b.aa())return a?[]:null;var c=b.defaultValue();if(void 0!==c)return c;b=b.g();switch(b){case Number:return 0;case String:return"";case Boolean:return!1;case Object:return a?{}:null;default:if(b.$isProtoEnum)for(var d in b)if(b.hasOwnProperty(d)&&"number"==typeof b[d])return b[d];return a?new b:null}};hi=function(a,b){var c=a.D.CC[b];if(!c)throw Error('Could not find a oneof for name "'+b+'".');b=c.na();return a.lH[b]||""}; | |
Fca=function(a,b){return a.No?Fca(a.No,b):!0};Gca=function(a){return a.Jb()};Ica=function(a,b,c,d){b=b.g();if(b==String||b==Boolean||b==Number||b.$isProtoEnum)return c===d;if(b.prototype instanceof z.bi)return c===d||!c&&!d||c&&d&&c.nd(d);if(b==Object)return Hca(a,c,d);throw Error("no equality metric");}; | |
Hca=function(a,b,c){if(!b&&!c)return!0;if(!b||!c||"object"!=typeof b||"object"!=typeof c)return!1;for(var d in b)if(null!==b[d]&&"object"==typeof b[d]){if(!Hca(a,b[d],c[d]))return!1}else if(b[d]!=c[d])return!1;return!0};mi=function(a,b){if(b instanceof z.bi)b.XC();else if(Array.isArray(b)){Object.freeze(b);for(var c=0;c<b.length;c++)mi(a,b[c])}else if(null!=b&&"object"===typeof b)for(c in Object.freeze(b),b)b.hasOwnProperty(c)&&mi(a,b[c])}; | |
Dca=function(a,b,c){b in a?of('Can not define setters/getters for field "'+c+'", property name already exists.'):Object.defineProperty(a,b,{get:function(){return z.ii(this,c)},set:function(a){z.I(this,c,a)},enumerable:!0})};Aca=function(a,b,c){b in a?of('Can not define getters for oneof "'+c+'", property name already exists.'):Object.defineProperty(a,b,{get:function(){return hi(this,c)},set:Jca,enumerable:!0})};Jca=function(){throw Error("Cannot set oneof properties.");}; | |
z.K=function(){z.bi.call(this);this.Hw=null};z.ni=function(){z.K.call(this);this.kR={}};z.oi=function(a){z.K.call(this);this.C(a)};Lca=function(a,b){var c=b.layoutData.fontSets,d=Kca(a);return z.pi(b).enable_latin_font_subset?a?a.sequenceId?z.qi(d?13:10,b):d?z.qi(8,b):z.qi(11,b):z.qi(8,b):c.filter(function(a){return 8==a.id})};z.qi=function(a,b){return Mca(a,b)||Mca(8,b)};Mca=function(a,b){return b.layoutData.fontSets.filter(function(b){return b.id==a||2==b.id})}; | |
Kca=function(a){if(!a)return!1;a=(a=(a=a.content||{},a.bodyModel)||{},a.paragraphs)||[];for(var b=2250,c=0;c<a.length&&!(0>=b);c++){var d=a[c].text||"",b=b-d.length;if(Nca.test(d))return!1}return!0}; | |
z.Oca=function(a,b){var c="";a=""+z.F(b.authBaseUrl+a.appLinkPath);a=(0,z.L)(a);c+=-1!=(""+a).indexOf("https://")?"android-app://"+z.Bh(b.androidPackage)+"/"+z.Bh(String(a).replace("https://","https/")):-1!=(""+a).indexOf("http://")?"android-app://"+z.Bh(b.androidPackage)+"/"+z.Bh(String(a).replace("http://","http/")):"";return(0,z.ri)(c)}; | |
z.zi=function(a){a=a||{};return(0,z.y)(z.A(z.si({name:a.name,userId:a.userId,timestamp:a.timestamp,dimension:a.dimension,collectionId:a.collectionId,postId:a.postId,feedId:a.feedId,tagSlug:a.tagSlug,topicId:a.topicId,sequenceId:a.sequenceId,authorId:a.authorId,popchunkId:a.popchunkId,promoId:a.promoId,rssType:a.rssType,index:a.index,postFeedReason:a.postFeedReason,postSource:a.postSource,itemType:a.itemType,tagSource:a.tagSource,iftttSource:a.iftttSource,promotionSource:a.promotionSource,catalogId:a.catalogId, | |
collectionSuggestionReason:a.collectionSuggestionReason,userSuggestionReason:a.userSuggestionReason,windowDuration:a.windowDuration,susiEntry:a.susiEntry,sectionType:a.sectionType,emailId:a.emailId,digestSectionType:a.digestSectionType})))}; | |
z.Bi=function(a,b,c){var d=!a.post.latestPublishedVersion&&c.supportsEdit;b=a.post;var e={collection:a.collection||null,note:a.note||null,quote:a.quote||null,followUp:null,nR:a.nR||null,source:a.source||null,sectionName:a.sectionName||null,hy:a.MI&&d&&(a.post.creatorId==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.canEditPosts)),Tp:a.Tp,G2:a.G2||null, | |
sequenceSlug:a.sequenceSlug||null,shareKey:a.shareKey||null},e=e||{},g=e.collection;a=e.note;var d=e.quote,k=e.nR,l=e.source,q=e.sectionName,r=e.shareKey,t=e.hy,w=e.G2,C=b.sequence,g=g||b.approvedHomeCollection,J=new z.Ai(c.authBaseUrl),Q=b.creator?b.creator.username:null,R=g?g.slug:null,g=g?g.domain:null,S;b.sequenceId&&(S=C&&(1==C.visibility||c.variants.enable_sequences_edit)?C.slug:e.sequenceSlug);S=new z.Ie(J.mp(b,{collectionSlug:R,dP:g,l_:Q,sequenceSlug:S,Tp:e.Tp,hy:t,shareKey:e.shareKey})); | |
!l||c&&c.useragent&&c.useragent.isBot||z.Xe(S,"source",l);q&&z.Xe(S,"sectionName",q);r&&z.Xe(S,"sk",r);!a||a&&"vote"==a.anchor?d&&d.paragraphs&&d.paragraphs[0]&&d.paragraphs[0].name?z.Re(S,d.paragraphs[0].name):k?z.Re(S,"--respond"):w&&z.Re(S,"--responses"):z.Re(S,a.anchor+"-"+a.noteId);c=""+z.F(S.toString());return(0,z.ri)(c)};Di=function(a,b){return(0,z.ri)(a.post?z.F(z.Ci(b,"API_COLLECTION_SUBSCRIBE_FROM_POST",a.post,a.collection,null)):z.F(z.Ci(b,"API_COLLECTION_SUBSCRIBE",null,a.collection,null)))}; | |
z.Pca=function(a,b){return(0,z.ri)(z.F(z.Ci(b,"SUBSCRIBE_TOPIC_AND_REDIRECT",null,null,null,a.topicSlug)))};z.Gi=function(a,b){a=a||{};var c=a.Zd,d="";a=""+z.Ei(z.D({url:(0,z.L)(""+z.F(z.Ci(b,"SHOW_ACCT_SIGN_IN",null,null,null,b.Wp)))},a),b);a=(0,z.L)(a);d+=c?z.F(z.Fi(a,{operation:"login"},b)):z.F(z.Fi(a,{operation:"register"},b));return(0,z.ri)(d)};z.Hi=function(a,b){return(0,z.ri)(z.Ei(z.D({url:(0,z.L)(""+z.F(z.Ci(b,"SHOW_TAG_POSTS",null,null,null,a.slug)))},a),b))}; | |
z.Ii=function(a){var b;b={};return(0,z.ri)(z.F(z.Ci(a,"NEW_STORY",null,null,null,b.source)))};z.Ji=function(a,b){return(0,z.ri)(z.F(z.Ci(b,"POST_EDIT",a.post,null,null)))};z.Ki=function(a){return(0,z.ri)(z.F(z.Ci(a,"HOME",null,null,null)))};z.Mi=function(a,b){var c="",d=""+((null==a.collection?0:a.collection.domain)?z.F(z.Ci(b,"SHOW_USER_FILTER_BY_COLLECTION",null,a.collection,a.user)):z.F(z.Ci(b,"SHOW_USER",null,null,a.user))),d=(0,z.L)(d),c=c+(a.source?z.Li({url:d,source:a.source},b):z.F(d));return(0,z.ri)(c)}; | |
z.Ni=function(a,b){return(0,z.ri)(z.F(z.Ci(b,"SHOW_COLLECTION_PARTNER_DASHBOARD",null,a.collection,null)))};z.Oi=function(a,b){var c="",d=""+z.F(z.Ci(b,"COLLECTION_HOME",null,a.collection,null)),d=(0,z.L)(d),c=c+(a.source?z.Li({url:d,source:a.source},b):z.F(d));return(0,z.ri)(c)};z.Pi=function(a,b){return(0,z.ri)(z.F(z.Ci(b,"COLLECTION_STORIES_MANAGER",null,a.collection,null,a.filterBy)))};z.Qca=function(a,b){return(0,z.ri)(z.F(z.Ci(b,"SHOW_COLLECTION_NAVIGATION_SETTINGS",null,a.collection,null)))}; | |
z.Rca=function(a,b){var c="",d=""+z.F(z.Ci(b,"COLLECTION_TAGGED",null,a.collection,null,a.tagSlug)),d=(0,z.L)(d),c=c+(a.source?z.Li({url:d,source:a.source},b):z.F(d));return(0,z.ri)(c)};z.Sca=function(a,b){return(0,z.ri)(z.F(z.Ci(b,"SHOW_COLLECTION_TAKEOVERS",null,a.collection,null)))};z.Qi=function(a,b){a=a||{};var c="";b=""+z.F(z.Ci(b,"SEARCH",null,null,null));b=(0,z.L)(b);c+=a.query?z.F(z.Fi(b,{q:a.query})):z.F(b);return(0,z.ri)(c)}; | |
Ri=function(a,b){var c="";b=""+z.F(z.Ci(b,"COLLECTION_SEARCH",null,a.collection,null));b=(0,z.L)(b);c+=a.query?z.F(z.Fi(b,{q:a.query})):z.F(b);return(0,z.ri)(c)};z.Tca=function(a,b){a=a||{};var c="";b=""+z.F(z.Ci(b,"SEARCH_USERS",null,null,null));b=(0,z.L)(b);c+=a.query?z.F(z.Fi(b,{q:a.query})):z.F(b);return(0,z.ri)(c)};z.Uca=function(a,b){a=a||{};var c="";b=""+z.F(z.Ci(b,"SEARCH_COLLECTIONS",null,null,null));b=(0,z.L)(b);c+=a.query?z.F(z.Fi(b,{q:a.query})):z.F(b);return(0,z.ri)(c)}; | |
z.Si=function(a,b){var c="",d=a.postTypeFilter==b.j.KK.aE,e=""+(d?z.F(z.Ci(b,"SHOW_YOUR_SERIES",null,null,null,a.filterBy)):z.F(z.Ci(b,"YOUR_STORIES",null,null,null,a.filterBy))),e=(0,z.L)(e),c=a.postTypeFilter&&a.postTypeFilter!=b.j.KK.DEFAULT&&!d?c+z.F(z.Fi(e,{filter:a.postTypeFilter},b)):c+z.F(e);return(0,z.ri)(c)};z.Ti=function(a,b){a=a||{};return(0,z.ri)(z.F(z.Ci(b,"SHOW_YOUR_COLLECTIONS",null,null,null))+(a.collection?"#"+z.Bh(a.collection.slug):""))}; | |
z.Ui=function(a,b){return(0,z.ri)(a.entityName?z.F(z.Ci(b,"FOLLOWS",null,null,null,a.entityName)):z.F(z.Ci(b,"FOLLOWS_DEFAULT",null,null,null)))};z.Li=function(a,b){a=""+z.F(z.Fi(a.url,{source:a.source},b));return(0,z.ri)(a)};z.Ei=function(a,b){var c="",c=a.source?c+z.F(z.Fi(a.url,{source:a.source},b)):c+z.F(a.url);return(0,z.ri)(c)};z.Vi=function(){return(0,z.y)("https://blog.medium.com/best-practices-for-writing-on-medium-386506ae62b9")}; | |
z.Xi=function(a){return(0,z.ri)((null==a.useragent?null:a.useragent.os)==a.j.gz.ID?z.F(a.iosAppStoreUrl):(null==a.useragent?null:a.useragent.os)==a.j.gz.rD?z.F(z.Wi(a.androidPlayStoreMarketScheme)):(0,z.ri)(z.F(z.Ci(a,"APPS_LANDING",null,null,null))))};Vca=function(a,b){return(0,z.ri)(z.F(z.Ci(b,"CATALOG_FEED",null,null,null,a.catalogId)))};Wca=function(a,b){return(0,z.ri)(z.F(z.Ci(b,"TAG_FEED",null,null,null,a.tagSlug)))}; | |
Yi=function(a,b){return(0,z.ri)(z.F(z.Ci(b,"COLLECTION_FEED",null,a.collection,null)))};Xca=function(a,b){return(0,z.ri)(z.F(z.Ci(b,"USER_FEED",null,null,a.user)))};z.Zi=function(a){return(0,z.y)(z.A(z.Ci(a,"SHOW_MEDIUM_ABOUT")))};z.hj=function(a,b){a=a||{};var c=a.location;return(0,z.y)(c?$i(z.D({B2:"SHOW_SUBSCRIPTIONS_LANDING",location:c},a),b):z.A(z.Ci(b,"SHOW_SUBSCRIPTIONS_LANDING")))};z.lj=function(a,b){a=a||{};return(0,z.y)($i(z.D({B2:"SHOW_MEDIUM_MEMBERSHIP_UPGRADE"},a),b))}; | |
z.Yca=function(a,b){a=a||{};return(0,z.y)($i(z.D({B2:"SHOW_MEDIUM_MEMBERSHIP_PAYMENT"},a),b))}; | |
$i=function(a,b){var c=a.location,d=a.B2,e=a.timestamp,g=a.userId,k=a.feature,l=a.postId,q=a.authorId,r=a.sequenceId,t=a.collectionId,w=a.promoId,C=a.susiEntry,J=a.emailId,Q=a.topicId,R=a.index,S=a.source;a="";c=""+(S?z.A(S):z.A(z.zi({name:b.j.c6,timestamp:e||null,userId:g||null,dimension:z.ph(""+c+(k?"|"+k:"")),index:R||null,postId:l||null,collectionId:t||null,authorId:q||null,sequenceId:r||null,promoId:w||null,susiEntry:C||null,emailId:J||null,topicId:Q||null})));c=(0,z.M)(c);a+=z.A(z.Li({url:(0,z.L)(""+ | |
z.F(z.Ci(b,d))),source:c},b));return(0,z.y)(a)};z.mj=function(a,b){var c=a.query,d="";a=""+z.F(z.Ci(b,"SHOW_READING_LIST",null,null,null,a.activeTab));a=(0,z.L)(a);d+=c?z.F(z.Fi(a,{q:c})):z.F(a);return(0,z.ri)(d)};z.nj=function(a){return(0,z.ri)(z.F(z.Ci(a,"PARTNER_DASHBOARD",null,null,null,null)))};z.oj=function(a){return(0,z.ri)(z.F(z.Ci(a,"SHOW_CREATORS_LANDING",null,null,null,null)))}; | |
pj=function(a,b){this.title=String(a);this.description=String(b);this.socialImage=this.appleIcons=this.faviconUrl="";this.feedPath=this.fontSets=null;this.facebookPageId="";this.metaReferrer="unsafe-url";this.extraGoogleAnalyticsIds=[];this.disableGoogleAnalytics=!1;this.twitterScreenName=this.appLinkPath="";this.noIndex=!1}; | |
qj=function(a,b,c){var d=String;b=b||{};c=z.B(b.collection&&b.collection.favicon&&((null==b.collection.favicon?0:b.collection.favicon.imageId)||(null==b.collection.favicon?0:b.collection.favicon.id))?""+Zca({icon:b.collection.favicon,size:128},c):""+(null==c.layoutData?null:c.layoutData.faviconUrl));a.faviconUrl=d(c);return a};rj=function(a,b){a.faviconUrl=String(z.B(""+(null==b.layoutData?null:b.layoutData.editorFaviconUrl)));return a}; | |
tj=function(a,b,c){var d=String;b=b||{};c=z.B(sj({faviconImage:(null==b.collection?null:b.collection.image)||(null==b.post?null:null==b.post.homeCollection?null:b.post.homeCollection.image),size:152},c)+sj({faviconImage:(null==b.collection?null:b.collection.image)||(null==b.post?null:null==b.post.homeCollection?null:b.post.homeCollection.image),size:120},c)+sj({faviconImage:(null==b.collection?null:b.collection.image)||(null==b.post?null:null==b.post.homeCollection?null:b.post.homeCollection.image), | |
size:76},c)+sj({faviconImage:(null==b.collection?null:b.collection.image)||(null==b.post?null:null==b.post.homeCollection?null:b.post.homeCollection.image),size:60},c));a.appleIcons=d(c);return a};uj=function(a,b){a.feedPath=b;return a};vj=function(a,b){b&&a.extraGoogleAnalyticsIds.push(b);return a};wj=function(a,b){a.appLinkPath=b;return a}; | |
z.xj=function(a,b){a=a||{};var c="";a=a.LBa?z.n("the {$productName} Partner Program",{productName:z.A(b.productName)}):z.n("{$productName} Partner Program",{productName:z.A(b.productName)});c+=a;return(0,z.y)(c)};z.yj=function(a){return(0,z.y)(z.xj({LBa:!0},a))}; | |
ada=function(a,b,c){a=a||{};b="";if((null==c.useragent?0:c.useragent.supportsInteract)&&(null==c.layoutData.fontSets?0:c.layoutData.fontSets.length))if(a.fontSets){a=a.fontSets;for(var d=a.length,e=0;e<d;e++)b+=$ca({font:a[e]},c)}else b+=zj({fontSets:c.layoutData.fontSets,id:c.j.wS.Gia},c)+zj({fontSets:c.layoutData.fontSets,id:c.j.wS.vha},c)+zj({fontSets:c.layoutData.fontSets,id:c.j.wS.pla},c);return(0,z.y)(b)}; | |
zj=function(a,b){for(var c="",d=a.fontSets,e=d.length,g=0;g<e;g++)var k=d[g],c=c+(k.id==a.id?$ca({font:k},b):"");return(0,z.y)(c)};$ca=function(a,b){return(0,z.y)('\x3clink rel\x3d"stylesheet" type\x3d"text/css" class\x3d"js-'+z.E(b.j.fD)+'" id\x3d"'+z.E(b.j.fD+a.font.id)+'" href\x3d"'+z.E(z.F(a.font.url))+'" /\x3e')};z.bda=function(){var a=z.n("An error occurred. Please try dismissing the message again.");return(0,z.y)(""+a)}; | |
cda=function(a){a=z.n("Make {$productName} yours",{productName:z.A(a.productName)});return(0,z.y)(""+a)};z.Bj=function(a,b,c){return(0,z.ri)(z.Aj(z.D({imageId:(null==a.image?null:a.image.imageId)||(null==a.image?null:a.image.id)||(null==a.image?null:a.image.previewImageId),filter:null==a.image?null:a.image.filter,focusPercentX:null==a.image?null:a.image.focusPercentX,focusPercentY:null==a.image?null:a.image.focusPercentY},a),0,c))}; | |
z.Aj=function(a,b,c){a=a||{};b=a.imageId;var d=a.strategy,e=a.filter,g=a.multiply,k=a.height,l=a.width,q=a.cropType,r=a.blur,t=a.verticalGradient,w=a.darken,C=a.PWa,J=a.freeze,Q=a.quality,R=a.DTa,S=a.gQ,ba=a.focusPercentX,X=a.focusPercentY,Fa=a.UCa,Ra=a.LFa,mb=a.oZa;a=a.eza;var Ib="";if(b){var ya=l?l:c.yB,l=k?k:Math.round(.8*ya),q=q?q:"c",Gb=c.devicePixelRatio&&!S?Math.min(ya*c.devicePixelRatio,5<=ya/l?4E3:2E3)/ya:1,S=Math.round(ya*Gb),l=Math.round(l*Gb),ya=null!=ba&&0<=ba&&null!=X&&0<=X,Ib=Ib+((R? | |
z.F(c.goldfinchUrl):z.F(c.miroUrl))+(J?"/freeze":""));switch(z.sa(d)?d.toString():d){case "resample":Ib+="/max/"+z.Bh(S);break;case "crop-fixed":Ib+=ya?"/focal/"+z.Bh(S)+"/"+z.Bh(l)+"/"+z.Bh(Math.round(ba))+"/"+z.Bh(Math.round(X)):"/fit/"+z.Bh(q)+"/"+z.Bh(S)+"/"+z.Bh(l);break;case "crop-preserve":Ib+=ya?"/focal/"+z.Bh(S)+"/"+z.Bh(Math.round(k*S))+"/"+z.Bh(Math.round(ba))+"/"+z.Bh(Math.round(X)):"/fit/"+z.Bh(q)+"/"+z.Bh(S)+"/"+z.Bh(Math.round(k*S));break;case "letterbox":Ib+="/letterbox/"+z.Bh(S)+ | |
"/"+z.Bh(l)+"/"+z.Bh(Fa||0)+"/"+z.Bh(Ra||0);break;default:Ib+="/proxy"}Ib+=(e?"/desat/multiply/"+z.Bh(e)+"/60/overlay/"+z.Bh(e):g?"/multiply/"+z.Bh(g):"")+(t?"/gradv/"+z.Bh(t):"")+(w?"/darken/"+z.Bh(w):"")+(C?"/lighten/"+z.Bh(C):"")+(r?"/blur/"+z.Bh(r):"")+(mb?"/sgradmap":"")+(a?"/lighten/80/gradw/50/95/100/multiply/"+z.Bh(a)+"/100":"")+"/"+z.Bh(b)+(Q?"?q\x3d"+wh(Q):"")}return(0,z.ri)(Ib)}; | |
z.Ej=function(a,b){var c="";b=""+z.Bj(a,0,b);b=(0,z.L)(b);a=""+z.dda(a);a=(0,z.Cj)(a);c+=(b?'background-image: url("'+z.Eh(b)+'");':"")+(a?(b?" ":"")+"background-position: "+z.G(a)+" !important;":"");return(0,z.Dj)(c)};z.dda=function(a){var b="";if(a.image)var c=null!=a.image.focusPercentX&&-1!=a.image.focusPercentX?a.image.focusPercentY:50,b=b+(z.G(null!=a.image.focusPercentX&&-1!=a.image.focusPercentX?a.image.focusPercentX:50)+"% "+z.G(c)+"%");return(0,z.Dj)(b)}; | |
z.Gj=function(a,b,c){b=a.maxHeight||36;a=""+z.Aj({imageId:a.image.imageId||a.image.id,strategy:"letterbox",height:b,width:Fj(a.image,b,a.maxWidth),UCa:50,LFa:50},0,c);return(0,z.ri)(a)}; | |
fda=function(a,b,c){a=a||{};c=c||{};b="";if("/"==c.pathname){b+='\x3cscript type\x3d"application/ld+json"'+(c.Aa?' nonce\x3d"'+c.Aa+'"':"")+"\x3e";var d=(null==a.collection?0:a.collection.domain)?a.collection.name:c.productName;(null==a.collection?0:a.collection.domain)?a=z.A(a.collection.description):(a=z.n("{$productName} is a community of readers and writers offering unique perspectives on ideas large and small.",{productName:z.A(c.productName)}),a=(0,z.y)(""+a),a=z.A(a));a=(0,z.M)(""+a);b+='{"@context": "http://schema.org", "@type": "WebSite", "url": "'+ | |
String(c.baseUrl).replace(sh,th)+'", "name": "'+String(d).replace(sh,th)+'", "alternateName": "'+String(z.Hj(a)).replace(sh,th)+'"}\x3c/script\x3e'}else a.post&&(b+='\x3cscript type\x3d"application/ld+json"'+(c.Aa?' nonce\x3d"'+c.Aa+'"':"")+"\x3e"+eca(eda(a.post,a.sequence,a.authorName,a.canonicalUrl,c))+"\x3c/script\x3e");return(0,z.y)(b)}; | |
gda=function(a,b,c){b="";if(a.image&&(a.image.imageId||a.image.id)){var d=0!=a.image.originalWidth&&0!=a.image.originalHeight&&1.9*a.image.originalHeight>a.image.originalWidth;null!=a.image.focusPercentX&&0<=a.image.focusPercentX&&null!=a.image.focusPercentY&&0<=a.image.focusPercentY&&d?(d=0==a.image.originalWidth||1200<a.image.originalWidth?1200:a.image.originalWidth,b+=z.F(z.Bj({image:a.image,strategy:"crop-fixed",width:d,height:Math.round(d/1.9),gQ:!0},0,c))):b+=z.F(z.Bj({image:a.image,strategy:"resample", | |
width:1200,gQ:!0},0,c))}return(0,z.ri)(b)};Ij=function(a,b){a=a||{};return(0,z.y)('\x3cmeta name\x3d"twitter:site" content\x3d"@'+z.E(a.twitterUsername||"Medium")+'"\x3e\x3cmeta property\x3d"og:site_name" content\x3d"'+z.E(a.Cga||b.productName)+'"\x3e')};z.Jj=function(){var a=z.n("Unknown user");return z.B(""+a)};Kj=function(){var a=z.n("Email address");return(0,z.y)(""+a)};hda=function(){var a=z.n("Full name");return(0,z.y)(""+a)}; | |
z.Lj=function(){var a=z.n("Please enter a valid email address");return(0,z.y)(""+a)};z.Mj=function(){var a=z.n("Please enter your name");return(0,z.y)(""+a)};ida=function(){var a=z.n("We were unable to send your verification email because you are no longer signed in.");return(0,z.y)(""+a)};jda=function(){var a=z.n("Thanks, but…");return(0,z.y)(""+a)};kda=function(){var a=z.n("It looks like your account is already verified.");return(0,z.y)(""+a)}; | |
lda=function(){var a=z.n("An error occurred, and we were unable to send your verification email.");return(0,z.y)(""+a)};mda=function(){var a=z.n("An error occurred. Please try following this person again.");return(0,z.y)(""+a)};nda=function(){var a=z.n("An error occurred. Please try unfollowing this person again.");return(0,z.y)(""+a)};oda=function(){var a=z.n("An error occurred. Please try blocking this person again.");return(0,z.y)(""+a)}; | |
pda=function(){var a=z.n("An error occurred. Please try unblocking this person again.");return(0,z.y)(""+a)};qda=function(){var a=z.n("An error occurred. Please try reporting this person again.");return(0,z.y)(""+a)};rda=function(){var a=z.n("User flagged for admin review.");return(0,z.y)(""+a)};z.sda=function(){var a=z.n("Thanks");return(0,z.y)(""+a)};z.tda=function(){var a=z.n("We sent you a verification email. Please check your inbox.");return(0,z.y)(""+a)}; | |
z.Nj=function(){var a=z.n("Email address already in use");return(0,z.y)(""+a)};z.uda=function(){var a=z.n("Username is not available");return(0,z.y)(""+a)};vda=function(){var a=z.n("This will flag this user for review with our support team. It will not block this user from following you or seeing your content.");return(0,z.y)(""+a)};z.wda=function(){var a=z.n("Connect to Facebook");return(0,z.y)(""+a)};xda=function(){var a=z.n("Facebook connected!");return(0,z.y)(""+a)}; | |
z.yda=function(){var a=z.n("Connect to Twitter");return(0,z.y)(""+a)};zda=function(){var a=z.n("Twitter connected!");return(0,z.y)(""+a)};z.Ada=function(){var a=z.n("Block this user");return(0,z.y)(""+a)};z.Bda=function(){var a=z.n("Unblock this user");return(0,z.y)(""+a)};Cda=function(){var a=z.n("Block this user?");return(0,z.y)(""+a)};Dda=function(){var a=z.n("Block");return(0,z.y)(""+a)};Eda=function(){var a=z.n("Report this user?");return(0,z.y)(""+a)}; | |
Fda=function(){var a=z.n("Report");return(0,z.y)(""+a)};z.Oj=function(a){var b="";a=1==a.number?z.n("person"):z.n("people");b+=a;return(0,z.y)(b)};Gda=function(a){a=z.n("@{$username} is currently suspended.",{username:z.A(a.user.username)});return(0,z.y)(""+a)}; | |
z.Hda=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"arrowDown",size:"11px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"11" height\x3d"11" \x3e\x3cpath d\x3d"M0 2.77l5.095 5.648.427.472.427-.472L10.99 2.83l-.85-.77-4.618 5.142L.85 2z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.Qj=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"arrowDown",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" \x3e\x3cpath d\x3d"M3.9 6.772l5.205 5.756.427.472.427-.472 5.155-5.698-.854-.772-4.728 5.254L4.753 6z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.Zj=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"arrowDown",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M4 7.331l6.032 6.67.495.547.495-.547 5.973-6.603-.989-.895-5.974 6.603h.99l-6.033-6.67z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.Ida=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"arrowLeft",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" \x3e\x3cpath d\x3d"M11.47 13.969L6.986 9.484 11.47 5l.553.492L8.03 9.484l3.993 3.993z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.ak=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"arrowLeft",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M13.402 16.957l-6.478-6.479L13.402 4l.799.71-5.768 5.768 5.768 5.77z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.Jda=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"arrowLeft",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cpath d\x3d"M18.663 24.927L8.2 14.463 18.663 4l1.29 1.147-9.316 9.316 9.316 9.317z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.ik=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"arrowRight",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" \x3e\x3cpath d\x3d"M7.6 5.138L12.03 9.5 7.6 13.862l-.554-.554L10.854 9.5 7.046 5.692" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.jk=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"arrowRight",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M8.3 4.2l6.4 6.3-6.4 6.3-.8-.8 5.5-5.5L7.5 5" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.Kda=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"arrowRight",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cpath d\x3d"M9.147 4l10.606 10.463L9.147 24.927 8 23.78l9.317-9.317L8 5.147z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.Lda=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"audio",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cg stroke-linecap\x3d"round" stroke-linejoin\x3d"round"\x3e\x3cpath d\x3d"M17.4 7s2.64 3.562 0 6.876"/\x3e\x3cpath d\x3d"M15 8.556s1.6 2.38 0 4.402"/\x3e\x3c/g\x3e\x3cpath d\x3d"M11.896 3.01a.186.186 0 0 0-.184.037L6.467 7.701H3.213c-.092 0-.213.062-.213.143v5.28c0 .08.115.303.213.303h3.139L11.717 18h.185a.168.168 0 0 0 .098-.155V3.147a.14.14 0 0 0-.104-.137z"/\x3e\x3c/svg\x3e')},a)))}; | |
Mda=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"bookmark",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M14.31 4c.374 0 .69.33.69.716l.002 11.705-3.914-2.88-.596-.44-4.49 3.33L6 4.72c0-.39.316-.718.69-.718h7.62m0-1H6.69C5.76 3 5 3.772 5 4.717v12.9c.02.087.048.173.11.243.084.097.198.14.313.14a.407.407 0 0 0 .285-.11l4.784-3.543 4.81 3.545c.08.075.183.11.286.11a.405.405 0 0 0 .31-.14.406.406 0 0 0 .102-.24V4.72C16 3.773 15.24 3 14.31 3" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
a)))};Nda=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"bookmark",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.kk=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"bookmark",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cpath d\x3d"M19.385 4h-9.77A2.623 2.623 0 0 0 7 6.615V23.01a1.022 1.022 0 0 0 1.595.847l5.905-4.004 5.905 4.004A1.022 1.022 0 0 0 22 23.011V6.62A2.625 2.625 0 0 0 19.385 4zM21 23l-5.91-3.955-.148-.107a.751.751 0 0 0-.884 0l-.147.107L8 23V6.615C8 5.725 8.725 5 9.615 5h9.77C20.275 5 21 5.725 21 6.615V23z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
a)))};z.Oda=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"bookmarkCheck",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cpath d\x3d"M19.385 4A2.625 2.625 0 0 1 22 6.62v16.391a1.022 1.022 0 0 1-1.595.846L14.5 19.853l-5.905 4.004A1.022 1.022 0 0 1 7 23.01V6.615A2.623 2.623 0 0 1 9.615 4h9.77zM8.8 11.56L13.307 16 20.8 8.618 19.157 7l-5.85 5.763-2.864-2.822L8.8 11.56z"/\x3e\x3c/svg\x3e')},a)))}; | |
Pda=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"bookmarkFilled",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M6.69 3C5.76 3 5 3.773 5 4.718v12.9c.02.087.048.173.11.243.084.1.198.14.313.14.102 0 .204-.03.285-.11l4.784-3.54 4.81 3.55c.08.08.183.11.286.11a.39.39 0 0 0 .31-.14.399.399 0 0 0 .102-.24V4.72C16 3.773 15.24 3 14.31 3H6.69z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
lk=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"bookmarkFilled",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126c.205.183.52.17.708-.03a.5.5 0 0 0 .118-.285H19V6z"/\x3e\x3c/svg\x3e')},a)))}; | |
z.mk=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"bookmarkFilled",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cpath d\x3d"M19.385 4h-9.77A2.623 2.623 0 0 0 7 6.615V23.01a1.022 1.022 0 0 0 1.595.847l5.905-4.004 5.905 4.004A1.022 1.022 0 0 0 22 23.011V6.62A2.625 2.625 0 0 0 19.385 4z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.nk=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"checkmarkThin",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" \x3e\x3cpath d\x3d"M4.29 10.793l3.704 3.705.904.904.66-1.095 5.296-8.795L13.14 4.48l-5.296 8.795 1.563-.191-3.704-3.705z"/\x3e\x3c/svg\x3e')},a)))}; | |
z.ok=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"clapFilled",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" \x3e\x3cg fill-rule\x3d"evenodd"\x3e\x3cpath d\x3d"M6.93 15.338L4.873 13.28c-2.16-2.161-3.532-3.154-2.894-3.79.317-.319.791-.39 1.182 0 .587.587 2.134 2.2 2.134 2.2.083.085.163.071.38.126.215.055.36-.044.545-.225.169-.164.075-.6-.089-.769-.008-.008-2.277-2.258-2.644-2.627-.368-.367-.498-1.001-.106-1.392.376-.376.818-.188 1.15.144.388.387 2.696 2.763 2.696 2.763a.424.424 0 0 0 .305.129.54.54 0 0 0 .328-.156c.17-.164.254-.464.09-.632 0 0-1.335-1.4-1.819-1.883-.713-.714-.775-1.22-.457-1.538.443-.443 1.048-.298 1.854.623l3.586 3.884-.752-1.942s-.47-1.25 0-1.5c.47-.252.834.386 1.173.89l1.86 3.347c1.007 1.644.685 3.789-.73 5.187-1.873 1.873-4.076.876-5.735-.782z"/\x3e\x3cpath d\x3d"M10.262.042H8.734l.764 3.298z"/\x3e\x3cpath d\x3d"M13.932 1.208L12.495.686l-.41 3.36z"/\x3e\x3cpath d\x3d"M6.493.569l-1.437.522 1.846 2.838z"/\x3e\x3cpath d\x3d"M14.302 7.028c-.34-.504-.896-.514-1.256-.234-.241.186-.208.605-.193.897l1.51 2.643c1.164 1.904 1.33 3.66 0 5.444.4-.183.519-.227.9-.608 1.519-1.518 1.852-3.32.846-4.964l-1.807-3.178z"/\x3e\x3c/g\x3e\x3c/svg\x3e')},a)))}; | |
Qda=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"emailOutline",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M4 6v13h17V6H4zm5.906 7.968l2.594 2.124 2.594-2.124 4.146 4.02H5.76l4.146-4.02zm-4.888 3.326V9.966l4.097 3.354-4.097 3.974zm10.867-3.974l4.097-3.354v7.328l-4.097-3.974zm4.097-6.308v1.643L12.5 14.78 5.018 8.655V7.012h14.964z"/\x3e\x3c/svg\x3e')},a)))}; | |
z.pk=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"facebookFilled",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M18.26 10.55c0-4.302-3.47-7.79-7.75-7.79-4.28 0-7.75 3.488-7.75 7.79a7.773 7.773 0 0 0 6.535 7.684v-5.49h-1.89v-2.2h1.89v-1.62c0-1.882 1.144-2.907 2.814-2.907.8 0 1.48.06 1.68.087V8.07h-1.15c-.91 0-1.09.435-1.09 1.07v1.405h2.16l-.28 2.2h-1.88v5.515c3.78-.514 6.7-3.766 6.7-7.71"/\x3e\x3c/svg\x3e')},a)))}; | |
Rda=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"facebookFilled",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M21 12.646C21 7.65 16.97 3.6 12 3.6s-9 4.05-9 9.046a9.026 9.026 0 0 0 7.59 8.924v-6.376H8.395V12.64h2.193v-1.88c0-2.186 1.328-3.375 3.267-3.375.93 0 1.728.07 1.96.1V9.77H14.47c-1.055 0-1.26.503-1.26 1.242v1.63h2.517l-.33 2.554H13.21V21.6c4.398-.597 7.79-4.373 7.79-8.954"/\x3e\x3c/svg\x3e')},a)))}; | |
Sda=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"googleNew",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cg fill\x3d"none" fill-rule\x3d"evenodd"\x3e\x3cpath d\x3d"M20.66 12.693c0-.603-.054-1.182-.155-1.738H12.5v3.287h4.575a3.91 3.91 0 0 1-1.697 2.566v2.133h2.747c1.608-1.48 2.535-3.65 2.535-6.24z" fill\x3d"#4285F4"/\x3e\x3cpath d\x3d"M12.5 21c2.295 0 4.22-.76 5.625-2.06l-2.747-2.132c-.76.51-1.734.81-2.878.81-2.214 0-4.088-1.494-4.756-3.503h-2.84v2.202A8.498 8.498 0 0 0 12.5 21z" fill\x3d"#34A853"/\x3e\x3cpath d\x3d"M7.744 14.115c-.17-.51-.267-1.055-.267-1.615s.097-1.105.267-1.615V8.683h-2.84A8.488 8.488 0 0 0 4 12.5c0 1.372.328 2.67.904 3.817l2.84-2.202z" fill\x3d"#FBBC05"/\x3e\x3cpath d\x3d"M12.5 7.38c1.248 0 2.368.43 3.25 1.272l2.437-2.438C16.715 4.842 14.79 4 12.5 4a8.497 8.497 0 0 0-7.596 4.683l2.84 2.202c.668-2.01 2.542-3.504 4.756-3.504z" fill\x3d"#EA4335"/\x3e\x3c/g\x3e\x3c/svg\x3e')}, | |
a)))};z.Tda=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"highlighter",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M13.7 15.964l5.204-9.387-4.726-2.62-5.204 9.387 4.726 2.62zm-.493.885l-1.313 2.37-1.252.54-.702 1.263-3.796-.865 1.228-2.213-.202-1.35 1.314-2.37 4.722 2.616z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
Uda=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"logoWordmark",size:"122x45px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"122" height\x3d"45" \x3e\x3cpath d\x3d"M61.6 31.806c0 .412 0 .505.28.758l1.574 1.537v.065h-6.979v-2.95a4.852 4.852 0 0 1-4.627 3.203c-3.588 0-6.192-2.81-6.192-7.981 0-4.843 2.81-8.075 6.754-8.075a4.122 4.122 0 0 1 4.056 2.51v-6.51a.806.806 0 0 0-.319-.787l-1.499-1.443v-.065l6.951-.815v20.553zm-5.125-.937v-9.714a2.614 2.614 0 0 0-2.08-.975c-1.695 0-3.334 1.537-3.334 6.099 0 4.271 1.414 5.78 3.175 5.78a2.81 2.81 0 0 0 2.24-1.19zm9.752 3.297V21.051a.88.88 0 0 0-.281-.786L64.4 18.672v-.065h6.98v13.302c0 .412 0 .505.28.758l1.536 1.443v.066l-6.97-.01zm-.253-20.356a2.81 2.81 0 1 1 5.62 0 2.81 2.81 0 0 1-5.62 0zm24.234 17.967c0 .413 0 .534.281.787l1.574 1.537v.065h-7.017v-3.363a5.077 5.077 0 0 1-4.805 3.616c-3.11 0-4.778-2.267-4.778-6.557 0-2.07 0-4.337.066-6.885a.796.796 0 0 0-.281-.76l-1.546-1.545v-.065h6.923v8.552c0 2.81.412 4.684 2.173 4.684a2.81 2.81 0 0 0 2.267-1.415v-9.367a.88.88 0 0 0-.28-.787l-1.556-1.602v-.065h6.979v13.17zm23.756 2.39c0-.507.094-6.952.094-8.432 0-2.81-.44-4.75-2.417-4.75a3.138 3.138 0 0 0-2.482 1.35c.198.876.292 1.772.28 2.67 0 1.948-.065 4.43-.093 6.913a.796.796 0 0 0 .281.759l1.574 1.442v.066h-7.045c0-.468.094-6.95.094-8.431 0-2.857-.44-4.75-2.389-4.75a2.81 2.81 0 0 0-2.323 1.387v9.555c0 .412 0 .506.281.759l1.537 1.442v.066h-6.97V21.098a.88.88 0 0 0-.281-.787l-1.546-1.639v-.065h6.98v3.334a5.002 5.002 0 0 1 5.002-3.587c2.323 0 3.896 1.292 4.562 3.747a5.433 5.433 0 0 1 5.245-3.747c3.11 0 4.872 2.295 4.872 6.632 0 2.07-.066 4.43-.094 6.913a.75.75 0 0 0 .318.759l1.537 1.443v.065h-7.017zm-87.671-2.043l2.07 1.977v.065H17.862v-.065l2.107-1.977a.796.796 0 0 0 .281-.759V18.728c0-.534 0-1.255.094-1.873l-7.082 17.564h-.084L5.843 18.26c-.16-.402-.206-.43-.31-.702v10.595c-.087.71.034 1.429.348 2.07l2.95 3.879v.065H1v-.065l2.95-3.888a3.69 3.69 0 0 0 .347-2.06v-11.71a2.267 2.267 0 0 0-.487-1.602l-2.089-2.708v-.065h7.494l6.277 13.686 5.527-13.686h7.335v.065l-2.061 2.296a.806.806 0 0 0-.319.786v16.15a.75.75 0 0 0 .319.759zm8.215-6.332v.065c0 4.01 2.07 5.62 4.497 5.62a5.105 5.105 0 0 0 4.777-2.894h.066c-.844 3.963-3.298 5.836-6.97 5.836-3.962 0-7.7-2.389-7.7-7.925 0-5.817 3.747-8.14 7.887-8.14 3.335 0 6.886 1.573 6.886 6.632v.806h-9.443zm0-.806h4.618v-.815c0-4.122-.852-5.218-2.136-5.218-1.555 0-2.5 1.64-2.5 6.033h.018z"/\x3e\x3c/svg\x3e')},a)))}; | |
z.qk=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"moreFilled",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M5 12.5c0 .552.195 1.023.586 1.414.39.39.862.586 1.414.586.552 0 1.023-.195 1.414-.586.39-.39.586-.862.586-1.414 0-.552-.195-1.023-.586-1.414A1.927 1.927 0 0 0 7 10.5c-.552 0-1.023.195-1.414.586-.39.39-.586.862-.586 1.414zm5.617 0c0 .552.196 1.023.586 1.414.391.39.863.586 1.414.586.552 0 1.023-.195 1.414-.586.39-.39.586-.862.586-1.414 0-.552-.195-1.023-.586-1.414a1.927 1.927 0 0 0-1.414-.586c-.551 0-1.023.195-1.414.586-.39.39-.586.862-.586 1.414zm5.6 0c0 .552.195 1.023.586 1.414.39.39.868.586 1.432.586.551 0 1.023-.195 1.413-.586.391-.39.587-.862.587-1.414 0-.552-.196-1.023-.587-1.414a1.927 1.927 0 0 0-1.413-.586c-.565 0-1.042.195-1.432.586-.39.39-.586.862-.587 1.414z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
a)))}; | |
z.rk=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"questionMark",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" \x3e\x3cpath d\x3d"M9.5 18A8.5 8.5 0 1 0 9.499.999 8.5 8.5 0 0 0 9.5 18zm0-1a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15z"/\x3e\x3cpath d\x3d"M6.9 7.505h1.213c.053-.75.574-1.224 1.383-1.224.802 0 1.324.47 1.324 1.12 0 .59-.252.93-.96 1.36-.804.48-1.16 1.01-1.132 1.85l.006.45h1.213v-.36c0-.59.217-.9.973-1.34.773-.46 1.23-1.1 1.23-2 0-1.27-1.043-2.19-2.59-2.19-1.7 0-2.607 1.01-2.66 2.36zm2.514 6.305c.54 0 .902-.357.902-.89 0-.545-.363-.903-.902-.903-.54 0-.91.358-.91.903 0 .533.37.89.91.89z"/\x3e\x3c/svg\x3e')},a)))}; | |
z.sk=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"removeThin",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" \x3e\x3cpath d\x3d"M13.792 4.6l-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" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.tk=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"removeThin",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cpath d\x3d"M20.13 8.11l-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" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.Vda=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"response",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cpath d\x3d"M21.27 20.058c1.89-1.826 2.754-4.17 2.754-6.674C24.024 8.21 19.67 4 14.1 4 8.53 4 4 8.21 4 13.384c0 5.175 4.53 9.385 10.1 9.385 1.007 0 2-.14 2.95-.41.285.25.592.49.918.7 1.306.87 2.716 1.31 4.19 1.31.276-.01.494-.14.6-.36a.625.625 0 0 0-.052-.65c-.61-.84-1.042-1.71-1.282-2.58a5.417 5.417 0 0 1-.154-.75zm-3.85 1.324l-.083-.28-.388.12a9.72 9.72 0 0 1-2.85.424c-4.96 0-8.99-3.706-8.99-8.262 0-4.556 4.03-8.263 8.99-8.263 4.95 0 8.77 3.71 8.77 8.27 0 2.25-.75 4.35-2.5 5.92l-.24.21v.32c0 .07 0 .19.02.37.03.29.1.6.19.92.19.7.49 1.4.89 2.08-.93-.14-1.83-.49-2.67-1.06-.34-.22-.88-.48-1.16-.74z"/\x3e\x3c/svg\x3e')},a)))}; | |
Wda=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"responseFilled",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" \x3e\x3cpath d\x3d"M16.19 9.42c0 1.667-.72 2.837-2.028 4l-.1.087v.132c0 .04.006.12.02.23.025.19.067.4.13.62.17.61.457 1.21.854 1.8-.86-.05-1.686-.33-2.458-.84-.256-.17-.326-.2-.54-.4l-.124-.12-.16.05c-.682.21-2.75.46-4.886-.16C4.76 14.23 2.8 11.91 2.8 9.42c0-3.374 3.003-6.12 6.695-6.12s6.695 2.746 6.695 6.12z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
a)))}; | |
z.Xda=function(){var a;a={};return(0,z.y)(z.Pj(z.D({name:"responseFilled",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M19.074 21.117c-1.244 0-2.432-.37-3.532-1.096a7.792 7.792 0 0 1-.703-.52c-.77.21-1.57.32-2.38.32-4.67 0-8.46-3.5-8.46-7.8C4 7.7 7.79 4.2 12.46 4.2c4.662 0 8.457 3.5 8.457 7.803 0 2.058-.85 3.984-2.403 5.448.023.17.06.35.118.55.192.69.537 1.38 1.026 2.04.15.21.172.48.058.7a.686.686 0 0 1-.613.38h-.03z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.uk=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"search",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M20.067 18.933l-4.157-4.157a6 6 0 1 0-.884.884l4.157 4.157a.624.624 0 1 0 .884-.884zM6.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 11z"/\x3e\x3c/svg\x3e')},a)))}; | |
z.vk=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"star",size:"15px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"15" height\x3d"15" \x3e\x3cpath d\x3d"M7.438 2.324c.034-.099.09-.099.123 0l1.2 3.53a.29.29 0 0 0 .26.19h3.884c.11 0 .127.049.038.111L9.8 8.327a.271.271 0 0 0-.099.291l1.2 3.53c.034.1-.011.131-.098.069l-3.142-2.18a.303.303 0 0 0-.32 0l-3.145 2.182c-.087.06-.132.03-.099-.068l1.2-3.53a.271.271 0 0 0-.098-.292L2.056 6.146c-.087-.06-.071-.112.038-.112h3.884a.29.29 0 0 0 .26-.19l1.2-3.52z"/\x3e\x3c/svg\x3e')},a)))}; | |
z.wk=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"star",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" \x3e\x3cpath d\x3d"M9.416 2.602c.046-.136.121-.136.167 0l1.637 4.854a.395.395 0 0 0 .354.26h5.297c.149 0 .173.068.052.154l-4.287 2.985a.374.374 0 0 0-.136.401l1.637 4.855c.046.135-.016.18-.135.093l-4.284-2.998a.41.41 0 0 0-.437 0l-4.287 3.001c-.12.083-.181.042-.135-.094l1.637-4.854a.374.374 0 0 0-.135-.401L2.076 7.857c-.118-.083-.097-.154.052-.154h5.297a.395.395 0 0 0 .354-.26l1.637-4.841z"/\x3e\x3c/svg\x3e')}, | |
a)))}; | |
z.Yda=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"tagFilled",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M4.662 8.72l-1.23 1.23a1.753 1.753 0 0 0 .004 2.477l5.135 5.135c.7.693 1.8.688 2.48.005l1.23-1.23 5.35-5.346c.31-.31.54-.92.51-1.36l-.32-4.29c-.09-1.09-1.05-2.06-2.15-2.14l-4.3-.33c-.43-.03-1.05.2-1.36.51l-.79.8-2.27 2.28-2.28 2.27zm9.826-.98a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a)))}; | |
z.xk=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"twitterFilled",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M18.502 4.435a6.892 6.892 0 0 1-2.18.872 3.45 3.45 0 0 0-2.552-1.12 3.488 3.488 0 0 0-3.488 3.486c0 .276.03.543.063.81a9.912 9.912 0 0 1-7.162-3.674c-.3.53-.47 1.13-.498 1.74.027 1.23.642 2.3 1.557 2.92a3.357 3.357 0 0 1-1.555-.44.15.15 0 0 0 0 .06c-.004 1.67 1.2 3.08 2.8 3.42-.3.06-.606.1-.934.12-.216-.02-.435-.04-.623-.06.42 1.37 1.707 2.37 3.24 2.43a7.335 7.335 0 0 1-4.36 1.49L2 16.44A9.96 9.96 0 0 0 7.355 18c6.407 0 9.915-5.32 9.9-9.9.015-.18.01-.33 0-.5A6.546 6.546 0 0 0 19 5.79a6.185 6.185 0 0 1-1.992.56 3.325 3.325 0 0 0 1.494-1.93"/\x3e\x3c/svg\x3e')}, | |
a)))}; | |
z.yk=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"twitterFilled",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M21.725 5.338c-.744.47-1.605.804-2.513 1.006a3.978 3.978 0 0 0-2.942-1.293c-2.22 0-4.02 1.81-4.02 4.02 0 .32.034.63.07.94-3.31-.18-6.27-1.78-8.255-4.23a4.544 4.544 0 0 0-.574 2.01c.04 1.43.74 2.66 1.8 3.38-.63-.01-1.25-.19-1.79-.5v.08c0 1.93 1.38 3.56 3.23 3.95-.34.07-.7.12-1.07.14-.25-.02-.5-.04-.72-.07.49 1.58 1.97 2.74 3.74 2.8a8.49 8.49 0 0 1-5.02 1.72c-.3-.03-.62-.04-.93-.07A11.447 11.447 0 0 0 8.88 21c7.386 0 11.43-6.13 11.414-11.414.015-.21.01-.38 0-.578a7.604 7.604 0 0 0 2.01-2.08 7.27 7.27 0 0 1-2.297.645 3.856 3.856 0 0 0 1.72-2.23"/\x3e\x3c/svg\x3e')},a)))}; | |
z.zk=function(a){a=a||{};return(0,z.y)(z.Pj(z.D({name:"unlisted",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" \x3e\x3cg fill-rule\x3d"evenodd"\x3e\x3cpath d\x3d"M4.128 12.213A15.396 15.396 0 0 1 1.595 9.93a6.613 6.613 0 0 1-.167-.198l-.245-.305.245-.305a13.084 13.084 0 0 1 .63-.697A15.4 15.4 0 0 1 3.753 6.92c1.814-1.384 3.76-2.22 5.77-2.22.613 0 1.272.13 1.972.374l-.797.772a4.544 4.544 0 0 0-1.176-.172c-1.763 0-3.519.755-5.178 2.021-.588.448-1.12.93-1.588 1.41-.278.287-.278.36 0 .647a14.43 14.43 0 0 0 2.085 1.772l-.713.69zm3.048 1.57c.77.243 1.553.373 2.346.373.7 0 1.458-.168 2.268-.483.992-.385 2.038-.98 3.105-1.726a25.266 25.266 0 0 0 2.679-2.169l.366-.351-.366-.352a23.05 23.05 0 0 0-.763-.682 25.264 25.264 0 0 0-2.283-1.737l-.716.695a24.053 24.053 0 0 1 2.366 1.784c.2.17.2.414 0 .584-.57.488-1.192.975-1.841 1.43-1.009.705-1.99 1.263-2.9 1.616-.705.274-1.349.417-1.915.417a6.592 6.592 0 0 1-1.535-.186l-.811.787z"/\x3e\x3cpath d\x3d"M12.053 9.056c.016.116.024.234.024.354 0 1.457-1.22 2.639-2.723 2.639a2.74 2.74 0 0 1-.365-.024l3.064-2.969zM9.719 6.794a2.833 2.833 0 0 0-.365-.023c-1.504 0-2.723 1.181-2.723 2.639 0 .12.009.238.025.354l3.063-2.97z"/\x3e\x3cpath d\x3d"M3.603 14.305l-.35.34.679.7.35-.34L14.685 4.921l.35-.339-.679-.7-.35.34z"/\x3e\x3c/g\x3e\x3c/svg\x3e')}, | |
a)))}; | |
z.Pj=function(a){var b="11px"==a.size?11:"15px"==a.size?15:"19px"==a.size?19:"21px"==a.size?21:"25px"==a.size?25:"29px"==a.size?29:"33px"==a.size?33:"45px"==a.size?45:"65px"==a.size?65:"85px"==a.size?85:"90px"==a.size?90:"120px"==a.size?120:"45x29px"==a.size?29:"95x45px"==a.size?45:"122x45px"==a.size?45:"138x27px"==a.size?27:"160x45px"==a.size?45:"151x65px"==a.size?65:"288x65px"==a.size?65:"201x85px"==a.size?85:0;a=""+("11px"!=a.size&&"15px"!=a.size&&"19px"!=a.size&&"21px"!=a.size&&"25px"!=a.size&& | |
"29px"!=a.size&&"33px"!=a.size&&"45px"!=a.size&&"65px"!=a.size&&"85px"!=a.size&&"90px"!=a.size&&"120px"!=a.size&&"45x29px"!=a.size&&"95x45px"!=a.size&&"122x45px"!=a.size&&"138x27px"!=a.size&&"160x45px"!=a.size&&"151x65px"!=a.size&&"288x65px"!=a.size&&"201x85px"!=a.size||!b?"":'\x3cspan class\x3d"svgIcon svgIcon--'+z.E(a.name)+" svgIcon--"+z.E(a.size)+(a.style?" svgIcon--"+z.E(a.style):"")+(a.eWa?" is-flushTop":"")+(a.Ki?" is-flushLeft":"")+(a.pg?" is-flushRight":"")+(a.nQ?" is-flushBottom":"")+(a.l? | |
" "+z.E(a.l):"")+'"\x3e'+z.A(a.content)+"\x3c/span\x3e");return(0,z.y)(a)}; | |
Zda=function(a,b,c){b=c.j.o4;var d=a.anchorType==b.AUDIO,e=a.anchorType==b.rT;a=""+('\x3ca href\x3d"'+z.E(z.F((a.anchorType==b.AUDIO?c.audioUrl+"/":"")+a.href))+'" data-href\x3d"'+z.E(a.href)+'"'+(a.anchorType?' data-anchor-type\x3d"'+z.E(a.anchorType)+'"':"")+(a.userId?' data-user-id\x3d"'+z.E(a.userId)+'" data-action-value\x3d"'+z.E(a.userId)+'"':"")+(e?' data-action\x3d"show-user-card" data-action-type\x3d"hover"':"")+' class\x3d"'+z.E(a.YQ)+'"'+(a.title?' title\x3d"'+z.E(a.title)+'"':"")+(a.rel? | |
' rel\x3d"'+z.E(a.rel)+'"':"")+(a.YFa?' data-tooltip\x3d"'+z.E(a.href)+'" data-tooltip-position\x3d"bottom" data-tooltip-type\x3d"link"':"")+(d?' data-action\x3d"play-audio"':"")+(a.rga?' target\x3d"_blank"':"")+"\x3e");return(0,z.y)(a)};$da=function(a){return(0,z.y)('\x3cspan class\x3d"'+z.E(a.YQ)+'" '+(a.title?' title\x3d"'+z.E(a.title)+'"':"")+"\x3e")}; | |
aea=function(a,b,c){return(0,z.y)(a.anchorType==c.j.o4.rT&&a.userId?'\x3cspan class\x3d"'+z.E(a.YQ)+'" data-action\x3d"show-user-card" data-action-type\x3d"hover" data-user-id\x3d"'+z.E(a.userId)+'" data-action-value\x3d"'+z.E(a.userId)+'"\x3e':'\x3cspan class\x3d"'+z.E(a.YQ)+'" data-action\x3d"open-inner-link" data-action-value\x3d"'+z.E(a.href)+'"'+(a.title?' title\x3d"'+z.E(a.title)+'"':"")+"\x3e")}; | |
z.bea=function(a,b){b=b||{};var c=a.backgroundColor&&"default"!=a.backgroundColor,d=a.sectionType==b.j.Pka.Fha,c="\x3csection"+(a.name?' name\x3d"'+z.E(a.name)+'"':"")+' class\x3d"'+(a.dga?z.E(a.dga):"")+(d?" u-absolute u-flexCenter u-borderRadius3 u-backgroundWhite u-transition--transform250BoxShadow200 u-borderBox u-height40em u-width22p5em u-margin0 u-backfaceVisibilityHidden":"")+'"'+(d&&null!=a.sectionIndex&&-1!=a.sectionIndex?' style\x3d"'+(b.Aa?"/*"+b.Aa+"*/":"")+"--section-index:"+z.E(z.G(a.sectionIndex))+ | |
';"':"")+(c?' data-background-color\x3d"'+z.E(a.backgroundColor)+'"':"")+"\x3e"+(a.hCa?'\x3cdiv class\x3d"js-sectionPoint u-ignoreBlock u-textColorTransparentWhite u-absolute u-top0 u-left0" style\x3d"'+(b.Aa?"/*"+b.Aa+"*/":"")+'height: 1px; width: 1px;"\x3e\x3c/div\x3e':""),e;if(a.imageLayout&&a.imageLayout!=b.j.Nc.NONE){var g=b,k="",l,q="";switch(z.sa(l=a.imageLayout)?l.toString():l){case g.j.Nc.cz:q+="aspect-ratio-viewport";break;case g.j.Nc.eK:q+="post-section"}l=""+(0,z.y)(q);l=(0,z.M)(l);var q= | |
{image:a.backgroundImage,imageLayout:a.imageLayout},r,t="";if((null==q.image?0:q.image.imageId)||(null==q.image?0:q.image.id))switch(z.sa(r=q.imageLayout)?r.toString():r){case g.j.Nc.eK:t+=z.G(z.Ej(z.D({strategy:"resample",width:g.j.sT.TS,verticalGradient:"29/81/40"},q),g));break;case g.j.Nc.xD:t+=z.G(z.Ej(z.D({strategy:"crop-fixed",cropType:"t",verticalGradient:"29/81/55"},q),g));break;case g.j.Nc.tS:case g.j.Nc.fz:t+=z.G(z.Ej(z.D({strategy:"resample",width:g.j.sT.TS},q),g));break;case g.j.Nc.sD:case g.j.Nc.cz:t+= | |
z.G(z.Ej(z.D({strategy:"resample",width:g.yB},q),g));break;case g.j.Nc.YD:case g.j.Nc.ZD:r=q.image&&q.image.originalWidth&&q.image.originalHeight?q.image.originalWidth/q.image.originalHeight:0,t+=z.G(z.Ej(z.D({strategy:"resample",width:r<=g.j.VJ.width/g.j.VJ.height?g.j.VJ.width:r*g.j.VJ.height},q),g))}r=""+(0,z.Dj)(t);r=(0,z.Cj)(r);q="section-background u-sizeFullWidth u-absolute u-top0 u-cursorDefault";switch(z.sa(e=a.imageLayout)?e.toString():e){case g.j.Nc.fz:q+=" u-sizeFullHeight u-maxHeight100vh"; | |
break;case g.j.Nc.tS:case g.j.Nc.xD:q+=" u-height100vh";break;case g.j.Nc.eK:q+=" u-height110vh";break;case g.j.Nc.sD:case g.j.Nc.cz:q+=" u-bottom0";break;case g.j.Nc.YD:case g.j.Nc.ZD:q+=" u-sizeFullHeight u-borderRadius3"}q=(0,z.M)(q);t="section-backgroundImage u-absolute u-top0 u-left0 u-right0 u-backgroundCover";switch(z.sa(e=a.imageLayout)?e.toString():e){case g.j.Nc.fz:t+=" u-bottom0 u-maxHeight100vh";break;case g.j.Nc.tS:case g.j.Nc.xD:case g.j.Nc.eK:t+=" u-height100vh";break;case g.j.Nc.sD:case g.j.Nc.cz:t+= | |
" u-bottom0";break;case g.j.Nc.YD:case g.j.Nc.ZD:t+=" u-bottom0 u-borderRadius3 u-transition--boxShadow200"}var t=(0,z.M)(t),w="u-ignoreBlock u-absolute0 u-borderRadius3";switch(z.sa(e=a.textLayout)?e.toString():e){case g.j.qq.bE:w+=" u-backgroundTransparentBlackLight"}w=(0,z.M)(w);k+='\x3cdiv class\x3d"'+z.E(q)+'"'+(l?' data-scroll\x3d"'+z.E(l)+'"':"")+'contenteditable\x3d"false"'+(a.backgroundImage?z.Ak({metadata:a.backgroundImage}):"")+'\x3e\x3cdiv class\x3d"'+z.E(t)+'" style\x3d"'+z.E(z.G(r))+ | |
'"\x3e\x3c/div\x3e\x3cdiv class\x3d"'+z.E(w)+'"\x3e\x3c/div\x3e\x3cbr\x3e\x3c/div\x3e';e=(0,z.y)(k)}else e="";c+=e;if(a.videoLayout&&a.videoLayout!=b.j.Qka.tja){e="";if(g=a.backgroundVideo&&a.backgroundVideo.videoId)k=g[0],l=g[1],r=g[2],g=""+(z.A(b.buggle.videoUrl)+"/"+z.A(k)+"/"+z.A(l)+"/"+z.A(r)+"/"+z.A(g)+"/dash/manifest.mpd"),g=""+(0,z.y)(g),g=z.ph(g),k=a.backgroundVideo,l=k.previewImageId,k=""+((l?' data-image-id\x3d"'+z.E(l)+'"':"")+(k.videoId?' data-video-id\x3d"'+z.E(k.videoId)+'"':"")+(k.originalWidth? | |
' data-width\x3d"'+z.E(k.originalWidth)+'"':"")+(k.originalHeight?' data-height\x3d"'+z.E(k.originalHeight)+'"':"")),k=(0,z.Bk)(k),e+='\x3cdiv class\x3d"section-background u-sizeFullWidth u-absolute u-top0 u-cursorDefault u-sizeFullHeight u-borderRadius3" '+k+'\x3e\x3cvideo data-dashjs-player src\x3d"'+z.E(z.F(g))+'" controls class\x3d"u-sizeFullWidth u-borderRadius3"\x3e\x3c/video\x3e\x3c/div\x3e';e=(0,z.y)(e)}else e="";a=""+(c+e+(a.OCa?'\x3cdiv class\x3d"section-divider"\x3e\x3chr class\x3d"section-divider"\x3e\x3c/div\x3e': | |
"")+(a.backgroundImage&&a.imageLayout==b.j.Nc.cz&&a.backgroundImage.originalHeight&&a.backgroundImage.originalWidth?(0,z.y)('\x3cdiv class\x3d"section-doubleWidthTable u-table u-ignoreBlock"\x3e\x3cdiv class\x3d"section-contentCell u-tableCell u-verticalAlignTop u-ignoreBlock"\x3e'+Ck({image:a.backgroundImage,size:50,className:"section-aspectRatioViewportBottomSpacer"},b)+'\x3cdiv class\x3d"section-doubleWidthTable u-table u-ignoreBlock"\x3e\x3cdiv class\x3d"section-contentCell u-tableCell u-ignoreBlock"\x3e\x3cdiv class\x3d"section-content"\x3e'): | |
a.backgroundImage&&a.imageLayout==b.j.Nc.sD?'\x3cdiv class\x3d"section-doubleWidthTable u-table u-ignoreBlock"\x3e\x3cdiv class\x3d"section-content u-tableCell u-verticalAlignBottom"\x3e':a.backgroundImage&&a.imageLayout==b.j.Nc.xD?'\x3cdiv class\x3d"section-coverFadePadding u-ignoreBlock"\x3e\x3cdiv class\x3d"section-content" data-scroll\x3d"cover-fade"\x3e':'\x3cdiv class\x3d"section-content'+(d?" u-relative u-sizeFullWidth u-maxHeight100pct u-overflowAuto u-clearfix u-borderBox u-paddingTop1p25em u-paddingBottom1p25em": | |
"")+(a.textLayout==b.j.qq.bE?" u-imageSpectrum":"")+'"\x3e'));return(0,z.y)(a)}; | |
z.Dk=function(a,b){b=b||{};var c="";if(a.backgroundImage&&a.imageLayout==b.j.Nc.cz&&a.backgroundImage.originalHeight&&a.backgroundImage.originalWidth){var d;d=b;d=(0,z.y)('\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"u-tableCell u-verticalAlignTop u-ignoreBlock"\x3e'+Ck({image:a.backgroundImage,size:100,className:"section-aspectRatioViewportPlaceholder"},d)+Ck({image:a.backgroundImage,size:50,className:"section-aspectRatioViewportBottomPlaceholder"},d)+'\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"u-tableCell u-ignoreBlock"\x3e'+ | |
Ck({image:a.backgroundImage,size:100,className:"section-aspectRatioViewportCropPlaceholder"},d)+"\x3c/div\x3e\x3c/div\x3e");c+=d}else c=a.backgroundImage&&a.imageLayout==b.j.Nc.sD?c+'\x3c/div\x3e\x3cdiv class\x3d"u-tableCell u-ignoreBlock"\x3e'+('\x3cdiv class\x3d"u-ignoreBlock" style\x3d"'+(b.Aa?"/*"+b.Aa+"*/":"")+"padding-bottom: "+z.E(z.G(Math.round(a.backgroundImage.originalHeight/a.backgroundImage.originalWidth*1E6)/1E4))+'%;"\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'):a.backgroundImage&&a.imageLayout== | |
b.j.Nc.xD?c+"\x3c/div\x3e\x3c/div\x3e":c+"\x3c/div\x3e";c+=a.imageLayout&&a.imageLayout!=b.j.Nc.NONE?'\x3cdiv class\x3d"section-captionContent u-ignoreBlock"\x3e':"";return(0,z.y)(c)};z.cea=function(a,b){return(0,z.y)((a.imageLayout&&a.imageLayout!=b.j.Nc.NONE?"\x3c/div\x3e":"")+"\x3c/section\x3e")}; | |
Ek=function(a,b){var c="";b=""+(0,z.y)(z.A(z.Ci(b,"MEDIA_RESOURCE_EMBED",null,null,null,[a.metadata.mediaResourceId,a.postId])));b=z.ph(b);c+="\x3c"+z.Hh(a.tagName)+(a.metadata.iframeWidth?' data-width\x3d"'+z.E(a.metadata.iframeWidth)+'"':"")+(a.metadata.iframeHeight?' data-height\x3d"'+z.E(a.metadata.iframeHeight)+'"':"")+(a.size&&a.size.width&&a.size.height?' width\x3d"'+z.E(a.size.width)+'" height\x3d"'+z.E(a.size.height)+'"':"")+" "+(a.qEa?'data-src\x3d"'+z.E(b)+'"':'src\x3d"'+z.E(z.F(b))+'"')+ | |
' data-media-id\x3d"'+z.E(a.metadata.mediaResourceId)+'"'+(a.metadata.thumbnailUrl?' data-thumbnail\x3d"'+z.E(a.metadata.thumbnailUrl)+'"':"")+(a.l?' class\x3d"'+z.E(a.l)+'"':"")+' allowfullscreen frameborder\x3d"0"\x3e\x3c/'+z.Hh(a.tagName)+"\x3e";return(0,z.y)(c)}; | |
dea=function(a,b){return(0,z.y)((a.Dga?"":z.Fk(a,b))+(a.href?'\x3ca href\x3d"'+z.E(z.F(a.href))+'" data-href\x3d"'+z.E(a.href)+'" class\x3d"graf-imageAnchor" data-action\x3d"image-link" data-action-observe-only\x3d"true"'+(a.rel?'rel\x3d"'+z.E(a.rel)+'"':"")+("edit"==a.mode?'data-tooltip\x3d"'+z.E(a.href)+'" data-tooltip-position\x3d"right" data-tooltip-type\x3d"link"':"")+"\x3e":"")+z.A(a.$ea)+(a.href?"\x3c/a\x3e":"")+(a.Dga?"":z.Ok(a)))}; | |
z.Ak=function(a){var b=a.metadata.id||a.metadata.imageId;a=""+((b?' data-image-id\x3d"'+z.E(b)+'"':"")+(a.metadata.alt?' alt\x3d"'+z.E(a.metadata.alt)+'"':"")+(a.metadata.originalWidth?' data-width\x3d"'+z.E(a.metadata.originalWidth)+'"':"")+(a.metadata.originalHeight?' data-height\x3d"'+z.E(a.metadata.originalHeight)+'"':"")+(0<=a.metadata.focusPercentX&&null!=a.metadata.focusPercentX&&0<=a.metadata.focusPercentY&&null!=a.metadata.focusPercentY?' data-focus-x\x3d"'+z.E(a.metadata.focusPercentX)+ | |
'" data-focus-y\x3d"'+z.E(a.metadata.focusPercentY)+'"':"")+(a.metadata.filter?' data-filter\x3d"'+z.E(a.metadata.filter)+'"':"")+(a.metadata.isFeatured?' data-is-featured\x3d"true"':"")+(a.metadata.externalSrc?' data-external-src\x3d"'+z.E(a.metadata.externalSrc)+'"':""));return(0,z.Bk)(a)}; | |
z.Fk=function(a,b){b=b||{};var c=a.ratio,d=a.lC,e=a.l,g=d?"span":"div";a=""+("\x3c"+z.Hh(g)+' class\x3d"aspectRatioPlaceholder'+(c?" is-locked":"")+(e?" "+z.E(e):"")+'"'+(c&&a.Pu?d?' style\x3d"'+(b.Aa?"/*"+b.Aa+"*/":"")+"width: "+z.E(z.G(a.Pu.width))+"px; height: "+z.E(z.G(a.Pu.height))+'px;"':' style\x3d"'+(b.Aa?"/*"+b.Aa+"*/":"")+"max-width: "+z.E(z.G(a.Pu.width))+"px; max-height: "+z.E(z.G(a.Pu.height))+'px;"':"")+"\x3e"+(c?"\x3c"+z.Hh(g)+' class\x3d"aspectRatioPlaceholder-fill" style\x3d"'+(b.Aa? | |
"/*"+b.Aa+"*/":"")+"padding-bottom: "+z.E(z.G(100*c))+'%;"\x3e\x3c/'+z.Hh(g)+"\x3e":""));return(0,z.y)(a)};z.Ok=function(a){a=a||{};a=""+("\x3c/"+z.Hh(a.lC?"span":"div")+"\x3e");return(0,z.y)(a)}; | |
Ck=function(a,b){var c=z.y,d='\x3cdiv class\x3d"'+(a.className?z.E(a.className)+" ":"")+'u-ignoreBlock"\x3e';b=b||{};a=""+('\x3cdiv class\x3d"u-ignoreBlock" style\x3d"'+(b.Aa?"/*"+b.Aa+"*/":"")+"padding-bottom: "+z.E(z.G(Math.round(a.image.originalHeight/a.image.originalWidth*a.size*1E4)/1E4))+'%;"\x3e\x3c/div\x3e');a=(0,z.y)(a);return c(d+a+"\x3c/div\x3e")}; | |
eea=function(a){var b=a.uI?"span":"div";a=""+("\x3c"+z.Hh(b)+' class\x3d"progressiveMedia js-progressiveMedia'+(a.l?" "+z.E(a.l):"")+'"'+(a.EB?z.rh(a.EB):"")+'\x3e\x3cimg src\x3d"'+z.E(z.Eh(a.Gm))+'" crossorigin\x3d"anonymous" class\x3d"progressiveMedia-thumbnail js-progressiveMedia-thumbnail"\x3e\x3ccanvas class\x3d"progressiveMedia-canvas js-progressiveMedia-canvas"\x3e\x3c/canvas\x3e'+z.A(a.Lfa)+"\x3c/"+z.Hh(b)+"\x3e");return(0,z.y)(a)}; | |
z.Pk=function(a){return(0,z.y)(eea({Gm:a.Gm,l:a.l,EB:a.EB,uI:a.uI,Lfa:(0,z.M)('\x3cimg class\x3d"progressiveMedia-image js-progressiveMedia-image" data-src\x3d"'+z.E(a.url)+'"\x3e\x3cnoscript class\x3d"js-progressiveMedia-inner"\x3e\x3cimg class\x3d"progressiveMedia-noscript js-progressiveMedia-inner" src\x3d"'+z.E(z.Eh(a.url))+'"\x3e\x3c/noscript\x3e')}))}; | |
z.Uk=function(a,b){a=a||{};var c=a.s,d=a.gk;return(0,z.y)(a.jk?'\x3cbutton class\x3d"'+z.E(z.Qk(a))+'" '+z.Tk(a,b)+"\x3e":d?"\x3c/button\x3e":'\x3cbutton class\x3d"'+z.E(z.Qk(a))+'" '+z.Tk(a,b)+"\x3e"+z.A(c)+"\x3c/button\x3e")};z.Vk=function(a,b,c){return(0,z.y)(z.Uk(z.D({s:a.text,ca:!0},a),c))}; | |
z.Wk=function(a,b){var c=a.Kga,d=a.title,e=a.xh,g=a.Fd,k=a.l,l="",e="button--withIcon button--withSvgIcon"+(g?" button--withIconRight":"")+(a.text||e?" button--withIconAndLabel":"")+(k?" "+z.A(k):""),e=(0,z.M)(e),k=""+(g?"":fea(a));if(c){var q;q=a||{};var c=q.text,r=q.Kga;q=q.Vc;c=(0,z.y)(c&&!q?'\x3cdiv class\x3d"button-labelSet"\x3e\x3cspan class\x3d"button-label button-label--multiLine js-buttonLabel"\x3e'+z.A(c)+'\x3c/span\x3e\x3cspan class\x3d"button-label button-label--subText button-label--multiLine js-buttonLabelSubtext"\x3e'+ | |
z.A(r)+"\x3c/span\x3e\x3c/div\x3e":"")}else c=gea(a);l+=z.Uk(z.D({title:d,l:e,s:(0,z.M)(k+c+(g?fea(a):""))},a),b);return(0,z.y)(l)};fea=function(a){a=a||{};var b=a.icon;a=a.jm;return(0,z.y)(a?'\x3cspan class\x3d"button-defaultState"\x3e'+z.A(b)+'\x3c/span\x3e\x3cspan class\x3d"button-activeState"\x3e'+z.A(a)+"\x3c/span\x3e":b?z.A(b):"")};z.Xk=function(a,b){return(0,z.y)(z.Uk(z.D({title:a.title,s:(0,z.M)(""+gea(a))},a),b))}; | |
gea=function(a){a=a||{};var b=a.text,c=a.xh;a=a.Vc;return(0,z.y)(b&&!a?'\x3cspan class\x3d"button-label '+(c?" button-defaultState":"")+' js-buttonLabel"\x3e'+z.A(b)+"\x3c/span\x3e"+(c?'\x3cspan class\x3d"button-label button-activeState"\x3e'+z.A(c)+"\x3c/span\x3e":""):"")};Yk=function(a,b){a=a||{};return(0,z.y)(z.Wk(z.D({icon:(0,z.M)(""+z.A(z.tk())),ca:!0,oC:!0},a),b))}; | |
z.Qk=function(a){a=a||{};var b=a.l,c=a.isPrimary,d=a.vb,e=a.la,g=a.ca,k=a.gi;return(0,z.y)("button"+(c?" button--primary":"")+(a.ld?" button--filled":"")+(a.qg?" button--smallest":"")+(a.Zn?" button--smaller":"")+(a.Db?" button--small":"")+(a.sb?" button--large":"")+(a.Vc?" button--circle":"")+(a.dCa?" button--rectangular":"")+(a.CBa?" button--compound":"")+(a.Np?" button--vertical":"")+(d?" button--light":"")+(a.wI?" button--lighter":"")+(e?" button--dark":"")+(a.yCa?" button--warning":"")+(a.oC? | |
" button--close":"")+(g?" button--chromeless":"")+(a.sCa?" button--expandable":"")+(k?" button--link":"")+(a.eb?" button--underline":"")+(a.Cea?" button--withFadedLabel":"")+(a.Gp?" button--borderless":"")+(a.X0?" button--inline":"")+(a.ql?" button--delete":"")+(a.Ff?" is-touchIconBlackPulse":"")+(a.pQ?" is-touchIconFadeInPulse":"")+(a.Un?" u-hide":"")+(a.isActive?" is-active":"")+(a.cy?" u-xs-hide":"")+(a.tda?" u-sm-hide":"")+(a.CR?" u-sm-show":"")+(a.Vn?" u-noUserSelect":"")+(a.Tda?" u-clearfix": | |
"")+(a.Ip?" is-inSiteNavBar":"")+(g||k?"":" button--withChrome")+(a.Jh?"":c&&e?" u-accentColor--buttonDark":c?" u-accentColor--buttonNormal":d?" u-baseColor--buttonLight":e?" u-baseColor--buttonDark":" u-baseColor--buttonNormal")+(b?" "+z.A(b):""))}; | |
z.Tk=function(a,b){a=a||{};var c=a.title,d=a.s,e=a.source,g=a.isDisabled,k=a.hf,l=a.Nb,q=a.tabIndex,r=a.Ph,t=a.value,w=a.name,C=a.type,J=a.o0,Q=a.Yya,R=a.Eza,S=a.vx,ba=a.Mya,c=(c&&c!=d?' title\x3d"'+z.E(c)+'" aria-label\x3d"'+z.E(c)+'"':"")+(J?' aria-haspopup\x3d"true"':"")+(g?' disabled\x3d"disabled"':"")+(k?'role\x3d"menuitem"':"");if(!l||b.isAuthenticated)var X=z.D({actionSource:e},a),X=X||{},e=X.action,d=X.actionValue,g=X.EZ,k=X.actionSource,J=X.actionTarget,Fa=X.actionType,Ra=X.kP,mb=X.gD,Ib= | |
X.hd,ya=X.nba,Gb=X.CZ,sb=X.xTa,Fb=X.yya,Jb=X.DZ,Wc=X.Aya,ib=X.oba,gd=X.zya,sd=X.im,ua=X.wya,Pc=X.xya,jc=X.pba,Cc=X.Bya,X=X.Pr,e=(0,z.Bk)((e?' data-action\x3d"'+z.E(e)+'"':"")+(null!=d?' data-action-value\x3d"'+z.E(d)+'"':"")+(J?' data-action-target\x3d"'+z.E(J)+'"':"")+(Fa?' data-action-type\x3d"'+z.E(Fa)+'"':"")+(g?' data-action-slug\x3d"'+z.E(g)+'"':"")+(k?' data-action-source\x3d"'+z.E(k)+'"':"")+(Ra?' data-delayed-action\x3d"'+z.E(Ra)+'"':"")+(mb?' data-subscribe-source\x3d"'+z.E(mb)+'"':"")+ | |
(Ib?' data-follow-context-entity-id\x3d"'+z.E(Ib)+'"':"")+(ya?' data-collection-id\x3d"'+z.E(ya)+'"':"")+(Gb?' data-post-id\x3d"'+z.E(Gb)+'"':"")+(sb?' data-topic-id\x3d"'+z.E(sb)+'"':"")+(Fb?' data-entity-id\x3d"'+z.E(Fb)+'"':"")+(Jb?' data-quote-id\x3d"'+z.E(Jb)+'"':"")+(Wc?' data-user-type\x3d"'+z.E(Wc)+'"':"")+(ib?' data-action-index\x3d"'+z.E(ib)+'"':"")+(gd?' data-action-post-title\x3d"'+z.E(gd)+'"':"")+(sd?' data-redirect\x3d"'+z.E(sd)+'"':"")+(ua?' data-conversion-email\x3d"'+z.E(ua)+'"': | |
"")+(Pc?' data-conversion-userid\x3d"'+z.E(Pc)+'"':"")+(jc?' data-action-o-auth-extra-permissions\x3d"'+z.E(jc)+'"':"")+(Cc?' data-username\x3d"'+z.E(Cc)+'"':"")+(X?" data-skip-onboarding\x3dtrue":""));else e="";c+=e;l&&!b.isAuthenticated?(l=a||{},e=l.action,d=l.pk,g=l.Le,k=l.TO,J=l.Rya,Fa=l.source,Ra=l.Pr,b=(0,z.Bk)((l.Zd?' data-action\x3d"sign-in-prompt"':' data-action\x3d"sign-up-prompt"')+(e?' data-sign-in-action\x3d"'+z.E(e)+'"':"")+(d?' data-requires-token\x3d"true"':"")+(g?' data-redirect\x3d"'+ | |
z.E(g)+'"':' data-redirect\x3d"'+z.E(b.Wp)+'"')+(Ra?" data-skip-onboarding\x3dtrue":"")+(k?' data-redirect-type\x3d"'+z.E(k)+'"':"")+(J?' data-skip-conversion\x3d"true"':"")+(Fa?' data-action-source\x3d"'+z.E(Fa)+'"':""))):b="";return(0,z.Bk)(c+b+(q?' tabindex\x3d"'+z.E(q)+'"':"")+(r?' data-tooltip\x3d"'+z.E(r)+'"':"")+(a.imageMetadata?z.rh(z.Ak({metadata:a.imageMetadata})):"")+(w?' name\x3d"'+z.E(w)+'"':"")+(C?' type\x3d"'+z.E(C)+'"':"")+(t?' value\x3d"'+z.E(t)+'"':"")+(Q?' style\x3d"background-image: url('+ | |
z.E(z.Eh(Q))+')"':"")+(R?' data-label\x3d"'+z.E(R)+'"':"")+(S?' data-collection-id\x3d"'+z.E(S)+'"':"")+(ba?' aria-label\x3d"'+z.E(ba)+'"':""))};z.N=function(a,b){var c=a.s,d=a.Nza,e=a.Ra,g="";b=""+Zk(a,b);b=(0,z.$k)(b);e=""+(e?z.A(z.Qk(a)):hea(a));e=(0,z.M)(e);g+='\x3ca class\x3d"'+z.E(e)+'" '+(a.Gca?z.rh(a.Gca):"")+" "+z.rh(b)+(d?' dir\x3d"'+z.E(d)+'"':"")+"\x3e"+z.A(c)+"\x3c/a\x3e";return(0,z.y)(g)}; | |
z.al=function(a,b){var c=a.text,d=a.icon,e=a.Fd,g=a.l,k="",g="button--withIcon button--withSvgIcon"+(e?" button--withIconRight":"")+(c?" button--withIconAndLabel button--withSvgIcon":"")+(g?" "+z.A(g):""),g=(0,z.M)(g),k=k+z.N(z.D({Ra:!0,l:g,s:(0,z.M)((e&&c?'\x3cspan class\x3d"button-label"\x3e'+z.A(c)+"\x3c/span\x3e":"")+'\x3cspan class\x3d"button-defaultState"\x3e'+z.A(d)+"\x3c/span\x3e"+(!e&&c?'\x3cspan class\x3d"button-label"\x3e'+z.A(c)+"\x3c/span\x3e":""))},a),b);return(0,z.y)(k)}; | |
z.cl=function(a,b){return(0,z.y)(z.bl(a,b))};z.bl=function(a,b){a=a||{};var c=a.s,d=a.jk,e=a.gk,g="";b=""+Zk(a,b);b=(0,z.$k)(b);a=""+hea(z.D({Yf:!0},a));a=(0,z.M)(a);g+=(e?"":"\x3ca "+(a?'class\x3d"'+z.E(a)+'"':"")+" "+z.rh(b)+"\x3e")+(d||e?"":z.A(c))+(d?"":"\x3c/a\x3e");return(0,z.y)(g)}; | |
z.dl=function(a,b){var c=z.y,d;d=a||{};a=d.s;var e=d.jk,g=d.gk,k="";b=""+Zk(d,b);b=(0,z.$k)(b);if(g)b="";else{d=d||{};var l=d.l;d=(0,z.y)("email-link"+(d.isPrimary?" email-textGreen":"")+(d.sWa?" email-textGray":"")+(d.Lu?" email-underline":"")+(l?" "+z.A(l):""));b='\x3ca class\x3d"'+z.E(d)+'" '+z.rh(b)+"\x3e"}k+=b+(e||g?"":z.A(a))+(e?"":"\x3c/a\x3e");a=(0,z.y)(k);return c(a)}; | |
z.fl=function(a,b){var c=a.title,d=a.s,e=a.jBa,g=a.Zya,k=a.l,l="",q=!a.Ge,d=""+(d?z.A(d):(null==a.user?0:a.user.name)?z.A(a.user.name)+(e&&a.user.bio?"\x3cp"+(g?' class\x3d"'+z.E(g)+'"':"")+"\x3e"+z.A(z.el(String(a.user.bio)))+"\x3c/p\x3e":""):z.A(z.Jj())),d=(0,z.M)(d);a.user&&a.user.userId&&a.user.username?(e="",q||(c?e+=z.A(c):(c=z.n("Go to the profile of {$name}",{name:z.A(a.user.name)}),e+=c)),l+=z.N(z.D({href:(0,z.L)(""+z.F(z.Mi(a,b))),userId:a.user.userId,Bd:q?"show-user-card":null,actionType:q? | |
"hover":null,actionValue:q?a.user.userId:null,title:(0,z.M)(e),s:d,Nza:"auto",l:k},a),b)):l+=z.A(d);return(0,z.y)(l)}; | |
z.hl=function(a,b){for(var c,d=a.cGa,e=a.KQ,g="",k=a.users,l=k.length,q=0;q<l;q++){var r=k[q],t=(d?"\x3cspan\x3e":"")+z.fl(z.D({user:null==(c=r.user)?r:c,KQ:null==(c=e)?"link":c},a),b);if(d){var r=z.D({Rj:r,post:a.post},a),w=b,C="";if(r.post.creator.userId==w.currentUser.userId)if(C+=" ","hidden-author"==r.Rj.state)var J=z.n("show"),C=C+gl({label:(0,z.M)(""+J),action:"show-collaborator",Rj:r.Rj},w);else"visible"==r.Rj.state?(J=z.n("hide"),C+=gl({label:(0,z.M)(""+J),action:"hide-collaborator",Rj:r.Rj}, | |
w)):C+="(declined)";else r.Rj.user.userId==w.currentUser.userId&&(C+=" ","hidden-collab"==r.Rj.state?(J=z.n("show"),C+=gl({label:(0,z.M)(""+J),action:"show-collaborator",Rj:r.Rj},w)):"visible"==r.Rj.state&&(J=z.n("hide"),C+=gl({label:(0,z.M)(""+J),action:"hide-collaborator",Rj:r.Rj},w)));r=(0,z.y)(C)}else r="";g+=t+r;2==a.users.length&&0==q?(t=z.n("and"),g+=" "+t+" "):2<a.users.length&&q==a.users.length-2?(t=z.n(", and"),g+=t+" "):q!=l-1&&(g+=", ");g+=d?"\x3c/span\x3e":""}return(0,z.y)(g+".")}; | |
z.il=function(a,b){return(0,z.y)(z.N(z.D({href:(0,z.L)(""+z.F(z.Bi(a,0,b))),s:a.post.title},a),b))}; | |
z.jl=function(a,b){var c=a.label,d=a.mx,e="",c=null==c?a.collection.name:c,g=a.gGa,k="";if(c!=a.collection.name)var l=z.n("Go to {$name}",{name:z.A(a.collection.name)}),k=k+l;e+=z.N(z.D({href:(0,z.L)(""+(a.collection.slug?z.F(z.Oi(a,b)):z.F((0,z.ri)(z.F(z.Ci(b,"COLLECTION_DIRECT",null,a.collection,null)))))),s:(0,z.M)(""+(d?z.A(z.Hj(c)):z.A(c))),title:(0,z.M)(k),Bd:g?"show-collection-card":null,actionType:g?"hover":null,actionValue:g?a.collection.slug:null},a),b);return(0,z.y)(e)}; | |
z.kl=function(a,b){var c=a.s,d=a.source,e="",c=c?c:a.tag.name,d=""+(a.collection?z.F(z.Rca({tagSlug:a.tag.slug,collection:a.collection,source:d},b)):z.F(z.Hi({slug:a.tag.slug,source:d},b))),d=(0,z.L)(d),g="";if(c!=a.tag.name)var k=z.n("Go to {$name}",{name:z.A(a.tag.name)}),g=g+k;e+=z.N(z.D({href:d,s:c,title:(0,z.M)(g)},a),b);return(0,z.y)(e)}; | |
hea=function(a){a=a||{};var b=a.l,c="",d;if(a.style){var e=a,g="",k,l="",q="";switch(z.sa(k=e.style)?k.toString():k){case "link.pointer":q+="ds-link--stylePointer";break;case "link.subtle":q+="ds-link--styleSubtle";break;case "link.obvious":q+="ds-link--styleObvious"}q=(0,z.M)(q);l+=q?"ds-link "+z.A(q):"";k=""+(0,z.y)(l);if(k=(0,z.M)(k))d=z.A(k);else{k=e.style;q=l="";switch(z.sa(d=e.size)?d.toString():d){case "compact":q+="ds-button--sizeCompact";break;case "small":q+="ds-button--sizeSmall";break; | |
case "regular":q+="ds-button--sizeRegular";break;case "large":q+="ds-button--sizeLarge";break;default:q+="ds-button--sizeRegular"}q=(0,z.M)(q);e="";switch(z.sa(d=k)?d.toString():d){case "button.subtle":e+="ds-button--styleSubtle";break;case "button.obvious":e+="ds-button--styleObvious";break;case "button.strong":e+="ds-button--styleStrong";break;case "button.brand":e+="ds-button--styleBrand"}e=(0,z.M)(e);l+=e?"ds-button "+z.A(e)+" "+z.A(q):"";d=(0,z.y)(l)}d=(0,z.y)(g+d);d=z.A(d)}else d="";(d=(0,z.M)(""+ | |
d))?a=z.A(d):(a=a||{},d=a.Yf,e=a.isPrimary,g=a.Ip,a=(0,z.y)((d?"":"link")+(e?" link--primary":"")+(a.ly?" link--secondary":"")+(a.vb?" link--whiteDarker":"")+(a.rCa?" link--blackNormal":"")+(a.la?" link--dark":"")+(a.wj?" link--darker":"")+(a.$b?" link--darken u-accentColor--textDarken":"")+(a.Hu?" link--darkenOnHover u-accentColor--textDarken":"")+(a.WBa?" link--overlay":"")+(a.eb?" link--underline":"")+(a.gf?" link--accent u-accentColor--textNormal":"")+(a.qc?" link--noUnderline":"")+(a.Ff?" is-touchIconBlackPulse": | |
"")+(a.pQ?" is-touchIconFadeInPulse":"")+(a.Tda?" u-clearfix":"")+(g?" is-inSiteNavBar":"")+(d?"":e?g?"":" u-accentColor--hoverTextNormal":" u-baseColor--link")));c+=a+(b?" "+z.A(b):"");return(0,z.y)(c)}; | |
Zk=function(a,b){a=a||{};var c=a.href,d=a.id,e=a.title,g=a.s,k=a.rel,l=a.fR,q=a.Bd,r=a.actionValue,t=a.actionType,w=a.wTa,C=a.Nb,J=a.Le,Q=a.ib,R=a.source,S=a.IJ,ba=a.hb,X=a.Ph,Fa=a.EZa,Ra=a.DZa,mb=a.tabIndex,Ib=a.hf,ya=a.userId,Gb=a.postId,sb=a.Qf,Fb=a.Pr,Jb=a.signInAction,Wc=a.Zd,ib="",c=""+(c?S?z.F(z.Ei(z.D({url:c},a),b)):z.F(c):""),c=(0,z.L)(c),ib=ib+(' href\x3d"'+z.E(z.F(c))+'"'+(l&&!b.isAmp?' property\x3d"'+z.E(l)+'"':"")+(e?' title\x3d"'+z.E(e)+'"'+(e!=g?' aria-label\x3d"'+z.E(e)+'"':""):"")+ | |
(d?' id\x3d"'+z.E(d)+'"':"")+(k?' rel\x3d"'+z.E(k)+'"':"")+(ba?' target\x3d"_blank"':"")+(mb?' tabIndex\x3d"'+z.E(mb)+'"':"")+(Ib?(mb?"":' tabIndex\x3d"-1"')+' role\x3d"menuitem"':"")+(!C||b.isAuthenticated?(q?' data-action\x3d"'+z.E(q)+'"':"")+(R?' data-action-source\x3d"'+z.E(R)+'"':"")+(r?' data-action-value\x3d"'+z.E(r)+'"':"")+(t?' data-action-type\x3d"'+z.E(t)+'"':"")+(w?" data-action-observe-only\x3dtrue":"")+(null!=Q?' data-action-index\x3d"'+z.E(Q)+'"':""):""));C&&!b.isAuthenticated&&(ib+= | |
Wc?' data-action\x3d"sign-in-prompt"':' data-action\x3d"sign-up-prompt"',J?(b=""+(S?z.F(z.Ei(z.D({url:J},a),b)):z.F(J)),b=(0,z.L)(b),ib+=' data-redirect\x3d"'+z.E(b)+'"'):ib+=' data-redirect\x3d"'+z.E(b.Wp)+'"',ib+=(R?' data-action-source\x3d"'+z.E(R)+'"':"")+(Fb?" data-skip-onboarding\x3dtrue":"")+(Jb?' data-sign-in-action\x3d"'+z.E(Jb)+'"':""));ib+=(X?' data-tooltip\x3d"'+z.E(X)+'"':"")+(Fa?' data-tooltip-type\x3d"'+z.E(Fa)+'"':"")+(Ra?' data-tooltip-cite\x3d"'+z.E(Ra)+'"':"")+(ya?' data-user-id\x3d"'+ | |
z.E(ya)+'"':"")+(Gb?' data-post-id\x3d"'+z.E(Gb)+'"':"")+((null==a.collection?0:a.collection.domain)?' data-collection-slug\x3d"'+z.E(a.collection.slug)+'"':"")+(sb?' data-disable-client-nav\x3d"true"':"");return(0,z.Bk)(ib)};gl=function(a,b){return(0,z.y)(z.A(z.Vk({action:a.action,actionValue:a.Rj.user.userId,text:(0,z.M)("("+z.A(a.label)+")"),Db:!0},0,b)))};iea=function(){var a=z.n("An error occurred. Please try following the publication again.");return(0,z.y)(""+a)}; | |
jea=function(){var a=z.n("An error occurred. Please try unfollowing the publication again.");return(0,z.y)(""+a)};kea=function(){var a=z.n("Story submitted");return(0,z.y)(""+a)};lea=function(){var a=z.n("We’ll email you when the publication editor has reviewed your submission.");return(0,z.y)(""+a)};ll=function(){var a=z.n("Follow");return(0,z.y)(""+a)};mea=function(){var a=z.n("Following");return(0,z.y)(""+a)};nea=function(){var a=z.n("Leave publication");return(0,z.y)(""+a)}; | |
oea=function(a){var b="";a=a.isEditor?z.n("Are you sure you want to stop being an editor in {$collectionName}?",{collectionName:z.A(a.collectionName)}):z.n("Are you sure you want to stop being a writer in {$collectionName}?",{collectionName:z.A(a.collectionName)});b+=a;return(0,z.y)(b)};z.ml=function(){var a=z.n("Your Facebook Pages");return z.B(""+a)}; | |
z.nl=function(){var a=z.n("Please select the Facebook page you want to link to your publication, and on behalf of which Instant Articles will be published.");return z.B(""+a)};z.ol=function(){var a=z.n("You have unsaved changes, are you sure you want to navigate away?");return(0,z.y)(""+a)};pea=function(a){a=z.n("This will remove the story from {$collection} Are you sure?",{collection:z.A(z.Hj(a.collection))});return(0,z.y)(""+a)};qea=function(){var a=z.n("Remove story");return(0,z.y)(""+a)}; | |
rea=function(){var a=z.n("Remove");return(0,z.y)(""+a)};sea=function(a){a=z.n("This will remove the story from the submission list to {$collection} Are you sure?",{collection:z.A(z.Hj(a.collection))});return(0,z.y)(""+a)};tea=function(){var a=z.n("Cancel submission");return(0,z.y)(""+a)};uea=function(){var a=z.n("Cancel submission");return(0,z.y)(""+a)}; | |
vea=function(a){a=z.n("This will remove the story from the submission list to {$collection} and notify the author. Are you sure?",{collection:z.A(a.collection)});return(0,z.y)(""+a)};wea=function(){var a=z.n("Don’t accept story");return(0,z.y)(""+a)};xea=function(){var a=z.n("Don’t accept");return(0,z.y)(""+a)};yea=function(){var a=z.n("Report story");return(0,z.y)(""+a)};zea=function(){var a=z.n("Spam");return(0,z.y)(""+a)};Aea=function(){var a=z.n("Harassment");return(0,z.y)(""+a)}; | |
Bea=function(){var a=z.n("Rules Violation");return(0,z.y)(""+a)}; | |
Cea=function(a,b,c){a=z.n("our rules");b=z.n("trademark infringement");var d=z.n("copyright infringement"),d=""+z.A(z.N({s:(0,z.M)(""+d),href:(0,z.L)("https://medium.com/policy/mediums-copyright-and-dmca-policy-d126f73695"),hb:!0,eb:!0},c)),d=(0,z.M)(d);b=""+z.A(z.N({s:(0,z.M)(""+b),href:(0,z.L)("https://medium.com/policy/mediums-trademark-policy-e3bb53df59a7"),hb:!0,eb:!0},c));b=(0,z.M)(b);b=z.n("Report {$copyrightInfringementLink} or {$trademarkInfringementLink}.",{copyrightInfringementLink:z.A(d), | |
trademarkInfringementLink:z.A(b)});c=""+z.A(z.N({s:(0,z.M)(""+a),href:(0,z.L)("https://medium.com/policy/medium-rules-30e5502c4eb4"),hb:!0,eb:!0},c));c=(0,z.M)(c);c=z.n("Read {$ourRulesLink}.",{ourRulesLink:z.A(c)});return(0,z.y)(""+(b+"\x3cbr\x3e"+c))};Dea=function(a){a=z.n("Story {$title} successfully reported.",{title:z.A(z.pl(String(a.title)))});return(0,z.y)(""+a)};Eea=function(a){a=z.n("There was a problem reporting {$title}.",{title:z.A(z.pl(String(a.title)))});return(0,z.y)(""+a)}; | |
Fea=function(a,b,c){b="";var d=z.n("Read this story in {$language}",{language:z.A(a.language)});b+=z.A(z.N({eb:!0,s:(0,z.M)(""+d),href:(0,z.L)(""+z.F((0,z.ri)(z.F(z.Ci(c,"POST",null,null,null,a.post.translationPostId)))))},c));return(0,z.y)(b)};Gea=function(){var a=z.n("A new copy of this story will be created for you to translate. Use the original blue text for reference, and delete it before publishing.");return(0,z.y)(""+a)};Hea=function(){var a=z.n("Translate this story");return(0,z.y)(""+a)}; | |
Iea=function(){var a=z.n("Continue");return(0,z.y)(""+a)};Jea=function(){var a=z.n("Copying in progress…");return(0,z.y)(""+a)};Kea=function(){var a=z.n("This is a new copy of the story. Translate away!");return(0,z.y)(""+a)};Lea=function(a){var b="";a=a.gC?z.n("Collaborator hidden."):z.n("Collaborator shown.");b+=a;return(0,z.y)(b)};Mea=function(a){var b="";a=a.gC?z.n("Failed to hide collaborator."):z.n("Failed to show collaborator.");b+=a;return(0,z.y)(b)}; | |
z.Nea=function(){var a=z.n("People will still be able to respond, but those responses will not be displayed at the bottom of your post.");return(0,z.y)(""+a)};z.Oea=function(){var a=z.n("Hide responses");return(0,z.y)(""+a)};z.Pea=function(a){var b="";a=a.gC?z.n("Failed to hide responses."):z.n("Failed to show responses.");b+=a;return(0,z.y)(b)};z.Qea=function(){var a=z.n("More actions");return(0,z.y)(""+a)}; | |
z.Rea=function(){var a=z.n("The author chose to make this story unlisted, which means only people with a link can see it. Are you sure you want to share it?");return(0,z.y)(""+a)};z.ql=function(){var a=z.n("Responses");return(0,z.y)(""+a)}; | |
Sea=function(a,b){a=a||{};var c="";a=a.isSubscriptionLocked?z.n("Only members of {$productName} may see responses to this story.",{productName:z.A(b.productName)}):a.collection?z.n("Only members of {$name} may see responses to this story.",{name:z.A(a.collection.name)}):z.n("Only members of this publication may see responses to this story.");c+=a;return(0,z.y)(c)}; | |
Tea=function(){var a=z.n("Recommending shares the article with your followers and lets the author know you liked it.");return(0,z.y)(""+a)};z.rl=function(){var a=z.n("The story is only visible to those with the link. It won’t be listed on Medium’s public pages (e.g. homepage) and it cannot be found using a search engine.");return(0,z.y)(""+a)};z.sl=function(a){a=z.n("{$title} will become available after you start writing.",{title:z.A(a.title)});return(0,z.y)(""+a)}; | |
Uea=function(a){var b="";a=a.isPublished?z.n("Add story"):z.n("Add draft");b+=a;return(0,z.y)(b)};z.Vea=function(){var a=z.n("Write a story");return(0,z.y)(""+a)};Wea=function(){var a=z.n("New story");return(0,z.y)(""+a)};z.Xea=function(){var a=z.n("This story has changes that haven’t been published yet.");return(0,z.y)(""+a)};z.Yea=function(){var a=z.n("Respond here…");return(0,z.y)(""+a)}; | |
Zea=function(){var a=z.n("Images haven’t loaded yet. Please exit printing, wait for images to load, and try to print again.");return(0,z.y)(""+a)};$ea=function(a){var b="";a=a.JBa?z.n("(show)"):z.n("(hide)");b+=a;return(0,z.y)(b)};afa=function(){var a=z.n("This story is currently suspended.");return(0,z.y)(""+a)};z.bfa=function(){var a=z.n("Save changes");return(0,z.y)(""+a)};z.cfa=function(){var a=z.n("Ready to publish?");return(0,z.y)(""+a)}; | |
z.dfa=function(){var a=z.n("Review scheduled story");return(0,z.y)(""+a)}; | |
z.tl=function(a,b){var c=a.l,d="";a=z.n("Under the terms of the minimum guarantee, this post must stay Members-only until {$hightowerMinimumGuaranteeEndsAt}.",{hightowerMinimumGuaranteeEndsAt:z.A(z.Rh(Number(a.hightowerMinimumGuaranteeEndsAt),"%m/%d/%Y"))});var e=z.n("Partner Program");b=""+z.A(z.N({href:(0,z.L)(""+z.F(z.nj(b))),s:(0,z.M)(""+e),eb:!0,hb:!0},b));b=(0,z.M)(b);b=z.n("This post has a minimum guaranteed payment through the {$partnerProgramLink}.",{partnerProgramLink:z.A(b)});d+="\x3cp\x3e"+ | |
b+"\x3c/p\x3e\x3cp "+(c?'class\x3d"'+z.E(c)+'"':"")+"\x3e"+a+"\x3c/p\x3e";return(0,z.y)(d)}; | |
z.efa=function(a,b,c){var d;b="";var e=""+z.A(z.xj(null,c)),e=(0,z.M)(e);switch(z.sa(d=a.visibility)?d.toString():d){case c.j.ob.Re:a=z.n("This story is eligible to earn money through the {$programName}",{programName:z.A(e)});b+=z.A(z.vk(null))+'\x3cspan class\x3d"u-marginLeft3"\x3e'+a+"\x3c/span\x3e";break;case c.j.ob.uo:a=z.n("This story will not earn money through the {$programName}",{programName:z.A(e)});b+=a;break;case c.j.ob.ed:b+="Unlisted"}return(0,z.y)(b)}; | |
ffa=function(a,b,c){a=z.n("Sign in to {$productName} to connect with voices and perspectives that matter.",{productName:z.A(c.productName)});return(0,z.y)(""+a)};gfa=function(){var a=z.n("You will be able to publish your response after you sign in or create an account");return(0,z.y)(""+a)};hfa=function(a,b,c){a=z.n("To finish highlighting, sign in or create an account on\x26nbsp;{$productName}",{productName:z.A(c.productName)});return(0,z.y)(""+a)}; | |
ifa=function(){var a=z.n("Sign in to save your draft");return(0,z.y)(""+a)};jfa=function(a,b,c){a=z.n("Sign in to your {$productName} account to unlock this story.",{productName:z.A(c.productName)});return(0,z.y)(""+a)};kfa=function(){var a=z.n("First, sign in to your account.");return(0,z.y)(""+a)};lfa=function(){var a=z.n("Email me a link to sign in");return(0,z.y)(""+a)};mfa=function(){var a=z.n("Continue with your Google account");return(0,z.y)(""+a)};nfa=function(a,b,c){return(0,z.y)(z.A(c.productName))}; | |
ofa=function(){var a=z.n("Create your account");return(0,z.y)(""+a)};pfa=function(){var a=z.n("Something went wrong");return(0,z.y)(""+a)};qfa=function(){var a=z.n("Sorry, we couldn’t finish the sign-in process. Please try again.");return(0,z.y)(""+a)};rfa=function(){var a=z.n("Couldn’t sign in with email");return(0,z.y)(""+a)};sfa=function(){var a=z.n("The sign-in link expired. Please try again.");return(0,z.y)(""+a)};tfa=function(){var a=z.n("Almost there");return(0,z.y)(""+a)}; | |
ul=function(a,b){a=a||{};var c=a.email;a="";b=c?z.n("You’re already following people or publications on {$productName}. using {$startStrong}{$email}{$endStrong}.",{productName:z.A(b.productName),startStrong:"\x3cstrong\x3e",email:z.A(c),endStrong:"\x3c/strong\x3e"}):z.n("You’re already following people or publications on {$productName}.",{productName:z.A(b.productName)});a+=b;return(0,z.y)(a)}; | |
vl=function(){var a=z.n("Click to receive a verification email to upgrade to a full account.");return(0,z.y)(""+a)};ufa=function(a,b,c){a=z.n("Create a {$productName} account",{productName:z.A(c.productName)});return(0,z.y)(""+a)};vfa=function(a,b,c){a=a||{};return(0,z.y)(ul(a,c)+" "+vl())};wl=function(){var a=z.n("Send verification email");return(0,z.y)(""+a)};wfa=function(){var a=z.n("Something went wrong");return(0,z.y)(""+a)}; | |
xfa=function(){var a=z.n("Sorry, we couldn’t send the email to complete your registration. Please try again.");return(0,z.y)(""+a)};yfa=function(){var a=z.n("Check your email");return(0,z.y)(""+a)};zfa=function(a,b,c){a=z.n("Click the link in your email to finish creating your account on {$productName}",{productName:z.A(c.productName)});return(0,z.y)(""+a)};xl=function(){var a=z.n("Create account");return(0,z.y)(""+a)};Afa=function(){var a=z.n("Creating account…");return(0,z.y)(""+a)}; | |
Bfa=function(a){var b=a.collectionName;a=z.n("Story added to {$startLink}{$collectionName}{$endLink}",{startLink:'\x3ca class\x3d"link--butter" href\x3d"/'+z.E(a.collectionSlug)+'"\x3e',collectionName:z.A(b),endLink:"\x3c/a\x3e"});return(0,z.y)(""+a)}; | |
Cfa=function(a){var b=a.collectionName;a=z.n("Story removed from {$startLink}{$collectionName}{$endLink}",{startLink:'\x3ca class\x3d"link--butter" href\x3d"/'+z.E(a.collectionSlug)+'"\x3e',collectionName:z.A(b),endLink:"\x3c/a\x3e"});return(0,z.y)(""+a)};Dfa=function(a){a=z.n("{$name} was successfully blacklisted",{name:z.A(a.name)});return(0,z.y)(""+a)};Efa=function(a){a=z.n("{$name} could not be blacklisted",{name:z.A(a.name)});return(0,z.y)(""+a)}; | |
Ffa=function(a){var b=a.email;a=z.n("Change email");b=z.n("Verification email sent to {$email}.",{email:z.A(b)});return(0,z.y)(""+(b+' \x3cbutton class\x3d"button button--chromeless link--butter" title\x3d"Change email" data-action\x3d"butter-bar-action"\x3e'+a+"\x3c/button\x3e"))};Gfa=function(){var a=z.n("Sorry, adding the story to the publication failed.");return(0,z.y)(""+a)};Hfa=function(){var a=z.n("Sorry, removing the story from the publication failed.");return(0,z.y)(""+a)}; | |
Ifa=function(){var a=z.n("Sorry, we’re having trouble updating your bookmarks. Please try again.");return(0,z.y)(""+a)};Jfa=function(){var a=z.n(" (draft)");return(0,z.y)(""+a)};z.Kfa=function(a,b){return(0,z.y)(z.yl(z.D({width:60,height:60,Vf:"u-size60x60"},a),b))};z.zl=function(a,b){return(0,z.y)(z.yl(z.D({width:40,height:40,Vf:"avatar-image--smaller"},a),b))};z.Al=function(a,b){a=a||{};return(0,z.y)(z.yl(z.D({width:60,height:60,Vf:"avatar-image--small"},a),b))}; | |
z.Bl=function(a,b){return(0,z.y)(z.yl(z.D({width:32,height:32,Vf:"avatar-image--icon"},a),b))};Lfa=function(a,b){return(0,z.y)(z.Bl(z.D({LJ:!0},a),b))}; | |
z.yl=function(a,b){var c="",d=b.isAmp?"amp-img":"img",e=""+z.F(z.Aj(z.D({imageId:(null==a.collection.image?null:a.collection.image.imageId)||a.collection.imageId,strategy:"crop-fixed"},a),0,b)),e=(0,z.L)(e),g="avatar avatar--roundedRectangle"+(a.Am?" u-inline":""),g=z.ph(g),d="\x3c"+z.Hh(d)+' src\x3d"'+z.E(z.F(e))+'" class\x3d"avatar-image'+(a.Vf?" "+z.E(a.Vf):"")+(a.Bda?" u-floatRight u-marginLeft10":"")+'"'+(b.isAmp?' height\x3d"'+z.E(a.height)+'" width\x3d"'+z.E(a.width)+'"':"")+' alt\x3d"'+z.E(a.collection.name)+ | |
'"\x3e';a.LJ&&(e="avatar-text"+(a.Bda?" u-paddingLeft0 u-noWrapWithEllipsis u-block":""),e=z.ph(e),d+='\x3cspan class\x3d"'+z.E(e)+'"\x3e'+z.A(a.collection.name)+"\x3c/span\x3e");d=(0,z.M)(d);c+=a.rf?'\x3cdiv class\x3d"'+z.E(g)+'"\x3e'+z.A(d)+"\x3c/div\x3e":z.A(z.jl(z.D({label:d,l:g},a),b));return(0,z.y)(c)};z.Dl=function(a,b){a=a||{};return(0,z.y)(z.Cl(z.D({width:32,height:32,Vf:"avatar-image--icon"},a),b))};z.Sl=function(a,b){a=a||{};return(0,z.y)(z.Dl(z.D({LJ:!0},a),b))}; | |
z.Tl=function(a,b){a=a||{};return(0,z.y)(z.Cl(z.D({width:40,height:40,Vf:"avatar-image--smaller"},a),b))};z.Ul=function(a,b){a=a||{};return(0,z.y)(z.Cl(z.D({width:60,height:60,Vf:"avatar-image--small"},a),b))};z.Vl=function(a,b){a=a||{};return(0,z.y)(z.Cl(z.D({width:36,height:36,Vf:"u-size36x36 u-xs-size32x32"},a),b))}; | |
z.Cl=function(a,b){var c="",d=""+((null==a.user?0:a.user.name)?""+a.user.name:""+z.Jj()),d=z.ph(d),e;a.Ph?e=""+a.Ph:a.user&&!a.rf?(e=z.n("Go to the profile of {$name}",{name:""+a.user.name}),e=""+z.B(""+e)):e=""+d;var g;g=z.ph(""+e);var k=""+z.F(z.Wl({imageId:(null==a.user?null:a.user.imageId)||(null==a.user?null:null==a.user.image?null:a.user.image.imageId),width:a.width,height:a.height},b)),k=(0,z.L)(k),l="avatar-image"+(a.Vf?" "+a.Vf:"")+(a.tWa?" avatar-image--outlined":""),l=z.ph(l);e="";g="\x3c"+ | |
z.Hh(b.isAmp?"amp-img":"img")+" "+(b.isAmp?'height\x3d"'+z.E(a.height)+'" width\x3d"'+z.E(a.width)+'"':"")+' src\x3d"'+z.E(z.F(k))+'" class\x3d"'+z.E(l)+'" alt\x3d"'+z.E(g)+'"'+(a.rf?(a.Bd?' data-action\x3d"'+z.E(a.Bd)+'"':"")+(a.actionValue?' data-action-value\x3d"'+z.E(a.actionValue)+'"':""):"")+"\x3e";g=(0,z.M)(g);g=""+(!a.ry&&!z.Xl(a.user)||b.isAmp||a.bQ?z.A(g):'\x3cdiv class\x3d"u-relative u-inlineBlock u-flex0"\x3e'+z.A(g)+z.Yl({qx:a.width},b)+"\x3c/div\x3e");g=(0,z.M)(g);a.LJ?(e+='\x3cdiv class\x3d"u-flexCenter"\x3e'+ | |
z.A(g),d=""+(a.Uya?""+a.Uya+" ":"")+(""+d),d=z.ph(d),e+='\x3cdiv class\x3d"u-flex1 u-textOverflowEllipsis"\x3e\x3cspan class\x3d"avatar-text"\x3e'+z.A(d)+"\x3c/span\x3e"+(a.user&&a.c4?'\x3cem class\x3d"avatar-description"\x3e@'+z.A(a.user.username)+"\x3c/em\x3e":"")+"\x3c/div\x3e\x3c/div\x3e"):e+=z.A(g);e=(0,z.M)(e);d="avatar"+(a.Am?" u-inline":"")+(a.l?" "+a.l:"");d=z.ph(d);c+=a.rf?'\x3cdiv class\x3d"'+z.E(d)+'"\x3e'+z.A(e)+"\x3c/div\x3e":z.A(z.fl(z.D({user:a.user,s:e,l:d,title:a.Ph},a),b));return(0,z.y)(c)}; | |
z.Wl=function(a,b){return(0,z.y)(a.imageId?z.A(z.Aj({imageId:a.imageId,strategy:"crop-fixed",width:a.width,height:a.height},0,b)):z.A(z.Aj({imageId:b.j.r_},0,b)))}; | |
z.Yl=function(a,b){b=b||{};a=a.qx;var c="",d=Math.round(a*(60<a?1.14:40<a?1.2:1.25)-a),d=""+(36==a?"10":z.A(d)),d=(0,z.M)(d),c=c+('\x3cdiv class\x3d"avatar-halo u-absolute u-textColorGreenNormal svgIcon" style\x3d"'+(b.Aa?"/*"+b.Aa+"*/":"")+"width: calc(100% + "+z.E(z.G(d))+"px); height: calc(100% + "+z.E(z.G(d))+"px); top:-"+z.E(z.G(d/2))+"px; left:-"+z.E(z.G(d/2))+'px"\x3e'+(40>a?'\x3csvg viewBox\x3d"0 0 40 40" xmlns\x3d"http://www.w3.org/2000/svg"\x3e\x3cpath d\x3d"M3.44615311,11.6601601 C6.57294867,5.47967718 12.9131553,1.5 19.9642857,1.5 C27.0154162,1.5 33.3556228,5.47967718 36.4824183,11.6601601 L37.3747245,11.2087295 C34.0793076,4.69494641 27.3961457,0.5 19.9642857,0.5 C12.5324257,0.5 5.84926381,4.69494641 2.55384689,11.2087295 L3.44615311,11.6601601 Z"\x3e\x3c/path\x3e\x3cpath d\x3d"M36.4824183,28.2564276 C33.3556228,34.4369105 27.0154162,38.4165876 19.9642857,38.4165876 C12.9131553,38.4165876 6.57294867,34.4369105 3.44615311,28.2564276 L2.55384689,28.7078582 C5.84926381,35.2216412 12.5324257,39.4165876 19.9642857,39.4165876 C27.3961457,39.4165876 34.0793076,35.2216412 37.3747245,28.7078582 L36.4824183,28.2564276 Z"\x3e\x3c/path\x3e\x3c/svg\x3e': | |
60>a?'\x3csvg viewBox\x3d"0 0 70 70" xmlns\x3d"http://www.w3.org/2000/svg"\x3e\x3cpath d\x3d"M5.53538374,19.9430227 C11.180401,8.78497536 22.6271155,1.6 35.3571429,1.6 C48.0871702,1.6 59.5338847,8.78497536 65.178902,19.9430227 L66.2496695,19.401306 C60.4023065,7.84329843 48.5440457,0.4 35.3571429,0.4 C22.17024,0.4 10.3119792,7.84329843 4.46461626,19.401306 L5.53538374,19.9430227 Z"\x3e\x3c/path\x3e\x3cpath d\x3d"M65.178902,49.9077131 C59.5338847,61.0657604 48.0871702,68.2507358 35.3571429,68.2507358 C22.6271155,68.2507358 11.180401,61.0657604 5.53538374,49.9077131 L4.46461626,50.4494298 C10.3119792,62.0074373 22.17024,69.4507358 35.3571429,69.4507358 C48.5440457,69.4507358 60.4023065,62.0074373 66.2496695,50.4494298 L65.178902,49.9077131 Z"\x3e\x3c/path\x3e\x3c/svg\x3e': | |
'\x3csvg viewBox\x3d"0 0 114 114" xmlns\x3d"http://www.w3.org/2000/svg"\x3e\x3cpath d\x3d"M7.66922967,32.092726 C17.0070768,13.6353618 35.9421928,1.75 57,1.75 C78.0578072,1.75 96.9929232,13.6353618 106.33077,32.092726 L107.66923,31.4155801 C98.0784505,12.4582656 78.6289015,0.25 57,0.25 C35.3710985,0.25 15.9215495,12.4582656 6.33077033,31.4155801 L7.66922967,32.092726 Z"\x3e\x3c/path\x3e\x3cpath d\x3d"M106.33077,81.661427 C96.9929232,100.118791 78.0578072,112.004153 57,112.004153 C35.9421928,112.004153 17.0070768,100.118791 7.66922967,81.661427 L6.33077033,82.338573 C15.9215495,101.295887 35.3710985,113.504153 57,113.504153 C78.6289015,113.504153 98.0784505,101.295887 107.66923,82.338573 L106.33077,81.661427 Z"\x3e\x3c/path\x3e\x3c/svg\x3e')+ | |
"\x3c/div\x3e");return(0,z.y)(c)}; | |
z.Mfa=function(a){a=a||{};var b=a.l,c=a.d4,d=z.y,e;e=(e=z.D({l:(0,z.M)("u-xs-hide"+(b?" "+z.A(b):""))},a))||{};e=(0,z.y)(z.Pj(z.D({name:"logoWordmark",size:"138x27px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"138" height\x3d"27" \x3e\x3cpath d\x3d"M130 27V16.96c0-3.26-.154-5.472-2.437-5.472-1.16 0-2.138.57-2.863 1.512.217.906.3 1.968.3 3.127 0 2.247.036 5.11 0 7.973 0 .472-.046.58.244.87L127 27h-8V16.96c0-3.297-.461-5.472-2.708-5.472-1.16 0-1.64.653-2.292 1.595V24.1c0 .472-.026.58.3.87L116 27h-8V11.56c0-.47-.07-.579-.36-.905L106 9h8v3.612c.906-2.537 2.437-4.112 5.372-4.112 2.682 0 4.494 1.466 5.255 4.257.834-2.392 3.008-4.257 6.053-4.257 3.588 0 5.32 2.626 5.32 7.627 0 2.392.036 5.11 0 7.973 0 .472.004.652.25.87L138 27h-8zm-27-3.045c0 .472-.149.617.178.906L105 27h-8v-4c-.906 2.465-2.956 4-5.637 4C87.775 27 86 24.39 86 19.461c0-2.391-.036-5 0-7.936 0-.471-.11-.58-.4-.87L84 9h8v9.628c0 3.225.269 5.4 2.298 5.4 1.16 0 2.086-.725 2.702-1.63V11.56c0-.471-.129-.58-.419-.906L95 9h8v14.955zM78.002.25A3.248 3.248 0 0 1 81.25 3.5 3.25 3.25 0 1 1 78.002.25zM75 27V11.56c0-.47.168-.579-.122-.905L73 9h8v15.1c0 .472-.01.678.24.9L83 27h-8zM64 11.706c-.507-.652-1.418-1.123-2.396-1.123-1.957 0-3.842 1.775-3.842 7.03 0 4.93 1.631 6.669 3.66 6.669.907 0 1.853-.436 2.578-1.378V11.706zm6 12.286c0 .47-.026.58.3.87L72 27h-8v-3.697C62.913 25.804 60.951 27 58.632 27 54.5 27 51.5 23.738 51.5 17.795c0-5.582 3.254-9.314 7.784-9.314 2.356 0 3.919 1.123 4.716 2.899V3.878c0-.471-.077-.617-.403-.906L62 1.305 70 .29v23.702zM43.9 16c.037-.471.037-.67.037-.815 0-4.747-.937-5.435-2.437-5.435-1.5 0-2.854.995-2.927 6.25h5.328zm-5.327 1c0 4.711 2.392 6.63 5.183 6.63 2.174 0 4.313-.943 5.509-3.335h.072c-.942 4.566-3.77 6.705-8.01 6.705-4.566 0-8.879-2.755-8.879-9.133 0-6.705 4.277-9.386 9.097-9.386 3.842 0 7.937 1.811 7.937 7.646 0 .109 0 .438-.036.873H38.573zM31.5 27h-12l2.39-2.646c.084-.084.11-.399.11-.87V7l-7.866 20L5.581 8.372C5.364 7.9 5.181 7.285 5 6.777V20.62c0 .58-.035.653.364 1.196L9 27H0l3.64-5.183c.399-.543.36-.616.36-1.196V6.27c0-.617.095-.69-.195-1.051L1 1h8.495l7.355 16.3L23.24 1h8.26l-2.2 2.75c-.326.326-.3.599-.3 1.106v18.629c0 .47.005.75.138.87L31.5 27z"/\x3e\x3c/svg\x3e')},e))); | |
return d(z.A(e)+(c?"":z.A(Uda(z.D({l:(0,z.M)("u-xs-show"+(b?" "+z.A(b):""))},a)))))}; | |
Nfa=function(){var a=z.y,b,c;c={};b=z.y;var d;d=c||{};c=z.y;d=d||{};d=(0,z.y)(z.Pj(z.D({name:"logoWordmark",size:"288x65px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"288" height\x3d"65" \x3e\x3cpath d\x3d"M144.998 53.782c0 .986 0 1.21.672 1.816l3.766 3.675v.157h-16.699v-7.06a11.61 11.61 0 0 1-11.073 7.666c-8.584 0-14.815-6.725-14.815-19.097 0-11.589 6.724-19.321 16.16-19.321a9.862 9.862 0 0 1 9.706 6.007V12.047a1.928 1.928 0 0 0-.762-1.883l-3.587-3.452v-.157l16.632-1.95v49.177zm-12.26-2.241V28.297a6.254 6.254 0 0 0-4.977-2.331c-4.057 0-7.98 3.676-7.98 14.592 0 10.22 3.385 13.83 7.6 13.83a6.724 6.724 0 0 0 5.356-2.847zm23.332 7.89V28.05a2.107 2.107 0 0 0-.672-1.883l-3.698-3.81V22.2h16.698v31.83c0 .986 0 1.21.673 1.815l3.675 3.452v.157l-16.676-.023zm-.605-48.707a6.724 6.724 0 1 1 13.449 0 6.724 6.724 0 0 1-13.449 0zm57.986 42.99c0 .987 0 1.278.672 1.884l3.766 3.675v.157H201.1v-8.046a12.149 12.149 0 0 1-11.498 8.652c-7.442 0-11.431-5.425-11.431-15.69 0-4.954 0-10.378.157-16.475a1.905 1.905 0 0 0-.673-1.815l-3.698-3.699V22.2h16.564v20.465c0 6.724.986 11.207 5.2 11.207a6.724 6.724 0 0 0 5.424-3.385V28.073a2.107 2.107 0 0 0-.672-1.883l-3.72-3.833V22.2h16.698v31.515zm56.842 5.716c0-1.21.224-16.631.224-20.172 0-6.725-1.053-11.364-5.783-11.364a7.509 7.509 0 0 0-5.94 3.227c.475 2.096.7 4.24.673 6.388 0 4.662-.157 10.602-.224 16.542a1.905 1.905 0 0 0 .672 1.816l3.766 3.451v.157h-16.855c0-1.12.224-16.631.224-20.173 0-6.836-1.054-11.364-5.716-11.364a6.724 6.724 0 0 0-5.559 3.318v22.862c0 .986 0 1.21.673 1.816l3.676 3.452v.156h-16.677v-31.38a2.107 2.107 0 0 0-.672-1.882l-3.698-3.923V22.2h16.698v7.98a11.97 11.97 0 0 1 11.97-8.585c5.558 0 9.324 3.093 10.915 8.966a13 13 0 0 1 12.552-8.966c7.442 0 11.656 5.492 11.656 15.87 0 4.953-.157 10.601-.225 16.541-.13.703.17 1.417.763 1.816l3.675 3.451v.157h-16.788zM60.518 54.544l4.954 4.73v.156H40.346v-.157l5.043-4.729a1.905 1.905 0 0 0 .672-1.815V22.492c0-1.278 0-3.004.224-4.483L29.34 60.036h-.201L11.589 21.37c-.382-.964-.494-1.031-.74-1.681v25.35a8.809 8.809 0 0 0 .829 4.954l7.06 9.28v.156H0v-.157l7.06-9.301a8.831 8.831 0 0 0 .83-4.932V17.023a5.424 5.424 0 0 0-1.166-3.833L1.726 6.712v-.157h17.931l15.018 32.747L47.899 6.555h17.55v.157l-4.93 5.492a1.928 1.928 0 0 0-.763 1.882V52.73c-.13.703.17 1.416.762 1.815zm19.658-15.152v.157c0 9.593 4.953 13.449 10.759 13.449a12.216 12.216 0 0 0 11.43-6.926h.158c-2.018 9.48-7.89 13.964-16.676 13.964-9.482 0-18.425-5.716-18.425-18.963 0-13.92 8.966-19.478 18.873-19.478 7.98 0 16.474 3.766 16.474 15.87v1.927H80.176zm0-1.928h11.05v-1.95c0-9.862-2.04-12.484-5.11-12.484-3.721 0-5.985 3.922-5.985 14.434h.045z" fill\x3d"#1C1B1A"/\x3e\x3c/svg\x3e')},d))); | |
c=c(z.A(d));b=b(z.A(c));return a('\x3cdiv class\x3d"wordmarkSet"\x3e'+b+"\x3c/div\x3e")}; | |
Ofa=function(a,b,c){b=z.y;var d='\x3cdiv class\x3d"wordmarkSet"\x3e\x3cdiv class\x3d"u-marginBottom20"\x3e'+z.A(z.Ul({user:a.user,rf:!0},c))+'\x3c/div\x3e\x3ch3 class\x3d"overlay-title--context"\x3e',e;e=z.n("Never miss a story from {$userName}",{userName:z.A(a.user.name)});e=(0,z.y)(""+e);d=d+z.A(e)+'\x3c/h3\x3e\x3ch4 class\x3d"overlay-subtitle"\x3e';a=z.n("Connect with {$userName} on {$productName}",{userName:z.A(a.user.name),productName:z.A(c.productName)});a=(0,z.y)(""+a);return b(d+z.A(a)+"\x3c/h4\x3e\x3c/div\x3e")}; | |
Pfa=function(a,b,c){b=z.y;var d='\x3cdiv class\x3d"wordmarkSet"\x3e\x3cdiv class\x3d"u-marginBottom20"\x3e'+z.A(z.Al({collection:a.collection,rf:!0},c))+'\x3c/div\x3e\x3ch3 class\x3d"overlay-title--context"\x3e',e;e=z.n("Never miss a story from {$collectionName}",{collectionName:z.A(a.collection.name)});e=(0,z.y)(""+e);d=d+z.A(e)+'\x3c/h3\x3e\x3ch4 class\x3d"overlay-subtitle"\x3e';a=z.n("{$collectionName} is powered by {$productName}",{collectionName:z.A(a.collection.name),productName:z.A(c.productName)}); | |
a=(0,z.y)(""+a);return b(d+z.A(a)+"\x3c/h4\x3e\x3c/div\x3e")}; | |
cm=function(a,b){var c="",d=-1==(""+b.variants.signin_services).indexOf(""+a.fo),e=(0,z.M)("button button--signin button--continue button--"+z.A(a.fo)+" "+(a.l?" "+z.A(a.l):"")),g=(0,z.M)(""+z.nh("d",a.fo,!0)(null,null,b)),k=a.action,l=a.source,q=a.redirectUrl,r=a.ai,t=a.conversionUserId,w=(0,z.M)("Connect with "+z.A(a.Xp)),C;C=z.n("Continue with {$serviceDisplayName}",{serviceDisplayName:z.A(a.Xp)});C=(0,z.y)(""+C);C=(0,z.M)(""+z.A(C));a.B3?(a=z.n("We won’t post without asking"),a=(0,z.y)(""+a), | |
a='\x3cspan class\x3d"u-fontSize12 u-textColorTransparentWhiteDark"\x3e'+z.A(a)+"\x3c/span\x3e"):a="";c+=z.A(z.Wk({l:e,icon:g,isDisabled:d,Jh:!0,action:k,source:l,im:q,wya:r,xya:t,title:w,text:C,Kga:(0,z.M)(""+a)},b));return(0,z.y)(c)};dm=function(a){var b="buttonSet"+(a.Np?" buttonSet--vertical":"")+(a.l?" "+a.l:""),b=z.ph(b);a=""+('\x3cdiv class\x3d"'+z.E(b)+'"\x3e'+z.A(a.s)+"\x3c/div\x3e");return(0,z.y)(a)}; | |
z.Tfa=function(a,b){var c="",d=null==a.post.homeCollection?null:a.post.homeCollection.virtuals.permissions.canManageAll,e=b.currentUser.userId==a.post.creatorId,g=a.post.homeCollection&&"APPROVED"==a.post.virtuals.statusForCollection,k=a.post.homeCollection&&"PENDING"==a.post.virtuals.statusForCollection,l=a.post.homeCollection&&a.post.virtuals.statusForCollection,q=""!=a.post.newsletterId;a=""+(a.post.latestPublishedVersion?((d||e)&&g||e&&k)&&!q?Qfa(b):d&&!e&&k?Rfa(b):!l&&e?Sfa(b):"":g||k&&e?Qfa(b): | |
d&&!e&&k?Rfa(b):l?"":Sfa(b));a=(0,z.M)(a);c+=a?'\x3cspan class\x3d"postCollectionManagement js-postCollectionManagement u-hide u-xs-hide"\x3e'+z.A(a)+"\x3c/span\x3e":"";return(0,z.y)(c)};Sfa=function(a){var b='\x3cspan class\x3d"button-text"\x3e',c=a.currentUser.isWriterProgramEnrolled?z.n("Submit to publication"):z.n("Add to publication"),b=b+c;a=""+z.A(z.Uk({action:"show-add-submit-panel",la:!0,ca:!0,l:"button--withIconRight",s:(0,z.M)(b+"\x3c/span\x3e")},a));return(0,z.y)(a)}; | |
Qfa=function(a){var b=z.y,c;c=z.n("Remove story from publication");c=(0,z.y)(""+c);return b(z.A(z.Vk({text:(0,z.M)(""+z.A(c)),ca:!0,la:!0,action:"show-remove-panel"},0,a)))};Rfa=function(a){var b="",c=z.n("Manage submission"),b=b+z.A(z.Vk({action:"show-accept-reject-panel",la:!0,text:(0,z.M)(""+c)},0,a));return(0,z.y)(b)}; | |
Ufa=function(a,b,c){a=a||{};var d="";b=a.offset||0;for(var e="u-absolute u-top0 u-left0 u-disablePointerEvents"+(a.N0?" u-width60 u-height60":" u-width25 u-height36"),e=(0,z.M)(e),d=d+('\x3cdiv class\x3d"'+z.E(e)+'"\x3e\x3cdiv class\x3d"'+z.E(e)+' js-clapRadial--dots"\x3e'),g=0;5>g;g++){var k;k=z.D({t_:72*g+0+b},a);var l=c,l=l||{};k=(0,z.y)('\x3cdiv class\x3d"clapRadial clapRadial--dot'+(k.N0?"":" clapRadial--small")+'" style\x3d"'+(l.Aa?"/*"+l.Aa+"*/":"")+"transform: rotate("+z.E(z.G(k.t_))+'deg);"\x3e\x3c/div\x3e'); | |
d+=k}d+='\x3c/div\x3e\x3cdiv class\x3d"'+z.E(e)+' js-clapRadial--triangles"\x3e';for(e=0;5>e;e++)g=d,d=z.D({t_:72*e+13+b},a),k=(k=c)||{},d=(0,z.y)('\x3cdiv class\x3d"clapRadial clapRadial--triangle'+(d.N0?"":" clapRadial--small")+'" style\x3d"'+(k.Aa?"/*"+k.Aa+"*/":"")+"transform: rotate("+z.E(z.G(d.t_))+'deg);"\x3e\x3c/div\x3e'),d=g+d;return(0,z.y)(d+"\x3c/div\x3e\x3c/div\x3e")}; | |
Vfa=function(a){a=a||{};var b=a.Ki,c=a.hk,d=z.y;a.Vc?(a=a={Ki:b,l:"u-relative u-topNegative2 u-xs-top0"},a=(0,z.y)(z.Pj(z.D({name:"clapFilled",size:"33px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"33" height\x3d"33" \x3e\x3cg fill-rule\x3d"evenodd"\x3e\x3cpath d\x3d"M29.58 17.1l-3.854-6.78c-.365-.543-.876-.899-1.431-.989a1.491 1.491 0 0 0-1.16.281c-.42.327-.65.736-.7 1.207v.001l3.623 6.367c2.46 4.498 1.67 8.802-2.333 12.807-.265.265-.536.505-.81.728 1.973-.222 3.474-1.286 4.45-2.263 4.166-4.165 3.875-8.6 2.215-11.36zm-4.831.82l-3.581-6.3c-.296-.439-.725-.742-1.183-.815a1.105 1.105 0 0 0-.89.213c-.647.502-.755 1.188-.33 2.098l1.825 3.858a.601.601 0 0 1-.197.747.596.596 0 0 1-.77-.067L10.178 8.21c-.508-.506-1.393-.506-1.901 0a1.335 1.335 0 0 0-.393.95c0 .36.139.698.393.95v.001l5.61 5.61a.599.599 0 1 1-.848.847l-5.606-5.606c-.001 0-.002 0-.003-.002L5.848 9.375a1.349 1.349 0 0 0-1.902 0 1.348 1.348 0 0 0 0 1.901l1.582 1.582 5.61 5.61a.6.6 0 0 1-.848.848l-5.61-5.61c-.51-.508-1.393-.508-1.9 0a1.332 1.332 0 0 0-.394.95c0 .36.139.697.393.952l2.363 2.362c.002.001.002.002.002.003l3.52 3.52a.6.6 0 0 1-.848.847l-3.522-3.523h-.001a1.336 1.336 0 0 0-.95-.393 1.345 1.345 0 0 0-.949 2.295l6.779 6.78c3.715 3.713 9.327 5.598 13.49 1.434 3.527-3.528 4.21-7.13 2.086-11.015zM11.817 7.727c.06-.328.213-.64.466-.893.64-.64 1.755-.64 2.396 0l3.232 3.232c-.82.783-1.09 1.833-.764 2.992l-5.33-5.33z"/\x3e\x3cpath d\x3d"M13.285.48l-1.916.881 2.37 2.837z"/\x3e\x3cpath d\x3d"M21.719 1.361L19.79.501l-.44 3.697z"/\x3e\x3cpath d\x3d"M16.502 3.298L15.481 0h2.043z"/\x3e\x3c/g\x3e\x3c/svg\x3e')}, | |
a)))):c?(a=a||{},a=(0,z.y)(z.Pj(z.D({name:"clapFilled",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cg fill-rule\x3d"evenodd"\x3e\x3cpath d\x3d"M13.738 1l.762 2.966L15.262 1z"/\x3e\x3cpath d\x3d"M18.634 2.224l-1.432-.47-.408 3.022z"/\x3e\x3cpath d\x3d"M11.79 1.754l-1.431.47 1.84 2.552z"/\x3e\x3cpath d\x3d"M24.472 14.307l-3.023-5.32c-.287-.426-.689-.705-1.123-.776a1.16 1.16 0 0 0-.911.221c-.297.231-.474.515-.535.84.017.022.036.04.053.063l2.843 5.001c1.95 3.564 1.328 6.973-1.843 10.144a8.46 8.46 0 0 1-.549.501c1.205-.156 2.328-.737 3.351-1.76 3.268-3.268 3.041-6.749 1.737-8.914"/\x3e\x3cpath d\x3d"M14.58 10.887c-.156-.83.096-1.569.692-2.142L12.78 6.252c-.5-.504-1.378-.504-1.879 0-.178.18-.273.4-.329.63l4.008 4.005z"/\x3e\x3cpath d\x3d"M17.812 10.04c-.218-.323-.539-.55-.88-.606a.814.814 0 0 0-.644.153c-.176.137-.713.553-.24 1.566l1.43 3.025a.539.539 0 1 1-.868.612L9.2 7.378a.986.986 0 1 0-1.395 1.395l4.401 4.403a.538.538 0 1 1-.762.762L7.046 9.54 5.802 8.295a.99.99 0 0 0-1.396 0 .981.981 0 0 0 0 1.394l1.241 1.241 4.402 4.403a.537.537 0 0 1 0 .761.535.535 0 0 1-.762 0L4.89 11.696a.992.992 0 0 0-1.399-.003.983.983 0 0 0 0 1.395l1.855 1.854 2.763 2.765a.538.538 0 0 1-.76.761l-2.765-2.764a.982.982 0 0 0-1.395 0 .989.989 0 0 0 0 1.395l5.32 5.32c3.371 3.372 6.64 4.977 10.49 1.126C21.74 20.8 22.271 18 20.62 14.982l-2.809-4.942z"/\x3e\x3c/g\x3e\x3c/svg\x3e')}, | |
a)))):(a=a||{},a=(0,z.y)(z.Pj(z.D({name:"clapFilled",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cg fill-rule\x3d"evenodd"\x3e\x3cpath d\x3d"M11.738 0l.762 2.966L13.262 0z"/\x3e\x3cpath d\x3d"M16.634 1.224l-1.432-.47-.408 3.022z"/\x3e\x3cpath d\x3d"M9.79.754l-1.431.47 1.84 2.552z"/\x3e\x3cpath d\x3d"M22.472 13.307l-3.023-5.32c-.287-.426-.689-.705-1.123-.776a1.16 1.16 0 0 0-.911.221c-.297.231-.474.515-.535.84.017.022.036.04.053.063l2.843 5.001c1.95 3.564 1.328 6.973-1.843 10.144a8.46 8.46 0 0 1-.549.501c1.205-.156 2.328-.737 3.351-1.76 3.268-3.268 3.041-6.749 1.737-8.914"/\x3e\x3cpath d\x3d"M12.58 9.887c-.156-.83.096-1.569.692-2.142L10.78 5.252c-.5-.504-1.378-.504-1.879 0-.178.18-.273.4-.329.63l4.008 4.005z"/\x3e\x3cpath d\x3d"M15.812 9.04c-.218-.323-.539-.55-.88-.606a.814.814 0 0 0-.644.153c-.176.137-.713.553-.24 1.566l1.43 3.025a.539.539 0 1 1-.868.612L7.2 6.378a.986.986 0 1 0-1.395 1.395l4.401 4.403a.538.538 0 1 1-.762.762L5.046 8.54 3.802 7.295a.99.99 0 0 0-1.396 0 .981.981 0 0 0 0 1.394L3.647 9.93l4.402 4.403a.537.537 0 0 1 0 .761.535.535 0 0 1-.762 0L2.89 10.696a.992.992 0 0 0-1.399-.003.983.983 0 0 0 0 1.395l1.855 1.854 2.763 2.765a.538.538 0 0 1-.76.761l-2.765-2.764a.982.982 0 0 0-1.395 0 .989.989 0 0 0 0 1.395l5.32 5.32c3.371 3.372 6.64 4.977 10.49 1.126C19.74 19.8 20.271 17 18.62 13.982L15.812 9.04z"/\x3e\x3c/g\x3e\x3c/svg\x3e')}, | |
a))));a=z.A(a);return d(a)};Wfa=function(){var a=z.n("Show your support!");return(0,z.y)(""+a)};Xfa=function(a){a=z.n("Your claps show how much you appreciate {$author}’s story.",{author:z.A(a.author)});return(0,z.y)(""+a)};Yfa=function(){var a=z.n("Keep the applause coming!");return(0,z.y)(""+a)};Zfa=function(){var a=z.n("Click and hold to show your support.");return(0,z.y)(""+a)}; | |
z.fm=function(a,b){var c=z.y,d=a.source,e=a.Vc,g=a.Np,k=a.isDisabled,l=a.hk,q=a.sQ,r=a.Ki,t=a.bI,w="",C=z.n("You cannot applaud your own story."),J,Q=a.post;J=b.currentUser;J=!z.Xl(J)&&J.userId!=Q.creatorId&&Q.isSubscriptionLocked&&2==Q.visibility;var R=!a.meteringInfo||a.meteringInfo&&z.em(null==a.meteringInfo?null:a.meteringInfo.postIds,a.post.id),Q=b.currentUser.userId==a.post.creatorId,k=k||Q||J&&!R;J=(0,z.M)("multirecommend js-actionMultirecommend"+(g?" u-flexColumn u-marginBottom10":" u-flexCenter")+ | |
(e?" u-width60":""));C=z.ph(""+C);d='\x3cdiv class\x3d"'+z.E(J)+'" data-post-id\x3d"'+z.E(a.post.id)+'"'+(l?' data-is-icon-29px\x3d"true"':"")+(r?' data-is-flush-left\x3d"true"':"")+(q?' data-is-label-padded\x3d"true"':"")+(g?' data-is-vertical\x3d"true"':"")+(e?' data-is-circle\x3d"true"':"")+(t?' data-has-recommend-list\x3d"true"':"")+(d?' data-source\x3d"'+z.E(d)+'"':"")+'\x3e\x3cdiv class\x3d"u-relative u-foreground"'+(Q?' data-tooltip\x3d"'+z.E(C)+'" data-tooltip-position\x3d"top"':"")+"\x3e"; | |
C=z.D({isDisabled:k},a);g=C.source;l=C.hk;q=C.Vc;r=C.isDisabled;Q=C.cCa;J="";t=0<(null==C.post.virtuals.userPostRelation?null:C.post.virtuals.userPostRelation.clapCount);Q="clapButton--largePill u-relative u-foreground u-xs-paddingLeft13"+(r?"":" u-width60 u-height60 u-accentColor--textNormal u-accentColor--buttonNormal"+(Q&&!t?C.post.homeCollectionId?" clap-onboardingcollection":" clap-onboarding":""));Q=(0,z.M)(Q);if(r)R=Vfa(C);else{var S;S=C||{};var ba=S.Ki,X=S.hk,R=z.y;S.Vc?(S=S={Ki:ba,l:"u-relative u-topNegative2 u-xs-top0"}, | |
S=(0,z.y)(z.Pj(z.D({name:"clap",size:"33px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"33" height\x3d"33" \x3e\x3cpath d\x3d"M28.86 17.342l-3.64-6.402c-.292-.433-.712-.729-1.163-.8a1.124 1.124 0 0 0-.889.213c-.63.488-.742 1.181-.33 2.061l1.222 2.587 1.4 2.46c2.234 4.085 1.511 8.007-2.145 11.663-.26.26-.526.49-.797.707 1.42-.084 2.881-.683 4.292-2.094 3.822-3.823 3.565-7.876 2.05-10.395zm-6.252 11.075c3.352-3.35 3.998-6.775 1.978-10.469l-3.378-5.945c-.292-.432-.712-.728-1.163-.8a1.122 1.122 0 0 0-.89.213c-.63.49-.742 1.182-.33 2.061l1.72 3.638a.502.502 0 0 1-.806.568l-8.91-8.91a1.335 1.335 0 0 0-1.887 1.886l5.292 5.292a.5.5 0 0 1-.707.707l-5.292-5.292-1.492-1.492c-.503-.503-1.382-.505-1.887 0a1.337 1.337 0 0 0 0 1.886l1.493 1.492 5.292 5.292a.499.499 0 0 1-.353.854.5.5 0 0 1-.354-.147L5.642 13.96a1.338 1.338 0 0 0-1.887 0 1.338 1.338 0 0 0 0 1.887l2.23 2.228 3.322 3.324a.499.499 0 0 1-.353.853.502.502 0 0 1-.354-.146l-3.323-3.324a1.333 1.333 0 0 0-1.886 0 1.325 1.325 0 0 0-.39.943c0 .356.138.691.39.943l6.396 6.397c3.528 3.53 8.86 5.313 12.821 1.353zM12.73 9.26l5.68 5.68-.49-1.037c-.518-1.107-.426-2.13.224-2.89l-3.303-3.304a1.337 1.337 0 0 0-1.886 0 1.326 1.326 0 0 0-.39.944c0 .217.067.42.165.607zm14.787 19.184c-1.599 1.6-3.417 2.392-5.353 2.392-.349 0-.7-.03-1.058-.082a7.922 7.922 0 0 1-3.667.887c-3.049 0-6.115-1.626-8.359-3.87l-6.396-6.397A2.315 2.315 0 0 1 2 19.724a2.327 2.327 0 0 1 1.923-2.296l-.875-.875a2.339 2.339 0 0 1 0-3.3 2.33 2.33 0 0 1 1.24-.647l-.139-.139c-.91-.91-.91-2.39 0-3.3.884-.884 2.421-.882 3.301 0l.138.14a2.335 2.335 0 0 1 3.948-1.24l.093.092c.091-.423.291-.828.62-1.157a2.336 2.336 0 0 1 3.3 0l3.384 3.386a2.167 2.167 0 0 1 1.271-.173c.534.086 1.03.354 1.441.765.11-.549.415-1.034.911-1.418a2.12 2.12 0 0 1 1.661-.41c.727.117 1.385.565 1.853 1.262l3.652 6.423c1.704 2.832 2.025 7.377-2.205 11.607zM13.217.484l-1.917.882 2.37 2.837-.454-3.719zm8.487.877l-1.928-.86-.44 3.697 2.368-2.837zM16.5 3.293L15.478-.005h2.044L16.5 3.293z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
S)))):X?(S=S||{},S=(0,z.y)(z.Pj(z.D({name:"clap",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cg fill-rule\x3d"evenodd"\x3e\x3cpath d\x3d"M13.739 1l.761 2.966L15.261 1z"/\x3e\x3cpath d\x3d"M16.815 4.776l1.84-2.551-1.43-.471z"/\x3e\x3cpath d\x3d"M10.378 2.224l1.84 2.551-.408-3.022z"/\x3e\x3cpath d\x3d"M22.382 22.622c-1.04 1.04-2.115 1.507-3.166 1.608.168-.14.332-.29.492-.45 2.885-2.886 3.456-5.982 1.69-9.211l-1.101-1.937-.955-2.02c-.315-.676-.235-1.185.245-1.556a.836.836 0 0 1 .66-.16c.342.056.66.28.879.605l2.856 5.023c1.179 1.962 1.379 5.119-1.6 8.098m-13.29-.528l-5.02-5.02a1 1 0 0 1 .707-1.701c.255 0 .512.098.707.292l2.607 2.607a.442.442 0 0 0 .624-.624L6.11 15.04l-1.75-1.75a.998.998 0 1 1 1.41-1.413l4.154 4.156a.44.44 0 0 0 .624 0 .44.44 0 0 0 0-.624l-4.152-4.153-1.172-1.171a.998.998 0 0 1 0-1.41 1.018 1.018 0 0 1 1.41 0l1.172 1.17 4.153 4.152a.437.437 0 0 0 .624 0 .442.442 0 0 0 0-.624L8.43 9.222a.988.988 0 0 1-.291-.705.99.99 0 0 1 .29-.706 1 1 0 0 1 1.412 0l6.992 6.993a.443.443 0 0 0 .71-.501l-1.35-2.856c-.315-.676-.235-1.185.246-1.557a.85.85 0 0 1 .66-.16c.342.056.659.28.879.606L20.628 15c1.573 2.876 1.067 5.545-1.544 8.156-1.396 1.397-3.144 1.966-5.063 1.652-1.713-.286-3.463-1.248-4.928-2.714zM12.99 6.976l2.562 2.562c-.497.607-.563 1.414-.155 2.284l.265.562-4.257-4.257a.98.98 0 0 1-.117-.445c0-.267.104-.517.292-.706a1.023 1.023 0 0 1 1.41 0zm8.887 2.06c-.375-.557-.902-.916-1.486-1.011a1.738 1.738 0 0 0-1.342.332c-.376.29-.61.656-.712 1.065a2.1 2.1 0 0 0-1.095-.562 1.776 1.776 0 0 0-.992.128l-2.636-2.636a1.883 1.883 0 0 0-2.658 0 1.862 1.862 0 0 0-.478.847 1.886 1.886 0 0 0-2.671-.012 1.867 1.867 0 0 0-.503.909c-.754-.754-1.992-.754-2.703-.044a1.881 1.881 0 0 0 0 2.658c-.288.12-.605.288-.864.547a1.884 1.884 0 0 0 0 2.659l.624.622a1.879 1.879 0 0 0-.91 3.16l5.019 5.02c1.595 1.594 3.515 2.645 5.408 2.959a7.16 7.16 0 0 0 1.173.098c1.026 0 1.997-.24 2.892-.7.279.04.555.065.828.065 1.53 0 2.969-.628 4.236-1.894 3.338-3.338 3.083-6.928 1.738-9.166l-2.868-5.043z"/\x3e\x3c/g\x3e\x3c/svg\x3e')}, | |
S)))):(S=S||{},S=(0,z.y)(z.Pj(z.D({name:"clap",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cg fill-rule\x3d"evenodd"\x3e\x3cpath d\x3d"M11.739 0l.761 2.966L13.261 0z"/\x3e\x3cpath d\x3d"M14.815 3.776l1.84-2.551-1.43-.471z"/\x3e\x3cpath d\x3d"M8.378 1.224l1.84 2.551L9.81.753z"/\x3e\x3cpath d\x3d"M20.382 21.622c-1.04 1.04-2.115 1.507-3.166 1.608.168-.14.332-.29.492-.45 2.885-2.886 3.456-5.982 1.69-9.211l-1.101-1.937-.955-2.02c-.315-.676-.235-1.185.245-1.556a.836.836 0 0 1 .66-.16c.342.056.66.28.879.605l2.856 5.023c1.179 1.962 1.379 5.119-1.6 8.098m-13.29-.528l-5.02-5.02a1 1 0 0 1 .707-1.701c.255 0 .512.098.707.292l2.607 2.607a.442.442 0 0 0 .624-.624L4.11 14.04l-1.75-1.75a.998.998 0 1 1 1.41-1.413l4.154 4.156a.44.44 0 0 0 .624 0 .44.44 0 0 0 0-.624l-4.152-4.153-1.172-1.171a.998.998 0 0 1 0-1.41 1.018 1.018 0 0 1 1.41 0l1.172 1.17 4.153 4.152a.437.437 0 0 0 .624 0 .442.442 0 0 0 0-.624L6.43 8.222a.988.988 0 0 1-.291-.705.99.99 0 0 1 .29-.706 1 1 0 0 1 1.412 0l6.992 6.993a.443.443 0 0 0 .71-.501l-1.35-2.856c-.315-.676-.235-1.185.246-1.557a.85.85 0 0 1 .66-.16c.342.056.659.28.879.606L18.628 14c1.573 2.876 1.067 5.545-1.544 8.156-1.396 1.397-3.144 1.966-5.063 1.652-1.713-.286-3.463-1.248-4.928-2.714zM10.99 5.976l2.562 2.562c-.497.607-.563 1.414-.155 2.284l.265.562-4.257-4.257a.98.98 0 0 1-.117-.445c0-.267.104-.517.292-.706a1.023 1.023 0 0 1 1.41 0zm8.887 2.06c-.375-.557-.902-.916-1.486-1.011a1.738 1.738 0 0 0-1.342.332c-.376.29-.61.656-.712 1.065a2.1 2.1 0 0 0-1.095-.562 1.776 1.776 0 0 0-.992.128l-2.636-2.636a1.883 1.883 0 0 0-2.658 0 1.862 1.862 0 0 0-.478.847 1.886 1.886 0 0 0-2.671-.012 1.867 1.867 0 0 0-.503.909c-.754-.754-1.992-.754-2.703-.044a1.881 1.881 0 0 0 0 2.658c-.288.12-.605.288-.864.547a1.884 1.884 0 0 0 0 2.659l.624.622a1.879 1.879 0 0 0-.91 3.16l5.019 5.02c1.595 1.594 3.515 2.645 5.408 2.959a7.16 7.16 0 0 0 1.173.098c1.026 0 1.997-.24 2.892-.7.279.04.555.065.828.065 1.53 0 2.969-.628 4.236-1.894 3.338-3.338 3.083-6.928 1.738-9.166l-2.868-5.043z"/\x3e\x3c/g\x3e\x3c/svg\x3e')}, | |
S))));S=z.A(S);R=R(S)}R=(0,z.M)(""+R);S=(0,z.M)(""+Vfa(C));ba=C.post.id;C=(0,z.ri)(C.collection?z.F(z.Ci(b,"_UPVOTE_POST_IN_COLLECTION",C.post,C.collection,null,C.token)):z.F(z.Ci(b,"_UPVOTE_POST",C.post,null,null,C.token)));J+=z.A(z.Wk({icon:R,jm:S,isPrimary:!q,ca:!q||r,Vc:q&&!r,sb:l||q&&r,isActive:t,isDisabled:r,action:"multivote",actionType:"long-press",actionValue:ba,source:g,Nb:!0,Le:(0,z.L)(""+z.F(C)),pk:!0,Mya:"Clap",l:(0,z.M)("clapButton js-actionMultirecommendButton"+(q?" "+z.A(Q):""))}, | |
b));g=(0,z.y)(J);d+=z.A(g);e&&!k?(e=b||{},e=(0,z.y)('\x3cdiv class\x3d"clapUndo u-width60 u-round u-height32 u-absolute u-borderBox u-paddingRight5 u-transition--transform200Spring u-background--brandSageLighter js-clapUndo" style\x3d"'+(e.Aa?"/*"+e.Aa+"*/":"")+'top: 14px; padding: 2px;"\x3e'+z.A(z.Wk({icon:(0,z.M)(""+z.A(z.tk())),action:"multivote-undo",actionValue:a.post.id,ca:!0,l:"u-floatRight"},e))+"\x3c/div\x3e"),e=z.A(e)):e="";w+=d+e+"\x3c/div\x3e"+$fa(a,0,b)+"\x3c/div\x3e";a=(0,z.y)(w);return c(a)}; | |
$fa=function(a,b,c){b=a.Np;var d=a.QBa,e=a.Vc,g="",k=a.post.virtuals.totalClapCount,l=null==a.post.virtuals.userPostRelation?null:a.post.virtuals.userPostRelation.clapCount,q=c.currentUser.userId==a.post.creatorId,r;r=(0,z.M)("js-multirecommendCountButton"+(a.bI?"":" u-disablePointerEvents")+(a.sQ?" u-marginLeft4":"")+(b?" u-block u-marginAuto":""));g+='\x3cspan class\x3d"u-textAlignCenter u-relative u-background js-actionMultirecommendCount'+(b?" u-flexOrderNegative1 u-height20 u-marginBottom7": | |
e&&!q?" u-marginLeft10":" u-marginLeft5")+'"\x3e'+(k||d?z.A(z.Vk({l:r,action:"show-recommends",actionValue:a.post.id,text:(0,z.M)(""+(d?l>=c.j.rDa?"max":"+"+z.A(l):z.A(z.Mh(Number(k)))))},0,c)):"")+"\x3c/span\x3e";return(0,z.y)(g)}; | |
aga=function(a){var b=a.Vc;a=""+('\x3cspan class\x3d"js-floatingMultirecommendCount clapButton-floatingCount u-absolute u-backgroundGreenNormal u-accentColor--backgroundNormal u-round u-height35 u-width35 u-textColorWhite u-fontSize12 u-textAlignCenter u-lineHeight35'+(a.Np||b?" u-bottom85":" u-bottom40")+(b?" u-left12":" u-leftNegative4")+' "\x3e+'+z.A(null==a.post.virtuals.userPostRelation?null:a.post.virtuals.userPostRelation.clapCount)+"\x3c/span\x3e");return(0,z.y)(a)}; | |
z.bga=function(a,b){var c=a.la,d=a.l,e="",g=z.n("Undo applause for this post"),e=e+z.A(z.Vk({action:"multivote-undo",actionValue:a.post.id,la:c,text:(0,z.M)(""+g),l:d},0,b));return(0,z.y)(e)}; | |
z.gm=function(a,b){var c=z.y;if(z.Xl(b.currentUser)){var d=a.source,e=a.hk,g=a.aea,k=a.sb,l=a.Un,q=a.Jh,r=a.Yy,t="",w=""+((null==a.post.virtuals?0:null==a.post.virtuals.userPostRelation?0:a.post.virtuals.userPostRelation.queuedAt)?z.A(b.j.Es.ni):(null==a.post.virtuals?0:null==a.post.virtuals.userPostRelation?0:a.post.virtuals.userPostRelation.readLaterAddedAt)?z.A(b.j.Es.pq):z.A(b.j.Es.lq)),w=(0,z.M)(w),C='\x3cspan class\x3d"js-'+z.E(b.j.Es.pq)+(!(null==a.post.virtuals?0:null==a.post.virtuals.userPostRelation? | |
0:a.post.virtuals.userPostRelation.readLaterAddedAt)||(null==a.post.virtuals?0:null==a.post.virtuals.userPostRelation?0:a.post.virtuals.userPostRelation.queuedAt)?" u-hide":"")+'"\x3e',J;e?J=z.A(z.Oda(a)):(g?(J=a||{},J=(0,z.y)(z.Pj(z.D({name:"bookmarkCheck",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M6.69 3h7.62c.93 0 1.69.773 1.69 1.72v12.911a.399.399 0 0 1-.102.24.39.39 0 0 1-.31.14.393.393 0 0 1-.286-.11l-4.81-3.55-4.784 3.54a.394.394 0 0 1-.285.11.396.396 0 0 1-.313-.14.532.532 0 0 1-.11-.243v-12.9C5 3.773 5.76 3 6.69 3zM6.1 8.62l3.38 3.33 5.62-5.536L13.868 5.2 9.48 9.522 7.332 7.406 6.1 8.62z"/\x3e\x3c/svg\x3e')}, | |
J)))):(J=a||{},J=(0,z.y)(z.Pj(z.D({name:"bookmarkCheck",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M19 6v14.661h-.012a.5.5 0 0 1-.118.285.508.508 0 0 1-.708.03L12.5 16.85l-5.662 4.125a.5.5 0 0 1-.706-.03.478.478 0 0 1-.12-.285H6V6c0-1.1.9-2 2-2h9c1.1 0 2 .9 2 2zM7.6 10.114l3.869 3.811L17.9 7.589 16.49 6.2l-5.021 4.946-2.46-2.421L7.6 10.114z"/\x3e\x3c/svg\x3e')},J)))),J=z.A(J));e=C+J+'\x3c/span\x3e\x3cspan class\x3d"js-'+z.E(b.j.Es.ni)+ | |
((null==a.post.virtuals?0:null==a.post.virtuals.userPostRelation?0:a.post.virtuals.userPostRelation.queuedAt)?"":" u-hide")+'"\x3e'+(e?z.A(z.mk(a)):g?z.A(Pda(a)):z.A(lk(a)))+'\x3c/span\x3e\x3cspan class\x3d"js-'+z.E(b.j.Es.lq)+((null==a.post.virtuals?0:null==a.post.virtuals.userPostRelation?0:a.post.virtuals.userPostRelation.readLaterAddedAt)?" u-hide":"")+'"\x3e'+(e?z.A(z.kk(a)):g?z.A(Mda(a)):z.A(Nda(a)))+"\x3c/span\x3e";e=(0,z.M)(e);t+=z.A(z.Wk({action:w,pQ:!0,ca:!0,actionValue:a.post.id,actionSource:d, | |
icon:e,sb:k,la:!0,Jh:q,l:z.ph("button--withIcon button--withSvgIcon button--bookmark"+(l?" u-transition--fadeOut300":"")+" js-bookmarkButton"),text:(0,z.M)(""+(r?z.A(r):""))},b));a=(0,z.y)(t)}else d=a.source,k=a.la,l=a.hk,q=a.aea,r=a.Jh,t=a.Yy,w=a.post.virtuals.isBookmarked,e=z.ph("button--bookmark"+(a.Un?" u-transition--fadeOut300":"")+" js-bookmarkButton"),g=z.n("Bookmark this story to read later"),g=(0,z.y)(""+g),a=""+z.A(z.Wk({isActive:w,ca:!0,la:k,sb:l,pQ:!0,title:(0,z.M)(""+z.A(g)),icon:(0,z.M)(""+ | |
(l?z.A(z.kk(a)):q?z.A(Mda(a)):z.A(Nda(a)))),jm:(0,z.M)(""+(l?z.A(z.mk(a)):q?z.A(Pda(a)):z.A(lk(a)))),Nb:!0,pk:!0,Le:(0,z.L)(""+z.F((0,z.ri)(z.F(z.Ci(b,"_BOOKMARK_POST",a.post,null,null))))),action:w?"remove-from-bookmarks":"add-to-bookmarks",actionValue:a.post.id,source:d,Jh:r,l:e,text:(0,z.M)(""+(t?z.A(t):""))},b)),a=(0,z.y)(a);return c(a)}; | |
z.hm=function(a,b){var c="",d=a.post.virtuals.totalClapCount,e=a.post.virtuals.responsesCreatedCount;if(0<d)if(a.postUrl)c+=z.A(z.al({ca:!0,Cea:!0,href:a.postUrl,source:a.source,icon:(0,z.M)(""+z.A(z.ok(null))),text:(0,z.M)(""+z.A(z.Mh(Number(d))))},b));else var g=""+cga({fCa:0<e}),g=(0,z.M)(g),c=c+('\x3cspan class\x3d"'+z.E(g)+'"\x3e'+z.A(z.ok(null))+'\x3cspan class\x3d"label-text"\x3e'+z.A(z.Mh(Number(d)))+"\x3c/span\x3e\x3c/span\x3e");0<e&&(a.postUrl?c+=z.A(z.al({ca:!0,Ff:!0,Cea:!0,href:(0,z.L)(z.F(a.postUrl)+ | |
"#--responses"),source:a.source,icon:(0,z.M)(""+z.A(Wda())),text:(0,z.M)(""+z.A(z.Kh(Number(e))))},b)):(a=""+cga(null),a=(0,z.M)(a),c+='\x3cspan class\x3d"'+z.E(a)+'"\x3e'+z.A(Wda())+'\x3cspan class\x3d"label-text"\x3e'+z.A(z.Kh(Number(e)))+"\x3c/span\x3e\x3c/span\x3e"));return(0,z.y)(c)};cga=function(a){a=a||{};return(0,z.y)("label label--withIcon"+(a.fCa?" u-paddingRight10":""))}; | |
z.dga=function(a,b){var c="",d=z.n("Report story"),e=z.n("Report this post as spam, abusive, or against Medium’s rules."),c=c+z.A(z.Vk({action:"report-story",actionValue:a.post.id,la:a.la,title:(0,z.M)(""+e),text:(0,z.M)(""+d),l:a.l},0,b));return(0,z.y)(c)}; | |
ega=function(a){a=a||{};var b=a.nDa,c=a.sC,d=a.oI,e=a.Q0,g=a.Wn,k=a.R0,l=a.YBa,q=a.LCa,r=a.zI,t=a.AI,w=a.SBa,C=a.rI,J=a.RBa,Q=a.qI,R=a.ik,S=a.qf,ba="";a="popover js-popover"+(a.Bc?" popover--menu":"")+(a.la?" popover--dark":"")+(b?" "+z.A(b):"");a=(0,z.M)(a);c=(0,z.M)("popover-inner js-popover-inner"+(d?" u-sizeAuto":"")+(c?" u-textAlignLeft":"")+(e?" u-padding0":"")+(g?" u-padding15":"")+(k?" u-padding20":"")+(l?" u-paddingTop0":"")+(q?" u-width240":"")+(r?" u-width300":"")+(t?" u-width360":"")+ | |
(w?" u-minWidth200":"")+(J?" u-maxWidth150":"")+(Q?" u-maxWidth360":"")+(R?" u-maxWidth300":"")+(C?" u-maxWidthNone":""));ba+='\x3cdiv class\x3d"'+z.E(a)+'"\x3e\x3cdiv class\x3d"'+z.E(c)+'"\x3e'+z.A(null==S?"":S)+'\x3c/div\x3e\x3cdiv class\x3d"popover-arrow"\x3e\x3c/div\x3e\x3c/div\x3e';return(0,z.y)(ba)};fga=function(a,b,c){return(0,z.y)(z.A(z.cl(a,c)))}; | |
gga=function(a){var b=a.fu;return(0,z.y)('\x3ccite class\x3d"popover-cite"\x3e'+z.A(a.cite)+'\x3c/cite\x3e\x3cdiv class\x3d"popover-quote"\x3e'+z.A(z.pl(String(b)))+"\x3c/div\x3e")};z.hga=function(a){return(0,z.y)(z.A(a.fu))}; | |
z.im=function(a,b,c){var d=a.fu,e=a.zR;b=a.action;var g=a.actionValue;a='\x3cdiv class\x3d"u-fontSize14 u-width250 u-normalWrap u-textColorNormal u-lineHeightBaseSans"\x3e\x3cdiv class\x3d"u-uiTextRegular u-textColorDarker u-fontSize16 u-marginBottom5"\x3e'+z.A(a.title)+"\x3c/div\x3e"+z.A(d)+"\x3c/div\x3e";e&&(e=z.n("OK"),a+='\x3cdiv class\x3d"u-lineHeightBaseSans u-marginTop10"\x3e'+z.A(z.Uk({s:(0,z.M)(""+e),action:b||"dismiss-popover",actionValue:g,gi:!0,isPrimary:!0},c))+"\x3c/div\x3e");return(0,z.y)(a)}; | |
iga=function(a,b,c){var d="";b=z.n("Publications page");var e;e=z.n("Following {$collectionName}",{collectionName:z.A(a.collection.name)});e=(0,z.y)(""+e);d+="\x3ch3\x3e"+z.A(e)+"\x3c/h3\x3e";e=""+z.F(z.Ti(a,c));e=(0,z.L)(e);a=d;c=(0,z.M)(""+z.A(z.N({href:e,s:(0,z.M)(""+b),gf:!0},c)));c=z.n("You will receive Letters from this publication in your inbox. You can manage this on your {$linkHtml}.",{linkHtml:z.A(c)});c=(0,z.y)(""+c);d=a+('\x3cdiv class\x3d"popover-text"\x3e'+z.A(c)+"\x3c/div\x3e");return(0,z.y)(d)}; | |
z.jm=function(a,b,c){a=""+z.nh("o","PostLicense_"+a.license,!0)(a,null,c);return(0,z.y)(a)};km=function(a){return(0,z.y)(a.c1?'\x3cdiv class\x3d"licenseSelector-description u-clearfix"\x3e'+(a.icon?z.A(a.icon):"")+"\x3cspan\x3e"+z.A(a.description)+"\x3c/span\x3e\x3c/div\x3e":a.icon?'\x3cspan title\x3d"'+z.E(a.description)+'"\x3e'+z.A(a.icon)+"\x3c/span\x3e":"")};lm=function(a,b){return(0,z.y)(jga(z.D({description:(0,z.M)(""+z.A(z.nh("g",a.pp,!0)(null,null,b)))},a)))}; | |
kga=function(a,b){return(0,z.y)(jga(z.D({description:(0,z.M)(""+z.A(z.nh("h",a.pp,!0)(null,null,b)))},a)))}; | |
jga=function(a){a=a||{};var b=z.y,c;c={};c=(0,z.y)(z.Pj(z.D({name:"creativeCommonsBy",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M10.485 2c2.387 0 4.4.82 6.04 2.46C18.175 6.107 19 8.12 19 10.5c0 2.388-.81 4.376-2.43 5.965C14.85 18.155 12.823 19 10.486 19c-2.298 0-4.29-.835-5.98-2.505C2.836 14.825 2 12.827 2 10.5s.835-4.34 2.505-6.04C6.145 2.82 8.137 2 10.485 2zm.03 1.533c-1.933 0-3.567.678-4.903 2.034-1.386 1.417-2.08 3.06-2.08 4.933 0 1.882.69 3.512 2.065 4.887 1.376 1.377 3.015 2.064 4.918 2.064 1.892 0 3.54-.69 4.948-2.07 1.336-1.28 2.004-2.91 2.004-4.87 0-1.93-.68-3.57-2.034-4.93-1.356-1.35-2.995-2.03-4.918-2.03zm2.277 4.857v3.476h-.97v4.128H9.18v-4.128h-.972V8.39a.53.53 0 0 1 .16-.387.528.528 0 0 1 .387-.16h3.49c.143 0 .27.054.38.16a.52.52 0 0 1 .167.387zM9.316 6.205c0-.8.394-1.2 1.184-1.2.79 0 1.184.4 1.184 1.2 0 .79-.395 1.183-1.184 1.183-.79 0-1.184-.394-1.184-1.183z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},c))); | |
return b(km(z.D({icon:(0,z.M)(""+z.A(c))},a)))}; | |
lga=function(a,b){var c=z.y;b=(0,z.M)(""+z.A(z.nh("i",a.pp,!0)(null,null,b)));var d;d={};d=(0,z.y)(z.Pj(z.D({name:"creativeCommonsNd",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M10.485 2c2.378 0 4.39.825 6.04 2.474C18.175 6.114 19 8.12 19 10.5c0 2.378-.81 4.37-2.43 5.98-1.71 1.68-3.738 2.52-6.085 2.52-2.298 0-4.29-.835-5.98-2.505C2.835 14.825 2 12.827 2 10.5c0-2.317.835-4.326 2.505-6.025C6.155 2.825 8.148 2 10.485 2zm.03 1.533c-1.932 0-3.566.683-4.902 2.05-1.387 1.406-2.08 3.045-2.08 4.917 0 1.892.688 3.52 2.064 4.887 1.377 1.377 3.016 2.064 4.918 2.064 1.892 0 3.542-.69 4.948-2.07 1.336-1.29 2.004-2.92 2.004-4.87 0-1.94-.68-3.58-2.034-4.91-1.346-1.36-2.985-2.05-4.917-2.05zm3.203 4.963v1.457H7.54V8.496h6.178zm0 2.733v1.45H7.54v-1.45h6.178z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},d))); | |
return c(km(z.D({description:b,icon:(0,z.M)(""+z.A(d))},a)))}; | |
mm=function(a,b){var c=z.y;b=(0,z.M)(""+z.A(z.nh("k",a.pp,!0)(null,null,b)));var d;d={};d=(0,z.y)(z.Pj(z.D({name:"creativeCommonsNc",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M10.485 2c2.388 0 4.4.82 6.04 2.46C18.175 6.097 19 8.11 19 10.5s-.81 4.376-2.43 5.965C14.85 18.155 12.823 19 10.486 19c-2.308 0-4.3-.84-5.98-2.52C2.836 14.81 2 12.82 2 10.5c0-2.327.835-4.34 2.505-6.04C6.145 2.82 8.137 2 10.485 2zM3.913 8.208a6.68 6.68 0 0 0-.38 2.292c0 1.882.688 3.512 2.064 4.888 1.386 1.366 3.026 2.05 4.918 2.05 1.912 0 3.56-.694 4.948-2.08a6.2 6.2 0 0 0 1.168-1.49l-3.2-1.425c-.11.536-.38.974-.81 1.313a2.8 2.8 0 0 1-1.52.584v1.305h-.98V14.34c-.94-.01-1.8-.35-2.58-1.017L8.7 12.14c.556.51 1.19.77 1.898.77.294 0 .545-.067.752-.2.207-.13.312-.35.312-.652a.658.658 0 0 0-.23-.516l-.82-.35-1-.455-1.353-.59-4.34-1.944zm6.602-4.69c-1.933 0-3.567.683-4.903 2.05a8.007 8.007 0 0 0-.94 1.138L7.92 8.163c.14-.446.41-.802.804-1.07a2.68 2.68 0 0 1 1.382-.448V5.34h.986v1.305c.78.04 1.488.303 2.125.79L12.11 8.57c-.477-.334-.962-.5-1.458-.5-.263 0-.498.05-.706.15-.207.103-.31.275-.31.517 0 .07.024.14.075.212l1.08.48.75.33 1.37.6 4.36 1.94c.14-.6.22-1.21.22-1.83 0-1.95-.67-3.6-2.03-4.93-1.35-1.37-2.99-2.05-4.92-2.05z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},d))); | |
return c(km(z.D({description:b,icon:(0,z.M)(""+z.A(d))},a)))}; | |
mga=function(a,b){var c=z.y;b=(0,z.M)(""+z.A(z.nh("j",a.pp,!0)(null,null,b)));var d;d={};d=(0,z.y)(z.Pj(z.D({name:"creativeCommonsSa",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M10.485 2c2.377 0 4.39.825 6.04 2.474C18.175 6.114 19 8.122 19 10.5c0 2.378-.81 4.37-2.43 5.98-1.71 1.68-3.738 2.52-6.085 2.52-2.298 0-4.29-.835-5.98-2.505C2.835 14.825 2 12.828 2 10.5c0-2.317.835-4.325 2.505-6.025C6.155 2.825 8.147 2 10.485 2zm.03 1.533c-1.933 0-3.567.683-4.903 2.05-1.386 1.406-2.08 3.045-2.08 4.917 0 1.893.69 3.52 2.065 4.887 1.376 1.377 3.015 2.065 4.918 2.065 1.892 0 3.54-.693 4.948-2.08 1.336-1.295 2.004-2.92 2.004-4.872 0-1.943-.68-3.582-2.034-4.918-1.346-1.366-2.985-2.05-4.918-2.05zM6.72 9.3c.162-1.042.582-1.85 1.26-2.42.678-.572 1.502-.858 2.474-.858 1.335 0 2.398.43 3.188 1.29.79.86 1.183 1.963 1.183 3.31 0 1.305-.41 2.39-1.23 3.255-.82.864-1.88 1.297-3.187 1.297-.96 0-1.79-.288-2.49-.865-.697-.58-1.117-1.4-1.26-2.46H8.8c.05 1.03.673 1.55 1.867 1.55.597 0 1.078-.26 1.442-.78.36-.52.54-1.21.54-2.07 0-.9-.17-1.59-.5-2.06-.34-.47-.82-.71-1.45-.71-1.14 0-1.77.5-1.92 1.5h.62l-1.68 1.68-1.68-1.68h.66z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},d))); | |
return c(km(z.D({description:b,icon:(0,z.M)(""+z.A(d))},a)))};nm=function(a,b){var c="",d=z.n("Some rights reserved");a=z.D({IEa:(0,z.M)(""+d)},a);var d="",e=z.n("Except where otherwise noted, this work is licensed under a {$title} license by the author.",{title:z.A(a.title)}),d=d+z.A(z.N({s:a.IEa,href:a.licenseUrl,rel:"license cc:license",hb:!0,Ph:(0,z.M)(""+e)},b));b=(0,z.y)(d);return(0,z.y)(c+b)};nga=function(){var a=z.n("Sponsored story");return(0,z.y)(""+a)}; | |
z.om=function(a,b){var c="",d="button--follow js-followButton"+(a.l?" "+z.A(a.l):""),d=(0,z.M)(d),e="button--unblock js-unblockButton"+(a.l?" "+z.A(a.l):""),e=(0,z.M)(e),g="followState js-followState"+((null==a.user.social?0:a.user.social.isBlocking)?" is-blocking":""),g=(0,z.M)(g),g='\x3cspan class\x3d"'+z.E(g)+'" data-user-id\x3d"'+z.E(a.user.userId)+'"\x3e',k=a.Db,l=a.sb,q=a.qg,r=a.ca,t=a.user.userId,w=a.source,C;C=z.n("Blocked");C=(0,z.y)(""+C);C=(0,z.M)(""+z.A(C));var J;J=z.n("Unblock");J=(0,z.y)(""+ | |
J);k={Db:k,sb:l,qg:q,ca:r,Vn:!0,action:"toggle-block-user",actionValue:t,source:w,Nb:!0,pk:!0,l:e,text:C,bBa:(0,z.M)(""+z.A(J))};l=k.text;q=k.title;r=k.bBa;w=k.l;t="";w="button--withHover"+(w?" "+z.A(w):"");w=(0,z.M)(w);t+=z.Uk(z.D({title:q,l:w,s:(0,z.M)('\x3cspan class\x3d"button-label '+(r?" button-defaultState":"")+'"\x3e'+z.A(l)+"\x3c/span\x3e"+(r?'\x3cspan class\x3d"button-label button-hoverState"\x3e'+z.A(r)+"\x3c/span\x3e":""))},k),b);k=(0,z.y)(t);g+=z.A(k);k=z.n("Follow");k=(0,z.y)(""+k); | |
k=(0,z.M)(""+z.A(k));a.xh?l=z.A(a.xh):(l=z.n("Following"),l=(0,z.y)(""+l),l=z.A(l));l=(0,z.M)(""+l);q=a.title;r=a.Db;t=a.sb;w=a.qg;e=a.vb;C=a.la;J=a.ld;var Q=a.ca,R=!a.UBa,S=a.isActive||(null==a.user.social?null:a.user.social.isFollowing),ba=a.user.userId,X=(0,z.M)(""+z.A(z.zi({name:a.source,userId:a.user.userId,susiEntry:a.susiEntry}))),Fa=a.source,Ra=a.hd,mb;mb=(0,z.ri)(a.post?z.F(z.Ci(b,"API_USER_SUBSCRIBE_FROM_POST",a.post,null,a.user)):z.F(z.Ci(b,"API_USER_SUBSCRIBE",null,null,a.user)));c+=g+ | |
z.A(z.Xk({text:k,xh:l,title:q,Db:r,sb:t,qg:w,vb:e,la:C,ld:J,ca:Q,isPrimary:R,isActive:S,Vn:!0,action:"toggle-subscribe-user",actionValue:ba,source:X,gD:Fa,hd:Ra,Nb:!0,pk:!0,Le:(0,z.L)(""+z.F(mb)),l:d},b))+(a.hGa&&b.isAuthenticated?z.oga({userId:a.user.userId,sb:a.sb},b):"")+"\x3c/span\x3e";return(0,z.y)(c)}; | |
z.oga=function(a,b){var c=z.y,d=a.userId,e=a.sb;a.sb?(a={},a=(0,z.y)(z.Pj(z.D({name:"arrowDown",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M5 8.883l6.963 7.699.57.631.572-.631L20 8.96l-1.142-1.033-6.895 7.622h1.142L6.142 7.85z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},a))),a=z.A(a)):a=z.A(z.Zj(null));return c(z.A(z.Wk({action:"open-userProfileActions",actionValue:d,ca:!0,sb:e,Ff:!0,icon:(0,z.M)(""+a),l:"u-marginLeft5 js-profileActionsButton"}, | |
b)))};z.pga=function(a,b){return(0,z.y)(z.A(z.Xk({text:(0,z.M)(""+z.A(z.Ada())),xh:(0,z.M)(""+z.A(z.Bda())),isActive:null==a.user?null:null==a.user.social?null:a.user.social.isBlocking,action:"toggle-block-user",actionValue:a.user.userId,ca:!0,la:!0,l:"js-blockMenuButton"},b)))}; | |
z.sm=function(a,b,c){b=a.post.translationSourceCreator||a.post.creator;var d=null==b?null:b.bio;a=""+('\x3cdiv class\x3d"'+z.E(z.pm({caption:"regular"}))+' postMetaLockup postMetaLockup--authorWithBio u-flexCenter js-postMetaLockup"\x3e\x3cdiv class\x3d"u-flex0"\x3e'+(d?z.A(z.Ul({user:b,collection:a.post.approvedHomeCollection,source:a.source,ry:z.Xl(b)},c)):z.A(z.Tl({user:b,collection:a.post.approvedHomeCollection,source:a.source,ry:z.Xl(b)},c)))+'\x3c/div\x3e\x3cdiv class\x3d"u-flex1 u-paddingLeft15 u-overflowHidden"\x3e\x3cdiv class\x3d"u-lineHeightTightest"\x3e'+ | |
z.qm(z.D({Wt:"ui-captionStrong u-inlineBlock link link--darken link--darker"},a),c)+(c.currentUser.userId!=b.userId&&b.social&&!b.social.isFollowing?z.A(z.om({isPrimary:!0,qg:!0,l:"u-marginLeft10 u-xs-hide",user:b,source:a.source,susiEntry:a.susiEntry,hd:a.post.id},c)):"")+"\x3c/div\x3e"+(d?'\x3cdiv class\x3d"ui-caption ui-xs-clamp2 postMetaInline"\x3e'+z.A(d)+"\x3c/div\x3e":"")+'\x3cdiv class\x3d"ui-caption postMetaInline js-testPostMetaInlineSupplemental"\x3e'+z.rm(z.D({l:"u-flex1"},a),c)+"\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e"); | |
return(0,z.y)(a)}; | |
z.rm=function(a,b){var c="";if(!a.qda)if(a.post.latestPublishedVersion){var d;a.post.isSponsored?(d=a||{},d=(0,z.y)(d.xDa?z.A(z.Xk({action:"show-sponsored-story-popover",ca:!0,text:(0,z.M)(""+z.A(nga())),l:"u-fontSize12"},b)):z.A(nga())+z.A(z.Wk({action:"show-sponsored-story-popover",ca:!0,icon:(0,z.M)(""+z.A(z.rk())),l:"u-marginLeft5"},b)))+'\x3cspan class\x3d"middotDivider u-fontSize12"\x3e\x3c/span\x3e'):d="";c+=d+(a.postUrl?'\x3ca class\x3d"link link--darken" href\x3d"'+z.E(z.F(a.postUrl))+'" data-action\x3d"open-post" data-action-value\x3d"'+ | |
z.E(a.postUrl)+'" data-action-source\x3d"preview-listing"\x3e\x3ctime datetime\x3d"'+z.E((new Date(Number(a.post.firstPublishedAt))).toISOString())+'"\x3e'+z.A(z.Nh(Number(a.post.firstPublishedAt),b))+"\x3c/time\x3e\x3c/a\x3e":'\x3ctime datetime\x3d"'+z.E((new Date(Number(a.post.firstPublishedAt))).toISOString())+'"\x3e'+z.A(z.Nh(Number(a.post.firstPublishedAt),b))+"\x3c/time\x3e")}else d=z.n("Draft"),c+=d;c+=(a.vJ?(a.qda?"":'\x3cspan class\x3d"middotDivider u-fontSize12"\x3e\x3c/span\x3e')+z.tm({readingTime:a.post.virtuals.readingTime, | |
l:(0,z.M)(""+(a.nea?"u-textColorNormal":""))}):"")+(a.post.latestPublishedVersion&&a.post.visibility==b.j.ob.ed?'\x3cspan class\x3d"middotDivider u-fontSize12"\x3e\x3c/span\x3e'+z.um({post:a.post,MR:"bottom"},b):"");return(0,z.y)(c)}; | |
z.qm=function(a,b){var c=a.Wt,d=a.vb,e=a.Ge,g=a.source,k=a.post.translationSourceCreator||a.post.creator;a=""+(a.post.displayAuthor?'\x3cspan class\x3d"'+z.E(c?c:"postMetaInline postMetaInline--author")+'"\x3e'+z.A(a.post.displayAuthor)+"\x3c/span\x3e":(null==k?0:k.userId)?z.A(z.fl({user:k,collection:a.post.approvedHomeCollection,ly:null==c,vb:d,l:null==c?"postMetaInline postMetaInline--author":c,source:g,Ge:e,style:"link.subtle"},b)):'\x3cspan class\x3d"'+z.E(c?c:"postMetaInline postMetaInline--author")+ | |
'"\x3e'+z.A(z.fl({user:k,collection:a.post.approvedHomeCollection,vb:d,source:g,Ge:e,style:"link.subtle"},b))+"\x3c/span\x3e");return(0,z.y)(a)}; | |
z.um=function(a,b){var c="",d=a.MR?a.MR:"top";if(a.post.visibility==b.j.ob.ed)b=z.n("Unlisted"),c+=qga({icon:(0,z.M)(""+z.A(z.zk({l:"u-verticalAlignMiddle u-marginTopNegative2"}))),Ph:(0,z.M)(""+z.A(z.rl())),label:(0,z.M)(""+b),direction:d});else if(a.post.visibility==b.j.ob.Re){var e;a.post.approvedHomeCollection&&!a.post.isSubscriptionLocked?(e=e={l:"u-verticalAlignMiddle u-marginTopNegative3"},e=(0,z.y)(z.Pj(z.D({name:"lockStory",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" \x3e\x3cpath d\x3d"M9.96 3h-.72C7.785 3 6.6 4.142 6.6 5.556V8.1a5.56 5.56 0 0 1 .438-.25c.026-.014.054-.025.08-.037.093-.046.186-.09.28-.13V5.555c0-.972.824-1.765 1.842-1.765h.72c1.02 0 1.84.793 1.84 1.766V7.68c.096.042.19.087.283.133.025.012.053.023.08.037.15.076.296.16.437.25V5.556C12.6 4.142 11.416 3 9.96 3"/\x3e\x3cpath d\x3d"M9.6 15.864c-2.056 0-3.717-1.657-3.717-3.697S7.543 8.47 9.6 8.47c2.055 0 3.717 1.657 3.717 3.697s-1.662 3.697-3.717 3.697m2.048-7.7a4.467 4.467 0 0 0-4.096-.001 4.5 4.5 0 1 0 4.096 0"/\x3e\x3cpath d\x3d"M9.965 12.552a1.168 1.168 0 1 0-.722-.019v1.542a.34.34 0 0 0 .344.338h.034c.19 0 .35-.15.35-.338v-1.523z"/\x3e\x3c/svg\x3e')}, | |
e))),e=z.A(e)):e=z.A(z.wk(null));e=(0,z.M)(""+e);var g=a.post.approvedHomeCollection,k=a.post.isSubscriptionLocked;a="";b=g?z.n("The story can be read by members of {$name}.",{name:z.A(g.name)}):k?z.n("This story is for {$productName} members.",{productName:z.A(b.productName)}):z.n("The story can be read by members of this publication.");a+=b;b=(0,z.y)(a);c+=qga({icon:e,Ph:(0,z.M)(""+z.A(b)),direction:d})}return(0,z.y)(c)}; | |
qga=function(a){return(0,z.y)('\x3cspan class\x3d"ui-caption postMetaInline u-marginRight3 js-postMetaVisibility"\x3e\x3cspan data-tooltip\x3d"'+z.E(a.Ph)+'" data-tooltip-position\x3d"'+z.E(a.direction)+'"\x3e'+z.A(a.icon)+(a.label?" "+z.A(a.label):"")+"\x3c/span\x3e\x3c/span\x3e")}; | |
z.tm=function(a){var b=a.l;(a=Math.ceil(a.readingTime))?(b='\x3cspan class\x3d"readingTime'+(b?" "+z.E(b):"")+'" title\x3d"',a=z.n("{$readingTime} min read",{readingTime:z.A(a)}),a=(0,z.y)(""+a),b=b+z.E(a)+'"\x3e\x3c/span\x3e'):b="";return(0,z.y)(""+b)};vm=function(){var a=z.n("Couldn’t create an account");return(0,z.y)(""+a)}; | |
rga=function(a,b,c){a=z.n("Too many accounts created from this IP address. Please contact {$supportEmail} for assistance.",{supportEmail:z.A(c.supportEmail)});return(0,z.y)(""+a)};sga=function(){var a=z.n("Registration forbidden.");return(0,z.y)(""+a)};tga=function(){var a=z.n("You’ve already created an account with this service.");return(0,z.y)(""+a)}; | |
z.ym=function(a,b){a=a||{};var c=a.Mg,d=a.Uza,e=a.itemType,g=a.l,k='\x3cul class\x3d"list'+(a.kC?" list--bordered":"")+(a.Gp?" list--borderless":"")+(a.Sda?" list--choice":"")+(a.kCa?" list--short":"")+(a.NCa?" list--withCompactListItems":"")+(a.d1?" u-marginBottom0":"")+(g?" "+z.E(g):"")+'"\x3e';if(c)k+=z.A(c);else if(a.items){c=a.items.length;for(g=0;g<c;g++){var l;if(a.items[g]){var q=z.D({itemType:e,item:a.items[g],index:g,total:a.items.length},a);l=b;var r=void 0,q=q||{},t="";switch(z.sa(r=q.itemType)? | |
r.toString():r){case "collection":var r=t,t=q.Eea,w=z.y,C=q.item.slug;l=(0,z.y)(z.zl(z.D({LJ:!0},{collection:q.item,rf:t}),l));l=w(z.wm(z.D({action:t,actionValue:C,qf:(0,z.M)(""+z.A(l))},q)));t=r+l;break;case "postSelection":r=t;l=(0,z.y)(z.wm(z.D({xQ:!0,qf:(0,z.M)(""+z.A(z.Uk({s:q.item.title,ca:!0,action:"select-post",actionValue:q.item.id,zya:q.item.title},l)))},q)));t=r+l;break;case "oauthCanAccessPermission":r=t;w=l;l=z.y;C=void 0;t="";switch(z.sa(C=q.item)?C.toString():C){case w.j.CK.yha:w=z.n("See your basic profile information"); | |
t+=w;break;case w.j.CK.jka:w=z.n("Publish a story to your profile");t+=w;break;case w.j.CK.dja:w=z.n("See your list of publications (ones you contribute to or follow)");t+=w;break;case w.j.CK.Q4:w=z.n("See your basic profile information and publish a story to your profile"),t+=w}t=(0,z.y)(t);l=l(z.wm(z.D({qf:(0,z.M)(""+z.A(t)),l:"u-fontSize14"},q)));t=r+l;break;case "oauthCantAccessPermission":l=t;r=q;r=(0,z.y)(z.wm(z.D({qf:(0,z.M)(""+z.A(r.item)),l:"u-fontSize14"},r)));t=l+r;break;case "oauthApplication":r= | |
t;t=z.y;w=(0,z.y)(z.A(z.Ci(l,"OAUTH_APPLICATION_SETTINGS",null,null,null,q.item.oauthApplicationId)));l=t(z.wm(z.D({xQ:!0,qf:(0,z.M)(""+z.uga({oQ:!0,Qga:(0,z.M)(""+z.A(z.N({href:(0,z.L)(""+z.F(w)),s:q.item.name,$b:!0},l))),descriptionHtml:(0,z.M)("Client ID: "+z.A(q.item.oauthApplicationId)+'\x3cspan class\x3d"middotDivider"\x3e\x3c/span\x3e'+z.A(q.item.description))}))},q)));t=r+l;break;case "quote":var r=t,t=q.zR,w="",C='\x3cdiv class\x3d"quoteItem u-clearfix js-quoteItem cardChromeless"\x3e\x3cdiv class\x3d"quoteItem-attribution"\x3e'+ | |
z.n("From {$startSpan}{$xxx_1}{$endSpan} by {$xxx_2}",{startSpan:'\x3cspan class\x3d"quoteItem-attributionTitle"\x3e',xxx_1:z.A(z.il({post:q.item.post,isPrimary:!0},l)),endSpan:"\x3c/span\x3e",xxx_2:z.A(z.fl({user:q.item.post.creator},l))})+"\x3c/div\x3e",J=""+z.F(z.Bi({post:q.item.post,quote:q.item},0,l)),J=(0,z.L)(J),C=C+(z.A(z.cl({href:J,s:(0,z.M)(""+z.A(z.xm(l,q.item))),l:"quoteItem-content"},l))+(t&&l.currentUser.userId==q.item.userId?'\x3cdiv class\x3d"quoteItem-actions u-floatRight"\x3e'+z.A(z.Wk({action:"quote-actions", | |
CZ:q.item.postId,DZ:q.item.quoteId,ca:!0,icon:(0,z.M)(""+z.A(z.Zj(null)))},l))+"\x3c/div\x3e":"")+"\x3c/div\x3e"),w=w+z.wm(z.D({qf:(0,z.M)(C)},q));l=(0,z.y)(w);t=r+l;break;case "userSearchResult":r=t;l=(0,z.y)(z.wm(z.D({qf:(0,z.M)(""+z.A(z.Sl(z.D({user:q.item,Bd:"search-open-item",actionValue:"user",ib:q.index+1+"-"+q.total,hf:!0},q),l)))},q)));t=r+l;break;case "tagSearchResult":r=t;w=q.index;C=q.total;t="";J='\x3cdiv class\x3d"list-itemIcon"\x3e'+z.A(z.Yda(null))+'\x3c/div\x3e\x3cspan class\x3d"list-itemName"\x3e'+ | |
z.A(q.item.displayText)+"\x3c/span\x3e";J=(0,z.M)(J);w=z.D({Oga:q.item,l:"list--tags",s:J,Bd:"search-open-item",actionValue:"tag",ib:w+1+"-"+C,hf:!0},q);C="";J=""+z.F(z.Hi({slug:w.Oga.tagSlug,source:w.source},l));J=(0,z.L)(J);C+=z.N(z.D({href:J,title:(0,z.M)("Go to "+z.A(w.Oga.displayText))},w),l);l=(0,z.y)(C);t+=z.A(l);l=""+z.wm(z.D({qf:(0,z.M)(t)},q));l=(0,z.y)(l);t=r+l;break;case "postSearchResult":r=t;t=z.y;w=(0,z.ri)(z.F(z.Ci(l,"POST",null,null,null,q.item.postId)));l=t(z.wm(z.D({qf:(0,z.M)(""+ | |
z.A(z.N(z.D({href:(0,z.L)(""+z.F(w)),s:(0,z.M)('\x3cspan class\x3d"list-itemName"\x3e'+z.A(z.Fh(q.item.title,85))+'\x3c/span\x3e\x3cspan class\x3d"list-itemDate"\x3e'+z.A(z.Ph(Number(q.item.latestPublishedAt),l))+"\x3c/span\x3e"),Bd:"search-open-item",actionValue:"post",hf:!0,qc:!0,$b:!0},q),l)))},q)));t=r+l;break;case "collectionSearchResult":r=t;l=(0,z.y)(z.wm(z.D({qf:(0,z.M)(""+z.A(Lfa(z.D({collection:q.item,Bd:"search-open-item",actionValue:"collection",ib:q.index+1+"-"+q.total,hf:!0},q),l)))}, | |
q)));t=r+l;break;case "reportPostReasonRadio":l=t,r=q,r=(0,z.y)(z.wm(z.D({sC:!0,action:r.Eea,qf:(0,z.M)('\x3clabel class\x3d"label label--block label--radio"\x3e\x3cinput class\x3d"radio u-hide js-reportStoryReasonRadio" type\x3d"radio" name\x3d"reason" value\x3d"'+z.E(r.item.name)+'" /\x3e\x3cspan class\x3d"radioInput"\x3e\x3c/span\x3e'+z.A(r.item.text)+"\x3c/label\x3e"),isActive:!0,l:"u-fontSize14"},r))),t=l+r}l=(0,z.y)(t)}else l="";k+=l}k+=0==a.items.length&&d?'\x3cli class\x3d"list-item list-item--status u-textColorNormal"\x3e'+ | |
z.A(d)+"\x3c/li\x3e":""}return(0,z.y)(k+"\x3c/ul\x3e")};z.wm=function(a){var b=a.qf,c=a.action,d=a.actionValue,e=a.l;return(0,z.y)('\x3cli class\x3d"list-item'+(a.isActive?" is-active":"")+(a.xQ?" list-item--padded":"")+(a.WVa?" u-alignMiddle":"")+(a.sC?" u-textAlignLeft":"")+(e?" "+z.E(e):"")+'"'+(c?' data-action\x3d"'+z.E(c)+'"':"")+(d?' data-action-value\x3d"'+z.E(d)+'"':"")+"\x3e"+z.A(b)+"\x3c/li\x3e")}; | |
z.uga=function(a){var b=a.descriptionHtml;return(0,z.y)('\x3cdiv class\x3d"list-itemInfo'+(a.oQ?" list-itemInfo--fullWidth":"")+'"\x3e\x3ch4 class\x3d"list-itemTitle"\x3e'+z.A(a.Qga)+'\x3c/h4\x3e\x3cp class\x3d"list-itemDescription"\x3e'+z.A(b)+"\x3c/p\x3e\x3c/div\x3e")};z.vga=function(a,b){a=a||{};return(0,z.y)(z.ym(z.D({d1:!0},a),b))};wga=function(a,b){a=a||{};return(0,z.y)(z.ym(z.D({Gp:!0,Sda:!0,d1:!0},a),b))};z.xga=function(a,b){a=a||{};return(0,z.y)(z.ym(z.D({NCa:!0},a),b))}; | |
z.zm=function(a,b){var c=a.source,d=a.hd,e=a.Vya,g=a.Wya;return(0,z.y)(z.wm(z.D({qf:(0,z.M)('\x3cdiv class\x3d"u-flex0 '+(g?"u-marginRight30":"u-marginRight10")+'"\x3e'+(e||g?'\x3cdiv class\x3d"u-relative"\x3e'+z.A(z.Dl(a,b))+(e?'\x3cdiv class\x3d"avatar-svgIcon"\x3e'+z.A(e)+"\x3c/div\x3e":g?'\x3cdiv class\x3d"u-backgroundGreenNormal u-textColorWhite u-absolute u-rightNegative20 u-bottomNegative3 u-width25 u-height10 u-padding3 u-lineHeight9 u-fontSize11 u-disablePointerEvents u-round u-textAlignCenter u-fontWeightBold"\x3e'+ | |
z.A(g)+"\x3c/div\x3e":"")+"\x3c/div\x3e":z.A(z.Tl(a,b)))+'\x3c/div\x3e\x3cdiv class\x3d"u-flex1 u-fontSize16 u-fontWeightBold u-textColorDarker"\x3e'+z.A(z.fl({user:a.user,jBa:!0,Zya:"u-fontSize14 u-fontWeightNormal u-textColorDark u-xs-hide",WBa:!0},b))+"\x3c/div\x3e"+(b.isAuthenticated&&b.currentUser.userId==a.user.userId?"":'\x3cdiv class\x3d"u-flex0 u-marginLeft10"\x3e'+z.A(z.om(z.D({user:a.user,Db:!0,GVa:!0,source:c,susiEntry:b.j.qa.AD,isPrimary:!0,hd:d},a),b))+"\x3c/div\x3e")),l:"u-flex u-textAlignLeft u-paddingTop10 u-paddingBottom15"}, | |
a)))};yga=function(a,b){var c=a.text;return(0,z.y)(z.wm({action:a.action,actionValue:null==a.collection?null:a.collection.id,qf:(0,z.M)('\x3cinput class\x3d"radio u-hide js-collectionSelectionRadio js-radio" type\x3d"radio" name\x3d"collection"\x3e\x3cspan class\x3d"radioInput"\x3e\x3c/span\x3e\x3cdiv class\x3d"radioDescription u-width190"\x3e'+(a.collection?z.A(Lfa({collection:a.collection,Bda:!0,rf:!0},b)):c?'\x3cspan class\x3d"u-lineHeight32"\x3e'+z.A(c)+"\x3c/span\x3e":"")+"\x3c/div\x3e"),l:"u-fontSize14"}))}; | |
Aga=function(a,b,c){b=a.qB;var d="",e=z.n("Show more claps"),d=d+(z.A(z.vga({Mg:(0,z.M)(""+zga(a,0,c)),l:"js-recommendList"},c))+z.A(z.Uk({Db:!0,l:"js-showMoreRecommends",action:"show-more-recommends",actionValue:b||"",s:(0,z.M)(""+e)},c)));return(0,z.y)(d)}; | |
zga=function(a,b,c){b=a.usersWithClapCounts;var d=a.postId;a=!!a.fy;for(var e="",g=b.length,k=0;k<g;k++){var l=b[k];if(a&&l.clapCount)l=z.A(z.zm({user:l.user,Wya:z.ph("+"+l.clapCount),source:"RECOMMEND_LIST",hd:d},c));else{var l=l.user,q;q=(q=null,{});q=(0,z.y)(z.Pj(z.D({name:"clapFilled",size:"15px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"15" height\x3d"15" \x3e\x3cg fill-rule\x3d"evenodd"\x3e\x3cpath d\x3d"M7.944.996h-.89L7.5 2.914z"/\x3e\x3cpath d\x3d"M10.09 1.33l-.836-.304-.238 1.955z"/\x3e\x3cpath d\x3d"M5.729 1.038l-.835.305 1.074 1.65z"/\x3e\x3cpath d\x3d"M5.632 11.572a3043.52 3043.52 0 0 0-1.607-1.608c-1.688-1.688-2.76-2.463-2.262-2.96.248-.25.618-.305.924 0 .458.459 1.545 1.642 1.545 1.642a.689.689 0 0 0 .335.205c.169.043.365-.064.51-.205.132-.129.058-.47-.07-.601-.006-.006-1.779-1.765-2.065-2.053-.288-.287-.39-.782-.083-1.088.294-.293.639-.147.898.113.303.302 2.107 2.158 2.107 2.158a.326.326 0 0 0 .238.101.422.422 0 0 0 .256-.122c.132-.128.198-.362.07-.493 0 0-1.043-1.093-1.42-1.471-.558-.558-.606-.953-.358-1.201.346-.347.82-.234 1.449.486l2.8 2.942-.586-1.453s-.368-.976 0-1.172c.367-.197.74.326 1.005.72l1.365 2.619c.786 1.284.535 2.96-.572 4.051-1.22 1.222-3.183.685-4.48-.61z"/\x3e\x3cpath d\x3d"M11.374 4.727c-.265-.394-.7-.402-.98-.183-.189.145-.163.473-.151.7l1.179 2.066c.91 1.487 1.225 2.707.186 4.102.314-.143.408-.274.583-.492.645-.801 1.05-2.473.385-3.878a3.347 3.347 0 0 0-.027-.056l-1.175-2.26z"/\x3e\x3c/g\x3e\x3c/svg\x3e')}, | |
q)));l=z.A(z.zm({user:l,Vya:(0,z.M)(""+z.A(q)),source:"RECOMMEND_LIST",hd:d},c))}e+=l}return(0,z.y)(e)};Bga=function(a,b){var c=a.post.virtuals.socialRecommends||[],d=null==a.post.virtuals.userPostRelation?null:a.post.virtuals.userPostRelation.votedAt;a=""+(a.Rfa||c.length||d?a.Rfa?z.Am(z.D({recommenders:[{user:a.Rfa}],count:a.post.virtuals.recommends,limit:1,post:a.post},a),b):z.Am(z.D({recommenders:c,count:a.post.virtuals.recommends,limit:2,votedAt:d,post:a.post},a),b):"");return(0,z.y)(a)}; | |
z.Am=function(a,b){var c=z.y,d='\x3cdiv class\x3d"postMetaInline'+(a.mWa?" u-baseColor--textDark":"")+(a.l?" "+z.E(a.l):"")+'"\x3e'+(a.Dea?z.A(z.ok({tQ:a.tQ,l:"u-verticalAlignMiddle u-marginRight5 u-marginTopNegative2"})):"");a=z.D({TBa:a.Dea},a);var e="",g=0<a.votedAt?1:0,k=(null==a.recommenders?null:a.recommenders.length)||0;if(k||g){var l=Math.min(k+g,a.limit),k=a.count-l;if(!a.TBa)var q=a.Kp?z.n("applause from"):z.n("Applause from"),e=e+q,e=e+" ";for(q=0;q<l;q++){if(1<l&&q==l-1&&0>=k)var r=z.n("and"), | |
e=e+("\x26nbsp;"+r+"\x26nbsp;");0==q&&0<g?(r=z.n("you"),e+=r):e+=z.A(z.fl({user:a.recommenders[q-g].user,$b:!0},b));e+=q!=l-1&&(2<l||0<k)?", ":""}0<k&&(g=z.n("and"),e+=(1<l?",":"")+' \x3cspan class\x3d"u-noWrap"\x3e',l="",k=1==k?z.n("1 other"):z.n("{$othersCount} others",{othersCount:z.A(z.Kh(Number(k)))}),l+=k,l=(0,z.M)(l),e+=g+" "+(a.wQ?z.A(l):z.A(z.Uk({ca:!0,action:"show-recommends",actionValue:a.post.id,s:l},b)))+"\x3c/span\x3e")}b=(0,z.y)(e);return c(d+z.A(b)+"\x3c/div\x3e")}; | |
z.Bm=function(a){var b=a.name,c=a.type,d=a.value,e=a.title,g=a.rWa,k=a.uCa,l=a.BQ,q=a.xd,r=a.placeholder,t=a.isDisabled,w=a.maxLength,C=a.yk,J=a.l;a=a.jQ;return(0,z.y)('\x3cdiv class\x3d"inputGroup'+(J?" "+z.E(J):"")+'"\x3e'+(e?'\x3clabel for\x3d"'+z.E(b)+'" class\x3d"inputGroup-title'+(C?" "+z.E(C):"")+'"\x3e'+z.A(e)+"\x3c/label\x3e":"")+'\x3cinput type\x3d"'+z.E(c)+'" name\x3d"'+z.E(b)+'" value\x3d"'+z.E(d)+'" class\x3d"textInput'+(g?" textInput--large":"")+(k?" textInput--narrow":"")+(l?" textInput--underlined": | |
"")+(t?" textInput--chromeless":"")+(a?" "+z.E(a):"")+'"'+(e?'id\x3d"'+z.E(b)+'"':"")+(r?'placeholder\x3d"'+z.E(r)+'"':"")+(w?'maxLength\x3d"'+z.E(w)+'"':"")+(t?" disabled":"")+"\x3e"+(q?z.A(q):"")+"\x3c/div\x3e")};Dga=function(a,b,c){a=a||{};b=a.theme;return(0,z.y)('\x3cdiv class\x3d"overlay'+(b?" overlay--"+z.E(b):"")+'"\x3e'+Cga(a,0,c)+"\x3c/div\x3e")}; | |
Cga=function(a,b,c){a=a||{};var d=a.VO,e=a.bodyHtml,g=a.title,k=a.subtitle,l=a.type,q=a.update;b=a.kAa;var r=a.ACa,t=a.zWa,d=(a.dC?"":z.A(Yk({action:"overlay-close"},c)))+'\x3cdiv class\x3d"overlay-dialog'+(q?" overlay-dialog--update":"")+(l?" overlay-dialog--"+z.E(l):"")+(r?"":" overlay-dialog--animate")+(t?" u-textAlignLeft":"")+' js-overlayDialog" tabindex\x3d"-1"\x3e'+(d?z.A(d):"")+(g?'\x3ch3 class\x3d"overlay-title"\x3e'+z.A(g)+"\x3c/h3\x3e":"")+(k?'\x3ch4 class\x3d"overlay-subtitle"\x3e'+z.A(k)+ | |
"\x3c/h4\x3e":"")+(e?'\x3cdiv class\x3d"overlay-content"\x3e'+z.A(e)+"\x3c/div\x3e":"");a=""+(l?z.nh("q",l,!0)(a,null,c):"");a=(0,z.M)(a);d+=(a?'\x3cdiv class\x3d"overlay-actions buttonSet"\x3e'+z.A(a)+"\x3c/div\x3e":"")+(b?'\x3cdiv class\x3d"overlay-footer"\x3e'+z.A(b)+"\x3c/div\x3e":"")+"\x3c/div\x3e";return(0,z.y)(d)}; | |
Ega=function(a,b,c){var d,e=a.source,g=a.name;b=a.username;var k=a.accountName,l=a.email,q=a.accessToken,r=a.accessTokenSecret,t=a.qP,w=a.defaultEmail;a=a.userId;var C;C=z.n("Finish creating your {$productName} account",{productName:z.A(c.productName)});C=(0,z.y)(""+C);C='\x3cdiv class\x3d"overlayRegistration js-overlayRegistration"\x3e\x3cp class\x3d"u-marginBottom10"\x3e'+z.A(C)+'\x3c/p\x3e\x3cp class\x3d"u-marginBottom20 u-fontSize14"\x3e\x3ca href\x3d"'+z.E(z.F(z.Gi(null,c)))+'" data-action\x3d"sign-up-prompt" data-skip-conversion\x3d"true" class\x3d"link link--accent"\x3e'; | |
var J;J=z.n("I already have an account");J=(0,z.y)(""+J);k=C+z.A(J)+'\x3c/a\x3e\x3c/p\x3e\x3cform\x3e\x3cinput type\x3d"hidden" name\x3d"source" value\x3d"'+z.E(e)+'"\x3e'+(q?'\x3cinput type\x3d"hidden" name\x3d"accessToken" value\x3d"'+z.E(q)+'"\x3e':"")+(r?'\x3cinput type\x3d"hidden" name\x3d"accessTokenSecret" value\x3d"'+z.E(r)+'"\x3e':"")+(k?'\x3cinput type\x3d"hidden" name\x3d"accountName" value\x3d"'+z.E(k)+'"\x3e':"");a||"medium"==e?(e=z.n("[email protected]"),k+=(a?'\x3cinput type\x3d"hidden" name\x3d"userId" value\x3d"'+ | |
z.E(a)+'"\x3e':"")+'\x3cdiv class\x3d"inputGroup inputGroup--text js-inputGroupEmail"\x3e'+Cm({Md:"js-inputGroupEmail",title:(0,z.M)(""+z.A(Kj())),disabled:!0,kQ:"email",uf:"email",placeholder:(0,z.M)(""+e),value:null==(d=l)?null==(d=w)?"":d:d})+"\x3c/div\x3e"):(e=z.n("[email protected]"),k+=Cm({Md:"js-inputGroupEmail",title:(0,z.M)(""+z.A(Kj())),kQ:"email",uf:"email",placeholder:(0,z.M)(""+e),value:null==(d=w)?null==(d=l)?"":d:d}));t&&!a?k+='\x3cdiv class\x3d"overlayRegistration-shadowMessage"\x3e\x3cdiv class\x3d"shadowMessage-title"\x3e'+ | |
z.A(ul(null,c))+'\x3c/div\x3e\x3cdiv class\x3d"shadowMessage-description"\x3e'+z.A(vl())+"\x3c/div\x3e\x3c/div\x3e":(l=z.n("username"),t=z.n("Full name"),d=k,g=Cm({Md:"js-inputGroupName",title:(0,z.M)(""+z.A(hda())),kQ:"text",uf:"name",maxLength:c.j.iDa,placeholder:(0,z.M)(""+t),value:g}),t=z.n("Username"),t=(0,z.y)(""+t),b=g+Cm({Md:"js-inputGroupUsername",title:(0,z.M)(""+z.A(t)),kQ:"text",uf:"username",placeholder:(0,z.M)(""+l),value:b})+'\x3cp class\x3d"overlayRegistration-terms"\x3e',c=z.n("By creating an account, I accept {$productName}’s {$xxx_1}terms of service{$xxx_2} and {$xxx_3}privacy policy{$xxx_4}", | |
{productName:z.A(c.productName),xxx_1:z.A(z.bl({hb:!0,href:c.termsUrl,jk:!0},c)),xxx_2:z.A(z.bl({gk:!0},c)),xxx_3:z.A(z.bl({hb:!0,href:c.j.IC,jk:!0},c)),xxx_4:z.A(z.bl({gk:!0},c))}),c=(0,z.y)(""+c),k=d+(b+z.A(c)+"\x3c/p\x3e"));return(0,z.y)(k+"\x3c/form\x3e\x3c/div\x3e")}; | |
Cm=function(a){var b=a.title,c=a.kQ,d=a.uf,e=a.placeholder,g=a.value,k=a.disabled,l=a.maxLength;return(0,z.y)('\x3cdiv class\x3d"inputGroup inputGroup--text '+z.E(a.Md)+'"\x3e\x3cspan class\x3d"inputGroup-title"\x3e'+z.A(b)+'\x3c/span\x3e\x3cinput type\x3d"'+z.E(c)+'" name\x3d"'+z.E(d)+'" class\x3d"textInput'+(k?" textInput--chromeless":"")+" js-"+z.E(d)+'Input" placeholder\x3d"'+z.E(e)+'" value\x3d"'+z.E(g)+'"'+(k?"disabled":"")+(l?'maxlength\x3d"'+z.E(l)+'"':"")+"\x3e\x3c/div\x3e")}; | |
Fga=function(){var a=z.y,b;b=z.n("Signing in…");b=(0,z.y)(""+b);return a('\x3cdiv class\x3d"overlay-signin overlay-signin--waiting"\x3e'+z.A(b)+"\x3c/div\x3e")};Gga=function(){var a=z.y,b;b=z.n("You should have been redirected to a new page. If nothing happens, reload this page and try to sign in again.");b=(0,z.y)(""+b);return a('\x3cdiv class\x3d"overlay-signin overlay-signin--waiting"\x3e'+z.A(b)+"\x3c/div\x3e")}; | |
z.Hga=function(a,b,c){var d=a.mode;b=z.y;var e;if(c.isAuthenticated){e=(0<a.post.vote?'\x3cli class\x3d"list-item"\x3e'+z.A(z.bga({post:a.post,la:!0},c))+"\x3c/li\x3e":"")+'\x3cli class\x3d"list-item u-hide u-xs-hide"\x3e'+z.A(z.Tfa(a,c))+"\x3c/li\x3e";if("canEdit"==d)var d="",g=a.post.allowResponses?z.n("Hide responses"):z.n("Show responses"),d=d+g,d=""+z.A(z.Vk({la:!0,text:(0,z.M)(d),action:a.post.allowResponses?"hide-responses":"show-responses"},0,c)),d='\x3cli class\x3d"list-item"\x3e'+(0,z.y)(d)+ | |
'\x3c/li\x3e\x3cli class\x3d"list-item list-item--separator"\x3e\x3c/li\x3e';else d="";e=e+d+'\x3cli class\x3d"list-item"\x3e'+z.A(z.dga({post:a.post,la:!0},c))+"\x3c/li\x3e"}else e="";return b('\x3cul class\x3d"list list--borderless list--short"\x3e'+e+(c.isAuthenticated&&(null==a.post.creator?null:a.post.creator.userId)!=c.currentUser.userId?'\x3cli class\x3d"list-item"\x3e'+z.A(z.pga({user:a.post.creator},c))+"\x3c/li\x3e":"")+"\x3c/ul\x3e")}; | |
Iga=function(a,b,c){var d=!!a.isPublished,e=a.hightowerMinimumGuaranteeEndsAt,g=a.Kr,k=a.EBa;b="";var l="u-clearfix u-paddingTop10 u-paddingLeft20 u-paddingRight20 js-popoverAddSubmitPanel"+(a.collections.length&&!k?" u-paddingBottom20 u-borderBottomLight":" u-paddingBottom10"),l=(0,z.M)(l);if(k)b+='\x3cdiv class\x3d"'+z.E(l)+' u-fontSize14"\x3e',g&&e?b+='\x3cspan class\x3d"u-fontSize13 u-textColorDark"\x3e'+z.A(z.tl({hightowerMinimumGuaranteeEndsAt:e,l:"u-marginBottom0"},c))+"\x3c/span\x3e":(c=z.n("Thanks again for agreeing to feature your story on the Medium homepage. Since it is featured, the story must live outside of a publication. (We are unable to directly pay the authors of stories in publications.) Email us at {$xxx} with any questions.", | |
{xxx:z.A(z.N({href:(0,z.L)("mailto:"+z.Bh(c.j.kq)),s:(0,z.M)(""+z.A(c.j.kq))},c))}),b+=c),b+="\x3c/div\x3e";else if(b+='\x3cdiv class\x3d"js-popoverAddSubmitPanel"\x3e',a.collections.length){l=z.n("No publication");e="";d=d?z.n("Add your story to a publication:"):z.n("Add your draft to a publication:");e+=d;d=(0,z.M)(e);e="";g=(0,z.M)("u-marginBottom10 u-marginLeft18 u-marginRight18 u-fontSize14 u-marginTop20");e+='\x3cdiv class\x3d"'+z.E(g)+'"\x3e'+z.A(d)+"\x3c/div\x3e";d=(0,z.y)(e);b+=d;l='\x3cdiv class\x3d"u-overflowScrollY u-maxHeight250 u-paddingRight20"\x3e'+ | |
z.A(yga({action:"select-collection",text:(0,z.M)(""+l)},c));a=a.collections;d=a.length;for(e=0;e<d;e++)l+=z.A(yga({action:"select-collection",collection:a[e]},c));b+=z.A(wga({l:"u-marginRight0 u-marginLeft20",Mg:(0,z.M)(l+"\x3c/div\x3e")},c));b+='\x3cdiv class\x3d"js-sendToCollectionActions"\x3e\x3c/div\x3e\x3c/div\x3e'}else c=z.n("No publications available."),b+='\x3cdiv class\x3d"'+z.E(l)+' u-fontSize13 u-textColorDark"\x3e'+c+"\x3c/div\x3e";return(0,z.y)(b)}; | |
Jga=function(a,b,c){var d=!!a.isEditor,e=!!a.XBa,g=!!a.isPublished;b="";if(null!=a.collection){var k=z.n("Cancel"),l='\x3cdiv class\x3d"buttonSet u-marginLeft18 u-marginTop20 u-marginBottom0"\x3e'+(d&&g?z.A(z.Uk({action:"add-to-collection",actionValue:a.collection.id,s:(0,z.M)(""+z.A(Uea(a))),isPrimary:!0,l:"js-sendToCollectionButton"},c)):"")+(d&&!g?z.A(z.Uk({action:"add-draft-to-collection",actionValue:a.collection.id,s:(0,z.M)(""+z.A(Uea(a))),isPrimary:!0,l:"js-sendToCollectionButton"},c)):""), | |
q;if(d)q="";else{q=a.collection.id;var r;r="";var t=a.isPublished?z.n("Submit story"):z.n("Submit draft");r+=t;r=(0,z.y)(r);q=z.A(z.Uk({action:"submit-to-collection",actionValue:q,s:(0,z.M)(""+z.A(r)),isPrimary:!0,l:"js-sendToCollectionButton"},c))}c=l+q+z.A(z.Uk({action:"dismiss-popover",s:(0,z.M)(""+k)},c))+'\x3c/div\x3e\x3cdiv class\x3d"popover-description u-marginTop10 u-marginRight10 u-marginBottom10 u-marginLeft20"\x3e';k=a.collection.name;l=null==a.collection.virtuals?null:a.collection.virtuals.isEligibleForHightower; | |
a="";d?g||(d=z.n("Your draft will be added to {$collectionName} when you publish it.",{collectionName:z.A(k)}),a+=d,l&&(d=z.n("Publication editors will be able to make your post member-only."),a+=" "+d,e||(e=z.n("Any potential payment from your story will go to the publication owner."),a+=" "+e))):l?(d=g?z.n("{$collectionName} editors will be notified. They will have the power to edit, publish, and make your story member-only.",{collectionName:z.A(k)}):z.n("{$collectionName} editors will be notified. They will have the power to edit, publish, and make your draft member-only.", | |
{collectionName:z.A(k)}),a+=d,e||(e=z.n("Any potential payment from your story will go to the publication owner."),a+=" "+e)):(e=g?z.n("{$collectionName} editors will be notified and will be able to edit and publish your story.",{collectionName:z.A(k)}):z.n("{$collectionName} editors will be notified and will be able to edit and publish your draft.",{collectionName:z.A(k)}),a+=e);e=(0,z.y)(a);b+=c+z.A(e)+"\x3c/div\x3e"}return(0,z.y)(b)}; | |
Lga=function(a,b,c){b='\x3cdiv class\x3d"popover-description u-marginTop10 u-marginRight10 u-marginLeft20 u-clearfix js-popoverPostCollectionStatus"\x3e\x3cdiv class\x3d"u-borderBottomLighter u-marginRight10 u-paddingBottom20 u-clearfix"\x3e\x3cdiv class\x3d"u-floatLeft u-width18 u-marginRight10"\x3e'+z.A(z.Bl({collection:a.post.homeCollection},c))+'\x3c/div\x3e\x3cdiv class\x3d"u-floatLeft u-width190"\x3e'+Kga({post:a.post,collection:a.post.homeCollection},c)+"\x3c/div\x3e\x3c/div\x3e";var d;a.post.homeCollection.virtuals.isEligibleForHightower? | |
(d=z.n("The publication editors will be able to lock your post for members. If they do so, any payments from your story will go to the publication owner."),d=(0,z.y)(""+d),d='\x3cdiv class\x3d"u-marginTop10 u-marginRight10 u-marginBottom15 u-paddingTop5 u-normalWrap u-fontSize13 u-textColorDark"\x3e\x3cp class\x3d"u-paddingLeft0 u-marginRight10 u-marginBottom10"\x3e'+z.A(d)+"\x3c/p\x3e\x3c/div\x3e"):d="";b=b+d+"\x3c/div\x3e";var e=a.post.homeCollection.name,g=a.post.homeCollection.virtuals.permissions.canManageAll; | |
d="";a="PENDING"!=a.post.virtuals.statusForCollection||g?25<e.length?z.n("Remove from publication"):z.n("Remove from {$collectionName}",{collectionName:z.A(e)}):z.n("Cancel submission");d+=a;a=(0,z.y)(d);a=""+z.A(a);a=(0,z.M)(a);b+=z.A(z.Uk({action:"remove-from-collection",s:a,Db:!0,l:"u-marginLeft18 u-marginBottom10"},c));return(0,z.y)(b)}; | |
Mga=function(a,b,c){b=z.y;var d='\x3cdiv class\x3d"popover-description u-marginTop10 u-marginRight10 u-marginBottom10 u-marginLeft20 u-clearfix js-popoverAcceptRejectActions"\x3e\x3cdiv class\x3d"u-floatLeft u-width18 u-marginRight10"\x3e'+z.A(z.Bl({collection:a.post.homeCollection},c))+'\x3c/div\x3e\x3cdiv class\x3d"u-floatLeft u-width190"\x3e'+Kga({post:a.post,collection:a.post.homeCollection},c)+'\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"buttonSet u-marginLeft18 u-marginTop0"\x3e',e;e="";var g= | |
z.n("Add the story to the publication"),k=z.n("Accept");e+=z.A(z.Uk({s:(0,z.M)(""+k),action:"add-to-collection",actionValue:a.post.homeCollection.id,isPrimary:!0,title:(0,z.M)(""+g)},c));e=(0,z.y)(e);d+=z.A(e);e="";g=z.n("Do not publish the story and remove it from the list of submissions");k=z.n("Don’t accept");e+=z.A(z.Uk({s:(0,z.M)(""+k),action:"remove-from-collection",actionValue:a.post.homeCollection.slug,title:(0,z.M)(""+g)},c));a=(0,z.y)(e);return b(d+z.A(a)+"\x3c/div\x3e")}; | |
Kga=function(a,b){var c="",d=b.currentUser.userId==a.post.creator.userId,e=null==a.post.homeCollection?null:a.post.homeCollection.virtuals.permissions.canManageAll;a="PENDING"==a.post.virtuals.statusForCollection?a.post.latestPublishedVersion?d?z.n("Your story is being reviewed by {$xxx} editors.",{xxx:z.A(z.jl(a,b))}):z.n("The story is being reviewed by {$xxx} editors.",{xxx:z.A(z.jl(a,b))}):e?d?z.n("Your draft will be published in {$xxx}",{xxx:z.A(z.jl(z.D({mx:!0},a),b))}):z.n("The draft is submitted to {$xxx}", | |
{xxx:z.A(z.jl(z.D({mx:!0},a),b))}):d?z.n("Your draft is being reviewed by {$xxx} editors.",{xxx:z.A(z.jl(a,b))}):z.n("The draft is being reviewed by {$xxx} editors.",{xxx:z.A(z.jl(a,b))}):a.post.latestPublishedVersion?d?z.n("Your story is published in {$xxx}",{xxx:z.A(z.jl(z.D({mx:!0},a),b))}):z.n("The story is published in {$xxx}",{xxx:z.A(z.jl(z.D({mx:!0},a),b))}):d?z.n("Your draft will be published in {$xxx}",{xxx:z.A(z.jl(z.D({mx:!0},a),b))}):z.n("The draft will be published in {$xxx}",{xxx:z.A(z.jl(z.D({mx:!0}, | |
a),b))});c+=a;return(0,z.y)(c)};Zca=function(a,b){return(0,z.y)(z.A(z.Bj({image:a.icon,strategy:"crop-fixed",height:a.size,width:a.size},0,b)))}; | |
Nga=function(a,b,c){a=a||{};b="";a=""+((null==a.favicon?0:a.favicon.imageId)||(null==a.favicon?0:a.favicon.id)?z.F(Zca({icon:a.favicon,size:128},c)):null==(null==a.favicon?null:a.favicon.imageId)&&null==(null==a.favicon?null:a.favicon.id)&&a.favicon?z.F(a.favicon):"");a=(0,z.L)(a);b+=a?'\x3clink rel\x3d"icon" href\x3d"'+z.E(z.F(a))+'" class\x3d"js-favicon"\x3e':'\x3clink rel\x3d"shortcut icon" href\x3d"'+z.E(z.F(c.layoutData.faviconUrl))+'" class\x3d"js-favicon is-default"\x3e';return(0,z.y)(b)}; | |
Oga=function(a,b){a=a||{};var c="";if(a.post)var d=""+a.post.title,d=z.ph(d),e=a.post.homeCollection&&"APPROVED"==a.post.virtuals.statusForCollection,c=c+(""+d+(50>=(""+d).length?a.sequence?" – "+a.sequence.title+" – "+(""+b.productName):e?" – "+a.post.homeCollection.name+(a.post.homeCollection.domain?"":" – "+b.productName):a.post.creator?" – "+a.post.creator.name+" – "+(""+b.productName):"":""));else a=z.n("Story not found – {$productName}",{productName:""+b.productName}),c+=""+a;return z.B(c)}; | |
Pga=function(a,b){a=a||{};var c="";if(a.post)if(b=a.post.homeCollection&&"APPROVED"==a.post.virtuals.statusForCollection,null==a.post.content?0:a.post.content.metaDescription)c+=""+a.post.content.metaDescription;else{var d=""+z.Dm(a.post),d=z.ph(d);if(150<(""+d).length)c+=""+d;else if(d=""+(a.post.subtitle?""+z.Hj(a.post.subtitle):(null==a.post.content?0:a.post.content.subtitle)?""+z.Hj(a.post.content.subtitle):""),d=z.ph(d),140>=(""+d).length){var e=""+z.Hj(a.post.title)+" "+(""+d),e=z.ph(e);140< | |
(""+e).length?c+=""+e:(e=z.n("{$title} is published",{title:""+z.pl(String(a.post.title))}),c+=d?""+d+" ":"",d=""+e,a.post.creator&&(e=z.n("by"),d+=" "+e+" "+(""+a.post.creator.name)),b&&(b=z.n("in"),d+=" "+b+" "+(""+(null==a.post.homeCollection?null:a.post.homeCollection.name))),d=z.ph(d),c+=""+z.Hj(d))}else c+=""+d}else a=z.n("We could not find the story you are looking for on {$productName}",{productName:""+z.Hj(b.productName)}),c+=""+a;return z.B(c)}; | |
sj=function(a,b){var c=a.size;a=""+((null==a.faviconImage?0:a.faviconImage.imageId)||(null==a.faviconImage?0:a.faviconImage.id)?z.F(z.Bj({image:a.faviconImage,strategy:"crop-fixed",height:c,width:c},0,b)):z.F(z.Aj({imageId:null==b.layoutData?null:b.layoutData.faviconImageId,strategy:"crop-fixed",height:c,width:c},0,b)));a=(0,z.L)(a);return z.B(""+(a?'\x3clink rel\x3d"apple-touch-icon"'+(c?' sizes\x3d"'+c+"x"+(""+c)+'"':"")+' href\x3d"'+(""+a)+'"\x3e':""))}; | |
Qga=function(a,b){a=a||{};var c="";a=a.catalog?z.n("{$name} – Curated stories from {$productName}",{name:""+a.catalog.name,productName:""+b.productName}):z.n("Curated stories from {$productName}",{productName:""+b.productName});c+=""+a;return z.B(c)};Rga=function(a){a=a||{};var b="";a=a.catalog?z.n("Read our favorite stories in {$name}. {$description}",{name:""+a.catalog.name,description:""+z.Hj(a.catalog.description)}):z.n("Read our favorite stories");b+=""+a;return z.B(b)}; | |
Sga=function(a){a=z.n("New story – {$productName}",{productName:""+a.productName});return z.B(""+a)};Tga=function(a){a=z.n("In its most basic form, a story on {$productName} consists of a title and a body text.",{productName:""+a.productName});return z.B(""+a)};Uga=function(a,b){return function(c,d){var e=a(c,null,d),g=b(c,null,d);return tj(qj(new pj(e,g),c,d),c,d)}}; | |
Gm=function(a,b){var c=Oga(a,b),d=Pga(a,b),e=a.value||a.post,g=e.creator?e.creator.twitterScreenName:"";a=tj(qj(new pj(c,d),a,b),a,b).wg(g);e&&(e.virtuals&&a.lga(!!e.virtuals.noIndex),a.fontSets=Lca(e,b),a.metaReferrer=e.visibility==z.Em?"unsafe-url":"origin",e.approvedHomeCollection&&(vj(a,e.approvedHomeCollection.googleAnalyticsId),a.qk(e.approvedHomeCollection.disableGoogleAnalytics)),b=z.Fm.Vb({postId:e.id}),wj(a,b));return a}; | |
Vga=function(a,b){var c;c=z.n("Responses – {$title} – {$productName}",{title:""+a.post.title,productName:""+b.productName});c=z.B(""+c);var d=z.n("Read the responses for {$title} posted on {$productName}",{title:""+a.post.title,productName:""+z.Hj(b.productName)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)}; | |
Hm=function(a,b){var c;c=a||{};c=z.B(c.user?""+c.user.name+" – "+(c.collection?""+c.collection.name:""+b.productName):"Author not found – "+(c.collection?""+c.collection.name:""+b.productName));var d="";if(a.user){var e="",g=a.collection?z.n("Read writing from {$name_1} in {$name_2} {$bio}",{name_1:""+a.user.name,name_2:""+z.Hj(a.collection.name),bio:""+z.Hj(a.user.bio)}):z.n("Read writing from {$name} on Medium. {$bio}",{name:""+a.user.name,bio:""+z.Hj(a.user.bio)}),e=e+(""+g),g=""+z.B(e),g=z.ph(g), | |
e=""+g;150>(""+g).length?(g=z.n("Every day, {$name} and thousands of other voices read, write, and share important stories on {$siteName}.",{name:""+a.user.name,siteName:""+(a.collection?a.collection.name:b.productName)}),g=" "+z.B(""+g)):g="";d+=e+g}else e=z.n("We could not find the author you are looking for on {$productName}",{productName:""+z.Hj(b.productName)}),d+=""+e;e=a.user.twitterScreenName;c=tj(qj(new pj(c,z.B(d)),a,b),a,b).wg(e);a.collection?(c.rk(a.collection.facebookPageId),vj(c,a.collection.googleAnalyticsId), | |
c.qk(a.collection.disableGoogleAnalytics)):(a=String(Xca({user:a},b)),uj(c,a));return c}; | |
Wga=function(a,b){var c,d;d=a||{};c="";d.collection?c+=""+d.collection.name+(d.collection.domain?"":" – "+b.productName):(d=z.n("Publication not found – {$productName}",{productName:""+b.productName}),c+=""+d);c=z.B(c);var e;e=a||{};d="";e.collection?d+=""+z.Hj(e.collection.description):(e=z.n("We could not find the publication you are looking for on {$productName}",{productName:""+z.Hj(b.productName)}),d+=""+e);d=z.B(d);e=String(Yi({collection:a.collection},b));var g=z.Im.Vb({collectionSlug:a.collection.slug}), | |
k=a.collection.user?a.collection.user.twitterScreenName:"";return wj(vj(uj(tj(qj(new pj(c,d),a,b),a,b),e).rk(a.collection.facebookPageId),a.collection.googleAnalyticsId).qk(a.collection.disableGoogleAnalytics),g).wg(k)}; | |
Xga=function(a,b){var c;c="";var d=z.n("About {$name}",{name:""+a.collection.name});c+=""+d+(a.collection.domain?"":" – "+b.productName);c=z.B(c);var d="",e=z.n("Read more about {$name}.",{name:""+a.collection.name}),d=d+(""+e+" "+(""+z.Hj(a.collection.description))),d=z.B(d),e=String(Yi({collection:a.collection},b)),g=z.Im.Vb({collectionSlug:a.collection.slug}),k=a.collection.user?a.collection.user.twitterScreenName:"";return wj(vj(uj(tj(qj(new pj(c,d),a,b),a,b),e).rk(a.collection.facebookPageId), | |
a.collection.googleAnalyticsId).qk(a.collection.disableGoogleAnalytics),g).wg(k)};Jm=function(a,b){var c;c="";var d=z.n("Archive of stories published by {$name}",{name:""+a.collection.name});c+=""+d+(a.collection.domain?"":" – "+b.productName);c=z.B(c);var d="",e=z.n("Read top stories published by {$name}.",{name:""+a.collection.name}),d=d+(""+e+" "+(""+z.Hj(a.collection.description)));return vj(tj(qj(new pj(c,z.B(d)),a,b),a,b).rk(a.collection.facebookPageId),a.collection.googleAnalyticsId).qk(a.collection.disableGoogleAnalytics)}; | |
Yga=function(a,b){var c;c=z.n("Letters – {$name}",{name:""+a.collection.name});c=z.B(""+c);var d=z.n("Manage and send letters from {$name}",{name:""+a.collection.name});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)}; | |
Zga=function(a,b){var c;c=z.n("People following {$name}",{name:""+a.user.name});c=z.B(""+c);var d=a.followedBy,e="",d=1<d?z.n("{$followedBy} people follow {$name} on {$productName}.",{followedBy:""+d,name:""+a.user.name,productName:""+b.productName}):1==d?z.n("Only one person follows {$name} on {$productName}. Become their second follower to read their upcoming stories.",{name:""+a.user.name,productName:""+b.productName}):z.n("{$name} currently does not have any followers on {$productName}. Become their first follower to read their upcoming stories.", | |
{name:""+a.user.name,productName:""+b.productName}),e=e+(""+d),d=a.user.twitterScreenName;return tj(qj(new pj(c,z.B(e)),a,b),a,b).wg(d)}; | |
$ga=function(a,b){var c;c=z.n("People followed by {$name}",{name:""+a.user.name});c=z.B(""+c);var d=a.following,e="",d=1<d?z.n("{$name} follows {$following} people on {$productName}.",{name:""+a.user.name,following:""+d,productName:""+b.productName}):1==d?z.n("{$name} only follows one person on {$productName}.",{name:""+a.user.name,productName:""+b.productName}):z.n("{$name} currently does not follow any author on {$productName}.",{name:""+a.user.name,productName:""+b.productName}),e=e+(""+d),d=a.user.twitterScreenName; | |
return tj(qj(new pj(c,z.B(e)),a,b),a,b).wg(d)};aha=function(a,b){var c;c=z.n("Your {$productName} private bookmarks",{productName:""+b.productName});c=z.B(""+c);var d=z.n("This is the list of {$productName} stories that you have previously bookmarked.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)};bha=function(a,b){var c=Qga(a,b),d=Rga(a),e=String(Vca({catalogId:a.catalog.catalogId},b));return uj(tj(qj(new pj(c,d),a,b),a,b),e)}; | |
cha=function(a,b){var c,d;d=a||{};c="";d=d.sequence&&d.sequence.sequenceId?z.n("Edit {$title} – {$productName}",{title:""+d.sequence.title,productName:""+b.productName}):z.n("Create new show");c+=""+d;c=z.B(c);d=z.n("Edit the title, description, and url of a sequence.");return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)}; | |
dha=function(a,b){var c;c=z.n("Your series stats – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("You can view the visitor statistics for all series you write on {$productName}.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)};eha=function(a,b){var c=Sga(b),d=Tga(b);return tj(rj(new pj(c,d),b),a,b)}; | |
Km=function(a,b){var c;c=z.n("Editing {$title} – {$productName}",{title:""+(a.post.title?a.post.title:"untitled story"),productName:""+b.productName});c=z.B(""+c);var d=z.n("You are currently editing {$title}",{title:""+z.Hj(a.post.title?a.post.title:"untitled story")});return tj(rj(new pj(c,z.B(""+d)),b),a,b)}; | |
Lm=function(a,b){var c;c=z.n("Redirecting you – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Your are being redirected away from {$productName}",{productName:""+z.Hj(b.productName)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)}; | |
fha=function(a,b){var c;c=z.n("Your stories stats – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("You can view the visitor statistics for all stories you write on {$productName}.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)}; | |
Mm=function(a,b){var c;c=z.n("{$xxx} dashboard",{xxx:""+z.xj(null,b)});c=z.B(""+c);var d=z.n("You can view the engagement for stories you write on {$productName}.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)}; | |
gha=function(a,b){var c;c=z.n("Your responses stats – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("You can view the visitor statistics for all responses you write on {$productName}.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)}; | |
hha=function(a,b){var c,d;d=a||{};c="";d=(null==d.topStoriesNavigation?0:d.topStoriesNavigation.titleDateFormatted)?z.n("Most popular stories on {$titleDateFormatted} – {$productName}",{titleDateFormatted:""+(null==d.topStoriesNavigation?null:d.topStoriesNavigation.titleDateFormatted),productName:""+b.productName}):z.n("Today’s most popular stories – {$productName}",{productName:""+b.productName});c+=""+d;c=z.B(c);var e;e=a||{};d="";e=(null==e.topStoriesNavigation?0:e.topStoriesNavigation.titleDateFormatted)? | |
z.n("Read {$productName}’s top stories on {$titleDateFormatted}. These stories are the ones which resonated the most with thousands of readers on {$productName}.",{productName:""+b.productName,titleDateFormatted:""+(null==e.topStoriesNavigation?null:e.topStoriesNavigation.titleDateFormatted)}):z.n("Every day, read the top stories on {$productName}. These stories are the ones which resonated the most with thousands of readers on {$productName}.",{productName:""+b.productName});d+=""+e;return tj(qj(new pj(c, | |
z.B(d)),a,b),a,b)};z.Ai=function(a){var b=new z.Ie(a);if(!a||b.toString()!=a)throw Error("Cannot build routes without a valid base URL: "+a);this.u6=a;this.Uma=b.If+":";this.Y6=b.ul};z.Nm=function(a,b,c){return a.Vb(b,c)};Om=function(a,b){b=z.Je(new z.Ie,a.Uma).Jm(b);a.Y6&&z.Le(b,a.Y6);return b};iha=function(){z.Ai.call(this,z.Pm(z.Qm))}; | |
z.Rm=function(a,b,c,d,e,g){z.kd.call(this,e,g);this.l1=a;this.s_=[];this.Ica=!!b;this.gAa=!!c;this.pza=!!d;for(b=this.jfa=0;b<a.length;b++)yd(a[b],(0,z.wa)(this.eda,this,b,!0),(0,z.wa)(this.eda,this,b,!1));0!=a.length||this.Ica||this.callback(this.s_)};z.Sm=function(){0!=jha&&(kha[z.va(this)]=this);this.Ci=this.Ci;this.uy=this.uy};z.Tm=function(a,b){a.Ci?z.ka(void 0)?b.call(void 0):b():(a.uy||(a.uy=[]),a.uy.push(z.ka(void 0)?(0,z.wa)(b,void 0):b))};z.bn=function(a){a&&"function"==typeof a.Rf&&a.Rf()}; | |
z.cn=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];z.oa(d)?z.cn.apply(null,d):z.bn(d)}};z.dn=function(a,b,c){function d(){var d=arguments,k=c||this;(0,window.clearTimeout)(e);e=(0,window.setTimeout)(function(){e=null;k instanceof z.Sm&&k.Ci||b.apply(k,d)},a)}var e;d.cancel=function(){(0,window.clearTimeout)(e);e=null};return d}; | |
z.en=function(a,b,c){var d=-window.Infinity;return function(){var e=c||this;if(!(e instanceof z.Sm&&e.Ci)){var g=(0,z.Ja)();g-d>=a&&(b.apply(e,arguments),d=g)}}};z.fn=function(a,b){(0,window.setTimeout)(function(){a.call(b)},0)};z.gn=function(a){var b=new z.kd(function(){c&&((0,window.clearTimeout)(c),c=null)}),c=(0,window.setTimeout)(function(){b.callback();c=null},a);return b};z.lha=function(a,b,c,d){return z.na(a)?se(a,b,c,d):se(z.tb(a),function(c,g){return b.call(d,c,a[g],g,a)},c)}; | |
hn=function(a){if(!a||-1==a.indexOf("?"))return{};a=(new z.Ie(a)).dg;for(var b=a.Ei(),c={},d=0;d<b.length;d++)c[b[d]]=a.get(b[d]);return c};z.vn=function(a,b,c,d,e){this.ki=!!b;this.node=null;this.xg=0;this.I3=!1;this.eP=!c;a&&this.setPosition(a,d);this.depth=void 0!=e?e:this.xg||0;this.ki&&(this.depth*=-1)};z.wn=function(a,b,c,d){z.vn.call(this,a,b,c,null,d)};z.xn=function(){z.Sm.call(this)};z.yn=function(){}; | |
z.zn=function(a){if(a.getSelection)return a.getSelection();a=a.document;var b=a.selection;if(b){try{var c=b.createRange();if(c.parentElement){if(c.parentElement().document!=a)return null}else if(!c.length||c.item(0).document!=a)return null}catch(d){return null}return b}return null};z.An=function(a){for(var b=[],c=0,d=a.UB();c<d;c++)b.push(a.xu(c));return b};z.mha=function(a){return a.isReversed()?a.Kd():a.kc()};z.nha=function(a){return a.isReversed()?a.ke():a.kd()}; | |
z.oha=function(a){return a.isReversed()?a.kc():a.Kd()};z.Bn=function(a){return a.isReversed()?a.kd():a.ke()};Cn=function(a,b){z.vn.call(this,a,b,!0)};z.Dn=function(){}; | |
z.En=function(a,b,c,d,e){this.Qc=this.Wc=null;this.Jd=this.Pd=0;var g;a&&(this.Wc=a,this.Pd=b,this.Qc=c,this.Jd=d,1==a.nodeType&&"BR"!=a.tagName&&(a=a.childNodes,(b=a[b])?(this.Wc=b,this.Pd=0):(a.length&&(this.Wc=z.Ta(a)),g=!0)),1==c.nodeType&&((this.Qc=c.childNodes[d])?this.Jd=0:this.Qc=c));z.vn.call(this,e?this.Qc:this.Wc,e,!0);if(g)try{this.next()}catch(k){if(k!=z.ye)throw k;}};z.Fn=function(){};z.Gn=function(a){this.wb=a}; | |
In=function(a){var b=z.qg(a).createRange();if(3==a.nodeType)b.setStart(a,0),b.setEnd(a,a.length);else if(Hn(a)){for(var c,d=a;(c=d.firstChild)&&Hn(c);)d=c;b.setStart(d,0);for(d=a;(c=d.lastChild)&&Hn(c);)d=c;b.setEnd(d,1==d.nodeType?d.childNodes.length:d.length)}else c=a.parentNode,a=(0,z.Wa)(c.childNodes,a),b.setStart(c,a),b.setEnd(c,a+1);return b};Jn=function(a,b,c,d){var e=z.qg(a).createRange();e.setStart(a,b);e.setEnd(c,d);return e};Kn=function(a){this.wb=a}; | |
z.Ln=function(a,b){this.Qc=this.Wc=this.Sp=null;this.Jd=this.Pd=-1;this.wb=a;this.Qza=b};Mn=function(a){var b=z.qg(a).body.createTextRange();if(1==a.nodeType)b.moveToElementText(a),Hn(a)&&!a.childNodes.length&&b.collapse(!1);else{for(var c=0,d=a;d=d.previousSibling;){var e=d.nodeType;if(3==e)c+=d.length;else if(1==e){b.moveToElementText(d);break}}d||b.moveToElementText(a.parentNode);b.collapse(!d);c&&b.move("character",c);b.moveEnd("character",a.length)}return b}; | |
pha=function(a,b){for(var c=b.childNodes,d=0,e=c.length;d<e;d++){var g=c[d];if(Hn(g)){var k=Mn(g),l=k.htmlText!=g.outerHTML;if(a.isCollapsed()&&l?0<=a.qm(k,1,1)&&0>=a.qm(k,1,0):a.wb.inRange(k))return pha(a,g)}}return b}; | |
On=function(a,b,c){c=c||a.gl();if(!c||!c.firstChild)return c;for(var d=1==b,e=0,g=c.childNodes.length;e<g;e++){var k=d?e:g-e-1,l=c.childNodes[k],q;try{q=Nn(l)}catch(t){continue}var r=q.wb;if(a.isCollapsed())if(!Hn(l)){if(0==a.qm(r,1,1)){a.Pd=a.Jd=k;break}}else{if(q.du(a))return On(a,b,l)}else{if(a.du(q)){if(!Hn(l)){d?a.Pd=k:a.Jd=k+1;break}return On(a,b,l)}if(0>a.qm(r,1,0)&&0<a.qm(r,0,1))return On(a,b,l)}}return c}; | |
qha=function(a,b){var c=1==b,d=c?a.kc():a.Kd();if(1==d.nodeType){for(var d=d.childNodes,e=d.length,g=c?1:-1,k=c?0:e-1;0<=k&&k<e;k+=g){var l=d[k];if(!Hn(l)&&0==a.wb.compareEndPoints((1==b?"Start":"End")+"To"+(1==b?"Start":"End"),Nn(l).wb))return c?k:k+1}return-1==k?0:k}a=a.wb.duplicate();b=Mn(d);a.setEndPoint(c?"EndToEnd":"StartToStart",b);a=a.text.length;return c?d.length-a:a};rha=function(a){return 3==a.nodeType?a.nodeValue:a.innerText}; | |
sha=function(a,b,c){c=c||z.rg(a.parentElement());var d,e=d=b.id;d||(d=b.id="goog_"+z.Pn++);a.pasteHTML(b.outerHTML);(b=c.Da(d))&&(e||b.removeAttribute("id"));return b};z.Qn=function(a,b,c){var d;d=d||z.rg(a.parentElement());var e;1!=b.nodeType&&(e=!0,b=d.zc("DIV",null,b));a.collapse(c);b=sha(a,b,d);if(e){a=b.firstChild;if((d=b.parentNode)&&11!=d.nodeType)if(b.removeNode)b.removeNode(!1);else{for(;c=b.firstChild;)d.insertBefore(c,b);z.Gg(b)}b=a}return b};Rn=function(a){this.wb=a}; | |
Sn=function(a){this.wb=a};uha=function(a){return tha?new z.Ln(a,z.qg(a.parentElement())):z.zg?new Sn(a):z.Tn?new Kn(a):z.Un?new Rn(a):new z.Gn(a)}; | |
Nn=function(a){if(z.vg&&!z.wf(9)){var b=new z.Ln(Mn(a),z.qg(a));if(Hn(a)){for(var c,d=a;(c=d.firstChild)&&Hn(c);)d=c;b.Wc=d;b.Pd=0;for(d=a;(c=d.lastChild)&&Hn(c);)d=c;b.Qc=d;b.Jd=1==d.nodeType?d.childNodes.length:d.length;b.Sp=a}else b.Wc=b.Qc=b.Sp=a.parentNode,b.Pd=(0,z.Wa)(b.Sp.childNodes,a),b.Jd=b.Pd+1;a=b}else a=z.zg?new Sn(In(a)):z.Tn?new Kn(In(a)):z.Un?new Rn(In(a)):new z.Gn(In(a));return a};Hn=function(a){return z.Bg(a)||3==a.nodeType}; | |
z.Vn=function(){this.Jd=this.Qc=this.Pd=this.Wc=this.$t=null;this.Yn=!1};Wn=function(a,b){var c=new z.Vn;c.$t=a;c.Yn=!!b;return c};z.Yn=function(a,b,c,d){var e=new z.Vn;e.Yn=Xn(a,b,c,d);if(z.Lg(a)&&!z.Bg(a)){var g=a.parentNode;b=(0,z.Wa)(g.childNodes,a);a=g}z.Lg(c)&&!z.Bg(c)&&(g=c.parentNode,d=(0,z.Wa)(g.childNodes,c),c=g);e.Yn?(e.Wc=c,e.Pd=d,e.Qc=a,e.Jd=b):(e.Wc=a,e.Pd=b,e.Qc=c,e.Jd=d);return e}; | |
z.Zn=function(a){var b;if(!(b=a.$t)){b=a.kc();var c=a.kd(),d=a.Kd(),e=a.ke();if(z.vg&&!z.wf(9)){var g=b,k=c,l=d,q=e,r=!1;1==g.nodeType&&(k=g.childNodes[k],r=!k,g=k||g.lastChild||g,k=0);var t=Mn(g);k&&t.move("character",k);g==l&&k==q?t.collapse(!0):(r&&t.collapse(!1),r=!1,1==l.nodeType&&(l=(k=l.childNodes[q])||l.lastChild||l,q=0,r=!k),g=Mn(l),g.collapse(!r),q&&g.moveEnd("character",q),t.setEndPoint("EndToEnd",g));q=new z.Ln(t,z.qg(b));q.Wc=b;q.Pd=c;q.Qc=d;q.Jd=e;b=q}else b=z.zg?new Sn(Jn(b,c,d,e)): | |
z.Tn?new Kn(Jn(b,c,d,e)):z.Un?new Rn(Jn(b,c,d,e)):new z.Gn(Jn(b,c,d,e));b=a.$t=b}return b};$n=function(a){z.Sm.call(this);this.yba=z.mha(a);this.Jya=z.nha(a);this.Kca=z.oha(a);this.hAa=z.Bn(a)};z.ao=function(){this.yJ=this.eh=this.wb=null};bo=function(a){var b=new z.ao;b.wb=a;return b};vha=function(a){for(var b=z.qg(arguments[0]).body.createControlRange(),c=0,d=arguments.length;c<d;c++)b.addElement(arguments[c]);return bo(b)}; | |
co=function(a){if(!a.eh&&(a.eh=[],a.wb))for(var b=0;b<a.wb.length;b++)a.eh.push(a.wb.item(b));return a.eh};z.eo=function(a){a.yJ||(a.yJ=co(a).concat(),a.yJ.sort(function(a,c){return a.sourceIndex-c.sourceIndex}));return a.yJ};fo=function(a){this.eh=co(a)};z.go=function(a){this.eh=this.Qc=this.Wc=null;a&&(this.eh=z.eo(a),this.Wc=this.eh.shift(),this.Qc=z.Ta(this.eh)||this.Wc);z.vn.call(this,this.Wc,!1,!0)};z.ho=function(){this.lp=[];this.JC=[];this.gP=this.dD=null}; | |
wha=function(a){var b=new z.ho;b.JC=a;b.lp=(0,z.Hb)(a,function(a){return a.Ix()});return b};io=function(a){a.dD||(a.dD=z.An(a),a.dD.sort(function(a,c){var d=a.kc();a=a.kd();var e=c.kc();c=c.kd();return d==e&&a==c?0:Xn(d,a,e,c)?1:-1}));return a.dD};jo=function(a){this.F2=(0,z.Hb)(z.An(a),function(a){return a.D2()})};z.ko=function(a){this.Pp=null;this.wB=0;a&&(this.Pp=(0,z.Hb)(io(a),function(a){return z.ze(a)}));Cn.call(this,a?this.kc():null,!1)};z.lo=function(a){return(a=z.zn(a||window))&&xha(a)}; | |
xha=function(a){var b,c=!1;if(a.createRange)try{b=a.createRange()}catch(e){return null}else if(a.rangeCount){if(1<a.rangeCount){c=new z.ho;b=0;for(var d=a.rangeCount;b<d;b++)c.lp.push(a.getRangeAt(b));return c}b=a.getRangeAt(0);c=Xn(a.anchorNode,a.anchorOffset,a.focusNode,a.focusOffset)}else return null;return(a=b)&&a.addElement?bo(a):Wn(uha(a),c)};z.mo=function(a){return Wn(Nn(a),void 0)}; | |
Xn=function(a,b,c,d){if(a==c)return d<b;var e;if(1==a.nodeType&&b)if(e=a.childNodes[b])a=e,b=0;else if(z.Og(a,c))return!0;if(1==c.nodeType&&d)if(e=c.childNodes[d])c=e,d=0;else if(z.Og(c,a))return!1;return 0<(Tba(a,c)||b-d)};z.no=function(a){return a.length||a.childNodes.length};oo=function(a){return(a=a.exec(dc))?a[1]:""};z.po=function(){return z.zg?"Webkit":z.Tn?"Moz":z.vg?"ms":z.Un?"O":null};z.qo=function(){return z.zg?"-webkit":z.Tn?"-moz":z.vg?"-ms":z.Un?"-o":null}; | |
z.ro=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};z.so=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};z.to=function(a){return new z.ro(a.top,a.left+a.width,a.top+a.height,a.left)};z.uo=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new z.so(c,e,d-c,a-e)}return null}; | |
z.vo=function(a,b){return a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top+a.height};z.xo=function(a,b,c){if(z.pa(b))(b=wo(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],g=wo(c,d);g&&(c.style[g]=e)}};wo=function(a,b){var c=yha[b];if(!c){var d=z.Qa(b),c=d;void 0===a.style[d]&&(d=z.po()+z.Sa(d),void 0!==a.style[d]&&(c=d));yha[b]=c}return c};zha=function(a,b){var c=a.style[z.Qa(b)];return"undefined"!==typeof c?c:a.style[wo(a,b)]||""}; | |
z.yo=function(a,b){var c=z.qg(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};z.zo=function(a,b){return z.yo(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};z.Bha=function(a,b,c){var d;b instanceof z.lg?(d=b.x,b=b.y):(d=b,b=c);a.style.left=Aha(d);a.style.top=Aha(b)}; | |
Go=function(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}z.vg&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b}; | |
Cha=function(a){if(z.vg&&!z.wf(8))return a.offsetParent;var b=z.qg(a),c=z.zo(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=z.zo(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}; | |
Io=function(a){for(var b=new z.ro(0,window.Infinity,window.Infinity,0),c=z.rg(a),d=c.um().body,e=c.um().documentElement,g=Hba(c.Cd);a=Cha(a);)if(!(z.vg&&0==a.clientWidth||z.zg&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=z.zo(a,"overflow")){var k=z.Ho(a),l=new z.lg(a.clientLeft,a.clientTop);k.x+=l.x;k.y+=l.y;b.top=Math.max(b.top,k.y);b.right=Math.min(b.right,k.x+a.clientWidth);b.bottom=Math.min(b.bottom,k.y+a.clientHeight);b.left=Math.max(b.left,k.x)}d=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left, | |
d);b.top=Math.max(b.top,g);c=c.cda();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null};z.Ho=function(a){var b=z.qg(a),c=new z.lg(0,0),d;d=b?z.qg(b):window.document;d=!z.vg||z.wf(9)||z.tg(z.rg(d).Cd)?d.documentElement:d.body;if(a==d)return c;a=Go(a);b=z.yg(z.rg(b).Cd);c.x=a.left+b.x;c.y=a.top+b.y;return c};Aha=function(a){"number"==typeof a&&(a+="px");return a}; | |
z.Jo=function(a){var b=Dha;if("none"!=z.zo(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=g;c.visibility=e;return a};Dha=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=z.zg&&!b&&!c;return z.ka(b)&&!d||!a.getBoundingClientRect?new z.ng(b,c):(a=Go(a),new z.ng(a.right-a.left,a.bottom-a.top))};z.Ko=function(a){var b=z.Ho(a);a=z.Jo(a);return new z.so(b.x,b.y,a.width,a.height)}; | |
z.Eha=function(a,b){b=z.rg(b);var c,d=b.um();z.vg&&d.createStyleSheet?(c=d.createStyleSheet(),Lo(c,a)):(d=sg(b.Cd,"HEAD",void 0)[0],d||(c=sg(b.Cd,"BODY",void 0)[0],d=b.zc("HEAD"),c.parentNode.insertBefore(d,c)),c=b.zc("STYLE"),Lo(c,a),b.appendChild(d,c));return c};Lo=function(a,b){b instanceof z.Wf&&b.constructor===z.Wf&&b.vka===pba?b=b.g2:(ma(b),b="type_error:SafeStyleSheet");z.vg&&z.ka(a.cssText)?a.cssText=b:a.innerHTML=b};z.Mo=function(a){return"rtl"==z.zo(a,"direction")}; | |
Fha=function(a){var b=z.qg(a),c=z.vg&&a.currentStyle;if(c&&z.tg(z.rg(b).Cd)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=No(a,c.width,"width","pixelWidth"),a=No(a,c.height,"height","pixelHeight"),new z.ng(b,a);c=new z.ng(a.offsetWidth,a.offsetHeight);b=To(a);a=z.Uo(a);return new z.ng(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)}; | |
No=function(a,b,c,d){if(/^\d+px?$/.test(b))return(0,window.parseInt)(b,10);var e=a.style[c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=g;return+b};Vo=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?No(a,b,"left","pixelLeft"):0}; | |
To=function(a){if(z.vg){var b=Vo(a,"paddingLeft"),c=Vo(a,"paddingRight"),d=Vo(a,"paddingTop");a=Vo(a,"paddingBottom");return new z.ro(d,c,a,b)}b=z.yo(a,"paddingLeft");c=z.yo(a,"paddingRight");d=z.yo(a,"paddingTop");a=z.yo(a,"paddingBottom");return new z.ro((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))}; | |
Wo=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;b=a.currentStyle?a.currentStyle[b+"Width"]:null;return b in Gha?Gha[b]:No(a,b,"left","pixelLeft")}; | |
z.Uo=function(a){if(z.vg&&!z.wf(9)){var b=Wo(a,"borderLeft"),c=Wo(a,"borderRight"),d=Wo(a,"borderTop");a=Wo(a,"borderBottom");return new z.ro(d,c,a,b)}b=z.yo(a,"borderLeftWidth");c=z.yo(a,"borderRightWidth");d=z.yo(a,"borderTopWidth");a=z.yo(a,"borderBottomWidth");return new z.ro((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};z.Yo=function(a,b){return b?z.Xo(a.kc(),a.kd()):z.Xo(a.Kd(),a.ke())};z.Zo=function(a,b){this.node=a;this.offset=b}; | |
z.Xo=function(a,b,c,d){for(;1==a.nodeType;){var e=a.childNodes[b];if(e||a.lastChild)if(e){var g=e.previousSibling;if(c&&g){if(d&&$o(g))break;a=g;b=z.no(a)}else{if(d&&$o(e))break;a=e;b=0}}else{if(d&&$o(a.lastChild))break;a=a.lastChild;b=z.no(a)}else break}return new z.Zo(a,b)};$o=function(a){return 1==a.nodeType&&!z.Bg(a)}; | |
z.cp=function(a,b,c,d,e){z.kd.call(this);this.re=a;this.PA=b;this.ZG=Math.round(d);(a=Math.round(e))||(/scroll/.test(this.PA)?(a=this.re,z.ap(a)&&(a=z.bp()),a=a[this.PA]):a=this.re.style[this.PA]);this.bF=a;this.QL=c;this.una=this.ZG-this.bF;this.nxa=(0,z.Ja)();this.UY=this.bF<this.ZG?"min":"max";window.requestAnimationFrame(this.Maa.bind(this))};z.dp=function(a){z.K.call(this);this.C(a)};z.ep=function(a){z.K.call(this);this.C(a)};z.fp=function(a){z.K.call(this);this.C(a)}; | |
z.gp=function(a){z.K.call(this);this.C(a)};Hha=function(a){return z.hp.tb(z.gp,a)};ip=function(a){z.K.call(this);this.C(a)};Iha=function(a){return z.hp.tb(ip,a)};jp=function(a){z.K.call(this);this.C(a)};z.kp=function(a){z.K.call(this);this.C(a)};lp=function(a){return z.hp.tb(z.kp,a)};z.mp=function(a){z.K.call(this);this.C(a)};z.np=function(a){z.K.call(this);this.C(a)};z.op=function(a){z.K.call(this);this.C(a)};z.pp=function(a,b){return z.I(a,"colorPoints",b)};z.qp=function(a){z.K.call(this);this.C(a)}; | |
z.rp=function(a,b){return z.I(a,"point",b)};sp=function(a){z.K.call(this);this.C(a)};z.tp=function(a){z.K.call(this);this.C(a)};Jha=function(a){return z.hp.tb(z.tp,a)};z.up=function(a){z.K.call(this);this.C(a)};z.vp=function(a){z.K.call(this);this.C(a)};z.wp=function(a){z.K.call(this);this.C(a)};z.xp=function(a){z.K.call(this);this.C(a)};z.yp=function(a){z.K.call(this);this.C(a)};z.zp=function(a){z.K.call(this);this.C(a)};z.Ap=function(a){z.K.call(this);this.C(a)}; | |
Kha=function(a){return z.hp.tb(z.Ap,a)};z.Bp=function(a){z.K.call(this);this.C(a)};z.Cp=function(a){z.K.call(this);this.C(a)};z.Dp=function(a,b){return z.I(a,"offset",b)};z.Ep=function(a){z.K.call(this);this.C(a)};Fp=function(a){z.K.call(this);this.C(a)};z.Gp=function(a){z.K.call(this);this.C(a)};z.Hp=function(a){z.K.call(this);this.C(a)};z.Ip=function(a){return z.H(a,"markups")};z.Jp=function(a,b){return z.I(a,"markups",b)};z.Kp=function(a){z.K.call(this);this.C(a)}; | |
z.Lp=function(a){z.K.call(this);this.C(a)};z.Mp=function(a){z.K.call(this);this.C(a)};z.Np=function(a){return z.H(a,"anchorType")};z.Op=function(a){z.K.call(this);this.C(a)};z.Pp=function(a){return z.H(a,"textLayout")};z.Qp=function(a,b){return z.I(a,"textLayout",b)};z.Rp=function(a){return z.H(a,"imageLayout")};z.Sp=function(a,b){return z.I(a,"imageLayout",b)};z.Tp=function(a){return z.H(a,"videoLayout")};z.Up=function(a){z.K.call(this);this.C(a)};z.Vp=function(a){z.K.call(this);this.C(a)}; | |
Lha=function(a){return z.hp.tb(z.Vp,a)};z.Wp=function(a){return z.H(a,"favicon")};z.Xp=function(a){z.K.call(this);this.C(a)};Yp=function(a){z.K.call(this);this.C(a)};z.Zp=function(a){z.K.call(this);this.C(a)};z.$p=function(a){z.K.call(this);this.C(a)};z.aq=function(a){z.K.call(this);this.C(a)};bq=function(a){z.K.call(this);this.C(a)};z.cq=function(a){z.K.call(this);this.C(a)};dq=function(a){z.K.call(this);this.C(a)};z.eq=function(a){z.K.call(this);this.C(a)};z.fq=function(a){z.K.call(this);this.C(a)}; | |
z.gq=function(a){z.K.call(this);this.C(a)};Mha=function(a){return z.hp.tb(z.gq,a)};z.hq=function(a){z.K.call(this);this.C(a)};iq=function(a){z.K.call(this);this.C(a)};z.jq=function(a){z.K.call(this);this.C(a)};Nha=function(a){return z.hp.tb(z.jq,a)};z.kq=function(a){z.K.call(this);this.C(a)};z.lq=function(a){z.K.call(this);this.C(a)};z.mq=function(a){z.K.call(this);this.C(a)};z.nq=function(a){z.K.call(this);this.C(a)};z.oq=function(a){z.K.call(this);this.C(a)};z.pq=function(a){z.K.call(this);this.C(a)}; | |
qq=function(a){z.K.call(this);this.C(a)};rq=function(a){z.K.call(this);this.C(a)};z.sq=function(a){z.K.call(this);this.C(a)};z.tq=function(a){z.K.call(this);this.C(a)};z.uq=function(a){z.K.call(this);this.C(a)};vq=function(a){z.K.call(this);this.C(a)};z.wq=function(a){z.K.call(this);this.C(a)};xq=function(a){z.K.call(this);this.C(a)};z.yq=function(a){z.K.call(this);this.C(a)};z.Oha=function(a){return z.hp.tb(z.yq,a)};z.Gq=function(a){z.K.call(this);this.C(a)};Hq=function(a){z.K.call(this);this.C(a)}; | |
z.Iq=function(a){z.K.call(this);this.C(a)};z.Jq=function(a){z.K.call(this);this.C(a)};z.Kq=function(a){z.K.call(this);this.C(a)};Pha=function(a){return z.hp.tb(z.Kq,a)};z.Lq=function(a){z.K.call(this);this.C(a)};Qha=function(a){return z.hp.tb(z.Lq,a)};z.Mq=function(a){return z.H(a,"homeCollection")};z.Nq=function(a){z.K.call(this);this.C(a)};Oq=function(a){return z.H(a,"userPostRelation")};Pq=function(a){z.K.call(this);this.C(a)};Qq=function(a){z.K.call(this);this.C(a)}; | |
z.Rq=function(a){z.K.call(this);this.C(a)};z.Sq=function(a){z.K.call(this);this.C(a)};Rha=function(a){return z.hp.tb(z.Sq,a)};Tq=function(a){z.K.call(this);this.C(a)};z.kr=function(){var a=z.Uq();return z.H(a,"isTier1")};z.lr=function(a){z.K.call(this);this.C(a)};mr=function(a){z.K.call(this);this.C(a)};nr=function(a){z.K.call(this);this.C(a)};z.or=function(a){z.K.call(this);this.C(a)};pr=function(a){z.K.call(this);this.C(a)};z.qr=function(a){return z.H(a,"baseUrl")}; | |
z.rr=function(){return z.H(z.Qm,"currentUser")};z.Sha=function(){return z.H(z.Qm,"currentUserHasUnverifiedEmail")};z.sr=function(){return z.H(z.Qm,"isAuthenticated")};z.tr=function(){return z.H(z.Qm,"productName")};z.ur=function(){return z.H(z.Qm,"supportsEdit")};z.Uq=function(){return z.H(z.Qm,"useragent")};z.pi=function(a){return z.H(a,"variants")};z.Pm=function(a){return z.H(a,"authBaseUrl")};z.vr=function(){return z.H(z.Qm,"isAuthDomainRequest")};z.wr=function(){return z.H(z.Qm,"domainCollectionSlug")}; | |
z.xr=function(a){z.K.call(this);this.C(a)};yr=function(a){z.K.call(this);this.C(a)};zr=function(a){z.K.call(this);this.C(a)};z.Ar=function(a){z.K.call(this);this.C(a)};z.Br=function(a){z.K.call(this);this.C(a)};Cr=function(a){z.K.call(this);this.C(a)};z.Dr=function(a){z.K.call(this);this.C(a)};Er=function(a){z.K.call(this);this.C(a)};z.Fr=function(a){z.K.call(this);this.C(a)};Tha=function(a){return z.hp.tb(z.Fr,a)};z.Gr=function(a){z.K.call(this);this.C(a)};Uha=function(a){return z.hp.tb(z.Gr,a)}; | |
z.Hr=function(a){z.K.call(this);this.C(a)};Vha=function(a){return z.hp.tb(z.Hr,a)};z.Ir=function(a){z.K.call(this);this.C(a)};Jr=function(a){z.K.call(this);this.C(a)};z.Kr=function(a){z.K.call(this);this.C(a)};z.Lr=function(a){z.K.call(this);this.C(a)};z.Mr=function(a){z.K.call(this);this.C(a)};z.Nr=function(a){z.K.call(this);this.C(a)};Or=function(a){z.K.call(this);this.C(a)};Pr=function(a){z.K.call(this);this.C(a)};Wha=function(a,b){return z.I(a,"imageSrc",b)}; | |
Xha=function(a,b){return z.I(a,"imageHeight",b)};Yha=function(a,b){return z.I(a,"imageWidth",b)};z.Qr=function(a){z.K.call(this);this.C(a)};z.Rr=function(a,b){a=paa(a,function(a){return jb(b,a.Oa())});return 0<=a?a:-a-2};z.Sr=function(a,b){b=z.Rr(a,b);return-1==b?null:a[b]};z.Tr=function(a,b,c){var d=a[b].Oa();return b+1>=a.length?c-d:a[b+1].Oa()-d};z.Ur=function(a,b,c){return Math.min(a[b].Oa()+z.Tr(a,b,c),c)};z.Vr=function(a){return!!a&&2==a.type}; | |
z.Wr=function(a){return 1!=z.Rp(a)||1!=a.mu()||1!=z.Tp(a)};z.Xr=function(a){var b;if(b=!!a)a=z.Rp(a),b=!(null==a||1==a);return b};z.Yr=function(a){return null==a||1==a};z.Zr=function(a){return z.Vr(a)||z.Xr(a)||!!a&&!z.Yr(z.Tp(a))};z.$r=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a}; | |
aia=function(a,b){if(-1==a.indexOf("@")&&-1==a.indexOf("://")&&-1==a.indexOf("www.")&&-1==a.indexOf("Www.")&&-1==a.indexOf("WWW."))return uba(a);var c={},d;for(d in b)c[d]=b[d]?b[d]:null;"rel"in c||(c.rel="nofollow");"target"in c||(c.target="_blank");var e=[];a.replace(Zha,function(a,b,d,q,r){e.push(b);if(!d)return"";a="";q?(a="mailto:",d=q,q=""):(r||(a="http://"),(q=d.match($ha))&&!z.Ha(d,"(")?(d=q[1],q=q[2]):q="");c.href=a+d;e.push(Cba("a",c,d));e.push(q);return""});return kg(e)}; | |
z.as=function(){this.Nm={}};cs=function(a,b){var c=new z.bs(a);c.my=!1;b?a.Nm[b]=c:a.jca=c};z.bia=function(a){var b=new z.bs(a);b.Qp=!1;b.my=!0;a.jca=b};z.ds=function(a,b,c,d){var e=new z.bs(a);e.Qp=!0;c&&(z.na(c)?e.attributes=z.Eb(c):e.attributes=c);if(d)for(e.Qp=b,c=0;c<d.length;c++)a.Nm[d[c].toUpperCase()]=e;return a.Nm[b]=e};z.bs=function(a){this.attributes={};this.Kg=a;this.Qp=!1;this.my=!0};es=function(){var a=new z.as;cs(a,"SCRIPT");cs(a,"STYLE");cs(a,"HEAD");z.bia(a);return a}; | |
cia=function(){var a=es(),b=z.ds(a,"P",{name:!0});b.Kg=fs;var c=z.ds(a,"LABEL",{name:!0});b.Kg=fs;z.ds(a,"DIV",{name:!0,"class":!0});c.Kg=fs;z.ds(a,"FIGURE",{name:!0,"class":!0}).Kg=gs;z.ds(a,"UL").Kg=hs;z.ds(a,"OL").Kg=hs;z.ds(a,"HR",["name"]).Kg=is;z.ds(a,"H1",["name"]).Kg=js;z.ds(a,"H2",["name"]).Kg=js;z.ds(a,"H3",["name"]).Kg=js;z.ds(a,"H4",["name"]).Kg=js;z.ds(a,"BLOCKQUOTE",{name:!0,"class":!0}).Kg=js;z.ds(a,"PRE",["name"]).Kg=js;z.ds(a,"IFRAME").Kg=is;return a}; | |
dia=function(a,b){a=aia(a,b);return eg(a)};z.ks=function(a){z.K.call(this);this.C(a)};z.ls=function(a){try{return new z.Ie(a)}catch(b){return df("Malformed URI: ",a.toString(),b.stack),null}};ms=function(a,b){if("string"===typeof a&&(a=z.ls(a),!a))return!1;a=a.Dd();var c=!1;b&&(b=z.ls(z.qr(b)),c=a===b.Dd());return!a||eia[a]||c||"localhost"===a}; | |
z.si=function(a){a instanceof z.ks||(a=new z.ks(a));var b=[];z.li(a,function(c,d){z.ji(a,c)&&null!=z.ii(a,c)&&(b[d.h-1]=z.ii(a,c).toString().replace(/-/g,"_"))},null);return b.join("-")};z.ns=function(a){var b=new z.ks,c=a.split("-");z.li(b,function(a,e){var g=c[e.h-1];if(g){e=e.g();if(e===Number||e.$isProtoEnum)g=Number(g);else if(e==Boolean)if("true"===g)g=!0;else if("false"===g)g=!1;else return;z.I(b,a,g)}},null);return b.Jb()}; | |
z.fia=function(a,b){a||(a="");a=a.replace(/\r\n/g,"\n").replace(/\r/g,"\n");b&&!1===b.Qea?a=z.Ea(a):(a.match(/^https?:\/\/[\w.-]+\/\S*[^\x00-\x7F]\S*$/)&&(a=z.Ye(a),a.tk(a.Ed().split("/").map(window.encodeURIComponent).join("/")),a=a.toString()),a=dia(a,{target:""}),a=a.replace(/((?:^|[^a-zA-Z0-9_!#$%&*@ï¼ /]|RT:?))([@ï¼ ])([a-zA-Z0-9_]{1,20})(\/[a-zA-Z][a-zA-Z0-9_-]{0,24})?/g,'$1\x3ca href\x3d"http://twitter.com/$3$4" target\x3d"_blank" title\x3d"Twitter profile for @$3$4"\x3e@$3$4\x3c/a\x3e'));b&&!1=== | |
b.sza||(a=a.replace(/\n/g,"\x3cbr\x3e"));b&&!1===b.tza||(a="\x3cp\x3e"+a.replace(/<br><br>/g,"\x3c/p\x3e\x3cp\x3e").replace(/\n\n/g,"\x3c/p\x3e\x3cp\x3e")+"\x3c/p\x3e");return a};z.os=function(a,b,c){var d=z.ls(a);if(!d)return"";if("javascript"==d.If)return df("Attempted to pass JavaScript URI"),"";var e=ms(d,c),g=e&&"/r/"==d.Ed();return!b&&g?String(d.dg.get("url")):!b||e||g?a:z.qr(c)+"/r/?url\x3d"+(0,window.encodeURIComponent)(a)};z.ps=function(a){if(!a)return!1;try{return"#zSoyz"!==gca(a)}catch(b){return!1}}; | |
z.qs=function(a){return 2==a||11==a||12==a?Math.round(350):4==a?Math.round(525):3==a||6==a||7==a?1E3:5==a||8==a?2400:700};gia=function(a,b){return a.width&&a.height&&b?new z.ng(b,Math.round(b*a.height/a.width)):a};hia=function(a,b){return a.width>b?new z.ng(b,Math.round(b*a.height/a.width)):a};rs=function(a,b){return z.Aa(b,a)?(a=/\/([^/?]*)(?:\?.*)?$/.exec(b))&&(0,window.decodeURIComponent)(a[1])||"":""}; | |
ss=function(a,b){if(a instanceof ss)this.gd=a.gd;else{var c;if(c=z.oa(a))a:{for(var d=c=0;d<a.length;d++){if(!z.oa(a[d])||0<c&&a[d].length!=c){c=!1;break a}for(var e=0;e<a[d].length;e++)if(!z.qa(a[d][e])){c=!1;break a}0==c&&(c=a[d].length)}c=0!=c}if(c)this.gd=z.ab(a);else if(a instanceof z.ng)this.gd=iia(a.height,a.width);else if(z.qa(a)&&z.qa(b)&&0<a&&0<b)this.gd=iia(a,b);else throw Error("Invalid argument(s) for Matrix contructor");}this.lc=new z.ng(this.gd[0].length,this.gd.length)}; | |
ts=function(a,b,c){for(var d=0;d<a.jl().height;d++)for(var e=0;e<a.jl().width;e++)b.call(c,a.gd[d][e],d,e,a)};us=function(a,b,c){var d=new ss(a.jl());ts(a,function(e,g,k){d.gd[g][k]=b.call(c,e,g,k,a)});return d};iia=function(a,b){for(var c=[],d=0;d<a;d++){c[d]=[];for(var e=0;e<b;e++)c[d][e]=0}return c}; | |
jia=function(a,b){if(a.lc.height!=b.jl().height)throw Error("The given matrix has height "+b.lc.height+", but needs to have height "+a.lc.height+".");var c=new ss(a.lc.height,a.lc.width+b.lc.width);ts(a,function(a,b,g){c.gd[b][g]=a});ts(b,function(a,b,g){c.gd[b][this.lc.width+g]=a},a);return c}; | |
ws=function(a){if(a.lc.width!=a.lc.height)throw Error("An inverse can only be taken on a square matrix.");if(1==a.jl().width){var b=vs(a,0,0);return 0==b?null:new ss([[1/Number(b)]])}for(var b=a.lc.height,c=[],d=0;d<b;d++){c[d]=[];for(var e=0;e<b;e++)c[d][e]=d==e?1:0}b=new ss(c);a:{a=jia(a,b);c=new ss(a);for(e=d=0;e<c.lc.height&&!(d>=c.lc.width);e++){for(var g=e;0==c.gd[g][d];)if(g++,g==c.lc.height&&(g=e,d++,d==c.lc.width)){a=c;break a}var k=a,l=e,q=k.gd[g];k.gd[g]=k.gd[l];k.gd[l]=q;g=c.gd[e][d]; | |
for(k=d;k<c.lc.width;k++)c.gd[e][k]/=g;for(g=0;g<c.lc.height;g++)if(g!=e)for(l=c.gd[g][d],k=d;k<c.lc.width;k++)c.gd[g][k]-=l*c.gd[e][k];d++}a=c}return kia(a,0,b.lc.width-1,b.lc.height-1).nd(b)?kia(a,b.lc.width):null};xs=function(a){var b=new ss(a.lc.width,a.lc.height);ts(a,function(a,d,e){b.gd[e][d]=a});return b};vs=function(a,b,c){return 0<=b&&b<a.lc.height&&0<=c&&c<a.lc.width?a.gd[b][c]:null}; | |
lia=function(a,b,c,d){if(!(0<=b&&b<a.lc.height&&0<=c&&c<a.lc.width))throw Error("Index out of bounds when setting matrix value, ("+b+","+c+") in size ("+a.lc.height+","+a.lc.width+")");a.gd[b][c]=d};mia=function(a){if(1==a.jl().Td())return a.gd[0][0];for(var b=0,c=0;c<a.lc.width;c++){var d=a.gd[0][c],e=0==0+c%2?1:-1,g;g=mia(nia(a,c));b+=d*e*g}return b};kia=function(a,b,c,d){var e=new ss((c?c:a.lc.height-1)-0+1,(d?d:a.lc.width-1)-b+1);ts(e,function(a,c,d){e.gd[c][d]=this.gd[0+c][b+d]},a);return e}; | |
nia=function(a,b){var c=new ss(a.lc.width-1,a.lc.height-1);ts(c,function(a,e,g){lia(c,e,g,this.gd[0<=e?e+1:e][g>=b?g+1:g])},a);return c};oia=function(a,b){var c=new ss(a.lc.height,b.jl().width);ts(c,function(a,e,g){for(var k=a=0;k<this.lc.width;k++)a+=vs(this,e,k)*vs(b,k,g);lia(c,e,g,a)},a);return c};pia=function(a,b){return us(a,function(a){return a*b})};ys=function(a,b,c,d){this.Jma=a;this.Lo=b;this.Vm=c;this.jw=d}; | |
tia=function(a){this.kn=a;a=this.kn.Xya;var b=this.kn.t2[1];this.qL=a||b?a/b:0;this.H6=this.pL=.725*Math.pow(this.qL,-.2);this.x6=1.48+Math.sqrt(this.qL);a=5*this.kn.sba;b=Math.pow(1/(a+1),4);this.W8=.2*b*a+.1*Math.pow(1-b,2)*Math.pow(a,1/3);a=qia(this.kn.t2);this.a7=ria(this,a);a=this.Hua=sia(this,a);this.o$=(2*a[0]+a[1]+a[2]/20-.305)*this.pL};qia=function(a){a=xs(new ss([a]));return zs.multiply(a)};sia=function(a,b){b=us(b,a.pwa,a);b=uia.multiply(via).multiply(b);a=us(b,a.xma,a);return xs(a).gd[0]}; | |
ria=function(a,b){var c=z.re(a.kn.BJ.kBa*(1-1/3.6*Math.exp(-1*(a.kn.sba+42)/92)),0,1),d=a.kn.t2[1];return us(b,function(a){var b=c*d;return(b||a?b/a:0)+1-c})};xia=function(a){return.25*(Math.cos((a<wia[0].fI?a+360:a)*Math.PI/180+2)+3.8)};yia=function(a,b){this.lqa=a;this.Lpa=ws(a);this.t7=b};zia=function(a,b,c){return a/255*.299+b/255*.587+c/255*.114};As=function(a){return"rgba("+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+")"}; | |
Cs=function(a){if(!z.Bs.test(a))throw Error("Invalid color string");return[(0,window.parseInt)(a.slice(3,5),16),(0,window.parseInt)(a.slice(5,7),16),(0,window.parseInt)(a.slice(7,9),16),(0,window.parseInt)(a.slice(1,3),16)/255]};z.Ds=function(a){a=a.match(Aia);if(!a)throw Error("Invalid color string");return"#FF"+a[1].toUpperCase()};Bia=function(a){a=a.match(z.Bs);if(!a)throw Error("Invalid color string");return""+a[2].toUpperCase()}; | |
z.Es=function(a){a="#"+Bia(a);if(!Cia.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(Dia,"#$1$1$2$2$3$3"));a=a.toLowerCase();a=Eia([(0,window.parseInt)(a.substr(1,2),16),(0,window.parseInt)(a.substr(3,2),16),(0,window.parseInt)(a.substr(5,2),16)]);return Fia(a)};z.Fs=function(a,b){a=a.colorPoints;var c=a[0];a.forEach(function(a){Math.abs(b-a.point)<Math.abs(b-c.point)&&(c=a)});return c}; | |
Gia=function(){var a=z.n("An error occurred. Please try unfollowing the tag again.");return(0,z.y)(""+a)};Hia=function(){var a=z.n("An error occurred. Please try following the tag again.");return(0,z.y)(""+a)};z.Gs=function(a){return(void 0==a?"":a.trim()).replace(/\xa0|[ \t]+/g," ").toLowerCase().replace(/[ ]/g,"-")};Hs=function(a){z.K.call(this);this.C(a)};z.Is=function(a){z.K.call(this);this.C(a)};z.Js=function(a){z.K.call(this);this.C(a)};Ks=function(a){z.K.call(this);this.C(a)}; | |
z.Ls=function(a){z.K.call(this);this.C(a)};Ms=function(a){z.K.call(this);this.C(a)};Ns=function(a){z.K.call(this);this.C(a)};Os=function(a){z.K.call(this);this.C(a)};Ps=function(a){z.K.call(this);this.C(a)};Qs=function(){this.bha={}}; | |
Rs=function(a,b,c,d,e,g){if(c>=b.length){if(d&&d.object){a={};g&&(a["*"]=g);for(b=0;b<d.matches.length;b++)a[d.matches[b]]=e[b];return{object:d.object,matches:a}}return null}g=b[c];var k;if(d[g]&&(k=Rs(a,b,c+1,d[g],e,null)))return k;for(var l in d["@"])if("parent"!=l){k=d["@"][l];var q={};k.SX in q||(q[k.SX]=k.uEa.test(g));if(q[k.SX]){e.push(g);if(k=Rs(a,b,c+1,k,e,null))return k;e.pop()}}if(d[":"]){e.push(g);if(k=Rs(a,b,c+1,d[":"],e,null))return k;e.pop()}return d["*"]?Rs(a,b,b.length,d["*"],e,b.slice(c)): | |
null};Iia=function(a){return a.replace(/(^\/|\/$)/g,"").split("/").map(function(a){try{return(0,window.decodeURIComponent)(a)}catch(c){return""}})};Ss=function(){this.kqa={};this.Gva={};this.oX=new Qs;this.w7={}};Jia=function(a,b){if(!a.dea(b))return null;var c;try{c=z.Ye(b)}catch(d){return null}b=c.Ed();return a.oX.su(b)}; | |
Kia=function(a,b,c,d){var e={};c=Vaa(c);var g="",k=b[0],l=null;b.forEach(function(a){d&&(e[a.Ho]=d.tVa(a).sVa());"GET"==a.Ho&&(g=a.za,l=a.tw,k=a)});b=(new Ts(c,e)).a3(l);Us(b,g);a.add(b);a.w7[b.Ce()]=k};Ts=function(a,b){this.Tq=a;this.lDa=b||{};this.gga=this.za=null;this.q2=[];this.tw=null}; | |
Mia=function(a){for(var b=a.Tq.replace(/(^\/|\/$)/g,"").split("/"),c=[],d=0;d<b.length;d++)c.push(Lia(a,b[d],d==b.length-1));return function(a,d){a=a||{};for(var k=[],l,q=0;q<c.length;q++)l=c[q],"function"===typeof l&&(l=l(a)),"@"==b[q][0]&&(l="@"+l),k.push(l);a="/"+k.join("/");d&&(k=Object.keys(d).map(function(a){return a+"\x3d"+(0,window.encodeURIComponent)(d[a])}).join("\x26"),a=a+"?"+k);return a}}; | |
Lia=function(a,b,c){var d;if("*"==b){if(c)return function(a){return(a["*"]||[]).map(function(a){return(0,window.encodeURIComponent)(a)}).join("/")};throw Error("Invalid path ["+a.Tq+"], * must only be at the end.");}return":"==b[0]?(d=b.substr(1,b.length-1),function(a){return(0,window.encodeURIComponent)(a[d])}):"@"==b[0]?(a=b.indexOf(":"),d=b.substr(1,a-1),function(a){return(0,window.encodeURIComponent)(a[d])}):b};Us=function(a,b){a.za=b;return a}; | |
z.Nia=function(a,b,c){b="";c=a.Cba||a.username==(c.currentUser&&c.currentUser.username);var d="",e=c?z.n("I just published"):z.n("by {$xxx}",{xxx:z.Vs(a)}),d=d+(""+e),d=z.ph(d+" "),e="";if(c&&a.collaborators&&a.collaborators.length)for(var g=z.n("Thanks to"),e=e+(" "+g+" "),g=a.collaborators,k=g.length,l=0;l<k;l++)var q=g[l],e=e+(z.Vs({twitterScreenName:q.user.twitterScreenName,name:q.user.name})+(l!=k-1?" ":""));e=z.ph(e);b+=(c?""+d:"")+(""+z.pl(String(a.content)))+" "+(c?"":""+d)+(""+a.url)+(""+ | |
e);return z.B(b)};z.Vs=function(a){return z.B(a.twitterScreenName?"@"+a.twitterScreenName:""+a.name)};z.Ws=function(a){pr.call(this,a);this.hu=this.hu;this.u_=this.u_;this.yB=this.yB;this.devicePixelRatio=this.devicePixelRatio;this.pathname=this.pathname;this.Wp=this.Wp;this.DJ=this.DJ;this.rF=!0;this.C(a)}; | |
Pia=function(){var a=z.Qm,b=window,c=b.document;a.hu=Xs(function(){return c.body.clientWidth});a.u_=Xs(function(){return Ys(c.body.clientWidth,Oia,200,!1)});a.yB=Xs(function(){return Ys(c.body.clientWidth||1200,Zs,200,!0)});a.devicePixelRatio=Xs(function(){return b.devicePixelRatio||1});a.pathname=$s(function(){return b.location.pathname});a.Wp=$s(function(){return b.location.toString()});a.DJ=Xs(function(){return(new Date).getTimezoneOffset()})};$s=function(a){return{toString:function(){return String(a())}}}; | |
Xs=function(a){return{valueOf:a,toString:function(){return String(Number(this))}}};Ys=function(a,b,c,d){a=(d?Math.ceil:Math.floor)(a/c)*c;return Math.max(Math.min(a,b.end),b.start)};z.at=function(a){return z.Ud(a,"section-divider")};z.bt=function(a){return"DIV"===a.tagName&&(z.Ud(a,"aspectRatioPlaceholder")||z.Ud(a,"aspectRatioPlaceholder-fill"))};z.ct=function(a){return z.Ud(a,"js-progressiveMedia")}; | |
z.dt=function(a,b,c,d){for(var e=c||a.ownerDocument,g=a&&1==a.nodeType&&b(a);a&&a!=e&&!g;)g=(a=a.parentNode)&&1==a.nodeType&&b(a);return c&&!d&&e==a||a&&e!=a&&!z.Og(e,a)||a&&!g?null:a};z.Qia=function(a){return"true"==a.contentEditable};z.et=function(a){tf(a.offsetHeight)};z.ft=function(a){a=a.tagName;return"OL"==a||"UL"==a};z.gt=function(a,b){return a.querySelector('[name\x3d"'+b+'"]')}; | |
z.ht=function(a){for(;a;a=a.parentNode){var b;b="true"==a.contentEditable?!0:"false"==a.contentEditable?!1:"INPUT"==a.tagName&&"text"==a.type||"TEXTAREA"==a.tagName?!0:void 0;if(z.ka(b))return b}return!1};z.it=function(a){a&&z.Vd(a,"u-hide")};z.jt=function(a){a&&z.de(a,"u-hide")};z.kt=function(a){return z.Ud(a,"u-hide")};z.lt=function(a){a=z.jg(a,null);return z.Nba(window.document,a)};z.mt=function(a){z.K.call(this);this.C(a)};z.nt=function(a){z.K.call(this);this.C(a)}; | |
z.ot=function(a){z.K.call(this);this.C(a)};z.pt=function(a,b,c){return(new z.Mp).Za(a).setStart(b).setEnd(c)};z.qt=function(a,b,c,d){return(c?b>=a.pc():b>a.pc())&&(d?b<=a.sc():b<a.sc())};Sia=function(a,b){var c=Ria[a.g()]-Ria[b.g()];if(0!==c)return c;c=a.pc()-b.pc();if(0!==c)return c;c=a.sc()-b.sc();return 0!==c?c:jb(JSON.stringify(z.rt.Vj(a)),JSON.stringify(z.rt.Vj(b)))};z.st=function(a,b,c,d,e,g){a=z.pt(3,a,b).ls(c).ec(d);e=z.I(a,"rel",e);return z.I(e,"anchorType",g||0)}; | |
z.tt=function(a,b,c){a=z.pt(3,a,b).fc(c);return z.I(a,"anchorType",2)};z.ut=function(a,b,c){return z.pt(4,a,b).Tb(c)};z.vt=function(a,b,c,d){a=z.pt(7,a,b).Tb(c.join(" "));return z.I(a,"creatorIds",d)};z.wt=function(){var a=z.n("Type caption for image (optional)");return(0,z.y)(""+a)};z.Tia=function(){var a=z.n("Type caption for embed (optional)");return(0,z.y)(""+a)};z.yt=function(a){return a?z.xt(a.bodyModel):new z.Gp};z.xt=function(a){return a?a instanceof z.Gp?a.clone():z.hp.tb(z.Gp,a):new z.Gp}; | |
z.Uia=function(a){return 5==a||4==a||11==a};z.zt=function(a){return 12==a||2==a||3==a||13==a||16==a};z.At=function(a){return 2==a||4==a||12==a};Bt=function(a,b){return 8==b?a.replace(/\xA0/g," "):a.replace(/[\s\xA0]/g," ")};z.Xia=function(a,b){if(4===a||11===a||!b.length)return 0;a=0;for(var c;c=Via.exec(b);)0!=c.index&&a++;Wia.test(b.charAt(b.length-1))||a++;Via.lastIndex=0;return a}; | |
z.Ct=function(a,b,c){var d=null,e=null,g=null;if(0==a)for(;a<=b;a++){var k=c(a);if(null!=d){13==k.type&&(e=a);break}else if(3==k.type||2==k.type)d=a;else if(null!=g)break;else if(13==k.type)g=a;else if(!(4==k.type||11==k.type||1==k.type&&z.Ca(k.ra())))break}return{iD:d,Sy:e,Hea:null==d?null:g}};z.Et=function(a,b,c){this.name=a||"";this.type=b;this.he=c;this.alignment=1;this.dn=!1;this.Xs=null;this.QA=this.nB=1;this.Hd=[];this.SA=null;Dt(this)};z.Ft=function(a,b){return a.he.charAt(b)}; | |
z.Ht=function(a){return a.dn&&a.AJ()?z.Gt(a.ra()):""};Dt=function(a){if(a.dn){var b=z.Gt(a.ra());if(b){var c=b.length;a.Hd=(0,z.be)(a.Hd,function(a){return a.sc()>c});a.Hd.forEach(function(a){a.pc()<=c&&a.setStart(0)})}}}; | |
z.Mt=function(a){var b;4==a.g()?(b=new z.It(a.getName(),a.ra(),a.me(),a.getMetadata()&&a.getMetadata().clone()),b.href=a.Dh()):b=11==a.g()?new z.Jt(a.getName(),a.ra(),z.H(a,"iframe")&&z.H(a,"iframe").clone(),a.me()):14==a.g()?new z.Kt(a.getName(),a.ra(),a.tu()&&a.tu().clone()):new z.Et(a.getName(),a.g(),a.ra());b.alignment=a.Hx();b.dn=a.U_();b.Xs=a.ou()&&a.ou().clone();b.nB=a.XH();b.QA=a.RH();if(a=z.Ip(a))for(var c=0;c<a.length;c++)z.Lt(b,a[c].clone());return b}; | |
z.Nt=function(a,b){a.Hd=(0,z.be)(a.Hd,function(a){return a.g()!=b})}; | |
z.Lt=function(a,b){if(b.sc()==b.pc())return!1;for(var c=a.Hd,d=0;d<c.length;d++){var e=c[d],g;g=e;var k=b;if(g.g()!=k.g())g=null;else if(!g.nd(k))if(7==g.g())g=null;else if(3==g.g()){var l;l=2==z.Np(g)?z.Np(g)==z.Np(k)&&g.Ua()==k.Ua():z.Np(g)==z.Np(k)&&g.Dh()==k.Dh()&&g.jb()==k.jb()&&z.H(g,"rel")==z.H(k,"rel");z.qt(g,k.pc(),!0,l)||z.qt(g,l?k.sc():k.sc()-1,!0,l)||z.qt(k,g.pc(),!0,l)?l?(l=Math.min(g.pc(),k.pc()),k=Math.max(g.sc(),k.sc()),g=2==z.Np(g)?z.tt(l,k,g.Ua()):z.st(l,k,g.Dh(),g.jb(),z.H(g,"rel"), | |
z.Np(g))):g=k:g=null}else g=4==g.g()?g.getName()==k.getName()?z.ut(Math.min(g.pc(),k.pc()),Math.max(g.sc(),k.sc()),g.getName()):null:z.qt(g,k.pc(),!0,!0)||z.qt(g,k.sc(),!0,!0)||z.qt(k,g.pc(),!0,!0)?z.pt(g.g(),Math.min(g.pc(),k.pc()),Math.max(g.sc(),k.sc())):null;if(g){if(g==e||g.nd(e))return!1;z.Ya(c,d);b=g;d=-1}}a.dn&&(c=z.Gt(a.ra()),b.pc()<=c.length&&b.setStart(0));a=a.Hd;c=hb(a,Sia||jb,!1,b);0>c&&z.eb(a,-(c+1),0,b);return!0}; | |
z.Ot=function(a,b,c){c=Math.min(c,a.he.length);a.he=a.he.substring(0,c)+b+a.he.substring(c);for(var d=a.Hd,e=0;e<d.length;e++){var g=d[e];(3==g.g()||a.SA?g.sc()>c:g.sc()>=c)&&g.setEnd(g.sc()+b.length);0!==g.pc()&&g.pc()>=c&&g.setStart(g.pc()+b.length)}a.SA&&a.SA.forEach(function(a){a.setStart(Math.min(c,a.pc()));a.setEnd(Math.max(b.length+c,a.sc()))});Dt(a)}; | |
z.Qt=function(a,b,c){b=Math.min(b,a.he.length);c=Math.min(c,a.he.length);var d=c-b;a.he=a.he.substring(0,b)+a.he.substring(c);c=a.Hd;for(var e=0;e<c.length;e++){var g=c[e];g.pc()>=b&&g.setStart(Math.max(g.pc()-d,b));g.sc()>=b&&g.setEnd(Math.max(g.sc()-d,b))}z.Pt(a);Dt(a)};z.Pt=function(a){a.SA||(a.Hd=(0,z.be)(a.Hd,function(a){return a.sc()>a.pc()}))}; | |
z.Yia=function(a){var b={0:!0};b[a.he.length]=!0;a=a.Hd;for(var c=0;c<a.length;c++){var d=a[c];b[d.pc()]=!0;b[d.sc()]=!0}b=z.tb(b);b=(0,z.Hb)(b,Number);z.kb(b);return b};z.Zia=function(a,b){a=a.Hd;for(var c=[],d=0;d<b.length;d++){var e=b[d],g=[];c.push(g);for(var k=0;k<a.length;k++){var l=a[k];z.qt(l,e,!0,!1)&&g.push(l)}}return c};z.It=function(a,b,c,d){z.Et.call(this,a,4,b);this.layout=c;this.Hc=d||new z.ep;this.href=""};z.Jt=function(a,b,c,d){z.Et.call(this,a,11,b);this.layout=d;this.Hc=c}; | |
z.Kt=function(a,b,c){z.Et.call(this,a,14,b);this.Hc=c};z.Rt=function(a){z.K.call(this);this.C(a)};z.St=function(a){this.$q=a};z.Tt=function(a,b){for(var c=z.Sr(a.Eq(),b),c=c?c.Oa():0;b>=c&&7==a.On(b);)b--;6!=a.On(b)&&b++;return b};z.$ia=function(a,b){var c=z.Rr(a.Eq(),b),d=a.bt().length,c=-1==c?d:z.Ur(a.Eq(),c,d);for(b+=1;b<=c&&7==a.On(b);)b++;return b};bja=function(a){for(var b=a.bt(),c={},d=0;d<b.length;d++)d in c||z.aja(a,d,c);return c}; | |
z.aja=function(a,b,c){var d=z.Tt(a,b);b=z.$ia(a,b);a=a.bt();if(a[d])if(6!=a[d].me())for(a=d;a<b;a++)c[a]=null;else{b=a.slice(d,b).map(function(a){var b=a.getMetadata();a=b&&b.ei()||0;b=b&&b.hl()||0;return z.Ut(a,b)});var e=b.reduce(function(a,b){return a+b},0);for(a=0;a<b.length;a++)c[d+a]=z.Ut(100*b[a],e)}};z.Vt=function(a){this.$q=a}; | |
z.Wt=function(a,b){var c=a.bt();if(0>b||b>=c.length)return!1;if(z.Sr(a.Eq(),b).Oa()===b)return!0;var d=a.On(b-1);a=a.On(b);if(d!=a)return!0;if("sectionLayout--outsetRow"!=a)return!1;b=c[b];return!!b&&6==b.me()};z.Xt=function(a,b){var c=a.On(b),d={layout:c};if("sectionLayout--outsetRow"==c){var c=b,e=a.bt();do c++;while(c<e.length&&!z.Wt(a,c));d.paragraphCount=c-z.cja(a,b)}return d};z.cja=function(a,b){for(;b&&!z.Wt(a,b);)b--;return b}; | |
z.Yt=function(a){var b=new z.fp({imageId:a.id||a.imageId||"",filter:a.filter||"",backgroundSize:a.backgroundSize&&"undefined"!==a.backgroundSize?a.backgroundSize:"",originalWidth:a.originalWidth||0,originalHeight:a.originalHeight||0,strategy:a.strategy||"",height:a.height||0,width:a.width||0});null!=a.focusPercentX&&0<=a.focusPercentX&&null!=a.focusPercentY&&0<=a.focusPercentY&&b.Fy(a.focusPercentX).Gy(a.focusPercentY);return b};z.Zt=function(a){return z.fi((new z.ep).Km(a.qu()).dv(a.ei()).cv(a.hl()).iJ(a.MB()).hga(a.BP()).Fy(a.S_()).Gy(a.T_()))}; | |
z.$t=function(a){return a.latestPublishedVersion?1==a.visibility?"unlisted":"public":"draft"};dja=function(a,b,c){var d=a.vl&&a.vl[b];return d?d:z.os(b,"public"!=a.uj&&"export"!=a.mode,c)};z.Gt=function(a){var b=eja.exec(a),b=b?b[0]:"";return b.length>=(0,z.La)(a).length?"":b};z.Ut=function(a,b){return b&&a?Math.round(a/b*1E3)/1E3:0}; | |
au=function(a){var b;a:{var c=a.iframe;try{b=c.contentWindow||(c.contentDocument?z.Ag(c.contentDocument):null);break a}catch(d){}b=null}b&&b.document&&b.document.body&&"about:blank"!==b.location.toString()&&(b=z.Uo(a.iframe),b=b.top+b.bottom,c=z.dt(a.iframe,z.bt))&&(c=c.querySelector(".aspectRatioPlaceholder-fill"),c.style.paddingBottom=(Math.round((a.height+b)/c.offsetWidth*1E5)/1E3).toString()+"%")}; | |
fja=function(a){a=z.qa(a)?a:a.type;return 5==a?"hr":4==a||11==a?"figure":14==a?"div":6==a||7==a?"blockquote":9==a||10==a?"li":12==a?"h1":2==a||16==a?"h2":3==a?"h3":13==a?"h4":1==a?"p":8==a?"pre":15==a?"label":"p"};z.bu=function(a){var b=z.qa(a)?a:a.type;a=fja(a);7==b?a="pullquote":14==b?a="mixtapeEmbed":15==b&&(a="sectionCaption");return a};cu=function(a){return(a=gja(a))?"markup--"+a:""}; | |
gja=function(a){var b=z.qa(a)?a:a.g();if(1==b)return"strong";if(2==b)return"em";if(6==b)return"comment";if(4==b)return"highlight";if(7==b)return"quote";if(5==b)return"warning";if(9==b)return"query";if(10==b)return"code";if(3==b)switch(z.Np(a)){case 1:return"audio";case 2:return"user";default:return"anchor"}return""};z.du=function(a){z.Nt(a,4);z.Nt(a,5);z.Nt(a,7);z.Nt(a,9)};z.eu=function(a,b){this.Gc=a;this.fb=b;this.U=new z.Ai(z.Pm(this.Gc));this.sw={};this.Q8={};this.fb.mode||(this.fb.mode="edit")}; | |
jja=function(a,b,c,d,e){var g=a.fb,k=a.Gc,l=new z.Vt(c),q=a.Eq(c),r=q[b];c=r.Oa();var q=z.Ur(q,b,d.length),t=q-1;if(c>=q)return"";var w=0==r.Oa(),C=q==d.length,J=!(!r.Tf()||!r.Tf().nb()||15!=d[t].type);b=z.hja(a,r,w,C,J,b);w=[];g.sections&&w.push(z.bea(b,k));for(var C=null,Q=!1,R=!0,S=t,ba=t;ba>=c;ba--)if(15!=d[ba].g()){S=ba;break}ba=null;z.Vr(r)||(ba=z.Ct(c,t,function(a){return d[a]}));for(r=c;r<q;r++){var X=d[r];g.sections&&z.Wt(l,r)&&(C&&w.push(String((0,z.y)("\x3c/div\x3e"))),r==t&&J&&(w.push(z.Dk(b, | |
k)),Q=!0),w.push(z.ija(z.Xt(l,r))));C&&w.push(fu(C,X));w.push(gu(X,C));var Fa=z.At(X.me());w.push(z.hu(a,X,{QO:!0,Dy:e[r],O0:c==r||R&&!Fa,EQ:!!ba&&ba.iD==r,CQ:!!ba&&ba.Sy==r,M0:!!ba&&ba.Hea==r,a1:r==t||r==S,eR:C?C.type:null}));R=R&&Fa;C=X}C&&w.push(fu(C,null));C&&g.sections&&w.push(String((0,z.y)("\x3c/div\x3e")));g.sections&&(Q||w.push(z.Dk(b,k)),w.push(z.cea(b,k)));return w.join("")}; | |
z.kja=function(a,b,c,d){for(var e=[],g=null,k=0;k<b.length;k++){var l=b[k].clone();z.du(l);if(c&&k>=c.start.paragraphIndex&&k<=c.end.paragraphIndex){var q=k==c.start.paragraphIndex?c.start.offset:0,r=k==c.end.paragraphIndex?c.end.offset:l.ra().length;l.ra()&&d&&(z.Qt(l,r,l.ra().length),z.Qt(l,0,q),r-=q,q=0);z.Lt(l,z.ut(q,r,"selection"))}g&&e.push(fu(g,l));e.push(gu(l,g));e.push(z.hu(a,l,{QO:!0,Dy:null,O0:!1,a1:!1,EQ:!1,CQ:!1,M0:!1,eR:g?g.type:null}));g=l}g&&e.push(fu(g,null));return e.join("")}; | |
z.hu=function(a,b,c){var d=a.fb,e=c||lja,g=b.type,k=["graf","graf--"+z.bu(b)];11==g?(k.push("graf--iframe"),a.Gc.variants.enable_third_party_embed_warning&&k.push("v-thirdParty")):16==g&&k.push("graf--coverTitle");b.U_()&&(k.push("graf--hasDropCapModel"),iu(a,b)&&(k.push("graf--hasDropCap"),b.ou()&&!a.Gc.isAmp&&k.push("graf--hasDropCapImage")));z.Uia(b.type)||b.ra()||k.push("graf--empty");var l=b.ra();l&&(-1!=mja.indexOf(l[0])?k.push("graf--startsWithDoubleQuote"):-1!=nja.indexOf(l[0])&&k.push("graf--startsWithSingleQuote"), | |
("draft"==d.uj||"edit"==d.mode)&&z.oja.exec(l)&&k.push("graf--containsTK"));b.layout&&(l=pja[b.layout]||"")&&k.push(l);null!=e.Dy&&k.push("is-partialWidth");e.eR&&d.Af&&k.push("graf-after--"+z.bu(e.eR));e.O0&&d.Af&&k.push("graf--leading");e.a1&&d.Af&&k.push("graf--trailing");e.EQ&&d.Af&&k.push("graf--title");e.CQ&&d.Af&&k.push("graf--subtitle");e.M0&&d.Af&&k.push("graf--kicker");l="";if("edit"==d.mode){4==g||11==g?l+=ju("tabindex","0")+ju("contenteditable","false"):5==g&&(l+=ju("contenteditable", | |
"false"));var q=b.le();q&&0<=q.focusPercentX&&0<=q.focusPercentY&&k.push("is-focusPointed")}b.name&&"textshot"!=d.mode&&!a.Gc.isAmp&&(l+=ju("name",b.name),"edit"!=d.mode&&d.Af&&(l+=ju("id",b.name)));15==g&&(l+=ju("data-default-value",String(z.wt())));b.alignment&&1!=b.alignment&&(l+=ju("data-align",qja[b.alignment]));b.XH()&&1!=b.XH()&&(l+=ju("data-translationStatus",rja[b.XH()]));b.RH()&&1!=b.RH()&&(l+=ju("data-purpose",String(b.RH())));k.length&&(l+=ju("class",k.join(" ")));null==e.Dy||a.Gc.isAmp|| | |
(l+=ju("style","width: "+e.Dy+"%;"));d=sja(a,b,e);e=(e.QO?"":gu(b,null))+"\x3c"+d+l+"\x3e"+tja(a,b,c);5==b.type?a="":(c=c||lja,a="\x3c/"+sja(a,b,c)+"\x3e"+(c.QO?"":fu(b,null)));return e+a}; | |
tja=function(a,b,c){var d=z.Yia(b),e=z.Zia(b,d),g=4==b.type,k=11==b.type,l="";if(g){if(l+=uja(a,b,c)+vja(a,b,c),!ku(a,b))return l}else if(k){if(l+=wja(a,b)+vja(a,b,c),!ku(a,b))return l}else if(5==b.type)return"";c=b.ra();8!=b.type&&(c=c.replace(/ — /g," — "),c=c.replace(xja,"$1 ").replace(yja," $1"),12==b.type||2==b.type||3==b.type||13==b.type||7==b.type||4==b.type)&&(c=z.Lh(c));var q=iu(a,b);q&&(l+=zja(a,b,q));for(var r=[],t=0;t<d.length;t++){for(var w=0===t,C=t==d.length-2,J=d[t],Q=e[t],R=0<(e[t- | |
1]||[]).filter(function(a){return 10===a.g()}).length,S=0<(e[t+1]||[]).filter(function(a){return 10===a.g()}).length,ba=void 0,ba=0;ba<Q.length;ba++){var X=Q[ba];if(r[ba]!=X){for(;r.length>ba;)l+=Aja(a,r.pop());var Fa="";10==X.g()&&(R&&(Fa+=" u-paddingLeft0 u-marginLeft0"),S&&(Fa+=" u-paddingRight0 u-marginRight0"));if(Fa=Bja(a,X,b,Fa))l+=Fa,r.push(X)}}for(;r.length>ba;)l+=Aja(a,r.pop());Q=d[t+1]||c.length;J<q.length&&(J=q.length);Q<q.length||(J=c.substring(J,Q).split("\n"),l+=(0,z.Hb)(J,a.Jna.bind(a, | |
b,J,w,C)).join("\x3cbr\x3e"),w=C&&1<J.length&&""===z.Ta(J),C=!c,5!=b.type&&(w||C)&&(l+="\x3cbr\x3e"))}g||k?l+="\x3c/figcaption\x3e":14==b.type&&(l+=Cja(a,b));return l};iu=function(a,b){return"preview"==a.fb.mode||"textshot"==a.fb.mode?"":z.Ht(b)}; | |
zja=function(a,b,c){var d='\x3cspan class\x3d"graf-dropCap"\x3e';b.ou()&&!a.Gc.isAmp&&(d+=uja(a,b)+'\x3cspan class\x3d"graf-dropCapText"\x3e');if(-1!=nja.indexOf(c[0])||-1!=mja.indexOf(c[0]))d+='\x3cspan class\x3d"graf-dropCapQuote"\x3e'+c[0]+"\x3c/span\x3e",c=c.substring(1);d+=z.Ea(c)+"\x3c/span\x3e";b.ou()&&(d+="\x3c/span\x3e");return d}; | |
uja=function(a,b,c){var d=a.fb,e=b.le(),g=b.layout,k=!1;e||(e=b.ou(),k=!0,g=2);var l=e&&e.originalWidth||0,q=e&&e.originalHeight||0;e&&z.lu.test(e.nb())&&(l/=2,q/=2);var r;k?(r=(r=Number(a.Gc.hu))&&767<r?111:63,r=q>r?new z.ng(Math.round(r*l/q),r):new z.ng(l,q)):r=Dja(a,l,q,b.g(),g);var t=0;(c=(c=c&&c.Dy)&&c/100)&&(t=Math.round(1E3*c));l=z.Ut(q,l);8==g?l=.42:10==g&&(l=.3);q=e&&e.nb()&&Eja(a,g,e,l,!1,c||1);t="view"!=d.mode||5==g||8==g||9==g||10==g||r&&e.ei()<=r.width||t&&e.ei()<=t;b=b.href;"preview"!= | |
a.fb.mode&&z.ps(b)||(b="");var w="";b&&d.lk&&!ms(b,a.Gc)&&(w="nofollow");var C=dja(a.fb,b,a.Gc),J="";k||"view"!=d.mode&&"preview"!=d.mode||(J=Eja(a,g,e,l,!0,c||1,!0,20));g=String;d={metadata:e||{},Pu:r,ratio:l,url:q,Gm:J,nFa:t,Dga:"copy"==a.fb.mode,mode:d.mode,href:C,rel:w,iWa:b&&ms(b,a.Gc),lC:k};a=a.Gc;e="";k=d.lC?"graf-dropCapImage":"graf-image";r=""+z.Ak(d)+(d.nFa||d.href||d.lC?"":' data-action\x3d"zoom" data-action-value\x3d"'+z.E(d.metadata.id)+'"');r=(0,z.$k)(r);d.Gm&&a.useragent.supportsProgressiveMedia&& | |
100<d.metadata.originalHeight?k=z.Pk({url:d.url,Gm:d.Gm,uI:d.lC,l:k,EB:r}):(k='\x3cimg class\x3d"'+z.E(k)+'"'+z.rh(r)+(d.url?' src\x3d"'+z.E(z.Eh(d.url))+'"':"")+"\x3e","edit"!=d.mode||d.lC?r="":(r=a||{},r=(0,z.y)('\x3cdiv class\x3d"crosshair u-ignoreBlock"'+(0<=d.metadata.focusPercentX&&0<=d.metadata.focusPercentY?'style\x3d"'+(r.Aa?"/*"+r.Aa+"*/":"")+"left: "+z.E(z.G(d.metadata.focusPercentX))+"%; top: "+z.E(z.G(d.metadata.focusPercentY))+'%"':"")+"\x3e\x3c/div\x3e")),k+=r);e+=dea(z.D({$ea:(0,z.M)(""+ | |
k)},d),a);a=(0,z.y)(e);return g(a)}; | |
Eja=function(a,b,c,d,e,g,k,l){g=Ys(z.qs(b)*(g||1)||1200,Zs,200,!0);9==b&&(g=Math.min(600,240/d));c={image:c,width:g,strategy:"resample",freeze:e};l&&(c.quality=l);8==b?z.Cb(c,{width:0,height:.42,cropType:"t",strategy:"crop-preserve"}):10==b&&z.Cb(c,{width:g,height:240,cropType:"t",strategy:"crop-fixed"});k&&(c.height?(b=new z.ng(c.width,c.height),b.width||(b.width=Number(a.Gc.yB)),og(b,Fja),c.width=b.width,"crop-preserve"!=c.strategy&&(c.height=b.height)):c.width=Math.min(c.width,Fja.width));return String(z.Bj(c, | |
0,a.Gc))};vja=function(a,b,c){if(!ku(a,b))return"";var d='\x3cfigcaption class\x3d"imageCaption"';"edit"==a.fb.mode&&(b=4==b.type?z.wt():11==b.type?z.Tia():"",d+=ju("contenteditable","true")+ju("data-default-value",String(b)));(c=c&&c.Dy)&&!a.Gc.isAmp&&(d+=ju("style","width: "+z.Ut(1E4,c)+"%; left: "+Math.round(1E3*(100-z.Ut(1E4,c)))/1E3+"%;"));return d+"\x3e"}; | |
wja=function(a,b){var c=b.pu();if(!c||!c.Qx())return"";var d=c.IP()||Gja.width,e=c.HP()||Gja.height,g=Dja(a,d,e,b.g(),b.layout),k="";if(c.WP()&&("view"==a.fb.mode||"preview"==a.fb.mode)){b=z.ls(c.WP());try{k="https://i.embed.ly/1/display/resize?"+b.dg.add("width",40).toString()}catch(l){df("Malformed URI: ",b.toString(),l.stack)}}b=String;c={tagName:"IFRAME",metadata:c,size:g,Gm:k,ratio:z.Ut(e,d),postId:a.fb.postId};a=a.Gc;d=z.y;e=c.Gm&&a.useragent.supportsProgressiveMedia?(0,z.y)(eea({Gm:c.Gm,Lfa:(0,z.M)('\x3cdiv class\x3d"iframeContainer"\x3e'+ | |
Ek({tagName:c.tagName,metadata:c.metadata,size:c.size,qEa:!0,l:"progressiveMedia-iframe js-progressiveMedia-iframe",postId:c.postId},a)+'\x3c/div\x3e\x3cnoscript class\x3d"js-progressiveMedia-inner"\x3e\x3cdiv class\x3d"iframeContainer"\x3e'+Ek(c,a)+"\x3c/div\x3e\x3c/noscript\x3e")})):'\x3cdiv class\x3d"iframeContainer"\x3e'+Ek(c,a)+"\x3c/div\x3e";a=d(dea(z.D({$ea:(0,z.M)(""+e)},c),a));return b(a)}; | |
Cja=function(a,b){var c=b.tu();if(c&&c.Qx()){b=String;c={metadata:c};a=(a=a.Gc)||{};var d="",e;c.metadata.href?e=z.F(c.metadata.href):(e=(0,z.y)(z.A(z.Ci(a,"MEDIA_RESOURCE_HREF",null,null,null,c.metadata.mediaResourceId))),e=z.F(e));e=(0,z.L)(""+e);d+='\x3ca href\x3d"'+z.E(z.F(e))+'" class\x3d"js-mixtapeImage mixtapeImage '+(c.metadata.thumbnailImageId?"":"mixtapeImage--empty ")+'u-ignoreBlock" data-media-id\x3d"'+z.E(c.metadata.mediaResourceId)+'"'+(c.metadata.thumbnailImageId?' data-thumbnail-img-id\x3d"'+ | |
z.E(c.metadata.thumbnailImageId)+'" style\x3d"'+(a.Aa?"/*"+a.Aa+"*/":"")+"background-image: url("+z.E(z.Eh(z.Aj(z.D({imageId:c.metadata.thumbnailImageId,strategy:"crop-fixed",width:160,height:160},c),0,a)))+');"':"")+"\x3e\x3c/a\x3e";c=(0,z.y)(d);b=b(c)}else b="";return b}; | |
Dja=function(a,b,c,d,e){if(8==e||6==e||7==e||10==e)return null;var g=z.qs(e);d=11==d;if(5==e)if(d&&Number(a.Gc.hu))g=Number(a.Gc.hu);else return null;5!=e&&d&&Number(a.Gc.hu)&&(g=Ys(Math.min(g,Number(a.Gc.hu)),Hja,35,!1));9==e&&(g=b/c*240);return(!d||5!=e&&3!=e?hia:gia)(new z.ng(b,c),g)};ku=function(a,b){return"edit"!=a.fb.mode&&z.Ca(b.ra())?!1:!0};sja=function(a,b,c){if("view"==a.fb.mode){if(c.EQ)return"h1";if(c.CQ)return"h2"}return fja(b)}; | |
ju=function(a,b){a=" "+z.Ea(a);null!=b&&(a+='\x3d"'+z.Ea(b)+'"');return a};gu=function(a,b){if(null!=b&&a.type==b.type)return"";a=a.type;if(9==a)a="ul";else if(10==a)a="ol";else return"";return"\x3c"+a+ju("class","postList")+"\x3e"};fu=function(a,b){if(null!=b&&a.type==b.type)return"";a=a.type;return 9==a?"\x3c/ul\x3e":10==a?"\x3c/ol\x3e":""}; | |
z.hja=function(a,b,c,d,e,g){var k=a.fb;if(!k.sections)return null;var l=["section"],q=Ija[b.g()];q&&l.push(q);(q=z.mu[z.Pp(b)])&&l.push(q);(q=Jja[z.Rp(b)])&&l.push(q);(q=Kja[z.Tp(b)])&&l.push(q);z.Xr(b)&&l.push("is-imageBackgrounded");b&&!z.Yr(z.Tp(b))&&l.push("is-videoBackgrounded");(q=z.Wr(b))&&l.push("is-backgrounded");var r=z.Rp(b);7==r||9==r?(r=b.Tf(),r=!!(r&&r.ei()&&r.hl())):r=1!=r||1!=b.mu()&&102>b.mu();r&&(l.push("is-darkBackgrounded"),l.push("u-imageSpectrum"));k.Af&&c&&l.push("section--first"); | |
k.Af&&d&&l.push("section--last");k.Af&&e&&l.push("is-aboveSectionCaption");(c=b.Tf())&&c.nb();return{name:!a.Gc.isAmp&&b.getName(),dga:l.join(" "),sectionIndex:k.Af?g:-1,sectionType:b.g(),imageLayout:z.Rp(b),videoLayout:z.Tp(b),textLayout:z.Pp(b),backgroundColor:Lja[b.mu()],backgroundImage:b.Tf(),backgroundVideo:z.H(b,"backgroundVideo"),hCa:z.Zr(b),OCa:!q&&!z.Vr(b)}}; | |
z.ija=function(a){var b=String;a=(0,z.y)('\x3cdiv class\x3d"section-inner '+z.E(a.layout)+'"'+(a.paragraphCount?' data-paragraph-count\x3d"'+z.E(a.paragraphCount)+'"':"")+"\x3e");return b(a)};Mja=function(a,b){a=a.Q8[b.Dh()];if(!a)return!1;b=401==a.httpStatus||403==a.httpStatus;return 400<=a.httpStatus&&500>a.httpStatus&&!b}; | |
Bja=function(a,b,c,d){var e=a.fb,g=b.g(),k;var l=gja(b);if(l){k="markup--"+l;var q=z.qa(b)?b:b.g();if(1==q||2==q||3==q||7==q||10==q)k+=" markup--"+z.bu(c)+"-"+l;7==q&&(l=z.H(b,"creatorIds")||[],(q=z.Xa(l,a.Gc.currentUser.userId))&&(k+=" is-me"),!q||1<l.length)&&(k+=" is-other")}else k="";d=k+d;if("textshot"==a.fb.mode)return 1==g?"\x3cstrong\x3e":2==g?"\x3cem\x3e":4==g?"\x3cmark\x3e":10==g?"\x3ccode\x3e":"";if(1==g)return'\x3cstrong class\x3d"'+d+'"\x3e';if(2==g)return'\x3cem class\x3d"'+d+'"\x3e'; | |
if(6==g||5==g||9==g)return'\x3cspan class\x3d"'+d+'"\x3e';if(4==g)return'\x3cspan class\x3d"'+d+'" '+(b.getName()?' name\x3d"'+z.Ea(b.getName())+'"':"")+"\x3e";if(7==g)return a=z.H(b,"creatorIds")||[],'\x3cspan class\x3d"'+d+'" name\x3d"'+z.Ea(b.getName())+'" data-creator-ids\x3d"'+z.Ea(a.join(" "))+'"\x3e';if(10==g)return'\x3ccode class\x3d"'+d+'"\x3e';if(3==g){g=z.Np(b);k=Zda;"preview"==a.fb.mode&&(k=aea);Mja(a,b)&&a.fb.dk&&-1<["preview","view"].indexOf(a.fb.mode)&&(k=$da);var r=z.os(b.Dh(),!1, | |
a.Gc);2==g&&"preview"!=a.fb.mode&&(a.sw[b.Ua()]?a.sw[b.Ua()].$j()?r=a.U.R(z.nu,{username:a.sw[b.Ua()].$j()}):(l=Error("Missing username for mentioned user"),z.bf(l,"userId",b.Ua()),of(l),r=a.U.R(z.ou,{userId:b.Ua()})):r=a.U.R(z.ou,{userId:b.Ua()}));if(2!=g&&!z.ps(r))return"";var l=b.jb(),q={},t=(0,z.La)(z.H(b,"rel"));t&&(q[t]=!0);if(3!=b.g()||14==c.g())t=!1;else if(t=b.Dh()||"",z.Aa(t,"#"))t=!1;else{var w=a.fb.postId;-1!=t.indexOf("#")&&w&&-1!=t.indexOf(w)?t=!1:(t=0==z.Np(b),w=2==z.Np(b),t=t||w)}var C= | |
ms(r,a.Gc),w=dja(a.fb,r,a.Gc);!C&&e.lk&&(q.nofollow=!0);!C&&r==w&&t&&(q.noopener=!0);1==g&&(q.nofollow=!0,l="Play Audio");C=b.Ua();b=2!=g&&!q.token&&"edit"==e.mode&&r&&r!=c.ra().substring(b.pc(),b.sc());return String(k({href:w,title:l,rel:Object.keys(q).join(" "),anchorType:g,YFa:b,YQ:d,userId:C,rga:t},null,a.Gc))}return""}; | |
Aja=function(a,b){var c=b.g();return"textshot"==a.fb.mode?1==c?"\x3c/strong\x3e":2==c?"\x3c/em\x3e":4==c?"\x3c/mark\x3e":10==c?"\x3c/code\x3e":"":1==c?"\x3c/strong\x3e":2==c?"\x3c/em\x3e":10==c?"\x3c/code\x3e":3==c?2==z.Np(b)||z.ps(b.Dh())?"preview"==a.fb.mode||Mja(a,b)&&a.fb.dk?"\x3c/span\x3e":"\x3c/a\x3e":"":5==c||6==c||7==c||4==c||9==c?"\x3c/span\x3e":""};z.pu=function(a,b,c){this.start=a;this.end=b;this.CG=c;this.BM=!1};z.ru=function(a,b,c,d,e){return new z.pu(z.qu(a,b),z.qu(c,d),e)}; | |
z.qu=function(a,b){return z.Dp((new z.Cp).Za(1).ps(a),b)};z.su=function(a,b){this.W=a;this.kG=a.title||"";this.xN=a.content||{};this.$q=b||z.yt(a.content);this.bU=a.coverless||!!(a.content&&a.content.postDisplay&&a.content.postDisplay.coverless);this.qM={};this.Qk=null}; | |
z.tu=function(a,b,c,d){a.qM={};var e=[],g=a.xN.image;g&&(g=z.ei(z.Zt(z.Yt(g))));!a.bU&&g&&g.id&&e.push(g);c=a.Sb(b,c);var g=a.uc(),k=g[0],l=0,q=k?z.Ur(g,l,c.length):-1;for(b=0;b<c.length;b++){var r=c[b],t=r.getMetadata();4!=r.g()||!t||!t.isFeatured&&d&&r.Dh()||(a.qM[t.id]=b,e.push(t));b+1==q&&(k.Tf()&&(a.qM[k.Tf().id]=b+1,e.push(k.Tf())),q=(k=g[++l])?z.Ur(g,l,c.length):-1)}return e};Nja=function(a,b){var c=0;a.Sb(0,b).forEach(function(a){c+=a.ra().replace(/ /g,"").length});return c}; | |
Oja=function(a,b){var c=a.Uca(0,b),d=Math.min(9,c),c=(3*Math.max(0,c-9)+(13*d-d*(d+1)/2))/60,d=a.W.detectedLanguage;if("zh"==d||"ko"==d||"ja"==d)return a=Nja(a,b)/500,c+a;a=a.dda(0,b)/265;return c+a}; | |
z.vu=function(a,b,c){var d=z.Qm,e=a.postView&&a.postView.cleanContent||a.content,g=z.yt(e),k=new z.Rt,l=[];a.links&&a.links.entries?l=a.links.entries:a.virtuals&&a.virtuals.links&&a.virtuals.links.entries&&(l=a.virtuals.links.entries);e&&e.image&&k.Nd(z.Yt(e.image));a=z.uu(g,d,{mode:b,uj:z.$t(a),vl:null,sections:!0,lk:d.isAuthDomainRequest?"edit"!=b:!1,dk:d.variants.enable_hide_broken_links,Zk:!0,Af:!0,postId:a.id},c,l);k.lJ(a);return k};z.uu=function(a,b,c,d,e){return(new z.eu(b,c)).O3(a,d,e)}; | |
z.wu=function(a,b,c){return tja(new z.eu(b,c),a,void 0)};z.Pja=function(a){if(-1!=a.lastIndexOf("/"))return{postId:"",slug:""};var b=a.lastIndexOf("-");return-1==b?{postId:a,slug:""}:{postId:a.substring(b+1),slug:a.substring(0,b)}};xu=function(a,b){this.Gc=a;this.jA=b.paragraphs.map(function(a){return z.Mt(a)});this.PG=b.kd();this.dA=b.ke()};Qja=function(a){a.jA.forEach(function(a){return a.Za(1)});return a};Rja=function(a){a.jA.forEach(function(a){a.UC(!1);z.Nt(a,3)});return a}; | |
z.yu=function(a){return a.length?a[0]:null};z.zu=function(a){return!a||!a.length};z.Au=function(a){return!!a.match(Sja)};z.Bu=function(a,b){return z.Xa(a&&a.collectionFeatures||[],b)};Cu=function(a){return!!a&&2===a.lockedPostSource};z.Xl=function(a){return!!a&&!!a.mediumMemberAt};z.Du=function(a){return!!a&&(!!a.fastrakInvitedAt||!!a.isWriterProgramInvited)};z.pl=function(a){return"“"+a.replace(/“/g,"‘").replace(/â€/g,"’")+"â€"};z.Eu=function(a){return a&&a.contentKind===z.$g?a:(0,z.y)(String(a))}; | |
z.Wi=function(a){return a&&a.contentKind===xh?a:(0,z.ri)(String(a))};z.Hj=function(a){if(!z.pa(a))return a;-1==Fu.indexOf(a.charAt(a.length-1))&&(a+=".");return a};Tja=function(a,b){var c=Math.min(a.originalWidth,1920),d=Math.floor(c/a.originalWidth*a.originalHeight);a=z.Bj({image:a,width:c,strategy:"resample"},0,b);return{"@type":"ImageObject",width:c,height:d,url:a.toString()}}; | |
eda=function(a,b,c,d,e){var g=new Date(a.firstPublishedAt||a.acceptedAt||a.createdAt),k=new Date(a.updatedAt),l=a.virtuals,q=a.creator,r=a.approvedHomeCollection,t;t=r&&r.ampLogo&&r.ampLogo.originalWidth?r.ampLogo:r&&r.logo&&r.logo.originalWidth?r.logo:z.hp.tb(z.ep,{id:e.j.mGa,originalWidth:545,originalHeight:106,alt:"Medium Logo"});g={"@context":"http://schema.org","@type":"NewsArticle",image:[],url:d,dateCreated:g.toISOString(),datePublished:g.toISOString(),dateModified:k.toISOString(),headline:a.title, | |
name:a.title};if(l){k=l.previewImage;g.image=k&&k.originalWidth?Tja(k,e):Tja(t,e);g.image&&g.image.url&&(g.thumbnailUrl=g.image.url);var w=[];l.tags&&l.tags.forEach(function(a){a.name?w.push("Tag:"+a.name):a.slug&&w.push("Tag:"+a.slug)});l.topics&&l.topics.forEach(function(a){a.name?w.push("Topic:"+a.name):a.slug&&w.push("Topic:"+a.slug)});r&&(r instanceof z.Vp||"Collection"==r.type)&&w.push("Publication:"+r.slug);b&&b.slug&&w.push("Sequence:"+b.slug);w.push("LockedPostSource:"+a.lockedPostSource); | |
w.push("Elevated:"+a.isElevate);w.push("LayerCake:"+a.layerCake);w.length&&(g.keywords=w)}q&&(q instanceof z.kp||"User"==q.type)?(a=z.Ci(e,"SHOW_USER",null,r,q),g.author={"@type":"Person",name:q.name||q.username,url:a},g.creator=[q.name]):c&&(g.creator=[c]);q={"@type":"Organization",name:e.productName,url:z.Ci(e,"HOME",null,null,null)};r&&(r instanceof z.Vp||"Collection"==r.type)&&(q=z.Ci(e,"COLLECTION_HOME",null,r,null),q={"@type":"Organization",name:r.name,url:q});r=Math.min(t.originalHeight,60); | |
a=Math.floor(r/t.originalHeight*t.originalWidth);e=z.Bj({image:t,width:a,strategy:"resample"},0,e);a&&(q.logo={"@type":"ImageObject",width:a,height:r,url:e.toString()});g.publisher=q;d&&(g.mainEntityOfPage=d.toString());d=JSON.stringify(g);d=d.replace(/</g,"\\u003C").replace(/>/g,"\\u003E");return Uja(d)};z.Fi=function(a,b,c){a=new z.Ie(String(a));for(var d in b)null!=b[d]&&(c&&c&&c.useragent&&c.useragent.isBot&&"source"==d||z.Xe(a,d,b[d]));return a.toString()}; | |
z.xm=function(a,b){return Rja(Qja(new xu(a||new z.Ws({}),b))).trim(100).O3(!0)};z.Gu=function(a){var b=a.paragraphs[0];return b&&b.text.substring(a.startOffset,a.endOffset)};z.el=function(a){return(0,z.y)(z.fia(a,{sza:!1,tza:!1,Qea:!0}))};z.Hu=function(a,b){var c=b?b.authBaseUrl:"";b=z.y;a=dia(a,{rel:"nofollow",target:""});c||(c="");a=a.replace(Vja,'$1\x3ca href\x3d"'+c+'/@$2" title\x3d"Medium profile for @$2"\x3e@$2\x3c/a\x3e');return b(a)}; | |
z.Ci=function(a,b,c,d,e,g){var k=new z.Ai(a.authBaseUrl),l=c&&(c.postId||c.id);c=e&&e.username;var q=d&&d.slug;a=a.useragent&&a.useragent.isBot;switch(b){case "SHOW_ACCT_SIGN_IN":return k.R(z.Iu,null,g?{redirect:g}:null);case "ACCT_SIGNOUT":if(!g)throw Error("xsrf required");return z.Nm(Wja,{xsrf:g});case "SHOW_BOOKMARKS":return k.R(Xja);case "NEW_STORY":return k.R(z.Ju,null,g&&!a?{source:g}:null);case "SHOW_IMPORT_POST":return k.R(z.Ku,null,g&&!a?{source:g}:null);case "SHOW_COLLECTION_CREATE":return k.R(z.Lu); | |
case "HOME":return k.R(z.Mu);case "SHOW_ONBOARDING2":return k.R(Nu,null,g&&!a?{source:g}:null);case "SHOW_TAG_POSTS":return k.R(Yja,{tagSlug:g});case "SHOW_TAG_POSTS_LATEST":return k.R(Zja,{tagSlug:g});case "SHOW_TOP_WRITERS_IN_TAG":return k.R($ja,{tagSlug:g});case "STATS":return k.R(aka);case "PARTNER_DASHBOARD":return k.R(bka);case "PARTNER_ENROLL":return g?k.R(z.Ou,{step:g}):k.R(cka);case "PARTNER_LANDING":return k.R(dka);case "REDIRECT_TO_PAYOUT_DASHBOARD":return k.R(eka);case "SHOW_PARTNER_PROGRAM_APPLICATION":return k.R(fka); | |
case "SUBSCRIBE_TOPIC":return k.R(z.Pu,{topicSlug:g});case "SUBSCRIBE_TOPIC_AND_REDIRECT":return k.R(Qu,{topicSlug:g});case "SHOW_TOPIC":return k.R(z.Ru,{topicSlug:g});case "SHOW_PARTNER_TAXES":return k.R(gka);case "SHOW_ADD_POSTS_TO_TOPIC":return k.R(hka,{topicSlug:g});case "USER_STATS":return k.R(z.Su,{username:e});case "USER_STATS_RESPONSES":return k.R(z.Tu,{username:e});case "USER_STATS_SERIES":return k.R(z.Uu,{username:e});case "EXPORT_CONTENT":return k.R(z.Vu);case "SHOW_YOUR_COLLECTIONS":return k.R(z.Wu); | |
case "SETTINGS":return k.R(z.Xu);case "YOUR_STORIES":return k.R(z.Yu,{filterBy:g});case "TOP_STORIES_2":return k.R(ika);case "APPS_LANDING":return k.R(jka);case "OAUTH_AUTHORIZATION":return k.R(kka);case "NEW_OAUTH_APPLICATION":return k.R(lka);case "OAUTH_APPLICATIONS_LIST":return k.R(z.Zu);case "OAUTH_APPLICATION_SETTINGS":return k.R(z.$u,{oauthApplicationId:g});case "MIGRATION":return k.R(z.av,{collectionSlug:d&&d.slug});case "MEDIA_RESOURCE_EMBED":return k=g[0],(d=g[1])?z.Nm(mka,{mediaResourceId:k}, | |
{postId:d}):z.Nm(mka,{mediaResourceId:k});case "MEDIA_RESOURCE_HREF":return z.Nm(nka,{mediaResourceId:g});case "SEARCH":return k.R(z.bv);case "SEARCH_USERS":return k.R(z.cv);case "SEARCH_COLLECTIONS":return k.R(z.dv);case "SEARCH_TAGS":return k.R(z.ev);case "REQUEST_CONFIRM":return k.R(oka,{token:g});case "POST":return k.R(z.Fm,{postId:g});case "PROFILE_HOME_REDIRECT":return k.R(z.ou,{userId:g});case "API_TAG_SUBSCRIBE":return k.R(pka,{tagSlug:g});case "SHOW_CATALOG":return k.R(z.fv,{catalogSlug:g}); | |
case "NEW_CATALOG":return k.R(z.gv);case "SHOW_SERIES":return k.R(z.hv,{postId:g});case "SHOW_SERIES_CREATE":return k.R(z.Lv);case "SHOW_YOUR_SERIES":return k.R(z.Mv,{filterBy:g});case "FOLLOWS_DEFAULT":return k.R(qka);case "FOLLOWS":return k.R(z.Nv,{entityName:g});case "_ADMIN_COLLECTION_DEBUGGER":return k.R(rka,{},{collectionSlug:g});case "_ADMIN_USER":return k.R(ska,{username:g});case "EXPORT":return k.R(z.Vu);case "SHOW_USER_FOLLOWING":return k.R(z.Ov,{username:e.username});case "SHOW_USER_FOLLOWERS":return k.R(z.Pv, | |
{username:e.username});case "SHOW_MEDIUM_ABOUT":return k.R(tka);case "SHOW_MEDIUM_MEMBERSHIP_UPGRADE":return k.R(uka);case "SHOW_MEDIUM_MEMBERSHIP_PAYMENT":return k.R(Qv);case "SHOW_SUBSCRIPTIONS_LANDING":return k.R(Rv);case "SHOW_READING_LIST":return k.R(vka,{activeTab:g});case "NETWORK_STREAM":return k.R(wka);case "AUTHOR_STREAM":return k.R(xka);case "PUBLICATION_STREAM":return k.R(yka);case "SHOW_SEQUENCE":return k.R(z.Sv,{sequenceSlug:g});case "SHOW_SEQUENCE_LIBRARY":return k.R(zka);case "SHOW_EDIT_SEQUENCE":return k.R(z.Tv, | |
{sequenceSlug:g});case "SHOW_CREATE_SEQUENCE":return k.R(Aka);case "ADMIN_UPDATE_POPCHUNK":return k.R(Bka,{popchunkId:g});case "ADMIN_CREATE_POPCHUNK":return k.R(Cka);case "ADMIN_MANAGE_POPCHUNKS":return k.R(Dka);case "ADMIN_SHOW_DELETED_POPCHUNKS":return k.R(Eka);case "ADMIN_CURATION_TOOL_INDEX":return k.R(Fka);case "ADMIN_TOP_STORIES_INDEX":return k.R(Gka);case "ADMIN_CURATION_TOOL_FETCH_TOP_POSTS_IN_TOPIC":return k.R(Hka,{topicId:g});case "ADMIN_CURATION_TOOL_FETCH_EMERGING_POSTS_IN_TOPIC":return k.R(Ika, | |
{topicId:g});case "ADMIN_CURATION_TOOL_FETCH_MOMENTUM_POSTS_IN_TOPIC":return k.R(Jka,{topicId:g});case "ADMIN_CURATION_TOOL_FETCH_TOP_POSTS":return k.R(Kka);case "ADMIN_CURATION_TOOL_FETCH_EMERGING_POSTS":return k.R(Lka);case "ADMIN_CURATION_TOOL_FETCH_MOMENTUM_POSTS":return k.R(Mka);case "ADMIN_CURATION_TOOL_FETCH_TOP_HIGHTOWER_POSTS":return k.R(Nka);case "ADMIN_CURATION_TOOL_FETCH_MOMENTUM_HIGHTOWER_POSTS":return k.R(Oka);case "ADMIN_CURATION_TOOL_FETCH_HIGHTOWER_POSTS_BY_LOCKED_AT":return k.R(Pka); | |
case "ADMIN_CURATION_TOOL_FETCH_HIGHTOWER_POSTS_BY_PUBLISHED_AT":return k.R(Qka);case "ADMIN_CURATION_TOOL_FETCH_NEXT_POST_FROM_MASTER_FEED":return k.R(Rka);case "ADMIN_CURATION_TOOL_FETCH_NEXT_HIGHTOWER_POST_FOR_CURATOR":return k.R(Ska,{},{order:g});case "ADMIN_CURATION_TOOL_FETCH_NEXT_CANDIDATE_POST_FOR_CURATOR":return k.R(Tka,{},{listName:g});case "ADMIN_HIGHTOWER_SHOW_WEEKLY_ENGAGEMENTS":return k.R(Uka,{batchId:g});case "SHOW_MEMBER_BILLING_HISTORY":return k.R(Vka);case "SHOW_CANCEL_MEMBERSHIP":return k.R(Wka); | |
case "POST_EDIT":return k.R(z.Uv,{postId:l||g});case "SHOW_CREATORS_LANDING":return k.R(Xka);case "SHOW_TOPIC_EXPLORE":return k.R(Yka);case "ADMIN_SHOW_EDIT_EXPERIMENT":return k.R(Zka,{experimentId:g});case "SHOW_CURATION_CANDIDATE_POSTS":return k.R($ka,{listName:g});case "SHOW_FASTRAK_LANDING":return k.R(ala)}if(l)switch(b){case "POST_INFO":return k.R(z.Vv,{postId:l});case "POST_INFO_HIDDEN":return k.R(z.Wv,{postId:l,order:"oldest",filter:"hidden"});case "NEW_RESPONSE":return k.R(z.Xv,{inResponseToPostId:l}); | |
case "_UPVOTE_POST":return k.R(bla,{postId:l},g?{token:g}:null);case "_BOOKMARK_POST":return k.R(cla,{postId:l});case "POST_REFERRERS":return k.R(dla,{postId:l});case "SHOW_STATS_POST":return k.R(ela,{postId:l})}if(!("SHOW_USER"!=b||e&&e.userId))return df("SHOW_USER route was called with an invalid user."),"/m/errors/404";if(e&&e.userId){if("API_USER_SUBSCRIBE"==b)return k.R(fla,{userId:e.userId});if("EMAIL_SETTINGS"==b)return k.R(gla,{userId:e.userId,hash:g&&String(g)||""});if(l&&"API_USER_SUBSCRIBE_FROM_POST"== | |
b)return k.R(hla,{userId:e.userId,postId:l})}a={SHOW_USER:z.nu,PROFILE_RECOMMENDED:ila,PROFILE_HAS_RECOMMENDED:jla,PROFILE_HIGHLIGHTS:z.Yv,PROFILE_LATEST:z.Zv,PROFILE_COLLECTIONS:z.$v,PROFILE_RESPONSES:kla};if(a[b])return d&&d.domain?(g=a[b],b={username:c},k=Om(k,d.domain)+g.Vb(b,void 0)):k="SHOW_USER"!=b||c?k.R(a[b],{username:c}):k.R(z.ou,{userId:e.userId}),k;e={CATALOG_UNDER_USER:z.aw,EDIT_CATALOG_UNDER_USER:lla};if(e[b])return k.R(e[b],{username:c,catalogSlug:g});e={SHOW_CATALOG:z.fv,EDIT_CATALOG:mla}; | |
if(e[b])return k.R(e[b],{catalogSlug:g});if(q){if("API_COLLECTION_SUBSCRIBE"==b)return k.R(nla,{collectionSlug:q});if(l&&"API_COLLECTION_SUBSCRIBE_FROM_POST"==b)return k.R(ola,{collectionSlug:q,postId:l});if("COLLECTION_STORIES_MANAGER"==b)return k.R(z.bw,{collectionSlug:q,filterBy:g})}e={COLLECTION_HOME:z.Im,COLLECTION_SUBMISSIONS:cw,COLLECTION_STORIES_MANAGER:z.bw,COLLECTION_STATS:z.dw,COLLECTION_STATS_OVERVIEW:z.ew,COLLECTION_FEATURED:pla,COLLECTION_TRENDING:qla,COLLECTION_LATEST:z.fw,SHOW_COLLECTION_MASTHEAD:z.gw, | |
COLLECTION_TAGGED:rla,COLLECTION_SEARCH:z.hw,FEED_COLLECTION:iw,SHOW_USER_FILTER_BY_COLLECTION:z.jw};if(d&&e[b])return l={},"COLLECTION_TAGGED"==b&&(l.tagSlug=g&&z.Gs(String(g))),"SHOW_USER_FILTER_BY_COLLECTION"==b&&(l.username=c),k.gj(e[b],d,l);if(d&&"COLLECTION_ARCHIVE_BUCKET"==b)return g?g.month?g.day?k.gj(sla,d,{collectionSlug:d&&d.slug,year:g.year,month:g.month,day:g.day}):k.gj(tla,d,{collectionSlug:d&&d.slug,year:g.year,month:g.month}):k.gj(ula,d,{collectionSlug:d&&d.slug,year:g.year}):k.gj(vla, | |
d,{collectionSlug:d&&d.slug});if(g&&"TAG_ARCHIVE_BUCKET"==b)return d=g[0],(g=g[1])?g.month?g.day?k.R(wla,{tagSlug:d.slug,year:g.year,month:g.month,day:g.day}):k.R(xla,{tagSlug:d.slug,year:g.year,month:g.month}):k.R(yla,{tagSlug:d.slug,year:g.year}):k.R(zla,{tagSlug:d.slug});e={CUSTOM_DOMAIN_WRAPPER_COLLECTION_STORIES_MANAGER:z.bw};if(d&&d.domain&&e[b])return c={},"CUSTOM_DOMAIN_WRAPPER_COLLECTION_STORIES_MANAGER"==b&&(c.filterBy=g),g=e[b],Om(k,d.domain)+g.Vb(c,void 0);e={SHOW_COLLECTION_INSTANT_ARTICLES_PAGE_PICK:z.kw, | |
SHOW_EDIT_COLLECTION_MASTHEAD:Ala,COLLECTION_NEW_STORY:z.lw,SHOW_COLLECTION_LETTERS_SETTINGS:z.mw,SHOW_COLLECTION_NAVIGATION_SETTINGS:Bla,SHOW_COLLECTION_SETTINGS:z.nw,SHOW_COLLECTION_TAKEOVERS:z.ow,SHOW_COLLECTION_TAKEOVER_CREATE:Cla,SHOW_COLLECTION_TOPIC_CREATE:z.pw,SHOW_COLLECTION_TOPIC_LIST:z.qw,SHOW_COLLECTION_PARTNER_DASHBOARD:Dla};if(q&&e[b])return k.R(e[b],{collectionSlug:q});if(q&&g&&"SHOW_COLLECTION_TAKEOVER_EDIT"==b)return k.R(Ela,{collectionSlug:q,takeoverId:g});if(q&&g&&"SHOW_COLLECTION_TOPIC_EDIT"== | |
b)return k.R(z.rw,{collectionSlug:q,topicSlug:g});if(q&&g&&"SHOW_COLLECTION_TOPIC"==b)return k.R(z.sw,{collectionSlug:q,topicSlug:g});if(q&&"SHOW_COLLECTION_SUBMITTED_POSTS"==b)return k.R(z.tw,{collectionSlug:q});e=d&&(d.id||d.collectionId);if("COLLECTION_DIRECT"==b&&(e||g))return k.R(z.uw,{collectionId:e||g});if("COLLECTION_FOLLOWERS"==b&&q)return k.R(Fla,{collectionSlug:q});if(l&&q&&"_UPVOTE_POST_IN_COLLECTION"==b)return k.R(Gla,{postId:l,collectionSlug:q},g?{token:g}:null);if(l&&"SHOW_ACCEPTED_FEATURE_LOCK_POST_REQUEST"== | |
b)return k.R(Hla,{postId:l,token:g});if("COLLECTION_FEED"==b)return k.gj(iw,d);if(g&&"COLLECTION_TAG_FEED"==b)return k.gj(Ila,d,{tagSlug:g});if(g&&"TAG_FEED"==b)return k.R(Jla,{tagSlug:g});if(g&&"TOPIC_FEED"==b)return k.R(Kla,{topicSlug:g});if(g&&"CATALOG_FEED"==b)return k.R(Lla,{catalogSlug:g});if("USER_FEED"==b)return k.R(Mla,{username:c});if("FEED_USER_RECOMMENDS"==b)return k.R(Nla,{username:c})}; | |
z.Dm=function(a){if(!(a.content&&a.content.bodyModel&&a.content.bodyModel.paragraphs))return"";var b=[];a.content.bodyModel.paragraphs.forEach(function(a){1===a.type&&100<a.text.length&&b.push(a.text)});return z.Sh(b.join(" "),200)};z.vw=function(a){return a?Bia(a):""};z.ww=function(a){a=a?As(Cs(a)):"";return(0,z.Dj)(a)};Ola=function(a){if(!a)return(0,z.Dj)("");a=Cs(a);a[3]=0;return(0,z.Dj)(As(a))};z.xw=function(a,b){a=z.Fs(a,b);return z.vw(a.color)}; | |
yw=function(a,b){a=z.Fs(a,b);a=As(Cs(a.color));return(0,z.Dj)(a)};Fj=function(a,b,c){var d=0,e=0;a.originalWidth&&a.originalHeight?(d=a.originalWidth,e=a.originalHeight):a.width&&a.height&&(d=a.width,e=a.height);a=c;d&&e&&(a=Math.min(c,b*d/e));return Math.round(a)}; | |
Pla=function(a,b){var c=null,d=[];if(!b)return null;b instanceof z.Lq&&(d=b.virtuals.tags.map(function(a){return a.slug}));for(var e=0;e<a.length;e++){var g=a[e];if(b instanceof z.Lq){if("postId"==g.source&&g.postId==b.id)return g;"tagSlug"==g.source&&!c&&z.Xa(d,g.tagSlug)&&(c=g)}if(b instanceof z.ot&&"topicId"==g.source&&g.topicId==b.topicId)return g}return c};z.em=function(a,b){return z.zu(a)?!1:z.Xa(a,b)};zw=function(a){if(!a)return!0;z.Bs.test(a)||(a=z.Ds(a));return 65<z.Es(a).Lo}; | |
Qla=function(a){return a.tintColor&&2==a.colorBehavior?!!a.lightText:!1};Rla=function(a){return a.tintColor&&2==a.colorBehavior?!a.lightText:!1}; | |
z.pm=function(a){a=a||{};var b=["uiScale"];switch(a.Xa){case "large":b.push("uiScale-ui--large");break;case "small":b.push("uiScale-ui--small");break;default:b.push("uiScale-ui--regular")}switch(a.caption){case "small":b.push("uiScale-caption--small");break;default:b.push("uiScale-caption--regular")}switch(a.theme){case "sea":b.push("uiScale-theme--brandSea");break;case "sage":b.push("uiScale-theme--brandSage");break;case "sky":b.push("uiScale-theme--brandSky");break;case "plum":b.push("uiScale-theme--brandPlum"); | |
break;case "rose":b.push("uiScale-theme--brandRose");break;case "sand":b.push("uiScale-theme--brandSand");break;case "black":b.push("uiScale-theme--brandBlack")}return b.join(" ")};z.Aw=function(){return z.hp.tb(z.kp,z.rr().Jb())};z.Bw=function(a,b){return a(b||{},null,z.Qm)};z.Cw=function(a,b,c){a.innerHTML=z.Bw(b,c)};z.Dw=function(a,b){return String(z.Bw(a,b))};z.Ew=function(a,b){return z.lt(z.Dw(a,b))};Sla=function(){return"pushState"in window.history&&"replaceState"in window.history&&-1==dc.toLowerCase().indexOf("silk")}; | |
z.Fw=function(){return z.Uq().isMobile||z.Uq().isTablet};z.Gw=function(){return!(z.Uq().isMobile||z.Uq().isTablet)};Hw=function(){return"serviceWorker"in window.navigator};z.Iw=function(){return 767>=window.innerWidth};Tla=function(a,b){a=z.pa(a)?new z.Ie(a):a;return a.If&&"http"!==a.If&&"https"!==a.If||!b&&a.II&&z.Aa(a.Ed(),"//")||!b&&a.qp&&!z.Jw(a)?!1:!0}; | |
z.Mw=function(a,b){var c=z.pa(a)?new z.Ie(a):a;Tla(a)&&(b&&z.Qe(c,z.$e(b)),a=Ula(),Kw.location=c.toString(),a.Ed()===c.Ed()&&a.SH()===c.SH()&&z.Lw())};z.Nw=function(a){a=z.pa(a)?new z.Ie(a):a;Tla(a,!0)?Kw.location=a.toString():"mailto"==a.If?Kw.location=a.toString():"sms"==a.If&&(Kw.location=a.toString())};Wla=function(a){var b=z.pa(a)?new z.Ie(a):a;-1!=Vla.indexOf(b.If)&&(Kw.location=a)};z.Lw=function(){Kw.location.reload(!0)};Ow=function(){return new z.Ie(Kw.location.href)}; | |
z.Pw=function(){var a=Kw.location;return a.origin?new z.Ie(a.origin):Saa(a.protocol,a.hostname,a.port)};Ula=function(){var a=Kw.location,b=a.search,c=a.hash?a.hash.substring(1):"";b&&"?"==b[0]&&(b=b.slice(1));return Saa(null,null,null,a.pathname,b,c)};Xla=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}; | |
Yla=function(){return(Kw.location.hash||"").substr(1).split("\x26").reduce(function(a,b){b=b.split("\x3d");a[(0,window.decodeURIComponent)(b[0])]=(0,window.decodeURIComponent)(b[1]);return a},{})};z.Qw=function(a){if(a=Ula().dg.get(a))return(0,window.decodeURIComponent)(a)};z.Jw=function(a){a=z.Ye(a);if(!a.Dd()&&z.Aa(a.Ed(),"//"))a=!1;else{var b;(b=!a.Dd())||(b=Ow(),b=(!b.qp&&!a.qp||b.Dd()==a.Dd())&&(null==b.ul&&null==a.ul||b.ul==a.ul));a=b}return a}; | |
Tw=function(a,b,c,d){var e=z.Rw(a,b,function(){z.Sw(e);c.apply(d||this,arguments)},d,void 0)};z.Rw=function(a,b,c,d,e){if(!a)throw Error("Can not add listener, element is not defined");return Zla(a,b,c,d,e)};Zla=function(a,b,c,d,e){function g(b){b=$la(b);c.call(d||a,b)}if(!a)return null;b=Uw?b:"on"+b;e=e||!1;a[ama](b,g,e);return{Na:a,type:b,handler:g,tx:e}};z.Sw=function(a){if(a)if(z.na(a))for(var b=0;b<a.length;b++)z.Sw(a[b]);else if(a.Na)a.Na[bma](a.type,a.handler,a.tx)}; | |
$la=function(a){var b=a||window.event;b.preventDefault||(b.preventDefault=function(){b.returnValue=!1});b.stopPropagation||(b.stopPropagation=function(){b.cancelBubble=!0});"mouseover"==b.type&&!b.relatedTarget&&b.fromElement&&(b.relatedTarget=b.fromElement);"mouseout"==b.type&&!b.relatedTarget&&b.toElement&&(b.relatedTarget=b.toElement);return b};z.Vw=function(a,b,c){z.ap(a)&&(a=z.bp());"function"==typeof a.scrollTo?a.scrollTo(b,c):(a.scrollLeft=b,a.scrollTop=c);return z.Jd()}; | |
z.bp=function(){return window.document.scrollingElement?window.document.scrollingElement:window.document.documentElement?window.document.documentElement:window.document.body};z.ap=function(a){return window.document.body==a||window==a||window.document.scrollingElement&&window.document.scrollingElement==a||window.document.documentElement&&window.document.documentElement==a}; | |
z.Ww=function(a,b){var c={x:0,y:0};for(b=b||window.document.body;a&&a!=b;)c.y+=a.offsetTop,c.x+=a.offsetLeft,a=a.offsetParent;return c};z.Yw=function(a){return z.Ww(a,z.Xw(a)).y};z.Xw=function(a,b,c){for(a=b?a:a.parentNode;a&&z.Lg(a);){b=c?z.zo(a,"overflowX"):z.zo(a,"overflowY");if("auto"==b||"scroll"==b)return a;a=a.parentNode}return window.document.body};z.$w=function(a){return z.ap(a)?z.Zw():new z.so(a.scrollLeft,a.scrollTop,a.scrollWidth,a.scrollHeight)}; | |
z.Zw=function(){return new z.so(window.document.documentElement.scrollLeft||window.document.body.scrollLeft||0,window.document.documentElement.scrollTop||window.document.body.scrollTop||0,window.document.documentElement.scrollWidth||window.document.body.scrollWidth||0,window.document.documentElement.scrollHeight||window.document.body.scrollHeight||0)};z.ax=function(a){return new z.so(a.left,a.top,a.width,a.height)}; | |
z.bx=function(a,b){if(3==a.nodeType&&b){if(3==a.nodeType&&window.document.createRange){b=window.document.createRange();b.selectNode(a);var c=z.ax(b.getBoundingClientRect());b.detach();b=c}else b=null;if(b)return b}a=3==a.nodeType||"BR"==a.tagName?a.parentNode:a;b=z.ax(a.getBoundingClientRect());if("BODY"==a.tagName||"HTML"==a.tagName)b.top=0,b.height=z.ug().height;return b};z.dx=function(a,b,c){return z.cx(z.Yo(a,c),b)}; | |
z.cx=function(a,b){a.node.firstChild&&(a=z.Xo(a.node,a.offset));b=new z.wn(b);for(var c,d=0;c=z.Ae(b);)if("NOSCRIPT"==c.tagName)b.FR();else{if(a.node==c)return d+a.offset;3==c.nodeType?d+=c.nodeValue.length:"BR"==c.tagName&&(d+=1)}return-1};cma=function(a){var b=(0,z.Hb)(a.attributes,function(a){return a.name+'\x3d"'+a.value+'"'}).join(" ");return"\x3c"+a.nodeName.toLowerCase()+" "+b+"\x3e"};z.ex=function(){z.Sm.call(this);this.rc={}}; | |
z.fx=function(a){z.Sm.call(this);this.Gea=1;this.e2=[];this.SI=0;this.Cj=[];this.iq={};this.Pya=!!a};dma=function(a,b,c){Dc(function(){a.apply(b,c)})};gx=function(a,b){z.Lg(b)?a.appendChild(b):z.na(b)?b.forEach(function(b){gx(a,b)}):a.appendChild(window.document.createTextNode(String(b)))};z.hx=function(a){this.zN=a;this.Nma={};this.ypa=!1};ix=function(a){a.Ei().forEach(a.remove.bind(a))};jx=function(a){if(a.ypa)throw new ema("No storage available");return a.Nma};ema=function(a){z.za.call(this,a)}; | |
kx=function(a,b){this.Nk=a;this.Exa=b;this.yE=(0,z.Ja)()+":"+String(Math.random()).substr(2);this.sh=new z.hx("MUTEX_"+a)};fma=function(a){var b=String(a.sh.get("Y")||"");return""===b||Number(b.split("|")[1])<(0,z.Ja)()-a.Exa};gma=function(a,b,c){var d;try{d=b.call(c)}finally{d instanceof z.kd?z.Ad(d,a.J6,a):a.J6()}}; | |
mx=function(a,b,c,d){this.Z=a.get("request");this.Tq=b;this.FE=this.raa=c;this.mqa=d;this.Lqa=new kx(b,3E4);this.sh=new z.hx(b);this.wO=null;this.gO=!1;this.B6=String(Math.random()).substr(2);this.eU=0;this.KY=this.sh.ue();z.Rw(window,"beforeunload",this.vV,this);lx(this)};hma=function(){var a=nx,b=a.sh.Ei();1E3<b.length&&b.slice(1E3).forEach(function(a){this.sh.remove(a)},a)}; | |
ima=function(a,b){var c=[],d=!1,e;for(e in b)b[e]||(d=!0,a.sh.remove(e),delete b[e],/^\d+\|\d+$/.test(e)||c.push(e));d&&(ox=!1)};lx=function(a){a.gO||null!=a.wO||(a.wO=window.setTimeout(a.D$.bind(a),a.FE))};px=function(){};jma=function(){};z.mma=function(){var a=kma(lma);return a?new window.ActiveXObject(a):new window.XMLHttpRequest}; | |
kma=function(a){if(!a.yda&&"undefined"==typeof window.XMLHttpRequest&&"undefined"!=typeof window.ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new window.ActiveXObject(d),a.yda=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.yda}; | |
nma=function(a,b,c,d){var e=!1,g=new z.kd(function(){e=!0;k.abort();k.onreadystatechange=z.la}),k=qx(a,b,c,d,function(a){e||(e=!0,g.callback(a))},function(a){e||(e=!0,g.Bh(a))});return g}; | |
qx=function(a,b,c,d,e,g){d=d||{};var k=e||z.la,l=g||z.la,q,r=z.mma();try{r.open(a,b,!0)}catch(w){return l(new rx("Error opening XHR: "+w.message,b,r)),r}r.onreadystatechange=function(){if(4==r.readyState){window.clearTimeout(q);var a;a:switch(r.status){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:a=!0;break a;default:a=!1}!a&&(a=0===r.status)&&(a=z.He(1,b),!a&&z.kc.self&&z.kc.self.location&&(a=z.kc.self.location.protocol,a=a.substr(0,a.length-1)),a=a?a.toLowerCase():"",a=!("http"== | |
a||"https"==a||""==a));a?k(r):l(new sx(r.status,b,r))}};e=!1;if(d.headers){for(var t in d.headers)r.setRequestHeader(t,d.headers[t]);e="Content-Type"in d.headers}"POST"!=a||e||r.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset\x3dutf-8");d.withCredentials&&(r.withCredentials=d.withCredentials);d.mimeType&&r.overrideMimeType(d.mimeType);0<d.timeoutMs&&(q=window.setTimeout(function(){r.onreadystatechange=z.la;r.abort();l(new tx(b,r))},d.timeoutMs));try{r.send(c)}catch(w){l(new rx("Error sending XHR: "+ | |
w.message,b,r))}return r};rx=function(a,b,c){z.za.call(this,a+", url\x3d"+b);this.url=b;this.bz=c};sx=function(a,b,c){rx.call(this,"Request Failed, status\x3d"+a,b,c);this.status=a};tx=function(a,b){rx.call(this,"Request timed out",a,b)};oma=function(a,b){ux[a]=b};pma=function(a){if(nx)throw Error("Guard reporter already configured");nx=a};wx=function(a){vx.push(function(b){return!(b instanceof a)})}; | |
qma=function(){var a=qx;qx=function(b,c,d,e,g,k){g=g?Wb.az(g):null;k=k?Wb.az(k):null;return a(b,c,d,e,g,k)};qx.__originalFn=a};rma=function(){var a=z.Rw;z.Rw=function(b,c,d,e,g){return a(b,c,Wb.az(d),e,g)};z.Rw.__originalFn=a};sma=function(){var a=window.setTimeout;Iaa=window.setTimeout=function(b,c){b&&z.ra(b)&&(b=Wb.az(b));return a.call?a.call(this,b,c):a(b,c)};window.setTimeout.__originalFn=a}; | |
tma=function(){var a=window.setInterval;window.setInterval=function(b,c){b&&z.ra(b)&&(b=Wb.az(b));return a.call?a.call(this,b,c):a(b,c)};window.setInterval.__originalFn=a};yx=function(a,b){try{a.apply(arguments[1]||null,Array.prototype.slice.call(arguments,2)||null)}catch(c){z.xx(c)}};z.xx=function(a){a&&a.nva||(z.sa(a)||(a=Error(a)),zx(a)||(uma(a),a.nva=!0))};vma=function(a){z.na(a)&&a.forEach(function(a){a[0]||z.xx(a[1])})}; | |
zx=function(a){if(!z.sa(a))return!1;for(var b=0;b<vx.length;b++)if(!(0,vx[b])(a))return!0;return!1};uma=function(a){if(!(zx(a)||50<wma)){wma++;var b={},c;for(c in ux)b[c]=String(ux[c]);if(z.sa(a)&&z.sa(a.lE))for(var d in a.lE)b[d]=String(a.lE[d]);a={message:a.message,name:a.name,lineNumber:a.lineNumber||a.line||"Not available",fileName:a.fileName||a.filename||a.sourceURL||window.location.href,stack:a.stack||"Not available",timestamp:(new Date).getTime(),extra:b};nx?nx.report(a):Ax.push(a)}};xma=function(){}; | |
z.Bx=function(){z.fx.call(this);this.oG=[];this.fW=!1};yma=function(a,b){for(var c=0;c<a.oG.length;c++)if(a.oG[c][0]==b)return a.oG[c][1];return null};z.O=function(){z.Bx.call(this);this.Oq=!1;this.eY=null;this.Pb=[];this.qG=[];this.Tz={}};zma=function(a,b){var c=new z.O;c.Ha(z.Ew(a,b));return c};z.Cx=function(a,b){a=a.V();if(!a)throw Error("Missing root");a=a.querySelector(b);if(!a)throw Error("Missing selector "+b);return a};z.Dx=function(a,b,c,d,e){c=b.subscribe(c,d,e||a);a.qG.push([b,c])}; | |
Ama=function(a,b,c){c=b.xk(Ex,c,a);a.qG.push([b,c])};z.Fx=function(a,b){delete a.Tz[z.va(b)]};Gx=function(a,b){for(var c in a.Tz)yx(b,a,a.Tz[c])};z.Ix=function(a){a=z.Hx(a);return 32==a.keyCode||" "==a.key||"Spacebar"==a.key};z.Hx=function(a){return z.ra(a.Qca)?a.fl:a};z.Jx=function(a){return 13===a.keyCode||77===a.keyCode&&a.ctrlKey&&!a.altKey};z.Kx=function(a){z.O.call(this);this.IL=null;this.Xb=a}; | |
Lx=function(a,b){z.Kx.call(this,b);this.Z=a.get("request");this.U=a.get("route-builder");this.Va=null};Mx=function(a,b,c){z.O.call(this);this.Bg=b;this.cV=this.QE=null;this.xU=!1;this.X=a;this.Rd=c};Nx=function(a,b){z.Cw(a.Bg.querySelector(".button--overlayConfirm"),b)};Bma=function(a,b){var c=z.ab(a.Bg.querySelectorAll(".button--overlayConfirm,.js-email,.js-name"));(0,z.nb)(c,b,a)};Cma=function(a,b){return a.Bg.querySelector(".js-inputGroup"+b.charAt(0).toUpperCase()+b.substring(1))}; | |
z.Ox=function(a){z.ni.call(this);this.C(a)};z.Px=function(a){z.ni.call(this);this.C(a)};z.Qx=function(a){z.K.call(this);this.C(a)};Rx=function(a){z.ni.call(this);this.C(a)};z.Sx=function(a){z.ni.call(this);this.C(a)};z.Tx=function(a){z.K.call(this);this.C(a)};z.Ux=function(a){return z.hp.tb(z.Tx,a)};z.Vx=function(a){z.K.call(this);this.C(a)};z.Dma=function(a){return z.hp.tb(z.Vx,a)};z.Wx=function(a){z.K.call(this);this.C(a)};z.Xx=function(a){z.ni.call(this);this.C(a)}; | |
Yx=function(a){z.ni.call(this);this.C(a)};z.Zx=function(a){z.K.call(this);this.C(a)};$x=function(a){z.Xx.apply(this,arguments)};ay=function(a){z.Ox.apply(this,arguments)};z.by=function(a){this.Z=a.get("request");this.U=a.get("route-builder")};z.ey=function(a,b){return z.u(z.cy(a.Z,Ema,{promoId:b},{},{background:!0}),function(){z.dy(Fma,{promoId:b})})};z.Gma=function(a,b){b.collections=b.collections||b.value;return a.dc(ay,b)};fy=function(a,b,c,d){a[c]&&(b.kR[c]=z.qb(a[c]).map(d))}; | |
Ima=function(a,b,c){if(a.kR)for(var d in a.kR)Hma(a.kR[d],b,c);z.li(a,function(d){var g=z.ii(a,d);z.na(g)?Hma(g,b,c):g instanceof z.K&&z.I(a,d,b.call(c,g)||g)},null)};Hma=function(a,b,c){for(var d=0;d<a.length;d++){var e=a[d];e instanceof z.K&&(a[d]=b.call(c,e)||e)}};gy=function(a,b){this.id=a;this.jr={};this.Tpa=b};hy=function(a,b){return"undefined"==typeof b?!z.vb(a.jr):!!a.jr[b]};iy=function(a,b,c){Jma();Kma.J(a,b,c)}; | |
z.P=function(a){Jma();var b=a.getAttribute("data-action-scope");b||(b="_actionscope_"+Lma++,a.setAttribute("data-action-scope",b));jy[b]||(jy[b]=new gy(b,window.document.body==a));return jy[b]};z.ky=function(a){a=a instanceof gy?a.id:a.getAttribute("data-action-scope");jy[a]&&(jy[a].clear(),delete jy[a])}; | |
Jma=function(){ly||(ly=!0,z.Rw(window.document,"keydown",Mma),z.Rw(window.document.body,"click",Nma),z.Rw(window.document.body,"mousedown",Oma),z.Rw(window.document.body,"touchstart",Pma),z.Rw(window.document.body,"mouseup",Qma),z.Rw(window.document.body,"touchend",Rma),z.Rw(window.document.body,"mouseover",Sma),z.Rw(window.document.body,"mouseout",Tma),Kma=z.P(window.document.body))};ny=function(a){return z.vg&&!z.vf(9)?1==a.button:z.zg&&z.my?!a.button&&!a.ctrlKey:!a.button}; | |
oy=function(a,b){var c=b.target;z.ht(c)||"INPUT"==c.tagName&&("checkbox"==c.type||"radio"==c.type)||b.metaKey||b.shiftKey||b.altKey||b.ctrlKey||a.target.getAttribute("data-action-observe-only")||(!a.target.getAttribute("aria-haspopup")||"mousedown"!=b.type&&"click"!=b.type)&&b.preventDefault()};Uma=function(a,b){b.metaKey||b.shiftKey||b.altKey||b.ctrlKey||a.target.getAttribute("data-action-observe-only")||b.stopPropagation()};Oma=function(a){if(ny(a)){var b=py(a,"default");b&&oy(b,a);qy||Vma(a)}}; | |
Pma=function(a){qy=!0;Vma(a)};Vma=function(a){if(a=py(a,"long-press"))ry=a,sy(a)};Qma=function(a){qy||ny(a)&&Wma()};Rma=function(){qy=!0;Wma()};Wma=function(){var a=ry;a&&(ry=null,a.topic+=":end",sy(a))};Nma=function(a){if(ny(a)){var b=a.target,c=py(a,"default");!z.ht(b)&&c&&1<sy(c)&&(oy(c,a),Uma(c,a))}};Sma=function(a){(a=py(a,"hover"))&&sy(a)};Tma=function(a){if(a=py(a,"hover"))a.topic+=":end",sy(a)}; | |
Mma=function(a){var b;a:if(13==a.keyCode||z.Ix(a))b=!0;else{if((38==a.keyCode||40==a.keyCode)&&(b=(b=py(a,"default"))&&b.target)&&b.getAttribute("aria-haspopup")){b=!0;break a}b=!1}if(b){b=a.target;var c=py(a,"default");!z.ht(b)&&c&&1<sy(c)&&(oy(c,a),Uma(c,a))}}; | |
py=function(a,b){for(var c=a.target,c=c.correspondingUseElement||c;c&&c!=window.document;){var d=c.getAttribute("data-action"),e=c.getAttribute("data-action-type")||"default";if(d&&e==b)return{topic:d,target:c,value:c.getAttribute("data-action-value"),event:a,n0:a.metaKey||a.shiftKey||a.altKey||a.ctrlKey};c=c.parentNode}return null}; | |
sy=function(a){var b=0;if(!ly||a.target.disabled)return b;for(var c=[],d=a.target;d&&d!=window.document;){var e=jy[d.getAttribute("data-action-scope")];e&&c.push(e);d=d.parentNode}for(d=0;d<c.length;++d){e=c[d].Ud(a);if(3==e)return e;b=Math.max(e,b)}return b};Xma=function(a){this.un=a}; | |
z.ty=function(a,b){this.title=String(a);this.image=null;this.referrer="always";this.description=String(b);this.subtitle="";this.type="website";this.noIndex=this.post=this.favicon=this.name=this.username=this.canonicalUrl=this.jR=this.publisher=this.author=null;this.fontSets=[]}; | |
z.vy=function(a){for(var b=window.document.getElementsByTagName("meta"),c={},d={},e=0;e<b.length;e++)c[b[e].getAttribute("property")]=b[e],d[b[e].getAttribute("name")]=b[e];uy(c,"og:url",window.location.href,"property");uy(c,"al:web:url",window.location.href,"property");for(var b=a.canonicalUrl||window.location.pathname,g,e=window.document.getElementsByTagName("link"),k=0;k<e.length;k++)if("canonical"==e[k].getAttribute("rel")){g=e[k];break}g||(g=window.document.createElement("link"),g.setAttribute("rel", | |
"canonical"),window.document.getElementsByTagName("head")[0].appendChild(g));g.setAttribute("href",b);a.title?(window.document.title=a.title,uy(d,"title",a.title,"name"),uy(c,"og:title",a.title,"property")):window.document.title=z.tr();a.referrer&&uy(d,"referrer",a.referrer,"name");a.image&&(g=z.Dw(gda,{image:a.image}),uy(c,"og:image",g,"property"));a.description&&uy(d,"description",a.description,"name");"article"===a.type&&a.subtitle?(uy(c,"og:description",a.subtitle,"property"),uy(d,"twitter:description", | |
a.subtitle,"name")):(uy(c,"og:description",a.description,"property"),uy(d,"twitter:description",a.description,"name"));uy(d,"robots",a.noIndex?"noindex, follow":"index, follow","content");uy(c,"og:type",a.type,"property");"article"==a.type&&(a.author&&uy(c,"article:author",a.author,"property"),a.publisher&&uy(c,"article:publisher",a.publisher,"property"),a.jR&&uy(c,"article:published_time",a.jR,"property"));"profile"==a.type&&(a.username&&uy(c,"profile:username",a.username,"property"),a.name&&(d= | |
a.name.split(" "),1==d.length?uy(c,"profile:first_name",a.name,"property"):(g=d.slice(-1).join(" "),uy(c,"profile:first_name",d.slice(0,-1).join(" "),"property"),uy(c,"profile:last_name",g,"property"))));var d=a.type,l;if("article"!=d)for(l in c)l&&"article"===l.split(":")[0]&&c[l].parentNode.removeChild(c[l]);if("profile"!=d)for(l in c)l&&"profile"===l.split(":")[0]&&c[l].parentNode.removeChild(c[l]);c=window.document.querySelector(".js-favicon");l=a.favicon&&(a.favicon.imageId||a.favicon.id);c&& | |
!l&&z.Ud(c,"is-default")||(l=z.Ew(Nga,{favicon:a.favicon}),c?c.getAttribute("href")!=l.getAttribute("href")&&z.Hg(l,c):window.document.getElementsByTagName("head")[0].appendChild(l));c=window.document.querySelector('script[type\x3d"application/ld+json"]');a.post?(l=z.Ew(fda,{post:a.post,canonicalUrl:a.canonicalUrl}),c?z.Hg(l,c):window.document.getElementsByTagName("head")[0].appendChild(l)):z.Gg(c);Yma(a)}; | |
uy=function(a,b,c,d){a[b]?a[b].content=c:(a=window.document.createElement("meta"),a.setAttribute(d,b),a.content=c,window.document.getElementsByTagName("head")[0].appendChild(a))};Yma=function(a){z.pi(z.Qm).enable_latin_font_subset?Zma(a):a.fontSets&&a.fontSets.forEach(function(a){window.document.getElementById(z.Qm.j.fD+a.id)||(a=z.Ew(ada,{fontSets:[a]}),window.document.getElementsByTagName("head")[0].appendChild(a))})}; | |
Zma=function(a){if(a.fontSets){(0,z.nb)(a.fontSets,function(a){var b=z.Qm.j.fD+a.id;(z.pa(b)?window.document.getElementById(b):b)||(a=z.Ew(ada,{fontSets:[a]}),window.document.head.appendChild(a))});var b=sg(window.document,"LINK","js-"+z.Qm.j.fD),c=a.fontSets.map(function(a){return a.id.toString()});1<b.length&&z.ab(b).forEach(function(a){z.Xa(c,a.id.replace(z.Qm.j.fD,""))||z.Gg(a)})}};$ma=function(a,b){this.J9=a;this.KE=b;this.rU=this.Gd=null};wy=function(a,b){a.Gd=b;return a}; | |
xy=function(a){return!a.Gd&&!!a.rU};yy=function(a){z.za.call(this,"No screen or factory for "+a);this.path=a};ana=function(a){this.Rva=a};zy=function(){z.Bx.call(this);this.vT=this.wT=this.Hz=this.pX=null};bna=function(){this.scrollY=this.scrollX=0;this.w3=!1};By=function(a){if(z.Ay)throw Error("Tried to make two module managers. Whooops!");z.Ay=this;this.jg=a;this.j9={};this.k9={};this.JM={};this.rc={};this.zU={}}; | |
cna=function(a,b){var c=a.j9[b],d=a.k9[b];if(!c||!d)return z.Kd(Error("Module "+b+" cannot be found"));if(a.JM[b])return z.Jd(!0);if(a.rc[b])return a.rc[b].yc();for(var e=z.Jd(!0),g=0;g<c.length;g++)a.JM[c[g]]||z.Bd(e,cna(a,c[g]));c=new z.kd;a.rc[b]=c;z.v(z.u(e,function(){if(z.na(d)){for(var a=z.Jd(!0),c=0;c<d.length;c++)z.u(a,this.R8.bind(this,d[c]));this.zU[b]=a}else this.R8(d)},a),c.Bh,c);return c.yc()};Cy=function(a,b){this.jg=a;this.Ke=b};z.Dy=function(a,b,c){return a.hp(b,function(){return c})}; | |
Ey=function(){z.Bx.call(this);this.LG={};this.eua=!1;this.Oz=function(){return this.eua}.bind(this)};Fy=function(a,b){a.LG[b]||(a.LG[b]=new dna(b,a.Oz));return a.LG[b]};dna=function(a,b){this.un=a;this.Oz=b;this.PF=this.pG=this.Ke=null;this.MM=!1};Gy=function(a,b){this.jg=a;this.Ke=b;this.vn={};this.Aw=null;this.rF=!1;this.jg.subscribe("add-provider",this.$qa,this)};z.ena=function(a,b){b=new Gy(a.jg,b);b.Aw=a;return b};Hy=function(a,b){return a.jg.Hp(a.Ke,b)&&a.jg.Ku(b)}; | |
z.Jy=function(a,b,c){if(Hy(a,b))a.vn[b]=c,Iy(a,b);else throw Error('The service "'+b+'" was not declared as a manual servicefor scope "'+a.Ke+'"');};Ky=function(a,b){a.vn[b]=a.jg.create(a.Ke,b,a);Iy(a,b)};Iy=function(a,b){b=a.vn[b];a.rF&&b&&"function"==typeof b.Ep&&b.Ep()}; | |
fna=function(){"animation-name"in Ly||(Ly["animation-name"]={});if(!("a"in Ly["animation-name"])){var a=Ly["animation-name"],b;"CSS"in window&&"supports"in window.CSS?b=window.CSS.supports("animation-name","a")?"native":window.CSS.supports(z.qo()+"-animation-name","a")?"prefixed":"unsupported":(b=window.document.createElement("div"),b=z.Qa("animation-name")in b.style?"native":z.po()+z.Sa("animation-name")in b.style?"prefixed":"unsupported");a.a=b}return Ly["animation-name"].a}; | |
z.My=function(a){return z.Eha((new z.Wf).Eu(a),void 0)}; | |
gna=function(a){return(0,z.y)(".is-transitioningSurfaces {height: "+z.A(a.cga.height)+"px; width: "+z.A(a.cga.width)+"px;}.is-transitioningSurfaces .surface-container {min-height: "+z.A(a.Mga.height)+"px; min-width: "+z.A(a.Mga.width)+"px; top: "+z.A(a.xP.top)+"px; left: "+z.A(a.xP.left)+"px;}.is-transitioningSurfaces .is-transitioningSurfaceIn .surface-content, .is-transitioningSurfaces .is-transitioningSurfaceOut .surface-content {height: "+z.A(a.Nga.height)+"px; width: "+z.A(a.Nga.width)+"px; position: relative;}.is-transitioningSurfaces .is-transitioningSurfaceIn .surface-content {margin-top: "+ | |
z.A(-1*a.Uga.top)+"px; margin-left: "+z.A(-1*a.Uga.left)+"px;}.is-transitioningSurfaces .is-transitioningSurfaceOut .surface-content {margin-top: "+z.A(-1*a.xP.top)+"px; margin-left: "+z.A(-1*a.xP.left)+"px;}")};Ny=function(a,b){this.Mb=a;z.Vd(this.Mb,"surface-container");this.vd=b?z.Xw(a):null;this.vd&&(a=window.document.createElement("div"),a.className="surface-scrollOverlay",this.vd.appendChild(a));this.LY=null;this.ZN={}};hna=function(a){return z.Ud(a,"surface")&&"none"!=a.style.display}; | |
Oy=function(a){a.style.display="block";a.style.visibility="visible"};Py=function(a){a.style.visibility="hidden";a.style.display="none"};ina=function(a,b){b&&Oy(b);a&&Py(a);return null}; | |
lna=function(a,b,c){var d=b.parentNode&&b.parentNode.parentNode==a.Mb,e=d?b.parentNode:window.document.createElement("div"),g="_obv.shell._surface_"+jna++;e.id=g;z.Vd(e,"surface");c?(Oy(e),d&&a.vd&&kna(a,e)):Py(e);gx(e,b);z.Vd(z.ka(e.firstElementChild)?e.firstElementChild:z.Jg(e.firstChild,!0),"surface-content");d||gx(a.Mb,e);return g}; | |
nna=function(a,b,c){var d=new z.kd,e=Qy(a,c),g=b?Qy(a,b):{top:0,left:0};z.Vd(c,"is-transitioningSurfaceIn");b&&z.Vd(b,"is-transitioningSurfaceOut");c=z.ap(a.vd)?new z.ng(window.innerWidth,window.innerHeight):new z.ng(0,0);b=new z.ng(a.vd.offsetWidth,a.vd.offsetHeight);c=new z.ng(Math.max(c.width,b.width),Math.max(c.height,b.height));var k=c.clone();k.width+=Math.max(e.left,g.left);k.height+=Math.max(e.top,g.top);e=z.Dw(gna,{Uga:e,xP:g,Mga:c,cga:k,Nga:b});a.LY?Lo(a.LY,(new z.Wf).Eu(e)):a.LY=z.My(e); | |
z.Vd(a.vd,"is-transitioningSurfaces");mna(function(){z.Vd(this.Mb,"is-fixed");z.fn(d.callback,d)},a);return d};Qy=function(a,b){var c=b.id;c||(b.id="_obv.shell._surface_"+jna++);a.ZN[c]||(a.ZN[c]={top:0,left:0});return a.ZN[c]};kna=function(a,b){b=Qy(a,b);a=z.$w(a.vd);b.top=a.top;b.left=a.left};mna=function(a,b){z.fn(a,b)};z.Ry=function(a,b){this.GW=a||"";this.Va=b||null};ona=function(a){return a.Va?z.v(a.Va,function(a){z.xx(a);return z.Rd()}):a.GW&&!(0,window.confirm)(a.GW)?z.Rd():z.Jd()}; | |
pna=function(a,b){if(a=a.GW)return z.vg&&(b.returnValue=a),a;z.vg&&(b.returnValue=void 0)};qna=function(){function a(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()};z.Sy=function(a){return Number.isInteger(a)&&15338844E5<=a};z.Ty=function(a,b){z.dy(a,b)};Vy=function(a,b){Uy[a]=b};z.dy=function(a,b){a=a.name;for(var c in Uy){var d=Uy[c];b[c]="function"==typeof d?d():d}Wy({type:"e",key:a,data:b})}; | |
Xy=function(a){Wy({type:"i",key:"string"===typeof a?a:a.name})};z.Zy=function(a,b){a instanceof Yy&&(a=a.name);b=Math.max(0,b);3E4<b||Wy({type:"t",key:a,value:b})};Wy=function(a){z.Qm.useragent&&z.Qm.useragent.isBot||(a.userId=z.rr().userId,a.timestamp=Date.now(),a.eventId=Date.now().toString(36)+Math.round(1E16*Math.random()).toString(36),rna.report(a))};sna=function(a){window.ga&&window.ga(function(){window.ga.getAll().forEach(function(b){b.send("pageview",a)})})}; | |
z.$y=function(a,b){!z.pi(z.Qm).dont_track_user&&window.PARSELY&&window.PARSELY.beacon&&window.PARSELY.beacon.trackPageView&&window.PARSELY.beacon.trackPageView({url:a,urlref:b,js:1})};Yy=function(a){this.name=a};tna=function(a){this.name=a};az=function(a){this.name=a;this.KL=0};bz=function(a){az.call(this,a)};cz=function(a){this.name=a};dz=function(a){this.name=a}; | |
ez=function(a,b,c){z.Sm.call(this);this.IT=b;this.X=a;this.Ts=c||window.document.title;this.rN=null;this.Wa=a.get("screen-service");this.Xo=a.get("routeManager");this.qw=a.get("lightstep");this.Yh=new Ny(window.document.getElementById("container"),!0);this.rZ={};this.NX=[];this.AT=[];this.Pb=[];this.K6=!0;this.iya=z.zg||z.Tn;this.YN={}};una=function(a){var b=new z.ty(z.tr(),"");a.pU=b;return a};fz=function(a,b){a.NX.push(b);return a};vna=function(a,b){a.AT.push(b);return a}; | |
z.wna=function(a,b){var c=a.ku(),d=a.zP();d&&d.hash!=b&&(d.hash=b,gz(a,a.Rc().jb(),c,d,!0))};xna=function(a,b){b.getMetadata()?z.vy(b.getMetadata()):a.pU?z.vy(a.pU):z.xx("No metadata and no default configured: "+a.ku())}; | |
hz=function(a,b,c,d,e){var g=z.Ye(b);b=yna(b);var k=new $ma(Ow(),g),l=b.path;if(g=a.Xo.d0(l,z.Qm))return hz(a,g,c,d,e);a.Wa.fa("triggerNav",l,c);var q=hn(b.path),g=q.source;z.Cb(q,c||{});q.hash=b.hash||q.hash||"";q.xC=q.xC||a.ku();q.sDa=l;q.Zga=q.Zga||null;q.source=g||q.source;if(!e&&l==a.ku()&&!a.Wa.pX)return b.hash?(z.wna(a,q.hash),z.v(z.u(z.u(zna(a,q,a.Rc()),function(){a.Wa.fa("historyUpdate");return a.Rc()}),function(b){k.rU=b;iz(a,k)}),function(b){iz(a,wy(k,b))})):z.v(z.Rd(),function(b){iz(a, | |
wy(k,b))});var r=ona(a.Rc()&&a.Rc().rx()||new z.Ry);a.Wa.fa("startNav",l,c);c=Ana(a,l,q);a.rN&&(a.rN.cancel(!0),a.rN=null);a.rN=c;(e=a.Rc())&&a.hU&&a.l$(a.hU,e);var t=null,w=q.Zga,C=null,J=!!d,Q=function(){gz(this,t.jb(),l,q,J);J=!0}.bind(a);z.v(z.u(z.u(z.u(z.u(z.u(c,function(a){t=a;return r},a),function(){var b=t.tB()||z.Jd(!0);q.qQ&&z.u(b,a.l$.bind(a,q.jC,t));if(!b.cf&&!q.mC){var c=z.v(z.u(z.Jd(!0),function(){var a=t.PH();if(a)return C=lna(this.Yh,a,!1),a=this.Yh.show(C,w,!0),w=t.f2,z.u(a,Q)},a), | |
function(a){z.xx(a);return!0},a);z.Bd(b,c)}return b},a),function(){return Bna(this,t,w,!q.mC)},a),function(){Q();xna(this,t);C&&this.Yh.remove(C);t.mM=!1;t.ba();return zna(this,q,t)},a),function(){var a=t,b=this.Rc();null!=this.ku()&&(yx(b.Rf,b),this.Yh.remove(b.L3));b=this.Wa;b.Hz=a;b.wT=l;b.vT=q;if(a=a.M_())b=l.indexOf("?"),-1!=b&&(a+=l.substring(b)),q&&q.hash&&(a=z.Re(new z.Ie(a),q.hash).toString()),this.update(a,q);k.rU=t;iz(this,k)},a),function(a){C&&this.Yh.remove(C);if(t&&t!==this.Rc()){var b= | |
t;yx(b.Rf,b);this.Yh.remove(b.L3)}iz(this,wy(k,a));throw a;},a);return c};Bna=function(a,b,c,d){return z.u(a.Yh.show(b.L3,c,d),function(){this.Rc()&&this.Rc().bc();return b},a)};zna=function(a,b,c){var d=z.jz(c);d.focus();var e=z.Jd(c);if(c.mM)return e;c.mM=!0;c=b.hash?c.V().querySelector('[id\x3d"'+z.Ea(b.hash)+'"]'):null;!c||b.mC&&a.Rc()?b.mC?(b=kz(a,b.jC),z.Bd(e,a.Qw(d,b.scrollX,b.scrollY))):z.Bd(e,a.Qw(d,0,0)):z.Bd(e,a.Qw(d,0,z.Yw(c)));return e}; | |
kz=function(a,b){if(!b)return new bna;a.rZ[b]||(a.rZ[b]=new bna);return a.rZ[b]}; | |
gz=function(a,b,c,d,e){b=b||a.Ts;d.jC||(d.jC="h"+(0,z.Ja)());var g=new z.Ie(c);c=(a.IT+g.Ed()).replace("//","/");for(var g=g.dg,k=g.Ei(),l=0;l<k.length;l++)for(var q=0;q<a.NX.length;q++){var r=k[l],t=a.NX[q];if("string"==typeof t&&r==t||t.test&&t.test(r)){g.remove(r);break}}g=g.toString();c+=g?"?"+g:"";d.hash&&(c=z.Re(new z.Ie(c),d.hash).toString());g=z.xb(d);g.qQ=!1;g={path:c,isNavigate:!0,data:JSON.stringify(g)};if(Sla())try{e?window.history.replaceState(g,b,c):window.history.pushState(g,b,c)}catch(w){z.bf(w, | |
"historyPath",c),z.xx(w)}window.document.title=b;a.hU=d.jC};iz=function(a,b){a.Wa.pX=null;a.Wa.fa("endNav",b)};yna=function(a){var b=z.Ye(a),c=b.Ed(),b=b.dg.toString();a=String(a).match(Ge)[7]||"";a=(0,window.decodeURI)(a).replace(/#/g,Xla);return{path:c+(b?"?"+b:""),hash:a}};Dna=function(a){var b=z.Ye(window.location.toString()).Ed();if(b=Cna(a.Xo,b))b=b.screen,z.pa(b)&&z.v(a.X.load(b),z.xx)}; | |
Ena=function(a,b){a=Cna(a.Xo,b);if(!a)return null;b=a.screen;return{ZQ:a.ZQ,fAa:"string"===typeof b?new Xma(b):new ana(b)}}; | |
Ana=function(a,b,c){if(a.YN[b])return a.YN[b].yc();var d=Fna(a.qw),e=z.H(z.Qm,"embedded");z.I(z.Qm,"embedded",null);var g=window.document.getElementById("prerendered");g&&(g.getAttribute("data-used")?g=null:g.setAttribute("data-used",!0));var k=Ena(a,b);if(!k)return z.Kd(new yy(b));var l=k.fAa,k=k.ZQ,q=z.ena(a.X,"screen");z.Jy(q,"screen-view-state",kz(a,c.jC));c=l.create(q,k,c);c=c instanceof z.kd?c.yc():z.Jd(c);a.YN[b]=c;z.Ad(c,function(){delete this.YN[b]},a);z.u(c,function(a){this.Wa.pX=b;a.xA= | |
a.qw.io("BaseScreen",d?lz.oq:void 0,d);var c=!this.Rc();return z.u(Gna(a,e,g),function(){a.L3=lna(this.Yh,a.V(),c);return a},this)},a);return c.yc()};Hna=function(){var a=z.n("Uh oh!");return(0,z.y)(""+a)};Ina=function(){var a=z.n("This feature is currently disabled.");return(0,z.y)(""+a)};Jna=function(){var a=z.n("We were unable to save your recommend. Please try again later.");return(0,z.y)(""+a)}; | |
Kna=function(a){a=z.n("You have been blocked from following this user or viewing their posts. {$xxx_1}Learn more{$xxx_2}.",{xxx_1:z.A(z.bl({href:(0,z.L)("https://medium.com/@Medium/blocking-on-medium-bf64e538a67b"),jk:!0},a)),xxx_2:z.A(z.bl({gk:!0},a))});return(0,z.y)(""+a)};z.mz=function(a){a=z.n("Browse for great reads on {$xxx}.",{xxx:z.A(z.cl({eb:!0,href:(0,z.L)(""+z.F(z.Ki(a))),s:(0,z.M)("Medium")},a))});return(0,z.y)(""+a)};nz=function(a){z.Bx.call(this);this.X=a;this.$e=null}; | |
Lna=function(a,b){var c=new z.kd;b?(b.subscribe(z.oz,function(){c.callback(b)},a),b.subscribe(z.pz,function(){c.cancel();b.close()},a)):c.cancel();return c};Mna=function(a,b){var c=new z.kd;b?(b.subscribe(z.qz,function(){c.callback(b)},a),b.subscribe(z.pz,function(){b.close();c.cancel()},a)):c.cancel();return c};z.sz=function(a,b){return function(a){a&&a instanceof z.Sd||(z.xx(a),this.open({title:Hna(),bodyHtml:b,type:z.rz}))}.bind(a)}; | |
uz=function(a,b,c){var d=this;z.Bx.call(this);this.X=a;this.n7=!!c;a=window.document.createElement("div");z.Cw(a,Dga,b);this.ie=b.type||"";this.yn=b.theme?b.theme:tz;this.O6=[];this.Mb=a.children[0];this.pa=this.Mb.getElementsByClassName("js-overlayDialog")[0];this.XL=null;this.n7||z.Rw(this.Mb,"click",function(a){a.target===d.Mb&&d.close()});this.X.get("screen-service").subscribe("endNav",this.close,this);this.hn=!1;z.P(this.Mb).J("overlay-close",this.close,this).J("overlay-confirm",this.yma,this).J("overlay-cancel", | |
this.ema,this).J("overlay-refresh",this.VX,this).J("overlay-submit",this.txa,this).J("overlay-next",this.DA,this).J("overlay-skip",this.gxa,this)};wz=function(a,b){z.O.call(this);this.LE=a.get("dialog");this.X=a;this.Dg=null;this.U=a.get("route-builder");this.CL=b&&b.uza||!1;this.ka=a.get("model-store");this.Ba=a.get("model-request");this.Hma=this.CL?b.email:null;this.Ima=this.CL?b.userId:null;this.ax=b&&b.templateData||{};this.yn=vz;var c=new Ss;Nna.forEach(function(a){c.add(a)});this.Xo=c}; | |
zz=function(a,b,c,d){var e=Ona,g=a.ax.VYa||z.Bw(Nfa),k=a.ax.UYa||"",l;c&&(l=a.Xo.su(c));a.CL?(e=Pna,g=z.Bw(nfa),k=z.Bw(ofa)):"quote"==d?g=z.Bw(hfa):"publish"==d?g=z.Bw(gfa):"toggle-subscribe-user"==d&&l&&l.userId?(d=a.ka.Zb(l.userId))&&(g=z.Bw(Ofa,{user:d})):("toggle-follow-collection"==d||"toggle-subscribe-collection"==d)&&l&&l.collectionSlug?(d=z.xz(a.ka,l.collectionSlug))&&(g=z.Bw(Pfa,{collection:d})):"expand-editor"==d||"save-for-later"==d?g=z.Bw(ifa):"metered-post"==d?k=z.Bw(jfa):"upsell"==d&& | |
(k=z.Bw(kfa));k||(k=z.Bw(ffa));d=yz(a.X.get("referrer-tracker"));c={title:g||"",bodyHtml:k||"",type:"signin",redirectUrl:c,source:b,theme:a.yn,Dx:d,dC:!0};a.CL&&(c.ai=a.Hma,c.conversionUserId=a.Ima);z.dy(e,{source:b});a.Yi(c)};Qna=function(a){a.Yi({bodyHtml:z.Bw(Fga),type:"wait",theme:a.yn});z.u(z.gn(3E3),function(){this.Yi({bodyHtml:z.Bw(Gga),type:"wait",theme:this.yn})},a)}; | |
Rna=function(a,b,c){a.Yi({title:z.Bw(ufa),bodyHtml:z.Bw(vfa,{email:b}),redirectUrl:c,type:"convertShadow",theme:a.yn}).subscribe(z.Az,function(){this.fa("submit")},a)};Sna=function(a,b,c){return a.Yi({title:b,bodyHtml:c,type:z.rz,theme:a.yn})};Bz=function(a,b){return a||b?(a=a||hn(b).source)?z.ns(a).susiEntry:"":""};Tna=function(){var a=z.n("Almost there!");return(0,z.y)(""+a)}; | |
Una=function(a,b){var c;a=a||{};var d="";switch(z.sa(c=a.entryPoint)?c.toString():c){case b.j.qa.rv:case b.j.qa.tD:b=z.n("Finish creating your account to bookmark");d+=b+(a.post?" "+z.A(a.post.title):"")+".";break;case b.j.qa.dz:case b.j.qa.ez:case b.j.qa.wD:b=z.n("Finish creating your account to clap");d+=b+(a.post&&a.post.creator?" for "+z.A(a.post.creator.name):"")+".";break;case b.j.qa.hz:case b.j.qa.iz:case b.j.qa.jz:case b.j.qa.kz:case b.j.qa.AD:case b.j.qa.mz:case b.j.qa.BD:case b.j.qa.nz:case b.j.qa.cK:case b.j.qa.CD:case b.j.qa.DD:case b.j.qa.cE:c= | |
z.n("Finish creating your account to follow");a.collection&&(b=z.n("{$name} is powered by {$productName}.",{name:z.A(a.collection.name),productName:z.A(b.productName)}),d+="\x3cp\x3e"+b+"\x3c/p\x3e");d+=c+(a.user?" "+z.A(a.user.name):a.topic?" "+z.A(a.topic.name):a.tag?" "+z.A(a.tag.name):a.collection?" "+z.A(a.collection.name):"")+".";break;case b.j.qa.GD:case b.j.qa.HD:a=z.n("Finish creating your account to highlight this passage.");d+=a;break;case b.j.qa.sz:case b.j.qa.fE:a=z.n("Finish creating your account to start writing."); | |
d+=a;break;case b.j.qa.mq:case b.j.qa.ND:case b.j.qa.Hv:a=z.n("Finish creating your account for the full {$productName} experience.",{productName:z.A(b.productName)});d+=a;break;case b.j.qa.oi:a=z.n("Finish creating your account so that you can upgrade to membership.");d+=a;break;case b.j.qa.zv:a=z.n("Finish creating your account to read.");d+=a;break;case b.j.qa.FK:a=z.n("Finish creating your account for the full {$productName} experience.",{productName:z.A(b.productName)});d+=a;break;case b.j.qa.RD:case b.j.qa.WD:case b.j.qa.XD:a= | |
z.n("Finish creating your account to write a response.");d+=a;break;default:a=z.n("Finish creating your account for the full {$productName} experience.",{productName:z.A(b.productName)}),d+=a}return(0,z.y)(d)};Vna=function(){var a=z.n("Continue");return(0,z.y)(""+a)};Cz=function(){var a=z.n("Your full name");return(0,z.y)(""+a)};Dz=function(){var a=z.n("Your email");return(0,z.y)(""+a)};z.Wna=function(){var a=z.n("Customize your interests");return z.B(""+a)}; | |
z.Ez=function(a,b,c){b="";var d=a.collection.id||a.collection.collectionId,e=c.currentUser.userId==a.collection.creatorId,g=null==a.collection.virtuals?null:null==a.collection.virtuals.permissions?null:a.collection.virtuals.permissions.canManageAll,k=c.isAuthenticated&&(null==a.collection.virtuals?null:a.collection.virtuals.isSubscribed),l=null==a.collection.virtuals?null:null==a.collection.virtuals.permissions?null:a.collection.virtuals.permissions.canSubmit,q="js-relationshipButton"+(a.ca?" is-chromeless": | |
"")+(a.qg?" is-smallPill":""),q=(0,z.M)(q);if(a.mv)a="";else if(e||g||l||k){var r=a.D0?"affixMenu":null;e?(e=z.n("Owner"),e=(0,z.y)(""+e),e=z.A(e)):g?(e=z.n("Editor"),e=(0,z.y)(""+e),e=z.A(e)):l?(e=z.n("Writer"),e=(0,z.y)(""+e),e=z.A(e)):k?(e=z.n("Following"),e=(0,z.y)(""+e),e=z.A(e)):e="";a=z.A(z.Wk({action:"show-more-collection-actions",actionValue:r,vx:d,l:q,text:(0,z.M)(""+e),icon:(0,z.M)(""+(a.qg?z.A(z.Hda({l:"u-relative u-top1 u-paddingLeft6"})):z.A(z.Zj(null)))),ca:a.ca,isPrimary:!a.ca,ld:!a.ca, | |
Db:!a.ca&&!a.qg,qg:a.qg&&!a.ca,Fd:!0},c))}else a=z.A(z.Xk({text:(0,z.M)(""+z.A(ll())),ca:a.ca,isPrimary:!a.ca,Db:!a.ca&&!a.qg,qg:a.qg&&!a.ca,Vn:!0,action:"toggle-follow-collection",vx:d,Nb:!0,pk:!0,Le:(0,z.L)(""+z.F(Di(a,c))),source:(0,z.M)(""+z.A(z.zi({collectionId:a.collection.id,susiEntry:a.susiEntry}))),l:q},c));return(0,z.y)(b+a)}; | |
Xna=function(a,b,c){var d="",e=c.currentUser.userId==(null==a.collection.user?null:a.collection.user.userId),g=null==a.collection.virtuals?null:null==a.collection.virtuals.permissions?null:a.collection.virtuals.permissions.canManageAll,k=z.Bu(a.collection,c.j.Hs.Rka);b=(e||g)&&(null==a.collection.virtuals?null:a.collection.virtuals.isEnrolledInHightower);if(e||g){var e=z.n("Homepage and settings"),l=z.n("Feature pages"),q=z.n("Navigation"),r;r=z.ph("list u-marginBottom0 list--choice u-textAlignLeft u-fontSize14 u-lineHeightBaseSans u-uiTextRegular"); | |
var t='\x3cul class\x3d"'+z.E(r)+'"\x3e',w;if(null==a.collection.logo?0:a.collection.logo.imageId){var C=a.collection.tintColor&&(a.collection.colorBehavior==c.j.zk.cS||a.collection.colorBehavior==c.j.zk.mo);w=""+('\x3cli class\x3d"'+z.E(z.ph("list-item u-padding20 u-tintBgColor u-borderTop0"+(C?" u-margin3 u-marginBottom7":"")))+'"\x3e');var J,Q=a.collection.logo,R=J=0;Q.originalWidth&&Q.originalHeight?(J=Q.originalWidth,R=Q.originalHeight):Q.width&&Q.height&&(J=Q.width,R=Q.height);Q=80;J&&R&&(Q= | |
Math.min(Q,190*R/J));J=Math.round(Q);R=Fj(a.collection.logo,J,190);Q=""+z.F(z.Bj({image:a.collection.logo,strategy:"crop-fixed",width:R,height:J,cropType:"c"},0,c));Q=(0,z.L)(Q);w+=z.A(z.N({href:(0,z.L)(""+z.F(z.Oi(a,c))),s:(0,z.M)('\x3cimg class\x3d"u-block u-marginAuto" height\x3d"'+z.E(J)+'" width\x3d"'+z.E(R)+'" src\x3d"'+z.E(z.Eh(Q))+'" data-image-id\x3d"'+z.E(a.collection.logo.imageId)+'" alt\x3d"'+z.E(a.collection.name)+'"\x3e')},c))+"\x3c/li\x3e"+(C?"":'\x3cli class\x3d"list-item list-item--separator u-xs-hide u-marginTop0"\x3e\x3c/li\x3e'); | |
w=(0,z.y)(w)}else w="";r=t+w+'\x3c/ul\x3e\x3cul class\x3d"'+z.E(r)+' u-resetSpectrum"\x3e'+Fz({value:z.ph(""+Wea()),url:(0,z.L)(""+z.F((0,z.ri)(z.F(z.Ci(c,"COLLECTION_NEW_STORY",null,a.collection,null))))),cy:!0},c)+'\x3cli class\x3d"list-item list-item--separator"\x3e\x3c/li\x3e';t=(0,z.L)(""+z.F(z.Pi({collection:a.collection,filterBy:c.j.Ye.wo},c)));w=z.n("Stories");w=(0,z.y)(""+w);r+=Fz({url:t,value:(0,z.M)(""+z.A(w))},c);t=(0,z.L)(""+z.F((0,z.ri)(z.F(z.Ci(c,"COLLECTION_STATS_OVERVIEW",null,a.collection, | |
null)))));w=z.n("Stats");w=(0,z.y)(""+w);r+=Fz({url:t,value:(0,z.M)(""+z.A(w))},c);t=(0,z.L)(""+z.F((0,z.ri)(z.F(z.Ci(c,"SHOW_COLLECTION_LETTERS_SETTINGS",null,a.collection,null)))));w=z.n("Letters");w=(0,z.y)(""+w);d+=r+Fz({url:t,value:(0,z.M)(""+z.A(w)),l:"js-lettersLink"},c);g&&(g=z.n("Followers"),d+=Fz({url:(0,z.L)(""+z.F((0,z.ri)(z.F(z.Ci(c,"COLLECTION_FOLLOWERS",null,a.collection,null))))),value:(0,z.M)(""+g)},c));g=d;k||b?(k?(k=(0,z.L)(""+z.F(z.Sca(a,c))),d=z.n("Sponsorships"),d=(0,z.y)(""+ | |
d),k=Fz({url:k,value:(0,z.M)(""+z.A(d))},c)):k="",b='\x3cli class\x3d"list-item list-item--separator u-xs-hide"\x3e\x3c/li\x3e'+k+(b?Fz({value:(0,z.M)(""+z.A(z.xj(null,c))),url:(0,z.L)(""+z.F(z.Ni(a,c)))},c):"")):b="";d=g+(b+'\x3cli class\x3d"list-item list-item--separator u-xs-hide"\x3e\x3c/li\x3e'+Fz({url:(0,z.L)(""+z.F(z.Qca(a,c))),value:(0,z.M)(""+q)},c)+Fz({url:(0,z.L)(""+z.F((0,z.ri)(z.F(z.Ci(c,"SHOW_COLLECTION_TOPIC_LIST",null,a.collection))))),value:(0,z.M)(""+l)},c)+Fz({value:(0,z.M)(""+ | |
e),url:(0,z.L)(""+z.F((0,z.ri)(z.F(z.Ci(c,"SHOW_COLLECTION_SETTINGS",null,a.collection,null))))),cy:!0},c)+"\x3c/ul\x3e")}return(0,z.y)(d)}; | |
Yna=function(a,b,c){var d,e=c.currentUser.userId==(null==a.collection.user?null:a.collection.user.userId),g=null==a.collection.virtuals?null:null==a.collection.virtuals.permissions?null:a.collection.virtuals.permissions.canManageAll;b=null==a.collection.virtuals?null:null==a.collection.virtuals.permissions?null:a.collection.virtuals.permissions.canSubmit;var k=null==a.collection.virtuals?null:a.collection.virtuals.isSubscribed,l=null==a.collection.virtuals?null:a.collection.virtuals.isNewsletterSubscribed; | |
d=e?z.n("You are an owner of {$name}",{name:z.A(z.Hj(a.collection.name))}):g?z.n("You are an editor of {$name}",{name:z.A(z.Hj(a.collection.name))}):b?z.n("You are a writer in {$name}",{name:z.A(z.Hj(a.collection.name))}):z.n("You are following {$name}",{name:z.A(z.Hj(a.collection.name))});d=(0,z.y)(""+d);d=z.A(d);d='\x3cdiv class\x3d"u-textAlignLeft u-fontSize14 u-lineHeightBaseSans u-uiTextRegular"\x3e\x3cul class\x3d"list u-marginBottom0 list--choice"\x3e\x3cli class\x3d"list-item u-paddingTop5 u-paddingBottom5 u-paddingLeft20 u-paddingRight20"\x3e\x3cdiv class\x3d"popover-title u-marginLeft0 u-marginTop3 u-marginBottom10 u-fontSize18"\x3e'+ | |
d+'\x3c/div\x3e\x3cdiv class\x3d"popover-description u-marginBottom5"\x3e';var q;q=g?z.n("You can publish and edit stories in this publication."):b?z.n("You can submit stories to be published in this publication."):z.n("You will be notified when {$name} publishes new stories.",{name:z.A(a.collection.name)});q=(0,z.y)(""+q);q=z.A(q);d=""+(d+q+"\x3c/div\x3e\x3c/li\x3e");e||g||(q=z.n("Receive Letters in your inbox"),d+='\x3cli class\x3d"list-item u-paddingTop5 u-paddingBottom5 u-paddingLeft20 u-paddingRight20"\x3e\x3clabel class\x3d"label"\x3e\x3cinput type\x3d"checkbox" class\x3d"checkbox" name\x3d"subscribe"'+ | |
(l?"checked ":"")+'data-action\x3d"toggle-subscribe-letters" data-collection-id\x3d"'+z.E(a.collection.id)+'"\x3e'+q+"\x3c/label\x3e\x3c/li\x3e");l=d;d=e||g?z.n("View / manage publication"):z.n("View publication");d=""+(0,z.y)(""+d);d='\x3cli class\x3d"list-item list-item--separator"\x3e\x3c/li\x3e'+Fz({value:z.ph(""+d),url:(0,z.L)(""+(a.collection.slug?z.F(z.Oi(a,c)):z.F((0,z.ri)(z.F(z.Ci(c,"COLLECTION_DIRECT",null,a.collection,null)))))),Zn:!0},c);e||!b&&!g?e="":(e=z.n("Leave publication"),e=(0,z.y)(""+ | |
e),e=Fz({value:(0,z.M)(""+z.A(e)),action:"remove-collection-role",vx:a.collection.id,Zn:!0},c));e=d+e;k&&!b?(b=z.n("Unfollow publication"),b=(0,z.y)(""+b),a=Fz({value:(0,z.M)(""+z.A(b)),action:"toggle-follow-collection",vx:a.collection.id,Zn:!0},c)):a="";return(0,z.y)(l+(e+a+"\x3c/ul\x3e\x3c/div\x3e"))}; | |
Fz=function(a,b){var c=a.Zn?"u-fontSize14 u-paddingTop5 u-paddingBottom5 u-paddingLeft20 u-paddingRight20 u-block":"u-fontSize14 u-paddingTop8 u-paddingBottom8 u-paddingLeft25 u-paddingRight25 u-block";a=""+('\x3cli class\x3d"list-item u-paddingTop0 u-paddingBottom0'+(a.cy?" u-xs-hide":"")+(a.l?" "+z.E(a.l):"")+'"\x3e'+(a.url?z.A(z.N({href:a.url,s:a.value,title:a.title,Bd:a.action,Ra:!0,ca:!0,la:!0,l:c},b)):z.A(z.Vk({text:a.value,title:a.title,action:a.action,vx:a.vx,la:!0,sb:!a.Zn,l:c},0,b)))+"\x3c/li\x3e"); | |
return(0,z.y)(a)}; | |
z.Gz=function(a,b){var c=a.Od,d=a.susiEntry,e=a.text,g=a.xh,k=a.l,l="",q="";e?q+=z.A(e):(e=z.n("Follow"),q+=e);q=(0,z.M)(q);e="";g?e+=z.A(g):(g=z.n("Following"),e+=g);e=(0,z.M)(e);k=(k?z.A(k):"")+" js-followButton";k=(0,z.M)(k);c=""+z.A(z.zi({name:c,topicId:a.topic.topicId,susiEntry:d}));c=(0,z.M)(c);l+=z.A(z.Xk(z.D({isPrimary:!0,Vn:!0,action:"toggle-subscribe-topic",Nb:!0,pk:!0,Le:(0,z.L)(""+z.F(z.Pca({topicSlug:a.topic.slug},b))),actionValue:a.topic.topicId,EZ:a.topic.slug,text:q,xh:e,isActive:a.topic.isFollowing, | |
source:c,l:k},a),b));return(0,z.y)(l)}; | |
z.Hz=function(a){a=a||{};var b=a.zi,c=a.Gg,d=a.K3,e=a.Yd,g=a.l,k=a.id,l="";a="heading"+(a.E0?" heading--borderedTop":"")+(e?" heading--borderedBottom":"")+(a.Xf?" heading--allCaps":"")+(a.zQ?" heading--page":"")+(a.xj?" heading--padded":"")+(a.qC?" heading--paddedTop":"")+(a.Z0?" heading--streamSection":"")+(a.vb?" heading--light":"")+(a.uea?" heading--normal":"")+(a.qCa?" heading--backgrounded":"")+(a.vea?" heading--simple":"")+(a.vCa?" heading--section"+(e?" u-paddingBottom0":""):"")+(a.JVa?" u-xs-hide": | |
"")+(a.dI?" u-sm-hide":"")+(a.PCa?" is-withSupplementalContent":"")+(g?" "+z.A(g):"");a=(0,z.M)(a);l+='\x3cheader class\x3d"'+z.E(a)+'" '+(k?' id\x3d"'+z.E(k)+'"':"")+'\x3e\x3cdiv class\x3d"u-clearfix"\x3e'+(b?'\x3cdiv class\x3d"heading-content u-floatLeft"\x3e'+z.A(b)+"\x3c/div\x3e":"")+(c?'\x3cdiv class\x3d"heading-content u-floatRight"\x3e'+z.A(c)+"\x3c/div\x3e":"")+"\x3c/div\x3e"+(d?'\x3cdiv class\x3d"heading-supplemental u-clearfix"\x3e'+z.A(d)+"\x3c/div\x3e":"")+"\x3c/header\x3e";return(0,z.y)(l)}; | |
z.Iz=function(a,b){a=a||{};var c=a.title,d=a.IFa,e=a.Sga,g=a.AWa,k=a.xI,l=a.Ih,q=a.$0,r=a.BWa,t=a.ECa,w=a.Sr,C=a.l;a=a.Oi||"span";g=""+("\x3c"+z.Hh(a)+' class\x3d"heading-title'+(t?" u-inlineBlock":"")+(g?" heading-title--accent":"")+(k?" heading-title--semibold":"")+(l?" heading-title--bold":"")+(q?" heading-title--dark":"")+(r?" heading-title--darker":"")+(w?" heading-title--lineHeightTight":"")+(d?" heading-title--withIcon":"")+(C?" "+z.E(C):"")+'"\x3e');c=""+(d?z.A(d)+'\x3cspan class\x3d"heading-titleText"\x3e'+ | |
(c?z.A(c):"")+"\x3c/span\x3e":c?z.A(c):"");c=(0,z.M)(c);g+=(e?z.A(z.N({href:e,s:c,qc:!0},b)):z.A(c))+"\x3c/"+z.Hh(a)+"\x3e";return(0,z.y)(g)};z.Jz=function(a,b){var c=a.href,d=a.moreText,e=a.l,g="";d?g+=z.A(d):(d=z.n("See more"),g+=d);a=""+z.A(z.N(z.D({href:c,s:(0,z.M)(g),$b:!0,l:e},a),b));return(0,z.y)(a)};z.Kz=function(a,b){return(0,z.y)(z.Hz(z.D({zi:(0,z.M)(""+z.Iz(a,b)),Yd:!0},a)))};Zna=function(a,b){return(0,z.y)(z.Hz(z.D({zi:(0,z.M)(""+z.Iz(a,b)),Yd:!0,vea:!0},a)))}; | |
z.$na=function(a,b){a=a||{};var c="",d="";a.collection?(b=z.n("Search"),d+=b+(12>a.collection.name.length?" "+z.A(a.collection.name):"")):(b=z.n("Search {$productName}",{productName:z.A(b.productName)}),b=(0,z.y)(""+b),d+=z.A(b));d=(0,z.M)(d);c+='\x3clabel class\x3d"button button--chromeless inputGroup u-sm-hide metabar-predictiveSearch u-baseColor--buttonNormal u-baseColor--placeholderNormal" title\x3d"'+z.E(d)+'"\x3e'+z.A(z.uk({l:"u-top0 u-baseColor--iconLight"}));b="js-predictiveSearchInput textInput textInput--rounded textInput--darkText u-baseColor--textNormal"+ | |
(a.AQ?" textInput--transparent":"")+(a.l?" "+a.l:"");b=z.ph(b);a=""+(a.collection?' data-collection-id\x3d"'+z.E(a.collection.id||a.collection.collectionId)+'"':"");a=(0,z.$k)(a);c+='\x3cinput class\x3d"'+z.E(b)+'" type\x3d"search" placeholder\x3d"'+z.E(d)+'" required\x3d"true"'+z.rh(a)+" /\x3e\x3c/label\x3e";return(0,z.y)(c)};aoa=function(){return(0,z.y)('\x3cdiv class\x3d"js-predictiveSearchResults u-textAlignLeft u-clearfix"\x3e\x3c/div\x3e')}; | |
boa=function(a,b,c){b="";var d=a.collection?z.n("Search {$name}",{name:z.A(a.collection.name)}):z.n("Search for ‘{$query}’",{query:z.A(a.query)});b+=d;var d=(0,z.L)(""+(a.collection?z.F(Ri(a,c)):z.F(z.Qi(a,c)))),e;e={};e=(0,z.y)(z.Pj(z.D({name:"search",size:"19px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"19" height\x3d"19" \x3e\x3cpath d\x3d"M14.378 13.789l-2.771-2.771a4 4 0 1 0-.59.589l2.772 2.77a.417.417 0 0 0 .589-.588zM5.334 8.5a3.17 3.17 0 0 1 3.167-3.167A3.17 3.17 0 0 1 11.667 8.5 3.17 3.17 0 0 1 8.5 11.667 3.17 3.17 0 0 1 5.334 8.5z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
e)));b=""+z.A(z.al({href:d,ca:!0,l:"u-paddingLeft15 u-paddingTop10 u-paddingRight15 link--maxWidth220",icon:(0,z.M)(""+z.A(e)),text:(0,z.M)(b),source:"search-popover",hf:!0},c));a.users.length&&(d=z.n("People"),b+=Lz(z.D({title:(0,z.M)(""+d),items:a.users,itemType:"userSearchResult",A1:(0,z.L)(""+z.F(z.Tca(a,c)))},a),c));a.collections.length&&(d=z.n("Publications"),b+=Lz(z.D({title:(0,z.M)(""+d),items:a.collections,itemType:"collectionSearchResult",A1:(0,z.L)(""+z.F(z.Uca(a,c)))},a),c));a.tags.length&& | |
(d=z.n("Tags"),b+=Lz(z.D({title:(0,z.M)(""+d),items:a.tags,itemType:"tagSearchResult"},a),c));a.posts.length&&(d=z.n("Stories"),b+=Lz(z.D({title:(0,z.M)(""+d),items:a.posts,itemType:"postSearchResult"},a),c));a.collection&&(d=z.n("Search for ‘{$query}’ on {$productName}",{query:z.A(a.query),productName:z.A(c.productName)}),b+=z.A(z.N({href:(0,z.L)(""+z.F(z.Qi(a,c))),l:"link--backgrounded",s:(0,z.M)(""+d),source:"search-popover",hf:!0},c)));return(0,z.y)(b)}; | |
Lz=function(a,b){var c="";if(a.A1)var d=z.n("More"),c=c+z.A(z.Jz({href:a.A1,source:"search-popover",moreText:(0,z.M)(""+d)},b));c=""+z.A(z.Kz(z.D({Xf:!0,Gg:(0,z.M)(c)},a),b));c+=z.A(z.xga(z.D({gWa:!0,source:"search-popover"},a),b));return(0,z.y)(c)};coa=function(){var a=z.n("You read a lot. We like that.");return(0,z.y)(""+a)};sA=function(){var a=z.n("Get started");return(0,z.y)(""+a)};tA=function(){var a=z.n("Upgrade");return(0,z.y)(""+a)}; | |
doa=function(){var a=z.n("Resume membership");return(0,z.y)(""+a)};eoa=function(a,b){a=z.n("Read stories from top experts on {$startStrong}{$name}{$endStrong} with a free {$productName} account.",{startStrong:"\x3cstrong\x3e",name:z.A(a.topic.name),endStrong:"\x3c/strong\x3e",productName:z.A(b.productName)});return(0,z.y)(""+a)}; | |
z.vA=function(a,b){var c=a.location,d="",e=b.j.Yc;switch(z.sa(c)?c.toString():c){case e.Aha:var g=d,k,l=a,l=l||{},q="",r=z.n("Become a member"),q=q+z.uA(z.D({s:(0,z.M)(""+r),eb:!0,signInAction:b.j.Dz.iL},l),b);k=(0,z.y)(q);d=g+k;break;case e.LS:var t=d,w,C=a.location,J=a.feature,Q=a.postId,R=a.authorId,S=a.l,ba="";if(b.isAuthenticated)ba+=z.uA(z.D({Db:!0,Ra:!0},a),b);else{var X=""+z.A(z.zi({name:b.j.c6,dimension:z.ph(""+C+(J?"|"+J:"")),postId:Q||null,authorId:R||null})),X=(0,z.M)(X),Fa=""+z.F(z.Li({url:(0,z.L)(""+ | |
z.F(z.lj(a,b))),source:X},b)),Fa=(0,z.L)(Fa),Ra=ba,mb=Fa,Ib,ya=z.n("Become a member");Ib=(0,z.y)(""+ya);ba=Ra+z.A(z.N(z.D({href:mb,Db:!0,Ra:!1,$b:!0,l:S?S+" js-upgradeMembershipAction":"js-upgradeMembershipAction",s:(0,z.M)(""+z.A(Ib))},a),b))}w=(0,z.y)(ba);d=t+w;break;case e.PD:var Gb=d,sb,Fb=a.l,Jb="",Wc=""+(b.currentUser.hasPastMemberships?z.A(doa()):z.A(tA())),Wc=(0,z.M)(Wc),Jb=Jb+z.uA({s:Wc,location:b.j.Yc.PD,Ra:!0,Jh:!0,la:!0,isPrimary:!0,ld:!0,postId:null==a.post?null:a.post.id,b1:!0,l:Fb}, | |
b);sb=(0,z.y)(Jb);d=Gb+sb;break;case e.I5:var ib=d,gd,sd=a,sd=sd||{},ua="";if(z.Xl(b.currentUser)){var Pc=ua,jc,Cc=z.n("View membership");jc=(0,z.y)(""+Cc);ua=Pc+z.A(jc)}else var bd=z.n("Become a member"),ua=ua+bd;var cd=""+z.uA(z.D({s:(0,z.M)(ua),Ra:!0,la:!0,ca:!0,hf:!0},sd),b);gd=(0,z.y)(cd);d=ib+gd;break;case e.SS:var Xd=d,rb,Kb=a,Kb=Kb||{};rb=(0,z.y)(z.uA(z.D({s:Kb.s,signInAction:b.j.Dz.yK,Nb:!1},Kb),b));d=Xd+rb;break;case e.w5:var Rc=d,ge,he=a,he=he||{};ge=(0,z.y)(z.uA(z.D({s:(0,z.M)(""+z.A(tA())), | |
signInAction:b.j.Dz.yK,Nb:!1},he),b));d=Rc+ge;break;case e.m4:var Sb=d,ef,ld=a.location,ec=a.postId,Me=a.authorId,Gc=z.y,ag='\x3cspan class\x3d"u-flexCenter u-borderRadius3 u-marginTop30 u-marginBottom20 u-paddingTop15 u-paddingBottom15 u-xs-paddingTop10 u-xs-paddingBottom10 u-textColorDark u-backgroundGrayLightest u-cursorPointer js-audioPlayer"\x3e\x3cspan class\x3d"u-flex0 u-flexCenter u-paddingLeft15 u-paddingRight20"\x3e'+z.A(z.Lda({l:"u-bottomNegative3"}))+'\x3c/span\x3e\x3cspan class\x3d"u-flex1 u-flexCenter u-xs-flexColumnTop"\x3e\x3cspan class\x3d"u-flex1 u-textColorDark u-fontSize13 u-paddingRight20 u-maxWidth260"\x3e', | |
Hc,ff=z.n("Psst...there’s an audio version of this story. Upgrade to listen.");Hc=(0,z.y)(""+ff);ef=Gc(z.uA(z.D({s:(0,z.M)(ag+z.A(Hc)+"\x3c/span\x3e\x3c/span\x3e\x3c/span\x3e"),location:ld,postId:ec,authorId:Me,Ra:!1,$b:!0,l:"js-audioUpsell",Nb:!1},a),b));d=Sb+ef;break;case e.oo:var gf=d,vc,wc=a,wc=wc||{},Ld="",Xb=z.n("Offline reading is here."),Md=Ld,ie='\x3cdiv class\x3d"'+z.E(z.pm({Xa:"regular"}))+' u-flexCenter cardChromeless u-marginBottom10 u-maxWidth660 u-textColorDark u-padding20"\x3e\x3cdiv class\x3d"u-flex0 u-paddingRight20"\x3e'+ | |
z.A(lk(null))+'\x3c/div\x3e\x3cdiv class\x3d"u-flex1 u-flexCenter u-borderLeftLighter u-paddingLeft20 u-xs-flexColumnTop"\x3e\x3cspan class\x3d"ui-brand2 u-flex1 u-textColorDark u-contentSerifBold u-fontSize24 u-lineHeightTightest u-xs-marginBottom10"\x3e'+Xb+"\x3c/span\x3e",yf,Ne="";if(b.isAuthenticated)Ne+=b.currentUser.hasPastMemberships&&!b.useragent.isMobile?z.A(doa()):z.A(tA());else var dd=z.n("Get started"),Ne=Ne+dd;yf=(0,z.y)(Ne);Ld=Md+(ie+z.uA(z.D({s:(0,z.M)(""+yf),location:b.j.Yc.oo,Ra:!0, | |
isPrimary:!0,ld:!0,la:!0},wc),b)+"\x3c/div\x3e\x3c/div\x3e");vc=(0,z.y)(Ld);d=gf+vc;break;case e.PS:case e.T5:var xc=d,Yb,Yd=z.D({jy:!b.isAuthenticated},a),Yd=Yd||{},fc=z.y,hf='\x3cdiv class\x3d"postFade '+z.E(z.pm({Xa:"regular"}))+' js-regwall"\x3e',Lf,mc=Yd,Lb="",jf=!((null==mc.post?0:null==mc.post.approvedHomeCollection?0:mc.post.approvedHomeCollection.domain)||(null==mc.post?0:null==mc.post.homeCollection?0:mc.post.homeCollection.domain)),je=""+z.F(z.Aj({imageId:"1*[email protected]"}, | |
0,b)),je=(0,z.L)(je),cb=""+z.A(z.zi({postId:mc.post.id,susiEntry:b.j.qa.zv})),cb=(0,z.M)(cb),zf=Lb,Mf='\x3cdiv class\x3d"u-borderBox u-maxWidth700 u-marginAuto u-marginBottom40 u-padding30 u-flexTop u-borderRadius4 u-boxShadow2px10pxBlackLighter u-xs-hide"\x3e\x3cimg src\x3d"'+z.E(z.Eh(je))+'" class\x3d"u-width100 u-marginRight36"\x3e\x3cdiv class\x3d"u-paddingTop25"\x3e\x3ch1 class\x3d"ui-brand2 u-marginBottom30"\x3e',kf,Zd={BCa:(null==mc.post?null:mc.post.lockedPostSource)==b.j.xv.vz},Zd=Zd||{}, | |
md="";if(Zd.BCa)var rc=z.n("This story is for {$productName} members.",{productName:z.A(b.productName)}),md=md+rc;else var gb=z.n("Join {$productName} to read this story.",{productName:z.A(b.productName)}),md=md+gb;kf=(0,z.y)(md);var td=Mf+z.A(kf)+"\x3c/h1\x3e"+(jf?foa(z.D({source:cb},mc),b):"")+'\x3cp class\x3d"ui-body u-marginTop30 u-marginBottom30"\x3e',ke,nc=mc,nc=nc||{},Pa="",yc=Cu(nc.post),le=(null==nc.post?null:null==nc.post.approvedHomeCollection?null:nc.post.approvedHomeCollection.name)|| | |
(null==nc.post?null:null==nc.post.homeCollection?null:nc.post.homeCollection.name),lf=(null==nc.post?null:null==nc.post.translationSourceCreator?null:nc.post.translationSourceCreator.name)||(null==nc.post?null:null==nc.post.creator?null:nc.post.creator.name);if((null==nc.post?null:nc.post.lockedPostSource)==b.j.xv.vz)var Zc=z.n("{$productName} curates expert stories from leading publishers exclusively for members (with no ads!). Register for a free account to begin your member preview.",{productName:z.A(b.productName)}), | |
Pa=Pa+Zc;else if(yc)var De=z.n("This story is locked exclusively for members. But with a free {$productName} account, you can access this post, plus two other exclusive stories this month.",{productName:z.A(b.productName)}),Pa=Pa+De;else if(le)var mf=z.n("{$collectionName} has locked this story exclusively for members. But with a free {$productName} account, you can access this post, plus two other exclusive stories this month.",{collectionName:z.A(le),productName:z.A(b.productName)}),Pa=Pa+mf;else if(lf)var $d= | |
z.n("{$authorName} has locked this story exclusively for members. But with a free {$productName} account, you can access this post, plus two other exclusive stories this month.",{authorName:z.A(lf),productName:z.A(b.productName)}),Pa=Pa+$d;else var Nd=z.n("With a free {$productName} account, you can access this post, plus two other exclusive stories this month.",{productName:z.A(b.productName)}),Pa=Pa+Nd;ke=(0,z.y)(Pa);Lb=zf+(td+z.A(ke)+'\x3c/p\x3e\x3cdiv class\x3d"ui-body u-marginVertical30"\x3e'+ | |
goa(z.D({source:cb},mc),b)+"\x3c/div\x3e"+(jf?"":z.A(z.N(z.D({s:(0,z.M)(""+z.A(sA())),Ra:!0,la:!0,isPrimary:!0,Jh:!0,ld:!0,signInAction:b.j.Dz.yK,Nb:!0,href:(0,z.L)(""+z.F(z.Bi({post:mc.post,source:cb},0,b))),source:cb},mc),b)))+"\x3c/div\x3e\x3c/div\x3e");Lf=(0,z.y)(Lb);var Dd=hf+Lf,Bb,Sc=Yd,ud="",nf=z.n("Join {$productName} to read this story.",{productName:z.A(b.productName)}),Od=!((null==Sc.post?0:null==Sc.post.approvedHomeCollection?0:Sc.post.approvedHomeCollection.domain)||(null==Sc.post?0: | |
null==Sc.post.homeCollection?0:Sc.post.homeCollection.domain)),vd=""+z.A(z.zi({postId:Sc.post.id,susiEntry:b.j.qa.zv})),vd=(0,z.M)(vd),ae=ud,Ng='\x3cdiv class\x3d"u-borderRadius4 u-boxShadow2px10pxBlackLighter u-textAlignCenter u-padding25 u-margin10 u-marginBottom40 u-xs-show"\x3e\x3ch1 class\x3d"ui-brand2"\x3e'+nf+"\x3c/h1\x3e"+(Od?'\x3cdiv class\x3d"u-maxWidth225 u-marginAuto u-marginTop20"\x3e'+foa(z.D({isMobile:!0,source:vd},Sc),b)+"\x3c/div\x3e":"")+'\x3cdiv class\x3d"ui-body u-marginTop10"\x3e', | |
Oe,Zb=Sc,Zb=Zb||{},oc="",te=Cu(Zb.post),Nc=!!((null==Zb.post?0:null==Zb.post.approvedHomeCollection?0:Zb.post.approvedHomeCollection.domain)||(null==Zb.post?0:null==Zb.post.homeCollection?0:Zb.post.homeCollection.domain)),Pe=(null==Zb.post?null:null==Zb.post.approvedHomeCollection?null:Zb.post.approvedHomeCollection.name)||(null==Zb.post?null:null==Zb.post.homeCollection?null:Zb.post.homeCollection.name),Ed=(null==Zb.post?null:null==Zb.post.translationSourceCreator?null:Zb.post.translationSourceCreator.name)|| | |
(null==Zb.post?null:null==Zb.post.creator?null:Zb.post.creator.name);if((null==Zb.post?null:Zb.post.lockedPostSource)==b.j.xv.vz){var Nf=z.n("with a free account to read this ad-free selection"),Of=oc,Ee;if(Nc){var zc=Zb,Ic="",Af=z.n("Sign up"),Ic=Ic+z.A(z.N({style:"link.obvious",href:(0,z.L)(""+z.F(z.Bi(zc,0,b))),s:(0,z.M)(""+Af),Nb:!0,source:(0,z.M)(""+z.A(z.zi({susiEntry:b.j.qa.zv})))},b));Ee=(0,z.y)(Ic)}else Ee="Sign up";oc=Of+(Ee+" "+Nf);if(Pe)var ch=z.n(" curated from {$collectionName}",{collectionName:z.A(Pe)}), | |
oc=oc+ch;oc+="."}else if(te)var bg=z.n("This story is locked exclusively for members. But with a free {$productName} account, you can access this post, plus two other exclusive stories this month.",{productName:z.A(b.productName)}),oc=oc+bg;else if(Pe)var cg=z.n("{$collectionName} has locked this story exclusively for members. But with a free {$productName} account, you can access this post, plus two other exclusive stories this month.",{collectionName:z.A(Pe),productName:z.A(b.productName)}),oc= | |
oc+cg;else if(Ed)var Oh=z.n("{$authorName} has locked this story exclusively for members. But with a free {$productName} account, you can access this post, plus two other exclusive stories this month.",{authorName:z.A(Ed),productName:z.A(b.productName)}),oc=oc+Oh;else var Pd=z.n("With a free {$productName} account, you can access this post, plus two other exclusive stories this month.",{productName:z.A(b.productName)}),oc=oc+Pd;Oe=(0,z.y)(oc);ud=ae+(Ng+z.A(Oe)+'\x3c/div\x3e\x3cdiv class\x3d"ui-body u-marginTop20"\x3e'+ | |
goa(z.D({source:vd},Sc),b)+"\x3c/div\x3e\x3c/div\x3e");Bb=(0,z.y)(ud);Yb=fc(Dd+Bb+"\x3c/div\x3e");d=xc+Yb;break;case e.mq:case e.Hl:case e.oi:d+=hoa(a,b);break;case e.m5:d+=hoa(z.D({JCa:!0},a),b);break;default:var wd=d,vh,Bf=a,Bf=Bf||{};vh=(0,z.y)(z.uA(Bf,b));d=wd+vh}return(0,z.y)(d)}; | |
z.uA=function(a,b){var c=a.s,d=a.l,e=a.Nb,g=a.jy,k=a.Pr,l=a.signInAction,q=a.Zd,r=a.b1,t=a.redirectUrl,w="",t=""+(t?z.F(t):b.isAuthenticated?z.F(z.hj(a,b)):z.F(z.lj(a,b))),t=(0,z.L)(t),d=""+(d?z.A(d)+" ":"")+(g?"":"js-upgradeMembershipAction"),d=(0,z.M)(d);r||b.isAuthenticated?(e=""+(c?z.A(c):z.A(tA())),e=(0,z.M)(e),w+=z.A(z.N(z.D({href:t,s:e,l:d,Qf:!0},a),b))):(c=""+(c?z.A(c):z.A(sA())),c=(0,z.M)(c),w+=z.A(z.N(z.D({Nb:null!=e?e:!0,s:c,Pr:null!=k?k:!0,signInAction:l,href:t,Le:t,Zd:null!=q?q:!1,l:d}, | |
a),b)));return(0,z.y)(w)};foa=function(a,b){a=a||{};var c=a.isMobile,d="";a=""+z.F(z.Fi(b.Wp,{YYa:!0,source:a.source},b));a=(0,z.L)(a);d+='\x3cdiv class\x3d"buttonSet"\x3e';c=(0,z.M)((c?"u-sizeFullWidth":"u-paddingRight20")+" u-xs-marginBottom10");d+=z.A(cm({fo:"facebook",Xp:"Facebook",action:"facebook-auth",redirectUrl:a,l:c},b))+z.A(cm({fo:"google",Xp:"Google",action:"google-auth",redirectUrl:a,l:c},b))+"\x3c/div\x3e";return(0,z.y)(d)}; | |
goa=function(a,b){a=a||{};var c="",d=z.n("Already have an account?"),c=c+(d+" "+wA(a,b));return(0,z.y)(c)};wA=function(a,b){var c=a.source,d=z.y,e,g={gDa:a.Kp},g=g||{};e="";g=g.gDa?z.n("sign in."):z.n("Sign in.");e+=g;e=(0,z.y)(e);return d(z.A(z.N(z.D({s:(0,z.M)(""+z.A(e)),signInAction:b.j.Dz.yK,Nb:!0,Zd:!0,style:"link.obvious",href:(0,z.L)(""+z.F(z.Bi(a,0,b))),source:c},a),b)))}; | |
hoa=function(a,b){a=a||{};var c=a.source,d="",e=!!a.JCa,g=""+(b.isAuthenticated?z.F(z.Yca(a,b)):""),g=(0,z.L)(g),k;k=b.isAuthenticated?z.n("Get started"):z.n("Upgrade");k=(0,z.y)(""+k);k=z.A(k);k=(0,z.M)(""+k);d+=z.uA(z.D({Ra:!0,ld:!e,la:!e,s:k,redirectUrl:g,Nb:!1,IJ:!!c},a),b);return(0,z.y)(d)}; | |
koa=function(a,b){a=a||{};var c=a.cQ,d=a.q0,e=a.YAa,g=a.pda,k=a.l,c=b.supportsEdit&&!c,k='\x3cdiv class\x3d"buttonSet buttonSet--wide'+(k?" "+z.E(k):"")+'"\x3e'+(c?ioa(z.D({l:"u-marginRight15"},a),b):"");if(d)d="";else var c=c={Ip:!0,collection:a.collection},l=!b.isAmp,d=l?z.A(z.$na({Ip:c.Ip,AQ:!0,collection:c.collection},b)):"",c=(c=z.D({CR:l},c))||{},l="",q=z.n("Search"),r=""+(c.collection?z.F(Ri(c,b)):z.F(z.Qi(null,b))),r=(0,z.L)(r),t=""+z.A(z.uk(null)),t=(0,z.M)(t),l=l+z.A(z.al({vb:c.vb,ca:!0, | |
Db:c.Ip,Ip:c.Ip,CR:c.CR,href:r,icon:t,title:(0,z.M)(""+q),l:"u-xs-top2"},b)),c=(0,z.y)(l),d=(0,z.y)(""+(d+c));k+=d;b.isAuthenticated||b.isAmp?d="":(d=a||{},c="",l=z.n("Sign in"),q=""+z.A(z.zi({susiEntry:b.j.qa.Hv})),q=(0,z.M)(q),c+=z.A(z.N({s:(0,z.M)(""+l),Nb:!0,Zd:!0,href:(0,z.L)(""+z.F(z.Gi({source:q,Zd:!0},b))),source:q,Ra:!0,isPrimary:!0,vb:d.vb,la:d.la,ca:!0,l:"is-inSiteNavBar u-xs-hide js-signInButton"},b)),d=(0,z.y)(c),c=a||{},l="",q=z.n("Get started"),r=""+z.A(z.zi({susiEntry:b.j.qa.Hv})), | |
r=(0,z.M)(r),l+=z.A(z.N({s:(0,z.M)(""+q),Nb:!0,href:(0,z.L)(""+z.F(z.Gi({source:r},b))),source:r,Ra:!0,isPrimary:!0,vb:c.vb,la:c.la,l:"is-inSiteNavBar js-signUpButton"},b)),c=(0,z.y)(l),d+=c);k+=d;b.isAuthenticated?(z.Xl(b.currentUser)&&!g?(g=a||{},g=g.vb,d="",c=z.n("Bookmarks"),l=""+(z.Xl(b.currentUser)?z.F(z.mj({activeTab:b.j.Qh.vo},b)):z.F((0,z.ri)(z.F(z.Ci(b,"SHOW_BOOKMARKS",null,null,null))))),l=(0,z.L)(l),q={},q=(0,z.y)(z.Pj(z.D({name:"bookmarkStack",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M16 6c1.1 0 2 .9 2 2v13.661h-.012a.5.5 0 0 1-.118.285.508.508 0 0 1-.708.03L11.5 17.85l-5.662 4.125a.5.5 0 0 1-.706-.03.478.478 0 0 1-.12-.285H5V8c0-1.1.9-2 2-2h9zM6 8v12.636l5.162-3.667a.49.49 0 0 1 .676 0L17 20.637V8c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1z"/\x3e\x3cpath d\x3d"M21 5v13.661h-.012a.5.5 0 0 1-.118.285.508.508 0 0 1-.708.03L20 18.858V5c0-.55-.45-1-1-1h-9c-.55 0-1 .45-1 1H8c0-1.1.9-2 2-2h9c1.1 0 2 .9 2 2z"/\x3e\x3c/svg\x3e')}, | |
q))),q=""+z.A(q),q=(0,z.M)(q),d+=z.A(z.al({vb:g,Db:!0,ca:!0,Ip:!0,href:l,icon:q,title:(0,z.M)(""+c)},b)),g=(0,z.y)(d)):g="",e=g+(e?"":joa(a,0,b)),g=(0,z.y)(z.A(z.Uk({action:"open-userActions",ca:!0,o0:!0,l:"u-marginLeft4 is-inSiteNavBar js-userActions",s:(0,z.M)(""+z.A(z.Dl({user:b.currentUser,rf:!0,ry:z.Xl(b.currentUser)},b)))},b))),e+=g):e="";e=k+e;a.collection&&!b.useragent.isMobile?(g=a.collection.id,k=null==a.collection.virtuals?null:null==a.collection.virtuals.permissions?null:a.collection.virtuals.permissions.canManageAll, | |
a=""+(b.currentUser.userId==a.collection.creatorId||k?z.A(z.Uk({action:"show-collection-manage-actions",actionValue:"affixMenu",vx:g,ca:!0,o0:!0,l:"is-inSiteNavBar js-pubManageMenu",s:(0,z.M)(""+z.A(z.Bl({collection:a.collection,rf:!0},b)))},b)):""),a=(0,z.y)(a),a=z.A(a)):a="";return(0,z.y)(""+(e+a+"\x3c/div\x3e"))}; | |
ioa=function(a,b){a=a||{};a=a.l;var c="",d=""+z.F(z.Ii(b)),d=(0,z.L)(d),c=c+z.A(z.N({href:d,s:(0,z.M)(""+z.A(z.Vea())),Nb:!0,Le:d,source:(0,z.M)(""+z.A(z.zi({susiEntry:b.j.qa.fE}))),Ra:!0,ca:!0,isPrimary:!!b.isAuthenticated,l:(0,z.M)("is-inSiteNavBar u-sm-hide"+(a?" "+z.A(a):""))},b));return(0,z.y)(c)}; | |
joa=function(a,b,c){a=a||{};var d="";b=z.n("Notifications");var e;e={};e=(0,z.y)(z.Pj(z.D({name:"bell",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" viewBox\x3d"-293 409 25 25"\x3e\x3cpath d\x3d"M-273.327 423.67l-1.673-1.52v-3.646a5.5 5.5 0 0 0-6.04-5.474c-2.86.273-4.96 2.838-4.96 5.71v3.41l-1.68 1.553c-.204.19-.32.456-.32.734V427a1 1 0 0 0 1 1h3.49a3.079 3.079 0 0 0 3.01 2.45 3.08 3.08 0 0 0 3.01-2.45h3.49a1 1 0 0 0 1-1v-2.59c0-.28-.12-.55-.327-.74zm-7.173 5.63c-.842 0-1.55-.546-1.812-1.3h3.624a1.92 1.92 0 0 1-1.812 1.3zm6.35-2.45h-12.7v-2.347l1.63-1.51c.236-.216.37-.522.37-.843v-3.41c0-2.35 1.72-4.356 3.92-4.565a4.353 4.353 0 0 1 4.78 4.33v3.645c0 .324.137.633.376.85l1.624 1.477v2.373z"/\x3e\x3c/svg\x3e')},e))); | |
d+=z.A(z.Wk({icon:(0,z.M)(""+z.A(e)),jm:(0,z.M)(""+(a.unreadActivityCount?'\x3cspan class\x3d"button-text"\x3e'+z.A(z.Mh(Number(a.unreadActivityCount)))+'\x3c/span\x3e\x3cspan class\x3d"u-textScreenReader"\x3eNew notifications: '+z.A(z.Kh(Number(a.unreadActivityCount)))+"\x3c/span\x3e":"")),l:(0,z.M)("button--activity js-notificationsButton u-marginRight16 u-xs-marginRight5 u-lineHeight0"+(a.unreadActivityCount?"":" u-size25x25")+(99<a.unreadActivityCount?" is-highActivityCount":"")+(a.unreadActivityCount? | |
" is-active is-counter":"")+(a.vb?" is-styleLight":"")+(a.la?" is-styleDark":"")),title:(0,z.M)(""+b),isPrimary:!!a.unreadActivityCount,ld:!!a.unreadActivityCount,ca:!0,Vc:!!a.unreadActivityCount,Db:!0,Ip:!0,action:"open-notifications"},c));return(0,z.y)(d)}; | |
loa=function(a,b,c){var d="";a=z.n("Sign out");b=z.n("Help");var e=z.n("Settings"),g=z.n("Profile"),k=z.n("Publications"),l=z.n("Series"),q=z.n("Stories"),r;z.Xl(c.currentUser)?(r=r={user:c.currentUser,rf:!0,ry:z.Xl(c.currentUser)},r=(0,z.y)(z.Cl(z.D({width:50,height:50,Vf:"u-size50x50 u-xs-size40x40"},r),c)),r='\x3cli class\x3d"list-item u-paddingTop25 u-paddingLeft25 u-paddingRight25 u-paddingBottom10"\x3e\x3cdiv class\x3d"u-flexCenter"\x3e\x3cdiv class\x3d"u-flex0"\x3e'+z.A(r)+'\x3c/div\x3e\x3cdiv class\x3d"u-flex1 u-paddingLeft15 u-fontSize14"\x3e\x3cdiv class\x3d"u-fontWeightBold"\x3e'+ | |
z.A(z.fl({user:c.currentUser,Ge:!0,l:"u-normalWrap",wj:!0},c))+'\x3c/div\x3e\x3cdiv class\x3d"u-textColorGreenNormal"\x3eMember\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/li\x3e'):r="";r='\x3cul role\x3d"menu" class\x3d"list list--borderless list--short list--large"\x3e'+r+'\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.vA({location:c.j.Yc.I5},c))+'\x3c/li\x3e\x3cli class\x3d"list-item list-item--separator"\x3e\x3c/li\x3e';var t;c.supportsEdit?t='\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.N({Ra:!0, | |
la:!0,ca:!0,hf:!0,href:(0,z.L)(""+z.F(z.Ii(c))),s:(0,z.M)(""+z.A(Wea()))},c))+"\x3c/li\x3e":(t=z.n("How do I write?"),t=(0,z.y)(""+t),t='\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.N({Ra:!0,la:!0,ca:!0,hf:!0,s:(0,z.M)(""+z.A(t)),href:c.j.t0},c))+"\x3c/li\x3e");d+=r+t+'\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.N({Ra:!0,la:!0,ca:!0,hf:!0,s:(0,z.M)(""+q),href:(0,z.L)(""+z.F(z.Si({filterBy:"drafts"},c)))},c))+'\x3c/li\x3e\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.N({Ra:!0,la:!0,ca:!0, | |
hf:!0,s:(0,z.M)(""+l),href:(0,z.L)(""+z.F(z.Si({filterBy:"drafts",postTypeFilter:c.j.KK.aE},c)))},c))+"\x3c/li\x3e";c.currentUser.lastPostCreatedAt&&(l=z.n("Stats"),d+='\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.N({Ra:!0,la:!0,ca:!0,hf:!0,s:(0,z.M)(""+l),href:(0,z.L)(""+z.F((0,z.ri)(z.F(z.Ci(c,"STATS",null,null,null)))))},c))+"\x3c/li\x3e");d+='\x3cli class\x3d"list-item list-item--separator"\x3e\x3c/li\x3e\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.N({Ra:!0,la:!0,ca:!0,hf:!0,s:(0,z.M)(""+ | |
z.A(z.xj(null,c))),href:(0,z.L)(""+(c.currentUser.isEnrolledInHightower?z.F((0,z.ri)(z.F(z.Ci(c,"PARTNER_DASHBOARD",null,null,null)))):z.F(z.oj(c))))},c))+'\x3c/li\x3e\x3cli class\x3d"list-item list-item--separator"\x3e\x3c/li\x3e';z.Xl(c.currentUser)?(l=z.n("Reading list"),d+='\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.N({Ra:!0,la:!0,ca:!0,hf:!0,s:(0,z.M)(""+l),href:(0,z.L)(""+z.F((0,z.ri)(z.mj({activeTab:c.j.Qh.vo},c))))},c))+"\x3c/li\x3e"):(l=z.n("Bookmarks"),d+='\x3cli class\x3d"list-item u-padding0"\x3e'+ | |
z.A(z.N({Ra:!0,la:!0,ca:!0,hf:!0,s:(0,z.M)(""+l),href:(0,z.L)(""+(z.Xl(c.currentUser)?z.F((0,z.ri)(z.mj({activeTab:c.j.Qh.vo},c))):z.F((0,z.ri)(z.mj({activeTab:c.j.Qh.oo},c)))))},c))+"\x3c/li\x3e");l=d;b='\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.N({Ra:!0,la:!0,ca:!0,hf:!0,s:(0,z.M)(""+k),href:(0,z.L)(""+z.F(z.Ti(null,c)))},c))+'\x3c/li\x3e\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.N({Ra:!0,la:!0,ca:!0,hf:!0,s:(0,z.M)(""+z.A(z.Wna())),href:(0,z.L)(""+z.F(z.Ui({entityName:c.j.Sg.Tm}, | |
c)))},c))+'\x3c/li\x3e\x3cli class\x3d"list-item list-item--separator"\x3e\x3c/li\x3e\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.N({Ra:!0,la:!0,ca:!0,hf:!0,s:(0,z.M)(""+g),href:(0,z.L)(""+z.F(z.Mi({user:c.currentUser},c)))},c))+'\x3c/li\x3e\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.N({Ra:!0,la:!0,ca:!0,hf:!0,s:(0,z.M)(""+e),href:(0,z.L)(""+z.F((0,z.ri)(z.F(z.Ci(c,"SETTINGS",null,null,null)))))},c))+'\x3c/li\x3e\x3cli class\x3d"list-item u-padding0"\x3e'+z.A(z.N({Ra:!0,la:!0,ca:!0,hf:!0, | |
hb:!0,s:(0,z.M)(""+b),href:c.j.UAa},c))+'\x3c/li\x3e\x3cli class\x3d"list-item u-padding0"\x3e';a=(0,z.M)(""+a);e=(0,z.ri)(z.F(z.Ci(c,"ACCT_SIGNOUT",null,null,null,c.xsrfToken)));d=l+(b+z.A(z.N({Ra:!0,la:!0,ca:!0,hf:!0,s:a,href:(0,z.L)(""+z.F(e))},c))+"\x3c/li\x3e\x3c/ul\x3e");return(0,z.y)(d)}; | |
z.AA=function(a,b){a=a||{};var c=a.j_,d=a.i_,e=a.wWa,g=a.$n,k=a.W0,l=a.V0,q=a.GR,r=a.pYa,t="",g="metabar u-clearfix js-metabar"+(a.AQ?" u-backgroundTransparentBlack":"")+(a.vb?" u-textColorTransparentWhiteDarker":"")+(a.la?" u-textColorDarker":"")+(a.Qr?" u-fixed u-backgroundTransparentWhiteDarkest u-xs-sizeFullViewportWidth":"")+(e?" u-fixed u-backgroundWhite":"")+(a.qWa?" u-backgroundGrayLightest":"")+(a.rea?" u-tintBgColor u-tintSpectrum":"")+(a.pCa?" u-background":"")+(a.tCa?" u-xs-hide":"")+ | |
(r?" "+z.A(r)+" u-tintBgColor":"")+(g?" u-background--brandSea":""),g=(0,z.M)(g),g='\x3cdiv class\x3d"'+z.E(g)+'"\x3e'+(b.variants.enable_branch_io?'\x3cdiv class\x3d"branch-journeys-top"\x3e\x3c/div\x3e':"");if(c){var w;w=a||{};var r=w.j_,C="";w="js-metabarTop "+xA(z.D({pC:!0},w));w=(0,z.M)(w);C+='\x3cdiv class\x3d"'+z.E(w)+'"\x3e\x3cdiv class\x3d"metabar-block u-height40"\x3e'+z.A(r)+"\x3c/div\x3e\x3c/div\x3e";r=(0,z.y)(C)}else r="";g+=r;C=a||{};w=C.XR;var J=C.Pm,r='\x3cdiv class\x3d"js-metabarMiddle '+ | |
z.E(xA({pC:C.pC,oCa:w}))+" u-flexCenter u-justifyContentSpaceBetween"+(w?" u-height72":" u-height65 u-xs-height56 u-paddingLeft20 u-paddingRight20")+'"\x3e';w?(C=C||{},b=(0,z.y)('\x3cdiv class\x3d"metabar-block u-flex1 js-metabarLogoLeft"\x3e'+yA({XR:!0},b)+"\x3c/div\x3e"+zA(C,b))):J?(C=C||{},b=(0,z.y)('\x3cdiv class\x3d"metabar-block u-flex1 '+(C.zi?" u-flexCenter":"")+'"\x3e\x3cdiv class\x3d"js-metabarLogoLeft"\x3e'+yA(z.D({Pm:!0,l:"u-flexCenter u-paddingTop0"},C),b)+"\x3c/div\x3e"+moa(C,b)+"\x3c/div\x3e"+ | |
zA(C,b))):(J=(J=C)||{},C=z.y,w='\x3cdiv class\x3d"metabar-block u-flex1'+(J.zi?" u-flexCenter":"")+'"\x3e\x3cdiv class\x3d"js-metabarLogoLeft u-xs-show"\x3e'+yA(z.D({Pm:!1},J),b)+"\x3c/div\x3e"+moa(J,b)+"\x3c/div\x3e"+zA(J,b),J=J||{},b=(0,z.y)('\x3cdiv class\x3d"u-absolute u-sizeFullWidth u-top0 u-right0 u-bottom0 u-flexCenter u-justifyContentCenter u-textAlignCenter u-xs-hide js-metabarLogoCentered"\x3e'+yA(z.D({d4:!0},J),b)+"\x3c/div\x3e"),b=C(w+b));b=(0,z.y)(""+(r+b+"\x3c/div\x3e"));b=g+b;d?(C= | |
a||{},a=C.dza,g=C.i_,r="",C=xA(C)+" js-metabarBottom",C=(0,z.M)(C),r+='\x3cdiv class\x3d"'+z.E(C)+'"\x3e\x3cnav role\x3d"navigation" class\x3d"metabar-block metabar-block--below u-overflowHidden'+(a?" "+z.E(a):" u-height50 u-xs-height39")+'"\x3e'+z.A(g)+"\x3c/nav\x3e\x3c/div\x3e",a=(0,z.y)(r)):a="";a=b+a+"\x3c/div\x3e";e?c="":(d=d={jGa:!!c,bGa:!!d,W0:k,V0:l,GR:q},e=d.jGa,k=d.bGa,l=d.GR,c="",d="metabar metabar--spacer js-metabarSpacer"+(d.W0?" u-backgroundTransparentBlack":"")+(d.V0?" u-tintBgColor": | |
"")+(l?" "+z.A(l):k&&e?" u-height155 u-xs-height139":k&&!e?" u-height115 u-xs-height95":e&&!k?" u-height105 u-xs-height96":" u-height65 u-xs-height56"),d=(0,z.M)(d),c+='\x3cdiv class\x3d"'+z.E(d)+'"\x3e\x3c/div\x3e',c=(0,z.y)(c));return(0,z.y)(t+(a+c))};z.BA=function(a){var b=a.s,c=a.l,d="";a="u-flexCenter"+(a.Pda?" u-height50 u-xs-height39":" u-height65 u-xs-height56")+(c?" "+z.A(c):"");a=(0,z.M)(a);d+='\x3cdiv class\x3d"'+z.E(a)+'"\x3e'+z.A(b)+"\x3c/div\x3e";return(0,z.y)(d)}; | |
moa=function(a,b){a=a||{};var c=a.zi,d=a.$y,e=a.jFa;return(0,z.y)((a.Dl||e||d?"":z.Xl(b.currentUser)?z.A(ioa(z.D({l:"u-marginLeft0"},a),b)):z.A(z.vA(z.D({location:b.j.Yc.LS,l:"u-xs-hide"},a),b)))+(c?z.A(c):""))}; | |
zA=function(a,b){a=a||{};var c=a.Gg,d=a.jFa,e=a.Dl,g=a.$y,k=a.ov,l=a.pha,q=a.pD,r=a.vb,t=a.la;a="";b=""+(c&&!b.isAmp?z.A(c):"")+(g?"":z.A(koa({cQ:!d||e||g,q0:k,YAa:l,pda:q,vb:r,la:t},b)));b=(0,z.M)(b);a+=b?'\x3cdiv class\x3d"metabar-block u-flex0'+(c?" u-flexCenter":"")+'"\x3e'+z.A(b)+"\x3c/div\x3e":"";return(0,z.y)(a)};xA=function(a){a=a||{};var b=a.pC;return(0,z.y)("metabar-inner u-marginAuto"+(a.oCa?" metabar-inner--elevate":b?" u-sizeFullWidth":" u-maxWidth1000"))}; | |
yA=function(a,b){a=a||{};var c=a.Pm,d=a.XR,e=a.d4,g=a.vb,k=a.la,l=a.l,q="";a=z.n("Homepage");b='\x3ca href\x3d"'+z.E(z.F(z.Ki(b)))+'" data-log-event\x3d"home" class\x3d"siteNav-logo'+(l?" "+z.E(l):"")+'"\x3e';d?(c=c={Ki:!0,l:"u-inlineBlock"},d=c.Ki,e=c.l,c=(0,z.y)('\x3cdiv class\x3d"u-background--brandBlack u-paddingVertical10 u-paddingHorizontal40'+(e?" "+z.E(e):"")+'"\x3e'+z.A(Uda(z.D({Ki:d,l:(0,z.M)("u-textColorWhite")},c)))+"\x3c/div\x3e"),c=z.A(c)):c?(d=d={vb:g,la:k,Ki:!0,l:"u-textColorDarker"}, | |
c=z.y,d=d||{},d=(0,z.y)(z.Pj(z.D({name:"logoMonogram",size:"45px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"45" height\x3d"45" \x3e\x3cpath d\x3d"M5 40V5h35v35H5zm8.56-12.627c0 .555-.027.687-.318 1.03l-2.457 2.985v.396h6.974v-.396l-2.456-2.985c-.291-.343-.344-.502-.344-1.03V18.42l6.127 13.364h.714l5.256-13.364v10.644c0 .29 0 .342-.185.528l-1.848 1.796v.396h9.19v-.396l-1.822-1.796c-.184-.186-.21-.238-.21-.528V15.937c0-.291.026-.344.21-.528l1.823-1.797v-.396h-6.471l-4.622 11.542-5.203-11.542h-6.79v.396l2.14 2.64c.239.292.291.37.291.768v10.353z"/\x3e\x3c/svg\x3e')}, | |
d))),c=c(z.A(d)),c=z.A(c)):c=z.A(z.Mfa({Ki:!0,d4:e,l:"u-textColorDarker"}));return(0,z.y)(q+(b+c+'\x3cspan class\x3d"u-textScreenReader"\x3e'+a+"\x3c/span\x3e\x3c/a\x3e"))}; | |
poa=function(a,b,c){a=a||{};b=a.operation;var d=a.entryPoint,e=a.source,g=a.redirect,k=a.redirectUrl,l=""+z.A(z.AA({Qr:!0,tCa:!0,Dl:!0,$y:!0,GR:"u-heightAuto"},c)),g=""+(k?z.F(k):g?z.F(z.Li({url:g,source:e},c)):""),g=(0,z.L)(g),l=l+('\x3cdiv class\x3d"u-minHeight100vh u-sizeFullHeight u-backgroundColorGrayLight u-flexColumn u-flexCenter"\x3e\x3cdiv class\x3d"u-flex1 u-flexCenter u-marginTop75 u-marginBottom50 u-xs-sizeFullWidth u-xs-margin0 js-susiForm"\x3e'+(b==c.j.po.wz?noa({entryPoint:d,collection:a.collection, | |
user:a.user,source:e,redirectUrl:g,Hh:!0},0,c):ooa({entryPoint:d,collection:a.collection,user:a.user,source:e,redirectUrl:g,Hh:!0},0,c))+"\x3c/div\x3e\x3c/div\x3e");return(0,z.y)(l)}; | |
ooa=function(a,b,c){a=a||{};b=a.Hh;var d="",e=""+(!c.useragent.isMobile||c.useragent.isTablet?'\x3cdiv class\x3d"u-maxWidth300 u-marginAuto js-loginOptions"\x3e'+CA(z.D({actionValue:c.j.po.VD},a),c)+'\x3c/div\x3e\x3cdiv class\x3d"'+z.E(z.pm({Xa:"small"}))+' u-marginTop10"\x3e'+DA(a,c)+'\x3cdiv class\x3d"ui-body u-maxWidth400 u-marginAuto u-marginTop60"\x3e'+EA({Zd:!1},c)+"\x3c/div\x3e\x3c/div\x3e":'\x3cdiv class\x3d"'+z.E(z.pm({Xa:"small"}))+'"\x3e'+DA(a,c)+'\x3c/div\x3e\x3cdiv class\x3d"u-maxWidth300 u-marginAuto u-marginTop30 js-loginOptions"\x3e'+ | |
CA(z.D({actionValue:c.j.po.VD},a),c)+'\x3c/div\x3e\x3cdiv class\x3d"'+z.E(z.pm({Xa:"small"}))+' u-maxWidth400 u-marginAuto u-marginTop60 u-flex1 u-flexColumnBottom"\x3e\x3cdiv class\x3d"ui-body"\x3e'+EA({Zd:!1},c)+"\x3c/div\x3e\x3c/div\x3e"),e=(0,z.M)(e),g,k,l;k=a||{};g="";switch(z.sa(l=k.entryPoint)?l.toString():l){case c.j.qa.rv:case c.j.qa.tD:l=z.n("Create an account to bookmark this post.");g+=l;break;case c.j.qa.dz:case c.j.qa.ez:case c.j.qa.wD:l=z.n("Create an account to clap for this story."); | |
g+=l;break;case c.j.qa.hz:case c.j.qa.iz:case c.j.qa.jz:case c.j.qa.kz:case c.j.qa.AD:case c.j.qa.mz:case c.j.qa.BD:case c.j.qa.nz:case c.j.qa.cK:case c.j.qa.CD:case c.j.qa.DD:case c.j.qa.cE:l=z.n("Never miss a story");g+=l;k.user?(l=z.n(" from {$name}",{name:z.A(k.user.name)}),g+=l):k.topic?g+=" about "+z.A(k.topic.name):k.tag?g+=" about "+z.A(k.tag.name):k.collection&&(l=z.n(" from {$name}",{name:z.A(k.collection.name)}),g+=l);g+=".";break;case c.j.qa.GD:case c.j.qa.HD:l=z.n("Create an account to highlight this passage."); | |
g+=l;break;case c.j.qa.sz:case c.j.qa.fE:l=z.n("Write your story.");g+=l;break;case c.j.qa.mq:case c.j.qa.ND:case c.j.qa.Hv:l=z.n("Join {$productName}.",{productName:z.A(c.productName)});g+=l;break;case c.j.qa.oi:l=z.n("First, create an account.");g+=l;break;case c.j.qa.zv:l=z.n("Create an account to read this story.");g+=l;break;case c.j.qa.FK:case c.j.qa.A5:l=z.n("Pardon the interruption.");g+=l;break;case c.j.qa.RD:case c.j.qa.WD:case c.j.qa.XD:l=z.n("Create an account to write a response.");g+= | |
l;break;default:l=z.n("Join {$productName}.",{productName:z.A(c.productName)}),g+=l}g=(0,z.y)(g);g=(0,z.M)(""+z.A(g));var q;k=a||{};var r=k.gEa;l="";switch(z.sa(q=k.entryPoint)?q.toString():q){case c.j.qa.rv:case c.j.qa.tD:q=z.n("Save stories to your personalized bookmarks and access them anytime, anywhere.");l+=q;break;case c.j.qa.dz:case c.j.qa.ez:case c.j.qa.wD:q=k.post&&k.post.creator?z.n("Applause shows {$name} how much you appreciated this story.",{name:z.A(k.post.creator.name)}):z.n("Applause shows how much you appreciated this story."); | |
l+=q;break;case c.j.qa.hz:case c.j.qa.iz:case c.j.qa.jz:case c.j.qa.kz:case c.j.qa.AD:case c.j.qa.mz:case c.j.qa.BD:case c.j.qa.nz:case c.j.qa.cK:case c.j.qa.CD:case c.j.qa.DD:case c.j.qa.cE:q=z.n("Create an account to follow your favorite authors, publications, and topics.");k.collection&&(k=z.n("{$name} is powered by {$productName}.",{name:z.A(k.collection.name),productName:z.A(c.productName)}),l+="\x3cp\x3e"+k+"\x3c/p\x3e");l+=q;break;case c.j.qa.GD:case c.j.qa.HD:q=z.n("Highlighting on {$productName} shows the author and readers which ideas resonate with you.", | |
{productName:z.A(c.productName)});l+=q;break;case c.j.qa.sz:case c.j.qa.fE:q=z.n("Create an account to use our world-class editing and publishing tools.");l+=q;break;case c.j.qa.mq:case c.j.qa.ND:case c.j.qa.Hv:q=z.n("Create an account to personalize your homepage, follow your favorite authors and publications, applaud stories you love, and more.");l+=q;break;case c.j.qa.oi:q=z.n("Once you’ve created your account, you’ll be able to upgrade for exclusive stories, audio, and more.");l+=q;break;case c.j.qa.zv:q= | |
z.n("Read this exclusive story and two more per month with a free {$productName} account.",{productName:z.A(c.productName)});l+=q;break;case c.j.qa.FK:q=3<=r?z.n("You’ve read {$postsCount} stories this month. Let’s make things official.",{postsCount:z.A(r)}):z.n("We’ve seen you here before. Let’s make things\x26nbsp;official.");l+=q;break;case c.j.qa.A5:q=z.n("We’ve seen you here before. Let’s make things\x26nbsp;official.");l+=q;break;case c.j.qa.RD:case c.j.qa.WD:case c.j.qa.XD:q=z.n("Build on this story’s ideas with your own – responses keep the conversation moving."); | |
l+=q;break;default:q=z.n("Create an account to personalize your homepage, follow your favorite authors and publications, applaud stories you love, and more."),l+=q}q=(0,z.y)(l);d+=FA({title:g,subtitle:(0,z.M)(""+z.A(q)),qf:e,imageUrl:(0,z.L)(""+(a.entryPoint!=c.j.qa.oi?z.F(z.Aj({imageId:"1*[email protected]"},0,c)):"")),Hh:b,collection:a.collection},c);return(0,z.y)(d)}; | |
noa=function(a,b,c){a=a||{};b=a.Hh;var d="",e=""+(!c.useragent.isMobile||c.useragent.isTablet?'\x3cdiv class\x3d"u-maxWidth300 u-marginAuto"\x3e'+CA(z.D({Zd:!0,actionValue:c.j.po.wz},a),c)+'\x3c/div\x3e\x3cdiv class\x3d"'+z.E(z.pm({Xa:"small"}))+' u-marginTop10"\x3e'+DA(z.D({Zd:!0},a),c)+'\x3cdiv class\x3d"ui-body u-maxWidth400 u-marginAuto u-marginTop15"\x3e'+EA({Zd:!0},c)+"\x3c/div\x3e\x3c/div\x3e":'\x3cdiv class\x3d"'+z.E(z.pm({Xa:"small"}))+'"\x3e'+DA(z.D({Zd:!0},a),c)+'\x3c/div\x3e\x3cdiv class\x3d"u-maxWidth300 u-marginAuto u-marginTop30"\x3e'+ | |
CA(z.D({Zd:!0,actionValue:c.j.po.wz},a),c)+'\x3c/div\x3e\x3cdiv class\x3d"'+z.E(z.pm({Xa:"small"}))+' u-maxWidth400 u-marginAuto u-marginTop15 u-flex1 u-flexColumnBottom"\x3e\x3cdiv class\x3d"ui-body"\x3e'+EA({Zd:!0},c)+"\x3c/div\x3e\x3c/div\x3e"),e=(0,z.M)(e),g;g=z.n("Welcome back.");g=(0,z.y)(""+g);g=(0,z.M)(""+z.A(g));var k,l=a,q;k="";switch(z.sa(q=l.entryPoint)?q.toString():q){case c.j.qa.rv:case c.j.qa.tD:q=z.n("Sign in to save stories to your personalized bookmarks and access them anytime, anywhere."); | |
k+=q;break;case c.j.qa.dz:case c.j.qa.ez:case c.j.qa.wD:q=l.post&&l.post.creator?z.n("Sign in to clap for this story and show {$name} how much you appreciated it.",{name:z.A(l.post.creator.name)}):z.n("Sign in to clap for this story and show how much you appreciated it.");k+=q;break;case c.j.qa.hz:case c.j.qa.iz:case c.j.qa.jz:case c.j.qa.kz:case c.j.qa.AD:case c.j.qa.mz:case c.j.qa.BD:case c.j.qa.nz:case c.j.qa.cK:case c.j.qa.CD:case c.j.qa.DD:case c.j.qa.cE:q=z.n("Sign in to follow");if(l.collection){var r= | |
z.n("{$name} is powered by {$productName}.",{name:z.A(l.collection.name),productName:z.A(c.productName)});k+="\x3cp\x3e"+r+"\x3c/p\x3e"}k+=q+(l.user?" "+z.A(l.user.name):l.topic?" "+z.A(l.topic.name):l.tag?" "+z.A(l.tag.name):l.collection?" "+z.A(l.collection.name):"")+".";break;case c.j.qa.GD:case c.j.qa.HD:q=z.n("Sign in to highlight this passage and show the author it resonates with you.");k+=q;break;case c.j.qa.sz:case c.j.qa.fE:q=z.n("Sign in to write, edit, and publish with our world-class editing tools."); | |
k+=q;break;case c.j.qa.mq:case c.j.qa.ND:case c.j.qa.Hv:q=z.n("Sign in to access your personalized homepage, follow authors and topics you love, and clap for stories that matter to you.");k+=q;break;case c.j.qa.oi:q=z.n("Sign in to your existing account to continue.");k+=q;break;case c.j.qa.zv:q=z.n("Sign in to read this exclusive story, along with more from your favorite authors.");k+=q;break;case c.j.qa.FK:q=z.n("Sign in to access your personalized homepage, follow authors and topics you love, and clap for stories that matter to you."); | |
k+=q;break;case c.j.qa.RD:case c.j.qa.WD:case c.j.qa.XD:q=z.n("Sign in to keep the conversation moving with a response.");k+=q;break;default:q=z.n("Sign in to access your personalized homepage, follow authors and topics you love, and clap for stories that matter to you."),k+=q}k=(0,z.y)(k);d+=FA({title:g,subtitle:(0,z.M)(""+z.A(k)),qf:e,imageUrl:(0,z.L)(""+(a.entryPoint!=c.j.qa.oi?z.F(z.Aj({imageId:"1*[email protected]"},0,c)):"")),Zd:!0,Hh:b,collection:a.collection},c);return(0,z.y)(d)}; | |
roa=function(a,b,c){a=a||{};b=a.Hh;var d=z.y,e;e=z.n("Sign up with email");e=(0,z.y)(""+e);e=(0,z.M)(""+z.A(e));var g;g=z.n("No one wants to remember another password, so we don’t have any on {$productName}. Just sign up with email and we’ll send a magic link to your inbox.",{productName:z.A(c.productName)});g=(0,z.y)(""+g);return d(FA({title:e,subtitle:(0,z.M)(""+z.A(g)),qf:(0,z.M)(""+qoa(z.D({formAction:"email-auth"},a),c)),Hh:b},c))}; | |
soa=function(a,b,c){a=a||{};b=a.Hh;var d=z.y,e;e=z.n("Sign in with email");e=(0,z.y)(""+e);e=(0,z.M)(""+z.A(e));var g;g=z.n("Enter the email address associated with your account, and we’ll send a magic link to your inbox.");g=(0,z.y)(""+g);return d(FA({title:e,subtitle:(0,z.M)(""+z.A(g)),qf:(0,z.M)(""+qoa(z.D({formAction:"email-auth",Zd:!0},a),c)),Zd:!0,Hh:b},c))}; | |
toa=function(a,b,c){var d=a.Hh;b=z.y;var e=(0,z.M)(""+z.A(Tna())),g=(0,z.M)(""+z.A(Una(a,c)));a=a.registrationData;var k,l=a.source,q=a.name,r=a.username,t=a.accountName,w=a.email,C=a.accessToken,J=a.accessTokenSecret,Q=a.qP,R=a.defaultEmail,S=a.userId;a=(0,z.y)('\x3cdiv class\x3d"u-flexColumnSpaceBetween u-sizeFullHeight '+z.E(z.pm({Xa:"regular"}))+' js-overlayRegistration"\x3e\x3cdiv class\x3d"u-flex0"\x3e\x3cdiv class\x3d"u-textAlignCenter u-xs-show"\x3e\x3ch1 class\x3d"ui-brand2 u-marginBottom20"\x3e'+ | |
z.A(Tna())+'\x3c/h1\x3e\x3ch2 class\x3d"ui-body u-marginBottom30"\x3e'+z.A(Una(null,c))+'\x3c/h2\x3e\x3c/div\x3e\x3cform\x3e\x3cinput type\x3d"hidden" name\x3d"source" value\x3d"'+z.E(l)+'"\x3e'+(C?'\x3cinput type\x3d"hidden" name\x3d"accessToken" value\x3d"'+z.E(C)+'"\x3e':"")+(J?'\x3cinput type\x3d"hidden" name\x3d"accessTokenSecret" value\x3d"'+z.E(J)+'"\x3e':"")+(t?'\x3cinput type\x3d"hidden" name\x3d"accountName" value\x3d"'+z.E(t)+'"\x3e':"")+(S?'\x3cinput type\x3d"hidden" name\x3d"userId" value\x3d"'+ | |
z.E(S)+'"\x3e':"")+(!Q||S?GA({label:(0,z.M)(""+z.A(Cz())),type:"text",name:"name",value:q,l:"js-inputGroupName"})+'\x3cinput type\x3d"hidden" name\x3d"username" value\x3d"'+z.E(r)+'"\x3e':"")+GA({label:(0,z.M)(""+z.A(Dz())),type:"email",name:"email",value:(0,z.M)(""+(S||"medium"==l?z.A(null==(k=w)?null==(k=R)?"":k:k):z.A(null==(k=R)?null==(k=w)?"":k:k))),l:"js-inputGroupEmail"})+(Q&&!S?'\x3cdiv class\x3d"u-marginTop20"\x3e\x3cb\x3e'+z.A(ul(null,c))+'\x3c/b\x3e\x3cdiv class\x3d"u-marginTop10"\x3e'+ | |
z.A(vl())+"\x3c/div\x3e\x3c/div\x3e":"")+z.A(z.Uk(z.D({isPrimary:!0,ld:!0,la:!0,sb:!0,Gp:!0,action:"submit-registration",s:(0,z.M)(""+(Q&&!S?z.A(wl()):z.A(Vna()))),l:"button--overlayConfirm u-marginTop30 u-boxShadow u-block u-xs-marginAuto"},a),c))+"\x3c/form\x3e\x3c/div\x3e\x3c/div\x3e");q={title:e,subtitle:g,HEa:(0,z.M)(""+a),Hh:d};k=q.title;d=q.subtitle;e=q.HEa;g=q.imageUrl;r=q.Hh;a="";l=(0,z.M)(""+(q.Zd?"u-background--brandSea":"u-background--brandSageLighter"));a+='\x3csection class\x3d"u-flex u-width900 u-height550 u-borderRadius4 u-boxShadow2px10pxBlackLighter u-textAlignLeft u-overflowHidden u-relative u-margin5 u-sm-width600 u-sm-heightAuto u-sm-flexColumn u-xs-sizeFullWidth u-xs-sizeViewHeight100 u-xs-margin0"\x3e'+ | |
(r?"":z.A(Yk({action:"overlay-close"},c)))+'\x3cdiv class\x3d"'+z.E(z.pm({Xa:"large"}))+' u-flex1 u-padding60 u-backgroundWhite u-sm-padding40 u-xs-hide"\x3e';if(null==q.collection?0:q.collection.image)c=""+z.F(z.Bj({image:q.collection.image,strategy:"resample",width:85},0,c)),c=(0,z.L)(c),a+='\x3cdiv class\x3d"u-size85x85 u-round u-backgroundNoRepeat u-backgroundCover u-boxShadowSpread4pxLighter u-marginBottom20" style\x3d"'+(c?"background-image: url("+z.E(z.Eh(c))+");":"")+'"\x3e\x3c/div\x3e';a+= | |
'\x3ch1 class\x3d"ui-brand2 js-susiTitle"\x3e'+z.A(k)+'\x3c/h1\x3e\x3ch2 class\x3d"ui-body u-marginTop20 js-susiSubtitle"\x3e'+z.A(d)+'\x3c/h2\x3e\x3cdiv class\x3d"u-backgroundContain u-backgroundPositionBottomCenter u-marginTop30 u-sm-hide" style\x3d"'+(g?"background-image: url("+z.E(z.Eh(g))+");":"")+'"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"u-flex0 u-width350 u-borderBox '+z.E(l)+' u-paddingTop60 u-paddingBottom30 u-paddingHorizontal30 u-sm-sizeFullWidth u-sm-padding40 u-xs-widthAuto u-xs-sizeViewHeight100 u-xs-padding50"\x3e'+ | |
z.A(e)+"\x3c/div\x3e\x3c/section\x3e";c=(0,z.y)(a);return b(c)}; | |
voa=function(a,b,c){b=a.Hh;var d=a.lCa,e=z.y,g;g=z.n("Check your inbox");g=(0,z.y)(""+g);g=(0,z.M)(""+z.A(g));var k,l=a.email,q=!!a.Zd;k="";a.entryPoint==c.j.qa.oi?(a=z.n("We just emailed {$email}.",{email:z.A(l)}),k+=a+" ",a=q?z.n("Click the confirmation link to sign in and continue."):z.n("Click the confirmation link to complete your account set-up.")):(a=z.n("We just emailed a confirmation link to {$email}.",{email:z.A(l)}),k+=a+" ",a=q?z.n("Click the link, and you’ll be signed in."):z.n("Click the link to complete your account set-up.")); | |
k+=a;k=(0,z.y)(k);k=(0,z.M)(""+z.A(k));d=(0,z.M)(""+(d?"u-background--brandSea":"u-background--brandSageLighter"));a=z.n("OK");a=(0,z.y)(""+a);return e(uoa({title:g,subtitle:k,Xt:d,Zba:b?"sign-in-redirect":"overlay-close",$ba:(0,z.M)(""+z.A(a)),imageUrl:(0,z.L)(""+z.F(z.Aj({imageId:"1*D_cuknvGrylhnGWjmEu59w.png"},0,c))),gBa:"u-marginBottom60 u-xs-marginBottom0",Hh:b},c))}; | |
woa=function(a,b,c){a=z.y;b='\x3cdiv class\x3d"u-fixed u-top0 u-left0 u-zIndexFloating u-sizeFullWidth u-minHeight100vh u-background--brandSageLighter '+z.E(z.pm({Xa:"large"}))+' u-flexColumn u-animation--fade-in-1s u-padding20 js-welcomePanel"\x3e\x3ch1 class\x3d"welcomeContent-title welcomeContent-textAnimation ui-brand1 u-marginAuto"\x3e';var d;d=z.n("Welcome to {$productName}.",{productName:z.A(c.productName)});d=(0,z.y)(""+d);b=b+z.A(d)+'\x3c/h1\x3e\x3ch2 class\x3d"welcomeContent-subtitle welcomeContent-textAnimation ui-body u-marginAuto u-marginTop10"\x3e'; | |
d=z.n("A place where words matter.");d=(0,z.y)(""+d);b=b+z.A(d)+"\x3c/h2\x3e";d=z.n("Dive in");d=(0,z.y)(""+d);return a(b+z.A(z.Uk({isPrimary:!0,ld:!0,Jh:!0,la:!0,action:"overlay-close",s:(0,z.M)(""+z.A(d)),l:"welcomeContent-button welcomeContent-textAnimation u-marginAuto u-marginTop15 js-welcomePanelCTA"},c))+"\x3c/div\x3e")}; | |
xoa=function(a,b,c){c=c||{};return(0,z.y)('\x3cdiv class\x3d"u-fixed u-top0 u-left0 u-zIndexFloating u-sizeFull u-minHeight100vh u-background--brandSea u-flexCenter js-welcomeVideoContainer" style\x3d"'+(c.Aa?"/*"+c.Aa+"*/":"")+'background-color: #e1f4f1;"\x3e\x3cvideo class\x3d"u-sizeFullWidth js-welcomeVideo" autoplay\x3d"autoplay" muted style\x3d"'+(c.Aa?"/*"+c.Aa+"*/":"")+'object-fit: cover; min-height: 100%; min-width: 100%;"\x3e\x3csource src\x3d"https://cdn-static-1.medium.com/_/fp/videos/welcome_video.B22qMHDgPLxaohVQHj8n0Q.mp4" type\x3d"video/mp4" /\x3e\x3c/video\x3e\x3c/div\x3e')}; | |
yoa=function(a,b,c){a=a||{};a=a.Hh;b=z.y;var d;d=z.n("Oops!");d=(0,z.y)(""+d);d=(0,z.M)(""+z.A(d));var e;e=z.n("Something went wrong, but we’ve sent our magical internet elves to fix it. Please try again later.");e=(0,z.y)(""+e);e=(0,z.M)(""+z.A(e));var g;g=z.n("OK");g=(0,z.y)(""+g);return b(uoa({title:d,subtitle:e,Zba:a?"sign-in-redirect":"overlay-close",$ba:(0,z.M)(""+z.A(g)),imageUrl:(0,z.L)(""+z.F(z.Aj({imageId:"1*7rHa7QDbmdCRJ6TbcO0SIw.png"},0,c))),Hh:a},c))}; | |
FA=function(a,b){b=b||{};var c=a.title,d=a.subtitle,e=a.qf,g=a.imageUrl,k=a.Hh,l="";a=(0,z.M)(""+(a.Zd?"u-background--brandSea":"u-background--brandSageLighter"));var q=!b.useragent.isMobile||b.useragent.isTablet,l=l+('\x3csection class\x3d"'+z.E(z.pm({Xa:"regular"}))+" "+z.E(a)+' u-backgroundNoRepeat u-flexColumn u-height550 u-width900 u-borderBox u-borderRadius4 u-boxShadow2px10pxBlackLighter u-textAlignCenter u-padding50 u-overflowHidden u-relative u-margin5 u-sm-width600 u-sm-heightAuto u-sm-backgroundImageNone u-xs-sizeFullWidth u-xs-sizeViewHeight100 u-xs-margin0"'+ | |
(g?'style\x3d"'+(b.Aa?"/*"+b.Aa+"*/":"")+"background-image: url("+z.E(z.Eh(g))+'); background-position: 20px 100%; background-size: auto 290px;"':"")+"\x3e"+(k?"":z.A(Yk({action:"overlay-close"},b)))+'\x3ch1 class\x3d"ui-brand2 u-maxWidth600 u-marginAuto u-marginBottom20 js-susiTitle"\x3e'+z.A(c)+"\x3c/h1\x3e"+(q?'\x3ch2 class\x3d"ui-body u-maxWidth360 u-marginAuto u-marginBottom25 js-susiSubtitle"\x3e'+z.A(d)+"\x3c/h2\x3e":"")+z.A(e)+"\x3c/section\x3e");return(0,z.y)(l)}; | |
uoa=function(a,b){var c=a.title,d=a.subtitle,e=a.Zba,g=a.$ba,k=a.imageUrl,l=a.gBa;a=a.Xt||"u-backgroundWhite";b=""+('\x3csection class\x3d"'+z.E(z.pm({Xa:"regular"}))+" u-flexColumn u-height550 u-width900 "+z.E(a)+' u-borderRadius4 u-boxShadow2px10pxBlackLighter u-borderBox u-textAlignCenter u-paddingTop60 u-paddingLeft60 u-paddingRight60 u-margin5 u-sm-width600 u-sm-paddingLeft50 u-sm-paddingRight50 u-xs-sizeFullWidth u-xs-sizeViewHeight100 u-xs-margin0 u-xs-paddingTop50 u-xs-paddingBottom30 u-xs-paddingLeft40 u-xs-paddingRight40"\x3e\x3ch1 class\x3d"ui-brand2 u-flex0 u-maxWidth500 u-marginAuto js-susiTitle"\x3e'+ | |
z.A(c)+'\x3c/h1\x3e\x3ch2 class\x3d"ui-body u-flex0 u-maxWidth500 u-marginAuto u-marginTop20 js-susiSubtitle"\x3e'+z.A(d)+"\x3c/h2\x3e"+z.A(z.Uk({isPrimary:!0,ld:!0,la:!0,Jh:!0,action:e,s:g,l:"u-flex0 u-marginTop15 u-marginAuto js-susiCtaButton"},b))+'\x3cdiv class\x3d"u-flex1 u-backgroundContain u-marginTop30'+(l?" "+z.E(l):"")+'" style\x3d"'+(k?"background-image: url("+z.E(z.Eh(k))+"); background-position: bottom center":"")+'"\x3e\x3c/div\x3e\x3c/section\x3e');return(0,z.y)(b)}; | |
DA=function(a,b){a=a||{};var c=a.Zd,d=a.source,e=a.redirectUrl,g="",k;k=(0,z.M)((c?"u-textColor--brandSea":"")+" js-switchFlow");var l,q;q=a||{};l="";q=q.Zd?z.n("No account?"):z.n("Already have an account?");l+=q;l=(0,z.y)(l);l='\x3cspan class\x3d"ui-body"\x3e'+z.A(l)+"\x3c/span\x3e ";q=a||{};a="";q=q.Zd?z.n("Create one"):z.n("Sign in");a+=q;a=(0,z.y)(a);g+=l+z.A(z.Uk({action:c?"sign-up-prompt":"sign-in-prompt",im:e,source:d,s:(0,z.M)(""+z.A(a)),ca:!0,isPrimary:!0,l:k},b))+".";return(0,z.y)(g)}; | |
CA=function(a,b){a=a||{};var c=a.Dx,d=a.dha;return(0,z.y)(a.Zd?'\x3cdiv class\x3d"u-xs-flexColumn js-susiButtons"\x3e'+(c&&!b.variants.enable_login_email_option?z.HA(z.D({l:"u-sizeFullWidth"},a),b):"")+(d?IA(a,b):"")+z.JA(z.D({l:"u-sizeFullWidth"},a),b)+(c||b.variants.enable_login_email_option?"":z.HA(z.D({l:"u-sizeFullWidth"},a),b))+(d?"":IA(a,b))+KA(z.D({displayName:"email",action:"email-sign-in-prompt",icon:(0,z.M)(""+z.A(Qda())),l:"u-sizeFullWidth"},a),b)+"\x3c/div\x3e":(d?IA(a,b):"")+(c&&!b.variants.enable_login_email_option? | |
z.HA(z.D({l:"u-sizeFullWidth"},a),b):"")+z.JA(z.D({l:"u-sizeFullWidth"},a),b)+(c||b.variants.enable_login_email_option?"":z.HA(z.D({l:"u-sizeFullWidth"},a),b))+(b.variants.enable_login_email_option?KA(z.D({displayName:"email",action:"email-sign-up-prompt",icon:(0,z.M)(""+z.A(Qda())),l:"u-sizeFullWidth"},a),b):""))}; | |
z.JA=function(a,b){a=a||{};var c=a.actionValue,d=a.GBa,e="",g=""+(a.Vda?"button--google ":"")+z.A(a.l),g=(0,z.M)(g),e=e+KA(z.D({displayName:"Google",action:d?"goog-email-auth":"google-auth",actionValue:c,icon:(0,z.M)(""+z.A(Sda())),l:g},a),b);return(0,z.y)(e)}; | |
z.HA=function(a,b){a=a||{};var c=a.actionValue,d=a.Vda,e="",g=""+(d?"button--facebook u-textColorWhite ":"")+z.A(a.l),g=(0,z.M)(g),d=d={style:d?"white":"facebookBlue"},d=(0,z.y)(z.Pj(z.D({name:"facebookSquare",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M20.292 4H4.709A.709.709 0 0 0 4 4.708v15.584c0 .391.317.708.709.708h8.323v-6.375h-2.125v-2.656h2.125V9.844c0-2.196 1.39-3.276 3.348-3.276.938 0 1.745.07 1.98.1v2.295h-1.358c-1.066 0-1.314.507-1.314 1.25v1.756h2.656l-.531 2.656h-2.125L15.73 21h4.562a.708.708 0 0 0 .708-.708V4.708A.708.708 0 0 0 20.292 4" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')},d))), | |
e=e+KA(z.D({displayName:"Facebook",action:"facebook-auth",actionValue:c,icon:(0,z.M)(""+z.A(d)),l:g},a),b);return(0,z.y)(e)};IA=function(a,b){a=a||{};return(0,z.y)(KA(z.D({displayName:"Twitter",action:"twitter-auth",actionValue:a.actionValue,icon:(0,z.M)(""+z.A(z.yk({style:"twitterBlue"}))),l:"u-sizeFullWidth"},a),b))}; | |
KA=function(a,b){var c=a.displayName,d=a.icon,e=a.buttonText,g=a.redirectUrl,k=a.source,l=a.l,q=a.Vda,r="",t=a.Zd?"Sign in":"Sign up",e=""+(e?z.A(e):z.A(t)+" with "+z.A(c)),e=(0,z.M)(e),c="u-boxShadow u-textAlignLeft u-marginBottom15"+(q?"":" u-backgroundWhite u-textColorDarker")+" u-sm-width220 u-sm-marginRight20 u-xs-marginRight0 "+(l?z.A(l):"")+" js-"+z.A(c.toLowerCase())+"Button",c=(0,z.M)(c),r=r+z.A(z.Wk(z.D({Gp:!0,sb:!0,text:e,icon:d,im:g,source:k,l:c},a),b));return(0,z.y)(r)}; | |
qoa=function(a,b){a=a||{};var c=z.y,d='\x3cdiv class\x3d"'+z.E(z.pm({Xa:"regular",caption:"regular"}))+' u-flexColumnSpaceBetween u-sizeFullHeight"\x3e\x3cdiv class\x3d"u-flex0"\x3e',e=a.formAction,g=a.Zd,k=a.redirectUrl,l="",q=z.n("\x26#8592;All {$signUpOrSignIn} options",{signUpOrSignIn:z.A(g?"sign in":"sign up")}),l=l+('\x3cform\x3e\x3cdiv class\x3d"u-maxWidth300 u-marginAuto u-xs-textAlignLeft"\x3e'+(g?"":GA({label:(0,z.M)(""+z.A(Cz())),type:"text",name:"fullName"}))+GA({label:(0,z.M)(""+z.A(Dz())), | |
type:"email",name:"email"})+'\x3c/div\x3e\x3cdiv id\x3d"g-recaptcha"\x3e\x3c/div\x3e'+z.A(z.Uk(z.D({isPrimary:!0,ld:!0,la:!0,sb:!0,Gp:!0,Jh:!0,action:e,actionValue:g?b.j.po.wz:b.j.po.VD,s:(0,z.M)(""+z.A(Vna())),im:k,l:"button--overlayConfirm u-marginTop15 u-boxShadow u-marginBottom15 u-xs-marginAuto"},a),b))+(g?"\x3cdiv\x3e"+z.JA(z.D({actionValue:b.j.po.wz,GBa:!0,l:"u-hide u-marginAuto u-xs-marginAuto js-google"},a),b)+"\x3c/div\x3e":"")+"\x3c/form\x3e"),e=(0,z.M)((g?"u-textColor--brandSea":"")+" u-xs-marginAuto"), | |
l=l+z.A(z.Vk(z.D({action:g?"sign-in-prompt":"sign-up-prompt",im:k,text:(0,z.M)(""+q),isPrimary:!0,l:e},a),0,b));b=(0,z.y)(l);return c(d+b+"\x3c/div\x3e\x3c/div\x3e")}; | |
GA=function(a){var b=a.label,c=a.type,d=a.name,e=a.value;a=a.l;var g="",k="u-fontSize18 textInput--transparent"+(d?" js-"+z.A(d):""),k=(0,z.M)(k),g=g+('\x3cfieldset class\x3d"'+z.E(z.pm({Xa:"small",caption:"small"}))+' u-marginBottom15"\x3e'+z.A(z.Bm({title:b,type:c,name:d,value:e||"",BQ:!0,yk:"ui-caption",jQ:k,l:a}))+"\x3c/fieldset\x3e");return(0,z.y)(g)}; | |
EA=function(a,b){a=a||{};var c=a.Zd,d="";a=z.n("above to accept {$productName}’s",{productName:z.A(b.productName)});var e=z.n("Click"),g=z.n("To make {$productName} work, we log user data and share it with service providers.",{productName:z.A(b.productName)}),d=d+(g+" "+e+' "'),c=c?z.n("Sign in"):z.n("Sign up"),d=d+c,c="",e=z.n("Terms of Service"),c=c+z.A(z.N({href:b.termsUrl,s:(0,z.M)(""+e),hb:!0,style:"link.obvious"},b)),c=(0,z.y)(c);a='" '+a+" "+c+" \x26 ";c="";e=z.n("Privacy Policy");c+=z.A(z.N({href:b.j.IC, | |
s:(0,z.M)(""+e),hb:!0,style:"link.obvious"},b));b=(0,z.y)(c);return(0,z.y)(d+(a+b+"."))};LA=function(a){z.O.call(this);this.X=a;this.Tl=a.get("dialog");this.ka=a.get("model-store");this.Wa=this.X.get("screen-service");this.Kw=null};Aoa=function(a,b,c){var d=a.ew(b,c);d.Dx=yz(a.X.get("referrer-tracker"));d.dha=zoa(a.X.get("referrer-tracker"));a.Yi(ooa,d);a={entryPoint:Bz(b,c),operation:"register"};z.dy(z.MA,a)}; | |
Boa=function(a,b,c){var d=a.ew(b,c);d.Dx=yz(a.X.get("referrer-tracker"));d.dha=zoa(a.X.get("referrer-tracker"));a.Yi(noa,d);a={entryPoint:Bz(b,c),operation:"login"};z.dy(z.MA,a)};Doa=function(a){var b=a.Yi(xoa,{});z.u(z.gn(2E3),function(){var c=z.Ew(woa,{});b.appendChild(c);Coa(a,c)})};Coa=function(a,b){NA(a)&&(b=b.querySelector(".js-welcomePanelCTA"))&&Tw(b,"click",function(){a.fa(OA)})};PA=function(a){a.Yi(yoa,{})};NA=function(a){return a.Wa.Rc()instanceof z.QA}; | |
z.RA=function(a,b){z.O.call(this);this.Ke=z.P(a);this.CO=z.na(b)?b:[b]};z.SA=function(a,b){z.kd.call(this);this.re=a;this.FN=z.na(b)?b:[b];this.AL={};this.DT=null;z.v(this,this.pause,this);z.Ad(this,this.sna,this)};TA=function(a){return!!zha(a,"animation")};UA=function(a){return"prefixed"==fna()?z.po().toLowerCase()+"Animation"+a.charAt(0).toUpperCase()+a.substr(1):"animation"+a}; | |
z.Foa=function(a,b,c,d){var e=c?z.Eb(c):null;a.FN.forEach(function(a){e&&!(a.name in e)||d&&!d.call(this,a.name)||(a.paused=b)},a);Eoa(a);return a};Eoa=function(a){var b=(0,z.Hb)(a.FN,function(a){a.paused||(this.AL[a.name]=!1);return a.paused?"paused":"running"},a);z.xo(a.re,"animationPlayState",b.join(","))};z.WA=function(a,b){var c=Date.now();if(!z.sr()&&!z.Qm.isDnt){var d=VA[a];d.ue()==Goa[a]&&ix(d);try{d.put(b,c)}catch(e){ix(d)}}};Hoa=function(){z.qb(VA).forEach(function(a){ix(a)})}; | |
XA=function(a){if(a.state&&z.pa(a.state)){var b=a.state.split("|"),c=b[0],d;ox?(d=(new z.hx("authState")).get(c),d=null==d?null:d):d=null;d=d||{};(new z.hx("authState")).remove(c);d.redirectUrl=b[1]||null;!d.operation&&3<=b.length&&(d.operation=b[2]||null);a.state=d}return a};YA=function(a){if(!ox)return null;for(var b=new z.hx("authState"),c=z.Ka(),d=0;null!=b.get(c);){if(100==d++)return z.xx("Too many attempts to get a unique state ID."),null;c=z.Ka()}b.put(c,a);return c}; | |
Joa=function(a){if(!a)throw Error("State is required for twitter authentication.");a={state:[a.stateId,a.redirectUrl,a.operation,a.userId].join("|")};var b=new z.Ai(z.Pm(z.Qm));a=new z.Ie(b.R(Ioa,{},a));z.Nw(a.toString())}; | |
Loa=function(a,b){if(!a)throw Error("State is required for facebook authentication.");a=[a.stateId,a.redirectUrl,a.operation,a.userId];var c;c=z.H(z.Qm,"facebook").il();c=z.H(c,"default");b&&(c=c.concat(b));b={state:a.join("|"),scope:c.join(",")};a=new z.Ie(Koa.Vb());z.Qe(a,z.$e(b));z.Mw(a.toString())}; | |
Moa=function(a){if(!a)throw Error("State is required for google authentication.");new z.Ie(z.Qm.authBaseUrl+ZA.Vb());var b=new z.Ai(z.Pm(z.Qm)),c=new z.Ie(b.R(ZA)),b=new z.Ie("https://accounts.google.com/o/oauth2/v2/auth"),c={client_id:z.H(z.Qm,"googleClientId"),redirect_uri:c.toString(),response_type:"id_token token",access_type:"online",scope:"email openid profile",nonce:a.stateId};a&&(a.email&&(c.login_hint=a.email,c.scope="email openid",c.response_type="id_token"),c.state=[a.stateId,a.redirectUrl, | |
a.operation].join("|"));z.Qe(b,z.$e(c));z.Nw(b.toString())};aB=function(a,b){z.RA.call(this,a,"twitter-auth facebook-auth email-auth google-auth google-email-auth email-sign-in-prompt email-sign-up-prompt sign-in-prompt sign-up-prompt connect-facebook connect-twitter fb-inapp-show get-app".split(" "));this.wn=new $A(b)}; | |
$A=function(a){z.O.call(this);this.xa=a.get("app");this.Z=a.get("request");this.U=a.get("route-builder");this.ma=a.get("popover");this.P6=a.get("cookie-detector");this.pa=a.get("dialog");this.gm=new wz(a,{});this.wf=new LA(a);this.iV=a.get("global-event-bus");this.oE=this.Dg=null;this.lL=Nna}; | |
Poa=function(a,b){z.u(bB(a,b),function(a){var d=b.getAttribute("data-sign-in-action"),e=new Ss;this.lL.forEach(function(a){a instanceof Ts?e.add(a):a instanceof x&&e.nH([a])});var g="";a&&(g=e.Ig(a.toString()));var k=b.getAttribute("data-action-source"),l=z.Ye(a),q=l.dg;z.Da(k)||q.sr("source")||q.add("source",k);if(z.Qm.isAuthDomainRequest)if(z.rr().isShadow&&z.rr().subscriberEmail&&!b.getAttribute("data-skip-conversion"))Noa(this,a);else switch(0<=this.lL.indexOf(g)&&q.add("redirectUrl",z.Qm.Wp), | |
q=Ooa(b,q),z.Qe(l,q),a=l.toString(),b.getAttribute("data-action")){case "sign-in-prompt":Boa(this.wf,k,a);break;default:Aoa(this.wf,k,a)}else a=z.wr(),0<=this.lL.indexOf(g)&&a&&(g=this.U.R(z.Im,{collectionSlug:a}),q.add("redirectUrl",g),z.Qe(l,q)),l={redirect:l.toString(),referrer:z.Qm.Wp},d&&(l.originalAction=d),k&&(l.source=k),d=this.U.R(z.Iu,{},l),z.Nw(d)},a)}; | |
Roa=function(a,b){var c=window.document.createElement("script");c.setAttribute("type","text/javascript");c.setAttribute("async","");c.setAttribute("src","https://www.google.com/recaptcha/api.js");z.Eg(c,window.document.querySelector("script"));z.u(bB(a,b),function(a){var c=b.getAttribute("data-action-source");cB(c,"medium","login");var g=this.wf;g.Yi(soa,g.ew(c,a)).querySelector(".js-email").focus();a=this.wf.Da();Qoa(this,a)},a)}; | |
Soa=function(a,b){z.u(bB(a,b),function(a){var d=b.getAttribute("data-action-source");cB(d,"medium","register");var e=this.wf;e.Yi(roa,e.ew(d,a)).querySelector(".js-fullName").focus();a=this.wf.Da();Qoa(this,a)},a)}; | |
Qoa=function(a,b){if(b){var c=z.Rw(b.querySelector(".js-email"),"input",function(a){var c=a.target.value;if(a=b.querySelector(".js-google")){var g=z.kt(a),c=z.Ha(c,"@gm")||z.Ha(c,"@googlem");g&&c?z.jt(a):g||c||z.it(a);z.Ca("")||(a=b.querySelector(".js-cancel"),g=z.Ew(z.Vk,{action:"sign-up-prompt",text:"",gi:!0,l:"button--large js-cancel"}),z.Hg(g,a))}});a.wf.subscribe(OA,function(){z.Sw(c)},a)}}; | |
Toa=function(a,b){var c=z.pi(z.Qm).signin_services||"",d=z.pi(z.Qm).signup_services||"",c=z.Ha(c,"google"),e=z.Ha(d,"google"),g=b.state,d=b.id_token;b=b.access_token;if(c&&d){var k=dB({state:g}),c=z.Pw();c.tk(eB.Vb(void 0,void 0));var d={source:"google",accessToken:d+(b?"||"+b:""),redirect:k},l;g&&g.operation&&(l=g.operation,d.operation=l);z.v(z.u(a.Z.post(c,d),function(a){fB(this,a.value,{aJ:"google",operation:l})},a),function(a){switch(a.status){case 401:if(!e){z.Mw("/");return}gB(this,a.errorInfo, | |
"google",g);return}var b=Error("Failed to retrieve credentials");z.cf(b,{serviceType:"google",errorStatusCode:a.status});z.xx(b);PA(this.wf);this.xa.update(this.U.R(z.Iu))},a)}else z.Mw("/")};bB=function(a,b){return b.getAttribute("data-requires-token")?Uoa(a,b):(a=b.getAttribute("data-redirect"))?z.Jd(a):(a=Ow().toString())?z.Jd(a):z.Jd(null)}; | |
hB=function(a,b){var c=b.getAttribute("data-redirect");c||(c=a.U.R(z.Mu));a=z.Ye(c);c=a.dg;c=Ooa(b,c);z.Qe(a,c);c=a.toString();a={redirectUrl:c};b.getAttribute("data-action-value")?a.operation=b.getAttribute("data-action-value"):a.operation="login";c=b.getAttribute("data-action").split("-")[0];"email"==c&&(c="medium");cB(b.getAttribute("data-action-source"),c,a.operation);c=b.getAttribute("data-conversion-email");b=b.getAttribute("data-conversion-userid");c&&(a.conversionEmail=c);b&&(a.conversionUserId= | |
b);b=YA(a);a.stateId=b;return a}; | |
Voa=function(a,b){var c=z.pi(z.Qm).signin_services||"",d=z.pi(z.Qm).signup_services||"",c=z.Ha(c,"twitter"),e=z.Ha(d,"twitter"),g=b.state,d=dB(b);if(c)if(b.oauthToken&&b.oauthVerifier){c=z.Pw();c.tk(eB.Vb(void 0,void 0));b={source:"twitter",oauthRequestToken:b.oauthToken,oauthRequestTokenVerifier:b.oauthVerifier,redirect:d};var k;g&&g.operation&&(k=g.operation,b.operation=k);z.v(z.u(a.Z.post(c,b),function(a){fB(this,a.value,{aJ:"twitter",operation:k})},a),function(a){switch(a.status){case 401:if(!e){z.Mw("/");return}gB(this, | |
a.errorInfo,"twitter",g);return;case 500:if(a.errorInfo&&3001==a.errorInfo.code){z.xx("Missing auth tokens in cookies.");z.Mw(this.U.R(z.Iu));return}}var b=Error("Failed to retrieve credentials");z.cf(b,{serviceType:"twitter",errorStatusCode:a.status});z.xx(b);PA(this.wf);this.xa.update(this.U.R(z.Iu))},a)}else b.denied||z.xx("SignIn handler received an unexpected response: "+JSON.stringify(b)),zz(a.gm,"twitter_auth_decline");else z.Mw("/")}; | |
Woa=function(a,b){var c=z.pi(z.Qm).signin_services||"",d=z.pi(z.Qm).signup_services||"",c=z.Ha(c,"facebook"),e=z.Ha(d,"facebook"),g=b.state,d=dB(b);if(c&&b.access_token){c=z.Pw();c.tk(eB.Vb(void 0,void 0));b={source:"facebook",accessToken:b.access_token,redirect:d};var k;g&&g.operation&&(k=g.operation,b.operation=k);z.v(z.u(a.Z.post(c,b),function(a){fB(this,a.value,{aJ:"facebook",operation:k})},a),function(a){switch(a.status){case 401:if(!e){z.Mw("/");return}if(a.errorInfo&&3002==a.errorInfo.code){z.Mw("/"); | |
return}gB(this,a.errorInfo,"facebook",g);return}var b=Error("Failed to retrieve credentials");z.cf(b,{serviceType:"facebook",errorStatusCode:a.status});z.xx(b);PA(this.wf);this.xa.update(this.U.R(z.Iu))},a)}else z.Mw("/")}; | |
apa=function(a,b){var c=a.wf.Da();a.wf.MC("email",Dz());a.wf.MC("fullName",Cz());if(c){var d=c.querySelector(".js-email").value,e=b.getAttribute("data-redirect");e||(e=a.U.R(z.Mu));var g=b.getAttribute("data-action-value"),k={email:d,redirect:e,operation:g};if("register"==g){b=c.querySelector(".js-fullName").value;if(z.Ca(b)){a.wf.fq("fullName",z.Mj(),!0);return}k.fullName=b}z.Ca(d)||!z.Au(d)?a.wf.fq("email",z.Lj(),!0):(window.grecaptcha.render("g-recaptcha",{sitekey:z.Qm.recaptchaKey,callback:function(b){k.captchaValue= | |
b;z.v(z.u(a.Z.post(a.U.R(Xoa),k),function(b){var c=a.wf;b=b.value;var k=Bz(null,e);c.Yi(voa,{email:d,Zd:"login"==b,entryPoint:k,lCa:"login"==g});z.dy(Yoa,{})}),function(b){PA(a.wf);z.xx(b);z.dy(Zoa,{error:b})})},size:"invisible"}),window.grecaptcha.execute(),z.Ty($oa,{}))}}; | |
bpa=function(a,b){var c=b.token;if(c){var d=z.Pw();d.tk(eB.Vb(void 0,void 0));var c={source:"medium",accessToken:c},e;b&&b.operation&&(e=b.operation,c.operation=e);z.v(z.u(a.Z.post(d,c),function(a){fB(this,a.value,{aJ:"medium",operation:e})},a),function(a){if(401==a.status)(a=a.errorInfo)&&3003==a.code?(this.gm.zl(rfa(),sfa()),this.xa.update(z.Iu.Vb(void 0,void 0))):gB(this,a,"medium",b.state);else{var c=Error("Failed to retrieve credentials");z.cf(c,{serviceType:"email",errorStatusCode:a.status}); | |
z.xx(c);PA(this.wf);this.xa.update(z.Iu.Vb(void 0,void 0))}},a)}};dB=function(a){return(a=a.state)&&a.redirectUrl?(new z.Ie(a.redirectUrl)).toString():""};cB=function(a,b,c){Ow();a&&(a={entryPoint:z.ns(a).susiEntry,susiMethod:b,operation:c},z.dy(cpa,a))}; | |
Uoa=function(a,b){var c=b.getAttribute("data-tokenized-url");if(c)return z.Jd(c);var d=Ow();if(b.getAttribute("data-redirect"))d=new z.Ie(b.getAttribute("data-redirect"));else if(b.getAttribute("data-redirect-type")){var c={},e="data-redirect-type-"+b.getAttribute("data-redirect-type");a.iV.fa(e,c);d=c.url||d}return z.v(z.u(a.Z.get(a.U.R(dpa),{background:!0}),function(a){z.Xe(d,"token",a.value);a=d.toString();b.setAttribute("data-tokenized-url",a);return a},a),function(a){z.xx(a);b.removeAttribute("data-requires-token"); | |
return null},a)};Noa=function(a,b){var c=z.rr().subscriberEmail;c&&(z.dy(epa,{}),Rna(a.gm,c,b),a.gm.subscribe("submit",a.cwa.bind(a,c)))}; | |
gB=function(a,b,c,d){b.source=c;var e=d?d.conversionEmail:b.defaultEmail;d=d?d.conversionUserId:b.conversionUserId;var g=b.redirect;e&&d?(b.email=e,b.userId=d,g=g||a.U.R(z.Mu),z.dy(fpa,{source:c,userId:d})):z.dy(gpa,{source:c});if("available"===b.emailAvailability&&b.defaultEmail&&b.username&&b.name)e=!0;else if("medium"!=c&&b.redirect)var e=new z.Ie(b.redirect),k=new z.Ie(a.U.R(Qv)),e=e.Ed()==k.Ed();else e=!1;e?(a.oE=b,a.T6(g,d,c)):(a.Dg=a.wf.y3(b),a.Dg.subscribe(hpa,a.T6.bind(a,g,d,c)))}; | |
ipa=function(a){var b={};if(!a.Dg)return a=a.oE,a.accessToken&&(b.accessToken=a.accessToken),a.accessTokenSecret&&(b.accessTokenSecret=a.accessTokenSecret),a.accountName&&(b.accountName=a.accountName),b.email=a.userId||"medium"==a.source?a.email||a.defaultEmail||"":a.defaultEmail||a.email||"",z.Cb(b,{source:a.source,name:a.name,username:a.username}),b;a.Dg.disable();a.Dg.MC("name",hda());a.Dg.MC("email",Kj());b=a.Dg.sj();if(z.Ca(b.name))a.Dg.fq("name",z.Mj(),!0);else{if(z.Au(b.email))return Nx(a.Dg, | |
Afa),b;a.Dg.fq("email",z.Lj(),!0)}a.Dg.enable()};fB=function(a,b,c){ix(new z.hx("authState"));var d=hn(b.redirect).source,e;if(d){var g=z.ns(d).susiEntry;z.Ty(jpa,{entryPoint:g,susiMethod:c.aJ,operation:c.operation});e=z.ns(d).name}d=z.Jd();b.uid&&(d=kpa(a,b.uid));z.Ad(d,function(){c.hea&&"upgrade_membership"!=e?(Doa(a.wf),a.wf.subscribe(OA,function(){z.dy(lpa,{});mpa(a,b,c)})):mpa(a,b,c)})}; | |
mpa=function(a,b,c){var d={loggedOutUserId:z.rr().userId,loggedInUserId:b.uid};z.dy(npa,d);c.dFa?(z.dy(opa,{loggedInUserId:b.uid}),b={redirectUrl:b.redirect},z.Mw(a.U.R(Nu),b)):(c.hea&&z.dy(ppa,{loggedInUserId:b.uid}),b.redirect?z.Nw(b.redirect):z.Lw())}; | |
kpa=function(a,b){if(!b)return z.Jd();var c=a.U.R(qpa,{userId:b});return z.v(z.u(rpa(),function(d){if(!(z.zu(d.userPostRelations)&&z.zu(d.topicUserRelations)&&z.zu(d.searchQueries)))return z.v(z.u(a.Z.put(c,d,{timeoutMs:2E3}),function(){Hoa();z.dy(spa,{userId:b,userPostRelationCount:d.userPostRelations&&d.userPostRelations.length,topicUserRelationCount:d.topicUserRelations&&d.topicUserRelations.length,searchQueryCount:d.searchQueries&&d.searchQueries.length})},a),function(a){a.message="Failed to save offline data: "+ | |
a.message;z.xx(a)})}),function(a){a.message="Failed to format offline data: "+a.message;z.xx(a)})}; | |
rpa=function(){var a=VA["post-view"].ef(),b=VA["post-read"].ef(),c=VA["topic-view"].ef(),d=VA["medium-search"].ef(),e=Object.keys(a),g=Object.keys(c),k=Object.keys(d),e=e.map(function(c){var d={postId:c,viewedAt:a[c]};b[c]&&(d.readAt=b[c]);return d}),g=g.map(function(a){return{topicId:a,viewedAt:c[a]}}),k=k.map(function(a){return{searchQuery:a,searchedAt:d[a]}});return z.Jd({userPostRelations:e,topicUserRelations:g,searchQueries:k})}; | |
Ooa=function(a,b){a&&b&&(a=a.getAttribute("data-skip-onboarding"),!a||z.Ca(a)||b.sr("skipOnboarding")||b.add("skipOnboarding",a));return b};z.iB=function(){z.O.call(this)}; | |
z.jB=function(a){var b=a.HCa,c=a.lR;a='\x3cdiv class\x3d"butterBar-message"\x3e'+z.A(a.B1);b&&(b=z.n("Undo"),a+='\x3cspan class\x3d"butterBar-actions"\x3e\x3cspan class\x3d"middotDivider"\x3e\x3c/span\x3e\x3cbutton class\x3d"button button--chromeless butterBar-action link link--butter" data-action\x3d"undo"\x3e'+b+"\x3c/button\x3e\x3c/span\x3e");a+=(c?" "+z.A(c):"")+"\x3c/div\x3e";return(0,z.y)(a)}; | |
tpa=function(a,b,c){a=a||{};b=a.z0;a="";var d=z.n("{$productName} uses browser cookies to give you the best possible experience. ",{productName:z.A(c.productName)});b=b={Kza:(0,z.M)(""+d),Jza:(0,z.M)("To make "+z.A(c.productName)+" work, we log user data and share it with processors. To use "+z.A(c.productName)+", you must agree to our"),z0:b};var d=b.Kza,e=b.Jza,g=b.z0,k="",l=z.n("I agree."),q=z.n("I agree."),r=z.n("Privacy Policy"),k=k+('\x3cdiv class\x3d"u-flexCenter u-justifyContentSpaceBetween u-paddingVertical4 u-maxWidth1000"\x3e\x3cdiv class\x3d"u-flex1"\x3e'+ | |
(d?'\x3cspan class\x3d"u-xs-hide"\x3e'+z.A(d)+'\x3cspan class\x3d"u-sm-show"\x3e\x3cbr\x3e\x3c/span\x3e\x3c/span\x3e':"")+z.A(e)+" "+z.A(z.cl({eb:!0,hb:!0,href:c.j.IC,s:(0,z.M)(""+r)},c))+(g?", including cookie policy":"")+'.\x3c/div\x3e\x3cdiv class\x3d"u-flex0 u-textAlignRight u-marginLeft10"\x3e'+z.A(z.Xk(z.D({action:"butter-bar-action",text:(0,z.M)(""+q),title:(0,z.M)(""+l)},b),c))+"\x3c/div\x3e\x3c/div\x3e");c=(0,z.y)(k);return(0,z.y)(a+c)}; | |
upa=function(a,b,c){a=a||{};b="";var d=z.n("about {$productName}’s compliance with Do Not Track.",{productName:z.A(c.productName)}),e=z.n("here"),g=z.n("Read");b+='\x3cdiv class\x3d"u-flexCenter u-justifyContentSpaceBetween u-paddingVertical12 u-maxWidth1000"\x3e\x3cdiv class\x3d"u-flex1"\x3e'+g+" "+z.A(z.cl({eb:!0,hb:!0,href:c.j.IC,s:(0,z.M)(""+e)},c))+" "+d+'\x3c/div\x3e\x3cdiv class\x3d"u-flex0 u-textAlignRight u-marginLeft10"\x3e'+z.A(z.Wk(z.D({action:"butter-bar-dismiss",icon:(0,z.M)(""+z.A(z.sk())), | |
ca:!0},a),c))+"\x3c/div\x3e\x3c/div\x3e";return(0,z.y)(b)};vpa=function(a,b){this.ha=b;this.xa=a.get("app");this.Wa=a.get("screen-service");this.mf=new z.Bx;this.subscribe=this.mf.subscribe.bind(this.mf);this.xk=this.mf.xk.bind(this.mf);z.P(b).J("butter-bar-action",this.Dua,this).J("butter-bar-dismiss",this.Us,this).J("butter-bar-reload",this.Mua,this).J("undo",this.Hta,this)}; | |
z.kB=function(a,b,c){function d(){e.call(this);b.apply(c||this)}function e(){this.mf.unsubscribe("action",d,this);this.mf.unsubscribe("deactivate",e,this)}a.mf.subscribe("action",d,a);a.mf.subscribe("deactivate",e,a)};lB=function(a){z.O.call(this);this.X=a;z.Jy(a,"show-privacy-banner",!0);this.ha=a.get("butter-bar")}; | |
mB=function(a){z.O.call(this);this.X=a;z.Jy(a,"show-verify-email-prompt",!0);this.ha=a.get("butter-bar");this.U=a.get("route-builder");this.Z=a.get("request");this.pa=a.get("dialog");this.xa=a.get("app");this.za=a.get("screen")}; | |
oB=function(a){z.Bx.call(this);this.tZ=window.innerWidth;this.sZ=window.innerHeight;this.K8=Number(z.Qm.devicePixelRatio);this.Wa=a.get("screen-service");this.Lj=this.vd=null;this.vF=this.PM=!1;this.iY=0;this.nU=z.dn(z.nB,this.G$,this);this.oU=z.dn(z.nB,this.hY,this);this.Cxa=z.en(z.nB,this.Dxa,this);this.xva=z.Rw(window,"resize",this.Gsa,this);this.TW=this.iN.bind(this);"onbeforeprint"in window?this.z6=z.Rw(window,"beforeprint",this.iN,this):"matchMedia"in window&&window.matchMedia("print").addListener(this.TW); | |
this.$A=[];window._resizeIframe=(0,z.wa)(this.yoa,this);this.Wa.subscribe("endNav",this.Qo,this)};wpa=function(a){var b=a.Wa.Rc();(b=b&&z.jz(b))&&a.vd!=b&&(a.vF&&(a.oU.cancel(),a.hY()),z.Sw(a.$A),a.$A.length=0,a.vd=b,a.$A.push(z.Rw(z.ap(b)?window:b,"scroll",a.So,a)),a.$A.push(z.Rw(b,"wheel",a.nN,a)))};z.pB=function(a){z.O.call(this);this.lb=a.get("dom-monitor");this.Bf=a.get("element-tracker");this.a$={};this.z$={}}; | |
xpa=function(a){var b={};a.Ap().filter(a.Op,a).filter(function(a){var d=this.Mn(a);if(this.a$[d])return!1;this.a$[d]=!0;b[d]=a;return!0},a);return b};ypa=function(a){var b={};a.Ap().forEach(function(c){var d=a.Mn(c);a.z$[d]||(a.z$[d]=!0,b[d]=c)});return b}; | |
z.rB=function(a){if(!z.qB(a))return{};a=z.ns(a);var b=a.dimension;if(!b)return{};var c=b.split("|"),b={dimension:b,locationId:c[0]};c[1]&&(b.feature=c[1]);a.postId&&(b.postId=a.postId);a.collectionId&&(b.collectionId=a.collectionId);a.authorId&&(b.authorId=a.authorId);a.sequenceId&&(b.sequenceId=a.sequenceId);a.promoId&&(b.promoId=a.promoId);return b};z.qB=function(a){return a&&"upgrade_membership"==z.ns(a).name?!0:!1}; | |
sB=function(a){z.pB.call(this,a);this.za=a.get("screen");this.ma=a.get("popover");this.Tl=a.get("dialog")};z.tB=function(a,b){z.Sm.call(this);this.vE=a;this.bx=b||"";this.lB=a;this.FX="";this.bZ=this.cx=null};z.zpa=function(){return function(a,b){b&&Oy(b);return a?z.Ad((new z.tB(a,"u-transition--fadeOut100")).start(),function(){Py(a)}):null}};uB=function(a){a.bx&&z.de(a.vE,a.bx)}; | |
vB=function(a,b){z.O.call(this);this.lb=a.get("dom-monitor");this.zb=a.get("popover");this.JA=null;this.Mk=b;this.g8=this.LT=null;this.pA=this.rA=!1;this.aO=null;this.ub=a.get("element-tracker");this.IW=0};Bpa=function(a){z.u(Apa(a),function(){z.Vd(this.Mk,"is-minimized")},a);z.de(a.Mk,"is-maximized");a.rA=!1};Apa=function(a){wB(a);a.JA=z.Ad(z.u((new z.tB(a.Mk,"is-transitioning")).start(),function(){a.ub.sl()}),function(){this.JA=null},a);return a.JA};wB=function(a){a.JA&&(a.JA.cancel(),a.JA=null)}; | |
Cpa=function(a){a=a.zb.Ec();if(!a)return null;var b=a.Wd();return z.Wg(b,"js-metabar")?a:null};Dpa=function(){z.Sm.call(this)};xB=function(){z.Sm.call(this);this.gX=1};yB=function(a){xB.call(this);this.Sz=a};zB=function(a){xB.call(this);this.re=a}; | |
Epa=function(a,b,c,d){var e="VIDEO"==b.tagName,g=e?b.videoHeight:b.height;if(!(0>c.left||0>c.top||0>=c.width||0>=c.height||0>d.width||0>d.height||c.width>(e?b.videoWidth:b.width)||c.height>g)){try{a.drawImage(b,c.left,c.top,c.width,c.height,d.left,d.top,d.width,d.height)}catch(k){return z.xx(k),!1}return!0}return!1};Fpa=function(a,b){var c=null;try{c=a.getImageData(b.left,b.top,b.width,b.height)}catch(d){return null}return c}; | |
AB=function(a,b,c,d,e,g){if(6==arguments.length)this.setTransform(a,b,c,d,e,g);else{if(0!=arguments.length)throw Error("Insufficient matrix parameters");this.sg=this.tg=1;this.Og=this.Ng=this.$f=this.ag=0}};Gpa=function(a,b){var c=a.sg,d=a.Ng;a.sg=b.sg*c+b.Og*d;a.Ng=b.Ng*c+b.tg*d;a.$f+=b.$f*c+b.ag*d;c=a.Og;d=a.tg;a.Og=b.sg*c+b.Og*d;a.tg=b.Ng*c+b.tg*d;a.ag+=b.$f*c+b.ag*d;return a};BB=function(a,b){return b.clone().scale(a.sg,a.tg).translate(a.$f,a.ag)}; | |
CB=function(a,b){var c=new AB,d,e=0,g=0;a.width/a.height>b.width/b.height?(d=b.height/a.height,e=d*a.width,e=z.re(b.width/2-.5*e,b.width-e,0)):(d=b.width/a.width,g=d*a.height,g=z.re(b.height/2-.5*g,b.height-g,0));var k=d,l=d;c.sg*=k;c.Ng*=k;c.$f*=k;c.Og*=l;c.tg*=l;c.ag*=l;g=g+b.top-a.top*d;c.$f+=e+b.left-a.left*d;c.ag+=g;return c}; | |
Hpa=function(a,b){var c={imageId:a.nb()},d=a.BP();a=a.MB();if(d){d=z.DB.fields.image.strategy[d];c.strategy=d.type;for(var e in d)c[e]=d[e]}a&&(c.filter=a);b&&z.Cb(c,b);return z.Dw(z.Aj,c)};EB=function(a){z.Sm.call(this);this.Ps=a;this.Wb=this.Ps.getContext("2d");this.ON=[]};GB=function(){z.Sm.call(this);this.PY={}};HB=function(a,b){var c=z.va(b);a.PY[c]=b};IB=function(a,b){b=z.va(b);delete a.PY[b]};JB=function(a){xB.call(this);this.gB=a}; | |
KB=function(a,b){z.Sm.call(this);this.ep=a||0;this.Ui=b||0;this.C8=!0;this.bH=new AB;this.yW=new xB;this.tt=null};LB=function(a){return a.bH.$f+(a.tt?LB(a.tt):0)};z.MB=function(a){return a.bH.ag+(a.tt?z.MB(a.tt):0)};NB=function(a){a.C8=!1;return a};OB=function(a,b){a.bH.translate(b-LB(a),0);return a};PB=function(a,b){a.bH.translate(0,b-z.MB(a));return a};QB=function(a,b){PB(a,b.top);OB(a,b.left);a.Oy(b.width);a.Hy(b.height);return a};RB=function(a,b){a.yW=b;return a}; | |
SB=function(a,b){z.Sm.call(this);this.zaa=a.get("surface-processor");this.Yh=b;this.XE=(new yB([0,0,0])).ns(0);this.l8=this.eA=this.Uz=null};z.XB=function(a){return!!z.Ipa[a.tagName]&&!z.TB(a)&&!z.UB(a)&&!z.VB(a)&&!(a.parentNode&&z.VB(a.parentNode))&&!z.WB(a)&&!z.Ud(a,"iframeContainer")&&!z.bt(a)&&!z.at(a)&&!z.ct(a)};z.WB=function(a){return z.Ud(a,"u-ignoreBlock")};z.YB=function(a){return"LI"==a.tagName?!0:z.ft(a)?!1:z.XB(a)};z.TB=function(a){var b=a.tagName;return("DIV"===b||"P"===b)&&z.Ud(a,"section-content")}; | |
z.ZB=function(a){return a.getElementsByClassName("section-content")[0]};z.$B=function(a){var b=a.tagName;return("DIV"===b||"P"===b)&&z.Ud(a,"section-captionContent")};z.UB=function(a){var b=a.tagName;return("DIV"===b||"P"===b)&&z.Ud(a,"section-inner")};z.VB=function(a){var b=a.tagName;return("DIV"===b||"P"===b)&&z.Ud(a,"section-background")};z.aC=function(a){return"SECTION"===a.tagName};z.bC=function(a,b){return z.dt(a,z.YB,b)};z.cC=function(a,b){return z.dt(a,z.aC,b)}; | |
z.eC=function(a){var b=z.dC(a),c="DIV"==a.tagName&&z.Ud(a,"graf--"+z.bu(14));return(!!Jpa[a.tagName]||c)&&!!a.getAttribute("name")&&5!=b&&8!=b&&6!=b&&7!=b};z.gC=function(a){var b=[];z.fC(a,z.YB,z.cc(b.push,z.$b(!0)),b);return b};z.hC=function(a){var b=[];a=z.ab(a.childNodes);for(var c=0;c<a.length;c++){var d=a[c];"SECTION"===d.tagName&&b.push(d)}return b};z.iC=function(a){return z.ab(a.getElementsByClassName("section-inner"))}; | |
z.fC=function(a,b,c,d){var e,g;if(z.aC(a)||z.TB(a)||z.$B(a))if(g=z.iC(a),g.length){for(e=0;e<g.length;e++)if(!z.fC(g[e],b,c,d))return!1;return!0}e=0;for(g=a.children.length;e<g;e++){var k=a.children[e],l=k.tagName,q="SECTION"==l;if("OL"==l||"UL"==l||q)if(z.fC(k,b,c,d))continue;else return!1;if(b(k)&&!c.call(d,k))return!1}return!0};z.dC=function(a){var b;a:{a=a.className.match(/\S+/g)||[];for(b in jC){var c=jC[b],d=pja[c]||"";if(d&&z.Xa(a,d)){b=c;break a}}b=1}return b}; | |
Lpa=function(a){a=a.getAttribute("data-translationStatus");return Kpa[a]||1};Mpa=function(a){return(a=a.getAttribute("data-purpose"))?Number(a):1}; | |
z.mC=function(a){var b;if(kC)b=kC;else{b=kC={};for(var c in lC){var d=lC[c];z.qa(d)&&16!=d&&10!=d&&9!=d&&(b["graf--"+z.bu(d)]=d)}}if(z.Ud(a,"graf--coverTitle"))return 16;c=z.Td(a);for(d=0;d<c.length;d++){var e=b[c[d]];if(e&&(4!=e||a.querySelector("img")&&!a.querySelector("IFRAME")))return e}if(0!==a.querySelectorAll("IFRAME").length)return 11;b=a.tagName;if((c=a.querySelector("img"))&&!z.Ud(c,"graf-dropCapImage")||a.querySelector("video.graf-image"))return 4;if("BLOCKQUOTE"==b)return 6;if("LI"==b){a= | |
a.parentNode&&a.parentNode.tagName;if("UL"==a)return 9;if("OL"==a)return 10;throw Error("invalid list "+a);}return"H1"==b?12:"H2"==b?2:"H3"==b?3:"H4"==b?13:"PRE"==b?8:"HR"==b?5:1};z.nC=function(a){var b=a.tagName;if("STRONG"==b||"B"==b)return 1;if("EM"==b||"I"==b)return 2;if("A"==b)return 3;if("CODE"==b)return 10;if("SPAN"==b){if(a.getAttribute("name")&&z.Ud(a,cu(4)))return 4;if(z.Ud(a,cu(7)))return 7;if(z.Ud(a,cu(5)))return 5;if(z.Ud(a,cu(6)))return 6;if(z.Ud(a,cu(9)))return 9}return null}; | |
z.Npa=function(a){return(a=a.getAttribute("data-anchor-type"))?Number(a):0};z.oC=function(a,b){for(var c in b)if(z.Ud(a,c))return b[c];return null};z.pC=function(a){return z.Ud(a,"graf--hasDropCapModel")};rC=function(a,b){z.Sm.call(this);this.re=b;this.Bf=a.get("element-tracker");this.Ada=a.get("image");this.bl=z.qC(this.Bf,b);this.L9=0};sC=function(a,b,c,d,e){d-=a.df();b=z.MB(a)-b;c*=d-b;e&&z.xo(e,"transform","translate3d(0, "+c+"px, 0)");PB(a,b+c);return c}; | |
tC=function(a,b){rC.call(this,a,b);this.X=a;this.ic=a.get("dom-model-converter");this.za=a.get("screen");this.ZM="";this.Jk=Opa(this.Bf);this.qO=this.Kk=this.JV=this.xc=null;this.yt=0};Qpa=function(a){var b=z.uC(a.Bf),c=a.bl.$c();if(z.vo(b,c)){var d=Ppa(a.Bf,a.Da());a.yt=sC(a.Kk,a.yt,d,c.top+c.height);PB(a.Kk.Oy(c.width).Hy(Math.min(c.height,1.1*b.height)),c.top+a.yt);a.qO&&(b=z.cC(a.Da(),a.za.V()),b=z.gC(z.ZB(b)).map(function(a){return z.qC(this.Bf,a).$c()},a),a.qO.refresh(b))}}; | |
vC=function(a,b){rC.call(this,a,b)};wC=function(a,b){rC.call(this,a,b);this.tW="";this.Jk=Opa(this.Bf);this.ml=this.WO=this.bP=this.lw=null};xC=function(a,b){wC.call(this,a,b);this.ic=a.get("dom-model-converter");this.Xg=null;this.JU=this.yt=0};yC=function(a,b){rC.call(this,a,b);this.za=a.get("screen");this.HX=z.uC(this.Bf);this.Zo="";this.BO=null;this.$G=0};zC=function(a,b){rC.call(this,a,b);this.y9=this.x9=0}; | |
AC=function(){z.Sm.call(this);this.Pb=[];this.Zs=new z.Bx;this.Pb.push(z.Rw(window.document,"mousedown",this.Po,this),z.Rw(window.document,"mouseup",this.Po,this),z.Rw(window.document,"mouseover",this.Po,this),z.Rw(window.document,"click",this.Po,this),z.Rw(window.document,"dblclick",this.Po,this),z.Rw(window.document,"keydown",this.Po,this),z.Rw(window.document,"keyup",this.Po,this),z.Rw(window,"focus",this.Po,this),z.Rw(window,"blur",this.Nra,this))};z.CC=function(a,b){return new BC(a.Zs,b)}; | |
BC=function(a,b){z.Bx.call(this);this.Zs=a;this.UY=b;this.V$=z.dn(b,this.kwa,this);this.Oq=!1;this.IV=this.xT=0;this.Zs.subscribe("active",this.$o,this);this.Zs.subscribe("idle",this.pY,this)};DC=function(a,b){z.O.call(this);this.X=a;this.lb=a.get("dom-monitor");this.za=a.get("screen");this.za.track(this);this.oya=b;this.$i=null;this.f7=new GB;this.Jk=new GB;this.Pj=NB(new KB);this.e7=new AB;this.iba=new AB;this.Eo={};this.Ys={};this.pW=this.NM=!1;this.Jw=null}; | |
z.qC=function(a,b,c){var d;(d=c)||(d=!(z.va(b)in a.Eo));c||b.hasAttribute("data-scroll")||(c="native");c&&b.setAttribute("data-scroll",c);d&&(Rpa(a),Spa(a,b));b=z.va(b);return a.Eo[b]};z.uC=function(a){return a.Pj.$c()};Opa=function(a){return a.$i?a.Jk:null};z.EC=function(a,b,c){return z.re((a-b)/c,0,1)};Ppa=function(a,b){b=z.qC(a,b);var c=b.df()-a.Pj.df();return 0>=c?0:z.EC(z.MB(a.Pj),z.MB(b),c)};Rpa=function(a){Gpa(a.iba.Fn(a.e7),a.Pj.bH.clone())}; | |
Spa=function(a,b){var c=b.getAttribute("data-scroll"),d=z.va(b);a.Eo[d]||(a.Eo[d]=new KB,HB(a.f7,a.Eo[d]));var e=a.Eo[d],g=z.bx(b),g=BB(a.iba,g);QB(e,g);(e=a.Ys[d])&&e.g()!=c&&(z.bn(e),e=null);e||(z.Uq().supportsRealScrollEvents&&("aspect-ratio-viewport"==c?e=new tC(a.X,b):"blur-cover"==c?e=new wC(a.X,b):"cover-fade"==c?e=new vC(a.X,b):"post-section"==c?e=new xC(a.X,b):"dock"==c?e=new yC(a.X,b):"fixed"==c&&(e=new zC(a.X,b))),e?(e.load(),a.Ys[d]=e):delete a.Ys[d]);e&&e.measure()}; | |
Tpa=function(a,b){for(var c=null,d={},e=0;e<b.length;e++)d[z.va(b[e])]=!0;for(c in a.Ys)d[c]||(z.bn(a.Ys[c]),delete a.Ys[c]);for(c in a.Eo)d[c]||(IB(a.f7,a.Eo[c]),z.bn(a.Eo[c]),delete a.Eo[c])};Upa=function(a){return z.ab(a.za.V().querySelectorAll("[data-scroll]:not([data-scroll-disabled])"))};Vpa=function(a){var b;b=z.ug();b=new z.so(0,0,b.width,b.height);a.Pj.Oy(b.width).Hy(b.height)};Wpa=function(a,b){var c=z.uC(a);OB(PB(a.Pj,z.re(b.top,0,b.height-c.height)),z.re(b.left,0,b.width-c.width))}; | |
z.FC=function(a,b,c){z.O.call(this);this.X=a;this.zt=b||{};this.Wh=[];z.Jy(this.X,"screen",this);this.X.Ep();this.Mi=c||{};this.Waa=this.Rw=null;this.eW=this.mM=!1;this.xA=null;this.JT=this.X.get("screen-request");this.qw=this.X.get("lightstep");this.path=this.Ed(b);this.Hc=new z.ty("","");this.vd=null;z.H(z.Qm.useragent,"supportsProgressiveMedia")&&this.track(this.X.get("progressive-media-loader"));Hy(this.X,"show-verify-email-prompt")&&this.Ia(new mB(this.X));Hy(this.X,"show-privacy-banner")&&this.Ia(new lB(this.X))}; | |
z.GC=function(a,b){return a.X.get(b)};z.HC=function(a,b){return a.X.load(b)};Ypa=function(a){var b=a.Mi;a=a.NH();b={oldPath:b.xC,newPath:b.sDa,source:b.source,metadata:a?a.Jb():{}};z.dy(Xpa,b)};z.IC=function(a,b){if(a.path){var c=a.X.get("routeManager").Ig(a.path);b=a.NI(b);var d=z.Qm;if(c=c&&b?c.Hba(b,d)||null:null)b=new z.ty(c.title,c.description),b.favicon=c.faviconUrl,b.fontSets=c.fontSets,a.Nh(b)}}; | |
Gna=function(a,b,c){if(a.Na)throw Error("already initialized");z.IC(a,b);if(b&&(b=a.Tc(b)))return z.u(b,a.t6.bind(a,c));a.t6(c);return z.Jd(!0)};z.jz=function(a){return a.vd||window.document.body};z.JC=function(a,b){var c=z.jz(a);z.ap(c)&&a.Na&&(c=a.Na);c.appendChild(b)};z.QA=function(a,b,c){z.FC.call(this,a,b,c);this.sfa=this.PU=this.Tk=null;this.ka=a.get("model-store")};KC=function(a,b,c){z.QA.call(this,a,b,c);this.hH=this.cA=null};LC=function(a,b,c){z.QA.call(this,a,b,c);this.Rd=this.Gj=null}; | |
MC=function(a,b,c){z.QA.call(this,a,b,c);this.Rd=this.Gj=null};NC=function(a,b,c){z.QA.call(this,a,b,c);this.Rd=this.Gj=null;this.xa=a.get("app");this.ha=a.get("butter-bar");this.U=a.get("route-builder")};OC=function(a,b,c){z.QA.call(this,a,b,c);this.Rd=this.Gj=null;this.xa=a.get("app");this.ha=a.get("butter-bar");this.U=a.get("route-builder")}; | |
z.PC=function(a,b,c){z.FC.call(this,a,b,c);if(0===b.path.indexOf("http"))throw Error("You cannot construct an html screen with an absolute path. Try removing the host.");this.Va=null};QC=function(a,b){Ss.call(this);this.y6=new z.Ie(z.Pm(z.Qm));this.HL=new Qs;b||Zpa(this)}; | |
Zpa=function(a){var b=[Us($pa,KC),Us(aqa,NC),Us(bqa,OC),Us(ZA,MC),Us(cqa,LC),dqa,Us(eqa,z.PC),fqa,z.ou,ila,z.$v,Us(z.Vu,"ExportScreen"),Us(z.Xu,"SettingsScreen"),Us(z.Zu,z.PC),Us(z.$u,"OAuthApplicationScreen"),Us(lka,"OAuthApplicationScreen"),Us(z.av,"MigrationScreen"),z.dw,Us(RC,"VerificationScreen"),Us(kka,z.PC),Us(gqa,"ClientReportingTestScreen")];b.push(Us(hqa,"OnboardingScreen"));b.push(Us(dla,z.PC));b.push(Us(z.ew,"CollectionStatsScreen2"));b.push(Us(z.SC,"CollectionStatsStoriesScreen"));b.push(z.uw); | |
b.push(Us(cw,"CollectionStoriesManagerScreen"));b.push(Us(z.bw,"CollectionStoriesManagerScreen"));b.forEach(function(a){this.add(a)},a);b=iqa.Hva.filter(function(a){return!a.iua&&a.za});a.nH(b);TC(a,jqa,"CollectionStatsScreen2",z.dw);TC(a,kqa,"CollectionStatsScreen2",z.ew);TC(a,lqa,"CollectionStatsStoriesScreen",z.SC);TC(a,mqa,"CollectionStoriesManagerScreen",z.bw);TC(a,nqa,"CollectionStoriesManagerScreen",z.bw);TC(a,oqa,"CollectionStoriesManagerScreen",cw)}; | |
TC=function(a,b,c,d){Us(b,c).gga=d;a.HL.add(b.Ce(),b)};Cna=function(a,b){b=new z.Ie(b);var c=Ow().Dd(),d=b.Dd()||c;if(c!=d)return null;c=a.y6.Dd();b=b.Ed();d==c?(d=a.Ig(b))&&d.za&&!d.I0(z.Qm)?(a=a.su(b),a.path=b,b={screen:d.za,ZQ:a}):b=null:(d=a.HL.su(b))?(a=d.object,d=z.xb(d.matches||{}),d.collectionSlug=z.wr(),d.path=b,b=a.I0(z.Qm)?null:{screen:a.za,ZQ:d}):b=null;return b};UC=function(a,b){z.RA.call(this,a,"send-verify-email");this.X=b}; | |
z.qqa=function(a,b){var c={};c.redirect=b||"";var d=a.get("request"),e=a.get("dialog"),g=a.get("app");a=a.get("route-builder");z.v(z.u(d.post(a.R(RC),c),function(){e.open({title:z.sda(),bodyHtml:z.tda(),type:z.rz})}),function(a){z.xx(a);a=401===a.status?e.error(ida()):400===a.status?e.open({title:jda(),bodyHtml:kda(),type:z.rz}):e.error(lda());pqa(g,a,b)})};pqa=function(a,b,c){b.subscribe(z.oz,function(){z.Lw();c&&a.navigate(c)})};VC=function(a){z.K.call(this);this.C(a)}; | |
WC=function(a,b,c){z.RA.call(this,a,"*");this.Kna=c||rqa};XC=function(a,b,c){z.RA.call(this,a,c);this.ka=b.get("model-store");this.Z=b.get("request");this.OT={};this.ha=b.get("butter-bar");this.U=b.get("route-builder")}; | |
sqa=function(a,b,c){var d=a.ka.Ja(b);if(d){var e,g=z.Xl(z.rr());d.virtuals.userPostRelation||(d.virtuals.userPostRelation=new jp);c==YC.lq?(d.virtuals.isBookmarked=!0,d.virtuals.userPostRelation.readLaterAddedAt=Date.now(),d.virtuals.userPostRelation.queuedAt=Date.now(),e=g?YC.ni:YC.pq):c==YC.pq?(d.virtuals.isBookmarked=!1,d.virtuals.userPostRelation.readLaterAddedAt=0,e=YC.lq):(d.virtuals.isBookmarked=!0,d.virtuals.userPostRelation.readLaterAddedAt=Date.now(),e=YC.pq);z.ZC(a.ka,d);a=window.document.body.querySelectorAll('.js-bookmarkButton[data-action-value\x3d"'+ | |
b+'"]');for(b=0;b<a.length;b++){if(g)for(var k=z.Ig(a[b]),d="js-"+e,k=z.ja(k),l=k.next();!l.done;l=k.next())l=l.value,z.Ud(l,"button-label")||z.fe(l,"u-hide",!z.Ud(l,d));else z.fe(a[b],"is-active",c==YC.lq);a[b].setAttribute("data-action",e)}}};tqa=function(a,b){XC.call(this,a,b,YC.lq)};uqa=function(a,b){XC.call(this,a,b,YC.pq)};vqa=function(a,b){XC.call(this,a,b,YC.ni)}; | |
$C=function(a,b){z.RA.call(this,a,["show-more-collection-actions","show-collection-manage-actions","toggle-subscribe-letters","toggle-follow-collection","remove-collection-role"]);this.ma=b.get("popover");this.ka=b.get("model-store");this.qb=b.get("list-store");this.U=b.get("route-builder");this.Z=b.get("request");this.Wa=b.get("screen-service");this.pa=b.get("dialog");this.ha=b.get("butter-bar")}; | |
wqa=function(a,b,c,d){a=z.aD(z.bD(z.cD(z.dD(a.ma).Sa(Yna,{collection:c}),b),"u-resetSpectrum"),{Bc:!0});d&&(a=eD(a));a.ba()}; | |
yqa=function(a,b){var c=b.virtuals.isNewsletterSubscribed,d=a.U.R(xqa,{collectionId:b.nb()});z.u(a.Z.send(c?"delete":"put",d,{}),function(){var d=b.getName(),d=c?z.n("You will no longer receive Letters from {$collectionName}",{collectionName:z.A(z.Hj(d))}):z.n("You will now receive Letters from {$collectionName}.",{collectionName:z.A(d)}),d=(0,z.y)(""+d);a.ha.ba(d,"success");b.virtuals.isNewsletterSubscribed=!c})}; | |
Cqa=function(a,b){var c=b.virtuals.isSubscribed,d=b.virtuals.isNewsletterSubscribed;b.virtuals.isSubscribed=!c;b.virtuals.isNewsletterSubscribed=!d;fD(a,b);a.ma.Rb();var e=c?"delete":"put",g=a.U.R(zqa,{collectionSlug:b.slug});z.v(z.u(a.Z.send(e,g,{}),function(){z.dy(c?Aqa:Bqa,{collectionId:b.id});if(b.virtuals.isSubscribed){var d=a.Wa.Rc().query(".js-relationshipButton");wqa(a,d,b)}}),function(e){b.virtuals.isSubscribed=c;b.virtuals.isNewsletterSubscribed=d;fD(a,b);var g=c?jea():iea();a.ha.ba(g,"error"); | |
z.xx(e)})};Eqa=function(a,b){var c=oea({collectionName:b.name,isEditor:b.virtuals.permissions.canManageAll}),d=nea();a.pa.g_(c,d,d).subscribe(z.qz,function(){Dqa(a,b)})}; | |
Dqa=function(a,b){var c=b.virtuals.permissions.Jb();b.virtuals.permissions=new bq(z.xb(Fqa));fD(a,b);a.ma.Rb();var d=z.rr().userId,d=a.U.R(Gqa,{collectionSlug:b.slug,userId:d});z.v(z.u(a.Z.yd(d),function(){var c;c=z.n("You have removed yourself from this publication.");c=(0,z.y)(""+c);a.ha.ba(c,"success");var d=a.qb;c=b.slug;var k=z.gD(d),l=Hqa(k,c);l&&k.remove(l);d=hD(d);(c=Hqa(d,c))&&d.remove(c);z.dy(Iqa,{collectionId:b.id})}),function(d){b.virtuals.permissions=new bq(c);fD(a,b);var g;g=z.n("Something went wrong while removing you from that publication. Please try again later."); | |
g=(0,z.y)(""+g);a.ha.ba(g,"error");z.xx(d)})};fD=function(a,b){a.Wa.Rc().Ya(".js-relationshipButton").forEach(function(a){if(a.getAttribute("data-collection-id")==b.nb()){var d=z.Ud(a,"is-chromeless"),e=z.Ud(a,"is-smallPill"),g="affixMenu"==a.getAttribute("data-action-value"),d=z.Ew(z.Ez,{collection:b,ca:d,D0:g,qg:e});z.Hg(d,a)}})};iD=function(a,b){z.RA.call(this,a,"disabled");this.pa=b.get("dialog")};jD=function(a,b){z.RA.call(this,a,"dismiss-promo");this.Ba=b.get("model-request");this.ha=b.get("butter-bar")}; | |
kD=function(a,b){z.RA.call(this,a,"dismiss-interstitial");this.Wa=b.get("screen-service");this.Wa.subscribe("triggerNav",this.mN,this)};Jqa=function(){z.Gg(window.document.querySelector(".overlay--interstitial"))};lD=function(a,b){z.RA.call(this,b,"open-inner-link");this.xa=a.get("app")};mD=function(a,b){z.RA.call(this,a,"open-native");this.U=b.get("route-builder");this.kw=null;this.Ba=b.get("model-request")}; | |
Kqa=function(a,b){(a=a.getAttribute("data-action-target"))?Wla(a):(a=z.Uq().isWebView?new z.Ie(z.H(z.Qm,"androidPlayStoreMarketScheme")):new z.Ie(z.H(z.Qm,"androidPlayStoreUrl")),z.Xe(a,"referrer","utm_source\x3dmobile_web_promo"+(b?"\x26utm_campaign\x3d"+b:"")),z.Nw(a))}; | |
zta=function(a,b,c){var d=(new Date).getTime();z.u(z.gn(2E3),function(){Lqa(this);if(!(4E3<=(new Date).getTime()-d)){var a=new z.Ie(z.H(z.Qm,"iosAppStoreUrl"));z.Xe(a,"ct","mobile_web_promo"+(c?"_"+c:""));z.Nw(a)}},a);b=b.getAttribute("data-action-target")||z.H(z.Qm,"iosAppLinkBaseUrl");9<=z.Qm.useragent.version?Wla(b):(b=a.U.R(Mqa,null,{url:b}),yta(a,b))};yta=function(a,b){a.kw=window.document.createElement("iframe");z.Wd(a.kw,["u-hide","u-zeroSize"]);a.kw.src=b;window.document.body.appendChild(a.kw)}; | |
Lqa=function(a){a.kw&&(window.document.body.removeChild(a.kw),a.kw=null)}; | |
Ata=function(a,b,c){b="";var d=z.n("Also block the author of this story");b+=z.A(wga({items:a.reasons,itemType:"reportPostReasonRadio",Eea:"select-reason",l:"u-marginTop25"},c))+'\x3cdiv class\x3d"u-marginTop25 u-textAlignLeft"\x3e\x3cinput type\x3d"checkbox" id\x3d"also-block-author" class\x3d"js-alsoBlockAuthor" /\x3e\x3clabel for\x3d"also-block-author" class\x3d"label u-fontSize14 u-marginLeft15"\x3e'+d+"\x3c/label\x3e\x3c/div\x3e";return(0,z.y)(b)}; | |
nD=function(a,b){z.RA.call(this,a,["report-story"]);this.Z=b.get("request");this.ka=b.get("model-store");this.pa=b.get("dialog");this.U=b.get("route-builder");this.ha=b.get("butter-bar")}; | |
Cta=function(a,b){var c=a.ka.Ja(b).jb(),d=a.pa.Ec(),e=d.Ya(".js-reportStoryReasonRadio"),g=d.query(".js-alsoBlockAuthor"),e={reason:e.reduce(function(a,b){return b.checked?b.value:a},null),alsoBlockAuthor:g&&g.checked};e.reason?(b=a.U.R(Bta,{postId:b}),z.v(z.u(a.Z.put(b,e),function(){d.close();a.ha.ba(Dea({title:c}),"success")}),function(b){z.xx(b);d.close();a.ha.ba(Eea({title:c}),"error")})):(d.close(),a.ha.ba(Eea({title:c}),"error"))};oD=function(a){z.RA.call(this,a,"select-target")}; | |
Dta=function(a,b,c){a=z.y;b=z.n("This story was produced in partnership with an advertiser.");b=(0,z.y)(""+b);b='\x3cul class\x3d"list list--borderless list--short"\x3e\x3cli class\x3d"list-item u-normalWrap"\x3e'+z.A(b)+" ";var d=c.j.qFa,e;e=z.n("Learn more");e=(0,z.y)(""+e);return a(b+z.A(z.cl({hb:!0,href:d,s:(0,z.M)(""+z.A(e)),l:"u-noWrap",eb:!0},c))+"\x3c/li\x3e\x3c/ul\x3e")};pD=function(a,b){z.RA.call(this,a,["show-sponsored-story-popover"]);this.ma=b.get("popover")}; | |
qD=function(a,b){z.RA.call(this,a,"stat-link");this.xa=b.get("app")};rD=function(a,b){z.RA.call(this,a,"toggle-css-class");this.xa=b.get("app")};sD=function(a,b){z.RA.call(this,a,"update-blacklist");this.Z=b.get("request");this.ha=b.get("butter-bar");this.U=b.get("route-builder")};Eta=function(a){return(0,z.y)(z.A(z.Mh(Number(a.number))))}; | |
tD=function(a,b){z.RA.call(this,a,"toggle-subscribe-collection");this.Z=b.get("request");this.U=b.get("route-builder");this.ka=b.get("model-store");this.ha=b.get("butter-bar");this.ma=b.get("popover")};Gta=function(){var a={},b;for(b in a){var c=a[b];z.dy(Fta,{testName:"testBucket-"+b,testBucket:"string"==typeof c?c:"number"==typeof c?String(c):c?"true":"false"})}}; | |
uD=function(a){z.Bx.call(this);this.Z=a.get("request");this.Wa=a.get("screen-service");this.U=a.get("route-builder");this.eH=0;this.Wa.subscribe("endNav",this.gsa,this)};Jta=function(a){z.sr()&&z.u(a.Z.get(a.U.R(Hta),{background:!0}),function(a){a.value.hasOwnProperty("unreadActivityCount")&&Ita(this,a.value.unreadActivityCount)},a)};Ita=function(a,b){a.eH!=b&&(a.eH=b,a.fa("change"))}; | |
Kta=function(a){this.Wa=a.get("screen-service");this.Zl={};this.Pb={};this.xw={};this.Uw={};this.E$={};this.dU=[];this.mva=z.en(6E4,this.lva,this);this.Wa.subscribe("endNav",this.Qo,this)};Mta=function(a,b){a.Zl[b]||(a.Zl[b]=new z.kd,a.Uw[b]=new z.kd,a.xw[b]=0,Lta(a,b))};Nta=function(a,b){b=vD(b);if(a.Jp(b))return z.Jd(a.Uw[b]);Mta(a,b);return a.Uw[b].yc()};Ota=function(a,b){a=b.map(function(a){return Nta(this,a)},a);return new z.Rm(a,!1,!0)};Pta=function(a){var b=z.H(z.Qm,"miroUrl");a.dU.push(b)}; | |
vD=function(a){return 0===a.indexOf("//")?window.location.protocol+a:a};Lta=function(a,b){var c=new window.Image,d;a:{for(d=0;d<a.dU.length;d++)if(z.Aa(b,a.dU[d])){d=!0;break a}d=!1}d&&(c.crossOrigin="Anonymous");d=[];d.push(z.Rw(c,"load",a.ZF,a));d.push(z.Rw(c,"abort",a.Ro,a));d.push(z.Rw(c,"error",a.Ro,a));a.Pb[b]=d;c.src=b};wD=function(a,b){a=Error(a);z.bf(a,"imageUrl",b);z.xx(a)};z.yD=function(){z.Bx.call(this);this.Te=[];this.BA={};this.dH=z.xD;this.g9={}}; | |
zD=function(a,b){if(z.Xa(a.Te,b))return b;b=a.dH(b);return z.pa(b)?a.BA[b]:null};z.AD=function(a,b,c){var d=zD(a,b);d&&a.remove(d);z.eb(a.Te,c,0,b);c=a.dH(b);z.pa(c)&&(a.BA[c]=b);Qta(a,[b])};Qta=function(a,b){b.forEach(function(a){if(a=a.Hw)a.subscribe("remove",this.remove,this),a.subscribe("change",this.PAa,this)},a);a.fa("add",b,a)};z.BD=function(a,b){return a.Te[b]||null};Hqa=function(a,b){return a.find(function(a){return z.ii(a,"slug")===b})}; | |
Rta=function(a,b){for(var c=0;c<a.Te.length;c++)if(a.Te[c].F()===b)return c;return-1};z.CD=function(a,b,c){a.g9[b]=String(c)};z.DD=function(a){return a.Te.concat()};z.ED=function(a,b,c){z.yD.call(this);this.Z=a.get("request");this.Ba=a.get("model-request");this.ka=a.get("model-store");this.Tq=b;this.UV=null;this.o7=Sta;this.yX=this.Ok=null;this.pF={};this.Va=new z.kd;this.ML=0;this.ie=c};Sta=function(a){return{count:a,ignore:this.map(function(a){return a.F()})}}; | |
z.FD=function(a,b,c){a.nk();Tta(a,b,c);a.pF={}};z.GD=function(a){a.Hk&&(a.Hk=!1,a.fa("done"))};z.HD=function(a){return a.ZB&&!a.Va.cf};z.JD=function(a){return a.ZB?ID(a,a.Va):a.fetch()};z.Uta=function(a,b){function c(){if(a.Hk)return z.u(z.KD(a),c)}var d=z.Jd(!0);(0,window.setTimeout)(function(){d.cancel()},b||15E3);return z.u(d,c)};z.KD=function(a,b,c){if(!a.Hk)return ID(a,a.Va);a.ML=Math.max(a.ML,(b||25)+a.ue());z.HD(a)?yd(a.Va,a.RU,a.cqa.bind(a,!!c),a):a.RU(!!c);return ID(a,a.Va)}; | |
Tta=function(a,b,c){c?(a.Ok=c.Jb(),c=!c.next||!c.next.to&&!c.next.from&&!c.next.ignoredIds):(a.Ok=null,c=0==b.length);c&&z.GD(a);a.addAll(b);1==a.ie&&a.e3(b)};ID=function(a,b){return z.u(b.yc(),function(){return this},a)};Vta=function(a,b,c,d){d=d||a.Tq;"GET"==(c||a.Ho)&&b&&(d+=-1==d.indexOf("?")?"?":"\x26",d+=z.$e(b));return d}; | |
Wta=function(a,b,c){b=a.Ok?a.Ok.next:a.o7(b);var d=a.Ok?a.Ok.path:a.Tq,e=a.Ok&&a.Ok.method||a.Ho,d=Vta(a,b,e,d),g=JSON.stringify({path:d,data:b});if(a.pF[g]){var k=Error("LoadableList infinite loop");z.bf(k,"hash",g);z.xx(k);z.GD(a)}a.pF[g]=!0;if(!a.Hk)return z.Jd(null);k=d;z.Ye(k).qp||(k=z.Pm(z.Qm)+d);a.fa("send-request");return z.v(a.Z.send(e,k,b,{background:!!c}),function(){delete a.pF[g]})};LD=function(a,b){z.ED.call(this,a,b,1)};MD=function(a,b){z.ED.call(this,a,b,2)}; | |
z.ND=function(a){this.X=a;this.Ba=a.get("model-request");this.ka=a.get("model-store");this.U=a.get("route-builder");this.NA={};this.pZ={};this.WT={};this.CX={};this.sO={};this.ir={};this.HF=null};z.gD=function(a){return z.OD(a,a.U.R(PD,{},{relationship:"admin"}))};hD=function(a){return z.OD(a,a.U.R(PD,{},{relationship:"writer"}))};z.RD=function(a,b,c,d){a.ka.hc(c);var e=c.posts;a=z.QD(a,b,"GET");z.FD(a,e,c.paging);a.e3(e);d&&z.CD(a,"source",d);c.ug=a;return c}; | |
z.QD=function(a,b,c){if(a.NA[b])return a.NA[b];var d=new LD(a.X,b);d.Ho=c.toUpperCase();z.CD(d,"id",b);return a.NA[b]=d};z.OD=function(a,b){if(a.WT[b])return a.WT[b];var c=new MD(a.X,b);return a.WT[b]=c};SD=function(){z.Sm.call(this);this.AF={};this.iH={}};Xta=function(a,b){a=a.iH[b];return null==a?null:a};Yta=function(a,b){var c;c=a.AF[b];c=null==c?null:c;null!=c&&(delete a.iH[c],delete a.AF[b])}; | |
z.UD=function(){this.Te={};this.fA={};TD(this,"User","username");TD(this,"Collection","slug");TD(this,"MediaResource","href")};z.ZC=function(a,b){return a.n6(a.Xaa(b))};z.xz=function(a,b){return z.VD(a,"Collection","slug",b)};z.VD=function(a,b,c,d){var e=a.fA[b]&&a.fA[b][c];if(!e)throw Error('Could not find id bimap for type "'+b+'" and unique field "'+c+'"');return(c=Xta(e,d))?a.gc(b,String(c)):null};TD=function(a,b,c){var d=a.fA[b];d||(d=a.fA[b]={});d[c]||(d[c]=new SD)}; | |
Zta=function(a,b){var c=b.H(),d=b.F();if(c&&d&&(a=a.fA[c]))for(var e in a){var c=a[e],g=z.ii(b,e);null!=g&&c.set(d,g)}};z.WD=function(a){z.K.call(this);this.C(a)};XD=function(a){z.K.call(this);this.C(a)};z.YD=function(a){z.K.call(this);this.C(a)};z.ZD=function(a,b,c,d){Array.isArray(c)?c.forEach(function(c,g){z.ZD(a,b,c,d+(d?"["+g+"]":g))}):"object"===typeof c?Object.keys(c).forEach(function(e){z.ZD(a,b,c[e],d+(d?"["+e+"]":e))}):b[d]=c}; | |
z.$D=function(a){this.X=a;this.qb=a.get("list-store");this.ka=a.get("model-store");this.Ba=a.get("model-request");this.Z=a.get("request");this.U=a.get("route-builder");this.qw=a.get("lightstep");this.za=a.get("screen");this.vq=a.get("screen-request-cache");this.mX=null;this.HY=""};aua=function(a,b){b=a.U.R(z.Fm,{postId:b});$ta(a.vq);return!!a.vq.AG[b]}; | |
cua=function(a,b){var c=a.U.R(bua,{postId:b});return z.aE(a,c,function(){return z.u(this.Z.get(c,{background:!0}),function(a){a=z.hp.tb(z.YD,a);this.ka.hc(a);return a},this)})};z.dua=function(a){a.vq.sM=!0;new z.Rm([z.JD(z.gD(a.qb)),z.JD(hD(a.qb))]);a.vq.sM=!1};gua=function(a,b,c){b=a.U.R(z.eua,{postId:b},{filter:c});return fua(a,b)};fua=function(a,b){return z.aE(a,b,function(){return this.qb.a0(b,void 0,void 0)})}; | |
z.aE=function(a,b,c){$ta(a.vq);var d=a.vq.AG[b];if(d)return d.Aba=(0,z.Ja)(),z.Jd(d.value);a.vq.sM=!0;var e=a.qw.io("ScreenRequestService",a.HY,a.mX);if(e){var d={request:b},g=a.za.zt;(g=g&&g.path)&&(d.location=z.Pw().tk(g).toString());e.px(d)}hua(a.qw,e);c=c.call(a);iua(a.qw.Z,null);a.vq.sM=!1;return z.v(z.u(c,function(c){a.vq.AG[b]={Aba:(0,z.Ja)(),value:c};e&&e.finish();return c}),function(a){z.bf(a,"request",b);e&&e.finish();throw a;})};jua=function(){this.AG={};this.sM=!1}; | |
$ta=function(a){var b=(0,z.Ja)();a.AG=saa(a.AG,function(a){return 3E5>b-a.Aba},a)};bE=function(){z.Sm.call(this);this.$i=new EB(window.document.createElement("canvas"))};kua=function(a){this.X=a;this.U=a.get("route-builder");this.Hqa=a.get("model-request");this.ka=a.get("model-store");this.cN={}};lua=function(a){this.Z=a.get("request");this.wN=null};nua=function(a){null!=a.wN?z.Jd(a.wN):z.u(mua(a),function(b){z.cE.set("tpcs",String(b),259200,"/");return a.wN=b})}; | |
mua=function(a){if(z.vr())throw Error("Cannot check tp cookie here");var b=null;return z.v(z.u(z.u(z.dE(a.Z,eE),function(c){b=c;return z.dE(a.Z,eE)}),function(a){var d=b.value.uid;a=a.value.uid;return d&&d==a?1:2}),function(a){df("Cookie check failed",a);return 3})};z.fE=function(a,b){this.Gc=a;this.Ws=new pg(b)};oua=function(){var a=z.Qm,b=window.document;this.Gc=a;this.Vs=new z.fE(a,b)};z.hE=function(a,b){for(var c=[],d=0,e=0;e<b.length;e++){var g=b[e];c.push(z.gE(a,g,d));d+=z.gC(g).length}return c}; | |
z.gE=function(a,b,c){c=(new z.Op).Tb(b.getAttribute("name")||"").vg(c);var d=z.oC(b,z.iE);d&&c.Za(d);var d=z.Va(b.childNodes,z.VB),e=z.oC(b,z.jE);e&&(z.Sp(c,e),d&&(e=z.kE(a,d),(e.nb()||e.ei()&&e.hl())&&c.hs(e)));if(e=z.oC(b,z.lE))z.I(c,"videoLayout",e),d&&(e=new Fp,(a=pua(a,d))&&e.YEa(a),(a=d.getAttribute("data-video-id"))&&z.I(e,"videoId",a),(a=Number(d.getAttribute("data-width")))&&e.dv(a),(d=Number(d.getAttribute("data-height")))&&e.cv(d),e.sAa()&&z.H(e,"videoId")&&(e.ei()||e.hl())&&z.I(c,"backgroundVideo", | |
e));(d=z.oC(b,z.mE))&&z.Qp(c,d);(b=(b=b.getAttribute("data-background-color"))&&qua[b])&&c.Im(Number(b));return c}; | |
z.oE=function(a,b,c){var d=z.mC(b),e=b.getAttribute("name");if(4==d){var g=b.getElementsByClassName("graf-image")[0]||b.getElementsByTagName("IMG")[0],d=b.querySelector(".graf-imageAnchor"),k=z.dC(b);c=b.querySelector("figcaption");g=z.kE(a,g);e=new z.It(e,"",k,g);d&&(d=d.getAttribute("data-href")||d.getAttribute("href")||"")&&(e.href=z.os(d,!1,a.Gc));e.g3(Mpa(b));return c?nE(a,e,c):e}if(11==d){k=b.getElementsByTagName("IFRAME")[0];c=z.dC(b);b=b.querySelector("figcaption");d=(new z.Kp).Ly(k.getAttribute("data-media-id")|| | |
"");k.hasAttribute("data-width")&&d.R2(Number(k.getAttribute("data-width")));k.hasAttribute("data-height")&&d.Q2(Number(k.getAttribute("data-height")));k.hasAttribute("data-thumbnail")&&d.m3(k.getAttribute("data-thumbnail"));if((k=k.getAttribute("src"))&&!d.mediaResourceId){var g=new z.Ie(k),l=g.If;!l&&g.Dd()?d.TC(z.Je(g,"http").toString()):"http"!=l&&"https"!=l||d.TC(k)}e=new z.Jt(e,"",d,c);return b?nE(a,e,b):e}if(14==d)return c=b.getElementsByClassName("js-mixtapeImage")[0],d=new z.Lp,c&&(d.Ly(c.getAttribute("data-media-id")|| | |
""),d.l3(c.getAttribute("data-thumbnail-img-id")||""),d.ls(c.getAttribute("href")||"")),e=new z.Kt(e,"",d),nE(a,e,b,void 0);e=new z.Et(e,d,"");return 5==d?e:nE(a,e,b,c)}; | |
z.kE=function(a,b){var c=new z.ep;(a=pua(a,b))&&c.Km(a);var d=b.getAttribute("alt");d&&z.I(c,"alt",d);(d=Number(b.getAttribute("data-width")))&&c.dv(d);(d=Number(b.getAttribute("data-height")))&&c.cv(d);if(b.hasAttribute("data-focus-x")&&b.hasAttribute("data-focus-y")){var d=Number(b.getAttribute("data-focus-x")),e=Number(b.getAttribute("data-focus-y"));(0,window.isNaN)(d)||(0,window.isNaN)(e)||c.Fy(d).Gy(e)}(d=b.getAttribute("data-filter"))&&c.iJ(d);b.getAttribute("data-is-featured")&&z.I(c,"isFeatured", | |
!0);var d=b.getAttribute("src"),e=new z.Ie(d),g=e.If;(b=b.getAttribute("data-external-src"))?c.TC(b):!a&&d&&(!g&&e.Dd()?c.TC(z.Je(e,"http").toString()):"http"!=g&&"https"!=g||c.TC(d));return c};pua=function(a,b){a=z.H(a.Gc,"miroUrl");var c=b.getAttribute("data-image-id");if(c)return c;if(b.src&&(c=rs(a,b.src)))return c;if(c=z.pE(b))if(c=rs(a,c))return c;return b.getAttribute("data-delayed-src")&&(c=rs(a,b.getAttribute("data-delayed-src")))?c:""}; | |
z.pE=function(a){return a.style.backgroundImage?(a=rua.exec(a.style.backgroundImage))?a[1]:"":""}; | |
nE=function(a,b,c,d){var e=new z.vn(c),g;d=new sua(b,!!d);for(var k=!1;g=z.Ae(e);)if(g!=c)if(3==g.nodeType)k||tua(d,Bt(g.nodeValue,b.g()),g);else if(1==g.nodeType)if(z.Ud(g,"defaultValue"))k=!k;else if(!k){var l;if(-1==e.xg){l=z.nC(g);if(null!=l){var q=d,r=q.yA.pop();r.end=q.bi;(!q.Yaa||1!==l&&2!==l)&&z.Lt(q.Vh,r)}"BR"==g.tagName&&tua(d,"\n",g)}else 1==e.xg&&(l=z.nC(g),3==l?(q=z.Npa(g),2==q?(g=g.getAttribute("data-user-id"),g=z.tt(d.bi,d.bi,g)):(l=z.os(g.getAttribute("data-href")||g.getAttribute("href")|| | |
"",!1,a.Gc),g=z.st(d.bi,d.bi,l,g.title,g.rel,q)),d.yA.push(g)):4==l?(g=z.ut(d.bi,d.bi,g.getAttribute("name")),d.yA.push(g)):7==l?(q=g.getAttribute("name"),g=g.getAttribute("data-creator-ids"),g=z.vt(d.bi,d.bi,q?q.split(" "):[],g?g.split(" "):[]),d.yA.push(g)):l&&(g=z.pt(l,d.bi,d.bi),d.yA.push(g)))}d.Vb(c.getAttribute("data-default-value"));e=c.getAttribute("data-align");b.alignment=uua[e]||1;b.UC(z.pC(c));(a=(e=c.querySelector(".graf-dropCapImage"))&&z.kE(a,e))&&b.ks(a);b.n3(Lpa(c));return b}; | |
z.vua=function(a,b){b=z.hC(b);a=z.hE(a,b);for(var c=0;c<b.length;c++){var d=b[c],e=a[c];2!=z.Rp(e)&&6!=z.Rp(e)&&8!=z.Rp(e)&&9!=z.Rp(e)||z.et(d)}};sua=function(a,b){this.Vh=a;this.Yaa=b;this.he=[];this.yA=[];this.bi=0}; | |
tua=function(a,b,c){a.he.push(b);b=b.length;if(a.Yaa&&!z.zt(a.Vh.type)){c=z.Lg(c)?c:c.parentNode;var d=z.yo(c,"fontWeight");(-1!=d.indexOf("bold")||Number(d)&&600<Number(d))&&z.Lt(a.Vh,z.pt(1,a.bi,a.bi+b));c="italic"===z.yo(c,"fontStyle");d=a.Vh.type;c!=(7==d||6==d)&&z.Lt(a.Vh,z.pt(2,a.bi,a.bi+b))}a.bi+=b};z.qE=function(a){z.K.call(this);this.C(a)}; | |
z.rE=function(a,b){z.O.call(this);this.QL=this.ET=null;this.ub=a.get("element-tracker");this.Rk=null;this.FT=[];this.CN=null;this.iW=this.DM=this.Pq=!1;this.Ha(b)};xua=function(a){a.DM&&(z.Cw(z.Cx(a,sE),wua,{l:"u-animation--fade-out-fast"}),a.DM=!1)};z.tE=function(a,b,c){z.rE.call(this,a,b);this.W=c;this.ET=this.W.audioVersionUrl;this.av(this.W.audioVersionDurationSec);this.Z=a.get("request")};zua=function(a){z.cy(a.Z,yua,{postId:a.W.id},{progressSec:a.Rk?a.Rk.currentTime:0})}; | |
z.uE=function(a){z.pB.call(this,a);this.za=a.get("screen");this.U=a.get("route-builder");this.Z=a.get("request")};z.vE=function(a){z.O.call(this);this.lB=a;this.LA={};this.Fz=null};Aua=function(a){this.Bk=a;this.nW=!1;this.yo=new window.Audio(a.href);this.yo.loop=!1;this.yo.autoplay=!1;this.yo.load();z.Rw(this.yo,"playing",this.ssa,this);z.Rw(this.yo,"pause",this.rsa,this);z.Rw(this.yo,"ended",this.Ira,this);z.Rw(this.yo,"waiting",this.Pta,this);z.Rw(this.yo,"error",this.Ro,this)}; | |
Bua=function(a){var b=a;b instanceof z.Br?b=lp(a.Jb()):b instanceof z.kp||(b=lp(a));return(new Pq).pe(b)};Cua=function(a){function b(a){a=a.Zb().Ua();return 0+2*!!d[a]}var c=z.$a([],a).map(Bua),c=z.ob(c,function(a){return a.Zb().Ua()}),d=z.ob(a,function(a){return a.userId});a=z.qb(c);a.sort(function(a,c){var d=b(a),l=b(c);return d!=l?l-d:jb(a.Zb().Ua(),c.Zb().Ua())});return a};Dua=function(a){this.Rd=a;this.vN=this.iG=null}; | |
wE=function(a,b){if(a.iG)throw Error("Called populate() before the previous populate() was complete");a.iG=b;return a};xE=function(a,b){if(!a.iG)throw Error("Cannot call as() before populate()");if(a.vN)throw Error("Cannot call as() twice");a.vN=b;return a}; | |
yE=function(a,b){var c=a.Rd;b=b||{};if(c){var d=a.iG.split("."),e=d.pop(),c=Array.isArray(c)?c:[c];d.length&&(c=a.La(d.join(".")));for(d=0;d<c.length;d++){var g=c[d],k=a.vN||e;if(g instanceof z.bi&&!g.D.kj[k])throw Error("Protobuf "+g.D.name+' does not have field "'+k+'." Did you forget to add it?');if(Array.isArray(g[e])){g[k]=g[k]||[];for(var l=0;l<g[e].length;l++)b[g[e][l]]&&(g[k][l]=b[g[e][l]])}else"string"===typeof g[e]&&b[g[e]]&&(g[k]=b[g[e]])}}a.iG=a.vN=null}; | |
zE=function(a,b,c){if(!b||"object"!==typeof b)throw Error("References are now a required argument for autoPopulate()");if(a){var d=Array.isArray(a);if(!d||0!==a.length){var e=new Dua(a),g=d?a[0].type:a.type,d=d?a:[a];if(d[0]instanceof z.K){var k=d[0];k.H()&&(g=k.H())}c&&(g=c);"Note"==g?yE(xE(wE(e,"authorId"),"author"),b.User):"NoteReply"==g?yE(xE(wE(e,"authorId"),"author"),b.User):"UserMeta"==g?(yE(xE(wE(e,"userId"),"user"),b.User),e.La("user").forEach(function(a){zE(a,b,"User")}),yE(xE(wE(e,"collectionIds"), | |
"collections"),b.Collection),yE(xE(wE(e,"featuredPostId"),"featuredPost"),b.Post),e.La("featuredPost").forEach(function(a){zE(a,b,"Post")})):"Collection"==g?(yE(xE(wE(e,"creatorId"),"user"),b.User),yE(xE(wE(e,"sections.postListMetadata.postIds"),"posts"),b.Post),yE(xE(wE(e,"sections.promoMetadata.promoId"),"promo"),b.CollectionPromo),e.La("sections.postListMetadata.posts").forEach(function(a){zE(a,b,"Post")})):"CollectionTopic"==g?(yE(xE(wE(e,"sections.items.postId"),"post"),b.Post),e.La("sections.items.post").forEach(function(a){zE(a, | |
b,"Post")})):"PostBundle"==g?yE(xE(wE(e,"postIds"),"posts"),b.Post):"Post"==g?(yE(xE(wE(e,"creatorId"),"creator"),b.User),yE(xE(wE(e,"translationSourceCreatorId"),"translationSourceCreator"),b.User),yE(xE(wE(e,"homeCollectionId"),"homeCollection"),b.Collection),yE(xE(wE(e,"approvedHomeCollectionId"),"approvedHomeCollection"),b.Collection),yE(xE(wE(e,"inResponseToPostId"),"inResponseToPost"),b.Post),yE(xE(wE(e,"inResponseToPost.creatorId"),"creator"),b.User),yE(xE(wE(e,"inResponseToMediaResourceId"), | |
"inResponseToMediaResource"),b.MediaResource),yE(xE(wE(e,"sequenceId"),"sequence"),b.Sequence),function(a){e.La(a).forEach(function(a){zE(a,b,"MediaResource")})}("inResponseToMediaResource"),a=e.La("virtuals.usersBySocialRecommends"),Eua(a),d.forEach(function(a){a.virtuals&&(a.virtuals.socialRecommends=Cua(a.virtuals.usersBySocialRecommends||[]),a instanceof z.bi||(a.virtuals.socialRecommends=a.virtuals.socialRecommends.map(Gca)))})):"User"==g?(yE(xE(wE(e,"userId"),"socialStats"),b.SocialStats),yE(xE(wE(e, | |
"userId"),"social"),b.Social)):"MediaResource"==g?(yE(xE(wE(e,"mediumPost.postId"),"post"),b.Post),yE(xE(wE(e,"mediumQuote.quoteId"),"quote"),b.Quote),e.La("mediumPost.post").forEach(function(a){zE(a,b,"Post")}),e.La("mediumQuote.quote").forEach(function(a){zE(a,b,"Quote")})):"Sequence"==g?yE(xE(wE(e,"featuredUserId"),"featuredUser"),b.User):"StreamItemList"==g?e.La("streamItems").forEach(function(a){zE(a,b,"StreamItem")}):"StreamItem"==g?(yE(xE(wE(e,"postPreview.postId"),"post"),b.Post),e.La("postPreview.post").forEach(function(a){zE(a, | |
b,"Post")}),yE(xE(wE(e,"collectionManagerPost.postId"),"post"),b.Post),e.La("collectionManagerPost.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"quotePreview.quoteId"),"quote"),b.Quote),e.La("quotePreview.quote").forEach(function(a){zE(a,b,"Quote")}),yE(xE(wE(e,"conversation.userIds"),"users"),b.User),e.La("conversation.users").forEach(function(a){zE(a,b,"User")}),e.La("conversation.conversationItems").forEach(function(a){zE(a,b,"ConversationItem")}),yE(xE(wE(e,"compressedPostList.items.postId"), | |
"post"),b.Post),e.La("compressedPostList.items.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"quoteList.items.quoteId"),"quote"),b.Quote),e.La("quoteList.items.quote").forEach(function(a){zE(a,b,"Quote")}),yE(xE(wE(e,"postDiscussion.fallbackPostDiscussionItems.postId"),"post"),b.Post),e.La("postDiscussion.fallbackPostDiscussionItems.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"postDiscussion.singleThreadConversationPostDiscussion.items.postId"),"post"),b.Post),e.La("postDiscussion.singleThreadConversationPostDiscussion.items.post").forEach(function(a){zE(a, | |
b,"Post")}),yE(xE(wE(e,"postDiscussion.singleLevelResponsePostDiscussion.parentItem.postId"),"post"),b.Post),e.La("postDiscussion.singleLevelResponsePostDiscussion.parentItem.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"postDiscussion.singleLevelResponsePostDiscussion.responseItems.postId"),"post"),b.Post),e.La("postDiscussion.singleLevelResponsePostDiscussion.responseItems.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"bmPostPreview.postId"),"post"),b.Post),e.La("bmPostPreview.post").forEach(function(a){zE(a, | |
b,"Post")}),yE(xE(wE(e,"bmPostPreview.userAnnotation.userId"),"user"),b.User),e.La("bmPostPreview.userAnnotation.user").forEach(function(a){zE(a,b,"User")}),yE(xE(wE(e,"userPreview.userId"),"user"),b.User),e.La("userPreview.user").forEach(function(a){zE(a,b,"User")}),yE(xE(wE(e,"userPreview.userAnnotation.userId"),"user"),b.User),e.La("userPreview.userAnnotation.user").forEach(function(a){zE(a,b,"User")}),yE(xE(wE(e,"collectionPreview.collectionId"),"collection"),b.Collection),e.La("collectionPreview.collection").forEach(function(a){zE(a, | |
b,"Collection")}),yE(xE(wE(e,"collectionPreview.userAnnotation.userId"),"user"),b.User),e.La("collectionPreview.userAnnotation.user").forEach(function(a){zE(a,b,"User")}),yE(xE(wE(e,"paragraphItem.userAnnotation.userId"),"user"),b.User),e.La("paragraphItem.userAnnotation.user").forEach(function(a){zE(a,b,"User")}),yE(xE(wE(e,"paragraphItem.mediaResourceId"),"mediaResource"),b.MediaResource),e.La("paragraphItem.mediaResource").forEach(function(a){zE(a,b,"MediaResource")}),yE(xE(wE(e,"catalogPromoItem.catalogId"), | |
"catalog"),b.Catalog),e.La("catalogPromoItem.catalog").forEach(function(a){zE(a,b,"Catalog")}),yE(xE(wE(e,"catalogPreview.catalogId"),"catalog"),b.Catalog),e.La("catalogPreview.catalog").forEach(function(a){zE(a,b,"Catalog")}),yE(xE(wE(e,"catalogPreview.userAnnotation.userId"),"user"),b.User),e.La("catalogPreview.userAnnotation.user").forEach(function(a){zE(a,b,"User")}),yE(xE(wE(e,"catalogPreview.items.postItem.postId"),"post"),b.Post),e.La("catalogPreview.items.postItem.post").forEach(function(a){zE(a, | |
b,"Post")}),yE(xE(wE(e,"catalogPreview.items.userItem.userId"),"user"),b.User),e.La("catalogPreview.items.userItem.user").forEach(function(a){zE(a,b,"User")}),yE(xE(wE(e,"catalogPreview.items.collectionItem.collectionId"),"collection"),b.Collection),e.La("catalogPreview.items.collectionItem.collection").forEach(function(a){zE(a,b,"Collection")}),yE(xE(wE(e,"catalogPreview.items.topicItem.topicId"),"topic"),b.Topic),yE(xE(wE(e,"catalogPreview.items.catalogItem.catalogId"),"catalog"),b.Catalog),e.La("catalogPreview.items.catalogItem.catalog").forEach(function(a){zE(a, | |
b,"Catalog")}),yE(xE(wE(e,"catalogCondensed.catalogId"),"catalog"),b.Catalog),e.La("catalogCondensed.catalog").forEach(function(a){zE(a,b,"Catalog")}),yE(xE(wE(e,"catalogCondensed.userAnnotation.userId"),"user"),b.User),e.La("catalogCondensed.userAnnotation.user").forEach(function(a){zE(a,b,"User")}),e.La("membershipItem.membership").forEach(function(a){zE(a,b,"Membership")}),yE(xE(wE(e,"tagList.items.tagSlug"),"tag"),b.Tag),e.La("tagList.items.tag").forEach(function(a){zE(a,b,"Tag")}),e.La("placementCardGrid.placementCards").forEach(function(a){zE(a, | |
b,"PlacementCard")}),e.La("placementCardGrid.additionalPlacementCards").forEach(function(a){zE(a,b,"PlacementCard")}),e.La("placementCardMetabar.placementCard").forEach(function(a){zE(a,b,"PlacementCard")}),e.La("placementCardSidecard.placementCards").forEach(function(a){zE(a,b,"PlacementCard")}),e.La("placementCardTransitionFooter.placementCard").forEach(function(a){zE(a,b,"PlacementCard")}),e.La("placementCardCarousel.placementCard").forEach(function(a){zE(a,b,"PlacementCard")}),yE(xE(wE(e,"readingListPostItem.postId"), | |
"post"),b.Post),e.La("readingListPostItem.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"suggestedEntityPack.entities.suggestedUser.userId"),"user"),b.User),e.La("suggestedEntityPack.entities.suggestedUser.user").forEach(function(a){zE(a,b,"User")}),yE(xE(wE(e,"seriesHeroCarousel.cards.postId"),"post"),b.Post),e.La("seriesHeroCarousel.cards.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"seriesGridCard.postId"),"post"),b.Post),e.La("seriesGridCard.post").forEach(function(a){zE(a, | |
b,"Post")}),yE(xE(wE(e,"topicEducation.topicId"),"topic"),b.Topic),e.La("topicEducation.topicId").forEach(function(a){zE(a,b,"Topic")}),yE(xE(wE(e,"topicExplore.items.topicId"),"topic"),b.Topic),e.La("topicExplore.items.topicId").forEach(function(a){zE(a,b,"Topic")}),yE(xE(wE(e,"topicPreview.topicId"),"topic"),b.Topic),e.La("topicPreview.topic").forEach(function(a){zE(a,b,"Topic")}),yE(xE(wE(e,"tabSectionList.tabSections.items.post.postId"),"post"),b.Post),e.La("tabSectionList.tabSections.items.post.post").forEach(function(a){zE(a, | |
b,"Post")}),yE(xE(wE(e,"sequenceIndexCarousel.items.creatorId"),"creator"),b.User),yE(xE(wE(e,"sequenceIndexCarousel.items.sequenceId"),"sequence"),b.Sequence),e.La("sequenceIndexCarousel.items.sequenceId").forEach(function(a){zE(a,b,"Sequence")}),yE(xE(wE(e,"landingPagePost.postId"),"post"),b.Post),e.La("landingPagePost.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"landingPageUser.userId"),"user"),b.User),e.La("landingPageUser.user").forEach(function(a){zE(a,b,"User")}),yE(xE(wE(e,"landingPageSequence.sequenceId"), | |
"sequence"),b.Sequence),e.La("landingPageSequence.sequence").forEach(function(a){zE(a,b,"Sequence")}),yE(xE(wE(e,"creatorsLandingPagePost.postId"),"post"),b.Post),e.La("creatorsLandingPagePost.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"sequencePostPreview.postId"),"post"),b.Post),e.La("sequencePostPreview.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"heading.heading.headingForSuggestedTopic.topicId"),"topic"),b.Topic),yE(xE(wE(e,"heading.heading.headingForPopchunk.popchunkId"), | |
"popchunk"),b.Popchunk),yE(xE(wE(e,"section.heading.headingForSuggestedTopic.topicId"),"topic"),b.Topic),yE(xE(wE(e,"section.heading.headingForPopchunk.popchunkId"),"popchunk"),b.Popchunk),yE(xE(wE(e,"section.topic.topicId"),"topic"),b.Topic),yE(xE(wE(e,"section.popchunk.popchunkId"),"popchunk"),b.Popchunk),yE(xE(wE(e,"section.promo.sequenceId"),"sequence"),b.Sequence),e.La("section.promo.sequence").forEach(function(a){zE(a,b,"Sequence")}),yE(xE(wE(e,"section.items.promo.promoId"),"promo"),b.CollectionPromo), | |
yE(xE(wE(e,"section.items.topic.topicId"),"topic"),b.Topic),yE(xE(wE(e,"section.items.post.postId"),"post"),b.Post),e.La("section.items.post.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"extremePostPreview.header.headerForPopchunk.popchunkId"),"popchunk"),b.Popchunk),yE(xE(wE(e,"extremePostPreview.postId"),"post"),b.Post),e.La("extremePostPreview.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"extremeAdaptiveSection.items.post.postId"),"post"),b.Post),e.La("extremeAdaptiveSection.items.post.post").forEach(function(a){zE(a, | |
b,"Post")}),yE(xE(wE(e,"extremePopchunk.popchunkId"),"popchunk"),b.Popchunk),yE(xE(wE(e,"extremePopchunk.heading.headingForPopchunk.popchunkId"),"popchunk"),b.Popchunk),yE(xE(wE(e,"extremePopchunk.items.post.postId"),"post"),b.Post),e.La("extremePopchunk.items.post.post").forEach(function(a){zE(a,b,"Post")})):"ConversationItem"==g?(yE(xE(wE(e,"postId"),"post"),b.Post),e.La("post").forEach(function(a){zE(a,b,"Post")})):"ParagraphRecommend"==g?yE(xE(wE(e,"authorId"),"author"),b.User):"PostStat"==g? | |
yE(xE(wE(e,"collectionId"),"collection"),b.Collection):"Quote"==g?(yE(xE(wE(e,"userId"),"user"),b.User),yE(xE(wE(e,"postId"),"post"),b.Post),e.La("post").forEach(function(a){zE(a,b,"Post")})):"CollectionMasthead"==g?e.La("staff").forEach(function(a){zE(a,b,"CollectionMastheadUserItem")}):"CollectionMastheadUserItem"==g?(yE(xE(wE(e,"userId"),"user"),b.User),zE(a.user,b,"User")):"ActivityItem"==g?(yE(xE(wE(e,"actorId"),"actor"),b.User),yE(xE(wE(e,"collectionId"),"collection"),b.Collection),yE(xE(wE(e, | |
"postId"),"post"),b.Post),yE(xE(wE(e,"noteId"),"note"),b.Note),yE(xE(wE(e,"replyId"),"noteReply"),b.NoteReply),yE(xE(wE(e,"quoteId"),"quote"),b.Quote),yE(xE(wE(e,"responsePostId"),"responsePost"),b.Post),yE(xE(wE(e,"catalogId"),"catalog"),b.Catalog),zE(a.rollupItems,b)):"PostBundle"==g?zE(a.posts,b):"Catalog"==g?yE(xE(wE(e,"creatorId"),"creator"),b.User):"UserAction"==g?(yE(xE(wE(e,"userFollow.userId"),"user"),b.User),e.La("userFollow.user").forEach(function(a){zE(a,b,"User")}),yE(xE(wE(e,"postUpvote.postId"), | |
"post"),b.Post),e.La("postUpvote.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"collectionFollow.collectionId"),"collection"),b.Collection),e.La("collectionFollow.collection").forEach(function(a){zE(a,b,"Collection")}),yE(xE(wE(e,"postBookmark.postId"),"post"),b.Post),e.La("postBookmark.post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"topicFollow.topicId"),"topic"),b.Topic),e.La("topicFollow.topic").forEach(function(a){zE(a,b,"Topic")})):"Membership"==g?(yE(xE(wE(e,"memberUserId"), | |
"member"),b.User),yE(xE(wE(e,"membershipPlanId"),"membershipPlan"),b.MembershipPlan)):"Placement"==g?e.La("items").forEach(function(a){zE(a,b,"StreamItem")}):"PlacementCard"==g?yE(xE(wE(e,"suggestedPostCard.postId"),"post"),b.Post):"Takeover"==g?yE(xE(wE(e,"tagSlugs"),"tags"),b.Tag):"SummaryUserStat"==g?(yE(xE(wE(e,"postIds"),"topPosts"),b.Post),yE(xE(wE(e,"favoriteCollectionIds"),"favoriteCollections"),b.Collection),yE(xE(wE(e,"favoriteAuthorIds"),"favoriteAuthors"),b.User)):"TopicBrief"==g?(yE(xE(wE(e, | |
"briefCatalogId"),"briefCatalog"),b.Catalog),yE(xE(wE(e,"briefCatalog.creatorId"),"creator"),b.User)):"WelcomeEmailEntry"==g?(yE(xE(wE(e,"postId"),"post"),b.Post),yE(xE(wE(e,"post.creatorId"),"creator"),b.User)):"AdminCurationCandidatePreview"==g&&(yE(xE(wE(e,"postId"),"post"),b.Post),e.La("post").forEach(function(a){zE(a,b,"Post")}),yE(xE(wE(e,"topicId"),"topic"),b.Topic),e.La("topic").forEach(function(a){zE(a,b,"Topic")}))}}}; | |
Eua=function(a){var b={};if(Array.isArray(a))for(var c=0;c<a.length;c+=1)Fua(b,a[c]);else Fua(b,a)};Fua=function(a,b){if("object"===typeof b&&b.userId)a[b.userId]=b;else throw Xaa("Unable to convert data to map",b),Error("Unable to convert data to map "+b);}; | |
z.Gua=function(a,b){var c="",d=a.collection.tintColor&&a.collection.lightText;if(a.collection.facebookPageName)var e=z.n("Visit “{$name}†on Facebook",{name:z.A(a.collection.name)}),c=c+z.A(z.al({ca:!0,vb:!!d,$b:!0,hb:!0,Ff:!0,l:a.l,rel:"me",href:(0,z.L)("//facebook.com/"+z.Bh(a.collection.facebookPageName)),title:(0,z.M)(""+e),icon:(0,z.M)(""+z.A(Rda()))},b));return(0,z.y)(c)}; | |
z.Hua=function(a,b){var c="",d=a.collection.tintColor&&a.collection.lightText;if(a.collection.twitterUsername)var e=z.n("Visit “{$name}†on Twitter",{name:z.A(a.collection.name)}),c=c+z.A(z.al({ca:!0,vb:!!d,$b:!0,hb:!0,Ff:!0,href:(0,z.L)("https://twitter.com/"+z.Bh(a.collection.twitterUsername)),l:a.l,rel:"me",title:(0,z.M)(""+e),icon:(0,z.M)(""+z.A(z.yk(null)))},b));return(0,z.y)(c)}; | |
z.AE=function(a,b){var c=z.y;a=a.icon?(0,z.y)(z.A(z.Wk(z.D({icon:a.icon,text:(0,z.M)(""+z.A(ll())),xh:(0,z.M)(""+z.A(mea())),isPrimary:!a.nWa,Vn:!0,isActive:null==a.collection.virtuals?null:a.collection.virtuals.isSubscribed,action:"toggle-subscribe-collection",actionValue:a.collection.slug,nba:a.collection.id,Nb:!0,pk:!0,Le:(0,z.L)(""+z.F(Di(a,b))),source:(0,z.M)(""+z.A(z.zi({name:a.source,collectionId:a.collection.id,susiEntry:a.susiEntry}))),l:"button--followCollection js-followCollectionButton"}, | |
a),b))):(0,z.y)(z.A(z.Xk(z.D({text:(0,z.M)(""+(a.text?z.A(a.text):z.A(ll()))),xh:(0,z.M)(""+(a.xh?z.A(a.xh):z.A(mea()))),isPrimary:!0,Vn:!0,isActive:a.isActive||(null==a.collection.virtuals?null:a.collection.virtuals.isSubscribed),action:"toggle-subscribe-collection",actionValue:a.collection.slug,nba:a.collection.id,Nb:!0,pk:!0,Le:(0,z.L)(""+z.F(Di(a,b))),source:(0,z.M)(""+z.A(z.zi({name:a.source,collectionId:a.collection.id,susiEntry:a.susiEntry}))),gD:a.source,l:(0,z.M)((a.l?z.A(a.l)+" ":"")+"button--followCollection js-followCollectionButton")}, | |
a),b)));return c(a)};z.BE=function(a,b){var c="";if(a.Ju)var d=z.n("Home"),c=c+z.A(z.N({s:(0,z.M)(""+d),$b:!0,wj:a.isActive,href:(0,z.L)(""+z.F(z.Oi(a,b))),l:"js-homeNav"},b));else c+=z.A(z.N({s:a.oe.title,$b:!a.mI,Hu:a.mI,wj:a.isActive&&!a.mI,href:a.oe.url,hb:a.oe.type==b.j.Rg.zD,qc:!0,l:"js-navItemLink",rel:a.mI?"nofollow noopener":""},b));return(0,z.y)(c)};z.Iua=function(){return(0,z.y)("u-uiTextMedium u-fontSize14 u-inlineBlock u-textUppercase u-letterSpacing003 u-textColorNormal u-xs-paddingRight12 u-xs-marginRight0")}; | |
Jua=function(a){var b="",c=z.n("Share"),c='\x3cspan class\x3d"u-xs-hide"\x3e'+z.n("Share Friend Link")+'\x3c/span\x3e\x3cspan class\x3d"u-xs-show"\x3e'+c+"\x3c/span\x3e",c=(0,z.M)(c),b=b+z.A(z.BA({l:"u-paddingLeft8 u-paddingRight8 u-xs-paddingTop2 js-friendLinkShareButton",s:(0,z.M)(""+z.A(z.Uk({action:"show-share-community-link-popover",s:c,ca:!0},a)))}));return(0,z.y)(b)};z.Kua=function(a,b){return(0,z.y)(z.A(z.Bi({post:a.post,Tp:a.uniqueSlug,shareKey:a.shareKey,source:b.j.Ab.dK},0,b)))}; | |
z.Nua=function(a,b){var c=z.y,d='\x3cdiv class\x3d"'+z.E(z.pm({caption:"regular"}))+' js-friendLinkReaderNotice"\x3e\x3cdiv class\x3d"ui-caption u-flex"\x3e'+z.A(z.wk({l:"u-paddingTop10 u-marginRight4 u-flex0"}))+'\x3cdiv class\x3d"u-flex1"\x3e',e;a.meteringInfo&&0<a.meteringInfo.unlocksRemaining?(e=Lua(b)+"\x3cbr\x3e",a=a.meteringInfo.unlocksRemaining,b=1==a?"story":"stories",a=z.n("You can still read {$unlocksRemaining} more {$storyText} from your member preview.",{unlocksRemaining:z.A(a),storyText:z.A(b)})): | |
(e=Lua(b)+"\x3cbr\x3e",a=b.isAuthenticated?z.n("{$membershipLink} for unlimited access to the best of {$productName}.",{membershipLink:Mua({text:"Upgrade now"},b),productName:z.A(b.productName)}):z.n("{$membershipLink} about {$productName} membership — unlimited access to the best of {$productName}.",{membershipLink:Mua({text:"Learn"},b),productName:z.A(b.productName)}));a=(0,z.y)(""+a);e+=a;return c(d+e+"\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e")}; | |
Lua=function(a){a=z.n("This story is for {$productName} members, but the author gave you free access.",{productName:z.A(a.productName)});return(0,z.y)(""+a)};Mua=function(a,b){var c="";a=z.n("{$text}",{text:z.A(a.text)});c+=z.A(z.N({href:(0,z.L)(""+z.F((0,z.ri)(z.F(z.Ci(b,"SHOW_SUBSCRIPTIONS_LANDING"))))),s:(0,z.M)(""+a),eb:!0},b));return(0,z.y)(c)}; | |
z.CE=function(a,b){var c="",d=!(!a.jq||!a.collection.tintColor||a.collection.colorBehavior!=b.j.zk.mo),e=!!(a.lVa||!b.isAuthenticated&&a.collection.domain),g=a.MJ&&(null==a.collection.navItems?null:a.collection.navItems.length),k=!e&&b.useragent.isMobile&&!g,l=!k&&!a.e4,q=b.currentUser.userId!=a.collection.creatorId&&!(null==a.collection.virtuals?0:null==a.collection.virtuals.permissions?0:a.collection.virtuals.permissions.canManageAll),r=a.jq&&Qla(a.collection),t=a.jq&&Rla(a.collection),w="canEdit"== | |
a.mode&&a.shareKey&&!a.kGa,C={collection:a.collection,vb:r,XFa:a.oha},J="",Q=C.collection.id,R=C.collection.logo,S=""+z.F(z.Li({url:(0,z.L)(""+((null==C.collection?0:C.collection.slug)?z.F(z.Oi(C,b)):"")),source:(0,z.M)(""+z.A(z.zi({name:"logo",userId:b.currentUser.userId,collectionId:Q})))},b)),S=(0,z.L)(S),J=J+('\x3ca class\x3d"js-collectionLogoOrName u-uiTextBold u-fontSize18 u-lineHeightTightest u-xs-fontSize22" href\x3d"'+z.E(z.F(S))+'"\x3e');if(!C.XFa&&(null==R?0:R.imageId))var S=b.useragent.isMobile|| | |
b.isAmp?b.j.Up.g5:b.j.Up.f5,ba=b.useragent.isMobile||b.isAmp?b.j.Up.hja:b.j.Up.xz,Q=""+z.F(z.Li({url:(0,z.L)(""+z.F(z.Gj({image:R,maxHeight:S,maxWidth:ba},0,b))),source:(0,z.M)(""+z.A(z.zi({name:"logoAvatar",userId:b.currentUser.userId,collectionId:Q})))},b)),Q=(0,z.L)(Q),R=Fj(R,S,ba),J=J+(b.isAmp?'\x3camp-img height\x3d"'+z.E(S)+'" width\x3d"'+z.E(R)+'" src\x3d"'+z.E(z.F(Q))+'" alt\x3d"'+z.E(C.collection.name)+'" /\x3e':'\x3cimg height\x3d"'+z.E(S)+'" width\x3d"'+z.E(R)+'" class\x3d"u-paddingTop5" src\x3d"'+ | |
z.E(z.Eh(Q))+'" alt\x3d"'+z.E(C.collection.name)+'" /\x3e');else R="u-xs-noWrapWithEllipsis "+b.j.Up.ija+(C.vb?"":" u-textColorDark"),R=z.ph(R),J+='\x3cspan class\x3d"'+z.E(R)+'"\x3e'+z.A(C.collection.name)+"\x3c/span\x3e";C=""+(0,z.y)(J+"\x3c/a\x3e");C=(0,z.M)(C);J=b.useragent.isMobile||b.isAmp?b.j.Up.g5:b.j.Up.f5;J=(null==a.collection?0:null==a.collection.logo?0:a.collection.logo.imageId)?Fj(a.collection.logo,J,b.j.Up.xz):0;R=a.collection.id||a.collection.collectionId;R=""+(R?z.A(z.Bl({collection:a.collection, | |
source:(0,z.M)("avatar-"+z.A(b.currentUser.userId)+"-"+z.A(R))},b)):"");R=(0,z.M)(R);if(null==a.collection?0:a.collection.cloakedAt)var S="",Q=z.n("Only editors and writers can see it."),ba=z.n("{$name} is not yet publicly available.",{name:z.A(a.collection.name)}),X=z.n("{$name} is not yet publicly available. Only editors and writers can see it.",{name:z.A(a.collection.name)}),S=S+('\x3cdiv class\x3d"u-backgroundGrayLight u-height40 u-textColorDarker u-textAlignCenter u-sizeFullWidth u-alignMiddle u-xs-hide"\x3e'+ | |
z.A(z.zk({l:"u-verticalAlignMiddle u-marginRight5 u-heightAuto"}))+X+'\x3c/div\x3e\x3cdiv class\x3d"u-backgroundGrayLight u-height40 u-textColorDarker u-fontSize12 u-paddingLeft20 u-paddingRight20 u-clearfix u-xs-show"\x3e\x3cdiv class\x3d"u-floatLeft"\x3e\x3cdiv class\x3d"u-paddingTop5"\x3e'+ba+"\x3c/div\x3e\x3cdiv\x3e"+Q+"\x3c/div\x3e\x3c/div\x3e"+z.A(z.zk({l:"u-floatRight u-paddingTop10 u-heightAuto"}))+"\x3c/div\x3e"),S=(0,z.y)(S);else S=a.YR?z.A(a.YR):"";var S=""+S,Q=(0,z.y)(a.showBlacklistedPostIndicator|| | |
a.showBlacklistedCreatorIndicator?'\x3cdiv class\x3d"u-backgroundRed u-height40 u-textColorTransparentWhiteDarker u-textAlignCenter u-sizeFullWidth u-alignMiddle"\x3e'+(a.showBlacklistedCreatorIndicator?z.A(Gda({user:a.post.creator})):a.showBlacklistedPostIndicator?z.A(afa()):"")+"\x3c/div\x3e":""),ba=(0,z.M)(S+Q),S=""+(g?Oua({collection:a.collection,rba:Pla(a.collection.navItems,a.post||a.category),Qm:a.Qm&&!b.isAuthenticated},b):e||a.e4?"":z.A(z.BA({Pda:!0,l:"u-marginLeft20 u-flex1",s:C})))+(q&& | |
a.Cs&&!e?z.A(z.BA({Pda:!0,l:"u-marginRight20 u-marginLeft20 u-flex1 u-textAlignRight",s:(0,z.M)(""+z.A(z.Ez({collection:a.collection,qg:!0,D0:!0,susiEntry:b.j.qa.kz},0,b)))})):""),S=(0,z.M)(S),X=""+(!b.useragent.isMobile&&g?Oua({collection:a.collection,rba:Pla(a.collection.navItems,a.post||a.category),Qm:a.Qm&&!b.isAuthenticated},b):!b.useragent.isMobile||!g&&e?"":S?'\x3cdiv class\x3d"u-flex'+(d?"":" u-borderBottomLightest")+' u-xs-height39"\x3e'+z.A(S)+"\x3c/div\x3e":""),X=(0,z.M)(X),e=(0,z.M)(""+ | |
(X&&ba?" u-height145 u-xs-height139":X&&!ba?" u-height105 u-xs-height95":"")),w=""+(w?z.A(Jua(b)):"")+(a.Y3?z.A(a.Y3):""),g=""+z.A(koa({collection:a.collection,cQ:!0,q0:!(a.Qm&&(b.isAuthenticated||b.useragent.isMobile&&!S)),vb:r,la:t,l:"u-lineHeightInherit",pda:a.pD},b)),w=w+z.A(z.BA({s:(0,z.M)(g)})),g=a.mv,S=!a.mv&&d,Q=a.mv,Fa=a.pD;if(l)var Ra={vb:r},Ra=Ra||{},l="",Ra="u-inlineBlock u-height28 u-xs-height24 u-verticalAlignTop u-marginRight20 u-marginLeft15"+(Ra.vb?" u-borderRightTransparentWhiteLighter": | |
" u-borderRightLighter"),Ra=(0,z.M)(Ra),l=l+('\x3cspan class\x3d"'+z.E(Ra)+'"\x3e\x3c/span\x3e'),l=""+z.BA({s:(0,z.M)(l)}),l=(0,z.y)(l),l=z.A(l);else l="";c+=z.A(z.AA(z.D({Pm:!0,vb:r,la:t,W0:g,V0:S,pCa:Q,rea:d,GR:e,j_:ba,i_:X,dza:"u-height44",Dl:!0,$y:!0,pD:Fa,zi:(0,z.M)(""+l+(k||a.e4?"":z.A(z.BA({l:"u-marginRight18",s:(0,z.M)(""+(b.useragent.isMobile?!b.isAuthenticated&&a.collection.domain&&80>=J?z.A(C):z.A(R):z.A(C)))})))+(a.nha?z.A(z.BA({l:"u-marginRight18",s:a.nha})):"")+(a.Cs||a.a4?z.A(z.BA({l:"u-xs-hide", | |
s:(0,z.M)('\x3cdiv class\x3d"buttonSet"\x3e'+(q&&a.Cs&&!b.isAmp?z.A(z.Ez({collection:a.collection,qg:!0,D0:!0,susiEntry:b.j.qa.kz},0,b)):"")+(a.a4?z.A(z.Hua(a,b))+z.A(z.Gua({collection:a.collection,l:"u-paddingLeft0"},b)):"")+"\x3c/div\x3e")})):"")),Gg:(0,z.M)(w)},a),b));return(0,z.y)(c)}; | |
Oua=function(a,b){for(var c="",d=""+z.Iua()+" u-paddingTop5 u-xs-paddingTop10",d=z.ph(d),e="u-textAlignLeft u-noWrap u-overflowX u-paddingBottom100"+(a.Am?" u-flex1 u-marginRight20":"")+" u-sm-paddingLeft20 u-sm-paddingRight20 js-collectionNavItems",e=z.ph(e),c=c+('\x3cul class\x3d"'+z.E(e)+'"\x3e'+((null==a.collection.navItems?0:a.collection.navItems.length)?'\x3cli class\x3d"metabar-navItem js-collectionNavItem '+z.E(d)+'"\x3e'+z.A(z.BE({oe:[],isActive:!1,Ju:!0,collection:a.collection},b))+"\x3c/li\x3e": | |
"")),e=a.collection.navItems,g=e.length,k=0;k<g;k++)var l=e[k],q=l.type==b.j.Rg.zD,c=c+((q?'\x3cspan class\x3d"u-borderLeft1 u-paddingLeft12 u-baseColor--borderLight"\x3e\x3c/span\x3e':"")+'\x3cli class\x3d"metabar-navItem js-collectionNavItem '+(q?" u-paddingLeft0 is-external":"")+" "+z.E(d)+'"\x3e'+z.A(z.BE({oe:l,isActive:l==a.rba,mI:q},b))+"\x3c/li\x3e");(null==a.collection.navItems?0:a.collection.navItems.length)&&a.Qm&&(e=z.n("Search"),c+='\x3cli class\x3d"metabar-navItem js-collectionNavItem '+ | |
z.E(d)+'"\x3e'+z.A(z.al({$b:!0,ca:!0,href:(0,z.L)(""+z.F(Ri(a,b))),icon:(0,z.M)(""+z.A(z.uk(null))),title:(0,z.M)(""+e),l:"u-top1"},b))+"\x3c/li\x3e");return(0,z.y)(c+"\x3c/ul\x3e")}; | |
DE=function(a){var b="",c=""+(a.od?z.G(a.od)+" ":""),c=(0,z.Cj)(c),b=b+("\n"+z.G(c)+".u-accentColor--borderLight {border-color: "+z.G(a.nm)+" !important;}\n"+z.G(c)+".u-accentColor--borderNormal {border-color: "+z.G(a.kp)+" !important;}\n"+z.G(c)+".u-accentColor--borderDark {border-color: "+z.G(a.mm)+" !important;}\n"+z.G(c)+".u-accentColor--iconLight .svgIcon,"+z.G(c)+".u-accentColor--iconLight.svgIcon {fill: "+z.G(a.Cp)+" !important;}\n"+z.G(c)+".u-accentColor--iconNormal .svgIcon,"+z.G(c)+".u-accentColor--iconNormal.svgIcon {fill: "+ | |
z.G(a.fk)+" !important;}\n"+z.G(c)+".u-accentColor--iconDark .svgIcon,"+z.G(c)+".u-accentColor--iconDark.svgIcon {fill: "+z.G(a.ek)+" !important;}\n"+z.G(c)+".u-accentColor--textNormal {color: "+z.G(a.Ej)+" !important;}\n"+z.G(c)+".u-accentColor--hoverTextNormal:hover {color: "+z.G(a.Ej)+" !important;}\n"+z.G(c)+".u-accentColor--textNormal.u-accentColor--textDarken:hover {color: "+z.G(a.yg)+" !important;}\n"+z.G(c)+".u-accentColor--textDark {color: "+z.G(a.yg)+" !important;}\n"+z.G(c)+".u-accentColor--backgroundLight {background-color: "+ | |
z.G(a.pr)+" !important;}\n"+z.G(c)+".u-accentColor--backgroundNormal {background-color: "+z.G(a.lm)+" !important;}\n"+z.G(c)+".u-accentColor--backgroundDark {background-color: "+z.G(a.km)+" !important;}\n"+z.G(c)+".u-accentColor--buttonDark {border-color: "+z.G(a.mm)+" !important; color: "+z.G(a.yg)+" !important;}\n"+z.G(c)+".u-accentColor--buttonDark:hover {border-color: "+z.G(a.Zt)+" !important;}\n"+z.G(c)+".u-accentColor--buttonDark .icon:before,"+z.G(c)+".u-accentColor--buttonDark .svgIcon{color: "+ | |
z.G(a.ek)+" !important; fill: "+z.G(a.ek)+" !important;}\n"+z.G(c)+".u-accentColor--buttonNormal:not(.clapButton--largePill) {border-color: "+z.G(a.kp)+" !important; color: "+z.G(a.Ej)+" !important;}\n"+z.G(c)+".u-accentColor--buttonNormal:hover {border-color: "+z.G(a.mm)+" !important;}\n"+z.G(c)+".u-accentColor--buttonNormal .icon:before,"+z.G(c)+".u-accentColor--buttonNormal .svgIcon{color: "+z.G(a.fk)+" !important; fill: "+z.G(a.fk)+" !important;}\n"+z.G(c)+".u-accentColor--buttonNormal.button--filled .icon:before,"+ | |
z.G(c)+".u-accentColor--buttonNormal.button--filled .svgIcon{color: "+z.G(a.Oh)+" !important; fill: "+z.G(a.Oh)+" !important;}\n"+z.G(c)+".u-accentColor--buttonDark.button--filled,"+z.G(c)+".u-accentColor--buttonDark.button--withChrome.is-active,"+z.G(c)+".u-accentColor--fillWhenActive.is-active {background-color: "+z.G(a.km)+" !important; border-color: "+z.G(a.km)+" !important; color: "+z.G(a.Oh)+" !important; fill: "+z.G(a.Oh)+" !important;}\n"+z.G(c)+".u-accentColor--buttonNormal.button--filled:not(.clapButton--largePill),"+ | |
z.G(c)+".u-accentColor--buttonNormal.button--withChrome.is-active:not(.clapButton--largePill) {background-color: "+z.G(a.lm)+" !important; border-color: "+z.G(a.lm)+" !important; color: "+z.G(a.Oh)+" !important; fill: "+z.G(a.Oh)+" !important;}\n"+z.G(c)+".postArticle.is-withAccentColors .markup--user,"+z.G(c)+".postArticle.is-withAccentColors .markup--query {color: "+z.G(a.Ej)+" !important;}");return(0,z.Dj)(b)}; | |
EE=function(a){var b="",c=""+(a.od?z.G(a.od)+" ":""),c=(0,z.Cj)(c),b=b+("\n"+z.G(c)+".u-baseColor--borderLight {border-color: "+z.G(a.nm)+" !important;}\n"+z.G(c)+".u-baseColor--borderNormal {border-color: "+z.G(a.kp)+" !important;}\n"+z.G(c)+".u-baseColor--borderDark {border-color: "+z.G(a.mm)+" !important;}\n"+z.G(c)+".u-baseColor--iconLight .svgIcon,"+z.G(c)+".u-baseColor--iconLight.svgIcon {fill: "+z.G(a.Cp)+" !important;}\n"+z.G(c)+".u-baseColor--iconNormal .svgIcon,"+z.G(c)+".u-baseColor--iconNormal.svgIcon {fill: "+ | |
z.G(a.fk)+" !important;}\n"+z.G(c)+".u-baseColor--iconDark .svgIcon,"+z.G(c)+".u-baseColor--iconDark.svgIcon {fill: "+z.G(a.ek)+" !important;}\n"+z.G(c)+".u-baseColor--textNormal {color: "+z.G(a.Ej)+" !important;}\n"+z.G(c)+".u-baseColor--textNormal.u-baseColor--textDarken:hover {color: "+z.G(a.yg)+" !important;}\n"+z.G(c)+".u-baseColor--textDark {color: "+z.G(a.yg)+" !important;}\n"+z.G(c)+".u-baseColor--textDarker {color: "+z.G(a.ys)+" !important;}\n"+z.G(c)+".u-baseColor--backgroundLight {background-color: "+ | |
z.G(a.pr)+" !important;}\n"+z.G(c)+".u-baseColor--backgroundNormal {background-color: "+z.G(a.lm)+" !important;}\n"+z.G(c)+".u-baseColor--backgroundDark {background-color: "+z.G(a.km)+" !important;}\n"+z.G(c)+".u-baseColor--buttonLight {border-color: "+z.G(a.nm)+" !important; color: "+z.G(a.iv)+" !important;}\n"+z.G(c)+".u-baseColor--buttonLight:hover {border-color: "+z.G(a.nm)+" !important;}\n"+z.G(c)+".u-baseColor--buttonLight .icon:before,"+z.G(c)+".u-baseColor--buttonLight .svgIcon {color: "+ | |
z.G(a.Cp)+" !important; fill: "+z.G(a.Cp)+" !important;}\n"+z.G(c)+".u-baseColor--buttonDark {border-color: "+z.G(a.mm)+" !important; color: "+z.G(a.yg)+" !important;}\n"+z.G(c)+".u-baseColor--buttonDark:hover {border-color: "+z.G(a.Zt)+" !important;}\n"+z.G(c)+".u-baseColor--buttonDark .icon:before,"+z.G(c)+".u-baseColor--buttonDark .svgIcon {color: "+z.G(a.ek)+" !important; fill: "+z.G(a.ek)+" !important;}\n"+z.G(c)+".u-baseColor--buttonNormal {border-color: "+z.G(a.kp)+" !important; color: "+z.G(a.Ej)+ | |
" !important;}\n"+z.G(c)+".u-baseColor--buttonNormal:hover {border-color: "+z.G(a.mm)+" !important;}\n"+z.G(c)+".u-baseColor--buttonNormal .icon:before,"+z.G(c)+".u-baseColor--buttonNormal .svgIcon {color: "+z.G(a.fk)+" !important; fill: "+z.G(a.fk)+" !important;}\n"+z.G(c)+".u-baseColor--buttonDark.button--filled,"+z.G(c)+".u-baseColor--buttonDark.button--withChrome.is-active {background-color: "+z.G(a.km)+" !important; border-color: "+z.G(a.km)+" !important; color: "+z.G(a.Oh)+" !important; fill: "+ | |
z.G(a.Oh)+" !important;}\n"+z.G(c)+".u-baseColor--buttonNormal.button--filled,"+z.G(c)+".u-baseColor--buttonNormal.button--withChrome.is-active {background-color: "+z.G(a.lm)+" !important; border-color: "+z.G(a.lm)+" !important; color: "+z.G(a.Oh)+" !important; fill: "+z.G(a.Oh)+" !important;}\n"+z.G(c)+".u-baseColor--link {color: "+z.G(a.Ej)+" !important;}\n"+z.G(c)+".u-baseColor--link.link--darkenOnHover:hover {color: "+z.G(a.yg)+" !important;}\n"+z.G(c)+".u-baseColor--link.link--darken:hover,"+ | |
z.G(c)+".u-baseColor--link.link--darken:focus,"+z.G(c)+".u-baseColor--link.link--darken:active {color: "+z.G(a.yg)+" !important;}\n"+z.G(c)+".u-baseColor--link.link--dark {color: "+z.G(a.yg)+" !important;}\n"+z.G(c)+".u-baseColor--link.link--dark.link--darken:hover,"+z.G(c)+".u-baseColor--link.link--dark.link--darken:focus,"+z.G(c)+".u-baseColor--link.link--dark.link--darken:active {color: "+z.G(a.ys)+" !important;}\n"+z.G(c)+".u-baseColor--link.link--darker {color: "+z.G(a.ys)+" !important;}\n"+ | |
z.G(c)+".u-baseColor--placeholderNormal ::-webkit-input-placeholder {color: "+z.G(a.iv)+";}\n"+z.G(c)+".u-baseColor--placeholderNormal ::-moz-placeholder {color: "+z.G(a.iv)+";}\n"+z.G(c)+".u-baseColor--placeholderNormal :-ms-input-placeholder {color: "+z.G(a.iv)+";}\n"+z.G(c)+".svgIcon--logoNew path:nth-child(1) {stroke: none !important; fill: "+z.G(a.s1)+" !important;}\n"+z.G(c)+".svgIcon--logoNew path:nth-child(2) {stroke: none !important; fill: "+z.G(a.r1)+" !important;}\n"+z.G(c)+".svgIcon--logoNew path:nth-child(3) {stroke: none !important; fill: "+ | |
z.G(a.o1)+" !important;}\n"+z.G(c)+".svgIcon--logoNew path:nth-child(4) {stroke: none !important; fill: "+z.G(a.q1)+" !important;}\n"+z.G(c)+".svgIcon--logoWordmark {stroke: none !important; fill: "+z.G(a.yg)+" !important;}\n"+z.G(c)+".svgIcon--logoMonogram {stroke: none !important; fill: "+z.G(a.yg)+" !important;}\n"+z.G(c)+" .ui-h1,"+z.G(c)+" .ui-h2,"+z.G(c)+" .ui-h3,"+z.G(c)+" .ui-h4,"+z.G(c)+" .ui-brand1,"+z.G(c)+" .ui-brand2,"+z.G(c)+" .ui-captionStrong {color: "+z.G(a.ys)+" !important; fill: "+ | |
z.G(a.ys)+" !important;}\n"+z.G(c)+" .ui-body,"+z.G(c)+" .ui-caps {color: "+z.G(a.yg)+" !important; fill: "+z.G(a.yg)+" !important;}\n"+z.G(c)+" .ui-summary,"+z.G(c)+" .ui-caption {color: "+z.G(a.iv)+" !important; fill: "+z.G(a.iv)+" !important;}");return(0,z.Dj)(b)}; | |
z.GE=function(a){var b="",c=""+(a.od?z.G(a.od)+" ":""),c=(0,z.Cj)(c),b=b+("\n"+z.G(c)+".u-accentColor--highlightFaint {background-color: "+z.G(a.eQ)+" !important;}\n"+z.G(c)+".u-accentColor--highlightStrong.is-active .svgIcon {fill: "+z.G(a.hC)+" !important;}"+FE({OC:(0,z.Cj)(z.G(c)+".markup--quote.is-other"),color:a.eQ})+FE({OC:(0,z.Cj)(z.G(c)+".markup--quote.is-me"),color:a.r0})+FE({OC:(0,z.Cj)(z.G(c)+".markup--quote.is-targeted"),color:a.hC})+FE({OC:(0,z.Cj)(z.G(c)+".markup--quote.is-selected"), | |
color:a.hC})+FE({OC:(0,z.Cj)(z.G(c)+".markup--highlight"),color:a.hC}));return(0,z.Dj)(b)};FE=function(a){return(0,z.Dj)("\n.postArticle.is-withAccentColors "+z.G(a.OC)+" {background-color: "+z.G(a.color)+" !important;}\nbody.is-withMagicUnderlines .postArticle.is-withAccentColors "+z.G(a.OC)+" {background-color: transparent !important; background-image: linear-gradient(to bottom, "+z.G(a.color)+", "+z.G(a.color)+");}")}; | |
z.HE=function(a){a=a||{};var b;if(a.hj){b=a||{};var c="",d=""+z.G(z.ww(b.hj.backgroundColor)),d=(0,z.Cj)(d),c=c+z.G(DE({od:b.od,Oh:d,nm:"#"+z.xw(b.hj,0),kp:"#"+z.xw(b.hj,0),mm:"#"+z.xw(b.hj,.2),Zt:"#"+z.xw(b.hj,.3),Cp:"#"+z.xw(b.hj,0),fk:"#"+z.xw(b.hj,0),ek:"#"+z.xw(b.hj,.2),Ej:"#"+z.xw(b.hj,.2),yg:"#"+z.xw(b.hj,.3),pr:"#"+z.xw(b.hj,0),lm:"#"+z.xw(b.hj,0),km:"#"+z.xw(b.hj,.2)}));b=(0,z.Dj)(c);b=z.G(b)}else b="";if(a.rd)var c=a||{},d="",e=""+(c.od?z.G(c.od)+" ":""),e=(0,z.Cj)(e),g=z.G(e)+".u-tintSpectrum", | |
g=(0,z.Cj)(g),k=""+z.G(z.ww(c.rd.backgroundColor)),k=(0,z.Cj)(k),l=""+z.G(Ola(c.rd.backgroundColor)),l=(0,z.Cj)(l),d=d+((c.rd.backgroundColor?z.G(e)+".u-tintBgColor {background-color: "+z.G(k)+" !important;}"+z.G(e)+".u-tintBgColor .u-fadeLeft:before {background-image: linear-gradient(to right, "+z.G(k)+" 0%, "+z.G(l)+" 100%) !important;}"+z.G(e)+".u-tintBgColor .u-fadeRight:after {background-image: linear-gradient(to right, "+z.G(l)+" 0%, "+z.G(k)+" 100%) !important;}":"")+z.G(EE({od:g,Oh:k,nm:"#"+ | |
z.xw(c.rd,.5),kp:"#"+z.xw(c.rd,.7),mm:"#"+z.xw(c.rd,.9),Zt:"#"+z.xw(c.rd,1),Cp:"#"+z.xw(c.rd,.5),fk:"#"+z.xw(c.rd,.7),ek:"#"+z.xw(c.rd,.9),iv:"#"+z.xw(c.rd,.5),Ej:"#"+z.xw(c.rd,.7),yg:"#"+z.xw(c.rd,1),ys:"#"+z.xw(c.rd,1),pr:"#"+z.xw(c.rd,.5),lm:"#"+z.xw(c.rd,.7),km:"#"+z.xw(c.rd,.9),s1:"#"+z.xw(c.rd,.2),r1:"#"+z.xw(c.rd,.3),o1:"#"+z.xw(c.rd,.5),q1:"#"+z.xw(c.rd,.7)}))+z.G(DE({od:g,Oh:k,nm:"#"+z.xw(c.rd,.5),kp:"#"+z.xw(c.rd,.7),mm:"#"+z.xw(c.rd,.9),Zt:"#"+z.xw(c.rd,1),Cp:"#"+z.xw(c.rd,.5),fk:"#"+z.xw(c.rd, | |
.7),ek:"#"+z.xw(c.rd,.9),Ej:"#"+z.xw(c.rd,.7),yg:"#"+z.xw(c.rd,1),pr:"#"+z.xw(c.rd,.5),lm:"#"+z.xw(c.rd,.7),km:"#"+z.xw(c.rd,.9)}))),c=(0,z.Dj)(d),c=z.G(c);else c="";b+=c;a.highlightSpectrum?(a=a||{},a=(0,z.Dj)(z.GE({od:a.od,eQ:yw(a.highlightSpectrum,.1),r0:yw(a.highlightSpectrum,.6),hC:yw(a.highlightSpectrum,1)})),a=z.G(a)):a="";return(0,z.Dj)(b+a)}; | |
Pua=function(a,b,c){b=z.y;var d=a.count,e=z.n("Followers"),e=(0,z.M)(""+z.A(z.B(""+e)));a=(0,z.y)(a.nC?'\x3cli class\x3d"menu-item"\x3e'+z.A(z.Uk({ca:!0,s:(0,z.M)('\x3csmall class\x3d"menu-label"\x3e'+z.A(e)+'\x3c/small\x3e\x3cdiv class\x3d"linePlaceholder linePlaceholder--word linePlaceholder--padded linePlaceholder--center"\x3e\x3c/div\x3e')},c))+"\x3c/li\x3e":d?'\x3cli class\x3d"menu-item '+z.E("js-socialMenuFollowers")+'" title\x3d"'+z.E(e)+": "+z.E(z.Kh(Number(d)))+'"\x3e'+z.A(z.Uk({action:"show-follow-list", | |
actionValue:"followers",ca:!0,s:(0,z.M)('\x3csmall class\x3d"menu-label"\x3e'+z.A(e)+"\x3c/small\x3e"+z.A(z.Mh(Number(d))))},c))+"\x3c/li\x3e":"");return b(a)}; | |
z.IE=function(a,b){var c=a.memberAt,d=a.l,e=z.y;a='\x3cdiv class\x3d"ui-caption u-textColorGreenNormal u-fontSize13'+(a.Jh?"":" u-tintSpectrum u-accentColor--textNormal")+(d?" "+z.E(d):"")+'"\x3e';c=c||Date.now();b=z.n("{$productName} member since {$memberAt}",{productName:""+b.productName,memberAt:""+z.Rh(Number(c),"%b %Y")});return e(a+z.A(z.B(""+b))+"\x3c/div\x3e")}; | |
z.JE=function(a,b,c){b=a.ib;var d=a.Bd,e=a.Db,g=a.source,k=a.susiEntry,l=a.hd,q=a.rf,r="",t=c.isAuthenticated&&c.currentUser.userId==a.user.userId,w="u-block u-paddingBottom18"+(1<b?" u-paddingTop18":"")+(a.KJ?" u-borderTopLightest":"")+" js-cardUser",w=(0,z.M)(w),r=r+('\x3cli class\x3d"'+z.E(z.pm({Xa:"small",caption:"regular"}))+" "+z.E(w)+'"\x3e'+(e||t||c.isAmp?"":'\x3cdiv class\x3d"u-marginLeft20 u-floatRight"\x3e'+z.A(z.om({Db:!0,isPrimary:!0,user:a.user,source:g,susiEntry:k,hd:l},c))+"\x3c/div\x3e")+ | |
'\x3cdiv class\x3d"u-tableCell"\x3e'+z.A(z.Ul(z.D({user:a.user,Bd:d,ib:b,Ge:!0,ry:z.Xl(a.user)},a),c))+'\x3c/div\x3e\x3cdiv class\x3d"u-tableCell u-verticalAlignMiddle u-breakWord u-paddingLeft15"\x3e\x3ch3 class\x3d"ui-h3 u-fontSize18 u-lineHeightTighter'+(z.Xl(a.user)?"":" u-marginBottom4")+(e?" u-fontSize16":"")+'"\x3e'+(q?"\x3cspan\x3e"+z.A(a.user.name)+"\x3c/span\x3e":z.A(z.fl({user:a.user,collection:a.collection,isPrimary:!0,Ge:!0,fR:"cc:attributionName",rel:"author cc:attributionUrl",Bd:d, | |
ib:b},c)))+"\x3c/h3\x3e"+(z.Xl(a.user)?z.A(z.IE({memberAt:a.user.mediumMemberAt,l:"u-marginBottom7"},c)):"")+(a.user.bio?'\x3cp class\x3d"ui-body u-fontSize14 u-lineHeightBaseSans u-textColorDark u-marginBottom4"\x3e'+z.A(z.el(String(a.user.bio)))+"\x3c/p\x3e":"")+(e&&!t?'\x3cdiv class\x3d"buttonSet"\x3e'+z.A(z.om({Db:!0,isPrimary:!0,user:a.user,collection:a.collection,source:g,gD:g,susiEntry:k,hd:l},c))+"\x3c/div\x3e":"")+"\x3c/div\x3e\x3c/li\x3e");return(0,z.y)(r)}; | |
z.KE=function(a,b,c){b=a.bUa;var d=a.Db,e=a.source,g=a.susiEntry,k=a.rf,l=a.zTa,q="",r="u-block u-paddingBottom18"+(1<a.ib?" u-paddingTop18":"")+(a.KJ?" u-borderTopLightest":"")+" js-cardCollection",r=(0,z.M)(r),q=q+('\x3cli class\x3d"'+z.E(z.pm({Xa:"small",caption:"regular"}))+" "+z.E(r)+'"\x3e'+(d||c.isAmp?"":'\x3cdiv class\x3d"u-marginLeft20 u-floatRight"\x3e'+z.A(z.Ez({collection:a.collection,isPrimary:!0,Db:!0,ld:!0,susiEntry:g},0,c))+"\x3c/div\x3e")+'\x3cdiv class\x3d"u-tableCell "\x3e'+z.A(z.Kfa(a, | |
c))+'\x3c/div\x3e\x3cdiv class\x3d"u-tableCell u-verticalAlignMiddle u-breakWord u-paddingLeft15"\x3e\x3ch3 class\x3d"ui-h3 u-fontSize18 u-lineHeightTighter u-marginBottom4'+(d?" u-fontSize16":"")+'"\x3e'+(k?"\x3cspan\x3e"+z.A(a.collection.name)+"\x3c/span\x3e":z.A(z.jl(z.D({rel:"collection",isPrimary:!0},a),c)))+"\x3c/h3\x3e"+(a.collection.description?'\x3cp class\x3d"ui-body u-fontSize14 u-lineHeightBaseSans u-textColorDark u-marginBottom4"\x3e'+z.A(z.Hu(String(a.collection.description),c))+"\x3c/p\x3e": | |
"")+(l?z.A(l):"")+'\x3cdiv class\x3d"buttonSet"\x3e'+(b?z.A(b):d?z.A(z.AE({collection:a.collection,Db:!0,source:e,susiEntry:g},c)):"")+"\x3c/div\x3e\x3c/div\x3e\x3c/li\x3e");return(0,z.y)(q)}; | |
z.LE=function(a,b){var c=a.title,d=a.subtitle,e=a.xj,g=a.source,k=a.hd,l=a.Cs,q="",r=z.n("Go to {$name}",{name:z.A(a.collection.name)}),t=z.n("Go to {$name}",{name:z.E(a.collection.name)}),w=""+z.F(z.Aj(z.D({strategy:"crop-fixed",width:60,height:60},a.collection.image),0,b)),w=(0,z.L)(w),q=q+('\x3cdiv class\x3d"infoCard u-clearfix js-infoCardCollection'+(e?" infoCard--padded":"")+'"\x3e\x3cdiv class\x3d"infoCard-avatar"\x3e'+z.A(z.N({title:(0,z.M)("Go to "+z.A(a.collection.name)),href:(0,z.L)(""+ | |
z.F(z.Oi(a,b))),s:(0,z.M)('\x3cimg class\x3d"u-width60 u-height60 u-backgroundColorWhite" alt\x3d"'+z.qh(t)+'" src\x3d"'+z.E(z.Eh(w))+'" /\x3e'),source:"footer",l:"js-collectionLogoOrName"},b))+"\x3c/div\x3e"),d=d?d:a.collection.description,q=q+('\x3cdiv class\x3d"infoCard-info '+(d?"":" infoCard-info--short")+'"\x3e\x3cdiv class\x3d"infoCard-wrapper"\x3e'+(c?'\x3cdiv class\x3d"infoCard-title u-textColorNormal u-fontSize11"\x3e'+z.A(c)+"\x3c/div\x3e":"")+z.A(z.N({s:a.collection.name,title:(0,z.M)(""+ | |
r),href:(0,z.L)(""+z.F(z.Oi(a,b))),source:"footer",isPrimary:!0,gf:!0,l:"js-collectionLogoOrName"},b))+(d?'\x3cdiv class\x3d"infoCard-bio u-fontSize14 u-textColorNormal"\x3e'+z.A(z.el(String(d)))+"\x3c/div\x3e":"")+"\x3c/div\x3e\x3c/div\x3e"+(l?'\x3cdiv class\x3d"infoCard-actions u-xs-hide"\x3e'+z.A(z.AE({Db:!0,collection:a.collection,source:g,hd:k},b))+"\x3c/div\x3e":"")+"\x3c/div\x3e");return(0,z.y)(q)}; | |
z.ME=function(a,b){var c=!!a.tI,d=a.source,e="",g=null==a.post.inResponseToMediaResource?null:null==a.post.inResponseToMediaResource.mediumQuote?null:a.post.inResponseToMediaResource.mediumQuote.quote,k=(null==g?null:g.post)||a.post.inResponseToPost;a.post.inResponseToRemovedAt||!k||!g&&c?a.post.inResponseToMediaResource&&!k&&(b=z.n("This story is unavailable."),e+='\x3cdiv class\x3d"'+z.E(Qua())+'"\x3e\x3cdiv class\x3d"u-clearfix u-textColorNormal js-orphanedResponseCard"\x3e'+b+"\x3c/div\x3e\x3c/div\x3e"): | |
(c=""+z.F(z.Bi({post:k,quote:g,source:d},0,b)),c=(0,z.L)(c),c='\x3ca href\x3d"'+z.E(z.F(c))+'"\x3e',a=z.D({parent:k,quote:g},a),g=!!a.tI,k=a.iFa,b=(0,z.y)('\x3cdiv class\x3d"'+z.E(Qua())+'"\x3e'+(a.quote?'\x3cdiv class\x3d"label label--quote u-accentColor--highlightFaint"\x3e'+(k?z.A(z.Gu(a.quote)):z.A(z.Fh(z.Gu(a.quote),185)))+"\x3c/div\x3e":"")+(g?"":'\x3cdiv class\x3d"u-clearfix'+(a.quote?" u-marginTop10":"")+'"\x3e\x3cdiv class\x3d"u-width70pct u-floatLeft"\x3e\x3cdiv class\x3d"u-textDarker u-noWrapWithEllipsis"\x3e'+ | |
z.A(a.parent.title)+'\x3c/div\x3e\x3cdiv class\x3d"u-textColorNormal"\x3e'+z.A(a.parent.creator.name)+'\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"u-floatRight"\x3e'+z.A(z.hm({post:a.parent},b))+"\x3c/div\x3e\x3c/div\x3e")+"\x3c/div\x3e"),e+=c+b+"\x3c/a\x3e");return(0,z.y)(e)};Qua=function(){return(0,z.y)("u-fontSize14 u-marginTop10 u-marginBottom20 u-padding14 u-xs-padding12 u-borderRadius3 u-borderCardBackground u-borderLighterHover u-boxShadow1px4pxCardBorder")}; | |
z.NE=function(a,b){a=a||{};var c=z.y;a={colorPalette:null==a.collection?null:a.collection.colorPalette,od:a.od};var d;a=a||{};d=b||{};b=z.y;var e='\x3cstyle class\x3d"js-collectionStyle"'+(d.Aa?' nonce\x3d"'+d.Aa+'"':"")+"\x3e"+z.HE({hj:null==a.colorPalette?null:a.colorPalette.defaultBackgroundSpectrum,rd:null==a.colorPalette?null:a.colorPalette.tintBackgroundSpectrum,highlightSpectrum:null==a.colorPalette?null:a.colorPalette.highlightSpectrum,od:a.od}),g;if(a.colorPalette){g="";var k=yw(d.j.gca, | |
.5);g+=".u-baseColor--iconNormal.avatar-halo {fill: "+z.G(k)+" !important;}";g=(0,z.Dj)(g)}else g="";e=e+g+'\x3c/style\x3e\x3cstyle class\x3d"js-collectionStyleConstant"'+(d.Aa?' nonce\x3d"'+d.Aa+'"':"")+"\x3e";g=g={td:d.j.eBa,od:a.od};var k="",l=""+(g.od?z.G(g.od)+" ":""),l=(0,z.Cj)(l),q=z.G(l)+".u-imageSpectrum",q=(0,z.Cj)(q),r=""+z.G(z.ww(g.td.backgroundColor)),r=(0,z.Cj)(r),k=k+((g.td.backgroundColor?z.G(l)+".u-imageBgColor {background-color: "+z.G(r)+";}":"")+z.G(EE({od:q,Oh:r,nm:yw(g.td,.7), | |
kp:yw(g.td,.9),mm:yw(g.td,.95),Zt:yw(g.td,1),Cp:yw(g.td,.8),fk:yw(g.td,.95),ek:yw(g.td,1),iv:yw(g.td,.8),Ej:yw(g.td,.95),yg:yw(g.td,1),ys:yw(g.td,1),pr:yw(g.td,.9),lm:yw(g.td,.95),km:yw(g.td,1),s1:yw(g.td,.4),r1:yw(g.td,.5),o1:yw(g.td,.7),q1:yw(g.td,.9)}))+z.G(DE({od:q,Oh:r,nm:yw(g.td,.7),kp:yw(g.td,.9),mm:yw(g.td,.95),Zt:yw(g.td,1),Cp:yw(g.td,.8),fk:yw(g.td,.95),ek:yw(g.td,1),Ej:yw(g.td,.95),yg:yw(g.td,1),pr:yw(g.td,.9),lm:yw(g.td,.95),km:yw(g.td,1)}))+z.G(z.GE({od:q,eQ:yw(g.td,.2),r0:yw(g.td,.4), | |
hC:yw(g.td,.6)})));g=(0,z.Dj)(k);e+=z.G(g);a=a={lg:d.j.gca,hm:d.j.Hza,od:a.od};d="";g=""+(a.od?z.G(a.od)+" ":"");g=(0,z.Cj)(g);g=z.G(g)+".u-resetSpectrum";g=(0,z.Cj)(g);k=""+z.G(z.ww(a.lg.backgroundColor));k=(0,z.Cj)(k);l=""+z.G(Ola(a.lg.backgroundColor));l=(0,z.Cj)(l);d+=(a.lg.backgroundColor?z.G(g)+" .u-tintBgColor {background-color: "+z.G(k)+" !important;}"+z.G(g)+" .u-tintBgColor .u-fadeLeft:before {background-image: linear-gradient(to right, "+z.G(k)+" 0%, "+z.G(l)+" 100%) !important;}"+z.G(g)+ | |
" .u-tintBgColor .u-fadeRight:after {background-image: linear-gradient(to right, "+z.G(l)+" 0%, "+z.G(k)+" 100%) !important;}":"")+z.G(EE({od:g,Oh:k,nm:yw(a.lg,.3),kp:yw(a.lg,.5),mm:yw(a.lg,.6),Zt:yw(a.lg,.8),Cp:yw(a.lg,.3),fk:yw(a.lg,.5),ek:yw(a.lg,.6),iv:yw(a.lg,.3),Ej:yw(a.lg,.5),yg:yw(a.lg,.6),ys:yw(a.lg,.8),pr:yw(a.lg,.1),lm:yw(a.lg,.2),km:yw(a.lg,.3),s1:yw(a.lg,.2),r1:yw(a.lg,.3),o1:yw(a.lg,.4),q1:yw(a.lg,.5)}))+z.G(DE({od:g,Oh:k,nm:yw(a.hm,0),kp:yw(a.hm,0),mm:yw(a.hm,.1),Zt:yw(a.hm,.2),Cp:yw(a.hm, | |
0),fk:yw(a.hm,.1),ek:yw(a.hm,.2),Ej:yw(a.hm,.1),yg:yw(a.hm,.2),pr:yw(a.hm,0),lm:yw(a.hm,.1),km:yw(a.hm,.2)}));a=(0,z.Dj)(d);b=b(e+z.G(a)+"\x3c/style\x3e");return c(z.A(b))}; | |
z.OE=function(a,b){var c=z.y;b.variants.dont_track_user||b.isDnt||!a.collection.domain?b="":z.Bu(a.collection,b.j.Hs.Cja)?(a=a.collection.domain,b=b||{},b=(0,z.y)('\x3cdiv id\x3d"parsely-root" style\x3d"'+(b.Aa?"/*"+b.Aa+"*/":"")+'display: none"\x3e\x3cspan id\x3d"parsely-cfg" data-parsely-site\x3d"'+z.E(a)+'"\x3e\x3c/span\x3e\x3c/div\x3e\x3cscript'+(b.Aa?' nonce\x3d"'+b.Aa+'"':"")+'\x3e(function(s, p, d) {var h\x3dd.location.protocol, i\x3dp+"-"+s, e\x3dd.getElementById(i), r\x3dd.getElementById(p+"-root"), u\x3dh\x3d\x3d\x3d"https:"?"d1z2jf7jlzjs58.cloudfront.net" :"static."+p+".com"; if (e) return; e \x3d d.createElement(s); e.id \x3d i; e.async \x3d false; e.src \x3d h+"//"+u+"/p.js"; r.appendChild(e);})("script", "parsely", document);\x3c/script\x3e')): | |
b="";return c(b)};PE=function(a){z.Sm.call(this);this.X=a;this.U=a.get("route-builder");this.xa=a.get("app");this.Z=a.get("request");this.ka=a.get("model-store");this.Ba=a.get("model-request");this.ha=a.get("butter-bar");this.pa=a.get("dialog")};Rua=function(a,b,c){c&&b?(b=z.u(QE(a,b,c,"PENDING"),a.lZ,a),a=a.pa,c=z.n("An error occurred. Please try submitting again."),c=(0,z.y)(""+c),b=z.v(b,z.sz(a,c))):b=null;return b}; | |
Sua=function(a,b,c){return c&&b?z.v(z.u(QE(a,b,c,"APPROVED"),function(a){this.lZ(a);RE(this,c,Bfa)},a),z.sz(a.pa,Gfa())):null};Tua=function(a,b,c){return z.v(z.u(QE(a,b,c,"REMOVED"),function(a){this.lZ(a);a=this.ka.Ja(b);z.I(a,"homeCollectionId","");z.I(a,"homeCollection",null);z.I(a,"approvedHomeCollectionId","");z.I(a,"approvedHomeCollection",null);z.I(a.ak(),"statusForCollection","");z.ZC(this.ka,a);RE(this,c,Cfa)},a),z.sz(a.pa,Hfa()))}; | |
RE=function(a,b,c){if(b=a.ka.Kb(b))c=z.Bw(c,{collectionName:b.name,collectionSlug:b.slug}),a.ha.ba(c,"success")};QE=function(a,b,c,d){var e=a.ka.Kb(c);if(!e)return null;var e=a.U.R(Uua,{postId:b,collectionSlug:e.slug}),g={postStatus:d,editorComment:void 0},k=Vua(a,b,c);return z.u(a.Z.put(e,g),function(){var e=a.ka.Kb(c);e&&z.dy(Wua,{collectionId:c,collectionSlug:e.slug,fromStatus:k,postId:b,toStatus:d})})}; | |
Vua=function(a,b,c){return(a=a.ka.Ja(b))&&a.homeCollectionId==c?a.virtuals.statusForCollection||null:null};z.SE=function(a,b){z.O.call(this);this.xa=a.get("app");this.ka=a.get("model-store");this.qb=a.get("list-store");this.Ba=a.get("model-request");this.pa=a.get("dialog");this.ma=a.get("popover");this.Z=a.get("request");this.U=a.get("route-builder");this.ha=a.get("butter-bar");this.bb=b;this.EE=new PE(a);this.za=a.get("screen");this.Wa=a.get("screen-service")}; | |
Xua=function(a,b,c){var d=!0,e,g=z.gD(a.qb),k=Rta(g,c);-1!=k?e=z.BD(g,k):(d=!1,g=hD(a.qb),c=Rta(g,c),-1!=c&&(e=z.BD(g,c)));b=b.query(".js-sendToCollectionActions");z.Cw(b,Jga,{collection:e,isPublished:!!a.ka.Ja(a.bb).latestPublishedVersion,isEditor:d,XBa:!!e&&z.rr().userId==e.creatorId})}; | |
z.TE=function(a,b,c){z.O.call(this);this.Z=a.get("request");this.lb=a.get("dom-monitor");this.be=b;this.IA=z.gC(b.querySelector(".js-postField"));this.W=c;this.kt=this.M8=0;this.sN=null;this.U=a.get("route-builder");this.V6=z.dn(Yua,this.C$,this)}; | |
Zua=function(a){var b=a.IA[a.kt];if(!b)return b="Cannot find paragraph "+a.kt+" of "+a.IA.length,a.IA=z.gC(a.be.querySelector(".js-postField")),a.kt=z.re(a.kt,0,a.IA.length),z.xx(b),null;var c=new z.su(a.W),d=Oja(c,a.kt),c=c.QP(),d=(0,window.parseFloat)((d/c).toFixed(2)),c=b.getAttribute("name");z.Og(a.be,b)||(b=z.gt(a.be,c));return(b=(b=b&&z.cC(b,a.be))&&b.getAttribute("name"))?{versionId:a.W.PB(),sectionName:b,paragraphName:c,readPercentage:d}:null}; | |
z.UE=function(a,b){z.pB.call(this,a);this.xa=a.get("app");this.za=a.get("screen");this.Vva=a.get("scroll-tracker");this.ka=a.get("model-store");this.R9={};this.T9={};this.S9={};this.wxa=b||!1};$ua=function(a,b,c){a=a.ka.Ja(b);return!!(a&&a.previewContent&&a.previewContent.isFullContent||"postPage"==(c||""))};ava=function(a,b){return(a=a.ka.Ja(b))?z.H(a,"approvedHomeCollectionId"):""};bva=function(a,b){return(a=a.ka.Ja(b))?a.pj():""}; | |
eva=function(a,b,c){b=z.y;var d='\x3cdiv class\x3d"u-textAlignCenter u-width640 js-postPublishedConfirmationDialog"\x3e'+(0,z.y)(z.A(z.Wk({action:"cancel",icon:(0,z.M)(""+z.A(z.tk())),ca:!0,oC:!0},c))),e;e="";var g=z.n("Your story is published!");e+='\x3cdiv class\x3d"'+z.E(z.pm({Xa:"regular",caption:"regular"}))+' u-marginTop50"\x3e\x3ch2 class\x3d"ui-h1"\x3e'+g+'\x3c/h2\x3e\x3cp class\x3d"ui-body u-marginTop5 u-marginBottom0 js-subheader"\x3e\x3cspan class\x3d"u-textColorDark"\x3e';g=c.variants.enable_prepublish_flow_2_unlisted&& | |
a.post.visibility==c.j.ob.ed?z.n("Your unlisted story will not appear publicly{$startBreak}on {$productName}, but you can still share it.",{startBreak:"\x3cbr\x3e",productName:z.A(c.productName)}):z.n("Now share it with the world");e+=g;e=(0,z.y)(e+"\x3c/span\x3e\x3c/p\x3e\x3c/div\x3e");d+=e;g=a||{};e=z.y;var k="",l=z.n("Share to Twitter"),k=k+z.A(z.Uk({ld:!0,action:"share-on-twitter",s:(0,z.M)(""+l),l:"button--twitter u-block u-sizeFullWidth u-border0"},c)),k='\x3cdiv class\x3d"u-width220 u-marginTop20 u-marginBottom40 u-marginAuto"\x3e'+ | |
(0,z.y)(k),l="",q=z.n("Share to Facebook"),l=l+z.A(z.Uk({ld:!0,action:"share-on-facebook",s:(0,z.M)(""+q),l:"button--facebook u-block u-sizeFullWidth u-marginTop10 u-border0"},c)),l=(0,z.y)(l),k=k+l,l=g.uniqueSlug,q="",r=z.n("Copy story link"),q=q+(cva({value:(0,z.L)(""+z.F(z.Bi({post:g.post,collection:g.post.homeCollection,Tp:l},0,c))),Md:"js-storyLinkInput"})+z.A(z.Uk({action:"copy-story-link",s:(0,z.M)('\x3cspan class\x3d"js-copyStoryLinkCta"\x3e'+r+'\x3c/span\x3e\x3cspan class\x3d"u-flex u-justifyContentCenter u-alignItemsCenter u-hide u-textColorGreenNormal js-copiedStoryLinkNotice"\x3e'+ | |
dva()+"\x3c/span\x3e"),l:"u-block u-sizeFullWidth u-marginTop10"},c))),g=(0,z.y)(q);e=e(k+g+"\x3c/div\x3e");d+=e;c.variants.enable_prepublish_flow_2_unlisted&&a.post.visibility==c.j.ob.ed||!c.currentUser.isWriterProgramEnrolled?c="":(e=a||{},g=e.shareKey,a="",k=z.n("A note from our curators"),l=z.n("best practices"),l=""+z.A(z.N({s:(0,z.M)(""+l),href:(0,z.L)(""+z.F(z.Vi())),hb:!0,eb:!0},c)),l=(0,z.M)(l),l=z.n("We look forward to reviewing your story for our {$bestPracticesLink}. If we select your story, we’ll email you to let you know, and we’ll distribute it to interested readers across {$productName} through our metered paywall. You can use the Friend Link below to give anyone free access.", | |
{bestPracticesLink:z.A(l),productName:z.A(c.productName)}),k='\x3cdiv class\x3d"'+z.E(z.pm({Xa:"small",caption:"small"}))+' u-marginAuto u-padding20 u-backgroundGrayLightest js-noteFromCuratorContainer"\x3e\x3ch4 class\x3d"ui-h4"\x3e'+k+'\x3c/h4\x3e\x3cp class\x3d"ui-caption u-marginTop5 u-marginBottom15"\x3e\x3cspan class\x3d"u-textColorDark"\x3e'+l+"\x3c/span\x3e\x3c/p\x3e",g?(g="",l=z.n("Copy Friend Link"),g+=cva({value:(0,z.M)(""+z.A(z.Kua(e,c))),Md:"js-friendLinkInput"})+z.A(z.Uk({action:"copy-friend-link", | |
s:(0,z.M)('\x3cspan class\x3d"js-copyFriendLinkCta"\x3e'+l+'\x3c/span\x3e\x3cspan class\x3d"u-flex u-justifyContentCenter u-alignItemsCenter u-textColorGreenNormal u-hide js-copiedFriendLinkNotice"\x3e'+dva()+"\x3c/span\x3e"),l:"u-block u-width220 u-marginTop10 u-marginAuto js-copyFriendLinkButton"},c)),c=(0,z.y)(g)):c="",c=(0,z.y)(a+(k+c+"\x3c/div\x3e")));return b(d+c+"\x3c/div\x3e")}; | |
cva=function(a){var b=a.value;return(0,z.y)('\x3cinput class\x3d"u-absolute u-topNegative100Percent '+z.E(a.Md)+'" value\x3d"'+z.E(b)+'" disabled\x3d"disabled"/\x3e')};dva=function(){var a="",b=z.n("Copied to clipboard"),a=a+('\x3cspan class\x3d"u-flex1"\x3e'+b+"\x3c/span\x3e"+z.A(z.nk({l:"u-textColorGreenNormal u-flex0"})));return(0,z.y)(a)}; | |
VE=function(a,b){z.O.call(this);this.X=a;this.pa=a.get("dialog");this.Wa=a.get("screen-service");this.Z=a.get("request");this.W=b;this.Sd=null;this.pua=b.uniqueSlug;this.ZT=this.$T=this.$e=null};fva=function(a,b){z.jt(b);z.it(a);return(0,window.setTimeout)(function(){z.jt(a);z.it(b)},2E3)};gva=function(a){a.disabled=!1;a.select();window.document.execCommand("copy");a.disabled=!0};z.WE=function(a,b){var c=z.bC(a.kc(),b);a=z.bC(a.Kd(),b);return c&&c==a?c:null}; | |
XE=function(a){z.Sm.call(this);this.Ba=a.get("model-request");this.ka=a.get("model-store");this.RN=a.get("request");this.U=a.get("route-builder");this.bb="";this.xc=null;this.Ft={};this.Vo=new z.yD;this.Vo.subscribe("add",this.Saa,this);this.Vo.subscribe("remove",this.Saa,this);z.Tm(this,z.xa(z.bn,this.Vo))};iva=function(a,b,c,d,e){a.bb=b;return(b=z.hva(a,c,d,e))?z.Jd(b):(b=z.YE(a,c,d,e))?ZE(a,c,b.kd(),b.ke(),!1):ZE(a,c,d,e,!0)}; | |
ZE=function(a,b,c,d,e){return z.u(a.create(b,c,d,0,e),function(a){this.Vo.add(a);return a},a)};z.hva=function(a,b,c,d){return(a=z.YE(a,b,c,d))&&a.Ua()==z.rr().userId?a:null};z.YE=function(a,b,c,d){a=a.Ft[b.name]||[];return a.length?z.jva(a,c,d):null};z.jva=function(a,b,c){for(var d,e,g=0;g<a.length;g++){var k=a[g],l=k.kd(),q=k.ke();if(!(void 0!==b&&b<l||void 0!==c&&c>q)){if(k.Ua()==z.rr().userId){d=g;break}k=q-l;if(!e||1<k&&k<e)e=k,d=g}}return null!=d?a[d]:null}; | |
kva=function(a){var b=a.Sb()[0].name,c=a.Ja().cb().bodyModel.paragraphs;return c?z.Va(c,function(a){return a.name==b}):(z.xx("Malformed post data for quote: "+JSON.stringify(a.Jb())),null)};z.lva=function(a,b){return z.lb(b,function(a){return a.Sb()[0].getName()},a)};z.$E=function(){z.O.call(this);this.qA=this.Sma};aF=function(a){a.fa("dismiss")};z.bF=function(a,b){z.$E.call(this);this.c7=z.dn(b||mva,this.v_,this);this.Bk=a||null}; | |
ova=function(a,b){a.Ea(b,"mouseover",a.F7);a.Ea(b,z.cF,a.F7);a.Ea(b,"mouseout",a.K7);a.Ea(b,nva,a.K7)};pva=function(a,b,c,d){this.ic=a.get("dom-model-converter");this.nua=b;this.Nj=c;this.Wl=d};qva=function(a,b,c){var d=z.bC(b.kc(),c),e=z.bC(b.Kd(),c);return d&&e?new pva(a,c,new dF(d,z.dx(b,d,!0)),new dF(e,z.dx(b,e,!1))):null};dF=function(a,b){this.dt=a;this.hN=b}; | |
sva=function(a,b,c){b="";z.n("Leave the author a private note");z.n("Tweet this passage");z.n("Write a response to this passage on Medium");z.n("Highlight this passage");b+='\x3cdiv class\x3d"highlightMenu-inner"\x3e\x3cdiv class\x3d"buttonSet"\x3e'+(a.wga?z.eF({action:"quote",icon:(0,z.M)(""+z.A(z.Tda())),Nb:!0,pk:!0,TO:"quote",l:"u-accentColor--highlightStrong js-highlightMenuQuoteButton",susiEntry:c.j.qa.HD},c):"")+(a.xga?z.eF({action:"quote-respond",icon:(0,z.M)(""+z.A(z.Xda())),Nb:!0,susiEntry:c.j.qa.XD}, | |
c):"")+(a.ER?z.eF({action:"twitter",icon:(0,z.M)(""+z.A(z.yk(null)))},c):"")+(a.s3?(a.wga||a.xga||a.ER?'\x3cdiv class\x3d"buttonSet-separator"\x3e\x3c/div\x3e':"")+z.rva({susiEntry:c.j.qa.RD},c):"")+'\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"highlightMenu-arrowClip"\x3e\x3cspan class\x3d"highlightMenu-arrow"\x3e\x3c/span\x3e\x3c/div\x3e';return(0,z.y)(b)}; | |
z.eF=function(a,b){var c=a.icon,d=a.Nb,e=a.pk,g=a.TO,k=a.isActive,l=a.isDisabled,q=a.l;return(0,z.y)(z.A(z.Wk({action:a.action,actionValue:a.actionValue,source:(0,z.M)(""+z.A(z.zi({name:"quote_menu",susiEntry:a.susiEntry}))),Pr:!0,icon:c,l:(0,z.M)("button--highlightMenu"+(k?" is-active":"")+(q?" "+z.A(q):"")),Nb:d,pk:e,TO:g,ca:!0,isDisabled:l},b)))}; | |
z.rva=function(a,b){a=a||{};var c=z.y,d;d={};d=(0,z.y)(z.Pj(z.D({name:"privatenoteFilled",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cg fill-rule\x3d"evenodd"\x3e\x3cpath d\x3d"M17.662 4.552H7.346A4.36 4.36 0 0 0 3 8.898v5.685c0 2.168 1.614 3.962 3.697 4.28v2.77c0 .303.35.476.59.29l3.904-2.994h6.48c2.39 0 4.35-1.96 4.35-4.35V8.9c0-2.39-1.95-4.346-4.34-4.346zM16 14.31a.99.99 0 0 1-1.003.99h-4.994C9.45 15.3 9 14.85 9 14.31v-3.02a.99.99 0 0 1 1-.99v-.782a2.5 2.5 0 0 1 2.5-2.51c1.38 0 2.5 1.13 2.5 2.51v.782c.552.002 1 .452 1 .99v3.02z"/\x3e\x3cpath d\x3d"M14 9.81c0-.832-.674-1.68-1.5-1.68-.833 0-1.5.84-1.5 1.68v.49h3v-.49z"/\x3e\x3c/g\x3e\x3c/svg\x3e')},d))); | |
return c(z.eF(z.D({action:"highlight",icon:(0,z.M)(""+z.A(d)),Nb:!0},a),b))};z.fF=function(a){z.O.call(this);this.X=a;this.GJ=z.dn(tva,this.iZ,this)};z.gF=function(a){var b=z.lo(),c=b&&!b.isCollapsed();c||(a=a.$w)&&(b=a);return!b||b.isCollapsed()?null:{range:b,MCa:!!c}};z.hF=function(a){z.P(a.Mb).J("*",function(a){this.fa(a.topic,a)},a);z.Rw(a.Mb,"mousedown",a.YW,a)};z.iF=function(a){a.KO&&(a.$w=null,z.ee(a.Mb,["highlightMenu--active","highlightMenu--linkMode"]),a.KO=!1,a.fa("hide"))}; | |
z.jF=function(a,b){a.$w=b;b=b.Ix().getBoundingClientRect();b=z.ax(b);if("mobile safari"==z.Uq().browser){var c=z.Zw();b.top-=c.top;b.left-=c.left}z.uva(a,b)}; | |
z.uva=function(a,b){a.GJ.cancel();var c=a.Mb;z.Vd(c,"highlightMenu--measure");var d=c.offsetWidth,e=b.left+b.width/2-d/2;b=b.top+-6-c.offsetHeight;e+d>window.document.body.clientWidth?(e-=d/2,z.ne(c,"far-left","far-right")):0>=e?(e+=d/2,z.ne(c,"far-right","far-left")):z.ee(c,["far-left","far-right"]);z.fe(c,"is-flushTop",0>b);b=Math.max(b,0);var d=0,g=z.Xw(c);g&&(d=z.$w(g).top);c.style.left=Math.round(e)+"px";c.style.top=Math.round(b+d)+"px";z.et(c);z.ne(c,"highlightMenu--measure","highlightMenu--active"); | |
a.KO=!0;a.fa("show")};kF=function(a,b){z.O.call(this);this.X=a;this.za=a.get("screen");this.Ka=b;this.ge=a.get("quotes-data");this.nc=null};z.lF=function(a,b){var c=z.WE(b,a.Ka.be);a=c&&a.Ka.Gi(c);if(!a)return null;var d=z.dx(b,c,!0);b=z.dx(b,c,!1);return-1==d||-1==b?null:{Zx:a,start:d,end:b}}; | |
z.wva=function(a,b){if(z.sr()){var c=a.Ka.va(),d=z.lF(a,b);z.v(z.u(iva(a.ge,c,d.Zx,d.start,d.end),function(a){a={postId:c,quoteId:a.Hi(),source:"tweet"};z.dy(z.vva,a)},a),z.xx)}var e=qva(a.X,b,a.Ka.Pl||a.za.V()),g=a.Ka.Ja();z.v(z.u(a.X.load("twitter"),function(a){var c=!1;e&&z.rr().twitterScreenName&&(c=a.bFa(g,e));c||a.ev(g,b.ra(),"highlight",null,"highlight_menu")}),z.xx)}; | |
z.mF=function(){var a=((Kw.location.hash||"").substr(1).split(".")[0]||"").split("-"),b=a[0],c=a[1]||null,d=a[2]||null;return c||d?{wH:d,YP:b,noteId:c,startIndex:a[3]||null,endIndex:a[4]||null}:{YP:b,noteId:null,wH:null,startIndex:null,endIndex:null}};nF=function(a){z.O.call(this);this.QX=a||null};z.oF=function(a,b,c,d){z.O.call(this);this.X=a;this.Wq=b;this.Ka=c;this.eva=null!=d?d:!0;this.Pa=a.get("screen-request");this.OA=this.dY=this.VA=this.Zi=this.RX=this.am=this.rc=null;this.hZ=new nF}; | |
z.pF=function(a){a.VA&&(z.Fx(a,a.VA),z.bn(a.VA),a.VA=null);var b=a.query(".js-responsesWrapper");return a.Ka.isPublished()&&b?z.u(a.X.load("responses-stream-control"),function(c){a.VA=c;a.dY&&c.rJ(a.dY);c.Ha(b);c.Yb(a.Ka.Ja());c.ZEa(a.OA?"respond"===a.OA.wH:!1);c.$Ea(a.OA?"responses"===a.OA.wH:!1);a.track(c);return c}):z.Jd(null)};yva=function(a){a.Ka.isPublished()&&z.v(z.u(z.u(a.KL(250),function(){return a.X.load("quotes")}),function(b){a.RX=b.hP(a.X,a.Ka,a.am);a.track(a.RX);xva(a)}),z.xx)}; | |
zva=function(a){z.v(z.u(z.u(a.KL(250),function(){return a.X.load("quote-responses")}),function(b){a.Zi=b.hP(a.X,a.Ka,a.am.Xj());a.track(a.Zi);a.hZ.QX=a.Zi;xva(a)}),z.xx)};xva=function(a){var b=a.RX,c=a.Zi;b&&c&&z.Dx(a,b,"quote-respond",c.PDa,c)};Bva=function(a){a.eva&&z.v(z.u(z.u(aua(a.Pa,a.Wq)?z.Jd(!0):a.KL(500),function(){return z.pF(a)}),function(){a.fa(Ava)}),z.xx)};z.qF=function(a,b,c,d){z.O.call(this);this.Pl=b;this.W=c;this.Ob=d;this.lb=a.get("dom-monitor");this.ub=a.get("element-tracker")}; | |
rF=function(a,b){var c=this;z.pB.call(this,a);this.za=a.get("screen");this.bb=b.nb();this.gg=b.JH();this.TY=b.virtuals.takeoverId;this.kB={};b.virtuals.takeoverGrafs&&b.virtuals.takeoverGrafs.forEach(function(a){c.kB[a.grafName]=a.location})};z.sF=function(a,b,c){this.ic=a.get("dom-model-converter");this.W=b;this.w8=c;this.Pl=null;this.kX={}};z.Cva=function(a){var b=z.xb(z.tF);a.Ja()&&(b.uj=z.$t(a.Ja()));return b};z.uF=function(a,b){a.be=b;a.Pl=a.be.querySelector(".js-postField")}; | |
z.vF=function(a){return a.W?!!a.W.je().FH():!1};z.wF=function(a){return a.isPublished()&&z.Uq().supportsInteract};z.Dva=function(a){return!(!a.W||a.W.tj()!=z.Em)};xF=function(a,b){z.O.call(this);this.X=a;this.za=a.get("screen");this.Wa=a.get("screen-service");this.RA=a.get("referrer-tracker");this.U=a.get("route-builder");this.W=b}; | |
Gva=function(a,b){b=z.si(new z.ks({susiEntry:b}));var c=a.U.mp(a.W,{},{source:b}),d=new LA(a.X);Aoa(d,b,c);z.Dx(a,d,OA,function(){a.fa(Ex)},a);a.fa(Eva);yF("last-seen-prompt-timestamp",Date.now());z.Ty(Fva,{})}; | |
z.AF=function(a,b,c){b=a.dWa;var d=a.YR,e=a.XR,g=a.showBlacklistedPostIndicator,k=a.showBlacklistedCreatorIndicator,l=a.shareKey,q=a.pC,r=a.dBa,t=a.A3,w="",C=Cu(a.post),C=("edit"==a.mode||"revert"==a.mode)&&(!C||c.variants.can_publish_commissioned_locked_stories),J=!(null==a.post?0:a.post.latestPublishedVersion),Q="PENDING"==(null==a.post?null:null==a.post.virtuals?null:a.post.virtuals.statusForCollection),R=a.post.approvedHomeCollection,S="APPROVED"==(null==a.post?null:null==a.post.virtuals?null: | |
a.post.virtuals.statusForCollection)||Q?a.post.homeCollection:null,ba=c.currentUser.userId==(null==a.post?null:a.post.creatorId),Q=!c.isAuthenticated,X="canEdit"==a.mode&&l&&!t,Fa=C||t,Ra="",mb=""+z.zF(a,0,c),mb=(0,z.M)(mb),Ra=Ra+(mb||C?'\x3cspan class\x3d"js-metabarMessage u-textColorDarker"\x3e'+z.A(mb)+"\x3c/span\x3e":""),Ra=(0,z.M)(Ra);!r&&(R||ba&&S)?a=z.A(z.CE({post:a.post,collection:R||S,mode:a.mode,Qr:!b&&(C||Q),showBlacklistedPostIndicator:g,showBlacklistedCreatorIndicator:k,Pm:!0,MJ:!C,jq:!C, | |
YR:d,Cs:!C,a4:!C,Qm:!C&&!t,kGa:!X,nha:Ra,oha:C,Y3:(0,z.M)(""+Hva(a,c)),shareKey:l,pD:Fa},c)):(d=""+(d?z.A(d):""),g=(0,z.y)(a.showBlacklistedPostIndicator||a.showBlacklistedCreatorIndicator?'\x3cdiv class\x3d"u-backgroundRed u-height40 u-textColorTransparentWhiteDarker u-textAlignCenter u-sizeFullWidth u-alignMiddle"\x3e'+(a.showBlacklistedCreatorIndicator?z.A(Gda({user:a.post.creator})):a.showBlacklistedPostIndicator?z.A(afa()):"")+"\x3c/div\x3e":""),a=z.A(z.AA({Qr:!b&&(C||Q),pC:q,XR:e&&!C&&!J,j_:(0,z.M)(d+ | |
g),Dl:!0,ov:C||!c.isAuthenticated||t,Pm:C,pD:Fa,zi:(0,z.M)(""+(Ra?z.A(z.BA({s:Ra,l:"u-marginLeft10"})):z.Xl(c.currentUser)?"":z.A(z.vA(z.D({location:c.j.Yc.LS,l:"u-xs-hide"},a),c)))+(X?z.A(Jua(c)):"")),Gg:(0,z.M)(""+Hva(a,c))},c)));return(0,z.y)(w+a)}; | |
z.zF=function(a,b,c){b="";var d=z.n("Submission"),e=z.n("Draft"),g=z.n("Migration"),k=null==a.post?null:a.post.homeCollection,l=!(null==a.post?0:a.post.latestPublishedVersion);c=c.currentUser.userId==(null==a.post?null:a.post.creatorId);var k=null==k?null:null==k.virtuals.permissions?null:k.virtuals.permissions.canManageAll,q="PENDING"==(null==a.post?null:null==a.post.virtuals?null:a.post.virtuals.statusForCollection),g=(0,z.M)(""+g),e=(0,z.M)(""+e),d=(0,z.M)(""+d);b+=l?q?a.post.migrationId?z.A(g): | |
c&&k?z.A(e):z.A(d):z.A(e):"";return(0,z.y)(b)}; | |
Hva=function(a,b){var c="",d="edit"==a.mode||"revert"==a.mode,e=b.currentUser.translatorType==b.j.hla.vja,g=!!a.post.translationSourcePostId,k=b.currentUser.userId==a.post.creatorId,l=a.post.approvedHomeCollection,q=!d&&l&&Qla(l),l=!d&&l&&Rla(l);b.supportsEdit&&e&&!d&&!g&&(d=z.n("Translate"),c+=z.A(z.BA({l:"u-paddingLeft8 u-paddingRight8",s:(0,z.M)(""+z.A(z.Uk({s:(0,z.M)(""+d),action:"show-language-popover",cy:!0,vb:q,la:l,ca:!0},b)))})));"canEdit"==a.mode&&(a.A3?(e="",d=z.n("Writer Controls"),g= | |
{},g=(0,z.y)(z.Pj(z.D({name:"writerControl",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M2.26 10.185a5.97 5.97 0 0 0-.01.315c0 .087.003.153.011.322a1.7 1.7 0 0 1-.18.875l-.997 1.959a.737.737 0 0 0 .03.734l1.031 1.668c.155.25.442.42.772.444l2.325.17c.28.021.55.111.795.258.189.112.397.223.638.34.261.128.485.308.657.539l1.32 1.799c.177.241.484.392.82.392h2.056c.336 0 .643-.151.82-.391l1.32-1.8c.17-.23.394-.41.657-.54.241-.117.45-.228.637-.339a1.81 1.81 0 0 1 .797-.258l2.325-.17a.98.98 0 0 0 .77-.443l1.032-1.669a.737.737 0 0 0 .03-.735L18.92 11.7a1.708 1.708 0 0 1-.18-.89c.008-.142.011-.228.011-.31a6.16 6.16 0 0 0-.011-.322 1.7 1.7 0 0 1 .18-.875l.997-1.959a.737.737 0 0 0-.03-.734l-1.031-1.668a.982.982 0 0 0-.772-.444l-2.325-.17a1.81 1.81 0 0 1-.795-.258 8.683 8.683 0 0 0-.63-.337 1.757 1.757 0 0 1-.665-.542l-1.32-1.799a1.016 1.016 0 0 0-.82-.392H9.473c-.336 0-.643.151-.82.391L7.331 3.192a1.761 1.761 0 0 1-.66.538c-.23.112-.436.223-.633.34a1.813 1.813 0 0 1-.798.258l-2.325.17a.98.98 0 0 0-.77.443L1.115 6.61a.737.737 0 0 0-.032.735l1 1.959c.139.27.195.573.178.881zM1.193 9.76l-1-1.961a1.737 1.737 0 0 1 .071-1.715l1.032-1.668c.326-.528.906-.87 1.55-.915l2.322-.17c.12-.01.24-.05.357-.12.225-.133.456-.257.71-.38a.776.776 0 0 0 .293-.234L7.846.8c.368-.501.976-.8 1.626-.8h2.057c.649 0 1.256.299 1.625.8l1.32 1.8a.758.758 0 0 0 .287.228c.259.126.49.25.712.382a.82.82 0 0 0 .36.12l2.324.171a1.979 1.979 0 0 1 1.548.915l1.032 1.668c.324.525.35 1.166.07 1.715l-.998 1.958a.711.711 0 0 0-.072.368c.007.13.013.252.013.375s-.006.245-.012.365a.718.718 0 0 0 .069.375l1 1.961c.28.549.254 1.19-.07 1.715l-1.032 1.668c-.326.528-.906.87-1.55.915l-2.323.17c-.12.01-.24.05-.357.12a9.79 9.79 0 0 1-.712.38.785.785 0 0 0-.29.234l-1.32 1.797c-.369.501-.976.8-1.626.8H9.472c-.65 0-1.257-.299-1.626-.8l-1.32-1.8a.785.785 0 0 0-.29-.232 9.662 9.662 0 0 1-.71-.378.82.82 0 0 0-.36-.12l-2.323-.171a1.979 1.979 0 0 1-1.548-.915L.263 14.916a1.736 1.736 0 0 1-.07-1.715l.998-1.958a.711.711 0 0 0 .072-.368c-.007-.13-.013-.252-.013-.375s.006-.245.012-.366a.718.718 0 0 0-.07-.374zm9.114-1.95a2.754 2.754 0 0 0-2.75 2.75 2.754 2.754 0 0 0 2.75 2.75 2.754 2.754 0 0 0 2.75-2.75 2.754 2.754 0 0 0-2.75-2.75zm0-1a3.754 3.754 0 0 1 3.75 3.75 3.754 3.754 0 0 1-3.75 3.75 3.754 3.754 0 0 1-3.75-3.75 3.754 3.754 0 0 1 3.75-3.75z"/\x3e\x3c/svg\x3e')}, | |
g))),e+=z.A(z.Wk({icon:(0,z.M)(""+z.A(g)),l:(0,z.M)("button--activity u-marginRight16 u-xs-marginRight5 u-lineHeight0 js-writerControlsButton"),title:(0,z.M)(""+d),ca:!0,Db:!0,Ip:!0,action:"show-writer-controls-popover"},b)),d=(0,z.y)(e),c+=z.A(d)):(d="",e=""+z.n("Edit"),e=(0,z.M)(e),d+=b.supportsEdit?"canEdit"==a.mode&&a.post.latestPublishedVersion&&a.post.hasUnpublishedEdits?z.A(z.al({href:(0,z.L)(""+z.F(z.Ji(a,b))),text:e,cy:!0,icon:(0,z.M)(""+z.A(z.rk())),Ph:(0,z.M)(""+z.A(z.Xea())),vb:q,la:l, | |
ca:!0},b)):z.A(z.N({Ra:!0,href:(0,z.L)(""+z.F(z.Ji(a,b))),s:e,cy:!0,vb:q,la:l,ca:!0},b)):"",c+=z.A(z.BA({l:"u-paddingLeft8 u-paddingRight8",s:(0,z.M)(d)}))));if("edit"==a.mode&&(!a.post.migrationId||a.post.latestPublishedVersion)){a.post.latestPublishedVersion||!k||b.currentUser.isWriterProgramEnrolled||b.variants.enable_prepublish_flow_2_everyone||(d=z.n("Sharing a draft"),e=""+z.n("Share"),e=(0,z.M)(e),c+=z.A(z.BA({l:"u-paddingLeft8 u-paddingRight8 u-xs-paddingTop2",s:(0,z.M)(""+z.A(z.Uk({action:"show-disabled-button-info", | |
actionValue:(0,z.M)(""+z.A(z.sl({title:(0,z.M)(""+d)}))),kP:"share-draft",l:"js-buttonRequiresPostId",s:e,vb:q,la:l,ca:!0},b)))})));q=c;k?k="":(k=a||{},l="",c=z.n("Done editing"),d=z.n("Please wait for changes to be saved."),e=""+z.n("Done"),e=(0,z.M)(e),l+=z.A(z.BA({l:"u-paddingLeft8 u-paddingRight8",s:(0,z.M)(""+z.A(z.Uk({action:"done-editing",actionValue:(0,z.M)(""+d),title:(0,z.M)(""+c),l:"js-doneButton",s:e,vb:k.vb,la:k.la,ca:!0},b)))})),k=(0,z.y)(l));l="";c=null==a.post.homeCollection?null: | |
null==a.post.homeCollection.virtuals.permissions?null:a.post.homeCollection.virtuals.permissions.canManageAll;d=null==a.post.homeCollection?null:a.post.homeCollection.virtuals.permissions.canSubmit;e=b.currentUser.userId&&a.post.creator.userId;g=!a.post.homeCollection||a.post.latestPublishedVersion||c;if(a.post.latestPublishedVersion||c||e&&d||e&&!a.post.homeCollection){var c=b.variants.enable_prepublish_flow_2_everyone&&!a.post.homeCollection||!(!b.variants.enable_prepublish_flow_2||!b.currentUser.isWriterProgramEnrolled)&& | |
!a.post.homeCollection,d=!(!a.post.latestPublishedVersion||!c),e=g?c?d?"republish":"show-prepublish":"pre-publish":"",r="";g?(g=z.n("Publishing"),r+=z.A(z.sl({title:(0,z.M)(""+g)}))):(g=r,r=z.n("{$collectionName} editors are reviewing this story and only they can publish it. If you want to publish to your profile, cancel this story’s submission to that publication.",{collectionName:z.A(a.post.homeCollection.name)}),r=(0,z.y)(""+r),r=g+z.A(r));c={eCa:d,ky:a.ky,Wza:c,source:(0,z.M)(""+z.A(z.zi({name:b.j.Ab.Zja}))), | |
action:"show-disabled-button-info",actionValue:(0,z.M)(r),kP:e,l:"button--publish js-publishButton js-buttonRequiresPostId",isPrimary:!0,vb:a.vb,la:a.la,icon:(0,z.M)(""+z.A(z.Qj(null))),Fd:!0};g=!!c.eCa;e=c.ky;r=c.l;d="";c.Wza?d+=z.A(z.Uk(z.D({Zn:!0,isDisabled:g,s:(0,z.M)('\x3cspan class\x3d"js-publishDialogButtonText"\x3e'+(g?z.A(z.bfa()):e?z.A(z.dfa()):z.A(z.cfa()))+"\x3c/span\x3e"),l:(0,z.M)(z.A(r)+" u-paddingLeft10 u-paddingRight10")},c),b)):(g="",e=e?z.n("Scheduled"):z.n("Publish"),g+=e,d+=z.A(z.Wk(z.D({ca:!0, | |
text:(0,z.M)(g)},c),b)));c=""+(0,z.y)(d);l+=z.A(z.BA({l:"u-paddingLeft8 u-paddingRight8",s:(0,z.M)(c)}))}l=(0,z.y)(l);k+=l;a=a||{};b=(0,z.y)(z.A(z.BA({l:"u-paddingLeft8 u-paddingRight8",s:(0,z.M)(""+z.A(z.Wk({action:"show-post-actions-popover",Vc:!0,vb:a.vb,la:a.la,ca:!0,l:"js-moreActionsButton",icon:(0,z.M)(""+z.A(z.qk()))},b)))})));c=q+(k+b)}return(0,z.y)(c)}; | |
z.BF=function(a,b){z.O.call(this);this.X=a;this.za=a.get("screen");this.Z=a.get("request");this.Pa=a.get("screen-request");this.pa=a.get("dialog");this.ma=a.get("popover");this.vZ=a.get("vote");this.U=a.get("route-builder");this.W=b;this.Kv=this.mZ=null;this.rc=new z.ex;this.Gt=null;this.k$={}};Iva=function(a){var b=a.Gt?Math.ceil(a.Gt.length/10):0,b=a.U.R(bua,{postId:a.iA()},{limit:10,pageNumber:b});return a.Z.get(b)}; | |
Lva=function(a){var b=a.Gt,c=a.pa.Ec();c&&c.close();var c=a.W,c=z.n("{$totalClapCount} claps from {$recommends} {$xxx} for {$title}",{totalClapCount:""+(null==c.virtuals?null:c.virtuals.totalClapCount),recommends:""+(null==c.virtuals?null:c.virtuals.recommends),xxx:""+z.Oj({number:null==c.virtuals?null:c.virtuals.recommends}),title:""+z.pl(String(c.title))}),c=a.pa.open({title:z.B(""+c),bodyHtml:z.Bw(Aga,{usersWithClapCounts:b,postId:a.W.nb(),fy:a.W.sm()===z.rr().userId}),type:"list"}),d={postId:a.W.nb()}; | |
z.dy(Jva,d);Kva(a,b);(b=c.Da())&&z.P(b).J("show-more-recommends",a.Mwa,a)};Kva=function(a,b){for(var c=0;c<b.length;c++)a.k$[b[c].user.userId]=!0;if(b=a.pa.Ec().query(".js-showMoreRecommends"))a=a.mZ.ue()<=a.Gt.length,z.fe(b,"u-hide",a)}; | |
z.CF=function(a){z.O.call(this);this.ka=a.get("model-store");this.za=a.get("screen");this.U=a.get("route-builder");this.Z=a.get("request");this.vZ=a.get("vote");this.ma=a.get("popover");this.Tl=a.get("dialog");this.W=null;this.Lt="";this.rW=!1;this.Ov=this.JF=null;this.kH=0;this.WU=null};Nva=function(a,b){var c=b.getAttribute("data-action-value");(c=a.ka.Ja(c))&&(1<Oq(c.ak()).HH()||Mva(a,b,c,"timesSeenMultipleClapsOnboarding",1,z.Bw(Yfa),z.Bw(Zfa),500))}; | |
Mva=function(a,b,c,d,e,g,k,l){z.sr()&&b&&c&&c.sm()!=z.Aw().Ua()&&(c=a.U.R(z.Xu),z.u(a.Z.get(c),function(c){c.value&&(c=c.value[d]||0,c<e&&((0,window.setTimeout)(function(){z.DF(z.aD(z.bD(z.cD(z.dD(a.ma),b),"popover--animated"),{oI:!0}).Sa(z.im,{title:g,fu:k,zR:!0}),z.EF).ba()},l),z.v(z.cy(a.Z,z.FF,{setting:d},{value:c+1}),z.xx)))}))};Pva=function(a,b){GF(b);var c=Ova(b)?0:1;a.kH+=c;a.Rt(b,c)};GF=function(a){a=a.ak();a.userPostRelation=Oq(a)||new jp};Ova=function(a){GF(a);return 50<=Oq(a.ak()).HH()}; | |
Qva=function(a,b){if(!TA(a)){var c=new z.SA(a,{name:"float-upwards-fade-out",duration:400,dh:500,timing:"ease-out"});z.u(c,function(){z.Gg(a);z.de(b,"u-transparent")});c.start()}};Rva=function(a){a=a.za.Ya(HF+".u-transparent");if(a.length){a=z.ja(a);for(var b=a.next();!b.done;b=a.next())z.de(b.value,"u-transparent")}}; | |
Tva=function(a,b,c){var d=a.za.query(IF),e=b.querySelector(Sva),g=b.querySelector(HF);b=z.Ew(aga,{post:c,Np:b.hasAttribute("data-is-vertical"),Vc:b.hasAttribute("data-is-circle")});if(z.Ud(e,"is-touched"))if(d){Rva(a);z.Gg(d);z.Eg(b,e);var k=a.za.query(IF);TA(k)||(a=new z.SA(k,{name:"pulse-grow",duration:400,timing:"ease-out"}),z.u(a,function(){return Qva(k,g)}),z.Vd(g,"u-transparent"),a.start())}else{z.Eg(b,e);var l=a.za.query(IF);a=new z.SA(l,{name:"pop-upwards",duration:400,timing:"ease-out"}); | |
z.u(a,function(){return Qva(l,g)});z.Vd(g,"u-transparent");a.start()}};Uva=function(a){TA(a)||(new z.SA(a,{name:"pop",duration:500,HQ:1})).start()};Xva=function(a){z.Fg(z.Ew(Ufa,{offset:360*Math.random(),N0:z.Ud(a,"button--circle")}),a);var b=z.Kg(a),c=b.querySelector(Vva);a=new z.SA(b.querySelector(Wva),{name:"burst-triangle",duration:370,HQ:1,timing:"ease-out"});c=new z.SA(c,{name:"burst-dot",duration:370,HQ:1,timing:"ease-out"});z.u(c,function(){z.Gg(b)});a.start();c.start()}; | |
Yva=function(a){a.WU&&z.de(a.WU,"clap-onboarding")}; | |
JF=function(a,b){var c=Ova(b);a.za.Ya(Zva+'[data-post-id\x3d"'+b.id+'"]').forEach(function(d){var e=d.querySelector(Sva);a.JF||z.de(e,"is-touched");z.H(b,"vote")?(z.Vd(e,"is-active"),Tva(a,d,b)):z.de(e,"is-active");(e=d.querySelector($va))?z.Tg(e,z.Kh(b.virtuals.totalClapCount)):(e=d.querySelector(HF),d=z.Ew($fa,{post:b,bI:d.hasAttribute("data-has-recommend-list"),sQ:d.hasAttribute("data-is-label-padded"),Np:d.hasAttribute("data-is-vertical"),QBa:!!a.JF||a.rW&&c}),z.Hg(d,e))})}; | |
yF=function(a,b){KF.put(a,b)}; | |
awa=function(){var a=Date.now(),b=Number(KF.get("first-post-viewed-timestamp",0)),c=(new Date(a)).setUTCHours(0,0,0,0),d=864E5*(new Date(a)).getDay();b<c-d?(b=1,yF("first-post-viewed-timestamp",a)):b=KF.get("posts-viewed-count",0)+1;yF("posts-viewed-count",b);b=Number(KF.get("first-post-viewed-month-timestamp",0));c=new Date(a);c=Date.UTC(c.getFullYear(),c.getMonth(),1);b<c?(b=1,yF("first-post-viewed-month-timestamp",a)):b=KF.get("posts-viewed-month-count",0)+1;yF("posts-viewed-month-count",b)}; | |
LF=function(){var a=(0,window.parseInt)(KF.get("posts-viewed-month-count",1),10);(0,window.isNaN)(a)&&(a=1);return a-1}; | |
bwa=function(a,b,c){b=a.promptId;var d="",e=""+z.nh("s",b,!1)(null,null,c),e=(0,z.M)(e),d=d+(z.nh("t",b,!1)(null,null,c)+'\x3cbutton class\x3d"button button--chromeless link link--butter u-marginLeft5 u-marginRight10" data-action\x3d"butter-bar-action" title\x3d"'+z.E(e)+'"\x3e'+z.A(e)+"\x3c/button\x3e "+z.A(z.Wk(z.D({action:"butter-bar-dismiss",icon:(0,z.M)(""+z.A(z.sk())),ca:!0,oC:!1},a),c)));return(0,z.y)(d)}; | |
z.MF=function(a){z.O.call(this);this.ha=a.get("butter-bar");this.Xo=a.get("routeManager");this.za=a.get("screen");this.Wa=a.get("screen-service");this.X=a};NF=function(a,b){b=b.promptId;a.ha.isActive()||(b=z.Bw(bwa,{promptId:b}),a.ha.ba(b,{type:"success",Al:-1}),z.kB(a.ha,a.pra,a))}; | |
z.cwa=function(a,b){var c=a.creator||{},d=a.title,e=c.name||"",g=c.username||"",c=c.userId==z.rr().userId,k;k=new z.Ai(z.Qm.authBaseUrl);k=new z.Ie(k.mp(a));d=String(z.Nia({content:d,name:e,username:g,Cba:c,url:k,collaborators:[]},0,z.Qm));e=new z.Ie;z.Je(e,"sms");z.Xe(e,"","");z.Xe(e,"body",d);z.Nw(e);z.dy(z.OF,{postId:a.id,type:"post",source:b,dest:"sms",dialogType:"native"})}; | |
z.dwa=function(a,b){var c=z.y;if(a.post){var d=a.Od,e="",g=z.n("Open in app"),g=(0,z.M)(""+g),k;k=a.shareKey;if((null==b.useragent?null:b.useragent.os)==b.j.gz.ID){var l;l=""+z.F(z.Wi(b.iosAppLinkBaseUrl+"//p/"+a.post.id));l=(0,z.ri)(l);k=z.F(l)+(k?"?source\x3d"+wh(b.j.Ab.dK)+"\x26sk\x3d"+wh(k):"")}else k=(null==b.useragent?null:b.useragent.os)==b.j.gz.rD?z.F((0,z.ri)(z.Oca({appLinkPath:"/p/"+a.post.id},b)))+(k?"?source\x3d"+wh(b.j.Ab.dK)+"\x26sk\x3d"+wh(k):""):z.Xi(b);k=(0,z.ri)(k);k=(0,z.L)(""+ | |
z.F(k));a=(0,z.L)(""+z.F(z.Bi(a,0,b)));d=(0,z.M)(""+z.A(z.zi({name:d})));l=(0,z.M)("u-fontWeightSemibold u-paddingHorizontal10");b=(0,z.y)(z.A(z.Uk({s:g,isPrimary:!0,ld:!0,action:"open-native",actionTarget:k,im:a,source:d,l:l},b)));b='\x3cdiv class\x3d"openInAppButton u-hide js-openInAppButton"\x3e'+(0,z.y)(e+b)+"\x3c/div\x3e"}else b="";return c(b)}; | |
z.PF=function(a,b){var c="",d;d=z.n("Share on Twitter");d=(0,z.y)(""+d);d=""+z.A(d);d=(0,z.M)(d);var e;a.nI?a.sb?(e={},e=(0,z.y)(z.Pj(z.D({name:"twitterFilled",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cpath d\x3d"M22.053 7.54a4.474 4.474 0 0 0-3.31-1.455 4.526 4.526 0 0 0-4.526 4.524c0 .35.04.7.082 1.05a12.9 12.9 0 0 1-9.3-4.77c-.39.69-.61 1.46-.65 2.26.03 1.6.83 2.99 2.02 3.79-.72-.02-1.41-.22-2.02-.57-.01.02-.01.04 0 .08-.01 2.17 1.55 4 3.63 4.44-.39.08-.79.13-1.21.16-.28-.03-.57-.05-.81-.08.54 1.77 2.21 3.08 4.2 3.15a9.564 9.564 0 0 1-5.66 1.94c-.34-.03-.7-.06-1.05-.08 2 1.27 4.38 2.02 6.94 2.02 8.31 0 12.86-6.9 12.84-12.85.02-.24.01-.43 0-.65.89-.62 1.65-1.42 2.26-2.34-.82.38-1.69.62-2.59.72a4.37 4.37 0 0 0 1.94-2.51c-.84.53-1.81.9-2.83 1.13z"/\x3e\x3c/svg\x3e')}, | |
e))),e=z.A(e)):e=z.A(z.xk(null)):(a.sb?(e={},e=(0,z.y)(z.Pj(z.D({name:"twitter",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cpath d\x3d"M21.967 11.8c.018 5.93-4.607 11.18-11.177 11.18-2.172 0-4.25-.62-6.047-1.76l-.268.422-.038.5.186.013.168.012c.3.02.44.032.6.046 2.06-.026 3.95-.686 5.49-1.86l1.12-.85-1.4-.048c-1.57-.055-2.92-1.08-3.36-2.51l-.48.146-.05.5c.22.03.48.05.75.08.48-.02.87-.07 1.25-.15l2.33-.49-2.32-.49c-1.68-.35-2.91-1.83-2.91-3.55 0-.05 0-.01-.01.03l-.49-.1-.25.44c.63.36 1.35.57 2.07.58l1.7.04L7.4 13c-.978-.662-1.59-1.79-1.618-3.047a4.08 4.08 0 0 1 .524-1.8l-.825.07a12.188 12.188 0 0 0 8.81 4.515l.59.033-.06-.59v-.02c-.05-.43-.06-.63-.06-.87a3.617 3.617 0 0 1 6.27-2.45l.2.21.28-.06c1.01-.22 1.94-.59 2.73-1.09l-.75-.56c-.1.36-.04.89.12 1.36.23.68.58 1.13 1.17.85l-.21-.45-.42-.27c-.52.8-1.17 1.48-1.92 2L22 11l.016.28c.013.2.014.35 0 .52v.04zm.998.038c.018-.22.017-.417 0-.66l-.498.034.284.41a8.183 8.183 0 0 0 2.2-2.267l.97-1.48-1.6.755c.17-.08.3-.02.34.03a.914.914 0 0 1-.13-.292c-.1-.297-.13-.64-.1-.766l.36-1.254-1.1.695c-.69.438-1.51.764-2.41.963l.48.15a4.574 4.574 0 0 0-3.38-1.484 4.616 4.616 0 0 0-4.61 4.613c0 .29.02.51.08.984l.01.02.5-.06.03-.5c-3.17-.18-6.1-1.7-8.08-4.15l-.48-.56-.36.64c-.39.69-.62 1.48-.65 2.28.04 1.61.81 3.04 2.06 3.88l.3-.92c-.55-.02-1.11-.17-1.6-.45l-.59-.34-.14.67c-.02.08-.02.16 0 .24-.01 2.12 1.55 4.01 3.69 4.46l.1-.49-.1-.49c-.33.07-.67.12-1.03.14-.18-.02-.43-.05-.64-.07l-.76-.09.23.73c.57 1.84 2.29 3.14 4.28 3.21l-.28-.89a8.252 8.252 0 0 1-4.85 1.66c-.12-.01-.26-.02-.56-.05l-.17-.01-.18-.01L2.53 21l1.694 1.07a12.233 12.233 0 0 0 6.58 1.917c7.156 0 12.2-5.73 12.18-12.18l-.002.04z"/\x3e\x3c/svg\x3e')}, | |
e)))):(e={},e=(0,z.y)(z.Pj(z.D({name:"twitter",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M15.96 8.745c.014 4.368-3.394 8.236-8.235 8.236-1.6 0-3.133-.45-4.457-1.29L3 16.11l-.038.5.14.01.126.01c.217.013.323.02.44.032 1.582-.02 3.02-.523 4.196-1.42l1.115-.85-1.41-.045c-1.12-.04-2.09-.77-2.4-1.79l-.47.143-.06.498c.16.018.36.038.56.056.38-.017.68-.057.97-.12l2.32-.49-2.33-.488a2.6 2.6 0 0 1-2.08-2.532c0-.043 0 0-.01.048l-.49-.1-.25.433c.49.28 1.04.437 1.6.45l1.7.04-1.4-.953a2.69 2.69 0 0 1-1.16-2.18c.02-.43.15-.882.38-1.282l-.83.068a9.297 9.297 0 0 0 6.7 3.426l.59.032-.07-.59v-.02a4.674 4.674 0 0 1-.05-.635c0-1.42 1.15-2.58 2.57-2.58.72 0 1.4.3 1.88.83l.19.21.28-.06c.76-.17 1.47-.45 2.08-.83l-.26-.42-.48-.13c-.07.24-.04.67.05 1.03.16.62.48 1.05 1.08.77l-.2-.47-.42-.27c-.38.58-.86 1.08-1.41 1.46l-.23.16.01.29c.01.14.01.25.01.37v.04zm1 .037c.012-.17.01-.324 0-.51l-.5.032.285.41a6.247 6.247 0 0 0 1.674-1.73l.96-1.48-1.6.754c.16-.075.32-.01.38.07-.02-.017-.05-.088-.07-.187-.06-.2-.08-.47-.07-.5l.35-1.25-1.1.7c-.51.32-1.11.56-1.77.71l.47.15a3.573 3.573 0 0 0-6.2 2.43c0 .22.01.39.06.75v.02l.5-.06.03-.5a8.234 8.234 0 0 1-5.96-3.05l-.46-.57-.37.64c-.3.54-.47 1.14-.5 1.76.02 1.26.63 2.36 1.59 3.02l.28-.41.01-.5c-.4-.01-.79-.12-1.14-.32l-.57-.36-.14.67c-.02.08-.02.15-.01.23-.01 1.63 1.2 3.09 2.86 3.44l.1-.49-.11-.49c-.25.06-.5.09-.75.11-.12-.02-.31-.04-.47-.05l-.75-.09.22.73c.44 1.43 1.77 2.44 3.32 2.5l-.29-.9c-1 .76-2.23 1.19-3.54 1.21-.08-.01-.19-.01-.41-.03l-.13-.01-.14-.01-2-.15 1.69 1.08c1.48.94 3.2 1.45 4.99 1.46 5.42 0 9.25-4.34 9.24-9.24v.04z"/\x3e\x3c/svg\x3e')}, | |
e)))),e=z.A(e));c+=z.A(z.Wk({icon:(0,z.M)(""+e),title:(0,z.M)(""+(a.Zy||a.Yy?"":z.A(d))),text:(0,z.M)(""+(a.Zy?z.A(d):a.Yy?z.A(a.Yy):"")),ca:!0,la:null!=a.la?a.la:!0,Ff:!0,action:"share-on-twitter",source:a.source,sb:a.sb,l:a.l},b));return(0,z.y)(c)}; | |
z.QF=function(a,b){var c="",d;d=z.n("Share on Facebook");d=(0,z.y)(""+d);d=""+z.A(d);d=(0,z.M)(d);var e;a.nI?a.sb?(e={},e=(0,z.y)(z.Pj(z.D({name:"facebookFilled",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cpath d\x3d"M24.36 14.55c0-5.473-4.415-9.91-9.86-9.91-5.445 0-9.86 4.437-9.86 9.91 0 4.944 3.605 9.03 8.315 9.777v-6.985H10.55v-2.797h2.405V12.48c0-2.393 1.455-3.696 3.58-3.696 1.017 0 1.892.076 2.147.11v2.502h-1.474c-1.155 0-1.38.553-1.38 1.362v1.787h2.757l-.36 2.797H15.83v7.018c4.814-.654 8.53-4.79 8.53-9.81"/\x3e\x3c/svg\x3e')},e))), | |
e=z.A(e)):e=z.A(z.pk()):(a.sb?(e={},e=(0,z.y)(z.Pj(z.D({name:"facebook",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cpath d\x3d"M16.39 23.61v-5.808h1.846a.55.55 0 0 0 .546-.48l.36-2.797a.551.551 0 0 0-.547-.62H16.39V12.67c0-.67.12-.813.828-.813h1.474a.55.55 0 0 0 .55-.55V8.803a.55.55 0 0 0-.477-.545c-.436-.06-1.36-.116-2.22-.116-2.5 0-4.13 1.62-4.13 4.248v1.513H10.56a.551.551 0 0 0-.55.55v2.797c0 .304.248.55.55.55h1.855v5.76c-4.172-.96-7.215-4.7-7.215-9.1 0-5.17 4.17-9.36 9.31-9.36 5.14 0 9.31 4.19 9.31 9.36 0 4.48-3.155 8.27-7.43 9.15M14.51 4C8.76 4 4.1 8.684 4.1 14.46c0 5.162 3.75 9.523 8.778 10.32a.55.55 0 0 0 .637-.543v-6.985a.551.551 0 0 0-.55-.55H11.11v-1.697h1.855a.55.55 0 0 0 .55-.55v-2.063c0-2.02 1.136-3.148 3.03-3.148.567 0 1.156.027 1.597.06v1.453h-.924c-1.363 0-1.93.675-1.93 1.912v1.78c0 .3.247.55.55.55h2.132l-.218 1.69H15.84c-.305 0-.55.24-.55.55v7.02c0 .33.293.59.623.54 5.135-.7 9.007-5.11 9.007-10.36C24.92 8.68 20.26 4 14.51 4"/\x3e\x3c/svg\x3e')}, | |
e)))):(e={},e=(0,z.y)(z.Pj(z.D({name:"facebook",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cpath d\x3d"M11.935 18.05v-4.615h1.47c.217 0 .4-.16.427-.377l.285-2.218a.43.43 0 0 0-.427-.485h-1.755V9.37c0-.533.097-.65.662-.65h1.17a.43.43 0 0 0 .43-.432V6.305a.43.43 0 0 0-.373-.428c-.346-.046-1.08-.09-1.76-.09-1.98 0-3.27 1.282-3.27 3.362v1.2H7.317c-.238 0-.43.19-.43.43V13c0 .24.192.433.43.433h1.475v4.58a7.412 7.412 0 0 1-5.73-7.226c0-4.102 3.307-7.427 7.387-7.427s7.38 3.326 7.38 7.427a7.41 7.41 0 0 1-5.9 7.26M10.45 2.5c-4.557 0-8.25 3.712-8.25 8.29 0 4.09 2.97 7.546 6.957 8.178a.43.43 0 0 0 .498-.426v-5.54a.43.43 0 0 0-.43-.43H7.75v-1.355h1.474a.43.43 0 0 0 .43-.43v-1.64c0-1.603.905-2.5 2.41-2.5.45 0 .92.02 1.27.048v1.16h-.737c-1.078 0-1.525.534-1.525 1.512v1.416c0 .237.193.43.432.43H13.2l-.175 1.356h-1.52a.43.43 0 0 0-.433.43v5.56c0 .26.23.46.49.42 4.07-.56 7.138-4.05 7.138-8.21 0-4.58-3.693-8.29-8.25-8.29"/\x3e\x3c/svg\x3e')}, | |
e)))),e=z.A(e));c+=z.A(z.Wk({icon:(0,z.M)(""+e),title:(0,z.M)(""+(a.Zy||a.Yy?"":z.A(d))),text:(0,z.M)(""+(a.Zy?z.A(d):a.Yy?z.A(a.Yy):"")),ca:!0,la:null!=a.la?a.la:!0,Ff:!0,action:"share-on-facebook",source:a.source,sb:a.sb,l:a.l},b));return(0,z.y)(c)}; | |
z.hwa=function(a,b){var c=a.Od,d=a.ZAa,e=!!a.post.sequenceId,g=b.currentUser.userId==a.post.creatorId,d='\x3cdiv class\x3d"postActions js-postActionsFooter"\x3e\x3cdiv class\x3d"u-flexCenter"\x3e\x3cdiv class\x3d"u-flex1"\x3e'+ewa({post:a.post,Od:c,susiEntry:b.j.qa.dz,Vc:!0,meteringInfo:a.meteringInfo},b)+'\x3c/div\x3e\x3cdiv class\x3d"buttonSet u-flex0"\x3e'+(d?"":fwa(a,b))+gwa(a,b);b.isAuthenticated?(a=z.A(z.gm({hk:!0,post:a.post,source:(0,z.M)(""+z.A(z.zi({name:c}))),Jh:e,la:!0},b)),!e||g?(g={}, | |
g=(0,z.y)(z.Pj(z.D({name:"more",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" viewBox\x3d"-480.5 272.5 21 21"\x3e\x3cpath d\x3d"M-463 284.6c.9 0 1.6-.7 1.6-1.6s-.7-1.6-1.6-1.6-1.6.7-1.6 1.6.7 1.6 1.6 1.6zm0 .9c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zm-7-.9c.9 0 1.6-.7 1.6-1.6s-.7-1.6-1.6-1.6-1.6.7-1.6 1.6.7 1.6 1.6 1.6zm0 .9c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zm-7-.9c.9 0 1.6-.7 1.6-1.6s-.7-1.6-1.6-1.6-1.6.7-1.6 1.6.7 1.6 1.6 1.6zm0 .9c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5z"/\x3e\x3c/svg\x3e')}, | |
g))),b=z.A(z.Wk({icon:(0,z.M)(""+z.A(g)),ca:!0,Jh:e,l:"js-moreActionsButton",sb:!0,la:!0,Ff:!0,action:"more-actions",title:(0,z.M)(""+z.A(z.Qea()))},b))):b="",b=a+b):b="";return(0,z.y)(""+(d+b+"\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e"))}; | |
jwa=function(a,b){var c=a.l,d=a.shareKey,e=b.j.Ab.QS,g=!!a.post.sequenceId,c='\x3cdiv class\x3d"postActionsBar '+z.E(z.pm({Xa:"regular"}))+(c?" "+z.E(c):"")+' js-postActionsBar"\x3e\x3cdiv class\x3d"postActionsBar-container container"\x3e';if(b.useragent.isMobile){e={post:a.post,Od:e,meteringInfo:a.meteringInfo,shareKey:d};g=b.isAuthenticated;a='\x3cdiv class\x3d"postActionsBar-content row js-postActionsBarContent"\x3e'+z.A(z.dwa(e,b));if(g){var g='\x3cdiv class\x3d"postActions u-boxShadowNormal u-paddingTop4 u-paddingBottom2"\x3e\x3cdiv class\x3d"container u-maxWidth740 u-flexCenter u-justifyContentSpaceBetween"\x3e'+ | |
iwa(e,b),k="",l=e.post.visibility==b.j.ob.ed,d=""+z.A(z.zi({name:e.Od})),d=(0,z.M)(d);if(l)l="";else{var l=z.A(z.PF({sb:!0,source:d},b))+z.A(z.QF({sb:!0,source:d},b)),q;q=d;var r="",t;t=z.n("Share on SMS");t=(0,z.y)(""+t);t=""+z.A(t);t=(0,z.M)(t);var w;w={};w=(0,z.y)(z.Pj(z.D({name:"sms",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cg fill-rule\x3d"evenodd"\x3e\x3cpath d\x3d"M7.73 20.058c-1.89-1.826-2.754-4.17-2.754-6.674C4.976 8.21 9.33 4 14.9 4 20.47 4 25 8.21 25 13.384c0 5.175-4.53 9.385-10.1 9.385-1.007 0-2-.14-2.95-.41a7.85 7.85 0 0 1-.918.7c-1.306.87-2.716 1.31-4.19 1.31-.276-.01-.494-.14-.6-.36a.625.625 0 0 1 .052-.65c.61-.84 1.042-1.71 1.282-2.58.069-.246.12-.497.154-.75v.029zm3.85 1.324l.083-.28.388.12a9.72 9.72 0 0 0 2.85.424c4.96 0 8.99-3.706 8.99-8.262 0-4.556-4.03-8.263-8.99-8.263-4.95 0-8.77 3.71-8.77 8.27 0 2.25.75 4.35 2.5 5.92l.24.21v.32c0 .07 0 .19-.02.37-.03.29-.1.6-.19.92-.19.7-.49 1.4-.89 2.08.93-.14 1.83-.49 2.67-1.06.34-.22.88-.48 1.16-.74l-.021-.029z"/\x3e\x3cpath d\x3d"M10.622 13.843a.98.98 0 0 0 .144.495c.16.238.445.357.852.357.182 0 .348-.026.498-.078.29-.101.434-.282.434-.542 0-.196-.06-.335-.183-.418-.123-.081-.317-.152-.58-.212l-.487-.11c-.317-.072-.542-.15-.673-.237-.228-.15-.342-.373-.342-.671 0-.323.111-.587.334-.794.223-.206.539-.31.948-.31.376 0 .695.091.958.272.263.182.394.472.394.87h-.456c-.025-.191-.077-.339-.157-.441-.148-.187-.4-.28-.754-.28-.287 0-.492.06-.618.18a.565.565 0 0 0-.188.42.41.41 0 0 0 .22.385c.096.053.313.118.652.196l.503.115c.242.055.43.13.561.227.228.167.342.41.342.73 0 .397-.144.68-.433.852a1.94 1.94 0 0 1-1.007.256c-.446 0-.795-.114-1.048-.342-.252-.226-.376-.533-.37-.92h.456zm3.005-2.43h.696l1.03 3.033 1.023-3.032h.689V15h-.462v-2.117c0-.073.002-.194.005-.363.003-.17.005-.351.005-.545L15.59 15h-.481l-1.03-3.025v.11c0 .088.002.222.006.402.004.18.006.312.006.396V15h-.464v-3.587zm4.495 2.43a.98.98 0 0 0 .144.495c.16.238.445.357.852.357.182 0 .348-.026.498-.078.29-.101.434-.282.434-.542 0-.196-.06-.335-.183-.418-.123-.081-.317-.152-.58-.212l-.487-.11c-.317-.072-.542-.15-.673-.237-.228-.15-.342-.373-.342-.671 0-.323.111-.587.334-.794.223-.206.539-.31.948-.31.376 0 .695.091.958.272.263.182.394.472.394.87h-.456c-.025-.191-.077-.339-.157-.441-.148-.187-.4-.28-.754-.28-.287 0-.492.06-.618.18a.565.565 0 0 0-.188.42.41.41 0 0 0 .22.385c.096.053.313.118.652.196l.503.115c.242.055.43.13.561.227.228.167.342.41.342.73 0 .397-.144.68-.433.852a1.94 1.94 0 0 1-1.007.256c-.446 0-.795-.114-1.048-.342-.252-.226-.376-.533-.37-.92h.456z"/\x3e\x3c/g\x3e\x3c/svg\x3e')}, | |
w)));r+=z.A(z.Wk({icon:(0,z.M)(""+z.A(w)),title:(0,z.M)(""+z.A(t)),ca:!0,la:!0,Ff:!0,action:"share-on-sms",source:q,sb:!0},b));q=(0,z.y)(r);l+=z.A(q)}k+='\x3cdiv class\x3d"buttonSet"\x3e'+l+z.A(z.gm({hk:!0,post:e.post,source:d,la:!0},b))+"\x3c/div\x3e";b=(0,z.y)(k);b=g+b+"\x3c/div\x3e\x3c/div\x3e"}else b="";b=(0,z.y)(""+(a+b+"\x3c/div\x3e"))}else d={post:a.post,Od:e},d=(0,z.y)('\x3cdiv class\x3d"u-floatRight buttonSet"\x3e'+fwa(d,b)+gwa(d,b)+(b.isAuthenticated?z.A(z.gm({hk:!0,post:d.post,source:(0,z.M)(""+ | |
z.A(z.zi({name:d.Od}))),la:!0},b)):"")+"\x3c/div\x3e"),b='\x3cdiv class\x3d"postActionsBar-content row u-boxShadowNormal js-postActionsBarContent"\x3e\x3cdiv class\x3d"postActions'+(g?" u-tintBgColor":"")+'"\x3e\x3cdiv class\x3d"u-height44 u-maxWidth1250 u-marginAuto u-relative'+(g?" u-left100 u-sm-left0":"")+'"\x3e\x3cdiv class\x3d"u-absolute u-right0 u-marginRight20 u-sizeFullHeight u-flexCenter'+(g?" u-sm-size115":"")+'"\x3e\x3cdiv class\x3d"u-floatLeft"\x3e'+d+'\x3c/div\x3e\x3cdiv class\x3d"u-xs-hide u-width255 u-height44 u-floatLeft js-readNextMetabarRight"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"container u-maxWidth740 u-sizeFullHeight u-flexCenter"\x3e'+ | |
iwa({post:a.post,Od:e,meteringInfo:a.meteringInfo},b)+"\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e";return(0,z.y)(""+(c+b+"\x3c/div\x3e\x3c/div\x3e"))};iwa=function(a,b){return(0,z.y)('\x3cdiv class\x3d"buttonSet"\x3e'+ewa({post:a.post,Od:a.Od,susiEntry:b.j.qa.dz,meteringInfo:a.meteringInfo},b)+"\x3c/div\x3e")}; | |
ewa=function(a,b){var c=a.Vc;return(0,z.y)(z.A(z.fm({post:a.post,source:(0,z.M)(""+z.A(z.zi({name:a.Od,postId:a.post.id,susiEntry:a.susiEntry}))),bI:!0,hk:!0,Vc:c,meteringInfo:a.meteringInfo,cCa:!0},b)))}; | |
fwa=function(a,b){var c="",d=a.post.homeCollection,e=(null==a.post.creator?null:a.post.creator.userId)==b.currentUser.userId||z.Xl(b.currentUser)||(null==d?null:null==d.virtuals?null:null==d.virtuals.permissions?null:d.virtuals.permissions.canManageAll),d=""+(d&&a.post.visibility==b.j.ob.Re&&!e?"show-membership-respond-warning":b.supportsEdit&&b.isAuthenticated?"respond":"scroll-to-responses"),d=(0,z.M)(d),c=c+z.A(z.Wk({icon:(0,z.M)(""+z.A(z.Vda())),action:d,source:(0,z.M)(""+z.A(z.zi({name:a.Od}))), | |
ca:!0,sb:!0,la:!0,Ff:!0},b));a=a.post.virtuals.responsesCreatedCount;c+=a?z.A(z.Vk({action:"scroll-to-responses",text:(0,z.M)(""+z.A(z.Kh(Number(a))))},0,b)):"";return(0,z.y)(c)}; | |
gwa=function(a,b){var c="",d=a.post.visibility==b.j.ob.ed,e=""+z.A(z.zi({name:a.Od})),e=(0,z.M)(e);if(d)b="";else{d=z.A(z.PF({sb:!0,source:e,l:"u-xs-hide"},b))+z.A(z.QF({sb:!0,source:e,l:"u-xs-hide"},b));a=a.post;var g;g=z.n("Share this story on Twitter or Facebook");g=(0,z.y)(""+g);e={post:a,source:e,title:(0,z.M)(""+z.A(g)),l:"u-xs-show"};a=""+((null==e.post?null:e.post.visibility)==b.j.ob.ed&&(null==e.post?null:null==e.post.creator?null:e.post.creator.userId)!=b.currentUser.userId?"show-share-warning": | |
"show-share-popover");a=z.ph(a);g={};g=(0,z.y)(z.Pj(z.D({name:"share",size:"29px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"29" height\x3d"29" \x3e\x3cpath d\x3d"M20.385 8H19a.5.5 0 1 0 .011 1h1.39c.43 0 .84.168 1.14.473.31.305.48.71.48 1.142v10.77c0 .43-.17.837-.47 1.142-.3.305-.71.473-1.14.473H8.62c-.43 0-.84-.168-1.144-.473a1.603 1.603 0 0 1-.473-1.142v-10.77c0-.43.17-.837.48-1.142A1.599 1.599 0 0 1 8.62 9H10a.502.502 0 0 0 0-1H8.615c-.67 0-1.338.255-1.85.766-.51.51-.765 1.18-.765 1.85v10.77c0 .668.255 1.337.766 1.848.51.51 1.18.766 1.85.766h11.77c.668 0 1.337-.255 1.848-.766.51-.51.766-1.18.766-1.85v-10.77c0-.668-.255-1.337-.766-1.848A2.61 2.61 0 0 0 20.384 8zm-8.67-2.508L14 3.207v8.362c0 .27.224.5.5.5s.5-.23.5-.5V3.2l2.285 2.285a.49.49 0 0 0 .704-.001.511.511 0 0 0 0-.708l-3.14-3.14a.504.504 0 0 0-.71 0L11 4.776a.501.501 0 0 0 .71.706" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
g)));b=""+z.A(z.Wk({icon:(0,z.M)(""+z.A(g)),ca:!0,sb:!0,la:!0,title:(0,z.M)(""+(e.Zy?"":z.A(e.title))),text:(0,z.M)(""+(e.Zy?z.A(e.title):"")),action:a,source:e.source,l:e.l},b));b=(0,z.y)(b);b=d+z.A(b)}return(0,z.y)(c+b)}; | |
z.kwa=function(a,b,c){b=""+('\x3cdiv class\x3d"u-foreground u-backgroundWhite"\x3e'+z.A(z.AF(z.D({nC:!0},a),0,c))+z.A(jwa(a,c))+'\x3cdiv class\x3d"u-minHeight100vh u-clearfix"\x3e\x3cheader class\x3d"container u-maxWidth740"\x3e\x3cdiv class\x3d"postMetaHeader row u-paddingBottom10"\x3e');var d=""+z.A(Bga(a,c)),d=(0,z.M)(d);b+=(d?'\x3cdiv class\x3d"ui-caption postMetaHeader-socialProof2 col u-size12of12 u-paddingBottom20"\x3e'+z.A(d)+"\x3c/div\x3e":"")+'\x3cdiv class\x3d"col u-size12of12"\x3e'+z.A(z.sm(z.D({vJ:1< | |
a.post.virtuals.readingTime},a),0,c))+'\x3c/div\x3e\x3c/div\x3e\x3c/header\x3e\x3cdiv class\x3d"postArticle-content"\x3e\x3cdiv class\x3d"container u-maxWidth740 u-paddingTop20"\x3e\x3cdiv class\x3d"linePlaceholder linePlaceholder--thick"\x3e\x3c/div\x3e\x3cdiv class\x3d"linePlaceholder linePlaceholder--thick"\x3e\x3c/div\x3e\x3cdiv class\x3d"linePlaceholder linePlaceholder--thick linePlaceholder--truncated"\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e';return(0,z.y)(b)}; | |
z.lwa=function(a,b,c){b='\x3cdiv class\x3d"popover-description"\x3e'+z.A(z.Rea())+"\x3c/div\x3e";var d;d=z.n("Yes, show me sharing options");d=(0,z.y)(""+d);a=""+(b+z.A(z.Uk({s:(0,z.M)(""+z.A(d)),action:"show-share-popover",source:a.source,l:"is-fromWarningPopover"},c)));return(0,z.y)(a)};mwa=function(a,b,c){return(0,z.y)('\x3cdiv class\x3d"popover-description"\x3e'+z.A(Sea(a,c))+"\x3c/div\x3e")}; | |
z.RF=function(a,b){a=a||{};for(var c="",d=(a.meteringInfo?a.meteringInfo.maxUnlockCount:3)+1,e=1;e<d;e++)var g=""+(1<e?"u-marginLeft5":""),g=(0,z.M)(g),k=e,l=a.meteringInfo?!!a.meteringInfo.postIds[e-1]:!0,q=null==a.meteringInfo?null:null==a.meteringInfo.previewImageIds?null:a.meteringInfo.previewImageIds[e-1],r=g,g=(g=b)||{},l=!!l,t="",q=""+z.F(z.Aj({imageId:q?q:"1*gqOHypRwp9HBuHaiSx6kWQ.png",strategy:"crop-fixed",width:40,height:40},0,g)),q=(0,z.L)(q),t=t+('\x3cdiv class\x3d"meterThumbnail u-relative u-width40 u-height40 u-background--brandDust u-borderLightest u-textAlignCenter'+ | |
(r?" "+z.E(r):"")+' u-xs-width32 u-xs-height32 js-meterThumbnail"\x3e'+(l?'\x3cdiv class\x3d"meterThumbnail-image u-absolute0 js-thumbnailImage" style\x3d"'+(g.Aa?"/*"+g.Aa+"*/":"")+"background-image: url('"+z.E(z.Eh(q))+"')\"\x3e\x3c/div\x3e":"")+'\x3cdiv class\x3d"meterThumbnail-text u-absolute0 u-borderBox u-padding5 u-xs-padding6 js-thumbnailText"\x3e'+z.A(k)+"\x3c/div\x3e\x3c/div\x3e"),g=(0,z.y)(t),c=c+g;return(0,z.y)(c)}; | |
z.SF=function(a,b){a=a||{};var c='\x3cdiv class\x3d"meterStars"\x3e\x3cdiv class\x3d"meterStars-count u-textAlignCenter"\x3e'+z.A(a.meteringInfo&&a.meteringInfo.postIds?a.meteringInfo.postIds.length:b.meterConfig.maxUnlockCount)+"\x3c/div\x3e";a=a.meteringInfo?a.meteringInfo.maxUnlockCount:b.meterConfig.maxUnlockCount;b=(0,z.M)(""+(5<a?"u-marginHorizontal12 u-xs-marginHorizontal0":3<a?"u-marginHorizontal24 u-xs-marginHorizontal10":"u-marginHorizontal32 u-xs-marginHorizontal20"));c+='\x3cdiv class\x3d"u-flex0 u-flexCenter u-justifyContentSpaceBetween u-height15 '+ | |
z.E(b)+'"\x3e';a+=1;for(b=1;b<a;b++)c+=(0,z.y)('\x3cdiv class\x3d"meterStars-star u-relative u-textAlignCenter js-meterStar"\x3e'+z.A(z.vk({l:"js-starIcon"}))+"\x3c/div\x3e");return(0,z.y)(c+"\x3c/div\x3e\x3c/div\x3e")}; | |
z.TF=function(a,b){var c="",d=""+z.A(z.zi({postId:a.post.postId,susiEntry:b.j.qa.bka})),d=(0,z.M)(d),e='\x3cdiv class\x3d"postFade u-maxWidth760 u-marginAuto u-xs-sizeFullWidth '+z.E(z.pm({Xa:"regular"}))+' js-paywall"\x3e',g;g=z.D({source:d},a);var k="",l=""+z.F(z.Aj({imageId:"1*[email protected]"},0,b)),l=(0,z.L)(l),l='\x3cdiv class\x3d"u-borderBox u-maxWidth760 u-marginAuto u-padding30 u-flexTop u-borderRadius4 u-boxShadow2px10pxBlackLighter u-xs-hide js-paywall"\x3e'+z.A(z.uA({qc:!0, | |
b1:!0,location:b.j.Yc.PD,postId:null==g.post?null:g.post.id,s:(0,z.M)('\x3cdiv class\x3d"u-flexColumn u-alignItemsCenter u-paddingLeft25 u-paddingRight25 u-paddingTop25 u-marginRight30 u-background--brandDust"\x3e\x3cdiv class\x3d"u-flex0 u-flexCenter u-marginBottom25"\x3e'+(b.variants.enable_star_meter_ui?z.SF(null,b):z.RF(null,b))+'\x3c/div\x3e\x3cimg src\x3d"'+z.E(z.Eh(l))+'" class\x3d"u-width150"\x3e\x3c/div\x3e')},b))+'\x3cdiv class\x3d"u-paddingTop10"\x3e\x3ch1 class\x3d"ui-brand2 u-marginBottom10"\x3e'+ | |
z.A(coa())+'\x3c/h1\x3e\x3cdiv class\x3d"ui-body u-marginBottom16"\x3e',q;q=""+(b.currentUser.hasPastMemberships?"Resume your membership":"Become a member");q=z.ph(q);q=z.n("You’ve reached the end of your free member preview for this month. {$prompt} now for $5/month to read this story and get unlimited access to all of the best stories on {$productName}.",{prompt:z.A(q),productName:z.A(b.productName)});q=(0,z.y)(""+q);l=l+z.A(q)+"\x3c/div\x3e";b.isAuthenticated?q="":(q=z.n("Already a member?"),q= | |
(0,z.y)(""+q),q='\x3cp class\x3d"ui-body u-marginVertical30"\x3e'+z.A(q)+" "+z.A(wA(g,b))+"\x3c/p\x3e");k+=l+q+"\x3cdiv\x3e"+z.A(z.vA(z.D({location:b.j.Yc.PD,post:g.post},g),b))+"\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e";g=(0,z.y)(k);e+=g;a=z.D({source:d},a);k=a.source;d=z.y;g='\x3cdiv class\x3d"u-flexColumn u-alignItemsCenter u-borderRadius4 u-boxShadow2px10pxBlackLighter u-xs-show u-xs-padding20 js-paywall"\x3e\x3cdiv class\x3d"u-flex0 u-flexCenter u-marginBottom20"\x3e'+(b.variants.enable_star_meter_ui? | |
z.SF(null,b):z.RF(null,b))+'\x3c/div\x3e\x3chr class\x3d"homeHr u-xs-marginBottom20" /\x3e\x3ch1 class\x3d"ui-brand2 u-xs-marginBottom10"\x3e'+z.A(coa())+'\x3c/h1\x3e\x3cp class\x3d"ui-body u-xs-marginBottom20"\x3e';b.isAuthenticated?(k=""+(b.currentUser.hasPastMemberships?"Resume your membership":"Upgrade"),k=z.ph(k),k=z.n("You’re out of free exclusive stories for this month. {$prompt} now for $5/month.",{prompt:z.A(k)}),k=(0,z.y)(""+k),k=z.A(k)):(l=""+(b.currentUser.hasPastMemberships?"Resume your membership": | |
"Upgrade"),l=z.ph(l),l=z.n("You’ve reached the end of your free member preview. {$prompt} for unlimited access or",{prompt:z.A(l)}),l=(0,z.y)(""+l),k=z.A(l)+" "+z.A(wA(z.D({post:a.post,Kp:!0,source:k},a),b)));b=d(g+k+'\x3c/p\x3e\x3cdiv class\x3d"u-sizeFullWidth"\x3e'+z.A(z.vA(z.D({location:b.j.Yc.PD,post:a.post,l:"u-sizeFullWidth"},a),b))+"\x3c/div\x3e\x3c/div\x3e");return(0,z.y)(c+(e+b+"\x3c/div\x3e"))}; | |
z.nwa=function(a,b,c){var d=!!a.zea,e=a.Mp;b="";var g=z.n("Learn more about joining the Partner Program"),k=null==a.homeCollection?null:a.homeCollection.virtuals.permissions,l=null!=a.homeCollection,q=c.currentUser.isEnrolledInHightower,r=c.currentUser.userId==(null==a.post?null:a.post.creatorId),t=null==k?null:k.canLockPostsForMediumMembers,w=null==k?null:k.canEnrollInHightower,d="u-paddingTop15 u-paddingBottom10 u-fontSize14 u-lineHeight35 u-textColorNormal u-borderBottom1 u-borderColorLighter u-relative"+ | |
((a.homeCollection?(k.canEnrollInHightower||k.canLockPostsForMediumMembers)&&!e:r&&d)?"":" u-hide")+" js-audience",d=(0,z.M)(d),g=""+z.A(z.N({href:(0,z.L)(""+z.F(z.oj(c))),s:(0,z.M)(""+g),hb:!0},c)),g=(0,z.M)(g),l=!q&&!l||w&&!t;b+=l&&c.variants.enable_prepublish_flow_2_inline_visibility?"":'\x3cdiv class\x3d"'+z.E(d)+'"\x3e\x3cdiv class\x3d"u-flex"\x3e\x3cdiv class\x3d"u-flex0 u-flexAlignSelfCenter"\x3e'+(l?z.A(g):"")+"\x3c/div\x3e"+(l?"":'\x3cdiv class\x3d"u-flex0 u-flexAlignSelfCenter u-marginLeft5"\x3e'+ | |
z.A(z.Wk({action:"show-visibility-popover",l:"js-audienceSelector",text:(0,z.M)(""+z.A(z.efa(a,0,c))),ca:!0,icon:(0,z.M)(""+z.A(z.Qj(null))),Fd:!0},c))+"\x3c/div\x3e")+"\x3c/div\x3e\x3c/div\x3e";return(0,z.y)(b)}; | |
owa=function(a,b){var c="",d=z.n("Get Medium on Google Play"),e;e=z.ph("email-maxWidth135 email-maxHeight40 email-maxWidth35pct");c+=z.A(z.dl({href:(0,z.L)("https://play.google.com/store/apps/details?id\x3dcom.medium.reader\x26referrer\x3dutm_source%3Demail_"+wh(a.location)),s:(0,z.M)('\x3cimg src\x3d"'+z.E(z.Eh(z.Aj({imageId:"1*[email protected]"},0,b)))+'" class\x3d"'+z.E(a.w0||e)+'" alt\x3d"'+z.qh(d)+'"\x3e'),l:a.i1},b));return(0,z.y)(c)}; | |
pwa=function(a,b){var c="",d=z.n("Get Medium on the App Store"),e;e=z.ph("email-maxWidth135 email-maxHeight40 email-maxWidth35pct");c+=z.A(z.dl({href:(0,z.L)("https://itunes.apple.com/app/medium-everyones-stories/id828256236?pt\x3d698524\x26mt\x3d8\x26ct\x3demail_"+wh(a.location)),s:(0,z.M)('\x3cimg src\x3d"'+z.E(z.Eh(z.Aj({imageId:"1*[email protected]"},0,b)))+'" class\x3d"'+z.E(a.w0||e)+'" alt\x3d"'+z.qh(d)+'"\x3e'),l:a.i1},b));return(0,z.y)(c)}; | |
z.UF=function(){var a=z.n("(disconnect)");return(0,z.y)(""+a)};z.VF=function(){var a=z.n("How do I disconnect?");return(0,z.y)(""+a)}; | |
z.WF=function(a,b,c){a=a||{};b=z.y;if(a.facebookAccount&&a.facebookAccount.name){var d='\x3cdiv class\x3d"u-flex0 u-marginRight10 u-textAlignRight"\x3e\x3cdiv class\x3d"u-fontSize14 u-fontWeightBold u-lineHeightTight u-maxWidth150 u-textColorDark"\x3e'+z.A(a.facebookAccount.name)+"\x3c/div\x3e";c=(0,z.y)(z.A(z.Vk({text:(0,z.M)(""+z.A(z.UF())),action:"disconnect-facebook",l:(0,z.M)("button--disconnect button--dangerHover "+(c.currentUser.isVerified?"":"u-hide ")+"js-facebookDisconnect")},0,c))+z.A(z.Vk({text:(0,z.M)(""+ | |
z.A(z.VF())),action:"help-disconnect",l:(0,z.M)("button--disconnect "+(c.currentUser.isVerified?"u-hide ":"")+"js-disconnectFacebookHelp")},0,c)));c=d+c+'\x3c/div\x3e\x3cimg class\x3d"u-flex0 u-size32x32 u-borderRadius4" src\x3d"'+z.E(z.Eh(a.facebookAccount.image.url))+'"\x3e'}else a=a.permissions,d=z.n("Connect your Facebook account to {$productName}",{productName:z.A(c.productName)}),d=(0,z.y)(""+d),c=z.A(z.Wk({action:"connect-facebook",pba:a,title:(0,z.M)(""+z.A(d)),icon:(0,z.M)(""+z.A(z.pk())), | |
l:"button--facebook button--signin js-facebookButton",text:(0,z.M)(""+z.A(z.wda()))},c));return b('\x3cdiv class\x3d"u-flexCenter js-facebookActions"\x3e'+c+"\x3c/div\x3e")}; | |
z.XF=function(a,b,c){a=a||{};b=z.y;if(a.twitterAccount&&a.twitterAccount.username){var d='\x3cdiv class\x3d"u-flex0 u-marginRight10 u-textAlignRight"\x3e\x3cdiv class\x3d"u-fontSize14 u-fontWeightBold u-lineHeightTight u-maxWidth150 u-textColorDark"\x3e@'+z.A(a.twitterAccount.username)+"\x3c/div\x3e";c=(0,z.y)(z.A(z.Vk({text:(0,z.M)(""+z.A(z.UF())),action:"disconnect-twitter",l:(0,z.M)("button--disconnect button--dangerHover "+(c.currentUser.isVerified?"":"u-hide ")+"js-twitterDisconnect")},0,c))+ | |
z.A(z.Vk({text:(0,z.M)(""+z.A(z.VF())),action:"help-disconnect",l:(0,z.M)("button--disconnect "+(c.currentUser.isVerified?"u-hide ":"")+"js-disconnectTwitterHelp")},0,c)));c=d+c+'\x3c/div\x3e\x3cimg class\x3d"u-flex0 u-size32x32 u-borderRadius4" src\x3d"'+z.E(z.Eh(a.twitterAccount.image.url))+'"\x3e'}else a=z.n("Connect your Twitter account to {$productName}",{productName:z.A(c.productName)}),a=(0,z.y)(""+a),c=z.A(z.Wk({action:"connect-twitter",title:(0,z.M)(""+z.A(a)),icon:(0,z.M)(""+z.A(z.xk(null))), | |
l:"button--twitter button--signin js-twitterButton",text:(0,z.M)(""+z.A(z.yda()))},c));return b('\x3cdiv class\x3d"u-flexCenter js-twitterActions"\x3e'+c+"\x3c/div\x3e")}; | |
z.$F=function(a,b,c){var d,e="";switch(z.sa(d=null==a.promo?null:a.promo.promoId)?d.toString():d){case "sidebar_connect_other_service":var g=e,k,l="";if(!c.currentUser.twitterScreenName||!c.currentUser.facebookDisplayName){var q=""+z.A(Zna({title:(0,z.M)(""+z.A(cda(c))),Gg:(0,z.M)(""+YF(a,c)),uea:!0},c)),q=(0,z.M)(q),r=c.currentUser.twitterScreenName?"Facebook":"Twitter",t=l,w,C=z.n("Connect your {$serviceName} account to see more stories your friends are reading and writing.",{serviceName:z.A(r)}); | |
w=(0,z.y)(""+C);l=t+ZF(z.D({U0:!0,tda:!0,l2:(0,z.M)(""+z.A(w)),VO:q,vba:(0,z.M)('\x3cdiv class\x3d"buttonSet buttonSet--vertical"\x3e'+("Facebook"==r?z.A(z.WF({source:"sidebar_connect_promo"},0,c)):z.A(z.XF({source:"sidebar_connect_promo"},0,c)))+"\x3c/div\x3e")},a),c)}k=(0,z.y)(l);e=g+k;break;case "sidebar_start_writing_tnt":var J=e,Q,R="",S=""+z.A(Zna({title:(0,z.M)(""+z.A(cda(c))),Gg:(0,z.M)(""+YF(a,c)),uea:!0},c)),S=(0,z.M)(S),ba=R,X,Fa=z.n("Anyone can write on {$productName}.",{productName:z.A(c.productName)}); | |
X=(0,z.y)(""+Fa);var Ra=(0,z.M)(""+z.A(X)),mb,Ib=z.n("Start writing");mb=(0,z.y)(""+Ib);R=ba+ZF(z.D({U0:!0,l2:Ra,buttonText:(0,z.M)(""+z.A(mb)),Nb:!0,Le:(0,z.L)(""+z.F(z.Ii(c))),href:(0,z.L)(""+z.F(z.Ii(c))),VO:S},a),c);Q=(0,z.y)(R);e=J+Q;break;case "home_hero_conversion":var ya=e,Gb,sb=c,sb=sb||{},Fb="",Jb=z.n("We’ll deliver the best stories and ideas on the topics you care about most straight to your homepage, app, or inbox."),Wc=z.n("Welcome to Medium, where words matter."),ib=""+z.zi({name:sb.j.Ab.Av, | |
userId:sb.currentUser.userId,promoId:a.promo.promoId,susiEntry:sb.j.qa.ND}),ib=z.ph(ib),gd=""+z.F(z.Aj({imageId:"1*TckFXfkU_bg0aADPYR_t7Q.png",strategy:"resample"},0,sb)),gd=(0,z.L)(gd),sd=Fb,ua='\x3cdiv class\x3d"u-flex u-background--brandSageLighter u-marginAuto u-marginTop40 extreme-container12col u-sm-margin0 u-xs-margin0 promo-'+z.E(a.promo.promoId)+' js-promo" data-promo-id\x3d"'+z.E(a.promo.promoId)+'"\x3e\x3cdiv class\x3d"u-sizeHalfWidth u-xs-sizeFullWidth u-borderBox u-padding40 u-sm-padding40 u-xs-padding20"\x3e\x3cdiv class\x3d"'+ | |
z.E(z.pm({Xa:"regular"}))+'"\x3e\x3cdiv class\x3d"ui-brand1 u-marginBottom8"\x3e'+Wc+'\x3c/div\x3e\x3cdiv class\x3d"ui-body u-marginBottom40 u-xs-marginBottom20"\x3e'+Jb+'\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"buttonSet u-inlineBlock"\x3e',Pc=(0,z.L)(""+z.F(z.Li({url:(0,z.L)(""+z.F(z.Gi(null,sb))),source:ib},sb))),jc=a.promo.promoId,Cc,bd=z.n("Get started");Cc=(0,z.y)(""+bd);var cd=ua+z.A(z.N({Ra:!0,ld:!0,la:!0,Nb:!0,href:Pc,qc:!0,Bd:"promo-clicked",actionValue:jc,s:(0,z.M)(""+z.A(Cc))},sb)),Xd= | |
(0,z.L)(""+z.F(z.Li({url:(0,z.L)(""+z.F(z.Zi(sb))),source:ib},sb))),rb=a.promo.promoId,Kb,Rc=z.n("Learn more");Kb=(0,z.y)(""+Rc);Fb=sd+(cd+z.A(z.N({Ra:!0,la:!0,href:Xd,qc:!0,Bd:"promo-clicked",actionValue:rb,s:(0,z.M)(""+z.A(Kb))},sb))+'\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"u-sizeHalfWidth u-backgroundContain u-xs-hide" style\x3d"'+(sb.Aa?"/*"+sb.Aa+"*/":"")+"background-image:url("+z.E(z.Eh(gd))+'); background-position: bottom right;"\x3e\x3c/div\x3e'+(a.promo.isDismissable&&sb.isAuthenticated? | |
YF(a,sb):"")+'\x3c/div\x3e\x3cstyle class\x3d"js-promoStyle"'+(sb.Aa?' nonce\x3d"'+sb.Aa+'"':"")+"\x3e"+qwa(a)+"\x3c/style\x3e");Gb=(0,z.y)(Fb);e=ya+Gb;break;default:var ge=e,he,Sb=c,ef,Sb=Sb||{},ld="",ec=Sb.j.mka,Me=Sb.j.L5;if(a.promo){var Gc=""+z.A(z.zi({name:Sb.j.Ab.Av,dimension:a.promo.location,promoId:a.promo.promoId,userId:a.userId?a.userId:null==Sb.currentUser?null:Sb.currentUser.userId})),Gc=(0,z.M)(Gc),ag=a.promo.location==ec.z4||a.promo.location==ec.e6||a.promo.location==ec.f6,Hc=""+(a.promo.imageId? | |
z.F(z.Aj({imageId:a.promo.imageId,strategy:ag?"":"resample"},0,Sb)):""),Hc=(0,z.L)(Hc),ff=zw(a.promo.backgroundColor),gf=a.promo.fontFamily==Me.v4,vc=""+(a.promo.headerFontSize>Sb.j.lka.Regular?z.A(z.pm({Xa:"large"})):z.A(z.pm({Xa:"regular"}))),vc=(0,z.M)(vc),wc;wc=(0,z.M)(""+(gf?"ui-brand1":"ui-h2 ui-xs-h3"));var Ld;Ld=(0,z.M)("ui-body");var Xb=z.D({source:Gc},a),Md=Sb,ie='\x3cdiv class\x3d"u-marginTop20 u-flex"\x3e';if(Xb.promo.ctaUrl&&Xb.promo.ctaText)var yf=-1!=(""+Xb.promo.ctaUrl).indexOf("/upgrade"), | |
ie=ie+(yf?z.A(z.N({Ra:!0,ld:Xb.promo.buttonFill,href:(0,z.L)(""+z.F(z.lj({location:Md.j.Yc.Av,promoId:Xb.promo.promoId},Md))),qc:!0,s:Xb.promo.ctaText,l:"js-upgradeMembershipAction"},Md)):z.A(z.N({Ra:!0,ld:Xb.promo.buttonFill,href:(0,z.L)(""+z.F(z.Li({url:Xb.promo.ctaUrl,source:Xb.source},Md))),qc:!0,Bd:"promo-clicked",actionValue:Xb.promo.promoId,s:Xb.promo.ctaText},Md)));if(Xb.promo.secondaryCtaUrl&&Xb.promo.secondaryCtaText)var Ne=-1!=(""+Xb.promo.secondaryCtaUrl).indexOf("/upgrade"),ie=ie+(Ne? | |
z.A(z.N({Ra:!0,href:(0,z.L)(""+z.F(z.lj({location:Md.j.Yc.Av,promoId:Xb.promo.promoId},Md))),qc:!0,s:Xb.promo.secondaryCtaText,l:"u-marginLeft10 secondaryPromoButton js-upgradeMembershipAction"},Md)):z.A(z.N({Ra:!0,href:(0,z.L)(""+z.F(z.Li({url:Xb.promo.secondaryCtaUrl,source:Xb.source},Md))),qc:!0,Bd:"promo-clicked",actionValue:Xb.promo.promoId,s:Xb.promo.secondaryCtaText,l:"u-marginLeft10 secondaryPromoButton"},Md)));var dd=""+(0,z.y)(ie+"\x3c/div\x3e"),dd=(0,z.M)(dd),xc="";switch(z.sa(ef=a.promo.location)? | |
ef.toString():ef){case ec.p4:var Yb=xc,Yd,fc=z.D({Ve:Hc,Ty:vc,by:wc,wx:Ld,np:dd},a),hf=Sb,Lf="",mc=fc.Ve&&fc.promo.layout==hf.j.$S.cT,Lb=""+(fc.Ve||fc.promo.backgroundColor?'style\x3d"'+(fc.Ve&&!mc?"background-image:url("+z.E(z.Eh(fc.Ve))+");":"")+(fc.promo.backgroundColor?" background-color:"+z.E(z.G(fc.promo.backgroundColor))+";":"")+'"':""),Lb=(0,z.$k)(Lb),Lf=Lf+('\x3cdiv class\x3d"extremePromo'+(mc?" u-flex u-justifyContentSpaceBetween":fc.Ve&&!fc.promo.backgroundRepeat?" u-backgroundCover u-backgroundNoRepeat": | |
"")+" promo-"+z.E(fc.promo.promoId)+' js-promo"'+(Lb?" "+z.rh(Lb):"")+'data-promo-id\x3d"'+z.E(fc.promo.promoId)+'"\x3e\x3cdiv class\x3d"'+(mc?"u-flex1":"")+" "+z.E(fc.Ty)+'"\x3e'+(fc.promo.header?'\x3cdiv class\x3d"u-marginBottom10 '+z.E(fc.by)+'"\x3e'+z.A(fc.promo.header)+"\x3c/div\x3e":"")+(fc.promo.description?'\x3cdiv class\x3d"u-marginBottom20 '+z.E(fc.wx)+'"\x3e'+z.A(fc.promo.description)+"\x3c/div\x3e":"")+(fc.np?z.A(fc.np):"")+"\x3c/div\x3e"+(mc?'\x3cimg class\x3d"u-flex0 u-flexAlignSelfCenter u-maxWidth50pct" src\x3d"'+ | |
z.E(z.Eh(fc.Ve))+'"\x3e':"")+(fc.promo.isDismissable&&hf.isAuthenticated?YF(fc,hf):"")+"\x3c/div\x3e");Yd=(0,z.y)(Lf);xc=Yb+Yd;break;case ec.O4:var jf=xc,je,cb=z.D({Ve:Hc,Ty:vc,by:wc,wx:Ld,np:dd},a),zf=Sb,Mf="",kf=cb.Ve&&cb.promo.layout==zf.j.$S.cT,Zd=""+(cb.Ve||cb.promo.backgroundColor?'style\x3d"'+(cb.Ve&&!kf?"background-image:url("+z.E(z.Eh(cb.Ve))+");":"")+(cb.promo.backgroundColor?" background-color:"+z.E(z.G(cb.promo.backgroundColor))+";":"")+'"':""),Zd=(0,z.$k)(Zd),Mf=Mf+('\x3cdiv class\x3d"extremePromo'+ | |
(kf?" u-flex u-justifyContentSpaceBetween":cb.Ve&&!cb.promo.backgroundRepeat?" u-backgroundCover u-backgroundNoRepeat":"")+" promo-"+z.E(cb.promo.promoId)+' js-promo"'+(Zd?" "+z.rh(Zd):"")+' data-promo-id\x3d"'+z.E(cb.promo.promoId)+'"\x3e\x3cdiv class\x3d"'+(kf?"u-flex1":"")+" "+z.E(cb.Ty)+'"\x3e'+(cb.promo.header?'\x3cdiv class\x3d"u-marginBottom10 '+z.E(cb.by)+'"\x3e'+z.A(cb.promo.header)+"\x3c/div\x3e":"")+(cb.promo.description?'\x3cdiv class\x3d"u-marginBottom20 '+z.E(cb.wx)+'"\x3e'+z.A(cb.promo.description)+ | |
"\x3c/div\x3e":"")+(cb.np?z.A(cb.np):"")+"\x3c/div\x3e"+(kf?'\x3cimg class\x3d"u-flex0 u-flexAlignSelfCenter u-maxWidth50pct" src\x3d"'+z.E(z.Eh(cb.Ve))+'"\x3e':"")+(cb.promo.isDismissable&&zf.isAuthenticated?YF(cb,zf):"")+"\x3c/div\x3e");je=(0,z.y)(Mf);xc=jf+je;break;case ec.N4:var md=xc,rc,gb=z.D({Ve:Hc,Ty:vc,by:wc,wx:Ld,np:dd},a),td=Sb,ke="",nc=gb.promo.backgroundColor&&!gb.Ve||gb.Ve&&gb.promo.backgroundRepeat,Pa=gb.Ve&&gb.promo.layout==td.j.$S.cT,yc=""+(gb.Ve||gb.promo.backgroundColor?'style\x3d"'+ | |
(gb.Ve&&!Pa?"background-image:url("+z.E(z.Eh(gb.Ve))+");":"")+(gb.promo.backgroundColor?" background-color:"+z.E(z.G(gb.promo.backgroundColor))+";":"")+'"':""),yc=(0,z.$k)(yc),ke=ke+('\x3cdiv class\x3d"u-relative promo-'+z.E(gb.promo.promoId)+' js-promo"'+(nc?'style\x3d"'+(gb.promo.backgroundColor?"background-color:"+z.E(z.G(gb.promo.backgroundColor))+";":"")+(gb.Ve?"background-image:url("+z.E(z.Eh(gb.Ve))+");":"")+'"':"")+'data-promo-id\x3d"'+z.E(gb.promo.promoId)+'"\x3e\x3cdiv class\x3d"u-minHeight250 u-sm-minHeight150 u-sizeFullWidth extreme-container12col u-marginAuto u-paddingTop50 u-paddingBottom50 u-sm-paddingTop30 u-sm-paddingBottom30'+ | |
(Pa?" u-flex u-justifyContentSpaceBetween":" u-flexColumn"+(gb.Ve&&!gb.promo.backgroundRepeat?" u-backgroundCover u-backgroundNoRepeat u-xs-backgroundImageNone":""))+'"'+(yc?" "+z.rh(yc):"")+'\x3e\x3cdiv class\x3d"u-flex1 u-maxWidth600 u-paddingRight20'+(nc?"":" u-marginLeft30")+" "+z.E(gb.Ty)+' u-sm-marginLeft30"\x3e'+(gb.promo.header?'\x3cdiv class\x3d"'+z.E(gb.by)+'"\x3e'+z.A(gb.promo.header)+"\x3c/div\x3e":"")+(gb.promo.description?'\x3cdiv class\x3d"u-marginTop10 '+z.E(gb.wx)+'"\x3e'+z.A(gb.promo.description)+ | |
"\x3c/div\x3e":"")+(gb.np?z.A(gb.np):"")+"\x3c/div\x3e"+(Pa?'\x3cimg class\x3d"u-flex0 u-flexAlignSelfCenter u-maxWidth50pct" src\x3d"'+z.E(z.Eh(gb.Ve))+'"\x3e':"")+"\x3c/div\x3e"+(gb.promo.isDismissable&&td.isAuthenticated?YF(gb,td):"")+"\x3c/div\x3e");rc=(0,z.y)(ke);xc=md+rc;break;case ec.EK:var le=xc,lf,Zc=a.promo,De=Hc,mf=vc,$d=dd;lf=(0,z.y)('\x3cdiv class\x3d"u-sizeFull u-padding30 u-borderBox u-flexColumn u-borderRadius4 promo-'+z.E(Zc.promoId)+" js-promo"+(De&&!Zc.backgroundRepeat?" u-backgroundCover u-backgroundNoRepeat": | |
"")+'"'+(De||Zc.backgroundColor?'style\x3d"'+(De?"background-image:url("+z.E(z.Eh(De))+");":"")+(Zc.backgroundColor?" background-color:"+z.E(z.G(Zc.backgroundColor))+";":"")+'"':"")+'data-promo-id\x3d"'+z.E(Zc.promoId)+'"\x3e\x3cdiv class\x3d"'+z.E(mf)+' js-promoText"\x3e'+(Zc.header?'\x3ch1 class\x3d"'+z.E(wc)+' js-promoHeader"\x3e'+z.A(Zc.header)+"\x3c/h1\x3e":"")+(Zc.description?'\x3cp class\x3d"u-marginTop10 '+z.E(Ld)+' js-promoDescription"\x3e'+z.A(Zc.description)+"\x3c/p\x3e":"")+($d?z.A($d): | |
"")+"\x3c/div\x3e\x3c/div\x3e");xc=le+lf;break;case ec.z4:case ec.e6:case ec.f6:var Nd=xc,Dd,Bb=a.promo,Sc=Gc,ud=Hc,nf=Sb,nf=nf||{},Od="";if(Bb.header||Bb.description||Bb.ctaText){Od+='\x3ctable class\x3d"promo-'+z.E(Bb.promoId)+' email-marginBottom20 email-fillWidth"\x3e\x3ctr\x3e\x3ctd class\x3d"email-paddingLeft30 email-paddingRight30 email-paddingTop50 email-paddingBottom50 email-xs-paddingLeft10 email-xs-paddingRight10"\x3e\x3cdiv class\x3d"'+(zw(Bb.backgroundColor)?"email-textColorDarker":"email-textWhite")+ | |
" "+(Bb.fontFamily==nf.j.L5.v4?"email-serif":"email-sansSerif")+'"\x3e'+(Bb.header?'\x3cdiv class\x3d"email-bold email-lineHeightTighter email-fontSize'+z.E(Bb.headerFontSize||"44")+'"\x3e'+z.A(Bb.header)+"\x3c/div\x3e":"")+(Bb.description?'\x3cdiv class\x3d"email-marginTop20 email-lineHeightTight email-fontSize'+z.E(Bb.descriptionFontSize||"24")+'"\x3e'+z.A(Bb.description)+"\x3c/div\x3e":"");if(Bb.ctaUrl)var vd=""+z.F(z.Li({url:Bb.ctaUrl,source:Sc},nf)),vd=(0,z.L)(vd),Od=Od+('\x3ca href\x3d"'+z.E(z.F(vd))+ | |
'" class\x3d"email-button email-marginTop20 '+(zw(Bb.buttonColor)?"email-textColorDarker":"email-textWhite")+'"\x3e'+z.A(Bb.ctaText)+"\x3c/a\x3e");Od+="\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e"}else Bb.imageId&&(Od+='\x3cdiv class\x3d"promo-'+z.E(Bb.promoId)+' email-marginBottom20 email-fillWidth"\x3e\x3cimg class\x3d"promo-onlyImage email-fillWidth" src\x3d"'+z.E(z.Eh(ud))+'"\x3e\x3c/img\x3e\x3c/div\x3e');var ae=Od,Ng='\x3cstyle class\x3d"js-promoStyle"'+(nf.Aa?' nonce\x3d"'+nf.Aa+'"':"")+ | |
"\x3e",Oe;Oe=(0,z.Dj)((Bb.backgroundColor?".promo-"+z.G(Bb.promoId)+" {background-color: "+z.G(Bb.backgroundColor)+";}":"")+(ud?Bb.header||Bb.description||Bb.ctaText?".promo-"+z.G(Bb.promoId)+" {background-image:url("+z.Eh(ud)+");"+(Bb.backgroundRepeat?"":"background-repeat: no-repeat; background-size: cover; background-position: center;")+"}":".promo-"+z.G(Bb.promoId)+" .promo-onlyImage {display: block; margin: auto;}":"")+(Bb.buttonColor?".promo-"+z.G(Bb.promoId)+" .email-button, .promo-"+z.G(Bb.promoId)+ | |
" .email-button:hover {"+(Bb.buttonFill?"background-color: "+z.G(Bb.buttonColor)+" !important;":"background-color: transparent !important; color: "+z.G(Bb.buttonColor)+" !important;")+"border: 1px solid "+z.G(Bb.buttonColor)+" !important;}":""));Od=ae+(Ng+Oe+"\x3c/style\x3e");Dd=(0,z.y)(Od);xc=Nd+Dd;break;case ec.sia:var Zb=xc,oc;if(a.emailType!=Sb.j.I4.ula&&a.emailType!=Sb.j.I4.tla){var te,Nc=a,Pe=Sb,Nc=Nc||{},Ed="",Nf=z.n("An app meticulously crafted for people who love to read. It’s the perfect companion for wherever your day takes you."), | |
Of=z.n("Lose yourself in the story"),Ed=Ed+('\x3cdiv class\x3d"email-backgroundGreen email-textWhite email-marginBottom40 email-padding15 email-boxShadow"\x3e\x3cdiv class\x3d"email-fontSize24 email-bold email-marginBottom15"\x3e'+Of+'\x3c/div\x3e\x3cdiv class\x3d"email-fontSize14 email-marginBottom15"\x3e'+Nf+'\x3c/div\x3e\x3cdiv\x3e\x3cdiv class\x3d"email-fontSize12 email-marginBottom5"\x3eDownload the app at:\x3c/div\x3e'+z.A(pwa(z.D({i1:"email-marginRight15",location:"promo"},Nc),Pe))+z.A(owa(z.D({location:"promo"}, | |
Nc),Pe))+"\x3c/div\x3e\x3c/div\x3e");te=(0,z.y)(Ed);oc=z.A(te)}else{var Ee,zc=Sb,Ic=null,Ic=Ic||{},Af="",ch=z.n("An app meticulously crafted for people who love to read."),bg=z.n("Take {$productName} with you everywhere you go.",{productName:z.A(zc.productName)}),cg=""+z.F(z.Aj({imageId:"1*F3NH2P-cUp0rgq3izfO4iQ.png",strategy:"resample",width:150,gQ:!0},0,zc)),cg=(0,z.L)(cg),Af=Af+('\x3cdiv class\x3d"email-backgroundRose email-padding50 email-marginBottom30 email-xs-padding20"\x3e\x3ctable\x3e\x3ctr\x3e\x3ctd class\x3d"email-verticalAlignTop email-maxFillWidth"\x3e\x3cdiv class\x3d"email-fontSize24 email-bold email-paddingBottom20"\x3e'+ | |
bg+'\x3c/div\x3e\x3cdiv class\x3d"email-font16 email-paddingBottom30"\x3e'+ch+"\x3c/div\x3e\x3cdiv\x3e"+z.A(pwa(z.D({location:"promo",i1:"email-marginRight10",w0:"email-maxWidth135 email-maxHeight40 email-maxWidth45pct"},Ic),zc))+z.A(owa(z.D({location:"promo",w0:"email-maxWidth135 email-maxHeight40 email-maxWidth45pct"},Ic),zc))+'\x3c/div\x3e\x3c/td\x3e\x3ctd class\x3d"email-paddingLeft20 email-paddingTop0 email-paddingRight0 email-paddingBottom0"\x3e\x3cimg src\x3d"'+z.E(z.Eh(cg))+'" alt\x3d"Screenshot of '+ | |
z.E(zc.productName)+' app"/\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3c/div\x3e');Ee=(0,z.y)(Af);oc=z.A(Ee)}xc=Zb+oc;break;case ec.Vka:case ec.Wka:var Oh=xc,Pd,wd={promo:a.promo,Ve:Hc,ABa:ff,Ty:vc,by:wc,wx:Ld,np:dd},vh=Sb,Bf=wd.Ve,aj=!!wd.ABa,Df=wd.Ty,wg=wd.by,Qg=wd.wx,bj=wd.np,Qd="",Gd=""+(Bf||wd.promo.backgroundColor?'style\x3d"'+(Bf?"background-image:url("+z.E(z.Eh(Bf))+");":"")+(wd.promo.backgroundColor?" background-color:"+z.E(z.G(wd.promo.backgroundColor))+";":"")+'"':""),Gd=(0,z.$k)(Gd),Qd= | |
Qd+('\x3cdiv class\x3d"container u-relative u-marginTop20 u-marginBottom20 u-paddingTop40 u-paddingBottom40 u-maxWidth1000'+(Bf&&!wd.promo.backgroundRepeat?" u-backgroundCover u-backgroundNoRepeat":"")+" u-xs-paddingTop20 u-xs-paddingBottom20 promo-"+z.E(wd.promo.promoId)+' js-promo"'+(Gd?" "+z.rh(Gd):"")+'data-promo-id\x3d"'+z.E(wd.promo.promoId)+'"\x3e\x3cdiv class\x3d"u-paddingLeft10 u-paddingRight10 '+z.E(Df)+' u-xs-padding0"\x3e'+(wd.promo.header?'\x3cdiv class\x3d"u-marginBottom10 '+z.E(wg)+ | |
'"\x3e'+z.A(wd.promo.header)+"\x3c/div\x3e":"")+(wd.promo.description?'\x3cdiv class\x3d"u-marginBottom20 '+(aj?" u-textColorNormal":"")+" "+z.E(Qg)+'"\x3e'+z.A(wd.promo.description)+"\x3c/div\x3e":"")+(bj?z.A(bj):"")+"\x3c/div\x3e"+(wd.promo.isDismissable&&vh.isAuthenticated?YF(wd,vh):"")+"\x3c/div\x3e");Pd=(0,z.y)(Qd);xc=Oh+Pd;break;default:xc+=ZF(z.D({source:Gc,title:a.promo.header,l2:a.promo.description,buttonText:a.promo.ctaText,$da:a.promo.location==ec.N4,qea:a.promo.location==ec.O4||ec.p4, | |
U0:a.promo.location==ec.Jka,la:ff},a),Sb)}xc=(0,z.M)(xc);ld+=(a.promo.ctaUrl&&!a.promo.ctaText?'\x3ca href\x3d"'+z.E(z.F(z.Li({url:a.promo.ctaUrl,source:Gc},Sb)))+'" data-action\x3d"promo-clicked" data-action-value\x3d"'+z.E(a.promo.promoId)+'"\x3e'+z.A(xc)+"\x3c/a\x3e":z.A(xc))+(!ag&&a.promo.buttonColor?'\x3cstyle class\x3d"js-promoStyle"'+(Sb.Aa?' nonce\x3d"'+Sb.Aa+'"':"")+"\x3e"+qwa(a)+"\x3c/style\x3e":"")}he=(0,z.y)(ld);e=ge+he}return(0,z.y)(e)}; | |
qwa=function(a){var b="",c=!!a.promo.buttonColor&&zw(a.promo.buttonColor),d=null==a.promo.colorPalette?null:a.promo.colorPalette.defaultBackgroundSpectrum,b=b+(".promo-"+z.G(a.promo.promoId)+" .button {"+(a.promo.buttonFill?"":"color: "+z.G(a.promo.buttonColor)+";")+"border-color: "+z.G(a.promo.buttonColor)+";}.promo-"+z.G(a.promo.promoId)+" .button:hover {");if(d)var e="#"+z.xw(d,.2),b=b+("border-color: "+z.G(e)+";");b+="}.promo-"+z.G(a.promo.promoId)+" .button.secondaryPromoButton {color: "+z.G(a.promo.buttonColor)+ | |
";}.promo-"+z.G(a.promo.promoId)+" .button.secondaryPromoButton:hover {";d&&(e="#"+z.xw(d,.2),b+="color: "+z.G(e)+";");b+="}.promo-"+z.G(a.promo.promoId)+" .button--filled {background: "+z.G(a.promo.buttonColor)+";"+(c?"color: rgba(0, 0, 0, 0.6);":"color: rgba(255, 255, 255, .97);")+"}.promo-"+z.G(a.promo.promoId)+" .button--filled:hover {";d&&(a="#"+z.xw(d,.2),b+="background: "+z.G(a)+";"+(c?"color: rgba(0, 0, 0, 0.8);":""));return(0,z.Dj)(b+"}")}; | |
ZF=function(a,b){var c=z.y;a=z.D({qf:(0,z.M)('\x3cdiv class\x3d"promo-contentWrapper'+(a.qea?"":" container u-maxWidth740")+'"\x3e\x3cdiv class\x3d"promo-content"\x3e'+(a.VO?z.A(a.VO):"")+(a.title?'\x3ch1 class\x3d"promo-title"\x3e'+z.A(a.title)+"\x3c/h1\x3e":"")+'\x3cp class\x3d"promo-text"\x3e'+z.A(a.l2)+"\x3c/p\x3e"+(a.href&&a.promo.ctaText?z.A(z.N({Ra:!0,ld:!0,href:(0,z.L)(""+z.F(z.Li({url:a.href,source:(0,z.M)("promo-"+z.A(b.currentUser.userId)+"-"+z.A(a.promo.promoId))},b))),Nb:a.Nb,Le:a.Le, | |
Bd:"promo-clicked",actionValue:a.promo.promoId,s:a.buttonText},b)):"")+(a.vba?z.A(a.vba):"")+"\x3c/div\x3e\x3c/div\x3e")},a);var d="",e=""+(a.promo.imageId?z.F(z.Aj({imageId:a.promo.imageId,strategy:"resample",width:a.LTa},0,b)):""),e=(0,z.L)(e),d=d+('\x3cdiv class\x3d"promo'+(a.$da?" promo--hero u-xs-backgroundImageNone":"")+(a.BBa?" u-maxWidth1000 u-marginAuto promo--catalogHomeHero":"")+(a.U0?" promo--sidebar":"")+(a.qea?" promo--stream container u-maxWidth740 u-paddingTop10 u-paddingBottom10": | |
"")+(a.bWa?" is-darkBackgrounded":"")+(a.la?" u-textColorNormal":"")+(a.tda?" u-sm-hide":"")+(a.CR?" u-sm-show":"")+(a.IVa?" u-xs-hide":"")+(a.l?" "+z.E(a.l):"")+' js-promo"'+(e||a.backgroundColor?'style\x3d"'+(e?"background-image:url("+z.E(z.Eh(e))+");":"")+(a.backgroundColor?" background-color:"+z.E(z.G(a.backgroundColor))+";":"")+'"':"")+'data-promo-id\x3d"'+z.E(a.promo.promoId)+'"\x3e'+z.A(a.qf)+(a.isDismissable?YF({promo:a.promo,hk:a.jWa||a.$da},b):"")+"\x3c/div\x3e");b=(0,z.y)(d);return c(b)}; | |
YF=function(a,b){var c="",d=z.n("Dismiss"),c=c+z.A(z.Wk({icon:(0,z.M)(""+(a.hk?z.A(z.tk()):z.A(z.sk()))),Vc:!0,vb:!zw(a.promo.backgroundColor),ca:!0,action:"dismiss-promo",actionValue:a.promo.promoId,title:(0,z.M)(""+d),l:"promo-dismissButton"},b));return(0,z.y)(c)}; | |
z.aG=function(a,b){for(var c='\x3cul class\x3d"tags tags--postTags'+(a.className?" "+z.E(a.className):"")+'"\x3e',d=a.tags,e=d.length,g=0;g<e;g++)var k=d[g],c=c+("\x3cli\x3e"+z.A(z.kl(z.D({tag:k,collection:a.collection,s:(0,z.M)(""+z.A(k.name)+(a.QYa&&0<k.postCount?"("+z.A(k.postCount)+")":""))},a),b))+"\x3c/li\x3e");return(0,z.y)(c+"\x3c/ul\x3e")}; | |
z.swa=function(a,b){var c=a.Ib,d=z.Xl(b.currentUser),e=b.currentUser.userId==a.post.creatorId,g=!a.post.content.isLockedPreviewOnly;!a.post.audioVersionUrl||b.isAmp||c?b="":d||e||g?(c=a||{},a='\x3cdiv class\x3d"u-flexCenter u-height50 '+(c.post.sequenceId?"u-xs-marginTop20":"u-marginTop20 u-xs-marginTop30")+' js-audioPlayer"\x3e',c=c||{},d="",e=z.n("Loading…"),d+=rwa({icon:(0,z.M)(""+z.bG({MBa:!0},0,b)),text:(0,z.M)('\x3cspan class\x3d"u-textColorNormal"\x3e'+e+"\x3c/span\x3e"),duration:c.post.audioVersionDurationSec}, | |
0,b),b=(0,z.y)(d),b=(0,z.y)(""+(a+b+"\x3c/div\x3e"))):b=z.A(z.vA({location:b.j.Yc.m4,postId:a.post.id,collectionId:a.post.homeCollectionId,authorId:a.post.creatorId},b));return(0,z.y)(""+b)}; | |
rwa=function(a,b,c){a=a||{};var d=a.icon,e=a.text;b=a.currentTime;var g=a.duration;a=(a.pH?z.twa(a):"")+'\x3cdiv class\x3d"u-flexCenter u-sizeFullWidth u-fontSize14"\x3e\x3cdiv class\x3d"u-marginRight15 js-playpause"\x3e'+(d?z.A(d):z.bG(null,0,c))+'\x3c/div\x3e\x3cdiv class\x3d"u-flex1"\x3e\x3cdiv\x3e';e?a+=z.A(e):(e=z.n("Listen to this story"),a+=e);a+='\x3c/div\x3e\x3cdiv class\x3d"u-flexCenter"\x3e\x3cdiv class\x3d"u-flex0 u-marginRight10 u-textColorNormal js-currentTime"\x3e'+z.cG({SC:b||0})+ | |
'\x3c/div\x3e\x3cdiv class\x3d"u-flex1 u-paddingVertical10 u-cursorPointer js-progressContainer" data-action\x3d"seek-audioPlayer"\x3e'+z.uwa(c)+'\x3c/div\x3e\x3cdiv class\x3d"u-flex0 u-marginLeft10 u-textColorNormal"\x3e'+z.cG({SC:g||0})+"\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e";return(0,z.y)(a)};z.twa=function(a){return(0,z.y)('\x3caudio class\x3d"js-audioEl"\x3e\x3csource src\x3d"'+z.E(z.F(a.pH))+'" /\x3e\x3c/audio\x3e')}; | |
z.bG=function(a,b,c){a=a||{};b=z.y;var d;d={};d=(0,z.y)(z.Pj(z.D({name:"playFilled",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M7 4v17.03a.5.5 0 0 0 .795.404l11.1-8.111a1 1 0 0 0 0-1.615l-11.1-8.112A.5.5 0 0 0 7 4z"/\x3e\x3c/svg\x3e')},d)));return b(vwa(z.D({icon:(0,z.M)(""+z.A(d)),action:"play-audioPlayer"},a),c))}; | |
wwa=function(a,b,c){a=a||{};b=z.y;var d;d={};d=(0,z.y)(z.Pj(z.D({name:"pauseFilled",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cg transform\x3d"translate(5 4)" fill-rule\x3d"evenodd"\x3e\x3crect width\x3d"6" height\x3d"17" rx\x3d"2"/\x3e\x3crect x\x3d"9" width\x3d"6" height\x3d"17" rx\x3d"2"/\x3e\x3c/g\x3e\x3c/svg\x3e')},d)));return b(vwa(z.D({icon:(0,z.M)(""+z.A(d)),action:"pause-audioPlayer"},a),c))}; | |
vwa=function(a,b){var c=a.MBa;return(0,z.y)(z.A(z.Wk({icon:a.icon,action:a.action,isPrimary:!c,la:!c,wI:!!c,Jh:!0,ca:!0,l:(0,z.M)("u-padding12 u-borderRadius4 "+(c?"u-borderLighter":"u-borderDarker"))},b)))};z.cG=function(a){var b=Number(1E3*a.SC);a=Math.floor(b/36E5);var c=Math.floor((b-36E5*a)/6E4),b=Math.floor((b-36E5*a-6E4*c)/1E3);10>b&&(b="0"+b);0<a?(10>c&&(c="0"+c),a=a+":"+c+":"+b):a=c+":"+b;return(0,z.y)(z.A(a))}; | |
z.uwa=function(a){a=a||{};return(0,z.y)('\x3cdiv class\x3d"u-flexCenter u-backgroundTransparentBlackLight u-sizeFullWidth u-height1 js-progressBar"\x3e\x3cdiv class\x3d"u-flex0 u-backgroundTransparentBlackDark u-height1 js-audioProgress" style\x3d"'+(a.Aa?"/*"+a.Aa+"*/":"")+'width: 0;"\x3e\x3c/div\x3e\x3cdiv class\x3d"u-flex0 u-relative u-right10 u-padding10 u-cursorPointer js-beanContainer"\x3e\x3c/div\x3e\x3c/div\x3e')}; | |
wua=function(a){a=a.l;return(0,z.y)('\x3cdiv class\x3d"u-backgroundTransparentBlackDarker u-height7 u-width7 u-borderRadius2'+(a?" "+z.E(a):"")+' js-progressBean"\x3e\x3c/div\x3e')}; | |
z.ywa=function(a,b,c){var d="",e=a.meteringInfo&&!z.em(null==a.meteringInfo?null:a.meteringInfo.postIds,a.post.id),g="edit"==a.mode||"editInSeries"==a.mode||"revert"==a.mode,k=a.post.approvedHomeCollection,l=""+z.A(z.zi({name:c.j.Ab.QD})),l=(0,z.M)(l),q=!c.isAuthenticated&&!c.useragent.isMobile&&!a.post.isSubscriptionLocked,r=d,t;if("revert"==a.mode){var w="",C=z.n("Restore this revision"),J=z.n("Cancel"),w=w+('\x3cdiv class\x3d"butterBar is-active butterBar--center"\x3e'+z.A(z.jB({B1:(0,z.M)('Viewing read-only revision\x3cspan class\x3d"middotDivider"\x3e\x3c/span\x3e\x3cbutton data-action\x3d"butter-bar-revert-cancel" class\x3d"butterBar-action button button--chromeless link"\x3e'+ | |
J+'\x3c/button\x3e\x3cspan class\x3d"middotDivider"\x3e\x3c/span\x3e\x3cbutton data-action\x3d"butter-bar-revert" class\x3d"butterBar-action button button--chromeless link"\x3e'+C+"\x3c/button\x3e")}))+"\x3c/div\x3e");t=(0,z.y)(w)}else t="";var d=r+('\x3ccanvas class\x3d"canvas-renderer"\x3e\x3c/canvas\x3e\x3cdiv class\x3d"container u-maxWidth740 u-xs-margin0 notesPositionContainer js-notesPositionContainer"\x3e\x3c/div\x3e'+t),Q=c.supportsEdit||z.Du(c.currentUser)&&z.Sy(a.post.firstPublishedAt)|| | |
a.shareKey,R=d,S=z.A(z.AF({post:a.post,mode:a.mode,ky:a.ky,YR:(0,z.M)(""+(a.headerPromo?z.A(z.$F({promo:a.headerPromo,post:a.post},0,c)):"")),showBlacklistedPostIndicator:a.showBlacklistedPostIndicator,showBlacklistedCreatorIndicator:a.showBlacklistedCreatorIndicator,shareKey:a.shareKey,A3:c.variants.enable_writer_controls&&"canEdit"==a.mode&&c.currentUser.isEnrolledInHightower&&Q},0,c))+'\x3cmain role\x3d"main"\x3e',ba,X=z.D({source:l,meteringInfo:a.meteringInfo},a),Fa="",Ra="edit"==X.mode||"editInSeries"== | |
X.mode||"revert"==X.mode,mb=Ra&&(null==X.post.creator?null:X.post.creator.userId)==c.currentUser.userId,Ib=" u-minHeight100vhOffset65 u-overflowHidden postArticle postArticle--full"+(X.post.inResponseToRemovedAt||!X.post.inResponseToPost&&!X.post.inResponseToMediaResource?"":" postArticle--response")+(X.post.newsletterId?" postArticle--letter":"")+(Ra&&!mb?" is-supplementalPostContentLoaded":"")+(X.post.approvedHomeCollection?" is-withAccentColors":"")+(c.isAuthenticated||c.isAmp?"":" u-marginBottom40"), | |
Ib=z.ph(Ib),ya=""+(X.post.detectedLanguage&&"un"!=X.post.detectedLanguage?' lang\x3d"'+z.E(X.post.detectedLanguage)+'"':""),ya=(0,z.$k)(ya),Gb=Fa,sb='\x3carticle class\x3d"'+z.E(Ib)+'" '+z.rh(ya)+"\x3e",Fb,Jb=z.D({Ib:Ra},X),Wc,ib=c.currentUser.userId==Jb.post.creatorId;Wc=""+(!Jb.Ib||Jb.post.inResponseToPostId||ib&&c.currentUser.isWriterProgramEnrolled?"":'\x3cdiv class\x3d"container u-maxWidth740 js-audienceStatusContainer"\x3e'+z.A(z.nwa(z.D({visibility:Jb.post.visibility,zea:c.currentUser.isEligibleForHightower, | |
Mp:Jb.post.isBlockedFromHightower,homeCollection:Jb.post.homeCollection},Jb),0,c))+"\x3c/div\x3e");Fb=(0,z.y)(Wc);var gd=sb+Fb,sd,ua=z.D({Ib:Ra},X),Pc,jc=ua.post.isSubscriptionLocked&&ua.post.visibility==c.j.ob.Re,Cc;if((ua.post.homeCollection&&ua.post.visibility==c.j.ob.Re||jc)&&!ua.Ib){var bd="";if(ua.post.homeCollection&&!ua.post.isSubscriptionLocked){var cd=z.n("members only"),Xd=z.n("Story for "),rb=bd+='\x3cdiv class\x3d"'+z.E(z.pm({caption:"regular"}))+' u-borderBottomLighter u-height60 u-flexCenter js-lockedPostHeader"\x3e', | |
Kb;if(ua.post.content.isLockedPreviewOnly){var Rc,ge={l:"u-textColorNormal"},ge=ge||{};Rc=(0,z.y)(z.Pj(z.D({name:"lockStory",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M8.29 9.19c.135-.068.273-.135.413-.197v-3.57c0-1.73 1.454-3.14 3.244-3.14h1.223c1.788 0 3.242 1.41 3.242 3.14v3.57c.14.062.28.13.416.196l.063.03c.03.01.05.02.08.03.19.1.38.2.58.32V5.42c0-2.353-1.96-4.267-4.37-4.267h-1.23c-2.41 0-4.37 1.914-4.37 4.267v4.16c.2-.117.39-.225.58-.325l.09-.042.06-.024z"/\x3e\x3cpath d\x3d"M12.558 23.096c-3.547 0-6.433-2.895-6.433-6.453 0-3.56 2.886-6.454 6.433-6.454 3.546 0 6.432 2.89 6.432 6.45s-2.886 6.45-6.432 6.45m3.43-13.22a7.35 7.35 0 0 0-3.43-.84c-1.2 0-2.355.28-3.43.83a7.579 7.579 0 0 0-4.108 6.76c0 4.19 3.382 7.6 7.538 7.6 4.155 0 7.536-3.41 7.536-7.6 0-2.86-1.573-5.45-4.107-6.76"/\x3e\x3cpath d\x3d"M12.615 13.5c-1.032 0-1.87.845-1.87 1.885 0 .797.5 1.512 1.243 1.78l.076.025v2.725c0 .252.203.466.443.466h.116c.243 0 .442-.2.442-.46v-2.7l.08-.02a1.89 1.89 0 0 0 1.34-1.81c0-1.04-.84-1.88-1.87-1.88"/\x3e\x3c/svg\x3e')}, | |
ge)));Kb=z.A(Rc)}else{var he,Sb={l:"u-textColorNormal"},Sb=Sb||{};he=(0,z.y)(z.Pj(z.D({name:"lockStoryUnlock",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M9.558 23.096c-3.547 0-6.433-2.895-6.433-6.453 0-3.56 2.886-6.454 6.433-6.454 3.546 0 6.432 2.89 6.432 6.45s-2.886 6.45-6.432 6.45m3.43-13.22a7.35 7.35 0 0 0-3.43-.84c-1.2 0-2.355.28-3.43.83a7.579 7.579 0 0 0-4.108 6.76c0 4.19 3.382 7.6 7.538 7.6 4.155 0 7.536-3.41 7.536-7.6 0-2.86-1.573-5.45-4.107-6.76"/\x3e\x3cpath d\x3d"M9.615 13.5c-1.032 0-1.87.845-1.87 1.885 0 .797.5 1.512 1.243 1.78l.076.025v2.725c0 .252.203.466.443.466h.116c.243 0 .442-.2.442-.46v-2.7l.08-.02a1.89 1.89 0 0 0 1.34-1.81c0-1.04-.84-1.88-1.87-1.88m8.517-12.42c-2.53 0-4.59 2.01-4.59 4.49V8.5c.147.063.29.13.432.2.234.117.463.246.683.38V5.564c0-1.858 1.558-3.37 3.475-3.37h.646c1.916 0 3.474 1.512 3.474 3.37V7.78a.558.558 0 0 0 1.114 0V5.564c0-2.473-2.058-4.483-4.588-4.483h-.646z"/\x3e\x3c/svg\x3e')}, | |
Sb)));Kb=z.A(he)}bd=rb+(Kb+'\x3cdiv class\x3d"ui-caption u-marginLeft10 u-flex1"\x3e'+Xd+(ua.post.isSubscriptionLocked?z.A(c.productName)+" ":"")+cd+"\x3c/div\x3e\x3c/div\x3e")}else{var ef=bd,ld,ec='\x3cdiv class\x3d"'+z.E(z.pm({caption:"regular"}))+' u-borderBottomLighter u-paddingTop20 u-paddingBottom15 u-flexCenter js-lockedPostHeader"\x3e\x3cdiv class\x3d"ui-caption"\x3e'+z.A(z.wk({l:"u-textColorNormal u-marginRight4"}));if(z.Xl(c.currentUser))var Me=z.n("Story for members"),ec=ec+Me;else var Gc= | |
z.n("Member preview"),ec=ec+Gc;ld=(0,z.y)(ec+"\x3c/div\x3e\x3c/div\x3e");bd=ef+z.A(ld)}Cc=(0,z.y)(bd)}else Cc="";var ag='\x3cheader class\x3d"container u-maxWidth740"\x3e'+Cc,Hc,ff="",gf=""+z.A(Bga(ua,c)),gf=(0,z.M)(gf),ff=ff+('\x3cdiv class\x3d"'+z.E(z.pm({caption:"regular"}))+' postMetaHeader u-paddingBottom10 row"\x3e'+(gf?'\x3cdiv class\x3d"ui-caption postMetaHeader-socialProof2 col u-size12of12 u-paddingBottom20"\x3e'+z.A(gf)+"\x3c/div\x3e":"")+'\x3cdiv class\x3d"col u-size12of12 js-postMetaLockup"\x3e'+ | |
z.A(z.sm(z.D({vJ:1<ua.post.virtuals.readingTime&&!ua.Ib,source:"post_header_lockup",susiEntry:c.j.qa.hz,Ib:ua.Ib},ua),0,c))+"\x3c/div\x3e\x3c/div\x3e");Hc=(0,z.y)(ff);var vc=ag+Hc+z.A(z.ME({post:ua.post,iFa:!0,tI:!1},c)),wc;if(ua.post.newsletterId){var Ld=ua.post.approvedHomeCollection,Xb=ua.post.firstPublishedAt,Md;if(Ld){var ie,yf=(0,z.M)(""+z.A(z.Nh(Number(Xb),c))),Ne=z.n("Letter sent on {$publishDate}",{publishDate:z.A(yf)});ie=(0,z.y)(""+Ne);Md='\x3cdiv class\x3d"letterHeader u-paddingTop30"\x3e'+ | |
z.A(z.LE({collection:Ld,subtitle:(0,z.M)(""+z.A(ie)),source:"newsletter-"+ua.post.id},c))+"\x3c/div\x3e"}else Md="";wc=(0,z.y)(""+Md)}else wc="";Pc=""+(vc+wc+z.A(z.swa(ua,c))+"\x3c/header\x3e");sd=(0,z.y)(Pc);var dd=gd+sd+z.dG(z.D({Ib:Ra},X),c),xc,Yb=z.D({Ib:Ra,meteringInfo:X.meteringInfo},X),Yd=Yb.post.visibility==c.j.ob.Re&&Yb.post.content.isLockedPreviewOnly,fc=Yd&&Yb.post.isSubscriptionLocked&&!c.isAmp,hf;if(!Yb.Ib&&Yb.post.latestPublishedVersion){var Lf=fc?Yb.meteringInfo&&c.isAuthenticated? | |
'\x3cdiv class\x3d"u-marginTopNegative165 u-marginBottom80 u-xs-marginLeft20 u-xs-marginRight20"\x3e'+z.A(z.TF(Yb,c))+"\x3c/div\x3e":c.isAuthenticated?"":Yb.post.lockedPostSource!=c.j.xv.vz?'\x3cdiv class\x3d"u-marginTopNegative165 u-marginBottom80 u-xs-marginLeft20 u-xs-marginRight20"\x3e'+z.A(z.TF(Yb,c))+"\x3c/div\x3e":z.A(z.vA({location:c.j.Yc.PS,post:Yb.post},c)):"",mc;if(fc)mc="";else{var Lb=z.D({tDa:Yd,meteringInfo:Yb.meteringInfo},Yb),jf="",je=Lb.meteringInfo&&!z.em(null==Lb.meteringInfo?null: | |
Lb.meteringInfo.postIds,Lb.post.id),cb=c.j.Ab.RS,zf=Lb.post.approvedHomeCollection,Mf=null==zf?null:zf.domain,kf=!!Lb.post.sequenceId,Zd=jf,md;if(c.isAmp||!Lb.tDa){var rc=null!=Lb.translationSourcePost,gb=Lb.post.latestPublishedVersion&&Lb.post.visibility==c.j.ob.ed,td=Lb.post.latestPublishedVersion&&Lb.post.visibility==c.j.ob.Re,ke;if(rc||(null==Lb.collaborators?0:Lb.collaborators.length)||gb||td||Lb.post.license!=c.j.Ad.RJ){var nc,Pa=z.D({collaborators:rc?Lb.translationSourceCollaborators:Lb.collaborators, | |
S3:rc?Lb.collaborators:null,$ga:rc?Lb.post.creator:null,NFa:rc&&Lb.post.isApprovedTranslation},Lb),Pa=Pa||{},yc=z.y,le="";if(Pa.post.latestPublishedVersion&&Pa.post.visibility==c.j.ob.ed)var lf=z.n("Unlisted"),le=le+('\x3cspan class\x3d"u-textColorDarker u-marginRight10"\x3e'+z.A(z.zk({l:"u-verticalAlignMiddle u-marginTopNegative2"}))),Zc=""+z.A(z.rl()),Zc=(0,z.M)(Zc),le=le+('\x3cspan data-tooltip\x3d"'+z.E(Zc)+'" data-tooltip-position\x3d"bottom"\x3e '+lf+"\x3c/span\x3e \x3c/span\x3e");var De='\x3cdiv class\x3d"postMetaInline postMetaInline--acknowledgments u-paddingTop5 u-paddingBottom20 js-postMetaAcknowledgments"\x3e'+ | |
(0,z.y)(le),mf;if(null==Pa.collaborators?0:Pa.collaborators.length){var $d=Pa,$d=$d||{},Nd=z.y,Dd,Bb=z.n("The following people helped the author by providing feedback before the story was published.");Dd=(0,z.y)(""+Bb);var Sc='\x3cspan data-tooltip\x3d"'+z.E(Dd)+'"\x3e',ud,nf=z.n("Thanks to");ud=(0,z.y)(""+nf);mf=Nd(Sc+z.A(ud)+"\x3c/span\x3e "+z.A(z.hl(z.D({users:$d.collaborators,cGa:!0},$d),c)))+" "}else mf="";var Od=De+mf,vd;if(Pa.$ga){var ae=Pa,ae=ae||{},Ng=z.y,Oe,Zb=z.n("Translated from");Oe= | |
(0,z.y)(""+Zb);var oc=z.A(Oe)+" ",te=(0,z.L)(""+z.F(z.Bi(z.D({post:ae.translationSourcePost},ae),0,c))),Nc,Pe=z.n("original");Nc=(0,z.y)(""+Pe);var Ed=(0,z.M)(""+z.A(Nc)),Nf,Of=z.n("See the original story");Nf=(0,z.y)(""+Of);var Ee=oc+z.A(z.N(z.D({href:te,s:Ed,title:(0,z.M)(""+z.A(Nf))},ae),c))+" ",zc,Ic=z.n("by");zc=(0,z.y)(""+Ic);var Af=Ee+z.A(zc)+" "+z.A(z.fl({user:ae.$ga},c)),ch;if(ae.NFa)ch="";else{var bg,cg=z.n("unapproved translation");bg=(0,z.y)(""+cg);ch=" ("+z.A(bg)+")"}var Oh=Af+ch,Pd; | |
if(null==ae.S3?0:ae.S3.length){var wd,vh=z.n("The following people helped the translator by providing feedback before the translation was published.");wd=(0,z.y)(""+vh);var Bf='\x3cspan data-tooltip\x3d"'+z.E(wd)+'"\x3e',aj,Df=z.n(", with thanks to");aj=(0,z.y)(""+Df);Pd=Bf+z.A(aj)+"\x3c/span\x3e "+z.A(z.hl({users:ae.S3},c))}else Pd=".";vd=Ng(Oh+Pd)+" "}else vd="";var wg=Od+vd,Qg,bj=(Pa.translationSourcePost?Pa.translationSourcePost:Pa.post).creator,Qd;if(Pa.post.license!=c.j.Ad.RJ){var Gd,fh={zBa:c.isAuthenticated&& | |
c.currentUser.userId==bj.userId,license:Pa.post.license},Th;Th=""+(z.nh("p","PostLicense_"+fh.license,!0)(null,null,c)+'\x3cspan class\x3d"postMetaInline-licenseIcons u-marginLeft5"\x3e'+z.jm(z.D({c1:!1,pp:fh.zBa?"author":"reader"},fh),0,c)+"\x3c/span\x3e");Gd=(0,z.y)(Th);Qd=z.A(Gd)+" "}else Qd="";Qg=(0,z.y)(""+Qd);nc=yc(wg+Qg+"\x3c/div\x3e");ke=z.A(nc)}else ke="";var Uh='\x3cdiv class\x3d"row"\x3e'+(0,z.y)('\x3cdiv class\x3d"col u-size12of12"\x3e'+(ke+"\x3c/div\x3e"))+"\x3c/div\x3e",Rj,ti=z.D({iCa:kf, | |
FBa:Mf,collection:zf},Lb),El=!!ti.iCa,Um=ti.FBa;Rj=(0,z.y)('\x3cdiv class\x3d"row"\x3e\x3cdiv class\x3d"col u-size12of12 js-postTags"\x3e'+((null==ti.post.virtuals?0:ti.post.virtuals.tags)&&!El?'\x3cdiv class\x3d"u-paddingBottom10"\x3e'+z.A(z.aG(z.D({tags:ti.post.virtuals.tags,collection:Um?ti.collection:null,source:"post",className:"tags--borderless"},ti),c))+"\x3c/div\x3e":"")+"\x3c/div\x3e\x3c/div\x3e");md=Uh+Rj}else md="";var Ao='\x3cdiv class\x3d"'+(kf?"":"container ")+'u-maxWidth740"\x3e'+md, | |
cj;if(c.isAmp||je)cj="";else{var Vm,Gk="",Fl=z.n("From a quick cheer to a standing ovation, clap to show how much you enjoyed this story."),Gk=Gk+('\x3csection class\x3d"'+z.E(z.pm({Xa:"small"}))+' u-borderTopLightest u-marginTop10 u-paddingTop20"\x3e'),ui=""+(Lb.post.creator?""+Lb.post.creator.name:"the author"),ui=z.ph(ui),Bo=z.n("Like what you read? Give {$authorName} a round of applause.",{authorName:z.A(ui)});Vm=(0,z.y)(Gk+('\x3cdiv class\x3d"ui-h3 u-textColorDarker u-fontSize22"\x3e'+Bo+'\x3c/div\x3e\x3cp class\x3d"ui-body u-marginBottom20 u-textColorDark u-fontSize16"\x3e'+ | |
Fl+"\x3c/p\x3e\x3c/section\x3e"));cj=z.A(Vm)+z.A(z.hwa(z.D({Od:cb},Lb),c))}var jf=Zd+(Ao+cj+"\x3c/div\x3e"),Wm=(0,z.y)(jf),fg,Hk,Sj=Yb.post.approvedHomeCollection?Yb.post.approvedHomeCollection:Yb.translationSourcePost?Yb.translationSourcePost.collection:null,zq=c.currentUser.userId==Yb.post.creator.userId;Hk=""+('\x3cdiv class\x3d"u-maxWidth740 u-paddingTop20 u-marginTop20 u-borderTopLightest'+(Yb.post.sequenceId?"":" container u-paddingBottom20")+' u-xs-paddingBottom10 js-postAttributionFooterContainer"\x3e\x3cdiv class\x3d"row js-postFooterInfo"\x3e'+ | |
(Yb.shareKey&&!zq&&c.variants.enable_friends_link_reader_notice?'\x3cdiv class\x3d"u-marginBottom40 u-paddingLeft20"\x3e'+z.A(z.Nua(Yb,c))+"\x3c/div\x3e":"")+'\x3cdiv class\x3d"col'+(Sj?" u-size6of12 u-xs-size12of12":" u-size12of12")+'"\x3e'+z.A(z.JE({post:Yb.post,user:Yb.post.creator,collection:Sj,source:"footer_card",susiEntry:c.j.qa.jz,hd:Yb.post.id},0,c))+"\x3c/div\x3e"+(Sj?'\x3cdiv class\x3d"col u-size6of12 u-xs-size12of12 u-xs-marginTop30"\x3e'+z.A(z.KE({collection:Sj,source:"footer_card",susiEntry:c.j.qa.jz}, | |
0,c))+"\x3c/div\x3e":"")+"\x3c/div\x3e\x3c/div\x3e");fg=(0,z.y)(Hk);mc=Wm+fg}hf=Lf+mc+'\x3cdiv class\x3d"js-postFooterPlacements"\x3e\x3c/div\x3e'+(fc?"":xwa(Yb,0,c)+'\x3cdiv class\x3d"supplementalPostContent js-heroPromo"\x3e\x3c/div\x3e')}else hf="";xc=(0,z.y)(""+('\x3cfooter class\x3d"u-paddingTop10"\x3e'+hf+"\x3c/footer\x3e"));Fa=Gb+(dd+xc+"\x3c/article\x3e");ba=(0,z.y)(Fa);var Ik=S+ba+"\x3c/main\x3e",vi;if(!g&&a.post.latestPublishedVersion){var Gl;if(a.post.isSubscriptionLocked&&a.post.content.isLockedPreviewOnly)Gl= | |
"";else{var yh,Co=z.y,Aq,zh=z.D({l:"u-marginLeftNegative12"},a),Tj=zh.l,Hl,Il=c.j.Ab.Hka,Xm=zh.post.visibility==c.j.ob.ed;Hl=""+('\x3cdiv class\x3d"u-foreground u-top0 u-transition--fadeOut300 u-fixed u-sm-hide'+(Tj?" "+z.E(Tj):"")+' js-postShareWidget"\x3e\x3cul\x3e\x3cli class\x3d"u-textAlignCenter u-marginVertical10"\x3e'+z.A(z.fm({post:zh.post,source:(0,z.M)(""+z.A(z.zi({name:Il,postId:zh.post.id,susiEntry:c.j.qa.wD}))),bI:!0,hk:!0,Np:!0,Vc:!0},c))+"\x3c/li\x3e"+(Xm?"":'\x3cli class\x3d"u-textAlignCenter u-marginVertical10"\x3e'+ | |
z.A(z.PF({sb:!0,source:Il},c))+'\x3c/li\x3e\x3cli class\x3d"u-textAlignCenter u-marginVertical10"\x3e'+z.A(z.QF({sb:!0,source:Il},c))+"\x3c/li\x3e")+'\x3cli class\x3d"u-textAlignCenter u-marginVertical10"\x3e'+z.A(z.gm({post:zh.post,source:(0,z.M)(""+z.A(z.zi({name:Il,postId:zh.post.id,susiEntry:c.j.qa.tD}))),hk:!0,la:!0,sb:!0},c))+"\x3c/li\x3e\x3c/ul\x3e\x3c/div\x3e");Aq=(0,z.y)(Hl);yh=Co('\x3caside class\x3d"u-marginAuto u-maxWidth1000 js-postLeftSidebar"\x3e'+z.A(Aq)+"\x3c/aside\x3e");Gl=z.A(yh)}var Bq= | |
Gl,Ym;if(q){var Jl,dj,wi=a.post.homeCollection,ej=a.post.creator,Kl=c.variants.show_topic_signup_bar&&a.topic,Cq='\x3cdiv class\x3d"u-fixed u-bottom0 u-sizeFullWidth u-backgroundWhite u-boxShadowTop u-borderBox u-paddingTop10 u-paddingBottom10 u-zIndexMetabar u-xs-paddingLeft10 u-xs-paddingRight10'+(a.l?" "+z.E(a.l):"")+' js-stickyFooter"\x3e\x3cdiv class\x3d"u-maxWidth700 u-marginAuto u-flexCenter"\x3e\x3cdiv class\x3d"u-fontSize16 u-flex1 u-flexCenter"\x3e\x3cdiv class\x3d"u-flex0 u-inlineBlock u-paddingRight20 u-xs-paddingRight10"\x3e', | |
Uj;if(Kl){var Jk,Kk=null,Kk=Kk||{};Jk=(0,z.y)(z.Pj(z.D({name:"logoNew",size:"45px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"45" height\x3d"45" viewBox\x3d"-17 18 45 45" data-multipart\x3d"true"\x3e\x3cpath d\x3d"M11.525 28.078c-.472-.225-.858.002-.858.506v20.044l8.616 4.113c.948.46 1.717.14 1.717-.7v-19.3a.22.22 0 0 0-.124-.19l-9.35-4.46v-.01z"/\x3e\x3cpath d\x3d"M.333 43.696l9.83-15.247c.278-.43.89-.6 1.36-.38l9.364 4.47c.06.03.082.1.047.15L10.666 48.63.333 43.698v-.002z"/\x3e\x3cpath d\x3d"M-8.57 28.35c-.786-.375-1.053-.096-.592.62L.333 43.696l10.333 4.932L.356 32.635a.156.156 0 0 0-.06-.054l-8.866-4.23z"/\x3e\x3cpath d\x3d"M.333 52.033c0 .84-.643 1.22-1.43.844l-8.045-3.84c-.472-.224-.858-.82-.858-1.325V28.89c0-.672.515-.976 1.145-.675l9.133 4.36a.092.092 0 0 1 .055.084v19.37z"/\x3e\x3c/svg\x3e')}, | |
Kk)));Uj=z.A(Jk)}else Uj=wi?z.A(z.zl({collection:wi},c)):ej?z.A(z.Tl({user:ej,Am:!0},c)):"";var Dq=Cq+Uj+'\x3c/div\x3e\x3cdiv class\x3d"u-flex1 u-inlineBlock"\x3e\x3cdiv class\x3d"u-xs-hide"\x3e',Do,ue={collection:wi,authorName:ej.name,topic:a.topic},ue=ue||{},Ef="";if(c.variants.show_topic_signup_bar&&ue.topic)Ef+=eoa(ue,c);else if(ue.authorName||(null==ue.collection?0:ue.collection.name))var Vj=z.n("Never miss a story from{$startStrong} {$xxx}{$endStrong}, when you sign up for {$productName}.", | |
{startStrong:"\x3cstrong\x3e",xxx:z.A((null==ue.collection?null:ue.collection.name)||ue.authorName),endStrong:"\x3c/strong\x3e",productName:z.A(c.productName)}),Ef=Ef+Vj;else var gg=z.n("Create a {$productName} account and never miss a story you’ll love.",{productName:z.A(c.productName)}),Ef=Ef+gg;Do=(0,z.y)(Ef);dj=""+(Dq+z.A(Do));if(!Kl){var xi;xi=z.ph("link--accent u-accentColor--textNormal u-accentColor--textDarken");var Vh=dj,Ll=(0,z.L)(""+z.F((0,z.ri)("https://medium.com/@Medium/personalize-your-medium-experience-with-users-publications-tags-26a41ab1ee0c#.hx4zuv3mg"))), | |
yi,Eq=z.n("Learn more");yi=(0,z.y)(""+Eq);dj=Vh+(" "+z.A(z.N({href:Ll,s:(0,z.M)(""+z.A(yi)),source:c.j.Ab.mS,l:xi},c)))}var Eo=dj,Zm,gh={collectionName:null==wi?null:wi.name,authorName:ej.name,topic:a.topic},gh=gh||{},Wj="";if(c.variants.show_topic_signup_bar&&gh.topic)Wj+=eoa(gh,c);else if(gh.authorName||gh.collectionName)var Fq=z.n("Never miss a story from{$startStrong} {$xxx}{$endStrong}",{startStrong:"\x3cstrong\x3e",xxx:z.A(gh.collectionName||gh.authorName),endStrong:"\x3c/strong\x3e"}),Wj=Wj+ | |
Fq;Zm=(0,z.y)(Wj);var $m='\x3c/div\x3e\x3cdiv class\x3d"u-xs-show"\x3e'+z.A(Zm)+'\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"u-marginLeft50 u-xs-marginAuto"\x3e',an,Pf={user:ej,collection:wi,topic:a.topic,source:c.j.Ab.mS,susiEntry:c.j.qa.cE},fj="",Wh=c.variants.show_topic_signup_bar&&Pf.topic,Rg="u-uiTextSemibold u-textUppercase u-fontSize12"+(Pf.l?" "+Pf.l:""),Rg=z.ph(Rg),Ml;if(Wh)Ml=z.A(sA());else{var Nl,Ol=z.n("Get updates");Nl=(0,z.y)(""+Ol);Ml=z.A(Nl)}var gj=""+Ml,gj=(0,z.M)(gj),fj= | |
fj+(Wh?z.A(z.Gz({topic:Pf.topic,Od:Pf.source,susiEntry:Pf.susiEntry,ld:!0,text:gj,isActive:!0,xh:gj,l:Rg},c)):Pf.collection?z.A(z.AE({collection:Pf.collection,source:Pf.source,susiEntry:Pf.susiEntry,text:gj,xh:gj,la:!0,isActive:!0,l:Rg},c)):z.A(z.om({user:Pf.user,source:Pf.source,susiEntry:Pf.susiEntry,isPrimary:!0,Ge:!0,isActive:!0,xh:gj,l:Rg},c)));an=(0,z.y)(fj);dj=Eo+($m+an+"\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e");Jl=(0,z.y)(dj);Ym=z.A(Jl)}else Ym=e?"":z.A(jwa(a,c));vi=Bq+Ym}else vi="";var Xj=Ik+ | |
vi,Yj;if("edit"==a.mode){var Lk,Xh=null,Xh=Xh||{},Pl=z.y,Ql='\x3cdiv class\x3d"drawer u-textAlignCenter js-drawer'+(Xh.SYa?"":" u-hide")+'"\x3e'+z.A(Yk({action:"toggle-drawer"},c)),Mk,Nk=Xh,Nk=Nk||{},hg="",Rl=z.n("Show next tip"),Fo=z.n("Show previous tip"),hg=hg+('\x3cdiv class\x3d"drawer-inner u-alignMiddle"\x3e'+z.A(z.Wk({sb:!0,Vc:!0,ca:!0,action:"previous-tip",icon:(0,z.M)(""+z.A(z.Jda())),title:(0,z.M)(""+Fo)},c))+'\x3cdiv class\x3d"drawer-content u-alignBlock js-drawerTip"\x3e'+z.A(Nk.s||"")+ | |
"\x3c/div\x3e"+z.A(z.Wk({sb:!0,Vc:!0,ca:!0,action:"next-tip",icon:(0,z.M)(""+z.A(z.Kda())),title:(0,z.M)(""+Rl)},c))+"\x3c/div\x3e");Mk=(0,z.y)(hg);Lk=Pl(Ql+Mk+"\x3c/div\x3e");Yj=z.A(Lk)}else Yj="";d=R+(Xj+Yj+(k?z.A(z.NE({collection:k,od:g?".popover--branded":null},c))+(g?"":z.A(z.OE({user:a.post.creator,collection:k},c))):""));return(0,z.y)(d)}; | |
z.dG=function(a,b){var c="",d=!a.Ib,e=a.post.homeCollection,g="postArticle-content js-postField js-notesSource"+(a.post.isSeries?" u-flex u-flex1 u-marginBottom0 u-foreground":"")+(d?" js-trackedPost":""),g=z.ph(g);b=""+(d?' data-post-id\x3d"'+z.E(a.post.id)+'"'+(a.source?' data-source\x3d"'+z.E(a.source)+'"':"")+(e?' data-collection-id\x3d"'+z.E(null==e?null:e.id)+'"':"")+' data-tracking-context\x3d"'+z.E(b.j.TD.QD)+'"':"");b=(0,z.$k)(b);c+='\x3cdiv class\x3d"'+z.E(g)+'" '+z.rh(b)+"\x3e"+z.A(z.Eu(a.Yr.html))+ | |
"\x3c/div\x3e";return(0,z.y)(c)}; | |
xwa=function(a,b,c){b=a.post.homeCollection;b=a.post.visibility==c.j.ob.Re&&!a.post.isSubscriptionLocked&&(null==a.post.creator?null:a.post.creator.userId)!=c.currentUser.userId&&!(null==b?0:null==b.virtuals?0:null==b.virtuals.permissions?0:b.virtuals.permissions.canManageAll);a.post.allowResponses&&!b?a='\x3cdiv class\x3d"u-padding0 u-clearfix u-backgroundGrayLightest u-print-hide supplementalPostContent js-responsesWrapper"\x3e\x3c/div\x3e':(b='\x3cdiv class\x3d"container u-marginTop50 u-marginBottom50 u-maxWidth740 js-responsesDisabled"\x3e'+z.A(z.Kz({title:(0,z.M)(""+ | |
z.A(z.ql())),Xf:!0,Ih:!0},c))+'\x3cdiv class\x3d"u-uiTextRegular u-marginTop25 u-fontSize14 u-textColorNormal"\x3e',a.post.allowResponses?a=z.A(Sea({collection:a.post.approvedHomeCollection,isSubscriptionLocked:a.post.isSubscriptionLocked},c)):(a=z.n("The author has chosen not to show responses on this story. You can still respond by clicking the response bubble."),a=(0,z.y)(""+a),a=z.A(a)),a=b+a+"\x3c/div\x3e\x3c/div\x3e");return(0,z.y)(""+a)}; | |
z.eG=function(a,b,c){a=a||{};return(0,z.y)('\x3cul class\x3d"list list--borderless list--short"\x3e\x3cli class\x3d"list-item"\x3e'+z.A(z.PF({nI:!0,Zy:!0,source:a.source},c))+'\x3c/li\x3e\x3cli class\x3d"list-item"\x3e'+z.A(z.QF({nI:!0,Zy:!0,source:a.source},c))+"\x3c/li\x3e\x3c/ul\x3e")}; | |
Awa=function(a,b,c){b='\x3cul class\x3d"list list--borderless list--short list--choice"\x3e';for(var d=a.languages,e=d.length,g=0;g<e;g++){var k=d[g];b+=a.pFa!=k.Jea?zwa({language:k.RCa,languageCode:k.Jea},c):""}b+='\x3cli class\x3d"list-item list-item--separator"\x3e\x3c/li\x3e'+zwa({language:"Other language"},c)+"\x3c/ul\x3e";return(0,z.y)(b)}; | |
zwa=function(a,b){return(0,z.y)('\x3cli class\x3d"list-item list-item--padded"\x3e'+z.A(z.Vk({text:a.language,title:a.language,action:"post-translate",actionValue:a.languageCode},0,b))+"\x3c/li\x3e")}; | |
fG=function(a,b,c){z.FC.call(this,a,b,c);this.U9=this.bb="";this.B8=!1;this.Qpa=c.qQ;this.ic=a.get("dom-model-converter");this.Ka=new z.sF(a,null,!1);this.Wq=b.postId;this.Ob=b.collectionSlug;this.Sk=new z.oF(a,this.Wq,this.Ka,!1);this.Ia(this.Sk.hZ);this.xa=a.get("app");this.Z=a.get("request");this.Pa=a.get("screen-request");this.ka=a.get("model-store");this.pa=a.get("dialog");this.U=a.get("route-builder");this.lb=a.get("dom-monitor");this.RA=a.get("referrer-tracker");this.ma=a.get("popover");this.Tt= | |
null;this.ha=z.GC(this,"butter-bar");this.K9=c;this.bV=this.Ug=null;this.sw=[];this.nE=this.Sd=this.Kf=this.xi=null;this.xc=new z.kd};Bwa=function(a){var b=new VE(a.oa(),a.W);b.Lm(a.Sd);a.track(b)};Cwa=function(a){function b(a){return a&&(0,window.parseInt)(a,10)}var c=a.Sk.b0();if("share"===c.wH){var d=b(c.startIndex),e=b(c.endIndex),g=(c=z.gt(a.be,c.YP))&&a.Ka.Gi(c);!g||null==d||(0,window.isNaN)(d)||null==e||(0,window.isNaN)(e)||(z.Nt(g,4),z.Lt(g,z.ut(d,e,"")),c.innerHTML=z.wu(g,z.Qm,z.Cva(a.Ka)))}}; | |
Dwa=function(a){var b=a.query(".js-postFooterPlacements");return a.Ka.isPublished()&&b?z.u(z.HC(a,"PostFooterReadNext"),function(c){a.isActive()&&(c=(new c(a.oa())).Ha(b),a.track(c))}):z.Jd()};Ewa=function(a){var b=a.oa();z.v(z.u(z.HC(a,"PlacementsStore"),function(c){var d;d=new z.Ir;var e=(new Jr).Eb(a.bb);d=z.I(d,"postPageContext",e);c=new c(b,d);a.track(c);z.Jy(b,"placements-store",c)}),z.xx)}; | |
Fwa=function(a){var b=a.query(".js-postLeftSidebar"),c=!(!a.W||!a.W.content.isLockedPreviewOnly);b&&!c&&z.v(z.u(z.HC(a,"PostSidebar"),function(c){c=(new c(a.oa(),a.Ka)).Ha(b);a.track(c)}),z.xx)};gG=function(a){z.Sm.call(this);this.X=a;this.pa=a.get("dialog");this.ka=a.get("model-store");this.Z=a.get("request");this.U=a.get("route-builder");this.rc=new z.ex}; | |
Iwa=function(a,b,c,d){var e=a.U.R(Gwa,{postId:b.id}),g={userId:z.rr().userId,clapIncrement:c},e=z.v(z.u(a.Z.post(e,g),function(){Hwa(b.id,c,d)}),function(){z.sz(a.pa,Jna())});a.rc.track(e);return e};Hwa=function(a,b,c){0<b?z.dy(Jwa,{postId:a,postIds:[a],source:c,voteCount:b}):z.dy(Kwa,{postId:a,postIds:[a],source:c,unvoteCount:Math.abs(b)})};Lwa=function(a,b,c){z.I(b,"vote",c);var d=b.ak().RP();c=Math.max(d+(c?1:-1),0);b.ak().xR(c);z.ZC(a.ka,b)}; | |
z.hG=function(a){z.Sm.call(this);this.ka=a.get("model-store");this.Pa=a.get("screen-request");this.U=a.get("route-builder");this.xc=null;this.UA={}};Mwa=function(a){this.X=a;this.Z=a.get("request")};Nwa=function(){};iG=function(a){z.K.call(this);this.C(a)};jG=function(a){z.K.call(this);this.C(a)}; | |
z.kG=function(a,b,c,d,e,g,k,l,q){var r=Owa(c),t=z.Ko(a),w=Io(a);w&&t.jI(new z.so(w.left,w.top,w.right-w.left,w.bottom-w.top));var w=z.rg(a),C=z.rg(c);if(w.um()!=C.um()){var J=w.um().body;var C=C.Ii(),Q=new z.lg(0,0),R=z.Ag(z.qg(J));if(z.Zaa(R,"parent")){var S=J;do{var ba;R==C?ba=z.Ho(S):(ba=Go(S),ba=new z.lg(ba.left,ba.top));Q.x+=ba.x;Q.y+=ba.y}while(R&&R!=C&&R!=R.parent&&(S=R.frameElement)&&(R=R.parent))}J=mg(Q,z.Ho(J));!z.vg||z.wf(9)||z.tg(w.Cd)||(J=mg(J,z.yg(w.Cd)));t.left+=J.x;t.top+=J.y}a=Pwa(a, | |
b);b=t.left;a&4?b+=t.width:a&2&&(b+=t.width/2);t=new z.lg(b,t.top+(a&1?t.height:0));t=mg(t,r);e&&(t.x+=(a&4?-1:1)*e.x,t.y+=(a&1?-1:1)*e.y);var X;if(k)if(q)X=q;else if(X=Io(c))X.top-=r.y,X.right-=r.x,X.bottom-=r.y,X.left-=r.x;e=X;q=t.clone();r=Pwa(c,d);d=z.Jo(c);X=l?l.clone():d.clone();l=q;q=X;l=l.clone();q=q.clone();X=0;if(g||0!=r)r&4?l.x-=q.width+(g?g.right:0):r&2?l.x-=q.width/2:g&&(l.x+=g.left),r&1?l.y-=q.height+(g?g.bottom:0):g&&(l.y+=g.top);k&&(e?(g=l,r=q,X=0,65==(k&65)&&(g.x<e.left||g.x>=e.right)&& | |
(k&=-2),132==(k&132)&&(g.y<e.top||g.y>=e.bottom)&&(k&=-5),g.x<e.left&&k&1&&(g.x=e.left,X|=1),k&16&&(t=g.x,g.x<e.left&&(g.x=e.left,X|=4),g.x+r.width>e.right&&(r.width=Math.min(e.right-g.x,t+r.width-e.left),r.width=Math.max(r.width,0),X|=4)),g.x+r.width>e.right&&k&1&&(g.x=Math.max(e.right-r.width,e.left),X|=1),k&2&&(X|=(g.x<e.left?16:0)|(g.x+r.width>e.right?32:0)),g.y<e.top&&k&4&&(g.y=e.top,X|=2),k&32&&(t=g.y,g.y<e.top&&(g.y=e.top,X|=8),g.y+r.height>e.bottom&&(r.height=Math.min(e.bottom-g.y,t+r.height- | |
e.top),r.height=Math.max(r.height,0),X|=8)),g.y+r.height>e.bottom&&k&4&&(g.y=Math.max(e.bottom-r.height,e.top),X|=2),k&8&&(X|=(g.y<e.top?64:0)|(g.y+r.height>e.bottom?128:0)),k=X):k=256,X=k);g=new z.so(0,0,0,0);g.left=l.x;g.top=l.y;g.width=q.width;g.height=q.height;k=X;k&496||(z.Bha(c,new z.lg(g.left,g.top)),X=g.jl(),Dba(d,X)||(g=X,d=z.tg(z.rg(z.qg(c)).Cd),!z.vg||z.vf("10")||d&&z.vf("8")?(c=c.style,z.Tn?c.MozBoxSizing="border-box":z.zg?c.WebkitBoxSizing="border-box":c.boxSizing="border-box",c.width= | |
Math.max(g.width,0)+"px",c.height=Math.max(g.height,0)+"px"):(l=c.style,d?(d=To(c),c=z.Uo(c),l.pixelWidth=g.width-c.left-d.left-d.right-c.right,l.pixelHeight=g.height-c.top-d.top-d.bottom-c.bottom):(l.pixelWidth=g.width,l.pixelHeight=g.height))));return k}; | |
Owa=function(a){var b;if(a=a.offsetParent){var c="HTML"==a.tagName||"BODY"==a.tagName;c&&"static"==z.zo(a,"position")||(b=z.Ho(a),c||(c=(c=z.Mo(a))&&z.Tn?-a.scrollLeft:!c||Qwa&&z.vf("8")||"visible"==z.zo(a,"overflowX")?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft,b=mg(b,new z.lg(c,a.scrollTop))))}return b||new z.lg};Pwa=function(a,b){return(b&8&&z.Mo(a)?b^4:b)&-9};lG=function(a){return a==z.EF?"bottom":"bottom"==a?z.EF:"left"==a?"right":"left"}; | |
Rwa=function(a){return a==z.EF?4:"bottom"==a?1:"left"==a?0:5};Swa=function(a){return a==z.EF?0:"bottom"==a?5:"left"==a?1:4};Twa=function(a,b,c){a=z.to(z.bx(a));b=z.to(z.bx(b));c=5+(c||0);return b.right<=a.left+c?"left":b.bottom<=a.top+c?z.EF:b.top>=a.bottom-c?"bottom":b.left>=a.right-c?"right":null}; | |
Vwa=function(a,b,c){a=a||{};b=a.Y0;var d="";a="floating"+z.Uwa(a);a=(0,z.M)(a);d+='\x3cdiv class\x3d"'+z.E(a)+' js-floating"\x3e'+(b?z.A(Yk({action:"floating-close",l:"u-fontSize24 u-paddingTop2"},c)):"")+"\x3c/div\x3e";return(0,z.y)(d)}; | |
z.Uwa=function(a){a=a||{};return(0,z.y)((a.Qr?" u-fixed":"")+(a.Bm?" u-borderLightest u-boxShadow u-borderRadius2":"")+(a.Y0?" u-fixed u-top0 u-left0 u-sizeFull u-backgroundWhite u-overflowScroll":"")+(a.wCa?" u-fixed u-top0 u-right0 u-sizeFullHeight u-backgroundWhite u-overflowScroll":"")+(a.hBa?" u-bottom25 u-left25":""))};Wwa=function(a,b,c){return(0,z.y)(z.A(z.Uk({action:"open-diagnostics",isPrimary:!0,dCa:!0,ld:!0,o0:!0,s:(0,z.M)(z.A(a.cDa)+"s"),title:(0,z.M)("Diagnostics")},c)))}; | |
Xwa=function(a,b,c){b='\x3cul class\x3d"list list--borderless list--short list--large"\x3e'+(a.Nea?'\x3cli class\x3d"list-item"\x3e'+z.A(z.N({s:(0,z.M)("Lightstep"),href:a.Nea,hb:!0,Ra:!0,ca:!0},c))+"\x3c/li\x3e"+(0<a.lca.length?'\x3cli class\x3d"list-item list-item--separator"\x3e\x3c/li\x3e':""):"");a=a.lca;c=a.length;for(var d=0;d<c;d++){var e=a[d];b+='\x3cli class\x3d"list-item u-fontSize13 u-textColorDark"\x3e'+z.A(e.name)+" : "+(e.simple?z.A(e.simple.value):"")+"\x3c/li\x3e"}return(0,z.y)(b+ | |
"\x3c/ul\x3e")};mG=function(a,b){z.O.call(this);this.ma=a.get("popover");this.Wa=a.get("screen-service");this.lb=a.get("dom-monitor");this.zb=null;this.$pa=b;this.dna=a.get("diagnostics");this.Je()};z.nG=function(a){z.za.call(this,"Redirect to "+a);this.lya=a};Zwa=function(a,b,c){this.cba=b;this.PT=c;this.mf=new z.Bx;this.fB=Ywa;this.ln=[];this.subscribe=this.mf.subscribe.bind(this.mf);this.U=a.get("route-builder");this.$L={}};iua=function(a,b){b?a.$L["x-opentracing"]=b:delete a.$L["x-opentracing"]}; | |
z.axa=function(a){var b=$wa.length;a.substr(0,b)==$wa&&(a=a.substring(b));return a};z.dE=function(a,b,c,d){return a.get(a.U.R(b,c,d&&d.query),d)};z.cy=function(a,b,c,d,e){return a.put(a.U.R(b,c,e&&e.query),d,e)};pG=function(a){if(a.fB!=oG){for(var b=Ywa,c=0;c<a.ln.length;c++)b=Math.max(b,a.ln[c].state);a.fB!=b&&(a.fB=b,a.mf.fa(bxa,b))}};cxa=function(a){var b=[],c;for(c in a)b.push((0,window.encodeURIComponent)(c)+"\x3d"+(0,window.encodeURIComponent)(a[c]));return b.join("\x26")}; | |
z.qG=function(a,b){b=b||{};var c=z.y,d=z.A(z.AA({pC:!0,$y:!0},b))+'\x3cdiv class\x3d"container u-maxWidth920 u-marginTop180 u-xs-marginTop50 u-clearfix"\x3e\x3cdiv class\x3d"u-floatLeft '+(a.WAa?" u-hide":"")+'"\x3e',e;e=a||{};400==e.errorCode?(e=e={l:"u-textColorLighter"},e=(0,z.y)(z.Pj(z.D({name:"error400",size:"120px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"120" height\x3d"120" \x3e\x3cpath d\x3d"M0 120V0h120v120H0zm52.4-51.36V63.6h-3.84V46.48h-7.44L30.4 63.92v4.72h12.16V74h6v-5.36h3.84zM36.16 63.6l6.4-10.48V63.6h-6.4zm40.28-3.44c0-7.08-2-14.2-11-14.2S54.28 53 54.28 60.32c0 7.08 2 14.2 11 14.2s11.16-7.04 11.16-14.36zm-7 .08c0 6.88-1.16 9.48-4.08 9.48s-4.08-2.6-4.08-9.48c0-6.88 1.16-9.48 4.08-9.48s4.08 2.6 4.08 9.48zm31.96-.08c0-7.08-2-14.2-11-14.2S79.24 53 79.24 60.32c0 7.08 2 14.2 11 14.2s11.16-7.04 11.16-14.36zm-7 .08c0 6.88-1.16 9.48-4.08 9.48s-4.08-2.6-4.08-9.48c0-6.88 1.16-9.48 4.08-9.48s4.08 2.6 4.08 9.48z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
e)))):401==e.errorCode?(e=e={l:"u-textColorLighter"},e=(0,z.y)(z.Pj(z.D({name:"error401",size:"120px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"120" height\x3d"120" \x3e\x3cpath d\x3d"M0 120V0h120v120H0zm62.56-51.36V63.6h-3.84V46.48h-7.44L40.56 63.92v4.72h12.16V74h6v-5.36h3.84zM46.32 63.6l6.4-10.48V63.6h-6.4zm40.28-3.44c0-7.08-2-14.2-11-14.2S64.44 53 64.44 60.32c0 7.08 2 14.2 11 14.2S86.6 67.48 86.6 60.16zm-7 .08c0 6.88-1.16 9.48-4.08 9.48s-4.08-2.6-4.08-9.48c0-6.88 1.16-9.48 4.08-9.48s4.08 2.6 4.08 9.48zM100.56 74V46.48H96.2l-8.12 2.6v5h.28l5.6-1.84V74h6.6z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
e)))):403==e.errorCode?(e=e={l:"u-textColorLighter"},e=(0,z.y)(z.Pj(z.D({name:"error403",size:"120px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"120" height\x3d"120" \x3e\x3cpath d\x3d"M0 120V0h120v120H0zm57.04-51.36V63.6H53.2V46.48h-7.44L35.04 63.92v4.72H47.2V74h6v-5.36h3.84zM40.8 63.6l6.4-10.48V63.6h-6.4zm40.28-3.44c0-7.08-2-14.2-11-14.2S58.92 53 58.92 60.32c0 7.08 2 14.2 11 14.2s11.16-7.04 11.16-14.36zm-7 .08c0 6.88-1.16 9.48-4.08 9.48s-4.08-2.6-4.08-9.48c0-6.88 1.16-9.48 4.08-9.48s4.08 2.6 4.08 9.48zm11.88 2.12h3.12c1.4 0 3.04 0 4.24.68.96.56 1.6 1.52 1.6 2.88 0 2.16-1.72 3.44-5.04 3.44-2.96 0-6.16-1-6.16-1h-.28v5s2.64.92 6.64.92c7.24 0 11.76-3.04 11.76-8.12 0-3.8-2.52-6.08-6-6.64 3.12-.72 5.4-2.8 5.4-6.28 0-4.44-3.68-7.04-10.4-7.04-4 0-7.12.92-7.12.92v5h.32s3.24-1 6.04-1c3 0 4.24 1.12 4.24 3 0 1.24-.56 2.04-1.44 2.56-1.16.68-2.36.68-3.76.68h-3.16v5z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
e)))):404==e.errorCode?(e=e={l:"u-textColorLighter"},e=(0,z.y)(z.Pj(z.D({name:"error404",size:"120px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"120" height\x3d"120" \x3e\x3cpath d\x3d"M0 120V0h120v120H0zm54.28-51.36V63.6h-3.84V46.48H43L32.28 63.92v4.72h12.16V74h6v-5.36h3.84zM38.04 63.6l6.4-10.48V63.6h-6.4zm40.28-3.44c0-7.08-2-14.2-11-14.2S56.16 53 56.16 60.32c0 7.08 2 14.2 11 14.2s11.16-7.04 11.16-14.36zm-7 .08c0 6.88-1.16 9.48-4.08 9.48s-4.08-2.6-4.08-9.48c0-6.88 1.16-9.48 4.08-9.48s4.08 2.6 4.08 9.48zm30.84 8.4V63.6h-3.84V46.48h-7.44L80.16 63.92v4.72h12.16V74h6v-5.36h3.84zM85.92 63.6l6.4-10.48V63.6h-6.4z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
e)))):410==e.errorCode?(e=e={l:"u-textColorLighter"},e=(0,z.y)(z.Pj(z.D({name:"error410",size:"120px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"120" height\x3d"120" \x3e\x3cpath d\x3d"M0 120V0h120v120H0zm63.52-51.36V63.6h-3.84V46.48h-7.44L41.52 63.92v4.72h12.16V74h6v-5.36h3.84zM47.28 63.6l6.4-10.48V63.6h-6.4zM75.6 74V46.48h-4.36l-8.12 2.6v5h.28l5.6-1.84V74h6.6zm25.8-13.84c0-7.08-2-14.2-11-14.2S79.24 53 79.24 60.32c0 7.08 2 14.2 11 14.2s11.16-7.04 11.16-14.36zm-7 .08c0 6.88-1.16 9.48-4.08 9.48s-4.08-2.6-4.08-9.48c0-6.88 1.16-9.48 4.08-9.48s4.08 2.6 4.08 9.48z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
e)))):451==e.errorCode?(e=e={l:"u-textColorLighter"},e=(0,z.y)(z.Pj(z.D({name:"error451",size:"120px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"120" height\x3d"120" \x3e\x3cpath d\x3d"M0 120V0h120v120H0zm70.24-51.36V63.6H66.4V46.48h-7.44L48.24 63.92v4.72H60.4V74h6v-5.36h3.84zM54 63.6l6.4-10.48V63.6H54zm34.92-12v-5.12H73.16l-.8 15.64h.32s3.04-.28 5.04-.28c4.32 0 5.92 1.32 5.92 3.76 0 2.36-1.52 3.76-4.88 3.76-3.08 0-6.64-1.16-6.64-1.16h-.28v5.08s2.92 1 7 1c7.24 0 11.56-3.16 11.56-8.92 0-5.16-3.44-8.44-9.76-8.44-1.2 0-2.56.12-2.56.12l.32-5.44h10.52zM102.96 74V46.48H98.6l-8.12 2.6v5h.28l5.6-1.84V74h6.6z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
e)))):500==e.errorCode?(e=e={l:"u-textColorLighter"},e=(0,z.y)(z.Pj(z.D({name:"error500",size:"120px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"120" height\x3d"120" \x3e\x3cpath d\x3d"M0 120V0h120v120H0zm53.2-68.4v-5.12H37.44l-.8 15.64h.32s3.04-.28 5.04-.28c4.32 0 5.92 1.32 5.92 3.76 0 2.36-1.52 3.76-4.88 3.76-3.08 0-6.64-1.16-6.64-1.16h-.28v5.08s2.92 1 7 1c7.24 0 11.56-3.16 11.56-8.92 0-5.16-3.44-8.44-9.76-8.44-1.2 0-2.56.12-2.56.12l.32-5.44H53.2zm25.64 8.56c0-7.08-2-14.2-11-14.2S56.68 53 56.68 60.32c0 7.08 2 14.2 11 14.2s11.16-7.04 11.16-14.36zm-7 .08c0 6.88-1.16 9.48-4.08 9.48s-4.08-2.6-4.08-9.48c0-6.88 1.16-9.48 4.08-9.48s4.08 2.6 4.08 9.48zm31.96-.08c0-7.08-2-14.2-11-14.2S81.64 53 81.64 60.32c0 7.08 2 14.2 11 14.2s11.16-7.04 11.16-14.36zm-7 .08c0 6.88-1.16 9.48-4.08 9.48s-4.08-2.6-4.08-9.48c0-6.88 1.16-9.48 4.08-9.48s4.08 2.6 4.08 9.48z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
e)))):(e=e={l:"u-textColorLighter"},e=(0,z.y)(z.Pj(z.D({name:"errorUnknown",size:"120px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"120" height\x3d"120" \x3e\x3cpath d\x3d"M0 120h120V0H0v120zm30-58.593c0-6.952 1.055-12.93 3.164-17.934 2.109-5.004 4.647-7.506 7.614-7.506h38.433c2.967 0 5.505 2.502 7.614 7.506 2.11 5.003 3.164 10.982 3.164 17.934 0 7.113-1.054 13.168-3.164 18.164-2.109 4.996-4.647 7.498-7.614 7.505H40.778c-2.967 0-5.505-2.501-7.614-7.505C31.054 74.567 30 68.513 30 61.407zm16.985.23c0 .705.273 1.33.819 1.876.545.545 1.17.818 1.876.818.625 0 1.17-.273 1.636-.818a2.807 2.807 0 0 0 .699-1.877V51.327c0-.705-.233-1.312-.699-1.822-.465-.509-1.01-.763-1.636-.763-.705 0-1.33.254-1.876.763-.546.51-.819 1.117-.819 1.822v10.31zm7.975 18.512h10.31v-3.164c0-1.483-.51-2.734-1.528-3.752-1.018-1.018-2.27-1.528-3.753-1.528-1.484 0-2.694.51-3.633 1.528-.938 1.018-1.407 2.269-1.407 3.752v3.164h.011zm13.004-18.513c0 .706.232 1.331.698 1.877.465.545 1.01.818 1.636.818.706 0 1.331-.273 1.877-.818.545-.546.818-1.171.818-1.877V51.327c0-.705-.273-1.312-.818-1.822-.546-.509-1.171-.763-1.877-.763-.625 0-1.17.254-1.636.763a2.608 2.608 0 0 0-.698 1.822v10.31z" fill-rule\x3d"evenodd"/\x3e\x3c/svg\x3e')}, | |
e))));e=z.A(e);e=(0,z.y)(""+e);return c(d+e+'\x3c/div\x3e\x3cdiv class\x3d"u-floatLeft u-alignMiddle u-height120 u-paddingLeft20 u-xs-paddingLeft0 js-errorMessage'+(a.WAa?" u-hide":"")+'"\x3e\x3cdiv class\x3d"u-alignBlock u-textColorDarker"\x3e\x3ch2 class\x3d"u-uiTextBold u-fontSize32 u-xs-fontSize18"\x3e'+z.A(a.message)+"\x3c/h2\x3e"+(a.fs?'\x3cdiv class\x3d"u-uiTextRegular u-fontSize18 u-textColorNormal"\x3e'+z.A(a.fs)+"\x3c/div\x3e":"")+"\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e"+(a.Gza?'\x3cdiv class\x3d"u-sizeFullWidth u-borderTopLightest u-absolute u-right0 u-left0 u-bottom0"\x3e\x3cdiv class\x3d"container u-maxWidth920 u-maxHeight300 u-uiTextMonospace u-marginTop20 u-overflowScroll" style\x3d"'+ | |
(b.Aa?"/*"+b.Aa+"*/":"")+'font-size: 12px;"\x3e'+z.A(a.Gza)+"\x3c/div\x3e\x3c/div\x3e":""))}; | |
sG=function(a,b){z.Sm.call(this);this.X=a;this.PT=b;this.Z=a.get("request");this.P6=a.get("cookie-detector");a.get("screen-service").subscribe("triggerNav",this.mN,this);a.get("screen-service").subscribe("endNav",this.Hra,this);this.Z.subscribe(rG,this.$W,this);this.Z.subscribe(dxa,this.Fsa,this);this.Z.subscribe(exa,this.B9,this);this.Wqa=a.get("obv-main-started-at");this.pa=a.get("dialog");this.YE=a.get("floating-components");this.xa=a.get("app");fxa(this);window.OB_loadErrors&&(window.OB_loadErrors.forEach(this.Ro, | |
this),window.OB_loadErrors.length=0,window.OB_loadErrors.push=this.Ro.bind(this));this.sU=[]}; | |
fxa=function(a){var b=(0,z.Ja)();window.OB_startTime&&window.setTimeout(function(){var a=b-window.OB_startTime;Xy(gxa);z.Zy(hxa,a);3E4<a&&Xy(ixa)},0);window.addEventListener("load",function(){window.setTimeout(function(){if(window.performance&&window.performance.timing){var a=window.performance.timing,d=a.navigationStart;z.Zy(jxa,a.domainLookupEnd-a.domainLookupStart);z.Zy(kxa,a.responseStart-d);z.Zy(lxa,a.responseEnd-d);z.Zy(mxa,b-d);z.Zy(nxa,a.domComplete-d);z.Zy(oxa,a.loadEventEnd-d)}a=new jG({inlineScriptStart:window.OB_startTime, | |
mainScriptStart:this.Wqa,diagnosticsScriptStart:b});window.performance&&window.performance.timing&&(a.navigationStart=window.performance.timing.navigationStart,a.unloadEventStart=window.performance.timing.unloadEventStart,a.unloadEventEnd=window.performance.timing.unloadEventEnd,a.redirectStart=window.performance.timing.redirectStart,a.redirectEnd=window.performance.timing.redirectEnd,a.fetchStart=window.performance.timing.fetchStart,a.domainLookupStart=window.performance.timing.domainLookupStart, | |
a.domainLookupEnd=window.performance.timing.domainLookupEnd,a.connectStart=window.performance.timing.connectStart,a.connectEnd=window.performance.timing.connectEnd,a.secureConnectionStart=window.performance.timing.secureConnectionStart,a.requestStart=window.performance.timing.requestStart,a.responseStart=window.performance.timing.responseStart,a.responseEnd=window.performance.timing.responseEnd,a.domLoading=window.performance.timing.domLoading,a.domInteractive=window.performance.timing.domInteractive, | |
a.domContentLoadedEventStart=window.performance.timing.domContentLoadedEventStart,a.domContentLoadedEventEnd=window.performance.timing.domContentLoadedEventEnd,a.domComplete=window.performance.timing.domComplete,a.loadEventStart=window.performance.timing.loadEventStart,a.loadEventEnd=window.performance.timing.loadEventEnd);a=a.Jb();z.dy(pxa,a);qxa()}.bind(this),500)}.bind(a),!0)}; | |
qxa=function(){window.performance&&window.performance.getEntriesByType&&window.performance.getEntriesByType("resource").forEach(function(a){switch(a.initiatorType){case "css":case "link":case "script":case "img":a=(new iG({name:a.name,initiatorType:a.initiatorType,duration:a.duration})).Jb(),z.dy(rxa,a)}})};sxa=function(a){this.X=a;this.UX=tG;this.Ww=[];this.O8=null;a.get("screen-service").subscribe("triggerNav",this.kxa,this);a.get("screen-service").subscribe("endNav",this.Dna,this)}; | |
yz=function(){return 0===tG.search("https?://(.*)facebook.([^/?]*)")};zoa=function(){return 0===tG.search("https?://(www.)?twitter.([^/?]*)")};txa=function(){this.VM=this.UM=this.L8=this.Ko="";this.Ue=null};uxa=function(a){this.Z=a.get("request");this.U=a.get("route-builder");this.ka=a.get("model-store");this.qb=a.get("list-store");this.ha=a.get("butter-bar")}; | |
vxa=function(a,b,c){var d=z.Ud(c,"is-active"),e=c.getAttribute("data-subscribe-source")||"",g={isOnboarding:-1!=e.indexOf("onboarding")};z.fe(c,"is-active",!d);z.v(a.update(b,d,e,g),function(){z.fe(c,"is-active",d)})};uG=function(a,b,c,d,e,g,k,l){z.O.call(this);this.X=a;this.Wa=a.get("screen-service");this.lb=a.get("dom-monitor");this.Rl=b;this.track(this.Rl);this.Bg=c;this.xn=g;this.DL=k;this.UG=l;this.qn=d;this.QN=e};vG=function(a){this.X=a;this.Wa=a.get("screen-service");this.YE=[]}; | |
z.wxa=function(a){return new z.wG(a,a.X)};z.wG=function(a,b){this.Wna=a;this.X=b;this.UG=this.Bg=this.DL=this.xn=this.Rl=null;this.qn=z.xD;this.QN=!1};xxa=function(a){this.Wa=a.get("screen-service");this.Z=a.get("request");this.KM=0;this.Wa.subscribe("triggerNav",this.Nj,this);this.Wa.subscribe("endNav",this.Cna,this);this.Z.subscribe(bxa,this.refresh,this)}; | |
xG=function(a,b,c,d,e,g,k,l,q,r,t,w){z.O.call(this);this.Wa=a.get("screen-service");this.lb=a.get("dom-monitor");this.Rl=b;this.track(b);this.$v=c;this.track(c);this.Uq=d;this.CA=g;this.nO=k;this.mE=r;this.Bg=l;this.qn=q;this.zt=t;this.Vz=w}; | |
yxa=function(a){var b=a.V();a.mE&&z.de(b,"u-fixed");var c=a.Wd(),d=c?z.qg(c):null;if(d&&z.Og(d.body,c)){var d=a.query(".popover-inner"),e=d.scrollTop;b.style.height="";d.style.height="";var g=b.offsetHeight-Fha(d).height;a.Uq.Hf(b);var k=(0,window.parseInt)(b.style.height,10);k&&(d.style.height=k-g+"px",d.scrollTop=e);if(c){e=Twa(c,b,To(b).top)||"bottom";z.fe(b,"popover--top",z.EF==e);z.fe(b,"popover--left","left"==e);z.fe(b,"popover--right","right"==e);z.fe(b,"popover--bottom","bottom"==e);var l= | |
z.bx(c);[To(c),z.Uo(c)].forEach(function(a){l.left+=a.left;l.top+=a.top;l.width-=a.left+a.right;l.height-=a.top+a.bottom});c=a.query(".popover-arrow");g=z.bx(c);k=z.bx(d);e==z.EF||"bottom"==e?c.style.left=Math.round(z.re(Math.round(c.offsetLeft+(l.left+l.width/2-g.left)),d.offsetLeft+g.width,d.offsetLeft+k.width-g.width))+"px":c.style.top=Math.round(z.re(Math.round(c.offsetTop+(l.top+l.height/2-g.top)),d.offsetTop+g.height,d.offsetTop+k.height-g.height))+"px"}a.mE&&z.Vd(b,"u-fixed")}else aF(a.$v)}; | |
z.yG=function(a){this.Iz=a};zG=function(a,b,c,d){this.Iz=a;this.eB=b;this.Hz=c;this.vpa=d||0};Axa=function(a,b,c,d){var e=a.Iz;a=zxa(a,b,c,10,d);if(a&496){a=Swa(b);var g=Rwa(lG(b)),k=b==z.EF||"bottom"==b,l=To(c),k=k?new z.ro(0,-l.right,0,-l.left):new z.ro(-l.top,0,-l.top,0);a=z.kG(e,a,c,g,null,k,10,null,d);a&496&&(a=Rwa(b),g=Swa(lG(b)),a=z.kG(e,a,c,g,null,k,10,null,d))}return a}; | |
zxa=function(a,b,c,d,e){var g=b==z.EF||"bottom"==b,k=0,l=a.Iz;l&&(k=z.bx(l),k=Math.round((g?k.width:k.height)/2));var q=z.bx(c),q=Math.round((g?q.width:q.height)/2);return z.kG(l,b==z.EF?0:"bottom"==b?1:"left"==b?0:4,c,b==z.EF?5:"bottom"==b?4:"left"==b?5:0,null,g?new z.ro(0,-(q+k+a.vpa),0,0):new z.ro(0,0,-(q+k),0),d,null,e)};z.AG=function(a){z.O.call(this);this.X=a;this.Wa=a.get("screen-service");this.JN=this.sq=null};z.dD=function(a){return new z.BG(a)}; | |
Bxa=function(a){for(;a;a=a.parentNode)if(a.getAttribute&&a.getAttribute("data-tooltip"))return a;return null};z.BG=function(a){this.ma=a;this.Bg=this.Bk=this.Rl=null;this.$v=new z.$E;this.eB=null;this.CA="";this.zt={};this.mE=this.nO=!1;this.Uq=null;this.qn=yxa;this.Vz=null};z.cD=function(a,b){a.Bk=b;return a};z.CG=function(a,b){a.$v=b;return a};z.DF=function(a,b){a.eB=b;return a};z.bD=function(a,b){a.CA=b;return a};z.aD=function(a,b){a.zt=b;return a};eD=function(a){a.mE=!0;return a}; | |
z.Cxa=function(a){var b=a.ma.Ec().Wd();a.ma.Rb();z.cD(a,b);a.ba()};DG=function(a){var b;z.Sm.call(this);this.Gua=a;this.ME=2*a+1;this.Be="Uint8ClampedArray"in window?new window.Uint8ClampedArray(4*this.ME):Array(4*this.ME);this.Id=0;this.Cc="Uint32Array"in window?new window.Uint32Array(4):Array(4);this.zo=[];b=12;for(a=Math.ceil(1/this.ME*Math.pow(2,12));b&&!(a&&a%2);)a/=2,b--;for(var c=255*this.ME,d=0;d<=c;d++)this.zo[d]=d*a>>b}; | |
EG=function(a){var b;for(b=0;b<a.Cc.length;b++)a.Cc[b]=0;for(b=0;b<a.Be.length;b++)a.Be[b]=0};FG=function(a,b){z.O.call(this);this.Ha(a);this.jt=b;this.Ot=this.query(".js-progressiveMedia-thumbnail");this.Pv=this.query(".js-progressiveMedia-canvas")}; | |
Fxa=function(a){if(!z.Ud(a.V(),"is-canvasLoaded")){var b=(0,z.Ja)(),c=og(new z.ng(a.Ot.width,a.Ot.height),Dxa);a.Pv.width=c.width;a.Pv.height=c.height;var c=a.Pv.getContext("2d"),d=new z.so(0,0,a.Pv.width,a.Pv.height);Epa(c,a.Ot,new z.so(0,0,a.Ot.width,a.Ot.height),d)&&(d=Fpa(c,d))&&(a.jt.blur(d),c.putImageData(d,0,0),z.Vd(a.V(),"is-canvasLoaded"),b=(new Or).av((0,z.Ja)()-b),b=z.I(b,"thumbnailSrc",a.Ot.src).nga(a.Ot.height).oga(a.Ot.width),b=z.I(b,"canvasHeight",a.Pv.height),a=z.I(b,"canvasWidth", | |
a.Pv.width).Jb(),z.dy(Exa,a))}};GG=function(a,b){FG.call(this,a,b);this.Iq=this.query(".js-progressiveMedia-image");this.gp=null;this.xF=!1;this.YM=this.XM=null};HG=function(a,b){FG.call(this,a,b);this.dM=this.query(".progressiveMedia-iframe")}; | |
IG=function(a,b){z.Bx.call(this);this.Yo=b;this.lb=a.get("dom-monitor");this.uM=z.$w(this.Yo).top;this.vM=null;this.Pb=[z.Rw(window.document,"click",this.gra,this,!0),z.Rw(window.document,"keyup",this.YF,this),z.Rw(window.document,"touchmove",this.Gta,this)];this.lb.subscribe("scroll-throttled",this.So,this)};JG=function(a){z.Bx.call(this);this.X=a;this.Wa=a.get("screen-service");this.mH=this.BZ=this.Yk=this.pB=null;iy("zoom",this.Rta,this);this.Wa.subscribe("endNav",this.Qo,this)}; | |
Gxa=function(a,b){a=z.jz(a.Wa.Rc());var c=(0,window.parseInt)(z.yo(b,"zIndex"),10);if(!(0,window.isNaN)(c))for(b=z.Mg(b);b&&b!=a;){var d=(0,window.parseInt)(z.yo(b,"zIndex"),10);!(0,window.isNaN)(d)&&d<c&&(b.setAttribute("data-zoomable-z-index",b.style.zIndex),b.style.zIndex=c);b=z.Mg(b)}};Hxa=function(a,b,c){var d=Number(a.getAttribute("data-width")||window.Infinity);a=Number(a.getAttribute("data-height")||window.Infinity);return Math.min(Math.min(c.width,d)/b.width,Math.min(c.height,a)/b.height)}; | |
KG=function(a,b){var c=a.Yk,d=a.BZ,e=z.ug(),g=Hxa(a.Yk,d,e),k=d.clone().scale(g);k.left=d.left+(d.width-k.width)/2;k.top=d.top+(d.height-k.height)/2;var l=(e.width-k.width)/2,e=(e.height-k.height)/2;b?(z.xo(c,"transform","scale("+g+") "+("translate("+(l-k.left)/g+"px, "+(e-k.top)/g+"px)")),Ixa(a.Yk,a.mH)):(z.xo(c,"transform",""),a=a.mH,c.style.left=l-d.left-((0,window.parseInt)(a.left,10)||0)+"px",c.style.top=e-d.top-((0,window.parseInt)(a.top,10)||0)+"px",c.style.width=k.width+"px",c.style.maxWidth= | |
k.width+"px",c.style.height=k.height+"px")};Jxa=function(a,b){z.ee(b,["zoomable","is-static","is-zooming"]);a=z.jz(a.Wa.Rc());for(b=b.parentNode;b&&b!=a;){var c=b.getAttribute("data-zoomable-z-index");null!=c&&(b.style.zIndex=c,b.removeAttribute("data-zoomable-z-index"));b=b.parentNode}};Ixa=function(a,b){a.style.left=b.left;a.style.top=b.top;a.style.width=b.width;a.style.maxWidth=b.maxWidth;a.style.height=b.height}; | |
DH=function(a){z.O.call(this);this.za=a.get("screen");this.Wa=a.get("screen-service");this.ub=a.get("element-tracker");this.mba=a.get("zoomable");this.lb=a.get("dom-monitor");this.ha=a.get("butter-bar");this.Gw={};this.T8={};this.jt=null};z.Kxa=function(a,b){z.ab(b.querySelectorAll(".js-progressiveMedia")).forEach(a.TE,a)};Lxa=function(a){a.za.Ya(".js-progressiveMedia-thumbnail").forEach(function(a){a.complete&&Fxa(this.TE(a.parentNode))},a)}; | |
Mxa=function(a){this.X=a;this.xa=a.get("app");this.U=a.get("route-builder");this.pa=a.get("dialog")}; | |
z.Nxa=function(a){var b,c,d;z.pi(z.Qm).enable_tnt_easter_egg?(b="System font easter egg deactivated",c="Going back to your regular system font.",d="OK",z.cE.remove("vgasys","/")):(b="System font easter egg activated",c="Switching system font to 1990’s System. Search for C:\\WINDOWS again any time to revert.",d="Take me back",z.cE.set("vgasys","1",14400,"/"));a.pa.open({title:b,bodyHtml:c,type:z.rz,$k:d},!0).subscribe(z.oz,function(){this.xa.Qf();this.xa.navigate(this.U.R(z.Mu,{},{}))},a)}; | |
EH=function(a){z.O.call(this);this.X=a;this.xa=a.get("app");this.ma=a.get("popover");this.Pla=a.get("algolia");this.U=a.get("route-builder");this.ka=a.get("model-store");this.lG=null;this.FU=a.get("easter-egg")};Oxa=function(a,b,c){var d="popover--predictiveSearch";c&&(d+=" popover--collectionSearch u-resetSpectrum");a.lG=z.DF(z.bD(z.cD(z.dD(a.ma),b),d).Sa(aoa),"bottom").ba();a.lG.il().J("search-open-item",a.ima,a)}; | |
FH=function(a){z.O.call(this);this.Wa=a.get("screen-service");this.X=a;this.xa=a.get("app");this.ma=a.get("popover");this.Z=a.get("request");this.U=a.get("route-builder");this.kE=a.get("activity");this.jE=null;this.k7=0;this.nL=null};GH=function(a){if(!z.sr())return z.Jd(null);a.jE||(a.jE=a.X.load("activity-feed"),z.v(a.jE,function(b){z.xx(b);a.jE=null}));return a.jE.yc()};Pxa=function(a,b){(a=a.xa.Rc())&&"aggressive"==a.Yj()&&(b.zg(a.query(".js-metabar")),eD(b))}; | |
Qxa=function(a,b){var c=a.xa.Rc();if(c&&b.isActive()){var d=c.query(".js-metabar");(0,z.nb)(d.parentNode.children,function(a){a==d||z.Ud(a,"popover")||z.Vd(a,"metabar-sibling")});z.Vd(window.document.documentElement,"is-globalNavPopoverActive");b.xk("deactivate",function(){z.de(window.document.documentElement,"is-globalNavPopoverActive")},a)}};Rxa=function(a){z.bn(a.nL);var b=a.Wa.Rc();b&&(a.nL=new z.O,b.track(a.nL),b.Ya(".js-predictiveSearchInput").forEach(function(b){a.nL.track((new EH(a.X)).Ha(b))}))}; | |
Sxa=function(a){var b=a.xa.Rc();if(b&&(b=b.query(".js-notificationsButton"))){var c=z.Ew(joa,{unreadActivityCount:a.kE.eH,vb:z.Ud(b,"is-styleLight"),la:z.Ud(b,"is-styleDark")});z.Hg(c,b);(a=a.ma.Ec())&&a.Wd()==b&&a.Zp(c)}};HH=function(a){z.O.call(this);this.X=a;this.xa=a.get("app");this.Vk=a.get("request");this.iO=null};IH=function(a){z.Sm.call(this);this.Wa=a.get("screen-service");this.lb=a.get("dom-monitor");this.Pb=null};JH=function(){};KH=function(a){this.Cg=!1;this.Z=a.get("request")}; | |
hua=function(a,b){if(a.Cg){var c={};lz.B0(b,lz.Js,c);iua(a.Z,JSON.stringify(c))}};Fna=function(a){var b=z.H(z.Qm,"lightstep");if(!a.Cg||!b)return null;a=z.H(b,"carrier");z.I(b,"carrier","");if(!a)return null;var c;try{c=JSON.parse(a)}catch(d){return z.xx("Error parsing span carrier "+d),null}return lz.H_(lz.Js,c)}; | |
LH=function(a){z.Bx.call(this);this.dba=this.vd=null;this.lb=a.get("dom-monitor");this.lb.subscribe("scroll-end",this.HA,this);this.Wa=a.get("screen-service");this.Wa.subscribe("endNav",this.Qo,this)}; | |
Vxa=function(a){if(a.vd){var b=z.$w(a.vd).top,c=z.bx(a.vd).height,c=b+c,d=z.$w(a.vd).height,e=window.performance&&window.performance.now?window.performance.now():(0,z.Ja)()-Txa,g=a.CF?e-a.CF:0;if(!a.CF||1E3<g)a.fa(Uxa,{viewStartedAt:a.dba,scrollTop:b,scrollBottom:c,scrollableHeight:d,loggedAt:(0,z.Ja)(),timeDiff:Math.round(g)}),a.CF=e}};OH=function(a,b){this.Sva=b;this.Z=a.get("request");this.Z.subscribe(MH,this.h1,this);this.Z.subscribe(NH,this.IDa,this);this.Z.subscribe(rG,this.$W,this)}; | |
Wxa=function(){var a=new Ey,b=z.H(z.Qm,"buildLabel"),b=z.Dy(a.scope("app").add("route-builder",iha).add("activity-monitor",AC).add("request",Zwa,3,b).add("model-request",z.by).add("model-store",z.UD).add("list-store",z.ND).add("app",ez,"/",z.tr()).add("screen-service",zy).add("image",Kta).add("dom-monitor",oB).add("butter-bar",vpa,window.document.querySelector(".butterBar")).add("popover",z.AG).add("dialog",nz).add("activity",uD).add("referrer-tracker",sxa).add("scroll-tracker",LH).add("loading-indicator", | |
xxa).add("surface-processor",bE).add("tagSubscribe",uxa).add("vote",gG).add("algolia",Mwa).add("service-worker",OH,"/service-worker.js").add("global-event-bus",z.Bx).add("zoomable",JG).add("floating-components",vG).add("easter-egg",Mxa).add("catalog-history-tracker",Nwa).add("upsell-tracker",txa).add("media-resource",kua).add("diagnostics",sG,b).add("cookie-detector",lua,b).add("global-css",IH).add("lightstep",KH).add("screen-request-cache",jua),"ShowScreen",fG).Ma("upload","common-async").Ma("activity-feed", | |
"common-async").Ma("UserCard","common-async").Ma("CollectionCard","common-async").Ma("tweet-dialog","notes").Ma("twitter","notes").Ma("facebook","notes").Ma("CatalogEditScreen","posters").Ma("EditScreen","posters").Ma("ImportScreen","posters").Ma("LettersScreen","posters").Ma("RevertCandidateScreen","posters").Ma("SeriesEditScreen","posters").Ma("UserStatsScreen","stats").Ma("CollectionStatsScreen2","stats").Ma("CollectionStatsStoriesScreen","stats").Ma("CollectionHomeScreen","home-screens").Ma("HomeScreen", | |
"home-screens").Ma("CollectionArchiveBucketScreen","pubs").Ma("CollectionCategoryScreen","pubs").Ma("CollectionCategoryEditScreen","pubs").Ma("CollectionCategoryListScreen","pubs").Ma("CollectionFollowersScreen","pubs").Ma("CollectionNavigationSettingsScreen","pubs").Ma("CollectionSearchScreen","pubs").Ma("CollectionSettingsScreen","pubs").Ma("CollectionSelectFacebookPageScreen","pubs").Ma("CollectionStoriesManagerScreen","pubs").Ma("CollectionSubmittedPostsScreen","pubs").Ma("CollectionTaggedScreen", | |
"pubs").Ma("CollectionTakeoverEditScreen","pubs").Ma("CollectionTakeoversScreen","pubs").Ma("MastheadEditScreen","pubs").Ma("MastheadScreen","pubs").Ma("MigrationScreen","pubs").Ma("ChunkStandaloneScreen","power-readers").Ma("ReadingListScreen","power-readers").Ma("SearchScreen","power-readers").Ma("SequenceScreen","power-readers").Ma("SequencePostScreen","power-readers").Ma("TagArchiveBucketScreen","power-readers").Ma("TagScreen","power-readers").Ma("TopicExploreScreen","power-readers").Ma("TopicScreen", | |
"power-readers").Ma("AcceptedFeatureLockPostRequestScreen","hightower").Ma("CreatorsLandingScreen","hightower").Ma("PartnerApplicationScreen","hightower").Ma("PartnerTaxesScreen","hightower").Ma("PartnerDashboardScreen","hightower").Ma("PartnerEnrollScreen","hightower").Ma("PartnerLandingScreen","hightower").Ma("MemberBillingHistoryScreen","hightower").Ma("ActivityScreen","misc-screens").Ma("CancelMembershipScreen","misc-screens").Ma("CollectionScreen","misc-screens").Ma("CatalogScreen","misc-screens").Ma("ClientReportingTestScreen", | |
"misc-screens").Ma("EmailSettingsScreen","misc-screens").Ma("ExportScreen","misc-screens").Ma("MediumAboutScreen","misc-screens").Ma("MediumMembershipUpgradeScreen","misc-screens").Ma("MediumMembershipPaymentScreen","misc-screens").Ma("OAuthApplicationScreen","misc-screens").Ma("OnboardingScreen","misc-screens").Ma("PostInfoScreen","misc-screens").Ma("ProfileScreen","misc-screens").Ma("ProfileEditScreen","misc-screens").Ma("SeriesShowScreen","misc-screens").Ma("SettingsScreen","misc-screens").Ma("SequenceEditScreen", | |
"misc-screens").Ma("ShowSuspendedScreen","misc-screens").Ma("SignInScreen","misc-screens").Ma("SubscriptionsLandingScreen","misc-screens").Ma("TopicEditScreen","misc-screens").Ma("AddPostsToTopicScreen","misc-screens").Ma("UserCatalogsScreen","misc-screens").Ma("VerificationScreen","misc-screens").Ma("YourCatalogsScreen","misc-screens").Ma("YourCollectionsScreen","misc-screens").Ma("YourFollowsScreen","misc-screens").Ma("YourStoriesScreen","misc-screens").add("sitenav",HH).hp("highlight-menu-event-bus", | |
function(){return new z.fx});b.yh("obv-main-started-at");b.hp("dom-model-converter",function(){return new oua});b.hp("dom-block-helper",function(){return new z.fE(z.Qm,window.document)});a.scope("screen").yh("screen").yh("screen-view-state").yh("placements-store").add("element-tracker",DC,!0).add("progressive-media-loader",DH).add("quotes-data",XE).add("responses-data",z.hG).add("screen-request",z.$D).Ma("editor","posters").Ma("FriendLinkControl","notes").Ma("quotes","notes").Ma("notes-data","notes").Ma("quote-responses", | |
"notes").Ma("responses-stream-control","notes").Ma("PlacementsStore","notes").Ma("Meter","notes").Ma("PostMeterBar","notes").Ma("PostFooterReadNext","notes").Ma("PostSidebar","notes").Ma("WriterControls","notes").Ma("FrequentlyAskedQuestions","payments").Ma("PaymentForm","payments").Ma("CreditCardForm","payments").yh("vote-widget").yh("show-verify-email-prompt").yh("show-privacy-banner");a.scope("editor").yh("editor-default-text-behavior").yh("editor-event-context").yh("editor-permalink").yh("editor-root-el").yh("editor-disable-embeds").yh("editor-hide-media-tooltip").yh("editor-disable-tags").yh("editor-enable-title-labels").yh("editor-is-series").Ma("editor-model", | |
"posters").Ma("editor-save-controller","posters").Ma("editor-controller","posters").Ma("editor-event-bus","posters").Ma("editor-menu","posters").Ma("editor-tag-controller","posters");return a};Xxa=function(){var a=z.H(z.Qm,"buildLabel");wx(z.nG);wx(z.Sd);wx(yy);wx(rx);vx.push(function(a){return!z.Ha(String(a.message),"domIsDirty")&&!z.Ha(String(a.stack),"domIsDirty")});oma("user",z.rr().userId);ux.build=a;ux.userAgent=window.navigator.userAgent;oma("location",{toString:function(){return window.document.location.href}})}; | |
PH=function(a,b){z.RA.call(this,a,"toggle-subscribe-tag");this.Bxa=b.get("tagSubscribe")};QH=function(a,b){z.RA.call(this,a,["toggle-subscribe-topic"]);this.X=b;this.U=b.get("route-builder");this.Z=b.get("request");this.ka=b.get("model-store")};z.Yxa=function(){var a=z.n("Send");return(0,z.y)(""+a)};z.Zxa=function(){var a=z.n("Write a letter to followers…");return(0,z.y)(""+a)}; | |
RH=function(a,b){a=a||{};return(0,z.y)('\x3cdiv class\x3d"block-streamText"\x3e\x3cdiv class\x3d"postArticle postArticle--short"\x3e\x3cdiv class\x3d"u-maxWidth600"\x3e'+z.A(z.dG(z.D({Ib:!0},a),b))+'\x3cdiv class\x3d"js-tagEditor tagEditor u-hide"\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e')}; | |
$xa=function(a,b,c){a="";b=z.n("Learn more about blocking");var d=z.n("They will no longer be able to follow you or view your content.{$startBreak}",{startBreak:"\x3cbr\x3e"});a+=d+z.A(z.cl({href:(0,z.L)("https://help.medium.com/hc/en-us/articles/214994577-Block-this-user"),s:(0,z.M)(""+b)},c));return(0,z.y)(a)};SH=function(a,b){z.RA.call(this,a,"report-user");this.pa=b.get("dialog");this.Z=b.get("request");this.U=b.get("route-builder");this.ha=b.get("butter-bar")}; | |
TH=function(a,b){z.RA.call(this,a,"toggle-block-user");this.pa=b.get("dialog");this.Z=b.get("request");this.U=b.get("route-builder");this.ka=b.get("model-store");this.ha=b.get("butter-bar");this.ma=b.get("popover")}; | |
bya=function(a,b,c){var d=z.ab(window.document.querySelectorAll('.js-followState[data-user-id\x3d"'+b+'"]')),e=z.ab(window.document.querySelectorAll('.js-blockMenuButton[data-action-value\x3d"'+b+'"]')),g=c?z.ab(window.document.querySelectorAll('.js-followButton[data-action-value\x3d"'+b+'"]')):[];d.forEach(function(a){z.fe(a,"is-blocking",c)},a);e.forEach(function(a){z.fe(a,"is-active",c)},a);c&&g.forEach(function(a){z.de(a,"is-active")},a);(d=a.ma.Ec())&&d.Hf();aya(a.ka.Zb(b),c)}; | |
aya=function(a,b){a&&a.social&&z.I(a.social,"isBlocking",b)};z.UH=function(a){z.K.call(this);this.C(a)};VH=function(a,b){z.RA.call(this,a,"toggle-subscribe-user");this.Z=b.get("request");this.U=b.get("route-builder");this.ka=b.get("model-store");this.ha=b.get("butter-bar")};cya=function(a,b,c){b.social&&(b.social.isFollowing=c);z.ZC(a.ka,b)}; | |
dya=function(a,b){a=window.document.querySelectorAll('.js-followState[data-user-id\x3d"'+a+'"] .js-followButton');for(var c=0;c<a.length;c++){z.fe(a[c],"is-active",b);var d=z.Ud(a[c],"button--primary"),e=z.Ud(a[c],"u-accentColor--borderNormal");d&&e&&(z.fe(a[c],"u-accentColor--backgroundNormal",b),z.fe(a[c],"u-accentColor--textNormal",!b))}}; | |
eya=function(a,b){var c=new z.UH;switch(a){case "catalog_detail":c.catalogId=b;c.feature=1;break;case "catalog_tab":c.catalogId=b;c.feature=2;break;case "collection_editor_card":c.collectionId=b;c.feature=4;break;case "collection_followers":c.collectionId=b;c.feature=3;break;case "collection_writer_card":c.collectionId=b;c.feature=5;break;case "onboarding":c.tagSlug=b;c.feature=6;break;case "personalization_main":c.feature=7;break;case "personalization_sidebar":c.feature=8;break;case "footer_card":c.postId= | |
b;c.feature=9;break;case "RECOMMEND_LIST":c.postId=b;c.feature=10;break;case "post_actions_bar":c.postId=b;c.feature=11;break;case "post_actions_footer":c.postId=b;c.feature=12;break;case "post_header_lockup":c.postId=b;c.feature=13;break;case "profile":c.userId=b;c.feature=14;break;case "PROFILE_FOLLOWS_LIST":c.userId=b;c.feature=15;break;case "search_user":c.feature=17;break;default:c.feature=0}return c};z.aa=[]; | |
da="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global?window.global:this;ca={};caa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};baa=0;z.kc=this;ta="closure_uid_"+(1E9*Math.random()>>>0);eaa=0;z.Ja=Date.now||function(){return+new Date};z.p(z.za,Error);z.za.prototype.name="CustomError";var Eba;var iaa,jaa,kaa,laa,maa,naa,haa;z.La=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};iaa=/&/g;jaa=/</g;kaa=/>/g;laa=/"/g;maa=/'/g;naa=/\x00/g;haa=/[\x00&<>"']/;z.fya=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};z.Pn=2147483648*Math.random()|0;var se;z.Wa=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(z.pa(a))return z.pa(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1}; | |
z.gya=Array.prototype.lastIndexOf?function(a,b,c){return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if(z.pa(a))return z.pa(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};z.nb=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=z.pa(a)?a.split(""):a,g=0;g<d;g++)g in e&&b.call(c,e[g],g,a)}; | |
z.be=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],g=0,k=z.pa(a)?a.split(""):a,l=0;l<d;l++)if(l in k){var q=k[l];b.call(c,q,l,a)&&(e[g++]=q)}return e};z.Hb=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g=z.pa(a)?a.split(""):a,k=0;k<d;k++)k in g&&(e[k]=b.call(c,g[k],k,a));return e}; | |
se=Array.prototype.reduce?function(a,b,c,d){d&&(b=(0,z.wa)(b,d));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,d){var e=c;(0,z.nb)(a,function(c,k){e=b.call(d,e,c,k,a)});return e};z.Cd=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=z.pa(a)?a.split(""):a,g=0;g<d;g++)if(g in e&&b.call(c,e[g],g,a))return!0;return!1}; | |
z.WH=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=z.pa(a)?a.split(""):a,g=0;g<d;g++)if(g in e&&!b.call(c,e[g],g,a))return!1;return!0};var Ab="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");Function.prototype.bind||(Function.prototype.bind=uaa);Array.prototype.indexOf||(Array.prototype.indexOf=vaa);Array.prototype.map||(Array.prototype.map=waa);Array.prototype.find||(Array.prototype.find=xaa);Date.now||(Date.now=z.Ja);Array.isArray||(Array.isArray=z.na);Object.keys||(Object.keys=z.tb); | |
(function(){for(var a=0,b=["ms","moz","webkit","o"],c=0;c<b.length&&!window.requestAnimationFrame;++c)window.requestAnimationFrame=window[b[c]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[b[c]+"CancelAnimationFrame"]||window[b[c]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(b){var c=(new Date).getTime(),g=Math.max(0,16-(c-a)),k=window.setTimeout(function(){b(window.NaN)},g);a=c+g;return k});window.cancelAnimationFrame||(window.cancelAnimationFrame= | |
function(a){(0,window.clearTimeout)(a)})})();window.URL=window.URL||window.webkitURL||window;Ob.prototype.get=function(){var a;0<this.QQ?(this.QQ--,a=this.$P,this.$P=a.next,a.next=null):a=this.zza();return a};Ob.prototype.put=function(a){this.yEa(a);this.QQ<this.YCa&&(this.QQ++,a.next=this.$P,this.$P=a)};var Fc=new Ob(function(){return new Qb},function(a){a.reset()},100);Pb.prototype.add=function(a,b){var c=Fc.get();c.set(a,b);this.aS?this.aS.next=c:this.qD=c;this.aS=c};Pb.prototype.remove=function(){var a=null;this.qD&&(a=this.qD,this.qD=this.qD.next,this.qD||(this.aS=null),a.next=null);return a};Qb.prototype.set=function(a,b){this.Vd=a;this.scope=b;this.next=null};Qb.prototype.reset=function(){this.next=this.scope=this.Vd=null};var Rb=[],Ub=[],Tb=!1;z.ai=z.$b(!1);z.T=z.$b(!0);z.xD=z.$b(null);var dc;a:{var hya=z.kc.navigator;if(hya){var iya=hya.userAgent;if(iya){dc=iya;break a}}dc=""};var qc,pc=ac;z.Vb(function(a){pc=a});var uc,Ac=!1,Bc=new Pb;var Kc=0,Mc=2,Oc=3;Tc.prototype.reset=function(){this.context=this.BC=this.DI=this.ux=null;this.RO=!1};var Vc=new Ob(function(){return new Tc},function(a){a.reset()},100);Qc.prototype.then=function(a,b,c){return Eaa(this,z.ra(a)?a:null,z.ra(b)?b:null,c)};Mb(Qc);Qc.prototype.cancel=function(a){this.jo==Kc&&Dc(function(){var b=new hd(a);Yc(this,b)},this)};Qc.prototype.SFa=function(a){this.jo=Kc;Lc(this,Mc,a)};Qc.prototype.TFa=function(a){this.jo=Kc;Lc(this,Oc,a)}; | |
Qc.prototype.bAa=function(){for(var a;a=$c(this);)ad(this,a,this.jo,this.bs);this.C_=!1};var jd=lc;z.p(hd,z.za);hd.prototype.name="cancel";/* | |
Portions of this code are from MochiKit, received by | |
The Closure Authors under the MIT license. All other code is Copyright | |
2005-2009 The Closure Authors. All Rights Reserved. | |
*/ | |
var Iaa=z.kc.setTimeout,Haa=z.kc.clearTimeout;z.f=z.kd.prototype;z.f.cancel=function(a){if(this.cf)this.bs instanceof z.kd&&this.bs.cancel();else{if(this.yj){var b=this.yj;delete this.yj;a?b.cancel(a):(b.XO--,0>=b.XO&&b.cancel())}this.nfa?this.nfa.call(this.hca,this):this.C3=!0;this.cf||this.Bh(new z.Sd(this))}};z.f.Wba=function(a,b){this.TZ=!1;pd(this,a,b)};z.f.callback=function(a){rd(this);pd(this,!0,a)};z.f.Bh=function(a){rd(this);pd(this,!1,a)}; | |
z.f.then=function(a,b,c){var d,e,g=new Qc(function(a,b){d=a;e=b});yd(this,d,function(a){a instanceof z.Sd?g.cancel():e(a)});return g.then(a,b,c)};Mb(z.kd);z.kd.prototype.cu=function(a){yd(this,a.callback,a.Bh,a);return this};z.kd.prototype.yc=function(a){var b=new z.kd;this.cu(b);a&&(b.yj=this,this.XO++);return b};z.p(qd,z.za);qd.prototype.message="Deferred has already fired";qd.prototype.name="AlreadyCalledError";z.p(z.Sd,z.za);z.Sd.prototype.message="Deferred was canceled";z.Sd.prototype.name="CanceledError"; | |
Id.prototype.GFa=function(){delete Hd[this.Dp];throw this.aAa;};var Hd={};var pe=/\s*;\s*/;z.f=z.oe.prototype;z.f.isEnabled=function(){return window.navigator.cookieEnabled};z.f.set=function(a,b,c,d,e,g){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');z.ka(c)||(c=-1);e=e?";domain\x3d"+e:"";d=d?";path\x3d"+d:"";g=g?";secure":"";c=0>c?"":0==c?";expires\x3d"+(new Date(1970,1,1)).toUTCString():";expires\x3d"+(new Date((0,z.Ja)()+1E3*c)).toUTCString();this.Cd.cookie=a+"\x3d"+b+e+d+c+g}; | |
z.f.get=function(a,b){for(var c=a+"\x3d",d=(this.Cd.cookie||"").split(pe),e=0,g;g=d[e];e++){if(0==g.lastIndexOf(c,0))return g.substr(c.length);if(g==a)return""}return b};z.f.remove=function(a,b,c){var d=this.sr(a);this.set(a,"",0,b,c);return d};z.f.Ei=function(){return qe(this).keys};z.f.sj=function(){return qe(this).values};z.f.Ji=z.h(3);z.f.ue=function(){return this.Cd.cookie?(this.Cd.cookie||"").split(pe).length:0};z.f.sr=function(a){return z.ka(this.get(a))}; | |
z.f.clear=function(){for(var a=qe(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};z.cE=new z.oe("undefined"==typeof window.document?null:window.document);z.cE.nLa=3950;z.ye="StopIteration"in z.kc?z.kc.StopIteration:{message:"StopIteration",stack:""};z.xe.prototype.next=function(){throw z.ye;};z.xe.prototype.Jv=function(){return this};z.f=z.Be.prototype;z.f.ue=function(){return this.We};z.f.sj=function(){Fe(this);for(var a=[],b=0;b<this.Oe.length;b++)a.push(this.Em[this.Oe[b]]);return a};z.f.Ei=function(){Fe(this);return this.Oe.concat()};z.f.sr=function(a){return Ce(this.Em,a)};z.f.nd=function(a,b){if(this===a)return!0;if(this.We!=a.ue())return!1;b=b||Naa;Fe(this);for(var c,d=0;c=this.Oe[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};z.f.Ji=z.h(2);z.f.clear=function(){this.Em={};this.JJ=this.We=this.Oe.length=0}; | |
z.f.remove=function(a){return Ce(this.Em,a)?(delete this.Em[a],this.We--,this.JJ++,this.Oe.length>2*this.We&&Fe(this),!0):!1};z.f.get=function(a,b){return Ce(this.Em,a)?this.Em[a]:b};z.f.set=function(a,b){Ce(this.Em,a)||(this.We++,this.Oe.push(a),this.JJ++);this.Em[a]=b};z.f.addAll=function(a){var b;a instanceof z.Be?(b=a.Ei(),a=a.sj()):(b=z.tb(a),a=z.qb(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])}; | |
z.f.forEach=function(a,b){for(var c=this.Ei(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};z.f.clone=function(){return new z.Be(this)};z.f.aha=z.h(4);z.f.Jv=function(a){Fe(this);var b=0,c=this.JJ,d=this,e=new z.xe;e.next=function(){if(c!=d.JJ)throw Error("The map has changed since the iterator was created");if(b>=d.Oe.length)throw z.ye;var e=d.Oe[b++];return a?e:d.Em[e]};return e};var Ge=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Paa=/#|$/;z.f=z.Ie.prototype;z.f.toString=function(){var a=[],b=this.If;b&&a.push(We(b,jya,!0),":");var c=this.Dd();if(c||"file"==b)a.push("//"),(b=this.Wy)&&a.push(We(b,jya,!0),"@"),a.push((0,window.encodeURIComponent)(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.ul,null!=c&&a.push(":",String(c));if(c=this.Ed())this.qp&&"/"!=c.charAt(0)&&a.push("/"),a.push(We(c,"/"==c.charAt(0)?kya:lya,!0));(c=this.dg.toString())&&a.push("?",c);(c=this.EH)&&a.push("#",We(c,mya));return a.join("")}; | |
z.f.resolve=function(a){var b=this.clone(),c=!!a.If;c?z.Je(b,a.If):c=!!a.Wy;if(c){var d=a.Wy;Ke(b);b.Wy=d}else c=!!a.qp;c?b.Jm(a.Dd()):c=null!=a.ul;d=a.Ed();if(c)z.Le(b,a.ul);else if(c=!!a.II){if("/"!=d.charAt(0))if(this.qp&&!this.II)d="/"+d;else{var e=b.Ed().lastIndexOf("/");-1!=e&&(d=b.Ed().substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(z.Ha(e,"./")||z.Ha(e,"/.")){for(var d=z.Aa(e,"/"),e=e.split("/"),g=[],k=0;k<e.length;){var l=e[k++];"."==l?d&&k==e.length&&g.push(""):".."==l?((1<g.length|| | |
1==g.length&&""!=g[0])&&g.pop(),d&&k==e.length&&g.push("")):(g.push(l),d=!0)}d=g.join("/")}else d=e}c?b.tk(d):c=""!==a.dg.toString();c?z.Qe(b,a.dg.clone()):c=!!a.EH;c&&z.Re(b,a.EH);return b};z.f.clone=function(){return new z.Ie(this)};z.f.Dd=function(){return this.qp};z.f.Jm=function(a,b){Ke(this);this.qp=b?Se(a,!0):a;return this};z.f.Ed=function(){return this.II};z.f.tk=function(a,b){Ke(this);this.II=b?Se(a,!0):a;return this};z.f.WC=function(a,b){return z.Qe(this,a,b)};z.f.SH=function(){return this.dg.toString()}; | |
z.f.XC=function(a){this.mea=a;return this};z.f.S2=function(a){this.ym=a;this.dg&&this.dg.S2(a);return this};var jya=/[#\/\?@]/g,lya=/[\#\?:]/g,kya=/[\#\?]/g,Raa=/[\#\?@]/g,mya=/#/g;z.f=z.Ve.prototype;z.f.ue=function(){z.Ze(this);return this.We};z.f.add=function(a,b){z.Ze(this);this.dl=null;a=af(this,a);var c=this.Zf.get(a);c||this.Zf.set(a,c=[]);c.push(b);this.We+=1;return this}; | |
z.f.remove=function(a){z.Ze(this);a=af(this,a);return this.Zf.sr(a)?(this.dl=null,this.We-=this.Zf.get(a).length,this.Zf.remove(a)):!1};z.f.clear=function(){this.Zf=this.dl=null;this.We=0};z.f.Ji=z.h(1);z.f.sr=function(a){z.Ze(this);a=af(this,a);return this.Zf.sr(a)};z.f.Ei=function(){z.Ze(this);for(var a=this.Zf.sj(),b=this.Zf.Ei(),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c}; | |
z.f.sj=function(a){z.Ze(this);var b=[];if(z.pa(a))this.sr(a)&&(b=z.$a(b,this.Zf.get(af(this,a))));else{a=this.Zf.sj();for(var c=0;c<a.length;c++)b=z.$a(b,a[c])}return b};z.f.set=function(a,b){z.Ze(this);this.dl=null;a=af(this,a);this.sr(a)&&(this.We-=this.Zf.get(a).length);this.Zf.set(a,[b]);this.We+=1;return this};z.f.get=function(a,b){a=a?this.sj(a):[];return 0<a.length?String(a[0]):b}; | |
z.f.toString=function(){if(this.dl)return this.dl;if(!this.Zf)return"";for(var a=[],b=this.Zf.Ei(),c=0;c<b.length;c++)for(var d=b[c],e=(0,window.encodeURIComponent)(String(d)),d=this.sj(d),g=0;g<d.length;g++){var k=e;""!==d[g]&&(k+="\x3d"+(0,window.encodeURIComponent)(String(d[g])));a.push(k)}return this.dl=a.join("\x26")};z.f.clone=function(){var a=new z.Ve;a.dl=this.dl;this.Zf&&(a.Zf=this.Zf.clone(),a.We=this.We);return a}; | |
z.f.S2=function(a){a&&!this.ym&&(z.Ze(this),this.dl=null,this.Zf.forEach(function(a,c){var d=c.toLowerCase();c!=d&&(this.remove(c),Uaa(this,d,a))},this));this.ym=a};z.f.extend=function(a){for(var b=0;b<arguments.length;b++)Laa(arguments[b],function(a,b){this.add(b,a)},this)};z.f=x.prototype;z.f.Hba=function(a,b){return this.tw?this.tw(a,b):null};z.f.Vb=function(a,b){a=a||{};b=b||{};for(var c=[],d=this.At.match(/\{\w+\}/g)||[],e=0;e<d.length;e++)c.push(d[e].slice(1,-1));for(var d=this.At,g=0;g<c.length;g++){var e=c[g],k=a[e];if(z.Da(k))throw a=Error("Missing parameter to build route"),z.cf(a,{parameter:e,name:this.Nk,template:this.At}),a;d=d.replace("{"+e+"}",(0,window.encodeURIComponent)(k))}a=z.$e(b).toString();return a.length?d+"?"+a:d};z.f.getName=function(){return this.Nk}; | |
z.f.Ce=function(){return this.At};z.f.I0=function(a){return!(!this.hwa||this.Q$&&!z.pi(a)[this.Q$])};Waa.prototype.getName=function(){return this.Nk};z.pf.prototype.Vj=function(){throw Error();};z.pf.prototype.tb=function(a,b,c){if(b instanceof z.bi)throw Error("Already a PB message "+b.constructor.ULa);a=new a;z.ci(a,!!c);this.dR(a,b);return a};z.pf.prototype.dR=function(){throw Error();};z.pf.prototype.clone=function(a){return qf.Vca().Vj(a)};z.p(qf,z.pf);(function(){var a=qf;a.Vca=function(){return a.Jda?a.Jda:a.Jda=new a}})();qf.prototype.tb=bc();qf.prototype.Vj=function(a){var b=new a.constructor;a.vP(function(c,d){var e=z.ii(a,c);z.ji(a,c)&&z.I(b,c,this.fV(d,e))},this);return b};qf.prototype.fV=function(a,b){if(!a)return b;if(a.aa()){if(null==b)return null;if(!Array.isArray(b))throw Error("malformed message "+b);for(var c=[],d=0;d<b.length;d++)c[d]=Yaa(this,a,b[d]);return c}return Yaa(this,a,b)};tf[" "]=z.la;var Qwa,pya,qya;z.Un=gc("Opera");z.vg=hc();z.XH=gc("Edge");Qwa=z.XH||z.vg;z.Tn=gc("Gecko")&&!(z.Ha(dc.toLowerCase(),"webkit")&&!gc("Edge"))&&!(gc("Trident")||gc("MSIE"))&&!gc("Edge");z.zg=z.Ha(dc.toLowerCase(),"webkit")&&!gc("Edge");z.zg&&gc("Mobile");z.my=gc("Macintosh");z.YH=gc("Windows");gc("Linux")||gc("CrOS");var nya=z.kc.navigator||null;nya&&z.Ha(nya.appVersion||"","X11");z.oya=gc("Android");pya=sf();qya=gc("iPad");gc("iPod");sf()||gc("iPad")||gc("iPod");var uf; | |
a:{var ZH="",$H=function(){var a=dc;if(z.Tn)return/rv\:([^\);]+)(\)|;)/.exec(a);if(z.XH)return/Edge\/([\d\.]+)/.exec(a);if(z.vg)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(z.zg)return/WebKit\/(\S+)/.exec(a);if(z.Un)return/(?:Version)[ \/]?(\S+)/.exec(a)}();$H&&(ZH=$H?$H[1]:"");if(z.vg){var aI=bba();if(null!=aI&&aI>(0,window.parseFloat)(ZH)){uf=String(aI);break a}}uf=ZH}var $aa={},rya=z.kc.document,cba=rya&&z.vg?bba()||("CSS1Compat"==rya.compatMode?(0,window.parseInt)(uf,10):5):void 0;z.sya={"":1,n:Math.pow(1024,-3),u:Math.pow(1024,-2),m:1/1024,k:1024,K:1024,M:Math.pow(1024,2),G:Math.pow(1024,3),T:Math.pow(1024,4),P:Math.pow(1024,5)};z.vg&&z.vf(8);var tya={fJa:["BC","AD"],eJa:["Before Christ","Anno Domini"],VLa:"JFMAMJJASOND".split(""),SPa:"JFMAMJJASOND".split(""),nja:"January February March April May June July August September October November December".split(" "),RPa:"January February March April May June July August September October November December".split(" "),U5:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),UPa:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),rla:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), | |
WPa:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),DPa:"Sun Mon Tue Wed Thu Fri Sat".split(" "),VPa:"Sun Mon Tue Wed Thu Fri Sat".split(" "),WLa:"SMTWTFS".split(""),TPa:"SMTWTFS".split(""),CPa:["Q1","Q2","Q3","Q4"],hOa:["1st quarter","2nd quarter","3rd quarter","4th quarter"],TGa:["AM","PM"],BIa:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],VQa:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],CIa:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],tJa:6,jTa:[5, | |
6],uJa:5},Qh=tya,Qh=tya;var uya={u4:{1E3:{other:"0K"},1E4:{other:"00K"},1E5:{other:"000K"},1E6:{other:"0M"},1E7:{other:"00M"},1E8:{other:"000M"},1E9:{other:"0B"},1E10:{other:"00B"},1E11:{other:"000B"},1E12:{other:"0T"},1E13:{other:"00T"},1E14:{other:"000T"}},Tha:{1E3:{other:"0 thousand"},1E4:{other:"00 thousand"},1E5:{other:"000 thousand"},1E6:{other:"0 million"},1E7:{other:"00 million"},1E8:{other:"000 million"},1E9:{other:"0 billion"},1E10:{other:"00 billion"},1E11:{other:"000 billion"},1E12:{other:"0 trillion"},1E13:{other:"00 trillion"}, | |
1E14:{other:"000 trillion"}}},Sf=uya,Sf=uya;var vya={B4:".",xS:",",s5:"%",tT:"0",Ija:"+",lja:"-",G4:"E",t5:"‰",BS:"∞",qja:"NaN",A4:"#,##0.###",yka:"#E0",Fja:"#,##0%",cia:"¤#,##0.00",hia:"USD"},xf=vya,xf=vya;var Hf={AED:[2,"dh","د.Ø¥.","DH"],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"৳","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"Â¥","RMBÂ¥"],COP:[32,"$","COL$"],CRC:[0,"â‚¡","CRâ‚¡"],CZK:[50,"KÄ","KÄ"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,"£","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"€","€"],GBP:[2,"£","GB£"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34,"Ft","Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"₪","IL₪"],INR:[2,"₹","Rs"], | |
IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"¥","JP¥"],KRW:[0,"₩","KR₩"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"₮","MN₮"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"₱","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"zł","zł"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"₽","RUB"],SAR:[2,"Rial","Rial"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"฿","THB"],TRY:[2,"TL","YTL"],TWD:[2,"NT$","NT$"],TZS:[0, | |
"TSh","TSh"],UAH:[2,"грн.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"₫","VN₫"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};var dba=0,Cf=0; | |
If.prototype.parse=function(a,b){b=b||[0];if(this.xH!=Cf)throw Error("Parsing of compact numbers is unimplemented");var c;a=a.replace(/ /g,"Â ");var d=a.indexOf(this.xy,b[0])==b[0],e=a.indexOf(this.Ru,b[0])==b[0];d&&e&&(this.xy.length>this.Ru.length?e=!1:this.xy.length<this.Ru.length&&(d=!1));d?b[0]+=this.xy.length:e&&(b[0]+=this.Ru.length);if(a.indexOf(xf.BS,b[0])==b[0])b[0]+=xf.BS.length,c=window.Infinity;else{c=a;var g=!1,k=!1,l=!1,q=1,r=xf.B4,t=xf.xS,w=xf.G4;if(this.xH!=Cf)throw Error("Parsing of compact style numbers is not implemented");for(var C= | |
"";b[0]<c.length;b[0]++){var J=c.charAt(b[0]),Q=iba(J);if(0<=Q&&9>=Q)C+=Q,l=!0;else if(J==r.charAt(0)){if(g||k)break;C+=".";g=!0}else if(J==t.charAt(0)&&("Â "!=t.charAt(0)||b[0]+1<c.length&&0<=iba(c.charAt(b[0]+1)))){if(g||k)break}else if(J==w.charAt(0)){if(k)break;C+="E";k=!0}else if("+"==J||"-"==J)C+=J;else if(1==this.Fm&&J==xf.s5.charAt(0)){if(1!=q)break;q=100;if(l){b[0]++;break}}else if(1==this.Fm&&J==xf.t5.charAt(0)){if(1!=q)break;q=1E3;if(l){b[0]++;break}}else break}1!=this.Fm&&(q=this.Fm);c= | |
(0,window.parseFloat)(C)/q}if(d){if(a.indexOf(this.KI,b[0])!=b[0])return window.NaN;b[0]+=this.KI.length}else if(e){if(a.indexOf(this.yC,b[0])!=b[0])return window.NaN;b[0]+=this.yC.length}return e?-c:c}; | |
If.prototype.format=function(a){if((0,window.isNaN)(a))return xf.qja;var b=[],c;c=null===this.Fba?a:this.Fba;if(this.xH==Cf)c=Tf;else{c=Math.abs(c);var d=jba(this,1>=c?0:Kf(c)).x_;c=jba(this,d+Kf(gba(this,c/Math.pow(10,d)).Kda))}a/=Math.pow(10,c.x_);b.push(c.prefix);d=0>a||0==a&&0>1/a;b.push(d?this.Ru:this.xy);if((0,window.isFinite)(a))if(a=a*(d?-1:1)*this.Fm,this.SR){var e=a;if(0==e)Rf(this,e,this.bo,b),hba(this,0,b);else{a=Math.floor(Math.log(e)/Math.log(10)+2E-15);var g=Math.pow(10,a);(0,window.isFinite)(g)&& | |
0!==g?e/=g:(g=Math.pow(10,Math.floor(a/2)),e=e/g/g,1==a%2&&(e=0<a?e/10:10*e));g=this.bo;if(1<this.NQ&&this.NQ>this.bo){for(;0!=a%this.NQ;)e*=10,a--;g=1}else 1>this.bo?(a++,e/=10):(a-=this.bo-1,e*=Math.pow(10,this.bo-1));Rf(this,e,g,b);hba(this,a,b)}}else Rf(this,a,this.bo,b);else b.push(xf.BS);b.push(d?this.yC:this.KI);b.push(c.Lga);return b.join("")};var fba=";",Tf={prefix:"",Lga:"",x_:0};var xca=kba,xca=kba;var bI={ar:"Arabic",bg:"Bulgarian",zh:"Chinese (Simplified)","zh-tw":"Chinese (Traditional)",cs:"Czech",da:"Danish",nl:"Dutch",en:"English",tl:"Filipino",fr:"French",de:"German",el:"Greek",iw:"Hebrew",hi:"Hindi",id:"Indonesian",it:"Italian",ja:"Japanese",kk:"Kazakh",ko:"Korean",lt:"Lithuanian",mk:"Macedonian",ms:"Malay",no:"Norwegian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sk:"Slovak",so:"Somali",es:"Spanish",ta:"Tamil",th:"Thai",tr:"Turkish",uk:"Ukrainian",ur:"Urdu",vi:"Vietnamese"};var Bba={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};Uf.prototype.Cu=!0;Uf.prototype.Fr=function(){return this.J3};Uf.prototype.toString=function(){return"Const{"+this.J3+"}"};var lba={};Vf.prototype.Cu=!0;var nba={};Vf.prototype.Fr=function(){return this.h2};Vf.prototype.Eu=function(a){this.h2=a;return this};var yba=(new Vf).Eu(""),xba=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\([0-9.%, ]+\))$/;z.Wf.prototype.Cu=!0;var pba={};z.Wf.prototype.Fr=function(){return this.g2};z.Wf.prototype.Eu=function(a){this.g2=a;return this};Xf.prototype.Cu=!0;Xf.prototype.Fr=function(){return this.yy};Xf.prototype.x0=!0;Xf.prototype.KB=function(){return 1};var Aba=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,qba={};rba("about:blank");Zf.prototype.Cu=!0;Zf.prototype.Fr=function(){return this.Jfa};Zf.prototype.x0=!0;Zf.prototype.KB=function(){return 1};var sba={};dg.prototype.x0=!0;dg.prototype.KB=function(){return this.nca};dg.prototype.Cu=!0;dg.prototype.Fr=function(){return this.yy};var vba=/^[a-zA-Z0-9-]+$/,zba={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},wba={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},tba={};dg.prototype.Eu=function(a,b){this.yy=a;this.nca=b;return this};z.jg("\x3c!DOCTYPE html\x3e",0);z.jg("",0);var Mba=z.jg("\x3cbr\x3e",0);var Iba,Pba,Qba,tha;Iba=!z.vg||z.wf(9);Pba=!z.Tn&&!z.vg||z.vg&&z.wf(9)||z.Tn&&z.vf("1.9.1");z.wya=z.vg&&!z.vf("9");Qba=z.vg||z.Un||z.zg;tha=z.vg&&!z.wf(9);z.f=z.lg.prototype;z.f.clone=function(){return new z.lg(this.x,this.y)};z.f.nd=function(a){return a instanceof z.lg&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};z.f.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};z.f.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};z.f.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}; | |
z.f.translate=function(a,b){a instanceof z.lg?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),z.qa(b)&&(this.y+=b));return this};z.f.scale=function(a,b){b=z.qa(b)?b:a;this.x*=a;this.y*=b;return this};z.f=z.ng.prototype;z.f.clone=function(){return new z.ng(this.width,this.height)};z.f.Td=function(){return this.width*this.height};z.f.Ji=z.h(0);z.f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};z.f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};z.f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; | |
z.f.scale=function(a,b){b=z.qa(b)?b:a;this.width*=a;this.height*=b;return this};var Fba={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};z.f=pg.prototype;z.f.um=function(){return this.Cd};z.f.Da=function(a){return z.pa(a)?this.Cd.getElementById(a):a};z.f.g4=pg.prototype.Da;z.f.getElementsByTagName=function(a,b){return(b||this.Cd).getElementsByTagName(String(a))}; | |
z.f.cda=function(a){return z.ug(a||this.Ii())};z.f.zc=function(a,b,c){return z.Kba(this.Cd,arguments)};z.f.createElement=function(a){return this.Cd.createElement(String(a))};z.f.createTextNode=function(a){return this.Cd.createTextNode(String(a))};z.f.Ii=function(){var a=this.Cd;return a.parentWindow||a.defaultView};z.f.appendChild=Oba;z.f.append=z.Cg;z.f.canHaveChildren=z.Bg;z.f.removeNode=z.Gg;z.f.contains=z.Og;var dca,xh,Ah,bca,ica;z.$g={};dca={};xh={};Ah={};bca={};ica={};Xg.prototype.contentDir=null;Xg.prototype.cb=function(){return this.content};Xg.prototype.toString=function(){return this.content};z.p(Uba,Xg);z.p(Vba,Xg);var Uja,Xba,lh,uh,kca,lca,mca,nca,sh,Ch,jca,oca,hca,cca,pca;z.p(Zg,Xg);Zg.prototype.contentKind=z.$g;z.p(ah,Xg);ah.prototype.contentKind=dca;ah.prototype.contentDir=1;z.p(bh,Xg);bh.prototype.contentKind=xh;bh.prototype.contentDir=1;z.p(dh,Xg);dh.prototype.contentKind=Ah;dh.prototype.contentDir=1;z.p(eh,Xg);eh.prototype.contentKind=bca;eh.prototype.contentDir=1;z.p(ih,Vba);ih.prototype.contentKind=ica;ih.prototype.contentDir=1;z.p(jh,Uba);jh.prototype.contentKind={}; | |
z.y=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){a=new b(String(a));void 0!==d&&(a.contentDir=d);return a}}(Zg);Uja=kh(ah);z.ri=kh(bh);kh(dh);z.Bk=kh(eh);z.Dj=kh(ih);Xba={};lh={};z.M=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){a=String(a);if(!a)return"";a=new b(a);void 0!==d&&(a.contentDir=d);return a}}(Zg);oh(ah);oh(dh);z.L=oh(bh);z.$k=oh(eh);z.Cj=oh(ih);uh=/['()]/g; | |
kca={"\x00":"\x26#0;","\t":"\x26#9;","\n":"\x26#10;","\x0B":"\x26#11;","\f":"\x26#12;","\r":"\x26#13;"," ":"\x26#32;",'"':"\x26quot;","\x26":"\x26amp;","'":"\x26#39;","-":"\x26#45;","/":"\x26#47;","\x3c":"\x26lt;","\x3d":"\x26#61;","\x3e":"\x26gt;","`":"\x26#96;","…":"\x26#133;"," ":"\x26#160;","\u2028":"\x26#8232;","\u2029":"\x26#8233;"}; | |
lca={"\x00":"\\x00","\b":"\\x08","\t":"\\t","\n":"\\n","\x0B":"\\x0b","\f":"\\f","\r":"\\r",'"':"\\x22",$:"\\x24","\x26":"\\x26","'":"\\x27","(":"\\x28",")":"\\x29","*":"\\x2a","+":"\\x2b",",":"\\x2c","-":"\\x2d",".":"\\x2e","/":"\\/",":":"\\x3a","\x3c":"\\x3c","\x3d":"\\x3d","\x3e":"\\x3e","?":"\\x3f","[":"\\x5b","\\":"\\\\","]":"\\x5d","^":"\\x5e","{":"\\x7b","|":"\\x7c","}":"\\x7d","¬Ö":"\\x85","\u2028":"\\u2028","\u2029":"\\u2029"}; | |
mca={"\x00":"%00","":"%01","":"%02","":"%03","":"%04","":"%05","":"%06","":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","":"%0E","":"%0F","":"%10","":"%11","":"%12","":"%13","":"%14","":"%15","":"%16","":"%17","":"%18","":"%19","":"%1A","":"%1B","":"%1C","":"%1D","":"%1E","":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","\x3c":"%3C","\x3e":"%3E","\\":"%5C","{":"%7B","}":"%7D","":"%7F","…":"%C2%85"," ":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9", | |
"!":"%EF%BC%81","#":"%EF%BC%83","$":"%EF%BC%84","&":"%EF%BC%86","'":"%EF%BC%87","(":"%EF%BC%88",")":"%EF%BC%89","*":"%EF%BC%8A","+":"%EF%BC%8B",",":"%EF%BC%8C","/":"%EF%BC%8F",":":"%EF%BC%9A",";":"%EF%BC%9B","=":"%EF%BC%9D","?":"%EF%BC%9F","@":"%EF%BC%A0","[":"%EF%BC%BB","]":"%EF%BC%BD"};nca=/[\x00\x22\x27\x3c\x3e]/g;sh=/[\x00\x08-\x0d\x22\x26\x27\/\x3c-\x3e\\\x85\u2028\u2029]/g;Ch=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g; | |
jca=/^(?!-*(?:expression|(?:moz-)?binding))(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|hsl)a?\([0-9.%,\u0020]+\)|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,2}|%)?|!important|)$/i;oca=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i;hca=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i;cca=/^(?!on|src|(?:style|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i; | |
pca=/^(?!script|style|title|textarea|xmp|no)[a-z0-9_$:-]*$/i;z.$ba=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g;z.aca=/</g;var wca=/(\s\S{1,8}) (\S{1,8})( ?)$/,Jh=null;var xya;z.p(Yh,z.pf);z.hp=new Yh(1);xya=new Yh(3);z.rt=new Yh(2);Yh.prototype.Vj=function(a){var b={},c=a.D.KZa;a.vP(function(d,e){var g=z.ii(a,d);z.ji(a,d)&&null!==g&&(c&&(d=String(d).replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()),b[d]=this.fV(e,g))},this);return b}; | |
Yh.prototype.dR=function(a,b){var c=a.dZ,d;for(d in b){var e=a.D.kj[d];if(e||"_isPopulated"!=d&&"type"!=d&&"id"!=d){var g;(g=e)||(g=Object.keys(a.D.CC),g=!z.ub(g,d));if(g){g=z.I;var k=d,l;var q=e;l=b[d];var r=c;if(q)if(q.aa())if(null==l)l=null;else{if(!Array.isArray(l))throw a=Error("[JsonConverter] Expected array"),z.bf(a,"found",l),a;for(var t=[],w=0;w<l.length;w++)t[w]=yca(this,q,l[w],r);l=t}else l=yca(this,q,l,r);g(a,k,l);if(!(e||a.P0(d)||a.D.xEa[d])&&1!=this.EF){e='Trying to set field "'+d+'" not in schema "'+ | |
a.D.name+'"';if(3==this.EF)throw Error(e);df(e,Error().stack)}}}}};Yh.prototype.fV=function(a,b){if(!a)return b;if(a.aa()){if(null==b)return null;if(!Array.isArray(b))throw Error("malformed message "+b);for(var c=[],d=0;d<b.length;d++)c[d]=zca(this,a,b[d]);return c}return zca(this,a,b)};z.f=z.bi.prototype;z.f.C=function(a){this[ta]=0;Object.preventExtensions&&Object.preventExtensions(this);a&&xya.dR(this,a)};z.f.JD=!0;z.f.P0=z.ai;z.f.vP=function(a,b){var c={};z.Cb(c,this.nr);var d=this.D.kj,e;for(e in d)delete c[e],a.call(b,e,d[e]);for(var g in c)a.call(b,g,null)};z.f.Kh=function(a){for(var b in a.D.kj)Fca(a,b)&&z.ji(a,b)&&z.I(this,b,z.ii(a,b));return this};z.f.L=z.xD;var Cca=z.$b(""),Bca=z.$b(-1);z.f=z.bi.prototype;z.f.toJSON=function(){return this.Jb()};z.f.Jb=function(){return z.rt.Vj(this)}; | |
z.f.clone=function(){return qf.Vca().Vj(this)};z.f.nd=function(a){if(this.constructor!=a.constructor)return!1;var b=this.D.kj,c;for(c in b){var d=b[c],e=this.Yg[c],g=a.Yg[c];if(d.aa()?e&&g?e.length!=g.length||!e.every(this.Gna.bind(this,d,g)):e!==g:!Ica(this,d,e,g))return!1}return!0};z.f.Gna=function(a,b,c,d){return Ica(this,a,c,b[d])};z.f.XC=function(){if(this.oW)return this;this.oW=!0;Object.freeze(this.Yg);z.li(this,function(a){mi(this,this.Yg[a])},this);for(var a in this.sW)this.sW[a].XC();return this};z.p(z.K,z.bi);z.K.prototype.xJ=function(){return!!this.D.xJ};z.K.prototype.vP=function(a,b){z.bi.prototype.vP.call(this,a,b);var c=this.D.CC,d;for(d in c)a.call(b,d,null)};z.p(z.ni,z.K);z.U=z.$b(String);z.V=z.$b(Number);z.W=z.$b(Boolean);var yya={vha:1,WJa:10,UJa:11,VJa:12,XJa:13,pla:2,FIa:3,MPa:4,GIa:5,QKa:6,NPa:7,Gia:8,YJa:9,$isProtoEnum:!0};z.p(z.oi,z.K);z.f=z.oi.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.nb=function(){return z.H(this,"id")};z.f.Km=function(a){return z.I(this,"id",a)};z.f.qj=function(){return z.H(this,"url")};z.f.kf=z.h(16);z.f.L=function(){return z.oi.prototype};z.f.D={name:"FontSet",N:!1,fields:{id:{name:"id",g:function(){return yya},h:1},url:{name:"url",g:z.U,h:2}},O:{}};var lC={Aja:1,wja:10,IFRAME:11,fKa:12,Kia:13,QLa:14,ZOa:15,kIa:16,Iia:2,Jia:3,qKa:4,oKa:5,Cha:6,cka:7,dka:8,jla:9,$isProtoEnum:!0},jC={V4:1,pIa:10,CKa:11,FKa:12,EKa:2,p5:3,q5:4,uS:5,zja:6,oMa:7,NJa:8,eIa:9,$isProtoEnum:!0},zya={DEFAULT:1,ELa:10,vHa:102,rIa:103,LJa:104,cKa:105,eKa:106,UKa:107,YKa:108,hLa:109,HLa:11,FLa:110,ILa:111,VOa:112,gTa:113,UOa:12,fTa:13,uHa:2,qIa:3,KJa:4,bKa:5,dKa:6,TKa:7,XKa:8,gLa:9,$isProtoEnum:!0},Aya={bja:1,FHa:2,$isProtoEnum:!0},Bya={YLa:1,zOa:2,$isProtoEnum:!0},Cya={Lka:1, | |
Lha:10,gSa:11,ria:2,A:3,Lia:4,hTa:5,$Ha:6,nka:7,rPa:8,iOa:9,$isProtoEnum:!0},Dya={VKa:0,AUDIO:1,rT:2,$isProtoEnum:!0},Eya={wJa:1,tHa:2,GLa:3,dRa:4,BHa:5,bE:6,RK:7,$isProtoEnum:!0},Fya={NONE:1,YD:10,ZD:11,eK:2,hSa:3,iSa:4,fz:5,tS:6,sD:7,xD:8,cz:9,$isProtoEnum:!0},Gya={tja:1,YOa:2,$isProtoEnum:!0},Hya={qHa:0,jIa:1,Fha:2,$isProtoEnum:!0},Iya={DIa:1,QGa:2,$isProtoEnum:!0};var Nca=/[\u0080-\u009F\u0100-\u2000\u2070-\ufaff\ufb50-\uffff]/;z.f=pj.prototype;z.f.qJ=function(a){this.socialImage=a;return this};z.f.rk=function(a){this.facebookPageId=a;return this};z.f.qk=function(a){this.disableGoogleAnalytics=a;return this};z.f.wg=function(a){this.twitterScreenName=a;return this};z.f.jJ=function(a){this.fontSets=a;return this};z.f.lga=function(a){this.noIndex=a;return this};z.mh("a","",function(a){return(0,z.y)((null==a.image?0:a.image.imageId)&&280<(null==a.image?null:a.image.originalWidth)&&150<(null==a.image?null:a.image.originalHeight)?'\x3cmeta name\x3d"twitter:card" content\x3d"summary_large_image"\x3e':'\x3cmeta name\x3d"twitter:card" content\x3d"summary"\x3e')}); | |
z.mh("a","article",function(a,b,c){b="";var d=z.n("Reading time"),e=a.username||(null==a.post?null:null==a.post.creator?null:a.post.creator.username),g=a.image&&a.image.imageId?a.image:null==a.post?null:null==a.post.virtuals?null:a.post.virtuals.previewImage;b+='\x3clink rel\x3d"author" href\x3d"'+z.E(z.F(c.baseUrl))+"/@"+z.E(e)+'"\x3e\x3cmeta property\x3d"author" content\x3d"'+z.E(a.authorName||(null==a.post?null:null==a.post.creator?null:a.post.creator.name))+'"\x3e\x3cmeta property\x3d"og:type" content\x3d"article"\x3e'+ | |
((null==g?0:g.imageId)&&280<(null==g?null:g.originalWidth)&&150<(null==g?null:g.originalHeight)?'\x3cmeta name\x3d"twitter:card" content\x3d"summary_large_image"\x3e':'\x3cmeta name\x3d"twitter:card" content\x3d"summary"\x3e')+((null==a.post.approvedHomeCollection?0:a.post.approvedHomeCollection.domain)&&(null==a.post.approvedHomeCollection?0:a.post.approvedHomeCollection.facebookPageName)?'\x3cmeta property\x3d"article:publisher" content\x3d"https://www.facebook.com/'+z.E(null==a.post.approvedHomeCollection? | |
null:a.post.approvedHomeCollection.facebookPageName)+'"\x3e':'\x3cmeta property\x3d"article:publisher" content\x3d"https://www.facebook.com/medium"\x3e')+(a.facebookAccountId&&(null==a.post.approvedHomeCollection?0:a.post.approvedHomeCollection.domain)?'\x3cmeta property\x3d"article:author" content\x3d"'+z.E(a.facebookAccountId)+'"\x3e':'\x3cmeta property\x3d"article:author" content\x3d"'+z.E(c.baseUrl)+"/@"+z.E(e)+'"\x3e');b+='\x3cmeta name\x3d"robots" content\x3d"'+(a.post.virtuals.noIndex||!a.post.firstPublishedAt|| | |
a.post.visibility!=c.j.ob.uo&&a.post.visibility!=c.j.ob.Re?"noindex":"index")+', follow"\x3e'+(a.publishedAt?'\x3cmeta property\x3d"article:published_time" content\x3d"'+z.E(a.publishedAt)+'"\x3e':"")+(a.twitterScreenName?'\x3cmeta name\x3d"twitter:creator" content\x3d"@'+z.E(a.twitterScreenName)+'"\x3e':"");g=Math.ceil(a.post.virtuals.readingTime);e="";g&&(g=z.n("{$readingTimeMins} min read",{readingTimeMins:""+g}),e+=""+g);e=z.ph(e);b+=((null==a.post.approvedHomeCollection?0:a.post.approvedHomeCollection.domain)? | |
Ij({Cga:a.post.approvedHomeCollection.name,twitterUsername:a.post.approvedHomeCollection.twitterUsername},c):Ij(null,c))+'\x3cmeta name\x3d"twitter:label1" value\x3d"'+z.qh(d)+'"\x3e\x3cmeta name\x3d"twitter:data1" value\x3d"'+z.E(e)+'"\x3e'+(c.variants.dUa&&a.appLinkPath&&!c.variants.enable_branch_io?'\x3cmeta name\x3d"apple-itunes-app" content\x3d"app-id\x3d'+z.E(c.iosAppId)+", app-argument\x3dmedium:"+z.E(a.appLinkPath)+'"\x3e':"");return(0,z.y)(b)}); | |
z.mh("a","profile",function(a){return(0,z.y)((a.twitterScreenName?'\x3clink rel\x3d"me" href\x3d"https://twitter.com/'+z.E(a.twitterScreenName)+'"\x3e':"")+(a.facebookAccountId?'\x3cmeta property\x3d"fb:profile_id" content\x3d"'+z.E(a.facebookAccountId)+'"\x3e':"")+'\x3cmeta property\x3d"og:type" content\x3d"profile"\x3e\x3cmeta name\x3d"twitter:card" content\x3d"summary"\x3e\x3cmeta property\x3d"profile:first_name" content\x3d"'+z.E(a.firstName)+'"\x3e\x3cmeta property\x3d"profile:last_name" content\x3d"'+ | |
z.E(a.lastName)+'"\x3e\x3cmeta property\x3d"profile:username" content\x3d"'+z.E(a.username)+'"\x3e')}); | |
z.mh("a","collection",function(a,b,c){return(0,z.y)('\x3cmeta property\x3d"og:type" content\x3d"'+z.E(c.facebook.namespace)+':collection"\x3e\x3cmeta name\x3d"twitter:card" content\x3d"summary_large_image"\x3e'+(a.username?'\x3cmeta property\x3d"'+z.E(c.facebook.namespace)+':creator" content\x3d"'+z.E(c.baseUrl)+"/@"+z.E(a.username)+'"\x3e':"")+(a.twitterScreenName?'\x3cmeta name\x3d"twitter:creator" content\x3d"@'+z.E(a.twitterScreenName)+'"\x3e':"")+((null==a.collection?0:a.collection.domain)?Ij({Cga:a.collection.name, | |
twitterUsername:a.collection.twitterUsername},c):Ij(null,c)))});z.mh("c","PostVisibility_0",function(a){a=a||{};var b="";a=a.dy?z.n("A public"):z.n("Public");b+=a;return(0,z.y)(b)});z.mh("c","PostVisibility_1",function(a){a=a||{};var b="";a=a.dy?z.n("An unlisted"):z.n("Unlisted");b+=a;return(0,z.y)(b)});z.mh("c","PostVisibility_2",function(a){a=a||{};var b="";a=a.dy?z.n("A locked"):z.n("Locked");b+=a;return(0,z.y)(b)});z.mh("b","PostVisibility_0",function(a){a=a||{};var b="";a=a.dy?z.n("a public"):z.n("public");b+=a;return(0,z.y)(b)}); | |
z.mh("b","PostVisibility_1",function(a){a=a||{};var b="";a=a.dy?z.n("an unlisted"):z.n("unlisted");b+=a;return(0,z.y)(b)});z.mh("b","PostVisibility_2",function(a){a=a||{};var b="";a=a.dy?z.n("a locked"):z.n("locked");b+=a;return(0,z.y)(b)});z.mh("d","facebook",function(){return(0,z.y)(z.A(Rda()))});z.mh("d","twitter",function(){return(0,z.y)(z.A(z.yk(null)))});z.mh("d","google",function(){return(0,z.y)(z.A(Sda()))}); | |
z.mh("d","email",function(){var a=z.y,b;b={};b=(0,z.y)(z.Pj(z.D({name:"email",size:"25px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"25" height\x3d"25" \x3e\x3cpath d\x3d"M5.61 5A2.498 2.498 0 0 0 3.1 7.49v.323l9 5.065c.253.142.747.142 1 0l8.897-5.065V7.49A2.501 2.501 0 0 0 19.487 5H5.61zm5.876 9.215L3.1 9.495v8.002A2.503 2.503 0 0 0 5.59 20h13.922a2.499 2.499 0 0 0 2.49-2.503v-8l-8.288 4.718c-.318.18-.716.268-1.114.268-.398 0-.796-.09-1.114-.268z"/\x3e\x3c/svg\x3e')},b)));return a(z.A(b))});z.mh("e","PostLicense_1",function(){return(0,z.y)("http://creativecommons.org/licenses/by/4.0/")});z.mh("e","PostLicense_2",function(){return(0,z.y)("https://creativecommons.org/licenses/by-nd/4.0/")});z.mh("e","PostLicense_3",function(){return(0,z.y)("https://creativecommons.org/licenses/by-sa/4.0/")});z.mh("e","PostLicense_4",function(){return(0,z.y)("https://creativecommons.org/licenses/by-nc/4.0/")});z.mh("e","PostLicense_5",function(){return(0,z.y)("https://creativecommons.org/licenses/by-nc-nd/4.0/")}); | |
z.mh("e","PostLicense_6",function(){return(0,z.y)("https://creativecommons.org/licenses/by-nc-sa/4.0/")});z.mh("e","PostLicense_7",function(){return(0,z.y)("http://creativecommons.org/publicdomain/zero/1.0/")});z.mh("e","PostLicense_8",function(){return(0,z.y)("https://creativecommons.org/publicdomain/mark/1.0/")});z.mh("f","author",function(){var a=z.n("Others cannot copy, distribute, or perform your work without your permission (or as permitted by fair use).");return(0,z.y)(""+a)}); | |
z.mh("f","reader",function(){var a=z.n("You cannot copy, distribute, or perform this work without the author’s permission (or as permitted by fair use).");return(0,z.y)(""+a)});z.mh("g","author",function(){var a=z.n("Others can distribute, remix, and build upon your work as long as they credit you.");return(0,z.y)(""+a)});z.mh("g","reader",function(){var a=z.n("You can distribute, remix, and build upon this work as long as you credit the author.");return(0,z.y)(""+a)}); | |
z.mh("h","author",function(){var a=z.n("Others can distribute your work as long as they credit you.");return(0,z.y)(""+a)});z.mh("h","reader",function(){var a=z.n("You can distribute this work as long as you credit the author.");return(0,z.y)(""+a)});z.mh("i","author",function(){var a=z.n("Others can only distribute non-derivative copies of your work.");return(0,z.y)(""+a)});z.mh("i","reader",function(){var a=z.n("You can only distribute non-derivative copies of this work.");return(0,z.y)(""+a)}); | |
z.mh("j","author",function(){var a=z.n("Others must distribute derivatives of your work under the same license.");return(0,z.y)(""+a)});z.mh("j","reader",function(){var a=z.n("You must distribute derivatives of this work under the same license.");return(0,z.y)(""+a)});z.mh("k","author",function(){var a=z.n("Others can use your work for non-commercial purposes only.");return(0,z.y)(""+a)}); | |
z.mh("k","reader",function(){var a=z.n("You can use this work for non-commercial purposes only.");return(0,z.y)(""+a)});z.mh("l","author",function(){var a=z.n("This work is already in the public domain and free of copyright restrictions.");return(0,z.y)(""+a)});z.mh("l","reader",function(){var a=z.n("This work is in the public domain and free of copyright restrictions.");return(0,z.y)(""+a)}); | |
z.mh("m","author",function(){var a=z.n("You waive all your copyright and related rights in this work, worldwide.");return(0,z.y)(""+a)});z.mh("m","reader",function(){var a=z.n("The author waived all the copyright and related rights in this work, worldwide.");return(0,z.y)(""+a)});z.mh("n","PostLicense_0",function(){var a=z.n("All rights reserved");return(0,z.y)(""+a)});z.mh("n","PostLicense_1",function(){var a=z.n("Attribution");return(0,z.y)(""+a)}); | |
z.mh("n","PostLicense_2",function(){var a=z.n("Attribution, no derivatives");return(0,z.y)(""+a)});z.mh("n","PostLicense_3",function(){var a=z.n("Attribution, share alike");return(0,z.y)(""+a)});z.mh("n","PostLicense_4",function(){var a=z.n("Attribution, non-commercial");return(0,z.y)(""+a)});z.mh("n","PostLicense_5",function(){var a=z.n("Attribution, non-commercial, no derivatives");return(0,z.y)(""+a)}); | |
z.mh("n","PostLicense_6",function(){var a=z.n("Attribution, non-commercial, share alike");return(0,z.y)(""+a)});z.mh("n","PostLicense_7",function(){var a=z.n("Creative Commons copyright waiver");return(0,z.y)(""+a)});z.mh("n","PostLicense_8",function(){var a=z.n("Public domain");return(0,z.y)(""+a)});z.mh("o","PostLicense_0",function(a,b,c){return(0,z.y)(km(z.D({description:(0,z.M)(""+z.A(z.nh("f",a.pp,!0)(null,null,c)))},a)))});z.mh("o","PostLicense_1",function(a,b,c){return(0,z.y)(lm(a,c))});z.mh("o","PostLicense_2",function(a,b,c){return(0,z.y)(kga(a,c)+lga(a,c))});z.mh("o","PostLicense_3",function(a,b,c){return(0,z.y)(lm(a,c)+mga(a,c))});z.mh("o","PostLicense_4",function(a,b,c){return(0,z.y)(lm(a,c)+mm(a,c))});z.mh("o","PostLicense_5",function(a,b,c){return(0,z.y)(kga(a,c)+mm(a,c)+lga(a,c))}); | |
z.mh("o","PostLicense_6",function(a,b,c){return(0,z.y)(lm(a,c)+mm(a,c)+mga(a,c))}); | |
z.mh("o","PostLicense_7",function(a,b,c){b=z.y;c=(0,z.M)(""+z.A(z.nh("m",a.pp,!0)(null,null,c)));var d;d={};d=(0,z.y)(z.Pj(z.D({name:"creativeCommonsZero",size:"21px",content:(0,z.M)('\x3csvg class\x3d"svgIcon-use" width\x3d"21" height\x3d"21" \x3e\x3cg fill-rule\x3d"evenodd"\x3e\x3cpath d\x3d"M10.5 5.682c-2.763 0-3.458 2.608-3.458 4.818 0 2.21.695 4.818 3.458 4.818 2.763 0 3.458-2.607 3.458-4.818 0-2.21-.695-4.818-3.458-4.818zm0 1.817c.112 0 .215.01.31.04.2.17.297.4.106.73l-1.84 3.38a9.097 9.097 0 0 1-.065-1.16c0-.98.07-3 1.49-3zm1.377 1.55c.098.52.112 1.06.112 1.44 0 .97-.07 3-1.49 3-.11 0-.22-.01-.31-.04l-.06-.02-.09-.03c-.32-.14-.52-.38-.23-.81l2.06-3.55z"/\x3e\x3cpath d\x3d"M10.482 2c-2.358 0-4.345.82-5.964 2.47a8.6 8.6 0 0 0-1.88 2.798A8.354 8.354 0 0 0 2 10.5c0 1.134.212 2.21.637 3.232a8.58 8.58 0 0 0 1.85 2.762 8.84 8.84 0 0 0 2.763 1.87 8.408 8.408 0 0 0 3.232.636c1.124 0 2.216-.22 3.268-.655a8.706 8.706 0 0 0 2.82-1.88 7.716 7.716 0 0 0 1.81-2.685A8.616 8.616 0 0 0 19 10.5a8.599 8.599 0 0 0-.62-3.268 8.117 8.117 0 0 0-1.82-2.744C14.89 2.828 12.86 2 10.482 2zm.036 1.53c1.922 0 3.562.68 4.928 2.047a6.814 6.814 0 0 1 1.506 2.25 6.97 6.97 0 0 1 .518 2.673c0 1.954-.668 3.574-1.994 4.87a7.33 7.33 0 0 1-2.32 1.535 6.916 6.916 0 0 1-5.281.012 7.168 7.168 0 0 1-2.262-1.518 7.335 7.335 0 0 1-1.548-2.27 6.807 6.807 0 0 1 0-5.29c.365-.85.88-1.62 1.548-2.29 1.325-1.35 2.962-2.03 4.905-2.03z"/\x3e\x3c/g\x3e\x3c/svg\x3e')},d))); | |
return b(km(z.D({description:c,icon:(0,z.M)(""+z.A(d))},a)))});z.mh("o","PostLicense_8",function(a,b,c){return(0,z.y)(km(z.D({description:(0,z.M)(""+z.A(z.nh("l",a.pp,!0)(null,null,c)))},a)))});z.mh("p","PostLicense_0",function(a,b,c){a="";b=z.n("Except where otherwise noted, all rights to this work are reserved by the author.");var d=z.n("All rights reserved");a+=z.A(z.N({s:(0,z.M)(""+d),href:c.termsUrl,rel:"license",hb:!0,Ph:(0,z.M)(""+b)},c))+" by the author.";return(0,z.y)(a)}); | |
z.mh("p","PostLicense_1",function(a,b,c){return(0,z.y)(nm({licenseUrl:(0,z.L)(""+z.F(z.nh("e","PostLicense_1",!1)(null,null,c))),title:"Creative Commons Attribution 4.0 International"},c))});z.mh("p","PostLicense_2",function(a,b,c){return(0,z.y)(nm({licenseUrl:(0,z.L)(""+z.F(z.nh("e","PostLicense_2",!1)(null,null,c))),title:"Creative Commons Attribution-NoDerivatives 4.0 International"},c))}); | |
z.mh("p","PostLicense_3",function(a,b,c){return(0,z.y)(nm({licenseUrl:(0,z.L)(""+z.F(z.nh("e","PostLicense_3",!1)(null,null,c))),title:"Creative Commons Attribution-ShareAlike 4.0 International"},c))});z.mh("p","PostLicense_4",function(a,b,c){return(0,z.y)(nm({licenseUrl:(0,z.L)(""+z.F(z.nh("e","PostLicense_4",!1)(null,null,c))),title:"Creative Commons Attribution-NonCommercial 4.0 International"},c))}); | |
z.mh("p","PostLicense_5",function(a,b,c){return(0,z.y)(nm({licenseUrl:(0,z.L)(""+z.F(z.nh("e","PostLicense_5",!1)(null,null,c))),title:"Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International"},c))});z.mh("p","PostLicense_6",function(a,b,c){return(0,z.y)(nm({licenseUrl:(0,z.L)(""+z.F(z.nh("e","PostLicense_6",!1)(null,null,c))),title:"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"},c))}); | |
z.mh("p","PostLicense_7",function(a,b,c){a="";b=z.n("Except where otherwise noted, this work has been dedicated to the public domain using CC0.");var d=z.n("No rights reserved");a+=z.A(z.N({s:(0,z.M)(""+d),href:(0,z.L)(""+z.F(z.nh("e","PostLicense_7",!1)(null,null,c))),rel:"license cc:license",hb:!0,Ph:(0,z.M)(""+b)},c))+" by the author.";return(0,z.y)(a)}); | |
z.mh("p","PostLicense_8",function(a,b,c){a="";b=z.n("Except where otherwise noted, this work is in the public domain.");var d=z.n("Public domain");a+=z.A(z.N({s:(0,z.M)(""+d),href:(0,z.L)(""+z.F(z.nh("e","PostLicense_8",!1)(null,null,c))),rel:"license",hb:!0,Ph:(0,z.M)(""+b)},c))+".";return(0,z.y)(a)});z.mh("q","confirm",function(a,b,c){a=a||{};b=a.vB;var d=a.$k;a="";d?a+=z.A(d):(d=z.n("Confirm"),a+=d);a=""+z.A(z.Uk({s:(0,z.M)(a),action:"overlay-confirm",isPrimary:!0,l:"button--overlayConfirm"},c));d="";b?d+=z.A(b):(b=z.n("Cancel"),d+=b);a+=z.A(z.Uk({s:(0,z.M)(d),action:"overlay-cancel"},c));return(0,z.y)(a)}); | |
z.mh("q","confirmDestructive",function(a,b,c){a=a||{};b=a.vB;var d=a.$k;a="";d?a+=z.A(d):(d=z.n("Delete"),a+=d);a=""+z.A(z.Uk({s:(0,z.M)(a),action:"overlay-confirm",ql:!0,l:"button--overlayConfirm"},c));d="";b?d+=z.A(b):(b=z.n("Cancel"),d+=b);a+=z.A(z.Uk({s:(0,z.M)(d),action:"overlay-cancel"},c));return(0,z.y)(a)}); | |
z.mh("q","alert",function(a,b,c){a=a||{};b=a.vB;var d=a.$k;a="";d?a+=z.A(d):(d=z.n("OK"),a+=d);a=""+z.A(z.Uk({s:(0,z.M)(a),action:"overlay-close",isPrimary:!0},c));a+=b?z.A(z.Uk({s:b,action:"overlay-cancel"},c)):"";return(0,z.y)(a)});z.mh("q","refresh",function(a,b,c){a=a||{};b=a.$k;a="";b?a+=z.A(b):(b=z.n("Refresh"),a+=b);c=""+z.A(z.Uk({s:(0,z.M)(a),action:"overlay-refresh",isPrimary:!0,l:"u-marginBottom0"},c));return(0,z.y)(c)}); | |
z.mh("q","next",function(a,b,c){a="";b=z.n("Next");a+=z.A(z.Uk({s:(0,z.M)(""+b),action:"overlay-next",isPrimary:!0},c));return(0,z.y)(a)});z.mh("q","onboarding",function(a,b,c){a=a||{};var d=a.vB,e=a.$k;b=a.YVa;var d=""+(d?z.A(z.Uk({s:d,action:"overlay-cancel"},c)):""),g="";e?g+=z.A(e):(e=z.n("Next"),g+=e);d+=z.A(z.Uk(z.D({s:(0,z.M)(g),action:"overlay-submit",isPrimary:!0,isDisabled:b},a),c));return(0,z.y)(d)}); | |
z.mh("q","convertShadow",function(a,b,c){a=a||{};b=a.redirectUrl;var d="",e=z.n("Or use a different email address"),g=z.n("Send verification email"),d=d+('\x3cdiv class\x3d"buttonSet buttonSet--vertical"\x3e'+z.A(z.Uk(z.D({s:(0,z.M)(""+g),action:"overlay-submit",isPrimary:!0,l:"button--overlayConfirm"},a),c))+z.A(z.Vk({text:(0,z.M)(""+e),Nb:!0,Le:b||"",Rya:!0},0,c))+"\x3c/div\x3e");return(0,z.y)(d)}); | |
z.mh("q","signin",function(a,b,c){a=a||{};var d=a.redirectUrl,e=a.ai,g=a.conversionUserId,k=a.source,l=a.Dx;b="";a=z.n("Terms of service");var q=z.A(Yk({action:"overlay-close"},c)),e=e={Np:!0,redirectUrl:d,ai:e,conversionUserId:g,source:k,Dx:l},d=z.y;c.useragent.isFacebookWebView?(e=e||{},g=z.y,k=""+cm({fo:"facebook",Xp:"Facebook",action:"facebook-auth",source:e.source,redirectUrl:e.redirectUrl,ai:e.ai,conversionUserId:e.conversionUserId},c),l=z.n("Or continue with Twitter or Google"),l=(0,z.y)(""+ | |
l),e=g(dm(z.D({s:(0,z.M)(k+z.A(z.Vk({text:(0,z.M)(""+z.A(l)),gi:!0,isPrimary:!0,sb:!0,action:"fb-inapp-show",l:"button--fbInApp"},0,c))+dm({Np:!0,l:"u-hide js-facebookApp",s:(0,z.M)(""+cm({fo:"twitter",Xp:"Twitter",action:"twitter-auth",source:e.source,redirectUrl:e.redirectUrl,ai:e.ai,conversionUserId:e.conversionUserId},c)+cm({fo:"google",Xp:"Google",action:"google-auth",source:e.source,redirectUrl:e.redirectUrl,ai:e.ai,conversionUserId:e.conversionUserId},c))}))},e)))):(g=""+(e.Dx?cm({fo:"facebook", | |
Xp:"Facebook",action:"facebook-auth",source:e.source,redirectUrl:e.redirectUrl,ai:e.ai,conversionUserId:e.conversionUserId,B3:!0},c):"")+cm({fo:"twitter",Xp:"Twitter",action:"twitter-auth",source:e.source,redirectUrl:e.redirectUrl,ai:e.ai,conversionUserId:e.conversionUserId,B3:!0},c)+(e.Dx?"":cm({fo:"facebook",Xp:"Facebook",action:"facebook-auth",source:e.source,redirectUrl:e.redirectUrl,ai:e.ai,conversionUserId:e.conversionUserId,B3:!0},c))+cm({fo:"google",Xp:"Google",action:"google-auth",source:e.source, | |
redirectUrl:e.redirectUrl,ai:e.ai,conversionUserId:e.conversionUserId},c),c.useragent.isWebView?k="":(k=z.n("Sign in or sign up with email"),k=(0,z.y)(""+k),k=z.A(z.Vk({text:(0,z.M)(""+z.A(k)),gi:!0,Jh:!0,isPrimary:!0,sb:!0,im:e.redirectUrl,action:"email-sign-in-prompt",l:"u-marginTop15"},0,c))),e=dm(z.D({s:(0,z.M)(g+k)},e)));d=d(e);b+=q+z.A(d)+z.A(z.N({href:c.j.termsUrl,s:(0,z.M)(""+a),rCa:!0,eb:!0,l:"u-fontSize15"},c));return(0,z.y)(b)}); | |
z.mh("q","form",function(a,b,c){a=a||{};b=a.iza;var d=a.$k,e=a.qUa,g=a.cC,k=a.redirectUrl,l="";d?l+=z.A(d):(d=z.n("Submit"),l+=d);a=""+z.A(z.Uk(z.D({s:(0,z.M)(l),action:(0,z.M)(""+(e?z.A(e):"overlay-submit")),im:k,isPrimary:!0,l:"button--overlayConfirm"},a),c));g||(g=z.n("Cancel"),a+=z.A(z.Uk({s:(0,z.M)(""+g),action:(0,z.M)(""+(b?z.A(b):"overlay-cancel"))},c)));return(0,z.y)(a)}); | |
z.mh("q","email",function(a,b,c){a=a||{};var d=a.iza;b=z.y;if(a.cC)d="";else{var e;e=z.n("Or sign in with Facebook, Twitter, or Google");e=(0,z.y)(""+e);d=z.A(z.Vk(z.D({text:(0,z.M)(""+z.A(e)),Jh:!0,gi:!0,l:"button--large js-cancel",action:(0,z.M)(""+(d?z.A(d):"overlay-cancel"))},a),0,c))}a=(a=z.D({Np:!0},a))||{};c=(0,z.y)(dm(z.D({s:(0,z.M)(""+z.A(z.Wk({l:(0,z.M)("button button--signin button--email button--overlayConfirm"),icon:(0,z.M)(""+z.nh("d","email",!0)(null,null,c)),action:"email-auth",source:a.source, | |
im:a.redirectUrl,title:(0,z.M)(""+z.A(lfa())),text:(0,z.M)(""+z.A(lfa()))},c))+z.A(z.Wk({l:(0,z.M)("button button--signin button--google js-google"),icon:(0,z.M)(""+z.nh("d","google",!0)(null,null,c)),action:"google-email-auth",source:a.source,im:a.redirectUrl,title:(0,z.M)(""+z.A(mfa())),text:(0,z.M)(""+z.A(mfa()))},c)))},a)));return b(d+z.A(c))}); | |
z.mh("q","tweet",function(a,b,c){a="";b=z.n("Cancel");var d=z.n("Tweet");a+=z.A(z.Wk({text:(0,z.M)(""+d),icon:(0,z.M)(""+z.A(z.xk(null))),ld:!0,l:"button--overlaySubmit",action:"overlay-submit"},c))+z.A(z.Uk({s:(0,z.M)(""+b),action:"overlay-cancel"},c));return(0,z.y)(a)}); | |
z.mh("r","dots",function(a){a=a||{};var b='\x3cdiv class\x3d"u-textAlignCenter u-marginTop20"\x3e';a=a.XDa;for(var c=0;c<a;c++)b+='\x3cspan class\x3d"u-cursorPointer u-padding5 u-textColorLight u-lineHeight0 u-fontSize50 u-xs-fontSize40 js-carouselCrumb" data-action\x3d"scroll-carousel" data-action-value\x3d"'+z.E(c)+'"\x3e•\x3c/span\x3e';return(0,z.y)(b+"\x3c/div\x3e")}); | |
z.mh("r","arrows",function(a,b,c){return(0,z.y)('\x3cdiv class\x3d"u-flexColumn u-absolute u-top0 u-leftNegative25 u-xs-leftNegative20 u-bottom0"\x3e'+z.A(z.Wk({icon:(0,z.M)(""+z.A(z.ak({Ki:!0}))),Fd:!0,action:"scroll-carousel",actionValue:-1,ca:!0,l:"js-carouselReverse"},c))+'\x3c/div\x3e\x3cdiv class\x3d"u-flexColumn u-absolute u-top0 u-rightNegative20 u-xs-rightNegative10 u-bottom0"\x3e'+z.A(z.Wk({icon:(0,z.M)(""+z.A(z.jk({pg:!0}))),Fd:!0,action:"scroll-carousel",ca:!0,l:"js-carouselForward"}, | |
c))+"\x3c/div\x3e")}); | |
z.mh("r","arrowsLarge",function(a,b,c){return(0,z.y)('\x3cdiv class\x3d"u-flexColumn u-absolute u-top0 u-leftNegative40 u-bottom0 u-sm-left0"\x3e'+z.A(z.Wk({icon:(0,z.M)(""+z.A(z.Ida())),action:"scroll-carousel",actionValue:-1,ca:!1,Vc:!0,l:"js-carouselReverse"},c))+'\x3c/div\x3e\x3cdiv class\x3d"u-flexColumn u-absolute u-top0 u-rightNegative40 u-bottom0 u-sm-right0"\x3e'+z.A(z.Wk({icon:(0,z.M)(""+z.A(z.ik(null))),action:"scroll-carousel",ca:!1,Vc:!0,l:"u-relative u-top1 js-carouselForward"},c))+ | |
"\x3c/div\x3e")});var tka,yua,Uua,Pya,Bta,gla,lla,mla,ika,qka,Gwa,Zja,Yja,$ja,zla,yla,xla,wla,Yya,Zya,aka,ela,Nu,jla,kla,qpa,gza,Vka,eka,cka,bka,gka,Dla,fka,Uka,Ala,Bla,qla,rla,pla,vla,ula,tla,sla,Wka,Fla,Cla,Ela,PD,hka,Qu,Cza,Kla,Yka,xka,yka,wka,Hla,eB,eE,Hza,Fka,Hka,Ika,Jka,Kka,Lka,Mka,Rka,Ska,Nka,Oka,Pka,Qka,Tka,$ka,Dka,Eka,Cka,Bka,Gka,Zka,jka,dka,Rv,Xka,uka,Qv,Mqa,vka,Xja,wI,zka,Aka,ala,iqa; | |
tka=new x("ShowMediumAbout","MediumAboutScreen",!1,"GET","/about",function(a,b){var c;c=z.n("Welcome to {$productName}, where words matter.",{productName:""+b.productName});c=z.B(""+c);var d=z.n("{$productName} taps into the brains of the world’s most insightful writers, thinkers, and storytellers to bring you the smartest takes on topics that matter. So whatever your interest, you can always find fresh thinking and unique perspectives.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+ | |
d)),a,b),a,b).qJ({imageId:"1*L0zf9ap8xoInVbm78siJBA.png",originalWidth:1200,originalHeight:628})},!1,void 0,void 0); | |
z.Mu=new x("ShowHome","HomeScreen",!1,"GET","/",function(a,b){var c;c=z.n("{$productName} – a place to read and write big ideas and important stories",{productName:""+b.productName});c=z.B(""+c);var d;d=z.n("Welcome to {$productName}, a place where words matter. Medium taps into the brains of the world’s most insightful writers, thinkers, and storytellers to bring you the smartest takes on topics that matter. So whatever your interest, you can always find fresh thinking and unique perspectives.",{productName:""+ | |
b.productName});d=z.B(""+d);var e=z.qi(8,b);if(z.pi(b).enable_new_elevate_stylesheet&&z.pi(b).enable_sequence_promo&&a&&!z.zu(a.streamItems)){var g=z.yu(a.streamItems);g.section&&g.section.promo&&(e=z.qi(10,b))}return tj(qj(new pj(c,d),a,b),a,b).qJ({imageId:"1*L0zf9ap8xoInVbm78siJBA.png",originalWidth:1200,originalHeight:628}).jJ(e)},!1,void 0,void 0);z.Jya=new x("FetchExtremeMainFeed","",!1,"GET","/_/api/home-feed",null,!1,void 0,void 0); | |
z.Kya=new x("FetchSidebar","",!1,"GET","/_/api/sidebar",null,!1,void 0,void 0);z.Ju=new x("ShowNewPost","EditScreen",!1,"GET","/new-story",eha,!1,void 0,void 0);z.Lya=new x("CreateResponse","",!1,"POST","/p/{postId}/responses",null,!1,void 0,void 0); | |
z.Xv=new x("ShowNewResponse","EditScreen",!1,"GET","/p/{inResponseToPostId}/responses/new",function(a,b){var c;c="";var d=null==a.post?null:null==a.post.inResponseToPost?null:a.post.inResponseToPost.title,d=d?z.n("Responding to “{$responseToTitle}” – {$productName}",{responseToTitle:""+d,productName:""+b.productName}):z.n("New Response – {$productName}",{productName:""+b.productName});c+=""+d;c=z.B(c);d="";if(null==a.post?0:null==a.post.inResponseToPost?0:a.post.inResponseToPost.title)d+="“"+a.post.inResponseToPost.title+ | |
"”";else var e=z.n("a story"),d=d+(""+e);d=z.ph(d);d=z.n("You are writing a response to {$responseToTitle} on {$productName}. Your response has its own page and can be clapped for or responded to, just like stories.",{responseToTitle:""+d,productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.lw=new x("ShowCollectionNewPost","EditScreen",!1,"GET","/{collectionSlug}/new-story",function(a,b){var c,d;d=a||{};c="";d.collection?(d=z.n("New story for {$name} – {$productName}",{name:""+d.collection.name,productName:""+b.productName}),c+=""+d):c+=Sga(b);c=z.B(c);var e;e=a||{};d="";e.collection?(e=z.n("In its most basic form, a story for {$name} on {$productName} consists of a title and a body text. {$description}",{name:""+e.collection.name,productName:""+b.productName,description:""+z.Hj(e.collection.description)}), | |
d+=""+e):d+=Tga(b);return tj(rj(new pj(c,z.B(d)),b),a,b)},!1,void 0,void 0);z.Uv=new x("ShowEditPost","EditScreen",!1,"GET","/p/{postId}/edit",Km,!1,void 0,void 0); | |
z.cI=new x("ShowRevertPost","RevertCandidateScreen",!1,"GET","/p/{postId}/revert/{versionId}/{baseRev}",function(a,b){var c;c=z.n("{$title} – {$productName}",{title:""+(a.post.title?a.post.title:"untitled story"),productName:""+b.productName});c=z.B(""+c);var d=z.n("You are currently editing {$title}",{title:""+z.Hj(a.post.title?a.post.title:"untitled story")});return tj(rj(new pj(c,z.B(""+d)),b),a,b)},!1,void 0,void 0); | |
z.Mya=new x("ShowCollectionEditPost","EditScreen",!1,"GET","/{collectionSlug}/{postId}/edit",Km,!1,void 0,void 0);z.Nya=new x("ShowUserEditPost","EditScreen",!1,"GET","/@{username}/{postId}/edit",Km,!1,void 0,void 0); | |
z.Ku=new x("ShowImportPost","ImportScreen",!1,"GET","/p/import",function(a,b){var c;c=z.n("Import your story");c=z.B(""+c);var d=z.n("Import a story from anywhere on the internet to publish on your {$productName} account.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0);z.dI=new x("ShowCreateImportPost","EditScreen",!1,"GET","/p/import-story",eha,!1,void 0,void 0);z.Fm=new x("ShowPost","ShowScreen",!1,"GET","/p/{postId}",Gm,!1,void 0,void 0); | |
z.Oya=new x("UpdatePostMeta","",!1,"PUT","/_/api/posts/{postId}/metadata",null,!1,void 0,void 0);yua=new x("UpdatePostAudioProgress","",!1,"PUT","/_/api/posts/{postId}/audio-progress",null,!1,void 0,void 0);z.eI=new x("ShowPostUnderUser","ShowScreen",!1,"GET","/@{username}/{postId}",Gm,!1,void 0,void 0);z.fI=new x("ShowPostUnderCollection","ShowScreen",!1,"GET","/{collectionSlug}/{postId}",Gm,!0,void 0,void 0); | |
Uua=new x("ManageCollectionPost","",!1,"PUT","/{collectionSlug}/{postId}",null,!1,void 0,void 0);z.gI=new x("DeletePost","",!1,"DELETE","/p/{postId}",null,!1,void 0,void 0);z.hI=new x("SetPostAudience","",!1,"PUT","/_/api/posts/{postId}/audience",null,!1,void 0,void 0);z.Vv=new x("ShowPostInfo","PostInfoScreen",!1,"GET","/p/{postId}/info",Vga,!1,void 0,void 0);z.Wv=new x("ShowPostInfoOrdered","PostInfoScreen",!1,"GET","/p/{postId}/info/{order}/{filter}",Vga,!1,void 0,void 0); | |
z.iI=new x("UpdateUserSignals","",!1,"POST","/_/api/users/{userId}/signals",null,!1,void 0,void 0);Pya=new x("UpdateUserPostLocation","",!1,"PUT","/p/{postId}/state/location",null,!1,void 0,void 0);z.jI=new x("BookmarkPost","",!1,"PUT","/p/{postId}/bookmarks",null,!1,void 0,void 0);z.kI=new x("ArchivePost","",!1,"PUT","/_/api/posts/{postId}/archive",null,!1,void 0,void 0);z.Qya=new x("UnarchivePost","",!1,"DELETE","/_/api/posts/{postId}/archive",null,!1,void 0,void 0); | |
z.Rya=new x("MeterPosts","",!1,"PUT","/_/api/posts/meter",null,!1,void 0,void 0);z.Sya=new x("FetchPlacementsHumanQuery","",!1,"GET","/_/api/placements",null,!1,void 0,void 0);z.Tya=new x("FetchTagSuggestionsForPost","",!1,"GET","/_/api/posts/{postId}/tag-suggestions",null,!1,void 0,void 0);Bta=new x("ReportSpamPost","",!1,"PUT","/p/{postId}/spam",null,!1,void 0,void 0); | |
z.bv=new x("ShowSearch","SearchScreen",!1,"GET","/search",function(a,b){var c;c=z.n("Search and find – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Search on {$productName} and find the most popular voices writing about topics that matter.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.cv=new x("ShowSearchUsers","SearchScreen",!1,"GET","/search/users",function(a,b){var c;c=z.n("Search users – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Search users on {$productName} and find the most popular voices writing about topics that matter.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.dv=new x("ShowSearchCollections","SearchScreen",!1,"GET","/search/publications",function(a,b){var c;c=z.n("Search publications – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Search publications on {$productName} and find the most popular voices writing about topics that matter.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.ev=new x("ShowSearchTags","SearchScreen",!1,"GET","/search/tags",function(a,b){var c;c=z.n("Search tags – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Search tags on {$productName} and find the most popular voices writing about topics that matter.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.lI=new x("ShowSearchPosts","SearchScreen",!1,"GET","/search/posts",function(a,b){var c;c=z.n("Search stories – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Search stories on {$productName} and find the most popular voices writing about topics that matter.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.hw=new x("ShowCollectionSearch","CollectionSearchScreen",!1,"GET","/{collectionSlug}/search",function(a,b){var c,d=a.query;c="";null==d&&(d=z.n("Search"));c+=""+d;c+=" – "+a.collection.name+(a.collection.domain?"":" – "+b.productName);c=z.B(c);var e=a.query,d="",e=null!=e?z.n("Read writing on {$name} filtered by {$query}",{name:""+a.collection.name,query:""+z.Hj(e)}):z.n("Search writing on {$name}",{name:""+a.collection.name}),d=d+(""+e),d=d+(" "+z.Hj(a.collection.description));return vj(tj(qj(new pj(c, | |
z.B(d)),a,b),a,b).rk(a.collection.facebookPageId),a.collection.googleAnalyticsId).qk(a.collection.disableGoogleAnalytics)},!0,void 0,void 0); | |
z.gv=new x("ShowNewCatalog","CatalogEditScreen",!1,"GET","/new-collection",function(a,b){var c;c=z.n("New Collection – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Create a collection on {$productName}. Collections are designed to help readers easily discover not only the hottest stories of the moment but also the interesting gems that they might otherwise not encounter.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
gla=new x("ShowEmailSettings","EmailSettingsScreen",!1,"GET","/me/email-settings/{userId}/{hash}",function(a,b){var c;c=z.n("Email settings – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Manage your email settings on {$productName}. Pick what types of email you want to receive and their frequency.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.Uya=new x("ShowYourCatalogs","YourCatalogsScreen",!1,"GET","/me/collections",function(a,b){var c;c=z.n("Your Collections – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("This is the list of Collections that you have created on {$productName}",{productName:""+z.Hj(b.productName)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.Yu=new x("ShowYourStories","YourStoriesScreen",!1,"GET","/me/stories/{filterBy}",function(a,b){var c;c=z.n("Your stories – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("This is the list of stories that you have published on {$productName}",{productName:""+z.Hj(b.productName)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,"lite","enable_lite_stories"); | |
z.aw=new x("ShowUserCatalog","CatalogScreen",!1,"GET","/@{username}/collections/{catalogSlug}",function(a,b){var c;c="";if(a.user){var d=z.n("{$name_1}, a collection by {$name_2} – {$productName}",{name_1:""+a.catalog.name,name_2:""+a.user.name,productName:""+b.productName});c+=""+d}else c+=Qga(a,b);c=z.B(c);d="";if(a.user)var e=z.n("{$name_1} curated stories for {$name_2}: {$description}",{name_1:""+a.user.name,name_2:""+a.catalog.name,description:""+z.Hj(a.catalog.description)}),d=d+(""+e);else d+= | |
Rga(a);d=z.B(d);e=String(Vca({catalogId:a.catalog.catalogId},b));return uj(tj(qj(new pj(c,d),a,b),a,b),e)},!1,void 0,void 0); | |
lla=new x("ShowEditUserCatalog","CatalogEditScreen",!1,"GET","/@{username}/collections/{catalogSlug}/edit",function(a,b){var c;c=z.n("Edit the collection {$name} – {$productName}",{name:""+a.catalog.name,productName:""+b.productName});c=z.B(""+c);var d=z.n("Add or remove items from {$name} – {$description}",{name:""+a.catalog.name,description:""+z.Hj(a.catalog.description)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.fv=new x("ShowCatalog","CatalogScreen",!1,"GET","/collections/{catalogSlug}",bha,!1,void 0,void 0); | |
mla=new x("ShowEditCatalog","CatalogEditScreen",!1,"GET","/collections/{catalogSlug}/edit",function(a,b){var c;c=z.n("Edit the collection {$name} – {$productName}",{name:""+a.catalog.name,productName:""+b.productName});c=z.B(""+c);var d=z.n("Add or remove items from {$name} – {$description}",{name:""+a.catalog.name,description:""+z.Hj(a.catalog.description)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.Vya=new x("UpdateCatalogItems","",!1,"PUT","/_/api/catalogs/{catalogId}/items",null,!1,void 0,void 0);ika=new x("ShowTop","",!1,"GET","/browse/top",hha,!1,void 0,void 0); | |
z.Nv=new x("ShowFollows","YourFollowsScreen",!1,"GET","/me/following/{entityName}",function(a,b){var c;c=z.n("Customize your interests – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Here are users, topics, and publications you should consider following on {$productName}.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0);qka=new x("RedirectShowFollows","",!1,"GET","/me/following",null,!1,void 0,void 0); | |
z.Wya=new x("FetchTopStoriesByUser","",!1,"GET","/_/api/users/{userId}/top-stories/stream",null,!1,void 0,void 0);z.Lv=new x("ShowSeriesCreate","SeriesEditScreen",!1,"GET","/new-series",function(a,b){var c;c=z.n("New series – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Create a series on {$productName}. Series are a new type of immersive, episodic story format.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.mI=new x("ShowSeriesEdit","SeriesEditScreen",!1,"GET","/series/{postId}/edit",function(a,b){var c;c=z.n("Editing {$title} – {$productName}",{title:""+a.post.title,productName:""+b.productName});c=z.B(""+c);var d=z.n("Update the series {$title}. Series are a new type of immersive, episodic story format.",{title:""+a.post.title});return tj(rj(new pj(c,z.B(""+d)),b),a,b)},!1,void 0,void 0); | |
z.hv=new x("ShowSeries","SeriesShowScreen",!1,"GET","/series/{postId}",function(a,b){var c;c=z.n("{$title} – {$productName}",{title:""+a.post.title,productName:""+b.productName});c=z.B(""+c);var d=z.n("View the series {$title}. Series are a new type of immersive, episodic story format.",{title:""+a.post.title});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,"lite",void 0); | |
z.Mv=new x("ShowYourSeries","YourStoriesScreen",!1,"GET","/me/series/{filterBy}",function(a,b){var c;c=z.n("Your series – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("This is the list of series that you have published on {$productName}",{productName:""+z.Hj(b.productName)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0);Gwa=new x("CreateSeriesClaps","",!1,"POST","/_/api/posts/{postId}/claps",null,!1,void 0,void 0); | |
z.Xya=new x("SendSeriesPreviewPushNotification","",!1,"POST","/_/api/posts/{postId}/series-preview-push-notifications",null,!1,void 0,void 0); | |
Zja=new x("ShowTagPostsLatest","TagScreen",!1,"GET","/tag/{tagSlug}/latest",function(a,b){var c;c=z.n("Latest stories and news about {$tagName} – {$productName}",{tagName:""+(a.tag.name||a.tag.slug),productName:""+b.productName});c=z.B(""+c);var d=z.n("Read the latest writing about {$tagName}. Every day, thousands of voices read, write, and share important stories on {$productName} about {$tagName}.",{tagName:""+(a.tag.name||a.tag.slug),productName:""+b.productName});c=tj(qj(new pj(c,z.B(""+d)),a, | |
b),a,b);c.feedPath=String(Wca({tagSlug:a.tag.slug},b));return c},!1,void 0,void 0); | |
Yja=new x("ShowTagPosts","TagScreen",!1,"GET","/tag/{tagSlug}",function(a,b){var c;c=z.B(""+("The most insightful stories about "+(a.tag.name||a.tag.slug)+" – "+(""+b.productName)));var d=a.tag.name||a.tag.slug,e="";if(a.relatedTags&&0<a.relatedTags.length)for(var e=e+" like",g=a.relatedTags,k=g.length,l=0;l<k;l++){var q=g[l];5>l&&(q=q.name||q.slug,e+=l==k-1||4==l?" and "+z.A(q.toLowerCase())+".":" "+z.A(q.toLowerCase())+",")}e=(0,z.M)(e);d=z.n("Read stories about {$tagName} on {$productName}. Discover smart, unique perspectives on {$tagName} and the topics that matter most to you{$tagExamples}", | |
{tagName:""+d,productName:""+b.productName,tagExamples:""+z.Hj(e)});c=tj(qj(new pj(c,z.B(""+d)),a,b),a,b);c.feedPath=String(Wca({tagSlug:a.tag.slug},b));return c},!1,void 0,void 0); | |
$ja=new x("ShowTopWritersInTag","TagScreen",!1,"GET","/tag/{tagSlug}/top-writers",function(a,b){var c;c=z.n("Top writers in {$tagName} – {$productName}",{tagName:""+(a.tag.name||a.tag.slug),productName:""+b.productName});c=z.B(""+c);var d=z.n("Discover top writers in {$tagName} on {$productName}. Follow the most popular voices writing about {$tagName}. Every day, millions of people find and share real perspectives about topics that matter today on {$productName}.",{tagName:""+(a.tag.name||a.tag.slug), | |
productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
zla=new x("ShowTagArchive","TagArchiveBucketScreen",!1,"GET","/tag/{tagSlug}/archive",function(a,b){var c;c="";var d=z.n("Archive of stories about {$tagName}",{tagName:""+(a.tag.name||a.tag.slug)});c+=""+d+" – "+(""+b.productName);c=z.B(c);d=z.n("Discover all times top stories about {$tagName} on {$productName}",{tagName:""+(a.tag.name||a.tag.slug),productName:""+z.Hj(b.productName)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
yla=new x("ShowTagYearlyArchive","TagArchiveBucketScreen",!1,"GET","/tag/{tagSlug}/archive/{year}",function(a,b){var c;c="";var d=z.n("Top stories about {$tagName} written in {$year}",{tagName:""+(a.tag.name||a.tag.slug),year:""+a.archiveIndex.timeBucket.year});c+=""+d+" – "+(""+b.productName);c=z.B(c);var d="",e=a.tag.name||a.tag.slug,e=a.archiveIndex.monthlyBuckets&&0<a.archiveIndex.monthlyBuckets.length?z.n("Read the {$productName} top stories about {$tagName} written in {$year}.",{productName:""+ | |
b.productName,tagName:""+e,year:""+a.archiveIndex.timeBucket.year}):z.n("Discover all {$productName} stories about {$tagName} written in {$year}.",{productName:""+b.productName,tagName:""+e,year:""+a.archiveIndex.timeBucket.year}),d=d+(""+e);return tj(qj(new pj(c,z.B(d)),a,b),a,b)},!1,void 0,void 0); | |
xla=new x("ShowTagMonthlyArchive","TagArchiveBucketScreen",!1,"GET","/tag/{tagSlug}/archive/{year}/{month}",function(a,b){var c;c="";var d=a.tag.name||a.tag.slug,e=""+z.Ih({month:a.archiveIndex.timeBucket.month}),e=z.ph(e),d=z.n("Top stories about {$tagName} written in {$monthName} of {$year}",{tagName:""+d,monthName:""+e,year:""+a.archiveIndex.timeBucket.year});c+=""+d+" – "+(""+b.productName);c=z.B(c);var d="",e=a.tag.name||a.tag.slug,g=""+z.Ih({month:a.archiveIndex.timeBucket.month}),g=z.ph(g), | |
e=a.archiveIndex.dailyBuckets&&0<a.archiveIndex.dailyBuckets.length?z.n("Read the {$productName} top stories about {$tagName} written in {$monthName} of {$year}.",{productName:""+b.productName,tagName:""+e,monthName:""+g,year:""+a.archiveIndex.timeBucket.year}):z.n("Discover all {$productName} stories about {$tagName} written in {$monthName} of {$year}.",{productName:""+b.productName,tagName:""+e,monthName:""+g,year:""+a.archiveIndex.timeBucket.year}),d=d+(""+e);return tj(qj(new pj(c,z.B(d)),a,b), | |
a,b)},!1,void 0,void 0); | |
wla=new x("ShowTagDailyArchive","TagArchiveBucketScreen",!1,"GET","/tag/{tagSlug}/archive/{year}/{month}/{day}",function(a,b){var c;c="";var d=a.tag.name||a.tag.slug,e=""+z.Ih({month:a.archiveIndex.timeBucket.month}),e=z.ph(e),d=z.n("All stories about {$tagName} on {$monthName} {$day}, {$year}",{tagName:""+d,monthName:""+e,day:""+a.archiveIndex.timeBucket.day,year:""+a.archiveIndex.timeBucket.year});c+=""+d+" – "+(""+b.productName);c=z.B(c);d=a.tag.name||a.tag.slug;e=""+z.Ih({month:a.archiveIndex.timeBucket.month});e= | |
z.ph(e);d=z.n("Discover all {$productName} stories about {$tagName} written on {$monthName} {$day}, {$year}.",{productName:""+b.productName,tagName:""+d,monthName:""+e,day:""+a.archiveIndex.timeBucket.day,year:""+a.archiveIndex.timeBucket.year});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0);z.nI=new x("FetchTagStream","",!1,"GET","/_/api/tags/{tagSlug}/stream",null,!1,void 0,void 0); | |
z.oI=new x("FetchTagTopWriterStream","",!1,"GET","/_/api/tags/{tagSlug}/top-writers/stream",null,!1,void 0,void 0);Yya=new x("FollowTag","",!1,"PUT","/me/subscriptions/tag/{tagSlug}",null,!1,void 0,void 0);Zya=new x("StopFollowingTag","",!1,"DELETE","/me/subscriptions/tag/{tagSlug}",null,!1,void 0,void 0);aka=new x("ShowStats","UserStatsScreen",!1,"GET","/me/stats",fha,!1,void 0,void 0);z.$ya=new x("ShowStatsResponses","UserStatsScreen",!1,"GET","/me/stats/responses",gha,!1,void 0,void 0); | |
z.Su=new x("ShowUserStats","UserStatsScreen",!1,"GET","/@{username}/stats",fha,!1,void 0,void 0);z.Tu=new x("ShowUserStatsResponses","UserStatsScreen",!1,"GET","/@{username}/stats/responses",gha,!1,void 0,void 0);z.aza=new x("ShowStatsSeries","UserStatsScreen",!1,"GET","/me/stats/series",dha,!1,void 0,void 0);z.Uu=new x("ShowUserStatsSeries","UserStatsScreen",!1,"GET","/@{username}/stats/series",dha,!1,void 0,void 0);ela=new x("ShowStatsPost","",!1,"GET","/me/stats/post/{postId}",null,!1,"lite",void 0); | |
Nu=new x("ShowOnboarding2","OnboardingScreen",!1,"GET","/get-started",function(a,b){var c;c=z.n("Get started on {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Pick topics you are interested in and customize your reading list on {$productName}",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0);z.nu=new x("ShowUser","ProfileScreen",!1,"GET","/@{username}",Hm,!1,"lite","enable_lite_profile"); | |
z.bza=new x("ShowEditUserProfile","ProfileEditScreen",!1,"GET","/@{username}/edit",Hm,!1,void 0,void 0); | |
z.Zv=new x("ShowUserLatest","ProfileScreen",!1,"GET","/@{username}/latest",function(a,b){var c=z.B("Latest stories written by "+a.user.name+" – "+(a.collection?""+a.collection.name:""+b.productName)),d;d="";var e=a.user?a.collection?z.n("Read the latest stories written by {$name_1} in {$name_2} {$bio}",{name_1:""+a.user.name,name_2:""+z.Hj(a.collection.name),bio:""+z.Hj(a.user.bio)}):z.n("Read the latest stories written by {$name} on {$productName} {$bio}",{name:""+a.user.name,productName:""+z.Hj(b.productName), | |
bio:""+z.Hj(a.user.bio)}):z.n("We could not find the author you are looking for on {$productName}",{productName:""+z.Hj(b.productName)});d+=""+e;d=z.B(d);var e=String(Xca({user:a.user},b)),g=a.user.twitterScreenName;return uj(tj(qj(new pj(c,d),a,b),a,b),e).wg(g)},!1,"lite","enable_lite_profile"); | |
jla=new x("ShowUserHasRecommended","ProfileScreen",!1,"GET","/@{username}/has-recommended",function(a,b){var c,d;d=a||{};c="";d=z.n("Stories {$name} clapped for",{name:""+d.user.name});c+=""+d+" – "+(""+b.productName);c=z.B(c);d=z.n("Discover all stories {$name} clapped for on {$productName} {$bio}",{name:""+a.user.name,productName:""+z.Hj(b.productName),bio:""+z.Hj(a.user.bio)});d=z.B(""+d);var e=String,g;g=(0,z.ri)(z.F(z.Ci(b,"FEED_USER_RECOMMENDS",null,null,a.user)));e=e(g);g=a.user.twitterScreenName; | |
return uj(tj(qj(new pj(c,d),a,b),a,b),e).wg(g)},!1,"lite","enable_lite_profile"); | |
z.Yv=new x("ShowUserHighlights","ProfileScreen",!1,"GET","/@{username}/highlights",function(a,b){var c,d;d=a||{};c="";d=z.n("Story highlights by {$name}",{name:""+d.user.name});c+=""+d+" – "+(""+b.productName);c=z.B(c);d=z.n("Read all highlights by {$name} on {$productName} {$bio}",{name:""+a.user.name,productName:""+z.Hj(b.productName),bio:""+z.Hj(a.user.bio)});var e=a.user.twitterScreenName;return tj(qj(new pj(c,z.B(""+d)),a,b),a,b).wg(e)},!1,"lite","enable_lite_profile"); | |
z.Pv=new x("ShowUserFollowers","ProfileScreen",!1,"GET","/@{username}/followers",Zga,!1,"lite","enable_lite_followers");z.Ov=new x("ShowUserFollowing","ProfileScreen",!1,"GET","/@{username}/following",$ga,!1,"lite","enable_lite_following");z.jw=new x("ShowUserFilterByCollection","ProfileScreen",!1,"GET","/{collectionSlug}/@{username}",Hm,!0,void 0,void 0);z.cza=new x("FetchUserFollowers","",!1,"GET","/_/api/users/{userId}/followers",null,!1,void 0,void 0); | |
z.dza=new x("FetchUserFollowing","",!1,"GET","/_/api/users/{userId}/following",null,!1,void 0,void 0);z.eza=new x("FetchUserBlockedUsers","",!1,"GET","/_/api/users/{userId}/blocked-users",null,!1,void 0,void 0); | |
kla=new x("ShowUserResponses","ProfileScreen",!1,"GET","/@{username}/responses",function(a,b){var c;c=z.n("Responses – {$name} – {$productName}",{name:""+a.user.name,productName:""+b.productName});c=z.B(""+c);var d=z.n("Responses published by {$name} on {$productName}. {$bio}",{name:""+a.user.name,productName:""+b.productName,bio:""+z.Hj(a.user.bio)}),e=a.user.twitterScreenName;return tj(qj(new pj(c,z.B(""+d)),a,b),a,b).wg(e)},!1,void 0,void 0); | |
z.pI=new x("FetchUsersForTypeahead","",!1,"GET","/_/api/users",null,!1,void 0,void 0);z.qI=new x("UpdateUser","",!1,"PUT","/@{username}",null,!1,void 0,void 0);qpa=new x("SaveOfflineUserData","",!1,"PUT","/_/api/users/{userId}/offline-data",null,!1,void 0,void 0);z.fza=new x("FetchUserFollowSuggestionsForUser","",!1,"GET","/_/api/users/{userId}/user-follow-suggestions/stream",null,!1,void 0,void 0);gza=new x("ReportUser","",!1,"PUT","/_/api/users/{userId}/report",null,!1,void 0,void 0); | |
Vka=new x("ShowMemberBillingHistory","MemberBillingHistoryScreen",!1,"GET","/me/billing-history",function(a,b){var c;c=z.n("Billing history – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("View your membership billing history – {$productName}",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,"lite","enable_lite_billing_history");z.hza=new x("RedirectToPayoutSetup","",!1,"GET","/me/settings/payout/setup",Lm,!1,void 0,void 0); | |
eka=new x("RedirectToPayoutDashboard","",!1,"GET","/me/settings/payout/dashboard",Lm,!1,void 0,void 0);cka=new x("RedirectToPartnerEnrollStep","",!1,"GET","/me/partner/enroll",Lm,!1,void 0,void 0); | |
z.Ou=new x("ShowPartnerEnroll","PartnerEnrollScreen",!1,"GET","/me/partner/enroll/{step}",Uga(function(a,b,c){a=z.n("Join {$partnerProgramName}",{partnerProgramName:""+z.yj(c)});return z.B(""+a)},function(a,b,c){a=z.n("Join {$partnerProgramName}.",{partnerProgramName:""+z.yj(c)});return z.B(""+a)}),!1,void 0,void 0);z.iza=new x("AcceptPartnerProgramTerms","",!1,"PUT","/_/api/users/{userId}/partner-program/terms/acceptance",null,!1,void 0,void 0); | |
bka=new x("ShowPartnerDashboard","PartnerDashboardScreen",!1,"GET","/me/partner/dashboard",Mm,!1,void 0,void 0);gka=new x("ShowPartnerTaxes","PartnerTaxesScreen",!1,"GET","/me/partner/taxes",function(a,b){var c;c=z.n("{$xxx} Tax Onboarding",{xxx:""+z.xj(null,b)});c=z.B(""+c);var d=z.n("a page to signup and input tax information.");return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.jza=new x("FetchPartnerPostAmountsForPeriod","",!1,"GET","/_/api/users/{userId}/partner/payments/{periodEndedAt}/posts",null,!1,void 0,void 0);Dla=new x("ShowCollectionPartnerDashboard","PartnerDashboardScreen",!1,"GET","/{collectionSlug}/settings/dashboard",Mm,!1,void 0,void 0);z.kza=new x("FetchCollectionPartnerPostAmountsForPeriod","",!1,"GET","/_/api/collections/{collectionId}/partner/payments/{periodEndedAt}/posts",null,!1,void 0,void 0); | |
fka=new x("ShowPartnerProgramApplication","PartnerApplicationScreen",!1,"GET","/m/partner-program",function(a,b){var c;c=z.n("{$productName} Partner Program",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Learn about the {$productName} Partner Program.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0);z.lza=new x("RequestPartnerProgram","",!1,"POST","/_/api/users/{userId}/partner-program-applications",null,!1,void 0,void 0); | |
Uka=new x("AdminHightowerShowWeeklyEngagements","",!1,"GET","/_/admin/hightower/weekly-engagements/{batchId}",null,!1,void 0,void 0);z.Im=new x("ShowCollectionHome","CollectionHomeScreen",!1,"GET","/{collectionSlug}",Wga,!0,void 0,void 0);z.mza=new x("UpdateCollection","",!1,"POST","/{collectionSlug}",null,!1,void 0,void 0);z.nza=new x("DeleteCollection","",!1,"DELETE","/{collectionSlug}",null,!1,void 0,void 0); | |
z.gw=new x("ShowCollectionMasthead","MastheadScreen",!1,"GET","/{collectionSlug}/about",Xga,!0,void 0,void 0);Ala=new x("ShowEditCollectionMasthead","MastheadEditScreen",!1,"GET","/{collectionSlug}/settings/about",Xga,!1,void 0,void 0);z.oza=new x("UpdateCollectionMasthead","",!1,"POST","/{collectionSlug}/about",null,!1,void 0,void 0); | |
z.Lu=new x("ShowCollectionCreate","CollectionSettingsScreen",!1,"GET","/new-publication",function(a,b){var c;c=z.n("New publication – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Create a new publication on {$productName}. Publications bring individual voices together around a common theme and shared purpose.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.pza=new x("CreateCollection","",!1,"POST","/publications",null,!1,void 0,void 0);z.nw=new x("ShowCollectionSettings","CollectionSettingsScreen",!1,"GET","/{collectionSlug}/settings",function(a,b){var c;c=z.n("Homepage and settings – {$name}",{name:""+a.collection.name});c=z.B(""+c);var d=z.n("Modify {$name} homepage layout and settings.",{name:""+a.collection.name});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
Bla=new x("ShowCollectionNavigationSettings","CollectionNavigationSettingsScreen",!1,"GET","/{collectionSlug}/settings/navigation",function(a,b){var c;c=z.n("Navigation – {$name}",{name:""+a.collection.name});c=z.B(""+c);var d=z.n("Manage navigation bar for {$name}",{name:""+z.Hj(a.collection.name)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0);z.qza=new x("UpdateCollectionNavigation","",!1,"POST","/{collectionSlug}/settings/navigation",null,!1,void 0,void 0); | |
z.mw=new x("ShowCollectionLettersSettings","LettersScreen",!1,"GET","/{collectionSlug}/settings/letters",Yga,!1,void 0,void 0); | |
z.fw=new x("ShowCollectionLatest","CollectionScreen",!1,"GET","/{collectionSlug}/latest",function(a,b){var c;c="";var d=z.n("Latest stories published on {$name}",{name:""+a.collection.name});c+=""+d+(a.collection.domain?"":" – "+b.productName);c=z.B(c);var d="",e=z.n("Read the latest stories published by {$name}.",{name:""+a.collection.name}),d=d+(""+e+" "+(""+z.Hj(a.collection.description))),d=z.B(d);Yi({collection:a.collection},b);var e=z.Im.Vb({collectionSlug:a.collection.slug}),g=a.collection.user? | |
a.collection.user.twitterScreenName:"";return wj(vj(tj(qj(new pj(c,d),a,b),a,b).rk(a.collection.facebookPageId),a.collection.googleAnalyticsId).qk(a.collection.disableGoogleAnalytics),e).wg(g)},!0,void 0,void 0); | |
qla=new x("ShowCollectionTrending","CollectionScreen",!1,"GET","/{collectionSlug}/trending",function(a,b){var c;c="";var d=z.n("Trending stories published on {$name}",{name:""+a.collection.name});c+=""+d+(a.collection.domain?"":" – "+b.productName);c=z.B(c);var d="",e=z.n("Read the trending stories published by {$name}.",{name:""+a.collection.name}),d=d+(""+e+" "+(""+z.Hj(a.collection.description))),d=z.B(d),e=z.Im.Vb({collectionSlug:a.collection.slug}),g=a.collection.user?a.collection.user.twitterScreenName: | |
"";return wj(vj(tj(qj(new pj(c,d),a,b),a,b).rk(a.collection.facebookPageId),a.collection.googleAnalyticsId).qk(a.collection.disableGoogleAnalytics),e).wg(g)},!0,void 0,void 0); | |
rla=new x("ShowCollectionTagged","CollectionTaggedScreen",!1,"GET","/{collectionSlug}/tagged/{tagSlug}",function(a,b){var c=z.B(""+a.tag.name+" – "+(""+a.collection.name)+(a.collection.domain?"":" – "+b.productName)),d;d="";var e=z.n("Read writing about {$name_1} in {$name_2}.",{name_1:""+a.tag.name,name_2:""+a.collection.name});d+=""+e+" "+(""+z.Hj(a.collection.description));d=z.B(d);var e=String,g;g=a.collection;var k=z.Gs(a.tag.name);g=(0,z.ri)(z.F(z.Ci(b,"COLLECTION_TAG_FEED",null,g,null,k))); | |
e=e(g);return vj(uj(tj(qj(new pj(c,d),a,b),a,b),e).rk(a.collection.facebookPageId),a.collection.googleAnalyticsId).qk(a.collection.disableGoogleAnalytics)},!0,void 0,void 0);pla=new x("ShowCollectionFeatured","CollectionScreen",!1,"GET","/{collectionSlug}/featured",Wga,!0,void 0,void 0);vla=new x("ShowCollectionArchive","CollectionArchiveBucketScreen",!1,"GET","/{collectionSlug}/archive",Jm,!0,void 0,void 0); | |
ula=new x("ShowCollectionYearlyArchive","CollectionArchiveBucketScreen",!1,"GET","/{collectionSlug}/archive/{year}",function(a,b){var c;c="";var d=z.n("Top stories published by {$name} in {$year}",{name:""+a.collection.name,year:""+a.archiveIndex.timeBucket.year});c+=""+d+(a.collection.domain?"":" – "+b.productName);c=z.B(c);var d="",e=a.archiveIndex.monthlyBuckets&&0<a.archiveIndex.monthlyBuckets.length?z.n("Read the top stories published in {$year}.",{year:""+a.archiveIndex.timeBucket.year}):z.n("Read all stories published by {$name} in {$year}.", | |
{name:""+a.collection.name,year:""+a.archiveIndex.timeBucket.year}),d=d+(""+e),d=d+(" "+z.Hj(a.collection.description));return vj(tj(qj(new pj(c,z.B(d)),a,b),a,b).rk(a.collection.facebookPageId),a.collection.googleAnalyticsId).qk(a.collection.disableGoogleAnalytics)},!0,void 0,void 0); | |
tla=new x("ShowCollectionMonthlyArchive","CollectionArchiveBucketScreen",!1,"GET","/{collectionSlug}/archive/{year}/{month}",function(a,b){var c;c="";var d=""+z.Ih({month:a.archiveIndex.timeBucket.month}),d=z.ph(d),d=z.n("Top stories published by {$name} in {$monthName} of {$year}",{name:""+a.collection.name,monthName:""+d,year:""+a.archiveIndex.timeBucket.year});c+=""+d+(a.collection.domain?"":" – "+b.productName);c=z.B(c);var d="",e=""+z.Ih({month:a.archiveIndex.timeBucket.month}),e=z.ph(e),e=a.archiveIndex.dailyBuckets&& | |
0<a.archiveIndex.dailyBuckets.length?z.n("Read the top stories published by {$name} in {$monthName} of {$year}.",{name:""+a.collection.name,monthName:""+e,year:""+a.archiveIndex.timeBucket.year}):z.n("Read all stories published by {$name} in {$monthName} of {$year}.",{name:""+a.collection.name,monthName:""+e,year:""+a.archiveIndex.timeBucket.year}),d=d+(""+e),d=d+(" "+z.Hj(a.collection.description));return vj(tj(qj(new pj(c,z.B(d)),a,b),a,b).rk(a.collection.facebookPageId),a.collection.googleAnalyticsId).qk(a.collection.disableGoogleAnalytics)}, | |
!0,void 0,void 0); | |
sla=new x("ShowCollectionDailyArchive","CollectionArchiveBucketScreen",!1,"GET","/{collectionSlug}/archive/{year}/{month}/{day}",function(a,b){var c;c="";var d=""+z.Ih({month:a.archiveIndex.timeBucket.month}),d=z.ph(d),d=z.n("All stories published by {$name} on {$monthName} {$day}, {$year}",{name:""+a.collection.name,monthName:""+d,day:""+a.archiveIndex.timeBucket.day,year:""+a.archiveIndex.timeBucket.year});c+=""+d+(a.collection.domain?"":" – "+b.productName);c=z.B(c);var d="",e=""+z.Ih({month:a.archiveIndex.timeBucket.month}), | |
e=z.ph(e),e=z.n("Read all stories published by {$name} on {$monthName} {$day}, {$year}.",{name:""+a.collection.name,monthName:""+e,day:""+a.archiveIndex.timeBucket.day,year:""+a.archiveIndex.timeBucket.year}),d=d+(""+e+" "+(""+z.Hj(a.collection.description)));return vj(tj(qj(new pj(c,z.B(d)),a,b),a,b).rk(a.collection.facebookPageId),a.collection.googleAnalyticsId).qk(a.collection.disableGoogleAnalytics)},!0,void 0,void 0); | |
z.Wu=new x("ShowYourCollections","YourCollectionsScreen",!1,"GET","/me/publications",function(a,b){var c;c=z.n("Your publications on {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("This is the list of publications that you own on {$productName}",{productName:""+z.Hj(b.productName)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0);z.rza=new x("AddMediumMembership","",!1,"POST","/_/api/memberships/members",null,!1,void 0,void 0); | |
z.rI=new x("DeleteMembership","",!1,"DELETE","/_/api/memberships/{membershipId}",null,!1,void 0,void 0);Wka=new x("ShowCancelMembership","CancelMembershipScreen",!1,"GET","/me/membership/cancel",function(a,b){var c;c=z.n("{$productName} – Membership cancellation",{productName:""+b.productName});c=z.B(""+c);var d=z.n("You are currently in the process of cancelling your {$productName} membership.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
Fla=new x("ShowCollectionFollowers","CollectionFollowersScreen",!1,"GET","/{collectionSlug}/settings/followers",function(a,b){var c;c=z.n("Followers - {$name}",{name:""+a.collection.name});c=z.B(""+c);var d=z.n("Review followers of {$name}",{name:""+z.Hj(a.collection.name)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.ow=new x("ShowCollectionTakeovers","CollectionTakeoversScreen",!1,"GET","/{collectionSlug}/takeover-sponsorships",function(a,b){var c;c=z.n("Sponsorships – {$name}",{name:""+a.collection.name});c=z.B(""+c);var d=z.n("Manage sponsorships for {$name}.",{name:""+a.collection.name});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
Cla=new x("ShowCollectionTakeoverCreate","CollectionTakeoverEditScreen",!1,"GET","/{collectionSlug}/takeover-sponsorships/new",function(a,b){var c;c=z.n("New sponsorship – {$name}",{name:""+a.collection.name});c=z.B(""+c);var d=z.n("Create a new sponsorship for {$name}.",{name:""+a.collection.name});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
Ela=new x("ShowCollectionTakeoverEdit","CollectionTakeoverEditScreen",!1,"GET","/{collectionSlug}/takeover-sponsorships/{takeoverId}/edit",function(a,b){var c;c=z.n("Editing sponsorship – {$name}",{name:""+a.collection.name});c=z.B(""+c);var d=z.n("Review and edit a sponsorship for {$name}.",{name:""+a.collection.name});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.tw=new x("ShowCollectionSubmittedPosts","CollectionSubmittedPostsScreen",!1,"GET","/{collectionSlug}/submitted-stories",function(a,b){var c;c=z.n("Submitted stories – {$name}",{name:""+a.collection.name});c=z.B(""+c);var d=z.n("Manage submitted stories from {$name}",{name:""+a.collection.name});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.kw=new x("ShowCollectionInstantArticlesPagePick","CollectionSelectFacebookPageScreen",!1,"GET","/{collectionSlug}/ia/pick",function(a,b){var c=z.ml(),d=z.nl();return tj(qj(new pj(c,d),a,b),a,b)},!0,void 0,void 0);PD=new x("FetchMyCollections","",!1,"GET","/_/api/me/collections",null,!1,void 0,void 0); | |
z.sw=new x("ShowCollectionTopic","CollectionCategoryScreen",!1,"GET","/{collectionSlug}/{topicSlug}/home",function(a,b){var c;c="";var d=z.n("{$title} – {$name}",{title:""+a.header.title,name:""+a.collection.name});c+=""+d+(a.collection.domain?"":" – "+b.productName);c=z.B(c);d=z.B(""+z.Hj(a.header.description)+" "+(""+z.Hj(a.collection.description)));return vj(tj(qj(new pj(c,d),a,b),a,b).rk(a.collection.facebookPageId),a.collection.googleAnalyticsId).qk(a.collection.disableGoogleAnalytics)},!0,void 0, | |
void 0);z.qw=new x("ShowCollectionTopicList","CollectionCategoryListScreen",!1,"GET","/{collectionSlug}/settings/feature-pages",function(a,b){var c;c=z.n("Feature pages – {$name}",{name:""+a.collection.name});c=z.B(""+c);var d=z.n("Manage feature pages for {$name}",{name:""+z.Hj(a.collection.name)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.pw=new x("ShowCollectionTopicCreate","CollectionCategoryEditScreen",!1,"GET","/{collectionSlug}/settings/feature-pages/new",function(a,b){var c;c=z.n("New feature page – {$name}",{name:""+a.collection.name});c=z.B(""+c);var d=z.n("Add a new feature page for {$name}",{name:""+z.Hj(a.collection.name)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.rw=new x("ShowCollectionTopicEdit","CollectionCategoryEditScreen",!1,"GET","/{collectionSlug}/settings/feature-pages/{topicSlug}/edit",function(a,b){var c;c=z.n("Edit a feature page – {$name}",{name:""+a.collection.name});c=z.B(""+c);var d=z.n("Edit a feature page for {$name}",{name:""+z.Hj(a.collection.name)});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.sza=new x("FetchNormalizedTopicSlug","",!1,"GET","/_/api/collections/{collectionId}/normalized-topic-slug",null,!1,void 0,void 0);z.tza=new x("CreateCollectionTopic","",!1,"POST","/_/api/collections/{collectionId}/topics",null,!1,void 0,void 0);z.uza=new x("UpdateCollectionTopic","",!1,"PUT","/_/api/collections/{collectionId}/topics/{topicId}",null,!1,void 0,void 0);z.vza=new x("DeleteCollectionTopic","",!1,"DELETE","/_/api/collections/{collectionId}/topics/{topicId}",null,!1,void 0,void 0); | |
z.wza=new x("WriteSurveyResults","",!1,"POST","/_/api/surveys/{surveyId}/results",null,!1,void 0,void 0);z.xza=new x("CreateUserCatalog","",!1,"POST","/_/api/users/{userId}/catalogs",null,!1,void 0,void 0);z.sI=new x("FetchCatalog","",!1,"GET","/_/api/catalogs/{catalogId}",null,!1,void 0,void 0);z.tI=new x("UpdateCatalog","",!1,"PUT","/_/api/catalogs/{catalogId}",null,!1,void 0,void 0);z.yza=new x("DeleteCatalog","",!1,"DELETE","/_/api/catalogs/{catalogId}",null,!1,void 0,void 0); | |
z.uI=new x("FetchCatalogStream","",!1,"GET","/_/api/catalogs/{catalogId}/stream",null,!1,void 0,void 0);z.zza=new x("UpdateTopic","",!1,"PUT","/_/api/topics/{topicId}",null,!1,void 0,void 0);z.Aza=new x("TopicAddPosts","",!1,"POST","/_/api/topics/{topicId}/posts",null,!1,void 0,void 0);z.Bza=new x("TopicRemovePosts","",!1,"DELETE","/_/api/topics/{topicId}/posts",null,!1,void 0,void 0); | |
hka=new x("ShowAddPostsToTopic","AddPostsToTopicScreen",!1,"GET","/topic/{topicSlug}/add-posts",function(a,b){var c,d;d=a||{};c="";d.topic&&(d=z.n("Add posts to {$name} – {$productName}",{name:""+d.topic.name,productName:""+b.productName}),c+=""+d);c=z.B(c);d=z.n("Add new posts to a Topic and control how they will show up to readers");return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0);z.Pu=new x("SubscribeTopic","",!1,"PUT","/me/subscriptions/topic/{topicSlug}",null,!1,void 0,void 0); | |
Qu=new x("SubscribeTopicAndRedirect","",!1,"GET","/_/subscriptions/topic/{topicSlug}",null,!1,void 0,void 0);Cza=new x("UnsubscribeTopic","",!1,"DELETE","/me/subscriptions/topic/{topicSlug}",null,!1,void 0,void 0); | |
z.Ru=new x("ShowTopic","TopicScreen",!1,"GET","/topic/{topicSlug}",function(a,b){var c,d;d=a||{};c="";d.topic&&(d=z.n("{$name} – {$productName}",{name:""+d.topic.name,productName:""+b.productName}),c+=""+d);c=z.B(c);var e;e=a||{};d="";e.topic&&(e=z.n("{$name} on {$productName}: {$description}",{name:""+e.topic.name,productName:""+b.productName,description:""+e.topic.description}),d+=""+e);d=z.B(d);e=String;var g;g=(0,z.ri)(z.F(z.Ci(b,"TOPIC_FEED",null,null,null,a.topic.slug)));e=e(g);return uj(tj(qj(new pj(c, | |
d),a,b),a,b),e)},!1,"lite","enable_lite_topics");Kla=new x("RenderTopicFeed","",!1,"GET","/feed/topic/{topicSlug}",null,!1,void 0,void 0);Yka=new x("ShowTopicExplore","TopicExploreScreen",!1,"GET","/topics",function(a,b){var c;c=z.n("Explore topics – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d;d=a||{};var e="";d.topic&&(d=z.n("Explore curated topics on {$productName}",{productName:""+b.productName}),e+=""+d);return tj(qj(new pj(c,z.B(e)),a,b),a,b)},!1,void 0,void 0); | |
xka=new x("ShowNewByPeopleYouFollow","ChunkStandaloneScreen",!1,"GET","/stream/authors",function(a,b){var c;c=z.n("New stories by people you follow – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("New stories by people you follow on {$productName}",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
yka=new x("ShowNewByPublicationsYouFollow","ChunkStandaloneScreen",!1,"GET","/stream/publications",function(a,b){var c;c=z.n("New stories by publications you follow – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("New stories by publications you follow on {$productName}",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
wka=new x("ShowNewByFollowedUsersAndCollections","ChunkStandaloneScreen",!1,"GET","/stream/network",function(a,b){var c;c=z.n("From people and publications you follow – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("From people and publications you follow on {$productName}",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
Hla=new x("ShowAcceptedFeatureLockPostRequest","AcceptedFeatureLockPostRequestScreen",!1,"GET","/p/{postId}/requests/partner/feature/{token}",function(a,b){var c;c=z.n("Accepted request to meter “{$title}”",{title:""+a.post.title});c=z.B(""+c);var d=z.n("“{$title}” is now for members only and will be featured.",{title:""+a.post.title});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.Iu=new x("ShowAcctSignIn","SignInScreen",!1,"GET","/m/signin",function(a,b){var c;c=z.n("Join {$productName}.",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Join {$productName}.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0);eB=new x("AcctSignInPost","",!1,"POST","/m/signin",null,!1,void 0,void 0);z.Dza=new x("ClearActiveSessions","",!1,"DELETE","/m/account/signout-sessions",null,!1,void 0,void 0); | |
z.Eza=new x("CreateCollectionTakeover","",!1,"POST","/_/api/collections/{collectionId}/takeovers",null,!1,void 0,void 0);z.Fza=new x("UpdateTakeover","",!1,"PUT","/_/api/takeovers/{takeoverId}",null,!1,void 0,void 0);z.Gza=new x("DeleteTakeover","",!1,"DELETE","/_/api/takeovers/{takeoverId}",null,!1,void 0,void 0);eE=new x("FetchSessionCookies","",!1,"GET","/_/api/session-cookies",null,!1,void 0,void 0);Hza=new x("ClearSessionCookies","",!1,"DELETE","/_/api/session-cookies",null,!0,void 0,void 0); | |
Fka=new x("AdminCurationToolIndex","",!1,"GET","/_/curation/discovery",null,!1,void 0,void 0);Hka=new x("AdminCurationToolFetchTopPostsInTopic","",!1,"GET","/_/curation/discovery/{topicId}/top",null,!1,void 0,void 0);Ika=new x("AdminCurationToolFetchEmergingPostsInTopic","",!1,"GET","/_/curation/discovery/{topicId}/emerging",null,!1,void 0,void 0);Jka=new x("AdminCurationToolFetchMomentumPostsInTopic","",!1,"GET","/_/curation/discovery/{topicId}/momentum",null,!1,void 0,void 0); | |
Kka=new x("AdminCurationToolFetchTopPosts","",!1,"GET","/_/curation/discovery/global/top",null,!1,void 0,void 0);Lka=new x("AdminCurationToolFetchEmergingPosts","",!1,"GET","/_/curation/discovery/global/emerging",null,!1,void 0,void 0);Mka=new x("AdminCurationToolFetchMomentumPosts","",!1,"GET","/_/curation/discovery/global/momentum",null,!1,void 0,void 0);Rka=new x("AdminCurationToolFetchNextPostFromMasterFeed","",!1,"GET","/_/curation/discovery/next-post",null,!1,void 0,void 0); | |
Ska=new x("AdminCurationToolFetchNextHightowerPostForCurator","",!1,"GET","/_/curation/discovery/hightower/next-post",null,!1,void 0,void 0);Nka=new x("AdminCurationToolFetchTopHightowerPosts","",!1,"GET","/_/curation/discovery/hightower/top",null,!1,void 0,void 0);Oka=new x("AdminCurationToolFetchMomentumHightowerPosts","",!1,"GET","/_/curation/discovery/hightower/momentum",null,!1,void 0,void 0); | |
Pka=new x("AdminCurationToolFetchHightowerPostsByLockedAt","",!1,"GET","/_/curation/discovery/hightower/locked-at",null,!1,void 0,void 0);Qka=new x("AdminCurationToolFetchHightowerPostsByPublishedAt","",!1,"GET","/_/curation/discovery/hightower/published-at",null,!1,void 0,void 0);Tka=new x("AdminCurationToolFetchNextCandidatePostForCurator","",!1,"GET","/_/curation/discovery/candidates/next-post",null,!1,void 0,void 0); | |
$ka=new x("ShowCurationCandidatePosts","",!1,"GET","/_/curation/candidates/{listName}",function(a,b){var c;c=z.n("Curation Candidate Posts");c=z.B(""+c);var d=z.n("A list of candidate posts for curators to decide their quality and topics.");return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0);Dka=new x("AdminManagePopchunks","",!1,"GET","/_/curation/popchunks",null,!1,void 0,void 0);Eka=new x("AdminShowDeletedPopchunks","",!1,"GET","/_/curation/popchunks/deleted",null,!1,void 0,void 0); | |
Cka=new x("AdminCreatePopchunk","",!1,"GET","/_/curation/popchunks/create",null,!1,void 0,void 0);Bka=new x("AdminUpdatePopchunk","",!1,"GET","/_/curation/popchunks/{popchunkId}",null,!1,void 0,void 0);Gka=new x("AdminTopStoriesIndex","",!1,"GET","/_/curation/top-stories",null,!1,void 0,void 0);Zka=new x("AdminShowEditExperiment","",!1,"GET","/_/admin/experiments/{experimentId}/edit",null,!1,void 0,void 0); | |
jka=new x("ShowAppsLanding","HtmlScreen",!1,"GET","/m/app",function(a,b){var c;c=z.n("Download our mobile application – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Read the very best of {$productName} wherever you go, or tell a story of your own.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.Iza=new x("ShowGoodbye","HtmlScreen",!1,"GET","/m/goodbye",function(a,b){var c;c=z.n("Thank you, goodbye – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Thanks for trying {$productName}. Come back anytime.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
dka=new x("ShowPartnerLanding","PartnerLandingScreen",!1,"GET","/creators",Uga(function(a,b,c){a=z.n("About {$partnerProgramName}",{partnerProgramName:""+z.yj(c)});return z.B(""+a)},function(a,b,c){a=z.n("Learn about {$partnerProgramName}.",{partnerProgramName:""+z.yj(c)});return z.B(""+a)}),!1,void 0,void 0); | |
Rv=new x("ShowSubscriptionsLanding","SubscriptionsLandingScreen",!1,"GET","/membership",function(a,b){var c;c=z.n("Upgrade and become a member of {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Together, we’re building a different kind of place on the internet: one designed for you, not for advertisers.");return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
Xka=new x("ShowCreatorsLanding","CreatorsLandingScreen",!1,"GET","/creators",function(a,b){var c;c=z.n("A place to publish your best work");c=z.B(""+c);var d=z.n("The internet should reward quality thinking, not clickbait. That’s why we’ve created a better home for writers, journalists and experts. It’s simple to use, free from ads, and connects you to curious, avid readers, so you can focus on what matters: putting your best work out there.");return tj(qj(new pj(c,z.B(""+d)),a,b),a,b).jJ(z.qi(9, | |
b))},!1,void 0,void 0); | |
uka=new x("ShowMediumMembershipUpgrade","MediumMembershipUpgradeScreen",!1,"GET","/upgrade",function(a,b){var c;c=z.n("{$productName} membership - Unlimited access to the best of {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Unlock a new layer of {$productName} with {$productName} membership. Read exclusive stories from top writers and experts, listen to audio versions of popular stories, and reward the writers you love. Subscribe now for full access.",{productName:""+b.productName}); | |
return tj(qj(new pj(c,z.B(""+d)),a,b),a,b).qJ({imageId:"1*JIRxllUE1Sf8mVtNBp7CWQ.png",originalWidth:1200,originalHeight:628})},!1,void 0,void 0); | |
Qv=new x("ShowMediumMembershipPayment","MediumMembershipPaymentScreen",!1,"GET","/payment",function(a,b){var c;c=z.n("{$productName} membership - Unlimited access to the best of {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("Unlock a new layer of {$productName} with {$productName} membership. Read exclusive stories from top writers and experts, listen to audio versions of popular stories, and reward the writers you love. Subscribe now for full access.",{productName:""+b.productName}); | |
return tj(qj(new pj(c,z.B(""+d)),a,b),a,b).qJ({imageId:"1*JIRxllUE1Sf8mVtNBp7CWQ.png",originalWidth:1200,originalHeight:628})},!1,void 0,void 0);Mqa=new x("ShowRedirect","",!1,"GET","/r",Lm,!1,void 0,void 0); | |
vka=new x("ShowReadingList","ReadingListScreen",!1,"GET","/me/list/{activeTab}",function(a,b){var c;c="";var d=z.Xl(b.currentUser)?z.n("Your Reading List"):z.n("Your {$productName} private bookmarks",{productName:""+b.productName});c+=""+d;c=z.B(c);var d="",e=z.Xl(b.currentUser)?z.n("Your {$productName} reading list. Look back on your favorite stories, scroll through your bookmarks, and check out your history.",{productName:""+b.productName}):z.n("This is the list of {$productName} stories that you have previously bookmarked.", | |
{productName:""+b.productName}),d=d+(""+e);return tj(qj(new pj(c,z.B(d)),a,b),a,b)},!1,void 0,void 0);Xja=new x("ShowBookmarks","",!1,"GET","/browse/bookmarks",aha,!1,void 0,void 0);z.vI=new x("ShowYourActivity","ActivityScreen",!1,"GET","/me/activity",function(a,b){var c;c=z.n("Your notifications");c=z.B(""+c);var d=z.n("Your {$productName} activity notifications.",{productName:""+b.productName});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0); | |
z.Sv=new x("ShowSequence","SequenceScreen",!1,"GET","/s/{sequenceSlug}",function(a,b){var c=a.sequence,d;d=a||{};d=z.B(""+d.sequence.title+" – "+(""+b.productName));var e;e=a||{};a=tj(qj(new pj(d,z.B(""+e.sequence.description)),a,b),a,b).jJ(z.qi(10,b));c&&(c=z.Sv.Vb({sequenceSlug:c.slug}),wj(a,c));return a},!1,void 0,void 0); | |
wI=new x("ShowSequencePost","SequencePostScreen",!1,"GET","/s/{sequenceSlug}/{postId}",function(a,b){var c;c=a||{};c=z.B(Oga(c,b));var d,e;e=a||{};d=z.B(Pga(e,b));e=a.sequence;var g=a.post,k=g.creator?g.creator.twitterScreenName:"",l=z.qi(10,b);a=tj(qj(new pj(c,d),a,b),a,b).wg(k).jJ(l);e&&g&&(b=wI.Vb({sequenceSlug:e.slug,postId:g.id}),wj(a,b));return a},!1,void 0,void 0);zka=new x("ShowSequenceLibrary","",!1,"GET","/collections",null,!1,"lite",void 0); | |
z.Jza=new x("CreateSequence","",!1,"POST","/_/api/sequences",null,!1,void 0,void 0);z.Kza=new x("UpdateSequence","",!1,"PUT","/_/api/sequences/{sequenceId}",null,!1,void 0,void 0);z.Tv=new x("ShowEditSequence","SequenceEditScreen",!1,"GET","/s/{sequenceSlug}/edit",cha,!1,void 0,void 0);Aka=new x("ShowCreateSequence","SequenceEditScreen",!1,"GET","/s/new",cha,!1,void 0,void 0);z.Lza=new x("DeleteSequence","",!1,"DELETE","/_/api/sequences/{sequenceId}",null,!1,void 0,void 0); | |
z.Mza=new x("FetchElevateRecircStream","",!1,"GET","/_/api/sequences/{sequenceId}/elevate-recirc-stream",null,!1,void 0,void 0);z.Nza=new x("FetchUnsplashPhotos","",!1,"GET","/_/api/unsplash-photos",null,!1,void 0,void 0);z.Oza=new x("ReportUnsplashPhotoInsertion","",!1,"POST","/_/api/unsplash-photos/insertions",null,!1,void 0,void 0);ala=new x("ShowFastrakLanding","",!1,"GET","/writerprogram",null,!1,"lite",void 0); | |
z.Pza=new x("FastrakOptIn","",!1,"PUT","/_/api/users/{userId}/writerprogram/opt-in",null,!1,void 0,void 0);z.Qza=new x("FastrakOptOut","",!1,"PUT","/_/api/users/{userId}/writerprogram/opt-out",null,!1,void 0,void 0); | |
iqa=new Waa("Medium",[tka,new x("RedirectToCointalk","",!1,"GET","/cointalk",null,!1,void 0,void 0),new x("RedirectToFutureHuman","",!1,"GET","/futurehuman",null,!1,void 0,void 0),new x("RedirectToGreatEscape","",!1,"GET","/greatescape",null,!1,void 0,void 0),new x("RedirectToUnrulybodies","",!1,"GET","/unrulybodies",null,!1,void 0,void 0),new x("RedirectToPlayback","",!1,"GET","/playback",null,!1,void 0,void 0),new x("RedirectToTrustIssues","",!1,"GET","/trustissues",null,!1,void 0,void 0),new x("RedirectToYouthNow", | |
"",!1,"GET","/youthnow",null,!1,void 0,void 0),z.Mu,new x("FetchHomeStream","",!1,"GET","/_/api/stream",null,!1,void 0,void 0),new x("FetchHomeStream2","",!1,"POST","/_/api/stream",null,!1,void 0,void 0),z.Jya,z.Kya,z.Ju,new x("LegacyShowNewPost","",!1,"GET","/p/new-post",null,!1,void 0,void 0),new x("CreatePost","",!1,"POST","/p/new-post",null,!1,void 0,void 0),z.Lya,new x("FetchResponses","",!1,"GET","/p/{postId}/responses",null,!1,void 0,void 0),new x("FetchParentPostIds","",!1,"GET","/_/api/posts/{postId}/parent-post-ids", | |
null,!1,void 0,void 0),z.Xv,z.lw,z.Uv,z.cI,new x("RevertToVersion","",!1,"POST","/p/{postId}/revert/{versionId}/{baseRev}",null,!1,void 0,void 0),z.Mya,z.Nya,new x("CreateNewPost","",!1,"POST","/new-story",null,!1,void 0,void 0),new x("CreateNewCollectionPost","",!1,"POST","/{collectionSlug}/new-story",null,!1,void 0,void 0),z.Ku,z.dI,z.Fm,new x("FetchPost","",!1,"GET","/_/api/posts/{postId}",null,!1,void 0,void 0),new x("FetchFullPost","",!1,"GET","/_/api/posts/{postId}",null,!1,void 0,void 0),new x("FetchLitePost", | |
"",!1,"GET","/_/api/lite/posts/{postId}",null,!1,void 0,void 0),new x("FetchLitePosts","",!1,"POST","/_/api/lite/posts",null,!1,void 0,void 0),new x("FetchLiteDrafts","",!1,"POST","/_/api/lite/drafts",null,!1,void 0,void 0),z.Oya,new x("AddPostAudio","",!1,"PUT","/_/api/posts/{postId}/audio",null,!1,void 0,void 0),new x("RemovePostAudio","",!1,"DELETE","/_/api/posts/{postId}/audio",null,!1,void 0,void 0),yua,z.eI,z.fI,new x("ShowElevatePost","ShowScreen",!1,"GET","/e/{postId}",Gm,!1,"lite","enable_elevate_lite"), | |
new x("FetchPostsFromFollowedAuthors","",!1,"GET","/_/api/followed-users/posts/stream",null,!1,void 0,void 0),Uua,z.gI,new x("FetchPostDraft","",!0,"GET","/p/{postId}/edit",null,!1,void 0,void 0),new x("FetchYourStories","",!1,"GET","/_/api/me/stories/{filterBy}",null,!1,void 0,void 0),z.hI,z.Vv,z.Wv,z.iI,new x("FetchSavedPostIds","",!1,"GET","/_/api/users/{userId}/saved-posts",null,!1,void 0,void 0),new x("FetchQueuedPostIds","",!1,"GET","/_/api/users/{userId}/queued-posts",null,!1,void 0,void 0), | |
new x("FetchArchivedPostIds","",!1,"GET","/_/api/users/{userId}/archived-posts",null,!1,void 0,void 0),new x("FetchPostMeta","",!1,"POST","/_/api/posts/metadata",null,!1,void 0,void 0),Pya,new x("UpdateUserPostLastReadSection","",!1,"PUT","/_/api/posts/{postId}/state/last-read-section/{sectionName}",null,!1,void 0,void 0),z.jI,new x("UnbookmarkPost","",!1,"DELETE","/p/{postId}/bookmarks",null,!1,void 0,void 0),z.kI,z.Qya,z.Rya,new x("UpdatePostQualityLabel","",!1,"PUT","/_/api/posts/{postId}/quality-label", | |
null,!1,void 0,void 0),new x("FetchPostMilestones","",!1,"GET","/_/api/posts/{postId}/milestones",null,!1,void 0,void 0),z.Sya,new x("FetchPlacements","",!1,"GET","/_/api/placements2",null,!1,void 0,void 0),new x("FetchRelatedStreamForPost","",!1,"GET","/_/api/posts/{postId}/related/stream",null,!1,void 0,void 0),new x("FetchRecommendationsForPost","",!0,"GET","/p/{postId}/upvotes",null,!1,void 0,void 0),z.Tya,Bta,z.bv,z.cv,new x("FetchShowSearchUsers","",!1,"POST","/search/users",null,!1,void 0, | |
void 0),z.dv,new x("FetchShowSearchCollections","",!1,"POST","/search/publications",null,!1,void 0,void 0),z.ev,new x("FetchShowSearchTags","",!1,"POST","/search/tags",null,!1,void 0,void 0),z.lI,new x("FetchShowSearchPosts","",!1,"POST","/search/posts",null,!1,void 0,void 0),z.hw,new x("FetchUserBookmarks","",!1,"GET","/_/api/users/{userId}/bookmarks/stream",null,!1,void 0,void 0),z.gv,gla,z.Uya,new x("RedirectShowYourStories","",!1,"GET","/me/stories",null,!1,void 0,void 0),new x("FetchShowYourStories", | |
"",!1,"POST","/me/stories/{filterBy}",null,!1,void 0,void 0),z.Yu,z.aw,new x("ShowUserCatalogs","UserCatalogsScreen",!1,"GET","/@{username}/collections",function(a,b){var c;c=z.n("Collections curated by {$name} – {$productName}",{name:""+a.user.name,productName:""+b.productName});c=z.B(""+c);var d=z.n("{$name} created the following collections to help his followers easily discover not only the hottest stories of the moment but also the interesting gems that they might otherwise not encounter.",{name:""+ | |
a.user.name});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0),lla,z.fv,new x("ShowCatalogHome","",!1,"GET","/browse/{catalogSlug}",bha,!1,void 0,void 0),mla,new x("FetchCatalogItems","",!1,"GET","/_/api/catalogs/{catalogId}/items",null,!1,void 0,void 0),z.Vya,new x("CreateCatalogItem","",!1,"POST","/_/api/catalogs/{catalogId}/items",null,!1,void 0,void 0),new x("UpdateCatalogItem","",!1,"PUT","/_/api/catalogs/{catalogId}/items/{catalogItemId}",null,!1,void 0,void 0),new x("DeleteCatalogItem", | |
"",!1,"DELETE","/_/api/catalogs/{catalogId}/items/{catalogItemId}",null,!1,void 0,void 0),new x("TopStories","",!1,"GET","/top-stories",null,!1,void 0,void 0),new x("TopStoriesDate","",!1,"GET","/top-stories/{monthDayYearSlug}",null,!1,void 0,void 0),ika,new x("ShowTopByDate","",!1,"GET","/browse/top/{monthDayYearSlug}",hha,!1,void 0,void 0),z.Nv,qka,z.Wya,z.Lv,z.mI,z.hv,new x("RedirectShowYourSeries","",!1,"GET","/me/series",null,!1,void 0,void 0),z.Mv,Gwa,new x("CreateSeriesClapsDangerous","",!1, | |
"PUT","/_/api/posts/{postId}/claps/{userId}/{numClaps}",null,!1,void 0,void 0),new x("CreateSeriesNotificationOptIn","",!1,"PUT","/_/api/posts/{postId}/series-notif-opt-ins/{userId}",null,!1,void 0,void 0),new x("DeleteSeriesNotificationOptIn","",!1,"DELETE","/_/api/posts/{postId}/series-notif-opt-ins/{userId}",null,!1,void 0,void 0),z.Xya,new x("SendSeriesViewPushNotification","",!1,"POST","/_/api/posts/{postId}/series-view-push-notifications",null,!1,void 0,void 0),new x("FetchLatestSeries","", | |
!1,"GET","/_/api/series/latest",null,!1,void 0,void 0),Zja,Yja,$ja,zla,yla,xla,wla,z.nI,new x("FetchTagStreamPost","",!1,"POST","/_/api/tags/{tagSlug}/stream",null,!1,void 0,void 0),z.oI,new x("FetchRelatedTags","",!1,"GET","/_/api/tags/{tagSlug}/related",null,!1,void 0,void 0),Yya,Zya,aka,z.$ya,z.Su,z.Tu,z.aza,z.Uu,ela,new x("FetchPostTotals","",!1,"GET","/_/api/stats/post/{postId}/totals",null,!1,void 0,void 0),new x("FetchLitePostReferrers","",!1,"GET","/_/api/lite/post/{postId}/referrers",null, | |
!1,void 0,void 0),new x("FetchPostReadersTopic","",!1,"GET","/_/api/stats/post/{postId}/readers-topics",null,!1,void 0,void 0),Nu,z.nu,z.bza,z.Zv,jla,z.Yv,new x("ShowUserSeries","ProfileScreen",!1,"GET","/@{username}/series",function(a,b){var c=z.B("Series written by "+a.user.name+" – "+(""+b.productName)),d=z.n("Read the latest series written by {$name} on {$productName} {$bio}",{name:""+a.user.name,productName:""+z.Hj(b.productName),bio:""+z.Hj(a.user.bio)}),e=a.user.twitterScreenName;return tj(qj(new pj(c, | |
z.B(""+d)),a,b),a,b).wg(e)},!1,"lite","enable_lite_profile"),z.Pv,z.Ov,z.jw,z.cza,new x("FetchOnboardingTopics","",!1,"GET","/_/api/onboarding/topics",null,!1,void 0,void 0),z.dza,z.eza,kla,z.pI,z.qI,new x("BlockUser","",!0,"PUT","/_/api/users/{userId}/blocked-users/{blockedUserId}",null,!1,void 0,void 0),new x("UnblockUser","",!0,"DELETE","/_/api/users/{userId}/blocked-users/{blockedUserId}",null,!1,void 0,void 0),new x("FetchUser","",!0,"GET","/_/api/users/{userId}",null,!1,void 0,void 0),new x("FetchUserByUsername", | |
"",!0,"GET","/_/api/users/@{username}",null,!1,void 0,void 0),new x("FetchUserProfile","",!0,"GET","/_/api/users/{userId}/profile",null,!1,void 0,void 0),new x("SetUserProfileType","",!1,"PUT","/_/api/users/{userId}/profile-type",null,!1,void 0,void 0),qpa,new x("RegisterAndroidDevice","",!1,"PUT","/_/device/android/{deviceToken}",null,!1,void 0,void 0),new x("UnregisterAndroidDevice","",!1,"DELETE","/_/device/android/{deviceToken}",null,!1,void 0,void 0),new x("FetchUserSuggestionsForUser","",!0, | |
"GET","/_/api/users/{userId}/user-suggestions/stream",null,!1,void 0,void 0),new x("FetchCollectionSuggestionsForUser","",!0,"GET","/_/api/users/{userId}/collection-suggestions/stream",null,!1,void 0,void 0),new x("FetchTagSuggestionsForUser","",!0,"GET","/_/api/users/{userId}/tag-suggestions/stream",null,!1,void 0,void 0),new x("FetchMixedSuggestionsForUser","",!0,"GET","/_/api/users/{userId}/mixed-suggestions/stream",null,!1,void 0,void 0),z.fza,new x("FetchUserNetworkActivity","",!0,"GET","/_/api/users/{userId}/network-activity", | |
null,!1,void 0,void 0),gza,Vka,new x("FeaturePostOnProfile","",!1,"PUT","/@{username}/featured/{postId}",null,!1,void 0,void 0),new x("FetchUserPostCounts","",!1,"GET","/_/api/users/{userId}/stories/count",null,!1,void 0,void 0),z.hza,new x("FinishPayoutSetup","",!1,"GET","/me/settings/payout/stripe/finish",Lm,!1,void 0,void 0),eka,cka,z.Ou,z.iza,bka,gka,new x("ShowUserPartnerDashboard","PartnerDashboardScreen",!1,"GET","/@{username}/partner/dashboard",Mm,!1,void 0,void 0),z.jza,Dla,z.kza,fka,z.lza, | |
new x("FetchExport","",!1,"GET","/me/export/{exportId}",null,!1,void 0,void 0),new x("AdminTaxesStatus","",!1,"GET","/_/admin/taxes/processPendingUsers",null,!1,void 0,void 0),new x("AdminHightowerShowMonthlyTransferExecutor","",!1,"GET","/_/admin/hightower/monthly-transfer-executor",null,!1,void 0,void 0),new x("AdminHightowerExecuteMonthlyTransfers","",!1,"PUT","/_/admin/hightower/execute-monthly-transfers/{batchId}",null,!1,void 0,void 0),new x("AdminHightowerShowMonthlyTransfersMonitor","",!1, | |
"GET","/_/admin/hightower/monthly-transfers/{batchId}/monitor",null,!1,void 0,void 0),new x("AdminHightowerFetchMonthlyTransfersStatus","",!1,"GET","/_/admin/hightower/monthly-transfers/{batchId}/status",null,!1,void 0,void 0),new x("AdminHightowerShowLatestWeeklyEngagements","",!1,"GET","/_/admin/hightower/weekly-engagements/latest",null,!1,void 0,void 0),Uka,new x("AdminHightowerUserDashboardById","",!1,"GET","/_/admin/hightower/users/{userId}/dashboard",null,!1,void 0,void 0),new x("AdminHightowerCollectionDashboardById", | |
"",!1,"GET","/_/admin/hightower/collections/{collectionId}/dashboard",null,!1,void 0,void 0),new x("AdminHightowerShowPaymentReportingTool","",!1,"GET","/_/admin/hightower/reporting",null,!1,void 0,void 0),new x("AdminHightowerFetchMonthlyActualsCsv","",!1,"GET","/_/admin/hightower/monthly-actuals/{batchId}/export",null,!1,void 0,void 0),new x("AdminHightowerFetchWeeklyPayablesCsv","",!1,"GET","/_/admin/hightower/weekly-payables/{batchId}/export",null,!1,void 0,void 0),new x("AdminHightowerDisconnectUserPayoutAccount", | |
"",!1,"DELETE","/_/admin/hightower/users/{userId}/disconnect-payout-account",null,!1,void 0,void 0),new x("AdminPostCreateMinimumGuarantee","",!1,"PUT","/_/admin/posts/{postId}/minimum-guarantee",null,!1,void 0,void 0),new x("AdminPostSendMongerRequest","",!1,"PUT","/_/admin/posts/{postId}/premium-lock-request",null,!1,void 0,void 0),new x("AdminPostResendMongerRequest","",!1,"PUT","/_/admin/posts/{postId}/resend-premium-lock-request",null,!1,void 0,void 0),new x("MissionControlPushTierDataToIntercom", | |
"",!1,"PUT","/_/mission-control/push-tier-data-to-intercom",null,!1,void 0,void 0),new x("AdminSetUserWriterLevel","",!1,"POST","/_/admin/users/{userId}/writer-levels",null,!1,void 0,void 0),new x("AdminFastrakSendInvite","",!1,"PUT","/_/admin/users/{userId}/fastrak/send-invite",null,!1,void 0,void 0),new x("AdminFastrakBetaOptOut","",!1,"PUT","/_/admin/users/{userId}/fastrak/beta-opt-out",null,!1,void 0,void 0),new x("AdminPostSetPreviewImageFocalPoint","",!1,"PUT","/_/admin/posts/{postId}/preview-image-focal-point", | |
null,!1,void 0,void 0),new x("AdminShowPrettyHomeFeedDebugger","",!1,"GET","/_/admin/users/{username}/pretty-home-feed",null,!1,void 0,void 0),new x("AdminSetCollectionMissionControl","",!1,"POST","/_/admin/collection/{collectionId}/mission-controls",null,!1,void 0,void 0),new x("AdminCacheDebugger","",!1,"GET","/_/admin/cache",null,!1,void 0,void 0),new x("AdminFetchCacheKeyPatterns","",!1,"GET","/_/admin/cache/patterns",null,!1,void 0,void 0),new x("AdminFetchCacheValue","",!1,"GET","/_/admin/cache/keys/{cacheKey}", | |
null,!1,void 0,void 0),new x("AdminDeleteCacheValue","",!1,"DELETE","/_/admin/cache/keys/{cacheKey}",null,!1,void 0,void 0),new x("AdminEventScheduler","",!1,"GET","/_/admin/scheduler",null,!1,void 0,void 0),new x("AdminEmitAllScheduledEvents","",!1,"GET","/_/admin/scheduled-events/emit-all",null,!1,void 0,void 0),new x("AdminScheduledEventDebuggerAll","",!1,"GET","/_/admin/scheduled-events",null,!1,void 0,void 0),new x("AdminScheduledEventDebugger","",!1,"GET","/_/admin/scheduled-events/{eventName}", | |
null,!1,void 0,void 0),new x("DeleteScheduledEvent","",!1,"DELETE","/_/api/scheduled-events/{eventId}",null,!1,void 0,void 0),new x("CreateScheduledEditorsPick","",!1,"POST","/_/api/scheduled-events/editors-picks",null,!1,void 0,void 0),new x("DebugDumpHttpRequest","",!1,"GET","/_/debug/http/request",null,!1,void 0,void 0),new x("GrantUserMemberPostLockingAccess","",!1,"PUT","/_/api/users/{userId}/member-post-locking-access",null,!1,void 0,void 0),new x("RescindUserMemberPostLockingAccess","",!1, | |
"PUT","/_/api/users/{userId}/member-post-locking-access/rescission",null,!1,void 0,void 0),new x("UnrescindUserMemberPostLockingAccess","",!1,"DELETE","/_/api/users/{userId}/member-post-locking-access/rescission",null,!1,void 0,void 0),new x("GrantCollectionMemberPostLockingAccess","",!1,"PUT","/_/api/collections/{collectionId}/member-post-locking-access",null,!1,void 0,void 0),new x("RescindCollectionMemberPostLockingAccess","",!1,"PUT","/_/api/collections/{collectionId}/member-post-locking-access/rescission", | |
null,!1,void 0,void 0),new x("UnrescindCollectionMemberPostLockingAccess","",!1,"DELETE","/_/api/collections/{collectionId}/member-post-locking-access/rescission",null,!1,void 0,void 0),new x("FetchReadingHistory","",!0,"GET","/_/api/users/{userId}/read-posts",null,!1,void 0,void 0),z.Im,z.mza,z.nza,z.gw,Ala,z.oza,z.Lu,z.pza,new x("ShowCollectionEdit","",!1,"GET","/{collectionSlug}/edit",function(a,b){var c;c=z.n("Edit details page – {$name}",{name:""+a.collection.name});c=z.B(""+c);var d=z.n("Edit details for {$name} such as the title, descriptions and avatar.", | |
{name:""+a.collection.name});return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0),z.nw,Bla,z.qza,new x("ShowCollectionLetters","",!1,"GET","/{collectionSlug}/letters",Yga,!1,void 0,void 0),z.mw,z.fw,qla,rla,pla,vla,ula,tla,sla,new x("ShowCollectionAll","",!1,"GET","/{collectionSlug}/all",Jm,!0,void 0,void 0),new x("ShowCollectionAllPaged","",!1,"GET","/{collectionSlug}/all/{page}",Jm,!0,void 0,void 0),z.Wu,new x("MarkMemberAsOnboarded","",!1,"PUT","/_/api/users/{userId}/member-onboarded", | |
null,!1,void 0,void 0),z.rza,new x("MembershipPlanMembers","",!1,"POST","/_/api/membership-plans/{membershipPlanId}/members",null,!1,void 0,void 0),z.rI,new x("RestoreMembership","",!1,"PUT","/_/api/memberships/restore",null,!1,void 0,void 0),new x("FetchMembershipCharges","",!1,"GET","/_/api/lite/users/{userId}/membershipCharges",null,!1,void 0,void 0),new x("FetchMembership","",!1,"GET","/_/api/lite/memberships/{membershipId}",null,!1,void 0,void 0),new x("FetchMembershipPlan","",!1,"GET","/_/api/lite/membershipPlans/{membershipPlanId}", | |
null,!1,void 0,void 0),Wka,Fla,new x("FetchCollection","",!0,"GET","/_/api/collections/{collectionId}/stream",null,!1,void 0,void 0),new x("FetchCollectionUpdates","",!1,"GET","/_/api/collections/{collectionId}/updates",null,!1,void 0,void 0),new x("FetchCollectionLatest","",!1,"GET","/_/api/collections/{collectionId}/latest",null,!1,void 0,void 0),new x("FetchCollectionTagged","",!0,"GET","/_/api/collections/{collectionId}/tagged/{tagSlug}",null,!1,void 0,void 0),new x("FetchUnwrappedDomain","", | |
!0,"GET","/_/api/domains/unwrap",null,!1,void 0,void 0),z.ow,Cla,Ela,z.tw,z.kw,new x("UpdateCollectionInstantArticlesPagePick","",!1,"PUT","/{collectionSlug}/ia/pick",null,!0,void 0,void 0),new x("ShowUserCollectionFollowers","",!1,"GET","/{collectionSlug}/@{username}/followers",Zga,!0,void 0,void 0),new x("ShowUserCollectionFollowing","ProfileScreen",!1,"GET","/{collectionSlug}/@{username}/following",$ga,!0,void 0,void 0),PD,new x("FetchUserCollections","",!1,"GET","/_/api/users/{userId}/collections", | |
null,!1,void 0,void 0),new x("CreateMembershipPlan","",!1,"POST","/_/api/membership-plans",null,!1,void 0,void 0),new x("ReportViewedCollectionUpdates","",!1,"POST","/_/api/collections/{collectionId}/viewed-updates",null,!1,void 0,void 0),z.sw,z.qw,z.pw,z.rw,z.sza,z.tza,new x("FetchCollectionTopic","",!1,"GET","/_/api/collections/{collectionId}/topics/{topicId}",null,!1,void 0,void 0),z.uza,z.vza,new x("FetchLiteCollection","",!1,"GET","/_/api/lite/collections/{collectionId}",null,!1,void 0,void 0), | |
z.wza,new x("CreatePromo","",!1,"POST","/_/api/promos",null,!1,void 0,void 0),new x("DismissPromo","",!0,"PUT","/_/api/promo/{promoId}/dismissal",null,!1,void 0,void 0),new x("UpdatePromo","",!1,"PUT","/_/api/promos/{promoId}",null,!1,void 0,void 0),new x("DeletePromo","",!1,"DELETE","/_/api/promos/{promoId}",null,!1,void 0,void 0),new x("CreatePopchunk","",!1,"POST","/_/api/popchunks",null,!1,void 0,void 0),new x("UpdatePopchunk","",!1,"PUT","/_/api/popchunks/{popchunkId}",null,!1,void 0,void 0), | |
new x("DeletePopchunk","",!1,"DELETE","/_/api/popchunks/{popchunkId}",null,!1,void 0,void 0),new x("RestorePopchunk","",!1,"POST","/_/api/popchunks/{popchunkId}/restores",null,!1,void 0,void 0),new x("FetchUserCatalogs","",!1,"GET","/_/api/users/{userId}/catalogs",null,!1,void 0,void 0),z.xza,new x("CreateCatalog","",!1,"POST","/_/api/catalogs",null,!1,void 0,void 0),z.sI,z.tI,z.yza,z.uI,new x("CreateExperiment","",!1,"POST","/_/api/experiments",null,!1,void 0,void 0),new x("UpdateExperiment","", | |
!1,"PUT","/_/api/experiments/{experimentId}",null,!1,void 0,void 0),new x("DeleteExperiment","",!1,"DELETE","/_/api/experiments/{experimentId}",null,!1,void 0,void 0),new x("CreateTopic","",!1,"POST","/_/api/topics",null,!1,void 0,void 0),new x("FetchTopic","",!1,"GET","/_/api/topics/{topicId}",null,!1,void 0,void 0),new x("FetchTopicBySlug","",!1,"GET","/_/api/topics/s/{topicSlug}",null,!1,void 0,void 0),z.zza,new x("DeleteTopic","",!1,"DELETE","/_/api/topics/{topicId}",null,!1,void 0,void 0),z.Aza, | |
z.Bza,new x("ShowEditTopic","TopicEditScreen",!1,"GET","/topic/{topicSlug}/edit",function(a,b){var c,d;d=a||{};c="";d.topic&&(d=z.n("Edit {$name} – {$productName}",{name:""+d.topic.name,productName:""+b.productName}),c+=""+d);c=z.B(c);d=z.n("Edit the title, description, and url of a topic. Manage the posts that are in the topic.");return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0),hka,z.Pu,Qu,Cza,z.Ru,Kla,new x("RenderFlipboardFeed","",!1,"GET","/feed/flipboard/{topicSlug}",null,!1,void 0, | |
void 0),new x("FetchTopicStream","",!1,"GET","/_/api/topics/{topicId}/stream",null,!1,void 0,void 0),new x("UpdateTopicEducationAt","",!1,"PUT","/_/api/topics/{topicId}/educated",null,!1,void 0,void 0),new x("FetchTopicUsers","",!1,"GET","/_/api/topics/{topicId}/users",null,!1,void 0,void 0),new x("FetchTopicCollections","",!1,"GET","/_/api/topics/{topicId}/collections",null,!1,void 0,void 0),Yka,new x("FetchTopicExplore","",!1,"GET","/_/api/topics/explore",null,!1,void 0,void 0),new x("FetchRelatedTopics", | |
"",!1,"GET","/_/api/lite/topics/{topicId}/related",null,!1,void 0,void 0),new x("FetchLatestPostsInTopic","",!1,"GET","/_/api/lite/topics/{topicId}/latest",null,!1,void 0,void 0),new x("FetchFeaturedPostsInTopic","",!1,"GET","/_/api/lite/topics/{topicId}/featured",null,!1,void 0,void 0),new x("FetchFeaturedWritersInTopic","",!1,"GET","/_/api/lite/topics/{topicId}/featured-writers",null,!1,void 0,void 0),new x("FetchPopularPostsInTopic","",!1,"GET","/_/api/lite/topics/{topicId}/popular",null,!1,void 0, | |
void 0),new x("FetchLitePostsByUser","",!1,"GET","/_/api/lite/users/{userId}/posts",null,!1,void 0,void 0),xka,yka,wka,new x("FetchNewByFollowedUsersAndCollections","",!1,"POST","/_/api/stream/network",null,!1,void 0,void 0),Hla,z.Iu,eB,new x("FetchGlobalIdentityUrl","",!1,"GET","/m/global-identity",null,!1,void 0,void 0),z.Dza,new x("RenewSslCertificate","",!1,"PUT","/_/api/domains/{domain}/ssl-certificate",null,!1,void 0,void 0),new x("FetchCustomDomainHeartbeat","",!1,"GET","/_/domain/{domain}/_/heartbeat", | |
null,!1,void 0,void 0),new x("FetchAppSiteAssociation","",!1,"GET","/apple-app-site-association",null,!1,void 0,void 0),new x("FetchAppSiteAssociationWellKnown","",!1,"GET","/.well-known/apple-app-site-association",null,!1,void 0,void 0),new x("FetchAppSiteAssociationCustomDomain","",!1,"GET","/_/domain/{domain}/apple-app-site-association",null,!1,void 0,void 0),new x("FetchAppSiteAssociationWellKnownCustomDomain","",!1,"GET","/_/domain/{domain}/.well-known/apple-app-site-association",null,!1,void 0, | |
void 0),new x("DntStatus","",!1,"GET","/.well-known/dnt",null,!1,void 0,void 0),new x("AndroidAssetlinks","",!1,"GET","/.well-known/assetlinks.json",null,!1,void 0,void 0),z.Eza,z.Fza,z.Gza,eE,Hza,new x("AdminManagePlans","",!1,"GET","/_/admin/subscriptions",null,!1,void 0,void 0),new x("AdminRestoreDeletedUser","",!1,"POST","/_/admin/users/{userId}/deleted-account-restores",null,!1,void 0,void 0),new x("AdminShowUserBlock","",!1,"GET","/_/admin/users/block",null,!1,void 0,void 0),new x("AdminRevokeAllUserSessions", | |
"",!1,"DELETE","/_/admin/users/{userId}/sessions",null,!1,void 0,void 0),new x("AdminDisconnectExternalService","",!1,"DELETE","/_/admin/users/{userId}/services/{service}",null,!1,void 0,void 0),new x("SaveCollectionRedirectionRuleset","",!1,"POST","/_/admin/collections/{collectionId}/redirects",null,!1,void 0,void 0),new x("AdminRunUserSuggestionProviders","",!1,"GET","/_/admin/recommendation/user-suggestions",null,!1,void 0,void 0),new x("AdminShowExportCollection","",!1,"GET","/_/admin/collections/exporter", | |
null,!1,void 0,void 0),new x("AdminExportCollection","",!1,"GET","/_/admin/collections/export",null,!1,void 0,void 0),new x("AdminExportCollectionAsync","",!1,"POST","/_/admin/collections/exporter",null,!1,void 0,void 0),new x("AdminCollectionDeleteDomainPayment","",!1,"POST","/_/admin/collection/{collectionId}/delete-domain-payments",null,!1,void 0,void 0),new x("AdminCollectionUpdateReputation","",!1,"PUT","/_/admin/collections/{collectionId}/reputation",null,!1,void 0,void 0),new x("AdminShowCreateCatalog", | |
"",!1,"GET","/_/admin/catalogs/new",null,!1,void 0,void 0),new x("AdminCreateTopic","",!1,"GET","/_/admin/topic/new",null,!1,void 0,void 0),new x("AdminListSequences","",!1,"GET","/_/admin/sequences",null,!1,void 0,void 0),new x("AdminManagePromos","",!1,"GET","/_/admin/promos",null,!1,void 0,void 0),new x("AdminShowLatestSeries","",!1,"GET","/_/admin/latest-series",null,!1,void 0,void 0),new x("AdminManageTags","",!1,"GET","/_/admin/tags",null,!1,void 0,void 0),new x("AdminUserSearchIndex","",!1, | |
"PUT","/_/admin/users/{userId}/search-index",null,!1,void 0,void 0),new x("AdminUserSearchDeleteIndex","",!1,"DELETE","/_/admin/users/{userId}/search-index",null,!1,void 0,void 0),new x("AdminGiveFreeMembership","",!1,"PUT","/_/admin/users/{userId}/give-free-membership",null,!1,void 0,void 0),new x("AdminValidateMobilePaymentReceipt","",!1,"GET","/_/admin/validate-receipt/{membershipId}",null,!1,void 0,void 0),new x("AdminRestorePaypalMembership","",!1,"PUT","/_/admin/restore-paypal/{membershipId}", | |
null,!1,void 0,void 0),new x("AdminElevatePost","",!1,"POST","/_/admin/post/{postId}/elevate",null,!1,void 0,void 0),new x("AdminUnelevatePost","",!1,"POST","/_/admin/post/{postId}/unelevate",null,!1,void 0,void 0),new x("AdminSyndicationIndex","",!1,"GET","/_/syndication",null,!1,void 0,void 0),new x("AdminSyndicationIndexForFeed","",!1,"GET","/_/syndication/{feedId}",null,!1,void 0,void 0),new x("AdminSyndicationIndexForItem","",!1,"GET","/_/syndication/{feedId}/{itemId}",null,!1,void 0,void 0), | |
new x("AdminSyndicationDisableFeed","",!1,"GET","/_/syndication/{feedId}/disable",null,!1,void 0,void 0),new x("AdminSyndicationEnableFeed","",!1,"GET","/_/syndication/{feedId}/enable",null,!1,void 0,void 0),new x("AdminSyndicationEditFeed","",!1,"POST","/_/syndication/{feedId}/settings",null,!1,void 0,void 0),new x("AdminSyndicationCreateDraft","",!1,"POST","/_/syndication/{feedId}/{itemId}/drafts",null,!1,void 0,void 0),new x("AdminSyndicationCreateEmptyDraft","",!1,"POST","/_/syndication/{feedId}/drafts", | |
null,!1,void 0,void 0),new x("AdminSyndicationAddFeed","",!1,"POST","/_/syndication/feeds",null,!1,void 0,void 0),new x("AdminSourceParser","",!1,"GET","/_/admin/source",null,!1,void 0,void 0),new x("WebhookSuperfeedrNotification","",!1,"POST","/_/webhooks/syndication/feeds/{feedId}/notifications",null,!1,void 0,void 0),new x("AdminFetchCurationToolsHome","",!1,"GET","/_/curation",null,!1,void 0,void 0),new x("AdminCurationPostDebugger","",!1,"GET","/_/curation/post/{postId}",null,!1,void 0,void 0), | |
Fka,Hka,new x("FetchAdminCurationToolPostStream","",!1,"GET","/_/api/admin/curation/discovery/stream",null,!1,void 0,void 0),Ika,Jka,Kka,Lka,Mka,new x("AdminCurationToolUnlockPosts","",!1,"DELETE","/_/curation/discovery/locks",null,!1,void 0,void 0),Rka,Ska,Nka,Oka,Pka,Qka,Tka,$ka,new x("FetchCurationCandidatePosts","",!1,"GET","/_/api/curation/candidates/{listName}",null,!1,void 0,void 0),new x("FetchAdminCurationToolHightowerPostStream","",!1,"GET","/_/api/admin/curation/discovery/hightower/stream", | |
null,!1,void 0,void 0),Dka,Eka,Cka,new x("AdminPostSetContentCost","",!1,"PUT","/_/api/posts/{postId}/set-content-cost/{contentCost}",null,!1,void 0,void 0),new x("AdminPostSetSocialTitle","",!1,"PUT","/_/api/posts/{postId}/set-social-title/{title}",null,!1,void 0,void 0),new x("AdminPostSetSocialDek","",!1,"PUT","/_/api/posts/{postId}/set-social-dek/{dek}",null,!1,void 0,void 0),new x("AdminPostSetEditorialPreviewTitle","",!1,"PUT","/_/api/posts/{postId}/set-editorial-preview-title/{title}",null, | |
!1,void 0,void 0),new x("AdminPostSetEditorialPreviewDek","",!1,"PUT","/_/api/posts/{postId}/set-editorial-preview-dek/{dek}",null,!1,void 0,void 0),new x("AdminPostSetEditorialPreviewImage","",!1,"PUT","/_/api/posts/{postId}/set-editorial-preview-image",null,!1,void 0,void 0),Bka,Gka,new x("AdminSearchInspect","",!1,"GET","/_/admin/search/inspect",null,!1,void 0,void 0),new x("AdminShowUserGcmEvents","",!1,"GET","/_/admin/users/{userId}/sent-gcm-events",null,!1,void 0,void 0),new x("AdminFetchAuthorInterestGraphDebugger", | |
"",!1,"GET","/_/admin/users/{username}/author-interest-graph",null,!1,void 0,void 0),new x("AdminFetchAuthorInterestGraphForCurrentUserDebugger","",!1,"GET","/_/admin/recommendation/author-interest-graph",null,!1,void 0,void 0),new x("AdminFetchCollectionInterestGraphDebugger","",!1,"GET","/_/admin/users/{username}/collection-interest-graph-v2",null,!1,void 0,void 0),new x("AdminFetchTopicInterestGraphDebugger","",!1,"GET","/_/admin/users/{username}/topic-interest-graph",null,!1,void 0,void 0),new x("AdminFetchTagInterestGraphDebugger", | |
"",!1,"GET","/_/admin/users/{username}/tag-interest-graph-v2",null,!1,void 0,void 0),new x("AdminFetchNewFromYourNetworkDebugger","",!1,"GET","/_/admin/users/{username}/new-from-network",null,!1,void 0,void 0),new x("AdminCollaborativeFilteringDebugger","",!1,"GET","/_/admin/users/{username}/collaborative-filtering",null,!1,void 0,void 0),new x("AdminCollaborativeFilteringSimilarPostDebugger","",!1,"GET","/_/admin/users/{username}/collaborative-filtering-similar-post",null,!1,void 0,void 0),new x("AdminManageExperiments", | |
"",!1,"GET","/_/admin/add-experiment",null,!1,void 0,void 0),Zka,new x("AdminShowSpectrumPreview","",!1,"GET","/_/admin/spectrum",null,!1,void 0,void 0),new x("AdminDesignSystem","",!1,"GET","/_/ui/{type}",null,!1,void 0,void 0),new x("AdminDesignSystemIndex","",!1,"GET","/_/ui",null,!1,void 0,void 0),new x("AdminMLToolFetchMicrotopic","",!1,"GET","/_/ml/microtopic/{topicSlug}",null,!1,void 0,void 0),jka,z.Iza,new x("ReadersLandingRedirect","",!1,"GET","/m/getting-started",null,!1,void 0,void 0), | |
new x("ShowSuspended","ShowSuspendedScreen",!1,"GET","/suspended",function(a,b){var c;c=z.n("Suspended – {$productName}",{productName:""+b.productName});c=z.B(""+c);var d=z.n("This page is unavailable.");return tj(qj(new pj(c,z.B(""+d)),a,b),a,b)},!1,void 0,void 0),dka,Rv,Xka,uka,Qv,new x("CreatePaypalBillingAgreement","",!1,"PUT","/_/api/memberships/paypal/create",null,!1,void 0,void 0),new x("ExecutePaypalBillingAgreement","",!1,"PUT","/_/api/memberships/paypal/execute",null,!1,void 0,void 0),Mqa, | |
new x("ValidateMobilePaymentReceipts","",!1,"PUT","/_/admin/subscriptions/validate",null,!1,void 0,void 0),new x("FindRenewingAnnuals","",!1,"PUT","/_/admin/subscriptions/find-renewing-annuals",null,!1,void 0,void 0),new x("TriggerRuleEngine","",!1,"PUT","/_/admin/ruleengine/trigger",null,!1,void 0,void 0),vka,Xja,new x("ShowBookmarksOld","",!1,"GET","/me/bookmarks",aha,!1,void 0,void 0),z.vI,z.Sv,wI,zka,new x("FetchSequenceLibraryStream","",!1,"GET","/_/api/sequences/stream",null,!1,void 0,void 0), | |
new x("FetchSequenceStream","",!1,"GET","/_/api/sequences/{sequenceId}/stream",null,!1,void 0,void 0),z.Jza,z.Kza,new x("FetchSequences","",!1,"GET","/_/api/sequences",null,!1,void 0,void 0),z.Tv,Aka,z.Lza,new x("SubscribeUserToSequence","",!1,"POST","/_/api/sequences/{sequenceId}/subscribers",null,!1,void 0,void 0),new x("UnsubscribeUserFromSequence","",!1,"DELETE","/_/api/sequences/{sequenceId}/subscribers/{userId}",null,!1,void 0,void 0),new x("FetchSequenceUser","",!1,"GET","/_/api/sequences/{sequenceId}/users/{userId}", | |
null,!1,void 0,void 0),z.Mza,new x("FetchUserDigest","",!1,"GET","/_/api/digest/stream",null,!1,void 0,void 0),z.Nza,z.Oza,new x("WebhookAppleSubscriptions","",!1,"POST","/_/webhooks/apple/subscriptions",null,!1,void 0,void 0),new x("WebhookPaypalEvents","",!1,"POST","/_/webhooks/paypal/events",null,!1,void 0,void 0),new x("WebhookSiftScienceDecisions","",!1,"POST","/_/webhooks/siftscience/decisions",null,!1,void 0,void 0),ala,new x("FastrakOptInRedirect","",!1,"GET","/writerprogram/opt-in",null, | |
!1,void 0,void 0),z.Pza,z.Qza,new x("ShowFastrakOptInConfirmation","",!1,"GET","/writerprogram/confirmation",null,!1,"lite",void 0),new x("FetchAuthenticatedUser","",!1,"GET","/_/api/session/user",null,!1,void 0,void 0),new x("FetchVariantFlags","",!1,"GET","/_/api/session/variant-flags",null,!1,void 0,void 0),new x("FetchStatus","",!1,"GET","/_/healthcheck/{status}",null,!1,void 0,void 0)]);z.Ai.prototype.R=function(a,b,c){return this.u6+a.Vb(b,c)}; | |
z.Ai.prototype.mp=function(a,b,c){if(!a)return"";var d=b||{};b=a.postId||a.id;if(d.fWa)return this.R(z.Fm,{postId:b},c);d.collectionSlug||d.dP||!a.approvedHomeCollection||(d.collectionSlug=a.approvedHomeCollection.slug||"",d.dP=a.approvedHomeCollection.domain||"");d.Tp?b=d.Tp:a.uniqueSlug?b=a.uniqueSlug:a.slug&&(b=a.slug+"-"+b);d.hy?c=a.isSeries?this.R(z.mI,{postId:b},c):this.R(z.Uv,{postId:b},c):a.isSeries?c=this.R(z.hv,{postId:b},c):d.sequenceSlug||a.sequence?c=this.R(wI,{sequenceSlug:d.sequenceSlug|| | |
a.sequence&&a.sequence.slug,postId:b},c):d.dP?(a=Om(this,d.dP),a.tk(b),c&&z.Qe(a,z.$e(c)),c=a.toString()):c=d.collectionSlug?this.R(z.fI,{collectionSlug:d.collectionSlug,postId:b},c):d.l_?this.R(z.eI,{username:d.l_,postId:b},c):a.creator&&a.creator.username?this.R(z.eI,{username:a.creator.username,postId:b},c):this.R(z.Fm,{postId:b},c);return c}; | |
z.Ai.prototype.gj=function(a,b,c,d){if(b.domain&&a===iw)return b=Om(this,b.domain),b.tk("feed"),d&&z.Qe(b,z.$e(d)),b.toString();if(b.domain&&a===Rza)return d=this.R(a,c,d),d=d.replace(this.u6,Om(this,b.domain).toString());c=c||{};c.collectionSlug=b.slug;d=this.R(a,c,d);b.domain&&(a=this.R(z.Im,c),b=Om(this,b.domain).toString(),d=d.replace(a,b));return d};z.p(iha,z.Ai);z.p(z.Rm,z.kd);z.Rm.prototype.eda=function(a,b,c){this.jfa++;this.s_[a]=[b,c];this.cf||(this.Ica&&b?this.callback([a,c]):this.gAa&&!b?this.Bh(c):this.jfa==this.l1.length&&this.callback(this.s_));this.pza&&!b&&(c=null);return c};z.Rm.prototype.Bh=function(a){z.Rm.ea.Bh.call(this,a);for(a=0;a<this.l1.length;a++)this.l1[a].cancel()};var jha=0,kha={};z.Sm.prototype.Ci=!1;z.Sm.prototype.Rf=function(){if(!this.Ci&&(this.Ci=!0,this.Ga(),0!=jha)){var a=z.va(this);delete kha[a]}};z.Sm.prototype.Ga=function(){if(this.uy)for(;this.uy.length;)this.uy.shift()()};z.p(z.vn,z.xe);z.f=z.vn.prototype;z.f.setPosition=function(a,b,c){if(this.node=a)this.xg=z.qa(b)?b:1!=this.node.nodeType?0:this.ki?-1:1;z.qa(c)&&(this.depth=c)};z.f.Fn=function(a){this.node=a.node;this.xg=a.xg;this.depth=a.depth;this.ki=a.ki;this.eP=a.eP};z.f.clone=function(){return new z.vn(this.node,this.ki,!this.eP,this.xg,this.depth)};z.f.FR=function(){var a=this.ki?-1:1;this.xg==a&&(this.xg=-1*a,this.depth+=this.xg*(this.ki?-1:1))}; | |
z.f.next=function(){var a;if(this.I3){if(!this.node||this.eP&&0==this.depth)throw z.ye;a=this.node;var b=this.ki?-1:1;if(this.xg==b){var c=this.ki?a.lastChild:a.firstChild;c?this.setPosition(c):this.setPosition(a,-1*b)}else(c=this.ki?a.previousSibling:a.nextSibling)?this.setPosition(c):this.setPosition(a.parentNode,-1*b);this.depth+=this.xg*(this.ki?-1:1)}else this.I3=!0;a=this.node;if(!this.node)throw z.ye;return a};z.f.nd=function(a){return a.node==this.node&&(!this.node||a.xg==this.xg)}; | |
z.f.splice=function(a){var b=this.node,c=this.ki?1:-1;this.xg==c&&(this.xg=-1*c,this.depth+=this.xg*(this.ki?-1:1));this.ki=!this.ki;z.vn.prototype.next.call(this);this.ki=!this.ki;for(var c=z.oa(arguments[0])?arguments[0]:arguments,d=c.length-1;0<=d;d--)z.Fg(c[d],b);z.Gg(b)};z.p(z.wn,z.vn);z.wn.prototype.next=function(){do z.wn.ea.next.call(this);while(-1==this.xg);return this.node};z.p(z.xn,z.Sm);z.xn.prototype.restore=function(a){var b=this.VI();a||this.Rf();return b};z.f=z.yn.prototype;z.f.Df=function(){var a=this.gl();return 1==a.nodeType?a:a.parentNode};z.f.isReversed=function(){return!1};z.f.um=function(){return z.qg(z.vg?this.gl():this.kc())};z.f.Ii=function(){return z.Ag(this.um())};z.f.containsNode=function(a,b){return this.du(z.mo(a),b)};z.p(Cn,z.vn);z.p(z.Dn,z.yn);z.Dn.prototype.du=function(a,b){var c=z.An(this);a=z.An(a);return(b?z.Cd:z.WH)(a,function(a){return(0,z.Cd)(c,function(c){return c.du(a,b)})})};z.Dn.prototype.insertNode=function(a,b){b?z.Eg(a,this.kc()):z.Fg(a,this.Kd());return a};z.Dn.prototype.ws=z.h(617);z.p(z.En,Cn);z.f=z.En.prototype;z.f.Ux=z.h(19);z.f.Nx=z.h(22);z.f.kc=function(){return this.Wc};z.f.Kd=function(){return this.Qc};z.f.isLast=function(){return this.I3&&this.node==this.Qc&&(!this.Jd||1!=this.xg)};z.f.next=function(){if(this.isLast())throw z.ye;return z.En.ea.next.call(this)};z.f.FR=function(){z.En.ea.FR.apply(this);if(z.Og(this.node,this.Qc))throw z.ye;};z.f.Fn=function(a){this.Wc=a.Wc;this.Qc=a.Qc;this.Pd=a.Pd;this.Jd=a.Jd;this.Yn=a.Yn;z.En.ea.Fn.call(this,a)}; | |
z.f.clone=function(){var a=new z.En(this.Wc,this.Pd,this.Qc,this.Jd,this.Yn);a.Fn(this);return a};z.f=z.Fn.prototype;z.f.WH=z.h(24);z.f.du=function(a,b){b=b&&!a.isCollapsed();a=a.wb;try{return b?0<=this.qm(a,0,1)&&0>=this.qm(a,1,0):0<=this.qm(a,0,0)&&0>=this.qm(a,1,1)}catch(c){if(!z.vg)throw c;return!1}};z.f.containsNode=function(a,b){return this.du(Nn(a),b)};z.f.Ar=z.h(28);z.f.Jv=function(){return new z.En(this.kc(),this.kd(),this.Kd(),this.ke())};z.p(z.Gn,z.Fn);z.f=z.Gn.prototype;z.f.clone=function(){return new this.constructor(this.wb.cloneRange())};z.f.gl=function(){return this.wb.commonAncestorContainer};z.f.kc=function(){return this.wb.startContainer};z.f.kd=function(){return this.wb.startOffset};z.f.Kd=function(){return this.wb.endContainer};z.f.ke=function(){return this.wb.endOffset}; | |
z.f.qm=function(a,b,c){return this.wb.compareBoundaryPoints(1==c?1==b?z.kc.Range.START_TO_START:z.kc.Range.START_TO_END:1==b?z.kc.Range.END_TO_START:z.kc.Range.END_TO_END,a)};z.f.isCollapsed=function(){return this.wb.collapsed};z.f.ra=function(){return this.wb.toString()};z.f.ll=z.h(33);z.f.select=function(a){var b=z.Ag(z.qg(this.kc()));this.ega(b.getSelection(),a)}; | |
z.f.ega=function(a,b){!b||this.isCollapsed()?(a.removeAllRanges(),a.addRange(this.wb)):(a.collapse(this.Kd(),this.ke()),a.extend(this.kc(),this.kd()))};z.f.surroundContents=function(a){this.wb.surroundContents(a);return a};z.f.insertNode=function(a,b){var c=this.wb.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a};z.f.ws=z.h(616);z.f.collapse=function(a){this.wb.collapse(a)};z.p(Kn,z.Gn);z.p(z.Ln,z.Fn);z.f=z.Ln.prototype;z.f.clone=function(){var a=new z.Ln(this.wb.duplicate(),this.Qza);a.Sp=this.Sp;a.Wc=this.Wc;a.Qc=this.Qc;return a};z.f.En=function(){this.Sp=this.Wc=this.Qc=null;this.Pd=this.Jd=-1}; | |
z.f.gl=function(){if(!this.Sp){var a=this.wb.text,b=this.wb.duplicate(),c=a.replace(/ +$/,"");(c=a.length-c.length)&&b.moveEnd("character",-c);c=b.parentElement();b=b.htmlText.replace(/(\r\n|\r|\n)+/g," ").length;if(this.isCollapsed()&&0<b)return this.Sp=c;for(;b>c.outerHTML.replace(/(\r\n|\r|\n)+/g," ").length;)c=c.parentNode;for(;1==c.childNodes.length&&c.innerText==rha(c.firstChild)&&Hn(c.firstChild);)c=c.firstChild;0==a.length&&(c=pha(this,c));this.Sp=c}return this.Sp}; | |
z.f.kc=function(){this.Wc||(this.Wc=On(this,1),this.isCollapsed()&&(this.Qc=this.Wc));return this.Wc};z.f.kd=function(){0>this.Pd&&(this.Pd=qha(this,1),this.isCollapsed()&&(this.Jd=this.Pd));return this.Pd};z.f.Kd=function(){if(this.isCollapsed())return this.kc();this.Qc||(this.Qc=On(this,0));return this.Qc};z.f.ke=function(){if(this.isCollapsed())return this.kd();0>this.Jd&&(this.Jd=qha(this,0),this.isCollapsed()&&(this.Pd=this.Jd));return this.Jd}; | |
z.f.qm=function(a,b,c){return this.wb.compareEndPoints((1==b?"Start":"End")+"To"+(1==c?"Start":"End"),a)};z.f.isCollapsed=function(){return 0==this.wb.compareEndPoints("StartToEnd",this.wb)};z.f.ra=function(){return this.wb.text};z.f.ll=z.h(32);z.f.select=function(){this.wb.select()};z.f.surroundContents=function(a){z.Gg(a);a.innerHTML=this.wb.htmlText;(a=sha(this.wb,a))&&this.wb.moveToElementText(a);this.En();return a};z.f.insertNode=function(a,b){a=z.Qn(this.wb.duplicate(),a,b);this.En();return a}; | |
z.f.ws=z.h(615);z.f.collapse=function(a){this.wb.collapse(a);a?(this.Qc=this.Wc,this.Jd=this.Pd):(this.Wc=this.Qc,this.Pd=this.Jd)};z.p(Rn,z.Gn);Rn.prototype.ega=function(a){a.collapse(this.kc(),this.kd());this.Kd()==this.kc()&&this.ke()==this.kd()||a.extend(this.Kd(),this.ke());0==a.rangeCount&&a.addRange(this.wb)};z.p(Sn,z.Gn);Sn.prototype.qm=function(a,b,c){return z.vf("528")?Sn.ea.qm.call(this,a,b,c):this.wb.compareBoundaryPoints(1==c?1==b?z.kc.Range.START_TO_START:z.kc.Range.END_TO_START:1==b?z.kc.Range.START_TO_END:z.kc.Range.END_TO_END,a)};z.p(z.Vn,z.yn);z.f=z.Vn.prototype;z.f.clone=function(){var a=new z.Vn;a.$t=this.$t&&this.$t.clone();a.Wc=this.Wc;a.Pd=this.Pd;a.Qc=this.Qc;a.Jd=this.Jd;a.Yn=this.Yn;return a};z.f.g=function(){return"text"};z.f.Ix=function(){return z.Zn(this).wb};z.f.En=function(){this.Wc=this.Pd=this.Qc=this.Jd=null};z.f.UB=function(){return 1};z.f.xu=function(){return this};z.f.gl=function(){return z.Zn(this).gl()};z.f.kc=function(){return this.Wc||(this.Wc=z.Zn(this).kc())}; | |
z.f.kd=function(){return null!=this.Pd?this.Pd:this.Pd=z.Zn(this).kd()};z.f.WH=z.h(23);z.f.Kd=function(){return this.Qc||(this.Qc=z.Zn(this).Kd())};z.f.ke=function(){return null!=this.Jd?this.Jd:this.Jd=z.Zn(this).ke()};z.f.isReversed=function(){return this.Yn};z.f.du=function(a,b){var c=a.g();return"text"==c?z.Zn(this).du(z.Zn(a),b):"control"==c?(a=co(a),(b?z.Cd:z.WH)(a,function(a){return this.containsNode(a,b)},this)):!1};z.f.isCollapsed=function(){return z.Zn(this).isCollapsed()};z.f.ra=function(){return z.Zn(this).ra()}; | |
z.f.Ar=z.h(27);z.f.ll=z.h(31);z.f.Jv=function(){return new z.En(this.kc(),this.kd(),this.Kd(),this.ke())};z.f.select=function(){z.Zn(this).select(this.Yn)};z.f.surroundContents=function(a){a=z.Zn(this).surroundContents(a);this.En();return a};z.f.insertNode=function(a,b){a=z.Zn(this).insertNode(a,b);this.En();return a};z.f.ws=z.h(614);z.f.D2=function(){return new $n(this)}; | |
z.f.collapse=function(a){a=this.isReversed()?!a:a;this.$t&&this.$t.collapse(a);a?(this.Qc=this.Wc,this.Jd=this.Pd):(this.Wc=this.Qc,this.Pd=this.Jd);this.Yn=!1};z.p($n,z.xn);$n.prototype.VI=function(){return z.Yn(this.yba,this.Jya,this.Kca,this.hAa)};$n.prototype.Ga=function(){$n.ea.Ga.call(this);this.Kca=this.yba=null};z.p(z.ao,z.Dn);z.f=z.ao.prototype;z.f.En=function(){this.yJ=this.eh=null};z.f.clone=function(){return vha.apply(this,co(this))};z.f.g=function(){return"control"};z.f.Ix=function(){return this.wb||window.document.body.createControlRange()};z.f.UB=function(){return this.wb?this.wb.length:0};z.f.xu=function(a){a=this.wb.item(a);return Wn(Nn(a),void 0)};z.f.gl=function(){return z.Pg.apply(null,co(this))};z.f.kc=function(){return z.eo(this)[0]};z.f.kd=function(){return 0}; | |
z.f.Kd=function(){var a=z.eo(this),b=z.Ta(a);return z.Va(a,function(a){return z.Og(a,b)})};z.f.ke=function(){return this.Kd().childNodes.length};z.f.isCollapsed=function(){return!this.wb||!this.wb.length};z.f.ra=function(){return""};z.f.Ar=z.h(26);z.f.ll=z.h(30);z.f.Jv=function(){return new z.go(this)};z.f.select=function(){this.wb&&this.wb.select()};z.f.D2=function(){return new fo(this)};z.f.collapse=function(){this.wb=null;this.En()};z.p(fo,z.xn); | |
fo.prototype.VI=function(){for(var a=(this.eh.length?z.qg(this.eh[0]):window.document).body.createControlRange(),b=0,c=this.eh.length;b<c;b++)a.addElement(this.eh[b]);return bo(a)};fo.prototype.Ga=function(){fo.ea.Ga.call(this);delete this.eh};z.p(z.go,Cn);z.f=z.go.prototype;z.f.Ux=z.h(18);z.f.Nx=z.h(21);z.f.kc=function(){return this.Wc};z.f.Kd=function(){return this.Qc};z.f.isLast=function(){return!this.depth&&!this.eh.length}; | |
z.f.next=function(){if(this.isLast())throw z.ye;if(!this.depth){var a=this.eh.shift();this.setPosition(a,1,1);return a}return z.go.ea.next.call(this)};z.f.Fn=function(a){this.eh=a.eh;this.Wc=a.Wc;this.Qc=a.Qc;z.go.ea.Fn.call(this,a)};z.f.clone=function(){var a=new z.go(null);a.Fn(this);return a};z.p(z.ho,z.Dn);z.f=z.ho.prototype;z.f.En=function(){this.JC=[];this.gP=this.dD=null};z.f.clone=function(){var a=this.lp,b=new z.ho;b.lp=z.ab(a);return b};z.f.g=function(){return"mutli"};z.f.Ix=function(){return this.lp[0]};z.f.UB=function(){return this.lp.length};z.f.xu=function(a){this.JC[a]||(this.JC[a]=Wn(uha(this.lp[a]),void 0));return this.JC[a]};z.f.gl=function(){if(!this.gP){for(var a=[],b=0,c=this.UB();b<c;b++)a.push(this.xu(b).gl());this.gP=z.Pg.apply(null,a)}return this.gP};z.f.kc=function(){return io(this)[0].kc()}; | |
z.f.kd=function(){return io(this)[0].kd()};z.f.Kd=function(){return z.Ta(io(this)).Kd()};z.f.ke=function(){return z.Ta(io(this)).ke()};z.f.isCollapsed=function(){return 0==this.lp.length||1==this.lp.length&&this.xu(0).isCollapsed()};z.f.ra=function(){return(0,z.Hb)(z.An(this),function(a){return a.ra()}).join("")};z.f.Ar=z.h(25);z.f.ll=z.h(29);z.f.Jv=function(){return new z.ko(this)};z.f.select=function(){var a=z.zn(this.Ii());a.removeAllRanges();for(var b=0,c=this.UB();b<c;b++)a.addRange(this.xu(b).Ix())}; | |
z.f.D2=function(){return new jo(this)};z.f.collapse=function(a){if(!this.isCollapsed()){var b=a?this.xu(0):this.xu(this.UB()-1);this.En();b.collapse(a);this.JC=[b];this.dD=[b];this.lp=[b.Ix()]}};z.p(jo,z.xn);jo.prototype.VI=function(){var a=(0,z.Hb)(this.F2,function(a){return a.restore()});return wha(a)};jo.prototype.Ga=function(){jo.ea.Ga.call(this);(0,z.nb)(this.F2,function(a){a.Rf()});delete this.F2};z.p(z.ko,Cn);z.f=z.ko.prototype;z.f.Ux=z.h(17);z.f.Nx=z.h(20);z.f.kc=function(){return this.Pp[0].kc()}; | |
z.f.Kd=function(){return z.Ta(this.Pp).Kd()};z.f.isLast=function(){return this.Pp[this.wB].isLast()};z.f.next=function(){try{var a=this.Pp[this.wB],b=a.next();this.setPosition(a.node,a.xg,a.depth);return b}catch(c){if(c!==z.ye||this.Pp.length-1==this.wB)throw c;this.wB++;return this.next()}};z.f.Fn=function(a){this.Pp=z.ab(a.Pp);z.ko.ea.Fn.call(this,a)};z.f.clone=function(){var a=new z.ko(null);a.Fn(this);return a};var Sza,Tza,zI,Uza;Sza=gc("Firefox");z.xI=sf()||gc("iPod");z.yI=gc("iPad");Tza=gc("Android")&&!(ic()||gc("Firefox")||gc("Opera")||gc("Silk"));zI=ic();Uza=gc("Safari")&&!(ic()||gc("Coast")||gc("Opera")||gc("Edge")||gc("Silk")||gc("Android"))&&!(sf()||gc("iPad")||gc("iPod"));var Vza=function(){if(Sza)return oo(/Firefox\/([0-9.]+)/);if(z.vg||z.XH||z.Un)return uf;if(zI)return oo(/Chrome\/([0-9.]+)/);if(Uza&&!(sf()||gc("iPad")||gc("iPod")))return oo(/Version\/([0-9.]+)/);if(z.xI||z.yI){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(dc);if(a)return a[1]+"."+a[2]}else if(Tza)return(a=oo(/Android\s+([0-9.]+)/))?a:oo(/Version\/([0-9.]+)/);return""}();z.AI=z.vg||z.zg||z.Un||z.XH||!1;z.Wza=z.zg||!1;z.Xza=z.vg||z.zg||z.Un;z.zg&&z.vf("534.16");z.Yza=z.Tn&&!0;z.vg&&z.vf("7.0");z.Zza=z.Tn&&z.vf("1.8")||z.zg||z.Un;z.$za=z.zg||z.vg&&z.vf("9");z.vg||z.XH||z.Un||z.Tn&&z.vf("1.9");z.Tn||z.zg&&z.vf("527");z.aAa=z.vg||z.Un;z.bAa=z.vg||z.XH||z.zg&&z.vf("525");z.zg&&z.vf("531");z.zg&&z.vf("528");z.Tn&&z.vf("1.9")||z.vg||z.XH||z.Un||z.zg&&z.vf("531");z.Tn||z.zg&&z.vf("526"); | |
zI&&0<=Oa(Vza,"4")||Uza&&z.vf("533")||z.Tn&&z.vf("2.0")||z.vg&&z.vf("10")||z.Un&&Oa(Baa(),"15");z.Un&&z.vf("11.10");zI&&Oa(Vza,"12");var nva;z.cF=z.vg?"focusin":"DOMFocusIn";nva=z.vg?"focusout":"DOMFocusOut";z.BI=z.zg?"webkitTransitionEnd":z.Un?"otransitionend":"transitionend";z.f=z.ro.prototype;z.f.zu=function(){return this.right-this.left};z.f.df=function(){return this.bottom-this.top};z.f.clone=function(){return new z.ro(this.top,this.right,this.bottom,this.left)};z.f.contains=function(a){return this&&a?a instanceof z.ro?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; | |
z.f.expand=function(a,b,c,d){z.sa(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};z.f.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; | |
z.f.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};z.f.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; | |
z.f.translate=function(a,b){a instanceof z.lg?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,z.qa(b)&&(this.top+=b,this.bottom+=b));return this};z.f.scale=function(a,b){b=z.qa(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};z.f=z.so.prototype;z.f.clone=function(){return new z.so(this.left,this.top,this.width,this.height)};z.f.jI=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1};z.f.xx=z.h(34); | |
z.f.contains=function(a){return a instanceof z.lg?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};z.f.Tj=z.h(35);z.f.jl=function(){return new z.ng(this.width,this.height)};z.f.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; | |
z.f.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};z.f.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};z.f.translate=function(a,b){a instanceof z.lg?(this.left+=a.x,this.top+=a.y):(this.left+=a,z.qa(b)&&(this.top+=b));return this}; | |
z.f.scale=function(a,b){b=z.qa(b)?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var yha={},Gha={thin:2,medium:4,thick:6};z.p(z.cp,z.kd);z.cp.prototype.Maa=function(){if(!this.cf){var a=((0,z.Ja)()-this.nxa)/this.QL,b=this.bF+(3*a*a-2*a*a*a)*this.una,b=Math[this.UY](b,this.ZG);if(/scroll/.test(this.PA)){var c=this.re;z.ap(c)&&(c=z.bp());c[this.PA]=b}else this.re.style[this.PA]=b;1<=a?this.callback():window.requestAnimationFrame(this.Maa.bind(this))}};z.p(z.dp,z.K);z.f=z.dp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.qu=function(){return z.H(this,"imageId")};z.f.df=function(){return z.H(this,"height")};z.f.Hy=function(a){return z.I(this,"height",a)};z.f.zu=function(){return z.H(this,"width")};z.f.Oy=function(a){return z.I(this,"width",a)};z.f.MB=function(){return z.H(this,"filter")};z.f.iJ=function(a){return z.I(this,"filter",a)};z.f.qj=function(){return z.H(this,"url")};z.f.kf=z.h(15); | |
z.f.S_=function(){return z.H(this,"focusPercentX")};z.f.Fy=function(a){return z.I(this,"focusPercentX",a)};z.f.T_=function(){return z.H(this,"focusPercentY")};z.f.Gy=function(a){return z.I(this,"focusPercentY",a)};z.f.L=function(){return z.dp.prototype}; | |
z.f.D={name:"ImageDisplay",N:!1,fields:{imageId:{name:"imageId",g:z.U,h:1},height:{name:"height",g:z.V,h:2},width:{name:"width",g:z.V,h:3},strategy:{name:"strategy",g:z.U,h:4},filter:{name:"filter",g:z.U,h:5},verticalGradient:{name:"verticalGradient",g:z.U,h:6},cropType:{name:"cropType",g:z.U,h:7},darken:{name:"darken",g:z.V,h:8},blur:{name:"blur",g:z.V,h:9},url:{name:"url",g:z.U,h:10},focusPercentX:{name:"focusPercentX",g:z.V,h:11,defaultValue:function(){return-1}},focusPercentY:{name:"focusPercentY", | |
g:z.V,h:12,defaultValue:function(){return-1}},multiply:{name:"multiply",g:z.U,h:13}},O:{}};z.p(z.ep,z.K);z.f=z.ep.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.nb=function(){return z.H(this,"id")};z.f.Km=function(a){return z.I(this,"id",a)};z.f.ei=function(){return z.H(this,"originalWidth")};z.f.dv=function(a){return z.I(this,"originalWidth",a)};z.f.hl=function(){return z.H(this,"originalHeight")};z.f.cv=function(a){return z.I(this,"originalHeight",a)}; | |
z.f.BP=function(){return z.H(this,"backgroundSize")};z.f.hga=function(a){return z.I(this,"backgroundSize",a)};z.f.MB=function(){return z.H(this,"filter")};z.f.iJ=function(a){return z.I(this,"filter",a)};z.f.LB=z.h(37);z.f.TC=function(a){return z.I(this,"externalSrc",a)};z.f.S_=function(){return z.H(this,"focusPercentX")};z.f.Fy=function(a){return z.I(this,"focusPercentX",a)};z.f.T_=function(){return z.H(this,"focusPercentY")};z.f.Gy=function(a){return z.I(this,"focusPercentY",a)};z.f.L=function(){return z.ep.prototype}; | |
z.f.D={name:"ImageMetadata",N:!1,fields:{id:{name:"id",g:z.U,h:1},originalWidth:{name:"originalWidth",g:z.V,h:2},originalHeight:{name:"originalHeight",g:z.V,h:3},backgroundSize:{name:"backgroundSize",g:z.U,h:4},filter:{name:"filter",g:z.U,h:5},isFeatured:{name:"isFeatured",g:z.W,h:6},externalSrc:{name:"externalSrc",g:z.U,h:7},focusPercentX:{name:"focusPercentX",g:z.V,h:8,defaultValue:function(){return-1}},focusPercentY:{name:"focusPercentY",g:z.V,h:9,defaultValue:function(){return-1}},alt:{name:"alt", | |
g:z.U,h:10},repairedAt:{name:"repairedAt",g:z.V,h:11}},O:{}};z.p(z.fp,z.K);z.f=z.fp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.qu=function(){return z.H(this,"imageId")};z.f.MB=function(){return z.H(this,"filter")};z.f.iJ=function(a){return z.I(this,"filter",a)};z.f.BP=function(){return z.H(this,"backgroundSize")};z.f.hga=function(a){return z.I(this,"backgroundSize",a)};z.f.ei=function(){return z.H(this,"originalWidth")};z.f.dv=function(a){return z.I(this,"originalWidth",a)}; | |
z.f.hl=function(){return z.H(this,"originalHeight")};z.f.cv=function(a){return z.I(this,"originalHeight",a)};z.f.df=function(){return z.H(this,"height")};z.f.Hy=function(a){return z.I(this,"height",a)};z.f.zu=function(){return z.H(this,"width")};z.f.Oy=function(a){return z.I(this,"width",a)};z.f.S_=function(){return z.H(this,"focusPercentX")};z.f.Fy=function(a){return z.I(this,"focusPercentX",a)};z.f.T_=function(){return z.H(this,"focusPercentY")}; | |
z.f.Gy=function(a){return z.I(this,"focusPercentY",a)};z.f.L=function(){return z.fp.prototype}; | |
z.f.D={name:"ImageInfo",N:!1,fields:{imageId:{name:"imageId",g:z.U,h:1},filter:{name:"filter",g:z.U,h:2},backgroundSize:{name:"backgroundSize",g:z.U,h:3},originalWidth:{name:"originalWidth",g:z.V,h:4},originalHeight:{name:"originalHeight",g:z.V,h:5},strategy:{name:"strategy",g:z.U,h:6},height:{name:"height",g:z.V,h:7},width:{name:"width",g:z.V,h:8},focusPercentX:{name:"focusPercentX",g:z.V,h:9,defaultValue:function(){return-1}},focusPercentY:{name:"focusPercentY",g:z.V,h:10,defaultValue:function(){return-1}}}, | |
O:{}};z.p(z.gp,z.K);z.f=z.gp.prototype;z.f.F=function(){return z.H(this,"targetUserId")};z.f.H=function(){return"Social"};z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.Kc=z.h(55);z.f.LP=function(){return z.H(this,"isFollowing")};z.f.Ky=function(a){return z.I(this,"isFollowing",a)};z.f.L=function(){return z.gp.prototype}; | |
z.f.D={name:"UserUserSocial",N:!1,fields:{userId:{name:"userId",g:z.U,h:1},targetUserId:{name:"targetUserId",g:z.U,h:2},createdAt:{name:"createdAt",g:z.V,h:4},isFollowing:{name:"isFollowing",g:z.W,h:5},isTwitterFollowing:{name:"isTwitterFollowing",g:z.W,h:6},isFacebookFollowing:{name:"isFacebookFollowing",g:z.W,h:7},isMediumFollowing:{name:"isMediumFollowing",g:z.W,h:8},isBlocking:{name:"isBlocking",g:z.W,h:9}},O:{}};z.p(ip,z.K);z.f=ip.prototype;z.f.F=function(){return z.H(this,"userId")};z.f.H=function(){return"SocialStats"}; | |
z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.L=function(){return ip.prototype};z.f.D={name:"UserSocialStats",N:!1,fields:{userId:{name:"userId",g:z.U,h:1},usersFollowedCount:{name:"usersFollowedCount",g:z.V,h:2},usersFollowedByCount:{name:"usersFollowedByCount",g:z.V,h:3}},O:{}};z.p(jp,z.K);z.f=jp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.va=function(){return z.H(this,"postId")};z.f.Eb=function(a){return z.I(this,"postId",a)};z.f.HH=function(){return z.H(this,"clapCount")};z.f.iga=function(a){return z.I(this,"clapCount",a)};z.f.L=function(){return jp.prototype}; | |
z.f.D={name:"UserPostRelation",N:!1,fields:{userId:{name:"userId",g:z.U,h:1},postId:{name:"postId",g:z.U,h:2},readAt:{name:"readAt",g:z.V,h:3},readLaterAddedAt:{name:"readLaterAddedAt",g:z.V,h:4},votedAt:{name:"votedAt",g:z.V,h:5},collaboratorAddedAt:{name:"collaboratorAddedAt",g:z.V,h:6},notesAddedAt:{name:"notesAddedAt",g:z.V,h:7},subscribedAt:{name:"subscribedAt",g:z.V,h:8},lastReadSectionName:{name:"lastReadSectionName",g:z.U,h:9},lastReadVersionId:{name:"lastReadVersionId",g:z.U,h:10},lastReadAt:{name:"lastReadAt", | |
g:z.V,h:11},lastReadParagraphName:{name:"lastReadParagraphName",g:z.U,h:12},lastReadPercentage:{name:"lastReadPercentage",g:z.V,h:13},viewedAt:{name:"viewedAt",g:z.V,h:14},presentedCountInResponseManagement:{name:"presentedCountInResponseManagement",g:z.V,h:15},clapCount:{name:"clapCount",g:z.V,h:16},seriesUpdateNotifsOptedInAt:{name:"seriesUpdateNotifsOptedInAt",g:z.V,h:17},queuedAt:{name:"queuedAt",g:z.V,h:18},seriesFirstViewedAt:{name:"seriesFirstViewedAt",g:z.V,h:19},presentedCountInStream:{name:"presentedCountInStream", | |
g:z.V,h:20},seriesLastViewedAt:{name:"seriesLastViewedAt",g:z.V,h:21},audioProgressSec:{name:"audioProgressSec",g:z.V,h:22}},O:{}};var CI={sja:0,cMa:1,W5:2,xja:3,$isProtoEnum:!0},cAa={NONE:0,dTa:1,vja:2,$isProtoEnum:!0};z.p(z.kp,z.K);z.f=z.kp.prototype;z.f.F=function(){return z.H(this,"userId")};z.f.H=function(){return"User"};z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.$j=function(){return z.H(this,"username")};z.f.Kc=z.h(54);z.f.qu=function(){return z.H(this,"imageId")}; | |
z.f.wg=function(a){return z.I(this,"twitterScreenName",a)};z.f.Q_=function(){return z.H(this,"facebookAccountId")};z.f.kJ=z.h(57);z.f.FH=function(){return z.H(this,"allowNotes")};z.f.L=function(){return z.kp.prototype}; | |
z.f.D={name:"User",N:!1,fields:{userId:{name:"userId",g:z.U,h:1},name:{name:"name",g:z.U,h:2},username:{name:"username",g:z.U,h:3},createdAt:{name:"createdAt",g:z.V,h:4},lastPostCreatedAt:{name:"lastPostCreatedAt",g:z.V,h:5},imageId:{name:"imageId",g:z.U,h:6},backgroundImageId:{name:"backgroundImageId",g:z.U,h:7},bio:{name:"bio",g:z.U,h:8},virtuals:{name:"virtuals",isRemoved:z.T},twitterScreenName:{name:"twitterScreenName",g:z.U,h:10},socialStats:{name:"socialStats",g:function(){return ip},h:11}, | |
social:{name:"social",g:function(){return z.gp},h:12},trust:{name:"trust",isRemoved:z.T},trustOverride:{name:"trustOverride",isRemoved:z.T},facebookAccountId:{name:"facebookAccountId",g:z.U,h:15},onboardingStatus:{name:"onboardingStatus",g:function(){return CI},h:16},googleAccountId:{name:"googleAccountId",g:z.U,h:17},allowNotes:{name:"allowNotes",g:z.V,h:18},isShadow:{name:"isShadow",g:z.W,h:19},mediumMemberAt:{name:"mediumMemberAt",g:z.V,h:20},mediumMemberWaitlistedAt:{name:"mediumMemberWaitlistedAt", | |
isRemoved:z.T},isNsfw:{name:"isNsfw",g:z.W,h:22},isHouseAccount:{name:"isHouseAccount",g:z.W,h:23},isWriterProgramInvited:{name:"isWriterProgramInvited",g:z.W,h:24},isPartnerProgramEnrolled:{name:"isPartnerProgramEnrolled",g:z.W,h:25},isWriterProgramEnrolled:{name:"isWriterProgramEnrolled",g:z.W,h:26},isWriterProgramOptedOut:{name:"isWriterProgramOptedOut",g:z.W,h:27}},O:{}};z.p(z.mp,z.K);z.f=z.mp.prototype;z.f.F=function(){return z.H(this,"userId")};z.f.H=function(){return""}; | |
z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.$j=function(){return z.H(this,"username")};z.f.oc=z.h(69);z.f.Nd=function(a){return z.I(this,"image",a)};z.f.L=function(){return z.mp.prototype}; | |
z.f.D={name:"UserItem",N:!1,fields:{userId:{name:"userId",g:z.U,h:1},name:{name:"name",g:z.U,h:2},username:{name:"username",g:z.U,h:3},image:{name:"image",g:function(){return z.dp},h:4},bio:{name:"bio",g:z.U,h:5},bioHTML:{name:"bioHTML",isRemoved:z.T},social:{name:"social",g:function(){return z.gp},h:7}},O:{}};z.p(z.np,z.K);z.f=z.np.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.qj=function(){return z.H(this,"url")};z.f.kf=z.h(14);z.f.L_=function(){return z.H(this,"accessToken")};z.f.L=function(){return z.np.prototype};z.f.D={name:"BuggleConfig",N:!1,fields:{url:{name:"url",g:z.U,h:1},videoUrl:{name:"videoUrl",g:z.U,h:2},audioUrl:{name:"audioUrl",g:z.U,h:3},accessToken:{name:"accessToken",g:z.U,h:4}},O:{}};z.p(z.op,z.K);z.f=z.op.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.mu=function(){return z.H(this,"backgroundColor")};z.f.Im=function(a){return z.I(this,"backgroundColor",a)};z.f.L=function(){return z.op.prototype};z.f.D={name:"ColorSpectrum",N:!1,fields:{colorPoints:{name:"colorPoints",g:function(){return z.qp},aa:z.T,h:1},backgroundColor:{name:"backgroundColor",g:z.U,h:2}},O:{}};z.p(z.qp,z.K);z.f=z.qp.prototype;z.f.F=function(){return""};z.f.H=function(){return""}; | |
z.f.DP=function(){return z.H(this,"color")};z.f.dd=function(a){return z.I(this,"color",a)};z.f.PP=z.h(70);z.f.L=function(){return z.qp.prototype};z.f.D={name:"ColorPoint",N:!1,fields:{color:{name:"color",g:z.U,h:1},point:{name:"point",g:z.V,h:2,defaultValue:function(){return 0}}},O:{}};z.p(sp,z.K);sp.prototype.F=function(){return""};sp.prototype.H=function(){return""};sp.prototype.L=function(){return sp.prototype};sp.prototype.D={name:"CollectionColorPalette",N:!1,fields:{defaultBackgroundSpectrum:{name:"defaultBackgroundSpectrum",g:function(){return z.op},h:1},tintBackgroundSpectrum:{name:"tintBackgroundSpectrum",g:function(){return z.op},h:2},highlightSpectrum:{name:"highlightSpectrum",g:function(){return z.op},h:3}},O:{}};z.p(z.tp,z.K);z.f=z.tp.prototype;z.f.F=function(){return z.H(this,"promoId")};z.f.H=function(){return"CollectionPromo"};z.f.nj=z.h(77);z.f.Qi=z.h(84);z.f.xb=z.h(111);z.f.Kc=z.h(53);z.f.L=function(){return z.tp.prototype}; | |
z.f.D={name:"CollectionPromo",N:!1,fields:{promoId:{name:"promoId",g:z.U,h:1},collectionId:{name:"collectionId",g:z.U,h:2},createdAt:{name:"createdAt",g:z.V,h:3},deletedAt:{name:"deletedAt",g:z.V,h:4},linkWithContentItem:{name:"linkWithContentItem",g:function(){return z.up},wa:z.T,na:function(){return 0},h:5}},O:{itemType:{name:"itemType",na:function(){return 0}}}};z.p(z.up,z.K);z.f=z.up.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.qj=function(){return z.H(this,"url")}; | |
z.f.kf=z.h(13);z.f.oc=z.h(68);z.f.Nd=function(a){return z.I(this,"image",a)};z.f.Lc=z.h(124);z.f.ud=z.h(137);z.f.rs=z.h(141);z.f.L=function(){return z.up.prototype}; | |
z.f.D={name:"CollectionPromoLinkWithContent",N:!1,fields:{url:{name:"url",g:z.U,h:1},image:{name:"image",g:function(){return z.ep},h:2},description:{name:"description",g:z.U,h:3},buttonText:{name:"buttonText",g:z.U,h:4},tintColor:{name:"tintColor",g:z.U,h:5},colorSpectrum:{name:"colorSpectrum",g:function(){return z.op},h:6},isLightText:{name:"isLightText",g:z.W,h:7}},O:{}};z.DI={ED:1,Tka:10,Ska:11,yja:12,gK:2,FD:3,hK:4,uz:5,Ev:6,Fv:7,SJ:8,fla:9,$isProtoEnum:!0};z.dAa={rK:1,DS:2,sK:3,$isProtoEnum:!0};var eAa={aka:1,THa:2,Rha:3,$isProtoEnum:!0},EI={qK:1,MK:2,Ri:3,$K:4,$isProtoEnum:!0},fAa={sv:1,LD:2,$isProtoEnum:!0},gAa={OJa:1,rMa:2,NHa:3,Sm:4,nq:5,wv:6,$isProtoEnum:!0};z.p(z.vp,z.K);z.f=z.vp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Bj=z.h(145);z.f.me=function(){return z.H(this,"layout")};z.f.Ee=function(a){return z.I(this,"layout",a)};z.f.VC=z.h(147);z.f.Xe=z.h(158);z.f.Qg=z.h(167);z.f.My=z.h(169);z.f.ff=z.h(179);z.f.jf=z.h(189);z.f.L=function(){return z.vp.prototype}; | |
z.f.D={name:"PostListMetadata",N:!1,fields:{source:{name:"source",g:function(){return EI},h:1},layout:{name:"layout",g:function(){return z.DI},h:2},number:{name:"number",g:z.V,h:3},postIds:{name:"postIds",g:z.U,aa:z.T,h:4},tagSlug:{name:"tagSlug",g:z.U,h:5},tagName:{name:"tagName",g:z.U,h:6},sectionHeader:{name:"sectionHeader",g:z.U,h:7},posts:{name:"posts",g:function(){return z.Lq},aa:z.T,h:1001}},O:{}};z.p(z.wp,z.K);z.f=z.wp.prototype;z.f.F=function(){return""};z.f.H=function(){return""}; | |
z.f.jb=function(){return z.H(this,"title")};z.f.ec=function(a){return z.I(this,"title",a)};z.f.Lc=z.h(123);z.f.ud=z.h(136);z.f.Tf=function(){return z.H(this,"backgroundImage")};z.f.hs=function(a){return z.I(this,"backgroundImage",a)};z.f.Z2=z.h(190);z.f.Hx=function(){return z.H(this,"alignment")};z.f.Yp=function(a){return z.I(this,"alignment",a)};z.f.me=function(){return z.H(this,"layout")};z.f.Ee=function(a){return z.I(this,"layout",a)};z.f.L=function(){return z.wp.prototype}; | |
z.f.D={name:"CollectionHeaderMetadata",N:!1,fields:{title:{name:"title",g:z.U,h:1},description:{name:"description",g:z.U,h:2},backgroundImage:{name:"backgroundImage",g:function(){return z.ep},h:3},logoImage:{name:"logoImage",g:function(){return z.ep},h:4},alignment:{name:"alignment",g:function(){return fAa},h:5},layout:{name:"layout",g:function(){return gAa},h:6}},O:{}};z.p(z.xp,z.K);z.f=z.xp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.My=z.h(168);z.f.nj=z.h(76);z.f.Qi=z.h(83); | |
z.f.L=function(){return z.xp.prototype};z.f.D={name:"CollectionPromoMetadata",N:!1,fields:{sectionHeader:{name:"sectionHeader",g:z.U,h:1},promoId:{name:"promoId",g:z.U,h:2},linkWithContent:{name:"linkWithContent",g:function(){return z.up},h:3},promo:{name:"promo",g:function(){return z.tp},h:4}},O:{}};z.p(z.yp,z.K);z.f=z.yp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.g=function(){return z.H(this,"type")};z.f.Za=function(a){return z.I(this,"type",a)};z.f.L=function(){return z.yp.prototype}; | |
z.f.D={name:"CollectionSection",N:!1,fields:{type:{name:"type",g:function(){return eAa},h:1},postListMetadata:{name:"postListMetadata",g:function(){return z.vp},h:2},collectionHeaderMetadata:{name:"collectionHeaderMetadata",g:function(){return z.wp},h:3},promoMetadata:{name:"promoMetadata",g:function(){return z.xp},h:4}},O:{}};var hAa={lT:1,US:2,zD:3,Ks:4,l4:5,h4:6,$isProtoEnum:!0};z.p(z.zp,z.K);z.f=z.zp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.g=function(){return z.H(this,"type")};z.f.Za=function(a){return z.I(this,"type",a)};z.f.jb=function(){return z.H(this,"title")};z.f.ec=function(a){return z.I(this,"title",a)};z.f.Qg=z.h(166);z.f.va=function(){return z.H(this,"postId")};z.f.Eb=function(a){return z.I(this,"postId",a)};z.f.qj=function(){return z.H(this,"url")};z.f.kf=z.h(12);z.f.L=function(){return z.zp.prototype}; | |
z.f.D={name:"CollectionNavItem",N:!1,fields:{type:{name:"type",g:function(){return hAa},h:1},title:{name:"title",g:z.U,h:2},tagSlug:{name:"tagSlug",g:z.U,wa:z.T,na:function(){return 0},h:3},postId:{name:"postId",g:z.U,wa:z.T,na:function(){return 0},h:4},url:{name:"url",g:z.U,h:5},topicId:{name:"topicId",g:z.U,wa:z.T,na:function(){return 0},h:6}},O:{source:{name:"source",na:function(){return 0}}}};var iAa,kAa,lAa,nAa;iAa={UHa:1,rLa:2,$isProtoEnum:!0};z.FI={jja:0,h5:1,$isProtoEnum:!0};z.jAa={XRa:0,d6:1,e5:2,j4:3,Y4:4,D4:5,C4:6,$isProtoEnum:!0};z.GI={bSa:0,WK:1,k4:2,Hia:3,yv:4,$isProtoEnum:!0};z.HI={YRa:0,vSa:1,xHa:2,$isProtoEnum:!0};kAa={cSa:0,yRa:1,tha:2,vMa:3,Eha:4,fSa:5,$isProtoEnum:!0};lAa={aSa:0,gia:1,sla:2,mja:3,vla:4,$isProtoEnum:!0};z.mAa={lla:0,Nka:1,Eja:2,yia:3,$isProtoEnum:!0};nAa={uha:1,rT:2,PNa:3,zRa:4,QNa:5,RNa:6,$isProtoEnum:!0};z.p(z.Ap,z.K);z.f=z.Ap.prototype; | |
z.f.F=function(){return z.H(this,"membershipPlanId")};z.f.H=function(){return"MembershipPlan"};z.f.setInterval=function(a){return z.I(this,"interval",a)};z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.xb=z.h(110);z.f.Kc=z.h(52);z.f.L=function(){return z.Ap.prototype}; | |
z.f.D={name:"MembershipPlan",N:!1,fields:{membershipPlanId:{name:"membershipPlanId",g:z.U,h:1},amount:{name:"amount",g:z.V,h:2},currency:{name:"currency",g:function(){return z.HI},h:3},interval:{name:"interval",g:function(){return lAa},h:4},intervalCount:{name:"intervalCount",g:z.V,h:5},name:{name:"name",g:z.U,h:6},tier:{name:"tier",g:z.U,h:7},collectionId:{name:"collectionId",g:z.U,h:8},solicitationMessage:{name:"solicitationMessage",g:z.U,h:9},thanksMessage:{name:"thanksMessage",g:z.U,h:10},emailWelcomeMessage:{name:"emailWelcomeMessage", | |
g:z.U,h:11},memberCount:{name:"memberCount",g:z.V,h:12},recurringAmountNet:{name:"recurringAmountNet",g:z.V,h:13},discontinuedAt:{name:"discontinuedAt",g:z.V,h:14},activeMemberCount:{name:"activeMemberCount",g:z.V,h:15},cancellationPendingMemberCount:{name:"cancellationPendingMemberCount",g:z.V,h:16},cancelledMemberCount:{name:"cancelledMemberCount",g:z.V,h:17},createdAt:{name:"createdAt",g:z.V,h:18},membershipType:{name:"membershipType",g:function(){return iAa},h:19,defaultValue:function(){return 1}}, | |
trialPeriodDays:{name:"trialPeriodDays",g:z.V,h:20}},O:{}};z.p(z.Bp,z.K);z.f=z.Bp.prototype;z.f.F=function(){return z.H(this,"membershipId")};z.f.H=function(){return"Membership"};z.f.Ny=z.h(191);z.f.fJ=z.h(192);z.f.xb=z.h(109);z.f.wR=function(a){return z.I(this,"provider",a)};z.f.L=function(){return z.Bp.prototype}; | |
z.f.D={name:"Membership",N:!1,fields:{membershipId:{name:"membershipId",g:z.U,h:1},membershipPlanId:{name:"membershipPlanId",g:z.U,h:2},amount:{name:"amount",g:z.V,h:3},currency:{name:"currency",g:function(){return z.HI},h:4},memberUserId:{name:"memberUserId",g:z.U,h:5},startedAt:{name:"startedAt",g:z.V,h:6},endedAt:{name:"endedAt",g:z.V,h:7},collectionId:{name:"collectionId",g:z.U,h:8},applicationFeePercent:{name:"applicationFeePercent",g:z.V,h:9},cancellationRequestedAt:{name:"cancellationRequestedAt", | |
g:z.V,h:10},currentPeriodEndsAt:{name:"currentPeriodEndsAt",g:z.V,h:11},member:{name:"member",g:function(){return z.kp},h:12},membershipPlan:{name:"membershipPlan",g:function(){return z.Ap},h:13},cancellationType:{name:"cancellationType",g:function(){return nAa},h:14},becameDelinquentAt:{name:"becameDelinquentAt",g:z.V,h:15},provider:{name:"provider",g:function(){return z.GI},h:16},trialStartedAt:{name:"trialStartedAt",g:z.V,h:17},trialEndedAt:{name:"trialEndedAt",g:z.V,h:18},trialDurationDays:{name:"trialDurationDays", | |
g:z.V,h:19},paymentSourceAddedAt:{name:"paymentSourceAddedAt",g:z.V,h:20},paymentMembershipStatus:{name:"paymentMembershipStatus",g:function(){return kAa},h:21},mediumMembershipType:{name:"mediumMembershipType",g:function(){return z.FI},h:22,defaultValue:function(){return 0}}},O:{}};var oAa={PQa:1,pLa:2,XOa:3,$isProtoEnum:!0};z.p(z.Cp,z.K);z.f=z.Cp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.g=function(){return z.H(this,"type")};z.f.Za=function(a){return z.I(this,"type",a)};z.f.uu=z.h(194);z.f.ps=function(a){return z.I(this,"paragraphIndex",a)};z.f.Cr=function(){return z.H(this,"offset")};z.f.L=function(){return z.Cp.prototype}; | |
z.f.D={name:"SelectionPoint",N:!1,fields:{type:{name:"type",g:function(){return oAa},h:1},paragraphIndex:{name:"paragraphIndex",g:z.V,h:2},offset:{name:"offset",g:z.V,h:3}},O:{}};z.p(z.Ep,z.K);z.f=z.Ep.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.pc=function(){return z.H(this,"start")};z.f.setStart=function(a){return z.I(this,"start",a)};z.f.sc=function(){return z.H(this,"end")};z.f.setEnd=function(a){return z.I(this,"end",a)};z.f.L=function(){return z.Ep.prototype}; | |
z.f.D={name:"SelectionPb",N:!1,fields:{start:{name:"start",g:function(){return z.Cp},h:1},end:{name:"end",g:function(){return z.Cp},h:2},isReversed:{name:"isReversed",g:z.W,h:3},isInvalid:{name:"isInvalid",g:z.W,h:4}},O:{}};z.p(Fp,z.K);z.f=Fp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.ei=function(){return z.H(this,"originalWidth")};z.f.dv=function(a){return z.I(this,"originalWidth",a)};z.f.hl=function(){return z.H(this,"originalHeight")};z.f.cv=function(a){return z.I(this,"originalHeight",a)};z.f.sAa=function(){return z.H(this,"previewImageId")};z.f.YEa=function(a){z.I(this,"previewImageId",a)};z.f.L=function(){return Fp.prototype}; | |
z.f.D={name:"VideoMetadata",N:!1,fields:{videoId:{name:"videoId",g:z.U,h:1},originalWidth:{name:"originalWidth",g:z.V,h:2},originalHeight:{name:"originalHeight",g:z.V,h:3},previewImageId:{name:"previewImageId",g:z.U,h:4}},O:{}};z.p(z.Gp,z.K);z.f=z.Gp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Sb=function(){return z.H(this,"paragraphs")};z.f.qs=z.h(196);z.f.uc=function(){return z.H(this,"sections")};z.f.mi=function(a){return z.I(this,"sections",a)};z.f.L=function(){return z.Gp.prototype};z.f.D={name:"RichTextModel",N:!1,fields:{paragraphs:{name:"paragraphs",g:function(){return z.Hp},aa:z.T,h:1},sections:{name:"sections",g:function(){return z.Op},aa:z.T,h:2}},O:{}};z.p(z.Hp,z.K);z.f=z.Hp.prototype; | |
z.f.F=function(){return""};z.f.H=function(){return""};z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.g=function(){return z.H(this,"type")};z.f.Za=function(a){return z.I(this,"type",a)};z.f.ra=function(){return z.H(this,"text")};z.f.qd=function(a){return z.I(this,"text",a)};z.f.me=function(){return z.H(this,"layout")};z.f.Ee=function(a){return z.I(this,"layout",a)};z.f.getMetadata=function(){return z.H(this,"metadata")}; | |
z.f.Nh=function(a){return z.I(this,"metadata",a)};z.f.U_=function(){return z.H(this,"hasDropCap")};z.f.UC=function(a){return z.I(this,"hasDropCap",a)};z.f.Hx=function(){return z.H(this,"alignment")};z.f.Yp=function(a){return z.I(this,"alignment",a)};z.f.Dh=function(){return z.H(this,"href")};z.f.ls=function(a){return z.I(this,"href",a)};z.f.tu=function(){return z.H(this,"mixtapeMetadata")};z.f.XH=function(){return z.H(this,"translationStatus")}; | |
z.f.n3=function(a){return z.I(this,"translationStatus",a)};z.f.ou=function(){return z.H(this,"dropCapImage")};z.f.ks=function(a){return z.I(this,"dropCapImage",a)};z.f.RH=function(){return z.H(this,"purpose")};z.f.g3=function(a){return z.I(this,"purpose",a)};z.f.L=function(){return z.Hp.prototype}; | |
z.f.D={name:"ParagraphPb",N:!1,fields:{name:{name:"name",g:z.U,h:1},type:{name:"type",g:function(){return lC},h:2},text:{name:"text",g:z.U,h:3},markups:{name:"markups",g:function(){return z.Mp},aa:z.T,h:4},dataId:{name:"dataId",g:z.U,h:5},layout:{name:"layout",g:function(){return jC},h:6},metadata:{name:"metadata",g:function(){return z.ep},h:7},iframe:{name:"iframe",g:function(){return z.Kp},h:8},hasDropCap:{name:"hasDropCap",g:z.W,h:9},alignment:{name:"alignment",g:function(){return Aya},h:10},href:{name:"href", | |
g:z.U,h:11},mixtapeMetadata:{name:"mixtapeMetadata",g:function(){return z.Lp},h:12},translationStatus:{name:"translationStatus",g:function(){return Bya},h:13},dropCapImage:{name:"dropCapImage",g:function(){return z.ep},h:14},purpose:{name:"purpose",g:function(){return Iya},h:15}},O:{}};z.p(z.Kp,z.K);z.f=z.Kp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Qx=function(){return z.H(this,"mediaResourceId")};z.f.Ly=function(a){return z.I(this,"mediaResourceId",a)}; | |
z.f.IP=function(){return z.H(this,"iframeWidth")};z.f.R2=function(a){return z.I(this,"iframeWidth",a)};z.f.HP=function(){return z.H(this,"iframeHeight")};z.f.Q2=function(a){return z.I(this,"iframeHeight",a)};z.f.LB=z.h(36);z.f.TC=function(a){return z.I(this,"externalSrc",a)};z.f.WP=function(){return z.H(this,"thumbnailUrl")};z.f.m3=function(a){return z.I(this,"thumbnailUrl",a)};z.f.L=function(){return z.Kp.prototype}; | |
z.f.D={name:"IframeMetadata",N:!1,fields:{mediaResourceId:{name:"mediaResourceId",g:z.U,h:1},iframeWidth:{name:"iframeWidth",g:z.V,h:2},iframeHeight:{name:"iframeHeight",g:z.V,h:3},iframeSrc:{name:"iframeSrc",isRemoved:z.T},externalSrc:{name:"externalSrc",g:z.U,h:5},thumbnailUrl:{name:"thumbnailUrl",g:z.U,h:6}},O:{}};z.p(z.Lp,z.K);z.f=z.Lp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Qx=function(){return z.H(this,"mediaResourceId")}; | |
z.f.Ly=function(a){return z.I(this,"mediaResourceId",a)};z.f.VP=z.h(198);z.f.l3=function(a){return z.I(this,"thumbnailImageId",a)};z.f.Dh=function(){return z.H(this,"href")};z.f.ls=function(a){return z.I(this,"href",a)};z.f.L=function(){return z.Lp.prototype};z.f.D={name:"MixtapeMetadata",N:!1,fields:{mediaResourceId:{name:"mediaResourceId",g:z.U,h:1},thumbnailImageId:{name:"thumbnailImageId",g:z.U,h:2},href:{name:"href",g:z.U,h:3}},O:{}};z.p(z.Mp,z.K);z.f=z.Mp.prototype;z.f.F=function(){return""}; | |
z.f.H=function(){return""};z.f.g=function(){return z.H(this,"type")};z.f.Za=function(a){return z.I(this,"type",a)};z.f.pc=function(){return z.H(this,"start")};z.f.setStart=function(a){return z.I(this,"start",a)};z.f.sc=function(){return z.H(this,"end")};z.f.setEnd=function(a){return z.I(this,"end",a)};z.f.Dh=function(){return z.H(this,"href")};z.f.ls=function(a){return z.I(this,"href",a)};z.f.jb=function(){return z.H(this,"title")};z.f.ec=function(a){return z.I(this,"title",a)}; | |
z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.L=function(){return z.Mp.prototype}; | |
z.f.D={name:"MarkupModel",N:!1,fields:{type:{name:"type",g:function(){return Cya},h:1},start:{name:"start",g:z.V,h:2},end:{name:"end",g:z.V,h:3},href:{name:"href",g:z.U,h:4},title:{name:"title",g:z.U,h:5},rel:{name:"rel",g:z.U,h:6},name:{name:"name",g:z.U,h:7},anchorType:{name:"anchorType",g:function(){return Dya},h:8},creatorId:{name:"creatorId",isRemoved:z.T},creatorIds:{name:"creatorIds",g:z.U,aa:z.T,h:10},userId:{name:"userId",g:z.U,h:11}},O:{}};z.p(z.Op,z.K);z.f=z.Op.prototype;z.f.F=function(){return""}; | |
z.f.H=function(){return""};z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.Oa=function(){return z.H(this,"startIndex")};z.f.vg=function(a){return z.I(this,"startIndex",a)};z.f.Tf=function(){return z.H(this,"backgroundImage")};z.f.hs=function(a){return z.I(this,"backgroundImage",a)};z.f.mu=function(){return z.H(this,"backgroundColor")};z.f.Im=function(a){return z.I(this,"backgroundColor",a)};z.f.g=function(){return z.H(this,"type")}; | |
z.f.Za=function(a){return z.I(this,"type",a)};z.f.L=function(){return z.Op.prototype}; | |
z.f.D={name:"SectionModel",N:!1,fields:{name:{name:"name",g:z.U,h:1},startIndex:{name:"startIndex",g:z.V,h:2},backgroundImage:{name:"backgroundImage",g:function(){return z.ep},h:3},textLayout:{name:"textLayout",g:function(){return Eya},h:4},imageLayout:{name:"imageLayout",g:function(){return Fya},h:5},backgroundColor:{name:"backgroundColor",g:function(){return zya},h:6},type:{name:"type",g:function(){return Hya},h:7},backgroundVideo:{name:"backgroundVideo",g:function(){return Fp},h:8},videoLayout:{name:"videoLayout", | |
g:function(){return Gya},h:9}},O:{}};z.p(z.Up,z.K);z.f=z.Up.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Lx=z.h(200);z.f.$u=z.h(202);z.f.L=function(){return z.Up.prototype};z.f.D={name:"PostDisplay",N:!1,fields:{coverless:{name:"coverless",g:z.W,h:1},colorTheme:{name:"colorTheme",isRemoved:z.T}},O:{}};z.II={DRa:0,MJa:1,$isProtoEnum:!0};z.JI={Pia:0,Qia:1,$isProtoEnum:!0};z.KI={wha:0,xha:1,$isProtoEnum:!0};z.LI={MOa:1,J4:10,bS:11,Cja:12,Rka:13,jLa:15,XIa:16,dJa:17,kKa:18,aKa:19,NOa:2,Dia:20,JJa:3,Iha:4,ZGa:5,yOa:6,OPa:7,sKa:8,lIa:9,$isProtoEnum:!0};z.MI={cS:1,mo:2,$isProtoEnum:!0};z.p(z.Vp,z.K);z.f=z.Vp.prototype;z.f.F=function(){return z.H(this,"id")};z.f.H=function(){return"Collection"};z.f.nb=function(){return z.H(this,"id")};z.f.Km=function(a){return z.I(this,"id",a)}; | |
z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.Uc=z.h(215);z.f.ad=z.h(225);z.f.sm=function(){return z.H(this,"creatorId")};z.f.li=z.h(232);z.f.Lc=z.h(122);z.f.ud=z.h(135);z.f.oc=z.h(67);z.f.Nd=function(a){return z.I(this,"image",a)};z.f.getMetadata=function(){return z.H(this,"metadata")};z.f.Nh=function(a){return z.I(this,"metadata",a)};z.f.ak=function(){return z.H(this,"virtuals")};z.f.f0=z.h(233);z.f.R_=z.h(234);z.f.QH=z.h(236); | |
z.f.Dd=function(){return z.H(this,"domain")};z.f.Jm=function(a){return z.I(this,"domain",a)};z.f.uc=function(){return z.H(this,"sections")};z.f.mi=function(a){return z.I(this,"sections",a)};z.f.rs=z.h(140);z.f.MH=z.h(238);z.f.HB=z.h(240);z.f.rk=function(a){return z.I(this,"facebookPageId",a)};z.f.CP=z.h(242);z.f.qk=function(a){return z.I(this,"disableGoogleAnalytics",a)};z.f.Zb=function(){return z.H(this,"user")};z.f.pe=function(a){return z.I(this,"user",a)};z.f.L=function(){return z.Vp.prototype}; | |
z.f.D={name:"Collection",N:!1,fields:{id:{name:"id",g:z.U,h:1},name:{name:"name",g:z.U,h:2},slug:{name:"slug",g:z.U,h:3},tags:{name:"tags",g:z.U,aa:z.T,h:4},creatorId:{name:"creatorId",g:z.U,h:5},responseTimeFuzzy:{name:"responseTimeFuzzy",isRemoved:z.T},description:{name:"description",g:z.U,h:7},shortDescription:{name:"shortDescription",g:z.U,h:8},image:{name:"image",g:function(){return z.fp},h:9},metadata:{name:"metadata",g:function(){return Yp},h:10},virtuals:{name:"virtuals",g:function(){return z.Xp}, | |
h:11},layoutType:{name:"layoutType",isRemoved:z.T},logo:{name:"logo",g:function(){return z.fp},h:13},twitterUsername:{name:"twitterUsername",g:z.U,h:15},facebookPageName:{name:"facebookPageName",g:z.U,h:16},publicEmail:{name:"publicEmail",g:z.U,h:17},collectionMastheadId:{name:"collectionMastheadId",g:z.U,h:18},domain:{name:"domain",g:z.U,h:19},sections:{name:"sections",g:function(){return z.yp},aa:z.T,h:20},tintColor:{name:"tintColor",g:z.U,h:21},lightText:{name:"lightText",g:z.W,h:22},favicon:{name:"favicon", | |
g:function(){return z.fp},h:23},colorPalette:{name:"colorPalette",g:function(){return sp},h:24},navItems:{name:"navItems",g:function(){return z.zp},aa:z.T,h:25},membershipPlans:{name:"membershipPlans",g:function(){return z.Ap},aa:z.T,h:26},fullTextRssFeed:{name:"fullTextRssFeed",g:function(){return z.II},h:27},colorBehavior:{name:"colorBehavior",g:function(){return z.MI},h:28},instantArticlesState:{name:"instantArticlesState",g:function(){return z.JI},h:29},acceleratedMobilePagesState:{name:"acceleratedMobilePagesState", | |
g:function(){return z.KI},h:30},facebookPageId:{name:"facebookPageId",g:z.U,h:31},googleAnalyticsId:{name:"googleAnalyticsId",g:z.U,h:32},collectionFeatures:{name:"collectionFeatures",g:function(){return z.LI},aa:z.T,h:33},ampLogo:{name:"ampLogo",g:function(){return z.fp},h:34},cloakedAt:{name:"cloakedAt",g:z.V,h:35},header:{name:"header",g:function(){return z.wp},h:36},paidForDomainAt:{name:"paidForDomainAt",g:z.V,h:37},isNsfw:{name:"isNsfw",g:z.W,h:38},disableGoogleAnalytics:{name:"disableGoogleAnalytics", | |
g:z.W,h:39},user:{name:"user",g:function(){return z.kp},h:123}},O:{}};z.p(z.Xp,z.K);z.f=z.Xp.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Px=z.h(244);z.f.KH=z.h(246);z.f.L=function(){return z.Xp.prototype}; | |
z.f.D={name:"CollectionVirtuals",N:!1,fields:{permissions:{name:"permissions",g:function(){return bq},h:1},isSubscribed:{name:"isSubscribed",g:z.W,h:2},isNewsletterSubscribed:{name:"isNewsletterSubscribed",g:z.W,h:3},memberOfMembershipPlanId:{name:"memberOfMembershipPlanId",g:z.U,h:4},membership:{name:"membership",g:function(){return z.Bp},h:5},isEnrolledInHightower:{name:"isEnrolledInHightower",g:z.W,h:6},isEligibleForHightower:{name:"isEligibleForHightower",g:z.W,h:7}},O:{}};z.p(Yp,z.K); | |
Yp.prototype.F=function(){return""};Yp.prototype.H=function(){return""};Yp.prototype.L=function(){return Yp.prototype};Yp.prototype.D={name:"CollectionMetadata",N:!1,fields:{followerCount:{name:"followerCount",g:z.V,h:1},postCount:{name:"postCount",isRemoved:z.T},activeAt:{name:"activeAt",g:z.V,h:3}},O:{}};z.p(z.Zp,z.K);z.f=z.Zp.prototype;z.f.F=function(){return z.H(this,"collectionId")};z.f.H=function(){return""};z.f.xb=z.h(108);z.f.getName=function(){return z.H(this,"name")}; | |
z.f.Tb=function(a){return z.I(this,"name",a)};z.f.Uc=z.h(214);z.f.oc=z.h(66);z.f.Nd=function(a){return z.I(this,"image",a)};z.f.Lc=z.h(121);z.f.ud=z.h(134);z.f.L=function(){return z.Zp.prototype};z.f.D={name:"CollectionItem",N:!1,fields:{collectionId:{name:"collectionId",g:z.U,h:1},name:{name:"name",g:z.U,h:2},slug:{name:"slug",g:z.U,h:3},image:{name:"image",g:function(){return z.dp},h:4},description:{name:"description",g:z.U,h:5}},O:{}};z.p(z.$p,z.K);z.f=z.$p.prototype; | |
z.f.F=function(){return z.H(this,"collectionId")};z.f.H=function(){return""};z.f.xb=z.h(107);z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.Uc=z.h(213);z.f.oc=z.h(65);z.f.Nd=function(a){return z.I(this,"image",a)};z.f.sm=function(){return z.H(this,"creatorId")};z.f.li=z.h(231);z.f.je=function(){return z.H(this,"creator")};z.f.Pi=z.h(252);z.f.Lc=z.h(120);z.f.ud=z.h(133);z.f.QH=z.h(235);z.f.rs=z.h(139);z.f.HB=z.h(239);z.f.L=function(){return z.$p.prototype}; | |
z.f.D={name:"CollectionWithOwner",N:!1,fields:{collectionId:{name:"collectionId",g:z.U,h:1},name:{name:"name",g:z.U,h:2},slug:{name:"slug",g:z.U,h:3},image:{name:"image",g:function(){return z.dp},h:4},creatorId:{name:"creatorId",g:z.U,h:5},creator:{name:"creator",g:function(){return z.mp},h:6,tf:function(){return"creatorId"}},description:{name:"description",g:z.U,h:7},subscriberCount:{name:"subscriberCount",g:z.V,h:8},logo:{name:"logo",g:function(){return z.dp},h:9},publicEmail:{name:"publicEmail", | |
g:z.U,h:10},tintColor:{name:"tintColor",g:z.U,h:11},lightText:{name:"lightText",g:z.W,h:12},colorPalette:{name:"colorPalette",g:function(){return sp},h:13},colorBehavior:{name:"colorBehavior",g:function(){return z.MI},h:14}},O:{}};z.p(z.aq,z.K);z.f=z.aq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.xb=z.h(106);z.f.Kb=function(){return z.H(this,"collection")};z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)}; | |
z.f.Zb=function(){return z.H(this,"user")};z.f.pe=function(a){return z.I(this,"user",a)};z.f.L=function(){return z.aq.prototype};z.f.D={name:"CollectionUserRelationItem",N:!1,fields:{collectionId:{name:"collectionId",g:z.U,h:1},collection:{name:"collection",g:function(){return z.$p},h:2,tf:function(){return"collectionId"}},userId:{name:"userId",g:z.U,h:3},user:{name:"user",g:function(){return z.mp},h:4,tf:function(){return"userId"}},role:{name:"role",g:z.U,h:5}},O:{}};z.p(bq,z.K);bq.prototype.F=function(){return""}; | |
bq.prototype.H=function(){return""};bq.prototype.L=function(){return bq.prototype}; | |
bq.prototype.D={name:"CollectionPermissions",N:!1,fields:{canPublish:{name:"canPublish",g:z.W,h:1},canPublishAll:{name:"canPublishAll",g:z.W,h:2},canRepublish:{name:"canRepublish",g:z.W,h:3},canRemove:{name:"canRemove",g:z.W,h:4},canManageAll:{name:"canManageAll",g:z.W,h:5},canSubmit:{name:"canSubmit",g:z.W,h:6},canEditPosts:{name:"canEditPosts",g:z.W,h:7},canAddWriters:{name:"canAddWriters",g:z.W,h:8},canViewStats:{name:"canViewStats",g:z.W,h:9},canSendNewsletter:{name:"canSendNewsletter",g:z.W, | |
h:10},canViewLockedPosts:{name:"canViewLockedPosts",g:z.W,h:11},canViewCloaked:{name:"canViewCloaked",g:z.W,h:12},canEditOwnPosts:{name:"canEditOwnPosts",g:z.W,h:13,defaultValue:function(){return!0}},canBeAssignedAuthor:{name:"canBeAssignedAuthor",g:z.W,h:14},canEnrollInHightower:{name:"canEnrollInHightower",g:z.W,h:15},canLockPostsForMediumMembers:{name:"canLockPostsForMediumMembers",g:z.W,h:16},canLockOwnPostsForMediumMembers:{name:"canLockOwnPostsForMediumMembers",g:z.W,h:17}},O:{}};z.p(z.cq,z.K);z.f=z.cq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Cf=z.h(260);z.f.zj=z.h(262);z.f.Mc=z.h(271);z.f.ae=z.h(280);z.f.L=function(){return z.cq.prototype};z.f.D={name:"PreviewContent",N:!1,fields:{bodyModel:{name:"bodyModel",g:function(){return z.Gp},h:1},isFullContent:{name:"isFullContent",g:z.W,h:2},subtitle:{name:"subtitle",g:z.U,h:3}},O:{}};var pAa={RJ:0,uD:1,hS:2,iS:3,fS:4,gS:5,WJ:6,vD:7,WS:8,$isProtoEnum:!0};var qAa={RGa:1,KKa:2,VGa:3,$isProtoEnum:!0};z.p(dq,z.K);z.f=dq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.getEntries=function(){return z.H(this,"entries")};z.f.setVersion=function(a){return z.I(this,"version",a)};z.f.L=function(){return dq.prototype};z.f.D={name:"LinkMetadataList",N:!1,fields:{entries:{name:"entries",g:function(){return z.eq},aa:z.T,h:1},version:{name:"version",g:z.U,h:2},generatedAt:{name:"generatedAt",g:z.V,h:3}},O:{}};z.p(z.eq,z.K);z.f=z.eq.prototype; | |
z.f.F=function(){return""};z.f.H=function(){return""};z.f.qj=function(){return z.H(this,"url")};z.f.kf=z.h(11);z.f.L=function(){return z.eq.prototype};z.f.D={name:"LinkMetadata",N:!1,fields:{url:{name:"url",g:z.U,h:1},alts:{name:"alts",g:function(){return z.fq},aa:z.T,h:2},httpStatus:{name:"httpStatus",g:z.V,h:3}},O:{}};z.p(z.fq,z.K);z.f=z.fq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.g=function(){return z.H(this,"type")};z.f.Za=function(a){return z.I(this,"type",a)}; | |
z.f.qj=function(){return z.H(this,"url")};z.f.kf=z.h(10);z.f.L=function(){return z.fq.prototype};z.f.D={name:"LinkAlternate",N:!1,fields:{type:{name:"type",g:function(){return qAa},h:1},url:{name:"url",g:z.U,h:2}},O:{}};var rAa={DEFAULT:1,UQa:2,dia:3,$isProtoEnum:!0};z.p(z.gq,z.K);z.f=z.gq.prototype;z.f.F=function(){return z.H(this,"mediaResourceId")};z.f.H=function(){return"MediaResource"};z.f.Qx=function(){return z.H(this,"mediaResourceId")};z.f.Ly=function(a){return z.I(this,"mediaResourceId",a)};z.f.Dh=function(){return z.H(this,"href")};z.f.ls=function(a){return z.I(this,"href",a)};z.f.Dd=function(){return z.H(this,"domain")};z.f.Jm=function(a){return z.I(this,"domain",a)}; | |
z.f.jb=function(){return z.H(this,"title")};z.f.ec=function(a){return z.I(this,"title",a)};z.f.Lc=z.h(119);z.f.ud=z.h(132);z.f.IP=function(){return z.H(this,"iframeWidth")};z.f.R2=function(a){return z.I(this,"iframeWidth",a)};z.f.HP=function(){return z.H(this,"iframeHeight")};z.f.Q2=function(a){return z.I(this,"iframeHeight",a)};z.f.WP=function(){return z.H(this,"thumbnailUrl")};z.f.m3=function(a){return z.I(this,"thumbnailUrl",a)};z.f.oga=function(a){return z.I(this,"thumbnailWidth",a)}; | |
z.f.nga=function(a){return z.I(this,"thumbnailHeight",a)};z.f.VP=z.h(197);z.f.l3=function(a){return z.I(this,"thumbnailImageId",a)};z.f.XP=z.h(282);z.f.L=function(){return z.gq.prototype}; | |
z.f.D={name:"MediaResource",N:!1,fields:{mediaResourceId:{name:"mediaResourceId",g:z.U,h:1},mediaResourceType:{name:"mediaResourceType",g:z.U,h:2},href:{name:"href",g:z.U,h:3},domain:{name:"domain",g:z.U,h:4},title:{name:"title",g:z.U,h:5},description:{name:"description",g:z.U,h:6},iframeWidth:{name:"iframeWidth",g:z.V,h:7},iframeHeight:{name:"iframeHeight",g:z.V,h:8},iframeSrc:{name:"iframeSrc",g:z.U,h:9},thumbnailUrl:{name:"thumbnailUrl",g:z.U,h:23},thumbnailWidth:{name:"thumbnailWidth",g:z.V,h:24}, | |
thumbnailHeight:{name:"thumbnailHeight",g:z.V,h:25},display:{name:"display",g:function(){return rAa},h:26},thumbnailImageId:{name:"thumbnailImageId",g:z.U,h:28},authorName:{name:"authorName",g:z.U,h:31},surrogatePostId:{name:"surrogatePostId",isRemoved:z.T},providerName:{name:"providerName",isRemoved:z.T},mediumPost:{name:"mediumPost",g:function(){return Hs},h:1001},externalLink:{name:"externalLink",g:function(){return Ks},h:1002},tweet:{name:"tweet",g:function(){return z.Ls},h:1003},gist:{name:"gist", | |
g:function(){return Ns},h:1004},superMe:{name:"superMe",g:function(){return Os},h:1005},mediumQuote:{name:"mediumQuote",g:function(){return z.Js},h:1006},charted:{name:"charted",g:function(){return Ps},h:1007},mediumCollection:{name:"mediumCollection",g:function(){return z.Is},h:1008},moment:{name:"moment",g:function(){return Ms},h:1009}},O:{}};z.p(z.hq,z.K);z.f=z.hq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Mc=z.h(270);z.f.ae=z.h(279);z.f.Ln=z.h(284);z.f.$p=z.h(286);z.f.oc=z.h(64);z.f.Nd=function(a){return z.I(this,"image",a)};z.f.Cf=z.h(259);z.f.zj=z.h(261);z.f.fi=z.h(287);z.f.vk=z.h(288);z.f.Fi=z.h(291);z.f.cq=z.h(293);z.f.Eh=z.h(297);z.f.Aj=z.h(300);z.f.X_=function(){return z.H(this,"isLockedPreviewOnly")};z.f.L=function(){return z.hq.prototype}; | |
z.f.D={name:"PostViewContent",N:!1,fields:{body:{name:"body",isRemoved:z.T},subtitle:{name:"subtitle",g:z.U,h:2},caption:{name:"caption",g:z.U,h:3},image:{name:"image",g:function(){return z.fp},h:4},bodyModel:{name:"bodyModel",g:function(){return z.Gp},h:5},postDisplay:{name:"postDisplay",g:function(){return z.Up},h:6},metaDescription:{name:"metaDescription",g:z.U,h:7},previewImage:{name:"previewImage",g:function(){return z.ep},h:8},isLockedPreviewOnly:{name:"isLockedPreviewOnly",g:z.W,h:9,defaultValue:function(){return!1}}}, | |
O:{}};var sAa={kNa:0,jNa:1,hNa:2,gNa:3,iNa:4,fNa:5,$isProtoEnum:!0};var tAa={pOa:0,oOa:1,qOa:2,nOa:3,$isProtoEnum:!0};z.p(iq,z.K);iq.prototype.F=function(){return""};iq.prototype.H=function(){return""};iq.prototype.L=function(){return iq.prototype};iq.prototype.D={name:"SequenceColorPalette",N:!1,fields:{defaultBackgroundSpectrum:{name:"defaultBackgroundSpectrum",g:function(){return z.op},h:1},tintBackgroundSpectrum:{name:"tintBackgroundSpectrum",g:function(){return z.op},h:2},highlightSpectrum:{name:"highlightSpectrum",g:function(){return z.op},h:3}},O:{}};z.NI={Fka:0,Gka:1,$isProtoEnum:!0};z.OI={a5:0,CS:1,$isProtoEnum:!0};z.p(z.jq,z.K);z.f=z.jq.prototype;z.f.F=function(){return z.H(this,"sequenceId")};z.f.H=function(){return"Sequence"};z.f.pj=function(){return z.H(this,"sequenceId")};z.f.Uc=z.h(211);z.f.Kc=z.h(50);z.f.Kx=z.h(302);z.f.jb=function(){return z.H(this,"title")};z.f.ec=function(a){return z.I(this,"title",a)};z.f.Mc=z.h(269);z.f.ae=z.h(278);z.f.Lc=z.h(118);z.f.ud=z.h(131);z.f.DP=function(){return z.H(this,"color")}; | |
z.f.dd=function(a){return z.I(this,"color",a)};z.f.tj=function(){return z.H(this,"visibility")};z.f.ih=z.h(307);z.f.f3=z.h(308);z.f.Xe=z.h(157);z.f.P2=z.h(309);z.f.L=function(){return z.jq.prototype}; | |
z.f.D={name:"Sequence",N:!1,fields:{sequenceId:{name:"sequenceId",g:z.U,h:1},slug:{name:"slug",g:z.U,h:2},createdAt:{name:"createdAt",g:z.V,h:3},deletedAt:{name:"deletedAt",g:z.V,h:4},catalogId:{name:"catalogId",isRemoved:z.T},isFinished:{name:"isFinished",isRemoved:z.T},coverImage:{name:"coverImage",g:function(){return z.ep},yQ:z.T,h:7},title:{name:"title",g:z.U,h:8},subtitle:{name:"subtitle",g:z.U,h:9},description:{name:"description",g:z.U,h:10},color:{name:"color",g:z.U,h:11},aboutText:{name:"aboutText", | |
g:function(){return z.Hp},aa:z.T,h:12},palette:{name:"palette",g:function(){return iq},h:13},bgColor:{name:"bgColor",g:z.U,h:14},visibility:{name:"visibility",g:function(){return z.NI},h:15},postLabelMode:{name:"postLabelMode",g:function(){return z.OI},h:16},postIds:{name:"postIds",g:z.U,aa:z.T,h:17},tabletImage:{name:"tabletImage",g:function(){return z.ep},yQ:z.T,h:18},thumbnailImage:{name:"thumbnailImage",g:function(){return z.ep},yQ:z.T,h:19},eyebrow:{name:"eyebrow",g:z.U,h:20},featuredUserTitle:{name:"featuredUserTitle", | |
g:z.U,h:21},featuredUserCustomBio:{name:"featuredUserCustomBio",g:z.U,h:22},hideIndex:{name:"hideIndex",g:z.W,h:23},featuredUserId:{name:"featuredUserId",g:z.U,h:24},featuredUser:{name:"featuredUser",g:function(){return z.kp},h:25},updatedAt:{name:"updatedAt",g:z.V,h:26},shouldProxyCoverImage:{name:"shouldProxyCoverImage",g:z.W,h:27}},O:{}};var uAa;z.PI={PMa:0,XS:1,fRa:10,sRa:11,TJa:12,wOa:13,Yka:14,VNa:15,rHa:16,UNa:17,lRa:18,hRa:19,ika:2,iRa:20,tRa:21,jRa:22,rRa:23,kRa:24,QSa:25,SSa:26,USa:27,TSa:28,gka:29,rka:3,hka:30,aT:31,O5:32,qka:33,ska:34,cla:35,LQa:36,IPa:37,ESa:38,BNa:39,P5:4,bla:40,Zka:41,mRa:42,Vja:43,Tja:44,Uja:45,SGa:46,wIa:47,uIa:48,bia:49,Xka:5,aia:50,$ha:51,OKa:52,BMa:53,tIa:54,$ka:55,vIa:56,jKa:57,MHa:58,HPa:59,nRa:6,Hha:60,xOa:61,gJa:62,rJa:63,RSa:64,oRa:7,pRa:8,qRa:9,$isProtoEnum:!0}; | |
uAa={sIa:1,PKa:10,tPa:11,wHa:12,uPa:13,TNa:14,jJa:15,sJa:2,lOa:3,gRa:4,JPa:5,SJa:6,LOa:7,aE:8,XLa:9,$isProtoEnum:!0};z.p(z.kq,z.K);z.f=z.kq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Ed=function(){return z.H(this,"path")};z.f.tk=function(a){return z.I(this,"path",a)};z.f.L=function(){return z.kq.prototype};z.f.D={name:"Paging",N:!1,fields:{path:{name:"path",g:z.U,h:1},previous:{name:"previous",g:function(){return z.lq},h:2},next:{name:"next",g:function(){return z.lq},h:3},method:{name:"method",g:z.U,h:4}},O:{}};z.p(z.lq,z.K);z.f=z.lq.prototype;z.f.F=function(){return""};z.f.H=function(){return""}; | |
z.f.Bj=z.h(144);z.f.MB=function(){return z.H(this,"filter")};z.f.iJ=function(a){return z.I(this,"filter",a)};z.f.d3=z.h(310);z.f.xb=z.h(105);z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.L=function(){return z.lq.prototype}; | |
z.f.D={name:"PageParams",N:!1,fields:{limit:{name:"limit",g:z.V,h:1},from:{name:"from",g:z.U,h:2},to:{name:"to",g:z.U,h:3},source:{name:"source",g:z.U,h:4},ignoredIds:{name:"ignoredIds",g:z.U,aa:z.T,h:5},page:{name:"page",g:z.V,h:6},pageSize:{name:"pageSize",g:z.V,h:7},filter:{name:"filter",g:z.U,h:8},order:{name:"order",g:z.U,h:9},collectionId:{name:"collectionId",g:z.U,h:10},bucketType:{name:"bucketType",g:z.U,h:11},sortBy:{name:"sortBy",g:z.U,h:12},userId:{name:"userId",g:z.U,h:13},indexOffset:{name:"indexOffset", | |
g:z.V,h:14}},O:{}};z.vAa={NIa:0,SKa:1,SIa:2,PIa:3,QIa:4,RIa:5,OIa:6,TIa:7,MIa:8,LIa:9,$isProtoEnum:!0};z.QI={wQa:1,vQa:2,uQa:3,yQa:4,tQa:5,AQa:6,BQa:7,xQa:8,zQa:9,$isProtoEnum:!0};z.p(z.mq,z.K);z.f=z.mq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.$j=function(){return z.H(this,"username")};z.f.oc=z.h(63);z.f.Nd=function(a){return z.I(this,"image",a)};z.f.L=function(){return z.mq.prototype}; | |
z.f.D={name:"SuggestionReasonUser",N:!1,fields:{userId:{name:"userId",g:z.U,h:1},name:{name:"name",g:z.U,h:2},username:{name:"username",g:z.U,h:3},image:{name:"image",g:function(){return z.dp},h:4}},O:{}};z.p(z.nq,z.K);z.f=z.nq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.xb=z.h(104);z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.Uc=z.h(210);z.f.oc=z.h(62);z.f.Nd=function(a){return z.I(this,"image",a)};z.f.L=function(){return z.nq.prototype}; | |
z.f.D={name:"SuggestionReasonCollection",N:!1,fields:{collectionId:{name:"collectionId",g:z.U,h:1},name:{name:"name",g:z.U,h:2},slug:{name:"slug",g:z.U,h:3},image:{name:"image",g:function(){return z.dp},h:4}},O:{}};z.p(z.oq,z.K);z.f=z.oq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Uc=z.h(209);z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.L=function(){return z.oq.prototype}; | |
z.f.D={name:"SuggestionReasonTag",N:!1,fields:{slug:{name:"slug",g:z.U,h:1},name:{name:"name",g:z.U,h:2}},O:{}};z.p(z.pq,z.K);z.f=z.pq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Uc=z.h(208);z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.L=function(){return z.pq.prototype};z.f.D={name:"SuggestionReasonTopic",N:!1,fields:{topicId:{name:"topicId",g:z.U,h:1},slug:{name:"slug",g:z.U,h:2},name:{name:"name",g:z.U,h:3}},O:{}}; | |
z.p(qq,z.K);qq.prototype.F=function(){return""};qq.prototype.H=function(){return""};qq.prototype.L=function(){return qq.prototype};qq.prototype.D={name:"SuggestionReasonPopchunk",N:!1,fields:{popchunkId:{name:"popchunkId",g:z.U,h:1}},O:{}};z.p(rq,z.K);rq.prototype.F=function(){return""};rq.prototype.H=function(){return""};rq.prototype.L=function(){return rq.prototype}; | |
rq.prototype.D={name:"DismissOption",N:!1,fields:{signalReason:{name:"signalReason",g:function(){return z.vAa},h:1},dismissMessage:{name:"dismissMessage",g:z.U,h:2},entityIds:{name:"entityIds",g:z.U,aa:z.T,h:3}},O:{}};z.p(z.sq,z.K);z.f=z.sq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Zj=z.h(257);z.f.lj=z.h(317);z.f.rj=z.h(324);z.f.ad=z.h(224);z.f.Qn=z.h(327);z.f.L=function(){return z.sq.prototype}; | |
z.f.D={name:"PostSuggestionReason",N:!1,fields:{reason:{name:"reason",g:function(){return z.PI},h:1},collections:{name:"collections",g:function(){return z.nq},aa:z.T,h:2},users:{name:"users",g:function(){return z.mq},aa:z.T,h:3},tags:{name:"tags",g:function(){return z.oq},aa:z.T,h:4},dismissOptions:{name:"dismissOptions",g:function(){return rq},aa:z.T,h:5},descriptionOverride:{name:"descriptionOverride",g:z.U,h:6},topics:{name:"topics",g:function(){return z.pq},aa:z.T,h:7},popchunks:{name:"popchunks", | |
g:function(){return qq},aa:z.T,h:8},windowDuration:{name:"windowDuration",g:z.V,h:9},feedId:{name:"feedId",g:z.U,h:10}},O:{}};z.p(z.tq,z.K);z.f=z.tq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.g=function(){return z.H(this,"type")};z.f.Za=function(a){return z.I(this,"type",a)};z.f.ne=function(){return z.H(this,"topic")};z.f.L=function(){return z.tq.prototype}; | |
z.f.D={name:"UserSuggestionReason",N:!1,fields:{followeesWhoFollow:{name:"followeesWhoFollow",g:function(){return z.uq},wa:z.T,na:function(){return 0},h:1},curated:{name:"curated",g:function(){return vq},wa:z.T,na:function(){return 0},h:2},interestGraph:{name:"interestGraph",g:function(){return z.wq},wa:z.T,na:function(){return 0},h:3},deepSocialGraph:{name:"deepSocialGraph",g:function(){return xq},wa:z.T,na:function(){return 0},h:4},type:{name:"type",g:function(){return z.QI},h:5},topic:{name:"topic", | |
g:function(){return z.pq},wa:z.T,na:function(){return 0},h:6}},O:{reason:{name:"reason",na:function(){return 0}}}};z.p(z.uq,z.K);z.f=z.uq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.rj=z.h(323);z.f.L=function(){return z.uq.prototype};z.f.D={name:"FolloweesWhoFollow",N:!1,fields:{users:{name:"users",g:function(){return z.mq},aa:z.T,h:1}},O:{}};z.p(vq,z.K);vq.prototype.F=function(){return""};vq.prototype.H=function(){return""};vq.prototype.L=function(){return vq.prototype}; | |
vq.prototype.D={name:"UserSuggestionReasonCurated",N:!1,fields:{},O:{}};z.p(z.wq,z.K);z.f=z.wq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.ad=z.h(223);z.f.L=function(){return z.wq.prototype};z.f.D={name:"UserSuggestionReasonInterestGraph",N:!1,fields:{tags:{name:"tags",g:function(){return z.oq},aa:z.T,h:1}},O:{}};z.p(xq,z.K);xq.prototype.F=function(){return""};xq.prototype.H=function(){return""};xq.prototype.L=function(){return xq.prototype}; | |
xq.prototype.D={name:"UserSuggestionReasonDeepSocialGraph",N:!1,fields:{},O:{}};var wAa={KQa:1,IQa:2,HQa:3,$isProtoEnum:!0};z.p(z.yq,z.K);z.f=z.yq.prototype;z.f.F=function(){return z.H(this,"slug")};z.f.H=function(){return"Tag"};z.f.Uc=z.h(207);z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.ak=function(){return z.H(this,"virtuals")};z.f.getMetadata=function(){return z.H(this,"metadata")};z.f.Nh=function(a){return z.I(this,"metadata",a)};z.f.L=function(){return z.yq.prototype}; | |
z.f.D={name:"Tag",N:!1,fields:{slug:{name:"slug",g:z.U,h:1},name:{name:"name",g:z.U,h:2},postCount:{name:"postCount",g:z.V,h:3},userRelation:{name:"userRelation",g:function(){return z.Gq},h:4},virtuals:{name:"virtuals",g:function(){return Hq},h:5},metadata:{name:"metadata",g:function(){return z.Iq},h:6}},O:{}};z.p(z.Gq,z.K);z.f=z.Gq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.Qg=z.h(165); | |
z.f.LP=function(){return z.H(this,"isFollowing")};z.f.Ky=function(a){return z.I(this,"isFollowing",a)};z.f.L=function(){return z.Gq.prototype};z.f.D={name:"UserTagRelation",N:!1,fields:{userId:{name:"userId",g:z.U,h:1},tagSlug:{name:"tagSlug",g:z.U,h:2},isFollowing:{name:"isFollowing",g:z.W,h:3}},O:{}};z.p(Hq,z.K);z.f=Hq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.LP=function(){return z.H(this,"isFollowing")};z.f.Ky=function(a){return z.I(this,"isFollowing",a)};z.f.L=function(){return Hq.prototype}; | |
z.f.D={name:"TagVirtuals",N:!1,fields:{isFollowing:{name:"isFollowing",g:z.W,h:1},newTopStoriesCount:{name:"newTopStoriesCount",g:z.V,h:2},hasTopWriters:{name:"hasTopWriters",g:z.W,h:3}},O:{}};z.p(z.Iq,z.K);z.f=z.Iq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Kx=z.h(301);z.f.L=function(){return z.Iq.prototype}; | |
z.f.D={name:"TagMetadata",N:!1,fields:{followerCount:{name:"followerCount",g:z.V,h:1},postCount:{name:"postCount",g:z.V,h:2},coverImage:{name:"coverImage",g:function(){return z.ep},h:3}},O:{}};var xAa={$Ka:1,aLa:2,$isProtoEnum:!0};z.p(z.Jq,z.K);z.f=z.Jq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.bv=z.h(331);z.f.L=function(){return z.Jq.prototype};z.f.D={name:"TakeoverGraf",N:!1,fields:{grafName:{name:"grafName",g:z.U,h:1},location:{name:"location",g:function(){return xAa},h:2}},O:{}};var yAa={Z5:0,Y5:1,oT:2,$isProtoEnum:!0};z.p(z.Kq,z.K);z.f=z.Kq.prototype;z.f.F=function(){return z.H(this,"topicId")};z.f.H=function(){return"Topic"};z.f.Uc=z.h(206);z.f.Kc=z.h(49);z.f.oc=z.h(61);z.f.Nd=function(a){return z.I(this,"image",a)};z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.Lc=z.h(117);z.f.ud=z.h(130);z.f.LP=function(){return z.H(this,"isFollowing")};z.f.Ky=function(a){return z.I(this,"isFollowing",a)}; | |
z.f.tj=function(){return z.H(this,"visibility")};z.f.ih=z.h(306);z.f.L=function(){return z.Kq.prototype}; | |
z.f.D={name:"Topic",N:!1,fields:{topicId:{name:"topicId",g:z.U,h:1},slug:{name:"slug",g:z.U,h:2},createdAt:{name:"createdAt",g:z.V,h:3},deletedAt:{name:"deletedAt",g:z.V,h:4},image:{name:"image",g:function(){return z.ep},h:5},name:{name:"name",g:z.U,h:6},description:{name:"description",g:z.U,h:7},isFollowing:{name:"isFollowing",g:z.W,h:8},briefCatalogId:{name:"briefCatalogId",g:z.U,h:9},queueCatalogId:{name:"queueCatalogId",isRemoved:z.T},briefUpdateSchedule:{name:"briefUpdateSchedule",isRemoved:z.T}, | |
lastScheduledBriefUpdateAt:{name:"lastScheduledBriefUpdateAt",isRemoved:z.T},relatedTopics:{name:"relatedTopics",g:function(){return z.Kq},aa:z.T,h:13},visibility:{name:"visibility",g:function(){return yAa},h:14},relatedTags:{name:"relatedTags",g:function(){return z.yq},aa:z.T,h:15}},O:{}};var zAa;z.Em=0;z.RI={uo:z.Em,ed:1,Re:2,$isProtoEnum:!0};z.SI={cLa:0,eLa:1,bLa:2,vz:3,dLa:4,eja:5,fLa:6,$isProtoEnum:!0};zAa={EHa:0,DHa:1,t4:2,$isProtoEnum:!0};z.TI={Bia:1,Cia:2,kja:3,pia:4,qia:5,$isProtoEnum:!0};z.AAa={Gv:1,lS:10,iT:11,kK:2,jK:3,bL:4,bK:5,SK:6,XK:7,xK:8,VHa:9,$isProtoEnum:!0};z.BAa={D5:1,B5:2,G5:3,C5:4,E5:5,F5:6,$isProtoEnum:!0};z.p(z.Lq,z.K);z.f=z.Lq.prototype;z.f.F=function(){return z.H(this,"id")};z.f.H=function(){return"Post"};z.f.nb=function(){return z.H(this,"id")};z.f.Km=function(a){return z.I(this,"id",a)};z.f.Yx=z.h(333);z.f.sm=function(){return z.H(this,"creatorId")};z.f.li=z.h(230);z.f.je=function(){return z.H(this,"creator")}; | |
z.f.Pi=z.h(251);z.f.JH=function(){return z.H(this,"homeCollectionId")};z.f.jb=function(){return z.H(this,"title")};z.f.ec=function(a){return z.I(this,"title",a)};z.f.PB=function(){return z.H(this,"latestVersion")};z.f.Br=function(){return z.H(this,"latestPublishedVersion")};z.f.Kc=z.h(48);z.f.tp=function(){return z.H(this,"firstPublishedAt")};z.f.cb=function(){return z.H(this,"content")};z.f.Fc=z.h(337);z.f.ak=function(){return z.H(this,"virtuals")};z.f.Lx=z.h(199);z.f.$u=z.h(201);z.f.Uc=z.h(205); | |
z.f.OB=z.h(338);z.f.mJ=z.h(339);z.f.U2=z.h(340);z.f.T2=z.h(341);z.f.tj=function(){return z.H(this,"visibility")};z.f.ih=z.h(305);z.f.Y2=z.h(342);z.f.JP=z.h(343);z.f.V2=z.h(344);z.f.Y_=z.h(345);z.f.X2=z.h(346);z.f.bq=z.h(349);z.f.pj=function(){return z.H(this,"sequenceId")};z.f.fh=z.h(356);z.f.KP=z.h(357);z.f.vR=z.h(358);z.f.L=function(){return z.Lq.prototype}; | |
z.f.D={name:"Post",N:!1,fields:{id:{name:"id",g:z.U,h:1},versionId:{name:"versionId",g:z.U,h:2},creatorId:{name:"creatorId",g:z.U,h:3},creator:{name:"creator",g:function(){return z.kp},h:4},homeCollection:{name:"homeCollection",g:function(){return z.Vp},h:5},homeCollectionId:{name:"homeCollectionId",g:z.U,h:6},intendedCollectionId:{name:"intendedCollectionId",g:z.U,h:7},title:{name:"title",g:z.U,h:8},detectedLanguage:{name:"detectedLanguage",g:z.U,h:9},latestVersion:{name:"latestVersion",g:z.U,h:10}, | |
latestPublishedVersion:{name:"latestPublishedVersion",g:z.U,h:11},isPublished:{name:"isPublished",isRemoved:z.T},hasUnpublishedEdits:{name:"hasUnpublishedEdits",g:z.W,h:13},latestRev:{name:"latestRev",g:z.V,h:14},createdAt:{name:"createdAt",g:z.V,h:15},updatedAt:{name:"updatedAt",g:z.V,h:16},acceptedAt:{name:"acceptedAt",g:z.V,h:17},firstPublishedAt:{name:"firstPublishedAt",g:z.V,h:18},latestPublishedAt:{name:"latestPublishedAt",g:z.V,h:19},isRead:{name:"isRead",isRemoved:z.T},vote:{name:"vote",g:z.W, | |
h:21},experimentalCss:{name:"experimentalCss",g:z.U,h:22},displayAuthor:{name:"displayAuthor",g:z.U,h:23},content:{name:"content",g:function(){return z.hq},h:24},media:{name:"media",isRemoved:z.T},virtuals:{name:"virtuals",g:function(){return z.Nq},h:26},providerName:{name:"providerName",isRemoved:z.T},reasons:{name:"reasons",isRemoved:z.T},ranking:{name:"ranking",isRemoved:z.T},weight:{name:"weight",isRemoved:z.T},magnitude:{name:"magnitude",isRemoved:z.T},coverless:{name:"coverless",g:z.W,h:32}, | |
slug:{name:"slug",g:z.U,h:33},translationSourcePostId:{name:"translationSourcePostId",g:z.U,h:34},translationSourceCreatorId:{name:"translationSourceCreatorId",g:z.U,h:35},translationSourceCreator:{name:"translationSourceCreator",g:function(){return z.kp},h:36},isApprovedTranslation:{name:"isApprovedTranslation",g:z.W,h:37},inResponseToPostId:{name:"inResponseToPostId",g:z.U,h:38},inResponseToPost:{name:"inResponseToPost",g:function(){return z.Lq},h:39},inResponseToRemovedAt:{name:"inResponseToRemovedAt", | |
g:z.V,h:40},isTitleSynthesized:{name:"isTitleSynthesized",g:z.W,h:41},allowResponses:{name:"allowResponses",g:z.W,h:42},importedUrl:{name:"importedUrl",g:z.U,h:43},importedPublishedAt:{name:"importedPublishedAt",g:z.V,h:44},visibility:{name:"visibility",g:function(){return z.RI},h:45},contentType:{name:"contentType",isRemoved:z.T},isViewed:{name:"isViewed",isRemoved:z.T},uniqueSlug:{name:"uniqueSlug",g:z.U,h:48},previewContent:{name:"previewContent",g:function(){return z.cq},h:49},license:{name:"license", | |
g:function(){return pAa},h:50},inResponseToMediaResourceId:{name:"inResponseToMediaResourceId",g:z.U,h:51},canonicalUrl:{name:"canonicalUrl",g:z.U,h:52},inResponseToMediaResource:{name:"inResponseToMediaResource",g:function(){return z.gq},h:53},approvedHomeCollectionId:{name:"approvedHomeCollectionId",g:z.U,h:54},approvedHomeCollection:{name:"approvedHomeCollection",g:function(){return z.Vp},h:55},isNewsletter:{name:"isNewsletter",g:z.W,h:56},newsletterId:{name:"newsletterId",g:z.U,h:57},suggestionReason:{name:"suggestionReason", | |
g:function(){return z.sq},h:58},isGeneratedSurrogate:{name:"isGeneratedSurrogate",isRemoved:z.T},canonicalMediaResourceId:{name:"canonicalMediaResourceId",isRemoved:z.T},canonicalMediaResource:{name:"canonicalMediaResource",isRemoved:z.T},webCanonicalUrl:{name:"webCanonicalUrl",g:z.U,h:62},mediumUrl:{name:"mediumUrl",g:z.U,h:63},promotion:{name:"promotion",isRemoved:z.T},migrationId:{name:"migrationId",g:z.U,h:65},notifyFollowers:{name:"notifyFollowers",g:z.W,h:66,defaultValue:function(){return!0}}, | |
notifyTwitter:{name:"notifyTwitter",g:z.W,h:67,defaultValue:function(){return!1}},isSponsored:{name:"isSponsored",g:z.W,h:68},isRequestToPubDisabled:{name:"isRequestToPubDisabled",g:z.W,h:69},notifyFacebook:{name:"notifyFacebook",g:z.W,h:70,defaultValue:function(){return!1}},responseHiddenOnParentPostAt:{name:"responseHiddenOnParentPostAt",g:z.V,h:71},isSeries:{name:"isSeries",g:z.W,h:72},crexLineItemId:{name:"crexLineItemId",isRemoved:z.T},crexLineItem:{name:"crexLineItem",isRemoved:z.T},isSubscriptionLocked:{name:"isSubscriptionLocked", | |
g:z.W,h:75},seriesLastAppendedAt:{name:"seriesLastAppendedAt",g:z.V,h:76},audioVersionUrl:{name:"audioVersionUrl",g:z.U,h:77},audioVersionDurationSec:{name:"audioVersionDurationSec",g:z.V,h:78},sequenceId:{name:"sequenceId",g:z.U,h:79},sequence:{name:"sequence",g:function(){return z.jq},h:80},isNsfw:{name:"isNsfw",g:z.W,h:81},premiumTier:{name:"premiumTier",isRemoved:z.T},isEligibleForRevenue:{name:"isEligibleForRevenue",g:z.W,h:83},isBlockedFromHightower:{name:"isBlockedFromHightower",g:z.W,h:84}, | |
deletedAt:{name:"deletedAt",g:z.V,h:85},lockedPostSource:{name:"lockedPostSource",g:function(){return z.SI},h:86,defaultValue:function(){return 0}},hightowerMinimumGuaranteeStartsAt:{name:"hightowerMinimumGuaranteeStartsAt",g:z.V,h:87},hightowerMinimumGuaranteeEndsAt:{name:"hightowerMinimumGuaranteeEndsAt",g:z.V,h:88},featureLockRequestAcceptedAt:{name:"featureLockRequestAcceptedAt",g:z.V,h:89},featureLockRequestMinimumGuaranteeAmount:{name:"featureLockRequestMinimumGuaranteeAmount",g:z.V,h:90},isElevate:{name:"isElevate", | |
g:z.W,h:91},featureLockRequestMinimumGuaranteeAcceptanceWindowEndsAt:{name:"featureLockRequestMinimumGuaranteeAcceptanceWindowEndsAt",g:z.V,h:92},mongerRequestType:{name:"mongerRequestType",g:function(){return z.TI},h:93},layerCake:{name:"layerCake",g:function(){return sAa},h:94},socialTitle:{name:"socialTitle",g:z.U,h:95},socialDek:{name:"socialDek",g:z.U,h:96},editorialPreviewTitle:{name:"editorialPreviewTitle",g:z.U,h:97},editorialPreviewDek:{name:"editorialPreviewDek",g:z.U,h:98},editorialPreviewImageMetadata:{name:"editorialPreviewImageMetadata", | |
g:function(){return z.ep},h:100}},O:{}};z.p(z.Nq,z.K);z.f=z.Nq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.FH=function(){return z.H(this,"allowNotes")};z.f.Eh=z.h(296);z.f.Aj=z.h(299);z.f.dda=function(){return z.H(this,"wordCount")};z.f.Uca=function(){return z.H(this,"imageCount")};z.f.QP=function(){return z.H(this,"readingTime")};z.f.Mc=z.h(268);z.f.ae=z.h(277);z.f.lga=function(a){return z.I(this,"noIndex",a)};z.f.RP=function(){return z.H(this,"recommends")}; | |
z.f.xR=function(a){return z.I(this,"recommends",a)};z.f.ad=z.h(221);z.f.X_=function(){return z.H(this,"isLockedPreviewOnly")};z.f.k3=z.h(359);z.f.Fi=z.h(290);z.f.cq=z.h(292);z.f.Fh=z.h(361);z.f.Qn=z.h(326);z.f.L=function(){return z.Nq.prototype}; | |
z.f.D={name:"PostVirtuals",N:!1,fields:{currentCollectionId:{name:"currentCollectionId",isRemoved:z.T},statusForCollection:{name:"statusForCollection",g:z.U,h:2},createdAtRelative:{name:"createdAtRelative",isRemoved:z.T},updatedAtRelative:{name:"updatedAtRelative",isRemoved:z.T},acceptedAtRelative:{name:"acceptedAtRelative",isRemoved:z.T},createdAtEnglish:{name:"createdAtEnglish",isRemoved:z.T},updatedAtEnglish:{name:"updatedAtEnglish",isRemoved:z.T},acceptedAtEnglish:{name:"acceptedAtEnglish",isRemoved:z.T}, | |
firstPublishedAtEnglish:{name:"firstPublishedAtEnglish",isRemoved:z.T},latestPublishedAtEnglish:{name:"latestPublishedAtEnglish",isRemoved:z.T},allowNotes:{name:"allowNotes",g:z.W,h:11},languageTier:{name:"languageTier",isRemoved:z.T},snippet:{name:"snippet",isRemoved:z.T},previewImage:{name:"previewImage",g:function(){return z.fp},h:14},wordCount:{name:"wordCount",g:z.V,h:15},imageCount:{name:"imageCount",g:z.V,h:16},readingTime:{name:"readingTime",g:z.V,h:17},draftSnippet:{name:"draftSnippet",isRemoved:z.T}, | |
subtitle:{name:"subtitle",g:z.U,h:19},userPostRelation:{name:"userPostRelation",g:function(){return jp},h:20},isOnReadingList:{name:"isOnReadingList",g:z.W,h:21},postedIn:{name:"postedIn",isRemoved:z.T},publishedInCount:{name:"publishedInCount",g:z.V,h:23},usersBySocialRecommends:{name:"usersBySocialRecommends",g:function(){return z.kp},aa:z.T,h:24},notesBySocialRecommends:{name:"notesBySocialRecommends",isRemoved:z.T},noIndex:{name:"noIndex",g:z.W,h:26},proposedAtRelative:{name:"proposedAtRelative", | |
isRemoved:z.T},latestPublishedAtAbbreviated:{name:"latestPublishedAtAbbreviated",isRemoved:z.T},firstPublishedAtAbbreviated:{name:"firstPublishedAtAbbreviated",isRemoved:z.T},emailSnippet:{name:"emailSnippet",isRemoved:z.T},recommends:{name:"recommends",g:z.V,h:31},featuredRecommendNoteId:{name:"featuredRecommendNoteId",isRemoved:z.T},featuredRecommendNote:{name:"featuredRecommendNote",isRemoved:z.T},socialRecommends:{name:"socialRecommends",g:function(){return Pq},aa:z.T,h:34},addedToFeedAt:{name:"addedToFeedAt", | |
g:z.V,h:35},isBookmarked:{name:"isBookmarked",g:z.W,h:36},tags:{name:"tags",g:function(){return z.yq},aa:z.T,h:37},socialRecommendsCount:{name:"socialRecommendsCount",g:z.V,h:38},responsesCreatedCount:{name:"responsesCreatedCount",g:z.V,h:39},streamSection:{name:"streamSection",g:z.U,h:40},isBubbled:{name:"isBubbled",g:z.W,h:41},proposedAt:{name:"proposedAt",isRemoved:z.T},links:{name:"links",g:function(){return dq},h:43},isLockedPreviewOnly:{name:"isLockedPreviewOnly",g:z.W,h:44},isRequestToPubDisabled:{name:"isRequestToPubDisabled", | |
g:z.W,h:45},takeoverId:{name:"takeoverId",g:z.U,h:46},takeoverGrafs:{name:"takeoverGrafs",g:function(){return z.Jq},aa:z.T,h:47},metaDescription:{name:"metaDescription",g:z.U,h:48},totalClapCount:{name:"totalClapCount",g:z.V,h:49},isArchived:{name:"isArchived",isRemoved:z.T},sectionCount:{name:"sectionCount",g:z.V,h:51},readingList:{name:"readingList",g:function(){return tAa},h:52},staffQualityScore:{name:"staffQualityScore",isRemoved:z.T},topics:{name:"topics",g:function(){return z.Kq},aa:z.T,h:54}}, | |
O:{}};z.p(Pq,z.K);z.f=Pq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Zb=function(){return z.H(this,"user")};z.f.pe=function(a){return z.I(this,"user",a)};z.f.L=function(){return Pq.prototype};z.f.D={name:"SocialRecommend",N:!1,fields:{user:{name:"user",g:function(){return z.kp},h:1},note:{name:"note",isRemoved:z.T}},O:{}};z.p(Qq,z.K);Qq.prototype.F=function(){return""};Qq.prototype.H=function(){return""};Qq.prototype.L=function(){return Qq.prototype}; | |
Qq.prototype.D={name:"PostTranslation",N:!1,fields:{language:{name:"language",g:z.U,h:1},translationPostId:{name:"translationPostId",g:z.U,h:2},approvedAt:{name:"approvedAt",g:z.V,h:3},approvedByUserId:{name:"approvedByUserId",g:z.U,h:4}},O:{}};z.p(z.Rq,z.K);z.f=z.Rq.prototype;z.f.F=function(){return z.H(this,"postId")};z.f.H=function(){return""};z.f.va=function(){return z.H(this,"postId")};z.f.Eb=function(a){return z.I(this,"postId",a)};z.f.sm=function(){return z.H(this,"creatorId")};z.f.li=z.h(229); | |
z.f.je=function(){return z.H(this,"creator")};z.f.Pi=z.h(250);z.f.xb=z.h(103);z.f.Kb=function(){return z.H(this,"collection")};z.f.tp=function(){return z.H(this,"firstPublishedAt")};z.f.L=function(){return z.Rq.prototype}; | |
z.f.D={name:"PostTranslationSource",N:!1,fields:{postId:{name:"postId",g:z.U,h:1},creatorId:{name:"creatorId",g:z.U,h:2},creator:{name:"creator",g:function(){return z.mp},h:3,tf:function(){return"creatorId"}},displayAuthor:{name:"displayAuthor",g:z.U,h:4},collectionId:{name:"collectionId",g:z.U,h:5},collection:{name:"collection",g:function(){return z.Zp},h:6,tf:function(){return"collectionId"}},firstPublishedAt:{name:"firstPublishedAt",g:z.U,h:7},firstPublishedAtAbbreviated:{name:"firstPublishedAtAbbreviated", | |
isRemoved:z.T}},O:{}};z.p(z.Sq,z.K);z.f=z.Sq.prototype;z.f.F=function(){return z.H(this,"catalogId")};z.f.H=function(){return"Catalog"};z.f.Ne=z.h(374);z.f.sm=function(){return z.H(this,"creatorId")};z.f.li=z.h(228);z.f.Kc=z.h(47);z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.Lc=z.h(116);z.f.ud=z.h(129);z.f.oc=z.h(60);z.f.Nd=function(a){return z.I(this,"image",a)};z.f.je=function(){return z.H(this,"creator")};z.f.Pi=z.h(249);z.f.tj=function(){return z.H(this,"visibility")}; | |
z.f.ih=z.h(304);z.f.X_=function(){return z.H(this,"isLockedPreviewOnly")};z.f.L=function(){return z.Sq.prototype}; | |
z.f.D={name:"Catalog",N:!1,fields:{catalogId:{name:"catalogId",g:z.U,h:1},creatorId:{name:"creatorId",g:z.U,h:2},createdAt:{name:"createdAt",g:z.V,h:3},name:{name:"name",g:z.U,h:4},description:{name:"description",g:z.U,h:5},image:{name:"image",g:function(){return z.ep},h:6},creator:{name:"creator",g:function(){return z.kp},h:7},deletedAt:{name:"deletedAt",g:z.V,h:8},itemCount:{name:"itemCount",g:z.V,h:9},catalogUrl:{name:"catalogUrl",g:z.U,h:10},itemsLastInsertedAt:{name:"itemsLastInsertedAt",g:z.V, | |
h:11},visibility:{name:"visibility",g:function(){return zAa},h:12},isLockedPreviewOnly:{name:"isLockedPreviewOnly",g:z.W,h:13}},O:{}};var CAa={kHa:1,YIa:2,ZIa:3,FPa:4,GPa:5,$isProtoEnum:!0};z.p(Tq,z.K);z.f=Tq.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.setVersion=function(a){return z.I(this,"version",a)};z.f.L=function(){return Tq.prototype}; | |
z.f.D={name:"UserAgentCapabilities",N:!1,fields:{browser:{name:"browser",g:z.U,h:1},family:{name:"family",g:z.U,h:2},os:{name:"os",g:z.U,h:3},version:{name:"version",g:z.U,h:4},supportsDesktopEdit:{name:"supportsDesktopEdit",g:z.W,h:5},supportsMobileEdit:{name:"supportsMobileEdit",g:z.W,h:6},supportsInteract:{name:"supportsInteract",g:z.W,h:7},supportsView:{name:"supportsView",g:z.W,h:8},isMobile:{name:"isMobile",g:z.W,h:9},isTablet:{name:"isTablet",g:z.W,h:10},isNative:{name:"isNative",g:z.W,h:11}, | |
supportsFileAPI:{name:"supportsFileAPI",g:z.W,h:12},supportsFullImageSections:{name:"supportsFullImageSections",isRemoved:z.T},isTier1:{name:"isTier1",g:z.W,h:15},clientVersion:{name:"clientVersion",g:z.U,h:16},unknownParagraphsBad:{name:"unknownParagraphsBad",g:z.W,h:17},clientChannel:{name:"clientChannel",g:z.U,h:18},supportsRealScrollEvents:{name:"supportsRealScrollEvents",g:z.W,h:19},supportsVhUnits:{name:"supportsVhUnits",g:z.W,h:20},ruinsViewportSections:{name:"ruinsViewportSections",g:z.W, | |
h:21},supportsSignIn:{name:"supportsSignIn",g:z.W,h:22},supportsHtml5Video:{name:"supportsHtml5Video",g:z.W,h:23},supportsMagicUnderlines:{name:"supportsMagicUnderlines",g:z.W,h:24},isFacebook:{name:"isFacebook",g:z.W,h:25},isWebView:{name:"isWebView",g:z.W,h:26},isFacebookWebView:{name:"isFacebookWebView",g:z.W,h:27},supportsSvgExternalResources:{name:"supportsSvgExternalResources",isRemoved:z.T},supportsScrollableMetabar:{name:"supportsScrollableMetabar",isRemoved:z.T},supportsProgressiveMedia:{name:"supportsProgressiveMedia", | |
g:z.W,h:30},isGoogle:{name:"isGoogle",isRemoved:z.T},isApple:{name:"isApple",isRemoved:z.T},supportsPromotedPosts:{name:"supportsPromotedPosts",g:z.W,h:33},isBing:{name:"isBing",isRemoved:z.T},isYahoo:{name:"isYahoo",isRemoved:z.T},isTwitter:{name:"isTwitter",isRemoved:z.T},isBaidu:{name:"isBaidu",isRemoved:z.T},isSlack:{name:"isSlack",isRemoved:z.T},isSimplePie:{name:"isSimplePie",isRemoved:z.T},isYandex:{name:"isYandex",isRemoved:z.T},isBot:{name:"isBot",g:z.W,h:41},isSocialMediaBot:{name:"isSocialMediaBot", | |
isRemoved:z.T},isNativeIphone:{name:"isNativeIphone",g:z.W,h:43},supportsCssVariables:{name:"supportsCssVariables",g:z.W,h:44},supportsVideoSections:{name:"supportsVideoSections",g:z.W,h:45},emojiSupportLevel:{name:"emojiSupportLevel",g:function(){return CAa},h:46},isSearchBot:{name:"isSearchBot",g:z.W,h:47},isSyndicationBot:{name:"isSyndicationBot",g:z.W,h:48}},O:{}};z.p(z.lr,z.K);z.f=z.lr.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.getKey=function(){return z.H(this,"key")};z.f.VB=z.h(377);z.f.il=function(){return z.H(this,"scope")};z.f.pJ=function(a){return z.I(this,"scope",a)};z.f.L=function(){return z.lr.prototype}; | |
z.f.D={name:"FacebookConfig",N:!1,fields:{key:{name:"key",g:z.U,h:1},secret:{name:"secret",g:z.U,h:2},token:{name:"token",g:z.U,h:3},namespace:{name:"namespace",g:z.U,h:4},scope:{name:"scope",g:function(){return mr},h:5},smartPublishWhitelistedPublications:{name:"smartPublishWhitelistedPublications",g:z.U,aa:z.T,h:6},instantArticles:{name:"instantArticles",g:function(){return nr},h:7}},O:{}};z.p(mr,z.K);mr.prototype.F=function(){return""};mr.prototype.H=function(){return""};mr.prototype.L=function(){return mr.prototype}; | |
mr.prototype.D={name:"FacebookScope",N:!1,fields:{default:{name:"default",g:z.U,aa:z.T,h:1},connect:{name:"connect",g:z.U,aa:z.T,h:2},login:{name:"login",g:z.U,aa:z.T,h:3},share:{name:"share",g:z.U,aa:z.T,h:4}},O:{}};z.p(nr,z.K);nr.prototype.F=function(){return""};nr.prototype.H=function(){return""};nr.prototype.L=function(){return nr.prototype}; | |
nr.prototype.D={name:"FacebookInstantArticlesConfig",N:!1,fields:{published:{name:"published",g:z.W,h:1},developmentMode:{name:"developmentMode",g:z.W,h:2}},O:{}};z.p(z.or,z.K);z.or.prototype.F=function(){return""};z.or.prototype.H=function(){return""};z.or.prototype.L=function(){return z.or.prototype}; | |
z.or.prototype.D={name:"PreviewConfig",N:!1,fields:{weightThreshold:{name:"weightThreshold",g:z.V,h:1,defaultValue:function(){return 1}},overflowMultiplier:{name:"overflowMultiplier",g:z.V,h:2,defaultValue:function(){return 1.33}},weightImageParagraph:{name:"weightImageParagraph",g:z.V,h:3,defaultValue:function(){return.51}},weightIframeParagraph:{name:"weightIframeParagraph",g:z.V,h:4,defaultValue:function(){return.8}},weightTextParagraph:{name:"weightTextParagraph",g:z.V,h:5,defaultValue:function(){return.08}}, | |
weightEmptyParagraph:{name:"weightEmptyParagraph",g:z.V,h:6,defaultValue:function(){return 0}},weightP:{name:"weightP",g:z.V,h:7,defaultValue:function(){return.003}},weightH:{name:"weightH",g:z.V,h:8,defaultValue:function(){return.005}},weightBq:{name:"weightBq",g:z.V,h:9,defaultValue:function(){return.003}},minPTextLength:{name:"minPTextLength",g:z.V,h:10,defaultValue:function(){return 60}},truncateBoundaryChars:{name:"truncateBoundaryChars",g:z.V,h:11,defaultValue:function(){return 20}},detectTitle:{name:"detectTitle", | |
g:z.W,h:12,defaultValue:function(){return!0}},detectTitleLevThreshold:{name:"detectTitleLevThreshold",g:z.V,h:13,defaultValue:function(){return.15}},experimentImagesInsetCenter:{name:"experimentImagesInsetCenter",isRemoved:z.T},isImageInsetLeft:{name:"isImageInsetLeft",isRemoved:z.T},raiseImage:{name:"raiseImage",g:z.W,h:16},tryTableLayout:{name:"tryTableLayout",isRemoved:z.T},enforceHeaderHierarchy:{name:"enforceHeaderHierarchy",g:z.W,h:18},isImageInsetRight:{name:"isImageInsetRight",g:z.W,h:19}}, | |
O:{}};var DAa={INTERNAL:1,SOa:2,KPa:3,CMa:4,jia:5,lMa:6,GKa:7,tka:8,bS:9,$isProtoEnum:!0};z.p(pr,z.K);pr.prototype.F=function(){return""};pr.prototype.H=function(){return""};pr.prototype.L=function(){return pr.prototype}; | |
pr.prototype.D={name:"IJDataBase",N:!1,fields:{audioUrl:{name:"audioUrl",g:z.U,h:1},baseUrl:{name:"baseUrl",g:z.U,h:2},bestOfFirstSlug:{name:"bestOfFirstSlug",isRemoved:z.T},bestOfLatestSlug:{name:"bestOfLatestSlug",isRemoved:z.T},buildLabel:{name:"buildLabel",g:z.U,h:5},currentUser:{name:"currentUser",g:function(){return z.Br},h:6},currentUserHasUnverifiedEmail:{name:"currentUserHasUnverifiedEmail",g:z.W,h:7},defaultPreviewImage:{name:"defaultPreviewImage",isRemoved:z.T},defaultUserImage:{name:"defaultUserImage", | |
isRemoved:z.T},displayCategories:{name:"displayCategories",isRemoved:z.T},editorTipsAddCoverImage:{name:"editorTipsAddCoverImage",isRemoved:z.T},editorTipsAddMediaImage:{name:"editorTipsAddMediaImage",isRemoved:z.T},editorTipsAddMediaImageStatic:{name:"editorTipsAddMediaImageStatic",isRemoved:z.T},editorTipsEmbedImageStatic:{name:"editorTipsEmbedImageStatic",isRemoved:z.T},editorTipsShareDraftImage:{name:"editorTipsShareDraftImage",isRemoved:z.T},editorTipsTextHighlightImage:{name:"editorTipsTextHighlightImage", | |
isRemoved:z.T},editorTipsTextHighlightImageStatic:{name:"editorTipsTextHighlightImageStatic",isRemoved:z.T},embedded:{name:"embedded",g:function(){return Object},h:19},facebookKey:{name:"facebookKey",isRemoved:z.T},facebookScope:{name:"facebookScope",isRemoved:z.T},homeImageId:{name:"homeImageId",isRemoved:z.T},importHighlightMenuImage:{name:"importHighlightMenuImage",isRemoved:z.T},importImageHighlightMenuImage:{name:"importImageHighlightMenuImage",isRemoved:z.T},importPublishImage:{name:"importPublishImage", | |
isRemoved:z.T},isAuthenticated:{name:"isAuthenticated",g:z.W,h:26},isCurrentUserVerified:{name:"isCurrentUserVerified",g:z.W,h:27},language:{name:"language",g:z.U,h:28},loadingPlaceholderImg:{name:"loadingPlaceholderImg",isRemoved:z.T},mediumTwitterScreenName:{name:"mediumTwitterScreenName",g:z.U,h:30},miroUrl:{name:"miroUrl",g:z.U,h:31},moduleUrls:{name:"moduleUrls",g:function(){return Object},h:32},onboardingLandscapeFooterImage:{name:"onboardingLandscapeFooterImage",isRemoved:z.T},postColumnWidth:{name:"postColumnWidth", | |
isRemoved:z.T},previewConfig:{name:"previewConfig",g:function(){return z.or},h:36},productName:{name:"productName",g:z.U,h:37},responsesRecommendationThreshold:{name:"responsesRecommendationThreshold",g:z.U,h:38},supportsEdit:{name:"supportsEdit",g:z.W,h:39},termsUrl:{name:"termsUrl",g:z.U,h:40},textshotHost:{name:"textshotHost",g:z.U,h:41},transactionId:{name:"transactionId",g:z.U,h:42},useragent:{name:"useragent",g:function(){return Tq},h:43},variants:{name:"variants",g:function(){return Object}, | |
h:44},xsrfToken:{name:"xsrfToken",g:z.U,h:45},useDynamicScripts:{name:"useDynamicScripts",isRemoved:z.T},clientGlobalsJson:{name:"clientGlobalsJson",g:function(){return Object},h:47},canonicalBaseUrl:{name:"canonicalBaseUrl",isRemoved:z.T},iosAppId:{name:"iosAppId",g:z.U,h:49},supportEmail:{name:"supportEmail",g:z.U,h:50},teamName:{name:"teamName",g:z.U,h:51},fp:{name:"fp",g:function(){return Object},h:53},configLabel:{name:"configLabel",isRemoved:z.T},cssBaseUrl:{name:"cssBaseUrl",isRemoved:z.T}, | |
cssSpriteUrl:{name:"cssSpriteUrl",isRemoved:z.T},cssFontUrl:{name:"cssFontUrl",isRemoved:z.T},googleAnalyticsTrackingCode:{name:"googleAnalyticsTrackingCode",isRemoved:z.T},iconsJsUrl:{name:"iconsJsUrl",isRemoved:z.T},jsShivUrl:{name:"jsShivUrl",isRemoved:z.T},jsUrl:{name:"jsUrl",isRemoved:z.T},facebookNamespace:{name:"facebookNamespace",isRemoved:z.T},highlightAnimationImg:{name:"highlightAnimationImg",isRemoved:z.T},editorTipsEmbedImage:{name:"editorTipsEmbedImage",isRemoved:z.T},bodyHtml:{name:"bodyHtml", | |
g:z.U,h:65},authBaseUrl:{name:"authBaseUrl",g:z.U,h:66},homepageTags:{name:"homepageTags",isRemoved:z.T},imageUploadSizeMb:{name:"imageUploadSizeMb",g:z.U,h:68},buildAbsoluteUrls:{name:"buildAbsoluteUrls",g:z.W,h:69},isAuthDomainRequest:{name:"isAuthDomainRequest",g:z.W,h:70},favIconUrl:{name:"favIconUrl",isRemoved:z.T},domainCollectionSlug:{name:"domainCollectionSlug",g:z.U,h:72},algoliaApiEndpoint:{name:"algoliaApiEndpoint",g:z.U,h:73},algoliaAppId:{name:"algoliaAppId",g:z.U,h:74},algoliaSearchOnlyApiKey:{name:"algoliaSearchOnlyApiKey", | |
g:z.U,h:75},iosAppStoreUrl:{name:"iosAppStoreUrl",g:z.U,h:76},simpleReachId:{name:"simpleReachId",g:z.U,h:77},iosAppLinkBaseUrl:{name:"iosAppLinkBaseUrl",g:z.U,h:78},algoliaIndexPrefix:{name:"algoliaIndexPrefix",g:z.U,h:79},androidPlayStoreUrl:{name:"androidPlayStoreUrl",g:z.U,h:80},googleClientId:{name:"googleClientId",g:z.U,h:81},androidPackage:{name:"androidPackage",g:z.U,h:82},androidPlayStoreMarketScheme:{name:"androidPlayStoreMarketScheme",g:z.U,h:83},googleAuthUri:{name:"googleAuthUri",g:z.U, | |
h:84},androidScheme:{name:"androidScheme",g:z.U,h:85},requestCounters:{name:"requestCounters",isRemoved:z.T},iconsSvgUrl:{name:"iconsSvgUrl",isRemoved:z.T},layoutData:{name:"layoutData",g:function(){return z.Ar},h:89},authBaseUrlRev:{name:"authBaseUrlRev",g:z.U,h:90},isDnt:{name:"isDnt",g:z.W,h:91},stripePublishableKey:{name:"stripePublishableKey",g:z.U,h:92},archiveUploadSizeMb:{name:"archiveUploadSizeMb",g:z.U,h:93},paymentData:{name:"paymentData",g:function(){return Object},h:94},previewConfig2:{name:"previewConfig2", | |
g:function(){return z.or},h:95},isAmp:{name:"isAmp",g:z.W,h:96},iosScheme:{name:"iosScheme",g:z.U,h:97},isSwBoot:{name:"isSwBoot",g:z.W,h:98},lightstep:{name:"lightstep",g:function(){return zr},h:99},facebook:{name:"facebook",g:function(){return z.lr},h:100},mailingListArchiveUploadSizeMb:{name:"mailingListArchiveUploadSizeMb",g:z.U,h:101},availableMembershipPlans:{name:"availableMembershipPlans",isRemoved:z.T},editorsPicksTopicId:{name:"editorsPicksTopicId",g:z.U,h:103},popularOnMediumTopicId:{name:"popularOnMediumTopicId", | |
g:z.U,h:104},memberContentTopicId:{name:"memberContentTopicId",g:z.U,h:105},audioContentTopicId:{name:"audioContentTopicId",g:z.U,h:106},brandedSequenceId:{name:"brandedSequenceId",g:z.U,h:107},cssFontHintedUrl:{name:"cssFontHintedUrl",isRemoved:z.T},cssFontFullUrl:{name:"cssFontFullUrl",isRemoved:z.T},cssFontFullHintedUrl:{name:"cssFontFullHintedUrl",isRemoved:z.T},cssFontTntSetAUrl:{name:"cssFontTntSetAUrl",isRemoved:z.T},cssFontTntSetBUrl:{name:"cssFontTntSetBUrl",isRemoved:z.T},isDoNotAuth:{name:"isDoNotAuth", | |
g:z.W,h:138},goldfinchUrl:{name:"goldfinchUrl",g:z.U,h:139},buggleUrl:{name:"buggleUrl",isRemoved:z.T},buggleAudioUrl:{name:"buggleAudioUrl",isRemoved:z.T},buggle:{name:"buggle",g:function(){return z.np},h:142},referrerType:{name:"referrerType",g:function(){return DAa},h:143},isMeteredOut:{name:"isMeteredOut",g:z.W,h:144},meterConfig:{name:"meterConfig",g:function(){return yr},h:145},partnerProgramEmail:{name:"partnerProgramEmail",g:z.U,h:146},userResearchPrompts:{name:"userResearchPrompts",g:function(){return z.xr}, | |
aa:z.T,h:147},recaptchaKey:{name:"recaptchaKey",g:z.U,h:148},paypalClientMode:{name:"paypalClientMode",g:z.U,h:149},signinWallCustomDomainCollectionIds:{name:"signinWallCustomDomainCollectionIds",g:z.U,aa:z.T,h:150},countryCode:{name:"countryCode",g:z.U,h:151},cryptocurrencyTopicId:{name:"cryptocurrencyTopicId",g:z.U,h:152},selfTopicId:{name:"selfTopicId",g:z.U,h:153},socialMediaTopicId:{name:"socialMediaTopicId",g:z.U,h:154},bypassMeter:{name:"bypassMeter",g:z.W,h:155},branchKey:{name:"branchKey", | |
g:z.U,h:156}},O:{}};z.p(z.xr,z.K);z.f=z.xr.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.g=function(){return z.H(this,"type")};z.f.Za=function(a){return z.I(this,"type",a)};z.f.qj=function(){return z.H(this,"url")};z.f.kf=z.h(9);z.f.L=function(){return z.xr.prototype};z.f.D={name:"UserResearchPromptConfig",N:!1,fields:{promptId:{name:"promptId",g:z.U,h:1},type:{name:"type",g:z.V,h:2},url:{name:"url",g:z.U,h:3}},O:{}};z.p(yr,z.K);yr.prototype.F=function(){return""}; | |
yr.prototype.H=function(){return""};yr.prototype.L=function(){return yr.prototype};yr.prototype.D={name:"MeterConfig",N:!1,fields:{maxUnlockCount:{name:"maxUnlockCount",g:z.V,h:1},windowLength:{name:"windowLength",g:z.U,h:2}},O:{}};z.p(zr,z.K);z.f=zr.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.L_=function(){return z.H(this,"accessToken")};z.f.L=function(){return zr.prototype}; | |
z.f.D={name:"LightstepConfig",N:!1,fields:{accessToken:{name:"accessToken",g:z.U,h:1},carrier:{name:"carrier",g:z.U,h:2},host:{name:"host",g:z.U,h:3}},O:{}};z.p(z.Ar,z.K);z.f=z.Ar.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.jJ=function(a){return z.I(this,"fontSets",a)};z.f.jb=function(){return z.H(this,"title")};z.f.ec=function(a){return z.I(this,"title",a)};z.f.Lc=z.h(115);z.f.ud=z.h(128);z.f.qJ=function(a){return z.I(this,"socialImage",a)};z.f.L=function(){return z.Ar.prototype}; | |
z.f.D={name:"IJLayoutData",N:!1,fields:{useDynamicScripts:{name:"useDynamicScripts",g:z.W,h:1},googleAnalyticsTrackingCode:{name:"googleAnalyticsTrackingCode",g:z.U,h:2},jsUrl:{name:"jsUrl",g:z.U,h:3},jsShivUrl:{name:"jsShivUrl",g:z.U,h:4},cssBaseUrl:{name:"cssBaseUrl",g:z.U,h:5},cssFontUrl:{name:"cssFontUrl",isRemoved:z.T},cssSpriteUrl:{name:"cssSpriteUrl",isRemoved:z.T},iconsJsUrl:{name:"iconsJsUrl",isRemoved:z.T},favIconUrl:{name:"favIconUrl",isRemoved:z.T},cssFontUrls:{name:"cssFontUrls",isRemoved:z.T}, | |
embeddedJson:{name:"embeddedJson",g:z.U,h:11},useDynamicCss:{name:"useDynamicCss",g:z.W,h:12},faviconUrl:{name:"faviconUrl",g:z.U,h:13},liveReloadUrl:{name:"liveReloadUrl",g:z.U,h:14},faviconImageId:{name:"faviconImageId",g:z.U,h:15},fontSets:{name:"fontSets",g:function(){return z.oi},aa:z.T,h:16},editorFaviconUrl:{name:"editorFaviconUrl",g:z.U,h:17},glyphUrl:{name:"glyphUrl",g:z.U,h:18},title:{name:"title",g:z.U,h:19},description:{name:"description",g:z.U,h:20},socialImage:{name:"socialImage",g:z.U, | |
h:21}},O:{}};z.p(z.Br,z.K);z.f=z.Br.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.$j=function(){return z.H(this,"username")};z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.Tca=function(){return z.H(this,"email")};z.f.qu=function(){return z.H(this,"imageId")};z.f.wg=function(a){return z.I(this,"twitterScreenName",a)};z.f.Kc=z.h(46); | |
z.f.FH=function(){return z.H(this,"allowNotes")};z.f.Q_=function(){return z.H(this,"facebookAccountId")};z.f.hJ=z.h(378);z.f.kJ=z.h(56);z.f.Px=z.h(243);z.f.KH=z.h(245);z.f.L=function(){return z.Br.prototype}; | |
z.f.D={name:"IJDataUser",N:!1,fields:{userId:{name:"userId",g:z.U,h:1},username:{name:"username",g:z.U,h:2},flags:{name:"flags",isRemoved:z.T},name:{name:"name",g:z.U,h:6},email:{name:"email",g:z.U,h:7},unverifiedEmail:{name:"unverifiedEmail",g:z.U,h:8},bio:{name:"bio",g:z.U,h:9},salt:{name:"salt",isRemoved:z.T},imageId:{name:"imageId",g:z.U,h:11},backgroundImageId:{name:"backgroundImageId",g:z.U,h:12},twitterAccessToken:{name:"twitterAccessToken",isRemoved:z.T},twitterAccessTokenSecret:{name:"twitterAccessTokenSecret", | |
isRemoved:z.T},twitterId:{name:"twitterId",isRemoved:z.T},twitterScreenName:{name:"twitterScreenName",g:z.U,h:16},twitterAvatar:{name:"twitterAvatar",isRemoved:z.T},createdAt:{name:"createdAt",g:z.V,h:18},updatedAt:{name:"updatedAt",isRemoved:z.T},deactivatedAt:{name:"deactivatedAt",isRemoved:z.T},lastPostCreatedAt:{name:"lastPostCreatedAt",g:z.V,h:21},upvotes:{name:"upvotes",g:z.V,h:23},unvotes:{name:"unvotes",isRemoved:z.T},loggedInReads:{name:"loggedInReads",isRemoved:z.T},loggedInReadsUnique:{name:"loggedInReadsUnique", | |
isRemoved:z.T},loggedOutReads:{name:"loggedOutReads",isRemoved:z.T},loggedInViews:{name:"loggedInViews",isRemoved:z.T},loggedOutViews:{name:"loggedOutViews",isRemoved:z.T},notesCreated:{name:"notesCreated",isRemoved:z.T},followUpsCreated:{name:"followUpsCreated",isRemoved:z.T},blacklistedAt:{name:"blacklistedAt",isRemoved:z.T},blacklistedBy:{name:"blacklistedBy",isRemoved:z.T},writeAccessGrantedAt:{name:"writeAccessGrantedAt",isRemoved:z.T},postsRead:{name:"postsRead",isRemoved:z.T},flaggedSpam:{name:"flaggedSpam", | |
isRemoved:z.T},unflaggedSpam:{name:"unflaggedSpam",isRemoved:z.T},lastTimezoneOffsetMin:{name:"lastTimezoneOffsetMin",isRemoved:z.T},languageCode:{name:"languageCode",isRemoved:z.T},languagesKnown:{name:"languagesKnown",isRemoved:z.T},isTranslator:{name:"isTranslator",isRemoved:z.T},allowEmails:{name:"allowEmails",isRemoved:z.T},allowNotes:{name:"allowNotes",g:z.V,h:51,defaultValue:function(){return 1}},allowSocialEmails:{name:"allowSocialEmails",isRemoved:z.T},allowFollowerEmails:{name:"allowFollowerEmails", | |
isRemoved:z.T},flagInterstitialCollab:{name:"flagInterstitialCollab",isRemoved:z.T},flagInterstitialStories:{name:"flagInterstitialStories",isRemoved:z.T},flagSeenEditor:{name:"flagSeenEditor",isRemoved:z.T},twitterLastImportedAt:{name:"twitterLastImportedAt",isRemoved:z.T},socialDataLastCalculatedAt:{name:"socialDataLastCalculatedAt",isRemoved:z.T},facebookAccountId:{name:"facebookAccountId",g:z.U,h:109},facebookUsername:{name:"facebookUsername",isRemoved:z.T},facebookDisplayName:{name:"facebookDisplayName", | |
g:z.U,h:111},facebookAccessToken:{name:"facebookAccessToken",isRemoved:z.T},isVerified:{name:"isVerified",g:z.W,h:113},signupMethod:{name:"signupMethod",isRemoved:z.T},signupIdentifier:{name:"signupIdentifier",isRemoved:z.T},deletedAt:{name:"deletedAt",isRemoved:z.T},isShadow:{name:"isShadow",g:z.W,h:117},conversionMethod:{name:"conversionMethod",isRemoved:z.T},conversionIdentifier:{name:"conversionIdentifier",isRemoved:z.T},hideExternalServices:{name:"hideExternalServices",g:z.V,h:120},emailBouncedAt:{name:"emailBouncedAt", | |
isRemoved:z.T},featuredPostId:{name:"featuredPostId",g:z.U,h:122},lastSeenIosRatingPromptAt:{name:"lastSeenIosRatingPromptAt",isRemoved:z.T},subscriberEmail:{name:"subscriberEmail",g:z.U,h:124},allowSuggestionsEmails:{name:"allowSuggestionsEmails",isRemoved:z.T},translatorType:{name:"translatorType",g:function(){return cAa},h:127},onboardingStatus:{name:"onboardingStatus",g:function(){return CI},h:128},allowAllEmails:{name:"allowAllEmails",isRemoved:z.T},allowLetterEmails:{name:"allowLetterEmails", | |
isRemoved:z.T},allowProductEmails:{name:"allowProductEmails",isRemoved:z.T},lastOpenedIosApp:{name:"lastOpenedIosApp",isRemoved:z.T},lastOpenedAndroidApp:{name:"lastOpenedAndroidApp",isRemoved:z.T},allowMentionEmails:{name:"allowMentionEmails",isRemoved:z.T},googleAccountId:{name:"googleAccountId",g:z.U,h:139},allowOutreachEmails:{name:"allowOutreachEmails",isRemoved:z.T},activityLastSeenAt:{name:"activityLastSeenAt",isRemoved:z.T},mediumMemberAt:{name:"mediumMemberAt",g:z.V,h:142},mediumMembershipId:{name:"mediumMembershipId", | |
g:z.U,h:143},mediumMemberWaitlistedAt:{name:"mediumMemberWaitlistedAt",isRemoved:z.T},enableChunkyHome:{name:"enableChunkyHome",g:z.V,h:145,defaultValue:function(){return 1}},googleEmail:{name:"googleEmail",g:z.U,h:146},mediumMemberTrialStartedAt:{name:"mediumMemberTrialStartedAt",isRemoved:z.T},mediumMemberTrialEndedAt:{name:"mediumMemberTrialEndedAt",isRemoved:z.T},mediumMemberPaymentSourceAddedAt:{name:"mediumMemberPaymentSourceAddedAt",isRemoved:z.T},mediumMemberTrialDurationDays:{name:"mediumMemberTrialDurationDays", | |
isRemoved:z.T},hasMemberPostLockingAccess:{name:"hasMemberPostLockingAccess",isRemoved:z.T},hasPastMemberships:{name:"hasPastMemberships",g:z.W,h:152,defaultValue:function(){return!1}},isEnrolledInHightower:{name:"isEnrolledInHightower",g:z.W,h:153},isEligibleForHightower:{name:"isEligibleForHightower",g:z.W,h:154},hightowerLastLockedAt:{name:"hightowerLastLockedAt",g:z.V,h:155},isWriterProgramEnrolled:{name:"isWriterProgramEnrolled",g:z.W,h:156},isWriterProgramInvited:{name:"isWriterProgramInvited", | |
g:z.W,h:157},isWriterProgramOptedOut:{name:"isWriterProgramOptedOut",g:z.W,h:158}},O:{}};z.EAa={Xha:1,Yha:2,Wha:3,$isProtoEnum:!0};z.p(Cr,z.K);Cr.prototype.F=function(){return""};Cr.prototype.H=function(){return""};Cr.prototype.L=function(){return Cr.prototype};Cr.prototype.D={name:"PromoColorPalette",N:!1,fields:{defaultBackgroundSpectrum:{name:"defaultBackgroundSpectrum",g:function(){return z.op},h:1},tintBackgroundSpectrum:{name:"tintBackgroundSpectrum",g:function(){return z.op},h:2}},O:{}};var FAa={O4:1,e6:10,f6:11,sia:12,EK:13,Vka:14,Wka:15,qJa:16,Jka:2,nKa:3,RMa:4,QMa:5,N4:6,PHa:7,p4:8,z4:9,$isProtoEnum:!0},GAa={fIa:0,v4:1,$isProtoEnum:!0},HAa={XPa:0,$Pa:1,DSa:10,LSa:11,BSa:12,CSa:13,GSa:14,VSa:15,FSa:16,HSa:17,ISa:18,KSa:19,oQa:2,rQa:3,ZPa:4,aQa:5,YPa:6,NSa:7,JSa:8,MSa:9,$isProtoEnum:!0},IAa={CNa:0,FNa:1,ENa:2,DNa:3,$isProtoEnum:!0},JAa={GNa:0,HNa:1,INa:2,$isProtoEnum:!0},KAa={dS:1,XGa:10,$La:11,jQa:12,eTa:13,qLa:14,IKa:15,$Ga:2,SRa:3,ID:4,rD:5,URa:6,TRa:7,LKa:8,WGa:9,$isProtoEnum:!0}, | |
LAa={JNa:0,ONa:1,NNa:2,LNa:3,MNa:4,KNa:5,$isProtoEnum:!0},MAa={jHa:0,cT:1,$isProtoEnum:!0};z.p(z.Dr,z.K);z.f=z.Dr.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.nj=z.h(75);z.f.Qi=z.h(82);z.f.qu=function(){return z.H(this,"imageId")};z.f.mu=function(){return z.H(this,"backgroundColor")};z.f.Im=function(a){return z.I(this,"backgroundColor",a)};z.f.bv=z.h(330);z.f.Lc=z.h(114);z.f.ud=z.h(127);z.f.g=function(){return z.H(this,"type")};z.f.Za=function(a){return z.I(this,"type",a)}; | |
z.f.setInterval=function(a){return z.I(this,"interval",a)};z.f.me=function(){return z.H(this,"layout")};z.f.Ee=function(a){return z.I(this,"layout",a)};z.f.pj=function(){return z.H(this,"sequenceId")};z.f.fh=z.h(354);z.f.L=function(){return z.Dr.prototype}; | |
z.f.D={name:"Promo",N:!1,fields:{promoId:{name:"promoId",g:z.U,h:1},isDismissable:{name:"isDismissable",g:z.W,h:2},imageId:{name:"imageId",g:z.U,h:3},userSuggestions:{name:"userSuggestions",isRemoved:z.T},collectionSuggestions:{name:"collectionSuggestions",isRemoved:z.T},backgroundColor:{name:"backgroundColor",g:z.U,h:6},streamIndex:{name:"streamIndex",g:z.V,h:7},location:{name:"location",g:function(){return FAa},h:8},header:{name:"header",g:z.U,h:9},description:{name:"description",g:z.U,h:10},ctaText:{name:"ctaText", | |
g:z.U,h:11},ctaUrl:{name:"ctaUrl",g:z.U,h:12},fontFamily:{name:"fontFamily",g:function(){return GAa},h:13},buttonColor:{name:"buttonColor",g:z.U,h:14},buttonFill:{name:"buttonFill",g:z.W,h:15,defaultValue:function(){return!1}},backgroundRepeat:{name:"backgroundRepeat",g:z.W,h:16,defaultValue:function(){return!1}},headerFontSize:{name:"headerFontSize",g:z.V,h:17},descriptionFontSize:{name:"descriptionFontSize",g:z.V,h:18},audience:{name:"audience",g:function(){return KAa},h:19},type:{name:"type",g:function(){return HAa}, | |
h:20},bucketFlag:{name:"bucketFlag",g:z.U,h:21},bucketFlagValue:{name:"bucketFlagValue",g:z.U,h:22},startAt:{name:"startAt",g:z.V,h:23},endAt:{name:"endAt",g:z.V,h:24},interval:{name:"interval",g:z.V,h:25},maxDismissals:{name:"maxDismissals",g:z.V,h:26},variantFlag:{name:"variantFlag",g:z.U,h:27},variantFlagValue:{name:"variantFlagValue",g:z.U,h:28},maxImpressionsPerUser:{name:"maxImpressionsPerUser",g:z.V,h:29},colorPalette:{name:"colorPalette",g:function(){return Cr},h:30},isLightText:{name:"isLightText", | |
g:z.W,h:31},isButtonLightText:{name:"isButtonLightText",g:z.W,h:32},secondaryCtaText:{name:"secondaryCtaText",g:z.U,h:33},secondaryCtaUrl:{name:"secondaryCtaUrl",g:z.U,h:34},platform:{name:"platform",isRemoved:z.T},layout:{name:"layout",g:function(){return MAa},h:36},tiers:{name:"tiers",g:function(){return IAa},aa:z.T,h:37},userState:{name:"userState",g:function(){return JAa},h:38},platforms:{name:"platforms",g:function(){return LAa},aa:z.T,h:39},additionalBehaviorInput:{name:"additionalBehaviorInput", | |
g:z.U,h:40},placementTopicIds:{name:"placementTopicIds",g:z.U,h:41},sequenceId:{name:"sequenceId",g:z.U,h:42},sequence:{name:"sequence",g:function(){return z.jq},h:43}},O:{}};var NAa={DMa:1,IMa:2,EMa:3,FMa:4,GMa:5,HMa:6,JMa:7,$isProtoEnum:!0};z.p(Er,z.K);Er.prototype.F=function(){return""};Er.prototype.H=function(){return""};Er.prototype.L=function(){return Er.prototype};Er.prototype.D={name:"TargetTopic",N:!1,fields:{topicId:{name:"topicId",g:z.U,h:1},weight:{name:"weight",g:z.V,h:2}},O:{}};z.p(z.Fr,z.K);z.f=z.Fr.prototype;z.f.F=function(){return z.H(this,"popchunkId")};z.f.H=function(){return"Popchunk"};z.f.jb=function(){return z.H(this,"title")}; | |
z.f.ec=function(a){return z.I(this,"title",a)};z.f.Lc=z.h(113);z.f.ud=z.h(126);z.f.Xe=z.h(153);z.f.mu=function(){return z.H(this,"backgroundColor")};z.f.Im=function(a){return z.I(this,"backgroundColor",a)};z.f.Tf=function(){return z.H(this,"backgroundImage")};z.f.hs=function(a){return z.I(this,"backgroundImage",a)};z.f.L=function(){return z.Fr.prototype}; | |
z.f.D={name:"Popchunk",N:!1,fields:{popchunkId:{name:"popchunkId",g:z.U,h:1},title:{name:"title",g:z.U,h:2},description:{name:"description",g:z.U,h:3},postIds:{name:"postIds",g:z.U,aa:z.T,h:4},startAt:{name:"startAt",g:z.V,h:5},endAt:{name:"endAt",g:z.V,h:6},streamIndex:{name:"streamIndex",g:z.V,h:7},maxImpressions:{name:"maxImpressions",g:z.V,h:8},userStates:{name:"userStates",g:function(){return NAa},aa:z.T,h:9},targetTopics:{name:"targetTopics",g:function(){return Er},aa:z.T,h:10},variantFlag:{name:"variantFlag", | |
g:z.U,h:11},deletedAt:{name:"deletedAt",g:z.V,h:12},presentationCount:{name:"presentationCount",g:z.V,h:13},readCount:{name:"readCount",g:z.V,h:14},firstPresentedAt:{name:"firstPresentedAt",g:z.V,h:15},lastPresentedAt:{name:"lastPresentedAt",g:z.V,h:16},backgroundColor:{name:"backgroundColor",g:z.U,h:17},backgroundImage:{name:"backgroundImage",g:function(){return z.ep},h:18}},O:{}};z.OAa={Lia:0,KOa:1,$isProtoEnum:!0};z.p(z.Gr,z.K);z.f=z.Gr.prototype;z.f.F=function(){return z.H(this,"quoteId")};z.f.H=function(){return"Quote"};z.f.Hi=function(){return z.H(this,"quoteId")};z.f.va=function(){return z.H(this,"postId")};z.f.Eb=function(a){return z.I(this,"postId",a)};z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.Sb=function(){return z.H(this,"paragraphs")};z.f.qs=z.h(195);z.f.kd=function(){return z.H(this,"startOffset")}; | |
z.f.ke=function(){return z.H(this,"endOffset")};z.f.Kc=z.h(45);z.f.Zb=function(){return z.H(this,"user")};z.f.pe=function(a){return z.I(this,"user",a)};z.f.Ja=function(){return z.H(this,"post")};z.f.Yb=function(a){return z.I(this,"post",a)};z.f.ue=function(){return z.H(this,"count")};z.f.dJ=function(a){return z.I(this,"count",a)};z.f.L=function(){return z.Gr.prototype}; | |
z.f.D={name:"Quote",N:!1,fields:{quoteId:{name:"quoteId",g:z.U,h:1},postId:{name:"postId",g:z.U,h:2},userId:{name:"userId",g:z.U,h:3},paragraphs:{name:"paragraphs",g:function(){return z.Hp},aa:z.T,h:4},startOffset:{name:"startOffset",g:z.V,h:5},endOffset:{name:"endOffset",g:z.V,h:6},createdAt:{name:"createdAt",g:z.V,h:7},removedAt:{name:"removedAt",g:z.V,h:8},user:{name:"user",g:function(){return z.kp},h:9},post:{name:"post",g:function(){return z.Lq},h:10},count:{name:"count",g:z.V,h:11},quoteType:{name:"quoteType", | |
g:function(){return z.OAa},h:12},quoteParagraphPreview:{name:"quoteParagraphPreview",g:function(){return z.Hp},h:13}},O:{}};z.PAa={gKa:1,M4:2,$isProtoEnum:!0};z.UI={fPa:1,jPa:10,Bka:11,Aka:12,nPa:13,Cka:14,S5:15,oPa:16,$Oa:17,aPa:18,gPa:19,hPa:2,bPa:20,cPa:21,iPa:3,lPa:4,mPa:5,zka:6,ePa:7,kPa:8,dPa:9,$isProtoEnum:!0};z.p(z.Hr,z.K);z.f=z.Hr.prototype;z.f.F=function(){return z.H(this,"userId")};z.f.H=function(){return"UserMeta"};z.f.Zb=function(){return z.H(this,"user")};z.f.pe=function(a){return z.I(this,"user",a)};z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.lj=z.h(316);z.f.L=function(){return z.Hr.prototype}; | |
z.f.D={name:"UserMeta",N:!1,fields:{user:{name:"user",g:function(){return z.kp},h:1},numberOfPostsPublished:{name:"numberOfPostsPublished",g:z.V,h:2,defaultValue:function(){return-1}},interestTags:{name:"interestTags",isRemoved:z.T},userId:{name:"userId",g:z.U,h:4},userSuggestionReason:{name:"userSuggestionReason",g:function(){return z.tq},h:7},collectionIds:{name:"collectionIds",g:z.U,aa:z.T,h:8},collections:{name:"collections",g:function(){return z.Vp},aa:z.T,h:9},authorTags:{name:"authorTags", | |
g:function(){return z.yq},aa:z.T,h:10},updatedAt:{name:"updatedAt",g:z.V,h:11},featuredPostId:{name:"featuredPostId",g:z.U,h:12},featuredPost:{name:"featuredPost",g:function(){return z.Lq},h:13},topWriterInTags:{name:"topWriterInTags",g:function(){return z.yq},aa:z.T,h:14}},O:{}};z.QAa={bIa:1,cIa:2,Vha:3,$isProtoEnum:!0};z.p(z.Ir,z.K);z.Ir.prototype.F=function(){return""};z.Ir.prototype.H=function(){return""};z.Ir.prototype.L=function(){return z.Ir.prototype};z.Ir.prototype.D={name:"PlacementsRequestContext",N:!1,fields:{postPageContext:{name:"postPageContext",g:function(){return Jr},wa:z.T,na:function(){return 0},h:1}},O:{contextType:{name:"contextType",na:function(){return 0}}}};z.p(Jr,z.K);z.f=Jr.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.va=function(){return z.H(this,"postId")}; | |
z.f.Eb=function(a){return z.I(this,"postId",a)};z.f.L=function(){return Jr.prototype};z.f.D={name:"PlacementsRequestContextPostPage",N:!1,fields:{postId:{name:"postId",g:z.U,h:1}},O:{}};var VI,SAa;VI={JHa:0,KHa:1,HHa:2,IHa:3,$isProtoEnum:!0};z.RAa={tia:1,$isProtoEnum:!0};SAa={QPa:1,vKa:2,PPa:3,$isProtoEnum:!0};z.p(z.Kr,z.K);z.f=z.Kr.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.va=function(){return z.H(this,"postId")};z.f.Eb=function(a){return z.I(this,"postId",a)};z.f.Zj=z.h(253);z.f.Bj=z.h(143);z.f.Jg=z.h(463);z.f.qj=function(){return z.H(this,"url")};z.f.kf=z.h(6);z.f.mj=z.h(467);z.f.xb=z.h(95);z.f.getContext=function(){return z.H(this,"context")}; | |
z.f.md=z.h(401);z.f.L=function(){return z.Kr.prototype}; | |
z.f.D={name:"PostClientPresented",N:!1,fields:{postId:{name:"postId",g:z.U,h:1},reason:{name:"reason",g:function(){return z.PI},h:2},source:{name:"source",g:z.U,h:3},feedSource:{name:"feedSource",g:function(){return uAa},h:4},sectionIndex:{name:"sectionIndex",g:z.V,h:5},url:{name:"url",g:z.U,h:6},postVisibility:{name:"postVisibility",g:function(){return VI},h:7},collectionId:{name:"collectionId",g:z.U,h:8},isFullPost:{name:"isFullPost",g:z.W,h:9},context:{name:"context",g:z.U,h:10}},O:{}}; | |
z.p(z.Lr,z.K);z.f=z.Lr.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.va=function(){return z.H(this,"postId")};z.f.Eb=function(a){return z.I(this,"postId",a)};z.f.xb=z.h(94);z.f.nu=z.h(469);z.f.cJ=z.h(471);z.f.getContext=function(){return z.H(this,"context")};z.f.md=z.h(400);z.f.mj=z.h(466);z.f.bq=z.h(348);z.f.pj=function(){return z.H(this,"sequenceId")};z.f.L=function(){return z.Lr.prototype}; | |
z.f.D={name:"PostClientViewed",N:!1,fields:{postId:{name:"postId",g:z.U,h:1},collectionId:{name:"collectionId",g:z.U,h:2},collectionSlug:{name:"collectionSlug",g:z.U,h:3},socialId:{name:"socialId",g:z.U,h:4},referrerSocialId:{name:"referrerSocialId",g:z.U,h:5},context:{name:"context",g:function(){return SAa},h:6},postVisibility:{name:"postVisibility",g:function(){return VI},h:7},isSeries:{name:"isSeries",g:z.W,h:8},sequenceId:{name:"sequenceId",g:z.U,h:9},isFriendLink:{name:"isFriendLink",g:z.W,h:10, | |
defaultValue:function(){return!1}}},O:{}};z.p(z.Mr,z.K);z.f=z.Mr.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.va=function(){return z.H(this,"postId")};z.f.Eb=function(a){return z.I(this,"postId",a)};z.f.xb=z.h(93);z.f.nu=z.h(468);z.f.cJ=z.h(470);z.f.getContext=function(){return z.H(this,"context")};z.f.md=z.h(399);z.f.mj=z.h(465);z.f.pj=function(){return z.H(this,"sequenceId")};z.f.L=function(){return z.Mr.prototype}; | |
z.f.D={name:"PostClientRead",N:!1,fields:{postId:{name:"postId",g:z.U,h:1},collectionId:{name:"collectionId",g:z.U,h:2},collectionSlug:{name:"collectionSlug",g:z.U,h:3},context:{name:"context",g:function(){return SAa},h:4},postVisibility:{name:"postVisibility",g:function(){return VI},h:5},sequenceId:{name:"sequenceId",g:z.U,h:6}},O:{}};z.p(z.Nr,z.K);z.f=z.Nr.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Xe=z.h(149);z.f.getSources=function(){return z.H(this,"sources")}; | |
z.f.L=function(){return z.Nr.prototype}; | |
z.f.D={name:"PostStreamScrolled",N:!1,fields:{postIds:{name:"postIds",g:z.U,aa:z.T,h:1},collectionIds:{name:"collectionIds",g:z.U,aa:z.T,h:2},tops:{name:"tops",g:z.U,aa:z.T,h:3},bottoms:{name:"bottoms",g:z.U,aa:z.T,h:4},areFullPosts:{name:"areFullPosts",g:z.W,aa:z.T,h:5},url:{name:"url",isRemoved:z.T},viewStartedAt:{name:"viewStartedAt",g:z.V,h:7},scrollTop:{name:"scrollTop",g:z.V,h:8},scrollBottom:{name:"scrollBottom",g:z.V,h:9},scrollableHeight:{name:"scrollableHeight",g:z.V,h:10},loggedAt:{name:"loggedAt", | |
g:z.V,h:11},sources:{name:"sources",g:z.U,aa:z.T,h:12},timeDiff:{name:"timeDiff",g:z.V,h:13},sequenceIds:{name:"sequenceIds",g:z.U,h:14}},O:{}};z.p(Or,z.K);z.f=Or.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Mx=function(){return z.H(this,"duration")};z.f.av=function(a){return z.I(this,"duration",a)};z.f.nga=function(a){return z.I(this,"thumbnailHeight",a)};z.f.oga=function(a){return z.I(this,"thumbnailWidth",a)};z.f.L=function(){return Or.prototype}; | |
z.f.D={name:"ProgressivePreviewTiming",N:!1,fields:{duration:{name:"duration",g:z.V,h:1},thumbnailSrc:{name:"thumbnailSrc",g:z.U,h:2},thumbnailHeight:{name:"thumbnailHeight",g:z.V,h:3},thumbnailWidth:{name:"thumbnailWidth",g:z.V,h:4},canvasHeight:{name:"canvasHeight",g:z.V,h:5},canvasWidth:{name:"canvasWidth",g:z.V,h:6}},O:{}};z.p(Pr,z.K);z.f=Pr.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Mx=function(){return z.H(this,"duration")}; | |
z.f.av=function(a){return z.I(this,"duration",a)};z.f.L=function(){return Pr.prototype};z.f.D={name:"ProgressiveImageTiming",N:!1,fields:{duration:{name:"duration",g:z.V,h:1},imageSrc:{name:"imageSrc",g:z.U,h:2},imageHeight:{name:"imageHeight",g:z.V,h:3},imageWidth:{name:"imageWidth",g:z.V,h:4}},O:{}};var TAa={ZRa:0,r4:1,mNa:10,QS:11,RS:12,SMa:13,vNa:14,tNa:15,sNa:16,TOa:17,aJa:18,mKa:19,s4:2,DGa:20,WNa:21,MQa:22,QK:23,SHa:3,QHa:4,YHa:5,NS:6,u5:7,v5:8,NMa:9,$isProtoEnum:!0};z.UAa={mla:0,eka:1,Bja:2,iQa:3,wMa:4,$isProtoEnum:!0};z.VAa={W4:1,x5:2,Sha:3,OMa:4,ZLa:5,$isProtoEnum:!0};var WAa={BLa:1,ALa:2,CLa:3,$isProtoEnum:!0};z.p(z.Qr,z.K);z.f=z.Qr.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Xe=z.h(148);z.f.L=function(){return z.Qr.prototype};z.f.D={name:"MeteringInfo",N:!1,fields:{postIds:{name:"postIds",g:z.U,aa:z.T,h:1},maxUnlockCount:{name:"maxUnlockCount",g:z.V,h:2},unlocksRemaining:{name:"unlocksRemaining",g:z.V,h:3},windowLength:{name:"windowLength",g:function(){return WAa},h:4},previewImageIds:{name:"previewImageIds",g:z.U,aa:z.T,h:5}},O:{}};z.XAa={Oha:1,GK:2,M5:3,lK:4,Kja:5,yz:6,CLOSED:7,yHa:8,Uha:9,$isProtoEnum:!0};z.YAa={mia:0,oia:1,nia:2,lia:3,kia:4,$isProtoEnum:!0};z.ZAa={TK:1,VK:2,gQa:3,hQa:4,eQa:5,UK:6,dQa:7,$isProtoEnum:!0};z.$r.prototype.clone=function(){return new z.$r(this.start,this.end)};var $Aa,Gja,Vja,YC;$Aa=new z.ng(360,640);Gja=new z.ng(700,250);Vja=/(^|[^a-z0-9_!#$%^&*@@/])(?:[@@])([a-z0-9_]{1,15})/gi;z.lu=/@2x\.\w+$/;z.WI={OD:"people",VS:"publications",Tm:"suggestions",eL:"topics"};z.XI={vo:"queue",ni:"archive",hKa:"history",oo:"bookmarks"};z.YI={f5:36,xz:300,g5:28,hja:200,ija:"u-xs-maxWidth200"};YC={lq:"add-to-bookmarks",pq:"remove-from-bookmarks",ni:"add-to-archive"};z.aBa={w4:"credit-card",yv:"paypal"};var $ha=/^(.*?)([:;,\.?}\]\)!]+)$/,Zha=/([\S\s]*?)(\b(?:mailto:)?([\w.!#$%&'*+-/=?^_`{|}~]+@[A-Za-z0-9.-]+\.(?:com|org|net|edu|gov|aero|biz|cat|coop|info|int|jobs|mobi|museum|name|pro|travel|arpa|asia|xxx|[a-z][a-z])\b)|\b(?:(https?|ftp):\/\/|www\.)[\w#-;!=?@\[\\\]_`{|}~]+|$)/gi;var is=new z.as,cBa;cs(is,null);es();var bBa=es();z.ds(bBa,"BR");var js=es();z.ds(js,"A",["href","title","rel"]);z.ds(js,"BR");z.ds(js,"STRONG",["id"],["B"]);z.ds(js,"EM",[],["I"]);var fs=es();fs.Nm=z.xb(js.Nm);z.ds(fs,"IMG",["data-image-id","src","width","height"]).Kg=is;var gs=es();z.ds(gs,"IMG",["data-image-id","src","width","height"]).Kg=is;z.ds(gs,"FIGCAPTION",{"data-image-id":!0}).Kg=js;var hs=es();z.ds(hs,"LI",["name"]).Kg=js;cBa=cia();z.dBa=cia(); | |
z.ds(z.dBa,"SECTION",{name:!0,"class":!0}).Kg=cBa;var eBa={pT:1,Av:10,Lja:11,Mja:12,Nja:13,Oja:14,Aia:15,Mha:16,Pja:17,Jja:18,Uka:19,Rja:2,iL:20,via:21,ala:22,Qja:3,MMa:4,Sja:5,Wja:6,Xja:7,Zha:8,pNa:9,$isProtoEnum:!0};var fBa={CRa:1,ARa:2,BRa:3,$isProtoEnum:!0};var gBa={NKa:1,zSa:2,WSa:3,RHa:4,JQa:5,CHa:6,ySa:7,bRa:8,$isProtoEnum:!0};z.p(z.ks,z.K);z.f=z.ks.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.getName=function(){return z.H(this,"name")};z.f.Tb=function(a){return z.I(this,"name",a)};z.f.Ua=function(){return z.H(this,"userId")};z.f.fc=function(a){return z.I(this,"userId",a)};z.f.xb=z.h(91);z.f.va=function(){return z.H(this,"postId")};z.f.Eb=function(a){return z.I(this,"postId",a)};z.f.Qg=z.h(162);z.f.nj=z.h(72);z.f.Qi=z.h(79); | |
z.f.jd=z.h(456);z.f.yb=z.h(460);z.f.Ne=z.h(364);z.f.pj=function(){return z.H(this,"sequenceId")};z.f.Zu=z.h(474);z.f.L=function(){return z.ks.prototype}; | |
z.f.D={name:"SourceParameter",N:!1,fields:{name:{name:"name",g:z.U,h:1},userId:{name:"userId",g:z.U,h:2},timestamp:{name:"timestamp",g:z.V,h:3},dimension:{name:"dimension",g:z.U,h:4},collectionId:{name:"collectionId",g:z.U,h:5},postId:{name:"postId",g:z.U,h:6},tagSlug:{name:"tagSlug",g:z.U,h:7},rssType:{name:"rssType",g:function(){return gBa},h:8},promoId:{name:"promoId",g:z.U,h:9},index:{name:"index",g:z.V,h:10},postFeedReason:{name:"postFeedReason",g:function(){return z.PI},h:11},postSource:{name:"postSource", | |
g:function(){return uAa},h:12},itemType:{name:"itemType",isRemoved:z.T},tagSource:{name:"tagSource",g:function(){return wAa},h:14},iftttSource:{name:"iftttSource",g:function(){return fBa},h:15},catalogId:{name:"catalogId",g:z.U,h:17},promotionSource:{name:"promotionSource",g:z.U,h:18},collectionSuggestionReason:{name:"collectionSuggestionReason",g:function(){return z.QI},h:19},userSuggestionReason:{name:"userSuggestionReason",g:function(){return z.QI},h:20},topicId:{name:"topicId",g:z.U,h:21},sequenceId:{name:"sequenceId", | |
g:z.U,h:22},authorId:{name:"authorId",g:z.U,h:23},popchunkId:{name:"popchunkId",g:z.U,h:24},topicSlug:{name:"topicSlug",g:z.U,h:25},windowDuration:{name:"windowDuration",g:z.V,h:26},susiEntry:{name:"susiEntry",g:z.U,h:27},sectionType:{name:"sectionType",g:function(){return z.UI},h:28},emailId:{name:"emailId",g:z.U,h:29},digestSectionType:{name:"digestSectionType",g:function(){return eBa},h:30},feedId:{name:"feedId",g:z.U,h:31}},O:{}};var eia=z.Eb("hatch.dm medium.com medium.local www.medium.com standard.dev localhost api.medium.com".split(" "));z.DB={name:"flexArticle",LYa:"article-flex.png",className:"postShowScreen",defaultTitle:"Title",fields:{image:{type:"image",defaultValue:null,iea:!0,DYa:["caption"],strategy:{cover:{type:"crop-preserve",height:.42},contain:{type:"resample",width:700},full:{type:"crop-fixed"}}},caption:{type:"oneliner",defaultValue:"Add a photo credit",iea:!0,Qea:!0},body:{type:"html",defaultValue:"",cVa:!0},subtitle:{type:"oneliner",defaultValue:"Subtitle",iea:!0}}};var Dia=/#(.)(.)(.)/,Cia=/^#(?:[0-9a-f]{3}){1,2}$/i;z.f=ss.prototype;z.f.add=function(a){if(!Dba(this.lc,a.jl()))throw Error("Matrix summation is only supported on arrays of equal size");return us(this,function(b,c,d){return b+a.gd[c][d]})};z.f.nd=function(a,b){if(this.lc.width!=a.lc.width||this.lc.height!=a.lc.height)return!1;b=b||0;for(var c=0;c<this.lc.height;c++)for(var d=0;d<this.lc.width;d++)if(!(Math.abs(this.gd[c][d]-a.gd[c][d])<=(b||1E-6)))return!1;return!0}; | |
z.f.Rca=function(){if(this.lc.width!=this.lc.height)throw Error("A determinant can only be take on a square matrix");return mia(this)};z.f.jl=function(){return this.lc}; | |
z.f.multiply=function(a){if(a instanceof ss){if(this.lc.width!=a.jl().height)throw Error("Invalid matrices for multiplication. Second matrix should have the same number of rows as the first has columns.");return oia(this,a)}if(z.qa(a))return pia(this,a);throw Error("A matrix can only be multiplied by a number or another matrix.");};ys.prototype.clone=function(){return new ys(this.Jma,this.Lo,this.Vm,this.jw)};ys.prototype.toString=function(){return["Lightness (J): "+this.Lo,"Chroma (C): "+this.Vm,"Hue Angle (h): "+this.jw].join(" | ")};var zs=new ss([[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]]),via=ws(zs),uia=new ss([[.38971,.68898,-.07868],[-.22981,1.1834,.04641],[0,0,1]]),hBa=ws(uia),wia=[{fI:20.14,oP:.8,fQ:0},{fI:90,oP:.7,fQ:0},{fI:164.25,oP:1,fQ:0},{fI:237.53,oP:1.2,fQ:0},{fI:380.14,oP:.8,fQ:0}];z.f=tia.prototype; | |
z.f.pGa=function(a){a=qia(a);a=sia(this,a);var b=a[0]-12*a[1]/11+a[2]/11,c=(a[0]+a[1]-2*a[2])/9,d=100*Math.pow((2*a[0]+a[1]+a[2]/20-.305)*this.pL/this.o$,this.kn.BJ.Dda*this.x6),e=(180*Math.atan2(c,b)/Math.PI+360)%360;return new ys(this,d,Math.pow(5E4/13*this.kn.BJ.Rba*this.H6*xia(e)*Math.pow(Math.pow(b,2)+Math.pow(c,2),.5)/(a[0]+a[1]+1.05*a[2]),.9)*Math.pow(d/100,.5)*Math.pow(1.64-Math.pow(.29,this.qL),.73),e)}; | |
z.f.mza=function(a){var b=this.kn.BJ,c=a.Lo,d=a.jw,e=Math.pow(a.Vm/(Math.sqrt(c/100)*Math.pow(1.64-Math.pow(.29,this.qL),.73)),1/.9),g=xia(a.jw),c=this.o$*Math.pow(c/100,1/(this.kn.BJ.Dda*this.x6))/this.pL+.305,k=a=0;e&&(b=5E4/13*b.Rba*this.H6*g*(1/e),e=d*Math.PI/180,d=Math.sin(e),e=Math.cos(e),Math.abs(d)>=Math.abs(e)?(k=460/1403*c*3.05/(b/d+220/1403*3.05*(e/d)-27/1403+6300/1403*1.05),a=k*e/d):(a=460/1403*c*3.05/(b/e+220/1403*3.05-d/e*(27/1403-6615/1403)),k=a*d/e));c=xs(new ss([[460/1403*c+451/1403* | |
a+288/1403*k,460/1403*c-891/1403*a-261/1403*k,460/1403*c-220/1403*a-6300/1403*k]]));c=us(c,this.Qma,this);c=zs.multiply(hBa).multiply(c);c=us(c,this.cya,this);c=via.multiply(c);return xs(c).gd[0]};z.f.pwa=function(a,b,c){return a*vs(this.a7,b,c)};z.f.cya=function(a,b,c){b=vs(this.a7,b,c);return a||b?a/b:0};z.f.xma=function(a){var b=Math.pow(this.W8*a/100,.42);return(0<=a?400:-400)*b/(b+27.13)+.1}; | |
z.f.Qma=function(a){a-=.1;return 100/this.W8*(0<a?1:0>a?-1:a)*Math.pow(27.13*Math.abs(a)/(400-Math.abs(a)),1/.42)};z.f=yia.prototype;z.f.EEa=function(a){a=xs(new ss([a]));a=us(a,this.Sqa,this);a=this.lqa.multiply(a);a=us(a,this.Vqa,this);return xs(a).gd[0]};z.f.qGa=function(a){a=xs(new ss([a]));a=us(a,this.Uqa,this);a=this.Lpa.multiply(a);a=us(a,this.Tqa,this);return xs(a).gd[0]};z.f.Uqa=function(a){return Math.max(a/100,0)};z.f.Vqa=function(a){return 100*Math.max(a,0)};z.f.Sqa=function(a){return this.t7.decode(z.re(a/255,0,1))};z.f.Tqa=function(a){return Math.round(255*this.t7.encode(z.re(a,0,1)))};var iBa=new ss([[.4124564,.3575761,.1804375],[.2126729,.7151522,.072175],[.0193339,.119192,.9503041]]),ZI=new yia(iBa,{encode:function(a){return.0031308<a?1.055*Math.pow(a,1/2.4)-.055:12.92*a},decode:function(a){return.04045<a?Math.pow((a+.055)/1.055,2.4):a/12.92}}),$I=new tia({t2:[95.047,100,108.883],Xya:20,BJ:{kBa:1,Dda:.69,Rba:1},sba:40});var Aia,Eia,Fia;Aia=/^#([a-fA-F0-9]{6})$/;z.Bs=/^#([a-fA-F0-9]{2})([a-fA-F0-9]{6})$/;Eia=ZI.EEa.bind(ZI);z.jBa=ZI.qGa.bind(ZI);Fia=$I.pGa.bind($I);z.kBa=$I.mza.bind($I);var lBa=z.pp((new z.op).Im("#FFFFFFFF"),[z.rp((new z.qp).dd("#00000000"),0),z.rp((new z.qp).dd("#19000000"),.1),z.rp((new z.qp).dd("#33000000"),.2),z.rp((new z.qp).dd("#4C000000"),.3),z.rp((new z.qp).dd("#66000000"),.4),z.rp((new z.qp).dd("#7F000000"),.5),z.rp((new z.qp).dd("#99000000"),.6),z.rp((new z.qp).dd("#B2000000"),.7),z.rp((new z.qp).dd("#CC000000"),.8),z.rp((new z.qp).dd("#E5000000"),.9),z.rp((new z.qp).dd("#FF000000"),1)]),mBa=z.pp((new z.op).Im("#FFFFFFFF"),[z.rp((new z.qp).dd("#FF02B875"), | |
0),z.rp((new z.qp).dd("#FF00AB6B"),.1),z.rp((new z.qp).dd("#FF1C9963"),.2),z.rp((new z.qp).dd("#FF092E20"),1)]);z.pp((new z.op).Im("#FFFFFFFF"),[z.rp((new z.qp).dd("#FFFFFFFF"),0),z.rp((new z.qp).dd("#FFE9FDF0"),.1),z.rp((new z.qp).dd("#FFE2FAEE"),.2),z.rp((new z.qp).dd("#FFADFFCF"),.6),z.rp((new z.qp).dd("#FF7DFFB3"),1)]); | |
var nBa=z.pp((new z.op).Im("#3F000000"),[z.rp((new z.qp).dd("#00FFFFFF"),0),z.rp((new z.qp).dd("#19FFFFFF"),.1),z.rp((new z.qp).dd("#33FFFFFF"),.2),z.rp((new z.qp).dd("#4CFFFFFF"),.3),z.rp((new z.qp).dd("#66FFFFFF"),.4),z.rp((new z.qp).dd("#7FFFFFFF"),.5),z.rp((new z.qp).dd("#99FFFFFF"),.6),z.rp((new z.qp).dd("#B2FFFFFF"),.7),z.rp((new z.qp).dd("#CCFFFFFF"),.8),z.rp((new z.qp).dd("#E5FFFFFF"),.9),z.rp((new z.qp).dd("#F2FFFFFF"),.95),z.rp((new z.qp).dd("#FFFFFFFF"),1)]);var aJ,Sja;aJ={};z.oBa=(aJ.all="allowAllEmails",aJ.content="allowEmails",aJ.follower="allowFollowerEmails",aJ.letter="allowLetterEmails",aJ.mention="allowMentionEmails",aJ.outreach="allowOutreachEmails",aJ.product="allowProductEmails",aJ.social="allowSocialEmails",aJ.suggestions="allowSuggestionsEmails",aJ.topicDigest="allowTopicDigestEmails",aJ.membership="allowMembershipEmails",aJ);Sja=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i;z.p(Hs,z.K);z.f=Hs.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.va=function(){return z.H(this,"postId")};z.f.Eb=function(a){return z.I(this,"postId",a)};z.f.Ja=function(){return z.H(this,"post")};z.f.Yb=function(a){return z.I(this,"post",a)};z.f.L=function(){return Hs.prototype};z.f.D={name:"MediaResourceMediumPost",N:!1,fields:{postId:{name:"postId",g:z.U,h:1},post:{name:"post",g:function(){return z.Lq},h:2}},O:{}};z.p(z.Is,z.K);z.f=z.Is.prototype;z.f.F=function(){return""}; | |
z.f.H=function(){return""};z.f.xb=z.h(90);z.f.L=function(){return z.Is.prototype};z.f.D={name:"MediaResourceMediumCollection",N:!1,fields:{collectionId:{name:"collectionId",g:z.U,h:1},collection:{name:"collection",isRemoved:z.T}},O:{}};z.p(z.Js,z.K);z.f=z.Js.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.Hi=function(){return z.H(this,"quoteId")};z.f.Pn=z.h(435);z.f.L=function(){return z.Js.prototype}; | |
z.f.D={name:"MediaResourceMediumQuote",N:!1,fields:{quoteId:{name:"quoteId",g:z.U,h:1},quote:{name:"quote",g:function(){return z.Gr},h:2}},O:{}};z.p(Ks,z.K);z.f=Ks.prototype;z.f.F=function(){return""};z.f.H=function(){return""};z.f.c0=function(){return z.H(this,"quotes")};z.f.L=function(){return Ks.prototype};z.f.D={name:"MediaResourceExternalLink",N:!1,fields:{quotes:{name:"quotes",g:z.U,aa:z.T,h:1}},O:{}};z.p(z.Ls,z.K);z.f=z.Ls.prototype;z.f.F=function(){return""};z.f.H=function(){return""}; | |
z.f.XP=z.h(281);z.f.wg=function(a){return z.I(this,"twitterScreenName",a)};z.f.L=function(){return z.Ls.prototype};z.f.D={name:"MediaResourceTweet",N:!1,fields:{tweetId:{name:"tweetId",g:z.U,h:1},tweet:{name:"tweet",g:z.U,h:2},twitterScreenName:{name:"twitterScreenName",g:z.U,h:3},twitterName:{name:"twitterName",g:z.U,h:4}},O:{}};z.p(Ms,z.K);Ms.prototype.F=function(){return""};Ms.prototype.H=function(){return""};Ms.prototype.L=function(){return Ms.prototype}; | |
Ms.prototype.D={name:"MediaResourceMoment",N:!1,fields:{momentId:{name:"momentId",g:z.U,h:1},momentTitle:{name:"momentTitle",g:z.U,h:2}},O:{}};z.p(Ns,z.K);Ns.prototype.F=function(){return""};Ns.prototype.H=function(){return""};Ns.prototype.L=function(){return Ns.prototype};Ns.prototype.D={name:"MediaResourceGist",N:!1,fields:{gistId:{name:"gistId",g:z.U,h:1},githubUsername:{name:"githubUsername",g:z.U,h:2},gistScriptUrl:{name:"gistScriptUrl",g:z.U,h:3}},O:{}};z.p(Os,z.K);Os.prototype.F=function(){return""}; | |
Os.prototype.H=function(){return""};Os.prototype.L=function(){return Os.prototype};Os.prototype.D={name:"MediaResourceSuper",N:!1,fields:{superId:{name:"superId",g:z.U,h:1}},O:{}};z.p(Ps,z.K);Ps.prototype.F=function(){return""};Ps.prototype.H=function(){return""};Ps.prototype.L=function(){return Ps.prototype};Ps.prototype.D={name:"MediaResourceCharted",N:!1,fields:{chartedUrl:{name:"chartedUrl",g:z.U,h:1}},O:{}};Qs.prototype.add=function(a,b){for(var c=Iia(a),d=[],e=this.bha,g=[],k=0;k<c.length;k++){var l,q;l=q=c[k];if("*"==q&&k!=c.length-1)throw Error("Invalid path ["+a+"], * must only be at the end.");if(":"==q[0])l=":",d.push(q.substr(1)),g.push(null);else if("@"==q[0]){l=q.indexOf(":");var r=q.substr(1,l-1);q=q.substr(l+1);l="@";e["@"]||(e["@"]={parent:e});e["@"][r]||(e["@"][r]={uEa:new RegExp(q),parent:e["@"],SX:q});d.push(r);e=e["@"][r];g.push(null);continue}else g.push(l);e[l]||(e[l]={parent:e});e= | |
e[l]}if(e.object)throw Error("Can not register ["+a+"], path is ambiguous. ["+e.fullPath+"] previously registered.");e.matches=d;e.fullPath=a;e.object=b;return function(a){for(var b=[],c=0,d=0;d<g.length;d++)null==g[d]?b.push(arguments[c++]):"*"==g[d]?b.push(Array.prototype.slice.call(arguments,c).join("/")):b.push(g[d]);return"/"+b.join("/")}};Qs.prototype.su=function(a){a=Iia(a);return Rs(this,a,0,this.bha,[],null)};z.f=Ss.prototype;z.f.su=function(a){return(a=Jia(this,a))?a.matches:null};z.f.Ig=function(a){a=Jia(this,a);if(!a)return null;a=a.object;return this.w7[a.Ce()]||a};z.f.dea=function(a){if("string"===typeof a&&(a=z.ls(a),!a))return!1;a=a.Dd();return!a||eia[a]};z.f.add=function(a){var b=a.Ce();this.oX.add(b,a);this.Gva[b]=a;this.kqa[b]=a.lDa;return this}; | |
z.f.nH=function(a,b){var c=z.lb(a,function(a){return a.Ce()}),d;for(d in c)Kia(this,c[d],d,b);a=a.filter(function(a){return a.GL});a=z.lb(a,function(a){if(!a.GL)throw Error();return z.Aa(a.At,"/{collectionSlug}")?a.At.replace(/^\/\{collectionSlug\}/,"/_/domain/{domain}"):"/_/domain/{domain}"+a.At});for(var e in a)Kia(this,a[e],e,b);return this};z.f.d0=function(a,b){var c=this.oX.su(a);return(c=c&&c.object)&&c.d0(a,b)};z.f=Ts.prototype;z.f.Tq="";z.f.a3=function(a){this.tw=a;return this};z.f.Ce=function(){return this.Tq}; | |
z.f.Hba=function(a,b){return this.tw?this.tw(a,b):null};z.f.Vb=function(a,b){this.Vb=Mia(this);return this.Vb.apply(this,arguments)};z.f.redirectTo=function(a,b){this.q2.push(function(c,d,e){return e.R(a,b)});return this};z.f.d0=function(a,b){var c=this.q2;if(!c)return null;for(var d=new z.Ai(z.Pm(b)),e=0;e<c.length;e++){var g=(0,c[e])(a,b,d);if(g)return g}return null};z.f.I0=function(){return!1};var pBa,dqa,eqa,Koa,aqa,bqa,ZA,cqa,hqa,ila,fqa,lka,cw,Hta,bla,cla,Gla,gqa,ska,rka,IBa,mka,nka,LBa,QBa,bua,dla,RBa,ZBa,$Ba,Xoa,Ioa,bCa,dpa,Wja,dCa,$pa,eCa,kka,gCa,zqa,xqa,nla,ola,fla,hla,pka,RC,iw,Mla,Nla,Jla,Lla,Ila,Rza,Gqa,Ema,qCa,tCa,oka;z.bJ=new Ts("/p/:postId/deltas",{get:"Post.getDeltas",post:"Post.addDeltas"});pBa=new Ts("/_/p/:postId/new-translation",{post:"Post.createTranslation"});z.qBa=new Ts("/_/p/:postId/responses/set-permissions",{post:"Post.setAllowResponses"}); | |
z.rBa=new Ts("/p/:postId/license",{put:"Post.setLicense"});z.sBa=new Ts("/_/api/posts/:postId/share-settings",{put:"Post.setShareSettings"});dqa=new Ts("/jobs",{get:"Home.jobs"});eqa=new Ts("/m/tos",{get:"Home.termsOfService"});Koa=new Ts("/m/connect/facebook",{get:"Authentication.startFacebookAuth"});aqa=new Ts("/m/callback/twitter",{get:"Authentication.loginTwitter"});bqa=new Ts("/m/callback/facebook",{get:"Authentication.loginFacebook"});ZA=new Ts("/m/callback/google",{get:"Authentication.login"}); | |
cqa=new Ts("/m/callback/email",{get:"Authentication.login"});hqa=(new Ts("/welcome",{get:"Onboarding.show"})).redirectTo(Nu);z.tBa=new Ts("/@username:@.*/featured",{put:"User.setFeaturedPost","delete":"User.removeFeaturedPost"});z.$v=new Ts("/@username:@.*/publications",{get:"User.redirectToProfileHome"});ila=new Ts("/@username:@.*/recommended",{get:"User.redirectToProfileHome"});z.ou=new Ts("/u/:userId",{get:"User.showProfileRedirect"});fqa=new Ts("/me",{get:"User.redirectToSelf"}); | |
fqa.q2.push(function(a,b,c){return b.currentUser&&b.currentUser.username?c.R(z.nu,{username:b.currentUser.username}):null});z.Vu=new Ts("/me/export",{get:"Export.showExport",post:"Export.requestExport"});z.Xu=new Ts("/me/settings",{get:"UserSettings.showSettings"});z.uBa=new Ts("/me/email-settings/:userId/:hash/:setting",{put:"UserSettings.putEmailSetting"});z.Zu=new Ts("/me/applications",{get:"OAuth.showOAuthApplicationList"});z.$u=new Ts("/me/applications/:oauthApplicationId",{get:"OAuth.showOAuthApplicationSettings"}); | |
lka=new Ts("/me/applications/new",{get:"OAuth.showNewApplication"});z.ew=new Ts("/:collectionSlug/stats/overview",{get:"Stats.showCollectionOverview"});z.SC=new Ts("/:collectionSlug/stats/stories",{get:"Stats.showCollectionStories"});z.dw=new Ts("/:collectionSlug/stats",{get:"Stats.showCollection"});cw=new Ts("/:collectionSlug/submissions",{get:"Collection.showSubmissions"});z.bw=new Ts("/:collectionSlug/stories/:filterBy",{get:"Collection.showCollectionManagerPosts"}); | |
z.av=new Ts("/:collectionSlug/migration",{get:"Migration.showMigration"});Hta=new Ts("/_/activity-status",{get:"Activity.status"});z.vBa=new Ts("/_/upload",{post:"Upload.upload"});z.wBa=new Ts("/_/upload-url",{post:"Upload.uploadUrl"});z.xBa=new Ts("/_/c/verify-name",{get:"Collection.verifyCollectionName"});z.yBa=new Ts("/_/c/verify-count",{post:"Collection.verifyCollectionCount"});bla=new Ts("/_/vote/p/:postId",{get:"Vote.upvoteAction"});cla=new Ts("/_/bookmark/p/:postId",{get:"Bookmarks.bookmarkAction"}); | |
Gla=new Ts("/_/vote/:collectionSlug/:postId",{get:"Vote.upvoteAction"});z.zBa=new Ts("/_/share/twitter",{post:"Share.shareOnTwitter"});z.ABa=new Ts("/_/user/request-delete-account",{post:"User.requestDeleteAccount"});gqa=new Ts("/_/client-reporting-test",{get:"Admin.showClientReportingTest"});ska=new Ts("/_/admin/users/:username",{get:"Admin.showUserDetails",put:"Admin.updateUser"});rka=new Ts("/_/admin/collection-debugger",{get:"Admin.collectionDebugger"});z.cJ=new Ts("/_/api/tags",{get:"Tag.getTags"}); | |
z.BBa=new Ts("/_/api/posts/:postId/tags",{get:"Post.getTagsForPost",post:"Post.setTags"});z.dJ=new Ts("/_/api/posts/:postId/publication-date",{put:"Post.schedulePostPublish","delete":"Post.unschedulePostPublish"});z.CBa=new Ts("/_/api/collections/newsletters",{post:"Letters.createAndSendNewsletter"});z.DBa=new Ts("/_/api/collections/:collectionId/newsletters-preview",{post:"Letters.sendNewsletterPreview"});z.EBa=new Ts("/_/api/collections/:collectionId/migrations",{get:"Migration.getMigrations",post:"Migration.createMigration"}); | |
z.FBa=new Ts("/_/api/collections/:collectionId/migrations/:migrationId/archives",{post:"Migration.uploadArchive"});z.GBa=new Ts("/_/api/collections/:collectionId/migrations/:migrationId",{get:"Migration.getMigration",put:"Migration.updateMigrationState"});z.HBa=new Ts("/_/api/collections/:collectionId/migrations/:migrationId/posts",{get:"Migration.getMigrationPosts"});IBa=new Ts("/_/admin/blacklist",{get:"Admin.blacklist",post:"Admin.updateBlacklist"});z.JBa=new Ts("/_/media-resources/*",{get:"MediaResource.createMediaResource"}); | |
mka=new Ts("/media/:mediaResourceId",{get:"MediaResource.getEmbed"});nka=new Ts("/media/:mediaResourceId/href",{get:"MediaResource.getHref"});z.KBa=new Ts("/_/api/users/available-usernames",{post:"User.usernameAvailability"});LBa=new Ts("/_/api/users/email-availability",{get:"User.emailAvailability",post:"User.emailAvailability"});z.MBa=new Ts("/m/facebook/close",{get:"Popup.closeWindow"});z.NBa=new Ts("/_/api/facebook/connect",{post:"Facebook.connect","delete":"Facebook.disconnect"}); | |
z.OBa=new Ts("/_/api/twitter/connect",{post:"Twitter.connectUser","delete":"Twitter.disconnectUser"});z.PBa=new Ts("/p/:postId/publish",{post:"Post.publishLatest"});QBa=new Ts("/p/:postId/vote",{put:"Vote.upvote","delete":"Vote.unvote"});bua=new Ts("/p/:postId/upvotes",{get:"Post.getUpvotes"});dla=new Ts("/p/:postId/referrers",{get:"Referrers.showForPost"});RBa=new Ts("/p/:postId/collaborators/:collaboratorId",{post:"Post.updateCollaborator"});z.SBa=new Ts("/p/:postId/notes/new",{post:"Note.create"}); | |
z.TBa=new Ts("/p/:postId/notes",{get:"Note.get"});z.UBa=new Ts("/p/:postId/notes/:noteId",{get:"Note.getSingle",put:"Note.update","delete":"Note.remove"});z.VBa=new Ts("/p/:postId/notes/:noteId/state",{put:"Note.updateState"});z.WBa=new Ts("/p/:postId/notes/:noteId/new-reply",{post:"Note.createReply"});z.XBa=new Ts("/p/:postId/notes/:noteId/:replyId",{put:"Note.updateReply","delete":"Note.deleteReply"});z.YBa=new Ts("/p/:postId/notes/:noteId/:replyId/state",{put:"Note.updateReplyState"}); | |
ZBa=new Ts("/p/:postId/quotes",{get:"Quote.getQuotes",post:"Quote.create"});$Ba=new Ts("/p/:postId/quotes/:quoteId",{"delete":"Quote.remove",get:"Quote.get"});z.aCa=new Ts("/_/p/:postId/quotes/create",{get:"Quote.createAction"});Xoa=new Ts("/m/account/authenticate-email",{post:"Authentication.authenticateEmail"});Ioa=new Ts("/m/account/authenticate-twitter",{get:"Authentication.authenticateTwitter"});bCa=new Ts("/m/account/create",{post:"Authentication.createAccount"}); | |
z.cCa=new Ts("/m/account/deactivate",{post:"Authentication.deactivateAccount"});dpa=new Ts("/m/token",{get:"Authentication.getOneTimeToken"});Wja=new Ts("/m/signout/:xsrf",{get:"Authentication.logout"});dCa=new Ts("/m/account/conversion-email",{post:"Account.sendShadowConversionEmail"});$pa=new Ts("/m/account/convert/:token",{get:"Account.showConversionForm"});eCa=new Ts("/m/account/convert",{post:"Account.convert"});kka=new Ts("/m/oauth/authorize",{get:"OAuth.getAuthorization",post:"OAuth.processAuthorization"}); | |
z.fCa=new Ts("/me/activity/last-viewed",{post:"Activity.updateLastViewed"});gCa=new Ts("/me/subscriptions/user/:userId",{put:"User.subscribe","delete":"User.unsubscribe"});zqa=new Ts("/me/subscriptions/collection/:collectionSlug",{put:"Collection.subscribe","delete":"Collection.unsubscribe"});xqa=new Ts("/_/api/me/newsletter-subscriptions/:collectionId",{put:"Letters.subscribe","delete":"Letters.unsubscribe"});nla=new Ts("/_/subscribe/collection/:collectionSlug",{get:"Collection.subscribeAction"}); | |
ola=new Ts("/_/subscribe/collection/:collectionSlug/:postId",{get:"Collection.subscribeAction"});fla=new Ts("/_/subscribe/user/:userId",{get:"User.subscribeAction"});hla=new Ts("/_/subscribe/user/:userId/:postId",{get:"User.subscribeAction"});pka=new Ts("/_/subscribe/tag/:tagSlug",{get:"Tag.subscribeAction"});z.hCa=new Ts("/_/api/collections/:collectionId/invited-authors",{post:"Authentication.sendInvitationEmail"});z.FF=new Ts("/me/settings/:setting",{put:"UserSettings.putSetting"}); | |
z.iCa=new Ts("/me/username",{put:"UserSettings.updateUsername"});z.jCa=new Ts("/me/email",{put:"UserSettings.updateEmail"});RC=new Ts("/me/send-verify",{get:"UserSettings.requireVerifiedAccount",post:"UserSettings.sendVerificationEmail"});z.kCa=new Ts("/me/stats/total/:startTimeMs/:endTimeMs",{get:"Stats.getTimeseriesForUser"});z.lCa=new Ts("/me/stats/:postId/:startTimeMs/:endTimeMs",{get:"Stats.getTimeseriesForPost"});z.mCa=new Ts("/@username:@.*/stats/total/:startTimeMs/:endTimeMs",{get:"Stats.getTimeseriesForUser"}); | |
z.nCa=new Ts("/stats/:postId/:startTimeMs/:endTimeMs",{get:"Stats.getTimeseriesForPost"});iw=new Ts("/feed/:collectionSlug",{get:"Feed.showCollection"});Mla=new Ts("/feed/@username:@.*",{get:"Feed.showUserLatest"});Nla=new Ts("/feed/@username:@.*/has-recommended",{get:"Feed.showRecommendedByUser"});Jla=new Ts("/feed/tag/:tagSlug",{get:"Feed.showTagLatest"});Lla=new Ts("/feed/collections/:catalogSlug",{get:"Feed.showCatalogLatest"});Ila=new Ts("/feed/:collectionSlug/tagged/:tagSlug",{get:"Feed.showCollectionTagLatest"}); | |
Rza=new Ts("/amp/p/:postId",{get:"Amp.showPost"});z.uw=new Ts("/c/:collectionId",{get:"Collection.handleDirectCollectionUrl"});z.oCa=new Ts("/:collectionSlug/load-more",{get:"Collection.loadMore",post:"Collection.loadMore"});Gqa=new Ts("/:collectionSlug/role/:userId",{"delete":"Collection.removeRole"});z.pCa=new Ts("/:collectionSlug/:postId/featured",{get:"Collection.isFeaturedPost"});Ema=new Ts("/_/api/promo/:promoId/dismissal",{put:"Promo.dismiss"}); | |
qCa=new Ts("/_/api/promo/:promoId/impression",{post:"Promo.incrementImpression"});z.rCa=new Ts("/_/api/users/:userId",{get:"User.getUser",put:"User.updateUser"});z.sCa=new Ts("/_/api/users/@username:@.*",{get:"User.getUserByUsername"});tCa=new Ts("/_/api/users/:userId/blocked-users/:blockedUserId",{put:"Block.blockUser","delete":"Block.unblockUser"});z.uCa=new Ts("/_/api/users/:userId/access-tokens",{post:"User.selfIssueAccessToken"}); | |
z.vCa=new Ts("/_/api/users/:userId/oauth-applications/:oauthApplicationId",{"delete":"User.deauthorizeOAuthApplication"});z.wCa=new Ts("/_/api/users/:userId/external-services/google",{"delete":"Google.disconnect"});z.xCa=new Ts("/_/api/users/:userId/credit-cards",{post:"Payment.addCreditCard",get:"Payment.getCreditCards"});z.yCa=new Ts("/_/api/credit-cards/:cardId",{"delete":"Payment.removeCreditCard"});z.zCa=new Ts("/_/api/memberships/:membershipId/cancellation",{"delete":"MediumMembership.uncancelMembership"}); | |
z.ACa=new Ts("/_/api/access-tokens/:token",{"delete":"OAuth.revokeToken"});z.eua=new Ts("/_/api/posts/:postId/responses",{get:"Post.getResponses"});z. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment