My girlfriend broke up with me because I’m too hot, and more advice from Dear Prudence.

A man with his index finger touching his chin.
Photo illustration by Slate. Photo by panic_attack/iStock/Getty Images Plus.

Dear Prudence,

My girlfriend and I have been seeing each other for four months. When we started dating she told me she usually doesn’t go for guys as physically attractive as me, which I found odd. She is very cute but not the hottest girl I’ve dated. Her intelligence, personality, and character are why I’ve fallen for her. Things have been great until the last two weeks when she started becoming more distant and less affectionate toward me. Last weekend she went with her single girlfriends to the Caribbean for a brief vacation. I barely heard from her the week after she got back, but we both have demanding jobs. I ordered flowers to be delivered to her office. She then called me and said she no longer wants to be in a relationship, and that I’m way more attractive then her previous partners. I asked had I done anything wrong and she replied I’ve been perfect. But she said while on vacation she barely missed me. She said she fears if we continue, I’ll find someone better looking, or worse cheat on her like her last boyfriend. I asked her to reconsider since a weekend of no communication is too short a time to make such a huge decision and she agreed. I feel like I am being dumped based on my looks. I don’t want to lose her but I wonder if it’s worth it to get back together if she reconsiders. Do her girlfriends have something do with this? What should I do?

—Attractive Boyfriend

Even though you are gorgeous and attentive and “perfect,” it might simply be that this woman is just not that into you. If that’s the case, neither her quiet contemplation nor your elaborate bouquets will change her mind. It may be that telling you that you’re too handsome for her is nicer than saying you’re too dull. You’re suspicious that her jealous gal pals, while guzzling pina coladas and other witches brews, helped convince her to break up with you. If your girlfriend dumps you, you’ll have your answer to that if over the next few weeks you find yourself “accidentally” running into her eager friends. Your new love acknowledged that she thinks your appeal to women is going to lead to your cheating on her. If that’s a real fear, then she is one of those people who carry around for easy reference binders labeled “Bad Things That Happened to Me Last Time.” That’s an unattractive trait. It’s true that few men would be uncomfortable finding themselves with the best-looking woman in the room on their arm. But I do think some women would be disconcerted by feeling like a drab peahen compared to a more colorful peacock. Let’s say your looks are at the heart of her concern, but she’s willing to try again. You can’t reassure her by permanently wearing a Halloween mask—she has to take the time to learn to trust. But if the girl of your dreams is so distressed by having a great-looking guy be crazy about her, then you may need to be with someone who’s more comfortable with what she sees when she looks in the mirror.—Emily Yoffe

From: Help! My Girlfriend Dumped Me for My Looks—They’re Too Good. (Nov. 1, 2012)

Dear Prudence,

A few days ago a friend sent me the link to a porn video that stars the (recently) ex-girlfriend of a mutual good friend. The video is clearly shot in private, and although it shows her face it doesn’t have her name on it. This girl behaved really badly and completely shattered my friend’s heart, and while I don’t want to believe he would put something like this online, he is so hurt that it’s not outside the realm of possibility. She would lose her job and her career if this video was found, and she comes from a very conservative family. My questions: What are my obligations here? Do I ask my friend about it? Contact the ex? Part of me wished I could forget that I saw it at all.

—Porn Confusion

In my day people took sexy Polaroids of each other then hid them in the sock drawer. After a bad breakup, they took the pictures out of the gym sock and burned them. It’s too bad that one can no longer memorialize one’s hotness with such nonchalance. As my colleague Emily Bazelon recently described, this new plague of revenge porn is ruining lives and there is currently little legal recourse. (California just passed a law making posting such material a misdemeanor.) I talked to expert Danielle Citron, a professor at the University of Maryland School of Law and author of the forthcoming book, Hate 3.0, about what can be done for this woman. First of all, contact your friend. If indeed he is the perpetrator, you should tell him that you have now seen the video. Tell him you know his ex did him wrong, but he should not compound the wrongdoing by exacting such vicious revenge. Citron says if he posted to a site where he controls his content, he could simply take down the video. Let’s hope it hasn’t been more widely disseminated and that her name hasn’t gotten attached. But if he gave it to a revenge porn website, then unfortunately he’s really lost control of it.

You should also contact the ex-girlfriend. She’s entitled to know the bad news, which has the potential for painful professional and personal consequences. Citron says that if the video was a selfie, the woman would own the copyright. In that case it would be worth it for her to hire a lawyer to write a letter to the site operator where it’s being posted without her permission. But its being taken down is far from assured. If the woman is sure that the images were posted by her ex, Citron laid out other legal avenues she could explore, such as filing a civil claim of infliction of emotional distress or seeking criminal harassment action be taken against him. But Citron notes pursuing a civil lawsuit would be expensive and that law enforcement has taken a lax attitude toward these cases. Sadly, because of technology, people need to be aware when giving sexual photographs or videos of themselves to a paramour that love may die, but the images could live on forever.—EY

From: Help! My Friend May Have Uploaded a Sex Video of His Ex. (Oct. 3, 2013)

Dear Prudence,

I have a wonderfully satisfying job at a small nonprofit organization. I love my co-workers and more importantly the cause we advance and the people whose lives we make better. But recently there was an incident with my boss, “Mr. Johnson.” He’s a great leader and we couldn’t function without him, but he’s also kind of forgetful and seems to always have his head in the clouds. Mr. Johnson frequently neglects to adjust his wardrobe so that his pants zipper is up after using the gentleman’s room. After a meeting we had yesterday it also seem apparent that he doesn’t always wear underwear as his bull escaped from the barn. It wasn’t intentional or sexual in any way, but every time I see my boss I can only think of his privates that didn’t keep so private. I’m not even sure if he noticed it got out when this happened as he didn’t react or seem embarrassed. Should I talk directly to Mr. Johnson about this, or should I report the incident to his supervisor? Or should I just let it go and hope it never happens again?

Oh, yeah, sweet, absent-minded Mr. Johnson is so busy making the world better that he often forgets to keep his johnson in his pants. I have gotten so many letters about nutty people running around nonprofits that I am developing a theory that this field attracts loons because under the guise of doing good, they get to behave badly. Normally when a man realizes he’s forgotten to zip his pants, the humiliation makes him want to secure his fly with a padlock. But there’s Mr. Johnson letting it all hang out day after day, seemingly oblivious. If this guy is really that out of it, I wonder if he has the capacity to be running an organization. Alternately, he may be pretending to be a ding-dong because it’s good cover for exposing his ding-dong. Since this has happened more than once, I think it’s gotten past the point where someone needs to quietly mention, “Dick, your zipper is down.” It’s fair for you to go to a supervisor and say you are too uncomfortable to have this conversation with Mr. Johnson yourself, but he needs to be told that the wardrobe malfunctions must come to an end.—EY

From: Help! My Boss Always “Forgets” To Zip His Fly. (Sep. 18, 2012)

Dear Prudence,

Last week my partner and I went for a much-needed and long-overdue stay at a bed and breakfast in Florida. The day before we left, while lying by the pool I saw the concierge/desk helper let himself into our room. Wondering why, I got up to check and found him wrapped up in our bed sheets and smelling a pillow. I got angry, and he started crying and said we were an attractive couple and that he “just wanted to feel alive again.”

It was awkward and embarrassing, and he said he would never do it again, so I just let it drop and didn’t tell my partner or the proprietor about this. I figured the sheets are their property, and I’d think it was just weird or kind of funny had he just replaced the linens and done that in the laundry room, but in the room itself it felt like a gross violation of our privacy. Plus, if it had been a big chain hotel there’s no question I’d have marched straight to the manager’s office. Should I have told anyone?

From: Help! I Caught a Man in My Hotel Room Sniffing My Pillow. (Feb. 24, 2014)

I can just imagine the Yelp review you could give this place: “The setting is magnificent, the food sensational. And if you’re looking to find the concierge in your bed, masturbating to the scent you’ve left on the pillows, the Come Again Lodge is the place for you.” Let’s put aside for the moment the pervert in your bed. If I were to stumble upon this scene, I cannot imagine going back to the pool and not saying, “Ah, Dear, you remember that nice guy who checked us in …” This would have become a treasured vacation tale we dined out on for years. However, once we regained our composure, I would have insisted we packed our bags (after carefully checking our underwear) because I would not be able to spend a night at a place where there was a guy with a serious fetish about my bed sheets and a key to my room. You absolutely should have told the proprietor. If you ran a B&B, I assume you’d want to know if you had an employee who felt the aromas of the guests were a form of True Blood. And surely finding the concierge rolling in your sheets would have gotten you comped for the entire vacation.—EY

More Dear Prudence

In 2006 I had an abortion. It was the right choice for me at the time, but my problem occurs when acquaintances include me in their conversations about reproductive rights. I often end up nodding along while they discuss the pros and cons of abortion or talking in “hypotheticals,” when in fact my own life is a great example! I think that if these people knew there was “one among them,” they would feel embarrassed by their comments. Is there a graceful way for me to come clean, preferably early on in the conversation? Or should I stay quiet even though I feel like I’m hiding or misrepresenting myself?

')}function tryGetCriteoFastBid(){try{var fastBidStorageKey="criteo_fast_bid",hashPrefix="// Hash: ",fastBidFromStorage=storage.getDataFromLocalStorage(fastBidStorageKey),firstLineEndPosition,firstLine,publisherTagHash,publisherTag;null!==fastBidFromStorage&&(firstLineEndPosition=fastBidFromStorage.indexOf("n"),firstLine=fastBidFromStorage.substr(0,firstLineEndPosition).trim(),firstLine.substr(0,hashPrefix.length)!==hashPrefix?(__WEBPACK_IMPORTED_MODULE_4__src_utils_js__.logWarn("No hash found in FastBid"),storage.removeDataFromLocalStorage(fastBidStorageKey)):(publisherTagHash=firstLine.substr(hashPrefix.length),publisherTag=fastBidFromStorage.substr(firstLineEndPosition+1),Object(__WEBPACK_IMPORTED_MODULE_6_criteo_direct_rsa_validate_build_verify_js__.verify)(publisherTag,publisherTagHash,FAST_BID_PUBKEY_N,FAST_BID_PUBKEY_E)?(__WEBPACK_IMPORTED_MODULE_4__src_utils_js__.logInfo("Using Criteo FastBid"),eval(publisherTag)):(__WEBPACK_IMPORTED_MODULE_4__src_utils_js__.logWarn("Invalid Criteo FastBid found"),storage.removeDataFromLocalStorage(fastBidStorageKey))))}catch(e){}}Object(__WEBPACK_IMPORTED_MODULE_1__src_adapters_bidderFactory_js__.registerBidder)(spec)},377:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(378),i=r(379);t.verify=function(e,t,r,o){var a=new n.BigInteger(n.b64toHex(t)),s=new n.BigInteger(n.b64toHex(r)),c=a.modPowInt(o,s);return n.removeExtraSymbols(c.toHexString())===i.Sha256.hash(e)}},378:function(e,t,r){var n;Object.defineProperty(t,"__esModule",{value:!0});var i=(o.prototype.toHexString=function(){if(this.s<0)return"-"+this.negate().toHexString();var e,t=!1,r="",n=this.t,i=this.DB-n*this.DB%4;if(0>i)&&(t=!0,r=l(e));0<=n;)i<4?(e=(this[n]&(1<>(i+=this.DB-4)):(e=this[n]>>(i-=4)&15,i<=0&&(i+=this.DB,--n)),0this.DB?(this[this.t-1]|=(i&(1<>this.DB-n):this[this.t-1]|=i<=this.DB&&(n-=this.DB))}this.clamp(),r&&o.ZERO.subTo(this,this)}},o.prototype.negate=function(){var e=a();return o.ZERO.subTo(this,e),e},o.prototype.abs=function(){return this.s<0?this.negate():this},o.prototype.mod=function(e){var t=a();return this.abs().divRemTo(e,null,t),this.s<0&&0>n|a,a=(this[s]&i)<=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}0>this.F2:0),m=this.FV/g,b=(1<=this.t)t.t=0;else{var n=e%this.DB,i=this.DB-n,o=(1<>n;for(var a=r+1;a>n;0>=this.DB;if(e.t>=this.DB;n+=this.s}else{for(n+=this.s;r>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:0>15;0<=--o;){var c=32767&this[e],d=this[e++]>>15,u=s*c+d*a;i=((c=a*c+((32767&u)<<15)+r[n]+(1073741823&i))>>>30)+(u>>>15)+s*d+(i>>>30),r[n++]=1073741823&c}return i},o.prototype.am3=function(e,t,r,n,i,o){for(var a=16383&t,s=t>>14;0<=--o;){var c=16383&this[e],d=this[e++]>>14,u=s*c+d*a;i=((c=a*c+((16383&u)<<14)+r[n]+i)>>28)+(u>>14)+s*d,r[n++]=268435455&c}return i},o);function o(e){null!==e&&this.fromHexString(e)}function a(){return new i(null)}function s(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}t.BigInteger=i,t.nbi=a,t.nbits=s;for(var c=[],d="0".charCodeAt(0),u=0;u<=9;++u)c[d++]=u;for(d="a".charCodeAt(0),u=10;u<36;++u)c[d++]=u;for(d="A".charCodeAt(0),u=10;u<36;++u)c[d++]=u;function p(e,t){var r=c[e.charCodeAt(t)];return null==r?-1:r}t.intAt=p;var f="0123456789abcdefghijklmnopqrstuvwxyz";function l(e){return f.charAt(e)}t.int2char=l,t.b64toHex=function(e){for(var t="",r=0,n=0,i=0;i>2),n=3&o,1):1==r?(t+=l(n<<2|o>>4),n=15&o,2):2==r?(t+=l(n),t+=l(o>>2),n=3&o,3):(t+=l(n<<2|o>>4),t+=l(15&o),0))}return 1==r&&(t+=l(n<<2)),t},t.removeExtraSymbols=function(e){return e.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420"https://r.search.yahoo.com/,"")};var g=(m.prototype.convert=function(e){return e.s<0||0<=e.compareTo(this.m)?e.mod(this.m):e},m.prototype.revert=function(e){return e},m.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},m.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},m.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},m);function m(e){this.m=e}var b=(v.prototype.convert=function(e){var t=a();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&0>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),0<=e.compareTo(this.m)&&e.subTo(this.m,e)},v.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},v.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},v);function v(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>>0;for(a[o-1][14]=Math.floor(d),a[o-1][15]=u,s=0;s>>0;var l=r[0],g=r[1],m=r[2],b=r[3],v=r[4],y=r[5],h=r[6],_=r[7];for(f=0;f<64;f++){var S=_+i.z1(v)+i.Ch(v,y,h)+t[f]+p[f],I=i.z0(l)+i.Maj(l,g,m);_=h,h=y,y=v,v=b+S>>>0,b=m,m=g,g=l,l=S+I>>>0}r[0]=r[0]+l>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+b>>>0,r[4]=r[4]+v>>>0,r[5]=r[5]+y>>>0,r[6]=r[6]+h>>>0,r[7]=r[7]+_>>>0}var A=new Array(r.length);for(_=0;_>>e|t<<32-e},i.z0=function(e){return i.ROTR(2,e)^i.ROTR(13,e)^i.ROTR(22,e)},i.z1=function(e){return i.ROTR(6,e)^i.ROTR(11,e)^i.ROTR(25,e)},i.q0=function(e){return i.ROTR(7,e)^i.ROTR(18,e)^e>>>3},i.q1=function(e){return i.ROTR(17,e)^i.ROTR(19,e)^e>>>10},i.Ch=function(e,t,r){return e&t^~e&r},i.Maj=function(e,t,r){return e&t^e&r^t&r},i);function i(){}t.Sha256=n}},[375]),pbjsChunk([218],{501:function(e,t,r){e.exports=r(502)},502:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",function(){return A});var n=r(0),i=r(2),o=r(3),a=r(10),s=r.n(a),c=r(503),d=r.n(c),u=r(1);function p(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);rnnnx3c!-- Rubicon Project Ad Tag --x3en

nn

nn")),c=d(m[i.size_id].split("x").map(function(e){return Number(e)}),2),s.width=c[0],s.height=c[1]),s.rubiconTargeting=(Array.isArray(i.targeting)?i.targeting:[]).reduce(function(e,t){return e[t.key]=t.values[0],e},{rpfl_elemid:f.adUnitCode}),t.push(s)):n.logError("Rubicon: bidRequest undefined at index position:".concat(o),r,e),t},[]).sort(function(e,t){return(t.cpm||0)-(e.cpm||0)})},getUserSyncs:function(e,t,r,n){if(!x&&e.iframeEnabled){var i="";return r&&"string"==typeof r.consentString&&("boolean"==typeof r.gdprApplies?i+="?gdpr=".concat(Number(r.gdprApplies),"&gdpr_consent=").concat(r.consentString):i+="?gdpr_consent=".concat(r.consentString)),n&&(i+="".concat(i?"&":"?"https://r.search.yahoo.com/,"us_privacy=").concat(encodeURIComponent(n))),x=!0,{type:"iframe",url:"https://".concat(g.syncHost||"eus"https://r.search.yahoo.com/,".rubiconproject.com/usync.html")+i}}},transformBidParams:function(e){return n.convertTypes({accountId:"number",siteId:"number",zoneId:"number"},e)}};function v(e,t){var r=o.b.getConfig("pageUrl");r=e.params.referrer?e.params.referrer:r||t.refererInfo.referer;return e.params.secure?r.replace(/^http:/i,"https:"):r}function y(e,t){var r=e.params;if("video"===t){var i=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?i=[r.video.playerWidth,r.video.playerHeight]:Array.isArray(n.deepAccess(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?i=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&0e.length)&&(t=e.length);for(var r=0,n=new Array(t);r‘;var i,o}},h=function(e){var t=0=e&&t.innerWidth‘+v.vast_url+”“:v.vast_string&&(y=v.vast_string),g.pre_market_bids.push({id:v.deal_id,seatbid:[{bid:[{impid:Date.now(),dealid:v.deal_id,price:v.price,adm:y}]}],cur:v.currency,ext:{event_log:[{}]}})}}var h=n.getBidIdParameter(“mimes”,e.params)||[“application/javascript”https://r.search.yahoo.com/,”video/mp4″https://r.search.yahoo.com/,”video/webm”],_={id:e.bidId,secure:l,video:{w:p,h:f,ext:g,mimes:h}};””!=n.getBidIdParameter(“price_floor”,e.params)&&(_.bidfloor=n.getBidIdParameter(“price_floor”,e.params)),””!=n.getBidIdParameter(“start_delay”,e.params)&&(_.video.startdelay=0+Boolean(n.getBidIdParameter(“start_delay”,e.params))),””!=n.getBidIdParameter(“min_duration”,e.params)&&(_.video.minduration=n.getBidIdParameter(“min_duration”,e.params)),””!=n.getBidIdParameter(“max_duration”,e.params)&&(_.video.maxduration=n.getBidIdParameter(“max_duration”,e.params)),””!=n.getBidIdParameter(“placement_type”,e.params)&&(_.video.ext.placement=n.getBidIdParameter(“placement_type”,e.params)),””!=n.getBidIdParameter(“position”,e.params)&&(_.video.ext.pos=n.getBidIdParameter(“position”,e.params)),e.crumbs&&e.crumbs.pubcid&&(c=e.crumbs.pubcid);var S=navigator.language?”language”:”userLanguage”,I={id:s,imp:_,site:{id:””,page:a,content:”content”},device:{h:screen.height,w:screen.width,dnt:n.getDNT()?1:0,language:navigator[S].split(“-“)[0],make:navigator.vendor?navigator.vendor:””,ua:navigator.userAgent},ext:{wrap_response:1}};n.getBidIdParameter(“number_of_ads”,e.params)&&(I.ext.number_of_ads=n.getBidIdParameter(“number_of_ads”,e.params));var A={};return 1==n.getBidIdParameter(“spotx_all_google_consent”,e.params)&&(A.consented_providers_settings=u),t&&t.gdprConsent&&(A.consent=t.gdprConsent.consentString,void 0!==t.gdprConsent.gdprApplies&&n.deepSetValue(I,”regs.ext.gdpr”,t.gdprConsent.gdprApplies?1:0)),t&&t.uspConsent&&n.deepSetValue(I,”regs.ext.us_privacy”,t.uspConsent),n.deepAccess(e,”userId.id5id.uid”)&&(A.eids=A.eids||[],A.eids.push({source:”id5-sync.com”,uids:[{id:e.userId.id5id.uid}],ext:e.userId.id5id.ext||{}})),c&&(A.fpc=c),e&&e.schain&&(I.source={ext:{schain:e.schain}}),e&&e.userId&&e.userId.tdid&&(A.eids=A.eids||[],A.eids.push({source:”adserver.org”,uids:[{id:e.userId.tdid,ext:{rtiPartner:”TDID”}}]})),n.isEmpty(A)||(I.user={ext:A}),{method:”POST”,url:”https://search.spotxchange.com/openrtb/2.3/dados/”+s,data:I,bidRequest:t}})},interpretResponse:function(e,t){var r=[],i=e.body;return i&&n.isArray(i.seatbid)&&n._each(i.seatbid,function(e){n._each(e.bid,function(e){var a={};for(var c in t.bidRequest.bids)e.impid==t.bidRequest.bids[c].bidId&&(a=t.bidRequest.bids[c]);n._each(a.params.pre_market_bids,function(t){t.deal_id==e.id&&(e.price=t.price,i.cur=t.currency)});var d={requestId:a.bidId,currency:i.cur||”USD”,cpm:e.price,creativeId:e.crid||””,dealId:e.dealid||””,ttl:360,netRevenue:!0,channel_id:i.id,cache_key:e.ext.cache_key,vastUrl:”https://search.spotxchange.com/ad/vast.html?key=”+e.ext.cache_key,videoCacheKey:e.ext.cache_key,mediaType:s.d,width:e.w,height:e.h};d.meta=d.meta||{},e&&e.adomain&&0e.length)&&(t=e.length);for(var r=0,n=new Array(t);rt?e:t}function d(e,t,n){!e.preload&&e.preloadThreshhold&&function(e,t,n,i){return t.top<=i+n&&u(e)}(t.target,t.rect,e.preloadThreshhold,n)&&(e.preload=!0,setTimeout(function(){e.trigger("preload",new r("preload",t))},15))}function c(n){var i=n.el.getBoundingClientRect(),o=t.innerHeight||e.documentElement.clientHeight,h=f(i,o),s=h/(i.height||o),l={target:n.el,rect:i,visiblePx:h,visiblePercent:s};!function(e,t){var n=t.visiblePx,i=t.visiblePercent;n&&i>=e.shownThreshold&&!e.seen?(e.seen=!0,setTimeout(function(){e.trigger(“shown”,new r(“shown”,t))},15)):(!n||i1&&(h+=e(r,Math.floor(n/o),i-1,o)),h},this.getVerticallyVisiblePixels=f,this.getViewportHeight=function(){return t.innerHeight||e.documentElement.clientHeight||e.body.clientHeight},this.getViewportWidth=function(){return t.innerWidth||e.documentElement.clientWidth||e.body.clientWidth},this.isElementNotHidden=u,this.isElementInViewport=function(n){var i=n.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.bottom<=(t.innerHeight||e.documentElement.clientHeight)&&i.right<=(t.innerWidth||e.documentElement.clientWidth)},this.Visible=o}]); }, {}]; require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(“Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }

function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === “string”) return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === “Object” && o.constructor) n = o.constructor.name; if (n === “Map” || n === “Set”) return Array.from(o); if (n === “Arguments” || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } function mountLegacyServices() { Object.keys(window.modules).filter(function (key) { return typeof key === 'string' && key.match(/.legacy$/); }).forEach(function (key) { return window.require(key); }); } function tryToMount(fn, el, name) { try { fn(el); // init the controller } catch (e) { var elementTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML)); console.error("Error initializing controller for "".concat(name, "" on "").concat(elementTag, """), e); } } /** * mount client.js component controllers */ function mountComponentModules() { Object.keys(window.modules).filter(function (key) { return typeof key === 'string' && key.match(/.client$/); }).forEach(function (key) { var controllerFn = window.require(key); if (typeof controllerFn === 'function') { var name = key.replace('.client"https://r.search.yahoo.com/,"'), instancesSelector = "[data-uri*="_components/".concat(name, "/"]"), defaultSelector = "[data-uri$="_components".concat(name, ""]"), instances = document.querySelectorAll(instancesSelector), defaults = document.querySelectorAll(defaultSelector); var _iterator = _createForOfIteratorHelper(instances), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var el = _step.value; tryToMount(controllerFn, el, name); } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } var _iterator2 = _createForOfIteratorHelper(defaults), _step2; try { for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { var _el = _step2.value; tryToMount(controllerFn, _el, name); } } catch (err) { _iterator2.e(err); } finally { _iterator2.f(); } } }); } // Make sure that a `window.process.env.NODE_ENV` is available in the client for any dependencies, // services, or components that could require it // note: the `` value is swapped for the actual environment variable in /lib/cmd/compile/scripts.js window.process = window.process || {}; window.process.env = window.process.env || {}; if (!window.process.env.NODE_ENV) { window.process.env.NODE_ENV = ''; } // note: legacy controllers that require legacy services (e.g. dollar-slice) must // wait for DOMContentLoaded to initialize themselves, as the files themselves must be mounted first mountLegacyServices(); mountComponentModules(); // ]]

Source Article

Next Post

Paula Abdul talks 'The Masked Dancer' on Fox

Sun Dec 27 , 2020
When performer, choreographer and veteran talent competition judge Paula Abdul received a call from Fox asking her to be part of “The Masked Dancer,” a spinoff to wacky competition show “The Masked Singer,” her first reaction was laughter. “I’m like, ‘Oh, how brilliant is this,’” Abdul said. “And then I […]

You May Like