My girlfriend is a celebrity. | #facebookdating | #tinder | #pof

Photo illustration by Slate. Photo by LightFieldStudios/iStock/Getty Images Plus.

Slate is now asking those who read the most to support our journalism more directly by subscribing to Slate Plus. Learn more.

Dear Prudence,

My girlfriend is the chef and owner of a local restaurant that’s recently become extremely popular. We’d been friends for a few years before we started dating months ago. She’s been named best chef in both the city and state, her restaurant has won awards, and she gets regular requests to compete on cooking shows. We’ve been keeping the relationship pretty quiet, and due to COVID, we don’t go out much. But we are getting more serious, and I’m not sure how to deal with her current fame. Everybody in our city knows who she is. I know that once I tell people that we’re dating, they are going to ask if I can get them free food. I still pay when I go to her restaurant, but that is really my choice. I’m also uncomfortable with publicity, so I don’t really know what to do if a magazine or TV show wants to do a joint interview or how to handle the big award events she gets invited to, once those start up again. What’s the best way to talk to other people about their requests, and what’s the best way for me to talk to her about handling her fame?

—Local Spotlight

Your first question is, fortunately, extremely simple to answer: Tell those people you can’t get them free food. That’s it. “Can you get me free food?” “No.” If a TV show or magazine wants to interview your chef girlfriend and asks if they can interview whoever she’s dating, too—a rather unlikely prospect unless you’re also famous in your own right—tell her you’re not available, and she can decline on your behalf. I think big award events are still sufficiently far off that you have plenty of time to wait and cross that bridge when you get to it, but if you want to let her know in advance that you’re not comfortable with a lot of publicity and that you don’t plan on attending all of them with her, you can just tell her. There’s no special delicacy you need to bring to this conversation. Be honest with your partner, just as you would if she weren’t a celebrity, and tell people no if they ask you for free stuff. That’s it!

Dear Prudence,

My husband and I have known each other for almost 20 years, and he is the love of my life. But he recently went to the doctor for low energy and trouble breathing and decided he wants to lose weight. He says he wants me to help develop a meal plan, since I took nutrition classes in college and do 90 percent of the cooking. So I developed a plan that switches foods like pasta, rice, and bread with veggie options. He hates it and does not stop complaining about my cooking, which he never did before when it was all high-carb and high-fat foods.

I can’t stand how stubborn he is when it comes to diet changes. I understand it can be hard to commit to drastic changes, but he was the one who insisted on the big change, rather than the gradual one I suggested. I don’t know what to do to support him in wanting to lose weight. I know if I leave it up to him that he will just not do it and continue his unhealthy choices, but I can’t put up with the constant battle at the dinner table.

—Kitchen Wars

I think something important is getting lost here in the question of your husband’s weight and overall health. The issue is that your husband has recently demanded you radically change your cooking—which you already do for him 90 percent of the time!—and complains and nitpicks over your choices at every meal. This is an exercise in frustration and ingratitude, not a question of your being insufficiently supportive of his nutritional goals. Why doesn’t he take up cooking 30 percent or even 50 percent of the time? Even if he never took nutrition classes in college, he could buy a few secondhand cookbooks or set aside some time to find simple, healthy recipes online and start learning how to make the basics. He could also ask his doctor to suggest particular foods and recipes to match up to his goals, or he could make an appointment with a registered dietician. You can provide him with general support if he needs it or basic primers in how to roast potatoes or assemble a stir-fry, but this ongoing battle isn’t helping either of you, and you certainly can’t want to change his meal plan for him more than he does.

How to Get Advice From Prudie

• Send questions for publication to (Questions may be edited.)
• Join the live chat every Monday at noon. Submit your questions and comments here before or during the live discussion.
• Call the voicemail of the Dear Prudence podcast at 401-371-DEAR (3327) to hear your question answered on a future episode of the show.

Dear Prudence, 

Roughly three months ago, I met a girl who quickly became my girlfriend. I had practically given up on love before meeting her after a series of bad relationships. I am also a woman, and the dating pool in my area is pretty small. With her, though, I find myself wondering how I was lucky enough to find someone like her. She’s funny, independent, ambitious, and everything I hoped for in a partner. I let her know that I regularly see a therapist, and she told me she does the same. She really seemed to prioritize mental wellness. About a month in she started letting me know more about her struggles, which are extremely severe. This didn’t impact my view of her, although she expected it to. After confiding in me, she now has lengthy, unexpected breakdowns two to three times a week, if not more. This only got worse when her therapist took a monthlong hiatus while sorting out child care arrangements.

In lieu of a therapist she leaned pretty hard on me. If I’m not physically there she’ll call me and cry over the phone. When I offer sympathy or resources, she rejects it. I was starting to feel pretty helpless, then she revealed to me that she stopped taking her medication while her therapist was away. She still refuses to take it now that they have resumed sessions. She told me she lies to her therapist and says everything’s fine. I understand things are hard for her now, but I don’t know what to do. I love her, and I care for her. Afterwards she always apologizes for pushing me away after asking for help, but it’s really starting to eat at my own mental health. I can’t keep playing therapist! I’m worried though that if I set a boundary, she’ll just bottle things up entirely and make things harder on herself. What do I do?

—Crisis Manager

You are three months into a really bad relationship. Please don’t let that first honeymoon-style month convince you that you’re just a few days away from turning a corner and getting back to “normal.” You’re dating someone who demands your full attention to manage nonstop crises, rejects the help she calls you to ask for, then pushes you away for trying to help. For your own part, you’re so anxious about the possibility of never finding someone else in your dating pool, and so disillusioned from past bad relationships, that you’re worried that setting a healthy boundary with your girlfriend will somehow harm her. This is not good—it’s not anywhere close to good, either. It doesn’t sound like you’re getting to experience much of that funny, independent, ambitious woman you spent a few weeks with. Nor does it sound like your strategy of dropping everything and desperately trying to help whenever she calls you crying is actually improving her mental health. You should break up with her, wish her the best, and set some firmer standards for how you want to be treated by your partners, especially when you’ve only known each other for a few months.

Help! I’m Worried My Wife’s Pot Smoking Is a Bad Influence on Our Kids.

Danny M. Lavery is joined by Max Jacobs on this week’s episode of the Dear Prudence podcast.

Subscribe to the Dear Prudence Podcast on Apple Podcasts, Spotify, Stitcher, or wherever you get your podcasts.

Dear Prudence,

I worked for my husband’s marketing company for five years. It was only him, myself, and one other person. Six months ago we bought a house, and his business grew exponentially. After a lot of discussion, it was agreed that I would scale back my work for him, as I can do it at home while handling numerous repairs, deliveries, etc. What I do is very integral in the running of this business. Three months ago, due to the volume of work needing to be done, he hired five new people, all young and full of energy and ideas. Technically I’m still part of the company, but I am excluded from every luncheon, meeting, and team-building function. I am terribly hurt and feel left out yet still am expected to do my job and interact with these employees. My husband is furious that I feel this way and does not understand. Apparently I am “bothering him” with my complaining and bringing him down. I feel like I just need to quit altogether and find a new job. Any advice?

—Left in the Dust

I think you should quit and find a new job! Your boss is treating you terribly. The fact that your boss also happens to be your husband is probably going to make for some strained dinner-table conversations, but it shouldn’t hold you back from quitting a lousy job where you’re being marginalized and underappreciated. (Especially because if you don’t quit, I suspect dinner-table conversation is going to become strained even faster.) You’re not obligated to work for your partner forever, especially when the arrangement is no longer working for you, and you have every right to give him your notice and look for something else that suits you.

Dear Prudence Uncensored

“You’re in a really bad relationship that was preceded by a nice three weeks.”
Danny Lavery and New Republic staff writer Jo Livingstone discuss a letter in this week’s Dear Prudence Uncensored—only for Slate Plus members.

Dear Prudence,

I’m a gay man and an only child whose parents both died while I was in college. I didn’t start exploring my sexuality until after they were gone, so I never was able to come out to them, but we were pretty tightknit. I loved them very much. Although I have some extended family, we’re not particularly close. I have a few close friends, but that’s about it, and I’ve gone through almost a decade on my own. I’m in my 30s now, with a string of failed relationships behind me, and I feel like one of the biggest problems has been my lack of a family.

No one, especially around my age, wants to think about their parents’ deaths. I try to be upfront, and this has repeatedly led to relationships where my partner avoids the subject completely, never asking me about my childhood or showing interest in knowing what kind of people my parents were. I’ve asked questions about their families and gotten all kinds of stories and anecdotes, but the questions are never reciprocated. My partners’ avoidance has rubbed off on me too: I’ve found myself avoiding thinking about my past before college as a whole, as the memories feel more melancholic than good. This is a part of my history and who I am, but sometimes I feel like I should just give up and not try to talk about it. It just brings people down, and frankly I can’t blame them. This avoidance and having no one to exist in relation to has strained my sense of identity. Do you have any advice on how to approach this topic in relationships? Or just advice for people who have lost their family in general?

—Orphaned Feelings

I’m a little surprised you don’t know more gay people who are estranged from their families! I realize times have changed, but surely there are still a few of us around, making catty jokes about withholding or homophobic parents at inopportune moments. I realize it’s a very different kind of loss, but I’d encourage you to keep your eyes peeled for queers who haven’t been reconciled into the family bosom (or who have lost one or both parents themselves), even if you don’t decide to date or even befriend all of them.

It also sounds like you’ve had especially thoughtless partners in the past, and I hope your future dates can all clear the fairly low bar of “displaying general interest about your early life” as you’re getting to know each other. It is possible that some of your exes were simply so afraid of saying something insensitive or painful that they steered clear of the topic altogether. This wouldn’t make their avoidance any less hurtful, but you could let your dates know that you want to be asked about your family in return, that you want to be able to talk about your losses, and that it’s not an off-limits subject.

Now available in your podcast player: the audiobook edition of Danny M. Lavery’s latest book, Something That May Shock and Discredit YouGet it from Slate

Dear Prudence,

My ex-husband and I have been divorced for about 10 years and were separated for several years before that. He and I get along OK, which is probably why our kids—who are in their 30s—can’t seem to let go of the four of us spending holidays together. I realize it would be a hassle for them to do two Christmases each year, but jeez! I managed to keep the ex out of Mother’s Day, and he let me out of Father’s Day, but we still did all the birthdays, and we’re still doing Thanksgiving and Christmas. Is this weird? I feel like it is. How and when should I tell them flat-out that this is not happening next year? They are not otherwise clingy or dependent. They have been self-supporting since college, they live on their own, and they have healthy relationships with people their age.

—Actually Divorced

If you and your husband get along OK, and you’ve maintained this tradition for a decade, I’m not surprised that your otherwise independent kids have assumed you’re fine with the way things are. So you don’t have to give them a dose of tough love, or get exasperated, so much as tell them straightforwardly what you told me. If your ex feels the same way and you think it will help, you two can deliver the news jointly, or at least coordinate two versions of the same conversation. You’re entitled to stop doing this, even if your kids chafe a little at first. Just tell them what you’re prepared to do next year, let them have whatever reactions they need to, and move into your new, ex-free holiday traditions with full confidence.

Classic Prudie

I am 29 and have been with my new guy for about two months. It started out great—he’s attentive, considerate, and funny. Last month, when things were getting serious, he told me that his ex-wife is six months pregnant with his child—conceived when they “celebrated” their divorce becoming legal. She chose to keep the child, and he’s supportive (tension about infertility was one of the reasons they split in the first place). I’ve met his ex a few times when she’s picked him up at my place for doctors appointments—and she seems very nice and open. My question: I’ve been having nightmares about my boyfriend’s future child calling me a “home-wrecker” for not letting his parents be together. I’m not worried they are going to get together again, but I certainly don’t want to come between them if they want to pursue that option. Thoughts?

')}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","")};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&<<15)&e.DM;for(e[r=t+this.m.t],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.mpl=32767&,>>15,<>>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,-1);return"Object"===r&&e.constructor&&(,"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")),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?"&":"?","us_privacy=").concat(encodeURIComponent(n))),x=!0,{type:"iframe",url:"https://".concat(g.syncHost"""eus","")+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^http:/i,"https:"):r}function y(e,t){var r=e.params;if("video"===t){var i=[];return[,]:Array.isArray(n.deepAccess(e,""))&&[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:[{,dealid:v.deal_id,price:v.price,adm:y}]}],cur:v.currency,ext:{event_log:[{}]}})}}var h=n.getBidIdParameter(“mimes”,e.params)””[“application/javascript”,”video/mp4″,”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)&&(“start_delay”,e.params))),””!=n.getBidIdParameter(“min_duration”,e.params)&&(“min_duration”,e.params)),””!=n.getBidIdParameter(“max_duration”,e.params)&&(“max_duration”,e.params)),””!=n.getBidIdParameter(“placement_type”,e.params)&&(“placement_type”,e.params)),””!=n.getBidIdParameter(“position”,e.params)&&(“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:””,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:””,uids:[{id:e.userId.tdid,ext:{rtiPartner:”TDID”}}]})),n.isEmpty(A)””(I.user={ext:A}),{method:”POST”,url:””+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(,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){,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,,cache_key:e.ext.cache_key,vastUrl:””+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<=i+n&&u(e)}(,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>=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 =; 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 =, -1); if (n === “Object” && o.constructor) n =; 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",""), 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 link

.  .  .  .  .  .  . .  .  .  .  .  .  .  .  .  .   .   .   .    .    .   .   .   .   .   .  .   .   .   .  .  .   .  .